llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp9gf5v_ly.c' source_filename = "/tmp/tmp9gf5v_ly.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"a = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"b = %d\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 24, ptr %6, align 4 store i32 -24, ptr %7, align 4 %8 = load i32, ptr %6, align 4 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) %10 = load i32, ptr %7, align 4 %11 = call i32 @printf(ptr noundef @.str.1, i32 noundef %10) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9gf5v_ly.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"a = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"b = %d\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 24, ptr %6, align 4 store i32 -24, ptr %7, align 4 %8 = load i32, ptr %6, align 4 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) %10 = load i32, ptr %7, align 4 %11 = call i32 @printf(ptr noundef @.str.1, i32 noundef %10) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpazdt0_2x.c' source_filename = "/tmp/tmpazdt0_2x.c" target datalayout = "e-m:e-p270: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_14__ = type { i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @reconstruct_last_missing_uv_sse2(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca %struct.TYPE_14__, align 4 %6 = alloca %struct.TYPE_14__, align 4 %7 = alloca %struct.TYPE_14__, align 4 %8 = alloca %struct.TYPE_14__, align 4 %9 = alloca %struct.TYPE_14__, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 call void @llvm.memset.p0.i64(ptr align 4 %5, i8 0, i64 8, i1 false) %10 = load ptr, ptr %3, align 8 %11 = load i64, ptr %10, align 4 %12 = call i64 @_mm_srli_si128(i64 %11, i32 noundef 4) store i64 %12, ptr %6, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 4 %6, i64 8, i1 false) %13 = load i64, ptr %5, align 4 %14 = call i64 @_mm_shufflehi_epi16(i64 %13, i32 noundef 68) store i64 %14, ptr %7, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 4 %7, i64 8, i1 false) %15 = load i64, ptr %5, align 4 %16 = load i64, ptr %5, align 4 %17 = call i64 @_mm_or_si128(i64 %15, i64 %16) store i64 %17, ptr %8, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 4 %8, i64 8, i1 false) %18 = load ptr, ptr %4, align 8 %19 = load ptr, ptr %3, align 8 %20 = load i64, ptr %19, align 4 %21 = load i64, ptr %5, align 4 %22 = call i64 @_mm_avg_epu16(i64 %20, i64 %21) store i64 %22, ptr %9, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 4 %9, i64 8, i1 false) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i64 @_mm_srli_si128(i64, i32 noundef) #2 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3 declare i64 @_mm_shufflehi_epi16(i64, i32 noundef) #2 declare i64 @_mm_or_si128(i64, i64) #2 declare i64 @_mm_avg_epu16(i64, i64) #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" } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpazdt0_2x.c" target datalayout = "e-m:e-p270: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_14__ = type { i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @reconstruct_last_missing_uv_sse2(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca %struct.TYPE_14__, align 4 %6 = alloca %struct.TYPE_14__, align 4 %7 = alloca %struct.TYPE_14__, align 4 %8 = alloca %struct.TYPE_14__, align 4 %9 = alloca %struct.TYPE_14__, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 call void @llvm.memset.p0.i64(ptr align 4 %5, i8 0, i64 8, i1 false) %10 = load ptr, ptr %3, align 8 %11 = load i64, ptr %10, align 4 %12 = call i64 @_mm_srli_si128(i64 %11, i32 noundef 4) store i64 %12, ptr %6, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 4 %6, i64 8, i1 false) %13 = load i64, ptr %5, align 4 %14 = call i64 @_mm_shufflehi_epi16(i64 %13, i32 noundef 68) store i64 %14, ptr %7, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 4 %7, i64 8, i1 false) %15 = load i64, ptr %5, align 4 %16 = load i64, ptr %5, align 4 %17 = call i64 @_mm_or_si128(i64 %15, i64 %16) store i64 %17, ptr %8, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 4 %8, i64 8, i1 false) %18 = load ptr, ptr %4, align 8 %19 = load ptr, ptr %3, align 8 %20 = load i64, ptr %19, align 4 %21 = load i64, ptr %5, align 4 %22 = call i64 @_mm_avg_epu16(i64 %20, i64 %21) store i64 %22, ptr %9, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 4 %9, i64 8, i1 false) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i64 @_mm_srli_si128(i64, i32 noundef) #2 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3 declare i64 @_mm_shufflehi_epi16(i64, i32 noundef) #2 declare i64 @_mm_or_si128(i64, i64) #2 declare i64 @_mm_avg_epu16(i64, i64) #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" } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8zybhmi8.c' source_filename = "/tmp/tmp8zybhmi8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"*RST\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @inst_488_2_rst(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 @inst_wrtstr(ptr noundef %5, ptr noundef @.str) %7 = load i32, ptr %4, align 4 %8 = call i32 @sleep(i32 noundef %7) ret void } declare i32 @inst_wrtstr(ptr noundef, ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8zybhmi8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"*RST\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @inst_488_2_rst(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 @inst_wrtstr(ptr noundef %5, ptr noundef @.str) %7 = load i32, ptr %4, align 4 %8 = call i32 @sleep(i32 noundef %7) ret void } declare i32 @inst_wrtstr(ptr noundef, ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwiwytscc.c' source_filename = "/tmp/tmpwiwytscc.c" target datalayout = "e-m:e-p270: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 [39 x i8] c"Usage: test_rename source destination\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwiwytscc.c" target datalayout = "e-m:e-p270: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 [39 x i8] c"Usage: test_rename source destination\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmposx_4mql.c' source_filename = "/tmp/tmposx_4mql.c" target datalayout = "e-m:e-p270: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/tmposx_4mql.c" target datalayout = "e-m:e-p270: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/tmp3i05yd6b.c' source_filename = "/tmp/tmp3i05yd6b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3i05yd6b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 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"}
; ModuleID = '/tmp/tmpf2sa87jm.c' source_filename = "/tmp/tmpf2sa87jm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @I2CMasterBurstCountGet(i64 noundef %0) #0 { %2 = alloca i64, align 8 store volatile i64 %0, ptr %2, align 8 %3 = load volatile i64, ptr %2, align 8 %4 = add i64 %3, 52 %5 = inttoptr i64 %4 to ptr %6 = load volatile i64, ptr %5, align 8 ret i64 %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/tmpf2sa87jm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @I2CMasterBurstCountGet(i64 noundef %0) #0 { %2 = alloca i64, align 8 store volatile i64 %0, ptr %2, align 8 %3 = load volatile i64, ptr %2, align 8 %4 = add i64 %3, 52 %5 = inttoptr i64 %4 to ptr %6 = load volatile i64, ptr %5, align 8 ret i64 %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/tmprqlev78r.c' source_filename = "/tmp/tmprqlev78r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PEM_F_LOAD_IV = dso_local global i32 0, align 4 @PEM_R_BAD_IV_CHARS = 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/tmprqlev78r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PEM_F_LOAD_IV = dso_local global i32 0, align 4 @PEM_R_BAD_IV_CHARS = 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/tmpwhre3aoa.c' source_filename = "/tmp/tmpwhre3aoa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @openNetHandle() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = load i32, ptr @AF_INET, align 4 %4 = load i32, ptr @SOCK_DGRAM, align 4 %5 = call i32 @socket(i32 noundef %3, i32 noundef %4, i32 noundef 0) store i32 %5, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp sge i32 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %0 %9 = load i32, ptr %2, align 4 store i32 %9, ptr %1, align 4 br label %11 10: ; preds = %0 store i32 -1, ptr %1, align 4 br label %11 11: ; preds = %10, %8 %12 = load i32, ptr %1, align 4 ret i32 %12 } declare i32 @socket(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/tmpwhre3aoa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @openNetHandle() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = load i32, ptr @AF_INET, align 4 %4 = load i32, ptr @SOCK_DGRAM, align 4 %5 = call i32 @socket(i32 noundef %3, i32 noundef %4, i32 noundef 0) store i32 %5, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp sge i32 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %0 %9 = load i32, ptr %2, align 4 store i32 %9, ptr %1, align 4 br label %11 10: ; preds = %0 store i32 -1, ptr %1, align 4 br label %11 11: ; preds = %10, %8 %12 = load i32, ptr %1, align 4 ret i32 %12 } declare i32 @socket(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/tmpqsqm8s2w.c' source_filename = "/tmp/tmpqsqm8s2w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"auxP: %d \00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"auxS: %d \00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"\0Aj: %d\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @troca_diagonais(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %7 7: ; preds = %70, %1 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %8, 4 br i1 %9, label %10, label %73 10: ; preds = %7 store i32 0, ptr %4, align 4 br label %11 11: ; preds = %65, %10 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %12, 4 br i1 %13, label %14, label %68 14: ; preds = %11 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp eq i32 %15, %16 br i1 %17, label %18, label %29 18: ; preds = %14 %19 = load ptr, ptr %2, align 8 %20 = load i32, ptr %3, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [4 x i32], ptr %19, i64 %21 %23 = load i32, ptr %4, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [4 x i32], ptr %22, i64 0, i64 %24 %26 = load i32, ptr %25, align 4 store i32 %26, ptr %5, align 4 %27 = load i32, ptr %5, align 4 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %27) br label %62 29: ; preds = %14 %30 = load i32, ptr %3, align 4 %31 = load i32, ptr %4, align 4 %32 = add nsw i32 %30, %31 %33 = icmp eq i32 %32, 3 br i1 %33, label %34, label %61 34: ; preds = %29 %35 = load ptr, ptr %2, align 8 %36 = load i32, ptr %3, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [4 x i32], ptr %35, i64 %37 %39 = load i32, ptr %4, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [4 x i32], ptr %38, i64 0, i64 %40 %42 = load i32, ptr %41, align 4 store i32 %42, ptr %6, align 4 %43 = load i32, ptr %6, align 4 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %43) %45 = load i32, ptr %6, align 4 %46 = load ptr, ptr %2, align 8 %47 = load i32, ptr %3, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds [4 x i32], ptr %46, i64 %48 %50 = load i32, ptr %3, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds [4 x i32], ptr %49, i64 0, i64 %51 store i32 %45, ptr %52, align 4 %53 = load i32, ptr %5, align 4 %54 = load ptr, ptr %2, align 8 %55 = load i32, ptr %3, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [4 x i32], ptr %54, i64 %56 %58 = load i32, ptr %4, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [4 x i32], ptr %57, i64 0, i64 %59 store i32 %53, ptr %60, align 4 br label %61 61: ; preds = %34, %29 br label %62 62: ; preds = %61, %18 %63 = load i32, ptr %4, align 4 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %63) br label %65 65: ; preds = %62 %66 = load i32, ptr %4, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %4, align 4 br label %11, !llvm.loop !6 68: ; preds = %11 %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %70 70: ; preds = %68 %71 = load i32, ptr %3, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %3, align 4 br label %7, !llvm.loop !8 73: ; preds = %7 %74 = load ptr, ptr %2, align 8 %75 = call i32 @mostrar_mat(ptr noundef %74) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @mostrar_mat(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpqsqm8s2w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"auxP: %d \00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"auxS: %d \00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"\0Aj: %d\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @troca_diagonais(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %7, 4 br i1 %8, label %.lr.ph2, label %75 .lr.ph2: ; preds = %1 br label %9 9: ; preds = %.lr.ph2, %70 store i32 0, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 4 br i1 %11, label %.lr.ph, label %68 .lr.ph: ; preds = %9 br label %12 12: ; preds = %.lr.ph, %63 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp eq i32 %13, %14 br i1 %15, label %16, label %27 16: ; preds = %12 %17 = load ptr, ptr %2, align 8 %18 = load i32, ptr %3, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [4 x i32], ptr %17, i64 %19 %21 = load i32, ptr %4, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [4 x i32], ptr %20, i64 0, i64 %22 %24 = load i32, ptr %23, align 4 store i32 %24, ptr %5, align 4 %25 = load i32, ptr %5, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %25) br label %60 27: ; preds = %12 %28 = load i32, ptr %3, align 4 %29 = load i32, ptr %4, align 4 %30 = add nsw i32 %28, %29 %31 = icmp eq i32 %30, 3 br i1 %31, label %32, label %59 32: ; preds = %27 %33 = load ptr, ptr %2, align 8 %34 = load i32, ptr %3, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [4 x i32], ptr %33, i64 %35 %37 = load i32, ptr %4, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [4 x i32], ptr %36, i64 0, i64 %38 %40 = load i32, ptr %39, align 4 store i32 %40, ptr %6, align 4 %41 = load i32, ptr %6, align 4 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %41) %43 = load i32, ptr %6, align 4 %44 = load ptr, ptr %2, align 8 %45 = load i32, ptr %3, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds [4 x i32], ptr %44, i64 %46 %48 = load i32, ptr %3, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [4 x i32], ptr %47, i64 0, i64 %49 store i32 %43, ptr %50, align 4 %51 = load i32, ptr %5, align 4 %52 = load ptr, ptr %2, align 8 %53 = load i32, ptr %3, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [4 x i32], ptr %52, i64 %54 %56 = load i32, ptr %4, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [4 x i32], ptr %55, i64 0, i64 %57 store i32 %51, ptr %58, align 4 br label %59 59: ; preds = %32, %27 br label %60 60: ; preds = %59, %16 %61 = load i32, ptr %4, align 4 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %61) br label %63 63: ; preds = %60 %64 = load i32, ptr %4, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %4, align 4 %66 = load i32, ptr %4, align 4 %67 = icmp slt i32 %66, 4 br i1 %67, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %63 br label %68 68: ; preds = %._crit_edge, %9 %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %70 70: ; preds = %68 %71 = load i32, ptr %3, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %3, align 4 %73 = load i32, ptr %3, align 4 %74 = icmp slt i32 %73, 4 br i1 %74, label %9, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %70 br label %75 75: ; preds = %._crit_edge3, %1 %76 = load ptr, ptr %2, align 8 %77 = call i32 @mostrar_mat(ptr noundef %76) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @mostrar_mat(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpp7thrfal.c' source_filename = "/tmp/tmpp7thrfal.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @string_trim(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i64 @strlen(ptr noundef %4) store i64 %5, ptr %3, align 8 br label %6 6: ; preds = %19, %1 %7 = load i64, ptr %3, align 8 %8 = icmp ugt i64 %7, 0 br i1 %8, label %9, label %17 9: ; preds = %6 %10 = load ptr, ptr %2, align 8 %11 = load i64, ptr %3, align 8 %12 = getelementptr inbounds i8, ptr %10, i64 %11 %13 = getelementptr inbounds i8, ptr %12, i64 -1 %14 = load i8, ptr %13, align 1 %15 = call i64 @isspace(i8 noundef signext %14) %16 = icmp ne i64 %15, 0 br label %17 17: ; preds = %9, %6 %18 = phi i1 [ false, %6 ], [ %16, %9 ] br i1 %18, label %19, label %22 19: ; preds = %17 %20 = load i64, ptr %3, align 8 %21 = add i64 %20, -1 store i64 %21, ptr %3, align 8 br label %6, !llvm.loop !6 22: ; preds = %17 %23 = load ptr, ptr %2, align 8 %24 = load i64, ptr %3, align 8 %25 = getelementptr inbounds i8, ptr %23, i64 %24 store i8 0, ptr %25, align 1 br label %26 26: ; preds = %31, %22 %27 = load ptr, ptr %2, align 8 %28 = load i8, ptr %27, align 1 %29 = call i64 @isspace(i8 noundef signext %28) %30 = icmp ne i64 %29, 0 br i1 %30, label %31, label %34 31: ; preds = %26 %32 = load ptr, ptr %2, align 8 %33 = getelementptr inbounds i8, ptr %32, i32 1 store ptr %33, ptr %2, align 8 br label %26, !llvm.loop !8 34: ; preds = %26 %35 = load ptr, ptr %2, align 8 ret ptr %35 } declare i64 @strlen(ptr noundef) #1 declare i64 @isspace(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp7thrfal.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @string_trim(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i64 @strlen(ptr noundef %4) store i64 %5, ptr %3, align 8 br label %6 6: ; preds = %19, %1 %7 = load i64, ptr %3, align 8 %8 = icmp ugt i64 %7, 0 br i1 %8, label %9, label %17 9: ; preds = %6 %10 = load ptr, ptr %2, align 8 %11 = load i64, ptr %3, align 8 %12 = getelementptr inbounds i8, ptr %10, i64 %11 %13 = getelementptr inbounds i8, ptr %12, i64 -1 %14 = load i8, ptr %13, align 1 %15 = call i64 @isspace(i8 noundef signext %14) %16 = icmp ne i64 %15, 0 br label %17 17: ; preds = %9, %6 %18 = phi i1 [ false, %6 ], [ %16, %9 ] br i1 %18, label %19, label %22 19: ; preds = %17 %20 = load i64, ptr %3, align 8 %21 = add i64 %20, -1 store i64 %21, ptr %3, align 8 br label %6, !llvm.loop !6 22: ; preds = %17 %23 = load ptr, ptr %2, align 8 %24 = load i64, ptr %3, align 8 %25 = getelementptr inbounds i8, ptr %23, i64 %24 store i8 0, ptr %25, align 1 %26 = load ptr, ptr %2, align 8 %27 = load i8, ptr %26, align 1 %28 = call i64 @isspace(i8 noundef signext %27) %29 = icmp ne i64 %28, 0 br i1 %29, label %.lr.ph, label %37 .lr.ph: ; preds = %22 br label %30 30: ; preds = %.lr.ph, %30 %31 = load ptr, ptr %2, align 8 %32 = getelementptr inbounds i8, ptr %31, i32 1 store ptr %32, ptr %2, align 8 %33 = load ptr, ptr %2, align 8 %34 = load i8, ptr %33, align 1 %35 = call i64 @isspace(i8 noundef signext %34) %36 = icmp ne i64 %35, 0 br i1 %36, label %30, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %30 br label %37 37: ; preds = %._crit_edge, %22 %38 = load ptr, ptr %2, align 8 ret ptr %38 } declare i64 @strlen(ptr noundef) #1 declare i64 @isspace(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp2enw6m21.c' source_filename = "/tmp/tmp2enw6m21.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"%s\09%d\09%d\09%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @out(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %9 = load ptr, ptr %5, align 8 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %7, align 4 %12 = load ptr, ptr %8, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %16 14: ; preds = %4 %15 = load ptr, ptr %8, align 8 br label %17 16: ; preds = %4 br label %17 17: ; preds = %16, %14 %18 = phi ptr [ %15, %14 ], [ @.str.1, %16 ] %19 = call i32 @printf(ptr noundef @.str, ptr noundef %9, i32 noundef %10, i32 noundef %11, ptr noundef %18) ret void } declare i32 @printf(ptr noundef, 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/tmp2enw6m21.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"%s\09%d\09%d\09%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @out(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %9 = load ptr, ptr %5, align 8 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %7, align 4 %12 = load ptr, ptr %8, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %16 14: ; preds = %4 %15 = load ptr, ptr %8, align 8 br label %17 16: ; preds = %4 br label %17 17: ; preds = %16, %14 %18 = phi ptr [ %15, %14 ], [ @.str.1, %16 ] %19 = call i32 @printf(ptr noundef @.str, ptr noundef %9, i32 noundef %10, i32 noundef %11, ptr noundef %18) ret void } declare i32 @printf(ptr noundef, 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/tmp3az5k01g.c' source_filename = "/tmp/tmp3az5k01g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @U_WMR96_swap(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 = load i32, ptr %4, align 4 %7 = call i32 @U_WMRNOTIMPLEMENTED_swap(ptr noundef %5, i32 noundef %6) ret void } declare i32 @U_WMRNOTIMPLEMENTED_swap(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/tmp3az5k01g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @U_WMR96_swap(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 = load i32, ptr %4, align 4 %7 = call i32 @U_WMRNOTIMPLEMENTED_swap(ptr noundef %5, i32 noundef %6) ret void } declare i32 @U_WMRNOTIMPLEMENTED_swap(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/tmpdgwe5o5l.c' source_filename = "/tmp/tmpdgwe5o5l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PATH_MAX = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c".LOCK\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @unlockfile(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %7 = load i32, ptr @PATH_MAX, align 4 %8 = add nsw i32 %7, 5 %9 = zext i32 %8 to i64 %10 = call ptr @llvm.stacksave() store ptr %10, ptr %4, align 8 %11 = alloca i8, i64 %9, align 16 store i64 %9, ptr %5, align 8 %12 = load ptr, ptr %3, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %15, label %14 14: ; preds = %1 store i32 0, ptr %2, align 4 store i32 1, ptr %6, align 4 br label %30 15: ; preds = %1 %16 = load ptr, ptr %3, align 8 %17 = call i32 @strlen(ptr noundef %16) %18 = add nsw i32 %17, 5 %19 = sext i32 %18 to i64 %20 = icmp uge i64 %19, %9 br i1 %20, label %21, label %22 21: ; preds = %15 store i32 0, ptr %2, align 4 store i32 1, ptr %6, align 4 br label %30 22: ; preds = %15 %23 = load ptr, ptr %3, align 8 %24 = call i32 @strcpy(ptr noundef %11, ptr noundef %23) %25 = call i32 @strcat(ptr noundef %11, ptr noundef @.str) %26 = call i64 @unlink(ptr noundef %11) %27 = icmp ne i64 %26, 0 br i1 %27, label %28, label %29 28: ; preds = %22 store i32 0, ptr %2, align 4 store i32 1, ptr %6, align 4 br label %30 29: ; preds = %22 store i32 1, ptr %2, align 4 store i32 1, ptr %6, align 4 br label %30 30: ; preds = %29, %28, %21, %14 %31 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %31) %32 = load i32, ptr %2, align 4 ret i32 %32 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @strlen(ptr noundef) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #2 declare i32 @strcat(ptr noundef, ptr noundef) #2 declare i64 @unlink(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdgwe5o5l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PATH_MAX = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c".LOCK\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @unlockfile(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %7 = load i32, ptr @PATH_MAX, align 4 %8 = add nsw i32 %7, 5 %9 = zext i32 %8 to i64 %10 = call ptr @llvm.stacksave() store ptr %10, ptr %4, align 8 %11 = alloca i8, i64 %9, align 16 store i64 %9, ptr %5, align 8 %12 = load ptr, ptr %3, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %15, label %14 14: ; preds = %1 store i32 0, ptr %2, align 4 store i32 1, ptr %6, align 4 br label %30 15: ; preds = %1 %16 = load ptr, ptr %3, align 8 %17 = call i32 @strlen(ptr noundef %16) %18 = add nsw i32 %17, 5 %19 = sext i32 %18 to i64 %20 = icmp uge i64 %19, %9 br i1 %20, label %21, label %22 21: ; preds = %15 store i32 0, ptr %2, align 4 store i32 1, ptr %6, align 4 br label %30 22: ; preds = %15 %23 = load ptr, ptr %3, align 8 %24 = call i32 @strcpy(ptr noundef %11, ptr noundef %23) %25 = call i32 @strcat(ptr noundef %11, ptr noundef @.str) %26 = call i64 @unlink(ptr noundef %11) %27 = icmp ne i64 %26, 0 br i1 %27, label %28, label %29 28: ; preds = %22 store i32 0, ptr %2, align 4 store i32 1, ptr %6, align 4 br label %30 29: ; preds = %22 store i32 1, ptr %2, align 4 store i32 1, ptr %6, align 4 br label %30 30: ; preds = %29, %28, %21, %14 %31 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %31) %32 = load i32, ptr %2, align 4 ret i32 %32 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @strlen(ptr noundef) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #2 declare i32 @strcat(ptr noundef, ptr noundef) #2 declare i64 @unlink(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpq_5e97pc.c' source_filename = "/tmp/tmpq_5e97pc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mon_pcictrl(i32 noundef %0, i32 noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i64 %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 %10 = call i32 (...) @monLock() %11 = load i32, ptr %5, align 4 %12 = load i32, ptr %6, align 4 %13 = load i64, ptr %7, align 8 %14 = load i64, ptr %8, align 8 %15 = call i64 @_pcictrl(i32 noundef %11, i32 noundef %12, i64 noundef %13, i64 noundef %14) store i64 %15, ptr %9, align 8 %16 = call i32 (...) @monUnlock() %17 = load i64, ptr %9, align 8 ret i64 %17 } declare i32 @monLock(...) #1 declare i64 @_pcictrl(i32 noundef, i32 noundef, i64 noundef, i64 noundef) #1 declare i32 @monUnlock(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq_5e97pc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mon_pcictrl(i32 noundef %0, i32 noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i64 %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 %10 = call i32 (...) @monLock() %11 = load i32, ptr %5, align 4 %12 = load i32, ptr %6, align 4 %13 = load i64, ptr %7, align 8 %14 = load i64, ptr %8, align 8 %15 = call i64 @_pcictrl(i32 noundef %11, i32 noundef %12, i64 noundef %13, i64 noundef %14) store i64 %15, ptr %9, align 8 %16 = call i32 (...) @monUnlock() %17 = load i64, ptr %9, align 8 ret i64 %17 } declare i32 @monLock(...) #1 declare i64 @_pcictrl(i32 noundef, i32 noundef, i64 noundef, i64 noundef) #1 declare i32 @monUnlock(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvb8qzhzq.c' source_filename = "/tmp/tmpvb8qzhzq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CANIntUnregister(i64 noundef %0, i8 noundef zeroext %1) #0 { %3 = alloca i64, align 8 %4 = alloca i8, align 1 %5 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 %6 = load i64, ptr %3, align 8 %7 = load i8, ptr %4, align 1 %8 = call i64 @CANIntNumberGet(i64 noundef %6, i8 noundef zeroext %7) store i64 %8, ptr %5, align 8 %9 = load i64, ptr %5, align 8 %10 = call i32 @IntUnregister(i64 noundef %9) %11 = load i64, ptr %5, align 8 %12 = call i32 @IntDisable(i64 noundef %11) ret void } declare i64 @CANIntNumberGet(i64 noundef, i8 noundef zeroext) #1 declare i32 @IntUnregister(i64 noundef) #1 declare i32 @IntDisable(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/tmpvb8qzhzq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CANIntUnregister(i64 noundef %0, i8 noundef zeroext %1) #0 { %3 = alloca i64, align 8 %4 = alloca i8, align 1 %5 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 %6 = load i64, ptr %3, align 8 %7 = load i8, ptr %4, align 1 %8 = call i64 @CANIntNumberGet(i64 noundef %6, i8 noundef zeroext %7) store i64 %8, ptr %5, align 8 %9 = load i64, ptr %5, align 8 %10 = call i32 @IntUnregister(i64 noundef %9) %11 = load i64, ptr %5, align 8 %12 = call i32 @IntDisable(i64 noundef %11) ret void } declare i64 @CANIntNumberGet(i64 noundef, i8 noundef zeroext) #1 declare i32 @IntUnregister(i64 noundef) #1 declare i32 @IntDisable(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/tmpfd8_xfbo.c' source_filename = "/tmp/tmpfd8_xfbo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test6_Led1_targetInit__I() #0 { %1 = call i32 (...) @test6_Y_set__E() ret void } declare i32 @test6_Y_set__E(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfd8_xfbo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test6_Led1_targetInit__I() #0 { %1 = call i32 (...) @test6_Y_set__E() ret void } declare i32 @test6_Y_set__E(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp94hpx500.c' source_filename = "/tmp/tmp94hpx500.c" target datalayout = "e-m:e-p270: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/tmp94hpx500.c" target datalayout = "e-m:e-p270: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/tmp377esfs0.c' source_filename = "/tmp/tmp377esfs0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pdecrypt(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %12 = load ptr, ptr %4, align 8 %13 = call i32 @strlen(ptr noundef %12) store i32 %13, ptr %7, align 4 %14 = load i32, ptr %7, align 4 %15 = zext i32 %14 to i64 %16 = call ptr @llvm.stacksave() store ptr %16, ptr %8, align 8 %17 = alloca i8, i64 %15, align 16 store i64 %15, ptr %9, align 8 %18 = load ptr, ptr %4, align 8 %19 = load i32, ptr %7, align 4 %20 = add nsw i32 %19, 1 %21 = call i32 @strncpy(ptr noundef %17, ptr noundef %18, i32 noundef %20) store i32 0, ptr %11, align 4 store i32 0, ptr %10, align 4 br label %22 22: ; preds = %54, %3 %23 = load i32, ptr %10, align 4 %24 = load i32, ptr %7, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %26, label %59 26: ; preds = %22 %27 = load i32, ptr %10, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %17, i64 %28 %30 = load i8, ptr %29, align 1 %31 = call i32 @isspace(i8 noundef signext %30) %32 = icmp ne i32 %31, 0 br i1 %32, label %50, label %33 33: ; preds = %26 %34 = load i32, ptr %10, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %17, i64 %35 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = sub nsw i32 %38, 65 %40 = load i32, ptr %6, align 4 %41 = sub nsw i32 %39, %40 %42 = load i32, ptr %5, align 4 %43 = sdiv i32 %41, %42 %44 = srem i32 %43, 26 %45 = add nsw i32 %44, 65 %46 = trunc i32 %45 to i8 %47 = load i32, ptr %11, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i8, ptr %17, i64 %48 store i8 %46, ptr %49, align 1 br label %53 50: ; preds = %26 %51 = load i32, ptr %11, align 4 %52 = add nsw i32 %51, -1 store i32 %52, ptr %11, align 4 br label %53 53: ; preds = %50, %33 br label %54 54: ; preds = %53 %55 = load i32, ptr %10, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %10, align 4 %57 = load i32, ptr %11, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %11, align 4 br label %22, !llvm.loop !6 59: ; preds = %22 %60 = call i32 @printf(ptr noundef @.str, ptr noundef %17) %61 = load ptr, ptr %8, align 8 call void @llvm.stackrestore(ptr %61) ret i32 0 } declare i32 @strlen(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @isspace(i8 noundef signext) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp377esfs0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pdecrypt(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %12 = load ptr, ptr %4, align 8 %13 = call i32 @strlen(ptr noundef %12) store i32 %13, ptr %7, align 4 %14 = load i32, ptr %7, align 4 %15 = zext i32 %14 to i64 %16 = call ptr @llvm.stacksave() store ptr %16, ptr %8, align 8 %17 = alloca i8, i64 %15, align 16 store i64 %15, ptr %9, align 8 %18 = load ptr, ptr %4, align 8 %19 = load i32, ptr %7, align 4 %20 = add nsw i32 %19, 1 %21 = call i32 @strncpy(ptr noundef %17, ptr noundef %18, i32 noundef %20) store i32 0, ptr %11, align 4 store i32 0, ptr %10, align 4 %22 = load i32, ptr %10, align 4 %23 = load i32, ptr %7, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %.lr.ph, label %61 .lr.ph: ; preds = %3 br label %25 25: ; preds = %.lr.ph, %53 %26 = load i32, ptr %10, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %17, i64 %27 %29 = load i8, ptr %28, align 1 %30 = call i32 @isspace(i8 noundef signext %29) %31 = icmp ne i32 %30, 0 br i1 %31, label %49, label %32 32: ; preds = %25 %33 = load i32, ptr %10, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %17, i64 %34 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = sub nsw i32 %37, 65 %39 = load i32, ptr %6, align 4 %40 = sub nsw i32 %38, %39 %41 = load i32, ptr %5, align 4 %42 = sdiv i32 %40, %41 %43 = srem i32 %42, 26 %44 = add nsw i32 %43, 65 %45 = trunc i32 %44 to i8 %46 = load i32, ptr %11, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i8, ptr %17, i64 %47 store i8 %45, ptr %48, align 1 br label %52 49: ; preds = %25 %50 = load i32, ptr %11, align 4 %51 = add nsw i32 %50, -1 store i32 %51, ptr %11, align 4 br label %52 52: ; preds = %49, %32 br label %53 53: ; preds = %52 %54 = load i32, ptr %10, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %10, align 4 %56 = load i32, ptr %11, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %11, align 4 %58 = load i32, ptr %10, align 4 %59 = load i32, ptr %7, align 4 %60 = icmp slt i32 %58, %59 br i1 %60, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %53 br label %61 61: ; preds = %._crit_edge, %3 %62 = call i32 @printf(ptr noundef @.str, ptr noundef %17) %63 = load ptr, ptr %8, align 8 call void @llvm.stackrestore(ptr %63) ret i32 0 } declare i32 @strlen(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @isspace(i8 noundef signext) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpo6ay4ifn.c' source_filename = "/tmp/tmpo6ay4ifn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quick_sort(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 = load i32, ptr %4, align 4 %7 = sub nsw i32 %6, 1 %8 = call i32 @quick_sort_helper(ptr noundef %5, i32 noundef 0, i32 noundef %7) ret void } declare i32 @quick_sort_helper(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/tmpo6ay4ifn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quick_sort(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 = load i32, ptr %4, align 4 %7 = sub nsw i32 %6, 1 %8 = call i32 @quick_sort_helper(ptr noundef %5, i32 noundef 0, i32 noundef %7) ret void } declare i32 @quick_sort_helper(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/tmpmuak629q.c' source_filename = "/tmp/tmpmuak629q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cmd_damage(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @damage(ptr noundef %5) ret i32 %6 } declare i32 @damage(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmuak629q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cmd_damage(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @damage(ptr noundef %5) ret i32 %6 } declare i32 @damage(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbcwjlvxy.c' source_filename = "/tmp/tmpbcwjlvxy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\FE\01\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @lcdClear() #0 { %1 = call i32 @uartTx(ptr noundef @.str, i32 noundef 2) ret void } declare i32 @uartTx(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/tmpbcwjlvxy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\FE\01\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @lcdClear() #0 { %1 = call i32 @uartTx(ptr noundef @.str, i32 noundef 2) ret void } declare i32 @uartTx(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/tmp8l8eof15.c' source_filename = "/tmp/tmp8l8eof15.c" target datalayout = "e-m:e-p270: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/tmp8l8eof15.c" target datalayout = "e-m:e-p270: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/tmpyrnp4f4w.c' source_filename = "/tmp/tmpyrnp4f4w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @read_hex() #0 { %1 = alloca i8, align 1 %2 = alloca i8, align 1 %3 = alloca i8, align 1 %4 = load i32, ptr @stdin, align 4 %5 = call zeroext i8 @getc(i32 noundef %4) store i8 %5, ptr %2, align 1 %6 = load i32, ptr @stdin, align 4 %7 = call zeroext i8 @getc(i32 noundef %6) store i8 %7, ptr %3, align 1 %8 = load i8, ptr %2, align 1 %9 = zext i8 %8 to i32 %10 = icmp sge i32 %9, 48 br i1 %10, label %11, label %20 11: ; preds = %0 %12 = load i8, ptr %2, align 1 %13 = zext i8 %12 to i32 %14 = icmp sle i32 %13, 57 br i1 %14, label %15, label %20 15: ; preds = %11 %16 = load i8, ptr %2, align 1 %17 = zext i8 %16 to i32 %18 = sub nsw i32 %17, 48 %19 = trunc i32 %18 to i8 store i8 %19, ptr %2, align 1 br label %39 20: ; preds = %11, %0 %21 = load i8, ptr %2, align 1 %22 = zext i8 %21 to i32 %23 = icmp sge i32 %22, 97 br i1 %23, label %24, label %37 24: ; preds = %20 %25 = load i8, ptr %2, align 1 %26 = zext i8 %25 to i32 %27 = icmp sle i32 %26, 102 br i1 %27, label %28, label %37 28: ; preds = %24 %29 = load i8, ptr %2, align 1 %30 = zext i8 %29 to i32 %31 = sub nsw i32 %30, 97 %32 = trunc i32 %31 to i8 store i8 %32, ptr %2, align 1 %33 = load i8, ptr %2, align 1 %34 = zext i8 %33 to i32 %35 = add nsw i32 %34, 10 %36 = trunc i32 %35 to i8 store i8 %36, ptr %2, align 1 br label %38 37: ; preds = %24, %20 store i8 0, ptr %1, align 1 br label %79 38: ; preds = %28 br label %39 39: ; preds = %38, %15 %40 = load i8, ptr %3, align 1 %41 = zext i8 %40 to i32 %42 = icmp sge i32 %41, 48 br i1 %42, label %43, label %52 43: ; preds = %39 %44 = load i8, ptr %3, align 1 %45 = zext i8 %44 to i32 %46 = icmp sle i32 %45, 57 br i1 %46, label %47, label %52 47: ; preds = %43 %48 = load i8, ptr %3, align 1 %49 = zext i8 %48 to i32 %50 = sub nsw i32 %49, 48 %51 = trunc i32 %50 to i8 store i8 %51, ptr %3, align 1 br label %71 52: ; preds = %43, %39 %53 = load i8, ptr %3, align 1 %54 = zext i8 %53 to i32 %55 = icmp sge i32 %54, 97 br i1 %55, label %56, label %69 56: ; preds = %52 %57 = load i8, ptr %3, align 1 %58 = zext i8 %57 to i32 %59 = icmp sle i32 %58, 102 br i1 %59, label %60, label %69 60: ; preds = %56 %61 = load i8, ptr %3, align 1 %62 = zext i8 %61 to i32 %63 = sub nsw i32 %62, 97 %64 = trunc i32 %63 to i8 store i8 %64, ptr %3, align 1 %65 = load i8, ptr %3, align 1 %66 = zext i8 %65 to i32 %67 = add nsw i32 %66, 10 %68 = trunc i32 %67 to i8 store i8 %68, ptr %3, align 1 br label %70 69: ; preds = %56, %52 store i8 0, ptr %1, align 1 br label %79 70: ; preds = %60 br label %71 71: ; preds = %70, %47 %72 = load i8, ptr %2, align 1 %73 = zext i8 %72 to i32 %74 = mul nsw i32 %73, 16 %75 = load i8, ptr %3, align 1 %76 = zext i8 %75 to i32 %77 = add nsw i32 %74, %76 %78 = trunc i32 %77 to i8 store i8 %78, ptr %1, align 1 br label %79 79: ; preds = %71, %69, %37 %80 = load i8, ptr %1, align 1 ret i8 %80 } declare zeroext i8 @getc(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/tmpyrnp4f4w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @read_hex() #0 { %1 = alloca i8, align 1 %2 = alloca i8, align 1 %3 = alloca i8, align 1 %4 = load i32, ptr @stdin, align 4 %5 = call zeroext i8 @getc(i32 noundef %4) store i8 %5, ptr %2, align 1 %6 = load i32, ptr @stdin, align 4 %7 = call zeroext i8 @getc(i32 noundef %6) store i8 %7, ptr %3, align 1 %8 = load i8, ptr %2, align 1 %9 = zext i8 %8 to i32 %10 = icmp sge i32 %9, 48 br i1 %10, label %11, label %20 11: ; preds = %0 %12 = load i8, ptr %2, align 1 %13 = zext i8 %12 to i32 %14 = icmp sle i32 %13, 57 br i1 %14, label %15, label %20 15: ; preds = %11 %16 = load i8, ptr %2, align 1 %17 = zext i8 %16 to i32 %18 = sub nsw i32 %17, 48 %19 = trunc i32 %18 to i8 store i8 %19, ptr %2, align 1 br label %39 20: ; preds = %11, %0 %21 = load i8, ptr %2, align 1 %22 = zext i8 %21 to i32 %23 = icmp sge i32 %22, 97 br i1 %23, label %24, label %37 24: ; preds = %20 %25 = load i8, ptr %2, align 1 %26 = zext i8 %25 to i32 %27 = icmp sle i32 %26, 102 br i1 %27, label %28, label %37 28: ; preds = %24 %29 = load i8, ptr %2, align 1 %30 = zext i8 %29 to i32 %31 = sub nsw i32 %30, 97 %32 = trunc i32 %31 to i8 store i8 %32, ptr %2, align 1 %33 = load i8, ptr %2, align 1 %34 = zext i8 %33 to i32 %35 = add nsw i32 %34, 10 %36 = trunc i32 %35 to i8 store i8 %36, ptr %2, align 1 br label %38 37: ; preds = %24, %20 store i8 0, ptr %1, align 1 br label %79 38: ; preds = %28 br label %39 39: ; preds = %38, %15 %40 = load i8, ptr %3, align 1 %41 = zext i8 %40 to i32 %42 = icmp sge i32 %41, 48 br i1 %42, label %43, label %52 43: ; preds = %39 %44 = load i8, ptr %3, align 1 %45 = zext i8 %44 to i32 %46 = icmp sle i32 %45, 57 br i1 %46, label %47, label %52 47: ; preds = %43 %48 = load i8, ptr %3, align 1 %49 = zext i8 %48 to i32 %50 = sub nsw i32 %49, 48 %51 = trunc i32 %50 to i8 store i8 %51, ptr %3, align 1 br label %71 52: ; preds = %43, %39 %53 = load i8, ptr %3, align 1 %54 = zext i8 %53 to i32 %55 = icmp sge i32 %54, 97 br i1 %55, label %56, label %69 56: ; preds = %52 %57 = load i8, ptr %3, align 1 %58 = zext i8 %57 to i32 %59 = icmp sle i32 %58, 102 br i1 %59, label %60, label %69 60: ; preds = %56 %61 = load i8, ptr %3, align 1 %62 = zext i8 %61 to i32 %63 = sub nsw i32 %62, 97 %64 = trunc i32 %63 to i8 store i8 %64, ptr %3, align 1 %65 = load i8, ptr %3, align 1 %66 = zext i8 %65 to i32 %67 = add nsw i32 %66, 10 %68 = trunc i32 %67 to i8 store i8 %68, ptr %3, align 1 br label %70 69: ; preds = %56, %52 store i8 0, ptr %1, align 1 br label %79 70: ; preds = %60 br label %71 71: ; preds = %70, %47 %72 = load i8, ptr %2, align 1 %73 = zext i8 %72 to i32 %74 = mul nsw i32 %73, 16 %75 = load i8, ptr %3, align 1 %76 = zext i8 %75 to i32 %77 = add nsw i32 %74, %76 %78 = trunc i32 %77 to i8 store i8 %78, ptr %1, align 1 br label %79 79: ; preds = %71, %69, %37 %80 = load i8, ptr %1, align 1 ret i8 %80 } declare zeroext i8 @getc(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/tmpy559hfzr.c' source_filename = "/tmp/tmpy559hfzr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [52 x i8] c"Usage: %s kernel.bin driver1 [driver2 driver3 ...]\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"rb+\00", align 1 @.str.2 = private unnamed_addr constant [41 x i8] c"Error: Couldn't open kernel image '%s'!\0A\00", align 1 @EOF = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [47 x i8] c"Error: Kernel image '%s' is already packaged!\0A\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 @SEEK_END = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.5 = private unnamed_addr constant [42 x i8] c"Error: Could not open driver image '%s'!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %14, 3 br i1 %15, label %16, label %21 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 0 %19 = load ptr, ptr %18, align 8 %20 = call i32 @printf(ptr noundef @.str, ptr noundef %19) store i32 0, ptr %3, align 4 br label %217 21: ; preds = %2 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 %25 = call ptr @fopen(ptr noundef %24, ptr noundef @.str.1) store ptr %25, ptr %6, align 8 %26 = load ptr, ptr %6, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %33, label %28 28: ; preds = %21 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 1 %31 = load ptr, ptr %30, align 8 %32 = call i32 @printf(ptr noundef @.str.2, ptr noundef %31) store i32 -1, ptr %3, align 4 br label %217 33: ; preds = %21 store i32 0, ptr %10, align 4 br label %34 34: ; preds = %58, %33 %35 = load ptr, ptr %6, align 8 %36 = call i32 @fgetc(ptr noundef %35) store i32 %36, ptr %13, align 4 %37 = load i32, ptr @EOF, align 4 %38 = icmp ne i32 %36, %37 br i1 %38, label %39, label %59 39: ; preds = %34 %40 = load i32, ptr %10, align 4 %41 = add i32 %40, 1 store i32 %41, ptr %10, align 4 %42 = load i32, ptr %10, align 4 %43 = icmp ugt i32 %42, 5 br i1 %43, label %44, label %58 44: ; preds = %39 %45 = load i32, ptr %10, align 4 %46 = icmp ult i32 %45, 10 br i1 %46, label %47, label %58 47: ; preds = %44 %48 = load i32, ptr %13, align 4 %49 = icmp ne i32 %48, 0 br i1 %49, label %50, label %57 50: ; preds = %47 %51 = load ptr, ptr %5, align 8 %52 = getelementptr inbounds ptr, ptr %51, i64 1 %53 = load ptr, ptr %52, align 8 %54 = call i32 @printf(ptr noundef @.str.3, ptr noundef %53) %55 = load ptr, ptr %6, align 8 %56 = call i32 @fclose(ptr noundef %55) store i32 -1, ptr %3, align 4 br label %217 57: ; preds = %47 br label %58 58: ; preds = %57, %44, %39 br label %34, !llvm.loop !6 59: ; preds = %34 %60 = load ptr, ptr %6, align 8 %61 = load i32, ptr @SEEK_SET, align 4 %62 = call i32 @fseek(ptr noundef %60, i32 noundef 5, i32 noundef %61) %63 = load i32, ptr %10, align 4 %64 = and i32 %63, 255 %65 = load ptr, ptr %6, align 8 %66 = call i32 @fputc(i32 noundef %64, ptr noundef %65) %67 = load i32, ptr %10, align 4 %68 = lshr i32 %67, 8 %69 = and i32 %68, 255 %70 = load ptr, ptr %6, align 8 %71 = call i32 @fputc(i32 noundef %69, ptr noundef %70) %72 = load i32, ptr %10, align 4 %73 = lshr i32 %72, 16 %74 = and i32 %73, 255 %75 = load ptr, ptr %6, align 8 %76 = call i32 @fputc(i32 noundef %74, ptr noundef %75) %77 = load i32, ptr %10, align 4 %78 = lshr i32 %77, 24 %79 = and i32 %78, 255 %80 = load ptr, ptr %6, align 8 %81 = call i32 @fputc(i32 noundef %79, ptr noundef %80) %82 = load ptr, ptr %6, align 8 %83 = load i32, ptr @SEEK_END, align 4 %84 = call i32 @fseek(ptr noundef %82, i32 noundef 0, i32 noundef %83) %85 = load i32, ptr %4, align 4 %86 = sub nsw i32 %85, 2 store i32 %86, ptr %11, align 4 %87 = load i32, ptr %11, align 4 %88 = and i32 %87, 255 %89 = load ptr, ptr %6, align 8 %90 = call i32 @fputc(i32 noundef %88, ptr noundef %89) store i32 0, ptr %8, align 4 br label %91 91: ; preds = %106, %59 %92 = load i32, ptr %8, align 4 %93 = load i32, ptr %11, align 4 %94 = icmp ult i32 %92, %93 br i1 %94, label %95, label %109 95: ; preds = %91 store i32 0, ptr %9, align 4 br label %96 96: ; preds = %102, %95 %97 = load i32, ptr %9, align 4 %98 = icmp ult i32 %97, 4 br i1 %98, label %99, label %105 99: ; preds = %96 %100 = load ptr, ptr %6, align 8 %101 = call i32 @fputc(i32 noundef 0, ptr noundef %100) br label %102 102: ; preds = %99 %103 = load i32, ptr %9, align 4 %104 = add i32 %103, 1 store i32 %104, ptr %9, align 4 br label %96, !llvm.loop !8 105: ; preds = %96 br label %106 106: ; preds = %105 %107 = load i32, ptr %8, align 4 %108 = add i32 %107, 1 store i32 %108, ptr %8, align 4 br label %91, !llvm.loop !9 109: ; preds = %91 %110 = load i32, ptr %11, align 4 %111 = mul i32 4, %110 %112 = call ptr @malloc(i32 noundef %111) store ptr %112, ptr %12, align 8 store i32 2, ptr %8, align 4 br label %113 113: ; preds = %160, %109 %114 = load i32, ptr %8, align 4 %115 = load i32, ptr %4, align 4 %116 = icmp ult i32 %114, %115 br i1 %116, label %117, label %163 117: ; preds = %113 %118 = load ptr, ptr %12, align 8 %119 = load i32, ptr %8, align 4 %120 = sub i32 %119, 2 %121 = zext i32 %120 to i64 %122 = getelementptr inbounds i32, ptr %118, i64 %121 store i32 0, ptr %122, align 4 %123 = load ptr, ptr %5, align 8 %124 = load i32, ptr %8, align 4 %125 = zext i32 %124 to i64 %126 = getelementptr inbounds ptr, ptr %123, i64 %125 %127 = load ptr, ptr %126, align 8 %128 = call ptr @fopen(ptr noundef %127, ptr noundef @.str.4) store ptr %128, ptr %7, align 8 %129 = load ptr, ptr %7, align 8 %130 = icmp ne ptr %129, null br i1 %130, label %140, label %131 131: ; preds = %117 %132 = load ptr, ptr %5, align 8 %133 = load i32, ptr %8, align 4 %134 = zext i32 %133 to i64 %135 = getelementptr inbounds ptr, ptr %132, i64 %134 %136 = load ptr, ptr %135, align 8 %137 = call i32 @printf(ptr noundef @.str.5, ptr noundef %136) %138 = load ptr, ptr %12, align 8 %139 = call i32 @free(ptr noundef %138) store i32 -1, ptr %3, align 4 br label %217 140: ; preds = %117 br label %141 141: ; preds = %146, %140 %142 = load ptr, ptr %7, align 8 %143 = call i32 @fgetc(ptr noundef %142) store i32 %143, ptr %13, align 4 %144 = load i32, ptr @EOF, align 4 %145 = icmp ne i32 %143, %144 br i1 %145, label %146, label %157 146: ; preds = %141 %147 = load ptr, ptr %12, align 8 %148 = load i32, ptr %8, align 4 %149 = sub i32 %148, 2 %150 = zext i32 %149 to i64 %151 = getelementptr inbounds i32, ptr %147, i64 %150 %152 = load i32, ptr %151, align 4 %153 = add i32 %152, 1 store i32 %153, ptr %151, align 4 %154 = load i32, ptr %13, align 4 %155 = load ptr, ptr %6, align 8 %156 = call i32 @fputc(i32 noundef %154, ptr noundef %155) br label %141, !llvm.loop !10 157: ; preds = %141 %158 = load ptr, ptr %7, align 8 %159 = call i32 @fclose(ptr noundef %158) br label %160 160: ; preds = %157 %161 = load i32, ptr %8, align 4 %162 = add i32 %161, 1 store i32 %162, ptr %8, align 4 br label %113, !llvm.loop !11 163: ; preds = %113 %164 = load ptr, ptr %6, align 8 %165 = load i32, ptr %10, align 4 %166 = add i32 %165, 1 %167 = load i32, ptr @SEEK_SET, align 4 %168 = call i32 @fseek(ptr noundef %164, i32 noundef %166, i32 noundef %167) store i32 0, ptr %8, align 4 br label %169 169: ; preds = %209, %163 %170 = load i32, ptr %8, align 4 %171 = load i32, ptr %11, align 4 %172 = icmp ult i32 %170, %171 br i1 %172, label %173, label %212 173: ; preds = %169 %174 = load ptr, ptr %12, align 8 %175 = load i32, ptr %8, align 4 %176 = zext i32 %175 to i64 %177 = getelementptr inbounds i32, ptr %174, i64 %176 %178 = load i32, ptr %177, align 4 %179 = and i32 %178, 255 %180 = load ptr, ptr %6, align 8 %181 = call i32 @fputc(i32 noundef %179, ptr noundef %180) %182 = load ptr, ptr %12, align 8 %183 = load i32, ptr %8, align 4 %184 = zext i32 %183 to i64 %185 = getelementptr inbounds i32, ptr %182, i64 %184 %186 = load i32, ptr %185, align 4 %187 = lshr i32 %186, 8 %188 = and i32 %187, 255 %189 = load ptr, ptr %6, align 8 %190 = call i32 @fputc(i32 noundef %188, ptr noundef %189) %191 = load ptr, ptr %12, align 8 %192 = load i32, ptr %8, align 4 %193 = zext i32 %192 to i64 %194 = getelementptr inbounds i32, ptr %191, i64 %193 %195 = load i32, ptr %194, align 4 %196 = lshr i32 %195, 16 %197 = and i32 %196, 255 %198 = load ptr, ptr %6, align 8 %199 = call i32 @fputc(i32 noundef %197, ptr noundef %198) %200 = load ptr, ptr %12, align 8 %201 = load i32, ptr %8, align 4 %202 = zext i32 %201 to i64 %203 = getelementptr inbounds i32, ptr %200, i64 %202 %204 = load i32, ptr %203, align 4 %205 = lshr i32 %204, 24 %206 = and i32 %205, 255 %207 = load ptr, ptr %6, align 8 %208 = call i32 @fputc(i32 noundef %206, ptr noundef %207) br label %209 209: ; preds = %173 %210 = load i32, ptr %8, align 4 %211 = add i32 %210, 1 store i32 %211, ptr %8, align 4 br label %169, !llvm.loop !12 212: ; preds = %169 %213 = load ptr, ptr %12, align 8 %214 = call i32 @free(ptr noundef %213) %215 = load ptr, ptr %6, align 8 %216 = call i32 @fclose(ptr noundef %215) br label %217 217: ; preds = %212, %131, %50, %28, %16 %218 = load i32, ptr %3, align 4 ret i32 %218 } declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fgetc(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fputc(i32 noundef, ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy559hfzr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [52 x i8] c"Usage: %s kernel.bin driver1 [driver2 driver3 ...]\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"rb+\00", align 1 @.str.2 = private unnamed_addr constant [41 x i8] c"Error: Couldn't open kernel image '%s'!\0A\00", align 1 @EOF = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [47 x i8] c"Error: Kernel image '%s' is already packaged!\0A\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 @SEEK_END = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.5 = private unnamed_addr constant [42 x i8] c"Error: Could not open driver image '%s'!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %14, 3 br i1 %15, label %16, label %21 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 0 %19 = load ptr, ptr %18, align 8 %20 = call i32 @printf(ptr noundef @.str, ptr noundef %19) store i32 0, ptr %3, align 4 br label %230 21: ; preds = %2 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 %25 = call ptr @fopen(ptr noundef %24, ptr noundef @.str.1) store ptr %25, ptr %6, align 8 %26 = load ptr, ptr %6, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %33, label %28 28: ; preds = %21 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 1 %31 = load ptr, ptr %30, align 8 %32 = call i32 @printf(ptr noundef @.str.2, ptr noundef %31) store i32 -1, ptr %3, align 4 br label %230 33: ; preds = %21 store i32 0, ptr %10, align 4 %34 = load ptr, ptr %6, align 8 %35 = call i32 @fgetc(ptr noundef %34) store i32 %35, ptr %13, align 4 %36 = load i32, ptr @EOF, align 4 %37 = icmp ne i32 %35, %36 br i1 %37, label %.lr.ph, label %62 .lr.ph: ; preds = %33 br label %38 38: ; preds = %.lr.ph, %57 %39 = load i32, ptr %10, align 4 %40 = add i32 %39, 1 store i32 %40, ptr %10, align 4 %41 = load i32, ptr %10, align 4 %42 = icmp ugt i32 %41, 5 br i1 %42, label %43, label %57 43: ; preds = %38 %44 = load i32, ptr %10, align 4 %45 = icmp ult i32 %44, 10 br i1 %45, label %46, label %57 46: ; preds = %43 %47 = load i32, ptr %13, align 4 %48 = icmp ne i32 %47, 0 br i1 %48, label %49, label %56 49: ; preds = %46 %50 = load ptr, ptr %5, align 8 %51 = getelementptr inbounds ptr, ptr %50, i64 1 %52 = load ptr, ptr %51, align 8 %53 = call i32 @printf(ptr noundef @.str.3, ptr noundef %52) %54 = load ptr, ptr %6, align 8 %55 = call i32 @fclose(ptr noundef %54) store i32 -1, ptr %3, align 4 br label %230 56: ; preds = %46 br label %57 57: ; preds = %56, %43, %38 %58 = load ptr, ptr %6, align 8 %59 = call i32 @fgetc(ptr noundef %58) store i32 %59, ptr %13, align 4 %60 = load i32, ptr @EOF, align 4 %61 = icmp ne i32 %59, %60 br i1 %61, label %38, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %57 br label %62 62: ; preds = %._crit_edge, %33 %63 = load ptr, ptr %6, align 8 %64 = load i32, ptr @SEEK_SET, align 4 %65 = call i32 @fseek(ptr noundef %63, i32 noundef 5, i32 noundef %64) %66 = load i32, ptr %10, align 4 %67 = and i32 %66, 255 %68 = load ptr, ptr %6, align 8 %69 = call i32 @fputc(i32 noundef %67, ptr noundef %68) %70 = load i32, ptr %10, align 4 %71 = lshr i32 %70, 8 %72 = and i32 %71, 255 %73 = load ptr, ptr %6, align 8 %74 = call i32 @fputc(i32 noundef %72, ptr noundef %73) %75 = load i32, ptr %10, align 4 %76 = lshr i32 %75, 16 %77 = and i32 %76, 255 %78 = load ptr, ptr %6, align 8 %79 = call i32 @fputc(i32 noundef %77, ptr noundef %78) %80 = load i32, ptr %10, align 4 %81 = lshr i32 %80, 24 %82 = and i32 %81, 255 %83 = load ptr, ptr %6, align 8 %84 = call i32 @fputc(i32 noundef %82, ptr noundef %83) %85 = load ptr, ptr %6, align 8 %86 = load i32, ptr @SEEK_END, align 4 %87 = call i32 @fseek(ptr noundef %85, i32 noundef 0, i32 noundef %86) %88 = load i32, ptr %4, align 4 %89 = sub nsw i32 %88, 2 store i32 %89, ptr %11, align 4 %90 = load i32, ptr %11, align 4 %91 = and i32 %90, 255 %92 = load ptr, ptr %6, align 8 %93 = call i32 @fputc(i32 noundef %91, ptr noundef %92) store i32 0, ptr %8, align 4 %94 = load i32, ptr %8, align 4 %95 = load i32, ptr %11, align 4 %96 = icmp ult i32 %94, %95 br i1 %96, label %.lr.ph5, label %115 .lr.ph5: ; preds = %62 br label %97 97: ; preds = %.lr.ph5, %109 store i32 0, ptr %9, align 4 %98 = load i32, ptr %9, align 4 %99 = icmp ult i32 %98, 4 br i1 %99, label %.lr.ph2, label %108 .lr.ph2: ; preds = %97 br label %100 100: ; preds = %.lr.ph2, %103 %101 = load ptr, ptr %6, align 8 %102 = call i32 @fputc(i32 noundef 0, ptr noundef %101) br label %103 103: ; preds = %100 %104 = load i32, ptr %9, align 4 %105 = add i32 %104, 1 store i32 %105, ptr %9, align 4 %106 = load i32, ptr %9, align 4 %107 = icmp ult i32 %106, 4 br i1 %107, label %100, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %103 br label %108 108: ; preds = %._crit_edge3, %97 br label %109 109: ; preds = %108 %110 = load i32, ptr %8, align 4 %111 = add i32 %110, 1 store i32 %111, ptr %8, align 4 %112 = load i32, ptr %8, align 4 %113 = load i32, ptr %11, align 4 %114 = icmp ult i32 %112, %113 br i1 %114, label %97, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %109 br label %115 115: ; preds = %._crit_edge6, %62 %116 = load i32, ptr %11, align 4 %117 = mul i32 4, %116 %118 = call ptr @malloc(i32 noundef %117) store ptr %118, ptr %12, align 8 store i32 2, ptr %8, align 4 %119 = load i32, ptr %8, align 4 %120 = load i32, ptr %4, align 4 %121 = icmp ult i32 %119, %120 br i1 %121, label %.lr.ph11, label %174 .lr.ph11: ; preds = %115 br label %122 122: ; preds = %.lr.ph11, %168 %123 = load ptr, ptr %12, align 8 %124 = load i32, ptr %8, align 4 %125 = sub i32 %124, 2 %126 = zext i32 %125 to i64 %127 = getelementptr inbounds i32, ptr %123, i64 %126 store i32 0, ptr %127, align 4 %128 = load ptr, ptr %5, align 8 %129 = load i32, ptr %8, align 4 %130 = zext i32 %129 to i64 %131 = getelementptr inbounds ptr, ptr %128, i64 %130 %132 = load ptr, ptr %131, align 8 %133 = call ptr @fopen(ptr noundef %132, ptr noundef @.str.4) store ptr %133, ptr %7, align 8 %134 = load ptr, ptr %7, align 8 %135 = icmp ne ptr %134, null br i1 %135, label %145, label %136 136: ; preds = %122 %137 = load ptr, ptr %5, align 8 %138 = load i32, ptr %8, align 4 %139 = zext i32 %138 to i64 %140 = getelementptr inbounds ptr, ptr %137, i64 %139 %141 = load ptr, ptr %140, align 8 %142 = call i32 @printf(ptr noundef @.str.5, ptr noundef %141) %143 = load ptr, ptr %12, align 8 %144 = call i32 @free(ptr noundef %143) store i32 -1, ptr %3, align 4 br label %230 145: ; preds = %122 %146 = load ptr, ptr %7, align 8 %147 = call i32 @fgetc(ptr noundef %146) store i32 %147, ptr %13, align 4 %148 = load i32, ptr @EOF, align 4 %149 = icmp ne i32 %147, %148 br i1 %149, label %.lr.ph8, label %165 .lr.ph8: ; preds = %145 br label %150 150: ; preds = %.lr.ph8, %150 %151 = load ptr, ptr %12, align 8 %152 = load i32, ptr %8, align 4 %153 = sub i32 %152, 2 %154 = zext i32 %153 to i64 %155 = getelementptr inbounds i32, ptr %151, i64 %154 %156 = load i32, ptr %155, align 4 %157 = add i32 %156, 1 store i32 %157, ptr %155, align 4 %158 = load i32, ptr %13, align 4 %159 = load ptr, ptr %6, align 8 %160 = call i32 @fputc(i32 noundef %158, ptr noundef %159) %161 = load ptr, ptr %7, align 8 %162 = call i32 @fgetc(ptr noundef %161) store i32 %162, ptr %13, align 4 %163 = load i32, ptr @EOF, align 4 %164 = icmp ne i32 %162, %163 br i1 %164, label %150, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %150 br label %165 165: ; preds = %._crit_edge9, %145 %166 = load ptr, ptr %7, align 8 %167 = call i32 @fclose(ptr noundef %166) br label %168 168: ; preds = %165 %169 = load i32, ptr %8, align 4 %170 = add i32 %169, 1 store i32 %170, ptr %8, align 4 %171 = load i32, ptr %8, align 4 %172 = load i32, ptr %4, align 4 %173 = icmp ult i32 %171, %172 br i1 %173, label %122, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %168 br label %174 174: ; preds = %._crit_edge12, %115 %175 = load ptr, ptr %6, align 8 %176 = load i32, ptr %10, align 4 %177 = add i32 %176, 1 %178 = load i32, ptr @SEEK_SET, align 4 %179 = call i32 @fseek(ptr noundef %175, i32 noundef %177, i32 noundef %178) store i32 0, ptr %8, align 4 %180 = load i32, ptr %8, align 4 %181 = load i32, ptr %11, align 4 %182 = icmp ult i32 %180, %181 br i1 %182, label %.lr.ph14, label %225 .lr.ph14: ; preds = %174 br label %183 183: ; preds = %.lr.ph14, %219 %184 = load ptr, ptr %12, align 8 %185 = load i32, ptr %8, align 4 %186 = zext i32 %185 to i64 %187 = getelementptr inbounds i32, ptr %184, i64 %186 %188 = load i32, ptr %187, align 4 %189 = and i32 %188, 255 %190 = load ptr, ptr %6, align 8 %191 = call i32 @fputc(i32 noundef %189, ptr noundef %190) %192 = load ptr, ptr %12, align 8 %193 = load i32, ptr %8, align 4 %194 = zext i32 %193 to i64 %195 = getelementptr inbounds i32, ptr %192, i64 %194 %196 = load i32, ptr %195, align 4 %197 = lshr i32 %196, 8 %198 = and i32 %197, 255 %199 = load ptr, ptr %6, align 8 %200 = call i32 @fputc(i32 noundef %198, ptr noundef %199) %201 = load ptr, ptr %12, align 8 %202 = load i32, ptr %8, align 4 %203 = zext i32 %202 to i64 %204 = getelementptr inbounds i32, ptr %201, i64 %203 %205 = load i32, ptr %204, align 4 %206 = lshr i32 %205, 16 %207 = and i32 %206, 255 %208 = load ptr, ptr %6, align 8 %209 = call i32 @fputc(i32 noundef %207, ptr noundef %208) %210 = load ptr, ptr %12, align 8 %211 = load i32, ptr %8, align 4 %212 = zext i32 %211 to i64 %213 = getelementptr inbounds i32, ptr %210, i64 %212 %214 = load i32, ptr %213, align 4 %215 = lshr i32 %214, 24 %216 = and i32 %215, 255 %217 = load ptr, ptr %6, align 8 %218 = call i32 @fputc(i32 noundef %216, ptr noundef %217) br label %219 219: ; preds = %183 %220 = load i32, ptr %8, align 4 %221 = add i32 %220, 1 store i32 %221, ptr %8, align 4 %222 = load i32, ptr %8, align 4 %223 = load i32, ptr %11, align 4 %224 = icmp ult i32 %222, %223 br i1 %224, label %183, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %219 br label %225 225: ; preds = %._crit_edge15, %174 %226 = load ptr, ptr %12, align 8 %227 = call i32 @free(ptr noundef %226) %228 = load ptr, ptr %6, align 8 %229 = call i32 @fclose(ptr noundef %228) br label %230 230: ; preds = %225, %136, %49, %28, %16 %231 = load i32, ptr %3, align 4 ret i32 %231 } declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fgetc(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fputc(i32 noundef, ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '/tmp/tmp2ksgm1wo.c' source_filename = "/tmp/tmp2ksgm1wo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @is_prime(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca float, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store i32 1, ptr %8, align 4 %11 = load i32, ptr %6, align 4 %12 = call float @sqrt(i32 noundef %11) store float %12, ptr %9, align 4 store i32 0, ptr %10, align 4 br label %13 13: ; preds = %35, %3 %14 = load i32, ptr %10, align 4 %15 = load i32, ptr %5, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %17, label %38 17: ; preds = %13 %18 = load ptr, ptr %4, align 8 %19 = load i32, ptr %10, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %18, i64 %20 %22 = load i32, ptr %21, align 4 store i32 %22, ptr %7, align 4 %23 = load i32, ptr %7, align 4 %24 = sitofp i32 %23 to float %25 = load float, ptr %9, align 4 %26 = fcmp ogt float %24, %25 br i1 %26, label %27, label %28 27: ; preds = %17 br label %38 28: ; preds = %17 %29 = load i32, ptr %6, align 4 %30 = load i32, ptr %7, align 4 %31 = srem i32 %29, %30 %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %34 33: ; preds = %28 store i32 0, ptr %8, align 4 br label %38 34: ; preds = %28 br label %35 35: ; preds = %34 %36 = load i32, ptr %10, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %10, align 4 br label %13, !llvm.loop !6 38: ; preds = %33, %27, %13 %39 = load i32, ptr %8, align 4 ret i32 %39 } declare float @sqrt(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/tmp2ksgm1wo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @is_prime(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca float, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store i32 1, ptr %8, align 4 %11 = load i32, ptr %6, align 4 %12 = call float @sqrt(i32 noundef %11) store float %12, ptr %9, align 4 store i32 0, ptr %10, align 4 %13 = load i32, ptr %10, align 4 %14 = load i32, ptr %5, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %3 br label %16 16: ; preds = %.lr.ph, %34 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %10, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %17, i64 %19 %21 = load i32, ptr %20, align 4 store i32 %21, ptr %7, align 4 %22 = load i32, ptr %7, align 4 %23 = sitofp i32 %22 to float %24 = load float, ptr %9, align 4 %25 = fcmp ogt float %23, %24 br i1 %25, label %26, label %27 26: ; preds = %16 br label %40 27: ; preds = %16 %28 = load i32, ptr %6, align 4 %29 = load i32, ptr %7, align 4 %30 = srem i32 %28, %29 %31 = icmp eq i32 %30, 0 br i1 %31, label %32, label %33 32: ; preds = %27 store i32 0, ptr %8, align 4 br label %40 33: ; preds = %27 br label %34 34: ; preds = %33 %35 = load i32, ptr %10, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %10, align 4 %37 = load i32, ptr %10, align 4 %38 = load i32, ptr %5, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %16, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %34 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %3 br label %40 40: ; preds = %.loopexit, %32, %26 %41 = load i32, ptr %8, align 4 ret i32 %41 } declare float @sqrt(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/tmpgvl4n9kb.c' source_filename = "/tmp/tmpgvl4n9kb.c" target datalayout = "e-m:e-p270: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/tmpgvl4n9kb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_fumwbra.c' source_filename = "/tmp/tmp_fumwbra.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @solve(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 %7 = load i32, ptr %2, align 4 %8 = zext i32 %7 to i64 %9 = call ptr @llvm.stacksave() store ptr %9, ptr %4, align 8 %10 = alloca i32, i64 %8, align 16 store i64 %8, ptr %5, align 8 %11 = load i32, ptr %2, align 4 %12 = call i32 @fill_sum_divisors(ptr noundef %10, i32 noundef %11) store i32 1, ptr %6, align 4 br label %13 13: ; preds = %46, %1 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %17, label %49 17: ; preds = %13 %18 = load i32, ptr %6, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %10, i64 %19 %21 = load i32, ptr %20, align 4 %22 = load i32, ptr %2, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %24, label %45 24: ; preds = %17 %25 = load i32, ptr %6, align 4 %26 = load i32, ptr %6, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i32, ptr %10, i64 %27 %29 = load i32, ptr %28, align 4 %30 = icmp ne i32 %25, %29 br i1 %30, label %31, label %45 31: ; preds = %24 %32 = load i32, ptr %6, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i32, ptr %10, i64 %33 %35 = load i32, ptr %34, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i32, ptr %10, i64 %36 %38 = load i32, ptr %37, align 4 %39 = load i32, ptr %6, align 4 %40 = icmp eq i32 %38, %39 br i1 %40, label %41, label %45 41: ; preds = %31 %42 = load i32, ptr %6, align 4 %43 = load i32, ptr %3, align 4 %44 = add nsw i32 %43, %42 store i32 %44, ptr %3, align 4 br label %45 45: ; preds = %41, %31, %24, %17 br label %46 46: ; preds = %45 %47 = load i32, ptr %6, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %6, align 4 br label %13, !llvm.loop !6 49: ; preds = %13 %50 = load i32, ptr %3, align 4 %51 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %51) ret i32 %50 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @fill_sum_divisors(ptr noundef, i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_fumwbra.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @solve(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 %7 = load i32, ptr %2, align 4 %8 = zext i32 %7 to i64 %9 = call ptr @llvm.stacksave() store ptr %9, ptr %4, align 8 %10 = alloca i32, i64 %8, align 16 store i64 %8, ptr %5, align 8 %11 = load i32, ptr %2, align 4 %12 = call i32 @fill_sum_divisors(ptr noundef %10, i32 noundef %11) store i32 1, ptr %6, align 4 %13 = load i32, ptr %6, align 4 %14 = load i32, ptr %2, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %.lr.ph, label %51 .lr.ph: ; preds = %1 br label %16 16: ; preds = %.lr.ph, %45 %17 = load i32, ptr %6, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i32, ptr %10, i64 %18 %20 = load i32, ptr %19, align 4 %21 = load i32, ptr %2, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %23, label %44 23: ; preds = %16 %24 = load i32, ptr %6, align 4 %25 = load i32, ptr %6, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %10, i64 %26 %28 = load i32, ptr %27, align 4 %29 = icmp ne i32 %24, %28 br i1 %29, label %30, label %44 30: ; preds = %23 %31 = load i32, ptr %6, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i32, ptr %10, i64 %32 %34 = load i32, ptr %33, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %10, i64 %35 %37 = load i32, ptr %36, align 4 %38 = load i32, ptr %6, align 4 %39 = icmp eq i32 %37, %38 br i1 %39, label %40, label %44 40: ; preds = %30 %41 = load i32, ptr %6, align 4 %42 = load i32, ptr %3, align 4 %43 = add nsw i32 %42, %41 store i32 %43, ptr %3, align 4 br label %44 44: ; preds = %40, %30, %23, %16 br label %45 45: ; preds = %44 %46 = load i32, ptr %6, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %6, align 4 %48 = load i32, ptr %6, align 4 %49 = load i32, ptr %2, align 4 %50 = icmp slt i32 %48, %49 br i1 %50, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %45 br label %51 51: ; preds = %._crit_edge, %1 %52 = load i32, ptr %3, align 4 %53 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %53) ret i32 %52 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @fill_sum_divisors(ptr noundef, i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpf1zy4rg7.c' source_filename = "/tmp/tmpf1zy4rg7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @lovrMathNoise4(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 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 %9 = load float, ptr %5, align 4 %10 = load float, ptr %6, align 4 %11 = load float, ptr %7, align 4 %12 = load float, ptr %8, align 4 %13 = call float @noise4(float noundef %9, float noundef %10, float noundef %11, float noundef %12) %14 = call float @llvm.fmuladd.f32(float %13, float 5.000000e-01, float 5.000000e-01) ret float %14 } declare float @noise4(float noundef, float noundef, float noundef, float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind 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/tmpf1zy4rg7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @lovrMathNoise4(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 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 %9 = load float, ptr %5, align 4 %10 = load float, ptr %6, align 4 %11 = load float, ptr %7, align 4 %12 = load float, ptr %8, align 4 %13 = call float @noise4(float noundef %9, float noundef %10, float noundef %11, float noundef %12) %14 = call float @llvm.fmuladd.f32(float %13, float 5.000000e-01, float 5.000000e-01) ret float %14 } declare float @noise4(float noundef, float noundef, float noundef, float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind 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/tmpjdd04ne1.c' source_filename = "/tmp/tmpjdd04ne1.c" target datalayout = "e-m:e-p270: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/tmpjdd04ne1.c" target datalayout = "e-m:e-p270: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/tmpmvpryw21.c' source_filename = "/tmp/tmpmvpryw21.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parse_cmd_jdoy(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i64, align 8 %20 = alloca i64, align 8 %21 = alloca [50 x i8], align 16 %22 = alloca [10 x i8], align 1 %23 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store i32 1, ptr %10, align 4 %24 = load ptr, ptr %6, align 8 %25 = call i64 @strlen(ptr noundef %24) %26 = trunc i64 %25 to i32 store i32 %26, ptr %12, align 4 %27 = load i32, ptr %12, align 4 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %30 29: ; preds = %4 store i32 -1, ptr %5, align 4 br label %294 30: ; preds = %4 store i32 0, ptr %17, align 4 store i32 0, ptr %11, align 4 br label %31 31: ; preds = %66, %30 %32 = load i32, ptr %17, align 4 %33 = load i32, ptr %12, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %35, label %69 35: ; preds = %31 %36 = load ptr, ptr %6, align 8 %37 = load i32, ptr %17, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %36, i64 %38 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp eq i32 %41, 45 br i1 %42, label %51, label %43 43: ; preds = %35 %44 = load ptr, ptr %6, align 8 %45 = load i32, ptr %17, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %44, i64 %46 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 %50 = icmp eq i32 %49, 32 br i1 %50, label %51, label %65 51: ; preds = %43, %35 %52 = load i32, ptr %11, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %11, align 4 %54 = load i32, ptr %11, align 4 %55 = icmp eq i32 %54, 1 br i1 %55, label %56, label %58 56: ; preds = %51 %57 = load i32, ptr %17, align 4 store i32 %57, ptr %14, align 4 br label %64 58: ; preds = %51 %59 = load i32, ptr %11, align 4 %60 = icmp eq i32 %59, 2 br i1 %60, label %61, label %63 61: ; preds = %58 %62 = load i32, ptr %17, align 4 store i32 %62, ptr %15, align 4 br label %63 63: ; preds = %61, %58 br label %64 64: ; preds = %63, %56 br label %65 65: ; preds = %64, %43 br label %66 66: ; preds = %65 %67 = load i32, ptr %17, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %17, align 4 br label %31, !llvm.loop !6 69: ; preds = %31 %70 = load i32, ptr %11, align 4 %71 = icmp eq i32 %70, 0 br i1 %71, label %72, label %196 72: ; preds = %69 %73 = load i32, ptr %12, align 4 %74 = icmp sle i32 %73, 3 br i1 %74, label %75, label %114 75: ; preds = %72 %76 = load ptr, ptr %7, align 8 store i32 0, ptr %76, align 4 %77 = load ptr, ptr %6, align 8 %78 = call i64 @atoi(ptr noundef %77) %79 = trunc i64 %78 to i32 %80 = load ptr, ptr %8, align 8 store i32 %79, ptr %80, align 4 store i64 0, ptr %20, align 8 %81 = call i64 @time(ptr noundef %20) store i64 %81, ptr %19, align 8 %82 = call ptr @ctime(ptr noundef %19) store ptr %82, ptr %23, align 8 %83 = load ptr, ptr %23, align 8 %84 = call i64 @strlen(ptr noundef %83) %85 = trunc i64 %84 to i32 store i32 %85, ptr %13, align 4 %86 = load i32, ptr %13, align 4 %87 = sub nsw i32 %86, 5 store i32 %87, ptr %18, align 4 %88 = load i32, ptr %18, align 4 store i32 %88, ptr %16, align 4 br label %89 89: ; preds = %104, %75 %90 = load i32, ptr %16, align 4 %91 = load i32, ptr %13, align 4 %92 = icmp sle i32 %90, %91 br i1 %92, label %93, label %107 93: ; preds = %89 %94 = load ptr, ptr %23, align 8 %95 = load i32, ptr %16, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds i8, ptr %94, i64 %96 %98 = load i8, ptr %97, align 1 %99 = load i32, ptr %16, align 4 %100 = load i32, ptr %18, align 4 %101 = sub nsw i32 %99, %100 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds [10 x i8], ptr %22, i64 0, i64 %102 store i8 %98, ptr %103, align 1 br label %104 104: ; preds = %93 %105 = load i32, ptr %16, align 4 %106 = add nsw i32 %105, 1 store i32 %106, ptr %16, align 4 br label %89, !llvm.loop !8 107: ; preds = %89 %108 = getelementptr inbounds [10 x i8], ptr %22, i64 0, i64 0 %109 = call i64 @atoi(ptr noundef %108) %110 = trunc i64 %109 to i32 %111 = load ptr, ptr %9, align 8 store i32 %110, ptr %111, align 4 %112 = load ptr, ptr %23, align 8 %113 = call i32 @free(ptr noundef %112) br label %195 114: ; preds = %72 store i32 0, ptr %17, align 4 br label %115 115: ; preds = %127, %114 %116 = load i32, ptr %17, align 4 %117 = icmp slt i32 %116, 4 br i1 %117, label %118, label %130 118: ; preds = %115 %119 = load ptr, ptr %6, align 8 %120 = load i32, ptr %17, align 4 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds i8, ptr %119, i64 %121 %123 = load i8, ptr %122, align 1 %124 = load i32, ptr %17, align 4 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds [50 x i8], ptr %21, i64 0, i64 %125 store i8 %123, ptr %126, align 1 br label %127 127: ; preds = %118 %128 = load i32, ptr %17, align 4 %129 = add nsw i32 %128, 1 store i32 %129, ptr %17, align 4 br label %115, !llvm.loop !9 130: ; preds = %115 %131 = getelementptr inbounds [50 x i8], ptr %21, i64 0, i64 4 store i8 0, ptr %131, align 4 %132 = getelementptr inbounds [50 x i8], ptr %21, i64 0, i64 0 %133 = call i64 @atoi(ptr noundef %132) %134 = trunc i64 %133 to i32 %135 = load ptr, ptr %9, align 8 store i32 %134, ptr %135, align 4 %136 = load i32, ptr %12, align 4 %137 = icmp eq i32 %136, 8 br i1 %137, label %138, label %165 138: ; preds = %130 %139 = load ptr, ptr %6, align 8 %140 = getelementptr inbounds i8, ptr %139, i64 4 %141 = load i8, ptr %140, align 1 %142 = getelementptr inbounds [50 x i8], ptr %21, i64 0, i64 0 store i8 %141, ptr %142, align 16 %143 = load ptr, ptr %6, align 8 %144 = getelementptr inbounds i8, ptr %143, i64 5 %145 = load i8, ptr %144, align 1 %146 = getelementptr inbounds [50 x i8], ptr %21, i64 0, i64 1 store i8 %145, ptr %146, align 1 %147 = getelementptr inbounds [50 x i8], ptr %21, i64 0, i64 2 store i8 0, ptr %147, align 2 %148 = getelementptr inbounds [50 x i8], ptr %21, i64 0, i64 0 %149 = call i64 @atoi(ptr noundef %148) %150 = trunc i64 %149 to i32 %151 = load ptr, ptr %7, align 8 store i32 %150, ptr %151, align 4 %152 = load ptr, ptr %6, align 8 %153 = getelementptr inbounds i8, ptr %152, i64 6 %154 = load i8, ptr %153, align 1 %155 = getelementptr inbounds [50 x i8], ptr %21, i64 0, i64 0 store i8 %154, ptr %155, align 16 %156 = load ptr, ptr %6, align 8 %157 = getelementptr inbounds i8, ptr %156, i64 7 %158 = load i8, ptr %157, align 1 %159 = getelementptr inbounds [50 x i8], ptr %21, i64 0, i64 1 store i8 %158, ptr %159, align 1 %160 = getelementptr inbounds [50 x i8], ptr %21, i64 0, i64 2 store i8 0, ptr %160, align 2 %161 = getelementptr inbounds [50 x i8], ptr %21, i64 0, i64 0 %162 = call i64 @atoi(ptr noundef %161) %163 = trunc i64 %162 to i32 %164 = load ptr, ptr %8, align 8 store i32 %163, ptr %164, align 4 br label %194 165: ; preds = %130 %166 = load i32, ptr %12, align 4 %167 = icmp slt i32 %166, 8 br i1 %167, label %168, label %192 168: ; preds = %165 %169 = load ptr, ptr %7, align 8 store i32 0, ptr %169, align 4 store i32 4, ptr %17, align 4 br label %170 170: ; preds = %184, %168 %171 = load i32, ptr %17, align 4 %172 = load i32, ptr %12, align 4 %173 = icmp sle i32 %171, %172 br i1 %173, label %174, label %187 174: ; preds = %170 %175 = load ptr, ptr %6, align 8 %176 = load i32, ptr %17, align 4 %177 = sext i32 %176 to i64 %178 = getelementptr inbounds i8, ptr %175, i64 %177 %179 = load i8, ptr %178, align 1 %180 = load i32, ptr %17, align 4 %181 = sub nsw i32 %180, 4 %182 = sext i32 %181 to i64 %183 = getelementptr inbounds [50 x i8], ptr %21, i64 0, i64 %182 store i8 %179, ptr %183, align 1 br label %184 184: ; preds = %174 %185 = load i32, ptr %17, align 4 %186 = add nsw i32 %185, 1 store i32 %186, ptr %17, align 4 br label %170, !llvm.loop !10 187: ; preds = %170 %188 = getelementptr inbounds [50 x i8], ptr %21, i64 0, i64 0 %189 = call i64 @atoi(ptr noundef %188) %190 = trunc i64 %189 to i32 %191 = load ptr, ptr %8, align 8 store i32 %190, ptr %191, align 4 br label %193 192: ; preds = %165 store i32 -1, ptr %10, align 4 br label %193 193: ; preds = %192, %187 br label %194 194: ; preds = %193, %138 br label %195 195: ; preds = %194, %107 br label %292 196: ; preds = %69 %197 = load i32, ptr %11, align 4 %198 = icmp eq i32 %197, 1 br i1 %198, label %202, label %199 199: ; preds = %196 %200 = load i32, ptr %11, align 4 %201 = icmp eq i32 %200, 2 br i1 %201, label %202, label %290 202: ; preds = %199, %196 store i32 0, ptr %17, align 4 br label %203 203: ; preds = %216, %202 %204 = load i32, ptr %17, align 4 %205 = load i32, ptr %14, align 4 %206 = icmp slt i32 %204, %205 br i1 %206, label %207, label %219 207: ; preds = %203 %208 = load ptr, ptr %6, align 8 %209 = load i32, ptr %17, align 4 %210 = sext i32 %209 to i64 %211 = getelementptr inbounds i8, ptr %208, i64 %210 %212 = load i8, ptr %211, align 1 %213 = load i32, ptr %17, align 4 %214 = sext i32 %213 to i64 %215 = getelementptr inbounds [50 x i8], ptr %21, i64 0, i64 %214 store i8 %212, ptr %215, align 1 br label %216 216: ; preds = %207 %217 = load i32, ptr %17, align 4 %218 = add nsw i32 %217, 1 store i32 %218, ptr %17, align 4 br label %203, !llvm.loop !11 219: ; preds = %203 %220 = load i32, ptr %17, align 4 %221 = sext i32 %220 to i64 %222 = getelementptr inbounds [50 x i8], ptr %21, i64 0, i64 %221 store i8 0, ptr %222, align 1 %223 = getelementptr inbounds [50 x i8], ptr %21, i64 0, i64 0 %224 = call i64 @atoi(ptr noundef %223) %225 = trunc i64 %224 to i32 %226 = load ptr, ptr %9, align 8 store i32 %225, ptr %226, align 4 %227 = load i32, ptr %14, align 4 %228 = add nsw i32 %227, 1 store i32 %228, ptr %14, align 4 %229 = load i32, ptr %11, align 4 %230 = icmp eq i32 %229, 1 br i1 %230, label %231, label %233 231: ; preds = %219 %232 = load ptr, ptr %7, align 8 store i32 0, ptr %232, align 4 br label %265 233: ; preds = %219 %234 = load i32, ptr %14, align 4 store i32 %234, ptr %17, align 4 br label %235 235: ; preds = %250, %233 %236 = load i32, ptr %17, align 4 %237 = load i32, ptr %15, align 4 %238 = icmp slt i32 %236, %237 br i1 %238, label %239, label %253 239: ; preds = %235 %240 = load ptr, ptr %6, align 8 %241 = load i32, ptr %17, align 4 %242 = sext i32 %241 to i64 %243 = getelementptr inbounds i8, ptr %240, i64 %242 %244 = load i8, ptr %243, align 1 %245 = load i32, ptr %17, align 4 %246 = load i32, ptr %14, align 4 %247 = sub nsw i32 %245, %246 %248 = sext i32 %247 to i64 %249 = getelementptr inbounds [50 x i8], ptr %21, i64 0, i64 %248 store i8 %244, ptr %249, align 1 br label %250 250: ; preds = %239 %251 = load i32, ptr %17, align 4 %252 = add nsw i32 %251, 1 store i32 %252, ptr %17, align 4 br label %235, !llvm.loop !12 253: ; preds = %235 %254 = load i32, ptr %17, align 4 %255 = load i32, ptr %14, align 4 %256 = sub nsw i32 %254, %255 %257 = sext i32 %256 to i64 %258 = getelementptr inbounds [50 x i8], ptr %21, i64 0, i64 %257 store i8 0, ptr %258, align 1 %259 = getelementptr inbounds [50 x i8], ptr %21, i64 0, i64 0 %260 = call i64 @atoi(ptr noundef %259) %261 = trunc i64 %260 to i32 %262 = load ptr, ptr %7, align 8 store i32 %261, ptr %262, align 4 %263 = load i32, ptr %15, align 4 %264 = add nsw i32 %263, 1 store i32 %264, ptr %14, align 4 br label %265 265: ; preds = %253, %231 %266 = load i32, ptr %14, align 4 store i32 %266, ptr %17, align 4 br label %267 267: ; preds = %282, %265 %268 = load i32, ptr %17, align 4 %269 = load i32, ptr %12, align 4 %270 = icmp sle i32 %268, %269 br i1 %270, label %271, label %285 271: ; preds = %267 %272 = load ptr, ptr %6, align 8 %273 = load i32, ptr %17, align 4 %274 = sext i32 %273 to i64 %275 = getelementptr inbounds i8, ptr %272, i64 %274 %276 = load i8, ptr %275, align 1 %277 = load i32, ptr %17, align 4 %278 = load i32, ptr %14, align 4 %279 = sub nsw i32 %277, %278 %280 = sext i32 %279 to i64 %281 = getelementptr inbounds [50 x i8], ptr %21, i64 0, i64 %280 store i8 %276, ptr %281, align 1 br label %282 282: ; preds = %271 %283 = load i32, ptr %17, align 4 %284 = add nsw i32 %283, 1 store i32 %284, ptr %17, align 4 br label %267, !llvm.loop !13 285: ; preds = %267 %286 = getelementptr inbounds [50 x i8], ptr %21, i64 0, i64 0 %287 = call i64 @atoi(ptr noundef %286) %288 = trunc i64 %287 to i32 %289 = load ptr, ptr %8, align 8 store i32 %288, ptr %289, align 4 br label %291 290: ; preds = %199 store i32 -1, ptr %10, align 4 br label %291 291: ; preds = %290, %285 br label %292 292: ; preds = %291, %195 %293 = load i32, ptr %10, align 4 store i32 %293, ptr %5, align 4 br label %294 294: ; preds = %292, %29 %295 = load i32, ptr %5, align 4 ret i32 %295 } declare i64 @strlen(ptr noundef) #1 declare i64 @atoi(ptr noundef) #1 declare i64 @time(ptr noundef) #1 declare ptr @ctime(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} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmvpryw21.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parse_cmd_jdoy(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i64, align 8 %20 = alloca i64, align 8 %21 = alloca [50 x i8], align 16 %22 = alloca [10 x i8], align 1 %23 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store i32 1, ptr %10, align 4 %24 = load ptr, ptr %6, align 8 %25 = call i64 @strlen(ptr noundef %24) %26 = trunc i64 %25 to i32 store i32 %26, ptr %12, align 4 %27 = load i32, ptr %12, align 4 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %30 29: ; preds = %4 store i32 -1, ptr %5, align 4 br label %307 30: ; preds = %4 store i32 0, ptr %17, align 4 store i32 0, ptr %11, align 4 %31 = load i32, ptr %17, align 4 %32 = load i32, ptr %12, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %.lr.ph, label %71 .lr.ph: ; preds = %30 br label %34 34: ; preds = %.lr.ph, %65 %35 = load ptr, ptr %6, align 8 %36 = load i32, ptr %17, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp eq i32 %40, 45 br i1 %41, label %50, label %42 42: ; preds = %34 %43 = load ptr, ptr %6, align 8 %44 = load i32, ptr %17, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i8, ptr %43, i64 %45 %47 = load i8, ptr %46, align 1 %48 = sext i8 %47 to i32 %49 = icmp eq i32 %48, 32 br i1 %49, label %50, label %64 50: ; preds = %42, %34 %51 = load i32, ptr %11, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %11, align 4 %53 = load i32, ptr %11, align 4 %54 = icmp eq i32 %53, 1 br i1 %54, label %55, label %57 55: ; preds = %50 %56 = load i32, ptr %17, align 4 store i32 %56, ptr %14, align 4 br label %63 57: ; preds = %50 %58 = load i32, ptr %11, align 4 %59 = icmp eq i32 %58, 2 br i1 %59, label %60, label %62 60: ; preds = %57 %61 = load i32, ptr %17, align 4 store i32 %61, ptr %15, align 4 br label %62 62: ; preds = %60, %57 br label %63 63: ; preds = %62, %55 br label %64 64: ; preds = %63, %42 br label %65 65: ; preds = %64 %66 = load i32, ptr %17, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %17, align 4 %68 = load i32, ptr %17, align 4 %69 = load i32, ptr %12, align 4 %70 = icmp slt i32 %68, %69 br i1 %70, label %34, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %65 br label %71 71: ; preds = %._crit_edge, %30 %72 = load i32, ptr %11, align 4 %73 = icmp eq i32 %72, 0 br i1 %73, label %74, label %203 74: ; preds = %71 %75 = load i32, ptr %12, align 4 %76 = icmp sle i32 %75, 3 br i1 %76, label %77, label %118 77: ; preds = %74 %78 = load ptr, ptr %7, align 8 store i32 0, ptr %78, align 4 %79 = load ptr, ptr %6, align 8 %80 = call i64 @atoi(ptr noundef %79) %81 = trunc i64 %80 to i32 %82 = load ptr, ptr %8, align 8 store i32 %81, ptr %82, align 4 store i64 0, ptr %20, align 8 %83 = call i64 @time(ptr noundef %20) store i64 %83, ptr %19, align 8 %84 = call ptr @ctime(ptr noundef %19) store ptr %84, ptr %23, align 8 %85 = load ptr, ptr %23, align 8 %86 = call i64 @strlen(ptr noundef %85) %87 = trunc i64 %86 to i32 store i32 %87, ptr %13, align 4 %88 = load i32, ptr %13, align 4 %89 = sub nsw i32 %88, 5 store i32 %89, ptr %18, align 4 %90 = load i32, ptr %18, align 4 store i32 %90, ptr %16, align 4 %91 = load i32, ptr %16, align 4 %92 = load i32, ptr %13, align 4 %93 = icmp sle i32 %91, %92 br i1 %93, label %.lr.ph17, label %111 .lr.ph17: ; preds = %77 br label %94 94: ; preds = %.lr.ph17, %105 %95 = load ptr, ptr %23, align 8 %96 = load i32, ptr %16, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds i8, ptr %95, i64 %97 %99 = load i8, ptr %98, align 1 %100 = load i32, ptr %16, align 4 %101 = load i32, ptr %18, align 4 %102 = sub nsw i32 %100, %101 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds [10 x i8], ptr %22, i64 0, i64 %103 store i8 %99, ptr %104, align 1 br label %105 105: ; preds = %94 %106 = load i32, ptr %16, align 4 %107 = add nsw i32 %106, 1 store i32 %107, ptr %16, align 4 %108 = load i32, ptr %16, align 4 %109 = load i32, ptr %13, align 4 %110 = icmp sle i32 %108, %109 br i1 %110, label %94, label %._crit_edge18, !llvm.loop !8 ._crit_edge18: ; preds = %105 br label %111 111: ; preds = %._crit_edge18, %77 %112 = getelementptr inbounds [10 x i8], ptr %22, i64 0, i64 0 %113 = call i64 @atoi(ptr noundef %112) %114 = trunc i64 %113 to i32 %115 = load ptr, ptr %9, align 8 store i32 %114, ptr %115, align 4 %116 = load ptr, ptr %23, align 8 %117 = call i32 @free(ptr noundef %116) br label %202 118: ; preds = %74 store i32 0, ptr %17, align 4 %119 = load i32, ptr %17, align 4 %120 = icmp slt i32 %119, 4 br i1 %120, label %.lr.ph11, label %135 .lr.ph11: ; preds = %118 br label %121 121: ; preds = %.lr.ph11, %130 %122 = load ptr, ptr %6, align 8 %123 = load i32, ptr %17, align 4 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds i8, ptr %122, i64 %124 %126 = load i8, ptr %125, align 1 %127 = load i32, ptr %17, align 4 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds [50 x i8], ptr %21, i64 0, i64 %128 store i8 %126, ptr %129, align 1 br label %130 130: ; preds = %121 %131 = load i32, ptr %17, align 4 %132 = add nsw i32 %131, 1 store i32 %132, ptr %17, align 4 %133 = load i32, ptr %17, align 4 %134 = icmp slt i32 %133, 4 br i1 %134, label %121, label %._crit_edge12, !llvm.loop !9 ._crit_edge12: ; preds = %130 br label %135 135: ; preds = %._crit_edge12, %118 %136 = getelementptr inbounds [50 x i8], ptr %21, i64 0, i64 4 store i8 0, ptr %136, align 4 %137 = getelementptr inbounds [50 x i8], ptr %21, i64 0, i64 0 %138 = call i64 @atoi(ptr noundef %137) %139 = trunc i64 %138 to i32 %140 = load ptr, ptr %9, align 8 store i32 %139, ptr %140, align 4 %141 = load i32, ptr %12, align 4 %142 = icmp eq i32 %141, 8 br i1 %142, label %143, label %170 143: ; preds = %135 %144 = load ptr, ptr %6, align 8 %145 = getelementptr inbounds i8, ptr %144, i64 4 %146 = load i8, ptr %145, align 1 %147 = getelementptr inbounds [50 x i8], ptr %21, i64 0, i64 0 store i8 %146, ptr %147, align 16 %148 = load ptr, ptr %6, align 8 %149 = getelementptr inbounds i8, ptr %148, i64 5 %150 = load i8, ptr %149, align 1 %151 = getelementptr inbounds [50 x i8], ptr %21, i64 0, i64 1 store i8 %150, ptr %151, align 1 %152 = getelementptr inbounds [50 x i8], ptr %21, i64 0, i64 2 store i8 0, ptr %152, align 2 %153 = getelementptr inbounds [50 x i8], ptr %21, i64 0, i64 0 %154 = call i64 @atoi(ptr noundef %153) %155 = trunc i64 %154 to i32 %156 = load ptr, ptr %7, align 8 store i32 %155, ptr %156, align 4 %157 = load ptr, ptr %6, align 8 %158 = getelementptr inbounds i8, ptr %157, i64 6 %159 = load i8, ptr %158, align 1 %160 = getelementptr inbounds [50 x i8], ptr %21, i64 0, i64 0 store i8 %159, ptr %160, align 16 %161 = load ptr, ptr %6, align 8 %162 = getelementptr inbounds i8, ptr %161, i64 7 %163 = load i8, ptr %162, align 1 %164 = getelementptr inbounds [50 x i8], ptr %21, i64 0, i64 1 store i8 %163, ptr %164, align 1 %165 = getelementptr inbounds [50 x i8], ptr %21, i64 0, i64 2 store i8 0, ptr %165, align 2 %166 = getelementptr inbounds [50 x i8], ptr %21, i64 0, i64 0 %167 = call i64 @atoi(ptr noundef %166) %168 = trunc i64 %167 to i32 %169 = load ptr, ptr %8, align 8 store i32 %168, ptr %169, align 4 br label %201 170: ; preds = %135 %171 = load i32, ptr %12, align 4 %172 = icmp slt i32 %171, 8 br i1 %172, label %173, label %199 173: ; preds = %170 %174 = load ptr, ptr %7, align 8 store i32 0, ptr %174, align 4 store i32 4, ptr %17, align 4 %175 = load i32, ptr %17, align 4 %176 = load i32, ptr %12, align 4 %177 = icmp sle i32 %175, %176 br i1 %177, label %.lr.ph14, label %194 .lr.ph14: ; preds = %173 br label %178 178: ; preds = %.lr.ph14, %188 %179 = load ptr, ptr %6, align 8 %180 = load i32, ptr %17, align 4 %181 = sext i32 %180 to i64 %182 = getelementptr inbounds i8, ptr %179, i64 %181 %183 = load i8, ptr %182, align 1 %184 = load i32, ptr %17, align 4 %185 = sub nsw i32 %184, 4 %186 = sext i32 %185 to i64 %187 = getelementptr inbounds [50 x i8], ptr %21, i64 0, i64 %186 store i8 %183, ptr %187, align 1 br label %188 188: ; preds = %178 %189 = load i32, ptr %17, align 4 %190 = add nsw i32 %189, 1 store i32 %190, ptr %17, align 4 %191 = load i32, ptr %17, align 4 %192 = load i32, ptr %12, align 4 %193 = icmp sle i32 %191, %192 br i1 %193, label %178, label %._crit_edge15, !llvm.loop !10 ._crit_edge15: ; preds = %188 br label %194 194: ; preds = %._crit_edge15, %173 %195 = getelementptr inbounds [50 x i8], ptr %21, i64 0, i64 0 %196 = call i64 @atoi(ptr noundef %195) %197 = trunc i64 %196 to i32 %198 = load ptr, ptr %8, align 8 store i32 %197, ptr %198, align 4 br label %200 199: ; preds = %170 store i32 -1, ptr %10, align 4 br label %200 200: ; preds = %199, %194 br label %201 201: ; preds = %200, %143 br label %202 202: ; preds = %201, %111 br label %305 203: ; preds = %71 %204 = load i32, ptr %11, align 4 %205 = icmp eq i32 %204, 1 br i1 %205, label %209, label %206 206: ; preds = %203 %207 = load i32, ptr %11, align 4 %208 = icmp eq i32 %207, 2 br i1 %208, label %209, label %303 209: ; preds = %206, %203 store i32 0, ptr %17, align 4 %210 = load i32, ptr %17, align 4 %211 = load i32, ptr %14, align 4 %212 = icmp slt i32 %210, %211 br i1 %212, label %.lr.ph2, label %228 .lr.ph2: ; preds = %209 br label %213 213: ; preds = %.lr.ph2, %222 %214 = load ptr, ptr %6, align 8 %215 = load i32, ptr %17, align 4 %216 = sext i32 %215 to i64 %217 = getelementptr inbounds i8, ptr %214, i64 %216 %218 = load i8, ptr %217, align 1 %219 = load i32, ptr %17, align 4 %220 = sext i32 %219 to i64 %221 = getelementptr inbounds [50 x i8], ptr %21, i64 0, i64 %220 store i8 %218, ptr %221, align 1 br label %222 222: ; preds = %213 %223 = load i32, ptr %17, align 4 %224 = add nsw i32 %223, 1 store i32 %224, ptr %17, align 4 %225 = load i32, ptr %17, align 4 %226 = load i32, ptr %14, align 4 %227 = icmp slt i32 %225, %226 br i1 %227, label %213, label %._crit_edge3, !llvm.loop !11 ._crit_edge3: ; preds = %222 br label %228 228: ; preds = %._crit_edge3, %209 %229 = load i32, ptr %17, align 4 %230 = sext i32 %229 to i64 %231 = getelementptr inbounds [50 x i8], ptr %21, i64 0, i64 %230 store i8 0, ptr %231, align 1 %232 = getelementptr inbounds [50 x i8], ptr %21, i64 0, i64 0 %233 = call i64 @atoi(ptr noundef %232) %234 = trunc i64 %233 to i32 %235 = load ptr, ptr %9, align 8 store i32 %234, ptr %235, align 4 %236 = load i32, ptr %14, align 4 %237 = add nsw i32 %236, 1 store i32 %237, ptr %14, align 4 %238 = load i32, ptr %11, align 4 %239 = icmp eq i32 %238, 1 br i1 %239, label %240, label %242 240: ; preds = %228 %241 = load ptr, ptr %7, align 8 store i32 0, ptr %241, align 4 br label %276 242: ; preds = %228 %243 = load i32, ptr %14, align 4 store i32 %243, ptr %17, align 4 %244 = load i32, ptr %17, align 4 %245 = load i32, ptr %15, align 4 %246 = icmp slt i32 %244, %245 br i1 %246, label %.lr.ph5, label %264 .lr.ph5: ; preds = %242 br label %247 247: ; preds = %.lr.ph5, %258 %248 = load ptr, ptr %6, align 8 %249 = load i32, ptr %17, align 4 %250 = sext i32 %249 to i64 %251 = getelementptr inbounds i8, ptr %248, i64 %250 %252 = load i8, ptr %251, align 1 %253 = load i32, ptr %17, align 4 %254 = load i32, ptr %14, align 4 %255 = sub nsw i32 %253, %254 %256 = sext i32 %255 to i64 %257 = getelementptr inbounds [50 x i8], ptr %21, i64 0, i64 %256 store i8 %252, ptr %257, align 1 br label %258 258: ; preds = %247 %259 = load i32, ptr %17, align 4 %260 = add nsw i32 %259, 1 store i32 %260, ptr %17, align 4 %261 = load i32, ptr %17, align 4 %262 = load i32, ptr %15, align 4 %263 = icmp slt i32 %261, %262 br i1 %263, label %247, label %._crit_edge6, !llvm.loop !12 ._crit_edge6: ; preds = %258 br label %264 264: ; preds = %._crit_edge6, %242 %265 = load i32, ptr %17, align 4 %266 = load i32, ptr %14, align 4 %267 = sub nsw i32 %265, %266 %268 = sext i32 %267 to i64 %269 = getelementptr inbounds [50 x i8], ptr %21, i64 0, i64 %268 store i8 0, ptr %269, align 1 %270 = getelementptr inbounds [50 x i8], ptr %21, i64 0, i64 0 %271 = call i64 @atoi(ptr noundef %270) %272 = trunc i64 %271 to i32 %273 = load ptr, ptr %7, align 8 store i32 %272, ptr %273, align 4 %274 = load i32, ptr %15, align 4 %275 = add nsw i32 %274, 1 store i32 %275, ptr %14, align 4 br label %276 276: ; preds = %264, %240 %277 = load i32, ptr %14, align 4 store i32 %277, ptr %17, align 4 %278 = load i32, ptr %17, align 4 %279 = load i32, ptr %12, align 4 %280 = icmp sle i32 %278, %279 br i1 %280, label %.lr.ph8, label %298 .lr.ph8: ; preds = %276 br label %281 281: ; preds = %.lr.ph8, %292 %282 = load ptr, ptr %6, align 8 %283 = load i32, ptr %17, align 4 %284 = sext i32 %283 to i64 %285 = getelementptr inbounds i8, ptr %282, i64 %284 %286 = load i8, ptr %285, align 1 %287 = load i32, ptr %17, align 4 %288 = load i32, ptr %14, align 4 %289 = sub nsw i32 %287, %288 %290 = sext i32 %289 to i64 %291 = getelementptr inbounds [50 x i8], ptr %21, i64 0, i64 %290 store i8 %286, ptr %291, align 1 br label %292 292: ; preds = %281 %293 = load i32, ptr %17, align 4 %294 = add nsw i32 %293, 1 store i32 %294, ptr %17, align 4 %295 = load i32, ptr %17, align 4 %296 = load i32, ptr %12, align 4 %297 = icmp sle i32 %295, %296 br i1 %297, label %281, label %._crit_edge9, !llvm.loop !13 ._crit_edge9: ; preds = %292 br label %298 298: ; preds = %._crit_edge9, %276 %299 = getelementptr inbounds [50 x i8], ptr %21, i64 0, i64 0 %300 = call i64 @atoi(ptr noundef %299) %301 = trunc i64 %300 to i32 %302 = load ptr, ptr %8, align 8 store i32 %301, ptr %302, align 4 br label %304 303: ; preds = %206 store i32 -1, ptr %10, align 4 br label %304 304: ; preds = %303, %298 br label %305 305: ; preds = %304, %202 %306 = load i32, ptr %10, align 4 store i32 %306, ptr %5, align 4 br label %307 307: ; preds = %305, %29 %308 = load i32, ptr %5, align 4 ret i32 %308 } declare i64 @strlen(ptr noundef) #1 declare i64 @atoi(ptr noundef) #1 declare i64 @time(ptr noundef) #1 declare ptr @ctime(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} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7}
; ModuleID = '/tmp/tmpkc2fpoaa.c' source_filename = "/tmp/tmpkc2fpoaa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @run_thread(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 br label %3 3: ; preds = %1, %3 %4 = call i32 @sleep(i32 noundef 10) br label %3 } declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkc2fpoaa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @run_thread(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 br label %3 3: ; preds = %3, %1 %4 = call i32 @sleep(i32 noundef 10) br label %3 } declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpywsbbc1q.c' source_filename = "/tmp/tmpywsbbc1q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @opcb_96() #0 { %1 = call i32 @res_hl(i32 noundef 2) ret void } declare i32 @res_hl(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/tmpywsbbc1q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @opcb_96() #0 { %1 = call i32 @res_hl(i32 noundef 2) ret void } declare i32 @res_hl(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/tmp7jvbfp5s.c' source_filename = "/tmp/tmp7jvbfp5s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MIN = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @transpose(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %10 = load i32, ptr @INT_MIN, align 4 store i32 %10, ptr %7, align 4 store i32 0, ptr %8, align 4 br label %11 11: ; preds = %45, %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 %48 15: ; preds = %11 store i32 0, ptr %9, align 4 br label %16 16: ; preds = %41, %15 %17 = load i32, ptr %9, align 4 %18 = load i32, ptr %6, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %44 20: ; preds = %16 %21 = load i32, ptr %8, align 4 %22 = load i32, ptr %9, align 4 %23 = icmp sgt i32 %21, %22 br i1 %23, label %24, label %40 24: ; preds = %20 %25 = load ptr, ptr %4, align 8 %26 = load i32, ptr %8, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [10 x i32], ptr %25, i64 %27 %29 = load i32, ptr %9, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [10 x i32], ptr %28, i64 0, i64 %30 %32 = load ptr, ptr %4, align 8 %33 = load i32, ptr %9, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [10 x i32], ptr %32, i64 %34 %36 = load i32, ptr %8, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [10 x i32], ptr %35, i64 0, i64 %37 %39 = call i32 @swap(ptr noundef %31, ptr noundef %38) br label %40 40: ; preds = %24, %20 br label %41 41: ; preds = %40 %42 = load i32, ptr %9, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %9, align 4 br label %16, !llvm.loop !6 44: ; preds = %16 br label %45 45: ; preds = %44 %46 = load i32, ptr %8, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %8, align 4 br label %11, !llvm.loop !8 48: ; preds = %11 %49 = load i32, ptr %7, align 4 ret i32 %49 } 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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7jvbfp5s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MIN = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @transpose(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %10 = load i32, ptr @INT_MIN, align 4 store i32 %10, ptr %7, align 4 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.ph2, label %52 .lr.ph2: ; preds = %3 br label %14 14: ; preds = %.lr.ph2, %46 store i32 0, ptr %9, align 4 %15 = load i32, ptr %9, align 4 %16 = load i32, ptr %6, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %45 .lr.ph: ; preds = %14 br label %18 18: ; preds = %.lr.ph, %39 %19 = load i32, ptr %8, align 4 %20 = load i32, ptr %9, align 4 %21 = icmp sgt i32 %19, %20 br i1 %21, label %22, label %38 22: ; preds = %18 %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %8, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [10 x i32], ptr %23, i64 %25 %27 = load i32, ptr %9, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [10 x i32], ptr %26, i64 0, i64 %28 %30 = load ptr, ptr %4, align 8 %31 = load i32, ptr %9, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [10 x i32], ptr %30, i64 %32 %34 = load i32, ptr %8, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [10 x i32], ptr %33, i64 0, i64 %35 %37 = call i32 @swap(ptr noundef %29, ptr noundef %36) br label %38 38: ; preds = %22, %18 br label %39 39: ; preds = %38 %40 = load i32, ptr %9, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %9, align 4 %42 = load i32, ptr %9, align 4 %43 = load i32, ptr %6, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %39 br label %45 45: ; preds = %._crit_edge, %14 br label %46 46: ; preds = %45 %47 = load i32, ptr %8, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %8, align 4 %49 = load i32, ptr %8, align 4 %50 = load i32, ptr %5, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %14, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %46 br label %52 52: ; preds = %._crit_edge3, %3 %53 = load i32, ptr %7, align 4 ret i32 %53 } 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}
; ModuleID = '/tmp/tmpe4_ee141.c' source_filename = "/tmp/tmpe4_ee141.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @make_movement_on_puzzle(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %13 = load i32, ptr %8, align 4 %14 = load i32, ptr %9, align 4 %15 = call i32 @on_puzzle(i32 noundef %13, i32 noundef %14) %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %58 17: ; preds = %4 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 %18 = load i32, ptr %7, align 4 switch i32 %18, label %47 [ i32 1, label %19 i32 2, label %26 i32 3, label %33 i32 4, label %40 ] 19: ; preds = %17 %20 = load i32, ptr %8, align 4 %21 = sub nsw i32 %20, 1 store i32 %21, ptr %11, align 4 %22 = load i32, ptr %9, align 4 store i32 %22, ptr %12, align 4 %23 = load i32, ptr %11, align 4 %24 = load i32, ptr %12, align 4 %25 = call i32 @on_puzzle(i32 noundef %23, i32 noundef %24) store i32 %25, ptr %10, align 4 br label %47 26: ; preds = %17 %27 = load i32, ptr %8, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %11, align 4 %29 = load i32, ptr %9, align 4 store i32 %29, ptr %12, align 4 %30 = load i32, ptr %11, align 4 %31 = load i32, ptr %12, align 4 %32 = call i32 @on_puzzle(i32 noundef %30, i32 noundef %31) store i32 %32, ptr %10, align 4 br label %47 33: ; preds = %17 %34 = load i32, ptr %8, align 4 store i32 %34, ptr %11, align 4 %35 = load i32, ptr %9, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %12, align 4 %37 = load i32, ptr %11, align 4 %38 = load i32, ptr %12, align 4 %39 = call i32 @on_puzzle(i32 noundef %37, i32 noundef %38) store i32 %39, ptr %10, align 4 br label %47 40: ; preds = %17 %41 = load i32, ptr %8, align 4 store i32 %41, ptr %11, align 4 %42 = load i32, ptr %9, align 4 %43 = sub nsw i32 %42, 1 store i32 %43, ptr %12, align 4 %44 = load i32, ptr %11, align 4 %45 = load i32, ptr %12, align 4 %46 = call i32 @on_puzzle(i32 noundef %44, i32 noundef %45) store i32 %46, ptr %10, align 4 br label %47 47: ; preds = %17, %40, %33, %26, %19 %48 = load i32, ptr %10, align 4 %49 = icmp ne i32 %48, 0 br i1 %49, label %51, label %50 50: ; preds = %47 store i32 -1, ptr %5, align 4 br label %59 51: ; preds = %47 %52 = load ptr, ptr %6, align 8 %53 = load i32, ptr %8, align 4 %54 = load i32, ptr %9, align 4 %55 = load i32, ptr %11, align 4 %56 = load i32, ptr %12, align 4 %57 = call i32 @swap_on_puzzle(ptr noundef %52, i32 noundef %53, i32 noundef %54, i32 noundef %55, i32 noundef %56) store i32 1, ptr %5, align 4 br label %59 58: ; preds = %4 store i32 0, ptr %5, align 4 br label %59 59: ; preds = %58, %51, %50 %60 = load i32, ptr %5, align 4 ret i32 %60 } declare i32 @on_puzzle(i32 noundef, i32 noundef) #1 declare i32 @swap_on_puzzle(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe4_ee141.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @make_movement_on_puzzle(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %13 = load i32, ptr %8, align 4 %14 = load i32, ptr %9, align 4 %15 = call i32 @on_puzzle(i32 noundef %13, i32 noundef %14) %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %58 17: ; preds = %4 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 %18 = load i32, ptr %7, align 4 switch i32 %18, label %47 [ i32 1, label %19 i32 2, label %26 i32 3, label %33 i32 4, label %40 ] 19: ; preds = %17 %20 = load i32, ptr %8, align 4 %21 = sub nsw i32 %20, 1 store i32 %21, ptr %11, align 4 %22 = load i32, ptr %9, align 4 store i32 %22, ptr %12, align 4 %23 = load i32, ptr %11, align 4 %24 = load i32, ptr %12, align 4 %25 = call i32 @on_puzzle(i32 noundef %23, i32 noundef %24) store i32 %25, ptr %10, align 4 br label %47 26: ; preds = %17 %27 = load i32, ptr %8, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %11, align 4 %29 = load i32, ptr %9, align 4 store i32 %29, ptr %12, align 4 %30 = load i32, ptr %11, align 4 %31 = load i32, ptr %12, align 4 %32 = call i32 @on_puzzle(i32 noundef %30, i32 noundef %31) store i32 %32, ptr %10, align 4 br label %47 33: ; preds = %17 %34 = load i32, ptr %8, align 4 store i32 %34, ptr %11, align 4 %35 = load i32, ptr %9, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %12, align 4 %37 = load i32, ptr %11, align 4 %38 = load i32, ptr %12, align 4 %39 = call i32 @on_puzzle(i32 noundef %37, i32 noundef %38) store i32 %39, ptr %10, align 4 br label %47 40: ; preds = %17 %41 = load i32, ptr %8, align 4 store i32 %41, ptr %11, align 4 %42 = load i32, ptr %9, align 4 %43 = sub nsw i32 %42, 1 store i32 %43, ptr %12, align 4 %44 = load i32, ptr %11, align 4 %45 = load i32, ptr %12, align 4 %46 = call i32 @on_puzzle(i32 noundef %44, i32 noundef %45) store i32 %46, ptr %10, align 4 br label %47 47: ; preds = %40, %33, %26, %19, %17 %48 = load i32, ptr %10, align 4 %49 = icmp ne i32 %48, 0 br i1 %49, label %51, label %50 50: ; preds = %47 store i32 -1, ptr %5, align 4 br label %59 51: ; preds = %47 %52 = load ptr, ptr %6, align 8 %53 = load i32, ptr %8, align 4 %54 = load i32, ptr %9, align 4 %55 = load i32, ptr %11, align 4 %56 = load i32, ptr %12, align 4 %57 = call i32 @swap_on_puzzle(ptr noundef %52, i32 noundef %53, i32 noundef %54, i32 noundef %55, i32 noundef %56) store i32 1, ptr %5, align 4 br label %59 58: ; preds = %4 store i32 0, ptr %5, align 4 br label %59 59: ; preds = %58, %51, %50 %60 = load i32, ptr %5, align 4 ret i32 %60 } declare i32 @on_puzzle(i32 noundef, i32 noundef) #1 declare i32 @swap_on_puzzle(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgq7ycpnj.c' source_filename = "/tmp/tmpgq7ycpnj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__gadgetdestroy() #0 { %1 = call i32 (...) @gadgetclose() ret void } declare i32 @gadgetclose(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgq7ycpnj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__gadgetdestroy() #0 { %1 = call i32 (...) @gadgetclose() ret void } declare i32 @gadgetclose(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpysofh2np.c' source_filename = "/tmp/tmpysofh2np.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RTC(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 ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %4, align 4 %11 = call i32 @TC(ptr noundef %9, i32 noundef %10) %12 = load i32, ptr %4, align 4 %13 = add nsw i32 %12, 31 %14 = sdiv i32 %13, 32 %15 = sext i32 %14 to i64 %16 = mul i64 %15, 4 %17 = trunc i64 %16 to i32 store i32 %17, ptr %5, align 4 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %4, align 4 %20 = load i32, ptr %5, align 4 %21 = mul nsw i32 %19, %20 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %18, i64 %22 store ptr %23, ptr %8, align 8 store i32 1, ptr %6, align 4 %24 = load ptr, ptr %3, align 8 store ptr %24, ptr %7, align 8 br label %25 25: ; preds = %41, %2 %26 = load ptr, ptr %7, align 8 %27 = load ptr, ptr %8, align 8 %28 = icmp ult ptr %26, %27 br i1 %28, label %29, label %46 29: ; preds = %25 %30 = load i32, ptr %6, align 4 %31 = load ptr, ptr %7, align 8 %32 = load i32, ptr %31, align 4 %33 = or i32 %32, %30 store i32 %33, ptr %31, align 4 %34 = load i32, ptr %6, align 4 %35 = shl i32 %34, 1 store i32 %35, ptr %6, align 4 %36 = load i32, ptr %6, align 4 %37 = icmp eq i32 %36, 0 br i1 %37, label %38, label %41 38: ; preds = %29 store i32 1, ptr %6, align 4 %39 = load ptr, ptr %7, align 8 %40 = getelementptr inbounds i32, ptr %39, i32 1 store ptr %40, ptr %7, align 8 br label %41 41: ; preds = %38, %29 %42 = load ptr, ptr %7, align 8 %43 = load i32, ptr %5, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %42, i64 %44 store ptr %45, ptr %7, align 8 br label %25, !llvm.loop !6 46: ; preds = %25 ret void } declare i32 @TC(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/tmpysofh2np.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RTC(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 ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %4, align 4 %11 = call i32 @TC(ptr noundef %9, i32 noundef %10) %12 = load i32, ptr %4, align 4 %13 = add nsw i32 %12, 31 %14 = sdiv i32 %13, 32 %15 = sext i32 %14 to i64 %16 = mul i64 %15, 4 %17 = trunc i64 %16 to i32 store i32 %17, ptr %5, align 4 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %4, align 4 %20 = load i32, ptr %5, align 4 %21 = mul nsw i32 %19, %20 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %18, i64 %22 store ptr %23, ptr %8, align 8 store i32 1, ptr %6, align 4 %24 = load ptr, ptr %3, align 8 store ptr %24, ptr %7, align 8 %25 = load ptr, ptr %7, align 8 %26 = load ptr, ptr %8, align 8 %27 = icmp ult ptr %25, %26 br i1 %27, label %.lr.ph, label %48 .lr.ph: ; preds = %2 br label %28 28: ; preds = %.lr.ph, %40 %29 = load i32, ptr %6, align 4 %30 = load ptr, ptr %7, align 8 %31 = load i32, ptr %30, align 4 %32 = or i32 %31, %29 store i32 %32, ptr %30, align 4 %33 = load i32, ptr %6, align 4 %34 = shl i32 %33, 1 store i32 %34, ptr %6, align 4 %35 = load i32, ptr %6, align 4 %36 = icmp eq i32 %35, 0 br i1 %36, label %37, label %40 37: ; preds = %28 store i32 1, ptr %6, align 4 %38 = load ptr, ptr %7, align 8 %39 = getelementptr inbounds i32, ptr %38, i32 1 store ptr %39, ptr %7, align 8 br label %40 40: ; preds = %37, %28 %41 = load ptr, ptr %7, align 8 %42 = load i32, ptr %5, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %41, i64 %43 store ptr %44, ptr %7, align 8 %45 = load ptr, ptr %7, align 8 %46 = load ptr, ptr %8, align 8 %47 = icmp ult ptr %45, %46 br i1 %47, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %40 br label %48 48: ; preds = %._crit_edge, %2 ret void } declare i32 @TC(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/tmptjy3k9rc.c' source_filename = "/tmp/tmptjy3k9rc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %7 6: ; preds = %1 store i32 1, ptr %2, align 4 br label %13 7: ; preds = %1 %8 = load i32, ptr %3, align 4 %9 = call i32 @incr(i32 noundef %8) %10 = load i32, ptr %3, align 4 %11 = sub nsw i32 %10, 1 %12 = call i32 @f(i32 noundef %11) store i32 %12, ptr %2, align 4 br label %13 13: ; preds = %7, %6 %14 = load i32, ptr %2, align 4 ret i32 %14 } declare i32 @incr(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/tmptjy3k9rc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %7 6: ; preds = %1 store i32 1, ptr %2, align 4 br label %13 7: ; preds = %1 %8 = load i32, ptr %3, align 4 %9 = call i32 @incr(i32 noundef %8) %10 = load i32, ptr %3, align 4 %11 = sub nsw i32 %10, 1 %12 = call i32 @f(i32 noundef %11) store i32 %12, ptr %2, align 4 br label %13 13: ; preds = %7, %6 %14 = load i32, ptr %2, align 4 ret i32 %14 } declare i32 @incr(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/tmp86qbqmfz.c' source_filename = "/tmp/tmp86qbqmfz.c" target datalayout = "e-m:e-p270: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"Usage: %s <host> <port>\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"123\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"wrote 3 bytes of normal data\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"4\00", align 1 @MSG_OOB = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [26 x i8] c"wrote 1 byte of OOB data\0A\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"56\00", align 1 @.str.6 = private unnamed_addr constant [30 x i8] c"wrote 2 bytes of normal data\0A\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"7\00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c"89\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = icmp ne i32 %7, 3 br i1 %8, label %9, label %15 9: ; preds = %2 %10 = load i32, ptr @stderr, align 4 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 0 %13 = load ptr, ptr %12, align 8 %14 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str, ptr noundef %13) store i32 -1, ptr %3, align 4 br label %50 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 2 %21 = load ptr, ptr %20, align 8 %22 = call i32 @tcp_connect(ptr noundef %18, ptr noundef %21) store i32 %22, ptr %6, align 4 %23 = icmp eq i32 %22, -1 br i1 %23, label %24, label %25 24: ; preds = %15 store i32 -1, ptr %3, align 4 br label %50 25: ; preds = %15 %26 = load i32, ptr %6, align 4 %27 = call i32 @write(i32 noundef %26, ptr noundef @.str.1, i32 noundef 3) %28 = call i32 @printf(ptr noundef @.str.2) %29 = call i32 @sleep(i32 noundef 1) %30 = load i32, ptr %6, align 4 %31 = load i32, ptr @MSG_OOB, align 4 %32 = call i32 @send(i32 noundef %30, ptr noundef @.str.3, i32 noundef 1, i32 noundef %31) %33 = call i32 @printf(ptr noundef @.str.4) %34 = call i32 @sleep(i32 noundef 1) %35 = load i32, ptr %6, align 4 %36 = call i32 @write(i32 noundef %35, ptr noundef @.str.5, i32 noundef 2) %37 = call i32 @printf(ptr noundef @.str.6) %38 = call i32 @sleep(i32 noundef 1) %39 = load i32, ptr %6, align 4 %40 = load i32, ptr @MSG_OOB, align 4 %41 = call i32 @send(i32 noundef %39, ptr noundef @.str.7, i32 noundef 1, i32 noundef %40) %42 = call i32 @printf(ptr noundef @.str.4) %43 = call i32 @sleep(i32 noundef 1) %44 = load i32, ptr %6, align 4 %45 = call i32 @write(i32 noundef %44, ptr noundef @.str.8, i32 noundef 2) %46 = call i32 @printf(ptr noundef @.str.6) %47 = call i32 @sleep(i32 noundef 1) %48 = load i32, ptr %6, align 4 %49 = call i32 @close(i32 noundef %48) store i32 0, ptr %3, align 4 br label %50 50: ; preds = %25, %24, %9 %51 = load i32, ptr %3, align 4 ret i32 %51 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @tcp_connect(ptr noundef, ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp86qbqmfz.c" target datalayout = "e-m:e-p270: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"Usage: %s <host> <port>\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"123\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"wrote 3 bytes of normal data\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"4\00", align 1 @MSG_OOB = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [26 x i8] c"wrote 1 byte of OOB data\0A\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"56\00", align 1 @.str.6 = private unnamed_addr constant [30 x i8] c"wrote 2 bytes of normal data\0A\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"7\00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c"89\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = icmp ne i32 %7, 3 br i1 %8, label %9, label %15 9: ; preds = %2 %10 = load i32, ptr @stderr, align 4 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 0 %13 = load ptr, ptr %12, align 8 %14 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str, ptr noundef %13) store i32 -1, ptr %3, align 4 br label %50 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 2 %21 = load ptr, ptr %20, align 8 %22 = call i32 @tcp_connect(ptr noundef %18, ptr noundef %21) store i32 %22, ptr %6, align 4 %23 = icmp eq i32 %22, -1 br i1 %23, label %24, label %25 24: ; preds = %15 store i32 -1, ptr %3, align 4 br label %50 25: ; preds = %15 %26 = load i32, ptr %6, align 4 %27 = call i32 @write(i32 noundef %26, ptr noundef @.str.1, i32 noundef 3) %28 = call i32 @printf(ptr noundef @.str.2) %29 = call i32 @sleep(i32 noundef 1) %30 = load i32, ptr %6, align 4 %31 = load i32, ptr @MSG_OOB, align 4 %32 = call i32 @send(i32 noundef %30, ptr noundef @.str.3, i32 noundef 1, i32 noundef %31) %33 = call i32 @printf(ptr noundef @.str.4) %34 = call i32 @sleep(i32 noundef 1) %35 = load i32, ptr %6, align 4 %36 = call i32 @write(i32 noundef %35, ptr noundef @.str.5, i32 noundef 2) %37 = call i32 @printf(ptr noundef @.str.6) %38 = call i32 @sleep(i32 noundef 1) %39 = load i32, ptr %6, align 4 %40 = load i32, ptr @MSG_OOB, align 4 %41 = call i32 @send(i32 noundef %39, ptr noundef @.str.7, i32 noundef 1, i32 noundef %40) %42 = call i32 @printf(ptr noundef @.str.4) %43 = call i32 @sleep(i32 noundef 1) %44 = load i32, ptr %6, align 4 %45 = call i32 @write(i32 noundef %44, ptr noundef @.str.8, i32 noundef 2) %46 = call i32 @printf(ptr noundef @.str.6) %47 = call i32 @sleep(i32 noundef 1) %48 = load i32, ptr %6, align 4 %49 = call i32 @close(i32 noundef %48) store i32 0, ptr %3, align 4 br label %50 50: ; preds = %25, %24, %9 %51 = load i32, ptr %3, align 4 ret i32 %51 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @tcp_connect(ptr noundef, ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9y7jkxyw.c' source_filename = "/tmp/tmp9y7jkxyw.c" target datalayout = "e-m:e-p270: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/tmp9y7jkxyw.c" target datalayout = "e-m:e-p270: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/tmpfximlit8.c' source_filename = "/tmp/tmpfximlit8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getnumber(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @sscanf(ptr noundef %4, ptr noundef @.str, ptr noundef %3) %6 = load i32, ptr %3, align 4 ret i32 %6 } declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfximlit8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getnumber(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @sscanf(ptr noundef %4, ptr noundef @.str, ptr noundef %3) %6 = load i32, ptr %3, align 4 ret i32 %6 } declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp36gppzjt.c' source_filename = "/tmp/tmp36gppzjt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [45 x i8] c"\0AUsage : sys_cfg_pkt_fwd_ctl [PKT_FWD_CTRL]\0A\00", align 1 @.str.1 = private unnamed_addr constant [78 x i8] c"\0APKT_FWD_CTRL: bit 0 -- Packet forwarding handled by Host (0) or Firmware (1)\00", align 1 @.str.2 = private unnamed_addr constant [77 x i8] c"\0A bit 1 -- Intra-BSS broadcast packets are allowed (0) or denied (1)\00", align 1 @.str.3 = private unnamed_addr constant [75 x i8] c"\0A bit 2 -- Intra-BSS unicast packets are allowed (0) or denied (1)\00", align 1 @.str.4 = private unnamed_addr constant [75 x i8] c"\0A bit 3 -- Inter-BSS unicast packets are allowed (0) or denied (1)\00", align 1 @.str.5 = private unnamed_addr constant [57 x i8] c"\0A empty - Get current packet forwarding setting\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_sys_cfg_pkt_fwd_ctl_usage() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) %6 = call i32 @printf(ptr noundef @.str.5) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp36gppzjt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [45 x i8] c"\0AUsage : sys_cfg_pkt_fwd_ctl [PKT_FWD_CTRL]\0A\00", align 1 @.str.1 = private unnamed_addr constant [78 x i8] c"\0APKT_FWD_CTRL: bit 0 -- Packet forwarding handled by Host (0) or Firmware (1)\00", align 1 @.str.2 = private unnamed_addr constant [77 x i8] c"\0A bit 1 -- Intra-BSS broadcast packets are allowed (0) or denied (1)\00", align 1 @.str.3 = private unnamed_addr constant [75 x i8] c"\0A bit 2 -- Intra-BSS unicast packets are allowed (0) or denied (1)\00", align 1 @.str.4 = private unnamed_addr constant [75 x i8] c"\0A bit 3 -- Inter-BSS unicast packets are allowed (0) or denied (1)\00", align 1 @.str.5 = private unnamed_addr constant [57 x i8] c"\0A empty - Get current packet forwarding setting\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_sys_cfg_pkt_fwd_ctl_usage() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) %6 = call i32 @printf(ptr noundef @.str.5) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkgr_wx9h.c' source_filename = "/tmp/tmpkgr_wx9h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @NI_MAXHOST = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c" - terminated!\0A\00", align 1 @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @INADDR_ANY = dso_local global i32 0, align 4 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_REUSEADDR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"QUIET\00", align 1 @.str.2 = private unnamed_addr constant [78 x i8] c"\0A\0A*** Zepto-HTTPD v0.1 - (c)2010 Matthias Goebl ***\0AListening at TCP Port %i.\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @NI_NUMERICHOST = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [17 x i8] c"Connect from %s.\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"r+\00", align 1 @.str.6 = private unnamed_addr constant [22 x i8] c"Disconnected from %s.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca %struct.sockaddr_in, align 4 %11 = alloca %struct.sockaddr_in, align 4 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca i64, align 8 %15 = 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 store i32 1, ptr %8, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp sgt i32 %16, 1 br i1 %17, label %18, label %23 18: ; preds = %2 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 %22 = call i32 @atoi(ptr noundef %21) br label %24 23: ; preds = %2 br label %24 24: ; preds = %23, %18 %25 = phi i32 [ %22, %18 ], [ 8888, %23 ] store i32 %25, ptr %9, align 4 %26 = load i32, ptr @NI_MAXHOST, align 4 %27 = zext i32 %26 to i64 %28 = call ptr @llvm.stacksave() store ptr %28, ptr %13, align 8 %29 = alloca i8, i64 %27, align 16 store i64 %27, ptr %14, align 8 %30 = load i32, ptr %4, align 4 %31 = icmp sgt i32 %30, 2 br i1 %31, label %32, label %50 32: ; preds = %24 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds ptr, ptr %33, i64 2 %35 = load ptr, ptr %34, align 8 %36 = call i64 @chdir(ptr noundef %35) %37 = icmp slt i64 %36, 0 br i1 %37, label %38, label %49 38: ; preds = %32 br label %39 39: ; preds = %38 %40 = load i32, ptr @stderr, align 4 %41 = load i32, ptr @errno, align 4 %42 = call ptr @strerror(i32 noundef %41) %43 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %40, ptr noundef %42) %44 = load i32, ptr @stderr, align 4 %45 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %44, ptr noundef @.str) %46 = call i32 @exit(i32 noundef 1) #4 unreachable 47: ; No predecessors! br label %48 48: ; preds = %47 br label %49 49: ; preds = %48, %32 br label %50 50: ; preds = %49, %24 %51 = load i32, ptr @AF_INET, align 4 %52 = load i32, ptr @SOCK_STREAM, align 4 %53 = call i32 @socket(i32 noundef %51, i32 noundef %52, i32 noundef 0) store i32 %53, ptr %6, align 4 %54 = load i32, ptr %6, align 4 %55 = icmp slt i32 %54, 0 br i1 %55, label %56, label %67 56: ; preds = %50 br label %57 57: ; preds = %56 %58 = load i32, ptr @stderr, align 4 %59 = load i32, ptr @errno, align 4 %60 = call ptr @strerror(i32 noundef %59) %61 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %58, ptr noundef %60) %62 = load i32, ptr @stderr, align 4 %63 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %62, ptr noundef @.str) %64 = call i32 @exit(i32 noundef 1) #4 unreachable 65: ; No predecessors! br label %66 66: ; preds = %65 br label %67 67: ; preds = %66, %50 %68 = load i32, ptr @AF_INET, align 4 %69 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 2 store i32 %68, ptr %69, align 4 %70 = load i32, ptr @INADDR_ANY, align 4 %71 = call i32 @htonl(i32 noundef %70) %72 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 1 %73 = getelementptr inbounds %struct.TYPE_2__, ptr %72, i32 0, i32 0 store i32 %71, ptr %73, align 4 %74 = load i32, ptr %9, align 4 %75 = call i32 @htons(i32 noundef %74) %76 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 0 store i32 %75, ptr %76, align 4 %77 = load i32, ptr %6, align 4 %78 = load i32, ptr @SOL_SOCKET, align 4 %79 = load i32, ptr @SO_REUSEADDR, align 4 %80 = call i64 @setsockopt(i32 noundef %77, i32 noundef %78, i32 noundef %79, ptr noundef %8, i32 noundef 4) %81 = icmp slt i64 %80, 0 br i1 %81, label %82, label %93 82: ; preds = %67 br label %83 83: ; preds = %82 %84 = load i32, ptr @stderr, align 4 %85 = load i32, ptr @errno, align 4 %86 = call ptr @strerror(i32 noundef %85) %87 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %84, ptr noundef %86) %88 = load i32, ptr @stderr, align 4 %89 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %88, ptr noundef @.str) %90 = call i32 @exit(i32 noundef 1) #4 unreachable 91: ; No predecessors! br label %92 92: ; preds = %91 br label %93 93: ; preds = %92, %67 %94 = load i32, ptr %6, align 4 %95 = call i64 @bind(i32 noundef %94, ptr noundef %10, i32 noundef 12) %96 = icmp slt i64 %95, 0 br i1 %96, label %97, label %108 97: ; preds = %93 br label %98 98: ; preds = %97 %99 = load i32, ptr @stderr, align 4 %100 = load i32, ptr @errno, align 4 %101 = call ptr @strerror(i32 noundef %100) %102 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %99, ptr noundef %101) %103 = load i32, ptr @stderr, align 4 %104 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %103, ptr noundef @.str) %105 = call i32 @exit(i32 noundef 1) #4 unreachable 106: ; No predecessors! br label %107 107: ; preds = %106 br label %108 108: ; preds = %107, %93 %109 = load i32, ptr %6, align 4 %110 = call i32 @listen(i32 noundef %109, i32 noundef 10) br label %111 111: ; preds = %161, %129, %108 br label %112 112: ; preds = %111 br label %113 113: ; preds = %112 %114 = call i32 @getenv(ptr noundef @.str.1) %115 = icmp ne i32 %114, 0 br i1 %115, label %122, label %116 116: ; preds = %113 %117 = load i32, ptr @stderr, align 4 %118 = load i32, ptr %9, align 4 %119 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %117, ptr noundef @.str.2, i32 noundef %118) %120 = load i32, ptr @stderr, align 4 %121 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %120, ptr noundef @.str.3) br label %122 122: ; preds = %116, %113 br label %123 123: ; preds = %122 br label %124 124: ; preds = %123 store i32 12, ptr %12, align 4 %125 = load i32, ptr %6, align 4 %126 = call i32 @accept(i32 noundef %125, ptr noundef %11, ptr noundef %12) store i32 %126, ptr %7, align 4 %127 = load i32, ptr %7, align 4 %128 = icmp eq i32 %127, -1 br i1 %128, label %129, label %130 129: ; preds = %124 br label %111 130: ; preds = %124 %131 = trunc i64 %27 to i32 %132 = load i32, ptr @NI_NUMERICHOST, align 4 %133 = call i32 @getnameinfo(ptr noundef %11, i32 noundef 12, ptr noundef %29, i32 noundef %131, ptr noundef null, i32 noundef 0, i32 noundef %132) br label %134 134: ; preds = %130 %135 = call i32 @getenv(ptr noundef @.str.1) %136 = icmp ne i32 %135, 0 br i1 %136, label %142, label %137 137: ; preds = %134 %138 = load i32, ptr @stderr, align 4 %139 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %138, ptr noundef @.str.4, ptr noundef %29) %140 = load i32, ptr @stderr, align 4 %141 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %140, ptr noundef @.str.3) br label %142 142: ; preds = %137, %134 br label %143 143: ; preds = %142 br label %144 144: ; preds = %143 %145 = load i32, ptr %7, align 4 %146 = call ptr @fdopen(i32 noundef %145, ptr noundef @.str.5) store ptr %146, ptr %15, align 8 %147 = load ptr, ptr %15, align 8 %148 = call i32 @handle_client(ptr noundef %147) %149 = load ptr, ptr %15, align 8 %150 = call i32 @fclose(ptr noundef %149) br label %151 151: ; preds = %144 %152 = call i32 @getenv(ptr noundef @.str.1) %153 = icmp ne i32 %152, 0 br i1 %153, label %159, label %154 154: ; preds = %151 %155 = load i32, ptr @stderr, align 4 %156 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %155, ptr noundef @.str.6, ptr noundef %29) %157 = load i32, ptr @stderr, align 4 %158 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %157, ptr noundef @.str.3) br label %159 159: ; preds = %154, %151 br label %160 160: ; preds = %159 br label %161 161: ; preds = %160 br label %111 } declare i32 @atoi(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i64 @chdir(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare ptr @strerror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @htonl(i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i64 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @listen(i32 noundef, i32 noundef) #1 declare i32 @getenv(ptr noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @getnameinfo(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @fdopen(i32 noundef, ptr noundef) #1 declare i32 @handle_client(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } attributes #3 = { 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 #4 = { 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/tmpkgr_wx9h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @NI_MAXHOST = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c" - terminated!\0A\00", align 1 @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @INADDR_ANY = dso_local global i32 0, align 4 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_REUSEADDR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"QUIET\00", align 1 @.str.2 = private unnamed_addr constant [78 x i8] c"\0A\0A*** Zepto-HTTPD v0.1 - (c)2010 Matthias Goebl ***\0AListening at TCP Port %i.\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @NI_NUMERICHOST = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [17 x i8] c"Connect from %s.\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"r+\00", align 1 @.str.6 = private unnamed_addr constant [22 x i8] c"Disconnected from %s.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca %struct.sockaddr_in, align 4 %11 = alloca %struct.sockaddr_in, align 4 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca i64, align 8 %15 = 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 store i32 1, ptr %8, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp sgt i32 %16, 1 br i1 %17, label %18, label %23 18: ; preds = %2 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 %22 = call i32 @atoi(ptr noundef %21) br label %24 23: ; preds = %2 br label %24 24: ; preds = %23, %18 %25 = phi i32 [ %22, %18 ], [ 8888, %23 ] store i32 %25, ptr %9, align 4 %26 = load i32, ptr @NI_MAXHOST, align 4 %27 = zext i32 %26 to i64 %28 = call ptr @llvm.stacksave() store ptr %28, ptr %13, align 8 %29 = alloca i8, i64 %27, align 16 store i64 %27, ptr %14, align 8 %30 = load i32, ptr %4, align 4 %31 = icmp sgt i32 %30, 2 br i1 %31, label %32, label %50 32: ; preds = %24 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds ptr, ptr %33, i64 2 %35 = load ptr, ptr %34, align 8 %36 = call i64 @chdir(ptr noundef %35) %37 = icmp slt i64 %36, 0 br i1 %37, label %38, label %49 38: ; preds = %32 br label %39 39: ; preds = %38 %40 = load i32, ptr @stderr, align 4 %41 = load i32, ptr @errno, align 4 %42 = call ptr @strerror(i32 noundef %41) %43 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %40, ptr noundef %42) %44 = load i32, ptr @stderr, align 4 %45 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %44, ptr noundef @.str) %46 = call i32 @exit(i32 noundef 1) #4 unreachable 47: ; No predecessors! br label %48 48: ; preds = %47 br label %49 49: ; preds = %48, %32 br label %50 50: ; preds = %49, %24 %51 = load i32, ptr @AF_INET, align 4 %52 = load i32, ptr @SOCK_STREAM, align 4 %53 = call i32 @socket(i32 noundef %51, i32 noundef %52, i32 noundef 0) store i32 %53, ptr %6, align 4 %54 = load i32, ptr %6, align 4 %55 = icmp slt i32 %54, 0 br i1 %55, label %56, label %67 56: ; preds = %50 br label %57 57: ; preds = %56 %58 = load i32, ptr @stderr, align 4 %59 = load i32, ptr @errno, align 4 %60 = call ptr @strerror(i32 noundef %59) %61 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %58, ptr noundef %60) %62 = load i32, ptr @stderr, align 4 %63 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %62, ptr noundef @.str) %64 = call i32 @exit(i32 noundef 1) #4 unreachable 65: ; No predecessors! br label %66 66: ; preds = %65 br label %67 67: ; preds = %66, %50 %68 = load i32, ptr @AF_INET, align 4 %69 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 2 store i32 %68, ptr %69, align 4 %70 = load i32, ptr @INADDR_ANY, align 4 %71 = call i32 @htonl(i32 noundef %70) %72 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 1 %73 = getelementptr inbounds %struct.TYPE_2__, ptr %72, i32 0, i32 0 store i32 %71, ptr %73, align 4 %74 = load i32, ptr %9, align 4 %75 = call i32 @htons(i32 noundef %74) %76 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 0 store i32 %75, ptr %76, align 4 %77 = load i32, ptr %6, align 4 %78 = load i32, ptr @SOL_SOCKET, align 4 %79 = load i32, ptr @SO_REUSEADDR, align 4 %80 = call i64 @setsockopt(i32 noundef %77, i32 noundef %78, i32 noundef %79, ptr noundef %8, i32 noundef 4) %81 = icmp slt i64 %80, 0 br i1 %81, label %82, label %93 82: ; preds = %67 br label %83 83: ; preds = %82 %84 = load i32, ptr @stderr, align 4 %85 = load i32, ptr @errno, align 4 %86 = call ptr @strerror(i32 noundef %85) %87 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %84, ptr noundef %86) %88 = load i32, ptr @stderr, align 4 %89 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %88, ptr noundef @.str) %90 = call i32 @exit(i32 noundef 1) #4 unreachable 91: ; No predecessors! br label %92 92: ; preds = %91 br label %93 93: ; preds = %92, %67 %94 = load i32, ptr %6, align 4 %95 = call i64 @bind(i32 noundef %94, ptr noundef %10, i32 noundef 12) %96 = icmp slt i64 %95, 0 br i1 %96, label %97, label %108 97: ; preds = %93 br label %98 98: ; preds = %97 %99 = load i32, ptr @stderr, align 4 %100 = load i32, ptr @errno, align 4 %101 = call ptr @strerror(i32 noundef %100) %102 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %99, ptr noundef %101) %103 = load i32, ptr @stderr, align 4 %104 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %103, ptr noundef @.str) %105 = call i32 @exit(i32 noundef 1) #4 unreachable 106: ; No predecessors! br label %107 107: ; preds = %106 br label %108 108: ; preds = %107, %93 %109 = load i32, ptr %6, align 4 %110 = call i32 @listen(i32 noundef %109, i32 noundef 10) br label %111 111: ; preds = %.backedge, %108 br label %112 112: ; preds = %111 br label %113 113: ; preds = %112 %114 = call i32 @getenv(ptr noundef @.str.1) %115 = icmp ne i32 %114, 0 br i1 %115, label %122, label %116 116: ; preds = %113 %117 = load i32, ptr @stderr, align 4 %118 = load i32, ptr %9, align 4 %119 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %117, ptr noundef @.str.2, i32 noundef %118) %120 = load i32, ptr @stderr, align 4 %121 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %120, ptr noundef @.str.3) br label %122 122: ; preds = %116, %113 br label %123 123: ; preds = %122 br label %124 124: ; preds = %123 store i32 12, ptr %12, align 4 %125 = load i32, ptr %6, align 4 %126 = call i32 @accept(i32 noundef %125, ptr noundef %11, ptr noundef %12) store i32 %126, ptr %7, align 4 %127 = load i32, ptr %7, align 4 %128 = icmp eq i32 %127, -1 br i1 %128, label %129, label %130 129: ; preds = %124 br label %.backedge .backedge: ; preds = %129, %161 br label %111 130: ; preds = %124 %131 = trunc i64 %27 to i32 %132 = load i32, ptr @NI_NUMERICHOST, align 4 %133 = call i32 @getnameinfo(ptr noundef %11, i32 noundef 12, ptr noundef %29, i32 noundef %131, ptr noundef null, i32 noundef 0, i32 noundef %132) br label %134 134: ; preds = %130 %135 = call i32 @getenv(ptr noundef @.str.1) %136 = icmp ne i32 %135, 0 br i1 %136, label %142, label %137 137: ; preds = %134 %138 = load i32, ptr @stderr, align 4 %139 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %138, ptr noundef @.str.4, ptr noundef %29) %140 = load i32, ptr @stderr, align 4 %141 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %140, ptr noundef @.str.3) br label %142 142: ; preds = %137, %134 br label %143 143: ; preds = %142 br label %144 144: ; preds = %143 %145 = load i32, ptr %7, align 4 %146 = call ptr @fdopen(i32 noundef %145, ptr noundef @.str.5) store ptr %146, ptr %15, align 8 %147 = load ptr, ptr %15, align 8 %148 = call i32 @handle_client(ptr noundef %147) %149 = load ptr, ptr %15, align 8 %150 = call i32 @fclose(ptr noundef %149) br label %151 151: ; preds = %144 %152 = call i32 @getenv(ptr noundef @.str.1) %153 = icmp ne i32 %152, 0 br i1 %153, label %159, label %154 154: ; preds = %151 %155 = load i32, ptr @stderr, align 4 %156 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %155, ptr noundef @.str.6, ptr noundef %29) %157 = load i32, ptr @stderr, align 4 %158 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %157, ptr noundef @.str.3) br label %159 159: ; preds = %154, %151 br label %160 160: ; preds = %159 br label %161 161: ; preds = %160 br label %.backedge } declare i32 @atoi(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i64 @chdir(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare ptr @strerror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @htonl(i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i64 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @listen(i32 noundef, i32 noundef) #1 declare i32 @getenv(ptr noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @getnameinfo(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @fdopen(i32 noundef, ptr noundef) #1 declare i32 @handle_client(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } attributes #3 = { 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 #4 = { 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/tmpflltbie6.c' source_filename = "/tmp/tmpflltbie6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PTHREAD_PROCESS_PRIVATE = dso_local global i32 0, align 4 @PTHREAD_PROCESS_SHARED = 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/tmpflltbie6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PTHREAD_PROCESS_PRIVATE = dso_local global i32 0, align 4 @PTHREAD_PROCESS_SHARED = 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/tmpsqzxy1lg.c' source_filename = "/tmp/tmpsqzxy1lg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @swedish_ISO_8859_1_close_env(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @SN_close_env(ptr noundef %3) ret void } declare i32 @SN_close_env(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsqzxy1lg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @swedish_ISO_8859_1_close_env(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @SN_close_env(ptr noundef %3) ret void } declare i32 @SN_close_env(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzu13e82c.c' source_filename = "/tmp/tmpzu13e82c.c" target datalayout = "e-m:e-p270: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.baseDigits = private unnamed_addr constant [16 x i8] c"0123456789ABCDEF", align 16 @.str = private unnamed_addr constant [25 x i8] c"Number to be converted: \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%ld\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"Base? \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%i\00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c"Converted number: \00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.6 = 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 [16 x i8], align 16 %3 = alloca [64 x i32], align 16 %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.baseDigits, i64 16, i1 false) store i32 0, ptr %7, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %11 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %6) br label %12 12: ; preds = %26, %0 %13 = load i64, ptr %4, align 8 %14 = load i32, ptr %6, align 4 %15 = sext i32 %14 to i64 %16 = srem i64 %13, %15 %17 = trunc i64 %16 to i32 %18 = load i32, ptr %7, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %7, align 4 %20 = sext i32 %18 to i64 %21 = getelementptr inbounds [64 x i32], ptr %3, i64 0, i64 %20 store i32 %17, ptr %21, align 4 %22 = load i32, ptr %6, align 4 %23 = sext i32 %22 to i64 %24 = load i64, ptr %4, align 8 %25 = sdiv i64 %24, %23 store i64 %25, ptr %4, align 8 br label %26 26: ; preds = %12 %27 = load i64, ptr %4, align 8 %28 = icmp ne i64 %27, 0 br i1 %28, label %12, label %29, !llvm.loop !6 29: ; preds = %26 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %31 = load i32, ptr %7, align 4 %32 = add nsw i32 %31, -1 store i32 %32, ptr %7, align 4 br label %33 33: ; preds = %47, %29 %34 = load i32, ptr %7, align 4 %35 = icmp sge i32 %34, 0 br i1 %35, label %36, label %50 36: ; preds = %33 %37 = load i32, ptr %7, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [64 x i32], ptr %3, i64 0, i64 %38 %40 = load i32, ptr %39, align 4 store i32 %40, ptr %5, align 4 %41 = load i32, ptr %5, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [16 x i8], ptr %2, i64 0, i64 %42 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %45) br label %47 47: ; preds = %36 %48 = load i32, ptr %7, align 4 %49 = add nsw i32 %48, -1 store i32 %49, ptr %7, align 4 br label %33, !llvm.loop !8 50: ; preds = %33 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) 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 @scanf(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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzu13e82c.c" target datalayout = "e-m:e-p270: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.baseDigits = private unnamed_addr constant [16 x i8] c"0123456789ABCDEF", align 16 @.str = private unnamed_addr constant [25 x i8] c"Number to be converted: \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%ld\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"Base? \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%i\00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c"Converted number: \00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.6 = 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 [16 x i8], align 16 %3 = alloca [64 x i32], align 16 %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.baseDigits, i64 16, i1 false) store i32 0, ptr %7, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %11 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %6) br label %12 12: ; preds = %26, %0 %13 = load i64, ptr %4, align 8 %14 = load i32, ptr %6, align 4 %15 = sext i32 %14 to i64 %16 = srem i64 %13, %15 %17 = trunc i64 %16 to i32 %18 = load i32, ptr %7, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %7, align 4 %20 = sext i32 %18 to i64 %21 = getelementptr inbounds [64 x i32], ptr %3, i64 0, i64 %20 store i32 %17, ptr %21, align 4 %22 = load i32, ptr %6, align 4 %23 = sext i32 %22 to i64 %24 = load i64, ptr %4, align 8 %25 = sdiv i64 %24, %23 store i64 %25, ptr %4, align 8 br label %26 26: ; preds = %12 %27 = load i64, ptr %4, align 8 %28 = icmp ne i64 %27, 0 br i1 %28, label %12, label %29, !llvm.loop !6 29: ; preds = %26 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %31 = load i32, ptr %7, align 4 %32 = add nsw i32 %31, -1 store i32 %32, ptr %7, align 4 %33 = load i32, ptr %7, align 4 %34 = icmp sge i32 %33, 0 br i1 %34, label %.lr.ph, label %51 .lr.ph: ; preds = %29 br label %35 35: ; preds = %.lr.ph, %46 %36 = load i32, ptr %7, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [64 x i32], ptr %3, i64 0, i64 %37 %39 = load i32, ptr %38, align 4 store i32 %39, ptr %5, align 4 %40 = load i32, ptr %5, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [16 x i8], ptr %2, i64 0, i64 %41 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %44) br label %46 46: ; preds = %35 %47 = load i32, ptr %7, align 4 %48 = add nsw i32 %47, -1 store i32 %48, ptr %7, align 4 %49 = load i32, ptr %7, align 4 %50 = icmp sge i32 %49, 0 br i1 %50, label %35, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %46 br label %51 51: ; preds = %._crit_edge, %29 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) 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 @scanf(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}
; ModuleID = '/tmp/tmp5l1556ou.c' source_filename = "/tmp/tmp5l1556ou.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"# c::%s:len=%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"scusumkbn\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\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 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 @time(ptr noundef null) %9 = call i32 @srand(i32 noundef %8) %10 = call i32 (...) @print_version() store i32 0, ptr %3, align 4 store i32 1, ptr %6, align 4 br label %11 11: ; preds = %41, %0 %12 = load i32, ptr %6, align 4 %13 = icmp sle i32 %12, 6 br i1 %13, label %14, label %44 14: ; preds = %11 %15 = load i32, ptr %6, align 4 %16 = call i32 @pow(i32 noundef 10, i32 noundef %15) store i32 %16, ptr %5, align 4 %17 = load i32, ptr %6, align 4 %18 = sub nsw i32 %17, 1 %19 = call i32 @pow(i32 noundef 10, i32 noundef %18) %20 = sdiv i32 1000000, %19 store i32 %20, ptr %4, align 4 store i32 0, ptr %7, align 4 br label %21 21: ; preds = %37, %14 %22 = load i32, ptr %7, align 4 %23 = icmp slt i32 %22, 3 br i1 %23, label %24, label %40 24: ; preds = %21 %25 = load i32, ptr %3, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %3, align 4 %27 = load i32, ptr %5, align 4 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %27) %29 = load i32, ptr %4, align 4 %30 = load i32, ptr %5, align 4 %31 = call double @benchmark(i32 noundef %29, i32 noundef %30) store double %31, ptr %2, align 8 %32 = load i32, ptr %4, align 4 %33 = load double, ptr %2, align 8 %34 = call i32 @print_results(i32 noundef %32, double noundef %33) %35 = load i32, ptr %3, align 4 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %35) br label %37 37: ; preds = %24 %38 = load i32, ptr %7, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %7, align 4 br label %21, !llvm.loop !6 40: ; preds = %21 br label %41 41: ; preds = %40 %42 = load i32, ptr %6, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %6, align 4 br label %11, !llvm.loop !8 44: ; preds = %11 %45 = load i32, ptr %3, align 4 %46 = load i32, ptr %3, align 4 %47 = call i32 @print_summary(i32 noundef %45, i32 noundef %46) %48 = load i32, ptr %1, align 4 ret i32 %48 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @print_version(...) #1 declare i32 @pow(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @benchmark(i32 noundef, i32 noundef) #1 declare i32 @print_results(i32 noundef, double noundef) #1 declare i32 @print_summary(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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5l1556ou.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"# c::%s:len=%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"scusumkbn\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\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 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 @time(ptr noundef null) %9 = call i32 @srand(i32 noundef %8) %10 = call i32 (...) @print_version() store i32 0, ptr %3, align 4 store i32 1, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp sle i32 %11, 6 br i1 %12, label %.lr.ph2, label %46 .lr.ph2: ; preds = %0 br label %13 13: ; preds = %.lr.ph2, %41 %14 = load i32, ptr %6, align 4 %15 = call i32 @pow(i32 noundef 10, i32 noundef %14) store i32 %15, ptr %5, align 4 %16 = load i32, ptr %6, align 4 %17 = sub nsw i32 %16, 1 %18 = call i32 @pow(i32 noundef 10, i32 noundef %17) %19 = sdiv i32 1000000, %18 store i32 %19, ptr %4, align 4 store i32 0, ptr %7, align 4 %20 = load i32, ptr %7, align 4 %21 = icmp slt i32 %20, 3 br i1 %21, label %.lr.ph, label %40 .lr.ph: ; preds = %13 br label %22 22: ; preds = %.lr.ph, %35 %23 = load i32, ptr %3, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %3, align 4 %25 = load i32, ptr %5, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %25) %27 = load i32, ptr %4, align 4 %28 = load i32, ptr %5, align 4 %29 = call double @benchmark(i32 noundef %27, i32 noundef %28) store double %29, ptr %2, align 8 %30 = load i32, ptr %4, align 4 %31 = load double, ptr %2, align 8 %32 = call i32 @print_results(i32 noundef %30, double noundef %31) %33 = load i32, ptr %3, align 4 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %33) br label %35 35: ; preds = %22 %36 = load i32, ptr %7, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %7, align 4 %38 = load i32, ptr %7, align 4 %39 = icmp slt i32 %38, 3 br i1 %39, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %35 br label %40 40: ; preds = %._crit_edge, %13 br label %41 41: ; preds = %40 %42 = load i32, ptr %6, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %6, align 4 %44 = load i32, ptr %6, align 4 %45 = icmp sle i32 %44, 6 br i1 %45, label %13, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %41 br label %46 46: ; preds = %._crit_edge3, %0 %47 = load i32, ptr %3, align 4 %48 = load i32, ptr %3, align 4 %49 = call i32 @print_summary(i32 noundef %47, i32 noundef %48) %50 = load i32, ptr %1, align 4 ret i32 %50 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @print_version(...) #1 declare i32 @pow(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @benchmark(i32 noundef, i32 noundef) #1 declare i32 @print_results(i32 noundef, double noundef) #1 declare i32 @print_summary(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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmplchv9zul.c' source_filename = "/tmp/tmplchv9zul.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cbm_listen(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = call i32 @_IO(i32 noundef 203, i32 noundef 1) %9 = load i32, ptr %5, align 4 %10 = shl i32 %9, 8 %11 = load i32, ptr %6, align 4 %12 = or i32 %10, %11 %13 = call i32 @ioctl(i32 noundef %7, i32 noundef %8, i32 noundef %12) ret i32 %13 } declare i32 @ioctl(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @_IO(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/tmplchv9zul.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cbm_listen(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = call i32 @_IO(i32 noundef 203, i32 noundef 1) %9 = load i32, ptr %5, align 4 %10 = shl i32 %9, 8 %11 = load i32, ptr %6, align 4 %12 = or i32 %10, %11 %13 = call i32 @ioctl(i32 noundef %7, i32 noundef %8, i32 noundef %12) ret i32 %13 } declare i32 @ioctl(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @_IO(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/tmp01t0ap1o.c' source_filename = "/tmp/tmp01t0ap1o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fork\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [18 x i8] c"Child PID is %ld\0A\00", align 1 @WUNTRACED = dso_local global i32 0, align 4 @WCONTINUED = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [8 x i8] c"waitpid\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"exited, status=%d\0A\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"killed by signal %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [22 x i8] c"stopped by signal %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [11 x i8] c"continued\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = call i32 (...) @fork() store i32 %9, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %16 12: ; preds = %2 %13 = call i32 @perror(ptr noundef @.str) %14 = load i32, ptr @EXIT_FAILURE, align 4 %15 = call i32 @exit(i32 noundef %14) #3 unreachable 16: ; preds = %2 %17 = load i32, ptr %6, align 4 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %32 19: ; preds = %16 %20 = call i64 (...) @getpid() %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %20) %22 = load i32, ptr %4, align 4 %23 = icmp eq i32 %22, 1 br i1 %23, label %24, label %26 24: ; preds = %19 %25 = call i32 (...) @pause() br label %26 26: ; preds = %24, %19 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds ptr, ptr %27, i64 1 %29 = load ptr, ptr %28, align 8 %30 = call i32 @atoi(ptr noundef %29) %31 = call i32 @_exit(i32 noundef %30) #3 unreachable 32: ; preds = %16 br label %33 33: ; preds = %88, %32 %34 = load i32, ptr %6, align 4 %35 = load i32, ptr @WUNTRACED, align 4 %36 = load i32, ptr @WCONTINUED, align 4 %37 = or i32 %35, %36 %38 = call i32 @waitpid(i32 noundef %34, ptr noundef %8, i32 noundef %37) store i32 %38, ptr %7, align 4 %39 = load i32, ptr %7, align 4 %40 = icmp eq i32 %39, -1 br i1 %40, label %41, label %45 41: ; preds = %33 %42 = call i32 @perror(ptr noundef @.str.2) %43 = load i32, ptr @EXIT_FAILURE, align 4 %44 = call i32 @exit(i32 noundef %43) #3 unreachable 45: ; preds = %33 %46 = load i32, ptr %8, align 4 %47 = call i64 @WIFEXITED(i32 noundef %46) %48 = icmp ne i64 %47, 0 br i1 %48, label %49, label %53 49: ; preds = %45 %50 = load i32, ptr %8, align 4 %51 = call i32 @WEXITSTATUS(i32 noundef %50) %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %51) br label %78 53: ; preds = %45 %54 = load i32, ptr %8, align 4 %55 = call i64 @WIFSIGNALED(i32 noundef %54) %56 = icmp ne i64 %55, 0 br i1 %56, label %57, label %61 57: ; preds = %53 %58 = load i32, ptr %8, align 4 %59 = call i32 @WTERMSIG(i32 noundef %58) %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %59) br label %77 61: ; preds = %53 %62 = load i32, ptr %8, align 4 %63 = call i64 @WIFSTOPPED(i32 noundef %62) %64 = icmp ne i64 %63, 0 br i1 %64, label %65, label %69 65: ; preds = %61 %66 = load i32, ptr %8, align 4 %67 = call i32 @WSTOPSIG(i32 noundef %66) %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %67) br label %76 69: ; preds = %61 %70 = load i32, ptr %8, align 4 %71 = call i64 @WIFCONTINUED(i32 noundef %70) %72 = icmp ne i64 %71, 0 br i1 %72, label %73, label %75 73: ; preds = %69 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %75 75: ; preds = %73, %69 br label %76 76: ; preds = %75, %65 br label %77 77: ; preds = %76, %57 br label %78 78: ; preds = %77, %49 br label %79 79: ; preds = %78 %80 = load i32, ptr %8, align 4 %81 = call i64 @WIFEXITED(i32 noundef %80) %82 = icmp ne i64 %81, 0 br i1 %82, label %88, label %83 83: ; preds = %79 %84 = load i32, ptr %8, align 4 %85 = call i64 @WIFSIGNALED(i32 noundef %84) %86 = icmp ne i64 %85, 0 %87 = xor i1 %86, true br label %88 88: ; preds = %83, %79 %89 = phi i1 [ false, %79 ], [ %87, %83 ] br i1 %89, label %33, label %90, !llvm.loop !6 90: ; preds = %88 %91 = load i32, ptr @EXIT_SUCCESS, align 4 %92 = call i32 @exit(i32 noundef %91) #3 unreachable } declare i32 @fork(...) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #1 declare i64 @getpid(...) #1 declare i32 @pause(...) #1 ; Function Attrs: noreturn declare i32 @_exit(i32 noundef) #2 declare i32 @atoi(ptr noundef) #1 declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @WIFEXITED(i32 noundef) #1 declare i32 @WEXITSTATUS(i32 noundef) #1 declare i64 @WIFSIGNALED(i32 noundef) #1 declare i32 @WTERMSIG(i32 noundef) #1 declare i64 @WIFSTOPPED(i32 noundef) #1 declare i32 @WSTOPSIG(i32 noundef) #1 declare i64 @WIFCONTINUED(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/tmp01t0ap1o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fork\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [18 x i8] c"Child PID is %ld\0A\00", align 1 @WUNTRACED = dso_local global i32 0, align 4 @WCONTINUED = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [8 x i8] c"waitpid\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"exited, status=%d\0A\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"killed by signal %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [22 x i8] c"stopped by signal %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [11 x i8] c"continued\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = call i32 (...) @fork() store i32 %9, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %16 12: ; preds = %2 %13 = call i32 @perror(ptr noundef @.str) %14 = load i32, ptr @EXIT_FAILURE, align 4 %15 = call i32 @exit(i32 noundef %14) #3 unreachable 16: ; preds = %2 %17 = load i32, ptr %6, align 4 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %32 19: ; preds = %16 %20 = call i64 (...) @getpid() %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %20) %22 = load i32, ptr %4, align 4 %23 = icmp eq i32 %22, 1 br i1 %23, label %24, label %26 24: ; preds = %19 %25 = call i32 (...) @pause() br label %26 26: ; preds = %24, %19 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds ptr, ptr %27, i64 1 %29 = load ptr, ptr %28, align 8 %30 = call i32 @atoi(ptr noundef %29) %31 = call i32 @_exit(i32 noundef %30) #3 unreachable 32: ; preds = %16 br label %33 33: ; preds = %88, %32 %34 = load i32, ptr %6, align 4 %35 = load i32, ptr @WUNTRACED, align 4 %36 = load i32, ptr @WCONTINUED, align 4 %37 = or i32 %35, %36 %38 = call i32 @waitpid(i32 noundef %34, ptr noundef %8, i32 noundef %37) store i32 %38, ptr %7, align 4 %39 = load i32, ptr %7, align 4 %40 = icmp eq i32 %39, -1 br i1 %40, label %41, label %45 41: ; preds = %33 %42 = call i32 @perror(ptr noundef @.str.2) %43 = load i32, ptr @EXIT_FAILURE, align 4 %44 = call i32 @exit(i32 noundef %43) #3 unreachable 45: ; preds = %33 %46 = load i32, ptr %8, align 4 %47 = call i64 @WIFEXITED(i32 noundef %46) %48 = icmp ne i64 %47, 0 br i1 %48, label %49, label %53 49: ; preds = %45 %50 = load i32, ptr %8, align 4 %51 = call i32 @WEXITSTATUS(i32 noundef %50) %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %51) br label %78 53: ; preds = %45 %54 = load i32, ptr %8, align 4 %55 = call i64 @WIFSIGNALED(i32 noundef %54) %56 = icmp ne i64 %55, 0 br i1 %56, label %57, label %61 57: ; preds = %53 %58 = load i32, ptr %8, align 4 %59 = call i32 @WTERMSIG(i32 noundef %58) %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %59) br label %77 61: ; preds = %53 %62 = load i32, ptr %8, align 4 %63 = call i64 @WIFSTOPPED(i32 noundef %62) %64 = icmp ne i64 %63, 0 br i1 %64, label %65, label %69 65: ; preds = %61 %66 = load i32, ptr %8, align 4 %67 = call i32 @WSTOPSIG(i32 noundef %66) %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %67) br label %76 69: ; preds = %61 %70 = load i32, ptr %8, align 4 %71 = call i64 @WIFCONTINUED(i32 noundef %70) %72 = icmp ne i64 %71, 0 br i1 %72, label %73, label %75 73: ; preds = %69 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %75 75: ; preds = %73, %69 br label %76 76: ; preds = %75, %65 br label %77 77: ; preds = %76, %57 br label %78 78: ; preds = %77, %49 br label %79 79: ; preds = %78 %80 = load i32, ptr %8, align 4 %81 = call i64 @WIFEXITED(i32 noundef %80) %82 = icmp ne i64 %81, 0 br i1 %82, label %88, label %83 83: ; preds = %79 %84 = load i32, ptr %8, align 4 %85 = call i64 @WIFSIGNALED(i32 noundef %84) %86 = icmp ne i64 %85, 0 %87 = xor i1 %86, true br label %88 88: ; preds = %83, %79 %89 = phi i1 [ false, %79 ], [ %87, %83 ] br i1 %89, label %33, label %90, !llvm.loop !6 90: ; preds = %88 %91 = load i32, ptr @EXIT_SUCCESS, align 4 %92 = call i32 @exit(i32 noundef %91) #3 unreachable } declare i32 @fork(...) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #1 declare i64 @getpid(...) #1 declare i32 @pause(...) #1 ; Function Attrs: noreturn declare i32 @_exit(i32 noundef) #2 declare i32 @atoi(ptr noundef) #1 declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @WIFEXITED(i32 noundef) #1 declare i32 @WEXITSTATUS(i32 noundef) #1 declare i64 @WIFSIGNALED(i32 noundef) #1 declare i32 @WTERMSIG(i32 noundef) #1 declare i64 @WIFSTOPPED(i32 noundef) #1 declare i32 @WSTOPSIG(i32 noundef) #1 declare i64 @WIFCONTINUED(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/tmp6pvogwsu.c' source_filename = "/tmp/tmp6pvogwsu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CL_CONTEXT_PLATFORM = dso_local global i32 0, align 4 @CL_DEVICE_TYPE_GPU = dso_local global i32 0, align 4 @CL_SUCCESS = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @CreateContext(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca [3 x i32], align 4 %6 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = getelementptr inbounds [3 x i32], ptr %5, i64 0, i64 0 %8 = load i32, ptr @CL_CONTEXT_PLATFORM, align 4 store i32 %8, ptr %7, align 4 %9 = getelementptr inbounds i32, ptr %7, i64 1 %10 = load i32, ptr %4, align 4 store i32 %10, ptr %9, align 4 %11 = getelementptr inbounds i32, ptr %9, i64 1 store i32 0, ptr %11, align 4 store i64 0, ptr %6, align 8 %12 = getelementptr inbounds [3 x i32], ptr %5, i64 0, i64 0 %13 = load i32, ptr @CL_DEVICE_TYPE_GPU, align 4 %14 = call ptr @clCreateContextFromType(ptr noundef %12, i32 noundef %13, ptr noundef null, ptr noundef null, ptr noundef %6) %15 = load ptr, ptr %3, align 8 store ptr %14, ptr %15, align 8 %16 = load i64, ptr %6, align 8 %17 = load i64, ptr @CL_SUCCESS, align 8 %18 = icmp eq i64 %16, %17 %19 = zext i1 %18 to i32 %20 = call i32 @assert(i32 noundef %19) %21 = load ptr, ptr %3, align 8 %22 = load ptr, ptr %21, align 8 %23 = icmp ne ptr %22, null %24 = zext i1 %23 to i32 %25 = call i32 @assert(i32 noundef %24) ret i32 0 } declare ptr @clCreateContextFromType(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6pvogwsu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CL_CONTEXT_PLATFORM = dso_local global i32 0, align 4 @CL_DEVICE_TYPE_GPU = dso_local global i32 0, align 4 @CL_SUCCESS = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @CreateContext(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca [3 x i32], align 4 %6 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = getelementptr inbounds [3 x i32], ptr %5, i64 0, i64 0 %8 = load i32, ptr @CL_CONTEXT_PLATFORM, align 4 store i32 %8, ptr %7, align 4 %9 = getelementptr inbounds i32, ptr %7, i64 1 %10 = load i32, ptr %4, align 4 store i32 %10, ptr %9, align 4 %11 = getelementptr inbounds i32, ptr %9, i64 1 store i32 0, ptr %11, align 4 store i64 0, ptr %6, align 8 %12 = getelementptr inbounds [3 x i32], ptr %5, i64 0, i64 0 %13 = load i32, ptr @CL_DEVICE_TYPE_GPU, align 4 %14 = call ptr @clCreateContextFromType(ptr noundef %12, i32 noundef %13, ptr noundef null, ptr noundef null, ptr noundef %6) %15 = load ptr, ptr %3, align 8 store ptr %14, ptr %15, align 8 %16 = load i64, ptr %6, align 8 %17 = load i64, ptr @CL_SUCCESS, align 8 %18 = icmp eq i64 %16, %17 %19 = zext i1 %18 to i32 %20 = call i32 @assert(i32 noundef %19) %21 = load ptr, ptr %3, align 8 %22 = load ptr, ptr %21, align 8 %23 = icmp ne ptr %22, null %24 = zext i1 %23 to i32 %25 = call i32 @assert(i32 noundef %24) ret i32 0 } declare ptr @clCreateContextFromType(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqi6c_66k.c' source_filename = "/tmp/tmpqi6c_66k.c" target datalayout = "e-m:e-p270: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/tmpqi6c_66k.c" target datalayout = "e-m:e-p270: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/tmp5kxx7jk_.c' source_filename = "/tmp/tmp5kxx7jk_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"Not implemented\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sandbox_wakeup_daemon(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call ptr @strdup(ptr noundef @.str) %4 = load ptr, ptr %2, align 8 store ptr %3, ptr %4, align 8 ret i32 -1 } 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/tmp5kxx7jk_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"Not implemented\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sandbox_wakeup_daemon(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call ptr @strdup(ptr noundef @.str) %4 = load ptr, ptr %2, align 8 store ptr %3, ptr %4, align 8 ret i32 -1 } 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/tmpelrj1akr.c' source_filename = "/tmp/tmpelrj1akr.c" target datalayout = "e-m:e-p270: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 [56 x i8] c"No more memory available. Trying to allocate %zu bytes.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @xrealloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = call ptr @realloc(ptr noundef %6, i64 noundef %7) #4 store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %16, label %11 11: ; preds = %2 %12 = load i32, ptr @stderr, align 4 %13 = load i64, ptr %4, align 8 %14 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str, i64 noundef %13) %15 = call i32 @exit(i32 noundef 1) #5 unreachable 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 ret ptr %17 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i64 noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-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 = { 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 #4 = { allocsize(1) } attributes #5 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpelrj1akr.c" target datalayout = "e-m:e-p270: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 [56 x i8] c"No more memory available. Trying to allocate %zu bytes.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @xrealloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = call ptr @realloc(ptr noundef %6, i64 noundef %7) #4 store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %16, label %11 11: ; preds = %2 %12 = load i32, ptr @stderr, align 4 %13 = load i64, ptr %4, align 8 %14 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str, i64 noundef %13) %15 = call i32 @exit(i32 noundef 1) #5 unreachable 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 ret ptr %17 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i64 noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-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 = { 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 #4 = { allocsize(1) } attributes #5 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplnoqrv5n.c' source_filename = "/tmp/tmplnoqrv5n.c" target datalayout = "e-m:e-p270: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/tmplnoqrv5n.c" target datalayout = "e-m:e-p270: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/tmpvxpswrkz.c' source_filename = "/tmp/tmpvxpswrkz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @g_strncpy(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %9 = load ptr, ptr %6, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %18 11: ; preds = %3 %12 = load ptr, ptr %5, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %18 14: ; preds = %11 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 0 store i8 0, ptr %16, align 1 %17 = load ptr, ptr %5, align 8 store ptr %17, ptr %4, align 8 br label %35 18: ; preds = %11, %3 %19 = load ptr, ptr %5, align 8 %20 = icmp eq ptr %19, null br i1 %20, label %24, label %21 21: ; preds = %18 %22 = load ptr, ptr %6, align 8 %23 = icmp eq ptr %22, null br i1 %23, label %24, label %25 24: ; preds = %21, %18 store ptr null, ptr %4, align 8 br label %35 25: ; preds = %21 %26 = load ptr, ptr %5, align 8 %27 = load ptr, ptr %6, align 8 %28 = load i32, ptr %7, align 4 %29 = call ptr @strncpy(ptr noundef %26, ptr noundef %27, i32 noundef %28) store ptr %29, ptr %8, align 8 %30 = load ptr, ptr %5, align 8 %31 = load i32, ptr %7, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %30, i64 %32 store i8 0, ptr %33, align 1 %34 = load ptr, ptr %8, align 8 store ptr %34, ptr %4, align 8 br label %35 35: ; preds = %25, %24, %14 %36 = load ptr, ptr %4, align 8 ret ptr %36 } declare ptr @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvxpswrkz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @g_strncpy(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %9 = load ptr, ptr %6, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %18 11: ; preds = %3 %12 = load ptr, ptr %5, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %18 14: ; preds = %11 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 0 store i8 0, ptr %16, align 1 %17 = load ptr, ptr %5, align 8 store ptr %17, ptr %4, align 8 br label %35 18: ; preds = %11, %3 %19 = load ptr, ptr %5, align 8 %20 = icmp eq ptr %19, null br i1 %20, label %24, label %21 21: ; preds = %18 %22 = load ptr, ptr %6, align 8 %23 = icmp eq ptr %22, null br i1 %23, label %24, label %25 24: ; preds = %21, %18 store ptr null, ptr %4, align 8 br label %35 25: ; preds = %21 %26 = load ptr, ptr %5, align 8 %27 = load ptr, ptr %6, align 8 %28 = load i32, ptr %7, align 4 %29 = call ptr @strncpy(ptr noundef %26, ptr noundef %27, i32 noundef %28) store ptr %29, ptr %8, align 8 %30 = load ptr, ptr %5, align 8 %31 = load i32, ptr %7, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %30, i64 %32 store i8 0, ptr %33, align 1 %34 = load ptr, ptr %8, align 8 store ptr %34, ptr %4, align 8 br label %35 35: ; preds = %25, %24, %14 %36 = load ptr, ptr %4, align 8 ret ptr %36 } declare ptr @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpj2dnzltb.c' source_filename = "/tmp/tmpj2dnzltb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RLIMIT_AS = 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/tmpj2dnzltb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RLIMIT_AS = 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/tmpzinc_y0p.c' source_filename = "/tmp/tmpzinc_y0p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @decimal__isDigitString(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 br label %4 4: ; preds = %15, %1 %5 = load ptr, ptr %3, align 8 %6 = load i8, ptr %5, align 1 %7 = icmp ne i8 %6, 0 br i1 %7, label %8, label %18 8: ; preds = %4 %9 = load ptr, ptr %3, align 8 %10 = load i8, ptr %9, align 1 %11 = call i32 @decimal__isDigitChar(i8 noundef signext %10) %12 = icmp ne i32 %11, 0 br i1 %12, label %14, label %13 13: ; preds = %8 store i32 0, ptr %2, align 4 br label %19 14: ; preds = %8 br label %15 15: ; preds = %14 %16 = load ptr, ptr %3, align 8 %17 = getelementptr inbounds i8, ptr %16, i32 1 store ptr %17, ptr %3, align 8 br label %4, !llvm.loop !6 18: ; preds = %4 store i32 1, ptr %2, align 4 br label %19 19: ; preds = %18, %13 %20 = load i32, ptr %2, align 4 ret i32 %20 } declare i32 @decimal__isDigitChar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzinc_y0p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @decimal__isDigitString(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 = load i8, ptr %4, align 1 %6 = icmp ne i8 %5, 0 br i1 %6, label %.lr.ph, label %20 .lr.ph: ; preds = %1 br label %7 7: ; preds = %.lr.ph, %14 %8 = load ptr, ptr %3, align 8 %9 = load i8, ptr %8, align 1 %10 = call i32 @decimal__isDigitChar(i8 noundef signext %9) %11 = icmp ne i32 %10, 0 br i1 %11, label %13, label %12 12: ; preds = %7 store i32 0, ptr %2, align 4 br label %21 13: ; preds = %7 br label %14 14: ; preds = %13 %15 = load ptr, ptr %3, align 8 %16 = getelementptr inbounds i8, ptr %15, i32 1 store ptr %16, ptr %3, align 8 %17 = load ptr, ptr %3, align 8 %18 = load i8, ptr %17, align 1 %19 = icmp ne i8 %18, 0 br i1 %19, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %20 20: ; preds = %._crit_edge, %1 store i32 1, ptr %2, align 4 br label %21 21: ; preds = %20, %12 %22 = load i32, ptr %2, align 4 ret i32 %22 } declare i32 @decimal__isDigitChar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpt0wyklh9.c' source_filename = "/tmp/tmpt0wyklh9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SetSeed(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @srand(i32 noundef %3) ret void } declare i32 @srand(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/tmpt0wyklh9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SetSeed(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @srand(i32 noundef %3) ret void } declare i32 @srand(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/tmpw56oux7o.c' source_filename = "/tmp/tmpw56oux7o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hysock_error_message() #0 { %1 = call ptr (...) @hyerror_last_error_message() ret ptr %1 } declare ptr @hyerror_last_error_message(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw56oux7o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hysock_error_message() #0 { %1 = call ptr (...) @hyerror_last_error_message() ret ptr %1 } declare ptr @hyerror_last_error_message(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnbrrzkpy.c' source_filename = "/tmp/tmpnbrrzkpy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %2, align 4 store i32 1, ptr %3, align 4 store i32 0, ptr %4, align 4 %6 = call i32 (...) @__VERIFIER_nondet_int() store i32 %6, ptr %5, align 4 br label %7 7: ; preds = %24, %0 %8 = load i32, ptr %3, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %27 11: ; preds = %7 store i32 0, ptr %4, align 4 br label %12 12: ; preds = %16, %11 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %3, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %24 16: ; preds = %12 %17 = load i32, ptr %3, align 4 %18 = load i32, ptr %4, align 4 %19 = sub nsw i32 %17, %18 %20 = load i32, ptr %2, align 4 %21 = add nsw i32 %20, %19 store i32 %21, ptr %2, align 4 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %4, align 4 br label %12, !llvm.loop !6 24: ; preds = %12 %25 = load i32, ptr %3, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %3, align 4 br label %7, !llvm.loop !8 27: ; preds = %7 %28 = load i32, ptr %2, align 4 %29 = icmp eq i32 %28, 0 %30 = zext i1 %29 to i32 %31 = call i32 @__VERIFIER_assert(i32 noundef %30) %32 = load i32, ptr %1, align 4 ret i32 %32 } declare i32 @__VERIFIER_nondet_int(...) #1 declare i32 @__VERIFIER_assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnbrrzkpy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %2, align 4 store i32 1, ptr %3, align 4 store i32 0, ptr %4, align 4 %6 = call i32 (...) @__VERIFIER_nondet_int() store i32 %6, ptr %5, align 4 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %5, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %.lr.ph2, label %31 .lr.ph2: ; preds = %0 br label %10 10: ; preds = %.lr.ph2, %25 store i32 0, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = load i32, ptr %3, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %.lr.ph, label %25 .lr.ph: ; preds = %10 br label %14 14: ; preds = %.lr.ph, %14 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %4, align 4 %17 = sub nsw i32 %15, %16 %18 = load i32, ptr %2, align 4 %19 = add nsw i32 %18, %17 store i32 %19, ptr %2, align 4 %20 = load i32, ptr %4, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %4, align 4 %22 = load i32, ptr %4, align 4 %23 = load i32, ptr %3, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %25 25: ; preds = %._crit_edge, %10 %26 = load i32, ptr %3, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %3, align 4 %28 = load i32, ptr %3, align 4 %29 = load i32, ptr %5, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %10, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %25 br label %31 31: ; preds = %._crit_edge3, %0 %32 = load i32, ptr %2, align 4 %33 = icmp eq i32 %32, 0 %34 = zext i1 %33 to i32 %35 = call i32 @__VERIFIER_assert(i32 noundef %34) %36 = load i32, ptr %1, align 4 ret i32 %36 } declare i32 @__VERIFIER_nondet_int(...) #1 declare i32 @__VERIFIER_assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpldeaii9m.c' source_filename = "/tmp/tmpldeaii9m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"%f %f %f %f %f\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"Point is outside the Circle.\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"Point is on the Circle.\00", align 1 @.str.3 = private unnamed_addr constant [28 x i8] c"Point is inside the Circle.\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 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 store i32 0, ptr %1, align 4 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) %9 = load float, ptr %2, align 4 %10 = load float, ptr %5, align 4 %11 = fsub float %9, %10 %12 = load float, ptr %2, align 4 %13 = load float, ptr %5, align 4 %14 = fsub float %12, %13 %15 = load float, ptr %3, align 4 %16 = load float, ptr %6, align 4 %17 = fsub float %15, %16 %18 = load float, ptr %3, align 4 %19 = load float, ptr %6, align 4 %20 = fsub float %18, %19 %21 = fmul float %17, %20 %22 = call float @llvm.fmuladd.f32(float %11, float %14, float %21) %23 = load float, ptr %4, align 4 %24 = load float, ptr %4, align 4 %25 = fneg float %23 %26 = call float @llvm.fmuladd.f32(float %25, float %24, float %22) store float %26, ptr %7, align 4 %27 = load float, ptr %4, align 4 %28 = fcmp ogt float %27, 0.000000e+00 br i1 %28, label %29, label %31 29: ; preds = %0 %30 = call i32 @printf(ptr noundef @.str.1) br label %43 31: ; preds = %0 %32 = load float, ptr %4, align 4 %33 = fcmp oeq float %32, 0.000000e+00 br i1 %33, label %34, label %36 34: ; preds = %31 %35 = call i32 @printf(ptr noundef @.str.2) br label %42 36: ; preds = %31 %37 = load float, ptr %4, align 4 %38 = fcmp olt float %37, 0.000000e+00 br i1 %38, label %39, label %41 39: ; preds = %36 %40 = call i32 @printf(ptr noundef @.str.3) br label %41 41: ; preds = %39, %36 br label %42 42: ; preds = %41, %34 br label %43 43: ; preds = %42, %29 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 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" } 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/tmpldeaii9m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"%f %f %f %f %f\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"Point is outside the Circle.\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"Point is on the Circle.\00", align 1 @.str.3 = private unnamed_addr constant [28 x i8] c"Point is inside the Circle.\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 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 store i32 0, ptr %1, align 4 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) %9 = load float, ptr %2, align 4 %10 = load float, ptr %5, align 4 %11 = fsub float %9, %10 %12 = load float, ptr %2, align 4 %13 = load float, ptr %5, align 4 %14 = fsub float %12, %13 %15 = load float, ptr %3, align 4 %16 = load float, ptr %6, align 4 %17 = fsub float %15, %16 %18 = load float, ptr %3, align 4 %19 = load float, ptr %6, align 4 %20 = fsub float %18, %19 %21 = fmul float %17, %20 %22 = call float @llvm.fmuladd.f32(float %11, float %14, float %21) %23 = load float, ptr %4, align 4 %24 = load float, ptr %4, align 4 %25 = fneg float %23 %26 = call float @llvm.fmuladd.f32(float %25, float %24, float %22) store float %26, ptr %7, align 4 %27 = load float, ptr %4, align 4 %28 = fcmp ogt float %27, 0.000000e+00 br i1 %28, label %29, label %31 29: ; preds = %0 %30 = call i32 @printf(ptr noundef @.str.1) br label %43 31: ; preds = %0 %32 = load float, ptr %4, align 4 %33 = fcmp oeq float %32, 0.000000e+00 br i1 %33, label %34, label %36 34: ; preds = %31 %35 = call i32 @printf(ptr noundef @.str.2) br label %42 36: ; preds = %31 %37 = load float, ptr %4, align 4 %38 = fcmp olt float %37, 0.000000e+00 br i1 %38, label %39, label %41 39: ; preds = %36 %40 = call i32 @printf(ptr noundef @.str.3) br label %41 41: ; preds = %39, %36 br label %42 42: ; preds = %41, %34 br label %43 43: ; preds = %42, %29 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 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" } 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/tmpujo92ugi.c' source_filename = "/tmp/tmpujo92ugi.c" target datalayout = "e-m:e-p270: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/tmpujo92ugi.c" target datalayout = "e-m:e-p270: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/tmp91df31cj.c' source_filename = "/tmp/tmp91df31cj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"Hello world.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 @puts(ptr noundef @.str) ret i32 0 } declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp91df31cj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"Hello world.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 @puts(ptr noundef @.str) ret i32 0 } declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmtdgwm0q.c' source_filename = "/tmp/tmpmtdgwm0q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_config(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = call ptr @fopen(ptr noundef %7, ptr noundef @.str) store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %3, align 8 %11 = call i32 @parse_file(ptr noundef %9, ptr noundef %10) store i32 %11, ptr %6, align 4 %12 = load ptr, ptr %5, align 8 %13 = call i32 @fclose(ptr noundef %12) %14 = load i32, ptr %6, align 4 ret i32 %14 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @parse_file(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmtdgwm0q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_config(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = call ptr @fopen(ptr noundef %7, ptr noundef @.str) store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %3, align 8 %11 = call i32 @parse_file(ptr noundef %9, ptr noundef %10) store i32 %11, ptr %6, align 4 %12 = load ptr, ptr %5, align 8 %13 = call i32 @fclose(ptr noundef %12) %14 = load i32, ptr %6, align 4 ret i32 %14 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @parse_file(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyjmobjxz.c' source_filename = "/tmp/tmpyjmobjxz.c" target datalayout = "e-m:e-p270: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/tmpyjmobjxz.c" target datalayout = "e-m:e-p270: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/tmph0202dv8.c' source_filename = "/tmp/tmph0202dv8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rectangleVide(float noundef %0, float noundef %1, float noundef %2, float noundef %3, float noundef %4) #0 { %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = alloca float, align 4 %10 = alloca float, align 4 store float %0, ptr %6, align 4 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 %11 = load float, ptr %10, align 4 %12 = call i32 @epaisseurDeTrait(float noundef %11) %13 = load float, ptr %6, align 4 %14 = load float, ptr %7, align 4 %15 = load float, ptr %6, align 4 %16 = load float, ptr %9, align 4 %17 = call i32 @ligne(float noundef %13, float noundef %14, float noundef %15, float noundef %16) %18 = load float, ptr %6, align 4 %19 = load float, ptr %7, align 4 %20 = load float, ptr %8, align 4 %21 = load float, ptr %7, align 4 %22 = call i32 @ligne(float noundef %18, float noundef %19, float noundef %20, float noundef %21) %23 = load float, ptr %8, align 4 %24 = load float, ptr %9, align 4 %25 = load float, ptr %6, align 4 %26 = load float, ptr %9, align 4 %27 = call i32 @ligne(float noundef %23, float noundef %24, float noundef %25, float noundef %26) %28 = load float, ptr %8, align 4 %29 = load float, ptr %9, align 4 %30 = load float, ptr %8, align 4 %31 = load float, ptr %7, align 4 %32 = call i32 @ligne(float noundef %28, float noundef %29, float noundef %30, float noundef %31) ret void } declare i32 @epaisseurDeTrait(float noundef) #1 declare i32 @ligne(float noundef, float noundef, float noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph0202dv8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rectangleVide(float noundef %0, float noundef %1, float noundef %2, float noundef %3, float noundef %4) #0 { %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = alloca float, align 4 %10 = alloca float, align 4 store float %0, ptr %6, align 4 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 %11 = load float, ptr %10, align 4 %12 = call i32 @epaisseurDeTrait(float noundef %11) %13 = load float, ptr %6, align 4 %14 = load float, ptr %7, align 4 %15 = load float, ptr %6, align 4 %16 = load float, ptr %9, align 4 %17 = call i32 @ligne(float noundef %13, float noundef %14, float noundef %15, float noundef %16) %18 = load float, ptr %6, align 4 %19 = load float, ptr %7, align 4 %20 = load float, ptr %8, align 4 %21 = load float, ptr %7, align 4 %22 = call i32 @ligne(float noundef %18, float noundef %19, float noundef %20, float noundef %21) %23 = load float, ptr %8, align 4 %24 = load float, ptr %9, align 4 %25 = load float, ptr %6, align 4 %26 = load float, ptr %9, align 4 %27 = call i32 @ligne(float noundef %23, float noundef %24, float noundef %25, float noundef %26) %28 = load float, ptr %8, align 4 %29 = load float, ptr %9, align 4 %30 = load float, ptr %8, align 4 %31 = load float, ptr %7, align 4 %32 = call i32 @ligne(float noundef %28, float noundef %29, float noundef %30, float noundef %31) ret void } declare i32 @epaisseurDeTrait(float noundef) #1 declare i32 @ligne(float noundef, float noundef, float noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfncyc3a3.c' source_filename = "/tmp/tmpfncyc3a3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"ERROR:line %d: unligal operend!!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @isImmediateAddressing(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i8, align 1 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i8 35, ptr %7, align 1 br label %8 8: ; preds = %13, %2 %9 = load ptr, ptr %4, align 8 %10 = load i8, ptr %9, align 1 %11 = call i64 @isspace(i8 noundef signext %10) %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %8 %14 = load ptr, ptr %4, align 8 %15 = getelementptr inbounds i8, ptr %14, i32 1 store ptr %15, ptr %4, align 8 br label %8, !llvm.loop !6 16: ; preds = %8 %17 = load ptr, ptr %4, align 8 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = load i8, ptr %7, align 1 %21 = sext i8 %20 to i32 %22 = icmp ne i32 %19, %21 br i1 %22, label %23, label %24 23: ; preds = %16 store i32 0, ptr %3, align 4 br label %62 24: ; preds = %16 %25 = load ptr, ptr %4, align 8 %26 = getelementptr inbounds i8, ptr %25, i32 1 store ptr %26, ptr %4, align 8 %27 = load ptr, ptr %4, align 8 %28 = load i8, ptr %27, align 1 %29 = call i32 @isdigit(i8 noundef signext %28) %30 = icmp ne i32 %29, 0 br i1 %30, label %44, label %31 31: ; preds = %24 %32 = load ptr, ptr %4, align 8 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp ne i32 %34, 45 br i1 %35, label %36, label %44 36: ; preds = %31 %37 = load ptr, ptr %4, align 8 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp ne i32 %39, 43 br i1 %40, label %41, label %44 41: ; preds = %36 %42 = load i32, ptr %5, align 4 %43 = call i32 @printf(ptr noundef @.str, i32 noundef %42) store i32 -1, ptr %3, align 4 br label %62 44: ; preds = %36, %31, %24 %45 = load ptr, ptr %4, align 8 %46 = call i32 @strtol(ptr noundef %45, ptr noundef %6, i32 noundef 10) br label %47 47: ; preds = %52, %44 %48 = load ptr, ptr %6, align 8 %49 = load i8, ptr %48, align 1 %50 = call i64 @isspace(i8 noundef signext %49) %51 = icmp ne i64 %50, 0 br i1 %51, label %52, label %55 52: ; preds = %47 %53 = load ptr, ptr %6, align 8 %54 = getelementptr inbounds i8, ptr %53, i32 1 store ptr %54, ptr %6, align 8 br label %47, !llvm.loop !8 55: ; preds = %47 %56 = load ptr, ptr %6, align 8 %57 = load i8, ptr %56, align 1 %58 = sext i8 %57 to i32 %59 = icmp ne i32 %58, 0 br i1 %59, label %60, label %61 60: ; preds = %55 store i32 -1, ptr %3, align 4 br label %62 61: ; preds = %55 store i32 1, ptr %3, align 4 br label %62 62: ; preds = %61, %60, %41, %23 %63 = load i32, ptr %3, align 4 ret i32 %63 } declare i64 @isspace(i8 noundef signext) #1 declare i32 @isdigit(i8 noundef signext) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfncyc3a3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"ERROR:line %d: unligal operend!!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @isImmediateAddressing(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i8, align 1 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i8 35, ptr %7, align 1 %8 = load ptr, ptr %4, align 8 %9 = load i8, ptr %8, align 1 %10 = call i64 @isspace(i8 noundef signext %9) %11 = icmp ne i64 %10, 0 br i1 %11, label %.lr.ph, label %19 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %12 %13 = load ptr, ptr %4, align 8 %14 = getelementptr inbounds i8, ptr %13, i32 1 store ptr %14, ptr %4, align 8 %15 = load ptr, ptr %4, align 8 %16 = load i8, ptr %15, align 1 %17 = call i64 @isspace(i8 noundef signext %16) %18 = icmp ne i64 %17, 0 br i1 %18, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %19 19: ; preds = %._crit_edge, %2 %20 = load ptr, ptr %4, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = load i8, ptr %7, align 1 %24 = sext i8 %23 to i32 %25 = icmp ne i32 %22, %24 br i1 %25, label %26, label %27 26: ; preds = %19 store i32 0, ptr %3, align 4 br label %68 27: ; preds = %19 %28 = load ptr, ptr %4, align 8 %29 = getelementptr inbounds i8, ptr %28, i32 1 store ptr %29, ptr %4, align 8 %30 = load ptr, ptr %4, align 8 %31 = load i8, ptr %30, align 1 %32 = call i32 @isdigit(i8 noundef signext %31) %33 = icmp ne i32 %32, 0 br i1 %33, label %47, label %34 34: ; preds = %27 %35 = load ptr, ptr %4, align 8 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = icmp ne i32 %37, 45 br i1 %38, label %39, label %47 39: ; preds = %34 %40 = load ptr, ptr %4, align 8 %41 = load i8, ptr %40, align 1 %42 = sext i8 %41 to i32 %43 = icmp ne i32 %42, 43 br i1 %43, label %44, label %47 44: ; preds = %39 %45 = load i32, ptr %5, align 4 %46 = call i32 @printf(ptr noundef @.str, i32 noundef %45) store i32 -1, ptr %3, align 4 br label %68 47: ; preds = %39, %34, %27 %48 = load ptr, ptr %4, align 8 %49 = call i32 @strtol(ptr noundef %48, ptr noundef %6, i32 noundef 10) %50 = load ptr, ptr %6, align 8 %51 = load i8, ptr %50, align 1 %52 = call i64 @isspace(i8 noundef signext %51) %53 = icmp ne i64 %52, 0 br i1 %53, label %.lr.ph2, label %61 .lr.ph2: ; preds = %47 br label %54 54: ; preds = %.lr.ph2, %54 %55 = load ptr, ptr %6, align 8 %56 = getelementptr inbounds i8, ptr %55, i32 1 store ptr %56, ptr %6, align 8 %57 = load ptr, ptr %6, align 8 %58 = load i8, ptr %57, align 1 %59 = call i64 @isspace(i8 noundef signext %58) %60 = icmp ne i64 %59, 0 br i1 %60, label %54, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %54 br label %61 61: ; preds = %._crit_edge3, %47 %62 = load ptr, ptr %6, align 8 %63 = load i8, ptr %62, align 1 %64 = sext i8 %63 to i32 %65 = icmp ne i32 %64, 0 br i1 %65, label %66, label %67 66: ; preds = %61 store i32 -1, ptr %3, align 4 br label %68 67: ; preds = %61 store i32 1, ptr %3, align 4 br label %68 68: ; preds = %67, %66, %44, %26 %69 = load i32, ptr %3, align 4 ret i32 %69 } declare i64 @isspace(i8 noundef signext) #1 declare i32 @isdigit(i8 noundef signext) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmplruvqfo1.c' source_filename = "/tmp/tmplruvqfo1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @displaySetCharNumber(i8 noundef signext %0, i8 noundef signext %1, i8 noundef signext %2, i8 noundef signext %3, i8 noundef signext %4, i8 noundef signext %5, i8 noundef signext %6, i8 noundef signext %7) #0 { %9 = alloca i8, align 1 %10 = alloca i8, align 1 %11 = alloca i8, align 1 %12 = alloca i8, align 1 %13 = alloca i8, align 1 %14 = alloca i8, align 1 %15 = alloca i8, align 1 %16 = alloca i8, align 1 store i8 %0, ptr %9, align 1 store i8 %1, ptr %10, align 1 store i8 %2, ptr %11, align 1 store i8 %3, ptr %12, align 1 store i8 %4, ptr %13, align 1 store i8 %5, ptr %14, align 1 store i8 %6, ptr %15, align 1 store i8 %7, ptr %16, align 1 %17 = call i32 @displaySetPins(i32 noundef 0, i32 noundef 1, i8 noundef signext 0, i8 noundef signext 0, i8 noundef signext 0, i8 noundef signext 0, i8 noundef signext 0, i8 noundef signext 0, i8 noundef signext 1, i8 noundef signext 0) %18 = load i8, ptr %9, align 1 %19 = load i8, ptr %10, align 1 %20 = load i8, ptr %11, align 1 %21 = load i8, ptr %12, align 1 %22 = load i8, ptr %13, align 1 %23 = load i8, ptr %14, align 1 %24 = load i8, ptr %15, align 1 %25 = load i8, ptr %16, align 1 %26 = call i32 @displaySetPins(i32 noundef 0, i32 noundef 0, i8 noundef signext %18, i8 noundef signext %19, i8 noundef signext %20, i8 noundef signext %21, i8 noundef signext %22, i8 noundef signext %23, i8 noundef signext %24, i8 noundef signext %25) %27 = call i32 (...) @displayWriteData() ret void } declare i32 @displaySetPins(i32 noundef, i32 noundef, i8 noundef signext, i8 noundef signext, i8 noundef signext, i8 noundef signext, i8 noundef signext, i8 noundef signext, i8 noundef signext, i8 noundef signext) #1 declare i32 @displayWriteData(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplruvqfo1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @displaySetCharNumber(i8 noundef signext %0, i8 noundef signext %1, i8 noundef signext %2, i8 noundef signext %3, i8 noundef signext %4, i8 noundef signext %5, i8 noundef signext %6, i8 noundef signext %7) #0 { %9 = alloca i8, align 1 %10 = alloca i8, align 1 %11 = alloca i8, align 1 %12 = alloca i8, align 1 %13 = alloca i8, align 1 %14 = alloca i8, align 1 %15 = alloca i8, align 1 %16 = alloca i8, align 1 store i8 %0, ptr %9, align 1 store i8 %1, ptr %10, align 1 store i8 %2, ptr %11, align 1 store i8 %3, ptr %12, align 1 store i8 %4, ptr %13, align 1 store i8 %5, ptr %14, align 1 store i8 %6, ptr %15, align 1 store i8 %7, ptr %16, align 1 %17 = call i32 @displaySetPins(i32 noundef 0, i32 noundef 1, i8 noundef signext 0, i8 noundef signext 0, i8 noundef signext 0, i8 noundef signext 0, i8 noundef signext 0, i8 noundef signext 0, i8 noundef signext 1, i8 noundef signext 0) %18 = load i8, ptr %9, align 1 %19 = load i8, ptr %10, align 1 %20 = load i8, ptr %11, align 1 %21 = load i8, ptr %12, align 1 %22 = load i8, ptr %13, align 1 %23 = load i8, ptr %14, align 1 %24 = load i8, ptr %15, align 1 %25 = load i8, ptr %16, align 1 %26 = call i32 @displaySetPins(i32 noundef 0, i32 noundef 0, i8 noundef signext %18, i8 noundef signext %19, i8 noundef signext %20, i8 noundef signext %21, i8 noundef signext %22, i8 noundef signext %23, i8 noundef signext %24, i8 noundef signext %25) %27 = call i32 (...) @displayWriteData() ret void } declare i32 @displaySetPins(i32 noundef, i32 noundef, i8 noundef signext, i8 noundef signext, i8 noundef signext, i8 noundef signext, i8 noundef signext, i8 noundef signext, i8 noundef signext, i8 noundef signext) #1 declare i32 @displayWriteData(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpab7me4bm.c' source_filename = "/tmp/tmpab7me4bm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"The table is deleted successfully!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @drop(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [10 x i8], align 1 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = call i32 @strlen(ptr noundef %7) store i32 %8, ptr %4, align 4 store i32 11, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %9 9: ; preds = %32, %1 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp sle i32 %10, %11 br i1 %12, label %13, label %21 13: ; preds = %9 %14 = load ptr, ptr %2, align 8 %15 = load i32, ptr %5, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp ne i32 %19, 47 br label %21 21: ; preds = %13, %9 %22 = phi i1 [ false, %9 ], [ %20, %13 ] br i1 %22, label %23, label %37 23: ; preds = %21 %24 = load ptr, ptr %2, align 8 %25 = load i32, ptr %5, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 %28 = load i8, ptr %27, align 1 %29 = load i32, ptr %6, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 %30 store i8 %28, ptr %31, align 1 br label %32 32: ; preds = %23 %33 = load i32, ptr %5, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %5, align 4 %35 = load i32, ptr %6, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %6, align 4 br label %9, !llvm.loop !6 37: ; preds = %21 %38 = load i32, ptr %6, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 %39 store i8 0, ptr %40, align 1 %41 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %42 = call i64 @remove(ptr noundef %41) %43 = icmp eq i64 %42, 0 br i1 %43, label %44, label %46 44: ; preds = %37 %45 = call i32 @printf(ptr noundef @.str) br label %48 46: ; preds = %37 %47 = call i32 @throwError(i32 noundef 4) br label %48 48: ; preds = %46, %44 ret void } declare i32 @strlen(ptr noundef) #1 declare i64 @remove(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @throwError(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/tmpab7me4bm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"The table is deleted successfully!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @drop(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [10 x i8], align 1 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = call i32 @strlen(ptr noundef %7) store i32 %8, ptr %4, align 4 store i32 11, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %9 9: ; preds = %32, %1 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp sle i32 %10, %11 br i1 %12, label %13, label %21 13: ; preds = %9 %14 = load ptr, ptr %2, align 8 %15 = load i32, ptr %5, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp ne i32 %19, 47 br label %21 21: ; preds = %13, %9 %22 = phi i1 [ false, %9 ], [ %20, %13 ] br i1 %22, label %23, label %37 23: ; preds = %21 %24 = load ptr, ptr %2, align 8 %25 = load i32, ptr %5, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 %28 = load i8, ptr %27, align 1 %29 = load i32, ptr %6, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 %30 store i8 %28, ptr %31, align 1 br label %32 32: ; preds = %23 %33 = load i32, ptr %5, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %5, align 4 %35 = load i32, ptr %6, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %6, align 4 br label %9, !llvm.loop !6 37: ; preds = %21 %38 = load i32, ptr %6, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 %39 store i8 0, ptr %40, align 1 %41 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %42 = call i64 @remove(ptr noundef %41) %43 = icmp eq i64 %42, 0 br i1 %43, label %44, label %46 44: ; preds = %37 %45 = call i32 @printf(ptr noundef @.str) br label %48 46: ; preds = %37 %47 = call i32 @throwError(i32 noundef 4) br label %48 48: ; preds = %46, %44 ret void } declare i32 @strlen(ptr noundef) #1 declare i64 @remove(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @throwError(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/tmpgb7mlyrq.c' source_filename = "/tmp/tmpgb7mlyrq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Digite uma frase: \00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"A frase sem acentos: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [64 x i8], align 16 %7 = alloca [64 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 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0 %10 = call i32 @gets(ptr noundef %9) %11 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0 %12 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0 %13 = call i32 @tiraAcentos(ptr noundef %11, ptr noundef %12) %14 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %14) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @gets(ptr noundef) #1 declare i32 @tiraAcentos(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/tmpgb7mlyrq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Digite uma frase: \00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"A frase sem acentos: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [64 x i8], align 16 %7 = alloca [64 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 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0 %10 = call i32 @gets(ptr noundef %9) %11 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0 %12 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0 %13 = call i32 @tiraAcentos(ptr noundef %11, ptr noundef %12) %14 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %14) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @gets(ptr noundef) #1 declare i32 @tiraAcentos(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/tmpa3fpendx.c' source_filename = "/tmp/tmpa3fpendx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vec_while_int32_t(ptr noalias noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 br label %5 5: ; preds = %15, %1 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 8 br i1 %7, label %8, label %18 8: ; preds = %5 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %4, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i32, ptr %9, i64 %11 %13 = load i32, ptr %12, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %12, align 4 br label %15 15: ; preds = %8 %16 = load i32, ptr %4, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %4, align 4 br label %5, !llvm.loop !6 18: ; preds = %5 %19 = load i32, ptr %2, align 4 ret i32 %19 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa3fpendx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vec_while_int32_t(ptr noalias noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = icmp slt i32 %5, 8 br i1 %6, label %.lr.ph, label %19 .lr.ph: ; preds = %1 br label %7 7: ; preds = %.lr.ph, %14 %8 = load ptr, ptr %3, align 8 %9 = load i32, ptr %4, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds i32, ptr %8, i64 %10 %12 = load i32, ptr %11, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %11, align 4 br label %14 14: ; preds = %7 %15 = load i32, ptr %4, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %4, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %17, 8 br i1 %18, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %19 19: ; preds = %._crit_edge, %1 %20 = load i32, ptr %2, align 4 ret i32 %20 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp65g3twaa.c' source_filename = "/tmp/tmp65g3twaa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @I2C_M_RD = dso_local global i64 0, align 8 @I2C_RDWR = 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/tmp65g3twaa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @I2C_M_RD = dso_local global i64 0, align 8 @I2C_RDWR = 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/tmpfdws874i.c' source_filename = "/tmp/tmpfdws874i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @start_thread_group(i32 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 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %8 = load i32, ptr %3, align 4 %9 = sext i32 %8 to i64 %10 = mul i64 %9, 4 %11 = trunc i64 %10 to i32 %12 = call i64 @malloc(i32 noundef %11) %13 = inttoptr i64 %12 to ptr store ptr %13, ptr %5, align 8 store i32 0, ptr %6, align 4 br label %14 14: ; preds = %28, %2 %15 = load i32, ptr %6, align 4 %16 = load i32, ptr %3, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %31 18: ; preds = %14 %19 = load ptr, ptr %5, align 8 %20 = load i32, ptr %6, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %19, i64 %21 %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %6, align 4 %25 = sext i32 %24 to i64 %26 = inttoptr i64 %25 to ptr %27 = call i32 @pthread_create(ptr noundef %22, i32 noundef 0, ptr noundef %23, ptr noundef %26) br label %28 28: ; preds = %18 %29 = load i32, ptr %6, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %6, align 4 br label %14, !llvm.loop !6 31: ; preds = %14 store i32 0, ptr %7, align 4 br label %32 32: ; preds = %43, %31 %33 = load i32, ptr %7, align 4 %34 = load i32, ptr %3, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %36, label %46 36: ; preds = %32 %37 = load ptr, ptr %5, align 8 %38 = load i32, ptr %7, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i32, ptr %37, i64 %39 %41 = load i32, ptr %40, align 4 %42 = call i32 @pthread_join(i32 noundef %41, i32 noundef 0) br label %43 43: ; preds = %36 %44 = load i32, ptr %7, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %7, align 4 br label %32, !llvm.loop !8 46: ; preds = %32 ret void } declare i64 @malloc(i32 noundef) #1 declare i32 @pthread_create(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @pthread_join(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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfdws874i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @start_thread_group(i32 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 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %8 = load i32, ptr %3, align 4 %9 = sext i32 %8 to i64 %10 = mul i64 %9, 4 %11 = trunc i64 %10 to i32 %12 = call i64 @malloc(i32 noundef %11) %13 = inttoptr i64 %12 to ptr store ptr %13, ptr %5, align 8 store i32 0, ptr %6, align 4 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %3, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %.lr.ph, label %33 .lr.ph: ; preds = %2 br label %17 17: ; preds = %.lr.ph, %27 %18 = load ptr, ptr %5, align 8 %19 = load i32, ptr %6, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %18, i64 %20 %22 = load ptr, ptr %4, align 8 %23 = load i32, ptr %6, align 4 %24 = sext i32 %23 to i64 %25 = inttoptr i64 %24 to ptr %26 = call i32 @pthread_create(ptr noundef %21, i32 noundef 0, ptr noundef %22, ptr noundef %25) br label %27 27: ; preds = %17 %28 = load i32, ptr %6, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %6, align 4 %30 = load i32, ptr %6, align 4 %31 = load i32, ptr %3, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %33 33: ; preds = %._crit_edge, %2 store i32 0, ptr %7, align 4 %34 = load i32, ptr %7, align 4 %35 = load i32, ptr %3, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %.lr.ph2, label %50 .lr.ph2: ; preds = %33 br label %37 37: ; preds = %.lr.ph2, %44 %38 = load ptr, ptr %5, align 8 %39 = load i32, ptr %7, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i32, ptr %38, i64 %40 %42 = load i32, ptr %41, align 4 %43 = call i32 @pthread_join(i32 noundef %42, i32 noundef 0) br label %44 44: ; preds = %37 %45 = load i32, ptr %7, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %7, align 4 %47 = load i32, ptr %7, align 4 %48 = load i32, ptr %3, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %37, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %44 br label %50 50: ; preds = %._crit_edge3, %33 ret void } declare i64 @malloc(i32 noundef) #1 declare i32 @pthread_create(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @pthread_join(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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpo99on3yf.c' source_filename = "/tmp/tmpo99on3yf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tweak_ths(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, double noundef %4, i32 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca double, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca i32, align 4 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca double, align 8 %28 = alloca double, align 8 %29 = alloca double, align 8 %30 = alloca double, align 8 %31 = alloca double, align 8 %32 = alloca double, align 8 %33 = alloca double, align 8 %34 = alloca double, align 8 %35 = alloca double, align 8 %36 = alloca double, align 8 %37 = alloca i32, align 4 %38 = alloca double, align 8 %39 = alloca double, align 8 %40 = alloca double, align 8 %41 = alloca double, align 8 %42 = alloca i32, align 4 %43 = alloca double, align 8 %44 = alloca double, align 8 %45 = alloca double, align 8 %46 = alloca double, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store double %4, ptr %11, align 8 store i32 %5, ptr %12, align 4 %47 = load i32, ptr %10, align 4 %48 = sext i32 %47 to i64 %49 = mul i64 8, %48 %50 = trunc i64 %49 to i32 %51 = call i64 @malloc(i32 noundef %50) %52 = inttoptr i64 %51 to ptr store ptr %52, ptr %13, align 8 store i32 0, ptr %14, align 4 br label %53 53: ; preds = %179, %6 %54 = load i32, ptr %14, align 4 %55 = load i32, ptr %10, align 4 %56 = sub nsw i32 %55, 1 %57 = load i32, ptr %12, align 4 %58 = add nsw i32 %56, %57 %59 = icmp slt i32 %54, %58 br i1 %59, label %60, label %182 60: ; preds = %53 %61 = load ptr, ptr %7, align 8 %62 = load i32, ptr %14, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds double, ptr %61, i64 %63 %65 = load double, ptr %64, align 8 store double %65, ptr %17, align 8 %66 = load ptr, ptr %8, align 8 %67 = load i32, ptr %14, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds double, ptr %66, i64 %68 %70 = load double, ptr %69, align 8 store double %70, ptr %18, align 8 %71 = load i32, ptr %14, align 4 %72 = add nsw i32 %71, 1 %73 = load i32, ptr %10, align 4 %74 = srem i32 %72, %73 store i32 %74, ptr %19, align 4 %75 = load ptr, ptr %7, align 8 %76 = load i32, ptr %19, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds double, ptr %75, i64 %77 %79 = load double, ptr %78, align 8 store double %79, ptr %20, align 8 %80 = load ptr, ptr %8, align 8 %81 = load i32, ptr %19, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds double, ptr %80, i64 %82 %84 = load double, ptr %83, align 8 store double %84, ptr %21, align 8 store double -1.000000e+00, ptr %34, align 8 %85 = load double, ptr %17, align 8 %86 = load double, ptr %20, align 8 %87 = fcmp oeq double %85, %86 br i1 %87, label %88, label %99 88: ; preds = %60 %89 = load double, ptr %18, align 8 %90 = load double, ptr %21, align 8 %91 = fcmp oeq double %89, %90 br i1 %91, label %92, label %99 92: ; preds = %88 %93 = load double, ptr %20, align 8 %94 = fadd double %93, 0x3EB0C6F7A0B5ED8D store double %94, ptr %20, align 8 %95 = load ptr, ptr %7, align 8 %96 = load i32, ptr %14, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds double, ptr %95, i64 %97 store double %94, ptr %98, align 8 br label %99 99: ; preds = %92, %88, %60 %100 = load double, ptr %21, align 8 %101 = load double, ptr %18, align 8 %102 = fsub double %100, %101 %103 = load double, ptr %20, align 8 %104 = load double, ptr %17, align 8 %105 = fsub double %103, %104 %106 = call double @atan2(double noundef %102, double noundef %105) #3 store double %106, ptr %22, align 8 %107 = load ptr, ptr %9, align 8 %108 = load i32, ptr %14, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds double, ptr %107, i64 %109 %111 = load double, ptr %110, align 8 %112 = load double, ptr %22, align 8 %113 = fsub double %111, %112 %114 = call double @mod_2pi(double noundef %113) store double %114, ptr %23, align 8 %115 = load double, ptr %22, align 8 %116 = load ptr, ptr %9, align 8 %117 = load i32, ptr %19, align 4 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds double, ptr %116, i64 %118 %120 = load double, ptr %119, align 8 %121 = fsub double %115, %120 %122 = call double @mod_2pi(double noundef %121) store double %122, ptr %24, align 8 %123 = load double, ptr %24, align 8 %124 = fadd double %123, 0x3EB0C6F7A0B5ED8D store double %124, ptr %24, align 8 %125 = load double, ptr %24, align 8 %126 = load double, ptr %23, align 8 %127 = fcmp olt double %125, %126 br i1 %127, label %128, label %132 128: ; preds = %99 %129 = load double, ptr %23, align 8 store double %129, ptr %35, align 8 %130 = load double, ptr %24, align 8 store double %130, ptr %23, align 8 %131 = load double, ptr %35, align 8 store double %131, ptr %24, align 8 store double 1.000000e+00, ptr %34, align 8 br label %132 132: ; preds = %128, %99 %133 = load double, ptr %23, align 8 %134 = load double, ptr %24, align 8 %135 = call i32 @fit_cornu_half(double noundef %133, double noundef %134, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28) %136 = load double, ptr %34, align 8 %137 = fcmp oeq double %136, 1.000000e+00 br i1 %137, label %138, label %145 138: ; preds = %132 %139 = load double, ptr %25, align 8 store double %139, ptr %36, align 8 %140 = load double, ptr %26, align 8 store double %140, ptr %25, align 8 %141 = load double, ptr %36, align 8 store double %141, ptr %26, align 8 %142 = load double, ptr %27, align 8 store double %142, ptr %36, align 8 %143 = load double, ptr %28, align 8 store double %143, ptr %27, align 8 %144 = load double, ptr %36, align 8 store double %144, ptr %28, align 8 br label %145 145: ; preds = %138, %132 %146 = load double, ptr %25, align 8 %147 = call i32 @eval_cornu(double noundef %146, ptr noundef %29, ptr noundef %30) %148 = load double, ptr %26, align 8 %149 = call i32 @eval_cornu(double noundef %148, ptr noundef %31, ptr noundef %32) %150 = load double, ptr %21, align 8 %151 = load double, ptr %18, align 8 %152 = fsub double %150, %151 %153 = load double, ptr %20, align 8 %154 = load double, ptr %17, align 8 %155 = fsub double %153, %154 %156 = call i32 @hypot(double noundef %152, double noundef %155) %157 = sdiv i32 1, %156 %158 = sitofp i32 %157 to double store double %158, ptr %33, align 8 %159 = load double, ptr %33, align 8 %160 = load double, ptr %27, align 8 %161 = fmul double %160, %159 store double %161, ptr %27, align 8 %162 = load double, ptr %33, align 8 %163 = load double, ptr %28, align 8 %164 = fmul double %163, %162 store double %164, ptr %28, align 8 %165 = load i32, ptr %14, align 4 %166 = icmp sgt i32 %165, 0 br i1 %166, label %167, label %175 167: ; preds = %145 %168 = load double, ptr %27, align 8 %169 = load double, ptr %16, align 8 %170 = fsub double %168, %169 %171 = load ptr, ptr %13, align 8 %172 = load i32, ptr %14, align 4 %173 = sext i32 %172 to i64 %174 = getelementptr inbounds double, ptr %171, i64 %173 store double %170, ptr %174, align 8 br label %177 175: ; preds = %145 %176 = load double, ptr %27, align 8 store double %176, ptr %15, align 8 br label %177 177: ; preds = %175, %167 %178 = load double, ptr %28, align 8 store double %178, ptr %16, align 8 br label %179 179: ; preds = %177 %180 = load i32, ptr %14, align 4 %181 = add nsw i32 %180, 1 store i32 %181, ptr %14, align 4 br label %53, !llvm.loop !6 182: ; preds = %53 %183 = load i32, ptr %12, align 4 %184 = icmp ne i32 %183, 0 br i1 %184, label %185, label %191 185: ; preds = %182 %186 = load double, ptr %15, align 8 %187 = load double, ptr %16, align 8 %188 = fsub double %186, %187 %189 = load ptr, ptr %13, align 8 %190 = getelementptr inbounds double, ptr %189, i64 0 store double %188, ptr %190, align 8 br label %191 191: ; preds = %185, %182 %192 = load i32, ptr %12, align 4 %193 = sub nsw i32 1, %192 store i32 %193, ptr %14, align 4 br label %194 194: ; preds = %279, %191 %195 = load i32, ptr %14, align 4 %196 = load i32, ptr %10, align 4 %197 = sub nsw i32 %196, 1 %198 = load i32, ptr %12, align 4 %199 = add nsw i32 %197, %198 %200 = icmp slt i32 %195, %199 br i1 %200, label %201, label %282 201: ; preds = %194 %202 = load i32, ptr %14, align 4 %203 = load i32, ptr %10, align 4 %204 = add nsw i32 %202, %203 %205 = sub nsw i32 %204, 1 %206 = load i32, ptr %10, align 4 %207 = srem i32 %205, %206 store i32 %207, ptr %37, align 4 %208 = load ptr, ptr %7, align 8 %209 = load i32, ptr %37, align 4 %210 = sext i32 %209 to i64 %211 = getelementptr inbounds double, ptr %208, i64 %210 %212 = load double, ptr %211, align 8 store double %212, ptr %38, align 8 %213 = load ptr, ptr %8, align 8 %214 = load i32, ptr %37, align 4 %215 = sext i32 %214 to i64 %216 = getelementptr inbounds double, ptr %213, i64 %215 %217 = load double, ptr %216, align 8 store double %217, ptr %39, align 8 %218 = load ptr, ptr %7, align 8 %219 = load i32, ptr %14, align 4 %220 = sext i32 %219 to i64 %221 = getelementptr inbounds double, ptr %218, i64 %220 %222 = load double, ptr %221, align 8 store double %222, ptr %40, align 8 %223 = load ptr, ptr %8, align 8 %224 = load i32, ptr %14, align 4 %225 = sext i32 %224 to i64 %226 = getelementptr inbounds double, ptr %223, i64 %225 %227 = load double, ptr %226, align 8 store double %227, ptr %41, align 8 %228 = load i32, ptr %14, align 4 %229 = add nsw i32 %228, 1 %230 = load i32, ptr %10, align 4 %231 = srem i32 %229, %230 store i32 %231, ptr %42, align 4 %232 = load ptr, ptr %7, align 8 %233 = load i32, ptr %42, align 4 %234 = sext i32 %233 to i64 %235 = getelementptr inbounds double, ptr %232, i64 %234 %236 = load double, ptr %235, align 8 store double %236, ptr %43, align 8 %237 = load ptr, ptr %8, align 8 %238 = load i32, ptr %42, align 4 %239 = sext i32 %238 to i64 %240 = getelementptr inbounds double, ptr %237, i64 %239 %241 = load double, ptr %240, align 8 store double %241, ptr %44, align 8 %242 = load double, ptr %40, align 8 %243 = load double, ptr %38, align 8 %244 = fsub double %242, %243 %245 = load double, ptr %41, align 8 %246 = load double, ptr %39, align 8 %247 = fsub double %245, %246 %248 = call i32 @hypot(double noundef %244, double noundef %247) %249 = sitofp i32 %248 to double store double %249, ptr %45, align 8 %250 = load double, ptr %43, align 8 %251 = load double, ptr %40, align 8 %252 = fsub double %250, %251 %253 = load double, ptr %44, align 8 %254 = load double, ptr %41, align 8 %255 = fsub double %253, %254 %256 = call i32 @hypot(double noundef %252, double noundef %255) %257 = sitofp i32 %256 to double store double %257, ptr %46, align 8 %258 = load double, ptr %11, align 8 %259 = load ptr, ptr %13, align 8 %260 = load i32, ptr %14, align 4 %261 = sext i32 %260 to i64 %262 = getelementptr inbounds double, ptr %259, i64 %261 %263 = load double, ptr %262, align 8 %264 = fmul double %258, %263 %265 = load double, ptr %45, align 8 %266 = fmul double %264, %265 %267 = load double, ptr %46, align 8 %268 = fmul double %266, %267 %269 = load double, ptr %45, align 8 %270 = load double, ptr %46, align 8 %271 = fadd double %269, %270 %272 = fdiv double %268, %271 %273 = load ptr, ptr %9, align 8 %274 = load i32, ptr %14, align 4 %275 = sext i32 %274 to i64 %276 = getelementptr inbounds double, ptr %273, i64 %275 %277 = load double, ptr %276, align 8 %278 = fsub double %277, %272 store double %278, ptr %276, align 8 br label %279 279: ; preds = %201 %280 = load i32, ptr %14, align 4 %281 = add nsw i32 %280, 1 store i32 %281, ptr %14, align 4 br label %194, !llvm.loop !8 282: ; preds = %194 %283 = load ptr, ptr %13, align 8 %284 = call i32 @free(ptr noundef %283) ret void } declare i64 @malloc(i32 noundef) #1 ; Function Attrs: nounwind declare double @atan2(double noundef, double noundef) #2 declare double @mod_2pi(double noundef) #1 declare i32 @fit_cornu_half(double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @eval_cornu(double noundef, ptr noundef, ptr noundef) #1 declare i32 @hypot(double noundef, double 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" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo99on3yf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tweak_ths(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, double noundef %4, i32 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca double, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca i32, align 4 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca double, align 8 %28 = alloca double, align 8 %29 = alloca double, align 8 %30 = alloca double, align 8 %31 = alloca double, align 8 %32 = alloca double, align 8 %33 = alloca double, align 8 %34 = alloca double, align 8 %35 = alloca double, align 8 %36 = alloca double, align 8 %37 = alloca i32, align 4 %38 = alloca double, align 8 %39 = alloca double, align 8 %40 = alloca double, align 8 %41 = alloca double, align 8 %42 = alloca i32, align 4 %43 = alloca double, align 8 %44 = alloca double, align 8 %45 = alloca double, align 8 %46 = alloca double, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store double %4, ptr %11, align 8 store i32 %5, ptr %12, align 4 %47 = load i32, ptr %10, align 4 %48 = sext i32 %47 to i64 %49 = mul i64 8, %48 %50 = trunc i64 %49 to i32 %51 = call i64 @malloc(i32 noundef %50) %52 = inttoptr i64 %51 to ptr store ptr %52, ptr %13, align 8 store i32 0, ptr %14, align 4 %53 = load i32, ptr %14, align 4 %54 = load i32, ptr %10, align 4 %55 = sub nsw i32 %54, 1 %56 = load i32, ptr %12, align 4 %57 = add nsw i32 %55, %56 %58 = icmp slt i32 %53, %57 br i1 %58, label %.lr.ph, label %187 .lr.ph: ; preds = %6 br label %59 59: ; preds = %.lr.ph, %178 %60 = load ptr, ptr %7, align 8 %61 = load i32, ptr %14, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds double, ptr %60, i64 %62 %64 = load double, ptr %63, align 8 store double %64, ptr %17, align 8 %65 = load ptr, ptr %8, align 8 %66 = load i32, ptr %14, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds double, ptr %65, i64 %67 %69 = load double, ptr %68, align 8 store double %69, ptr %18, align 8 %70 = load i32, ptr %14, align 4 %71 = add nsw i32 %70, 1 %72 = load i32, ptr %10, align 4 %73 = srem i32 %71, %72 store i32 %73, ptr %19, align 4 %74 = load ptr, ptr %7, align 8 %75 = load i32, ptr %19, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds double, ptr %74, i64 %76 %78 = load double, ptr %77, align 8 store double %78, ptr %20, align 8 %79 = load ptr, ptr %8, align 8 %80 = load i32, ptr %19, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds double, ptr %79, i64 %81 %83 = load double, ptr %82, align 8 store double %83, ptr %21, align 8 store double -1.000000e+00, ptr %34, align 8 %84 = load double, ptr %17, align 8 %85 = load double, ptr %20, align 8 %86 = fcmp oeq double %84, %85 br i1 %86, label %87, label %98 87: ; preds = %59 %88 = load double, ptr %18, align 8 %89 = load double, ptr %21, align 8 %90 = fcmp oeq double %88, %89 br i1 %90, label %91, label %98 91: ; preds = %87 %92 = load double, ptr %20, align 8 %93 = fadd double %92, 0x3EB0C6F7A0B5ED8D store double %93, ptr %20, align 8 %94 = load ptr, ptr %7, align 8 %95 = load i32, ptr %14, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds double, ptr %94, i64 %96 store double %93, ptr %97, align 8 br label %98 98: ; preds = %91, %87, %59 %99 = load double, ptr %21, align 8 %100 = load double, ptr %18, align 8 %101 = fsub double %99, %100 %102 = load double, ptr %20, align 8 %103 = load double, ptr %17, align 8 %104 = fsub double %102, %103 %105 = call double @atan2(double noundef %101, double noundef %104) #3 store double %105, ptr %22, align 8 %106 = load ptr, ptr %9, align 8 %107 = load i32, ptr %14, align 4 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds double, ptr %106, i64 %108 %110 = load double, ptr %109, align 8 %111 = load double, ptr %22, align 8 %112 = fsub double %110, %111 %113 = call double @mod_2pi(double noundef %112) store double %113, ptr %23, align 8 %114 = load double, ptr %22, align 8 %115 = load ptr, ptr %9, align 8 %116 = load i32, ptr %19, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds double, ptr %115, i64 %117 %119 = load double, ptr %118, align 8 %120 = fsub double %114, %119 %121 = call double @mod_2pi(double noundef %120) store double %121, ptr %24, align 8 %122 = load double, ptr %24, align 8 %123 = fadd double %122, 0x3EB0C6F7A0B5ED8D store double %123, ptr %24, align 8 %124 = load double, ptr %24, align 8 %125 = load double, ptr %23, align 8 %126 = fcmp olt double %124, %125 br i1 %126, label %127, label %131 127: ; preds = %98 %128 = load double, ptr %23, align 8 store double %128, ptr %35, align 8 %129 = load double, ptr %24, align 8 store double %129, ptr %23, align 8 %130 = load double, ptr %35, align 8 store double %130, ptr %24, align 8 store double 1.000000e+00, ptr %34, align 8 br label %131 131: ; preds = %127, %98 %132 = load double, ptr %23, align 8 %133 = load double, ptr %24, align 8 %134 = call i32 @fit_cornu_half(double noundef %132, double noundef %133, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28) %135 = load double, ptr %34, align 8 %136 = fcmp oeq double %135, 1.000000e+00 br i1 %136, label %137, label %144 137: ; preds = %131 %138 = load double, ptr %25, align 8 store double %138, ptr %36, align 8 %139 = load double, ptr %26, align 8 store double %139, ptr %25, align 8 %140 = load double, ptr %36, align 8 store double %140, ptr %26, align 8 %141 = load double, ptr %27, align 8 store double %141, ptr %36, align 8 %142 = load double, ptr %28, align 8 store double %142, ptr %27, align 8 %143 = load double, ptr %36, align 8 store double %143, ptr %28, align 8 br label %144 144: ; preds = %137, %131 %145 = load double, ptr %25, align 8 %146 = call i32 @eval_cornu(double noundef %145, ptr noundef %29, ptr noundef %30) %147 = load double, ptr %26, align 8 %148 = call i32 @eval_cornu(double noundef %147, ptr noundef %31, ptr noundef %32) %149 = load double, ptr %21, align 8 %150 = load double, ptr %18, align 8 %151 = fsub double %149, %150 %152 = load double, ptr %20, align 8 %153 = load double, ptr %17, align 8 %154 = fsub double %152, %153 %155 = call i32 @hypot(double noundef %151, double noundef %154) %156 = sdiv i32 1, %155 %157 = sitofp i32 %156 to double store double %157, ptr %33, align 8 %158 = load double, ptr %33, align 8 %159 = load double, ptr %27, align 8 %160 = fmul double %159, %158 store double %160, ptr %27, align 8 %161 = load double, ptr %33, align 8 %162 = load double, ptr %28, align 8 %163 = fmul double %162, %161 store double %163, ptr %28, align 8 %164 = load i32, ptr %14, align 4 %165 = icmp sgt i32 %164, 0 br i1 %165, label %166, label %174 166: ; preds = %144 %167 = load double, ptr %27, align 8 %168 = load double, ptr %16, align 8 %169 = fsub double %167, %168 %170 = load ptr, ptr %13, align 8 %171 = load i32, ptr %14, align 4 %172 = sext i32 %171 to i64 %173 = getelementptr inbounds double, ptr %170, i64 %172 store double %169, ptr %173, align 8 br label %176 174: ; preds = %144 %175 = load double, ptr %27, align 8 store double %175, ptr %15, align 8 br label %176 176: ; preds = %174, %166 %177 = load double, ptr %28, align 8 store double %177, ptr %16, align 8 br label %178 178: ; preds = %176 %179 = load i32, ptr %14, align 4 %180 = add nsw i32 %179, 1 store i32 %180, ptr %14, align 4 %181 = load i32, ptr %14, align 4 %182 = load i32, ptr %10, align 4 %183 = sub nsw i32 %182, 1 %184 = load i32, ptr %12, align 4 %185 = add nsw i32 %183, %184 %186 = icmp slt i32 %181, %185 br i1 %186, label %59, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %178 br label %187 187: ; preds = %._crit_edge, %6 %188 = load i32, ptr %12, align 4 %189 = icmp ne i32 %188, 0 br i1 %189, label %190, label %196 190: ; preds = %187 %191 = load double, ptr %15, align 8 %192 = load double, ptr %16, align 8 %193 = fsub double %191, %192 %194 = load ptr, ptr %13, align 8 %195 = getelementptr inbounds double, ptr %194, i64 0 store double %193, ptr %195, align 8 br label %196 196: ; preds = %190, %187 %197 = load i32, ptr %12, align 4 %198 = sub nsw i32 1, %197 store i32 %198, ptr %14, align 4 %199 = load i32, ptr %14, align 4 %200 = load i32, ptr %10, align 4 %201 = sub nsw i32 %200, 1 %202 = load i32, ptr %12, align 4 %203 = add nsw i32 %201, %202 %204 = icmp slt i32 %199, %203 br i1 %204, label %.lr.ph2, label %292 .lr.ph2: ; preds = %196 br label %205 205: ; preds = %.lr.ph2, %283 %206 = load i32, ptr %14, align 4 %207 = load i32, ptr %10, align 4 %208 = add nsw i32 %206, %207 %209 = sub nsw i32 %208, 1 %210 = load i32, ptr %10, align 4 %211 = srem i32 %209, %210 store i32 %211, ptr %37, align 4 %212 = load ptr, ptr %7, align 8 %213 = load i32, ptr %37, align 4 %214 = sext i32 %213 to i64 %215 = getelementptr inbounds double, ptr %212, i64 %214 %216 = load double, ptr %215, align 8 store double %216, ptr %38, align 8 %217 = load ptr, ptr %8, align 8 %218 = load i32, ptr %37, align 4 %219 = sext i32 %218 to i64 %220 = getelementptr inbounds double, ptr %217, i64 %219 %221 = load double, ptr %220, align 8 store double %221, ptr %39, align 8 %222 = load ptr, ptr %7, align 8 %223 = load i32, ptr %14, align 4 %224 = sext i32 %223 to i64 %225 = getelementptr inbounds double, ptr %222, i64 %224 %226 = load double, ptr %225, align 8 store double %226, ptr %40, align 8 %227 = load ptr, ptr %8, align 8 %228 = load i32, ptr %14, align 4 %229 = sext i32 %228 to i64 %230 = getelementptr inbounds double, ptr %227, i64 %229 %231 = load double, ptr %230, align 8 store double %231, ptr %41, align 8 %232 = load i32, ptr %14, align 4 %233 = add nsw i32 %232, 1 %234 = load i32, ptr %10, align 4 %235 = srem i32 %233, %234 store i32 %235, ptr %42, align 4 %236 = load ptr, ptr %7, align 8 %237 = load i32, ptr %42, align 4 %238 = sext i32 %237 to i64 %239 = getelementptr inbounds double, ptr %236, i64 %238 %240 = load double, ptr %239, align 8 store double %240, ptr %43, align 8 %241 = load ptr, ptr %8, align 8 %242 = load i32, ptr %42, align 4 %243 = sext i32 %242 to i64 %244 = getelementptr inbounds double, ptr %241, i64 %243 %245 = load double, ptr %244, align 8 store double %245, ptr %44, align 8 %246 = load double, ptr %40, align 8 %247 = load double, ptr %38, align 8 %248 = fsub double %246, %247 %249 = load double, ptr %41, align 8 %250 = load double, ptr %39, align 8 %251 = fsub double %249, %250 %252 = call i32 @hypot(double noundef %248, double noundef %251) %253 = sitofp i32 %252 to double store double %253, ptr %45, align 8 %254 = load double, ptr %43, align 8 %255 = load double, ptr %40, align 8 %256 = fsub double %254, %255 %257 = load double, ptr %44, align 8 %258 = load double, ptr %41, align 8 %259 = fsub double %257, %258 %260 = call i32 @hypot(double noundef %256, double noundef %259) %261 = sitofp i32 %260 to double store double %261, ptr %46, align 8 %262 = load double, ptr %11, align 8 %263 = load ptr, ptr %13, align 8 %264 = load i32, ptr %14, align 4 %265 = sext i32 %264 to i64 %266 = getelementptr inbounds double, ptr %263, i64 %265 %267 = load double, ptr %266, align 8 %268 = fmul double %262, %267 %269 = load double, ptr %45, align 8 %270 = fmul double %268, %269 %271 = load double, ptr %46, align 8 %272 = fmul double %270, %271 %273 = load double, ptr %45, align 8 %274 = load double, ptr %46, align 8 %275 = fadd double %273, %274 %276 = fdiv double %272, %275 %277 = load ptr, ptr %9, align 8 %278 = load i32, ptr %14, align 4 %279 = sext i32 %278 to i64 %280 = getelementptr inbounds double, ptr %277, i64 %279 %281 = load double, ptr %280, align 8 %282 = fsub double %281, %276 store double %282, ptr %280, align 8 br label %283 283: ; preds = %205 %284 = load i32, ptr %14, align 4 %285 = add nsw i32 %284, 1 store i32 %285, ptr %14, align 4 %286 = load i32, ptr %14, align 4 %287 = load i32, ptr %10, align 4 %288 = sub nsw i32 %287, 1 %289 = load i32, ptr %12, align 4 %290 = add nsw i32 %288, %289 %291 = icmp slt i32 %286, %290 br i1 %291, label %205, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %283 br label %292 292: ; preds = %._crit_edge3, %196 %293 = load ptr, ptr %13, align 8 %294 = call i32 @free(ptr noundef %293) ret void } declare i64 @malloc(i32 noundef) #1 ; Function Attrs: nounwind declare double @atan2(double noundef, double noundef) #2 declare double @mod_2pi(double noundef) #1 declare i32 @fit_cornu_half(double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @eval_cornu(double noundef, ptr noundef, ptr noundef) #1 declare i32 @hypot(double noundef, double 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" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp3_20s3lj.c' source_filename = "/tmp/tmp3_20s3lj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"test\0A\00", align 1 @llvm.global_ctors = appending global [1 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 65535, ptr @first, ptr null }] ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @first() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3_20s3lj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"test\0A\00", align 1 @llvm.global_ctors = appending global [1 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 65535, ptr @first, ptr null }] ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @first() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptva25iqp.c' source_filename = "/tmp/tmptva25iqp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 @BLE_WAKEUP_LP_Handler() #0 { %1 = call i32 (...) @default_isr() ret void } declare i32 @default_isr(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptva25iqp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 @BLE_WAKEUP_LP_Handler() #0 { %1 = call i32 (...) @default_isr() ret void } declare i32 @default_isr(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpu4qzzl7p.c' source_filename = "/tmp/tmpu4qzzl7p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"Bella Ndabarushimana\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c" I am %d years old \0A\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c" My name is %s \0A\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"My name is %s \0A\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"Kai Olsen\00", align 1 @.str.5 = private unnamed_addr constant [20 x i8] c"the new age is %d \0A\00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c"the new name is %s \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [30 x i8], align 16 %5 = alloca [30 x i8], align 16 store i32 0, ptr %1, align 4 store i32 18, ptr %2, align 4 %6 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0 %7 = call i32 @strcpy(ptr noundef %6, ptr noundef @.str) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 18) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str) %10 = load i32, ptr %2, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %10) %12 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %12) %14 = load i32, ptr %3, align 4 store i32 %14, ptr %2, align 4 store i32 15, ptr %3, align 4 %15 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0 %16 = call i32 @strcpy(ptr noundef %15, ptr noundef @.str.4) %17 = load i32, ptr %3, align 4 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %17) %19 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %19) ret i32 0 } declare i32 @strcpy(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/tmpu4qzzl7p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"Bella Ndabarushimana\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c" I am %d years old \0A\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c" My name is %s \0A\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"My name is %s \0A\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"Kai Olsen\00", align 1 @.str.5 = private unnamed_addr constant [20 x i8] c"the new age is %d \0A\00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c"the new name is %s \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [30 x i8], align 16 %5 = alloca [30 x i8], align 16 store i32 0, ptr %1, align 4 store i32 18, ptr %2, align 4 %6 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0 %7 = call i32 @strcpy(ptr noundef %6, ptr noundef @.str) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 18) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str) %10 = load i32, ptr %2, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %10) %12 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %12) %14 = load i32, ptr %3, align 4 store i32 %14, ptr %2, align 4 store i32 15, ptr %3, align 4 %15 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0 %16 = call i32 @strcpy(ptr noundef %15, ptr noundef @.str.4) %17 = load i32, ptr %3, align 4 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %17) %19 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %19) ret i32 0 } declare i32 @strcpy(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/tmpaa457lrp.c' source_filename = "/tmp/tmpaa457lrp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"--help\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"d:m:\00", align 1 @EOF = dso_local global i32 0, align 4 @optarg = dso_local global ptr null, align 8 @.str.2 = private unnamed_addr constant [13 x i8] c"syntax error\00", align 1 @optind = dso_local global i32 0, align 4 @ENOMEM = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [2 x i8] c"/\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 i64, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = 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 store i32 0, ptr %6, align 4 store ptr null, ptr %7, align 8 store i64 0, ptr %8, align 8 store i32 0, ptr %9, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp eq i32 %14, 2 br i1 %15, label %16, label %25 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call i64 @strcmp(ptr noundef %19, ptr noundef @.str) %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %16 %23 = call i32 (...) @usage() %24 = call i32 @exit(i32 noundef 0) #3 unreachable 25: ; preds = %16, %2 br label %26 26: ; preds = %47, %25 %27 = load i32, ptr %4, align 4 %28 = load ptr, ptr %5, align 8 %29 = call i32 @getopt(i32 noundef %27, ptr noundef %28, ptr noundef @.str.1) store i32 %29, ptr %10, align 4 %30 = load i32, ptr @EOF, align 4 %31 = icmp ne i32 %29, %30 br i1 %31, label %32, label %48 32: ; preds = %26 %33 = load i32, ptr %10, align 4 %34 = icmp eq i32 %33, 100 br i1 %34, label %35, label %37 35: ; preds = %32 %36 = load ptr, ptr @optarg, align 8 store ptr %36, ptr %7, align 8 br label %47 37: ; preds = %32 %38 = load i32, ptr %10, align 4 %39 = icmp eq i32 %38, 109 br i1 %39, label %40, label %43 40: ; preds = %37 %41 = load ptr, ptr @optarg, align 8 %42 = call i64 @strtol(ptr noundef %41, ptr noundef null, i32 noundef 8) store i64 %42, ptr %8, align 8 br label %46 43: ; preds = %37 %44 = call i32 @err(ptr noundef @.str.2) %45 = call i32 @exit(i32 noundef 1) #3 unreachable 46: ; preds = %40 br label %47 47: ; preds = %46, %35 br label %26, !llvm.loop !6 48: ; preds = %26 br label %49 49: ; preds = %48 %50 = load ptr, ptr %7, align 8 %51 = icmp eq ptr %50, null br i1 %51, label %52, label %60 52: ; preds = %49 %53 = load i32, ptr %4, align 4 %54 = load i32, ptr @optind, align 4 %55 = sub nsw i32 %53, %54 %56 = icmp ne i32 %55, 2 br i1 %56, label %57, label %60 57: ; preds = %52 %58 = call i32 @err(ptr noundef @.str.2) %59 = call i32 @exit(i32 noundef 1) #3 unreachable 60: ; preds = %52, %49 %61 = load ptr, ptr %7, align 8 %62 = icmp eq ptr %61, null br i1 %62, label %63, label %80 63: ; preds = %60 %64 = load ptr, ptr %5, align 8 %65 = load i32, ptr @optind, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds ptr, ptr %64, i64 %66 %68 = load ptr, ptr %67, align 8 %69 = load ptr, ptr %5, align 8 %70 = load i32, ptr @optind, align 4 %71 = add nsw i32 %70, 1 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds ptr, ptr %69, i64 %72 %74 = load ptr, ptr %73, align 8 %75 = load i64, ptr %8, align 8 %76 = call i64 @install_file(ptr noundef %68, ptr noundef %74, i64 noundef %75) %77 = icmp ne i64 %76, 0 br i1 %77, label %78, label %79 78: ; preds = %63 store i32 1, ptr %6, align 4 br label %79 79: ; preds = %78, %63 br label %157 80: ; preds = %60 %81 = load i32, ptr @optind, align 4 store i32 %81, ptr %11, align 4 br label %82 82: ; preds = %153, %80 %83 = load i32, ptr %11, align 4 %84 = load i32, ptr %4, align 4 %85 = icmp slt i32 %83, %84 br i1 %85, label %86, label %156 86: ; preds = %82 store ptr null, ptr %12, align 8 %87 = load ptr, ptr %5, align 8 %88 = load i32, ptr %11, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds ptr, ptr %87, i64 %89 %91 = load ptr, ptr %90, align 8 %92 = call ptr @strrchr(ptr noundef %91, i8 noundef signext 47) store ptr %92, ptr %13, align 8 %93 = load ptr, ptr %13, align 8 %94 = icmp eq ptr %93, null br i1 %94, label %95, label %101 95: ; preds = %86 %96 = load ptr, ptr %5, align 8 %97 = load i32, ptr %11, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds ptr, ptr %96, i64 %98 %100 = load ptr, ptr %99, align 8 store ptr %100, ptr %13, align 8 br label %101 101: ; preds = %95, %86 %102 = load ptr, ptr %7, align 8 %103 = call i32 @strlen(ptr noundef %102) %104 = load ptr, ptr %13, align 8 %105 = call i32 @strlen(ptr noundef %104) %106 = add nsw i32 %103, %105 %107 = add nsw i32 %106, 2 %108 = call ptr @malloc(i32 noundef %107) store ptr %108, ptr %12, align 8 %109 = load ptr, ptr %12, align 8 %110 = icmp eq ptr %109, null br i1 %110, label %111, label %116 111: ; preds = %101 %112 = load i32, ptr @ENOMEM, align 4 %113 = call ptr @strerror(i32 noundef %112) %114 = call i32 @err(ptr noundef %113) %115 = call i32 @exit(i32 noundef 1) #3 unreachable 116: ; preds = %101 %117 = load ptr, ptr %12, align 8 %118 = load ptr, ptr %7, align 8 %119 = call i32 @strcpy(ptr noundef %117, ptr noundef %118) %120 = load ptr, ptr %12, align 8 %121 = call i32 @strlen(ptr noundef %120) %122 = icmp sgt i32 %121, 0 br i1 %122, label %123, label %136 123: ; preds = %116 %124 = load ptr, ptr %12, align 8 %125 = load ptr, ptr %12, align 8 %126 = call i32 @strlen(ptr noundef %125) %127 = sub nsw i32 %126, 1 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds i8, ptr %124, i64 %128 %130 = load i8, ptr %129, align 1 %131 = sext i8 %130 to i32 %132 = icmp ne i32 %131, 47 br i1 %132, label %133, label %136 133: ; preds = %123 %134 = load ptr, ptr %12, align 8 %135 = call i32 @strcat(ptr noundef %134, ptr noundef @.str.3) br label %136 136: ; preds = %133, %123, %116 %137 = load ptr, ptr %12, align 8 %138 = load ptr, ptr %13, align 8 %139 = call i32 @strcat(ptr noundef %137, ptr noundef %138) %140 = load ptr, ptr %5, align 8 %141 = load i32, ptr %11, align 4 %142 = sext i32 %141 to i64 %143 = getelementptr inbounds ptr, ptr %140, i64 %142 %144 = load ptr, ptr %143, align 8 %145 = load ptr, ptr %12, align 8 %146 = load i64, ptr %8, align 8 %147 = call i64 @install_file(ptr noundef %144, ptr noundef %145, i64 noundef %146) %148 = icmp ne i64 %147, 0 br i1 %148, label %149, label %150 149: ; preds = %136 store i32 1, ptr %6, align 4 br label %150 150: ; preds = %149, %136 %151 = load ptr, ptr %12, align 8 %152 = call i32 @free(ptr noundef %151) br label %153 153: ; preds = %150 %154 = load i32, ptr %11, align 4 %155 = add nsw i32 %154, 1 store i32 %155, ptr %11, align 4 br label %82, !llvm.loop !8 156: ; preds = %82 br label %157 157: ; preds = %156, %79 %158 = load i32, ptr %6, align 4 ret i32 %158 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @usage(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @err(ptr noundef) #1 declare i64 @install_file(ptr noundef, ptr noundef, i64 noundef) #1 declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(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" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpaa457lrp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"--help\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"d:m:\00", align 1 @EOF = dso_local global i32 0, align 4 @optarg = dso_local global ptr null, align 8 @.str.2 = private unnamed_addr constant [13 x i8] c"syntax error\00", align 1 @optind = dso_local global i32 0, align 4 @ENOMEM = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [2 x i8] c"/\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 i64, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = 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 store i32 0, ptr %6, align 4 store ptr null, ptr %7, align 8 store i64 0, ptr %8, align 8 store i32 0, ptr %9, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp eq i32 %14, 2 br i1 %15, label %16, label %25 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call i64 @strcmp(ptr noundef %19, ptr noundef @.str) %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %16 %23 = call i32 (...) @usage() %24 = call i32 @exit(i32 noundef 0) #3 unreachable 25: ; preds = %16, %2 %26 = load i32, ptr %4, align 4 %27 = load ptr, ptr %5, align 8 %28 = call i32 @getopt(i32 noundef %26, ptr noundef %27, ptr noundef @.str.1) store i32 %28, ptr %10, align 4 %29 = load i32, ptr @EOF, align 4 %30 = icmp ne i32 %28, %29 br i1 %30, label %.lr.ph, label %52 .lr.ph: ; preds = %25 br label %31 31: ; preds = %.lr.ph, %46 %32 = load i32, ptr %10, align 4 %33 = icmp eq i32 %32, 100 br i1 %33, label %34, label %36 34: ; preds = %31 %35 = load ptr, ptr @optarg, align 8 store ptr %35, ptr %7, align 8 br label %46 36: ; preds = %31 %37 = load i32, ptr %10, align 4 %38 = icmp eq i32 %37, 109 br i1 %38, label %39, label %42 39: ; preds = %36 %40 = load ptr, ptr @optarg, align 8 %41 = call i64 @strtol(ptr noundef %40, ptr noundef null, i32 noundef 8) store i64 %41, ptr %8, align 8 br label %45 42: ; preds = %36 %43 = call i32 @err(ptr noundef @.str.2) %44 = call i32 @exit(i32 noundef 1) #3 unreachable 45: ; preds = %39 br label %46 46: ; preds = %45, %34 %47 = load i32, ptr %4, align 4 %48 = load ptr, ptr %5, align 8 %49 = call i32 @getopt(i32 noundef %47, ptr noundef %48, ptr noundef @.str.1) store i32 %49, ptr %10, align 4 %50 = load i32, ptr @EOF, align 4 %51 = icmp ne i32 %49, %50 br i1 %51, label %31, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %46 br label %52 52: ; preds = %._crit_edge, %25 br label %53 53: ; preds = %52 %54 = load ptr, ptr %7, align 8 %55 = icmp eq ptr %54, null br i1 %55, label %56, label %64 56: ; preds = %53 %57 = load i32, ptr %4, align 4 %58 = load i32, ptr @optind, align 4 %59 = sub nsw i32 %57, %58 %60 = icmp ne i32 %59, 2 br i1 %60, label %61, label %64 61: ; preds = %56 %62 = call i32 @err(ptr noundef @.str.2) %63 = call i32 @exit(i32 noundef 1) #3 unreachable 64: ; preds = %56, %53 %65 = load ptr, ptr %7, align 8 %66 = icmp eq ptr %65, null br i1 %66, label %67, label %84 67: ; preds = %64 %68 = load ptr, ptr %5, align 8 %69 = load i32, ptr @optind, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds ptr, ptr %68, i64 %70 %72 = load ptr, ptr %71, align 8 %73 = load ptr, ptr %5, align 8 %74 = load i32, ptr @optind, align 4 %75 = add nsw i32 %74, 1 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds ptr, ptr %73, i64 %76 %78 = load ptr, ptr %77, align 8 %79 = load i64, ptr %8, align 8 %80 = call i64 @install_file(ptr noundef %72, ptr noundef %78, i64 noundef %79) %81 = icmp ne i64 %80, 0 br i1 %81, label %82, label %83 82: ; preds = %67 store i32 1, ptr %6, align 4 br label %83 83: ; preds = %82, %67 br label %163 84: ; preds = %64 %85 = load i32, ptr @optind, align 4 store i32 %85, ptr %11, align 4 %86 = load i32, ptr %11, align 4 %87 = load i32, ptr %4, align 4 %88 = icmp slt i32 %86, %87 br i1 %88, label %.lr.ph2, label %162 .lr.ph2: ; preds = %84 br label %89 89: ; preds = %.lr.ph2, %156 store ptr null, ptr %12, align 8 %90 = load ptr, ptr %5, align 8 %91 = load i32, ptr %11, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds ptr, ptr %90, i64 %92 %94 = load ptr, ptr %93, align 8 %95 = call ptr @strrchr(ptr noundef %94, i8 noundef signext 47) store ptr %95, ptr %13, align 8 %96 = load ptr, ptr %13, align 8 %97 = icmp eq ptr %96, null br i1 %97, label %98, label %104 98: ; preds = %89 %99 = load ptr, ptr %5, align 8 %100 = load i32, ptr %11, align 4 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds ptr, ptr %99, i64 %101 %103 = load ptr, ptr %102, align 8 store ptr %103, ptr %13, align 8 br label %104 104: ; preds = %98, %89 %105 = load ptr, ptr %7, align 8 %106 = call i32 @strlen(ptr noundef %105) %107 = load ptr, ptr %13, align 8 %108 = call i32 @strlen(ptr noundef %107) %109 = add nsw i32 %106, %108 %110 = add nsw i32 %109, 2 %111 = call ptr @malloc(i32 noundef %110) store ptr %111, ptr %12, align 8 %112 = load ptr, ptr %12, align 8 %113 = icmp eq ptr %112, null br i1 %113, label %114, label %119 114: ; preds = %104 %115 = load i32, ptr @ENOMEM, align 4 %116 = call ptr @strerror(i32 noundef %115) %117 = call i32 @err(ptr noundef %116) %118 = call i32 @exit(i32 noundef 1) #3 unreachable 119: ; preds = %104 %120 = load ptr, ptr %12, align 8 %121 = load ptr, ptr %7, align 8 %122 = call i32 @strcpy(ptr noundef %120, ptr noundef %121) %123 = load ptr, ptr %12, align 8 %124 = call i32 @strlen(ptr noundef %123) %125 = icmp sgt i32 %124, 0 br i1 %125, label %126, label %139 126: ; preds = %119 %127 = load ptr, ptr %12, align 8 %128 = load ptr, ptr %12, align 8 %129 = call i32 @strlen(ptr noundef %128) %130 = sub nsw i32 %129, 1 %131 = sext i32 %130 to i64 %132 = getelementptr inbounds i8, ptr %127, i64 %131 %133 = load i8, ptr %132, align 1 %134 = sext i8 %133 to i32 %135 = icmp ne i32 %134, 47 br i1 %135, label %136, label %139 136: ; preds = %126 %137 = load ptr, ptr %12, align 8 %138 = call i32 @strcat(ptr noundef %137, ptr noundef @.str.3) br label %139 139: ; preds = %136, %126, %119 %140 = load ptr, ptr %12, align 8 %141 = load ptr, ptr %13, align 8 %142 = call i32 @strcat(ptr noundef %140, ptr noundef %141) %143 = load ptr, ptr %5, align 8 %144 = load i32, ptr %11, align 4 %145 = sext i32 %144 to i64 %146 = getelementptr inbounds ptr, ptr %143, i64 %145 %147 = load ptr, ptr %146, align 8 %148 = load ptr, ptr %12, align 8 %149 = load i64, ptr %8, align 8 %150 = call i64 @install_file(ptr noundef %147, ptr noundef %148, i64 noundef %149) %151 = icmp ne i64 %150, 0 br i1 %151, label %152, label %153 152: ; preds = %139 store i32 1, ptr %6, align 4 br label %153 153: ; preds = %152, %139 %154 = load ptr, ptr %12, align 8 %155 = call i32 @free(ptr noundef %154) br label %156 156: ; preds = %153 %157 = load i32, ptr %11, align 4 %158 = add nsw i32 %157, 1 store i32 %158, ptr %11, align 4 %159 = load i32, ptr %11, align 4 %160 = load i32, ptr %4, align 4 %161 = icmp slt i32 %159, %160 br i1 %161, label %89, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %156 br label %162 162: ; preds = %._crit_edge3, %84 br label %163 163: ; preds = %162, %83 %164 = load i32, ptr %6, align 4 ret i32 %164 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @usage(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @err(ptr noundef) #1 declare i64 @install_file(ptr noundef, ptr noundef, i64 noundef) #1 declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(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" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpotb8lijo.c' source_filename = "/tmp/tmpotb8lijo.c" target datalayout = "e-m:e-p270: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 @EINTR = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sigwait(ptr noalias noundef %0, ptr noalias noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 br label %7 7: ; preds = %17, %2 %8 = load ptr, ptr %4, align 8 %9 = call i32 @sigwaitinfo(ptr noundef %8, ptr noundef null) store i32 %9, ptr %6, align 4 br label %10 10: ; preds = %7 %11 = load i32, ptr %6, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %17 13: ; preds = %10 %14 = load i64, ptr @errno, align 8 %15 = load i64, ptr @EINTR, align 8 %16 = icmp eq i64 %14, %15 br label %17 17: ; preds = %13, %10 %18 = phi i1 [ false, %10 ], [ %16, %13 ] br i1 %18, label %7, label %19, !llvm.loop !6 19: ; preds = %17 %20 = load i32, ptr %6, align 4 %21 = icmp slt i32 %20, 0 br i1 %21, label %22, label %24 22: ; preds = %19 %23 = load i32, ptr %6, align 4 store i32 %23, ptr %3, align 4 br label %27 24: ; preds = %19 %25 = load i32, ptr %6, align 4 %26 = load ptr, ptr %5, align 8 store i32 %25, ptr %26, align 4 store i32 0, ptr %3, align 4 br label %27 27: ; preds = %24, %22 %28 = load i32, ptr %3, align 4 ret i32 %28 } declare i32 @sigwaitinfo(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpotb8lijo.c" target datalayout = "e-m:e-p270: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 @EINTR = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sigwait(ptr noalias noundef %0, ptr noalias noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 br label %7 7: ; preds = %17, %2 %8 = load ptr, ptr %4, align 8 %9 = call i32 @sigwaitinfo(ptr noundef %8, ptr noundef null) store i32 %9, ptr %6, align 4 br label %10 10: ; preds = %7 %11 = load i32, ptr %6, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %17 13: ; preds = %10 %14 = load i64, ptr @errno, align 8 %15 = load i64, ptr @EINTR, align 8 %16 = icmp eq i64 %14, %15 br label %17 17: ; preds = %13, %10 %18 = phi i1 [ false, %10 ], [ %16, %13 ] br i1 %18, label %7, label %19, !llvm.loop !6 19: ; preds = %17 %20 = load i32, ptr %6, align 4 %21 = icmp slt i32 %20, 0 br i1 %21, label %22, label %24 22: ; preds = %19 %23 = load i32, ptr %6, align 4 store i32 %23, ptr %3, align 4 br label %27 24: ; preds = %19 %25 = load i32, ptr %6, align 4 %26 = load ptr, ptr %5, align 8 store i32 %25, ptr %26, align 4 store i32 0, ptr %3, align 4 br label %27 27: ; preds = %24, %22 %28 = load i32, ptr %3, align 4 ret i32 %28 } declare i32 @sigwaitinfo(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpetfx2gha.c' source_filename = "/tmp/tmpetfx2gha.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"Enter a positive integer (> 0): \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"Result : \00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c"Enter a positive integer!\0A\00", align 1 @.str.5 = private unnamed_addr constant [46 x i8] c"\0ADo you want to continue the program (y/n) ? \00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"OK\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @f_calculate(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i8, align 1 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %6, align 4 %8 = call i32 @printf(ptr noundef @.str) %9 = call i32 @printf(ptr noundef @.str.1) %10 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %6) %11 = load i32, ptr %6, align 4 %12 = icmp sge i32 %11, 1 br i1 %12, label %13, label %31 13: ; preds = %1 %14 = call i32 @printf(ptr noundef @.str.3) br label %15 15: ; preds = %18, %13 %16 = load i32, ptr %6, align 4 %17 = icmp sge i32 %16, 1 br i1 %17, label %18, label %29 18: ; preds = %15 %19 = load i32, ptr %6, align 4 %20 = srem i32 %19, 2 store i32 %20, ptr %7, align 4 %21 = load i32, ptr %7, align 4 %22 = icmp eq i32 %21, 0 %23 = zext i1 %22 to i64 %24 = select i1 %22, i32 48, i32 49 %25 = trunc i32 %24 to i8 %26 = call i32 @putchar(i8 noundef signext %25) %27 = load i32, ptr %6, align 4 %28 = sdiv i32 %27, 2 store i32 %28, ptr %6, align 4 br label %15, !llvm.loop !6 29: ; preds = %15 %30 = call i32 @printf(ptr noundef @.str) br label %33 31: ; preds = %1 %32 = call i32 @printf(ptr noundef @.str.4) br label %33 33: ; preds = %31, %29 br label %34 34: ; preds = %55, %33 %35 = load i32, ptr %4, align 4 %36 = icmp eq i32 %35, 0 br i1 %36, label %37, label %56 37: ; preds = %34 %38 = call i32 (...) @clear_s() %39 = call i32 @printf(ptr noundef @.str.5) %40 = call i32 (ptr, ...) @scanf(ptr noundef @.str.6, ptr noundef %5) %41 = icmp eq i32 %40, 1 br i1 %41, label %42, label %55 42: ; preds = %37 %43 = load i8, ptr %5, align 1 %44 = sext i8 %43 to i32 %45 = icmp eq i32 %44, 121 br i1 %45, label %46, label %48 46: ; preds = %42 store i32 1, ptr %4, align 4 %47 = call i32 @printf(ptr noundef @.str.7) br label %54 48: ; preds = %42 %49 = load i8, ptr %5, align 1 %50 = sext i8 %49 to i32 %51 = icmp eq i32 %50, 110 br i1 %51, label %52, label %53 52: ; preds = %48 store i32 1, ptr %3, align 4 store i32 1, ptr %4, align 4 br label %53 53: ; preds = %52, %48 br label %54 54: ; preds = %53, %46 br label %55 55: ; preds = %54, %37 br label %34, !llvm.loop !8 56: ; preds = %34 %57 = load i32, ptr %3, align 4 ret i32 %57 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ...) #1 declare i32 @putchar(i8 noundef signext) #1 declare i32 @clear_s(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpetfx2gha.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"Enter a positive integer (> 0): \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"Result : \00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c"Enter a positive integer!\0A\00", align 1 @.str.5 = private unnamed_addr constant [46 x i8] c"\0ADo you want to continue the program (y/n) ? \00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"OK\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @f_calculate(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i8, align 1 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %6, align 4 %8 = call i32 @printf(ptr noundef @.str) %9 = call i32 @printf(ptr noundef @.str.1) %10 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %6) %11 = load i32, ptr %6, align 4 %12 = icmp sge i32 %11, 1 br i1 %12, label %13, label %32 13: ; preds = %1 %14 = call i32 @printf(ptr noundef @.str.3) %15 = load i32, ptr %6, align 4 %16 = icmp sge i32 %15, 1 br i1 %16, label %.lr.ph, label %30 .lr.ph: ; preds = %13 br label %17 17: ; preds = %.lr.ph, %17 %18 = load i32, ptr %6, align 4 %19 = srem i32 %18, 2 store i32 %19, ptr %7, align 4 %20 = load i32, ptr %7, align 4 %21 = icmp eq i32 %20, 0 %22 = zext i1 %21 to i64 %23 = select i1 %21, i32 48, i32 49 %24 = trunc i32 %23 to i8 %25 = call i32 @putchar(i8 noundef signext %24) %26 = load i32, ptr %6, align 4 %27 = sdiv i32 %26, 2 store i32 %27, ptr %6, align 4 %28 = load i32, ptr %6, align 4 %29 = icmp sge i32 %28, 1 br i1 %29, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %30 30: ; preds = %._crit_edge, %13 %31 = call i32 @printf(ptr noundef @.str) br label %34 32: ; preds = %1 %33 = call i32 @printf(ptr noundef @.str.4) br label %34 34: ; preds = %32, %30 %35 = load i32, ptr %4, align 4 %36 = icmp eq i32 %35, 0 br i1 %36, label %.lr.ph2, label %58 .lr.ph2: ; preds = %34 br label %37 37: ; preds = %.lr.ph2, %55 %38 = call i32 (...) @clear_s() %39 = call i32 @printf(ptr noundef @.str.5) %40 = call i32 (ptr, ...) @scanf(ptr noundef @.str.6, ptr noundef %5) %41 = icmp eq i32 %40, 1 br i1 %41, label %42, label %55 42: ; preds = %37 %43 = load i8, ptr %5, align 1 %44 = sext i8 %43 to i32 %45 = icmp eq i32 %44, 121 br i1 %45, label %46, label %48 46: ; preds = %42 store i32 1, ptr %4, align 4 %47 = call i32 @printf(ptr noundef @.str.7) br label %54 48: ; preds = %42 %49 = load i8, ptr %5, align 1 %50 = sext i8 %49 to i32 %51 = icmp eq i32 %50, 110 br i1 %51, label %52, label %53 52: ; preds = %48 store i32 1, ptr %3, align 4 store i32 1, ptr %4, align 4 br label %53 53: ; preds = %52, %48 br label %54 54: ; preds = %53, %46 br label %55 55: ; preds = %54, %37 %56 = load i32, ptr %4, align 4 %57 = icmp eq i32 %56, 0 br i1 %57, label %37, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %55 br label %58 58: ; preds = %._crit_edge3, %34 %59 = load i32, ptr %3, align 4 ret i32 %59 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ...) #1 declare i32 @putchar(i8 noundef signext) #1 declare i32 @clear_s(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpuov_h3un.c' source_filename = "/tmp/tmpuov_h3un.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @check_bsaw1(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %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 %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %11 = load i32, ptr %9, align 4 %12 = load i32, ptr %8, align 4 %13 = sub nsw i32 %11, %12 store i32 %13, ptr %10, align 4 br label %14 14: ; preds = %67, %4 %15 = load i32, ptr %10, align 4 %16 = icmp sge i32 %15, 0 br i1 %16, label %17, label %70 17: ; preds = %14 %18 = load ptr, ptr %6, align 8 %19 = load i32, ptr %7, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds ptr, ptr %18, i64 %20 %22 = load ptr, ptr %21, align 8 %23 = getelementptr inbounds i32, ptr %22, i64 0 %24 = load i32, ptr %23, align 4 %25 = load ptr, ptr %6, align 8 %26 = load i32, ptr %10, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds ptr, ptr %25, i64 %27 %29 = load ptr, ptr %28, align 8 %30 = getelementptr inbounds i32, ptr %29, i64 0 %31 = load i32, ptr %30, align 4 %32 = icmp eq i32 %24, %31 br i1 %32, label %33, label %66 33: ; preds = %17 %34 = load ptr, ptr %6, align 8 %35 = load i32, ptr %7, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds ptr, ptr %34, i64 %36 %38 = load ptr, ptr %37, align 8 %39 = getelementptr inbounds i32, ptr %38, i64 1 %40 = load i32, ptr %39, align 4 %41 = load ptr, ptr %6, align 8 %42 = load i32, ptr %10, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds ptr, ptr %41, i64 %43 %45 = load ptr, ptr %44, align 8 %46 = getelementptr inbounds i32, ptr %45, i64 1 %47 = load i32, ptr %46, align 4 %48 = icmp eq i32 %40, %47 br i1 %48, label %49, label %66 49: ; preds = %33 %50 = load ptr, ptr %6, align 8 %51 = load i32, ptr %7, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds ptr, ptr %50, i64 %52 %54 = load ptr, ptr %53, align 8 %55 = getelementptr inbounds i32, ptr %54, i64 2 %56 = load i32, ptr %55, align 4 %57 = load ptr, ptr %6, align 8 %58 = load i32, ptr %10, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds ptr, ptr %57, i64 %59 %61 = load ptr, ptr %60, align 8 %62 = getelementptr inbounds i32, ptr %61, i64 2 %63 = load i32, ptr %62, align 4 %64 = icmp eq i32 %56, %63 br i1 %64, label %65, label %66 65: ; preds = %49 store i32 1, ptr %5, align 4 br label %71 66: ; preds = %49, %33, %17 br label %67 67: ; preds = %66 %68 = load i32, ptr %10, align 4 %69 = sub nsw i32 %68, 2 store i32 %69, ptr %10, align 4 br label %14, !llvm.loop !6 70: ; preds = %14 store i32 0, ptr %5, align 4 br label %71 71: ; preds = %70, %65 %72 = load i32, ptr %5, align 4 ret i32 %72 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpuov_h3un.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @check_bsaw1(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %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 %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %11 = load i32, ptr %9, align 4 %12 = load i32, ptr %8, align 4 %13 = sub nsw i32 %11, %12 store i32 %13, ptr %10, align 4 %14 = load i32, ptr %10, align 4 %15 = icmp sge i32 %14, 0 br i1 %15, label %.lr.ph, label %71 .lr.ph: ; preds = %4 br label %16 16: ; preds = %.lr.ph, %66 %17 = load ptr, ptr %6, align 8 %18 = load i32, ptr %7, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds ptr, ptr %17, i64 %19 %21 = load ptr, ptr %20, align 8 %22 = getelementptr inbounds i32, ptr %21, i64 0 %23 = load i32, ptr %22, align 4 %24 = load ptr, ptr %6, align 8 %25 = load i32, ptr %10, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %24, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = getelementptr inbounds i32, ptr %28, i64 0 %30 = load i32, ptr %29, align 4 %31 = icmp eq i32 %23, %30 br i1 %31, label %32, label %65 32: ; preds = %16 %33 = load ptr, ptr %6, align 8 %34 = load i32, ptr %7, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds ptr, ptr %33, i64 %35 %37 = load ptr, ptr %36, align 8 %38 = getelementptr inbounds i32, ptr %37, i64 1 %39 = load i32, ptr %38, align 4 %40 = load ptr, ptr %6, align 8 %41 = load i32, ptr %10, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds ptr, ptr %40, i64 %42 %44 = load ptr, ptr %43, align 8 %45 = getelementptr inbounds i32, ptr %44, i64 1 %46 = load i32, ptr %45, align 4 %47 = icmp eq i32 %39, %46 br i1 %47, label %48, label %65 48: ; preds = %32 %49 = load ptr, ptr %6, align 8 %50 = load i32, ptr %7, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds ptr, ptr %49, i64 %51 %53 = load ptr, ptr %52, align 8 %54 = getelementptr inbounds i32, ptr %53, i64 2 %55 = load i32, ptr %54, align 4 %56 = load ptr, ptr %6, align 8 %57 = load i32, ptr %10, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds ptr, ptr %56, i64 %58 %60 = load ptr, ptr %59, align 8 %61 = getelementptr inbounds i32, ptr %60, i64 2 %62 = load i32, ptr %61, align 4 %63 = icmp eq i32 %55, %62 br i1 %63, label %64, label %65 64: ; preds = %48 store i32 1, ptr %5, align 4 br label %72 65: ; preds = %48, %32, %16 br label %66 66: ; preds = %65 %67 = load i32, ptr %10, align 4 %68 = sub nsw i32 %67, 2 store i32 %68, ptr %10, align 4 %69 = load i32, ptr %10, align 4 %70 = icmp sge i32 %69, 0 br i1 %70, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %66 br label %71 71: ; preds = %._crit_edge, %4 store i32 0, ptr %5, align 4 br label %72 72: ; preds = %71, %64 %73 = load i32, ptr %5, align 4 ret i32 %73 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpxemfwz7c.c' source_filename = "/tmp/tmpxemfwz7c.c" target datalayout = "e-m:e-p270: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/tmpxemfwz7c.c" target datalayout = "e-m:e-p270: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/tmpn1sg0hg0.c' source_filename = "/tmp/tmpn1sg0hg0.c" target datalayout = "e-m:e-p270: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/tmpn1sg0hg0.c" target datalayout = "e-m:e-p270: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/tmpnxf083py.c' source_filename = "/tmp/tmpnxf083py.c" target datalayout = "e-m:e-p270: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/tmpnxf083py.c" target datalayout = "e-m:e-p270: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/tmptxczzzh3.c' source_filename = "/tmp/tmptxczzzh3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hex_uint32(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i8, align 1 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %6 6: ; preds = %33, %1 %7 = load ptr, ptr %2, align 8 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = icmp ne i32 %9, 0 br i1 %10, label %11, label %41 11: ; preds = %6 %12 = load ptr, ptr %2, align 8 %13 = load i8, ptr %12, align 1 store i8 %13, ptr %5, align 1 %14 = load i8, ptr %5, align 1 %15 = sext i8 %14 to i32 %16 = call i64 @isxdigit(i32 noundef %15) %17 = icmp eq i64 %16, 0 br i1 %17, label %18, label %19 18: ; preds = %11 br label %41 19: ; preds = %11 %20 = load i8, ptr %5, align 1 %21 = sext i8 %20 to i32 %22 = icmp sgt i32 %21, 57 br i1 %22, label %23, label %29 23: ; preds = %19 %24 = load i8, ptr %5, align 1 %25 = sext i8 %24 to i32 %26 = or i32 %25, 32 %27 = sub nsw i32 %26, 97 %28 = add nsw i32 %27, 10 br label %33 29: ; preds = %19 %30 = load i8, ptr %5, align 1 %31 = sext i8 %30 to i32 %32 = sub nsw i32 %31, 48 br label %33 33: ; preds = %29, %23 %34 = phi i32 [ %28, %23 ], [ %32, %29 ] store i32 %34, ptr %4, align 4 %35 = load i32, ptr %3, align 4 %36 = shl i32 %35, 4 %37 = load i32, ptr %4, align 4 %38 = or i32 %36, %37 store i32 %38, ptr %3, align 4 %39 = load ptr, ptr %2, align 8 %40 = getelementptr inbounds i8, ptr %39, i32 1 store ptr %40, ptr %2, align 8 br label %6, !llvm.loop !6 41: ; preds = %18, %6 %42 = load i32, ptr %3, align 4 ret i32 %42 } declare i64 @isxdigit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptxczzzh3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hex_uint32(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i8, align 1 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %6 = load ptr, ptr %2, align 8 %7 = load i8, ptr %6, align 1 %8 = sext i8 %7 to i32 %9 = icmp ne i32 %8, 0 br i1 %9, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %1 br label %10 10: ; preds = %.lr.ph, %32 %11 = load ptr, ptr %2, align 8 %12 = load i8, ptr %11, align 1 store i8 %12, ptr %5, align 1 %13 = load i8, ptr %5, align 1 %14 = sext i8 %13 to i32 %15 = call i64 @isxdigit(i32 noundef %14) %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %10 br label %44 18: ; preds = %10 %19 = load i8, ptr %5, align 1 %20 = sext i8 %19 to i32 %21 = icmp sgt i32 %20, 57 br i1 %21, label %22, label %28 22: ; preds = %18 %23 = load i8, ptr %5, align 1 %24 = sext i8 %23 to i32 %25 = or i32 %24, 32 %26 = sub nsw i32 %25, 97 %27 = add nsw i32 %26, 10 br label %32 28: ; preds = %18 %29 = load i8, ptr %5, align 1 %30 = sext i8 %29 to i32 %31 = sub nsw i32 %30, 48 br label %32 32: ; preds = %28, %22 %33 = phi i32 [ %27, %22 ], [ %31, %28 ] store i32 %33, ptr %4, align 4 %34 = load i32, ptr %3, align 4 %35 = shl i32 %34, 4 %36 = load i32, ptr %4, align 4 %37 = or i32 %35, %36 store i32 %37, ptr %3, align 4 %38 = load ptr, ptr %2, align 8 %39 = getelementptr inbounds i8, ptr %38, i32 1 store ptr %39, ptr %2, align 8 %40 = load ptr, ptr %2, align 8 %41 = load i8, ptr %40, align 1 %42 = sext i8 %41 to i32 %43 = icmp ne i32 %42, 0 br i1 %43, label %10, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %32 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %1 br label %44 44: ; preds = %.loopexit, %17 %45 = load i32, ptr %3, align 4 ret i32 %45 } declare i64 @isxdigit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpd_s738db.c' source_filename = "/tmp/tmpd_s738db.c" target datalayout = "e-m:e-p270: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.str3 = private unnamed_addr constant [27 x i8] c"ASIGNADO EN LA DECLARACION\00", align 16 @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"CHAU\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"El string str2 es: %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [41 x i8] c"El string str3 es: %s la longitud es %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [28 x i8] c"El tama\C3\B1o de str3 es: %d \0A\00", align 1 @.str.6 = private unnamed_addr constant [18 x i8] c"%s como te va? %s\00", align 1 @.str.7 = private unnamed_addr constant [36 x i8] c"%s como te va? %s Hasta la pr\C3\B3xima\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 [10 x i8], align 1 %4 = alloca [10 x i8], align 1 %5 = alloca [27 x i8], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main.str3, i64 27, i1 false) %6 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 store i8 72, ptr %6, align 1 %7 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 1 store i8 79, ptr %7, align 1 %8 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 2 store i8 76, ptr %8, align 1 %9 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 3 store i8 65, ptr %9, align 1 %10 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 4 store i8 0, ptr %10, align 1 store i32 0, ptr %2, align 4 br label %11 11: ; preds = %25, %0 %12 = load i32, ptr %2, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 %13 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp ne i32 %16, 0 br i1 %17, label %18, label %28 18: ; preds = %11 %19 = load i32, ptr %2, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 %20 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %23) br label %25 25: ; preds = %18 %26 = load i32, ptr %2, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %2, align 4 br label %11, !llvm.loop !6 28: ; preds = %11 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %30 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %31 = call i32 @sprintf(ptr noundef %30, ptr noundef @.str.2) %32 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %32) %34 = getelementptr inbounds [27 x i8], ptr %5, i64 0, i64 0 %35 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %36 = call i32 @strcpy(ptr noundef %34, ptr noundef %35) %37 = getelementptr inbounds [27 x i8], ptr %5, i64 0, i64 0 %38 = getelementptr inbounds [27 x i8], ptr %5, i64 0, i64 0 %39 = call i32 @strlen(ptr noundef %38) %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %37, i32 noundef %39) %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i64 noundef 27) %42 = getelementptr inbounds [27 x i8], ptr %5, i64 0, i64 0 %43 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %44 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %45 = call i32 @snprintf(ptr noundef %42, i32 noundef 27, ptr noundef @.str.6, ptr noundef %43, ptr noundef %44) %46 = getelementptr inbounds [27 x i8], ptr %5, i64 0, i64 0 %47 = getelementptr inbounds [27 x i8], ptr %5, i64 0, i64 0 %48 = call i32 @strlen(ptr noundef %47) %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %46, i32 noundef %48) %50 = getelementptr inbounds [27 x i8], ptr %5, i64 0, i64 0 %51 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %52 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %53 = call i32 @snprintf(ptr noundef %50, i32 noundef 27, ptr noundef @.str.7, ptr noundef %51, ptr noundef %52) %54 = getelementptr inbounds [27 x i8], ptr %5, i64 0, i64 0 %55 = getelementptr inbounds [27 x i8], ptr %5, i64 0, i64 0 %56 = call i32 @strlen(ptr noundef %55) %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %54, i32 noundef %56) 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 @sprintf(ptr noundef, ptr noundef) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #2 declare i32 @strlen(ptr noundef) #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd_s738db.c" target datalayout = "e-m:e-p270: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.str3 = private unnamed_addr constant [27 x i8] c"ASIGNADO EN LA DECLARACION\00", align 16 @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"CHAU\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"El string str2 es: %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [41 x i8] c"El string str3 es: %s la longitud es %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [28 x i8] c"El tama\C3\B1o de str3 es: %d \0A\00", align 1 @.str.6 = private unnamed_addr constant [18 x i8] c"%s como te va? %s\00", align 1 @.str.7 = private unnamed_addr constant [36 x i8] c"%s como te va? %s Hasta la pr\C3\B3xima\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 [10 x i8], align 1 %4 = alloca [10 x i8], align 1 %5 = alloca [27 x i8], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main.str3, i64 27, i1 false) %6 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 store i8 72, ptr %6, align 1 %7 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 1 store i8 79, ptr %7, align 1 %8 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 2 store i8 76, ptr %8, align 1 %9 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 3 store i8 65, ptr %9, align 1 %10 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 4 store i8 0, ptr %10, align 1 store i32 0, ptr %2, align 4 %11 = load i32, ptr %2, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 %12 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 0 br i1 %16, label %.lr.ph, label %33 .lr.ph: ; preds = %0 br label %17 17: ; preds = %.lr.ph, %24 %18 = load i32, ptr %2, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 %19 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %22) br label %24 24: ; preds = %17 %25 = load i32, ptr %2, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %2, align 4 %27 = load i32, ptr %2, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 %28 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp ne i32 %31, 0 br i1 %32, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %33 33: ; preds = %._crit_edge, %0 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %35 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %36 = call i32 @sprintf(ptr noundef %35, ptr noundef @.str.2) %37 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %37) %39 = getelementptr inbounds [27 x i8], ptr %5, i64 0, i64 0 %40 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %41 = call i32 @strcpy(ptr noundef %39, ptr noundef %40) %42 = getelementptr inbounds [27 x i8], ptr %5, i64 0, i64 0 %43 = getelementptr inbounds [27 x i8], ptr %5, i64 0, i64 0 %44 = call i32 @strlen(ptr noundef %43) %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %42, i32 noundef %44) %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i64 noundef 27) %47 = getelementptr inbounds [27 x i8], ptr %5, i64 0, i64 0 %48 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %49 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %50 = call i32 @snprintf(ptr noundef %47, i32 noundef 27, ptr noundef @.str.6, ptr noundef %48, ptr noundef %49) %51 = getelementptr inbounds [27 x i8], ptr %5, i64 0, i64 0 %52 = getelementptr inbounds [27 x i8], ptr %5, i64 0, i64 0 %53 = call i32 @strlen(ptr noundef %52) %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %51, i32 noundef %53) %55 = getelementptr inbounds [27 x i8], ptr %5, i64 0, i64 0 %56 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %57 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %58 = call i32 @snprintf(ptr noundef %55, i32 noundef 27, ptr noundef @.str.7, ptr noundef %56, ptr noundef %57) %59 = getelementptr inbounds [27 x i8], ptr %5, i64 0, i64 0 %60 = getelementptr inbounds [27 x i8], ptr %5, i64 0, i64 0 %61 = call i32 @strlen(ptr noundef %60) %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %59, i32 noundef %61) 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 @sprintf(ptr noundef, ptr noundef) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #2 declare i32 @strlen(ptr noundef) #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpo_0ht0u_.c' source_filename = "/tmp/tmpo_0ht0u_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getchar3() #0 { %1 = alloca i32, align 4 br label %2 2: ; preds = %5, %0 %3 = call i32 (...) @getchar() store i32 %3, ptr %1, align 4 %4 = icmp ne i32 %3, 0 br i1 %4, label %5, label %8 5: ; preds = %2 %6 = load i32, ptr %1, align 4 %7 = call i32 @putchar(i32 noundef %6) br label %2, !llvm.loop !6 8: ; preds = %2 ret void } declare i32 @getchar(...) #1 declare i32 @putchar(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/tmpo_0ht0u_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getchar3() #0 { %1 = alloca i32, align 4 %2 = call i32 (...) @getchar() store i32 %2, ptr %1, align 4 %3 = icmp ne i32 %2, 0 br i1 %3, label %.lr.ph, label %9 .lr.ph: ; preds = %0 br label %4 4: ; preds = %.lr.ph, %4 %5 = load i32, ptr %1, align 4 %6 = call i32 @putchar(i32 noundef %5) %7 = call i32 (...) @getchar() store i32 %7, ptr %1, align 4 %8 = icmp ne i32 %7, 0 br i1 %8, label %4, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %4 br label %9 9: ; preds = %._crit_edge, %0 ret void } declare i32 @getchar(...) #1 declare i32 @putchar(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/tmpupefcts8.c' source_filename = "/tmp/tmpupefcts8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mon_getline(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = call i32 (...) @monLock() %9 = load ptr, ptr %4, align 8 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %6, align 4 %12 = call i32 @_getline(ptr noundef %9, i32 noundef %10, i32 noundef %11) store i32 %12, ptr %7, align 4 %13 = call i32 (...) @monUnlock() %14 = load i32, ptr %7, align 4 ret i32 %14 } declare i32 @monLock(...) #1 declare i32 @_getline(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @monUnlock(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpupefcts8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mon_getline(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = call i32 (...) @monLock() %9 = load ptr, ptr %4, align 8 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %6, align 4 %12 = call i32 @_getline(ptr noundef %9, i32 noundef %10, i32 noundef %11) store i32 %12, ptr %7, align 4 %13 = call i32 (...) @monUnlock() %14 = load i32, ptr %7, align 4 ret i32 %14 } declare i32 @monLock(...) #1 declare i32 @_getline(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @monUnlock(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE 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_pagvvp5.c' source_filename = "/tmp/tmp_pagvvp5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @parenBrojCifri(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %5, align 4 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %3 %10 = load i32, ptr %6, align 4 %11 = call i32 @printf(ptr noundef @.str, i32 noundef %10) br label %39 12: ; preds = %3 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr %5, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i32, ptr %13, i64 %15 %17 = load i32, ptr %16, align 4 %18 = call i32 @brojnaCifrivoBroj(i32 noundef %17, i32 noundef 0) %19 = srem i32 %18, 2 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %33 21: ; preds = %12 %22 = load ptr, ptr %4, align 8 %23 = load i32, ptr %5, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %22, i64 %24 %26 = load i32, ptr %25, align 4 %27 = call i32 @printf(ptr noundef @.str.1, i32 noundef %26) %28 = load ptr, ptr %4, align 8 %29 = load i32, ptr %5, align 4 %30 = sub nsw i32 %29, 1 %31 = load i32, ptr %6, align 4 %32 = add nsw i32 %31, 1 call void @parenBrojCifri(ptr noundef %28, i32 noundef %30, i32 noundef %32) br label %38 33: ; preds = %12 %34 = load ptr, ptr %4, align 8 %35 = load i32, ptr %5, align 4 %36 = sub nsw i32 %35, 1 %37 = load i32, ptr %6, align 4 call void @parenBrojCifri(ptr noundef %34, i32 noundef %36, i32 noundef %37) br label %38 38: ; preds = %33, %21 br label %39 39: ; preds = %9, %38 ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @brojnaCifrivoBroj(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/tmp_pagvvp5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @parenBrojCifri(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %5, align 4 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %3 %10 = load i32, ptr %6, align 4 %11 = call i32 @printf(ptr noundef @.str, i32 noundef %10) br label %39 12: ; preds = %3 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr %5, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i32, ptr %13, i64 %15 %17 = load i32, ptr %16, align 4 %18 = call i32 @brojnaCifrivoBroj(i32 noundef %17, i32 noundef 0) %19 = srem i32 %18, 2 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %33 21: ; preds = %12 %22 = load ptr, ptr %4, align 8 %23 = load i32, ptr %5, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %22, i64 %24 %26 = load i32, ptr %25, align 4 %27 = call i32 @printf(ptr noundef @.str.1, i32 noundef %26) %28 = load ptr, ptr %4, align 8 %29 = load i32, ptr %5, align 4 %30 = sub nsw i32 %29, 1 %31 = load i32, ptr %6, align 4 %32 = add nsw i32 %31, 1 call void @parenBrojCifri(ptr noundef %28, i32 noundef %30, i32 noundef %32) br label %38 33: ; preds = %12 %34 = load ptr, ptr %4, align 8 %35 = load i32, ptr %5, align 4 %36 = sub nsw i32 %35, 1 %37 = load i32, ptr %6, align 4 call void @parenBrojCifri(ptr noundef %34, i32 noundef %36, i32 noundef %37) br label %38 38: ; preds = %33, %21 br label %39 39: ; preds = %38, %9 ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @brojnaCifrivoBroj(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/tmp5u5qxsqh.c' source_filename = "/tmp/tmp5u5qxsqh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @b3dheaderitembytes_(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @b3dHeaderItemBytes(ptr noundef %5, ptr noundef %6) ret void } declare i32 @b3dHeaderItemBytes(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/tmp5u5qxsqh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @b3dheaderitembytes_(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @b3dHeaderItemBytes(ptr noundef %5, ptr noundef %6) ret void } declare i32 @b3dHeaderItemBytes(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/tmparqfggkw.c' source_filename = "/tmp/tmparqfggkw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @array_msort(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 %10 = load i64, ptr %8, align 8 %11 = load i64, ptr %7, align 8 %12 = icmp ule i64 %10, %11 br i1 %12, label %13, label %14 13: ; preds = %4 br label %38 14: ; preds = %4 %15 = load i64, ptr %7, align 8 %16 = load i64, ptr %8, align 8 %17 = load i64, ptr %7, align 8 %18 = sub i64 %16, %17 %19 = udiv i64 %18, 2 %20 = add i64 %15, %19 store i64 %20, ptr %9, align 8 %21 = load ptr, ptr %5, align 8 %22 = load ptr, ptr %6, align 8 %23 = load i64, ptr %7, align 8 %24 = load i64, ptr %9, align 8 call void @array_msort(ptr noundef %21, ptr noundef %22, i64 noundef %23, i64 noundef %24) %25 = load ptr, ptr %5, align 8 %26 = load ptr, ptr %6, align 8 %27 = load i64, ptr %9, align 8 %28 = add i64 %27, 1 %29 = load i64, ptr %8, align 8 call void @array_msort(ptr noundef %25, ptr noundef %26, i64 noundef %28, i64 noundef %29) %30 = load ptr, ptr %5, align 8 %31 = load ptr, ptr %6, align 8 %32 = load i64, ptr %7, align 8 %33 = load i64, ptr %9, align 8 %34 = load i64, ptr %8, align 8 %35 = call i32 @array_merge(ptr noundef %30, ptr noundef %31, i64 noundef %32, i64 noundef %33, i64 noundef %34) %36 = load ptr, ptr %5, align 8 %37 = call i32 @array_print(ptr noundef %36) br label %38 38: ; preds = %14, %13 ret void } declare i32 @array_merge(ptr noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef) #1 declare i32 @array_print(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmparqfggkw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @array_msort(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 %10 = load i64, ptr %8, align 8 %11 = load i64, ptr %7, align 8 %12 = icmp ule i64 %10, %11 br i1 %12, label %13, label %14 13: ; preds = %4 br label %38 14: ; preds = %4 %15 = load i64, ptr %7, align 8 %16 = load i64, ptr %8, align 8 %17 = load i64, ptr %7, align 8 %18 = sub i64 %16, %17 %19 = udiv i64 %18, 2 %20 = add i64 %15, %19 store i64 %20, ptr %9, align 8 %21 = load ptr, ptr %5, align 8 %22 = load ptr, ptr %6, align 8 %23 = load i64, ptr %7, align 8 %24 = load i64, ptr %9, align 8 call void @array_msort(ptr noundef %21, ptr noundef %22, i64 noundef %23, i64 noundef %24) %25 = load ptr, ptr %5, align 8 %26 = load ptr, ptr %6, align 8 %27 = load i64, ptr %9, align 8 %28 = add i64 %27, 1 %29 = load i64, ptr %8, align 8 call void @array_msort(ptr noundef %25, ptr noundef %26, i64 noundef %28, i64 noundef %29) %30 = load ptr, ptr %5, align 8 %31 = load ptr, ptr %6, align 8 %32 = load i64, ptr %7, align 8 %33 = load i64, ptr %9, align 8 %34 = load i64, ptr %8, align 8 %35 = call i32 @array_merge(ptr noundef %30, ptr noundef %31, i64 noundef %32, i64 noundef %33, i64 noundef %34) %36 = load ptr, ptr %5, align 8 %37 = call i32 @array_print(ptr noundef %36) br label %38 38: ; preds = %14, %13 ret void } declare i32 @array_merge(ptr noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef) #1 declare i32 @array_print(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpivxiiq0x.c' source_filename = "/tmp/tmpivxiiq0x.c" target datalayout = "e-m:e-p270: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/tmpivxiiq0x.c" target datalayout = "e-m:e-p270: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/tmp26m8jrj5.c' source_filename = "/tmp/tmp26m8jrj5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [46 x i8] c"Word,Value,Phrase,Year,MatchCount,VolumeCount\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"src/data/words.csv\00", align 1 @PROT_READ = dso_local global i32 0, align 4 @MAP_SHARED = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [2 x i8] c",\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.5 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Snippet(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i8, align 1 %9 = alloca i32, align 4 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i8, align 1 %15 = alloca i32, align 4 %16 = alloca i64, align 8 %17 = alloca i64, align 8 %18 = alloca i64, align 8 %19 = alloca i8, align 1 %20 = alloca i8, align 1 %21 = alloca i64, align 8 %22 = alloca i64, align 8 %23 = alloca i64, align 8 %24 = alloca i64, align 8 %25 = alloca ptr, align 8 %26 = alloca i64, align 8 %27 = alloca i32, align 4 %28 = alloca i64, align 8 %29 = alloca i64, align 8 %30 = alloca i8, align 1 %31 = alloca i32, align 4 %32 = alloca i64, align 8 %33 = alloca i64, align 8 %34 = alloca i64, align 8 %35 = alloca i64, align 8 %36 = alloca i8, align 1 %37 = alloca i32, align 4 %38 = alloca i64, align 8 %39 = alloca i64, align 8 %40 = alloca i64, align 8 %41 = alloca i8, align 1 %42 = alloca i8, align 1 %43 = alloca i64, align 8 %44 = alloca i64, align 8 %45 = alloca i64, align 8 %46 = alloca ptr, align 8 %47 = alloca i64, align 8 %48 = alloca i32, align 4 %49 = alloca i64, align 8 %50 = alloca i64, align 8 %51 = alloca i8, align 1 %52 = alloca i32, align 4 %53 = alloca i64, align 8 %54 = alloca i64, align 8 %55 = alloca i64, align 8 %56 = alloca i8, align 1 %57 = alloca i32, align 4 %58 = alloca i64, align 8 %59 = alloca i64, align 8 %60 = alloca i64, align 8 %61 = alloca i8, align 1 %62 = alloca i32, align 4 %63 = alloca i64, align 8 %64 = alloca i64, align 8 %65 = alloca i64, align 8 %66 = alloca i8, align 1 %67 = alloca i32, align 4 %68 = alloca i64, align 8 %69 = alloca i64, align 8 %70 = alloca ptr, align 8 %71 = alloca i64, align 8 %72 = alloca ptr, align 8 %73 = alloca i64, align 8 %74 = alloca ptr, align 8 %75 = alloca i64, align 8 %76 = alloca ptr, align 8 %77 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %78 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) store i64 0, ptr %3, align 8 %79 = call i64 @open(ptr noundef @.str.2, i32 noundef 0) store i64 %79, ptr %4, align 8 %80 = load i64, ptr %4, align 8 %81 = call i64 @fsize(i64 noundef %80) store i64 %81, ptr %5, align 8 %82 = load i64, ptr %5, align 8 %83 = load i32, ptr @PROT_READ, align 4 %84 = load i32, ptr @MAP_SHARED, align 4 %85 = load i32, ptr @MAP_SHARED, align 4 %86 = or i32 %84, %85 %87 = load i64, ptr %4, align 8 %88 = call ptr @mmap(i32 noundef 0, i64 noundef %82, i32 noundef %83, i32 noundef %86, i64 noundef %87, i32 noundef 0) store ptr %88, ptr %6, align 8 br label %89 89: ; preds = %102, %1 %90 = load i64, ptr %3, align 8 store i64 %90, ptr %7, align 8 %91 = load ptr, ptr %6, align 8 %92 = load i64, ptr %7, align 8 %93 = getelementptr inbounds i8, ptr %91, i64 %92 %94 = load i8, ptr %93, align 1 store i8 %94, ptr %8, align 1 %95 = load i8, ptr %8, align 1 %96 = sext i8 %95 to i32 %97 = icmp ne i32 %96, 44 %98 = zext i1 %97 to i32 store i32 %98, ptr %9, align 4 %99 = load i32, ptr %9, align 4 %100 = icmp ne i32 %99, 0 br i1 %100, label %102, label %101 101: ; preds = %89 br label %105 102: ; preds = %89 %103 = load i64, ptr %3, align 8 %104 = add i64 %103, 1 store i64 %104, ptr %3, align 8 br label %89 105: ; preds = %101 %106 = load i64, ptr %3, align 8 store i64 %106, ptr %10, align 8 %107 = load i64, ptr %3, align 8 %108 = add i64 %107, 1 store i64 %108, ptr %3, align 8 %109 = load i64, ptr %3, align 8 store i64 %109, ptr %11, align 8 store i64 0, ptr %12, align 8 br label %110 110: ; preds = %123, %105 %111 = load i64, ptr %3, align 8 store i64 %111, ptr %13, align 8 %112 = load ptr, ptr %6, align 8 %113 = load i64, ptr %13, align 8 %114 = getelementptr inbounds i8, ptr %112, i64 %113 %115 = load i8, ptr %114, align 1 store i8 %115, ptr %14, align 1 %116 = load i8, ptr %14, align 1 %117 = sext i8 %116 to i32 %118 = icmp ne i32 %117, 10 %119 = zext i1 %118 to i32 store i32 %119, ptr %15, align 4 %120 = load i32, ptr %15, align 4 %121 = icmp ne i32 %120, 0 br i1 %121, label %123, label %122 122: ; preds = %110 br label %143 123: ; preds = %110 %124 = load i64, ptr %12, align 8 store i64 %124, ptr %16, align 8 %125 = load i64, ptr %3, align 8 store i64 %125, ptr %17, align 8 %126 = load i64, ptr %16, align 8 %127 = mul i64 %126, 10 store i64 %127, ptr %18, align 8 %128 = load ptr, ptr %6, align 8 %129 = load i64, ptr %17, align 8 %130 = getelementptr inbounds i8, ptr %128, i64 %129 %131 = load i8, ptr %130, align 1 store i8 %131, ptr %19, align 1 %132 = load i8, ptr %19, align 1 %133 = sext i8 %132 to i32 %134 = sub nsw i32 %133, 48 %135 = trunc i32 %134 to i8 store i8 %135, ptr %20, align 1 %136 = load i64, ptr %18, align 8 %137 = load i8, ptr %20, align 1 %138 = sext i8 %137 to i64 %139 = add i64 %136, %138 store i64 %139, ptr %21, align 8 %140 = load i64, ptr %21, align 8 store i64 %140, ptr %12, align 8 %141 = load i64, ptr %3, align 8 %142 = add i64 %141, 1 store i64 %142, ptr %3, align 8 br label %110 143: ; preds = %122 %144 = load i64, ptr %3, align 8 %145 = add i64 %144, 1 store i64 %145, ptr %3, align 8 %146 = load i64, ptr %12, align 8 store i64 %146, ptr %22, align 8 %147 = load ptr, ptr %2, align 8 %148 = call i64 @open(ptr noundef %147, i32 noundef 0) store i64 %148, ptr %23, align 8 %149 = load i64, ptr %23, align 8 %150 = call i64 @fsize(i64 noundef %149) store i64 %150, ptr %24, align 8 %151 = load i64, ptr %24, align 8 %152 = load i32, ptr @PROT_READ, align 4 %153 = load i32, ptr @MAP_SHARED, align 4 %154 = load i32, ptr @MAP_SHARED, align 4 %155 = or i32 %153, %154 %156 = load i64, ptr %23, align 8 %157 = call ptr @mmap(i32 noundef 0, i64 noundef %151, i32 noundef %152, i32 noundef %155, i64 noundef %156, i32 noundef 0) store ptr %157, ptr %25, align 8 br label %158 158: ; preds = %354, %143 %159 = load i64, ptr %3, align 8 store i64 %159, ptr %26, align 8 %160 = load i64, ptr %26, align 8 %161 = load i64, ptr %5, align 8 %162 = icmp ult i64 %160, %161 %163 = zext i1 %162 to i32 store i32 %163, ptr %27, align 4 %164 = load i32, ptr %27, align 4 %165 = icmp ne i32 %164, 0 br i1 %165, label %167, label %166 166: ; preds = %158 br label %355 167: ; preds = %158 %168 = load i64, ptr %3, align 8 store i64 %168, ptr %28, align 8 br label %169 169: ; preds = %182, %167 %170 = load i64, ptr %3, align 8 store i64 %170, ptr %29, align 8 %171 = load ptr, ptr %6, align 8 %172 = load i64, ptr %29, align 8 %173 = getelementptr inbounds i8, ptr %171, i64 %172 %174 = load i8, ptr %173, align 1 store i8 %174, ptr %30, align 1 %175 = load i8, ptr %30, align 1 %176 = sext i8 %175 to i32 %177 = icmp ne i32 %176, 44 %178 = zext i1 %177 to i32 store i32 %178, ptr %31, align 4 %179 = load i32, ptr %31, align 4 %180 = icmp ne i32 %179, 0 br i1 %180, label %182, label %181 181: ; preds = %169 br label %185 182: ; preds = %169 %183 = load i64, ptr %3, align 8 %184 = add i64 %183, 1 store i64 %184, ptr %3, align 8 br label %169 185: ; preds = %181 %186 = load i64, ptr %3, align 8 store i64 %186, ptr %32, align 8 %187 = load i64, ptr %3, align 8 %188 = add i64 %187, 1 store i64 %188, ptr %3, align 8 %189 = load i64, ptr %3, align 8 store i64 %189, ptr %33, align 8 store i64 0, ptr %34, align 8 br label %190 190: ; preds = %203, %185 %191 = load i64, ptr %3, align 8 store i64 %191, ptr %35, align 8 %192 = load ptr, ptr %6, align 8 %193 = load i64, ptr %35, align 8 %194 = getelementptr inbounds i8, ptr %192, i64 %193 %195 = load i8, ptr %194, align 1 store i8 %195, ptr %36, align 1 %196 = load i8, ptr %36, align 1 %197 = sext i8 %196 to i32 %198 = icmp ne i32 %197, 10 %199 = zext i1 %198 to i32 store i32 %199, ptr %37, align 4 %200 = load i32, ptr %37, align 4 %201 = icmp ne i32 %200, 0 br i1 %201, label %203, label %202 202: ; preds = %190 br label %223 203: ; preds = %190 %204 = load i64, ptr %34, align 8 store i64 %204, ptr %38, align 8 %205 = load i64, ptr %3, align 8 store i64 %205, ptr %39, align 8 %206 = load i64, ptr %38, align 8 %207 = mul i64 %206, 10 store i64 %207, ptr %40, align 8 %208 = load ptr, ptr %6, align 8 %209 = load i64, ptr %39, align 8 %210 = getelementptr inbounds i8, ptr %208, i64 %209 %211 = load i8, ptr %210, align 1 store i8 %211, ptr %41, align 1 %212 = load i8, ptr %41, align 1 %213 = sext i8 %212 to i32 %214 = sub nsw i32 %213, 48 %215 = trunc i32 %214 to i8 store i8 %215, ptr %42, align 1 %216 = load i64, ptr %40, align 8 %217 = load i8, ptr %42, align 1 %218 = sext i8 %217 to i64 %219 = add i64 %216, %218 store i64 %219, ptr %43, align 8 %220 = load i64, ptr %43, align 8 store i64 %220, ptr %34, align 8 %221 = load i64, ptr %3, align 8 %222 = add i64 %221, 1 store i64 %222, ptr %3, align 8 br label %190 223: ; preds = %202 %224 = load i64, ptr %3, align 8 %225 = add i64 %224, 1 store i64 %225, ptr %3, align 8 %226 = load i64, ptr %34, align 8 store i64 %226, ptr %44, align 8 store i64 0, ptr %45, align 8 %227 = load ptr, ptr %6, align 8 %228 = load i64, ptr %28, align 8 %229 = getelementptr inbounds i8, ptr %227, i64 %228 store ptr %229, ptr %46, align 8 br label %230 230: ; preds = %320, %223 %231 = load i64, ptr %45, align 8 store i64 %231, ptr %47, align 8 %232 = load i64, ptr %47, align 8 %233 = load i64, ptr %24, align 8 %234 = icmp ult i64 %232, %233 %235 = zext i1 %234 to i32 store i32 %235, ptr %48, align 4 %236 = load i32, ptr %48, align 4 %237 = icmp ne i32 %236, 0 br i1 %237, label %239, label %238 238: ; preds = %230 br label %354 239: ; preds = %230 %240 = load i64, ptr %45, align 8 store i64 %240, ptr %49, align 8 br label %241 241: ; preds = %254, %239 %242 = load i64, ptr %45, align 8 store i64 %242, ptr %50, align 8 %243 = load ptr, ptr %25, align 8 %244 = load i64, ptr %50, align 8 %245 = getelementptr inbounds i8, ptr %243, i64 %244 %246 = load i8, ptr %245, align 1 store i8 %246, ptr %51, align 1 %247 = load i8, ptr %51, align 1 %248 = sext i8 %247 to i32 %249 = icmp ne i32 %248, 9 %250 = zext i1 %249 to i32 store i32 %250, ptr %52, align 4 %251 = load i32, ptr %52, align 4 %252 = icmp ne i32 %251, 0 br i1 %252, label %254, label %253 253: ; preds = %241 br label %257 254: ; preds = %241 %255 = load i64, ptr %45, align 8 %256 = add i64 %255, 1 store i64 %256, ptr %45, align 8 br label %241 257: ; preds = %253 %258 = load i64, ptr %45, align 8 store i64 %258, ptr %53, align 8 %259 = load i64, ptr %45, align 8 %260 = add i64 %259, 1 store i64 %260, ptr %45, align 8 %261 = load i64, ptr %45, align 8 store i64 %261, ptr %54, align 8 br label %262 262: ; preds = %275, %257 %263 = load i64, ptr %45, align 8 store i64 %263, ptr %55, align 8 %264 = load ptr, ptr %25, align 8 %265 = load i64, ptr %55, align 8 %266 = getelementptr inbounds i8, ptr %264, i64 %265 %267 = load i8, ptr %266, align 1 store i8 %267, ptr %56, align 1 %268 = load i8, ptr %56, align 1 %269 = sext i8 %268 to i32 %270 = icmp ne i32 %269, 9 %271 = zext i1 %270 to i32 store i32 %271, ptr %57, align 4 %272 = load i32, ptr %57, align 4 %273 = icmp ne i32 %272, 0 br i1 %273, label %275, label %274 274: ; preds = %262 br label %278 275: ; preds = %262 %276 = load i64, ptr %45, align 8 %277 = add i64 %276, 1 store i64 %277, ptr %45, align 8 br label %262 278: ; preds = %274 %279 = load i64, ptr %45, align 8 store i64 %279, ptr %58, align 8 %280 = load i64, ptr %45, align 8 %281 = add i64 %280, 1 store i64 %281, ptr %45, align 8 %282 = load i64, ptr %45, align 8 store i64 %282, ptr %59, align 8 br label %283 283: ; preds = %296, %278 %284 = load i64, ptr %45, align 8 store i64 %284, ptr %60, align 8 %285 = load ptr, ptr %25, align 8 %286 = load i64, ptr %60, align 8 %287 = getelementptr inbounds i8, ptr %285, i64 %286 %288 = load i8, ptr %287, align 1 store i8 %288, ptr %61, align 1 %289 = load i8, ptr %61, align 1 %290 = sext i8 %289 to i32 %291 = icmp ne i32 %290, 9 %292 = zext i1 %291 to i32 store i32 %292, ptr %62, align 4 %293 = load i32, ptr %62, align 4 %294 = icmp ne i32 %293, 0 br i1 %294, label %296, label %295 295: ; preds = %283 br label %299 296: ; preds = %283 %297 = load i64, ptr %45, align 8 %298 = add i64 %297, 1 store i64 %298, ptr %45, align 8 br label %283 299: ; preds = %295 %300 = load i64, ptr %45, align 8 store i64 %300, ptr %63, align 8 %301 = load i64, ptr %45, align 8 %302 = add i64 %301, 1 store i64 %302, ptr %45, align 8 %303 = load i64, ptr %45, align 8 store i64 %303, ptr %64, align 8 br label %304 304: ; preds = %317, %299 %305 = load i64, ptr %45, align 8 store i64 %305, ptr %65, align 8 %306 = load ptr, ptr %25, align 8 %307 = load i64, ptr %65, align 8 %308 = getelementptr inbounds i8, ptr %306, i64 %307 %309 = load i8, ptr %308, align 1 store i8 %309, ptr %66, align 1 %310 = load i8, ptr %66, align 1 %311 = sext i8 %310 to i32 %312 = icmp ne i32 %311, 10 %313 = zext i1 %312 to i32 store i32 %313, ptr %67, align 4 %314 = load i32, ptr %67, align 4 %315 = icmp ne i32 %314, 0 br i1 %315, label %317, label %316 316: ; preds = %304 br label %320 317: ; preds = %304 %318 = load i64, ptr %45, align 8 %319 = add i64 %318, 1 store i64 %319, ptr %45, align 8 br label %304 320: ; preds = %316 %321 = load i64, ptr %45, align 8 store i64 %321, ptr %68, align 8 %322 = load i64, ptr %45, align 8 %323 = add i64 %322, 1 store i64 %323, ptr %45, align 8 %324 = load ptr, ptr %46, align 8 %325 = call i64 @printll(ptr noundef %324) store i64 %325, ptr %69, align 8 %326 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %327 = load i64, ptr %44, align 8 %328 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef %327) %329 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %330 = load ptr, ptr %25, align 8 %331 = load i64, ptr %49, align 8 %332 = getelementptr inbounds i8, ptr %330, i64 %331 store ptr %332, ptr %70, align 8 %333 = load ptr, ptr %70, align 8 %334 = call i64 @printll(ptr noundef %333) store i64 %334, ptr %71, align 8 %335 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %336 = load ptr, ptr %25, align 8 %337 = load i64, ptr %54, align 8 %338 = getelementptr inbounds i8, ptr %336, i64 %337 store ptr %338, ptr %72, align 8 %339 = load ptr, ptr %72, align 8 %340 = call i64 @printll(ptr noundef %339) store i64 %340, ptr %73, align 8 %341 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %342 = load ptr, ptr %25, align 8 %343 = load i64, ptr %59, align 8 %344 = getelementptr inbounds i8, ptr %342, i64 %343 store ptr %344, ptr %74, align 8 %345 = load ptr, ptr %74, align 8 %346 = call i64 @printll(ptr noundef %345) store i64 %346, ptr %75, align 8 %347 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %348 = load ptr, ptr %25, align 8 %349 = load i64, ptr %64, align 8 %350 = getelementptr inbounds i8, ptr %348, i64 %349 store ptr %350, ptr %76, align 8 %351 = load ptr, ptr %76, align 8 %352 = call i64 @printll(ptr noundef %351) store i64 %352, ptr %77, align 8 %353 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.5) br label %230 354: ; preds = %238 br label %158 355: ; preds = %166 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i64 @open(ptr noundef, i32 noundef) #1 declare i64 @fsize(i64 noundef) #1 declare ptr @mmap(i32 noundef, i64 noundef, i32 noundef, i32 noundef, i64 noundef, i32 noundef) #1 declare i64 @printll(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp26m8jrj5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [46 x i8] c"Word,Value,Phrase,Year,MatchCount,VolumeCount\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"src/data/words.csv\00", align 1 @PROT_READ = dso_local global i32 0, align 4 @MAP_SHARED = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [2 x i8] c",\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.5 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Snippet(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i8, align 1 %9 = alloca i32, align 4 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i8, align 1 %15 = alloca i32, align 4 %16 = alloca i64, align 8 %17 = alloca i64, align 8 %18 = alloca i64, align 8 %19 = alloca i8, align 1 %20 = alloca i8, align 1 %21 = alloca i64, align 8 %22 = alloca i64, align 8 %23 = alloca i64, align 8 %24 = alloca i64, align 8 %25 = alloca ptr, align 8 %26 = alloca i64, align 8 %27 = alloca i32, align 4 %28 = alloca i64, align 8 %29 = alloca i64, align 8 %30 = alloca i8, align 1 %31 = alloca i32, align 4 %32 = alloca i64, align 8 %33 = alloca i64, align 8 %34 = alloca i64, align 8 %35 = alloca i64, align 8 %36 = alloca i8, align 1 %37 = alloca i32, align 4 %38 = alloca i64, align 8 %39 = alloca i64, align 8 %40 = alloca i64, align 8 %41 = alloca i8, align 1 %42 = alloca i8, align 1 %43 = alloca i64, align 8 %44 = alloca i64, align 8 %45 = alloca i64, align 8 %46 = alloca ptr, align 8 %47 = alloca i64, align 8 %48 = alloca i32, align 4 %49 = alloca i64, align 8 %50 = alloca i64, align 8 %51 = alloca i8, align 1 %52 = alloca i32, align 4 %53 = alloca i64, align 8 %54 = alloca i64, align 8 %55 = alloca i64, align 8 %56 = alloca i8, align 1 %57 = alloca i32, align 4 %58 = alloca i64, align 8 %59 = alloca i64, align 8 %60 = alloca i64, align 8 %61 = alloca i8, align 1 %62 = alloca i32, align 4 %63 = alloca i64, align 8 %64 = alloca i64, align 8 %65 = alloca i64, align 8 %66 = alloca i8, align 1 %67 = alloca i32, align 4 %68 = alloca i64, align 8 %69 = alloca i64, align 8 %70 = alloca ptr, align 8 %71 = alloca i64, align 8 %72 = alloca ptr, align 8 %73 = alloca i64, align 8 %74 = alloca ptr, align 8 %75 = alloca i64, align 8 %76 = alloca ptr, align 8 %77 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %78 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) store i64 0, ptr %3, align 8 %79 = call i64 @open(ptr noundef @.str.2, i32 noundef 0) store i64 %79, ptr %4, align 8 %80 = load i64, ptr %4, align 8 %81 = call i64 @fsize(i64 noundef %80) store i64 %81, ptr %5, align 8 %82 = load i64, ptr %5, align 8 %83 = load i32, ptr @PROT_READ, align 4 %84 = load i32, ptr @MAP_SHARED, align 4 %85 = load i32, ptr @MAP_SHARED, align 4 %86 = or i32 %84, %85 %87 = load i64, ptr %4, align 8 %88 = call ptr @mmap(i32 noundef 0, i64 noundef %82, i32 noundef %83, i32 noundef %86, i64 noundef %87, i32 noundef 0) store ptr %88, ptr %6, align 8 %89 = load i64, ptr %3, align 8 store i64 %89, ptr %7, align 8 %90 = load ptr, ptr %6, align 8 %91 = load i64, ptr %7, align 8 %92 = getelementptr inbounds i8, ptr %90, i64 %91 %93 = load i8, ptr %92, align 1 store i8 %93, ptr %8, align 1 %94 = load i8, ptr %8, align 1 %95 = sext i8 %94 to i32 %96 = icmp ne i32 %95, 44 %97 = zext i1 %96 to i32 store i32 %97, ptr %9, align 4 %98 = load i32, ptr %9, align 4 %99 = icmp ne i32 %98, 0 br i1 %99, label %.lr.ph, label %100 .lr.ph: ; preds = %1 br label %101 ._crit_edge: ; preds = %101 br label %100 100: ; preds = %._crit_edge, %1 br label %115 101: ; preds = %.lr.ph, %101 %102 = load i64, ptr %3, align 8 %103 = add i64 %102, 1 store i64 %103, ptr %3, align 8 %104 = load i64, ptr %3, align 8 store i64 %104, ptr %7, align 8 %105 = load ptr, ptr %6, align 8 %106 = load i64, ptr %7, align 8 %107 = getelementptr inbounds i8, ptr %105, i64 %106 %108 = load i8, ptr %107, align 1 store i8 %108, ptr %8, align 1 %109 = load i8, ptr %8, align 1 %110 = sext i8 %109 to i32 %111 = icmp ne i32 %110, 44 %112 = zext i1 %111 to i32 store i32 %112, ptr %9, align 4 %113 = load i32, ptr %9, align 4 %114 = icmp ne i32 %113, 0 br i1 %114, label %101, label %._crit_edge 115: ; preds = %100 %116 = load i64, ptr %3, align 8 store i64 %116, ptr %10, align 8 %117 = load i64, ptr %3, align 8 %118 = add i64 %117, 1 store i64 %118, ptr %3, align 8 %119 = load i64, ptr %3, align 8 store i64 %119, ptr %11, align 8 store i64 0, ptr %12, align 8 %120 = load i64, ptr %3, align 8 store i64 %120, ptr %13, align 8 %121 = load ptr, ptr %6, align 8 %122 = load i64, ptr %13, align 8 %123 = getelementptr inbounds i8, ptr %121, i64 %122 %124 = load i8, ptr %123, align 1 store i8 %124, ptr %14, align 1 %125 = load i8, ptr %14, align 1 %126 = sext i8 %125 to i32 %127 = icmp ne i32 %126, 10 %128 = zext i1 %127 to i32 store i32 %128, ptr %15, align 4 %129 = load i32, ptr %15, align 4 %130 = icmp ne i32 %129, 0 br i1 %130, label %.lr.ph2, label %131 .lr.ph2: ; preds = %115 br label %132 ._crit_edge3: ; preds = %132 br label %131 131: ; preds = %._crit_edge3, %115 br label %163 132: ; preds = %.lr.ph2, %132 %133 = load i64, ptr %12, align 8 store i64 %133, ptr %16, align 8 %134 = load i64, ptr %3, align 8 store i64 %134, ptr %17, align 8 %135 = load i64, ptr %16, align 8 %136 = mul i64 %135, 10 store i64 %136, ptr %18, align 8 %137 = load ptr, ptr %6, align 8 %138 = load i64, ptr %17, align 8 %139 = getelementptr inbounds i8, ptr %137, i64 %138 %140 = load i8, ptr %139, align 1 store i8 %140, ptr %19, align 1 %141 = load i8, ptr %19, align 1 %142 = sext i8 %141 to i32 %143 = sub nsw i32 %142, 48 %144 = trunc i32 %143 to i8 store i8 %144, ptr %20, align 1 %145 = load i64, ptr %18, align 8 %146 = load i8, ptr %20, align 1 %147 = sext i8 %146 to i64 %148 = add i64 %145, %147 store i64 %148, ptr %21, align 8 %149 = load i64, ptr %21, align 8 store i64 %149, ptr %12, align 8 %150 = load i64, ptr %3, align 8 %151 = add i64 %150, 1 store i64 %151, ptr %3, align 8 %152 = load i64, ptr %3, align 8 store i64 %152, ptr %13, align 8 %153 = load ptr, ptr %6, align 8 %154 = load i64, ptr %13, align 8 %155 = getelementptr inbounds i8, ptr %153, i64 %154 %156 = load i8, ptr %155, align 1 store i8 %156, ptr %14, align 1 %157 = load i8, ptr %14, align 1 %158 = sext i8 %157 to i32 %159 = icmp ne i32 %158, 10 %160 = zext i1 %159 to i32 store i32 %160, ptr %15, align 4 %161 = load i32, ptr %15, align 4 %162 = icmp ne i32 %161, 0 br i1 %162, label %132, label %._crit_edge3 163: ; preds = %131 %164 = load i64, ptr %3, align 8 %165 = add i64 %164, 1 store i64 %165, ptr %3, align 8 %166 = load i64, ptr %12, align 8 store i64 %166, ptr %22, align 8 %167 = load ptr, ptr %2, align 8 %168 = call i64 @open(ptr noundef %167, i32 noundef 0) store i64 %168, ptr %23, align 8 %169 = load i64, ptr %23, align 8 %170 = call i64 @fsize(i64 noundef %169) store i64 %170, ptr %24, align 8 %171 = load i64, ptr %24, align 8 %172 = load i32, ptr @PROT_READ, align 4 %173 = load i32, ptr @MAP_SHARED, align 4 %174 = load i32, ptr @MAP_SHARED, align 4 %175 = or i32 %173, %174 %176 = load i64, ptr %23, align 8 %177 = call ptr @mmap(i32 noundef 0, i64 noundef %171, i32 noundef %172, i32 noundef %175, i64 noundef %176, i32 noundef 0) store ptr %177, ptr %25, align 8 %178 = load i64, ptr %3, align 8 store i64 %178, ptr %26, align 8 %179 = load i64, ptr %26, align 8 %180 = load i64, ptr %5, align 8 %181 = icmp ult i64 %179, %180 %182 = zext i1 %181 to i32 store i32 %182, ptr %27, align 4 %183 = load i32, ptr %27, align 4 %184 = icmp ne i32 %183, 0 br i1 %184, label %.lr.ph26, label %185 .lr.ph26: ; preds = %163 br label %186 ._crit_edge27: ; preds = %439 br label %185 185: ; preds = %._crit_edge27, %163 br label %447 186: ; preds = %.lr.ph26, %439 %187 = load i64, ptr %3, align 8 store i64 %187, ptr %28, align 8 %188 = load i64, ptr %3, align 8 store i64 %188, ptr %29, align 8 %189 = load ptr, ptr %6, align 8 %190 = load i64, ptr %29, align 8 %191 = getelementptr inbounds i8, ptr %189, i64 %190 %192 = load i8, ptr %191, align 1 store i8 %192, ptr %30, align 1 %193 = load i8, ptr %30, align 1 %194 = sext i8 %193 to i32 %195 = icmp ne i32 %194, 44 %196 = zext i1 %195 to i32 store i32 %196, ptr %31, align 4 %197 = load i32, ptr %31, align 4 %198 = icmp ne i32 %197, 0 br i1 %198, label %.lr.ph5, label %199 .lr.ph5: ; preds = %186 br label %200 ._crit_edge6: ; preds = %200 br label %199 199: ; preds = %._crit_edge6, %186 br label %214 200: ; preds = %.lr.ph5, %200 %201 = load i64, ptr %3, align 8 %202 = add i64 %201, 1 store i64 %202, ptr %3, align 8 %203 = load i64, ptr %3, align 8 store i64 %203, ptr %29, align 8 %204 = load ptr, ptr %6, align 8 %205 = load i64, ptr %29, align 8 %206 = getelementptr inbounds i8, ptr %204, i64 %205 %207 = load i8, ptr %206, align 1 store i8 %207, ptr %30, align 1 %208 = load i8, ptr %30, align 1 %209 = sext i8 %208 to i32 %210 = icmp ne i32 %209, 44 %211 = zext i1 %210 to i32 store i32 %211, ptr %31, align 4 %212 = load i32, ptr %31, align 4 %213 = icmp ne i32 %212, 0 br i1 %213, label %200, label %._crit_edge6 214: ; preds = %199 %215 = load i64, ptr %3, align 8 store i64 %215, ptr %32, align 8 %216 = load i64, ptr %3, align 8 %217 = add i64 %216, 1 store i64 %217, ptr %3, align 8 %218 = load i64, ptr %3, align 8 store i64 %218, ptr %33, align 8 store i64 0, ptr %34, align 8 %219 = load i64, ptr %3, align 8 store i64 %219, ptr %35, align 8 %220 = load ptr, ptr %6, align 8 %221 = load i64, ptr %35, align 8 %222 = getelementptr inbounds i8, ptr %220, i64 %221 %223 = load i8, ptr %222, align 1 store i8 %223, ptr %36, align 1 %224 = load i8, ptr %36, align 1 %225 = sext i8 %224 to i32 %226 = icmp ne i32 %225, 10 %227 = zext i1 %226 to i32 store i32 %227, ptr %37, align 4 %228 = load i32, ptr %37, align 4 %229 = icmp ne i32 %228, 0 br i1 %229, label %.lr.ph8, label %230 .lr.ph8: ; preds = %214 br label %231 ._crit_edge9: ; preds = %231 br label %230 230: ; preds = %._crit_edge9, %214 br label %262 231: ; preds = %.lr.ph8, %231 %232 = load i64, ptr %34, align 8 store i64 %232, ptr %38, align 8 %233 = load i64, ptr %3, align 8 store i64 %233, ptr %39, align 8 %234 = load i64, ptr %38, align 8 %235 = mul i64 %234, 10 store i64 %235, ptr %40, align 8 %236 = load ptr, ptr %6, align 8 %237 = load i64, ptr %39, align 8 %238 = getelementptr inbounds i8, ptr %236, i64 %237 %239 = load i8, ptr %238, align 1 store i8 %239, ptr %41, align 1 %240 = load i8, ptr %41, align 1 %241 = sext i8 %240 to i32 %242 = sub nsw i32 %241, 48 %243 = trunc i32 %242 to i8 store i8 %243, ptr %42, align 1 %244 = load i64, ptr %40, align 8 %245 = load i8, ptr %42, align 1 %246 = sext i8 %245 to i64 %247 = add i64 %244, %246 store i64 %247, ptr %43, align 8 %248 = load i64, ptr %43, align 8 store i64 %248, ptr %34, align 8 %249 = load i64, ptr %3, align 8 %250 = add i64 %249, 1 store i64 %250, ptr %3, align 8 %251 = load i64, ptr %3, align 8 store i64 %251, ptr %35, align 8 %252 = load ptr, ptr %6, align 8 %253 = load i64, ptr %35, align 8 %254 = getelementptr inbounds i8, ptr %252, i64 %253 %255 = load i8, ptr %254, align 1 store i8 %255, ptr %36, align 1 %256 = load i8, ptr %36, align 1 %257 = sext i8 %256 to i32 %258 = icmp ne i32 %257, 10 %259 = zext i1 %258 to i32 store i32 %259, ptr %37, align 4 %260 = load i32, ptr %37, align 4 %261 = icmp ne i32 %260, 0 br i1 %261, label %231, label %._crit_edge9 262: ; preds = %230 %263 = load i64, ptr %3, align 8 %264 = add i64 %263, 1 store i64 %264, ptr %3, align 8 %265 = load i64, ptr %34, align 8 store i64 %265, ptr %44, align 8 store i64 0, ptr %45, align 8 %266 = load ptr, ptr %6, align 8 %267 = load i64, ptr %28, align 8 %268 = getelementptr inbounds i8, ptr %266, i64 %267 store ptr %268, ptr %46, align 8 %269 = load i64, ptr %45, align 8 store i64 %269, ptr %47, align 8 %270 = load i64, ptr %47, align 8 %271 = load i64, ptr %24, align 8 %272 = icmp ult i64 %270, %271 %273 = zext i1 %272 to i32 store i32 %273, ptr %48, align 4 %274 = load i32, ptr %48, align 4 %275 = icmp ne i32 %274, 0 br i1 %275, label %.lr.ph23, label %276 .lr.ph23: ; preds = %262 br label %277 ._crit_edge24: ; preds = %398 br label %276 276: ; preds = %._crit_edge24, %262 br label %439 277: ; preds = %.lr.ph23, %398 %278 = load i64, ptr %45, align 8 store i64 %278, ptr %49, align 8 %279 = load i64, ptr %45, align 8 store i64 %279, ptr %50, align 8 %280 = load ptr, ptr %25, align 8 %281 = load i64, ptr %50, align 8 %282 = getelementptr inbounds i8, ptr %280, i64 %281 %283 = load i8, ptr %282, align 1 store i8 %283, ptr %51, align 1 %284 = load i8, ptr %51, align 1 %285 = sext i8 %284 to i32 %286 = icmp ne i32 %285, 9 %287 = zext i1 %286 to i32 store i32 %287, ptr %52, align 4 %288 = load i32, ptr %52, align 4 %289 = icmp ne i32 %288, 0 br i1 %289, label %.lr.ph11, label %290 .lr.ph11: ; preds = %277 br label %291 ._crit_edge12: ; preds = %291 br label %290 290: ; preds = %._crit_edge12, %277 br label %305 291: ; preds = %.lr.ph11, %291 %292 = load i64, ptr %45, align 8 %293 = add i64 %292, 1 store i64 %293, ptr %45, align 8 %294 = load i64, ptr %45, align 8 store i64 %294, ptr %50, align 8 %295 = load ptr, ptr %25, align 8 %296 = load i64, ptr %50, align 8 %297 = getelementptr inbounds i8, ptr %295, i64 %296 %298 = load i8, ptr %297, align 1 store i8 %298, ptr %51, align 1 %299 = load i8, ptr %51, align 1 %300 = sext i8 %299 to i32 %301 = icmp ne i32 %300, 9 %302 = zext i1 %301 to i32 store i32 %302, ptr %52, align 4 %303 = load i32, ptr %52, align 4 %304 = icmp ne i32 %303, 0 br i1 %304, label %291, label %._crit_edge12 305: ; preds = %290 %306 = load i64, ptr %45, align 8 store i64 %306, ptr %53, align 8 %307 = load i64, ptr %45, align 8 %308 = add i64 %307, 1 store i64 %308, ptr %45, align 8 %309 = load i64, ptr %45, align 8 store i64 %309, ptr %54, align 8 %310 = load i64, ptr %45, align 8 store i64 %310, ptr %55, align 8 %311 = load ptr, ptr %25, align 8 %312 = load i64, ptr %55, align 8 %313 = getelementptr inbounds i8, ptr %311, i64 %312 %314 = load i8, ptr %313, align 1 store i8 %314, ptr %56, align 1 %315 = load i8, ptr %56, align 1 %316 = sext i8 %315 to i32 %317 = icmp ne i32 %316, 9 %318 = zext i1 %317 to i32 store i32 %318, ptr %57, align 4 %319 = load i32, ptr %57, align 4 %320 = icmp ne i32 %319, 0 br i1 %320, label %.lr.ph14, label %321 .lr.ph14: ; preds = %305 br label %322 ._crit_edge15: ; preds = %322 br label %321 321: ; preds = %._crit_edge15, %305 br label %336 322: ; preds = %.lr.ph14, %322 %323 = load i64, ptr %45, align 8 %324 = add i64 %323, 1 store i64 %324, ptr %45, align 8 %325 = load i64, ptr %45, align 8 store i64 %325, ptr %55, align 8 %326 = load ptr, ptr %25, align 8 %327 = load i64, ptr %55, align 8 %328 = getelementptr inbounds i8, ptr %326, i64 %327 %329 = load i8, ptr %328, align 1 store i8 %329, ptr %56, align 1 %330 = load i8, ptr %56, align 1 %331 = sext i8 %330 to i32 %332 = icmp ne i32 %331, 9 %333 = zext i1 %332 to i32 store i32 %333, ptr %57, align 4 %334 = load i32, ptr %57, align 4 %335 = icmp ne i32 %334, 0 br i1 %335, label %322, label %._crit_edge15 336: ; preds = %321 %337 = load i64, ptr %45, align 8 store i64 %337, ptr %58, align 8 %338 = load i64, ptr %45, align 8 %339 = add i64 %338, 1 store i64 %339, ptr %45, align 8 %340 = load i64, ptr %45, align 8 store i64 %340, ptr %59, align 8 %341 = load i64, ptr %45, align 8 store i64 %341, ptr %60, align 8 %342 = load ptr, ptr %25, align 8 %343 = load i64, ptr %60, align 8 %344 = getelementptr inbounds i8, ptr %342, i64 %343 %345 = load i8, ptr %344, align 1 store i8 %345, ptr %61, align 1 %346 = load i8, ptr %61, align 1 %347 = sext i8 %346 to i32 %348 = icmp ne i32 %347, 9 %349 = zext i1 %348 to i32 store i32 %349, ptr %62, align 4 %350 = load i32, ptr %62, align 4 %351 = icmp ne i32 %350, 0 br i1 %351, label %.lr.ph17, label %352 .lr.ph17: ; preds = %336 br label %353 ._crit_edge18: ; preds = %353 br label %352 352: ; preds = %._crit_edge18, %336 br label %367 353: ; preds = %.lr.ph17, %353 %354 = load i64, ptr %45, align 8 %355 = add i64 %354, 1 store i64 %355, ptr %45, align 8 %356 = load i64, ptr %45, align 8 store i64 %356, ptr %60, align 8 %357 = load ptr, ptr %25, align 8 %358 = load i64, ptr %60, align 8 %359 = getelementptr inbounds i8, ptr %357, i64 %358 %360 = load i8, ptr %359, align 1 store i8 %360, ptr %61, align 1 %361 = load i8, ptr %61, align 1 %362 = sext i8 %361 to i32 %363 = icmp ne i32 %362, 9 %364 = zext i1 %363 to i32 store i32 %364, ptr %62, align 4 %365 = load i32, ptr %62, align 4 %366 = icmp ne i32 %365, 0 br i1 %366, label %353, label %._crit_edge18 367: ; preds = %352 %368 = load i64, ptr %45, align 8 store i64 %368, ptr %63, align 8 %369 = load i64, ptr %45, align 8 %370 = add i64 %369, 1 store i64 %370, ptr %45, align 8 %371 = load i64, ptr %45, align 8 store i64 %371, ptr %64, align 8 %372 = load i64, ptr %45, align 8 store i64 %372, ptr %65, align 8 %373 = load ptr, ptr %25, align 8 %374 = load i64, ptr %65, align 8 %375 = getelementptr inbounds i8, ptr %373, i64 %374 %376 = load i8, ptr %375, align 1 store i8 %376, ptr %66, align 1 %377 = load i8, ptr %66, align 1 %378 = sext i8 %377 to i32 %379 = icmp ne i32 %378, 10 %380 = zext i1 %379 to i32 store i32 %380, ptr %67, align 4 %381 = load i32, ptr %67, align 4 %382 = icmp ne i32 %381, 0 br i1 %382, label %.lr.ph20, label %383 .lr.ph20: ; preds = %367 br label %384 ._crit_edge21: ; preds = %384 br label %383 383: ; preds = %._crit_edge21, %367 br label %398 384: ; preds = %.lr.ph20, %384 %385 = load i64, ptr %45, align 8 %386 = add i64 %385, 1 store i64 %386, ptr %45, align 8 %387 = load i64, ptr %45, align 8 store i64 %387, ptr %65, align 8 %388 = load ptr, ptr %25, align 8 %389 = load i64, ptr %65, align 8 %390 = getelementptr inbounds i8, ptr %388, i64 %389 %391 = load i8, ptr %390, align 1 store i8 %391, ptr %66, align 1 %392 = load i8, ptr %66, align 1 %393 = sext i8 %392 to i32 %394 = icmp ne i32 %393, 10 %395 = zext i1 %394 to i32 store i32 %395, ptr %67, align 4 %396 = load i32, ptr %67, align 4 %397 = icmp ne i32 %396, 0 br i1 %397, label %384, label %._crit_edge21 398: ; preds = %383 %399 = load i64, ptr %45, align 8 store i64 %399, ptr %68, align 8 %400 = load i64, ptr %45, align 8 %401 = add i64 %400, 1 store i64 %401, ptr %45, align 8 %402 = load ptr, ptr %46, align 8 %403 = call i64 @printll(ptr noundef %402) store i64 %403, ptr %69, align 8 %404 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %405 = load i64, ptr %44, align 8 %406 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef %405) %407 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %408 = load ptr, ptr %25, align 8 %409 = load i64, ptr %49, align 8 %410 = getelementptr inbounds i8, ptr %408, i64 %409 store ptr %410, ptr %70, align 8 %411 = load ptr, ptr %70, align 8 %412 = call i64 @printll(ptr noundef %411) store i64 %412, ptr %71, align 8 %413 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %414 = load ptr, ptr %25, align 8 %415 = load i64, ptr %54, align 8 %416 = getelementptr inbounds i8, ptr %414, i64 %415 store ptr %416, ptr %72, align 8 %417 = load ptr, ptr %72, align 8 %418 = call i64 @printll(ptr noundef %417) store i64 %418, ptr %73, align 8 %419 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %420 = load ptr, ptr %25, align 8 %421 = load i64, ptr %59, align 8 %422 = getelementptr inbounds i8, ptr %420, i64 %421 store ptr %422, ptr %74, align 8 %423 = load ptr, ptr %74, align 8 %424 = call i64 @printll(ptr noundef %423) store i64 %424, ptr %75, align 8 %425 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %426 = load ptr, ptr %25, align 8 %427 = load i64, ptr %64, align 8 %428 = getelementptr inbounds i8, ptr %426, i64 %427 store ptr %428, ptr %76, align 8 %429 = load ptr, ptr %76, align 8 %430 = call i64 @printll(ptr noundef %429) store i64 %430, ptr %77, align 8 %431 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.5) %432 = load i64, ptr %45, align 8 store i64 %432, ptr %47, align 8 %433 = load i64, ptr %47, align 8 %434 = load i64, ptr %24, align 8 %435 = icmp ult i64 %433, %434 %436 = zext i1 %435 to i32 store i32 %436, ptr %48, align 4 %437 = load i32, ptr %48, align 4 %438 = icmp ne i32 %437, 0 br i1 %438, label %277, label %._crit_edge24 439: ; preds = %276 %440 = load i64, ptr %3, align 8 store i64 %440, ptr %26, align 8 %441 = load i64, ptr %26, align 8 %442 = load i64, ptr %5, align 8 %443 = icmp ult i64 %441, %442 %444 = zext i1 %443 to i32 store i32 %444, ptr %27, align 4 %445 = load i32, ptr %27, align 4 %446 = icmp ne i32 %445, 0 br i1 %446, label %186, label %._crit_edge27 447: ; preds = %185 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i64 @open(ptr noundef, i32 noundef) #1 declare i64 @fsize(i64 noundef) #1 declare ptr @mmap(i32 noundef, i64 noundef, i32 noundef, i32 noundef, i64 noundef, i32 noundef) #1 declare i64 @printll(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfkynw3y8.c' source_filename = "/tmp/tmpfkynw3y8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0x%x \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(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 256, ptr %6, align 8 %10 = call ptr @llvm.stacksave() store ptr %10, ptr %7, align 8 %11 = alloca i8, i64 256, align 16 store i64 0, ptr %8, align 8 br label %12 12: ; preds = %20, %2 %13 = load i64, ptr %8, align 8 %14 = icmp ult i64 %13, 256 br i1 %14, label %15, label %23 15: ; preds = %12 %16 = load i64, ptr %8, align 8 %17 = trunc i64 %16 to i8 %18 = load i64, ptr %8, align 8 %19 = getelementptr inbounds i8, ptr %11, i64 %18 store i8 %17, ptr %19, align 1 br label %20 20: ; preds = %15 %21 = load i64, ptr %8, align 8 %22 = add i64 %21, 1 store i64 %22, ptr %8, align 8 br label %12, !llvm.loop !6 23: ; preds = %12 %24 = getelementptr inbounds i8, ptr %11, i64 4 %25 = getelementptr inbounds i8, ptr %11, i64 0 %26 = call i32 @memmove_caller(ptr noundef %24, ptr noundef %25, i32 noundef 0) store i64 0, ptr %9, align 8 br label %27 27: ; preds = %36, %23 %28 = load i64, ptr %9, align 8 %29 = icmp ult i64 %28, 30 br i1 %29, label %30, label %39 30: ; preds = %27 %31 = load i64, ptr %9, align 8 %32 = getelementptr inbounds i8, ptr %11, i64 %31 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %34) br label %36 36: ; preds = %30 %37 = load i64, ptr %9, align 8 %38 = add i64 %37, 1 store i64 %38, ptr %9, align 8 br label %27, !llvm.loop !8 39: ; preds = %27 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %3, align 4 %41 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %41) %42 = load i32, ptr %3, align 4 ret i32 %42 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @memmove_caller(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfkynw3y8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0x%x \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(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 256, ptr %6, align 8 %10 = call ptr @llvm.stacksave() store ptr %10, ptr %7, align 8 %11 = alloca i8, i64 256, align 16 store i64 0, ptr %8, align 8 %12 = load i64, ptr %8, align 8 %13 = icmp ult i64 %12, 256 br i1 %13, label %.lr.ph, label %24 .lr.ph: ; preds = %2 br label %14 14: ; preds = %.lr.ph, %19 %15 = load i64, ptr %8, align 8 %16 = trunc i64 %15 to i8 %17 = load i64, ptr %8, align 8 %18 = getelementptr inbounds i8, ptr %11, i64 %17 store i8 %16, ptr %18, align 1 br label %19 19: ; preds = %14 %20 = load i64, ptr %8, align 8 %21 = add i64 %20, 1 store i64 %21, ptr %8, align 8 %22 = load i64, ptr %8, align 8 %23 = icmp ult i64 %22, 256 br i1 %23, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %24 24: ; preds = %._crit_edge, %2 %25 = getelementptr inbounds i8, ptr %11, i64 4 %26 = getelementptr inbounds i8, ptr %11, i64 0 %27 = call i32 @memmove_caller(ptr noundef %25, ptr noundef %26, i32 noundef 0) store i64 0, ptr %9, align 8 %28 = load i64, ptr %9, align 8 %29 = icmp ult i64 %28, 30 br i1 %29, label %.lr.ph2, label %41 .lr.ph2: ; preds = %24 br label %30 30: ; preds = %.lr.ph2, %36 %31 = load i64, ptr %9, align 8 %32 = getelementptr inbounds i8, ptr %11, i64 %31 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %34) br label %36 36: ; preds = %30 %37 = load i64, ptr %9, align 8 %38 = add i64 %37, 1 store i64 %38, ptr %9, align 8 %39 = load i64, ptr %9, align 8 %40 = icmp ult i64 %39, 30 br i1 %40, label %30, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %36 br label %41 41: ; preds = %._crit_edge3, %24 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %3, align 4 %43 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %43) %44 = load i32, ptr %3, align 4 ret i32 %44 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @memmove_caller(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpa4stdwgp.c' source_filename = "/tmp/tmpa4stdwgp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @caldate_normalize(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @caldate_mjd(ptr noundef %4) %6 = call i32 @caldate_frommjd(ptr noundef %3, i32 noundef %5, ptr noundef null, ptr noundef null) ret void } declare i32 @caldate_frommjd(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @caldate_mjd(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa4stdwgp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @caldate_normalize(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @caldate_mjd(ptr noundef %4) %6 = call i32 @caldate_frommjd(ptr noundef %3, i32 noundef %5, ptr noundef null, ptr noundef null) ret void } declare i32 @caldate_frommjd(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @caldate_mjd(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzr2r_xsg.c' source_filename = "/tmp/tmpzr2r_xsg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IniPtMovMod(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = zext i8 %3 to i32 switch i32 %4, label %17 [ i32 0, label %5 i32 1, label %11 ] 5: ; preds = %1 %6 = call i32 @RegWriteA(i32 noundef 340, i32 noundef 0) %7 = call i32 @RegWriteA(i32 noundef 341, i32 noundef 84) %8 = call i32 @RegWriteA(i32 noundef 342, i32 noundef 20) %9 = call i32 @RegWriteA(i32 noundef 343, i32 noundef 148) %10 = call i32 @RegWriteA(i32 noundef 344, i32 noundef 0) br label %17 11: ; preds = %1 %12 = call i32 @RegWriteA(i32 noundef 340, i32 noundef 0) %13 = call i32 @RegWriteA(i32 noundef 341, i32 noundef 0) %14 = call i32 @RegWriteA(i32 noundef 342, i32 noundef 20) %15 = call i32 @RegWriteA(i32 noundef 343, i32 noundef 148) %16 = call i32 @RegWriteA(i32 noundef 344, i32 noundef 0) br label %17 17: ; preds = %1, %11, %5 ret void } declare i32 @RegWriteA(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/tmpzr2r_xsg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IniPtMovMod(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = zext i8 %3 to i32 switch i32 %4, label %17 [ i32 0, label %5 i32 1, label %11 ] 5: ; preds = %1 %6 = call i32 @RegWriteA(i32 noundef 340, i32 noundef 0) %7 = call i32 @RegWriteA(i32 noundef 341, i32 noundef 84) %8 = call i32 @RegWriteA(i32 noundef 342, i32 noundef 20) %9 = call i32 @RegWriteA(i32 noundef 343, i32 noundef 148) %10 = call i32 @RegWriteA(i32 noundef 344, i32 noundef 0) br label %17 11: ; preds = %1 %12 = call i32 @RegWriteA(i32 noundef 340, i32 noundef 0) %13 = call i32 @RegWriteA(i32 noundef 341, i32 noundef 0) %14 = call i32 @RegWriteA(i32 noundef 342, i32 noundef 20) %15 = call i32 @RegWriteA(i32 noundef 343, i32 noundef 148) %16 = call i32 @RegWriteA(i32 noundef 344, i32 noundef 0) br label %17 17: ; preds = %11, %5, %1 ret void } declare i32 @RegWriteA(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/tmp2wqoxi3a.c' source_filename = "/tmp/tmp2wqoxi3a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"const char %s[] = \22\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"\\\22\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"\22;\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @label2array(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 i8, align 1 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str) store ptr %9, ptr %6, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %12 11: ; preds = %2 store i32 -1, ptr %3, align 4 br label %32 12: ; preds = %2 %13 = load ptr, ptr %4, align 8 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %13) br label %15 15: ; preds = %29, %12 %16 = load ptr, ptr %6, align 8 %17 = call i64 @fread(ptr noundef %7, i32 noundef 1, i32 noundef 1, ptr noundef %16) %18 = icmp sgt i64 %17, 0 br i1 %18, label %19, label %30 19: ; preds = %15 %20 = load i8, ptr %7, align 1 %21 = zext i8 %20 to i32 switch i32 %21, label %25 [ i32 9, label %22 i32 10, label %22 i32 34, label %23 ] 22: ; preds = %19, %19 br label %29 23: ; preds = %19 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %29 25: ; preds = %19 %26 = load i8, ptr %7, align 1 %27 = zext i8 %26 to i32 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %27) br label %29 29: ; preds = %25, %23, %22 br label %15, !llvm.loop !6 30: ; preds = %15 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 0, ptr %3, align 4 br label %32 32: ; preds = %30, %11 %33 = load i32, ptr %3, align 4 ret i32 %33 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i64 @fread(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2wqoxi3a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"const char %s[] = \22\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"\\\22\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"\22;\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @label2array(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 i8, align 1 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str) store ptr %9, ptr %6, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %12 11: ; preds = %2 store i32 -1, ptr %3, align 4 br label %34 12: ; preds = %2 %13 = load ptr, ptr %4, align 8 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %13) %15 = load ptr, ptr %6, align 8 %16 = call i64 @fread(ptr noundef %7, i32 noundef 1, i32 noundef 1, ptr noundef %15) %17 = icmp sgt i64 %16, 0 br i1 %17, label %.lr.ph, label %32 .lr.ph: ; preds = %12 br label %18 18: ; preds = %.lr.ph, %28 %19 = load i8, ptr %7, align 1 %20 = zext i8 %19 to i32 switch i32 %20, label %24 [ i32 9, label %21 i32 10, label %21 i32 34, label %22 ] 21: ; preds = %18, %18 br label %28 22: ; preds = %18 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %28 24: ; preds = %18 %25 = load i8, ptr %7, align 1 %26 = zext i8 %25 to i32 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %26) br label %28 28: ; preds = %24, %22, %21 %29 = load ptr, ptr %6, align 8 %30 = call i64 @fread(ptr noundef %7, i32 noundef 1, i32 noundef 1, ptr noundef %29) %31 = icmp sgt i64 %30, 0 br i1 %31, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %32 32: ; preds = %._crit_edge, %12 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 0, ptr %3, align 4 br label %34 34: ; preds = %32, %11 %35 = load i32, ptr %3, align 4 ret i32 %35 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i64 @fread(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmph96lll1s.c' source_filename = "/tmp/tmph96lll1s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @numConnected(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 1, ptr %7, align 4 %8 = load i32, ptr %4, align 4 %9 = add nsw i32 %8, 1 %10 = sext i32 %9 to i64 %11 = mul i64 %10, 4 %12 = trunc i64 %11 to i32 %13 = call i64 @malloc(i32 noundef %12) %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %6, align 8 store i32 1, ptr %5, align 4 br label %15 15: ; preds = %35, %2 %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp sle i32 %16, %17 br i1 %18, label %19, label %38 19: ; preds = %15 %20 = load ptr, ptr %6, align 8 %21 = load i32, ptr %5, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i32, ptr %20, i64 %22 %24 = load i32, ptr %23, align 4 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %34 26: ; preds = %19 %27 = load i32, ptr %5, align 4 %28 = load ptr, ptr %6, align 8 %29 = load ptr, ptr %3, align 8 %30 = load i32, ptr %7, align 4 %31 = call i32 @explore(i32 noundef %27, ptr noundef %28, ptr noundef %29, i32 noundef %30) %32 = load i32, ptr %7, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %7, align 4 br label %34 34: ; preds = %26, %19 br label %35 35: ; preds = %34 %36 = load i32, ptr %5, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %5, align 4 br label %15, !llvm.loop !6 38: ; preds = %15 %39 = load i32, ptr %7, align 4 %40 = add nsw i32 %39, -1 store i32 %40, ptr %7, align 4 %41 = load i32, ptr %7, align 4 ret i32 %41 } declare i64 @malloc(i32 noundef) #1 declare i32 @explore(i32 noundef, 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/tmph96lll1s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @numConnected(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 1, ptr %7, align 4 %8 = load i32, ptr %4, align 4 %9 = add nsw i32 %8, 1 %10 = sext i32 %9 to i64 %11 = mul i64 %10, 4 %12 = trunc i64 %11 to i32 %13 = call i64 @malloc(i32 noundef %12) %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %6, align 8 store i32 1, ptr %5, align 4 %15 = load i32, ptr %5, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp sle i32 %15, %16 br i1 %17, label %.lr.ph, label %40 .lr.ph: ; preds = %2 br label %18 18: ; preds = %.lr.ph, %34 %19 = load ptr, ptr %6, align 8 %20 = load i32, ptr %5, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %19, i64 %21 %23 = load i32, ptr %22, align 4 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %33 25: ; preds = %18 %26 = load i32, ptr %5, align 4 %27 = load ptr, ptr %6, align 8 %28 = load ptr, ptr %3, align 8 %29 = load i32, ptr %7, align 4 %30 = call i32 @explore(i32 noundef %26, ptr noundef %27, ptr noundef %28, i32 noundef %29) %31 = load i32, ptr %7, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %7, align 4 br label %33 33: ; preds = %25, %18 br label %34 34: ; preds = %33 %35 = load i32, ptr %5, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %5, align 4 %37 = load i32, ptr %5, align 4 %38 = load i32, ptr %4, align 4 %39 = icmp sle i32 %37, %38 br i1 %39, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %40 40: ; preds = %._crit_edge, %2 %41 = load i32, ptr %7, align 4 %42 = add nsw i32 %41, -1 store i32 %42, ptr %7, align 4 %43 = load i32, ptr %7, align 4 ret i32 %43 } declare i64 @malloc(i32 noundef) #1 declare i32 @explore(i32 noundef, 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/tmptxglc1jp.c' source_filename = "/tmp/tmptxglc1jp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crk_uncescape(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 %8 = alloca i8, align 1 %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 i32 %2, ptr %6, align 4 %11 = load ptr, ptr %4, align 8 store ptr %11, ptr %7, align 8 store i32 0, ptr %9, align 4 br label %12 12: ; preds = %113, %3 %13 = load ptr, ptr %7, 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 %21 17: ; preds = %12 %18 = load i32, ptr %9, align 4 %19 = load i32, ptr %6, align 4 %20 = icmp slt i32 %18, %19 br label %21 21: ; preds = %17, %12 %22 = phi i1 [ false, %12 ], [ %20, %17 ] br i1 %22, label %23, label %118 23: ; preds = %21 %24 = load ptr, ptr %7, align 8 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, 92 br i1 %27, label %28, label %105 28: ; preds = %23 %29 = load ptr, ptr %7, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 1 store ptr %30, ptr %7, align 8 store i8 0, ptr %8, align 1 %31 = load ptr, ptr %7, align 8 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 switch i32 %33, label %92 [ i32 48, label %34 i32 49, label %34 i32 50, label %34 i32 51, label %34 i32 52, label %34 i32 53, label %34 i32 54, label %34 i32 55, label %34 i32 120, label %45 i32 33, label %64 i32 92, label %83 i32 34, label %84 i32 116, label %85 i32 110, label %86 i32 114, label %87 i32 102, label %88 i32 98, label %89 i32 97, label %90 i32 101, label %91 ] 34: ; preds = %28, %28, %28, %28, %28, %28, %28, %28 %35 = load ptr, ptr %7, align 8 %36 = call i32 @asc2chr(ptr noundef %35, i32 noundef 8, ptr noundef %8) store i32 %36, ptr %10, align 4 %37 = icmp sge i32 %36, 0 br i1 %37, label %38, label %43 38: ; preds = %34 %39 = load i32, ptr %10, align 4 %40 = load ptr, ptr %7, align 8 %41 = sext i32 %39 to i64 %42 = getelementptr inbounds i8, ptr %40, i64 %41 store ptr %42, ptr %7, align 8 br label %44 43: ; preds = %34 br label %113 44: ; preds = %38 br label %99 45: ; preds = %28 %46 = load ptr, ptr %7, align 8 %47 = getelementptr inbounds i8, ptr %46, i32 1 store ptr %47, ptr %7, align 8 %48 = load ptr, ptr %7, align 8 %49 = call i32 @asc2chr(ptr noundef %48, i32 noundef 16, ptr noundef %8) store i32 %49, ptr %10, align 4 %50 = icmp sge i32 %49, 0 br i1 %50, label %51, label %56 51: ; preds = %45 %52 = load i32, ptr %10, align 4 %53 = load ptr, ptr %7, align 8 %54 = sext i32 %52 to i64 %55 = getelementptr inbounds i8, ptr %53, i64 %54 store ptr %55, ptr %7, align 8 br label %63 56: ; preds = %45 %57 = load ptr, ptr %7, align 8 %58 = getelementptr inbounds i8, ptr %57, i64 -2 store ptr %58, ptr %7, align 8 %59 = load ptr, ptr %5, align 8 %60 = load i32, ptr %9, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i8, ptr %59, i64 %61 store i8 92, ptr %62, align 1 br label %113 63: ; preds = %51 br label %99 64: ; preds = %28 %65 = load ptr, ptr %7, align 8 %66 = getelementptr inbounds i8, ptr %65, i32 1 store ptr %66, ptr %7, align 8 %67 = load ptr, ptr %7, align 8 %68 = call i32 @asc2chr(ptr noundef %67, i32 noundef 2, ptr noundef %8) store i32 %68, ptr %10, align 4 %69 = icmp sge i32 %68, 0 br i1 %69, label %70, label %75 70: ; preds = %64 %71 = load i32, ptr %10, align 4 %72 = load ptr, ptr %7, align 8 %73 = sext i32 %71 to i64 %74 = getelementptr inbounds i8, ptr %72, i64 %73 store ptr %74, ptr %7, align 8 br label %82 75: ; preds = %64 %76 = load ptr, ptr %7, align 8 %77 = getelementptr inbounds i8, ptr %76, i64 -2 store ptr %77, ptr %7, align 8 %78 = load ptr, ptr %5, align 8 %79 = load i32, ptr %9, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds i8, ptr %78, i64 %80 store i8 92, ptr %81, align 1 br label %113 82: ; preds = %70 br label %99 83: ; preds = %28 store i8 92, ptr %8, align 1 br label %99 84: ; preds = %28 store i8 34, ptr %8, align 1 br label %99 85: ; preds = %28 store i8 9, ptr %8, align 1 br label %99 86: ; preds = %28 store i8 10, ptr %8, align 1 br label %99 87: ; preds = %28 store i8 13, ptr %8, align 1 br label %99 88: ; preds = %28 store i8 12, ptr %8, align 1 br label %99 89: ; preds = %28 store i8 8, ptr %8, align 1 br label %99 90: ; preds = %28 store i8 7, ptr %8, align 1 br label %99 91: ; preds = %28 store i8 27, ptr %8, align 1 br label %99 92: ; preds = %28 %93 = load ptr, ptr %7, align 8 %94 = load i8, ptr %93, align 1 %95 = load ptr, ptr %5, align 8 %96 = load i32, ptr %9, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds i8, ptr %95, i64 %97 store i8 %94, ptr %98, align 1 br label %113 99: ; preds = %91, %90, %89, %88, %87, %86, %85, %84, %83, %82, %63, %44 %100 = load i8, ptr %8, align 1 %101 = load ptr, ptr %5, align 8 %102 = load i32, ptr %9, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds i8, ptr %101, i64 %103 store i8 %100, ptr %104, align 1 br label %112 105: ; preds = %23 %106 = load ptr, ptr %7, align 8 %107 = load i8, ptr %106, align 1 %108 = load ptr, ptr %5, align 8 %109 = load i32, ptr %9, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds i8, ptr %108, i64 %110 store i8 %107, ptr %111, align 1 br label %112 112: ; preds = %105, %99 br label %113 113: ; preds = %112, %92, %75, %56, %43 %114 = load ptr, ptr %7, align 8 %115 = getelementptr inbounds i8, ptr %114, i32 1 store ptr %115, ptr %7, align 8 %116 = load i32, ptr %9, align 4 %117 = add nsw i32 %116, 1 store i32 %117, ptr %9, align 4 br label %12, !llvm.loop !6 118: ; preds = %21 %119 = load i32, ptr %9, align 4 ret i32 %119 } declare i32 @asc2chr(ptr 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptxglc1jp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crk_uncescape(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 %8 = alloca i8, align 1 %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 i32 %2, ptr %6, align 4 %11 = load ptr, ptr %4, align 8 store ptr %11, ptr %7, align 8 store i32 0, ptr %9, align 4 br label %12 12: ; preds = %113, %3 %13 = load ptr, ptr %7, 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 %21 17: ; preds = %12 %18 = load i32, ptr %9, align 4 %19 = load i32, ptr %6, align 4 %20 = icmp slt i32 %18, %19 br label %21 21: ; preds = %17, %12 %22 = phi i1 [ false, %12 ], [ %20, %17 ] br i1 %22, label %23, label %118 23: ; preds = %21 %24 = load ptr, ptr %7, align 8 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, 92 br i1 %27, label %28, label %105 28: ; preds = %23 %29 = load ptr, ptr %7, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 1 store ptr %30, ptr %7, align 8 store i8 0, ptr %8, align 1 %31 = load ptr, ptr %7, align 8 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 switch i32 %33, label %92 [ i32 48, label %34 i32 49, label %34 i32 50, label %34 i32 51, label %34 i32 52, label %34 i32 53, label %34 i32 54, label %34 i32 55, label %34 i32 120, label %45 i32 33, label %64 i32 92, label %83 i32 34, label %84 i32 116, label %85 i32 110, label %86 i32 114, label %87 i32 102, label %88 i32 98, label %89 i32 97, label %90 i32 101, label %91 ] 34: ; preds = %28, %28, %28, %28, %28, %28, %28, %28 %35 = load ptr, ptr %7, align 8 %36 = call i32 @asc2chr(ptr noundef %35, i32 noundef 8, ptr noundef %8) store i32 %36, ptr %10, align 4 %37 = icmp sge i32 %36, 0 br i1 %37, label %38, label %43 38: ; preds = %34 %39 = load i32, ptr %10, align 4 %40 = load ptr, ptr %7, align 8 %41 = sext i32 %39 to i64 %42 = getelementptr inbounds i8, ptr %40, i64 %41 store ptr %42, ptr %7, align 8 br label %44 43: ; preds = %34 br label %113 44: ; preds = %38 br label %99 45: ; preds = %28 %46 = load ptr, ptr %7, align 8 %47 = getelementptr inbounds i8, ptr %46, i32 1 store ptr %47, ptr %7, align 8 %48 = load ptr, ptr %7, align 8 %49 = call i32 @asc2chr(ptr noundef %48, i32 noundef 16, ptr noundef %8) store i32 %49, ptr %10, align 4 %50 = icmp sge i32 %49, 0 br i1 %50, label %51, label %56 51: ; preds = %45 %52 = load i32, ptr %10, align 4 %53 = load ptr, ptr %7, align 8 %54 = sext i32 %52 to i64 %55 = getelementptr inbounds i8, ptr %53, i64 %54 store ptr %55, ptr %7, align 8 br label %63 56: ; preds = %45 %57 = load ptr, ptr %7, align 8 %58 = getelementptr inbounds i8, ptr %57, i64 -2 store ptr %58, ptr %7, align 8 %59 = load ptr, ptr %5, align 8 %60 = load i32, ptr %9, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i8, ptr %59, i64 %61 store i8 92, ptr %62, align 1 br label %113 63: ; preds = %51 br label %99 64: ; preds = %28 %65 = load ptr, ptr %7, align 8 %66 = getelementptr inbounds i8, ptr %65, i32 1 store ptr %66, ptr %7, align 8 %67 = load ptr, ptr %7, align 8 %68 = call i32 @asc2chr(ptr noundef %67, i32 noundef 2, ptr noundef %8) store i32 %68, ptr %10, align 4 %69 = icmp sge i32 %68, 0 br i1 %69, label %70, label %75 70: ; preds = %64 %71 = load i32, ptr %10, align 4 %72 = load ptr, ptr %7, align 8 %73 = sext i32 %71 to i64 %74 = getelementptr inbounds i8, ptr %72, i64 %73 store ptr %74, ptr %7, align 8 br label %82 75: ; preds = %64 %76 = load ptr, ptr %7, align 8 %77 = getelementptr inbounds i8, ptr %76, i64 -2 store ptr %77, ptr %7, align 8 %78 = load ptr, ptr %5, align 8 %79 = load i32, ptr %9, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds i8, ptr %78, i64 %80 store i8 92, ptr %81, align 1 br label %113 82: ; preds = %70 br label %99 83: ; preds = %28 store i8 92, ptr %8, align 1 br label %99 84: ; preds = %28 store i8 34, ptr %8, align 1 br label %99 85: ; preds = %28 store i8 9, ptr %8, align 1 br label %99 86: ; preds = %28 store i8 10, ptr %8, align 1 br label %99 87: ; preds = %28 store i8 13, ptr %8, align 1 br label %99 88: ; preds = %28 store i8 12, ptr %8, align 1 br label %99 89: ; preds = %28 store i8 8, ptr %8, align 1 br label %99 90: ; preds = %28 store i8 7, ptr %8, align 1 br label %99 91: ; preds = %28 store i8 27, ptr %8, align 1 br label %99 92: ; preds = %28 %93 = load ptr, ptr %7, align 8 %94 = load i8, ptr %93, align 1 %95 = load ptr, ptr %5, align 8 %96 = load i32, ptr %9, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds i8, ptr %95, i64 %97 store i8 %94, ptr %98, align 1 br label %113 99: ; preds = %91, %90, %89, %88, %87, %86, %85, %84, %83, %82, %63, %44 %100 = load i8, ptr %8, align 1 %101 = load ptr, ptr %5, align 8 %102 = load i32, ptr %9, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds i8, ptr %101, i64 %103 store i8 %100, ptr %104, align 1 br label %112 105: ; preds = %23 %106 = load ptr, ptr %7, align 8 %107 = load i8, ptr %106, align 1 %108 = load ptr, ptr %5, align 8 %109 = load i32, ptr %9, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds i8, ptr %108, i64 %110 store i8 %107, ptr %111, align 1 br label %112 112: ; preds = %105, %99 br label %113 113: ; preds = %112, %92, %75, %56, %43 %114 = load ptr, ptr %7, align 8 %115 = getelementptr inbounds i8, ptr %114, i32 1 store ptr %115, ptr %7, align 8 %116 = load i32, ptr %9, align 4 %117 = add nsw i32 %116, 1 store i32 %117, ptr %9, align 4 br label %12, !llvm.loop !6 118: ; preds = %21 %119 = load i32, ptr %9, align 4 ret i32 %119 } declare i32 @asc2chr(ptr 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp7i37pc5r.c' source_filename = "/tmp/tmp7i37pc5r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @NID_undef = 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/tmp7i37pc5r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @NID_undef = 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"}