llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpz79s_m9u.c'
source_filename = "/tmp/tmpz79s_m9u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eventlist_free_memory() #0 {
%1 = call i32 (...) @event_free_memory()
ret void
}
declare i32 @event_free_memory(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz79s_m9u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eventlist_free_memory() #0 {
%1 = call i32 (...) @event_free_memory()
ret void
}
declare i32 @event_free_memory(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpabs0mvzd.c'
source_filename = "/tmp/tmpabs0mvzd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @userCommand_L1_exit(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @exit(i32 noundef 0) #2
unreachable
}
; Function Attrs: noreturn
declare i32 @exit(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 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpabs0mvzd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @userCommand_L1_exit(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @exit(i32 noundef 0) #2
unreachable
}
; Function Attrs: noreturn
declare i32 @exit(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 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpi94tpng2.c'
source_filename = "/tmp/tmpi94tpng2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__ashrdi3(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi94tpng2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__ashrdi3(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzhw36a92.c'
source_filename = "/tmp/tmpzhw36a92.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Reset_Hash_Table() #0 {
%1 = call i32 (...) @reset_table()
ret void
}
declare i32 @reset_table(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzhw36a92.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Reset_Hash_Table() #0 {
%1 = call i32 (...) @reset_table()
ret void
}
declare i32 @reset_table(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8m1xcdfc.c'
source_filename = "/tmp/tmp8m1xcdfc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local void @DMA2_Stream0_IRQHandler() #0 {
%1 = call i32 (...) @default_handler()
ret void
}
declare i32 @default_handler(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8m1xcdfc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local void @DMA2_Stream0_IRQHandler() #0 {
%1 = call i32 (...) @default_handler()
ret void
}
declare i32 @default_handler(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpw85r9l8h.c'
source_filename = "/tmp/tmpw85r9l8h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @funct_S1_Ch(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %11, align 4
%13 = call i32 @_mm_srli_epi32(i32 noundef %12, i32 noundef 6)
store i32 %13, ptr %7, align 4
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %14, align 4
%16 = call i32 @_mm_slli_epi32(i32 noundef %15, i32 noundef 26)
store i32 %16, ptr %8, align 4
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %17, align 4
%19 = call i32 @_mm_srli_epi32(i32 noundef %18, i32 noundef 11)
store i32 %19, ptr %9, align 4
%20 = load ptr, ptr %5, align 8
%21 = load i32, ptr %20, align 4
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %22, align 4
%24 = call i32 @_mm_xor_si128(i32 noundef %21, i32 noundef %23)
store i32 %24, ptr %10, align 4
%25 = load i32, ptr %7, align 4
%26 = load i32, ptr %8, align 4
%27 = call i32 @_mm_xor_si128(i32 noundef %25, i32 noundef %26)
store i32 %27, ptr %7, align 4
%28 = load ptr, ptr %4, align 8
%29 = load i32, ptr %28, align 4
%30 = call i32 @_mm_slli_epi32(i32 noundef %29, i32 noundef 21)
store i32 %30, ptr %8, align 4
%31 = load i32, ptr %7, align 4
%32 = load i32, ptr %9, align 4
%33 = call i32 @_mm_xor_si128(i32 noundef %31, i32 noundef %32)
store i32 %33, ptr %7, align 4
%34 = load ptr, ptr %4, align 8
%35 = load i32, ptr %34, align 4
%36 = call i32 @_mm_srli_epi32(i32 noundef %35, i32 noundef 25)
store i32 %36, ptr %9, align 4
%37 = load i32, ptr %7, align 4
%38 = load i32, ptr %8, align 4
%39 = call i32 @_mm_xor_si128(i32 noundef %37, i32 noundef %38)
store i32 %39, ptr %7, align 4
%40 = load ptr, ptr %4, align 8
%41 = load i32, ptr %40, align 4
%42 = call i32 @_mm_slli_epi32(i32 noundef %41, i32 noundef 7)
store i32 %42, ptr %8, align 4
%43 = load i32, ptr %7, align 4
%44 = load i32, ptr %9, align 4
%45 = call i32 @_mm_xor_si128(i32 noundef %43, i32 noundef %44)
store i32 %45, ptr %7, align 4
%46 = load i32, ptr %10, align 4
%47 = load ptr, ptr %4, align 8
%48 = load i32, ptr %47, align 4
%49 = call i32 @_mm_and_si128(i32 noundef %46, i32 noundef %48)
store i32 %49, ptr %10, align 4
%50 = load i32, ptr %7, align 4
%51 = load i32, ptr %8, align 4
%52 = call i32 @_mm_xor_si128(i32 noundef %50, i32 noundef %51)
store i32 %52, ptr %7, align 4
%53 = load i32, ptr %10, align 4
%54 = load ptr, ptr %6, align 8
%55 = load i32, ptr %54, align 4
%56 = call i32 @_mm_xor_si128(i32 noundef %53, i32 noundef %55)
store i32 %56, ptr %10, align 4
%57 = load i32, ptr %7, align 4
%58 = load i32, ptr %10, align 4
%59 = call i32 @_mm_add_epi32(i32 noundef %57, i32 noundef %58)
store i32 %59, ptr %8, align 4
%60 = load i32, ptr %8, align 4
ret i32 %60
}
declare i32 @_mm_srli_epi32(i32 noundef, i32 noundef) #1
declare i32 @_mm_slli_epi32(i32 noundef, i32 noundef) #1
declare i32 @_mm_xor_si128(i32 noundef, i32 noundef) #1
declare i32 @_mm_and_si128(i32 noundef, i32 noundef) #1
declare i32 @_mm_add_epi32(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/tmpw85r9l8h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @funct_S1_Ch(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %11, align 4
%13 = call i32 @_mm_srli_epi32(i32 noundef %12, i32 noundef 6)
store i32 %13, ptr %7, align 4
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %14, align 4
%16 = call i32 @_mm_slli_epi32(i32 noundef %15, i32 noundef 26)
store i32 %16, ptr %8, align 4
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %17, align 4
%19 = call i32 @_mm_srli_epi32(i32 noundef %18, i32 noundef 11)
store i32 %19, ptr %9, align 4
%20 = load ptr, ptr %5, align 8
%21 = load i32, ptr %20, align 4
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %22, align 4
%24 = call i32 @_mm_xor_si128(i32 noundef %21, i32 noundef %23)
store i32 %24, ptr %10, align 4
%25 = load i32, ptr %7, align 4
%26 = load i32, ptr %8, align 4
%27 = call i32 @_mm_xor_si128(i32 noundef %25, i32 noundef %26)
store i32 %27, ptr %7, align 4
%28 = load ptr, ptr %4, align 8
%29 = load i32, ptr %28, align 4
%30 = call i32 @_mm_slli_epi32(i32 noundef %29, i32 noundef 21)
store i32 %30, ptr %8, align 4
%31 = load i32, ptr %7, align 4
%32 = load i32, ptr %9, align 4
%33 = call i32 @_mm_xor_si128(i32 noundef %31, i32 noundef %32)
store i32 %33, ptr %7, align 4
%34 = load ptr, ptr %4, align 8
%35 = load i32, ptr %34, align 4
%36 = call i32 @_mm_srli_epi32(i32 noundef %35, i32 noundef 25)
store i32 %36, ptr %9, align 4
%37 = load i32, ptr %7, align 4
%38 = load i32, ptr %8, align 4
%39 = call i32 @_mm_xor_si128(i32 noundef %37, i32 noundef %38)
store i32 %39, ptr %7, align 4
%40 = load ptr, ptr %4, align 8
%41 = load i32, ptr %40, align 4
%42 = call i32 @_mm_slli_epi32(i32 noundef %41, i32 noundef 7)
store i32 %42, ptr %8, align 4
%43 = load i32, ptr %7, align 4
%44 = load i32, ptr %9, align 4
%45 = call i32 @_mm_xor_si128(i32 noundef %43, i32 noundef %44)
store i32 %45, ptr %7, align 4
%46 = load i32, ptr %10, align 4
%47 = load ptr, ptr %4, align 8
%48 = load i32, ptr %47, align 4
%49 = call i32 @_mm_and_si128(i32 noundef %46, i32 noundef %48)
store i32 %49, ptr %10, align 4
%50 = load i32, ptr %7, align 4
%51 = load i32, ptr %8, align 4
%52 = call i32 @_mm_xor_si128(i32 noundef %50, i32 noundef %51)
store i32 %52, ptr %7, align 4
%53 = load i32, ptr %10, align 4
%54 = load ptr, ptr %6, align 8
%55 = load i32, ptr %54, align 4
%56 = call i32 @_mm_xor_si128(i32 noundef %53, i32 noundef %55)
store i32 %56, ptr %10, align 4
%57 = load i32, ptr %7, align 4
%58 = load i32, ptr %10, align 4
%59 = call i32 @_mm_add_epi32(i32 noundef %57, i32 noundef %58)
store i32 %59, ptr %8, align 4
%60 = load i32, ptr %8, align 4
ret i32 %60
}
declare i32 @_mm_srli_epi32(i32 noundef, i32 noundef) #1
declare i32 @_mm_slli_epi32(i32 noundef, i32 noundef) #1
declare i32 @_mm_xor_si128(i32 noundef, i32 noundef) #1
declare i32 @_mm_and_si128(i32 noundef, i32 noundef) #1
declare i32 @_mm_add_epi32(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/tmpr8wpsrdr.c'
source_filename = "/tmp/tmpr8wpsrdr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ai_move(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = call i32 @time(ptr noundef null)
%8 = call i32 @srand(i32 noundef %7)
br label %9
9: ; preds = %16, %3
%10 = call i32 (...) @rand()
%11 = srem i32 %10, 3
%12 = load ptr, ptr %5, align 8
store i32 %11, ptr %12, align 4
%13 = call i32 (...) @rand()
%14 = srem i32 %13, 3
%15 = load ptr, ptr %6, align 8
store i32 %14, ptr %15, align 4
br label %16
16: ; preds = %9
%17 = load ptr, ptr %4, align 8
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %18, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [3 x i32], ptr %17, i64 %20
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %22, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [3 x i32], ptr %21, i64 0, i64 %24
%26 = load i32, ptr %25, align 4
%27 = icmp ne i32 %26, 0
br i1 %27, label %9, label %28, !llvm.loop !6
28: ; preds = %16
ret i32 0
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpr8wpsrdr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ai_move(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = call i32 @time(ptr noundef null)
%8 = call i32 @srand(i32 noundef %7)
br label %9
9: ; preds = %16, %3
%10 = call i32 (...) @rand()
%11 = srem i32 %10, 3
%12 = load ptr, ptr %5, align 8
store i32 %11, ptr %12, align 4
%13 = call i32 (...) @rand()
%14 = srem i32 %13, 3
%15 = load ptr, ptr %6, align 8
store i32 %14, ptr %15, align 4
br label %16
16: ; preds = %9
%17 = load ptr, ptr %4, align 8
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %18, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [3 x i32], ptr %17, i64 %20
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %22, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [3 x i32], ptr %21, i64 0, i64 %24
%26 = load i32, ptr %25, align 4
%27 = icmp ne i32 %26, 0
br i1 %27, label %9, label %28, !llvm.loop !6
28: ; preds = %16
ret i32 0
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpfh35ke00.c'
source_filename = "/tmp/tmpfh35ke00.c"
target datalayout = "e-m:e-p270: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/tmpfh35ke00.c"
target datalayout = "e-m:e-p270: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/tmpjwrvfa_j.c'
source_filename = "/tmp/tmpjwrvfa_j.c"
target datalayout = "e-m:e-p270: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/tmpjwrvfa_j.c"
target datalayout = "e-m:e-p270: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/tmpb9de_bc3.c'
source_filename = "/tmp/tmpb9de_bc3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@TRUE = dso_local global i32 0, align 4
@stdscr = 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/tmpb9de_bc3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@TRUE = dso_local global i32 0, align 4
@stdscr = 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/tmpweqdeaqa.c'
source_filename = "/tmp/tmpweqdeaqa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @evutil_socketpair(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %7, align 4
%12 = load ptr, ptr %8, align 8
%13 = call i32 @socketpair(i32 noundef %9, i32 noundef %10, i32 noundef %11, ptr noundef %12)
ret i32 %13
}
declare i32 @socketpair(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpweqdeaqa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @evutil_socketpair(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %7, align 4
%12 = load ptr, ptr %8, align 8
%13 = call i32 @socketpair(i32 noundef %9, i32 noundef %10, i32 noundef %11, ptr noundef %12)
ret i32 %13
}
declare i32 @socketpair(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzmu8wxwv.c'
source_filename = "/tmp/tmpzmu8wxwv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"Try more !\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"Try less !\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show_hint(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, -1
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = call i32 @txt_ctrd(ptr noundef @.str, i8 noundef signext 10)
br label %13
7: ; preds = %1
%8 = load i32, ptr %2, align 4
%9 = icmp eq i32 %8, 1
br i1 %9, label %10, label %12
10: ; preds = %7
%11 = call i32 @txt_ctrd(ptr noundef @.str.1, i8 noundef signext 10)
br label %12
12: ; preds = %10, %7
br label %13
13: ; preds = %12, %5
ret void
}
declare i32 @txt_ctrd(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzmu8wxwv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"Try more !\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"Try less !\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show_hint(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, -1
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = call i32 @txt_ctrd(ptr noundef @.str, i8 noundef signext 10)
br label %13
7: ; preds = %1
%8 = load i32, ptr %2, align 4
%9 = icmp eq i32 %8, 1
br i1 %9, label %10, label %12
10: ; preds = %7
%11 = call i32 @txt_ctrd(ptr noundef @.str.1, i8 noundef signext 10)
br label %12
12: ; preds = %10, %7
br label %13
13: ; preds = %12, %5
ret void
}
declare i32 @txt_ctrd(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp71nhgw2w.c'
source_filename = "/tmp/tmp71nhgw2w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Default_SecureFault_Handler() #0 {
br label %1
1: ; preds = %0, %1
br label %1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp71nhgw2w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Default_SecureFault_Handler() #0 {
br label %1
1: ; preds = %1, %0
br label %1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0d055o02.c'
source_filename = "/tmp/tmp0d055o02.c"
target datalayout = "e-m:e-p270: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/tmp0d055o02.c"
target datalayout = "e-m:e-p270: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/tmp2_ggesx0.c'
source_filename = "/tmp/tmp2_ggesx0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp sgt i32 %6, 1
br i1 %7, label %8, label %13
8: ; preds = %2
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 1
%11 = load ptr, ptr %10, align 8
%12 = call i32 @copy(ptr noundef %11)
br label %13
13: ; preds = %8, %2
ret i32 0
}
declare i32 @copy(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2_ggesx0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp sgt i32 %6, 1
br i1 %7, label %8, label %13
8: ; preds = %2
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 1
%11 = load ptr, ptr %10, align 8
%12 = call i32 @copy(ptr noundef %11)
br label %13
13: ; preds = %8, %2
ret i32 0
}
declare i32 @copy(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjtjgvkt0.c'
source_filename = "/tmp/tmpjtjgvkt0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"datatype\00", align 1
@.str.1 = private unnamed_addr constant [37 x i8] c"station in (%s) and datatype in (%s)\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"station in (%s)\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"min(measurement_date)\00", align 1
@.str.4 = private unnamed_addr constant [101 x i8] c"get_folder_data\09application=%s\09\09\09\09\09folder=measurement\09\09\09\09select=\22%s\22\09\09\09\09\09where=\22%s\22\09\09\09\09\09order=none\09\09\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @hydrology_library_get_period_of_record_begin_date(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [1024 x i8], align 16
%8 = alloca [1024 x i8], align 16
%9 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %28
12: ; preds = %3
%13 = load ptr, ptr %6, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %28
17: ; preds = %12
%18 = load ptr, ptr %6, align 8
%19 = call i64 @strcmp(ptr noundef %18, ptr noundef @.str)
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %28
21: ; preds = %17
%22 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%23 = load ptr, ptr %5, align 8
%24 = call ptr @timlib_get_in_clause(ptr noundef %23)
%25 = load ptr, ptr %6, align 8
%26 = call ptr @timlib_get_in_clause(ptr noundef %25)
%27 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %22, ptr noundef @.str.1, ptr noundef %24, ptr noundef %26)
br label %33
28: ; preds = %17, %12, %3
%29 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%30 = load ptr, ptr %5, align 8
%31 = call ptr @timlib_get_in_clause(ptr noundef %30)
%32 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %29, ptr noundef @.str.2, ptr noundef %31)
br label %33
33: ; preds = %28, %21
store ptr @.str.3, ptr %9, align 8
%34 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%35 = load ptr, ptr %4, align 8
%36 = load ptr, ptr %9, align 8
%37 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%38 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %34, ptr noundef @.str.4, ptr noundef %35, ptr noundef %36, ptr noundef %37)
%39 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%40 = call ptr @pipe2string(ptr noundef %39)
ret ptr %40
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ...) #1
declare ptr @timlib_get_in_clause(ptr noundef) #1
declare ptr @pipe2string(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjtjgvkt0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"datatype\00", align 1
@.str.1 = private unnamed_addr constant [37 x i8] c"station in (%s) and datatype in (%s)\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"station in (%s)\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"min(measurement_date)\00", align 1
@.str.4 = private unnamed_addr constant [101 x i8] c"get_folder_data\09application=%s\09\09\09\09\09folder=measurement\09\09\09\09select=\22%s\22\09\09\09\09\09where=\22%s\22\09\09\09\09\09order=none\09\09\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @hydrology_library_get_period_of_record_begin_date(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [1024 x i8], align 16
%8 = alloca [1024 x i8], align 16
%9 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %28
12: ; preds = %3
%13 = load ptr, ptr %6, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %28
17: ; preds = %12
%18 = load ptr, ptr %6, align 8
%19 = call i64 @strcmp(ptr noundef %18, ptr noundef @.str)
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %28
21: ; preds = %17
%22 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%23 = load ptr, ptr %5, align 8
%24 = call ptr @timlib_get_in_clause(ptr noundef %23)
%25 = load ptr, ptr %6, align 8
%26 = call ptr @timlib_get_in_clause(ptr noundef %25)
%27 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %22, ptr noundef @.str.1, ptr noundef %24, ptr noundef %26)
br label %33
28: ; preds = %17, %12, %3
%29 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%30 = load ptr, ptr %5, align 8
%31 = call ptr @timlib_get_in_clause(ptr noundef %30)
%32 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %29, ptr noundef @.str.2, ptr noundef %31)
br label %33
33: ; preds = %28, %21
store ptr @.str.3, ptr %9, align 8
%34 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%35 = load ptr, ptr %4, align 8
%36 = load ptr, ptr %9, align 8
%37 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%38 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %34, ptr noundef @.str.4, ptr noundef %35, ptr noundef %36, ptr noundef %37)
%39 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%40 = call ptr @pipe2string(ptr noundef %39)
ret ptr %40
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ...) #1
declare ptr @timlib_get_in_clause(ptr noundef) #1
declare ptr @pipe2string(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpogvntkr7.c'
source_filename = "/tmp/tmpogvntkr7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lng_qsort(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%12 = load ptr, ptr %4, align 8
%13 = call i32 @assert(ptr noundef %12)
%14 = load i64, ptr %5, align 8
%15 = icmp ult i64 %14, 2
br i1 %15, label %16, label %17
16: ; preds = %3
br label %83
17: ; preds = %3
%18 = load i64, ptr %5, align 8
%19 = icmp ult i64 %18, 16
br i1 %19, label %20, label %22
20: ; preds = %17
%21 = load i64, ptr %5, align 8
store i64 %21, ptr %8, align 8
br label %26
22: ; preds = %17
%23 = load ptr, ptr %4, align 8
%24 = load i64, ptr %5, align 8
%25 = call i32 @lng_qrec(ptr noundef %23, i64 noundef %24)
store i64 15, ptr %8, align 8
br label %26
26: ; preds = %22, %20
%27 = load ptr, ptr %4, align 8
store ptr %27, ptr %10, align 8
store ptr %27, ptr %9, align 8
br label %28
28: ; preds = %41, %26
%29 = load i64, ptr %8, align 8
%30 = add i64 %29, -1
store i64 %30, ptr %8, align 8
%31 = icmp ugt i64 %30, 0
br i1 %31, label %32, label %42
32: ; preds = %28
%33 = load ptr, ptr %10, align 8
%34 = getelementptr inbounds i64, ptr %33, i32 1
store ptr %34, ptr %10, align 8
%35 = load i64, ptr %34, align 8
%36 = load ptr, ptr %9, align 8
%37 = load i64, ptr %36, align 8
%38 = icmp slt i64 %35, %37
br i1 %38, label %39, label %41
39: ; preds = %32
%40 = load ptr, ptr %10, align 8
store ptr %40, ptr %9, align 8
br label %41
41: ; preds = %39, %32
br label %28, !llvm.loop !6
42: ; preds = %28
%43 = load ptr, ptr %4, align 8
store ptr %43, ptr %10, align 8
%44 = load ptr, ptr %9, align 8
%45 = load i64, ptr %44, align 8
store i64 %45, ptr %11, align 8
%46 = load ptr, ptr %10, align 8
%47 = load i64, ptr %46, align 8
%48 = load ptr, ptr %9, align 8
store i64 %47, ptr %48, align 8
%49 = load i64, ptr %11, align 8
%50 = load ptr, ptr %10, align 8
store i64 %49, ptr %50, align 8
%51 = load i64, ptr %5, align 8
store i64 %51, ptr %7, align 8
br label %52
52: ; preds = %72, %42
%53 = load i64, ptr %7, align 8
%54 = add i64 %53, -1
store i64 %54, ptr %7, align 8
%55 = icmp ugt i64 %54, 0
br i1 %55, label %56, label %76
56: ; preds = %52
%57 = load ptr, ptr %10, align 8
%58 = getelementptr inbounds i64, ptr %57, i32 1
store ptr %58, ptr %10, align 8
%59 = load i64, ptr %58, align 8
store i64 %59, ptr %11, align 8
%60 = load ptr, ptr %10, align 8
store ptr %60, ptr %9, align 8
br label %61
61: ; preds = %67, %56
%62 = load ptr, ptr %9, align 8
%63 = getelementptr inbounds i64, ptr %62, i32 -1
store ptr %63, ptr %9, align 8
%64 = load i64, ptr %63, align 8
%65 = load i64, ptr %11, align 8
%66 = icmp sgt i64 %64, %65
br i1 %66, label %67, label %72
67: ; preds = %61
%68 = load ptr, ptr %9, align 8
%69 = load i64, ptr %68, align 8
%70 = load ptr, ptr %9, align 8
%71 = getelementptr inbounds i64, ptr %70, i64 1
store i64 %69, ptr %71, align 8
br label %61, !llvm.loop !8
72: ; preds = %61
%73 = load i64, ptr %11, align 8
%74 = load ptr, ptr %9, align 8
%75 = getelementptr inbounds i64, ptr %74, i64 1
store i64 %73, ptr %75, align 8
br label %52, !llvm.loop !9
76: ; preds = %52
%77 = load i32, ptr %6, align 4
%78 = icmp slt i32 %77, 0
br i1 %78, label %79, label %83
79: ; preds = %76
%80 = load ptr, ptr %4, align 8
%81 = load i64, ptr %5, align 8
%82 = call i32 @lng_reverse(ptr noundef %80, i64 noundef %81)
br label %83
83: ; preds = %16, %79, %76
ret void
}
declare i32 @assert(ptr noundef) #1
declare i32 @lng_qrec(ptr noundef, i64 noundef) #1
declare i32 @lng_reverse(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpogvntkr7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lng_qsort(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%12 = load ptr, ptr %4, align 8
%13 = call i32 @assert(ptr noundef %12)
%14 = load i64, ptr %5, align 8
%15 = icmp ult i64 %14, 2
br i1 %15, label %16, label %17
16: ; preds = %3
br label %91
17: ; preds = %3
%18 = load i64, ptr %5, align 8
%19 = icmp ult i64 %18, 16
br i1 %19, label %20, label %22
20: ; preds = %17
%21 = load i64, ptr %5, align 8
store i64 %21, ptr %8, align 8
br label %26
22: ; preds = %17
%23 = load ptr, ptr %4, align 8
%24 = load i64, ptr %5, align 8
%25 = call i32 @lng_qrec(ptr noundef %23, i64 noundef %24)
store i64 15, ptr %8, align 8
br label %26
26: ; preds = %22, %20
%27 = load ptr, ptr %4, align 8
store ptr %27, ptr %10, align 8
store ptr %27, ptr %9, align 8
%28 = load i64, ptr %8, align 8
%29 = add i64 %28, -1
store i64 %29, ptr %8, align 8
%30 = icmp ugt i64 %29, 0
br i1 %30, label %.lr.ph, label %44
.lr.ph: ; preds = %26
br label %31
31: ; preds = %.lr.ph, %40
%32 = load ptr, ptr %10, align 8
%33 = getelementptr inbounds i64, ptr %32, i32 1
store ptr %33, ptr %10, align 8
%34 = load i64, ptr %33, align 8
%35 = load ptr, ptr %9, align 8
%36 = load i64, ptr %35, align 8
%37 = icmp slt i64 %34, %36
br i1 %37, label %38, label %40
38: ; preds = %31
%39 = load ptr, ptr %10, align 8
store ptr %39, ptr %9, align 8
br label %40
40: ; preds = %38, %31
%41 = load i64, ptr %8, align 8
%42 = add i64 %41, -1
store i64 %42, ptr %8, align 8
%43 = icmp ugt i64 %42, 0
br i1 %43, label %31, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %40
br label %44
44: ; preds = %._crit_edge, %26
%45 = load ptr, ptr %4, align 8
store ptr %45, ptr %10, align 8
%46 = load ptr, ptr %9, align 8
%47 = load i64, ptr %46, align 8
store i64 %47, ptr %11, align 8
%48 = load ptr, ptr %10, align 8
%49 = load i64, ptr %48, align 8
%50 = load ptr, ptr %9, align 8
store i64 %49, ptr %50, align 8
%51 = load i64, ptr %11, align 8
%52 = load ptr, ptr %10, align 8
store i64 %51, ptr %52, align 8
%53 = load i64, ptr %5, align 8
store i64 %53, ptr %7, align 8
%54 = load i64, ptr %7, align 8
%55 = add i64 %54, -1
store i64 %55, ptr %7, align 8
%56 = icmp ugt i64 %55, 0
br i1 %56, label %.lr.ph5, label %84
.lr.ph5: ; preds = %44
br label %57
57: ; preds = %.lr.ph5, %77
%58 = load ptr, ptr %10, align 8
%59 = getelementptr inbounds i64, ptr %58, i32 1
store ptr %59, ptr %10, align 8
%60 = load i64, ptr %59, align 8
store i64 %60, ptr %11, align 8
%61 = load ptr, ptr %10, align 8
store ptr %61, ptr %9, align 8
%62 = load ptr, ptr %9, align 8
%63 = getelementptr inbounds i64, ptr %62, i32 -1
store ptr %63, ptr %9, align 8
%64 = load i64, ptr %63, align 8
%65 = load i64, ptr %11, align 8
%66 = icmp sgt i64 %64, %65
br i1 %66, label %.lr.ph2, label %77
.lr.ph2: ; preds = %57
br label %67
67: ; preds = %.lr.ph2, %67
%68 = load ptr, ptr %9, align 8
%69 = load i64, ptr %68, align 8
%70 = load ptr, ptr %9, align 8
%71 = getelementptr inbounds i64, ptr %70, i64 1
store i64 %69, ptr %71, align 8
%72 = load ptr, ptr %9, align 8
%73 = getelementptr inbounds i64, ptr %72, i32 -1
store ptr %73, ptr %9, align 8
%74 = load i64, ptr %73, align 8
%75 = load i64, ptr %11, align 8
%76 = icmp sgt i64 %74, %75
br i1 %76, label %67, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %67
br label %77
77: ; preds = %._crit_edge3, %57
%78 = load i64, ptr %11, align 8
%79 = load ptr, ptr %9, align 8
%80 = getelementptr inbounds i64, ptr %79, i64 1
store i64 %78, ptr %80, align 8
%81 = load i64, ptr %7, align 8
%82 = add i64 %81, -1
store i64 %82, ptr %7, align 8
%83 = icmp ugt i64 %82, 0
br i1 %83, label %57, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %77
br label %84
84: ; preds = %._crit_edge6, %44
%85 = load i32, ptr %6, align 4
%86 = icmp slt i32 %85, 0
br i1 %86, label %87, label %91
87: ; preds = %84
%88 = load ptr, ptr %4, align 8
%89 = load i64, ptr %5, align 8
%90 = call i32 @lng_reverse(ptr noundef %88, i64 noundef %89)
br label %91
91: ; preds = %87, %84, %16
ret void
}
declare i32 @assert(ptr noundef) #1
declare i32 @lng_qrec(ptr noundef, i64 noundef) #1
declare i32 @lng_reverse(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp0b5x76u_.c'
source_filename = "/tmp/tmp0b5x76u_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [71 x i8] c"USAGE:\0A klogripper --live\0A klogripper --help\0A klogripper --version\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load i32, ptr @stdout, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0b5x76u_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [71 x i8] c"USAGE:\0A klogripper --live\0A klogripper --help\0A klogripper --version\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load i32, ptr @stdout, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjloolady.c'
source_filename = "/tmp/tmpjloolady.c"
target datalayout = "e-m:e-p270: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/tmpjloolady.c"
target datalayout = "e-m:e-p270: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/tmpps05cuuv.c'
source_filename = "/tmp/tmpps05cuuv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [47 x i8] c"*** Type in the code or -9999999 to stop ***\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"00 ? \00", align 1
@.str.2 = private unnamed_addr constant [50 x i8] c"\0AWarning - Invalid instruction\0APlease try again!\0A\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"%02d ? \00", align 1
@.str.4 = private unnamed_addr constant [40 x i8] c"\0A*** Fatal Error - Memory Overflow ***\0A\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"pause\00", align 1
@.str.6 = private unnamed_addr constant [36 x i8] c"\0A*** Program loading completed ***\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @loadProgram() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = call i32 (...) @clearMemory()
store i32 0, ptr %2, align 4
store i32 1, ptr %4, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%8 = call i32 (...) @getInteger()
store i32 %8, ptr %3, align 4
br label %9
9: ; preds = %50, %0
%10 = load i32, ptr %3, align 4
%11 = icmp ne i32 %10, -9999999
br i1 %11, label %12, label %15
12: ; preds = %9
%13 = load i32, ptr %2, align 4
%14 = icmp slt i32 %13, 1000
br label %15
15: ; preds = %12, %9
%16 = phi i1 [ false, %9 ], [ %14, %12 ]
br i1 %16, label %17, label %51
17: ; preds = %15
%18 = load i32, ptr %3, align 4
%19 = icmp sgt i32 %18, 999999
br i1 %19, label %26, label %20
20: ; preds = %17
%21 = load i32, ptr %3, align 4
%22 = icmp slt i32 %21, -999999
br i1 %22, label %23, label %31
23: ; preds = %20
%24 = load i32, ptr %3, align 4
%25 = icmp ne i32 %24, -9999999
br i1 %25, label %26, label %31
26: ; preds = %23, %17
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%28 = load i32, ptr %2, align 4
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %28)
%30 = call i32 (...) @getInteger()
store i32 %30, ptr %3, align 4
br label %50
31: ; preds = %23, %20
%32 = load i32, ptr %2, align 4
%33 = icmp sge i32 %32, 1000
br i1 %33, label %34, label %37
34: ; preds = %31
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%36 = call i32 @system(ptr noundef @.str.5)
store i32 -1, ptr %4, align 4
store i32 -9999999, ptr %3, align 4
br label %49
37: ; preds = %31
%38 = load i32, ptr %2, align 4
%39 = load i32, ptr %3, align 4
%40 = call i32 @addInstructionToMemory(i32 noundef %38, i32 noundef %39)
%41 = icmp eq i32 %40, -1
br i1 %41, label %42, label %43
42: ; preds = %37
store i32 -1, ptr %1, align 4
br label %54
43: ; preds = %37
%44 = load i32, ptr %2, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %2, align 4
%46 = load i32, ptr %2, align 4
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %46)
%48 = call i32 (...) @getInteger()
store i32 %48, ptr %3, align 4
br label %49
49: ; preds = %43, %34
br label %50
50: ; preds = %49, %26
br label %9, !llvm.loop !6
51: ; preds = %15
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%53 = load i32, ptr %4, align 4
store i32 %53, ptr %1, align 4
br label %54
54: ; preds = %51, %42
%55 = load i32, ptr %1, align 4
ret i32 %55
}
declare i32 @clearMemory(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @getInteger(...) #1
declare i32 @system(ptr noundef) #1
declare i32 @addInstructionToMemory(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpps05cuuv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [47 x i8] c"*** Type in the code or -9999999 to stop ***\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"00 ? \00", align 1
@.str.2 = private unnamed_addr constant [50 x i8] c"\0AWarning - Invalid instruction\0APlease try again!\0A\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"%02d ? \00", align 1
@.str.4 = private unnamed_addr constant [40 x i8] c"\0A*** Fatal Error - Memory Overflow ***\0A\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"pause\00", align 1
@.str.6 = private unnamed_addr constant [36 x i8] c"\0A*** Program loading completed ***\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @loadProgram() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = call i32 (...) @clearMemory()
store i32 0, ptr %2, align 4
store i32 1, ptr %4, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%8 = call i32 (...) @getInteger()
store i32 %8, ptr %3, align 4
br label %9
9: ; preds = %50, %0
%10 = load i32, ptr %3, align 4
%11 = icmp ne i32 %10, -9999999
br i1 %11, label %12, label %15
12: ; preds = %9
%13 = load i32, ptr %2, align 4
%14 = icmp slt i32 %13, 1000
br label %15
15: ; preds = %12, %9
%16 = phi i1 [ false, %9 ], [ %14, %12 ]
br i1 %16, label %17, label %51
17: ; preds = %15
%18 = load i32, ptr %3, align 4
%19 = icmp sgt i32 %18, 999999
br i1 %19, label %26, label %20
20: ; preds = %17
%21 = load i32, ptr %3, align 4
%22 = icmp slt i32 %21, -999999
br i1 %22, label %23, label %31
23: ; preds = %20
%24 = load i32, ptr %3, align 4
%25 = icmp ne i32 %24, -9999999
br i1 %25, label %26, label %31
26: ; preds = %23, %17
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%28 = load i32, ptr %2, align 4
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %28)
%30 = call i32 (...) @getInteger()
store i32 %30, ptr %3, align 4
br label %50
31: ; preds = %23, %20
%32 = load i32, ptr %2, align 4
%33 = icmp sge i32 %32, 1000
br i1 %33, label %34, label %37
34: ; preds = %31
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%36 = call i32 @system(ptr noundef @.str.5)
store i32 -1, ptr %4, align 4
store i32 -9999999, ptr %3, align 4
br label %49
37: ; preds = %31
%38 = load i32, ptr %2, align 4
%39 = load i32, ptr %3, align 4
%40 = call i32 @addInstructionToMemory(i32 noundef %38, i32 noundef %39)
%41 = icmp eq i32 %40, -1
br i1 %41, label %42, label %43
42: ; preds = %37
store i32 -1, ptr %1, align 4
br label %54
43: ; preds = %37
%44 = load i32, ptr %2, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %2, align 4
%46 = load i32, ptr %2, align 4
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %46)
%48 = call i32 (...) @getInteger()
store i32 %48, ptr %3, align 4
br label %49
49: ; preds = %43, %34
br label %50
50: ; preds = %49, %26
br label %9, !llvm.loop !6
51: ; preds = %15
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%53 = load i32, ptr %4, align 4
store i32 %53, ptr %1, align 4
br label %54
54: ; preds = %51, %42
%55 = load i32, ptr %1, align 4
ret i32 %55
}
declare i32 @clearMemory(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @getInteger(...) #1
declare i32 @system(ptr noundef) #1
declare i32 @addInstructionToMemory(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpe93vfwv7.c'
source_filename = "/tmp/tmpe93vfwv7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @test_upper_bound()
ret i32 0
}
declare i32 @test_upper_bound(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe93vfwv7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @test_upper_bound()
ret i32 0
}
declare i32 @test_upper_bound(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptw8q307u.c'
source_filename = "/tmp/tmptw8q307u.c"
target datalayout = "e-m:e-p270: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/tmptw8q307u.c"
target datalayout = "e-m:e-p270: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/tmpxysktj53.c'
source_filename = "/tmp/tmpxysktj53.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RAND_MAX = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @calculate_probability(float noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
store float %0, ptr %3, align 4
%5 = call i64 (...) @rand()
%6 = sitofp i64 %5 to double
%7 = load double, ptr @RAND_MAX, align 8
%8 = fdiv double %6, %7
%9 = fptrunc double %8 to float
store float %9, ptr %4, align 4
%10 = load float, ptr %4, align 4
%11 = load float, ptr %3, align 4
%12 = fcmp ogt float %10, %11
br i1 %12, label %13, label %14
13: ; preds = %1
store i32 1, ptr %2, align 4
br label %15
14: ; preds = %1
store i32 0, ptr %2, align 4
br label %15
15: ; preds = %14, %13
%16 = load i32, ptr %2, align 4
ret i32 %16
}
declare i64 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxysktj53.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RAND_MAX = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @calculate_probability(float noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
store float %0, ptr %3, align 4
%5 = call i64 (...) @rand()
%6 = sitofp i64 %5 to double
%7 = load double, ptr @RAND_MAX, align 8
%8 = fdiv double %6, %7
%9 = fptrunc double %8 to float
store float %9, ptr %4, align 4
%10 = load float, ptr %4, align 4
%11 = load float, ptr %3, align 4
%12 = fcmp ogt float %10, %11
br i1 %12, label %13, label %14
13: ; preds = %1
store i32 1, ptr %2, align 4
br label %15
14: ; preds = %1
store i32 0, ptr %2, align 4
br label %15
15: ; preds = %14, %13
%16 = load i32, ptr %2, align 4
ret i32 %16
}
declare i64 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4_wgehw3.c'
source_filename = "/tmp/tmp4_wgehw3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i32 @draw(ptr noundef %4)
%6 = load i32, ptr %2, align 4
ret i32 %6
}
declare i32 @draw(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4_wgehw3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i32 @draw(ptr noundef %4)
%6 = load i32, ptr %2, align 4
ret i32 %6
}
declare i32 @draw(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl6z516zg.c'
source_filename = "/tmp/tmpl6z516zg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pixel_convert_8u_gray_to_8u_RGB(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store i32 %3, ptr %10, align 4
store ptr %4, ptr %11, align 8
store i32 %5, ptr %12, align 4
store i32 0, ptr %13, align 4
br label %17
17: ; preds = %65, %6
%18 = load i32, ptr %13, align 4
%19 = load i32, ptr %10, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %68
21: ; preds = %17
%22 = load ptr, ptr %7, align 8
%23 = load i32, ptr %13, align 4
%24 = load i32, ptr %8, align 4
%25 = mul nsw i32 %23, %24
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %22, i64 %26
store ptr %27, ptr %15, align 8
%28 = load ptr, ptr %11, align 8
%29 = load i32, ptr %13, align 4
%30 = load i32, ptr %12, align 4
%31 = mul nsw i32 %29, %30
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i32, ptr %28, i64 %32
store ptr %33, ptr %16, align 8
store i32 0, ptr %14, align 4
br label %34
34: ; preds = %61, %21
%35 = load i32, ptr %14, align 4
%36 = load i32, ptr %9, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %38, label %64
38: ; preds = %34
%39 = load ptr, ptr %16, align 8
%40 = load i32, ptr %14, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i32, ptr %39, i64 %41
%43 = load i32, ptr %42, align 4
%44 = load ptr, ptr %15, align 8
%45 = load i32, ptr %14, align 4
%46 = mul nsw i32 3, %45
%47 = add nsw i32 %46, 2
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i32, ptr %44, i64 %48
store i32 %43, ptr %49, align 4
%50 = load ptr, ptr %15, align 8
%51 = load i32, ptr %14, align 4
%52 = mul nsw i32 3, %51
%53 = add nsw i32 %52, 1
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %50, i64 %54
store i32 %43, ptr %55, align 4
%56 = load ptr, ptr %15, align 8
%57 = load i32, ptr %14, align 4
%58 = mul nsw i32 3, %57
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i32, ptr %56, i64 %59
store i32 %43, ptr %60, align 4
br label %61
61: ; preds = %38
%62 = load i32, ptr %14, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %14, align 4
br label %34, !llvm.loop !6
64: ; preds = %34
br label %65
65: ; preds = %64
%66 = load i32, ptr %13, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %13, align 4
br label %17, !llvm.loop !8
68: ; preds = %17
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpl6z516zg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pixel_convert_8u_gray_to_8u_RGB(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store i32 %3, ptr %10, align 4
store ptr %4, ptr %11, align 8
store i32 %5, ptr %12, align 4
store i32 0, ptr %13, align 4
%17 = load i32, ptr %13, align 4
%18 = load i32, ptr %10, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %.lr.ph2, label %72
.lr.ph2: ; preds = %6
br label %20
20: ; preds = %.lr.ph2, %66
%21 = load ptr, ptr %7, align 8
%22 = load i32, ptr %13, align 4
%23 = load i32, ptr %8, align 4
%24 = mul nsw i32 %22, %23
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %21, i64 %25
store ptr %26, ptr %15, align 8
%27 = load ptr, ptr %11, align 8
%28 = load i32, ptr %13, align 4
%29 = load i32, ptr %12, align 4
%30 = mul nsw i32 %28, %29
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i32, ptr %27, i64 %31
store ptr %32, ptr %16, align 8
store i32 0, ptr %14, align 4
%33 = load i32, ptr %14, align 4
%34 = load i32, ptr %9, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %.lr.ph, label %65
.lr.ph: ; preds = %20
br label %36
36: ; preds = %.lr.ph, %59
%37 = load ptr, ptr %16, align 8
%38 = load i32, ptr %14, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, ptr %37, i64 %39
%41 = load i32, ptr %40, align 4
%42 = load ptr, ptr %15, align 8
%43 = load i32, ptr %14, align 4
%44 = mul nsw i32 3, %43
%45 = add nsw i32 %44, 2
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i32, ptr %42, i64 %46
store i32 %41, ptr %47, align 4
%48 = load ptr, ptr %15, align 8
%49 = load i32, ptr %14, align 4
%50 = mul nsw i32 3, %49
%51 = add nsw i32 %50, 1
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i32, ptr %48, i64 %52
store i32 %41, ptr %53, align 4
%54 = load ptr, ptr %15, align 8
%55 = load i32, ptr %14, align 4
%56 = mul nsw i32 3, %55
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i32, ptr %54, i64 %57
store i32 %41, ptr %58, align 4
br label %59
59: ; preds = %36
%60 = load i32, ptr %14, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %14, align 4
%62 = load i32, ptr %14, align 4
%63 = load i32, ptr %9, align 4
%64 = icmp slt i32 %62, %63
br i1 %64, label %36, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %59
br label %65
65: ; preds = %._crit_edge, %20
br label %66
66: ; preds = %65
%67 = load i32, ptr %13, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %13, align 4
%69 = load i32, ptr %13, align 4
%70 = load i32, ptr %10, align 4
%71 = icmp slt i32 %69, %70
br i1 %71, label %20, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %66
br label %72
72: ; preds = %._crit_edge3, %6
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpg1295e5i.c'
source_filename = "/tmp/tmpg1295e5i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"clear\00", align 1
@.str.1 = private unnamed_addr constant [43 x i8] c"+---------------------------------------+\0A\00", align 1
@.str.2 = private unnamed_addr constant [43 x i8] c"| |\0A\00", align 1
@.str.3 = private unnamed_addr constant [51 x i8] c"| \1B[1mA.Echo Your Information\1B[0m |\0A\00", align 1
@.str.4 = private unnamed_addr constant [51 x i8] c"| \1B[1mB.Modify Your Login Password\1B[0m |\0A\00", align 1
@.str.5 = private unnamed_addr constant [51 x i8] c"| \1B[1mC.Exit System\1B[0m |\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Print_Stu_Interface() #0 {
%1 = call i32 @system(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
%7 = call i32 @printf(ptr noundef @.str.2)
%8 = call i32 @printf(ptr noundef @.str.1)
ret void
}
declare i32 @system(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg1295e5i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"clear\00", align 1
@.str.1 = private unnamed_addr constant [43 x i8] c"+---------------------------------------+\0A\00", align 1
@.str.2 = private unnamed_addr constant [43 x i8] c"| |\0A\00", align 1
@.str.3 = private unnamed_addr constant [51 x i8] c"| \1B[1mA.Echo Your Information\1B[0m |\0A\00", align 1
@.str.4 = private unnamed_addr constant [51 x i8] c"| \1B[1mB.Modify Your Login Password\1B[0m |\0A\00", align 1
@.str.5 = private unnamed_addr constant [51 x i8] c"| \1B[1mC.Exit System\1B[0m |\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Print_Stu_Interface() #0 {
%1 = call i32 @system(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
%7 = call i32 @printf(ptr noundef @.str.2)
%8 = call i32 @printf(ptr noundef @.str.1)
ret void
}
declare i32 @system(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_zp4rs_o.c'
source_filename = "/tmp/tmp_zp4rs_o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"what!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @iacum_exp(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
%6 = load double, ptr %4, align 8
%7 = fcmp oge double %6, 0.000000e+00
br i1 %7, label %8, label %19
8: ; preds = %2
%9 = load double, ptr %4, align 8
%10 = fcmp ole double %9, 1.000000e+00
br i1 %10, label %11, label %19
11: ; preds = %8
%12 = load double, ptr %4, align 8
%13 = fsub double 1.000000e+00, %12
%14 = fptosi double %13 to i32
%15 = call double @log(i32 noundef %14)
%16 = fneg double %15
%17 = load double, ptr %5, align 8
%18 = fdiv double %16, %17
store double %18, ptr %3, align 8
br label %21
19: ; preds = %8, %2
%20 = call i32 @printf(ptr noundef @.str)
store double -1.000000e+00, ptr %3, align 8
br label %21
21: ; preds = %19, %11
%22 = load double, ptr %3, align 8
ret double %22
}
declare double @log(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_zp4rs_o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"what!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @iacum_exp(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
%6 = load double, ptr %4, align 8
%7 = fcmp oge double %6, 0.000000e+00
br i1 %7, label %8, label %19
8: ; preds = %2
%9 = load double, ptr %4, align 8
%10 = fcmp ole double %9, 1.000000e+00
br i1 %10, label %11, label %19
11: ; preds = %8
%12 = load double, ptr %4, align 8
%13 = fsub double 1.000000e+00, %12
%14 = fptosi double %13 to i32
%15 = call double @log(i32 noundef %14)
%16 = fneg double %15
%17 = load double, ptr %5, align 8
%18 = fdiv double %16, %17
store double %18, ptr %3, align 8
br label %21
19: ; preds = %8, %2
%20 = call i32 @printf(ptr noundef @.str)
store double -1.000000e+00, ptr %3, align 8
br label %21
21: ; preds = %19, %11
%22 = load double, ptr %3, align 8
ret double %22
}
declare double @log(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6814krhv.c'
source_filename = "/tmp/tmp6814krhv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HRT_GetTimingMS(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call double @HRT_GetTimingMMS(i32 noundef %3)
%5 = fmul double %4, 1.000000e-03
ret double %5
}
declare double @HRT_GetTimingMMS(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/tmp6814krhv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HRT_GetTimingMS(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call double @HRT_GetTimingMMS(i32 noundef %3)
%5 = fmul double %4, 1.000000e-03
ret double %5
}
declare double @HRT_GetTimingMMS(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/tmphfnggl3w.c'
source_filename = "/tmp/tmphfnggl3w.c"
target datalayout = "e-m:e-p270: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/tmphfnggl3w.c"
target datalayout = "e-m:e-p270: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/tmp6sjmec39.c'
source_filename = "/tmp/tmp6sjmec39.c"
target datalayout = "e-m:e-p270: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 [25 x i8] c"Error: Not enough data.\0A\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 (...) @getchar()
store i32 %4, ptr %3, align 4
%5 = icmp eq i32 %4, -1
br i1 %5, label %6, label %9
6: ; preds = %0
%7 = load i32, ptr @stderr, align 4
%8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str)
store i32 1, ptr %1, align 4
br label %38
9: ; preds = %0
%10 = load i32, ptr %3, align 4
%11 = srem i32 %10, 256
store i32 %11, ptr %2, align 4
%12 = call i32 (...) @getchar()
store i32 %12, ptr %3, align 4
%13 = icmp eq i32 %12, -1
br i1 %13, label %14, label %17
14: ; preds = %9
%15 = load i32, ptr @stderr, align 4
%16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str)
store i32 1, ptr %1, align 4
br label %38
17: ; preds = %9
%18 = load i32, ptr %3, align 4
%19 = mul nsw i32 %18, 256
%20 = load i32, ptr %2, align 4
%21 = add i32 %19, %20
store i32 %21, ptr %2, align 4
br label %22
22: ; preds = %32, %17
%23 = load i32, ptr %2, align 4
%24 = add i32 %23, -1
store i32 %24, ptr %2, align 4
%25 = icmp ne i32 %23, 0
br i1 %25, label %26, label %35
26: ; preds = %22
%27 = call i32 (...) @getchar()
store i32 %27, ptr %3, align 4
%28 = icmp eq i32 %27, -1
br i1 %28, label %29, label %32
29: ; preds = %26
%30 = load i32, ptr @stderr, align 4
%31 = call i32 @fprintf(i32 noundef %30, ptr noundef @.str)
store i32 1, ptr %1, align 4
br label %38
32: ; preds = %26
%33 = load i32, ptr %3, align 4
%34 = call i32 @putchar(i32 noundef %33)
br label %22, !llvm.loop !6
35: ; preds = %22
%36 = load i32, ptr @stdout, align 4
%37 = call i32 @fflush(i32 noundef %36)
store i32 0, ptr %1, align 4
br label %38
38: ; preds = %35, %29, %14, %6
%39 = load i32, ptr %1, align 4
ret i32 %39
}
declare i32 @getchar(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @putchar(i32 noundef) #1
declare i32 @fflush(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp6sjmec39.c"
target datalayout = "e-m:e-p270: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 [25 x i8] c"Error: Not enough data.\0A\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 (...) @getchar()
store i32 %4, ptr %3, align 4
%5 = icmp eq i32 %4, -1
br i1 %5, label %6, label %9
6: ; preds = %0
%7 = load i32, ptr @stderr, align 4
%8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str)
store i32 1, ptr %1, align 4
br label %40
9: ; preds = %0
%10 = load i32, ptr %3, align 4
%11 = srem i32 %10, 256
store i32 %11, ptr %2, align 4
%12 = call i32 (...) @getchar()
store i32 %12, ptr %3, align 4
%13 = icmp eq i32 %12, -1
br i1 %13, label %14, label %17
14: ; preds = %9
%15 = load i32, ptr @stderr, align 4
%16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str)
store i32 1, ptr %1, align 4
br label %40
17: ; preds = %9
%18 = load i32, ptr %3, align 4
%19 = mul nsw i32 %18, 256
%20 = load i32, ptr %2, align 4
%21 = add i32 %19, %20
store i32 %21, ptr %2, align 4
%22 = load i32, ptr %2, align 4
%23 = add i32 %22, -1
store i32 %23, ptr %2, align 4
%24 = icmp ne i32 %22, 0
br i1 %24, label %.lr.ph, label %37
.lr.ph: ; preds = %17
br label %25
25: ; preds = %.lr.ph, %31
%26 = call i32 (...) @getchar()
store i32 %26, ptr %3, align 4
%27 = icmp eq i32 %26, -1
br i1 %27, label %28, label %31
28: ; preds = %25
%29 = load i32, ptr @stderr, align 4
%30 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str)
store i32 1, ptr %1, align 4
br label %40
31: ; preds = %25
%32 = load i32, ptr %3, align 4
%33 = call i32 @putchar(i32 noundef %32)
%34 = load i32, ptr %2, align 4
%35 = add i32 %34, -1
store i32 %35, ptr %2, align 4
%36 = icmp ne i32 %34, 0
br i1 %36, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %37
37: ; preds = %._crit_edge, %17
%38 = load i32, ptr @stdout, align 4
%39 = call i32 @fflush(i32 noundef %38)
store i32 0, ptr %1, align 4
br label %40
40: ; preds = %37, %28, %14, %6
%41 = load i32, ptr %1, align 4
ret i32 %41
}
declare i32 @getchar(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @putchar(i32 noundef) #1
declare i32 @fflush(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpbt782tg_.c'
source_filename = "/tmp/tmpbt782tg_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"Calloc\00", align 1
@EOF = dso_local global i8 0, align 1
@EOVERFLOW = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [6 x i8] c"Input\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"Fopen\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"Fread\00", align 1
@.str.5 = private unnamed_addr constant [39 x i8] c"\0AYour file with printed newlines:\0A%s\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i8, align 1
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca [1024 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
store ptr null, ptr %9, align 8
store ptr null, ptr %10, align 8
store ptr null, ptr %11, align 8
call void @llvm.memset.p0.i64(ptr align 16 %12, i8 0, i64 1024, i1 false)
%13 = getelementptr inbounds [1024 x i8], ptr %12, i32 0, i32 0
store i8 46, ptr %13, align 16
%14 = getelementptr inbounds [1024 x i8], ptr %12, i32 0, i32 1
store i8 47, ptr %14, align 1
%15 = call ptr @calloc(i32 noundef 7048, i32 noundef 1)
store ptr %15, ptr %10, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %19
17: ; preds = %2
%18 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %176
19: ; preds = %2
%20 = call ptr @calloc(i32 noundef 14096, i32 noundef 1)
store ptr %20, ptr %11, align 8
%21 = icmp eq ptr %20, null
br i1 %21, label %22, label %24
22: ; preds = %19
%23 = call i32 @perror(ptr noundef @.str)
br label %157
24: ; preds = %19
%25 = load i32, ptr %4, align 4
%26 = icmp sle i32 %25, 1
br i1 %26, label %27, label %59
27: ; preds = %24
store i32 0, ptr %6, align 4
br label %28
28: ; preds = %47, %27
%29 = call signext i8 (...) @getchar()
store i8 %29, ptr %8, align 1
%30 = sext i8 %29 to i32
%31 = load i8, ptr @EOF, align 1
%32 = sext i8 %31 to i32
%33 = icmp ne i32 %30, %32
br i1 %33, label %34, label %38
34: ; preds = %28
%35 = load i8, ptr %8, align 1
%36 = sext i8 %35 to i32
%37 = icmp ne i32 %36, 0
br label %38
38: ; preds = %34, %28
%39 = phi i1 [ false, %28 ], [ %37, %34 ]
br i1 %39, label %40, label %54
40: ; preds = %38
%41 = load i32, ptr %6, align 4
%42 = add nsw i32 %41, 1
%43 = icmp sge i32 %42, 7048
br i1 %43, label %44, label %47
44: ; preds = %40
%45 = load i32, ptr @EOVERFLOW, align 4
store i32 %45, ptr @errno, align 4
%46 = call i32 @perror(ptr noundef @.str.1)
br label %157
47: ; preds = %40
%48 = load i8, ptr %8, align 1
%49 = load ptr, ptr %10, align 8
%50 = load i32, ptr %6, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %6, align 4
%52 = sext i32 %50 to i64
%53 = getelementptr inbounds i8, ptr %49, i64 %52
store i8 %48, ptr %53, align 1
br label %28, !llvm.loop !6
54: ; preds = %38
%55 = load ptr, ptr %10, align 8
%56 = load i32, ptr %6, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i8, ptr %55, i64 %57
store i8 0, ptr %58, align 1
br label %86
59: ; preds = %24
%60 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0
%61 = load ptr, ptr %5, align 8
%62 = getelementptr inbounds ptr, ptr %61, i64 1
%63 = load ptr, ptr %62, align 8
%64 = call i32 @strcat(ptr noundef %60, ptr noundef %63)
%65 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0
%66 = call ptr @fopen(ptr noundef %65, ptr noundef @.str.2)
store ptr %66, ptr %9, align 8
%67 = icmp eq ptr %66, null
br i1 %67, label %68, label %70
68: ; preds = %59
%69 = call i32 @perror(ptr noundef @.str.3)
br label %157
70: ; preds = %59
%71 = load ptr, ptr %10, align 8
%72 = load ptr, ptr %9, align 8
%73 = call i32 @fread(ptr noundef %71, i32 noundef 1, i32 noundef 7048, ptr noundef %72)
%74 = load ptr, ptr %9, align 8
%75 = call i64 @ferror(ptr noundef %74)
%76 = icmp ne i64 %75, 0
br i1 %76, label %77, label %79
77: ; preds = %70
%78 = call i32 @perror(ptr noundef @.str.4)
br label %157
79: ; preds = %70
%80 = load ptr, ptr %9, align 8
%81 = icmp ne ptr %80, null
br i1 %81, label %82, label %85
82: ; preds = %79
%83 = load ptr, ptr %9, align 8
%84 = call i32 @fclose(ptr noundef %83)
store ptr null, ptr %9, align 8
br label %85
85: ; preds = %82, %79
br label %86
86: ; preds = %85, %54
store i32 0, ptr %7, align 4
store i32 0, ptr %6, align 4
br label %87
87: ; preds = %131, %86
%88 = load i32, ptr %6, align 4
%89 = load ptr, ptr %10, align 8
%90 = call i64 @strlen(ptr noundef %89)
%91 = trunc i64 %90 to i32
%92 = icmp slt i32 %88, %91
br i1 %92, label %93, label %132
93: ; preds = %87
%94 = load ptr, ptr %10, align 8
%95 = load i32, ptr %6, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds i8, ptr %94, i64 %96
%98 = load i8, ptr %97, align 1
%99 = sext i8 %98 to i32
%100 = icmp eq i32 %99, 10
br i1 %100, label %101, label %119
101: ; preds = %93
%102 = load ptr, ptr %11, align 8
%103 = load i32, ptr %7, align 4
%104 = add nsw i32 %103, 1
store i32 %104, ptr %7, align 4
%105 = sext i32 %103 to i64
%106 = getelementptr inbounds i8, ptr %102, i64 %105
store i8 92, ptr %106, align 1
%107 = load ptr, ptr %11, align 8
%108 = load i32, ptr %7, align 4
%109 = add nsw i32 %108, 1
store i32 %109, ptr %7, align 4
%110 = sext i32 %108 to i64
%111 = getelementptr inbounds i8, ptr %107, i64 %110
store i8 110, ptr %111, align 1
%112 = load ptr, ptr %11, align 8
%113 = load i32, ptr %7, align 4
%114 = add nsw i32 %113, 1
store i32 %114, ptr %7, align 4
%115 = sext i32 %113 to i64
%116 = getelementptr inbounds i8, ptr %112, i64 %115
store i8 10, ptr %116, align 1
%117 = load i32, ptr %6, align 4
%118 = add nsw i32 %117, 1
store i32 %118, ptr %6, align 4
br label %131
119: ; preds = %93
%120 = load ptr, ptr %10, align 8
%121 = load i32, ptr %6, align 4
%122 = add nsw i32 %121, 1
store i32 %122, ptr %6, align 4
%123 = sext i32 %121 to i64
%124 = getelementptr inbounds i8, ptr %120, i64 %123
%125 = load i8, ptr %124, align 1
%126 = load ptr, ptr %11, align 8
%127 = load i32, ptr %7, align 4
%128 = add nsw i32 %127, 1
store i32 %128, ptr %7, align 4
%129 = sext i32 %127 to i64
%130 = getelementptr inbounds i8, ptr %126, i64 %129
store i8 %125, ptr %130, align 1
br label %131
131: ; preds = %119, %101
br label %87, !llvm.loop !8
132: ; preds = %87
%133 = load ptr, ptr %11, align 8
%134 = load i32, ptr %7, align 4
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds i8, ptr %133, i64 %135
store i8 0, ptr %136, align 1
%137 = load ptr, ptr %11, align 8
%138 = call i32 @printf(ptr noundef @.str.5, ptr noundef %137)
%139 = load ptr, ptr %10, align 8
%140 = icmp ne ptr %139, null
br i1 %140, label %141, label %144
141: ; preds = %132
%142 = load ptr, ptr %10, align 8
%143 = call i32 @free(ptr noundef %142)
store ptr null, ptr %10, align 8
br label %144
144: ; preds = %141, %132
%145 = load ptr, ptr %11, align 8
%146 = icmp ne ptr %145, null
br i1 %146, label %147, label %150
147: ; preds = %144
%148 = load ptr, ptr %11, align 8
%149 = call i32 @free(ptr noundef %148)
store ptr null, ptr %11, align 8
br label %150
150: ; preds = %147, %144
%151 = load ptr, ptr %9, align 8
%152 = icmp ne ptr %151, null
br i1 %152, label %153, label %156
153: ; preds = %150
%154 = load ptr, ptr %9, align 8
%155 = call i32 @fclose(ptr noundef %154)
store ptr null, ptr %9, align 8
br label %156
156: ; preds = %153, %150
store i32 0, ptr %3, align 4
br label %176
157: ; preds = %77, %68, %44, %22
%158 = load ptr, ptr %10, align 8
%159 = icmp ne ptr %158, null
br i1 %159, label %160, label %163
160: ; preds = %157
%161 = load ptr, ptr %10, align 8
%162 = call i32 @free(ptr noundef %161)
store ptr null, ptr %10, align 8
br label %163
163: ; preds = %160, %157
%164 = load ptr, ptr %11, align 8
%165 = icmp ne ptr %164, null
br i1 %165, label %166, label %169
166: ; preds = %163
%167 = load ptr, ptr %11, align 8
%168 = call i32 @free(ptr noundef %167)
store ptr null, ptr %11, align 8
br label %169
169: ; preds = %166, %163
%170 = load ptr, ptr %9, align 8
%171 = icmp ne ptr %170, null
br i1 %171, label %172, label %175
172: ; preds = %169
%173 = load ptr, ptr %9, align 8
%174 = call i32 @fclose(ptr noundef %173)
store ptr null, ptr %9, align 8
br label %175
175: ; preds = %172, %169
store i32 -1, ptr %3, align 4
br label %176
176: ; preds = %175, %156, %17
%177 = load i32, ptr %3, align 4
ret i32 %177
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare ptr @calloc(i32 noundef, i32 noundef) #2
declare i32 @perror(ptr noundef) #2
declare signext i8 @getchar(...) #2
declare i32 @strcat(ptr noundef, ptr noundef) #2
declare ptr @fopen(ptr noundef, ptr noundef) #2
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2
declare i64 @ferror(ptr noundef) #2
declare i32 @fclose(ptr noundef) #2
declare i64 @strlen(ptr noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
declare i32 @free(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbt782tg_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"Calloc\00", align 1
@EOF = dso_local global i8 0, align 1
@EOVERFLOW = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [6 x i8] c"Input\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"Fopen\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"Fread\00", align 1
@.str.5 = private unnamed_addr constant [39 x i8] c"\0AYour file with printed newlines:\0A%s\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i8, align 1
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca [1024 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
store ptr null, ptr %9, align 8
store ptr null, ptr %10, align 8
store ptr null, ptr %11, align 8
call void @llvm.memset.p0.i64(ptr align 16 %12, i8 0, i64 1024, i1 false)
%13 = getelementptr inbounds [1024 x i8], ptr %12, i32 0, i32 0
store i8 46, ptr %13, align 16
%14 = getelementptr inbounds [1024 x i8], ptr %12, i32 0, i32 1
store i8 47, ptr %14, align 1
%15 = call ptr @calloc(i32 noundef 7048, i32 noundef 1)
store ptr %15, ptr %10, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %19
17: ; preds = %2
%18 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %180
19: ; preds = %2
%20 = call ptr @calloc(i32 noundef 14096, i32 noundef 1)
store ptr %20, ptr %11, align 8
%21 = icmp eq ptr %20, null
br i1 %21, label %22, label %24
22: ; preds = %19
%23 = call i32 @perror(ptr noundef @.str)
br label %161
24: ; preds = %19
%25 = load i32, ptr %4, align 4
%26 = icmp sle i32 %25, 1
br i1 %26, label %27, label %59
27: ; preds = %24
store i32 0, ptr %6, align 4
br label %28
28: ; preds = %47, %27
%29 = call signext i8 (...) @getchar()
store i8 %29, ptr %8, align 1
%30 = sext i8 %29 to i32
%31 = load i8, ptr @EOF, align 1
%32 = sext i8 %31 to i32
%33 = icmp ne i32 %30, %32
br i1 %33, label %34, label %38
34: ; preds = %28
%35 = load i8, ptr %8, align 1
%36 = sext i8 %35 to i32
%37 = icmp ne i32 %36, 0
br label %38
38: ; preds = %34, %28
%39 = phi i1 [ false, %28 ], [ %37, %34 ]
br i1 %39, label %40, label %54
40: ; preds = %38
%41 = load i32, ptr %6, align 4
%42 = add nsw i32 %41, 1
%43 = icmp sge i32 %42, 7048
br i1 %43, label %44, label %47
44: ; preds = %40
%45 = load i32, ptr @EOVERFLOW, align 4
store i32 %45, ptr @errno, align 4
%46 = call i32 @perror(ptr noundef @.str.1)
br label %161
47: ; preds = %40
%48 = load i8, ptr %8, align 1
%49 = load ptr, ptr %10, align 8
%50 = load i32, ptr %6, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %6, align 4
%52 = sext i32 %50 to i64
%53 = getelementptr inbounds i8, ptr %49, i64 %52
store i8 %48, ptr %53, align 1
br label %28, !llvm.loop !6
54: ; preds = %38
%55 = load ptr, ptr %10, align 8
%56 = load i32, ptr %6, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i8, ptr %55, i64 %57
store i8 0, ptr %58, align 1
br label %86
59: ; preds = %24
%60 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0
%61 = load ptr, ptr %5, align 8
%62 = getelementptr inbounds ptr, ptr %61, i64 1
%63 = load ptr, ptr %62, align 8
%64 = call i32 @strcat(ptr noundef %60, ptr noundef %63)
%65 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0
%66 = call ptr @fopen(ptr noundef %65, ptr noundef @.str.2)
store ptr %66, ptr %9, align 8
%67 = icmp eq ptr %66, null
br i1 %67, label %68, label %70
68: ; preds = %59
%69 = call i32 @perror(ptr noundef @.str.3)
br label %161
70: ; preds = %59
%71 = load ptr, ptr %10, align 8
%72 = load ptr, ptr %9, align 8
%73 = call i32 @fread(ptr noundef %71, i32 noundef 1, i32 noundef 7048, ptr noundef %72)
%74 = load ptr, ptr %9, align 8
%75 = call i64 @ferror(ptr noundef %74)
%76 = icmp ne i64 %75, 0
br i1 %76, label %77, label %79
77: ; preds = %70
%78 = call i32 @perror(ptr noundef @.str.4)
br label %161
79: ; preds = %70
%80 = load ptr, ptr %9, align 8
%81 = icmp ne ptr %80, null
br i1 %81, label %82, label %85
82: ; preds = %79
%83 = load ptr, ptr %9, align 8
%84 = call i32 @fclose(ptr noundef %83)
store ptr null, ptr %9, align 8
br label %85
85: ; preds = %82, %79
br label %86
86: ; preds = %85, %54
store i32 0, ptr %7, align 4
store i32 0, ptr %6, align 4
%87 = load i32, ptr %6, align 4
%88 = load ptr, ptr %10, align 8
%89 = call i64 @strlen(ptr noundef %88)
%90 = trunc i64 %89 to i32
%91 = icmp slt i32 %87, %90
br i1 %91, label %.lr.ph, label %136
.lr.ph: ; preds = %86
br label %92
92: ; preds = %.lr.ph, %130
%93 = load ptr, ptr %10, align 8
%94 = load i32, ptr %6, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds i8, ptr %93, i64 %95
%97 = load i8, ptr %96, align 1
%98 = sext i8 %97 to i32
%99 = icmp eq i32 %98, 10
br i1 %99, label %100, label %118
100: ; preds = %92
%101 = load ptr, ptr %11, align 8
%102 = load i32, ptr %7, align 4
%103 = add nsw i32 %102, 1
store i32 %103, ptr %7, align 4
%104 = sext i32 %102 to i64
%105 = getelementptr inbounds i8, ptr %101, i64 %104
store i8 92, ptr %105, align 1
%106 = load ptr, ptr %11, align 8
%107 = load i32, ptr %7, align 4
%108 = add nsw i32 %107, 1
store i32 %108, ptr %7, align 4
%109 = sext i32 %107 to i64
%110 = getelementptr inbounds i8, ptr %106, i64 %109
store i8 110, ptr %110, align 1
%111 = load ptr, ptr %11, align 8
%112 = load i32, ptr %7, align 4
%113 = add nsw i32 %112, 1
store i32 %113, ptr %7, align 4
%114 = sext i32 %112 to i64
%115 = getelementptr inbounds i8, ptr %111, i64 %114
store i8 10, ptr %115, align 1
%116 = load i32, ptr %6, align 4
%117 = add nsw i32 %116, 1
store i32 %117, ptr %6, align 4
br label %130
118: ; preds = %92
%119 = load ptr, ptr %10, align 8
%120 = load i32, ptr %6, align 4
%121 = add nsw i32 %120, 1
store i32 %121, ptr %6, align 4
%122 = sext i32 %120 to i64
%123 = getelementptr inbounds i8, ptr %119, i64 %122
%124 = load i8, ptr %123, align 1
%125 = load ptr, ptr %11, align 8
%126 = load i32, ptr %7, align 4
%127 = add nsw i32 %126, 1
store i32 %127, ptr %7, align 4
%128 = sext i32 %126 to i64
%129 = getelementptr inbounds i8, ptr %125, i64 %128
store i8 %124, ptr %129, align 1
br label %130
130: ; preds = %118, %100
%131 = load i32, ptr %6, align 4
%132 = load ptr, ptr %10, align 8
%133 = call i64 @strlen(ptr noundef %132)
%134 = trunc i64 %133 to i32
%135 = icmp slt i32 %131, %134
br i1 %135, label %92, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %130
br label %136
136: ; preds = %._crit_edge, %86
%137 = load ptr, ptr %11, align 8
%138 = load i32, ptr %7, align 4
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds i8, ptr %137, i64 %139
store i8 0, ptr %140, align 1
%141 = load ptr, ptr %11, align 8
%142 = call i32 @printf(ptr noundef @.str.5, ptr noundef %141)
%143 = load ptr, ptr %10, align 8
%144 = icmp ne ptr %143, null
br i1 %144, label %145, label %148
145: ; preds = %136
%146 = load ptr, ptr %10, align 8
%147 = call i32 @free(ptr noundef %146)
store ptr null, ptr %10, align 8
br label %148
148: ; preds = %145, %136
%149 = load ptr, ptr %11, align 8
%150 = icmp ne ptr %149, null
br i1 %150, label %151, label %154
151: ; preds = %148
%152 = load ptr, ptr %11, align 8
%153 = call i32 @free(ptr noundef %152)
store ptr null, ptr %11, align 8
br label %154
154: ; preds = %151, %148
%155 = load ptr, ptr %9, align 8
%156 = icmp ne ptr %155, null
br i1 %156, label %157, label %160
157: ; preds = %154
%158 = load ptr, ptr %9, align 8
%159 = call i32 @fclose(ptr noundef %158)
store ptr null, ptr %9, align 8
br label %160
160: ; preds = %157, %154
store i32 0, ptr %3, align 4
br label %180
161: ; preds = %77, %68, %44, %22
%162 = load ptr, ptr %10, align 8
%163 = icmp ne ptr %162, null
br i1 %163, label %164, label %167
164: ; preds = %161
%165 = load ptr, ptr %10, align 8
%166 = call i32 @free(ptr noundef %165)
store ptr null, ptr %10, align 8
br label %167
167: ; preds = %164, %161
%168 = load ptr, ptr %11, align 8
%169 = icmp ne ptr %168, null
br i1 %169, label %170, label %173
170: ; preds = %167
%171 = load ptr, ptr %11, align 8
%172 = call i32 @free(ptr noundef %171)
store ptr null, ptr %11, align 8
br label %173
173: ; preds = %170, %167
%174 = load ptr, ptr %9, align 8
%175 = icmp ne ptr %174, null
br i1 %175, label %176, label %179
176: ; preds = %173
%177 = load ptr, ptr %9, align 8
%178 = call i32 @fclose(ptr noundef %177)
store ptr null, ptr %9, align 8
br label %179
179: ; preds = %176, %173
store i32 -1, ptr %3, align 4
br label %180
180: ; preds = %179, %160, %17
%181 = load i32, ptr %3, align 4
ret i32 %181
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare ptr @calloc(i32 noundef, i32 noundef) #2
declare i32 @perror(ptr noundef) #2
declare signext i8 @getchar(...) #2
declare i32 @strcat(ptr noundef, ptr noundef) #2
declare ptr @fopen(ptr noundef, ptr noundef) #2
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2
declare i64 @ferror(ptr noundef) #2
declare i32 @fclose(ptr noundef) #2
declare i64 @strlen(ptr noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
declare i32 @free(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmplmm5fhx6.c'
source_filename = "/tmp/tmplmm5fhx6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @c_malloc(i64 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
store i64 %0, ptr %3, align 8
%4 = load i64, ptr %3, align 8
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %7
6: ; preds = %1
store ptr null, ptr %2, align 8
br label %10
7: ; preds = %1
%8 = load i64, ptr %3, align 8
%9 = call ptr @c_calloc(i32 noundef 1, i64 noundef %8)
store ptr %9, ptr %2, align 8
br label %10
10: ; preds = %7, %6
%11 = load ptr, ptr %2, align 8
ret ptr %11
}
declare ptr @c_calloc(i32 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/tmplmm5fhx6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @c_malloc(i64 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
store i64 %0, ptr %3, align 8
%4 = load i64, ptr %3, align 8
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %7
6: ; preds = %1
store ptr null, ptr %2, align 8
br label %10
7: ; preds = %1
%8 = load i64, ptr %3, align 8
%9 = call ptr @c_calloc(i32 noundef 1, i64 noundef %8)
store ptr %9, ptr %2, align 8
br label %10
10: ; preds = %7, %6
%11 = load ptr, ptr %2, align 8
ret ptr %11
}
declare ptr @c_calloc(i32 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/tmp71f_7m8z.c'
source_filename = "/tmp/tmp71f_7m8z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"Hello from Parent, pid = %d \09 ppid=%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [38 x i8] c"Hello from child, pid = %d \09 ppid=%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"Common code\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i64 (...) @fork()
%3 = icmp eq i64 %2, 0
br i1 %3, label %4, label %8
4: ; preds = %0
%5 = call i32 (...) @getpid()
%6 = call i32 (...) @getppid()
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %6)
br label %12
8: ; preds = %0
%9 = call i32 (...) @getpid()
%10 = call i32 (...) @getppid()
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %9, i32 noundef %10)
br label %12
12: ; preds = %8, %4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret i32 0
}
declare i64 @fork(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @getpid(...) #1
declare i32 @getppid(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp71f_7m8z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"Hello from Parent, pid = %d \09 ppid=%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [38 x i8] c"Hello from child, pid = %d \09 ppid=%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"Common code\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i64 (...) @fork()
%3 = icmp eq i64 %2, 0
br i1 %3, label %4, label %8
4: ; preds = %0
%5 = call i32 (...) @getpid()
%6 = call i32 (...) @getppid()
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %6)
br label %12
8: ; preds = %0
%9 = call i32 (...) @getpid()
%10 = call i32 (...) @getppid()
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %9, i32 noundef %10)
br label %12
12: ; preds = %8, %4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret i32 0
}
declare i64 @fork(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @getpid(...) #1
declare i32 @getppid(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwxunt23z.c'
source_filename = "/tmp/tmpwxunt23z.c"
target datalayout = "e-m:e-p270: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/tmpwxunt23z.c"
target datalayout = "e-m:e-p270: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/tmptctkju_9.c'
source_filename = "/tmp/tmptctkju_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 [10 x i8] c"%s_%s.bov\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"wb\00", align 1
@.str.2 = private unnamed_addr constant [40 x i8] c"WARNING: Unable to create BOV file (%s)\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"%s_%s.dat\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"VARIABLE: %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"DATA_FILE: %s\0A\00", align 1
@.str.6 = private unnamed_addr constant [15 x i8] c"DATA_SIZE: %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [20 x i8] c"DATA_COMPONENTS: 1\0A\00", align 1
@.str.8 = private unnamed_addr constant [21 x i8] c"DATA_FORMAT: DOUBLE\0A\00", align 1
@.str.9 = private unnamed_addr constant [21 x i8] c"DATA_ENDIAN: LITTLE\0A\00", align 1
@.str.10 = private unnamed_addr constant [7 x i8] c"%s.dat\00", align 1
@.str.11 = private unnamed_addr constant [40 x i8] c"WARNING: Unable to create DAT file (%s)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dump_velocity_component_c(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr 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 ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
%17 = alloca [256 x i8], align 16
%18 = alloca [256 x i8], align 16
%19 = 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 ptr %5, ptr %12, align 8
%20 = getelementptr inbounds [256 x i8], ptr %18, i64 0, i64 0
%21 = load ptr, ptr %7, align 8
%22 = load ptr, ptr %8, align 8
%23 = call i32 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %20, i32 noundef 256, ptr noundef @.str, ptr noundef %21, ptr noundef %22)
%24 = getelementptr inbounds [256 x i8], ptr %18, i64 0, i64 0
%25 = call ptr @fopen(ptr noundef %24, ptr noundef @.str.1)
store ptr %25, ptr %16, align 8
%26 = load ptr, ptr %16, align 8
%27 = icmp eq ptr %26, null
br i1 %27, label %28, label %34
28: ; preds = %6
%29 = getelementptr inbounds [256 x i8], ptr %17, i64 0, i64 0
%30 = getelementptr inbounds [256 x i8], ptr %18, i64 0, i64 0
%31 = call i32 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %29, i32 noundef 256, ptr noundef @.str.2, ptr noundef %30)
%32 = getelementptr inbounds [256 x i8], ptr %17, i64 0, i64 0
%33 = call i32 @perror(ptr noundef %32)
br label %80
34: ; preds = %6
%35 = getelementptr inbounds [256 x i8], ptr %18, i64 0, i64 0
%36 = load ptr, ptr %7, align 8
%37 = load ptr, ptr %8, align 8
%38 = call i32 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %35, i32 noundef 256, ptr noundef @.str.3, ptr noundef %36, ptr noundef %37)
%39 = load ptr, ptr %16, align 8
%40 = load ptr, ptr %8, align 8
%41 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %39, ptr noundef @.str.4, ptr noundef %40)
%42 = load ptr, ptr %16, align 8
%43 = getelementptr inbounds [256 x i8], ptr %18, i64 0, i64 0
%44 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %42, ptr noundef @.str.5, ptr noundef %43)
%45 = load ptr, ptr %16, align 8
%46 = load i32, ptr %9, align 4
%47 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %45, ptr noundef @.str.6, i32 noundef %46)
%48 = load ptr, ptr %16, align 8
%49 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %48, ptr noundef @.str.7)
%50 = load ptr, ptr %16, align 8
%51 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %50, ptr noundef @.str.8)
%52 = load ptr, ptr %16, align 8
%53 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %52, ptr noundef @.str.9)
%54 = load ptr, ptr %16, align 8
%55 = call i32 @fclose(ptr noundef %54)
%56 = getelementptr inbounds [256 x i8], ptr %18, i64 0, i64 0
%57 = load ptr, ptr %7, align 8
%58 = call i32 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %56, i32 noundef 256, ptr noundef @.str.10, ptr noundef %57)
%59 = getelementptr inbounds [256 x i8], ptr %18, i64 0, i64 0
%60 = call ptr @fopen(ptr noundef %59, ptr noundef @.str.1)
store ptr %60, ptr %16, align 8
%61 = load ptr, ptr %16, align 8
%62 = icmp eq ptr %61, null
br i1 %62, label %63, label %69
63: ; preds = %34
%64 = getelementptr inbounds [256 x i8], ptr %17, i64 0, i64 0
%65 = getelementptr inbounds [256 x i8], ptr %18, i64 0, i64 0
%66 = call i32 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %64, i32 noundef 256, ptr noundef @.str.11, ptr noundef %65)
%67 = getelementptr inbounds [256 x i8], ptr %17, i64 0, i64 0
%68 = call i32 @perror(ptr noundef %67)
br label %80
69: ; preds = %34
%70 = load ptr, ptr %12, align 8
%71 = load i32, ptr %9, align 4
%72 = load i32, ptr %10, align 4
%73 = mul nsw i32 %71, %72
%74 = load i32, ptr %11, align 4
%75 = mul nsw i32 %73, %74
%76 = load ptr, ptr %16, align 8
%77 = call i32 @fwrite(ptr noundef %70, i32 noundef 8, i32 noundef %75, ptr noundef %76)
%78 = load ptr, ptr %16, align 8
%79 = call i32 @fclose(ptr noundef %78)
br label %80
80: ; preds = %69, %63, %28
ret void
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptctkju_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 [10 x i8] c"%s_%s.bov\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"wb\00", align 1
@.str.2 = private unnamed_addr constant [40 x i8] c"WARNING: Unable to create BOV file (%s)\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"%s_%s.dat\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"VARIABLE: %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"DATA_FILE: %s\0A\00", align 1
@.str.6 = private unnamed_addr constant [15 x i8] c"DATA_SIZE: %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [20 x i8] c"DATA_COMPONENTS: 1\0A\00", align 1
@.str.8 = private unnamed_addr constant [21 x i8] c"DATA_FORMAT: DOUBLE\0A\00", align 1
@.str.9 = private unnamed_addr constant [21 x i8] c"DATA_ENDIAN: LITTLE\0A\00", align 1
@.str.10 = private unnamed_addr constant [7 x i8] c"%s.dat\00", align 1
@.str.11 = private unnamed_addr constant [40 x i8] c"WARNING: Unable to create DAT file (%s)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dump_velocity_component_c(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr 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 ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
%17 = alloca [256 x i8], align 16
%18 = alloca [256 x i8], align 16
%19 = 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 ptr %5, ptr %12, align 8
%20 = getelementptr inbounds [256 x i8], ptr %18, i64 0, i64 0
%21 = load ptr, ptr %7, align 8
%22 = load ptr, ptr %8, align 8
%23 = call i32 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %20, i32 noundef 256, ptr noundef @.str, ptr noundef %21, ptr noundef %22)
%24 = getelementptr inbounds [256 x i8], ptr %18, i64 0, i64 0
%25 = call ptr @fopen(ptr noundef %24, ptr noundef @.str.1)
store ptr %25, ptr %16, align 8
%26 = load ptr, ptr %16, align 8
%27 = icmp eq ptr %26, null
br i1 %27, label %28, label %34
28: ; preds = %6
%29 = getelementptr inbounds [256 x i8], ptr %17, i64 0, i64 0
%30 = getelementptr inbounds [256 x i8], ptr %18, i64 0, i64 0
%31 = call i32 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %29, i32 noundef 256, ptr noundef @.str.2, ptr noundef %30)
%32 = getelementptr inbounds [256 x i8], ptr %17, i64 0, i64 0
%33 = call i32 @perror(ptr noundef %32)
br label %80
34: ; preds = %6
%35 = getelementptr inbounds [256 x i8], ptr %18, i64 0, i64 0
%36 = load ptr, ptr %7, align 8
%37 = load ptr, ptr %8, align 8
%38 = call i32 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %35, i32 noundef 256, ptr noundef @.str.3, ptr noundef %36, ptr noundef %37)
%39 = load ptr, ptr %16, align 8
%40 = load ptr, ptr %8, align 8
%41 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %39, ptr noundef @.str.4, ptr noundef %40)
%42 = load ptr, ptr %16, align 8
%43 = getelementptr inbounds [256 x i8], ptr %18, i64 0, i64 0
%44 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %42, ptr noundef @.str.5, ptr noundef %43)
%45 = load ptr, ptr %16, align 8
%46 = load i32, ptr %9, align 4
%47 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %45, ptr noundef @.str.6, i32 noundef %46)
%48 = load ptr, ptr %16, align 8
%49 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %48, ptr noundef @.str.7)
%50 = load ptr, ptr %16, align 8
%51 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %50, ptr noundef @.str.8)
%52 = load ptr, ptr %16, align 8
%53 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %52, ptr noundef @.str.9)
%54 = load ptr, ptr %16, align 8
%55 = call i32 @fclose(ptr noundef %54)
%56 = getelementptr inbounds [256 x i8], ptr %18, i64 0, i64 0
%57 = load ptr, ptr %7, align 8
%58 = call i32 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %56, i32 noundef 256, ptr noundef @.str.10, ptr noundef %57)
%59 = getelementptr inbounds [256 x i8], ptr %18, i64 0, i64 0
%60 = call ptr @fopen(ptr noundef %59, ptr noundef @.str.1)
store ptr %60, ptr %16, align 8
%61 = load ptr, ptr %16, align 8
%62 = icmp eq ptr %61, null
br i1 %62, label %63, label %69
63: ; preds = %34
%64 = getelementptr inbounds [256 x i8], ptr %17, i64 0, i64 0
%65 = getelementptr inbounds [256 x i8], ptr %18, i64 0, i64 0
%66 = call i32 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %64, i32 noundef 256, ptr noundef @.str.11, ptr noundef %65)
%67 = getelementptr inbounds [256 x i8], ptr %17, i64 0, i64 0
%68 = call i32 @perror(ptr noundef %67)
br label %80
69: ; preds = %34
%70 = load ptr, ptr %12, align 8
%71 = load i32, ptr %9, align 4
%72 = load i32, ptr %10, align 4
%73 = mul nsw i32 %71, %72
%74 = load i32, ptr %11, align 4
%75 = mul nsw i32 %73, %74
%76 = load ptr, ptr %16, align 8
%77 = call i32 @fwrite(ptr noundef %70, i32 noundef 8, i32 noundef %75, ptr noundef %76)
%78 = load ptr, ptr %16, align 8
%79 = call i32 @fclose(ptr noundef %78)
br label %80
80: ; preds = %69, %63, %28
ret void
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpllw2jir4.c'
source_filename = "/tmp/tmpllw2jir4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d, \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_array(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %17, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %20
10: ; preds = %6
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
%15 = load i32, ptr %14, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %15)
br label %17
17: ; preds = %10
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %5, align 4
br label %6, !llvm.loop !6
20: ; preds = %6
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpllw2jir4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d, \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_array(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %22
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %16
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i32, ptr %10, i64 %12
%14 = load i32, ptr %13, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14)
br label %16
16: ; preds = %9
%17 = load i32, ptr %5, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %5, align 4
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %22
22: ; preds = %._crit_edge, %2
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmptjd7xtar.c'
source_filename = "/tmp/tmptjd7xtar.c"
target datalayout = "e-m:e-p270: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.rusage = type { i64 }
@RUSAGE_SELF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @queryMaxResidentSize() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.rusage, align 8
%3 = alloca i32, align 4
%4 = load i32, ptr @RUSAGE_SELF, align 4
store i32 %4, ptr %1, align 4
%5 = load i32, ptr %1, align 4
%6 = call i32 @getrusage(i32 noundef %5, ptr noundef %2)
store i32 %6, ptr %3, align 4
%7 = getelementptr inbounds %struct.rusage, ptr %2, i32 0, i32 0
%8 = load i64, ptr %7, align 8
ret i64 %8
}
declare i32 @getrusage(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/tmptjd7xtar.c"
target datalayout = "e-m:e-p270: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.rusage = type { i64 }
@RUSAGE_SELF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @queryMaxResidentSize() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.rusage, align 8
%3 = alloca i32, align 4
%4 = load i32, ptr @RUSAGE_SELF, align 4
store i32 %4, ptr %1, align 4
%5 = load i32, ptr %1, align 4
%6 = call i32 @getrusage(i32 noundef %5, ptr noundef %2)
store i32 %6, ptr %3, align 4
%7 = getelementptr inbounds %struct.rusage, ptr %2, i32 0, i32 0
%8 = load i64, ptr %7, align 8
ret i64 %8
}
declare i32 @getrusage(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/tmp00lbqxj5.c'
source_filename = "/tmp/tmp00lbqxj5.c"
target datalayout = "e-m:e-p270: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/tmp00lbqxj5.c"
target datalayout = "e-m:e-p270: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/tmp20uprmym.c'
source_filename = "/tmp/tmp20uprmym.c"
target datalayout = "e-m:e-p270: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/tmp20uprmym.c"
target datalayout = "e-m:e-p270: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/tmp8uvxbp9p.c'
source_filename = "/tmp/tmp8uvxbp9p.c"
target datalayout = "e-m:e-p270: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/tmp8uvxbp9p.c"
target datalayout = "e-m:e-p270: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/tmpra6zod1g.c'
source_filename = "/tmp/tmpra6zod1g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlcpy_cycle(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
%12 = load ptr, ptr %6, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %17
14: ; preds = %4
%15 = load i64, ptr %8, align 8
%16 = icmp ule i64 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %14, %4
store i64 0, ptr %5, align 8
br label %59
18: ; preds = %14
%19 = load ptr, ptr %7, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %25
21: ; preds = %18
%22 = load ptr, ptr %7, align 8
%23 = load i8, ptr %22, align 1
%24 = icmp ne i8 %23, 0
br i1 %24, label %27, label %25
25: ; preds = %21, %18
%26 = load ptr, ptr %6, align 8
store i8 0, ptr %26, align 1
store i64 0, ptr %5, align 8
br label %59
27: ; preds = %21
%28 = load ptr, ptr %7, align 8
store ptr %28, ptr %11, align 8
store i64 0, ptr %10, align 8
br label %29
29: ; preds = %49, %27
%30 = load i64, ptr %8, align 8
%31 = icmp uge i64 %30, 2
br i1 %31, label %32, label %35
32: ; preds = %29
%33 = load i64, ptr %9, align 8
%34 = icmp uge i64 %33, 1
br label %35
35: ; preds = %32, %29
%36 = phi i1 [ false, %29 ], [ %34, %32 ]
br i1 %36, label %37, label %56
37: ; preds = %35
%38 = load ptr, ptr %11, align 8
%39 = load i8, ptr %38, align 1
%40 = icmp ne i8 %39, 0
br i1 %40, label %43, label %41
41: ; preds = %37
%42 = load ptr, ptr %7, align 8
store ptr %42, ptr %11, align 8
br label %43
43: ; preds = %41, %37
%44 = load ptr, ptr %11, align 8
%45 = getelementptr inbounds i8, ptr %44, i32 1
store ptr %45, ptr %11, align 8
%46 = load i8, ptr %44, align 1
%47 = load ptr, ptr %6, align 8
%48 = getelementptr inbounds i8, ptr %47, i32 1
store ptr %48, ptr %6, align 8
store i8 %46, ptr %47, align 1
br label %49
49: ; preds = %43
%50 = load i64, ptr %10, align 8
%51 = add i64 %50, 1
store i64 %51, ptr %10, align 8
%52 = load i64, ptr %8, align 8
%53 = add i64 %52, -1
store i64 %53, ptr %8, align 8
%54 = load i64, ptr %9, align 8
%55 = add i64 %54, -1
store i64 %55, ptr %9, align 8
br label %29, !llvm.loop !6
56: ; preds = %35
%57 = load ptr, ptr %6, align 8
store i8 0, ptr %57, align 1
%58 = load i64, ptr %10, align 8
store i64 %58, ptr %5, align 8
br label %59
59: ; preds = %56, %25, %17
%60 = load i64, ptr %5, align 8
ret i64 %60
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpra6zod1g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlcpy_cycle(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
%12 = load ptr, ptr %6, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %17
14: ; preds = %4
%15 = load i64, ptr %8, align 8
%16 = icmp ule i64 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %14, %4
store i64 0, ptr %5, align 8
br label %59
18: ; preds = %14
%19 = load ptr, ptr %7, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %25
21: ; preds = %18
%22 = load ptr, ptr %7, align 8
%23 = load i8, ptr %22, align 1
%24 = icmp ne i8 %23, 0
br i1 %24, label %27, label %25
25: ; preds = %21, %18
%26 = load ptr, ptr %6, align 8
store i8 0, ptr %26, align 1
store i64 0, ptr %5, align 8
br label %59
27: ; preds = %21
%28 = load ptr, ptr %7, align 8
store ptr %28, ptr %11, align 8
store i64 0, ptr %10, align 8
br label %29
29: ; preds = %49, %27
%30 = load i64, ptr %8, align 8
%31 = icmp uge i64 %30, 2
br i1 %31, label %32, label %35
32: ; preds = %29
%33 = load i64, ptr %9, align 8
%34 = icmp uge i64 %33, 1
br label %35
35: ; preds = %32, %29
%36 = phi i1 [ false, %29 ], [ %34, %32 ]
br i1 %36, label %37, label %56
37: ; preds = %35
%38 = load ptr, ptr %11, align 8
%39 = load i8, ptr %38, align 1
%40 = icmp ne i8 %39, 0
br i1 %40, label %43, label %41
41: ; preds = %37
%42 = load ptr, ptr %7, align 8
store ptr %42, ptr %11, align 8
br label %43
43: ; preds = %41, %37
%44 = load ptr, ptr %11, align 8
%45 = getelementptr inbounds i8, ptr %44, i32 1
store ptr %45, ptr %11, align 8
%46 = load i8, ptr %44, align 1
%47 = load ptr, ptr %6, align 8
%48 = getelementptr inbounds i8, ptr %47, i32 1
store ptr %48, ptr %6, align 8
store i8 %46, ptr %47, align 1
br label %49
49: ; preds = %43
%50 = load i64, ptr %10, align 8
%51 = add i64 %50, 1
store i64 %51, ptr %10, align 8
%52 = load i64, ptr %8, align 8
%53 = add i64 %52, -1
store i64 %53, ptr %8, align 8
%54 = load i64, ptr %9, align 8
%55 = add i64 %54, -1
store i64 %55, ptr %9, align 8
br label %29, !llvm.loop !6
56: ; preds = %35
%57 = load ptr, ptr %6, align 8
store i8 0, ptr %57, align 1
%58 = load i64, ptr %10, align 8
store i64 %58, ptr %5, align 8
br label %59
59: ; preds = %56, %25, %17
%60 = load i64, ptr %5, align 8
ret i64 %60
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmphds70wxe.c'
source_filename = "/tmp/tmphds70wxe.c"
target datalayout = "e-m:e-p270: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 [19 x i8] c"Error: Fork error\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Error: failed to setgid\0A\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"/bin/sh\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"sh\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"-c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @fork_actual_command(i32 noundef %0, i16 noundef zeroext %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i16, align 2
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
store i32 %0, ptr %5, align 4
store i16 %1, ptr %6, align 2
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%10 = call i64 (...) @fork()
store i64 %10, ptr %9, align 8
%11 = icmp slt i64 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %4
%13 = load i32, ptr @stderr, align 4
%14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str)
br label %15
15: ; preds = %12, %4
%16 = load i64, ptr %9, align 8
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %42
18: ; preds = %15
%19 = load i32, ptr %5, align 4
switch i32 %19, label %34 [
i32 0, label %20
i32 2, label %31
i32 1, label %31
i32 3, label %33
]
20: ; preds = %18
%21 = load i16, ptr %6, align 2
%22 = call i32 @setgid(i16 noundef zeroext %21)
%23 = icmp slt i32 %22, 0
br i1 %23, label %24, label %28
24: ; preds = %20
%25 = load i32, ptr @stderr, align 4
%26 = call i32 @fprintf(i32 noundef %25, ptr noundef @.str.1)
%27 = call i32 @exit(i32 noundef 1) #3
unreachable
28: ; preds = %20
%29 = load i16, ptr %6, align 2
%30 = zext i16 %29 to i64
store i64 %30, ptr %9, align 8
br label %34
31: ; preds = %18, %18
%32 = call i64 (...) @getpid()
store i64 %32, ptr %9, align 8
br label %34
33: ; preds = %18
store i64 0, ptr %9, align 8
store i32 2, ptr %5, align 4
br label %34
34: ; preds = %18, %33, %31, %28
%35 = load i32, ptr %5, align 4
%36 = load i64, ptr %9, align 8
%37 = load ptr, ptr %7, align 8
%38 = call i32 @write_track_xid(i32 noundef %35, i64 noundef %36, ptr noundef %37)
%39 = load ptr, ptr %8, align 8
%40 = call i32 @execl(ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef %39, ptr noundef null)
%41 = call i32 @exit(i32 noundef 0) #3
unreachable
42: ; preds = %15
%43 = load i64, ptr %9, align 8
ret i64 %43
}
declare i64 @fork(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @setgid(i16 noundef zeroext) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @getpid(...) #1
declare i32 @write_track_xid(i32 noundef, i64 noundef, ptr noundef) #1
declare i32 @execl(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmphds70wxe.c"
target datalayout = "e-m:e-p270: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 [19 x i8] c"Error: Fork error\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Error: failed to setgid\0A\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"/bin/sh\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"sh\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"-c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @fork_actual_command(i32 noundef %0, i16 noundef zeroext %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i16, align 2
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
store i32 %0, ptr %5, align 4
store i16 %1, ptr %6, align 2
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%10 = call i64 (...) @fork()
store i64 %10, ptr %9, align 8
%11 = icmp slt i64 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %4
%13 = load i32, ptr @stderr, align 4
%14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str)
br label %15
15: ; preds = %12, %4
%16 = load i64, ptr %9, align 8
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %42
18: ; preds = %15
%19 = load i32, ptr %5, align 4
switch i32 %19, label %34 [
i32 0, label %20
i32 2, label %31
i32 1, label %31
i32 3, label %33
]
20: ; preds = %18
%21 = load i16, ptr %6, align 2
%22 = call i32 @setgid(i16 noundef zeroext %21)
%23 = icmp slt i32 %22, 0
br i1 %23, label %24, label %28
24: ; preds = %20
%25 = load i32, ptr @stderr, align 4
%26 = call i32 @fprintf(i32 noundef %25, ptr noundef @.str.1)
%27 = call i32 @exit(i32 noundef 1) #3
unreachable
28: ; preds = %20
%29 = load i16, ptr %6, align 2
%30 = zext i16 %29 to i64
store i64 %30, ptr %9, align 8
br label %34
31: ; preds = %18, %18
%32 = call i64 (...) @getpid()
store i64 %32, ptr %9, align 8
br label %34
33: ; preds = %18
store i64 0, ptr %9, align 8
store i32 2, ptr %5, align 4
br label %34
34: ; preds = %33, %31, %28, %18
%35 = load i32, ptr %5, align 4
%36 = load i64, ptr %9, align 8
%37 = load ptr, ptr %7, align 8
%38 = call i32 @write_track_xid(i32 noundef %35, i64 noundef %36, ptr noundef %37)
%39 = load ptr, ptr %8, align 8
%40 = call i32 @execl(ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef %39, ptr noundef null)
%41 = call i32 @exit(i32 noundef 0) #3
unreachable
42: ; preds = %15
%43 = load i64, ptr %9, align 8
ret i64 %43
}
declare i64 @fork(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @setgid(i16 noundef zeroext) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @getpid(...) #1
declare i32 @write_track_xid(i32 noundef, i64 noundef, ptr noundef) #1
declare i32 @execl(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpa0o3_st7.c'
source_filename = "/tmp/tmpa0o3_st7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @splitAlphab(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %5, align 8
%9 = call i64 @strlen(ptr noundef %8)
%10 = add nsw i64 %9, 1
%11 = call ptr @cmalloc(i64 noundef %10)
store ptr %11, ptr %7, align 8
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %5, align 8
%14 = call i32 @strcpy(ptr noundef %12, ptr noundef %13)
%15 = load ptr, ptr %7, align 8
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
store i8 0, ptr %18, align 1
%19 = load ptr, ptr %4, align 8
%20 = load ptr, ptr %7, align 8
%21 = call i32 @strcpy(ptr noundef %19, ptr noundef %20)
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %6, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
%26 = load ptr, ptr %7, align 8
%27 = load i32, ptr %6, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
%30 = getelementptr inbounds i8, ptr %29, i64 1
%31 = call i32 @strcpy(ptr noundef %25, ptr noundef %30)
%32 = load ptr, ptr %7, align 8
%33 = call i32 @free(ptr noundef %32)
%34 = load ptr, ptr %4, align 8
ret ptr %34
}
declare ptr @cmalloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa0o3_st7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @splitAlphab(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %5, align 8
%9 = call i64 @strlen(ptr noundef %8)
%10 = add nsw i64 %9, 1
%11 = call ptr @cmalloc(i64 noundef %10)
store ptr %11, ptr %7, align 8
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %5, align 8
%14 = call i32 @strcpy(ptr noundef %12, ptr noundef %13)
%15 = load ptr, ptr %7, align 8
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
store i8 0, ptr %18, align 1
%19 = load ptr, ptr %4, align 8
%20 = load ptr, ptr %7, align 8
%21 = call i32 @strcpy(ptr noundef %19, ptr noundef %20)
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %6, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
%26 = load ptr, ptr %7, align 8
%27 = load i32, ptr %6, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
%30 = getelementptr inbounds i8, ptr %29, i64 1
%31 = call i32 @strcpy(ptr noundef %25, ptr noundef %30)
%32 = load ptr, ptr %7, align 8
%33 = call i32 @free(ptr noundef %32)
%34 = load ptr, ptr %4, align 8
ret ptr %34
}
declare ptr @cmalloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp021b6197.c'
source_filename = "/tmp/tmp021b6197.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @put_to_buf(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %8, align 8
%14 = load ptr, ptr %9, align 8
%15 = load i32, ptr %11, align 4
%16 = call i32 @check_buf_size(ptr noundef %12, ptr noundef %13, ptr noundef %14, i32 noundef %15)
%17 = icmp ne i32 %16, 0
br i1 %17, label %19, label %18
18: ; preds = %5
store i32 0, ptr %6, align 4
br label %33
19: ; preds = %5
%20 = load ptr, ptr %7, align 8
%21 = load ptr, ptr %20, align 8
%22 = load ptr, ptr %9, align 8
%23 = load i32, ptr %22, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %21, i64 %24
%26 = load ptr, ptr %10, align 8
%27 = load i32, ptr %11, align 4
%28 = call i32 @memcpy(ptr noundef %25, ptr noundef %26, i32 noundef %27)
%29 = load i32, ptr %11, align 4
%30 = load ptr, ptr %9, align 8
%31 = load i32, ptr %30, align 4
%32 = add nsw i32 %31, %29
store i32 %32, ptr %30, align 4
store i32 1, ptr %6, align 4
br label %33
33: ; preds = %19, %18
%34 = load i32, ptr %6, align 4
ret i32 %34
}
declare i32 @check_buf_size(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp021b6197.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @put_to_buf(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %8, align 8
%14 = load ptr, ptr %9, align 8
%15 = load i32, ptr %11, align 4
%16 = call i32 @check_buf_size(ptr noundef %12, ptr noundef %13, ptr noundef %14, i32 noundef %15)
%17 = icmp ne i32 %16, 0
br i1 %17, label %19, label %18
18: ; preds = %5
store i32 0, ptr %6, align 4
br label %33
19: ; preds = %5
%20 = load ptr, ptr %7, align 8
%21 = load ptr, ptr %20, align 8
%22 = load ptr, ptr %9, align 8
%23 = load i32, ptr %22, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %21, i64 %24
%26 = load ptr, ptr %10, align 8
%27 = load i32, ptr %11, align 4
%28 = call i32 @memcpy(ptr noundef %25, ptr noundef %26, i32 noundef %27)
%29 = load i32, ptr %11, align 4
%30 = load ptr, ptr %9, align 8
%31 = load i32, ptr %30, align 4
%32 = add nsw i32 %31, %29
store i32 %32, ptr %30, align 4
store i32 1, ptr %6, align 4
br label %33
33: ; preds = %19, %18
%34 = load i32, ptr %6, align 4
ret i32 %34
}
declare i32 @check_buf_size(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpopkg3dqb.c'
source_filename = "/tmp/tmpopkg3dqb.c"
target datalayout = "e-m:e-p270: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/tmpopkg3dqb.c"
target datalayout = "e-m:e-p270: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/tmphxxunngo.c'
source_filename = "/tmp/tmphxxunngo.c"
target datalayout = "e-m:e-p270: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/tmphxxunngo.c"
target datalayout = "e-m:e-p270: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/tmpmywlaq4q.c'
source_filename = "/tmp/tmpmywlaq4q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @init_output_file(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i64 @file_exists(ptr noundef %4)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = call i32 @remove(ptr noundef %8)
store i32 %9, ptr %2, align 4
br label %13
10: ; preds = %1
%11 = load ptr, ptr %3, align 8
%12 = call i32 @create_path(ptr noundef %11)
store i32 %12, ptr %2, align 4
br label %13
13: ; preds = %10, %7
%14 = load i32, ptr %2, align 4
ret i32 %14
}
declare i64 @file_exists(ptr noundef) #1
declare i32 @remove(ptr noundef) #1
declare i32 @create_path(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmywlaq4q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @init_output_file(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i64 @file_exists(ptr noundef %4)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = call i32 @remove(ptr noundef %8)
store i32 %9, ptr %2, align 4
br label %13
10: ; preds = %1
%11 = load ptr, ptr %3, align 8
%12 = call i32 @create_path(ptr noundef %11)
store i32 %12, ptr %2, align 4
br label %13
13: ; preds = %10, %7
%14 = load i32, ptr %2, align 4
ret i32 %14
}
declare i64 @file_exists(ptr noundef) #1
declare i32 @remove(ptr noundef) #1
declare i32 @create_path(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkhn6d9zs.c'
source_filename = "/tmp/tmpkhn6d9zs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"abcdefghijklmnopqrstuvwxyz 0123456789!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @list_all() #0 {
%1 = call i32 @print(ptr noundef @.str, i32 noundef 1)
ret void
}
declare i32 @print(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/tmpkhn6d9zs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"abcdefghijklmnopqrstuvwxyz 0123456789!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @list_all() #0 {
%1 = call i32 @print(ptr noundef @.str, i32 noundef 1)
ret void
}
declare i32 @print(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/tmpzg97uvjq.c'
source_filename = "/tmp/tmpzg97uvjq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @des_key_sched(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 ptr, ptr %3, align 8
%6 = call i32 @DES_key_sched(ptr noundef %5, ptr noundef %4)
ret void
}
declare i32 @DES_key_sched(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/tmpzg97uvjq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @des_key_sched(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 ptr, ptr %3, align 8
%6 = call i32 @DES_key_sched(ptr noundef %5, ptr noundef %4)
ret void
}
declare i32 @DES_key_sched(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/tmpqwbgbuzb.c'
source_filename = "/tmp/tmpqwbgbuzb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcut(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%8 = load ptr, ptr %3, align 8
%9 = call i64 @strlen(ptr noundef %8)
%10 = add i64 %9, 1
%11 = trunc i64 %10 to i32
%12 = call ptr @calloc(i32 noundef %11, i32 noundef 1)
store ptr %12, ptr %7, align 8
%13 = load ptr, ptr %7, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %16
15: ; preds = %2
br label %83
16: ; preds = %2
store i64 0, ptr %5, align 8
br label %17
17: ; preds = %32, %16
%18 = load i64, ptr %5, align 8
%19 = load ptr, ptr %3, align 8
%20 = call i64 @strlen(ptr noundef %19)
%21 = icmp ult i64 %18, %20
br i1 %21, label %22, label %35
22: ; preds = %17
%23 = load ptr, ptr %4, align 8
%24 = load ptr, ptr %3, align 8
%25 = load i64, ptr %5, align 8
%26 = getelementptr inbounds i8, ptr %24, i64 %25
%27 = load i8, ptr %26, align 1
%28 = call i32 @strchr(ptr noundef %23, i8 noundef signext %27)
%29 = icmp ne i32 %28, 0
br i1 %29, label %31, label %30
30: ; preds = %22
br label %35
31: ; preds = %22
br label %32
32: ; preds = %31
%33 = load i64, ptr %5, align 8
%34 = add i64 %33, 1
store i64 %34, ptr %5, align 8
br label %17, !llvm.loop !6
35: ; preds = %30, %17
store i64 0, ptr %6, align 8
br label %36
36: ; preds = %49, %35
%37 = load i64, ptr %5, align 8
%38 = load ptr, ptr %3, align 8
%39 = call i64 @strlen(ptr noundef %38)
%40 = icmp ult i64 %37, %39
br i1 %40, label %41, label %54
41: ; preds = %36
%42 = load ptr, ptr %3, align 8
%43 = load i64, ptr %5, align 8
%44 = getelementptr inbounds i8, ptr %42, i64 %43
%45 = load i8, ptr %44, align 1
%46 = load ptr, ptr %7, align 8
%47 = load i64, ptr %6, align 8
%48 = getelementptr inbounds i8, ptr %46, i64 %47
store i8 %45, ptr %48, align 1
br label %49
49: ; preds = %41
%50 = load i64, ptr %5, align 8
%51 = add i64 %50, 1
store i64 %51, ptr %5, align 8
%52 = load i64, ptr %6, align 8
%53 = add i64 %52, 1
store i64 %53, ptr %6, align 8
br label %36, !llvm.loop !8
54: ; preds = %36
%55 = load ptr, ptr %7, align 8
%56 = call i64 @strlen(ptr noundef %55)
store i64 %56, ptr %5, align 8
br label %57
57: ; preds = %70, %54
%58 = load i64, ptr %5, align 8
%59 = icmp uge i64 %58, 0
br i1 %59, label %60, label %73
60: ; preds = %57
%61 = load ptr, ptr %4, align 8
%62 = load ptr, ptr %7, align 8
%63 = load i64, ptr %5, align 8
%64 = getelementptr inbounds i8, ptr %62, i64 %63
%65 = load i8, ptr %64, align 1
%66 = call i32 @strchr(ptr noundef %61, i8 noundef signext %65)
%67 = icmp ne i32 %66, 0
br i1 %67, label %69, label %68
68: ; preds = %60
br label %73
69: ; preds = %60
br label %70
70: ; preds = %69
%71 = load i64, ptr %5, align 8
%72 = add i64 %71, -1
store i64 %72, ptr %5, align 8
br label %57, !llvm.loop !9
73: ; preds = %68, %57
%74 = load ptr, ptr %7, align 8
%75 = load i64, ptr %5, align 8
%76 = add i64 %75, 1
%77 = getelementptr inbounds i8, ptr %74, i64 %76
store i8 0, ptr %77, align 1
%78 = load ptr, ptr %3, align 8
%79 = load ptr, ptr %7, align 8
%80 = call i32 @strcpy(ptr noundef %78, ptr noundef %79)
%81 = load ptr, ptr %7, align 8
%82 = call i32 @free(ptr noundef %81)
br label %83
83: ; preds = %73, %15
ret void
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strchr(ptr noundef, i8 noundef signext) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqwbgbuzb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcut(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%8 = load ptr, ptr %3, align 8
%9 = call i64 @strlen(ptr noundef %8)
%10 = add i64 %9, 1
%11 = trunc i64 %10 to i32
%12 = call ptr @calloc(i32 noundef %11, i32 noundef 1)
store ptr %12, ptr %7, align 8
%13 = load ptr, ptr %7, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %16
15: ; preds = %2
br label %89
16: ; preds = %2
store i64 0, ptr %5, align 8
%17 = load i64, ptr %5, align 8
%18 = load ptr, ptr %3, align 8
%19 = call i64 @strlen(ptr noundef %18)
%20 = icmp ult i64 %17, %19
br i1 %20, label %.lr.ph, label %.loopexit1
.lr.ph: ; preds = %16
br label %21
21: ; preds = %.lr.ph, %31
%22 = load ptr, ptr %4, align 8
%23 = load ptr, ptr %3, align 8
%24 = load i64, ptr %5, align 8
%25 = getelementptr inbounds i8, ptr %23, i64 %24
%26 = load i8, ptr %25, align 1
%27 = call i32 @strchr(ptr noundef %22, i8 noundef signext %26)
%28 = icmp ne i32 %27, 0
br i1 %28, label %30, label %29
29: ; preds = %21
br label %38
30: ; preds = %21
br label %31
31: ; preds = %30
%32 = load i64, ptr %5, align 8
%33 = add i64 %32, 1
store i64 %33, ptr %5, align 8
%34 = load i64, ptr %5, align 8
%35 = load ptr, ptr %3, align 8
%36 = call i64 @strlen(ptr noundef %35)
%37 = icmp ult i64 %34, %36
br i1 %37, label %21, label %..loopexit1_crit_edge, !llvm.loop !6
..loopexit1_crit_edge: ; preds = %31
br label %.loopexit1
.loopexit1: ; preds = %..loopexit1_crit_edge, %16
br label %38
38: ; preds = %.loopexit1, %29
store i64 0, ptr %6, align 8
%39 = load i64, ptr %5, align 8
%40 = load ptr, ptr %3, align 8
%41 = call i64 @strlen(ptr noundef %40)
%42 = icmp ult i64 %39, %41
br i1 %42, label %.lr.ph2, label %60
.lr.ph2: ; preds = %38
br label %43
43: ; preds = %.lr.ph2, %51
%44 = load ptr, ptr %3, align 8
%45 = load i64, ptr %5, align 8
%46 = getelementptr inbounds i8, ptr %44, i64 %45
%47 = load i8, ptr %46, align 1
%48 = load ptr, ptr %7, align 8
%49 = load i64, ptr %6, align 8
%50 = getelementptr inbounds i8, ptr %48, i64 %49
store i8 %47, ptr %50, align 1
br label %51
51: ; preds = %43
%52 = load i64, ptr %5, align 8
%53 = add i64 %52, 1
store i64 %53, ptr %5, align 8
%54 = load i64, ptr %6, align 8
%55 = add i64 %54, 1
store i64 %55, ptr %6, align 8
%56 = load i64, ptr %5, align 8
%57 = load ptr, ptr %3, align 8
%58 = call i64 @strlen(ptr noundef %57)
%59 = icmp ult i64 %56, %58
br i1 %59, label %43, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %51
br label %60
60: ; preds = %._crit_edge, %38
%61 = load ptr, ptr %7, align 8
%62 = call i64 @strlen(ptr noundef %61)
store i64 %62, ptr %5, align 8
%63 = load i64, ptr %5, align 8
br label %64
64: ; preds = %60, %74
%65 = load ptr, ptr %4, align 8
%66 = load ptr, ptr %7, align 8
%67 = load i64, ptr %5, align 8
%68 = getelementptr inbounds i8, ptr %66, i64 %67
%69 = load i8, ptr %68, align 1
%70 = call i32 @strchr(ptr noundef %65, i8 noundef signext %69)
%71 = icmp ne i32 %70, 0
br i1 %71, label %73, label %72
72: ; preds = %64
br label %79
73: ; preds = %64
br label %74
74: ; preds = %73
%75 = load i64, ptr %5, align 8
%76 = add i64 %75, -1
store i64 %76, ptr %5, align 8
%77 = load i64, ptr %5, align 8
%78 = icmp uge i64 %77, 0
br i1 %78, label %64, label %.loopexit, !llvm.loop !9
.loopexit: ; preds = %74
br label %79
79: ; preds = %.loopexit, %72
%80 = load ptr, ptr %7, align 8
%81 = load i64, ptr %5, align 8
%82 = add i64 %81, 1
%83 = getelementptr inbounds i8, ptr %80, i64 %82
store i8 0, ptr %83, align 1
%84 = load ptr, ptr %3, align 8
%85 = load ptr, ptr %7, align 8
%86 = call i32 @strcpy(ptr noundef %84, ptr noundef %85)
%87 = load ptr, ptr %7, align 8
%88 = call i32 @free(ptr noundef %87)
br label %89
89: ; preds = %79, %15
ret void
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strchr(ptr noundef, i8 noundef signext) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpubcane_c.c'
source_filename = "/tmp/tmpubcane_c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpubcane_c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpe61ok5z6.c'
source_filename = "/tmp/tmpe61ok5z6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Exit() #0 {
%1 = call i32 @_exit(i32 noundef 1) #2
unreachable
}
; Function Attrs: noreturn
declare i32 @_exit(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 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe61ok5z6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Exit() #0 {
%1 = call i32 @_exit(i32 noundef 1) #2
unreachable
}
; Function Attrs: noreturn
declare i32 @_exit(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 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpf_48p4cc.c'
source_filename = "/tmp/tmpf_48p4cc.c"
target datalayout = "e-m:e-p270: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/tmpf_48p4cc.c"
target datalayout = "e-m:e-p270: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/tmpkkfjdzie.c'
source_filename = "/tmp/tmpkkfjdzie.c"
target datalayout = "e-m:e-p270: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/tmpkkfjdzie.c"
target datalayout = "e-m:e-p270: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/tmptzwh8n2z.c'
source_filename = "/tmp/tmptzwh8n2z.c"
target datalayout = "e-m:e-p270: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/tmptzwh8n2z.c"
target datalayout = "e-m:e-p270: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/tmpro1tb1fm.c'
source_filename = "/tmp/tmpro1tb1fm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isascii.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isascii should be 1 for g\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isascii_0x67() #0 {
%1 = call i32 @isascii(i32 noundef 103)
%2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 520, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @isascii(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/tmpro1tb1fm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isascii.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isascii should be 1 for g\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isascii_0x67() #0 {
%1 = call i32 @isascii(i32 noundef 103)
%2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 520, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @isascii(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/tmpfe0xvrfu.c'
source_filename = "/tmp/tmpfe0xvrfu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fmul_preg64_qword(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @put8(i32 noundef 220)
%4 = load i32, ptr %2, align 4
%5 = add nsw i32 8, %4
%6 = call i32 @put8(i32 noundef %5)
ret void
}
declare i32 @put8(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/tmpfe0xvrfu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fmul_preg64_qword(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @put8(i32 noundef 220)
%4 = load i32, ptr %2, align 4
%5 = add nsw i32 8, %4
%6 = call i32 @put8(i32 noundef %5)
ret void
}
declare i32 @put8(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/tmp5yvmv5nv.c'
source_filename = "/tmp/tmp5yvmv5nv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @size_str_to_num(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 i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr null, ptr %8, align 8
store i32 0, ptr %9, align 4
%10 = load ptr, ptr %4, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %13, label %12
12: ; preds = %2
store i32 -1, ptr %3, align 4
br label %146
13: ; preds = %2
%14 = load ptr, ptr %4, align 8
store ptr %14, ptr %6, align 8
br label %15
15: ; preds = %27, %13
%16 = load ptr, ptr %6, align 8
%17 = load i8, ptr %16, align 1
%18 = zext i8 %17 to i32
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %25
20: ; preds = %15
%21 = load ptr, ptr %6, align 8
%22 = load i8, ptr %21, align 1
%23 = call i64 @isspace(i8 noundef zeroext %22)
%24 = icmp ne i64 %23, 0
br label %25
25: ; preds = %20, %15
%26 = phi i1 [ false, %15 ], [ %24, %20 ]
br i1 %26, label %27, label %30
27: ; preds = %25
%28 = load ptr, ptr %6, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %6, align 8
br label %15, !llvm.loop !6
30: ; preds = %25
%31 = load ptr, ptr %6, align 8
%32 = load i8, ptr %31, align 1
%33 = icmp ne i8 %32, 0
br i1 %33, label %35, label %34
34: ; preds = %30
store i32 -1, ptr %3, align 4
br label %146
35: ; preds = %30
store i64 0, ptr @errno, align 8
%36 = load ptr, ptr %4, align 8
%37 = call i64 @strtol(ptr noundef %36, ptr noundef %8, i32 noundef 10)
store i64 %37, ptr %7, align 8
%38 = load i64, ptr @errno, align 8
%39 = icmp ne i64 %38, 0
br i1 %39, label %40, label %41
40: ; preds = %35
store i32 -1, ptr %3, align 4
br label %146
41: ; preds = %35
%42 = load ptr, ptr %8, align 8
store ptr %42, ptr %6, align 8
%43 = load ptr, ptr %6, align 8
%44 = load i8, ptr %43, align 1
%45 = zext i8 %44 to i32
%46 = icmp ne i32 %45, 0
br i1 %46, label %47, label %71
47: ; preds = %41
%48 = load ptr, ptr %6, align 8
%49 = load i8, ptr %48, align 1
%50 = call i64 @isspace(i8 noundef zeroext %49)
%51 = icmp ne i64 %50, 0
br i1 %51, label %71, label %52
52: ; preds = %47
%53 = load ptr, ptr %6, align 8
%54 = load i8, ptr %53, align 1
%55 = call i32 @toupper(i8 noundef zeroext %54)
store i32 %55, ptr %9, align 4
%56 = load i32, ptr %9, align 4
%57 = icmp ne i32 %56, 75
br i1 %57, label %58, label %68
58: ; preds = %52
%59 = load i32, ptr %9, align 4
%60 = icmp ne i32 %59, 77
br i1 %60, label %61, label %68
61: ; preds = %58
%62 = load i32, ptr %9, align 4
%63 = icmp ne i32 %62, 71
br i1 %63, label %64, label %68
64: ; preds = %61
%65 = load i32, ptr %9, align 4
%66 = icmp ne i32 %65, 84
br i1 %66, label %67, label %68
67: ; preds = %64
store i32 -1, ptr %3, align 4
br label %146
68: ; preds = %64, %61, %58, %52
%69 = load ptr, ptr %6, align 8
%70 = getelementptr inbounds i8, ptr %69, i32 1
store ptr %70, ptr %6, align 8
br label %71
71: ; preds = %68, %47, %41
br label %72
72: ; preds = %84, %71
%73 = load ptr, ptr %6, align 8
%74 = load i8, ptr %73, align 1
%75 = zext i8 %74 to i32
%76 = icmp ne i32 %75, 0
br i1 %76, label %77, label %82
77: ; preds = %72
%78 = load ptr, ptr %6, align 8
%79 = load i8, ptr %78, align 1
%80 = call i64 @isspace(i8 noundef zeroext %79)
%81 = icmp ne i64 %80, 0
br label %82
82: ; preds = %77, %72
%83 = phi i1 [ false, %72 ], [ %81, %77 ]
br i1 %83, label %84, label %87
84: ; preds = %82
%85 = load ptr, ptr %6, align 8
%86 = getelementptr inbounds i8, ptr %85, i32 1
store ptr %86, ptr %6, align 8
br label %72, !llvm.loop !8
87: ; preds = %82
%88 = load ptr, ptr %6, align 8
%89 = load i8, ptr %88, align 1
%90 = icmp ne i8 %89, 0
br i1 %90, label %91, label %92
91: ; preds = %87
store i32 -1, ptr %3, align 4
br label %146
92: ; preds = %87
%93 = load i32, ptr %9, align 4
%94 = icmp eq i32 %93, 84
br i1 %94, label %95, label %96
95: ; preds = %92
store i32 -1, ptr %3, align 4
br label %146
96: ; preds = %92
%97 = load i32, ptr %9, align 4
%98 = icmp eq i32 %97, 71
br i1 %98, label %99, label %109
99: ; preds = %96
%100 = load i64, ptr %7, align 8
%101 = icmp slt i64 %100, -2
br i1 %101, label %105, label %102
102: ; preds = %99
%103 = load i64, ptr %7, align 8
%104 = icmp sgt i64 %103, 1
br i1 %104, label %105, label %106
105: ; preds = %102, %99
store i32 -1, ptr %3, align 4
br label %146
106: ; preds = %102
%107 = load i64, ptr %7, align 8
%108 = mul nsw i64 %107, 1073741824
store i64 %108, ptr %7, align 8
br label %137
109: ; preds = %96
%110 = load i32, ptr %9, align 4
%111 = icmp eq i32 %110, 77
br i1 %111, label %112, label %122
112: ; preds = %109
%113 = load i64, ptr %7, align 8
%114 = icmp slt i64 %113, -2048
br i1 %114, label %118, label %115
115: ; preds = %112
%116 = load i64, ptr %7, align 8
%117 = icmp sgt i64 %116, 2047
br i1 %117, label %118, label %119
118: ; preds = %115, %112
store i32 -1, ptr %3, align 4
br label %146
119: ; preds = %115
%120 = load i64, ptr %7, align 8
%121 = mul nsw i64 %120, 1048576
store i64 %121, ptr %7, align 8
br label %136
122: ; preds = %109
%123 = load i32, ptr %9, align 4
%124 = icmp eq i32 %123, 75
br i1 %124, label %125, label %135
125: ; preds = %122
%126 = load i64, ptr %7, align 8
%127 = icmp slt i64 %126, -2097152
br i1 %127, label %131, label %128
128: ; preds = %125
%129 = load i64, ptr %7, align 8
%130 = icmp sgt i64 %129, 2097151
br i1 %130, label %131, label %132
131: ; preds = %128, %125
store i32 -1, ptr %3, align 4
br label %146
132: ; preds = %128
%133 = load i64, ptr %7, align 8
%134 = mul nsw i64 %133, 1024
store i64 %134, ptr %7, align 8
br label %135
135: ; preds = %132, %122
br label %136
136: ; preds = %135, %119
br label %137
137: ; preds = %136, %106
br label %138
138: ; preds = %137
%139 = load ptr, ptr %5, align 8
%140 = icmp ne ptr %139, null
br i1 %140, label %141, label %145
141: ; preds = %138
%142 = load i64, ptr %7, align 8
%143 = trunc i64 %142 to i32
%144 = load ptr, ptr %5, align 8
store i32 %143, ptr %144, align 4
br label %145
145: ; preds = %141, %138
store i32 0, ptr %3, align 4
br label %146
146: ; preds = %145, %131, %118, %105, %95, %91, %67, %40, %34, %12
%147 = load i32, ptr %3, align 4
ret i32 %147
}
declare i64 @isspace(i8 noundef zeroext) #1
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @toupper(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5yvmv5nv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @size_str_to_num(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 i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr null, ptr %8, align 8
store i32 0, ptr %9, align 4
%10 = load ptr, ptr %4, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %13, label %12
12: ; preds = %2
store i32 -1, ptr %3, align 4
br label %146
13: ; preds = %2
%14 = load ptr, ptr %4, align 8
store ptr %14, ptr %6, align 8
br label %15
15: ; preds = %27, %13
%16 = load ptr, ptr %6, align 8
%17 = load i8, ptr %16, align 1
%18 = zext i8 %17 to i32
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %25
20: ; preds = %15
%21 = load ptr, ptr %6, align 8
%22 = load i8, ptr %21, align 1
%23 = call i64 @isspace(i8 noundef zeroext %22)
%24 = icmp ne i64 %23, 0
br label %25
25: ; preds = %20, %15
%26 = phi i1 [ false, %15 ], [ %24, %20 ]
br i1 %26, label %27, label %30
27: ; preds = %25
%28 = load ptr, ptr %6, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %6, align 8
br label %15, !llvm.loop !6
30: ; preds = %25
%31 = load ptr, ptr %6, align 8
%32 = load i8, ptr %31, align 1
%33 = icmp ne i8 %32, 0
br i1 %33, label %35, label %34
34: ; preds = %30
store i32 -1, ptr %3, align 4
br label %146
35: ; preds = %30
store i64 0, ptr @errno, align 8
%36 = load ptr, ptr %4, align 8
%37 = call i64 @strtol(ptr noundef %36, ptr noundef %8, i32 noundef 10)
store i64 %37, ptr %7, align 8
%38 = load i64, ptr @errno, align 8
%39 = icmp ne i64 %38, 0
br i1 %39, label %40, label %41
40: ; preds = %35
store i32 -1, ptr %3, align 4
br label %146
41: ; preds = %35
%42 = load ptr, ptr %8, align 8
store ptr %42, ptr %6, align 8
%43 = load ptr, ptr %6, align 8
%44 = load i8, ptr %43, align 1
%45 = zext i8 %44 to i32
%46 = icmp ne i32 %45, 0
br i1 %46, label %47, label %71
47: ; preds = %41
%48 = load ptr, ptr %6, align 8
%49 = load i8, ptr %48, align 1
%50 = call i64 @isspace(i8 noundef zeroext %49)
%51 = icmp ne i64 %50, 0
br i1 %51, label %71, label %52
52: ; preds = %47
%53 = load ptr, ptr %6, align 8
%54 = load i8, ptr %53, align 1
%55 = call i32 @toupper(i8 noundef zeroext %54)
store i32 %55, ptr %9, align 4
%56 = load i32, ptr %9, align 4
%57 = icmp ne i32 %56, 75
br i1 %57, label %58, label %68
58: ; preds = %52
%59 = load i32, ptr %9, align 4
%60 = icmp ne i32 %59, 77
br i1 %60, label %61, label %68
61: ; preds = %58
%62 = load i32, ptr %9, align 4
%63 = icmp ne i32 %62, 71
br i1 %63, label %64, label %68
64: ; preds = %61
%65 = load i32, ptr %9, align 4
%66 = icmp ne i32 %65, 84
br i1 %66, label %67, label %68
67: ; preds = %64
store i32 -1, ptr %3, align 4
br label %146
68: ; preds = %64, %61, %58, %52
%69 = load ptr, ptr %6, align 8
%70 = getelementptr inbounds i8, ptr %69, i32 1
store ptr %70, ptr %6, align 8
br label %71
71: ; preds = %68, %47, %41
br label %72
72: ; preds = %84, %71
%73 = load ptr, ptr %6, align 8
%74 = load i8, ptr %73, align 1
%75 = zext i8 %74 to i32
%76 = icmp ne i32 %75, 0
br i1 %76, label %77, label %82
77: ; preds = %72
%78 = load ptr, ptr %6, align 8
%79 = load i8, ptr %78, align 1
%80 = call i64 @isspace(i8 noundef zeroext %79)
%81 = icmp ne i64 %80, 0
br label %82
82: ; preds = %77, %72
%83 = phi i1 [ false, %72 ], [ %81, %77 ]
br i1 %83, label %84, label %87
84: ; preds = %82
%85 = load ptr, ptr %6, align 8
%86 = getelementptr inbounds i8, ptr %85, i32 1
store ptr %86, ptr %6, align 8
br label %72, !llvm.loop !8
87: ; preds = %82
%88 = load ptr, ptr %6, align 8
%89 = load i8, ptr %88, align 1
%90 = icmp ne i8 %89, 0
br i1 %90, label %91, label %92
91: ; preds = %87
store i32 -1, ptr %3, align 4
br label %146
92: ; preds = %87
%93 = load i32, ptr %9, align 4
%94 = icmp eq i32 %93, 84
br i1 %94, label %95, label %96
95: ; preds = %92
store i32 -1, ptr %3, align 4
br label %146
96: ; preds = %92
%97 = load i32, ptr %9, align 4
%98 = icmp eq i32 %97, 71
br i1 %98, label %99, label %109
99: ; preds = %96
%100 = load i64, ptr %7, align 8
%101 = icmp slt i64 %100, -2
br i1 %101, label %105, label %102
102: ; preds = %99
%103 = load i64, ptr %7, align 8
%104 = icmp sgt i64 %103, 1
br i1 %104, label %105, label %106
105: ; preds = %102, %99
store i32 -1, ptr %3, align 4
br label %146
106: ; preds = %102
%107 = load i64, ptr %7, align 8
%108 = mul nsw i64 %107, 1073741824
store i64 %108, ptr %7, align 8
br label %137
109: ; preds = %96
%110 = load i32, ptr %9, align 4
%111 = icmp eq i32 %110, 77
br i1 %111, label %112, label %122
112: ; preds = %109
%113 = load i64, ptr %7, align 8
%114 = icmp slt i64 %113, -2048
br i1 %114, label %118, label %115
115: ; preds = %112
%116 = load i64, ptr %7, align 8
%117 = icmp sgt i64 %116, 2047
br i1 %117, label %118, label %119
118: ; preds = %115, %112
store i32 -1, ptr %3, align 4
br label %146
119: ; preds = %115
%120 = load i64, ptr %7, align 8
%121 = mul nsw i64 %120, 1048576
store i64 %121, ptr %7, align 8
br label %136
122: ; preds = %109
%123 = load i32, ptr %9, align 4
%124 = icmp eq i32 %123, 75
br i1 %124, label %125, label %135
125: ; preds = %122
%126 = load i64, ptr %7, align 8
%127 = icmp slt i64 %126, -2097152
br i1 %127, label %131, label %128
128: ; preds = %125
%129 = load i64, ptr %7, align 8
%130 = icmp sgt i64 %129, 2097151
br i1 %130, label %131, label %132
131: ; preds = %128, %125
store i32 -1, ptr %3, align 4
br label %146
132: ; preds = %128
%133 = load i64, ptr %7, align 8
%134 = mul nsw i64 %133, 1024
store i64 %134, ptr %7, align 8
br label %135
135: ; preds = %132, %122
br label %136
136: ; preds = %135, %119
br label %137
137: ; preds = %136, %106
br label %138
138: ; preds = %137
%139 = load ptr, ptr %5, align 8
%140 = icmp ne ptr %139, null
br i1 %140, label %141, label %145
141: ; preds = %138
%142 = load i64, ptr %7, align 8
%143 = trunc i64 %142 to i32
%144 = load ptr, ptr %5, align 8
store i32 %143, ptr %144, align 4
br label %145
145: ; preds = %141, %138
store i32 0, ptr %3, align 4
br label %146
146: ; preds = %145, %131, %118, %105, %95, %91, %67, %40, %34, %12
%147 = load i32, ptr %3, align 4
ret i32 %147
}
declare i64 @isspace(i8 noundef zeroext) #1
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @toupper(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpxkdd8zrw.c'
source_filename = "/tmp/tmpxkdd8zrw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @podstring(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %7, align 4
%11 = load ptr, ptr %5, align 8
%12 = call i32 @strlen(ptr noundef %11)
store i32 %12, ptr %8, align 4
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr %8, align 4
%15 = icmp sgt i32 %13, %14
br i1 %15, label %16, label %17
16: ; preds = %2
store i32 0, ptr %3, align 4
br label %39
17: ; preds = %2
store i32 0, ptr %6, align 4
br label %18
18: ; preds = %35, %17
%19 = load i32, ptr %6, align 4
%20 = load i32, ptr %8, align 4
%21 = load i32, ptr %7, align 4
%22 = sub nsw i32 %20, %21
%23 = icmp sle i32 %19, %22
br i1 %23, label %24, label %38
24: ; preds = %18
%25 = load ptr, ptr %4, align 8
%26 = load ptr, ptr %5, align 8
%27 = load i32, ptr %6, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
%30 = load i32, ptr %7, align 4
%31 = call i64 @strncmp(ptr noundef %25, ptr noundef %29, i32 noundef %30)
%32 = icmp eq i64 %31, 0
br i1 %32, label %33, label %34
33: ; preds = %24
store i32 1, ptr %3, align 4
br label %39
34: ; preds = %24
br label %35
35: ; preds = %34
%36 = load i32, ptr %6, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %6, align 4
br label %18, !llvm.loop !6
38: ; preds = %18
store i32 0, ptr %3, align 4
br label %39
39: ; preds = %38, %33, %16
%40 = load i32, ptr %3, align 4
ret i32 %40
}
declare i32 @strlen(ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxkdd8zrw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @podstring(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %7, align 4
%11 = load ptr, ptr %5, align 8
%12 = call i32 @strlen(ptr noundef %11)
store i32 %12, ptr %8, align 4
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr %8, align 4
%15 = icmp sgt i32 %13, %14
br i1 %15, label %16, label %17
16: ; preds = %2
store i32 0, ptr %3, align 4
br label %43
17: ; preds = %2
store i32 0, ptr %6, align 4
%18 = load i32, ptr %6, align 4
%19 = load i32, ptr %8, align 4
%20 = load i32, ptr %7, align 4
%21 = sub nsw i32 %19, %20
%22 = icmp sle i32 %18, %21
br i1 %22, label %.lr.ph, label %42
.lr.ph: ; preds = %17
br label %23
23: ; preds = %.lr.ph, %34
%24 = load ptr, ptr %4, align 8
%25 = load ptr, ptr %5, align 8
%26 = load i32, ptr %6, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%29 = load i32, ptr %7, align 4
%30 = call i64 @strncmp(ptr noundef %24, ptr noundef %28, i32 noundef %29)
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %23
store i32 1, ptr %3, align 4
br label %43
33: ; preds = %23
br label %34
34: ; preds = %33
%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 %8, align 4
%39 = load i32, ptr %7, align 4
%40 = sub nsw i32 %38, %39
%41 = icmp sle i32 %37, %40
br i1 %41, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %42
42: ; preds = %._crit_edge, %17
store i32 0, ptr %3, align 4
br label %43
43: ; preds = %42, %32, %16
%44 = load i32, ptr %3, align 4
ret i32 %44
}
declare i32 @strlen(ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpylpc6wpj.c'
source_filename = "/tmp/tmpylpc6wpj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"soft\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @audit_warn_soft(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [3 x ptr], align 16
store ptr %0, ptr %2, align 8
%4 = getelementptr inbounds [3 x ptr], ptr %3, i64 0, i64 0
store ptr @.str, ptr %4, align 16
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds [3 x ptr], ptr %3, i64 0, i64 1
store ptr %5, ptr %6, align 8
%7 = getelementptr inbounds [3 x ptr], ptr %3, i64 0, i64 2
store ptr null, ptr %7, align 16
%8 = getelementptr inbounds [3 x ptr], ptr %3, i64 0, i64 0
%9 = call i32 @auditwarnlog(ptr noundef %8)
ret i32 %9
}
declare i32 @auditwarnlog(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpylpc6wpj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"soft\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @audit_warn_soft(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [3 x ptr], align 16
store ptr %0, ptr %2, align 8
%4 = getelementptr inbounds [3 x ptr], ptr %3, i64 0, i64 0
store ptr @.str, ptr %4, align 16
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds [3 x ptr], ptr %3, i64 0, i64 1
store ptr %5, ptr %6, align 8
%7 = getelementptr inbounds [3 x ptr], ptr %3, i64 0, i64 2
store ptr null, ptr %7, align 16
%8 = getelementptr inbounds [3 x ptr], ptr %3, i64 0, i64 0
%9 = call i32 @auditwarnlog(ptr noundef %8)
ret i32 %9
}
declare i32 @auditwarnlog(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2eaodcyt.c'
source_filename = "/tmp/tmp2eaodcyt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_3__ = type { ptr, ptr, ptr }
@Z_NULL = dso_local global ptr null, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @z_stream_init(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr @Z_NULL, align 8
%4 = load ptr, ptr %2, align 8
%5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 2
store ptr %3, ptr %5, align 8
%6 = load ptr, ptr @Z_NULL, align 8
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 1
store ptr %6, ptr %8, align 8
%9 = load ptr, ptr @Z_NULL, align 8
%10 = load ptr, ptr %2, align 8
%11 = getelementptr inbounds %struct.TYPE_3__, ptr %10, i32 0, i32 0
store ptr %9, ptr %11, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2eaodcyt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_3__ = type { ptr, ptr, ptr }
@Z_NULL = dso_local global ptr null, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @z_stream_init(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr @Z_NULL, align 8
%4 = load ptr, ptr %2, align 8
%5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 2
store ptr %3, ptr %5, align 8
%6 = load ptr, ptr @Z_NULL, align 8
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 1
store ptr %6, ptr %8, align 8
%9 = load ptr, ptr @Z_NULL, align 8
%10 = load ptr, ptr %2, align 8
%11 = getelementptr inbounds %struct.TYPE_3__, ptr %10, i32 0, i32 0
store ptr %9, ptr %11, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps9a04vce.c'
source_filename = "/tmp/tmps9a04vce.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"answer is %f %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
store i32 0, ptr %1, align 4
%3 = call double (...) @qq()
store double %3, ptr %2, align 8
%4 = load double, ptr %2, align 8
%5 = load double, ptr %2, align 8
%6 = fptosi double %5 to i32
%7 = call i32 @printf(ptr noundef @.str, double noundef %4, i32 noundef %6)
ret i32 0
}
declare double @qq(...) #1
declare i32 @printf(ptr noundef, double 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/tmps9a04vce.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"answer is %f %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
store i32 0, ptr %1, align 4
%3 = call double (...) @qq()
store double %3, ptr %2, align 8
%4 = load double, ptr %2, align 8
%5 = load double, ptr %2, align 8
%6 = fptosi double %5 to i32
%7 = call i32 @printf(ptr noundef @.str, double noundef %4, i32 noundef %6)
ret i32 0
}
declare double @qq(...) #1
declare i32 @printf(ptr noundef, double 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/tmpp5dwr13x.c'
source_filename = "/tmp/tmpp5dwr13x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"got: %d %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @add1(i32 noundef 40, i32 noundef 2)
store i32 %4, ptr %2, align 4
%5 = call i32 @add2(i32 noundef 100, i32 noundef -5, i32 noundef -20)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %3, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %6, i32 noundef %7)
ret i32 0
}
declare i32 @add1(i32 noundef, i32 noundef) #1
declare i32 @add2(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp5dwr13x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"got: %d %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @add1(i32 noundef 40, i32 noundef 2)
store i32 %4, ptr %2, align 4
%5 = call i32 @add2(i32 noundef 100, i32 noundef -5, i32 noundef -20)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %3, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %6, i32 noundef %7)
ret i32 0
}
declare i32 @add1(i32 noundef, i32 noundef) #1
declare i32 @add2(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxjdb8eea.c'
source_filename = "/tmp/tmpxjdb8eea.c"
target datalayout = "e-m:e-p270: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/tmpxjdb8eea.c"
target datalayout = "e-m:e-p270: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/tmpuo9ui9g8.c'
source_filename = "/tmp/tmpuo9ui9g8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"hello execve! %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"envp[%d]=%s\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
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
%9 = call i32 (...) @getpid()
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %9)
store i32 0, ptr %8, align 4
br label %11
11: ; preds = %22, %3
%12 = load i32, ptr %8, align 4
%13 = load i32, ptr %5, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %25
15: ; preds = %11
%16 = load ptr, ptr %6, align 8
%17 = load i32, ptr %8, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds ptr, ptr %16, i64 %18
%20 = load ptr, ptr %19, align 8
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %20)
br label %22
22: ; preds = %15
%23 = load i32, ptr %8, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %8, align 4
br label %11, !llvm.loop !6
25: ; preds = %11
store i32 0, ptr %8, align 4
br label %26
26: ; preds = %33, %25
%27 = load ptr, ptr %7, align 8
%28 = load i32, ptr %8, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds ptr, ptr %27, i64 %29
%31 = load ptr, ptr %30, align 8
%32 = icmp ne ptr %31, null
br i1 %32, label %33, label %43
33: ; preds = %26
%34 = load i32, ptr %8, align 4
%35 = load ptr, ptr %7, align 8
%36 = load i32, ptr %8, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds ptr, ptr %35, i64 %37
%39 = load ptr, ptr %38, align 8
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %34, ptr noundef %39)
%41 = load i32, ptr %8, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %8, align 4
br label %26, !llvm.loop !8
43: ; preds = %26
%44 = load i32, ptr %4, align 4
ret i32 %44
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @getpid(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpuo9ui9g8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"hello execve! %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"envp[%d]=%s\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
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
%9 = call i32 (...) @getpid()
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %9)
store i32 0, ptr %8, align 4
%11 = load i32, ptr %8, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph, label %27
.lr.ph: ; preds = %3
br label %14
14: ; preds = %.lr.ph, %21
%15 = load ptr, ptr %6, align 8
%16 = load i32, ptr %8, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds ptr, ptr %15, i64 %17
%19 = load ptr, ptr %18, align 8
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %19)
br label %21
21: ; preds = %14
%22 = load i32, ptr %8, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %8, align 4
%24 = load i32, ptr %8, align 4
%25 = load i32, ptr %5, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %27
27: ; preds = %._crit_edge, %3
store i32 0, ptr %8, align 4
%28 = load ptr, ptr %7, align 8
%29 = load i32, ptr %8, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds ptr, ptr %28, i64 %30
%32 = load ptr, ptr %31, align 8
%33 = icmp ne ptr %32, null
br i1 %33, label %.lr.ph2, label %50
.lr.ph2: ; preds = %27
br label %34
34: ; preds = %.lr.ph2, %34
%35 = load i32, ptr %8, align 4
%36 = load ptr, ptr %7, align 8
%37 = load i32, ptr %8, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds ptr, ptr %36, i64 %38
%40 = load ptr, ptr %39, align 8
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %35, ptr noundef %40)
%42 = load i32, ptr %8, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %8, align 4
%44 = load ptr, ptr %7, align 8
%45 = load i32, ptr %8, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds ptr, ptr %44, i64 %46
%48 = load ptr, ptr %47, align 8
%49 = icmp ne ptr %48, null
br i1 %49, label %34, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %34
br label %50
50: ; preds = %._crit_edge3, %27
%51 = load i32, ptr %4, align 4
ret i32 %51
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @getpid(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmphrm3nxae.c'
source_filename = "/tmp/tmphrm3nxae.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"Potion of healing (2d4 + 2) [DM 188]\0A\00", align 1
@.str.1 = private unnamed_addr constant [62 x i8] c"'%s' Spell scroll (cantrip) (Save DC 13, +5 Attack) [DM 200]\0A\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"Potion of climbing [DM 187]\0A\00", align 1
@.str.3 = private unnamed_addr constant [64 x i8] c"'%s' Spell scroll (1st level) (Save DC 13, +5 Attack) [DM 200]\0A\00", align 1
@.str.4 = private unnamed_addr constant [64 x i8] c"'%s' Spell scroll (2nd level) (Save DC 13, +5 Attack) [DM 200]\0A\00", align 1
@.str.5 = private unnamed_addr constant [44 x i8] c"Potion of greater healing (4d4 +4 [DM 188]\0A\00", align 1
@.str.6 = private unnamed_addr constant [25 x i8] c"Bag of holding [DM 153]\0A\00", align 1
@.str.7 = private unnamed_addr constant [36 x i8] c"Driftglobe (light source) [DM 166]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @magictablea() #0 {
%1 = alloca i32, align 4
%2 = call i32 @d(i32 noundef 100)
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = icmp slt i32 %3, 51
br i1 %4, label %5, label %7
5: ; preds = %0
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %48
7: ; preds = %0
%8 = load i32, ptr %1, align 4
%9 = icmp slt i32 %8, 61
br i1 %9, label %10, label %13
10: ; preds = %7
%11 = call ptr (...) @rand0lvl()
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %11)
br label %47
13: ; preds = %7
%14 = load i32, ptr %1, align 4
%15 = icmp slt i32 %14, 71
br i1 %15, label %16, label %18
16: ; preds = %13
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %46
18: ; preds = %13
%19 = load i32, ptr %1, align 4
%20 = icmp slt i32 %19, 91
br i1 %20, label %21, label %24
21: ; preds = %18
%22 = call ptr (...) @rand1lvl()
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %22)
br label %45
24: ; preds = %18
%25 = load i32, ptr %1, align 4
%26 = icmp slt i32 %25, 95
br i1 %26, label %27, label %30
27: ; preds = %24
%28 = call ptr (...) @rand2lvl()
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %28)
br label %44
30: ; preds = %24
%31 = load i32, ptr %1, align 4
%32 = icmp slt i32 %31, 99
br i1 %32, label %33, label %35
33: ; preds = %30
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %43
35: ; preds = %30
%36 = load i32, ptr %1, align 4
%37 = icmp slt i32 %36, 100
br i1 %37, label %38, label %40
38: ; preds = %35
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %42
40: ; preds = %35
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
br label %42
42: ; preds = %40, %38
br label %43
43: ; preds = %42, %33
br label %44
44: ; preds = %43, %27
br label %45
45: ; preds = %44, %21
br label %46
46: ; preds = %45, %16
br label %47
47: ; preds = %46, %10
br label %48
48: ; preds = %47, %5
ret void
}
declare i32 @d(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @rand0lvl(...) #1
declare ptr @rand1lvl(...) #1
declare ptr @rand2lvl(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphrm3nxae.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"Potion of healing (2d4 + 2) [DM 188]\0A\00", align 1
@.str.1 = private unnamed_addr constant [62 x i8] c"'%s' Spell scroll (cantrip) (Save DC 13, +5 Attack) [DM 200]\0A\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"Potion of climbing [DM 187]\0A\00", align 1
@.str.3 = private unnamed_addr constant [64 x i8] c"'%s' Spell scroll (1st level) (Save DC 13, +5 Attack) [DM 200]\0A\00", align 1
@.str.4 = private unnamed_addr constant [64 x i8] c"'%s' Spell scroll (2nd level) (Save DC 13, +5 Attack) [DM 200]\0A\00", align 1
@.str.5 = private unnamed_addr constant [44 x i8] c"Potion of greater healing (4d4 +4 [DM 188]\0A\00", align 1
@.str.6 = private unnamed_addr constant [25 x i8] c"Bag of holding [DM 153]\0A\00", align 1
@.str.7 = private unnamed_addr constant [36 x i8] c"Driftglobe (light source) [DM 166]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @magictablea() #0 {
%1 = alloca i32, align 4
%2 = call i32 @d(i32 noundef 100)
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = icmp slt i32 %3, 51
br i1 %4, label %5, label %7
5: ; preds = %0
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %48
7: ; preds = %0
%8 = load i32, ptr %1, align 4
%9 = icmp slt i32 %8, 61
br i1 %9, label %10, label %13
10: ; preds = %7
%11 = call ptr (...) @rand0lvl()
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %11)
br label %47
13: ; preds = %7
%14 = load i32, ptr %1, align 4
%15 = icmp slt i32 %14, 71
br i1 %15, label %16, label %18
16: ; preds = %13
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %46
18: ; preds = %13
%19 = load i32, ptr %1, align 4
%20 = icmp slt i32 %19, 91
br i1 %20, label %21, label %24
21: ; preds = %18
%22 = call ptr (...) @rand1lvl()
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %22)
br label %45
24: ; preds = %18
%25 = load i32, ptr %1, align 4
%26 = icmp slt i32 %25, 95
br i1 %26, label %27, label %30
27: ; preds = %24
%28 = call ptr (...) @rand2lvl()
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %28)
br label %44
30: ; preds = %24
%31 = load i32, ptr %1, align 4
%32 = icmp slt i32 %31, 99
br i1 %32, label %33, label %35
33: ; preds = %30
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %43
35: ; preds = %30
%36 = load i32, ptr %1, align 4
%37 = icmp slt i32 %36, 100
br i1 %37, label %38, label %40
38: ; preds = %35
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %42
40: ; preds = %35
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
br label %42
42: ; preds = %40, %38
br label %43
43: ; preds = %42, %33
br label %44
44: ; preds = %43, %27
br label %45
45: ; preds = %44, %21
br label %46
46: ; preds = %45, %16
br label %47
47: ; preds = %46, %10
br label %48
48: ; preds = %47, %5
ret void
}
declare i32 @d(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @rand0lvl(...) #1
declare ptr @rand1lvl(...) #1
declare ptr @rand2lvl(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpc47t5jmy.c'
source_filename = "/tmp/tmpc47t5jmy.c"
target datalayout = "e-m:e-p270: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.g = private unnamed_addr constant <{ [33 x i32], [31 x i32] }> <{ [33 x i32] [i32 -416, i32 -33, i32 -60, i32 32, i32 48, i32 -40, i32 0, i32 0, i32 0, i32 -24, i32 -56, i32 19, i32 26, i32 0, i32 0, i32 0, i32 -42, i32 13, i32 80, i32 -24, i32 -40, i32 0, i32 0, i32 0, i32 -42, i32 17, i32 44, i32 -29, i32 0, i32 0, i32 0, i32 0, i32 18], [31 x i32] zeroinitializer }>, align 16
@__const.main.f = private unnamed_addr constant <{ i32, i32, i32, i32, i32, i32, i32, [57 x i32] }> <{ i32 -27, i32 -168, i32 80, i32 -45, i32 -45, i32 16, i32 16, [57 x i32] zeroinitializer }>, align 16
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [64 x i32], align 16
%3 = alloca [64 x i32], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [64 x i32], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.g, i64 256, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.f, i64 256, i1 false)
store i32 0, ptr %4, align 4
br label %9
9: ; preds = %30, %0
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 8
br i1 %11, label %12, label %33
12: ; preds = %9
store i32 0, ptr %5, align 4
br label %13
13: ; preds = %25, %12
%14 = load i32, ptr %5, align 4
%15 = icmp slt i32 %14, 8
br i1 %15, label %16, label %28
16: ; preds = %13
%17 = load i32, ptr %4, align 4
%18 = mul nsw i32 %17, 8
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %18, %19
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [64 x i32], ptr %2, i64 0, i64 %21
%23 = load i32, ptr %22, align 4
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %23)
br label %25
25: ; preds = %16
%26 = load i32, ptr %5, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %5, align 4
br label %13, !llvm.loop !6
28: ; preds = %13
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %30
30: ; preds = %28
%31 = load i32, ptr %4, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %4, align 4
br label %9, !llvm.loop !8
33: ; preds = %9
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%35 = getelementptr inbounds [64 x i32], ptr %3, i64 0, i64 0
%36 = getelementptr inbounds [64 x i32], ptr %6, i64 0, i64 0
%37 = call i32 @idct_block(ptr noundef %35, ptr noundef %36)
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %7, align 4
br label %39
39: ; preds = %60, %33
%40 = load i32, ptr %7, align 4
%41 = icmp slt i32 %40, 8
br i1 %41, label %42, label %63
42: ; preds = %39
store i32 0, ptr %8, align 4
br label %43
43: ; preds = %55, %42
%44 = load i32, ptr %8, align 4
%45 = icmp slt i32 %44, 8
br i1 %45, label %46, label %58
46: ; preds = %43
%47 = load i32, ptr %7, align 4
%48 = mul nsw i32 %47, 8
%49 = load i32, ptr %8, align 4
%50 = add nsw i32 %48, %49
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [64 x i32], ptr %6, i64 0, i64 %51
%53 = load i32, ptr %52, align 4
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %53)
br label %55
55: ; preds = %46
%56 = load i32, ptr %8, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %8, align 4
br label %43, !llvm.loop !9
58: ; preds = %43
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %60
60: ; preds = %58
%61 = load i32, ptr %7, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %7, align 4
br label %39, !llvm.loop !10
63: ; preds = %39
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare i32 @idct_block(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc47t5jmy.c"
target datalayout = "e-m:e-p270: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.g = private unnamed_addr constant <{ [33 x i32], [31 x i32] }> <{ [33 x i32] [i32 -416, i32 -33, i32 -60, i32 32, i32 48, i32 -40, i32 0, i32 0, i32 0, i32 -24, i32 -56, i32 19, i32 26, i32 0, i32 0, i32 0, i32 -42, i32 13, i32 80, i32 -24, i32 -40, i32 0, i32 0, i32 0, i32 -42, i32 17, i32 44, i32 -29, i32 0, i32 0, i32 0, i32 0, i32 18], [31 x i32] zeroinitializer }>, align 16
@__const.main.f = private unnamed_addr constant <{ i32, i32, i32, i32, i32, i32, i32, [57 x i32] }> <{ i32 -27, i32 -168, i32 80, i32 -45, i32 -45, i32 16, i32 16, [57 x i32] zeroinitializer }>, align 16
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [64 x i32], align 16
%3 = alloca [64 x i32], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [64 x i32], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.g, i64 256, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.f, i64 256, i1 false)
store i32 0, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 8
br i1 %10, label %.lr.ph2, label %35
.lr.ph2: ; preds = %0
br label %11
11: ; preds = %.lr.ph2, %30
store i32 0, ptr %5, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp slt i32 %12, 8
br i1 %13, label %.lr.ph, label %28
.lr.ph: ; preds = %11
br label %14
14: ; preds = %.lr.ph, %23
%15 = load i32, ptr %4, align 4
%16 = mul nsw i32 %15, 8
%17 = load i32, ptr %5, align 4
%18 = add nsw i32 %16, %17
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [64 x i32], ptr %2, i64 0, i64 %19
%21 = load i32, ptr %20, align 4
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %21)
br label %23
23: ; preds = %14
%24 = load i32, ptr %5, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %5, align 4
%26 = load i32, ptr %5, align 4
%27 = icmp slt i32 %26, 8
br i1 %27, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %28
28: ; preds = %._crit_edge, %11
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %30
30: ; preds = %28
%31 = load i32, ptr %4, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %4, align 4
%33 = load i32, ptr %4, align 4
%34 = icmp slt i32 %33, 8
br i1 %34, label %11, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %30
br label %35
35: ; preds = %._crit_edge3, %0
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%37 = getelementptr inbounds [64 x i32], ptr %3, i64 0, i64 0
%38 = getelementptr inbounds [64 x i32], ptr %6, i64 0, i64 0
%39 = call i32 @idct_block(ptr noundef %37, ptr noundef %38)
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %7, align 4
%41 = load i32, ptr %7, align 4
%42 = icmp slt i32 %41, 8
br i1 %42, label %.lr.ph8, label %67
.lr.ph8: ; preds = %35
br label %43
43: ; preds = %.lr.ph8, %62
store i32 0, ptr %8, align 4
%44 = load i32, ptr %8, align 4
%45 = icmp slt i32 %44, 8
br i1 %45, label %.lr.ph5, label %60
.lr.ph5: ; preds = %43
br label %46
46: ; preds = %.lr.ph5, %55
%47 = load i32, ptr %7, align 4
%48 = mul nsw i32 %47, 8
%49 = load i32, ptr %8, align 4
%50 = add nsw i32 %48, %49
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [64 x i32], ptr %6, i64 0, i64 %51
%53 = load i32, ptr %52, align 4
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %53)
br label %55
55: ; preds = %46
%56 = load i32, ptr %8, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %8, align 4
%58 = load i32, ptr %8, align 4
%59 = icmp slt i32 %58, 8
br i1 %59, label %46, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %55
br label %60
60: ; preds = %._crit_edge6, %43
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %62
62: ; preds = %60
%63 = load i32, ptr %7, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %7, align 4
%65 = load i32, ptr %7, align 4
%66 = icmp slt i32 %65, 8
br i1 %66, label %43, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %62
br label %67
67: ; preds = %._crit_edge9, %35
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare i32 @idct_block(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpwrw46g5l.c'
source_filename = "/tmp/tmpwrw46g5l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@getumask.done = internal global i8 0, align 1
@getumask.mask = internal global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @getumask() #0 {
%1 = load i8, ptr @getumask.done, align 1
%2 = icmp ne i8 %1, 0
br i1 %2, label %6, label %3
3: ; preds = %0
store i8 1, ptr @getumask.done, align 1
%4 = call i64 @umask(i32 noundef 0)
%5 = sub nsw i64 511, %4
store i64 %5, ptr @getumask.mask, align 8
br label %6
6: ; preds = %3, %0
%7 = load i64, ptr @getumask.mask, align 8
ret i64 %7
}
declare i64 @umask(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/tmpwrw46g5l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@getumask.done = internal global i8 0, align 1
@getumask.mask = internal global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @getumask() #0 {
%1 = load i8, ptr @getumask.done, align 1
%2 = icmp ne i8 %1, 0
br i1 %2, label %6, label %3
3: ; preds = %0
store i8 1, ptr @getumask.done, align 1
%4 = call i64 @umask(i32 noundef 0)
%5 = sub nsw i64 511, %4
store i64 %5, ptr @getumask.mask, align 8
br label %6
6: ; preds = %3, %0
%7 = load i64, ptr @getumask.mask, align 8
ret i64 %7
}
declare i64 @umask(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/tmp32eykwe0.c'
source_filename = "/tmp/tmp32eykwe0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @copy(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call ptr @strcpy(ptr noundef %5, ptr noundef %6)
ret ptr %7
}
declare ptr @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp32eykwe0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @copy(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call ptr @strcpy(ptr noundef %5, ptr noundef %6)
ret ptr %7
}
declare ptr @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1bs2xth6.c'
source_filename = "/tmp/tmp1bs2xth6.c"
target datalayout = "e-m:e-p270: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 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @send_u(i32 noundef %0, ptr noundef %1, i64 noundef %2, i32 %3) #0 {
%5 = alloca %struct.timeval, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 0
store i32 %3, ptr %9, align 4
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
%10 = load i32, ptr %6, align 4
%11 = load ptr, ptr %7, align 8
%12 = load i64, ptr %8, align 8
%13 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 0
%14 = load i32, ptr %13, align 4
%15 = call i32 @sendto_u(i32 noundef %10, ptr noundef %11, i64 noundef %12, i32 %14, ptr noundef null)
ret i32 %15
}
declare i32 @sendto_u(i32 noundef, ptr noundef, i64 noundef, i32, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1bs2xth6.c"
target datalayout = "e-m:e-p270: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 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @send_u(i32 noundef %0, ptr noundef %1, i64 noundef %2, i32 %3) #0 {
%5 = alloca %struct.timeval, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 0
store i32 %3, ptr %9, align 4
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
%10 = load i32, ptr %6, align 4
%11 = load ptr, ptr %7, align 8
%12 = load i64, ptr %8, align 8
%13 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 0
%14 = load i32, ptr %13, align 4
%15 = call i32 @sendto_u(i32 noundef %10, ptr noundef %11, i64 noundef %12, i32 %14, ptr noundef null)
ret i32 %15
}
declare i32 @sendto_u(i32 noundef, ptr noundef, i64 noundef, i32, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4h87fd7w.c'
source_filename = "/tmp/tmp4h87fd7w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = 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
%11 = call i64 @malloc(i32 noundef 4096)
%12 = inttoptr i64 %11 to ptr
store ptr %12, ptr %7, align 8
%13 = call i64 @malloc(i32 noundef 4096)
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %8, align 8
%15 = call i64 @malloc(i32 noundef 4096)
%16 = inttoptr i64 %15 to ptr
store ptr %16, ptr %9, align 8
%17 = call i64 @malloc(i32 noundef 4096)
%18 = inttoptr i64 %17 to ptr
store ptr %18, ptr %10, align 8
store i32 0, ptr %6, align 4
br label %19
19: ; preds = %34, %2
%20 = load i32, ptr %6, align 4
%21 = icmp slt i32 %20, 1024
br i1 %21, label %22, label %37
22: ; preds = %19
%23 = load i32, ptr %6, align 4
%24 = load ptr, ptr %7, align 8
%25 = load i32, ptr %6, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %24, i64 %26
store i32 %23, ptr %27, align 4
%28 = load i32, ptr %6, align 4
%29 = mul nsw i32 2, %28
%30 = load ptr, ptr %8, align 8
%31 = load i32, ptr %6, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i32, ptr %30, i64 %32
store i32 %29, ptr %33, align 4
br label %34
34: ; preds = %22
%35 = load i32, ptr %6, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %6, align 4
br label %19, !llvm.loop !6
37: ; preds = %19
store i32 0, ptr %6, align 4
br label %38
38: ; preds = %57, %37
%39 = load i32, ptr %6, align 4
%40 = icmp slt i32 %39, 1024
br i1 %40, label %41, label %60
41: ; preds = %38
%42 = load ptr, ptr %7, align 8
%43 = load i32, ptr %6, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i32, ptr %42, i64 %44
%46 = load i32, ptr %45, align 4
%47 = load ptr, ptr %8, align 8
%48 = load i32, ptr %6, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i32, ptr %47, i64 %49
%51 = load i32, ptr %50, align 4
%52 = add nsw i32 %46, %51
%53 = load ptr, ptr %9, align 8
%54 = load i32, ptr %6, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i32, ptr %53, i64 %55
store i32 %52, ptr %56, align 4
br label %57
57: ; preds = %41
%58 = load i32, ptr %6, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %6, align 4
br label %38, !llvm.loop !8
60: ; preds = %38
store i32 0, ptr %6, align 4
br label %61
61: ; preds = %80, %60
%62 = load i32, ptr %6, align 4
%63 = icmp slt i32 %62, 1024
br i1 %63, label %64, label %83
64: ; preds = %61
%65 = load ptr, ptr %9, align 8
%66 = load i32, ptr %6, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i32, ptr %65, i64 %67
%69 = load i32, ptr %68, align 4
%70 = load ptr, ptr %7, align 8
%71 = load i32, ptr %6, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i32, ptr %70, i64 %72
%74 = load i32, ptr %73, align 4
%75 = mul nsw i32 %69, %74
%76 = load ptr, ptr %10, align 8
%77 = load i32, ptr %6, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i32, ptr %76, i64 %78
store i32 %75, ptr %79, align 4
br label %80
80: ; preds = %64
%81 = load i32, ptr %6, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %6, align 4
br label %61, !llvm.loop !9
83: ; preds = %61
store i32 0, ptr %6, align 4
br label %84
84: ; preds = %94, %83
%85 = load i32, ptr %6, align 4
%86 = icmp slt i32 %85, 10
br i1 %86, label %87, label %97
87: ; preds = %84
%88 = load ptr, ptr %10, align 8
%89 = load i32, ptr %6, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds i32, ptr %88, i64 %90
%92 = load i32, ptr %91, align 4
%93 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %92)
br label %94
94: ; preds = %87
%95 = load i32, ptr %6, align 4
%96 = add nsw i32 %95, 1
store i32 %96, ptr %6, align 4
br label %84, !llvm.loop !10
97: ; preds = %84
%98 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4h87fd7w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = 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
%11 = call i64 @malloc(i32 noundef 4096)
%12 = inttoptr i64 %11 to ptr
store ptr %12, ptr %7, align 8
%13 = call i64 @malloc(i32 noundef 4096)
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %8, align 8
%15 = call i64 @malloc(i32 noundef 4096)
%16 = inttoptr i64 %15 to ptr
store ptr %16, ptr %9, align 8
%17 = call i64 @malloc(i32 noundef 4096)
%18 = inttoptr i64 %17 to ptr
store ptr %18, ptr %10, align 8
store i32 0, ptr %6, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp slt i32 %19, 1024
br i1 %20, label %.lr.ph, label %38
.lr.ph: ; preds = %2
br label %21
21: ; preds = %.lr.ph, %33
%22 = load i32, ptr %6, align 4
%23 = load ptr, ptr %7, align 8
%24 = load i32, ptr %6, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %23, i64 %25
store i32 %22, ptr %26, align 4
%27 = load i32, ptr %6, align 4
%28 = mul nsw i32 2, %27
%29 = load ptr, ptr %8, align 8
%30 = load i32, ptr %6, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i32, ptr %29, i64 %31
store i32 %28, ptr %32, align 4
br label %33
33: ; preds = %21
%34 = load i32, ptr %6, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %6, align 4
%36 = load i32, ptr %6, align 4
%37 = icmp slt i32 %36, 1024
br i1 %37, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %38
38: ; preds = %._crit_edge, %2
store i32 0, ptr %6, align 4
%39 = load i32, ptr %6, align 4
%40 = icmp slt i32 %39, 1024
br i1 %40, label %.lr.ph2, label %62
.lr.ph2: ; preds = %38
br label %41
41: ; preds = %.lr.ph2, %57
%42 = load ptr, ptr %7, align 8
%43 = load i32, ptr %6, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i32, ptr %42, i64 %44
%46 = load i32, ptr %45, align 4
%47 = load ptr, ptr %8, align 8
%48 = load i32, ptr %6, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i32, ptr %47, i64 %49
%51 = load i32, ptr %50, align 4
%52 = add nsw i32 %46, %51
%53 = load ptr, ptr %9, align 8
%54 = load i32, ptr %6, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i32, ptr %53, i64 %55
store i32 %52, ptr %56, align 4
br label %57
57: ; preds = %41
%58 = load i32, ptr %6, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %6, align 4
%60 = load i32, ptr %6, align 4
%61 = icmp slt i32 %60, 1024
br i1 %61, label %41, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %57
br label %62
62: ; preds = %._crit_edge3, %38
store i32 0, ptr %6, align 4
%63 = load i32, ptr %6, align 4
%64 = icmp slt i32 %63, 1024
br i1 %64, label %.lr.ph5, label %86
.lr.ph5: ; preds = %62
br label %65
65: ; preds = %.lr.ph5, %81
%66 = load ptr, ptr %9, align 8
%67 = load i32, ptr %6, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i32, ptr %66, i64 %68
%70 = load i32, ptr %69, align 4
%71 = load ptr, ptr %7, align 8
%72 = load i32, ptr %6, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i32, ptr %71, i64 %73
%75 = load i32, ptr %74, align 4
%76 = mul nsw i32 %70, %75
%77 = load ptr, ptr %10, align 8
%78 = load i32, ptr %6, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i32, ptr %77, i64 %79
store i32 %76, ptr %80, align 4
br label %81
81: ; preds = %65
%82 = load i32, ptr %6, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %6, align 4
%84 = load i32, ptr %6, align 4
%85 = icmp slt i32 %84, 1024
br i1 %85, label %65, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %81
br label %86
86: ; preds = %._crit_edge6, %62
store i32 0, ptr %6, align 4
%87 = load i32, ptr %6, align 4
%88 = icmp slt i32 %87, 10
br i1 %88, label %.lr.ph8, label %101
.lr.ph8: ; preds = %86
br label %89
89: ; preds = %.lr.ph8, %96
%90 = load ptr, ptr %10, align 8
%91 = load i32, ptr %6, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds i32, ptr %90, i64 %92
%94 = load i32, ptr %93, align 4
%95 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %94)
br label %96
96: ; preds = %89
%97 = load i32, ptr %6, align 4
%98 = add nsw i32 %97, 1
store i32 %98, ptr %6, align 4
%99 = load i32, ptr %6, align 4
%100 = icmp slt i32 %99, 10
br i1 %100, label %89, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %96
br label %101
101: ; preds = %._crit_edge9, %86
%102 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpc8fd396z.c'
source_filename = "/tmp/tmpc8fd396z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_XClientMessageEvent_type(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0
%5 = load i64, ptr %4, align 8
%6 = trunc i64 %5 to i32
ret i32 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc8fd396z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_XClientMessageEvent_type(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0
%5 = load i64, ptr %4, align 8
%6 = trunc i64 %5 to i32
ret i32 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpka1v6ks6.c'
source_filename = "/tmp/tmpka1v6ks6.c"
target datalayout = "e-m:e-p270: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/tmpka1v6ks6.c"
target datalayout = "e-m:e-p270: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/tmpa4c9ewq2.c'
source_filename = "/tmp/tmpa4c9ewq2.c"
target datalayout = "e-m:e-p270: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/tmpa4c9ewq2.c"
target datalayout = "e-m:e-p270: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/tmp6ix6qdu7.c'
source_filename = "/tmp/tmp6ix6qdu7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"/db/gargoyle_attack_detect.db\00", align 1
@SQLITE_OK = dso_local global i32 0, align 4
@LOG_INFO = dso_local global i32 0, align 4
@LOG_LOCAL6 = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [88 x i8] c"ERROR opening SQLite DB '%s' from function [sqlite_get_all_ignore_or_black_ip_list]: %s\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"SELECT * FROM %s\00", align 1
@SQLITE_ROW = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [10 x i8] c"%d:%d:%d>\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sqlite_get_all_ignore_or_black_ip_list(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca [256 x i8], align 16
%11 = alloca [513 x i8], align 16
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca i64, align 8
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%19 = load ptr, ptr %8, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %25
21: ; preds = %4
%22 = getelementptr inbounds [513 x i8], ptr %11, i64 0, i64 0
%23 = load ptr, ptr %8, align 8
%24 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %22, i32 noundef 512, ptr noundef @.str, ptr noundef %23)
br label %35
25: ; preds = %4
%26 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0
%27 = call ptr @getcwd(ptr noundef %26, i32 noundef 256)
%28 = icmp eq ptr %27, null
br i1 %28, label %29, label %30
29: ; preds = %25
store i32 1, ptr %5, align 4
br label %126
30: ; preds = %25
%31 = getelementptr inbounds [513 x i8], ptr %11, i64 0, i64 0
%32 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0
%33 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %31, i32 noundef 512, ptr noundef @.str.1, ptr noundef %32, ptr noundef @.str.2)
br label %34
34: ; preds = %30
br label %35
35: ; preds = %34, %21
%36 = call i64 @malloc(i32 noundef 5242880)
%37 = inttoptr i64 %36 to ptr
store ptr %37, ptr %15, align 8
%38 = call i64 @malloc(i32 noundef 60)
%39 = inttoptr i64 %38 to ptr
store ptr %39, ptr %16, align 8
%40 = call i64 @malloc(i32 noundef 512)
%41 = inttoptr i64 %40 to ptr
store ptr %41, ptr %17, align 8
%42 = getelementptr inbounds [513 x i8], ptr %11, i64 0, i64 0
%43 = call i32 @sqlite3_open(ptr noundef %42, ptr noundef %12)
store i32 %43, ptr %14, align 4
%44 = load i32, ptr %14, align 4
%45 = load i32, ptr @SQLITE_OK, align 4
%46 = icmp ne i32 %44, %45
br i1 %46, label %47, label %61
47: ; preds = %35
%48 = load i32, ptr @LOG_INFO, align 4
%49 = load i32, ptr @LOG_LOCAL6, align 4
%50 = or i32 %48, %49
%51 = getelementptr inbounds [513 x i8], ptr %11, i64 0, i64 0
%52 = load ptr, ptr %12, align 8
%53 = call i32 @sqlite3_errmsg(ptr noundef %52)
%54 = call i32 @syslog(i32 noundef %50, ptr noundef @.str.3, ptr noundef %51, i32 noundef %53)
%55 = load ptr, ptr %16, align 8
%56 = call i32 @free(ptr noundef %55)
%57 = load ptr, ptr %17, align 8
%58 = call i32 @free(ptr noundef %57)
%59 = load ptr, ptr %15, align 8
%60 = call i32 @free(ptr noundef %59)
store i32 1, ptr %5, align 4
br label %126
61: ; preds = %35
%62 = load ptr, ptr %17, align 8
%63 = load ptr, ptr %9, align 8
%64 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %62, i32 noundef 512, ptr noundef @.str.4, ptr noundef %63)
%65 = load ptr, ptr %12, align 8
%66 = load ptr, ptr %17, align 8
%67 = load ptr, ptr %17, align 8
%68 = call i32 @strlen(ptr noundef %67)
%69 = call i32 @sqlite3_prepare_v2(ptr noundef %65, ptr noundef %66, i32 noundef %68, ptr noundef %13, ptr noundef null)
%70 = load ptr, ptr %15, align 8
store i8 0, ptr %70, align 1
br label %71
71: ; preds = %76, %61
%72 = load ptr, ptr %13, align 8
%73 = call i32 @sqlite3_step(ptr noundef %72)
store i32 %73, ptr %14, align 4
%74 = load i32, ptr @SQLITE_ROW, align 4
%75 = icmp eq i32 %73, %74
br i1 %75, label %76, label %92
76: ; preds = %71
%77 = load ptr, ptr %16, align 8
%78 = load ptr, ptr %13, align 8
%79 = call i32 @sqlite3_column_int(ptr noundef %78, i32 noundef 0)
%80 = load ptr, ptr %13, align 8
%81 = call i32 @sqlite3_column_int(ptr noundef %80, i32 noundef 1)
%82 = load ptr, ptr %13, align 8
%83 = call i32 @sqlite3_column_int(ptr noundef %82, i32 noundef 2)
%84 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %77, i32 noundef 60, ptr noundef @.str.5, i32 noundef %79, i32 noundef %81, i32 noundef %83)
%85 = load ptr, ptr %15, align 8
%86 = load ptr, ptr %16, align 8
%87 = load ptr, ptr %15, align 8
%88 = call i32 @strlen(ptr noundef %87)
%89 = sub nsw i32 5242880, %88
%90 = sub nsw i32 %89, 1
%91 = call i32 @strncat(ptr noundef %85, ptr noundef %86, i32 noundef %90)
br label %71, !llvm.loop !6
92: ; preds = %71
%93 = load ptr, ptr %15, align 8
%94 = call i32 @strlen(ptr noundef %93)
%95 = sext i32 %94 to i64
store i64 %95, ptr %18, align 8
%96 = load ptr, ptr %15, align 8
%97 = load i64, ptr %18, align 8
%98 = getelementptr inbounds i8, ptr %96, i64 %97
store i8 0, ptr %98, align 1
%99 = load ptr, ptr %13, align 8
%100 = call i32 @sqlite3_finalize(ptr noundef %99)
%101 = load ptr, ptr %12, align 8
%102 = call i32 @sqlite3_close(ptr noundef %101)
%103 = load i64, ptr %18, align 8
%104 = add i64 %103, 1
%105 = load i64, ptr %7, align 8
%106 = icmp ugt i64 %104, %105
br i1 %106, label %107, label %114
107: ; preds = %92
%108 = load ptr, ptr %16, align 8
%109 = call i32 @free(ptr noundef %108)
%110 = load ptr, ptr %17, align 8
%111 = call i32 @free(ptr noundef %110)
%112 = load ptr, ptr %15, align 8
%113 = call i32 @free(ptr noundef %112)
store i32 1, ptr %5, align 4
br label %126
114: ; preds = %92
%115 = load ptr, ptr %6, align 8
%116 = load ptr, ptr %15, align 8
%117 = load i64, ptr %18, align 8
%118 = add i64 %117, 1
%119 = call i32 @memcpy(ptr noundef %115, ptr noundef %116, i64 noundef %118)
%120 = load ptr, ptr %16, align 8
%121 = call i32 @free(ptr noundef %120)
%122 = load ptr, ptr %17, align 8
%123 = call i32 @free(ptr noundef %122)
%124 = load ptr, ptr %15, align 8
%125 = call i32 @free(ptr noundef %124)
store i32 0, ptr %5, align 4
br label %126
126: ; preds = %114, %107, %47, %29
%127 = load i32, ptr %5, align 4
ret i32 %127
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ...) #1
declare ptr @getcwd(ptr noundef, i32 noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @sqlite3_open(ptr noundef, ptr noundef) #1
declare i32 @syslog(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @sqlite3_errmsg(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @sqlite3_prepare_v2(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @sqlite3_step(ptr noundef) #1
declare i32 @sqlite3_column_int(ptr noundef, i32 noundef) #1
declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @sqlite3_finalize(ptr noundef) #1
declare i32 @sqlite3_close(ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp6ix6qdu7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"/db/gargoyle_attack_detect.db\00", align 1
@SQLITE_OK = dso_local global i32 0, align 4
@LOG_INFO = dso_local global i32 0, align 4
@LOG_LOCAL6 = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [88 x i8] c"ERROR opening SQLite DB '%s' from function [sqlite_get_all_ignore_or_black_ip_list]: %s\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"SELECT * FROM %s\00", align 1
@SQLITE_ROW = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [10 x i8] c"%d:%d:%d>\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sqlite_get_all_ignore_or_black_ip_list(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca [256 x i8], align 16
%11 = alloca [513 x i8], align 16
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca i64, align 8
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%19 = load ptr, ptr %8, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %25
21: ; preds = %4
%22 = getelementptr inbounds [513 x i8], ptr %11, i64 0, i64 0
%23 = load ptr, ptr %8, align 8
%24 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %22, i32 noundef 512, ptr noundef @.str, ptr noundef %23)
br label %35
25: ; preds = %4
%26 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0
%27 = call ptr @getcwd(ptr noundef %26, i32 noundef 256)
%28 = icmp eq ptr %27, null
br i1 %28, label %29, label %30
29: ; preds = %25
store i32 1, ptr %5, align 4
br label %129
30: ; preds = %25
%31 = getelementptr inbounds [513 x i8], ptr %11, i64 0, i64 0
%32 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0
%33 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %31, i32 noundef 512, ptr noundef @.str.1, ptr noundef %32, ptr noundef @.str.2)
br label %34
34: ; preds = %30
br label %35
35: ; preds = %34, %21
%36 = call i64 @malloc(i32 noundef 5242880)
%37 = inttoptr i64 %36 to ptr
store ptr %37, ptr %15, align 8
%38 = call i64 @malloc(i32 noundef 60)
%39 = inttoptr i64 %38 to ptr
store ptr %39, ptr %16, align 8
%40 = call i64 @malloc(i32 noundef 512)
%41 = inttoptr i64 %40 to ptr
store ptr %41, ptr %17, align 8
%42 = getelementptr inbounds [513 x i8], ptr %11, i64 0, i64 0
%43 = call i32 @sqlite3_open(ptr noundef %42, ptr noundef %12)
store i32 %43, ptr %14, align 4
%44 = load i32, ptr %14, align 4
%45 = load i32, ptr @SQLITE_OK, align 4
%46 = icmp ne i32 %44, %45
br i1 %46, label %47, label %61
47: ; preds = %35
%48 = load i32, ptr @LOG_INFO, align 4
%49 = load i32, ptr @LOG_LOCAL6, align 4
%50 = or i32 %48, %49
%51 = getelementptr inbounds [513 x i8], ptr %11, i64 0, i64 0
%52 = load ptr, ptr %12, align 8
%53 = call i32 @sqlite3_errmsg(ptr noundef %52)
%54 = call i32 @syslog(i32 noundef %50, ptr noundef @.str.3, ptr noundef %51, i32 noundef %53)
%55 = load ptr, ptr %16, align 8
%56 = call i32 @free(ptr noundef %55)
%57 = load ptr, ptr %17, align 8
%58 = call i32 @free(ptr noundef %57)
%59 = load ptr, ptr %15, align 8
%60 = call i32 @free(ptr noundef %59)
store i32 1, ptr %5, align 4
br label %129
61: ; preds = %35
%62 = load ptr, ptr %17, align 8
%63 = load ptr, ptr %9, align 8
%64 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %62, i32 noundef 512, ptr noundef @.str.4, ptr noundef %63)
%65 = load ptr, ptr %12, align 8
%66 = load ptr, ptr %17, align 8
%67 = load ptr, ptr %17, align 8
%68 = call i32 @strlen(ptr noundef %67)
%69 = call i32 @sqlite3_prepare_v2(ptr noundef %65, ptr noundef %66, i32 noundef %68, ptr noundef %13, ptr noundef null)
%70 = load ptr, ptr %15, align 8
store i8 0, ptr %70, align 1
%71 = load ptr, ptr %13, align 8
%72 = call i32 @sqlite3_step(ptr noundef %71)
store i32 %72, ptr %14, align 4
%73 = load i32, ptr @SQLITE_ROW, align 4
%74 = icmp eq i32 %72, %73
br i1 %74, label %.lr.ph, label %95
.lr.ph: ; preds = %61
br label %75
75: ; preds = %.lr.ph, %75
%76 = load ptr, ptr %16, align 8
%77 = load ptr, ptr %13, align 8
%78 = call i32 @sqlite3_column_int(ptr noundef %77, i32 noundef 0)
%79 = load ptr, ptr %13, align 8
%80 = call i32 @sqlite3_column_int(ptr noundef %79, i32 noundef 1)
%81 = load ptr, ptr %13, align 8
%82 = call i32 @sqlite3_column_int(ptr noundef %81, i32 noundef 2)
%83 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %76, i32 noundef 60, ptr noundef @.str.5, i32 noundef %78, i32 noundef %80, i32 noundef %82)
%84 = load ptr, ptr %15, align 8
%85 = load ptr, ptr %16, align 8
%86 = load ptr, ptr %15, align 8
%87 = call i32 @strlen(ptr noundef %86)
%88 = sub nsw i32 5242880, %87
%89 = sub nsw i32 %88, 1
%90 = call i32 @strncat(ptr noundef %84, ptr noundef %85, i32 noundef %89)
%91 = load ptr, ptr %13, align 8
%92 = call i32 @sqlite3_step(ptr noundef %91)
store i32 %92, ptr %14, align 4
%93 = load i32, ptr @SQLITE_ROW, align 4
%94 = icmp eq i32 %92, %93
br i1 %94, label %75, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %75
br label %95
95: ; preds = %._crit_edge, %61
%96 = load ptr, ptr %15, align 8
%97 = call i32 @strlen(ptr noundef %96)
%98 = sext i32 %97 to i64
store i64 %98, ptr %18, align 8
%99 = load ptr, ptr %15, align 8
%100 = load i64, ptr %18, align 8
%101 = getelementptr inbounds i8, ptr %99, i64 %100
store i8 0, ptr %101, align 1
%102 = load ptr, ptr %13, align 8
%103 = call i32 @sqlite3_finalize(ptr noundef %102)
%104 = load ptr, ptr %12, align 8
%105 = call i32 @sqlite3_close(ptr noundef %104)
%106 = load i64, ptr %18, align 8
%107 = add i64 %106, 1
%108 = load i64, ptr %7, align 8
%109 = icmp ugt i64 %107, %108
br i1 %109, label %110, label %117
110: ; preds = %95
%111 = load ptr, ptr %16, align 8
%112 = call i32 @free(ptr noundef %111)
%113 = load ptr, ptr %17, align 8
%114 = call i32 @free(ptr noundef %113)
%115 = load ptr, ptr %15, align 8
%116 = call i32 @free(ptr noundef %115)
store i32 1, ptr %5, align 4
br label %129
117: ; preds = %95
%118 = load ptr, ptr %6, align 8
%119 = load ptr, ptr %15, align 8
%120 = load i64, ptr %18, align 8
%121 = add i64 %120, 1
%122 = call i32 @memcpy(ptr noundef %118, ptr noundef %119, i64 noundef %121)
%123 = load ptr, ptr %16, align 8
%124 = call i32 @free(ptr noundef %123)
%125 = load ptr, ptr %17, align 8
%126 = call i32 @free(ptr noundef %125)
%127 = load ptr, ptr %15, align 8
%128 = call i32 @free(ptr noundef %127)
store i32 0, ptr %5, align 4
br label %129
129: ; preds = %117, %110, %47, %29
%130 = load i32, ptr %5, align 4
ret i32 %130
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ...) #1
declare ptr @getcwd(ptr noundef, i32 noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @sqlite3_open(ptr noundef, ptr noundef) #1
declare i32 @syslog(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @sqlite3_errmsg(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @sqlite3_prepare_v2(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @sqlite3_step(ptr noundef) #1
declare i32 @sqlite3_column_int(ptr noundef, i32 noundef) #1
declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @sqlite3_finalize(ptr noundef) #1
declare i32 @sqlite3_close(ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpfmcfrq4f.c'
source_filename = "/tmp/tmpfmcfrq4f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [42 x i8] c"parse_hashes: bad size=%lld minimum=%lld\0A\00", align 1
@.str.1 = private unnamed_addr constant [43 x i8] c"parse_hashes: bad size=%lld expected=%lld\0A\00", align 1
@.str.2 = private unnamed_addr constant [47 x i8] c"parse_hashes: start=%lld, step=%lld, nstep=%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @parse_hashes(i32 noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca [3 x i32], align 4
%16 = alloca i32, align 4
store i32 %0, ptr %8, align 4
store ptr %1, ptr %9, align 8
store i64 %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 ptr %6, ptr %14, align 8
%17 = load i64, ptr %10, align 8
%18 = icmp ult i64 %17, 12
br i1 %18, label %19, label %23
19: ; preds = %7
%20 = load i64, ptr %10, align 8
%21 = call i32 (i32, ptr, i64, i64, ...) @verbose(i32 noundef 0, ptr noundef @.str, i64 noundef %20, i64 noundef 12)
%22 = call i32 @exit(i32 noundef 1) #3
unreachable
23: ; preds = %7
store i32 0, ptr %16, align 4
br label %24
24: ; preds = %33, %23
%25 = load i32, ptr %16, align 4
%26 = icmp slt i32 %25, 3
br i1 %26, label %27, label %38
27: ; preds = %24
%28 = load ptr, ptr %9, align 8
%29 = call i32 @char2int(ptr noundef %28, i32 noundef 4)
%30 = load i32, ptr %16, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [3 x i32], ptr %15, i64 0, i64 %31
store i32 %29, ptr %32, align 4
br label %33
33: ; preds = %27
%34 = load i32, ptr %16, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %16, align 4
%36 = load ptr, ptr %9, align 8
%37 = getelementptr inbounds i8, ptr %36, i64 4
store ptr %37, ptr %9, align 8
br label %24, !llvm.loop !6
38: ; preds = %24
%39 = getelementptr inbounds [3 x i32], ptr %15, i64 0, i64 0
%40 = load i32, ptr %39, align 4
%41 = load ptr, ptr %11, align 8
store i32 %40, ptr %41, align 4
%42 = getelementptr inbounds [3 x i32], ptr %15, i64 0, i64 1
%43 = load i32, ptr %42, align 4
%44 = load ptr, ptr %12, align 8
store i32 %43, ptr %44, align 4
%45 = getelementptr inbounds [3 x i32], ptr %15, i64 0, i64 2
%46 = load i32, ptr %45, align 4
%47 = load ptr, ptr %13, align 8
store i32 %46, ptr %47, align 4
%48 = load i64, ptr %10, align 8
%49 = load ptr, ptr %13, align 8
%50 = load i32, ptr %49, align 4
%51 = load i32, ptr %8, align 4
%52 = mul nsw i32 %50, %51
%53 = sext i32 %52 to i64
%54 = add i64 12, %53
%55 = icmp ne i64 %48, %54
br i1 %55, label %56, label %66
56: ; preds = %38
%57 = load i64, ptr %10, align 8
%58 = load ptr, ptr %13, align 8
%59 = load i32, ptr %58, align 4
%60 = load i32, ptr %8, align 4
%61 = mul nsw i32 %59, %60
%62 = sext i32 %61 to i64
%63 = add i64 12, %62
%64 = call i32 (i32, ptr, i64, i64, ...) @verbose(i32 noundef 0, ptr noundef @.str.1, i64 noundef %57, i64 noundef %63)
%65 = call i32 @exit(i32 noundef 1) #3
unreachable
66: ; preds = %38
%67 = load ptr, ptr %13, align 8
%68 = load i32, ptr %67, align 4
%69 = load i32, ptr %8, align 4
%70 = mul nsw i32 %68, %69
%71 = call ptr @malloc(i32 noundef %70)
%72 = load ptr, ptr %14, align 8
store ptr %71, ptr %72, align 8
%73 = load ptr, ptr %14, align 8
%74 = load ptr, ptr %73, align 8
%75 = load ptr, ptr %9, align 8
%76 = load ptr, ptr %13, align 8
%77 = load i32, ptr %76, align 4
%78 = load i32, ptr %8, align 4
%79 = mul nsw i32 %77, %78
%80 = call i32 @memcpy(ptr noundef %74, ptr noundef %75, i32 noundef %79)
%81 = load ptr, ptr %11, align 8
%82 = load i32, ptr %81, align 4
%83 = sext i32 %82 to i64
%84 = load ptr, ptr %12, align 8
%85 = load i32, ptr %84, align 4
%86 = sext i32 %85 to i64
%87 = load ptr, ptr %13, align 8
%88 = load i32, ptr %87, align 4
%89 = call i32 (i32, ptr, i64, i64, ...) @verbose(i32 noundef 1, ptr noundef @.str.2, i64 noundef %83, i64 noundef %86, i32 noundef %88)
ret i32 0
}
declare i32 @verbose(i32 noundef, ptr noundef, i64 noundef, i64 noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @char2int(ptr noundef, i32 noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfmcfrq4f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [42 x i8] c"parse_hashes: bad size=%lld minimum=%lld\0A\00", align 1
@.str.1 = private unnamed_addr constant [43 x i8] c"parse_hashes: bad size=%lld expected=%lld\0A\00", align 1
@.str.2 = private unnamed_addr constant [47 x i8] c"parse_hashes: start=%lld, step=%lld, nstep=%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @parse_hashes(i32 noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca [3 x i32], align 4
%16 = alloca i32, align 4
store i32 %0, ptr %8, align 4
store ptr %1, ptr %9, align 8
store i64 %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 ptr %6, ptr %14, align 8
%17 = load i64, ptr %10, align 8
%18 = icmp ult i64 %17, 12
br i1 %18, label %19, label %23
19: ; preds = %7
%20 = load i64, ptr %10, align 8
%21 = call i32 (i32, ptr, i64, i64, ...) @verbose(i32 noundef 0, ptr noundef @.str, i64 noundef %20, i64 noundef 12)
%22 = call i32 @exit(i32 noundef 1) #3
unreachable
23: ; preds = %7
store i32 0, ptr %16, align 4
%24 = load i32, ptr %16, align 4
%25 = icmp slt i32 %24, 3
br i1 %25, label %.lr.ph, label %39
.lr.ph: ; preds = %23
br label %26
26: ; preds = %.lr.ph, %32
%27 = load ptr, ptr %9, align 8
%28 = call i32 @char2int(ptr noundef %27, i32 noundef 4)
%29 = load i32, ptr %16, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [3 x i32], ptr %15, i64 0, i64 %30
store i32 %28, ptr %31, align 4
br label %32
32: ; preds = %26
%33 = load i32, ptr %16, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %16, align 4
%35 = load ptr, ptr %9, align 8
%36 = getelementptr inbounds i8, ptr %35, i64 4
store ptr %36, ptr %9, align 8
%37 = load i32, ptr %16, align 4
%38 = icmp slt i32 %37, 3
br i1 %38, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %39
39: ; preds = %._crit_edge, %23
%40 = getelementptr inbounds [3 x i32], ptr %15, i64 0, i64 0
%41 = load i32, ptr %40, align 4
%42 = load ptr, ptr %11, align 8
store i32 %41, ptr %42, align 4
%43 = getelementptr inbounds [3 x i32], ptr %15, i64 0, i64 1
%44 = load i32, ptr %43, align 4
%45 = load ptr, ptr %12, align 8
store i32 %44, ptr %45, align 4
%46 = getelementptr inbounds [3 x i32], ptr %15, i64 0, i64 2
%47 = load i32, ptr %46, align 4
%48 = load ptr, ptr %13, align 8
store i32 %47, ptr %48, align 4
%49 = load i64, ptr %10, align 8
%50 = load ptr, ptr %13, align 8
%51 = load i32, ptr %50, align 4
%52 = load i32, ptr %8, align 4
%53 = mul nsw i32 %51, %52
%54 = sext i32 %53 to i64
%55 = add i64 12, %54
%56 = icmp ne i64 %49, %55
br i1 %56, label %57, label %67
57: ; preds = %39
%58 = load i64, ptr %10, align 8
%59 = load ptr, ptr %13, align 8
%60 = load i32, ptr %59, align 4
%61 = load i32, ptr %8, align 4
%62 = mul nsw i32 %60, %61
%63 = sext i32 %62 to i64
%64 = add i64 12, %63
%65 = call i32 (i32, ptr, i64, i64, ...) @verbose(i32 noundef 0, ptr noundef @.str.1, i64 noundef %58, i64 noundef %64)
%66 = call i32 @exit(i32 noundef 1) #3
unreachable
67: ; preds = %39
%68 = load ptr, ptr %13, align 8
%69 = load i32, ptr %68, align 4
%70 = load i32, ptr %8, align 4
%71 = mul nsw i32 %69, %70
%72 = call ptr @malloc(i32 noundef %71)
%73 = load ptr, ptr %14, align 8
store ptr %72, ptr %73, align 8
%74 = load ptr, ptr %14, align 8
%75 = load ptr, ptr %74, align 8
%76 = load ptr, ptr %9, align 8
%77 = load ptr, ptr %13, align 8
%78 = load i32, ptr %77, align 4
%79 = load i32, ptr %8, align 4
%80 = mul nsw i32 %78, %79
%81 = call i32 @memcpy(ptr noundef %75, ptr noundef %76, i32 noundef %80)
%82 = load ptr, ptr %11, align 8
%83 = load i32, ptr %82, align 4
%84 = sext i32 %83 to i64
%85 = load ptr, ptr %12, align 8
%86 = load i32, ptr %85, align 4
%87 = sext i32 %86 to i64
%88 = load ptr, ptr %13, align 8
%89 = load i32, ptr %88, align 4
%90 = call i32 (i32, ptr, i64, i64, ...) @verbose(i32 noundef 1, ptr noundef @.str.2, i64 noundef %84, i64 noundef %87, i32 noundef %89)
ret i32 0
}
declare i32 @verbose(i32 noundef, ptr noundef, i64 noundef, i64 noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @char2int(ptr noundef, i32 noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp65ptxrzs.c'
source_filename = "/tmp/tmp65ptxrzs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @esmPerspectivef(ptr noundef %0, float noundef %1, float noundef %2, float noundef %3, float noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca float, align 4
store ptr %0, ptr %6, align 8
store float %1, ptr %7, align 4
store float %2, ptr %8, align 4
store float %3, ptr %9, align 4
store float %4, ptr %10, align 4
%13 = load float, ptr %7, align 4
%14 = fdiv float %13, 3.600000e+02
%15 = fmul float %14, 0x400921FB60000000
%16 = call float @tanf(float noundef %15) #3
%17 = load float, ptr %9, align 4
%18 = fmul float %16, %17
store float %18, ptr %12, align 4
%19 = load float, ptr %12, align 4
%20 = load float, ptr %8, align 4
%21 = fmul float %19, %20
store float %21, ptr %11, align 4
%22 = load ptr, ptr %6, align 8
%23 = load float, ptr %11, align 4
%24 = fneg float %23
%25 = load float, ptr %11, align 4
%26 = load float, ptr %12, align 4
%27 = fneg float %26
%28 = load float, ptr %12, align 4
%29 = load float, ptr %9, align 4
%30 = load float, ptr %10, align 4
%31 = call i32 @esmFrustumf(ptr noundef %22, float noundef %24, float noundef %25, float noundef %27, float noundef %28, float noundef %29, float noundef %30)
ret void
}
; Function Attrs: nounwind
declare float @tanf(float noundef) #1
declare i32 @esmFrustumf(ptr noundef, float noundef, float noundef, float noundef, float noundef, float noundef, float 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 = { 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 = { "frame-pointer"="all" "no-trapping-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/tmp65ptxrzs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @esmPerspectivef(ptr noundef %0, float noundef %1, float noundef %2, float noundef %3, float noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca float, align 4
store ptr %0, ptr %6, align 8
store float %1, ptr %7, align 4
store float %2, ptr %8, align 4
store float %3, ptr %9, align 4
store float %4, ptr %10, align 4
%13 = load float, ptr %7, align 4
%14 = fdiv float %13, 3.600000e+02
%15 = fmul float %14, 0x400921FB60000000
%16 = call float @tanf(float noundef %15) #3
%17 = load float, ptr %9, align 4
%18 = fmul float %16, %17
store float %18, ptr %12, align 4
%19 = load float, ptr %12, align 4
%20 = load float, ptr %8, align 4
%21 = fmul float %19, %20
store float %21, ptr %11, align 4
%22 = load ptr, ptr %6, align 8
%23 = load float, ptr %11, align 4
%24 = fneg float %23
%25 = load float, ptr %11, align 4
%26 = load float, ptr %12, align 4
%27 = fneg float %26
%28 = load float, ptr %12, align 4
%29 = load float, ptr %9, align 4
%30 = load float, ptr %10, align 4
%31 = call i32 @esmFrustumf(ptr noundef %22, float noundef %24, float noundef %25, float noundef %27, float noundef %28, float noundef %29, float noundef %30)
ret void
}
; Function Attrs: nounwind
declare float @tanf(float noundef) #1
declare i32 @esmFrustumf(ptr noundef, float noundef, float noundef, float noundef, float noundef, float noundef, float 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 = { 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 = { "frame-pointer"="all" "no-trapping-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/tmp9ws2fg0w.c'
source_filename = "/tmp/tmp9ws2fg0w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ltrim(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %5, align 4
br label %8
8: ; preds = %23, %1
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %3, align 4
%12 = sext i32 %10 to i64
%13 = getelementptr inbounds i8, ptr %9, i64 %12
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 32
br i1 %16, label %17, label %21
17: ; preds = %8
%18 = load i32, ptr %3, align 4
%19 = load i32, ptr %5, align 4
%20 = icmp slt i32 %18, %19
br label %21
21: ; preds = %17, %8
%22 = phi i1 [ false, %8 ], [ %20, %17 ]
br i1 %22, label %23, label %24
23: ; preds = %21
br label %8, !llvm.loop !6
24: ; preds = %21
store i32 0, ptr %4, align 4
br label %25
25: ; preds = %42, %24
%26 = load i32, ptr %4, align 4
%27 = load i32, ptr %5, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %29, label %45
29: ; preds = %25
%30 = load ptr, ptr %2, align 8
%31 = load i32, ptr %4, align 4
%32 = load i32, ptr %3, align 4
%33 = add nsw i32 %31, %32
%34 = sub nsw i32 %33, 1
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %30, i64 %35
%37 = load i8, ptr %36, align 1
%38 = load ptr, ptr %2, align 8
%39 = load i32, ptr %4, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
store i8 %37, ptr %41, align 1
br label %42
42: ; preds = %29
%43 = load i32, ptr %4, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %4, align 4
br label %25, !llvm.loop !8
45: ; preds = %25
%46 = load ptr, ptr %2, align 8
%47 = load i32, ptr %4, align 4
%48 = load i32, ptr %3, align 4
%49 = add nsw i32 %47, %48
%50 = sub nsw i32 %49, 1
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i8, ptr %46, i64 %51
store i8 0, ptr %52, align 1
ret void
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9ws2fg0w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ltrim(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %5, align 4
br label %8
8: ; preds = %21, %1
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %3, align 4
%12 = sext i32 %10 to i64
%13 = getelementptr inbounds i8, ptr %9, i64 %12
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 32
br i1 %16, label %17, label %21
17: ; preds = %8
%18 = load i32, ptr %3, align 4
%19 = load i32, ptr %5, align 4
%20 = icmp slt i32 %18, %19
br label %21
21: ; preds = %17, %8
%22 = phi i1 [ false, %8 ], [ %20, %17 ]
br i1 %22, label %8, label %23, !llvm.loop !6
23: ; preds = %21
store i32 0, ptr %4, align 4
%24 = load i32, ptr %4, align 4
%25 = load i32, ptr %5, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %.lr.ph, label %46
.lr.ph: ; preds = %23
br label %27
27: ; preds = %.lr.ph, %40
%28 = load ptr, ptr %2, align 8
%29 = load i32, ptr %4, align 4
%30 = load i32, ptr %3, align 4
%31 = add nsw i32 %29, %30
%32 = sub nsw i32 %31, 1
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %28, i64 %33
%35 = load i8, ptr %34, align 1
%36 = load ptr, ptr %2, align 8
%37 = load i32, ptr %4, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %36, i64 %38
store i8 %35, ptr %39, align 1
br label %40
40: ; preds = %27
%41 = load i32, ptr %4, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %4, align 4
%43 = load i32, ptr %4, align 4
%44 = load i32, ptr %5, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %27, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %40
br label %46
46: ; preds = %._crit_edge, %23
%47 = load ptr, ptr %2, align 8
%48 = load i32, ptr %4, align 4
%49 = load i32, ptr %3, align 4
%50 = add nsw i32 %48, %49
%51 = sub nsw i32 %50, 1
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i8, ptr %47, i64 %52
store i8 0, ptr %53, align 1
ret void
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpo_scsrhi.c'
source_filename = "/tmp/tmpo_scsrhi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"Area em hectares: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"Area em Metros Quadrados: %.2f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load float, ptr %2, align 4
%6 = fmul float %5, 1.000000e+04
%7 = fpext float %6 to double
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %7)
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/tmpo_scsrhi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"Area em hectares: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"Area em Metros Quadrados: %.2f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load float, ptr %2, align 4
%6 = fmul float %5, 1.000000e+04
%7 = fpext float %6 to double
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %7)
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/tmpgwimpv_j.c'
source_filename = "/tmp/tmpgwimpv_j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sub_uimatrix(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i64, align 8
%16 = alloca i64, align 8
%17 = alloca i64, align 8
%18 = alloca i64, align 8
%19 = alloca i64, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
store ptr %0, ptr %8, align 8
store i64 %1, ptr %9, align 8
store i64 %2, ptr %10, align 8
store i64 %3, ptr %11, align 8
store i64 %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
store ptr %6, ptr %14, align 8
%23 = load i64, ptr %9, align 8
store i64 %23, ptr %15, align 8
br label %24
24: ; preds = %66, %7
%25 = load i64, ptr %15, align 8
%26 = load i64, ptr %10, align 8
%27 = icmp sle i64 %25, %26
br i1 %27, label %28, label %69
28: ; preds = %24
%29 = load ptr, ptr %8, align 8
%30 = load i64, ptr %15, align 8
%31 = getelementptr inbounds ptr, ptr %29, i64 %30
%32 = load ptr, ptr %31, align 8
store ptr %32, ptr %20, align 8
%33 = load ptr, ptr %13, align 8
%34 = load i64, ptr %15, align 8
%35 = getelementptr inbounds ptr, ptr %33, i64 %34
%36 = load ptr, ptr %35, align 8
store ptr %36, ptr %21, align 8
%37 = load ptr, ptr %14, align 8
%38 = load i64, ptr %15, align 8
%39 = getelementptr inbounds ptr, ptr %37, i64 %38
%40 = load ptr, ptr %39, align 8
store ptr %40, ptr %22, align 8
%41 = load i64, ptr %11, align 8
store i64 %41, ptr %16, align 8
br label %42
42: ; preds = %62, %28
%43 = load i64, ptr %16, align 8
%44 = load i64, ptr %12, align 8
%45 = icmp sle i64 %43, %44
br i1 %45, label %46, label %65
46: ; preds = %42
%47 = load ptr, ptr %20, align 8
%48 = load i64, ptr %16, align 8
%49 = getelementptr inbounds i64, ptr %47, i64 %48
%50 = load i64, ptr %49, align 8
store i64 %50, ptr %17, align 8
%51 = load ptr, ptr %21, align 8
%52 = load i64, ptr %16, align 8
%53 = getelementptr inbounds i64, ptr %51, i64 %52
%54 = load i64, ptr %53, align 8
store i64 %54, ptr %18, align 8
%55 = load i64, ptr %17, align 8
%56 = load i64, ptr %18, align 8
%57 = sub nsw i64 %55, %56
store i64 %57, ptr %19, align 8
%58 = load i64, ptr %19, align 8
%59 = load ptr, ptr %22, align 8
%60 = load i64, ptr %16, align 8
%61 = getelementptr inbounds i64, ptr %59, i64 %60
store i64 %58, ptr %61, align 8
br label %62
62: ; preds = %46
%63 = load i64, ptr %16, align 8
%64 = add nsw i64 %63, 1
store i64 %64, ptr %16, align 8
br label %42, !llvm.loop !6
65: ; preds = %42
br label %66
66: ; preds = %65
%67 = load i64, ptr %15, align 8
%68 = add nsw i64 %67, 1
store i64 %68, ptr %15, align 8
br label %24, !llvm.loop !8
69: ; preds = %24
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgwimpv_j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sub_uimatrix(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i64, align 8
%16 = alloca i64, align 8
%17 = alloca i64, align 8
%18 = alloca i64, align 8
%19 = alloca i64, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
store ptr %0, ptr %8, align 8
store i64 %1, ptr %9, align 8
store i64 %2, ptr %10, align 8
store i64 %3, ptr %11, align 8
store i64 %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
store ptr %6, ptr %14, align 8
%23 = load i64, ptr %9, align 8
store i64 %23, ptr %15, align 8
%24 = load i64, ptr %15, align 8
%25 = load i64, ptr %10, align 8
%26 = icmp sle i64 %24, %25
br i1 %26, label %.lr.ph2, label %73
.lr.ph2: ; preds = %7
br label %27
27: ; preds = %.lr.ph2, %67
%28 = load ptr, ptr %8, align 8
%29 = load i64, ptr %15, align 8
%30 = getelementptr inbounds ptr, ptr %28, i64 %29
%31 = load ptr, ptr %30, align 8
store ptr %31, ptr %20, align 8
%32 = load ptr, ptr %13, align 8
%33 = load i64, ptr %15, align 8
%34 = getelementptr inbounds ptr, ptr %32, i64 %33
%35 = load ptr, ptr %34, align 8
store ptr %35, ptr %21, align 8
%36 = load ptr, ptr %14, align 8
%37 = load i64, ptr %15, align 8
%38 = getelementptr inbounds ptr, ptr %36, i64 %37
%39 = load ptr, ptr %38, align 8
store ptr %39, ptr %22, align 8
%40 = load i64, ptr %11, align 8
store i64 %40, ptr %16, align 8
%41 = load i64, ptr %16, align 8
%42 = load i64, ptr %12, align 8
%43 = icmp sle i64 %41, %42
br i1 %43, label %.lr.ph, label %66
.lr.ph: ; preds = %27
br label %44
44: ; preds = %.lr.ph, %60
%45 = load ptr, ptr %20, align 8
%46 = load i64, ptr %16, align 8
%47 = getelementptr inbounds i64, ptr %45, i64 %46
%48 = load i64, ptr %47, align 8
store i64 %48, ptr %17, align 8
%49 = load ptr, ptr %21, align 8
%50 = load i64, ptr %16, align 8
%51 = getelementptr inbounds i64, ptr %49, i64 %50
%52 = load i64, ptr %51, align 8
store i64 %52, ptr %18, align 8
%53 = load i64, ptr %17, align 8
%54 = load i64, ptr %18, align 8
%55 = sub nsw i64 %53, %54
store i64 %55, ptr %19, align 8
%56 = load i64, ptr %19, align 8
%57 = load ptr, ptr %22, align 8
%58 = load i64, ptr %16, align 8
%59 = getelementptr inbounds i64, ptr %57, i64 %58
store i64 %56, ptr %59, align 8
br label %60
60: ; preds = %44
%61 = load i64, ptr %16, align 8
%62 = add nsw i64 %61, 1
store i64 %62, ptr %16, align 8
%63 = load i64, ptr %16, align 8
%64 = load i64, ptr %12, align 8
%65 = icmp sle i64 %63, %64
br i1 %65, label %44, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %60
br label %66
66: ; preds = %._crit_edge, %27
br label %67
67: ; preds = %66
%68 = load i64, ptr %15, align 8
%69 = add nsw i64 %68, 1
store i64 %69, ptr %15, align 8
%70 = load i64, ptr %15, align 8
%71 = load i64, ptr %10, align 8
%72 = icmp sle i64 %70, %71
br i1 %72, label %27, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %67
br label %73
73: ; preds = %._crit_edge3, %7
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp01j5r5f5.c'
source_filename = "/tmp/tmp01j5r5f5.c"
target datalayout = "e-m:e-p270: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/tmp01j5r5f5.c"
target datalayout = "e-m:e-p270: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/tmpa898g4up.c'
source_filename = "/tmp/tmpa898g4up.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [64 x i8] c"The leaves begin changing colors signaling the start of fall.\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @start_fall() #0 {
%1 = call i32 @echo_to_all(i32 noundef 3, ptr noundef @.str, i32 noundef 0)
ret void
}
declare i32 @echo_to_all(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa898g4up.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [64 x i8] c"The leaves begin changing colors signaling the start of fall.\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @start_fall() #0 {
%1 = call i32 @echo_to_all(i32 noundef 3, ptr noundef @.str, i32 noundef 0)
ret void
}
declare i32 @echo_to_all(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5nvkrucm.c'
source_filename = "/tmp/tmp5nvkrucm.c"
target datalayout = "e-m:e-p270: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.matrx = private unnamed_addr constant [9 x i8] c"120A120B\00", align 1
@.str = private unnamed_addr constant [28 x i8] c"O elemento do vetor \C3\A9: %p\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"O elemento do vetor \C3\A9: %c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [9 x i8], align 1
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.matrx, i64 9, i1 false)
%4 = getelementptr inbounds [9 x i8], ptr %2, i64 0, i64 0
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %5)
%7 = load ptr, ptr %3, align 8
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %9)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3)
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 1
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %15)
%17 = load ptr, ptr %3, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 5
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %18)
%20 = load ptr, ptr %3, align 8
%21 = getelementptr inbounds i8, ptr %20, i64 2
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %23)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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/tmp5nvkrucm.c"
target datalayout = "e-m:e-p270: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.matrx = private unnamed_addr constant [9 x i8] c"120A120B\00", align 1
@.str = private unnamed_addr constant [28 x i8] c"O elemento do vetor \C3\A9: %p\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"O elemento do vetor \C3\A9: %c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [9 x i8], align 1
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.matrx, i64 9, i1 false)
%4 = getelementptr inbounds [9 x i8], ptr %2, i64 0, i64 0
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %5)
%7 = load ptr, ptr %3, align 8
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %9)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3)
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 1
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %15)
%17 = load ptr, ptr %3, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 5
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %18)
%20 = load ptr, ptr %3, align 8
%21 = getelementptr inbounds i8, ptr %20, i64 2
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %23)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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/tmpj0n6ud6w.c'
source_filename = "/tmp/tmpj0n6ud6w.c"
target datalayout = "e-m:e-p270: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 i64 0, align 8
@EOF = 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/tmpj0n6ud6w.c"
target datalayout = "e-m:e-p270: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 i64 0, align 8
@EOF = 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/tmp1_81ksvr.c'
source_filename = "/tmp/tmp1_81ksvr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 void @print_space(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %10, %1
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %5, %6
br i1 %7, label %8, label %13
8: ; preds = %4
%9 = call i32 @printf(ptr noundef @.str)
br label %10
10: ; preds = %8
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %3, align 4
br label %4, !llvm.loop !6
13: ; preds = %4
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1_81ksvr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 void @print_space(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %4, %5
br i1 %6, label %.lr.ph, label %15
.lr.ph: ; preds = %1
br label %7
7: ; preds = %.lr.ph, %9
%8 = call i32 @printf(ptr noundef @.str)
br label %9
9: ; preds = %7
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr %2, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %15
15: ; preds = %._crit_edge, %1
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp7hw81bh0.c'
source_filename = "/tmp/tmp7hw81bh0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @odd_even_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
%8 = load i32, ptr %4, align 4
%9 = sub nsw i32 %8, 1
store i32 %9, ptr %5, align 4
br label %10
10: ; preds = %85, %2
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %4, align 4
%13 = sdiv i32 %12, 2
%14 = sub nsw i32 %13, 1
%15 = icmp sgt i32 %11, %14
br i1 %15, label %16, label %88
16: ; preds = %10
store i32 1, ptr %6, align 4
br label %17
17: ; preds = %47, %16
%18 = load i32, ptr %6, align 4
%19 = load i32, ptr %4, align 4
%20 = sub nsw i32 %19, 1
%21 = icmp slt i32 %18, %20
br i1 %21, label %22, label %50
22: ; preds = %17
%23 = load ptr, ptr %3, align 8
%24 = load i32, ptr %6, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %23, i64 %25
%27 = load i32, ptr %26, align 4
%28 = load ptr, ptr %3, align 8
%29 = load i32, ptr %6, align 4
%30 = add nsw i32 %29, 1
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i32, ptr %28, i64 %31
%33 = load i32, ptr %32, align 4
%34 = icmp sgt i32 %27, %33
br i1 %34, label %35, label %46
35: ; preds = %22
%36 = load ptr, ptr %3, align 8
%37 = load i32, ptr %6, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %36, i64 %38
%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
%45 = call i32 @swap(ptr noundef %39, ptr noundef %44)
br label %46
46: ; preds = %35, %22
br label %47
47: ; preds = %46
%48 = load i32, ptr %6, align 4
%49 = add nsw i32 %48, 2
store i32 %49, ptr %6, align 4
br label %17, !llvm.loop !6
50: ; preds = %17
store i32 0, ptr %7, align 4
br label %51
51: ; preds = %81, %50
%52 = load i32, ptr %7, align 4
%53 = load i32, ptr %4, align 4
%54 = sub nsw i32 %53, 1
%55 = icmp slt i32 %52, %54
br i1 %55, label %56, label %84
56: ; preds = %51
%57 = load ptr, ptr %3, align 8
%58 = load i32, ptr %7, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i32, ptr %57, i64 %59
%61 = load i32, ptr %60, align 4
%62 = load ptr, ptr %3, align 8
%63 = load i32, ptr %7, align 4
%64 = add nsw i32 %63, 1
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i32, ptr %62, i64 %65
%67 = load i32, ptr %66, align 4
%68 = icmp sgt i32 %61, %67
br i1 %68, label %69, label %80
69: ; preds = %56
%70 = load ptr, ptr %3, align 8
%71 = load i32, ptr %7, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i32, ptr %70, i64 %72
%74 = load ptr, ptr %3, align 8
%75 = load i32, ptr %7, align 4
%76 = add nsw i32 %75, 1
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds i32, ptr %74, i64 %77
%79 = call i32 @swap(ptr noundef %73, ptr noundef %78)
br label %80
80: ; preds = %69, %56
br label %81
81: ; preds = %80
%82 = load i32, ptr %7, align 4
%83 = add nsw i32 %82, 2
store i32 %83, ptr %7, align 4
br label %51, !llvm.loop !8
84: ; preds = %51
br label %85
85: ; preds = %84
%86 = load i32, ptr %5, align 4
%87 = add nsw i32 %86, -1
store i32 %87, ptr %5, align 4
br label %10, !llvm.loop !9
88: ; preds = %10
ret void
}
declare i32 @swap(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7hw81bh0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @odd_even_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
%8 = load i32, ptr %4, align 4
%9 = sub nsw i32 %8, 1
store i32 %9, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %4, align 4
%12 = sdiv i32 %11, 2
%13 = sub nsw i32 %12, 1
%14 = icmp sgt i32 %10, %13
br i1 %14, label %.lr.ph5, label %98
.lr.ph5: ; preds = %2
br label %15
15: ; preds = %.lr.ph5, %90
store i32 1, ptr %6, align 4
%16 = load i32, ptr %6, align 4
%17 = load i32, ptr %4, align 4
%18 = sub nsw i32 %17, 1
%19 = icmp slt i32 %16, %18
br i1 %19, label %.lr.ph, label %52
.lr.ph: ; preds = %15
br label %20
20: ; preds = %.lr.ph, %45
%21 = load ptr, ptr %3, align 8
%22 = load i32, ptr %6, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i32, ptr %21, i64 %23
%25 = load i32, ptr %24, align 4
%26 = load ptr, ptr %3, align 8
%27 = load i32, ptr %6, align 4
%28 = add nsw i32 %27, 1
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i32, ptr %26, i64 %29
%31 = load i32, ptr %30, align 4
%32 = icmp sgt i32 %25, %31
br i1 %32, label %33, label %44
33: ; preds = %20
%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 ptr, ptr %3, align 8
%39 = load i32, ptr %6, align 4
%40 = add nsw i32 %39, 1
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i32, ptr %38, i64 %41
%43 = call i32 @swap(ptr noundef %37, ptr noundef %42)
br label %44
44: ; preds = %33, %20
br label %45
45: ; preds = %44
%46 = load i32, ptr %6, align 4
%47 = add nsw i32 %46, 2
store i32 %47, ptr %6, align 4
%48 = load i32, ptr %6, align 4
%49 = load i32, ptr %4, align 4
%50 = sub nsw i32 %49, 1
%51 = icmp slt i32 %48, %50
br i1 %51, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %45
br label %52
52: ; preds = %._crit_edge, %15
store i32 0, ptr %7, align 4
%53 = load i32, ptr %7, align 4
%54 = load i32, ptr %4, align 4
%55 = sub nsw i32 %54, 1
%56 = icmp slt i32 %53, %55
br i1 %56, label %.lr.ph2, label %89
.lr.ph2: ; preds = %52
br label %57
57: ; preds = %.lr.ph2, %82
%58 = load ptr, ptr %3, align 8
%59 = load i32, ptr %7, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i32, ptr %58, i64 %60
%62 = load i32, ptr %61, align 4
%63 = load ptr, ptr %3, align 8
%64 = load i32, ptr %7, align 4
%65 = add nsw i32 %64, 1
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i32, ptr %63, i64 %66
%68 = load i32, ptr %67, align 4
%69 = icmp sgt i32 %62, %68
br i1 %69, label %70, label %81
70: ; preds = %57
%71 = load ptr, ptr %3, align 8
%72 = load i32, ptr %7, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i32, ptr %71, i64 %73
%75 = load ptr, ptr %3, align 8
%76 = load i32, ptr %7, align 4
%77 = add nsw i32 %76, 1
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i32, ptr %75, i64 %78
%80 = call i32 @swap(ptr noundef %74, ptr noundef %79)
br label %81
81: ; preds = %70, %57
br label %82
82: ; preds = %81
%83 = load i32, ptr %7, align 4
%84 = add nsw i32 %83, 2
store i32 %84, ptr %7, align 4
%85 = load i32, ptr %7, align 4
%86 = load i32, ptr %4, align 4
%87 = sub nsw i32 %86, 1
%88 = icmp slt i32 %85, %87
br i1 %88, label %57, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %82
br label %89
89: ; preds = %._crit_edge3, %52
br label %90
90: ; preds = %89
%91 = load i32, ptr %5, align 4
%92 = add nsw i32 %91, -1
store i32 %92, ptr %5, align 4
%93 = load i32, ptr %5, align 4
%94 = load i32, ptr %4, align 4
%95 = sdiv i32 %94, 2
%96 = sub nsw i32 %95, 1
%97 = icmp sgt i32 %93, %96
br i1 %97, label %15, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %90
br label %98
98: ; preds = %._crit_edge6, %2
ret void
}
declare i32 @swap(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpr_fdc4jp.c'
source_filename = "/tmp/tmpr_fdc4jp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setBoth(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store i32 %0, ptr %8, align 4
store i32 %1, ptr %9, align 4
store i32 %2, ptr %10, align 4
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
store i32 %6, ptr %14, align 4
%15 = load i32, ptr %11, align 4
%16 = load i32, ptr %12, align 4
%17 = load i32, ptr %13, align 4
%18 = load i32, ptr %14, align 4
%19 = call i32 @setDate(i32 noundef %15, i32 noundef %16, i32 noundef %17, i32 noundef %18)
%20 = load i32, ptr %8, align 4
%21 = load i32, ptr %9, align 4
%22 = load i32, ptr %10, align 4
%23 = call i32 @setTime(i32 noundef %20, i32 noundef %21, i32 noundef %22)
ret void
}
declare i32 @setDate(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @setTime(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/tmpr_fdc4jp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setBoth(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store i32 %0, ptr %8, align 4
store i32 %1, ptr %9, align 4
store i32 %2, ptr %10, align 4
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
store i32 %6, ptr %14, align 4
%15 = load i32, ptr %11, align 4
%16 = load i32, ptr %12, align 4
%17 = load i32, ptr %13, align 4
%18 = load i32, ptr %14, align 4
%19 = call i32 @setDate(i32 noundef %15, i32 noundef %16, i32 noundef %17, i32 noundef %18)
%20 = load i32, ptr %8, align 4
%21 = load i32, ptr %9, align 4
%22 = load i32, ptr %10, align 4
%23 = call i32 @setTime(i32 noundef %20, i32 noundef %21, i32 noundef %22)
ret void
}
declare i32 @setDate(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @setTime(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/tmpcl7sn5_v.c'
source_filename = "/tmp/tmpcl7sn5_v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Enter an int\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"Input value is\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 @Read_int(ptr noundef @.str)
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @Print_int(ptr noundef @.str.1, i32 noundef %4)
ret i32 0
}
declare i32 @Read_int(ptr noundef) #1
declare i32 @Print_int(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/tmpcl7sn5_v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Enter an int\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"Input value is\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 @Read_int(ptr noundef @.str)
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @Print_int(ptr noundef @.str.1, i32 noundef %4)
ret i32 0
}
declare i32 @Read_int(ptr noundef) #1
declare i32 @Print_int(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/tmpj_ky1b98.c'
source_filename = "/tmp/tmpj_ky1b98.c"
target datalayout = "e-m:e-p270: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/tmpj_ky1b98.c"
target datalayout = "e-m:e-p270: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/tmpda40uxx6.c'
source_filename = "/tmp/tmpda40uxx6.c"
target datalayout = "e-m:e-p270: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/tmpda40uxx6.c"
target datalayout = "e-m:e-p270: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/tmpfzgp9x05.c'
source_filename = "/tmp/tmpfzgp9x05.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @str_dup_key_func(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call ptr @strdup(ptr noundef %3)
ret ptr %4
}
declare ptr @strdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfzgp9x05.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @str_dup_key_func(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call ptr @strdup(ptr noundef %3)
ret ptr %4
}
declare ptr @strdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpa52cv1mf.c'
source_filename = "/tmp/tmpa52cv1mf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_int_C() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @test_int_format()
%3 = icmp ne i32 %2, 0
br i1 %3, label %5, label %4
4: ; preds = %0
store i32 0, ptr %1, align 4
br label %6
5: ; preds = %0
store i32 1, ptr %1, align 4
br label %6
6: ; preds = %5, %4
%7 = load i32, ptr %1, align 4
ret i32 %7
}
declare i32 @test_int_format(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa52cv1mf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_int_C() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @test_int_format()
%3 = icmp ne i32 %2, 0
br i1 %3, label %5, label %4
4: ; preds = %0
store i32 0, ptr %1, align 4
br label %6
5: ; preds = %0
store i32 1, ptr %1, align 4
br label %6
6: ; preds = %5, %4
%7 = load i32, ptr %1, align 4
ret i32 %7
}
declare i32 @test_int_format(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9mzjg8bo.c'
source_filename = "/tmp/tmp9mzjg8bo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"\D0\9F\D1\80\D0\B8\D0\B1\D0\BB\D0\B8\D0\B6\D0\B5\D0\BD\D0\B8\D0\B5 \D0\BD\D0\B0 p = %.2f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i64 1000000, ptr %2, align 8
store double 1.000000e+04, ptr %3, align 8
%9 = load double, ptr %3, align 8
%10 = fdiv double %9, 2.000000e+00
store double %10, ptr %4, align 8
store i64 0, ptr %5, align 8
store i64 0, ptr %6, align 8
br label %11
11: ; preds = %42, %0
%12 = load i64, ptr %6, align 8
%13 = load i64, ptr %2, align 8
%14 = icmp slt i64 %12, %13
br i1 %14, label %15, label %45
15: ; preds = %11
%16 = load double, ptr %3, align 8
%17 = call double @random(double noundef %16)
%18 = load double, ptr %4, align 8
%19 = fsub double %17, %18
%20 = fadd double %19, 1.000000e+00
%21 = fptosi double %20 to i64
store i64 %21, ptr %7, align 8
%22 = load double, ptr %3, align 8
%23 = call double @random(double noundef %22)
%24 = load double, ptr %4, align 8
%25 = fsub double %23, %24
%26 = fadd double %25, 1.000000e+00
%27 = fptosi double %26 to i64
store i64 %27, ptr %8, align 8
%28 = load i64, ptr %7, align 8
%29 = load i64, ptr %7, align 8
%30 = mul nsw i64 %28, %29
%31 = load i64, ptr %8, align 8
%32 = load i64, ptr %8, align 8
%33 = mul nsw i64 %31, %32
%34 = add nsw i64 %30, %33
%35 = call double @sqrt(i64 noundef %34)
%36 = load double, ptr %4, align 8
%37 = fcmp ole double %35, %36
br i1 %37, label %38, label %41
38: ; preds = %15
%39 = load i64, ptr %5, align 8
%40 = add nsw i64 %39, 1
store i64 %40, ptr %5, align 8
br label %41
41: ; preds = %38, %15
br label %42
42: ; preds = %41
%43 = load i64, ptr %6, align 8
%44 = add nsw i64 %43, 1
store i64 %44, ptr %6, align 8
br label %11, !llvm.loop !6
45: ; preds = %11
%46 = load i64, ptr %5, align 8
%47 = sitofp i64 %46 to double
%48 = fmul double 4.000000e+00, %47
%49 = load i64, ptr %2, align 8
%50 = sitofp i64 %49 to double
%51 = fdiv double %48, %50
%52 = call i32 @printf(ptr noundef @.str, double noundef %51)
ret i32 0
}
declare double @random(double noundef) #1
declare double @sqrt(i64 noundef) #1
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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp9mzjg8bo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"\D0\9F\D1\80\D0\B8\D0\B1\D0\BB\D0\B8\D0\B6\D0\B5\D0\BD\D0\B8\D0\B5 \D0\BD\D0\B0 p = %.2f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i64 1000000, ptr %2, align 8
store double 1.000000e+04, ptr %3, align 8
%9 = load double, ptr %3, align 8
%10 = fdiv double %9, 2.000000e+00
store double %10, ptr %4, align 8
store i64 0, ptr %5, align 8
store i64 0, ptr %6, align 8
%11 = load i64, ptr %6, align 8
%12 = load i64, ptr %2, align 8
%13 = icmp slt i64 %11, %12
br i1 %13, label %.lr.ph, label %47
.lr.ph: ; preds = %0
br label %14
14: ; preds = %.lr.ph, %41
%15 = load double, ptr %3, align 8
%16 = call double @random(double noundef %15)
%17 = load double, ptr %4, align 8
%18 = fsub double %16, %17
%19 = fadd double %18, 1.000000e+00
%20 = fptosi double %19 to i64
store i64 %20, ptr %7, align 8
%21 = load double, ptr %3, align 8
%22 = call double @random(double noundef %21)
%23 = load double, ptr %4, align 8
%24 = fsub double %22, %23
%25 = fadd double %24, 1.000000e+00
%26 = fptosi double %25 to i64
store i64 %26, ptr %8, align 8
%27 = load i64, ptr %7, align 8
%28 = load i64, ptr %7, align 8
%29 = mul nsw i64 %27, %28
%30 = load i64, ptr %8, align 8
%31 = load i64, ptr %8, align 8
%32 = mul nsw i64 %30, %31
%33 = add nsw i64 %29, %32
%34 = call double @sqrt(i64 noundef %33)
%35 = load double, ptr %4, align 8
%36 = fcmp ole double %34, %35
br i1 %36, label %37, label %40
37: ; preds = %14
%38 = load i64, ptr %5, align 8
%39 = add nsw i64 %38, 1
store i64 %39, ptr %5, align 8
br label %40
40: ; preds = %37, %14
br label %41
41: ; preds = %40
%42 = load i64, ptr %6, align 8
%43 = add nsw i64 %42, 1
store i64 %43, ptr %6, align 8
%44 = load i64, ptr %6, align 8
%45 = load i64, ptr %2, align 8
%46 = icmp slt i64 %44, %45
br i1 %46, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %41
br label %47
47: ; preds = %._crit_edge, %0
%48 = load i64, ptr %5, align 8
%49 = sitofp i64 %48 to double
%50 = fmul double 4.000000e+00, %49
%51 = load i64, ptr %2, align 8
%52 = sitofp i64 %51 to double
%53 = fdiv double %50, %52
%54 = call i32 @printf(ptr noundef @.str, double noundef %53)
ret i32 0
}
declare double @random(double noundef) #1
declare double @sqrt(i64 noundef) #1
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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp1445a9xu.c'
source_filename = "/tmp/tmp1445a9xu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @haversineDistance(float noundef %0, float noundef %1, float noundef %2, float noundef %3) #0 {
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
store float %0, ptr %5, align 4
store float %1, ptr %6, align 4
store float %2, ptr %7, align 4
store float %3, ptr %8, align 4
%12 = load float, ptr %8, align 4
%13 = load float, ptr %6, align 4
%14 = fsub float %13, %12
store float %14, ptr %6, align 4
%15 = load float, ptr %6, align 4
%16 = fpext float %15 to double
%17 = fmul double %16, 0x3F91DF46A252DD11
%18 = fptrunc double %17 to float
store float %18, ptr %6, align 4
%19 = load float, ptr %5, align 4
%20 = fpext float %19 to double
%21 = fmul double %20, 0x3F91DF46A252DD11
%22 = fptrunc double %21 to float
store float %22, ptr %5, align 4
%23 = load float, ptr %7, align 4
%24 = fpext float %23 to double
%25 = fmul double %24, 0x3F91DF46A252DD11
%26 = fptrunc double %25 to float
store float %26, ptr %7, align 4
%27 = load float, ptr %5, align 4
%28 = call float @sin(float noundef %27)
%29 = load float, ptr %7, align 4
%30 = call float @sin(float noundef %29)
%31 = fsub float %28, %30
store float %31, ptr %11, align 4
%32 = load float, ptr %6, align 4
%33 = call float @cos(float noundef %32)
%34 = load float, ptr %5, align 4
%35 = call float @cos(float noundef %34)
%36 = load float, ptr %7, align 4
%37 = call float @cos(float noundef %36)
%38 = fneg float %37
%39 = call float @llvm.fmuladd.f32(float %33, float %35, float %38)
store float %39, ptr %9, align 4
%40 = load float, ptr %6, align 4
%41 = call float @sin(float noundef %40)
%42 = load float, ptr %5, align 4
%43 = call float @cos(float noundef %42)
%44 = fmul float %41, %43
store float %44, ptr %10, align 4
%45 = load float, ptr %9, align 4
%46 = load float, ptr %9, align 4
%47 = load float, ptr %10, align 4
%48 = load float, ptr %10, align 4
%49 = fmul float %47, %48
%50 = call float @llvm.fmuladd.f32(float %45, float %46, float %49)
%51 = load float, ptr %11, align 4
%52 = load float, ptr %11, align 4
%53 = call float @llvm.fmuladd.f32(float %51, float %52, float %50)
%54 = call i32 @sqrt(float noundef %53)
%55 = sdiv i32 %54, 2
%56 = call i32 @asin(i32 noundef %55)
%57 = mul nsw i32 %56, 2
%58 = mul nsw i32 %57, 6371
%59 = sext i32 %58 to i64
ret i64 %59
}
declare float @sin(float noundef) #1
declare float @cos(float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare i32 @asin(i32 noundef) #1
declare i32 @sqrt(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1445a9xu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @haversineDistance(float noundef %0, float noundef %1, float noundef %2, float noundef %3) #0 {
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
store float %0, ptr %5, align 4
store float %1, ptr %6, align 4
store float %2, ptr %7, align 4
store float %3, ptr %8, align 4
%12 = load float, ptr %8, align 4
%13 = load float, ptr %6, align 4
%14 = fsub float %13, %12
store float %14, ptr %6, align 4
%15 = load float, ptr %6, align 4
%16 = fpext float %15 to double
%17 = fmul double %16, 0x3F91DF46A252DD11
%18 = fptrunc double %17 to float
store float %18, ptr %6, align 4
%19 = load float, ptr %5, align 4
%20 = fpext float %19 to double
%21 = fmul double %20, 0x3F91DF46A252DD11
%22 = fptrunc double %21 to float
store float %22, ptr %5, align 4
%23 = load float, ptr %7, align 4
%24 = fpext float %23 to double
%25 = fmul double %24, 0x3F91DF46A252DD11
%26 = fptrunc double %25 to float
store float %26, ptr %7, align 4
%27 = load float, ptr %5, align 4
%28 = call float @sin(float noundef %27)
%29 = load float, ptr %7, align 4
%30 = call float @sin(float noundef %29)
%31 = fsub float %28, %30
store float %31, ptr %11, align 4
%32 = load float, ptr %6, align 4
%33 = call float @cos(float noundef %32)
%34 = load float, ptr %5, align 4
%35 = call float @cos(float noundef %34)
%36 = load float, ptr %7, align 4
%37 = call float @cos(float noundef %36)
%38 = fneg float %37
%39 = call float @llvm.fmuladd.f32(float %33, float %35, float %38)
store float %39, ptr %9, align 4
%40 = load float, ptr %6, align 4
%41 = call float @sin(float noundef %40)
%42 = load float, ptr %5, align 4
%43 = call float @cos(float noundef %42)
%44 = fmul float %41, %43
store float %44, ptr %10, align 4
%45 = load float, ptr %9, align 4
%46 = load float, ptr %9, align 4
%47 = load float, ptr %10, align 4
%48 = load float, ptr %10, align 4
%49 = fmul float %47, %48
%50 = call float @llvm.fmuladd.f32(float %45, float %46, float %49)
%51 = load float, ptr %11, align 4
%52 = load float, ptr %11, align 4
%53 = call float @llvm.fmuladd.f32(float %51, float %52, float %50)
%54 = call i32 @sqrt(float noundef %53)
%55 = sdiv i32 %54, 2
%56 = call i32 @asin(i32 noundef %55)
%57 = mul nsw i32 %56, 2
%58 = mul nsw i32 %57, 6371
%59 = sext i32 %58 to i64
ret i64 %59
}
declare float @sin(float noundef) #1
declare float @cos(float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare i32 @asin(i32 noundef) #1
declare i32 @sqrt(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_bvtfbe8.c'
source_filename = "/tmp/tmp_bvtfbe8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [58 x i8] c"a(before): %i, b(before): %i, a(after): %i, b(after): %i\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"CORRECT\0A\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"FAKE AND GAY\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
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
%6 = load i32, ptr %2, align 4
store i32 %6, ptr %4, align 4
store i32 3, ptr %3, align 4
%7 = load i32, ptr %3, align 4
store i32 %7, ptr %5, align 4
%8 = call i32 @ft_ultimate_div_mod(ptr noundef %2, ptr noundef %3)
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12)
%14 = load i32, ptr %4, align 4
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %2, align 4
%17 = mul nsw i32 %15, %16
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %17, %18
%20 = icmp eq i32 %14, %19
br i1 %20, label %21, label %23
21: ; preds = %0
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %25
23: ; preds = %0
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %25
25: ; preds = %23, %21
ret i32 0
}
declare i32 @ft_ultimate_div_mod(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_bvtfbe8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [58 x i8] c"a(before): %i, b(before): %i, a(after): %i, b(after): %i\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"CORRECT\0A\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"FAKE AND GAY\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
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
%6 = load i32, ptr %2, align 4
store i32 %6, ptr %4, align 4
store i32 3, ptr %3, align 4
%7 = load i32, ptr %3, align 4
store i32 %7, ptr %5, align 4
%8 = call i32 @ft_ultimate_div_mod(ptr noundef %2, ptr noundef %3)
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12)
%14 = load i32, ptr %4, align 4
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %2, align 4
%17 = mul nsw i32 %15, %16
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %17, %18
%20 = icmp eq i32 %14, %19
br i1 %20, label %21, label %23
21: ; preds = %0
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %25
23: ; preds = %0
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %25
25: ; preds = %23, %21
ret i32 0
}
declare i32 @ft_ultimate_div_mod(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphwfrfq8x.c'
source_filename = "/tmp/tmphwfrfq8x.c"
target datalayout = "e-m:e-p270: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/tmphwfrfq8x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0_51w072.c'
source_filename = "/tmp/tmp0_51w072.c"
target datalayout = "e-m:e-p270: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/tmp0_51w072.c"
target datalayout = "e-m:e-p270: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/tmp40kibgeq.c'
source_filename = "/tmp/tmp40kibgeq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@backLightFlash.delayCnt = internal global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @backLightFlash(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load i32, ptr @backLightFlash.delayCnt, align 4
%8 = icmp eq i32 %7, 10
br i1 %8, label %9, label %22
9: ; preds = %3
%10 = call i32 (...) @rand()
%11 = and i32 255, %10
%12 = trunc i32 %11 to i8
%13 = load ptr, ptr %4, align 8
store i8 %12, ptr %13, align 1
%14 = call i32 (...) @rand()
%15 = and i32 255, %14
%16 = trunc i32 %15 to i8
%17 = load ptr, ptr %5, align 8
store i8 %16, ptr %17, align 1
%18 = call i32 (...) @rand()
%19 = and i32 255, %18
%20 = trunc i32 %19 to i8
%21 = load ptr, ptr %6, align 8
store i8 %20, ptr %21, align 1
store i32 0, ptr @backLightFlash.delayCnt, align 4
br label %25
22: ; preds = %3
%23 = load i32, ptr @backLightFlash.delayCnt, align 4
%24 = add i32 %23, 1
store i32 %24, ptr @backLightFlash.delayCnt, align 4
br label %25
25: ; preds = %22, %9
ret void
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp40kibgeq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@backLightFlash.delayCnt = internal global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @backLightFlash(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load i32, ptr @backLightFlash.delayCnt, align 4
%8 = icmp eq i32 %7, 10
br i1 %8, label %9, label %22
9: ; preds = %3
%10 = call i32 (...) @rand()
%11 = and i32 255, %10
%12 = trunc i32 %11 to i8
%13 = load ptr, ptr %4, align 8
store i8 %12, ptr %13, align 1
%14 = call i32 (...) @rand()
%15 = and i32 255, %14
%16 = trunc i32 %15 to i8
%17 = load ptr, ptr %5, align 8
store i8 %16, ptr %17, align 1
%18 = call i32 (...) @rand()
%19 = and i32 255, %18
%20 = trunc i32 %19 to i8
%21 = load ptr, ptr %6, align 8
store i8 %20, ptr %21, align 1
store i32 0, ptr @backLightFlash.delayCnt, align 4
br label %25
22: ; preds = %3
%23 = load i32, ptr @backLightFlash.delayCnt, align 4
%24 = add i32 %23, 1
store i32 %24, ptr @backLightFlash.delayCnt, align 4
br label %25
25: ; preds = %22, %9
ret void
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2h08zn4i.c'
source_filename = "/tmp/tmp2h08zn4i.c"
target datalayout = "e-m:e-p270: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/tmp2h08zn4i.c"
target datalayout = "e-m:e-p270: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/tmpci2h8wbj.c'
source_filename = "/tmp/tmpci2h8wbj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bnode_is_red(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = and i64 %3, 1
%5 = xor i64 %4, 0
%6 = trunc i64 %5 to i32
ret i32 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpci2h8wbj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bnode_is_red(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = and i64 %3, 1
%5 = xor i64 %4, 0
%6 = trunc i64 %5 to i32
ret i32 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.