llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpsbn7f9vv.c' source_filename = "/tmp/tmpsbn7f9vv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @m_dup(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %6, align 4 %10 = call ptr @m_new(i32 noundef %8, i32 noundef %9) store ptr %10, ptr %7, align 8 %11 = load ptr, ptr %7, align 8 %12 = load ptr, ptr %4, align 8 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %6, align 4 %15 = mul nsw i32 %13, %14 %16 = sext i32 %15 to i64 %17 = mul i64 %16, 8 %18 = trunc i64 %17 to i32 %19 = call i32 @memcpy(ptr noundef %11, ptr noundef %12, i32 noundef %18) %20 = load ptr, ptr %7, align 8 ret ptr %20 } declare ptr @m_new(i32 noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsbn7f9vv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @m_dup(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %6, align 4 %10 = call ptr @m_new(i32 noundef %8, i32 noundef %9) store ptr %10, ptr %7, align 8 %11 = load ptr, ptr %7, align 8 %12 = load ptr, ptr %4, align 8 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %6, align 4 %15 = mul nsw i32 %13, %14 %16 = sext i32 %15 to i64 %17 = mul i64 %16, 8 %18 = trunc i64 %17 to i32 %19 = call i32 @memcpy(ptr noundef %11, ptr noundef %12, i32 noundef %18) %20 = load ptr, ptr %7, align 8 ret ptr %20 } declare ptr @m_new(i32 noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbuizg0rz.c' source_filename = "/tmp/tmpbuizg0rz.c" target datalayout = "e-m:e-p270: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/tmpbuizg0rz.c" target datalayout = "e-m:e-p270: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/tmp1jkjfkp5.c' source_filename = "/tmp/tmp1jkjfkp5.c" target datalayout = "e-m:e-p270: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.ifreq = type { i32, i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [161 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/BobBuildTool/bob/refs/heads/master/src/main/tools/network-tools.c:34: \00", align 1 @.str.1 = private unnamed_addr constant [36 x i8] c"fd = socket(AF_INET, SOCK_DGRAM, 0)\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @IF_NAMESIZE = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [161 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/BobBuildTool/bob/refs/heads/master/src/main/tools/network-tools.c:40: \00", align 1 @.str.3 = private unnamed_addr constant [29 x i8] c"if_nametoindex(ifr.ifr_name)\00", align 1 @IFF_UP = dso_local global i32 0, align 4 @SIOCSIFFLAGS = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [161 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/BobBuildTool/bob/refs/heads/master/src/main/tools/network-tools.c:44: \00", align 1 @.str.5 = private unnamed_addr constant [30 x i8] c"ioctl(fd, SIOCSIFFLAGS, &ifr)\00", align 1 @.str.6 = private unnamed_addr constant [161 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/BobBuildTool/bob/refs/heads/master/src/main/tools/network-tools.c:46: \00", align 1 @.str.7 = private unnamed_addr constant [10 x i8] c"close(fd)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @BringupInterface(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca %struct.ifreq, align 4 store ptr %0, ptr %2, align 8 %5 = load i32, ptr @AF_INET, align 4 %6 = load i32, ptr @SOCK_DGRAM, align 4 %7 = call i32 @socket(i32 noundef %5, i32 noundef %6, i32 noundef 0) store i32 %7, ptr %3, align 4 %8 = icmp eq i32 %7, -1 br i1 %8, label %9, label %15 9: ; preds = %1 %10 = load i32, ptr @stderr, align 4 %11 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str) %12 = call i32 @perror(ptr noundef @.str.1) %13 = load i32, ptr @EXIT_FAILURE, align 4 %14 = call i32 @exit(i32 noundef %13) #3 unreachable 15: ; preds = %1 %16 = call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef 8) %17 = getelementptr inbounds %struct.ifreq, ptr %4, i32 0, i32 1 %18 = load i32, ptr %17, align 4 %19 = load ptr, ptr %2, align 8 %20 = load i32, ptr @IF_NAMESIZE, align 4 %21 = call i32 @strncpy(i32 noundef %18, ptr noundef %19, i32 noundef %20) %22 = getelementptr inbounds %struct.ifreq, ptr %4, i32 0, i32 1 %23 = load i32, ptr %22, align 4 %24 = call i32 @if_nametoindex(i32 noundef %23) %25 = icmp eq i32 %24, -1 br i1 %25, label %26, label %32 26: ; preds = %15 %27 = load i32, ptr @stderr, align 4 %28 = call i32 @fprintf(i32 noundef %27, ptr noundef @.str.2) %29 = call i32 @perror(ptr noundef @.str.3) %30 = load i32, ptr @EXIT_FAILURE, align 4 %31 = call i32 @exit(i32 noundef %30) #3 unreachable 32: ; preds = %15 %33 = load i32, ptr @IFF_UP, align 4 %34 = getelementptr inbounds %struct.ifreq, ptr %4, i32 0, i32 0 %35 = load i32, ptr %34, align 4 %36 = or i32 %35, %33 store i32 %36, ptr %34, align 4 %37 = load i32, ptr %3, align 4 %38 = load i32, ptr @SIOCSIFFLAGS, align 4 %39 = call i32 @ioctl(i32 noundef %37, i32 noundef %38, ptr noundef %4) %40 = icmp eq i32 %39, -1 br i1 %40, label %41, label %47 41: ; preds = %32 %42 = load i32, ptr @stderr, align 4 %43 = call i32 @fprintf(i32 noundef %42, ptr noundef @.str.4) %44 = call i32 @perror(ptr noundef @.str.5) %45 = load i32, ptr @EXIT_FAILURE, align 4 %46 = call i32 @exit(i32 noundef %45) #3 unreachable 47: ; preds = %32 %48 = load i32, ptr %3, align 4 %49 = call i32 @close(i32 noundef %48) %50 = icmp eq i32 %49, -1 br i1 %50, label %51, label %57 51: ; preds = %47 %52 = load i32, ptr @stderr, align 4 %53 = call i32 @fprintf(i32 noundef %52, ptr noundef @.str.6) %54 = call i32 @perror(ptr noundef @.str.7) %55 = load i32, ptr @EXIT_FAILURE, align 4 %56 = call i32 @exit(i32 noundef %55) #3 unreachable 57: ; preds = %47 ret void } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strncpy(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @if_nametoindex(i32 noundef) #1 declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1jkjfkp5.c" target datalayout = "e-m:e-p270: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.ifreq = type { i32, i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [161 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/BobBuildTool/bob/refs/heads/master/src/main/tools/network-tools.c:34: \00", align 1 @.str.1 = private unnamed_addr constant [36 x i8] c"fd = socket(AF_INET, SOCK_DGRAM, 0)\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @IF_NAMESIZE = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [161 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/BobBuildTool/bob/refs/heads/master/src/main/tools/network-tools.c:40: \00", align 1 @.str.3 = private unnamed_addr constant [29 x i8] c"if_nametoindex(ifr.ifr_name)\00", align 1 @IFF_UP = dso_local global i32 0, align 4 @SIOCSIFFLAGS = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [161 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/BobBuildTool/bob/refs/heads/master/src/main/tools/network-tools.c:44: \00", align 1 @.str.5 = private unnamed_addr constant [30 x i8] c"ioctl(fd, SIOCSIFFLAGS, &ifr)\00", align 1 @.str.6 = private unnamed_addr constant [161 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/BobBuildTool/bob/refs/heads/master/src/main/tools/network-tools.c:46: \00", align 1 @.str.7 = private unnamed_addr constant [10 x i8] c"close(fd)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @BringupInterface(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca %struct.ifreq, align 4 store ptr %0, ptr %2, align 8 %5 = load i32, ptr @AF_INET, align 4 %6 = load i32, ptr @SOCK_DGRAM, align 4 %7 = call i32 @socket(i32 noundef %5, i32 noundef %6, i32 noundef 0) store i32 %7, ptr %3, align 4 %8 = icmp eq i32 %7, -1 br i1 %8, label %9, label %15 9: ; preds = %1 %10 = load i32, ptr @stderr, align 4 %11 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str) %12 = call i32 @perror(ptr noundef @.str.1) %13 = load i32, ptr @EXIT_FAILURE, align 4 %14 = call i32 @exit(i32 noundef %13) #3 unreachable 15: ; preds = %1 %16 = call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef 8) %17 = getelementptr inbounds %struct.ifreq, ptr %4, i32 0, i32 1 %18 = load i32, ptr %17, align 4 %19 = load ptr, ptr %2, align 8 %20 = load i32, ptr @IF_NAMESIZE, align 4 %21 = call i32 @strncpy(i32 noundef %18, ptr noundef %19, i32 noundef %20) %22 = getelementptr inbounds %struct.ifreq, ptr %4, i32 0, i32 1 %23 = load i32, ptr %22, align 4 %24 = call i32 @if_nametoindex(i32 noundef %23) %25 = icmp eq i32 %24, -1 br i1 %25, label %26, label %32 26: ; preds = %15 %27 = load i32, ptr @stderr, align 4 %28 = call i32 @fprintf(i32 noundef %27, ptr noundef @.str.2) %29 = call i32 @perror(ptr noundef @.str.3) %30 = load i32, ptr @EXIT_FAILURE, align 4 %31 = call i32 @exit(i32 noundef %30) #3 unreachable 32: ; preds = %15 %33 = load i32, ptr @IFF_UP, align 4 %34 = getelementptr inbounds %struct.ifreq, ptr %4, i32 0, i32 0 %35 = load i32, ptr %34, align 4 %36 = or i32 %35, %33 store i32 %36, ptr %34, align 4 %37 = load i32, ptr %3, align 4 %38 = load i32, ptr @SIOCSIFFLAGS, align 4 %39 = call i32 @ioctl(i32 noundef %37, i32 noundef %38, ptr noundef %4) %40 = icmp eq i32 %39, -1 br i1 %40, label %41, label %47 41: ; preds = %32 %42 = load i32, ptr @stderr, align 4 %43 = call i32 @fprintf(i32 noundef %42, ptr noundef @.str.4) %44 = call i32 @perror(ptr noundef @.str.5) %45 = load i32, ptr @EXIT_FAILURE, align 4 %46 = call i32 @exit(i32 noundef %45) #3 unreachable 47: ; preds = %32 %48 = load i32, ptr %3, align 4 %49 = call i32 @close(i32 noundef %48) %50 = icmp eq i32 %49, -1 br i1 %50, label %51, label %57 51: ; preds = %47 %52 = load i32, ptr @stderr, align 4 %53 = call i32 @fprintf(i32 noundef %52, ptr noundef @.str.6) %54 = call i32 @perror(ptr noundef @.str.7) %55 = load i32, ptr @EXIT_FAILURE, align 4 %56 = call i32 @exit(i32 noundef %55) #3 unreachable 57: ; preds = %47 ret void } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strncpy(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @if_nametoindex(i32 noundef) #1 declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp14xkpngw.c' source_filename = "/tmp/tmp14xkpngw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 [101 x i8], align 16 %3 = alloca [101 x i8], align 16 store i32 0, ptr %1, align 4 %4 = getelementptr inbounds [101 x i8], ptr %2, i64 0, i64 0 %5 = call i32 @gets(ptr noundef %4) %6 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 0 %7 = getelementptr inbounds [101 x i8], ptr %2, i64 0, i64 0 %8 = call ptr @str_rev(ptr noundef %6, ptr noundef %7) %9 = call i32 @puts(ptr noundef %8) %10 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 0 %11 = call i32 @puts(ptr noundef %10) ret i32 0 } declare i32 @gets(ptr noundef) #1 declare i32 @puts(ptr noundef) #1 declare ptr @str_rev(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/tmp14xkpngw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 [101 x i8], align 16 %3 = alloca [101 x i8], align 16 store i32 0, ptr %1, align 4 %4 = getelementptr inbounds [101 x i8], ptr %2, i64 0, i64 0 %5 = call i32 @gets(ptr noundef %4) %6 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 0 %7 = getelementptr inbounds [101 x i8], ptr %2, i64 0, i64 0 %8 = call ptr @str_rev(ptr noundef %6, ptr noundef %7) %9 = call i32 @puts(ptr noundef %8) %10 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 0 %11 = call i32 @puts(ptr noundef %10) ret i32 0 } declare i32 @gets(ptr noundef) #1 declare i32 @puts(ptr noundef) #1 declare ptr @str_rev(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/tmp1peel4k3.c' source_filename = "/tmp/tmp1peel4k3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gb_float44_mul(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [4 x [4 x float]], align 16 %10 = alloca [4 x [4 x float]], align 16 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %11 = load ptr, ptr %5, align 8 %12 = load ptr, ptr %4, align 8 %13 = icmp eq ptr %11, %12 br i1 %13, label %14, label %19 14: ; preds = %3 %15 = getelementptr inbounds [4 x [4 x float]], ptr %9, i64 0, i64 0 %16 = load ptr, ptr %5, align 8 %17 = call i32 @gb__memcpy_4byte(ptr noundef %15, ptr noundef %16, i32 noundef 64) %18 = getelementptr inbounds [4 x [4 x float]], ptr %9, i64 0, i64 0 store ptr %18, ptr %5, align 8 br label %19 19: ; preds = %14, %3 %20 = load ptr, ptr %6, align 8 %21 = load ptr, ptr %4, align 8 %22 = icmp eq ptr %20, %21 br i1 %22, label %23, label %28 23: ; preds = %19 %24 = getelementptr inbounds [4 x [4 x float]], ptr %10, i64 0, i64 0 %25 = load ptr, ptr %6, align 8 %26 = call i32 @gb__memcpy_4byte(ptr noundef %24, ptr noundef %25, i32 noundef 64) %27 = getelementptr inbounds [4 x [4 x float]], ptr %10, i64 0, i64 0 store ptr %27, ptr %6, align 8 br label %28 28: ; preds = %23, %19 store i32 0, ptr %8, align 4 br label %29 29: ; preds = %100, %28 %30 = load i32, ptr %8, align 4 %31 = icmp slt i32 %30, 4 br i1 %31, label %32, label %103 32: ; preds = %29 store i32 0, ptr %7, align 4 br label %33 33: ; preds = %96, %32 %34 = load i32, ptr %7, align 4 %35 = icmp slt i32 %34, 4 br i1 %35, label %36, label %99 36: ; preds = %33 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds [4 x float], ptr %37, i64 0 %39 = load i32, ptr %7, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [4 x float], ptr %38, i64 0, i64 %40 %42 = load float, ptr %41, align 4 %43 = load ptr, ptr %6, align 8 %44 = load i32, ptr %8, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [4 x float], ptr %43, i64 %45 %47 = getelementptr inbounds [4 x float], ptr %46, i64 0, i64 0 %48 = load float, ptr %47, align 4 %49 = load ptr, ptr %5, align 8 %50 = getelementptr inbounds [4 x float], ptr %49, i64 1 %51 = load i32, ptr %7, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [4 x float], ptr %50, i64 0, i64 %52 %54 = load float, ptr %53, align 4 %55 = load ptr, ptr %6, align 8 %56 = load i32, ptr %8, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [4 x float], ptr %55, i64 %57 %59 = getelementptr inbounds [4 x float], ptr %58, i64 0, i64 1 %60 = load float, ptr %59, align 4 %61 = fmul float %54, %60 %62 = call float @llvm.fmuladd.f32(float %42, float %48, float %61) %63 = load ptr, ptr %5, align 8 %64 = getelementptr inbounds [4 x float], ptr %63, i64 2 %65 = load i32, ptr %7, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [4 x float], ptr %64, i64 0, i64 %66 %68 = load float, ptr %67, align 4 %69 = load ptr, ptr %6, align 8 %70 = load i32, ptr %8, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds [4 x float], ptr %69, i64 %71 %73 = getelementptr inbounds [4 x float], ptr %72, i64 0, i64 2 %74 = load float, ptr %73, align 4 %75 = call float @llvm.fmuladd.f32(float %68, float %74, float %62) %76 = load ptr, ptr %5, align 8 %77 = getelementptr inbounds [4 x float], ptr %76, i64 3 %78 = load i32, ptr %7, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds [4 x float], ptr %77, i64 0, i64 %79 %81 = load float, ptr %80, align 4 %82 = load ptr, ptr %6, align 8 %83 = load i32, ptr %8, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds [4 x float], ptr %82, i64 %84 %86 = getelementptr inbounds [4 x float], ptr %85, i64 0, i64 3 %87 = load float, ptr %86, align 4 %88 = call float @llvm.fmuladd.f32(float %81, float %87, float %75) %89 = load ptr, ptr %4, align 8 %90 = load i32, ptr %8, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds [4 x float], ptr %89, i64 %91 %93 = load i32, ptr %7, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds [4 x float], ptr %92, i64 0, i64 %94 store float %88, ptr %95, align 4 br label %96 96: ; preds = %36 %97 = load i32, ptr %7, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %7, align 4 br label %33, !llvm.loop !6 99: ; preds = %33 br label %100 100: ; preds = %99 %101 = load i32, ptr %8, align 4 %102 = add nsw i32 %101, 1 store i32 %102, ptr %8, align 4 br label %29, !llvm.loop !8 103: ; preds = %29 ret void } declare i32 @gb__memcpy_4byte(ptr noundef, ptr 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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1peel4k3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gb_float44_mul(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [4 x [4 x float]], align 16 %10 = alloca [4 x [4 x float]], align 16 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %11 = load ptr, ptr %5, align 8 %12 = load ptr, ptr %4, align 8 %13 = icmp eq ptr %11, %12 br i1 %13, label %14, label %19 14: ; preds = %3 %15 = getelementptr inbounds [4 x [4 x float]], ptr %9, i64 0, i64 0 %16 = load ptr, ptr %5, align 8 %17 = call i32 @gb__memcpy_4byte(ptr noundef %15, ptr noundef %16, i32 noundef 64) %18 = getelementptr inbounds [4 x [4 x float]], ptr %9, i64 0, i64 0 store ptr %18, ptr %5, align 8 br label %19 19: ; preds = %14, %3 %20 = load ptr, ptr %6, align 8 %21 = load ptr, ptr %4, align 8 %22 = icmp eq ptr %20, %21 br i1 %22, label %23, label %28 23: ; preds = %19 %24 = getelementptr inbounds [4 x [4 x float]], ptr %10, i64 0, i64 0 %25 = load ptr, ptr %6, align 8 %26 = call i32 @gb__memcpy_4byte(ptr noundef %24, ptr noundef %25, i32 noundef 64) %27 = getelementptr inbounds [4 x [4 x float]], ptr %10, i64 0, i64 0 store ptr %27, ptr %6, align 8 br label %28 28: ; preds = %23, %19 store i32 0, ptr %8, align 4 %29 = load i32, ptr %8, align 4 %30 = icmp slt i32 %29, 4 br i1 %30, label %.lr.ph2, label %105 .lr.ph2: ; preds = %28 br label %31 31: ; preds = %.lr.ph2, %100 store i32 0, ptr %7, align 4 %32 = load i32, ptr %7, align 4 %33 = icmp slt i32 %32, 4 br i1 %33, label %.lr.ph, label %99 .lr.ph: ; preds = %31 br label %34 34: ; preds = %.lr.ph, %94 %35 = load ptr, ptr %5, align 8 %36 = getelementptr inbounds [4 x float], ptr %35, i64 0 %37 = load i32, ptr %7, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [4 x float], ptr %36, i64 0, i64 %38 %40 = load float, ptr %39, align 4 %41 = load ptr, ptr %6, align 8 %42 = load i32, ptr %8, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds [4 x float], ptr %41, i64 %43 %45 = getelementptr inbounds [4 x float], ptr %44, i64 0, i64 0 %46 = load float, ptr %45, align 4 %47 = load ptr, ptr %5, align 8 %48 = getelementptr inbounds [4 x float], ptr %47, i64 1 %49 = load i32, ptr %7, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [4 x float], ptr %48, i64 0, i64 %50 %52 = load float, ptr %51, align 4 %53 = load ptr, ptr %6, align 8 %54 = load i32, ptr %8, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds [4 x float], ptr %53, i64 %55 %57 = getelementptr inbounds [4 x float], ptr %56, i64 0, i64 1 %58 = load float, ptr %57, align 4 %59 = fmul float %52, %58 %60 = call float @llvm.fmuladd.f32(float %40, float %46, float %59) %61 = load ptr, ptr %5, align 8 %62 = getelementptr inbounds [4 x float], ptr %61, i64 2 %63 = load i32, ptr %7, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds [4 x float], ptr %62, i64 0, i64 %64 %66 = load float, ptr %65, align 4 %67 = load ptr, ptr %6, align 8 %68 = load i32, ptr %8, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds [4 x float], ptr %67, i64 %69 %71 = getelementptr inbounds [4 x float], ptr %70, i64 0, i64 2 %72 = load float, ptr %71, align 4 %73 = call float @llvm.fmuladd.f32(float %66, float %72, float %60) %74 = load ptr, ptr %5, align 8 %75 = getelementptr inbounds [4 x float], ptr %74, i64 3 %76 = load i32, ptr %7, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds [4 x float], ptr %75, i64 0, i64 %77 %79 = load float, ptr %78, align 4 %80 = load ptr, ptr %6, align 8 %81 = load i32, ptr %8, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds [4 x float], ptr %80, i64 %82 %84 = getelementptr inbounds [4 x float], ptr %83, i64 0, i64 3 %85 = load float, ptr %84, align 4 %86 = call float @llvm.fmuladd.f32(float %79, float %85, float %73) %87 = load ptr, ptr %4, align 8 %88 = load i32, ptr %8, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds [4 x float], ptr %87, i64 %89 %91 = load i32, ptr %7, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds [4 x float], ptr %90, i64 0, i64 %92 store float %86, ptr %93, align 4 br label %94 94: ; preds = %34 %95 = load i32, ptr %7, align 4 %96 = add nsw i32 %95, 1 store i32 %96, ptr %7, align 4 %97 = load i32, ptr %7, align 4 %98 = icmp slt i32 %97, 4 br i1 %98, label %34, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %94 br label %99 99: ; preds = %._crit_edge, %31 br label %100 100: ; preds = %99 %101 = load i32, ptr %8, align 4 %102 = add nsw i32 %101, 1 store i32 %102, ptr %8, align 4 %103 = load i32, ptr %8, align 4 %104 = icmp slt i32 %103, 4 br i1 %104, label %31, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %100 br label %105 105: ; preds = %._crit_edge3, %28 ret void } declare i32 @gb__memcpy_4byte(ptr noundef, ptr 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}
; ModuleID = '/tmp/tmp2wkxj52q.c' source_filename = "/tmp/tmp2wkxj52q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdscr = dso_local global i32 0, align 4 @TRUE = dso_local global i32 0, align 4 @COLOR_RED = dso_local global i32 0, align 4 @COLOR_GREEN = dso_local global i32 0, align 4 @COLOR_YELLOW = dso_local global i32 0, align 4 @COLOR_BLUE = dso_local global i32 0, align 4 @COLOR_MAGENTA = dso_local global i32 0, align 4 @COLOR_CYAN = dso_local global i32 0, align 4 @COLOR_WHITE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @io_init() #0 { %1 = call i32 (...) @initscr() %2 = call i32 (...) @clear() %3 = call i32 (...) @noecho() %4 = call i32 (...) @cbreak() %5 = call i32 @curs_set(i32 noundef 0) %6 = load i32, ptr @stdscr, align 4 %7 = load i32, ptr @TRUE, align 4 %8 = call i32 @keypad(i32 noundef %6, i32 noundef %7) %9 = call i32 (...) @start_color() %10 = call i32 (...) @use_default_colors() %11 = load i32, ptr @COLOR_RED, align 4 %12 = call i32 @init_pair(i32 noundef 31, i32 noundef %11, i32 noundef -1) %13 = load i32, ptr @COLOR_GREEN, align 4 %14 = call i32 @init_pair(i32 noundef 32, i32 noundef %13, i32 noundef -1) %15 = load i32, ptr @COLOR_YELLOW, align 4 %16 = call i32 @init_pair(i32 noundef 33, i32 noundef %15, i32 noundef -1) %17 = load i32, ptr @COLOR_BLUE, align 4 %18 = call i32 @init_pair(i32 noundef 34, i32 noundef %17, i32 noundef -1) %19 = load i32, ptr @COLOR_MAGENTA, align 4 %20 = call i32 @init_pair(i32 noundef 35, i32 noundef %19, i32 noundef -1) %21 = load i32, ptr @COLOR_CYAN, align 4 %22 = call i32 @init_pair(i32 noundef 36, i32 noundef %21, i32 noundef -1) %23 = load i32, ptr @COLOR_WHITE, align 4 %24 = call i32 @init_pair(i32 noundef 37, i32 noundef %23, i32 noundef -1) %25 = call i64 (...) @can_change_color() %26 = icmp ne i64 %25, 0 br i1 %26, label %27, label %31 27: ; preds = %0 br i1 false, label %28, label %31 28: ; preds = %27 %29 = call i32 @init_color(i32 noundef 8, i32 noundef 38, i32 noundef 5, i32 noundef 94) %30 = call i32 @init_pair(i32 noundef 38, i32 noundef 8, i32 noundef -1) br label %36 31: ; preds = %27, %0 %32 = load i32, ptr @COLOR_YELLOW, align 4 %33 = call i32 @init_pair(i32 noundef 38, i32 noundef %32, i32 noundef -1) %34 = load i32, ptr @COLOR_MAGENTA, align 4 %35 = call i32 @init_pair(i32 noundef 33, i32 noundef %34, i32 noundef -1) br label %36 36: ; preds = %31, %28 ret void } declare i32 @initscr(...) #1 declare i32 @clear(...) #1 declare i32 @noecho(...) #1 declare i32 @cbreak(...) #1 declare i32 @curs_set(i32 noundef) #1 declare i32 @keypad(i32 noundef, i32 noundef) #1 declare i32 @start_color(...) #1 declare i32 @use_default_colors(...) #1 declare i32 @init_pair(i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @can_change_color(...) #1 declare i32 @init_color(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2wkxj52q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdscr = dso_local global i32 0, align 4 @TRUE = dso_local global i32 0, align 4 @COLOR_RED = dso_local global i32 0, align 4 @COLOR_GREEN = dso_local global i32 0, align 4 @COLOR_YELLOW = dso_local global i32 0, align 4 @COLOR_BLUE = dso_local global i32 0, align 4 @COLOR_MAGENTA = dso_local global i32 0, align 4 @COLOR_CYAN = dso_local global i32 0, align 4 @COLOR_WHITE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @io_init() #0 { %1 = call i32 (...) @initscr() %2 = call i32 (...) @clear() %3 = call i32 (...) @noecho() %4 = call i32 (...) @cbreak() %5 = call i32 @curs_set(i32 noundef 0) %6 = load i32, ptr @stdscr, align 4 %7 = load i32, ptr @TRUE, align 4 %8 = call i32 @keypad(i32 noundef %6, i32 noundef %7) %9 = call i32 (...) @start_color() %10 = call i32 (...) @use_default_colors() %11 = load i32, ptr @COLOR_RED, align 4 %12 = call i32 @init_pair(i32 noundef 31, i32 noundef %11, i32 noundef -1) %13 = load i32, ptr @COLOR_GREEN, align 4 %14 = call i32 @init_pair(i32 noundef 32, i32 noundef %13, i32 noundef -1) %15 = load i32, ptr @COLOR_YELLOW, align 4 %16 = call i32 @init_pair(i32 noundef 33, i32 noundef %15, i32 noundef -1) %17 = load i32, ptr @COLOR_BLUE, align 4 %18 = call i32 @init_pair(i32 noundef 34, i32 noundef %17, i32 noundef -1) %19 = load i32, ptr @COLOR_MAGENTA, align 4 %20 = call i32 @init_pair(i32 noundef 35, i32 noundef %19, i32 noundef -1) %21 = load i32, ptr @COLOR_CYAN, align 4 %22 = call i32 @init_pair(i32 noundef 36, i32 noundef %21, i32 noundef -1) %23 = load i32, ptr @COLOR_WHITE, align 4 %24 = call i32 @init_pair(i32 noundef 37, i32 noundef %23, i32 noundef -1) %25 = call i64 (...) @can_change_color() %26 = icmp ne i64 %25, 0 br i1 %26, label %27, label %31 27: ; preds = %0 br i1 false, label %28, label %31 28: ; preds = %27 %29 = call i32 @init_color(i32 noundef 8, i32 noundef 38, i32 noundef 5, i32 noundef 94) %30 = call i32 @init_pair(i32 noundef 38, i32 noundef 8, i32 noundef -1) br label %36 31: ; preds = %27, %0 %32 = load i32, ptr @COLOR_YELLOW, align 4 %33 = call i32 @init_pair(i32 noundef 38, i32 noundef %32, i32 noundef -1) %34 = load i32, ptr @COLOR_MAGENTA, align 4 %35 = call i32 @init_pair(i32 noundef 33, i32 noundef %34, i32 noundef -1) br label %36 36: ; preds = %31, %28 ret void } declare i32 @initscr(...) #1 declare i32 @clear(...) #1 declare i32 @noecho(...) #1 declare i32 @cbreak(...) #1 declare i32 @curs_set(i32 noundef) #1 declare i32 @keypad(i32 noundef, i32 noundef) #1 declare i32 @start_color(...) #1 declare i32 @use_default_colors(...) #1 declare i32 @init_pair(i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @can_change_color(...) #1 declare i32 @init_color(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpi1aaw3e3.c' source_filename = "/tmp/tmpi1aaw3e3.c" target datalayout = "e-m:e-p270: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/tmpi1aaw3e3.c" target datalayout = "e-m:e-p270: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/tmpbh1c8d7a.c' source_filename = "/tmp/tmpbh1c8d7a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lw_sock_send_str(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @lw_sock_send_str_ex(ptr noundef %6, ptr noundef %7) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 ret i32 %9 } declare i32 @lw_sock_send_str_ex(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/tmpbh1c8d7a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lw_sock_send_str(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @lw_sock_send_str_ex(ptr noundef %6, ptr noundef %7) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 ret i32 %9 } declare i32 @lw_sock_send_str_ex(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/tmpb89zv0o4.c' source_filename = "/tmp/tmpb89zv0o4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PathRemoveFileSpecA(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 @PathRemoveBackslashA(ptr noundef %4) %6 = load ptr, ptr %2, align 8 %7 = call ptr @PathFindFileNameA(ptr noundef %6) store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %17 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 %12 = load ptr, ptr %2, align 8 %13 = icmp ugt ptr %11, %12 br i1 %13, label %14, label %17 14: ; preds = %10 %15 = load ptr, ptr %3, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 -1 store i8 0, ptr %16, align 1 br label %17 17: ; preds = %14, %10, %1 ret void } declare i32 @PathRemoveBackslashA(ptr noundef) #1 declare ptr @PathFindFileNameA(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/tmpb89zv0o4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PathRemoveFileSpecA(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 @PathRemoveBackslashA(ptr noundef %4) %6 = load ptr, ptr %2, align 8 %7 = call ptr @PathFindFileNameA(ptr noundef %6) store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %17 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 %12 = load ptr, ptr %2, align 8 %13 = icmp ugt ptr %11, %12 br i1 %13, label %14, label %17 14: ; preds = %10 %15 = load ptr, ptr %3, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 -1 store i8 0, ptr %16, align 1 br label %17 17: ; preds = %14, %10, %1 ret void } declare i32 @PathRemoveBackslashA(ptr noundef) #1 declare ptr @PathFindFileNameA(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/tmpglv5p8nc.c' source_filename = "/tmp/tmpglv5p8nc.c" target datalayout = "e-m:e-p270: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 [17 x i8] c"H/C/S: %d/%d/%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [57 x i8] c"+------+------+------+------+------+------+-----------+\0A\00", align 1 @.str.2 = private unnamed_addr constant [57 x i8] c"| acyl | asid | lcyl | lsid | lsec | llen | count |\0A\00", align 1 @.str.3 = private unnamed_addr constant [51 x i8] c"| %3d | %3d | %3d | %3d | %3d | %3d | %9d |\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @dump_header() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = call i32 (...) @getchar() store i32 %10, ptr %2, align 4 %11 = load i32, ptr %2, align 4 %12 = load i32, ptr @EOF, align 4 %13 = icmp eq i32 %11, %12 br i1 %13, label %14, label %15 14: ; preds = %0 store i32 -1, ptr %1, align 4 br label %79 15: ; preds = %0 %16 = call i32 (...) @getchar() store i32 %16, ptr %3, align 4 %17 = load i32, ptr %3, align 4 %18 = load i32, ptr @EOF, align 4 %19 = icmp eq i32 %17, %18 br i1 %19, label %20, label %21 20: ; preds = %15 store i32 -1, ptr %1, align 4 br label %79 21: ; preds = %15 %22 = call i32 (...) @getchar() store i32 %22, ptr %4, align 4 %23 = load i32, ptr %4, align 4 %24 = load i32, ptr @EOF, align 4 %25 = icmp eq i32 %23, %24 br i1 %25, label %26, label %27 26: ; preds = %21 store i32 -1, ptr %1, align 4 br label %79 27: ; preds = %21 %28 = call i32 (...) @getchar() store i32 %28, ptr %5, align 4 %29 = load i32, ptr %5, align 4 %30 = load i32, ptr @EOF, align 4 %31 = icmp eq i32 %29, %30 br i1 %31, label %32, label %33 32: ; preds = %27 store i32 -1, ptr %1, align 4 br label %79 33: ; preds = %27 %34 = call i32 (...) @getchar() store i32 %34, ptr %6, align 4 %35 = load i32, ptr %6, align 4 %36 = load i32, ptr @EOF, align 4 %37 = icmp eq i32 %35, %36 br i1 %37, label %38, label %39 38: ; preds = %33 store i32 -1, ptr %1, align 4 br label %79 39: ; preds = %33 %40 = call i32 (...) @getchar() store i32 %40, ptr %7, align 4 %41 = load i32, ptr %7, align 4 %42 = load i32, ptr @EOF, align 4 %43 = icmp eq i32 %41, %42 br i1 %43, label %44, label %45 44: ; preds = %39 store i32 -1, ptr %1, align 4 br label %79 45: ; preds = %39 %46 = call i32 (...) @getchar() store i32 %46, ptr %8, align 4 %47 = load i32, ptr %8, align 4 %48 = load i32, ptr @EOF, align 4 %49 = icmp eq i32 %47, %48 br i1 %49, label %50, label %51 50: ; preds = %45 store i32 -1, ptr %1, align 4 br label %79 51: ; preds = %45 %52 = load i32, ptr %8, align 4 store i32 %52, ptr %9, align 4 %53 = call i32 (...) @getchar() store i32 %53, ptr %8, align 4 %54 = load i32, ptr %8, align 4 %55 = load i32, ptr @EOF, align 4 %56 = icmp eq i32 %54, %55 br i1 %56, label %57, label %58 57: ; preds = %51 store i32 -1, ptr %1, align 4 br label %79 58: ; preds = %51 %59 = load i32, ptr %8, align 4 %60 = shl i32 %59, 8 %61 = load i32, ptr %9, align 4 %62 = or i32 %61, %60 store i32 %62, ptr %9, align 4 %63 = load i32, ptr %5, align 4 %64 = load i32, ptr %4, align 4 %65 = load i32, ptr %6, align 4 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %63, i32 noundef %64, i32 noundef %65) %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %69 = load i32, ptr %2, align 4 %70 = load i32, ptr %3, align 4 %71 = load i32, ptr %4, align 4 %72 = load i32, ptr %5, align 4 %73 = load i32, ptr %6, align 4 %74 = load i32, ptr %7, align 4 %75 = load i32, ptr %9, align 4 %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %69, i32 noundef %70, i32 noundef %71, i32 noundef %72, i32 noundef %73, i32 noundef %74, i32 noundef %75) %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %78 = load i32, ptr %9, align 4 store i32 %78, ptr %1, align 4 br label %79 79: ; preds = %58, %57, %50, %44, %38, %32, %26, %20, %14 %80 = load i32, ptr %1, align 4 ret i32 %80 } declare i32 @getchar(...) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpglv5p8nc.c" target datalayout = "e-m:e-p270: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 [17 x i8] c"H/C/S: %d/%d/%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [57 x i8] c"+------+------+------+------+------+------+-----------+\0A\00", align 1 @.str.2 = private unnamed_addr constant [57 x i8] c"| acyl | asid | lcyl | lsid | lsec | llen | count |\0A\00", align 1 @.str.3 = private unnamed_addr constant [51 x i8] c"| %3d | %3d | %3d | %3d | %3d | %3d | %9d |\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @dump_header() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = call i32 (...) @getchar() store i32 %10, ptr %2, align 4 %11 = load i32, ptr %2, align 4 %12 = load i32, ptr @EOF, align 4 %13 = icmp eq i32 %11, %12 br i1 %13, label %14, label %15 14: ; preds = %0 store i32 -1, ptr %1, align 4 br label %79 15: ; preds = %0 %16 = call i32 (...) @getchar() store i32 %16, ptr %3, align 4 %17 = load i32, ptr %3, align 4 %18 = load i32, ptr @EOF, align 4 %19 = icmp eq i32 %17, %18 br i1 %19, label %20, label %21 20: ; preds = %15 store i32 -1, ptr %1, align 4 br label %79 21: ; preds = %15 %22 = call i32 (...) @getchar() store i32 %22, ptr %4, align 4 %23 = load i32, ptr %4, align 4 %24 = load i32, ptr @EOF, align 4 %25 = icmp eq i32 %23, %24 br i1 %25, label %26, label %27 26: ; preds = %21 store i32 -1, ptr %1, align 4 br label %79 27: ; preds = %21 %28 = call i32 (...) @getchar() store i32 %28, ptr %5, align 4 %29 = load i32, ptr %5, align 4 %30 = load i32, ptr @EOF, align 4 %31 = icmp eq i32 %29, %30 br i1 %31, label %32, label %33 32: ; preds = %27 store i32 -1, ptr %1, align 4 br label %79 33: ; preds = %27 %34 = call i32 (...) @getchar() store i32 %34, ptr %6, align 4 %35 = load i32, ptr %6, align 4 %36 = load i32, ptr @EOF, align 4 %37 = icmp eq i32 %35, %36 br i1 %37, label %38, label %39 38: ; preds = %33 store i32 -1, ptr %1, align 4 br label %79 39: ; preds = %33 %40 = call i32 (...) @getchar() store i32 %40, ptr %7, align 4 %41 = load i32, ptr %7, align 4 %42 = load i32, ptr @EOF, align 4 %43 = icmp eq i32 %41, %42 br i1 %43, label %44, label %45 44: ; preds = %39 store i32 -1, ptr %1, align 4 br label %79 45: ; preds = %39 %46 = call i32 (...) @getchar() store i32 %46, ptr %8, align 4 %47 = load i32, ptr %8, align 4 %48 = load i32, ptr @EOF, align 4 %49 = icmp eq i32 %47, %48 br i1 %49, label %50, label %51 50: ; preds = %45 store i32 -1, ptr %1, align 4 br label %79 51: ; preds = %45 %52 = load i32, ptr %8, align 4 store i32 %52, ptr %9, align 4 %53 = call i32 (...) @getchar() store i32 %53, ptr %8, align 4 %54 = load i32, ptr %8, align 4 %55 = load i32, ptr @EOF, align 4 %56 = icmp eq i32 %54, %55 br i1 %56, label %57, label %58 57: ; preds = %51 store i32 -1, ptr %1, align 4 br label %79 58: ; preds = %51 %59 = load i32, ptr %8, align 4 %60 = shl i32 %59, 8 %61 = load i32, ptr %9, align 4 %62 = or i32 %61, %60 store i32 %62, ptr %9, align 4 %63 = load i32, ptr %5, align 4 %64 = load i32, ptr %4, align 4 %65 = load i32, ptr %6, align 4 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %63, i32 noundef %64, i32 noundef %65) %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %69 = load i32, ptr %2, align 4 %70 = load i32, ptr %3, align 4 %71 = load i32, ptr %4, align 4 %72 = load i32, ptr %5, align 4 %73 = load i32, ptr %6, align 4 %74 = load i32, ptr %7, align 4 %75 = load i32, ptr %9, align 4 %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %69, i32 noundef %70, i32 noundef %71, i32 noundef %72, i32 noundef %73, i32 noundef %74, i32 noundef %75) %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %78 = load i32, ptr %9, align 4 store i32 %78, ptr %1, align 4 br label %79 79: ; preds = %58, %57, %50, %44, %38, %32, %26, %20, %14 %80 = load i32, ptr %1, align 4 ret i32 %80 } declare i32 @getchar(...) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmph0gvcez0.c' source_filename = "/tmp/tmph0gvcez0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_3__ = type { i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @div(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca %struct.TYPE_3__, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %5, align 4 %8 = sdiv i32 %6, %7 %9 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i32 0, i32 0 store i32 %8, ptr %9, align 4 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr %5, align 4 %12 = srem i32 %10, %11 %13 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i32 0, i32 1 store i32 %12, ptr %13, align 4 %14 = load i64, ptr %3, align 4 ret i64 %14 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph0gvcez0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_3__ = type { i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @div(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca %struct.TYPE_3__, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %5, align 4 %8 = sdiv i32 %6, %7 %9 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i32 0, i32 0 store i32 %8, ptr %9, align 4 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr %5, align 4 %12 = srem i32 %10, %11 %13 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i32 0, i32 1 store i32 %12, ptr %13, align 4 %14 = load i64, ptr %3, align 4 ret i64 %14 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphdibelww.c' source_filename = "/tmp/tmphdibelww.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @isort.ikey = internal global i32 0, align 4 @isort.i = internal global i32 0, align 4 @isort.j = internal global i32 0, align 4 @isort.m = internal global i32 0, align 4 @isort.il = internal global [10 x i32] zeroinitializer, align 16 @isort.kl = internal global i32 0, align 4 @isort.it = internal global i32 0, align 4 @isort.iu = internal global [10 x i32] zeroinitializer, align 16 @isort.ku = internal global i32 0, align 4 @.str = private unnamed_addr constant [25 x i8] c"This should never occur.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @isort(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = getelementptr inbounds i32, ptr %5, i32 -1 store ptr %6, ptr %4, align 8 store i32 1, ptr @isort.m, align 4 store i32 1, ptr @isort.i, align 4 %7 = load ptr, ptr %3, align 8 %8 = load i32, ptr %7, align 4 store i32 %8, ptr @isort.j, align 4 br label %9 9: ; preds = %152, %140, %2 %10 = load i32, ptr @isort.i, align 4 %11 = load i32, ptr @isort.j, align 4 %12 = icmp sge i32 %10, %11 br i1 %12, label %13, label %14 13: ; preds = %9 br label %146 14: ; preds = %9 %15 = load i32, ptr @isort.i, align 4 store i32 %15, ptr @isort.kl, align 4 %16 = load i32, ptr @isort.j, align 4 store i32 %16, ptr @isort.ku, align 4 %17 = load i32, ptr @isort.i, align 4 store i32 %17, ptr @isort.ikey, align 4 %18 = load i32, ptr @isort.j, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr @isort.j, align 4 br label %20 20: ; preds = %60, %38, %14 %21 = load i32, ptr @isort.i, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr @isort.i, align 4 %23 = load i32, ptr @isort.i, align 4 %24 = load i32, ptr @isort.j, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %26, label %40 26: ; preds = %20 %27 = load ptr, ptr %4, align 8 %28 = load i32, ptr @isort.ikey, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i32, ptr %27, i64 %29 %31 = load i32, ptr %30, align 4 %32 = load ptr, ptr %4, align 8 %33 = load i32, ptr @isort.i, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i32, ptr %32, i64 %34 %36 = load i32, ptr %35, align 4 %37 = icmp sgt i32 %31, %36 br i1 %37, label %38, label %39 38: ; preds = %26 br label %20 39: ; preds = %26 br label %40 40: ; preds = %39, %20 br label %41 41: ; preds = %55, %40 %42 = load i32, ptr @isort.j, align 4 %43 = add nsw i32 %42, -1 store i32 %43, ptr @isort.j, align 4 %44 = load ptr, ptr %4, align 8 %45 = load i32, ptr @isort.j, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %44, i64 %46 %48 = load i32, ptr %47, align 4 %49 = load ptr, ptr %4, align 8 %50 = load i32, ptr @isort.ikey, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i32, ptr %49, i64 %51 %53 = load i32, ptr %52, align 4 %54 = icmp sgt i32 %48, %53 br i1 %54, label %55, label %56 55: ; preds = %41 br label %41 56: ; preds = %41 %57 = load i32, ptr @isort.i, align 4 %58 = load i32, ptr @isort.j, align 4 %59 = icmp slt i32 %57, %58 br i1 %59, label %60, label %80 60: ; preds = %56 %61 = load ptr, ptr %4, align 8 %62 = load i32, ptr @isort.i, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i32, ptr %61, i64 %63 %65 = load i32, ptr %64, align 4 store i32 %65, ptr @isort.it, align 4 %66 = load ptr, ptr %4, align 8 %67 = load i32, ptr @isort.j, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i32, ptr %66, i64 %68 %70 = load i32, ptr %69, align 4 %71 = load ptr, ptr %4, align 8 %72 = load i32, ptr @isort.i, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds i32, ptr %71, i64 %73 store i32 %70, ptr %74, align 4 %75 = load i32, ptr @isort.it, align 4 %76 = load ptr, ptr %4, align 8 %77 = load i32, ptr @isort.j, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds i32, ptr %76, i64 %78 store i32 %75, ptr %79, align 4 br label %20 80: ; preds = %56 %81 = load ptr, ptr %4, align 8 %82 = load i32, ptr @isort.ikey, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds i32, ptr %81, i64 %83 %85 = load i32, ptr %84, align 4 store i32 %85, ptr @isort.it, align 4 %86 = load ptr, ptr %4, align 8 %87 = load i32, ptr @isort.j, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds i32, ptr %86, i64 %88 %90 = load i32, ptr %89, align 4 %91 = load ptr, ptr %4, align 8 %92 = load i32, ptr @isort.ikey, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds i32, ptr %91, i64 %93 store i32 %90, ptr %94, align 4 %95 = load i32, ptr @isort.it, align 4 %96 = load ptr, ptr %4, align 8 %97 = load i32, ptr @isort.j, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds i32, ptr %96, i64 %98 store i32 %95, ptr %99, align 4 %100 = load i32, ptr @isort.m, align 4 %101 = icmp slt i32 %100, 11 br i1 %101, label %102, label %143 102: ; preds = %80 %103 = load i32, ptr @isort.j, align 4 %104 = load i32, ptr @isort.kl, align 4 %105 = sub nsw i32 %103, %104 %106 = load i32, ptr @isort.ku, align 4 %107 = load i32, ptr @isort.j, align 4 %108 = sub nsw i32 %106, %107 %109 = icmp slt i32 %105, %108 br i1 %109, label %110, label %125 110: ; preds = %102 %111 = load i32, ptr @isort.j, align 4 %112 = add nsw i32 %111, 1 %113 = load i32, ptr @isort.m, align 4 %114 = sub nsw i32 %113, 1 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds [10 x i32], ptr @isort.il, i64 0, i64 %115 store i32 %112, ptr %116, align 4 %117 = load i32, ptr @isort.ku, align 4 %118 = load i32, ptr @isort.m, align 4 %119 = sub nsw i32 %118, 1 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds [10 x i32], ptr @isort.iu, i64 0, i64 %120 store i32 %117, ptr %121, align 4 %122 = load i32, ptr @isort.kl, align 4 store i32 %122, ptr @isort.i, align 4 %123 = load i32, ptr @isort.j, align 4 %124 = add nsw i32 %123, -1 store i32 %124, ptr @isort.j, align 4 br label %140 125: ; preds = %102 %126 = load i32, ptr @isort.kl, align 4 %127 = load i32, ptr @isort.m, align 4 %128 = sub nsw i32 %127, 1 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds [10 x i32], ptr @isort.il, i64 0, i64 %129 store i32 %126, ptr %130, align 4 %131 = load i32, ptr @isort.j, align 4 %132 = sub nsw i32 %131, 1 %133 = load i32, ptr @isort.m, align 4 %134 = sub nsw i32 %133, 1 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds [10 x i32], ptr @isort.iu, i64 0, i64 %135 store i32 %132, ptr %136, align 4 %137 = load i32, ptr @isort.j, align 4 %138 = add nsw i32 %137, 1 store i32 %138, ptr @isort.i, align 4 %139 = load i32, ptr @isort.ku, align 4 store i32 %139, ptr @isort.j, align 4 br label %140 140: ; preds = %125, %110 %141 = load i32, ptr @isort.m, align 4 %142 = add nsw i32 %141, 1 store i32 %142, ptr @isort.m, align 4 br label %9 143: ; preds = %80 %144 = call i32 @prterr(i32 noundef 20, ptr noundef @.str) br label %145 145: ; preds = %143 br label %146 146: ; preds = %145, %13 %147 = load i32, ptr @isort.m, align 4 %148 = add nsw i32 %147, -1 store i32 %148, ptr @isort.m, align 4 %149 = load i32, ptr @isort.m, align 4 %150 = icmp eq i32 %149, 0 br i1 %150, label %151, label %152 151: ; preds = %146 ret void 152: ; preds = %146 %153 = load i32, ptr @isort.m, align 4 %154 = sub nsw i32 %153, 1 %155 = sext i32 %154 to i64 %156 = getelementptr inbounds [10 x i32], ptr @isort.il, i64 0, i64 %155 %157 = load i32, ptr %156, align 4 store i32 %157, ptr @isort.i, align 4 %158 = load i32, ptr @isort.m, align 4 %159 = sub nsw i32 %158, 1 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds [10 x i32], ptr @isort.iu, i64 0, i64 %160 %162 = load i32, ptr %161, align 4 store i32 %162, ptr @isort.j, align 4 br label %9 } declare i32 @prterr(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/tmphdibelww.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @isort.ikey = internal global i32 0, align 4 @isort.i = internal global i32 0, align 4 @isort.j = internal global i32 0, align 4 @isort.m = internal global i32 0, align 4 @isort.il = internal global [10 x i32] zeroinitializer, align 16 @isort.kl = internal global i32 0, align 4 @isort.it = internal global i32 0, align 4 @isort.iu = internal global [10 x i32] zeroinitializer, align 16 @isort.ku = internal global i32 0, align 4 @.str = private unnamed_addr constant [25 x i8] c"This should never occur.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @isort(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = getelementptr inbounds i32, ptr %5, i32 -1 store ptr %6, ptr %4, align 8 store i32 1, ptr @isort.m, align 4 store i32 1, ptr @isort.i, align 4 %7 = load ptr, ptr %3, align 8 %8 = load i32, ptr %7, align 4 store i32 %8, ptr @isort.j, align 4 br label %9 9: ; preds = %.backedge1, %2 %10 = load i32, ptr @isort.i, align 4 %11 = load i32, ptr @isort.j, align 4 %12 = icmp sge i32 %10, %11 br i1 %12, label %13, label %14 13: ; preds = %9 br label %145 14: ; preds = %9 %15 = load i32, ptr @isort.i, align 4 store i32 %15, ptr @isort.kl, align 4 %16 = load i32, ptr @isort.j, align 4 store i32 %16, ptr @isort.ku, align 4 %17 = load i32, ptr @isort.i, align 4 store i32 %17, ptr @isort.ikey, align 4 %18 = load i32, ptr @isort.j, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr @isort.j, align 4 br label %20 20: ; preds = %.backedge, %14 %21 = load i32, ptr @isort.i, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr @isort.i, align 4 %23 = load i32, ptr @isort.i, align 4 %24 = load i32, ptr @isort.j, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %26, label %40 26: ; preds = %20 %27 = load ptr, ptr %4, align 8 %28 = load i32, ptr @isort.ikey, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i32, ptr %27, i64 %29 %31 = load i32, ptr %30, align 4 %32 = load ptr, ptr %4, align 8 %33 = load i32, ptr @isort.i, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i32, ptr %32, i64 %34 %36 = load i32, ptr %35, align 4 %37 = icmp sgt i32 %31, %36 br i1 %37, label %38, label %39 38: ; preds = %26 br label %.backedge .backedge: ; preds = %38, %59 br label %20 39: ; preds = %26 br label %40 40: ; preds = %39, %20 br label %41 41: ; preds = %41, %40 %42 = load i32, ptr @isort.j, align 4 %43 = add nsw i32 %42, -1 store i32 %43, ptr @isort.j, align 4 %44 = load ptr, ptr %4, align 8 %45 = load i32, ptr @isort.j, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %44, i64 %46 %48 = load i32, ptr %47, align 4 %49 = load ptr, ptr %4, align 8 %50 = load i32, ptr @isort.ikey, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i32, ptr %49, i64 %51 %53 = load i32, ptr %52, align 4 %54 = icmp sgt i32 %48, %53 br i1 %54, label %41, label %55 55: ; preds = %41 %56 = load i32, ptr @isort.i, align 4 %57 = load i32, ptr @isort.j, align 4 %58 = icmp slt i32 %56, %57 br i1 %58, label %59, label %79 59: ; preds = %55 %60 = load ptr, ptr %4, align 8 %61 = load i32, ptr @isort.i, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i32, ptr %60, i64 %62 %64 = load i32, ptr %63, align 4 store i32 %64, ptr @isort.it, align 4 %65 = load ptr, ptr %4, align 8 %66 = load i32, ptr @isort.j, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i32, ptr %65, i64 %67 %69 = load i32, ptr %68, align 4 %70 = load ptr, ptr %4, align 8 %71 = load i32, ptr @isort.i, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds i32, ptr %70, i64 %72 store i32 %69, ptr %73, align 4 %74 = load i32, ptr @isort.it, align 4 %75 = load ptr, ptr %4, align 8 %76 = load i32, ptr @isort.j, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i32, ptr %75, i64 %77 store i32 %74, ptr %78, align 4 br label %.backedge 79: ; preds = %55 %80 = load ptr, ptr %4, align 8 %81 = load i32, ptr @isort.ikey, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i32, ptr %80, i64 %82 %84 = load i32, ptr %83, align 4 store i32 %84, ptr @isort.it, align 4 %85 = load ptr, ptr %4, align 8 %86 = load i32, ptr @isort.j, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds i32, ptr %85, i64 %87 %89 = load i32, ptr %88, align 4 %90 = load ptr, ptr %4, align 8 %91 = load i32, ptr @isort.ikey, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds i32, ptr %90, i64 %92 store i32 %89, ptr %93, align 4 %94 = load i32, ptr @isort.it, align 4 %95 = load ptr, ptr %4, align 8 %96 = load i32, ptr @isort.j, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds i32, ptr %95, i64 %97 store i32 %94, ptr %98, align 4 %99 = load i32, ptr @isort.m, align 4 %100 = icmp slt i32 %99, 11 br i1 %100, label %101, label %142 101: ; preds = %79 %102 = load i32, ptr @isort.j, align 4 %103 = load i32, ptr @isort.kl, align 4 %104 = sub nsw i32 %102, %103 %105 = load i32, ptr @isort.ku, align 4 %106 = load i32, ptr @isort.j, align 4 %107 = sub nsw i32 %105, %106 %108 = icmp slt i32 %104, %107 br i1 %108, label %109, label %124 109: ; preds = %101 %110 = load i32, ptr @isort.j, align 4 %111 = add nsw i32 %110, 1 %112 = load i32, ptr @isort.m, align 4 %113 = sub nsw i32 %112, 1 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds [10 x i32], ptr @isort.il, i64 0, i64 %114 store i32 %111, ptr %115, align 4 %116 = load i32, ptr @isort.ku, align 4 %117 = load i32, ptr @isort.m, align 4 %118 = sub nsw i32 %117, 1 %119 = sext i32 %118 to i64 %120 = getelementptr inbounds [10 x i32], ptr @isort.iu, i64 0, i64 %119 store i32 %116, ptr %120, align 4 %121 = load i32, ptr @isort.kl, align 4 store i32 %121, ptr @isort.i, align 4 %122 = load i32, ptr @isort.j, align 4 %123 = add nsw i32 %122, -1 store i32 %123, ptr @isort.j, align 4 br label %139 124: ; preds = %101 %125 = load i32, ptr @isort.kl, align 4 %126 = load i32, ptr @isort.m, align 4 %127 = sub nsw i32 %126, 1 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds [10 x i32], ptr @isort.il, i64 0, i64 %128 store i32 %125, ptr %129, align 4 %130 = load i32, ptr @isort.j, align 4 %131 = sub nsw i32 %130, 1 %132 = load i32, ptr @isort.m, align 4 %133 = sub nsw i32 %132, 1 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds [10 x i32], ptr @isort.iu, i64 0, i64 %134 store i32 %131, ptr %135, align 4 %136 = load i32, ptr @isort.j, align 4 %137 = add nsw i32 %136, 1 store i32 %137, ptr @isort.i, align 4 %138 = load i32, ptr @isort.ku, align 4 store i32 %138, ptr @isort.j, align 4 br label %139 139: ; preds = %124, %109 %140 = load i32, ptr @isort.m, align 4 %141 = add nsw i32 %140, 1 store i32 %141, ptr @isort.m, align 4 br label %.backedge1 .backedge1: ; preds = %139, %151 br label %9 142: ; preds = %79 %143 = call i32 @prterr(i32 noundef 20, ptr noundef @.str) br label %144 144: ; preds = %142 br label %145 145: ; preds = %144, %13 %146 = load i32, ptr @isort.m, align 4 %147 = add nsw i32 %146, -1 store i32 %147, ptr @isort.m, align 4 %148 = load i32, ptr @isort.m, align 4 %149 = icmp eq i32 %148, 0 br i1 %149, label %150, label %151 150: ; preds = %145 ret void 151: ; preds = %145 %152 = load i32, ptr @isort.m, align 4 %153 = sub nsw i32 %152, 1 %154 = sext i32 %153 to i64 %155 = getelementptr inbounds [10 x i32], ptr @isort.il, i64 0, i64 %154 %156 = load i32, ptr %155, align 4 store i32 %156, ptr @isort.i, align 4 %157 = load i32, ptr @isort.m, align 4 %158 = sub nsw i32 %157, 1 %159 = sext i32 %158 to i64 %160 = getelementptr inbounds [10 x i32], ptr @isort.iu, i64 0, i64 %159 %161 = load i32, ptr %160, align 4 store i32 %161, ptr @isort.j, align 4 br label %.backedge1 } declare i32 @prterr(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/tmpb8_rlxy4.c' source_filename = "/tmp/tmpb8_rlxy4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"aBc\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"abcde\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @strncasecmp_diff_length_3() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 store ptr @.str, ptr %1, align 8 store ptr @.str.1, ptr %2, align 8 %3 = load ptr, ptr %1, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i64 @strncasecmp(ptr noundef %3, ptr noundef %4, i32 noundef 5) %6 = icmp slt i64 %5, 0 %7 = zext i1 %6 to i32 %8 = call i32 @clang_analyzer_eval(i32 noundef %7) ret void } declare i32 @clang_analyzer_eval(i32 noundef) #1 declare i64 @strncasecmp(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/tmpb8_rlxy4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"aBc\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"abcde\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @strncasecmp_diff_length_3() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 store ptr @.str, ptr %1, align 8 store ptr @.str.1, ptr %2, align 8 %3 = load ptr, ptr %1, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i64 @strncasecmp(ptr noundef %3, ptr noundef %4, i32 noundef 5) %6 = icmp slt i64 %5, 0 %7 = zext i1 %6 to i32 %8 = call i32 @clang_analyzer_eval(i32 noundef %7) ret void } declare i32 @clang_analyzer_eval(i32 noundef) #1 declare i64 @strncasecmp(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/tmpvaegiw1s.c' source_filename = "/tmp/tmpvaegiw1s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i32, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @do_sleep_sec(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca %struct.timespec, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0 store i32 %4, ptr %5, align 8 %6 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1 store i64 0, ptr %6, align 8 %7 = call i32 @nanosleep(ptr noundef %3, ptr noundef null) ret void } declare i32 @nanosleep(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/tmpvaegiw1s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i32, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @do_sleep_sec(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca %struct.timespec, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0 store i32 %4, ptr %5, align 8 %6 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1 store i64 0, ptr %6, align 8 %7 = call i32 @nanosleep(ptr noundef %3, ptr noundef null) ret void } declare i32 @nanosleep(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/tmpzwh8rfi6.c' source_filename = "/tmp/tmpzwh8rfi6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"number of 1 bits are %d \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 15, ptr %6, align 4 store i32 0, ptr %8, align 4 store i32 32, ptr %7, align 4 br label %9 9: ; preds = %23, %2 %10 = load i32, ptr %7, align 4 %11 = icmp sgt i32 %10, 0 br i1 %11, label %12, label %26 12: ; preds = %9 %13 = load i32, ptr %6, align 4 %14 = load i32, ptr %7, align 4 %15 = sub nsw i32 %14, 1 %16 = shl i32 1, %15 %17 = and i32 %13, %16 %18 = icmp ne i32 %17, 0 br i1 %18, label %19, label %22 19: ; preds = %12 %20 = load i32, ptr %8, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %8, align 4 br label %22 22: ; preds = %19, %12 br label %23 23: ; preds = %22 %24 = load i32, ptr %7, align 4 %25 = add nsw i32 %24, -1 store i32 %25, ptr %7, align 4 br label %9, !llvm.loop !6 26: ; preds = %9 %27 = load i32, ptr %8, align 4 %28 = call i32 @printf(ptr noundef @.str, i32 noundef %27) 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzwh8rfi6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"number of 1 bits are %d \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 15, ptr %6, align 4 store i32 0, ptr %8, align 4 store i32 32, ptr %7, align 4 %9 = load i32, ptr %7, align 4 %10 = icmp sgt i32 %9, 0 br i1 %10, label %.lr.ph, label %27 .lr.ph: ; preds = %2 br label %11 11: ; preds = %.lr.ph, %22 %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %7, align 4 %14 = sub nsw i32 %13, 1 %15 = shl i32 1, %14 %16 = and i32 %12, %15 %17 = icmp ne i32 %16, 0 br i1 %17, label %18, label %21 18: ; preds = %11 %19 = load i32, ptr %8, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %8, align 4 br label %21 21: ; preds = %18, %11 br label %22 22: ; preds = %21 %23 = load i32, ptr %7, align 4 %24 = add nsw i32 %23, -1 store i32 %24, ptr %7, align 4 %25 = load i32, ptr %7, align 4 %26 = icmp sgt i32 %25, 0 br i1 %26, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %27 27: ; preds = %._crit_edge, %2 %28 = load i32, ptr %8, align 4 %29 = call i32 @printf(ptr noundef @.str, i32 noundef %28) 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmplho9kt8c.c' source_filename = "/tmp/tmplho9kt8c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @inter_mapping_intern(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call ptr @hash_map_slot(ptr noundef %6, ptr noundef %7, ptr noundef null) store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %9, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %16, label %12 12: ; preds = %2 %13 = load ptr, ptr %4, align 8 %14 = call ptr @sym_key_value(ptr noundef %13, ptr noundef null) %15 = load ptr, ptr %5, align 8 store ptr %14, ptr %15, align 8 br label %16 16: ; preds = %12, %2 %17 = load ptr, ptr %5, align 8 %18 = load ptr, ptr %17, align 8 ret ptr %18 } declare ptr @hash_map_slot(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @sym_key_value(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/tmplho9kt8c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @inter_mapping_intern(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call ptr @hash_map_slot(ptr noundef %6, ptr noundef %7, ptr noundef null) store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %9, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %16, label %12 12: ; preds = %2 %13 = load ptr, ptr %4, align 8 %14 = call ptr @sym_key_value(ptr noundef %13, ptr noundef null) %15 = load ptr, ptr %5, align 8 store ptr %14, ptr %15, align 8 br label %16 16: ; preds = %12, %2 %17 = load ptr, ptr %5, align 8 %18 = load ptr, ptr %17, align 8 ret ptr %18 } declare ptr @hash_map_slot(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @sym_key_value(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/tmplqs3zo14.c' source_filename = "/tmp/tmplqs3zo14.c" target datalayout = "e-m:e-p270: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/tmplqs3zo14.c" target datalayout = "e-m:e-p270: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/tmpdo78g5ab.c' source_filename = "/tmp/tmpdo78g5ab.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"+\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%d+%di\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @complexNumberMultiply(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %11 = call i64 @malloc(i32 noundef 100) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %10, align 8 %13 = load ptr, ptr %3, align 8 %14 = call i32 @atoi(ptr noundef %13) store i32 %14, ptr %5, align 4 %15 = load ptr, ptr %4, align 8 %16 = call i32 @atoi(ptr noundef %15) store i32 %16, ptr %6, align 4 %17 = load ptr, ptr %3, align 8 %18 = call ptr @strpbrk(ptr noundef %17, ptr noundef @.str) %19 = getelementptr inbounds i8, ptr %18, i64 1 %20 = call i32 @atoi(ptr noundef %19) store i32 %20, ptr %7, align 4 %21 = load ptr, ptr %4, align 8 %22 = call ptr @strpbrk(ptr noundef %21, ptr noundef @.str) %23 = getelementptr inbounds i8, ptr %22, i64 1 %24 = call i32 @atoi(ptr noundef %23) store i32 %24, ptr %8, align 4 %25 = load ptr, ptr %10, align 8 %26 = load i32, ptr %5, align 4 %27 = load i32, ptr %6, align 4 %28 = mul nsw i32 %26, %27 %29 = load i32, ptr %7, align 4 %30 = load i32, ptr %8, align 4 %31 = mul nsw i32 %29, %30 %32 = sub nsw i32 %28, %31 %33 = load i32, ptr %5, align 4 %34 = load i32, ptr %8, align 4 %35 = mul nsw i32 %33, %34 %36 = load i32, ptr %6, align 4 %37 = load i32, ptr %7, align 4 %38 = mul nsw i32 %36, %37 %39 = add nsw i32 %35, %38 %40 = call i32 @sprintf(ptr noundef %25, ptr noundef @.str.1, i32 noundef %32, i32 noundef %39) %41 = load ptr, ptr %10, align 8 ret ptr %41 } declare i64 @malloc(i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 declare ptr @strpbrk(ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, 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/tmpdo78g5ab.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"+\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%d+%di\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @complexNumberMultiply(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %11 = call i64 @malloc(i32 noundef 100) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %10, align 8 %13 = load ptr, ptr %3, align 8 %14 = call i32 @atoi(ptr noundef %13) store i32 %14, ptr %5, align 4 %15 = load ptr, ptr %4, align 8 %16 = call i32 @atoi(ptr noundef %15) store i32 %16, ptr %6, align 4 %17 = load ptr, ptr %3, align 8 %18 = call ptr @strpbrk(ptr noundef %17, ptr noundef @.str) %19 = getelementptr inbounds i8, ptr %18, i64 1 %20 = call i32 @atoi(ptr noundef %19) store i32 %20, ptr %7, align 4 %21 = load ptr, ptr %4, align 8 %22 = call ptr @strpbrk(ptr noundef %21, ptr noundef @.str) %23 = getelementptr inbounds i8, ptr %22, i64 1 %24 = call i32 @atoi(ptr noundef %23) store i32 %24, ptr %8, align 4 %25 = load ptr, ptr %10, align 8 %26 = load i32, ptr %5, align 4 %27 = load i32, ptr %6, align 4 %28 = mul nsw i32 %26, %27 %29 = load i32, ptr %7, align 4 %30 = load i32, ptr %8, align 4 %31 = mul nsw i32 %29, %30 %32 = sub nsw i32 %28, %31 %33 = load i32, ptr %5, align 4 %34 = load i32, ptr %8, align 4 %35 = mul nsw i32 %33, %34 %36 = load i32, ptr %6, align 4 %37 = load i32, ptr %7, align 4 %38 = mul nsw i32 %36, %37 %39 = add nsw i32 %35, %38 %40 = call i32 @sprintf(ptr noundef %25, ptr noundef @.str.1, i32 noundef %32, i32 noundef %39) %41 = load ptr, ptr %10, align 8 ret ptr %41 } declare i64 @malloc(i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 declare ptr @strpbrk(ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, 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/tmpfatwm61r.c' source_filename = "/tmp/tmpfatwm61r.c" target datalayout = "e-m:e-p270: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/tmpfatwm61r.c" target datalayout = "e-m:e-p270: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/tmpynnvmxkn.c' source_filename = "/tmp/tmpynnvmxkn.c" target datalayout = "e-m:e-p270: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/tmpynnvmxkn.c" target datalayout = "e-m:e-p270: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/tmptorzclc3.c' source_filename = "/tmp/tmptorzclc3.c" target datalayout = "e-m:e-p270: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"PE: Memory allocation fails!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @allocate_int_RT(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 ptr, align 8 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %8 = load i32, ptr %3, align 4 %9 = call ptr @allocate_int_2D_AP(i32 noundef %8) store ptr %9, ptr %7, align 8 %10 = load ptr, ptr %7, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %16 12: ; preds = %2 %13 = load i32, ptr @stderr, align 4 %14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str) %15 = call i32 @exit(i32 noundef 1) #3 unreachable 16: ; preds = %2 store i32 0, ptr %5, align 4 br label %17 17: ; preds = %56, %16 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %3, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %21, label %59 21: ; preds = %17 %22 = load i32, ptr %4, align 4 %23 = call ptr @allocate_int_1D(i32 noundef %22) %24 = load ptr, ptr %7, align 8 %25 = load i32, ptr %5, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %24, i64 %26 store ptr %23, ptr %27, align 8 %28 = load ptr, ptr %7, align 8 %29 = load i32, ptr %5, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds ptr, ptr %28, i64 %30 %32 = load ptr, ptr %31, align 8 %33 = icmp eq ptr %32, null br i1 %33, label %34, label %38 34: ; preds = %21 %35 = load i32, ptr @stderr, align 4 %36 = call i32 @fprintf(i32 noundef %35, ptr noundef @.str) %37 = call i32 @exit(i32 noundef 1) #3 unreachable 38: ; preds = %21 store i32 0, ptr %6, align 4 br label %39 39: ; preds = %52, %38 %40 = load i32, ptr %6, align 4 %41 = load i32, ptr %4, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %43, label %55 43: ; preds = %39 %44 = load ptr, ptr %7, align 8 %45 = load i32, ptr %5, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds ptr, ptr %44, i64 %46 %48 = load ptr, ptr %47, align 8 %49 = load i32, ptr %6, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i32, ptr %48, i64 %50 store i32 0, ptr %51, align 4 br label %52 52: ; preds = %43 %53 = load i32, ptr %6, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %6, align 4 br label %39, !llvm.loop !6 55: ; preds = %39 br label %56 56: ; preds = %55 %57 = load i32, ptr %5, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %5, align 4 br label %17, !llvm.loop !8 59: ; preds = %17 %60 = load ptr, ptr %7, align 8 ret ptr %60 } declare ptr @allocate_int_2D_AP(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @allocate_int_1D(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptorzclc3.c" target datalayout = "e-m:e-p270: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"PE: Memory allocation fails!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @allocate_int_RT(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 ptr, align 8 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %8 = load i32, ptr %3, align 4 %9 = call ptr @allocate_int_2D_AP(i32 noundef %8) store ptr %9, ptr %7, align 8 %10 = load ptr, ptr %7, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %16 12: ; preds = %2 %13 = load i32, ptr @stderr, align 4 %14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str) %15 = call i32 @exit(i32 noundef 1) #3 unreachable 16: ; preds = %2 store i32 0, ptr %5, align 4 %17 = load i32, ptr %5, align 4 %18 = load i32, ptr %3, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %.lr.ph2, label %63 .lr.ph2: ; preds = %16 br label %20 20: ; preds = %.lr.ph2, %57 %21 = load i32, ptr %4, align 4 %22 = call ptr @allocate_int_1D(i32 noundef %21) %23 = load ptr, ptr %7, align 8 %24 = load i32, ptr %5, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %23, i64 %25 store ptr %22, ptr %26, align 8 %27 = load ptr, ptr %7, align 8 %28 = load i32, ptr %5, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds ptr, ptr %27, i64 %29 %31 = load ptr, ptr %30, align 8 %32 = icmp eq ptr %31, null br i1 %32, label %33, label %37 33: ; preds = %20 %34 = load i32, ptr @stderr, align 4 %35 = call i32 @fprintf(i32 noundef %34, ptr noundef @.str) %36 = call i32 @exit(i32 noundef 1) #3 unreachable 37: ; preds = %20 store i32 0, ptr %6, align 4 %38 = load i32, ptr %6, align 4 %39 = load i32, ptr %4, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %.lr.ph, label %56 .lr.ph: ; preds = %37 br label %41 41: ; preds = %.lr.ph, %50 %42 = load ptr, ptr %7, align 8 %43 = load i32, ptr %5, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds ptr, ptr %42, i64 %44 %46 = load ptr, ptr %45, align 8 %47 = load i32, ptr %6, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %46, i64 %48 store i32 0, ptr %49, align 4 br label %50 50: ; preds = %41 %51 = load i32, ptr %6, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %6, align 4 %53 = load i32, ptr %6, align 4 %54 = load i32, ptr %4, align 4 %55 = icmp slt i32 %53, %54 br i1 %55, label %41, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %50 br label %56 56: ; preds = %._crit_edge, %37 br label %57 57: ; preds = %56 %58 = load i32, ptr %5, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %5, align 4 %60 = load i32, ptr %5, align 4 %61 = load i32, ptr %3, align 4 %62 = icmp slt i32 %60, %61 br i1 %62, label %20, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %57 br label %63 63: ; preds = %._crit_edge3, %16 %64 = load ptr, ptr %7, align 8 ret ptr %64 } declare ptr @allocate_int_2D_AP(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @allocate_int_1D(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp7f1nflbg.c' source_filename = "/tmp/tmp7f1nflbg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stl_norm(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = load i32, ptr %3, align 4 %7 = icmp ne i32 %6, 0 br i1 %7, label %9, label %8 8: ; preds = %2 br label %33 9: ; preds = %2 store i32 0, ptr %5, align 4 br label %10 10: ; preds = %29, %9 %11 = load i32, ptr %5, align 4 %12 = load i32, ptr %3, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %32 14: ; preds = %10 %15 = load ptr, ptr %4, align 8 %16 = load i32, ptr %5, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds ptr, ptr %15, i64 %17 %19 = load ptr, ptr %18, align 8 %20 = call i32 @read_file(ptr noundef %19) %21 = call i32 (...) @scale_file() %22 = load ptr, ptr %4, align 8 %23 = load i32, ptr %5, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds ptr, ptr %22, i64 %24 %26 = load ptr, ptr %25, align 8 %27 = call i32 @write_file(ptr noundef %26) %28 = call i32 (...) @free_file() br label %29 29: ; preds = %14 %30 = load i32, ptr %5, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %5, align 4 br label %10, !llvm.loop !6 32: ; preds = %10 br label %33 33: ; preds = %32, %8 ret void } declare i32 @read_file(ptr noundef) #1 declare i32 @scale_file(...) #1 declare i32 @write_file(ptr noundef) #1 declare i32 @free_file(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp7f1nflbg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stl_norm(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = load i32, ptr %3, align 4 %7 = icmp ne i32 %6, 0 br i1 %7, label %9, label %8 8: ; preds = %2 br label %35 9: ; preds = %2 store i32 0, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %3, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %.lr.ph, label %34 .lr.ph: ; preds = %9 br label %13 13: ; preds = %.lr.ph, %28 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr %5, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds ptr, ptr %14, i64 %16 %18 = load ptr, ptr %17, align 8 %19 = call i32 @read_file(ptr noundef %18) %20 = call i32 (...) @scale_file() %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %5, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds ptr, ptr %21, i64 %23 %25 = load ptr, ptr %24, align 8 %26 = call i32 @write_file(ptr noundef %25) %27 = call i32 (...) @free_file() br label %28 28: ; preds = %13 %29 = load i32, ptr %5, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %5, align 4 %31 = load i32, ptr %5, align 4 %32 = load i32, ptr %3, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %34 34: ; preds = %._crit_edge, %9 br label %35 35: ; preds = %34, %8 ret void } declare i32 @read_file(ptr noundef) #1 declare i32 @scale_file(...) #1 declare i32 @write_file(ptr noundef) #1 declare i32 @free_file(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp1bapg1wk.c' source_filename = "/tmp/tmp1bapg1wk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @exist_file(ptr noundef %0, float noundef %1, float noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca float, align 4 store ptr %0, ptr %5, align 8 store float %1, ptr %6, align 4 store float %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 store float 0.000000e+00, ptr %11, align 4 %12 = call i32 @pow(i32 noundef 10, i32 noundef 3) store i32 %12, ptr %10, align 4 store i32 0, ptr %9, align 4 br label %13 13: ; preds = %59, %4 %14 = load i32, ptr %9, align 4 %15 = load i32, ptr %8, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %17, label %62 17: ; preds = %13 %18 = load i32, ptr %10, align 4 %19 = sitofp i32 %18 to float %20 = load float, ptr %6, align 4 %21 = fmul float %19, %20 %22 = fptosi float %21 to i64 %23 = load i32, ptr %10, align 4 %24 = sitofp i32 %23 to float %25 = load ptr, ptr %5, align 8 %26 = load i32, ptr %9, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [3 x float], ptr %25, i64 %27 %29 = getelementptr inbounds [3 x float], ptr %28, i64 0, i64 0 %30 = load float, ptr %29, align 4 %31 = fmul float %24, %30 %32 = fptosi float %31 to i64 %33 = icmp eq i64 %22, %32 br i1 %33, label %34, label %58 34: ; preds = %17 %35 = load i32, ptr %10, align 4 %36 = sitofp i32 %35 to float %37 = load float, ptr %7, align 4 %38 = fmul float %36, %37 %39 = fptosi float %38 to i64 %40 = load i32, ptr %10, align 4 %41 = sitofp i32 %40 to float %42 = load ptr, ptr %5, align 8 %43 = load i32, ptr %9, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [3 x float], ptr %42, i64 %44 %46 = getelementptr inbounds [3 x float], ptr %45, i64 0, i64 1 %47 = load float, ptr %46, align 4 %48 = fmul float %41, %47 %49 = fptosi float %48 to i64 %50 = icmp eq i64 %39, %49 br i1 %50, label %51, label %58 51: ; preds = %34 %52 = load ptr, ptr %5, align 8 %53 = load i32, ptr %9, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [3 x float], ptr %52, i64 %54 %56 = getelementptr inbounds [3 x float], ptr %55, i64 0, i64 2 %57 = load float, ptr %56, align 4 store float %57, ptr %11, align 4 br label %58 58: ; preds = %51, %34, %17 br label %59 59: ; preds = %58 %60 = load i32, ptr %9, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %9, align 4 br label %13, !llvm.loop !6 62: ; preds = %13 %63 = load float, ptr %11, align 4 ret float %63 } declare i32 @pow(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1bapg1wk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @exist_file(ptr noundef %0, float noundef %1, float noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca float, align 4 store ptr %0, ptr %5, align 8 store float %1, ptr %6, align 4 store float %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 store float 0.000000e+00, ptr %11, align 4 %12 = call i32 @pow(i32 noundef 10, i32 noundef 3) store i32 %12, ptr %10, align 4 store i32 0, ptr %9, align 4 %13 = load i32, ptr %9, align 4 %14 = load i32, ptr %8, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %.lr.ph, label %64 .lr.ph: ; preds = %4 br label %16 16: ; preds = %.lr.ph, %58 %17 = load i32, ptr %10, align 4 %18 = sitofp i32 %17 to float %19 = load float, ptr %6, align 4 %20 = fmul float %18, %19 %21 = fptosi float %20 to i64 %22 = load i32, ptr %10, align 4 %23 = sitofp i32 %22 to float %24 = load ptr, ptr %5, align 8 %25 = load i32, ptr %9, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [3 x float], ptr %24, i64 %26 %28 = getelementptr inbounds [3 x float], ptr %27, i64 0, i64 0 %29 = load float, ptr %28, align 4 %30 = fmul float %23, %29 %31 = fptosi float %30 to i64 %32 = icmp eq i64 %21, %31 br i1 %32, label %33, label %57 33: ; preds = %16 %34 = load i32, ptr %10, align 4 %35 = sitofp i32 %34 to float %36 = load float, ptr %7, align 4 %37 = fmul float %35, %36 %38 = fptosi float %37 to i64 %39 = load i32, ptr %10, align 4 %40 = sitofp i32 %39 to float %41 = load ptr, ptr %5, align 8 %42 = load i32, ptr %9, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds [3 x float], ptr %41, i64 %43 %45 = getelementptr inbounds [3 x float], ptr %44, i64 0, i64 1 %46 = load float, ptr %45, align 4 %47 = fmul float %40, %46 %48 = fptosi float %47 to i64 %49 = icmp eq i64 %38, %48 br i1 %49, label %50, label %57 50: ; preds = %33 %51 = load ptr, ptr %5, align 8 %52 = load i32, ptr %9, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [3 x float], ptr %51, i64 %53 %55 = getelementptr inbounds [3 x float], ptr %54, i64 0, i64 2 %56 = load float, ptr %55, align 4 store float %56, ptr %11, align 4 br label %57 57: ; preds = %50, %33, %16 br label %58 58: ; preds = %57 %59 = load i32, ptr %9, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %9, align 4 %61 = load i32, ptr %9, align 4 %62 = load i32, ptr %8, align 4 %63 = icmp slt i32 %61, %62 br i1 %63, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %58 br label %64 64: ; preds = %._crit_edge, %4 %65 = load float, ptr %11, align 4 ret float %65 } declare i32 @pow(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpkd_9niz0.c' source_filename = "/tmp/tmpkd_9niz0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"..\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cmd_cat(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @chdir(ptr noundef %7) %9 = icmp eq i32 %8, -1 br i1 %9, label %10, label %13 10: ; preds = %2 %11 = load ptr, ptr %4, align 8 %12 = call i32 @perror(ptr noundef %11) store i32 1, ptr %3, align 4 br label %18 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 %15 = call i32 @cat_file(i32 noundef 1, ptr noundef %14) store i32 %15, ptr %6, align 4 %16 = call i32 @chdir(ptr noundef @.str) %17 = load i32, ptr %6, align 4 store i32 %17, ptr %3, align 4 br label %18 18: ; preds = %13, %10 %19 = load i32, ptr %3, align 4 ret i32 %19 } declare i32 @chdir(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @cat_file(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/tmpkd_9niz0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"..\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cmd_cat(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @chdir(ptr noundef %7) %9 = icmp eq i32 %8, -1 br i1 %9, label %10, label %13 10: ; preds = %2 %11 = load ptr, ptr %4, align 8 %12 = call i32 @perror(ptr noundef %11) store i32 1, ptr %3, align 4 br label %18 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 %15 = call i32 @cat_file(i32 noundef 1, ptr noundef %14) store i32 %15, ptr %6, align 4 %16 = call i32 @chdir(ptr noundef @.str) %17 = load i32, ptr %6, align 4 store i32 %17, ptr %3, align 4 br label %18 18: ; preds = %13, %10 %19 = load i32, ptr %3, align 4 ret i32 %19 } declare i32 @chdir(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @cat_file(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/tmpa969c_1k.c' source_filename = "/tmp/tmpa969c_1k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_mtime() #0 { %1 = call i32 (...) @get_ntime() %2 = sdiv i32 %1, 1000000 %3 = sext i32 %2 to i64 ret i64 %3 } declare i32 @get_ntime(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa969c_1k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_mtime() #0 { %1 = call i32 (...) @get_ntime() %2 = sdiv i32 %1, 1000000 %3 = sext i32 %2 to i64 ret i64 %3 } declare i32 @get_ntime(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0v7oycgi.c' source_filename = "/tmp/tmp0v7oycgi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.rusage = type { i32, i32, %struct.TYPE_4__, %struct.TYPE_3__ } %struct.TYPE_4__ = type { i32, i32 } %struct.TYPE_3__ = type { i32, i32 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"%s %8d.%06d %8d.%06d %8d %8d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @show_rusage(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 i32, ptr @stderr, align 4 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = getelementptr inbounds %struct.rusage, ptr %7, i32 0, i32 3 %9 = getelementptr inbounds %struct.TYPE_3__, ptr %8, i32 0, i32 0 %10 = load i32, ptr %9, align 4 %11 = load ptr, ptr %4, align 8 %12 = getelementptr inbounds %struct.rusage, ptr %11, i32 0, i32 3 %13 = getelementptr inbounds %struct.TYPE_3__, ptr %12, i32 0, i32 1 %14 = load i32, ptr %13, align 4 %15 = load ptr, ptr %4, align 8 %16 = getelementptr inbounds %struct.rusage, ptr %15, i32 0, i32 2 %17 = getelementptr inbounds %struct.TYPE_4__, ptr %16, i32 0, i32 0 %18 = load i32, ptr %17, align 4 %19 = load ptr, ptr %4, align 8 %20 = getelementptr inbounds %struct.rusage, ptr %19, i32 0, i32 2 %21 = getelementptr inbounds %struct.TYPE_4__, ptr %20, i32 0, i32 1 %22 = load i32, ptr %21, align 4 %23 = load ptr, ptr %4, align 8 %24 = getelementptr inbounds %struct.rusage, ptr %23, i32 0, i32 0 %25 = load i32, ptr %24, align 4 %26 = load ptr, ptr %4, align 8 %27 = getelementptr inbounds %struct.rusage, ptr %26, i32 0, i32 1 %28 = load i32, ptr %27, align 4 %29 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, ptr noundef %6, i32 noundef %10, i32 noundef %14, i32 noundef %18, i32 noundef %22, i32 noundef %25, i32 noundef %28) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0v7oycgi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.rusage = type { i32, i32, %struct.TYPE_4__, %struct.TYPE_3__ } %struct.TYPE_4__ = type { i32, i32 } %struct.TYPE_3__ = type { i32, i32 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"%s %8d.%06d %8d.%06d %8d %8d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @show_rusage(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 i32, ptr @stderr, align 4 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = getelementptr inbounds %struct.rusage, ptr %7, i32 0, i32 3 %9 = getelementptr inbounds %struct.TYPE_3__, ptr %8, i32 0, i32 0 %10 = load i32, ptr %9, align 4 %11 = load ptr, ptr %4, align 8 %12 = getelementptr inbounds %struct.rusage, ptr %11, i32 0, i32 3 %13 = getelementptr inbounds %struct.TYPE_3__, ptr %12, i32 0, i32 1 %14 = load i32, ptr %13, align 4 %15 = load ptr, ptr %4, align 8 %16 = getelementptr inbounds %struct.rusage, ptr %15, i32 0, i32 2 %17 = getelementptr inbounds %struct.TYPE_4__, ptr %16, i32 0, i32 0 %18 = load i32, ptr %17, align 4 %19 = load ptr, ptr %4, align 8 %20 = getelementptr inbounds %struct.rusage, ptr %19, i32 0, i32 2 %21 = getelementptr inbounds %struct.TYPE_4__, ptr %20, i32 0, i32 1 %22 = load i32, ptr %21, align 4 %23 = load ptr, ptr %4, align 8 %24 = getelementptr inbounds %struct.rusage, ptr %23, i32 0, i32 0 %25 = load i32, ptr %24, align 4 %26 = load ptr, ptr %4, align 8 %27 = getelementptr inbounds %struct.rusage, ptr %26, i32 0, i32 1 %28 = load i32, ptr %27, align 4 %29 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, ptr noundef %6, i32 noundef %10, i32 noundef %14, i32 noundef %18, i32 noundef %22, i32 noundef %25, i32 noundef %28) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkqopmtbb.c' source_filename = "/tmp/tmpkqopmtbb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"Error allocating memory.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @init_param_array_copy(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = sext i32 %7 to i64 %9 = mul i64 %8, 4 %10 = trunc i64 %9 to i32 %11 = call ptr @malloc(i32 noundef %10) store ptr %11, ptr %6, align 8 %12 = load ptr, ptr %6, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %16 14: ; preds = %2 %15 = call i32 @printf(ptr noundef @.str) store ptr null, ptr %3, align 8 br label %22 16: ; preds = %2 %17 = load ptr, ptr %6, align 8 %18 = load ptr, ptr %4, align 8 %19 = load i32, ptr %5, align 4 %20 = call i32 @set_param_array_copy(ptr noundef %17, ptr noundef %18, i32 noundef %19) %21 = load ptr, ptr %6, align 8 store ptr %21, ptr %3, align 8 br label %22 22: ; preds = %16, %14 %23 = load ptr, ptr %3, align 8 ret ptr %23 } declare ptr @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @set_param_array_copy(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/tmpkqopmtbb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"Error allocating memory.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @init_param_array_copy(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = sext i32 %7 to i64 %9 = mul i64 %8, 4 %10 = trunc i64 %9 to i32 %11 = call ptr @malloc(i32 noundef %10) store ptr %11, ptr %6, align 8 %12 = load ptr, ptr %6, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %16 14: ; preds = %2 %15 = call i32 @printf(ptr noundef @.str) store ptr null, ptr %3, align 8 br label %22 16: ; preds = %2 %17 = load ptr, ptr %6, align 8 %18 = load ptr, ptr %4, align 8 %19 = load i32, ptr %5, align 4 %20 = call i32 @set_param_array_copy(ptr noundef %17, ptr noundef %18, i32 noundef %19) %21 = load ptr, ptr %6, align 8 store ptr %21, ptr %3, align 8 br label %22 22: ; preds = %16, %14 %23 = load ptr, ptr %3, align 8 ret ptr %23 } declare ptr @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @set_param_array_copy(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/tmpbqjlbb3w.c' source_filename = "/tmp/tmpbqjlbb3w.c" target datalayout = "e-m:e-p270: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/tmpbqjlbb3w.c" target datalayout = "e-m:e-p270: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/tmpdyzmcbjc.c' source_filename = "/tmp/tmpdyzmcbjc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"call cangu\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"jp nz, \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @CR_CanGoUp() #0 { %1 = call i32 @WriteInstruction(ptr noundef @.str) %2 = call i32 @WriteInstruction(ptr noundef @.str.1) %3 = call i32 (...) @CompileCondition() %4 = call i32 (...) @ResetIf() ret void } declare i32 @WriteInstruction(ptr noundef) #1 declare i32 @CompileCondition(...) #1 declare i32 @ResetIf(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdyzmcbjc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"call cangu\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"jp nz, \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @CR_CanGoUp() #0 { %1 = call i32 @WriteInstruction(ptr noundef @.str) %2 = call i32 @WriteInstruction(ptr noundef @.str.1) %3 = call i32 (...) @CompileCondition() %4 = call i32 (...) @ResetIf() ret void } declare i32 @WriteInstruction(ptr noundef) #1 declare i32 @CompileCondition(...) #1 declare i32 @ResetIf(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpskakdwb9.c' source_filename = "/tmp/tmpskakdwb9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"/var/lock/nh-lock\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @LOCK_SH = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [14 x i8] c"/etc/nh-login\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"a+\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"%s,%s\0A\00", align 1 @LOCK_UN = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @add_user(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %7, ptr %6, align 8 %8 = load ptr, ptr %6, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %12, label %10 10: ; preds = %2 %11 = call i32 @exit(i32 noundef 101) #3 unreachable 12: ; preds = %2 %13 = load ptr, ptr %6, align 8 %14 = call i32 @fileno(ptr noundef %13) %15 = load i32, ptr @LOCK_SH, align 4 %16 = call i64 @flock(i32 noundef %14, i32 noundef %15) %17 = icmp ne i64 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %12 %19 = call i32 @exit(i32 noundef 102) #3 unreachable 20: ; preds = %12 %21 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3) store ptr %21, ptr %5, align 8 %22 = icmp eq ptr %21, null br i1 %22, label %23, label %25 23: ; preds = %20 %24 = call i32 @exit(i32 noundef 103) #3 unreachable 25: ; preds = %20 %26 = load ptr, ptr %5, align 8 %27 = load ptr, ptr %3, align 8 %28 = load ptr, ptr %4, align 8 %29 = load ptr, ptr %4, align 8 %30 = call ptr @crypt(ptr noundef %28, ptr noundef %29) %31 = call i32 @fprintf(ptr noundef %26, ptr noundef @.str.4, ptr noundef %27, ptr noundef %30) %32 = load ptr, ptr %5, align 8 %33 = call i32 @fclose(ptr noundef %32) %34 = load ptr, ptr %6, align 8 %35 = call i32 @fileno(ptr noundef %34) %36 = load i32, ptr @LOCK_UN, align 4 %37 = call i64 @flock(i32 noundef %35, i32 noundef %36) %38 = load ptr, ptr %6, align 8 %39 = call i32 @fclose(ptr noundef %38) ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @flock(i32 noundef, i32 noundef) #1 declare i32 @fileno(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @crypt(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpskakdwb9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"/var/lock/nh-lock\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @LOCK_SH = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [14 x i8] c"/etc/nh-login\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"a+\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"%s,%s\0A\00", align 1 @LOCK_UN = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @add_user(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %7, ptr %6, align 8 %8 = load ptr, ptr %6, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %12, label %10 10: ; preds = %2 %11 = call i32 @exit(i32 noundef 101) #3 unreachable 12: ; preds = %2 %13 = load ptr, ptr %6, align 8 %14 = call i32 @fileno(ptr noundef %13) %15 = load i32, ptr @LOCK_SH, align 4 %16 = call i64 @flock(i32 noundef %14, i32 noundef %15) %17 = icmp ne i64 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %12 %19 = call i32 @exit(i32 noundef 102) #3 unreachable 20: ; preds = %12 %21 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3) store ptr %21, ptr %5, align 8 %22 = icmp eq ptr %21, null br i1 %22, label %23, label %25 23: ; preds = %20 %24 = call i32 @exit(i32 noundef 103) #3 unreachable 25: ; preds = %20 %26 = load ptr, ptr %5, align 8 %27 = load ptr, ptr %3, align 8 %28 = load ptr, ptr %4, align 8 %29 = load ptr, ptr %4, align 8 %30 = call ptr @crypt(ptr noundef %28, ptr noundef %29) %31 = call i32 @fprintf(ptr noundef %26, ptr noundef @.str.4, ptr noundef %27, ptr noundef %30) %32 = load ptr, ptr %5, align 8 %33 = call i32 @fclose(ptr noundef %32) %34 = load ptr, ptr %6, align 8 %35 = call i32 @fileno(ptr noundef %34) %36 = load i32, ptr @LOCK_UN, align 4 %37 = call i64 @flock(i32 noundef %35, i32 noundef %36) %38 = load ptr, ptr %6, align 8 %39 = call i32 @fclose(ptr noundef %38) ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @flock(i32 noundef, i32 noundef) #1 declare i32 @fileno(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @crypt(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpw8a3d52c.c' source_filename = "/tmp/tmpw8a3d52c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GetEntropy(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6) #0 { %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 store i32 %0, ptr %8, align 4 store i32 %1, ptr %9, align 4 store i32 %2, ptr %10, align 4 store i32 %3, ptr %11, align 4 store i32 %4, ptr %12, align 4 store i32 %5, ptr %13, align 4 store ptr %6, ptr %14, align 8 store i32 0, ptr %15, align 4 %16 = load ptr, ptr %14, align 8 store float 0.000000e+00, ptr %16, align 4 %17 = load i32, ptr %8, align 4 %18 = load i32, ptr %9, align 4 %19 = add nsw i32 %17, %18 %20 = load i32, ptr %10, align 4 %21 = add nsw i32 %19, %20 %22 = load i32, ptr %11, align 4 %23 = add nsw i32 %21, %22 store i32 %23, ptr %15, align 4 %24 = load i32, ptr %15, align 4 %25 = load i32, ptr %13, align 4 %26 = icmp sgt i32 %24, %25 br i1 %26, label %27, label %127 27: ; preds = %7 %28 = load i32, ptr %8, align 4 %29 = icmp sgt i32 %28, 0 br i1 %29, label %30, label %45 30: ; preds = %27 %31 = load i32, ptr %8, align 4 %32 = sitofp i32 %31 to float %33 = load i32, ptr %15, align 4 %34 = sitofp i32 %33 to float %35 = fdiv float %32, %34 %36 = call float @log2(float noundef %35) %37 = load i32, ptr %8, align 4 %38 = sitofp i32 %37 to float %39 = load i32, ptr %15, align 4 %40 = sitofp i32 %39 to float %41 = fdiv float %38, %40 %42 = load ptr, ptr %14, align 8 %43 = load float, ptr %42, align 4 %44 = call float @llvm.fmuladd.f32(float %36, float %41, float %43) store float %44, ptr %42, align 4 br label %45 45: ; preds = %30, %27 %46 = load i32, ptr %9, align 4 %47 = icmp sgt i32 %46, 0 br i1 %47, label %48, label %63 48: ; preds = %45 %49 = load i32, ptr %9, align 4 %50 = sitofp i32 %49 to float %51 = load i32, ptr %15, align 4 %52 = sitofp i32 %51 to float %53 = fdiv float %50, %52 %54 = call float @log2(float noundef %53) %55 = load i32, ptr %9, align 4 %56 = sitofp i32 %55 to float %57 = load i32, ptr %15, align 4 %58 = sitofp i32 %57 to float %59 = fdiv float %56, %58 %60 = load ptr, ptr %14, align 8 %61 = load float, ptr %60, align 4 %62 = call float @llvm.fmuladd.f32(float %54, float %59, float %61) store float %62, ptr %60, align 4 br label %63 63: ; preds = %48, %45 %64 = load i32, ptr %10, align 4 %65 = icmp sgt i32 %64, 0 br i1 %65, label %66, label %81 66: ; preds = %63 %67 = load i32, ptr %10, align 4 %68 = sitofp i32 %67 to float %69 = load i32, ptr %15, align 4 %70 = sitofp i32 %69 to float %71 = fdiv float %68, %70 %72 = call float @log2(float noundef %71) %73 = load i32, ptr %10, align 4 %74 = sitofp i32 %73 to float %75 = load i32, ptr %15, align 4 %76 = sitofp i32 %75 to float %77 = fdiv float %74, %76 %78 = load ptr, ptr %14, align 8 %79 = load float, ptr %78, align 4 %80 = call float @llvm.fmuladd.f32(float %72, float %77, float %79) store float %80, ptr %78, align 4 br label %81 81: ; preds = %66, %63 %82 = load i32, ptr %11, align 4 %83 = icmp sgt i32 %82, 0 br i1 %83, label %84, label %99 84: ; preds = %81 %85 = load i32, ptr %11, align 4 %86 = sitofp i32 %85 to float %87 = load i32, ptr %15, align 4 %88 = sitofp i32 %87 to float %89 = fdiv float %86, %88 %90 = call float @log2(float noundef %89) %91 = load i32, ptr %11, align 4 %92 = sitofp i32 %91 to float %93 = load i32, ptr %15, align 4 %94 = sitofp i32 %93 to float %95 = fdiv float %92, %94 %96 = load ptr, ptr %14, align 8 %97 = load float, ptr %96, align 4 %98 = call float @llvm.fmuladd.f32(float %90, float %95, float %97) store float %98, ptr %96, align 4 br label %99 99: ; preds = %84, %81 %100 = load i32, ptr %12, align 4 %101 = icmp sgt i32 %100, 0 br i1 %101, label %102, label %117 102: ; preds = %99 %103 = load i32, ptr %12, align 4 %104 = sitofp i32 %103 to float %105 = load i32, ptr %15, align 4 %106 = sitofp i32 %105 to float %107 = fdiv float %104, %106 %108 = call float @log2(float noundef %107) %109 = load i32, ptr %12, align 4 %110 = sitofp i32 %109 to float %111 = load i32, ptr %15, align 4 %112 = sitofp i32 %111 to float %113 = fdiv float %110, %112 %114 = load ptr, ptr %14, align 8 %115 = load float, ptr %114, align 4 %116 = call float @llvm.fmuladd.f32(float %108, float %113, float %115) store float %116, ptr %114, align 4 br label %117 117: ; preds = %102, %99 %118 = load ptr, ptr %14, align 8 %119 = load float, ptr %118, align 4 %120 = fcmp une float %119, 0.000000e+00 br i1 %120, label %121, label %126 121: ; preds = %117 %122 = load ptr, ptr %14, align 8 %123 = load float, ptr %122, align 4 %124 = fsub float 0.000000e+00, %123 %125 = load ptr, ptr %14, align 8 store float %124, ptr %125, align 4 br label %126 126: ; preds = %121, %117 br label %127 127: ; preds = %126, %7 ret void } declare float @log2(float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw8a3d52c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GetEntropy(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6) #0 { %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 store i32 %0, ptr %8, align 4 store i32 %1, ptr %9, align 4 store i32 %2, ptr %10, align 4 store i32 %3, ptr %11, align 4 store i32 %4, ptr %12, align 4 store i32 %5, ptr %13, align 4 store ptr %6, ptr %14, align 8 store i32 0, ptr %15, align 4 %16 = load ptr, ptr %14, align 8 store float 0.000000e+00, ptr %16, align 4 %17 = load i32, ptr %8, align 4 %18 = load i32, ptr %9, align 4 %19 = add nsw i32 %17, %18 %20 = load i32, ptr %10, align 4 %21 = add nsw i32 %19, %20 %22 = load i32, ptr %11, align 4 %23 = add nsw i32 %21, %22 store i32 %23, ptr %15, align 4 %24 = load i32, ptr %15, align 4 %25 = load i32, ptr %13, align 4 %26 = icmp sgt i32 %24, %25 br i1 %26, label %27, label %127 27: ; preds = %7 %28 = load i32, ptr %8, align 4 %29 = icmp sgt i32 %28, 0 br i1 %29, label %30, label %45 30: ; preds = %27 %31 = load i32, ptr %8, align 4 %32 = sitofp i32 %31 to float %33 = load i32, ptr %15, align 4 %34 = sitofp i32 %33 to float %35 = fdiv float %32, %34 %36 = call float @log2(float noundef %35) %37 = load i32, ptr %8, align 4 %38 = sitofp i32 %37 to float %39 = load i32, ptr %15, align 4 %40 = sitofp i32 %39 to float %41 = fdiv float %38, %40 %42 = load ptr, ptr %14, align 8 %43 = load float, ptr %42, align 4 %44 = call float @llvm.fmuladd.f32(float %36, float %41, float %43) store float %44, ptr %42, align 4 br label %45 45: ; preds = %30, %27 %46 = load i32, ptr %9, align 4 %47 = icmp sgt i32 %46, 0 br i1 %47, label %48, label %63 48: ; preds = %45 %49 = load i32, ptr %9, align 4 %50 = sitofp i32 %49 to float %51 = load i32, ptr %15, align 4 %52 = sitofp i32 %51 to float %53 = fdiv float %50, %52 %54 = call float @log2(float noundef %53) %55 = load i32, ptr %9, align 4 %56 = sitofp i32 %55 to float %57 = load i32, ptr %15, align 4 %58 = sitofp i32 %57 to float %59 = fdiv float %56, %58 %60 = load ptr, ptr %14, align 8 %61 = load float, ptr %60, align 4 %62 = call float @llvm.fmuladd.f32(float %54, float %59, float %61) store float %62, ptr %60, align 4 br label %63 63: ; preds = %48, %45 %64 = load i32, ptr %10, align 4 %65 = icmp sgt i32 %64, 0 br i1 %65, label %66, label %81 66: ; preds = %63 %67 = load i32, ptr %10, align 4 %68 = sitofp i32 %67 to float %69 = load i32, ptr %15, align 4 %70 = sitofp i32 %69 to float %71 = fdiv float %68, %70 %72 = call float @log2(float noundef %71) %73 = load i32, ptr %10, align 4 %74 = sitofp i32 %73 to float %75 = load i32, ptr %15, align 4 %76 = sitofp i32 %75 to float %77 = fdiv float %74, %76 %78 = load ptr, ptr %14, align 8 %79 = load float, ptr %78, align 4 %80 = call float @llvm.fmuladd.f32(float %72, float %77, float %79) store float %80, ptr %78, align 4 br label %81 81: ; preds = %66, %63 %82 = load i32, ptr %11, align 4 %83 = icmp sgt i32 %82, 0 br i1 %83, label %84, label %99 84: ; preds = %81 %85 = load i32, ptr %11, align 4 %86 = sitofp i32 %85 to float %87 = load i32, ptr %15, align 4 %88 = sitofp i32 %87 to float %89 = fdiv float %86, %88 %90 = call float @log2(float noundef %89) %91 = load i32, ptr %11, align 4 %92 = sitofp i32 %91 to float %93 = load i32, ptr %15, align 4 %94 = sitofp i32 %93 to float %95 = fdiv float %92, %94 %96 = load ptr, ptr %14, align 8 %97 = load float, ptr %96, align 4 %98 = call float @llvm.fmuladd.f32(float %90, float %95, float %97) store float %98, ptr %96, align 4 br label %99 99: ; preds = %84, %81 %100 = load i32, ptr %12, align 4 %101 = icmp sgt i32 %100, 0 br i1 %101, label %102, label %117 102: ; preds = %99 %103 = load i32, ptr %12, align 4 %104 = sitofp i32 %103 to float %105 = load i32, ptr %15, align 4 %106 = sitofp i32 %105 to float %107 = fdiv float %104, %106 %108 = call float @log2(float noundef %107) %109 = load i32, ptr %12, align 4 %110 = sitofp i32 %109 to float %111 = load i32, ptr %15, align 4 %112 = sitofp i32 %111 to float %113 = fdiv float %110, %112 %114 = load ptr, ptr %14, align 8 %115 = load float, ptr %114, align 4 %116 = call float @llvm.fmuladd.f32(float %108, float %113, float %115) store float %116, ptr %114, align 4 br label %117 117: ; preds = %102, %99 %118 = load ptr, ptr %14, align 8 %119 = load float, ptr %118, align 4 %120 = fcmp une float %119, 0.000000e+00 br i1 %120, label %121, label %126 121: ; preds = %117 %122 = load ptr, ptr %14, align 8 %123 = load float, ptr %122, align 4 %124 = fsub float 0.000000e+00, %123 %125 = load ptr, ptr %14, align 8 store float %124, ptr %125, align 4 br label %126 126: ; preds = %121, %117 br label %127 127: ; preds = %126, %7 ret void } declare float @log2(float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnc_70jf4.c' source_filename = "/tmp/tmpnc_70jf4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"elapsed secs = %.f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @delay(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca double, align 8 store i32 %0, ptr %2, align 4 %6 = call i32 @time(ptr noundef %3) br label %7 7: ; preds = %14, %1 %8 = call i32 @time(ptr noundef %4) %9 = load i32, ptr %4, align 4 %10 = load i32, ptr %3, align 4 %11 = call double @difftime(i32 noundef %9, i32 noundef %10) store double %11, ptr %5, align 8 %12 = load double, ptr %5, align 8 %13 = call i32 @printf(ptr noundef @.str, double noundef %12) br label %14 14: ; preds = %7 %15 = load double, ptr %5, align 8 %16 = load i32, ptr %2, align 4 %17 = sitofp i32 %16 to double %18 = fcmp olt double %15, %17 br i1 %18, label %7, label %19, !llvm.loop !6 19: ; preds = %14 ret void } declare i32 @time(ptr noundef) #1 declare double @difftime(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnc_70jf4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"elapsed secs = %.f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @delay(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca double, align 8 store i32 %0, ptr %2, align 4 %6 = call i32 @time(ptr noundef %3) br label %7 7: ; preds = %14, %1 %8 = call i32 @time(ptr noundef %4) %9 = load i32, ptr %4, align 4 %10 = load i32, ptr %3, align 4 %11 = call double @difftime(i32 noundef %9, i32 noundef %10) store double %11, ptr %5, align 8 %12 = load double, ptr %5, align 8 %13 = call i32 @printf(ptr noundef @.str, double noundef %12) br label %14 14: ; preds = %7 %15 = load double, ptr %5, align 8 %16 = load i32, ptr %2, align 4 %17 = sitofp i32 %16 to double %18 = fcmp olt double %15, %17 br i1 %18, label %7, label %19, !llvm.loop !6 19: ; preds = %14 ret void } declare i32 @time(ptr noundef) #1 declare double @difftime(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmphhf8nf4r.c' source_filename = "/tmp/tmphhf8nf4r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"No Answer\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 ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i8, align 1 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i8, align 1 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 store i32 -1, ptr %4, align 4 %15 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) %16 = load i32, ptr %2, align 4 %17 = sext i32 %16 to i64 %18 = mul i64 1, %17 %19 = trunc i64 %18 to i32 %20 = call i64 @malloc(i32 noundef %19) %21 = inttoptr i64 %20 to ptr store ptr %21, ptr %5, align 8 %22 = load ptr, ptr %5, align 8 %23 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %22) %24 = load i32, ptr %2, align 4 %25 = zext i32 %24 to i64 %26 = call ptr @llvm.stacksave() store ptr %26, ptr %6, align 8 %27 = alloca i8, i64 %25, align 16 store i64 %25, ptr %7, align 8 store i32 0, ptr %8, align 4 br label %28 28: ; preds = %41, %0 %29 = load i32, ptr %8, align 4 %30 = load i32, ptr %2, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %32, label %44 32: ; preds = %28 %33 = load ptr, ptr %5, align 8 %34 = load i32, ptr %8, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %33, i64 %35 %37 = load i8, ptr %36, align 1 %38 = load i32, ptr %8, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %27, i64 %39 store i8 %37, ptr %40, align 1 br label %41 41: ; preds = %32 %42 = load i32, ptr %8, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %8, align 4 br label %28, !llvm.loop !6 44: ; preds = %28 %45 = load i32, ptr %2, align 4 %46 = sub nsw i32 %45, 1 store i32 %46, ptr %9, align 4 br label %47 47: ; preds = %147, %44 %48 = load i32, ptr %9, align 4 %49 = icmp sge i32 %48, 0 br i1 %49, label %50, label %150 50: ; preds = %47 %51 = load i32, ptr %9, align 4 %52 = sub nsw i32 %51, 1 store i32 %52, ptr %10, align 4 br label %53 53: ; preds = %88, %50 %54 = load i32, ptr %10, align 4 %55 = icmp sge i32 %54, 0 br i1 %55, label %56, label %91 56: ; preds = %53 %57 = load i32, ptr %9, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i8, ptr %27, i64 %58 %60 = load i8, ptr %59, align 1 %61 = sext i8 %60 to i32 %62 = load i32, ptr %10, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i8, ptr %27, i64 %63 %65 = load i8, ptr %64, align 1 %66 = sext i8 %65 to i32 %67 = icmp sgt i32 %61, %66 br i1 %67, label %68, label %87 68: ; preds = %56 %69 = load i32, ptr %10, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i8, ptr %27, i64 %70 %72 = load i8, ptr %71, align 1 store i8 %72, ptr %11, align 1 %73 = load i32, ptr %9, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds i8, ptr %27, i64 %74 %76 = load i8, ptr %75, align 1 %77 = load i32, ptr %10, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds i8, ptr %27, i64 %78 store i8 %76, ptr %79, align 1 %80 = load i8, ptr %11, align 1 %81 = load i32, ptr %9, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i8, ptr %27, i64 %82 store i8 %80, ptr %83, align 1 %84 = load i32, ptr %10, align 4 store i32 %84, ptr %4, align 4 %85 = load i32, ptr %3, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %3, align 4 br label %91 87: ; preds = %56 br label %88 88: ; preds = %87 %89 = load i32, ptr %10, align 4 %90 = add nsw i32 %89, -1 store i32 %90, ptr %10, align 4 br label %53, !llvm.loop !8 91: ; preds = %68, %53 %92 = load i32, ptr %3, align 4 %93 = icmp ne i32 %92, 0 br i1 %93, label %94, label %146 94: ; preds = %91 %95 = load i32, ptr %4, align 4 %96 = add nsw i32 %95, 1 store i32 %96, ptr %12, align 4 br label %97 97: ; preds = %141, %94 %98 = load i32, ptr %12, align 4 %99 = load i32, ptr %2, align 4 %100 = icmp slt i32 %98, %99 br i1 %100, label %101, label %144 101: ; preds = %97 %102 = load i32, ptr %12, align 4 %103 = add nsw i32 %102, 1 store i32 %103, ptr %13, align 4 br label %104 104: ; preds = %137, %101 %105 = load i32, ptr %13, align 4 %106 = load i32, ptr %2, align 4 %107 = icmp slt i32 %105, %106 br i1 %107, label %108, label %140 108: ; preds = %104 %109 = load i32, ptr %12, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds i8, ptr %27, i64 %110 %112 = load i8, ptr %111, align 1 %113 = sext i8 %112 to i32 %114 = load i32, ptr %13, align 4 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds i8, ptr %27, i64 %115 %117 = load i8, ptr %116, align 1 %118 = sext i8 %117 to i32 %119 = icmp sgt i32 %113, %118 br i1 %119, label %120, label %136 120: ; preds = %108 %121 = load i32, ptr %13, align 4 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds i8, ptr %27, i64 %122 %124 = load i8, ptr %123, align 1 store i8 %124, ptr %14, align 1 %125 = load i32, ptr %12, align 4 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds i8, ptr %27, i64 %126 %128 = load i8, ptr %127, align 1 %129 = load i32, ptr %13, align 4 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds i8, ptr %27, i64 %130 store i8 %128, ptr %131, align 1 %132 = load i8, ptr %14, align 1 %133 = load i32, ptr %12, align 4 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds i8, ptr %27, i64 %134 store i8 %132, ptr %135, align 1 br label %136 136: ; preds = %120, %108 br label %137 137: ; preds = %136 %138 = load i32, ptr %13, align 4 %139 = add nsw i32 %138, 1 store i32 %139, ptr %13, align 4 br label %104, !llvm.loop !9 140: ; preds = %104 br label %141 141: ; preds = %140 %142 = load i32, ptr %12, align 4 %143 = add nsw i32 %142, 1 store i32 %143, ptr %12, align 4 br label %97, !llvm.loop !10 144: ; preds = %97 %145 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %27) br label %150 146: ; preds = %91 br label %147 147: ; preds = %146 %148 = load i32, ptr %9, align 4 %149 = add nsw i32 %148, -1 store i32 %149, ptr %9, align 4 br label %47, !llvm.loop !11 150: ; preds = %144, %47 %151 = load i32, ptr %3, align 4 %152 = icmp eq i32 %151, 0 br i1 %152, label %153, label %155 153: ; preds = %150 %154 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %155 155: ; preds = %153, %150 store i32 0, ptr %1, align 4 %156 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %156) %157 = load i32, ptr %1, align 4 ret i32 %157 } declare i32 @scanf(ptr noundef, ...) #1 declare i64 @malloc(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphhf8nf4r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"No Answer\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 ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i8, align 1 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i8, align 1 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 store i32 -1, ptr %4, align 4 %15 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) %16 = load i32, ptr %2, align 4 %17 = sext i32 %16 to i64 %18 = mul i64 1, %17 %19 = trunc i64 %18 to i32 %20 = call i64 @malloc(i32 noundef %19) %21 = inttoptr i64 %20 to ptr store ptr %21, ptr %5, align 8 %22 = load ptr, ptr %5, align 8 %23 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %22) %24 = load i32, ptr %2, align 4 %25 = zext i32 %24 to i64 %26 = call ptr @llvm.stacksave() store ptr %26, ptr %6, align 8 %27 = alloca i8, i64 %25, align 16 store i64 %25, ptr %7, align 8 store i32 0, ptr %8, align 4 %28 = load i32, ptr %8, align 4 %29 = load i32, ptr %2, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %.lr.ph, label %46 .lr.ph: ; preds = %0 br label %31 31: ; preds = %.lr.ph, %40 %32 = load ptr, ptr %5, align 8 %33 = load i32, ptr %8, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 %36 = load i8, ptr %35, align 1 %37 = load i32, ptr %8, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %27, i64 %38 store i8 %36, ptr %39, align 1 br label %40 40: ; preds = %31 %41 = load i32, ptr %8, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %8, align 4 %43 = load i32, ptr %8, align 4 %44 = load i32, ptr %2, align 4 %45 = icmp slt i32 %43, %44 br i1 %45, label %31, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %40 br label %46 46: ; preds = %._crit_edge, %0 %47 = load i32, ptr %2, align 4 %48 = sub nsw i32 %47, 1 store i32 %48, ptr %9, align 4 %49 = load i32, ptr %9, align 4 %50 = icmp sge i32 %49, 0 br i1 %50, label %.lr.ph5, label %.loopexit1 .lr.ph5: ; preds = %46 br label %51 51: ; preds = %.lr.ph5, %153 %52 = load i32, ptr %9, align 4 %53 = sub nsw i32 %52, 1 store i32 %53, ptr %10, align 4 %54 = load i32, ptr %10, align 4 %55 = icmp sge i32 %54, 0 br i1 %55, label %.lr.ph3, label %.loopexit .lr.ph3: ; preds = %51 br label %56 56: ; preds = %.lr.ph3, %88 %57 = load i32, ptr %9, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i8, ptr %27, i64 %58 %60 = load i8, ptr %59, align 1 %61 = sext i8 %60 to i32 %62 = load i32, ptr %10, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i8, ptr %27, i64 %63 %65 = load i8, ptr %64, align 1 %66 = sext i8 %65 to i32 %67 = icmp sgt i32 %61, %66 br i1 %67, label %68, label %87 68: ; preds = %56 %69 = load i32, ptr %10, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i8, ptr %27, i64 %70 %72 = load i8, ptr %71, align 1 store i8 %72, ptr %11, align 1 %73 = load i32, ptr %9, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds i8, ptr %27, i64 %74 %76 = load i8, ptr %75, align 1 %77 = load i32, ptr %10, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds i8, ptr %27, i64 %78 store i8 %76, ptr %79, align 1 %80 = load i8, ptr %11, align 1 %81 = load i32, ptr %9, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i8, ptr %27, i64 %82 store i8 %80, ptr %83, align 1 %84 = load i32, ptr %10, align 4 store i32 %84, ptr %4, align 4 %85 = load i32, ptr %3, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %3, align 4 br label %93 87: ; preds = %56 br label %88 88: ; preds = %87 %89 = load i32, ptr %10, align 4 %90 = add nsw i32 %89, -1 store i32 %90, ptr %10, align 4 %91 = load i32, ptr %10, align 4 %92 = icmp sge i32 %91, 0 br i1 %92, label %56, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %88 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %51 br label %93 93: ; preds = %.loopexit, %68 %94 = load i32, ptr %3, align 4 %95 = icmp ne i32 %94, 0 br i1 %95, label %96, label %152 96: ; preds = %93 %97 = load i32, ptr %4, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %12, align 4 %99 = load i32, ptr %12, align 4 %100 = load i32, ptr %2, align 4 %101 = icmp slt i32 %99, %100 br i1 %101, label %.lr.ph10, label %150 .lr.ph10: ; preds = %96 br label %102 102: ; preds = %.lr.ph10, %144 %103 = load i32, ptr %12, align 4 %104 = add nsw i32 %103, 1 store i32 %104, ptr %13, align 4 %105 = load i32, ptr %13, align 4 %106 = load i32, ptr %2, align 4 %107 = icmp slt i32 %105, %106 br i1 %107, label %.lr.ph7, label %143 .lr.ph7: ; preds = %102 br label %108 108: ; preds = %.lr.ph7, %137 %109 = load i32, ptr %12, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds i8, ptr %27, i64 %110 %112 = load i8, ptr %111, align 1 %113 = sext i8 %112 to i32 %114 = load i32, ptr %13, align 4 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds i8, ptr %27, i64 %115 %117 = load i8, ptr %116, align 1 %118 = sext i8 %117 to i32 %119 = icmp sgt i32 %113, %118 br i1 %119, label %120, label %136 120: ; preds = %108 %121 = load i32, ptr %13, align 4 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds i8, ptr %27, i64 %122 %124 = load i8, ptr %123, align 1 store i8 %124, ptr %14, align 1 %125 = load i32, ptr %12, align 4 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds i8, ptr %27, i64 %126 %128 = load i8, ptr %127, align 1 %129 = load i32, ptr %13, align 4 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds i8, ptr %27, i64 %130 store i8 %128, ptr %131, align 1 %132 = load i8, ptr %14, align 1 %133 = load i32, ptr %12, align 4 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds i8, ptr %27, i64 %134 store i8 %132, ptr %135, align 1 br label %136 136: ; preds = %120, %108 br label %137 137: ; preds = %136 %138 = load i32, ptr %13, align 4 %139 = add nsw i32 %138, 1 store i32 %139, ptr %13, align 4 %140 = load i32, ptr %13, align 4 %141 = load i32, ptr %2, align 4 %142 = icmp slt i32 %140, %141 br i1 %142, label %108, label %._crit_edge8, !llvm.loop !9 ._crit_edge8: ; preds = %137 br label %143 143: ; preds = %._crit_edge8, %102 br label %144 144: ; preds = %143 %145 = load i32, ptr %12, align 4 %146 = add nsw i32 %145, 1 store i32 %146, ptr %12, align 4 %147 = load i32, ptr %12, align 4 %148 = load i32, ptr %2, align 4 %149 = icmp slt i32 %147, %148 br i1 %149, label %102, label %._crit_edge11, !llvm.loop !10 ._crit_edge11: ; preds = %144 br label %150 150: ; preds = %._crit_edge11, %96 %151 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %27) br label %158 152: ; preds = %93 br label %153 153: ; preds = %152 %154 = load i32, ptr %9, align 4 %155 = add nsw i32 %154, -1 store i32 %155, ptr %9, align 4 %156 = load i32, ptr %9, align 4 %157 = icmp sge i32 %156, 0 br i1 %157, label %51, label %..loopexit1_crit_edge, !llvm.loop !11 ..loopexit1_crit_edge: ; preds = %153 br label %.loopexit1 .loopexit1: ; preds = %..loopexit1_crit_edge, %46 br label %158 158: ; preds = %.loopexit1, %150 %159 = load i32, ptr %3, align 4 %160 = icmp eq i32 %159, 0 br i1 %160, label %161, label %163 161: ; preds = %158 %162 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %163 163: ; preds = %161, %158 store i32 0, ptr %1, align 4 %164 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %164) %165 = load i32, ptr %1, align 4 ret i32 %165 } declare i32 @scanf(ptr noundef, ...) #1 declare i64 @malloc(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpfyhwf9ep.c' source_filename = "/tmp/tmpfyhwf9ep.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @floatToQ(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = call float @pow(i32 noundef 2, i32 noundef 16) %5 = fmul float %3, %4 %6 = fptosi float %5 to i32 ret i32 %6 } declare float @pow(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/tmpfyhwf9ep.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @floatToQ(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = call float @pow(i32 noundef 2, i32 noundef 16) %5 = fmul float %3, %4 %6 = fptosi float %5 to i32 ret i32 %6 } declare float @pow(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/tmpdjyefu97.c' source_filename = "/tmp/tmpdjyefu97.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printCombination(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %9 = load i64, ptr %6, align 8 %10 = call ptr @llvm.stacksave() store ptr %10, ptr %7, align 8 %11 = alloca i64, i64 %9, align 16 store i64 %9, ptr %8, align 8 %12 = load ptr, ptr %4, align 8 %13 = load i64, ptr %5, align 8 %14 = load i64, ptr %6, align 8 %15 = call i32 @combinationUtil(ptr noundef %12, i64 noundef %13, i64 noundef %14, i32 noundef 0, ptr noundef %11, i32 noundef 0) %16 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %16) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @combinationUtil(ptr noundef, i64 noundef, i64 noundef, i32 noundef, ptr noundef, i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdjyefu97.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printCombination(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %9 = load i64, ptr %6, align 8 %10 = call ptr @llvm.stacksave() store ptr %10, ptr %7, align 8 %11 = alloca i64, i64 %9, align 16 store i64 %9, ptr %8, align 8 %12 = load ptr, ptr %4, align 8 %13 = load i64, ptr %5, align 8 %14 = load i64, ptr %6, align 8 %15 = call i32 @combinationUtil(ptr noundef %12, i64 noundef %13, i64 noundef %14, i32 noundef 0, ptr noundef %11, i32 noundef 0) %16 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %16) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @combinationUtil(ptr noundef, i64 noundef, i64 noundef, i32 noundef, ptr noundef, i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpf_2_opqa.c' source_filename = "/tmp/tmpf_2_opqa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @delField(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @memset(ptr noundef %3, i8 noundef signext 32, i32 noundef 9) ret void } declare i32 @memset(ptr noundef, i8 noundef signext, 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/tmpf_2_opqa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @delField(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @memset(ptr noundef %3, i8 noundef signext 32, i32 noundef 9) ret void } declare i32 @memset(ptr noundef, i8 noundef signext, 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/tmpeobpb330.c' source_filename = "/tmp/tmpeobpb330.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.string = private unnamed_addr constant [33 x i8] c"00001000000100000010000001000000\00", align 16 @__const.main.bytes = private unnamed_addr constant [4 x i8] c"\01\02\03\04", align 1 @.str = private unnamed_addr constant [12 x i8] c"send frame\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [33 x i8], align 16 %8 = alloca [4 x i8], align 1 %9 = 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 %10 = call ptr @rcs_tx_init(i32 noundef 0) store ptr %10, ptr %6, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.string, i64 33, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %8, ptr align 1 @__const.main.bytes, i64 4, i1 false) %11 = load ptr, ptr %6, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %14 13: ; preds = %2 store i32 0, ptr %3, align 4 br label %33 14: ; preds = %2 store i32 0, ptr %9, align 4 br label %15 15: ; preds = %18, %14 %16 = load i32, ptr %9, align 4 %17 = icmp slt i32 %16, 5 br i1 %17, label %18, label %30 18: ; preds = %15 %19 = call i32 @sleep(i32 noundef 5) %20 = call i32 @printf(ptr noundef @.str) %21 = load ptr, ptr %6, align 8 %22 = getelementptr inbounds [33 x i8], ptr %7, i64 0, i64 0 %23 = call i32 @rcs_tx_send_bstring(ptr noundef %21, ptr noundef %22) %24 = call i32 @sleep(i32 noundef 2) %25 = load ptr, ptr %6, align 8 %26 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 0 %27 = call i32 @rcs_tx_send_bytes(ptr noundef %25, ptr noundef %26, i32 noundef 4) %28 = load i32, ptr %9, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %9, align 4 br label %15, !llvm.loop !6 30: ; preds = %15 %31 = load ptr, ptr %6, align 8 %32 = call i32 @rcs_tx_destroy(ptr noundef %31) store i32 0, ptr %3, align 4 br label %33 33: ; preds = %30, %13 %34 = load i32, ptr %3, align 4 ret i32 %34 } declare ptr @rcs_tx_init(i32 noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @sleep(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @rcs_tx_send_bstring(ptr noundef, ptr noundef) #1 declare i32 @rcs_tx_send_bytes(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @rcs_tx_destroy(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpeobpb330.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.string = private unnamed_addr constant [33 x i8] c"00001000000100000010000001000000\00", align 16 @__const.main.bytes = private unnamed_addr constant [4 x i8] c"\01\02\03\04", align 1 @.str = private unnamed_addr constant [12 x i8] c"send frame\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [33 x i8], align 16 %8 = alloca [4 x i8], align 1 %9 = 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 %10 = call ptr @rcs_tx_init(i32 noundef 0) store ptr %10, ptr %6, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.string, i64 33, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %8, ptr align 1 @__const.main.bytes, i64 4, i1 false) %11 = load ptr, ptr %6, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %14 13: ; preds = %2 store i32 0, ptr %3, align 4 br label %34 14: ; preds = %2 store i32 0, ptr %9, align 4 %15 = load i32, ptr %9, align 4 %16 = icmp slt i32 %15, 5 br i1 %16, label %.lr.ph, label %31 .lr.ph: ; preds = %14 br label %17 17: ; preds = %.lr.ph, %17 %18 = call i32 @sleep(i32 noundef 5) %19 = call i32 @printf(ptr noundef @.str) %20 = load ptr, ptr %6, align 8 %21 = getelementptr inbounds [33 x i8], ptr %7, i64 0, i64 0 %22 = call i32 @rcs_tx_send_bstring(ptr noundef %20, ptr noundef %21) %23 = call i32 @sleep(i32 noundef 2) %24 = load ptr, ptr %6, align 8 %25 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 0 %26 = call i32 @rcs_tx_send_bytes(ptr noundef %24, ptr noundef %25, i32 noundef 4) %27 = load i32, ptr %9, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %9, align 4 %29 = load i32, ptr %9, align 4 %30 = icmp slt i32 %29, 5 br i1 %30, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %31 31: ; preds = %._crit_edge, %14 %32 = load ptr, ptr %6, align 8 %33 = call i32 @rcs_tx_destroy(ptr noundef %32) store i32 0, ptr %3, align 4 br label %34 34: ; preds = %31, %13 %35 = load i32, ptr %3, align 4 ret i32 %35 } declare ptr @rcs_tx_init(i32 noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @sleep(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @rcs_tx_send_bstring(ptr noundef, ptr noundef) #1 declare i32 @rcs_tx_send_bytes(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @rcs_tx_destroy(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpvy1ouklj.c' source_filename = "/tmp/tmpvy1ouklj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOENT = 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/tmpvy1ouklj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOENT = 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/tmp5d0tkbz8.c' source_filename = "/tmp/tmp5d0tkbz8.c" target datalayout = "e-m:e-p270: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/tmp5d0tkbz8.c" target datalayout = "e-m:e-p270: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/tmph6_wjr0_.c' source_filename = "/tmp/tmph6_wjr0_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ST8DD_RawLog(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 @puts(ptr noundef %3) ret void } declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph6_wjr0_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ST8DD_RawLog(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 @puts(ptr noundef %3) ret void } declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpb9vcgtau.c' source_filename = "/tmp/tmpb9vcgtau.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qword_get_uint(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca [50 x i8], align 16 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0 %12 = call i32 @qword_get(ptr noundef %10, ptr noundef %11, i32 noundef 50) store i32 %12, ptr %9, align 4 %13 = load i32, ptr %9, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %2 store i32 -1, ptr %3, align 4 br label %30 16: ; preds = %2 %17 = load i32, ptr %9, align 4 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %20 19: ; preds = %16 store i32 -1, ptr %3, align 4 br label %30 20: ; preds = %16 %21 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0 %22 = call i32 @strtoul(ptr noundef %21, ptr noundef %7, i32 noundef 0) store i32 %22, ptr %8, align 4 %23 = load ptr, ptr %7, align 8 %24 = load i8, ptr %23, align 1 %25 = icmp ne i8 %24, 0 br i1 %25, label %26, label %27 26: ; preds = %20 store i32 -1, ptr %3, align 4 br label %30 27: ; preds = %20 %28 = load i32, ptr %8, align 4 %29 = load ptr, ptr %5, align 8 store i32 %28, ptr %29, align 4 store i32 0, ptr %3, align 4 br label %30 30: ; preds = %27, %26, %19, %15 %31 = load i32, ptr %3, align 4 ret i32 %31 } declare i32 @qword_get(ptr noundef, ptr noundef, 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/tmpb9vcgtau.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qword_get_uint(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca [50 x i8], align 16 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0 %12 = call i32 @qword_get(ptr noundef %10, ptr noundef %11, i32 noundef 50) store i32 %12, ptr %9, align 4 %13 = load i32, ptr %9, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %2 store i32 -1, ptr %3, align 4 br label %30 16: ; preds = %2 %17 = load i32, ptr %9, align 4 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %20 19: ; preds = %16 store i32 -1, ptr %3, align 4 br label %30 20: ; preds = %16 %21 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0 %22 = call i32 @strtoul(ptr noundef %21, ptr noundef %7, i32 noundef 0) store i32 %22, ptr %8, align 4 %23 = load ptr, ptr %7, align 8 %24 = load i8, ptr %23, align 1 %25 = icmp ne i8 %24, 0 br i1 %25, label %26, label %27 26: ; preds = %20 store i32 -1, ptr %3, align 4 br label %30 27: ; preds = %20 %28 = load i32, ptr %8, align 4 %29 = load ptr, ptr %5, align 8 store i32 %28, ptr %29, align 4 store i32 0, ptr %3, align 4 br label %30 30: ; preds = %27, %26, %19, %15 %31 = load i32, ptr %3, align 4 ret i32 %31 } declare i32 @qword_get(ptr noundef, ptr noundef, 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/tmpnc8qcndi.c' source_filename = "/tmp/tmpnc8qcndi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"Solution: %llu.\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @paths(i32 noundef 20, i32 noundef 20) %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) %8 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %8 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @paths(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/tmpnc8qcndi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"Solution: %llu.\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @paths(i32 noundef 20, i32 noundef 20) %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) %8 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %8 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @paths(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/tmpluq9l9ys.c' source_filename = "/tmp/tmpluq9l9ys.c" target datalayout = "e-m:e-p270: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 @EX_NOINPUT = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"Cannot open file '%s'\00", align 1 @SEEK_END = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [32 x i8] c"Cannot seek to end of file '%s'\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [38 x i8] c"Cannot seek to beginning of file '%s'\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"File '%s' is too big\00", align 1 @EX_SOFTWARE = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [14 x i8] c"Out of memory\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"Cannot read all data\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @load_file(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr @O_RDONLY, align 4 %13 = call i32 @open(ptr noundef %11, i32 noundef %12) store i32 %13, ptr %10, align 4 %14 = load i32, ptr %10, align 4 %15 = icmp slt i32 %14, 0 br i1 %15, label %16, label %20 16: ; preds = %3 %17 = load i32, ptr @EX_NOINPUT, align 4 %18 = load ptr, ptr %4, align 8 %19 = call i32 (i32, ptr, ...) @err(i32 noundef %17, ptr noundef @.str, ptr noundef %18) br label %20 20: ; preds = %16, %3 %21 = load i32, ptr %10, align 4 %22 = load i32, ptr @SEEK_END, align 4 %23 = call i64 @lseek(i32 noundef %21, i32 noundef 0, i32 noundef %22) store i64 %23, ptr %9, align 8 %24 = load i64, ptr %9, align 8 %25 = icmp slt i64 %24, 0 br i1 %25, label %26, label %30 26: ; preds = %20 %27 = load i32, ptr @EX_NOINPUT, align 4 %28 = load ptr, ptr %4, align 8 %29 = call i32 (i32, ptr, ...) @err(i32 noundef %27, ptr noundef @.str.1, ptr noundef %28) br label %30 30: ; preds = %26, %20 %31 = load i32, ptr %10, align 4 %32 = load i32, ptr @SEEK_SET, align 4 %33 = call i64 @lseek(i32 noundef %31, i32 noundef 0, i32 noundef %32) %34 = icmp slt i64 %33, 0 br i1 %34, label %35, label %39 35: ; preds = %30 %36 = load i32, ptr @EX_NOINPUT, align 4 %37 = load ptr, ptr %4, align 8 %38 = call i32 (i32, ptr, ...) @err(i32 noundef %36, ptr noundef @.str.2, ptr noundef %37) br label %39 39: ; preds = %35, %30 %40 = load i64, ptr %9, align 8 store i64 %40, ptr %8, align 8 %41 = load i64, ptr %8, align 8 %42 = load i64, ptr %9, align 8 %43 = icmp ne i64 %41, %42 br i1 %43, label %44, label %48 44: ; preds = %39 %45 = load i32, ptr @EX_NOINPUT, align 4 %46 = load ptr, ptr %4, align 8 %47 = call i32 (i32, ptr, ...) @err(i32 noundef %45, ptr noundef @.str.3, ptr noundef %46) br label %48 48: ; preds = %44, %39 %49 = load i64, ptr %8, align 8 %50 = call ptr @malloc(i64 noundef %49) store ptr %50, ptr %7, align 8 %51 = load ptr, ptr %7, align 8 %52 = icmp eq ptr %51, null br i1 %52, label %53, label %56 53: ; preds = %48 %54 = load i32, ptr @EX_SOFTWARE, align 4 %55 = call i32 @errx(i32 noundef %54, ptr noundef @.str.4) br label %56 56: ; preds = %53, %48 %57 = load i32, ptr %10, align 4 %58 = load ptr, ptr %7, align 8 %59 = load i64, ptr %8, align 8 %60 = call i64 @read(i32 noundef %57, ptr noundef %58, i64 noundef %59) %61 = load i64, ptr %8, align 8 %62 = icmp ne i64 %60, %61 br i1 %62, label %63, label %66 63: ; preds = %56 %64 = load i32, ptr @EX_NOINPUT, align 4 %65 = call i32 (i32, ptr, ...) @err(i32 noundef %64, ptr noundef @.str.5) br label %66 66: ; preds = %63, %56 %67 = load i32, ptr %10, align 4 %68 = call i32 @close(i32 noundef %67) %69 = load ptr, ptr %7, align 8 %70 = load ptr, ptr %5, align 8 store ptr %69, ptr %70, align 8 %71 = load i64, ptr %8, align 8 %72 = load ptr, ptr %6, align 8 store i64 %71, ptr %72, align 8 ret void } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @err(i32 noundef, ptr noundef, ...) #1 declare i64 @lseek(i32 noundef, i32 noundef, i32 noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @errx(i32 noundef, ptr noundef) #1 declare i64 @read(i32 noundef, ptr noundef, i64 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/tmpluq9l9ys.c" target datalayout = "e-m:e-p270: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 @EX_NOINPUT = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"Cannot open file '%s'\00", align 1 @SEEK_END = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [32 x i8] c"Cannot seek to end of file '%s'\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [38 x i8] c"Cannot seek to beginning of file '%s'\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"File '%s' is too big\00", align 1 @EX_SOFTWARE = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [14 x i8] c"Out of memory\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"Cannot read all data\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @load_file(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr @O_RDONLY, align 4 %13 = call i32 @open(ptr noundef %11, i32 noundef %12) store i32 %13, ptr %10, align 4 %14 = load i32, ptr %10, align 4 %15 = icmp slt i32 %14, 0 br i1 %15, label %16, label %20 16: ; preds = %3 %17 = load i32, ptr @EX_NOINPUT, align 4 %18 = load ptr, ptr %4, align 8 %19 = call i32 (i32, ptr, ...) @err(i32 noundef %17, ptr noundef @.str, ptr noundef %18) br label %20 20: ; preds = %16, %3 %21 = load i32, ptr %10, align 4 %22 = load i32, ptr @SEEK_END, align 4 %23 = call i64 @lseek(i32 noundef %21, i32 noundef 0, i32 noundef %22) store i64 %23, ptr %9, align 8 %24 = load i64, ptr %9, align 8 %25 = icmp slt i64 %24, 0 br i1 %25, label %26, label %30 26: ; preds = %20 %27 = load i32, ptr @EX_NOINPUT, align 4 %28 = load ptr, ptr %4, align 8 %29 = call i32 (i32, ptr, ...) @err(i32 noundef %27, ptr noundef @.str.1, ptr noundef %28) br label %30 30: ; preds = %26, %20 %31 = load i32, ptr %10, align 4 %32 = load i32, ptr @SEEK_SET, align 4 %33 = call i64 @lseek(i32 noundef %31, i32 noundef 0, i32 noundef %32) %34 = icmp slt i64 %33, 0 br i1 %34, label %35, label %39 35: ; preds = %30 %36 = load i32, ptr @EX_NOINPUT, align 4 %37 = load ptr, ptr %4, align 8 %38 = call i32 (i32, ptr, ...) @err(i32 noundef %36, ptr noundef @.str.2, ptr noundef %37) br label %39 39: ; preds = %35, %30 %40 = load i64, ptr %9, align 8 store i64 %40, ptr %8, align 8 %41 = load i64, ptr %8, align 8 %42 = load i64, ptr %9, align 8 %43 = icmp ne i64 %41, %42 br i1 %43, label %44, label %48 44: ; preds = %39 %45 = load i32, ptr @EX_NOINPUT, align 4 %46 = load ptr, ptr %4, align 8 %47 = call i32 (i32, ptr, ...) @err(i32 noundef %45, ptr noundef @.str.3, ptr noundef %46) br label %48 48: ; preds = %44, %39 %49 = load i64, ptr %8, align 8 %50 = call ptr @malloc(i64 noundef %49) store ptr %50, ptr %7, align 8 %51 = load ptr, ptr %7, align 8 %52 = icmp eq ptr %51, null br i1 %52, label %53, label %56 53: ; preds = %48 %54 = load i32, ptr @EX_SOFTWARE, align 4 %55 = call i32 @errx(i32 noundef %54, ptr noundef @.str.4) br label %56 56: ; preds = %53, %48 %57 = load i32, ptr %10, align 4 %58 = load ptr, ptr %7, align 8 %59 = load i64, ptr %8, align 8 %60 = call i64 @read(i32 noundef %57, ptr noundef %58, i64 noundef %59) %61 = load i64, ptr %8, align 8 %62 = icmp ne i64 %60, %61 br i1 %62, label %63, label %66 63: ; preds = %56 %64 = load i32, ptr @EX_NOINPUT, align 4 %65 = call i32 (i32, ptr, ...) @err(i32 noundef %64, ptr noundef @.str.5) br label %66 66: ; preds = %63, %56 %67 = load i32, ptr %10, align 4 %68 = call i32 @close(i32 noundef %67) %69 = load ptr, ptr %7, align 8 %70 = load ptr, ptr %5, align 8 store ptr %69, ptr %70, align 8 %71 = load i64, ptr %8, align 8 %72 = load ptr, ptr %6, align 8 store i64 %71, ptr %72, align 8 ret void } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @err(i32 noundef, ptr noundef, ...) #1 declare i64 @lseek(i32 noundef, i32 noundef, i32 noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @errx(i32 noundef, ptr noundef) #1 declare i64 @read(i32 noundef, ptr noundef, i64 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/tmpnrx9pwvr.c' source_filename = "/tmp/tmpnrx9pwvr.c" target datalayout = "e-m:e-p270: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/tmpnrx9pwvr.c" target datalayout = "e-m:e-p270: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/tmpjbym0qzq.c' source_filename = "/tmp/tmpjbym0qzq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"\1B[H\1B[2J\00", align 1 @.str.1 = private unnamed_addr constant [54 x i8] c"=====================================================\00", align 1 @.str.2 = private unnamed_addr constant [54 x i8] c"| VECTORISATION D'IMAGE |\00", align 1 @.str.3 = private unnamed_addr constant [54 x i8] c"| Projet Algorithmique et Programmation |\00", align 1 @.str.4 = private unnamed_addr constant [54 x i8] c"| HOAREAU Jordan VIAUD Thomas |\00", align 1 @.str.5 = private unnamed_addr constant [54 x i8] c"| IRM 3A 2014/2015 |\00", align 1 @.str.6 = private unnamed_addr constant [54 x i8] c"======================= Menu ========================\00", align 1 @.str.7 = private unnamed_addr constant [54 x i8] c"| |\00", align 1 @.str.8 = private unnamed_addr constant [54 x i8] c"| 1- Choix de l'image |\00", align 1 @.str.9 = private unnamed_addr constant [55 x i8] c"| 2- Exemple : Carr\C3\A9 |\00", align 1 @.str.10 = private unnamed_addr constant [54 x i8] c"| 3- Exemple : Bifurcation |\00", align 1 @.str.11 = private unnamed_addr constant [54 x i8] c"| 4- Exemple : Face |\00", align 1 @.str.12 = private unnamed_addr constant [54 x i8] c"| 5- Exemple : Coin |\00", align 1 @.str.13 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @displayMenu() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @puts(ptr noundef @.str) %3 = call i32 @puts(ptr noundef @.str.1) %4 = call i32 @puts(ptr noundef @.str.2) %5 = call i32 @puts(ptr noundef @.str.3) %6 = call i32 @puts(ptr noundef @.str.4) %7 = call i32 @puts(ptr noundef @.str.5) %8 = call i32 @puts(ptr noundef @.str.1) %9 = call i32 @puts(ptr noundef @.str.6) %10 = call i32 @puts(ptr noundef @.str.7) %11 = call i32 @puts(ptr noundef @.str.8) %12 = call i32 @puts(ptr noundef @.str.9) %13 = call i32 @puts(ptr noundef @.str.10) %14 = call i32 @puts(ptr noundef @.str.11) %15 = call i32 @puts(ptr noundef @.str.12) %16 = call i32 @puts(ptr noundef @.str.7) %17 = call i32 @puts(ptr noundef @.str.1) %18 = call i32 @scanf(ptr noundef @.str.13, ptr noundef %1) %19 = load i32, ptr %1, align 4 ret i32 %19 } declare i32 @puts(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjbym0qzq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"\1B[H\1B[2J\00", align 1 @.str.1 = private unnamed_addr constant [54 x i8] c"=====================================================\00", align 1 @.str.2 = private unnamed_addr constant [54 x i8] c"| VECTORISATION D'IMAGE |\00", align 1 @.str.3 = private unnamed_addr constant [54 x i8] c"| Projet Algorithmique et Programmation |\00", align 1 @.str.4 = private unnamed_addr constant [54 x i8] c"| HOAREAU Jordan VIAUD Thomas |\00", align 1 @.str.5 = private unnamed_addr constant [54 x i8] c"| IRM 3A 2014/2015 |\00", align 1 @.str.6 = private unnamed_addr constant [54 x i8] c"======================= Menu ========================\00", align 1 @.str.7 = private unnamed_addr constant [54 x i8] c"| |\00", align 1 @.str.8 = private unnamed_addr constant [54 x i8] c"| 1- Choix de l'image |\00", align 1 @.str.9 = private unnamed_addr constant [55 x i8] c"| 2- Exemple : Carr\C3\A9 |\00", align 1 @.str.10 = private unnamed_addr constant [54 x i8] c"| 3- Exemple : Bifurcation |\00", align 1 @.str.11 = private unnamed_addr constant [54 x i8] c"| 4- Exemple : Face |\00", align 1 @.str.12 = private unnamed_addr constant [54 x i8] c"| 5- Exemple : Coin |\00", align 1 @.str.13 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @displayMenu() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @puts(ptr noundef @.str) %3 = call i32 @puts(ptr noundef @.str.1) %4 = call i32 @puts(ptr noundef @.str.2) %5 = call i32 @puts(ptr noundef @.str.3) %6 = call i32 @puts(ptr noundef @.str.4) %7 = call i32 @puts(ptr noundef @.str.5) %8 = call i32 @puts(ptr noundef @.str.1) %9 = call i32 @puts(ptr noundef @.str.6) %10 = call i32 @puts(ptr noundef @.str.7) %11 = call i32 @puts(ptr noundef @.str.8) %12 = call i32 @puts(ptr noundef @.str.9) %13 = call i32 @puts(ptr noundef @.str.10) %14 = call i32 @puts(ptr noundef @.str.11) %15 = call i32 @puts(ptr noundef @.str.12) %16 = call i32 @puts(ptr noundef @.str.7) %17 = call i32 @puts(ptr noundef @.str.1) %18 = call i32 @scanf(ptr noundef @.str.13, ptr noundef %1) %19 = load i32, ptr %1, align 4 ret i32 %19 } declare i32 @puts(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmmmgnfd4.c' source_filename = "/tmp/tmpmmmgnfd4.c" target datalayout = "e-m:e-p270: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/tmpmmmgnfd4.c" target datalayout = "e-m:e-p270: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/tmpc8zqzgw3.c' source_filename = "/tmp/tmpc8zqzgw3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [70 x i8] c"====================================================================\0A\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"TESTING FIRST ELEMENT ARTIST...\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"donny osmond\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"taylor swift\00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c"lin manuel miranda\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"sia\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"t\00", align 1 @.str.7 = private unnamed_addr constant [20 x i8] c"against the current\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_first_element_artist() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 (...) @populate() %4 = call i32 @first_element_artist(ptr noundef @.str.2) %5 = call i32 @print_node(i32 noundef %4) %6 = call i32 @first_element_artist(ptr noundef @.str.3) %7 = call i32 @print_node(i32 noundef %6) %8 = call i32 @first_element_artist(ptr noundef @.str.4) %9 = call i32 @print_node(i32 noundef %8) %10 = call i32 @first_element_artist(ptr noundef @.str.5) %11 = call i32 @print_node(i32 noundef %10) %12 = call i32 @first_element_artist(ptr noundef @.str.6) %13 = call i32 @print_node(i32 noundef %12) %14 = call i32 @first_element_artist(ptr noundef @.str.7) %15 = call i32 @print_node(i32 noundef %14) %16 = call i32 (...) @print_entries_all() %17 = call i32 (...) @free_list() %18 = call i32 (...) @print_entries_all() ret void } declare i32 @printf(ptr noundef) #1 declare i32 @populate(...) #1 declare i32 @print_node(i32 noundef) #1 declare i32 @first_element_artist(ptr noundef) #1 declare i32 @print_entries_all(...) #1 declare i32 @free_list(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc8zqzgw3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [70 x i8] c"====================================================================\0A\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"TESTING FIRST ELEMENT ARTIST...\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"donny osmond\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"taylor swift\00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c"lin manuel miranda\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"sia\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"t\00", align 1 @.str.7 = private unnamed_addr constant [20 x i8] c"against the current\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_first_element_artist() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 (...) @populate() %4 = call i32 @first_element_artist(ptr noundef @.str.2) %5 = call i32 @print_node(i32 noundef %4) %6 = call i32 @first_element_artist(ptr noundef @.str.3) %7 = call i32 @print_node(i32 noundef %6) %8 = call i32 @first_element_artist(ptr noundef @.str.4) %9 = call i32 @print_node(i32 noundef %8) %10 = call i32 @first_element_artist(ptr noundef @.str.5) %11 = call i32 @print_node(i32 noundef %10) %12 = call i32 @first_element_artist(ptr noundef @.str.6) %13 = call i32 @print_node(i32 noundef %12) %14 = call i32 @first_element_artist(ptr noundef @.str.7) %15 = call i32 @print_node(i32 noundef %14) %16 = call i32 (...) @print_entries_all() %17 = call i32 (...) @free_list() %18 = call i32 (...) @print_entries_all() ret void } declare i32 @printf(ptr noundef) #1 declare i32 @populate(...) #1 declare i32 @print_node(i32 noundef) #1 declare i32 @first_element_artist(ptr noundef) #1 declare i32 @print_entries_all(...) #1 declare i32 @free_list(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpp1bwliln.c' source_filename = "/tmp/tmpp1bwliln.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @VIA1_iCA1_PulseNtfy() #0 { %1 = call i32 @VIA1_SetInterruptFlag(i32 noundef 1) ret void } declare i32 @VIA1_SetInterruptFlag(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/tmpp1bwliln.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @VIA1_iCA1_PulseNtfy() #0 { %1 = call i32 @VIA1_SetInterruptFlag(i32 noundef 1) ret void } declare i32 @VIA1_SetInterruptFlag(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/tmpz88oc4t9.c' source_filename = "/tmp/tmpz88oc4t9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [46 x i8] c"Please hit any key and then ENTER to continue\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"5 x usleep(i++ * 500000)\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"wake up\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"5 x sleep(i++)\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"DONE\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 store i32 0, ptr %1, align 4 %5 = call i32 @puts(ptr noundef @.str) %6 = call i32 (...) @getchar() %7 = call i32 @puts(ptr noundef @.str.1) store i32 0, ptr %2, align 4 br label %8 8: ; preds = %17, %0 %9 = load i32, ptr %2, align 4 %10 = icmp ult i32 %9, 5 br i1 %10, label %11, label %20 11: ; preds = %8 %12 = load i32, ptr %2, align 4 %13 = mul i32 %12, 500000 store i32 %13, ptr %3, align 4 %14 = load i32, ptr %3, align 4 %15 = call i32 @usleep(i32 noundef %14) %16 = call i32 @puts(ptr noundef @.str.2) br label %17 17: ; preds = %11 %18 = load i32, ptr %2, align 4 %19 = add i32 %18, 1 store i32 %19, ptr %2, align 4 br label %8, !llvm.loop !6 20: ; preds = %8 %21 = call i32 @puts(ptr noundef @.str.3) store i32 0, ptr %4, align 4 br label %22 22: ; preds = %29, %20 %23 = load i32, ptr %4, align 4 %24 = icmp ult i32 %23, 5 br i1 %24, label %25, label %32 25: ; preds = %22 %26 = load i32, ptr %4, align 4 %27 = call i32 @sleep(i32 noundef %26) %28 = call i32 @puts(ptr noundef @.str.2) br label %29 29: ; preds = %25 %30 = load i32, ptr %4, align 4 %31 = add i32 %30, 1 store i32 %31, ptr %4, align 4 br label %22, !llvm.loop !8 32: ; preds = %22 %33 = call i32 @puts(ptr noundef @.str.4) ret i32 0 } declare i32 @puts(ptr noundef) #1 declare i32 @getchar(...) #1 declare i32 @usleep(i32 noundef) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz88oc4t9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [46 x i8] c"Please hit any key and then ENTER to continue\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"5 x usleep(i++ * 500000)\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"wake up\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"5 x sleep(i++)\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"DONE\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 store i32 0, ptr %1, align 4 %5 = call i32 @puts(ptr noundef @.str) %6 = call i32 (...) @getchar() %7 = call i32 @puts(ptr noundef @.str.1) store i32 0, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = icmp ult i32 %8, 5 br i1 %9, label %.lr.ph, label %21 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %16 %11 = load i32, ptr %2, align 4 %12 = mul i32 %11, 500000 store i32 %12, ptr %3, align 4 %13 = load i32, ptr %3, align 4 %14 = call i32 @usleep(i32 noundef %13) %15 = call i32 @puts(ptr noundef @.str.2) br label %16 16: ; preds = %10 %17 = load i32, ptr %2, align 4 %18 = add i32 %17, 1 store i32 %18, ptr %2, align 4 %19 = load i32, ptr %2, align 4 %20 = icmp ult i32 %19, 5 br i1 %20, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %21 21: ; preds = %._crit_edge, %0 %22 = call i32 @puts(ptr noundef @.str.3) store i32 0, ptr %4, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp ult i32 %23, 5 br i1 %24, label %.lr.ph2, label %34 .lr.ph2: ; preds = %21 br label %25 25: ; preds = %.lr.ph2, %29 %26 = load i32, ptr %4, align 4 %27 = call i32 @sleep(i32 noundef %26) %28 = call i32 @puts(ptr noundef @.str.2) br label %29 29: ; preds = %25 %30 = load i32, ptr %4, align 4 %31 = add i32 %30, 1 store i32 %31, ptr %4, align 4 %32 = load i32, ptr %4, align 4 %33 = icmp ult i32 %32, 5 br i1 %33, label %25, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %29 br label %34 34: ; preds = %._crit_edge3, %21 %35 = call i32 @puts(ptr noundef @.str.4) ret i32 0 } declare i32 @puts(ptr noundef) #1 declare i32 @getchar(...) #1 declare i32 @usleep(i32 noundef) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpa4xpsq73.c' source_filename = "/tmp/tmpa4xpsq73.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i64 @foo(i32 noundef 48) %3 = icmp ne i64 %2, 0 br i1 %3, label %4, label %6 4: ; preds = %0 %5 = call i32 (...) @abort() #3 unreachable 6: ; preds = %0 ret i32 0 } declare i64 @foo(i32 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/tmpa4xpsq73.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i64 @foo(i32 noundef 48) %3 = icmp ne i64 %2, 0 br i1 %3, label %4, label %6 4: ; preds = %0 %5 = call i32 (...) @abort() #3 unreachable 6: ; preds = %0 ret i32 0 } declare i64 @foo(i32 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/tmp0r2yqt10.c' source_filename = "/tmp/tmp0r2yqt10.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 @HUGE_VAL = dso_local global double 0.000000e+00, align 8 @ERANGE = dso_local global i64 0, align 8 @DBL_MAX = dso_local global double 0.000000e+00, align 8 @DBL_MIN = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @string_to_d(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca double, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %18, label %10 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %18, label %13 13: ; preds = %10 %14 = load ptr, ptr %5, align 8 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %13, %10, %2 %19 = load i64, ptr @EINVAL, align 8 store i64 %19, ptr @errno, align 8 store i32 1, ptr %3, align 4 br label %58 20: ; preds = %13 store i64 0, ptr @errno, align 8 %21 = load ptr, ptr %5, align 8 %22 = call double @strtod(ptr noundef %21, ptr noundef %7) store double %22, ptr %6, align 8 %23 = load ptr, ptr %7, align 8 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp ne i32 %25, 0 br i1 %26, label %44, label %27 27: ; preds = %20 %28 = load double, ptr %6, align 8 %29 = load double, ptr @HUGE_VAL, align 8 %30 = fcmp oeq double %28, %29 br i1 %30, label %31, label %35 31: ; preds = %27 %32 = load i64, ptr @errno, align 8 %33 = load i64, ptr @ERANGE, align 8 %34 = icmp eq i64 %32, %33 br i1 %34, label %44, label %35 35: ; preds = %31, %27 %36 = load double, ptr %6, align 8 %37 = load double, ptr @HUGE_VAL, align 8 %38 = fneg double %37 %39 = fcmp oeq double %36, %38 br i1 %39, label %40, label %45 40: ; preds = %35 %41 = load i64, ptr @errno, align 8 %42 = load i64, ptr @ERANGE, align 8 %43 = icmp eq i64 %41, %42 br i1 %43, label %44, label %45 44: ; preds = %40, %31, %20 store i32 1, ptr %3, align 4 br label %58 45: ; preds = %40, %35 %46 = load double, ptr %6, align 8 %47 = load double, ptr @DBL_MAX, align 8 %48 = fcmp ogt double %46, %47 br i1 %48, label %53, label %49 49: ; preds = %45 %50 = load double, ptr %6, align 8 %51 = load double, ptr @DBL_MIN, align 8 %52 = fcmp olt double %50, %51 br i1 %52, label %53, label %55 53: ; preds = %49, %45 %54 = load i64, ptr @ERANGE, align 8 store i64 %54, ptr @errno, align 8 store i32 1, ptr %3, align 4 br label %58 55: ; preds = %49 %56 = load double, ptr %6, align 8 %57 = load ptr, ptr %4, align 8 store double %56, ptr %57, align 8 store i32 0, ptr %3, align 4 br label %58 58: ; preds = %55, %53, %44, %18 %59 = load i32, ptr %3, align 4 ret i32 %59 } declare double @strtod(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/tmp0r2yqt10.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 @HUGE_VAL = dso_local global double 0.000000e+00, align 8 @ERANGE = dso_local global i64 0, align 8 @DBL_MAX = dso_local global double 0.000000e+00, align 8 @DBL_MIN = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @string_to_d(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca double, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %18, label %10 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %18, label %13 13: ; preds = %10 %14 = load ptr, ptr %5, align 8 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %13, %10, %2 %19 = load i64, ptr @EINVAL, align 8 store i64 %19, ptr @errno, align 8 store i32 1, ptr %3, align 4 br label %58 20: ; preds = %13 store i64 0, ptr @errno, align 8 %21 = load ptr, ptr %5, align 8 %22 = call double @strtod(ptr noundef %21, ptr noundef %7) store double %22, ptr %6, align 8 %23 = load ptr, ptr %7, align 8 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp ne i32 %25, 0 br i1 %26, label %44, label %27 27: ; preds = %20 %28 = load double, ptr %6, align 8 %29 = load double, ptr @HUGE_VAL, align 8 %30 = fcmp oeq double %28, %29 br i1 %30, label %31, label %35 31: ; preds = %27 %32 = load i64, ptr @errno, align 8 %33 = load i64, ptr @ERANGE, align 8 %34 = icmp eq i64 %32, %33 br i1 %34, label %44, label %35 35: ; preds = %31, %27 %36 = load double, ptr %6, align 8 %37 = load double, ptr @HUGE_VAL, align 8 %38 = fneg double %37 %39 = fcmp oeq double %36, %38 br i1 %39, label %40, label %45 40: ; preds = %35 %41 = load i64, ptr @errno, align 8 %42 = load i64, ptr @ERANGE, align 8 %43 = icmp eq i64 %41, %42 br i1 %43, label %44, label %45 44: ; preds = %40, %31, %20 store i32 1, ptr %3, align 4 br label %58 45: ; preds = %40, %35 %46 = load double, ptr %6, align 8 %47 = load double, ptr @DBL_MAX, align 8 %48 = fcmp ogt double %46, %47 br i1 %48, label %53, label %49 49: ; preds = %45 %50 = load double, ptr %6, align 8 %51 = load double, ptr @DBL_MIN, align 8 %52 = fcmp olt double %50, %51 br i1 %52, label %53, label %55 53: ; preds = %49, %45 %54 = load i64, ptr @ERANGE, align 8 store i64 %54, ptr @errno, align 8 store i32 1, ptr %3, align 4 br label %58 55: ; preds = %49 %56 = load double, ptr %6, align 8 %57 = load ptr, ptr %4, align 8 store double %56, ptr %57, align 8 store i32 0, ptr %3, align 4 br label %58 58: ; preds = %55, %53, %44, %18 %59 = load i32, ptr %3, align 4 ret i32 %59 } declare double @strtod(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/tmpzf1kj84h.c' source_filename = "/tmp/tmpzf1kj84h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @screen_print_int(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [100 x i8], align 16 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %8 = load i32, ptr %4, align 4 %9 = call i32 @itoa(i32 noundef %6, ptr noundef %7, i32 noundef %8) %10 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %11 = call i32 @puts(ptr noundef %10) ret void } declare i32 @itoa(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzf1kj84h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @screen_print_int(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [100 x i8], align 16 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %8 = load i32, ptr %4, align 4 %9 = call i32 @itoa(i32 noundef %6, ptr noundef %7, i32 noundef %8) %10 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %11 = call i32 @puts(ptr noundef %10) ret void } declare i32 @itoa(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp26yv7l8w.c' source_filename = "/tmp/tmp26yv7l8w.c" target datalayout = "e-m:e-p270: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/tmp26yv7l8w.c" target datalayout = "e-m:e-p270: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/tmp2tqbo1hi.c' source_filename = "/tmp/tmp2tqbo1hi.c" target datalayout = "e-m:e-p270: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/tmp2tqbo1hi.c" target datalayout = "e-m:e-p270: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/tmplku27omi.c' source_filename = "/tmp/tmplku27omi.c" target datalayout = "e-m:e-p270: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pcap_file_is_pcap(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %5, align 4 %6 = load ptr, ptr %2, align 8 %7 = call i32 @fread(ptr noundef %3, i32 noundef 1, i32 noundef 4, ptr noundef %6) store i32 %7, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp eq i32 %8, 4 br i1 %9, label %10, label %18 10: ; preds = %1 %11 = load i32, ptr %3, align 4 %12 = icmp eq i32 %11, -1582119980 br i1 %12, label %17, label %13 13: ; preds = %10 %14 = load i32, ptr %3, align 4 %15 = call i32 @htonl(i32 noundef -1582119980) %16 = icmp eq i32 %14, %15 br i1 %16, label %17, label %18 17: ; preds = %13, %10 store i32 1, ptr %5, align 4 br label %18 18: ; preds = %17, %13, %1 %19 = load ptr, ptr %2, align 8 %20 = load i32, ptr @SEEK_SET, align 4 %21 = call i32 @fseek(ptr noundef %19, i32 noundef 0, i32 noundef %20) %22 = load i32, ptr %5, align 4 ret i32 %22 } declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @htonl(i32 noundef) #1 declare i32 @fseek(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/tmplku27omi.c" target datalayout = "e-m:e-p270: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pcap_file_is_pcap(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %5, align 4 %6 = load ptr, ptr %2, align 8 %7 = call i32 @fread(ptr noundef %3, i32 noundef 1, i32 noundef 4, ptr noundef %6) store i32 %7, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp eq i32 %8, 4 br i1 %9, label %10, label %18 10: ; preds = %1 %11 = load i32, ptr %3, align 4 %12 = icmp eq i32 %11, -1582119980 br i1 %12, label %17, label %13 13: ; preds = %10 %14 = load i32, ptr %3, align 4 %15 = call i32 @htonl(i32 noundef -1582119980) %16 = icmp eq i32 %14, %15 br i1 %16, label %17, label %18 17: ; preds = %13, %10 store i32 1, ptr %5, align 4 br label %18 18: ; preds = %17, %13, %1 %19 = load ptr, ptr %2, align 8 %20 = load i32, ptr @SEEK_SET, align 4 %21 = call i32 @fseek(ptr noundef %19, i32 noundef 0, i32 noundef %20) %22 = load i32, ptr %5, align 4 ret i32 %22 } declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @htonl(i32 noundef) #1 declare i32 @fseek(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/tmpuuagwh9e.c' source_filename = "/tmp/tmpuuagwh9e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"shmget\00", align 1 @errno = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"shmat\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"RCV: Memory attached at %lX\0A\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"iflag is now = %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [32 x i8] c"RCV has successfully completed\0A\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"shmdt\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @receive_it() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 8, ptr %2, align 4 %4 = call i32 @shmget(i32 noundef 26, i32 noundef 8196, i32 noundef 0) store i32 %4, ptr %1, align 4 %5 = icmp eq i32 %4, -1 br i1 %5, label %6, label %10 6: ; preds = %0 %7 = call i32 @perror(ptr noundef @.str) %8 = load i32, ptr @errno, align 4 %9 = call i32 @exit(i32 noundef %8) #3 unreachable 10: ; preds = %0 %11 = load i32, ptr %1, align 4 %12 = call ptr @shmat(i32 noundef %11, ptr noundef null, i32 noundef 0) store ptr %12, ptr %3, align 8 %13 = icmp eq ptr %12, inttoptr (i64 -1 to ptr) br i1 %13, label %14, label %18 14: ; preds = %10 %15 = call i32 @perror(ptr noundef @.str.1) %16 = load i32, ptr @errno, align 4 %17 = call i32 @exit(i32 noundef %16) #3 unreachable 18: ; preds = %10 %19 = load ptr, ptr %3, align 8 %20 = ptrtoint ptr %19 to i64 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %20) %22 = load ptr, ptr %3, align 8 %23 = call i32 @memcpy(ptr noundef %22, ptr noundef %2, i32 noundef 4) %24 = load i32, ptr %2, align 4 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %24) br label %26 26: ; preds = %29, %18 %27 = load i32, ptr %2, align 4 %28 = icmp eq i32 %27, 8 br i1 %28, label %29, label %33 29: ; preds = %26 %30 = load ptr, ptr %3, align 8 %31 = call i32 @memcpy(ptr noundef %2, ptr noundef %30, i32 noundef 4) %32 = call i32 @sleep(i32 noundef 1) br label %26, !llvm.loop !6 33: ; preds = %26 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %35 = load i32, ptr %2, align 4 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %35) %37 = load ptr, ptr %3, align 8 %38 = call i32 @shmdt(ptr noundef %37) %39 = icmp eq i32 %38, -1 br i1 %39, label %40, label %44 40: ; preds = %33 %41 = call i32 @perror(ptr noundef @.str.5) %42 = load i32, ptr @errno, align 4 %43 = call i32 @exit(i32 noundef %42) #3 unreachable 44: ; preds = %33 %45 = load i32, ptr @EXIT_SUCCESS, align 4 %46 = call i32 @exit(i32 noundef %45) #3 unreachable } declare i32 @shmget(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @shmat(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @shmdt(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuuagwh9e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"shmget\00", align 1 @errno = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"shmat\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"RCV: Memory attached at %lX\0A\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"iflag is now = %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [32 x i8] c"RCV has successfully completed\0A\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"shmdt\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @receive_it() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 8, ptr %2, align 4 %4 = call i32 @shmget(i32 noundef 26, i32 noundef 8196, i32 noundef 0) store i32 %4, ptr %1, align 4 %5 = icmp eq i32 %4, -1 br i1 %5, label %6, label %10 6: ; preds = %0 %7 = call i32 @perror(ptr noundef @.str) %8 = load i32, ptr @errno, align 4 %9 = call i32 @exit(i32 noundef %8) #3 unreachable 10: ; preds = %0 %11 = load i32, ptr %1, align 4 %12 = call ptr @shmat(i32 noundef %11, ptr noundef null, i32 noundef 0) store ptr %12, ptr %3, align 8 %13 = icmp eq ptr %12, inttoptr (i64 -1 to ptr) br i1 %13, label %14, label %18 14: ; preds = %10 %15 = call i32 @perror(ptr noundef @.str.1) %16 = load i32, ptr @errno, align 4 %17 = call i32 @exit(i32 noundef %16) #3 unreachable 18: ; preds = %10 %19 = load ptr, ptr %3, align 8 %20 = ptrtoint ptr %19 to i64 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %20) %22 = load ptr, ptr %3, align 8 %23 = call i32 @memcpy(ptr noundef %22, ptr noundef %2, i32 noundef 4) %24 = load i32, ptr %2, align 4 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %24) %26 = load i32, ptr %2, align 4 %27 = icmp eq i32 %26, 8 br i1 %27, label %.lr.ph, label %34 .lr.ph: ; preds = %18 br label %28 28: ; preds = %.lr.ph, %28 %29 = load ptr, ptr %3, align 8 %30 = call i32 @memcpy(ptr noundef %2, ptr noundef %29, i32 noundef 4) %31 = call i32 @sleep(i32 noundef 1) %32 = load i32, ptr %2, align 4 %33 = icmp eq i32 %32, 8 br i1 %33, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %34 34: ; preds = %._crit_edge, %18 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %36 = load i32, ptr %2, align 4 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %36) %38 = load ptr, ptr %3, align 8 %39 = call i32 @shmdt(ptr noundef %38) %40 = icmp eq i32 %39, -1 br i1 %40, label %41, label %45 41: ; preds = %34 %42 = call i32 @perror(ptr noundef @.str.5) %43 = load i32, ptr @errno, align 4 %44 = call i32 @exit(i32 noundef %43) #3 unreachable 45: ; preds = %34 %46 = load i32, ptr @EXIT_SUCCESS, align 4 %47 = call i32 @exit(i32 noundef %46) #3 unreachable } declare i32 @shmget(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @shmat(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @shmdt(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"}
; ModuleID = '/tmp/tmp2figf6pv.c' source_filename = "/tmp/tmp2figf6pv.c" target datalayout = "e-m:e-p270: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/tmp2figf6pv.c" target datalayout = "e-m:e-p270: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/tmpe4q5rc9i.c' source_filename = "/tmp/tmpe4q5rc9i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @siz_bisect(i64 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 store i64 %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %12 = load ptr, ptr %6, align 8 %13 = call i32 @assert(ptr noundef %12) store i64 0, ptr %8, align 8 %14 = load i64, ptr %7, align 8 store i64 %14, ptr %9, align 8 br label %15 15: ; preds = %42, %3 %16 = load i64, ptr %8, align 8 %17 = load i64, ptr %9, align 8 %18 = icmp ult i64 %16, %17 br i1 %18, label %19, label %43 19: ; preds = %15 %20 = load ptr, ptr %6, align 8 %21 = load i64, ptr %8, align 8 %22 = load i64, ptr %9, align 8 %23 = add i64 %21, %22 %24 = udiv i64 %23, 2 store i64 %24, ptr %10, align 8 %25 = getelementptr inbounds i64, ptr %20, i64 %24 %26 = load i64, ptr %25, align 8 store i64 %26, ptr %11, align 8 %27 = load i64, ptr %5, align 8 %28 = load i64, ptr %11, align 8 %29 = icmp ugt i64 %27, %28 br i1 %29, label %30, label %33 30: ; preds = %19 %31 = load i64, ptr %10, align 8 %32 = add i64 %31, 1 store i64 %32, ptr %8, align 8 br label %42 33: ; preds = %19 %34 = load i64, ptr %5, align 8 %35 = load i64, ptr %11, align 8 %36 = icmp ult i64 %34, %35 br i1 %36, label %37, label %39 37: ; preds = %33 %38 = load i64, ptr %10, align 8 store i64 %38, ptr %9, align 8 br label %41 39: ; preds = %33 %40 = load i64, ptr %10, align 8 store i64 %40, ptr %4, align 8 br label %45 41: ; preds = %37 br label %42 42: ; preds = %41, %30 br label %15, !llvm.loop !6 43: ; preds = %15 %44 = load i64, ptr %8, align 8 store i64 %44, ptr %4, align 8 br label %45 45: ; preds = %43, %39 %46 = load i64, ptr %4, align 8 ret i64 %46 } declare i32 @assert(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/tmpe4q5rc9i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @siz_bisect(i64 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 store i64 %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %12 = load ptr, ptr %6, align 8 %13 = call i32 @assert(ptr noundef %12) store i64 0, ptr %8, align 8 %14 = load i64, ptr %7, align 8 store i64 %14, ptr %9, align 8 %15 = load i64, ptr %8, align 8 %16 = load i64, ptr %9, align 8 %17 = icmp ult i64 %15, %16 br i1 %17, label %.lr.ph, label %45 .lr.ph: ; preds = %3 br label %18 18: ; preds = %.lr.ph, %41 %19 = load ptr, ptr %6, align 8 %20 = load i64, ptr %8, align 8 %21 = load i64, ptr %9, align 8 %22 = add i64 %20, %21 %23 = udiv i64 %22, 2 store i64 %23, ptr %10, align 8 %24 = getelementptr inbounds i64, ptr %19, i64 %23 %25 = load i64, ptr %24, align 8 store i64 %25, ptr %11, align 8 %26 = load i64, ptr %5, align 8 %27 = load i64, ptr %11, align 8 %28 = icmp ugt i64 %26, %27 br i1 %28, label %29, label %32 29: ; preds = %18 %30 = load i64, ptr %10, align 8 %31 = add i64 %30, 1 store i64 %31, ptr %8, align 8 br label %41 32: ; preds = %18 %33 = load i64, ptr %5, align 8 %34 = load i64, ptr %11, align 8 %35 = icmp ult i64 %33, %34 br i1 %35, label %36, label %38 36: ; preds = %32 %37 = load i64, ptr %10, align 8 store i64 %37, ptr %9, align 8 br label %40 38: ; preds = %32 %39 = load i64, ptr %10, align 8 store i64 %39, ptr %4, align 8 br label %47 40: ; preds = %36 br label %41 41: ; preds = %40, %29 %42 = load i64, ptr %8, align 8 %43 = load i64, ptr %9, align 8 %44 = icmp ult i64 %42, %43 br i1 %44, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %41 br label %45 45: ; preds = %._crit_edge, %3 %46 = load i64, ptr %8, align 8 store i64 %46, ptr %4, align 8 br label %47 47: ; preds = %45, %38 %48 = load i64, ptr %4, align 8 ret i64 %48 } declare i32 @assert(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/tmpsivvdgxg.c' source_filename = "/tmp/tmpsivvdgxg.c" target datalayout = "e-m:e-p270: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/tmpsivvdgxg.c" target datalayout = "e-m:e-p270: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/tmp8u0z8w1n.c' source_filename = "/tmp/tmp8u0z8w1n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @get_x11i.x11i = internal global [64 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [14 x i8] c"/proc/cmdline\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"x11i=%60s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_x11i() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca [256 x i8], align 16 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = load i8, ptr @get_x11i.x11i, align 16 %7 = icmp ne i8 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %0 store ptr @get_x11i.x11i, ptr %1, align 8 br label %33 9: ; preds = %0 %10 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %10, ptr %2, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %32 12: ; preds = %9 %13 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %14 = load ptr, ptr %2, align 8 %15 = call i64 @fgets(ptr noundef %13, i32 noundef 256, ptr noundef %14) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %29 17: ; preds = %12 %18 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 store ptr %18, ptr %5, align 8 br label %19 19: ; preds = %27, %17 %20 = call ptr @strsep(ptr noundef %5, ptr noundef @.str.2) store ptr %20, ptr %4, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %22, label %28 22: ; preds = %19 %23 = load ptr, ptr %4, align 8 %24 = call i32 @sscanf(ptr noundef %23, ptr noundef @.str.3, ptr noundef @get_x11i.x11i) %25 = icmp eq i32 %24, 1 br i1 %25, label %26, label %27 26: ; preds = %22 br label %28 27: ; preds = %22 br label %19, !llvm.loop !6 28: ; preds = %26, %19 br label %29 29: ; preds = %28, %12 %30 = load ptr, ptr %2, align 8 %31 = call i32 @fclose(ptr noundef %30) br label %32 32: ; preds = %29, %9 store ptr @get_x11i.x11i, ptr %1, align 8 br label %33 33: ; preds = %32, %8 %34 = load ptr, ptr %1, align 8 ret ptr %34 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @strsep(ptr noundef, ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8u0z8w1n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @get_x11i.x11i = internal global [64 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [14 x i8] c"/proc/cmdline\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"x11i=%60s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_x11i() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca [256 x i8], align 16 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = load i8, ptr @get_x11i.x11i, align 16 %7 = icmp ne i8 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %0 store ptr @get_x11i.x11i, ptr %1, align 8 br label %34 9: ; preds = %0 %10 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %10, ptr %2, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %33 12: ; preds = %9 %13 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %14 = load ptr, ptr %2, align 8 %15 = call i64 @fgets(ptr noundef %13, i32 noundef 256, ptr noundef %14) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %30 17: ; preds = %12 %18 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 store ptr %18, ptr %5, align 8 %19 = call ptr @strsep(ptr noundef %5, ptr noundef @.str.2) store ptr %19, ptr %4, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %17 br label %24 21: ; preds = %24 %22 = call ptr @strsep(ptr noundef %5, ptr noundef @.str.2) store ptr %22, ptr %4, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %24, label %..loopexit_crit_edge, !llvm.loop !6 24: ; preds = %.lr.ph, %21 %25 = load ptr, ptr %4, align 8 %26 = call i32 @sscanf(ptr noundef %25, ptr noundef @.str.3, ptr noundef @get_x11i.x11i) %27 = icmp eq i32 %26, 1 br i1 %27, label %28, label %21 28: ; preds = %24 br label %29 ..loopexit_crit_edge: ; preds = %21 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %17 br label %29 29: ; preds = %.loopexit, %28 br label %30 30: ; preds = %29, %12 %31 = load ptr, ptr %2, align 8 %32 = call i32 @fclose(ptr noundef %31) br label %33 33: ; preds = %30, %9 store ptr @get_x11i.x11i, ptr %1, align 8 br label %34 34: ; preds = %33, %8 %35 = load ptr, ptr %1, align 8 ret ptr %35 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @strsep(ptr noundef, ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp02ir4am_.c' source_filename = "/tmp/tmp02ir4am_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strrchr(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 %8 = call i64 @strlen(ptr noundef %7) %9 = add nsw i64 %8, 1 %10 = call ptr @__memrchr(ptr noundef %5, i32 noundef %6, i64 noundef %9) ret ptr %10 } declare ptr @__memrchr(ptr noundef, i32 noundef, i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp02ir4am_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strrchr(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 %8 = call i64 @strlen(ptr noundef %7) %9 = add nsw i64 %8, 1 %10 = call ptr @__memrchr(ptr noundef %5, i32 noundef %6, i64 noundef %9) ret ptr %10 } declare ptr @__memrchr(ptr noundef, i32 noundef, i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpe4dmij2n.c' source_filename = "/tmp/tmpe4dmij2n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"%.16f \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 double @log1(double noundef 0x41086DDFE5604189) %3 = call i32 @printf(ptr noundef @.str, double noundef %2) ret i32 0 } declare i32 @printf(ptr noundef, double noundef) #1 declare double @log1(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe4dmij2n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"%.16f \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 double @log1(double noundef 0x41086DDFE5604189) %3 = call i32 @printf(ptr noundef @.str, double noundef %2) ret i32 0 } declare i32 @printf(ptr noundef, double noundef) #1 declare double @log1(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpj87q8np8.c' source_filename = "/tmp/tmpj87q8np8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"-1\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [10000 x i8], align 16 %4 = alloca i32, align 4 %5 = alloca [26 x i32], align 16 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i8, align 1 %9 = alloca i32, align 4 %10 = alloca i8, align 1 %11 = alloca i32, align 4 store i32 0, ptr %1, align 4 %12 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) br label %13 13: ; preds = %87, %25, %0 %14 = load i32, ptr %2, align 4 %15 = add nsw i32 %14, -1 store i32 %15, ptr %2, align 4 %16 = icmp ne i32 %14, 0 br i1 %16, label %17, label %91 17: ; preds = %13 %18 = getelementptr inbounds [10000 x i8], ptr %3, i64 0, i64 0 %19 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %18) %20 = getelementptr inbounds [10000 x i8], ptr %3, i64 0, i64 0 %21 = call i32 @strlen(ptr noundef %20) store i32 %21, ptr %4, align 4 %22 = load i32, ptr %4, align 4 %23 = srem i32 %22, 2 %24 = icmp eq i32 %23, 1 br i1 %24, label %25, label %27 25: ; preds = %17 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %13, !llvm.loop !6 27: ; preds = %17 call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 104, i1 false) store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 br label %28 28: ; preds = %45, %27 %29 = load i32, ptr %7, align 4 %30 = load i32, ptr %4, align 4 %31 = sdiv i32 %30, 2 %32 = icmp slt i32 %29, %31 br i1 %32, label %33, label %48 33: ; preds = %28 %34 = load i32, ptr %7, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [10000 x i8], ptr %3, i64 0, i64 %35 %37 = load i8, ptr %36, align 1 store i8 %37, ptr %8, align 1 %38 = load i8, ptr %8, align 1 %39 = sext i8 %38 to i32 %40 = sub nsw i32 %39, 97 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [26 x i32], ptr %5, i64 0, i64 %41 %43 = load i32, ptr %42, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %42, align 4 br label %45 45: ; preds = %33 %46 = load i32, ptr %7, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %7, align 4 br label %28, !llvm.loop !8 48: ; preds = %28 %49 = load i32, ptr %4, align 4 %50 = sdiv i32 %49, 2 store i32 %50, ptr %9, align 4 br label %51 51: ; preds = %67, %48 %52 = load i32, ptr %9, align 4 %53 = load i32, ptr %4, align 4 %54 = icmp slt i32 %52, %53 br i1 %54, label %55, label %70 55: ; preds = %51 %56 = load i32, ptr %9, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [10000 x i8], ptr %3, i64 0, i64 %57 %59 = load i8, ptr %58, align 1 store i8 %59, ptr %10, align 1 %60 = load i8, ptr %10, align 1 %61 = sext i8 %60 to i32 %62 = sub nsw i32 %61, 97 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds [26 x i32], ptr %5, i64 0, i64 %63 %65 = load i32, ptr %64, align 4 %66 = add nsw i32 %65, -1 store i32 %66, ptr %64, align 4 br label %67 67: ; preds = %55 %68 = load i32, ptr %9, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %9, align 4 br label %51, !llvm.loop !9 70: ; preds = %51 store i32 0, ptr %11, align 4 br label %71 71: ; preds = %84, %70 %72 = load i32, ptr %11, align 4 %73 = icmp slt i32 %72, 26 br i1 %73, label %74, label %87 74: ; preds = %71 %75 = load i32, ptr %11, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds [26 x i32], ptr %5, i64 0, i64 %76 %78 = load i32, ptr %77, align 4 %79 = call i64 @abs(i32 noundef %78) %80 = load i32, ptr %6, align 4 %81 = sext i32 %80 to i64 %82 = add nsw i64 %81, %79 %83 = trunc i64 %82 to i32 store i32 %83, ptr %6, align 4 br label %84 84: ; preds = %74 %85 = load i32, ptr %11, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %11, align 4 br label %71, !llvm.loop !10 87: ; preds = %71 %88 = load i32, ptr %6, align 4 %89 = sdiv i32 %88, 2 %90 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %89) br label %13, !llvm.loop !6 91: ; preds = %13 ret i32 0 } declare i32 @scanf(ptr noundef, ...) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i64 @abs(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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj87q8np8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"-1\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [10000 x i8], align 16 %4 = alloca i32, align 4 %5 = alloca [26 x i32], align 16 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i8, align 1 %9 = alloca i32, align 4 %10 = alloca i8, align 1 %11 = alloca i32, align 4 store i32 0, ptr %1, align 4 %12 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) %13 = load i32, ptr %2, align 4 %14 = add nsw i32 %13, -1 store i32 %14, ptr %2, align 4 %15 = icmp ne i32 %13, 0 br i1 %15, label %.lr.ph8, label %99 .lr.ph8: ; preds = %0 br label %16 16: ; preds = %.lr.ph8, %.backedge %17 = getelementptr inbounds [10000 x i8], ptr %3, i64 0, i64 0 %18 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %17) %19 = getelementptr inbounds [10000 x i8], ptr %3, i64 0, i64 0 %20 = call i32 @strlen(ptr noundef %19) store i32 %20, ptr %4, align 4 %21 = load i32, ptr %4, align 4 %22 = srem i32 %21, 2 %23 = icmp eq i32 %22, 1 br i1 %23, label %24, label %29 24: ; preds = %16 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %.backedge .backedge: ; preds = %24, %95 %26 = load i32, ptr %2, align 4 %27 = add nsw i32 %26, -1 store i32 %27, ptr %2, align 4 %28 = icmp ne i32 %26, 0 br i1 %28, label %16, label %._crit_edge9, !llvm.loop !6 29: ; preds = %16 call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 104, i1 false) store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %30 = load i32, ptr %7, align 4 %31 = load i32, ptr %4, align 4 %32 = sdiv i32 %31, 2 %33 = icmp slt i32 %30, %32 br i1 %33, label %.lr.ph, label %53 .lr.ph: ; preds = %29 br label %34 34: ; preds = %.lr.ph, %46 %35 = load i32, ptr %7, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [10000 x i8], ptr %3, i64 0, i64 %36 %38 = load i8, ptr %37, align 1 store i8 %38, ptr %8, align 1 %39 = load i8, ptr %8, align 1 %40 = sext i8 %39 to i32 %41 = sub nsw i32 %40, 97 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [26 x i32], ptr %5, i64 0, i64 %42 %44 = load i32, ptr %43, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %43, align 4 br label %46 46: ; preds = %34 %47 = load i32, ptr %7, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %7, align 4 %49 = load i32, ptr %7, align 4 %50 = load i32, ptr %4, align 4 %51 = sdiv i32 %50, 2 %52 = icmp slt i32 %49, %51 br i1 %52, label %34, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %46 br label %53 53: ; preds = %._crit_edge, %29 %54 = load i32, ptr %4, align 4 %55 = sdiv i32 %54, 2 store i32 %55, ptr %9, align 4 %56 = load i32, ptr %9, align 4 %57 = load i32, ptr %4, align 4 %58 = icmp slt i32 %56, %57 br i1 %58, label %.lr.ph2, label %77 .lr.ph2: ; preds = %53 br label %59 59: ; preds = %.lr.ph2, %71 %60 = load i32, ptr %9, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds [10000 x i8], ptr %3, i64 0, i64 %61 %63 = load i8, ptr %62, align 1 store i8 %63, ptr %10, align 1 %64 = load i8, ptr %10, align 1 %65 = sext i8 %64 to i32 %66 = sub nsw i32 %65, 97 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds [26 x i32], ptr %5, i64 0, i64 %67 %69 = load i32, ptr %68, align 4 %70 = add nsw i32 %69, -1 store i32 %70, ptr %68, align 4 br label %71 71: ; preds = %59 %72 = load i32, ptr %9, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %9, align 4 %74 = load i32, ptr %9, align 4 %75 = load i32, ptr %4, align 4 %76 = icmp slt i32 %74, %75 br i1 %76, label %59, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %71 br label %77 77: ; preds = %._crit_edge3, %53 store i32 0, ptr %11, align 4 %78 = load i32, ptr %11, align 4 %79 = icmp slt i32 %78, 26 br i1 %79, label %.lr.ph5, label %95 .lr.ph5: ; preds = %77 br label %80 80: ; preds = %.lr.ph5, %90 %81 = load i32, ptr %11, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds [26 x i32], ptr %5, i64 0, i64 %82 %84 = load i32, ptr %83, align 4 %85 = call i64 @abs(i32 noundef %84) %86 = load i32, ptr %6, align 4 %87 = sext i32 %86 to i64 %88 = add nsw i64 %87, %85 %89 = trunc i64 %88 to i32 store i32 %89, ptr %6, align 4 br label %90 90: ; preds = %80 %91 = load i32, ptr %11, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %11, align 4 %93 = load i32, ptr %11, align 4 %94 = icmp slt i32 %93, 26 br i1 %94, label %80, label %._crit_edge6, !llvm.loop !10 ._crit_edge6: ; preds = %90 br label %95 95: ; preds = %._crit_edge6, %77 %96 = load i32, ptr %6, align 4 %97 = sdiv i32 %96, 2 %98 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %97) br label %.backedge ._crit_edge9: ; preds = %.backedge br label %99 99: ; preds = %._crit_edge9, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ...) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i64 @abs(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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpi0vcmi_8.c' source_filename = "/tmp/tmpi0vcmi_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" @.str = private unnamed_addr constant [13 x i8] c"Fuck World!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fuck() #0 { %1 = call i32 @printf(ptr noundef @.str) 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/tmpi0vcmi_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" @.str = private unnamed_addr constant [13 x i8] c"Fuck World!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fuck() #0 { %1 = call i32 @printf(ptr noundef @.str) 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/tmp5bp0y14d.c' source_filename = "/tmp/tmp5bp0y14d.c" target datalayout = "e-m:e-p270: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/tmp5bp0y14d.c" target datalayout = "e-m:e-p270: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/tmpp0s1tuld.c' source_filename = "/tmp/tmpp0s1tuld.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dts_init() #0 { %1 = call i32 (...) @gdt_init() %2 = call i32 (...) @idt_init() ret void } declare i32 @gdt_init(...) #1 declare i32 @idt_init(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp0s1tuld.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dts_init() #0 { %1 = call i32 (...) @gdt_init() %2 = call i32 (...) @idt_init() ret void } declare i32 @gdt_init(...) #1 declare i32 @idt_init(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpobved_hr.c' source_filename = "/tmp/tmpobved_hr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"FAILED: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"cba_clear(ba, i) < 0\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"FAILED: !(%s)\0A\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"cba_get(ba, i) == 0\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"PASSED\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_cba_clear() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr null, ptr %2, align 8 %4 = call ptr @cba_alloc(i32 noundef 100) store ptr %4, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %5 5: ; preds = %39, %0 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 100 br i1 %7, label %8, label %42 8: ; preds = %5 br label %9 9: ; preds = %8 %10 = load ptr, ptr %2, align 8 %11 = load i32, ptr %3, align 4 %12 = call i64 @cba_clear(ptr noundef %10, i32 noundef %11) %13 = icmp slt i64 %12, 0 br i1 %13, label %14, label %22 14: ; preds = %9 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %16 = load ptr, ptr %2, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %18, label %21 18: ; preds = %14 %19 = load ptr, ptr %2, align 8 %20 = call i32 @cba_free(ptr noundef %19) br label %21 21: ; preds = %18, %14 store i32 0, ptr %1, align 4 br label %50 22: ; preds = %9 br label %23 23: ; preds = %22 br label %24 24: ; preds = %23 %25 = load ptr, ptr %2, align 8 %26 = load i32, ptr %3, align 4 %27 = call i64 @cba_get(ptr noundef %25, i32 noundef %26) %28 = icmp eq i64 %27, 0 br i1 %28, label %37, label %29 29: ; preds = %24 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.3) %31 = load ptr, ptr %2, align 8 %32 = icmp ne ptr %31, null br i1 %32, label %33, label %36 33: ; preds = %29 %34 = load ptr, ptr %2, align 8 %35 = call i32 @cba_free(ptr noundef %34) br label %36 36: ; preds = %33, %29 store i32 0, ptr %1, align 4 br label %50 37: ; preds = %24 br label %38 38: ; preds = %37 br label %39 39: ; preds = %38 %40 = load i32, ptr %3, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %3, align 4 br label %5, !llvm.loop !6 42: ; preds = %5 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %44 = load ptr, ptr %2, align 8 %45 = icmp ne ptr %44, null br i1 %45, label %46, label %49 46: ; preds = %42 %47 = load ptr, ptr %2, align 8 %48 = call i32 @cba_free(ptr noundef %47) br label %49 49: ; preds = %46, %42 store i32 1, ptr %1, align 4 br label %50 50: ; preds = %49, %36, %21 %51 = load i32, ptr %1, align 4 ret i32 %51 } declare ptr @cba_alloc(i32 noundef) #1 declare i64 @cba_clear(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @cba_free(ptr noundef) #1 declare i64 @cba_get(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/tmpobved_hr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"FAILED: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"cba_clear(ba, i) < 0\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"FAILED: !(%s)\0A\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"cba_get(ba, i) == 0\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"PASSED\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_cba_clear() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr null, ptr %2, align 8 %4 = call ptr @cba_alloc(i32 noundef 100) store ptr %4, ptr %2, align 8 store i32 0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 100 br i1 %6, label %.lr.ph, label %43 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %38 br label %8 8: ; preds = %7 %9 = load ptr, ptr %2, align 8 %10 = load i32, ptr %3, align 4 %11 = call i64 @cba_clear(ptr noundef %9, i32 noundef %10) %12 = icmp slt i64 %11, 0 br i1 %12, label %13, label %21 13: ; preds = %8 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %15 = load ptr, ptr %2, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %17, label %20 17: ; preds = %13 %18 = load ptr, ptr %2, align 8 %19 = call i32 @cba_free(ptr noundef %18) br label %20 20: ; preds = %17, %13 store i32 0, ptr %1, align 4 br label %51 21: ; preds = %8 br label %22 22: ; preds = %21 br label %23 23: ; preds = %22 %24 = load ptr, ptr %2, align 8 %25 = load i32, ptr %3, align 4 %26 = call i64 @cba_get(ptr noundef %24, i32 noundef %25) %27 = icmp eq i64 %26, 0 br i1 %27, label %36, label %28 28: ; preds = %23 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.3) %30 = load ptr, ptr %2, align 8 %31 = icmp ne ptr %30, null br i1 %31, label %32, label %35 32: ; preds = %28 %33 = load ptr, ptr %2, align 8 %34 = call i32 @cba_free(ptr noundef %33) br label %35 35: ; preds = %32, %28 store i32 0, ptr %1, align 4 br label %51 36: ; preds = %23 br label %37 37: ; preds = %36 br label %38 38: ; preds = %37 %39 = load i32, ptr %3, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %3, align 4 %41 = load i32, ptr %3, align 4 %42 = icmp slt i32 %41, 100 br i1 %42, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %38 br label %43 43: ; preds = %._crit_edge, %0 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %45 = load ptr, ptr %2, align 8 %46 = icmp ne ptr %45, null br i1 %46, label %47, label %50 47: ; preds = %43 %48 = load ptr, ptr %2, align 8 %49 = call i32 @cba_free(ptr noundef %48) br label %50 50: ; preds = %47, %43 store i32 1, ptr %1, align 4 br label %51 51: ; preds = %50, %35, %20 %52 = load i32, ptr %1, align 4 ret i32 %52 } declare ptr @cba_alloc(i32 noundef) #1 declare i64 @cba_clear(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @cba_free(ptr noundef) #1 declare i64 @cba_get(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/tmphpj9kp45.c' source_filename = "/tmp/tmphpj9kp45.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"\0A Entre com lado1 : \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"\0A Entre com lado2 : \0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"\0A Entre com lado3 : \0A\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"\0A Triangulo Equilatero\0A\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"\0A Triangulo Isosceles\0A\00", align 1 @.str.6 = private unnamed_addr constant [22 x i8] c"\0A Triangulo Escaleno\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 store i32 0, ptr %1, align 4 %5 = call i32 @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %7 = call i32 @printf(ptr noundef @.str.2) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %9 = call i32 @printf(ptr noundef @.str.3) %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %11 = load i32, ptr %2, align 4 %12 = load i32, ptr %3, align 4 %13 = icmp eq i32 %11, %12 br i1 %13, label %14, label %20 14: ; preds = %0 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp eq i32 %15, %16 br i1 %17, label %18, label %20 18: ; preds = %14 %19 = call i32 @printf(ptr noundef @.str.4) br label %37 20: ; preds = %14, %0 %21 = load i32, ptr %2, align 4 %22 = load i32, ptr %3, align 4 %23 = icmp eq i32 %21, %22 br i1 %23, label %32, label %24 24: ; preds = %20 %25 = load i32, ptr %2, align 4 %26 = load i32, ptr %4, align 4 %27 = icmp eq i32 %25, %26 br i1 %27, label %32, label %28 28: ; preds = %24 %29 = load i32, ptr %3, align 4 %30 = load i32, ptr %4, align 4 %31 = icmp eq i32 %29, %30 br i1 %31, label %32, label %34 32: ; preds = %28, %24, %20 %33 = call i32 @printf(ptr noundef @.str.5) br label %36 34: ; preds = %28 %35 = call i32 @printf(ptr noundef @.str.6) br label %36 36: ; preds = %34, %32 br label %37 37: ; preds = %36, %18 ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphpj9kp45.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"\0A Entre com lado1 : \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"\0A Entre com lado2 : \0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"\0A Entre com lado3 : \0A\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"\0A Triangulo Equilatero\0A\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"\0A Triangulo Isosceles\0A\00", align 1 @.str.6 = private unnamed_addr constant [22 x i8] c"\0A Triangulo Escaleno\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 store i32 0, ptr %1, align 4 %5 = call i32 @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %7 = call i32 @printf(ptr noundef @.str.2) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %9 = call i32 @printf(ptr noundef @.str.3) %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %11 = load i32, ptr %2, align 4 %12 = load i32, ptr %3, align 4 %13 = icmp eq i32 %11, %12 br i1 %13, label %14, label %20 14: ; preds = %0 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp eq i32 %15, %16 br i1 %17, label %18, label %20 18: ; preds = %14 %19 = call i32 @printf(ptr noundef @.str.4) br label %37 20: ; preds = %14, %0 %21 = load i32, ptr %2, align 4 %22 = load i32, ptr %3, align 4 %23 = icmp eq i32 %21, %22 br i1 %23, label %32, label %24 24: ; preds = %20 %25 = load i32, ptr %2, align 4 %26 = load i32, ptr %4, align 4 %27 = icmp eq i32 %25, %26 br i1 %27, label %32, label %28 28: ; preds = %24 %29 = load i32, ptr %3, align 4 %30 = load i32, ptr %4, align 4 %31 = icmp eq i32 %29, %30 br i1 %31, label %32, label %34 32: ; preds = %28, %24, %20 %33 = call i32 @printf(ptr noundef @.str.5) br label %36 34: ; preds = %28 %35 = call i32 @printf(ptr noundef @.str.6) br label %36 36: ; preds = %34, %32 br label %37 37: ; preds = %36, %18 ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfbf35wfd.c' source_filename = "/tmp/tmpfbf35wfd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sigint_handler(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr @stdout, align 4 %4 = call i32 @fflush(i32 noundef %3) ret void } declare i32 @fflush(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfbf35wfd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sigint_handler(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr @stdout, align 4 %4 = call i32 @fflush(i32 noundef %3) ret void } declare i32 @fflush(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkkwtpnd1.c' source_filename = "/tmp/tmpkkwtpnd1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [5 x i8] c"%ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = ptrtoint ptr %7 to i64 store i64 %8, ptr %6, align 8 %9 = load i64, ptr %6, align 8 %10 = call i32 @scanf(ptr noundef @.str, i64 noundef %9) %11 = load i64, ptr %7, align 8 %12 = call i32 @printf(ptr noundef @.str.1, i64 noundef %11) ret i32 0 } declare i32 @scanf(ptr noundef, 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkkwtpnd1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [5 x i8] c"%ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = ptrtoint ptr %7 to i64 store i64 %8, ptr %6, align 8 %9 = load i64, ptr %6, align 8 %10 = call i32 @scanf(ptr noundef @.str, i64 noundef %9) %11 = load i64, ptr %7, align 8 %12 = call i32 @printf(ptr noundef @.str.1, i64 noundef %11) ret i32 0 } declare i32 @scanf(ptr noundef, 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"}
; ModuleID = '/tmp/tmpnd71wih1.c' source_filename = "/tmp/tmpnd71wih1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @transform_1d_even_l2(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca [8 x i32], align 16 %14 = alloca [8 x i32], align 16 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store ptr %4, ptr %10, align 8 %15 = load i32, ptr %8, align 4 %16 = ashr i32 %15, 2 store i32 %16, ptr %12, align 4 %17 = load ptr, ptr %6, align 8 %18 = load ptr, ptr %7, align 8 %19 = load i32, ptr %8, align 4 %20 = load i32, ptr %9, align 4 %21 = getelementptr inbounds [8 x i32], ptr %14, i64 0, i64 0 %22 = call i32 @transform_1d_odd_l3(ptr noundef %17, ptr noundef %18, i32 noundef %19, i32 noundef %20, ptr noundef %21) %23 = load ptr, ptr %6, align 8 %24 = load ptr, ptr %7, align 8 %25 = load i32, ptr %8, align 4 %26 = load i32, ptr %9, align 4 %27 = getelementptr inbounds [8 x i32], ptr %13, i64 0, i64 0 %28 = call i32 @transform_1d_even_l3(ptr noundef %23, ptr noundef %24, i32 noundef %25, i32 noundef %26, ptr noundef %27) store i32 0, ptr %11, align 4 br label %29 29: ; preds = %48, %5 %30 = load i32, ptr %11, align 4 %31 = load i32, ptr %12, align 4 %32 = sdiv i32 %31, 2 %33 = icmp slt i32 %30, %32 br i1 %33, label %34, label %51 34: ; preds = %29 %35 = load i32, ptr %11, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [8 x i32], ptr %13, i64 0, i64 %36 %38 = load i32, ptr %37, align 4 %39 = load i32, ptr %11, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [8 x i32], ptr %14, i64 0, i64 %40 %42 = load i32, ptr %41, align 4 %43 = add nsw i32 %38, %42 %44 = load ptr, ptr %10, align 8 %45 = load i32, ptr %11, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %44, i64 %46 store i32 %43, ptr %47, align 4 br label %48 48: ; preds = %34 %49 = load i32, ptr %11, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %11, align 4 br label %29, !llvm.loop !6 51: ; preds = %29 %52 = load i32, ptr %12, align 4 %53 = sdiv i32 %52, 2 store i32 %53, ptr %11, align 4 br label %54 54: ; preds = %78, %51 %55 = load i32, ptr %11, align 4 %56 = load i32, ptr %12, align 4 %57 = icmp slt i32 %55, %56 br i1 %57, label %58, label %81 58: ; preds = %54 %59 = load i32, ptr %12, align 4 %60 = sub nsw i32 %59, 1 %61 = load i32, ptr %11, align 4 %62 = sub nsw i32 %60, %61 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds [8 x i32], ptr %13, i64 0, i64 %63 %65 = load i32, ptr %64, align 4 %66 = load i32, ptr %12, align 4 %67 = sub nsw i32 %66, 1 %68 = load i32, ptr %11, align 4 %69 = sub nsw i32 %67, %68 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds [8 x i32], ptr %14, i64 0, i64 %70 %72 = load i32, ptr %71, align 4 %73 = sub nsw i32 %65, %72 %74 = load ptr, ptr %10, align 8 %75 = load i32, ptr %11, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds i32, ptr %74, i64 %76 store i32 %73, ptr %77, align 4 br label %78 78: ; preds = %58 %79 = load i32, ptr %11, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %11, align 4 br label %54, !llvm.loop !8 81: ; preds = %54 ret void } declare i32 @transform_1d_odd_l3(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @transform_1d_even_l3(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnd71wih1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @transform_1d_even_l2(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca [8 x i32], align 16 %14 = alloca [8 x i32], align 16 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store ptr %4, ptr %10, align 8 %15 = load i32, ptr %8, align 4 %16 = ashr i32 %15, 2 store i32 %16, ptr %12, align 4 %17 = load ptr, ptr %6, align 8 %18 = load ptr, ptr %7, align 8 %19 = load i32, ptr %8, align 4 %20 = load i32, ptr %9, align 4 %21 = getelementptr inbounds [8 x i32], ptr %14, i64 0, i64 0 %22 = call i32 @transform_1d_odd_l3(ptr noundef %17, ptr noundef %18, i32 noundef %19, i32 noundef %20, ptr noundef %21) %23 = load ptr, ptr %6, align 8 %24 = load ptr, ptr %7, align 8 %25 = load i32, ptr %8, align 4 %26 = load i32, ptr %9, align 4 %27 = getelementptr inbounds [8 x i32], ptr %13, i64 0, i64 0 %28 = call i32 @transform_1d_even_l3(ptr noundef %23, ptr noundef %24, i32 noundef %25, i32 noundef %26, ptr noundef %27) store i32 0, ptr %11, align 4 %29 = load i32, ptr %11, align 4 %30 = load i32, ptr %12, align 4 %31 = sdiv i32 %30, 2 %32 = icmp slt i32 %29, %31 br i1 %32, label %.lr.ph, label %54 .lr.ph: ; preds = %5 br label %33 33: ; preds = %.lr.ph, %47 %34 = load i32, ptr %11, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [8 x i32], ptr %13, i64 0, i64 %35 %37 = load i32, ptr %36, align 4 %38 = load i32, ptr %11, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [8 x i32], ptr %14, i64 0, i64 %39 %41 = load i32, ptr %40, align 4 %42 = add nsw i32 %37, %41 %43 = load ptr, ptr %10, align 8 %44 = load i32, ptr %11, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %43, i64 %45 store i32 %42, ptr %46, align 4 br label %47 47: ; preds = %33 %48 = load i32, ptr %11, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %11, align 4 %50 = load i32, ptr %11, align 4 %51 = load i32, ptr %12, align 4 %52 = sdiv i32 %51, 2 %53 = icmp slt i32 %50, %52 br i1 %53, label %33, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %47 br label %54 54: ; preds = %._crit_edge, %5 %55 = load i32, ptr %12, align 4 %56 = sdiv i32 %55, 2 store i32 %56, ptr %11, align 4 %57 = load i32, ptr %11, align 4 %58 = load i32, ptr %12, align 4 %59 = icmp slt i32 %57, %58 br i1 %59, label %.lr.ph2, label %86 .lr.ph2: ; preds = %54 br label %60 60: ; preds = %.lr.ph2, %80 %61 = load i32, ptr %12, align 4 %62 = sub nsw i32 %61, 1 %63 = load i32, ptr %11, align 4 %64 = sub nsw i32 %62, %63 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds [8 x i32], ptr %13, i64 0, i64 %65 %67 = load i32, ptr %66, align 4 %68 = load i32, ptr %12, align 4 %69 = sub nsw i32 %68, 1 %70 = load i32, ptr %11, align 4 %71 = sub nsw i32 %69, %70 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [8 x i32], ptr %14, i64 0, i64 %72 %74 = load i32, ptr %73, align 4 %75 = sub nsw i32 %67, %74 %76 = load ptr, ptr %10, align 8 %77 = load i32, ptr %11, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds i32, ptr %76, i64 %78 store i32 %75, ptr %79, align 4 br label %80 80: ; preds = %60 %81 = load i32, ptr %11, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %11, align 4 %83 = load i32, ptr %11, align 4 %84 = load i32, ptr %12, align 4 %85 = icmp slt i32 %83, %84 br i1 %85, label %60, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %80 br label %86 86: ; preds = %._crit_edge3, %54 ret void } declare i32 @transform_1d_odd_l3(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @transform_1d_even_l3(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpflmbdv2c.c' source_filename = "/tmp/tmpflmbdv2c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.filename = private unnamed_addr constant [10 x i8] c"input.txt\00", align 1 @__const.main.riga = private unnamed_addr constant [6 x i8] c"a b c\00", align 1 @.str = private unnamed_addr constant [32 x i8] c"Apro il file %s in lettura (r)\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [48 x i8] c"File aperto correttamente.\0ALeggo il contenuto:\0A\00", align 1 @EOF = dso_local global i8 0, align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"\0AHo letto %d caratteri\0A\00", align 1 @.str.4 = private unnamed_addr constant [43 x i8] c"Apro il file %s in lettura/scrittura (r+)\0A\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"r+\00", align 1 @.str.6 = private unnamed_addr constant [12 x i8] c"Scrivo: %s\0A\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.8 = private unnamed_addr constant [21 x i8] c"Leggo il contenuto:\0A\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 @.str.9 = private unnamed_addr constant [43 x i8] c"Apro il file %s in lettura/scrittura (w+)\0A\00", align 1 @.str.10 = private unnamed_addr constant [3 x i8] c"w+\00", align 1 @.str.11 = private unnamed_addr constant [43 x i8] c"Apro il file %s in lettura/scrittura (a+)\0A\00", align 1 @.str.12 = private unnamed_addr constant [3 x i8] c"a+\00", align 1 @.str.13 = private unnamed_addr constant [4 x i8] c" %s\00", align 1 @.str.14 = private unnamed_addr constant [44 x i8] c"Errore apertura. Forse il file non esiste.\0A\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 [10 x i8], align 1 %4 = alloca [6 x i8], align 1 %5 = alloca [100 x i8], align 16 %6 = alloca i8, align 1 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.filename, i64 10, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.main.riga, i64 6, i1 false) store i32 0, ptr %7, align 4 %8 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %8) %10 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str.1) store ptr %11, ptr %2, align 8 %12 = load ptr, ptr %2, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %123 14: ; preds = %0 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %16 16: ; preds = %23, %14 %17 = load ptr, ptr %2, align 8 %18 = call signext i8 @getc(ptr noundef %17) store i8 %18, ptr %6, align 1 %19 = sext i8 %18 to i32 %20 = load i8, ptr @EOF, align 1 %21 = sext i8 %20 to i32 %22 = icmp ne i32 %19, %21 br i1 %22, label %23, label %28 23: ; preds = %16 %24 = load i8, ptr %6, align 1 %25 = call i32 @putchar(i8 noundef signext %24) %26 = load i32, ptr %7, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %7, align 4 br label %16, !llvm.loop !6 28: ; preds = %16 %29 = load i32, ptr %7, align 4 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %29) %31 = load ptr, ptr %2, align 8 %32 = call i32 @fclose(ptr noundef %31) %33 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %33) %35 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %36 = call ptr @fopen(ptr noundef %35, ptr noundef @.str.5) store ptr %36, ptr %2, align 8 %37 = getelementptr inbounds [6 x i8], ptr %4, i64 0, i64 0 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %37) %39 = load ptr, ptr %2, align 8 %40 = getelementptr inbounds [6 x i8], ptr %4, i64 0, i64 0 %41 = call i32 @fprintf(ptr noundef %39, ptr noundef @.str.7, ptr noundef %40) %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %43 = load ptr, ptr %2, align 8 %44 = load i32, ptr @SEEK_SET, align 4 %45 = call i32 @fseek(ptr noundef %43, i32 noundef 0, i32 noundef %44) store i32 0, ptr %7, align 4 br label %46 46: ; preds = %53, %28 %47 = load ptr, ptr %2, align 8 %48 = call signext i8 @getc(ptr noundef %47) store i8 %48, ptr %6, align 1 %49 = sext i8 %48 to i32 %50 = load i8, ptr @EOF, align 1 %51 = sext i8 %50 to i32 %52 = icmp ne i32 %49, %51 br i1 %52, label %53, label %58 53: ; preds = %46 %54 = load i8, ptr %6, align 1 %55 = call i32 @putchar(i8 noundef signext %54) %56 = load i32, ptr %7, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %7, align 4 br label %46, !llvm.loop !8 58: ; preds = %46 %59 = load i32, ptr %7, align 4 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %59) %61 = load ptr, ptr %2, align 8 %62 = call i32 @fclose(ptr noundef %61) %63 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %63) %65 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %66 = call ptr @fopen(ptr noundef %65, ptr noundef @.str.10) store ptr %66, ptr %2, align 8 %67 = getelementptr inbounds [6 x i8], ptr %4, i64 0, i64 0 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %67) %69 = load ptr, ptr %2, align 8 %70 = getelementptr inbounds [6 x i8], ptr %4, i64 0, i64 0 %71 = call i32 @fprintf(ptr noundef %69, ptr noundef @.str.7, ptr noundef %70) %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %73 = load ptr, ptr %2, align 8 %74 = load i32, ptr @SEEK_SET, align 4 %75 = call i32 @fseek(ptr noundef %73, i32 noundef 0, i32 noundef %74) store i32 0, ptr %7, align 4 br label %76 76: ; preds = %83, %58 %77 = load ptr, ptr %2, align 8 %78 = call signext i8 @getc(ptr noundef %77) store i8 %78, ptr %6, align 1 %79 = sext i8 %78 to i32 %80 = load i8, ptr @EOF, align 1 %81 = sext i8 %80 to i32 %82 = icmp ne i32 %79, %81 br i1 %82, label %83, label %88 83: ; preds = %76 %84 = load i8, ptr %6, align 1 %85 = call i32 @putchar(i8 noundef signext %84) %86 = load i32, ptr %7, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %7, align 4 br label %76, !llvm.loop !9 88: ; preds = %76 %89 = load i32, ptr %7, align 4 %90 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %89) %91 = load ptr, ptr %2, align 8 %92 = call i32 @fclose(ptr noundef %91) %93 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %94 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %93) %95 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %96 = call ptr @fopen(ptr noundef %95, ptr noundef @.str.12) store ptr %96, ptr %2, align 8 %97 = getelementptr inbounds [6 x i8], ptr %4, i64 0, i64 0 %98 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %97) %99 = load ptr, ptr %2, align 8 %100 = getelementptr inbounds [6 x i8], ptr %4, i64 0, i64 0 %101 = call i32 @fprintf(ptr noundef %99, ptr noundef @.str.13, ptr noundef %100) %102 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %103 = load ptr, ptr %2, align 8 %104 = load i32, ptr @SEEK_SET, align 4 %105 = call i32 @fseek(ptr noundef %103, i32 noundef 0, i32 noundef %104) store i32 0, ptr %7, align 4 br label %106 106: ; preds = %113, %88 %107 = load ptr, ptr %2, align 8 %108 = call signext i8 @getc(ptr noundef %107) store i8 %108, ptr %6, align 1 %109 = sext i8 %108 to i32 %110 = load i8, ptr @EOF, align 1 %111 = sext i8 %110 to i32 %112 = icmp ne i32 %109, %111 br i1 %112, label %113, label %118 113: ; preds = %106 %114 = load i8, ptr %6, align 1 %115 = call i32 @putchar(i8 noundef signext %114) %116 = load i32, ptr %7, align 4 %117 = add nsw i32 %116, 1 store i32 %117, ptr %7, align 4 br label %106, !llvm.loop !10 118: ; preds = %106 %119 = load i32, ptr %7, align 4 %120 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %119) %121 = load ptr, ptr %2, align 8 %122 = call i32 @fclose(ptr noundef %121) br label %125 123: ; preds = %0 %124 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) br label %125 125: ; preds = %123, %118 %126 = load i32, ptr %1, align 4 ret i32 %126 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare signext i8 @getc(ptr noundef) #2 declare i32 @putchar(i8 noundef signext) #2 declare i32 @fclose(ptr noundef) #2 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !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/tmpflmbdv2c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.filename = private unnamed_addr constant [10 x i8] c"input.txt\00", align 1 @__const.main.riga = private unnamed_addr constant [6 x i8] c"a b c\00", align 1 @.str = private unnamed_addr constant [32 x i8] c"Apro il file %s in lettura (r)\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [48 x i8] c"File aperto correttamente.\0ALeggo il contenuto:\0A\00", align 1 @EOF = dso_local global i8 0, align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"\0AHo letto %d caratteri\0A\00", align 1 @.str.4 = private unnamed_addr constant [43 x i8] c"Apro il file %s in lettura/scrittura (r+)\0A\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"r+\00", align 1 @.str.6 = private unnamed_addr constant [12 x i8] c"Scrivo: %s\0A\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.8 = private unnamed_addr constant [21 x i8] c"Leggo il contenuto:\0A\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 @.str.9 = private unnamed_addr constant [43 x i8] c"Apro il file %s in lettura/scrittura (w+)\0A\00", align 1 @.str.10 = private unnamed_addr constant [3 x i8] c"w+\00", align 1 @.str.11 = private unnamed_addr constant [43 x i8] c"Apro il file %s in lettura/scrittura (a+)\0A\00", align 1 @.str.12 = private unnamed_addr constant [3 x i8] c"a+\00", align 1 @.str.13 = private unnamed_addr constant [4 x i8] c" %s\00", align 1 @.str.14 = private unnamed_addr constant [44 x i8] c"Errore apertura. Forse il file non esiste.\0A\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 [10 x i8], align 1 %4 = alloca [6 x i8], align 1 %5 = alloca [100 x i8], align 16 %6 = alloca i8, align 1 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.filename, i64 10, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.main.riga, i64 6, i1 false) store i32 0, ptr %7, align 4 %8 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %8) %10 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str.1) store ptr %11, ptr %2, align 8 %12 = load ptr, ptr %2, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %143 14: ; preds = %0 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %16 = load ptr, ptr %2, align 8 %17 = call signext i8 @getc(ptr noundef %16) store i8 %17, ptr %6, align 1 %18 = sext i8 %17 to i32 %19 = load i8, ptr @EOF, align 1 %20 = sext i8 %19 to i32 %21 = icmp ne i32 %18, %20 br i1 %21, label %.lr.ph, label %33 .lr.ph: ; preds = %14 br label %22 22: ; preds = %.lr.ph, %22 %23 = load i8, ptr %6, align 1 %24 = call i32 @putchar(i8 noundef signext %23) %25 = load i32, ptr %7, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %7, align 4 %27 = load ptr, ptr %2, align 8 %28 = call signext i8 @getc(ptr noundef %27) store i8 %28, ptr %6, align 1 %29 = sext i8 %28 to i32 %30 = load i8, ptr @EOF, align 1 %31 = sext i8 %30 to i32 %32 = icmp ne i32 %29, %31 br i1 %32, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %33 33: ; preds = %._crit_edge, %14 %34 = load i32, ptr %7, align 4 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %34) %36 = load ptr, ptr %2, align 8 %37 = call i32 @fclose(ptr noundef %36) %38 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %38) %40 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %41 = call ptr @fopen(ptr noundef %40, ptr noundef @.str.5) store ptr %41, ptr %2, align 8 %42 = getelementptr inbounds [6 x i8], ptr %4, i64 0, i64 0 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %42) %44 = load ptr, ptr %2, align 8 %45 = getelementptr inbounds [6 x i8], ptr %4, i64 0, i64 0 %46 = call i32 @fprintf(ptr noundef %44, ptr noundef @.str.7, ptr noundef %45) %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %48 = load ptr, ptr %2, align 8 %49 = load i32, ptr @SEEK_SET, align 4 %50 = call i32 @fseek(ptr noundef %48, i32 noundef 0, i32 noundef %49) store i32 0, ptr %7, align 4 %51 = load ptr, ptr %2, align 8 %52 = call signext i8 @getc(ptr noundef %51) store i8 %52, ptr %6, align 1 %53 = sext i8 %52 to i32 %54 = load i8, ptr @EOF, align 1 %55 = sext i8 %54 to i32 %56 = icmp ne i32 %53, %55 br i1 %56, label %.lr.ph2, label %68 .lr.ph2: ; preds = %33 br label %57 57: ; preds = %.lr.ph2, %57 %58 = load i8, ptr %6, align 1 %59 = call i32 @putchar(i8 noundef signext %58) %60 = load i32, ptr %7, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %7, align 4 %62 = load ptr, ptr %2, align 8 %63 = call signext i8 @getc(ptr noundef %62) store i8 %63, ptr %6, align 1 %64 = sext i8 %63 to i32 %65 = load i8, ptr @EOF, align 1 %66 = sext i8 %65 to i32 %67 = icmp ne i32 %64, %66 br i1 %67, label %57, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %57 br label %68 68: ; preds = %._crit_edge3, %33 %69 = load i32, ptr %7, align 4 %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %69) %71 = load ptr, ptr %2, align 8 %72 = call i32 @fclose(ptr noundef %71) %73 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %73) %75 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %76 = call ptr @fopen(ptr noundef %75, ptr noundef @.str.10) store ptr %76, ptr %2, align 8 %77 = getelementptr inbounds [6 x i8], ptr %4, i64 0, i64 0 %78 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %77) %79 = load ptr, ptr %2, align 8 %80 = getelementptr inbounds [6 x i8], ptr %4, i64 0, i64 0 %81 = call i32 @fprintf(ptr noundef %79, ptr noundef @.str.7, ptr noundef %80) %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %83 = load ptr, ptr %2, align 8 %84 = load i32, ptr @SEEK_SET, align 4 %85 = call i32 @fseek(ptr noundef %83, i32 noundef 0, i32 noundef %84) store i32 0, ptr %7, align 4 %86 = load ptr, ptr %2, align 8 %87 = call signext i8 @getc(ptr noundef %86) store i8 %87, ptr %6, align 1 %88 = sext i8 %87 to i32 %89 = load i8, ptr @EOF, align 1 %90 = sext i8 %89 to i32 %91 = icmp ne i32 %88, %90 br i1 %91, label %.lr.ph5, label %103 .lr.ph5: ; preds = %68 br label %92 92: ; preds = %.lr.ph5, %92 %93 = load i8, ptr %6, align 1 %94 = call i32 @putchar(i8 noundef signext %93) %95 = load i32, ptr %7, align 4 %96 = add nsw i32 %95, 1 store i32 %96, ptr %7, align 4 %97 = load ptr, ptr %2, align 8 %98 = call signext i8 @getc(ptr noundef %97) store i8 %98, ptr %6, align 1 %99 = sext i8 %98 to i32 %100 = load i8, ptr @EOF, align 1 %101 = sext i8 %100 to i32 %102 = icmp ne i32 %99, %101 br i1 %102, label %92, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %92 br label %103 103: ; preds = %._crit_edge6, %68 %104 = load i32, ptr %7, align 4 %105 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %104) %106 = load ptr, ptr %2, align 8 %107 = call i32 @fclose(ptr noundef %106) %108 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %108) %110 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %111 = call ptr @fopen(ptr noundef %110, ptr noundef @.str.12) store ptr %111, ptr %2, align 8 %112 = getelementptr inbounds [6 x i8], ptr %4, i64 0, i64 0 %113 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %112) %114 = load ptr, ptr %2, align 8 %115 = getelementptr inbounds [6 x i8], ptr %4, i64 0, i64 0 %116 = call i32 @fprintf(ptr noundef %114, ptr noundef @.str.13, ptr noundef %115) %117 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %118 = load ptr, ptr %2, align 8 %119 = load i32, ptr @SEEK_SET, align 4 %120 = call i32 @fseek(ptr noundef %118, i32 noundef 0, i32 noundef %119) store i32 0, ptr %7, align 4 %121 = load ptr, ptr %2, align 8 %122 = call signext i8 @getc(ptr noundef %121) store i8 %122, ptr %6, align 1 %123 = sext i8 %122 to i32 %124 = load i8, ptr @EOF, align 1 %125 = sext i8 %124 to i32 %126 = icmp ne i32 %123, %125 br i1 %126, label %.lr.ph8, label %138 .lr.ph8: ; preds = %103 br label %127 127: ; preds = %.lr.ph8, %127 %128 = load i8, ptr %6, align 1 %129 = call i32 @putchar(i8 noundef signext %128) %130 = load i32, ptr %7, align 4 %131 = add nsw i32 %130, 1 store i32 %131, ptr %7, align 4 %132 = load ptr, ptr %2, align 8 %133 = call signext i8 @getc(ptr noundef %132) store i8 %133, ptr %6, align 1 %134 = sext i8 %133 to i32 %135 = load i8, ptr @EOF, align 1 %136 = sext i8 %135 to i32 %137 = icmp ne i32 %134, %136 br i1 %137, label %127, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %127 br label %138 138: ; preds = %._crit_edge9, %103 %139 = load i32, ptr %7, align 4 %140 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %139) %141 = load ptr, ptr %2, align 8 %142 = call i32 @fclose(ptr noundef %141) br label %145 143: ; preds = %0 %144 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) br label %145 145: ; preds = %143, %138 %146 = load i32, ptr %1, align 4 ret i32 %146 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare signext i8 @getc(ptr noundef) #2 declare i32 @putchar(i8 noundef signext) #2 declare i32 @fclose(ptr noundef) #2 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmp7m_dbrjh.c' source_filename = "/tmp/tmp7m_dbrjh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @findMedianSortedArrays(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 %12 = load i32, ptr %7, align 4 %13 = load i32, ptr %9, align 4 %14 = add nsw i32 %12, %13 %15 = srem i32 %14, 2 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %44 17: ; preds = %4 %18 = load ptr, ptr %6, align 8 %19 = load i32, ptr %7, align 4 %20 = load ptr, ptr %8, align 8 %21 = load i32, ptr %9, align 4 %22 = load i32, ptr %7, align 4 %23 = load i32, ptr %9, align 4 %24 = add nsw i32 %22, %23 %25 = sdiv i32 %24, 2 %26 = call double @kth(ptr noundef %18, i32 noundef %19, ptr noundef %20, i32 noundef %21, i32 noundef %25) %27 = fptosi double %26 to i32 store i32 %27, ptr %10, align 4 %28 = load ptr, ptr %6, align 8 %29 = load i32, ptr %7, align 4 %30 = load ptr, ptr %8, align 8 %31 = load i32, ptr %9, align 4 %32 = load i32, ptr %7, align 4 %33 = load i32, ptr %9, align 4 %34 = add nsw i32 %32, %33 %35 = sdiv i32 %34, 2 %36 = add nsw i32 %35, 1 %37 = call double @kth(ptr noundef %28, i32 noundef %29, ptr noundef %30, i32 noundef %31, i32 noundef %36) %38 = fptosi double %37 to i32 store i32 %38, ptr %11, align 4 %39 = load i32, ptr %10, align 4 %40 = load i32, ptr %11, align 4 %41 = add nsw i32 %39, %40 %42 = sitofp i32 %41 to double %43 = fdiv double %42, 2.000000e+00 store double %43, ptr %5, align 8 br label %55 44: ; preds = %4 %45 = load ptr, ptr %6, align 8 %46 = load i32, ptr %7, align 4 %47 = load ptr, ptr %8, align 8 %48 = load i32, ptr %9, align 4 %49 = load i32, ptr %7, align 4 %50 = load i32, ptr %9, align 4 %51 = add nsw i32 %49, %50 %52 = sdiv i32 %51, 2 %53 = add nsw i32 %52, 1 %54 = call double @kth(ptr noundef %45, i32 noundef %46, ptr noundef %47, i32 noundef %48, i32 noundef %53) store double %54, ptr %5, align 8 br label %55 55: ; preds = %44, %17 %56 = load double, ptr %5, align 8 ret double %56 } declare double @kth(ptr noundef, i32 noundef, 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/tmp7m_dbrjh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @findMedianSortedArrays(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 %12 = load i32, ptr %7, align 4 %13 = load i32, ptr %9, align 4 %14 = add nsw i32 %12, %13 %15 = srem i32 %14, 2 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %44 17: ; preds = %4 %18 = load ptr, ptr %6, align 8 %19 = load i32, ptr %7, align 4 %20 = load ptr, ptr %8, align 8 %21 = load i32, ptr %9, align 4 %22 = load i32, ptr %7, align 4 %23 = load i32, ptr %9, align 4 %24 = add nsw i32 %22, %23 %25 = sdiv i32 %24, 2 %26 = call double @kth(ptr noundef %18, i32 noundef %19, ptr noundef %20, i32 noundef %21, i32 noundef %25) %27 = fptosi double %26 to i32 store i32 %27, ptr %10, align 4 %28 = load ptr, ptr %6, align 8 %29 = load i32, ptr %7, align 4 %30 = load ptr, ptr %8, align 8 %31 = load i32, ptr %9, align 4 %32 = load i32, ptr %7, align 4 %33 = load i32, ptr %9, align 4 %34 = add nsw i32 %32, %33 %35 = sdiv i32 %34, 2 %36 = add nsw i32 %35, 1 %37 = call double @kth(ptr noundef %28, i32 noundef %29, ptr noundef %30, i32 noundef %31, i32 noundef %36) %38 = fptosi double %37 to i32 store i32 %38, ptr %11, align 4 %39 = load i32, ptr %10, align 4 %40 = load i32, ptr %11, align 4 %41 = add nsw i32 %39, %40 %42 = sitofp i32 %41 to double %43 = fdiv double %42, 2.000000e+00 store double %43, ptr %5, align 8 br label %55 44: ; preds = %4 %45 = load ptr, ptr %6, align 8 %46 = load i32, ptr %7, align 4 %47 = load ptr, ptr %8, align 8 %48 = load i32, ptr %9, align 4 %49 = load i32, ptr %7, align 4 %50 = load i32, ptr %9, align 4 %51 = add nsw i32 %49, %50 %52 = sdiv i32 %51, 2 %53 = add nsw i32 %52, 1 %54 = call double @kth(ptr noundef %45, i32 noundef %46, ptr noundef %47, i32 noundef %48, i32 noundef %53) store double %54, ptr %5, align 8 br label %55 55: ; preds = %44, %17 %56 = load double, ptr %5, align 8 ret double %56 } declare double @kth(ptr noundef, i32 noundef, 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/tmp9dwm7zeo.c' source_filename = "/tmp/tmp9dwm7zeo.c" target datalayout = "e-m:e-p270: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/tmp9dwm7zeo.c" target datalayout = "e-m:e-p270: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/tmpzz68fdmj.c' source_filename = "/tmp/tmpzz68fdmj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"RT28xx_DIR\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"CHIPSET\00", align 1 @.str.2 = private unnamed_addr constant [44 x i8] c"Environment value \22RT28xx_DIR\22 not export \0A\00", align 1 @.str.3 = private unnamed_addr constant [41 x i8] c"Environment value \22CHIPSET\22 not export \0A\00", align 1 @.str.4 = private unnamed_addr constant [45 x i8] c"Environment value \22RT28xx_DIR\22 is too long!\0A\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"2860\00", align 1 @.str.6 = private unnamed_addr constant [19 x i8] c"/common/rt2860.bin\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"2870\00", align 1 @.str.8 = private unnamed_addr constant [19 x i8] c"/common/rt2870.bin\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"3090\00", align 1 @.str.10 = private unnamed_addr constant [5 x i8] c"2070\00", align 1 @.str.11 = private unnamed_addr constant [5 x i8] c"3070\00", align 1 @.str.12 = private unnamed_addr constant [5 x i8] c"3572\00", align 1 @.str.13 = private unnamed_addr constant [5 x i8] c"3370\00", align 1 @.str.14 = private unnamed_addr constant [5 x i8] c"5370\00", align 1 @.str.15 = private unnamed_addr constant [4 x i8] c"USB\00", align 1 @.str.16 = private unnamed_addr constant [4 x i8] c"PCI\00", align 1 @.str.17 = private unnamed_addr constant [20 x i8] c"/include/firmware.h\00", align 1 @.str.18 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.19 = private unnamed_addr constant [21 x i8] c"Can't read file %s \0A\00", align 1 @.str.20 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.21 = private unnamed_addr constant [27 x i8] c"Can't open write file %s \0A\00", align 1 @.str.22 = private unnamed_addr constant [41 x i8] c"/* AUTO GEN PLEASE DO NOT MODIFY IT */ \0A\00", align 1 @.str.23 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.24 = private unnamed_addr constant [29 x i8] c"UCHAR FirmwareImage [] = { \0A\00", align 1 @.str.25 = private unnamed_addr constant [3 x i8] c"0x\00", align 1 @.str.26 = private unnamed_addr constant [5 x i8] c"%02x\00", align 1 @.str.27 = private unnamed_addr constant [3 x i8] c", \00", align 1 @.str.28 = private unnamed_addr constant [5 x i8] c"} ;\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca [1024 x i8], align 16 %9 = alloca [1024 x i8], align 16 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i8, align 1 %14 = alloca [3 x i8], align 1 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 %12, align 4 %15 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %16 = call i32 @memset(ptr noundef %15, i32 noundef 0, i32 noundef 1024) %17 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %18 = call i32 @memset(ptr noundef %17, i32 noundef 0, i32 noundef 1024) %19 = call i64 @getenv(ptr noundef @.str) %20 = inttoptr i64 %19 to ptr store ptr %20, ptr %10, align 8 %21 = call i64 @getenv(ptr noundef @.str.1) %22 = inttoptr i64 %21 to ptr store ptr %22, ptr %11, align 8 %23 = load ptr, ptr %10, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %27, label %25 25: ; preds = %2 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 -1, ptr %3, align 4 br label %192 27: ; preds = %2 %28 = load ptr, ptr %11, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %32, label %30 30: ; preds = %27 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 -1, ptr %3, align 4 br label %192 32: ; preds = %27 %33 = load ptr, ptr %10, align 8 %34 = call i32 @strlen(ptr noundef %33) %35 = sext i32 %34 to i64 %36 = icmp ugt i64 %35, 924 br i1 %36, label %37, label %39 37: ; preds = %32 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 -1, ptr %3, align 4 br label %192 39: ; preds = %32 %40 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %41 = load ptr, ptr %10, align 8 %42 = call i32 @strcat(ptr noundef %40, ptr noundef %41) %43 = load ptr, ptr %11, align 8 %44 = call i64 @strncmp(ptr noundef %43, ptr noundef @.str.5, i32 noundef 4) %45 = icmp eq i64 %44, 0 br i1 %45, label %46, label %49 46: ; preds = %39 %47 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %48 = call i32 @strcat(ptr noundef %47, ptr noundef @.str.6) br label %124 49: ; preds = %39 %50 = load ptr, ptr %11, align 8 %51 = call i64 @strncmp(ptr noundef %50, ptr noundef @.str.7, i32 noundef 4) %52 = icmp eq i64 %51, 0 br i1 %52, label %53, label %56 53: ; preds = %49 %54 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %55 = call i32 @strcat(ptr noundef %54, ptr noundef @.str.8) br label %123 56: ; preds = %49 %57 = load ptr, ptr %11, align 8 %58 = call i64 @strncmp(ptr noundef %57, ptr noundef @.str.9, i32 noundef 4) %59 = icmp eq i64 %58, 0 br i1 %59, label %60, label %63 60: ; preds = %56 %61 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %62 = call i32 @strcat(ptr noundef %61, ptr noundef @.str.6) br label %122 63: ; preds = %56 %64 = load ptr, ptr %11, align 8 %65 = call i64 @strncmp(ptr noundef %64, ptr noundef @.str.10, i32 noundef 4) %66 = icmp eq i64 %65, 0 br i1 %66, label %67, label %70 67: ; preds = %63 %68 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %69 = call i32 @strcat(ptr noundef %68, ptr noundef @.str.8) br label %121 70: ; preds = %63 %71 = load ptr, ptr %11, align 8 %72 = call i64 @strncmp(ptr noundef %71, ptr noundef @.str.11, i32 noundef 4) %73 = icmp eq i64 %72, 0 br i1 %73, label %74, label %77 74: ; preds = %70 %75 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %76 = call i32 @strcat(ptr noundef %75, ptr noundef @.str.8) br label %120 77: ; preds = %70 %78 = load ptr, ptr %11, align 8 %79 = call i64 @strncmp(ptr noundef %78, ptr noundef @.str.12, i32 noundef 4) %80 = icmp eq i64 %79, 0 br i1 %80, label %81, label %84 81: ; preds = %77 %82 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %83 = call i32 @strcat(ptr noundef %82, ptr noundef @.str.8) br label %119 84: ; preds = %77 %85 = load ptr, ptr %11, align 8 %86 = call i64 @strncmp(ptr noundef %85, ptr noundef @.str.13, i32 noundef 4) %87 = icmp eq i64 %86, 0 br i1 %87, label %88, label %91 88: ; preds = %84 %89 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %90 = call i32 @strcat(ptr noundef %89, ptr noundef @.str.8) br label %118 91: ; preds = %84 %92 = load ptr, ptr %11, align 8 %93 = call i64 @strncmp(ptr noundef %92, ptr noundef @.str.14, i32 noundef 4) %94 = icmp eq i64 %93, 0 br i1 %94, label %95, label %98 95: ; preds = %91 %96 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %97 = call i32 @strcat(ptr noundef %96, ptr noundef @.str.8) br label %117 98: ; preds = %91 %99 = load ptr, ptr %11, align 8 %100 = call i64 @strncmp(ptr noundef %99, ptr noundef @.str.15, i32 noundef 3) %101 = icmp eq i64 %100, 0 br i1 %101, label %102, label %105 102: ; preds = %98 %103 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %104 = call i32 @strcat(ptr noundef %103, ptr noundef @.str.8) br label %116 105: ; preds = %98 %106 = load ptr, ptr %11, align 8 %107 = call i64 @strncmp(ptr noundef %106, ptr noundef @.str.16, i32 noundef 3) %108 = icmp eq i64 %107, 0 br i1 %108, label %109, label %112 109: ; preds = %105 %110 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %111 = call i32 @strcat(ptr noundef %110, ptr noundef @.str.6) br label %115 112: ; preds = %105 %113 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %114 = call i32 @strcat(ptr noundef %113, ptr noundef @.str.6) br label %115 115: ; preds = %112, %109 br label %116 116: ; preds = %115, %102 br label %117 117: ; preds = %116, %95 br label %118 118: ; preds = %117, %88 br label %119 119: ; preds = %118, %81 br label %120 120: ; preds = %119, %74 br label %121 121: ; preds = %120, %67 br label %122 122: ; preds = %121, %60 br label %123 123: ; preds = %122, %53 br label %124 124: ; preds = %123, %46 %125 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %126 = load ptr, ptr %10, align 8 %127 = call i32 @strcat(ptr noundef %125, ptr noundef %126) %128 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %129 = call i32 @strcat(ptr noundef %128, ptr noundef @.str.17) %130 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %131 = call ptr @fopen(ptr noundef %130, ptr noundef @.str.18) store ptr %131, ptr %6, align 8 %132 = load ptr, ptr %6, align 8 %133 = icmp eq ptr %132, null br i1 %133, label %134, label %137 134: ; preds = %124 %135 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %136 = call i32 (ptr, ...) @printf(ptr noundef @.str.19, ptr noundef %135) store i32 -1, ptr %3, align 4 br label %192 137: ; preds = %124 %138 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %139 = call ptr @fopen(ptr noundef %138, ptr noundef @.str.20) store ptr %139, ptr %7, align 8 %140 = load ptr, ptr %7, align 8 %141 = icmp eq ptr %140, null br i1 %141, label %142, label %145 142: ; preds = %137 %143 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %144 = call i32 (ptr, ...) @printf(ptr noundef @.str.21, ptr noundef %143) store i32 -1, ptr %3, align 4 br label %192 145: ; preds = %137 %146 = load ptr, ptr %7, align 8 %147 = call i32 @fputs(ptr noundef @.str.22, ptr noundef %146) %148 = load ptr, ptr %7, align 8 %149 = call i32 @fputs(ptr noundef @.str.22, ptr noundef %148) %150 = load ptr, ptr %7, align 8 %151 = call i32 @fputs(ptr noundef @.str.23, ptr noundef %150) %152 = load ptr, ptr %7, align 8 %153 = call i32 @fputs(ptr noundef @.str.23, ptr noundef %152) %154 = load ptr, ptr %7, align 8 %155 = call i32 @fputs(ptr noundef @.str.24, ptr noundef %154) br label %156 156: ; preds = %145, %171 %157 = load ptr, ptr %6, align 8 %158 = call zeroext i8 @getc(ptr noundef %157) store i8 %158, ptr %13, align 1 %159 = load ptr, ptr %6, align 8 %160 = call i64 @feof(ptr noundef %159) %161 = icmp ne i64 %160, 0 br i1 %161, label %162, label %163 162: ; preds = %156 br label %184 163: ; preds = %156 %164 = getelementptr inbounds [3 x i8], ptr %14, i64 0, i64 0 %165 = call i32 @memset(ptr noundef %164, i32 noundef 0, i32 noundef 2) %166 = load i32, ptr %12, align 4 %167 = icmp sge i32 %166, 16 br i1 %167, label %168, label %171 168: ; preds = %163 %169 = load ptr, ptr %7, align 8 %170 = call i32 @fputs(ptr noundef @.str.23, ptr noundef %169) store i32 0, ptr %12, align 4 br label %171 171: ; preds = %168, %163 %172 = load ptr, ptr %7, align 8 %173 = call i32 @fputs(ptr noundef @.str.25, ptr noundef %172) %174 = getelementptr inbounds [3 x i8], ptr %14, i64 0, i64 0 %175 = load i8, ptr %13, align 1 %176 = call i32 @sprintf(ptr noundef %174, ptr noundef @.str.26, i8 noundef zeroext %175) %177 = getelementptr inbounds [3 x i8], ptr %14, i64 0, i64 0 %178 = load ptr, ptr %7, align 8 %179 = call i32 @fputs(ptr noundef %177, ptr noundef %178) %180 = load ptr, ptr %7, align 8 %181 = call i32 @fputs(ptr noundef @.str.27, ptr noundef %180) %182 = load i32, ptr %12, align 4 %183 = add nsw i32 %182, 1 store i32 %183, ptr %12, align 4 br label %156 184: ; preds = %162 %185 = load ptr, ptr %7, align 8 %186 = call i32 @fputs(ptr noundef @.str.28, ptr noundef %185) %187 = load ptr, ptr %6, align 8 %188 = call i32 @fclose(ptr noundef %187) %189 = load ptr, ptr %7, align 8 %190 = call i32 @fclose(ptr noundef %189) %191 = call i32 @exit(i32 noundef 0) #3 unreachable 192: ; preds = %142, %134, %37, %30, %25 %193 = load i32, ptr %3, align 4 ret i32 %193 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @getenv(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fputs(ptr noundef, ptr noundef) #1 declare zeroext i8 @getc(ptr noundef) #1 declare i64 @feof(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext) #1 declare i32 @fclose(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzz68fdmj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"RT28xx_DIR\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"CHIPSET\00", align 1 @.str.2 = private unnamed_addr constant [44 x i8] c"Environment value \22RT28xx_DIR\22 not export \0A\00", align 1 @.str.3 = private unnamed_addr constant [41 x i8] c"Environment value \22CHIPSET\22 not export \0A\00", align 1 @.str.4 = private unnamed_addr constant [45 x i8] c"Environment value \22RT28xx_DIR\22 is too long!\0A\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"2860\00", align 1 @.str.6 = private unnamed_addr constant [19 x i8] c"/common/rt2860.bin\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"2870\00", align 1 @.str.8 = private unnamed_addr constant [19 x i8] c"/common/rt2870.bin\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"3090\00", align 1 @.str.10 = private unnamed_addr constant [5 x i8] c"2070\00", align 1 @.str.11 = private unnamed_addr constant [5 x i8] c"3070\00", align 1 @.str.12 = private unnamed_addr constant [5 x i8] c"3572\00", align 1 @.str.13 = private unnamed_addr constant [5 x i8] c"3370\00", align 1 @.str.14 = private unnamed_addr constant [5 x i8] c"5370\00", align 1 @.str.15 = private unnamed_addr constant [4 x i8] c"USB\00", align 1 @.str.16 = private unnamed_addr constant [4 x i8] c"PCI\00", align 1 @.str.17 = private unnamed_addr constant [20 x i8] c"/include/firmware.h\00", align 1 @.str.18 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.19 = private unnamed_addr constant [21 x i8] c"Can't read file %s \0A\00", align 1 @.str.20 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.21 = private unnamed_addr constant [27 x i8] c"Can't open write file %s \0A\00", align 1 @.str.22 = private unnamed_addr constant [41 x i8] c"/* AUTO GEN PLEASE DO NOT MODIFY IT */ \0A\00", align 1 @.str.23 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.24 = private unnamed_addr constant [29 x i8] c"UCHAR FirmwareImage [] = { \0A\00", align 1 @.str.25 = private unnamed_addr constant [3 x i8] c"0x\00", align 1 @.str.26 = private unnamed_addr constant [5 x i8] c"%02x\00", align 1 @.str.27 = private unnamed_addr constant [3 x i8] c", \00", align 1 @.str.28 = private unnamed_addr constant [5 x i8] c"} ;\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca [1024 x i8], align 16 %9 = alloca [1024 x i8], align 16 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i8, align 1 %14 = alloca [3 x i8], align 1 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 %12, align 4 %15 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %16 = call i32 @memset(ptr noundef %15, i32 noundef 0, i32 noundef 1024) %17 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %18 = call i32 @memset(ptr noundef %17, i32 noundef 0, i32 noundef 1024) %19 = call i64 @getenv(ptr noundef @.str) %20 = inttoptr i64 %19 to ptr store ptr %20, ptr %10, align 8 %21 = call i64 @getenv(ptr noundef @.str.1) %22 = inttoptr i64 %21 to ptr store ptr %22, ptr %11, align 8 %23 = load ptr, ptr %10, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %27, label %25 25: ; preds = %2 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 -1, ptr %3, align 4 br label %196 27: ; preds = %2 %28 = load ptr, ptr %11, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %32, label %30 30: ; preds = %27 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 -1, ptr %3, align 4 br label %196 32: ; preds = %27 %33 = load ptr, ptr %10, align 8 %34 = call i32 @strlen(ptr noundef %33) %35 = sext i32 %34 to i64 %36 = icmp ugt i64 %35, 924 br i1 %36, label %37, label %39 37: ; preds = %32 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 -1, ptr %3, align 4 br label %196 39: ; preds = %32 %40 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %41 = load ptr, ptr %10, align 8 %42 = call i32 @strcat(ptr noundef %40, ptr noundef %41) %43 = load ptr, ptr %11, align 8 %44 = call i64 @strncmp(ptr noundef %43, ptr noundef @.str.5, i32 noundef 4) %45 = icmp eq i64 %44, 0 br i1 %45, label %46, label %49 46: ; preds = %39 %47 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %48 = call i32 @strcat(ptr noundef %47, ptr noundef @.str.6) br label %124 49: ; preds = %39 %50 = load ptr, ptr %11, align 8 %51 = call i64 @strncmp(ptr noundef %50, ptr noundef @.str.7, i32 noundef 4) %52 = icmp eq i64 %51, 0 br i1 %52, label %53, label %56 53: ; preds = %49 %54 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %55 = call i32 @strcat(ptr noundef %54, ptr noundef @.str.8) br label %123 56: ; preds = %49 %57 = load ptr, ptr %11, align 8 %58 = call i64 @strncmp(ptr noundef %57, ptr noundef @.str.9, i32 noundef 4) %59 = icmp eq i64 %58, 0 br i1 %59, label %60, label %63 60: ; preds = %56 %61 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %62 = call i32 @strcat(ptr noundef %61, ptr noundef @.str.6) br label %122 63: ; preds = %56 %64 = load ptr, ptr %11, align 8 %65 = call i64 @strncmp(ptr noundef %64, ptr noundef @.str.10, i32 noundef 4) %66 = icmp eq i64 %65, 0 br i1 %66, label %67, label %70 67: ; preds = %63 %68 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %69 = call i32 @strcat(ptr noundef %68, ptr noundef @.str.8) br label %121 70: ; preds = %63 %71 = load ptr, ptr %11, align 8 %72 = call i64 @strncmp(ptr noundef %71, ptr noundef @.str.11, i32 noundef 4) %73 = icmp eq i64 %72, 0 br i1 %73, label %74, label %77 74: ; preds = %70 %75 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %76 = call i32 @strcat(ptr noundef %75, ptr noundef @.str.8) br label %120 77: ; preds = %70 %78 = load ptr, ptr %11, align 8 %79 = call i64 @strncmp(ptr noundef %78, ptr noundef @.str.12, i32 noundef 4) %80 = icmp eq i64 %79, 0 br i1 %80, label %81, label %84 81: ; preds = %77 %82 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %83 = call i32 @strcat(ptr noundef %82, ptr noundef @.str.8) br label %119 84: ; preds = %77 %85 = load ptr, ptr %11, align 8 %86 = call i64 @strncmp(ptr noundef %85, ptr noundef @.str.13, i32 noundef 4) %87 = icmp eq i64 %86, 0 br i1 %87, label %88, label %91 88: ; preds = %84 %89 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %90 = call i32 @strcat(ptr noundef %89, ptr noundef @.str.8) br label %118 91: ; preds = %84 %92 = load ptr, ptr %11, align 8 %93 = call i64 @strncmp(ptr noundef %92, ptr noundef @.str.14, i32 noundef 4) %94 = icmp eq i64 %93, 0 br i1 %94, label %95, label %98 95: ; preds = %91 %96 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %97 = call i32 @strcat(ptr noundef %96, ptr noundef @.str.8) br label %117 98: ; preds = %91 %99 = load ptr, ptr %11, align 8 %100 = call i64 @strncmp(ptr noundef %99, ptr noundef @.str.15, i32 noundef 3) %101 = icmp eq i64 %100, 0 br i1 %101, label %102, label %105 102: ; preds = %98 %103 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %104 = call i32 @strcat(ptr noundef %103, ptr noundef @.str.8) br label %116 105: ; preds = %98 %106 = load ptr, ptr %11, align 8 %107 = call i64 @strncmp(ptr noundef %106, ptr noundef @.str.16, i32 noundef 3) %108 = icmp eq i64 %107, 0 br i1 %108, label %109, label %112 109: ; preds = %105 %110 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %111 = call i32 @strcat(ptr noundef %110, ptr noundef @.str.6) br label %115 112: ; preds = %105 %113 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %114 = call i32 @strcat(ptr noundef %113, ptr noundef @.str.6) br label %115 115: ; preds = %112, %109 br label %116 116: ; preds = %115, %102 br label %117 117: ; preds = %116, %95 br label %118 118: ; preds = %117, %88 br label %119 119: ; preds = %118, %81 br label %120 120: ; preds = %119, %74 br label %121 121: ; preds = %120, %67 br label %122 122: ; preds = %121, %60 br label %123 123: ; preds = %122, %53 br label %124 124: ; preds = %123, %46 %125 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %126 = load ptr, ptr %10, align 8 %127 = call i32 @strcat(ptr noundef %125, ptr noundef %126) %128 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %129 = call i32 @strcat(ptr noundef %128, ptr noundef @.str.17) %130 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %131 = call ptr @fopen(ptr noundef %130, ptr noundef @.str.18) store ptr %131, ptr %6, align 8 %132 = load ptr, ptr %6, align 8 %133 = icmp eq ptr %132, null br i1 %133, label %134, label %137 134: ; preds = %124 %135 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %136 = call i32 (ptr, ...) @printf(ptr noundef @.str.19, ptr noundef %135) store i32 -1, ptr %3, align 4 br label %196 137: ; preds = %124 %138 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %139 = call ptr @fopen(ptr noundef %138, ptr noundef @.str.20) store ptr %139, ptr %7, align 8 %140 = load ptr, ptr %7, align 8 %141 = icmp eq ptr %140, null br i1 %141, label %142, label %145 142: ; preds = %137 %143 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %144 = call i32 (ptr, ...) @printf(ptr noundef @.str.21, ptr noundef %143) store i32 -1, ptr %3, align 4 br label %196 145: ; preds = %137 %146 = load ptr, ptr %7, align 8 %147 = call i32 @fputs(ptr noundef @.str.22, ptr noundef %146) %148 = load ptr, ptr %7, align 8 %149 = call i32 @fputs(ptr noundef @.str.22, ptr noundef %148) %150 = load ptr, ptr %7, align 8 %151 = call i32 @fputs(ptr noundef @.str.23, ptr noundef %150) %152 = load ptr, ptr %7, align 8 %153 = call i32 @fputs(ptr noundef @.str.23, ptr noundef %152) %154 = load ptr, ptr %7, align 8 %155 = call i32 @fputs(ptr noundef @.str.24, ptr noundef %154) %156 = load ptr, ptr %6, align 8 %157 = call zeroext i8 @getc(ptr noundef %156) store i8 %157, ptr %13, align 1 %158 = load ptr, ptr %6, align 8 %159 = call i64 @feof(ptr noundef %158) %160 = icmp ne i64 %159, 0 br i1 %160, label %161, label %.lr.ph .lr.ph: ; preds = %145 br label %162 ._crit_edge: ; preds = %170 br label %161 161: ; preds = %._crit_edge, %145 br label %188 162: ; preds = %.lr.ph, %170 %163 = getelementptr inbounds [3 x i8], ptr %14, i64 0, i64 0 %164 = call i32 @memset(ptr noundef %163, i32 noundef 0, i32 noundef 2) %165 = load i32, ptr %12, align 4 %166 = icmp sge i32 %165, 16 br i1 %166, label %167, label %170 167: ; preds = %162 %168 = load ptr, ptr %7, align 8 %169 = call i32 @fputs(ptr noundef @.str.23, ptr noundef %168) store i32 0, ptr %12, align 4 br label %170 170: ; preds = %167, %162 %171 = load ptr, ptr %7, align 8 %172 = call i32 @fputs(ptr noundef @.str.25, ptr noundef %171) %173 = getelementptr inbounds [3 x i8], ptr %14, i64 0, i64 0 %174 = load i8, ptr %13, align 1 %175 = call i32 @sprintf(ptr noundef %173, ptr noundef @.str.26, i8 noundef zeroext %174) %176 = getelementptr inbounds [3 x i8], ptr %14, i64 0, i64 0 %177 = load ptr, ptr %7, align 8 %178 = call i32 @fputs(ptr noundef %176, ptr noundef %177) %179 = load ptr, ptr %7, align 8 %180 = call i32 @fputs(ptr noundef @.str.27, ptr noundef %179) %181 = load i32, ptr %12, align 4 %182 = add nsw i32 %181, 1 store i32 %182, ptr %12, align 4 %183 = load ptr, ptr %6, align 8 %184 = call zeroext i8 @getc(ptr noundef %183) store i8 %184, ptr %13, align 1 %185 = load ptr, ptr %6, align 8 %186 = call i64 @feof(ptr noundef %185) %187 = icmp ne i64 %186, 0 br i1 %187, label %._crit_edge, label %162 188: ; preds = %161 %189 = load ptr, ptr %7, align 8 %190 = call i32 @fputs(ptr noundef @.str.28, ptr noundef %189) %191 = load ptr, ptr %6, align 8 %192 = call i32 @fclose(ptr noundef %191) %193 = load ptr, ptr %7, align 8 %194 = call i32 @fclose(ptr noundef %193) %195 = call i32 @exit(i32 noundef 0) #3 unreachable 196: ; preds = %142, %134, %37, %30, %25 %197 = load i32, ptr %3, align 4 ret i32 %197 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @getenv(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fputs(ptr noundef, ptr noundef) #1 declare zeroext i8 @getc(ptr noundef) #1 declare i64 @feof(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext) #1 declare i32 @fclose(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsanr1dak.c' source_filename = "/tmp/tmpsanr1dak.c" target datalayout = "e-m:e-p270: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/tmpsanr1dak.c" target datalayout = "e-m:e-p270: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/tmpdf34n44w.c' source_filename = "/tmp/tmpdf34n44w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @startAssertFacts(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %13 = load ptr, ptr %7, align 8 %14 = load ptr, ptr %8, align 8 %15 = load ptr, ptr %9, align 8 %16 = load ptr, ptr %10, align 8 %17 = load ptr, ptr %11, align 8 %18 = load ptr, ptr %12, align 8 %19 = call i32 @startHandleMessages(ptr noundef %13, ptr noundef %14, i32 noundef 1, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18) ret i32 %19 } declare i32 @startHandleMessages(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdf34n44w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @startAssertFacts(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %13 = load ptr, ptr %7, align 8 %14 = load ptr, ptr %8, align 8 %15 = load ptr, ptr %9, align 8 %16 = load ptr, ptr %10, align 8 %17 = load ptr, ptr %11, align 8 %18 = load ptr, ptr %12, align 8 %19 = call i32 @startHandleMessages(ptr noundef %13, ptr noundef %14, i32 noundef 1, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18) ret i32 %19 } declare i32 @startHandleMessages(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4jplh9f2.c' source_filename = "/tmp/tmp4jplh9f2.c" target datalayout = "e-m:e-p270: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 [24 x i8] c"can't calloc %ld bytes\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"rt\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"can't open file %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d,\00", align 1 @.str.4 = private unnamed_addr constant [32 x i8] c"error in reading FAM file '%s'\0A\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"%[^,\0A]\00", align 1 @EOF = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @load_beta_sparse(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 %12 = alloca ptr, align 8 %13 = alloca [10240 x i8], align 16 %14 = 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 store i32 0, ptr %8, align 4 store i32 0, ptr %10, align 4 store ptr null, ptr %12, align 8 store ptr null, ptr %14, align 8 %15 = call ptr @calloc(i32 noundef 10001, i32 noundef 1) store ptr %15, ptr %14, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %20, label %17 17: ; preds = %3 %18 = load i32, ptr @stderr, align 4 %19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str, i64 noundef 10001) store i32 0, ptr %4, align 4 br label %106 20: ; preds = %3 %21 = load ptr, ptr %6, align 8 %22 = call ptr @fopen(ptr noundef %21, ptr noundef @.str.1) store ptr %22, ptr %12, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %28, label %24 24: ; preds = %20 %25 = load i32, ptr @stderr, align 4 %26 = load ptr, ptr %6, align 8 %27 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %25, ptr noundef @.str.2, ptr noundef %26) store i32 0, ptr %4, align 4 br label %106 28: ; preds = %20 br label %29 29: ; preds = %95, %28 %30 = load ptr, ptr %12, align 8 %31 = call i32 @feof(ptr noundef %30) %32 = icmp ne i32 %31, 0 %33 = xor i1 %32, true br i1 %33, label %34, label %96 34: ; preds = %29 %35 = load ptr, ptr %12, align 8 %36 = call i64 @fscanf(ptr noundef %35, ptr noundef @.str.3, ptr noundef %8) %37 = icmp slt i64 %36, 0 br i1 %37, label %38, label %39 38: ; preds = %34 br label %96 39: ; preds = %34 %40 = getelementptr inbounds [10240 x i8], ptr %13, i64 0, i64 0 %41 = load ptr, ptr %12, align 8 %42 = call ptr @fgets(ptr noundef %40, i32 noundef 10240, ptr noundef %41) %43 = icmp eq ptr %42, null br i1 %43, label %44, label %59 44: ; preds = %39 %45 = load ptr, ptr %12, align 8 %46 = call i32 @feof(ptr noundef %45) %47 = icmp ne i32 %46, 0 br i1 %47, label %58, label %48 48: ; preds = %44 %49 = load i32, ptr @stderr, align 4 %50 = load ptr, ptr %6, align 8 %51 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %49, ptr noundef @.str.4, ptr noundef %50) %52 = load ptr, ptr %14, align 8 %53 = icmp ne ptr %52, null br i1 %53, label %54, label %57 54: ; preds = %48 %55 = load ptr, ptr %14, align 8 %56 = call i32 @free(ptr noundef %55) store ptr null, ptr %14, align 8 br label %57 57: ; preds = %54, %48 store i32 0, ptr %4, align 4 br label %106 58: ; preds = %44 br label %96 59: ; preds = %39 store i32 0, ptr %11, align 4 store i32 0, ptr %9, align 4 br label %60 60: ; preds = %73, %59 %61 = load i32, ptr %9, align 4 %62 = icmp slt i32 %61, 1024 br i1 %62, label %63, label %71 63: ; preds = %60 %64 = load i32, ptr %11, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds [10240 x i8], ptr %13, i64 0, i64 %65 %67 = load ptr, ptr %14, align 8 %68 = call i64 @sscanf(ptr noundef %66, ptr noundef @.str.5, ptr noundef %67) %69 = load i64, ptr @EOF, align 8 %70 = icmp ne i64 %68, %69 br label %71 71: ; preds = %63, %60 %72 = phi i1 [ false, %60 ], [ %70, %63 ] br i1 %72, label %73, label %93 73: ; preds = %71 %74 = load ptr, ptr %14, align 8 %75 = call double @atof(ptr noundef %74) %76 = load ptr, ptr %5, align 8 %77 = load i32, ptr %9, align 4 %78 = load i32, ptr %7, align 4 %79 = mul nsw i32 %77, %78 %80 = load i32, ptr %8, align 4 %81 = add nsw i32 %79, %80 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds double, ptr %76, i64 %82 store double %75, ptr %83, align 8 %84 = load ptr, ptr %14, align 8 %85 = call i64 @strlen(ptr noundef %84) %86 = add nsw i64 %85, 1 %87 = load i32, ptr %11, align 4 %88 = sext i32 %87 to i64 %89 = add nsw i64 %88, %86 %90 = trunc i64 %89 to i32 store i32 %90, ptr %11, align 4 %91 = load i32, ptr %9, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %9, align 4 br label %60, !llvm.loop !6 93: ; preds = %71 %94 = load i32, ptr %9, align 4 store i32 %94, ptr %10, align 4 br label %95 95: ; preds = %93 br label %29, !llvm.loop !8 96: ; preds = %58, %38, %29 %97 = load ptr, ptr %12, align 8 %98 = call i32 @fclose(ptr noundef %97) %99 = load ptr, ptr %14, align 8 %100 = icmp ne ptr %99, null br i1 %100, label %101, label %104 101: ; preds = %96 %102 = load ptr, ptr %14, align 8 %103 = call i32 @free(ptr noundef %102) store ptr null, ptr %14, align 8 br label %104 104: ; preds = %101, %96 %105 = load i32, ptr %10, align 4 store i32 %105, ptr %4, align 4 br label %106 106: ; preds = %104, %57, %24, %17 %107 = load i32, ptr %4, align 4 ret i32 %107 } declare ptr @calloc(i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare i64 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare double @atof(ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4jplh9f2.c" target datalayout = "e-m:e-p270: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 [24 x i8] c"can't calloc %ld bytes\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"rt\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"can't open file %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d,\00", align 1 @.str.4 = private unnamed_addr constant [32 x i8] c"error in reading FAM file '%s'\0A\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"%[^,\0A]\00", align 1 @EOF = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @load_beta_sparse(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 %12 = alloca ptr, align 8 %13 = alloca [10240 x i8], align 16 %14 = 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 store i32 0, ptr %8, align 4 store i32 0, ptr %10, align 4 store ptr null, ptr %12, align 8 store ptr null, ptr %14, align 8 %15 = call ptr @calloc(i32 noundef 10001, i32 noundef 1) store ptr %15, ptr %14, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %20, label %17 17: ; preds = %3 %18 = load i32, ptr @stderr, align 4 %19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str, i64 noundef 10001) store i32 0, ptr %4, align 4 br label %109 20: ; preds = %3 %21 = load ptr, ptr %6, align 8 %22 = call ptr @fopen(ptr noundef %21, ptr noundef @.str.1) store ptr %22, ptr %12, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %28, label %24 24: ; preds = %20 %25 = load i32, ptr @stderr, align 4 %26 = load ptr, ptr %6, align 8 %27 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %25, ptr noundef @.str.2, ptr noundef %26) store i32 0, ptr %4, align 4 br label %109 28: ; preds = %20 %29 = load ptr, ptr %12, align 8 %30 = call i32 @feof(ptr noundef %29) %31 = icmp ne i32 %30, 0 %32 = xor i1 %31, true br i1 %32, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %28 br label %33 33: ; preds = %.lr.ph, %94 %34 = load ptr, ptr %12, align 8 %35 = call i64 @fscanf(ptr noundef %34, ptr noundef @.str.3, ptr noundef %8) %36 = icmp slt i64 %35, 0 br i1 %36, label %37, label %38 37: ; preds = %33 br label %99 38: ; preds = %33 %39 = getelementptr inbounds [10240 x i8], ptr %13, i64 0, i64 0 %40 = load ptr, ptr %12, align 8 %41 = call ptr @fgets(ptr noundef %39, i32 noundef 10240, ptr noundef %40) %42 = icmp eq ptr %41, null br i1 %42, label %43, label %58 43: ; preds = %38 %44 = load ptr, ptr %12, align 8 %45 = call i32 @feof(ptr noundef %44) %46 = icmp ne i32 %45, 0 br i1 %46, label %57, label %47 47: ; preds = %43 %48 = load i32, ptr @stderr, align 4 %49 = load ptr, ptr %6, align 8 %50 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %48, ptr noundef @.str.4, ptr noundef %49) %51 = load ptr, ptr %14, align 8 %52 = icmp ne ptr %51, null br i1 %52, label %53, label %56 53: ; preds = %47 %54 = load ptr, ptr %14, align 8 %55 = call i32 @free(ptr noundef %54) store ptr null, ptr %14, align 8 br label %56 56: ; preds = %53, %47 store i32 0, ptr %4, align 4 br label %109 57: ; preds = %43 br label %99 58: ; preds = %38 store i32 0, ptr %11, align 4 store i32 0, ptr %9, align 4 br label %59 59: ; preds = %72, %58 %60 = load i32, ptr %9, align 4 %61 = icmp slt i32 %60, 1024 br i1 %61, label %62, label %70 62: ; preds = %59 %63 = load i32, ptr %11, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds [10240 x i8], ptr %13, i64 0, i64 %64 %66 = load ptr, ptr %14, align 8 %67 = call i64 @sscanf(ptr noundef %65, ptr noundef @.str.5, ptr noundef %66) %68 = load i64, ptr @EOF, align 8 %69 = icmp ne i64 %67, %68 br label %70 70: ; preds = %62, %59 %71 = phi i1 [ false, %59 ], [ %69, %62 ] br i1 %71, label %72, label %92 72: ; preds = %70 %73 = load ptr, ptr %14, align 8 %74 = call double @atof(ptr noundef %73) %75 = load ptr, ptr %5, align 8 %76 = load i32, ptr %9, align 4 %77 = load i32, ptr %7, align 4 %78 = mul nsw i32 %76, %77 %79 = load i32, ptr %8, align 4 %80 = add nsw i32 %78, %79 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds double, ptr %75, i64 %81 store double %74, ptr %82, align 8 %83 = load ptr, ptr %14, align 8 %84 = call i64 @strlen(ptr noundef %83) %85 = add nsw i64 %84, 1 %86 = load i32, ptr %11, align 4 %87 = sext i32 %86 to i64 %88 = add nsw i64 %87, %85 %89 = trunc i64 %88 to i32 store i32 %89, ptr %11, align 4 %90 = load i32, ptr %9, align 4 %91 = add nsw i32 %90, 1 store i32 %91, ptr %9, align 4 br label %59, !llvm.loop !6 92: ; preds = %70 %93 = load i32, ptr %9, align 4 store i32 %93, ptr %10, align 4 br label %94 94: ; preds = %92 %95 = load ptr, ptr %12, align 8 %96 = call i32 @feof(ptr noundef %95) %97 = icmp ne i32 %96, 0 %98 = xor i1 %97, true br i1 %98, label %33, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %94 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %28 br label %99 99: ; preds = %.loopexit, %57, %37 %100 = load ptr, ptr %12, align 8 %101 = call i32 @fclose(ptr noundef %100) %102 = load ptr, ptr %14, align 8 %103 = icmp ne ptr %102, null br i1 %103, label %104, label %107 104: ; preds = %99 %105 = load ptr, ptr %14, align 8 %106 = call i32 @free(ptr noundef %105) store ptr null, ptr %14, align 8 br label %107 107: ; preds = %104, %99 %108 = load i32, ptr %10, align 4 store i32 %108, ptr %4, align 4 br label %109 109: ; preds = %107, %56, %24, %17 %110 = load i32, ptr %4, align 4 ret i32 %110 } declare ptr @calloc(i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare i64 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare double @atof(ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpay26qpz_.c' source_filename = "/tmp/tmpay26qpz_.c" target datalayout = "e-m:e-p270: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/tmpay26qpz_.c" target datalayout = "e-m:e-p270: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/tmp0306ppw_.c' source_filename = "/tmp/tmp0306ppw_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [116 x i8] c"Valid Commands: reserve|request|return [pages], reserve-all,\0A query, query-server, query-total, end\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printHelp() #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/tmp0306ppw_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [116 x i8] c"Valid Commands: reserve|request|return [pages], reserve-all,\0A query, query-server, query-total, end\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printHelp() #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/tmpyw3h60lz.c' source_filename = "/tmp/tmpyw3h60lz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.quantities = private unnamed_addr constant [3 x i8] c"10\00", align 1 @.str = private unnamed_addr constant [20 x i8] c"I am %d years old \0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"I am %d inches tall\0A\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"I am %c bird.\0A\00", align 1 @.str.3 = private unnamed_addr constant [28 x i8] c"Stop (form) feeding noob!!\0C\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"I am %s birds.\0A\00", align 1 @.str.5 = private unnamed_addr constant [32 x i8] c"I am %i brothers deep outchea.\0A\00", align 1 @.str.6 = private unnamed_addr constant [15 x i8] c"Alert alert!!\07\00", align 1 @.str.7 = private unnamed_addr constant [26 x i8] c"Return some \0D carriages!\0A\00", align 1 @.str.8 = private unnamed_addr constant [34 x i8] c"--------------------------------\0A\00", align 1 @.str.9 = private unnamed_addr constant [21 x i8] c"Where da \0B tabs at\09\0A\00", align 1 @.str.10 = private unnamed_addr constant [25 x i8] c"My octals are like %o!!\0A\00", align 1 @.str.11 = private unnamed_addr constant [50 x i8] c"My hexas are crazy bruh, i'm talking %x, bruh...\0A\00", align 1 @.str.12 = private unnamed_addr constant [34 x i8] c"I got them floats goin for %f!!!\0A\00", align 1 @.str.13 = private unnamed_addr constant [50 x i8] c"Yo dawg i got these cheeseburgers...%lf a pop...\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 i8, align 1 %5 = alloca [3 x i8], align 1 %6 = alloca i32, align 4 %7 = alloca float, align 4 %8 = alloca double, align 8 store i32 0, ptr %1, align 4 store i32 10, ptr %2, align 4 store i32 72, ptr %3, align 4 store i8 49, ptr %4, align 1 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %5, ptr align 1 @__const.main.quantities, i64 3, i1 false) store i32 5, ptr %6, align 4 store float 0x4023FAE140000000, ptr %7, align 4 store double 0x4049430068DB8BAC, ptr %8, align 8 %9 = load i32, ptr %2, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %9) %11 = load i32, ptr %3, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %11) %13 = load i8, ptr %4, align 1 %14 = sext i8 %13 to i32 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %14) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %17 = getelementptr inbounds [3 x i8], ptr %5, i64 0, i64 0 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %17) %19 = load i32, ptr %6, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %19) %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %26 = load i32, ptr %6, align 4 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %26) %28 = load i32, ptr %3, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %28) %30 = load float, ptr %7, align 4 %31 = fpext float %30 to double %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, double noundef %31) %33 = load double, ptr %8, align 8 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, double noundef %33) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyw3h60lz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.quantities = private unnamed_addr constant [3 x i8] c"10\00", align 1 @.str = private unnamed_addr constant [20 x i8] c"I am %d years old \0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"I am %d inches tall\0A\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"I am %c bird.\0A\00", align 1 @.str.3 = private unnamed_addr constant [28 x i8] c"Stop (form) feeding noob!!\0C\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"I am %s birds.\0A\00", align 1 @.str.5 = private unnamed_addr constant [32 x i8] c"I am %i brothers deep outchea.\0A\00", align 1 @.str.6 = private unnamed_addr constant [15 x i8] c"Alert alert!!\07\00", align 1 @.str.7 = private unnamed_addr constant [26 x i8] c"Return some \0D carriages!\0A\00", align 1 @.str.8 = private unnamed_addr constant [34 x i8] c"--------------------------------\0A\00", align 1 @.str.9 = private unnamed_addr constant [21 x i8] c"Where da \0B tabs at\09\0A\00", align 1 @.str.10 = private unnamed_addr constant [25 x i8] c"My octals are like %o!!\0A\00", align 1 @.str.11 = private unnamed_addr constant [50 x i8] c"My hexas are crazy bruh, i'm talking %x, bruh...\0A\00", align 1 @.str.12 = private unnamed_addr constant [34 x i8] c"I got them floats goin for %f!!!\0A\00", align 1 @.str.13 = private unnamed_addr constant [50 x i8] c"Yo dawg i got these cheeseburgers...%lf a pop...\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 i8, align 1 %5 = alloca [3 x i8], align 1 %6 = alloca i32, align 4 %7 = alloca float, align 4 %8 = alloca double, align 8 store i32 0, ptr %1, align 4 store i32 10, ptr %2, align 4 store i32 72, ptr %3, align 4 store i8 49, ptr %4, align 1 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %5, ptr align 1 @__const.main.quantities, i64 3, i1 false) store i32 5, ptr %6, align 4 store float 0x4023FAE140000000, ptr %7, align 4 store double 0x4049430068DB8BAC, ptr %8, align 8 %9 = load i32, ptr %2, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %9) %11 = load i32, ptr %3, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %11) %13 = load i8, ptr %4, align 1 %14 = sext i8 %13 to i32 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %14) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %17 = getelementptr inbounds [3 x i8], ptr %5, i64 0, i64 0 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %17) %19 = load i32, ptr %6, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %19) %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %26 = load i32, ptr %6, align 4 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %26) %28 = load i32, ptr %3, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %28) %30 = load float, ptr %7, align 4 %31 = fpext float %30 to double %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, double noundef %31) %33 = load double, ptr %8, align 8 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, double noundef %33) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptep_mlcs.c' source_filename = "/tmp/tmptep_mlcs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"/dev/null\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @POLLIN = dso_local global i32 0, align 4 @POLLOUT = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [14 x i8] c"/proc/meminfo\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [14 x i8] c"tmp/host_file\00", align 1 @O_CREAT = dso_local global i32 0, align 4 @O_TRUNC = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [9 x i8] c"TEST OK\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 @stdout, align 4 %7 = call i32 @setbuf(i32 noundef %6, ptr noundef null) %8 = load i32, ptr @stderr, align 4 %9 = call i32 @setbuf(i32 noundef %8, ptr noundef null) %10 = call i32 (...) @test_pipe() %11 = load i32, ptr @O_RDWR, align 4 %12 = load i32, ptr @POLLIN, align 4 %13 = load i32, ptr @POLLIN, align 4 %14 = load i32, ptr @POLLOUT, align 4 %15 = load i32, ptr @POLLOUT, align 4 %16 = call i32 @test_file(ptr noundef @.str, i32 noundef %11, i32 noundef %12, i32 noundef %13, i32 noundef %14, i32 noundef %15) %17 = load i32, ptr @O_RDONLY, align 4 %18 = load i32, ptr @POLLIN, align 4 %19 = load i32, ptr @POLLIN, align 4 %20 = call i32 @test_file(ptr noundef @.str.1, i32 noundef %17, i32 noundef %18, i32 noundef %19, i32 noundef 0, i32 noundef 0) %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 0 %23 = load ptr, ptr %22, align 8 %24 = load i32, ptr @O_RDONLY, align 4 %25 = load i32, ptr @POLLIN, align 4 %26 = load i32, ptr @POLLIN, align 4 %27 = call i32 @test_file(ptr noundef %23, i32 noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef 0, i32 noundef 0) %28 = load i32, ptr @O_RDWR, align 4 %29 = load i32, ptr @O_CREAT, align 4 %30 = or i32 %28, %29 %31 = load i32, ptr @O_TRUNC, align 4 %32 = or i32 %30, %31 %33 = load i32, ptr @POLLIN, align 4 %34 = load i32, ptr @POLLOUT, align 4 %35 = load i32, ptr @POLLOUT, align 4 %36 = call i32 @test_file(ptr noundef @.str.2, i32 noundef %32, i32 noundef %33, i32 noundef 0, i32 noundef %34, i32 noundef %35) %37 = call i32 @printf(ptr noundef @.str.3) ret i32 0 } declare i32 @setbuf(i32 noundef, ptr noundef) #1 declare i32 @test_pipe(...) #1 declare i32 @test_file(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptep_mlcs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"/dev/null\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @POLLIN = dso_local global i32 0, align 4 @POLLOUT = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [14 x i8] c"/proc/meminfo\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [14 x i8] c"tmp/host_file\00", align 1 @O_CREAT = dso_local global i32 0, align 4 @O_TRUNC = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [9 x i8] c"TEST OK\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 @stdout, align 4 %7 = call i32 @setbuf(i32 noundef %6, ptr noundef null) %8 = load i32, ptr @stderr, align 4 %9 = call i32 @setbuf(i32 noundef %8, ptr noundef null) %10 = call i32 (...) @test_pipe() %11 = load i32, ptr @O_RDWR, align 4 %12 = load i32, ptr @POLLIN, align 4 %13 = load i32, ptr @POLLIN, align 4 %14 = load i32, ptr @POLLOUT, align 4 %15 = load i32, ptr @POLLOUT, align 4 %16 = call i32 @test_file(ptr noundef @.str, i32 noundef %11, i32 noundef %12, i32 noundef %13, i32 noundef %14, i32 noundef %15) %17 = load i32, ptr @O_RDONLY, align 4 %18 = load i32, ptr @POLLIN, align 4 %19 = load i32, ptr @POLLIN, align 4 %20 = call i32 @test_file(ptr noundef @.str.1, i32 noundef %17, i32 noundef %18, i32 noundef %19, i32 noundef 0, i32 noundef 0) %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 0 %23 = load ptr, ptr %22, align 8 %24 = load i32, ptr @O_RDONLY, align 4 %25 = load i32, ptr @POLLIN, align 4 %26 = load i32, ptr @POLLIN, align 4 %27 = call i32 @test_file(ptr noundef %23, i32 noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef 0, i32 noundef 0) %28 = load i32, ptr @O_RDWR, align 4 %29 = load i32, ptr @O_CREAT, align 4 %30 = or i32 %28, %29 %31 = load i32, ptr @O_TRUNC, align 4 %32 = or i32 %30, %31 %33 = load i32, ptr @POLLIN, align 4 %34 = load i32, ptr @POLLOUT, align 4 %35 = load i32, ptr @POLLOUT, align 4 %36 = call i32 @test_file(ptr noundef @.str.2, i32 noundef %32, i32 noundef %33, i32 noundef 0, i32 noundef %34, i32 noundef %35) %37 = call i32 @printf(ptr noundef @.str.3) ret i32 0 } declare i32 @setbuf(i32 noundef, ptr noundef) #1 declare i32 @test_pipe(...) #1 declare i32 @test_file(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp02izg40m.c' source_filename = "/tmp/tmp02izg40m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d-%d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"stdout\00", align 1 @stdout = dso_local global ptr null, align 8 @.str.3 = private unnamed_addr constant [7 x i8] c"stderr\00", align 1 @stderr = dso_local global ptr null, align 8 @.str.4 = private unnamed_addr constant [40 x i8] c"Must have Nmin <= Nmax; got %d and %d.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr null, ptr %6, align 8 store ptr null, ptr %7, align 8 store i32 -999, ptr %8, align 4 store i32 -99, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 store i32 1, ptr %13, align 4 store i32 15, ptr %14, align 4 store ptr null, ptr %15, align 8 %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %16, 3 br i1 %17, label %18, label %23 18: ; preds = %2 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 0 %21 = load ptr, ptr %20, align 8 %22 = call i32 @usage(ptr noundef %21) br label %23 23: ; preds = %18, %2 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 1 %26 = load ptr, ptr %25, align 8 store ptr %26, ptr %6, align 8 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds ptr, ptr %27, i64 2 %29 = load ptr, ptr %28, align 8 store ptr %29, ptr %7, 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 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %32, ptr noundef @.str, ptr noundef %13, ptr noundef %14) %34 = icmp eq i32 %33, 2 br i1 %34, label %35, label %36 35: ; preds = %23 br label %50 36: ; preds = %23 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 2 %39 = load ptr, ptr %38, align 8 %40 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %39, ptr noundef @.str.1, ptr noundef %14) %41 = icmp eq i32 %40, 1 br i1 %41, label %42, label %44 42: ; preds = %36 %43 = load i32, ptr %14, align 4 store i32 %43, ptr %13, align 4 br label %49 44: ; preds = %36 %45 = load ptr, ptr %5, align 8 %46 = getelementptr inbounds ptr, ptr %45, i64 0 %47 = load ptr, ptr %46, align 8 %48 = call i32 @usage(ptr noundef %47) br label %49 49: ; preds = %44, %42 br label %50 50: ; preds = %49, %35 store i32 3, ptr %12, align 4 br label %51 51: ; preds = %82, %50 %52 = load i32, ptr %12, align 4 %53 = load i32, ptr %4, align 4 %54 = icmp slt i32 %52, %53 br i1 %54, label %55, label %85 55: ; preds = %51 %56 = load ptr, ptr %5, align 8 %57 = load i32, ptr %12, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds ptr, ptr %56, i64 %58 %60 = load ptr, ptr %59, align 8 %61 = call i64 @strcmp(ptr noundef %60, ptr noundef @.str.2) %62 = icmp eq i64 %61, 0 br i1 %62, label %63, label %65 63: ; preds = %55 %64 = load ptr, ptr @stdout, align 8 store ptr %64, ptr %15, align 8 br label %81 65: ; preds = %55 %66 = load ptr, ptr %5, align 8 %67 = load i32, ptr %12, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds ptr, ptr %66, i64 %68 %70 = load ptr, ptr %69, align 8 %71 = call i64 @strcmp(ptr noundef %70, ptr noundef @.str.3) %72 = icmp eq i64 %71, 0 br i1 %72, label %73, label %75 73: ; preds = %65 %74 = load ptr, ptr @stderr, align 8 store ptr %74, ptr %15, align 8 br label %80 75: ; preds = %65 %76 = load ptr, ptr %5, align 8 %77 = getelementptr inbounds ptr, ptr %76, i64 0 %78 = load ptr, ptr %77, align 8 %79 = call i32 @usage(ptr noundef %78) br label %80 80: ; preds = %75, %73 br label %81 81: ; preds = %80, %63 br label %82 82: ; preds = %81 %83 = load i32, ptr %12, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %12, align 4 br label %51, !llvm.loop !6 85: ; preds = %51 %86 = load i32, ptr %13, align 4 %87 = load i32, ptr %14, align 4 %88 = icmp sgt i32 %86, %87 br i1 %88, label %89, label %95 89: ; preds = %85 %90 = load ptr, ptr @stderr, align 8 %91 = load i32, ptr %13, align 4 %92 = load i32, ptr %14, align 4 %93 = call i32 @fprintf(ptr noundef %90, ptr noundef @.str.4, i32 noundef %91, i32 noundef %92) %94 = call i32 @exit(i32 noundef 1) #3 unreachable 95: ; preds = %85 %96 = load ptr, ptr %6, align 8 %97 = call i32 @constraints_name_to_types(ptr noundef %96, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11) %98 = icmp ne i32 %97, 0 br i1 %98, label %101, label %99 99: ; preds = %95 %100 = call i32 @exit(i32 noundef 1) #3 unreachable 101: ; preds = %95 %102 = load i32, ptr %13, align 4 %103 = load i32, ptr %14, align 4 %104 = load i32, ptr %8, align 4 %105 = load i32, ptr %9, align 4 %106 = load i32, ptr %10, align 4 %107 = load i32, ptr %11, align 4 %108 = load ptr, ptr %6, align 8 %109 = load ptr, ptr %15, align 8 %110 = call i32 @count_constrained_walks(i32 noundef %102, i32 noundef %103, i32 noundef %104, i32 noundef %105, i32 noundef %106, i32 noundef %107, ptr noundef %108, ptr noundef %109) ret i32 0 } declare i32 @usage(ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ...) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @constraints_name_to_types(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @count_constrained_walks(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp02izg40m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d-%d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"stdout\00", align 1 @stdout = dso_local global ptr null, align 8 @.str.3 = private unnamed_addr constant [7 x i8] c"stderr\00", align 1 @stderr = dso_local global ptr null, align 8 @.str.4 = private unnamed_addr constant [40 x i8] c"Must have Nmin <= Nmax; got %d and %d.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr null, ptr %6, align 8 store ptr null, ptr %7, align 8 store i32 -999, ptr %8, align 4 store i32 -99, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 store i32 1, ptr %13, align 4 store i32 15, ptr %14, align 4 store ptr null, ptr %15, align 8 %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %16, 3 br i1 %17, label %18, label %23 18: ; preds = %2 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 0 %21 = load ptr, ptr %20, align 8 %22 = call i32 @usage(ptr noundef %21) br label %23 23: ; preds = %18, %2 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 1 %26 = load ptr, ptr %25, align 8 store ptr %26, ptr %6, align 8 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds ptr, ptr %27, i64 2 %29 = load ptr, ptr %28, align 8 store ptr %29, ptr %7, 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 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %32, ptr noundef @.str, ptr noundef %13, ptr noundef %14) %34 = icmp eq i32 %33, 2 br i1 %34, label %35, label %36 35: ; preds = %23 br label %50 36: ; preds = %23 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 2 %39 = load ptr, ptr %38, align 8 %40 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %39, ptr noundef @.str.1, ptr noundef %14) %41 = icmp eq i32 %40, 1 br i1 %41, label %42, label %44 42: ; preds = %36 %43 = load i32, ptr %14, align 4 store i32 %43, ptr %13, align 4 br label %49 44: ; preds = %36 %45 = load ptr, ptr %5, align 8 %46 = getelementptr inbounds ptr, ptr %45, i64 0 %47 = load ptr, ptr %46, align 8 %48 = call i32 @usage(ptr noundef %47) br label %49 49: ; preds = %44, %42 br label %50 50: ; preds = %49, %35 store i32 3, ptr %12, align 4 %51 = load i32, ptr %12, align 4 %52 = load i32, ptr %4, align 4 %53 = icmp slt i32 %51, %52 br i1 %53, label %.lr.ph, label %87 .lr.ph: ; preds = %50 br label %54 54: ; preds = %.lr.ph, %81 %55 = load ptr, ptr %5, align 8 %56 = load i32, ptr %12, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds ptr, ptr %55, i64 %57 %59 = load ptr, ptr %58, align 8 %60 = call i64 @strcmp(ptr noundef %59, ptr noundef @.str.2) %61 = icmp eq i64 %60, 0 br i1 %61, label %62, label %64 62: ; preds = %54 %63 = load ptr, ptr @stdout, align 8 store ptr %63, ptr %15, align 8 br label %80 64: ; preds = %54 %65 = load ptr, ptr %5, align 8 %66 = load i32, ptr %12, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds ptr, ptr %65, i64 %67 %69 = load ptr, ptr %68, align 8 %70 = call i64 @strcmp(ptr noundef %69, ptr noundef @.str.3) %71 = icmp eq i64 %70, 0 br i1 %71, label %72, label %74 72: ; preds = %64 %73 = load ptr, ptr @stderr, align 8 store ptr %73, ptr %15, align 8 br label %79 74: ; preds = %64 %75 = load ptr, ptr %5, align 8 %76 = getelementptr inbounds ptr, ptr %75, i64 0 %77 = load ptr, ptr %76, align 8 %78 = call i32 @usage(ptr noundef %77) br label %79 79: ; preds = %74, %72 br label %80 80: ; preds = %79, %62 br label %81 81: ; preds = %80 %82 = load i32, ptr %12, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %12, align 4 %84 = load i32, ptr %12, align 4 %85 = load i32, ptr %4, align 4 %86 = icmp slt i32 %84, %85 br i1 %86, label %54, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %81 br label %87 87: ; preds = %._crit_edge, %50 %88 = load i32, ptr %13, align 4 %89 = load i32, ptr %14, align 4 %90 = icmp sgt i32 %88, %89 br i1 %90, label %91, label %97 91: ; preds = %87 %92 = load ptr, ptr @stderr, align 8 %93 = load i32, ptr %13, align 4 %94 = load i32, ptr %14, align 4 %95 = call i32 @fprintf(ptr noundef %92, ptr noundef @.str.4, i32 noundef %93, i32 noundef %94) %96 = call i32 @exit(i32 noundef 1) #3 unreachable 97: ; preds = %87 %98 = load ptr, ptr %6, align 8 %99 = call i32 @constraints_name_to_types(ptr noundef %98, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11) %100 = icmp ne i32 %99, 0 br i1 %100, label %103, label %101 101: ; preds = %97 %102 = call i32 @exit(i32 noundef 1) #3 unreachable 103: ; preds = %97 %104 = load i32, ptr %13, align 4 %105 = load i32, ptr %14, align 4 %106 = load i32, ptr %8, align 4 %107 = load i32, ptr %9, align 4 %108 = load i32, ptr %10, align 4 %109 = load i32, ptr %11, align 4 %110 = load ptr, ptr %6, align 8 %111 = load ptr, ptr %15, align 8 %112 = call i32 @count_constrained_walks(i32 noundef %104, i32 noundef %105, i32 noundef %106, i32 noundef %107, i32 noundef %108, i32 noundef %109, ptr noundef %110, ptr noundef %111) ret i32 0 } declare i32 @usage(ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ...) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @constraints_name_to_types(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @count_constrained_walks(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp7xuc5v1a.c' source_filename = "/tmp/tmp7xuc5v1a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"0\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"0123456789abcdef\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @itoa(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [20 x i8], align 16 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 %11 = load i32, ptr %7, align 4 %12 = icmp sgt i32 %11, 16 br i1 %12, label %13, label %14 13: ; preds = %3 store ptr null, ptr %4, align 8 br label %71 14: ; preds = %3 %15 = load i32, ptr %5, align 4 %16 = icmp ne i32 %15, 0 br i1 %16, label %20, label %17 17: ; preds = %14 %18 = load ptr, ptr %6, align 8 %19 = call ptr @strcpy(ptr noundef %18, ptr noundef @.str) store ptr %19, ptr %4, align 8 br label %71 20: ; preds = %14 %21 = load i32, ptr %5, align 4 %22 = icmp slt i32 %21, 0 br i1 %22, label %23, label %31 23: ; preds = %20 %24 = load i32, ptr %5, align 4 %25 = sub nsw i32 0, %24 store i32 %25, ptr %5, align 4 %26 = load ptr, ptr %6, align 8 %27 = load i32, ptr %9, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %9, align 4 %29 = sext i32 %27 to i64 %30 = getelementptr inbounds i8, ptr %26, i64 %29 store i8 45, ptr %30, align 1 br label %31 31: ; preds = %23, %20 br label %32 32: ; preds = %35, %31 %33 = load i32, ptr %5, align 4 %34 = icmp ne i32 %33, 0 br i1 %34, label %35, label %47 35: ; preds = %32 %36 = load i32, ptr %5, align 4 %37 = load i32, ptr %7, align 4 %38 = srem i32 %36, %37 %39 = trunc i32 %38 to i8 %40 = load i32, ptr %8, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %8, align 4 %42 = sext i32 %40 to i64 %43 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 %42 store i8 %39, ptr %43, align 1 %44 = load i32, ptr %7, align 4 %45 = load i32, ptr %5, align 4 %46 = sdiv i32 %45, %44 store i32 %46, ptr %5, align 4 br label %32, !llvm.loop !6 47: ; preds = %32 br label %48 48: ; preds = %51, %47 %49 = load i32, ptr %8, align 4 %50 = icmp sgt i32 %49, 0 br i1 %50, label %51, label %65 51: ; preds = %48 %52 = load i32, ptr %8, align 4 %53 = add nsw i32 %52, -1 store i32 %53, ptr %8, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 %54 %56 = load i8, ptr %55, align 1 %57 = sext i8 %56 to i64 %58 = getelementptr inbounds [17 x i8], ptr @.str.1, i64 0, i64 %57 %59 = load i8, ptr %58, align 1 %60 = load ptr, ptr %6, align 8 %61 = load i32, ptr %9, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %9, align 4 %63 = sext i32 %61 to i64 %64 = getelementptr inbounds i8, ptr %60, i64 %63 store i8 %59, ptr %64, align 1 br label %48, !llvm.loop !8 65: ; preds = %48 %66 = load ptr, ptr %6, align 8 %67 = load i32, ptr %9, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i8, ptr %66, i64 %68 store i8 0, ptr %69, align 1 %70 = load ptr, ptr %6, align 8 store ptr %70, ptr %4, align 8 br label %71 71: ; preds = %65, %17, %13 %72 = load ptr, ptr %4, align 8 ret ptr %72 } declare ptr @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7xuc5v1a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"0\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"0123456789abcdef\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @itoa(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [20 x i8], align 16 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 %11 = load i32, ptr %7, align 4 %12 = icmp sgt i32 %11, 16 br i1 %12, label %13, label %14 13: ; preds = %3 store ptr null, ptr %4, align 8 br label %73 14: ; preds = %3 %15 = load i32, ptr %5, align 4 %16 = icmp ne i32 %15, 0 br i1 %16, label %20, label %17 17: ; preds = %14 %18 = load ptr, ptr %6, align 8 %19 = call ptr @strcpy(ptr noundef %18, ptr noundef @.str) store ptr %19, ptr %4, align 8 br label %73 20: ; preds = %14 %21 = load i32, ptr %5, align 4 %22 = icmp slt i32 %21, 0 br i1 %22, label %23, label %31 23: ; preds = %20 %24 = load i32, ptr %5, align 4 %25 = sub nsw i32 0, %24 store i32 %25, ptr %5, align 4 %26 = load ptr, ptr %6, align 8 %27 = load i32, ptr %9, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %9, align 4 %29 = sext i32 %27 to i64 %30 = getelementptr inbounds i8, ptr %26, i64 %29 store i8 45, ptr %30, align 1 br label %31 31: ; preds = %23, %20 %32 = load i32, ptr %5, align 4 %33 = icmp ne i32 %32, 0 br i1 %33, label %.lr.ph, label %48 .lr.ph: ; preds = %31 br label %34 34: ; preds = %.lr.ph, %34 %35 = load i32, ptr %5, align 4 %36 = load i32, ptr %7, align 4 %37 = srem i32 %35, %36 %38 = trunc i32 %37 to i8 %39 = load i32, ptr %8, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %8, align 4 %41 = sext i32 %39 to i64 %42 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 %41 store i8 %38, ptr %42, align 1 %43 = load i32, ptr %7, align 4 %44 = load i32, ptr %5, align 4 %45 = sdiv i32 %44, %43 store i32 %45, ptr %5, align 4 %46 = load i32, ptr %5, align 4 %47 = icmp ne i32 %46, 0 br i1 %47, label %34, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %48 48: ; preds = %._crit_edge, %31 %49 = load i32, ptr %8, align 4 %50 = icmp sgt i32 %49, 0 br i1 %50, label %.lr.ph2, label %67 .lr.ph2: ; preds = %48 br label %51 51: ; preds = %.lr.ph2, %51 %52 = load i32, ptr %8, align 4 %53 = add nsw i32 %52, -1 store i32 %53, ptr %8, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 %54 %56 = load i8, ptr %55, align 1 %57 = sext i8 %56 to i64 %58 = getelementptr inbounds [17 x i8], ptr @.str.1, i64 0, i64 %57 %59 = load i8, ptr %58, align 1 %60 = load ptr, ptr %6, align 8 %61 = load i32, ptr %9, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %9, align 4 %63 = sext i32 %61 to i64 %64 = getelementptr inbounds i8, ptr %60, i64 %63 store i8 %59, ptr %64, align 1 %65 = load i32, ptr %8, align 4 %66 = icmp sgt i32 %65, 0 br i1 %66, label %51, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %51 br label %67 67: ; preds = %._crit_edge3, %48 %68 = load ptr, ptr %6, align 8 %69 = load i32, ptr %9, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i8, ptr %68, i64 %70 store i8 0, ptr %71, align 1 %72 = load ptr, ptr %6, align 8 store ptr %72, ptr %4, align 8 br label %73 73: ; preds = %67, %17, %13 %74 = load ptr, ptr %4, align 8 ret ptr %74 } declare ptr @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp6z9n09oa.c' source_filename = "/tmp/tmp6z9n09oa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @putchar(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 br label %3 3: ; preds = %7, %1 %4 = load volatile i32, ptr inttoptr (i64 -8070450530117222396 to ptr), align 4 %5 = and i32 %4, 65535 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %3 call void asm sideeffect "dadd $$v0, $$v0, $$0", "~{dirflag},~{fpsr},~{flags}"() #1, !srcloc !6 br label %3, !llvm.loop !7 8: ; preds = %3 %9 = load i32, ptr %2, align 4 %10 = trunc i32 %9 to i8 store volatile i8 %10, ptr inttoptr (i64 -8070450530117222400 to ptr), align 1 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" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = !{i64 125} !7 = distinct !{!7, !8} !8 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6z9n09oa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @putchar(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load volatile i32, ptr inttoptr (i64 -8070450530117222396 to ptr), align 4 %4 = and i32 %3, 65535 %5 = icmp eq i32 %4, 0 br i1 %5, label %.lr.ph, label %10 .lr.ph: ; preds = %1 br label %6 6: ; preds = %.lr.ph, %6 call void asm sideeffect "dadd $$v0, $$v0, $$0", "~{dirflag},~{fpsr},~{flags}"() #1, !srcloc !6 %7 = load volatile i32, ptr inttoptr (i64 -8070450530117222396 to ptr), align 4 %8 = and i32 %7, 65535 %9 = icmp eq i32 %8, 0 br i1 %9, label %6, label %._crit_edge, !llvm.loop !7 ._crit_edge: ; preds = %6 br label %10 10: ; preds = %._crit_edge, %1 %11 = load i32, ptr %2, align 4 %12 = trunc i32 %11 to i8 store volatile i8 %12, ptr inttoptr (i64 -8070450530117222400 to ptr), align 1 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" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = !{i64 125} !7 = distinct !{!7, !8} !8 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmph9lr11zn.c' source_filename = "/tmp/tmph9lr11zn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mat_search(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 store i32 0, ptr %9, align 4 %15 = load ptr, ptr %8, align 8 %16 = call i32 @strlen(ptr noundef %15) store i32 %16, ptr %13, align 4 %17 = load ptr, ptr %8, align 8 %18 = call ptr @inverti_parola(ptr noundef %17) store ptr %18, ptr %14, align 8 store i32 0, ptr %10, align 4 br label %19 19: ; preds = %96, %4 %20 = load i32, ptr %10, align 4 %21 = load i32, ptr %6, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %23, label %99 23: ; preds = %19 store i32 0, ptr %12, align 4 store i32 0, ptr %11, align 4 br label %24 24: ; preds = %92, %23 %25 = load i32, ptr %11, align 4 %26 = load i32, ptr %7, align 4 %27 = load i32, ptr %13, align 4 %28 = sub nsw i32 %26, %27 %29 = add nsw i32 %28, 1 %30 = icmp slt i32 %25, %29 br i1 %30, label %31, label %95 31: ; preds = %24 br label %32 32: ; preds = %51, %31 %33 = load ptr, ptr %5, align 8 %34 = load i32, ptr %10, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [22 x i8], ptr %33, i64 %35 %37 = load i32, ptr %11, align 4 %38 = load i32, ptr %12, align 4 %39 = add nsw i32 %37, %38 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [22 x i8], ptr %36, i64 0, i64 %40 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = load ptr, ptr %8, align 8 %45 = load i32, ptr %12, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %44, i64 %46 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 %50 = icmp eq i32 %43, %49 br i1 %50, label %51, label %54 51: ; preds = %32 %52 = load i32, ptr %12, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %12, align 4 br label %32, !llvm.loop !6 54: ; preds = %32 %55 = load i32, ptr %12, align 4 %56 = load i32, ptr %13, align 4 %57 = icmp eq i32 %55, %56 br i1 %57, label %58, label %61 58: ; preds = %54 %59 = load i32, ptr %9, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %9, align 4 br label %61 61: ; preds = %58, %54 store i32 0, ptr %12, align 4 br label %62 62: ; preds = %81, %61 %63 = load ptr, ptr %5, align 8 %64 = load i32, ptr %10, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds [22 x i8], ptr %63, i64 %65 %67 = load i32, ptr %11, align 4 %68 = load i32, ptr %12, align 4 %69 = add nsw i32 %67, %68 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds [22 x i8], ptr %66, i64 0, i64 %70 %72 = load i8, ptr %71, align 1 %73 = sext i8 %72 to i32 %74 = load ptr, ptr %14, align 8 %75 = load i32, ptr %12, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds i8, ptr %74, i64 %76 %78 = load i8, ptr %77, align 1 %79 = sext i8 %78 to i32 %80 = icmp eq i32 %73, %79 br i1 %80, label %81, label %84 81: ; preds = %62 %82 = load i32, ptr %12, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %12, align 4 br label %62, !llvm.loop !8 84: ; preds = %62 %85 = load i32, ptr %12, align 4 %86 = load i32, ptr %13, align 4 %87 = icmp eq i32 %85, %86 br i1 %87, label %88, label %91 88: ; preds = %84 %89 = load i32, ptr %9, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %9, align 4 br label %91 91: ; preds = %88, %84 store i32 0, ptr %12, align 4 br label %92 92: ; preds = %91 %93 = load i32, ptr %11, align 4 %94 = add nsw i32 %93, 1 store i32 %94, ptr %11, align 4 br label %24, !llvm.loop !9 95: ; preds = %24 br label %96 96: ; preds = %95 %97 = load i32, ptr %10, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %10, align 4 br label %19, !llvm.loop !10 99: ; preds = %19 store i32 0, ptr %11, align 4 br label %100 100: ; preds = %177, %99 %101 = load i32, ptr %11, align 4 %102 = load i32, ptr %7, align 4 %103 = icmp slt i32 %101, %102 br i1 %103, label %104, label %180 104: ; preds = %100 store i32 0, ptr %12, align 4 store i32 0, ptr %10, align 4 br label %105 105: ; preds = %173, %104 %106 = load i32, ptr %10, align 4 %107 = load i32, ptr %6, align 4 %108 = load i32, ptr %13, align 4 %109 = sub nsw i32 %107, %108 %110 = add nsw i32 %109, 1 %111 = icmp slt i32 %106, %110 br i1 %111, label %112, label %176 112: ; preds = %105 br label %113 113: ; preds = %132, %112 %114 = load ptr, ptr %5, align 8 %115 = load i32, ptr %10, align 4 %116 = load i32, ptr %12, align 4 %117 = add nsw i32 %115, %116 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds [22 x i8], ptr %114, i64 %118 %120 = load i32, ptr %11, align 4 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds [22 x i8], ptr %119, i64 0, i64 %121 %123 = load i8, ptr %122, align 1 %124 = sext i8 %123 to i32 %125 = load ptr, ptr %8, align 8 %126 = load i32, ptr %12, align 4 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds i8, ptr %125, i64 %127 %129 = load i8, ptr %128, align 1 %130 = sext i8 %129 to i32 %131 = icmp eq i32 %124, %130 br i1 %131, label %132, label %135 132: ; preds = %113 %133 = load i32, ptr %12, align 4 %134 = add nsw i32 %133, 1 store i32 %134, ptr %12, align 4 br label %113, !llvm.loop !11 135: ; preds = %113 %136 = load i32, ptr %12, align 4 %137 = load i32, ptr %13, align 4 %138 = icmp eq i32 %136, %137 br i1 %138, label %139, label %142 139: ; preds = %135 %140 = load i32, ptr %9, align 4 %141 = add nsw i32 %140, 1 store i32 %141, ptr %9, align 4 br label %142 142: ; preds = %139, %135 store i32 0, ptr %12, align 4 br label %143 143: ; preds = %162, %142 %144 = load ptr, ptr %5, align 8 %145 = load i32, ptr %10, align 4 %146 = load i32, ptr %12, align 4 %147 = add nsw i32 %145, %146 %148 = sext i32 %147 to i64 %149 = getelementptr inbounds [22 x i8], ptr %144, i64 %148 %150 = load i32, ptr %11, align 4 %151 = sext i32 %150 to i64 %152 = getelementptr inbounds [22 x i8], ptr %149, i64 0, i64 %151 %153 = load i8, ptr %152, align 1 %154 = sext i8 %153 to i32 %155 = load ptr, ptr %14, align 8 %156 = load i32, ptr %12, align 4 %157 = sext i32 %156 to i64 %158 = getelementptr inbounds i8, ptr %155, i64 %157 %159 = load i8, ptr %158, align 1 %160 = sext i8 %159 to i32 %161 = icmp eq i32 %154, %160 br i1 %161, label %162, label %165 162: ; preds = %143 %163 = load i32, ptr %12, align 4 %164 = add nsw i32 %163, 1 store i32 %164, ptr %12, align 4 br label %143, !llvm.loop !12 165: ; preds = %143 %166 = load i32, ptr %12, align 4 %167 = load i32, ptr %13, align 4 %168 = icmp eq i32 %166, %167 br i1 %168, label %169, label %172 169: ; preds = %165 %170 = load i32, ptr %9, align 4 %171 = add nsw i32 %170, 1 store i32 %171, ptr %9, align 4 br label %172 172: ; preds = %169, %165 store i32 0, ptr %12, align 4 br label %173 173: ; preds = %172 %174 = load i32, ptr %10, align 4 %175 = add nsw i32 %174, 1 store i32 %175, ptr %10, align 4 br label %105, !llvm.loop !13 176: ; preds = %105 br label %177 177: ; preds = %176 %178 = load i32, ptr %11, align 4 %179 = add nsw i32 %178, 1 store i32 %179, ptr %11, align 4 br label %100, !llvm.loop !14 180: ; preds = %100 %181 = load i32, ptr %9, align 4 ret i32 %181 } declare i32 @strlen(ptr noundef) #1 declare ptr @inverti_parola(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph9lr11zn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mat_search(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 store i32 0, ptr %9, align 4 %15 = load ptr, ptr %8, align 8 %16 = call i32 @strlen(ptr noundef %15) store i32 %16, ptr %13, align 4 %17 = load ptr, ptr %8, align 8 %18 = call ptr @inverti_parola(ptr noundef %17) store ptr %18, ptr %14, align 8 store i32 0, ptr %10, align 4 %19 = load i32, ptr %10, align 4 %20 = load i32, ptr %6, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %.lr.ph8, label %140 .lr.ph8: ; preds = %4 br label %22 22: ; preds = %.lr.ph8, %134 store i32 0, ptr %12, align 4 store i32 0, ptr %11, align 4 %23 = load i32, ptr %11, align 4 %24 = load i32, ptr %7, align 4 %25 = load i32, ptr %13, align 4 %26 = sub nsw i32 %24, %25 %27 = add nsw i32 %26, 1 %28 = icmp slt i32 %23, %27 br i1 %28, label %.lr.ph5, label %133 .lr.ph5: ; preds = %22 br label %29 29: ; preds = %.lr.ph5, %124 %30 = load ptr, ptr %5, align 8 %31 = load i32, ptr %10, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [22 x i8], ptr %30, i64 %32 %34 = load i32, ptr %11, align 4 %35 = load i32, ptr %12, align 4 %36 = add nsw i32 %34, %35 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [22 x i8], ptr %33, i64 0, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = load ptr, ptr %8, align 8 %42 = load i32, ptr %12, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %41, i64 %43 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = icmp eq i32 %40, %46 br i1 %47, label %.lr.ph, label %69 .lr.ph: ; preds = %29 br label %48 48: ; preds = %.lr.ph, %48 %49 = load i32, ptr %12, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %12, align 4 %51 = load ptr, ptr %5, align 8 %52 = load i32, ptr %10, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [22 x i8], ptr %51, i64 %53 %55 = load i32, ptr %11, align 4 %56 = load i32, ptr %12, align 4 %57 = add nsw i32 %55, %56 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds [22 x i8], ptr %54, i64 0, i64 %58 %60 = load i8, ptr %59, align 1 %61 = sext i8 %60 to i32 %62 = load ptr, ptr %8, align 8 %63 = load i32, ptr %12, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i8, ptr %62, i64 %64 %66 = load i8, ptr %65, align 1 %67 = sext i8 %66 to i32 %68 = icmp eq i32 %61, %67 br i1 %68, label %48, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %48 br label %69 69: ; preds = %._crit_edge, %29 %70 = load i32, ptr %12, align 4 %71 = load i32, ptr %13, align 4 %72 = icmp eq i32 %70, %71 br i1 %72, label %73, label %76 73: ; preds = %69 %74 = load i32, ptr %9, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %9, align 4 br label %76 76: ; preds = %73, %69 store i32 0, ptr %12, align 4 %77 = load ptr, ptr %5, align 8 %78 = load i32, ptr %10, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds [22 x i8], ptr %77, i64 %79 %81 = load i32, ptr %11, align 4 %82 = load i32, ptr %12, align 4 %83 = add nsw i32 %81, %82 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds [22 x i8], ptr %80, i64 0, i64 %84 %86 = load i8, ptr %85, align 1 %87 = sext i8 %86 to i32 %88 = load ptr, ptr %14, align 8 %89 = load i32, ptr %12, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds i8, ptr %88, i64 %90 %92 = load i8, ptr %91, align 1 %93 = sext i8 %92 to i32 %94 = icmp eq i32 %87, %93 br i1 %94, label %.lr.ph2, label %116 .lr.ph2: ; preds = %76 br label %95 95: ; preds = %.lr.ph2, %95 %96 = load i32, ptr %12, align 4 %97 = add nsw i32 %96, 1 store i32 %97, ptr %12, align 4 %98 = load ptr, ptr %5, align 8 %99 = load i32, ptr %10, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds [22 x i8], ptr %98, i64 %100 %102 = load i32, ptr %11, align 4 %103 = load i32, ptr %12, align 4 %104 = add nsw i32 %102, %103 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds [22 x i8], ptr %101, i64 0, i64 %105 %107 = load i8, ptr %106, align 1 %108 = sext i8 %107 to i32 %109 = load ptr, ptr %14, align 8 %110 = load i32, ptr %12, align 4 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds i8, ptr %109, i64 %111 %113 = load i8, ptr %112, align 1 %114 = sext i8 %113 to i32 %115 = icmp eq i32 %108, %114 br i1 %115, label %95, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %95 br label %116 116: ; preds = %._crit_edge3, %76 %117 = load i32, ptr %12, align 4 %118 = load i32, ptr %13, align 4 %119 = icmp eq i32 %117, %118 br i1 %119, label %120, label %123 120: ; preds = %116 %121 = load i32, ptr %9, align 4 %122 = add nsw i32 %121, 1 store i32 %122, ptr %9, align 4 br label %123 123: ; preds = %120, %116 store i32 0, ptr %12, align 4 br label %124 124: ; preds = %123 %125 = load i32, ptr %11, align 4 %126 = add nsw i32 %125, 1 store i32 %126, ptr %11, align 4 %127 = load i32, ptr %11, align 4 %128 = load i32, ptr %7, align 4 %129 = load i32, ptr %13, align 4 %130 = sub nsw i32 %128, %129 %131 = add nsw i32 %130, 1 %132 = icmp slt i32 %127, %131 br i1 %132, label %29, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %124 br label %133 133: ; preds = %._crit_edge6, %22 br label %134 134: ; preds = %133 %135 = load i32, ptr %10, align 4 %136 = add nsw i32 %135, 1 store i32 %136, ptr %10, align 4 %137 = load i32, ptr %10, align 4 %138 = load i32, ptr %6, align 4 %139 = icmp slt i32 %137, %138 br i1 %139, label %22, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %134 br label %140 140: ; preds = %._crit_edge9, %4 store i32 0, ptr %11, align 4 %141 = load i32, ptr %11, align 4 %142 = load i32, ptr %7, align 4 %143 = icmp slt i32 %141, %142 br i1 %143, label %.lr.ph20, label %262 .lr.ph20: ; preds = %140 br label %144 144: ; preds = %.lr.ph20, %256 store i32 0, ptr %12, align 4 store i32 0, ptr %10, align 4 %145 = load i32, ptr %10, align 4 %146 = load i32, ptr %6, align 4 %147 = load i32, ptr %13, align 4 %148 = sub nsw i32 %146, %147 %149 = add nsw i32 %148, 1 %150 = icmp slt i32 %145, %149 br i1 %150, label %.lr.ph17, label %255 .lr.ph17: ; preds = %144 br label %151 151: ; preds = %.lr.ph17, %246 %152 = load ptr, ptr %5, align 8 %153 = load i32, ptr %10, align 4 %154 = load i32, ptr %12, align 4 %155 = add nsw i32 %153, %154 %156 = sext i32 %155 to i64 %157 = getelementptr inbounds [22 x i8], ptr %152, i64 %156 %158 = load i32, ptr %11, align 4 %159 = sext i32 %158 to i64 %160 = getelementptr inbounds [22 x i8], ptr %157, i64 0, i64 %159 %161 = load i8, ptr %160, align 1 %162 = sext i8 %161 to i32 %163 = load ptr, ptr %8, align 8 %164 = load i32, ptr %12, align 4 %165 = sext i32 %164 to i64 %166 = getelementptr inbounds i8, ptr %163, i64 %165 %167 = load i8, ptr %166, align 1 %168 = sext i8 %167 to i32 %169 = icmp eq i32 %162, %168 br i1 %169, label %.lr.ph11, label %191 .lr.ph11: ; preds = %151 br label %170 170: ; preds = %.lr.ph11, %170 %171 = load i32, ptr %12, align 4 %172 = add nsw i32 %171, 1 store i32 %172, ptr %12, align 4 %173 = load ptr, ptr %5, align 8 %174 = load i32, ptr %10, align 4 %175 = load i32, ptr %12, align 4 %176 = add nsw i32 %174, %175 %177 = sext i32 %176 to i64 %178 = getelementptr inbounds [22 x i8], ptr %173, i64 %177 %179 = load i32, ptr %11, align 4 %180 = sext i32 %179 to i64 %181 = getelementptr inbounds [22 x i8], ptr %178, i64 0, i64 %180 %182 = load i8, ptr %181, align 1 %183 = sext i8 %182 to i32 %184 = load ptr, ptr %8, align 8 %185 = load i32, ptr %12, align 4 %186 = sext i32 %185 to i64 %187 = getelementptr inbounds i8, ptr %184, i64 %186 %188 = load i8, ptr %187, align 1 %189 = sext i8 %188 to i32 %190 = icmp eq i32 %183, %189 br i1 %190, label %170, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %170 br label %191 191: ; preds = %._crit_edge12, %151 %192 = load i32, ptr %12, align 4 %193 = load i32, ptr %13, align 4 %194 = icmp eq i32 %192, %193 br i1 %194, label %195, label %198 195: ; preds = %191 %196 = load i32, ptr %9, align 4 %197 = add nsw i32 %196, 1 store i32 %197, ptr %9, align 4 br label %198 198: ; preds = %195, %191 store i32 0, ptr %12, align 4 %199 = load ptr, ptr %5, align 8 %200 = load i32, ptr %10, align 4 %201 = load i32, ptr %12, align 4 %202 = add nsw i32 %200, %201 %203 = sext i32 %202 to i64 %204 = getelementptr inbounds [22 x i8], ptr %199, i64 %203 %205 = load i32, ptr %11, align 4 %206 = sext i32 %205 to i64 %207 = getelementptr inbounds [22 x i8], ptr %204, i64 0, i64 %206 %208 = load i8, ptr %207, align 1 %209 = sext i8 %208 to i32 %210 = load ptr, ptr %14, align 8 %211 = load i32, ptr %12, align 4 %212 = sext i32 %211 to i64 %213 = getelementptr inbounds i8, ptr %210, i64 %212 %214 = load i8, ptr %213, align 1 %215 = sext i8 %214 to i32 %216 = icmp eq i32 %209, %215 br i1 %216, label %.lr.ph14, label %238 .lr.ph14: ; preds = %198 br label %217 217: ; preds = %.lr.ph14, %217 %218 = load i32, ptr %12, align 4 %219 = add nsw i32 %218, 1 store i32 %219, ptr %12, align 4 %220 = load ptr, ptr %5, align 8 %221 = load i32, ptr %10, align 4 %222 = load i32, ptr %12, align 4 %223 = add nsw i32 %221, %222 %224 = sext i32 %223 to i64 %225 = getelementptr inbounds [22 x i8], ptr %220, i64 %224 %226 = load i32, ptr %11, align 4 %227 = sext i32 %226 to i64 %228 = getelementptr inbounds [22 x i8], ptr %225, i64 0, i64 %227 %229 = load i8, ptr %228, align 1 %230 = sext i8 %229 to i32 %231 = load ptr, ptr %14, align 8 %232 = load i32, ptr %12, align 4 %233 = sext i32 %232 to i64 %234 = getelementptr inbounds i8, ptr %231, i64 %233 %235 = load i8, ptr %234, align 1 %236 = sext i8 %235 to i32 %237 = icmp eq i32 %230, %236 br i1 %237, label %217, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %217 br label %238 238: ; preds = %._crit_edge15, %198 %239 = load i32, ptr %12, align 4 %240 = load i32, ptr %13, align 4 %241 = icmp eq i32 %239, %240 br i1 %241, label %242, label %245 242: ; preds = %238 %243 = load i32, ptr %9, align 4 %244 = add nsw i32 %243, 1 store i32 %244, ptr %9, align 4 br label %245 245: ; preds = %242, %238 store i32 0, ptr %12, align 4 br label %246 246: ; preds = %245 %247 = load i32, ptr %10, align 4 %248 = add nsw i32 %247, 1 store i32 %248, ptr %10, align 4 %249 = load i32, ptr %10, align 4 %250 = load i32, ptr %6, align 4 %251 = load i32, ptr %13, align 4 %252 = sub nsw i32 %250, %251 %253 = add nsw i32 %252, 1 %254 = icmp slt i32 %249, %253 br i1 %254, label %151, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %246 br label %255 255: ; preds = %._crit_edge18, %144 br label %256 256: ; preds = %255 %257 = load i32, ptr %11, align 4 %258 = add nsw i32 %257, 1 store i32 %258, ptr %11, align 4 %259 = load i32, ptr %11, align 4 %260 = load i32, ptr %7, align 4 %261 = icmp slt i32 %259, %260 br i1 %261, label %144, label %._crit_edge21, !llvm.loop !14 ._crit_edge21: ; preds = %256 br label %262 262: ; preds = %._crit_edge21, %140 %263 = load i32, ptr %9, align 4 ret i32 %263 } declare i32 @strlen(ptr noundef) #1 declare ptr @inverti_parola(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7}
; ModuleID = '/tmp/tmppiwxcm_j.c' source_filename = "/tmp/tmppiwxcm_j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @dummy2() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = call i32 (...) @random() store i32 %3, ptr %1, align 4 %4 = load i32, ptr %1, align 4 %5 = sitofp i32 %4 to float store float %5, ptr %2, align 4 %6 = load float, ptr %2, align 4 ret float %6 } 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/tmppiwxcm_j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @dummy2() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = call i32 (...) @random() store i32 %3, ptr %1, align 4 %4 = load i32, ptr %1, align 4 %5 = sitofp i32 %4 to float store float %5, ptr %2, align 4 %6 = load float, ptr %2, align 4 ret float %6 } 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/tmpg2uvcqjq.c' source_filename = "/tmp/tmpg2uvcqjq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global ptr null, align 8 @stderr = dso_local global ptr null, align 8 @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fputc(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 %4, align 4 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %5, align 8 %7 = load ptr, ptr @stdout, align 8 %8 = icmp eq ptr %6, %7 br i1 %8, label %13, label %9 9: ; preds = %2 %10 = load ptr, ptr %5, align 8 %11 = load ptr, ptr @stderr, align 8 %12 = icmp eq ptr %10, %11 br i1 %12, label %13, label %17 13: ; preds = %9, %2 %14 = load i32, ptr %4, align 4 %15 = call i32 @PrintChar(i32 noundef %14) %16 = load i32, ptr %4, align 4 store i32 %16, ptr %3, align 4 br label %19 17: ; preds = %9 %18 = load i32, ptr @EOF, align 4 store i32 %18, ptr %3, align 4 br label %19 19: ; preds = %17, %13 %20 = load i32, ptr %3, align 4 ret i32 %20 } declare i32 @PrintChar(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/tmpg2uvcqjq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global ptr null, align 8 @stderr = dso_local global ptr null, align 8 @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fputc(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 %4, align 4 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %5, align 8 %7 = load ptr, ptr @stdout, align 8 %8 = icmp eq ptr %6, %7 br i1 %8, label %13, label %9 9: ; preds = %2 %10 = load ptr, ptr %5, align 8 %11 = load ptr, ptr @stderr, align 8 %12 = icmp eq ptr %10, %11 br i1 %12, label %13, label %17 13: ; preds = %9, %2 %14 = load i32, ptr %4, align 4 %15 = call i32 @PrintChar(i32 noundef %14) %16 = load i32, ptr %4, align 4 store i32 %16, ptr %3, align 4 br label %19 17: ; preds = %9 %18 = load i32, ptr @EOF, align 4 store i32 %18, ptr %3, align 4 br label %19 19: ; preds = %17, %13 %20 = load i32, ptr %3, align 4 ret i32 %20 } declare i32 @PrintChar(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/tmpg2zqzq43.c' source_filename = "/tmp/tmpg2zqzq43.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_value(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 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %6, align 8 store ptr %7, ptr %4, align 8 br label %8 8: ; preds = %21, %1 %9 = load ptr, ptr %4, align 8 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 10 br i1 %12, label %13, label %18 13: ; preds = %8 %14 = load ptr, ptr %4, align 8 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp ne i32 %16, 0 br label %18 18: ; preds = %13, %8 %19 = phi i1 [ false, %8 ], [ %17, %13 ] br i1 %19, label %20, label %24 20: ; preds = %18 br label %21 21: ; preds = %20 %22 = load ptr, ptr %4, align 8 %23 = getelementptr inbounds i8, ptr %22, i32 1 store ptr %23, ptr %4, align 8 br label %8, !llvm.loop !6 24: ; preds = %18 %25 = load ptr, ptr %4, align 8 %26 = load ptr, ptr %3, align 8 %27 = load ptr, ptr %26, align 8 %28 = ptrtoint ptr %25 to i64 %29 = ptrtoint ptr %27 to i64 %30 = sub i64 %28, %29 %31 = add nsw i64 %30, 1 %32 = trunc i64 %31 to i32 %33 = call ptr @calloc(i32 noundef %32, i32 noundef 1) store ptr %33, ptr %5, align 8 %34 = load ptr, ptr %5, align 8 %35 = icmp eq ptr %34, null br i1 %35, label %36, label %37 36: ; preds = %24 store ptr null, ptr %2, align 8 br label %52 37: ; preds = %24 %38 = load ptr, ptr %5, align 8 %39 = load ptr, ptr %3, align 8 %40 = load ptr, ptr %39, align 8 %41 = load ptr, ptr %4, align 8 %42 = load ptr, ptr %3, align 8 %43 = load ptr, ptr %42, align 8 %44 = ptrtoint ptr %41 to i64 %45 = ptrtoint ptr %43 to i64 %46 = sub i64 %44, %45 %47 = trunc i64 %46 to i32 %48 = call i32 @memcpy(ptr noundef %38, ptr noundef %40, i32 noundef %47) %49 = load ptr, ptr %4, align 8 %50 = load ptr, ptr %3, align 8 store ptr %49, ptr %50, align 8 %51 = load ptr, ptr %5, align 8 store ptr %51, ptr %2, align 8 br label %52 52: ; preds = %37, %36 %53 = load ptr, ptr %2, align 8 ret ptr %53 } declare ptr @calloc(i32 noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg2zqzq43.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_value(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 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %6, align 8 store ptr %7, ptr %4, align 8 br label %8 8: ; preds = %21, %1 %9 = load ptr, ptr %4, align 8 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 10 br i1 %12, label %13, label %18 13: ; preds = %8 %14 = load ptr, ptr %4, align 8 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp ne i32 %16, 0 br label %18 18: ; preds = %13, %8 %19 = phi i1 [ false, %8 ], [ %17, %13 ] br i1 %19, label %20, label %24 20: ; preds = %18 br label %21 21: ; preds = %20 %22 = load ptr, ptr %4, align 8 %23 = getelementptr inbounds i8, ptr %22, i32 1 store ptr %23, ptr %4, align 8 br label %8, !llvm.loop !6 24: ; preds = %18 %25 = load ptr, ptr %4, align 8 %26 = load ptr, ptr %3, align 8 %27 = load ptr, ptr %26, align 8 %28 = ptrtoint ptr %25 to i64 %29 = ptrtoint ptr %27 to i64 %30 = sub i64 %28, %29 %31 = add nsw i64 %30, 1 %32 = trunc i64 %31 to i32 %33 = call ptr @calloc(i32 noundef %32, i32 noundef 1) store ptr %33, ptr %5, align 8 %34 = load ptr, ptr %5, align 8 %35 = icmp eq ptr %34, null br i1 %35, label %36, label %37 36: ; preds = %24 store ptr null, ptr %2, align 8 br label %52 37: ; preds = %24 %38 = load ptr, ptr %5, align 8 %39 = load ptr, ptr %3, align 8 %40 = load ptr, ptr %39, align 8 %41 = load ptr, ptr %4, align 8 %42 = load ptr, ptr %3, align 8 %43 = load ptr, ptr %42, align 8 %44 = ptrtoint ptr %41 to i64 %45 = ptrtoint ptr %43 to i64 %46 = sub i64 %44, %45 %47 = trunc i64 %46 to i32 %48 = call i32 @memcpy(ptr noundef %38, ptr noundef %40, i32 noundef %47) %49 = load ptr, ptr %4, align 8 %50 = load ptr, ptr %3, align 8 store ptr %49, ptr %50, align 8 %51 = load ptr, ptr %5, align 8 store ptr %51, ptr %2, align 8 br label %52 52: ; preds = %37, %36 %53 = load ptr, ptr %2, align 8 ret ptr %53 } declare ptr @calloc(i32 noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpf78h9g7m.c' source_filename = "/tmp/tmpf78h9g7m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RB_Function_Name(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i8, align 1 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr null, ptr %6, align 8 %8 = load ptr, ptr %3, align 8 store ptr %8, ptr %4, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %35 10: ; preds = %1 br label %11 11: ; preds = %31, %10 %12 = load ptr, ptr %4, align 8 %13 = load i8, ptr %12, align 1 store i8 %13, ptr %5, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %34 16: ; preds = %11 %17 = load ptr, ptr %4, align 8 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 47, %19 br i1 %20, label %21, label %30 21: ; preds = %16 %22 = load ptr, ptr %4, align 8 %23 = getelementptr inbounds i8, ptr %22, i32 1 store ptr %23, ptr %4, align 8 %24 = load ptr, ptr %4, align 8 %25 = load i8, ptr %24, align 1 %26 = icmp ne i8 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %21 %28 = load ptr, ptr %4, align 8 store ptr %28, ptr %6, align 8 br label %29 29: ; preds = %27, %21 br label %30 30: ; preds = %29, %16 br label %31 31: ; preds = %30 %32 = load ptr, ptr %4, align 8 %33 = getelementptr inbounds i8, ptr %32, i32 1 store ptr %33, ptr %4, align 8 br label %11, !llvm.loop !6 34: ; preds = %11 br label %35 35: ; preds = %34, %1 %36 = load ptr, ptr %6, align 8 %37 = icmp ne ptr %36, null br i1 %37, label %38, label %50 38: ; preds = %35 %39 = load ptr, ptr %6, align 8 %40 = call i32 @strlen(ptr noundef %39) %41 = add nsw i32 %40, 1 %42 = sext i32 %41 to i64 %43 = mul i64 %42, 1 %44 = trunc i64 %43 to i32 %45 = call ptr @malloc(i32 noundef %44) store ptr %45, ptr %7, align 8 %46 = load ptr, ptr %7, align 8 %47 = load ptr, ptr %6, align 8 %48 = call i32 @strcpy(ptr noundef %46, ptr noundef %47) %49 = load ptr, ptr %7, align 8 store ptr %49, ptr %2, align 8 br label %52 50: ; preds = %35 %51 = load ptr, ptr %6, align 8 store ptr %51, ptr %2, align 8 br label %52 52: ; preds = %50, %38 %53 = load ptr, ptr %2, align 8 ret ptr %53 } declare ptr @malloc(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf78h9g7m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RB_Function_Name(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i8, align 1 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr null, ptr %6, align 8 %8 = load ptr, ptr %3, align 8 store ptr %8, ptr %4, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %38 10: ; preds = %1 %11 = load ptr, ptr %4, align 8 %12 = load i8, ptr %11, align 1 store i8 %12, ptr %5, align 1 %13 = sext i8 %12 to i32 %14 = icmp ne i32 %13, 0 br i1 %14, label %.lr.ph, label %37 .lr.ph: ; preds = %10 br label %15 15: ; preds = %.lr.ph, %30 %16 = load ptr, ptr %4, align 8 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp eq i32 47, %18 br i1 %19, label %20, label %29 20: ; preds = %15 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds i8, ptr %21, i32 1 store ptr %22, ptr %4, align 8 %23 = load ptr, ptr %4, align 8 %24 = load i8, ptr %23, align 1 %25 = icmp ne i8 %24, 0 br i1 %25, label %26, label %28 26: ; preds = %20 %27 = load ptr, ptr %4, align 8 store ptr %27, ptr %6, align 8 br label %28 28: ; preds = %26, %20 br label %29 29: ; preds = %28, %15 br label %30 30: ; preds = %29 %31 = load ptr, ptr %4, align 8 %32 = getelementptr inbounds i8, ptr %31, i32 1 store ptr %32, ptr %4, align 8 %33 = load ptr, ptr %4, align 8 %34 = load i8, ptr %33, align 1 store i8 %34, ptr %5, align 1 %35 = sext i8 %34 to i32 %36 = icmp ne i32 %35, 0 br i1 %36, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %30 br label %37 37: ; preds = %._crit_edge, %10 br label %38 38: ; preds = %37, %1 %39 = load ptr, ptr %6, align 8 %40 = icmp ne ptr %39, null br i1 %40, label %41, label %53 41: ; preds = %38 %42 = load ptr, ptr %6, align 8 %43 = call i32 @strlen(ptr noundef %42) %44 = add nsw i32 %43, 1 %45 = sext i32 %44 to i64 %46 = mul i64 %45, 1 %47 = trunc i64 %46 to i32 %48 = call ptr @malloc(i32 noundef %47) store ptr %48, ptr %7, align 8 %49 = load ptr, ptr %7, align 8 %50 = load ptr, ptr %6, align 8 %51 = call i32 @strcpy(ptr noundef %49, ptr noundef %50) %52 = load ptr, ptr %7, align 8 store ptr %52, ptr %2, align 8 br label %55 53: ; preds = %38 %54 = load ptr, ptr %6, align 8 store ptr %54, ptr %2, align 8 br label %55 55: ; preds = %53, %41 %56 = load ptr, ptr %2, align 8 ret ptr %56 } declare ptr @malloc(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp8vu9b6fz.c' source_filename = "/tmp/tmp8vu9b6fz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.SHA256_Xcompare_5.input = private unnamed_addr constant [93 x i8] c"\F5\CC\03[\F6\06\1B\EA\B1\E9C\D5\1F\86u \F1(\CCT\F0S+H\FA:\0D\D7\B0j\CC\E0\DA\DF\8F\97\8C\1B\01\A4=\8F\C8\17?\FFK\88*\D6\C1\E9\C4\E3W\EEY\EE\D1^P\83\F36@l\0B\D1\FAP\91>\0F\FC,\D7\A8\C1,\18,\D3#}?\BC\0AR\F5\0A\A7\AA1", align 16 @__const.SHA256_Xcompare_5.result0 = private unnamed_addr constant [32 x i8] c"\8C\8B*\FDn\00\BEJ]\ACiikTi^j{\A1\BA\8F\F8p\B8q\8E\D52\1F\A5^\17", align 16 @.str = private unnamed_addr constant [71 x i8] c"Disagreement between given answer and SHA256_VST in SHA256_Xcompare_5\0A\00", align 1 @.str.1 = private unnamed_addr constant [71 x i8] c"Disagreement between given answer and SHA256_NSS in SHA256_Xcompare_5\0A\00", align 1 @.str.2 = private unnamed_addr constant [74 x i8] c"Disagreement between given answer and SHA256_sodium in SHA256_Xcompare_5\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @SHA256_Xcompare_5() #0 { %1 = alloca [93 x i8], align 16 %2 = alloca [32 x i8], align 16 %3 = alloca [32 x i8], align 16 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.SHA256_Xcompare_5.input, i64 93, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.SHA256_Xcompare_5.result0, i64 32, i1 false) %4 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0 %5 = call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef 32) %6 = getelementptr inbounds [93 x i8], ptr %1, i64 0, i64 0 %7 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0 %8 = call i32 @SHA256_VST(ptr noundef %6, ptr noundef %7, i32 noundef 93) %9 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 0 %10 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0 %11 = call i32 @check_test(ptr noundef %9, ptr noundef %10, i32 noundef 32, ptr noundef @.str) %12 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0 %13 = call i32 @memset(ptr noundef %12, i32 noundef 0, i32 noundef 32) %14 = getelementptr inbounds [93 x i8], ptr %1, i64 0, i64 0 %15 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0 %16 = call i32 @SHA256_NSS(ptr noundef %14, ptr noundef %15, i32 noundef 93) %17 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 0 %18 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0 %19 = call i32 @check_test(ptr noundef %17, ptr noundef %18, i32 noundef 32, ptr noundef @.str.1) %20 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0 %21 = call i32 @memset(ptr noundef %20, i32 noundef 0, i32 noundef 32) %22 = getelementptr inbounds [93 x i8], ptr %1, i64 0, i64 0 %23 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0 %24 = call i32 @SHA256_sodium(ptr noundef %22, ptr noundef %23, i32 noundef 93) %25 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 0 %26 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0 %27 = call i32 @check_test(ptr noundef %25, ptr noundef %26, i32 noundef 32, ptr noundef @.str.2) ret void } ; 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 @memset(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @SHA256_VST(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @check_test(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @SHA256_NSS(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @SHA256_sodium(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: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8vu9b6fz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.SHA256_Xcompare_5.input = private unnamed_addr constant [93 x i8] c"\F5\CC\03[\F6\06\1B\EA\B1\E9C\D5\1F\86u \F1(\CCT\F0S+H\FA:\0D\D7\B0j\CC\E0\DA\DF\8F\97\8C\1B\01\A4=\8F\C8\17?\FFK\88*\D6\C1\E9\C4\E3W\EEY\EE\D1^P\83\F36@l\0B\D1\FAP\91>\0F\FC,\D7\A8\C1,\18,\D3#}?\BC\0AR\F5\0A\A7\AA1", align 16 @__const.SHA256_Xcompare_5.result0 = private unnamed_addr constant [32 x i8] c"\8C\8B*\FDn\00\BEJ]\ACiikTi^j{\A1\BA\8F\F8p\B8q\8E\D52\1F\A5^\17", align 16 @.str = private unnamed_addr constant [71 x i8] c"Disagreement between given answer and SHA256_VST in SHA256_Xcompare_5\0A\00", align 1 @.str.1 = private unnamed_addr constant [71 x i8] c"Disagreement between given answer and SHA256_NSS in SHA256_Xcompare_5\0A\00", align 1 @.str.2 = private unnamed_addr constant [74 x i8] c"Disagreement between given answer and SHA256_sodium in SHA256_Xcompare_5\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @SHA256_Xcompare_5() #0 { %1 = alloca [93 x i8], align 16 %2 = alloca [32 x i8], align 16 %3 = alloca [32 x i8], align 16 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.SHA256_Xcompare_5.input, i64 93, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.SHA256_Xcompare_5.result0, i64 32, i1 false) %4 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0 %5 = call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef 32) %6 = getelementptr inbounds [93 x i8], ptr %1, i64 0, i64 0 %7 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0 %8 = call i32 @SHA256_VST(ptr noundef %6, ptr noundef %7, i32 noundef 93) %9 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 0 %10 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0 %11 = call i32 @check_test(ptr noundef %9, ptr noundef %10, i32 noundef 32, ptr noundef @.str) %12 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0 %13 = call i32 @memset(ptr noundef %12, i32 noundef 0, i32 noundef 32) %14 = getelementptr inbounds [93 x i8], ptr %1, i64 0, i64 0 %15 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0 %16 = call i32 @SHA256_NSS(ptr noundef %14, ptr noundef %15, i32 noundef 93) %17 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 0 %18 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0 %19 = call i32 @check_test(ptr noundef %17, ptr noundef %18, i32 noundef 32, ptr noundef @.str.1) %20 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0 %21 = call i32 @memset(ptr noundef %20, i32 noundef 0, i32 noundef 32) %22 = getelementptr inbounds [93 x i8], ptr %1, i64 0, i64 0 %23 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0 %24 = call i32 @SHA256_sodium(ptr noundef %22, ptr noundef %23, i32 noundef 93) %25 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 0 %26 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0 %27 = call i32 @check_test(ptr noundef %25, ptr noundef %26, i32 noundef 32, ptr noundef @.str.2) ret void } ; 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 @memset(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @SHA256_VST(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @check_test(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @SHA256_NSS(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @SHA256_sodium(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: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpg5ubzr31.c' source_filename = "/tmp/tmpg5ubzr31.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @Gammapdf(double noundef %0, double noundef %1, double noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store double %2, ptr %7, align 8 %8 = load double, ptr %6, align 8 %9 = fcmp ogt double %8, 0.000000e+00 br i1 %9, label %10, label %13 10: ; preds = %3 %11 = load double, ptr %7, align 8 %12 = fcmp ogt double %11, 0.000000e+00 br label %13 13: ; preds = %10, %3 %14 = phi i1 [ false, %3 ], [ %12, %10 ] %15 = zext i1 %14 to i32 %16 = call i32 @assert(i32 noundef %15) %17 = load double, ptr %5, align 8 %18 = fcmp olt double %17, 0.000000e+00 br i1 %18, label %19, label %20 19: ; preds = %13 store double 0.000000e+00, ptr %4, align 8 br label %61 20: ; preds = %13 %21 = load double, ptr %5, align 8 %22 = fcmp ole double %21, 0.000000e+00 br i1 %22, label %23, label %32 23: ; preds = %20 %24 = load double, ptr %6, align 8 %25 = fcmp oeq double %24, 1.000000e+00 br i1 %25, label %26, label %29 26: ; preds = %23 %27 = load double, ptr %7, align 8 %28 = fdiv double 1.000000e+00, %27 br label %30 29: ; preds = %23 br label %30 30: ; preds = %29, %26 %31 = phi double [ %28, %26 ], [ 0.000000e+00, %29 ] store double %31, ptr %4, align 8 br label %61 32: ; preds = %20 %33 = load double, ptr %6, align 8 %34 = fcmp oeq double %33, 1.000000e+00 br i1 %34, label %35, label %43 35: ; preds = %32 %36 = load double, ptr %5, align 8 %37 = fneg double %36 %38 = load double, ptr %7, align 8 %39 = fdiv double %37, %38 %40 = call double @exp(double noundef %39) #4 %41 = load double, ptr %7, align 8 %42 = fdiv double %40, %41 store double %42, ptr %4, align 8 br label %61 43: ; preds = %32 %44 = load double, ptr %6, align 8 %45 = fsub double %44, 1.000000e+00 %46 = load double, ptr %5, align 8 %47 = load double, ptr %7, align 8 %48 = fdiv double %46, %47 %49 = call double @log(double noundef %48) #4 %50 = load double, ptr %5, align 8 %51 = load double, ptr %7, align 8 %52 = fdiv double %50, %51 %53 = fneg double %52 %54 = call double @llvm.fmuladd.f64(double %45, double %49, double %53) %55 = load double, ptr %6, align 8 %56 = call double @logGamma(double noundef %55) %57 = fsub double %54, %56 %58 = call double @exp(double noundef %57) #4 %59 = load double, ptr %7, align 8 %60 = fdiv double %58, %59 store double %60, ptr %4, align 8 br label %61 61: ; preds = %43, %35, %30, %19 %62 = load double, ptr %4, align 8 ret double %62 } declare i32 @assert(i32 noundef) #1 ; Function Attrs: nounwind declare double @exp(double noundef) #2 ; Function Attrs: nounwind declare double @log(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 declare double @logGamma(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg5ubzr31.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @Gammapdf(double noundef %0, double noundef %1, double noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store double %2, ptr %7, align 8 %8 = load double, ptr %6, align 8 %9 = fcmp ogt double %8, 0.000000e+00 br i1 %9, label %10, label %13 10: ; preds = %3 %11 = load double, ptr %7, align 8 %12 = fcmp ogt double %11, 0.000000e+00 br label %13 13: ; preds = %10, %3 %14 = phi i1 [ false, %3 ], [ %12, %10 ] %15 = zext i1 %14 to i32 %16 = call i32 @assert(i32 noundef %15) %17 = load double, ptr %5, align 8 %18 = fcmp olt double %17, 0.000000e+00 br i1 %18, label %19, label %20 19: ; preds = %13 store double 0.000000e+00, ptr %4, align 8 br label %61 20: ; preds = %13 %21 = load double, ptr %5, align 8 %22 = fcmp ole double %21, 0.000000e+00 br i1 %22, label %23, label %32 23: ; preds = %20 %24 = load double, ptr %6, align 8 %25 = fcmp oeq double %24, 1.000000e+00 br i1 %25, label %26, label %29 26: ; preds = %23 %27 = load double, ptr %7, align 8 %28 = fdiv double 1.000000e+00, %27 br label %30 29: ; preds = %23 br label %30 30: ; preds = %29, %26 %31 = phi double [ %28, %26 ], [ 0.000000e+00, %29 ] store double %31, ptr %4, align 8 br label %61 32: ; preds = %20 %33 = load double, ptr %6, align 8 %34 = fcmp oeq double %33, 1.000000e+00 br i1 %34, label %35, label %43 35: ; preds = %32 %36 = load double, ptr %5, align 8 %37 = fneg double %36 %38 = load double, ptr %7, align 8 %39 = fdiv double %37, %38 %40 = call double @exp(double noundef %39) #4 %41 = load double, ptr %7, align 8 %42 = fdiv double %40, %41 store double %42, ptr %4, align 8 br label %61 43: ; preds = %32 %44 = load double, ptr %6, align 8 %45 = fsub double %44, 1.000000e+00 %46 = load double, ptr %5, align 8 %47 = load double, ptr %7, align 8 %48 = fdiv double %46, %47 %49 = call double @log(double noundef %48) #4 %50 = load double, ptr %5, align 8 %51 = load double, ptr %7, align 8 %52 = fdiv double %50, %51 %53 = fneg double %52 %54 = call double @llvm.fmuladd.f64(double %45, double %49, double %53) %55 = load double, ptr %6, align 8 %56 = call double @logGamma(double noundef %55) %57 = fsub double %54, %56 %58 = call double @exp(double noundef %57) #4 %59 = load double, ptr %7, align 8 %60 = fdiv double %58, %59 store double %60, ptr %4, align 8 br label %61 61: ; preds = %43, %35, %30, %19 %62 = load double, ptr %4, align 8 ret double %62 } declare i32 @assert(i32 noundef) #1 ; Function Attrs: nounwind declare double @exp(double noundef) #2 ; Function Attrs: nounwind declare double @log(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 declare double @logGamma(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp07xvsznv.c' source_filename = "/tmp/tmp07xvsznv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0b\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_binary(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = load i32, ptr %4, align 4 %8 = sub nsw i32 %7, 1 store i32 %8, ptr %5, align 4 br label %9 9: ; preds = %18, %2 %10 = load i32, ptr %5, align 4 %11 = icmp sge i32 %10, 0 br i1 %11, label %12, label %21 12: ; preds = %9 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %5, align 4 %15 = ashr i32 %13, %14 %16 = and i32 1, %15 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %16) br label %18 18: ; preds = %12 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, -1 store i32 %20, ptr %5, align 4 br label %9, !llvm.loop !6 21: ; preds = %9 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp07xvsznv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0b\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_binary(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = load i32, ptr %4, align 4 %8 = sub nsw i32 %7, 1 store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp sge i32 %9, 0 br i1 %10, label %.lr.ph, label %22 .lr.ph: ; preds = %2 br label %11 11: ; preds = %.lr.ph, %17 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr %5, align 4 %14 = ashr i32 %12, %13 %15 = and i32 1, %14 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %15) br label %17 17: ; preds = %11 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, -1 store i32 %19, ptr %5, align 4 %20 = load i32, ptr %5, align 4 %21 = icmp sge i32 %20, 0 br i1 %21, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %22 22: ; preds = %._crit_edge, %2 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpk0h7ljd6.c' source_filename = "/tmp/tmpk0h7ljd6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dary2d_set(i64 noundef %0, i64 noundef %1, ptr noundef %2, double noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca double, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 store i64 %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store double %3, ptr %8, align 8 store i64 0, ptr %9, align 8 br label %11 11: ; preds = %32, %4 %12 = load i64, ptr %9, align 8 %13 = load i64, ptr %5, align 8 %14 = icmp ult i64 %12, %13 br i1 %14, label %15, label %35 15: ; preds = %11 store i64 0, ptr %10, align 8 br label %16 16: ; preds = %28, %15 %17 = load i64, ptr %10, align 8 %18 = load i64, ptr %6, align 8 %19 = icmp ult i64 %17, %18 br i1 %19, label %20, label %31 20: ; preds = %16 %21 = load double, ptr %8, align 8 %22 = load ptr, ptr %7, align 8 %23 = load i64, ptr %9, align 8 %24 = getelementptr inbounds ptr, ptr %22, i64 %23 %25 = load ptr, ptr %24, align 8 %26 = load i64, ptr %10, align 8 %27 = getelementptr inbounds double, ptr %25, i64 %26 store double %21, ptr %27, align 8 br label %28 28: ; preds = %20 %29 = load i64, ptr %10, align 8 %30 = add i64 %29, 1 store i64 %30, ptr %10, align 8 br label %16, !llvm.loop !6 31: ; preds = %16 br label %32 32: ; preds = %31 %33 = load i64, ptr %9, align 8 %34 = add i64 %33, 1 store i64 %34, ptr %9, align 8 br label %11, !llvm.loop !8 35: ; preds = %11 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk0h7ljd6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dary2d_set(i64 noundef %0, i64 noundef %1, ptr noundef %2, double noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca double, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 store i64 %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store double %3, ptr %8, align 8 store i64 0, ptr %9, align 8 %11 = load i64, ptr %9, align 8 %12 = load i64, ptr %5, align 8 %13 = icmp ult i64 %11, %12 br i1 %13, label %.lr.ph2, label %39 .lr.ph2: ; preds = %4 br label %14 14: ; preds = %.lr.ph2, %33 store i64 0, ptr %10, align 8 %15 = load i64, ptr %10, align 8 %16 = load i64, ptr %6, align 8 %17 = icmp ult i64 %15, %16 br i1 %17, label %.lr.ph, label %32 .lr.ph: ; preds = %14 br label %18 18: ; preds = %.lr.ph, %26 %19 = load double, ptr %8, align 8 %20 = load ptr, ptr %7, align 8 %21 = load i64, ptr %9, align 8 %22 = getelementptr inbounds ptr, ptr %20, i64 %21 %23 = load ptr, ptr %22, align 8 %24 = load i64, ptr %10, align 8 %25 = getelementptr inbounds double, ptr %23, i64 %24 store double %19, ptr %25, align 8 br label %26 26: ; preds = %18 %27 = load i64, ptr %10, align 8 %28 = add i64 %27, 1 store i64 %28, ptr %10, align 8 %29 = load i64, ptr %10, align 8 %30 = load i64, ptr %6, align 8 %31 = icmp ult i64 %29, %30 br i1 %31, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %32 32: ; preds = %._crit_edge, %14 br label %33 33: ; preds = %32 %34 = load i64, ptr %9, align 8 %35 = add i64 %34, 1 store i64 %35, ptr %9, align 8 %36 = load i64, ptr %9, align 8 %37 = load i64, ptr %5, align 8 %38 = icmp ult i64 %36, %37 br i1 %38, label %14, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %33 br label %39 39: ; preds = %._crit_edge3, %4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpnr3tvllw.c' source_filename = "/tmp/tmpnr3tvllw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A%s :\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%2d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @print10(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 %7 = load ptr, ptr %3, align 8 %8 = call i64 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %7) %9 = load i32, ptr %5, align 4 %10 = sext i32 %9 to i64 %11 = add nsw i64 %10, %8 %12 = trunc i64 %11 to i32 store i32 %12, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %13 13: ; preds = %27, %2 %14 = load i32, ptr %6, align 4 %15 = icmp slt i32 %14, 10 br i1 %15, label %16, label %30 16: ; preds = %13 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %6, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %17, i64 %19 %21 = load i32, ptr %20, align 4 %22 = call i64 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %21) %23 = load i32, ptr %5, align 4 %24 = sext i32 %23 to i64 %25 = add nsw i64 %24, %22 %26 = trunc i64 %25 to i32 store i32 %26, ptr %5, align 4 br label %27 27: ; preds = %16 %28 = load i32, ptr %6, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %6, align 4 br label %13, !llvm.loop !6 30: ; preds = %13 %31 = load i32, ptr %5, align 4 ret i32 %31 } declare i64 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnr3tvllw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A%s :\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%2d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @print10(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 %7 = load ptr, ptr %3, align 8 %8 = call i64 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %7) %9 = load i32, ptr %5, align 4 %10 = sext i32 %9 to i64 %11 = add nsw i64 %10, %8 %12 = trunc i64 %11 to i32 store i32 %12, ptr %5, align 4 store i32 0, ptr %6, align 4 %13 = load i32, ptr %6, align 4 %14 = icmp slt i32 %13, 10 br i1 %14, label %.lr.ph, label %31 .lr.ph: ; preds = %2 br label %15 15: ; preds = %.lr.ph, %26 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %6, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i32, ptr %16, i64 %18 %20 = load i32, ptr %19, align 4 %21 = call i64 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %20) %22 = load i32, ptr %5, align 4 %23 = sext i32 %22 to i64 %24 = add nsw i64 %23, %21 %25 = trunc i64 %24 to i32 store i32 %25, ptr %5, align 4 br label %26 26: ; preds = %15 %27 = load i32, ptr %6, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %6, align 4 %29 = load i32, ptr %6, align 4 %30 = icmp slt i32 %29, 10 br i1 %30, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %31 31: ; preds = %._crit_edge, %2 %32 = load i32, ptr %5, align 4 ret i32 %32 } declare i64 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_c06tnfz.c' source_filename = "/tmp/tmp_c06tnfz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_c06tnfz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpalk5dm4c.c' source_filename = "/tmp/tmpalk5dm4c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"%d%d%d\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"yes\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"no\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 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4) %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %2, align 4 %8 = mul nsw i32 %6, %7 %9 = load i32, ptr %3, align 4 %10 = icmp sge i32 %8, %9 br i1 %10, label %11, label %13 11: ; preds = %0 %12 = call i32 @printf(ptr noundef @.str.1) br label %15 13: ; preds = %0 %14 = call i32 @printf(ptr noundef @.str.2) br label %15 15: ; preds = %13, %11 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpalk5dm4c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"%d%d%d\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"yes\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"no\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 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4) %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %2, align 4 %8 = mul nsw i32 %6, %7 %9 = load i32, ptr %3, align 4 %10 = icmp sge i32 %8, %9 br i1 %10, label %11, label %13 11: ; preds = %0 %12 = call i32 @printf(ptr noundef @.str.1) br label %15 13: ; preds = %0 %14 = call i32 @printf(ptr noundef @.str.2) br label %15 15: ; preds = %13, %11 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7aeypej6.c' source_filename = "/tmp/tmp7aeypej6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @oclistnull(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp eq ptr %3, null %5 = zext i1 %4 to i32 ret i32 %5 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7aeypej6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @oclistnull(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp eq ptr %3, null %5 = zext i1 %4 to i32 ret i32 %5 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9o_zgszq.c' source_filename = "/tmp/tmp9o_zgszq.c" target datalayout = "e-m:e-p270: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sh_verr(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load i32, ptr @errno, align 4 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = call i32 @exvwarning(i32 noundef %7, ptr noundef %8, i32 noundef %9) %11 = load i32, ptr %4, align 4 %12 = call i32 @sh_exit(i32 noundef %11) ret void } declare i32 @exvwarning(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @sh_exit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9o_zgszq.c" target datalayout = "e-m:e-p270: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sh_verr(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load i32, ptr @errno, align 4 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = call i32 @exvwarning(i32 noundef %7, ptr noundef %8, i32 noundef %9) %11 = load i32, ptr %4, align 4 %12 = call i32 @sh_exit(i32 noundef %11) ret void } declare i32 @exvwarning(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @sh_exit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4nsvx1x0.c' source_filename = "/tmp/tmp4nsvx1x0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [138 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/mrash/psad/refs/heads/master/deps/whois/utils.c\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @merge_args(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr null, ptr %10, align 8 store i32 0, ptr %12, align 4 %13 = load ptr, ptr %5, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %17, label %15 15: ; preds = %3 %16 = load ptr, ptr %6, align 8 store ptr %16, ptr %4, align 8 br label %84 17: ; preds = %3 %18 = load ptr, ptr %5, align 8 %19 = call i32 @strdup(ptr noundef %18) %20 = call ptr @do_nofail(i32 noundef %19, ptr noundef @.str, i32 noundef 55) store ptr %20, ptr %9, align 8 %21 = load ptr, ptr %9, align 8 %22 = call ptr @strtok(ptr noundef %21, ptr noundef @.str.1) store ptr %22, ptr %8, align 8 br label %23 23: ; preds = %45, %17 %24 = load ptr, ptr %8, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %26, label %47 26: ; preds = %23 %27 = load i32, ptr %12, align 4 %28 = add i32 %27, 1 store i32 %28, ptr %12, align 4 %29 = load ptr, ptr %10, align 8 %30 = load i32, ptr %12, align 4 %31 = load ptr, ptr %7, align 8 %32 = load i32, ptr %31, align 4 %33 = add i32 %30, %32 %34 = add i32 %33, 1 %35 = zext i32 %34 to i64 %36 = mul i64 8, %35 %37 = trunc i64 %36 to i32 %38 = call i32 @realloc(ptr noundef %29, i32 noundef %37) %39 = call ptr @do_nofail(i32 noundef %38, ptr noundef @.str, i32 noundef 58) store ptr %39, ptr %10, align 8 %40 = load ptr, ptr %8, align 8 %41 = load ptr, ptr %10, align 8 %42 = load i32, ptr %12, align 4 %43 = zext i32 %42 to i64 %44 = getelementptr inbounds ptr, ptr %41, i64 %43 store ptr %40, ptr %44, align 8 br label %45 45: ; preds = %26 %46 = call ptr @strtok(ptr noundef null, ptr noundef @.str.1) store ptr %46, ptr %8, align 8 br label %23, !llvm.loop !6 47: ; preds = %23 %48 = load ptr, ptr %10, align 8 %49 = icmp ne ptr %48, null br i1 %49, label %52, label %50 50: ; preds = %47 %51 = load ptr, ptr %6, align 8 store ptr %51, ptr %4, align 8 br label %84 52: ; preds = %47 %53 = load ptr, ptr %6, align 8 %54 = getelementptr inbounds ptr, ptr %53, i64 0 %55 = load ptr, ptr %54, align 8 %56 = load ptr, ptr %10, align 8 %57 = getelementptr inbounds ptr, ptr %56, i64 0 store ptr %55, ptr %57, align 8 store i32 1, ptr %11, align 4 br label %58 58: ; preds = %75, %52 %59 = load i32, ptr %11, align 4 %60 = load ptr, ptr %7, align 8 %61 = load i32, ptr %60, align 4 %62 = icmp sle i32 %59, %61 br i1 %62, label %63, label %78 63: ; preds = %58 %64 = load ptr, ptr %6, align 8 %65 = load i32, ptr %11, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds ptr, ptr %64, i64 %66 %68 = load ptr, ptr %67, align 8 %69 = load ptr, ptr %10, align 8 %70 = load i32, ptr %12, align 4 %71 = load i32, ptr %11, align 4 %72 = add i32 %70, %71 %73 = zext i32 %72 to i64 %74 = getelementptr inbounds ptr, ptr %69, i64 %73 store ptr %68, ptr %74, align 8 br label %75 75: ; preds = %63 %76 = load i32, ptr %11, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %11, align 4 br label %58, !llvm.loop !8 78: ; preds = %58 %79 = load i32, ptr %12, align 4 %80 = load ptr, ptr %7, align 8 %81 = load i32, ptr %80, align 4 %82 = add i32 %81, %79 store i32 %82, ptr %80, align 4 %83 = load ptr, ptr %10, align 8 store ptr %83, ptr %4, align 8 br label %84 84: ; preds = %78, %50, %15 %85 = load ptr, ptr %4, align 8 ret ptr %85 } declare ptr @do_nofail(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strdup(ptr noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i32 @realloc(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/tmp4nsvx1x0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [138 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/mrash/psad/refs/heads/master/deps/whois/utils.c\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @merge_args(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr null, ptr %10, align 8 store i32 0, ptr %12, align 4 %13 = load ptr, ptr %5, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %17, label %15 15: ; preds = %3 %16 = load ptr, ptr %6, align 8 store ptr %16, ptr %4, align 8 br label %88 17: ; preds = %3 %18 = load ptr, ptr %5, align 8 %19 = call i32 @strdup(ptr noundef %18) %20 = call ptr @do_nofail(i32 noundef %19, ptr noundef @.str, i32 noundef 55) store ptr %20, ptr %9, align 8 %21 = load ptr, ptr %9, align 8 %22 = call ptr @strtok(ptr noundef %21, ptr noundef @.str.1) store ptr %22, ptr %8, align 8 %23 = load ptr, ptr %8, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %.lr.ph, label %48 .lr.ph: ; preds = %17 br label %25 25: ; preds = %.lr.ph, %44 %26 = load i32, ptr %12, align 4 %27 = add i32 %26, 1 store i32 %27, ptr %12, align 4 %28 = load ptr, ptr %10, align 8 %29 = load i32, ptr %12, align 4 %30 = load ptr, ptr %7, align 8 %31 = load i32, ptr %30, align 4 %32 = add i32 %29, %31 %33 = add i32 %32, 1 %34 = zext i32 %33 to i64 %35 = mul i64 8, %34 %36 = trunc i64 %35 to i32 %37 = call i32 @realloc(ptr noundef %28, i32 noundef %36) %38 = call ptr @do_nofail(i32 noundef %37, ptr noundef @.str, i32 noundef 58) store ptr %38, ptr %10, align 8 %39 = load ptr, ptr %8, align 8 %40 = load ptr, ptr %10, align 8 %41 = load i32, ptr %12, align 4 %42 = zext i32 %41 to i64 %43 = getelementptr inbounds ptr, ptr %40, i64 %42 store ptr %39, ptr %43, align 8 br label %44 44: ; preds = %25 %45 = call ptr @strtok(ptr noundef null, ptr noundef @.str.1) store ptr %45, ptr %8, align 8 %46 = load ptr, ptr %8, align 8 %47 = icmp ne ptr %46, null br i1 %47, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %44 br label %48 48: ; preds = %._crit_edge, %17 %49 = load ptr, ptr %10, align 8 %50 = icmp ne ptr %49, null br i1 %50, label %53, label %51 51: ; preds = %48 %52 = load ptr, ptr %6, align 8 store ptr %52, ptr %4, align 8 br label %88 53: ; preds = %48 %54 = load ptr, ptr %6, align 8 %55 = getelementptr inbounds ptr, ptr %54, i64 0 %56 = load ptr, ptr %55, align 8 %57 = load ptr, ptr %10, align 8 %58 = getelementptr inbounds ptr, ptr %57, i64 0 store ptr %56, ptr %58, align 8 store i32 1, ptr %11, align 4 %59 = load i32, ptr %11, align 4 %60 = load ptr, ptr %7, align 8 %61 = load i32, ptr %60, align 4 %62 = icmp sle i32 %59, %61 br i1 %62, label %.lr.ph2, label %82 .lr.ph2: ; preds = %53 br label %63 63: ; preds = %.lr.ph2, %75 %64 = load ptr, ptr %6, align 8 %65 = load i32, ptr %11, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds ptr, ptr %64, i64 %66 %68 = load ptr, ptr %67, align 8 %69 = load ptr, ptr %10, align 8 %70 = load i32, ptr %12, align 4 %71 = load i32, ptr %11, align 4 %72 = add i32 %70, %71 %73 = zext i32 %72 to i64 %74 = getelementptr inbounds ptr, ptr %69, i64 %73 store ptr %68, ptr %74, align 8 br label %75 75: ; preds = %63 %76 = load i32, ptr %11, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %11, align 4 %78 = load i32, ptr %11, align 4 %79 = load ptr, ptr %7, align 8 %80 = load i32, ptr %79, align 4 %81 = icmp sle i32 %78, %80 br i1 %81, label %63, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %75 br label %82 82: ; preds = %._crit_edge3, %53 %83 = load i32, ptr %12, align 4 %84 = load ptr, ptr %7, align 8 %85 = load i32, ptr %84, align 4 %86 = add i32 %85, %83 store i32 %86, ptr %84, align 4 %87 = load ptr, ptr %10, align 8 store ptr %87, ptr %4, align 8 br label %88 88: ; preds = %82, %51, %15 %89 = load ptr, ptr %4, align 8 ret ptr %89 } declare ptr @do_nofail(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strdup(ptr noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i32 @realloc(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}