llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpqnn665m7.c' source_filename = "/tmp/tmpqnn665m7.c" target datalayout = "e-m:e-p270: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/tmpqnn665m7.c" target datalayout = "e-m:e-p270: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/tmp81fczzer.c' source_filename = "/tmp/tmp81fczzer.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"Invocation: %s <PORT> <USERID>\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [62 x i8] c"You need root privileges to bind to well-known port (<1024).\0A\00", align 1 @PF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [9 x i8] c"socket()\00", align 1 @AF_INET = dso_local global i32 0, align 4 @INADDR_ANY = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [12 x i8] c"getresgid()\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [29 x i8] c"UID: %u, EUID: %u, SUID: %u\0A\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"Binding to port %u...\0A\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"bind()\00", align 1 @.str.7 = private unnamed_addr constant [10 x i8] c"seteuid()\00", align 1 @.str.8 = private unnamed_addr constant [34 x i8] c"Run server as unprivileged user!\0A\00", align 1 @.str.9 = private unnamed_addr constant [9 x i8] c"listen()\00", align 1 @.str.10 = private unnamed_addr constant [48 x i8] c"Server is listening for incoming connection...\0A\00", align 1 @.str.11 = private unnamed_addr constant [9 x i8] c"accept()\00", align 1 @.str.12 = private unnamed_addr constant [36 x i8] c"TCP connection accepted from %s:%d\0A\00", align 1 @.str.13 = private unnamed_addr constant [53 x i8] c"Closing connected socket (sending FIN to client)...\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca %struct.sockaddr_in, align 4 %9 = alloca %struct.sockaddr_in, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca [256 x i8], align 16 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %18 = load i32, ptr %4, align 4 %19 = icmp ne i32 %18, 3 br i1 %19, label %20, label %28 20: ; preds = %2 %21 = load i32, ptr @stderr, align 4 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 0 %24 = load ptr, ptr %23, align 8 %25 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %21, ptr noundef @.str, ptr noundef %24) %26 = load i32, ptr @EXIT_FAILURE, align 4 %27 = call i32 @exit(i32 noundef %26) #3 unreachable 28: ; preds = %2 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 1 %31 = load ptr, ptr %30, align 8 %32 = call i32 @atoi(ptr noundef %31) store i32 %32, ptr %13, align 4 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds ptr, ptr %33, i64 2 %35 = load ptr, ptr %34, align 8 %36 = call i32 @atoi(ptr noundef %35) store i32 %36, ptr %14, align 4 %37 = load i32, ptr %13, align 4 %38 = icmp ult i32 %37, 1024 br i1 %38, label %39, label %48 39: ; preds = %28 %40 = call i64 (...) @geteuid() %41 = icmp ne i64 %40, 0 br i1 %41, label %42, label %47 42: ; preds = %39 %43 = load i32, ptr @stderr, align 4 %44 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %43, ptr noundef @.str.1) %45 = load i32, ptr @EXIT_FAILURE, align 4 %46 = call i32 @exit(i32 noundef %45) #3 unreachable 47: ; preds = %39 br label %48 48: ; preds = %47, %28 %49 = load i32, ptr @PF_INET, align 4 %50 = load i32, ptr @SOCK_STREAM, align 4 %51 = call i32 @socket(i32 noundef %49, i32 noundef %50, i32 noundef 0) store i32 %51, ptr %6, align 4 %52 = load i32, ptr %6, align 4 %53 = icmp eq i32 %52, -1 br i1 %53, label %54, label %58 54: ; preds = %48 %55 = call i32 @perror(ptr noundef @.str.2) %56 = load i32, ptr @EXIT_FAILURE, align 4 %57 = call i32 @exit(i32 noundef %56) #3 unreachable 58: ; preds = %48 %59 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 12) %60 = load i32, ptr @AF_INET, align 4 %61 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 2 store i32 %60, ptr %61, align 4 %62 = load i32, ptr @INADDR_ANY, align 4 %63 = call i32 @htonl(i32 noundef %62) %64 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 1 %65 = getelementptr inbounds %struct.TYPE_2__, ptr %64, i32 0, i32 0 store i32 %63, ptr %65, align 4 %66 = load i32, ptr %13, align 4 %67 = call i32 @htons(i32 noundef %66) %68 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 0 store i32 %67, ptr %68, align 4 store i32 12, ptr %11, align 4 %69 = call i32 @getresuid(ptr noundef %15, ptr noundef %16, ptr noundef %17) %70 = icmp eq i32 %69, -1 br i1 %70, label %71, label %75 71: ; preds = %58 %72 = call i32 @perror(ptr noundef @.str.3) %73 = load i32, ptr @EXIT_FAILURE, align 4 %74 = call i32 @exit(i32 noundef %73) #3 unreachable 75: ; preds = %58 %76 = load i32, ptr @stdout, align 4 %77 = load i32, ptr %15, align 4 %78 = load i32, ptr %16, align 4 %79 = load i32, ptr %17, align 4 %80 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %76, ptr noundef @.str.4, i32 noundef %77, i32 noundef %78, i32 noundef %79) %81 = load i32, ptr @stdout, align 4 %82 = load i32, ptr %13, align 4 %83 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %81, ptr noundef @.str.5, i32 noundef %82) %84 = load i32, ptr %6, align 4 %85 = load i32, ptr %11, align 4 %86 = call i32 @bind(i32 noundef %84, ptr noundef %9, i32 noundef %85) %87 = icmp eq i32 %86, -1 br i1 %87, label %88, label %92 88: ; preds = %75 %89 = call i32 @perror(ptr noundef @.str.6) %90 = load i32, ptr @EXIT_FAILURE, align 4 %91 = call i32 @exit(i32 noundef %90) #3 unreachable 92: ; preds = %75 %93 = load i32, ptr %14, align 4 %94 = call i32 @seteuid(i32 noundef %93) %95 = load i32, ptr %14, align 4 %96 = load i32, ptr %14, align 4 %97 = call i64 @setreuid(i32 noundef %95, i32 noundef %96) %98 = icmp ne i64 %97, 0 br i1 %98, label %99, label %103 99: ; preds = %92 %100 = call i32 @perror(ptr noundef @.str.7) %101 = load i32, ptr @EXIT_FAILURE, align 4 %102 = call i32 @exit(i32 noundef %101) #3 unreachable 103: ; preds = %92 %104 = call i32 @getresuid(ptr noundef %15, ptr noundef %16, ptr noundef %17) %105 = icmp eq i32 %104, -1 br i1 %105, label %106, label %110 106: ; preds = %103 %107 = call i32 @perror(ptr noundef @.str.3) %108 = load i32, ptr @EXIT_FAILURE, align 4 %109 = call i32 @exit(i32 noundef %108) #3 unreachable 110: ; preds = %103 %111 = load i32, ptr @stdout, align 4 %112 = load i32, ptr %15, align 4 %113 = load i32, ptr %16, align 4 %114 = load i32, ptr %17, align 4 %115 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %111, ptr noundef @.str.4, i32 noundef %112, i32 noundef %113, i32 noundef %114) %116 = load i32, ptr %16, align 4 %117 = icmp eq i32 %116, 0 br i1 %117, label %121, label %118 118: ; preds = %110 %119 = load i32, ptr %17, align 4 %120 = icmp eq i32 %119, 0 br i1 %120, label %121, label %126 121: ; preds = %118, %110 %122 = load i32, ptr @stderr, align 4 %123 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %122, ptr noundef @.str.8) %124 = load i32, ptr @EXIT_FAILURE, align 4 %125 = call i32 @exit(i32 noundef %124) #3 unreachable 126: ; preds = %118 %127 = load i32, ptr %6, align 4 %128 = call i32 @listen(i32 noundef %127, i32 noundef 2) %129 = icmp eq i32 %128, -1 br i1 %129, label %130, label %134 130: ; preds = %126 %131 = call i32 @perror(ptr noundef @.str.9) %132 = load i32, ptr @EXIT_FAILURE, align 4 %133 = call i32 @exit(i32 noundef %132) #3 unreachable 134: ; preds = %126 %135 = load i32, ptr @stdout, align 4 %136 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %135, ptr noundef @.str.10) store i32 12, ptr %10, align 4 %137 = load i32, ptr %6, align 4 %138 = call i32 @accept(i32 noundef %137, ptr noundef %8, ptr noundef %10) store i32 %138, ptr %7, align 4 %139 = load i32, ptr %7, align 4 %140 = icmp eq i32 %139, -1 br i1 %140, label %141, label %145 141: ; preds = %134 %142 = call i32 @perror(ptr noundef @.str.11) %143 = load i32, ptr @EXIT_FAILURE, align 4 %144 = call i32 @exit(i32 noundef %143) #3 unreachable 145: ; preds = %134 %146 = load i32, ptr @stdout, align 4 %147 = load i32, ptr @AF_INET, align 4 %148 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 1 %149 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0 %150 = call ptr @inet_ntop(i32 noundef %147, ptr noundef %148, ptr noundef %149, i32 noundef 256) %151 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0 %152 = load i32, ptr %151, align 4 %153 = call i32 @ntohs(i32 noundef %152) %154 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %146, ptr noundef @.str.12, ptr noundef %150, i32 noundef %153) %155 = call i32 @sleep(i32 noundef 5) %156 = load i32, ptr @stdout, align 4 %157 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %156, ptr noundef @.str.13) %158 = load i32, ptr %7, align 4 %159 = call i32 @close(i32 noundef %158) %160 = load i32, ptr %6, align 4 %161 = call i32 @close(i32 noundef %160) %162 = load i32, ptr @EXIT_SUCCESS, align 4 %163 = call i32 @exit(i32 noundef %162) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @atoi(ptr noundef) #1 declare i64 @geteuid(...) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htonl(i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @getresuid(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @seteuid(i32 noundef) #1 declare i64 @setreuid(i32 noundef, i32 noundef) #1 declare i32 @listen(i32 noundef, i32 noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @inet_ntop(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @ntohs(i32 noundef) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { 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/tmp81fczzer.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"Invocation: %s <PORT> <USERID>\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [62 x i8] c"You need root privileges to bind to well-known port (<1024).\0A\00", align 1 @PF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [9 x i8] c"socket()\00", align 1 @AF_INET = dso_local global i32 0, align 4 @INADDR_ANY = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [12 x i8] c"getresgid()\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [29 x i8] c"UID: %u, EUID: %u, SUID: %u\0A\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"Binding to port %u...\0A\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"bind()\00", align 1 @.str.7 = private unnamed_addr constant [10 x i8] c"seteuid()\00", align 1 @.str.8 = private unnamed_addr constant [34 x i8] c"Run server as unprivileged user!\0A\00", align 1 @.str.9 = private unnamed_addr constant [9 x i8] c"listen()\00", align 1 @.str.10 = private unnamed_addr constant [48 x i8] c"Server is listening for incoming connection...\0A\00", align 1 @.str.11 = private unnamed_addr constant [9 x i8] c"accept()\00", align 1 @.str.12 = private unnamed_addr constant [36 x i8] c"TCP connection accepted from %s:%d\0A\00", align 1 @.str.13 = private unnamed_addr constant [53 x i8] c"Closing connected socket (sending FIN to client)...\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca %struct.sockaddr_in, align 4 %9 = alloca %struct.sockaddr_in, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca [256 x i8], align 16 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %18 = load i32, ptr %4, align 4 %19 = icmp ne i32 %18, 3 br i1 %19, label %20, label %28 20: ; preds = %2 %21 = load i32, ptr @stderr, align 4 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 0 %24 = load ptr, ptr %23, align 8 %25 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %21, ptr noundef @.str, ptr noundef %24) %26 = load i32, ptr @EXIT_FAILURE, align 4 %27 = call i32 @exit(i32 noundef %26) #3 unreachable 28: ; preds = %2 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 1 %31 = load ptr, ptr %30, align 8 %32 = call i32 @atoi(ptr noundef %31) store i32 %32, ptr %13, align 4 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds ptr, ptr %33, i64 2 %35 = load ptr, ptr %34, align 8 %36 = call i32 @atoi(ptr noundef %35) store i32 %36, ptr %14, align 4 %37 = load i32, ptr %13, align 4 %38 = icmp ult i32 %37, 1024 br i1 %38, label %39, label %48 39: ; preds = %28 %40 = call i64 (...) @geteuid() %41 = icmp ne i64 %40, 0 br i1 %41, label %42, label %47 42: ; preds = %39 %43 = load i32, ptr @stderr, align 4 %44 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %43, ptr noundef @.str.1) %45 = load i32, ptr @EXIT_FAILURE, align 4 %46 = call i32 @exit(i32 noundef %45) #3 unreachable 47: ; preds = %39 br label %48 48: ; preds = %47, %28 %49 = load i32, ptr @PF_INET, align 4 %50 = load i32, ptr @SOCK_STREAM, align 4 %51 = call i32 @socket(i32 noundef %49, i32 noundef %50, i32 noundef 0) store i32 %51, ptr %6, align 4 %52 = load i32, ptr %6, align 4 %53 = icmp eq i32 %52, -1 br i1 %53, label %54, label %58 54: ; preds = %48 %55 = call i32 @perror(ptr noundef @.str.2) %56 = load i32, ptr @EXIT_FAILURE, align 4 %57 = call i32 @exit(i32 noundef %56) #3 unreachable 58: ; preds = %48 %59 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 12) %60 = load i32, ptr @AF_INET, align 4 %61 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 2 store i32 %60, ptr %61, align 4 %62 = load i32, ptr @INADDR_ANY, align 4 %63 = call i32 @htonl(i32 noundef %62) %64 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 1 %65 = getelementptr inbounds %struct.TYPE_2__, ptr %64, i32 0, i32 0 store i32 %63, ptr %65, align 4 %66 = load i32, ptr %13, align 4 %67 = call i32 @htons(i32 noundef %66) %68 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 0 store i32 %67, ptr %68, align 4 store i32 12, ptr %11, align 4 %69 = call i32 @getresuid(ptr noundef %15, ptr noundef %16, ptr noundef %17) %70 = icmp eq i32 %69, -1 br i1 %70, label %71, label %75 71: ; preds = %58 %72 = call i32 @perror(ptr noundef @.str.3) %73 = load i32, ptr @EXIT_FAILURE, align 4 %74 = call i32 @exit(i32 noundef %73) #3 unreachable 75: ; preds = %58 %76 = load i32, ptr @stdout, align 4 %77 = load i32, ptr %15, align 4 %78 = load i32, ptr %16, align 4 %79 = load i32, ptr %17, align 4 %80 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %76, ptr noundef @.str.4, i32 noundef %77, i32 noundef %78, i32 noundef %79) %81 = load i32, ptr @stdout, align 4 %82 = load i32, ptr %13, align 4 %83 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %81, ptr noundef @.str.5, i32 noundef %82) %84 = load i32, ptr %6, align 4 %85 = load i32, ptr %11, align 4 %86 = call i32 @bind(i32 noundef %84, ptr noundef %9, i32 noundef %85) %87 = icmp eq i32 %86, -1 br i1 %87, label %88, label %92 88: ; preds = %75 %89 = call i32 @perror(ptr noundef @.str.6) %90 = load i32, ptr @EXIT_FAILURE, align 4 %91 = call i32 @exit(i32 noundef %90) #3 unreachable 92: ; preds = %75 %93 = load i32, ptr %14, align 4 %94 = call i32 @seteuid(i32 noundef %93) %95 = load i32, ptr %14, align 4 %96 = load i32, ptr %14, align 4 %97 = call i64 @setreuid(i32 noundef %95, i32 noundef %96) %98 = icmp ne i64 %97, 0 br i1 %98, label %99, label %103 99: ; preds = %92 %100 = call i32 @perror(ptr noundef @.str.7) %101 = load i32, ptr @EXIT_FAILURE, align 4 %102 = call i32 @exit(i32 noundef %101) #3 unreachable 103: ; preds = %92 %104 = call i32 @getresuid(ptr noundef %15, ptr noundef %16, ptr noundef %17) %105 = icmp eq i32 %104, -1 br i1 %105, label %106, label %110 106: ; preds = %103 %107 = call i32 @perror(ptr noundef @.str.3) %108 = load i32, ptr @EXIT_FAILURE, align 4 %109 = call i32 @exit(i32 noundef %108) #3 unreachable 110: ; preds = %103 %111 = load i32, ptr @stdout, align 4 %112 = load i32, ptr %15, align 4 %113 = load i32, ptr %16, align 4 %114 = load i32, ptr %17, align 4 %115 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %111, ptr noundef @.str.4, i32 noundef %112, i32 noundef %113, i32 noundef %114) %116 = load i32, ptr %16, align 4 %117 = icmp eq i32 %116, 0 br i1 %117, label %121, label %118 118: ; preds = %110 %119 = load i32, ptr %17, align 4 %120 = icmp eq i32 %119, 0 br i1 %120, label %121, label %126 121: ; preds = %118, %110 %122 = load i32, ptr @stderr, align 4 %123 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %122, ptr noundef @.str.8) %124 = load i32, ptr @EXIT_FAILURE, align 4 %125 = call i32 @exit(i32 noundef %124) #3 unreachable 126: ; preds = %118 %127 = load i32, ptr %6, align 4 %128 = call i32 @listen(i32 noundef %127, i32 noundef 2) %129 = icmp eq i32 %128, -1 br i1 %129, label %130, label %134 130: ; preds = %126 %131 = call i32 @perror(ptr noundef @.str.9) %132 = load i32, ptr @EXIT_FAILURE, align 4 %133 = call i32 @exit(i32 noundef %132) #3 unreachable 134: ; preds = %126 %135 = load i32, ptr @stdout, align 4 %136 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %135, ptr noundef @.str.10) store i32 12, ptr %10, align 4 %137 = load i32, ptr %6, align 4 %138 = call i32 @accept(i32 noundef %137, ptr noundef %8, ptr noundef %10) store i32 %138, ptr %7, align 4 %139 = load i32, ptr %7, align 4 %140 = icmp eq i32 %139, -1 br i1 %140, label %141, label %145 141: ; preds = %134 %142 = call i32 @perror(ptr noundef @.str.11) %143 = load i32, ptr @EXIT_FAILURE, align 4 %144 = call i32 @exit(i32 noundef %143) #3 unreachable 145: ; preds = %134 %146 = load i32, ptr @stdout, align 4 %147 = load i32, ptr @AF_INET, align 4 %148 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 1 %149 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0 %150 = call ptr @inet_ntop(i32 noundef %147, ptr noundef %148, ptr noundef %149, i32 noundef 256) %151 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0 %152 = load i32, ptr %151, align 4 %153 = call i32 @ntohs(i32 noundef %152) %154 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %146, ptr noundef @.str.12, ptr noundef %150, i32 noundef %153) %155 = call i32 @sleep(i32 noundef 5) %156 = load i32, ptr @stdout, align 4 %157 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %156, ptr noundef @.str.13) %158 = load i32, ptr %7, align 4 %159 = call i32 @close(i32 noundef %158) %160 = load i32, ptr %6, align 4 %161 = call i32 @close(i32 noundef %160) %162 = load i32, ptr @EXIT_SUCCESS, align 4 %163 = call i32 @exit(i32 noundef %162) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @atoi(ptr noundef) #1 declare i64 @geteuid(...) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htonl(i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @getresuid(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @seteuid(i32 noundef) #1 declare i64 @setreuid(i32 noundef, i32 noundef) #1 declare i32 @listen(i32 noundef, i32 noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @inet_ntop(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @ntohs(i32 noundef) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { 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/tmpsb6uzzwh.c' source_filename = "/tmp/tmpsb6uzzwh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"does not support `long long'\00", align 1 @.str.1 = private unnamed_addr constant [49 x i8] c"does not support the `ll' printf length modifier\00", align 1 @.str.2 = private unnamed_addr constant [48 x i8] c"does not support the `ll' scanf length modifier\00", align 1 @.str.3 = private unnamed_addr constant [36 x i8] c"forbids long long integer constants\00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c"long long integer constant\00", align 1 @.str.5 = private unnamed_addr constant [17 x i8] c"unused parameter\00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c"defined but not used\00", align 1 @.str.7 = private unnamed_addr constant [49 x i8] c"anonymous variadic macros were introduced in C99\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @skip_line(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i64 @strstr(ptr noundef %4, ptr noundef @.str) %6 = icmp ne i64 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 store i32 1, ptr %2, align 4 br label %51 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = call i64 @strstr(ptr noundef %9, ptr noundef @.str.1) %11 = icmp ne i64 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %8 store i32 1, ptr %2, align 4 br label %51 13: ; preds = %8 %14 = load ptr, ptr %3, align 8 %15 = call i64 @strstr(ptr noundef %14, ptr noundef @.str.2) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %13 store i32 1, ptr %2, align 4 br label %51 18: ; preds = %13 %19 = load ptr, ptr %3, align 8 %20 = call i64 @strstr(ptr noundef %19, ptr noundef @.str.3) %21 = icmp ne i64 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %18 store i32 1, ptr %2, align 4 br label %51 23: ; preds = %18 %24 = load ptr, ptr %3, align 8 %25 = call i64 @strstr(ptr noundef %24, ptr noundef @.str.4) %26 = icmp ne i64 %25, 0 br i1 %26, label %27, label %28 27: ; preds = %23 store i32 1, ptr %2, align 4 br label %51 28: ; preds = %23 %29 = load ptr, ptr %3, align 8 %30 = call i64 @strstr(ptr noundef %29, ptr noundef @.str.5) %31 = icmp ne i64 %30, 0 br i1 %31, label %32, label %33 32: ; preds = %28 store i32 1, ptr %2, align 4 br label %51 33: ; preds = %28 %34 = load ptr, ptr %3, align 8 %35 = call i64 @strstr(ptr noundef %34, ptr noundef @.str.6) %36 = icmp ne i64 %35, 0 br i1 %36, label %37, label %38 37: ; preds = %33 store i32 1, ptr %2, align 4 br label %51 38: ; preds = %33 %39 = load ptr, ptr %3, align 8 %40 = call i64 @strstr(ptr noundef %39, ptr noundef @.str.7) %41 = icmp ne i64 %40, 0 br i1 %41, label %42, label %43 42: ; preds = %38 store i32 1, ptr %2, align 4 br label %51 43: ; preds = %38 br label %44 44: ; preds = %43 br label %45 45: ; preds = %44 br label %46 46: ; preds = %45 br label %47 47: ; preds = %46 br label %48 48: ; preds = %47 br label %49 49: ; preds = %48 br label %50 50: ; preds = %49 store i32 0, ptr %2, align 4 br label %51 51: ; preds = %50, %42, %37, %32, %27, %22, %17, %12, %7 %52 = load i32, ptr %2, align 4 ret i32 %52 } declare i64 @strstr(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/tmpsb6uzzwh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"does not support `long long'\00", align 1 @.str.1 = private unnamed_addr constant [49 x i8] c"does not support the `ll' printf length modifier\00", align 1 @.str.2 = private unnamed_addr constant [48 x i8] c"does not support the `ll' scanf length modifier\00", align 1 @.str.3 = private unnamed_addr constant [36 x i8] c"forbids long long integer constants\00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c"long long integer constant\00", align 1 @.str.5 = private unnamed_addr constant [17 x i8] c"unused parameter\00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c"defined but not used\00", align 1 @.str.7 = private unnamed_addr constant [49 x i8] c"anonymous variadic macros were introduced in C99\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @skip_line(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i64 @strstr(ptr noundef %4, ptr noundef @.str) %6 = icmp ne i64 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 store i32 1, ptr %2, align 4 br label %51 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = call i64 @strstr(ptr noundef %9, ptr noundef @.str.1) %11 = icmp ne i64 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %8 store i32 1, ptr %2, align 4 br label %51 13: ; preds = %8 %14 = load ptr, ptr %3, align 8 %15 = call i64 @strstr(ptr noundef %14, ptr noundef @.str.2) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %13 store i32 1, ptr %2, align 4 br label %51 18: ; preds = %13 %19 = load ptr, ptr %3, align 8 %20 = call i64 @strstr(ptr noundef %19, ptr noundef @.str.3) %21 = icmp ne i64 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %18 store i32 1, ptr %2, align 4 br label %51 23: ; preds = %18 %24 = load ptr, ptr %3, align 8 %25 = call i64 @strstr(ptr noundef %24, ptr noundef @.str.4) %26 = icmp ne i64 %25, 0 br i1 %26, label %27, label %28 27: ; preds = %23 store i32 1, ptr %2, align 4 br label %51 28: ; preds = %23 %29 = load ptr, ptr %3, align 8 %30 = call i64 @strstr(ptr noundef %29, ptr noundef @.str.5) %31 = icmp ne i64 %30, 0 br i1 %31, label %32, label %33 32: ; preds = %28 store i32 1, ptr %2, align 4 br label %51 33: ; preds = %28 %34 = load ptr, ptr %3, align 8 %35 = call i64 @strstr(ptr noundef %34, ptr noundef @.str.6) %36 = icmp ne i64 %35, 0 br i1 %36, label %37, label %38 37: ; preds = %33 store i32 1, ptr %2, align 4 br label %51 38: ; preds = %33 %39 = load ptr, ptr %3, align 8 %40 = call i64 @strstr(ptr noundef %39, ptr noundef @.str.7) %41 = icmp ne i64 %40, 0 br i1 %41, label %42, label %43 42: ; preds = %38 store i32 1, ptr %2, align 4 br label %51 43: ; preds = %38 br label %44 44: ; preds = %43 br label %45 45: ; preds = %44 br label %46 46: ; preds = %45 br label %47 47: ; preds = %46 br label %48 48: ; preds = %47 br label %49 49: ; preds = %48 br label %50 50: ; preds = %49 store i32 0, ptr %2, align 4 br label %51 51: ; preds = %50, %42, %37, %32, %27, %22, %17, %12, %7 %52 = load i32, ptr %2, align 4 ret i32 %52 } declare i64 @strstr(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/tmpbex7ctmd.c' source_filename = "/tmp/tmpbex7ctmd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"should not return NaN\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @benchmark(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = zext i32 %11 to i64 %13 = call ptr @llvm.stacksave() store ptr %13, ptr %6, align 8 %14 = alloca float, i64 %12, align 16 store i64 %12, ptr %7, align 8 store i32 0, ptr %10, align 4 br label %15 15: ; preds = %25, %2 %16 = load i32, ptr %10, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %28 19: ; preds = %15 %20 = call float (...) @rand_float() %21 = call float @llvm.fmuladd.f32(float %20, float 2.000000e+04, float -1.000000e+04) %22 = load i32, ptr %10, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds float, ptr %14, i64 %23 store float %21, ptr %24, align 4 br label %25 25: ; preds = %19 %26 = load i32, ptr %10, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %10, align 4 br label %15, !llvm.loop !6 28: ; preds = %15 store double 0.000000e+00, ptr %8, align 8 %29 = call double (...) @tic() store double %29, ptr %9, align 8 store i32 0, ptr %10, align 4 br label %30 30: ; preds = %43, %28 %31 = load i32, ptr %10, align 4 %32 = load i32, ptr %3, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %34, label %46 34: ; preds = %30 %35 = load i32, ptr %4, align 4 %36 = call double @stdlib_strided_dsmean(i32 noundef %35, ptr noundef %14, i32 noundef 1) store double %36, ptr %8, align 8 %37 = load double, ptr %8, align 8 %38 = load double, ptr %8, align 8 %39 = fcmp une double %37, %38 br i1 %39, label %40, label %42 40: ; preds = %34 %41 = call i32 @printf(ptr noundef @.str) br label %46 42: ; preds = %34 br label %43 43: ; preds = %42 %44 = load i32, ptr %10, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %10, align 4 br label %30, !llvm.loop !8 46: ; preds = %40, %30 %47 = call double (...) @tic() %48 = load double, ptr %9, align 8 %49 = fsub double %47, %48 store double %49, ptr %5, align 8 %50 = load double, ptr %8, align 8 %51 = load double, ptr %8, align 8 %52 = fcmp une double %50, %51 br i1 %52, label %53, label %55 53: ; preds = %46 %54 = call i32 @printf(ptr noundef @.str) br label %55 55: ; preds = %53, %46 %56 = load double, ptr %5, align 8 %57 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %57) ret double %56 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare float @rand_float(...) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #3 declare double @tic(...) #2 declare double @stdlib_strided_dsmean(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { 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/tmpbex7ctmd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"should not return NaN\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @benchmark(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = zext i32 %11 to i64 %13 = call ptr @llvm.stacksave() store ptr %13, ptr %6, align 8 %14 = alloca float, i64 %12, align 16 store i64 %12, ptr %7, align 8 store i32 0, ptr %10, align 4 %15 = load i32, ptr %10, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %30 .lr.ph: ; preds = %2 br label %18 18: ; preds = %.lr.ph, %24 %19 = call float (...) @rand_float() %20 = call float @llvm.fmuladd.f32(float %19, float 2.000000e+04, float -1.000000e+04) %21 = load i32, ptr %10, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds float, ptr %14, i64 %22 store float %20, ptr %23, align 4 br label %24 24: ; preds = %18 %25 = load i32, ptr %10, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %10, align 4 %27 = load i32, ptr %10, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %30 30: ; preds = %._crit_edge, %2 store double 0.000000e+00, ptr %8, align 8 %31 = call double (...) @tic() store double %31, ptr %9, align 8 store i32 0, ptr %10, align 4 %32 = load i32, ptr %10, align 4 %33 = load i32, ptr %3, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %30 br label %35 35: ; preds = %.lr.ph2, %44 %36 = load i32, ptr %4, align 4 %37 = call double @stdlib_strided_dsmean(i32 noundef %36, ptr noundef %14, i32 noundef 1) store double %37, ptr %8, align 8 %38 = load double, ptr %8, align 8 %39 = load double, ptr %8, align 8 %40 = fcmp une double %38, %39 br i1 %40, label %41, label %43 41: ; preds = %35 %42 = call i32 @printf(ptr noundef @.str) br label %50 43: ; preds = %35 br label %44 44: ; preds = %43 %45 = load i32, ptr %10, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %10, align 4 %47 = load i32, ptr %10, align 4 %48 = load i32, ptr %3, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %35, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %44 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %30 br label %50 50: ; preds = %.loopexit, %41 %51 = call double (...) @tic() %52 = load double, ptr %9, align 8 %53 = fsub double %51, %52 store double %53, ptr %5, align 8 %54 = load double, ptr %8, align 8 %55 = load double, ptr %8, align 8 %56 = fcmp une double %54, %55 br i1 %56, label %57, label %59 57: ; preds = %50 %58 = call i32 @printf(ptr noundef @.str) br label %59 59: ; preds = %57, %50 %60 = load double, ptr %5, align 8 %61 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %61) ret double %60 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare float @rand_float(...) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #3 declare double @tic(...) #2 declare double @stdlib_strided_dsmean(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { 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/tmpmzyc_4qx.c' source_filename = "/tmp/tmpmzyc_4qx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"w\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [38 x i8] c"%s: cannot open file for writing: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"sxrm\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cmdline_parser_file_save(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 %8 = load ptr, ptr %4, align 8 %9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str) store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %17, label %12 12: ; preds = %2 %13 = load i32, ptr @stderr, align 4 %14 = load ptr, ptr %4, align 8 %15 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %14) %16 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %16, ptr %3, align 4 br label %24 17: ; preds = %2 %18 = load ptr, ptr %6, align 8 %19 = load ptr, ptr %5, align 8 %20 = call i32 @cmdline_parser_dump(ptr noundef %18, ptr noundef %19) store i32 %20, ptr %7, align 4 %21 = load ptr, ptr %6, align 8 %22 = call i32 @fclose(ptr noundef %21) %23 = load i32, ptr %7, align 4 store i32 %23, ptr %3, align 4 br label %24 24: ; preds = %17, %12 %25 = load i32, ptr %3, align 4 ret i32 %25 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @cmdline_parser_dump(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmzyc_4qx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"w\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [38 x i8] c"%s: cannot open file for writing: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"sxrm\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cmdline_parser_file_save(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 %8 = load ptr, ptr %4, align 8 %9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str) store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %17, label %12 12: ; preds = %2 %13 = load i32, ptr @stderr, align 4 %14 = load ptr, ptr %4, align 8 %15 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %14) %16 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %16, ptr %3, align 4 br label %24 17: ; preds = %2 %18 = load ptr, ptr %6, align 8 %19 = load ptr, ptr %5, align 8 %20 = call i32 @cmdline_parser_dump(ptr noundef %18, ptr noundef %19) store i32 %20, ptr %7, align 4 %21 = load ptr, ptr %6, align 8 %22 = call i32 @fclose(ptr noundef %21) %23 = load i32, ptr %7, align 4 store i32 %23, ptr %3, align 4 br label %24 24: ; preds = %17, %12 %25 = load i32, ptr %3, align 4 ret i32 %25 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @cmdline_parser_dump(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxoloir0k.c' source_filename = "/tmp/tmpxoloir0k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"char * malloc error!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ShareMallocM1c(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 store ptr null, ptr %3, align 8 %4 = load i32, ptr %2, align 4 %5 = call i64 @calloc(i32 noundef %4, i32 noundef 1) %6 = inttoptr i64 %5 to ptr store ptr %6, ptr %3, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %11 8: ; preds = %1 %9 = call i32 @printf(ptr noundef @.str) %10 = call i32 @exit(i32 noundef 1) #3 unreachable 11: ; preds = %1 %12 = load ptr, ptr %3, align 8 ret ptr %12 } declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @printf(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/tmpxoloir0k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"char * malloc error!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ShareMallocM1c(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 store ptr null, ptr %3, align 8 %4 = load i32, ptr %2, align 4 %5 = call i64 @calloc(i32 noundef %4, i32 noundef 1) %6 = inttoptr i64 %5 to ptr store ptr %6, ptr %3, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %11 8: ; preds = %1 %9 = call i32 @printf(ptr noundef @.str) %10 = call i32 @exit(i32 noundef 1) #3 unreachable 11: ; preds = %1 %12 = load ptr, ptr %3, align 8 ret ptr %12 } declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @printf(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/tmpvg7n9sko.c' source_filename = "/tmp/tmpvg7n9sko.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @puthex(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 %3 = alloca i8, align 1 store volatile i8 %0, ptr %2, align 1 %4 = load volatile i8, ptr %2, align 1 %5 = zext i8 %4 to i32 %6 = ashr i32 %5, 4 %7 = trunc i32 %6 to i8 store volatile i8 %7, ptr %3, align 1 %8 = load volatile i8, ptr %3, align 1 %9 = zext i8 %8 to i32 %10 = icmp slt i32 %9, 10 br i1 %10, label %11, label %16 11: ; preds = %1 %12 = load volatile i8, ptr %3, align 1 %13 = zext i8 %12 to i32 %14 = add nsw i32 %13, 48 %15 = trunc i32 %14 to i8 store volatile i8 %15, ptr %3, align 1 br label %21 16: ; preds = %1 %17 = load volatile i8, ptr %3, align 1 %18 = zext i8 %17 to i32 %19 = add nsw i32 %18, 55 %20 = trunc i32 %19 to i8 store volatile i8 %20, ptr %3, align 1 br label %21 21: ; preds = %16, %11 %22 = load volatile i8, ptr %3, align 1 %23 = call i32 @putc(i8 noundef zeroext %22) %24 = load volatile i8, ptr %2, align 1 %25 = zext i8 %24 to i32 %26 = and i32 %25, 15 %27 = trunc i32 %26 to i8 store volatile i8 %27, ptr %3, align 1 %28 = load volatile i8, ptr %3, align 1 %29 = zext i8 %28 to i32 %30 = icmp slt i32 %29, 10 br i1 %30, label %31, label %36 31: ; preds = %21 %32 = load volatile i8, ptr %3, align 1 %33 = zext i8 %32 to i32 %34 = add nsw i32 %33, 48 %35 = trunc i32 %34 to i8 store volatile i8 %35, ptr %3, align 1 br label %41 36: ; preds = %21 %37 = load volatile i8, ptr %3, align 1 %38 = zext i8 %37 to i32 %39 = add nsw i32 %38, 55 %40 = trunc i32 %39 to i8 store volatile i8 %40, ptr %3, align 1 br label %41 41: ; preds = %36, %31 %42 = load volatile i8, ptr %3, align 1 %43 = call i32 @putc(i8 noundef zeroext %42) ret i32 0 } declare i32 @putc(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvg7n9sko.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @puthex(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 %3 = alloca i8, align 1 store volatile i8 %0, ptr %2, align 1 %4 = load volatile i8, ptr %2, align 1 %5 = zext i8 %4 to i32 %6 = ashr i32 %5, 4 %7 = trunc i32 %6 to i8 store volatile i8 %7, ptr %3, align 1 %8 = load volatile i8, ptr %3, align 1 %9 = zext i8 %8 to i32 %10 = icmp slt i32 %9, 10 br i1 %10, label %11, label %16 11: ; preds = %1 %12 = load volatile i8, ptr %3, align 1 %13 = zext i8 %12 to i32 %14 = add nsw i32 %13, 48 %15 = trunc i32 %14 to i8 store volatile i8 %15, ptr %3, align 1 br label %21 16: ; preds = %1 %17 = load volatile i8, ptr %3, align 1 %18 = zext i8 %17 to i32 %19 = add nsw i32 %18, 55 %20 = trunc i32 %19 to i8 store volatile i8 %20, ptr %3, align 1 br label %21 21: ; preds = %16, %11 %22 = load volatile i8, ptr %3, align 1 %23 = call i32 @putc(i8 noundef zeroext %22) %24 = load volatile i8, ptr %2, align 1 %25 = zext i8 %24 to i32 %26 = and i32 %25, 15 %27 = trunc i32 %26 to i8 store volatile i8 %27, ptr %3, align 1 %28 = load volatile i8, ptr %3, align 1 %29 = zext i8 %28 to i32 %30 = icmp slt i32 %29, 10 br i1 %30, label %31, label %36 31: ; preds = %21 %32 = load volatile i8, ptr %3, align 1 %33 = zext i8 %32 to i32 %34 = add nsw i32 %33, 48 %35 = trunc i32 %34 to i8 store volatile i8 %35, ptr %3, align 1 br label %41 36: ; preds = %21 %37 = load volatile i8, ptr %3, align 1 %38 = zext i8 %37 to i32 %39 = add nsw i32 %38, 55 %40 = trunc i32 %39 to i8 store volatile i8 %40, ptr %3, align 1 br label %41 41: ; preds = %36, %31 %42 = load volatile i8, ptr %3, align 1 %43 = call i32 @putc(i8 noundef zeroext %42) ret i32 0 } declare i32 @putc(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbi1webn0.c' source_filename = "/tmp/tmpbi1webn0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @minrep(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %8 = load ptr, ptr %4, align 8 %9 = load ptr, ptr %5, align 8 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = load ptr, ptr %5, align 8 %13 = call i32 @MSP(i32 noundef %11, ptr noundef %12, ptr noundef %7) %14 = call i32 @cycle_shift(ptr noundef %8, ptr noundef %9, i32 noundef %10, i32 noundef %13) ret void } declare i32 @cycle_shift(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @MSP(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbi1webn0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @minrep(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %8 = load ptr, ptr %4, align 8 %9 = load ptr, ptr %5, align 8 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = load ptr, ptr %5, align 8 %13 = call i32 @MSP(i32 noundef %11, ptr noundef %12, ptr noundef %7) %14 = call i32 @cycle_shift(ptr noundef %8, ptr noundef %9, i32 noundef %10, i32 noundef %13) ret void } declare i32 @cycle_shift(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @MSP(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_m_yyns4.c' source_filename = "/tmp/tmp_m_yyns4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mostrar_mat(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %5 5: ; preds = %27, %1 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 3 br i1 %7, label %8, label %30 8: ; preds = %5 store i32 0, ptr %4, align 4 br label %9 9: ; preds = %22, %8 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 3 br i1 %11, label %12, label %25 12: ; preds = %9 %13 = load ptr, ptr %2, align 8 %14 = load i32, ptr %3, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [3 x i32], ptr %13, i64 %15 %17 = load i32, ptr %4, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [3 x i32], ptr %16, i64 0, i64 %18 %20 = load i32, ptr %19, align 4 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %20) br label %22 22: ; preds = %12 %23 = load i32, ptr %4, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %4, align 4 br label %9, !llvm.loop !6 25: ; preds = %9 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %27 27: ; preds = %25 %28 = load i32, ptr %3, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %3, align 4 br label %5, !llvm.loop !8 30: ; preds = %5 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_m_yyns4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mostrar_mat(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 3 br i1 %6, label %.lr.ph2, label %32 .lr.ph2: ; preds = %1 br label %7 7: ; preds = %.lr.ph2, %27 store i32 0, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 3 br i1 %9, label %.lr.ph, label %25 .lr.ph: ; preds = %7 br label %10 10: ; preds = %.lr.ph, %20 %11 = load ptr, ptr %2, align 8 %12 = load i32, ptr %3, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [3 x i32], ptr %11, i64 %13 %15 = load i32, ptr %4, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %16 %18 = load i32, ptr %17, align 4 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %18) br label %20 20: ; preds = %10 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %4, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp slt i32 %23, 3 br i1 %24, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %25 25: ; preds = %._crit_edge, %7 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %27 27: ; preds = %25 %28 = load i32, ptr %3, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %3, align 4 %30 = load i32, ptr %3, align 4 %31 = icmp slt i32 %30, 3 br i1 %31, label %7, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %27 br label %32 32: ; preds = %._crit_edge3, %1 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpz6we5ia3.c' source_filename = "/tmp/tmpz6we5ia3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @alexa_trim(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %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 %7 = load ptr, ptr %3, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %10 9: ; preds = %1 store ptr null, ptr %2, align 8 br label %58 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 store ptr %11, ptr %4, align 8 %12 = load ptr, ptr %3, align 8 store ptr %12, ptr %6, align 8 br label %13 13: ; preds = %26, %10 %14 = load ptr, ptr %6, align 8 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp eq i32 %16, 32 br i1 %17, label %23, label %18 18: ; preds = %13 %19 = load ptr, ptr %6, align 8 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp eq i32 %21, 9 br label %23 23: ; preds = %18, %13 %24 = phi i1 [ true, %13 ], [ %22, %18 ] br i1 %24, label %25, label %29 25: ; preds = %23 br label %26 26: ; preds = %25 %27 = load ptr, ptr %6, align 8 %28 = getelementptr inbounds i8, ptr %27, i32 1 store ptr %28, ptr %6, align 8 br label %13, !llvm.loop !6 29: ; preds = %23 %30 = load ptr, ptr %6, align 8 store ptr %30, ptr %5, align 8 br label %31 31: ; preds = %48, %29 %32 = load ptr, ptr %6, align 8 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp ne i32 %34, 0 br i1 %35, label %36, label %54 36: ; preds = %31 %37 = load ptr, ptr %6, align 8 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp ne i32 %39, 32 br i1 %40, label %41, label %48 41: ; preds = %36 %42 = load ptr, ptr %6, align 8 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = icmp ne i32 %44, 9 br i1 %45, label %46, label %48 46: ; preds = %41 %47 = load ptr, ptr %3, align 8 store ptr %47, ptr %5, align 8 br label %48 48: ; preds = %46, %41, %36 %49 = load ptr, ptr %6, align 8 %50 = getelementptr inbounds i8, ptr %49, i32 1 store ptr %50, ptr %6, align 8 %51 = load i8, ptr %49, align 1 %52 = load ptr, ptr %3, align 8 %53 = getelementptr inbounds i8, ptr %52, i32 1 store ptr %53, ptr %3, align 8 store i8 %51, ptr %52, align 1 br label %31, !llvm.loop !8 54: ; preds = %31 %55 = load ptr, ptr %5, align 8 %56 = getelementptr inbounds i8, ptr %55, i32 1 store ptr %56, ptr %5, align 8 store i8 0, ptr %56, align 1 %57 = load ptr, ptr %4, align 8 store ptr %57, ptr %2, align 8 br label %58 58: ; preds = %54, %9 %59 = load ptr, ptr %2, align 8 ret ptr %59 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpz6we5ia3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @alexa_trim(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %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 %7 = load ptr, ptr %3, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %10 9: ; preds = %1 store ptr null, ptr %2, align 8 br label %61 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 store ptr %11, ptr %4, align 8 %12 = load ptr, ptr %3, align 8 store ptr %12, ptr %6, align 8 br label %13 13: ; preds = %26, %10 %14 = load ptr, ptr %6, align 8 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp eq i32 %16, 32 br i1 %17, label %23, label %18 18: ; preds = %13 %19 = load ptr, ptr %6, align 8 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp eq i32 %21, 9 br label %23 23: ; preds = %18, %13 %24 = phi i1 [ true, %13 ], [ %22, %18 ] br i1 %24, label %25, label %29 25: ; preds = %23 br label %26 26: ; preds = %25 %27 = load ptr, ptr %6, align 8 %28 = getelementptr inbounds i8, ptr %27, i32 1 store ptr %28, ptr %6, align 8 br label %13, !llvm.loop !6 29: ; preds = %23 %30 = load ptr, ptr %6, align 8 store ptr %30, ptr %5, align 8 %31 = load ptr, ptr %6, align 8 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp ne i32 %33, 0 br i1 %34, label %.lr.ph, label %57 .lr.ph: ; preds = %29 br label %35 35: ; preds = %.lr.ph, %47 %36 = load ptr, ptr %6, align 8 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp ne i32 %38, 32 br i1 %39, label %40, label %47 40: ; preds = %35 %41 = load ptr, ptr %6, align 8 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = icmp ne i32 %43, 9 br i1 %44, label %45, label %47 45: ; preds = %40 %46 = load ptr, ptr %3, align 8 store ptr %46, ptr %5, align 8 br label %47 47: ; preds = %45, %40, %35 %48 = load ptr, ptr %6, align 8 %49 = getelementptr inbounds i8, ptr %48, i32 1 store ptr %49, ptr %6, align 8 %50 = load i8, ptr %48, align 1 %51 = load ptr, ptr %3, align 8 %52 = getelementptr inbounds i8, ptr %51, i32 1 store ptr %52, ptr %3, align 8 store i8 %50, ptr %51, align 1 %53 = load ptr, ptr %6, align 8 %54 = load i8, ptr %53, align 1 %55 = sext i8 %54 to i32 %56 = icmp ne i32 %55, 0 br i1 %56, label %35, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %47 br label %57 57: ; preds = %._crit_edge, %29 %58 = load ptr, ptr %5, align 8 %59 = getelementptr inbounds i8, ptr %58, i32 1 store ptr %59, ptr %5, align 8 store i8 0, ptr %59, align 1 %60 = load ptr, ptr %4, align 8 store ptr %60, ptr %2, align 8 br label %61 61: ; preds = %57, %9 %62 = load ptr, ptr %2, align 8 ret ptr %62 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpecqca_hh.c' source_filename = "/tmp/tmpecqca_hh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"error fork: %s\00", align 1 @errno = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Fork() #0 { %1 = alloca i32, align 4 %2 = call i32 (...) @fork() store i32 %2, ptr %1, align 4 %3 = icmp eq i32 %2, -1 br i1 %3, label %4, label %10 4: ; preds = %0 %5 = load i32, ptr @errno, align 4 %6 = call i32 @strerror(i32 noundef %5) %7 = call i32 @err_msg(ptr noundef @.str, i32 noundef %6) %8 = load i32, ptr @EXIT_FAILURE, align 4 %9 = call i32 @exit(i32 noundef %8) #3 unreachable 10: ; preds = %0 %11 = load i32, ptr %1, align 4 ret i32 %11 } declare i32 @fork(...) #1 declare i32 @err_msg(ptr noundef, i32 noundef) #1 declare i32 @strerror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpecqca_hh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"error fork: %s\00", align 1 @errno = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Fork() #0 { %1 = alloca i32, align 4 %2 = call i32 (...) @fork() store i32 %2, ptr %1, align 4 %3 = icmp eq i32 %2, -1 br i1 %3, label %4, label %10 4: ; preds = %0 %5 = load i32, ptr @errno, align 4 %6 = call i32 @strerror(i32 noundef %5) %7 = call i32 @err_msg(ptr noundef @.str, i32 noundef %6) %8 = load i32, ptr @EXIT_FAILURE, align 4 %9 = call i32 @exit(i32 noundef %8) #3 unreachable 10: ; preds = %0 %11 = load i32, ptr %1, align 4 ret i32 %11 } declare i32 @fork(...) #1 declare i32 @err_msg(ptr noundef, i32 noundef) #1 declare i32 @strerror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8n7y34rz.c' source_filename = "/tmp/tmp8n7y34rz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @check_vect() %3 = call i32 @main1(i32 noundef 33) ret i32 0 } declare i32 @check_vect(...) #1 declare i32 @main1(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/tmp8n7y34rz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @check_vect() %3 = call i32 @main1(i32 noundef 33) ret i32 0 } declare i32 @check_vect(...) #1 declare i32 @main1(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/tmp7_vbnlei.c' source_filename = "/tmp/tmp7_vbnlei.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @void_tand1(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 %3 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %4 = load i8, ptr %2, align 1 %5 = call i32 @identity(i8 noundef signext %4) %6 = and i32 %5, 1 %7 = icmp ne i32 %6, 0 %8 = zext i1 %7 to i64 %9 = select i1 %7, i32 42, i32 43 %10 = trunc i32 %9 to i8 store i8 %10, ptr %3, align 1 ret void } declare i32 @identity(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7_vbnlei.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @void_tand1(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 %3 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %4 = load i8, ptr %2, align 1 %5 = call i32 @identity(i8 noundef signext %4) %6 = and i32 %5, 1 %7 = icmp ne i32 %6, 0 %8 = zext i1 %7 to i64 %9 = select i1 %7, i32 42, i32 43 %10 = trunc i32 %9 to i8 store i8 %10, ptr %3, align 1 ret void } declare i32 @identity(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6cgs3_zx.c' source_filename = "/tmp/tmp6cgs3_zx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [43 x i8] c"Vamos calcular se o ano e bissexto ou nao\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"Digite o ano:\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"O ano %d e bissexto!\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"O ano nao e bissexto\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %5 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = srem i32 %6, 4 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %16 9: ; preds = %0 %10 = load i32, ptr %2, align 4 %11 = srem i32 %10, 100 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %9 %14 = load i32, ptr %2, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %14) br label %26 16: ; preds = %9, %0 %17 = load i32, ptr %2, align 4 %18 = srem i32 %17, 400 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %23 20: ; preds = %16 %21 = load i32, ptr %2, align 4 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %21) br label %25 23: ; preds = %16 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %25 25: ; preds = %23, %20 br label %26 26: ; preds = %25, %13 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/tmp6cgs3_zx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [43 x i8] c"Vamos calcular se o ano e bissexto ou nao\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"Digite o ano:\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"O ano %d e bissexto!\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"O ano nao e bissexto\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %5 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = srem i32 %6, 4 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %16 9: ; preds = %0 %10 = load i32, ptr %2, align 4 %11 = srem i32 %10, 100 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %9 %14 = load i32, ptr %2, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %14) br label %26 16: ; preds = %9, %0 %17 = load i32, ptr %2, align 4 %18 = srem i32 %17, 400 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %23 20: ; preds = %16 %21 = load i32, ptr %2, align 4 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %21) br label %25 23: ; preds = %16 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %25 25: ; preds = %23, %20 br label %26 26: ; preds = %25, %13 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/tmp1_0r8xnx.c' source_filename = "/tmp/tmp1_0r8xnx.c" target datalayout = "e-m:e-p270: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/tmp1_0r8xnx.c" target datalayout = "e-m:e-p270: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/tmpjo8va813.c' source_filename = "/tmp/tmpjo8va813.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @locate_node(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call ptr @xlocate_node(ptr noundef %5, ptr noundef %6, i32 noundef 0, i32 noundef 0) ret ptr %7 } declare ptr @xlocate_node(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/tmpjo8va813.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @locate_node(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call ptr @xlocate_node(ptr noundef %5, ptr noundef %6, i32 noundef 0, i32 noundef 0) ret ptr %7 } declare ptr @xlocate_node(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/tmpqj7fy7jm.c' source_filename = "/tmp/tmpqj7fy7jm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Reset_Level_Tree() #0 { %1 = call i32 (...) @reset_comtree() ret void } declare i32 @reset_comtree(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqj7fy7jm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Reset_Level_Tree() #0 { %1 = call i32 (...) @reset_comtree() ret void } declare i32 @reset_comtree(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpt9o_gg8g.c' source_filename = "/tmp/tmpt9o_gg8g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @audio_init() %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = call i32 @graphics_init(i32 noundef %7, ptr noundef %8) %10 = call i32 (...) @graphics_loop() ret i32 0 } declare i32 @audio_init(...) #1 declare i32 @graphics_init(i32 noundef, ptr noundef) #1 declare i32 @graphics_loop(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt9o_gg8g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @audio_init() %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = call i32 @graphics_init(i32 noundef %7, ptr noundef %8) %10 = call i32 (...) @graphics_loop() ret i32 0 } declare i32 @audio_init(...) #1 declare i32 @graphics_init(i32 noundef, ptr noundef) #1 declare i32 @graphics_loop(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9rg4xfb8.c' source_filename = "/tmp/tmp9rg4xfb8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @filename_match_filter_nocase(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %8 = load ptr, ptr %3, align 8 %9 = call ptr @strToLower(ptr noundef %8) store ptr %9, ptr %5, align 8 %10 = load ptr, ptr %4, align 8 %11 = call ptr @strToLower(ptr noundef %10) store ptr %11, ptr %6, align 8 %12 = load ptr, ptr %5, align 8 %13 = load ptr, ptr %6, align 8 %14 = call i64 @strcmp(ptr noundef %12, ptr noundef %13) %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %2 store i32 1, ptr %7, align 4 br label %18 17: ; preds = %2 store i32 0, ptr %7, align 4 br label %18 18: ; preds = %17, %16 %19 = load ptr, ptr %5, align 8 %20 = call i32 @free(ptr noundef %19) %21 = load ptr, ptr %6, align 8 %22 = call i32 @free(ptr noundef %21) %23 = load i32, ptr %7, align 4 ret i32 %23 } declare ptr @strToLower(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9rg4xfb8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @filename_match_filter_nocase(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %8 = load ptr, ptr %3, align 8 %9 = call ptr @strToLower(ptr noundef %8) store ptr %9, ptr %5, align 8 %10 = load ptr, ptr %4, align 8 %11 = call ptr @strToLower(ptr noundef %10) store ptr %11, ptr %6, align 8 %12 = load ptr, ptr %5, align 8 %13 = load ptr, ptr %6, align 8 %14 = call i64 @strcmp(ptr noundef %12, ptr noundef %13) %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %2 store i32 1, ptr %7, align 4 br label %18 17: ; preds = %2 store i32 0, ptr %7, align 4 br label %18 18: ; preds = %17, %16 %19 = load ptr, ptr %5, align 8 %20 = call i32 @free(ptr noundef %19) %21 = load ptr, ptr %6, align 8 %22 = call i32 @free(ptr noundef %21) %23 = load i32, ptr %7, align 4 ret i32 %23 } declare ptr @strToLower(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjauzb9g7.c' source_filename = "/tmp/tmpjauzb9g7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ftab(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 store ptr %6, ptr %4, align 8 br label %7 7: ; preds = %20, %1 %8 = load ptr, ptr %4, align 8 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %23 12: ; preds = %7 %13 = load ptr, ptr %4, align 8 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp eq i32 %15, 9 br i1 %16, label %17, label %19 17: ; preds = %12 %18 = load ptr, ptr %4, align 8 store ptr %18, ptr %2, align 8 br label %24 19: ; preds = %12 br label %20 20: ; preds = %19 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds i8, ptr %21, i32 1 store ptr %22, ptr %4, align 8 br label %7, !llvm.loop !6 23: ; preds = %7 store ptr null, ptr %2, align 8 br label %24 24: ; preds = %23, %17 %25 = load ptr, ptr %2, align 8 ret ptr %25 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpjauzb9g7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ftab(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = icmp ne i32 %9, 0 br i1 %10, label %.lr.ph, label %26 .lr.ph: ; preds = %1 br label %11 11: ; preds = %.lr.ph, %19 %12 = load ptr, ptr %4, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp eq i32 %14, 9 br i1 %15, label %16, label %18 16: ; preds = %11 %17 = load ptr, ptr %4, align 8 store ptr %17, ptr %2, align 8 br label %27 18: ; preds = %11 br label %19 19: ; preds = %18 %20 = load ptr, ptr %4, align 8 %21 = getelementptr inbounds i8, ptr %20, i32 1 store ptr %21, ptr %4, align 8 %22 = load ptr, ptr %4, align 8 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp ne i32 %24, 0 br i1 %25, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %26 26: ; preds = %._crit_edge, %1 store ptr null, ptr %2, align 8 br label %27 27: ; preds = %26, %16 %28 = load ptr, ptr %2, align 8 ret ptr %28 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpbv1n11pl.c' source_filename = "/tmp/tmpbv1n11pl.c" target datalayout = "e-m:e-p270: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fail(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i32, ptr @stderr, align 4 %5 = call i32 @fputs(ptr noundef %3, i32 noundef %4) %6 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fputs(ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbv1n11pl.c" target datalayout = "e-m:e-p270: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fail(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i32, ptr @stderr, align 4 %5 = call i32 @fputs(ptr noundef %3, i32 noundef %4) %6 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fputs(ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7rmpbau6.c' source_filename = "/tmp/tmp7rmpbau6.c" target datalayout = "e-m:e-p270: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 i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @FindSubstring(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 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %8 = load ptr, ptr %5, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %13 10: ; preds = %3 %11 = load ptr, ptr %6, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %15, label %13 13: ; preds = %10, %3 %14 = load i32, ptr @EINVAL, align 4 store i32 %14, ptr @errno, align 4 store i32 -2, ptr %4, align 4 br label %29 15: ; preds = %10 %16 = load i32, ptr %7, align 4 %17 = icmp slt i32 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %15 %19 = load i32, ptr @EINVAL, align 4 store i32 %19, ptr @errno, align 4 store i32 -2, ptr %4, align 4 br label %29 20: ; preds = %15 %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr %7, align 4 %23 = load ptr, ptr %5, align 8 %24 = call i32 @strlen(ptr noundef %23) %25 = load ptr, ptr %6, align 8 %26 = load ptr, ptr %6, align 8 %27 = call i32 @strlen(ptr noundef %26) %28 = call i32 @KMP(ptr noundef %21, i32 noundef %22, i32 noundef %24, ptr noundef %25, i32 noundef %27) store i32 %28, ptr %4, align 4 br label %29 29: ; preds = %20, %18, %13 %30 = load i32, ptr %4, align 4 ret i32 %30 } declare i32 @KMP(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7rmpbau6.c" target datalayout = "e-m:e-p270: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 i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @FindSubstring(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 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %8 = load ptr, ptr %5, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %13 10: ; preds = %3 %11 = load ptr, ptr %6, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %15, label %13 13: ; preds = %10, %3 %14 = load i32, ptr @EINVAL, align 4 store i32 %14, ptr @errno, align 4 store i32 -2, ptr %4, align 4 br label %29 15: ; preds = %10 %16 = load i32, ptr %7, align 4 %17 = icmp slt i32 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %15 %19 = load i32, ptr @EINVAL, align 4 store i32 %19, ptr @errno, align 4 store i32 -2, ptr %4, align 4 br label %29 20: ; preds = %15 %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr %7, align 4 %23 = load ptr, ptr %5, align 8 %24 = call i32 @strlen(ptr noundef %23) %25 = load ptr, ptr %6, align 8 %26 = load ptr, ptr %6, align 8 %27 = call i32 @strlen(ptr noundef %26) %28 = call i32 @KMP(ptr noundef %21, i32 noundef %22, i32 noundef %24, ptr noundef %25, i32 noundef %27) store i32 %28, ptr %4, align 4 br label %29 29: ; preds = %20, %18, %13 %30 = load i32, ptr %4, align 4 ret i32 %30 } declare i32 @KMP(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpp3cl766h.c' source_filename = "/tmp/tmpp3cl766h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"test.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @stdout = dso_local global ptr null, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %4, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %9 7: ; preds = %0 %8 = call i32 @perror(ptr noundef @.str) store i32 -1, ptr %1, align 4 br label %38 9: ; preds = %0 store i32 0, ptr %3, align 4 br label %10 10: ; preds = %19, %9 %11 = load i32, ptr %3, align 4 %12 = icmp slt i32 %11, 5 br i1 %12, label %13, label %22 13: ; preds = %10 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 65, %14 %16 = trunc i32 %15 to i8 %17 = load ptr, ptr %2, align 8 %18 = call i32 @fputc(i8 noundef signext %16, ptr noundef %17) br label %19 19: ; preds = %13 %20 = load i32, ptr %3, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %3, align 4 br label %10, !llvm.loop !6 22: ; preds = %10 store i32 0, ptr %3, align 4 br label %23 23: ; preds = %32, %22 %24 = load i32, ptr %3, align 4 %25 = icmp slt i32 %24, 5 br i1 %25, label %26, label %35 26: ; preds = %23 %27 = load i32, ptr %3, align 4 %28 = add nsw i32 65, %27 %29 = trunc i32 %28 to i8 %30 = load ptr, ptr @stdout, align 8 %31 = call i32 @fputc(i8 noundef signext %29, ptr noundef %30) br label %32 32: ; preds = %26 %33 = load i32, ptr %3, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %3, align 4 br label %23, !llvm.loop !8 35: ; preds = %23 %36 = load ptr, ptr %2, align 8 %37 = call i32 @fclose(ptr noundef %36) store i32 0, ptr %1, align 4 br label %38 38: ; preds = %35, %7 %39 = load i32, ptr %1, align 4 ret i32 %39 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @fputc(i8 noundef signext, 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/tmpp3cl766h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"test.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @stdout = dso_local global ptr null, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %4, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %9 7: ; preds = %0 %8 = call i32 @perror(ptr noundef @.str) store i32 -1, ptr %1, align 4 br label %40 9: ; preds = %0 store i32 0, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %10, 5 br i1 %11, label %.lr.ph, label %23 .lr.ph: ; preds = %9 br label %12 12: ; preds = %.lr.ph, %18 %13 = load i32, ptr %3, align 4 %14 = add nsw i32 65, %13 %15 = trunc i32 %14 to i8 %16 = load ptr, ptr %2, align 8 %17 = call i32 @fputc(i8 noundef signext %15, ptr noundef %16) br label %18 18: ; preds = %12 %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %3, align 4 %21 = load i32, ptr %3, align 4 %22 = icmp slt i32 %21, 5 br i1 %22, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %23 23: ; preds = %._crit_edge, %9 store i32 0, ptr %3, align 4 %24 = load i32, ptr %3, align 4 %25 = icmp slt i32 %24, 5 br i1 %25, label %.lr.ph2, label %37 .lr.ph2: ; preds = %23 br label %26 26: ; preds = %.lr.ph2, %32 %27 = load i32, ptr %3, align 4 %28 = add nsw i32 65, %27 %29 = trunc i32 %28 to i8 %30 = load ptr, ptr @stdout, align 8 %31 = call i32 @fputc(i8 noundef signext %29, ptr noundef %30) br label %32 32: ; preds = %26 %33 = load i32, ptr %3, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %3, align 4 %35 = load i32, ptr %3, align 4 %36 = icmp slt i32 %35, 5 br i1 %36, label %26, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %32 br label %37 37: ; preds = %._crit_edge3, %23 %38 = load ptr, ptr %2, align 8 %39 = call i32 @fclose(ptr noundef %38) store i32 0, ptr %1, align 4 br label %40 40: ; preds = %37, %7 %41 = load i32, ptr %1, align 4 ret i32 %41 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @fputc(i8 noundef signext, 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/tmpybdhygoe.c' source_filename = "/tmp/tmpybdhygoe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define weak dso_local void @CAN1_IRQHandler() #0 { %1 = call i32 (...) @CAN1_DriverIRQHandler() ret void } declare i32 @CAN1_DriverIRQHandler(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpybdhygoe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define weak dso_local void @CAN1_IRQHandler() #0 { %1 = call i32 (...) @CAN1_DriverIRQHandler() ret void } declare i32 @CAN1_DriverIRQHandler(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkr5tu2xp.c' source_filename = "/tmp/tmpkr5tu2xp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"exit\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"help\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"addcity\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"addteam\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"startgame\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"endgame\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"new\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"join\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Comandos(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i64 @strcmp(ptr noundef %4, ptr noundef @.str) %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 store i32 0, ptr %2, align 4 br label %44 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = call i64 @strcmp(ptr noundef %9, ptr noundef @.str.1) %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %8 store i32 1, ptr %2, align 4 br label %44 13: ; preds = %8 %14 = load ptr, ptr %3, align 8 %15 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str.2) %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %13 store i32 4, ptr %2, align 4 br label %44 18: ; preds = %13 %19 = load ptr, ptr %3, align 8 %20 = call i64 @strcmp(ptr noundef %19, ptr noundef @.str.3) %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %18 store i32 5, ptr %2, align 4 br label %44 23: ; preds = %18 %24 = load ptr, ptr %3, align 8 %25 = call i64 @strcmp(ptr noundef %24, ptr noundef @.str.4) %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %28 27: ; preds = %23 store i32 6, ptr %2, align 4 br label %44 28: ; preds = %23 %29 = load ptr, ptr %3, align 8 %30 = call i64 @strcmp(ptr noundef %29, ptr noundef @.str.5) %31 = icmp eq i64 %30, 0 br i1 %31, label %32, label %33 32: ; preds = %28 store i32 7, ptr %2, align 4 br label %44 33: ; preds = %28 %34 = load ptr, ptr %3, align 8 %35 = call i64 @strcmp(ptr noundef %34, ptr noundef @.str.6) %36 = icmp eq i64 %35, 0 br i1 %36, label %37, label %38 37: ; preds = %33 store i32 2, ptr %2, align 4 br label %44 38: ; preds = %33 %39 = load ptr, ptr %3, align 8 %40 = call i64 @strcmp(ptr noundef %39, ptr noundef @.str.7) %41 = icmp eq i64 %40, 0 br i1 %41, label %42, label %43 42: ; preds = %38 store i32 3, ptr %2, align 4 br label %44 43: ; preds = %38 store i32 -1, ptr %2, align 4 br label %44 44: ; preds = %43, %42, %37, %32, %27, %22, %17, %12, %7 %45 = load i32, ptr %2, align 4 ret i32 %45 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkr5tu2xp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"exit\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"help\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"addcity\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"addteam\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"startgame\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"endgame\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"new\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"join\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Comandos(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i64 @strcmp(ptr noundef %4, ptr noundef @.str) %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 store i32 0, ptr %2, align 4 br label %44 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = call i64 @strcmp(ptr noundef %9, ptr noundef @.str.1) %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %8 store i32 1, ptr %2, align 4 br label %44 13: ; preds = %8 %14 = load ptr, ptr %3, align 8 %15 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str.2) %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %13 store i32 4, ptr %2, align 4 br label %44 18: ; preds = %13 %19 = load ptr, ptr %3, align 8 %20 = call i64 @strcmp(ptr noundef %19, ptr noundef @.str.3) %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %18 store i32 5, ptr %2, align 4 br label %44 23: ; preds = %18 %24 = load ptr, ptr %3, align 8 %25 = call i64 @strcmp(ptr noundef %24, ptr noundef @.str.4) %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %28 27: ; preds = %23 store i32 6, ptr %2, align 4 br label %44 28: ; preds = %23 %29 = load ptr, ptr %3, align 8 %30 = call i64 @strcmp(ptr noundef %29, ptr noundef @.str.5) %31 = icmp eq i64 %30, 0 br i1 %31, label %32, label %33 32: ; preds = %28 store i32 7, ptr %2, align 4 br label %44 33: ; preds = %28 %34 = load ptr, ptr %3, align 8 %35 = call i64 @strcmp(ptr noundef %34, ptr noundef @.str.6) %36 = icmp eq i64 %35, 0 br i1 %36, label %37, label %38 37: ; preds = %33 store i32 2, ptr %2, align 4 br label %44 38: ; preds = %33 %39 = load ptr, ptr %3, align 8 %40 = call i64 @strcmp(ptr noundef %39, ptr noundef @.str.7) %41 = icmp eq i64 %40, 0 br i1 %41, label %42, label %43 42: ; preds = %38 store i32 3, ptr %2, align 4 br label %44 43: ; preds = %38 store i32 -1, ptr %2, align 4 br label %44 44: ; preds = %43, %42, %37, %32, %27, %22, %17, %12, %7 %45 = load i32, ptr %2, align 4 ret i32 %45 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpeogupr5l.c' source_filename = "/tmp/tmpeogupr5l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpeogupr5l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp62ffzjjq.c' source_filename = "/tmp/tmp62ffzjjq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"cmd\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"ERROR: no value for %s.\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"option\00", align 1 @.str.4 = private unnamed_addr constant [48 x i8] c"ERROR: the following option is mandatory: %s.\0A\0A\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"missing\00", align 1 @.str.6 = private unnamed_addr constant [90 x i8] c"ERROR: one of the following options is missing or not positive: -K / -b / -i / -p / -d.\0A\0A\00", align 1 @.str.7 = private unnamed_addr constant [6 x i8] c"basic\00", align 1 @.str.8 = private unnamed_addr constant [47 x i8] c"ERROR: the command is not written correctly.\0A\0A\00", align 1 @.str.9 = private unnamed_addr constant [9 x i8] c"specific\00", align 1 @.str.10 = private unnamed_addr constant [13 x i8] c"ERROR: %s.\0A\0A\00", align 1 @.str.11 = private unnamed_addr constant [24 x i8] c"ERROR: Internal error.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_error_lfmm(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = load ptr, ptr %4, align 8 %9 = call i32 @strcmp(ptr noundef %8, ptr noundef @.str.1) %10 = icmp ne i32 %9, 0 br i1 %10, label %15, label %11 11: ; preds = %3 %12 = load ptr, ptr %5, align 8 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %12) %14 = call i32 (...) @print_help_lfmm() br label %51 15: ; preds = %3 %16 = load ptr, ptr %4, align 8 %17 = call i32 @strcmp(ptr noundef %16, ptr noundef @.str.3) %18 = icmp ne i32 %17, 0 br i1 %18, label %23, label %19 19: ; preds = %15 %20 = load ptr, ptr %5, align 8 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %20) %22 = call i32 (...) @print_help_lfmm() br label %50 23: ; preds = %15 %24 = load ptr, ptr %4, align 8 %25 = call i32 @strcmp(ptr noundef %24, ptr noundef @.str.5) %26 = icmp ne i32 %25, 0 br i1 %26, label %30, label %27 27: ; preds = %23 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %29 = call i32 (...) @print_help_lfmm() br label %49 30: ; preds = %23 %31 = load ptr, ptr %4, align 8 %32 = call i32 @strcmp(ptr noundef %31, ptr noundef @.str.7) %33 = icmp ne i32 %32, 0 br i1 %33, label %37, label %34 34: ; preds = %30 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %36 = call i32 (...) @print_help_lfmm() br label %48 37: ; preds = %30 %38 = load ptr, ptr %4, align 8 %39 = call i32 @strcmp(ptr noundef %38, ptr noundef @.str.9) %40 = icmp ne i32 %39, 0 br i1 %40, label %45, label %41 41: ; preds = %37 %42 = load ptr, ptr %5, align 8 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef %42) %44 = call i32 (...) @print_help_lfmm() br label %47 45: ; preds = %37 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) br label %47 47: ; preds = %45, %41 br label %48 48: ; preds = %47, %34 br label %49 49: ; preds = %48, %27 br label %50 50: ; preds = %49, %19 br label %51 51: ; preds = %50, %11 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str) %53 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef, ...) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @print_help_lfmm(...) #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/tmp62ffzjjq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"cmd\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"ERROR: no value for %s.\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"option\00", align 1 @.str.4 = private unnamed_addr constant [48 x i8] c"ERROR: the following option is mandatory: %s.\0A\0A\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"missing\00", align 1 @.str.6 = private unnamed_addr constant [90 x i8] c"ERROR: one of the following options is missing or not positive: -K / -b / -i / -p / -d.\0A\0A\00", align 1 @.str.7 = private unnamed_addr constant [6 x i8] c"basic\00", align 1 @.str.8 = private unnamed_addr constant [47 x i8] c"ERROR: the command is not written correctly.\0A\0A\00", align 1 @.str.9 = private unnamed_addr constant [9 x i8] c"specific\00", align 1 @.str.10 = private unnamed_addr constant [13 x i8] c"ERROR: %s.\0A\0A\00", align 1 @.str.11 = private unnamed_addr constant [24 x i8] c"ERROR: Internal error.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_error_lfmm(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = load ptr, ptr %4, align 8 %9 = call i32 @strcmp(ptr noundef %8, ptr noundef @.str.1) %10 = icmp ne i32 %9, 0 br i1 %10, label %15, label %11 11: ; preds = %3 %12 = load ptr, ptr %5, align 8 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %12) %14 = call i32 (...) @print_help_lfmm() br label %51 15: ; preds = %3 %16 = load ptr, ptr %4, align 8 %17 = call i32 @strcmp(ptr noundef %16, ptr noundef @.str.3) %18 = icmp ne i32 %17, 0 br i1 %18, label %23, label %19 19: ; preds = %15 %20 = load ptr, ptr %5, align 8 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %20) %22 = call i32 (...) @print_help_lfmm() br label %50 23: ; preds = %15 %24 = load ptr, ptr %4, align 8 %25 = call i32 @strcmp(ptr noundef %24, ptr noundef @.str.5) %26 = icmp ne i32 %25, 0 br i1 %26, label %30, label %27 27: ; preds = %23 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %29 = call i32 (...) @print_help_lfmm() br label %49 30: ; preds = %23 %31 = load ptr, ptr %4, align 8 %32 = call i32 @strcmp(ptr noundef %31, ptr noundef @.str.7) %33 = icmp ne i32 %32, 0 br i1 %33, label %37, label %34 34: ; preds = %30 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %36 = call i32 (...) @print_help_lfmm() br label %48 37: ; preds = %30 %38 = load ptr, ptr %4, align 8 %39 = call i32 @strcmp(ptr noundef %38, ptr noundef @.str.9) %40 = icmp ne i32 %39, 0 br i1 %40, label %45, label %41 41: ; preds = %37 %42 = load ptr, ptr %5, align 8 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef %42) %44 = call i32 (...) @print_help_lfmm() br label %47 45: ; preds = %37 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) br label %47 47: ; preds = %45, %41 br label %48 48: ; preds = %47, %34 br label %49 49: ; preds = %48, %27 br label %50 50: ; preds = %49, %19 br label %51 51: ; preds = %50, %11 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str) %53 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef, ...) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @print_help_lfmm(...) #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/tmpzmxshhlj.c' source_filename = "/tmp/tmpzmxshhlj.c" target datalayout = "e-m:e-p270: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 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzmxshhlj.c" target datalayout = "e-m:e-p270: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 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnv3sjv_w.c' source_filename = "/tmp/tmpnv3sjv_w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.tm = type { i32, i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @tm_increment_day(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 0 br i1 %7, label %8, label %13 8: ; preds = %2 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %4, align 4 %11 = sub nsw i32 0, %10 %12 = call i32 @tm_decrement_day(ptr noundef %9, i32 noundef %11) br label %113 13: ; preds = %2 %14 = load i32, ptr %4, align 4 store i32 %14, ptr %5, align 4 br label %15 15: ; preds = %111, %13 %16 = load i32, ptr %5, align 4 %17 = add nsw i32 %16, -1 store i32 %17, ptr %5, align 4 %18 = icmp ne i32 %16, 0 br i1 %18, label %19, label %112 19: ; preds = %15 %20 = load ptr, ptr %3, align 8 %21 = getelementptr inbounds %struct.tm, ptr %20, i32 0, i32 0 %22 = load i32, ptr %21, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %21, align 4 %24 = load ptr, ptr %3, align 8 %25 = getelementptr inbounds %struct.tm, ptr %24, i32 0, i32 1 %26 = load i32, ptr %25, align 4 switch i32 %26, label %109 [ i32 0, label %27 i32 2, label %27 i32 4, label %27 i32 6, label %27 i32 7, label %27 i32 9, label %27 i32 11, label %40 i32 3, label %64 i32 5, label %64 i32 8, label %64 i32 10, label %64 i32 1, label %77 ] 27: ; preds = %19, %19, %19, %19, %19, %19 %28 = load ptr, ptr %3, align 8 %29 = getelementptr inbounds %struct.tm, ptr %28, i32 0, i32 0 %30 = load i32, ptr %29, align 4 %31 = icmp sgt i32 %30, 31 br i1 %31, label %32, label %39 32: ; preds = %27 %33 = load ptr, ptr %3, align 8 %34 = getelementptr inbounds %struct.tm, ptr %33, i32 0, i32 0 store i32 1, ptr %34, align 4 %35 = load ptr, ptr %3, align 8 %36 = getelementptr inbounds %struct.tm, ptr %35, i32 0, i32 1 %37 = load i32, ptr %36, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %36, align 4 br label %39 39: ; preds = %32, %27 br label %111 40: ; preds = %19 %41 = load ptr, ptr %3, align 8 %42 = getelementptr inbounds %struct.tm, ptr %41, i32 0, i32 0 %43 = load i32, ptr %42, align 4 %44 = icmp sgt i32 %43, 31 br i1 %44, label %45, label %63 45: ; preds = %40 %46 = load ptr, ptr %3, align 8 %47 = getelementptr inbounds %struct.tm, ptr %46, i32 0, i32 0 store i32 1, ptr %47, align 4 %48 = load ptr, ptr %3, align 8 %49 = getelementptr inbounds %struct.tm, ptr %48, i32 0, i32 1 store i32 0, ptr %49, align 4 %50 = load ptr, ptr %3, align 8 %51 = getelementptr inbounds %struct.tm, ptr %50, i32 0, i32 2 %52 = load i32, ptr %51, align 4 %53 = icmp eq i32 %52, -1 br i1 %53, label %54, label %57 54: ; preds = %45 %55 = load ptr, ptr %3, align 8 %56 = getelementptr inbounds %struct.tm, ptr %55, i32 0, i32 2 store i32 1, ptr %56, align 4 br label %62 57: ; preds = %45 %58 = load ptr, ptr %3, align 8 %59 = getelementptr inbounds %struct.tm, ptr %58, i32 0, i32 2 %60 = load i32, ptr %59, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %59, align 4 br label %62 62: ; preds = %57, %54 br label %63 63: ; preds = %62, %40 br label %111 64: ; preds = %19, %19, %19, %19 %65 = load ptr, ptr %3, align 8 %66 = getelementptr inbounds %struct.tm, ptr %65, i32 0, i32 0 %67 = load i32, ptr %66, align 4 %68 = icmp sgt i32 %67, 30 br i1 %68, label %69, label %76 69: ; preds = %64 %70 = load ptr, ptr %3, align 8 %71 = getelementptr inbounds %struct.tm, ptr %70, i32 0, i32 0 store i32 1, ptr %71, align 4 %72 = load ptr, ptr %3, align 8 %73 = getelementptr inbounds %struct.tm, ptr %72, i32 0, i32 1 %74 = load i32, ptr %73, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %73, align 4 br label %76 76: ; preds = %69, %64 br label %111 77: ; preds = %19 %78 = load ptr, ptr %3, align 8 %79 = getelementptr inbounds %struct.tm, ptr %78, i32 0, i32 0 %80 = load i32, ptr %79, align 4 %81 = icmp sgt i32 %80, 29 br i1 %81, label %82, label %89 82: ; preds = %77 %83 = load ptr, ptr %3, align 8 %84 = getelementptr inbounds %struct.tm, ptr %83, i32 0, i32 0 store i32 1, ptr %84, align 4 %85 = load ptr, ptr %3, align 8 %86 = getelementptr inbounds %struct.tm, ptr %85, i32 0, i32 1 %87 = load i32, ptr %86, align 4 %88 = add nsw i32 %87, 1 store i32 %88, ptr %86, align 4 br label %108 89: ; preds = %77 %90 = load ptr, ptr %3, align 8 %91 = getelementptr inbounds %struct.tm, ptr %90, i32 0, i32 0 %92 = load i32, ptr %91, align 4 %93 = icmp sgt i32 %92, 28 br i1 %93, label %94, label %107 94: ; preds = %89 %95 = load ptr, ptr %3, align 8 %96 = getelementptr inbounds %struct.tm, ptr %95, i32 0, i32 2 %97 = load i32, ptr %96, align 4 %98 = call i32 @is_leap_year(i32 noundef %97) %99 = icmp ne i32 %98, 0 br i1 %99, label %107, label %100 100: ; preds = %94 %101 = load ptr, ptr %3, align 8 %102 = getelementptr inbounds %struct.tm, ptr %101, i32 0, i32 0 store i32 1, ptr %102, align 4 %103 = load ptr, ptr %3, align 8 %104 = getelementptr inbounds %struct.tm, ptr %103, i32 0, i32 1 %105 = load i32, ptr %104, align 4 %106 = add nsw i32 %105, 1 store i32 %106, ptr %104, align 4 br label %107 107: ; preds = %100, %94, %89 br label %108 108: ; preds = %107, %82 br label %111 109: ; preds = %19 %110 = call i32 @assert(i32 noundef 0) br label %111 111: ; preds = %109, %108, %76, %63, %39 br label %15, !llvm.loop !6 112: ; preds = %15 br label %113 113: ; preds = %112, %8 %114 = load ptr, ptr %3, align 8 ret ptr %114 } declare i32 @tm_decrement_day(ptr noundef, i32 noundef) #1 declare i32 @is_leap_year(i32 noundef) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnv3sjv_w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.tm = type { i32, i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @tm_increment_day(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 0 br i1 %7, label %8, label %13 8: ; preds = %2 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %4, align 4 %11 = sub nsw i32 0, %10 %12 = call i32 @tm_decrement_day(ptr noundef %9, i32 noundef %11) br label %115 13: ; preds = %2 %14 = load i32, ptr %4, align 4 store i32 %14, ptr %5, align 4 %15 = load i32, ptr %5, align 4 %16 = add nsw i32 %15, -1 store i32 %16, ptr %5, align 4 %17 = icmp ne i32 %15, 0 br i1 %17, label %.lr.ph, label %114 .lr.ph: ; preds = %13 br label %18 18: ; preds = %.lr.ph, %110 %19 = load ptr, ptr %3, align 8 %20 = getelementptr inbounds %struct.tm, ptr %19, i32 0, i32 0 %21 = load i32, ptr %20, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %20, align 4 %23 = load ptr, ptr %3, align 8 %24 = getelementptr inbounds %struct.tm, ptr %23, i32 0, i32 1 %25 = load i32, ptr %24, align 4 switch i32 %25, label %108 [ i32 0, label %26 i32 2, label %26 i32 4, label %26 i32 6, label %26 i32 7, label %26 i32 9, label %26 i32 11, label %39 i32 3, label %63 i32 5, label %63 i32 8, label %63 i32 10, label %63 i32 1, label %76 ] 26: ; preds = %18, %18, %18, %18, %18, %18 %27 = load ptr, ptr %3, align 8 %28 = getelementptr inbounds %struct.tm, ptr %27, i32 0, i32 0 %29 = load i32, ptr %28, align 4 %30 = icmp sgt i32 %29, 31 br i1 %30, label %31, label %38 31: ; preds = %26 %32 = load ptr, ptr %3, align 8 %33 = getelementptr inbounds %struct.tm, ptr %32, i32 0, i32 0 store i32 1, ptr %33, align 4 %34 = load ptr, ptr %3, align 8 %35 = getelementptr inbounds %struct.tm, ptr %34, i32 0, i32 1 %36 = load i32, ptr %35, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %35, align 4 br label %38 38: ; preds = %31, %26 br label %110 39: ; preds = %18 %40 = load ptr, ptr %3, align 8 %41 = getelementptr inbounds %struct.tm, ptr %40, i32 0, i32 0 %42 = load i32, ptr %41, align 4 %43 = icmp sgt i32 %42, 31 br i1 %43, label %44, label %62 44: ; preds = %39 %45 = load ptr, ptr %3, align 8 %46 = getelementptr inbounds %struct.tm, ptr %45, i32 0, i32 0 store i32 1, ptr %46, align 4 %47 = load ptr, ptr %3, align 8 %48 = getelementptr inbounds %struct.tm, ptr %47, i32 0, i32 1 store i32 0, ptr %48, align 4 %49 = load ptr, ptr %3, align 8 %50 = getelementptr inbounds %struct.tm, ptr %49, i32 0, i32 2 %51 = load i32, ptr %50, align 4 %52 = icmp eq i32 %51, -1 br i1 %52, label %53, label %56 53: ; preds = %44 %54 = load ptr, ptr %3, align 8 %55 = getelementptr inbounds %struct.tm, ptr %54, i32 0, i32 2 store i32 1, ptr %55, align 4 br label %61 56: ; preds = %44 %57 = load ptr, ptr %3, align 8 %58 = getelementptr inbounds %struct.tm, ptr %57, i32 0, i32 2 %59 = load i32, ptr %58, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %58, align 4 br label %61 61: ; preds = %56, %53 br label %62 62: ; preds = %61, %39 br label %110 63: ; preds = %18, %18, %18, %18 %64 = load ptr, ptr %3, align 8 %65 = getelementptr inbounds %struct.tm, ptr %64, i32 0, i32 0 %66 = load i32, ptr %65, align 4 %67 = icmp sgt i32 %66, 30 br i1 %67, label %68, label %75 68: ; preds = %63 %69 = load ptr, ptr %3, align 8 %70 = getelementptr inbounds %struct.tm, ptr %69, i32 0, i32 0 store i32 1, ptr %70, align 4 %71 = load ptr, ptr %3, align 8 %72 = getelementptr inbounds %struct.tm, ptr %71, i32 0, i32 1 %73 = load i32, ptr %72, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %72, align 4 br label %75 75: ; preds = %68, %63 br label %110 76: ; preds = %18 %77 = load ptr, ptr %3, align 8 %78 = getelementptr inbounds %struct.tm, ptr %77, i32 0, i32 0 %79 = load i32, ptr %78, align 4 %80 = icmp sgt i32 %79, 29 br i1 %80, label %81, label %88 81: ; preds = %76 %82 = load ptr, ptr %3, align 8 %83 = getelementptr inbounds %struct.tm, ptr %82, i32 0, i32 0 store i32 1, ptr %83, align 4 %84 = load ptr, ptr %3, align 8 %85 = getelementptr inbounds %struct.tm, ptr %84, i32 0, i32 1 %86 = load i32, ptr %85, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %85, align 4 br label %107 88: ; preds = %76 %89 = load ptr, ptr %3, align 8 %90 = getelementptr inbounds %struct.tm, ptr %89, i32 0, i32 0 %91 = load i32, ptr %90, align 4 %92 = icmp sgt i32 %91, 28 br i1 %92, label %93, label %106 93: ; preds = %88 %94 = load ptr, ptr %3, align 8 %95 = getelementptr inbounds %struct.tm, ptr %94, i32 0, i32 2 %96 = load i32, ptr %95, align 4 %97 = call i32 @is_leap_year(i32 noundef %96) %98 = icmp ne i32 %97, 0 br i1 %98, label %106, label %99 99: ; preds = %93 %100 = load ptr, ptr %3, align 8 %101 = getelementptr inbounds %struct.tm, ptr %100, i32 0, i32 0 store i32 1, ptr %101, align 4 %102 = load ptr, ptr %3, align 8 %103 = getelementptr inbounds %struct.tm, ptr %102, i32 0, i32 1 %104 = load i32, ptr %103, align 4 %105 = add nsw i32 %104, 1 store i32 %105, ptr %103, align 4 br label %106 106: ; preds = %99, %93, %88 br label %107 107: ; preds = %106, %81 br label %110 108: ; preds = %18 %109 = call i32 @assert(i32 noundef 0) br label %110 110: ; preds = %108, %107, %75, %62, %38 %111 = load i32, ptr %5, align 4 %112 = add nsw i32 %111, -1 store i32 %112, ptr %5, align 4 %113 = icmp ne i32 %111, 0 br i1 %113, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %110 br label %114 114: ; preds = %._crit_edge, %13 br label %115 115: ; preds = %114, %8 %116 = load ptr, ptr %3, align 8 ret ptr %116 } declare i32 @tm_decrement_day(ptr noundef, i32 noundef) #1 declare i32 @is_leap_year(i32 noundef) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpm90ftzy4.c' source_filename = "/tmp/tmpm90ftzy4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BASM_XCallGenNatRepackSigW64.gregs = internal global [4 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3], align 16 @.str = private unnamed_addr constant [4 x i8] c"rcx\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"rdx\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"r8\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"r9\00", align 1 @BASM_XCallGenNatRepackSigW64.xregs = internal global [4 x ptr] [ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7], align 16 @.str.4 = private unnamed_addr constant [5 x i8] c"xmm0\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"xmm1\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"xmm2\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"xmm3\00", align 1 @.str.8 = private unnamed_addr constant [18 x i8] c"mov [rsp+%d], %s\0A\00", align 1 @.str.9 = private unnamed_addr constant [19 x i8] c"mov eax, [rbp+%d]\0A\00", align 1 @.str.10 = private unnamed_addr constant [19 x i8] c"mov [rsp+%d], eax\0A\00", align 1 @.str.11 = private unnamed_addr constant [19 x i8] c"mov rax, [rbp+%d]\0A\00", align 1 @.str.12 = private unnamed_addr constant [19 x i8] c"mov [rsp+%d], rax\0A\00", align 1 @.str.13 = private unnamed_addr constant [20 x i8] c"movsd [rsp+%d], %s\0A\00", align 1 @.str.14 = private unnamed_addr constant [22 x i8] c"movsd xmm4, [rbp+%d]\0A\00", align 1 @.str.15 = private unnamed_addr constant [22 x i8] c"movsd [rsp+%d], xmm4\0A\00", align 1 @.str.16 = private unnamed_addr constant [21 x i8] c"movdqa [rsp+%d], %s\0A\00", align 1 @.str.17 = private unnamed_addr constant [23 x i8] c"movdqa xmm4, [rbp+%d]\0A\00", align 1 @.str.18 = private unnamed_addr constant [23 x i8] c"movdqa [rsp+%d], xmm4\0A\00", align 1 @.str.19 = private unnamed_addr constant [20 x i8] c"movss [rsp+%d], %s\0A\00", align 1 @.str.20 = private unnamed_addr constant [22 x i8] c"movss xmm4, [rbp+%d]\0A\00", align 1 @.str.21 = private unnamed_addr constant [22 x i8] c"movss [rsp+%d], xmm4\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @BASM_XCallGenNatRepackSigW64(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 48, ptr %8, align 4 %9 = load ptr, ptr %2, align 8 store ptr %9, ptr %3, align 8 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %10 = load ptr, ptr %3, align 8 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp eq i32 %12, 40 br i1 %13, label %14, label %17 14: ; preds = %1 %15 = load ptr, ptr %3, align 8 %16 = getelementptr inbounds i8, ptr %15, i32 1 store ptr %16, ptr %3, align 8 br label %17 17: ; preds = %14, %1 br label %18 18: ; preds = %493, %17 %19 = load ptr, ptr %3, align 8 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp ne i32 %21, 0 br i1 %22, label %23, label %28 23: ; preds = %18 %24 = load ptr, ptr %3, align 8 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp ne i32 %26, 41 br label %28 28: ; preds = %23, %18 %29 = phi i1 [ false, %18 ], [ %27, %23 ] br i1 %29, label %30, label %494 30: ; preds = %28 %31 = load ptr, ptr %3, align 8 %32 = getelementptr inbounds i8, ptr %31, i32 1 store ptr %32, ptr %3, align 8 %33 = load i8, ptr %31, align 1 %34 = sext i8 %33 to i32 switch i32 %34, label %492 [ i32 97, label %35 i32 98, label %35 i32 99, label %35 i32 104, label %35 i32 115, label %35 i32 116, label %35 i32 119, label %35 i32 105, label %35 i32 106, label %35 i32 108, label %63 i32 109, label %63 i32 120, label %63 i32 121, label %63 i32 114, label %91 i32 80, label %119 i32 81, label %200 i32 76, label %281 i32 100, label %334 i32 101, label %363 i32 102, label %413 i32 107, label %413 i32 103, label %442 i32 110, label %442 i32 111, label %442 ] 35: ; preds = %30, %30, %30, %30, %30, %30, %30, %30, %30 %36 = load i32, ptr %6, align 4 %37 = icmp slt i32 %36, 4 br i1 %37, label %38, label %50 38: ; preds = %35 %39 = load i32, ptr %4, align 4 %40 = mul nsw i32 %39, 8 %41 = load i32, ptr %6, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [4 x ptr], ptr @BASM_XCallGenNatRepackSigW64.gregs, i64 0, i64 %42 %44 = load ptr, ptr %43, align 8 %45 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.8, i32 noundef %40, ptr noundef %44) %46 = load i32, ptr %4, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %4, align 4 %48 = load i32, ptr %6, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %6, align 4 br label %493 50: ; preds = %35 %51 = load i32, ptr %7, align 4 %52 = mul nsw i32 %51, 8 %53 = load i32, ptr %8, align 4 %54 = add nsw i32 %52, %53 %55 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.9, i32 noundef %54) %56 = load i32, ptr %4, align 4 %57 = mul nsw i32 %56, 8 %58 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.10, i32 noundef %57) %59 = load i32, ptr %4, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %4, align 4 %61 = load i32, ptr %7, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %7, align 4 br label %493 63: ; preds = %30, %30, %30, %30 %64 = load i32, ptr %6, align 4 %65 = icmp slt i32 %64, 4 br i1 %65, label %66, label %78 66: ; preds = %63 %67 = load i32, ptr %4, align 4 %68 = mul nsw i32 %67, 8 %69 = load i32, ptr %6, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds [4 x ptr], ptr @BASM_XCallGenNatRepackSigW64.gregs, i64 0, i64 %70 %72 = load ptr, ptr %71, align 8 %73 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.8, i32 noundef %68, ptr noundef %72) %74 = load i32, ptr %4, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %4, align 4 %76 = load i32, ptr %6, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %6, align 4 br label %493 78: ; preds = %63 %79 = load i32, ptr %7, align 4 %80 = mul nsw i32 %79, 8 %81 = load i32, ptr %8, align 4 %82 = add nsw i32 %80, %81 %83 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.11, i32 noundef %82) %84 = load i32, ptr %4, align 4 %85 = mul nsw i32 %84, 8 %86 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.12, i32 noundef %85) %87 = load i32, ptr %4, align 4 %88 = add nsw i32 %87, 1 store i32 %88, ptr %4, align 4 %89 = load i32, ptr %7, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %7, align 4 br label %493 91: ; preds = %30 %92 = load i32, ptr %6, align 4 %93 = icmp slt i32 %92, 4 br i1 %93, label %94, label %106 94: ; preds = %91 %95 = load i32, ptr %4, align 4 %96 = mul nsw i32 %95, 8 %97 = load i32, ptr %6, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds [4 x ptr], ptr @BASM_XCallGenNatRepackSigW64.gregs, i64 0, i64 %98 %100 = load ptr, ptr %99, align 8 %101 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.8, i32 noundef %96, ptr noundef %100) %102 = load i32, ptr %4, align 4 %103 = add nsw i32 %102, 1 store i32 %103, ptr %4, align 4 %104 = load i32, ptr %6, align 4 %105 = add nsw i32 %104, 1 store i32 %105, ptr %6, align 4 br label %493 106: ; preds = %91 %107 = load i32, ptr %7, align 4 %108 = mul nsw i32 %107, 8 %109 = load i32, ptr %8, align 4 %110 = add nsw i32 %108, %109 %111 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.11, i32 noundef %110) %112 = load i32, ptr %4, align 4 %113 = mul nsw i32 %112, 8 %114 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.12, i32 noundef %113) %115 = load i32, ptr %4, align 4 %116 = add nsw i32 %115, 1 store i32 %116, ptr %4, align 4 %117 = load i32, ptr %7, align 4 %118 = add nsw i32 %117, 1 store i32 %118, ptr %7, align 4 br label %493 119: ; preds = %30 %120 = load i32, ptr %6, align 4 %121 = icmp slt i32 %120, 4 br i1 %121, label %122, label %134 122: ; preds = %119 %123 = load i32, ptr %4, align 4 %124 = mul nsw i32 %123, 8 %125 = load i32, ptr %6, align 4 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds [4 x ptr], ptr @BASM_XCallGenNatRepackSigW64.gregs, i64 0, i64 %126 %128 = load ptr, ptr %127, align 8 %129 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.8, i32 noundef %124, ptr noundef %128) %130 = load i32, ptr %4, align 4 %131 = add nsw i32 %130, 1 store i32 %131, ptr %4, align 4 %132 = load i32, ptr %6, align 4 %133 = add nsw i32 %132, 1 store i32 %133, ptr %6, align 4 br label %147 134: ; preds = %119 %135 = load i32, ptr %7, align 4 %136 = mul nsw i32 %135, 8 %137 = load i32, ptr %8, align 4 %138 = add nsw i32 %136, %137 %139 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.11, i32 noundef %138) %140 = load i32, ptr %4, align 4 %141 = mul nsw i32 %140, 8 %142 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.12, i32 noundef %141) %143 = load i32, ptr %4, align 4 %144 = add nsw i32 %143, 1 store i32 %144, ptr %4, align 4 %145 = load i32, ptr %7, align 4 %146 = add nsw i32 %145, 1 store i32 %146, ptr %7, align 4 br label %147 147: ; preds = %134, %122 br label %148 148: ; preds = %153, %147 %149 = load ptr, ptr %3, align 8 %150 = load i8, ptr %149, align 1 %151 = sext i8 %150 to i32 %152 = icmp eq i32 %151, 80 br i1 %152, label %153, label %156 153: ; preds = %148 %154 = load ptr, ptr %3, align 8 %155 = getelementptr inbounds i8, ptr %154, i32 1 store ptr %155, ptr %3, align 8 br label %148, !llvm.loop !6 156: ; preds = %148 %157 = load ptr, ptr %3, align 8 %158 = load i8, ptr %157, align 1 %159 = sext i8 %158 to i32 %160 = icmp sge i32 %159, 97 br i1 %160, label %161, label %169 161: ; preds = %156 %162 = load ptr, ptr %3, align 8 %163 = load i8, ptr %162, align 1 %164 = sext i8 %163 to i32 %165 = icmp sle i32 %164, 122 br i1 %165, label %166, label %169 166: ; preds = %161 %167 = load ptr, ptr %3, align 8 %168 = getelementptr inbounds i8, ptr %167, i32 1 store ptr %168, ptr %3, align 8 br label %493 169: ; preds = %161, %156 %170 = load ptr, ptr %3, align 8 %171 = load i8, ptr %170, align 1 %172 = sext i8 %171 to i32 %173 = icmp eq i32 %172, 88 br i1 %173, label %174, label %199 174: ; preds = %169 br label %175 175: ; preds = %187, %174 %176 = load ptr, ptr %3, align 8 %177 = load i8, ptr %176, align 1 %178 = sext i8 %177 to i32 %179 = icmp ne i32 %178, 0 br i1 %179, label %180, label %185 180: ; preds = %175 %181 = load ptr, ptr %3, align 8 %182 = load i8, ptr %181, align 1 %183 = sext i8 %182 to i32 %184 = icmp ne i32 %183, 59 br label %185 185: ; preds = %180, %175 %186 = phi i1 [ false, %175 ], [ %184, %180 ] br i1 %186, label %187, label %190 187: ; preds = %185 %188 = load ptr, ptr %3, align 8 %189 = getelementptr inbounds i8, ptr %188, i32 1 store ptr %189, ptr %3, align 8 br label %175, !llvm.loop !8 190: ; preds = %185 %191 = load ptr, ptr %3, align 8 %192 = load i8, ptr %191, align 1 %193 = sext i8 %192 to i32 %194 = icmp eq i32 %193, 59 br i1 %194, label %195, label %198 195: ; preds = %190 %196 = load ptr, ptr %3, align 8 %197 = getelementptr inbounds i8, ptr %196, i32 1 store ptr %197, ptr %3, align 8 br label %198 198: ; preds = %195, %190 br label %199 199: ; preds = %198, %169 br label %493 200: ; preds = %30 %201 = load i32, ptr %6, align 4 %202 = icmp slt i32 %201, 4 br i1 %202, label %203, label %215 203: ; preds = %200 %204 = load i32, ptr %4, align 4 %205 = mul nsw i32 %204, 8 %206 = load i32, ptr %6, align 4 %207 = sext i32 %206 to i64 %208 = getelementptr inbounds [4 x ptr], ptr @BASM_XCallGenNatRepackSigW64.gregs, i64 0, i64 %207 %209 = load ptr, ptr %208, align 8 %210 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.8, i32 noundef %205, ptr noundef %209) %211 = load i32, ptr %4, align 4 %212 = add nsw i32 %211, 1 store i32 %212, ptr %4, align 4 %213 = load i32, ptr %6, align 4 %214 = add nsw i32 %213, 1 store i32 %214, ptr %6, align 4 br label %228 215: ; preds = %200 %216 = load i32, ptr %7, align 4 %217 = mul nsw i32 %216, 8 %218 = load i32, ptr %8, align 4 %219 = add nsw i32 %217, %218 %220 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.11, i32 noundef %219) %221 = load i32, ptr %4, align 4 %222 = mul nsw i32 %221, 8 %223 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.12, i32 noundef %222) %224 = load i32, ptr %4, align 4 %225 = add nsw i32 %224, 1 store i32 %225, ptr %4, align 4 %226 = load i32, ptr %7, align 4 %227 = add nsw i32 %226, 1 store i32 %227, ptr %7, align 4 br label %228 228: ; preds = %215, %203 br label %229 229: ; preds = %234, %228 %230 = load ptr, ptr %3, align 8 %231 = load i8, ptr %230, align 1 %232 = sext i8 %231 to i32 %233 = icmp eq i32 %232, 81 br i1 %233, label %234, label %237 234: ; preds = %229 %235 = load ptr, ptr %3, align 8 %236 = getelementptr inbounds i8, ptr %235, i32 1 store ptr %236, ptr %3, align 8 br label %229, !llvm.loop !9 237: ; preds = %229 %238 = load ptr, ptr %3, align 8 %239 = load i8, ptr %238, align 1 %240 = sext i8 %239 to i32 %241 = icmp sge i32 %240, 97 br i1 %241, label %242, label %250 242: ; preds = %237 %243 = load ptr, ptr %3, align 8 %244 = load i8, ptr %243, align 1 %245 = sext i8 %244 to i32 %246 = icmp sle i32 %245, 122 br i1 %246, label %247, label %250 247: ; preds = %242 %248 = load ptr, ptr %3, align 8 %249 = getelementptr inbounds i8, ptr %248, i32 1 store ptr %249, ptr %3, align 8 br label %493 250: ; preds = %242, %237 %251 = load ptr, ptr %3, align 8 %252 = load i8, ptr %251, align 1 %253 = sext i8 %252 to i32 %254 = icmp eq i32 %253, 76 br i1 %254, label %255, label %280 255: ; preds = %250 br label %256 256: ; preds = %268, %255 %257 = load ptr, ptr %3, align 8 %258 = load i8, ptr %257, align 1 %259 = sext i8 %258 to i32 %260 = icmp ne i32 %259, 0 br i1 %260, label %261, label %266 261: ; preds = %256 %262 = load ptr, ptr %3, align 8 %263 = load i8, ptr %262, align 1 %264 = sext i8 %263 to i32 %265 = icmp ne i32 %264, 59 br label %266 266: ; preds = %261, %256 %267 = phi i1 [ false, %256 ], [ %265, %261 ] br i1 %267, label %268, label %271 268: ; preds = %266 %269 = load ptr, ptr %3, align 8 %270 = getelementptr inbounds i8, ptr %269, i32 1 store ptr %270, ptr %3, align 8 br label %256, !llvm.loop !10 271: ; preds = %266 %272 = load ptr, ptr %3, align 8 %273 = load i8, ptr %272, align 1 %274 = sext i8 %273 to i32 %275 = icmp eq i32 %274, 59 br i1 %275, label %276, label %279 276: ; preds = %271 %277 = load ptr, ptr %3, align 8 %278 = getelementptr inbounds i8, ptr %277, i32 1 store ptr %278, ptr %3, align 8 br label %279 279: ; preds = %276, %271 br label %280 280: ; preds = %279, %250 br label %493 281: ; preds = %30 %282 = load i32, ptr %6, align 4 %283 = icmp slt i32 %282, 4 br i1 %283, label %284, label %296 284: ; preds = %281 %285 = load i32, ptr %4, align 4 %286 = mul nsw i32 %285, 8 %287 = load i32, ptr %6, align 4 %288 = sext i32 %287 to i64 %289 = getelementptr inbounds [4 x ptr], ptr @BASM_XCallGenNatRepackSigW64.gregs, i64 0, i64 %288 %290 = load ptr, ptr %289, align 8 %291 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.8, i32 noundef %286, ptr noundef %290) %292 = load i32, ptr %4, align 4 %293 = add nsw i32 %292, 1 store i32 %293, ptr %4, align 4 %294 = load i32, ptr %6, align 4 %295 = add nsw i32 %294, 1 store i32 %295, ptr %6, align 4 br label %309 296: ; preds = %281 %297 = load i32, ptr %7, align 4 %298 = mul nsw i32 %297, 8 %299 = load i32, ptr %8, align 4 %300 = add nsw i32 %298, %299 %301 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.11, i32 noundef %300) %302 = load i32, ptr %4, align 4 %303 = mul nsw i32 %302, 8 %304 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.12, i32 noundef %303) %305 = load i32, ptr %4, align 4 %306 = add nsw i32 %305, 1 store i32 %306, ptr %4, align 4 %307 = load i32, ptr %7, align 4 %308 = add nsw i32 %307, 1 store i32 %308, ptr %7, align 4 br label %309 309: ; preds = %296, %284 br label %310 310: ; preds = %322, %309 %311 = load ptr, ptr %3, align 8 %312 = load i8, ptr %311, align 1 %313 = sext i8 %312 to i32 %314 = icmp ne i32 %313, 0 br i1 %314, label %315, label %320 315: ; preds = %310 %316 = load ptr, ptr %3, align 8 %317 = load i8, ptr %316, align 1 %318 = sext i8 %317 to i32 %319 = icmp ne i32 %318, 59 br label %320 320: ; preds = %315, %310 %321 = phi i1 [ false, %310 ], [ %319, %315 ] br i1 %321, label %322, label %325 322: ; preds = %320 %323 = load ptr, ptr %3, align 8 %324 = getelementptr inbounds i8, ptr %323, i32 1 store ptr %324, ptr %3, align 8 br label %310, !llvm.loop !11 325: ; preds = %320 %326 = load ptr, ptr %3, align 8 %327 = load i8, ptr %326, align 1 %328 = sext i8 %327 to i32 %329 = icmp eq i32 %328, 59 br i1 %329, label %330, label %333 330: ; preds = %325 %331 = load ptr, ptr %3, align 8 %332 = getelementptr inbounds i8, ptr %331, i32 1 store ptr %332, ptr %3, align 8 br label %333 333: ; preds = %330, %325 br label %493 334: ; preds = %30 %335 = load i32, ptr %6, align 4 %336 = icmp slt i32 %335, 4 br i1 %336, label %337, label %349 337: ; preds = %334 %338 = load i32, ptr %4, align 4 %339 = mul nsw i32 %338, 8 %340 = load i32, ptr %6, align 4 %341 = sext i32 %340 to i64 %342 = getelementptr inbounds [4 x ptr], ptr @BASM_XCallGenNatRepackSigW64.xregs, i64 0, i64 %341 %343 = load ptr, ptr %342, align 8 %344 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.13, i32 noundef %339, ptr noundef %343) %345 = load i32, ptr %4, align 4 %346 = add nsw i32 %345, 1 store i32 %346, ptr %4, align 4 %347 = load i32, ptr %6, align 4 %348 = add nsw i32 %347, 1 store i32 %348, ptr %6, align 4 br label %362 349: ; preds = %334 %350 = load i32, ptr %7, align 4 %351 = mul nsw i32 %350, 8 %352 = load i32, ptr %8, align 4 %353 = add nsw i32 %351, %352 %354 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.14, i32 noundef %353) %355 = load i32, ptr %4, align 4 %356 = mul nsw i32 %355, 8 %357 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.15, i32 noundef %356) %358 = load i32, ptr %4, align 4 %359 = add nsw i32 %358, 1 store i32 %359, ptr %4, align 4 %360 = load i32, ptr %7, align 4 %361 = add nsw i32 %360, 1 store i32 %361, ptr %7, align 4 br label %362 362: ; preds = %349, %337 br label %493 363: ; preds = %30 %364 = load i32, ptr %6, align 4 %365 = icmp slt i32 %364, 4 br i1 %365, label %366, label %385 366: ; preds = %363 %367 = load i32, ptr %4, align 4 %368 = and i32 %367, 1 %369 = icmp ne i32 %368, 0 br i1 %369, label %370, label %373 370: ; preds = %366 %371 = load i32, ptr %4, align 4 %372 = add nsw i32 %371, 1 store i32 %372, ptr %4, align 4 br label %373 373: ; preds = %370, %366 %374 = load i32, ptr %4, align 4 %375 = mul nsw i32 %374, 8 %376 = load i32, ptr %6, align 4 %377 = sext i32 %376 to i64 %378 = getelementptr inbounds [4 x ptr], ptr @BASM_XCallGenNatRepackSigW64.xregs, i64 0, i64 %377 %379 = load ptr, ptr %378, align 8 %380 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.16, i32 noundef %375, ptr noundef %379) %381 = load i32, ptr %4, align 4 %382 = add nsw i32 %381, 2 store i32 %382, ptr %4, align 4 %383 = load i32, ptr %6, align 4 %384 = add nsw i32 %383, 1 store i32 %384, ptr %6, align 4 br label %412 385: ; preds = %363 %386 = load i32, ptr %4, align 4 %387 = and i32 %386, 1 %388 = icmp ne i32 %387, 0 br i1 %388, label %389, label %392 389: ; preds = %385 %390 = load i32, ptr %4, align 4 %391 = add nsw i32 %390, 1 store i32 %391, ptr %4, align 4 br label %392 392: ; preds = %389, %385 %393 = load i32, ptr %7, align 4 %394 = and i32 %393, 1 %395 = icmp ne i32 %394, 0 br i1 %395, label %396, label %399 396: ; preds = %392 %397 = load i32, ptr %7, align 4 %398 = add nsw i32 %397, 1 store i32 %398, ptr %7, align 4 br label %399 399: ; preds = %396, %392 %400 = load i32, ptr %7, align 4 %401 = mul nsw i32 %400, 8 %402 = load i32, ptr %8, align 4 %403 = add nsw i32 %401, %402 %404 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.17, i32 noundef %403) %405 = load i32, ptr %4, align 4 %406 = mul nsw i32 %405, 8 %407 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.18, i32 noundef %406) %408 = load i32, ptr %4, align 4 %409 = add nsw i32 %408, 2 store i32 %409, ptr %4, align 4 %410 = load i32, ptr %7, align 4 %411 = add nsw i32 %410, 2 store i32 %411, ptr %7, align 4 br label %412 412: ; preds = %399, %373 br label %493 413: ; preds = %30, %30 %414 = load i32, ptr %6, align 4 %415 = icmp slt i32 %414, 4 br i1 %415, label %416, label %428 416: ; preds = %413 %417 = load i32, ptr %4, align 4 %418 = mul nsw i32 %417, 8 %419 = load i32, ptr %6, align 4 %420 = sext i32 %419 to i64 %421 = getelementptr inbounds [4 x ptr], ptr @BASM_XCallGenNatRepackSigW64.xregs, i64 0, i64 %420 %422 = load ptr, ptr %421, align 8 %423 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.19, i32 noundef %418, ptr noundef %422) %424 = load i32, ptr %4, align 4 %425 = add nsw i32 %424, 1 store i32 %425, ptr %4, align 4 %426 = load i32, ptr %6, align 4 %427 = add nsw i32 %426, 1 store i32 %427, ptr %6, align 4 br label %441 428: ; preds = %413 %429 = load i32, ptr %7, align 4 %430 = mul nsw i32 %429, 8 %431 = load i32, ptr %8, align 4 %432 = add nsw i32 %430, %431 %433 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.20, i32 noundef %432) %434 = load i32, ptr %4, align 4 %435 = mul nsw i32 %434, 8 %436 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.21, i32 noundef %435) %437 = load i32, ptr %4, align 4 %438 = add nsw i32 %437, 1 store i32 %438, ptr %4, align 4 %439 = load i32, ptr %7, align 4 %440 = add nsw i32 %439, 1 store i32 %440, ptr %7, align 4 br label %441 441: ; preds = %428, %416 br label %493 442: ; preds = %30, %30, %30 %443 = load i32, ptr %6, align 4 %444 = icmp slt i32 %443, 4 br i1 %444, label %445, label %464 445: ; preds = %442 %446 = load i32, ptr %4, align 4 %447 = and i32 %446, 1 %448 = icmp ne i32 %447, 0 br i1 %448, label %449, label %452 449: ; preds = %445 %450 = load i32, ptr %4, align 4 %451 = add nsw i32 %450, 1 store i32 %451, ptr %4, align 4 br label %452 452: ; preds = %449, %445 %453 = load i32, ptr %4, align 4 %454 = mul nsw i32 %453, 8 %455 = load i32, ptr %6, align 4 %456 = sext i32 %455 to i64 %457 = getelementptr inbounds [4 x ptr], ptr @BASM_XCallGenNatRepackSigW64.xregs, i64 0, i64 %456 %458 = load ptr, ptr %457, align 8 %459 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.16, i32 noundef %454, ptr noundef %458) %460 = load i32, ptr %4, align 4 %461 = add nsw i32 %460, 2 store i32 %461, ptr %4, align 4 %462 = load i32, ptr %6, align 4 %463 = add nsw i32 %462, 1 store i32 %463, ptr %6, align 4 br label %491 464: ; preds = %442 %465 = load i32, ptr %4, align 4 %466 = and i32 %465, 1 %467 = icmp ne i32 %466, 0 br i1 %467, label %468, label %471 468: ; preds = %464 %469 = load i32, ptr %4, align 4 %470 = add nsw i32 %469, 1 store i32 %470, ptr %4, align 4 br label %471 471: ; preds = %468, %464 %472 = load i32, ptr %7, align 4 %473 = and i32 %472, 1 %474 = icmp ne i32 %473, 0 br i1 %474, label %475, label %478 475: ; preds = %471 %476 = load i32, ptr %7, align 4 %477 = add nsw i32 %476, 1 store i32 %477, ptr %7, align 4 br label %478 478: ; preds = %475, %471 %479 = load i32, ptr %7, align 4 %480 = mul nsw i32 %479, 8 %481 = load i32, ptr %8, align 4 %482 = add nsw i32 %480, %481 %483 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.17, i32 noundef %482) %484 = load i32, ptr %4, align 4 %485 = mul nsw i32 %484, 8 %486 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.18, i32 noundef %485) %487 = load i32, ptr %4, align 4 %488 = add nsw i32 %487, 2 store i32 %488, ptr %4, align 4 %489 = load i32, ptr %7, align 4 %490 = add nsw i32 %489, 2 store i32 %490, ptr %7, align 4 br label %491 491: ; preds = %478, %452 br label %493 492: ; preds = %30 br label %493 493: ; preds = %492, %491, %441, %412, %362, %333, %280, %247, %199, %166, %106, %94, %78, %66, %50, %38 br label %18, !llvm.loop !12 494: ; preds = %28 %495 = load ptr, ptr %3, align 8 %496 = load i8, ptr %495, align 1 %497 = sext i8 %496 to i32 %498 = icmp ne i32 %497, 0 br i1 %498, label %499, label %507 499: ; preds = %494 %500 = load ptr, ptr %3, align 8 %501 = load i8, ptr %500, align 1 %502 = sext i8 %501 to i32 %503 = icmp eq i32 %502, 41 br i1 %503, label %504, label %507 504: ; preds = %499 %505 = load ptr, ptr %3, align 8 %506 = getelementptr inbounds i8, ptr %505, i32 1 store ptr %506, ptr %3, align 8 br label %507 507: ; preds = %504, %499, %494 %508 = load i32, ptr %4, align 4 ret i32 %508 } declare i32 @basm_print(ptr noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm90ftzy4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BASM_XCallGenNatRepackSigW64.gregs = internal global [4 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3], align 16 @.str = private unnamed_addr constant [4 x i8] c"rcx\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"rdx\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"r8\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"r9\00", align 1 @BASM_XCallGenNatRepackSigW64.xregs = internal global [4 x ptr] [ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7], align 16 @.str.4 = private unnamed_addr constant [5 x i8] c"xmm0\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"xmm1\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"xmm2\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"xmm3\00", align 1 @.str.8 = private unnamed_addr constant [18 x i8] c"mov [rsp+%d], %s\0A\00", align 1 @.str.9 = private unnamed_addr constant [19 x i8] c"mov eax, [rbp+%d]\0A\00", align 1 @.str.10 = private unnamed_addr constant [19 x i8] c"mov [rsp+%d], eax\0A\00", align 1 @.str.11 = private unnamed_addr constant [19 x i8] c"mov rax, [rbp+%d]\0A\00", align 1 @.str.12 = private unnamed_addr constant [19 x i8] c"mov [rsp+%d], rax\0A\00", align 1 @.str.13 = private unnamed_addr constant [20 x i8] c"movsd [rsp+%d], %s\0A\00", align 1 @.str.14 = private unnamed_addr constant [22 x i8] c"movsd xmm4, [rbp+%d]\0A\00", align 1 @.str.15 = private unnamed_addr constant [22 x i8] c"movsd [rsp+%d], xmm4\0A\00", align 1 @.str.16 = private unnamed_addr constant [21 x i8] c"movdqa [rsp+%d], %s\0A\00", align 1 @.str.17 = private unnamed_addr constant [23 x i8] c"movdqa xmm4, [rbp+%d]\0A\00", align 1 @.str.18 = private unnamed_addr constant [23 x i8] c"movdqa [rsp+%d], xmm4\0A\00", align 1 @.str.19 = private unnamed_addr constant [20 x i8] c"movss [rsp+%d], %s\0A\00", align 1 @.str.20 = private unnamed_addr constant [22 x i8] c"movss xmm4, [rbp+%d]\0A\00", align 1 @.str.21 = private unnamed_addr constant [22 x i8] c"movss [rsp+%d], xmm4\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @BASM_XCallGenNatRepackSigW64(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 48, ptr %8, align 4 %9 = load ptr, ptr %2, align 8 store ptr %9, ptr %3, align 8 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %10 = load ptr, ptr %3, align 8 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp eq i32 %12, 40 br i1 %13, label %14, label %17 14: ; preds = %1 %15 = load ptr, ptr %3, align 8 %16 = getelementptr inbounds i8, ptr %15, i32 1 store ptr %16, ptr %3, align 8 br label %17 17: ; preds = %14, %1 br label %18 18: ; preds = %499, %17 %19 = load ptr, ptr %3, align 8 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp ne i32 %21, 0 br i1 %22, label %23, label %28 23: ; preds = %18 %24 = load ptr, ptr %3, align 8 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp ne i32 %26, 41 br label %28 28: ; preds = %23, %18 %29 = phi i1 [ false, %18 ], [ %27, %23 ] br i1 %29, label %30, label %500 30: ; preds = %28 %31 = load ptr, ptr %3, align 8 %32 = getelementptr inbounds i8, ptr %31, i32 1 store ptr %32, ptr %3, align 8 %33 = load i8, ptr %31, align 1 %34 = sext i8 %33 to i32 switch i32 %34, label %498 [ i32 97, label %35 i32 98, label %35 i32 99, label %35 i32 104, label %35 i32 115, label %35 i32 116, label %35 i32 119, label %35 i32 105, label %35 i32 106, label %35 i32 108, label %63 i32 109, label %63 i32 120, label %63 i32 121, label %63 i32 114, label %91 i32 80, label %119 i32 81, label %203 i32 76, label %287 i32 100, label %340 i32 101, label %369 i32 102, label %419 i32 107, label %419 i32 103, label %448 i32 110, label %448 i32 111, label %448 ] 35: ; preds = %30, %30, %30, %30, %30, %30, %30, %30, %30 %36 = load i32, ptr %6, align 4 %37 = icmp slt i32 %36, 4 br i1 %37, label %38, label %50 38: ; preds = %35 %39 = load i32, ptr %4, align 4 %40 = mul nsw i32 %39, 8 %41 = load i32, ptr %6, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [4 x ptr], ptr @BASM_XCallGenNatRepackSigW64.gregs, i64 0, i64 %42 %44 = load ptr, ptr %43, align 8 %45 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.8, i32 noundef %40, ptr noundef %44) %46 = load i32, ptr %4, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %4, align 4 %48 = load i32, ptr %6, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %6, align 4 br label %499 50: ; preds = %35 %51 = load i32, ptr %7, align 4 %52 = mul nsw i32 %51, 8 %53 = load i32, ptr %8, align 4 %54 = add nsw i32 %52, %53 %55 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.9, i32 noundef %54) %56 = load i32, ptr %4, align 4 %57 = mul nsw i32 %56, 8 %58 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.10, i32 noundef %57) %59 = load i32, ptr %4, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %4, align 4 %61 = load i32, ptr %7, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %7, align 4 br label %499 63: ; preds = %30, %30, %30, %30 %64 = load i32, ptr %6, align 4 %65 = icmp slt i32 %64, 4 br i1 %65, label %66, label %78 66: ; preds = %63 %67 = load i32, ptr %4, align 4 %68 = mul nsw i32 %67, 8 %69 = load i32, ptr %6, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds [4 x ptr], ptr @BASM_XCallGenNatRepackSigW64.gregs, i64 0, i64 %70 %72 = load ptr, ptr %71, align 8 %73 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.8, i32 noundef %68, ptr noundef %72) %74 = load i32, ptr %4, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %4, align 4 %76 = load i32, ptr %6, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %6, align 4 br label %499 78: ; preds = %63 %79 = load i32, ptr %7, align 4 %80 = mul nsw i32 %79, 8 %81 = load i32, ptr %8, align 4 %82 = add nsw i32 %80, %81 %83 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.11, i32 noundef %82) %84 = load i32, ptr %4, align 4 %85 = mul nsw i32 %84, 8 %86 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.12, i32 noundef %85) %87 = load i32, ptr %4, align 4 %88 = add nsw i32 %87, 1 store i32 %88, ptr %4, align 4 %89 = load i32, ptr %7, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %7, align 4 br label %499 91: ; preds = %30 %92 = load i32, ptr %6, align 4 %93 = icmp slt i32 %92, 4 br i1 %93, label %94, label %106 94: ; preds = %91 %95 = load i32, ptr %4, align 4 %96 = mul nsw i32 %95, 8 %97 = load i32, ptr %6, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds [4 x ptr], ptr @BASM_XCallGenNatRepackSigW64.gregs, i64 0, i64 %98 %100 = load ptr, ptr %99, align 8 %101 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.8, i32 noundef %96, ptr noundef %100) %102 = load i32, ptr %4, align 4 %103 = add nsw i32 %102, 1 store i32 %103, ptr %4, align 4 %104 = load i32, ptr %6, align 4 %105 = add nsw i32 %104, 1 store i32 %105, ptr %6, align 4 br label %499 106: ; preds = %91 %107 = load i32, ptr %7, align 4 %108 = mul nsw i32 %107, 8 %109 = load i32, ptr %8, align 4 %110 = add nsw i32 %108, %109 %111 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.11, i32 noundef %110) %112 = load i32, ptr %4, align 4 %113 = mul nsw i32 %112, 8 %114 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.12, i32 noundef %113) %115 = load i32, ptr %4, align 4 %116 = add nsw i32 %115, 1 store i32 %116, ptr %4, align 4 %117 = load i32, ptr %7, align 4 %118 = add nsw i32 %117, 1 store i32 %118, ptr %7, align 4 br label %499 119: ; preds = %30 %120 = load i32, ptr %6, align 4 %121 = icmp slt i32 %120, 4 br i1 %121, label %122, label %134 122: ; preds = %119 %123 = load i32, ptr %4, align 4 %124 = mul nsw i32 %123, 8 %125 = load i32, ptr %6, align 4 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds [4 x ptr], ptr @BASM_XCallGenNatRepackSigW64.gregs, i64 0, i64 %126 %128 = load ptr, ptr %127, align 8 %129 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.8, i32 noundef %124, ptr noundef %128) %130 = load i32, ptr %4, align 4 %131 = add nsw i32 %130, 1 store i32 %131, ptr %4, align 4 %132 = load i32, ptr %6, align 4 %133 = add nsw i32 %132, 1 store i32 %133, ptr %6, align 4 br label %147 134: ; preds = %119 %135 = load i32, ptr %7, align 4 %136 = mul nsw i32 %135, 8 %137 = load i32, ptr %8, align 4 %138 = add nsw i32 %136, %137 %139 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.11, i32 noundef %138) %140 = load i32, ptr %4, align 4 %141 = mul nsw i32 %140, 8 %142 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.12, i32 noundef %141) %143 = load i32, ptr %4, align 4 %144 = add nsw i32 %143, 1 store i32 %144, ptr %4, align 4 %145 = load i32, ptr %7, align 4 %146 = add nsw i32 %145, 1 store i32 %146, ptr %7, align 4 br label %147 147: ; preds = %134, %122 %148 = load ptr, ptr %3, align 8 %149 = load i8, ptr %148, align 1 %150 = sext i8 %149 to i32 %151 = icmp eq i32 %150, 80 br i1 %151, label %.lr.ph2, label %159 .lr.ph2: ; preds = %147 br label %152 152: ; preds = %.lr.ph2, %152 %153 = load ptr, ptr %3, align 8 %154 = getelementptr inbounds i8, ptr %153, i32 1 store ptr %154, ptr %3, align 8 %155 = load ptr, ptr %3, align 8 %156 = load i8, ptr %155, align 1 %157 = sext i8 %156 to i32 %158 = icmp eq i32 %157, 80 br i1 %158, label %152, label %._crit_edge3, !llvm.loop !6 ._crit_edge3: ; preds = %152 br label %159 159: ; preds = %._crit_edge3, %147 %160 = load ptr, ptr %3, align 8 %161 = load i8, ptr %160, align 1 %162 = sext i8 %161 to i32 %163 = icmp sge i32 %162, 97 br i1 %163, label %164, label %172 164: ; preds = %159 %165 = load ptr, ptr %3, align 8 %166 = load i8, ptr %165, align 1 %167 = sext i8 %166 to i32 %168 = icmp sle i32 %167, 122 br i1 %168, label %169, label %172 169: ; preds = %164 %170 = load ptr, ptr %3, align 8 %171 = getelementptr inbounds i8, ptr %170, i32 1 store ptr %171, ptr %3, align 8 br label %499 172: ; preds = %164, %159 %173 = load ptr, ptr %3, align 8 %174 = load i8, ptr %173, align 1 %175 = sext i8 %174 to i32 %176 = icmp eq i32 %175, 88 br i1 %176, label %177, label %202 177: ; preds = %172 br label %178 178: ; preds = %190, %177 %179 = load ptr, ptr %3, align 8 %180 = load i8, ptr %179, align 1 %181 = sext i8 %180 to i32 %182 = icmp ne i32 %181, 0 br i1 %182, label %183, label %188 183: ; preds = %178 %184 = load ptr, ptr %3, align 8 %185 = load i8, ptr %184, align 1 %186 = sext i8 %185 to i32 %187 = icmp ne i32 %186, 59 br label %188 188: ; preds = %183, %178 %189 = phi i1 [ false, %178 ], [ %187, %183 ] br i1 %189, label %190, label %193 190: ; preds = %188 %191 = load ptr, ptr %3, align 8 %192 = getelementptr inbounds i8, ptr %191, i32 1 store ptr %192, ptr %3, align 8 br label %178, !llvm.loop !8 193: ; preds = %188 %194 = load ptr, ptr %3, align 8 %195 = load i8, ptr %194, align 1 %196 = sext i8 %195 to i32 %197 = icmp eq i32 %196, 59 br i1 %197, label %198, label %201 198: ; preds = %193 %199 = load ptr, ptr %3, align 8 %200 = getelementptr inbounds i8, ptr %199, i32 1 store ptr %200, ptr %3, align 8 br label %201 201: ; preds = %198, %193 br label %202 202: ; preds = %201, %172 br label %499 203: ; preds = %30 %204 = load i32, ptr %6, align 4 %205 = icmp slt i32 %204, 4 br i1 %205, label %206, label %218 206: ; preds = %203 %207 = load i32, ptr %4, align 4 %208 = mul nsw i32 %207, 8 %209 = load i32, ptr %6, align 4 %210 = sext i32 %209 to i64 %211 = getelementptr inbounds [4 x ptr], ptr @BASM_XCallGenNatRepackSigW64.gregs, i64 0, i64 %210 %212 = load ptr, ptr %211, align 8 %213 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.8, i32 noundef %208, ptr noundef %212) %214 = load i32, ptr %4, align 4 %215 = add nsw i32 %214, 1 store i32 %215, ptr %4, align 4 %216 = load i32, ptr %6, align 4 %217 = add nsw i32 %216, 1 store i32 %217, ptr %6, align 4 br label %231 218: ; preds = %203 %219 = load i32, ptr %7, align 4 %220 = mul nsw i32 %219, 8 %221 = load i32, ptr %8, align 4 %222 = add nsw i32 %220, %221 %223 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.11, i32 noundef %222) %224 = load i32, ptr %4, align 4 %225 = mul nsw i32 %224, 8 %226 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.12, i32 noundef %225) %227 = load i32, ptr %4, align 4 %228 = add nsw i32 %227, 1 store i32 %228, ptr %4, align 4 %229 = load i32, ptr %7, align 4 %230 = add nsw i32 %229, 1 store i32 %230, ptr %7, align 4 br label %231 231: ; preds = %218, %206 %232 = load ptr, ptr %3, align 8 %233 = load i8, ptr %232, align 1 %234 = sext i8 %233 to i32 %235 = icmp eq i32 %234, 81 br i1 %235, label %.lr.ph, label %243 .lr.ph: ; preds = %231 br label %236 236: ; preds = %.lr.ph, %236 %237 = load ptr, ptr %3, align 8 %238 = getelementptr inbounds i8, ptr %237, i32 1 store ptr %238, ptr %3, align 8 %239 = load ptr, ptr %3, align 8 %240 = load i8, ptr %239, align 1 %241 = sext i8 %240 to i32 %242 = icmp eq i32 %241, 81 br i1 %242, label %236, label %._crit_edge, !llvm.loop !9 ._crit_edge: ; preds = %236 br label %243 243: ; preds = %._crit_edge, %231 %244 = load ptr, ptr %3, align 8 %245 = load i8, ptr %244, align 1 %246 = sext i8 %245 to i32 %247 = icmp sge i32 %246, 97 br i1 %247, label %248, label %256 248: ; preds = %243 %249 = load ptr, ptr %3, align 8 %250 = load i8, ptr %249, align 1 %251 = sext i8 %250 to i32 %252 = icmp sle i32 %251, 122 br i1 %252, label %253, label %256 253: ; preds = %248 %254 = load ptr, ptr %3, align 8 %255 = getelementptr inbounds i8, ptr %254, i32 1 store ptr %255, ptr %3, align 8 br label %499 256: ; preds = %248, %243 %257 = load ptr, ptr %3, align 8 %258 = load i8, ptr %257, align 1 %259 = sext i8 %258 to i32 %260 = icmp eq i32 %259, 76 br i1 %260, label %261, label %286 261: ; preds = %256 br label %262 262: ; preds = %274, %261 %263 = load ptr, ptr %3, align 8 %264 = load i8, ptr %263, align 1 %265 = sext i8 %264 to i32 %266 = icmp ne i32 %265, 0 br i1 %266, label %267, label %272 267: ; preds = %262 %268 = load ptr, ptr %3, align 8 %269 = load i8, ptr %268, align 1 %270 = sext i8 %269 to i32 %271 = icmp ne i32 %270, 59 br label %272 272: ; preds = %267, %262 %273 = phi i1 [ false, %262 ], [ %271, %267 ] br i1 %273, label %274, label %277 274: ; preds = %272 %275 = load ptr, ptr %3, align 8 %276 = getelementptr inbounds i8, ptr %275, i32 1 store ptr %276, ptr %3, align 8 br label %262, !llvm.loop !10 277: ; preds = %272 %278 = load ptr, ptr %3, align 8 %279 = load i8, ptr %278, align 1 %280 = sext i8 %279 to i32 %281 = icmp eq i32 %280, 59 br i1 %281, label %282, label %285 282: ; preds = %277 %283 = load ptr, ptr %3, align 8 %284 = getelementptr inbounds i8, ptr %283, i32 1 store ptr %284, ptr %3, align 8 br label %285 285: ; preds = %282, %277 br label %286 286: ; preds = %285, %256 br label %499 287: ; preds = %30 %288 = load i32, ptr %6, align 4 %289 = icmp slt i32 %288, 4 br i1 %289, label %290, label %302 290: ; preds = %287 %291 = load i32, ptr %4, align 4 %292 = mul nsw i32 %291, 8 %293 = load i32, ptr %6, align 4 %294 = sext i32 %293 to i64 %295 = getelementptr inbounds [4 x ptr], ptr @BASM_XCallGenNatRepackSigW64.gregs, i64 0, i64 %294 %296 = load ptr, ptr %295, align 8 %297 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.8, i32 noundef %292, ptr noundef %296) %298 = load i32, ptr %4, align 4 %299 = add nsw i32 %298, 1 store i32 %299, ptr %4, align 4 %300 = load i32, ptr %6, align 4 %301 = add nsw i32 %300, 1 store i32 %301, ptr %6, align 4 br label %315 302: ; preds = %287 %303 = load i32, ptr %7, align 4 %304 = mul nsw i32 %303, 8 %305 = load i32, ptr %8, align 4 %306 = add nsw i32 %304, %305 %307 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.11, i32 noundef %306) %308 = load i32, ptr %4, align 4 %309 = mul nsw i32 %308, 8 %310 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.12, i32 noundef %309) %311 = load i32, ptr %4, align 4 %312 = add nsw i32 %311, 1 store i32 %312, ptr %4, align 4 %313 = load i32, ptr %7, align 4 %314 = add nsw i32 %313, 1 store i32 %314, ptr %7, align 4 br label %315 315: ; preds = %302, %290 br label %316 316: ; preds = %328, %315 %317 = load ptr, ptr %3, align 8 %318 = load i8, ptr %317, align 1 %319 = sext i8 %318 to i32 %320 = icmp ne i32 %319, 0 br i1 %320, label %321, label %326 321: ; preds = %316 %322 = load ptr, ptr %3, align 8 %323 = load i8, ptr %322, align 1 %324 = sext i8 %323 to i32 %325 = icmp ne i32 %324, 59 br label %326 326: ; preds = %321, %316 %327 = phi i1 [ false, %316 ], [ %325, %321 ] br i1 %327, label %328, label %331 328: ; preds = %326 %329 = load ptr, ptr %3, align 8 %330 = getelementptr inbounds i8, ptr %329, i32 1 store ptr %330, ptr %3, align 8 br label %316, !llvm.loop !11 331: ; preds = %326 %332 = load ptr, ptr %3, align 8 %333 = load i8, ptr %332, align 1 %334 = sext i8 %333 to i32 %335 = icmp eq i32 %334, 59 br i1 %335, label %336, label %339 336: ; preds = %331 %337 = load ptr, ptr %3, align 8 %338 = getelementptr inbounds i8, ptr %337, i32 1 store ptr %338, ptr %3, align 8 br label %339 339: ; preds = %336, %331 br label %499 340: ; preds = %30 %341 = load i32, ptr %6, align 4 %342 = icmp slt i32 %341, 4 br i1 %342, label %343, label %355 343: ; preds = %340 %344 = load i32, ptr %4, align 4 %345 = mul nsw i32 %344, 8 %346 = load i32, ptr %6, align 4 %347 = sext i32 %346 to i64 %348 = getelementptr inbounds [4 x ptr], ptr @BASM_XCallGenNatRepackSigW64.xregs, i64 0, i64 %347 %349 = load ptr, ptr %348, align 8 %350 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.13, i32 noundef %345, ptr noundef %349) %351 = load i32, ptr %4, align 4 %352 = add nsw i32 %351, 1 store i32 %352, ptr %4, align 4 %353 = load i32, ptr %6, align 4 %354 = add nsw i32 %353, 1 store i32 %354, ptr %6, align 4 br label %368 355: ; preds = %340 %356 = load i32, ptr %7, align 4 %357 = mul nsw i32 %356, 8 %358 = load i32, ptr %8, align 4 %359 = add nsw i32 %357, %358 %360 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.14, i32 noundef %359) %361 = load i32, ptr %4, align 4 %362 = mul nsw i32 %361, 8 %363 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.15, i32 noundef %362) %364 = load i32, ptr %4, align 4 %365 = add nsw i32 %364, 1 store i32 %365, ptr %4, align 4 %366 = load i32, ptr %7, align 4 %367 = add nsw i32 %366, 1 store i32 %367, ptr %7, align 4 br label %368 368: ; preds = %355, %343 br label %499 369: ; preds = %30 %370 = load i32, ptr %6, align 4 %371 = icmp slt i32 %370, 4 br i1 %371, label %372, label %391 372: ; preds = %369 %373 = load i32, ptr %4, align 4 %374 = and i32 %373, 1 %375 = icmp ne i32 %374, 0 br i1 %375, label %376, label %379 376: ; preds = %372 %377 = load i32, ptr %4, align 4 %378 = add nsw i32 %377, 1 store i32 %378, ptr %4, align 4 br label %379 379: ; preds = %376, %372 %380 = load i32, ptr %4, align 4 %381 = mul nsw i32 %380, 8 %382 = load i32, ptr %6, align 4 %383 = sext i32 %382 to i64 %384 = getelementptr inbounds [4 x ptr], ptr @BASM_XCallGenNatRepackSigW64.xregs, i64 0, i64 %383 %385 = load ptr, ptr %384, align 8 %386 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.16, i32 noundef %381, ptr noundef %385) %387 = load i32, ptr %4, align 4 %388 = add nsw i32 %387, 2 store i32 %388, ptr %4, align 4 %389 = load i32, ptr %6, align 4 %390 = add nsw i32 %389, 1 store i32 %390, ptr %6, align 4 br label %418 391: ; preds = %369 %392 = load i32, ptr %4, align 4 %393 = and i32 %392, 1 %394 = icmp ne i32 %393, 0 br i1 %394, label %395, label %398 395: ; preds = %391 %396 = load i32, ptr %4, align 4 %397 = add nsw i32 %396, 1 store i32 %397, ptr %4, align 4 br label %398 398: ; preds = %395, %391 %399 = load i32, ptr %7, align 4 %400 = and i32 %399, 1 %401 = icmp ne i32 %400, 0 br i1 %401, label %402, label %405 402: ; preds = %398 %403 = load i32, ptr %7, align 4 %404 = add nsw i32 %403, 1 store i32 %404, ptr %7, align 4 br label %405 405: ; preds = %402, %398 %406 = load i32, ptr %7, align 4 %407 = mul nsw i32 %406, 8 %408 = load i32, ptr %8, align 4 %409 = add nsw i32 %407, %408 %410 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.17, i32 noundef %409) %411 = load i32, ptr %4, align 4 %412 = mul nsw i32 %411, 8 %413 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.18, i32 noundef %412) %414 = load i32, ptr %4, align 4 %415 = add nsw i32 %414, 2 store i32 %415, ptr %4, align 4 %416 = load i32, ptr %7, align 4 %417 = add nsw i32 %416, 2 store i32 %417, ptr %7, align 4 br label %418 418: ; preds = %405, %379 br label %499 419: ; preds = %30, %30 %420 = load i32, ptr %6, align 4 %421 = icmp slt i32 %420, 4 br i1 %421, label %422, label %434 422: ; preds = %419 %423 = load i32, ptr %4, align 4 %424 = mul nsw i32 %423, 8 %425 = load i32, ptr %6, align 4 %426 = sext i32 %425 to i64 %427 = getelementptr inbounds [4 x ptr], ptr @BASM_XCallGenNatRepackSigW64.xregs, i64 0, i64 %426 %428 = load ptr, ptr %427, align 8 %429 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.19, i32 noundef %424, ptr noundef %428) %430 = load i32, ptr %4, align 4 %431 = add nsw i32 %430, 1 store i32 %431, ptr %4, align 4 %432 = load i32, ptr %6, align 4 %433 = add nsw i32 %432, 1 store i32 %433, ptr %6, align 4 br label %447 434: ; preds = %419 %435 = load i32, ptr %7, align 4 %436 = mul nsw i32 %435, 8 %437 = load i32, ptr %8, align 4 %438 = add nsw i32 %436, %437 %439 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.20, i32 noundef %438) %440 = load i32, ptr %4, align 4 %441 = mul nsw i32 %440, 8 %442 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.21, i32 noundef %441) %443 = load i32, ptr %4, align 4 %444 = add nsw i32 %443, 1 store i32 %444, ptr %4, align 4 %445 = load i32, ptr %7, align 4 %446 = add nsw i32 %445, 1 store i32 %446, ptr %7, align 4 br label %447 447: ; preds = %434, %422 br label %499 448: ; preds = %30, %30, %30 %449 = load i32, ptr %6, align 4 %450 = icmp slt i32 %449, 4 br i1 %450, label %451, label %470 451: ; preds = %448 %452 = load i32, ptr %4, align 4 %453 = and i32 %452, 1 %454 = icmp ne i32 %453, 0 br i1 %454, label %455, label %458 455: ; preds = %451 %456 = load i32, ptr %4, align 4 %457 = add nsw i32 %456, 1 store i32 %457, ptr %4, align 4 br label %458 458: ; preds = %455, %451 %459 = load i32, ptr %4, align 4 %460 = mul nsw i32 %459, 8 %461 = load i32, ptr %6, align 4 %462 = sext i32 %461 to i64 %463 = getelementptr inbounds [4 x ptr], ptr @BASM_XCallGenNatRepackSigW64.xregs, i64 0, i64 %462 %464 = load ptr, ptr %463, align 8 %465 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.16, i32 noundef %460, ptr noundef %464) %466 = load i32, ptr %4, align 4 %467 = add nsw i32 %466, 2 store i32 %467, ptr %4, align 4 %468 = load i32, ptr %6, align 4 %469 = add nsw i32 %468, 1 store i32 %469, ptr %6, align 4 br label %497 470: ; preds = %448 %471 = load i32, ptr %4, align 4 %472 = and i32 %471, 1 %473 = icmp ne i32 %472, 0 br i1 %473, label %474, label %477 474: ; preds = %470 %475 = load i32, ptr %4, align 4 %476 = add nsw i32 %475, 1 store i32 %476, ptr %4, align 4 br label %477 477: ; preds = %474, %470 %478 = load i32, ptr %7, align 4 %479 = and i32 %478, 1 %480 = icmp ne i32 %479, 0 br i1 %480, label %481, label %484 481: ; preds = %477 %482 = load i32, ptr %7, align 4 %483 = add nsw i32 %482, 1 store i32 %483, ptr %7, align 4 br label %484 484: ; preds = %481, %477 %485 = load i32, ptr %7, align 4 %486 = mul nsw i32 %485, 8 %487 = load i32, ptr %8, align 4 %488 = add nsw i32 %486, %487 %489 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.17, i32 noundef %488) %490 = load i32, ptr %4, align 4 %491 = mul nsw i32 %490, 8 %492 = call i32 (ptr, i32, ...) @basm_print(ptr noundef @.str.18, i32 noundef %491) %493 = load i32, ptr %4, align 4 %494 = add nsw i32 %493, 2 store i32 %494, ptr %4, align 4 %495 = load i32, ptr %7, align 4 %496 = add nsw i32 %495, 2 store i32 %496, ptr %7, align 4 br label %497 497: ; preds = %484, %458 br label %499 498: ; preds = %30 br label %499 499: ; preds = %498, %497, %447, %418, %368, %339, %286, %253, %202, %169, %106, %94, %78, %66, %50, %38 br label %18, !llvm.loop !12 500: ; preds = %28 %501 = load ptr, ptr %3, align 8 %502 = load i8, ptr %501, align 1 %503 = sext i8 %502 to i32 %504 = icmp ne i32 %503, 0 br i1 %504, label %505, label %513 505: ; preds = %500 %506 = load ptr, ptr %3, align 8 %507 = load i8, ptr %506, align 1 %508 = sext i8 %507 to i32 %509 = icmp eq i32 %508, 41 br i1 %509, label %510, label %513 510: ; preds = %505 %511 = load ptr, ptr %3, align 8 %512 = getelementptr inbounds i8, ptr %511, i32 1 store ptr %512, ptr %3, align 8 br label %513 513: ; preds = %510, %505, %500 %514 = load i32, ptr %4, align 4 ret i32 %514 } declare i32 @basm_print(ptr noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '/tmp/tmp186z19rb.c' source_filename = "/tmp/tmp186z19rb.c" target datalayout = "e-m:e-p270: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/tmp186z19rb.c" target datalayout = "e-m:e-p270: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/tmp79zbaedj.c' source_filename = "/tmp/tmp79zbaedj.c" target datalayout = "e-m:e-p270: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.arr = private unnamed_addr constant [4 x i32] [i32 1, i32 2, i32 3, i32 5], align 16 @.str = private unnamed_addr constant [22 x i8] c"Position of %d is %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [4 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.arr, i64 16, i1 false) store i32 4, ptr %3, align 4 store i32 3, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 0 %7 = load i32, ptr %3, align 4 %8 = sub nsw i32 %7, 1 %9 = load i32, ptr %4, align 4 %10 = call i32 @recursiveBinarySearch(ptr noundef %6, i32 noundef 0, i32 noundef %8, i32 noundef %9) %11 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %10) %12 = load i32, ptr %4, align 4 %13 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 0 %14 = load i32, ptr %3, align 4 %15 = sub nsw i32 %14, 1 %16 = load i32, ptr %4, align 4 %17 = call i32 @binarySearch(ptr noundef %13, i32 noundef 0, i32 noundef %15, i32 noundef %16) %18 = call i32 @printf(ptr noundef @.str, i32 noundef %12, i32 noundef %17) 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, i32 noundef, i32 noundef) #2 declare i32 @recursiveBinarySearch(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @binarySearch(ptr noundef, i32 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp79zbaedj.c" target datalayout = "e-m:e-p270: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.arr = private unnamed_addr constant [4 x i32] [i32 1, i32 2, i32 3, i32 5], align 16 @.str = private unnamed_addr constant [22 x i8] c"Position of %d is %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [4 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.arr, i64 16, i1 false) store i32 4, ptr %3, align 4 store i32 3, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 0 %7 = load i32, ptr %3, align 4 %8 = sub nsw i32 %7, 1 %9 = load i32, ptr %4, align 4 %10 = call i32 @recursiveBinarySearch(ptr noundef %6, i32 noundef 0, i32 noundef %8, i32 noundef %9) %11 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %10) %12 = load i32, ptr %4, align 4 %13 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 0 %14 = load i32, ptr %3, align 4 %15 = sub nsw i32 %14, 1 %16 = load i32, ptr %4, align 4 %17 = call i32 @binarySearch(ptr noundef %13, i32 noundef 0, i32 noundef %15, i32 noundef %16) %18 = call i32 @printf(ptr noundef @.str, i32 noundef %12, i32 noundef %17) 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, i32 noundef, i32 noundef) #2 declare i32 @recursiveBinarySearch(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @binarySearch(ptr noundef, i32 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"}
; ModuleID = '/tmp/tmp5k_p70pq.c' source_filename = "/tmp/tmp5k_p70pq.c" target datalayout = "e-m:e-p270: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.flock = type { i32, i32, i32, i64, i32 } @F_WRLCK = dso_local global i32 0, align 4 @write = dso_local global i64 0, align 8 @read = dso_local global i64 0, align 8 @SEEK_CUR = dso_local global i32 0, align 4 @F_SETLKW = dso_local global i32 0, align 4 @F_UNLCK = dso_local global i32 0, align 4 @F_SETLK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @utmp_io(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 %struct.flock, align 8 %10 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr @F_WRLCK, align 4 %13 = icmp eq i32 %11, %12 br i1 %13, label %14, label %17 14: ; preds = %3 %15 = load i64, ptr @write, align 8 %16 = inttoptr i64 %15 to ptr br label %20 17: ; preds = %3 %18 = load i64, ptr @read, align 8 %19 = inttoptr i64 %18 to ptr br label %20 20: ; preds = %17, %14 %21 = phi ptr [ %16, %14 ], [ %19, %17 ] store ptr %21, ptr %10, align 8 %22 = load i32, ptr @SEEK_CUR, align 4 %23 = getelementptr inbounds %struct.flock, ptr %9, i32 0, i32 4 store i32 %22, ptr %23, align 8 %24 = getelementptr inbounds %struct.flock, ptr %9, i32 0, i32 0 store i32 0, ptr %24, align 8 %25 = getelementptr inbounds %struct.flock, ptr %9, i32 0, i32 1 store i32 4, ptr %25, align 4 %26 = getelementptr inbounds %struct.flock, ptr %9, i32 0, i32 3 store i64 0, ptr %26, align 8 %27 = load i32, ptr %7, align 4 %28 = getelementptr inbounds %struct.flock, ptr %9, i32 0, i32 2 store i32 %27, ptr %28, align 8 %29 = load i32, ptr %5, align 4 %30 = load i32, ptr @F_SETLKW, align 4 %31 = call i64 @fcntl(i32 noundef %29, i32 noundef %30, ptr noundef %9) %32 = icmp ne i64 %31, 0 br i1 %32, label %33, label %34 33: ; preds = %20 store ptr null, ptr %4, align 8 br label %51 34: ; preds = %20 %35 = load ptr, ptr %10, align 8 %36 = load i32, ptr %5, align 4 %37 = load ptr, ptr %6, align 8 %38 = call i32 (i32, ptr, i64, ...) %35(i32 noundef %36, ptr noundef %37, i64 noundef 4) store i32 %38, ptr %8, align 4 %39 = getelementptr inbounds %struct.flock, ptr %9, i32 0, i32 0 store i32 -4, ptr %39, align 8 %40 = load i32, ptr @F_UNLCK, align 4 %41 = getelementptr inbounds %struct.flock, ptr %9, i32 0, i32 2 store i32 %40, ptr %41, align 8 %42 = load i32, ptr %5, align 4 %43 = load i32, ptr @F_SETLK, align 4 %44 = call i64 @fcntl(i32 noundef %42, i32 noundef %43, ptr noundef %9) %45 = load i32, ptr %8, align 4 %46 = sext i32 %45 to i64 %47 = icmp ne i64 %46, 4 br i1 %47, label %48, label %49 48: ; preds = %34 store ptr null, ptr %4, align 8 br label %51 49: ; preds = %34 %50 = load ptr, ptr %6, align 8 store ptr %50, ptr %4, align 8 br label %51 51: ; preds = %49, %48, %33 %52 = load ptr, ptr %4, align 8 ret ptr %52 } declare i64 @fcntl(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5k_p70pq.c" target datalayout = "e-m:e-p270: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.flock = type { i32, i32, i32, i64, i32 } @F_WRLCK = dso_local global i32 0, align 4 @write = dso_local global i64 0, align 8 @read = dso_local global i64 0, align 8 @SEEK_CUR = dso_local global i32 0, align 4 @F_SETLKW = dso_local global i32 0, align 4 @F_UNLCK = dso_local global i32 0, align 4 @F_SETLK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @utmp_io(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 %struct.flock, align 8 %10 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr @F_WRLCK, align 4 %13 = icmp eq i32 %11, %12 br i1 %13, label %14, label %17 14: ; preds = %3 %15 = load i64, ptr @write, align 8 %16 = inttoptr i64 %15 to ptr br label %20 17: ; preds = %3 %18 = load i64, ptr @read, align 8 %19 = inttoptr i64 %18 to ptr br label %20 20: ; preds = %17, %14 %21 = phi ptr [ %16, %14 ], [ %19, %17 ] store ptr %21, ptr %10, align 8 %22 = load i32, ptr @SEEK_CUR, align 4 %23 = getelementptr inbounds %struct.flock, ptr %9, i32 0, i32 4 store i32 %22, ptr %23, align 8 %24 = getelementptr inbounds %struct.flock, ptr %9, i32 0, i32 0 store i32 0, ptr %24, align 8 %25 = getelementptr inbounds %struct.flock, ptr %9, i32 0, i32 1 store i32 4, ptr %25, align 4 %26 = getelementptr inbounds %struct.flock, ptr %9, i32 0, i32 3 store i64 0, ptr %26, align 8 %27 = load i32, ptr %7, align 4 %28 = getelementptr inbounds %struct.flock, ptr %9, i32 0, i32 2 store i32 %27, ptr %28, align 8 %29 = load i32, ptr %5, align 4 %30 = load i32, ptr @F_SETLKW, align 4 %31 = call i64 @fcntl(i32 noundef %29, i32 noundef %30, ptr noundef %9) %32 = icmp ne i64 %31, 0 br i1 %32, label %33, label %34 33: ; preds = %20 store ptr null, ptr %4, align 8 br label %51 34: ; preds = %20 %35 = load ptr, ptr %10, align 8 %36 = load i32, ptr %5, align 4 %37 = load ptr, ptr %6, align 8 %38 = call i32 (i32, ptr, i64, ...) %35(i32 noundef %36, ptr noundef %37, i64 noundef 4) store i32 %38, ptr %8, align 4 %39 = getelementptr inbounds %struct.flock, ptr %9, i32 0, i32 0 store i32 -4, ptr %39, align 8 %40 = load i32, ptr @F_UNLCK, align 4 %41 = getelementptr inbounds %struct.flock, ptr %9, i32 0, i32 2 store i32 %40, ptr %41, align 8 %42 = load i32, ptr %5, align 4 %43 = load i32, ptr @F_SETLK, align 4 %44 = call i64 @fcntl(i32 noundef %42, i32 noundef %43, ptr noundef %9) %45 = load i32, ptr %8, align 4 %46 = sext i32 %45 to i64 %47 = icmp ne i64 %46, 4 br i1 %47, label %48, label %49 48: ; preds = %34 store ptr null, ptr %4, align 8 br label %51 49: ; preds = %34 %50 = load ptr, ptr %6, align 8 store ptr %50, ptr %4, align 8 br label %51 51: ; preds = %49, %48, %33 %52 = load ptr, ptr %4, align 8 ret ptr %52 } declare i64 @fcntl(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpd5tj0bxf.c' source_filename = "/tmp/tmpd5tj0bxf.c" target datalayout = "e-m:e-p270: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/tmpd5tj0bxf.c" target datalayout = "e-m:e-p270: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/tmp3tvnjxa6.c' source_filename = "/tmp/tmp3tvnjxa6.c" target datalayout = "e-m:e-p270: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/tmp3tvnjxa6.c" target datalayout = "e-m:e-p270: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/tmpy8rlojig.c' source_filename = "/tmp/tmpy8rlojig.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"Enter Fahrenheit temperature: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"Celsius equivalent: %.1f\0A\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"Invalid input\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = icmp eq i32 %5, 1 br i1 %6, label %7, label %14 7: ; preds = %0 %8 = load float, ptr %2, align 4 %9 = fsub float %8, 3.200000e+01 %10 = fmul float %9, 0x3FE1C71C80000000 store float %10, ptr %3, align 4 %11 = load float, ptr %3, align 4 %12 = fpext float %11 to double %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %12) br label %18 14: ; preds = %0 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %16 = load i32, ptr @EXIT_FAILURE, align 4 %17 = call i32 @exit(i32 noundef %16) #3 unreachable 18: ; preds = %7 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy8rlojig.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"Enter Fahrenheit temperature: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"Celsius equivalent: %.1f\0A\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"Invalid input\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = icmp eq i32 %5, 1 br i1 %6, label %7, label %14 7: ; preds = %0 %8 = load float, ptr %2, align 4 %9 = fsub float %8, 3.200000e+01 %10 = fmul float %9, 0x3FE1C71C80000000 store float %10, ptr %3, align 4 %11 = load float, ptr %3, align 4 %12 = fpext float %11 to double %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %12) br label %18 14: ; preds = %0 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %16 = load i32, ptr @EXIT_FAILURE, align 4 %17 = call i32 @exit(i32 noundef %16) #3 unreachable 18: ; preds = %7 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9r2g8c5p.c' source_filename = "/tmp/tmp9r2g8c5p.c" target datalayout = "e-m:e-p270: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/tmp9r2g8c5p.c" target datalayout = "e-m:e-p270: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/tmpm_xfwlzc.c' source_filename = "/tmp/tmpm_xfwlzc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ResetISR() #0 { %1 = load volatile i32, ptr inttoptr (i64 3758157192 to ptr), align 4 %2 = and i32 %1, -15728641 %3 = or i32 %2, 3145728 %4 = or i32 %3, 12582912 store volatile i32 %4, ptr inttoptr (i64 3758157192 to ptr), align 4 %5 = call i32 (...) @__iar_program_start() ret void } declare i32 @__iar_program_start(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm_xfwlzc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ResetISR() #0 { %1 = load volatile i32, ptr inttoptr (i64 3758157192 to ptr), align 4 %2 = and i32 %1, -15728641 %3 = or i32 %2, 3145728 %4 = or i32 %3, 12582912 store volatile i32 %4, ptr inttoptr (i64 3758157192 to ptr), align 4 %5 = call i32 (...) @__iar_program_start() ret void } declare i32 @__iar_program_start(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8j5f1yfx.c' source_filename = "/tmp/tmp8j5f1yfx.c" target datalayout = "e-m:e-p270: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/tmp8j5f1yfx.c" target datalayout = "e-m:e-p270: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/tmpz51f95f5.c' source_filename = "/tmp/tmpz51f95f5.c" target datalayout = "e-m:e-p270: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/tmpz51f95f5.c" target datalayout = "e-m:e-p270: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/tmpebsu79bj.c' source_filename = "/tmp/tmpebsu79bj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpebsu79bj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyy4a_a7c.c' source_filename = "/tmp/tmpyy4a_a7c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fuse_is_in_mounted_dir(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call ptr @get_mount_by_mount_point(ptr noundef %3) %5 = icmp ne ptr %4, null %6 = zext i1 %5 to i32 ret i32 %6 } declare ptr @get_mount_by_mount_point(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyy4a_a7c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fuse_is_in_mounted_dir(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call ptr @get_mount_by_mount_point(ptr noundef %3) %5 = icmp ne ptr %4, null %6 = zext i1 %5 to i32 ret i32 %6 } declare ptr @get_mount_by_mount_point(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmgeobmfi.c' source_filename = "/tmp/tmpmgeobmfi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\\%03o\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @print_str(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 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 br label %9 9: ; preds = %68, %3 %10 = load ptr, ptr %6, align 8 %11 = load i32, ptr %8, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %21 17: ; preds = %9 %18 = load i32, ptr %8, align 4 %19 = load i32, ptr %7, align 4 %20 = icmp ult i32 %18, %19 br label %21 21: ; preds = %17, %9 %22 = phi i1 [ false, %9 ], [ %20, %17 ] br i1 %22, label %23, label %71 23: ; preds = %21 %24 = load ptr, ptr %6, align 8 %25 = load i32, ptr %8, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 %28 = load i8, ptr %27, align 1 %29 = call i64 @isprint(i8 noundef signext %28) %30 = icmp ne i64 %29, 0 br i1 %30, label %39, label %31 31: ; preds = %23 %32 = load ptr, ptr %6, 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 = sext i8 %36 to i32 %38 = icmp eq i32 %37, 32 br i1 %38, label %39, label %47 39: ; preds = %31, %23 %40 = load ptr, ptr %6, align 8 %41 = load i32, ptr %8, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %40, i64 %42 %44 = load i8, ptr %43, align 1 %45 = load ptr, ptr %5, align 8 %46 = call i32 @fputc(i8 noundef signext %44, ptr noundef %45) br label %67 47: ; preds = %31 %48 = load i32, ptr %7, align 4 %49 = load i32, ptr %8, align 4 %50 = sub i32 %48, %49 %51 = icmp ugt i32 %50, 3 br i1 %51, label %52, label %62 52: ; preds = %47 %53 = load ptr, ptr %5, align 8 %54 = load ptr, ptr %6, align 8 %55 = load i32, ptr %8, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i8, ptr %54, i64 %56 %58 = load i8, ptr %57, align 1 %59 = call i32 @fprintf(ptr noundef %53, ptr noundef @.str, i8 noundef signext %58) %60 = load i32, ptr %8, align 4 %61 = add nsw i32 %60, 3 store i32 %61, ptr %8, align 4 br label %66 62: ; preds = %47 %63 = load i32, ptr %7, align 4 %64 = load i32, ptr %8, align 4 %65 = sub i32 %63, %64 store i32 %65, ptr %4, align 4 br label %75 66: ; preds = %52 br label %67 67: ; preds = %66, %39 br label %68 68: ; preds = %67 %69 = load i32, ptr %8, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %8, align 4 br label %9, !llvm.loop !6 71: ; preds = %21 %72 = load i32, ptr %7, align 4 %73 = load i32, ptr %8, align 4 %74 = sub i32 %72, %73 store i32 %74, ptr %4, align 4 br label %75 75: ; preds = %71, %62 %76 = load i32, ptr %4, align 4 ret i32 %76 } declare i64 @isprint(i8 noundef signext) #1 declare i32 @fputc(i8 noundef signext, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmgeobmfi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\\%03o\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @print_str(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 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 br label %9 9: ; preds = %68, %3 %10 = load ptr, ptr %6, align 8 %11 = load i32, ptr %8, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %21 17: ; preds = %9 %18 = load i32, ptr %8, align 4 %19 = load i32, ptr %7, align 4 %20 = icmp ult i32 %18, %19 br label %21 21: ; preds = %17, %9 %22 = phi i1 [ false, %9 ], [ %20, %17 ] br i1 %22, label %23, label %71 23: ; preds = %21 %24 = load ptr, ptr %6, align 8 %25 = load i32, ptr %8, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 %28 = load i8, ptr %27, align 1 %29 = call i64 @isprint(i8 noundef signext %28) %30 = icmp ne i64 %29, 0 br i1 %30, label %39, label %31 31: ; preds = %23 %32 = load ptr, ptr %6, 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 = sext i8 %36 to i32 %38 = icmp eq i32 %37, 32 br i1 %38, label %39, label %47 39: ; preds = %31, %23 %40 = load ptr, ptr %6, align 8 %41 = load i32, ptr %8, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %40, i64 %42 %44 = load i8, ptr %43, align 1 %45 = load ptr, ptr %5, align 8 %46 = call i32 @fputc(i8 noundef signext %44, ptr noundef %45) br label %67 47: ; preds = %31 %48 = load i32, ptr %7, align 4 %49 = load i32, ptr %8, align 4 %50 = sub i32 %48, %49 %51 = icmp ugt i32 %50, 3 br i1 %51, label %52, label %62 52: ; preds = %47 %53 = load ptr, ptr %5, align 8 %54 = load ptr, ptr %6, align 8 %55 = load i32, ptr %8, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i8, ptr %54, i64 %56 %58 = load i8, ptr %57, align 1 %59 = call i32 @fprintf(ptr noundef %53, ptr noundef @.str, i8 noundef signext %58) %60 = load i32, ptr %8, align 4 %61 = add nsw i32 %60, 3 store i32 %61, ptr %8, align 4 br label %66 62: ; preds = %47 %63 = load i32, ptr %7, align 4 %64 = load i32, ptr %8, align 4 %65 = sub i32 %63, %64 store i32 %65, ptr %4, align 4 br label %75 66: ; preds = %52 br label %67 67: ; preds = %66, %39 br label %68 68: ; preds = %67 %69 = load i32, ptr %8, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %8, align 4 br label %9, !llvm.loop !6 71: ; preds = %21 %72 = load i32, ptr %7, align 4 %73 = load i32, ptr %8, align 4 %74 = sub i32 %72, %73 store i32 %74, ptr %4, align 4 br label %75 75: ; preds = %71, %62 %76 = load i32, ptr %4, align 4 ret i32 %76 } declare i64 @isprint(i8 noundef signext) #1 declare i32 @fputc(i8 noundef signext, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp8vyqorxx.c' source_filename = "/tmp/tmp8vyqorxx.c" target datalayout = "e-m:e-p270: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/tmp8vyqorxx.c" target datalayout = "e-m:e-p270: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/tmparj_u_w7.c' source_filename = "/tmp/tmparj_u_w7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @C_retrieve2(i64 noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i64 %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load i64, ptr %4, align 8 %9 = icmp eq i64 %8, 46 br i1 %9, label %10, label %25 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = call i32 @strlen(ptr noundef %11) store i32 %12, ptr %7, align 4 %13 = load i32, ptr %7, align 4 %14 = add nsw i32 %13, 7 %15 = ashr i32 %14, 3 %16 = add nsw i32 %15, 2 %17 = sext i32 %16 to i64 %18 = mul i64 %17, 8 %19 = trunc i64 %18 to i32 %20 = call i64 @alloca(i32 noundef %19) %21 = inttoptr i64 %20 to ptr store ptr %21, ptr %6, align 8 %22 = load ptr, ptr %5, align 8 %23 = call i32 @C_string2(ptr noundef %6, ptr noundef %22) %24 = call i64 @get_unbound_variable_value(i32 noundef %23) store i64 %24, ptr %3, align 8 br label %27 25: ; preds = %2 %26 = load i64, ptr %4, align 8 store i64 %26, ptr %3, align 8 br label %27 27: ; preds = %25, %10 %28 = load i64, ptr %3, align 8 ret i64 %28 } declare i32 @strlen(ptr noundef) #1 declare i64 @alloca(i32 noundef) #1 declare i64 @get_unbound_variable_value(i32 noundef) #1 declare i32 @C_string2(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/tmparj_u_w7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @C_retrieve2(i64 noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i64 %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load i64, ptr %4, align 8 %9 = icmp eq i64 %8, 46 br i1 %9, label %10, label %25 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = call i32 @strlen(ptr noundef %11) store i32 %12, ptr %7, align 4 %13 = load i32, ptr %7, align 4 %14 = add nsw i32 %13, 7 %15 = ashr i32 %14, 3 %16 = add nsw i32 %15, 2 %17 = sext i32 %16 to i64 %18 = mul i64 %17, 8 %19 = trunc i64 %18 to i32 %20 = call i64 @alloca(i32 noundef %19) %21 = inttoptr i64 %20 to ptr store ptr %21, ptr %6, align 8 %22 = load ptr, ptr %5, align 8 %23 = call i32 @C_string2(ptr noundef %6, ptr noundef %22) %24 = call i64 @get_unbound_variable_value(i32 noundef %23) store i64 %24, ptr %3, align 8 br label %27 25: ; preds = %2 %26 = load i64, ptr %4, align 8 store i64 %26, ptr %3, align 8 br label %27 27: ; preds = %25, %10 %28 = load i64, ptr %3, align 8 ret i64 %28 } declare i32 @strlen(ptr noundef) #1 declare i64 @alloca(i32 noundef) #1 declare i64 @get_unbound_variable_value(i32 noundef) #1 declare i32 @C_string2(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/tmpgm1wmtfq.c' source_filename = "/tmp/tmpgm1wmtfq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"Unable to set variable `%s'\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @xsetenv(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = call i32 @setenv(ptr noundef %7, ptr noundef %8, i32 noundef %9) %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %15 12: ; preds = %3 %13 = load ptr, ptr %4, align 8 %14 = call i32 @fatal_error(ptr noundef @.str, ptr noundef %13) br label %15 15: ; preds = %12, %3 ret void } declare i32 @setenv(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fatal_error(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/tmpgm1wmtfq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"Unable to set variable `%s'\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @xsetenv(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = call i32 @setenv(ptr noundef %7, ptr noundef %8, i32 noundef %9) %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %15 12: ; preds = %3 %13 = load ptr, ptr %4, align 8 %14 = call i32 @fatal_error(ptr noundef @.str, ptr noundef %13) br label %15 15: ; preds = %12, %3 ret void } declare i32 @setenv(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fatal_error(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/tmp3v50fh10.c' source_filename = "/tmp/tmp3v50fh10.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sys_fstat64(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 @printargs(ptr noundef %3) ret i32 %4 } declare i32 @printargs(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3v50fh10.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sys_fstat64(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 @printargs(ptr noundef %3) ret i32 %4 } declare i32 @printargs(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpilnpl6zb.c' source_filename = "/tmp/tmpilnpl6zb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%u\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 [1 x i16], align 2 %7 = alloca [1 x i16], align 2 %8 = alloca i32, align 4 %9 = alloca i16, align 2 %10 = 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 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 br label %19 19: ; preds = %22, %18 %20 = load i32, ptr %8, align 4 %21 = icmp slt i32 %20, 1 br i1 %21, label %22, label %37 22: ; preds = %19 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %8, align 4 %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %23, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10) %30 = trunc i64 %29 to i16 store i16 %30, ptr %9, align 2 %31 = load i16, ptr %9, align 2 %32 = load i32, ptr %8, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 %33 store i16 %31, ptr %34, align 2 %35 = load i32, ptr %8, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %8, align 4 br label %19, !llvm.loop !6 37: ; preds = %19 %38 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 0 %39 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0 %40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39) %41 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0 %42 = load i16, ptr %41, align 2 %43 = zext i16 %42 to i32 %44 = icmp eq i32 %43, 50793 br i1 %44, label %45, label %47 45: ; preds = %37 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %48 47: ; preds = %37 br label %48 48: ; preds = %47, %45 store i32 0, ptr %10, align 4 br label %49 49: ; preds = %52, %48 %50 = load i32, ptr %10, align 4 %51 = icmp slt i32 %50, 1 br i1 %51, label %52, label %61 52: ; preds = %49 %53 = load i32, ptr %10, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 %54 %56 = load i16, ptr %55, align 2 %57 = zext i16 %56 to i32 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57) %59 = load i32, ptr %10, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %10, align 4 br label %49, !llvm.loop !8 61: ; preds = %49 %62 = load i32, ptr %3, align 4 ret i32 %62 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpilnpl6zb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%u\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 [1 x i16], align 2 %7 = alloca [1 x i16], align 2 %8 = alloca i32, align 4 %9 = alloca i16, align 2 %10 = 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 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 %19 = load i32, ptr %8, align 4 %20 = icmp slt i32 %19, 1 br i1 %20, label %.lr.ph, label %38 .lr.ph: ; preds = %18 br label %21 21: ; preds = %.lr.ph, %21 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %22, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10) %29 = trunc i64 %28 to i16 store i16 %29, ptr %9, align 2 %30 = load i16, ptr %9, align 2 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 %32 store i16 %30, ptr %33, align 2 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 %36 = load i32, ptr %8, align 4 %37 = icmp slt i32 %36, 1 br i1 %37, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %38 38: ; preds = %._crit_edge, %18 %39 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 0 %40 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0 %41 = call i32 @RandomFunc(ptr noundef %39, ptr noundef %40) %42 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0 %43 = load i16, ptr %42, align 2 %44 = zext i16 %43 to i32 %45 = icmp eq i32 %44, 50793 br i1 %45, label %46, label %48 46: ; preds = %38 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %49 48: ; preds = %38 br label %49 49: ; preds = %48, %46 store i32 0, ptr %10, align 4 %50 = load i32, ptr %10, align 4 %51 = icmp slt i32 %50, 1 br i1 %51, label %.lr.ph2, label %63 .lr.ph2: ; preds = %49 br label %52 52: ; preds = %.lr.ph2, %52 %53 = load i32, ptr %10, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 %54 %56 = load i16, ptr %55, align 2 %57 = zext i16 %56 to i32 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57) %59 = load i32, ptr %10, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %10, align 4 %61 = load i32, ptr %10, align 4 %62 = icmp slt i32 %61, 1 br i1 %62, label %52, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %52 br label %63 63: ; preds = %._crit_edge3, %49 %64 = load i32, ptr %3, align 4 ret i32 %64 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp_zd6l4rs.c' source_filename = "/tmp/tmp_zd6l4rs.c" target datalayout = "e-m:e-p270: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/tmp_zd6l4rs.c" target datalayout = "e-m:e-p270: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/tmp5cw11d1j.c' source_filename = "/tmp/tmp5cw11d1j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @om_html_close_title(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5cw11d1j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @om_html_close_title(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzymgs457.c' source_filename = "/tmp/tmpzymgs457.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GPS_Math_Mollweide_EN_To_LatLon(double noundef %0, double noundef %1, ptr noundef %2, ptr noundef %3, double noundef %4, double noundef %5, double noundef %6, double noundef %7, double noundef %8) #0 { %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca double, align 8 %28 = alloca double, align 8 %29 = alloca double, align 8 %30 = alloca double, align 8 %31 = alloca double, align 8 %32 = alloca double, align 8 %33 = alloca double, align 8 store double %0, ptr %10, align 8 store double %1, ptr %11, align 8 store ptr %2, ptr %12, align 8 store ptr %3, ptr %13, align 8 store double %4, ptr %14, align 8 store double %5, ptr %15, align 8 store double %6, ptr %16, align 8 store double %7, ptr %17, align 8 store double %8, ptr %18, align 8 store double 0.000000e+00, ptr %31, align 8 %34 = load double, ptr %14, align 8 %35 = call double @GPS_Math_Deg_To_Rad(double noundef %34) store double %35, ptr %14, align 8 store double 0x3FF921FB5444261E, ptr %25, align 8 store double 0x401921FB5444261E, ptr %24, align 8 %36 = load double, ptr %17, align 8 %37 = load double, ptr %17, align 8 %38 = fmul double %36, %37 store double %38, ptr %19, align 8 %39 = load double, ptr %18, align 8 %40 = load double, ptr %18, align 8 %41 = fmul double %39, %40 store double %41, ptr %20, align 8 %42 = load double, ptr %19, align 8 %43 = load double, ptr %20, align 8 %44 = fsub double %42, %43 %45 = load double, ptr %19, align 8 %46 = fdiv double %44, %45 store double %46, ptr %21, align 8 %47 = load double, ptr %21, align 8 %48 = load double, ptr %21, align 8 %49 = fmul double %47, %48 store double %49, ptr %22, align 8 %50 = load double, ptr %22, align 8 %51 = load double, ptr %21, align 8 %52 = fmul double %50, %51 store double %52, ptr %23, align 8 %53 = load double, ptr %17, align 8 %54 = load double, ptr %21, align 8 %55 = fdiv double %54, 6.000000e+00 %56 = fsub double 1.000000e+00, %55 %57 = load double, ptr %22, align 8 %58 = fmul double 1.700000e+01, %57 %59 = fdiv double %58, 3.600000e+02 %60 = fsub double %56, %59 %61 = load double, ptr %23, align 8 %62 = fmul double 6.700000e+01, %61 %63 = fdiv double %62, 3.024000e+03 %64 = fsub double %60, %63 %65 = fmul double %53, %64 store double %65, ptr %26, align 8 %66 = call double @pow(double noundef 2.000000e+00, double noundef 5.000000e-01) #4 %67 = load double, ptr %26, align 8 %68 = fmul double %66, %67 store double %68, ptr %27, align 8 %69 = call double @pow(double noundef 8.000000e+00, double noundef 5.000000e-01) #4 %70 = load double, ptr %26, align 8 %71 = fmul double %69, %70 store double %71, ptr %28, align 8 %72 = load double, ptr %14, align 8 %73 = fcmp ogt double %72, 0x400921FB5444261E br i1 %73, label %74, label %78 74: ; preds = %9 %75 = load double, ptr %24, align 8 %76 = load double, ptr %14, align 8 %77 = fsub double %76, %75 store double %77, ptr %14, align 8 br label %78 78: ; preds = %74, %9 %79 = load double, ptr %10, align 8 %80 = load double, ptr %15, align 8 %81 = fsub double %79, %80 store double %81, ptr %29, align 8 %82 = load double, ptr %11, align 8 %83 = load double, ptr %16, align 8 %84 = fsub double %82, %83 store double %84, ptr %30, align 8 %85 = load double, ptr %30, align 8 %86 = load double, ptr %27, align 8 %87 = fdiv double %85, %86 store double %87, ptr %33, align 8 %88 = load double, ptr %33, align 8 %89 = call double @llvm.fabs.f64(double %88) %90 = fcmp ogt double %89, 1.000000e+00 br i1 %90, label %91, label %101 91: ; preds = %78 %92 = load double, ptr %25, align 8 %93 = load ptr, ptr %12, align 8 store double %92, ptr %93, align 8 %94 = load double, ptr %11, align 8 %95 = fcmp olt double %94, 0.000000e+00 br i1 %95, label %96, label %100 96: ; preds = %91 %97 = load ptr, ptr %12, align 8 %98 = load double, ptr %97, align 8 %99 = fmul double %98, -1.000000e+00 store double %99, ptr %97, align 8 br label %100 100: ; preds = %96, %91 br label %132 101: ; preds = %78 %102 = load double, ptr %33, align 8 %103 = call double @asin(double noundef %102) #4 store double %103, ptr %31, align 8 %104 = load double, ptr %31, align 8 %105 = fmul double %104, 2.000000e+00 store double %105, ptr %32, align 8 %106 = load double, ptr %32, align 8 %107 = load double, ptr %32, align 8 %108 = call double @sin(double noundef %107) #4 %109 = fadd double %106, %108 %110 = fdiv double %109, 0x400921FB5444261E %111 = call double @asin(double noundef %110) #4 %112 = load ptr, ptr %12, align 8 store double %111, ptr %112, align 8 %113 = load ptr, ptr %12, align 8 %114 = load double, ptr %113, align 8 %115 = load double, ptr %25, align 8 %116 = fcmp ogt double %114, %115 br i1 %116, label %117, label %120 117: ; preds = %101 %118 = load double, ptr %25, align 8 %119 = load ptr, ptr %12, align 8 store double %118, ptr %119, align 8 br label %131 120: ; preds = %101 %121 = load ptr, ptr %12, align 8 %122 = load double, ptr %121, align 8 %123 = load double, ptr %25, align 8 %124 = fneg double %123 %125 = fcmp olt double %122, %124 br i1 %125, label %126, label %130 126: ; preds = %120 %127 = load double, ptr %25, align 8 %128 = fneg double %127 %129 = load ptr, ptr %12, align 8 store double %128, ptr %129, align 8 br label %130 130: ; preds = %126, %120 br label %131 131: ; preds = %130, %117 br label %132 132: ; preds = %131, %100 %133 = load ptr, ptr %12, align 8 %134 = load double, ptr %133, align 8 %135 = call double @llvm.fabs.f64(double %134) %136 = load double, ptr %25, align 8 %137 = fsub double %135, %136 %138 = call double @llvm.fabs.f64(double %137) %139 = fcmp olt double %138, 1.000000e-10 br i1 %139, label %140, label %143 140: ; preds = %132 %141 = load double, ptr %14, align 8 %142 = load ptr, ptr %13, align 8 store double %141, ptr %142, align 8 br label %154 143: ; preds = %132 %144 = load double, ptr %14, align 8 %145 = load double, ptr %29, align 8 %146 = fmul double 0x400921FB5444261E, %145 %147 = load double, ptr %28, align 8 %148 = load double, ptr %31, align 8 %149 = call double @cos(double noundef %148) #4 %150 = fmul double %147, %149 %151 = fdiv double %146, %150 %152 = fadd double %144, %151 %153 = load ptr, ptr %13, align 8 store double %152, ptr %153, align 8 br label %154 154: ; preds = %143, %140 %155 = load ptr, ptr %13, align 8 %156 = load double, ptr %155, align 8 %157 = fcmp ogt double %156, 0x400921FB5444261E br i1 %157, label %158, label %163 158: ; preds = %154 %159 = load double, ptr %24, align 8 %160 = load ptr, ptr %13, align 8 %161 = load double, ptr %160, align 8 %162 = fsub double %161, %159 store double %162, ptr %160, align 8 br label %163 163: ; preds = %158, %154 %164 = load ptr, ptr %13, align 8 %165 = load double, ptr %164, align 8 %166 = fcmp olt double %165, 0xC00921FB5444261E br i1 %166, label %167, label %172 167: ; preds = %163 %168 = load double, ptr %24, align 8 %169 = load ptr, ptr %13, align 8 %170 = load double, ptr %169, align 8 %171 = fadd double %170, %168 store double %171, ptr %169, align 8 br label %172 172: ; preds = %167, %163 %173 = load ptr, ptr %13, align 8 %174 = load double, ptr %173, align 8 %175 = fcmp ogt double %174, 0x400921FB5444261E br i1 %175, label %176, label %178 176: ; preds = %172 %177 = load ptr, ptr %13, align 8 store double 0x400921FB5444261E, ptr %177, align 8 br label %185 178: ; preds = %172 %179 = load ptr, ptr %13, align 8 %180 = load double, ptr %179, align 8 %181 = fcmp olt double %180, 0xC00921FB5444261E br i1 %181, label %182, label %184 182: ; preds = %178 %183 = load ptr, ptr %13, align 8 store double 0xC00921FB5444261E, ptr %183, align 8 br label %184 184: ; preds = %182, %178 br label %185 185: ; preds = %184, %176 %186 = load ptr, ptr %13, align 8 %187 = load double, ptr %186, align 8 %188 = call double @GPS_Math_Rad_To_Deg(double noundef %187) %189 = load ptr, ptr %13, align 8 store double %188, ptr %189, align 8 %190 = load ptr, ptr %12, align 8 %191 = load double, ptr %190, align 8 %192 = call double @GPS_Math_Rad_To_Deg(double noundef %191) %193 = load ptr, ptr %12, align 8 store double %192, ptr %193, align 8 ret void } declare double @GPS_Math_Deg_To_Rad(double noundef) #1 ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #3 ; Function Attrs: nounwind declare double @asin(double noundef) #2 ; Function Attrs: nounwind declare double @sin(double noundef) #2 ; Function Attrs: nounwind declare double @cos(double noundef) #2 declare double @GPS_Math_Rad_To_Deg(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/tmpzymgs457.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GPS_Math_Mollweide_EN_To_LatLon(double noundef %0, double noundef %1, ptr noundef %2, ptr noundef %3, double noundef %4, double noundef %5, double noundef %6, double noundef %7, double noundef %8) #0 { %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca double, align 8 %28 = alloca double, align 8 %29 = alloca double, align 8 %30 = alloca double, align 8 %31 = alloca double, align 8 %32 = alloca double, align 8 %33 = alloca double, align 8 store double %0, ptr %10, align 8 store double %1, ptr %11, align 8 store ptr %2, ptr %12, align 8 store ptr %3, ptr %13, align 8 store double %4, ptr %14, align 8 store double %5, ptr %15, align 8 store double %6, ptr %16, align 8 store double %7, ptr %17, align 8 store double %8, ptr %18, align 8 store double 0.000000e+00, ptr %31, align 8 %34 = load double, ptr %14, align 8 %35 = call double @GPS_Math_Deg_To_Rad(double noundef %34) store double %35, ptr %14, align 8 store double 0x3FF921FB5444261E, ptr %25, align 8 store double 0x401921FB5444261E, ptr %24, align 8 %36 = load double, ptr %17, align 8 %37 = load double, ptr %17, align 8 %38 = fmul double %36, %37 store double %38, ptr %19, align 8 %39 = load double, ptr %18, align 8 %40 = load double, ptr %18, align 8 %41 = fmul double %39, %40 store double %41, ptr %20, align 8 %42 = load double, ptr %19, align 8 %43 = load double, ptr %20, align 8 %44 = fsub double %42, %43 %45 = load double, ptr %19, align 8 %46 = fdiv double %44, %45 store double %46, ptr %21, align 8 %47 = load double, ptr %21, align 8 %48 = load double, ptr %21, align 8 %49 = fmul double %47, %48 store double %49, ptr %22, align 8 %50 = load double, ptr %22, align 8 %51 = load double, ptr %21, align 8 %52 = fmul double %50, %51 store double %52, ptr %23, align 8 %53 = load double, ptr %17, align 8 %54 = load double, ptr %21, align 8 %55 = fdiv double %54, 6.000000e+00 %56 = fsub double 1.000000e+00, %55 %57 = load double, ptr %22, align 8 %58 = fmul double 1.700000e+01, %57 %59 = fdiv double %58, 3.600000e+02 %60 = fsub double %56, %59 %61 = load double, ptr %23, align 8 %62 = fmul double 6.700000e+01, %61 %63 = fdiv double %62, 3.024000e+03 %64 = fsub double %60, %63 %65 = fmul double %53, %64 store double %65, ptr %26, align 8 %66 = call double @pow(double noundef 2.000000e+00, double noundef 5.000000e-01) #4 %67 = load double, ptr %26, align 8 %68 = fmul double %66, %67 store double %68, ptr %27, align 8 %69 = call double @pow(double noundef 8.000000e+00, double noundef 5.000000e-01) #4 %70 = load double, ptr %26, align 8 %71 = fmul double %69, %70 store double %71, ptr %28, align 8 %72 = load double, ptr %14, align 8 %73 = fcmp ogt double %72, 0x400921FB5444261E br i1 %73, label %74, label %78 74: ; preds = %9 %75 = load double, ptr %24, align 8 %76 = load double, ptr %14, align 8 %77 = fsub double %76, %75 store double %77, ptr %14, align 8 br label %78 78: ; preds = %74, %9 %79 = load double, ptr %10, align 8 %80 = load double, ptr %15, align 8 %81 = fsub double %79, %80 store double %81, ptr %29, align 8 %82 = load double, ptr %11, align 8 %83 = load double, ptr %16, align 8 %84 = fsub double %82, %83 store double %84, ptr %30, align 8 %85 = load double, ptr %30, align 8 %86 = load double, ptr %27, align 8 %87 = fdiv double %85, %86 store double %87, ptr %33, align 8 %88 = load double, ptr %33, align 8 %89 = call double @llvm.fabs.f64(double %88) %90 = fcmp ogt double %89, 1.000000e+00 br i1 %90, label %91, label %101 91: ; preds = %78 %92 = load double, ptr %25, align 8 %93 = load ptr, ptr %12, align 8 store double %92, ptr %93, align 8 %94 = load double, ptr %11, align 8 %95 = fcmp olt double %94, 0.000000e+00 br i1 %95, label %96, label %100 96: ; preds = %91 %97 = load ptr, ptr %12, align 8 %98 = load double, ptr %97, align 8 %99 = fmul double %98, -1.000000e+00 store double %99, ptr %97, align 8 br label %100 100: ; preds = %96, %91 br label %132 101: ; preds = %78 %102 = load double, ptr %33, align 8 %103 = call double @asin(double noundef %102) #4 store double %103, ptr %31, align 8 %104 = load double, ptr %31, align 8 %105 = fmul double %104, 2.000000e+00 store double %105, ptr %32, align 8 %106 = load double, ptr %32, align 8 %107 = load double, ptr %32, align 8 %108 = call double @sin(double noundef %107) #4 %109 = fadd double %106, %108 %110 = fdiv double %109, 0x400921FB5444261E %111 = call double @asin(double noundef %110) #4 %112 = load ptr, ptr %12, align 8 store double %111, ptr %112, align 8 %113 = load ptr, ptr %12, align 8 %114 = load double, ptr %113, align 8 %115 = load double, ptr %25, align 8 %116 = fcmp ogt double %114, %115 br i1 %116, label %117, label %120 117: ; preds = %101 %118 = load double, ptr %25, align 8 %119 = load ptr, ptr %12, align 8 store double %118, ptr %119, align 8 br label %131 120: ; preds = %101 %121 = load ptr, ptr %12, align 8 %122 = load double, ptr %121, align 8 %123 = load double, ptr %25, align 8 %124 = fneg double %123 %125 = fcmp olt double %122, %124 br i1 %125, label %126, label %130 126: ; preds = %120 %127 = load double, ptr %25, align 8 %128 = fneg double %127 %129 = load ptr, ptr %12, align 8 store double %128, ptr %129, align 8 br label %130 130: ; preds = %126, %120 br label %131 131: ; preds = %130, %117 br label %132 132: ; preds = %131, %100 %133 = load ptr, ptr %12, align 8 %134 = load double, ptr %133, align 8 %135 = call double @llvm.fabs.f64(double %134) %136 = load double, ptr %25, align 8 %137 = fsub double %135, %136 %138 = call double @llvm.fabs.f64(double %137) %139 = fcmp olt double %138, 1.000000e-10 br i1 %139, label %140, label %143 140: ; preds = %132 %141 = load double, ptr %14, align 8 %142 = load ptr, ptr %13, align 8 store double %141, ptr %142, align 8 br label %154 143: ; preds = %132 %144 = load double, ptr %14, align 8 %145 = load double, ptr %29, align 8 %146 = fmul double 0x400921FB5444261E, %145 %147 = load double, ptr %28, align 8 %148 = load double, ptr %31, align 8 %149 = call double @cos(double noundef %148) #4 %150 = fmul double %147, %149 %151 = fdiv double %146, %150 %152 = fadd double %144, %151 %153 = load ptr, ptr %13, align 8 store double %152, ptr %153, align 8 br label %154 154: ; preds = %143, %140 %155 = load ptr, ptr %13, align 8 %156 = load double, ptr %155, align 8 %157 = fcmp ogt double %156, 0x400921FB5444261E br i1 %157, label %158, label %163 158: ; preds = %154 %159 = load double, ptr %24, align 8 %160 = load ptr, ptr %13, align 8 %161 = load double, ptr %160, align 8 %162 = fsub double %161, %159 store double %162, ptr %160, align 8 br label %163 163: ; preds = %158, %154 %164 = load ptr, ptr %13, align 8 %165 = load double, ptr %164, align 8 %166 = fcmp olt double %165, 0xC00921FB5444261E br i1 %166, label %167, label %172 167: ; preds = %163 %168 = load double, ptr %24, align 8 %169 = load ptr, ptr %13, align 8 %170 = load double, ptr %169, align 8 %171 = fadd double %170, %168 store double %171, ptr %169, align 8 br label %172 172: ; preds = %167, %163 %173 = load ptr, ptr %13, align 8 %174 = load double, ptr %173, align 8 %175 = fcmp ogt double %174, 0x400921FB5444261E br i1 %175, label %176, label %178 176: ; preds = %172 %177 = load ptr, ptr %13, align 8 store double 0x400921FB5444261E, ptr %177, align 8 br label %185 178: ; preds = %172 %179 = load ptr, ptr %13, align 8 %180 = load double, ptr %179, align 8 %181 = fcmp olt double %180, 0xC00921FB5444261E br i1 %181, label %182, label %184 182: ; preds = %178 %183 = load ptr, ptr %13, align 8 store double 0xC00921FB5444261E, ptr %183, align 8 br label %184 184: ; preds = %182, %178 br label %185 185: ; preds = %184, %176 %186 = load ptr, ptr %13, align 8 %187 = load double, ptr %186, align 8 %188 = call double @GPS_Math_Rad_To_Deg(double noundef %187) %189 = load ptr, ptr %13, align 8 store double %188, ptr %189, align 8 %190 = load ptr, ptr %12, align 8 %191 = load double, ptr %190, align 8 %192 = call double @GPS_Math_Rad_To_Deg(double noundef %191) %193 = load ptr, ptr %12, align 8 store double %192, ptr %193, align 8 ret void } declare double @GPS_Math_Deg_To_Rad(double noundef) #1 ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #3 ; Function Attrs: nounwind declare double @asin(double noundef) #2 ; Function Attrs: nounwind declare double @sin(double noundef) #2 ; Function Attrs: nounwind declare double @cos(double noundef) #2 declare double @GPS_Math_Rad_To_Deg(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/tmpb39widu1.c' source_filename = "/tmp/tmpb39widu1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Expected not <%d> but was\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @assert_int_not_equal_(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %9 = load i32, ptr %7, align 4 %10 = load i32, ptr %8, align 4 %11 = icmp eq i32 %9, %10 br i1 %11, label %12, label %17 12: ; preds = %4 %13 = load ptr, ptr %5, align 8 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %7, align 4 %16 = call i32 @assert_fail(ptr noundef %13, i32 noundef %14, ptr noundef @.str, i32 noundef %15) br label %17 17: ; preds = %12, %4 ret void } declare i32 @assert_fail(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb39widu1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Expected not <%d> but was\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @assert_int_not_equal_(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %9 = load i32, ptr %7, align 4 %10 = load i32, ptr %8, align 4 %11 = icmp eq i32 %9, %10 br i1 %11, label %12, label %17 12: ; preds = %4 %13 = load ptr, ptr %5, align 8 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %7, align 4 %16 = call i32 @assert_fail(ptr noundef %13, i32 noundef %14, ptr noundef @.str, i32 noundef %15) br label %17 17: ; preds = %12, %4 ret void } declare i32 @assert_fail(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6agdn8rr.c' source_filename = "/tmp/tmp6agdn8rr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c" z15\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.2 = private unnamed_addr constant [9 x i8] c" \00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"1234\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c" 1234\00", align 1 @.str.5 = private unnamed_addr constant [43 x i8] c"9234567890123456789012345678901234567890 1\00", align 1 @INT_MAX = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [13 x i8] c"12 345 6789\00", align 1 @.str.7 = private unnamed_addr constant [6 x i8] c"1 2 3\00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c"1 a 3\00", align 1 @.str.9 = private unnamed_addr constant [6 x i8] c"1 2 \00", align 1 @.str.10 = private unnamed_addr constant [8 x i8] c"1 2 3 4\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 ptr, align 8 %4 = alloca [10 x i32], align 16 store i32 1, ptr %2, align 4 store i32 7789, ptr %1, align 4 %5 = call i32 @read_int(ptr noundef @.str, i32 noundef 6, ptr noundef %1) store i32 %5, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp eq i32 %6, 0 %8 = zext i1 %7 to i32 %9 = call i32 @assert(i32 noundef %8) %10 = load i32, ptr %1, align 4 %11 = icmp eq i32 %10, 7789 %12 = zext i1 %11 to i32 %13 = call i32 @assert(i32 noundef %12) store i32 7789, ptr %1, align 4 %14 = call i32 @read_int(ptr noundef @.str.1, i32 noundef 6, ptr noundef %1) store i32 %14, ptr %2, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp eq i32 %15, 0 %17 = zext i1 %16 to i32 %18 = call i32 @assert(i32 noundef %17) %19 = load i32, ptr %1, align 4 %20 = icmp eq i32 %19, 7789 %21 = zext i1 %20 to i32 %22 = call i32 @assert(i32 noundef %21) store i32 7789, ptr %1, align 4 %23 = call i32 @read_int(ptr noundef @.str.2, i32 noundef 6, ptr noundef %1) store i32 %23, ptr %2, align 4 %24 = load i32, ptr %2, align 4 %25 = icmp eq i32 %24, 0 %26 = zext i1 %25 to i32 %27 = call i32 @assert(i32 noundef %26) %28 = load i32, ptr %1, align 4 %29 = icmp eq i32 %28, 7789 %30 = zext i1 %29 to i32 %31 = call i32 @assert(i32 noundef %30) store i32 7789, ptr %1, align 4 %32 = call i32 @read_int(ptr noundef @.str.3, i32 noundef 2, ptr noundef %1) store i32 %32, ptr %2, align 4 %33 = load i32, ptr %2, align 4 %34 = icmp eq i32 %33, 2 %35 = zext i1 %34 to i32 %36 = call i32 @assert(i32 noundef %35) %37 = load i32, ptr %1, align 4 %38 = icmp eq i32 %37, 12 %39 = zext i1 %38 to i32 %40 = call i32 @assert(i32 noundef %39) store i32 7789, ptr %1, align 4 %41 = call i32 @read_int(ptr noundef @.str.4, i32 noundef 2, ptr noundef %1) store i32 %41, ptr %2, align 4 %42 = load i32, ptr %2, align 4 %43 = icmp eq i32 %42, 2 %44 = zext i1 %43 to i32 %45 = call i32 @assert(i32 noundef %44) %46 = load i32, ptr %1, align 4 %47 = icmp eq i32 %46, 1 %48 = zext i1 %47 to i32 %49 = call i32 @assert(i32 noundef %48) store i32 7789, ptr %1, align 4 %50 = call i32 @read_int(ptr noundef @.str.5, i32 noundef 1000, ptr noundef %1) store i32 %50, ptr %2, align 4 %51 = load i32, ptr %2, align 4 %52 = icmp eq i32 %51, 40 %53 = zext i1 %52 to i32 %54 = call i32 @assert(i32 noundef %53) %55 = load i32, ptr %1, align 4 %56 = load i32, ptr @INT_MAX, align 4 %57 = icmp eq i32 %55, %56 %58 = zext i1 %57 to i32 %59 = call i32 @assert(i32 noundef %58) store ptr @.str.6, ptr %3, align 8 %60 = load ptr, ptr %3, align 8 %61 = call i32 @read_int(ptr noundef %60, i32 noundef 6, ptr noundef %1) store i32 %61, ptr %2, align 4 %62 = load i32, ptr %2, align 4 %63 = icmp eq i32 %62, 2 %64 = zext i1 %63 to i32 %65 = call i32 @assert(i32 noundef %64) %66 = load i32, ptr %1, align 4 %67 = icmp eq i32 %66, 12 %68 = zext i1 %67 to i32 %69 = call i32 @assert(i32 noundef %68) %70 = load i32, ptr %2, align 4 %71 = load ptr, ptr %3, align 8 %72 = sext i32 %70 to i64 %73 = getelementptr inbounds i8, ptr %71, i64 %72 store ptr %73, ptr %3, align 8 %74 = load ptr, ptr %3, align 8 %75 = call i32 @read_int(ptr noundef %74, i32 noundef 6, ptr noundef %1) store i32 %75, ptr %2, align 4 %76 = load i32, ptr %2, align 4 %77 = icmp eq i32 %76, 4 %78 = zext i1 %77 to i32 %79 = call i32 @assert(i32 noundef %78) %80 = load i32, ptr %1, align 4 %81 = icmp eq i32 %80, 345 %82 = zext i1 %81 to i32 %83 = call i32 @assert(i32 noundef %82) %84 = load i32, ptr %2, align 4 %85 = load ptr, ptr %3, align 8 %86 = sext i32 %84 to i64 %87 = getelementptr inbounds i8, ptr %85, i64 %86 store ptr %87, ptr %3, align 8 %88 = load ptr, ptr %3, align 8 %89 = call i32 @read_int(ptr noundef %88, i32 noundef 6, ptr noundef %1) store i32 %89, ptr %2, align 4 %90 = load i32, ptr %2, align 4 %91 = icmp eq i32 %90, 6 %92 = zext i1 %91 to i32 %93 = call i32 @assert(i32 noundef %92) %94 = load i32, ptr %1, align 4 %95 = icmp eq i32 %94, 6789 %96 = zext i1 %95 to i32 %97 = call i32 @assert(i32 noundef %96) %98 = load i32, ptr %2, align 4 %99 = load ptr, ptr %3, align 8 %100 = sext i32 %98 to i64 %101 = getelementptr inbounds i8, ptr %99, i64 %100 store ptr %101, ptr %3, align 8 %102 = load ptr, ptr %3, align 8 %103 = call i32 @read_int(ptr noundef %102, i32 noundef 6, ptr noundef %1) store i32 %103, ptr %2, align 4 %104 = load i32, ptr %2, align 4 %105 = icmp eq i32 %104, 0 %106 = zext i1 %105 to i32 %107 = call i32 @assert(i32 noundef %106) %108 = load i32, ptr %1, align 4 %109 = icmp eq i32 %108, 6789 %110 = zext i1 %109 to i32 %111 = call i32 @assert(i32 noundef %110) %112 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 0 %113 = call i32 @read_int_array(ptr noundef @.str.7, i32 noundef 5, i32 noundef 3, ptr noundef %112) store i32 %113, ptr %2, align 4 %114 = load i32, ptr %2, align 4 %115 = icmp eq i32 %114, 5 %116 = zext i1 %115 to i32 %117 = call i32 @assert(i32 noundef %116) %118 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 0 %119 = load i32, ptr %118, align 16 %120 = icmp eq i32 %119, 1 %121 = zext i1 %120 to i32 %122 = call i32 @assert(i32 noundef %121) %123 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 1 %124 = load i32, ptr %123, align 4 %125 = icmp eq i32 %124, 2 %126 = zext i1 %125 to i32 %127 = call i32 @assert(i32 noundef %126) %128 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 2 %129 = load i32, ptr %128, align 8 %130 = icmp eq i32 %129, 3 %131 = zext i1 %130 to i32 %132 = call i32 @assert(i32 noundef %131) %133 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 0 %134 = call i32 @read_int_array(ptr noundef @.str.8, i32 noundef 5, i32 noundef 3, ptr noundef %133) store i32 %134, ptr %2, align 4 %135 = load i32, ptr %2, align 4 %136 = icmp eq i32 %135, 0 %137 = zext i1 %136 to i32 %138 = call i32 @assert(i32 noundef %137) %139 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 0 %140 = call i32 @read_int_array(ptr noundef @.str.9, i32 noundef 5, i32 noundef 3, ptr noundef %139) store i32 %140, ptr %2, align 4 %141 = load i32, ptr %2, align 4 %142 = icmp eq i32 %141, 0 %143 = zext i1 %142 to i32 %144 = call i32 @assert(i32 noundef %143) %145 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 0 %146 = call i32 @read_int_array(ptr noundef @.str.10, i32 noundef 20, i32 noundef 3, ptr noundef %145) store i32 %146, ptr %2, align 4 %147 = load i32, ptr %2, align 4 %148 = icmp eq i32 %147, 5 %149 = zext i1 %148 to i32 %150 = call i32 @assert(i32 noundef %149) %151 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 0 %152 = call i32 @read_int_array(ptr noundef @.str.10, i32 noundef 3, i32 noundef 3, ptr noundef %151) store i32 %152, ptr %2, align 4 %153 = load i32, ptr %2, align 4 %154 = icmp eq i32 %153, 0 %155 = zext i1 %154 to i32 %156 = call i32 @assert(i32 noundef %155) ret i32 0 } declare i32 @read_int(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @assert(i32 noundef) #1 declare i32 @read_int_array(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6agdn8rr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c" z15\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.2 = private unnamed_addr constant [9 x i8] c" \00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"1234\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c" 1234\00", align 1 @.str.5 = private unnamed_addr constant [43 x i8] c"9234567890123456789012345678901234567890 1\00", align 1 @INT_MAX = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [13 x i8] c"12 345 6789\00", align 1 @.str.7 = private unnamed_addr constant [6 x i8] c"1 2 3\00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c"1 a 3\00", align 1 @.str.9 = private unnamed_addr constant [6 x i8] c"1 2 \00", align 1 @.str.10 = private unnamed_addr constant [8 x i8] c"1 2 3 4\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 ptr, align 8 %4 = alloca [10 x i32], align 16 store i32 1, ptr %2, align 4 store i32 7789, ptr %1, align 4 %5 = call i32 @read_int(ptr noundef @.str, i32 noundef 6, ptr noundef %1) store i32 %5, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp eq i32 %6, 0 %8 = zext i1 %7 to i32 %9 = call i32 @assert(i32 noundef %8) %10 = load i32, ptr %1, align 4 %11 = icmp eq i32 %10, 7789 %12 = zext i1 %11 to i32 %13 = call i32 @assert(i32 noundef %12) store i32 7789, ptr %1, align 4 %14 = call i32 @read_int(ptr noundef @.str.1, i32 noundef 6, ptr noundef %1) store i32 %14, ptr %2, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp eq i32 %15, 0 %17 = zext i1 %16 to i32 %18 = call i32 @assert(i32 noundef %17) %19 = load i32, ptr %1, align 4 %20 = icmp eq i32 %19, 7789 %21 = zext i1 %20 to i32 %22 = call i32 @assert(i32 noundef %21) store i32 7789, ptr %1, align 4 %23 = call i32 @read_int(ptr noundef @.str.2, i32 noundef 6, ptr noundef %1) store i32 %23, ptr %2, align 4 %24 = load i32, ptr %2, align 4 %25 = icmp eq i32 %24, 0 %26 = zext i1 %25 to i32 %27 = call i32 @assert(i32 noundef %26) %28 = load i32, ptr %1, align 4 %29 = icmp eq i32 %28, 7789 %30 = zext i1 %29 to i32 %31 = call i32 @assert(i32 noundef %30) store i32 7789, ptr %1, align 4 %32 = call i32 @read_int(ptr noundef @.str.3, i32 noundef 2, ptr noundef %1) store i32 %32, ptr %2, align 4 %33 = load i32, ptr %2, align 4 %34 = icmp eq i32 %33, 2 %35 = zext i1 %34 to i32 %36 = call i32 @assert(i32 noundef %35) %37 = load i32, ptr %1, align 4 %38 = icmp eq i32 %37, 12 %39 = zext i1 %38 to i32 %40 = call i32 @assert(i32 noundef %39) store i32 7789, ptr %1, align 4 %41 = call i32 @read_int(ptr noundef @.str.4, i32 noundef 2, ptr noundef %1) store i32 %41, ptr %2, align 4 %42 = load i32, ptr %2, align 4 %43 = icmp eq i32 %42, 2 %44 = zext i1 %43 to i32 %45 = call i32 @assert(i32 noundef %44) %46 = load i32, ptr %1, align 4 %47 = icmp eq i32 %46, 1 %48 = zext i1 %47 to i32 %49 = call i32 @assert(i32 noundef %48) store i32 7789, ptr %1, align 4 %50 = call i32 @read_int(ptr noundef @.str.5, i32 noundef 1000, ptr noundef %1) store i32 %50, ptr %2, align 4 %51 = load i32, ptr %2, align 4 %52 = icmp eq i32 %51, 40 %53 = zext i1 %52 to i32 %54 = call i32 @assert(i32 noundef %53) %55 = load i32, ptr %1, align 4 %56 = load i32, ptr @INT_MAX, align 4 %57 = icmp eq i32 %55, %56 %58 = zext i1 %57 to i32 %59 = call i32 @assert(i32 noundef %58) store ptr @.str.6, ptr %3, align 8 %60 = load ptr, ptr %3, align 8 %61 = call i32 @read_int(ptr noundef %60, i32 noundef 6, ptr noundef %1) store i32 %61, ptr %2, align 4 %62 = load i32, ptr %2, align 4 %63 = icmp eq i32 %62, 2 %64 = zext i1 %63 to i32 %65 = call i32 @assert(i32 noundef %64) %66 = load i32, ptr %1, align 4 %67 = icmp eq i32 %66, 12 %68 = zext i1 %67 to i32 %69 = call i32 @assert(i32 noundef %68) %70 = load i32, ptr %2, align 4 %71 = load ptr, ptr %3, align 8 %72 = sext i32 %70 to i64 %73 = getelementptr inbounds i8, ptr %71, i64 %72 store ptr %73, ptr %3, align 8 %74 = load ptr, ptr %3, align 8 %75 = call i32 @read_int(ptr noundef %74, i32 noundef 6, ptr noundef %1) store i32 %75, ptr %2, align 4 %76 = load i32, ptr %2, align 4 %77 = icmp eq i32 %76, 4 %78 = zext i1 %77 to i32 %79 = call i32 @assert(i32 noundef %78) %80 = load i32, ptr %1, align 4 %81 = icmp eq i32 %80, 345 %82 = zext i1 %81 to i32 %83 = call i32 @assert(i32 noundef %82) %84 = load i32, ptr %2, align 4 %85 = load ptr, ptr %3, align 8 %86 = sext i32 %84 to i64 %87 = getelementptr inbounds i8, ptr %85, i64 %86 store ptr %87, ptr %3, align 8 %88 = load ptr, ptr %3, align 8 %89 = call i32 @read_int(ptr noundef %88, i32 noundef 6, ptr noundef %1) store i32 %89, ptr %2, align 4 %90 = load i32, ptr %2, align 4 %91 = icmp eq i32 %90, 6 %92 = zext i1 %91 to i32 %93 = call i32 @assert(i32 noundef %92) %94 = load i32, ptr %1, align 4 %95 = icmp eq i32 %94, 6789 %96 = zext i1 %95 to i32 %97 = call i32 @assert(i32 noundef %96) %98 = load i32, ptr %2, align 4 %99 = load ptr, ptr %3, align 8 %100 = sext i32 %98 to i64 %101 = getelementptr inbounds i8, ptr %99, i64 %100 store ptr %101, ptr %3, align 8 %102 = load ptr, ptr %3, align 8 %103 = call i32 @read_int(ptr noundef %102, i32 noundef 6, ptr noundef %1) store i32 %103, ptr %2, align 4 %104 = load i32, ptr %2, align 4 %105 = icmp eq i32 %104, 0 %106 = zext i1 %105 to i32 %107 = call i32 @assert(i32 noundef %106) %108 = load i32, ptr %1, align 4 %109 = icmp eq i32 %108, 6789 %110 = zext i1 %109 to i32 %111 = call i32 @assert(i32 noundef %110) %112 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 0 %113 = call i32 @read_int_array(ptr noundef @.str.7, i32 noundef 5, i32 noundef 3, ptr noundef %112) store i32 %113, ptr %2, align 4 %114 = load i32, ptr %2, align 4 %115 = icmp eq i32 %114, 5 %116 = zext i1 %115 to i32 %117 = call i32 @assert(i32 noundef %116) %118 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 0 %119 = load i32, ptr %118, align 16 %120 = icmp eq i32 %119, 1 %121 = zext i1 %120 to i32 %122 = call i32 @assert(i32 noundef %121) %123 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 1 %124 = load i32, ptr %123, align 4 %125 = icmp eq i32 %124, 2 %126 = zext i1 %125 to i32 %127 = call i32 @assert(i32 noundef %126) %128 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 2 %129 = load i32, ptr %128, align 8 %130 = icmp eq i32 %129, 3 %131 = zext i1 %130 to i32 %132 = call i32 @assert(i32 noundef %131) %133 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 0 %134 = call i32 @read_int_array(ptr noundef @.str.8, i32 noundef 5, i32 noundef 3, ptr noundef %133) store i32 %134, ptr %2, align 4 %135 = load i32, ptr %2, align 4 %136 = icmp eq i32 %135, 0 %137 = zext i1 %136 to i32 %138 = call i32 @assert(i32 noundef %137) %139 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 0 %140 = call i32 @read_int_array(ptr noundef @.str.9, i32 noundef 5, i32 noundef 3, ptr noundef %139) store i32 %140, ptr %2, align 4 %141 = load i32, ptr %2, align 4 %142 = icmp eq i32 %141, 0 %143 = zext i1 %142 to i32 %144 = call i32 @assert(i32 noundef %143) %145 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 0 %146 = call i32 @read_int_array(ptr noundef @.str.10, i32 noundef 20, i32 noundef 3, ptr noundef %145) store i32 %146, ptr %2, align 4 %147 = load i32, ptr %2, align 4 %148 = icmp eq i32 %147, 5 %149 = zext i1 %148 to i32 %150 = call i32 @assert(i32 noundef %149) %151 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 0 %152 = call i32 @read_int_array(ptr noundef @.str.10, i32 noundef 3, i32 noundef 3, ptr noundef %151) store i32 %152, ptr %2, align 4 %153 = load i32, ptr %2, align 4 %154 = icmp eq i32 %153, 0 %155 = zext i1 %154 to i32 %156 = call i32 @assert(i32 noundef %155) ret i32 0 } declare i32 @read_int(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @assert(i32 noundef) #1 declare i32 @read_int_array(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwwezgoll.c' source_filename = "/tmp/tmpwwezgoll.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @plugin_api_infolist_option_cb(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %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 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 %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 = call ptr @infolist_new(ptr noundef null) store ptr %17, ptr %12, align 8 %18 = load ptr, ptr %12, align 8 %19 = icmp ne ptr %18, null br i1 %19, label %21, label %20 20: ; preds = %5 store ptr null, ptr %6, align 8 br label %31 21: ; preds = %5 %22 = load ptr, ptr %12, align 8 %23 = load ptr, ptr %11, align 8 %24 = call i32 @config_file_add_to_infolist(ptr noundef %22, ptr noundef %23) %25 = icmp ne i32 %24, 0 br i1 %25, label %29, label %26 26: ; preds = %21 %27 = load ptr, ptr %12, align 8 %28 = call i32 @infolist_free(ptr noundef %27) store ptr null, ptr %6, align 8 br label %31 29: ; preds = %21 %30 = load ptr, ptr %12, align 8 store ptr %30, ptr %6, align 8 br label %31 31: ; preds = %29, %26, %20 %32 = load ptr, ptr %6, align 8 ret ptr %32 } declare ptr @infolist_new(ptr noundef) #1 declare i32 @config_file_add_to_infolist(ptr noundef, ptr noundef) #1 declare i32 @infolist_free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwwezgoll.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @plugin_api_infolist_option_cb(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %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 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 %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 = call ptr @infolist_new(ptr noundef null) store ptr %17, ptr %12, align 8 %18 = load ptr, ptr %12, align 8 %19 = icmp ne ptr %18, null br i1 %19, label %21, label %20 20: ; preds = %5 store ptr null, ptr %6, align 8 br label %31 21: ; preds = %5 %22 = load ptr, ptr %12, align 8 %23 = load ptr, ptr %11, align 8 %24 = call i32 @config_file_add_to_infolist(ptr noundef %22, ptr noundef %23) %25 = icmp ne i32 %24, 0 br i1 %25, label %29, label %26 26: ; preds = %21 %27 = load ptr, ptr %12, align 8 %28 = call i32 @infolist_free(ptr noundef %27) store ptr null, ptr %6, align 8 br label %31 29: ; preds = %21 %30 = load ptr, ptr %12, align 8 store ptr %30, ptr %6, align 8 br label %31 31: ; preds = %29, %26, %20 %32 = load ptr, ptr %6, align 8 ret ptr %32 } declare ptr @infolist_new(ptr noundef) #1 declare i32 @config_file_add_to_infolist(ptr noundef, ptr noundef) #1 declare i32 @infolist_free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkvwzof1v.c' source_filename = "/tmp/tmpkvwzof1v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store volatile i64 2, ptr inttoptr (i64 3760177152 to ptr), align 8 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 %4 = call i32 (...) @init() br label %5 5: ; preds = %0, %5 %6 = call i32 @switch_led(i32 noundef 65536, i32 noundef 2, ptr noundef %2) %7 = call i32 @switch_led(i32 noundef 131072, i32 noundef 4, ptr noundef %3) br label %5 } declare i32 @init(...) #1 declare i32 @switch_led(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkvwzof1v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store volatile i64 2, ptr inttoptr (i64 3760177152 to ptr), align 8 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 %4 = call i32 (...) @init() br label %5 5: ; preds = %5, %0 %6 = call i32 @switch_led(i32 noundef 65536, i32 noundef 2, ptr noundef %2) %7 = call i32 @switch_led(i32 noundef 131072, i32 noundef 4, ptr noundef %3) br label %5 } declare i32 @init(...) #1 declare i32 @switch_led(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpc4udkq8g.c' source_filename = "/tmp/tmpc4udkq8g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ERR_R_EVP_LIB = dso_local global i32 0, align 4 @ERR_R_MALLOC_FAILURE = dso_local global i32 0, align 4 @EVP_PKEY_CTRL_PKCS7_DECRYPT = dso_local global i32 0, align 4 @EVP_PKEY_OP_DECRYPT = dso_local global i32 0, align 4 @PKCS7_F_PKCS7_DECRYPT_RINFO = dso_local global i32 0, align 4 @PKCS7_R_CTRL_ERROR = 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/tmpc4udkq8g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ERR_R_EVP_LIB = dso_local global i32 0, align 4 @ERR_R_MALLOC_FAILURE = dso_local global i32 0, align 4 @EVP_PKEY_CTRL_PKCS7_DECRYPT = dso_local global i32 0, align 4 @EVP_PKEY_OP_DECRYPT = dso_local global i32 0, align 4 @PKCS7_F_PKCS7_DECRYPT_RINFO = dso_local global i32 0, align 4 @PKCS7_R_CTRL_ERROR = 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/tmpv0koig1z.c' source_filename = "/tmp/tmpv0koig1z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"# c::%s:len=%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"scumin\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 @time(ptr noundef null) %9 = call i32 @srand(i32 noundef %8) %10 = call i32 (...) @print_version() store i32 0, ptr %3, align 4 store i32 1, ptr %6, align 4 br label %11 11: ; preds = %41, %0 %12 = load i32, ptr %6, align 4 %13 = icmp sle i32 %12, 6 br i1 %13, label %14, label %44 14: ; preds = %11 %15 = load i32, ptr %6, align 4 %16 = call i32 @pow(i32 noundef 10, i32 noundef %15) store i32 %16, ptr %5, align 4 %17 = load i32, ptr %6, align 4 %18 = sub nsw i32 %17, 1 %19 = call i32 @pow(i32 noundef 10, i32 noundef %18) %20 = sdiv i32 1000000, %19 store i32 %20, ptr %4, align 4 store i32 0, ptr %7, align 4 br label %21 21: ; preds = %37, %14 %22 = load i32, ptr %7, align 4 %23 = icmp slt i32 %22, 3 br i1 %23, label %24, label %40 24: ; preds = %21 %25 = load i32, ptr %3, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %3, align 4 %27 = load i32, ptr %5, align 4 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %27) %29 = load i32, ptr %4, align 4 %30 = load i32, ptr %5, align 4 %31 = call double @benchmark(i32 noundef %29, i32 noundef %30) store double %31, ptr %2, align 8 %32 = load i32, ptr %4, align 4 %33 = load double, ptr %2, align 8 %34 = call i32 @print_results(i32 noundef %32, double noundef %33) %35 = load i32, ptr %3, align 4 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %35) br label %37 37: ; preds = %24 %38 = load i32, ptr %7, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %7, align 4 br label %21, !llvm.loop !6 40: ; preds = %21 br label %41 41: ; preds = %40 %42 = load i32, ptr %6, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %6, align 4 br label %11, !llvm.loop !8 44: ; preds = %11 %45 = load i32, ptr %3, align 4 %46 = load i32, ptr %3, align 4 %47 = call i32 @print_summary(i32 noundef %45, i32 noundef %46) %48 = load i32, ptr %1, align 4 ret i32 %48 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @print_version(...) #1 declare i32 @pow(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @benchmark(i32 noundef, i32 noundef) #1 declare i32 @print_results(i32 noundef, double noundef) #1 declare i32 @print_summary(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv0koig1z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"# c::%s:len=%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"scumin\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 @time(ptr noundef null) %9 = call i32 @srand(i32 noundef %8) %10 = call i32 (...) @print_version() store i32 0, ptr %3, align 4 store i32 1, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp sle i32 %11, 6 br i1 %12, label %.lr.ph2, label %46 .lr.ph2: ; preds = %0 br label %13 13: ; preds = %.lr.ph2, %41 %14 = load i32, ptr %6, align 4 %15 = call i32 @pow(i32 noundef 10, i32 noundef %14) store i32 %15, ptr %5, align 4 %16 = load i32, ptr %6, align 4 %17 = sub nsw i32 %16, 1 %18 = call i32 @pow(i32 noundef 10, i32 noundef %17) %19 = sdiv i32 1000000, %18 store i32 %19, ptr %4, align 4 store i32 0, ptr %7, align 4 %20 = load i32, ptr %7, align 4 %21 = icmp slt i32 %20, 3 br i1 %21, label %.lr.ph, label %40 .lr.ph: ; preds = %13 br label %22 22: ; preds = %.lr.ph, %35 %23 = load i32, ptr %3, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %3, align 4 %25 = load i32, ptr %5, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %25) %27 = load i32, ptr %4, align 4 %28 = load i32, ptr %5, align 4 %29 = call double @benchmark(i32 noundef %27, i32 noundef %28) store double %29, ptr %2, align 8 %30 = load i32, ptr %4, align 4 %31 = load double, ptr %2, align 8 %32 = call i32 @print_results(i32 noundef %30, double noundef %31) %33 = load i32, ptr %3, align 4 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %33) br label %35 35: ; preds = %22 %36 = load i32, ptr %7, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %7, align 4 %38 = load i32, ptr %7, align 4 %39 = icmp slt i32 %38, 3 br i1 %39, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %35 br label %40 40: ; preds = %._crit_edge, %13 br label %41 41: ; preds = %40 %42 = load i32, ptr %6, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %6, align 4 %44 = load i32, ptr %6, align 4 %45 = icmp sle i32 %44, 6 br i1 %45, label %13, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %41 br label %46 46: ; preds = %._crit_edge3, %0 %47 = load i32, ptr %3, align 4 %48 = load i32, ptr %3, align 4 %49 = call i32 @print_summary(i32 noundef %47, i32 noundef %48) %50 = load i32, ptr %1, align 4 ret i32 %50 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @print_version(...) #1 declare i32 @pow(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @benchmark(i32 noundef, i32 noundef) #1 declare i32 @print_results(i32 noundef, double noundef) #1 declare i32 @print_summary(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpb_0_3cq8.c' source_filename = "/tmp/tmpb_0_3cq8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xrealloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = call ptr @realloc(ptr noundef %6, i64 noundef %7) #3 store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %13 11: ; preds = %2 %12 = call i32 (...) @abort() #4 unreachable 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 ret ptr %14 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 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 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { 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 = { allocsize(1) } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb_0_3cq8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xrealloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = call ptr @realloc(ptr noundef %6, i64 noundef %7) #3 store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %13 11: ; preds = %2 %12 = call i32 (...) @abort() #4 unreachable 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 ret ptr %14 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 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 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { 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 = { allocsize(1) } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpm4tml5ux.c' source_filename = "/tmp/tmpm4tml5ux.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 [1024 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 4, ptr %3, align 4 br label %8 8: ; preds = %55, %0 %9 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0 %10 = call i64 @_getline(ptr noundef %9, i32 noundef 1024) %11 = icmp sgt i64 %10, 0 br i1 %11, label %12, label %56 12: ; preds = %8 store i32 0, ptr %4, align 4 store i32 0, ptr %7, align 4 br label %13 13: ; preds = %52, %12 %14 = load i32, ptr %4, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 %15 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %55 20: ; preds = %13 %21 = load i32, ptr %4, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %25, 9 br i1 %26, label %27, label %43 27: ; preds = %20 %28 = load i32, ptr %7, align 4 %29 = load i32, ptr %3, align 4 %30 = call i32 @CalculateNumberOfSpaces(i32 noundef %28, i32 noundef %29) store i32 %30, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %31 31: ; preds = %39, %27 %32 = load i32, ptr %6, align 4 %33 = load i32, ptr %5, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %35, label %42 35: ; preds = %31 %36 = call i32 @putchar(i8 noundef signext 35) %37 = load i32, ptr %7, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %7, align 4 br label %39 39: ; preds = %35 %40 = load i32, ptr %6, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %6, align 4 br label %31, !llvm.loop !6 42: ; preds = %31 br label %51 43: ; preds = %20 %44 = load i32, ptr %4, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 %45 %47 = load i8, ptr %46, align 1 %48 = call i32 @putchar(i8 noundef signext %47) %49 = load i32, ptr %7, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %7, align 4 br label %51 51: ; preds = %43, %42 br label %52 52: ; preds = %51 %53 = load i32, ptr %4, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %4, align 4 br label %13, !llvm.loop !8 55: ; preds = %13 br label %8, !llvm.loop !9 56: ; preds = %8 ret i32 0 } declare i64 @_getline(ptr noundef, i32 noundef) #1 declare i32 @CalculateNumberOfSpaces(i32 noundef, i32 noundef) #1 declare i32 @putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm4tml5ux.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 [1024 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 4, ptr %3, align 4 %8 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0 %9 = call i64 @_getline(ptr noundef %8, i32 noundef 1024) %10 = icmp sgt i64 %9, 0 br i1 %10, label %.lr.ph5, label %64 .lr.ph5: ; preds = %0 br label %11 11: ; preds = %.lr.ph5, %61 store i32 0, ptr %4, align 4 store i32 0, ptr %7, align 4 %12 = load i32, ptr %4, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 %13 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp ne i32 %16, 0 br i1 %17, label %.lr.ph2, label %61 .lr.ph2: ; preds = %11 br label %18 18: ; preds = %.lr.ph2, %52 %19 = load i32, ptr %4, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 %20 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %23, 9 br i1 %24, label %25, label %43 25: ; preds = %18 %26 = load i32, ptr %7, align 4 %27 = load i32, ptr %3, align 4 %28 = call i32 @CalculateNumberOfSpaces(i32 noundef %26, i32 noundef %27) store i32 %28, ptr %5, align 4 store i32 0, ptr %6, align 4 %29 = load i32, ptr %6, align 4 %30 = load i32, ptr %5, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %.lr.ph, label %42 .lr.ph: ; preds = %25 br label %32 32: ; preds = %.lr.ph, %36 %33 = call i32 @putchar(i8 noundef signext 35) %34 = load i32, ptr %7, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %7, align 4 br label %36 36: ; preds = %32 %37 = load i32, ptr %6, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %6, align 4 %39 = load i32, ptr %6, align 4 %40 = load i32, ptr %5, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %32, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %42 42: ; preds = %._crit_edge, %25 br label %51 43: ; preds = %18 %44 = load i32, ptr %4, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 %45 %47 = load i8, ptr %46, align 1 %48 = call i32 @putchar(i8 noundef signext %47) %49 = load i32, ptr %7, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %7, align 4 br label %51 51: ; preds = %43, %42 br label %52 52: ; preds = %51 %53 = load i32, ptr %4, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %4, align 4 %55 = load i32, ptr %4, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 %56 %58 = load i8, ptr %57, align 1 %59 = sext i8 %58 to i32 %60 = icmp ne i32 %59, 0 br i1 %60, label %18, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %52 br label %61 61: ; preds = %._crit_edge3, %11 %62 = call i64 @_getline(ptr noundef %8, i32 noundef 1024) %63 = icmp sgt i64 %62, 0 br i1 %63, label %11, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %61 br label %64 64: ; preds = %._crit_edge6, %0 ret i32 0 } declare i64 @_getline(ptr noundef, i32 noundef) #1 declare i32 @CalculateNumberOfSpaces(i32 noundef, i32 noundef) #1 declare i32 @putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpvbtqta7c.c' source_filename = "/tmp/tmpvbtqta7c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, i32, i32 } @AF_INET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sendPing(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 %7 = alloca %struct.sockaddr_in, align 4 %8 = alloca [4 x i8], align 1 %9 = alloca [7 x i8], align 1 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %10 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 12) %11 = load i32, ptr @AF_INET, align 4 %12 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2 store i32 %11, ptr %12, align 4 %13 = load i32, ptr %6, align 4 %14 = call i32 @htons(i32 noundef %13) %15 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1 store i32 %14, ptr %15, align 4 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0 %18 = call i32 @getIp(ptr noundef %16, ptr noundef %17) %19 = getelementptr inbounds [7 x i8], ptr %9, i64 0, i64 0 %20 = call i32 @writeChar(i32 noundef 1, ptr noundef %19) %21 = getelementptr inbounds [7 x i8], ptr %9, i64 0, i64 0 %22 = getelementptr inbounds i8, ptr %21, i64 1 %23 = call i32 @writeShort(i32 noundef 258, ptr noundef %22) %24 = getelementptr inbounds [7 x i8], ptr %9, i64 0, i64 0 %25 = getelementptr inbounds i8, ptr %24, i64 3 %26 = call i32 @writeShort(i32 noundef 41, ptr noundef %25) %27 = load i32, ptr %4, align 4 %28 = getelementptr inbounds [7 x i8], ptr %9, i64 0, i64 0 %29 = call i32 @sendto(i32 noundef %27, ptr noundef %28, i32 noundef 7, i32 noundef 0, ptr noundef %7, i32 noundef 12) ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @getIp(ptr noundef, ptr noundef) #1 declare i32 @writeChar(i32 noundef, ptr noundef) #1 declare i32 @writeShort(i32 noundef, ptr noundef) #1 declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvbtqta7c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, i32, i32 } @AF_INET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sendPing(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 %7 = alloca %struct.sockaddr_in, align 4 %8 = alloca [4 x i8], align 1 %9 = alloca [7 x i8], align 1 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %10 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 12) %11 = load i32, ptr @AF_INET, align 4 %12 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2 store i32 %11, ptr %12, align 4 %13 = load i32, ptr %6, align 4 %14 = call i32 @htons(i32 noundef %13) %15 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1 store i32 %14, ptr %15, align 4 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0 %18 = call i32 @getIp(ptr noundef %16, ptr noundef %17) %19 = getelementptr inbounds [7 x i8], ptr %9, i64 0, i64 0 %20 = call i32 @writeChar(i32 noundef 1, ptr noundef %19) %21 = getelementptr inbounds [7 x i8], ptr %9, i64 0, i64 0 %22 = getelementptr inbounds i8, ptr %21, i64 1 %23 = call i32 @writeShort(i32 noundef 258, ptr noundef %22) %24 = getelementptr inbounds [7 x i8], ptr %9, i64 0, i64 0 %25 = getelementptr inbounds i8, ptr %24, i64 3 %26 = call i32 @writeShort(i32 noundef 41, ptr noundef %25) %27 = load i32, ptr %4, align 4 %28 = getelementptr inbounds [7 x i8], ptr %9, i64 0, i64 0 %29 = call i32 @sendto(i32 noundef %27, ptr noundef %28, i32 noundef 7, i32 noundef 0, ptr noundef %7, i32 noundef 12) ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @getIp(ptr noundef, ptr noundef) #1 declare i32 @writeChar(i32 noundef, ptr noundef) #1 declare i32 @writeShort(i32 noundef, ptr noundef) #1 declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpl47wse97.c' source_filename = "/tmp/tmpl47wse97.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hello World\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\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 store i32 0, ptr %1, align 4 %3 = call ptr @malloc(i32 noundef 256) store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strcpy(ptr noundef %4, ptr noundef @.str) %6 = load ptr, ptr %2, align 8 %7 = call i32 @reverse(ptr noundef %6) %8 = load ptr, ptr %2, align 8 %9 = call i32 @printf(ptr noundef @.str.1, ptr noundef %8) ret i32 0 } declare ptr @malloc(i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @reverse(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl47wse97.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hello World\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\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 store i32 0, ptr %1, align 4 %3 = call ptr @malloc(i32 noundef 256) store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strcpy(ptr noundef %4, ptr noundef @.str) %6 = load ptr, ptr %2, align 8 %7 = call i32 @reverse(ptr noundef %6) %8 = load ptr, ptr %2, align 8 %9 = call i32 @printf(ptr noundef @.str.1, ptr noundef %8) ret i32 0 } declare ptr @malloc(i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @reverse(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpi_q94ibw.c' source_filename = "/tmp/tmpi_q94ibw.c" target datalayout = "e-m:e-p270: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/tmpi_q94ibw.c" target datalayout = "e-m:e-p270: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/tmppxmfq8w8.c' source_filename = "/tmp/tmppxmfq8w8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dPhi_dPhi_Uglue(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 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 store double %2, ptr %6, align 8 %7 = load double, ptr %4, align 8 %8 = load double, ptr %5, align 8 %9 = load double, ptr %6, align 8 %10 = call double @Uglue(double noundef %7, double noundef %8, double noundef %9) ret double %10 } declare double @Uglue(double noundef, double 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppxmfq8w8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dPhi_dPhi_Uglue(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 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 store double %2, ptr %6, align 8 %7 = load double, ptr %4, align 8 %8 = load double, ptr %5, align 8 %9 = load double, ptr %6, align 8 %10 = call double @Uglue(double noundef %7, double noundef %8, double noundef %9) ret double %10 } declare double @Uglue(double noundef, double 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"}
; ModuleID = '/tmp/tmpp0l_h80n.c' source_filename = "/tmp/tmpp0l_h80n.c" target datalayout = "e-m:e-p270: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/tmpp0l_h80n.c" target datalayout = "e-m:e-p270: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/tmpkwh9aj0q.c' source_filename = "/tmp/tmpkwh9aj0q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"range=%f\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"\0Am_product(desired_result)=%E\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @chance_calc_single(float noundef %0, float noundef %1, float noundef %2, float noundef %3) #0 { %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = alloca float, align 4 %10 = alloca float, align 4 %11 = alloca float, align 4 %12 = alloca x86_fp80, align 16 store float %0, ptr %5, align 4 store float %1, ptr %6, align 4 store float %2, ptr %7, align 4 store float %3, ptr %8, align 4 %13 = load float, ptr %8, align 4 %14 = fpext float %13 to double %15 = call i32 @printf(ptr noundef @.str, double noundef %14) %16 = load float, ptr %6, align 4 %17 = load float, ptr %5, align 4 %18 = fsub float %16, %17 %19 = fadd float %18, 1.000000e+00 store float %19, ptr %9, align 4 %20 = load float, ptr %8, align 4 %21 = load float, ptr %7, align 4 %22 = fsub float %20, %21 %23 = load float, ptr %9, align 4 %24 = fdiv float %22, %23 %25 = call float @ceil(float noundef %24) store float %25, ptr %10, align 4 %26 = load float, ptr %7, align 4 %27 = fadd float %26, -1.000000e+00 store float %27, ptr %7, align 4 store x86_fp80 0xK00000000000000000000, ptr %12, align 16 %28 = load float, ptr %9, align 4 %29 = fpext float %28 to double %30 = call i32 @printf(ptr noundef @.str.1, double noundef %29) store float 0.000000e+00, ptr %11, align 4 br label %31 31: ; preds = %63, %4 %32 = load float, ptr %11, align 4 %33 = load float, ptr %10, align 4 %34 = fcmp ole float %32, %33 br i1 %34, label %35, label %66 35: ; preds = %31 %36 = load float, ptr %11, align 4 %37 = call x86_fp80 @pow(i32 noundef -1, float noundef %36) %38 = load float, ptr %7, align 4 %39 = load float, ptr %11, align 4 %40 = call double @m_product_cf(float noundef %38, float noundef %39) %41 = fpext double %40 to x86_fp80 %42 = fmul x86_fp80 %37, %41 %43 = load float, ptr %8, align 4 %44 = load float, ptr %9, align 4 %45 = load float, ptr %11, align 4 %46 = fneg float %44 %47 = call float @llvm.fmuladd.f32(float %46, float %45, float %43) %48 = fsub float %47, 1.000000e+00 %49 = load float, ptr %7, align 4 %50 = call double @m_product_cf(float noundef %48, float noundef %49) %51 = fpext double %50 to x86_fp80 %52 = load x86_fp80, ptr %12, align 16 %53 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %42, x86_fp80 %51, x86_fp80 %52) store x86_fp80 %53, ptr %12, align 16 %54 = load float, ptr %8, align 4 %55 = load float, ptr %9, align 4 %56 = load float, ptr %11, align 4 %57 = fneg float %55 %58 = call float @llvm.fmuladd.f32(float %57, float %56, float %54) %59 = fsub float %58, 1.000000e+00 %60 = load float, ptr %7, align 4 %61 = call double @m_product_cf(float noundef %59, float noundef %60) %62 = call i32 @printf(ptr noundef @.str.2, double noundef %61) br label %63 63: ; preds = %35 %64 = load float, ptr %11, align 4 %65 = fadd float %64, 1.000000e+00 store float %65, ptr %11, align 4 br label %31, !llvm.loop !6 66: ; preds = %31 %67 = load x86_fp80, ptr %12, align 16 %68 = fptrunc x86_fp80 %67 to float ret float %68 } declare i32 @printf(ptr noundef, double noundef) #1 declare float @ceil(float noundef) #1 declare x86_fp80 @pow(i32 noundef, float noundef) #1 declare double @m_product_cf(float noundef, float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkwh9aj0q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"range=%f\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"\0Am_product(desired_result)=%E\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @chance_calc_single(float noundef %0, float noundef %1, float noundef %2, float noundef %3) #0 { %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = alloca float, align 4 %10 = alloca float, align 4 %11 = alloca float, align 4 %12 = alloca x86_fp80, align 16 store float %0, ptr %5, align 4 store float %1, ptr %6, align 4 store float %2, ptr %7, align 4 store float %3, ptr %8, align 4 %13 = load float, ptr %8, align 4 %14 = fpext float %13 to double %15 = call i32 @printf(ptr noundef @.str, double noundef %14) %16 = load float, ptr %6, align 4 %17 = load float, ptr %5, align 4 %18 = fsub float %16, %17 %19 = fadd float %18, 1.000000e+00 store float %19, ptr %9, align 4 %20 = load float, ptr %8, align 4 %21 = load float, ptr %7, align 4 %22 = fsub float %20, %21 %23 = load float, ptr %9, align 4 %24 = fdiv float %22, %23 %25 = call float @ceil(float noundef %24) store float %25, ptr %10, align 4 %26 = load float, ptr %7, align 4 %27 = fadd float %26, -1.000000e+00 store float %27, ptr %7, align 4 store x86_fp80 0xK00000000000000000000, ptr %12, align 16 %28 = load float, ptr %9, align 4 %29 = fpext float %28 to double %30 = call i32 @printf(ptr noundef @.str.1, double noundef %29) store float 0.000000e+00, ptr %11, align 4 %31 = load float, ptr %11, align 4 %32 = load float, ptr %10, align 4 %33 = fcmp ole float %31, %32 br i1 %33, label %.lr.ph, label %68 .lr.ph: ; preds = %4 br label %34 34: ; preds = %.lr.ph, %62 %35 = load float, ptr %11, align 4 %36 = call x86_fp80 @pow(i32 noundef -1, float noundef %35) %37 = load float, ptr %7, align 4 %38 = load float, ptr %11, align 4 %39 = call double @m_product_cf(float noundef %37, float noundef %38) %40 = fpext double %39 to x86_fp80 %41 = fmul x86_fp80 %36, %40 %42 = load float, ptr %8, align 4 %43 = load float, ptr %9, align 4 %44 = load float, ptr %11, align 4 %45 = fneg float %43 %46 = call float @llvm.fmuladd.f32(float %45, float %44, float %42) %47 = fsub float %46, 1.000000e+00 %48 = load float, ptr %7, align 4 %49 = call double @m_product_cf(float noundef %47, float noundef %48) %50 = fpext double %49 to x86_fp80 %51 = load x86_fp80, ptr %12, align 16 %52 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %41, x86_fp80 %50, x86_fp80 %51) store x86_fp80 %52, ptr %12, align 16 %53 = load float, ptr %8, align 4 %54 = load float, ptr %9, align 4 %55 = load float, ptr %11, align 4 %56 = fneg float %54 %57 = call float @llvm.fmuladd.f32(float %56, float %55, float %53) %58 = fsub float %57, 1.000000e+00 %59 = load float, ptr %7, align 4 %60 = call double @m_product_cf(float noundef %58, float noundef %59) %61 = call i32 @printf(ptr noundef @.str.2, double noundef %60) br label %62 62: ; preds = %34 %63 = load float, ptr %11, align 4 %64 = fadd float %63, 1.000000e+00 store float %64, ptr %11, align 4 %65 = load float, ptr %11, align 4 %66 = load float, ptr %10, align 4 %67 = fcmp ole float %65, %66 br i1 %67, label %34, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %62 br label %68 68: ; preds = %._crit_edge, %4 %69 = load x86_fp80, ptr %12, align 16 %70 = fptrunc x86_fp80 %69 to float ret float %70 } declare i32 @printf(ptr noundef, double noundef) #1 declare float @ceil(float noundef) #1 declare x86_fp80 @pow(i32 noundef, float noundef) #1 declare double @m_product_cf(float noundef, float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #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"}
; ModuleID = '/tmp/tmp5bvnlzvu.c' source_filename = "/tmp/tmp5bvnlzvu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"error in CFGET\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cfget_(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 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %16 = load ptr, ptr %8, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %18, label %19 18: ; preds = %6 br label %19 19: ; preds = %18, %6 %20 = load ptr, ptr %12, align 8 store i32 0, ptr %20, align 4 %21 = load ptr, ptr %10, align 8 %22 = load i32, ptr %21, align 4 %23 = icmp sle i32 %22, 0 br i1 %23, label %24, label %25 24: ; preds = %19 br label %53 25: ; preds = %19 %26 = load ptr, ptr %7, align 8 %27 = load i32, ptr %26, align 4 store i32 %27, ptr %13, align 4 %28 = load ptr, ptr %9, align 8 %29 = load i32, ptr %28, align 4 %30 = mul nsw i32 %29, 4 store i32 %30, ptr %15, align 4 %31 = load i32, ptr %13, align 4 %32 = load ptr, ptr %11, align 8 %33 = load i32, ptr %15, align 4 %34 = call i32 @read(i32 noundef %31, ptr noundef %32, i32 noundef %33) store i32 %34, ptr %14, align 4 %35 = load i32, ptr %14, align 4 %36 = icmp eq i32 %35, 0 br i1 %36, label %37, label %38 37: ; preds = %25 br label %48 38: ; preds = %25 %39 = load i32, ptr %14, align 4 %40 = icmp slt i32 %39, 0 br i1 %40, label %41, label %42 41: ; preds = %38 br label %50 42: ; preds = %38 %43 = load i32, ptr %14, align 4 %44 = sub nsw i32 %43, 1 %45 = sdiv i32 %44, 4 %46 = add nsw i32 %45, 1 %47 = load ptr, ptr %10, align 8 store i32 %46, ptr %47, align 4 br label %53 48: ; preds = %37 %49 = load ptr, ptr %12, align 8 store i32 -1, ptr %49, align 4 br label %53 50: ; preds = %41 %51 = load ptr, ptr %12, align 8 store i32 0, ptr %51, align 4 %52 = call i32 @printf(ptr noundef @.str) br label %53 53: ; preds = %50, %48, %42, %24 ret void } declare i32 @read(i32 noundef, ptr 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/tmp5bvnlzvu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"error in CFGET\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cfget_(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 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %16 = load ptr, ptr %8, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %18, label %19 18: ; preds = %6 br label %19 19: ; preds = %18, %6 %20 = load ptr, ptr %12, align 8 store i32 0, ptr %20, align 4 %21 = load ptr, ptr %10, align 8 %22 = load i32, ptr %21, align 4 %23 = icmp sle i32 %22, 0 br i1 %23, label %24, label %25 24: ; preds = %19 br label %53 25: ; preds = %19 %26 = load ptr, ptr %7, align 8 %27 = load i32, ptr %26, align 4 store i32 %27, ptr %13, align 4 %28 = load ptr, ptr %9, align 8 %29 = load i32, ptr %28, align 4 %30 = mul nsw i32 %29, 4 store i32 %30, ptr %15, align 4 %31 = load i32, ptr %13, align 4 %32 = load ptr, ptr %11, align 8 %33 = load i32, ptr %15, align 4 %34 = call i32 @read(i32 noundef %31, ptr noundef %32, i32 noundef %33) store i32 %34, ptr %14, align 4 %35 = load i32, ptr %14, align 4 %36 = icmp eq i32 %35, 0 br i1 %36, label %37, label %38 37: ; preds = %25 br label %48 38: ; preds = %25 %39 = load i32, ptr %14, align 4 %40 = icmp slt i32 %39, 0 br i1 %40, label %41, label %42 41: ; preds = %38 br label %50 42: ; preds = %38 %43 = load i32, ptr %14, align 4 %44 = sub nsw i32 %43, 1 %45 = sdiv i32 %44, 4 %46 = add nsw i32 %45, 1 %47 = load ptr, ptr %10, align 8 store i32 %46, ptr %47, align 4 br label %53 48: ; preds = %37 %49 = load ptr, ptr %12, align 8 store i32 -1, ptr %49, align 4 br label %53 50: ; preds = %41 %51 = load ptr, ptr %12, align 8 store i32 0, ptr %51, align 4 %52 = call i32 @printf(ptr noundef @.str) br label %53 53: ; preds = %50, %48, %42, %24 ret void } declare i32 @read(i32 noundef, ptr 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/tmp6s7ea60t.c' source_filename = "/tmp/tmp6s7ea60t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"%d: a %d != %d (error %d)\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"abort\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_collapsed() #0 { %1 = alloca i32, align 4 %2 = alloca [100 x i32], align 16 %3 = alloca [100 x i32], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %4, align 4 br label %8 8: ; preds = %18, %0 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %9, 100 br i1 %10, label %11, label %21 11: ; preds = %8 %12 = load i32, ptr %4, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %13 store i32 -1, ptr %14, align 4 %15 = load i32, ptr %4, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %16 store i32 -1, ptr %17, align 4 br label %18 18: ; preds = %11 %19 = load i32, ptr %4, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %4, align 4 br label %8, !llvm.loop !6 21: ; preds = %8 store i32 0, ptr %6, align 4 br label %22 22: ; preds = %44, %21 %23 = load i32, ptr %6, align 4 %24 = icmp slt i32 %23, 25 br i1 %24, label %25, label %47 25: ; preds = %22 store i32 0, ptr %7, align 4 br label %26 26: ; preds = %40, %25 %27 = load i32, ptr %7, align 4 %28 = icmp slt i32 %27, 4 br i1 %28, label %29, label %43 29: ; preds = %26 %30 = load i32, ptr %6, align 4 %31 = mul nsw i32 %30, 4 %32 = load i32, ptr %7, align 4 %33 = add nsw i32 %31, %32 %34 = load i32, ptr %6, align 4 %35 = mul nsw i32 %34, 4 %36 = load i32, ptr %7, align 4 %37 = add nsw i32 %35, %36 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %38 store i32 %33, ptr %39, align 4 br label %40 40: ; preds = %29 %41 = load i32, ptr %7, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %7, align 4 br label %26, !llvm.loop !8 43: ; preds = %26 br label %44 44: ; preds = %43 %45 = load i32, ptr %6, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %6, align 4 br label %22, !llvm.loop !9 47: ; preds = %22 store i32 0, ptr %4, align 4 br label %48 48: ; preds = %56, %47 %49 = load i32, ptr %4, align 4 %50 = icmp slt i32 %49, 100 br i1 %50, label %51, label %59 51: ; preds = %48 %52 = load i32, ptr %4, align 4 %53 = load i32, ptr %4, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %54 store i32 %52, ptr %55, align 4 br label %56 56: ; preds = %51 %57 = load i32, ptr %4, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %4, align 4 br label %48, !llvm.loop !10 59: ; preds = %48 store i32 0, ptr %4, align 4 br label %60 60: ; preds = %93, %59 %61 = load i32, ptr %4, align 4 %62 = icmp slt i32 %61, 100 br i1 %62, label %63, label %96 63: ; preds = %60 %64 = load i32, ptr %4, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %65 %67 = load i32, ptr %66, align 4 %68 = load i32, ptr %4, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %69 %71 = load i32, ptr %70, align 4 %72 = icmp ne i32 %67, %71 br i1 %72, label %73, label %86 73: ; preds = %63 %74 = load i32, ptr %4, align 4 %75 = load i32, ptr %4, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %76 %78 = load i32, ptr %77, align 4 %79 = load i32, ptr %4, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %80 %82 = load i32, ptr %81, align 4 %83 = load i32, ptr %5, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %5, align 4 %85 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %74, i32 noundef %78, i32 noundef %82, i32 noundef %84) br label %86 86: ; preds = %73, %63 %87 = load i32, ptr %5, align 4 %88 = icmp sgt i32 %87, 10 br i1 %88, label %89, label %92 89: ; preds = %86 %90 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %91 = load i32, ptr %5, align 4 store i32 %91, ptr %1, align 4 br label %98 92: ; preds = %86 br label %93 93: ; preds = %92 %94 = load i32, ptr %4, align 4 %95 = add nsw i32 %94, 1 store i32 %95, ptr %4, align 4 br label %60, !llvm.loop !11 96: ; preds = %60 %97 = load i32, ptr %5, align 4 store i32 %97, ptr %1, align 4 br label %98 98: ; preds = %96, %89 %99 = load i32, ptr %1, align 4 ret i32 %99 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6s7ea60t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"%d: a %d != %d (error %d)\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"abort\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_collapsed() #0 { %1 = alloca i32, align 4 %2 = alloca [100 x i32], align 16 %3 = alloca [100 x i32], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 100 br i1 %9, label %.lr.ph, label %22 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %17 %11 = load i32, ptr %4, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %12 store i32 -1, ptr %13, align 4 %14 = load i32, ptr %4, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %15 store i32 -1, ptr %16, align 4 br label %17 17: ; preds = %10 %18 = load i32, ptr %4, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %4, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %20, 100 br i1 %21, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %22 22: ; preds = %._crit_edge, %0 store i32 0, ptr %6, align 4 %23 = load i32, ptr %6, align 4 %24 = icmp slt i32 %23, 25 br i1 %24, label %.lr.ph5, label %50 .lr.ph5: ; preds = %22 br label %25 25: ; preds = %.lr.ph5, %45 store i32 0, ptr %7, align 4 %26 = load i32, ptr %7, align 4 %27 = icmp slt i32 %26, 4 br i1 %27, label %.lr.ph2, label %44 .lr.ph2: ; preds = %25 br label %28 28: ; preds = %.lr.ph2, %39 %29 = load i32, ptr %6, align 4 %30 = mul nsw i32 %29, 4 %31 = load i32, ptr %7, align 4 %32 = add nsw i32 %30, %31 %33 = load i32, ptr %6, align 4 %34 = mul nsw i32 %33, 4 %35 = load i32, ptr %7, align 4 %36 = add nsw i32 %34, %35 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %37 store i32 %32, ptr %38, align 4 br label %39 39: ; preds = %28 %40 = load i32, ptr %7, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %7, align 4 %42 = load i32, ptr %7, align 4 %43 = icmp slt i32 %42, 4 br i1 %43, label %28, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %39 br label %44 44: ; preds = %._crit_edge3, %25 br label %45 45: ; preds = %44 %46 = load i32, ptr %6, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %6, align 4 %48 = load i32, ptr %6, align 4 %49 = icmp slt i32 %48, 25 br i1 %49, label %25, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %45 br label %50 50: ; preds = %._crit_edge6, %22 store i32 0, ptr %4, align 4 %51 = load i32, ptr %4, align 4 %52 = icmp slt i32 %51, 100 br i1 %52, label %.lr.ph8, label %63 .lr.ph8: ; preds = %50 br label %53 53: ; preds = %.lr.ph8, %58 %54 = load i32, ptr %4, align 4 %55 = load i32, ptr %4, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %56 store i32 %54, ptr %57, align 4 br label %58 58: ; preds = %53 %59 = load i32, ptr %4, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %4, align 4 %61 = load i32, ptr %4, align 4 %62 = icmp slt i32 %61, 100 br i1 %62, label %53, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %58 br label %63 63: ; preds = %._crit_edge9, %50 store i32 0, ptr %4, align 4 %64 = load i32, ptr %4, align 4 %65 = icmp slt i32 %64, 100 br i1 %65, label %.lr.ph11, label %101 .lr.ph11: ; preds = %63 br label %66 66: ; preds = %.lr.ph11, %96 %67 = load i32, ptr %4, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %68 %70 = load i32, ptr %69, align 4 %71 = load i32, ptr %4, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %72 %74 = load i32, ptr %73, align 4 %75 = icmp ne i32 %70, %74 br i1 %75, label %76, label %89 76: ; preds = %66 %77 = load i32, ptr %4, align 4 %78 = load i32, ptr %4, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %79 %81 = load i32, ptr %80, align 4 %82 = load i32, ptr %4, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %83 %85 = load i32, ptr %84, align 4 %86 = load i32, ptr %5, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %5, align 4 %88 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %77, i32 noundef %81, i32 noundef %85, i32 noundef %87) br label %89 89: ; preds = %76, %66 %90 = load i32, ptr %5, align 4 %91 = icmp sgt i32 %90, 10 br i1 %91, label %92, label %95 92: ; preds = %89 %93 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %94 = load i32, ptr %5, align 4 store i32 %94, ptr %1, align 4 br label %103 95: ; preds = %89 br label %96 96: ; preds = %95 %97 = load i32, ptr %4, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %4, align 4 %99 = load i32, ptr %4, align 4 %100 = icmp slt i32 %99, 100 br i1 %100, label %66, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %96 br label %101 101: ; preds = %._crit_edge12, %63 %102 = load i32, ptr %5, align 4 store i32 %102, ptr %1, align 4 br label %103 103: ; preds = %101, %92 %104 = load i32, ptr %1, align 4 ret i32 %104 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpdpu8fuv3.c' source_filename = "/tmp/tmpdpu8fuv3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @c_ptr(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, inttoptr (i64 3735928559 to ptr) %5 = zext i1 %4 to i32 %6 = call i32 @assert_or_panic(i32 noundef %5) ret void } declare i32 @assert_or_panic(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/tmpdpu8fuv3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @c_ptr(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, inttoptr (i64 3735928559 to ptr) %5 = zext i1 %4 to i32 %6 = call i32 @assert_or_panic(i32 noundef %5) ret void } declare i32 @assert_or_panic(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/tmpwjsjl4u3.c' source_filename = "/tmp/tmpwjsjl4u3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @getSocketFamilyfromFD(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca %struct.sockaddr, align 4 %4 = alloca i64, align 8 store i32 %0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = call i32 @getsockname(i32 noundef %5, ptr noundef %3, ptr noundef %4) %7 = getelementptr inbounds %struct.sockaddr, ptr %3, i32 0, i32 0 %8 = load i32, ptr %7, align 4 %9 = call ptr @getFamilyName(i32 noundef %8) ret ptr %9 } declare i32 @getsockname(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @getFamilyName(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/tmpwjsjl4u3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @getSocketFamilyfromFD(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca %struct.sockaddr, align 4 %4 = alloca i64, align 8 store i32 %0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = call i32 @getsockname(i32 noundef %5, ptr noundef %3, ptr noundef %4) %7 = getelementptr inbounds %struct.sockaddr, ptr %3, i32 0, i32 0 %8 = load i32, ptr %7, align 4 %9 = call ptr @getFamilyName(i32 noundef %8) ret ptr %9 } declare i32 @getsockname(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @getFamilyName(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/tmpbkf6dx65.c' source_filename = "/tmp/tmpbkf6dx65.c" target datalayout = "e-m:e-p270: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/tmpbkf6dx65.c" target datalayout = "e-m:e-p270: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/tmpnpcra1wd.c' source_filename = "/tmp/tmpnpcra1wd.c" target datalayout = "e-m:e-p270: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/tmpnpcra1wd.c" target datalayout = "e-m:e-p270: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/tmpxte_p2_o.c' source_filename = "/tmp/tmpxte_p2_o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxte_p2_o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7z5gglmh.c' source_filename = "/tmp/tmp7z5gglmh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"Vuvedi chislo:\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [1000 x i32], align 16 store i32 0, ptr %1, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 br label %10 10: ; preds = %27, %0 %11 = load i32, ptr %7, align 4 %12 = icmp slt i32 %11, 1000 br i1 %12, label %13, label %30 13: ; preds = %10 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str) %15 = load i32, ptr %7, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [1000 x i32], ptr %9, i64 0, i64 %16 %18 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %17) %19 = load i32, ptr %7, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [1000 x i32], ptr %9, i64 0, i64 %20 %22 = load i32, ptr %21, align 4 %23 = icmp eq i32 %22, 42 br i1 %23, label %24, label %25 24: ; preds = %13 br label %30 25: ; preds = %13 %26 = load i32, ptr %7, align 4 store i32 %26, ptr %2, align 4 br label %27 27: ; preds = %25 %28 = load i32, ptr %7, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %7, align 4 br label %10, !llvm.loop !6 30: ; preds = %24, %10 %31 = load i32, ptr %2, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %2, align 4 store i32 0, ptr %3, align 4 br label %33 33: ; preds = %80, %30 %34 = load i32, ptr %3, align 4 %35 = load i32, ptr %2, align 4 %36 = sub nsw i32 %35, 1 %37 = icmp slt i32 %34, %36 br i1 %37, label %38, label %83 38: ; preds = %33 store i32 0, ptr %4, align 4 br label %39 39: ; preds = %76, %38 %40 = load i32, ptr %4, align 4 %41 = load i32, ptr %2, align 4 %42 = load i32, ptr %3, align 4 %43 = sub nsw i32 %41, %42 %44 = sub nsw i32 %43, 1 %45 = icmp slt i32 %40, %44 br i1 %45, label %46, label %79 46: ; preds = %39 %47 = load i32, ptr %4, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds [1000 x i32], ptr %9, i64 0, i64 %48 %50 = load i32, ptr %49, align 4 %51 = load i32, ptr %4, align 4 %52 = add nsw i32 %51, 1 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [1000 x i32], ptr %9, i64 0, i64 %53 %55 = load i32, ptr %54, align 4 %56 = icmp sgt i32 %50, %55 br i1 %56, label %57, label %75 57: ; preds = %46 %58 = load i32, ptr %4, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [1000 x i32], ptr %9, i64 0, i64 %59 %61 = load i32, ptr %60, align 4 store i32 %61, ptr %5, align 4 %62 = load i32, ptr %4, align 4 %63 = add nsw i32 %62, 1 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds [1000 x i32], ptr %9, i64 0, i64 %64 %66 = load i32, ptr %65, align 4 %67 = load i32, ptr %4, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [1000 x i32], ptr %9, i64 0, i64 %68 store i32 %66, ptr %69, align 4 %70 = load i32, ptr %5, align 4 %71 = load i32, ptr %4, align 4 %72 = add nsw i32 %71, 1 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds [1000 x i32], ptr %9, i64 0, i64 %73 store i32 %70, ptr %74, align 4 br label %75 75: ; preds = %57, %46 br label %76 76: ; preds = %75 %77 = load i32, ptr %4, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %4, align 4 br label %39, !llvm.loop !8 79: ; preds = %39 br label %80 80: ; preds = %79 %81 = load i32, ptr %3, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %3, align 4 br label %33, !llvm.loop !9 83: ; preds = %33 store i32 0, ptr %7, align 4 br label %84 84: ; preds = %94, %83 %85 = load i32, ptr %7, align 4 %86 = load i32, ptr %2, align 4 %87 = icmp slt i32 %85, %86 br i1 %87, label %88, label %97 88: ; preds = %84 %89 = load i32, ptr %7, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds [1000 x i32], ptr %9, i64 0, i64 %90 %92 = load i32, ptr %91, align 4 %93 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %92) br label %94 94: ; preds = %88 %95 = load i32, ptr %7, align 4 %96 = add nsw i32 %95, 1 store i32 %96, ptr %7, align 4 br label %84, !llvm.loop !10 97: ; preds = %84 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"} !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/tmp7z5gglmh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"Vuvedi chislo:\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [1000 x i32], align 16 store i32 0, ptr %1, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %10 = load i32, ptr %7, align 4 %11 = icmp slt i32 %10, 1000 br i1 %11, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %0 br label %12 12: ; preds = %.lr.ph, %26 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) %14 = load i32, ptr %7, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [1000 x i32], ptr %9, i64 0, i64 %15 %17 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %16) %18 = load i32, ptr %7, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [1000 x i32], ptr %9, i64 0, i64 %19 %21 = load i32, ptr %20, align 4 %22 = icmp eq i32 %21, 42 br i1 %22, label %23, label %24 23: ; preds = %12 br label %31 24: ; preds = %12 %25 = load i32, ptr %7, align 4 store i32 %25, ptr %2, align 4 br label %26 26: ; preds = %24 %27 = load i32, ptr %7, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %7, align 4 %29 = load i32, ptr %7, align 4 %30 = icmp slt i32 %29, 1000 br i1 %30, label %12, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %26 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %0 br label %31 31: ; preds = %.loopexit, %23 %32 = load i32, ptr %2, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %2, align 4 store i32 0, ptr %3, align 4 %34 = load i32, ptr %3, align 4 %35 = load i32, ptr %2, align 4 %36 = sub nsw i32 %35, 1 %37 = icmp slt i32 %34, %36 br i1 %37, label %.lr.ph3, label %92 .lr.ph3: ; preds = %31 br label %38 38: ; preds = %.lr.ph3, %85 store i32 0, ptr %4, align 4 %39 = load i32, ptr %4, align 4 %40 = load i32, ptr %2, align 4 %41 = load i32, ptr %3, align 4 %42 = sub nsw i32 %40, %41 %43 = sub nsw i32 %42, 1 %44 = icmp slt i32 %39, %43 br i1 %44, label %.lr.ph1, label %84 .lr.ph1: ; preds = %38 br label %45 45: ; preds = %.lr.ph1, %75 %46 = load i32, ptr %4, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds [1000 x i32], ptr %9, i64 0, i64 %47 %49 = load i32, ptr %48, align 4 %50 = load i32, ptr %4, align 4 %51 = add nsw i32 %50, 1 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [1000 x i32], ptr %9, i64 0, i64 %52 %54 = load i32, ptr %53, align 4 %55 = icmp sgt i32 %49, %54 br i1 %55, label %56, label %74 56: ; preds = %45 %57 = load i32, ptr %4, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds [1000 x i32], ptr %9, i64 0, i64 %58 %60 = load i32, ptr %59, align 4 store i32 %60, ptr %5, align 4 %61 = load i32, ptr %4, align 4 %62 = add nsw i32 %61, 1 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds [1000 x i32], ptr %9, i64 0, i64 %63 %65 = load i32, ptr %64, align 4 %66 = load i32, ptr %4, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds [1000 x i32], ptr %9, i64 0, i64 %67 store i32 %65, ptr %68, align 4 %69 = load i32, ptr %5, align 4 %70 = load i32, ptr %4, align 4 %71 = add nsw i32 %70, 1 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [1000 x i32], ptr %9, i64 0, i64 %72 store i32 %69, ptr %73, align 4 br label %74 74: ; preds = %56, %45 br label %75 75: ; preds = %74 %76 = load i32, ptr %4, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %4, align 4 %78 = load i32, ptr %4, align 4 %79 = load i32, ptr %2, align 4 %80 = load i32, ptr %3, align 4 %81 = sub nsw i32 %79, %80 %82 = sub nsw i32 %81, 1 %83 = icmp slt i32 %78, %82 br i1 %83, label %45, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %75 br label %84 84: ; preds = %._crit_edge, %38 br label %85 85: ; preds = %84 %86 = load i32, ptr %3, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %3, align 4 %88 = load i32, ptr %3, align 4 %89 = load i32, ptr %2, align 4 %90 = sub nsw i32 %89, 1 %91 = icmp slt i32 %88, %90 br i1 %91, label %38, label %._crit_edge4, !llvm.loop !9 ._crit_edge4: ; preds = %85 br label %92 92: ; preds = %._crit_edge4, %31 store i32 0, ptr %7, align 4 %93 = load i32, ptr %7, align 4 %94 = load i32, ptr %2, align 4 %95 = icmp slt i32 %93, %94 br i1 %95, label %.lr.ph6, label %108 .lr.ph6: ; preds = %92 br label %96 96: ; preds = %.lr.ph6, %102 %97 = load i32, ptr %7, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds [1000 x i32], ptr %9, i64 0, i64 %98 %100 = load i32, ptr %99, align 4 %101 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %100) br label %102 102: ; preds = %96 %103 = load i32, ptr %7, align 4 %104 = add nsw i32 %103, 1 store i32 %104, ptr %7, align 4 %105 = load i32, ptr %7, align 4 %106 = load i32, ptr %2, align 4 %107 = icmp slt i32 %105, %106 br i1 %107, label %96, label %._crit_edge7, !llvm.loop !10 ._crit_edge7: ; preds = %102 br label %108 108: ; preds = %._crit_edge7, %92 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmp1dzr6iu3.c' source_filename = "/tmp/tmp1dzr6iu3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AF_UNIX = dso_local global i32 0, align 4 @SOCK_STREAM = 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 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"VLC_ROOTWRAP_SOCK\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"SUDO_UID\00", align 1 @.str.4 = private unnamed_addr constant [45 x i8] c"Cannot determine unprivileged user for VLC!\0A\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [9 x i8] c"-wrapper\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 [2 x i32], align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [21 x i8], align 16 %10 = alloca i64, align 8 %11 = 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 %12 = load i32, ptr @AF_UNIX, align 4 %13 = load i32, ptr @SOCK_STREAM, align 4 %14 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0 %15 = call i64 @socketpair(i32 noundef %12, i32 noundef %13, i32 noundef 0, ptr noundef %14) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %2 store i32 1, ptr %3, align 4 br label %131 18: ; preds = %2 %19 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0 %20 = load i32, ptr %19, align 4 %21 = icmp slt i32 %20, 3 br i1 %21, label %22, label %23 22: ; preds = %18 br label %119 23: ; preds = %18 %24 = call i32 (...) @fork() store i32 %24, ptr %7, align 4 %25 = load i32, ptr %7, align 4 switch i32 %25, label %50 [ i32 -1, label %26 i32 0, label %27 ] 26: ; preds = %23 br label %119 27: ; preds = %23 %28 = load i32, ptr @O_RDWR, align 4 %29 = call i32 @open(ptr noundef @.str, i32 noundef %28) store i32 %29, ptr %8, align 4 %30 = load i32, ptr %8, align 4 %31 = icmp ne i32 %30, -1 br i1 %31, label %32, label %41 32: ; preds = %27 %33 = load i32, ptr %8, align 4 %34 = call i32 @dup2(i32 noundef %33, i32 noundef 0) %35 = load i32, ptr %8, align 4 %36 = call i32 @dup2(i32 noundef %35, i32 noundef 1) %37 = load i32, ptr %8, align 4 %38 = call i32 @dup2(i32 noundef %37, i32 noundef 2) %39 = load i32, ptr %8, align 4 %40 = call i32 @close(i32 noundef %39) br label %41 41: ; preds = %32, %27 %42 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0 %43 = load i32, ptr %42, align 4 %44 = call i32 @close(i32 noundef %43) %45 = call i32 (...) @setsid() %46 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 1 %47 = load i32, ptr %46, align 4 %48 = call i32 @rootprocess(i32 noundef %47) %49 = call i32 @exit(i32 noundef 0) #3 unreachable 50: ; preds = %23 %51 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 1 %52 = load i32, ptr %51, align 4 %53 = call i32 @close(i32 noundef %52) %54 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 1 store i32 -1, ptr %54, align 4 %55 = getelementptr inbounds [21 x i8], ptr %9, i64 0, i64 0 %56 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0 %57 = load i32, ptr %56, align 4 %58 = call i32 @snprintf(ptr noundef %55, i32 noundef 21, ptr noundef @.str.1, i32 noundef %57) %59 = getelementptr inbounds [21 x i8], ptr %9, i64 0, i64 0 %60 = call i32 @setenv(ptr noundef @.str.2, ptr noundef %59, i32 noundef 1) %61 = call i64 (...) @getuid() store i64 %61, ptr %10, align 8 %62 = load i64, ptr %10, align 8 %63 = icmp eq i64 %62, 0 br i1 %63, label %64, label %72 64: ; preds = %50 %65 = call ptr @getenv(ptr noundef @.str.3) store ptr %65, ptr %11, align 8 %66 = load ptr, ptr %11, align 8 %67 = icmp ne ptr %66, null br i1 %67, label %68, label %71 68: ; preds = %64 %69 = load ptr, ptr %11, align 8 %70 = call i64 @atoi(ptr noundef %69) store i64 %70, ptr %10, align 8 br label %71 71: ; preds = %68, %64 br label %72 72: ; preds = %71, %50 %73 = load i64, ptr %10, align 8 %74 = icmp eq i64 %73, 0 br i1 %74, label %75, label %79 75: ; preds = %72 %76 = load i32, ptr @stderr, align 4 %77 = call i32 @fputs(ptr noundef @.str.4, i32 noundef %76) %78 = call i32 @exit(i32 noundef 1) #3 unreachable 79: ; preds = %72 %80 = load i64, ptr %10, align 8 %81 = call i32 @setuid(i64 noundef %80) %82 = call i32 @setuid(i64 noundef 0) %83 = icmp ne i32 %82, 0 br i1 %83, label %86, label %84 84: ; preds = %79 %85 = call i32 @exit(i32 noundef 1) #3 unreachable 86: ; preds = %79 %87 = load ptr, ptr %5, align 8 %88 = getelementptr inbounds ptr, ptr %87, i64 0 %89 = load ptr, ptr %88, align 8 %90 = call i32 @strlen(ptr noundef %89) %91 = sext i32 %90 to i64 %92 = icmp ult i64 %91, 9 br i1 %92, label %93, label %94 93: ; preds = %86 br label %119 94: ; preds = %86 %95 = load ptr, ptr %5, align 8 %96 = getelementptr inbounds ptr, ptr %95, i64 0 %97 = load ptr, ptr %96, align 8 %98 = load ptr, ptr %5, align 8 %99 = getelementptr inbounds ptr, ptr %98, i64 0 %100 = load ptr, ptr %99, align 8 %101 = call i32 @strlen(ptr noundef %100) %102 = call i32 @strlen(ptr noundef @.str.5) %103 = sub nsw i32 %101, %102 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds i8, ptr %97, i64 %104 store i8 0, ptr %105, align 1 %106 = load i32, ptr %4, align 4 %107 = load ptr, ptr %5, align 8 %108 = getelementptr inbounds ptr, ptr %107, i64 0 %109 = load ptr, ptr %108, align 8 %110 = load ptr, ptr %5, align 8 %111 = call i64 @execvp(ptr noundef %109, ptr noundef %110) %112 = icmp ne i64 %111, 0 br i1 %112, label %113, label %118 113: ; preds = %94 %114 = load ptr, ptr %5, align 8 %115 = getelementptr inbounds ptr, ptr %114, i64 0 %116 = load ptr, ptr %115, align 8 %117 = call i32 @perror(ptr noundef %116) br label %118 118: ; preds = %113, %94 br label %119 119: ; preds = %118, %93, %26, %22 %120 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0 %121 = load i32, ptr %120, align 4 %122 = call i32 @close(i32 noundef %121) %123 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 1 %124 = load i32, ptr %123, align 4 %125 = icmp ne i32 %124, -1 br i1 %125, label %126, label %130 126: ; preds = %119 %127 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 1 %128 = load i32, ptr %127, align 4 %129 = call i32 @close(i32 noundef %128) br label %130 130: ; preds = %126, %119 store i32 1, ptr %3, align 4 br label %131 131: ; preds = %130, %17 %132 = load i32, ptr %3, align 4 ret i32 %132 } declare i64 @socketpair(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fork(...) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @dup2(i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @setsid(...) #1 declare i32 @rootprocess(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @setenv(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @getuid(...) #1 declare ptr @getenv(ptr noundef) #1 declare i64 @atoi(ptr noundef) #1 declare i32 @fputs(ptr noundef, i32 noundef) #1 declare i32 @setuid(i64 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i64 @execvp(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp1dzr6iu3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AF_UNIX = dso_local global i32 0, align 4 @SOCK_STREAM = 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 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"VLC_ROOTWRAP_SOCK\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"SUDO_UID\00", align 1 @.str.4 = private unnamed_addr constant [45 x i8] c"Cannot determine unprivileged user for VLC!\0A\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [9 x i8] c"-wrapper\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 [2 x i32], align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [21 x i8], align 16 %10 = alloca i64, align 8 %11 = 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 %12 = load i32, ptr @AF_UNIX, align 4 %13 = load i32, ptr @SOCK_STREAM, align 4 %14 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0 %15 = call i64 @socketpair(i32 noundef %12, i32 noundef %13, i32 noundef 0, ptr noundef %14) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %2 store i32 1, ptr %3, align 4 br label %131 18: ; preds = %2 %19 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0 %20 = load i32, ptr %19, align 4 %21 = icmp slt i32 %20, 3 br i1 %21, label %22, label %23 22: ; preds = %18 br label %119 23: ; preds = %18 %24 = call i32 (...) @fork() store i32 %24, ptr %7, align 4 %25 = load i32, ptr %7, align 4 switch i32 %25, label %50 [ i32 -1, label %26 i32 0, label %27 ] 26: ; preds = %23 br label %119 27: ; preds = %23 %28 = load i32, ptr @O_RDWR, align 4 %29 = call i32 @open(ptr noundef @.str, i32 noundef %28) store i32 %29, ptr %8, align 4 %30 = load i32, ptr %8, align 4 %31 = icmp ne i32 %30, -1 br i1 %31, label %32, label %41 32: ; preds = %27 %33 = load i32, ptr %8, align 4 %34 = call i32 @dup2(i32 noundef %33, i32 noundef 0) %35 = load i32, ptr %8, align 4 %36 = call i32 @dup2(i32 noundef %35, i32 noundef 1) %37 = load i32, ptr %8, align 4 %38 = call i32 @dup2(i32 noundef %37, i32 noundef 2) %39 = load i32, ptr %8, align 4 %40 = call i32 @close(i32 noundef %39) br label %41 41: ; preds = %32, %27 %42 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0 %43 = load i32, ptr %42, align 4 %44 = call i32 @close(i32 noundef %43) %45 = call i32 (...) @setsid() %46 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 1 %47 = load i32, ptr %46, align 4 %48 = call i32 @rootprocess(i32 noundef %47) %49 = call i32 @exit(i32 noundef 0) #3 unreachable 50: ; preds = %23 %51 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 1 %52 = load i32, ptr %51, align 4 %53 = call i32 @close(i32 noundef %52) %54 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 1 store i32 -1, ptr %54, align 4 %55 = getelementptr inbounds [21 x i8], ptr %9, i64 0, i64 0 %56 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0 %57 = load i32, ptr %56, align 4 %58 = call i32 @snprintf(ptr noundef %55, i32 noundef 21, ptr noundef @.str.1, i32 noundef %57) %59 = getelementptr inbounds [21 x i8], ptr %9, i64 0, i64 0 %60 = call i32 @setenv(ptr noundef @.str.2, ptr noundef %59, i32 noundef 1) %61 = call i64 (...) @getuid() store i64 %61, ptr %10, align 8 %62 = load i64, ptr %10, align 8 %63 = icmp eq i64 %62, 0 br i1 %63, label %64, label %72 64: ; preds = %50 %65 = call ptr @getenv(ptr noundef @.str.3) store ptr %65, ptr %11, align 8 %66 = load ptr, ptr %11, align 8 %67 = icmp ne ptr %66, null br i1 %67, label %68, label %71 68: ; preds = %64 %69 = load ptr, ptr %11, align 8 %70 = call i64 @atoi(ptr noundef %69) store i64 %70, ptr %10, align 8 br label %71 71: ; preds = %68, %64 br label %72 72: ; preds = %71, %50 %73 = load i64, ptr %10, align 8 %74 = icmp eq i64 %73, 0 br i1 %74, label %75, label %79 75: ; preds = %72 %76 = load i32, ptr @stderr, align 4 %77 = call i32 @fputs(ptr noundef @.str.4, i32 noundef %76) %78 = call i32 @exit(i32 noundef 1) #3 unreachable 79: ; preds = %72 %80 = load i64, ptr %10, align 8 %81 = call i32 @setuid(i64 noundef %80) %82 = call i32 @setuid(i64 noundef 0) %83 = icmp ne i32 %82, 0 br i1 %83, label %86, label %84 84: ; preds = %79 %85 = call i32 @exit(i32 noundef 1) #3 unreachable 86: ; preds = %79 %87 = load ptr, ptr %5, align 8 %88 = getelementptr inbounds ptr, ptr %87, i64 0 %89 = load ptr, ptr %88, align 8 %90 = call i32 @strlen(ptr noundef %89) %91 = sext i32 %90 to i64 %92 = icmp ult i64 %91, 9 br i1 %92, label %93, label %94 93: ; preds = %86 br label %119 94: ; preds = %86 %95 = load ptr, ptr %5, align 8 %96 = getelementptr inbounds ptr, ptr %95, i64 0 %97 = load ptr, ptr %96, align 8 %98 = load ptr, ptr %5, align 8 %99 = getelementptr inbounds ptr, ptr %98, i64 0 %100 = load ptr, ptr %99, align 8 %101 = call i32 @strlen(ptr noundef %100) %102 = call i32 @strlen(ptr noundef @.str.5) %103 = sub nsw i32 %101, %102 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds i8, ptr %97, i64 %104 store i8 0, ptr %105, align 1 %106 = load i32, ptr %4, align 4 %107 = load ptr, ptr %5, align 8 %108 = getelementptr inbounds ptr, ptr %107, i64 0 %109 = load ptr, ptr %108, align 8 %110 = load ptr, ptr %5, align 8 %111 = call i64 @execvp(ptr noundef %109, ptr noundef %110) %112 = icmp ne i64 %111, 0 br i1 %112, label %113, label %118 113: ; preds = %94 %114 = load ptr, ptr %5, align 8 %115 = getelementptr inbounds ptr, ptr %114, i64 0 %116 = load ptr, ptr %115, align 8 %117 = call i32 @perror(ptr noundef %116) br label %118 118: ; preds = %113, %94 br label %119 119: ; preds = %118, %93, %26, %22 %120 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0 %121 = load i32, ptr %120, align 4 %122 = call i32 @close(i32 noundef %121) %123 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 1 %124 = load i32, ptr %123, align 4 %125 = icmp ne i32 %124, -1 br i1 %125, label %126, label %130 126: ; preds = %119 %127 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 1 %128 = load i32, ptr %127, align 4 %129 = call i32 @close(i32 noundef %128) br label %130 130: ; preds = %126, %119 store i32 1, ptr %3, align 4 br label %131 131: ; preds = %130, %17 %132 = load i32, ptr %3, align 4 ret i32 %132 } declare i64 @socketpair(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fork(...) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @dup2(i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @setsid(...) #1 declare i32 @rootprocess(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @setenv(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @getuid(...) #1 declare ptr @getenv(ptr noundef) #1 declare i64 @atoi(ptr noundef) #1 declare i32 @fputs(ptr noundef, i32 noundef) #1 declare i32 @setuid(i64 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i64 @execvp(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp5ioei83y.c' source_filename = "/tmp/tmp5ioei83y.c" target datalayout = "e-m:e-p270: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/tmp5ioei83y.c" target datalayout = "e-m:e-p270: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/tmpt9wqs4zz.c' source_filename = "/tmp/tmpt9wqs4zz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_netaddr(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 @get_addr_family(ptr noundef %7) store i32 %8, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = load ptr, ptr %4, align 8 %11 = load ptr, ptr %5, align 8 %12 = call i64 @inet_pton(i32 noundef %9, ptr noundef %10, ptr noundef %11) %13 = icmp sle i64 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %2 store i32 -1, ptr %3, align 4 br label %17 15: ; preds = %2 %16 = load i32, ptr %6, align 4 store i32 %16, ptr %3, align 4 br label %17 17: ; preds = %15, %14 %18 = load i32, ptr %3, align 4 ret i32 %18 } declare i32 @get_addr_family(ptr noundef) #1 declare i64 @inet_pton(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt9wqs4zz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_netaddr(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 @get_addr_family(ptr noundef %7) store i32 %8, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = load ptr, ptr %4, align 8 %11 = load ptr, ptr %5, align 8 %12 = call i64 @inet_pton(i32 noundef %9, ptr noundef %10, ptr noundef %11) %13 = icmp sle i64 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %2 store i32 -1, ptr %3, align 4 br label %17 15: ; preds = %2 %16 = load i32, ptr %6, align 4 store i32 %16, ptr %3, align 4 br label %17 17: ; preds = %15, %14 %18 = load i32, ptr %3, align 4 ret i32 %18 } declare i32 @get_addr_family(ptr noundef) #1 declare i64 @inet_pton(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqe4p8lo5.c' source_filename = "/tmp/tmpqe4p8lo5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pFZLESS() #0 { %1 = call double (...) @FPop() %2 = fcmp olt double %1, 0.000000e+00 %3 = zext i1 %2 to i64 %4 = select i1 %2, i32 -1, i32 0 %5 = call i32 @Push(i32 noundef %4) ret void } declare i32 @Push(i32 noundef) #1 declare double @FPop(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqe4p8lo5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pFZLESS() #0 { %1 = call double (...) @FPop() %2 = fcmp olt double %1, 0.000000e+00 %3 = zext i1 %2 to i64 %4 = select i1 %2, i32 -1, i32 0 %5 = call i32 @Push(i32 noundef %4) ret void } declare i32 @Push(i32 noundef) #1 declare double @FPop(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprla13vk6.c' source_filename = "/tmp/tmprla13vk6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @unlockpt(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [1024 x i8], align 16 store i32 %0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0 %7 = call i64 @__ptsname_r(i32 noundef %5, ptr noundef %6, i32 noundef 1024) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %1 store i32 -1, ptr %2, align 4 br label %13 10: ; preds = %1 %11 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0 %12 = call i32 @revoke(ptr noundef %11) store i32 %12, ptr %2, align 4 br label %13 13: ; preds = %10, %9 %14 = load i32, ptr %2, align 4 ret i32 %14 } declare i64 @__ptsname_r(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @revoke(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprla13vk6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @unlockpt(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [1024 x i8], align 16 store i32 %0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0 %7 = call i64 @__ptsname_r(i32 noundef %5, ptr noundef %6, i32 noundef 1024) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %1 store i32 -1, ptr %2, align 4 br label %13 10: ; preds = %1 %11 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0 %12 = call i32 @revoke(ptr noundef %11) store i32 %12, ptr %2, align 4 br label %13 13: ; preds = %10, %9 %14 = load i32, ptr %2, align 4 ret i32 %14 } declare i64 @__ptsname_r(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @revoke(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpp4j3d60v.c' source_filename = "/tmp/tmpp4j3d60v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"origin array: \00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"i=%d, j=%d : \00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"\0Asorting array: i = %d: \00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"\0A------------------------------\0A\0A\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"\0A\0A sorted array: \00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"sort done!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @bubble_sort(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %9 = load ptr, ptr %4, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %14, label %11 11: ; preds = %2 %12 = load i32, ptr %5, align 4 %13 = icmp slt i32 %12, 2 br i1 %13, label %14, label %15 14: ; preds = %11, %2 store i32 0, ptr %3, align 4 br label %93 15: ; preds = %11 store i32 0, ptr %6, align 4 br label %16 16: ; preds = %84, %15 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %5, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %87 20: ; preds = %16 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str) %22 = load ptr, ptr %4, align 8 %23 = load i32, ptr %5, align 4 %24 = call i32 @print_array(ptr noundef %22, i32 noundef %23) store i32 0, ptr %7, align 4 br label %25 25: ; preds = %74, %20 %26 = load i32, ptr %7, align 4 %27 = load i32, ptr %5, align 4 %28 = load i32, ptr %6, align 4 %29 = sub nsw i32 %27, %28 %30 = sub nsw i32 %29, 1 %31 = icmp slt i32 %26, %30 br i1 %31, label %32, label %77 32: ; preds = %25 %33 = load ptr, ptr %4, align 8 %34 = load i32, ptr %7, align 4 %35 = add nsw i32 %34, 1 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i32, ptr %33, i64 %36 %38 = load i32, ptr %37, align 4 %39 = load ptr, ptr %4, align 8 %40 = load i32, ptr %7, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %39, i64 %41 %43 = load i32, ptr %42, align 4 %44 = icmp sgt i32 %38, %43 br i1 %44, label %45, label %67 45: ; preds = %32 %46 = load ptr, ptr %4, align 8 %47 = load i32, ptr %7, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %46, i64 %48 %50 = load i32, ptr %49, align 4 store i32 %50, ptr %8, align 4 %51 = load ptr, ptr %4, align 8 %52 = load i32, ptr %7, align 4 %53 = add nsw i32 %52, 1 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i32, ptr %51, i64 %54 %56 = load i32, ptr %55, align 4 %57 = load ptr, ptr %4, align 8 %58 = load i32, ptr %7, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i32, ptr %57, i64 %59 store i32 %56, ptr %60, align 4 %61 = load i32, ptr %8, align 4 %62 = load ptr, ptr %4, align 8 %63 = load i32, ptr %7, align 4 %64 = add nsw i32 %63, 1 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i32, ptr %62, i64 %65 store i32 %61, ptr %66, align 4 br label %67 67: ; preds = %45, %32 %68 = load i32, ptr %6, align 4 %69 = load i32, ptr %7, align 4 %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %68, i32 noundef %69) %71 = load ptr, ptr %4, align 8 %72 = load i32, ptr %5, align 4 %73 = call i32 @print_array(ptr noundef %71, i32 noundef %72) br label %74 74: ; preds = %67 %75 = load i32, ptr %7, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %7, align 4 br label %25, !llvm.loop !6 77: ; preds = %25 %78 = load i32, ptr %6, align 4 %79 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %78) %80 = load ptr, ptr %4, align 8 %81 = load i32, ptr %5, align 4 %82 = call i32 @print_array(ptr noundef %80, i32 noundef %81) %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %84 84: ; preds = %77 %85 = load i32, ptr %6, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %6, align 4 br label %16, !llvm.loop !8 87: ; preds = %16 %88 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %89 = load ptr, ptr %4, align 8 %90 = load i32, ptr %5, align 4 %91 = call i32 @print_array(ptr noundef %89, i32 noundef %90) %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %93 93: ; preds = %87, %14 %94 = load i32, ptr %3, align 4 ret i32 %94 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @print_array(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/tmpp4j3d60v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"origin array: \00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"i=%d, j=%d : \00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"\0Asorting array: i = %d: \00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"\0A------------------------------\0A\0A\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"\0A\0A sorted array: \00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"sort done!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @bubble_sort(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %9 = load ptr, ptr %4, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %14, label %11 11: ; preds = %2 %12 = load i32, ptr %5, align 4 %13 = icmp slt i32 %12, 2 br i1 %13, label %14, label %15 14: ; preds = %11, %2 store i32 0, ptr %3, align 4 br label %100 15: ; preds = %11 store i32 0, ptr %6, align 4 %16 = load i32, ptr %6, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %.lr.ph2, label %94 .lr.ph2: ; preds = %15 br label %19 19: ; preds = %.lr.ph2, %88 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str) %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %5, align 4 %23 = call i32 @print_array(ptr noundef %21, i32 noundef %22) store i32 0, ptr %7, align 4 %24 = load i32, ptr %7, align 4 %25 = load i32, ptr %5, align 4 %26 = load i32, ptr %6, align 4 %27 = sub nsw i32 %25, %26 %28 = sub nsw i32 %27, 1 %29 = icmp slt i32 %24, %28 br i1 %29, label %.lr.ph, label %81 .lr.ph: ; preds = %19 br label %30 30: ; preds = %.lr.ph, %72 %31 = load ptr, ptr %4, align 8 %32 = load i32, ptr %7, align 4 %33 = add nsw i32 %32, 1 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i32, ptr %31, i64 %34 %36 = load i32, ptr %35, align 4 %37 = load ptr, ptr %4, align 8 %38 = load i32, ptr %7, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i32, ptr %37, i64 %39 %41 = load i32, ptr %40, align 4 %42 = icmp sgt i32 %36, %41 br i1 %42, label %43, label %65 43: ; preds = %30 %44 = load ptr, ptr %4, align 8 %45 = load i32, ptr %7, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %44, i64 %46 %48 = load i32, ptr %47, align 4 store i32 %48, ptr %8, align 4 %49 = load ptr, ptr %4, align 8 %50 = load i32, ptr %7, align 4 %51 = add nsw i32 %50, 1 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i32, ptr %49, i64 %52 %54 = load i32, ptr %53, align 4 %55 = load ptr, ptr %4, align 8 %56 = load i32, ptr %7, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i32, ptr %55, i64 %57 store i32 %54, ptr %58, align 4 %59 = load i32, ptr %8, align 4 %60 = load ptr, ptr %4, align 8 %61 = load i32, ptr %7, align 4 %62 = add nsw i32 %61, 1 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i32, ptr %60, i64 %63 store i32 %59, ptr %64, align 4 br label %65 65: ; preds = %43, %30 %66 = load i32, ptr %6, align 4 %67 = load i32, ptr %7, align 4 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %66, i32 noundef %67) %69 = load ptr, ptr %4, align 8 %70 = load i32, ptr %5, align 4 %71 = call i32 @print_array(ptr noundef %69, i32 noundef %70) br label %72 72: ; preds = %65 %73 = load i32, ptr %7, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %7, align 4 %75 = load i32, ptr %7, align 4 %76 = load i32, ptr %5, align 4 %77 = load i32, ptr %6, align 4 %78 = sub nsw i32 %76, %77 %79 = sub nsw i32 %78, 1 %80 = icmp slt i32 %75, %79 br i1 %80, label %30, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %72 br label %81 81: ; preds = %._crit_edge, %19 %82 = load i32, ptr %6, align 4 %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %82) %84 = load ptr, ptr %4, align 8 %85 = load i32, ptr %5, align 4 %86 = call i32 @print_array(ptr noundef %84, i32 noundef %85) %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %88 88: ; preds = %81 %89 = load i32, ptr %6, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %6, align 4 %91 = load i32, ptr %6, align 4 %92 = load i32, ptr %5, align 4 %93 = icmp slt i32 %91, %92 br i1 %93, label %19, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %88 br label %94 94: ; preds = %._crit_edge3, %15 %95 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %96 = load ptr, ptr %4, align 8 %97 = load i32, ptr %5, align 4 %98 = call i32 @print_array(ptr noundef %96, i32 noundef %97) %99 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %100 100: ; preds = %94, %14 %101 = load i32, ptr %3, align 4 ret i32 %101 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @print_array(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmplkv59wsr.c' source_filename = "/tmp/tmplkv59wsr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"socket()\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"connect()\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"Connect success ...\0A\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"Input client message:>\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.6 = private unnamed_addr constant [30 x i8] c"recv data from server is: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca %struct.sockaddr_in, align 4 %8 = alloca [1024 x i8], align 16 %9 = alloca [1024 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr @AF_INET, align 4 %11 = load i32, ptr @SOCK_STREAM, align 4 %12 = call i32 @socket(i32 noundef %10, i32 noundef %11, i32 noundef 0) store i32 %12, ptr %6, align 4 %13 = icmp slt i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 @perror(ptr noundef @.str) %16 = call i32 @exit(i32 noundef 1) #3 unreachable 17: ; preds = %2 %18 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 12) %19 = load i32, ptr @AF_INET, align 4 %20 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2 store i32 %19, ptr %20, align 4 %21 = call i32 @htons(i32 noundef 5555) %22 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1 store i32 %21, ptr %22, align 4 %23 = call i32 @inet_addr(ptr noundef @.str.1) %24 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0 %25 = getelementptr inbounds %struct.TYPE_2__, ptr %24, i32 0, i32 0 store i32 %23, ptr %25, align 4 %26 = load i32, ptr %6, align 4 %27 = call i64 @connect(i32 noundef %26, ptr noundef %7, i32 noundef 12) %28 = icmp slt i64 %27, 0 br i1 %28, label %29, label %32 29: ; preds = %17 %30 = call i32 @perror(ptr noundef @.str.2) %31 = call i32 @exit(i32 noundef 1) #3 unreachable 32: ; preds = %17 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %34 34: ; preds = %32 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %36 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %37 = call i32 @scanf(ptr noundef @.str.5, ptr noundef %36) %38 = load i32, ptr %6, align 4 %39 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %40 = call i32 @send(i32 noundef %38, ptr noundef %39, i32 noundef 1024, i32 noundef 0) %41 = load i32, ptr %6, align 4 %42 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %43 = call i32 @recv(i32 noundef %41, ptr noundef %42, i32 noundef 1024, i32 noundef 0) %44 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %44) %46 = load i32, ptr %6, align 4 %47 = call i32 @close(i32 noundef %46) ret i32 0 } declare i32 @socket(i32 noundef, i32 noundef, i32 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 @htons(i32 noundef) #1 declare i32 @inet_addr(ptr noundef) #1 declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmplkv59wsr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"socket()\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"connect()\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"Connect success ...\0A\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"Input client message:>\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.6 = private unnamed_addr constant [30 x i8] c"recv data from server is: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca %struct.sockaddr_in, align 4 %8 = alloca [1024 x i8], align 16 %9 = alloca [1024 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr @AF_INET, align 4 %11 = load i32, ptr @SOCK_STREAM, align 4 %12 = call i32 @socket(i32 noundef %10, i32 noundef %11, i32 noundef 0) store i32 %12, ptr %6, align 4 %13 = icmp slt i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 @perror(ptr noundef @.str) %16 = call i32 @exit(i32 noundef 1) #3 unreachable 17: ; preds = %2 %18 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 12) %19 = load i32, ptr @AF_INET, align 4 %20 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2 store i32 %19, ptr %20, align 4 %21 = call i32 @htons(i32 noundef 5555) %22 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1 store i32 %21, ptr %22, align 4 %23 = call i32 @inet_addr(ptr noundef @.str.1) %24 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0 %25 = getelementptr inbounds %struct.TYPE_2__, ptr %24, i32 0, i32 0 store i32 %23, ptr %25, align 4 %26 = load i32, ptr %6, align 4 %27 = call i64 @connect(i32 noundef %26, ptr noundef %7, i32 noundef 12) %28 = icmp slt i64 %27, 0 br i1 %28, label %29, label %32 29: ; preds = %17 %30 = call i32 @perror(ptr noundef @.str.2) %31 = call i32 @exit(i32 noundef 1) #3 unreachable 32: ; preds = %17 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %34 34: ; preds = %32 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %36 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %37 = call i32 @scanf(ptr noundef @.str.5, ptr noundef %36) %38 = load i32, ptr %6, align 4 %39 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %40 = call i32 @send(i32 noundef %38, ptr noundef %39, i32 noundef 1024, i32 noundef 0) %41 = load i32, ptr %6, align 4 %42 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %43 = call i32 @recv(i32 noundef %41, ptr noundef %42, i32 noundef 1024, i32 noundef 0) %44 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %44) %46 = load i32, ptr %6, align 4 %47 = call i32 @close(i32 noundef %46) ret i32 0 } declare i32 @socket(i32 noundef, i32 noundef, i32 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 @htons(i32 noundef) #1 declare i32 @inet_addr(ptr noundef) #1 declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpo10hsbrt.c' source_filename = "/tmp/tmpo10hsbrt.c" target datalayout = "e-m:e-p270: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 [75 x i8] c"=========================================================================\0A\00", align 1 @.str.1 = private unnamed_addr constant [72 x i8] c" --- wprp nrbin ND1 ND2 NR1 NR2 D1D2 D1R2 D2R1 R1R2 [pimax] > wpfile\0A\00", align 1 @.str.2 = private unnamed_addr constant [72 x i8] c" --- Measure the cross-correlation function wp(rp) for two different\0A\00", align 1 @.str.3 = private unnamed_addr constant [71 x i8] c" data and random files (or autocorrelation if D1=D2 and R1=R2).\0A\00", align 1 @.str.4 = private unnamed_addr constant [79 x i8] c" Uses the Szalay estimator: xi(rp,pi) = (D1D2 - D1R2 - D2R1 - R1R2)/RR2\0A\00", align 1 @.str.5 = private unnamed_addr constant [63 x i8] c" * nrpbin = number of bins (logarithmically spaced in r)\0A\00", align 1 @.str.6 = private unnamed_addr constant [49 x i8] c" * ND1 = number of data points in data1\0A\00", align 1 @.str.7 = private unnamed_addr constant [49 x i8] c" * ND2 = number of data points in data2\0A\00", align 1 @.str.8 = private unnamed_addr constant [53 x i8] c" * NR1 = number of random points in random1\0A\00", align 1 @.str.9 = private unnamed_addr constant [53 x i8] c" * NR2 = number of random points in random2\0A\00", align 1 @.str.10 = private unnamed_addr constant [59 x i8] c" * D1D2 = data1-data2 pairs (output of corrfunc.c)\0A\00", align 1 @.str.11 = private unnamed_addr constant [61 x i8] c" * D1R2 = data1-random2 pairs (output of corrfunc.c)\0A\00", align 1 @.str.12 = private unnamed_addr constant [61 x i8] c" * D2R1 = data2-random1 pairs (output of corrfunc.c)\0A\00", align 1 @.str.13 = private unnamed_addr constant [63 x i8] c" * R1R2 = random1-random2 pairs (output of corrfunc.c)\0A\00", align 1 @.str.14 = private unnamed_addr constant [80 x i8] c" *[pimax] = maximum pi in integral to compute wp(rp) (default = 40 Mpc/h)\0A\00", align 1 @.str.15 = private unnamed_addr constant [53 x i8] c" > wpfile = name of output file <logrp wp(rp)>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Printhelp() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = load i32, ptr @stderr, align 4 %4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1) %5 = load i32, ptr @stderr, align 4 %6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2) %7 = load i32, ptr @stderr, align 4 %8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str.3) %9 = load i32, ptr @stderr, align 4 %10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.4) %11 = load i32, ptr @stderr, align 4 %12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.5) %13 = load i32, ptr @stderr, align 4 %14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.6) %15 = load i32, ptr @stderr, align 4 %16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str.7) %17 = load i32, ptr @stderr, align 4 %18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str.8) %19 = load i32, ptr @stderr, align 4 %20 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str.9) %21 = load i32, ptr @stderr, align 4 %22 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str.10) %23 = load i32, ptr @stderr, align 4 %24 = call i32 @fprintf(i32 noundef %23, ptr noundef @.str.11) %25 = load i32, ptr @stderr, align 4 %26 = call i32 @fprintf(i32 noundef %25, ptr noundef @.str.12) %27 = load i32, ptr @stderr, align 4 %28 = call i32 @fprintf(i32 noundef %27, ptr noundef @.str.13) %29 = load i32, ptr @stderr, align 4 %30 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str.14) %31 = load i32, ptr @stderr, align 4 %32 = call i32 @fprintf(i32 noundef %31, ptr noundef @.str.15) %33 = load i32, ptr @stderr, align 4 %34 = call i32 @fprintf(i32 noundef %33, ptr noundef @.str) ret void } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo10hsbrt.c" target datalayout = "e-m:e-p270: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 [75 x i8] c"=========================================================================\0A\00", align 1 @.str.1 = private unnamed_addr constant [72 x i8] c" --- wprp nrbin ND1 ND2 NR1 NR2 D1D2 D1R2 D2R1 R1R2 [pimax] > wpfile\0A\00", align 1 @.str.2 = private unnamed_addr constant [72 x i8] c" --- Measure the cross-correlation function wp(rp) for two different\0A\00", align 1 @.str.3 = private unnamed_addr constant [71 x i8] c" data and random files (or autocorrelation if D1=D2 and R1=R2).\0A\00", align 1 @.str.4 = private unnamed_addr constant [79 x i8] c" Uses the Szalay estimator: xi(rp,pi) = (D1D2 - D1R2 - D2R1 - R1R2)/RR2\0A\00", align 1 @.str.5 = private unnamed_addr constant [63 x i8] c" * nrpbin = number of bins (logarithmically spaced in r)\0A\00", align 1 @.str.6 = private unnamed_addr constant [49 x i8] c" * ND1 = number of data points in data1\0A\00", align 1 @.str.7 = private unnamed_addr constant [49 x i8] c" * ND2 = number of data points in data2\0A\00", align 1 @.str.8 = private unnamed_addr constant [53 x i8] c" * NR1 = number of random points in random1\0A\00", align 1 @.str.9 = private unnamed_addr constant [53 x i8] c" * NR2 = number of random points in random2\0A\00", align 1 @.str.10 = private unnamed_addr constant [59 x i8] c" * D1D2 = data1-data2 pairs (output of corrfunc.c)\0A\00", align 1 @.str.11 = private unnamed_addr constant [61 x i8] c" * D1R2 = data1-random2 pairs (output of corrfunc.c)\0A\00", align 1 @.str.12 = private unnamed_addr constant [61 x i8] c" * D2R1 = data2-random1 pairs (output of corrfunc.c)\0A\00", align 1 @.str.13 = private unnamed_addr constant [63 x i8] c" * R1R2 = random1-random2 pairs (output of corrfunc.c)\0A\00", align 1 @.str.14 = private unnamed_addr constant [80 x i8] c" *[pimax] = maximum pi in integral to compute wp(rp) (default = 40 Mpc/h)\0A\00", align 1 @.str.15 = private unnamed_addr constant [53 x i8] c" > wpfile = name of output file <logrp wp(rp)>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Printhelp() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = load i32, ptr @stderr, align 4 %4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1) %5 = load i32, ptr @stderr, align 4 %6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2) %7 = load i32, ptr @stderr, align 4 %8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str.3) %9 = load i32, ptr @stderr, align 4 %10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.4) %11 = load i32, ptr @stderr, align 4 %12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.5) %13 = load i32, ptr @stderr, align 4 %14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.6) %15 = load i32, ptr @stderr, align 4 %16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str.7) %17 = load i32, ptr @stderr, align 4 %18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str.8) %19 = load i32, ptr @stderr, align 4 %20 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str.9) %21 = load i32, ptr @stderr, align 4 %22 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str.10) %23 = load i32, ptr @stderr, align 4 %24 = call i32 @fprintf(i32 noundef %23, ptr noundef @.str.11) %25 = load i32, ptr @stderr, align 4 %26 = call i32 @fprintf(i32 noundef %25, ptr noundef @.str.12) %27 = load i32, ptr @stderr, align 4 %28 = call i32 @fprintf(i32 noundef %27, ptr noundef @.str.13) %29 = load i32, ptr @stderr, align 4 %30 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str.14) %31 = load i32, ptr @stderr, align 4 %32 = call i32 @fprintf(i32 noundef %31, ptr noundef @.str.15) %33 = load i32, ptr @stderr, align 4 %34 = call i32 @fprintf(i32 noundef %33, ptr noundef @.str) ret void } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpblfhix_l.c' source_filename = "/tmp/tmpblfhix_l.c" target datalayout = "e-m:e-p270: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 @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/tmpblfhix_l.c" target datalayout = "e-m:e-p270: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 @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/tmpv06u6_xq.c' source_filename = "/tmp/tmpv06u6_xq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"/etc/xylftp/xylftp.conf\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [85 x i8] c"can't open the configure file,please use the tool xylftppass to solve this problem!\0A\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"configure file error!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_configure() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [150 x i8], align 16 %4 = alloca i32, align 4 %5 = alloca [13 x i32], align 16 store i32 0, ptr %4, align 4 br label %6 6: ; preds = %13, %0 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 13 br i1 %8, label %9, label %16 9: ; preds = %6 %10 = load i32, ptr %4, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds [13 x i32], ptr %5, i64 0, i64 %11 store i32 0, ptr %12, align 4 br label %13 13: ; preds = %9 %14 = load i32, ptr %4, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %4, align 4 br label %6, !llvm.loop !6 16: ; preds = %6 store i32 0, ptr %4, align 4 %17 = load i32, ptr @O_RDONLY, align 4 %18 = call i32 @open(ptr noundef @.str, i32 noundef %17) store i32 %18, ptr %2, align 4 %19 = icmp eq i32 %18, -1 br i1 %19, label %20, label %23 20: ; preds = %16 %21 = load i32, ptr @stderr, align 4 %22 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str.1) store i32 -1, ptr %1, align 4 br label %37 23: ; preds = %16 %24 = load i32, ptr %2, align 4 %25 = getelementptr inbounds [150 x i8], ptr %3, i64 0, i64 0 %26 = call i32 @_read_line(i32 noundef %24, ptr noundef %25) store i32 %26, ptr %4, align 4 %27 = load i32, ptr %2, align 4 %28 = call i32 @close(i32 noundef %27) br label %29 29: ; preds = %23 %30 = getelementptr inbounds [13 x i32], ptr %5, i64 0, i64 0 %31 = call i32 @_check_configure(ptr noundef %30) %32 = icmp eq i32 %31, -1 br i1 %32, label %33, label %36 33: ; preds = %29 %34 = load i32, ptr @stderr, align 4 %35 = call i32 @fprintf(i32 noundef %34, ptr noundef @.str.2) store i32 -1, ptr %1, align 4 br label %37 36: ; preds = %29 store i32 0, ptr %1, align 4 br label %37 37: ; preds = %36, %33, %20 %38 = load i32, ptr %1, align 4 ret i32 %38 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @_read_line(i32 noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @_check_configure(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpv06u6_xq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"/etc/xylftp/xylftp.conf\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [85 x i8] c"can't open the configure file,please use the tool xylftppass to solve this problem!\0A\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"configure file error!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_configure() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [150 x i8], align 16 %4 = alloca i32, align 4 %5 = alloca [13 x i32], align 16 store i32 0, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 13 br i1 %7, label %.lr.ph, label %17 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %12 %9 = load i32, ptr %4, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds [13 x i32], ptr %5, i64 0, i64 %10 store i32 0, ptr %11, align 4 br label %12 12: ; preds = %8 %13 = load i32, ptr %4, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %4, align 4 %15 = load i32, ptr %4, align 4 %16 = icmp slt i32 %15, 13 br i1 %16, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %17 17: ; preds = %._crit_edge, %0 store i32 0, ptr %4, align 4 %18 = load i32, ptr @O_RDONLY, align 4 %19 = call i32 @open(ptr noundef @.str, i32 noundef %18) store i32 %19, ptr %2, align 4 %20 = icmp eq i32 %19, -1 br i1 %20, label %21, label %24 21: ; preds = %17 %22 = load i32, ptr @stderr, align 4 %23 = call i32 @fprintf(i32 noundef %22, ptr noundef @.str.1) store i32 -1, ptr %1, align 4 br label %38 24: ; preds = %17 %25 = load i32, ptr %2, align 4 %26 = getelementptr inbounds [150 x i8], ptr %3, i64 0, i64 0 %27 = call i32 @_read_line(i32 noundef %25, ptr noundef %26) store i32 %27, ptr %4, align 4 %28 = load i32, ptr %2, align 4 %29 = call i32 @close(i32 noundef %28) br label %30 30: ; preds = %24 %31 = getelementptr inbounds [13 x i32], ptr %5, i64 0, i64 0 %32 = call i32 @_check_configure(ptr noundef %31) %33 = icmp eq i32 %32, -1 br i1 %33, label %34, label %37 34: ; preds = %30 %35 = load i32, ptr @stderr, align 4 %36 = call i32 @fprintf(i32 noundef %35, ptr noundef @.str.2) store i32 -1, ptr %1, align 4 br label %38 37: ; preds = %30 store i32 0, ptr %1, align 4 br label %38 38: ; preds = %37, %34, %21 %39 = load i32, ptr %1, align 4 ret i32 %39 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @_read_line(i32 noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @_check_configure(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpb0hvsbgl.c' source_filename = "/tmp/tmpb0hvsbgl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @lseek(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr @ENOSYS, align 4 store i32 %7, ptr @errno, align 4 ret i32 -1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb0hvsbgl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @lseek(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr @ENOSYS, align 4 store i32 %7, ptr @errno, align 4 ret i32 -1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpstoozd_7.c' source_filename = "/tmp/tmpstoozd_7.c" target datalayout = "e-m:e-p270: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/tmpstoozd_7.c" target datalayout = "e-m:e-p270: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/tmpirpbk66v.c' source_filename = "/tmp/tmpirpbk66v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"Na pos (%d,%d) temos RGB: %d %d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @readAtPos(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 store i32 %5, ptr %12, align 4 %15 = load i32, ptr %11, align 4 %16 = load i32, ptr %9, align 4 %17 = sub nsw i32 %15, %16 %18 = sub nsw i32 %17, 1 store i32 %18, ptr %13, align 4 %19 = load ptr, ptr %7, align 8 %20 = load i32, ptr %13, align 4 %21 = load i32, ptr %10, align 4 %22 = mul nsw i32 %20, %21 %23 = load i32, ptr %12, align 4 %24 = mul nsw i32 %22, %23 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %19, i64 %25 %27 = load i32, ptr %8, align 4 %28 = load i32, ptr %12, align 4 %29 = mul nsw i32 %27, %28 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %26, i64 %30 store ptr %31, ptr %14, align 8 %32 = load i32, ptr %8, align 4 %33 = load i32, ptr %9, align 4 %34 = load ptr, ptr %14, align 8 %35 = getelementptr inbounds i8, ptr %34, i64 2 %36 = load i8, ptr %35, align 1 %37 = load ptr, ptr %14, align 8 %38 = getelementptr inbounds i8, ptr %37, i64 1 %39 = load i8, ptr %38, align 1 %40 = load ptr, ptr %14, align 8 %41 = load i8, ptr %40, align 1 %42 = call i32 @printf(ptr noundef @.str, i32 noundef %32, i32 noundef %33, i8 noundef zeroext %36, i8 noundef zeroext %39, i8 noundef zeroext %41) ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpirpbk66v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"Na pos (%d,%d) temos RGB: %d %d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @readAtPos(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 store i32 %5, ptr %12, align 4 %15 = load i32, ptr %11, align 4 %16 = load i32, ptr %9, align 4 %17 = sub nsw i32 %15, %16 %18 = sub nsw i32 %17, 1 store i32 %18, ptr %13, align 4 %19 = load ptr, ptr %7, align 8 %20 = load i32, ptr %13, align 4 %21 = load i32, ptr %10, align 4 %22 = mul nsw i32 %20, %21 %23 = load i32, ptr %12, align 4 %24 = mul nsw i32 %22, %23 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %19, i64 %25 %27 = load i32, ptr %8, align 4 %28 = load i32, ptr %12, align 4 %29 = mul nsw i32 %27, %28 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %26, i64 %30 store ptr %31, ptr %14, align 8 %32 = load i32, ptr %8, align 4 %33 = load i32, ptr %9, align 4 %34 = load ptr, ptr %14, align 8 %35 = getelementptr inbounds i8, ptr %34, i64 2 %36 = load i8, ptr %35, align 1 %37 = load ptr, ptr %14, align 8 %38 = getelementptr inbounds i8, ptr %37, i64 1 %39 = load i8, ptr %38, align 1 %40 = load ptr, ptr %14, align 8 %41 = load i8, ptr %40, align 1 %42 = call i32 @printf(ptr noundef @.str, i32 noundef %32, i32 noundef %33, i8 noundef zeroext %36, i8 noundef zeroext %39, i8 noundef zeroext %41) ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpp54i6q67.c' source_filename = "/tmp/tmpp54i6q67.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @IPPROTO_UDP = dso_local global i32 0, align 4 @INADDR_ANY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"En attente d'un message...\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"Error recvfrom : L41 - server.c\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"Message(s) envoy\C3\A9(s)...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [100 x ptr], align 16 %6 = alloca %struct.sockaddr_in, align 4 %7 = alloca [100 x i8], align 16 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 %9 = load i32, ptr @AF_INET, align 4 %10 = load i32, ptr @SOCK_DGRAM, align 4 %11 = load i32, ptr @IPPROTO_UDP, align 4 %12 = call i32 @socket(i32 noundef %9, i32 noundef %10, i32 noundef %11) store i32 %12, ptr %4, align 4 %13 = load i32, ptr @AF_INET, align 4 %14 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2 store i32 %13, ptr %14, align 4 %15 = call i32 @htons(i32 noundef 2222) %16 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1 store i32 %15, ptr %16, align 4 %17 = load i32, ptr @INADDR_ANY, align 4 %18 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0 %19 = getelementptr inbounds %struct.TYPE_2__, ptr %18, i32 0, i32 0 store i32 %17, ptr %19, align 4 %20 = load i32, ptr %4, align 4 %21 = call i32 @bind(i32 noundef %20, ptr noundef %6, i32 noundef 12) br label %22 22: ; preds = %0, %67 store i32 12, ptr %2, align 4 %23 = call i32 @printf(ptr noundef @.str) %24 = call i64 @malloc(i32 noundef 12) %25 = inttoptr i64 %24 to ptr %26 = load i32, ptr %3, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [100 x ptr], ptr %5, i64 0, i64 %27 store ptr %25, ptr %28, align 8 %29 = load i32, ptr %4, align 4 %30 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %31 = load i32, ptr %3, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [100 x ptr], ptr %5, i64 0, i64 %32 %34 = load ptr, ptr %33, align 8 %35 = call i64 @recvfrom(i32 noundef %29, ptr noundef %30, i32 noundef 100, i32 noundef 0, ptr noundef %34, ptr noundef %2) %36 = icmp slt i64 %35, 0 br i1 %36, label %37, label %39 37: ; preds = %22 %38 = call i32 @perror(ptr noundef @.str.1) br label %39 39: ; preds = %37, %22 %40 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %41 = load i8, ptr %40, align 16 %42 = sext i8 %41 to i32 %43 = icmp eq i32 %42, 64 br i1 %43, label %44, label %47 44: ; preds = %39 %45 = load i32, ptr %3, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %3, align 4 br label %67 47: ; preds = %39 store i32 0, ptr %8, align 4 br label %48 48: ; preds = %63, %47 %49 = load i32, ptr %8, align 4 %50 = load i32, ptr %3, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %52, label %66 52: ; preds = %48 %53 = load i32, ptr %4, align 4 %54 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %55 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %56 = call i32 @strlen(ptr noundef %55) %57 = load i32, ptr %8, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds [100 x ptr], ptr %5, i64 0, i64 %58 %60 = load ptr, ptr %59, align 8 %61 = load i32, ptr %2, align 4 %62 = call i32 @sendto(i32 noundef %53, ptr noundef %54, i32 noundef %56, i32 noundef 0, ptr noundef %60, i32 noundef %61) br label %63 63: ; preds = %52 %64 = load i32, ptr %8, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %8, align 4 br label %48, !llvm.loop !6 66: ; preds = %48 br label %67 67: ; preds = %66, %44 %68 = call i32 @printf(ptr noundef @.str.2) br label %22 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i64 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp54i6q67.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @IPPROTO_UDP = dso_local global i32 0, align 4 @INADDR_ANY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"En attente d'un message...\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"Error recvfrom : L41 - server.c\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"Message(s) envoy\C3\A9(s)...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [100 x ptr], align 16 %6 = alloca %struct.sockaddr_in, align 4 %7 = alloca [100 x i8], align 16 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 %9 = load i32, ptr @AF_INET, align 4 %10 = load i32, ptr @SOCK_DGRAM, align 4 %11 = load i32, ptr @IPPROTO_UDP, align 4 %12 = call i32 @socket(i32 noundef %9, i32 noundef %10, i32 noundef %11) store i32 %12, ptr %4, align 4 %13 = load i32, ptr @AF_INET, align 4 %14 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2 store i32 %13, ptr %14, align 4 %15 = call i32 @htons(i32 noundef 2222) %16 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1 store i32 %15, ptr %16, align 4 %17 = load i32, ptr @INADDR_ANY, align 4 %18 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0 %19 = getelementptr inbounds %struct.TYPE_2__, ptr %18, i32 0, i32 0 store i32 %17, ptr %19, align 4 %20 = load i32, ptr %4, align 4 %21 = call i32 @bind(i32 noundef %20, ptr noundef %6, i32 noundef 12) br label %22 22: ; preds = %69, %0 store i32 12, ptr %2, align 4 %23 = call i32 @printf(ptr noundef @.str) %24 = call i64 @malloc(i32 noundef 12) %25 = inttoptr i64 %24 to ptr %26 = load i32, ptr %3, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [100 x ptr], ptr %5, i64 0, i64 %27 store ptr %25, ptr %28, align 8 %29 = load i32, ptr %4, align 4 %30 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %31 = load i32, ptr %3, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [100 x ptr], ptr %5, i64 0, i64 %32 %34 = load ptr, ptr %33, align 8 %35 = call i64 @recvfrom(i32 noundef %29, ptr noundef %30, i32 noundef 100, i32 noundef 0, ptr noundef %34, ptr noundef %2) %36 = icmp slt i64 %35, 0 br i1 %36, label %37, label %39 37: ; preds = %22 %38 = call i32 @perror(ptr noundef @.str.1) br label %39 39: ; preds = %37, %22 %40 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %41 = load i8, ptr %40, align 16 %42 = sext i8 %41 to i32 %43 = icmp eq i32 %42, 64 br i1 %43, label %44, label %47 44: ; preds = %39 %45 = load i32, ptr %3, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %3, align 4 br label %69 47: ; preds = %39 store i32 0, ptr %8, align 4 %48 = load i32, ptr %8, align 4 %49 = load i32, ptr %3, align 4 %50 = icmp slt i32 %48, %49 br i1 %50, label %.lr.ph, label %68 .lr.ph: ; preds = %47 br label %51 51: ; preds = %.lr.ph, %62 %52 = load i32, ptr %4, align 4 %53 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %54 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %55 = call i32 @strlen(ptr noundef %54) %56 = load i32, ptr %8, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [100 x ptr], ptr %5, i64 0, i64 %57 %59 = load ptr, ptr %58, align 8 %60 = load i32, ptr %2, align 4 %61 = call i32 @sendto(i32 noundef %52, ptr noundef %53, i32 noundef %55, i32 noundef 0, ptr noundef %59, i32 noundef %60) br label %62 62: ; preds = %51 %63 = load i32, ptr %8, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %8, align 4 %65 = load i32, ptr %8, align 4 %66 = load i32, ptr %3, align 4 %67 = icmp slt i32 %65, %66 br i1 %67, label %51, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %62 br label %68 68: ; preds = %._crit_edge, %47 br label %69 69: ; preds = %68, %44 %70 = call i32 @printf(ptr noundef @.str.2) br label %22 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i64 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpykr18lsa.c' source_filename = "/tmp/tmpykr18lsa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @alpha(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 = load ptr, ptr %3, align 8 %7 = call i32 @strcmp(ptr noundef %5, ptr noundef %6) ret i32 %7 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpykr18lsa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @alpha(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 = load ptr, ptr %3, align 8 %7 = call i32 @strcmp(ptr noundef %5, ptr noundef %6) ret i32 %7 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvj8zqnxk.c' source_filename = "/tmp/tmpvj8zqnxk.c" target datalayout = "e-m:e-p270: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.s = private unnamed_addr constant [10 x i8] c"Holberton\00", align 1 @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i8], align 1 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.s, i64 10, i1 false) %3 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %4 = call i32 @printf(ptr noundef @.str, ptr noundef %3) %5 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %6 = call i32 @rev_string(ptr noundef %5) %7 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %8 = call i32 @printf(ptr noundef @.str, ptr noundef %7) 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, ptr noundef) #2 declare i32 @rev_string(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/tmpvj8zqnxk.c" target datalayout = "e-m:e-p270: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.s = private unnamed_addr constant [10 x i8] c"Holberton\00", align 1 @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i8], align 1 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.s, i64 10, i1 false) %3 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %4 = call i32 @printf(ptr noundef @.str, ptr noundef %3) %5 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %6 = call i32 @rev_string(ptr noundef %5) %7 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %8 = call i32 @printf(ptr noundef @.str, ptr noundef %7) 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, ptr noundef) #2 declare i32 @rev_string(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/tmpvhm1i11e.c' source_filename = "/tmp/tmpvhm1i11e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-> Hello World!\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"-> There's no arguments!\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"-> Args: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 2 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %3, align 4 br label %16 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %14) store i32 0, ptr %3, align 4 br label %16 16: ; preds = %11, %9 %17 = load i32, ptr %3, align 4 ret i32 %17 } 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/tmpvhm1i11e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-> Hello World!\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"-> There's no arguments!\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"-> Args: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 2 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %3, align 4 br label %16 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %14) store i32 0, ptr %3, align 4 br label %16 16: ; preds = %11, %9 %17 = load i32, ptr %3, align 4 ret i32 %17 } 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/tmp0eqt88ql.c' source_filename = "/tmp/tmp0eqt88ql.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ccnl_ccnb_consume(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 store i32 %0, ptr %8, align 4 store i32 %1, ptr %9, align 4 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store ptr %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 %14 = load i32, ptr %8, align 4 %15 = icmp eq i32 %14, 5 br i1 %15, label %19, label %16 16: ; preds = %6 %17 = load i32, ptr %8, align 4 %18 = icmp eq i32 %17, 6 br i1 %18, label %19, label %42 19: ; preds = %16, %6 %20 = load ptr, ptr %12, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %22, label %26 22: ; preds = %19 %23 = load ptr, ptr %10, align 8 %24 = load ptr, ptr %23, align 8 %25 = load ptr, ptr %12, align 8 store ptr %24, ptr %25, align 8 br label %26 26: ; preds = %22, %19 %27 = load ptr, ptr %13, align 8 %28 = icmp ne ptr %27, null br i1 %28, label %29, label %32 29: ; preds = %26 %30 = load i32, ptr %9, align 4 %31 = load ptr, ptr %13, align 8 store i32 %30, ptr %31, align 4 br label %32 32: ; preds = %29, %26 %33 = load i32, ptr %9, align 4 %34 = load ptr, ptr %10, align 8 %35 = load ptr, ptr %34, align 8 %36 = sext i32 %33 to i64 %37 = getelementptr inbounds i8, ptr %35, i64 %36 store ptr %37, ptr %34, align 8 %38 = load i32, ptr %9, align 4 %39 = load ptr, ptr %11, align 8 %40 = load i32, ptr %39, align 4 %41 = sub nsw i32 %40, %38 store i32 %41, ptr %39, align 4 store i32 0, ptr %7, align 4 br label %55 42: ; preds = %16 %43 = load i32, ptr %8, align 4 %44 = icmp eq i32 %43, 2 br i1 %44, label %48, label %45 45: ; preds = %42 %46 = load i32, ptr %8, align 4 %47 = icmp eq i32 %46, 4 br i1 %47, label %48, label %54 48: ; preds = %45, %42 %49 = load ptr, ptr %10, align 8 %50 = load ptr, ptr %11, align 8 %51 = load ptr, ptr %12, align 8 %52 = load ptr, ptr %13, align 8 %53 = call i32 @ccnl_ccnb_hunt_for_end(ptr noundef %49, ptr noundef %50, ptr noundef %51, ptr noundef %52) store i32 %53, ptr %7, align 4 br label %55 54: ; preds = %45 store i32 -1, ptr %7, align 4 br label %55 55: ; preds = %54, %48, %32 %56 = load i32, ptr %7, align 4 ret i32 %56 } declare i32 @ccnl_ccnb_hunt_for_end(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/tmp0eqt88ql.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ccnl_ccnb_consume(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 store i32 %0, ptr %8, align 4 store i32 %1, ptr %9, align 4 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store ptr %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 %14 = load i32, ptr %8, align 4 %15 = icmp eq i32 %14, 5 br i1 %15, label %19, label %16 16: ; preds = %6 %17 = load i32, ptr %8, align 4 %18 = icmp eq i32 %17, 6 br i1 %18, label %19, label %42 19: ; preds = %16, %6 %20 = load ptr, ptr %12, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %22, label %26 22: ; preds = %19 %23 = load ptr, ptr %10, align 8 %24 = load ptr, ptr %23, align 8 %25 = load ptr, ptr %12, align 8 store ptr %24, ptr %25, align 8 br label %26 26: ; preds = %22, %19 %27 = load ptr, ptr %13, align 8 %28 = icmp ne ptr %27, null br i1 %28, label %29, label %32 29: ; preds = %26 %30 = load i32, ptr %9, align 4 %31 = load ptr, ptr %13, align 8 store i32 %30, ptr %31, align 4 br label %32 32: ; preds = %29, %26 %33 = load i32, ptr %9, align 4 %34 = load ptr, ptr %10, align 8 %35 = load ptr, ptr %34, align 8 %36 = sext i32 %33 to i64 %37 = getelementptr inbounds i8, ptr %35, i64 %36 store ptr %37, ptr %34, align 8 %38 = load i32, ptr %9, align 4 %39 = load ptr, ptr %11, align 8 %40 = load i32, ptr %39, align 4 %41 = sub nsw i32 %40, %38 store i32 %41, ptr %39, align 4 store i32 0, ptr %7, align 4 br label %55 42: ; preds = %16 %43 = load i32, ptr %8, align 4 %44 = icmp eq i32 %43, 2 br i1 %44, label %48, label %45 45: ; preds = %42 %46 = load i32, ptr %8, align 4 %47 = icmp eq i32 %46, 4 br i1 %47, label %48, label %54 48: ; preds = %45, %42 %49 = load ptr, ptr %10, align 8 %50 = load ptr, ptr %11, align 8 %51 = load ptr, ptr %12, align 8 %52 = load ptr, ptr %13, align 8 %53 = call i32 @ccnl_ccnb_hunt_for_end(ptr noundef %49, ptr noundef %50, ptr noundef %51, ptr noundef %52) store i32 %53, ptr %7, align 4 br label %55 54: ; preds = %45 store i32 -1, ptr %7, align 4 br label %55 55: ; preds = %54, %48, %32 %56 = load i32, ptr %7, align 4 ret i32 %56 } declare i32 @ccnl_ccnb_hunt_for_end(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/tmpwthdydkr.c' source_filename = "/tmp/tmpwthdydkr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test5() #0 { %1 = call i32 (...) @sockets_initialize() %2 = call i32 (...) @sockets_finalize() %3 = call i32 (...) @useSockets() ret void } declare i32 @sockets_initialize(...) #1 declare i32 @sockets_finalize(...) #1 declare i32 @useSockets(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwthdydkr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test5() #0 { %1 = call i32 (...) @sockets_initialize() %2 = call i32 (...) @sockets_finalize() %3 = call i32 (...) @useSockets() ret void } declare i32 @sockets_initialize(...) #1 declare i32 @sockets_finalize(...) #1 declare i32 @useSockets(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplj5s1zhw.c' source_filename = "/tmp/tmplj5s1zhw.c" target datalayout = "e-m:e-p270: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/tmplj5s1zhw.c" target datalayout = "e-m:e-p270: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/tmpm2lx1mng.c' source_filename = "/tmp/tmpm2lx1mng.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @comparator(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @strcmp(ptr noundef %5, ptr noundef %6) ret i32 %7 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm2lx1mng.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @comparator(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @strcmp(ptr noundef %5, ptr noundef %6) ret i32 %7 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgnogwj_v.c' source_filename = "/tmp/tmpgnogwj_v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @testfunc(i32 noundef %0, double noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca double, align 8 store i32 %0, ptr %3, align 4 store double %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = sitofp i32 %5 to double %7 = call i32 @printf(ptr noundef @.str, double noundef %6) %8 = load double, ptr %4, align 8 %9 = call i32 @printf(ptr noundef @.str.1, double noundef %8) %10 = load i32, ptr %3, align 4 %11 = sitofp i32 %10 to double %12 = load double, ptr %4, align 8 %13 = fadd double %11, %12 %14 = fptosi double %13 to i32 ret i32 %14 } 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgnogwj_v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @testfunc(i32 noundef %0, double noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca double, align 8 store i32 %0, ptr %3, align 4 store double %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = sitofp i32 %5 to double %7 = call i32 @printf(ptr noundef @.str, double noundef %6) %8 = load double, ptr %4, align 8 %9 = call i32 @printf(ptr noundef @.str.1, double noundef %8) %10 = load i32, ptr %3, align 4 %11 = sitofp i32 %10 to double %12 = load double, ptr %4, align 8 %13 = fadd double %11, %12 %14 = fptosi double %13 to i32 ret i32 %14 } 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"}
; ModuleID = '/tmp/tmp48gt4dst.c' source_filename = "/tmp/tmp48gt4dst.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @svz_sendfile(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i64, align 8 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %6, align 4 %12 = load ptr, ptr %7, align 8 %13 = load i32, ptr %8, align 4 %14 = call i64 @sendfile(i32 noundef %10, i32 noundef %11, ptr noundef %12, i32 noundef %13) store i64 %14, ptr %9, align 8 %15 = load i64, ptr %9, align 8 %16 = trunc i64 %15 to i32 ret i32 %16 } declare i64 @sendfile(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp48gt4dst.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @svz_sendfile(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i64, align 8 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %6, align 4 %12 = load ptr, ptr %7, align 8 %13 = load i32, ptr %8, align 4 %14 = call i64 @sendfile(i32 noundef %10, i32 noundef %11, ptr noundef %12, i32 noundef %13) store i64 %14, ptr %9, align 8 %15 = load i64, ptr %9, align 8 %16 = trunc i64 %15 to i32 ret i32 %16 } declare i64 @sendfile(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4f2mhx7n.c' source_filename = "/tmp/tmp4f2mhx7n.c" target datalayout = "e-m:e-p270: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.addrinfo = type { i64, ptr, i64, i32 } %struct.sockaddr_in = type { i32 } %struct.sockaddr_in6 = type { i32 } @INET6_ADDRSTRLEN = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [24 x i8] c"usage: showip hostname\0A\00", align 1 @AF_UNSPEC = dso_local global i64 0, align 8 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [17 x i8] c"getaddrinfo: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"IP addresses for %s:\0A\0A\00", align 1 @AF_INET = dso_local global i64 0, align 8 @.str.3 = private unnamed_addr constant [12 x i8] c" IPv%c: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca %struct.addrinfo, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i64, align 8 %13 = alloca i8, align 1 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = 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 %17 = load i32, ptr @INET6_ADDRSTRLEN, align 4 %18 = zext i32 %17 to i64 %19 = call ptr @llvm.stacksave() store ptr %19, ptr %11, align 8 %20 = alloca i8, i64 %18, align 16 store i64 %18, ptr %12, align 8 %21 = load i32, ptr %4, align 4 %22 = icmp ne i32 %21, 2 br i1 %22, label %23, label %26 23: ; preds = %2 %24 = load i32, ptr @stderr, align 4 %25 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %24, ptr noundef @.str) store i32 1, ptr %3, align 4 store i32 1, ptr %14, align 4 br label %87 26: ; preds = %2 %27 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 32) %28 = load i64, ptr @AF_UNSPEC, align 8 %29 = getelementptr inbounds %struct.addrinfo, ptr %6, i32 0, i32 0 store i64 %28, ptr %29, align 8 %30 = load i32, ptr @SOCK_STREAM, align 4 %31 = getelementptr inbounds %struct.addrinfo, ptr %6, i32 0, i32 3 store i32 %30, ptr %31, align 8 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 1 %34 = load ptr, ptr %33, align 8 %35 = call i32 @getaddrinfo(ptr noundef %34, ptr noundef null, ptr noundef %6, ptr noundef %7) store i32 %35, ptr %10, align 4 %36 = icmp ne i32 %35, 0 br i1 %36, label %37, label %42 37: ; preds = %26 %38 = load i32, ptr @stderr, align 4 %39 = load i32, ptr %10, align 4 %40 = call ptr @gai_strerror(i32 noundef %39) %41 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %38, ptr noundef @.str.1, ptr noundef %40) store i32 2, ptr %3, align 4 store i32 1, ptr %14, align 4 br label %87 42: ; preds = %26 %43 = load ptr, ptr %5, align 8 %44 = getelementptr inbounds ptr, ptr %43, i64 1 %45 = load ptr, ptr %44, align 8 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %45) %47 = load ptr, ptr %7, align 8 store ptr %47, ptr %8, align 8 br label %48 48: ; preds = %71, %42 %49 = load ptr, ptr %8, align 8 %50 = icmp ne ptr %49, null br i1 %50, label %51, label %84 51: ; preds = %48 %52 = load ptr, ptr %8, align 8 %53 = getelementptr inbounds %struct.addrinfo, ptr %52, i32 0, i32 0 %54 = load i64, ptr %53, align 8 %55 = load i64, ptr @AF_INET, align 8 %56 = icmp eq i64 %54, %55 br i1 %56, label %57, label %64 57: ; preds = %51 %58 = load ptr, ptr %8, align 8 %59 = getelementptr inbounds %struct.addrinfo, ptr %58, i32 0, i32 2 %60 = load i64, ptr %59, align 8 %61 = inttoptr i64 %60 to ptr store ptr %61, ptr %15, align 8 %62 = load ptr, ptr %15, align 8 %63 = getelementptr inbounds %struct.sockaddr_in, ptr %62, i32 0, i32 0 store ptr %63, ptr %9, align 8 store i8 52, ptr %13, align 1 br label %71 64: ; preds = %51 %65 = load ptr, ptr %8, align 8 %66 = getelementptr inbounds %struct.addrinfo, ptr %65, i32 0, i32 2 %67 = load i64, ptr %66, align 8 %68 = inttoptr i64 %67 to ptr store ptr %68, ptr %16, align 8 %69 = load ptr, ptr %16, align 8 %70 = getelementptr inbounds %struct.sockaddr_in6, ptr %69, i32 0, i32 0 store ptr %70, ptr %9, align 8 store i8 54, ptr %13, align 1 br label %71 71: ; preds = %64, %57 %72 = load ptr, ptr %8, align 8 %73 = getelementptr inbounds %struct.addrinfo, ptr %72, i32 0, i32 0 %74 = load i64, ptr %73, align 8 %75 = load ptr, ptr %9, align 8 %76 = trunc i64 %18 to i32 %77 = call i32 @inet_ntop(i64 noundef %74, ptr noundef %75, ptr noundef %20, i32 noundef %76) %78 = load i8, ptr %13, align 1 %79 = sext i8 %78 to i32 %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %79, ptr noundef %20) %81 = load ptr, ptr %8, align 8 %82 = getelementptr inbounds %struct.addrinfo, ptr %81, i32 0, i32 1 %83 = load ptr, ptr %82, align 8 store ptr %83, ptr %8, align 8 br label %48, !llvm.loop !6 84: ; preds = %48 %85 = load ptr, ptr %7, align 8 %86 = call i32 @freeaddrinfo(ptr noundef %85) store i32 0, ptr %3, align 4 store i32 1, ptr %14, align 4 br label %87 87: ; preds = %84, %37, %23 %88 = load ptr, ptr %11, align 8 call void @llvm.stackrestore(ptr %88) %89 = load i32, ptr %3, align 4 ret i32 %89 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare ptr @gai_strerror(i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare i32 @inet_ntop(i64 noundef, ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @freeaddrinfo(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4f2mhx7n.c" target datalayout = "e-m:e-p270: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.addrinfo = type { i64, ptr, i64, i32 } %struct.sockaddr_in = type { i32 } %struct.sockaddr_in6 = type { i32 } @INET6_ADDRSTRLEN = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [24 x i8] c"usage: showip hostname\0A\00", align 1 @AF_UNSPEC = dso_local global i64 0, align 8 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [17 x i8] c"getaddrinfo: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"IP addresses for %s:\0A\0A\00", align 1 @AF_INET = dso_local global i64 0, align 8 @.str.3 = private unnamed_addr constant [12 x i8] c" IPv%c: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca %struct.addrinfo, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i64, align 8 %13 = alloca i8, align 1 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = 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 %17 = load i32, ptr @INET6_ADDRSTRLEN, align 4 %18 = zext i32 %17 to i64 %19 = call ptr @llvm.stacksave() store ptr %19, ptr %11, align 8 %20 = alloca i8, i64 %18, align 16 store i64 %18, ptr %12, align 8 %21 = load i32, ptr %4, align 4 %22 = icmp ne i32 %21, 2 br i1 %22, label %23, label %26 23: ; preds = %2 %24 = load i32, ptr @stderr, align 4 %25 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %24, ptr noundef @.str) store i32 1, ptr %3, align 4 store i32 1, ptr %14, align 4 br label %88 26: ; preds = %2 %27 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 32) %28 = load i64, ptr @AF_UNSPEC, align 8 %29 = getelementptr inbounds %struct.addrinfo, ptr %6, i32 0, i32 0 store i64 %28, ptr %29, align 8 %30 = load i32, ptr @SOCK_STREAM, align 4 %31 = getelementptr inbounds %struct.addrinfo, ptr %6, i32 0, i32 3 store i32 %30, ptr %31, align 8 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 1 %34 = load ptr, ptr %33, align 8 %35 = call i32 @getaddrinfo(ptr noundef %34, ptr noundef null, ptr noundef %6, ptr noundef %7) store i32 %35, ptr %10, align 4 %36 = icmp ne i32 %35, 0 br i1 %36, label %37, label %42 37: ; preds = %26 %38 = load i32, ptr @stderr, align 4 %39 = load i32, ptr %10, align 4 %40 = call ptr @gai_strerror(i32 noundef %39) %41 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %38, ptr noundef @.str.1, ptr noundef %40) store i32 2, ptr %3, align 4 store i32 1, ptr %14, align 4 br label %88 42: ; preds = %26 %43 = load ptr, ptr %5, align 8 %44 = getelementptr inbounds ptr, ptr %43, i64 1 %45 = load ptr, ptr %44, align 8 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %45) %47 = load ptr, ptr %7, align 8 store ptr %47, ptr %8, align 8 %48 = load ptr, ptr %8, align 8 %49 = icmp ne ptr %48, null br i1 %49, label %.lr.ph, label %85 .lr.ph: ; preds = %42 br label %50 50: ; preds = %.lr.ph, %70 %51 = load ptr, ptr %8, align 8 %52 = getelementptr inbounds %struct.addrinfo, ptr %51, i32 0, i32 0 %53 = load i64, ptr %52, align 8 %54 = load i64, ptr @AF_INET, align 8 %55 = icmp eq i64 %53, %54 br i1 %55, label %56, label %63 56: ; preds = %50 %57 = load ptr, ptr %8, align 8 %58 = getelementptr inbounds %struct.addrinfo, ptr %57, i32 0, i32 2 %59 = load i64, ptr %58, align 8 %60 = inttoptr i64 %59 to ptr store ptr %60, ptr %15, align 8 %61 = load ptr, ptr %15, align 8 %62 = getelementptr inbounds %struct.sockaddr_in, ptr %61, i32 0, i32 0 store ptr %62, ptr %9, align 8 store i8 52, ptr %13, align 1 br label %70 63: ; preds = %50 %64 = load ptr, ptr %8, align 8 %65 = getelementptr inbounds %struct.addrinfo, ptr %64, i32 0, i32 2 %66 = load i64, ptr %65, align 8 %67 = inttoptr i64 %66 to ptr store ptr %67, ptr %16, align 8 %68 = load ptr, ptr %16, align 8 %69 = getelementptr inbounds %struct.sockaddr_in6, ptr %68, i32 0, i32 0 store ptr %69, ptr %9, align 8 store i8 54, ptr %13, align 1 br label %70 70: ; preds = %63, %56 %71 = load ptr, ptr %8, align 8 %72 = getelementptr inbounds %struct.addrinfo, ptr %71, i32 0, i32 0 %73 = load i64, ptr %72, align 8 %74 = load ptr, ptr %9, align 8 %75 = trunc i64 %18 to i32 %76 = call i32 @inet_ntop(i64 noundef %73, ptr noundef %74, ptr noundef %20, i32 noundef %75) %77 = load i8, ptr %13, align 1 %78 = sext i8 %77 to i32 %79 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %78, ptr noundef %20) %80 = load ptr, ptr %8, align 8 %81 = getelementptr inbounds %struct.addrinfo, ptr %80, i32 0, i32 1 %82 = load ptr, ptr %81, align 8 store ptr %82, ptr %8, align 8 %83 = load ptr, ptr %8, align 8 %84 = icmp ne ptr %83, null br i1 %84, label %50, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %70 br label %85 85: ; preds = %._crit_edge, %42 %86 = load ptr, ptr %7, align 8 %87 = call i32 @freeaddrinfo(ptr noundef %86) store i32 0, ptr %3, align 4 store i32 1, ptr %14, align 4 br label %88 88: ; preds = %85, %37, %23 %89 = load ptr, ptr %11, align 8 call void @llvm.stackrestore(ptr %89) %90 = load i32, ptr %3, align 4 ret i32 %90 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare ptr @gai_strerror(i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare i32 @inet_ntop(i64 noundef, ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @freeaddrinfo(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp9pz_h05k.c' source_filename = "/tmp/tmp9pz_h05k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [40 x i8] c"cpu:%d CLOS_PQR_ASSOC param:%x resp:%x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @isst_clos_get_assoc_status(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = call i32 @find_phy_core_num(i32 noundef %10) store i32 %11, ptr %8, align 4 %12 = load i32, ptr %8, align 4 store i32 %12, ptr %7, align 4 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %7, align 4 %15 = call i32 @isst_send_mbox_command(i32 noundef %13, i32 noundef 208, i32 noundef 0, i32 noundef %14, i32 noundef 0, ptr noundef %6) store i32 %15, ptr %9, align 4 %16 = load i32, ptr %9, align 4 %17 = icmp ne i32 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %2 %19 = load i32, ptr %9, align 4 store i32 %19, ptr %3, align 4 br label %29 20: ; preds = %2 %21 = load i32, ptr %4, align 4 %22 = load i32, ptr %7, align 4 %23 = load i32, ptr %6, align 4 %24 = call i32 @debug_printf(ptr noundef @.str, i32 noundef %21, i32 noundef %22, i32 noundef %23) %25 = load i32, ptr %6, align 4 %26 = lshr i32 %25, 16 %27 = and i32 %26, 3 %28 = load ptr, ptr %5, align 8 store i32 %27, ptr %28, align 4 store i32 0, ptr %3, align 4 br label %29 29: ; preds = %20, %18 %30 = load i32, ptr %3, align 4 ret i32 %30 } declare i32 @find_phy_core_num(i32 noundef) #1 declare i32 @isst_send_mbox_command(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @debug_printf(ptr 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/tmp9pz_h05k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [40 x i8] c"cpu:%d CLOS_PQR_ASSOC param:%x resp:%x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @isst_clos_get_assoc_status(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = call i32 @find_phy_core_num(i32 noundef %10) store i32 %11, ptr %8, align 4 %12 = load i32, ptr %8, align 4 store i32 %12, ptr %7, align 4 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %7, align 4 %15 = call i32 @isst_send_mbox_command(i32 noundef %13, i32 noundef 208, i32 noundef 0, i32 noundef %14, i32 noundef 0, ptr noundef %6) store i32 %15, ptr %9, align 4 %16 = load i32, ptr %9, align 4 %17 = icmp ne i32 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %2 %19 = load i32, ptr %9, align 4 store i32 %19, ptr %3, align 4 br label %29 20: ; preds = %2 %21 = load i32, ptr %4, align 4 %22 = load i32, ptr %7, align 4 %23 = load i32, ptr %6, align 4 %24 = call i32 @debug_printf(ptr noundef @.str, i32 noundef %21, i32 noundef %22, i32 noundef %23) %25 = load i32, ptr %6, align 4 %26 = lshr i32 %25, 16 %27 = and i32 %26, 3 %28 = load ptr, ptr %5, align 8 store i32 %27, ptr %28, align 4 store i32 0, ptr %3, align 4 br label %29 29: ; preds = %20, %18 %30 = load i32, ptr %3, align 4 ret i32 %30 } declare i32 @find_phy_core_num(i32 noundef) #1 declare i32 @isst_send_mbox_command(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @debug_printf(ptr 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/tmpwwc6upeu.c' source_filename = "/tmp/tmpwwc6upeu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"tcp\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1, ptr %6, align 4 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 2 %12 = load ptr, ptr %11, align 8 %13 = call i32 @atoi(ptr noundef %12) store i32 %13, ptr %7, align 4 store ptr @.str, ptr %8, align 8 store ptr null, ptr %9, align 8 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = load i32, ptr %7, align 4 %18 = load ptr, ptr %8, align 8 %19 = call ptr @clnt_create(ptr noundef %16, i32 noundef %17, i32 noundef 1, ptr noundef %18) store ptr %19, ptr %9, align 8 %20 = load ptr, ptr %9, align 8 %21 = call i32 @clnt_destroy(ptr noundef %20) store i32 0, ptr %6, align 4 %22 = load i32, ptr %6, align 4 %23 = call i32 @printf(ptr noundef @.str.1, i32 noundef %22) %24 = load i32, ptr %6, align 4 ret i32 %24 } declare i32 @atoi(ptr noundef) #1 declare ptr @clnt_create(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @clnt_destroy(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwwc6upeu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"tcp\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1, ptr %6, align 4 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 2 %12 = load ptr, ptr %11, align 8 %13 = call i32 @atoi(ptr noundef %12) store i32 %13, ptr %7, align 4 store ptr @.str, ptr %8, align 8 store ptr null, ptr %9, align 8 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = load i32, ptr %7, align 4 %18 = load ptr, ptr %8, align 8 %19 = call ptr @clnt_create(ptr noundef %16, i32 noundef %17, i32 noundef 1, ptr noundef %18) store ptr %19, ptr %9, align 8 %20 = load ptr, ptr %9, align 8 %21 = call i32 @clnt_destroy(ptr noundef %20) store i32 0, ptr %6, align 4 %22 = load i32, ptr %6, align 4 %23 = call i32 @printf(ptr noundef @.str.1, i32 noundef %22) %24 = load i32, ptr %6, align 4 ret i32 %24 } declare i32 @atoi(ptr noundef) #1 declare ptr @clnt_create(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @clnt_destroy(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpy87u52rs.c' source_filename = "/tmp/tmpy87u52rs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pl_p2li(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %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 i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %26 = load ptr, ptr %7, align 8 %27 = getelementptr inbounds i16, ptr %26, i32 -1 store ptr %27, ptr %7, align 8 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds i32, ptr %28, i32 -1 store ptr %29, ptr %5, align 8 %30 = load i32, ptr %8, align 4 %31 = icmp sle i32 %30, 0 br i1 %31, label %33, label %32 32: ; preds = %4 br label %34 33: ; preds = %4 store i32 0, ptr %9, align 4 br label %306 34: ; preds = %32 %35 = load ptr, ptr %7, align 8 %36 = getelementptr inbounds i16, ptr %35, i64 3 store i16 -100, ptr %36, align 2 %37 = load ptr, ptr %7, align 8 %38 = getelementptr inbounds i16, ptr %37, i64 2 store i16 7, ptr %38, align 2 %39 = load ptr, ptr %7, align 8 %40 = getelementptr inbounds i16, ptr %39, i64 1 store i16 0, ptr %40, align 2 %41 = load ptr, ptr %7, align 8 %42 = getelementptr inbounds i16, ptr %41, i64 6 store i16 0, ptr %42, align 2 %43 = load ptr, ptr %7, align 8 %44 = getelementptr inbounds i16, ptr %43, i64 7 store i16 0, ptr %44, align 2 %45 = load i32, ptr %6, align 4 %46 = load i32, ptr %8, align 4 %47 = add nsw i32 %45, %46 %48 = sub nsw i32 %47, 1 store i32 %48, ptr %19, align 4 store i32 8, ptr %21, align 4 store i32 0, ptr %13, align 4 %49 = load i32, ptr %13, align 4 store i32 %49, ptr %10, align 4 %50 = load ptr, ptr %5, align 8 %51 = load i32, ptr %6, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i32, ptr %50, i64 %52 %54 = load i32, ptr %53, align 4 store i32 %54, ptr %11, align 4 %55 = load i32, ptr %10, align 4 %56 = load i32, ptr %11, align 4 %57 = icmp sgt i32 %55, %56 br i1 %57, label %58, label %60 58: ; preds = %34 %59 = load i32, ptr %10, align 4 br label %62 60: ; preds = %34 %61 = load i32, ptr %11, align 4 br label %62 62: ; preds = %60, %58 %63 = phi i32 [ %59, %58 ], [ %61, %60 ] store i32 %63, ptr %24, align 4 %64 = load i32, ptr %6, align 4 store i32 %64, ptr %15, align 4 %65 = load i32, ptr %6, align 4 store i32 %65, ptr %22, align 4 store i32 1, ptr %16, align 4 %66 = load i32, ptr %19, align 4 store i32 %66, ptr %10, align 4 %67 = load i32, ptr %6, align 4 store i32 %67, ptr %17, align 4 br label %68 68: ; preds = %288, %62 %69 = load i32, ptr %17, align 4 %70 = load i32, ptr %10, align 4 %71 = icmp sle i32 %69, %70 br i1 %71, label %72, label %291 72: ; preds = %68 %73 = load i32, ptr %17, align 4 %74 = load i32, ptr %19, align 4 %75 = icmp slt i32 %73, %74 br i1 %75, label %77, label %76 76: ; preds = %72 br label %108 77: ; preds = %72 %78 = load i32, ptr %13, align 4 store i32 %78, ptr %11, align 4 %79 = load ptr, ptr %5, align 8 %80 = load i32, ptr %17, align 4 %81 = add nsw i32 %80, 1 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i32, ptr %79, i64 %82 %84 = load i32, ptr %83, align 4 store i32 %84, ptr %12, align 4 %85 = load i32, ptr %11, align 4 %86 = load i32, ptr %12, align 4 %87 = icmp sgt i32 %85, %86 br i1 %87, label %88, label %90 88: ; preds = %77 %89 = load i32, ptr %11, align 4 br label %92 90: ; preds = %77 %91 = load i32, ptr %12, align 4 br label %92 92: ; preds = %90, %88 %93 = phi i32 [ %89, %88 ], [ %91, %90 ] store i32 %93, ptr %23, align 4 %94 = load i32, ptr %23, align 4 %95 = load i32, ptr %24, align 4 %96 = icmp eq i32 %94, %95 br i1 %96, label %98, label %97 97: ; preds = %92 br label %99 98: ; preds = %92 br label %287 99: ; preds = %97 %100 = load i32, ptr %24, align 4 %101 = icmp eq i32 %100, 0 br i1 %101, label %103, label %102 102: ; preds = %99 br label %107 103: ; preds = %99 %104 = load i32, ptr %23, align 4 store i32 %104, ptr %24, align 4 %105 = load i32, ptr %17, align 4 %106 = add nsw i32 %105, 1 store i32 %106, ptr %15, align 4 br label %287 107: ; preds = %102 br label %116 108: ; preds = %76 %109 = load i32, ptr %24, align 4 %110 = icmp eq i32 %109, 0 br i1 %110, label %112, label %111 111: ; preds = %108 br label %115 112: ; preds = %108 %113 = load i32, ptr %19, align 4 %114 = add nsw i32 %113, 1 store i32 %114, ptr %15, align 4 br label %115 115: ; preds = %112, %111 br label %116 116: ; preds = %115, %107 %117 = load i32, ptr %17, align 4 %118 = load i32, ptr %15, align 4 %119 = sub nsw i32 %117, %118 %120 = add nsw i32 %119, 1 store i32 %120, ptr %20, align 4 %121 = load i32, ptr %15, align 4 %122 = load i32, ptr %22, align 4 %123 = sub nsw i32 %121, %122 store i32 %123, ptr %25, align 4 %124 = load i32, ptr %24, align 4 %125 = icmp sgt i32 %124, 0 br i1 %125, label %127, label %126 126: ; preds = %116 br label %209 127: ; preds = %116 %128 = load i32, ptr %24, align 4 %129 = load i32, ptr %16, align 4 %130 = sub nsw i32 %128, %129 store i32 %130, ptr %18, align 4 %131 = load i32, ptr %18, align 4 %132 = icmp ne i32 %131, 0 br i1 %132, label %134, label %133 133: ; preds = %127 br label %208 134: ; preds = %127 %135 = load i32, ptr %24, align 4 store i32 %135, ptr %16, align 4 %136 = load i32, ptr %18, align 4 %137 = call i32 @abs(i32 noundef %136) #2 %138 = icmp sgt i32 %137, 4095 br i1 %138, label %140, label %139 139: ; preds = %134 br label %160 140: ; preds = %134 %141 = load i32, ptr %24, align 4 %142 = and i32 %141, 4095 %143 = add nsw i32 %142, 4096 %144 = trunc i32 %143 to i16 %145 = load ptr, ptr %7, align 8 %146 = load i32, ptr %21, align 4 %147 = sext i32 %146 to i64 %148 = getelementptr inbounds i16, ptr %145, i64 %147 store i16 %144, ptr %148, align 2 %149 = load i32, ptr %21, align 4 %150 = add nsw i32 %149, 1 store i32 %150, ptr %21, align 4 %151 = load i32, ptr %24, align 4 %152 = sdiv i32 %151, 4096 %153 = trunc i32 %152 to i16 %154 = load ptr, ptr %7, align 8 %155 = load i32, ptr %21, align 4 %156 = sext i32 %155 to i64 %157 = getelementptr inbounds i16, ptr %154, i64 %156 store i16 %153, ptr %157, align 2 %158 = load i32, ptr %21, align 4 %159 = add nsw i32 %158, 1 store i32 %159, ptr %21, align 4 br label %207 160: ; preds = %139 %161 = load i32, ptr %18, align 4 %162 = icmp slt i32 %161, 0 br i1 %162, label %164, label %163 163: ; preds = %160 br label %173 164: ; preds = %160 %165 = load i32, ptr %18, align 4 %166 = sub nsw i32 0, %165 %167 = add nsw i32 %166, 12288 %168 = trunc i32 %167 to i16 %169 = load ptr, ptr %7, align 8 %170 = load i32, ptr %21, align 4 %171 = sext i32 %170 to i64 %172 = getelementptr inbounds i16, ptr %169, i64 %171 store i16 %168, ptr %172, align 2 br label %181 173: ; preds = %163 %174 = load i32, ptr %18, align 4 %175 = add nsw i32 %174, 8192 %176 = trunc i32 %175 to i16 %177 = load ptr, ptr %7, align 8 %178 = load i32, ptr %21, align 4 %179 = sext i32 %178 to i64 %180 = getelementptr inbounds i16, ptr %177, i64 %179 store i16 %176, ptr %180, align 2 br label %181 181: ; preds = %173, %164 %182 = load i32, ptr %21, align 4 %183 = add nsw i32 %182, 1 store i32 %183, ptr %21, align 4 %184 = load i32, ptr %20, align 4 %185 = icmp eq i32 %184, 1 br i1 %185, label %186, label %189 186: ; preds = %181 %187 = load i32, ptr %25, align 4 %188 = icmp eq i32 %187, 0 br i1 %188, label %190, label %189 189: ; preds = %186, %181 br label %206 190: ; preds = %186 %191 = load ptr, ptr %7, align 8 %192 = load i32, ptr %21, align 4 %193 = sub nsw i32 %192, 1 %194 = sext i32 %193 to i64 %195 = getelementptr inbounds i16, ptr %191, i64 %194 %196 = load i16, ptr %195, align 2 %197 = sext i16 %196 to i32 store i32 %197, ptr %14, align 4 %198 = load i32, ptr %14, align 4 %199 = or i32 %198, 16384 %200 = trunc i32 %199 to i16 %201 = load ptr, ptr %7, align 8 %202 = load i32, ptr %21, align 4 %203 = sub nsw i32 %202, 1 %204 = sext i32 %203 to i64 %205 = getelementptr inbounds i16, ptr %201, i64 %204 store i16 %200, ptr %205, align 2 br label %282 206: ; preds = %189 br label %207 207: ; preds = %206, %140 br label %208 208: ; preds = %207, %133 br label %209 209: ; preds = %208, %126 %210 = load i32, ptr %25, align 4 %211 = icmp sgt i32 %210, 0 br i1 %211, label %213, label %212 212: ; preds = %209 br label %258 213: ; preds = %209 br label %214 214: ; preds = %224, %213 %215 = load i32, ptr %25, align 4 %216 = icmp sgt i32 %215, 0 br i1 %216, label %218, label %217 217: ; preds = %214 br label %235 218: ; preds = %214 %219 = load i32, ptr %25, align 4 %220 = icmp slt i32 4095, %219 br i1 %220, label %221, label %222 221: ; preds = %218 br label %224 222: ; preds = %218 %223 = load i32, ptr %25, align 4 br label %224 224: ; preds = %222, %221 %225 = phi i32 [ 4095, %221 ], [ %223, %222 ] %226 = trunc i32 %225 to i16 %227 = load ptr, ptr %7, align 8 %228 = load i32, ptr %21, align 4 %229 = sext i32 %228 to i64 %230 = getelementptr inbounds i16, ptr %227, i64 %229 store i16 %226, ptr %230, align 2 %231 = load i32, ptr %21, align 4 %232 = add nsw i32 %231, 1 store i32 %232, ptr %21, align 4 %233 = load i32, ptr %25, align 4 %234 = add nsw i32 %233, -4095 store i32 %234, ptr %25, align 4 br label %214 235: ; preds = %217 %236 = load i32, ptr %20, align 4 %237 = icmp eq i32 %236, 1 br i1 %237, label %238, label %241 238: ; preds = %235 %239 = load i32, ptr %24, align 4 %240 = icmp sgt i32 %239, 0 br i1 %240, label %242, label %241 241: ; preds = %238, %235 br label %257 242: ; preds = %238 %243 = load ptr, ptr %7, align 8 %244 = load i32, ptr %21, align 4 %245 = sub nsw i32 %244, 1 %246 = sext i32 %245 to i64 %247 = getelementptr inbounds i16, ptr %243, i64 %246 %248 = load i16, ptr %247, align 2 %249 = sext i16 %248 to i32 %250 = add nsw i32 %249, 20481 %251 = trunc i32 %250 to i16 %252 = load ptr, ptr %7, align 8 %253 = load i32, ptr %21, align 4 %254 = sub nsw i32 %253, 1 %255 = sext i32 %254 to i64 %256 = getelementptr inbounds i16, ptr %252, i64 %255 store i16 %251, ptr %256, align 2 br label %282 257: ; preds = %241 br label %258 258: ; preds = %257, %212 br label %259 259: ; preds = %269, %258 %260 = load i32, ptr %20, align 4 %261 = icmp sgt i32 %260, 0 br i1 %261, label %263, label %262 262: ; preds = %259 br label %281 263: ; preds = %259 %264 = load i32, ptr %20, align 4 %265 = icmp slt i32 4095, %264 br i1 %265, label %266, label %267 266: ; preds = %263 br label %269 267: ; preds = %263 %268 = load i32, ptr %20, align 4 br label %269 269: ; preds = %267, %266 %270 = phi i32 [ 4095, %266 ], [ %268, %267 ] %271 = add nsw i32 %270, 16384 %272 = trunc i32 %271 to i16 %273 = load ptr, ptr %7, align 8 %274 = load i32, ptr %21, align 4 %275 = sext i32 %274 to i64 %276 = getelementptr inbounds i16, ptr %273, i64 %275 store i16 %272, ptr %276, align 2 %277 = load i32, ptr %21, align 4 %278 = add nsw i32 %277, 1 store i32 %278, ptr %21, align 4 %279 = load i32, ptr %20, align 4 %280 = add nsw i32 %279, -4095 store i32 %280, ptr %20, align 4 br label %259 281: ; preds = %262 br label %282 282: ; preds = %281, %242, %190 %283 = load i32, ptr %17, align 4 %284 = add nsw i32 %283, 1 store i32 %284, ptr %15, align 4 %285 = load i32, ptr %15, align 4 store i32 %285, ptr %22, align 4 %286 = load i32, ptr %23, align 4 store i32 %286, ptr %24, align 4 br label %287 287: ; preds = %282, %103, %98 br label %288 288: ; preds = %287 %289 = load i32, ptr %17, align 4 %290 = add nsw i32 %289, 1 store i32 %290, ptr %17, align 4 br label %68, !llvm.loop !6 291: ; preds = %68 %292 = load i32, ptr %21, align 4 %293 = sub nsw i32 %292, 1 %294 = srem i32 %293, 32768 %295 = trunc i32 %294 to i16 %296 = load ptr, ptr %7, align 8 %297 = getelementptr inbounds i16, ptr %296, i64 4 store i16 %295, ptr %297, align 2 %298 = load i32, ptr %21, align 4 %299 = sub nsw i32 %298, 1 %300 = sdiv i32 %299, 32768 %301 = trunc i32 %300 to i16 %302 = load ptr, ptr %7, align 8 %303 = getelementptr inbounds i16, ptr %302, i64 5 store i16 %301, ptr %303, align 2 %304 = load i32, ptr %21, align 4 %305 = sub nsw i32 %304, 1 store i32 %305, ptr %9, align 4 br label %306 306: ; preds = %291, %33 %307 = load i32, ptr %9, align 4 ret i32 %307 } ; Function Attrs: nounwind willreturn memory(none) declare i32 @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 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-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 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy87u52rs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pl_p2li(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %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 i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %26 = load ptr, ptr %7, align 8 %27 = getelementptr inbounds i16, ptr %26, i32 -1 store ptr %27, ptr %7, align 8 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds i32, ptr %28, i32 -1 store ptr %29, ptr %5, align 8 %30 = load i32, ptr %8, align 4 %31 = icmp sle i32 %30, 0 br i1 %31, label %33, label %32 32: ; preds = %4 br label %34 33: ; preds = %4 store i32 0, ptr %9, align 4 br label %310 34: ; preds = %32 %35 = load ptr, ptr %7, align 8 %36 = getelementptr inbounds i16, ptr %35, i64 3 store i16 -100, ptr %36, align 2 %37 = load ptr, ptr %7, align 8 %38 = getelementptr inbounds i16, ptr %37, i64 2 store i16 7, ptr %38, align 2 %39 = load ptr, ptr %7, align 8 %40 = getelementptr inbounds i16, ptr %39, i64 1 store i16 0, ptr %40, align 2 %41 = load ptr, ptr %7, align 8 %42 = getelementptr inbounds i16, ptr %41, i64 6 store i16 0, ptr %42, align 2 %43 = load ptr, ptr %7, align 8 %44 = getelementptr inbounds i16, ptr %43, i64 7 store i16 0, ptr %44, align 2 %45 = load i32, ptr %6, align 4 %46 = load i32, ptr %8, align 4 %47 = add nsw i32 %45, %46 %48 = sub nsw i32 %47, 1 store i32 %48, ptr %19, align 4 store i32 8, ptr %21, align 4 store i32 0, ptr %13, align 4 %49 = load i32, ptr %13, align 4 store i32 %49, ptr %10, align 4 %50 = load ptr, ptr %5, align 8 %51 = load i32, ptr %6, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i32, ptr %50, i64 %52 %54 = load i32, ptr %53, align 4 store i32 %54, ptr %11, align 4 %55 = load i32, ptr %10, align 4 %56 = load i32, ptr %11, align 4 %57 = icmp sgt i32 %55, %56 br i1 %57, label %58, label %60 58: ; preds = %34 %59 = load i32, ptr %10, align 4 br label %62 60: ; preds = %34 %61 = load i32, ptr %11, align 4 br label %62 62: ; preds = %60, %58 %63 = phi i32 [ %59, %58 ], [ %61, %60 ] store i32 %63, ptr %24, align 4 %64 = load i32, ptr %6, align 4 store i32 %64, ptr %15, align 4 %65 = load i32, ptr %6, align 4 store i32 %65, ptr %22, align 4 store i32 1, ptr %16, align 4 %66 = load i32, ptr %19, align 4 store i32 %66, ptr %10, align 4 %67 = load i32, ptr %6, align 4 store i32 %67, ptr %17, align 4 %68 = load i32, ptr %17, align 4 %69 = load i32, ptr %10, align 4 %70 = icmp sle i32 %68, %69 br i1 %70, label %.lr.ph5, label %295 .lr.ph5: ; preds = %62 br label %71 71: ; preds = %.lr.ph5, %289 %72 = load i32, ptr %17, align 4 %73 = load i32, ptr %19, align 4 %74 = icmp slt i32 %72, %73 br i1 %74, label %76, label %75 75: ; preds = %71 br label %107 76: ; preds = %71 %77 = load i32, ptr %13, align 4 store i32 %77, ptr %11, align 4 %78 = load ptr, ptr %5, align 8 %79 = load i32, ptr %17, align 4 %80 = add nsw i32 %79, 1 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i32, ptr %78, i64 %81 %83 = load i32, ptr %82, align 4 store i32 %83, ptr %12, align 4 %84 = load i32, ptr %11, align 4 %85 = load i32, ptr %12, align 4 %86 = icmp sgt i32 %84, %85 br i1 %86, label %87, label %89 87: ; preds = %76 %88 = load i32, ptr %11, align 4 br label %91 89: ; preds = %76 %90 = load i32, ptr %12, align 4 br label %91 91: ; preds = %89, %87 %92 = phi i32 [ %88, %87 ], [ %90, %89 ] store i32 %92, ptr %23, align 4 %93 = load i32, ptr %23, align 4 %94 = load i32, ptr %24, align 4 %95 = icmp eq i32 %93, %94 br i1 %95, label %97, label %96 96: ; preds = %91 br label %98 97: ; preds = %91 br label %288 98: ; preds = %96 %99 = load i32, ptr %24, align 4 %100 = icmp eq i32 %99, 0 br i1 %100, label %102, label %101 101: ; preds = %98 br label %106 102: ; preds = %98 %103 = load i32, ptr %23, align 4 store i32 %103, ptr %24, align 4 %104 = load i32, ptr %17, align 4 %105 = add nsw i32 %104, 1 store i32 %105, ptr %15, align 4 br label %288 106: ; preds = %101 br label %115 107: ; preds = %75 %108 = load i32, ptr %24, align 4 %109 = icmp eq i32 %108, 0 br i1 %109, label %111, label %110 110: ; preds = %107 br label %114 111: ; preds = %107 %112 = load i32, ptr %19, align 4 %113 = add nsw i32 %112, 1 store i32 %113, ptr %15, align 4 br label %114 114: ; preds = %111, %110 br label %115 115: ; preds = %114, %106 %116 = load i32, ptr %17, align 4 %117 = load i32, ptr %15, align 4 %118 = sub nsw i32 %116, %117 %119 = add nsw i32 %118, 1 store i32 %119, ptr %20, align 4 %120 = load i32, ptr %15, align 4 %121 = load i32, ptr %22, align 4 %122 = sub nsw i32 %120, %121 store i32 %122, ptr %25, align 4 %123 = load i32, ptr %24, align 4 %124 = icmp sgt i32 %123, 0 br i1 %124, label %126, label %125 125: ; preds = %115 br label %208 126: ; preds = %115 %127 = load i32, ptr %24, align 4 %128 = load i32, ptr %16, align 4 %129 = sub nsw i32 %127, %128 store i32 %129, ptr %18, align 4 %130 = load i32, ptr %18, align 4 %131 = icmp ne i32 %130, 0 br i1 %131, label %133, label %132 132: ; preds = %126 br label %207 133: ; preds = %126 %134 = load i32, ptr %24, align 4 store i32 %134, ptr %16, align 4 %135 = load i32, ptr %18, align 4 %136 = call i32 @abs(i32 noundef %135) #2 %137 = icmp sgt i32 %136, 4095 br i1 %137, label %139, label %138 138: ; preds = %133 br label %159 139: ; preds = %133 %140 = load i32, ptr %24, align 4 %141 = and i32 %140, 4095 %142 = add nsw i32 %141, 4096 %143 = trunc i32 %142 to i16 %144 = load ptr, ptr %7, align 8 %145 = load i32, ptr %21, align 4 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds i16, ptr %144, i64 %146 store i16 %143, ptr %147, align 2 %148 = load i32, ptr %21, align 4 %149 = add nsw i32 %148, 1 store i32 %149, ptr %21, align 4 %150 = load i32, ptr %24, align 4 %151 = sdiv i32 %150, 4096 %152 = trunc i32 %151 to i16 %153 = load ptr, ptr %7, align 8 %154 = load i32, ptr %21, align 4 %155 = sext i32 %154 to i64 %156 = getelementptr inbounds i16, ptr %153, i64 %155 store i16 %152, ptr %156, align 2 %157 = load i32, ptr %21, align 4 %158 = add nsw i32 %157, 1 store i32 %158, ptr %21, align 4 br label %206 159: ; preds = %138 %160 = load i32, ptr %18, align 4 %161 = icmp slt i32 %160, 0 br i1 %161, label %163, label %162 162: ; preds = %159 br label %172 163: ; preds = %159 %164 = load i32, ptr %18, align 4 %165 = sub nsw i32 0, %164 %166 = add nsw i32 %165, 12288 %167 = trunc i32 %166 to i16 %168 = load ptr, ptr %7, align 8 %169 = load i32, ptr %21, align 4 %170 = sext i32 %169 to i64 %171 = getelementptr inbounds i16, ptr %168, i64 %170 store i16 %167, ptr %171, align 2 br label %180 172: ; preds = %162 %173 = load i32, ptr %18, align 4 %174 = add nsw i32 %173, 8192 %175 = trunc i32 %174 to i16 %176 = load ptr, ptr %7, align 8 %177 = load i32, ptr %21, align 4 %178 = sext i32 %177 to i64 %179 = getelementptr inbounds i16, ptr %176, i64 %178 store i16 %175, ptr %179, align 2 br label %180 180: ; preds = %172, %163 %181 = load i32, ptr %21, align 4 %182 = add nsw i32 %181, 1 store i32 %182, ptr %21, align 4 %183 = load i32, ptr %20, align 4 %184 = icmp eq i32 %183, 1 br i1 %184, label %185, label %188 185: ; preds = %180 %186 = load i32, ptr %25, align 4 %187 = icmp eq i32 %186, 0 br i1 %187, label %189, label %188 188: ; preds = %185, %180 br label %205 189: ; preds = %185 %190 = load ptr, ptr %7, align 8 %191 = load i32, ptr %21, align 4 %192 = sub nsw i32 %191, 1 %193 = sext i32 %192 to i64 %194 = getelementptr inbounds i16, ptr %190, i64 %193 %195 = load i16, ptr %194, align 2 %196 = sext i16 %195 to i32 store i32 %196, ptr %14, align 4 %197 = load i32, ptr %14, align 4 %198 = or i32 %197, 16384 %199 = trunc i32 %198 to i16 %200 = load ptr, ptr %7, align 8 %201 = load i32, ptr %21, align 4 %202 = sub nsw i32 %201, 1 %203 = sext i32 %202 to i64 %204 = getelementptr inbounds i16, ptr %200, i64 %203 store i16 %199, ptr %204, align 2 br label %283 205: ; preds = %188 br label %206 206: ; preds = %205, %139 br label %207 207: ; preds = %206, %132 br label %208 208: ; preds = %207, %125 %209 = load i32, ptr %25, align 4 %210 = icmp sgt i32 %209, 0 br i1 %210, label %212, label %211 211: ; preds = %208 br label %258 212: ; preds = %208 %213 = load i32, ptr %25, align 4 %214 = icmp sgt i32 %213, 0 br i1 %214, label %.lr.ph, label %215 .lr.ph: ; preds = %212 br label %216 ._crit_edge: ; preds = %222 br label %215 215: ; preds = %._crit_edge, %212 br label %235 216: ; preds = %.lr.ph, %222 %217 = load i32, ptr %25, align 4 %218 = icmp slt i32 4095, %217 br i1 %218, label %219, label %220 219: ; preds = %216 br label %222 220: ; preds = %216 %221 = load i32, ptr %25, align 4 br label %222 222: ; preds = %220, %219 %223 = phi i32 [ 4095, %219 ], [ %221, %220 ] %224 = trunc i32 %223 to i16 %225 = load ptr, ptr %7, align 8 %226 = load i32, ptr %21, align 4 %227 = sext i32 %226 to i64 %228 = getelementptr inbounds i16, ptr %225, i64 %227 store i16 %224, ptr %228, align 2 %229 = load i32, ptr %21, align 4 %230 = add nsw i32 %229, 1 store i32 %230, ptr %21, align 4 %231 = load i32, ptr %25, align 4 %232 = add nsw i32 %231, -4095 store i32 %232, ptr %25, align 4 %233 = load i32, ptr %25, align 4 %234 = icmp sgt i32 %233, 0 br i1 %234, label %216, label %._crit_edge 235: ; preds = %215 %236 = load i32, ptr %20, align 4 %237 = icmp eq i32 %236, 1 br i1 %237, label %238, label %241 238: ; preds = %235 %239 = load i32, ptr %24, align 4 %240 = icmp sgt i32 %239, 0 br i1 %240, label %242, label %241 241: ; preds = %238, %235 br label %257 242: ; preds = %238 %243 = load ptr, ptr %7, align 8 %244 = load i32, ptr %21, align 4 %245 = sub nsw i32 %244, 1 %246 = sext i32 %245 to i64 %247 = getelementptr inbounds i16, ptr %243, i64 %246 %248 = load i16, ptr %247, align 2 %249 = sext i16 %248 to i32 %250 = add nsw i32 %249, 20481 %251 = trunc i32 %250 to i16 %252 = load ptr, ptr %7, align 8 %253 = load i32, ptr %21, align 4 %254 = sub nsw i32 %253, 1 %255 = sext i32 %254 to i64 %256 = getelementptr inbounds i16, ptr %252, i64 %255 store i16 %251, ptr %256, align 2 br label %283 257: ; preds = %241 br label %258 258: ; preds = %257, %211 %259 = load i32, ptr %20, align 4 %260 = icmp sgt i32 %259, 0 br i1 %260, label %.lr.ph2, label %261 .lr.ph2: ; preds = %258 br label %262 ._crit_edge3: ; preds = %268 br label %261 261: ; preds = %._crit_edge3, %258 br label %282 262: ; preds = %.lr.ph2, %268 %263 = load i32, ptr %20, align 4 %264 = icmp slt i32 4095, %263 br i1 %264, label %265, label %266 265: ; preds = %262 br label %268 266: ; preds = %262 %267 = load i32, ptr %20, align 4 br label %268 268: ; preds = %266, %265 %269 = phi i32 [ 4095, %265 ], [ %267, %266 ] %270 = add nsw i32 %269, 16384 %271 = trunc i32 %270 to i16 %272 = load ptr, ptr %7, align 8 %273 = load i32, ptr %21, align 4 %274 = sext i32 %273 to i64 %275 = getelementptr inbounds i16, ptr %272, i64 %274 store i16 %271, ptr %275, align 2 %276 = load i32, ptr %21, align 4 %277 = add nsw i32 %276, 1 store i32 %277, ptr %21, align 4 %278 = load i32, ptr %20, align 4 %279 = add nsw i32 %278, -4095 store i32 %279, ptr %20, align 4 %280 = load i32, ptr %20, align 4 %281 = icmp sgt i32 %280, 0 br i1 %281, label %262, label %._crit_edge3 282: ; preds = %261 br label %283 283: ; preds = %282, %242, %189 %284 = load i32, ptr %17, align 4 %285 = add nsw i32 %284, 1 store i32 %285, ptr %15, align 4 %286 = load i32, ptr %15, align 4 store i32 %286, ptr %22, align 4 %287 = load i32, ptr %23, align 4 store i32 %287, ptr %24, align 4 br label %288 288: ; preds = %283, %102, %97 br label %289 289: ; preds = %288 %290 = load i32, ptr %17, align 4 %291 = add nsw i32 %290, 1 store i32 %291, ptr %17, align 4 %292 = load i32, ptr %17, align 4 %293 = load i32, ptr %10, align 4 %294 = icmp sle i32 %292, %293 br i1 %294, label %71, label %._crit_edge6, !llvm.loop !6 ._crit_edge6: ; preds = %289 br label %295 295: ; preds = %._crit_edge6, %62 %296 = load i32, ptr %21, align 4 %297 = sub nsw i32 %296, 1 %298 = srem i32 %297, 32768 %299 = trunc i32 %298 to i16 %300 = load ptr, ptr %7, align 8 %301 = getelementptr inbounds i16, ptr %300, i64 4 store i16 %299, ptr %301, align 2 %302 = load i32, ptr %21, align 4 %303 = sub nsw i32 %302, 1 %304 = sdiv i32 %303, 32768 %305 = trunc i32 %304 to i16 %306 = load ptr, ptr %7, align 8 %307 = getelementptr inbounds i16, ptr %306, i64 5 store i16 %305, ptr %307, align 2 %308 = load i32, ptr %21, align 4 %309 = sub nsw i32 %308, 1 store i32 %309, ptr %9, align 4 br label %310 310: ; preds = %295, %33 %311 = load i32, ptr %9, align 4 ret i32 %311 } ; Function Attrs: nounwind willreturn memory(none) declare i32 @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 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-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 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"}