llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmphjls69vr.c' source_filename = "/tmp/tmphjls69vr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"Usage: main devfile pa_mapped\0A\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @O_NDELAY = dso_local global i32 0, align 4 @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 @MAP_SHARED = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [36 x i8] c"UserAddr = %p, Data from kernel:%s\0A\00", align 1 @.str.2 = private unnamed_addr constant [40 x i8] c"Writing a string to the kernel space...\00", align 1 @.str.3 = private unnamed_addr constant [35 x i8] c"String changed from the User Space\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"Done\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp sle i32 %8, 1 br i1 %9, label %10, label %12 10: ; preds = %2 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %46 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 1 %15 = load ptr, ptr %14, align 8 %16 = load i32, ptr @O_RDWR, align 4 %17 = load i32, ptr @O_NDELAY, align 4 %18 = or i32 %16, %17 %19 = call i32 @open(ptr noundef %15, i32 noundef %18) store i32 %19, ptr %6, align 4 %20 = load i32, ptr %6, align 4 %21 = icmp sge i32 %20, 0 br i1 %21, label %22, label %45 22: ; preds = %12 %23 = load i32, ptr @PROT_READ, align 4 %24 = load i32, ptr @PROT_WRITE, align 4 %25 = or i32 %23, %24 %26 = load i32, ptr @MAP_SHARED, align 4 %27 = load i32, ptr %6, align 4 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 2 %30 = load ptr, ptr %29, align 8 %31 = call i32 @strtoul(ptr noundef %30, i32 noundef 0, i32 noundef 16) %32 = call i64 @mmap(i32 noundef 0, i32 noundef 4096, i32 noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef %31) %33 = inttoptr i64 %32 to ptr store ptr %33, ptr %7, align 8 %34 = load ptr, ptr %7, align 8 %35 = load ptr, ptr %7, align 8 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %34, ptr noundef %35) %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %38 = load ptr, ptr %7, align 8 %39 = call i32 @strcpy(ptr noundef %38, ptr noundef @.str.3) %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %41 = load ptr, ptr %7, align 8 %42 = call i32 @munmap(ptr noundef %41, i32 noundef 4096) %43 = load i32, ptr %6, align 4 %44 = call i32 @close(i32 noundef %43) br label %45 45: ; preds = %22, %12 store i32 0, ptr %3, align 4 br label %46 46: ; preds = %45, %10 %47 = load i32, ptr %3, align 4 ret i32 %47 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i64 @mmap(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @munmap(ptr 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/tmphjls69vr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"Usage: main devfile pa_mapped\0A\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @O_NDELAY = dso_local global i32 0, align 4 @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 @MAP_SHARED = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [36 x i8] c"UserAddr = %p, Data from kernel:%s\0A\00", align 1 @.str.2 = private unnamed_addr constant [40 x i8] c"Writing a string to the kernel space...\00", align 1 @.str.3 = private unnamed_addr constant [35 x i8] c"String changed from the User Space\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"Done\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp sle i32 %8, 1 br i1 %9, label %10, label %12 10: ; preds = %2 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %46 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 1 %15 = load ptr, ptr %14, align 8 %16 = load i32, ptr @O_RDWR, align 4 %17 = load i32, ptr @O_NDELAY, align 4 %18 = or i32 %16, %17 %19 = call i32 @open(ptr noundef %15, i32 noundef %18) store i32 %19, ptr %6, align 4 %20 = load i32, ptr %6, align 4 %21 = icmp sge i32 %20, 0 br i1 %21, label %22, label %45 22: ; preds = %12 %23 = load i32, ptr @PROT_READ, align 4 %24 = load i32, ptr @PROT_WRITE, align 4 %25 = or i32 %23, %24 %26 = load i32, ptr @MAP_SHARED, align 4 %27 = load i32, ptr %6, align 4 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 2 %30 = load ptr, ptr %29, align 8 %31 = call i32 @strtoul(ptr noundef %30, i32 noundef 0, i32 noundef 16) %32 = call i64 @mmap(i32 noundef 0, i32 noundef 4096, i32 noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef %31) %33 = inttoptr i64 %32 to ptr store ptr %33, ptr %7, align 8 %34 = load ptr, ptr %7, align 8 %35 = load ptr, ptr %7, align 8 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %34, ptr noundef %35) %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %38 = load ptr, ptr %7, align 8 %39 = call i32 @strcpy(ptr noundef %38, ptr noundef @.str.3) %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %41 = load ptr, ptr %7, align 8 %42 = call i32 @munmap(ptr noundef %41, i32 noundef 4096) %43 = load i32, ptr %6, align 4 %44 = call i32 @close(i32 noundef %43) br label %45 45: ; preds = %22, %12 store i32 0, ptr %3, align 4 br label %46 46: ; preds = %45, %10 %47 = load i32, ptr %3, align 4 ret i32 %47 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i64 @mmap(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @munmap(ptr 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/tmperkmdsny.c' source_filename = "/tmp/tmperkmdsny.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @t3100e_sys_out(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load i32, ptr %5, align 4 %8 = and i32 %7, 224 switch i32 %8, label %18 [ i32 0, label %9 i32 64, label %10 i32 128, label %14 ] 9: ; preds = %3 br label %19 10: ; preds = %3 %11 = load i32, ptr %5, align 4 %12 = and i32 %11, 31 %13 = call i32 @t3100e_map_ram(i32 noundef %12) br label %19 14: ; preds = %3 %15 = load i32, ptr %5, align 4 %16 = and i32 %15, 31 %17 = call i32 @t3100e_video_options_set(i32 noundef %16) br label %19 18: ; preds = %3 br label %19 19: ; preds = %18, %14, %10, %9 ret void } declare i32 @t3100e_map_ram(i32 noundef) #1 declare i32 @t3100e_video_options_set(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/tmperkmdsny.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @t3100e_sys_out(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load i32, ptr %5, align 4 %8 = and i32 %7, 224 switch i32 %8, label %18 [ i32 0, label %9 i32 64, label %10 i32 128, label %14 ] 9: ; preds = %3 br label %19 10: ; preds = %3 %11 = load i32, ptr %5, align 4 %12 = and i32 %11, 31 %13 = call i32 @t3100e_map_ram(i32 noundef %12) br label %19 14: ; preds = %3 %15 = load i32, ptr %5, align 4 %16 = and i32 %15, 31 %17 = call i32 @t3100e_video_options_set(i32 noundef %16) br label %19 18: ; preds = %3 br label %19 19: ; preds = %18, %14, %10, %9 ret void } declare i32 @t3100e_map_ram(i32 noundef) #1 declare i32 @t3100e_video_options_set(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/tmpg9njkh5f.c' source_filename = "/tmp/tmpg9njkh5f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; 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 [1000 x i8], align 16 store i32 0, ptr %1, align 4 store i32 80, ptr %3, align 4 br label %5 5: ; preds = %16, %0 %6 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0 %7 = call i32 @getl(ptr noundef %6, i32 noundef 1000) store i32 %7, ptr %2, align 4 %8 = icmp sgt i32 %7, 0 br i1 %8, label %9, label %17 9: ; preds = %5 %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %3, align 4 %12 = icmp sgt i32 %10, %11 br i1 %12, label %13, label %16 13: ; preds = %9 %14 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0 %15 = call i32 @printf(ptr noundef @.str, ptr noundef %14) br label %16 16: ; preds = %13, %9 br label %5, !llvm.loop !6 17: ; preds = %5 %18 = load i32, ptr %1, align 4 ret i32 %18 } declare i32 @getl(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg9njkh5f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; 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 [1000 x i8], align 16 store i32 0, ptr %1, align 4 store i32 80, ptr %3, align 4 %5 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0 %6 = call i32 @getl(ptr noundef %5, i32 noundef 1000) store i32 %6, ptr %2, align 4 %7 = icmp sgt i32 %6, 0 br i1 %7, label %.lr.ph, label %18 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %15 %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp sgt i32 %9, %10 br i1 %11, label %12, label %15 12: ; preds = %8 %13 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0 %14 = call i32 @printf(ptr noundef @.str, ptr noundef %13) br label %15 15: ; preds = %12, %8 %16 = call i32 @getl(ptr noundef %5, i32 noundef 1000) store i32 %16, ptr %2, align 4 %17 = icmp sgt i32 %16, 0 br i1 %17, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %18 18: ; preds = %._crit_edge, %0 %19 = load i32, ptr %1, align 4 ret i32 %19 } declare i32 @getl(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp8fhkn8vb.c' source_filename = "/tmp/tmp8fhkn8vb.c" target datalayout = "e-m:e-p270: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/tmp8fhkn8vb.c" target datalayout = "e-m:e-p270: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/tmp4xpxe44n.c' source_filename = "/tmp/tmp4xpxe44n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"mount\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"pbs\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"pfe\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"ls\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"cd\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"cat\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"touch\00", align 1 @.str.7 = private unnamed_addr constant [6 x i8] c"mkdir\00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c"rm\00", align 1 @.str.9 = private unnamed_addr constant [6 x i8] c"rmdir\00", align 1 @.str.10 = private unnamed_addr constant [3 x i8] c"df\00", align 1 @.str.11 = private unnamed_addr constant [4 x i8] c"pwd\00", align 1 @.str.12 = private unnamed_addr constant [6 x i8] c"clear\00", align 1 @.str.13 = private unnamed_addr constant [5 x i8] c"exit\00", align 1 @__const.main.cmd = private unnamed_addr constant [15 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7, ptr @.str.8, ptr @.str.9, ptr @.str.10, ptr @.str.11, ptr @.str.12, ptr @.str.13, ptr null], align 16 @.str.14 = private unnamed_addr constant [24 x i8] c"Mount fat12 file system\00", align 1 @.str.15 = private unnamed_addr constant [18 x i8] c"Print boot sector\00", align 1 @.str.16 = private unnamed_addr constant [18 x i8] c"Print fat entries\00", align 1 @.str.17 = private unnamed_addr constant [16 x i8] c"List files/dirs\00", align 1 @.str.18 = private unnamed_addr constant [17 x i8] c"Change directory\00", align 1 @.str.19 = private unnamed_addr constant [13 x i8] c"Display file\00", align 1 @.str.20 = private unnamed_addr constant [39 x i8] c"Create new file at designated location\00", align 1 @.str.21 = private unnamed_addr constant [41 x i8] c"Create new subdir at designated location\00", align 1 @.str.22 = private unnamed_addr constant [23 x i8] c"Delete designated file\00", align 1 @.str.23 = private unnamed_addr constant [25 x i8] c"Delete designated subdir\00", align 1 @.str.24 = private unnamed_addr constant [36 x i8] c"Display free space on mounted image\00", align 1 @.str.25 = private unnamed_addr constant [39 x i8] c"Display current working directory path\00", align 1 @.str.26 = private unnamed_addr constant [15 x i8] c"Clear terminal\00", align 1 @.str.27 = private unnamed_addr constant [14 x i8] c"Exit terminal\00", align 1 @__const.main.desc = private unnamed_addr constant [15 x ptr] [ptr @.str.14, ptr @.str.15, ptr @.str.16, ptr @.str.17, ptr @.str.18, ptr @.str.19, ptr @.str.20, ptr @.str.21, ptr @.str.22, ptr @.str.23, ptr @.str.24, ptr @.str.25, ptr @.str.26, ptr @.str.27, ptr null], align 16 @.str.28 = private unnamed_addr constant [21 x i8] c"{/PATH/TO/FAT12/IMG}\00", align 1 @.str.29 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.30 = private unnamed_addr constant [27 x i8] c"X Y <=> (X > 1) && (X < Y)\00", align 1 @.str.31 = private unnamed_addr constant [22 x i8] c"{OPTIONAL: -l (list)}\00", align 1 @.str.32 = private unnamed_addr constant [18 x i8] c"{/PATH/TO/SUBDIR}\00", align 1 @.str.33 = private unnamed_addr constant [16 x i8] c"{/PATH/TO/FILE}\00", align 1 @.str.34 = private unnamed_addr constant [20 x i8] c"{/PATH/TO/NEW/FILE}\00", align 1 @.str.35 = private unnamed_addr constant [18 x i8] c"{PATH/TO/NEW/DIR}\00", align 1 @.str.36 = private unnamed_addr constant [15 x i8] c"{/PATH/TO/DIR}\00", align 1 @__const.main.desc_lng = private unnamed_addr constant [15 x ptr] [ptr @.str.28, ptr @.str.29, ptr @.str.30, ptr @.str.31, ptr @.str.32, ptr @.str.33, ptr @.str.34, ptr @.str.35, ptr @.str.33, ptr @.str.36, ptr @.str.29, ptr @.str.29, ptr @.str.29, ptr @.str.29, ptr null], align 16 @.str.37 = private unnamed_addr constant [10 x i8] c"%s \09- %s\0A\00", align 1 @.str.38 = private unnamed_addr constant [24 x i8] c"Command '%s' not found\0A\00", align 1 @.str.39 = private unnamed_addr constant [7 x i8] c"%s %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 i32, align 4 %7 = alloca [15 x ptr], align 16 %8 = alloca [15 x ptr], align 16 %9 = alloca [15 x ptr], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.cmd, i64 120, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.main.desc, i64 120, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.main.desc_lng, i64 120, i1 false) %10 = load i32, ptr %4, align 4 %11 = icmp sgt i32 %10, 2 br i1 %11, label %15, label %12 12: ; preds = %2 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %13, 1 br i1 %14, label %15, label %17 15: ; preds = %12, %2 %16 = call i32 (...) @usage() store i32 1, ptr %3, align 4 br label %86 17: ; preds = %12 %18 = load i32, ptr %4, align 4 %19 = icmp eq i32 %18, 1 br i1 %19, label %20, label %40 20: ; preds = %17 br label %21 21: ; preds = %27, %20 %22 = load i32, ptr %6, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [15 x ptr], ptr %7, i64 0, i64 %23 %25 = load ptr, ptr %24, align 8 %26 = icmp ne ptr %25, null br i1 %26, label %27, label %39 27: ; preds = %21 %28 = load i32, ptr %6, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [15 x ptr], ptr %7, i64 0, i64 %29 %31 = load ptr, ptr %30, align 8 %32 = load i32, ptr %6, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [15 x ptr], ptr %8, i64 0, i64 %33 %35 = load ptr, ptr %34, align 8 %36 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.37, ptr noundef %31, ptr noundef %35) %37 = load i32, ptr %6, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %6, align 4 br label %21, !llvm.loop !6 39: ; preds = %21 br label %84 40: ; preds = %17 store i32 0, ptr %6, align 4 br label %41 41: ; preds = %59, %40 %42 = load i32, ptr %6, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds [15 x ptr], ptr %7, i64 0, i64 %43 %45 = load ptr, ptr %44, align 8 %46 = icmp ne ptr %45, null br i1 %46, label %47, label %57 47: ; preds = %41 %48 = load i32, ptr %6, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [15 x ptr], ptr %7, i64 0, i64 %49 %51 = load ptr, ptr %50, align 8 %52 = load ptr, ptr %5, align 8 %53 = getelementptr inbounds ptr, ptr %52, i64 1 %54 = load ptr, ptr %53, align 8 %55 = call i64 @strcmp(ptr noundef %51, ptr noundef %54) %56 = icmp ne i64 %55, 0 br label %57 57: ; preds = %47, %41 %58 = phi i1 [ false, %41 ], [ %56, %47 ] br i1 %58, label %59, label %62 59: ; preds = %57 %60 = load i32, ptr %6, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %6, align 4 br label %41, !llvm.loop !8 62: ; preds = %57 %63 = load i32, ptr %6, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds [15 x ptr], ptr %7, i64 0, i64 %64 %66 = load ptr, ptr %65, align 8 %67 = icmp eq ptr %66, null br i1 %67, label %68, label %73 68: ; preds = %62 %69 = load ptr, ptr %5, align 8 %70 = getelementptr inbounds ptr, ptr %69, i64 1 %71 = load ptr, ptr %70, align 8 %72 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.38, ptr noundef %71) br label %83 73: ; preds = %62 %74 = load i32, ptr %6, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds [15 x ptr], ptr %7, i64 0, i64 %75 %77 = load ptr, ptr %76, align 8 %78 = load i32, ptr %6, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds [15 x ptr], ptr %9, i64 0, i64 %79 %81 = load ptr, ptr %80, align 8 %82 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.39, ptr noundef %77, ptr noundef %81) br label %83 83: ; preds = %73, %68 br label %84 84: ; preds = %83, %39 br label %85 85: ; preds = %84 store i32 0, ptr %3, align 4 br label %86 86: ; preds = %85, %15 %87 = load i32, ptr %3, align 4 ret i32 %87 } ; 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 @usage(...) #2 declare i32 @printf(ptr noundef, ptr noundef, ...) #2 declare i64 @strcmp(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4xpxe44n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"mount\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"pbs\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"pfe\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"ls\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"cd\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"cat\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"touch\00", align 1 @.str.7 = private unnamed_addr constant [6 x i8] c"mkdir\00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c"rm\00", align 1 @.str.9 = private unnamed_addr constant [6 x i8] c"rmdir\00", align 1 @.str.10 = private unnamed_addr constant [3 x i8] c"df\00", align 1 @.str.11 = private unnamed_addr constant [4 x i8] c"pwd\00", align 1 @.str.12 = private unnamed_addr constant [6 x i8] c"clear\00", align 1 @.str.13 = private unnamed_addr constant [5 x i8] c"exit\00", align 1 @__const.main.cmd = private unnamed_addr constant [15 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7, ptr @.str.8, ptr @.str.9, ptr @.str.10, ptr @.str.11, ptr @.str.12, ptr @.str.13, ptr null], align 16 @.str.14 = private unnamed_addr constant [24 x i8] c"Mount fat12 file system\00", align 1 @.str.15 = private unnamed_addr constant [18 x i8] c"Print boot sector\00", align 1 @.str.16 = private unnamed_addr constant [18 x i8] c"Print fat entries\00", align 1 @.str.17 = private unnamed_addr constant [16 x i8] c"List files/dirs\00", align 1 @.str.18 = private unnamed_addr constant [17 x i8] c"Change directory\00", align 1 @.str.19 = private unnamed_addr constant [13 x i8] c"Display file\00", align 1 @.str.20 = private unnamed_addr constant [39 x i8] c"Create new file at designated location\00", align 1 @.str.21 = private unnamed_addr constant [41 x i8] c"Create new subdir at designated location\00", align 1 @.str.22 = private unnamed_addr constant [23 x i8] c"Delete designated file\00", align 1 @.str.23 = private unnamed_addr constant [25 x i8] c"Delete designated subdir\00", align 1 @.str.24 = private unnamed_addr constant [36 x i8] c"Display free space on mounted image\00", align 1 @.str.25 = private unnamed_addr constant [39 x i8] c"Display current working directory path\00", align 1 @.str.26 = private unnamed_addr constant [15 x i8] c"Clear terminal\00", align 1 @.str.27 = private unnamed_addr constant [14 x i8] c"Exit terminal\00", align 1 @__const.main.desc = private unnamed_addr constant [15 x ptr] [ptr @.str.14, ptr @.str.15, ptr @.str.16, ptr @.str.17, ptr @.str.18, ptr @.str.19, ptr @.str.20, ptr @.str.21, ptr @.str.22, ptr @.str.23, ptr @.str.24, ptr @.str.25, ptr @.str.26, ptr @.str.27, ptr null], align 16 @.str.28 = private unnamed_addr constant [21 x i8] c"{/PATH/TO/FAT12/IMG}\00", align 1 @.str.29 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.30 = private unnamed_addr constant [27 x i8] c"X Y <=> (X > 1) && (X < Y)\00", align 1 @.str.31 = private unnamed_addr constant [22 x i8] c"{OPTIONAL: -l (list)}\00", align 1 @.str.32 = private unnamed_addr constant [18 x i8] c"{/PATH/TO/SUBDIR}\00", align 1 @.str.33 = private unnamed_addr constant [16 x i8] c"{/PATH/TO/FILE}\00", align 1 @.str.34 = private unnamed_addr constant [20 x i8] c"{/PATH/TO/NEW/FILE}\00", align 1 @.str.35 = private unnamed_addr constant [18 x i8] c"{PATH/TO/NEW/DIR}\00", align 1 @.str.36 = private unnamed_addr constant [15 x i8] c"{/PATH/TO/DIR}\00", align 1 @__const.main.desc_lng = private unnamed_addr constant [15 x ptr] [ptr @.str.28, ptr @.str.29, ptr @.str.30, ptr @.str.31, ptr @.str.32, ptr @.str.33, ptr @.str.34, ptr @.str.35, ptr @.str.33, ptr @.str.36, ptr @.str.29, ptr @.str.29, ptr @.str.29, ptr @.str.29, ptr null], align 16 @.str.37 = private unnamed_addr constant [10 x i8] c"%s \09- %s\0A\00", align 1 @.str.38 = private unnamed_addr constant [24 x i8] c"Command '%s' not found\0A\00", align 1 @.str.39 = private unnamed_addr constant [7 x i8] c"%s %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 i32, align 4 %7 = alloca [15 x ptr], align 16 %8 = alloca [15 x ptr], align 16 %9 = alloca [15 x ptr], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.cmd, i64 120, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.main.desc, i64 120, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.main.desc_lng, i64 120, i1 false) %10 = load i32, ptr %4, align 4 %11 = icmp sgt i32 %10, 2 br i1 %11, label %15, label %12 12: ; preds = %2 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %13, 1 br i1 %14, label %15, label %17 15: ; preds = %12, %2 %16 = call i32 (...) @usage() store i32 1, ptr %3, align 4 br label %90 17: ; preds = %12 %18 = load i32, ptr %4, align 4 %19 = icmp eq i32 %18, 1 br i1 %19, label %20, label %44 20: ; preds = %17 %21 = load i32, ptr %6, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [15 x ptr], ptr %7, i64 0, i64 %22 %24 = load ptr, ptr %23, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %.lr.ph, label %43 .lr.ph: ; preds = %20 br label %26 26: ; preds = %.lr.ph, %26 %27 = load i32, ptr %6, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [15 x ptr], ptr %7, i64 0, i64 %28 %30 = load ptr, ptr %29, align 8 %31 = load i32, ptr %6, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [15 x ptr], ptr %8, i64 0, i64 %32 %34 = load ptr, ptr %33, align 8 %35 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.37, ptr noundef %30, ptr noundef %34) %36 = load i32, ptr %6, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %6, align 4 %38 = load i32, ptr %6, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [15 x ptr], ptr %7, i64 0, i64 %39 %41 = load ptr, ptr %40, align 8 %42 = icmp ne ptr %41, null br i1 %42, label %26, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %43 43: ; preds = %._crit_edge, %20 br label %88 44: ; preds = %17 store i32 0, ptr %6, align 4 br label %45 45: ; preds = %63, %44 %46 = load i32, ptr %6, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds [15 x ptr], ptr %7, i64 0, i64 %47 %49 = load ptr, ptr %48, align 8 %50 = icmp ne ptr %49, null br i1 %50, label %51, label %61 51: ; preds = %45 %52 = load i32, ptr %6, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [15 x ptr], ptr %7, i64 0, i64 %53 %55 = load ptr, ptr %54, align 8 %56 = load ptr, ptr %5, align 8 %57 = getelementptr inbounds ptr, ptr %56, i64 1 %58 = load ptr, ptr %57, align 8 %59 = call i64 @strcmp(ptr noundef %55, ptr noundef %58) %60 = icmp ne i64 %59, 0 br label %61 61: ; preds = %51, %45 %62 = phi i1 [ false, %45 ], [ %60, %51 ] br i1 %62, label %63, label %66 63: ; preds = %61 %64 = load i32, ptr %6, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %6, align 4 br label %45, !llvm.loop !8 66: ; preds = %61 %67 = load i32, ptr %6, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [15 x ptr], ptr %7, i64 0, i64 %68 %70 = load ptr, ptr %69, align 8 %71 = icmp eq ptr %70, null br i1 %71, label %72, label %77 72: ; preds = %66 %73 = load ptr, ptr %5, align 8 %74 = getelementptr inbounds ptr, ptr %73, i64 1 %75 = load ptr, ptr %74, align 8 %76 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.38, ptr noundef %75) br label %87 77: ; preds = %66 %78 = load i32, ptr %6, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds [15 x ptr], ptr %7, i64 0, i64 %79 %81 = load ptr, ptr %80, align 8 %82 = load i32, ptr %6, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds [15 x ptr], ptr %9, i64 0, i64 %83 %85 = load ptr, ptr %84, align 8 %86 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.39, ptr noundef %81, ptr noundef %85) br label %87 87: ; preds = %77, %72 br label %88 88: ; preds = %87, %43 br label %89 89: ; preds = %88 store i32 0, ptr %3, align 4 br label %90 90: ; preds = %89, %15 %91 = load i32, ptr %3, align 4 ret i32 %91 } ; 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 @usage(...) #2 declare i32 @printf(ptr noundef, ptr noundef, ...) #2 declare i64 @strcmp(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpyxq6q58a.c' source_filename = "/tmp/tmpyxq6q58a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BrzArbiter_ackup(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 store ptr %6, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = sub nsw i32 %7, 2 %9 = call i32 @SEND_ACKUP(i32 noundef %8) ret void } declare i32 @SEND_ACKUP(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/tmpyxq6q58a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BrzArbiter_ackup(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 store ptr %6, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = sub nsw i32 %7, 2 %9 = call i32 @SEND_ACKUP(i32 noundef %8) ret void } declare i32 @SEND_ACKUP(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/tmpbb7iymls.c' source_filename = "/tmp/tmpbb7iymls.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 store i32 0, ptr %1, align 4 store i32 1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = call i32 @f(i32 noundef %5) store i32 %6, ptr %2, align 4 store i32 2, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = call i32 @f(i32 noundef %7) store i32 %8, ptr %3, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp ne i32 %9, 1 br i1 %10, label %14, label %11 11: ; preds = %0 %12 = load i32, ptr %3, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %16 14: ; preds = %11, %0 %15 = call i32 (...) @abort() #3 unreachable 16: ; preds = %11 %17 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @f(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbb7iymls.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 store i32 0, ptr %1, align 4 store i32 1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = call i32 @f(i32 noundef %5) store i32 %6, ptr %2, align 4 store i32 2, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = call i32 @f(i32 noundef %7) store i32 %8, ptr %3, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp ne i32 %9, 1 br i1 %10, label %14, label %11 11: ; preds = %0 %12 = load i32, ptr %3, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %16 14: ; preds = %11, %0 %15 = call i32 (...) @abort() #3 unreachable 16: ; preds = %11 %17 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @f(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpi_215dxi.c' source_filename = "/tmp/tmpi_215dxi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"%ld %ld\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 store i32 0, ptr %1, align 4 %13 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) store i64 0, ptr %3, align 8 br label %14 14: ; preds = %87, %0 %15 = load i64, ptr %3, align 8 %16 = load i64, ptr %2, align 8 %17 = icmp slt i64 %15, %16 br i1 %17, label %18, label %90 18: ; preds = %14 %19 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %5, ptr noundef %7) %20 = load i64, ptr %5, align 8 %21 = call ptr @llvm.stacksave() store ptr %21, ptr %9, align 8 %22 = alloca i64, i64 %20, align 16 store i64 %20, ptr %10, align 8 %23 = load i64, ptr %5, align 8 %24 = alloca i64, i64 %23, align 16 store i64 %23, ptr %11, align 8 store i64 0, ptr %8, align 8 br label %25 25: ; preds = %33, %18 %26 = load i64, ptr %8, align 8 %27 = load i64, ptr %5, align 8 %28 = icmp slt i64 %26, %27 br i1 %28, label %29, label %36 29: ; preds = %25 %30 = load i64, ptr %8, align 8 %31 = load i64, ptr %8, align 8 %32 = getelementptr inbounds i64, ptr %24, i64 %31 store i64 %30, ptr %32, align 8 br label %33 33: ; preds = %29 %34 = load i64, ptr %8, align 8 %35 = add nsw i64 %34, 1 store i64 %35, ptr %8, align 8 br label %25, !llvm.loop !6 36: ; preds = %25 %37 = load i64, ptr %5, align 8 %38 = sub nsw i64 %37, 1 store i64 %38, ptr %4, align 8 store i64 0, ptr %6, align 8 store i64 0, ptr %8, align 8 br label %39 39: ; preds = %64, %36 %40 = load i64, ptr %8, align 8 %41 = load i64, ptr %5, align 8 %42 = icmp slt i64 %40, %41 br i1 %42, label %43, label %67 43: ; preds = %39 %44 = load i64, ptr %8, align 8 %45 = srem i64 %44, 2 %46 = icmp eq i64 %45, 0 br i1 %46, label %47, label %55 47: ; preds = %43 %48 = load i64, ptr %4, align 8 %49 = getelementptr inbounds i64, ptr %24, i64 %48 %50 = load i64, ptr %49, align 8 %51 = load i64, ptr %8, align 8 %52 = getelementptr inbounds i64, ptr %22, i64 %51 store i64 %50, ptr %52, align 8 %53 = load i64, ptr %4, align 8 %54 = add nsw i64 %53, -1 store i64 %54, ptr %4, align 8 br label %63 55: ; preds = %43 %56 = load i64, ptr %6, align 8 %57 = getelementptr inbounds i64, ptr %24, i64 %56 %58 = load i64, ptr %57, align 8 %59 = load i64, ptr %8, align 8 %60 = getelementptr inbounds i64, ptr %22, i64 %59 store i64 %58, ptr %60, align 8 %61 = load i64, ptr %6, align 8 %62 = add nsw i64 %61, 1 store i64 %62, ptr %6, align 8 br label %63 63: ; preds = %55, %47 br label %64 64: ; preds = %63 %65 = load i64, ptr %8, align 8 %66 = add nsw i64 %65, 1 store i64 %66, ptr %8, align 8 br label %39, !llvm.loop !8 67: ; preds = %39 store i64 0, ptr %8, align 8 br label %68 68: ; preds = %82, %67 %69 = load i64, ptr %8, align 8 %70 = load i64, ptr %5, align 8 %71 = icmp slt i64 %69, %70 br i1 %71, label %72, label %85 72: ; preds = %68 %73 = load i64, ptr %7, align 8 %74 = load i64, ptr %8, align 8 %75 = getelementptr inbounds i64, ptr %22, i64 %74 %76 = load i64, ptr %75, align 8 %77 = icmp eq i64 %73, %76 br i1 %77, label %78, label %81 78: ; preds = %72 %79 = load i64, ptr %8, align 8 %80 = call i32 @printf(ptr noundef @.str.2, i64 noundef %79) br label %85 81: ; preds = %72 br label %82 82: ; preds = %81 %83 = load i64, ptr %8, align 8 %84 = add nsw i64 %83, 1 store i64 %84, ptr %8, align 8 br label %68, !llvm.loop !9 85: ; preds = %78, %68 %86 = load ptr, ptr %9, align 8 call void @llvm.stackrestore(ptr %86) br label %87 87: ; preds = %85 %88 = load i64, ptr %3, align 8 %89 = add nsw i64 %88, 1 store i64 %89, ptr %3, align 8 br label %14, !llvm.loop !10 90: ; preds = %14 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @printf(ptr noundef, i64 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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi_215dxi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"%ld %ld\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 store i32 0, ptr %1, align 4 %13 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) store i64 0, ptr %3, align 8 %14 = load i64, ptr %3, align 8 %15 = load i64, ptr %2, align 8 %16 = icmp slt i64 %14, %15 br i1 %16, label %.lr.ph7, label %98 .lr.ph7: ; preds = %0 br label %17 17: ; preds = %.lr.ph7, %92 %18 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %5, ptr noundef %7) %19 = load i64, ptr %5, align 8 %20 = call ptr @llvm.stacksave() store ptr %20, ptr %9, align 8 %21 = alloca i64, i64 %19, align 16 store i64 %19, ptr %10, align 8 %22 = load i64, ptr %5, align 8 %23 = alloca i64, i64 %22, align 16 store i64 %22, ptr %11, align 8 store i64 0, ptr %8, align 8 %24 = load i64, ptr %8, align 8 %25 = load i64, ptr %5, align 8 %26 = icmp slt i64 %24, %25 br i1 %26, label %.lr.ph, label %37 .lr.ph: ; preds = %17 br label %27 27: ; preds = %.lr.ph, %31 %28 = load i64, ptr %8, align 8 %29 = load i64, ptr %8, align 8 %30 = getelementptr inbounds i64, ptr %23, i64 %29 store i64 %28, ptr %30, align 8 br label %31 31: ; preds = %27 %32 = load i64, ptr %8, align 8 %33 = add nsw i64 %32, 1 store i64 %33, ptr %8, align 8 %34 = load i64, ptr %8, align 8 %35 = load i64, ptr %5, align 8 %36 = icmp slt i64 %34, %35 br i1 %36, label %27, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %37 37: ; preds = %._crit_edge, %17 %38 = load i64, ptr %5, align 8 %39 = sub nsw i64 %38, 1 store i64 %39, ptr %4, align 8 store i64 0, ptr %6, align 8 store i64 0, ptr %8, align 8 %40 = load i64, ptr %8, align 8 %41 = load i64, ptr %5, align 8 %42 = icmp slt i64 %40, %41 br i1 %42, label %.lr.ph2, label %70 .lr.ph2: ; preds = %37 br label %43 43: ; preds = %.lr.ph2, %64 %44 = load i64, ptr %8, align 8 %45 = srem i64 %44, 2 %46 = icmp eq i64 %45, 0 br i1 %46, label %47, label %55 47: ; preds = %43 %48 = load i64, ptr %4, align 8 %49 = getelementptr inbounds i64, ptr %23, i64 %48 %50 = load i64, ptr %49, align 8 %51 = load i64, ptr %8, align 8 %52 = getelementptr inbounds i64, ptr %21, i64 %51 store i64 %50, ptr %52, align 8 %53 = load i64, ptr %4, align 8 %54 = add nsw i64 %53, -1 store i64 %54, ptr %4, align 8 br label %63 55: ; preds = %43 %56 = load i64, ptr %6, align 8 %57 = getelementptr inbounds i64, ptr %23, i64 %56 %58 = load i64, ptr %57, align 8 %59 = load i64, ptr %8, align 8 %60 = getelementptr inbounds i64, ptr %21, i64 %59 store i64 %58, ptr %60, align 8 %61 = load i64, ptr %6, align 8 %62 = add nsw i64 %61, 1 store i64 %62, ptr %6, align 8 br label %63 63: ; preds = %55, %47 br label %64 64: ; preds = %63 %65 = load i64, ptr %8, align 8 %66 = add nsw i64 %65, 1 store i64 %66, ptr %8, align 8 %67 = load i64, ptr %8, align 8 %68 = load i64, ptr %5, align 8 %69 = icmp slt i64 %67, %68 br i1 %69, label %43, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %64 br label %70 70: ; preds = %._crit_edge3, %37 store i64 0, ptr %8, align 8 %71 = load i64, ptr %8, align 8 %72 = load i64, ptr %5, align 8 %73 = icmp slt i64 %71, %72 br i1 %73, label %.lr.ph5, label %.loopexit .lr.ph5: ; preds = %70 br label %74 74: ; preds = %.lr.ph5, %84 %75 = load i64, ptr %7, align 8 %76 = load i64, ptr %8, align 8 %77 = getelementptr inbounds i64, ptr %21, i64 %76 %78 = load i64, ptr %77, align 8 %79 = icmp eq i64 %75, %78 br i1 %79, label %80, label %83 80: ; preds = %74 %81 = load i64, ptr %8, align 8 %82 = call i32 @printf(ptr noundef @.str.2, i64 noundef %81) br label %90 83: ; preds = %74 br label %84 84: ; preds = %83 %85 = load i64, ptr %8, align 8 %86 = add nsw i64 %85, 1 store i64 %86, ptr %8, align 8 %87 = load i64, ptr %8, align 8 %88 = load i64, ptr %5, align 8 %89 = icmp slt i64 %87, %88 br i1 %89, label %74, label %..loopexit_crit_edge, !llvm.loop !9 ..loopexit_crit_edge: ; preds = %84 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %70 br label %90 90: ; preds = %.loopexit, %80 %91 = load ptr, ptr %9, align 8 call void @llvm.stackrestore(ptr %91) br label %92 92: ; preds = %90 %93 = load i64, ptr %3, align 8 %94 = add nsw i64 %93, 1 store i64 %94, ptr %3, align 8 %95 = load i64, ptr %3, align 8 %96 = load i64, ptr %2, align 8 %97 = icmp slt i64 %95, %96 br i1 %97, label %17, label %._crit_edge8, !llvm.loop !10 ._crit_edge8: ; preds = %92 br label %98 98: ; preds = %._crit_edge8, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @printf(ptr noundef, i64 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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpqe40z1wa.c' source_filename = "/tmp/tmpqe40z1wa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"arrays_match(1, result, expected)\00", align 1 @.str.1 = private unnamed_addr constant [171 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/UMM-CSci-3401-F13/Lab_3_starter/refs/heads/master/array_merge/array_merge_test.c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_empty_list() #0 { %1 = alloca [0 x ptr], align 8 %2 = alloca [0 x i32], align 4 %3 = alloca [1 x i32], align 4 %4 = alloca ptr, align 8 call void @llvm.memset.p0.i64(ptr align 4 %3, i8 0, i64 4, i1 false) %5 = getelementptr inbounds [0 x i32], ptr %2, i64 0, i64 0 %6 = getelementptr inbounds [0 x ptr], ptr %1, i64 0, i64 0 %7 = call ptr @array_merge(i32 noundef 0, ptr noundef %5, ptr noundef %6) store ptr %7, ptr %4, align 8 %8 = load ptr, ptr %4, align 8 %9 = getelementptr inbounds [1 x i32], ptr %3, i64 0, i64 0 %10 = call i64 @arrays_match(i32 noundef 1, ptr noundef %8, ptr noundef %9) %11 = trunc i64 %10 to i32 %12 = call i32 @_assert_true(i32 noundef %11, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 25) 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 ptr @array_merge(i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @_assert_true(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #2 declare i64 @arrays_match(i32 noundef, ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqe40z1wa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"arrays_match(1, result, expected)\00", align 1 @.str.1 = private unnamed_addr constant [171 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/UMM-CSci-3401-F13/Lab_3_starter/refs/heads/master/array_merge/array_merge_test.c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_empty_list() #0 { %1 = alloca [0 x ptr], align 8 %2 = alloca [0 x i32], align 4 %3 = alloca [1 x i32], align 4 %4 = alloca ptr, align 8 call void @llvm.memset.p0.i64(ptr align 4 %3, i8 0, i64 4, i1 false) %5 = getelementptr inbounds [0 x i32], ptr %2, i64 0, i64 0 %6 = getelementptr inbounds [0 x ptr], ptr %1, i64 0, i64 0 %7 = call ptr @array_merge(i32 noundef 0, ptr noundef %5, ptr noundef %6) store ptr %7, ptr %4, align 8 %8 = load ptr, ptr %4, align 8 %9 = getelementptr inbounds [1 x i32], ptr %3, i64 0, i64 0 %10 = call i64 @arrays_match(i32 noundef 1, ptr noundef %8, ptr noundef %9) %11 = trunc i64 %10 to i32 %12 = call i32 @_assert_true(i32 noundef %11, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 25) 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 ptr @array_merge(i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @_assert_true(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #2 declare i64 @arrays_match(i32 noundef, ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5ft3u2ls.c' source_filename = "/tmp/tmp5ft3u2ls.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @find_sum(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 %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 %13 = 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 %14 = load i32, ptr %4, align 4 %15 = sub nsw i32 %14, 1 %16 = load i32, ptr %5, align 4 %17 = sdiv i32 %15, %16 store i32 %17, ptr %7, align 4 %18 = load i32, ptr %4, align 4 %19 = sub nsw i32 %18, 1 %20 = load i32, ptr %6, align 4 %21 = sdiv i32 %19, %20 store i32 %21, ptr %8, align 4 %22 = load i32, ptr %7, align 4 %23 = load i32, ptr %7, align 4 %24 = load i32, ptr %7, align 4 %25 = sub nsw i32 %24, 1 %26 = mul nsw i32 %23, %25 %27 = sdiv i32 %26, 2 %28 = add nsw i32 %22, %27 %29 = load i32, ptr %5, align 4 %30 = mul nsw i32 %28, %29 store i32 %30, ptr %9, align 4 %31 = load i32, ptr %8, align 4 %32 = load i32, ptr %8, align 4 %33 = load i32, ptr %8, align 4 %34 = sub nsw i32 %33, 1 %35 = mul nsw i32 %32, %34 %36 = sdiv i32 %35, 2 %37 = add nsw i32 %31, %36 %38 = load i32, ptr %6, align 4 %39 = mul nsw i32 %37, %38 store i32 %39, ptr %10, align 4 %40 = load i32, ptr %5, align 4 %41 = load i32, ptr %6, align 4 %42 = call i32 @find_lcm(i32 noundef %40, i32 noundef %41) store i32 %42, ptr %11, align 4 %43 = load i32, ptr %4, align 4 %44 = sub nsw i32 %43, 1 %45 = load i32, ptr %11, align 4 %46 = sdiv i32 %44, %45 store i32 %46, ptr %12, align 4 %47 = load i32, ptr %12, align 4 %48 = load i32, ptr %12, align 4 %49 = load i32, ptr %12, align 4 %50 = sub nsw i32 %49, 1 %51 = mul nsw i32 %48, %50 %52 = sdiv i32 %51, 2 %53 = add nsw i32 %47, %52 %54 = load i32, ptr %11, align 4 %55 = mul nsw i32 %53, %54 store i32 %55, ptr %13, align 4 %56 = load i32, ptr %9, align 4 %57 = load i32, ptr %10, align 4 %58 = add nsw i32 %56, %57 %59 = load i32, ptr %13, align 4 %60 = sub nsw i32 %58, %59 ret i32 %60 } declare i32 @find_lcm(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/tmp5ft3u2ls.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @find_sum(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 %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 %13 = 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 %14 = load i32, ptr %4, align 4 %15 = sub nsw i32 %14, 1 %16 = load i32, ptr %5, align 4 %17 = sdiv i32 %15, %16 store i32 %17, ptr %7, align 4 %18 = load i32, ptr %4, align 4 %19 = sub nsw i32 %18, 1 %20 = load i32, ptr %6, align 4 %21 = sdiv i32 %19, %20 store i32 %21, ptr %8, align 4 %22 = load i32, ptr %7, align 4 %23 = load i32, ptr %7, align 4 %24 = load i32, ptr %7, align 4 %25 = sub nsw i32 %24, 1 %26 = mul nsw i32 %23, %25 %27 = sdiv i32 %26, 2 %28 = add nsw i32 %22, %27 %29 = load i32, ptr %5, align 4 %30 = mul nsw i32 %28, %29 store i32 %30, ptr %9, align 4 %31 = load i32, ptr %8, align 4 %32 = load i32, ptr %8, align 4 %33 = load i32, ptr %8, align 4 %34 = sub nsw i32 %33, 1 %35 = mul nsw i32 %32, %34 %36 = sdiv i32 %35, 2 %37 = add nsw i32 %31, %36 %38 = load i32, ptr %6, align 4 %39 = mul nsw i32 %37, %38 store i32 %39, ptr %10, align 4 %40 = load i32, ptr %5, align 4 %41 = load i32, ptr %6, align 4 %42 = call i32 @find_lcm(i32 noundef %40, i32 noundef %41) store i32 %42, ptr %11, align 4 %43 = load i32, ptr %4, align 4 %44 = sub nsw i32 %43, 1 %45 = load i32, ptr %11, align 4 %46 = sdiv i32 %44, %45 store i32 %46, ptr %12, align 4 %47 = load i32, ptr %12, align 4 %48 = load i32, ptr %12, align 4 %49 = load i32, ptr %12, align 4 %50 = sub nsw i32 %49, 1 %51 = mul nsw i32 %48, %50 %52 = sdiv i32 %51, 2 %53 = add nsw i32 %47, %52 %54 = load i32, ptr %11, align 4 %55 = mul nsw i32 %53, %54 store i32 %55, ptr %13, align 4 %56 = load i32, ptr %9, align 4 %57 = load i32, ptr %10, align 4 %58 = add nsw i32 %56, %57 %59 = load i32, ptr %13, align 4 %60 = sub nsw i32 %58, %59 ret i32 %60 } declare i32 @find_lcm(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/tmp5zyn6j7d.c' source_filename = "/tmp/tmp5zyn6j7d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kf_factor(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store i32 4, ptr %5, align 4 %7 = load i32, ptr %3, align 4 %8 = call i32 @sqrt(i32 noundef %7) %9 = call i32 @floor(i32 noundef %8) store i32 %9, ptr %6, align 4 br label %10 10: ; preds = %40, %2 br label %11 11: ; preds = %29, %10 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr %5, align 4 %14 = srem i32 %12, %13 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %30 16: ; preds = %11 %17 = load i32, ptr %5, align 4 switch i32 %17, label %20 [ i32 4, label %18 i32 2, label %19 ] 18: ; preds = %16 store i32 2, ptr %5, align 4 br label %23 19: ; preds = %16 store i32 3, ptr %5, align 4 br label %23 20: ; preds = %16 %21 = load i32, ptr %5, align 4 %22 = add nsw i32 %21, 2 store i32 %22, ptr %5, align 4 br label %23 23: ; preds = %20, %19, %18 %24 = load i32, ptr %5, align 4 %25 = load i32, ptr %6, align 4 %26 = icmp sgt i32 %24, %25 br i1 %26, label %27, label %29 27: ; preds = %23 %28 = load i32, ptr %3, align 4 store i32 %28, ptr %5, align 4 br label %29 29: ; preds = %27, %23 br label %11, !llvm.loop !6 30: ; preds = %11 %31 = load i32, ptr %5, align 4 %32 = load i32, ptr %3, align 4 %33 = sdiv i32 %32, %31 store i32 %33, ptr %3, align 4 %34 = load i32, ptr %5, align 4 %35 = load ptr, ptr %4, align 8 %36 = getelementptr inbounds i32, ptr %35, i32 1 store ptr %36, ptr %4, align 8 store i32 %34, ptr %35, align 4 %37 = load i32, ptr %3, align 4 %38 = load ptr, ptr %4, align 8 %39 = getelementptr inbounds i32, ptr %38, i32 1 store ptr %39, ptr %4, align 8 store i32 %37, ptr %38, align 4 br label %40 40: ; preds = %30 %41 = load i32, ptr %3, align 4 %42 = icmp sgt i32 %41, 1 br i1 %42, label %10, label %43, !llvm.loop !8 43: ; preds = %40 ret void } declare i32 @floor(i32 noundef) #1 declare i32 @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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5zyn6j7d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kf_factor(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store i32 4, ptr %5, align 4 %7 = load i32, ptr %3, align 4 %8 = call i32 @sqrt(i32 noundef %7) %9 = call i32 @floor(i32 noundef %8) store i32 %9, ptr %6, align 4 br label %10 10: ; preds = %43, %2 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %5, align 4 %13 = srem i32 %11, %12 %14 = icmp ne i32 %13, 0 br i1 %14, label %.lr.ph, label %33 .lr.ph: ; preds = %10 br label %15 15: ; preds = %.lr.ph, %28 %16 = load i32, ptr %5, align 4 switch i32 %16, label %19 [ i32 4, label %17 i32 2, label %18 ] 17: ; preds = %15 store i32 2, ptr %5, align 4 br label %22 18: ; preds = %15 store i32 3, ptr %5, align 4 br label %22 19: ; preds = %15 %20 = load i32, ptr %5, align 4 %21 = add nsw i32 %20, 2 store i32 %21, ptr %5, align 4 br label %22 22: ; preds = %19, %18, %17 %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %6, align 4 %25 = icmp sgt i32 %23, %24 br i1 %25, label %26, label %28 26: ; preds = %22 %27 = load i32, ptr %3, align 4 store i32 %27, ptr %5, align 4 br label %28 28: ; preds = %26, %22 %29 = load i32, ptr %3, align 4 %30 = load i32, ptr %5, align 4 %31 = srem i32 %29, %30 %32 = icmp ne i32 %31, 0 br i1 %32, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %33 33: ; preds = %._crit_edge, %10 %34 = load i32, ptr %5, align 4 %35 = load i32, ptr %3, align 4 %36 = sdiv i32 %35, %34 store i32 %36, ptr %3, align 4 %37 = load i32, ptr %5, align 4 %38 = load ptr, ptr %4, align 8 %39 = getelementptr inbounds i32, ptr %38, i32 1 store ptr %39, ptr %4, align 8 store i32 %37, ptr %38, align 4 %40 = load i32, ptr %3, align 4 %41 = load ptr, ptr %4, align 8 %42 = getelementptr inbounds i32, ptr %41, i32 1 store ptr %42, ptr %4, align 8 store i32 %40, ptr %41, align 4 br label %43 43: ; preds = %33 %44 = load i32, ptr %3, align 4 %45 = icmp sgt i32 %44, 1 br i1 %45, label %10, label %46, !llvm.loop !8 46: ; preds = %43 ret void } declare i32 @floor(i32 noundef) #1 declare i32 @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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmptelkna_8.c' source_filename = "/tmp/tmptelkna_8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = call i32 (...) @a() %5 = call i32 (...) @a() %6 = call i32 (...) @a() %7 = load i32, ptr %2, align 4 ret i32 %7 } declare i32 @a(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptelkna_8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = call i32 (...) @a() %5 = call i32 (...) @a() %6 = call i32 (...) @a() %7 = load i32, ptr %2, align 4 ret i32 %7 } declare i32 @a(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp204kpcjb.c' source_filename = "/tmp/tmp204kpcjb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isBlock(i32 noundef %0, i8 noundef signext %1, i8 noundef signext %2) #0 { %4 = alloca i32, align 4 %5 = alloca i8, align 1 %6 = alloca i8, align 1 store i32 %0, ptr %4, align 4 store i8 %1, ptr %5, align 1 store i8 %2, ptr %6, align 1 %7 = load i32, ptr %4, align 4 %8 = load i8, ptr %5, align 1 %9 = load i8, ptr %6, align 1 %10 = call i32 @isThere(i32 noundef %7, i32 noundef 0, i8 noundef signext %8, i8 noundef signext %9) ret i32 %10 } declare i32 @isThere(i32 noundef, i32 noundef, i8 noundef signext, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp204kpcjb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isBlock(i32 noundef %0, i8 noundef signext %1, i8 noundef signext %2) #0 { %4 = alloca i32, align 4 %5 = alloca i8, align 1 %6 = alloca i8, align 1 store i32 %0, ptr %4, align 4 store i8 %1, ptr %5, align 1 store i8 %2, ptr %6, align 1 %7 = load i32, ptr %4, align 4 %8 = load i8, ptr %5, align 1 %9 = load i8, ptr %6, align 1 %10 = call i32 @isThere(i32 noundef %7, i32 noundef 0, i8 noundef signext %8, i8 noundef signext %9) ret i32 %10 } declare i32 @isThere(i32 noundef, i32 noundef, i8 noundef signext, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcpbrnaf5.c' source_filename = "/tmp/tmpcpbrnaf5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [39 x i8] c"Should get -1 due to overflow in char\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i8, align 1 %2 = alloca i32, align 4 store i32 999999999, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = trunc i32 %3 to i8 store i8 %4, ptr %1, align 1 %5 = call i32 @print_string(ptr noundef @.str) %6 = load i8, ptr %1, align 1 %7 = call i32 @print_int(i8 noundef signext %6) %8 = call i32 @print_string(ptr noundef @.str.1) ret void } declare i32 @print_string(ptr noundef) #1 declare i32 @print_int(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcpbrnaf5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [39 x i8] c"Should get -1 due to overflow in char\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i8, align 1 %2 = alloca i32, align 4 store i32 999999999, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = trunc i32 %3 to i8 store i8 %4, ptr %1, align 1 %5 = call i32 @print_string(ptr noundef @.str) %6 = load i8, ptr %1, align 1 %7 = call i32 @print_int(i8 noundef signext %6) %8 = call i32 @print_string(ptr noundef @.str.1) ret void } declare i32 @print_string(ptr noundef) #1 declare i32 @print_int(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpawe8mwns.c' source_filename = "/tmp/tmpawe8mwns.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"------ Begin MergeSort ------\0A\00", align 1 @.str.1 = private unnamed_addr constant [51 x i8] c"Err. The input file must be given as an argument.\0A\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"The sorted vector is: \00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.4 = private unnamed_addr constant [36 x i8] c"Elapsed: %f seconds while sorting.\0A\00", align 1 @CLOCKS_PER_SEC = dso_local global double 0.000000e+00, align 8 @.str.5 = private unnamed_addr constant [31 x i8] c"------- End MergeSort -------\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 ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca [128 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 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %7, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp eq i32 %14, 1 br i1 %15, label %16, label %18 16: ; preds = %2 %17 = call i32 @err(ptr noundef @.str.1) br label %18 18: ; preds = %16, %2 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 %22 = getelementptr inbounds [128 x i8], ptr %12, i64 0, i64 0 %23 = call i32 @readVectorFromFile(ptr noundef %8, ptr noundef %6, ptr noundef %21, ptr noundef %22) %24 = icmp ne i32 %23, 0 br i1 %24, label %28, label %25 25: ; preds = %18 %26 = getelementptr inbounds [128 x i8], ptr %12, i64 0, i64 0 %27 = call i32 @err(ptr noundef %26) br label %28 28: ; preds = %25, %18 %29 = call i64 (...) @clock() store i64 %29, ptr %10, align 8 %30 = load i32, ptr %6, align 4 %31 = load ptr, ptr %8, align 8 %32 = call ptr @mergeSort(i32 noundef %30, ptr noundef %31) store ptr %32, ptr %9, align 8 %33 = call i64 (...) @clock() store i64 %33, ptr %11, align 8 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %35 = load ptr, ptr %9, align 8 %36 = load i32, ptr %6, align 4 %37 = call i32 @printVector(ptr noundef %35, i32 noundef %36) %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %39 = load ptr, ptr %8, align 8 %40 = call i32 @free(ptr noundef %39) %41 = load ptr, ptr %9, align 8 %42 = call i32 @free(ptr noundef %41) %43 = load i64, ptr %11, align 8 %44 = load i64, ptr %10, align 8 %45 = sub nsw i64 %43, %44 %46 = sitofp i64 %45 to double %47 = load double, ptr @CLOCKS_PER_SEC, align 8 %48 = fdiv double %46, %47 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %48) %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %51 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %51 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @err(ptr noundef) #1 declare i32 @readVectorFromFile(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @clock(...) #1 declare ptr @mergeSort(i32 noundef, ptr noundef) #1 declare i32 @printVector(ptr noundef, 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpawe8mwns.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"------ Begin MergeSort ------\0A\00", align 1 @.str.1 = private unnamed_addr constant [51 x i8] c"Err. The input file must be given as an argument.\0A\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"The sorted vector is: \00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.4 = private unnamed_addr constant [36 x i8] c"Elapsed: %f seconds while sorting.\0A\00", align 1 @CLOCKS_PER_SEC = dso_local global double 0.000000e+00, align 8 @.str.5 = private unnamed_addr constant [31 x i8] c"------- End MergeSort -------\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 ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca [128 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 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %7, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp eq i32 %14, 1 br i1 %15, label %16, label %18 16: ; preds = %2 %17 = call i32 @err(ptr noundef @.str.1) br label %18 18: ; preds = %16, %2 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 %22 = getelementptr inbounds [128 x i8], ptr %12, i64 0, i64 0 %23 = call i32 @readVectorFromFile(ptr noundef %8, ptr noundef %6, ptr noundef %21, ptr noundef %22) %24 = icmp ne i32 %23, 0 br i1 %24, label %28, label %25 25: ; preds = %18 %26 = getelementptr inbounds [128 x i8], ptr %12, i64 0, i64 0 %27 = call i32 @err(ptr noundef %26) br label %28 28: ; preds = %25, %18 %29 = call i64 (...) @clock() store i64 %29, ptr %10, align 8 %30 = load i32, ptr %6, align 4 %31 = load ptr, ptr %8, align 8 %32 = call ptr @mergeSort(i32 noundef %30, ptr noundef %31) store ptr %32, ptr %9, align 8 %33 = call i64 (...) @clock() store i64 %33, ptr %11, align 8 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %35 = load ptr, ptr %9, align 8 %36 = load i32, ptr %6, align 4 %37 = call i32 @printVector(ptr noundef %35, i32 noundef %36) %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %39 = load ptr, ptr %8, align 8 %40 = call i32 @free(ptr noundef %39) %41 = load ptr, ptr %9, align 8 %42 = call i32 @free(ptr noundef %41) %43 = load i64, ptr %11, align 8 %44 = load i64, ptr %10, align 8 %45 = sub nsw i64 %43, %44 %46 = sitofp i64 %45 to double %47 = load double, ptr @CLOCKS_PER_SEC, align 8 %48 = fdiv double %46, %47 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %48) %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %51 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %51 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @err(ptr noundef) #1 declare i32 @readVectorFromFile(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @clock(...) #1 declare ptr @mergeSort(i32 noundef, ptr noundef) #1 declare i32 @printVector(ptr noundef, 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"}
; ModuleID = '/tmp/tmp16v_zjp2.c' source_filename = "/tmp/tmp16v_zjp2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_junk_value(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 i64 @my_junk_integer(ptr noundef %3) %5 = icmp ne i64 %4, 0 br i1 %5, label %26, label %6 6: ; preds = %1 %7 = load ptr, ptr %2, align 8 %8 = call i64 @my_junk_real(ptr noundef %7) %9 = icmp ne i64 %8, 0 br i1 %9, label %26, label %10 10: ; preds = %6 %11 = load ptr, ptr %2, align 8 %12 = call i64 @my_junk_literal(ptr noundef %11) %13 = icmp ne i64 %12, 0 br i1 %13, label %26, label %14 14: ; preds = %10 %15 = load ptr, ptr %2, align 8 %16 = call i64 @my_junk_string(ptr noundef %15) %17 = icmp ne i64 %16, 0 br i1 %17, label %26, label %18 18: ; preds = %14 %19 = load ptr, ptr %2, align 8 %20 = call i64 @my_junk_array(ptr noundef %19) %21 = icmp ne i64 %20, 0 br i1 %21, label %26, label %22 22: ; preds = %18 %23 = load ptr, ptr %2, align 8 %24 = call i64 @my_junk_object(ptr noundef %23) %25 = icmp ne i64 %24, 0 br label %26 26: ; preds = %22, %18, %14, %10, %6, %1 %27 = phi i1 [ true, %18 ], [ true, %14 ], [ true, %10 ], [ true, %6 ], [ true, %1 ], [ %25, %22 ] %28 = zext i1 %27 to i32 ret i32 %28 } declare i64 @my_junk_integer(ptr noundef) #1 declare i64 @my_junk_real(ptr noundef) #1 declare i64 @my_junk_literal(ptr noundef) #1 declare i64 @my_junk_string(ptr noundef) #1 declare i64 @my_junk_array(ptr noundef) #1 declare i64 @my_junk_object(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp16v_zjp2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_junk_value(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 i64 @my_junk_integer(ptr noundef %3) %5 = icmp ne i64 %4, 0 br i1 %5, label %26, label %6 6: ; preds = %1 %7 = load ptr, ptr %2, align 8 %8 = call i64 @my_junk_real(ptr noundef %7) %9 = icmp ne i64 %8, 0 br i1 %9, label %26, label %10 10: ; preds = %6 %11 = load ptr, ptr %2, align 8 %12 = call i64 @my_junk_literal(ptr noundef %11) %13 = icmp ne i64 %12, 0 br i1 %13, label %26, label %14 14: ; preds = %10 %15 = load ptr, ptr %2, align 8 %16 = call i64 @my_junk_string(ptr noundef %15) %17 = icmp ne i64 %16, 0 br i1 %17, label %26, label %18 18: ; preds = %14 %19 = load ptr, ptr %2, align 8 %20 = call i64 @my_junk_array(ptr noundef %19) %21 = icmp ne i64 %20, 0 br i1 %21, label %26, label %22 22: ; preds = %18 %23 = load ptr, ptr %2, align 8 %24 = call i64 @my_junk_object(ptr noundef %23) %25 = icmp ne i64 %24, 0 br label %26 26: ; preds = %22, %18, %14, %10, %6, %1 %27 = phi i1 [ true, %18 ], [ true, %14 ], [ true, %10 ], [ true, %6 ], [ true, %1 ], [ %25, %22 ] %28 = zext i1 %27 to i32 ret i32 %28 } declare i64 @my_junk_integer(ptr noundef) #1 declare i64 @my_junk_real(ptr noundef) #1 declare i64 @my_junk_literal(ptr noundef) #1 declare i64 @my_junk_string(ptr noundef) #1 declare i64 @my_junk_array(ptr noundef) #1 declare i64 @my_junk_object(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprzm9l48e.c' source_filename = "/tmp/tmprzm9l48e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @srslte_cqi_send(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp sle i32 %8, 1 br i1 %9, label %10, label %12 10: ; preds = %2 store i32 2, ptr %6, align 4 %11 = load i32, ptr %4, align 4 store i32 %11, ptr %7, align 4 br label %85 12: ; preds = %2 %13 = load i32, ptr %4, align 4 %14 = icmp sle i32 %13, 6 br i1 %14, label %15, label %18 15: ; preds = %12 store i32 5, ptr %6, align 4 %16 = load i32, ptr %4, align 4 %17 = sub nsw i32 %16, 2 store i32 %17, ptr %7, align 4 br label %84 18: ; preds = %12 %19 = load i32, ptr %4, align 4 %20 = icmp sle i32 %19, 16 br i1 %20, label %21, label %24 21: ; preds = %18 store i32 10, ptr %6, align 4 %22 = load i32, ptr %4, align 4 %23 = sub nsw i32 %22, 7 store i32 %23, ptr %7, align 4 br label %83 24: ; preds = %18 %25 = load i32, ptr %4, align 4 %26 = icmp sle i32 %25, 36 br i1 %26, label %27, label %30 27: ; preds = %24 store i32 20, ptr %6, align 4 %28 = load i32, ptr %4, align 4 %29 = sub nsw i32 %28, 17 store i32 %29, ptr %7, align 4 br label %82 30: ; preds = %24 %31 = load i32, ptr %4, align 4 %32 = icmp sle i32 %31, 76 br i1 %32, label %33, label %36 33: ; preds = %30 store i32 40, ptr %6, align 4 %34 = load i32, ptr %4, align 4 %35 = sub nsw i32 %34, 37 store i32 %35, ptr %7, align 4 br label %81 36: ; preds = %30 %37 = load i32, ptr %4, align 4 %38 = icmp sle i32 %37, 156 br i1 %38, label %39, label %42 39: ; preds = %36 store i32 80, ptr %6, align 4 %40 = load i32, ptr %4, align 4 %41 = sub nsw i32 %40, 77 store i32 %41, ptr %7, align 4 br label %80 42: ; preds = %36 %43 = load i32, ptr %4, align 4 %44 = icmp sle i32 %43, 316 br i1 %44, label %45, label %48 45: ; preds = %42 store i32 160, ptr %6, align 4 %46 = load i32, ptr %4, align 4 %47 = sub nsw i32 %46, 157 store i32 %47, ptr %7, align 4 br label %79 48: ; preds = %42 %49 = load i32, ptr %4, align 4 %50 = icmp eq i32 %49, 317 br i1 %50, label %51, label %52 51: ; preds = %48 store i32 0, ptr %3, align 4 br label %98 52: ; preds = %48 %53 = load i32, ptr %4, align 4 %54 = icmp sle i32 %53, 349 br i1 %54, label %55, label %58 55: ; preds = %52 store i32 32, ptr %6, align 4 %56 = load i32, ptr %4, align 4 %57 = sub nsw i32 %56, 318 store i32 %57, ptr %7, align 4 br label %77 58: ; preds = %52 %59 = load i32, ptr %4, align 4 %60 = icmp sle i32 %59, 413 br i1 %60, label %61, label %64 61: ; preds = %58 store i32 64, ptr %6, align 4 %62 = load i32, ptr %4, align 4 %63 = sub nsw i32 %62, 350 store i32 %63, ptr %7, align 4 br label %76 64: ; preds = %58 %65 = load i32, ptr %4, align 4 %66 = icmp sle i32 %65, 541 br i1 %66, label %67, label %70 67: ; preds = %64 store i32 128, ptr %6, align 4 %68 = load i32, ptr %4, align 4 %69 = sub nsw i32 %68, 414 store i32 %69, ptr %7, align 4 br label %75 70: ; preds = %64 %71 = load i32, ptr %4, align 4 %72 = icmp sle i32 %71, 1023 br i1 %72, label %73, label %74 73: ; preds = %70 store i32 0, ptr %3, align 4 br label %98 74: ; preds = %70 br label %75 75: ; preds = %74, %67 br label %76 76: ; preds = %75, %61 br label %77 77: ; preds = %76, %55 br label %78 78: ; preds = %77 br label %79 79: ; preds = %78, %45 br label %80 80: ; preds = %79, %39 br label %81 81: ; preds = %80, %33 br label %82 82: ; preds = %81, %27 br label %83 83: ; preds = %82, %21 br label %84 84: ; preds = %83, %15 br label %85 85: ; preds = %84, %10 %86 = load i32, ptr %6, align 4 %87 = icmp ne i32 %86, 0 br i1 %87, label %88, label %97 88: ; preds = %85 %89 = load i32, ptr %5, align 4 %90 = load i32, ptr %7, align 4 %91 = sub nsw i32 %89, %90 %92 = load i32, ptr %6, align 4 %93 = srem i32 %91, %92 %94 = icmp eq i32 %93, 0 br i1 %94, label %95, label %96 95: ; preds = %88 store i32 1, ptr %3, align 4 br label %98 96: ; preds = %88 br label %97 97: ; preds = %96, %85 store i32 0, ptr %3, align 4 br label %98 98: ; preds = %97, %95, %73, %51 %99 = load i32, ptr %3, align 4 ret i32 %99 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprzm9l48e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @srslte_cqi_send(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp sle i32 %8, 1 br i1 %9, label %10, label %12 10: ; preds = %2 store i32 2, ptr %6, align 4 %11 = load i32, ptr %4, align 4 store i32 %11, ptr %7, align 4 br label %85 12: ; preds = %2 %13 = load i32, ptr %4, align 4 %14 = icmp sle i32 %13, 6 br i1 %14, label %15, label %18 15: ; preds = %12 store i32 5, ptr %6, align 4 %16 = load i32, ptr %4, align 4 %17 = sub nsw i32 %16, 2 store i32 %17, ptr %7, align 4 br label %84 18: ; preds = %12 %19 = load i32, ptr %4, align 4 %20 = icmp sle i32 %19, 16 br i1 %20, label %21, label %24 21: ; preds = %18 store i32 10, ptr %6, align 4 %22 = load i32, ptr %4, align 4 %23 = sub nsw i32 %22, 7 store i32 %23, ptr %7, align 4 br label %83 24: ; preds = %18 %25 = load i32, ptr %4, align 4 %26 = icmp sle i32 %25, 36 br i1 %26, label %27, label %30 27: ; preds = %24 store i32 20, ptr %6, align 4 %28 = load i32, ptr %4, align 4 %29 = sub nsw i32 %28, 17 store i32 %29, ptr %7, align 4 br label %82 30: ; preds = %24 %31 = load i32, ptr %4, align 4 %32 = icmp sle i32 %31, 76 br i1 %32, label %33, label %36 33: ; preds = %30 store i32 40, ptr %6, align 4 %34 = load i32, ptr %4, align 4 %35 = sub nsw i32 %34, 37 store i32 %35, ptr %7, align 4 br label %81 36: ; preds = %30 %37 = load i32, ptr %4, align 4 %38 = icmp sle i32 %37, 156 br i1 %38, label %39, label %42 39: ; preds = %36 store i32 80, ptr %6, align 4 %40 = load i32, ptr %4, align 4 %41 = sub nsw i32 %40, 77 store i32 %41, ptr %7, align 4 br label %80 42: ; preds = %36 %43 = load i32, ptr %4, align 4 %44 = icmp sle i32 %43, 316 br i1 %44, label %45, label %48 45: ; preds = %42 store i32 160, ptr %6, align 4 %46 = load i32, ptr %4, align 4 %47 = sub nsw i32 %46, 157 store i32 %47, ptr %7, align 4 br label %79 48: ; preds = %42 %49 = load i32, ptr %4, align 4 %50 = icmp eq i32 %49, 317 br i1 %50, label %51, label %52 51: ; preds = %48 store i32 0, ptr %3, align 4 br label %98 52: ; preds = %48 %53 = load i32, ptr %4, align 4 %54 = icmp sle i32 %53, 349 br i1 %54, label %55, label %58 55: ; preds = %52 store i32 32, ptr %6, align 4 %56 = load i32, ptr %4, align 4 %57 = sub nsw i32 %56, 318 store i32 %57, ptr %7, align 4 br label %77 58: ; preds = %52 %59 = load i32, ptr %4, align 4 %60 = icmp sle i32 %59, 413 br i1 %60, label %61, label %64 61: ; preds = %58 store i32 64, ptr %6, align 4 %62 = load i32, ptr %4, align 4 %63 = sub nsw i32 %62, 350 store i32 %63, ptr %7, align 4 br label %76 64: ; preds = %58 %65 = load i32, ptr %4, align 4 %66 = icmp sle i32 %65, 541 br i1 %66, label %67, label %70 67: ; preds = %64 store i32 128, ptr %6, align 4 %68 = load i32, ptr %4, align 4 %69 = sub nsw i32 %68, 414 store i32 %69, ptr %7, align 4 br label %75 70: ; preds = %64 %71 = load i32, ptr %4, align 4 %72 = icmp sle i32 %71, 1023 br i1 %72, label %73, label %74 73: ; preds = %70 store i32 0, ptr %3, align 4 br label %98 74: ; preds = %70 br label %75 75: ; preds = %74, %67 br label %76 76: ; preds = %75, %61 br label %77 77: ; preds = %76, %55 br label %78 78: ; preds = %77 br label %79 79: ; preds = %78, %45 br label %80 80: ; preds = %79, %39 br label %81 81: ; preds = %80, %33 br label %82 82: ; preds = %81, %27 br label %83 83: ; preds = %82, %21 br label %84 84: ; preds = %83, %15 br label %85 85: ; preds = %84, %10 %86 = load i32, ptr %6, align 4 %87 = icmp ne i32 %86, 0 br i1 %87, label %88, label %97 88: ; preds = %85 %89 = load i32, ptr %5, align 4 %90 = load i32, ptr %7, align 4 %91 = sub nsw i32 %89, %90 %92 = load i32, ptr %6, align 4 %93 = srem i32 %91, %92 %94 = icmp eq i32 %93, 0 br i1 %94, label %95, label %96 95: ; preds = %88 store i32 1, ptr %3, align 4 br label %98 96: ; preds = %88 br label %97 97: ; preds = %96, %85 store i32 0, ptr %3, align 4 br label %98 98: ; preds = %97, %95, %73, %51 %99 = load i32, ptr %3, align 4 ret i32 %99 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpx03eg0ag.c' source_filename = "/tmp/tmpx03eg0ag.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"%c%c\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @euc2euc(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 br label %11 11: ; preds = %74, %4 %12 = load ptr, ptr %5, align 8 %13 = call i32 @getc(ptr noundef %12) store i32 %13, ptr %9, align 4 %14 = load i32, ptr @EOF, align 4 %15 = icmp ne i32 %13, %14 br i1 %15, label %16, label %75 16: ; preds = %11 %17 = load i32, ptr %9, align 4 switch i32 %17, label %19 [ i32 12, label %18 ] 18: ; preds = %16 br label %74 19: ; preds = %16 %20 = load i32, ptr %9, align 4 %21 = icmp sge i32 %20, 161 br i1 %21, label %22, label %39 22: ; preds = %19 %23 = load i32, ptr %9, align 4 %24 = icmp sle i32 %23, 254 br i1 %24, label %25, label %39 25: ; preds = %22 %26 = load ptr, ptr %5, align 8 %27 = call i32 @getc(ptr noundef %26) store i32 %27, ptr %10, align 4 %28 = load i32, ptr %10, align 4 %29 = icmp sge i32 %28, 161 br i1 %29, label %30, label %38 30: ; preds = %25 %31 = load i32, ptr %10, align 4 %32 = icmp sle i32 %31, 254 br i1 %32, label %33, label %38 33: ; preds = %30 %34 = load ptr, ptr %6, align 8 %35 = load i32, ptr %9, align 4 %36 = load i32, ptr %10, align 4 %37 = call i32 (ptr, ptr, i32, ...) @fprintf(ptr noundef %34, ptr noundef @.str, i32 noundef %35, i32 noundef %36) br label %38 38: ; preds = %33, %30, %25 br label %73 39: ; preds = %22, %19 %40 = load i32, ptr %9, align 4 %41 = icmp eq i32 %40, 142 br i1 %41, label %42, label %68 42: ; preds = %39 %43 = load ptr, ptr %5, align 8 %44 = call i32 @getc(ptr noundef %43) store i32 %44, ptr %10, align 4 %45 = load i32, ptr %10, align 4 %46 = icmp sge i32 %45, 161 br i1 %46, label %47, label %63 47: ; preds = %42 %48 = load i32, ptr %10, align 4 %49 = icmp sle i32 %48, 223 br i1 %49, label %50, label %63 50: ; preds = %47 %51 = load i32, ptr %8, align 4 %52 = icmp ne i32 %51, 0 br i1 %52, label %53, label %63 53: ; preds = %50 %54 = load i32, ptr %10, align 4 store i32 %54, ptr %9, align 4 %55 = load ptr, ptr %5, align 8 %56 = load i32, ptr %7, align 4 %57 = call i32 @han2zen(ptr noundef %55, ptr noundef %9, ptr noundef %10, i32 noundef %56) %58 = call i32 @sjis2jis(ptr noundef %9, ptr noundef %10) %59 = load i32, ptr %9, align 4 %60 = add nsw i32 %59, 128 store i32 %60, ptr %9, align 4 %61 = load i32, ptr %10, align 4 %62 = add nsw i32 %61, 128 store i32 %62, ptr %10, align 4 br label %63 63: ; preds = %53, %50, %47, %42 %64 = load ptr, ptr %6, align 8 %65 = load i32, ptr %9, align 4 %66 = load i32, ptr %10, align 4 %67 = call i32 (ptr, ptr, i32, ...) @fprintf(ptr noundef %64, ptr noundef @.str, i32 noundef %65, i32 noundef %66) br label %72 68: ; preds = %39 %69 = load ptr, ptr %6, align 8 %70 = load i32, ptr %9, align 4 %71 = call i32 (ptr, ptr, i32, ...) @fprintf(ptr noundef %69, ptr noundef @.str.1, i32 noundef %70) br label %72 72: ; preds = %68, %63 br label %73 73: ; preds = %72, %38 br label %74 74: ; preds = %73, %18 br label %11, !llvm.loop !6 75: ; preds = %11 ret void } declare i32 @getc(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef, ...) #1 declare i32 @han2zen(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @sjis2jis(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/tmpx03eg0ag.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"%c%c\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @euc2euc(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %11 = load ptr, ptr %5, align 8 %12 = call i32 @getc(ptr noundef %11) store i32 %12, ptr %9, align 4 %13 = load i32, ptr @EOF, align 4 %14 = icmp ne i32 %12, %13 br i1 %14, label %.lr.ph, label %78 .lr.ph: ; preds = %4 br label %15 15: ; preds = %.lr.ph, %73 %16 = load i32, ptr %9, align 4 switch i32 %16, label %18 [ i32 12, label %17 ] 17: ; preds = %15 br label %73 18: ; preds = %15 %19 = load i32, ptr %9, align 4 %20 = icmp sge i32 %19, 161 br i1 %20, label %21, label %38 21: ; preds = %18 %22 = load i32, ptr %9, align 4 %23 = icmp sle i32 %22, 254 br i1 %23, label %24, label %38 24: ; preds = %21 %25 = load ptr, ptr %5, align 8 %26 = call i32 @getc(ptr noundef %25) store i32 %26, ptr %10, align 4 %27 = load i32, ptr %10, align 4 %28 = icmp sge i32 %27, 161 br i1 %28, label %29, label %37 29: ; preds = %24 %30 = load i32, ptr %10, align 4 %31 = icmp sle i32 %30, 254 br i1 %31, label %32, label %37 32: ; preds = %29 %33 = load ptr, ptr %6, align 8 %34 = load i32, ptr %9, align 4 %35 = load i32, ptr %10, align 4 %36 = call i32 (ptr, ptr, i32, ...) @fprintf(ptr noundef %33, ptr noundef @.str, i32 noundef %34, i32 noundef %35) br label %37 37: ; preds = %32, %29, %24 br label %72 38: ; preds = %21, %18 %39 = load i32, ptr %9, align 4 %40 = icmp eq i32 %39, 142 br i1 %40, label %41, label %67 41: ; preds = %38 %42 = load ptr, ptr %5, align 8 %43 = call i32 @getc(ptr noundef %42) store i32 %43, ptr %10, align 4 %44 = load i32, ptr %10, align 4 %45 = icmp sge i32 %44, 161 br i1 %45, label %46, label %62 46: ; preds = %41 %47 = load i32, ptr %10, align 4 %48 = icmp sle i32 %47, 223 br i1 %48, label %49, label %62 49: ; preds = %46 %50 = load i32, ptr %8, align 4 %51 = icmp ne i32 %50, 0 br i1 %51, label %52, label %62 52: ; preds = %49 %53 = load i32, ptr %10, align 4 store i32 %53, ptr %9, align 4 %54 = load ptr, ptr %5, align 8 %55 = load i32, ptr %7, align 4 %56 = call i32 @han2zen(ptr noundef %54, ptr noundef %9, ptr noundef %10, i32 noundef %55) %57 = call i32 @sjis2jis(ptr noundef %9, ptr noundef %10) %58 = load i32, ptr %9, align 4 %59 = add nsw i32 %58, 128 store i32 %59, ptr %9, align 4 %60 = load i32, ptr %10, align 4 %61 = add nsw i32 %60, 128 store i32 %61, ptr %10, align 4 br label %62 62: ; preds = %52, %49, %46, %41 %63 = load ptr, ptr %6, align 8 %64 = load i32, ptr %9, align 4 %65 = load i32, ptr %10, align 4 %66 = call i32 (ptr, ptr, i32, ...) @fprintf(ptr noundef %63, ptr noundef @.str, i32 noundef %64, i32 noundef %65) br label %71 67: ; preds = %38 %68 = load ptr, ptr %6, align 8 %69 = load i32, ptr %9, align 4 %70 = call i32 (ptr, ptr, i32, ...) @fprintf(ptr noundef %68, ptr noundef @.str.1, i32 noundef %69) br label %71 71: ; preds = %67, %62 br label %72 72: ; preds = %71, %37 br label %73 73: ; preds = %72, %17 %74 = load ptr, ptr %5, align 8 %75 = call i32 @getc(ptr noundef %74) store i32 %75, ptr %9, align 4 %76 = load i32, ptr @EOF, align 4 %77 = icmp ne i32 %75, %76 br i1 %77, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %73 br label %78 78: ; preds = %._crit_edge, %4 ret void } declare i32 @getc(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef, ...) #1 declare i32 @han2zen(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @sjis2jis(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/tmpbnsxz9dy.c' source_filename = "/tmp/tmpbnsxz9dy.c" target datalayout = "e-m:e-p270: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/tmpbnsxz9dy.c" target datalayout = "e-m:e-p270: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/tmp9yiod5td.c' source_filename = "/tmp/tmp9yiod5td.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [68 x i8] c"\22Your input is bad and you should feel bad!\22 -Dr. John E. Zoidberg\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printf_Zoidberg() #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/tmp9yiod5td.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [68 x i8] c"\22Your input is bad and you should feel bad!\22 -Dr. John E. Zoidberg\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printf_Zoidberg() #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/tmpwty2gojj.c' source_filename = "/tmp/tmpwty2gojj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GO_bsearch(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 %12 = alloca i64, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i64 %2, ptr %9, align 8 store i64 %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store i64 0, ptr %12, align 8 br label %13 13: ; preds = %29, %5 %14 = load i64, ptr %12, align 8 %15 = load i64, ptr %9, align 8 %16 = icmp ult i64 %14, %15 br i1 %16, label %17, label %32 17: ; preds = %13 %18 = load ptr, ptr %11, align 8 %19 = load ptr, ptr %7, align 8 %20 = load ptr, ptr %8, align 8 %21 = call i32 %18(ptr noundef %19, ptr noundef %20) %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %25 23: ; preds = %17 %24 = load ptr, ptr %8, align 8 store ptr %24, ptr %6, align 8 br label %33 25: ; preds = %17 %26 = load ptr, ptr %8, align 8 %27 = load i64, ptr %10, align 8 %28 = getelementptr inbounds i8, ptr %26, i64 %27 store ptr %28, ptr %8, align 8 br label %29 29: ; preds = %25 %30 = load i64, ptr %12, align 8 %31 = add i64 %30, 1 store i64 %31, ptr %12, align 8 br label %13, !llvm.loop !6 32: ; preds = %13 store ptr null, ptr %6, align 8 br label %33 33: ; preds = %32, %23 %34 = load ptr, ptr %6, align 8 ret ptr %34 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwty2gojj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GO_bsearch(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 %12 = alloca i64, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i64 %2, ptr %9, align 8 store i64 %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store i64 0, ptr %12, align 8 %13 = load i64, ptr %12, align 8 %14 = load i64, ptr %9, align 8 %15 = icmp ult i64 %13, %14 br i1 %15, label %.lr.ph, label %34 .lr.ph: ; preds = %5 br label %16 16: ; preds = %.lr.ph, %28 %17 = load ptr, ptr %11, align 8 %18 = load ptr, ptr %7, align 8 %19 = load ptr, ptr %8, align 8 %20 = call i32 %17(ptr noundef %18, ptr noundef %19) %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %24 22: ; preds = %16 %23 = load ptr, ptr %8, align 8 store ptr %23, ptr %6, align 8 br label %35 24: ; preds = %16 %25 = load ptr, ptr %8, align 8 %26 = load i64, ptr %10, align 8 %27 = getelementptr inbounds i8, ptr %25, i64 %26 store ptr %27, ptr %8, align 8 br label %28 28: ; preds = %24 %29 = load i64, ptr %12, align 8 %30 = add i64 %29, 1 store i64 %30, ptr %12, align 8 %31 = load i64, ptr %12, align 8 %32 = load i64, ptr %9, align 8 %33 = icmp ult i64 %31, %32 br i1 %33, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %34 34: ; preds = %._crit_edge, %5 store ptr null, ptr %6, align 8 br label %35 35: ; preds = %34, %22 %36 = load ptr, ptr %6, align 8 ret ptr %36 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp9f2o5ew0.c' source_filename = "/tmp/tmp9f2o5ew0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"%x:%x:%x:%x:%x:%x:%x:%x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @make_ipv6_readable(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 = getelementptr inbounds i8, ptr %6, i64 0 %8 = call i32 @parse_number_from_char(ptr noundef %7, i32 noundef 0, i32 noundef 15) %9 = load ptr, ptr %4, align 8 %10 = getelementptr inbounds i8, ptr %9, i64 2 %11 = call i32 @parse_number_from_char(ptr noundef %10, i32 noundef 0, i32 noundef 15) %12 = load ptr, ptr %4, align 8 %13 = getelementptr inbounds i8, ptr %12, i64 4 %14 = call i32 @parse_number_from_char(ptr noundef %13, i32 noundef 0, i32 noundef 15) %15 = load ptr, ptr %4, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 6 %17 = call i32 @parse_number_from_char(ptr noundef %16, i32 noundef 0, i32 noundef 15) %18 = load ptr, ptr %4, align 8 %19 = getelementptr inbounds i8, ptr %18, i64 8 %20 = call i32 @parse_number_from_char(ptr noundef %19, i32 noundef 0, i32 noundef 15) %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 10 %23 = call i32 @parse_number_from_char(ptr noundef %22, i32 noundef 0, i32 noundef 15) %24 = load ptr, ptr %4, align 8 %25 = getelementptr inbounds i8, ptr %24, i64 12 %26 = call i32 @parse_number_from_char(ptr noundef %25, i32 noundef 0, i32 noundef 15) %27 = load ptr, ptr %4, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 14 %29 = call i32 @parse_number_from_char(ptr noundef %28, i32 noundef 0, i32 noundef 15) %30 = call i32 @sprintf(ptr noundef %5, ptr noundef @.str, i32 noundef %8, i32 noundef %11, i32 noundef %14, i32 noundef %17, i32 noundef %20, i32 noundef %23, i32 noundef %26, i32 noundef %29) %31 = load ptr, ptr %3, align 8 ret ptr %31 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @parse_number_from_char(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/tmp9f2o5ew0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"%x:%x:%x:%x:%x:%x:%x:%x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @make_ipv6_readable(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 = getelementptr inbounds i8, ptr %6, i64 0 %8 = call i32 @parse_number_from_char(ptr noundef %7, i32 noundef 0, i32 noundef 15) %9 = load ptr, ptr %4, align 8 %10 = getelementptr inbounds i8, ptr %9, i64 2 %11 = call i32 @parse_number_from_char(ptr noundef %10, i32 noundef 0, i32 noundef 15) %12 = load ptr, ptr %4, align 8 %13 = getelementptr inbounds i8, ptr %12, i64 4 %14 = call i32 @parse_number_from_char(ptr noundef %13, i32 noundef 0, i32 noundef 15) %15 = load ptr, ptr %4, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 6 %17 = call i32 @parse_number_from_char(ptr noundef %16, i32 noundef 0, i32 noundef 15) %18 = load ptr, ptr %4, align 8 %19 = getelementptr inbounds i8, ptr %18, i64 8 %20 = call i32 @parse_number_from_char(ptr noundef %19, i32 noundef 0, i32 noundef 15) %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 10 %23 = call i32 @parse_number_from_char(ptr noundef %22, i32 noundef 0, i32 noundef 15) %24 = load ptr, ptr %4, align 8 %25 = getelementptr inbounds i8, ptr %24, i64 12 %26 = call i32 @parse_number_from_char(ptr noundef %25, i32 noundef 0, i32 noundef 15) %27 = load ptr, ptr %4, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 14 %29 = call i32 @parse_number_from_char(ptr noundef %28, i32 noundef 0, i32 noundef 15) %30 = call i32 @sprintf(ptr noundef %5, ptr noundef @.str, i32 noundef %8, i32 noundef %11, i32 noundef %14, i32 noundef %17, i32 noundef %20, i32 noundef %23, i32 noundef %26, i32 noundef %29) %31 = load ptr, ptr %3, align 8 ret ptr %31 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @parse_number_from_char(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/tmp5kvougvh.c' source_filename = "/tmp/tmp5kvougvh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Hello World!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @handler(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = 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/tmp5kvougvh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Hello World!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @handler(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = 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/tmpp_b7gq59.c' source_filename = "/tmp/tmpp_b7gq59.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @irqTimerStop() #0 { %1 = call i32 @halTimerStop(i32 noundef 1224941568, i32 noundef 255) ret void } declare i32 @halTimerStop(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/tmpp_b7gq59.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @irqTimerStop() #0 { %1 = call i32 @halTimerStop(i32 noundef 1224941568, i32 noundef 255) ret void } declare i32 @halTimerStop(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/tmpia6xl26g.c' source_filename = "/tmp/tmpia6xl26g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RTLD_LAZY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @dbgsysLoadLibrary(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %8 = load ptr, ptr %4, align 8 %9 = load i32, ptr @RTLD_LAZY, align 4 %10 = call ptr @dlopen(ptr noundef %8, i32 noundef %9) store ptr %10, ptr %7, align 8 %11 = load ptr, ptr %7, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %24 13: ; preds = %3 %14 = load ptr, ptr %5, align 8 %15 = call i32 (...) @dlerror() %16 = load i32, ptr %6, align 4 %17 = sub nsw i32 %16, 2 %18 = call i32 @strncpy(ptr noundef %14, i32 noundef %15, i32 noundef %17) %19 = load ptr, ptr %5, align 8 %20 = load i32, ptr %6, align 4 %21 = sub nsw i32 %20, 1 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %19, i64 %22 store i8 0, ptr %23, align 1 br label %24 24: ; preds = %13, %3 %25 = load ptr, ptr %7, align 8 ret ptr %25 } declare ptr @dlopen(ptr noundef, i32 noundef) #1 declare i32 @strncpy(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @dlerror(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpia6xl26g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RTLD_LAZY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @dbgsysLoadLibrary(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %8 = load ptr, ptr %4, align 8 %9 = load i32, ptr @RTLD_LAZY, align 4 %10 = call ptr @dlopen(ptr noundef %8, i32 noundef %9) store ptr %10, ptr %7, align 8 %11 = load ptr, ptr %7, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %24 13: ; preds = %3 %14 = load ptr, ptr %5, align 8 %15 = call i32 (...) @dlerror() %16 = load i32, ptr %6, align 4 %17 = sub nsw i32 %16, 2 %18 = call i32 @strncpy(ptr noundef %14, i32 noundef %15, i32 noundef %17) %19 = load ptr, ptr %5, align 8 %20 = load i32, ptr %6, align 4 %21 = sub nsw i32 %20, 1 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %19, i64 %22 store i8 0, ptr %23, align 1 br label %24 24: ; preds = %13, %3 %25 = load ptr, ptr %7, align 8 ret ptr %25 } declare ptr @dlopen(ptr noundef, i32 noundef) #1 declare i32 @strncpy(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @dlerror(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5kozm08r.c' source_filename = "/tmp/tmp5kozm08r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @replace_string(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i32 0, ptr %8, align 4 br label %9 9: ; preds = %18, %3 %10 = load ptr, ptr %5, align 8 %11 = load i32, ptr %8, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %21 17: ; preds = %9 br label %18 18: ; preds = %17 %19 = load i32, ptr %8, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %8, align 4 br label %9, !llvm.loop !6 21: ; preds = %9 %22 = load ptr, ptr %4, align 8 %23 = load ptr, ptr %5, align 8 %24 = call i32 @find_string(ptr noundef %22, ptr noundef %23) store i32 %24, ptr %7, align 4 %25 = load i32, ptr %7, align 4 %26 = icmp ne i32 %25, -1 br i1 %26, label %27, label %36 27: ; preds = %21 %28 = load ptr, ptr %4, align 8 %29 = load i32, ptr %7, align 4 %30 = load i32, ptr %8, align 4 %31 = call i32 @remove_string(ptr noundef %28, i32 noundef %29, i32 noundef %30) %32 = load ptr, ptr %4, align 8 %33 = load ptr, ptr %6, align 8 %34 = load i32, ptr %7, align 4 %35 = call i32 @insert_string(ptr noundef %32, ptr noundef %33, i32 noundef %34) br label %36 36: ; preds = %27, %21 %37 = load i32, ptr %7, align 4 ret i32 %37 } declare i32 @find_string(ptr noundef, ptr noundef) #1 declare i32 @remove_string(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @insert_string(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/tmp5kozm08r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @replace_string(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i32 0, ptr %8, align 4 %9 = load ptr, ptr %5, align 8 %10 = load i32, ptr %8, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i8, ptr %9, i64 %11 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %14, 0 br i1 %15, label %.lr.ph, label %27 .lr.ph: ; preds = %3 br label %16 16: ; preds = %.lr.ph, %17 br label %17 17: ; preds = %16 %18 = load i32, ptr %8, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %8, align 4 %20 = load ptr, ptr %5, align 8 %21 = load i32, ptr %8, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp ne i32 %25, 0 br i1 %26, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %27 27: ; preds = %._crit_edge, %3 %28 = load ptr, ptr %4, align 8 %29 = load ptr, ptr %5, align 8 %30 = call i32 @find_string(ptr noundef %28, ptr noundef %29) store i32 %30, ptr %7, align 4 %31 = load i32, ptr %7, align 4 %32 = icmp ne i32 %31, -1 br i1 %32, label %33, label %42 33: ; preds = %27 %34 = load ptr, ptr %4, align 8 %35 = load i32, ptr %7, align 4 %36 = load i32, ptr %8, align 4 %37 = call i32 @remove_string(ptr noundef %34, i32 noundef %35, i32 noundef %36) %38 = load ptr, ptr %4, align 8 %39 = load ptr, ptr %6, align 8 %40 = load i32, ptr %7, align 4 %41 = call i32 @insert_string(ptr noundef %38, ptr noundef %39, i32 noundef %40) br label %42 42: ; preds = %33, %27 %43 = load i32, ptr %7, align 4 ret i32 %43 } declare i32 @find_string(ptr noundef, ptr noundef) #1 declare i32 @remove_string(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @insert_string(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/tmpd81uv679.c' source_filename = "/tmp/tmpd81uv679.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @_strlcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %10 = load ptr, ptr %4, align 8 store ptr %10, ptr %7, align 8 %11 = load ptr, ptr %5, align 8 store ptr %11, ptr %8, align 8 %12 = load i64, ptr %6, align 8 store i64 %12, ptr %9, align 8 %13 = load i64, ptr %9, align 8 %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %35 15: ; preds = %3 %16 = load i64, ptr %9, align 8 %17 = add i64 %16, -1 store i64 %17, ptr %9, align 8 %18 = icmp ne i64 %17, 0 br i1 %18, label %19, label %35 19: ; preds = %15 br label %20 20: ; preds = %30, %19 %21 = load ptr, ptr %8, align 8 %22 = getelementptr inbounds i8, ptr %21, i32 1 store ptr %22, ptr %8, align 8 %23 = load i8, ptr %21, align 1 %24 = load ptr, ptr %7, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 1 store ptr %25, ptr %7, align 8 store i8 %23, ptr %24, align 1 %26 = sext i8 %23 to i32 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %29 28: ; preds = %20 br label %34 29: ; preds = %20 br label %30 30: ; preds = %29 %31 = load i64, ptr %9, align 8 %32 = add i64 %31, -1 store i64 %32, ptr %9, align 8 %33 = icmp ne i64 %32, 0 br i1 %33, label %20, label %34, !llvm.loop !6 34: ; preds = %30, %28 br label %35 35: ; preds = %34, %15, %3 %36 = load i64, ptr %9, align 8 %37 = icmp eq i64 %36, 0 br i1 %37, label %38, label %51 38: ; preds = %35 %39 = load i64, ptr %6, align 8 %40 = icmp ne i64 %39, 0 br i1 %40, label %41, label %43 41: ; preds = %38 %42 = load ptr, ptr %7, align 8 store i8 0, ptr %42, align 1 br label %43 43: ; preds = %41, %38 br label %44 44: ; preds = %49, %43 %45 = load ptr, ptr %8, align 8 %46 = getelementptr inbounds i8, ptr %45, i32 1 store ptr %46, ptr %8, align 8 %47 = load i8, ptr %45, align 1 %48 = icmp ne i8 %47, 0 br i1 %48, label %49, label %50 49: ; preds = %44 br label %44, !llvm.loop !8 50: ; preds = %44 br label %51 51: ; preds = %50, %35 %52 = load ptr, ptr %8, align 8 %53 = load ptr, ptr %5, align 8 %54 = ptrtoint ptr %52 to i64 %55 = ptrtoint ptr %53 to i64 %56 = sub i64 %54, %55 %57 = sub nsw i64 %56, 1 ret i64 %57 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpd81uv679.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @_strlcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %10 = load ptr, ptr %4, align 8 store ptr %10, ptr %7, align 8 %11 = load ptr, ptr %5, align 8 store ptr %11, ptr %8, align 8 %12 = load i64, ptr %6, align 8 store i64 %12, ptr %9, align 8 %13 = load i64, ptr %9, align 8 %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %35 15: ; preds = %3 %16 = load i64, ptr %9, align 8 %17 = add i64 %16, -1 store i64 %17, ptr %9, align 8 %18 = icmp ne i64 %17, 0 br i1 %18, label %19, label %35 19: ; preds = %15 br label %20 20: ; preds = %30, %19 %21 = load ptr, ptr %8, align 8 %22 = getelementptr inbounds i8, ptr %21, i32 1 store ptr %22, ptr %8, align 8 %23 = load i8, ptr %21, align 1 %24 = load ptr, ptr %7, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 1 store ptr %25, ptr %7, align 8 store i8 %23, ptr %24, align 1 %26 = sext i8 %23 to i32 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %29 28: ; preds = %20 br label %34 29: ; preds = %20 br label %30 30: ; preds = %29 %31 = load i64, ptr %9, align 8 %32 = add i64 %31, -1 store i64 %32, ptr %9, align 8 %33 = icmp ne i64 %32, 0 br i1 %33, label %20, label %.loopexit, !llvm.loop !6 .loopexit: ; preds = %30 br label %34 34: ; preds = %.loopexit, %28 br label %35 35: ; preds = %34, %15, %3 %36 = load i64, ptr %9, align 8 %37 = icmp eq i64 %36, 0 br i1 %37, label %38, label %50 38: ; preds = %35 %39 = load i64, ptr %6, align 8 %40 = icmp ne i64 %39, 0 br i1 %40, label %41, label %43 41: ; preds = %38 %42 = load ptr, ptr %7, align 8 store i8 0, ptr %42, align 1 br label %43 43: ; preds = %41, %38 br label %44 44: ; preds = %44, %43 %45 = load ptr, ptr %8, align 8 %46 = getelementptr inbounds i8, ptr %45, i32 1 store ptr %46, ptr %8, align 8 %47 = load i8, ptr %45, align 1 %48 = icmp ne i8 %47, 0 br i1 %48, label %44, label %49, !llvm.loop !8 49: ; preds = %44 br label %50 50: ; preds = %49, %35 %51 = load ptr, ptr %8, align 8 %52 = load ptr, ptr %5, align 8 %53 = ptrtoint ptr %51 to i64 %54 = ptrtoint ptr %52 to i64 %55 = sub i64 %53, %54 %56 = sub nsw i64 %55, 1 ret i64 %56 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp1xz_crqg.c' source_filename = "/tmp/tmp1xz_crqg.c" target datalayout = "e-m:e-p270: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/tmp1xz_crqg.c" target datalayout = "e-m:e-p270: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/tmpwwngkrwh.c' source_filename = "/tmp/tmpwwngkrwh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @random_convert_bitwise(i64 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i64, align 8 %4 = alloca i32, align 4 %5 = alloca [10 x i32], align 16 %6 = alloca i32, align 4 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i64 %0, ptr %3, align 8 store i32 0, ptr %4, align 4 call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 40, i1 false) store i32 0, ptr %6, align 4 br label %10 10: ; preds = %31, %1 %11 = load i32, ptr %6, align 4 %12 = icmp slt i32 %11, 9 br i1 %12, label %13, label %34 13: ; preds = %10 %14 = load i32, ptr %6, align 4 %15 = shl i32 1, %14 %16 = sext i32 %15 to i64 store i64 %16, ptr %7, align 8 %17 = load i64, ptr %7, align 8 %18 = load i64, ptr %7, align 8 %19 = load i64, ptr %3, align 8 %20 = and i64 %18, %19 %21 = icmp eq i64 %17, %20 br i1 %21, label %22, label %30 22: ; preds = %13 %23 = load i32, ptr %6, align 4 %24 = add nsw i32 %23, 1 %25 = load i32, ptr %4, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 %26 store i32 %24, ptr %27, align 4 %28 = load i32, ptr %4, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %4, align 4 br label %30 30: ; preds = %22, %13 br label %31 31: ; preds = %30 %32 = load i32, ptr %6, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %6, align 4 br label %10, !llvm.loop !6 34: ; preds = %10 %35 = load i32, ptr %4, align 4 %36 = icmp eq i32 %35, 0 br i1 %36, label %37, label %38 37: ; preds = %34 store i32 0, ptr %2, align 4 br label %54 38: ; preds = %34 store i32 0, ptr %9, align 4 br label %39 39: ; preds = %42, %38 %40 = call i32 (...) @rand() %41 = srem i32 %40, 9 store i32 %41, ptr %9, align 4 br label %42 42: ; preds = %39 %43 = load i32, ptr %9, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 %44 %46 = load i32, ptr %45, align 4 %47 = icmp eq i32 %46, 0 br i1 %47, label %39, label %48, !llvm.loop !8 48: ; preds = %42 %49 = load i32, ptr %9, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 %50 %52 = load i32, ptr %51, align 4 store i32 %52, ptr %8, align 4 %53 = load i32, ptr %8, align 4 store i32 %53, ptr %2, align 4 br label %54 54: ; preds = %48, %37 %55 = load i32, ptr %2, align 4 ret i32 %55 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @rand(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwwngkrwh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @random_convert_bitwise(i64 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i64, align 8 %4 = alloca i32, align 4 %5 = alloca [10 x i32], align 16 %6 = alloca i32, align 4 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i64 %0, ptr %3, align 8 store i32 0, ptr %4, align 4 call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 40, i1 false) store i32 0, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp slt i32 %10, 9 br i1 %11, label %.lr.ph, label %35 .lr.ph: ; preds = %1 br label %12 12: ; preds = %.lr.ph, %30 %13 = load i32, ptr %6, align 4 %14 = shl i32 1, %13 %15 = sext i32 %14 to i64 store i64 %15, ptr %7, align 8 %16 = load i64, ptr %7, align 8 %17 = load i64, ptr %7, align 8 %18 = load i64, ptr %3, align 8 %19 = and i64 %17, %18 %20 = icmp eq i64 %16, %19 br i1 %20, label %21, label %29 21: ; preds = %12 %22 = load i32, ptr %6, align 4 %23 = add nsw i32 %22, 1 %24 = load i32, ptr %4, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 %25 store i32 %23, ptr %26, align 4 %27 = load i32, ptr %4, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %4, align 4 br label %29 29: ; preds = %21, %12 br label %30 30: ; preds = %29 %31 = load i32, ptr %6, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %6, align 4 %33 = load i32, ptr %6, align 4 %34 = icmp slt i32 %33, 9 br i1 %34, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %30 br label %35 35: ; preds = %._crit_edge, %1 %36 = load i32, ptr %4, align 4 %37 = icmp eq i32 %36, 0 br i1 %37, label %38, label %39 38: ; preds = %35 store i32 0, ptr %2, align 4 br label %55 39: ; preds = %35 store i32 0, ptr %9, align 4 br label %40 40: ; preds = %43, %39 %41 = call i32 (...) @rand() %42 = srem i32 %41, 9 store i32 %42, ptr %9, align 4 br label %43 43: ; preds = %40 %44 = load i32, ptr %9, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 %45 %47 = load i32, ptr %46, align 4 %48 = icmp eq i32 %47, 0 br i1 %48, label %40, label %49, !llvm.loop !8 49: ; preds = %43 %50 = load i32, ptr %9, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 %51 %53 = load i32, ptr %52, align 4 store i32 %53, ptr %8, align 4 %54 = load i32, ptr %8, align 4 store i32 %54, ptr %2, align 4 br label %55 55: ; preds = %49, %38 %56 = load i32, ptr %2, align 4 ret i32 %56 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @rand(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpg__udn_9.c' source_filename = "/tmp/tmpg__udn_9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [42 x i8] c"The section or node name pointer is null\0A\00", align 1 @EINVAL = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @EFAULT = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_value(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %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 ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca [40 x i8], align 16 %13 = alloca [40 x i8], align 16 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 call void @llvm.memset.p0.i64(ptr align 16 %12, i8 0, i64 40, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %13, i8 0, i64 40, i1 false) %14 = load ptr, ptr %5, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %19, label %16 16: ; preds = %3 %17 = load ptr, ptr %6, align 8 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %23 19: ; preds = %16, %3 %20 = call i32 @printf(ptr noundef @.str) %21 = load i32, ptr @EINVAL, align 4 %22 = sub nsw i32 0, %21 store i32 %22, ptr %4, align 4 br label %100 23: ; preds = %16 %24 = getelementptr inbounds [40 x i8], ptr %12, i64 0, i64 0 %25 = load ptr, ptr %6, align 8 %26 = call i32 @strlen(ptr noundef %25) %27 = add nsw i32 %26, 1 %28 = load ptr, ptr %6, align 8 %29 = call i32 @snprintf(ptr noundef %24, i32 noundef %27, ptr noundef @.str.1, ptr noundef %28) %30 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 store ptr %30, ptr %11, align 8 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds [40 x i8], ptr %12, i64 0, i64 0 %33 = call ptr @strstr(ptr noundef %31, ptr noundef %32) store ptr %33, ptr %9, align 8 %34 = load ptr, ptr %9, align 8 %35 = icmp eq ptr %34, null br i1 %35, label %36, label %39 36: ; preds = %23 %37 = load i32, ptr @EFAULT, align 4 %38 = sub nsw i32 0, %37 store i32 %38, ptr %4, align 4 br label %100 39: ; preds = %23 %40 = getelementptr inbounds [40 x i8], ptr %12, i64 0, i64 0 %41 = call i32 @strlen(ptr noundef %40) %42 = load ptr, ptr %9, align 8 %43 = sext i32 %41 to i64 %44 = getelementptr inbounds i8, ptr %42, i64 %43 store ptr %44, ptr %9, align 8 %45 = load ptr, ptr %9, align 8 %46 = call ptr @strchr(ptr noundef %45, i8 noundef signext 10) store ptr %46, ptr %10, align 8 br label %47 47: ; preds = %59, %39 %48 = load ptr, ptr %9, align 8 %49 = load i8, ptr %48, align 1 %50 = call i64 @isblank(i8 noundef signext %49) %51 = icmp ne i64 %50, 0 br i1 %51, label %57, label %52 52: ; preds = %47 %53 = load ptr, ptr %9, align 8 %54 = load i8, ptr %53, align 1 %55 = sext i8 %54 to i32 %56 = icmp eq i32 %55, 61 br label %57 57: ; preds = %52, %47 %58 = phi i1 [ true, %47 ], [ %56, %52 ] br i1 %58, label %59, label %62 59: ; preds = %57 %60 = load ptr, ptr %9, align 8 %61 = getelementptr inbounds i8, ptr %60, i32 1 store ptr %61, ptr %9, align 8 br label %47, !llvm.loop !6 62: ; preds = %57 %63 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %64 = load ptr, ptr %9, align 8 %65 = load ptr, ptr %10, align 8 %66 = load ptr, ptr %9, align 8 %67 = ptrtoint ptr %65 to i64 %68 = ptrtoint ptr %66 to i64 %69 = sub i64 %67, %68 %70 = trunc i64 %69 to i32 %71 = call i32 @strncpy(ptr noundef %63, ptr noundef %64, i32 noundef %70) store i32 0, ptr %8, align 4 br label %72 72: ; preds = %91, %62 %73 = load i32, ptr %8, align 4 %74 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %75 = call i32 @strlen(ptr noundef %74) %76 = icmp slt i32 %73, %75 br i1 %76, label %77, label %94 77: ; preds = %72 %78 = load ptr, ptr %11, align 8 %79 = load i32, ptr %8, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds i8, ptr %78, i64 %80 %82 = load i8, ptr %81, align 1 %83 = call i64 @isblank(i8 noundef signext %82) %84 = icmp ne i64 %83, 0 br i1 %84, label %85, label %90 85: ; preds = %77 %86 = load ptr, ptr %11, align 8 %87 = load i32, ptr %8, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds i8, ptr %86, i64 %88 store i8 0, ptr %89, align 1 br label %90 90: ; preds = %85, %77 br label %91 91: ; preds = %90 %92 = load i32, ptr %8, align 4 %93 = add nsw i32 %92, 1 store i32 %93, ptr %8, align 4 br label %72, !llvm.loop !8 94: ; preds = %72 %95 = load ptr, ptr %7, align 8 %96 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %97 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %98 = call i32 @strlen(ptr noundef %97) %99 = call i32 @memcpy(ptr noundef %95, ptr noundef %96, i32 noundef %98) store i32 0, ptr %4, align 4 br label %100 100: ; preds = %94, %36, %19 %101 = load i32, ptr %4, align 4 ret i32 %101 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @printf(ptr noundef) #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @strlen(ptr noundef) #2 declare ptr @strstr(ptr noundef, ptr noundef) #2 declare ptr @strchr(ptr noundef, i8 noundef signext) #2 declare i64 @isblank(i8 noundef signext) #2 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg__udn_9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [42 x i8] c"The section or node name pointer is null\0A\00", align 1 @EINVAL = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @EFAULT = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_value(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %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 ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca [40 x i8], align 16 %13 = alloca [40 x i8], align 16 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 call void @llvm.memset.p0.i64(ptr align 16 %12, i8 0, i64 40, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %13, i8 0, i64 40, i1 false) %14 = load ptr, ptr %5, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %19, label %16 16: ; preds = %3 %17 = load ptr, ptr %6, align 8 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %23 19: ; preds = %16, %3 %20 = call i32 @printf(ptr noundef @.str) %21 = load i32, ptr @EINVAL, align 4 %22 = sub nsw i32 0, %21 store i32 %22, ptr %4, align 4 br label %102 23: ; preds = %16 %24 = getelementptr inbounds [40 x i8], ptr %12, i64 0, i64 0 %25 = load ptr, ptr %6, align 8 %26 = call i32 @strlen(ptr noundef %25) %27 = add nsw i32 %26, 1 %28 = load ptr, ptr %6, align 8 %29 = call i32 @snprintf(ptr noundef %24, i32 noundef %27, ptr noundef @.str.1, ptr noundef %28) %30 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 store ptr %30, ptr %11, align 8 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds [40 x i8], ptr %12, i64 0, i64 0 %33 = call ptr @strstr(ptr noundef %31, ptr noundef %32) store ptr %33, ptr %9, align 8 %34 = load ptr, ptr %9, align 8 %35 = icmp eq ptr %34, null br i1 %35, label %36, label %39 36: ; preds = %23 %37 = load i32, ptr @EFAULT, align 4 %38 = sub nsw i32 0, %37 store i32 %38, ptr %4, align 4 br label %102 39: ; preds = %23 %40 = getelementptr inbounds [40 x i8], ptr %12, i64 0, i64 0 %41 = call i32 @strlen(ptr noundef %40) %42 = load ptr, ptr %9, align 8 %43 = sext i32 %41 to i64 %44 = getelementptr inbounds i8, ptr %42, i64 %43 store ptr %44, ptr %9, align 8 %45 = load ptr, ptr %9, align 8 %46 = call ptr @strchr(ptr noundef %45, i8 noundef signext 10) store ptr %46, ptr %10, align 8 br label %47 47: ; preds = %59, %39 %48 = load ptr, ptr %9, align 8 %49 = load i8, ptr %48, align 1 %50 = call i64 @isblank(i8 noundef signext %49) %51 = icmp ne i64 %50, 0 br i1 %51, label %57, label %52 52: ; preds = %47 %53 = load ptr, ptr %9, align 8 %54 = load i8, ptr %53, align 1 %55 = sext i8 %54 to i32 %56 = icmp eq i32 %55, 61 br label %57 57: ; preds = %52, %47 %58 = phi i1 [ true, %47 ], [ %56, %52 ] br i1 %58, label %59, label %62 59: ; preds = %57 %60 = load ptr, ptr %9, align 8 %61 = getelementptr inbounds i8, ptr %60, i32 1 store ptr %61, ptr %9, align 8 br label %47, !llvm.loop !6 62: ; preds = %57 %63 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %64 = load ptr, ptr %9, align 8 %65 = load ptr, ptr %10, align 8 %66 = load ptr, ptr %9, align 8 %67 = ptrtoint ptr %65 to i64 %68 = ptrtoint ptr %66 to i64 %69 = sub i64 %67, %68 %70 = trunc i64 %69 to i32 %71 = call i32 @strncpy(ptr noundef %63, ptr noundef %64, i32 noundef %70) store i32 0, ptr %8, align 4 %72 = load i32, ptr %8, align 4 %73 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %74 = call i32 @strlen(ptr noundef %73) %75 = icmp slt i32 %72, %74 br i1 %75, label %.lr.ph, label %96 .lr.ph: ; preds = %62 br label %76 76: ; preds = %.lr.ph, %90 %77 = load ptr, ptr %11, align 8 %78 = load i32, ptr %8, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds i8, ptr %77, i64 %79 %81 = load i8, ptr %80, align 1 %82 = call i64 @isblank(i8 noundef signext %81) %83 = icmp ne i64 %82, 0 br i1 %83, label %84, label %89 84: ; preds = %76 %85 = load ptr, ptr %11, align 8 %86 = load i32, ptr %8, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds i8, ptr %85, i64 %87 store i8 0, ptr %88, align 1 br label %89 89: ; preds = %84, %76 br label %90 90: ; preds = %89 %91 = load i32, ptr %8, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %8, align 4 %93 = load i32, ptr %8, align 4 %94 = call i32 @strlen(ptr noundef %73) %95 = icmp slt i32 %93, %94 br i1 %95, label %76, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %90 br label %96 96: ; preds = %._crit_edge, %62 %97 = load ptr, ptr %7, align 8 %98 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %99 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %100 = call i32 @strlen(ptr noundef %99) %101 = call i32 @memcpy(ptr noundef %97, ptr noundef %98, i32 noundef %100) store i32 0, ptr %4, align 4 br label %102 102: ; preds = %96, %36, %19 %103 = load i32, ptr %4, align 4 ret i32 %103 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @printf(ptr noundef) #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @strlen(ptr noundef) #2 declare ptr @strstr(ptr noundef, ptr noundef) #2 declare ptr @strchr(ptr noundef, i8 noundef signext) #2 declare i64 @isblank(i8 noundef signext) #2 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp96iinheq.c' source_filename = "/tmp/tmp96iinheq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"halt\00", align 1 @RB_HALT_SYSTEM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"kexec\00", align 1 @RB_KEXEC = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [9 x i8] c"poweroff\00", align 1 @RB_POWER_OFF = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [7 x i8] c"reboot\00", align 1 @RB_AUTOBOOT = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [8 x i8] c"suspend\00", align 1 @RB_SW_SUSPEND = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [352 x i8] c"Usage: %s ACTION\0AActions:\0A halt halt the machine\0A kexec jump to a new kernel loaded for kexec\0A poweroff switch off the machine\0A reboot restart the machine\0A suspend hibernate the machine to disk\0AAll actions are performed immediately without flushing buffers or a\0Agraceful shutdown. Data may be lost on unsynced mounted filesystems.\0A\00", align 1 @EX_USAGE = 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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp eq i32 %6, 2 br i1 %7, label %8, label %17 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 1 %11 = load ptr, ptr %10, align 8 %12 = call i32 @strcmp(ptr noundef %11, ptr noundef @.str) %13 = icmp ne i32 %12, 0 br i1 %13, label %17, label %14 14: ; preds = %8 %15 = load i32, ptr @RB_HALT_SYSTEM, align 4 %16 = call i32 @reboot(i32 noundef %15) store i32 %16, ptr %3, align 4 br label %83 17: ; preds = %8, %2 %18 = load i32, ptr %4, align 4 %19 = icmp eq i32 %18, 2 br i1 %19, label %20, label %29 20: ; preds = %17 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 1 %23 = load ptr, ptr %22, align 8 %24 = call i32 @strcmp(ptr noundef %23, ptr noundef @.str.1) %25 = icmp ne i32 %24, 0 br i1 %25, label %29, label %26 26: ; preds = %20 %27 = load i32, ptr @RB_KEXEC, align 4 %28 = call i32 @reboot(i32 noundef %27) store i32 %28, ptr %3, align 4 br label %83 29: ; preds = %20, %17 %30 = load i32, ptr %4, align 4 %31 = icmp eq i32 %30, 2 br i1 %31, label %32, label %48 32: ; preds = %29 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds ptr, ptr %33, i64 1 %35 = load ptr, ptr %34, align 8 %36 = call i32 @strcmp(ptr noundef %35, ptr noundef @.str.2) %37 = icmp ne i32 %36, 0 br i1 %37, label %48, label %38 38: ; preds = %32 %39 = call i64 (...) @fork() %40 = icmp sgt i64 %39, 0 br i1 %40, label %41, label %43 41: ; preds = %38 %42 = call i32 (...) @pause() br label %46 43: ; preds = %38 %44 = load i32, ptr @RB_POWER_OFF, align 4 %45 = call i32 @reboot(i32 noundef %44) br label %46 46: ; preds = %43, %41 %47 = phi i32 [ %42, %41 ], [ %45, %43 ] store i32 %47, ptr %3, align 4 br label %83 48: ; preds = %32, %29 %49 = load i32, ptr %4, align 4 %50 = icmp eq i32 %49, 2 br i1 %50, label %51, label %60 51: ; preds = %48 %52 = load ptr, ptr %5, align 8 %53 = getelementptr inbounds ptr, ptr %52, i64 1 %54 = load ptr, ptr %53, align 8 %55 = call i32 @strcmp(ptr noundef %54, ptr noundef @.str.3) %56 = icmp ne i32 %55, 0 br i1 %56, label %60, label %57 57: ; preds = %51 %58 = load i32, ptr @RB_AUTOBOOT, align 4 %59 = call i32 @reboot(i32 noundef %58) store i32 %59, ptr %3, align 4 br label %83 60: ; preds = %51, %48 %61 = load i32, ptr %4, align 4 %62 = icmp eq i32 %61, 2 br i1 %62, label %63, label %72 63: ; preds = %60 %64 = load ptr, ptr %5, align 8 %65 = getelementptr inbounds ptr, ptr %64, i64 1 %66 = load ptr, ptr %65, align 8 %67 = call i32 @strcmp(ptr noundef %66, ptr noundef @.str.4) %68 = icmp ne i32 %67, 0 br i1 %68, label %72, label %69 69: ; preds = %63 %70 = load i32, ptr @RB_SW_SUSPEND, align 4 %71 = call i32 @reboot(i32 noundef %70) store i32 %71, ptr %3, align 4 br label %83 72: ; preds = %63, %60 br label %73 73: ; preds = %72 br label %74 74: ; preds = %73 br label %75 75: ; preds = %74 br label %76 76: ; preds = %75 %77 = load i32, ptr @stderr, align 4 %78 = load ptr, ptr %5, align 8 %79 = getelementptr inbounds ptr, ptr %78, i64 0 %80 = load ptr, ptr %79, align 8 %81 = call i32 @fprintf(i32 noundef %77, ptr noundef @.str.5, ptr noundef %80) %82 = load i32, ptr @EX_USAGE, align 4 store i32 %82, ptr %3, align 4 br label %83 83: ; preds = %76, %69, %57, %46, %26, %14 %84 = load i32, ptr %3, align 4 ret i32 %84 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @reboot(i32 noundef) #1 declare i64 @fork(...) #1 declare i32 @pause(...) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp96iinheq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"halt\00", align 1 @RB_HALT_SYSTEM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"kexec\00", align 1 @RB_KEXEC = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [9 x i8] c"poweroff\00", align 1 @RB_POWER_OFF = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [7 x i8] c"reboot\00", align 1 @RB_AUTOBOOT = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [8 x i8] c"suspend\00", align 1 @RB_SW_SUSPEND = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [352 x i8] c"Usage: %s ACTION\0AActions:\0A halt halt the machine\0A kexec jump to a new kernel loaded for kexec\0A poweroff switch off the machine\0A reboot restart the machine\0A suspend hibernate the machine to disk\0AAll actions are performed immediately without flushing buffers or a\0Agraceful shutdown. Data may be lost on unsynced mounted filesystems.\0A\00", align 1 @EX_USAGE = 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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp eq i32 %6, 2 br i1 %7, label %8, label %17 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 1 %11 = load ptr, ptr %10, align 8 %12 = call i32 @strcmp(ptr noundef %11, ptr noundef @.str) %13 = icmp ne i32 %12, 0 br i1 %13, label %17, label %14 14: ; preds = %8 %15 = load i32, ptr @RB_HALT_SYSTEM, align 4 %16 = call i32 @reboot(i32 noundef %15) store i32 %16, ptr %3, align 4 br label %83 17: ; preds = %8, %2 %18 = load i32, ptr %4, align 4 %19 = icmp eq i32 %18, 2 br i1 %19, label %20, label %29 20: ; preds = %17 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 1 %23 = load ptr, ptr %22, align 8 %24 = call i32 @strcmp(ptr noundef %23, ptr noundef @.str.1) %25 = icmp ne i32 %24, 0 br i1 %25, label %29, label %26 26: ; preds = %20 %27 = load i32, ptr @RB_KEXEC, align 4 %28 = call i32 @reboot(i32 noundef %27) store i32 %28, ptr %3, align 4 br label %83 29: ; preds = %20, %17 %30 = load i32, ptr %4, align 4 %31 = icmp eq i32 %30, 2 br i1 %31, label %32, label %48 32: ; preds = %29 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds ptr, ptr %33, i64 1 %35 = load ptr, ptr %34, align 8 %36 = call i32 @strcmp(ptr noundef %35, ptr noundef @.str.2) %37 = icmp ne i32 %36, 0 br i1 %37, label %48, label %38 38: ; preds = %32 %39 = call i64 (...) @fork() %40 = icmp sgt i64 %39, 0 br i1 %40, label %41, label %43 41: ; preds = %38 %42 = call i32 (...) @pause() br label %46 43: ; preds = %38 %44 = load i32, ptr @RB_POWER_OFF, align 4 %45 = call i32 @reboot(i32 noundef %44) br label %46 46: ; preds = %43, %41 %47 = phi i32 [ %42, %41 ], [ %45, %43 ] store i32 %47, ptr %3, align 4 br label %83 48: ; preds = %32, %29 %49 = load i32, ptr %4, align 4 %50 = icmp eq i32 %49, 2 br i1 %50, label %51, label %60 51: ; preds = %48 %52 = load ptr, ptr %5, align 8 %53 = getelementptr inbounds ptr, ptr %52, i64 1 %54 = load ptr, ptr %53, align 8 %55 = call i32 @strcmp(ptr noundef %54, ptr noundef @.str.3) %56 = icmp ne i32 %55, 0 br i1 %56, label %60, label %57 57: ; preds = %51 %58 = load i32, ptr @RB_AUTOBOOT, align 4 %59 = call i32 @reboot(i32 noundef %58) store i32 %59, ptr %3, align 4 br label %83 60: ; preds = %51, %48 %61 = load i32, ptr %4, align 4 %62 = icmp eq i32 %61, 2 br i1 %62, label %63, label %72 63: ; preds = %60 %64 = load ptr, ptr %5, align 8 %65 = getelementptr inbounds ptr, ptr %64, i64 1 %66 = load ptr, ptr %65, align 8 %67 = call i32 @strcmp(ptr noundef %66, ptr noundef @.str.4) %68 = icmp ne i32 %67, 0 br i1 %68, label %72, label %69 69: ; preds = %63 %70 = load i32, ptr @RB_SW_SUSPEND, align 4 %71 = call i32 @reboot(i32 noundef %70) store i32 %71, ptr %3, align 4 br label %83 72: ; preds = %63, %60 br label %73 73: ; preds = %72 br label %74 74: ; preds = %73 br label %75 75: ; preds = %74 br label %76 76: ; preds = %75 %77 = load i32, ptr @stderr, align 4 %78 = load ptr, ptr %5, align 8 %79 = getelementptr inbounds ptr, ptr %78, i64 0 %80 = load ptr, ptr %79, align 8 %81 = call i32 @fprintf(i32 noundef %77, ptr noundef @.str.5, ptr noundef %80) %82 = load i32, ptr @EX_USAGE, align 4 store i32 %82, ptr %3, align 4 br label %83 83: ; preds = %76, %69, %57, %46, %26, %14 %84 = load i32, ptr %3, align 4 ret i32 %84 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @reboot(i32 noundef) #1 declare i64 @fork(...) #1 declare i32 @pause(...) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2cz1_tcj.c' source_filename = "/tmp/tmp2cz1_tcj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"errno: %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 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 @errno, align 4 %6 = load i32, ptr @errno, align 4 %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) 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/tmp2cz1_tcj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"errno: %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 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 @errno, align 4 %6 = load i32, ptr @errno, align 4 %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) 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/tmpl7kmov5u.c' source_filename = "/tmp/tmpl7kmov5u.c" target datalayout = "e-m:e-p270: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.dirent = type { ptr, i64 } @.str = private unnamed_addr constant [2 x i8] c".\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"..\00", align 1 @DT_DIR = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @filter_directories(ptr 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 %5 = load ptr, ptr %3, align 8 %6 = getelementptr inbounds %struct.dirent, ptr %5, i32 0, i32 0 %7 = load ptr, ptr %6, align 8 %8 = getelementptr inbounds i8, ptr %7, i64 0 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = icmp eq i32 %10, 46 br i1 %11, label %26, label %12 12: ; preds = %1 %13 = load ptr, ptr %3, align 8 %14 = getelementptr inbounds %struct.dirent, ptr %13, i32 0, i32 0 %15 = load ptr, ptr %14, align 8 %16 = call i64 @strcmp(ptr noundef %15, ptr noundef @.str) %17 = icmp eq i64 %16, 0 br i1 %17, label %24, label %18 18: ; preds = %12 %19 = load ptr, ptr %3, align 8 %20 = getelementptr inbounds %struct.dirent, ptr %19, i32 0, i32 0 %21 = load ptr, ptr %20, align 8 %22 = call i64 @strcmp(ptr noundef %21, ptr noundef @.str.1) %23 = icmp eq i64 %22, 0 br label %24 24: ; preds = %18, %12 %25 = phi i1 [ true, %12 ], [ %23, %18 ] br label %26 26: ; preds = %24, %1 %27 = phi i1 [ true, %1 ], [ %25, %24 ] %28 = zext i1 %27 to i32 store i32 %28, ptr %4, align 4 %29 = load i32, ptr %4, align 4 %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %38 31: ; preds = %26 %32 = load ptr, ptr %3, align 8 %33 = getelementptr inbounds %struct.dirent, ptr %32, i32 0, i32 1 %34 = load i64, ptr %33, align 8 %35 = load i64, ptr @DT_DIR, align 8 %36 = icmp eq i64 %34, %35 br i1 %36, label %37, label %38 37: ; preds = %31 store i32 0, ptr %2, align 4 br label %46 38: ; preds = %31, %26 %39 = load ptr, ptr %3, align 8 %40 = getelementptr inbounds %struct.dirent, ptr %39, i32 0, i32 1 %41 = load i64, ptr %40, align 8 %42 = load i64, ptr @DT_DIR, align 8 %43 = icmp eq i64 %41, %42 br i1 %43, label %44, label %45 44: ; preds = %38 store i32 1, ptr %2, align 4 br label %46 45: ; preds = %38 store i32 0, ptr %2, align 4 br label %46 46: ; preds = %45, %44, %37 %47 = load i32, ptr %2, align 4 ret i32 %47 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl7kmov5u.c" target datalayout = "e-m:e-p270: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.dirent = type { ptr, i64 } @.str = private unnamed_addr constant [2 x i8] c".\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"..\00", align 1 @DT_DIR = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @filter_directories(ptr 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 %5 = load ptr, ptr %3, align 8 %6 = getelementptr inbounds %struct.dirent, ptr %5, i32 0, i32 0 %7 = load ptr, ptr %6, align 8 %8 = getelementptr inbounds i8, ptr %7, i64 0 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = icmp eq i32 %10, 46 br i1 %11, label %26, label %12 12: ; preds = %1 %13 = load ptr, ptr %3, align 8 %14 = getelementptr inbounds %struct.dirent, ptr %13, i32 0, i32 0 %15 = load ptr, ptr %14, align 8 %16 = call i64 @strcmp(ptr noundef %15, ptr noundef @.str) %17 = icmp eq i64 %16, 0 br i1 %17, label %24, label %18 18: ; preds = %12 %19 = load ptr, ptr %3, align 8 %20 = getelementptr inbounds %struct.dirent, ptr %19, i32 0, i32 0 %21 = load ptr, ptr %20, align 8 %22 = call i64 @strcmp(ptr noundef %21, ptr noundef @.str.1) %23 = icmp eq i64 %22, 0 br label %24 24: ; preds = %18, %12 %25 = phi i1 [ true, %12 ], [ %23, %18 ] br label %26 26: ; preds = %24, %1 %27 = phi i1 [ true, %1 ], [ %25, %24 ] %28 = zext i1 %27 to i32 store i32 %28, ptr %4, align 4 %29 = load i32, ptr %4, align 4 %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %38 31: ; preds = %26 %32 = load ptr, ptr %3, align 8 %33 = getelementptr inbounds %struct.dirent, ptr %32, i32 0, i32 1 %34 = load i64, ptr %33, align 8 %35 = load i64, ptr @DT_DIR, align 8 %36 = icmp eq i64 %34, %35 br i1 %36, label %37, label %38 37: ; preds = %31 store i32 0, ptr %2, align 4 br label %46 38: ; preds = %31, %26 %39 = load ptr, ptr %3, align 8 %40 = getelementptr inbounds %struct.dirent, ptr %39, i32 0, i32 1 %41 = load i64, ptr %40, align 8 %42 = load i64, ptr @DT_DIR, align 8 %43 = icmp eq i64 %41, %42 br i1 %43, label %44, label %45 44: ; preds = %38 store i32 1, ptr %2, align 4 br label %46 45: ; preds = %38 store i32 0, ptr %2, align 4 br label %46 46: ; preds = %45, %44, %37 %47 = load i32, ptr %2, align 4 ret i32 %47 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgc_ckzvl.c' source_filename = "/tmp/tmpgc_ckzvl.c" target datalayout = "e-m:e-p270: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/tmpgc_ckzvl.c" target datalayout = "e-m:e-p270: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/tmpwdu06w80.c' source_filename = "/tmp/tmpwdu06w80.c" target datalayout = "e-m:e-p270: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/tmpwdu06w80.c" target datalayout = "e-m:e-p270: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/tmpay16n36v.c' source_filename = "/tmp/tmpay16n36v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"cls\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"\0A::Queue Operations::\0A\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"1. Insert in Queue\0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"2. Delete from Queue\0A\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"3. Display Queue\0A\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"4. Exit\0A\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"Enter Your choice: \00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.8 = private unnamed_addr constant [29 x i8] c"\0AEnter the value to insert: \00", align 1 @.str.9 = private unnamed_addr constant [14 x i8] c"\0AExiting....\0A\00", align 1 @.str.10 = private unnamed_addr constant [16 x i8] c"\0AWrong Choice!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 -1, ptr %3, align 4 store i32 -1, ptr %4, align 4 %7 = call i32 @system(ptr noundef @.str) br label %8 8: ; preds = %0, %35 store i32 0, ptr %5, align 4 store i32 -1, ptr %6, align 4 %9 = call i32 @printf(ptr noundef @.str.1) %10 = call i32 @printf(ptr noundef @.str.2) %11 = call i32 @printf(ptr noundef @.str.3) %12 = call i32 @printf(ptr noundef @.str.4) %13 = call i32 @printf(ptr noundef @.str.5) %14 = call i32 @printf(ptr noundef @.str.6) %15 = call i32 @scanf(ptr noundef @.str.7, ptr noundef %5) %16 = load i32, ptr %5, align 4 switch i32 %16, label %33 [ i32 1, label %17 i32 2, label %23 i32 3, label %26 i32 4, label %31 ] 17: ; preds = %8 %18 = call i32 @printf(ptr noundef @.str.8) %19 = call i32 @scanf(ptr noundef @.str.7, ptr noundef %6) %20 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0 %21 = load i32, ptr %6, align 4 %22 = call i32 @enqueue(ptr noundef %20, ptr noundef %3, ptr noundef %4, i32 noundef %21) br label %35 23: ; preds = %8 %24 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0 %25 = call i32 @dequeue(ptr noundef %24, ptr noundef %3, ptr noundef %4) br label %35 26: ; preds = %8 %27 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0 %28 = load i32, ptr %3, align 4 %29 = load i32, ptr %4, align 4 %30 = call i32 @display(ptr noundef %27, i32 noundef %28, i32 noundef %29) br label %35 31: ; preds = %8 %32 = call i32 @printf(ptr noundef @.str.9) ret i32 0 33: ; preds = %8 %34 = call i32 @printf(ptr noundef @.str.10) br label %35 35: ; preds = %33, %26, %23, %17 br label %8 } declare i32 @system(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @enqueue(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @dequeue(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @display(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/tmpay16n36v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"cls\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"\0A::Queue Operations::\0A\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"1. Insert in Queue\0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"2. Delete from Queue\0A\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"3. Display Queue\0A\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"4. Exit\0A\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"Enter Your choice: \00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.8 = private unnamed_addr constant [29 x i8] c"\0AEnter the value to insert: \00", align 1 @.str.9 = private unnamed_addr constant [14 x i8] c"\0AExiting....\0A\00", align 1 @.str.10 = private unnamed_addr constant [16 x i8] c"\0AWrong Choice!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 -1, ptr %3, align 4 store i32 -1, ptr %4, align 4 %7 = call i32 @system(ptr noundef @.str) br label %8 8: ; preds = %35, %0 store i32 0, ptr %5, align 4 store i32 -1, ptr %6, align 4 %9 = call i32 @printf(ptr noundef @.str.1) %10 = call i32 @printf(ptr noundef @.str.2) %11 = call i32 @printf(ptr noundef @.str.3) %12 = call i32 @printf(ptr noundef @.str.4) %13 = call i32 @printf(ptr noundef @.str.5) %14 = call i32 @printf(ptr noundef @.str.6) %15 = call i32 @scanf(ptr noundef @.str.7, ptr noundef %5) %16 = load i32, ptr %5, align 4 switch i32 %16, label %33 [ i32 1, label %17 i32 2, label %23 i32 3, label %26 i32 4, label %31 ] 17: ; preds = %8 %18 = call i32 @printf(ptr noundef @.str.8) %19 = call i32 @scanf(ptr noundef @.str.7, ptr noundef %6) %20 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0 %21 = load i32, ptr %6, align 4 %22 = call i32 @enqueue(ptr noundef %20, ptr noundef %3, ptr noundef %4, i32 noundef %21) br label %35 23: ; preds = %8 %24 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0 %25 = call i32 @dequeue(ptr noundef %24, ptr noundef %3, ptr noundef %4) br label %35 26: ; preds = %8 %27 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0 %28 = load i32, ptr %3, align 4 %29 = load i32, ptr %4, align 4 %30 = call i32 @display(ptr noundef %27, i32 noundef %28, i32 noundef %29) br label %35 31: ; preds = %8 %32 = call i32 @printf(ptr noundef @.str.9) ret i32 0 33: ; preds = %8 %34 = call i32 @printf(ptr noundef @.str.10) br label %35 35: ; preds = %33, %26, %23, %17 br label %8 } declare i32 @system(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @enqueue(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @dequeue(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @display(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/tmpa2xg14so.c' source_filename = "/tmp/tmpa2xg14so.c" target datalayout = "e-m:e-p270: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/tmpa2xg14so.c" target datalayout = "e-m:e-p270: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/tmpgbtzeeqd.c' source_filename = "/tmp/tmpgbtzeeqd.c" target datalayout = "e-m:e-p270: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 [30 x i8] c"undefined function is called\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @undefined() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = call i32 (...) @abort() #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgbtzeeqd.c" target datalayout = "e-m:e-p270: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 [30 x i8] c"undefined function is called\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @undefined() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = call i32 (...) @abort() #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp23ty2s2b.c' source_filename = "/tmp/tmp23ty2s2b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"Error, missing argument !\0A\00", align 1 @.str.1 = private unnamed_addr constant [64 x i8] c"Error: only one argument required, but received %d arguments !\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"simu\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"ctrl\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"simu_sync\00", align 1 @.str.5 = private unnamed_addr constant [10 x i8] c"ctrl_sync\00", align 1 @.str.6 = private unnamed_addr constant [36 x i8] c"Error: %s is not a good argument !\0A\00", align 1 @.str.7 = private unnamed_addr constant [77 x i8] c"Arguments accepted: 'simu', 'ctrl', 'simu_sync' or 'ctrl_sync' (without '')\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 2 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %60 10: ; preds = %2 %11 = load i32, ptr %4, align 4 %12 = icmp sgt i32 %11, 2 br i1 %12, label %13, label %17 13: ; preds = %10 %14 = load i32, ptr %4, align 4 %15 = sub nsw i32 %14, 1 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %15) br label %59 17: ; preds = %10 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = load ptr, ptr %19, align 8 %21 = call i32 @strcmp(ptr noundef %20, ptr noundef @.str.2) %22 = icmp ne i32 %21, 0 br i1 %22, label %25, label %23 23: ; preds = %17 %24 = call i32 (...) @generate_user_sf_IO() br label %58 25: ; preds = %17 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 1 %28 = load ptr, ptr %27, align 8 %29 = call i32 @strcmp(ptr noundef %28, ptr noundef @.str.3) %30 = icmp ne i32 %29, 0 br i1 %30, label %33, label %31 31: ; preds = %25 %32 = call i32 (...) @generate_ControllersStruct() br label %57 33: ; preds = %25 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 1 %36 = load ptr, ptr %35, align 8 %37 = call i32 @strcmp(ptr noundef %36, ptr noundef @.str.4) %38 = icmp ne i32 %37, 0 br i1 %38, label %41, label %39 39: ; preds = %33 %40 = call i32 (...) @generate_simu_variables_m() br label %56 41: ; preds = %33 %42 = load ptr, ptr %5, align 8 %43 = getelementptr inbounds ptr, ptr %42, i64 1 %44 = load ptr, ptr %43, align 8 %45 = call i32 @strcmp(ptr noundef %44, ptr noundef @.str.5) %46 = icmp ne i32 %45, 0 br i1 %46, label %49, label %47 47: ; preds = %41 %48 = call i32 (...) @generate_control_variables_m() br label %55 49: ; preds = %41 %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 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %52) %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %55 55: ; preds = %49, %47 br label %56 56: ; preds = %55, %39 br label %57 57: ; preds = %56, %31 br label %58 58: ; preds = %57, %23 br label %59 59: ; preds = %58, %13 br label %60 60: ; preds = %59, %8 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @generate_user_sf_IO(...) #1 declare i32 @generate_ControllersStruct(...) #1 declare i32 @generate_simu_variables_m(...) #1 declare i32 @generate_control_variables_m(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp23ty2s2b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"Error, missing argument !\0A\00", align 1 @.str.1 = private unnamed_addr constant [64 x i8] c"Error: only one argument required, but received %d arguments !\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"simu\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"ctrl\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"simu_sync\00", align 1 @.str.5 = private unnamed_addr constant [10 x i8] c"ctrl_sync\00", align 1 @.str.6 = private unnamed_addr constant [36 x i8] c"Error: %s is not a good argument !\0A\00", align 1 @.str.7 = private unnamed_addr constant [77 x i8] c"Arguments accepted: 'simu', 'ctrl', 'simu_sync' or 'ctrl_sync' (without '')\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 2 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %60 10: ; preds = %2 %11 = load i32, ptr %4, align 4 %12 = icmp sgt i32 %11, 2 br i1 %12, label %13, label %17 13: ; preds = %10 %14 = load i32, ptr %4, align 4 %15 = sub nsw i32 %14, 1 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %15) br label %59 17: ; preds = %10 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = load ptr, ptr %19, align 8 %21 = call i32 @strcmp(ptr noundef %20, ptr noundef @.str.2) %22 = icmp ne i32 %21, 0 br i1 %22, label %25, label %23 23: ; preds = %17 %24 = call i32 (...) @generate_user_sf_IO() br label %58 25: ; preds = %17 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 1 %28 = load ptr, ptr %27, align 8 %29 = call i32 @strcmp(ptr noundef %28, ptr noundef @.str.3) %30 = icmp ne i32 %29, 0 br i1 %30, label %33, label %31 31: ; preds = %25 %32 = call i32 (...) @generate_ControllersStruct() br label %57 33: ; preds = %25 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 1 %36 = load ptr, ptr %35, align 8 %37 = call i32 @strcmp(ptr noundef %36, ptr noundef @.str.4) %38 = icmp ne i32 %37, 0 br i1 %38, label %41, label %39 39: ; preds = %33 %40 = call i32 (...) @generate_simu_variables_m() br label %56 41: ; preds = %33 %42 = load ptr, ptr %5, align 8 %43 = getelementptr inbounds ptr, ptr %42, i64 1 %44 = load ptr, ptr %43, align 8 %45 = call i32 @strcmp(ptr noundef %44, ptr noundef @.str.5) %46 = icmp ne i32 %45, 0 br i1 %46, label %49, label %47 47: ; preds = %41 %48 = call i32 (...) @generate_control_variables_m() br label %55 49: ; preds = %41 %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 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %52) %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %55 55: ; preds = %49, %47 br label %56 56: ; preds = %55, %39 br label %57 57: ; preds = %56, %31 br label %58 58: ; preds = %57, %23 br label %59 59: ; preds = %58, %13 br label %60 60: ; preds = %59, %8 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @generate_user_sf_IO(...) #1 declare i32 @generate_ControllersStruct(...) #1 declare i32 @generate_simu_variables_m(...) #1 declare i32 @generate_control_variables_m(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsrwq0k1a.c' source_filename = "/tmp/tmpsrwq0k1a.c" target datalayout = "e-m:e-p270: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/tmpsrwq0k1a.c" target datalayout = "e-m:e-p270: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/tmpt6kv0tn4.c' source_filename = "/tmp/tmpt6kv0tn4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"result was %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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @function() %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @function(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt6kv0tn4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"result was %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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @function() %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @function(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpju4bg1p6.c' source_filename = "/tmp/tmpju4bg1p6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Defend the east wall of the castle.\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"cdefghijklmnopqrstuvwxyzab\00", align 1 @.str.2 = private unnamed_addr constant [55 x i8] c"-->original: %s\0A-->ciphertext: %s\0A-->plaintext: %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"PAUSE\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 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 ptr @.str, ptr %6, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i64 @strlen(ptr noundef %9) %11 = add nsw i64 %10, 1 %12 = call ptr @malloc(i64 noundef %11) store ptr %12, ptr %7, align 8 %13 = load ptr, ptr %6, align 8 %14 = call i64 @strlen(ptr noundef %13) %15 = add nsw i64 %14, 1 %16 = call ptr @malloc(i64 noundef %15) store ptr %16, ptr %8, align 8 %17 = load ptr, ptr %6, align 8 %18 = load ptr, ptr %7, align 8 %19 = call i32 @simplesub_encipher(ptr noundef @.str.1, ptr noundef %17, ptr noundef %18) %20 = load ptr, ptr %7, align 8 %21 = load ptr, ptr %8, align 8 %22 = call i32 @simplesub_decipher(ptr noundef @.str.1, ptr noundef %20, ptr noundef %21) %23 = load ptr, ptr %6, align 8 %24 = load ptr, ptr %7, align 8 %25 = load ptr, ptr %8, align 8 %26 = call i32 @printf(ptr noundef @.str.2, ptr noundef %23, ptr noundef %24, ptr noundef %25) %27 = load ptr, ptr %7, align 8 %28 = call i32 @free(ptr noundef %27) %29 = load ptr, ptr %8, align 8 %30 = call i32 @free(ptr noundef %29) %31 = call i32 @system(ptr noundef @.str.3) ret i32 0 } declare ptr @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @simplesub_encipher(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @simplesub_decipher(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpju4bg1p6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Defend the east wall of the castle.\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"cdefghijklmnopqrstuvwxyzab\00", align 1 @.str.2 = private unnamed_addr constant [55 x i8] c"-->original: %s\0A-->ciphertext: %s\0A-->plaintext: %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"PAUSE\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 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 ptr @.str, ptr %6, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i64 @strlen(ptr noundef %9) %11 = add nsw i64 %10, 1 %12 = call ptr @malloc(i64 noundef %11) store ptr %12, ptr %7, align 8 %13 = load ptr, ptr %6, align 8 %14 = call i64 @strlen(ptr noundef %13) %15 = add nsw i64 %14, 1 %16 = call ptr @malloc(i64 noundef %15) store ptr %16, ptr %8, align 8 %17 = load ptr, ptr %6, align 8 %18 = load ptr, ptr %7, align 8 %19 = call i32 @simplesub_encipher(ptr noundef @.str.1, ptr noundef %17, ptr noundef %18) %20 = load ptr, ptr %7, align 8 %21 = load ptr, ptr %8, align 8 %22 = call i32 @simplesub_decipher(ptr noundef @.str.1, ptr noundef %20, ptr noundef %21) %23 = load ptr, ptr %6, align 8 %24 = load ptr, ptr %7, align 8 %25 = load ptr, ptr %8, align 8 %26 = call i32 @printf(ptr noundef @.str.2, ptr noundef %23, ptr noundef %24, ptr noundef %25) %27 = load ptr, ptr %7, align 8 %28 = call i32 @free(ptr noundef %27) %29 = load ptr, ptr %8, align 8 %30 = call i32 @free(ptr noundef %29) %31 = call i32 @system(ptr noundef @.str.3) ret i32 0 } declare ptr @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @simplesub_encipher(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @simplesub_decipher(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp95b7s71o.c' source_filename = "/tmp/tmp95b7s71o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f1(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call ptr @f2(ptr noundef %3) ret ptr %4 } declare ptr @f2(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp95b7s71o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f1(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call ptr @f2(ptr noundef %3) ret ptr %4 } declare ptr @f2(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpoj2nhjjv.c' source_filename = "/tmp/tmpoj2nhjjv.c" target datalayout = "e-m:e-p270: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/tmpoj2nhjjv.c" target datalayout = "e-m:e-p270: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/tmphypcixkl.c' source_filename = "/tmp/tmphypcixkl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"BAD ARGUMENT\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cmd_keyok(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %7 = load i32, ptr %3, align 4 %8 = call i32 @check_arg_count(i32 noundef %7, i32 noundef 2) %9 = icmp eq i32 %8, 1 br i1 %9, label %10, label %11 10: ; preds = %2 br label %35 11: ; preds = %2 %12 = load ptr, ptr %4, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 0 %14 = load ptr, ptr %13, align 8 %15 = call i64 @sscanf(ptr noundef %14, ptr noundef @.str, ptr noundef %5) %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %11 %18 = call i32 @report_count(i32 noundef 1) %19 = call i32 @report_error(ptr noundef @.str.1) br label %35 20: ; preds = %11 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 1 %23 = load ptr, ptr %22, align 8 %24 = call i64 @sscanf(ptr noundef %23, ptr noundef @.str, ptr noundef %6) %25 = icmp eq i64 %24, 0 br i1 %25, label %26, label %29 26: ; preds = %20 %27 = call i32 @report_count(i32 noundef 1) %28 = call i32 @report_error(ptr noundef @.str.1) br label %35 29: ; preds = %20 %30 = call i32 @report_count(i32 noundef 1) %31 = load i32, ptr %5, align 4 %32 = load i32, ptr %6, align 4 %33 = call i32 @keyok(i32 noundef %31, i32 noundef %32) %34 = call i32 @report_return(i32 noundef %33) br label %35 35: ; preds = %29, %26, %17, %10 ret void } declare i32 @check_arg_count(i32 noundef, i32 noundef) #1 declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @report_count(i32 noundef) #1 declare i32 @report_error(ptr noundef) #1 declare i32 @report_return(i32 noundef) #1 declare i32 @keyok(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/tmphypcixkl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"BAD ARGUMENT\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cmd_keyok(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %7 = load i32, ptr %3, align 4 %8 = call i32 @check_arg_count(i32 noundef %7, i32 noundef 2) %9 = icmp eq i32 %8, 1 br i1 %9, label %10, label %11 10: ; preds = %2 br label %35 11: ; preds = %2 %12 = load ptr, ptr %4, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 0 %14 = load ptr, ptr %13, align 8 %15 = call i64 @sscanf(ptr noundef %14, ptr noundef @.str, ptr noundef %5) %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %11 %18 = call i32 @report_count(i32 noundef 1) %19 = call i32 @report_error(ptr noundef @.str.1) br label %35 20: ; preds = %11 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 1 %23 = load ptr, ptr %22, align 8 %24 = call i64 @sscanf(ptr noundef %23, ptr noundef @.str, ptr noundef %6) %25 = icmp eq i64 %24, 0 br i1 %25, label %26, label %29 26: ; preds = %20 %27 = call i32 @report_count(i32 noundef 1) %28 = call i32 @report_error(ptr noundef @.str.1) br label %35 29: ; preds = %20 %30 = call i32 @report_count(i32 noundef 1) %31 = load i32, ptr %5, align 4 %32 = load i32, ptr %6, align 4 %33 = call i32 @keyok(i32 noundef %31, i32 noundef %32) %34 = call i32 @report_return(i32 noundef %33) br label %35 35: ; preds = %29, %26, %17, %10 ret void } declare i32 @check_arg_count(i32 noundef, i32 noundef) #1 declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @report_count(i32 noundef) #1 declare i32 @report_error(ptr noundef) #1 declare i32 @report_return(i32 noundef) #1 declare i32 @keyok(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/tmps6a2r0mh.c' source_filename = "/tmp/tmps6a2r0mh.c" target datalayout = "e-m:e-p270: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 @LONG_MAX = dso_local global i64 0, align 8 @LONG_MIN = dso_local global i64 0, align 8 @LLONG_MAX = dso_local global i64 0, align 8 @LLONG_MIN = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @muggle_str_tol(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %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 %5, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %14, label %11 11: ; preds = %3 %12 = load ptr, ptr %6, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %15 14: ; preds = %11, %3 store i32 0, ptr %4, align 4 br label %58 15: ; preds = %11 store i64 0, ptr @errno, align 8 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %7, align 4 %18 = call i64 @strtol(ptr noundef %16, ptr noundef %8, i32 noundef %17) %19 = load ptr, ptr %6, align 8 store i64 %18, ptr %19, align 8 %20 = load ptr, ptr %8, align 8 %21 = load ptr, ptr %5, align 8 %22 = icmp eq ptr %20, %21 br i1 %22, label %23, label %24 23: ; preds = %15 store i32 0, ptr %4, align 4 br label %58 24: ; preds = %15 %25 = load ptr, ptr %8, align 8 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp ne i32 %27, 0 br i1 %28, label %29, label %35 29: ; preds = %24 %30 = load ptr, ptr %8, align 8 %31 = call i32 @muggle_str_lstrip_idx(ptr noundef %30) %32 = icmp ne i32 %31, -1 br i1 %32, label %33, label %34 33: ; preds = %29 store i32 0, ptr %4, align 4 br label %58 34: ; preds = %29 br label %35 35: ; preds = %34, %24 br label %36 36: ; preds = %35 %37 = load ptr, ptr %6, align 8 %38 = load i64, ptr %37, align 8 %39 = load i64, ptr @LONG_MAX, align 8 %40 = icmp eq i64 %38, %39 br i1 %40, label %56, label %41 41: ; preds = %36 %42 = load ptr, ptr %6, align 8 %43 = load i64, ptr %42, align 8 %44 = load i64, ptr @LONG_MIN, align 8 %45 = icmp eq i64 %43, %44 br i1 %45, label %56, label %46 46: ; preds = %41 %47 = load ptr, ptr %6, align 8 %48 = load i64, ptr %47, align 8 %49 = load i64, ptr @LLONG_MAX, align 8 %50 = icmp eq i64 %48, %49 br i1 %50, label %56, label %51 51: ; preds = %46 %52 = load ptr, ptr %6, align 8 %53 = load i64, ptr %52, align 8 %54 = load i64, ptr @LLONG_MIN, align 8 %55 = icmp eq i64 %53, %54 br i1 %55, label %56, label %57 56: ; preds = %51, %46, %41, %36 store i32 0, ptr %4, align 4 br label %58 57: ; preds = %51 store i32 1, ptr %4, align 4 br label %58 58: ; preds = %57, %56, %33, %23, %14 %59 = load i32, ptr %4, align 4 ret i32 %59 } declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @muggle_str_lstrip_idx(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps6a2r0mh.c" target datalayout = "e-m:e-p270: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 @LONG_MAX = dso_local global i64 0, align 8 @LONG_MIN = dso_local global i64 0, align 8 @LLONG_MAX = dso_local global i64 0, align 8 @LLONG_MIN = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @muggle_str_tol(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %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 %5, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %14, label %11 11: ; preds = %3 %12 = load ptr, ptr %6, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %15 14: ; preds = %11, %3 store i32 0, ptr %4, align 4 br label %58 15: ; preds = %11 store i64 0, ptr @errno, align 8 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %7, align 4 %18 = call i64 @strtol(ptr noundef %16, ptr noundef %8, i32 noundef %17) %19 = load ptr, ptr %6, align 8 store i64 %18, ptr %19, align 8 %20 = load ptr, ptr %8, align 8 %21 = load ptr, ptr %5, align 8 %22 = icmp eq ptr %20, %21 br i1 %22, label %23, label %24 23: ; preds = %15 store i32 0, ptr %4, align 4 br label %58 24: ; preds = %15 %25 = load ptr, ptr %8, align 8 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp ne i32 %27, 0 br i1 %28, label %29, label %35 29: ; preds = %24 %30 = load ptr, ptr %8, align 8 %31 = call i32 @muggle_str_lstrip_idx(ptr noundef %30) %32 = icmp ne i32 %31, -1 br i1 %32, label %33, label %34 33: ; preds = %29 store i32 0, ptr %4, align 4 br label %58 34: ; preds = %29 br label %35 35: ; preds = %34, %24 br label %36 36: ; preds = %35 %37 = load ptr, ptr %6, align 8 %38 = load i64, ptr %37, align 8 %39 = load i64, ptr @LONG_MAX, align 8 %40 = icmp eq i64 %38, %39 br i1 %40, label %56, label %41 41: ; preds = %36 %42 = load ptr, ptr %6, align 8 %43 = load i64, ptr %42, align 8 %44 = load i64, ptr @LONG_MIN, align 8 %45 = icmp eq i64 %43, %44 br i1 %45, label %56, label %46 46: ; preds = %41 %47 = load ptr, ptr %6, align 8 %48 = load i64, ptr %47, align 8 %49 = load i64, ptr @LLONG_MAX, align 8 %50 = icmp eq i64 %48, %49 br i1 %50, label %56, label %51 51: ; preds = %46 %52 = load ptr, ptr %6, align 8 %53 = load i64, ptr %52, align 8 %54 = load i64, ptr @LLONG_MIN, align 8 %55 = icmp eq i64 %53, %54 br i1 %55, label %56, label %57 56: ; preds = %51, %46, %41, %36 store i32 0, ptr %4, align 4 br label %58 57: ; preds = %51 store i32 1, ptr %4, align 4 br label %58 58: ; preds = %57, %56, %33, %23, %14 %59 = load i32, ptr %4, align 4 ret i32 %59 } declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @muggle_str_lstrip_idx(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpw7on5cpy.c' source_filename = "/tmp/tmpw7on5cpy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @malloc_stats() #0 { ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw7on5cpy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @malloc_stats() #0 { ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppq5p6qyz.c' source_filename = "/tmp/tmppq5p6qyz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppq5p6qyz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwz_nna32.c' source_filename = "/tmp/tmpwz_nna32.c" target datalayout = "e-m:e-p270: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/tmpwz_nna32.c" target datalayout = "e-m:e-p270: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/tmphglvk_iq.c' source_filename = "/tmp/tmphglvk_iq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [78 x i8] c"Your bag is full! Do you want to drop something to keep %s?\0A[0]: No\0A[1]: Yes\0A\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"You don't keep the %s.\0A\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"What do you want to drop?\0A\00", align 1 @.str.3 = private unnamed_addr constant [61 x i8] c"You don't have that slot! Insert a number between 0 and %d!\0A\00", align 1 @.str.4 = private unnamed_addr constant [46 x i8] c"Do you want to drop the %s?\0A[0]: No\0A[1]: Yes\0A\00", align 1 @.str.5 = private unnamed_addr constant [36 x i8] c"You dropped the %s to keep the %s.\0A\00", align 1 @.str.6 = private unnamed_addr constant [41 x i8] c"You don't have all the day to decide...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dropinv(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [20 x i8], align 16 %7 = alloca [20 x i8], align 16 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %9 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0 %10 = load i32, ptr %4, align 4 %11 = call i32 @nameitem(ptr noundef %9, i32 noundef %10) %12 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %12) %14 = call i32 @getint(ptr noundef %5) %15 = load i32, ptr %5, align 4 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %2 %18 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %18) br label %65 20: ; preds = %2 store i32 0, ptr %5, align 4 br label %21 21: ; preds = %61, %20 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %23 = call i32 @getint(ptr noundef %5) %24 = load i32, ptr %5, align 4 %25 = icmp slt i32 %24, 0 br i1 %25, label %29, label %26 26: ; preds = %21 %27 = load i32, ptr %5, align 4 %28 = icmp sge i32 %27, 10 br i1 %28, label %29, label %31 29: ; preds = %26, %21 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef 9) store i32 0, ptr %5, align 4 br label %60 31: ; preds = %26 %32 = getelementptr inbounds [20 x i8], ptr %7, i64 0, i64 0 %33 = load ptr, ptr %3, align 8 %34 = load i32, ptr %5, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %33, i64 %35 %37 = load i32, ptr %36, align 4 %38 = call i32 @nameitem(ptr noundef %32, i32 noundef %37) %39 = getelementptr inbounds [20 x i8], ptr %7, i64 0, i64 0 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %39) %41 = call i32 @getint(ptr noundef %8) %42 = load i32, ptr %8, align 4 %43 = icmp eq i32 %42, 1 br i1 %43, label %44, label %53 44: ; preds = %31 %45 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0 %46 = getelementptr inbounds [20 x i8], ptr %7, i64 0, i64 0 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %45, ptr noundef %46) %48 = load i32, ptr %4, align 4 %49 = load ptr, ptr %3, align 8 %50 = load i32, ptr %5, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i32, ptr %49, i64 %51 store i32 %48, ptr %52, align 4 store i32 -1, ptr %5, align 4 br label %67 53: ; preds = %31 %54 = load i32, ptr %8, align 4 %55 = icmp ne i32 %54, 0 br i1 %55, label %56, label %58 56: ; preds = %53 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %58 58: ; preds = %56, %53 br label %59 59: ; preds = %58 br label %60 60: ; preds = %59, %29 br label %61 61: ; preds = %60 %62 = load i32, ptr %5, align 4 %63 = icmp ne i32 %62, -1 br i1 %63, label %21, label %64, !llvm.loop !6 64: ; preds = %61 br label %65 65: ; preds = %64, %17 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %67 67: ; preds = %65, %44 ret void } declare i32 @nameitem(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @getint(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmphglvk_iq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [78 x i8] c"Your bag is full! Do you want to drop something to keep %s?\0A[0]: No\0A[1]: Yes\0A\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"You don't keep the %s.\0A\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"What do you want to drop?\0A\00", align 1 @.str.3 = private unnamed_addr constant [61 x i8] c"You don't have that slot! Insert a number between 0 and %d!\0A\00", align 1 @.str.4 = private unnamed_addr constant [46 x i8] c"Do you want to drop the %s?\0A[0]: No\0A[1]: Yes\0A\00", align 1 @.str.5 = private unnamed_addr constant [36 x i8] c"You dropped the %s to keep the %s.\0A\00", align 1 @.str.6 = private unnamed_addr constant [41 x i8] c"You don't have all the day to decide...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dropinv(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [20 x i8], align 16 %7 = alloca [20 x i8], align 16 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %9 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0 %10 = load i32, ptr %4, align 4 %11 = call i32 @nameitem(ptr noundef %9, i32 noundef %10) %12 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %12) %14 = call i32 @getint(ptr noundef %5) %15 = load i32, ptr %5, align 4 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %2 %18 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %18) br label %65 20: ; preds = %2 store i32 0, ptr %5, align 4 br label %21 21: ; preds = %61, %20 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %23 = call i32 @getint(ptr noundef %5) %24 = load i32, ptr %5, align 4 %25 = icmp slt i32 %24, 0 br i1 %25, label %29, label %26 26: ; preds = %21 %27 = load i32, ptr %5, align 4 %28 = icmp sge i32 %27, 10 br i1 %28, label %29, label %31 29: ; preds = %26, %21 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef 9) store i32 0, ptr %5, align 4 br label %60 31: ; preds = %26 %32 = getelementptr inbounds [20 x i8], ptr %7, i64 0, i64 0 %33 = load ptr, ptr %3, align 8 %34 = load i32, ptr %5, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %33, i64 %35 %37 = load i32, ptr %36, align 4 %38 = call i32 @nameitem(ptr noundef %32, i32 noundef %37) %39 = getelementptr inbounds [20 x i8], ptr %7, i64 0, i64 0 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %39) %41 = call i32 @getint(ptr noundef %8) %42 = load i32, ptr %8, align 4 %43 = icmp eq i32 %42, 1 br i1 %43, label %44, label %53 44: ; preds = %31 %45 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0 %46 = getelementptr inbounds [20 x i8], ptr %7, i64 0, i64 0 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %45, ptr noundef %46) %48 = load i32, ptr %4, align 4 %49 = load ptr, ptr %3, align 8 %50 = load i32, ptr %5, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i32, ptr %49, i64 %51 store i32 %48, ptr %52, align 4 store i32 -1, ptr %5, align 4 br label %67 53: ; preds = %31 %54 = load i32, ptr %8, align 4 %55 = icmp ne i32 %54, 0 br i1 %55, label %56, label %58 56: ; preds = %53 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %58 58: ; preds = %56, %53 br label %59 59: ; preds = %58 br label %60 60: ; preds = %59, %29 br label %61 61: ; preds = %60 %62 = load i32, ptr %5, align 4 %63 = icmp ne i32 %62, -1 br i1 %63, label %21, label %64, !llvm.loop !6 64: ; preds = %61 br label %65 65: ; preds = %64, %17 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %67 67: ; preds = %65, %44 ret void } declare i32 @nameitem(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @getint(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpre_5wuhk.c' source_filename = "/tmp/tmpre_5wuhk.c" target datalayout = "e-m:e-p270: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/tmpre_5wuhk.c" target datalayout = "e-m:e-p270: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/tmp7mqhfst2.c' source_filename = "/tmp/tmp7mqhfst2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIG_BLOCK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @block_sig(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %5 = call i32 @sigemptyset(ptr noundef %3) %6 = load i32, ptr %2, align 4 %7 = call i32 @sigaddset(ptr noundef %3, i32 noundef %6) %8 = load i32, ptr @SIG_BLOCK, align 4 %9 = call i32 @sigprocmask(i32 noundef %8, ptr noundef %3, ptr noundef %4) ret void } declare i32 @sigemptyset(ptr noundef) #1 declare i32 @sigaddset(ptr noundef, i32 noundef) #1 declare i32 @sigprocmask(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7mqhfst2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIG_BLOCK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @block_sig(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %5 = call i32 @sigemptyset(ptr noundef %3) %6 = load i32, ptr %2, align 4 %7 = call i32 @sigaddset(ptr noundef %3, i32 noundef %6) %8 = load i32, ptr @SIG_BLOCK, align 4 %9 = call i32 @sigprocmask(i32 noundef %8, ptr noundef %3, ptr noundef %4) ret void } declare i32 @sigemptyset(ptr noundef) #1 declare i32 @sigaddset(ptr noundef, i32 noundef) #1 declare i32 @sigprocmask(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxhvj_q2b.c' source_filename = "/tmp/tmpxhvj_q2b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"*\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"#\00", align 1 @.str.5 = 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 i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %5) store i32 1, ptr %6, align 4 br label %9 9: ; preds = %20, %0 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %5, align 4 %12 = sub nsw i32 %11, 2 %13 = icmp sle i32 %10, %12 br i1 %13, label %14, label %23 14: ; preds = %9 %15 = load i32, ptr %4, align 4 %16 = load i32, ptr %6, align 4 %17 = mul nsw i32 %16, 2 %18 = add nsw i32 %15, %17 %19 = sub nsw i32 %18, 1 store i32 %19, ptr %4, align 4 br label %20 20: ; preds = %14 %21 = load i32, ptr %6, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %6, align 4 br label %9, !llvm.loop !6 23: ; preds = %9 %24 = load i32, ptr %4, align 4 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %24) store i32 1, ptr %6, align 4 br label %26 26: ; preds = %80, %23 %27 = load i32, ptr %6, align 4 %28 = load i32, ptr %5, align 4 %29 = icmp sle i32 %27, %28 br i1 %29, label %30, label %83 30: ; preds = %26 store i32 0, ptr %7, align 4 br label %31 31: ; preds = %39, %30 %32 = load i32, ptr %7, align 4 %33 = load i32, ptr %5, align 4 %34 = load i32, ptr %6, align 4 %35 = sub nsw i32 %33, %34 %36 = icmp slt i32 %32, %35 br i1 %36, label %37, label %42 37: ; preds = %31 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %39 39: ; preds = %37 %40 = load i32, ptr %7, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %7, align 4 br label %31, !llvm.loop !8 42: ; preds = %31 %43 = load i32, ptr %6, align 4 %44 = load i32, ptr %5, align 4 %45 = icmp eq i32 %43, %44 br i1 %45, label %46, label %60 46: ; preds = %42 store i32 1, ptr %2, align 4 br label %47 47: ; preds = %56, %46 %48 = load i32, ptr %2, align 4 %49 = load i32, ptr %5, align 4 %50 = load i32, ptr %5, align 4 %51 = add nsw i32 %49, %50 %52 = sub nsw i32 %51, 1 %53 = icmp sle i32 %48, %52 br i1 %53, label %54, label %59 54: ; preds = %47 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %56 56: ; preds = %54 %57 = load i32, ptr %2, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %2, align 4 br label %47, !llvm.loop !9 59: ; preds = %47 br label %80 60: ; preds = %42 %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %62 = load i32, ptr %6, align 4 %63 = icmp sge i32 %62, 2 br i1 %63, label %64, label %78 64: ; preds = %60 store i32 2, ptr %3, align 4 br label %65 65: ; preds = %73, %64 %66 = load i32, ptr %3, align 4 %67 = load i32, ptr %6, align 4 %68 = mul nsw i32 %67, 2 %69 = sub nsw i32 %68, 1 %70 = icmp slt i32 %66, %69 br i1 %70, label %71, label %76 71: ; preds = %65 %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %73 73: ; preds = %71 %74 = load i32, ptr %3, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %3, align 4 br label %65, !llvm.loop !10 76: ; preds = %65 %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %78 78: ; preds = %76, %60 %79 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %80 80: ; preds = %78, %59 %81 = load i32, ptr %6, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %6, align 4 br label %26, !llvm.loop !11 83: ; preds = %26 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxhvj_q2b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"*\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"#\00", align 1 @.str.5 = 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 i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %5) store i32 1, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %5, align 4 %11 = sub nsw i32 %10, 2 %12 = icmp sle i32 %9, %11 br i1 %12, label %.lr.ph, label %26 .lr.ph: ; preds = %0 br label %13 13: ; preds = %.lr.ph, %19 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %6, align 4 %16 = mul nsw i32 %15, 2 %17 = add nsw i32 %14, %16 %18 = sub nsw i32 %17, 1 store i32 %18, ptr %4, align 4 br label %19 19: ; preds = %13 %20 = load i32, ptr %6, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %6, align 4 %22 = load i32, ptr %6, align 4 %23 = load i32, ptr %5, align 4 %24 = sub nsw i32 %23, 2 %25 = icmp sle i32 %22, %24 br i1 %25, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %26 26: ; preds = %._crit_edge, %0 %27 = load i32, ptr %4, align 4 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %27) store i32 1, ptr %6, align 4 %29 = load i32, ptr %6, align 4 %30 = load i32, ptr %5, align 4 %31 = icmp sle i32 %29, %30 br i1 %31, label %.lr.ph11, label %101 .lr.ph11: ; preds = %26 br label %32 32: ; preds = %.lr.ph11, %95 store i32 0, ptr %7, align 4 %33 = load i32, ptr %7, align 4 %34 = load i32, ptr %5, align 4 %35 = load i32, ptr %6, align 4 %36 = sub nsw i32 %34, %35 %37 = icmp slt i32 %33, %36 br i1 %37, label %.lr.ph2, label %48 .lr.ph2: ; preds = %32 br label %38 38: ; preds = %.lr.ph2, %40 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %40 40: ; preds = %38 %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 %44 = load i32, ptr %5, align 4 %45 = load i32, ptr %6, align 4 %46 = sub nsw i32 %44, %45 %47 = icmp slt i32 %43, %46 br i1 %47, label %38, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %40 br label %48 48: ; preds = %._crit_edge3, %32 %49 = load i32, ptr %6, align 4 %50 = load i32, ptr %5, align 4 %51 = icmp eq i32 %49, %50 br i1 %51, label %52, label %71 52: ; preds = %48 store i32 1, ptr %2, align 4 %53 = load i32, ptr %2, align 4 %54 = load i32, ptr %5, align 4 %55 = load i32, ptr %5, align 4 %56 = add nsw i32 %54, %55 %57 = sub nsw i32 %56, 1 %58 = icmp sle i32 %53, %57 br i1 %58, label %.lr.ph8, label %70 .lr.ph8: ; preds = %52 br label %59 59: ; preds = %.lr.ph8, %61 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %61 61: ; preds = %59 %62 = load i32, ptr %2, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %2, align 4 %64 = load i32, ptr %2, align 4 %65 = load i32, ptr %5, align 4 %66 = load i32, ptr %5, align 4 %67 = add nsw i32 %65, %66 %68 = sub nsw i32 %67, 1 %69 = icmp sle i32 %64, %68 br i1 %69, label %59, label %._crit_edge9, !llvm.loop !9 ._crit_edge9: ; preds = %61 br label %70 70: ; preds = %._crit_edge9, %52 br label %95 71: ; preds = %48 %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %73 = load i32, ptr %6, align 4 %74 = icmp sge i32 %73, 2 br i1 %74, label %75, label %93 75: ; preds = %71 store i32 2, ptr %3, align 4 %76 = load i32, ptr %3, align 4 %77 = load i32, ptr %6, align 4 %78 = mul nsw i32 %77, 2 %79 = sub nsw i32 %78, 1 %80 = icmp slt i32 %76, %79 br i1 %80, label %.lr.ph5, label %91 .lr.ph5: ; preds = %75 br label %81 81: ; preds = %.lr.ph5, %83 %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %83 83: ; preds = %81 %84 = load i32, ptr %3, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %3, align 4 %86 = load i32, ptr %3, align 4 %87 = load i32, ptr %6, align 4 %88 = mul nsw i32 %87, 2 %89 = sub nsw i32 %88, 1 %90 = icmp slt i32 %86, %89 br i1 %90, label %81, label %._crit_edge6, !llvm.loop !10 ._crit_edge6: ; preds = %83 br label %91 91: ; preds = %._crit_edge6, %75 %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %93 93: ; preds = %91, %71 %94 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %95 95: ; preds = %93, %70 %96 = load i32, ptr %6, align 4 %97 = add nsw i32 %96, 1 store i32 %97, ptr %6, align 4 %98 = load i32, ptr %6, align 4 %99 = load i32, ptr %5, align 4 %100 = icmp sle i32 %98, %99 br i1 %100, label %32, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %95 br label %101 101: ; preds = %._crit_edge12, %26 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmphm7nw3py.c' source_filename = "/tmp/tmphm7nw3py.c" target datalayout = "e-m:e-p270: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/tmphm7nw3py.c" target datalayout = "e-m:e-p270: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/tmpoc7g4fo_.c' source_filename = "/tmp/tmpoc7g4fo_.c" target datalayout = "e-m:e-p270: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/tmpoc7g4fo_.c" target datalayout = "e-m:e-p270: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/tmpi157iaiv.c' source_filename = "/tmp/tmpi157iaiv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @parse_id.id0 = internal global i32 0, align 4 @parse_id.val = internal global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"pci\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"usb\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"special\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"eisa\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"isapnp\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"pcmcia\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"sdio\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @parse_id(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 i8, align 1 %12 = alloca ptr, align 8 %13 = 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 0, ptr %10, align 4 store i8 0, ptr %11, align 1 store ptr null, ptr %13, align 8 %14 = load ptr, ptr %9, align 8 store i32 0, ptr %14, align 4 %15 = load ptr, ptr %8, align 8 store i32 0, ptr %15, align 4 %16 = load ptr, ptr %7, align 8 store i32 0, ptr %16, align 4 %17 = load ptr, ptr %6, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %19, label %23 19: ; preds = %4 %20 = load ptr, ptr %6, align 8 %21 = load i8, ptr %20, align 1 %22 = icmp ne i8 %21, 0 br i1 %22, label %24, label %23 23: ; preds = %19, %4 store i32 0, ptr %5, align 4 br label %220 24: ; preds = %19 %25 = load ptr, ptr %6, align 8 store ptr %25, ptr %12, align 8 br label %26 26: ; preds = %40, %24 %27 = load ptr, ptr %6, align 8 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %37 31: ; preds = %26 %32 = load ptr, ptr %6, align 8 %33 = load i8, ptr %32, align 1 %34 = call i64 @isspace(i8 noundef signext %33) %35 = icmp ne i64 %34, 0 %36 = xor i1 %35, true br label %37 37: ; preds = %31, %26 %38 = phi i1 [ false, %26 ], [ %36, %31 ] br i1 %38, label %39, label %43 39: ; preds = %37 br label %40 40: ; preds = %39 %41 = load ptr, ptr %6, align 8 %42 = getelementptr inbounds i8, ptr %41, i32 1 store ptr %42, ptr %6, align 8 br label %26, !llvm.loop !6 43: ; preds = %37 %44 = load ptr, ptr %6, align 8 %45 = load i8, ptr %44, align 1 %46 = icmp ne i8 %45, 0 br i1 %46, label %47, label %52 47: ; preds = %43 %48 = load ptr, ptr %6, align 8 store ptr %48, ptr %13, align 8 %49 = load i8, ptr %48, align 1 store i8 %49, ptr %11, align 1 %50 = load ptr, ptr %6, align 8 %51 = getelementptr inbounds i8, ptr %50, i32 1 store ptr %51, ptr %6, align 8 store i8 0, ptr %50, align 1 br label %52 52: ; preds = %47, %43 br label %53 53: ; preds = %58, %52 %54 = load ptr, ptr %6, align 8 %55 = load i8, ptr %54, align 1 %56 = call i64 @isspace(i8 noundef signext %55) %57 = icmp ne i64 %56, 0 br i1 %57, label %58, label %61 58: ; preds = %53 %59 = load ptr, ptr %6, align 8 %60 = getelementptr inbounds i8, ptr %59, i32 1 store ptr %60, ptr %6, align 8 br label %53, !llvm.loop !8 61: ; preds = %53 %62 = load ptr, ptr %12, align 8 %63 = load i8, ptr %62, align 1 %64 = icmp ne i8 %63, 0 br i1 %64, label %65, label %115 65: ; preds = %61 %66 = load ptr, ptr %12, align 8 %67 = call i32 @strcmp(ptr noundef %66, ptr noundef @.str) %68 = icmp ne i32 %67, 0 br i1 %68, label %70, label %69 69: ; preds = %65 store i32 1, ptr %10, align 4 br label %114 70: ; preds = %65 %71 = load ptr, ptr %12, align 8 %72 = call i32 @strcmp(ptr noundef %71, ptr noundef @.str.1) %73 = icmp ne i32 %72, 0 br i1 %73, label %75, label %74 74: ; preds = %70 store i32 3, ptr %10, align 4 br label %113 75: ; preds = %70 %76 = load ptr, ptr %12, align 8 %77 = call i32 @strcmp(ptr noundef %76, ptr noundef @.str.2) %78 = icmp ne i32 %77, 0 br i1 %78, label %80, label %79 79: ; preds = %75 store i32 4, ptr %10, align 4 br label %112 80: ; preds = %75 %81 = load ptr, ptr %12, align 8 %82 = call i32 @strcmp(ptr noundef %81, ptr noundef @.str.3) %83 = icmp ne i32 %82, 0 br i1 %83, label %85, label %84 84: ; preds = %80 store i32 2, ptr %10, align 4 br label %111 85: ; preds = %80 %86 = load ptr, ptr %12, align 8 %87 = call i32 @strcmp(ptr noundef %86, ptr noundef @.str.4) %88 = icmp ne i32 %87, 0 br i1 %88, label %90, label %89 89: ; preds = %85 store i32 2, ptr %10, align 4 br label %110 90: ; preds = %85 %91 = load ptr, ptr %12, align 8 %92 = call i32 @strcmp(ptr noundef %91, ptr noundef @.str.5) %93 = icmp ne i32 %92, 0 br i1 %93, label %95, label %94 94: ; preds = %90 store i32 5, ptr %10, align 4 br label %109 95: ; preds = %90 %96 = load ptr, ptr %12, align 8 %97 = call i32 @strcmp(ptr noundef %96, ptr noundef @.str.6) %98 = icmp ne i32 %97, 0 br i1 %98, label %100, label %99 99: ; preds = %95 store i32 6, ptr %10, align 4 br label %108 100: ; preds = %95 %101 = load ptr, ptr %12, align 8 store ptr %101, ptr %6, align 8 %102 = load ptr, ptr %13, align 8 %103 = icmp ne ptr %102, null br i1 %103, label %104, label %107 104: ; preds = %100 %105 = load i8, ptr %11, align 1 %106 = load ptr, ptr %13, align 8 store i8 %105, ptr %106, align 1 br label %107 107: ; preds = %104, %100 br label %108 108: ; preds = %107, %99 br label %109 109: ; preds = %108, %94 br label %110 110: ; preds = %109, %89 br label %111 111: ; preds = %110, %84 br label %112 112: ; preds = %111, %79 br label %113 113: ; preds = %112, %74 br label %114 114: ; preds = %113, %69 br label %115 115: ; preds = %114, %61 %116 = load ptr, ptr %6, align 8 %117 = call i32 @strtoul(ptr noundef %116, ptr noundef %12, i32 noundef 0) store i32 %117, ptr @parse_id.id0, align 4 %118 = load ptr, ptr %12, align 8 %119 = load ptr, ptr %6, align 8 %120 = icmp eq ptr %118, %119 br i1 %120, label %121, label %136 121: ; preds = %115 %122 = load ptr, ptr %6, align 8 %123 = call i32 @name2eisa_id(ptr noundef %122) store i32 %123, ptr @parse_id.id0, align 4 %124 = load i32, ptr @parse_id.id0, align 4 %125 = icmp ne i32 %124, 0 br i1 %125, label %127, label %126 126: ; preds = %121 store i32 0, ptr %5, align 4 br label %220 127: ; preds = %121 %128 = load ptr, ptr %6, align 8 %129 = getelementptr inbounds i8, ptr %128, i64 3 store ptr %129, ptr %12, align 8 %130 = load i32, ptr @parse_id.id0, align 4 %131 = and i32 %130, 65535 store i32 %131, ptr @parse_id.id0, align 4 %132 = load i32, ptr %10, align 4 %133 = icmp ne i32 %132, 0 br i1 %133, label %135, label %134 134: ; preds = %127 store i32 2, ptr %10, align 4 br label %135 135: ; preds = %134, %127 br label %136 136: ; preds = %135, %115 br label %137 137: ; preds = %142, %136 %138 = load ptr, ptr %12, align 8 %139 = load i8, ptr %138, align 1 %140 = call i64 @isspace(i8 noundef signext %139) %141 = icmp ne i64 %140, 0 br i1 %141, label %142, label %145 142: ; preds = %137 %143 = load ptr, ptr %12, align 8 %144 = getelementptr inbounds i8, ptr %143, i32 1 store ptr %144, ptr %12, align 8 br label %137, !llvm.loop !9 145: ; preds = %137 %146 = load ptr, ptr %12, align 8 %147 = load i8, ptr %146, align 1 %148 = sext i8 %147 to i32 %149 = icmp ne i32 %148, 0 br i1 %149, label %150, label %161 150: ; preds = %145 %151 = load ptr, ptr %12, align 8 %152 = load i8, ptr %151, align 1 %153 = sext i8 %152 to i32 %154 = icmp ne i32 %153, 38 br i1 %154, label %155, label %161 155: ; preds = %150 %156 = load ptr, ptr %12, align 8 %157 = load i8, ptr %156, align 1 %158 = sext i8 %157 to i32 %159 = icmp ne i32 %158, 43 br i1 %159, label %160, label %161 160: ; preds = %155 store i32 0, ptr %5, align 4 br label %220 161: ; preds = %155, %150, %145 %162 = load i32, ptr %10, align 4 %163 = shl i32 %162, 16 %164 = load i32, ptr @parse_id.id0, align 4 %165 = or i32 %163, %164 %166 = load ptr, ptr %7, align 8 store i32 %165, ptr %166, align 4 %167 = load ptr, ptr %12, align 8 %168 = load i8, ptr %167, align 1 %169 = icmp ne i8 %168, 0 br i1 %169, label %171, label %170 170: ; preds = %161 store i32 1, ptr %5, align 4 br label %220 171: ; preds = %161 %172 = load ptr, ptr %12, align 8 %173 = getelementptr inbounds i8, ptr %172, i32 1 store ptr %173, ptr %12, align 8 %174 = load i8, ptr %172, align 1 store i8 %174, ptr %11, align 1 br label %175 175: ; preds = %180, %171 %176 = load ptr, ptr %12, align 8 %177 = load i8, ptr %176, align 1 %178 = call i64 @isspace(i8 noundef signext %177) %179 = icmp ne i64 %178, 0 br i1 %179, label %180, label %183 180: ; preds = %175 %181 = load ptr, ptr %12, align 8 %182 = getelementptr inbounds i8, ptr %181, i32 1 store ptr %182, ptr %12, align 8 br label %175, !llvm.loop !10 183: ; preds = %175 %184 = load ptr, ptr %12, align 8 %185 = call i32 @strtoul(ptr noundef %184, ptr noundef %6, i32 noundef 0) store i32 %185, ptr @parse_id.val, align 4 %186 = load ptr, ptr %12, align 8 %187 = load ptr, ptr %6, align 8 %188 = icmp eq ptr %186, %187 br i1 %188, label %189, label %190 189: ; preds = %183 store i32 0, ptr %5, align 4 br label %220 190: ; preds = %183 br label %191 191: ; preds = %196, %190 %192 = load ptr, ptr %6, align 8 %193 = load i8, ptr %192, align 1 %194 = call i64 @isspace(i8 noundef signext %193) %195 = icmp ne i64 %194, 0 br i1 %195, label %196, label %199 196: ; preds = %191 %197 = load ptr, ptr %6, align 8 %198 = getelementptr inbounds i8, ptr %197, i32 1 store ptr %198, ptr %6, align 8 br label %191, !llvm.loop !11 199: ; preds = %191 %200 = load ptr, ptr %6, align 8 %201 = load i8, ptr %200, align 1 %202 = icmp ne i8 %201, 0 br i1 %202, label %203, label %204 203: ; preds = %199 store i32 0, ptr %5, align 4 br label %220 204: ; preds = %199 %205 = load i8, ptr %11, align 1 %206 = sext i8 %205 to i32 %207 = icmp eq i32 %206, 43 br i1 %207, label %208, label %211 208: ; preds = %204 %209 = load i32, ptr @parse_id.val, align 4 %210 = load ptr, ptr %8, align 8 store i32 %209, ptr %210, align 4 br label %214 211: ; preds = %204 %212 = load i32, ptr @parse_id.val, align 4 %213 = load ptr, ptr %9, align 8 store i32 %212, ptr %213, align 4 br label %214 214: ; preds = %211, %208 %215 = load i8, ptr %11, align 1 %216 = sext i8 %215 to i32 %217 = icmp eq i32 %216, 43 %218 = zext i1 %217 to i64 %219 = select i1 %217, i32 2, i32 3 store i32 %219, ptr %5, align 4 br label %220 220: ; preds = %214, %203, %189, %170, %160, %126, %23 %221 = load i32, ptr %5, align 4 ret i32 %221 } declare i64 @isspace(i8 noundef signext) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @name2eisa_id(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi157iaiv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @parse_id.id0 = internal global i32 0, align 4 @parse_id.val = internal global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"pci\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"usb\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"special\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"eisa\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"isapnp\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"pcmcia\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"sdio\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @parse_id(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 i8, align 1 %12 = alloca ptr, align 8 %13 = 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 0, ptr %10, align 4 store i8 0, ptr %11, align 1 store ptr null, ptr %13, align 8 %14 = load ptr, ptr %9, align 8 store i32 0, ptr %14, align 4 %15 = load ptr, ptr %8, align 8 store i32 0, ptr %15, align 4 %16 = load ptr, ptr %7, align 8 store i32 0, ptr %16, align 4 %17 = load ptr, ptr %6, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %19, label %23 19: ; preds = %4 %20 = load ptr, ptr %6, align 8 %21 = load i8, ptr %20, align 1 %22 = icmp ne i8 %21, 0 br i1 %22, label %24, label %23 23: ; preds = %19, %4 store i32 0, ptr %5, align 4 br label %232 24: ; preds = %19 %25 = load ptr, ptr %6, align 8 store ptr %25, ptr %12, align 8 br label %26 26: ; preds = %40, %24 %27 = load ptr, ptr %6, align 8 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %37 31: ; preds = %26 %32 = load ptr, ptr %6, align 8 %33 = load i8, ptr %32, align 1 %34 = call i64 @isspace(i8 noundef signext %33) %35 = icmp ne i64 %34, 0 %36 = xor i1 %35, true br label %37 37: ; preds = %31, %26 %38 = phi i1 [ false, %26 ], [ %36, %31 ] br i1 %38, label %39, label %43 39: ; preds = %37 br label %40 40: ; preds = %39 %41 = load ptr, ptr %6, align 8 %42 = getelementptr inbounds i8, ptr %41, i32 1 store ptr %42, ptr %6, align 8 br label %26, !llvm.loop !6 43: ; preds = %37 %44 = load ptr, ptr %6, align 8 %45 = load i8, ptr %44, align 1 %46 = icmp ne i8 %45, 0 br i1 %46, label %47, label %52 47: ; preds = %43 %48 = load ptr, ptr %6, align 8 store ptr %48, ptr %13, align 8 %49 = load i8, ptr %48, align 1 store i8 %49, ptr %11, align 1 %50 = load ptr, ptr %6, align 8 %51 = getelementptr inbounds i8, ptr %50, i32 1 store ptr %51, ptr %6, align 8 store i8 0, ptr %50, align 1 br label %52 52: ; preds = %47, %43 %53 = load ptr, ptr %6, align 8 %54 = load i8, ptr %53, align 1 %55 = call i64 @isspace(i8 noundef signext %54) %56 = icmp ne i64 %55, 0 br i1 %56, label %.lr.ph, label %64 .lr.ph: ; preds = %52 br label %57 57: ; preds = %.lr.ph, %57 %58 = load ptr, ptr %6, align 8 %59 = getelementptr inbounds i8, ptr %58, i32 1 store ptr %59, ptr %6, align 8 %60 = load ptr, ptr %6, align 8 %61 = load i8, ptr %60, align 1 %62 = call i64 @isspace(i8 noundef signext %61) %63 = icmp ne i64 %62, 0 br i1 %63, label %57, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %57 br label %64 64: ; preds = %._crit_edge, %52 %65 = load ptr, ptr %12, align 8 %66 = load i8, ptr %65, align 1 %67 = icmp ne i8 %66, 0 br i1 %67, label %68, label %118 68: ; preds = %64 %69 = load ptr, ptr %12, align 8 %70 = call i32 @strcmp(ptr noundef %69, ptr noundef @.str) %71 = icmp ne i32 %70, 0 br i1 %71, label %73, label %72 72: ; preds = %68 store i32 1, ptr %10, align 4 br label %117 73: ; preds = %68 %74 = load ptr, ptr %12, align 8 %75 = call i32 @strcmp(ptr noundef %74, ptr noundef @.str.1) %76 = icmp ne i32 %75, 0 br i1 %76, label %78, label %77 77: ; preds = %73 store i32 3, ptr %10, align 4 br label %116 78: ; preds = %73 %79 = load ptr, ptr %12, align 8 %80 = call i32 @strcmp(ptr noundef %79, ptr noundef @.str.2) %81 = icmp ne i32 %80, 0 br i1 %81, label %83, label %82 82: ; preds = %78 store i32 4, ptr %10, align 4 br label %115 83: ; preds = %78 %84 = load ptr, ptr %12, align 8 %85 = call i32 @strcmp(ptr noundef %84, ptr noundef @.str.3) %86 = icmp ne i32 %85, 0 br i1 %86, label %88, label %87 87: ; preds = %83 store i32 2, ptr %10, align 4 br label %114 88: ; preds = %83 %89 = load ptr, ptr %12, align 8 %90 = call i32 @strcmp(ptr noundef %89, ptr noundef @.str.4) %91 = icmp ne i32 %90, 0 br i1 %91, label %93, label %92 92: ; preds = %88 store i32 2, ptr %10, align 4 br label %113 93: ; preds = %88 %94 = load ptr, ptr %12, align 8 %95 = call i32 @strcmp(ptr noundef %94, ptr noundef @.str.5) %96 = icmp ne i32 %95, 0 br i1 %96, label %98, label %97 97: ; preds = %93 store i32 5, ptr %10, align 4 br label %112 98: ; preds = %93 %99 = load ptr, ptr %12, align 8 %100 = call i32 @strcmp(ptr noundef %99, ptr noundef @.str.6) %101 = icmp ne i32 %100, 0 br i1 %101, label %103, label %102 102: ; preds = %98 store i32 6, ptr %10, align 4 br label %111 103: ; preds = %98 %104 = load ptr, ptr %12, align 8 store ptr %104, ptr %6, align 8 %105 = load ptr, ptr %13, align 8 %106 = icmp ne ptr %105, null br i1 %106, label %107, label %110 107: ; preds = %103 %108 = load i8, ptr %11, align 1 %109 = load ptr, ptr %13, align 8 store i8 %108, ptr %109, align 1 br label %110 110: ; preds = %107, %103 br label %111 111: ; preds = %110, %102 br label %112 112: ; preds = %111, %97 br label %113 113: ; preds = %112, %92 br label %114 114: ; preds = %113, %87 br label %115 115: ; preds = %114, %82 br label %116 116: ; preds = %115, %77 br label %117 117: ; preds = %116, %72 br label %118 118: ; preds = %117, %64 %119 = load ptr, ptr %6, align 8 %120 = call i32 @strtoul(ptr noundef %119, ptr noundef %12, i32 noundef 0) store i32 %120, ptr @parse_id.id0, align 4 %121 = load ptr, ptr %12, align 8 %122 = load ptr, ptr %6, align 8 %123 = icmp eq ptr %121, %122 br i1 %123, label %124, label %139 124: ; preds = %118 %125 = load ptr, ptr %6, align 8 %126 = call i32 @name2eisa_id(ptr noundef %125) store i32 %126, ptr @parse_id.id0, align 4 %127 = load i32, ptr @parse_id.id0, align 4 %128 = icmp ne i32 %127, 0 br i1 %128, label %130, label %129 129: ; preds = %124 store i32 0, ptr %5, align 4 br label %232 130: ; preds = %124 %131 = load ptr, ptr %6, align 8 %132 = getelementptr inbounds i8, ptr %131, i64 3 store ptr %132, ptr %12, align 8 %133 = load i32, ptr @parse_id.id0, align 4 %134 = and i32 %133, 65535 store i32 %134, ptr @parse_id.id0, align 4 %135 = load i32, ptr %10, align 4 %136 = icmp ne i32 %135, 0 br i1 %136, label %138, label %137 137: ; preds = %130 store i32 2, ptr %10, align 4 br label %138 138: ; preds = %137, %130 br label %139 139: ; preds = %138, %118 %140 = load ptr, ptr %12, align 8 %141 = load i8, ptr %140, align 1 %142 = call i64 @isspace(i8 noundef signext %141) %143 = icmp ne i64 %142, 0 br i1 %143, label %.lr.ph2, label %151 .lr.ph2: ; preds = %139 br label %144 144: ; preds = %.lr.ph2, %144 %145 = load ptr, ptr %12, align 8 %146 = getelementptr inbounds i8, ptr %145, i32 1 store ptr %146, ptr %12, align 8 %147 = load ptr, ptr %12, align 8 %148 = load i8, ptr %147, align 1 %149 = call i64 @isspace(i8 noundef signext %148) %150 = icmp ne i64 %149, 0 br i1 %150, label %144, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %144 br label %151 151: ; preds = %._crit_edge3, %139 %152 = load ptr, ptr %12, align 8 %153 = load i8, ptr %152, align 1 %154 = sext i8 %153 to i32 %155 = icmp ne i32 %154, 0 br i1 %155, label %156, label %167 156: ; preds = %151 %157 = load ptr, ptr %12, align 8 %158 = load i8, ptr %157, align 1 %159 = sext i8 %158 to i32 %160 = icmp ne i32 %159, 38 br i1 %160, label %161, label %167 161: ; preds = %156 %162 = load ptr, ptr %12, align 8 %163 = load i8, ptr %162, align 1 %164 = sext i8 %163 to i32 %165 = icmp ne i32 %164, 43 br i1 %165, label %166, label %167 166: ; preds = %161 store i32 0, ptr %5, align 4 br label %232 167: ; preds = %161, %156, %151 %168 = load i32, ptr %10, align 4 %169 = shl i32 %168, 16 %170 = load i32, ptr @parse_id.id0, align 4 %171 = or i32 %169, %170 %172 = load ptr, ptr %7, align 8 store i32 %171, ptr %172, align 4 %173 = load ptr, ptr %12, align 8 %174 = load i8, ptr %173, align 1 %175 = icmp ne i8 %174, 0 br i1 %175, label %177, label %176 176: ; preds = %167 store i32 1, ptr %5, align 4 br label %232 177: ; preds = %167 %178 = load ptr, ptr %12, align 8 %179 = getelementptr inbounds i8, ptr %178, i32 1 store ptr %179, ptr %12, align 8 %180 = load i8, ptr %178, align 1 store i8 %180, ptr %11, align 1 %181 = load ptr, ptr %12, align 8 %182 = load i8, ptr %181, align 1 %183 = call i64 @isspace(i8 noundef signext %182) %184 = icmp ne i64 %183, 0 br i1 %184, label %.lr.ph5, label %192 .lr.ph5: ; preds = %177 br label %185 185: ; preds = %.lr.ph5, %185 %186 = load ptr, ptr %12, align 8 %187 = getelementptr inbounds i8, ptr %186, i32 1 store ptr %187, ptr %12, align 8 %188 = load ptr, ptr %12, align 8 %189 = load i8, ptr %188, align 1 %190 = call i64 @isspace(i8 noundef signext %189) %191 = icmp ne i64 %190, 0 br i1 %191, label %185, label %._crit_edge6, !llvm.loop !10 ._crit_edge6: ; preds = %185 br label %192 192: ; preds = %._crit_edge6, %177 %193 = load ptr, ptr %12, align 8 %194 = call i32 @strtoul(ptr noundef %193, ptr noundef %6, i32 noundef 0) store i32 %194, ptr @parse_id.val, align 4 %195 = load ptr, ptr %12, align 8 %196 = load ptr, ptr %6, align 8 %197 = icmp eq ptr %195, %196 br i1 %197, label %198, label %199 198: ; preds = %192 store i32 0, ptr %5, align 4 br label %232 199: ; preds = %192 %200 = load ptr, ptr %6, align 8 %201 = load i8, ptr %200, align 1 %202 = call i64 @isspace(i8 noundef signext %201) %203 = icmp ne i64 %202, 0 br i1 %203, label %.lr.ph8, label %211 .lr.ph8: ; preds = %199 br label %204 204: ; preds = %.lr.ph8, %204 %205 = load ptr, ptr %6, align 8 %206 = getelementptr inbounds i8, ptr %205, i32 1 store ptr %206, ptr %6, align 8 %207 = load ptr, ptr %6, align 8 %208 = load i8, ptr %207, align 1 %209 = call i64 @isspace(i8 noundef signext %208) %210 = icmp ne i64 %209, 0 br i1 %210, label %204, label %._crit_edge9, !llvm.loop !11 ._crit_edge9: ; preds = %204 br label %211 211: ; preds = %._crit_edge9, %199 %212 = load ptr, ptr %6, align 8 %213 = load i8, ptr %212, align 1 %214 = icmp ne i8 %213, 0 br i1 %214, label %215, label %216 215: ; preds = %211 store i32 0, ptr %5, align 4 br label %232 216: ; preds = %211 %217 = load i8, ptr %11, align 1 %218 = sext i8 %217 to i32 %219 = icmp eq i32 %218, 43 br i1 %219, label %220, label %223 220: ; preds = %216 %221 = load i32, ptr @parse_id.val, align 4 %222 = load ptr, ptr %8, align 8 store i32 %221, ptr %222, align 4 br label %226 223: ; preds = %216 %224 = load i32, ptr @parse_id.val, align 4 %225 = load ptr, ptr %9, align 8 store i32 %224, ptr %225, align 4 br label %226 226: ; preds = %223, %220 %227 = load i8, ptr %11, align 1 %228 = sext i8 %227 to i32 %229 = icmp eq i32 %228, 43 %230 = zext i1 %229 to i64 %231 = select i1 %229, i32 2, i32 3 store i32 %231, ptr %5, align 4 br label %232 232: ; preds = %226, %215, %198, %176, %166, %129, %23 %233 = load i32, ptr %5, align 4 ret i32 %233 } declare i64 @isspace(i8 noundef signext) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @name2eisa_id(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpqo3tc1em.c' source_filename = "/tmp/tmpqo3tc1em.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"NOT IMPLEMENTED:pa_semaphore_post\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pa_semaphore_post() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = load i32, ptr %1, align 4 ret i32 %3 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqo3tc1em.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"NOT IMPLEMENTED:pa_semaphore_post\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pa_semaphore_post() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = load i32, ptr %1, align 4 ret i32 %3 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpm4spp8f5.c' source_filename = "/tmp/tmpm4spp8f5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @parse_gpr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %6 = call ptr @malloc(i32 noundef 4) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %10, label %9 9: ; preds = %1 store ptr null, ptr %2, align 8 br label %28 10: ; preds = %1 store i64 0, ptr @errno, align 8 %11 = load ptr, ptr %3, align 8 %12 = call i32 @strtoul(ptr noundef %11, ptr noundef %5, i32 noundef 0) %13 = load ptr, ptr %4, align 8 store i32 %12, ptr %13, align 4 %14 = load i64, ptr @errno, align 8 %15 = icmp ne i64 %14, 0 br i1 %15, label %25, label %16 16: ; preds = %10 %17 = load ptr, ptr %5, align 8 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp ne i32 %19, 0 br i1 %20, label %25, label %21 21: ; preds = %16 %22 = load ptr, ptr %4, align 8 %23 = load i32, ptr %22, align 4 %24 = icmp sgt i32 %23, 32 br i1 %24, label %25, label %26 25: ; preds = %21, %16, %10 store ptr null, ptr %2, align 8 br label %28 26: ; preds = %21 %27 = load ptr, ptr %4, align 8 store ptr %27, ptr %2, align 8 br label %28 28: ; preds = %26, %25, %9 %29 = load ptr, ptr %2, align 8 ret ptr %29 } declare ptr @malloc(i32 noundef) #1 declare i32 @strtoul(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/tmpm4spp8f5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @parse_gpr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %6 = call ptr @malloc(i32 noundef 4) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %10, label %9 9: ; preds = %1 store ptr null, ptr %2, align 8 br label %28 10: ; preds = %1 store i64 0, ptr @errno, align 8 %11 = load ptr, ptr %3, align 8 %12 = call i32 @strtoul(ptr noundef %11, ptr noundef %5, i32 noundef 0) %13 = load ptr, ptr %4, align 8 store i32 %12, ptr %13, align 4 %14 = load i64, ptr @errno, align 8 %15 = icmp ne i64 %14, 0 br i1 %15, label %25, label %16 16: ; preds = %10 %17 = load ptr, ptr %5, align 8 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp ne i32 %19, 0 br i1 %20, label %25, label %21 21: ; preds = %16 %22 = load ptr, ptr %4, align 8 %23 = load i32, ptr %22, align 4 %24 = icmp sgt i32 %23, 32 br i1 %24, label %25, label %26 25: ; preds = %21, %16, %10 store ptr null, ptr %2, align 8 br label %28 26: ; preds = %21 %27 = load ptr, ptr %4, align 8 store ptr %27, ptr %2, align 8 br label %28 28: ; preds = %26, %25, %9 %29 = load ptr, ptr %2, align 8 ret ptr %29 } declare ptr @malloc(i32 noundef) #1 declare i32 @strtoul(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/tmpumste1v0.c' source_filename = "/tmp/tmpumste1v0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEEK_SET = 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/tmpumste1v0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEEK_SET = 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/tmpx8gqemgp.c' source_filename = "/tmp/tmpx8gqemgp.c" target datalayout = "e-m:e-p270: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 = type { i32 } @.str = private unnamed_addr constant [51 x i8] c"Curl called but HOST or PORT not given or invalid\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"Curl called but PORT malformed\0A\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c"Curl could not resolve hostname\0A\00", align 1 @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [36 x i8] c"Curl could not establish connection\00", align 1 @.str.4 = private unnamed_addr constant [51 x i8] c"GET / HTTP/1.1\0D\0AHost: %s:%s\0D\0AConnection: close\0D\0A\0D\0A\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"Write error\0A\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.7 = private unnamed_addr constant [16 x i8] c"Curl read error\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 %struct.sockaddr, align 4 %7 = alloca i32, align 4 %8 = alloca [512 x i8], align 16 %9 = alloca i32, align 4 %10 = alloca [4096 x i8], align 16 %11 = 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 %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 3 br i1 %13, label %20, label %14 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 %18 = call i32 @strnlen(ptr noundef %17, i32 noundef 50) %19 = icmp eq i32 %18, 50 br i1 %19, label %20, label %22 20: ; preds = %14, %2 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %86 22: ; preds = %14 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 2 %25 = load ptr, ptr %24, align 8 %26 = call i32 @strnlen(ptr noundef %25, i32 noundef 6) %27 = icmp eq i32 %26, 6 br i1 %27, label %28, label %30 28: ; preds = %22 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 1, ptr %3, align 4 br label %86 30: ; preds = %22 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds ptr, ptr %31, i64 1 %33 = load ptr, ptr %32, align 8 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 2 %36 = load ptr, ptr %35, align 8 %37 = call i64 @get_address(ptr noundef %33, ptr noundef %36, ptr noundef %6) %38 = icmp ne i64 %37, 0 br i1 %38, label %39, label %41 39: ; preds = %30 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 1, ptr %3, align 4 br label %86 41: ; preds = %30 %42 = load i32, ptr @AF_INET, align 4 %43 = load i32, ptr @SOCK_STREAM, align 4 %44 = call i32 @socket(i32 noundef %42, i32 noundef %43, i32 noundef 0) store i32 %44, ptr %7, align 4 %45 = load i32, ptr %7, align 4 %46 = call i32 @connect(i32 noundef %45, ptr noundef %6, i32 noundef 16) %47 = icmp eq i32 %46, -1 br i1 %47, label %48, label %50 48: ; preds = %41 %49 = call i32 @perror(ptr noundef @.str.3) store i32 1, ptr %3, align 4 br label %86 50: ; preds = %41 %51 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %52 = load ptr, ptr %5, align 8 %53 = getelementptr inbounds ptr, ptr %52, i64 1 %54 = load ptr, ptr %53, align 8 %55 = load ptr, ptr %5, align 8 %56 = getelementptr inbounds ptr, ptr %55, i64 2 %57 = load ptr, ptr %56, align 8 %58 = call i32 @snprintf(ptr noundef %51, i32 noundef 512, ptr noundef @.str.4, ptr noundef %54, ptr noundef %57) %59 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %60 = call i32 @strlen(ptr noundef %59) store i32 %60, ptr %9, align 4 %61 = load i32, ptr %7, align 4 %62 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %63 = load i32, ptr %9, align 4 %64 = call i32 @write(i32 noundef %61, ptr noundef %62, i32 noundef %63) %65 = load i32, ptr %9, align 4 %66 = icmp ne i32 %64, %65 br i1 %66, label %67, label %69 67: ; preds = %50 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) store i32 1, ptr %3, align 4 br label %86 69: ; preds = %50 call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 4096, i1 false) store i32 0, ptr %11, align 4 br label %70 70: ; preds = %75, %69 %71 = load i32, ptr %7, align 4 %72 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0 %73 = call i32 @read(i32 noundef %71, ptr noundef %72, i32 noundef 4096) store i32 %73, ptr %11, align 4 %74 = icmp sgt i32 %73, 0 br i1 %74, label %75, label %78 75: ; preds = %70 %76 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0 %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %76) br label %70, !llvm.loop !6 78: ; preds = %70 %79 = load i32, ptr %11, align 4 %80 = icmp eq i32 %79, -1 br i1 %80, label %81, label %83 81: ; preds = %78 %82 = call i32 @perror(ptr noundef @.str.7) store i32 1, ptr %3, align 4 br label %86 83: ; preds = %78 %84 = load i32, ptr %7, align 4 %85 = call i32 @close(i32 noundef %84) br label %86 86: ; preds = %83, %81, %67, %48, %39, %28, %20 %87 = load i32, ptr %3, align 4 ret i32 %87 } declare i32 @strnlen(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i64 @get_address(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @read(i32 noundef, ptr 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" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx8gqemgp.c" target datalayout = "e-m:e-p270: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 = type { i32 } @.str = private unnamed_addr constant [51 x i8] c"Curl called but HOST or PORT not given or invalid\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"Curl called but PORT malformed\0A\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c"Curl could not resolve hostname\0A\00", align 1 @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [36 x i8] c"Curl could not establish connection\00", align 1 @.str.4 = private unnamed_addr constant [51 x i8] c"GET / HTTP/1.1\0D\0AHost: %s:%s\0D\0AConnection: close\0D\0A\0D\0A\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"Write error\0A\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.7 = private unnamed_addr constant [16 x i8] c"Curl read error\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 %struct.sockaddr, align 4 %7 = alloca i32, align 4 %8 = alloca [512 x i8], align 16 %9 = alloca i32, align 4 %10 = alloca [4096 x i8], align 16 %11 = 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 %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 3 br i1 %13, label %20, label %14 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 %18 = call i32 @strnlen(ptr noundef %17, i32 noundef 50) %19 = icmp eq i32 %18, 50 br i1 %19, label %20, label %22 20: ; preds = %14, %2 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %88 22: ; preds = %14 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 2 %25 = load ptr, ptr %24, align 8 %26 = call i32 @strnlen(ptr noundef %25, i32 noundef 6) %27 = icmp eq i32 %26, 6 br i1 %27, label %28, label %30 28: ; preds = %22 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 1, ptr %3, align 4 br label %88 30: ; preds = %22 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds ptr, ptr %31, i64 1 %33 = load ptr, ptr %32, align 8 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 2 %36 = load ptr, ptr %35, align 8 %37 = call i64 @get_address(ptr noundef %33, ptr noundef %36, ptr noundef %6) %38 = icmp ne i64 %37, 0 br i1 %38, label %39, label %41 39: ; preds = %30 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 1, ptr %3, align 4 br label %88 41: ; preds = %30 %42 = load i32, ptr @AF_INET, align 4 %43 = load i32, ptr @SOCK_STREAM, align 4 %44 = call i32 @socket(i32 noundef %42, i32 noundef %43, i32 noundef 0) store i32 %44, ptr %7, align 4 %45 = load i32, ptr %7, align 4 %46 = call i32 @connect(i32 noundef %45, ptr noundef %6, i32 noundef 16) %47 = icmp eq i32 %46, -1 br i1 %47, label %48, label %50 48: ; preds = %41 %49 = call i32 @perror(ptr noundef @.str.3) store i32 1, ptr %3, align 4 br label %88 50: ; preds = %41 %51 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %52 = load ptr, ptr %5, align 8 %53 = getelementptr inbounds ptr, ptr %52, i64 1 %54 = load ptr, ptr %53, align 8 %55 = load ptr, ptr %5, align 8 %56 = getelementptr inbounds ptr, ptr %55, i64 2 %57 = load ptr, ptr %56, align 8 %58 = call i32 @snprintf(ptr noundef %51, i32 noundef 512, ptr noundef @.str.4, ptr noundef %54, ptr noundef %57) %59 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %60 = call i32 @strlen(ptr noundef %59) store i32 %60, ptr %9, align 4 %61 = load i32, ptr %7, align 4 %62 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %63 = load i32, ptr %9, align 4 %64 = call i32 @write(i32 noundef %61, ptr noundef %62, i32 noundef %63) %65 = load i32, ptr %9, align 4 %66 = icmp ne i32 %64, %65 br i1 %66, label %67, label %69 67: ; preds = %50 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) store i32 1, ptr %3, align 4 br label %88 69: ; preds = %50 call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 4096, i1 false) store i32 0, ptr %11, align 4 %70 = load i32, ptr %7, align 4 %71 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0 %72 = call i32 @read(i32 noundef %70, ptr noundef %71, i32 noundef 4096) store i32 %72, ptr %11, align 4 %73 = icmp sgt i32 %72, 0 br i1 %73, label %.lr.ph, label %80 .lr.ph: ; preds = %69 br label %74 74: ; preds = %.lr.ph, %74 %75 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0 %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %75) %77 = load i32, ptr %7, align 4 %78 = call i32 @read(i32 noundef %77, ptr noundef %71, i32 noundef 4096) store i32 %78, ptr %11, align 4 %79 = icmp sgt i32 %78, 0 br i1 %79, label %74, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %74 br label %80 80: ; preds = %._crit_edge, %69 %81 = load i32, ptr %11, align 4 %82 = icmp eq i32 %81, -1 br i1 %82, label %83, label %85 83: ; preds = %80 %84 = call i32 @perror(ptr noundef @.str.7) store i32 1, ptr %3, align 4 br label %88 85: ; preds = %80 %86 = load i32, ptr %7, align 4 %87 = call i32 @close(i32 noundef %86) br label %88 88: ; preds = %85, %83, %67, %48, %39, %28, %20 %89 = load i32, ptr %3, align 4 ret i32 %89 } declare i32 @strnlen(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i64 @get_address(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @read(i32 noundef, ptr 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" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp6qd26oyo.c' source_filename = "/tmp/tmp6qd26oyo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BUFSIZ = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @checkuser(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 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %6, align 4 %10 = load i32, ptr @BUFSIZ, align 4 %11 = zext i32 %10 to i64 %12 = call ptr @llvm.stacksave() store ptr %12, ptr %8, align 8 %13 = alloca i8, i64 %11, align 16 store i64 %11, ptr %9, align 8 %14 = load ptr, ptr %3, align 8 %15 = call ptr @fopen(ptr noundef %14, ptr noundef @.str) store ptr %15, ptr %5, align 8 %16 = load ptr, ptr %5, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %18, label %45 18: ; preds = %2 br label %19 19: ; preds = %41, %29, %18 %20 = trunc i64 %11 to i32 %21 = load ptr, ptr %5, align 8 %22 = call ptr @fgets(ptr noundef %13, i32 noundef %20, ptr noundef %21) %23 = icmp ne ptr %22, null br i1 %23, label %24, label %42 24: ; preds = %19 %25 = getelementptr inbounds i8, ptr %13, i64 0 %26 = load i8, ptr %25, align 16 %27 = sext i8 %26 to i32 %28 = icmp eq i32 %27, 35 br i1 %28, label %29, label %30 29: ; preds = %24 br label %19, !llvm.loop !6 30: ; preds = %24 %31 = call ptr @strchr(ptr noundef %13, i8 noundef signext 10) store ptr %31, ptr %7, align 8 %32 = load ptr, ptr %7, align 8 %33 = icmp ne ptr %32, null br i1 %33, label %34, label %41 34: ; preds = %30 %35 = load ptr, ptr %7, align 8 store i8 0, ptr %35, align 1 %36 = load ptr, ptr %4, align 8 %37 = call i64 @strcmp(ptr noundef %13, ptr noundef %36) %38 = icmp eq i64 %37, 0 br i1 %38, label %39, label %40 39: ; preds = %34 store i32 1, ptr %6, align 4 br label %42 40: ; preds = %34 br label %41 41: ; preds = %40, %30 br label %19, !llvm.loop !6 42: ; preds = %39, %19 %43 = load ptr, ptr %5, align 8 %44 = call i32 @fclose(ptr noundef %43) br label %45 45: ; preds = %42, %2 %46 = load i32, ptr %6, align 4 %47 = load ptr, ptr %8, align 8 call void @llvm.stackrestore(ptr %47) ret i32 %46 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #2 declare ptr @strchr(ptr noundef, i8 noundef signext) #2 declare i64 @strcmp(ptr noundef, ptr noundef) #2 declare i32 @fclose(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6qd26oyo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BUFSIZ = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @checkuser(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 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %6, align 4 %10 = load i32, ptr @BUFSIZ, align 4 %11 = zext i32 %10 to i64 %12 = call ptr @llvm.stacksave() store ptr %12, ptr %8, align 8 %13 = alloca i8, i64 %11, align 16 store i64 %11, ptr %9, align 8 %14 = load ptr, ptr %3, align 8 %15 = call ptr @fopen(ptr noundef %14, ptr noundef @.str) store ptr %15, ptr %5, align 8 %16 = load ptr, ptr %5, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %18, label %47 18: ; preds = %2 %19 = trunc i64 %11 to i32 %20 = load ptr, ptr %5, align 8 %21 = call ptr @fgets(ptr noundef %13, i32 noundef %19, ptr noundef %20) %22 = icmp ne ptr %21, null br i1 %22, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %18 br label %23 23: ; preds = %.lr.ph, %.backedge %24 = getelementptr inbounds i8, ptr %13, i64 0 %25 = load i8, ptr %24, align 16 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, 35 br i1 %27, label %28, label %32 28: ; preds = %23 br label %.backedge .backedge: ; preds = %28, %43 %29 = load ptr, ptr %5, align 8 %30 = call ptr @fgets(ptr noundef %13, i32 noundef %19, ptr noundef %29) %31 = icmp ne ptr %30, null br i1 %31, label %23, label %..loopexit_crit_edge, !llvm.loop !6 32: ; preds = %23 %33 = call ptr @strchr(ptr noundef %13, i8 noundef signext 10) store ptr %33, ptr %7, align 8 %34 = load ptr, ptr %7, align 8 %35 = icmp ne ptr %34, null br i1 %35, label %36, label %43 36: ; preds = %32 %37 = load ptr, ptr %7, align 8 store i8 0, ptr %37, align 1 %38 = load ptr, ptr %4, align 8 %39 = call i64 @strcmp(ptr noundef %13, ptr noundef %38) %40 = icmp eq i64 %39, 0 br i1 %40, label %41, label %42 41: ; preds = %36 store i32 1, ptr %6, align 4 br label %44 42: ; preds = %36 br label %43 43: ; preds = %42, %32 br label %.backedge ..loopexit_crit_edge: ; preds = %.backedge br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %18 br label %44 44: ; preds = %.loopexit, %41 %45 = load ptr, ptr %5, align 8 %46 = call i32 @fclose(ptr noundef %45) br label %47 47: ; preds = %44, %2 %48 = load i32, ptr %6, align 4 %49 = load ptr, ptr %8, align 8 call void @llvm.stackrestore(ptr %49) ret i32 %48 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #2 declare ptr @strchr(ptr noundef, i8 noundef signext) #2 declare i64 @strcmp(ptr noundef, ptr noundef) #2 declare i32 @fclose(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"}
; ModuleID = '/tmp/tmp4zhfsql5.c' source_filename = "/tmp/tmp4zhfsql5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @error_out() #0 { %1 = call i32 (...) @free_mem() %2 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @free_mem(...) #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/tmp4zhfsql5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @error_out() #0 { %1 = call i32 (...) @free_mem() %2 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @free_mem(...) #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/tmpfhwikrjn.c' source_filename = "/tmp/tmpfhwikrjn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BUFSIZ = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfhwikrjn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BUFSIZ = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfqc4hsf5.c' source_filename = "/tmp/tmpfqc4hsf5.c" target datalayout = "e-m:e-p270: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/tmpfqc4hsf5.c" target datalayout = "e-m:e-p270: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/tmpz2xh4jto.c' source_filename = "/tmp/tmpz2xh4jto.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %8 = load i32, ptr %3, align 4 %9 = sext i32 %8 to i64 %10 = mul i64 4, %9 %11 = trunc i64 %10 to i32 %12 = call ptr @malloc(i32 noundef %11) store ptr %12, ptr %2, align 8 store i32 0, ptr %6, align 4 br label %13 13: ; preds = %23, %0 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %3, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %17, label %26 17: ; preds = %13 %18 = load ptr, ptr %2, align 8 %19 = load i32, ptr %6, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %18, i64 %20 %22 = call i32 @scanf(ptr noundef @.str, ptr noundef %21) br label %23 23: ; preds = %17 %24 = load i32, ptr %6, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %6, align 4 br label %13, !llvm.loop !6 26: ; preds = %13 %27 = call i32 @scanf(ptr noundef @.str, ptr noundef %5) %28 = load i32, ptr %5, align 4 %29 = sext i32 %28 to i64 %30 = mul i64 4, %29 %31 = trunc i64 %30 to i32 %32 = call ptr @malloc(i32 noundef %31) store ptr %32, ptr %4, align 8 store i32 0, ptr %6, align 4 br label %33 33: ; preds = %43, %26 %34 = load i32, ptr %6, align 4 %35 = load i32, ptr %5, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %37, label %46 37: ; preds = %33 %38 = load ptr, ptr %4, align 8 %39 = load i32, ptr %6, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i32, ptr %38, i64 %40 %42 = call i32 @scanf(ptr noundef @.str, ptr noundef %41) br label %43 43: ; preds = %37 %44 = load i32, ptr %6, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %6, align 4 br label %33, !llvm.loop !8 46: ; preds = %33 %47 = load ptr, ptr %2, align 8 %48 = load i32, ptr %3, align 4 %49 = load ptr, ptr %4, align 8 %50 = load i32, ptr %5, align 4 %51 = call i32 @intersectOrdered(ptr noundef %47, i32 noundef %48, ptr noundef %49, i32 noundef %50) %52 = call i32 @printf(ptr noundef @.str, i32 noundef %51) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @intersectOrdered(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz2xh4jto.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %8 = load i32, ptr %3, align 4 %9 = sext i32 %8 to i64 %10 = mul i64 4, %9 %11 = trunc i64 %10 to i32 %12 = call ptr @malloc(i32 noundef %11) store ptr %12, ptr %2, align 8 store i32 0, ptr %6, align 4 %13 = load i32, ptr %6, align 4 %14 = load i32, ptr %3, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %.lr.ph, label %28 .lr.ph: ; preds = %0 br label %16 16: ; preds = %.lr.ph, %22 %17 = load ptr, ptr %2, align 8 %18 = load i32, ptr %6, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %17, i64 %19 %21 = call i32 @scanf(ptr noundef @.str, ptr noundef %20) br label %22 22: ; preds = %16 %23 = load i32, ptr %6, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %6, align 4 %25 = load i32, ptr %6, align 4 %26 = load i32, ptr %3, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %28 28: ; preds = %._crit_edge, %0 %29 = call i32 @scanf(ptr noundef @.str, ptr noundef %5) %30 = load i32, ptr %5, align 4 %31 = sext i32 %30 to i64 %32 = mul i64 4, %31 %33 = trunc i64 %32 to i32 %34 = call ptr @malloc(i32 noundef %33) store ptr %34, ptr %4, align 8 store i32 0, ptr %6, align 4 %35 = load i32, ptr %6, align 4 %36 = load i32, ptr %5, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %.lr.ph2, label %50 .lr.ph2: ; preds = %28 br label %38 38: ; preds = %.lr.ph2, %44 %39 = load ptr, ptr %4, align 8 %40 = load i32, ptr %6, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %39, i64 %41 %43 = call i32 @scanf(ptr noundef @.str, ptr noundef %42) br label %44 44: ; preds = %38 %45 = load i32, ptr %6, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %6, align 4 %47 = load i32, ptr %6, align 4 %48 = load i32, ptr %5, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %38, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %44 br label %50 50: ; preds = %._crit_edge3, %28 %51 = load ptr, ptr %2, align 8 %52 = load i32, ptr %3, align 4 %53 = load ptr, ptr %4, align 8 %54 = load i32, ptr %5, align 4 %55 = call i32 @intersectOrdered(ptr noundef %51, i32 noundef %52, ptr noundef %53, i32 noundef %54) %56 = call i32 @printf(ptr noundef @.str, i32 noundef %55) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @intersectOrdered(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpc6larnck.c' source_filename = "/tmp/tmpc6larnck.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"HallOfShame.dat\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @SEEK_END = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getOldFileLength() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %4, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %11, label %7 7: ; preds = %0 %8 = load ptr, ptr %2, align 8 %9 = call i64 @ferror(ptr noundef %8) %10 = icmp ne i64 %9, 0 br i1 %10, label %11, label %18 11: ; preds = %7, %0 %12 = load ptr, ptr %2, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %17 14: ; preds = %11 %15 = load ptr, ptr %2, align 8 %16 = call i32 @fclose(ptr noundef %15) br label %17 17: ; preds = %14, %11 store i32 -1, ptr %1, align 4 br label %27 18: ; preds = %7 %19 = load ptr, ptr %2, align 8 %20 = load i32, ptr @SEEK_END, align 4 %21 = call i32 @fseek(ptr noundef %19, i32 noundef 0, i32 noundef %20) %22 = load ptr, ptr %2, align 8 %23 = call i32 @ftell(ptr noundef %22) store i32 %23, ptr %3, align 4 %24 = load ptr, ptr %2, align 8 %25 = call i32 @fclose(ptr noundef %24) %26 = load i32, ptr %3, align 4 store i32 %26, ptr %1, align 4 br label %27 27: ; preds = %18, %17 %28 = load i32, ptr %1, align 4 ret i32 %28 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @ferror(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @ftell(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc6larnck.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"HallOfShame.dat\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @SEEK_END = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getOldFileLength() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %4, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %11, label %7 7: ; preds = %0 %8 = load ptr, ptr %2, align 8 %9 = call i64 @ferror(ptr noundef %8) %10 = icmp ne i64 %9, 0 br i1 %10, label %11, label %18 11: ; preds = %7, %0 %12 = load ptr, ptr %2, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %17 14: ; preds = %11 %15 = load ptr, ptr %2, align 8 %16 = call i32 @fclose(ptr noundef %15) br label %17 17: ; preds = %14, %11 store i32 -1, ptr %1, align 4 br label %27 18: ; preds = %7 %19 = load ptr, ptr %2, align 8 %20 = load i32, ptr @SEEK_END, align 4 %21 = call i32 @fseek(ptr noundef %19, i32 noundef 0, i32 noundef %20) %22 = load ptr, ptr %2, align 8 %23 = call i32 @ftell(ptr noundef %22) store i32 %23, ptr %3, align 4 %24 = load ptr, ptr %2, align 8 %25 = call i32 @fclose(ptr noundef %24) %26 = load i32, ptr %3, align 4 store i32 %26, ptr %1, align 4 br label %27 27: ; preds = %18, %17 %28 = load i32, ptr %1, align 4 ret i32 %28 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @ferror(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @ftell(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprcms_w4g.c' source_filename = "/tmp/tmprcms_w4g.c" target datalayout = "e-m:e-p270: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/tmprcms_w4g.c" target datalayout = "e-m:e-p270: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/tmpysf8s2go.c' source_filename = "/tmp/tmpysf8s2go.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iCBConstruct(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %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 [3 x float], align 4 %18 = alloca [40 x float], align 16 store ptr %0, ptr %8, align 8 store ptr %1, ptr %9, align 8 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store i32 %4, ptr %12, align 4 store i32 %5, ptr %13, align 4 store i32 %6, ptr %14, align 4 %19 = load ptr, ptr %10, align 8 %20 = getelementptr inbounds i32, ptr %19, i64 0 %21 = load i32, ptr %20, align 4 %22 = call float @gaindequant(i32 noundef %21, float noundef 1.000000e+00, i32 noundef 32) %23 = getelementptr inbounds [3 x float], ptr %17, i64 0, i64 0 store float %22, ptr %23, align 4 %24 = load i32, ptr %14, align 4 %25 = icmp sgt i32 %24, 1 br i1 %25, label %26, label %36 26: ; preds = %7 %27 = load ptr, ptr %10, align 8 %28 = getelementptr inbounds i32, ptr %27, i64 1 %29 = load i32, ptr %28, align 4 %30 = getelementptr inbounds [3 x float], ptr %17, i64 0, i64 0 %31 = load float, ptr %30, align 4 %32 = call i64 @fabs(float noundef %31) %33 = sitofp i64 %32 to float %34 = call float @gaindequant(i32 noundef %29, float noundef %33, i32 noundef 16) %35 = getelementptr inbounds [3 x float], ptr %17, i64 0, i64 1 store float %34, ptr %35, align 4 br label %36 36: ; preds = %26, %7 %37 = load i32, ptr %14, align 4 %38 = icmp sgt i32 %37, 2 br i1 %38, label %39, label %49 39: ; preds = %36 %40 = load ptr, ptr %10, align 8 %41 = getelementptr inbounds i32, ptr %40, i64 2 %42 = load i32, ptr %41, align 4 %43 = getelementptr inbounds [3 x float], ptr %17, i64 0, i64 1 %44 = load float, ptr %43, align 4 %45 = call i64 @fabs(float noundef %44) %46 = sitofp i64 %45 to float %47 = call float @gaindequant(i32 noundef %42, float noundef %46, i32 noundef 8) %48 = getelementptr inbounds [3 x float], ptr %17, i64 0, i64 2 store float %47, ptr %48, align 4 br label %49 49: ; preds = %39, %36 %50 = getelementptr inbounds [40 x float], ptr %18, i64 0, i64 0 %51 = load ptr, ptr %11, align 8 %52 = load ptr, ptr %9, align 8 %53 = getelementptr inbounds i32, ptr %52, i64 0 %54 = load i32, ptr %53, align 4 %55 = load i32, ptr %12, align 4 %56 = load i32, ptr %13, align 4 %57 = call i32 @getCBvec(ptr noundef %50, ptr noundef %51, i32 noundef %54, i32 noundef %55, i32 noundef %56) store i32 0, ptr %15, align 4 br label %58 58: ; preds = %74, %49 %59 = load i32, ptr %15, align 4 %60 = load i32, ptr %13, align 4 %61 = icmp slt i32 %59, %60 br i1 %61, label %62, label %77 62: ; preds = %58 %63 = getelementptr inbounds [3 x float], ptr %17, i64 0, i64 0 %64 = load float, ptr %63, align 4 %65 = load i32, ptr %15, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [40 x float], ptr %18, i64 0, i64 %66 %68 = load float, ptr %67, align 4 %69 = fmul float %64, %68 %70 = load ptr, ptr %8, align 8 %71 = load i32, ptr %15, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds float, ptr %70, i64 %72 store float %69, ptr %73, align 4 br label %74 74: ; preds = %62 %75 = load i32, ptr %15, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %15, align 4 br label %58, !llvm.loop !6 77: ; preds = %58 %78 = load i32, ptr %14, align 4 %79 = icmp sgt i32 %78, 1 br i1 %79, label %80, label %123 80: ; preds = %77 store i32 1, ptr %16, align 4 br label %81 81: ; preds = %119, %80 %82 = load i32, ptr %16, align 4 %83 = load i32, ptr %14, align 4 %84 = icmp slt i32 %82, %83 br i1 %84, label %85, label %122 85: ; preds = %81 %86 = getelementptr inbounds [40 x float], ptr %18, i64 0, i64 0 %87 = load ptr, ptr %11, align 8 %88 = load ptr, ptr %9, align 8 %89 = load i32, ptr %16, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds i32, ptr %88, i64 %90 %92 = load i32, ptr %91, align 4 %93 = load i32, ptr %12, align 4 %94 = load i32, ptr %13, align 4 %95 = call i32 @getCBvec(ptr noundef %86, ptr noundef %87, i32 noundef %92, i32 noundef %93, i32 noundef %94) store i32 0, ptr %15, align 4 br label %96 96: ; preds = %115, %85 %97 = load i32, ptr %15, align 4 %98 = load i32, ptr %13, align 4 %99 = icmp slt i32 %97, %98 br i1 %99, label %100, label %118 100: ; preds = %96 %101 = load i32, ptr %16, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds [3 x float], ptr %17, i64 0, i64 %102 %104 = load float, ptr %103, align 4 %105 = load i32, ptr %15, align 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds [40 x float], ptr %18, i64 0, i64 %106 %108 = load float, ptr %107, align 4 %109 = load ptr, ptr %8, align 8 %110 = load i32, ptr %15, align 4 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds float, ptr %109, i64 %111 %113 = load float, ptr %112, align 4 %114 = call float @llvm.fmuladd.f32(float %104, float %108, float %113) store float %114, ptr %112, align 4 br label %115 115: ; preds = %100 %116 = load i32, ptr %15, align 4 %117 = add nsw i32 %116, 1 store i32 %117, ptr %15, align 4 br label %96, !llvm.loop !8 118: ; preds = %96 br label %119 119: ; preds = %118 %120 = load i32, ptr %16, align 4 %121 = add nsw i32 %120, 1 store i32 %121, ptr %16, align 4 br label %81, !llvm.loop !9 122: ; preds = %81 br label %123 123: ; preds = %122, %77 ret void } declare float @gaindequant(i32 noundef, float noundef, i32 noundef) #1 declare i64 @fabs(float noundef) #1 declare i32 @getCBvec(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpysf8s2go.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iCBConstruct(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %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 [3 x float], align 4 %18 = alloca [40 x float], align 16 store ptr %0, ptr %8, align 8 store ptr %1, ptr %9, align 8 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store i32 %4, ptr %12, align 4 store i32 %5, ptr %13, align 4 store i32 %6, ptr %14, align 4 %19 = load ptr, ptr %10, align 8 %20 = getelementptr inbounds i32, ptr %19, i64 0 %21 = load i32, ptr %20, align 4 %22 = call float @gaindequant(i32 noundef %21, float noundef 1.000000e+00, i32 noundef 32) %23 = getelementptr inbounds [3 x float], ptr %17, i64 0, i64 0 store float %22, ptr %23, align 4 %24 = load i32, ptr %14, align 4 %25 = icmp sgt i32 %24, 1 br i1 %25, label %26, label %36 26: ; preds = %7 %27 = load ptr, ptr %10, align 8 %28 = getelementptr inbounds i32, ptr %27, i64 1 %29 = load i32, ptr %28, align 4 %30 = getelementptr inbounds [3 x float], ptr %17, i64 0, i64 0 %31 = load float, ptr %30, align 4 %32 = call i64 @fabs(float noundef %31) %33 = sitofp i64 %32 to float %34 = call float @gaindequant(i32 noundef %29, float noundef %33, i32 noundef 16) %35 = getelementptr inbounds [3 x float], ptr %17, i64 0, i64 1 store float %34, ptr %35, align 4 br label %36 36: ; preds = %26, %7 %37 = load i32, ptr %14, align 4 %38 = icmp sgt i32 %37, 2 br i1 %38, label %39, label %49 39: ; preds = %36 %40 = load ptr, ptr %10, align 8 %41 = getelementptr inbounds i32, ptr %40, i64 2 %42 = load i32, ptr %41, align 4 %43 = getelementptr inbounds [3 x float], ptr %17, i64 0, i64 1 %44 = load float, ptr %43, align 4 %45 = call i64 @fabs(float noundef %44) %46 = sitofp i64 %45 to float %47 = call float @gaindequant(i32 noundef %42, float noundef %46, i32 noundef 8) %48 = getelementptr inbounds [3 x float], ptr %17, i64 0, i64 2 store float %47, ptr %48, align 4 br label %49 49: ; preds = %39, %36 %50 = getelementptr inbounds [40 x float], ptr %18, i64 0, i64 0 %51 = load ptr, ptr %11, align 8 %52 = load ptr, ptr %9, align 8 %53 = getelementptr inbounds i32, ptr %52, i64 0 %54 = load i32, ptr %53, align 4 %55 = load i32, ptr %12, align 4 %56 = load i32, ptr %13, align 4 %57 = call i32 @getCBvec(ptr noundef %50, ptr noundef %51, i32 noundef %54, i32 noundef %55, i32 noundef %56) store i32 0, ptr %15, align 4 %58 = load i32, ptr %15, align 4 %59 = load i32, ptr %13, align 4 %60 = icmp slt i32 %58, %59 br i1 %60, label %.lr.ph, label %79 .lr.ph: ; preds = %49 br label %61 61: ; preds = %.lr.ph, %73 %62 = getelementptr inbounds [3 x float], ptr %17, i64 0, i64 0 %63 = load float, ptr %62, align 4 %64 = load i32, ptr %15, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds [40 x float], ptr %18, i64 0, i64 %65 %67 = load float, ptr %66, align 4 %68 = fmul float %63, %67 %69 = load ptr, ptr %8, align 8 %70 = load i32, ptr %15, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds float, ptr %69, i64 %71 store float %68, ptr %72, align 4 br label %73 73: ; preds = %61 %74 = load i32, ptr %15, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %15, align 4 %76 = load i32, ptr %15, align 4 %77 = load i32, ptr %13, align 4 %78 = icmp slt i32 %76, %77 br i1 %78, label %61, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %73 br label %79 79: ; preds = %._crit_edge, %49 %80 = load i32, ptr %14, align 4 %81 = icmp sgt i32 %80, 1 br i1 %81, label %82, label %129 82: ; preds = %79 store i32 1, ptr %16, align 4 %83 = load i32, ptr %16, align 4 %84 = load i32, ptr %14, align 4 %85 = icmp slt i32 %83, %84 br i1 %85, label %.lr.ph5, label %128 .lr.ph5: ; preds = %82 br label %86 86: ; preds = %.lr.ph5, %122 %87 = getelementptr inbounds [40 x float], ptr %18, i64 0, i64 0 %88 = load ptr, ptr %11, align 8 %89 = load ptr, ptr %9, align 8 %90 = load i32, ptr %16, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds i32, ptr %89, i64 %91 %93 = load i32, ptr %92, align 4 %94 = load i32, ptr %12, align 4 %95 = load i32, ptr %13, align 4 %96 = call i32 @getCBvec(ptr noundef %87, ptr noundef %88, i32 noundef %93, i32 noundef %94, i32 noundef %95) store i32 0, ptr %15, align 4 %97 = load i32, ptr %15, align 4 %98 = load i32, ptr %13, align 4 %99 = icmp slt i32 %97, %98 br i1 %99, label %.lr.ph2, label %121 .lr.ph2: ; preds = %86 br label %100 100: ; preds = %.lr.ph2, %115 %101 = load i32, ptr %16, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds [3 x float], ptr %17, i64 0, i64 %102 %104 = load float, ptr %103, align 4 %105 = load i32, ptr %15, align 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds [40 x float], ptr %18, i64 0, i64 %106 %108 = load float, ptr %107, align 4 %109 = load ptr, ptr %8, align 8 %110 = load i32, ptr %15, align 4 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds float, ptr %109, i64 %111 %113 = load float, ptr %112, align 4 %114 = call float @llvm.fmuladd.f32(float %104, float %108, float %113) store float %114, ptr %112, align 4 br label %115 115: ; preds = %100 %116 = load i32, ptr %15, align 4 %117 = add nsw i32 %116, 1 store i32 %117, ptr %15, align 4 %118 = load i32, ptr %15, align 4 %119 = load i32, ptr %13, align 4 %120 = icmp slt i32 %118, %119 br i1 %120, label %100, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %115 br label %121 121: ; preds = %._crit_edge3, %86 br label %122 122: ; preds = %121 %123 = load i32, ptr %16, align 4 %124 = add nsw i32 %123, 1 store i32 %124, ptr %16, align 4 %125 = load i32, ptr %16, align 4 %126 = load i32, ptr %14, align 4 %127 = icmp slt i32 %125, %126 br i1 %127, label %86, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %122 br label %128 128: ; preds = %._crit_edge6, %82 br label %129 129: ; preds = %128, %79 ret void } declare float @gaindequant(i32 noundef, float noundef, i32 noundef) #1 declare i64 @fabs(float noundef) #1 declare i32 @getCBvec(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpk39ohyo0.c' source_filename = "/tmp/tmpk39ohyo0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk39ohyo0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzt_2dqsr.c' source_filename = "/tmp/tmpzt_2dqsr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @promptlen(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 @dopprompt(ptr noundef %3, i32 noundef 0, i32 noundef 0) ret i32 %4 } declare i32 @dopprompt(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/tmpzt_2dqsr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @promptlen(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 @dopprompt(ptr noundef %3, i32 noundef 0, i32 noundef 0) ret i32 %4 } declare i32 @dopprompt(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/tmp9qfjof12.c' source_filename = "/tmp/tmp9qfjof12.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @checar_colision(i32 noundef %0, i32 noundef %1, i8 noundef signext %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i8, align 1 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i8 %2, ptr %7, align 1 store ptr %3, ptr %8, align 8 store i32 0, ptr %9, align 4 %10 = load i8, ptr %7, align 1 %11 = sext i8 %10 to i32 switch i32 %11, label %73 [ i32 119, label %12 i32 97, label %25 i32 115, label %38 i32 100, label %60 ] 12: ; preds = %4 %13 = load ptr, ptr %8, align 8 %14 = load i32, ptr %5, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [212 x i32], ptr %13, i64 %15 %17 = load i32, ptr %6, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [212 x i32], ptr %16, i64 0, i64 %18 %20 = load i32, ptr %19, align 4 %21 = call i32 @resultado_impacto(i32 noundef %20) %22 = icmp eq i32 %21, 1 br i1 %22, label %23, label %24 23: ; preds = %12 store i32 1, ptr %9, align 4 br label %24 24: ; preds = %23, %12 br label %73 25: ; preds = %4 %26 = load ptr, ptr %8, align 8 %27 = load i32, ptr %5, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [212 x i32], ptr %26, i64 %28 %30 = load i32, ptr %6, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [212 x i32], ptr %29, i64 0, i64 %31 %33 = load i32, ptr %32, align 4 %34 = call i32 @resultado_impacto(i32 noundef %33) %35 = icmp eq i32 %34, 1 br i1 %35, label %36, label %37 36: ; preds = %25 store i32 1, ptr %9, align 4 br label %37 37: ; preds = %36, %25 br label %73 38: ; preds = %4 %39 = load ptr, ptr %8, align 8 %40 = load i32, ptr %5, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [212 x i32], ptr %39, i64 %41 %43 = load i32, ptr %6, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [212 x i32], ptr %42, i64 0, i64 %44 %46 = load i32, ptr %45, align 4 %47 = call i32 @resultado_impacto(i32 noundef %46) %48 = icmp eq i32 %47, 1 br i1 %48, label %49, label %50 49: ; preds = %38 store i32 1, ptr %9, align 4 br label %50 50: ; preds = %49, %38 %51 = load ptr, ptr %8, align 8 %52 = load i32, ptr %5, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [212 x i32], ptr %51, i64 %53 %55 = load i32, ptr %6, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [212 x i32], ptr %54, i64 0, i64 %56 %58 = load i32, ptr %57, align 4 %59 = call i32 @printf(ptr noundef @.str, i32 noundef %58) br label %73 60: ; preds = %4 %61 = load ptr, ptr %8, align 8 %62 = load i32, ptr %5, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds [212 x i32], ptr %61, i64 %63 %65 = load i32, ptr %6, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [212 x i32], ptr %64, i64 0, i64 %66 %68 = load i32, ptr %67, align 4 %69 = call i32 @resultado_impacto(i32 noundef %68) %70 = icmp eq i32 %69, 1 br i1 %70, label %71, label %72 71: ; preds = %60 store i32 1, ptr %9, align 4 br label %72 72: ; preds = %71, %60 br label %73 73: ; preds = %4, %72, %50, %37, %24 %74 = load i32, ptr %9, align 4 ret i32 %74 } declare i32 @resultado_impacto(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9qfjof12.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @checar_colision(i32 noundef %0, i32 noundef %1, i8 noundef signext %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i8, align 1 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i8 %2, ptr %7, align 1 store ptr %3, ptr %8, align 8 store i32 0, ptr %9, align 4 %10 = load i8, ptr %7, align 1 %11 = sext i8 %10 to i32 switch i32 %11, label %73 [ i32 119, label %12 i32 97, label %25 i32 115, label %38 i32 100, label %60 ] 12: ; preds = %4 %13 = load ptr, ptr %8, align 8 %14 = load i32, ptr %5, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [212 x i32], ptr %13, i64 %15 %17 = load i32, ptr %6, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [212 x i32], ptr %16, i64 0, i64 %18 %20 = load i32, ptr %19, align 4 %21 = call i32 @resultado_impacto(i32 noundef %20) %22 = icmp eq i32 %21, 1 br i1 %22, label %23, label %24 23: ; preds = %12 store i32 1, ptr %9, align 4 br label %24 24: ; preds = %23, %12 br label %73 25: ; preds = %4 %26 = load ptr, ptr %8, align 8 %27 = load i32, ptr %5, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [212 x i32], ptr %26, i64 %28 %30 = load i32, ptr %6, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [212 x i32], ptr %29, i64 0, i64 %31 %33 = load i32, ptr %32, align 4 %34 = call i32 @resultado_impacto(i32 noundef %33) %35 = icmp eq i32 %34, 1 br i1 %35, label %36, label %37 36: ; preds = %25 store i32 1, ptr %9, align 4 br label %37 37: ; preds = %36, %25 br label %73 38: ; preds = %4 %39 = load ptr, ptr %8, align 8 %40 = load i32, ptr %5, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [212 x i32], ptr %39, i64 %41 %43 = load i32, ptr %6, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [212 x i32], ptr %42, i64 0, i64 %44 %46 = load i32, ptr %45, align 4 %47 = call i32 @resultado_impacto(i32 noundef %46) %48 = icmp eq i32 %47, 1 br i1 %48, label %49, label %50 49: ; preds = %38 store i32 1, ptr %9, align 4 br label %50 50: ; preds = %49, %38 %51 = load ptr, ptr %8, align 8 %52 = load i32, ptr %5, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [212 x i32], ptr %51, i64 %53 %55 = load i32, ptr %6, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [212 x i32], ptr %54, i64 0, i64 %56 %58 = load i32, ptr %57, align 4 %59 = call i32 @printf(ptr noundef @.str, i32 noundef %58) br label %73 60: ; preds = %4 %61 = load ptr, ptr %8, align 8 %62 = load i32, ptr %5, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds [212 x i32], ptr %61, i64 %63 %65 = load i32, ptr %6, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [212 x i32], ptr %64, i64 0, i64 %66 %68 = load i32, ptr %67, align 4 %69 = call i32 @resultado_impacto(i32 noundef %68) %70 = icmp eq i32 %69, 1 br i1 %70, label %71, label %72 71: ; preds = %60 store i32 1, ptr %9, align 4 br label %72 72: ; preds = %71, %60 br label %73 73: ; preds = %72, %50, %37, %24, %4 %74 = load i32, ptr %9, align 4 ret i32 %74 } declare i32 @resultado_impacto(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6tskxkl9.c' source_filename = "/tmp/tmp6tskxkl9.c" target datalayout = "e-m:e-p270: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/tmp6tskxkl9.c" target datalayout = "e-m:e-p270: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/tmpf8p63ahg.c' source_filename = "/tmp/tmpf8p63ahg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"\0A%f\0A%f\0A%f\0A%f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [5 x double], align 16 call void @llvm.memset.p0.i64(ptr align 16 %1, i8 0, i64 40, i1 false) %2 = getelementptr inbounds [5 x double], ptr %1, i32 0, i32 0 store double 1.000000e+00, ptr %2, align 16 %3 = getelementptr inbounds [5 x double], ptr %1, i32 0, i32 1 store double 2.000000e+00, ptr %3, align 8 %4 = getelementptr inbounds [5 x double], ptr %1, i32 0, i32 2 store double 3.000000e+00, ptr %4, align 16 %5 = getelementptr inbounds [5 x double], ptr %1, i32 0, i32 3 store double 4.000000e+00, ptr %5, align 8 %6 = getelementptr inbounds [5 x double], ptr %1, i32 0, i32 4 store double 5.500000e+00, ptr %6, align 16 %7 = getelementptr inbounds [5 x double], ptr %1, i64 0, i64 0 %8 = call i32 @printArray(ptr noundef %7, i32 noundef 5) %9 = getelementptr inbounds [5 x double], ptr %1, i64 0, i64 0 %10 = call double @sum(ptr noundef %9, i32 noundef 5) %11 = getelementptr inbounds [5 x double], ptr %1, i64 0, i64 0 %12 = call double @avg(ptr noundef %11, i32 noundef 5) %13 = getelementptr inbounds [5 x double], ptr %1, i64 0, i64 0 %14 = call double @max(ptr noundef %13, i32 noundef 5) %15 = getelementptr inbounds [5 x double], ptr %1, i64 0, i64 0 %16 = call double @min(ptr noundef %15, i32 noundef 5) %17 = call i32 @printf(ptr noundef @.str, double noundef %10, double noundef %12, double noundef %14, double noundef %16) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @printArray(ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, double noundef, double noundef, double noundef, double noundef) #2 declare double @sum(ptr noundef, i32 noundef) #2 declare double @avg(ptr noundef, i32 noundef) #2 declare double @max(ptr noundef, i32 noundef) #2 declare double @min(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf8p63ahg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"\0A%f\0A%f\0A%f\0A%f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [5 x double], align 16 call void @llvm.memset.p0.i64(ptr align 16 %1, i8 0, i64 40, i1 false) %2 = getelementptr inbounds [5 x double], ptr %1, i32 0, i32 0 store double 1.000000e+00, ptr %2, align 16 %3 = getelementptr inbounds [5 x double], ptr %1, i32 0, i32 1 store double 2.000000e+00, ptr %3, align 8 %4 = getelementptr inbounds [5 x double], ptr %1, i32 0, i32 2 store double 3.000000e+00, ptr %4, align 16 %5 = getelementptr inbounds [5 x double], ptr %1, i32 0, i32 3 store double 4.000000e+00, ptr %5, align 8 %6 = getelementptr inbounds [5 x double], ptr %1, i32 0, i32 4 store double 5.500000e+00, ptr %6, align 16 %7 = getelementptr inbounds [5 x double], ptr %1, i64 0, i64 0 %8 = call i32 @printArray(ptr noundef %7, i32 noundef 5) %9 = getelementptr inbounds [5 x double], ptr %1, i64 0, i64 0 %10 = call double @sum(ptr noundef %9, i32 noundef 5) %11 = getelementptr inbounds [5 x double], ptr %1, i64 0, i64 0 %12 = call double @avg(ptr noundef %11, i32 noundef 5) %13 = getelementptr inbounds [5 x double], ptr %1, i64 0, i64 0 %14 = call double @max(ptr noundef %13, i32 noundef 5) %15 = getelementptr inbounds [5 x double], ptr %1, i64 0, i64 0 %16 = call double @min(ptr noundef %15, i32 noundef 5) %17 = call i32 @printf(ptr noundef @.str, double noundef %10, double noundef %12, double noundef %14, double noundef %16) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @printArray(ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, double noundef, double noundef, double noundef, double noundef) #2 declare double @sum(ptr noundef, i32 noundef) #2 declare double @avg(ptr noundef, i32 noundef) #2 declare double @max(ptr noundef, i32 noundef) #2 declare double @min(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpoo57gy59.c' source_filename = "/tmp/tmpoo57gy59.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"[BEGIN] unix-conformance.dtest\0A\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"[PASS] unix-conformance.dtest\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = call i32 @printf(ptr noundef @.str.1) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoo57gy59.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"[BEGIN] unix-conformance.dtest\0A\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"[PASS] unix-conformance.dtest\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = call i32 @printf(ptr noundef @.str.1) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8ivbh9ly.c' source_filename = "/tmp/tmp8ivbh9ly.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checkportrange(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i8, align 1 %5 = alloca [12 x i8], align 1 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 store i32 0, ptr %8, align 4 %9 = load ptr, ptr %3, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %12 11: ; preds = %2 store i32 1, ptr %8, align 4 br label %46 12: ; preds = %2 %13 = getelementptr inbounds [12 x i8], ptr %5, i64 0, i64 0 %14 = load ptr, ptr %3, align 8 %15 = call i32 @strncpy(ptr noundef %13, ptr noundef %14, i32 noundef 12) %16 = getelementptr inbounds [12 x i8], ptr %5, i64 0, i64 0 store ptr %16, ptr %6, align 8 %17 = getelementptr inbounds [12 x i8], ptr %5, i64 0, i64 0 %18 = load i8, ptr %4, align 1 %19 = call ptr @strchr(ptr noundef %17, i8 noundef signext %18) store ptr %19, ptr %7, align 8 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %22 21: ; preds = %12 store i32 1, ptr %8, align 4 br label %45 22: ; preds = %12 %23 = load ptr, ptr %7, align 8 %24 = getelementptr inbounds i8, ptr %23, i32 1 store ptr %24, ptr %7, align 8 store i8 0, ptr %23, align 1 %25 = load ptr, ptr %6, align 8 %26 = call i64 @atoi(ptr noundef %25) %27 = load ptr, ptr %7, align 8 %28 = call i64 @atoi(ptr noundef %27) %29 = icmp sgt i64 %26, %28 br i1 %29, label %30, label %31 30: ; preds = %22 store i32 1, ptr %8, align 4 br label %44 31: ; preds = %22 %32 = load ptr, ptr %6, align 8 %33 = call i64 @checknumrange(ptr noundef %32, i32 noundef 1, i32 noundef 65534) %34 = load i32, ptr %8, align 4 %35 = sext i32 %34 to i64 %36 = add nsw i64 %35, %33 %37 = trunc i64 %36 to i32 store i32 %37, ptr %8, align 4 %38 = load ptr, ptr %7, align 8 %39 = call i64 @checknumrange(ptr noundef %38, i32 noundef 1, i32 noundef 65534) %40 = load i32, ptr %8, align 4 %41 = sext i32 %40 to i64 %42 = add nsw i64 %41, %39 %43 = trunc i64 %42 to i32 store i32 %43, ptr %8, align 4 br label %44 44: ; preds = %31, %30 br label %45 45: ; preds = %44, %21 br label %46 46: ; preds = %45, %11 %47 = load i32, ptr %8, align 4 ret i32 %47 } declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i64 @atoi(ptr noundef) #1 declare i64 @checknumrange(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/tmp8ivbh9ly.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checkportrange(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i8, align 1 %5 = alloca [12 x i8], align 1 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 store i32 0, ptr %8, align 4 %9 = load ptr, ptr %3, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %12 11: ; preds = %2 store i32 1, ptr %8, align 4 br label %46 12: ; preds = %2 %13 = getelementptr inbounds [12 x i8], ptr %5, i64 0, i64 0 %14 = load ptr, ptr %3, align 8 %15 = call i32 @strncpy(ptr noundef %13, ptr noundef %14, i32 noundef 12) %16 = getelementptr inbounds [12 x i8], ptr %5, i64 0, i64 0 store ptr %16, ptr %6, align 8 %17 = getelementptr inbounds [12 x i8], ptr %5, i64 0, i64 0 %18 = load i8, ptr %4, align 1 %19 = call ptr @strchr(ptr noundef %17, i8 noundef signext %18) store ptr %19, ptr %7, align 8 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %22 21: ; preds = %12 store i32 1, ptr %8, align 4 br label %45 22: ; preds = %12 %23 = load ptr, ptr %7, align 8 %24 = getelementptr inbounds i8, ptr %23, i32 1 store ptr %24, ptr %7, align 8 store i8 0, ptr %23, align 1 %25 = load ptr, ptr %6, align 8 %26 = call i64 @atoi(ptr noundef %25) %27 = load ptr, ptr %7, align 8 %28 = call i64 @atoi(ptr noundef %27) %29 = icmp sgt i64 %26, %28 br i1 %29, label %30, label %31 30: ; preds = %22 store i32 1, ptr %8, align 4 br label %44 31: ; preds = %22 %32 = load ptr, ptr %6, align 8 %33 = call i64 @checknumrange(ptr noundef %32, i32 noundef 1, i32 noundef 65534) %34 = load i32, ptr %8, align 4 %35 = sext i32 %34 to i64 %36 = add nsw i64 %35, %33 %37 = trunc i64 %36 to i32 store i32 %37, ptr %8, align 4 %38 = load ptr, ptr %7, align 8 %39 = call i64 @checknumrange(ptr noundef %38, i32 noundef 1, i32 noundef 65534) %40 = load i32, ptr %8, align 4 %41 = sext i32 %40 to i64 %42 = add nsw i64 %41, %39 %43 = trunc i64 %42 to i32 store i32 %43, ptr %8, align 4 br label %44 44: ; preds = %31, %30 br label %45 45: ; preds = %44, %21 br label %46 46: ; preds = %45, %11 %47 = load i32, ptr %8, align 4 ret i32 %47 } declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i64 @atoi(ptr noundef) #1 declare i64 @checknumrange(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/tmp5jxk5f2a.c' source_filename = "/tmp/tmp5jxk5f2a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getposy() #0 { %1 = call i64 (...) @GetPosY70() ret i64 %1 } declare i64 @GetPosY70(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5jxk5f2a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getposy() #0 { %1 = call i64 (...) @GetPosY70() ret i64 %1 } declare i64 @GetPosY70(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9cr_62lz.c' source_filename = "/tmp/tmp9cr_62lz.c" target datalayout = "e-m:e-p270: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/tmp9cr_62lz.c" target datalayout = "e-m:e-p270: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/tmp8jfta6oy.c' source_filename = "/tmp/tmp8jfta6oy.c" target datalayout = "e-m:e-p270: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/tmp8jfta6oy.c" target datalayout = "e-m:e-p270: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/tmp9jnsyo80.c' source_filename = "/tmp/tmp9jnsyo80.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @copystr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strlen(ptr noundef %4) %6 = add nsw i32 %5, 1 %7 = sext i32 %6 to i64 %8 = mul i64 %7, 1 %9 = trunc i64 %8 to i32 %10 = call ptr @allocate(i32 noundef 0, i32 noundef %9) store ptr %10, ptr %3, align 8 %11 = load ptr, ptr %3, align 8 %12 = load ptr, ptr %2, align 8 %13 = call i32 @strcpy(ptr noundef %11, ptr noundef %12) %14 = load ptr, ptr %3, align 8 ret ptr %14 } declare ptr @allocate(i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9jnsyo80.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @copystr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strlen(ptr noundef %4) %6 = add nsw i32 %5, 1 %7 = sext i32 %6 to i64 %8 = mul i64 %7, 1 %9 = trunc i64 %8 to i32 %10 = call ptr @allocate(i32 noundef 0, i32 noundef %9) store ptr %10, ptr %3, align 8 %11 = load ptr, ptr %3, align 8 %12 = load ptr, ptr %2, align 8 %13 = call i32 @strcpy(ptr noundef %11, ptr noundef %12) %14 = load ptr, ptr %3, align 8 ret ptr %14 } declare ptr @allocate(i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpg0ntrn51.c' source_filename = "/tmp/tmpg0ntrn51.c" target datalayout = "e-m:e-p270: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/tmpg0ntrn51.c" target datalayout = "e-m:e-p270: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/tmp6ckr28sb.c' source_filename = "/tmp/tmp6ckr28sb.c" target datalayout = "e-m:e-p270: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 [42 x i8] c"Usage: %s BaseCommandString FileWithList\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"%s: Couldn't open \22%s\22\0A\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"\0AFILE = \22%s\22\0A\0A\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"%s %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 ptr, align 8 %7 = alloca [256 x i8], align 16 %8 = alloca [512 x i8], align 16 %9 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 3 br i1 %11, label %12, label %19 12: ; preds = %2 %13 = load i32, ptr @stderr, align 4 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 0 %16 = load ptr, ptr %15, align 8 %17 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %13, ptr noundef @.str, ptr noundef %16) %18 = call i32 @exit(i32 noundef 1) #3 unreachable 19: ; preds = %2 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 2 %22 = load ptr, ptr %21, align 8 %23 = call ptr @fopen(ptr noundef %22, ptr noundef @.str.1) store ptr %23, ptr %9, align 8 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %35 25: ; preds = %19 %26 = load i32, ptr @stderr, align 4 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds ptr, ptr %27, i64 0 %29 = load ptr, ptr %28, align 8 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds ptr, ptr %30, i64 2 %32 = load ptr, ptr %31, align 8 %33 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %26, ptr noundef @.str.2, ptr noundef %29, ptr noundef %32) %34 = call i32 @exit(i32 noundef 2) #3 unreachable 35: ; preds = %19 br label %36 36: ; preds = %80, %35 %37 = load ptr, ptr %9, align 8 %38 = call i32 @feof(ptr noundef %37) %39 = icmp ne i32 %38, 0 %40 = xor i1 %39, true br i1 %40, label %41, label %81 41: ; preds = %36 %42 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %43 = load ptr, ptr %9, align 8 %44 = call i32 @fgets(ptr noundef %42, i32 noundef 256, ptr noundef %43) %45 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 store ptr %45, ptr %6, align 8 br label %46 46: ; preds = %60, %41 %47 = load ptr, ptr %6, align 8 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 %50 = icmp ne i32 %49, 0 br i1 %50, label %51, label %57 51: ; preds = %46 %52 = load ptr, ptr %6, align 8 %53 = load i8, ptr %52, align 1 %54 = call i32 @isspace(i8 noundef signext %53) %55 = icmp ne i32 %54, 0 %56 = xor i1 %55, true br label %57 57: ; preds = %51, %46 %58 = phi i1 [ false, %46 ], [ %56, %51 ] br i1 %58, label %59, label %63 59: ; preds = %57 br label %60 60: ; preds = %59 %61 = load ptr, ptr %6, align 8 %62 = getelementptr inbounds i8, ptr %61, i32 1 store ptr %62, ptr %6, align 8 br label %46, !llvm.loop !6 63: ; preds = %57 %64 = load ptr, ptr %6, align 8 store i8 0, ptr %64, align 1 %65 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %66 = call i32 @printf(ptr noundef @.str.3, ptr noundef %65) %67 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %68 = load i8, ptr %67, align 16 %69 = sext i8 %68 to i32 %70 = icmp ne i32 %69, 0 br i1 %70, label %71, label %80 71: ; preds = %63 %72 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %73 = load ptr, ptr %5, align 8 %74 = getelementptr inbounds ptr, ptr %73, i64 1 %75 = load ptr, ptr %74, align 8 %76 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %77 = call i32 @sprintf(ptr noundef %72, ptr noundef @.str.4, ptr noundef %75, ptr noundef %76) %78 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %79 = call i32 @system(ptr noundef %78) br label %80 80: ; preds = %71, %63 br label %36, !llvm.loop !8 81: ; preds = %36 %82 = load ptr, ptr %9, align 8 %83 = call i32 @fclose(ptr noundef %82) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @isspace(i8 noundef signext) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @system(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 = { 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/tmp6ckr28sb.c" target datalayout = "e-m:e-p270: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 [42 x i8] c"Usage: %s BaseCommandString FileWithList\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"%s: Couldn't open \22%s\22\0A\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"\0AFILE = \22%s\22\0A\0A\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"%s %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 ptr, align 8 %7 = alloca [256 x i8], align 16 %8 = alloca [512 x i8], align 16 %9 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 3 br i1 %11, label %12, label %19 12: ; preds = %2 %13 = load i32, ptr @stderr, align 4 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 0 %16 = load ptr, ptr %15, align 8 %17 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %13, ptr noundef @.str, ptr noundef %16) %18 = call i32 @exit(i32 noundef 1) #3 unreachable 19: ; preds = %2 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 2 %22 = load ptr, ptr %21, align 8 %23 = call ptr @fopen(ptr noundef %22, ptr noundef @.str.1) store ptr %23, ptr %9, align 8 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %35 25: ; preds = %19 %26 = load i32, ptr @stderr, align 4 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds ptr, ptr %27, i64 0 %29 = load ptr, ptr %28, align 8 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds ptr, ptr %30, i64 2 %32 = load ptr, ptr %31, align 8 %33 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %26, ptr noundef @.str.2, ptr noundef %29, ptr noundef %32) %34 = call i32 @exit(i32 noundef 2) #3 unreachable 35: ; preds = %19 %36 = load ptr, ptr %9, align 8 %37 = call i32 @feof(ptr noundef %36) %38 = icmp ne i32 %37, 0 %39 = xor i1 %38, true br i1 %39, label %.lr.ph, label %84 .lr.ph: ; preds = %35 br label %40 40: ; preds = %.lr.ph, %79 %41 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %42 = load ptr, ptr %9, align 8 %43 = call i32 @fgets(ptr noundef %41, i32 noundef 256, ptr noundef %42) %44 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 store ptr %44, ptr %6, align 8 br label %45 45: ; preds = %59, %40 %46 = load ptr, ptr %6, align 8 %47 = load i8, ptr %46, align 1 %48 = sext i8 %47 to i32 %49 = icmp ne i32 %48, 0 br i1 %49, label %50, label %56 50: ; preds = %45 %51 = load ptr, ptr %6, align 8 %52 = load i8, ptr %51, align 1 %53 = call i32 @isspace(i8 noundef signext %52) %54 = icmp ne i32 %53, 0 %55 = xor i1 %54, true br label %56 56: ; preds = %50, %45 %57 = phi i1 [ false, %45 ], [ %55, %50 ] br i1 %57, label %58, label %62 58: ; preds = %56 br label %59 59: ; preds = %58 %60 = load ptr, ptr %6, align 8 %61 = getelementptr inbounds i8, ptr %60, i32 1 store ptr %61, ptr %6, align 8 br label %45, !llvm.loop !6 62: ; preds = %56 %63 = load ptr, ptr %6, align 8 store i8 0, ptr %63, align 1 %64 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %65 = call i32 @printf(ptr noundef @.str.3, ptr noundef %64) %66 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %67 = load i8, ptr %66, align 16 %68 = sext i8 %67 to i32 %69 = icmp ne i32 %68, 0 br i1 %69, label %70, label %79 70: ; preds = %62 %71 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %72 = load ptr, ptr %5, align 8 %73 = getelementptr inbounds ptr, ptr %72, i64 1 %74 = load ptr, ptr %73, align 8 %75 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %76 = call i32 @sprintf(ptr noundef %71, ptr noundef @.str.4, ptr noundef %74, ptr noundef %75) %77 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %78 = call i32 @system(ptr noundef %77) br label %79 79: ; preds = %70, %62 %80 = load ptr, ptr %9, align 8 %81 = call i32 @feof(ptr noundef %80) %82 = icmp ne i32 %81, 0 %83 = xor i1 %82, true br i1 %83, label %40, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %79 br label %84 84: ; preds = %._crit_edge, %35 %85 = load ptr, ptr %9, align 8 %86 = call i32 @fclose(ptr noundef %85) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @isspace(i8 noundef signext) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @system(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 = { 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/tmpjm1ifi8d.c' source_filename = "/tmp/tmpjm1ifi8d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"hello, world!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @hp1() #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/tmpjm1ifi8d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"hello, world!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @hp1() #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/tmpdvwurs_v.c' source_filename = "/tmp/tmpdvwurs_v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdvwurs_v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpp5e5jos7.c' source_filename = "/tmp/tmpp5e5jos7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"0600\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [30 x i8] c"Error: open file %s (err=%s)\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @SEEK_CUR = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [4 x i8] c" \09\0A\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c" ,\09\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_n_objects(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca i32, align 4 store i32 %0, ptr %7, align 4 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store ptr %4, ptr %11, align 8 %20 = load i32, ptr %7, align 4 %21 = icmp ne i32 %20, 0 br i1 %21, label %22, label %50 22: ; preds = %5 %23 = load ptr, ptr %8, align 8 %24 = load i32, ptr @O_RDONLY, align 4 %25 = call i32 @open(ptr noundef %23, i32 noundef %24, ptr noundef @.str) store i32 %25, ptr %15, align 4 %26 = icmp eq i32 %25, -1 br i1 %26, label %27, label %33 27: ; preds = %22 %28 = load i32, ptr @stderr, align 4 %29 = load ptr, ptr %8, align 8 %30 = load i32, ptr @errno, align 4 %31 = call ptr @strerror(i32 noundef %30) %32 = call i32 @fprintf(i32 noundef %28, ptr noundef @.str.1, ptr noundef %29, ptr noundef %31) store i32 0, ptr %6, align 4 br label %153 33: ; preds = %22 %34 = load i32, ptr %15, align 4 %35 = call i32 (i32, ...) @read(i32 noundef %34, ptr noundef %12, i64 noundef 4) %36 = load i32, ptr %15, align 4 %37 = call i32 (i32, ...) @read(i32 noundef %36, ptr noundef %12, i64 noundef 4) %38 = load i32, ptr %15, align 4 %39 = load ptr, ptr %11, align 8 %40 = getelementptr inbounds ptr, ptr %39, i64 0 %41 = load ptr, ptr %40, align 8 %42 = load i32, ptr %9, align 4 %43 = load i32, ptr %10, align 4 %44 = mul nsw i32 %42, %43 %45 = sext i32 %44 to i64 %46 = mul i64 %45, 4 %47 = call i32 (i32, ...) @read(i32 noundef %38, ptr noundef %41, i64 noundef %46) %48 = load i32, ptr %15, align 4 %49 = call i32 @close(i32 noundef %48) br label %152 50: ; preds = %5 %51 = load ptr, ptr %8, align 8 %52 = call ptr @fopen(ptr noundef %51, ptr noundef @.str.2) store ptr %52, ptr %16, align 8 %53 = icmp eq ptr %52, null br i1 %53, label %54, label %60 54: ; preds = %50 %55 = load i32, ptr @stderr, align 4 %56 = load ptr, ptr %8, align 8 %57 = load i32, ptr @errno, align 4 %58 = call ptr @strerror(i32 noundef %57) %59 = call i32 @fprintf(i32 noundef %55, ptr noundef @.str.1, ptr noundef %56, ptr noundef %58) store i32 0, ptr %6, align 4 br label %153 60: ; preds = %50 store i32 128, ptr %19, align 4 %61 = load i32, ptr %19, align 4 %62 = call i64 @malloc(i32 noundef %61) %63 = inttoptr i64 %62 to ptr store ptr %63, ptr %17, align 8 %64 = load ptr, ptr %17, align 8 %65 = icmp ne ptr %64, null %66 = zext i1 %65 to i32 %67 = call i32 @assert(i32 noundef %66) br label %68 68: ; preds = %107, %60 %69 = load ptr, ptr %17, align 8 %70 = load i32, ptr %19, align 4 %71 = load ptr, ptr %16, align 8 %72 = call ptr @fgets(ptr noundef %69, i32 noundef %70, ptr noundef %71) %73 = icmp ne ptr %72, null br i1 %73, label %74, label %108 74: ; preds = %68 br label %75 75: ; preds = %81, %74 %76 = load ptr, ptr %17, align 8 %77 = call i32 @strlen(ptr noundef %76) %78 = load i32, ptr %19, align 4 %79 = sub nsw i32 %78, 1 %80 = icmp eq i32 %77, %79 br i1 %80, label %81, label %107 81: ; preds = %75 %82 = load ptr, ptr %17, align 8 %83 = call i32 @strlen(ptr noundef %82) store i32 %83, ptr %14, align 4 %84 = load ptr, ptr %16, align 8 %85 = load i32, ptr %14, align 4 %86 = sub nsw i32 0, %85 %87 = load i32, ptr @SEEK_CUR, align 4 %88 = call i32 @fseek(ptr noundef %84, i32 noundef %86, i32 noundef %87) %89 = load i32, ptr %19, align 4 %90 = add nsw i32 %89, 128 store i32 %90, ptr %19, align 4 %91 = load ptr, ptr %17, align 8 %92 = load i32, ptr %19, align 4 %93 = call i64 @realloc(ptr noundef %91, i32 noundef %92) %94 = inttoptr i64 %93 to ptr store ptr %94, ptr %17, align 8 %95 = load ptr, ptr %17, align 8 %96 = icmp ne ptr %95, null %97 = zext i1 %96 to i32 %98 = call i32 @assert(i32 noundef %97) %99 = load ptr, ptr %17, align 8 %100 = load i32, ptr %19, align 4 %101 = load ptr, ptr %16, align 8 %102 = call ptr @fgets(ptr noundef %99, i32 noundef %100, ptr noundef %101) store ptr %102, ptr %18, align 8 %103 = load ptr, ptr %18, align 8 %104 = icmp ne ptr %103, null %105 = zext i1 %104 to i32 %106 = call i32 @assert(i32 noundef %105) br label %75, !llvm.loop !6 107: ; preds = %75 br label %68, !llvm.loop !8 108: ; preds = %68 %109 = load ptr, ptr %16, align 8 %110 = call i32 @rewind(ptr noundef %109) store i32 0, ptr %12, align 4 br label %111 111: ; preds = %144, %108 %112 = load i32, ptr %12, align 4 %113 = load i32, ptr %9, align 4 %114 = icmp slt i32 %112, %113 br i1 %114, label %115, label %147 115: ; preds = %111 %116 = load ptr, ptr %17, align 8 %117 = load i32, ptr %19, align 4 %118 = load ptr, ptr %16, align 8 %119 = call ptr @fgets(ptr noundef %116, i32 noundef %117, ptr noundef %118) %120 = load ptr, ptr %17, align 8 %121 = call ptr @strtok(ptr noundef %120, ptr noundef @.str.3) %122 = icmp eq ptr %121, null br i1 %122, label %123, label %124 123: ; preds = %115 br label %144 124: ; preds = %115 store i32 0, ptr %13, align 4 br label %125 125: ; preds = %140, %124 %126 = load i32, ptr %13, align 4 %127 = load i32, ptr %10, align 4 %128 = icmp slt i32 %126, %127 br i1 %128, label %129, label %143 129: ; preds = %125 %130 = call ptr @strtok(ptr noundef null, ptr noundef @.str.4) %131 = call float @atof(ptr noundef %130) %132 = load ptr, ptr %11, align 8 %133 = load i32, ptr %12, align 4 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds ptr, ptr %132, i64 %134 %136 = load ptr, ptr %135, align 8 %137 = load i32, ptr %13, align 4 %138 = sext i32 %137 to i64 %139 = getelementptr inbounds float, ptr %136, i64 %138 store float %131, ptr %139, align 4 br label %140 140: ; preds = %129 %141 = load i32, ptr %13, align 4 %142 = add nsw i32 %141, 1 store i32 %142, ptr %13, align 4 br label %125, !llvm.loop !9 143: ; preds = %125 br label %144 144: ; preds = %143, %123 %145 = load i32, ptr %12, align 4 %146 = add nsw i32 %145, 1 store i32 %146, ptr %12, align 4 br label %111, !llvm.loop !10 147: ; preds = %111 %148 = load ptr, ptr %16, align 8 %149 = call i32 @fclose(ptr noundef %148) %150 = load ptr, ptr %17, align 8 %151 = call i32 @free(ptr noundef %150) br label %152 152: ; preds = %147, %33 store i32 1, ptr %6, align 4 br label %153 153: ; preds = %152, %54, %27 %154 = load i32, ptr %6, align 4 ret i32 %154 } declare i32 @open(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @read(i32 noundef, ...) #1 declare i32 @close(i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @assert(i32 noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @realloc(ptr noundef, i32 noundef) #1 declare i32 @rewind(ptr noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare float @atof(ptr noundef) #1 declare i32 @fclose(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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp5e5jos7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"0600\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [30 x i8] c"Error: open file %s (err=%s)\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @SEEK_CUR = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [4 x i8] c" \09\0A\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c" ,\09\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_n_objects(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca i32, align 4 store i32 %0, ptr %7, align 4 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store ptr %4, ptr %11, align 8 %20 = load i32, ptr %7, align 4 %21 = icmp ne i32 %20, 0 br i1 %21, label %22, label %50 22: ; preds = %5 %23 = load ptr, ptr %8, align 8 %24 = load i32, ptr @O_RDONLY, align 4 %25 = call i32 @open(ptr noundef %23, i32 noundef %24, ptr noundef @.str) store i32 %25, ptr %15, align 4 %26 = icmp eq i32 %25, -1 br i1 %26, label %27, label %33 27: ; preds = %22 %28 = load i32, ptr @stderr, align 4 %29 = load ptr, ptr %8, align 8 %30 = load i32, ptr @errno, align 4 %31 = call ptr @strerror(i32 noundef %30) %32 = call i32 @fprintf(i32 noundef %28, ptr noundef @.str.1, ptr noundef %29, ptr noundef %31) store i32 0, ptr %6, align 4 br label %165 33: ; preds = %22 %34 = load i32, ptr %15, align 4 %35 = call i32 (i32, ...) @read(i32 noundef %34, ptr noundef %12, i64 noundef 4) %36 = load i32, ptr %15, align 4 %37 = call i32 (i32, ...) @read(i32 noundef %36, ptr noundef %12, i64 noundef 4) %38 = load i32, ptr %15, align 4 %39 = load ptr, ptr %11, align 8 %40 = getelementptr inbounds ptr, ptr %39, i64 0 %41 = load ptr, ptr %40, align 8 %42 = load i32, ptr %9, align 4 %43 = load i32, ptr %10, align 4 %44 = mul nsw i32 %42, %43 %45 = sext i32 %44 to i64 %46 = mul i64 %45, 4 %47 = call i32 (i32, ...) @read(i32 noundef %38, ptr noundef %41, i64 noundef %46) %48 = load i32, ptr %15, align 4 %49 = call i32 @close(i32 noundef %48) br label %164 50: ; preds = %5 %51 = load ptr, ptr %8, align 8 %52 = call ptr @fopen(ptr noundef %51, ptr noundef @.str.2) store ptr %52, ptr %16, align 8 %53 = icmp eq ptr %52, null br i1 %53, label %54, label %60 54: ; preds = %50 %55 = load i32, ptr @stderr, align 4 %56 = load ptr, ptr %8, align 8 %57 = load i32, ptr @errno, align 4 %58 = call ptr @strerror(i32 noundef %57) %59 = call i32 @fprintf(i32 noundef %55, ptr noundef @.str.1, ptr noundef %56, ptr noundef %58) store i32 0, ptr %6, align 4 br label %165 60: ; preds = %50 store i32 128, ptr %19, align 4 %61 = load i32, ptr %19, align 4 %62 = call i64 @malloc(i32 noundef %61) %63 = inttoptr i64 %62 to ptr store ptr %63, ptr %17, align 8 %64 = load ptr, ptr %17, align 8 %65 = icmp ne ptr %64, null %66 = zext i1 %65 to i32 %67 = call i32 @assert(i32 noundef %66) %68 = load ptr, ptr %17, align 8 %69 = load i32, ptr %19, align 4 %70 = load ptr, ptr %16, align 8 %71 = call ptr @fgets(ptr noundef %68, i32 noundef %69, ptr noundef %70) %72 = icmp ne ptr %71, null br i1 %72, label %.lr.ph2, label %116 .lr.ph2: ; preds = %60 br label %73 73: ; preds = %.lr.ph2, %110 %74 = load ptr, ptr %17, align 8 %75 = call i32 @strlen(ptr noundef %74) %76 = load i32, ptr %19, align 4 %77 = sub nsw i32 %76, 1 %78 = icmp eq i32 %75, %77 br i1 %78, label %.lr.ph, label %110 .lr.ph: ; preds = %73 br label %79 79: ; preds = %.lr.ph, %79 %80 = load ptr, ptr %17, align 8 %81 = call i32 @strlen(ptr noundef %80) store i32 %81, ptr %14, align 4 %82 = load ptr, ptr %16, align 8 %83 = load i32, ptr %14, align 4 %84 = sub nsw i32 0, %83 %85 = load i32, ptr @SEEK_CUR, align 4 %86 = call i32 @fseek(ptr noundef %82, i32 noundef %84, i32 noundef %85) %87 = load i32, ptr %19, align 4 %88 = add nsw i32 %87, 128 store i32 %88, ptr %19, align 4 %89 = load ptr, ptr %17, align 8 %90 = load i32, ptr %19, align 4 %91 = call i64 @realloc(ptr noundef %89, i32 noundef %90) %92 = inttoptr i64 %91 to ptr store ptr %92, ptr %17, align 8 %93 = load ptr, ptr %17, align 8 %94 = icmp ne ptr %93, null %95 = zext i1 %94 to i32 %96 = call i32 @assert(i32 noundef %95) %97 = load ptr, ptr %17, align 8 %98 = load i32, ptr %19, align 4 %99 = load ptr, ptr %16, align 8 %100 = call ptr @fgets(ptr noundef %97, i32 noundef %98, ptr noundef %99) store ptr %100, ptr %18, align 8 %101 = load ptr, ptr %18, align 8 %102 = icmp ne ptr %101, null %103 = zext i1 %102 to i32 %104 = call i32 @assert(i32 noundef %103) %105 = load ptr, ptr %17, align 8 %106 = call i32 @strlen(ptr noundef %105) %107 = load i32, ptr %19, align 4 %108 = sub nsw i32 %107, 1 %109 = icmp eq i32 %106, %108 br i1 %109, label %79, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %79 br label %110 110: ; preds = %._crit_edge, %73 %111 = load ptr, ptr %17, align 8 %112 = load i32, ptr %19, align 4 %113 = load ptr, ptr %16, align 8 %114 = call ptr @fgets(ptr noundef %111, i32 noundef %112, ptr noundef %113) %115 = icmp ne ptr %114, null br i1 %115, label %73, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %110 br label %116 116: ; preds = %._crit_edge3, %60 %117 = load ptr, ptr %16, align 8 %118 = call i32 @rewind(ptr noundef %117) store i32 0, ptr %12, align 4 %119 = load i32, ptr %12, align 4 %120 = load i32, ptr %9, align 4 %121 = icmp slt i32 %119, %120 br i1 %121, label %.lr.ph8, label %159 .lr.ph8: ; preds = %116 br label %122 122: ; preds = %.lr.ph8, %153 %123 = load ptr, ptr %17, align 8 %124 = load i32, ptr %19, align 4 %125 = load ptr, ptr %16, align 8 %126 = call ptr @fgets(ptr noundef %123, i32 noundef %124, ptr noundef %125) %127 = load ptr, ptr %17, align 8 %128 = call ptr @strtok(ptr noundef %127, ptr noundef @.str.3) %129 = icmp eq ptr %128, null br i1 %129, label %130, label %131 130: ; preds = %122 br label %153 131: ; preds = %122 store i32 0, ptr %13, align 4 %132 = load i32, ptr %13, align 4 %133 = load i32, ptr %10, align 4 %134 = icmp slt i32 %132, %133 br i1 %134, label %.lr.ph5, label %152 .lr.ph5: ; preds = %131 br label %135 135: ; preds = %.lr.ph5, %146 %136 = call ptr @strtok(ptr noundef null, ptr noundef @.str.4) %137 = call float @atof(ptr noundef %136) %138 = load ptr, ptr %11, align 8 %139 = load i32, ptr %12, align 4 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds ptr, ptr %138, i64 %140 %142 = load ptr, ptr %141, align 8 %143 = load i32, ptr %13, align 4 %144 = sext i32 %143 to i64 %145 = getelementptr inbounds float, ptr %142, i64 %144 store float %137, ptr %145, align 4 br label %146 146: ; preds = %135 %147 = load i32, ptr %13, align 4 %148 = add nsw i32 %147, 1 store i32 %148, ptr %13, align 4 %149 = load i32, ptr %13, align 4 %150 = load i32, ptr %10, align 4 %151 = icmp slt i32 %149, %150 br i1 %151, label %135, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %146 br label %152 152: ; preds = %._crit_edge6, %131 br label %153 153: ; preds = %152, %130 %154 = load i32, ptr %12, align 4 %155 = add nsw i32 %154, 1 store i32 %155, ptr %12, align 4 %156 = load i32, ptr %12, align 4 %157 = load i32, ptr %9, align 4 %158 = icmp slt i32 %156, %157 br i1 %158, label %122, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %153 br label %159 159: ; preds = %._crit_edge9, %116 %160 = load ptr, ptr %16, align 8 %161 = call i32 @fclose(ptr noundef %160) %162 = load ptr, ptr %17, align 8 %163 = call i32 @free(ptr noundef %162) br label %164 164: ; preds = %159, %33 store i32 1, ptr %6, align 4 br label %165 165: ; preds = %164, %54, %27 %166 = load i32, ptr %6, align 4 ret i32 %166 } declare i32 @open(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @read(i32 noundef, ...) #1 declare i32 @close(i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @assert(i32 noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @realloc(ptr noundef, i32 noundef) #1 declare i32 @rewind(ptr noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare float @atof(ptr noundef) #1 declare i32 @fclose(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}
; ModuleID = '/tmp/tmphbjpor2o.c' source_filename = "/tmp/tmphbjpor2o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"Podaj pierwsza liczbe: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c"Najwiekszy wspolny dzielnik to: %d \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %8 = load i32, ptr %1, align 4 %9 = load i32, ptr %2, align 4 %10 = call i32 @nwd(i32 noundef %8, i32 noundef %9) store i32 %10, ptr %3, align 4 %11 = load i32, ptr %3, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %11) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @nwd(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/tmphbjpor2o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"Podaj pierwsza liczbe: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c"Najwiekszy wspolny dzielnik to: %d \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %8 = load i32, ptr %1, align 4 %9 = load i32, ptr %2, align 4 %10 = call i32 @nwd(i32 noundef %8, i32 noundef %9) store i32 %10, ptr %3, align 4 %11 = load i32, ptr %3, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %11) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @nwd(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/tmp8_70qw7q.c' source_filename = "/tmp/tmp8_70qw7q.c" target datalayout = "e-m:e-p270: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 @.str = private unnamed_addr constant [7 x i8] c"\0A%c : \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @create_letter_distribution_diagram() #0 { %1 = alloca [5000 x i8], align 16 %2 = alloca [27 x i32], align 16 %3 = alloca [27 x i8], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i8, align 1 %8 = alloca i32, align 4 %9 = alloca i8, align 1 store i32 1, ptr %4, align 4 br label %10 10: ; preds = %13, %0 %11 = load i32, ptr %4, align 4 %12 = icmp ne i32 %11, 27 br i1 %12, label %13, label %22 13: ; preds = %10 %14 = load i32, ptr %4, align 4 %15 = add nsw i32 96, %14 %16 = trunc i32 %15 to i8 %17 = load i32, ptr %4, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [27 x i8], ptr %3, i64 0, i64 %18 store i8 %16, ptr %19, align 1 %20 = load i32, ptr %4, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %4, align 4 br label %10, !llvm.loop !6 22: ; preds = %10 %23 = getelementptr inbounds [5000 x i8], ptr %1, i64 0, i64 0 %24 = load i32, ptr @stdin, align 4 %25 = call i32 @fgets(ptr noundef %23, i32 noundef 5000, i32 noundef %24) store i32 1, ptr %5, align 4 store i32 0, ptr %6, align 4 %26 = getelementptr inbounds [5000 x i8], ptr %1, i64 0, i64 0 %27 = call i32 @strlen(ptr noundef %26) store i32 %27, ptr %4, align 4 br label %28 28: ; preds = %75, %22 %29 = load i32, ptr %5, align 4 %30 = load i32, ptr %4, align 4 %31 = icmp ne i32 %29, %30 br i1 %31, label %32, label %78 32: ; preds = %28 %33 = load i32, ptr %5, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [5000 x i8], ptr %1, i64 0, i64 %34 %36 = load i8, ptr %35, align 1 store i8 %36, ptr %7, align 1 %37 = load i8, ptr %7, align 1 %38 = sext i8 %37 to i32 %39 = icmp ne i32 %38, 32 br i1 %39, label %40, label %75 40: ; preds = %32 %41 = load i8, ptr %7, align 1 %42 = sext i8 %41 to i32 %43 = icmp sgt i32 %42, 64 br i1 %43, label %44, label %57 44: ; preds = %40 %45 = load i8, ptr %7, align 1 %46 = sext i8 %45 to i32 %47 = icmp slt i32 %46, 91 br i1 %47, label %48, label %57 48: ; preds = %44 %49 = load i8, ptr %7, align 1 %50 = sext i8 %49 to i32 %51 = sub nsw i32 %50, 64 store i32 %51, ptr %6, align 4 %52 = load i32, ptr %6, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [27 x i32], ptr %2, i64 0, i64 %53 %55 = load i32, ptr %54, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %54, align 4 br label %57 57: ; preds = %48, %44, %40 %58 = load i8, ptr %7, align 1 %59 = sext i8 %58 to i32 %60 = icmp sgt i32 %59, 96 br i1 %60, label %61, label %74 61: ; preds = %57 %62 = load i8, ptr %7, align 1 %63 = sext i8 %62 to i32 %64 = icmp slt i32 %63, 123 br i1 %64, label %65, label %74 65: ; preds = %61 %66 = load i8, ptr %7, align 1 %67 = sext i8 %66 to i32 %68 = sub nsw i32 %67, 96 store i32 %68, ptr %6, align 4 %69 = load i32, ptr %6, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds [27 x i32], ptr %2, i64 0, i64 %70 %72 = load i32, ptr %71, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %71, align 4 br label %74 74: ; preds = %65, %61, %57 br label %75 75: ; preds = %74, %32 %76 = load i32, ptr %5, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %5, align 4 br label %28, !llvm.loop !8 78: ; preds = %28 store i32 1, ptr %5, align 4 br label %79 79: ; preds = %200, %78 %80 = load i32, ptr %5, align 4 %81 = icmp slt i32 %80, 26 br i1 %81, label %82, label %203 82: ; preds = %79 store i32 1, ptr %6, align 4 br label %83 83: ; preds = %196, %82 %84 = load i32, ptr %6, align 4 %85 = load i32, ptr %5, align 4 %86 = sub nsw i32 27, %85 %87 = sub nsw i32 %86, 1 %88 = icmp slt i32 %84, %87 br i1 %88, label %89, label %199 89: ; preds = %83 %90 = load i32, ptr %6, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds [27 x i32], ptr %2, i64 0, i64 %91 %93 = load i32, ptr %92, align 4 %94 = load i32, ptr %6, align 4 %95 = add nsw i32 %94, 1 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds [27 x i32], ptr %2, i64 0, i64 %96 %98 = load i32, ptr %97, align 4 %99 = icmp slt i32 %93, %98 br i1 %99, label %100, label %135 100: ; preds = %89 %101 = load i32, ptr %6, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds [27 x i32], ptr %2, i64 0, i64 %102 %104 = load i32, ptr %103, align 4 store i32 %104, ptr %8, align 4 %105 = load i32, ptr %6, align 4 %106 = add nsw i32 %105, 1 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds [27 x i32], ptr %2, i64 0, i64 %107 %109 = load i32, ptr %108, align 4 %110 = load i32, ptr %6, align 4 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds [27 x i32], ptr %2, i64 0, i64 %111 store i32 %109, ptr %112, align 4 %113 = load i32, ptr %8, align 4 %114 = load i32, ptr %6, align 4 %115 = add nsw i32 %114, 1 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds [27 x i32], ptr %2, i64 0, i64 %116 store i32 %113, ptr %117, align 4 %118 = load i32, ptr %6, align 4 %119 = sext i32 %118 to i64 %120 = getelementptr inbounds [27 x i8], ptr %3, i64 0, i64 %119 %121 = load i8, ptr %120, align 1 store i8 %121, ptr %9, align 1 %122 = load i32, ptr %6, align 4 %123 = add nsw i32 %122, 1 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds [27 x i8], ptr %3, i64 0, i64 %124 %126 = load i8, ptr %125, align 1 %127 = load i32, ptr %6, align 4 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds [27 x i8], ptr %3, i64 0, i64 %128 store i8 %126, ptr %129, align 1 %130 = load i8, ptr %9, align 1 %131 = load i32, ptr %6, align 4 %132 = add nsw i32 %131, 1 %133 = sext i32 %132 to i64 %134 = getelementptr inbounds [27 x i8], ptr %3, i64 0, i64 %133 store i8 %130, ptr %134, align 1 br label %135 135: ; preds = %100, %89 %136 = load i32, ptr %6, align 4 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds [27 x i32], ptr %2, i64 0, i64 %137 %139 = load i32, ptr %138, align 4 %140 = load i32, ptr %6, align 4 %141 = add nsw i32 %140, 1 %142 = sext i32 %141 to i64 %143 = getelementptr inbounds [27 x i32], ptr %2, i64 0, i64 %142 %144 = load i32, ptr %143, align 4 %145 = icmp eq i32 %139, %144 br i1 %145, label %146, label %195 146: ; preds = %135 %147 = load i32, ptr %6, align 4 %148 = sext i32 %147 to i64 %149 = getelementptr inbounds [27 x i8], ptr %3, i64 0, i64 %148 %150 = load i8, ptr %149, align 1 %151 = sext i8 %150 to i32 %152 = load i32, ptr %6, align 4 %153 = add nsw i32 %152, 1 %154 = sext i32 %153 to i64 %155 = getelementptr inbounds [27 x i8], ptr %3, i64 0, i64 %154 %156 = load i8, ptr %155, align 1 %157 = sext i8 %156 to i32 %158 = icmp sgt i32 %151, %157 br i1 %158, label %159, label %194 159: ; preds = %146 %160 = load i32, ptr %6, align 4 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds [27 x i32], ptr %2, i64 0, i64 %161 %163 = load i32, ptr %162, align 4 store i32 %163, ptr %8, align 4 %164 = load i32, ptr %6, align 4 %165 = add nsw i32 %164, 1 %166 = sext i32 %165 to i64 %167 = getelementptr inbounds [27 x i32], ptr %2, i64 0, i64 %166 %168 = load i32, ptr %167, align 4 %169 = load i32, ptr %6, align 4 %170 = sext i32 %169 to i64 %171 = getelementptr inbounds [27 x i32], ptr %2, i64 0, i64 %170 store i32 %168, ptr %171, align 4 %172 = load i32, ptr %8, align 4 %173 = load i32, ptr %6, align 4 %174 = add nsw i32 %173, 1 %175 = sext i32 %174 to i64 %176 = getelementptr inbounds [27 x i32], ptr %2, i64 0, i64 %175 store i32 %172, ptr %176, align 4 %177 = load i32, ptr %6, align 4 %178 = sext i32 %177 to i64 %179 = getelementptr inbounds [27 x i8], ptr %3, i64 0, i64 %178 %180 = load i8, ptr %179, align 1 store i8 %180, ptr %9, align 1 %181 = load i32, ptr %6, align 4 %182 = add nsw i32 %181, 1 %183 = sext i32 %182 to i64 %184 = getelementptr inbounds [27 x i8], ptr %3, i64 0, i64 %183 %185 = load i8, ptr %184, align 1 %186 = load i32, ptr %6, align 4 %187 = sext i32 %186 to i64 %188 = getelementptr inbounds [27 x i8], ptr %3, i64 0, i64 %187 store i8 %185, ptr %188, align 1 %189 = load i8, ptr %9, align 1 %190 = load i32, ptr %6, align 4 %191 = add nsw i32 %190, 1 %192 = sext i32 %191 to i64 %193 = getelementptr inbounds [27 x i8], ptr %3, i64 0, i64 %192 store i8 %189, ptr %193, align 1 br label %194 194: ; preds = %159, %146 br label %195 195: ; preds = %194, %135 br label %196 196: ; preds = %195 %197 = load i32, ptr %6, align 4 %198 = add nsw i32 %197, 1 store i32 %198, ptr %6, align 4 br label %83, !llvm.loop !9 199: ; preds = %83 br label %200 200: ; preds = %199 %201 = load i32, ptr %5, align 4 %202 = add nsw i32 %201, 1 store i32 %202, ptr %5, align 4 br label %79, !llvm.loop !10 203: ; preds = %79 store i32 27, ptr %4, align 4 store i32 1, ptr %5, align 4 br label %204 204: ; preds = %220, %203 %205 = load i32, ptr %5, align 4 %206 = load i32, ptr %4, align 4 %207 = icmp slt i32 %205, %206 br i1 %207, label %208, label %223 208: ; preds = %204 %209 = load i32, ptr %5, align 4 %210 = sext i32 %209 to i64 %211 = getelementptr inbounds [27 x i8], ptr %3, i64 0, i64 %210 %212 = load i8, ptr %211, align 1 %213 = sext i8 %212 to i32 %214 = call i32 @printf(ptr noundef @.str, i32 noundef %213) %215 = load i32, ptr %5, align 4 %216 = sext i32 %215 to i64 %217 = getelementptr inbounds [27 x i32], ptr %2, i64 0, i64 %216 %218 = load i32, ptr %217, align 4 %219 = call i32 @printf(ptr noundef @.str.1, i32 noundef %218) br label %220 220: ; preds = %208 %221 = load i32, ptr %5, align 4 %222 = add nsw i32 %221, 1 store i32 %222, ptr %5, align 4 br label %204, !llvm.loop !11 223: ; preds = %204 ret void } declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8_70qw7q.c" target datalayout = "e-m:e-p270: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 @.str = private unnamed_addr constant [7 x i8] c"\0A%c : \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @create_letter_distribution_diagram() #0 { %1 = alloca [5000 x i8], align 16 %2 = alloca [27 x i32], align 16 %3 = alloca [27 x i8], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i8, align 1 %8 = alloca i32, align 4 %9 = alloca i8, align 1 store i32 1, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp ne i32 %10, 27 br i1 %11, label %.lr.ph, label %23 .lr.ph: ; preds = %0 br label %12 12: ; preds = %.lr.ph, %12 %13 = load i32, ptr %4, align 4 %14 = add nsw i32 96, %13 %15 = trunc i32 %14 to i8 %16 = load i32, ptr %4, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [27 x i8], ptr %3, i64 0, i64 %17 store i8 %15, ptr %18, align 1 %19 = load i32, ptr %4, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %4, align 4 %21 = load i32, ptr %4, align 4 %22 = icmp ne i32 %21, 27 br i1 %22, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %23 23: ; preds = %._crit_edge, %0 %24 = getelementptr inbounds [5000 x i8], ptr %1, i64 0, i64 0 %25 = load i32, ptr @stdin, align 4 %26 = call i32 @fgets(ptr noundef %24, i32 noundef 5000, i32 noundef %25) store i32 1, ptr %5, align 4 store i32 0, ptr %6, align 4 %27 = getelementptr inbounds [5000 x i8], ptr %1, i64 0, i64 0 %28 = call i32 @strlen(ptr noundef %27) store i32 %28, ptr %4, align 4 %29 = load i32, ptr %5, align 4 %30 = load i32, ptr %4, align 4 %31 = icmp ne i32 %29, %30 br i1 %31, label %.lr.ph2, label %81 .lr.ph2: ; preds = %23 br label %32 32: ; preds = %.lr.ph2, %75 %33 = load i32, ptr %5, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [5000 x i8], ptr %1, i64 0, i64 %34 %36 = load i8, ptr %35, align 1 store i8 %36, ptr %7, align 1 %37 = load i8, ptr %7, align 1 %38 = sext i8 %37 to i32 %39 = icmp ne i32 %38, 32 br i1 %39, label %40, label %75 40: ; preds = %32 %41 = load i8, ptr %7, align 1 %42 = sext i8 %41 to i32 %43 = icmp sgt i32 %42, 64 br i1 %43, label %44, label %57 44: ; preds = %40 %45 = load i8, ptr %7, align 1 %46 = sext i8 %45 to i32 %47 = icmp slt i32 %46, 91 br i1 %47, label %48, label %57 48: ; preds = %44 %49 = load i8, ptr %7, align 1 %50 = sext i8 %49 to i32 %51 = sub nsw i32 %50, 64 store i32 %51, ptr %6, align 4 %52 = load i32, ptr %6, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [27 x i32], ptr %2, i64 0, i64 %53 %55 = load i32, ptr %54, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %54, align 4 br label %57 57: ; preds = %48, %44, %40 %58 = load i8, ptr %7, align 1 %59 = sext i8 %58 to i32 %60 = icmp sgt i32 %59, 96 br i1 %60, label %61, label %74 61: ; preds = %57 %62 = load i8, ptr %7, align 1 %63 = sext i8 %62 to i32 %64 = icmp slt i32 %63, 123 br i1 %64, label %65, label %74 65: ; preds = %61 %66 = load i8, ptr %7, align 1 %67 = sext i8 %66 to i32 %68 = sub nsw i32 %67, 96 store i32 %68, ptr %6, align 4 %69 = load i32, ptr %6, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds [27 x i32], ptr %2, i64 0, i64 %70 %72 = load i32, ptr %71, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %71, align 4 br label %74 74: ; preds = %65, %61, %57 br label %75 75: ; preds = %74, %32 %76 = load i32, ptr %5, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %5, align 4 %78 = load i32, ptr %5, align 4 %79 = load i32, ptr %4, align 4 %80 = icmp ne i32 %78, %79 br i1 %80, label %32, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %75 br label %81 81: ; preds = %._crit_edge3, %23 store i32 1, ptr %5, align 4 %82 = load i32, ptr %5, align 4 %83 = icmp slt i32 %82, 26 br i1 %83, label %.lr.ph8, label %211 .lr.ph8: ; preds = %81 br label %84 84: ; preds = %.lr.ph8, %206 store i32 1, ptr %6, align 4 %85 = load i32, ptr %6, align 4 %86 = load i32, ptr %5, align 4 %87 = sub nsw i32 27, %86 %88 = sub nsw i32 %87, 1 %89 = icmp slt i32 %85, %88 br i1 %89, label %.lr.ph5, label %205 .lr.ph5: ; preds = %84 br label %90 90: ; preds = %.lr.ph5, %197 %91 = load i32, ptr %6, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds [27 x i32], ptr %2, i64 0, i64 %92 %94 = load i32, ptr %93, align 4 %95 = load i32, ptr %6, align 4 %96 = add nsw i32 %95, 1 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds [27 x i32], ptr %2, i64 0, i64 %97 %99 = load i32, ptr %98, align 4 %100 = icmp slt i32 %94, %99 br i1 %100, label %101, label %136 101: ; preds = %90 %102 = load i32, ptr %6, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds [27 x i32], ptr %2, i64 0, i64 %103 %105 = load i32, ptr %104, align 4 store i32 %105, ptr %8, align 4 %106 = load i32, ptr %6, align 4 %107 = add nsw i32 %106, 1 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds [27 x i32], ptr %2, i64 0, i64 %108 %110 = load i32, ptr %109, align 4 %111 = load i32, ptr %6, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds [27 x i32], ptr %2, i64 0, i64 %112 store i32 %110, ptr %113, align 4 %114 = load i32, ptr %8, align 4 %115 = load i32, ptr %6, align 4 %116 = add nsw i32 %115, 1 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds [27 x i32], ptr %2, i64 0, i64 %117 store i32 %114, ptr %118, align 4 %119 = load i32, ptr %6, align 4 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds [27 x i8], ptr %3, i64 0, i64 %120 %122 = load i8, ptr %121, align 1 store i8 %122, ptr %9, align 1 %123 = load i32, ptr %6, align 4 %124 = add nsw i32 %123, 1 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds [27 x i8], ptr %3, i64 0, i64 %125 %127 = load i8, ptr %126, align 1 %128 = load i32, ptr %6, align 4 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds [27 x i8], ptr %3, i64 0, i64 %129 store i8 %127, ptr %130, align 1 %131 = load i8, ptr %9, align 1 %132 = load i32, ptr %6, align 4 %133 = add nsw i32 %132, 1 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds [27 x i8], ptr %3, i64 0, i64 %134 store i8 %131, ptr %135, align 1 br label %136 136: ; preds = %101, %90 %137 = load i32, ptr %6, align 4 %138 = sext i32 %137 to i64 %139 = getelementptr inbounds [27 x i32], ptr %2, i64 0, i64 %138 %140 = load i32, ptr %139, align 4 %141 = load i32, ptr %6, align 4 %142 = add nsw i32 %141, 1 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds [27 x i32], ptr %2, i64 0, i64 %143 %145 = load i32, ptr %144, align 4 %146 = icmp eq i32 %140, %145 br i1 %146, label %147, label %196 147: ; preds = %136 %148 = load i32, ptr %6, align 4 %149 = sext i32 %148 to i64 %150 = getelementptr inbounds [27 x i8], ptr %3, i64 0, i64 %149 %151 = load i8, ptr %150, align 1 %152 = sext i8 %151 to i32 %153 = load i32, ptr %6, align 4 %154 = add nsw i32 %153, 1 %155 = sext i32 %154 to i64 %156 = getelementptr inbounds [27 x i8], ptr %3, i64 0, i64 %155 %157 = load i8, ptr %156, align 1 %158 = sext i8 %157 to i32 %159 = icmp sgt i32 %152, %158 br i1 %159, label %160, label %195 160: ; preds = %147 %161 = load i32, ptr %6, align 4 %162 = sext i32 %161 to i64 %163 = getelementptr inbounds [27 x i32], ptr %2, i64 0, i64 %162 %164 = load i32, ptr %163, align 4 store i32 %164, ptr %8, align 4 %165 = load i32, ptr %6, align 4 %166 = add nsw i32 %165, 1 %167 = sext i32 %166 to i64 %168 = getelementptr inbounds [27 x i32], ptr %2, i64 0, i64 %167 %169 = load i32, ptr %168, align 4 %170 = load i32, ptr %6, align 4 %171 = sext i32 %170 to i64 %172 = getelementptr inbounds [27 x i32], ptr %2, i64 0, i64 %171 store i32 %169, ptr %172, align 4 %173 = load i32, ptr %8, align 4 %174 = load i32, ptr %6, align 4 %175 = add nsw i32 %174, 1 %176 = sext i32 %175 to i64 %177 = getelementptr inbounds [27 x i32], ptr %2, i64 0, i64 %176 store i32 %173, ptr %177, align 4 %178 = load i32, ptr %6, align 4 %179 = sext i32 %178 to i64 %180 = getelementptr inbounds [27 x i8], ptr %3, i64 0, i64 %179 %181 = load i8, ptr %180, align 1 store i8 %181, ptr %9, align 1 %182 = load i32, ptr %6, align 4 %183 = add nsw i32 %182, 1 %184 = sext i32 %183 to i64 %185 = getelementptr inbounds [27 x i8], ptr %3, i64 0, i64 %184 %186 = load i8, ptr %185, align 1 %187 = load i32, ptr %6, align 4 %188 = sext i32 %187 to i64 %189 = getelementptr inbounds [27 x i8], ptr %3, i64 0, i64 %188 store i8 %186, ptr %189, align 1 %190 = load i8, ptr %9, align 1 %191 = load i32, ptr %6, align 4 %192 = add nsw i32 %191, 1 %193 = sext i32 %192 to i64 %194 = getelementptr inbounds [27 x i8], ptr %3, i64 0, i64 %193 store i8 %190, ptr %194, align 1 br label %195 195: ; preds = %160, %147 br label %196 196: ; preds = %195, %136 br label %197 197: ; preds = %196 %198 = load i32, ptr %6, align 4 %199 = add nsw i32 %198, 1 store i32 %199, ptr %6, align 4 %200 = load i32, ptr %6, align 4 %201 = load i32, ptr %5, align 4 %202 = sub nsw i32 27, %201 %203 = sub nsw i32 %202, 1 %204 = icmp slt i32 %200, %203 br i1 %204, label %90, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %197 br label %205 205: ; preds = %._crit_edge6, %84 br label %206 206: ; preds = %205 %207 = load i32, ptr %5, align 4 %208 = add nsw i32 %207, 1 store i32 %208, ptr %5, align 4 %209 = load i32, ptr %5, align 4 %210 = icmp slt i32 %209, 26 br i1 %210, label %84, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %206 br label %211 211: ; preds = %._crit_edge9, %81 store i32 27, ptr %4, align 4 store i32 1, ptr %5, align 4 %212 = load i32, ptr %5, align 4 %213 = load i32, ptr %4, align 4 %214 = icmp slt i32 %212, %213 br i1 %214, label %.lr.ph11, label %233 .lr.ph11: ; preds = %211 br label %215 215: ; preds = %.lr.ph11, %227 %216 = load i32, ptr %5, align 4 %217 = sext i32 %216 to i64 %218 = getelementptr inbounds [27 x i8], ptr %3, i64 0, i64 %217 %219 = load i8, ptr %218, align 1 %220 = sext i8 %219 to i32 %221 = call i32 @printf(ptr noundef @.str, i32 noundef %220) %222 = load i32, ptr %5, align 4 %223 = sext i32 %222 to i64 %224 = getelementptr inbounds [27 x i32], ptr %2, i64 0, i64 %223 %225 = load i32, ptr %224, align 4 %226 = call i32 @printf(ptr noundef @.str.1, i32 noundef %225) br label %227 227: ; preds = %215 %228 = load i32, ptr %5, align 4 %229 = add nsw i32 %228, 1 store i32 %229, ptr %5, align 4 %230 = load i32, ptr %5, align 4 %231 = load i32, ptr %4, align 4 %232 = icmp slt i32 %230, %231 br i1 %232, label %215, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %227 br label %233 233: ; preds = %._crit_edge12, %211 ret void } declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpjrgixam5.c' source_filename = "/tmp/tmpjrgixam5.c" target datalayout = "e-m:e-p270: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/tmpjrgixam5.c" target datalayout = "e-m:e-p270: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/tmpjwid4ntg.c' source_filename = "/tmp/tmpjwid4ntg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @regfi_ace_type2str.map = internal global [7 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6], align 16 @.str = private unnamed_addr constant [6 x i8] c"ALLOW\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"DENY\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"AUDIT\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"ALARM\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"ALLOW CPD\00", align 1 @.str.5 = private unnamed_addr constant [10 x i8] c"OBJ ALLOW\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"OBJ DENY\00", align 1 @.str.7 = private unnamed_addr constant [13 x i8] c"UNKNOWN (%d)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @regfi_ace_type2str(ptr noundef %0, i8 noundef zeroext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i8, align 1 store ptr %0, ptr %4, align 8 store i8 %1, ptr %5, align 1 %6 = load i8, ptr %5, align 1 %7 = zext i8 %6 to i32 %8 = icmp slt i32 %7, 7 br i1 %8, label %9, label %16 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = load i8, ptr %5, align 1 %12 = zext i8 %11 to i64 %13 = getelementptr inbounds [7 x ptr], ptr @regfi_ace_type2str.map, i64 0, i64 %12 %14 = load ptr, ptr %13, align 8 %15 = call ptr @talloc_strdup(ptr noundef %10, ptr noundef %14) store ptr %15, ptr %3, align 8 br label %20 16: ; preds = %2 %17 = load ptr, ptr %4, align 8 %18 = load i8, ptr %5, align 1 %19 = call ptr @talloc_asprintf(ptr noundef %17, ptr noundef @.str.7, i8 noundef zeroext %18) store ptr %19, ptr %3, align 8 br label %20 20: ; preds = %16, %9 %21 = load ptr, ptr %3, align 8 ret ptr %21 } declare ptr @talloc_strdup(ptr noundef, ptr noundef) #1 declare ptr @talloc_asprintf(ptr noundef, ptr noundef, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjwid4ntg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @regfi_ace_type2str.map = internal global [7 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6], align 16 @.str = private unnamed_addr constant [6 x i8] c"ALLOW\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"DENY\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"AUDIT\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"ALARM\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"ALLOW CPD\00", align 1 @.str.5 = private unnamed_addr constant [10 x i8] c"OBJ ALLOW\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"OBJ DENY\00", align 1 @.str.7 = private unnamed_addr constant [13 x i8] c"UNKNOWN (%d)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @regfi_ace_type2str(ptr noundef %0, i8 noundef zeroext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i8, align 1 store ptr %0, ptr %4, align 8 store i8 %1, ptr %5, align 1 %6 = load i8, ptr %5, align 1 %7 = zext i8 %6 to i32 %8 = icmp slt i32 %7, 7 br i1 %8, label %9, label %16 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = load i8, ptr %5, align 1 %12 = zext i8 %11 to i64 %13 = getelementptr inbounds [7 x ptr], ptr @regfi_ace_type2str.map, i64 0, i64 %12 %14 = load ptr, ptr %13, align 8 %15 = call ptr @talloc_strdup(ptr noundef %10, ptr noundef %14) store ptr %15, ptr %3, align 8 br label %20 16: ; preds = %2 %17 = load ptr, ptr %4, align 8 %18 = load i8, ptr %5, align 1 %19 = call ptr @talloc_asprintf(ptr noundef %17, ptr noundef @.str.7, i8 noundef zeroext %18) store ptr %19, ptr %3, align 8 br label %20 20: ; preds = %16, %9 %21 = load ptr, ptr %3, align 8 ret ptr %21 } declare ptr @talloc_strdup(ptr noundef, ptr noundef) #1 declare ptr @talloc_asprintf(ptr noundef, ptr noundef, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpn6_11jka.c' source_filename = "/tmp/tmpn6_11jka.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @coinflip() #0 { %1 = call i32 (...) @checkSeed() %2 = call i32 (...) @random() %3 = srem i32 %2, 2 ret i32 %3 } declare i32 @checkSeed(...) #1 declare i32 @random(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn6_11jka.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @coinflip() #0 { %1 = call i32 (...) @checkSeed() %2 = call i32 (...) @random() %3 = srem i32 %2, 2 ret i32 %3 } declare i32 @checkSeed(...) #1 declare i32 @random(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpb7jgk6me.c' source_filename = "/tmp/tmpb7jgk6me.c" target datalayout = "e-m:e-p270: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/tmpb7jgk6me.c" target datalayout = "e-m:e-p270: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/tmpx1oiwh69.c' source_filename = "/tmp/tmpx1oiwh69.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_map(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %8 = load i32, ptr %5, align 4 %9 = sext i32 %8 to i64 %10 = mul i64 4, %9 %11 = trunc i64 %10 to i32 %12 = call ptr @malloc(i32 noundef %11) store ptr %12, ptr %7, align 8 br label %13 13: ; preds = %17, %3 %14 = load i32, ptr %5, align 4 %15 = add nsw i32 %14, -1 store i32 %15, ptr %5, align 4 %16 = icmp sgt i32 %14, 0 br i1 %16, label %17, label %25 17: ; preds = %13 %18 = load ptr, ptr %6, align 8 %19 = load ptr, ptr %4, align 8 %20 = getelementptr inbounds i32, ptr %19, i32 1 store ptr %20, ptr %4, align 8 %21 = load i32, ptr %19, align 4 %22 = call i32 %18(i32 noundef %21) %23 = load ptr, ptr %7, align 8 %24 = getelementptr inbounds i32, ptr %23, i32 1 store ptr %24, ptr %7, align 8 store i32 %22, ptr %23, align 4 br label %13, !llvm.loop !6 25: ; preds = %13 %26 = load ptr, ptr %7, align 8 ret ptr %26 } declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx1oiwh69.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_map(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %8 = load i32, ptr %5, align 4 %9 = sext i32 %8 to i64 %10 = mul i64 4, %9 %11 = trunc i64 %10 to i32 %12 = call ptr @malloc(i32 noundef %11) store ptr %12, ptr %7, align 8 %13 = load i32, ptr %5, align 4 %14 = add nsw i32 %13, -1 store i32 %14, ptr %5, align 4 %15 = icmp sgt i32 %13, 0 br i1 %15, label %.lr.ph, label %27 .lr.ph: ; preds = %3 br label %16 16: ; preds = %.lr.ph, %16 %17 = load ptr, ptr %6, align 8 %18 = load ptr, ptr %4, align 8 %19 = getelementptr inbounds i32, ptr %18, i32 1 store ptr %19, ptr %4, align 8 %20 = load i32, ptr %18, align 4 %21 = call i32 %17(i32 noundef %20) %22 = load ptr, ptr %7, align 8 %23 = getelementptr inbounds i32, ptr %22, i32 1 store ptr %23, ptr %7, align 8 store i32 %21, ptr %22, align 4 %24 = load i32, ptr %5, align 4 %25 = add nsw i32 %24, -1 store i32 %25, ptr %5, align 4 %26 = icmp sgt i32 %24, 0 br i1 %26, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %27 27: ; preds = %._crit_edge, %3 %28 = load ptr, ptr %7, align 8 ret ptr %28 } declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpj5mm97df.c' source_filename = "/tmp/tmpj5mm97df.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vec2_round(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds float, ptr %3, i64 0 %5 = load float, ptr %4, align 4 %6 = call float @llvm.round.f32(float %5) %7 = load ptr, ptr %2, align 8 %8 = getelementptr inbounds float, ptr %7, i64 0 store float %6, ptr %8, align 4 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds float, ptr %9, i64 1 %11 = load float, ptr %10, align 4 %12 = call float @llvm.round.f32(float %11) %13 = load ptr, ptr %2, align 8 %14 = getelementptr inbounds float, ptr %13, i64 1 store float %12, ptr %14, align 4 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.round.f32(float) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj5mm97df.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vec2_round(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds float, ptr %3, i64 0 %5 = load float, ptr %4, align 4 %6 = call float @llvm.round.f32(float %5) %7 = load ptr, ptr %2, align 8 %8 = getelementptr inbounds float, ptr %7, i64 0 store float %6, ptr %8, align 4 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds float, ptr %9, i64 1 %11 = load float, ptr %10, align 4 %12 = call float @llvm.round.f32(float %11) %13 = load ptr, ptr %2, align 8 %14 = getelementptr inbounds float, ptr %13, i64 1 store float %12, ptr %14, align 4 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.round.f32(float) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7bqrp05e.c' source_filename = "/tmp/tmp7bqrp05e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %17, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %20 10: ; preds = %6 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i32, ptr %11, i64 %13 %15 = load i32, ptr %14, align 4 %16 = call i32 @printf(ptr noundef @.str, i32 noundef %15) br label %17 17: ; preds = %10 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %5, align 4 br label %6, !llvm.loop !6 20: ; preds = %6 ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7bqrp05e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %22 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %16 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i32, ptr %10, i64 %12 %14 = load i32, ptr %13, align 4 %15 = call i32 @printf(ptr noundef @.str, i32 noundef %14) br label %16 16: ; preds = %9 %17 = load i32, ptr %5, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %5, align 4 %19 = load i32, ptr %5, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %22 22: ; preds = %._crit_edge, %2 ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp3k9r9z72.c' source_filename = "/tmp/tmp3k9r9z72.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i64, i64 } @STDIN_FILENO = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @console_input_available() #0 { %1 = alloca %struct.timeval, align 8 %2 = alloca i32, align 4 %3 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1 store i64 0, ptr %3, align 8 %4 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0 store i64 0, ptr %4, align 8 %5 = call i32 @FD_ZERO(ptr noundef %2) %6 = load i64, ptr @STDIN_FILENO, align 8 %7 = call i32 @FD_SET(i64 noundef %6, ptr noundef %2) %8 = load i64, ptr @STDIN_FILENO, align 8 %9 = add nsw i64 %8, 1 %10 = call i32 @select(i64 noundef %9, ptr noundef %2, ptr noundef null, ptr noundef null, ptr noundef %1) %11 = call i32 @FD_ISSET(i32 noundef 0, ptr noundef %2) ret i32 %11 } declare i32 @FD_ZERO(ptr noundef) #1 declare i32 @FD_SET(i64 noundef, ptr noundef) #1 declare i32 @select(i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @FD_ISSET(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/tmp3k9r9z72.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i64, i64 } @STDIN_FILENO = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @console_input_available() #0 { %1 = alloca %struct.timeval, align 8 %2 = alloca i32, align 4 %3 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1 store i64 0, ptr %3, align 8 %4 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0 store i64 0, ptr %4, align 8 %5 = call i32 @FD_ZERO(ptr noundef %2) %6 = load i64, ptr @STDIN_FILENO, align 8 %7 = call i32 @FD_SET(i64 noundef %6, ptr noundef %2) %8 = load i64, ptr @STDIN_FILENO, align 8 %9 = add nsw i64 %8, 1 %10 = call i32 @select(i64 noundef %9, ptr noundef %2, ptr noundef null, ptr noundef null, ptr noundef %1) %11 = call i32 @FD_ISSET(i32 noundef 0, ptr noundef %2) ret i32 %11 } declare i32 @FD_ZERO(ptr noundef) #1 declare i32 @FD_SET(i64 noundef, ptr noundef) #1 declare i32 @select(i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @FD_ISSET(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/tmp7df4puz9.c' source_filename = "/tmp/tmp7df4puz9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @epoll_ctl(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %7, align 4 %12 = load ptr, ptr %8, align 8 %13 = call i32 @syscall(i32 noundef 255, i32 noundef %9, i32 noundef %10, i32 noundef %11, ptr noundef %12) ret i32 %13 } declare i32 @syscall(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7df4puz9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @epoll_ctl(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %7, align 4 %12 = load ptr, ptr %8, align 8 %13 = call i32 @syscall(i32 noundef 255, i32 noundef %9, i32 noundef %10, i32 noundef %11, ptr noundef %12) ret i32 %13 } declare i32 @syscall(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptg_zmvsd.c' source_filename = "/tmp/tmptg_zmvsd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.tm = type { i32, i32, i32 } @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Decode_date_hms(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 -1, ptr %9, align 4 store i32 -1, ptr %10, align 4 store i32 0, ptr %11, align 4 store i32 0, ptr %8, align 4 br label %12 12: ; preds = %94, %3 %13 = load i32, ptr %8, align 4 %14 = icmp slt i32 %13, 9 br i1 %14, label %15, label %97 15: ; preds = %12 %16 = load i32, ptr %8, align 4 %17 = icmp eq i32 %16, 6 br i1 %17, label %18, label %27 18: ; preds = %15 %19 = load ptr, ptr %5, align 8 %20 = load i32, ptr %8, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %27 26: ; preds = %18 br label %97 27: ; preds = %18, %15 %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr %8, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 %32 = load i8, ptr %31, align 1 %33 = call i32 @isdigit(i8 noundef signext %32) %34 = icmp ne i32 %33, 0 br i1 %34, label %36, label %35 35: ; preds = %27 store i32 -1, ptr %4, align 4 br label %123 36: ; preds = %27 %37 = load ptr, ptr %5, align 8 %38 = load i32, ptr %8, align 4 %39 = add nsw i32 %38, 1 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %37, i64 %40 %42 = load i8, ptr %41, align 1 %43 = call i32 @isdigit(i8 noundef signext %42) %44 = icmp ne i32 %43, 0 br i1 %44, label %46, label %45 45: ; preds = %36 store i32 -1, ptr %4, align 4 br label %123 46: ; preds = %36 %47 = load ptr, ptr %5, align 8 %48 = load i32, ptr %8, align 4 %49 = add nsw i32 %48, 2 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i8, ptr %47, i64 %50 %52 = load i8, ptr %51, align 1 %53 = sext i8 %52 to i32 %54 = icmp ne i32 %53, 58 br i1 %54, label %55, label %68 55: ; preds = %46 %56 = load ptr, ptr %5, align 8 %57 = load i32, ptr %8, align 4 %58 = add nsw i32 %57, 2 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i8, ptr %56, i64 %59 %61 = load i8, ptr %60, align 1 %62 = sext i8 %61 to i32 %63 = icmp eq i32 %62, 0 br i1 %63, label %64, label %67 64: ; preds = %55 %65 = load i32, ptr %8, align 4 %66 = icmp sge i32 %65, 3 br i1 %66, label %68, label %67 67: ; preds = %64, %55 store i32 -1, ptr %4, align 4 br label %123 68: ; preds = %64, %46 %69 = load i32, ptr %8, align 4 %70 = icmp eq i32 %69, 0 br i1 %70, label %71, label %77 71: ; preds = %68 %72 = load ptr, ptr %5, align 8 %73 = load i32, ptr %8, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds i8, ptr %72, i64 %74 %76 = call i32 @sscanf(ptr noundef %75, ptr noundef @.str, ptr noundef %9) br label %93 77: ; preds = %68 %78 = load i32, ptr %8, align 4 %79 = icmp eq i32 %78, 3 br i1 %79, label %80, label %86 80: ; preds = %77 %81 = load ptr, ptr %5, align 8 %82 = load i32, ptr %8, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds i8, ptr %81, i64 %83 %85 = call i32 @sscanf(ptr noundef %84, ptr noundef @.str, ptr noundef %10) br label %92 86: ; preds = %77 %87 = load ptr, ptr %5, align 8 %88 = load i32, ptr %8, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds i8, ptr %87, i64 %89 %91 = call i32 @sscanf(ptr noundef %90, ptr noundef @.str, ptr noundef %11) br label %92 92: ; preds = %86, %80 br label %93 93: ; preds = %92, %71 br label %94 94: ; preds = %93 %95 = load i32, ptr %8, align 4 %96 = add nsw i32 %95, 3 store i32 %96, ptr %8, align 4 br label %12, !llvm.loop !6 97: ; preds = %26, %12 %98 = load i32, ptr %9, align 4 %99 = icmp slt i32 %98, 0 br i1 %99, label %112, label %100 100: ; preds = %97 %101 = load i32, ptr %9, align 4 %102 = icmp sgt i32 %101, 23 br i1 %102, label %112, label %103 103: ; preds = %100 %104 = load i32, ptr %10, align 4 %105 = icmp slt i32 %104, 0 br i1 %105, label %112, label %106 106: ; preds = %103 %107 = load i32, ptr %10, align 4 %108 = icmp sgt i32 %107, 59 br i1 %108, label %112, label %109 109: ; preds = %106 %110 = load i32, ptr %11, align 4 %111 = icmp sgt i32 %110, 59 br i1 %111, label %112, label %113 112: ; preds = %109, %106, %103, %100, %97 store i32 -1, ptr %4, align 4 br label %123 113: ; preds = %109 %114 = load i32, ptr %9, align 4 %115 = load ptr, ptr %6, align 8 %116 = getelementptr inbounds %struct.tm, ptr %115, i32 0, i32 0 store i32 %114, ptr %116, align 4 %117 = load i32, ptr %10, align 4 %118 = load ptr, ptr %6, align 8 %119 = getelementptr inbounds %struct.tm, ptr %118, i32 0, i32 1 store i32 %117, ptr %119, align 4 %120 = load i32, ptr %11, align 4 %121 = load ptr, ptr %6, align 8 %122 = getelementptr inbounds %struct.tm, ptr %121, i32 0, i32 2 store i32 %120, ptr %122, align 4 store i32 1, ptr %4, align 4 br label %123 123: ; preds = %113, %112, %67, %45, %35 %124 = load i32, ptr %4, align 4 ret i32 %124 } declare i32 @isdigit(i8 noundef signext) #1 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptg_zmvsd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.tm = type { i32, i32, i32 } @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Decode_date_hms(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 -1, ptr %9, align 4 store i32 -1, ptr %10, align 4 store i32 0, ptr %11, align 4 store i32 0, ptr %8, align 4 %12 = load i32, ptr %8, align 4 %13 = icmp slt i32 %12, 9 br i1 %13, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %3 br label %14 14: ; preds = %.lr.ph, %93 %15 = load i32, ptr %8, align 4 %16 = icmp eq i32 %15, 6 br i1 %16, label %17, label %26 17: ; preds = %14 %18 = load ptr, ptr %5, align 8 %19 = load i32, ptr %8, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %26 25: ; preds = %17 br label %98 26: ; preds = %17, %14 %27 = load ptr, ptr %5, align 8 %28 = load i32, ptr %8, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 %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 %35, label %34 34: ; preds = %26 store i32 -1, ptr %4, align 4 br label %124 35: ; preds = %26 %36 = load ptr, ptr %5, align 8 %37 = load i32, ptr %8, align 4 %38 = add nsw i32 %37, 1 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %36, i64 %39 %41 = load i8, ptr %40, align 1 %42 = call i32 @isdigit(i8 noundef signext %41) %43 = icmp ne i32 %42, 0 br i1 %43, label %45, label %44 44: ; preds = %35 store i32 -1, ptr %4, align 4 br label %124 45: ; preds = %35 %46 = load ptr, ptr %5, align 8 %47 = load i32, ptr %8, align 4 %48 = add nsw i32 %47, 2 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i8, ptr %46, i64 %49 %51 = load i8, ptr %50, align 1 %52 = sext i8 %51 to i32 %53 = icmp ne i32 %52, 58 br i1 %53, label %54, label %67 54: ; preds = %45 %55 = load ptr, ptr %5, align 8 %56 = load i32, ptr %8, align 4 %57 = add nsw i32 %56, 2 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i8, ptr %55, i64 %58 %60 = load i8, ptr %59, align 1 %61 = sext i8 %60 to i32 %62 = icmp eq i32 %61, 0 br i1 %62, label %63, label %66 63: ; preds = %54 %64 = load i32, ptr %8, align 4 %65 = icmp sge i32 %64, 3 br i1 %65, label %67, label %66 66: ; preds = %63, %54 store i32 -1, ptr %4, align 4 br label %124 67: ; preds = %63, %45 %68 = load i32, ptr %8, align 4 %69 = icmp eq i32 %68, 0 br i1 %69, label %70, label %76 70: ; preds = %67 %71 = load ptr, ptr %5, align 8 %72 = load i32, ptr %8, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds i8, ptr %71, i64 %73 %75 = call i32 @sscanf(ptr noundef %74, ptr noundef @.str, ptr noundef %9) br label %92 76: ; preds = %67 %77 = load i32, ptr %8, align 4 %78 = icmp eq i32 %77, 3 br i1 %78, label %79, label %85 79: ; preds = %76 %80 = load ptr, ptr %5, align 8 %81 = load i32, ptr %8, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i8, ptr %80, i64 %82 %84 = call i32 @sscanf(ptr noundef %83, ptr noundef @.str, ptr noundef %10) br label %91 85: ; preds = %76 %86 = load ptr, ptr %5, align 8 %87 = load i32, ptr %8, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds i8, ptr %86, i64 %88 %90 = call i32 @sscanf(ptr noundef %89, ptr noundef @.str, ptr noundef %11) br label %91 91: ; preds = %85, %79 br label %92 92: ; preds = %91, %70 br label %93 93: ; preds = %92 %94 = load i32, ptr %8, align 4 %95 = add nsw i32 %94, 3 store i32 %95, ptr %8, align 4 %96 = load i32, ptr %8, align 4 %97 = icmp slt i32 %96, 9 br i1 %97, label %14, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %93 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %3 br label %98 98: ; preds = %.loopexit, %25 %99 = load i32, ptr %9, align 4 %100 = icmp slt i32 %99, 0 br i1 %100, label %113, label %101 101: ; preds = %98 %102 = load i32, ptr %9, align 4 %103 = icmp sgt i32 %102, 23 br i1 %103, label %113, label %104 104: ; preds = %101 %105 = load i32, ptr %10, align 4 %106 = icmp slt i32 %105, 0 br i1 %106, label %113, label %107 107: ; preds = %104 %108 = load i32, ptr %10, align 4 %109 = icmp sgt i32 %108, 59 br i1 %109, label %113, label %110 110: ; preds = %107 %111 = load i32, ptr %11, align 4 %112 = icmp sgt i32 %111, 59 br i1 %112, label %113, label %114 113: ; preds = %110, %107, %104, %101, %98 store i32 -1, ptr %4, align 4 br label %124 114: ; preds = %110 %115 = load i32, ptr %9, align 4 %116 = load ptr, ptr %6, align 8 %117 = getelementptr inbounds %struct.tm, ptr %116, i32 0, i32 0 store i32 %115, ptr %117, align 4 %118 = load i32, ptr %10, align 4 %119 = load ptr, ptr %6, align 8 %120 = getelementptr inbounds %struct.tm, ptr %119, i32 0, i32 1 store i32 %118, ptr %120, align 4 %121 = load i32, ptr %11, align 4 %122 = load ptr, ptr %6, align 8 %123 = getelementptr inbounds %struct.tm, ptr %122, i32 0, i32 2 store i32 %121, ptr %123, align 4 store i32 1, ptr %4, align 4 br label %124 124: ; preds = %114, %113, %66, %44, %34 %125 = load i32, ptr %4, align 4 ret i32 %125 } declare i32 @isdigit(i8 noundef signext) #1 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp8rand3lt.c' source_filename = "/tmp/tmp8rand3lt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HibernateIntDisable(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = and i64 %3, -32 %5 = icmp ne i64 %4, 0 %6 = xor i1 %5, true %7 = zext i1 %6 to i32 %8 = call i32 @DEBUG_ASSERT(i32 noundef %7) %9 = load i64, ptr %2, align 8 %10 = xor i64 %9, -1 %11 = load volatile i64, ptr inttoptr (i64 1074774036 to ptr), align 8 %12 = and i64 %11, %10 store volatile i64 %12, ptr inttoptr (i64 1074774036 to ptr), align 8 %13 = call i32 (...) @HibernateWriteComplete() ret void } declare i32 @DEBUG_ASSERT(i32 noundef) #1 declare i32 @HibernateWriteComplete(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8rand3lt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HibernateIntDisable(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = and i64 %3, -32 %5 = icmp ne i64 %4, 0 %6 = xor i1 %5, true %7 = zext i1 %6 to i32 %8 = call i32 @DEBUG_ASSERT(i32 noundef %7) %9 = load i64, ptr %2, align 8 %10 = xor i64 %9, -1 %11 = load volatile i64, ptr inttoptr (i64 1074774036 to ptr), align 8 %12 = and i64 %11, %10 store volatile i64 %12, ptr inttoptr (i64 1074774036 to ptr), align 8 %13 = call i32 (...) @HibernateWriteComplete() ret void } declare i32 @DEBUG_ASSERT(i32 noundef) #1 declare i32 @HibernateWriteComplete(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpx73pbn6p.c' source_filename = "/tmp/tmpx73pbn6p.c" target datalayout = "e-m:e-p270: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/tmpx73pbn6p.c" target datalayout = "e-m:e-p270: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/tmp08cisqir.c' source_filename = "/tmp/tmp08cisqir.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) br label %7 7: ; preds = %15, %0 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %5) br label %9 9: ; preds = %7 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %10, 0 br i1 %11, label %15, label %12 12: ; preds = %9 %13 = load i32, ptr %5, align 4 %14 = icmp sgt i32 %13, 1 br label %15 15: ; preds = %12, %9 %16 = phi i1 [ true, %9 ], [ %14, %12 ] br i1 %16, label %7, label %17, !llvm.loop !6 17: ; preds = %15 br label %18 18: ; preds = %26, %17 %19 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) br label %20 20: ; preds = %18 %21 = load i32, ptr %3, align 4 %22 = icmp slt i32 %21, 0 br i1 %22, label %26, label %23 23: ; preds = %20 %24 = load i32, ptr %3, align 4 %25 = icmp sgt i32 %24, 7 br label %26 26: ; preds = %23, %20 %27 = phi i1 [ true, %20 ], [ %25, %23 ] br i1 %27, label %18, label %28, !llvm.loop !8 28: ; preds = %26 %29 = load i32, ptr %5, align 4 %30 = icmp eq i32 %29, 1 br i1 %30, label %31, label %36 31: ; preds = %28 %32 = load i32, ptr %4, align 4 %33 = load i32, ptr %3, align 4 %34 = shl i32 1, %33 %35 = or i32 %32, %34 store i32 %35, ptr %2, align 4 br label %42 36: ; preds = %28 %37 = load i32, ptr %4, align 4 %38 = load i32, ptr %3, align 4 %39 = shl i32 1, %38 %40 = xor i32 %39, -1 %41 = and i32 %37, %40 store i32 %41, ptr %2, align 4 br label %42 42: ; preds = %36, %31 %43 = load i32, ptr %2, align 4 %44 = call i32 @printf(ptr noundef @.str.1, i32 noundef %43) %45 = load i32, ptr %1, align 4 ret i32 %45 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp08cisqir.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) br label %7 7: ; preds = %15, %0 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %5) br label %9 9: ; preds = %7 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %10, 0 br i1 %11, label %15, label %12 12: ; preds = %9 %13 = load i32, ptr %5, align 4 %14 = icmp sgt i32 %13, 1 br label %15 15: ; preds = %12, %9 %16 = phi i1 [ true, %9 ], [ %14, %12 ] br i1 %16, label %7, label %17, !llvm.loop !6 17: ; preds = %15 br label %18 18: ; preds = %26, %17 %19 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) br label %20 20: ; preds = %18 %21 = load i32, ptr %3, align 4 %22 = icmp slt i32 %21, 0 br i1 %22, label %26, label %23 23: ; preds = %20 %24 = load i32, ptr %3, align 4 %25 = icmp sgt i32 %24, 7 br label %26 26: ; preds = %23, %20 %27 = phi i1 [ true, %20 ], [ %25, %23 ] br i1 %27, label %18, label %28, !llvm.loop !8 28: ; preds = %26 %29 = load i32, ptr %5, align 4 %30 = icmp eq i32 %29, 1 br i1 %30, label %31, label %36 31: ; preds = %28 %32 = load i32, ptr %4, align 4 %33 = load i32, ptr %3, align 4 %34 = shl i32 1, %33 %35 = or i32 %32, %34 store i32 %35, ptr %2, align 4 br label %42 36: ; preds = %28 %37 = load i32, ptr %4, align 4 %38 = load i32, ptr %3, align 4 %39 = shl i32 1, %38 %40 = xor i32 %39, -1 %41 = and i32 %37, %40 store i32 %41, ptr %2, align 4 br label %42 42: ; preds = %36, %31 %43 = load i32, ptr %2, align 4 %44 = call i32 @printf(ptr noundef @.str.1, i32 noundef %43) %45 = load i32, ptr %1, align 4 ret i32 %45 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpow_8_kjm.c' source_filename = "/tmp/tmpow_8_kjm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i64 1, ptr %2, align 8 store i64 2, ptr %3, align 8 br label %4 4: ; preds = %16, %0 %5 = load i64, ptr %2, align 8 %6 = icmp ne i64 %5, 10001 br i1 %6, label %7, label %17 7: ; preds = %4 %8 = load i64, ptr %3, align 8 %9 = add i64 %8, 1 store i64 %9, ptr %3, align 8 %10 = load i64, ptr %3, align 8 %11 = call i64 @isPrime(i64 noundef %10) %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %7 %14 = load i64, ptr %2, align 8 %15 = add i64 %14, 1 store i64 %15, ptr %2, align 8 br label %16 16: ; preds = %13, %7 br label %4, !llvm.loop !6 17: ; preds = %4 %18 = load i64, ptr %3, align 8 %19 = call i32 @printf(ptr noundef @.str, i64 noundef %18) ret i32 0 } declare i64 @isPrime(i64 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpow_8_kjm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i64 1, ptr %2, align 8 store i64 2, ptr %3, align 8 %4 = load i64, ptr %2, align 8 %5 = icmp ne i64 %4, 10001 br i1 %5, label %.lr.ph, label %18 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %15 %7 = load i64, ptr %3, align 8 %8 = add i64 %7, 1 store i64 %8, ptr %3, align 8 %9 = load i64, ptr %3, align 8 %10 = call i64 @isPrime(i64 noundef %9) %11 = icmp ne i64 %10, 0 br i1 %11, label %12, label %15 12: ; preds = %6 %13 = load i64, ptr %2, align 8 %14 = add i64 %13, 1 store i64 %14, ptr %2, align 8 br label %15 15: ; preds = %12, %6 %16 = load i64, ptr %2, align 8 %17 = icmp ne i64 %16, 10001 br i1 %17, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %18 18: ; preds = %._crit_edge, %0 %19 = load i64, ptr %3, align 8 %20 = call i32 @printf(ptr noundef @.str, i64 noundef %19) ret i32 0 } declare i64 @isPrime(i64 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}