llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpb5myp0_9.c'
source_filename = "/tmp/tmpb5myp0_9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\E6\8E\A5\E6\94\B6\E5\88\B0SIGALRM\E4\BF\A1\E5\8F\B7\0A\00", align 1
@SIGALRM = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [6 x i8] c"over\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @handler() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = load i32, ptr @SIGALRM, align 4
%3 = call i32 @signal(i32 noundef %2, ptr noundef @handler)
%4 = call i32 @alarm(i32 noundef 5)
%5 = call i32 @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @signal(i32 noundef, ptr noundef) #1
declare i32 @alarm(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/tmpb5myp0_9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\E6\8E\A5\E6\94\B6\E5\88\B0SIGALRM\E4\BF\A1\E5\8F\B7\0A\00", align 1
@SIGALRM = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [6 x i8] c"over\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @handler() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = load i32, ptr @SIGALRM, align 4
%3 = call i32 @signal(i32 noundef %2, ptr noundef @handler)
%4 = call i32 @alarm(i32 noundef 5)
%5 = call i32 @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @signal(i32 noundef, ptr noundef) #1
declare i32 @alarm(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/tmp2ziwqs51.c'
source_filename = "/tmp/tmp2ziwqs51.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"examples/data/materials.xml\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"examples/data/materials.pumas\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%10 = load i32, ptr %4, align 4
%11 = icmp sge i32 %10, 2
br i1 %11, label %12, label %16
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
br label %17
16: ; preds = %2
br label %17
17: ; preds = %16, %12
%18 = phi ptr [ %15, %12 ], [ @.str, %16 ]
store ptr %18, ptr %6, align 8
%19 = load i32, ptr %4, align 4
%20 = icmp sge i32 %19, 3
br i1 %20, label %21, label %25
21: ; preds = %17
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 2
%24 = load ptr, ptr %23, align 8
br label %26
25: ; preds = %17
br label %26
26: ; preds = %25, %21
%27 = phi ptr [ %24, %21 ], [ null, %25 ]
store ptr %27, ptr %7, align 8
%28 = load i32, ptr %4, align 4
%29 = icmp sge i32 %28, 4
br i1 %29, label %30, label %34
30: ; preds = %26
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 3
%33 = load ptr, ptr %32, align 8
br label %35
34: ; preds = %26
br label %35
35: ; preds = %34, %30
%36 = phi ptr [ %33, %30 ], [ @.str.1, %34 ]
store ptr %36, ptr %8, align 8
%37 = load ptr, ptr %6, align 8
%38 = load ptr, ptr %7, align 8
%39 = load ptr, ptr %8, align 8
%40 = call i32 @load_pumas_materials(ptr noundef %9, ptr noundef %37, ptr noundef %38, ptr noundef %39)
%41 = call i32 @pumas_physics_destroy(ptr noundef %9)
%42 = load i32, ptr @EXIT_SUCCESS, align 4
%43 = call i32 @exit(i32 noundef %42) #3
unreachable
}
declare i32 @load_pumas_materials(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @pumas_physics_destroy(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2ziwqs51.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"examples/data/materials.xml\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"examples/data/materials.pumas\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%10 = load i32, ptr %4, align 4
%11 = icmp sge i32 %10, 2
br i1 %11, label %12, label %16
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
br label %17
16: ; preds = %2
br label %17
17: ; preds = %16, %12
%18 = phi ptr [ %15, %12 ], [ @.str, %16 ]
store ptr %18, ptr %6, align 8
%19 = load i32, ptr %4, align 4
%20 = icmp sge i32 %19, 3
br i1 %20, label %21, label %25
21: ; preds = %17
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 2
%24 = load ptr, ptr %23, align 8
br label %26
25: ; preds = %17
br label %26
26: ; preds = %25, %21
%27 = phi ptr [ %24, %21 ], [ null, %25 ]
store ptr %27, ptr %7, align 8
%28 = load i32, ptr %4, align 4
%29 = icmp sge i32 %28, 4
br i1 %29, label %30, label %34
30: ; preds = %26
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 3
%33 = load ptr, ptr %32, align 8
br label %35
34: ; preds = %26
br label %35
35: ; preds = %34, %30
%36 = phi ptr [ %33, %30 ], [ @.str.1, %34 ]
store ptr %36, ptr %8, align 8
%37 = load ptr, ptr %6, align 8
%38 = load ptr, ptr %7, align 8
%39 = load ptr, ptr %8, align 8
%40 = call i32 @load_pumas_materials(ptr noundef %9, ptr noundef %37, ptr noundef %38, ptr noundef %39)
%41 = call i32 @pumas_physics_destroy(ptr noundef %9)
%42 = load i32, ptr @EXIT_SUCCESS, align 4
%43 = call i32 @exit(i32 noundef %42) #3
unreachable
}
declare i32 @load_pumas_materials(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @pumas_physics_destroy(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfcmt0sr3.c'
source_filename = "/tmp/tmpfcmt0sr3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xstr_nicmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %15
12: ; preds = %3
%13 = load ptr, ptr %6, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %24, label %15
15: ; preds = %12, %3
%16 = load ptr, ptr %5, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %19
18: ; preds = %15
store i32 1, ptr %4, align 4
br label %57
19: ; preds = %15
%20 = load ptr, ptr %6, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %22, label %23
22: ; preds = %19
store i32 -1, ptr %4, align 4
br label %57
23: ; preds = %19
store i32 0, ptr %4, align 4
br label %57
24: ; preds = %12
%25 = load i64, ptr %7, align 8
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %52
27: ; preds = %24
store i64 0, ptr %8, align 8
%28 = load ptr, ptr %5, align 8
%29 = icmp ne ptr %28, null
br i1 %29, label %30, label %33
30: ; preds = %27
%31 = load ptr, ptr %5, align 8
%32 = call i64 @xstr_len(ptr noundef %31)
store i64 %32, ptr %8, align 8
br label %33
33: ; preds = %30, %27
store i64 0, ptr %9, align 8
%34 = load ptr, ptr %6, align 8
%35 = icmp ne ptr %34, null
br i1 %35, label %36, label %39
36: ; preds = %33
%37 = load ptr, ptr %6, align 8
%38 = call i64 @xstr_len(ptr noundef %37)
store i64 %38, ptr %9, align 8
br label %39
39: ; preds = %36, %33
%40 = load i64, ptr %8, align 8
%41 = load i64, ptr %9, align 8
%42 = icmp ult i64 %40, %41
br i1 %42, label %43, label %44
43: ; preds = %39
store i32 -1, ptr %4, align 4
br label %57
44: ; preds = %39
%45 = load i64, ptr %8, align 8
%46 = load i64, ptr %9, align 8
%47 = icmp ugt i64 %45, %46
br i1 %47, label %48, label %49
48: ; preds = %44
store i32 1, ptr %4, align 4
br label %57
49: ; preds = %44
br label %50
50: ; preds = %49
%51 = load i64, ptr %8, align 8
store i64 %51, ptr %7, align 8
br label %52
52: ; preds = %50, %24
%53 = load ptr, ptr %5, align 8
%54 = load ptr, ptr %6, align 8
%55 = load i64, ptr %7, align 8
%56 = call i32 @strncasecmp(ptr noundef %53, ptr noundef %54, i64 noundef %55)
store i32 %56, ptr %4, align 4
br label %57
57: ; preds = %52, %48, %43, %23, %22, %18
%58 = load i32, ptr %4, align 4
ret i32 %58
}
declare i64 @xstr_len(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/tmpfcmt0sr3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xstr_nicmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %15
12: ; preds = %3
%13 = load ptr, ptr %6, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %24, label %15
15: ; preds = %12, %3
%16 = load ptr, ptr %5, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %19
18: ; preds = %15
store i32 1, ptr %4, align 4
br label %57
19: ; preds = %15
%20 = load ptr, ptr %6, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %22, label %23
22: ; preds = %19
store i32 -1, ptr %4, align 4
br label %57
23: ; preds = %19
store i32 0, ptr %4, align 4
br label %57
24: ; preds = %12
%25 = load i64, ptr %7, align 8
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %52
27: ; preds = %24
store i64 0, ptr %8, align 8
%28 = load ptr, ptr %5, align 8
%29 = icmp ne ptr %28, null
br i1 %29, label %30, label %33
30: ; preds = %27
%31 = load ptr, ptr %5, align 8
%32 = call i64 @xstr_len(ptr noundef %31)
store i64 %32, ptr %8, align 8
br label %33
33: ; preds = %30, %27
store i64 0, ptr %9, align 8
%34 = load ptr, ptr %6, align 8
%35 = icmp ne ptr %34, null
br i1 %35, label %36, label %39
36: ; preds = %33
%37 = load ptr, ptr %6, align 8
%38 = call i64 @xstr_len(ptr noundef %37)
store i64 %38, ptr %9, align 8
br label %39
39: ; preds = %36, %33
%40 = load i64, ptr %8, align 8
%41 = load i64, ptr %9, align 8
%42 = icmp ult i64 %40, %41
br i1 %42, label %43, label %44
43: ; preds = %39
store i32 -1, ptr %4, align 4
br label %57
44: ; preds = %39
%45 = load i64, ptr %8, align 8
%46 = load i64, ptr %9, align 8
%47 = icmp ugt i64 %45, %46
br i1 %47, label %48, label %49
48: ; preds = %44
store i32 1, ptr %4, align 4
br label %57
49: ; preds = %44
br label %50
50: ; preds = %49
%51 = load i64, ptr %8, align 8
store i64 %51, ptr %7, align 8
br label %52
52: ; preds = %50, %24
%53 = load ptr, ptr %5, align 8
%54 = load ptr, ptr %6, align 8
%55 = load i64, ptr %7, align 8
%56 = call i32 @strncasecmp(ptr noundef %53, ptr noundef %54, i64 noundef %55)
store i32 %56, ptr %4, align 4
br label %57
57: ; preds = %52, %48, %43, %23, %22, %18
%58 = load i32, ptr %4, align 4
ret i32 %58
}
declare i64 @xstr_len(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/tmpm2tpzwch.c'
source_filename = "/tmp/tmpm2tpzwch.c"
target datalayout = "e-m:e-p270: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/tmpm2tpzwch.c"
target datalayout = "e-m:e-p270: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/tmp226nvvdz.c'
source_filename = "/tmp/tmp226nvvdz.c"
target datalayout = "e-m:e-p270: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/tmp226nvvdz.c"
target datalayout = "e-m:e-p270: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/tmpq7slmbnp.c'
source_filename = "/tmp/tmpq7slmbnp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev/urandom\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_random_bytes(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 8, ptr %8, align 4
%9 = load i32, ptr @O_RDONLY, align 4
%10 = call i32 @open(ptr noundef @.str, i32 noundef %9)
store i32 %10, ptr %7, align 4
br label %11
11: ; preds = %73, %2
%12 = load i32, ptr %4, align 4
%13 = icmp ugt i32 %12, 0
br i1 %13, label %14, label %95
14: ; preds = %11
%15 = load i32, ptr %7, align 4
%16 = icmp eq i32 %15, -1
br i1 %16, label %23, label %17
17: ; preds = %14
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %8, align 4
%20 = call i32 @read(i32 noundef %18, ptr noundef %5, i32 noundef %19)
%21 = load i32, ptr %8, align 4
%22 = icmp ne i32 %20, %21
br i1 %22, label %23, label %25
23: ; preds = %17, %14
%24 = call i64 (...) @rand()
store i64 %24, ptr %5, align 8
br label %25
25: ; preds = %23, %17
%26 = load i64, ptr %5, align 8
%27 = load i64, ptr %5, align 8
%28 = ashr i64 %27, 8
%29 = xor i64 %26, %28
store i64 %29, ptr %5, align 8
%30 = load i64, ptr %5, align 8
%31 = load i64, ptr %5, align 8
%32 = ashr i64 %31, 4
%33 = xor i64 %30, %32
store i64 %33, ptr %5, align 8
%34 = load i64, ptr %5, align 8
%35 = and i64 %34, 7
%36 = trunc i64 %35 to i32
store i32 %36, ptr %6, align 4
%37 = load i32, ptr %7, align 4
%38 = icmp eq i32 %37, -1
br i1 %38, label %45, label %39
39: ; preds = %25
%40 = load i32, ptr %7, align 4
%41 = load i32, ptr %8, align 4
%42 = call i32 @read(i32 noundef %40, ptr noundef %5, i32 noundef %41)
%43 = load i32, ptr %8, align 4
%44 = icmp ne i32 %42, %43
br i1 %44, label %45, label %47
45: ; preds = %39, %25
%46 = call i64 (...) @rand()
store i64 %46, ptr %5, align 8
br label %47
47: ; preds = %45, %39
%48 = load i64, ptr %5, align 8
%49 = load i64, ptr %5, align 8
%50 = ashr i64 %49, 8
%51 = xor i64 %48, %50
store i64 %51, ptr %5, align 8
%52 = load i64, ptr %5, align 8
%53 = load i64, ptr %5, align 8
%54 = ashr i64 %53, 5
%55 = xor i64 %52, %54
store i64 %55, ptr %5, align 8
%56 = load i32, ptr %6, align 4
%57 = shl i32 %56, 3
%58 = zext i32 %57 to i64
%59 = load i64, ptr %5, align 8
%60 = and i64 %59, 7
%61 = or i64 %58, %60
%62 = trunc i64 %61 to i32
store i32 %62, ptr %6, align 4
%63 = load i32, ptr %7, align 4
%64 = icmp eq i32 %63, -1
br i1 %64, label %71, label %65
65: ; preds = %47
%66 = load i32, ptr %7, align 4
%67 = load i32, ptr %8, align 4
%68 = call i32 @read(i32 noundef %66, ptr noundef %5, i32 noundef %67)
%69 = load i32, ptr %8, align 4
%70 = icmp ne i32 %68, %69
br i1 %70, label %71, label %73
71: ; preds = %65, %47
%72 = call i64 (...) @rand()
store i64 %72, ptr %5, align 8
br label %73
73: ; preds = %71, %65
%74 = load i64, ptr %5, align 8
%75 = load i64, ptr %5, align 8
%76 = ashr i64 %75, 8
%77 = xor i64 %74, %76
store i64 %77, ptr %5, align 8
%78 = load i64, ptr %5, align 8
%79 = load i64, ptr %5, align 8
%80 = ashr i64 %79, 5
%81 = xor i64 %78, %80
store i64 %81, ptr %5, align 8
%82 = load i32, ptr %6, align 4
%83 = shl i32 %82, 2
%84 = zext i32 %83 to i64
%85 = load i64, ptr %5, align 8
%86 = and i64 %85, 3
%87 = or i64 %84, %86
%88 = trunc i64 %87 to i32
store i32 %88, ptr %6, align 4
%89 = load i32, ptr %6, align 4
%90 = trunc i32 %89 to i8
%91 = load ptr, ptr %3, align 8
%92 = getelementptr inbounds i8, ptr %91, i32 1
store ptr %92, ptr %3, align 8
store i8 %90, ptr %91, align 1
%93 = load i32, ptr %4, align 4
%94 = add i32 %93, -1
store i32 %94, ptr %4, align 4
br label %11, !llvm.loop !6
95: ; preds = %11
%96 = load i32, ptr %7, align 4
%97 = icmp ne i32 %96, 0
br i1 %97, label %98, label %101
98: ; preds = %95
%99 = load i32, ptr %7, align 4
%100 = call i32 @close(i32 noundef %99)
br label %101
101: ; preds = %98, %95
ret void
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @rand(...) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq7slmbnp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev/urandom\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_random_bytes(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 8, ptr %8, align 4
%9 = load i32, ptr @O_RDONLY, align 4
%10 = call i32 @open(ptr noundef @.str, i32 noundef %9)
store i32 %10, ptr %7, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp ugt i32 %11, 0
br i1 %12, label %.lr.ph, label %96
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %72
%14 = load i32, ptr %7, align 4
%15 = icmp eq i32 %14, -1
br i1 %15, label %22, label %16
16: ; preds = %13
%17 = load i32, ptr %7, align 4
%18 = load i32, ptr %8, align 4
%19 = call i32 @read(i32 noundef %17, ptr noundef %5, i32 noundef %18)
%20 = load i32, ptr %8, align 4
%21 = icmp ne i32 %19, %20
br i1 %21, label %22, label %24
22: ; preds = %16, %13
%23 = call i64 (...) @rand()
store i64 %23, ptr %5, align 8
br label %24
24: ; preds = %22, %16
%25 = load i64, ptr %5, align 8
%26 = load i64, ptr %5, align 8
%27 = ashr i64 %26, 8
%28 = xor i64 %25, %27
store i64 %28, ptr %5, align 8
%29 = load i64, ptr %5, align 8
%30 = load i64, ptr %5, align 8
%31 = ashr i64 %30, 4
%32 = xor i64 %29, %31
store i64 %32, ptr %5, align 8
%33 = load i64, ptr %5, align 8
%34 = and i64 %33, 7
%35 = trunc i64 %34 to i32
store i32 %35, ptr %6, align 4
%36 = load i32, ptr %7, align 4
%37 = icmp eq i32 %36, -1
br i1 %37, label %44, label %38
38: ; preds = %24
%39 = load i32, ptr %7, align 4
%40 = load i32, ptr %8, align 4
%41 = call i32 @read(i32 noundef %39, ptr noundef %5, i32 noundef %40)
%42 = load i32, ptr %8, align 4
%43 = icmp ne i32 %41, %42
br i1 %43, label %44, label %46
44: ; preds = %38, %24
%45 = call i64 (...) @rand()
store i64 %45, ptr %5, align 8
br label %46
46: ; preds = %44, %38
%47 = load i64, ptr %5, align 8
%48 = load i64, ptr %5, align 8
%49 = ashr i64 %48, 8
%50 = xor i64 %47, %49
store i64 %50, ptr %5, align 8
%51 = load i64, ptr %5, align 8
%52 = load i64, ptr %5, align 8
%53 = ashr i64 %52, 5
%54 = xor i64 %51, %53
store i64 %54, ptr %5, align 8
%55 = load i32, ptr %6, align 4
%56 = shl i32 %55, 3
%57 = zext i32 %56 to i64
%58 = load i64, ptr %5, align 8
%59 = and i64 %58, 7
%60 = or i64 %57, %59
%61 = trunc i64 %60 to i32
store i32 %61, ptr %6, align 4
%62 = load i32, ptr %7, align 4
%63 = icmp eq i32 %62, -1
br i1 %63, label %70, label %64
64: ; preds = %46
%65 = load i32, ptr %7, align 4
%66 = load i32, ptr %8, align 4
%67 = call i32 @read(i32 noundef %65, ptr noundef %5, i32 noundef %66)
%68 = load i32, ptr %8, align 4
%69 = icmp ne i32 %67, %68
br i1 %69, label %70, label %72
70: ; preds = %64, %46
%71 = call i64 (...) @rand()
store i64 %71, ptr %5, align 8
br label %72
72: ; preds = %70, %64
%73 = load i64, ptr %5, align 8
%74 = load i64, ptr %5, align 8
%75 = ashr i64 %74, 8
%76 = xor i64 %73, %75
store i64 %76, ptr %5, align 8
%77 = load i64, ptr %5, align 8
%78 = load i64, ptr %5, align 8
%79 = ashr i64 %78, 5
%80 = xor i64 %77, %79
store i64 %80, ptr %5, align 8
%81 = load i32, ptr %6, align 4
%82 = shl i32 %81, 2
%83 = zext i32 %82 to i64
%84 = load i64, ptr %5, align 8
%85 = and i64 %84, 3
%86 = or i64 %83, %85
%87 = trunc i64 %86 to i32
store i32 %87, ptr %6, align 4
%88 = load i32, ptr %6, align 4
%89 = trunc i32 %88 to i8
%90 = load ptr, ptr %3, align 8
%91 = getelementptr inbounds i8, ptr %90, i32 1
store ptr %91, ptr %3, align 8
store i8 %89, ptr %90, align 1
%92 = load i32, ptr %4, align 4
%93 = add i32 %92, -1
store i32 %93, ptr %4, align 4
%94 = load i32, ptr %4, align 4
%95 = icmp ugt i32 %94, 0
br i1 %95, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %72
br label %96
96: ; preds = %._crit_edge, %2
%97 = load i32, ptr %7, align 4
%98 = icmp ne i32 %97, 0
br i1 %98, label %99, label %102
99: ; preds = %96
%100 = load i32, ptr %7, align 4
%101 = call i32 @close(i32 noundef %100)
br label %102
102: ; preds = %99, %96
ret void
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @rand(...) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmprkwv4nx_.c'
source_filename = "/tmp/tmprkwv4nx_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i64 (...) @foo()
%3 = icmp ne i64 %2, 0
br i1 %3, label %4, label %6
4: ; preds = %0
%5 = call i32 (...) @abort() #3
unreachable
6: ; preds = %0
ret i32 0
}
declare i64 @foo(...) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprkwv4nx_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i64 (...) @foo()
%3 = icmp ne i64 %2, 0
br i1 %3, label %4, label %6
4: ; preds = %0
%5 = call i32 (...) @abort() #3
unreachable
6: ; preds = %0
ret i32 0
}
declare i64 @foo(...) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpya42dnzm.c'
source_filename = "/tmp/tmpya42dnzm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getmpeg2frameGray(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 @_getmpeg2frame(ptr noundef %3, i32 noundef 1)
ret i32 %4
}
declare i32 @_getmpeg2frame(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/tmpya42dnzm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getmpeg2frameGray(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 @_getmpeg2frame(ptr noundef %3, i32 noundef 1)
ret i32 %4
}
declare i32 @_getmpeg2frame(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/tmpxkvl9gon.c'
source_filename = "/tmp/tmpxkvl9gon.c"
target datalayout = "e-m:e-p270: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.myFile.myStc = private unnamed_addr constant [281 x i8] c".SUFFIXES:$(SFMT) $(OBMT)\0A\0AOBJS=$(SRCS:$(SFMT)=$(OBMT))\0A\0AOBJSWP=$(SRCS:$(SFMT)=$(OBMT).swp)\0A\0Astart: $(OBJS)\0A\09$(CC) -o $(EXEC) $(OBJS)\0A\09@echo '------OK------'\0A\0A$(SFMT)$(OBMT):\0A\09$(CC) -Wall -g -o $@ -c $<\0A\0A.PHONY:clean\0A\0Aclean:\0A\09rm -f $(OBJS)\0A\09rm -f core*\0A\0Acleswp:\0A\09rm -f $(OBJSWP)\0A\0A\00", align 16
@.str = private unnamed_addr constant [51 x i8] c"func myFile() error: if (myfile == NULL) line: %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @myFile(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca [281 x i8], align 16
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 0, ptr %8, align 4
%11 = load ptr, ptr %5, align 8
store ptr %11, ptr %9, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 @__const.myFile.myStc, i64 281, i1 false)
%12 = load ptr, ptr %9, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %17
14: ; preds = %3
store i32 -1, ptr %8, align 4
%15 = call i32 @printf(ptr noundef @.str, i32 noundef 114)
%16 = load i32, ptr %8, align 4
store i32 %16, ptr %4, align 4
br label %33
17: ; preds = %3
%18 = load ptr, ptr %9, align 8
%19 = load i32, ptr %6, align 4
%20 = load ptr, ptr %7, align 8
%21 = call i32 @getArgv(ptr noundef %18, i32 noundef %19, ptr noundef %20)
store i32 %21, ptr %8, align 4
%22 = load i32, ptr %8, align 4
%23 = icmp eq i32 %22, 1
br i1 %23, label %24, label %26
24: ; preds = %17
%25 = load i32, ptr %8, align 4
store i32 %25, ptr %4, align 4
br label %33
26: ; preds = %17
%27 = getelementptr inbounds [281 x i8], ptr %10, i64 0, i64 0
%28 = getelementptr inbounds [281 x i8], ptr %10, i64 0, i64 0
%29 = call i32 @strlen(ptr noundef %28)
%30 = load ptr, ptr %9, align 8
%31 = call i32 @fwrite(ptr noundef %27, i32 noundef 1, i32 noundef %29, ptr noundef %30)
%32 = load i32, ptr %8, align 4
store i32 %32, ptr %4, align 4
br label %33
33: ; preds = %26, %24, %14
%34 = load i32, ptr %4, align 4
ret i32 %34
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef) #2
declare i32 @getArgv(ptr noundef, i32 noundef, ptr noundef) #2
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2
declare i32 @strlen(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxkvl9gon.c"
target datalayout = "e-m:e-p270: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.myFile.myStc = private unnamed_addr constant [281 x i8] c".SUFFIXES:$(SFMT) $(OBMT)\0A\0AOBJS=$(SRCS:$(SFMT)=$(OBMT))\0A\0AOBJSWP=$(SRCS:$(SFMT)=$(OBMT).swp)\0A\0Astart: $(OBJS)\0A\09$(CC) -o $(EXEC) $(OBJS)\0A\09@echo '------OK------'\0A\0A$(SFMT)$(OBMT):\0A\09$(CC) -Wall -g -o $@ -c $<\0A\0A.PHONY:clean\0A\0Aclean:\0A\09rm -f $(OBJS)\0A\09rm -f core*\0A\0Acleswp:\0A\09rm -f $(OBJSWP)\0A\0A\00", align 16
@.str = private unnamed_addr constant [51 x i8] c"func myFile() error: if (myfile == NULL) line: %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @myFile(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca [281 x i8], align 16
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 0, ptr %8, align 4
%11 = load ptr, ptr %5, align 8
store ptr %11, ptr %9, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 @__const.myFile.myStc, i64 281, i1 false)
%12 = load ptr, ptr %9, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %17
14: ; preds = %3
store i32 -1, ptr %8, align 4
%15 = call i32 @printf(ptr noundef @.str, i32 noundef 114)
%16 = load i32, ptr %8, align 4
store i32 %16, ptr %4, align 4
br label %33
17: ; preds = %3
%18 = load ptr, ptr %9, align 8
%19 = load i32, ptr %6, align 4
%20 = load ptr, ptr %7, align 8
%21 = call i32 @getArgv(ptr noundef %18, i32 noundef %19, ptr noundef %20)
store i32 %21, ptr %8, align 4
%22 = load i32, ptr %8, align 4
%23 = icmp eq i32 %22, 1
br i1 %23, label %24, label %26
24: ; preds = %17
%25 = load i32, ptr %8, align 4
store i32 %25, ptr %4, align 4
br label %33
26: ; preds = %17
%27 = getelementptr inbounds [281 x i8], ptr %10, i64 0, i64 0
%28 = getelementptr inbounds [281 x i8], ptr %10, i64 0, i64 0
%29 = call i32 @strlen(ptr noundef %28)
%30 = load ptr, ptr %9, align 8
%31 = call i32 @fwrite(ptr noundef %27, i32 noundef 1, i32 noundef %29, ptr noundef %30)
%32 = load i32, ptr %8, align 4
store i32 %32, ptr %4, align 4
br label %33
33: ; preds = %26, %24, %14
%34 = load i32, ptr %4, align 4
ret i32 %34
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef) #2
declare i32 @getArgv(ptr noundef, i32 noundef, ptr noundef) #2
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2
declare i32 @strlen(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3uki7jep.c'
source_filename = "/tmp/tmp3uki7jep.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c".\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_valid_ipv4(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %8, align 4
%9 = load ptr, ptr %3, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %12
11: ; preds = %1
store i32 1, ptr %8, align 4
br label %12
12: ; preds = %11, %1
%13 = load ptr, ptr %3, align 8
%14 = call ptr @strtok(ptr noundef %13, ptr noundef @.str)
store ptr %14, ptr %7, align 8
%15 = load ptr, ptr %7, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %18
17: ; preds = %12
store i32 1, ptr %8, align 4
br label %18
18: ; preds = %17, %12
br label %19
19: ; preds = %44, %18
%20 = load ptr, ptr %7, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %22, label %45
22: ; preds = %19
%23 = load ptr, ptr %7, align 8
%24 = call i32 @valid_digit(ptr noundef %23)
%25 = icmp ne i32 %24, 0
br i1 %25, label %27, label %26
26: ; preds = %22
store i32 1, ptr %8, align 4
br label %27
27: ; preds = %26, %22
%28 = load ptr, ptr %7, align 8
%29 = call i32 @atoi(ptr noundef %28)
store i32 %29, ptr %5, align 4
%30 = load i32, ptr %5, align 4
%31 = icmp sge i32 %30, 0
br i1 %31, label %32, label %43
32: ; preds = %27
%33 = load i32, ptr %5, align 4
%34 = icmp sle i32 %33, 255
br i1 %34, label %35, label %43
35: ; preds = %32
%36 = call ptr @strtok(ptr noundef null, ptr noundef @.str)
store ptr %36, ptr %7, align 8
%37 = load ptr, ptr %7, align 8
%38 = icmp ne ptr %37, null
br i1 %38, label %39, label %42
39: ; preds = %35
%40 = load i32, ptr %6, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %6, align 4
br label %42
42: ; preds = %39, %35
br label %44
43: ; preds = %32, %27
store i32 1, ptr %8, align 4
br label %44
44: ; preds = %43, %42
br label %19, !llvm.loop !6
45: ; preds = %19
%46 = load i32, ptr %6, align 4
%47 = icmp ne i32 %46, 3
br i1 %47, label %48, label %49
48: ; preds = %45
store i32 1, ptr %8, align 4
br label %49
49: ; preds = %48, %45
%50 = load i32, ptr %8, align 4
%51 = icmp eq i32 %50, 0
br i1 %51, label %52, label %53
52: ; preds = %49
store i32 1, ptr %2, align 4
br label %54
53: ; preds = %49
store i32 0, ptr %2, align 4
br label %54
54: ; preds = %53, %52
%55 = load i32, ptr %2, align 4
ret i32 %55
}
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @valid_digit(ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3uki7jep.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c".\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_valid_ipv4(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %8, align 4
%9 = load ptr, ptr %3, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %12
11: ; preds = %1
store i32 1, ptr %8, align 4
br label %12
12: ; preds = %11, %1
%13 = load ptr, ptr %3, align 8
%14 = call ptr @strtok(ptr noundef %13, ptr noundef @.str)
store ptr %14, ptr %7, align 8
%15 = load ptr, ptr %7, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %18
17: ; preds = %12
store i32 1, ptr %8, align 4
br label %18
18: ; preds = %17, %12
%19 = load ptr, ptr %7, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %.lr.ph, label %46
.lr.ph: ; preds = %18
br label %21
21: ; preds = %.lr.ph, %43
%22 = load ptr, ptr %7, align 8
%23 = call i32 @valid_digit(ptr noundef %22)
%24 = icmp ne i32 %23, 0
br i1 %24, label %26, label %25
25: ; preds = %21
store i32 1, ptr %8, align 4
br label %26
26: ; preds = %25, %21
%27 = load ptr, ptr %7, align 8
%28 = call i32 @atoi(ptr noundef %27)
store i32 %28, ptr %5, align 4
%29 = load i32, ptr %5, align 4
%30 = icmp sge i32 %29, 0
br i1 %30, label %31, label %42
31: ; preds = %26
%32 = load i32, ptr %5, align 4
%33 = icmp sle i32 %32, 255
br i1 %33, label %34, label %42
34: ; preds = %31
%35 = call ptr @strtok(ptr noundef null, ptr noundef @.str)
store ptr %35, ptr %7, align 8
%36 = load ptr, ptr %7, align 8
%37 = icmp ne ptr %36, null
br i1 %37, label %38, label %41
38: ; preds = %34
%39 = load i32, ptr %6, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %6, align 4
br label %41
41: ; preds = %38, %34
br label %43
42: ; preds = %31, %26
store i32 1, ptr %8, align 4
br label %43
43: ; preds = %42, %41
%44 = load ptr, ptr %7, align 8
%45 = icmp ne ptr %44, null
br i1 %45, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %43
br label %46
46: ; preds = %._crit_edge, %18
%47 = load i32, ptr %6, align 4
%48 = icmp ne i32 %47, 3
br i1 %48, label %49, label %50
49: ; preds = %46
store i32 1, ptr %8, align 4
br label %50
50: ; preds = %49, %46
%51 = load i32, ptr %8, align 4
%52 = icmp eq i32 %51, 0
br i1 %52, label %53, label %54
53: ; preds = %50
store i32 1, ptr %2, align 4
br label %55
54: ; preds = %50
store i32 0, ptr %2, align 4
br label %55
55: ; preds = %54, %53
%56 = load i32, ptr %2, align 4
ret i32 %56
}
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @valid_digit(ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpoaphwm6k.c'
source_filename = "/tmp/tmpoaphwm6k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @rtems_shell_cat_file(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %29
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = call ptr @fopen(ptr noundef %11, ptr noundef @.str)
store ptr %12, ptr %6, align 8
%13 = load ptr, ptr %6, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %16, label %15
15: ; preds = %10
store i32 -1, ptr %3, align 4
br label %30
16: ; preds = %10
br label %17
17: ; preds = %22, %16
%18 = load ptr, ptr %6, align 8
%19 = call i32 @fgetc(ptr noundef %18)
store i32 %19, ptr %7, align 4
%20 = load i32, ptr @EOF, align 4
%21 = icmp ne i32 %19, %20
br i1 %21, label %22, label %26
22: ; preds = %17
%23 = load i32, ptr %7, align 4
%24 = load ptr, ptr %4, align 8
%25 = call i32 @fputc(i32 noundef %23, ptr noundef %24)
br label %17, !llvm.loop !6
26: ; preds = %17
%27 = load ptr, ptr %6, align 8
%28 = call i32 @fclose(ptr noundef %27)
br label %29
29: ; preds = %26, %2
store i32 0, ptr %3, align 4
br label %30
30: ; preds = %29, %15
%31 = load i32, ptr %3, align 4
ret i32 %31
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fgetc(ptr noundef) #1
declare i32 @fputc(i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoaphwm6k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @rtems_shell_cat_file(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %32
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = call ptr @fopen(ptr noundef %11, ptr noundef @.str)
store ptr %12, ptr %6, align 8
%13 = load ptr, ptr %6, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %16, label %15
15: ; preds = %10
store i32 -1, ptr %3, align 4
br label %33
16: ; preds = %10
%17 = load ptr, ptr %6, align 8
%18 = call i32 @fgetc(ptr noundef %17)
store i32 %18, ptr %7, align 4
%19 = load i32, ptr @EOF, align 4
%20 = icmp ne i32 %18, %19
br i1 %20, label %.lr.ph, label %29
.lr.ph: ; preds = %16
br label %21
21: ; preds = %.lr.ph, %21
%22 = load i32, ptr %7, align 4
%23 = load ptr, ptr %4, align 8
%24 = call i32 @fputc(i32 noundef %22, ptr noundef %23)
%25 = load ptr, ptr %6, align 8
%26 = call i32 @fgetc(ptr noundef %25)
store i32 %26, ptr %7, align 4
%27 = load i32, ptr @EOF, align 4
%28 = icmp ne i32 %26, %27
br i1 %28, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %29
29: ; preds = %._crit_edge, %16
%30 = load ptr, ptr %6, align 8
%31 = call i32 @fclose(ptr noundef %30)
br label %32
32: ; preds = %29, %2
store i32 0, ptr %3, align 4
br label %33
33: ; preds = %32, %15
%34 = load i32, ptr %3, align 4
ret i32 %34
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fgetc(ptr noundef) #1
declare i32 @fputc(i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpc4aq9t0f.c'
source_filename = "/tmp/tmpc4aq9t0f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%ld\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c" kaka pipi\00", align 1
@CLOCKS_PER_SEC = dso_local global double 0.000000e+00, align 8
@.str.3 = private unnamed_addr constant [22 x i8] c"timetocalc(msec): %f\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca [50000 x i8], align 16
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca [80 x i8], align 16
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca double, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%16 = call i64 (...) @clock()
store i64 %16, ptr %6, align 8
%17 = getelementptr inbounds [50000 x i8], ptr %7, i64 0, i64 0
%18 = call i32 @strcpy(ptr noundef %17, ptr noundef @.str)
store i64 0, ptr %8, align 8
br label %19
19: ; preds = %70, %2
%20 = load i64, ptr %8, align 8
%21 = icmp slt i64 %20, 50000000
br i1 %21, label %22, label %73
22: ; preds = %19
%23 = load i64, ptr %8, align 8
%24 = sitofp i64 %23 to double
%25 = call i32 @sqrt(double noundef %24)
%26 = load i64, ptr %8, align 8
%27 = sitofp i64 %26 to double
%28 = call i32 @pow(double noundef %27, double noundef 2.560000e+00)
%29 = load i64, ptr %8, align 8
%30 = mul nsw i64 %29, 745
store i64 %30, ptr %9, align 8
%31 = load i64, ptr %8, align 8
%32 = call i32 @sprintf(ptr noundef %10, ptr noundef @.str.1, i64 noundef %31)
%33 = call i32 @strcat(ptr noundef %10, ptr noundef @.str.2)
store i32 0, ptr %11, align 4
br label %34
34: ; preds = %40, %22
%35 = load i32, ptr %11, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [80 x i8], ptr %10, i64 0, i64 %36
%38 = load i8, ptr %37, align 1
%39 = icmp ne i8 %38, 0
br i1 %39, label %40, label %51
40: ; preds = %34
%41 = load i32, ptr %11, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [80 x i8], ptr %10, i64 0, i64 %42
%44 = load i8, ptr %43, align 1
%45 = call signext i8 @toupper(i8 noundef signext %44)
%46 = load i32, ptr %11, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [80 x i8], ptr %10, i64 0, i64 %47
store i8 %45, ptr %48, align 1
%49 = load i32, ptr %11, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %11, align 4
br label %34, !llvm.loop !6
51: ; preds = %34
%52 = load i64, ptr %8, align 8
%53 = srem i64 %52, 300
%54 = icmp eq i64 %53, 0
br i1 %54, label %55, label %58
55: ; preds = %51
%56 = getelementptr inbounds [50000 x i8], ptr %7, i64 0, i64 0
%57 = call i32 @strcpy(ptr noundef %56, ptr noundef @.str)
br label %69
58: ; preds = %51
%59 = load i64, ptr %8, align 8
%60 = call i32 @num_hex_digits(i64 noundef %59)
%61 = add nsw i32 %60, 1
%62 = zext i32 %61 to i64
%63 = call ptr @llvm.stacksave()
store ptr %63, ptr %12, align 8
%64 = alloca i8, i64 %62, align 16
store i64 %62, ptr %13, align 8
%65 = load i64, ptr %8, align 8
%66 = call i32 @make_hex_string_learning(i64 noundef %65, ptr noundef %64)
%67 = call i32 @strcat(ptr noundef %7, ptr noundef %64)
%68 = load ptr, ptr %12, align 8
call void @llvm.stackrestore(ptr %68)
br label %69
69: ; preds = %58, %55
br label %70
70: ; preds = %69
%71 = load i64, ptr %8, align 8
%72 = add nsw i64 %71, 1
store i64 %72, ptr %8, align 8
br label %19, !llvm.loop !8
73: ; preds = %19
%74 = call i64 (...) @clock()
store i64 %74, ptr %14, align 8
%75 = load i64, ptr %14, align 8
%76 = load i64, ptr %6, align 8
%77 = sub nsw i64 %75, %76
%78 = sitofp i64 %77 to double
%79 = load double, ptr @CLOCKS_PER_SEC, align 8
%80 = fdiv double %78, %79
%81 = fmul double %80, 1.000000e+03
store double %81, ptr %15, align 8
%82 = load double, ptr %15, align 8
%83 = call i32 @printf(ptr noundef @.str.3, double noundef %82)
%84 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %84
}
declare i64 @clock(...) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @sqrt(double noundef) #1
declare i32 @pow(double noundef, double noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare signext i8 @toupper(i8 noundef signext) #1
declare i32 @num_hex_digits(i64 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @make_hex_string_learning(i64 noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
declare i32 @printf(ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc4aq9t0f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%ld\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c" kaka pipi\00", align 1
@CLOCKS_PER_SEC = dso_local global double 0.000000e+00, align 8
@.str.3 = private unnamed_addr constant [22 x i8] c"timetocalc(msec): %f\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca [50000 x i8], align 16
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca [80 x i8], align 16
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca double, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%16 = call i64 (...) @clock()
store i64 %16, ptr %6, align 8
%17 = getelementptr inbounds [50000 x i8], ptr %7, i64 0, i64 0
%18 = call i32 @strcpy(ptr noundef %17, ptr noundef @.str)
store i64 0, ptr %8, align 8
%19 = load i64, ptr %8, align 8
%20 = icmp slt i64 %19, 50000000
br i1 %20, label %.lr.ph2, label %78
.lr.ph2: ; preds = %2
br label %21
21: ; preds = %.lr.ph2, %73
%22 = load i64, ptr %8, align 8
%23 = sitofp i64 %22 to double
%24 = call i32 @sqrt(double noundef %23)
%25 = load i64, ptr %8, align 8
%26 = sitofp i64 %25 to double
%27 = call i32 @pow(double noundef %26, double noundef 2.560000e+00)
%28 = load i64, ptr %8, align 8
%29 = mul nsw i64 %28, 745
store i64 %29, ptr %9, align 8
%30 = load i64, ptr %8, align 8
%31 = call i32 @sprintf(ptr noundef %10, ptr noundef @.str.1, i64 noundef %30)
%32 = call i32 @strcat(ptr noundef %10, ptr noundef @.str.2)
store i32 0, ptr %11, align 4
%33 = load i32, ptr %11, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [80 x i8], ptr %10, i64 0, i64 %34
%36 = load i8, ptr %35, align 1
%37 = icmp ne i8 %36, 0
br i1 %37, label %.lr.ph, label %54
.lr.ph: ; preds = %21
br label %38
38: ; preds = %.lr.ph, %38
%39 = load i32, ptr %11, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [80 x i8], ptr %10, i64 0, i64 %40
%42 = load i8, ptr %41, align 1
%43 = call signext i8 @toupper(i8 noundef signext %42)
%44 = load i32, ptr %11, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [80 x i8], ptr %10, i64 0, i64 %45
store i8 %43, ptr %46, align 1
%47 = load i32, ptr %11, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %11, align 4
%49 = load i32, ptr %11, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [80 x i8], ptr %10, i64 0, i64 %50
%52 = load i8, ptr %51, align 1
%53 = icmp ne i8 %52, 0
br i1 %53, label %38, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %38
br label %54
54: ; preds = %._crit_edge, %21
%55 = load i64, ptr %8, align 8
%56 = srem i64 %55, 300
%57 = icmp eq i64 %56, 0
br i1 %57, label %58, label %61
58: ; preds = %54
%59 = getelementptr inbounds [50000 x i8], ptr %7, i64 0, i64 0
%60 = call i32 @strcpy(ptr noundef %59, ptr noundef @.str)
br label %72
61: ; preds = %54
%62 = load i64, ptr %8, align 8
%63 = call i32 @num_hex_digits(i64 noundef %62)
%64 = add nsw i32 %63, 1
%65 = zext i32 %64 to i64
%66 = call ptr @llvm.stacksave()
store ptr %66, ptr %12, align 8
%67 = alloca i8, i64 %65, align 16
store i64 %65, ptr %13, align 8
%68 = load i64, ptr %8, align 8
%69 = call i32 @make_hex_string_learning(i64 noundef %68, ptr noundef %67)
%70 = call i32 @strcat(ptr noundef %7, ptr noundef %67)
%71 = load ptr, ptr %12, align 8
call void @llvm.stackrestore(ptr %71)
br label %72
72: ; preds = %61, %58
br label %73
73: ; preds = %72
%74 = load i64, ptr %8, align 8
%75 = add nsw i64 %74, 1
store i64 %75, ptr %8, align 8
%76 = load i64, ptr %8, align 8
%77 = icmp slt i64 %76, 50000000
br i1 %77, label %21, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %73
br label %78
78: ; preds = %._crit_edge3, %2
%79 = call i64 (...) @clock()
store i64 %79, ptr %14, align 8
%80 = load i64, ptr %14, align 8
%81 = load i64, ptr %6, align 8
%82 = sub nsw i64 %80, %81
%83 = sitofp i64 %82 to double
%84 = load double, ptr @CLOCKS_PER_SEC, align 8
%85 = fdiv double %83, %84
%86 = fmul double %85, 1.000000e+03
store double %86, ptr %15, align 8
%87 = load double, ptr %15, align 8
%88 = call i32 @printf(ptr noundef @.str.3, double noundef %87)
%89 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %89
}
declare i64 @clock(...) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @sqrt(double noundef) #1
declare i32 @pow(double noundef, double noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare signext i8 @toupper(i8 noundef signext) #1
declare i32 @num_hex_digits(i64 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @make_hex_string_learning(i64 noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
declare i32 @printf(ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp5gtlffns.c'
source_filename = "/tmp/tmp5gtlffns.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @local_print_greetings() #0 {
%1 = call i32 (...) @print_greetings()
ret void
}
declare i32 @print_greetings(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5gtlffns.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @local_print_greetings() #0 {
%1 = call i32 (...) @print_greetings()
ret void
}
declare i32 @print_greetings(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb4ihj_tq.c'
source_filename = "/tmp/tmpb4ihj_tq.c"
target datalayout = "e-m:e-p270: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.test = private unnamed_addr constant [37 x i8] c"blah foo bar \01 \02 doh shoo na ba fi \03\00", align 16
; 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 [37 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.test, i64 37, i1 false)
%7 = getelementptr inbounds [37 x i8], ptr %6, i64 0, i64 0
%8 = call i32 @hexlog(ptr noundef %7, i32 noundef 37)
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 @hexlog(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb4ihj_tq.c"
target datalayout = "e-m:e-p270: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.test = private unnamed_addr constant [37 x i8] c"blah foo bar \01 \02 doh shoo na ba fi \03\00", align 16
; 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 [37 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.test, i64 37, i1 false)
%7 = getelementptr inbounds [37 x i8], ptr %6, i64 0, i64 0
%8 = call i32 @hexlog(ptr noundef %7, i32 noundef 37)
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 @hexlog(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0u8vn0b6.c'
source_filename = "/tmp/tmp0u8vn0b6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @julia_it(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca x86_fp80, align 16
%16 = alloca x86_fp80, align 16
%17 = alloca x86_fp80, align 16
%18 = alloca x86_fp80, align 16
%19 = alloca x86_fp80, align 16
%20 = alloca x86_fp80, align 16
%21 = alloca i32, align 4
store i32 %0, ptr %8, align 4
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
store i32 1, ptr %14, align 4
%22 = load ptr, ptr %9, align 8
%23 = load x86_fp80, ptr %22, align 16
store x86_fp80 %23, ptr %15, align 16
%24 = load ptr, ptr %10, align 8
%25 = load x86_fp80, ptr %24, align 16
store x86_fp80 %25, ptr %16, align 16
%26 = load ptr, ptr %11, align 8
%27 = load x86_fp80, ptr %26, align 16
store x86_fp80 %27, ptr %17, align 16
%28 = load ptr, ptr %12, align 8
%29 = load x86_fp80, ptr %28, align 16
store x86_fp80 %29, ptr %18, align 16
%30 = load x86_fp80, ptr %15, align 16
%31 = load x86_fp80, ptr %15, align 16
%32 = fmul x86_fp80 %30, %31
store x86_fp80 %32, ptr %19, align 16
%33 = load x86_fp80, ptr %16, align 16
%34 = load x86_fp80, ptr %16, align 16
%35 = fmul x86_fp80 %33, %34
store x86_fp80 %35, ptr %20, align 16
br label %36
36: ; preds = %48, %6
%37 = load x86_fp80, ptr %19, align 16
%38 = load x86_fp80, ptr %20, align 16
%39 = fadd x86_fp80 %37, %38
%40 = fcmp olt x86_fp80 %39, 0xK40038000000000000000
br i1 %40, label %41, label %46
41: ; preds = %36
%42 = load i32, ptr %14, align 4
%43 = add i32 %42, 1
store i32 %43, ptr %14, align 4
%44 = load i32, ptr %8, align 4
%45 = icmp ult i32 %42, %44
br label %46
46: ; preds = %41, %36
%47 = phi i1 [ false, %36 ], [ %45, %41 ]
br i1 %47, label %48, label %65
48: ; preds = %46
%49 = load x86_fp80, ptr %15, align 16
%50 = fmul x86_fp80 0xK40008000000000000000, %49
%51 = load x86_fp80, ptr %16, align 16
%52 = load x86_fp80, ptr %18, align 16
%53 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %50, x86_fp80 %51, x86_fp80 %52)
store x86_fp80 %53, ptr %16, align 16
%54 = load x86_fp80, ptr %19, align 16
%55 = load x86_fp80, ptr %20, align 16
%56 = fsub x86_fp80 %54, %55
%57 = load x86_fp80, ptr %17, align 16
%58 = fadd x86_fp80 %56, %57
store x86_fp80 %58, ptr %15, align 16
%59 = load x86_fp80, ptr %15, align 16
%60 = load x86_fp80, ptr %15, align 16
%61 = fmul x86_fp80 %59, %60
store x86_fp80 %61, ptr %19, align 16
%62 = load x86_fp80, ptr %16, align 16
%63 = load x86_fp80, ptr %16, align 16
%64 = fmul x86_fp80 %62, %63
store x86_fp80 %64, ptr %20, align 16
br label %36, !llvm.loop !6
65: ; preds = %46
%66 = load i32, ptr %14, align 4
%67 = load i32, ptr %8, align 4
%68 = icmp uge i32 %66, %67
br i1 %68, label %69, label %70
69: ; preds = %65
store i32 0, ptr %7, align 4
br label %103
70: ; preds = %65
store i32 2, ptr %21, align 4
br label %71
71: ; preds = %75, %70
%72 = load i32, ptr %21, align 4
%73 = add i32 %72, -1
store i32 %73, ptr %21, align 4
%74 = icmp ne i32 %72, 0
br i1 %74, label %75, label %92
75: ; preds = %71
%76 = load x86_fp80, ptr %15, align 16
%77 = fmul x86_fp80 0xK40008000000000000000, %76
%78 = load x86_fp80, ptr %16, align 16
%79 = load x86_fp80, ptr %18, align 16
%80 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %77, x86_fp80 %78, x86_fp80 %79)
store x86_fp80 %80, ptr %16, align 16
%81 = load x86_fp80, ptr %19, align 16
%82 = load x86_fp80, ptr %20, align 16
%83 = fsub x86_fp80 %81, %82
%84 = load x86_fp80, ptr %17, align 16
%85 = fadd x86_fp80 %83, %84
store x86_fp80 %85, ptr %15, align 16
%86 = load x86_fp80, ptr %15, align 16
%87 = load x86_fp80, ptr %15, align 16
%88 = fmul x86_fp80 %86, %87
store x86_fp80 %88, ptr %19, align 16
%89 = load x86_fp80, ptr %16, align 16
%90 = load x86_fp80, ptr %16, align 16
%91 = fmul x86_fp80 %89, %90
store x86_fp80 %91, ptr %20, align 16
br label %71, !llvm.loop !8
92: ; preds = %71
%93 = load ptr, ptr %13, align 8
%94 = icmp ne ptr %93, null
br i1 %94, label %95, label %101
95: ; preds = %92
%96 = load x86_fp80, ptr %19, align 16
%97 = load x86_fp80, ptr %20, align 16
%98 = fadd x86_fp80 %96, %97
%99 = call x86_fp80 @sqrtl(x86_fp80 noundef %98) #3
%100 = load ptr, ptr %13, align 8
store x86_fp80 %99, ptr %100, align 16
br label %101
101: ; preds = %95, %92
%102 = load i32, ptr %14, align 4
store i32 %102, ptr %7, align 4
br label %103
103: ; preds = %101, %69
%104 = load i32, ptr %7, align 4
ret i32 %104
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #1
; Function Attrs: nounwind
declare x86_fp80 @sqrtl(x86_fp80 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { 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 = { 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"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0u8vn0b6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @julia_it(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca x86_fp80, align 16
%16 = alloca x86_fp80, align 16
%17 = alloca x86_fp80, align 16
%18 = alloca x86_fp80, align 16
%19 = alloca x86_fp80, align 16
%20 = alloca x86_fp80, align 16
%21 = alloca i32, align 4
store i32 %0, ptr %8, align 4
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
store i32 1, ptr %14, align 4
%22 = load ptr, ptr %9, align 8
%23 = load x86_fp80, ptr %22, align 16
store x86_fp80 %23, ptr %15, align 16
%24 = load ptr, ptr %10, align 8
%25 = load x86_fp80, ptr %24, align 16
store x86_fp80 %25, ptr %16, align 16
%26 = load ptr, ptr %11, align 8
%27 = load x86_fp80, ptr %26, align 16
store x86_fp80 %27, ptr %17, align 16
%28 = load ptr, ptr %12, align 8
%29 = load x86_fp80, ptr %28, align 16
store x86_fp80 %29, ptr %18, align 16
%30 = load x86_fp80, ptr %15, align 16
%31 = load x86_fp80, ptr %15, align 16
%32 = fmul x86_fp80 %30, %31
store x86_fp80 %32, ptr %19, align 16
%33 = load x86_fp80, ptr %16, align 16
%34 = load x86_fp80, ptr %16, align 16
%35 = fmul x86_fp80 %33, %34
store x86_fp80 %35, ptr %20, align 16
br label %36
36: ; preds = %48, %6
%37 = load x86_fp80, ptr %19, align 16
%38 = load x86_fp80, ptr %20, align 16
%39 = fadd x86_fp80 %37, %38
%40 = fcmp olt x86_fp80 %39, 0xK40038000000000000000
br i1 %40, label %41, label %46
41: ; preds = %36
%42 = load i32, ptr %14, align 4
%43 = add i32 %42, 1
store i32 %43, ptr %14, align 4
%44 = load i32, ptr %8, align 4
%45 = icmp ult i32 %42, %44
br label %46
46: ; preds = %41, %36
%47 = phi i1 [ false, %36 ], [ %45, %41 ]
br i1 %47, label %48, label %65
48: ; preds = %46
%49 = load x86_fp80, ptr %15, align 16
%50 = fmul x86_fp80 0xK40008000000000000000, %49
%51 = load x86_fp80, ptr %16, align 16
%52 = load x86_fp80, ptr %18, align 16
%53 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %50, x86_fp80 %51, x86_fp80 %52)
store x86_fp80 %53, ptr %16, align 16
%54 = load x86_fp80, ptr %19, align 16
%55 = load x86_fp80, ptr %20, align 16
%56 = fsub x86_fp80 %54, %55
%57 = load x86_fp80, ptr %17, align 16
%58 = fadd x86_fp80 %56, %57
store x86_fp80 %58, ptr %15, align 16
%59 = load x86_fp80, ptr %15, align 16
%60 = load x86_fp80, ptr %15, align 16
%61 = fmul x86_fp80 %59, %60
store x86_fp80 %61, ptr %19, align 16
%62 = load x86_fp80, ptr %16, align 16
%63 = load x86_fp80, ptr %16, align 16
%64 = fmul x86_fp80 %62, %63
store x86_fp80 %64, ptr %20, align 16
br label %36, !llvm.loop !6
65: ; preds = %46
%66 = load i32, ptr %14, align 4
%67 = load i32, ptr %8, align 4
%68 = icmp uge i32 %66, %67
br i1 %68, label %69, label %70
69: ; preds = %65
store i32 0, ptr %7, align 4
br label %105
70: ; preds = %65
store i32 2, ptr %21, align 4
%71 = load i32, ptr %21, align 4
%72 = add i32 %71, -1
store i32 %72, ptr %21, align 4
%73 = icmp ne i32 %71, 0
br i1 %73, label %.lr.ph, label %94
.lr.ph: ; preds = %70
br label %74
74: ; preds = %.lr.ph, %74
%75 = load x86_fp80, ptr %15, align 16
%76 = fmul x86_fp80 0xK40008000000000000000, %75
%77 = load x86_fp80, ptr %16, align 16
%78 = load x86_fp80, ptr %18, align 16
%79 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %76, x86_fp80 %77, x86_fp80 %78)
store x86_fp80 %79, ptr %16, align 16
%80 = load x86_fp80, ptr %19, align 16
%81 = load x86_fp80, ptr %20, align 16
%82 = fsub x86_fp80 %80, %81
%83 = load x86_fp80, ptr %17, align 16
%84 = fadd x86_fp80 %82, %83
store x86_fp80 %84, ptr %15, align 16
%85 = load x86_fp80, ptr %15, align 16
%86 = load x86_fp80, ptr %15, align 16
%87 = fmul x86_fp80 %85, %86
store x86_fp80 %87, ptr %19, align 16
%88 = load x86_fp80, ptr %16, align 16
%89 = load x86_fp80, ptr %16, align 16
%90 = fmul x86_fp80 %88, %89
store x86_fp80 %90, ptr %20, align 16
%91 = load i32, ptr %21, align 4
%92 = add i32 %91, -1
store i32 %92, ptr %21, align 4
%93 = icmp ne i32 %91, 0
br i1 %93, label %74, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %74
br label %94
94: ; preds = %._crit_edge, %70
%95 = load ptr, ptr %13, align 8
%96 = icmp ne ptr %95, null
br i1 %96, label %97, label %103
97: ; preds = %94
%98 = load x86_fp80, ptr %19, align 16
%99 = load x86_fp80, ptr %20, align 16
%100 = fadd x86_fp80 %98, %99
%101 = call x86_fp80 @sqrtl(x86_fp80 noundef %100) #3
%102 = load ptr, ptr %13, align 8
store x86_fp80 %101, ptr %102, align 16
br label %103
103: ; preds = %97, %94
%104 = load i32, ptr %14, align 4
store i32 %104, ptr %7, align 4
br label %105
105: ; preds = %103, %69
%106 = load i32, ptr %7, align 4
ret i32 %106
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #1
; Function Attrs: nounwind
declare x86_fp80 @sqrtl(x86_fp80 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { 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 = { 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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpuhc1b5np.c'
source_filename = "/tmp/tmpuhc1b5np.c"
target datalayout = "e-m:e-p270: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_RDONLY = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuhc1b5np.c"
target datalayout = "e-m:e-p270: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_RDONLY = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyi6v87zd.c'
source_filename = "/tmp/tmpyi6v87zd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ending_slash(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = icmp ne ptr %5, null
br i1 %6, label %8, label %7
7: ; preds = %1
store ptr null, ptr %2, align 8
br label %38
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %4, align 4
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %4, align 4
%13 = sub nsw i32 %12, 1
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %11, i64 %14
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 47
br i1 %18, label %19, label %22
19: ; preds = %8
%20 = load ptr, ptr %3, align 8
%21 = call ptr @strdup(ptr noundef %20)
store ptr %21, ptr %2, align 8
br label %38
22: ; preds = %8
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %23, 2
%25 = sext i32 %24 to i64
%26 = mul i64 %25, 1
%27 = trunc i64 %26 to i32
%28 = call i32 @malloc(i32 noundef %27)
%29 = load i32, ptr %4, align 4
%30 = add nsw i32 %29, 2
%31 = sext i32 %30 to i64
%32 = mul i64 %31, 1
%33 = trunc i64 %32 to i32
%34 = call ptr @memset(i32 noundef %28, i32 noundef 0, i32 noundef %33)
%35 = load ptr, ptr %3, align 8
%36 = call ptr @strcat(ptr noundef %34, ptr noundef %35)
%37 = call ptr @strcat(ptr noundef %36, ptr noundef @.str)
store ptr %37, ptr %2, align 8
br label %38
38: ; preds = %22, %19, %7
%39 = load ptr, ptr %2, align 8
ret ptr %39
}
declare i32 @strlen(ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
declare ptr @strcat(ptr noundef, ptr noundef) #1
declare ptr @memset(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyi6v87zd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ending_slash(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = icmp ne ptr %5, null
br i1 %6, label %8, label %7
7: ; preds = %1
store ptr null, ptr %2, align 8
br label %38
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %4, align 4
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %4, align 4
%13 = sub nsw i32 %12, 1
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %11, i64 %14
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 47
br i1 %18, label %19, label %22
19: ; preds = %8
%20 = load ptr, ptr %3, align 8
%21 = call ptr @strdup(ptr noundef %20)
store ptr %21, ptr %2, align 8
br label %38
22: ; preds = %8
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %23, 2
%25 = sext i32 %24 to i64
%26 = mul i64 %25, 1
%27 = trunc i64 %26 to i32
%28 = call i32 @malloc(i32 noundef %27)
%29 = load i32, ptr %4, align 4
%30 = add nsw i32 %29, 2
%31 = sext i32 %30 to i64
%32 = mul i64 %31, 1
%33 = trunc i64 %32 to i32
%34 = call ptr @memset(i32 noundef %28, i32 noundef 0, i32 noundef %33)
%35 = load ptr, ptr %3, align 8
%36 = call ptr @strcat(ptr noundef %34, ptr noundef %35)
%37 = call ptr @strcat(ptr noundef %36, ptr noundef @.str)
store ptr %37, ptr %2, align 8
br label %38
38: ; preds = %22, %19, %7
%39 = load ptr, ptr %2, align 8
ret ptr %39
}
declare i32 @strlen(ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
declare ptr @strcat(ptr noundef, ptr noundef) #1
declare ptr @memset(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0mvy5lhr.c'
source_filename = "/tmp/tmp0mvy5lhr.c"
target datalayout = "e-m:e-p270: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/tmp0mvy5lhr.c"
target datalayout = "e-m:e-p270: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/tmpmkan73wh.c'
source_filename = "/tmp/tmpmkan73wh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mem_vc2arm(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = and i32 %3, 1073741823
ret i32 %4
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmkan73wh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mem_vc2arm(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = and i32 %3, 1073741823
ret i32 %4
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp517cbq6r.c'
source_filename = "/tmp/tmp517cbq6r.c"
target datalayout = "e-m:e-p270: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/tmp517cbq6r.c"
target datalayout = "e-m:e-p270: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/tmphxphfb2u.c'
source_filename = "/tmp/tmphxphfb2u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ERROR\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @display_ready() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %2, align 4
br label %3
3: ; preds = %19, %0
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 5
br i1 %5, label %6, label %22
6: ; preds = %3
%7 = call i64 @ledctl(i32 noundef 0)
%8 = icmp ne i64 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %6
%10 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %1, align 4
br label %23
11: ; preds = %6
%12 = call i32 @usleep(i32 noundef 50000)
%13 = call i64 @ledctl(i32 noundef 7)
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %11
%16 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %1, align 4
br label %23
17: ; preds = %11
%18 = call i32 @usleep(i32 noundef 50000)
br label %19
19: ; preds = %17
%20 = load i32, ptr %2, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %2, align 4
br label %3, !llvm.loop !6
22: ; preds = %3
store i32 0, ptr %1, align 4
br label %23
23: ; preds = %22, %15, %9
%24 = load i32, ptr %1, align 4
ret i32 %24
}
declare i64 @ledctl(i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @usleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphxphfb2u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ERROR\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @display_ready() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp slt i32 %3, 5
br i1 %4, label %.lr.ph, label %23
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %18
%6 = call i64 @ledctl(i32 noundef 0)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %5
%9 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %1, align 4
br label %24
10: ; preds = %5
%11 = call i32 @usleep(i32 noundef 50000)
%12 = call i64 @ledctl(i32 noundef 7)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %10
%15 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %1, align 4
br label %24
16: ; preds = %10
%17 = call i32 @usleep(i32 noundef 50000)
br label %18
18: ; preds = %16
%19 = load i32, ptr %2, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %2, align 4
%21 = load i32, ptr %2, align 4
%22 = icmp slt i32 %21, 5
br i1 %22, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %23
23: ; preds = %._crit_edge, %0
store i32 0, ptr %1, align 4
br label %24
24: ; preds = %23, %14, %8
%25 = load i32, ptr %1, align 4
ret i32 %25
}
declare i64 @ledctl(i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @usleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpzgppc8mj.c'
source_filename = "/tmp/tmpzgppc8mj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"Digite uma palavra: \00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [27 x i8] c"Sua palavra invertida: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"Sua palavra eh um palindromo!\00", align 1
@.str.3 = private unnamed_addr constant [34 x i8] c"Sua palavra NAO eh um palindromo!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i8], align 16
%3 = alloca [100 x i8], align 16
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%6 = load i32, ptr @stdin, align 4
%7 = call i32 @fgets(ptr noundef %5, i32 noundef 100, i32 noundef %6)
%8 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%9 = call i32 @strlen(ptr noundef %8)
%10 = sub nsw i32 %9, 1
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %11
store i8 0, ptr %12, align 1
%13 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%14 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0
%15 = call i32 @calc_reverse(ptr noundef %13, ptr noundef %14)
%16 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %16)
%18 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%19 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0
%20 = call i32 @strcmp(ptr noundef %18, ptr noundef %19)
%21 = icmp ne i32 %20, 0
br i1 %21, label %24, label %22
22: ; preds = %0
%23 = call i32 @puts(ptr noundef @.str.2)
br label %26
24: ; preds = %0
%25 = call i32 @puts(ptr noundef @.str.3)
br label %26
26: ; preds = %24, %22
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @calc_reverse(ptr noundef, ptr noundef) #1
declare i32 @strcmp(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/tmpzgppc8mj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"Digite uma palavra: \00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [27 x i8] c"Sua palavra invertida: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"Sua palavra eh um palindromo!\00", align 1
@.str.3 = private unnamed_addr constant [34 x i8] c"Sua palavra NAO eh um palindromo!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i8], align 16
%3 = alloca [100 x i8], align 16
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%6 = load i32, ptr @stdin, align 4
%7 = call i32 @fgets(ptr noundef %5, i32 noundef 100, i32 noundef %6)
%8 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%9 = call i32 @strlen(ptr noundef %8)
%10 = sub nsw i32 %9, 1
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %11
store i8 0, ptr %12, align 1
%13 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%14 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0
%15 = call i32 @calc_reverse(ptr noundef %13, ptr noundef %14)
%16 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %16)
%18 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%19 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0
%20 = call i32 @strcmp(ptr noundef %18, ptr noundef %19)
%21 = icmp ne i32 %20, 0
br i1 %21, label %24, label %22
22: ; preds = %0
%23 = call i32 @puts(ptr noundef @.str.2)
br label %26
24: ; preds = %0
%25 = call i32 @puts(ptr noundef @.str.3)
br label %26
26: ; preds = %24, %22
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @calc_reverse(ptr noundef, ptr noundef) #1
declare i32 @strcmp(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/tmplctw8l19.c'
source_filename = "/tmp/tmplctw8l19.c"
target datalayout = "e-m:e-p270: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.cadena = private unnamed_addr constant [10 x i8] c"asimetria\00", align 1
@.str = private unnamed_addr constant [35 x i8] c"No tenemos una a seguida de una s\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"Tenemos una a seguida de una s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x i8], align 1
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.cadena, i64 10, i1 false)
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %28, %0
%5 = load i32, ptr %3, align 4
%6 = sext i32 %5 to i64
%7 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %6
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %31
11: ; preds = %4
%12 = load i32, ptr %3, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %13
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %16, 97
br i1 %17, label %18, label %27
18: ; preds = %11
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, 1
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %21
%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 = %18
br label %33
27: ; preds = %18, %11
br label %28
28: ; preds = %27
%29 = load i32, ptr %3, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %3, align 4
br label %4, !llvm.loop !6
31: ; preds = %4
%32 = call i32 @printf(ptr noundef @.str)
store i32 0, ptr %1, align 4
br label %35
33: ; preds = %26
%34 = call i32 @printf(ptr noundef @.str.1)
store i32 1, ptr %1, align 4
br label %35
35: ; preds = %33, %31
%36 = load i32, ptr %1, align 4
ret i32 %36
}
; 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
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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/tmplctw8l19.c"
target datalayout = "e-m:e-p270: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.cadena = private unnamed_addr constant [10 x i8] c"asimetria\00", align 1
@.str = private unnamed_addr constant [35 x i8] c"No tenemos una a seguida de una s\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"Tenemos una a seguida de una s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x i8], align 1
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.cadena, i64 10, i1 false)
store i32 0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = sext i32 %4 to i64
%6 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %5
%7 = load i8, ptr %6, align 1
%8 = sext i8 %7 to i32
%9 = icmp ne i32 %8, 0
br i1 %9, label %.lr.ph, label %36
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %27
%11 = load i32, ptr %3, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %12
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 97
br i1 %16, label %17, label %26
17: ; preds = %10
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, 1
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %20
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %23, 0
br i1 %24, label %25, label %26
25: ; preds = %17
br label %38
26: ; preds = %17, %10
br label %27
27: ; preds = %26
%28 = load i32, ptr %3, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %3, align 4
%30 = load i32, ptr %3, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %31
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp ne i32 %34, 0
br i1 %35, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %36
36: ; preds = %._crit_edge, %0
%37 = call i32 @printf(ptr noundef @.str)
store i32 0, ptr %1, align 4
br label %40
38: ; preds = %25
%39 = call i32 @printf(ptr noundef @.str.1)
store i32 1, ptr %1, align 4
br label %40
40: ; preds = %38, %36
%41 = load i32, ptr %1, align 4
ret i32 %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 i32 @printf(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpilruplcz.c'
source_filename = "/tmp/tmpilruplcz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcspn(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
%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 0, ptr %6, align 8
br label %7
7: ; preds = %25, %2
%8 = load ptr, ptr %4, align 8
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %26
12: ; preds = %7
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds i8, ptr %14, i32 1
store ptr %15, ptr %4, align 8
%16 = load i8, ptr %14, align 1
%17 = sext i8 %16 to i32
%18 = call i64 @strchr(ptr noundef %13, i32 noundef %17)
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %12
%21 = load i64, ptr %6, align 8
%22 = add i64 %21, 1
store i64 %22, ptr %6, align 8
br label %25
23: ; preds = %12
%24 = load i64, ptr %6, align 8
store i64 %24, ptr %3, align 8
br label %28
25: ; preds = %20
br label %7, !llvm.loop !6
26: ; preds = %7
%27 = load i64, ptr %6, align 8
store i64 %27, ptr %3, align 8
br label %28
28: ; preds = %26, %23
%29 = load i64, ptr %3, align 8
ret i64 %29
}
declare i64 @strchr(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/tmpilruplcz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcspn(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
%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 0, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp ne i32 %9, 0
br i1 %10, label %.lr.ph, label %29
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %24
%12 = load ptr, ptr %5, align 8
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds i8, ptr %13, i32 1
store ptr %14, ptr %4, align 8
%15 = load i8, ptr %13, align 1
%16 = sext i8 %15 to i32
%17 = call i64 @strchr(ptr noundef %12, i32 noundef %16)
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %11
%20 = load i64, ptr %6, align 8
%21 = add i64 %20, 1
store i64 %21, ptr %6, align 8
br label %24
22: ; preds = %11
%23 = load i64, ptr %6, align 8
store i64 %23, ptr %3, align 8
br label %31
24: ; preds = %19
%25 = load ptr, ptr %4, align 8
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp ne i32 %27, 0
br i1 %28, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %29
29: ; preds = %._crit_edge, %2
%30 = load i64, ptr %6, align 8
store i64 %30, ptr %3, align 8
br label %31
31: ; preds = %29, %22
%32 = load i64, ptr %3, align 8
ret i64 %32
}
declare i64 @strchr(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/tmptnv29xt4.c'
source_filename = "/tmp/tmptnv29xt4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @resolution_split(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i32 %2, ptr %9, align 4
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%15 = load ptr, ptr %7, align 8
store ptr %15, ptr %14, align 8
store i32 0, ptr %13, align 4
br label %16
16: ; preds = %33, %6
%17 = load i32, ptr %13, align 4
%18 = load i32, ptr %10, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %36
20: ; preds = %16
%21 = load ptr, ptr %8, align 8
%22 = load ptr, ptr %7, align 8
%23 = load i32, ptr %9, align 4
%24 = call i32 @memcpy(ptr noundef %21, ptr noundef %22, i32 noundef %23)
%25 = load i32, ptr %11, align 4
%26 = load ptr, ptr %7, align 8
%27 = sext i32 %25 to i64
%28 = getelementptr inbounds i8, ptr %26, i64 %27
store ptr %28, ptr %7, align 8
%29 = load i32, ptr %9, align 4
%30 = load ptr, ptr %8, align 8
%31 = sext i32 %29 to i64
%32 = getelementptr inbounds i8, ptr %30, i64 %31
store ptr %32, ptr %8, align 8
br label %33
33: ; preds = %20
%34 = load i32, ptr %13, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %13, align 4
br label %16, !llvm.loop !6
36: ; preds = %16
%37 = load ptr, ptr %14, align 8
%38 = load i32, ptr %11, align 4
%39 = load i32, ptr %12, align 4
%40 = mul nsw i32 %38, %39
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %37, i64 %41
store ptr %42, ptr %7, align 8
store i32 0, ptr %13, align 4
br label %43
43: ; preds = %64, %36
%44 = load i32, ptr %13, align 4
%45 = load i32, ptr %10, align 4
%46 = sdiv i32 %45, 2
%47 = icmp slt i32 %44, %46
br i1 %47, label %48, label %67
48: ; preds = %43
%49 = load ptr, ptr %8, align 8
%50 = load ptr, ptr %7, align 8
%51 = load i32, ptr %9, align 4
%52 = sdiv i32 %51, 2
%53 = call i32 @memcpy(ptr noundef %49, ptr noundef %50, i32 noundef %52)
%54 = load i32, ptr %11, align 4
%55 = sdiv i32 %54, 2
%56 = load ptr, ptr %7, align 8
%57 = sext i32 %55 to i64
%58 = getelementptr inbounds i8, ptr %56, i64 %57
store ptr %58, ptr %7, align 8
%59 = load i32, ptr %9, align 4
%60 = sdiv i32 %59, 2
%61 = load ptr, ptr %8, align 8
%62 = sext i32 %60 to i64
%63 = getelementptr inbounds i8, ptr %61, i64 %62
store ptr %63, ptr %8, align 8
br label %64
64: ; preds = %48
%65 = load i32, ptr %13, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %13, align 4
br label %43, !llvm.loop !8
67: ; preds = %43
%68 = load ptr, ptr %14, align 8
%69 = load i32, ptr %11, align 4
%70 = load i32, ptr %12, align 4
%71 = mul nsw i32 %69, %70
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i8, ptr %68, i64 %72
%74 = load i32, ptr %11, align 4
%75 = load i32, ptr %12, align 4
%76 = mul nsw i32 %74, %75
%77 = sdiv i32 %76, 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i8, ptr %73, i64 %78
store ptr %79, ptr %7, align 8
store i32 0, ptr %13, align 4
br label %80
80: ; preds = %101, %67
%81 = load i32, ptr %13, align 4
%82 = load i32, ptr %10, align 4
%83 = sdiv i32 %82, 2
%84 = icmp slt i32 %81, %83
br i1 %84, label %85, label %104
85: ; preds = %80
%86 = load ptr, ptr %8, align 8
%87 = load ptr, ptr %7, align 8
%88 = load i32, ptr %9, align 4
%89 = sdiv i32 %88, 2
%90 = call i32 @memcpy(ptr noundef %86, ptr noundef %87, i32 noundef %89)
%91 = load i32, ptr %11, align 4
%92 = sdiv i32 %91, 2
%93 = load ptr, ptr %7, align 8
%94 = sext i32 %92 to i64
%95 = getelementptr inbounds i8, ptr %93, i64 %94
store ptr %95, ptr %7, align 8
%96 = load i32, ptr %9, align 4
%97 = sdiv i32 %96, 2
%98 = load ptr, ptr %8, align 8
%99 = sext i32 %97 to i64
%100 = getelementptr inbounds i8, ptr %98, i64 %99
store ptr %100, ptr %8, align 8
br label %101
101: ; preds = %85
%102 = load i32, ptr %13, align 4
%103 = add nsw i32 %102, 1
store i32 %103, ptr %13, align 4
br label %80, !llvm.loop !9
104: ; preds = %80
ret void
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptnv29xt4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @resolution_split(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i32 %2, ptr %9, align 4
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%15 = load ptr, ptr %7, align 8
store ptr %15, ptr %14, align 8
store i32 0, ptr %13, align 4
%16 = load i32, ptr %13, align 4
%17 = load i32, ptr %10, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %.lr.ph, label %38
.lr.ph: ; preds = %6
br label %19
19: ; preds = %.lr.ph, %32
%20 = load ptr, ptr %8, align 8
%21 = load ptr, ptr %7, align 8
%22 = load i32, ptr %9, align 4
%23 = call i32 @memcpy(ptr noundef %20, ptr noundef %21, i32 noundef %22)
%24 = load i32, ptr %11, align 4
%25 = load ptr, ptr %7, align 8
%26 = sext i32 %24 to i64
%27 = getelementptr inbounds i8, ptr %25, i64 %26
store ptr %27, ptr %7, align 8
%28 = load i32, ptr %9, align 4
%29 = load ptr, ptr %8, align 8
%30 = sext i32 %28 to i64
%31 = getelementptr inbounds i8, ptr %29, i64 %30
store ptr %31, ptr %8, align 8
br label %32
32: ; preds = %19
%33 = load i32, ptr %13, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %13, align 4
%35 = load i32, ptr %13, align 4
%36 = load i32, ptr %10, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %38
38: ; preds = %._crit_edge, %6
%39 = load ptr, ptr %14, align 8
%40 = load i32, ptr %11, align 4
%41 = load i32, ptr %12, align 4
%42 = mul nsw i32 %40, %41
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %39, i64 %43
store ptr %44, ptr %7, align 8
store i32 0, ptr %13, align 4
%45 = load i32, ptr %13, align 4
%46 = load i32, ptr %10, align 4
%47 = sdiv i32 %46, 2
%48 = icmp slt i32 %45, %47
br i1 %48, label %.lr.ph2, label %72
.lr.ph2: ; preds = %38
br label %49
49: ; preds = %.lr.ph2, %65
%50 = load ptr, ptr %8, align 8
%51 = load ptr, ptr %7, align 8
%52 = load i32, ptr %9, align 4
%53 = sdiv i32 %52, 2
%54 = call i32 @memcpy(ptr noundef %50, ptr noundef %51, i32 noundef %53)
%55 = load i32, ptr %11, align 4
%56 = sdiv i32 %55, 2
%57 = load ptr, ptr %7, align 8
%58 = sext i32 %56 to i64
%59 = getelementptr inbounds i8, ptr %57, i64 %58
store ptr %59, ptr %7, align 8
%60 = load i32, ptr %9, align 4
%61 = sdiv i32 %60, 2
%62 = load ptr, ptr %8, align 8
%63 = sext i32 %61 to i64
%64 = getelementptr inbounds i8, ptr %62, i64 %63
store ptr %64, ptr %8, align 8
br label %65
65: ; preds = %49
%66 = load i32, ptr %13, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %13, align 4
%68 = load i32, ptr %13, align 4
%69 = load i32, ptr %10, align 4
%70 = sdiv i32 %69, 2
%71 = icmp slt i32 %68, %70
br i1 %71, label %49, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %65
br label %72
72: ; preds = %._crit_edge3, %38
%73 = load ptr, ptr %14, align 8
%74 = load i32, ptr %11, align 4
%75 = load i32, ptr %12, align 4
%76 = mul nsw i32 %74, %75
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds i8, ptr %73, i64 %77
%79 = load i32, ptr %11, align 4
%80 = load i32, ptr %12, align 4
%81 = mul nsw i32 %79, %80
%82 = sdiv i32 %81, 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds i8, ptr %78, i64 %83
store ptr %84, ptr %7, align 8
store i32 0, ptr %13, align 4
%85 = load i32, ptr %13, align 4
%86 = load i32, ptr %10, align 4
%87 = sdiv i32 %86, 2
%88 = icmp slt i32 %85, %87
br i1 %88, label %.lr.ph5, label %112
.lr.ph5: ; preds = %72
br label %89
89: ; preds = %.lr.ph5, %105
%90 = load ptr, ptr %8, align 8
%91 = load ptr, ptr %7, align 8
%92 = load i32, ptr %9, align 4
%93 = sdiv i32 %92, 2
%94 = call i32 @memcpy(ptr noundef %90, ptr noundef %91, i32 noundef %93)
%95 = load i32, ptr %11, align 4
%96 = sdiv i32 %95, 2
%97 = load ptr, ptr %7, align 8
%98 = sext i32 %96 to i64
%99 = getelementptr inbounds i8, ptr %97, i64 %98
store ptr %99, ptr %7, align 8
%100 = load i32, ptr %9, align 4
%101 = sdiv i32 %100, 2
%102 = load ptr, ptr %8, align 8
%103 = sext i32 %101 to i64
%104 = getelementptr inbounds i8, ptr %102, i64 %103
store ptr %104, ptr %8, align 8
br label %105
105: ; preds = %89
%106 = load i32, ptr %13, align 4
%107 = add nsw i32 %106, 1
store i32 %107, ptr %13, align 4
%108 = load i32, ptr %13, align 4
%109 = load i32, ptr %10, align 4
%110 = sdiv i32 %109, 2
%111 = icmp slt i32 %108, %110
br i1 %111, label %89, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %105
br label %112
112: ; preds = %._crit_edge6, %72
ret void
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpvpo48a8t.c'
source_filename = "/tmp/tmpvpo48a8t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sequential_increment_stock(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
store i32 0, ptr %10, align 4
%11 = load ptr, ptr %4, align 8
%12 = call i32 @db_warehouse_get_internal_data(ptr noundef %11, ptr noundef %9, ptr noundef %8)
store i32 %12, ptr %7, align 4
%13 = load i32, ptr %7, align 4
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %26
15: ; preds = %3
%16 = load ptr, ptr %4, align 8
%17 = call i32 @db_warehouse_get_stock(ptr noundef %16, ptr noundef %10)
store i32 %17, ptr %7, align 4
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr %10, align 4
%20 = add nsw i32 %19, %18
store i32 %20, ptr %10, align 4
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %10, align 4
%23 = call i32 @db_warehouse_update_stock(ptr noundef %21, i32 noundef %22)
store i32 %23, ptr %7, align 4
%24 = load i32, ptr %10, align 4
%25 = load ptr, ptr %6, align 8
store i32 %24, ptr %25, align 4
br label %26
26: ; preds = %15, %3
%27 = load i32, ptr %7, align 4
ret i32 %27
}
declare i32 @db_warehouse_get_internal_data(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @db_warehouse_get_stock(ptr noundef, ptr noundef) #1
declare i32 @db_warehouse_update_stock(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/tmpvpo48a8t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sequential_increment_stock(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
store i32 0, ptr %10, align 4
%11 = load ptr, ptr %4, align 8
%12 = call i32 @db_warehouse_get_internal_data(ptr noundef %11, ptr noundef %9, ptr noundef %8)
store i32 %12, ptr %7, align 4
%13 = load i32, ptr %7, align 4
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %26
15: ; preds = %3
%16 = load ptr, ptr %4, align 8
%17 = call i32 @db_warehouse_get_stock(ptr noundef %16, ptr noundef %10)
store i32 %17, ptr %7, align 4
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr %10, align 4
%20 = add nsw i32 %19, %18
store i32 %20, ptr %10, align 4
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %10, align 4
%23 = call i32 @db_warehouse_update_stock(ptr noundef %21, i32 noundef %22)
store i32 %23, ptr %7, align 4
%24 = load i32, ptr %10, align 4
%25 = load ptr, ptr %6, align 8
store i32 %24, ptr %25, align 4
br label %26
26: ; preds = %15, %3
%27 = load i32, ptr %7, align 4
ret i32 %27
}
declare i32 @db_warehouse_get_internal_data(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @db_warehouse_get_stock(ptr noundef, ptr noundef) #1
declare i32 @db_warehouse_update_stock(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/tmp9wmdl3ih.c'
source_filename = "/tmp/tmp9wmdl3ih.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@MAP_ANON = dso_local global i32 0, align 4
@MAP_FAILED = dso_local global ptr null, align 8
@MAP_PRIVATE = dso_local global i32 0, align 4
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = 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/tmp9wmdl3ih.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@MAP_ANON = dso_local global i32 0, align 4
@MAP_FAILED = dso_local global ptr null, align 8
@MAP_PRIVATE = dso_local global i32 0, align 4
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = 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/tmpt1h9dt85.c'
source_filename = "/tmp/tmpt1h9dt85.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Input number: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"fibonacci(%d) = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %4, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %8)
%12 = load i32, ptr %8, align 4
%13 = call i32 @fib(i32 noundef %12)
%14 = load i32, ptr %8, align 4
%15 = load i32, ptr %9, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %14, i32 noundef %15)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @fib(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/tmpt1h9dt85.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Input number: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"fibonacci(%d) = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %4, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %8)
%12 = load i32, ptr %8, align 4
%13 = call i32 @fib(i32 noundef %12)
%14 = load i32, ptr %8, align 4
%15 = load i32, ptr %9, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %14, i32 noundef %15)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @fib(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/tmplm2lngjk.c'
source_filename = "/tmp/tmplm2lngjk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [355 x i8] c"-h print this help and exit\0A-p <num> TCP port number to listen on (default: 11211)\0A-t <num> number of threads to use (default: 4)\0A-v verbose (print errors/warnings while in event loop)\0A-vv very verbose (also print client commands/reponses)\0A-vvv extremely verbose (also print internal state transitions)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplm2lngjk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [355 x i8] c"-h print this help and exit\0A-p <num> TCP port number to listen on (default: 11211)\0A-t <num> number of threads to use (default: 4)\0A-v verbose (print errors/warnings while in event loop)\0A-vv very verbose (also print client commands/reponses)\0A-vvv extremely verbose (also print internal state transitions)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp86su3c0s.c'
source_filename = "/tmp/tmp86su3c0s.c"
target datalayout = "e-m:e-p270: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/tmp86su3c0s.c"
target datalayout = "e-m:e-p270: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/tmpcp_d2f53.c'
source_filename = "/tmp/tmpcp_d2f53.c"
target datalayout = "e-m:e-p270: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/tmpcp_d2f53.c"
target datalayout = "e-m:e-p270: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/tmpq1wr_wb8.c'
source_filename = "/tmp/tmpq1wr_wb8.c"
target datalayout = "e-m:e-p270: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/tmpq1wr_wb8.c"
target datalayout = "e-m:e-p270: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/tmpxqs1ex91.c'
source_filename = "/tmp/tmpxqs1ex91.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@myrand.cnt = internal global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @myrand() #0 {
%1 = call i32 (...) @lrand48()
%2 = load i32, ptr @myrand.cnt, align 4
%3 = add nsw i32 %2, 1
store i32 %3, ptr @myrand.cnt, align 4
%4 = add nsw i32 %1, %2
%5 = and i32 %4, 2147483647
ret i32 %5
}
declare i32 @lrand48(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxqs1ex91.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@myrand.cnt = internal global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @myrand() #0 {
%1 = call i32 (...) @lrand48()
%2 = load i32, ptr @myrand.cnt, align 4
%3 = add nsw i32 %2, 1
store i32 %3, ptr @myrand.cnt, align 4
%4 = add nsw i32 %1, %2
%5 = and i32 %4, 2147483647
ret i32 %5
}
declare i32 @lrand48(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1pykif2l.c'
source_filename = "/tmp/tmp1pykif2l.c"
target datalayout = "e-m:e-p270: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/tmp1pykif2l.c"
target datalayout = "e-m:e-p270: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/tmp79m396zr.c'
source_filename = "/tmp/tmp79m396zr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sstream_copy(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store ptr null, ptr %3, align 8
%4 = call ptr (...) @sstream_new()
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @sstream_cstr(ptr noundef %6)
%8 = call i32 @sstream_push_cstr(ptr noundef %5, i32 noundef %7)
%9 = load ptr, ptr %3, align 8
ret ptr %9
}
declare ptr @sstream_new(...) #1
declare i32 @sstream_push_cstr(ptr noundef, i32 noundef) #1
declare i32 @sstream_cstr(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp79m396zr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sstream_copy(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store ptr null, ptr %3, align 8
%4 = call ptr (...) @sstream_new()
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @sstream_cstr(ptr noundef %6)
%8 = call i32 @sstream_push_cstr(ptr noundef %5, i32 noundef %7)
%9 = load ptr, ptr %3, align 8
ret ptr %9
}
declare ptr @sstream_new(...) #1
declare i32 @sstream_push_cstr(ptr noundef, i32 noundef) #1
declare i32 @sstream_cstr(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprnyi_fs_.c'
source_filename = "/tmp/tmprnyi_fs_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGINT = dso_local global i32 0, align 4
@SIG_DFL = dso_local global i32 0, align 4
@SIGQUIT = dso_local global i32 0, align 4
@SIGKILL = dso_local global i32 0, align 4
@SIGTERM = dso_local global i32 0, align 4
@SIGTSTP = dso_local global i32 0, align 4
@SIGTTIN = dso_local global i32 0, align 4
@SIGTTOU = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @signal_default() #0 {
%1 = load i32, ptr @SIGINT, align 4
%2 = load i32, ptr @SIG_DFL, align 4
%3 = call i32 @signal(i32 noundef %1, i32 noundef %2)
%4 = load i32, ptr @SIGQUIT, align 4
%5 = load i32, ptr @SIG_DFL, align 4
%6 = call i32 @signal(i32 noundef %4, i32 noundef %5)
%7 = load i32, ptr @SIGKILL, align 4
%8 = load i32, ptr @SIG_DFL, align 4
%9 = call i32 @signal(i32 noundef %7, i32 noundef %8)
%10 = load i32, ptr @SIGTERM, align 4
%11 = load i32, ptr @SIG_DFL, align 4
%12 = call i32 @signal(i32 noundef %10, i32 noundef %11)
%13 = load i32, ptr @SIGTSTP, align 4
%14 = load i32, ptr @SIG_DFL, align 4
%15 = call i32 @signal(i32 noundef %13, i32 noundef %14)
%16 = load i32, ptr @SIGTTIN, align 4
%17 = load i32, ptr @SIG_DFL, align 4
%18 = call i32 @signal(i32 noundef %16, i32 noundef %17)
%19 = load i32, ptr @SIGTTOU, align 4
%20 = load i32, ptr @SIG_DFL, align 4
%21 = call i32 @signal(i32 noundef %19, i32 noundef %20)
ret void
}
declare i32 @signal(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/tmprnyi_fs_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGINT = dso_local global i32 0, align 4
@SIG_DFL = dso_local global i32 0, align 4
@SIGQUIT = dso_local global i32 0, align 4
@SIGKILL = dso_local global i32 0, align 4
@SIGTERM = dso_local global i32 0, align 4
@SIGTSTP = dso_local global i32 0, align 4
@SIGTTIN = dso_local global i32 0, align 4
@SIGTTOU = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @signal_default() #0 {
%1 = load i32, ptr @SIGINT, align 4
%2 = load i32, ptr @SIG_DFL, align 4
%3 = call i32 @signal(i32 noundef %1, i32 noundef %2)
%4 = load i32, ptr @SIGQUIT, align 4
%5 = load i32, ptr @SIG_DFL, align 4
%6 = call i32 @signal(i32 noundef %4, i32 noundef %5)
%7 = load i32, ptr @SIGKILL, align 4
%8 = load i32, ptr @SIG_DFL, align 4
%9 = call i32 @signal(i32 noundef %7, i32 noundef %8)
%10 = load i32, ptr @SIGTERM, align 4
%11 = load i32, ptr @SIG_DFL, align 4
%12 = call i32 @signal(i32 noundef %10, i32 noundef %11)
%13 = load i32, ptr @SIGTSTP, align 4
%14 = load i32, ptr @SIG_DFL, align 4
%15 = call i32 @signal(i32 noundef %13, i32 noundef %14)
%16 = load i32, ptr @SIGTTIN, align 4
%17 = load i32, ptr @SIG_DFL, align 4
%18 = call i32 @signal(i32 noundef %16, i32 noundef %17)
%19 = load i32, ptr @SIGTTOU, align 4
%20 = load i32, ptr @SIG_DFL, align 4
%21 = call i32 @signal(i32 noundef %19, i32 noundef %20)
ret void
}
declare i32 @signal(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/tmppx56wgj0.c'
source_filename = "/tmp/tmppx56wgj0.c"
target datalayout = "e-m:e-p270: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/tmppx56wgj0.c"
target datalayout = "e-m:e-p270: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/tmp1y291aqn.c'
source_filename = "/tmp/tmp1y291aqn.c"
target datalayout = "e-m:e-p270: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/tmp1y291aqn.c"
target datalayout = "e-m:e-p270: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/tmpe0rk80qz.c'
source_filename = "/tmp/tmpe0rk80qz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AUDIO_SET_AV_SYNC = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"AUDIO_SET_AV_SYNC\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @audioSetAVSync(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %10, label %9
9: ; preds = %2
store i32 -1, ptr %3, align 4
br label %21
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = call i32 @atoi(ptr noundef %11)
store i32 %12, ptr %6, align 4
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr @AUDIO_SET_AV_SYNC, align 4
%15 = load i32, ptr %6, align 4
%16 = call i32 @ioctl(i32 noundef %13, i32 noundef %14, i32 noundef %15)
%17 = icmp eq i32 %16, -1
br i1 %17, label %18, label %20
18: ; preds = %10
%19 = call i32 @perror(ptr noundef @.str)
br label %20
20: ; preds = %18, %10
store i32 0, ptr %3, align 4
br label %21
21: ; preds = %20, %9
%22 = load i32, ptr %3, align 4
ret i32 %22
}
declare i32 @atoi(ptr noundef) #1
declare i32 @ioctl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe0rk80qz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AUDIO_SET_AV_SYNC = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"AUDIO_SET_AV_SYNC\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @audioSetAVSync(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %10, label %9
9: ; preds = %2
store i32 -1, ptr %3, align 4
br label %21
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = call i32 @atoi(ptr noundef %11)
store i32 %12, ptr %6, align 4
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr @AUDIO_SET_AV_SYNC, align 4
%15 = load i32, ptr %6, align 4
%16 = call i32 @ioctl(i32 noundef %13, i32 noundef %14, i32 noundef %15)
%17 = icmp eq i32 %16, -1
br i1 %17, label %18, label %20
18: ; preds = %10
%19 = call i32 @perror(ptr noundef @.str)
br label %20
20: ; preds = %18, %10
store i32 0, ptr %3, align 4
br label %21
21: ; preds = %20, %9
%22 = load i32, ptr %3, align 4
ret i32 %22
}
declare i32 @atoi(ptr noundef) #1
declare i32 @ioctl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg0epfv67.c'
source_filename = "/tmp/tmpg0epfv67.c"
target datalayout = "e-m:e-p270: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/tmpg0epfv67.c"
target datalayout = "e-m:e-p270: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/tmpmd2mhnr9.c'
source_filename = "/tmp/tmpmd2mhnr9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strhash(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %9
8: ; preds = %1
store i32 0, ptr %2, align 4
br label %30
9: ; preds = %1
store i32 -2128831035, ptr %4, align 4
%10 = load ptr, ptr %3, align 8
store ptr %10, ptr %5, align 8
br label %11
11: ; preds = %25, %9
%12 = load ptr, ptr %5, 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 %16, label %28
16: ; preds = %11
%17 = load i32, ptr %4, align 4
%18 = load ptr, ptr %5, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = and i32 %20, 255
%22 = xor i32 %17, %21
store i32 %22, ptr %4, align 4
%23 = load i32, ptr %4, align 4
%24 = mul i32 %23, 16777619
store i32 %24, ptr %4, align 4
br label %25
25: ; preds = %16
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds i8, ptr %26, i32 1
store ptr %27, ptr %5, align 8
br label %11, !llvm.loop !6
28: ; preds = %11
%29 = load i32, ptr %4, align 4
store i32 %29, ptr %2, align 4
br label %30
30: ; preds = %28, %8
%31 = load i32, ptr %2, align 4
ret i32 %31
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpmd2mhnr9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strhash(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %9
8: ; preds = %1
store i32 0, ptr %2, align 4
br label %33
9: ; preds = %1
store i32 -2128831035, ptr %4, align 4
%10 = load ptr, ptr %3, align 8
store ptr %10, ptr %5, align 8
%11 = load ptr, ptr %5, align 8
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp ne i32 %13, 0
br i1 %14, label %.lr.ph, label %31
.lr.ph: ; preds = %9
br label %15
15: ; preds = %.lr.ph, %24
%16 = load i32, ptr %4, align 4
%17 = load ptr, ptr %5, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = and i32 %19, 255
%21 = xor i32 %16, %20
store i32 %21, ptr %4, align 4
%22 = load i32, ptr %4, align 4
%23 = mul i32 %22, 16777619
store i32 %23, ptr %4, align 4
br label %24
24: ; preds = %15
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds i8, ptr %25, i32 1
store ptr %26, ptr %5, align 8
%27 = load ptr, ptr %5, align 8
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp ne i32 %29, 0
br i1 %30, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %31
31: ; preds = %._crit_edge, %9
%32 = load i32, ptr %4, align 4
store i32 %32, ptr %2, align 4
br label %33
33: ; preds = %31, %8
%34 = load i32, ptr %2, align 4
ret i32 %34
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpb9zsf49j.c'
source_filename = "/tmp/tmpb9zsf49j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlwr(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 = %11, %1
%6 = load ptr, ptr %3, align 8
%7 = load i8, ptr %6, align 1
%8 = call signext i8 @tolower(i8 noundef signext %7)
%9 = load ptr, ptr %3, align 8
store i8 %8, ptr %9, align 1
%10 = icmp ne i8 %8, 0
br i1 %10, label %11, label %14
11: ; preds = %5
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds i8, ptr %12, i32 1
store ptr %13, ptr %3, align 8
br label %5, !llvm.loop !6
14: ; preds = %5
%15 = load ptr, ptr %2, align 8
ret ptr %15
}
declare signext i8 @tolower(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/tmpb9zsf49j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlwr(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 = call signext i8 @tolower(i8 noundef signext %6)
%8 = load ptr, ptr %3, align 8
store i8 %7, ptr %8, align 1
%9 = icmp ne i8 %7, 0
br i1 %9, label %.lr.ph, label %18
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %10
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds i8, ptr %11, i32 1
store ptr %12, ptr %3, align 8
%13 = load ptr, ptr %3, align 8
%14 = load i8, ptr %13, align 1
%15 = call signext i8 @tolower(i8 noundef signext %14)
%16 = load ptr, ptr %3, align 8
store i8 %15, ptr %16, align 1
%17 = icmp ne i8 %15, 0
br i1 %17, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %18
18: ; preds = %._crit_edge, %1
%19 = load ptr, ptr %2, align 8
ret ptr %19
}
declare signext i8 @tolower(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/tmp81sjbj3k.c'
source_filename = "/tmp/tmp81sjbj3k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [13 x i8] c"WWW_Username\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"WWW_Password\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"Error getting username\00", align 1
@.str.4 = private unnamed_addr constant [45 x i8] c"Forbidden characters in username or password\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"/tmp/new_login\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"w+\00", align 1
@.str.7 = private unnamed_addr constant [24 x i8] c"Error opening loginfile\00", align 1
@.str.8 = private unnamed_addr constant [7 x i8] c"%s:%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @web_c_authentication() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr null, ptr %3, align 8
store ptr null, ptr %4, align 8
store ptr @.str, ptr %5, align 8
%6 = call ptr @getenv(ptr noundef @.str.1)
store ptr %6, ptr %3, align 8
%7 = call ptr @getenv(ptr noundef @.str.2)
store ptr %7, ptr %4, align 8
%8 = load ptr, ptr %3, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %21, label %10
10: ; preds = %0
%11 = load ptr, ptr %3, align 8
%12 = call i32 @check_string_empty(ptr noundef %11)
%13 = icmp eq i32 %12, 1
br i1 %13, label %21, label %14
14: ; preds = %10
%15 = load ptr, ptr %4, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %21, label %17
17: ; preds = %14
%18 = load ptr, ptr %4, align 8
%19 = call i32 @check_string_empty(ptr noundef %18)
%20 = icmp eq i32 %19, 1
br i1 %20, label %21, label %24
21: ; preds = %17, %14, %10, %0
%22 = call i32 @perror(ptr noundef @.str.3)
%23 = call i32 (...) @web_s_authentication()
store ptr null, ptr %1, align 8
br label %53
24: ; preds = %17
%25 = load ptr, ptr %3, align 8
%26 = load ptr, ptr %5, align 8
%27 = call i32 @check_forbidden_characters(ptr noundef %25, ptr noundef %26)
%28 = icmp eq i32 %27, 1
br i1 %28, label %34, label %29
29: ; preds = %24
%30 = load ptr, ptr %4, align 8
%31 = load ptr, ptr %5, align 8
%32 = call i32 @check_forbidden_characters(ptr noundef %30, ptr noundef %31)
%33 = icmp eq i32 %32, 1
br i1 %33, label %34, label %37
34: ; preds = %29, %24
%35 = call i32 @perror(ptr noundef @.str.4)
%36 = call i32 (...) @web_s_authentication()
store ptr null, ptr %1, align 8
br label %53
37: ; preds = %29
%38 = call ptr @fopen(ptr noundef @.str.5, ptr noundef @.str.6)
store ptr %38, ptr %2, align 8
%39 = load ptr, ptr %2, align 8
%40 = icmp eq ptr %39, null
br i1 %40, label %41, label %44
41: ; preds = %37
%42 = call i32 @perror(ptr noundef @.str.7)
%43 = call i32 (...) @web_s_authentication()
store ptr null, ptr %1, align 8
br label %53
44: ; preds = %37
%45 = load ptr, ptr %2, align 8
%46 = load ptr, ptr %3, align 8
%47 = load ptr, ptr %4, align 8
%48 = call i32 @fprintf(ptr noundef %45, ptr noundef @.str.8, ptr noundef %46, ptr noundef %47)
%49 = load ptr, ptr %2, align 8
%50 = call i32 @fclose(ptr noundef %49)
%51 = call i32 @sleep(i32 noundef 1)
%52 = call i32 (...) @web_s_authentication()
store ptr null, ptr %1, align 8
br label %53
53: ; preds = %44, %41, %34, %21
%54 = load ptr, ptr %1, align 8
ret ptr %54
}
declare ptr @getenv(ptr noundef) #1
declare i32 @check_string_empty(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @web_s_authentication(...) #1
declare i32 @check_forbidden_characters(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp81sjbj3k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [13 x i8] c"WWW_Username\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"WWW_Password\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"Error getting username\00", align 1
@.str.4 = private unnamed_addr constant [45 x i8] c"Forbidden characters in username or password\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"/tmp/new_login\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"w+\00", align 1
@.str.7 = private unnamed_addr constant [24 x i8] c"Error opening loginfile\00", align 1
@.str.8 = private unnamed_addr constant [7 x i8] c"%s:%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @web_c_authentication() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr null, ptr %3, align 8
store ptr null, ptr %4, align 8
store ptr @.str, ptr %5, align 8
%6 = call ptr @getenv(ptr noundef @.str.1)
store ptr %6, ptr %3, align 8
%7 = call ptr @getenv(ptr noundef @.str.2)
store ptr %7, ptr %4, align 8
%8 = load ptr, ptr %3, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %21, label %10
10: ; preds = %0
%11 = load ptr, ptr %3, align 8
%12 = call i32 @check_string_empty(ptr noundef %11)
%13 = icmp eq i32 %12, 1
br i1 %13, label %21, label %14
14: ; preds = %10
%15 = load ptr, ptr %4, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %21, label %17
17: ; preds = %14
%18 = load ptr, ptr %4, align 8
%19 = call i32 @check_string_empty(ptr noundef %18)
%20 = icmp eq i32 %19, 1
br i1 %20, label %21, label %24
21: ; preds = %17, %14, %10, %0
%22 = call i32 @perror(ptr noundef @.str.3)
%23 = call i32 (...) @web_s_authentication()
store ptr null, ptr %1, align 8
br label %53
24: ; preds = %17
%25 = load ptr, ptr %3, align 8
%26 = load ptr, ptr %5, align 8
%27 = call i32 @check_forbidden_characters(ptr noundef %25, ptr noundef %26)
%28 = icmp eq i32 %27, 1
br i1 %28, label %34, label %29
29: ; preds = %24
%30 = load ptr, ptr %4, align 8
%31 = load ptr, ptr %5, align 8
%32 = call i32 @check_forbidden_characters(ptr noundef %30, ptr noundef %31)
%33 = icmp eq i32 %32, 1
br i1 %33, label %34, label %37
34: ; preds = %29, %24
%35 = call i32 @perror(ptr noundef @.str.4)
%36 = call i32 (...) @web_s_authentication()
store ptr null, ptr %1, align 8
br label %53
37: ; preds = %29
%38 = call ptr @fopen(ptr noundef @.str.5, ptr noundef @.str.6)
store ptr %38, ptr %2, align 8
%39 = load ptr, ptr %2, align 8
%40 = icmp eq ptr %39, null
br i1 %40, label %41, label %44
41: ; preds = %37
%42 = call i32 @perror(ptr noundef @.str.7)
%43 = call i32 (...) @web_s_authentication()
store ptr null, ptr %1, align 8
br label %53
44: ; preds = %37
%45 = load ptr, ptr %2, align 8
%46 = load ptr, ptr %3, align 8
%47 = load ptr, ptr %4, align 8
%48 = call i32 @fprintf(ptr noundef %45, ptr noundef @.str.8, ptr noundef %46, ptr noundef %47)
%49 = load ptr, ptr %2, align 8
%50 = call i32 @fclose(ptr noundef %49)
%51 = call i32 @sleep(i32 noundef 1)
%52 = call i32 (...) @web_s_authentication()
store ptr null, ptr %1, align 8
br label %53
53: ; preds = %44, %41, %34, %21
%54 = load ptr, ptr %1, align 8
ret ptr %54
}
declare ptr @getenv(ptr noundef) #1
declare i32 @check_string_empty(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @web_s_authentication(...) #1
declare i32 @check_forbidden_characters(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzjo3jksr.c'
source_filename = "/tmp/tmpzjo3jksr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%s:\0A\00", align 1
@EOF = dso_local global i8 0, align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_file(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call ptr @fopen(ptr noundef %5, ptr noundef @.str)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %7)
br label %9
9: ; preds = %16, %1
%10 = load ptr, ptr %4, align 8
%11 = call signext i8 @fgetc(ptr noundef %10)
store i8 %11, ptr %3, align 1
%12 = sext i8 %11 to i32
%13 = load i8, ptr @EOF, align 1
%14 = sext i8 %13 to i32
%15 = icmp ne i32 %12, %14
br i1 %15, label %16, label %20
16: ; preds = %9
%17 = load i8, ptr %3, align 1
%18 = sext i8 %17 to i32
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %18)
br label %9, !llvm.loop !6
20: ; preds = %9
%21 = load ptr, ptr %4, align 8
%22 = call i32 @fclose(ptr noundef %21)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare signext i8 @fgetc(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzjo3jksr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%s:\0A\00", align 1
@EOF = dso_local global i8 0, align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_file(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call ptr @fopen(ptr noundef %5, ptr noundef @.str)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %7)
%9 = load ptr, ptr %4, align 8
%10 = call signext i8 @fgetc(ptr noundef %9)
store i8 %10, ptr %3, align 1
%11 = sext i8 %10 to i32
%12 = load i8, ptr @EOF, align 1
%13 = sext i8 %12 to i32
%14 = icmp ne i32 %11, %13
br i1 %14, label %.lr.ph, label %25
.lr.ph: ; preds = %1
br label %15
15: ; preds = %.lr.ph, %15
%16 = load i8, ptr %3, align 1
%17 = sext i8 %16 to i32
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %17)
%19 = load ptr, ptr %4, align 8
%20 = call signext i8 @fgetc(ptr noundef %19)
store i8 %20, ptr %3, align 1
%21 = sext i8 %20 to i32
%22 = load i8, ptr @EOF, align 1
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %21, %23
br i1 %24, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %25
25: ; preds = %._crit_edge, %1
%26 = load ptr, ptr %4, align 8
%27 = call i32 @fclose(ptr noundef %26)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare signext i8 @fgetc(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp0paet40c.c'
source_filename = "/tmp/tmp0paet40c.c"
target datalayout = "e-m:e-p270: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/tmp0paet40c.c"
target datalayout = "e-m:e-p270: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/tmpwws9wjl4.c'
source_filename = "/tmp/tmpwws9wjl4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [85 x i8] c"Name Objects Objsize Space Slabs/Part/Cpu O/S O %%Fr %%Ef Flg\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @first_line() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwws9wjl4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [85 x i8] c"Name Objects Objsize Space Slabs/Part/Cpu O/S O %%Fr %%Ef Flg\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @first_line() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprpt3lapd.c'
source_filename = "/tmp/tmprpt3lapd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @CCNL_NOW() #0 {
%1 = call i64 (...) @millis()
%2 = sitofp i64 %1 to double
%3 = fdiv double %2, 1.000000e+03
ret double %3
}
declare i64 @millis(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprpt3lapd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @CCNL_NOW() #0 {
%1 = call i64 (...) @millis()
%2 = sitofp i64 %1 to double
%3 = fdiv double %2, 1.000000e+03
ret double %3
}
declare i64 @millis(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0p0xmid4.c'
source_filename = "/tmp/tmp0p0xmid4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [45 x i8] c"Usage: mdb-dump <filename> [<page number>]\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"0x\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"char %c\0A\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"page num %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"Couldn't open file %s\0A\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [6 x i8] c"%06lx\00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c"000\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c"800\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.9 = private unnamed_addr constant [24 x i8] c"-- Page 0x%04x (%d) --\0A\00", align 1
@.str.10 = private unnamed_addr constant [5 x i8] c"%s \00", align 1
@.str.11 = private unnamed_addr constant [6 x i8] c"%02x \00", align 1
@.str.12 = private unnamed_addr constant [4 x i8] c" |\00", align 1
@.str.13 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.14 = private unnamed_addr constant [3 x i8] c"|\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca [17 x i8], align 16
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i32, align 4
%12 = alloca [10 x i8], align 1
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 0, ptr %6, align 8
store i32 0, ptr %11, align 4
store i32 0, ptr %13, align 4
store i32 2048, ptr %14, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp slt i32 %15, 1
br i1 %16, label %17, label %21
17: ; preds = %2
%18 = load i32, ptr @stderr, align 4
%19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str)
%20 = call i32 @exit(i32 noundef 1) #3
unreachable
21: ; preds = %2
%22 = load i32, ptr %4, align 4
%23 = icmp sgt i32 %22, 2
br i1 %23, label %24, label %90
24: ; preds = %21
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 2
%27 = load ptr, ptr %26, align 8
%28 = call i32 @strncmp(ptr noundef %27, ptr noundef @.str.1, i32 noundef 2)
%29 = icmp ne i32 %28, 0
br i1 %29, label %84, label %30
30: ; preds = %24
store i64 2, ptr %6, align 8
br label %31
31: ; preds = %80, %30
%32 = load i64, ptr %6, align 8
%33 = load ptr, ptr %5, align 8
%34 = getelementptr inbounds ptr, ptr %33, i64 2
%35 = load ptr, ptr %34, align 8
%36 = call i64 @strlen(ptr noundef %35)
%37 = icmp ult i64 %32, %36
br i1 %37, label %38, label %83
38: ; preds = %31
%39 = load i32, ptr %11, align 4
%40 = mul nsw i32 %39, 16
store i32 %40, ptr %11, align 4
%41 = load ptr, ptr %5, align 8
%42 = getelementptr inbounds ptr, ptr %41, i64 2
%43 = load ptr, ptr %42, align 8
%44 = load i64, ptr %6, align 8
%45 = getelementptr inbounds i8, ptr %43, i64 %44
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = call i32 @printf(ptr noundef @.str.2, i32 noundef %47)
%49 = load ptr, ptr %5, align 8
%50 = getelementptr inbounds ptr, ptr %49, i64 2
%51 = load ptr, ptr %50, align 8
%52 = load i64, ptr %6, align 8
%53 = getelementptr inbounds i8, ptr %51, i64 %52
%54 = load i8, ptr %53, align 1
%55 = sext i8 %54 to i32
%56 = icmp sgt i32 %55, 57
br i1 %56, label %57, label %67
57: ; preds = %38
%58 = load ptr, ptr %5, align 8
%59 = getelementptr inbounds ptr, ptr %58, i64 2
%60 = load ptr, ptr %59, align 8
%61 = load i64, ptr %6, align 8
%62 = getelementptr inbounds i8, ptr %60, i64 %61
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
%65 = sub nsw i32 %64, 97
%66 = add nsw i32 %65, 10
br label %76
67: ; preds = %38
%68 = load ptr, ptr %5, align 8
%69 = getelementptr inbounds ptr, ptr %68, i64 2
%70 = load ptr, ptr %69, align 8
%71 = load i64, ptr %6, align 8
%72 = getelementptr inbounds i8, ptr %70, i64 %71
%73 = load i8, ptr %72, align 1
%74 = sext i8 %73 to i32
%75 = sub nsw i32 %74, 48
br label %76
76: ; preds = %67, %57
%77 = phi i32 [ %66, %57 ], [ %75, %67 ]
%78 = load i32, ptr %11, align 4
%79 = add nsw i32 %78, %77
store i32 %79, ptr %11, align 4
br label %80
80: ; preds = %76
%81 = load i64, ptr %6, align 8
%82 = add i64 %81, 1
store i64 %82, ptr %6, align 8
br label %31, !llvm.loop !6
83: ; preds = %31
br label %89
84: ; preds = %24
%85 = load ptr, ptr %5, align 8
%86 = getelementptr inbounds ptr, ptr %85, i64 2
%87 = load ptr, ptr %86, align 8
%88 = call i32 @atol(ptr noundef %87)
store i32 %88, ptr %11, align 4
br label %89
89: ; preds = %84, %83
br label %90
90: ; preds = %89, %21
%91 = load i32, ptr %11, align 4
%92 = call i32 @printf(ptr noundef @.str.3, i32 noundef %91)
%93 = load ptr, ptr %5, align 8
%94 = getelementptr inbounds ptr, ptr %93, i64 1
%95 = load ptr, ptr %94, align 8
%96 = call ptr @fopen(ptr noundef %95, ptr noundef @.str.4)
store ptr %96, ptr %9, align 8
%97 = icmp eq ptr %96, null
br i1 %97, label %98, label %105
98: ; preds = %90
%99 = load i32, ptr @stderr, align 4
%100 = load ptr, ptr %5, align 8
%101 = getelementptr inbounds ptr, ptr %100, i64 1
%102 = load ptr, ptr %101, align 8
%103 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %99, ptr noundef @.str.5, ptr noundef %102)
%104 = call i32 @exit(i32 noundef 1) #3
unreachable
105: ; preds = %90
%106 = load ptr, ptr %9, align 8
%107 = load i32, ptr @SEEK_SET, align 4
%108 = call i32 @fseek(ptr noundef %106, i32 noundef 20, i32 noundef %107)
%109 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 0
%110 = load ptr, ptr %9, align 8
%111 = call i64 @fread(ptr noundef %109, i32 noundef 1, i32 noundef 1, ptr noundef %110)
%112 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 0
%113 = load i8, ptr %112, align 16
%114 = zext i8 %113 to i32
%115 = icmp eq i32 %114, 1
br i1 %115, label %116, label %117
116: ; preds = %105
store i32 1, ptr %13, align 4
store i32 4096, ptr %14, align 4
br label %117
117: ; preds = %116, %105
%118 = load ptr, ptr %9, align 8
%119 = load i32, ptr %11, align 4
%120 = load i32, ptr %14, align 4
%121 = mul nsw i32 %119, %120
%122 = load i32, ptr @SEEK_SET, align 4
%123 = call i32 @fseek(ptr noundef %118, i32 noundef %121, i32 noundef %122)
store i64 0, ptr %6, align 8
br label %124
124: ; preds = %202, %117
%125 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 0
%126 = load ptr, ptr %9, align 8
%127 = call i64 @fread(ptr noundef %125, i32 noundef 1, i32 noundef 16, ptr noundef %126)
store i64 %127, ptr %10, align 8
%128 = icmp ne i64 %127, 0
br i1 %128, label %129, label %205
129: ; preds = %124
%130 = getelementptr inbounds [10 x i8], ptr %12, i64 0, i64 0
%131 = load i64, ptr %6, align 8
%132 = call i32 @sprintf(ptr noundef %130, ptr noundef @.str.6, i64 noundef %131)
%133 = getelementptr inbounds [10 x i8], ptr %12, i64 0, i64 3
%134 = call i32 @strcmp(ptr noundef %133, ptr noundef @.str.7)
%135 = icmp ne i32 %134, 0
br i1 %135, label %136, label %143
136: ; preds = %129
%137 = load i32, ptr %13, align 4
%138 = icmp ne i32 %137, 0
br i1 %138, label %150, label %139
139: ; preds = %136
%140 = getelementptr inbounds [10 x i8], ptr %12, i64 0, i64 3
%141 = call i32 @strcmp(ptr noundef %140, ptr noundef @.str.8)
%142 = icmp ne i32 %141, 0
br i1 %142, label %150, label %143
143: ; preds = %139, %129
%144 = load i32, ptr @stdout, align 4
%145 = load i32, ptr %11, align 4
%146 = load i32, ptr %11, align 4
%147 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %144, ptr noundef @.str.9, i32 noundef %145, i32 noundef %146)
%148 = load i32, ptr %11, align 4
%149 = add nsw i32 %148, 1
store i32 %149, ptr %11, align 4
br label %150
150: ; preds = %143, %139, %136
%151 = load i32, ptr @stdout, align 4
%152 = getelementptr inbounds [10 x i8], ptr %12, i64 0, i64 0
%153 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %151, ptr noundef @.str.10, ptr noundef %152)
%154 = load i64, ptr %10, align 8
%155 = load i64, ptr %6, align 8
%156 = add i64 %155, %154
store i64 %156, ptr %6, align 8
store i32 0, ptr %7, align 4
br label %157
157: ; preds = %170, %150
%158 = load i32, ptr %7, align 4
%159 = zext i32 %158 to i64
%160 = load i64, ptr %10, align 8
%161 = icmp ult i64 %159, %160
br i1 %161, label %162, label %173
162: ; preds = %157
%163 = load i32, ptr @stdout, align 4
%164 = load i32, ptr %7, align 4
%165 = zext i32 %164 to i64
%166 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 %165
%167 = load i8, ptr %166, align 1
%168 = zext i8 %167 to i32
%169 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %163, ptr noundef @.str.11, i32 noundef %168)
br label %170
170: ; preds = %162
%171 = load i32, ptr %7, align 4
%172 = add i32 %171, 1
store i32 %172, ptr %7, align 4
br label %157, !llvm.loop !8
173: ; preds = %157
%174 = load i32, ptr @stdout, align 4
%175 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %174, ptr noundef @.str.12)
store i32 0, ptr %7, align 4
br label %176
176: ; preds = %199, %173
%177 = load i32, ptr %7, align 4
%178 = zext i32 %177 to i64
%179 = load i64, ptr %10, align 8
%180 = icmp ult i64 %178, %179
br i1 %180, label %181, label %202
181: ; preds = %176
%182 = load i32, ptr @stdout, align 4
%183 = load i32, ptr %7, align 4
%184 = zext i32 %183 to i64
%185 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 %184
%186 = load i8, ptr %185, align 1
%187 = call i64 @isprint(i8 noundef zeroext %186)
%188 = icmp ne i64 %187, 0
br i1 %188, label %189, label %195
189: ; preds = %181
%190 = load i32, ptr %7, align 4
%191 = zext i32 %190 to i64
%192 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 %191
%193 = load i8, ptr %192, align 1
%194 = zext i8 %193 to i32
br label %196
195: ; preds = %181
br label %196
196: ; preds = %195, %189
%197 = phi i32 [ %194, %189 ], [ 46, %195 ]
%198 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %182, ptr noundef @.str.13, i32 noundef %197)
br label %199
199: ; preds = %196
%200 = load i32, ptr %7, align 4
%201 = add i32 %200, 1
store i32 %201, ptr %7, align 4
br label %176, !llvm.loop !9
202: ; preds = %176
%203 = load i32, ptr @stdout, align 4
%204 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %203, ptr noundef @.str.14)
br label %124, !llvm.loop !10
205: ; preds = %124
%206 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @atol(ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i64 @isprint(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" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0p0xmid4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [45 x i8] c"Usage: mdb-dump <filename> [<page number>]\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"0x\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"char %c\0A\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"page num %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"Couldn't open file %s\0A\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [6 x i8] c"%06lx\00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c"000\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c"800\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.9 = private unnamed_addr constant [24 x i8] c"-- Page 0x%04x (%d) --\0A\00", align 1
@.str.10 = private unnamed_addr constant [5 x i8] c"%s \00", align 1
@.str.11 = private unnamed_addr constant [6 x i8] c"%02x \00", align 1
@.str.12 = private unnamed_addr constant [4 x i8] c" |\00", align 1
@.str.13 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.14 = private unnamed_addr constant [3 x i8] c"|\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca [17 x i8], align 16
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i32, align 4
%12 = alloca [10 x i8], align 1
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 0, ptr %6, align 8
store i32 0, ptr %11, align 4
store i32 0, ptr %13, align 4
store i32 2048, ptr %14, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp slt i32 %15, 1
br i1 %16, label %17, label %21
17: ; preds = %2
%18 = load i32, ptr @stderr, align 4
%19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str)
%20 = call i32 @exit(i32 noundef 1) #3
unreachable
21: ; preds = %2
%22 = load i32, ptr %4, align 4
%23 = icmp sgt i32 %22, 2
br i1 %23, label %24, label %95
24: ; preds = %21
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 2
%27 = load ptr, ptr %26, align 8
%28 = call i32 @strncmp(ptr noundef %27, ptr noundef @.str.1, i32 noundef 2)
%29 = icmp ne i32 %28, 0
br i1 %29, label %89, label %30
30: ; preds = %24
store i64 2, ptr %6, align 8
%31 = load i64, ptr %6, align 8
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 2
%34 = load ptr, ptr %33, align 8
%35 = call i64 @strlen(ptr noundef %34)
%36 = icmp ult i64 %31, %35
br i1 %36, label %.lr.ph, label %88
.lr.ph: ; preds = %30
br label %37
37: ; preds = %.lr.ph, %79
%38 = load i32, ptr %11, align 4
%39 = mul nsw i32 %38, 16
store i32 %39, ptr %11, align 4
%40 = load ptr, ptr %5, align 8
%41 = getelementptr inbounds ptr, ptr %40, i64 2
%42 = load ptr, ptr %41, align 8
%43 = load i64, ptr %6, align 8
%44 = getelementptr inbounds i8, ptr %42, i64 %43
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = call i32 @printf(ptr noundef @.str.2, i32 noundef %46)
%48 = load ptr, ptr %5, align 8
%49 = getelementptr inbounds ptr, ptr %48, i64 2
%50 = load ptr, ptr %49, align 8
%51 = load i64, ptr %6, align 8
%52 = getelementptr inbounds i8, ptr %50, i64 %51
%53 = load i8, ptr %52, align 1
%54 = sext i8 %53 to i32
%55 = icmp sgt i32 %54, 57
br i1 %55, label %56, label %66
56: ; preds = %37
%57 = load ptr, ptr %5, align 8
%58 = getelementptr inbounds ptr, ptr %57, i64 2
%59 = load ptr, ptr %58, align 8
%60 = load i64, ptr %6, align 8
%61 = getelementptr inbounds i8, ptr %59, i64 %60
%62 = load i8, ptr %61, align 1
%63 = sext i8 %62 to i32
%64 = sub nsw i32 %63, 97
%65 = add nsw i32 %64, 10
br label %75
66: ; preds = %37
%67 = load ptr, ptr %5, align 8
%68 = getelementptr inbounds ptr, ptr %67, i64 2
%69 = load ptr, ptr %68, align 8
%70 = load i64, ptr %6, align 8
%71 = getelementptr inbounds i8, ptr %69, i64 %70
%72 = load i8, ptr %71, align 1
%73 = sext i8 %72 to i32
%74 = sub nsw i32 %73, 48
br label %75
75: ; preds = %66, %56
%76 = phi i32 [ %65, %56 ], [ %74, %66 ]
%77 = load i32, ptr %11, align 4
%78 = add nsw i32 %77, %76
store i32 %78, ptr %11, align 4
br label %79
79: ; preds = %75
%80 = load i64, ptr %6, align 8
%81 = add i64 %80, 1
store i64 %81, ptr %6, align 8
%82 = load i64, ptr %6, align 8
%83 = load ptr, ptr %5, align 8
%84 = getelementptr inbounds ptr, ptr %83, i64 2
%85 = load ptr, ptr %84, align 8
%86 = call i64 @strlen(ptr noundef %85)
%87 = icmp ult i64 %82, %86
br i1 %87, label %37, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %79
br label %88
88: ; preds = %._crit_edge, %30
br label %94
89: ; preds = %24
%90 = load ptr, ptr %5, align 8
%91 = getelementptr inbounds ptr, ptr %90, i64 2
%92 = load ptr, ptr %91, align 8
%93 = call i32 @atol(ptr noundef %92)
store i32 %93, ptr %11, align 4
br label %94
94: ; preds = %89, %88
br label %95
95: ; preds = %94, %21
%96 = load i32, ptr %11, align 4
%97 = call i32 @printf(ptr noundef @.str.3, i32 noundef %96)
%98 = load ptr, ptr %5, align 8
%99 = getelementptr inbounds ptr, ptr %98, i64 1
%100 = load ptr, ptr %99, align 8
%101 = call ptr @fopen(ptr noundef %100, ptr noundef @.str.4)
store ptr %101, ptr %9, align 8
%102 = icmp eq ptr %101, null
br i1 %102, label %103, label %110
103: ; preds = %95
%104 = load i32, ptr @stderr, align 4
%105 = load ptr, ptr %5, align 8
%106 = getelementptr inbounds ptr, ptr %105, i64 1
%107 = load ptr, ptr %106, align 8
%108 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %104, ptr noundef @.str.5, ptr noundef %107)
%109 = call i32 @exit(i32 noundef 1) #3
unreachable
110: ; preds = %95
%111 = load ptr, ptr %9, align 8
%112 = load i32, ptr @SEEK_SET, align 4
%113 = call i32 @fseek(ptr noundef %111, i32 noundef 20, i32 noundef %112)
%114 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 0
%115 = load ptr, ptr %9, align 8
%116 = call i64 @fread(ptr noundef %114, i32 noundef 1, i32 noundef 1, ptr noundef %115)
%117 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 0
%118 = load i8, ptr %117, align 16
%119 = zext i8 %118 to i32
%120 = icmp eq i32 %119, 1
br i1 %120, label %121, label %122
121: ; preds = %110
store i32 1, ptr %13, align 4
store i32 4096, ptr %14, align 4
br label %122
122: ; preds = %121, %110
%123 = load ptr, ptr %9, align 8
%124 = load i32, ptr %11, align 4
%125 = load i32, ptr %14, align 4
%126 = mul nsw i32 %124, %125
%127 = load i32, ptr @SEEK_SET, align 4
%128 = call i32 @fseek(ptr noundef %123, i32 noundef %126, i32 noundef %127)
store i64 0, ptr %6, align 8
%129 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 0
%130 = load ptr, ptr %9, align 8
%131 = call i64 @fread(ptr noundef %129, i32 noundef 1, i32 noundef 16, ptr noundef %130)
store i64 %131, ptr %10, align 8
%132 = icmp ne i64 %131, 0
br i1 %132, label %.lr.ph8, label %218
.lr.ph8: ; preds = %122
br label %133
133: ; preds = %.lr.ph8, %212
%134 = getelementptr inbounds [10 x i8], ptr %12, i64 0, i64 0
%135 = load i64, ptr %6, align 8
%136 = call i32 @sprintf(ptr noundef %134, ptr noundef @.str.6, i64 noundef %135)
%137 = getelementptr inbounds [10 x i8], ptr %12, i64 0, i64 3
%138 = call i32 @strcmp(ptr noundef %137, ptr noundef @.str.7)
%139 = icmp ne i32 %138, 0
br i1 %139, label %140, label %147
140: ; preds = %133
%141 = load i32, ptr %13, align 4
%142 = icmp ne i32 %141, 0
br i1 %142, label %154, label %143
143: ; preds = %140
%144 = getelementptr inbounds [10 x i8], ptr %12, i64 0, i64 3
%145 = call i32 @strcmp(ptr noundef %144, ptr noundef @.str.8)
%146 = icmp ne i32 %145, 0
br i1 %146, label %154, label %147
147: ; preds = %143, %133
%148 = load i32, ptr @stdout, align 4
%149 = load i32, ptr %11, align 4
%150 = load i32, ptr %11, align 4
%151 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %148, ptr noundef @.str.9, i32 noundef %149, i32 noundef %150)
%152 = load i32, ptr %11, align 4
%153 = add nsw i32 %152, 1
store i32 %153, ptr %11, align 4
br label %154
154: ; preds = %147, %143, %140
%155 = load i32, ptr @stdout, align 4
%156 = getelementptr inbounds [10 x i8], ptr %12, i64 0, i64 0
%157 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %155, ptr noundef @.str.10, ptr noundef %156)
%158 = load i64, ptr %10, align 8
%159 = load i64, ptr %6, align 8
%160 = add i64 %159, %158
store i64 %160, ptr %6, align 8
store i32 0, ptr %7, align 4
%161 = load i32, ptr %7, align 4
%162 = zext i32 %161 to i64
%163 = load i64, ptr %10, align 8
%164 = icmp ult i64 %162, %163
br i1 %164, label %.lr.ph2, label %180
.lr.ph2: ; preds = %154
br label %165
165: ; preds = %.lr.ph2, %173
%166 = load i32, ptr @stdout, align 4
%167 = load i32, ptr %7, align 4
%168 = zext i32 %167 to i64
%169 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 %168
%170 = load i8, ptr %169, align 1
%171 = zext i8 %170 to i32
%172 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %166, ptr noundef @.str.11, i32 noundef %171)
br label %173
173: ; preds = %165
%174 = load i32, ptr %7, align 4
%175 = add i32 %174, 1
store i32 %175, ptr %7, align 4
%176 = load i32, ptr %7, align 4
%177 = zext i32 %176 to i64
%178 = load i64, ptr %10, align 8
%179 = icmp ult i64 %177, %178
br i1 %179, label %165, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %173
br label %180
180: ; preds = %._crit_edge3, %154
%181 = load i32, ptr @stdout, align 4
%182 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %181, ptr noundef @.str.12)
store i32 0, ptr %7, align 4
%183 = load i32, ptr %7, align 4
%184 = zext i32 %183 to i64
%185 = load i64, ptr %10, align 8
%186 = icmp ult i64 %184, %185
br i1 %186, label %.lr.ph5, label %212
.lr.ph5: ; preds = %180
br label %187
187: ; preds = %.lr.ph5, %205
%188 = load i32, ptr @stdout, align 4
%189 = load i32, ptr %7, align 4
%190 = zext i32 %189 to i64
%191 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 %190
%192 = load i8, ptr %191, align 1
%193 = call i64 @isprint(i8 noundef zeroext %192)
%194 = icmp ne i64 %193, 0
br i1 %194, label %195, label %201
195: ; preds = %187
%196 = load i32, ptr %7, align 4
%197 = zext i32 %196 to i64
%198 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 %197
%199 = load i8, ptr %198, align 1
%200 = zext i8 %199 to i32
br label %202
201: ; preds = %187
br label %202
202: ; preds = %201, %195
%203 = phi i32 [ %200, %195 ], [ 46, %201 ]
%204 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %188, ptr noundef @.str.13, i32 noundef %203)
br label %205
205: ; preds = %202
%206 = load i32, ptr %7, align 4
%207 = add i32 %206, 1
store i32 %207, ptr %7, align 4
%208 = load i32, ptr %7, align 4
%209 = zext i32 %208 to i64
%210 = load i64, ptr %10, align 8
%211 = icmp ult i64 %209, %210
br i1 %211, label %187, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %205
br label %212
212: ; preds = %._crit_edge6, %180
%213 = load i32, ptr @stdout, align 4
%214 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %213, ptr noundef @.str.14)
%215 = load ptr, ptr %9, align 8
%216 = call i64 @fread(ptr noundef %129, i32 noundef 1, i32 noundef 16, ptr noundef %215)
store i64 %216, ptr %10, align 8
%217 = icmp ne i64 %216, 0
br i1 %217, label %133, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %212
br label %218
218: ; preds = %._crit_edge9, %122
%219 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @atol(ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i64 @isprint(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" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpn5ma2tav.c'
source_filename = "/tmp/tmpn5ma2tav.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LC_ALL = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @intl_init() #0 {
%1 = load i32, ptr @LC_ALL, align 4
%2 = call i32 @setlocale(i32 noundef %1, ptr noundef @.str)
ret void
}
declare i32 @setlocale(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/tmpn5ma2tav.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LC_ALL = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @intl_init() #0 {
%1 = load i32, ptr @LC_ALL, align 4
%2 = call i32 @setlocale(i32 noundef %1, ptr noundef @.str)
ret void
}
declare i32 @setlocale(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/tmptky1rgdn.c'
source_filename = "/tmp/tmptky1rgdn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sapi_insert_sort(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 1, ptr %5, align 4
br label %8
8: ; preds = %55, %2
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %4, align 4
%11 = sub nsw i32 %10, 1
%12 = icmp slt i32 %9, %11
br i1 %12, label %13, label %58
13: ; preds = %8
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %5, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i32, ptr %14, i64 %16
%18 = load i32, ptr %17, align 4
store i32 %18, ptr %7, align 4
%19 = load i32, ptr %5, align 4
%20 = sub nsw i32 %19, 1
store i32 %20, ptr %6, align 4
br label %21
21: ; preds = %45, %13
%22 = load i32, ptr %6, align 4
%23 = icmp sge i32 %22, 0
br i1 %23, label %24, label %32
24: ; preds = %21
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %6, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i32, ptr %25, i64 %27
%29 = load i32, ptr %28, align 4
%30 = load i32, ptr %7, align 4
%31 = icmp sgt i32 %29, %30
br label %32
32: ; preds = %24, %21
%33 = phi i1 [ false, %21 ], [ %31, %24 ]
br i1 %33, label %34, label %48
34: ; preds = %32
%35 = load ptr, ptr %3, align 8
%36 = load i32, ptr %6, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %35, i64 %37
%39 = load i32, ptr %38, align 4
%40 = load ptr, ptr %3, align 8
%41 = load i32, ptr %6, align 4
%42 = add nsw i32 %41, 1
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i32, ptr %40, i64 %43
store i32 %39, ptr %44, align 4
br label %45
45: ; preds = %34
%46 = load i32, ptr %6, align 4
%47 = add nsw i32 %46, -1
store i32 %47, ptr %6, align 4
br label %21, !llvm.loop !6
48: ; preds = %32
%49 = load i32, ptr %7, align 4
%50 = load ptr, ptr %3, align 8
%51 = load i32, ptr %6, align 4
%52 = add nsw i32 %51, 1
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i32, ptr %50, i64 %53
store i32 %49, ptr %54, align 4
br label %55
55: ; preds = %48
%56 = load i32, ptr %5, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %5, align 4
br label %8, !llvm.loop !8
58: ; preds = %8
%59 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptky1rgdn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sapi_insert_sort(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 1, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = sub nsw i32 %9, 1
%11 = icmp slt i32 %8, %10
br i1 %11, label %.lr.ph, label %61
.lr.ph: ; preds = %2
br label %12
12: ; preds = %.lr.ph, %54
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i32, ptr %13, i64 %15
%17 = load i32, ptr %16, align 4
store i32 %17, ptr %7, align 4
%18 = load i32, ptr %5, align 4
%19 = sub nsw i32 %18, 1
store i32 %19, ptr %6, align 4
br label %20
20: ; preds = %44, %12
%21 = load i32, ptr %6, align 4
%22 = icmp sge i32 %21, 0
br i1 %22, label %23, label %31
23: ; preds = %20
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr %6, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %24, i64 %26
%28 = load i32, ptr %27, align 4
%29 = load i32, ptr %7, align 4
%30 = icmp sgt i32 %28, %29
br label %31
31: ; preds = %23, %20
%32 = phi i1 [ false, %20 ], [ %30, %23 ]
br i1 %32, label %33, label %47
33: ; preds = %31
%34 = load ptr, ptr %3, align 8
%35 = load i32, ptr %6, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %34, i64 %36
%38 = load i32, ptr %37, align 4
%39 = load ptr, ptr %3, align 8
%40 = load i32, ptr %6, align 4
%41 = add nsw i32 %40, 1
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i32, ptr %39, i64 %42
store i32 %38, ptr %43, align 4
br label %44
44: ; preds = %33
%45 = load i32, ptr %6, align 4
%46 = add nsw i32 %45, -1
store i32 %46, ptr %6, align 4
br label %20, !llvm.loop !6
47: ; preds = %31
%48 = load i32, ptr %7, align 4
%49 = load ptr, ptr %3, align 8
%50 = load i32, ptr %6, align 4
%51 = add nsw i32 %50, 1
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i32, ptr %49, i64 %52
store i32 %48, ptr %53, align 4
br label %54
54: ; preds = %47
%55 = load i32, ptr %5, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %5, align 4
%57 = load i32, ptr %5, align 4
%58 = load i32, ptr %4, align 4
%59 = sub nsw i32 %58, 1
%60 = icmp slt i32 %57, %59
br i1 %60, label %12, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %54
br label %61
61: ; preds = %._crit_edge, %2
%62 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp2nm50dkc.c'
source_filename = "/tmp/tmp2nm50dkc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"Wrong parameters\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @badusage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @usage(ptr noundef %5)
ret i32 1
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @usage(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2nm50dkc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"Wrong parameters\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @badusage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @usage(ptr noundef %5)
ret i32 1
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @usage(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbaai31f0.c'
source_filename = "/tmp/tmpbaai31f0.c"
target datalayout = "e-m:e-p270: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/tmpbaai31f0.c"
target datalayout = "e-m:e-p270: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/tmpd0go5a8_.c'
source_filename = "/tmp/tmpd0go5a8_.c"
target datalayout = "e-m:e-p270: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/tmpd0go5a8_.c"
target datalayout = "e-m:e-p270: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/tmpgszl11yg.c'
source_filename = "/tmp/tmpgszl11yg.c"
target datalayout = "e-m:e-p270: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/tmpgszl11yg.c"
target datalayout = "e-m:e-p270: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/tmptsdiwqvf.c'
source_filename = "/tmp/tmptsdiwqvf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"Usage: %s <source> <destination>\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [43 x i8] c"couldn't open first source %s for writing\0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.4 = private unnamed_addr constant [43 x i8] c"couldn't open destination %s for writing\0A\00", align 1
@EOF = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [26 x i8] c"unexpected end at char 4\0A\00", align 1
@.str.6 = private unnamed_addr constant [26 x i8] c"unexpected end at char 3\0A\00", align 1
@.str.7 = private unnamed_addr constant [26 x i8] c"unexpected end at char 2\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%12 = load i32, ptr %3, align 4
%13 = icmp slt i32 %12, 3
br i1 %13, label %14, label %19
14: ; preds = %2
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 0
%17 = load ptr, ptr %16, align 8
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %17)
br label %120
19: ; preds = %2
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 1
%22 = load ptr, ptr %21, align 8
%23 = call ptr @fopen(ptr noundef %22, ptr noundef @.str.1)
store ptr %23, ptr %5, align 8
%24 = icmp eq ptr %23, null
br i1 %24, label %25, label %30
25: ; preds = %19
%26 = load ptr, ptr %4, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
%28 = load ptr, ptr %27, align 8
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %28)
br label %120
30: ; preds = %19
%31 = load ptr, ptr %4, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 2
%33 = load ptr, ptr %32, align 8
%34 = call ptr @fopen(ptr noundef %33, ptr noundef @.str.3)
store ptr %34, ptr %6, align 8
%35 = icmp eq ptr %34, null
br i1 %35, label %36, label %41
36: ; preds = %30
%37 = load ptr, ptr %4, align 8
%38 = getelementptr inbounds ptr, ptr %37, i64 2
%39 = load ptr, ptr %38, align 8
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %39)
br label %120
41: ; preds = %30
store i32 0, ptr %11, align 4
%42 = load ptr, ptr %6, align 8
%43 = call i32 @fputc(i8 noundef signext 32, ptr noundef %42)
%44 = load ptr, ptr %6, align 8
%45 = call i32 @fputc(i8 noundef signext 32, ptr noundef %44)
%46 = load ptr, ptr %6, align 8
%47 = call i32 @fputc(i8 noundef signext 32, ptr noundef %46)
%48 = load ptr, ptr %6, align 8
%49 = call i32 @fputc(i8 noundef signext 32, ptr noundef %48)
br label %50
50: ; preds = %119, %41
%51 = load ptr, ptr %5, align 8
%52 = call i32 @fgetc(ptr noundef %51)
store i32 %52, ptr %7, align 4
%53 = load i32, ptr @EOF, align 4
%54 = icmp ne i32 %52, %53
br i1 %54, label %55, label %120
55: ; preds = %50
%56 = load ptr, ptr %5, align 8
%57 = call i32 @fgetc(ptr noundef %56)
store i32 %57, ptr %8, align 4
%58 = load i32, ptr @EOF, align 4
%59 = icmp ne i32 %57, %58
br i1 %59, label %60, label %77
60: ; preds = %55
%61 = load ptr, ptr %5, align 8
%62 = call i32 @fgetc(ptr noundef %61)
store i32 %62, ptr %9, align 4
%63 = load i32, ptr @EOF, align 4
%64 = icmp ne i32 %62, %63
br i1 %64, label %65, label %74
65: ; preds = %60
%66 = load ptr, ptr %5, align 8
%67 = call i32 @fgetc(ptr noundef %66)
store i32 %67, ptr %10, align 4
%68 = load i32, ptr @EOF, align 4
%69 = icmp ne i32 %67, %68
br i1 %69, label %70, label %71
70: ; preds = %65
br label %73
71: ; preds = %65
%72 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %120
73: ; preds = %70
br label %76
74: ; preds = %60
%75 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %120
76: ; preds = %73
br label %79
77: ; preds = %55
%78 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
br label %120
79: ; preds = %76
%80 = load ptr, ptr %6, align 8
%81 = call i32 @fputc(i8 noundef signext 48, ptr noundef %80)
%82 = load ptr, ptr %6, align 8
%83 = call i32 @fputc(i8 noundef signext 120, ptr noundef %82)
%84 = load i32, ptr %9, align 4
%85 = trunc i32 %84 to i8
%86 = load ptr, ptr %6, align 8
%87 = call i32 @fputc(i8 noundef signext %85, ptr noundef %86)
%88 = load i32, ptr %10, align 4
%89 = trunc i32 %88 to i8
%90 = load ptr, ptr %6, align 8
%91 = call i32 @fputc(i8 noundef signext %89, ptr noundef %90)
%92 = load i32, ptr %7, align 4
%93 = trunc i32 %92 to i8
%94 = load ptr, ptr %6, align 8
%95 = call i32 @fputc(i8 noundef signext %93, ptr noundef %94)
%96 = load i32, ptr %8, align 4
%97 = trunc i32 %96 to i8
%98 = load ptr, ptr %6, align 8
%99 = call i32 @fputc(i8 noundef signext %97, ptr noundef %98)
%100 = load ptr, ptr %6, align 8
%101 = call i32 @fputc(i8 noundef signext 44, ptr noundef %100)
%102 = load ptr, ptr %6, align 8
%103 = call i32 @fputc(i8 noundef signext 32, ptr noundef %102)
%104 = load i32, ptr %11, align 4
%105 = add nsw i32 %104, 1
store i32 %105, ptr %11, align 4
%106 = load i32, ptr %11, align 4
%107 = icmp sge i32 %106, 10
br i1 %107, label %108, label %119
108: ; preds = %79
store i32 0, ptr %11, align 4
%109 = load ptr, ptr %6, align 8
%110 = call i32 @fputc(i8 noundef signext 10, ptr noundef %109)
%111 = load ptr, ptr %6, align 8
%112 = call i32 @fputc(i8 noundef signext 32, ptr noundef %111)
%113 = load ptr, ptr %6, align 8
%114 = call i32 @fputc(i8 noundef signext 32, ptr noundef %113)
%115 = load ptr, ptr %6, align 8
%116 = call i32 @fputc(i8 noundef signext 32, ptr noundef %115)
%117 = load ptr, ptr %6, align 8
%118 = call i32 @fputc(i8 noundef signext 32, ptr noundef %117)
br label %119
119: ; preds = %108, %79
br label %50, !llvm.loop !6
120: ; preds = %14, %25, %36, %77, %74, %71, %50
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fputc(i8 noundef signext, ptr noundef) #1
declare i32 @fgetc(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmptsdiwqvf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"Usage: %s <source> <destination>\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [43 x i8] c"couldn't open first source %s for writing\0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.4 = private unnamed_addr constant [43 x i8] c"couldn't open destination %s for writing\0A\00", align 1
@EOF = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [26 x i8] c"unexpected end at char 4\0A\00", align 1
@.str.6 = private unnamed_addr constant [26 x i8] c"unexpected end at char 3\0A\00", align 1
@.str.7 = private unnamed_addr constant [26 x i8] c"unexpected end at char 2\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%12 = load i32, ptr %3, align 4
%13 = icmp slt i32 %12, 3
br i1 %13, label %14, label %19
14: ; preds = %2
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 0
%17 = load ptr, ptr %16, align 8
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %17)
br label %123
19: ; preds = %2
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 1
%22 = load ptr, ptr %21, align 8
%23 = call ptr @fopen(ptr noundef %22, ptr noundef @.str.1)
store ptr %23, ptr %5, align 8
%24 = icmp eq ptr %23, null
br i1 %24, label %25, label %30
25: ; preds = %19
%26 = load ptr, ptr %4, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
%28 = load ptr, ptr %27, align 8
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %28)
br label %123
30: ; preds = %19
%31 = load ptr, ptr %4, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 2
%33 = load ptr, ptr %32, align 8
%34 = call ptr @fopen(ptr noundef %33, ptr noundef @.str.3)
store ptr %34, ptr %6, align 8
%35 = icmp eq ptr %34, null
br i1 %35, label %36, label %41
36: ; preds = %30
%37 = load ptr, ptr %4, align 8
%38 = getelementptr inbounds ptr, ptr %37, i64 2
%39 = load ptr, ptr %38, align 8
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %39)
br label %123
41: ; preds = %30
store i32 0, ptr %11, align 4
%42 = load ptr, ptr %6, align 8
%43 = call i32 @fputc(i8 noundef signext 32, ptr noundef %42)
%44 = load ptr, ptr %6, align 8
%45 = call i32 @fputc(i8 noundef signext 32, ptr noundef %44)
%46 = load ptr, ptr %6, align 8
%47 = call i32 @fputc(i8 noundef signext 32, ptr noundef %46)
%48 = load ptr, ptr %6, align 8
%49 = call i32 @fputc(i8 noundef signext 32, ptr noundef %48)
%50 = load ptr, ptr %5, align 8
%51 = call i32 @fgetc(ptr noundef %50)
store i32 %51, ptr %7, align 4
%52 = load i32, ptr @EOF, align 4
%53 = icmp ne i32 %51, %52
br i1 %53, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %41
br label %54
54: ; preds = %.lr.ph, %118
%55 = load ptr, ptr %5, align 8
%56 = call i32 @fgetc(ptr noundef %55)
store i32 %56, ptr %8, align 4
%57 = load i32, ptr @EOF, align 4
%58 = icmp ne i32 %56, %57
br i1 %58, label %59, label %76
59: ; preds = %54
%60 = load ptr, ptr %5, align 8
%61 = call i32 @fgetc(ptr noundef %60)
store i32 %61, ptr %9, align 4
%62 = load i32, ptr @EOF, align 4
%63 = icmp ne i32 %61, %62
br i1 %63, label %64, label %73
64: ; preds = %59
%65 = load ptr, ptr %5, align 8
%66 = call i32 @fgetc(ptr noundef %65)
store i32 %66, ptr %10, align 4
%67 = load i32, ptr @EOF, align 4
%68 = icmp ne i32 %66, %67
br i1 %68, label %69, label %70
69: ; preds = %64
br label %72
70: ; preds = %64
%71 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %123
72: ; preds = %69
br label %75
73: ; preds = %59
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %123
75: ; preds = %72
br label %78
76: ; preds = %54
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
br label %123
78: ; preds = %75
%79 = load ptr, ptr %6, align 8
%80 = call i32 @fputc(i8 noundef signext 48, ptr noundef %79)
%81 = load ptr, ptr %6, align 8
%82 = call i32 @fputc(i8 noundef signext 120, ptr noundef %81)
%83 = load i32, ptr %9, align 4
%84 = trunc i32 %83 to i8
%85 = load ptr, ptr %6, align 8
%86 = call i32 @fputc(i8 noundef signext %84, ptr noundef %85)
%87 = load i32, ptr %10, align 4
%88 = trunc i32 %87 to i8
%89 = load ptr, ptr %6, align 8
%90 = call i32 @fputc(i8 noundef signext %88, ptr noundef %89)
%91 = load i32, ptr %7, align 4
%92 = trunc i32 %91 to i8
%93 = load ptr, ptr %6, align 8
%94 = call i32 @fputc(i8 noundef signext %92, ptr noundef %93)
%95 = load i32, ptr %8, align 4
%96 = trunc i32 %95 to i8
%97 = load ptr, ptr %6, align 8
%98 = call i32 @fputc(i8 noundef signext %96, ptr noundef %97)
%99 = load ptr, ptr %6, align 8
%100 = call i32 @fputc(i8 noundef signext 44, ptr noundef %99)
%101 = load ptr, ptr %6, align 8
%102 = call i32 @fputc(i8 noundef signext 32, ptr noundef %101)
%103 = load i32, ptr %11, align 4
%104 = add nsw i32 %103, 1
store i32 %104, ptr %11, align 4
%105 = load i32, ptr %11, align 4
%106 = icmp sge i32 %105, 10
br i1 %106, label %107, label %118
107: ; preds = %78
store i32 0, ptr %11, align 4
%108 = load ptr, ptr %6, align 8
%109 = call i32 @fputc(i8 noundef signext 10, ptr noundef %108)
%110 = load ptr, ptr %6, align 8
%111 = call i32 @fputc(i8 noundef signext 32, ptr noundef %110)
%112 = load ptr, ptr %6, align 8
%113 = call i32 @fputc(i8 noundef signext 32, ptr noundef %112)
%114 = load ptr, ptr %6, align 8
%115 = call i32 @fputc(i8 noundef signext 32, ptr noundef %114)
%116 = load ptr, ptr %6, align 8
%117 = call i32 @fputc(i8 noundef signext 32, ptr noundef %116)
br label %118
118: ; preds = %107, %78
%119 = load ptr, ptr %5, align 8
%120 = call i32 @fgetc(ptr noundef %119)
store i32 %120, ptr %7, align 4
%121 = load i32, ptr @EOF, align 4
%122 = icmp ne i32 %120, %121
br i1 %122, label %54, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %118
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %41
br label %123
123: ; preds = %.loopexit, %76, %73, %70, %36, %25, %14
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fputc(i8 noundef signext, ptr noundef) #1
declare i32 @fgetc(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpepd627yu.c'
source_filename = "/tmp/tmpepd627yu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Error on calloc\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call ptr @calloc(i32 noundef 50, i32 noundef 4)
store ptr %7, ptr %6, align 8
%8 = load ptr, ptr %6, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %14
10: ; preds = %2
%11 = call i32 @perror(ptr noundef @.str)
%12 = load i32, ptr @EXIT_FAILURE, align 4
%13 = call i32 @exit(i32 noundef %12) #3
unreachable
14: ; preds = %2
%15 = load ptr, ptr %6, align 8
%16 = call i32 @free(ptr noundef %15)
br label %17
17: ; preds = %14
%18 = load i32, ptr @EXIT_SUCCESS, align 4
%19 = call i32 @exit(i32 noundef %18) #3
unreachable
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
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" }
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/tmpepd627yu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Error on calloc\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call ptr @calloc(i32 noundef 50, i32 noundef 4)
store ptr %7, ptr %6, align 8
%8 = load ptr, ptr %6, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %14
10: ; preds = %2
%11 = call i32 @perror(ptr noundef @.str)
%12 = load i32, ptr @EXIT_FAILURE, align 4
%13 = call i32 @exit(i32 noundef %12) #3
unreachable
14: ; preds = %2
%15 = load ptr, ptr %6, align 8
%16 = call i32 @free(ptr noundef %15)
br label %17
17: ; preds = %14
%18 = load i32, ptr @EXIT_SUCCESS, align 4
%19 = call i32 @exit(i32 noundef %18) #3
unreachable
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
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" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_9jhurai.c'
source_filename = "/tmp/tmp_9jhurai.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @basic_cs_main() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @start_event_task_thread()
%3 = call i32 (...) @register_modules()
%4 = load i32, ptr %1, align 4
ret i32 %4
}
declare i32 @start_event_task_thread(...) #1
declare i32 @register_modules(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!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_9jhurai.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @basic_cs_main() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @start_event_task_thread()
%3 = call i32 (...) @register_modules()
%4 = load i32, ptr %1, align 4
ret i32 %4
}
declare i32 @start_event_task_thread(...) #1
declare i32 @register_modules(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnj8pmgle.c'
source_filename = "/tmp/tmpnj8pmgle.c"
target datalayout = "e-m:e-p270: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/tmpnj8pmgle.c"
target datalayout = "e-m:e-p270: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/tmpbky67kgj.c'
source_filename = "/tmp/tmpbky67kgj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @diffPlaneToFiniteCyl1(double noundef %0, double noundef %1, double noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
store double %2, ptr %6, align 8
%13 = load double, ptr %5, align 8
%14 = load double, ptr %4, align 8
%15 = fdiv double %13, %14
store double %15, ptr %7, align 8
%16 = load double, ptr %6, align 8
%17 = load double, ptr %4, align 8
%18 = fdiv double %16, %17
store double %18, ptr %8, align 8
%19 = load double, ptr %8, align 8
%20 = fsub double %19, 1.000000e+00
store double %20, ptr %9, align 8
%21 = load double, ptr %8, align 8
%22 = fadd double %21, 1.000000e+00
store double %22, ptr %10, align 8
%23 = load double, ptr %10, align 8
%24 = load double, ptr %10, align 8
%25 = load double, ptr %7, align 8
%26 = load double, ptr %7, align 8
%27 = fmul double %25, %26
%28 = call double @llvm.fmuladd.f64(double %23, double %24, double %27)
store double %28, ptr %11, align 8
%29 = load double, ptr %9, align 8
%30 = load double, ptr %9, align 8
%31 = load double, ptr %7, align 8
%32 = load double, ptr %7, align 8
%33 = fmul double %31, %32
%34 = call double @llvm.fmuladd.f64(double %29, double %30, double %33)
store double %34, ptr %12, align 8
%35 = load double, ptr %7, align 8
%36 = load double, ptr %10, align 8
%37 = load double, ptr %9, align 8
%38 = fmul double %36, %37
%39 = call double @sqrt(double noundef %38) #3
%40 = fdiv double %35, %39
%41 = call double @atan(double noundef %40) #3
%42 = load double, ptr %8, align 8
%43 = fdiv double %41, %42
%44 = load double, ptr %7, align 8
%45 = load double, ptr %11, align 8
%46 = load double, ptr %8, align 8
%47 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %46, double %45)
%48 = load double, ptr %11, align 8
%49 = load double, ptr %9, align 8
%50 = fmul double %48, %49
%51 = load double, ptr %12, align 8
%52 = load double, ptr %10, align 8
%53 = fmul double %51, %52
%54 = fdiv double %50, %53
%55 = call double @sqrt(double noundef %54) #3
%56 = call double @atan(double noundef %55) #3
%57 = fmul double %47, %56
%58 = load double, ptr %8, align 8
%59 = load double, ptr %11, align 8
%60 = load double, ptr %12, align 8
%61 = fmul double %59, %60
%62 = call double @sqrt(double noundef %61) #3
%63 = fmul double %58, %62
%64 = fdiv double %57, %63
%65 = load double, ptr %9, align 8
%66 = load double, ptr %10, align 8
%67 = fdiv double %65, %66
%68 = call double @sqrt(double noundef %67) #3
%69 = call double @atan(double noundef %68) #3
%70 = load double, ptr %8, align 8
%71 = fdiv double %69, %70
%72 = fsub double %64, %71
%73 = call double @llvm.fmuladd.f64(double %44, double %72, double %43)
%74 = load double, ptr @M_PI, align 8
%75 = fdiv double %73, %74
ret double %75
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @atan(double noundef) #2
; Function Attrs: nounwind
declare double @sqrt(double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { 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 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbky67kgj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @diffPlaneToFiniteCyl1(double noundef %0, double noundef %1, double noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
store double %2, ptr %6, align 8
%13 = load double, ptr %5, align 8
%14 = load double, ptr %4, align 8
%15 = fdiv double %13, %14
store double %15, ptr %7, align 8
%16 = load double, ptr %6, align 8
%17 = load double, ptr %4, align 8
%18 = fdiv double %16, %17
store double %18, ptr %8, align 8
%19 = load double, ptr %8, align 8
%20 = fsub double %19, 1.000000e+00
store double %20, ptr %9, align 8
%21 = load double, ptr %8, align 8
%22 = fadd double %21, 1.000000e+00
store double %22, ptr %10, align 8
%23 = load double, ptr %10, align 8
%24 = load double, ptr %10, align 8
%25 = load double, ptr %7, align 8
%26 = load double, ptr %7, align 8
%27 = fmul double %25, %26
%28 = call double @llvm.fmuladd.f64(double %23, double %24, double %27)
store double %28, ptr %11, align 8
%29 = load double, ptr %9, align 8
%30 = load double, ptr %9, align 8
%31 = load double, ptr %7, align 8
%32 = load double, ptr %7, align 8
%33 = fmul double %31, %32
%34 = call double @llvm.fmuladd.f64(double %29, double %30, double %33)
store double %34, ptr %12, align 8
%35 = load double, ptr %7, align 8
%36 = load double, ptr %10, align 8
%37 = load double, ptr %9, align 8
%38 = fmul double %36, %37
%39 = call double @sqrt(double noundef %38) #3
%40 = fdiv double %35, %39
%41 = call double @atan(double noundef %40) #3
%42 = load double, ptr %8, align 8
%43 = fdiv double %41, %42
%44 = load double, ptr %7, align 8
%45 = load double, ptr %11, align 8
%46 = load double, ptr %8, align 8
%47 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %46, double %45)
%48 = load double, ptr %11, align 8
%49 = load double, ptr %9, align 8
%50 = fmul double %48, %49
%51 = load double, ptr %12, align 8
%52 = load double, ptr %10, align 8
%53 = fmul double %51, %52
%54 = fdiv double %50, %53
%55 = call double @sqrt(double noundef %54) #3
%56 = call double @atan(double noundef %55) #3
%57 = fmul double %47, %56
%58 = load double, ptr %8, align 8
%59 = load double, ptr %11, align 8
%60 = load double, ptr %12, align 8
%61 = fmul double %59, %60
%62 = call double @sqrt(double noundef %61) #3
%63 = fmul double %58, %62
%64 = fdiv double %57, %63
%65 = load double, ptr %9, align 8
%66 = load double, ptr %10, align 8
%67 = fdiv double %65, %66
%68 = call double @sqrt(double noundef %67) #3
%69 = call double @atan(double noundef %68) #3
%70 = load double, ptr %8, align 8
%71 = fdiv double %69, %70
%72 = fsub double %64, %71
%73 = call double @llvm.fmuladd.f64(double %44, double %72, double %43)
%74 = load double, ptr @M_PI, align 8
%75 = fdiv double %73, %74
ret double %75
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @atan(double noundef) #2
; Function Attrs: nounwind
declare double @sqrt(double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { 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 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8d3mmyq1.c'
source_filename = "/tmp/tmp8d3mmyq1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @http_response_destroy(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 @destroy_response(ptr noundef %3)
ret void
}
declare i32 @destroy_response(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8d3mmyq1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @http_response_destroy(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 @destroy_response(ptr noundef %3)
ret void
}
declare i32 @destroy_response(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgjpvyl1s.c'
source_filename = "/tmp/tmpgjpvyl1s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sem_get(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = call i32 @semget(i32 noundef %5, i32 noundef 1, i32 noundef 493)
store i32 %6, ptr %4, align 4
%7 = icmp eq i32 %6, -1
br i1 %7, label %8, label %9
8: ; preds = %1
store i32 -1, ptr %2, align 4
br label %11
9: ; preds = %1
%10 = load i32, ptr %4, align 4
store i32 %10, ptr %2, align 4
br label %11
11: ; preds = %9, %8
%12 = load i32, ptr %2, align 4
ret i32 %12
}
declare i32 @semget(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/tmpgjpvyl1s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sem_get(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = call i32 @semget(i32 noundef %5, i32 noundef 1, i32 noundef 493)
store i32 %6, ptr %4, align 4
%7 = icmp eq i32 %6, -1
br i1 %7, label %8, label %9
8: ; preds = %1
store i32 -1, ptr %2, align 4
br label %11
9: ; preds = %1
%10 = load i32, ptr %4, align 4
store i32 %10, ptr %2, align 4
br label %11
11: ; preds = %9, %8
%12 = load i32, ptr %2, align 4
ret i32 %12
}
declare i32 @semget(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/tmpascuzgec.c'
source_filename = "/tmp/tmpascuzgec.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @boundary_trans(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = icmp eq i32 %5, 1
br i1 %6, label %7, label %12
7: ; preds = %2
%8 = load ptr, ptr %3, align 8
%9 = call i32 @boundary_fixed_horizon(ptr noundef %8)
%10 = load ptr, ptr %3, align 8
%11 = call i32 @boundary_fixed_rout(ptr noundef %10)
br label %21
12: ; preds = %2
%13 = load i32, ptr %4, align 4
%14 = icmp eq i32 %13, 2
br i1 %14, label %15, label %20
15: ; preds = %12
%16 = load ptr, ptr %3, align 8
%17 = call i32 @boundary_fixed_zbot(ptr noundef %16)
%18 = load ptr, ptr %3, align 8
%19 = call i32 @boundary_fixed_ztop(ptr noundef %18)
br label %20
20: ; preds = %15, %12
br label %21
21: ; preds = %20, %7
ret void
}
declare i32 @boundary_fixed_horizon(ptr noundef) #1
declare i32 @boundary_fixed_rout(ptr noundef) #1
declare i32 @boundary_fixed_zbot(ptr noundef) #1
declare i32 @boundary_fixed_ztop(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpascuzgec.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @boundary_trans(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = icmp eq i32 %5, 1
br i1 %6, label %7, label %12
7: ; preds = %2
%8 = load ptr, ptr %3, align 8
%9 = call i32 @boundary_fixed_horizon(ptr noundef %8)
%10 = load ptr, ptr %3, align 8
%11 = call i32 @boundary_fixed_rout(ptr noundef %10)
br label %21
12: ; preds = %2
%13 = load i32, ptr %4, align 4
%14 = icmp eq i32 %13, 2
br i1 %14, label %15, label %20
15: ; preds = %12
%16 = load ptr, ptr %3, align 8
%17 = call i32 @boundary_fixed_zbot(ptr noundef %16)
%18 = load ptr, ptr %3, align 8
%19 = call i32 @boundary_fixed_ztop(ptr noundef %18)
br label %20
20: ; preds = %15, %12
br label %21
21: ; preds = %20, %7
ret void
}
declare i32 @boundary_fixed_horizon(ptr noundef) #1
declare i32 @boundary_fixed_rout(ptr noundef) #1
declare i32 @boundary_fixed_zbot(ptr noundef) #1
declare i32 @boundary_fixed_ztop(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfb6u1tdn.c'
source_filename = "/tmp/tmpfb6u1tdn.c"
target datalayout = "e-m:e-p270: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/tmpfb6u1tdn.c"
target datalayout = "e-m:e-p270: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/tmpvp1g36k0.c'
source_filename = "/tmp/tmpvp1g36k0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Create1(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = sext i32 %3 to i64
%5 = mul i64 4, %4
%6 = trunc i64 %5 to i32
%7 = call i64 @malloc(i32 noundef %6)
%8 = inttoptr i64 %7 to ptr
ret ptr %8
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvp1g36k0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Create1(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = sext i32 %3 to i64
%5 = mul i64 4, %4
%6 = trunc i64 %5 to i32
%7 = call i64 @malloc(i32 noundef %6)
%8 = inttoptr i64 %7 to ptr
ret ptr %8
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpp4b3raf3.c'
source_filename = "/tmp/tmpp4b3raf3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Escolha o exerc\C3\ADcio:\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @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
switch i32 %5, label %6 [
]
6: ; preds = %0
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp4b3raf3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Escolha o exerc\C3\ADcio:\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @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
switch i32 %5, label %6 [
]
6: ; preds = %0
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpth0rcg5a.c'
source_filename = "/tmp/tmpth0rcg5a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@pa_keyword.key = internal global [18 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7, ptr @.str.8, ptr @.str.9, ptr @.str.10, ptr @.str.11, ptr @.str.12, ptr @.str.13, ptr @.str.14, ptr @.str.15, ptr @.str.16, ptr @.str.17], align 16
@.str = private unnamed_addr constant [6 x i8] c"break\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"case\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"cont\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"default\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"do\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"else\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"false\00", align 1
@.str.7 = private unnamed_addr constant [6 x i8] c"float\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c"for\00", align 1
@.str.9 = private unnamed_addr constant [5 x i8] c"func\00", align 1
@.str.10 = private unnamed_addr constant [3 x i8] c"if\00", align 1
@.str.11 = private unnamed_addr constant [4 x i8] c"int\00", align 1
@.str.12 = private unnamed_addr constant [5 x i8] c"null\00", align 1
@.str.13 = private unnamed_addr constant [5 x i8] c"prec\00", align 1
@.str.14 = private unnamed_addr constant [7 x i8] c"sortie\00", align 1
@.str.15 = private unnamed_addr constant [7 x i8] c"switch\00", align 1
@.str.16 = private unnamed_addr constant [5 x i8] c"true\00", align 1
@.str.17 = private unnamed_addr constant [6 x i8] c"while\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_keyword(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 i64, align 8
%9 = alloca i64, align 8
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 %6, align 4
%11 = load i32, ptr %7, align 4
%12 = add nsw i32 %10, %11
%13 = sdiv i32 %12, 2
%14 = sext i32 %13 to i64
store i64 %14, ptr %8, align 8
%15 = load i64, ptr %8, align 8
%16 = getelementptr inbounds [18 x ptr], ptr @pa_keyword.key, i64 0, i64 %15
%17 = load ptr, ptr %16, align 8
%18 = load ptr, ptr %5, align 8
%19 = call i64 @wrdcmp(ptr noundef %17, ptr noundef %18)
store i64 %19, ptr %9, align 8
%20 = load i64, ptr %9, align 8
%21 = icmp ne i64 %20, 0
br i1 %21, label %23, label %22
22: ; preds = %3
store i32 1, ptr %4, align 4
br label %54
23: ; preds = %3
%24 = load i32, ptr %6, align 4
%25 = load i32, ptr %7, align 4
%26 = icmp eq i32 %24, %25
br i1 %26, label %27, label %28
27: ; preds = %23
store i32 0, ptr %4, align 4
br label %54
28: ; preds = %23
%29 = load i64, ptr %8, align 8
%30 = load i32, ptr %6, align 4
%31 = sext i32 %30 to i64
%32 = icmp eq i64 %29, %31
br i1 %32, label %38, label %33
33: ; preds = %28
%34 = load i64, ptr %8, align 8
%35 = load i32, ptr %7, align 4
%36 = sext i32 %35 to i64
%37 = icmp eq i64 %34, %36
br i1 %37, label %38, label %39
38: ; preds = %33, %28
store i32 0, ptr %4, align 4
br label %54
39: ; preds = %33
%40 = load i64, ptr %9, align 8
%41 = icmp eq i64 %40, 1
br i1 %41, label %42, label %48
42: ; preds = %39
%43 = load ptr, ptr %5, align 8
%44 = load i32, ptr %6, align 4
%45 = load i64, ptr %8, align 8
%46 = trunc i64 %45 to i32
%47 = call i32 @pa_keyword(ptr noundef %43, i32 noundef %44, i32 noundef %46)
store i32 %47, ptr %4, align 4
br label %54
48: ; preds = %39
%49 = load ptr, ptr %5, align 8
%50 = load i64, ptr %8, align 8
%51 = trunc i64 %50 to i32
%52 = load i32, ptr %7, align 4
%53 = call i32 @pa_keyword(ptr noundef %49, i32 noundef %51, i32 noundef %52)
store i32 %53, ptr %4, align 4
br label %54
54: ; preds = %48, %42, %38, %27, %22
%55 = load i32, ptr %4, align 4
ret i32 %55
}
declare i64 @wrdcmp(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/tmpth0rcg5a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@pa_keyword.key = internal global [18 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7, ptr @.str.8, ptr @.str.9, ptr @.str.10, ptr @.str.11, ptr @.str.12, ptr @.str.13, ptr @.str.14, ptr @.str.15, ptr @.str.16, ptr @.str.17], align 16
@.str = private unnamed_addr constant [6 x i8] c"break\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"case\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"cont\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"default\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"do\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"else\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"false\00", align 1
@.str.7 = private unnamed_addr constant [6 x i8] c"float\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c"for\00", align 1
@.str.9 = private unnamed_addr constant [5 x i8] c"func\00", align 1
@.str.10 = private unnamed_addr constant [3 x i8] c"if\00", align 1
@.str.11 = private unnamed_addr constant [4 x i8] c"int\00", align 1
@.str.12 = private unnamed_addr constant [5 x i8] c"null\00", align 1
@.str.13 = private unnamed_addr constant [5 x i8] c"prec\00", align 1
@.str.14 = private unnamed_addr constant [7 x i8] c"sortie\00", align 1
@.str.15 = private unnamed_addr constant [7 x i8] c"switch\00", align 1
@.str.16 = private unnamed_addr constant [5 x i8] c"true\00", align 1
@.str.17 = private unnamed_addr constant [6 x i8] c"while\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_keyword(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 i64, align 8
%9 = alloca i64, align 8
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 %6, align 4
%11 = load i32, ptr %7, align 4
%12 = add nsw i32 %10, %11
%13 = sdiv i32 %12, 2
%14 = sext i32 %13 to i64
store i64 %14, ptr %8, align 8
%15 = load i64, ptr %8, align 8
%16 = getelementptr inbounds [18 x ptr], ptr @pa_keyword.key, i64 0, i64 %15
%17 = load ptr, ptr %16, align 8
%18 = load ptr, ptr %5, align 8
%19 = call i64 @wrdcmp(ptr noundef %17, ptr noundef %18)
store i64 %19, ptr %9, align 8
%20 = load i64, ptr %9, align 8
%21 = icmp ne i64 %20, 0
br i1 %21, label %23, label %22
22: ; preds = %3
store i32 1, ptr %4, align 4
br label %54
23: ; preds = %3
%24 = load i32, ptr %6, align 4
%25 = load i32, ptr %7, align 4
%26 = icmp eq i32 %24, %25
br i1 %26, label %27, label %28
27: ; preds = %23
store i32 0, ptr %4, align 4
br label %54
28: ; preds = %23
%29 = load i64, ptr %8, align 8
%30 = load i32, ptr %6, align 4
%31 = sext i32 %30 to i64
%32 = icmp eq i64 %29, %31
br i1 %32, label %38, label %33
33: ; preds = %28
%34 = load i64, ptr %8, align 8
%35 = load i32, ptr %7, align 4
%36 = sext i32 %35 to i64
%37 = icmp eq i64 %34, %36
br i1 %37, label %38, label %39
38: ; preds = %33, %28
store i32 0, ptr %4, align 4
br label %54
39: ; preds = %33
%40 = load i64, ptr %9, align 8
%41 = icmp eq i64 %40, 1
br i1 %41, label %42, label %48
42: ; preds = %39
%43 = load ptr, ptr %5, align 8
%44 = load i32, ptr %6, align 4
%45 = load i64, ptr %8, align 8
%46 = trunc i64 %45 to i32
%47 = call i32 @pa_keyword(ptr noundef %43, i32 noundef %44, i32 noundef %46)
store i32 %47, ptr %4, align 4
br label %54
48: ; preds = %39
%49 = load ptr, ptr %5, align 8
%50 = load i64, ptr %8, align 8
%51 = trunc i64 %50 to i32
%52 = load i32, ptr %7, align 4
%53 = call i32 @pa_keyword(ptr noundef %49, i32 noundef %51, i32 noundef %52)
store i32 %53, ptr %4, align 4
br label %54
54: ; preds = %48, %42, %38, %27, %22
%55 = load i32, ptr %4, align 4
ret i32 %55
}
declare i64 @wrdcmp(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/tmpspp_mq7q.c'
source_filename = "/tmp/tmpspp_mq7q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_islower.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"islower should be 0 for T\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_islower_0x54() #0 {
%1 = call i64 @islower(i32 noundef 84)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 425, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @islower(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/tmpspp_mq7q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_islower.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"islower should be 0 for T\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_islower_0x54() #0 {
%1 = call i64 @islower(i32 noundef 84)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 425, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @islower(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/tmprw240j9a.c'
source_filename = "/tmp/tmprw240j9a.c"
target datalayout = "e-m:e-p270: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/tmprw240j9a.c"
target datalayout = "e-m:e-p270: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/tmpgj03kjfh.c'
source_filename = "/tmp/tmpgj03kjfh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: alwaysinline nounwind sspstrong uwtable
define weak dso_local double @softboundcets_atan2(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %3, align 8
%6 = load double, ptr %4, align 8
%7 = call double @atan2(double noundef %5, double noundef %6) #2
ret double %7
}
; Function Attrs: nounwind
declare double @atan2(double noundef, double noundef) #1
attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgj03kjfh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: alwaysinline nounwind sspstrong uwtable
define weak dso_local double @softboundcets_atan2(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %3, align 8
%6 = load double, ptr %4, align 8
%7 = call double @atan2(double noundef %5, double noundef %6) #2
ret double %7
}
; Function Attrs: nounwind
declare double @atan2(double noundef, double noundef) #1
attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1thjyv0r.c'
source_filename = "/tmp/tmp1thjyv0r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [29 x i8] c"Usage: cloudfs [OPTIONS]...\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"Required Arguments:\0A\00", align 1
@.str.3 = private unnamed_addr constant [41 x i8] c"\09%-25s Storage service, must be one of:\0A\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"--store [service]\00", align 1
@.str.5 = private unnamed_addr constant [34 x i8] c"\09%-25s dummy, amazon, google\0A\00", align 1
@.str.6 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.7 = private unnamed_addr constant [15 x i8] c"\09%-25s Bucket\0A\00", align 1
@.str.8 = private unnamed_addr constant [16 x i8] c"--bucket [name]\00", align 1
@.str.9 = private unnamed_addr constant [15 x i8] c"\09%-25s Volume\0A\00", align 1
@.str.10 = private unnamed_addr constant [16 x i8] c"--volume [name]\00", align 1
@.str.11 = private unnamed_addr constant [21 x i8] c"Optional Arguments:\0A\00", align 1
@.str.12 = private unnamed_addr constant [30 x i8] c"\09%-25s Displays this message\0A\00", align 1
@.str.13 = private unnamed_addr constant [7 x i8] c"--help\00", align 1
@.str.14 = private unnamed_addr constant [26 x i8] c"\09%-25s Write to log file\0A\00", align 1
@.str.15 = private unnamed_addr constant [13 x i8] c"--log [file]\00", align 1
@.str.16 = private unnamed_addr constant [20 x i8] c"\09%-25s Config file\0A\00", align 1
@.str.17 = private unnamed_addr constant [16 x i8] c"--config [file]\00", align 1
@.str.18 = private unnamed_addr constant [28 x i8] c"\09%-25s Encryption password\0A\00", align 1
@.str.19 = private unnamed_addr constant [17 x i8] c"--password [key]\00", align 1
@.str.20 = private unnamed_addr constant [39 x i8] c"\09%-25s Prompt for encryption password\0A\00", align 1
@.str.21 = private unnamed_addr constant [18 x i8] c"--password-prompt\00", align 1
@.str.22 = private unnamed_addr constant [18 x i8] c"\09%-25s Read only\0A\00", align 1
@.str.23 = private unnamed_addr constant [11 x i8] c"--readonly\00", align 1
@.str.24 = private unnamed_addr constant [36 x i8] c"\09%-25s Do not fork into background\0A\00", align 1
@.str.25 = private unnamed_addr constant [9 x i8] c"--nofork\00", align 1
@.str.26 = private unnamed_addr constant [30 x i8] c"\09%-25s Force mounting volume\0A\00", align 1
@.str.27 = private unnamed_addr constant [8 x i8] c"--force\00", align 1
@.str.28 = private unnamed_addr constant [39 x i8] c"\09%-25s Use HTTPS for storage requests\0A\00", align 1
@.str.29 = private unnamed_addr constant [12 x i8] c"--use-https\00", align 1
@.str.30 = private unnamed_addr constant [18 x i8] c"Cache Arguments:\0A\00", align 1
@.str.31 = private unnamed_addr constant [36 x i8] c"\09%-25s Cache type, must be one of:\0A\00", align 1
@.str.32 = private unnamed_addr constant [20 x i8] c"--cache-type [type]\00", align 1
@.str.33 = private unnamed_addr constant [25 x i8] c"\09%-25s memory, file\0A\00", align 1
@.str.34 = private unnamed_addr constant [30 x i8] c"\09%-25s Maximum size of cache\0A\00", align 1
@.str.35 = private unnamed_addr constant [19 x i8] c"--cache-max [size]\00", align 1
@.str.36 = private unnamed_addr constant [28 x i8] c"\09%-25s Path to store cache\0A\00", align 1
@.str.37 = private unnamed_addr constant [20 x i8] c"--cache-path [path]\00", align 1
@.str.38 = private unnamed_addr constant [20 x i8] c"Bucket operations:\0A\00", align 1
@.str.39 = private unnamed_addr constant [22 x i8] c"\09%-25s Create bucket\0A\00", align 1
@.str.40 = private unnamed_addr constant [16 x i8] c"--create-bucket\00", align 1
@.str.41 = private unnamed_addr constant [38 x i8] c"\09%-25s Create bucket if non-existent\0A\00", align 1
@.str.42 = private unnamed_addr constant [21 x i8] c"--auto-create-bucket\00", align 1
@.str.43 = private unnamed_addr constant [22 x i8] c"\09%-25s Delete bucket\0A\00", align 1
@.str.44 = private unnamed_addr constant [16 x i8] c"--delete-bucket\00", align 1
@.str.45 = private unnamed_addr constant [20 x i8] c"Volume operations:\0A\00", align 1
@.str.46 = private unnamed_addr constant [22 x i8] c"\09%-25s Create volume\0A\00", align 1
@.str.47 = private unnamed_addr constant [9 x i8] c"--create\00", align 1
@.str.48 = private unnamed_addr constant [36 x i8] c"\09%-25s Mount volume to target path\0A\00", align 1
@.str.49 = private unnamed_addr constant [15 x i8] c"--mount [path]\00", align 1
@.str.50 = private unnamed_addr constant [40 x i8] c"\09%-25s Unmount volume from target path\0A\00", align 1
@.str.51 = private unnamed_addr constant [17 x i8] c"--unmount [path]\00", align 1
@.str.52 = private unnamed_addr constant [21 x i8] c"\09%-25s List volumes\0A\00", align 1
@.str.53 = private unnamed_addr constant [7 x i8] c"--list\00", align 1
@.str.54 = private unnamed_addr constant [25 x i8] c"\09%-25s Check filesystem\0A\00", align 1
@.str.55 = private unnamed_addr constant [7 x i8] c"--fsck\00", align 1
@.str.56 = private unnamed_addr constant [22 x i8] c"\09%-25s Delete volume\0A\00", align 1
@.str.57 = private unnamed_addr constant [9 x i8] c"--delete\00", align 1
@.str.58 = private unnamed_addr constant [32 x i8] c"Arguments for volume creation:\0A\00", align 1
@.str.59 = private unnamed_addr constant [39 x i8] c"\09%-25s Volume format, must be one of:\0A\00", align 1
@.str.60 = private unnamed_addr constant [18 x i8] c"--format [format]\00", align 1
@.str.61 = private unnamed_addr constant [23 x i8] c"\09%-25s vfs, block\0A\00", align 1
@.str.62 = private unnamed_addr constant [23 x i8] c"\09%-25s Size of volume\0A\00", align 1
@.str.63 = private unnamed_addr constant [14 x i8] c"--size [size]\00", align 1
@.str.64 = private unnamed_addr constant [31 x i8] c"Arguments for amazon storage:\0A\00", align 1
@.str.65 = private unnamed_addr constant [22 x i8] c"\09%-25s Access key ID\0A\00", align 1
@.str.66 = private unnamed_addr constant [19 x i8] c"--amazon-key [key]\00", align 1
@.str.67 = private unnamed_addr constant [26 x i8] c"\09%-25s Secret access key\0A\00", align 1
@.str.68 = private unnamed_addr constant [22 x i8] c"--amazon-secret [key]\00", align 1
@.str.69 = private unnamed_addr constant [31 x i8] c"Arguments for google storage:\0A\00", align 1
@.str.70 = private unnamed_addr constant [18 x i8] c"\09%-25s Client ID\0A\00", align 1
@.str.71 = private unnamed_addr constant [24 x i8] c"--google-client-id [id]\00", align 1
@.str.72 = private unnamed_addr constant [22 x i8] c"\09%-25s Client Secret\0A\00", align 1
@.str.73 = private unnamed_addr constant [29 x i8] c"--google-client-secret [key]\00", align 1
@.str.74 = private unnamed_addr constant [19 x i8] c"\09%-25s Project ID\0A\00", align 1
@.str.75 = private unnamed_addr constant [25 x i8] c"--google-project-id [id]\00", align 1
@.str.76 = private unnamed_addr constant [33 x i8] c"\09%-25s File to write auth token\0A\00", align 1
@.str.77 = private unnamed_addr constant [27 x i8] c"--google-token-file [file]\00", align 1
@.str.78 = private unnamed_addr constant [30 x i8] c"Arguments for dummy storage:\0A\00", align 1
@.str.79 = private unnamed_addr constant [34 x i8] c"\09%-25s Path to storage directory\0A\00", align 1
@.str.80 = private unnamed_addr constant [20 x i8] c"--dummy-path [path]\00", align 1
@.str.81 = private unnamed_addr constant [8 x i8] c"Setup:\0A\00", align 1
@.str.82 = private unnamed_addr constant [60 x i8] c"\091) Copy ${BUILD_PATH}/bin/cloudfs.conf to ~/.cloudfs.conf\0A\00", align 1
@.str.83 = private unnamed_addr constant [52 x i8] c"\092) Edit ~/.cloudfs.conf with required information\0A\00", align 1
@.str.84 = private unnamed_addr constant [62 x i8] c"Example volume operations (assuming you followed the setup):\0A\00", align 1
@.str.85 = private unnamed_addr constant [30 x i8] c"\09Listing: cloudfs --list\0A\00", align 1
@.str.86 = private unnamed_addr constant [50 x i8] c"\09Create: cloudfs --volume [volume] --create\0A\00", align 1
@.str.87 = private unnamed_addr constant [61 x i8] c"\09Mounting: cloudfs --volume [volume] --mount [directory]\0A\00", align 1
@.str.88 = private unnamed_addr constant [63 x i8] c"\09Unmounting: cloudfs --volume [volume] --unmount [directory]\0A\00", align 1
@.str.89 = private unnamed_addr constant [50 x i8] c"\09Deleting: cloudfs --volume [volume] --delete\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 (...) @version()
%2 = load i32, ptr @stderr, align 4
%3 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %2, ptr noundef @.str)
%4 = load i32, ptr @stderr, align 4
%5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %4, ptr noundef @.str.1)
%6 = load i32, ptr @stderr, align 4
%7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.2)
%8 = load i32, ptr @stderr, align 4
%9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.3, ptr noundef @.str.4)
%10 = load i32, ptr @stderr, align 4
%11 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str.5, ptr noundef @.str.6)
%12 = load i32, ptr @stderr, align 4
%13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str.7, ptr noundef @.str.8)
%14 = load i32, ptr @stderr, align 4
%15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str.9, ptr noundef @.str.10)
%16 = load i32, ptr @stderr, align 4
%17 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str.1)
%18 = load i32, ptr @stderr, align 4
%19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.11)
%20 = load i32, ptr @stderr, align 4
%21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str.12, ptr noundef @.str.13)
%22 = load i32, ptr @stderr, align 4
%23 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %22, ptr noundef @.str.14, ptr noundef @.str.15)
%24 = load i32, ptr @stderr, align 4
%25 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %24, ptr noundef @.str.16, ptr noundef @.str.17)
%26 = load i32, ptr @stderr, align 4
%27 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %26, ptr noundef @.str.18, ptr noundef @.str.19)
%28 = load i32, ptr @stderr, align 4
%29 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %28, ptr noundef @.str.20, ptr noundef @.str.21)
%30 = load i32, ptr @stderr, align 4
%31 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %30, ptr noundef @.str.22, ptr noundef @.str.23)
%32 = load i32, ptr @stderr, align 4
%33 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %32, ptr noundef @.str.24, ptr noundef @.str.25)
%34 = load i32, ptr @stderr, align 4
%35 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %34, ptr noundef @.str.26, ptr noundef @.str.27)
%36 = load i32, ptr @stderr, align 4
%37 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %36, ptr noundef @.str.28, ptr noundef @.str.29)
%38 = load i32, ptr @stderr, align 4
%39 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %38, ptr noundef @.str.1)
%40 = load i32, ptr @stderr, align 4
%41 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %40, ptr noundef @.str.30)
%42 = load i32, ptr @stderr, align 4
%43 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %42, ptr noundef @.str.31, ptr noundef @.str.32)
%44 = load i32, ptr @stderr, align 4
%45 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %44, ptr noundef @.str.33, ptr noundef @.str.6)
%46 = load i32, ptr @stderr, align 4
%47 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %46, ptr noundef @.str.34, ptr noundef @.str.35)
%48 = load i32, ptr @stderr, align 4
%49 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %48, ptr noundef @.str.36, ptr noundef @.str.37)
%50 = load i32, ptr @stderr, align 4
%51 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %50, ptr noundef @.str.1)
%52 = load i32, ptr @stderr, align 4
%53 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %52, ptr noundef @.str.38)
%54 = load i32, ptr @stderr, align 4
%55 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %54, ptr noundef @.str.39, ptr noundef @.str.40)
%56 = load i32, ptr @stderr, align 4
%57 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %56, ptr noundef @.str.41, ptr noundef @.str.42)
%58 = load i32, ptr @stderr, align 4
%59 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %58, ptr noundef @.str.43, ptr noundef @.str.44)
%60 = load i32, ptr @stderr, align 4
%61 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %60, ptr noundef @.str.1)
%62 = load i32, ptr @stderr, align 4
%63 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %62, ptr noundef @.str.45)
%64 = load i32, ptr @stderr, align 4
%65 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %64, ptr noundef @.str.46, ptr noundef @.str.47)
%66 = load i32, ptr @stderr, align 4
%67 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %66, ptr noundef @.str.48, ptr noundef @.str.49)
%68 = load i32, ptr @stderr, align 4
%69 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %68, ptr noundef @.str.50, ptr noundef @.str.51)
%70 = load i32, ptr @stderr, align 4
%71 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %70, ptr noundef @.str.52, ptr noundef @.str.53)
%72 = load i32, ptr @stderr, align 4
%73 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %72, ptr noundef @.str.54, ptr noundef @.str.55)
%74 = load i32, ptr @stderr, align 4
%75 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %74, ptr noundef @.str.56, ptr noundef @.str.57)
%76 = load i32, ptr @stderr, align 4
%77 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %76, ptr noundef @.str.1)
%78 = load i32, ptr @stderr, align 4
%79 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %78, ptr noundef @.str.58)
%80 = load i32, ptr @stderr, align 4
%81 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %80, ptr noundef @.str.59, ptr noundef @.str.60)
%82 = load i32, ptr @stderr, align 4
%83 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %82, ptr noundef @.str.61, ptr noundef @.str.6)
%84 = load i32, ptr @stderr, align 4
%85 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %84, ptr noundef @.str.62, ptr noundef @.str.63)
%86 = load i32, ptr @stderr, align 4
%87 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %86, ptr noundef @.str.1)
%88 = load i32, ptr @stderr, align 4
%89 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %88, ptr noundef @.str.64)
%90 = load i32, ptr @stderr, align 4
%91 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %90, ptr noundef @.str.65, ptr noundef @.str.66)
%92 = load i32, ptr @stderr, align 4
%93 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %92, ptr noundef @.str.67, ptr noundef @.str.68)
%94 = load i32, ptr @stderr, align 4
%95 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %94, ptr noundef @.str.1)
%96 = load i32, ptr @stderr, align 4
%97 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %96, ptr noundef @.str.69)
%98 = load i32, ptr @stderr, align 4
%99 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %98, ptr noundef @.str.70, ptr noundef @.str.71)
%100 = load i32, ptr @stderr, align 4
%101 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %100, ptr noundef @.str.72, ptr noundef @.str.73)
%102 = load i32, ptr @stderr, align 4
%103 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %102, ptr noundef @.str.74, ptr noundef @.str.75)
%104 = load i32, ptr @stderr, align 4
%105 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %104, ptr noundef @.str.76, ptr noundef @.str.77)
%106 = load i32, ptr @stderr, align 4
%107 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %106, ptr noundef @.str.1)
%108 = load i32, ptr @stderr, align 4
%109 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %108, ptr noundef @.str.78)
%110 = load i32, ptr @stderr, align 4
%111 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %110, ptr noundef @.str.79, ptr noundef @.str.80)
%112 = load i32, ptr @stderr, align 4
%113 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %112, ptr noundef @.str.1)
%114 = load i32, ptr @stderr, align 4
%115 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %114, ptr noundef @.str.1)
%116 = load i32, ptr @stderr, align 4
%117 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %116, ptr noundef @.str.81)
%118 = load i32, ptr @stderr, align 4
%119 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %118, ptr noundef @.str.82)
%120 = load i32, ptr @stderr, align 4
%121 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %120, ptr noundef @.str.83)
%122 = load i32, ptr @stderr, align 4
%123 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %122, ptr noundef @.str.1)
%124 = load i32, ptr @stderr, align 4
%125 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %124, ptr noundef @.str.84)
%126 = load i32, ptr @stderr, align 4
%127 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %126, ptr noundef @.str.85)
%128 = load i32, ptr @stderr, align 4
%129 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %128, ptr noundef @.str.86)
%130 = load i32, ptr @stderr, align 4
%131 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %130, ptr noundef @.str.87)
%132 = load i32, ptr @stderr, align 4
%133 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %132, ptr noundef @.str.88)
%134 = load i32, ptr @stderr, align 4
%135 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %134, ptr noundef @.str.89)
%136 = load i32, ptr @stderr, align 4
%137 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %136, ptr noundef @.str.1)
ret void
}
declare i32 @version(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1thjyv0r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [29 x i8] c"Usage: cloudfs [OPTIONS]...\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"Required Arguments:\0A\00", align 1
@.str.3 = private unnamed_addr constant [41 x i8] c"\09%-25s Storage service, must be one of:\0A\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"--store [service]\00", align 1
@.str.5 = private unnamed_addr constant [34 x i8] c"\09%-25s dummy, amazon, google\0A\00", align 1
@.str.6 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.7 = private unnamed_addr constant [15 x i8] c"\09%-25s Bucket\0A\00", align 1
@.str.8 = private unnamed_addr constant [16 x i8] c"--bucket [name]\00", align 1
@.str.9 = private unnamed_addr constant [15 x i8] c"\09%-25s Volume\0A\00", align 1
@.str.10 = private unnamed_addr constant [16 x i8] c"--volume [name]\00", align 1
@.str.11 = private unnamed_addr constant [21 x i8] c"Optional Arguments:\0A\00", align 1
@.str.12 = private unnamed_addr constant [30 x i8] c"\09%-25s Displays this message\0A\00", align 1
@.str.13 = private unnamed_addr constant [7 x i8] c"--help\00", align 1
@.str.14 = private unnamed_addr constant [26 x i8] c"\09%-25s Write to log file\0A\00", align 1
@.str.15 = private unnamed_addr constant [13 x i8] c"--log [file]\00", align 1
@.str.16 = private unnamed_addr constant [20 x i8] c"\09%-25s Config file\0A\00", align 1
@.str.17 = private unnamed_addr constant [16 x i8] c"--config [file]\00", align 1
@.str.18 = private unnamed_addr constant [28 x i8] c"\09%-25s Encryption password\0A\00", align 1
@.str.19 = private unnamed_addr constant [17 x i8] c"--password [key]\00", align 1
@.str.20 = private unnamed_addr constant [39 x i8] c"\09%-25s Prompt for encryption password\0A\00", align 1
@.str.21 = private unnamed_addr constant [18 x i8] c"--password-prompt\00", align 1
@.str.22 = private unnamed_addr constant [18 x i8] c"\09%-25s Read only\0A\00", align 1
@.str.23 = private unnamed_addr constant [11 x i8] c"--readonly\00", align 1
@.str.24 = private unnamed_addr constant [36 x i8] c"\09%-25s Do not fork into background\0A\00", align 1
@.str.25 = private unnamed_addr constant [9 x i8] c"--nofork\00", align 1
@.str.26 = private unnamed_addr constant [30 x i8] c"\09%-25s Force mounting volume\0A\00", align 1
@.str.27 = private unnamed_addr constant [8 x i8] c"--force\00", align 1
@.str.28 = private unnamed_addr constant [39 x i8] c"\09%-25s Use HTTPS for storage requests\0A\00", align 1
@.str.29 = private unnamed_addr constant [12 x i8] c"--use-https\00", align 1
@.str.30 = private unnamed_addr constant [18 x i8] c"Cache Arguments:\0A\00", align 1
@.str.31 = private unnamed_addr constant [36 x i8] c"\09%-25s Cache type, must be one of:\0A\00", align 1
@.str.32 = private unnamed_addr constant [20 x i8] c"--cache-type [type]\00", align 1
@.str.33 = private unnamed_addr constant [25 x i8] c"\09%-25s memory, file\0A\00", align 1
@.str.34 = private unnamed_addr constant [30 x i8] c"\09%-25s Maximum size of cache\0A\00", align 1
@.str.35 = private unnamed_addr constant [19 x i8] c"--cache-max [size]\00", align 1
@.str.36 = private unnamed_addr constant [28 x i8] c"\09%-25s Path to store cache\0A\00", align 1
@.str.37 = private unnamed_addr constant [20 x i8] c"--cache-path [path]\00", align 1
@.str.38 = private unnamed_addr constant [20 x i8] c"Bucket operations:\0A\00", align 1
@.str.39 = private unnamed_addr constant [22 x i8] c"\09%-25s Create bucket\0A\00", align 1
@.str.40 = private unnamed_addr constant [16 x i8] c"--create-bucket\00", align 1
@.str.41 = private unnamed_addr constant [38 x i8] c"\09%-25s Create bucket if non-existent\0A\00", align 1
@.str.42 = private unnamed_addr constant [21 x i8] c"--auto-create-bucket\00", align 1
@.str.43 = private unnamed_addr constant [22 x i8] c"\09%-25s Delete bucket\0A\00", align 1
@.str.44 = private unnamed_addr constant [16 x i8] c"--delete-bucket\00", align 1
@.str.45 = private unnamed_addr constant [20 x i8] c"Volume operations:\0A\00", align 1
@.str.46 = private unnamed_addr constant [22 x i8] c"\09%-25s Create volume\0A\00", align 1
@.str.47 = private unnamed_addr constant [9 x i8] c"--create\00", align 1
@.str.48 = private unnamed_addr constant [36 x i8] c"\09%-25s Mount volume to target path\0A\00", align 1
@.str.49 = private unnamed_addr constant [15 x i8] c"--mount [path]\00", align 1
@.str.50 = private unnamed_addr constant [40 x i8] c"\09%-25s Unmount volume from target path\0A\00", align 1
@.str.51 = private unnamed_addr constant [17 x i8] c"--unmount [path]\00", align 1
@.str.52 = private unnamed_addr constant [21 x i8] c"\09%-25s List volumes\0A\00", align 1
@.str.53 = private unnamed_addr constant [7 x i8] c"--list\00", align 1
@.str.54 = private unnamed_addr constant [25 x i8] c"\09%-25s Check filesystem\0A\00", align 1
@.str.55 = private unnamed_addr constant [7 x i8] c"--fsck\00", align 1
@.str.56 = private unnamed_addr constant [22 x i8] c"\09%-25s Delete volume\0A\00", align 1
@.str.57 = private unnamed_addr constant [9 x i8] c"--delete\00", align 1
@.str.58 = private unnamed_addr constant [32 x i8] c"Arguments for volume creation:\0A\00", align 1
@.str.59 = private unnamed_addr constant [39 x i8] c"\09%-25s Volume format, must be one of:\0A\00", align 1
@.str.60 = private unnamed_addr constant [18 x i8] c"--format [format]\00", align 1
@.str.61 = private unnamed_addr constant [23 x i8] c"\09%-25s vfs, block\0A\00", align 1
@.str.62 = private unnamed_addr constant [23 x i8] c"\09%-25s Size of volume\0A\00", align 1
@.str.63 = private unnamed_addr constant [14 x i8] c"--size [size]\00", align 1
@.str.64 = private unnamed_addr constant [31 x i8] c"Arguments for amazon storage:\0A\00", align 1
@.str.65 = private unnamed_addr constant [22 x i8] c"\09%-25s Access key ID\0A\00", align 1
@.str.66 = private unnamed_addr constant [19 x i8] c"--amazon-key [key]\00", align 1
@.str.67 = private unnamed_addr constant [26 x i8] c"\09%-25s Secret access key\0A\00", align 1
@.str.68 = private unnamed_addr constant [22 x i8] c"--amazon-secret [key]\00", align 1
@.str.69 = private unnamed_addr constant [31 x i8] c"Arguments for google storage:\0A\00", align 1
@.str.70 = private unnamed_addr constant [18 x i8] c"\09%-25s Client ID\0A\00", align 1
@.str.71 = private unnamed_addr constant [24 x i8] c"--google-client-id [id]\00", align 1
@.str.72 = private unnamed_addr constant [22 x i8] c"\09%-25s Client Secret\0A\00", align 1
@.str.73 = private unnamed_addr constant [29 x i8] c"--google-client-secret [key]\00", align 1
@.str.74 = private unnamed_addr constant [19 x i8] c"\09%-25s Project ID\0A\00", align 1
@.str.75 = private unnamed_addr constant [25 x i8] c"--google-project-id [id]\00", align 1
@.str.76 = private unnamed_addr constant [33 x i8] c"\09%-25s File to write auth token\0A\00", align 1
@.str.77 = private unnamed_addr constant [27 x i8] c"--google-token-file [file]\00", align 1
@.str.78 = private unnamed_addr constant [30 x i8] c"Arguments for dummy storage:\0A\00", align 1
@.str.79 = private unnamed_addr constant [34 x i8] c"\09%-25s Path to storage directory\0A\00", align 1
@.str.80 = private unnamed_addr constant [20 x i8] c"--dummy-path [path]\00", align 1
@.str.81 = private unnamed_addr constant [8 x i8] c"Setup:\0A\00", align 1
@.str.82 = private unnamed_addr constant [60 x i8] c"\091) Copy ${BUILD_PATH}/bin/cloudfs.conf to ~/.cloudfs.conf\0A\00", align 1
@.str.83 = private unnamed_addr constant [52 x i8] c"\092) Edit ~/.cloudfs.conf with required information\0A\00", align 1
@.str.84 = private unnamed_addr constant [62 x i8] c"Example volume operations (assuming you followed the setup):\0A\00", align 1
@.str.85 = private unnamed_addr constant [30 x i8] c"\09Listing: cloudfs --list\0A\00", align 1
@.str.86 = private unnamed_addr constant [50 x i8] c"\09Create: cloudfs --volume [volume] --create\0A\00", align 1
@.str.87 = private unnamed_addr constant [61 x i8] c"\09Mounting: cloudfs --volume [volume] --mount [directory]\0A\00", align 1
@.str.88 = private unnamed_addr constant [63 x i8] c"\09Unmounting: cloudfs --volume [volume] --unmount [directory]\0A\00", align 1
@.str.89 = private unnamed_addr constant [50 x i8] c"\09Deleting: cloudfs --volume [volume] --delete\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 (...) @version()
%2 = load i32, ptr @stderr, align 4
%3 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %2, ptr noundef @.str)
%4 = load i32, ptr @stderr, align 4
%5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %4, ptr noundef @.str.1)
%6 = load i32, ptr @stderr, align 4
%7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.2)
%8 = load i32, ptr @stderr, align 4
%9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.3, ptr noundef @.str.4)
%10 = load i32, ptr @stderr, align 4
%11 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str.5, ptr noundef @.str.6)
%12 = load i32, ptr @stderr, align 4
%13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str.7, ptr noundef @.str.8)
%14 = load i32, ptr @stderr, align 4
%15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str.9, ptr noundef @.str.10)
%16 = load i32, ptr @stderr, align 4
%17 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str.1)
%18 = load i32, ptr @stderr, align 4
%19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.11)
%20 = load i32, ptr @stderr, align 4
%21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str.12, ptr noundef @.str.13)
%22 = load i32, ptr @stderr, align 4
%23 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %22, ptr noundef @.str.14, ptr noundef @.str.15)
%24 = load i32, ptr @stderr, align 4
%25 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %24, ptr noundef @.str.16, ptr noundef @.str.17)
%26 = load i32, ptr @stderr, align 4
%27 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %26, ptr noundef @.str.18, ptr noundef @.str.19)
%28 = load i32, ptr @stderr, align 4
%29 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %28, ptr noundef @.str.20, ptr noundef @.str.21)
%30 = load i32, ptr @stderr, align 4
%31 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %30, ptr noundef @.str.22, ptr noundef @.str.23)
%32 = load i32, ptr @stderr, align 4
%33 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %32, ptr noundef @.str.24, ptr noundef @.str.25)
%34 = load i32, ptr @stderr, align 4
%35 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %34, ptr noundef @.str.26, ptr noundef @.str.27)
%36 = load i32, ptr @stderr, align 4
%37 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %36, ptr noundef @.str.28, ptr noundef @.str.29)
%38 = load i32, ptr @stderr, align 4
%39 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %38, ptr noundef @.str.1)
%40 = load i32, ptr @stderr, align 4
%41 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %40, ptr noundef @.str.30)
%42 = load i32, ptr @stderr, align 4
%43 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %42, ptr noundef @.str.31, ptr noundef @.str.32)
%44 = load i32, ptr @stderr, align 4
%45 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %44, ptr noundef @.str.33, ptr noundef @.str.6)
%46 = load i32, ptr @stderr, align 4
%47 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %46, ptr noundef @.str.34, ptr noundef @.str.35)
%48 = load i32, ptr @stderr, align 4
%49 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %48, ptr noundef @.str.36, ptr noundef @.str.37)
%50 = load i32, ptr @stderr, align 4
%51 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %50, ptr noundef @.str.1)
%52 = load i32, ptr @stderr, align 4
%53 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %52, ptr noundef @.str.38)
%54 = load i32, ptr @stderr, align 4
%55 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %54, ptr noundef @.str.39, ptr noundef @.str.40)
%56 = load i32, ptr @stderr, align 4
%57 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %56, ptr noundef @.str.41, ptr noundef @.str.42)
%58 = load i32, ptr @stderr, align 4
%59 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %58, ptr noundef @.str.43, ptr noundef @.str.44)
%60 = load i32, ptr @stderr, align 4
%61 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %60, ptr noundef @.str.1)
%62 = load i32, ptr @stderr, align 4
%63 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %62, ptr noundef @.str.45)
%64 = load i32, ptr @stderr, align 4
%65 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %64, ptr noundef @.str.46, ptr noundef @.str.47)
%66 = load i32, ptr @stderr, align 4
%67 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %66, ptr noundef @.str.48, ptr noundef @.str.49)
%68 = load i32, ptr @stderr, align 4
%69 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %68, ptr noundef @.str.50, ptr noundef @.str.51)
%70 = load i32, ptr @stderr, align 4
%71 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %70, ptr noundef @.str.52, ptr noundef @.str.53)
%72 = load i32, ptr @stderr, align 4
%73 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %72, ptr noundef @.str.54, ptr noundef @.str.55)
%74 = load i32, ptr @stderr, align 4
%75 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %74, ptr noundef @.str.56, ptr noundef @.str.57)
%76 = load i32, ptr @stderr, align 4
%77 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %76, ptr noundef @.str.1)
%78 = load i32, ptr @stderr, align 4
%79 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %78, ptr noundef @.str.58)
%80 = load i32, ptr @stderr, align 4
%81 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %80, ptr noundef @.str.59, ptr noundef @.str.60)
%82 = load i32, ptr @stderr, align 4
%83 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %82, ptr noundef @.str.61, ptr noundef @.str.6)
%84 = load i32, ptr @stderr, align 4
%85 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %84, ptr noundef @.str.62, ptr noundef @.str.63)
%86 = load i32, ptr @stderr, align 4
%87 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %86, ptr noundef @.str.1)
%88 = load i32, ptr @stderr, align 4
%89 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %88, ptr noundef @.str.64)
%90 = load i32, ptr @stderr, align 4
%91 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %90, ptr noundef @.str.65, ptr noundef @.str.66)
%92 = load i32, ptr @stderr, align 4
%93 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %92, ptr noundef @.str.67, ptr noundef @.str.68)
%94 = load i32, ptr @stderr, align 4
%95 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %94, ptr noundef @.str.1)
%96 = load i32, ptr @stderr, align 4
%97 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %96, ptr noundef @.str.69)
%98 = load i32, ptr @stderr, align 4
%99 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %98, ptr noundef @.str.70, ptr noundef @.str.71)
%100 = load i32, ptr @stderr, align 4
%101 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %100, ptr noundef @.str.72, ptr noundef @.str.73)
%102 = load i32, ptr @stderr, align 4
%103 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %102, ptr noundef @.str.74, ptr noundef @.str.75)
%104 = load i32, ptr @stderr, align 4
%105 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %104, ptr noundef @.str.76, ptr noundef @.str.77)
%106 = load i32, ptr @stderr, align 4
%107 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %106, ptr noundef @.str.1)
%108 = load i32, ptr @stderr, align 4
%109 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %108, ptr noundef @.str.78)
%110 = load i32, ptr @stderr, align 4
%111 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %110, ptr noundef @.str.79, ptr noundef @.str.80)
%112 = load i32, ptr @stderr, align 4
%113 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %112, ptr noundef @.str.1)
%114 = load i32, ptr @stderr, align 4
%115 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %114, ptr noundef @.str.1)
%116 = load i32, ptr @stderr, align 4
%117 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %116, ptr noundef @.str.81)
%118 = load i32, ptr @stderr, align 4
%119 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %118, ptr noundef @.str.82)
%120 = load i32, ptr @stderr, align 4
%121 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %120, ptr noundef @.str.83)
%122 = load i32, ptr @stderr, align 4
%123 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %122, ptr noundef @.str.1)
%124 = load i32, ptr @stderr, align 4
%125 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %124, ptr noundef @.str.84)
%126 = load i32, ptr @stderr, align 4
%127 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %126, ptr noundef @.str.85)
%128 = load i32, ptr @stderr, align 4
%129 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %128, ptr noundef @.str.86)
%130 = load i32, ptr @stderr, align 4
%131 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %130, ptr noundef @.str.87)
%132 = load i32, ptr @stderr, align 4
%133 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %132, ptr noundef @.str.88)
%134 = load i32, ptr @stderr, align 4
%135 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %134, ptr noundef @.str.89)
%136 = load i32, ptr @stderr, align 4
%137 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %136, ptr noundef @.str.1)
ret void
}
declare i32 @version(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpta25dyfh.c'
source_filename = "/tmp/tmpta25dyfh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"URL blocking is %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"disabled\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"enabled\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @showUrlBlocking() #0 {
%1 = alloca i8, align 1
%2 = call i32 @mib_get(i64 noundef 73, ptr noundef %1)
%3 = load i8, ptr %1, align 1
%4 = zext i8 %3 to i32
%5 = icmp eq i32 %4, 0
%6 = zext i1 %5 to i64
%7 = select i1 %5, ptr @.str.1, ptr @.str.2
%8 = call i32 @printf(ptr noundef @.str, ptr noundef %7)
%9 = load i8, ptr %1, align 1
%10 = icmp ne i8 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %0
%12 = call i32 @showURLBlkTable(i32 noundef 365)
%13 = call i32 @showURLBlkTable(i32 noundef 373)
br label %14
14: ; preds = %11, %0
ret void
}
declare i32 @mib_get(i64 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @showURLBlkTable(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/tmpta25dyfh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"URL blocking is %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"disabled\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"enabled\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @showUrlBlocking() #0 {
%1 = alloca i8, align 1
%2 = call i32 @mib_get(i64 noundef 73, ptr noundef %1)
%3 = load i8, ptr %1, align 1
%4 = zext i8 %3 to i32
%5 = icmp eq i32 %4, 0
%6 = zext i1 %5 to i64
%7 = select i1 %5, ptr @.str.1, ptr @.str.2
%8 = call i32 @printf(ptr noundef @.str, ptr noundef %7)
%9 = load i8, ptr %1, align 1
%10 = icmp ne i8 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %0
%12 = call i32 @showURLBlkTable(i32 noundef 365)
%13 = call i32 @showURLBlkTable(i32 noundef 373)
br label %14
14: ; preds = %11, %0
ret void
}
declare i32 @mib_get(i64 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @showURLBlkTable(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/tmph1_1rjxk.c'
source_filename = "/tmp/tmph1_1rjxk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [5 x i8] c"%.2f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x i32], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %12, %0
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 10
br i1 %6, label %7, label %15
7: ; preds = %4
%8 = load i32, ptr %3, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %9
%11 = call i32 @scanf(ptr noundef @.str, ptr noundef %10)
br label %12
12: ; preds = %7
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %3, align 4
br label %4, !llvm.loop !6
15: ; preds = %4
%16 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%17 = call double @media(ptr noundef %16, i32 noundef 10)
%18 = call i32 @printf(ptr noundef @.str.1, double noundef %17)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, double noundef) #1
declare double @media(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/tmph1_1rjxk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [5 x i8] c"%.2f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x i32], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp slt i32 %4, 10
br i1 %5, label %.lr.ph, label %16
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %11
%7 = load i32, ptr %3, align 4
%8 = sext i32 %7 to i64
%9 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %8
%10 = call i32 @scanf(ptr noundef @.str, ptr noundef %9)
br label %11
11: ; preds = %6
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %3, align 4
%14 = load i32, ptr %3, align 4
%15 = icmp slt i32 %14, 10
br i1 %15, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %16
16: ; preds = %._crit_edge, %0
%17 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%18 = call double @media(ptr noundef %17, i32 noundef 10)
%19 = call i32 @printf(ptr noundef @.str.1, double noundef %18)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, double noundef) #1
declare double @media(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/tmpagos9nw5.c'
source_filename = "/tmp/tmpagos9nw5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_meloner() #0 {
%1 = call i32 (...) @dump_trace()
ret void
}
declare i32 @dump_trace(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpagos9nw5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_meloner() #0 {
%1 = call i32 (...) @dump_trace()
ret void
}
declare i32 @dump_trace(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxlpm8y8w.c'
source_filename = "/tmp/tmpxlpm8y8w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"Calculating sum of squares...\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c" Its %d\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"\0ACalculating square of sum...\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"\0ADiff is - %d\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
store i32 0, ptr %1, align 4
store i32 100, ptr %5, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %2, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 1, ptr %6, align 4
br label %8
8: ; preds = %18, %0
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp sle i32 %9, %10
br i1 %11, label %12, label %21
12: ; preds = %8
%13 = load i32, ptr %2, align 4
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %6, align 4
%16 = mul nsw i32 %14, %15
%17 = add nsw i32 %13, %16
store i32 %17, ptr %2, align 4
br label %18
18: ; preds = %12
%19 = load i32, ptr %6, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %6, align 4
br label %8, !llvm.loop !6
21: ; preds = %8
%22 = load i32, ptr %2, align 4
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %22)
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 1, ptr %6, align 4
br label %25
25: ; preds = %33, %21
%26 = load i32, ptr %6, align 4
%27 = load i32, ptr %5, align 4
%28 = icmp sle i32 %26, %27
br i1 %28, label %29, label %36
29: ; preds = %25
%30 = load i32, ptr %3, align 4
%31 = load i32, ptr %6, align 4
%32 = add nsw i32 %30, %31
store i32 %32, ptr %3, align 4
br label %33
33: ; preds = %29
%34 = load i32, ptr %6, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %6, align 4
br label %25, !llvm.loop !8
36: ; preds = %25
%37 = load i32, ptr %3, align 4
%38 = load i32, ptr %3, align 4
%39 = mul nsw i32 %37, %38
store i32 %39, ptr %3, align 4
%40 = load i32, ptr %3, align 4
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %40)
%42 = load i32, ptr %3, align 4
%43 = load i32, ptr %2, align 4
%44 = sub nsw i32 %42, %43
store i32 %44, ptr %4, align 4
%45 = load i32, ptr %4, align 4
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %45)
%47 = call i32 (...) @getch()
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @getch(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpxlpm8y8w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"Calculating sum of squares...\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c" Its %d\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"\0ACalculating square of sum...\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"\0ADiff is - %d\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
store i32 0, ptr %1, align 4
store i32 100, ptr %5, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %2, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 1, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp sle i32 %8, %9
br i1 %10, label %.lr.ph, label %23
.lr.ph: ; preds = %0
br label %11
11: ; preds = %.lr.ph, %17
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %6, align 4
%15 = mul nsw i32 %13, %14
%16 = add nsw i32 %12, %15
store i32 %16, ptr %2, align 4
br label %17
17: ; preds = %11
%18 = load i32, ptr %6, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %6, align 4
%20 = load i32, ptr %6, align 4
%21 = load i32, ptr %5, align 4
%22 = icmp sle i32 %20, %21
br i1 %22, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %23
23: ; preds = %._crit_edge, %0
%24 = load i32, ptr %2, align 4
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %24)
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 1, ptr %6, align 4
%27 = load i32, ptr %6, align 4
%28 = load i32, ptr %5, align 4
%29 = icmp sle i32 %27, %28
br i1 %29, label %.lr.ph2, label %40
.lr.ph2: ; preds = %23
br label %30
30: ; preds = %.lr.ph2, %34
%31 = load i32, ptr %3, align 4
%32 = load i32, ptr %6, align 4
%33 = add nsw i32 %31, %32
store i32 %33, ptr %3, align 4
br label %34
34: ; preds = %30
%35 = load i32, ptr %6, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %6, align 4
%37 = load i32, ptr %6, align 4
%38 = load i32, ptr %5, align 4
%39 = icmp sle i32 %37, %38
br i1 %39, label %30, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %34
br label %40
40: ; preds = %._crit_edge3, %23
%41 = load i32, ptr %3, align 4
%42 = load i32, ptr %3, align 4
%43 = mul nsw i32 %41, %42
store i32 %43, ptr %3, align 4
%44 = load i32, ptr %3, align 4
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %44)
%46 = load i32, ptr %3, align 4
%47 = load i32, ptr %2, align 4
%48 = sub nsw i32 %46, %47
store i32 %48, ptr %4, align 4
%49 = load i32, ptr %4, align 4
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %49)
%51 = call i32 (...) @getch()
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @getch(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmprceo7c5e.c'
source_filename = "/tmp/tmprceo7c5e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @intro()
%3 = call i32 @time(ptr noundef null)
%4 = call i32 @srand(i32 noundef %3)
br label %5
5: ; preds = %7, %0
%6 = call i32 (...) @play()
br label %7
7: ; preds = %5
%8 = call i64 (...) @playmore()
%9 = icmp ne i64 %8, 0
br i1 %9, label %5, label %10, !llvm.loop !6
10: ; preds = %7
ret i32 0
}
declare i32 @intro(...) #1
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @play(...) #1
declare i64 @playmore(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmprceo7c5e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @intro()
%3 = call i32 @time(ptr noundef null)
%4 = call i32 @srand(i32 noundef %3)
br label %5
5: ; preds = %7, %0
%6 = call i32 (...) @play()
br label %7
7: ; preds = %5
%8 = call i64 (...) @playmore()
%9 = icmp ne i64 %8, 0
br i1 %9, label %5, label %10, !llvm.loop !6
10: ; preds = %7
ret i32 0
}
declare i32 @intro(...) #1
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @play(...) #1
declare i64 @playmore(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpi6pl9hdi.c'
source_filename = "/tmp/tmpi6pl9hdi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"SASDetachShm(%p) semdt failed;%s\0A\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @SASDetachShm(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 @shmdt(ptr noundef %3)
%5 = icmp eq i32 %4, -1
br i1 %5, label %6, label %11
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = load i32, ptr @errno, align 4
%9 = call ptr @strerror(i32 noundef %8)
%10 = call i32 @printf(ptr noundef @.str, ptr noundef %7, ptr noundef %9)
br label %11
11: ; preds = %6, %1
ret void
}
declare i32 @shmdt(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi6pl9hdi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"SASDetachShm(%p) semdt failed;%s\0A\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @SASDetachShm(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 @shmdt(ptr noundef %3)
%5 = icmp eq i32 %4, -1
br i1 %5, label %6, label %11
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = load i32, ptr @errno, align 4
%9 = call ptr @strerror(i32 noundef %8)
%10 = call i32 @printf(ptr noundef @.str, ptr noundef %7, ptr noundef %9)
br label %11
11: ; preds = %6, %1
ret void
}
declare i32 @shmdt(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgdxlsleo.c'
source_filename = "/tmp/tmpgdxlsleo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SYS_close = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @gotcha_close(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr @SYS_close, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @syscall(i32 noundef %3, i32 noundef %4)
ret i32 %5
}
declare i32 @syscall(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/tmpgdxlsleo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SYS_close = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @gotcha_close(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr @SYS_close, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @syscall(i32 noundef %3, i32 noundef %4)
ret i32 %5
}
declare i32 @syscall(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/tmpujmwp804.c'
source_filename = "/tmp/tmpujmwp804.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_GETFL = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"fcntl: %s\00", align 1
@errno = dso_local global i32 0, align 4
@F_SETFL = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @net_set_nonblock(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr @F_GETFL, align 4
%9 = call i32 (i32, i32, ...) @fcntl(i32 noundef %7, i32 noundef %8)
store i32 %9, ptr %6, align 4
%10 = icmp eq i32 %9, -1
br i1 %10, label %11, label %16
11: ; preds = %2
%12 = load ptr, ptr %4, align 8
%13 = load i32, ptr @errno, align 4
%14 = call i32 @strerror(i32 noundef %13)
%15 = call i32 @net_set_error(ptr noundef %12, ptr noundef @.str, i32 noundef %14)
store i32 0, ptr %3, align 4
br label %30
16: ; preds = %2
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr @F_SETFL, align 4
%19 = load i32, ptr %6, align 4
%20 = load i32, ptr @O_NONBLOCK, align 4
%21 = or i32 %19, %20
%22 = call i32 (i32, i32, ...) @fcntl(i32 noundef %17, i32 noundef %18, i32 noundef %21)
%23 = icmp eq i32 %22, -1
br i1 %23, label %24, label %29
24: ; preds = %16
%25 = load ptr, ptr %4, align 8
%26 = load i32, ptr @errno, align 4
%27 = call i32 @strerror(i32 noundef %26)
%28 = call i32 @net_set_error(ptr noundef %25, ptr noundef @.str, i32 noundef %27)
store i32 -1, ptr %3, align 4
br label %30
29: ; preds = %16
store i32 -1, ptr %3, align 4
br label %30
30: ; preds = %29, %24, %11
%31 = load i32, ptr %3, align 4
ret i32 %31
}
declare i32 @fcntl(i32 noundef, i32 noundef, ...) #1
declare i32 @net_set_error(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strerror(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpujmwp804.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_GETFL = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"fcntl: %s\00", align 1
@errno = dso_local global i32 0, align 4
@F_SETFL = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @net_set_nonblock(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr @F_GETFL, align 4
%9 = call i32 (i32, i32, ...) @fcntl(i32 noundef %7, i32 noundef %8)
store i32 %9, ptr %6, align 4
%10 = icmp eq i32 %9, -1
br i1 %10, label %11, label %16
11: ; preds = %2
%12 = load ptr, ptr %4, align 8
%13 = load i32, ptr @errno, align 4
%14 = call i32 @strerror(i32 noundef %13)
%15 = call i32 @net_set_error(ptr noundef %12, ptr noundef @.str, i32 noundef %14)
store i32 0, ptr %3, align 4
br label %30
16: ; preds = %2
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr @F_SETFL, align 4
%19 = load i32, ptr %6, align 4
%20 = load i32, ptr @O_NONBLOCK, align 4
%21 = or i32 %19, %20
%22 = call i32 (i32, i32, ...) @fcntl(i32 noundef %17, i32 noundef %18, i32 noundef %21)
%23 = icmp eq i32 %22, -1
br i1 %23, label %24, label %29
24: ; preds = %16
%25 = load ptr, ptr %4, align 8
%26 = load i32, ptr @errno, align 4
%27 = call i32 @strerror(i32 noundef %26)
%28 = call i32 @net_set_error(ptr noundef %25, ptr noundef @.str, i32 noundef %27)
store i32 -1, ptr %3, align 4
br label %30
29: ; preds = %16
store i32 -1, ptr %3, align 4
br label %30
30: ; preds = %29, %24, %11
%31 = load i32, ptr %3, align 4
ret i32 %31
}
declare i32 @fcntl(i32 noundef, i32 noundef, ...) #1
declare i32 @net_set_error(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strerror(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7f79gu8w.c'
source_filename = "/tmp/tmp7f79gu8w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i32 }
@.str = private unnamed_addr constant [12 x i8] c"performance\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"powersave\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @get_cpu_clockrate(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca i64, align 8
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca [512 x i8], align 16
%20 = alloca %struct.timeval, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i64 0, ptr %15, align 8
store i32 0, ptr %17, align 4
%21 = load i32, ptr %4, align 4
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %40
23: ; preds = %2
%24 = getelementptr inbounds [512 x i8], ptr %19, i64 0, i64 0
%25 = call i32 @scaling_governor(i32 noundef -1, ptr noundef %24, i32 noundef 512)
%26 = call i32 (...) @has_invariant_rdtsc()
%27 = icmp ne i32 %26, 0
br i1 %27, label %39, label %28
28: ; preds = %23
%29 = getelementptr inbounds [512 x i8], ptr %19, i64 0, i64 0
%30 = call i64 @strcmp(ptr noundef %29, ptr noundef @.str)
%31 = icmp ne i64 %30, 0
br i1 %31, label %32, label %39
32: ; preds = %28
%33 = getelementptr inbounds [512 x i8], ptr %19, i64 0, i64 0
%34 = call i64 @strcmp(ptr noundef %33, ptr noundef @.str.1)
%35 = icmp ne i64 %34, 0
br i1 %35, label %36, label %39
36: ; preds = %32
%37 = load i32, ptr %5, align 4
%38 = call i64 @generic_get_cpu_clockrate(i32 noundef %37)
store i64 %38, ptr %3, align 8
br label %155
39: ; preds = %32, %28, %23
store i32 5, ptr %18, align 4
br label %41
40: ; preds = %2
store i32 20, ptr %18, align 4
br label %41
41: ; preds = %40, %39
%42 = call i32 (...) @has_rdtsc()
%43 = icmp ne i32 %42, 0
br i1 %43, label %47, label %44
44: ; preds = %41
%45 = load i32, ptr %5, align 4
%46 = call i64 @generic_get_cpu_clockrate(i32 noundef %45)
store i64 %46, ptr %3, align 8
br label %155
47: ; preds = %41
store i32 3, ptr %16, align 4
br label %48
48: ; preds = %151, %47
%49 = call i64 (...) @timestamp()
store i64 %49, ptr %6, align 8
%50 = call i32 @gettimeofday(ptr noundef %20, ptr noundef null)
%51 = call i64 (...) @timestamp()
store i64 %51, ptr %7, align 8
%52 = getelementptr inbounds %struct.timeval, ptr %20, i32 0, i32 0
%53 = load i32, ptr %52, align 4
%54 = mul nsw i32 %53, 1000000
%55 = getelementptr inbounds %struct.timeval, ptr %20, i32 0, i32 1
%56 = load i32, ptr %55, align 4
%57 = add nsw i32 %54, %56
%58 = sext i32 %57 to i64
store i64 %58, ptr %10, align 8
br label %59
59: ; preds = %61, %48
%60 = call i64 (...) @timestamp()
store i64 %60, ptr %8, align 8
br label %61
61: ; preds = %59
%62 = load i64, ptr %8, align 8
%63 = load i64, ptr %7, align 8
%64 = load i32, ptr %16, align 4
%65 = mul nsw i32 1000000, %64
%66 = sext i32 %65 to i64
%67 = add i64 %63, %66
%68 = icmp ult i64 %62, %67
br i1 %68, label %59, label %69, !llvm.loop !6
69: ; preds = %61
%70 = call i64 (...) @timestamp()
store i64 %70, ptr %8, align 8
%71 = call i32 @gettimeofday(ptr noundef %20, ptr noundef null)
%72 = call i64 (...) @timestamp()
store i64 %72, ptr %9, align 8
%73 = getelementptr inbounds %struct.timeval, ptr %20, i32 0, i32 0
%74 = load i32, ptr %73, align 4
%75 = mul nsw i32 %74, 1000000
%76 = getelementptr inbounds %struct.timeval, ptr %20, i32 0, i32 1
%77 = load i32, ptr %76, align 4
%78 = add nsw i32 %75, %77
%79 = sext i32 %78 to i64
store i64 %79, ptr %11, align 8
%80 = load i64, ptr %8, align 8
%81 = load i64, ptr %7, align 8
%82 = sub i64 %80, %81
%83 = mul i64 %82, 1000000
%84 = load i64, ptr %11, align 8
%85 = load i64, ptr %10, align 8
%86 = sub i64 %84, %85
%87 = udiv i64 %83, %86
store i64 %87, ptr %12, align 8
%88 = load i64, ptr %9, align 8
%89 = load i64, ptr %6, align 8
%90 = sub i64 %88, %89
%91 = mul i64 %90, 1000000
%92 = load i64, ptr %11, align 8
%93 = load i64, ptr %10, align 8
%94 = sub i64 %92, %93
%95 = udiv i64 %91, %94
store i64 %95, ptr %13, align 8
%96 = load i64, ptr %12, align 8
%97 = uitofp i64 %96 to double
%98 = load i64, ptr %13, align 8
%99 = uitofp i64 %98 to double
%100 = fmul double %99, 0x3FEFF7CED916872B
%101 = fcmp ogt double %97, %100
br i1 %101, label %102, label %139
102: ; preds = %69
%103 = load i64, ptr %11, align 8
%104 = load i64, ptr %10, align 8
%105 = sub i64 %103, %104
%106 = icmp ugt i64 %105, 2000
br i1 %106, label %107, label %139
107: ; preds = %102
%108 = load i32, ptr %17, align 4
%109 = add nsw i32 %108, 1
store i32 %109, ptr %17, align 4
%110 = load i64, ptr %12, align 8
%111 = load i64, ptr %13, align 8
%112 = add i64 %110, %111
%113 = udiv i64 %112, 2
store i64 %113, ptr %14, align 8
%114 = load i64, ptr %15, align 8
%115 = icmp eq i64 %114, 0
br i1 %115, label %116, label %118
116: ; preds = %107
%117 = load i64, ptr %14, align 8
store i64 %117, ptr %15, align 8
br label %138
118: ; preds = %107
%119 = load i32, ptr %4, align 4
%120 = icmp ne i32 %119, 0
br i1 %120, label %121, label %127
121: ; preds = %118
%122 = load i64, ptr %14, align 8
%123 = load i64, ptr %15, align 8
%124 = icmp ult i64 %122, %123
br i1 %124, label %125, label %127
125: ; preds = %121
%126 = load i64, ptr %14, align 8
store i64 %126, ptr %15, align 8
br label %137
127: ; preds = %121, %118
%128 = load i32, ptr %4, align 4
%129 = icmp ne i32 %128, 0
br i1 %129, label %136, label %130
130: ; preds = %127
%131 = load i64, ptr %14, align 8
%132 = load i64, ptr %15, align 8
%133 = icmp ugt i64 %131, %132
br i1 %133, label %134, label %136
134: ; preds = %130
%135 = load i64, ptr %14, align 8
store i64 %135, ptr %15, align 8
br label %136
136: ; preds = %134, %130, %127
br label %137
137: ; preds = %136, %125
br label %138
138: ; preds = %137, %116
br label %139
139: ; preds = %138, %102, %69
%140 = load i32, ptr %16, align 4
%141 = add nsw i32 %140, 2
store i32 %141, ptr %16, align 4
br label %142
142: ; preds = %139
%143 = load i64, ptr %11, align 8
%144 = load i64, ptr %10, align 8
%145 = sub i64 %143, %144
%146 = icmp ult i64 %145, 10000
br i1 %146, label %151, label %147
147: ; preds = %142
%148 = load i32, ptr %17, align 4
%149 = load i32, ptr %18, align 4
%150 = icmp slt i32 %148, %149
br label %151
151: ; preds = %147, %142
%152 = phi i1 [ true, %142 ], [ %150, %147 ]
br i1 %152, label %48, label %153, !llvm.loop !8
153: ; preds = %151
%154 = load i64, ptr %15, align 8
store i64 %154, ptr %3, align 8
br label %155
155: ; preds = %153, %44, %36
%156 = load i64, ptr %3, align 8
ret i64 %156
}
declare i32 @scaling_governor(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @has_invariant_rdtsc(...) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i64 @generic_get_cpu_clockrate(i32 noundef) #1
declare i32 @has_rdtsc(...) #1
declare i64 @timestamp(...) #1
declare i32 @gettimeofday(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}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7f79gu8w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i32 }
@.str = private unnamed_addr constant [12 x i8] c"performance\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"powersave\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @get_cpu_clockrate(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca i64, align 8
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca [512 x i8], align 16
%20 = alloca %struct.timeval, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i64 0, ptr %15, align 8
store i32 0, ptr %17, align 4
%21 = load i32, ptr %4, align 4
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %40
23: ; preds = %2
%24 = getelementptr inbounds [512 x i8], ptr %19, i64 0, i64 0
%25 = call i32 @scaling_governor(i32 noundef -1, ptr noundef %24, i32 noundef 512)
%26 = call i32 (...) @has_invariant_rdtsc()
%27 = icmp ne i32 %26, 0
br i1 %27, label %39, label %28
28: ; preds = %23
%29 = getelementptr inbounds [512 x i8], ptr %19, i64 0, i64 0
%30 = call i64 @strcmp(ptr noundef %29, ptr noundef @.str)
%31 = icmp ne i64 %30, 0
br i1 %31, label %32, label %39
32: ; preds = %28
%33 = getelementptr inbounds [512 x i8], ptr %19, i64 0, i64 0
%34 = call i64 @strcmp(ptr noundef %33, ptr noundef @.str.1)
%35 = icmp ne i64 %34, 0
br i1 %35, label %36, label %39
36: ; preds = %32
%37 = load i32, ptr %5, align 4
%38 = call i64 @generic_get_cpu_clockrate(i32 noundef %37)
store i64 %38, ptr %3, align 8
br label %155
39: ; preds = %32, %28, %23
store i32 5, ptr %18, align 4
br label %41
40: ; preds = %2
store i32 20, ptr %18, align 4
br label %41
41: ; preds = %40, %39
%42 = call i32 (...) @has_rdtsc()
%43 = icmp ne i32 %42, 0
br i1 %43, label %47, label %44
44: ; preds = %41
%45 = load i32, ptr %5, align 4
%46 = call i64 @generic_get_cpu_clockrate(i32 noundef %45)
store i64 %46, ptr %3, align 8
br label %155
47: ; preds = %41
store i32 3, ptr %16, align 4
br label %48
48: ; preds = %151, %47
%49 = call i64 (...) @timestamp()
store i64 %49, ptr %6, align 8
%50 = call i32 @gettimeofday(ptr noundef %20, ptr noundef null)
%51 = call i64 (...) @timestamp()
store i64 %51, ptr %7, align 8
%52 = getelementptr inbounds %struct.timeval, ptr %20, i32 0, i32 0
%53 = load i32, ptr %52, align 4
%54 = mul nsw i32 %53, 1000000
%55 = getelementptr inbounds %struct.timeval, ptr %20, i32 0, i32 1
%56 = load i32, ptr %55, align 4
%57 = add nsw i32 %54, %56
%58 = sext i32 %57 to i64
store i64 %58, ptr %10, align 8
br label %59
59: ; preds = %61, %48
%60 = call i64 (...) @timestamp()
store i64 %60, ptr %8, align 8
br label %61
61: ; preds = %59
%62 = load i64, ptr %8, align 8
%63 = load i64, ptr %7, align 8
%64 = load i32, ptr %16, align 4
%65 = mul nsw i32 1000000, %64
%66 = sext i32 %65 to i64
%67 = add i64 %63, %66
%68 = icmp ult i64 %62, %67
br i1 %68, label %59, label %69, !llvm.loop !6
69: ; preds = %61
%70 = call i64 (...) @timestamp()
store i64 %70, ptr %8, align 8
%71 = call i32 @gettimeofday(ptr noundef %20, ptr noundef null)
%72 = call i64 (...) @timestamp()
store i64 %72, ptr %9, align 8
%73 = getelementptr inbounds %struct.timeval, ptr %20, i32 0, i32 0
%74 = load i32, ptr %73, align 4
%75 = mul nsw i32 %74, 1000000
%76 = getelementptr inbounds %struct.timeval, ptr %20, i32 0, i32 1
%77 = load i32, ptr %76, align 4
%78 = add nsw i32 %75, %77
%79 = sext i32 %78 to i64
store i64 %79, ptr %11, align 8
%80 = load i64, ptr %8, align 8
%81 = load i64, ptr %7, align 8
%82 = sub i64 %80, %81
%83 = mul i64 %82, 1000000
%84 = load i64, ptr %11, align 8
%85 = load i64, ptr %10, align 8
%86 = sub i64 %84, %85
%87 = udiv i64 %83, %86
store i64 %87, ptr %12, align 8
%88 = load i64, ptr %9, align 8
%89 = load i64, ptr %6, align 8
%90 = sub i64 %88, %89
%91 = mul i64 %90, 1000000
%92 = load i64, ptr %11, align 8
%93 = load i64, ptr %10, align 8
%94 = sub i64 %92, %93
%95 = udiv i64 %91, %94
store i64 %95, ptr %13, align 8
%96 = load i64, ptr %12, align 8
%97 = uitofp i64 %96 to double
%98 = load i64, ptr %13, align 8
%99 = uitofp i64 %98 to double
%100 = fmul double %99, 0x3FEFF7CED916872B
%101 = fcmp ogt double %97, %100
br i1 %101, label %102, label %139
102: ; preds = %69
%103 = load i64, ptr %11, align 8
%104 = load i64, ptr %10, align 8
%105 = sub i64 %103, %104
%106 = icmp ugt i64 %105, 2000
br i1 %106, label %107, label %139
107: ; preds = %102
%108 = load i32, ptr %17, align 4
%109 = add nsw i32 %108, 1
store i32 %109, ptr %17, align 4
%110 = load i64, ptr %12, align 8
%111 = load i64, ptr %13, align 8
%112 = add i64 %110, %111
%113 = udiv i64 %112, 2
store i64 %113, ptr %14, align 8
%114 = load i64, ptr %15, align 8
%115 = icmp eq i64 %114, 0
br i1 %115, label %116, label %118
116: ; preds = %107
%117 = load i64, ptr %14, align 8
store i64 %117, ptr %15, align 8
br label %138
118: ; preds = %107
%119 = load i32, ptr %4, align 4
%120 = icmp ne i32 %119, 0
br i1 %120, label %121, label %127
121: ; preds = %118
%122 = load i64, ptr %14, align 8
%123 = load i64, ptr %15, align 8
%124 = icmp ult i64 %122, %123
br i1 %124, label %125, label %127
125: ; preds = %121
%126 = load i64, ptr %14, align 8
store i64 %126, ptr %15, align 8
br label %137
127: ; preds = %121, %118
%128 = load i32, ptr %4, align 4
%129 = icmp ne i32 %128, 0
br i1 %129, label %136, label %130
130: ; preds = %127
%131 = load i64, ptr %14, align 8
%132 = load i64, ptr %15, align 8
%133 = icmp ugt i64 %131, %132
br i1 %133, label %134, label %136
134: ; preds = %130
%135 = load i64, ptr %14, align 8
store i64 %135, ptr %15, align 8
br label %136
136: ; preds = %134, %130, %127
br label %137
137: ; preds = %136, %125
br label %138
138: ; preds = %137, %116
br label %139
139: ; preds = %138, %102, %69
%140 = load i32, ptr %16, align 4
%141 = add nsw i32 %140, 2
store i32 %141, ptr %16, align 4
br label %142
142: ; preds = %139
%143 = load i64, ptr %11, align 8
%144 = load i64, ptr %10, align 8
%145 = sub i64 %143, %144
%146 = icmp ult i64 %145, 10000
br i1 %146, label %151, label %147
147: ; preds = %142
%148 = load i32, ptr %17, align 4
%149 = load i32, ptr %18, align 4
%150 = icmp slt i32 %148, %149
br label %151
151: ; preds = %147, %142
%152 = phi i1 [ true, %142 ], [ %150, %147 ]
br i1 %152, label %48, label %153, !llvm.loop !8
153: ; preds = %151
%154 = load i64, ptr %15, align 8
store i64 %154, ptr %3, align 8
br label %155
155: ; preds = %153, %44, %36
%156 = load i64, ptr %3, align 8
ret i64 %156
}
declare i32 @scaling_governor(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @has_invariant_rdtsc(...) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i64 @generic_get_cpu_clockrate(i32 noundef) #1
declare i32 @has_rdtsc(...) #1
declare i64 @timestamp(...) #1
declare i32 @gettimeofday(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}
|
; ModuleID = '/tmp/tmpr6quhed5.c'
source_filename = "/tmp/tmpr6quhed5.c"
target datalayout = "e-m:e-p270: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/tmpr6quhed5.c"
target datalayout = "e-m:e-p270: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/tmpvvcxvri1.c'
source_filename = "/tmp/tmpvvcxvri1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [87 x i8] c"%s:%d:procedure function is about to finish and no return statement has been executed\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ReturnException(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr @stderr, align 4
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %6, align 4
%10 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str, ptr noundef %8, i32 noundef %9)
%11 = call i32 @_exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @_exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvvcxvri1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [87 x i8] c"%s:%d:procedure function is about to finish and no return statement has been executed\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ReturnException(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr @stderr, align 4
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %6, align 4
%10 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str, ptr noundef %8, i32 noundef %9)
%11 = call i32 @_exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @_exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0dxaf0ie.c'
source_filename = "/tmp/tmp0dxaf0ie.c"
target datalayout = "e-m:e-p270: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/tmp0dxaf0ie.c"
target datalayout = "e-m:e-p270: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/tmpb3zxe96s.c'
source_filename = "/tmp/tmpb3zxe96s.c"
target datalayout = "e-m:e-p270: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/tmpb3zxe96s.c"
target datalayout = "e-m:e-p270: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/tmpcuufqbfw.c'
source_filename = "/tmp/tmpcuufqbfw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca 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 [100005 x i8], align 16
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
%10 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
br label %11
11: ; preds = %76, %0
%12 = load i32, ptr %2, align 4
%13 = add nsw i32 %12, -1
store i32 %13, ptr %2, align 4
%14 = icmp ne i32 %12, 0
br i1 %14, label %15, label %82
15: ; preds = %11
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
%16 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %4)
%17 = getelementptr inbounds [100005 x i8], ptr %9, i64 0, i64 0
%18 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %17)
store i32 0, ptr %3, align 4
br label %19
19: ; preds = %56, %15
%20 = load i32, ptr %3, align 4
%21 = load i32, ptr %4, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %23, label %59
23: ; preds = %19
%24 = load i32, ptr %3, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [100005 x i8], ptr %9, i64 0, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 82
br i1 %29, label %30, label %33
30: ; preds = %23
%31 = load i32, ptr %5, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %5, align 4
br label %55
33: ; preds = %23
%34 = load i32, ptr %3, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [100005 x i8], ptr %9, i64 0, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %38, 66
br i1 %39, label %40, label %43
40: ; preds = %33
%41 = load i32, ptr %7, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %7, align 4
br label %54
43: ; preds = %33
%44 = load i32, ptr %3, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [100005 x i8], ptr %9, i64 0, i64 %45
%47 = load i8, ptr %46, align 1
%48 = sext i8 %47 to i32
%49 = icmp eq i32 %48, 71
br i1 %49, label %50, label %53
50: ; preds = %43
%51 = load i32, ptr %6, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %6, align 4
br label %53
53: ; preds = %50, %43
br label %54
54: ; preds = %53, %40
br label %55
55: ; preds = %54, %30
br label %56
56: ; preds = %55
%57 = load i32, ptr %3, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %3, align 4
br label %19, !llvm.loop !6
59: ; preds = %19
%60 = load i32, ptr %5, align 4
%61 = load i32, ptr %7, align 4
%62 = icmp sgt i32 %60, %61
br i1 %62, label %63, label %65
63: ; preds = %59
%64 = load i32, ptr %5, align 4
br label %67
65: ; preds = %59
%66 = load i32, ptr %7, align 4
br label %67
67: ; preds = %65, %63
%68 = phi i32 [ %64, %63 ], [ %66, %65 ]
store i32 %68, ptr %8, align 4
%69 = load i32, ptr %8, align 4
%70 = load i32, ptr %6, align 4
%71 = icmp sgt i32 %69, %70
br i1 %71, label %72, label %74
72: ; preds = %67
%73 = load i32, ptr %8, align 4
br label %76
74: ; preds = %67
%75 = load i32, ptr %6, align 4
br label %76
76: ; preds = %74, %72
%77 = phi i32 [ %73, %72 ], [ %75, %74 ]
store i32 %77, ptr %8, align 4
%78 = load i32, ptr %4, align 4
%79 = load i32, ptr %8, align 4
%80 = sub nsw i32 %78, %79
%81 = call i32 @printf(ptr noundef @.str.2, i32 noundef %80)
br label %11, !llvm.loop !8
82: ; preds = %11
ret i32 0
}
declare i32 @scanf(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcuufqbfw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca 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 [100005 x i8], align 16
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
%10 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
%11 = load i32, ptr %2, align 4
%12 = add nsw i32 %11, -1
store i32 %12, ptr %2, align 4
%13 = icmp ne i32 %11, 0
br i1 %13, label %.lr.ph2, label %86
.lr.ph2: ; preds = %0
br label %14
14: ; preds = %.lr.ph2, %77
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
%15 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %4)
%16 = getelementptr inbounds [100005 x i8], ptr %9, i64 0, i64 0
%17 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %16)
store i32 0, ptr %3, align 4
%18 = load i32, ptr %3, align 4
%19 = load i32, ptr %4, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph, label %60
.lr.ph: ; preds = %14
br label %21
21: ; preds = %.lr.ph, %54
%22 = load i32, ptr %3, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [100005 x i8], ptr %9, i64 0, i64 %23
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 82
br i1 %27, label %28, label %31
28: ; preds = %21
%29 = load i32, ptr %5, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %5, align 4
br label %53
31: ; preds = %21
%32 = load i32, ptr %3, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [100005 x i8], ptr %9, i64 0, i64 %33
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp eq i32 %36, 66
br i1 %37, label %38, label %41
38: ; preds = %31
%39 = load i32, ptr %7, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %7, align 4
br label %52
41: ; preds = %31
%42 = load i32, ptr %3, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [100005 x i8], ptr %9, i64 0, i64 %43
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp eq i32 %46, 71
br i1 %47, label %48, label %51
48: ; preds = %41
%49 = load i32, ptr %6, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %6, align 4
br label %51
51: ; preds = %48, %41
br label %52
52: ; preds = %51, %38
br label %53
53: ; preds = %52, %28
br label %54
54: ; preds = %53
%55 = load i32, ptr %3, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %3, align 4
%57 = load i32, ptr %3, align 4
%58 = load i32, ptr %4, align 4
%59 = icmp slt i32 %57, %58
br i1 %59, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %54
br label %60
60: ; preds = %._crit_edge, %14
%61 = load i32, ptr %5, align 4
%62 = load i32, ptr %7, align 4
%63 = icmp sgt i32 %61, %62
br i1 %63, label %64, label %66
64: ; preds = %60
%65 = load i32, ptr %5, align 4
br label %68
66: ; preds = %60
%67 = load i32, ptr %7, align 4
br label %68
68: ; preds = %66, %64
%69 = phi i32 [ %65, %64 ], [ %67, %66 ]
store i32 %69, ptr %8, align 4
%70 = load i32, ptr %8, align 4
%71 = load i32, ptr %6, align 4
%72 = icmp sgt i32 %70, %71
br i1 %72, label %73, label %75
73: ; preds = %68
%74 = load i32, ptr %8, align 4
br label %77
75: ; preds = %68
%76 = load i32, ptr %6, align 4
br label %77
77: ; preds = %75, %73
%78 = phi i32 [ %74, %73 ], [ %76, %75 ]
store i32 %78, ptr %8, align 4
%79 = load i32, ptr %4, align 4
%80 = load i32, ptr %8, align 4
%81 = sub nsw i32 %79, %80
%82 = call i32 @printf(ptr noundef @.str.2, i32 noundef %81)
%83 = load i32, ptr %2, align 4
%84 = add nsw i32 %83, -1
store i32 %84, ptr %2, align 4
%85 = icmp ne i32 %83, 0
br i1 %85, label %14, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %77
br label %86
86: ; preds = %._crit_edge3, %0
ret i32 0
}
declare i32 @scanf(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpaib5x8o5.c'
source_filename = "/tmp/tmpaib5x8o5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @add(i32 noundef 3, i32 noundef 5)
ret i32 %2
}
declare i32 @add(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/tmpaib5x8o5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @add(i32 noundef 3, i32 noundef 5)
ret i32 %2
}
declare i32 @add(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/tmprf7mut_u.c'
source_filename = "/tmp/tmprf7mut_u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"d0fc ldr r1,[pc,#360]\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"ldr\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"r1, [pc, #360]\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"d0fc nop\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"nop\00", align 1
@.str.5 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_parse_ovp_disassembled_line() #0 {
%1 = alloca [2 x [100 x i8]], align 16
%2 = getelementptr inbounds [2 x [100 x i8]], ptr %1, i64 0, i64 0
%3 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%4 = getelementptr inbounds [2 x [100 x i8]], ptr %1, i64 0, i64 1
%5 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0
%6 = call i32 @parse_ovp_disassembled_line(ptr noundef @.str, ptr noundef %3, ptr noundef %5)
%7 = getelementptr inbounds [2 x [100 x i8]], ptr %1, i64 0, i64 0
%8 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0
%9 = call i64 @strcmp(ptr noundef %8, ptr noundef @.str.1)
%10 = icmp eq i64 %9, 0
%11 = zext i1 %10 to i32
%12 = call i32 @assert(i32 noundef %11)
%13 = getelementptr inbounds [2 x [100 x i8]], ptr %1, i64 0, i64 1
%14 = getelementptr inbounds [100 x i8], ptr %13, i64 0, i64 0
%15 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str.2)
%16 = icmp eq i64 %15, 0
%17 = zext i1 %16 to i32
%18 = call i32 @assert(i32 noundef %17)
%19 = getelementptr inbounds [2 x [100 x i8]], ptr %1, i64 0, i64 0
%20 = getelementptr inbounds [100 x i8], ptr %19, i64 0, i64 0
%21 = getelementptr inbounds [2 x [100 x i8]], ptr %1, i64 0, i64 1
%22 = getelementptr inbounds [100 x i8], ptr %21, i64 0, i64 0
%23 = call i32 @parse_ovp_disassembled_line(ptr noundef @.str.3, ptr noundef %20, ptr noundef %22)
%24 = getelementptr inbounds [2 x [100 x i8]], ptr %1, i64 0, i64 0
%25 = getelementptr inbounds [100 x i8], ptr %24, i64 0, i64 0
%26 = call i64 @strcmp(ptr noundef %25, ptr noundef @.str.4)
%27 = icmp eq i64 %26, 0
%28 = zext i1 %27 to i32
%29 = call i32 @assert(i32 noundef %28)
%30 = getelementptr inbounds [2 x [100 x i8]], ptr %1, i64 0, i64 1
%31 = getelementptr inbounds [100 x i8], ptr %30, i64 0, i64 0
%32 = call i64 @strcmp(ptr noundef %31, ptr noundef @.str.5)
%33 = icmp eq i64 %32, 0
%34 = zext i1 %33 to i32
%35 = call i32 @assert(i32 noundef %34)
ret void
}
declare i32 @parse_ovp_disassembled_line(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @assert(i32 noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprf7mut_u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"d0fc ldr r1,[pc,#360]\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"ldr\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"r1, [pc, #360]\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"d0fc nop\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"nop\00", align 1
@.str.5 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_parse_ovp_disassembled_line() #0 {
%1 = alloca [2 x [100 x i8]], align 16
%2 = getelementptr inbounds [2 x [100 x i8]], ptr %1, i64 0, i64 0
%3 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%4 = getelementptr inbounds [2 x [100 x i8]], ptr %1, i64 0, i64 1
%5 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0
%6 = call i32 @parse_ovp_disassembled_line(ptr noundef @.str, ptr noundef %3, ptr noundef %5)
%7 = getelementptr inbounds [2 x [100 x i8]], ptr %1, i64 0, i64 0
%8 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0
%9 = call i64 @strcmp(ptr noundef %8, ptr noundef @.str.1)
%10 = icmp eq i64 %9, 0
%11 = zext i1 %10 to i32
%12 = call i32 @assert(i32 noundef %11)
%13 = getelementptr inbounds [2 x [100 x i8]], ptr %1, i64 0, i64 1
%14 = getelementptr inbounds [100 x i8], ptr %13, i64 0, i64 0
%15 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str.2)
%16 = icmp eq i64 %15, 0
%17 = zext i1 %16 to i32
%18 = call i32 @assert(i32 noundef %17)
%19 = getelementptr inbounds [2 x [100 x i8]], ptr %1, i64 0, i64 0
%20 = getelementptr inbounds [100 x i8], ptr %19, i64 0, i64 0
%21 = getelementptr inbounds [2 x [100 x i8]], ptr %1, i64 0, i64 1
%22 = getelementptr inbounds [100 x i8], ptr %21, i64 0, i64 0
%23 = call i32 @parse_ovp_disassembled_line(ptr noundef @.str.3, ptr noundef %20, ptr noundef %22)
%24 = getelementptr inbounds [2 x [100 x i8]], ptr %1, i64 0, i64 0
%25 = getelementptr inbounds [100 x i8], ptr %24, i64 0, i64 0
%26 = call i64 @strcmp(ptr noundef %25, ptr noundef @.str.4)
%27 = icmp eq i64 %26, 0
%28 = zext i1 %27 to i32
%29 = call i32 @assert(i32 noundef %28)
%30 = getelementptr inbounds [2 x [100 x i8]], ptr %1, i64 0, i64 1
%31 = getelementptr inbounds [100 x i8], ptr %30, i64 0, i64 0
%32 = call i64 @strcmp(ptr noundef %31, ptr noundef @.str.5)
%33 = icmp eq i64 %32, 0
%34 = zext i1 %33 to i32
%35 = call i32 @assert(i32 noundef %34)
ret void
}
declare i32 @parse_ovp_disassembled_line(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @assert(i32 noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4w4uf068.c'
source_filename = "/tmp/tmp4w4uf068.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
store i32 0, ptr %1, align 4
%4 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %2, align 4
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp ne i32 %6, %7
br i1 %8, label %9, label %11
9: ; preds = %0
br label %10
10: ; preds = %9
store i32 -1, ptr %1, align 4
br label %12
11: ; preds = %0
store i32 0, ptr %1, align 4
br label %12
12: ; preds = %11, %10
%13 = load i32, ptr %1, align 4
ret i32 %13
}
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4w4uf068.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
store i32 0, ptr %1, align 4
%4 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %2, align 4
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp ne i32 %6, %7
br i1 %8, label %9, label %11
9: ; preds = %0
br label %10
10: ; preds = %9
store i32 -1, ptr %1, align 4
br label %12
11: ; preds = %0
store i32 0, ptr %1, align 4
br label %12
12: ; preds = %11, %10
%13 = load i32, ptr %1, align 4
ret i32 %13
}
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"}
|
; ModuleID = '/tmp/tmp20xozaqm.c'
source_filename = "/tmp/tmp20xozaqm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PKCS7_ENCRYPT_it = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @PKCS7_ENCRYPT_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @ASN1_item_free(ptr noundef %3, ptr noundef @PKCS7_ENCRYPT_it)
ret void
}
declare i32 @ASN1_item_free(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/tmp20xozaqm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PKCS7_ENCRYPT_it = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @PKCS7_ENCRYPT_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @ASN1_item_free(ptr noundef %3, ptr noundef @PKCS7_ENCRYPT_it)
ret void
}
declare i32 @ASN1_item_free(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/tmp5fn1s0cu.c'
source_filename = "/tmp/tmp5fn1s0cu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @grub_isspace(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 eq i32 %3, 10
br i1 %4, label %14, label %5
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = icmp eq i32 %6, 13
br i1 %7, label %14, label %8
8: ; preds = %5
%9 = load i32, ptr %2, align 4
%10 = icmp eq i32 %9, 32
br i1 %10, label %14, label %11
11: ; preds = %8
%12 = load i32, ptr %2, align 4
%13 = icmp eq i32 %12, 9
br label %14
14: ; preds = %11, %8, %5, %1
%15 = phi i1 [ true, %8 ], [ true, %5 ], [ true, %1 ], [ %13, %11 ]
%16 = zext i1 %15 to i32
ret i32 %16
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5fn1s0cu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @grub_isspace(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 eq i32 %3, 10
br i1 %4, label %14, label %5
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = icmp eq i32 %6, 13
br i1 %7, label %14, label %8
8: ; preds = %5
%9 = load i32, ptr %2, align 4
%10 = icmp eq i32 %9, 32
br i1 %10, label %14, label %11
11: ; preds = %8
%12 = load i32, ptr %2, align 4
%13 = icmp eq i32 %12, 9
br label %14
14: ; preds = %11, %8, %5, %1
%15 = phi i1 [ true, %8 ], [ true, %5 ], [ true, %1 ], [ %13, %11 ]
%16 = zext i1 %15 to i32
ret i32 %16
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpq0jjkfbc.c'
source_filename = "/tmp/tmpq0jjkfbc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @network_base64encode(ptr noundef %0, ptr noundef %1) #0 {
%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 [3 x i8], align 1
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%9 = load ptr, ptr %3, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %7, align 4
%11 = load ptr, ptr %3, align 8
store ptr %11, ptr %5, align 8
%12 = load ptr, ptr %4, align 8
store ptr %12, ptr %6, align 8
br label %13
13: ; preds = %16, %2
%14 = load i32, ptr %7, align 4
%15 = icmp sge i32 %14, 3
br i1 %15, label %16, label %26
16: ; preds = %13
%17 = load ptr, ptr %5, align 8
%18 = load ptr, ptr %6, align 8
%19 = call i32 @network_convbase64_8x3_to_6x4(ptr noundef %17, ptr noundef %18)
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds i8, ptr %20, i64 3
store ptr %21, ptr %5, align 8
%22 = load ptr, ptr %6, align 8
%23 = getelementptr inbounds i8, ptr %22, i64 4
store ptr %23, ptr %6, align 8
%24 = load i32, ptr %7, align 4
%25 = sub nsw i32 %24, 3
store i32 %25, ptr %7, align 4
br label %13, !llvm.loop !6
26: ; preds = %13
%27 = load i32, ptr %7, align 4
%28 = icmp sgt i32 %27, 0
br i1 %28, label %29, label %60
29: ; preds = %26
call void @llvm.memset.p0.i64(ptr align 1 %8, i8 0, i64 3, i1 false)
%30 = load i32, ptr %7, align 4
switch i32 %30, label %57 [
i32 1, label %31
i32 2, label %43
]
31: ; preds = %29
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds i8, ptr %32, i64 0
%34 = load i8, ptr %33, align 1
%35 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 0
store i8 %34, ptr %35, align 1
%36 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 0
%37 = load ptr, ptr %6, align 8
%38 = call i32 @network_convbase64_8x3_to_6x4(ptr noundef %36, ptr noundef %37)
%39 = load ptr, ptr %6, align 8
%40 = getelementptr inbounds i8, ptr %39, i64 3
store i8 61, ptr %40, align 1
%41 = load ptr, ptr %6, align 8
%42 = getelementptr inbounds i8, ptr %41, i64 2
store i8 61, ptr %42, align 1
br label %57
43: ; preds = %29
%44 = load ptr, ptr %5, align 8
%45 = getelementptr inbounds i8, ptr %44, i64 0
%46 = load i8, ptr %45, align 1
%47 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 0
store i8 %46, ptr %47, align 1
%48 = load ptr, ptr %5, align 8
%49 = getelementptr inbounds i8, ptr %48, i64 1
%50 = load i8, ptr %49, align 1
%51 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 1
store i8 %50, ptr %51, align 1
%52 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 0
%53 = load ptr, ptr %6, align 8
%54 = call i32 @network_convbase64_8x3_to_6x4(ptr noundef %52, ptr noundef %53)
%55 = load ptr, ptr %6, align 8
%56 = getelementptr inbounds i8, ptr %55, i64 3
store i8 61, ptr %56, align 1
br label %57
57: ; preds = %29, %43, %31
%58 = load ptr, ptr %6, align 8
%59 = getelementptr inbounds i8, ptr %58, i64 4
store i8 0, ptr %59, align 1
br label %60
60: ; preds = %57, %26
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @network_convbase64_8x3_to_6x4(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpq0jjkfbc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @network_base64encode(ptr noundef %0, ptr noundef %1) #0 {
%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 [3 x i8], align 1
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%9 = load ptr, ptr %3, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %7, align 4
%11 = load ptr, ptr %3, align 8
store ptr %11, ptr %5, align 8
%12 = load ptr, ptr %4, align 8
store ptr %12, ptr %6, align 8
%13 = load i32, ptr %7, align 4
%14 = icmp sge i32 %13, 3
br i1 %14, label %.lr.ph, label %27
.lr.ph: ; preds = %2
br label %15
15: ; preds = %.lr.ph, %15
%16 = load ptr, ptr %5, align 8
%17 = load ptr, ptr %6, align 8
%18 = call i32 @network_convbase64_8x3_to_6x4(ptr noundef %16, ptr noundef %17)
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds i8, ptr %19, i64 3
store ptr %20, ptr %5, align 8
%21 = load ptr, ptr %6, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 4
store ptr %22, ptr %6, align 8
%23 = load i32, ptr %7, align 4
%24 = sub nsw i32 %23, 3
store i32 %24, ptr %7, align 4
%25 = load i32, ptr %7, align 4
%26 = icmp sge i32 %25, 3
br i1 %26, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %27
27: ; preds = %._crit_edge, %2
%28 = load i32, ptr %7, align 4
%29 = icmp sgt i32 %28, 0
br i1 %29, label %30, label %61
30: ; preds = %27
call void @llvm.memset.p0.i64(ptr align 1 %8, i8 0, i64 3, i1 false)
%31 = load i32, ptr %7, align 4
switch i32 %31, label %58 [
i32 1, label %32
i32 2, label %44
]
32: ; preds = %30
%33 = load ptr, ptr %5, align 8
%34 = getelementptr inbounds i8, ptr %33, i64 0
%35 = load i8, ptr %34, align 1
%36 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 0
store i8 %35, ptr %36, align 1
%37 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 0
%38 = load ptr, ptr %6, align 8
%39 = call i32 @network_convbase64_8x3_to_6x4(ptr noundef %37, ptr noundef %38)
%40 = load ptr, ptr %6, align 8
%41 = getelementptr inbounds i8, ptr %40, i64 3
store i8 61, ptr %41, align 1
%42 = load ptr, ptr %6, align 8
%43 = getelementptr inbounds i8, ptr %42, i64 2
store i8 61, ptr %43, align 1
br label %58
44: ; preds = %30
%45 = load ptr, ptr %5, align 8
%46 = getelementptr inbounds i8, ptr %45, i64 0
%47 = load i8, ptr %46, align 1
%48 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 0
store i8 %47, ptr %48, align 1
%49 = load ptr, ptr %5, align 8
%50 = getelementptr inbounds i8, ptr %49, i64 1
%51 = load i8, ptr %50, align 1
%52 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 1
store i8 %51, ptr %52, align 1
%53 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 0
%54 = load ptr, ptr %6, align 8
%55 = call i32 @network_convbase64_8x3_to_6x4(ptr noundef %53, ptr noundef %54)
%56 = load ptr, ptr %6, align 8
%57 = getelementptr inbounds i8, ptr %56, i64 3
store i8 61, ptr %57, align 1
br label %58
58: ; preds = %44, %32, %30
%59 = load ptr, ptr %6, align 8
%60 = getelementptr inbounds i8, ptr %59, i64 4
store i8 0, ptr %60, align 1
br label %61
61: ; preds = %58, %27
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @network_convbase64_8x3_to_6x4(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpr09s77pe.c'
source_filename = "/tmp/tmpr09s77pe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @math__Float__cos(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %2, align 8
%5 = load double, ptr %2, align 8
%6 = call double @cos(double noundef %5) #2
store double %6, ptr %4, align 8
%7 = load double, ptr %4, align 8
store double %7, ptr %3, align 8
br label %8
8: ; preds = %1
%9 = load double, ptr %3, align 8
ret double %9
}
; Function Attrs: nounwind
declare double @cos(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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr09s77pe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @math__Float__cos(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %2, align 8
%5 = load double, ptr %2, align 8
%6 = call double @cos(double noundef %5) #2
store double %6, ptr %4, align 8
%7 = load double, ptr %4, align 8
store double %7, ptr %3, align 8
br label %8
8: ; preds = %1
%9 = load double, ptr %3, align 8
ret double %9
}
; Function Attrs: nounwind
declare double @cos(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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprju1o0ol.c'
source_filename = "/tmp/tmprju1o0ol.c"
target datalayout = "e-m:e-p270: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/tmprju1o0ol.c"
target datalayout = "e-m:e-p270: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/tmpev9xhwnp.c'
source_filename = "/tmp/tmpev9xhwnp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @equalsIgnoreCase(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i64 @length(ptr noundef %6)
%8 = load ptr, ptr %5, align 8
%9 = call i64 @length(ptr noundef %8)
%10 = icmp ne i64 %7, %9
br i1 %10, label %11, label %12
11: ; preds = %2
store i32 0, ptr %3, align 4
br label %33
12: ; preds = %2
br label %13
13: ; preds = %27, %12
%14 = load ptr, ptr %4, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %32
18: ; preds = %13
%19 = load ptr, ptr %4, align 8
%20 = load i8, ptr %19, align 1
%21 = call i64 @toLower(i8 noundef signext %20)
%22 = load ptr, ptr %5, align 8
%23 = load i8, ptr %22, align 1
%24 = call i64 @toLower(i8 noundef signext %23)
%25 = icmp ne i64 %21, %24
br i1 %25, label %26, label %27
26: ; preds = %18
store i32 0, ptr %3, align 4
br label %33
27: ; preds = %18
%28 = load ptr, ptr %4, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %4, align 8
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds i8, ptr %30, i32 1
store ptr %31, ptr %5, align 8
br label %13, !llvm.loop !6
32: ; preds = %13
store i32 1, ptr %3, align 4
br label %33
33: ; preds = %32, %26, %11
%34 = load i32, ptr %3, align 4
ret i32 %34
}
declare i64 @length(ptr noundef) #1
declare i64 @toLower(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/tmpev9xhwnp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @equalsIgnoreCase(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i64 @length(ptr noundef %6)
%8 = load ptr, ptr %5, align 8
%9 = call i64 @length(ptr noundef %8)
%10 = icmp ne i64 %7, %9
br i1 %10, label %11, label %12
11: ; preds = %2
store i32 0, ptr %3, align 4
br label %36
12: ; preds = %2
%13 = load ptr, ptr %4, 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 %.lr.ph, label %35
.lr.ph: ; preds = %12
br label %17
17: ; preds = %.lr.ph, %26
%18 = load ptr, ptr %4, align 8
%19 = load i8, ptr %18, align 1
%20 = call i64 @toLower(i8 noundef signext %19)
%21 = load ptr, ptr %5, align 8
%22 = load i8, ptr %21, align 1
%23 = call i64 @toLower(i8 noundef signext %22)
%24 = icmp ne i64 %20, %23
br i1 %24, label %25, label %26
25: ; preds = %17
store i32 0, ptr %3, align 4
br label %36
26: ; preds = %17
%27 = load ptr, ptr %4, align 8
%28 = getelementptr inbounds i8, ptr %27, i32 1
store ptr %28, ptr %4, align 8
%29 = load ptr, ptr %5, align 8
%30 = getelementptr inbounds i8, ptr %29, i32 1
store ptr %30, ptr %5, align 8
%31 = load ptr, ptr %4, align 8
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp ne i32 %33, 0
br i1 %34, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %35
35: ; preds = %._crit_edge, %12
store i32 1, ptr %3, align 4
br label %36
36: ; preds = %35, %25, %11
%37 = load i32, ptr %3, align 4
ret i32 %37
}
declare i64 @length(ptr noundef) #1
declare i64 @toLower(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/tmp6hcod_dh.c'
source_filename = "/tmp/tmp6hcod_dh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ATM_CELL_PAYLOAD = dso_local global i32 0, align 4
@ATM_CELL_SIZE = 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/tmp6hcod_dh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ATM_CELL_PAYLOAD = dso_local global i32 0, align 4
@ATM_CELL_SIZE = 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/tmp56g62dxr.c'
source_filename = "/tmp/tmp56g62dxr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BUFSIZ = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"%d: %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mybcerror(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load i32, ptr @BUFSIZ, align 4
%8 = zext i32 %7 to i64
%9 = call ptr @llvm.stacksave()
store ptr %9, ptr %5, align 8
%10 = alloca i8, i64 %8, align 16
store i64 %8, ptr %6, align 8
%11 = load i32, ptr %4, align 4
%12 = load ptr, ptr %3, align 8
%13 = call i32 @sprintf(ptr noundef %10, ptr noundef @.str, i32 noundef %11, ptr noundef %12)
%14 = call i32 @yyerror(ptr noundef %10)
%15 = load ptr, ptr %5, align 8
call void @llvm.stackrestore(ptr %15)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2
declare i32 @yyerror(ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp56g62dxr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BUFSIZ = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"%d: %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mybcerror(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load i32, ptr @BUFSIZ, align 4
%8 = zext i32 %7 to i64
%9 = call ptr @llvm.stacksave()
store ptr %9, ptr %5, align 8
%10 = alloca i8, i64 %8, align 16
store i64 %8, ptr %6, align 8
%11 = load i32, ptr %4, align 4
%12 = load ptr, ptr %3, align 8
%13 = call i32 @sprintf(ptr noundef %10, ptr noundef @.str, i32 noundef %11, ptr noundef %12)
%14 = call i32 @yyerror(ptr noundef %10)
%15 = load ptr, ptr %5, align 8
call void @llvm.stackrestore(ptr %15)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2
declare i32 @yyerror(ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5m75wxqa.c'
source_filename = "/tmp/tmp5m75wxqa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PTRACE_SEIZE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @attach_n_stop(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr @PTRACE_SEIZE, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 @ptrace(i32 noundef %4, i32 noundef %5, ptr noundef null, ptr noundef null)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp ne i32 %7, -1
br i1 %8, label %9, label %13
9: ; preds = %1
%10 = load i32, ptr %2, align 4
%11 = call i32 @pause_pid(i32 noundef %10)
%12 = call i32 @wait(ptr noundef null)
br label %13
13: ; preds = %9, %1
%14 = load i32, ptr %3, align 4
ret i32 %14
}
declare i32 @ptrace(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @pause_pid(i32 noundef) #1
declare i32 @wait(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5m75wxqa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PTRACE_SEIZE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @attach_n_stop(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr @PTRACE_SEIZE, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 @ptrace(i32 noundef %4, i32 noundef %5, ptr noundef null, ptr noundef null)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp ne i32 %7, -1
br i1 %8, label %9, label %13
9: ; preds = %1
%10 = load i32, ptr %2, align 4
%11 = call i32 @pause_pid(i32 noundef %10)
%12 = call i32 @wait(ptr noundef null)
br label %13
13: ; preds = %9, %1
%14 = load i32, ptr %3, align 4
ret i32 %14
}
declare i32 @ptrace(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @pause_pid(i32 noundef) #1
declare i32 @wait(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpohq7ypis.c'
source_filename = "/tmp/tmpohq7ypis.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @startsWithWordByDelimiter(ptr noundef %0, i8 noundef signext %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca ptr, align 8
%8 = alloca i8, align 1
store ptr %0, ptr %5, align 8
store i8 %1, ptr %6, align 1
store ptr %2, ptr %7, align 8
%9 = load i8, ptr %6, align 1
%10 = sext i8 %9 to i32
%11 = icmp eq i32 %10, 32
br i1 %11, label %12, label %16
12: ; preds = %3
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %7, align 8
%15 = call i32 @startsWithWord(ptr noundef %13, ptr noundef %14)
store i32 %15, ptr %4, align 4
br label %40
16: ; preds = %3
%17 = load ptr, ptr %5, align 8
%18 = load ptr, ptr %7, align 8
%19 = call i32 @startsWith(ptr noundef %17, ptr noundef %18)
%20 = icmp ne i32 %19, 0
br i1 %20, label %22, label %21
21: ; preds = %16
store i32 0, ptr %4, align 4
br label %40
22: ; preds = %16
%23 = load ptr, ptr %7, align 8
%24 = load ptr, ptr %5, align 8
%25 = call i64 @strlen(ptr noundef %24)
%26 = getelementptr inbounds i8, ptr %23, i64 %25
%27 = load i8, ptr %26, align 1
store i8 %27, ptr %8, align 1
%28 = load i8, ptr %8, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 0
br i1 %30, label %37, label %31
31: ; preds = %22
%32 = load i8, ptr %8, align 1
%33 = sext i8 %32 to i32
%34 = load i8, ptr %6, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %33, %35
br label %37
37: ; preds = %31, %22
%38 = phi i1 [ true, %22 ], [ %36, %31 ]
%39 = zext i1 %38 to i32
store i32 %39, ptr %4, align 4
br label %40
40: ; preds = %37, %21, %12
%41 = load i32, ptr %4, align 4
ret i32 %41
}
declare i32 @startsWithWord(ptr noundef, ptr noundef) #1
declare i32 @startsWith(ptr noundef, ptr noundef) #1
declare i64 @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/tmpohq7ypis.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @startsWithWordByDelimiter(ptr noundef %0, i8 noundef signext %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca ptr, align 8
%8 = alloca i8, align 1
store ptr %0, ptr %5, align 8
store i8 %1, ptr %6, align 1
store ptr %2, ptr %7, align 8
%9 = load i8, ptr %6, align 1
%10 = sext i8 %9 to i32
%11 = icmp eq i32 %10, 32
br i1 %11, label %12, label %16
12: ; preds = %3
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %7, align 8
%15 = call i32 @startsWithWord(ptr noundef %13, ptr noundef %14)
store i32 %15, ptr %4, align 4
br label %40
16: ; preds = %3
%17 = load ptr, ptr %5, align 8
%18 = load ptr, ptr %7, align 8
%19 = call i32 @startsWith(ptr noundef %17, ptr noundef %18)
%20 = icmp ne i32 %19, 0
br i1 %20, label %22, label %21
21: ; preds = %16
store i32 0, ptr %4, align 4
br label %40
22: ; preds = %16
%23 = load ptr, ptr %7, align 8
%24 = load ptr, ptr %5, align 8
%25 = call i64 @strlen(ptr noundef %24)
%26 = getelementptr inbounds i8, ptr %23, i64 %25
%27 = load i8, ptr %26, align 1
store i8 %27, ptr %8, align 1
%28 = load i8, ptr %8, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 0
br i1 %30, label %37, label %31
31: ; preds = %22
%32 = load i8, ptr %8, align 1
%33 = sext i8 %32 to i32
%34 = load i8, ptr %6, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %33, %35
br label %37
37: ; preds = %31, %22
%38 = phi i1 [ true, %22 ], [ %36, %31 ]
%39 = zext i1 %38 to i32
store i32 %39, ptr %4, align 4
br label %40
40: ; preds = %37, %21, %12
%41 = load i32, ptr %4, align 4
ret i32 %41
}
declare i32 @startsWithWord(ptr noundef, ptr noundef) #1
declare i32 @startsWith(ptr noundef, ptr noundef) #1
declare i64 @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/tmpvh3sgjct.c'
source_filename = "/tmp/tmpvh3sgjct.c"
target datalayout = "e-m:e-p270: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/tmpvh3sgjct.c"
target datalayout = "e-m:e-p270: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/tmpemqfvnth.c'
source_filename = "/tmp/tmpemqfvnth.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @assert(i32 noundef 1)
ret i32 0
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpemqfvnth.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @assert(i32 noundef 1)
ret i32 0
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpinbjt3mx.c'
source_filename = "/tmp/tmpinbjt3mx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glmGenerateZeroMatrix3d(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 @memset(ptr noundef %3, i32 noundef 0, i32 noundef 72)
ret void
}
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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpinbjt3mx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glmGenerateZeroMatrix3d(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 @memset(ptr noundef %3, i32 noundef 0, i32 noundef 72)
ret void
}
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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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.