llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpsgud_da5.c' source_filename = "/tmp/tmpsgud_da5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SlimList_Release(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 ne ptr %3, null br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load ptr, ptr %2, align 8 %7 = call i32 @free(ptr noundef %6) br label %8 8: ; preds = %5, %1 ret void } 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/tmpsgud_da5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SlimList_Release(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 ne ptr %3, null br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load ptr, ptr %2, align 8 %7 = call i32 @free(ptr noundef %6) br label %8 8: ; preds = %5, %1 ret void } 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/tmpljha09vl.c' source_filename = "/tmp/tmpljha09vl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xautolock_processQueue() #0 { %1 = call i32 @processQueue(i32 noundef 30) ret void } declare i32 @processQueue(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/tmpljha09vl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xautolock_processQueue() #0 { %1 = call i32 @processQueue(i32 noundef 30) ret void } declare i32 @processQueue(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/tmphra12a89.c' source_filename = "/tmp/tmphra12a89.c" target datalayout = "e-m:e-p270: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 [51 x i8] c"Ignoring garbage after 'v' characters in arg '%s'\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"--clean\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"--noclean\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"--size\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.5 = private unnamed_addr constant [48 x i8] c"Couldn't read --size parameter '%s'; ignoring.\0A\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"--tail\00", align 1 @.str.7 = private unnamed_addr constant [48 x i8] c"Couldn't read --tail parameter '%s'; ignoring.\0A\00", align 1 @.str.8 = private unnamed_addr constant [34 x i8] c"Invalid argument '%s'; ignoring.\0A\00", align 1 @.str.9 = private unnamed_addr constant [534 x i8] c"Usage: %s [options] { indir | - } { outdir | - }\0A\0AOptions:\0A --size bytes Set target size for mp3 files (mp3dir output only;\0A default 1000000).\0A --tail bytes How far from the end of current.mp3 to start reading\0A (mp3dir input only; default 16384).\0A -v Print more status information to stderr.\0A\0AExamples:\0A %s - - < dirty.mp3 > clean.mp3\0A {generate MP3 stream} | %s --size 99000 - /tmp/mp3dir\0A %s -v --tail 8000 /tmp/mp3dir - | {send to network client}\0A\0AWWW: http://tomclegg.net/mp3cat\0A\0A\00", align 1 @.str.10 = private unnamed_addr constant [2 x i8] c"-\00", align 1 @.str.11 = private unnamed_addr constant [40 x i8] c"Couldn't allocate %zu bytes; giving up.\00", align 1 @.str.12 = private unnamed_addr constant [2 x i8] c"/\00", align 1 @.str.13 = private unnamed_addr constant [12 x i8] c"current.mp3\00", align 1 @.str.14 = private unnamed_addr constant [14 x i8] c"%d junkbytes\0A\00", align 1 @.str.15 = private unnamed_addr constant [11 x i8] c"%d frames\0A\00", align 1 @.str.16 = private unnamed_addr constant [8 x i8] c"Found: \00", align 1 @.str.17 = private unnamed_addr constant [34 x i8] c"...but the next frame looks wrong\00", align 1 @.str.18 = private unnamed_addr constant [24 x i8] c" (version %d, layer %d)\00", align 1 @.str.19 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca [8192 x i8], align 16 %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 ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %12, align 4 store i32 0, ptr %13, align 4 store i32 0, ptr %14, align 4 store ptr null, ptr %19, align 8 store ptr null, ptr %20, align 8 store ptr null, ptr %21, align 8 store i32 1000000, ptr %22, align 4 store i32 16384, ptr %23, align 4 store i32 0, ptr %24, align 4 store i32 1, ptr %25, align 4 br label %28 28: ; preds = %205, %2 %29 = load i32, ptr %25, align 4 %30 = load i32, ptr %4, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %32, label %52 32: ; preds = %28 %33 = load ptr, ptr %5, align 8 %34 = load i32, ptr %25, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds ptr, ptr %33, i64 %35 %37 = load ptr, ptr %36, align 8 %38 = getelementptr inbounds i8, ptr %37, i64 0 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp eq i32 %40, 45 br i1 %41, label %42, label %52 42: ; preds = %32 %43 = load ptr, ptr %5, align 8 %44 = load i32, ptr %25, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds ptr, ptr %43, i64 %45 %47 = load ptr, ptr %46, align 8 %48 = getelementptr inbounds i8, ptr %47, i64 1 %49 = load i8, ptr %48, align 1 %50 = sext i8 %49 to i32 %51 = icmp ne i32 %50, 0 br label %52 52: ; preds = %42, %32, %28 %53 = phi i1 [ false, %32 ], [ false, %28 ], [ %51, %42 ] br i1 %53, label %54, label %208 54: ; preds = %52 %55 = load ptr, ptr %5, align 8 %56 = load i32, ptr %25, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds ptr, ptr %55, i64 %57 %59 = load ptr, ptr %58, align 8 %60 = getelementptr inbounds i8, ptr %59, i64 1 %61 = load i8, ptr %60, align 1 %62 = sext i8 %61 to i32 %63 = icmp eq i32 %62, 118 br i1 %63, label %64, label %102 64: ; preds = %54 store i32 1, ptr %24, align 4 br label %65 65: ; preds = %78, %64 %66 = load ptr, ptr %5, align 8 %67 = load i32, ptr %25, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds ptr, ptr %66, i64 %68 %70 = load ptr, ptr %69, align 8 %71 = load i32, ptr %24, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds i8, ptr %70, i64 %72 %74 = load i8, ptr %73, align 1 %75 = sext i8 %74 to i32 %76 = icmp eq i32 %75, 118 br i1 %76, label %77, label %81 77: ; preds = %65 br label %78 78: ; preds = %77 %79 = load i32, ptr %24, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %24, align 4 br label %65, !llvm.loop !6 81: ; preds = %65 %82 = load ptr, ptr %5, align 8 %83 = load i32, ptr %25, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds ptr, ptr %82, i64 %84 %86 = load ptr, ptr %85, align 8 %87 = load i32, ptr %24, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds i8, ptr %86, i64 %88 %90 = load i8, ptr %89, align 1 %91 = sext i8 %90 to i32 %92 = icmp ne i32 %91, 0 br i1 %92, label %93, label %101 93: ; preds = %81 %94 = load i32, ptr @stderr, align 4 %95 = load ptr, ptr %5, align 8 %96 = load i32, ptr %25, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds ptr, ptr %95, i64 %97 %99 = load ptr, ptr %98, align 8 %100 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %94, ptr noundef @.str, ptr noundef %99) br label %101 101: ; preds = %93, %81 br label %204 102: ; preds = %54 %103 = load ptr, ptr %5, align 8 %104 = load i32, ptr %25, align 4 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds ptr, ptr %103, i64 %105 %107 = load ptr, ptr %106, align 8 %108 = call i32 @strcmp(ptr noundef %107, ptr noundef @.str.1) %109 = icmp ne i32 %108, 0 br i1 %109, label %111, label %110 110: ; preds = %102 br label %203 111: ; preds = %102 %112 = load ptr, ptr %5, align 8 %113 = load i32, ptr %25, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds ptr, ptr %112, i64 %114 %116 = load ptr, ptr %115, align 8 %117 = call i32 @strcmp(ptr noundef %116, ptr noundef @.str.2) %118 = icmp ne i32 %117, 0 br i1 %118, label %120, label %119 119: ; preds = %111 br label %202 120: ; preds = %111 %121 = load i32, ptr %25, align 4 %122 = add nsw i32 %121, 1 %123 = load i32, ptr %4, align 4 %124 = icmp slt i32 %122, %123 br i1 %124, label %125, label %156 125: ; preds = %120 %126 = load ptr, ptr %5, align 8 %127 = load i32, ptr %25, align 4 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds ptr, ptr %126, i64 %128 %130 = load ptr, ptr %129, align 8 %131 = call i32 @strcmp(ptr noundef %130, ptr noundef @.str.3) %132 = icmp ne i32 %131, 0 br i1 %132, label %156, label %133 133: ; preds = %125 %134 = load ptr, ptr %5, align 8 %135 = load i32, ptr %25, align 4 %136 = add nsw i32 %135, 1 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds ptr, ptr %134, i64 %137 %139 = load ptr, ptr %138, align 8 %140 = call i64 @sscanf(ptr noundef %139, ptr noundef @.str.4, ptr noundef %26) %141 = icmp ne i64 %140, 0 br i1 %141, label %142, label %144 142: ; preds = %133 %143 = load i32, ptr %26, align 4 store i32 %143, ptr %22, align 4 br label %153 144: ; preds = %133 %145 = load i32, ptr @stderr, align 4 %146 = load ptr, ptr %5, align 8 %147 = load i32, ptr %25, align 4 %148 = add nsw i32 %147, 1 %149 = sext i32 %148 to i64 %150 = getelementptr inbounds ptr, ptr %146, i64 %149 %151 = load ptr, ptr %150, align 8 %152 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %145, ptr noundef @.str.5, ptr noundef %151) br label %153 153: ; preds = %144, %142 %154 = load i32, ptr %25, align 4 %155 = add nsw i32 %154, 1 store i32 %155, ptr %25, align 4 br label %201 156: ; preds = %125, %120 %157 = load i32, ptr %25, align 4 %158 = add nsw i32 %157, 1 %159 = load i32, ptr %4, align 4 %160 = icmp slt i32 %158, %159 br i1 %160, label %161, label %192 161: ; preds = %156 %162 = load ptr, ptr %5, align 8 %163 = load i32, ptr %25, align 4 %164 = sext i32 %163 to i64 %165 = getelementptr inbounds ptr, ptr %162, i64 %164 %166 = load ptr, ptr %165, align 8 %167 = call i32 @strcmp(ptr noundef %166, ptr noundef @.str.6) %168 = icmp ne i32 %167, 0 br i1 %168, label %192, label %169 169: ; preds = %161 %170 = load ptr, ptr %5, align 8 %171 = load i32, ptr %25, align 4 %172 = add nsw i32 %171, 1 %173 = sext i32 %172 to i64 %174 = getelementptr inbounds ptr, ptr %170, i64 %173 %175 = load ptr, ptr %174, align 8 %176 = call i64 @sscanf(ptr noundef %175, ptr noundef @.str.4, ptr noundef %27) %177 = icmp ne i64 %176, 0 br i1 %177, label %178, label %180 178: ; preds = %169 %179 = load i32, ptr %27, align 4 store i32 %179, ptr %23, align 4 br label %189 180: ; preds = %169 %181 = load i32, ptr @stderr, align 4 %182 = load ptr, ptr %5, align 8 %183 = load i32, ptr %25, align 4 %184 = add nsw i32 %183, 1 %185 = sext i32 %184 to i64 %186 = getelementptr inbounds ptr, ptr %182, i64 %185 %187 = load ptr, ptr %186, align 8 %188 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %181, ptr noundef @.str.7, ptr noundef %187) br label %189 189: ; preds = %180, %178 %190 = load i32, ptr %25, align 4 %191 = add nsw i32 %190, 1 store i32 %191, ptr %25, align 4 br label %200 192: ; preds = %161, %156 %193 = load i32, ptr @stderr, align 4 %194 = load ptr, ptr %5, align 8 %195 = load i32, ptr %25, align 4 %196 = sext i32 %195 to i64 %197 = getelementptr inbounds ptr, ptr %194, i64 %196 %198 = load ptr, ptr %197, align 8 %199 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %193, ptr noundef @.str.8, ptr noundef %198) br label %200 200: ; preds = %192, %189 br label %201 201: ; preds = %200, %153 br label %202 202: ; preds = %201, %119 br label %203 203: ; preds = %202, %110 br label %204 204: ; preds = %203, %101 br label %205 205: ; preds = %204 %206 = load i32, ptr %25, align 4 %207 = add nsw i32 %206, 1 store i32 %207, ptr %25, align 4 br label %28, !llvm.loop !8 208: ; preds = %52 %209 = load i32, ptr %4, align 4 %210 = load i32, ptr %25, align 4 %211 = sub nsw i32 %209, %210 %212 = icmp ne i32 %211, 2 br i1 %212, label %213, label %229 213: ; preds = %208 %214 = load i32, ptr @stderr, align 4 %215 = load ptr, ptr %5, align 8 %216 = getelementptr inbounds ptr, ptr %215, i64 0 %217 = load ptr, ptr %216, align 8 %218 = load ptr, ptr %5, align 8 %219 = getelementptr inbounds ptr, ptr %218, i64 0 %220 = load ptr, ptr %219, align 8 %221 = load ptr, ptr %5, align 8 %222 = getelementptr inbounds ptr, ptr %221, i64 0 %223 = load ptr, ptr %222, align 8 %224 = load ptr, ptr %5, align 8 %225 = getelementptr inbounds ptr, ptr %224, i64 0 %226 = load ptr, ptr %225, align 8 %227 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %214, ptr noundef @.str.9, ptr noundef %217, ptr noundef %220, ptr noundef %223, ptr noundef %226) %228 = call i32 @exit(i32 noundef 1) #3 unreachable 229: ; preds = %208 %230 = load ptr, ptr %5, align 8 %231 = load i32, ptr %25, align 4 %232 = sext i32 %231 to i64 %233 = getelementptr inbounds ptr, ptr %230, i64 %232 %234 = load ptr, ptr %233, align 8 %235 = call i32 @strcmp(ptr noundef %234, ptr noundef @.str.10) %236 = icmp ne i32 %235, 0 br i1 %236, label %238, label %237 237: ; preds = %229 store ptr null, ptr %19, align 8 br label %281 238: ; preds = %229 %239 = load ptr, ptr %5, align 8 %240 = load i32, ptr %25, align 4 %241 = sext i32 %240 to i64 %242 = getelementptr inbounds ptr, ptr %239, i64 %241 %243 = load ptr, ptr %242, align 8 %244 = call i64 @strlen(ptr noundef %243) %245 = add i64 %244, 21 %246 = call ptr @malloc(i64 noundef %245) store ptr %246, ptr %19, align 8 %247 = icmp ne ptr %246, null br i1 %247, label %259, label %248 248: ; preds = %238 %249 = load i32, ptr @stderr, align 4 %250 = load ptr, ptr %5, align 8 %251 = load i32, ptr %25, align 4 %252 = sext i32 %251 to i64 %253 = getelementptr inbounds ptr, ptr %250, i64 %252 %254 = load ptr, ptr %253, align 8 %255 = call i64 @strlen(ptr noundef %254) %256 = add i64 %255, 21 %257 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %249, ptr noundef @.str.11, i64 noundef %256) %258 = call i32 @exit(i32 noundef 1) #3 unreachable 259: ; preds = %238 %260 = load ptr, ptr %19, align 8 %261 = load ptr, ptr %5, align 8 %262 = load i32, ptr %25, align 4 %263 = sext i32 %262 to i64 %264 = getelementptr inbounds ptr, ptr %261, i64 %263 %265 = load ptr, ptr %264, align 8 %266 = call i32 @strcpy(ptr noundef %260, ptr noundef %265) %267 = load ptr, ptr %19, align 8 %268 = load ptr, ptr %19, align 8 %269 = call i64 @strlen(ptr noundef %268) %270 = sub i64 %269, 1 %271 = getelementptr inbounds i8, ptr %267, i64 %270 %272 = load i8, ptr %271, align 1 %273 = sext i8 %272 to i32 %274 = icmp ne i32 %273, 47 br i1 %274, label %275, label %278 275: ; preds = %259 %276 = load ptr, ptr %19, align 8 %277 = call i32 @strcat(ptr noundef %276, ptr noundef @.str.12) br label %278 278: ; preds = %275, %259 %279 = load ptr, ptr %19, align 8 %280 = call i32 @strcat(ptr noundef %279, ptr noundef @.str.13) br label %281 281: ; preds = %278, %237 %282 = load i32, ptr %25, align 4 %283 = add nsw i32 %282, 1 store i32 %283, ptr %25, align 4 %284 = load ptr, ptr %5, align 8 %285 = load i32, ptr %25, align 4 %286 = sext i32 %285 to i64 %287 = getelementptr inbounds ptr, ptr %284, i64 %286 %288 = load ptr, ptr %287, align 8 %289 = call i32 @strcmp(ptr noundef %288, ptr noundef @.str.10) %290 = icmp ne i32 %289, 0 br i1 %290, label %292, label %291 291: ; preds = %281 store ptr null, ptr %20, align 8 br label %339 292: ; preds = %281 %293 = load ptr, ptr %5, align 8 %294 = load i32, ptr %25, align 4 %295 = sext i32 %294 to i64 %296 = getelementptr inbounds ptr, ptr %293, i64 %295 %297 = load ptr, ptr %296, align 8 store ptr %297, ptr %21, align 8 %298 = load ptr, ptr %5, align 8 %299 = load i32, ptr %25, align 4 %300 = sext i32 %299 to i64 %301 = getelementptr inbounds ptr, ptr %298, i64 %300 %302 = load ptr, ptr %301, align 8 %303 = call i64 @strlen(ptr noundef %302) %304 = add i64 %303, 21 %305 = call ptr @malloc(i64 noundef %304) store ptr %305, ptr %20, align 8 %306 = icmp ne ptr %305, null br i1 %306, label %318, label %307 307: ; preds = %292 %308 = load i32, ptr @stderr, align 4 %309 = load ptr, ptr %5, align 8 %310 = load i32, ptr %25, align 4 %311 = sext i32 %310 to i64 %312 = getelementptr inbounds ptr, ptr %309, i64 %311 %313 = load ptr, ptr %312, align 8 %314 = call i64 @strlen(ptr noundef %313) %315 = add i64 %314, 21 %316 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %308, ptr noundef @.str.11, i64 noundef %315) %317 = call i32 @exit(i32 noundef 1) #3 unreachable 318: ; preds = %292 %319 = load ptr, ptr %20, align 8 %320 = load ptr, ptr %5, align 8 %321 = load i32, ptr %25, align 4 %322 = sext i32 %321 to i64 %323 = getelementptr inbounds ptr, ptr %320, i64 %322 %324 = load ptr, ptr %323, align 8 %325 = call i32 @strcpy(ptr noundef %319, ptr noundef %324) %326 = load ptr, ptr %20, align 8 %327 = load ptr, ptr %20, align 8 %328 = call i64 @strlen(ptr noundef %327) %329 = getelementptr inbounds i8, ptr %326, i64 %328 %330 = load i8, ptr %329, align 1 %331 = sext i8 %330 to i32 %332 = icmp ne i32 %331, 47 br i1 %332, label %333, label %336 333: ; preds = %318 %334 = load ptr, ptr %20, align 8 %335 = call i32 @strcat(ptr noundef %334, ptr noundef @.str.12) br label %336 336: ; preds = %333, %318 %337 = load ptr, ptr %20, align 8 %338 = call i32 @strcat(ptr noundef %337, ptr noundef @.str.13) br label %339 339: ; preds = %336, %291 br label %340 340: ; preds = %481, %339 %341 = load i32, ptr %9, align 4 %342 = icmp sgt i32 %341, 2048 br i1 %342, label %343, label %353 343: ; preds = %340 %344 = load i32, ptr %9, align 4 %345 = load i32, ptr %8, align 4 %346 = sub nsw i32 %345, %344 store i32 %346, ptr %8, align 4 %347 = getelementptr inbounds [8192 x i8], ptr %7, i64 0, i64 0 %348 = load i32, ptr %9, align 4 %349 = sext i32 %348 to i64 %350 = getelementptr inbounds [8192 x i8], ptr %7, i64 0, i64 %349 %351 = load i32, ptr %8, align 4 %352 = call i32 @memmove(ptr noundef %347, ptr noundef %350, i32 noundef %351) store i32 0, ptr %9, align 4 br label %353 353: ; preds = %343, %340 %354 = load i32, ptr %8, align 4 %355 = icmp sle i32 %354, 4096 br i1 %355, label %356, label %380 356: ; preds = %353 %357 = load i32, ptr %14, align 4 %358 = icmp ne i32 %357, 0 br i1 %358, label %380, label %359 359: ; preds = %356 %360 = load i32, ptr %8, align 4 %361 = sext i32 %360 to i64 %362 = getelementptr inbounds [8192 x i8], ptr %7, i64 0, i64 %361 %363 = load i32, ptr %8, align 4 %364 = sub nsw i32 8192, %363 %365 = load ptr, ptr %19, align 8 %366 = load i32, ptr %23, align 4 %367 = call i32 @read_buf(ptr noundef %362, i32 noundef %364, ptr noundef %365, i32 noundef %366) store i32 %367, ptr %6, align 4 %368 = load i32, ptr %6, align 4 %369 = icmp sgt i32 %368, 0 br i1 %369, label %370, label %374 370: ; preds = %359 %371 = load i32, ptr %6, align 4 %372 = load i32, ptr %8, align 4 %373 = add nsw i32 %372, %371 store i32 %373, ptr %8, align 4 br label %379 374: ; preds = %359 %375 = load ptr, ptr %19, align 8 %376 = icmp ne ptr %375, null br i1 %376, label %378, label %377 377: ; preds = %374 store i32 1, ptr %14, align 4 br label %378 378: ; preds = %377, %374 br label %379 379: ; preds = %378, %370 br label %380 380: ; preds = %379, %356, %353 %381 = load i32, ptr %9, align 4 %382 = sext i32 %381 to i64 %383 = getelementptr inbounds [8192 x i8], ptr %7, i64 0, i64 %382 %384 = load i32, ptr %8, align 4 %385 = load i32, ptr %9, align 4 %386 = sub nsw i32 %384, %385 %387 = call i32 @frame_length(ptr noundef %383, i32 noundef %386, i32 noundef 0, ptr noundef %16, ptr noundef %15) store i32 %387, ptr %10, align 4 %388 = load i32, ptr %10, align 4 %389 = icmp sgt i32 %388, 0 br i1 %389, label %390, label %436 390: ; preds = %380 %391 = load i32, ptr %9, align 4 %392 = load i32, ptr %10, align 4 %393 = add nsw i32 %391, %392 %394 = sext i32 %393 to i64 %395 = getelementptr inbounds [8192 x i8], ptr %7, i64 0, i64 %394 %396 = load i32, ptr %8, align 4 %397 = load i32, ptr %9, align 4 %398 = sub nsw i32 %396, %397 %399 = load i32, ptr %10, align 4 %400 = sub nsw i32 %398, %399 %401 = call i32 @frame_length(ptr noundef %395, i32 noundef %400, i32 noundef 0, ptr noundef %18, ptr noundef %17) store i32 %401, ptr %11, align 4 %402 = icmp ne i32 %401, 0 br i1 %402, label %403, label %436 403: ; preds = %390 %404 = load i32, ptr %18, align 4 %405 = load i32, ptr %16, align 4 %406 = icmp eq i32 %404, %405 br i1 %406, label %407, label %436 407: ; preds = %403 %408 = load i32, ptr %17, align 4 %409 = load i32, ptr %15, align 4 %410 = icmp eq i32 %408, %409 br i1 %410, label %411, label %436 411: ; preds = %407 %412 = load i32, ptr %13, align 4 %413 = add nsw i32 %412, 1 store i32 %413, ptr %13, align 4 %414 = load i32, ptr %12, align 4 %415 = icmp ne i32 %414, 0 br i1 %415, label %416, label %424 416: ; preds = %411 %417 = load i32, ptr %24, align 4 %418 = icmp sge i32 %417, 1 br i1 %418, label %419, label %423 419: ; preds = %416 %420 = load i32, ptr @stderr, align 4 %421 = load i32, ptr %12, align 4 %422 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %420, ptr noundef @.str.14, i32 noundef %421) br label %423 423: ; preds = %419, %416 store i32 0, ptr %12, align 4 br label %424 424: ; preds = %423, %411 %425 = load i32, ptr %9, align 4 %426 = sext i32 %425 to i64 %427 = getelementptr inbounds [8192 x i8], ptr %7, i64 0, i64 %426 %428 = load i32, ptr %10, align 4 %429 = load ptr, ptr %20, align 8 %430 = load ptr, ptr %21, align 8 %431 = load i32, ptr %22, align 4 %432 = call i32 @write_buf(ptr noundef %427, i32 noundef %428, ptr noundef %429, ptr noundef %430, i32 noundef %431) %433 = load i32, ptr %10, align 4 %434 = load i32, ptr %9, align 4 %435 = add nsw i32 %434, %433 store i32 %435, ptr %9, align 4 br label %480 436: ; preds = %407, %403, %390, %380 %437 = load i32, ptr %12, align 4 %438 = add nsw i32 %437, 1 store i32 %438, ptr %12, align 4 %439 = load i32, ptr %13, align 4 %440 = icmp ne i32 %439, 0 br i1 %440, label %441, label %449 441: ; preds = %436 %442 = load i32, ptr %24, align 4 %443 = icmp sge i32 %442, 1 br i1 %443, label %444, label %448 444: ; preds = %441 %445 = load i32, ptr @stderr, align 4 %446 = load i32, ptr %13, align 4 %447 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %445, ptr noundef @.str.15, i32 noundef %446) br label %448 448: ; preds = %444, %441 store i32 0, ptr %13, align 4 br label %449 449: ; preds = %448, %436 %450 = load i32, ptr %24, align 4 %451 = icmp sge i32 %450, 2 br i1 %451, label %452, label %477 452: ; preds = %449 %453 = load i32, ptr %10, align 4 %454 = icmp sgt i32 %453, 0 br i1 %454, label %455, label %477 455: ; preds = %452 %456 = load i32, ptr @stderr, align 4 %457 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %456, ptr noundef @.str.16) %458 = load i32, ptr %9, align 4 %459 = sext i32 %458 to i64 %460 = getelementptr inbounds [8192 x i8], ptr %7, i64 0, i64 %459 %461 = load i32, ptr %8, align 4 %462 = load i32, ptr %9, align 4 %463 = sub nsw i32 %461, %462 %464 = call i32 @frame_length(ptr noundef %460, i32 noundef %463, i32 noundef 1, ptr noundef %16, ptr noundef %15) store i32 %464, ptr %10, align 4 %465 = load i32, ptr @stderr, align 4 %466 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %465, ptr noundef @.str.17) %467 = load i32, ptr %11, align 4 %468 = icmp ne i32 %467, 0 br i1 %468, label %469, label %474 469: ; preds = %455 %470 = load i32, ptr @stderr, align 4 %471 = load i32, ptr %18, align 4 %472 = load i32, ptr %17, align 4 %473 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %470, ptr noundef @.str.18, i32 noundef %471, i32 noundef %472) br label %474 474: ; preds = %469, %455 %475 = load i32, ptr @stderr, align 4 %476 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %475, ptr noundef @.str.19) br label %477 477: ; preds = %474, %452, %449 %478 = load i32, ptr %9, align 4 %479 = add nsw i32 %478, 1 store i32 %479, ptr %9, align 4 br label %480 480: ; preds = %477, %424 br label %481 481: ; preds = %480 %482 = load i32, ptr %9, align 4 %483 = load i32, ptr %8, align 4 %484 = icmp slt i32 %482, %483 br i1 %484, label %340, label %485, !llvm.loop !9 485: ; preds = %481 %486 = load i32, ptr %12, align 4 %487 = icmp ne i32 %486, 0 br i1 %487, label %488, label %496 488: ; preds = %485 %489 = load i32, ptr %24, align 4 %490 = icmp sge i32 %489, 1 br i1 %490, label %491, label %495 491: ; preds = %488 %492 = load i32, ptr @stderr, align 4 %493 = load i32, ptr %12, align 4 %494 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %492, ptr noundef @.str.14, i32 noundef %493) br label %495 495: ; preds = %491, %488 store i32 0, ptr %12, align 4 br label %496 496: ; preds = %495, %485 %497 = load i32, ptr %13, align 4 %498 = icmp ne i32 %497, 0 br i1 %498, label %499, label %507 499: ; preds = %496 %500 = load i32, ptr %24, align 4 %501 = icmp sge i32 %500, 1 br i1 %501, label %502, label %506 502: ; preds = %499 %503 = load i32, ptr @stderr, align 4 %504 = load i32, ptr %13, align 4 %505 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %503, ptr noundef @.str.15, i32 noundef %504) br label %506 506: ; preds = %502, %499 store i32 0, ptr %13, align 4 br label %507 507: ; preds = %506, %496 %508 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @read_buf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @frame_length(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @write_buf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphra12a89.c" target datalayout = "e-m:e-p270: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 [51 x i8] c"Ignoring garbage after 'v' characters in arg '%s'\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"--clean\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"--noclean\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"--size\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.5 = private unnamed_addr constant [48 x i8] c"Couldn't read --size parameter '%s'; ignoring.\0A\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"--tail\00", align 1 @.str.7 = private unnamed_addr constant [48 x i8] c"Couldn't read --tail parameter '%s'; ignoring.\0A\00", align 1 @.str.8 = private unnamed_addr constant [34 x i8] c"Invalid argument '%s'; ignoring.\0A\00", align 1 @.str.9 = private unnamed_addr constant [534 x i8] c"Usage: %s [options] { indir | - } { outdir | - }\0A\0AOptions:\0A --size bytes Set target size for mp3 files (mp3dir output only;\0A default 1000000).\0A --tail bytes How far from the end of current.mp3 to start reading\0A (mp3dir input only; default 16384).\0A -v Print more status information to stderr.\0A\0AExamples:\0A %s - - < dirty.mp3 > clean.mp3\0A {generate MP3 stream} | %s --size 99000 - /tmp/mp3dir\0A %s -v --tail 8000 /tmp/mp3dir - | {send to network client}\0A\0AWWW: http://tomclegg.net/mp3cat\0A\0A\00", align 1 @.str.10 = private unnamed_addr constant [2 x i8] c"-\00", align 1 @.str.11 = private unnamed_addr constant [40 x i8] c"Couldn't allocate %zu bytes; giving up.\00", align 1 @.str.12 = private unnamed_addr constant [2 x i8] c"/\00", align 1 @.str.13 = private unnamed_addr constant [12 x i8] c"current.mp3\00", align 1 @.str.14 = private unnamed_addr constant [14 x i8] c"%d junkbytes\0A\00", align 1 @.str.15 = private unnamed_addr constant [11 x i8] c"%d frames\0A\00", align 1 @.str.16 = private unnamed_addr constant [8 x i8] c"Found: \00", align 1 @.str.17 = private unnamed_addr constant [34 x i8] c"...but the next frame looks wrong\00", align 1 @.str.18 = private unnamed_addr constant [24 x i8] c" (version %d, layer %d)\00", align 1 @.str.19 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca [8192 x i8], align 16 %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 ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %12, align 4 store i32 0, ptr %13, align 4 store i32 0, ptr %14, align 4 store ptr null, ptr %19, align 8 store ptr null, ptr %20, align 8 store ptr null, ptr %21, align 8 store i32 1000000, ptr %22, align 4 store i32 16384, ptr %23, align 4 store i32 0, ptr %24, align 4 store i32 1, ptr %25, align 4 br label %28 28: ; preds = %215, %2 %29 = load i32, ptr %25, align 4 %30 = load i32, ptr %4, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %32, label %52 32: ; preds = %28 %33 = load ptr, ptr %5, align 8 %34 = load i32, ptr %25, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds ptr, ptr %33, i64 %35 %37 = load ptr, ptr %36, align 8 %38 = getelementptr inbounds i8, ptr %37, i64 0 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp eq i32 %40, 45 br i1 %41, label %42, label %52 42: ; preds = %32 %43 = load ptr, ptr %5, align 8 %44 = load i32, ptr %25, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds ptr, ptr %43, i64 %45 %47 = load ptr, ptr %46, align 8 %48 = getelementptr inbounds i8, ptr %47, i64 1 %49 = load i8, ptr %48, align 1 %50 = sext i8 %49 to i32 %51 = icmp ne i32 %50, 0 br label %52 52: ; preds = %42, %32, %28 %53 = phi i1 [ false, %32 ], [ false, %28 ], [ %51, %42 ] br i1 %53, label %54, label %218 54: ; preds = %52 %55 = load ptr, ptr %5, align 8 %56 = load i32, ptr %25, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds ptr, ptr %55, i64 %57 %59 = load ptr, ptr %58, align 8 %60 = getelementptr inbounds i8, ptr %59, i64 1 %61 = load i8, ptr %60, align 1 %62 = sext i8 %61 to i32 %63 = icmp eq i32 %62, 118 br i1 %63, label %64, label %112 64: ; preds = %54 store i32 1, ptr %24, align 4 %65 = load ptr, ptr %5, align 8 %66 = load i32, ptr %25, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds ptr, ptr %65, i64 %67 %69 = load ptr, ptr %68, align 8 %70 = load i32, ptr %24, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i8, ptr %69, i64 %71 %73 = load i8, ptr %72, align 1 %74 = sext i8 %73 to i32 %75 = icmp eq i32 %74, 118 br i1 %75, label %.lr.ph, label %91 .lr.ph: ; preds = %64 br label %76 76: ; preds = %.lr.ph, %77 br label %77 77: ; preds = %76 %78 = load i32, ptr %24, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %24, align 4 %80 = load ptr, ptr %5, align 8 %81 = load i32, ptr %25, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds ptr, ptr %80, i64 %82 %84 = load ptr, ptr %83, align 8 %85 = load i32, ptr %24, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds i8, ptr %84, i64 %86 %88 = load i8, ptr %87, align 1 %89 = sext i8 %88 to i32 %90 = icmp eq i32 %89, 118 br i1 %90, label %76, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %77 br label %91 91: ; preds = %._crit_edge, %64 %92 = load ptr, ptr %5, align 8 %93 = load i32, ptr %25, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds ptr, ptr %92, i64 %94 %96 = load ptr, ptr %95, align 8 %97 = load i32, ptr %24, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds i8, ptr %96, i64 %98 %100 = load i8, ptr %99, align 1 %101 = sext i8 %100 to i32 %102 = icmp ne i32 %101, 0 br i1 %102, label %103, label %111 103: ; preds = %91 %104 = load i32, ptr @stderr, align 4 %105 = load ptr, ptr %5, align 8 %106 = load i32, ptr %25, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds ptr, ptr %105, i64 %107 %109 = load ptr, ptr %108, align 8 %110 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %104, ptr noundef @.str, ptr noundef %109) br label %111 111: ; preds = %103, %91 br label %214 112: ; preds = %54 %113 = load ptr, ptr %5, align 8 %114 = load i32, ptr %25, align 4 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds ptr, ptr %113, i64 %115 %117 = load ptr, ptr %116, align 8 %118 = call i32 @strcmp(ptr noundef %117, ptr noundef @.str.1) %119 = icmp ne i32 %118, 0 br i1 %119, label %121, label %120 120: ; preds = %112 br label %213 121: ; preds = %112 %122 = load ptr, ptr %5, align 8 %123 = load i32, ptr %25, align 4 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds ptr, ptr %122, i64 %124 %126 = load ptr, ptr %125, align 8 %127 = call i32 @strcmp(ptr noundef %126, ptr noundef @.str.2) %128 = icmp ne i32 %127, 0 br i1 %128, label %130, label %129 129: ; preds = %121 br label %212 130: ; preds = %121 %131 = load i32, ptr %25, align 4 %132 = add nsw i32 %131, 1 %133 = load i32, ptr %4, align 4 %134 = icmp slt i32 %132, %133 br i1 %134, label %135, label %166 135: ; preds = %130 %136 = load ptr, ptr %5, align 8 %137 = load i32, ptr %25, align 4 %138 = sext i32 %137 to i64 %139 = getelementptr inbounds ptr, ptr %136, i64 %138 %140 = load ptr, ptr %139, align 8 %141 = call i32 @strcmp(ptr noundef %140, ptr noundef @.str.3) %142 = icmp ne i32 %141, 0 br i1 %142, label %166, label %143 143: ; preds = %135 %144 = load ptr, ptr %5, align 8 %145 = load i32, ptr %25, align 4 %146 = add nsw i32 %145, 1 %147 = sext i32 %146 to i64 %148 = getelementptr inbounds ptr, ptr %144, i64 %147 %149 = load ptr, ptr %148, align 8 %150 = call i64 @sscanf(ptr noundef %149, ptr noundef @.str.4, ptr noundef %26) %151 = icmp ne i64 %150, 0 br i1 %151, label %152, label %154 152: ; preds = %143 %153 = load i32, ptr %26, align 4 store i32 %153, ptr %22, align 4 br label %163 154: ; preds = %143 %155 = load i32, ptr @stderr, align 4 %156 = load ptr, ptr %5, align 8 %157 = load i32, ptr %25, align 4 %158 = add nsw i32 %157, 1 %159 = sext i32 %158 to i64 %160 = getelementptr inbounds ptr, ptr %156, i64 %159 %161 = load ptr, ptr %160, align 8 %162 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %155, ptr noundef @.str.5, ptr noundef %161) br label %163 163: ; preds = %154, %152 %164 = load i32, ptr %25, align 4 %165 = add nsw i32 %164, 1 store i32 %165, ptr %25, align 4 br label %211 166: ; preds = %135, %130 %167 = load i32, ptr %25, align 4 %168 = add nsw i32 %167, 1 %169 = load i32, ptr %4, align 4 %170 = icmp slt i32 %168, %169 br i1 %170, label %171, label %202 171: ; preds = %166 %172 = load ptr, ptr %5, align 8 %173 = load i32, ptr %25, align 4 %174 = sext i32 %173 to i64 %175 = getelementptr inbounds ptr, ptr %172, i64 %174 %176 = load ptr, ptr %175, align 8 %177 = call i32 @strcmp(ptr noundef %176, ptr noundef @.str.6) %178 = icmp ne i32 %177, 0 br i1 %178, label %202, label %179 179: ; preds = %171 %180 = load ptr, ptr %5, align 8 %181 = load i32, ptr %25, align 4 %182 = add nsw i32 %181, 1 %183 = sext i32 %182 to i64 %184 = getelementptr inbounds ptr, ptr %180, i64 %183 %185 = load ptr, ptr %184, align 8 %186 = call i64 @sscanf(ptr noundef %185, ptr noundef @.str.4, ptr noundef %27) %187 = icmp ne i64 %186, 0 br i1 %187, label %188, label %190 188: ; preds = %179 %189 = load i32, ptr %27, align 4 store i32 %189, ptr %23, align 4 br label %199 190: ; preds = %179 %191 = load i32, ptr @stderr, align 4 %192 = load ptr, ptr %5, align 8 %193 = load i32, ptr %25, align 4 %194 = add nsw i32 %193, 1 %195 = sext i32 %194 to i64 %196 = getelementptr inbounds ptr, ptr %192, i64 %195 %197 = load ptr, ptr %196, align 8 %198 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %191, ptr noundef @.str.7, ptr noundef %197) br label %199 199: ; preds = %190, %188 %200 = load i32, ptr %25, align 4 %201 = add nsw i32 %200, 1 store i32 %201, ptr %25, align 4 br label %210 202: ; preds = %171, %166 %203 = load i32, ptr @stderr, align 4 %204 = load ptr, ptr %5, align 8 %205 = load i32, ptr %25, align 4 %206 = sext i32 %205 to i64 %207 = getelementptr inbounds ptr, ptr %204, i64 %206 %208 = load ptr, ptr %207, align 8 %209 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %203, ptr noundef @.str.8, ptr noundef %208) br label %210 210: ; preds = %202, %199 br label %211 211: ; preds = %210, %163 br label %212 212: ; preds = %211, %129 br label %213 213: ; preds = %212, %120 br label %214 214: ; preds = %213, %111 br label %215 215: ; preds = %214 %216 = load i32, ptr %25, align 4 %217 = add nsw i32 %216, 1 store i32 %217, ptr %25, align 4 br label %28, !llvm.loop !8 218: ; preds = %52 %219 = load i32, ptr %4, align 4 %220 = load i32, ptr %25, align 4 %221 = sub nsw i32 %219, %220 %222 = icmp ne i32 %221, 2 br i1 %222, label %223, label %239 223: ; preds = %218 %224 = load i32, ptr @stderr, align 4 %225 = load ptr, ptr %5, align 8 %226 = getelementptr inbounds ptr, ptr %225, i64 0 %227 = load ptr, ptr %226, align 8 %228 = load ptr, ptr %5, align 8 %229 = getelementptr inbounds ptr, ptr %228, i64 0 %230 = load ptr, ptr %229, align 8 %231 = load ptr, ptr %5, align 8 %232 = getelementptr inbounds ptr, ptr %231, i64 0 %233 = load ptr, ptr %232, align 8 %234 = load ptr, ptr %5, align 8 %235 = getelementptr inbounds ptr, ptr %234, i64 0 %236 = load ptr, ptr %235, align 8 %237 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %224, ptr noundef @.str.9, ptr noundef %227, ptr noundef %230, ptr noundef %233, ptr noundef %236) %238 = call i32 @exit(i32 noundef 1) #3 unreachable 239: ; preds = %218 %240 = load ptr, ptr %5, align 8 %241 = load i32, ptr %25, align 4 %242 = sext i32 %241 to i64 %243 = getelementptr inbounds ptr, ptr %240, i64 %242 %244 = load ptr, ptr %243, align 8 %245 = call i32 @strcmp(ptr noundef %244, ptr noundef @.str.10) %246 = icmp ne i32 %245, 0 br i1 %246, label %248, label %247 247: ; preds = %239 store ptr null, ptr %19, align 8 br label %291 248: ; preds = %239 %249 = load ptr, ptr %5, align 8 %250 = load i32, ptr %25, align 4 %251 = sext i32 %250 to i64 %252 = getelementptr inbounds ptr, ptr %249, i64 %251 %253 = load ptr, ptr %252, align 8 %254 = call i64 @strlen(ptr noundef %253) %255 = add i64 %254, 21 %256 = call ptr @malloc(i64 noundef %255) store ptr %256, ptr %19, align 8 %257 = icmp ne ptr %256, null br i1 %257, label %269, label %258 258: ; preds = %248 %259 = load i32, ptr @stderr, align 4 %260 = load ptr, ptr %5, align 8 %261 = load i32, ptr %25, align 4 %262 = sext i32 %261 to i64 %263 = getelementptr inbounds ptr, ptr %260, i64 %262 %264 = load ptr, ptr %263, align 8 %265 = call i64 @strlen(ptr noundef %264) %266 = add i64 %265, 21 %267 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %259, ptr noundef @.str.11, i64 noundef %266) %268 = call i32 @exit(i32 noundef 1) #3 unreachable 269: ; preds = %248 %270 = load ptr, ptr %19, align 8 %271 = load ptr, ptr %5, align 8 %272 = load i32, ptr %25, align 4 %273 = sext i32 %272 to i64 %274 = getelementptr inbounds ptr, ptr %271, i64 %273 %275 = load ptr, ptr %274, align 8 %276 = call i32 @strcpy(ptr noundef %270, ptr noundef %275) %277 = load ptr, ptr %19, align 8 %278 = load ptr, ptr %19, align 8 %279 = call i64 @strlen(ptr noundef %278) %280 = sub i64 %279, 1 %281 = getelementptr inbounds i8, ptr %277, i64 %280 %282 = load i8, ptr %281, align 1 %283 = sext i8 %282 to i32 %284 = icmp ne i32 %283, 47 br i1 %284, label %285, label %288 285: ; preds = %269 %286 = load ptr, ptr %19, align 8 %287 = call i32 @strcat(ptr noundef %286, ptr noundef @.str.12) br label %288 288: ; preds = %285, %269 %289 = load ptr, ptr %19, align 8 %290 = call i32 @strcat(ptr noundef %289, ptr noundef @.str.13) br label %291 291: ; preds = %288, %247 %292 = load i32, ptr %25, align 4 %293 = add nsw i32 %292, 1 store i32 %293, ptr %25, align 4 %294 = load ptr, ptr %5, align 8 %295 = load i32, ptr %25, align 4 %296 = sext i32 %295 to i64 %297 = getelementptr inbounds ptr, ptr %294, i64 %296 %298 = load ptr, ptr %297, align 8 %299 = call i32 @strcmp(ptr noundef %298, ptr noundef @.str.10) %300 = icmp ne i32 %299, 0 br i1 %300, label %302, label %301 301: ; preds = %291 store ptr null, ptr %20, align 8 br label %349 302: ; preds = %291 %303 = load ptr, ptr %5, align 8 %304 = load i32, ptr %25, align 4 %305 = sext i32 %304 to i64 %306 = getelementptr inbounds ptr, ptr %303, i64 %305 %307 = load ptr, ptr %306, align 8 store ptr %307, ptr %21, align 8 %308 = load ptr, ptr %5, align 8 %309 = load i32, ptr %25, align 4 %310 = sext i32 %309 to i64 %311 = getelementptr inbounds ptr, ptr %308, i64 %310 %312 = load ptr, ptr %311, align 8 %313 = call i64 @strlen(ptr noundef %312) %314 = add i64 %313, 21 %315 = call ptr @malloc(i64 noundef %314) store ptr %315, ptr %20, align 8 %316 = icmp ne ptr %315, null br i1 %316, label %328, label %317 317: ; preds = %302 %318 = load i32, ptr @stderr, align 4 %319 = load ptr, ptr %5, align 8 %320 = load i32, ptr %25, align 4 %321 = sext i32 %320 to i64 %322 = getelementptr inbounds ptr, ptr %319, i64 %321 %323 = load ptr, ptr %322, align 8 %324 = call i64 @strlen(ptr noundef %323) %325 = add i64 %324, 21 %326 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %318, ptr noundef @.str.11, i64 noundef %325) %327 = call i32 @exit(i32 noundef 1) #3 unreachable 328: ; preds = %302 %329 = load ptr, ptr %20, align 8 %330 = load ptr, ptr %5, align 8 %331 = load i32, ptr %25, align 4 %332 = sext i32 %331 to i64 %333 = getelementptr inbounds ptr, ptr %330, i64 %332 %334 = load ptr, ptr %333, align 8 %335 = call i32 @strcpy(ptr noundef %329, ptr noundef %334) %336 = load ptr, ptr %20, align 8 %337 = load ptr, ptr %20, align 8 %338 = call i64 @strlen(ptr noundef %337) %339 = getelementptr inbounds i8, ptr %336, i64 %338 %340 = load i8, ptr %339, align 1 %341 = sext i8 %340 to i32 %342 = icmp ne i32 %341, 47 br i1 %342, label %343, label %346 343: ; preds = %328 %344 = load ptr, ptr %20, align 8 %345 = call i32 @strcat(ptr noundef %344, ptr noundef @.str.12) br label %346 346: ; preds = %343, %328 %347 = load ptr, ptr %20, align 8 %348 = call i32 @strcat(ptr noundef %347, ptr noundef @.str.13) br label %349 349: ; preds = %346, %301 br label %350 350: ; preds = %491, %349 %351 = load i32, ptr %9, align 4 %352 = icmp sgt i32 %351, 2048 br i1 %352, label %353, label %363 353: ; preds = %350 %354 = load i32, ptr %9, align 4 %355 = load i32, ptr %8, align 4 %356 = sub nsw i32 %355, %354 store i32 %356, ptr %8, align 4 %357 = getelementptr inbounds [8192 x i8], ptr %7, i64 0, i64 0 %358 = load i32, ptr %9, align 4 %359 = sext i32 %358 to i64 %360 = getelementptr inbounds [8192 x i8], ptr %7, i64 0, i64 %359 %361 = load i32, ptr %8, align 4 %362 = call i32 @memmove(ptr noundef %357, ptr noundef %360, i32 noundef %361) store i32 0, ptr %9, align 4 br label %363 363: ; preds = %353, %350 %364 = load i32, ptr %8, align 4 %365 = icmp sle i32 %364, 4096 br i1 %365, label %366, label %390 366: ; preds = %363 %367 = load i32, ptr %14, align 4 %368 = icmp ne i32 %367, 0 br i1 %368, label %390, label %369 369: ; preds = %366 %370 = load i32, ptr %8, align 4 %371 = sext i32 %370 to i64 %372 = getelementptr inbounds [8192 x i8], ptr %7, i64 0, i64 %371 %373 = load i32, ptr %8, align 4 %374 = sub nsw i32 8192, %373 %375 = load ptr, ptr %19, align 8 %376 = load i32, ptr %23, align 4 %377 = call i32 @read_buf(ptr noundef %372, i32 noundef %374, ptr noundef %375, i32 noundef %376) store i32 %377, ptr %6, align 4 %378 = load i32, ptr %6, align 4 %379 = icmp sgt i32 %378, 0 br i1 %379, label %380, label %384 380: ; preds = %369 %381 = load i32, ptr %6, align 4 %382 = load i32, ptr %8, align 4 %383 = add nsw i32 %382, %381 store i32 %383, ptr %8, align 4 br label %389 384: ; preds = %369 %385 = load ptr, ptr %19, align 8 %386 = icmp ne ptr %385, null br i1 %386, label %388, label %387 387: ; preds = %384 store i32 1, ptr %14, align 4 br label %388 388: ; preds = %387, %384 br label %389 389: ; preds = %388, %380 br label %390 390: ; preds = %389, %366, %363 %391 = load i32, ptr %9, align 4 %392 = sext i32 %391 to i64 %393 = getelementptr inbounds [8192 x i8], ptr %7, i64 0, i64 %392 %394 = load i32, ptr %8, align 4 %395 = load i32, ptr %9, align 4 %396 = sub nsw i32 %394, %395 %397 = call i32 @frame_length(ptr noundef %393, i32 noundef %396, i32 noundef 0, ptr noundef %16, ptr noundef %15) store i32 %397, ptr %10, align 4 %398 = load i32, ptr %10, align 4 %399 = icmp sgt i32 %398, 0 br i1 %399, label %400, label %446 400: ; preds = %390 %401 = load i32, ptr %9, align 4 %402 = load i32, ptr %10, align 4 %403 = add nsw i32 %401, %402 %404 = sext i32 %403 to i64 %405 = getelementptr inbounds [8192 x i8], ptr %7, i64 0, i64 %404 %406 = load i32, ptr %8, align 4 %407 = load i32, ptr %9, align 4 %408 = sub nsw i32 %406, %407 %409 = load i32, ptr %10, align 4 %410 = sub nsw i32 %408, %409 %411 = call i32 @frame_length(ptr noundef %405, i32 noundef %410, i32 noundef 0, ptr noundef %18, ptr noundef %17) store i32 %411, ptr %11, align 4 %412 = icmp ne i32 %411, 0 br i1 %412, label %413, label %446 413: ; preds = %400 %414 = load i32, ptr %18, align 4 %415 = load i32, ptr %16, align 4 %416 = icmp eq i32 %414, %415 br i1 %416, label %417, label %446 417: ; preds = %413 %418 = load i32, ptr %17, align 4 %419 = load i32, ptr %15, align 4 %420 = icmp eq i32 %418, %419 br i1 %420, label %421, label %446 421: ; preds = %417 %422 = load i32, ptr %13, align 4 %423 = add nsw i32 %422, 1 store i32 %423, ptr %13, align 4 %424 = load i32, ptr %12, align 4 %425 = icmp ne i32 %424, 0 br i1 %425, label %426, label %434 426: ; preds = %421 %427 = load i32, ptr %24, align 4 %428 = icmp sge i32 %427, 1 br i1 %428, label %429, label %433 429: ; preds = %426 %430 = load i32, ptr @stderr, align 4 %431 = load i32, ptr %12, align 4 %432 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %430, ptr noundef @.str.14, i32 noundef %431) br label %433 433: ; preds = %429, %426 store i32 0, ptr %12, align 4 br label %434 434: ; preds = %433, %421 %435 = load i32, ptr %9, align 4 %436 = sext i32 %435 to i64 %437 = getelementptr inbounds [8192 x i8], ptr %7, i64 0, i64 %436 %438 = load i32, ptr %10, align 4 %439 = load ptr, ptr %20, align 8 %440 = load ptr, ptr %21, align 8 %441 = load i32, ptr %22, align 4 %442 = call i32 @write_buf(ptr noundef %437, i32 noundef %438, ptr noundef %439, ptr noundef %440, i32 noundef %441) %443 = load i32, ptr %10, align 4 %444 = load i32, ptr %9, align 4 %445 = add nsw i32 %444, %443 store i32 %445, ptr %9, align 4 br label %490 446: ; preds = %417, %413, %400, %390 %447 = load i32, ptr %12, align 4 %448 = add nsw i32 %447, 1 store i32 %448, ptr %12, align 4 %449 = load i32, ptr %13, align 4 %450 = icmp ne i32 %449, 0 br i1 %450, label %451, label %459 451: ; preds = %446 %452 = load i32, ptr %24, align 4 %453 = icmp sge i32 %452, 1 br i1 %453, label %454, label %458 454: ; preds = %451 %455 = load i32, ptr @stderr, align 4 %456 = load i32, ptr %13, align 4 %457 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %455, ptr noundef @.str.15, i32 noundef %456) br label %458 458: ; preds = %454, %451 store i32 0, ptr %13, align 4 br label %459 459: ; preds = %458, %446 %460 = load i32, ptr %24, align 4 %461 = icmp sge i32 %460, 2 br i1 %461, label %462, label %487 462: ; preds = %459 %463 = load i32, ptr %10, align 4 %464 = icmp sgt i32 %463, 0 br i1 %464, label %465, label %487 465: ; preds = %462 %466 = load i32, ptr @stderr, align 4 %467 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %466, ptr noundef @.str.16) %468 = load i32, ptr %9, align 4 %469 = sext i32 %468 to i64 %470 = getelementptr inbounds [8192 x i8], ptr %7, i64 0, i64 %469 %471 = load i32, ptr %8, align 4 %472 = load i32, ptr %9, align 4 %473 = sub nsw i32 %471, %472 %474 = call i32 @frame_length(ptr noundef %470, i32 noundef %473, i32 noundef 1, ptr noundef %16, ptr noundef %15) store i32 %474, ptr %10, align 4 %475 = load i32, ptr @stderr, align 4 %476 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %475, ptr noundef @.str.17) %477 = load i32, ptr %11, align 4 %478 = icmp ne i32 %477, 0 br i1 %478, label %479, label %484 479: ; preds = %465 %480 = load i32, ptr @stderr, align 4 %481 = load i32, ptr %18, align 4 %482 = load i32, ptr %17, align 4 %483 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %480, ptr noundef @.str.18, i32 noundef %481, i32 noundef %482) br label %484 484: ; preds = %479, %465 %485 = load i32, ptr @stderr, align 4 %486 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %485, ptr noundef @.str.19) br label %487 487: ; preds = %484, %462, %459 %488 = load i32, ptr %9, align 4 %489 = add nsw i32 %488, 1 store i32 %489, ptr %9, align 4 br label %490 490: ; preds = %487, %434 br label %491 491: ; preds = %490 %492 = load i32, ptr %9, align 4 %493 = load i32, ptr %8, align 4 %494 = icmp slt i32 %492, %493 br i1 %494, label %350, label %495, !llvm.loop !9 495: ; preds = %491 %496 = load i32, ptr %12, align 4 %497 = icmp ne i32 %496, 0 br i1 %497, label %498, label %506 498: ; preds = %495 %499 = load i32, ptr %24, align 4 %500 = icmp sge i32 %499, 1 br i1 %500, label %501, label %505 501: ; preds = %498 %502 = load i32, ptr @stderr, align 4 %503 = load i32, ptr %12, align 4 %504 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %502, ptr noundef @.str.14, i32 noundef %503) br label %505 505: ; preds = %501, %498 store i32 0, ptr %12, align 4 br label %506 506: ; preds = %505, %495 %507 = load i32, ptr %13, align 4 %508 = icmp ne i32 %507, 0 br i1 %508, label %509, label %517 509: ; preds = %506 %510 = load i32, ptr %24, align 4 %511 = icmp sge i32 %510, 1 br i1 %511, label %512, label %516 512: ; preds = %509 %513 = load i32, ptr @stderr, align 4 %514 = load i32, ptr %13, align 4 %515 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %513, ptr noundef @.str.15, i32 noundef %514) br label %516 516: ; preds = %512, %509 store i32 0, ptr %13, align 4 br label %517 517: ; preds = %516, %506 %518 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @read_buf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @frame_length(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @write_buf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp7gaep3d1.c' source_filename = "/tmp/tmp7gaep3d1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"enter n(n=1--15):\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"%5d\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [15 x [15 x i32]], 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 1, ptr %6, align 4 br label %8 8: ; preds = %24, %0 %9 = load i32, ptr %6, align 4 %10 = icmp eq i32 %9, 1 br i1 %10, label %11, label %25 11: ; preds = %8 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) %13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7) %14 = load i32, ptr %7, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %24 16: ; preds = %11 %17 = load i32, ptr %7, align 4 %18 = icmp sle i32 %17, 15 br i1 %18, label %19, label %24 19: ; preds = %16 %20 = load i32, ptr %7, align 4 %21 = srem i32 %20, 2 %22 = icmp ne i32 %21, 0 br i1 %22, label %23, label %24 23: ; preds = %19 store i32 0, ptr %6, align 4 br label %24 24: ; preds = %23, %19, %16, %11 br label %8, !llvm.loop !6 25: ; preds = %8 store i32 1, ptr %3, align 4 br label %26 26: ; preds = %46, %25 %27 = load i32, ptr %3, align 4 %28 = load i32, ptr %7, align 4 %29 = icmp sle i32 %27, %28 br i1 %29, label %30, label %49 30: ; preds = %26 store i32 1, ptr %4, align 4 br label %31 31: ; preds = %42, %30 %32 = load i32, ptr %4, align 4 %33 = load i32, ptr %7, align 4 %34 = icmp sle i32 %32, %33 br i1 %34, label %35, label %45 35: ; preds = %31 %36 = load i32, ptr %3, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [15 x [15 x i32]], ptr %2, i64 0, i64 %37 %39 = load i32, ptr %4, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [15 x i32], ptr %38, i64 0, i64 %40 store i32 0, ptr %41, align 4 br label %42 42: ; preds = %35 %43 = load i32, ptr %4, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %4, align 4 br label %31, !llvm.loop !8 45: ; preds = %31 br label %46 46: ; preds = %45 %47 = load i32, ptr %3, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %3, align 4 br label %26, !llvm.loop !9 49: ; preds = %26 %50 = load i32, ptr %7, align 4 %51 = sdiv i32 %50, 2 %52 = add nsw i32 %51, 1 store i32 %52, ptr %4, align 4 %53 = getelementptr inbounds [15 x [15 x i32]], ptr %2, i64 0, i64 1 %54 = load i32, ptr %4, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds [15 x i32], ptr %53, i64 0, i64 %55 store i32 1, ptr %56, align 4 store i32 2, ptr %5, align 4 br label %57 57: ; preds = %120, %49 %58 = load i32, ptr %5, align 4 %59 = load i32, ptr %7, align 4 %60 = load i32, ptr %7, align 4 %61 = mul nsw i32 %59, %60 %62 = icmp sle i32 %58, %61 br i1 %62, label %63, label %123 63: ; preds = %57 %64 = load i32, ptr %3, align 4 %65 = sub nsw i32 %64, 1 store i32 %65, ptr %3, align 4 %66 = load i32, ptr %4, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %4, align 4 %68 = load i32, ptr %3, align 4 %69 = icmp slt i32 %68, 1 br i1 %69, label %70, label %79 70: ; preds = %63 %71 = load i32, ptr %4, align 4 %72 = load i32, ptr %7, align 4 %73 = icmp sgt i32 %71, %72 br i1 %73, label %74, label %79 74: ; preds = %70 %75 = load i32, ptr %3, align 4 %76 = add nsw i32 %75, 2 store i32 %76, ptr %3, align 4 %77 = load i32, ptr %4, align 4 %78 = sub nsw i32 %77, 1 store i32 %78, ptr %4, align 4 br label %90 79: ; preds = %70, %63 %80 = load i32, ptr %3, align 4 %81 = icmp slt i32 %80, 1 br i1 %81, label %82, label %84 82: ; preds = %79 %83 = load i32, ptr %7, align 4 store i32 %83, ptr %3, align 4 br label %84 84: ; preds = %82, %79 %85 = load i32, ptr %4, align 4 %86 = load i32, ptr %7, align 4 %87 = icmp sgt i32 %85, %86 br i1 %87, label %88, label %89 88: ; preds = %84 store i32 1, ptr %4, align 4 br label %89 89: ; preds = %88, %84 br label %90 90: ; preds = %89, %74 %91 = load i32, ptr %3, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds [15 x [15 x i32]], ptr %2, i64 0, i64 %92 %94 = load i32, ptr %4, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds [15 x i32], ptr %93, i64 0, i64 %95 %97 = load i32, ptr %96, align 4 %98 = icmp eq i32 %97, 0 br i1 %98, label %99, label %107 99: ; preds = %90 %100 = load i32, ptr %5, align 4 %101 = load i32, ptr %3, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds [15 x [15 x i32]], ptr %2, i64 0, i64 %102 %104 = load i32, ptr %4, align 4 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds [15 x i32], ptr %103, i64 0, i64 %105 store i32 %100, ptr %106, align 4 br label %119 107: ; preds = %90 %108 = load i32, ptr %3, align 4 %109 = add nsw i32 %108, 2 store i32 %109, ptr %3, align 4 %110 = load i32, ptr %4, align 4 %111 = sub nsw i32 %110, 1 store i32 %111, ptr %4, align 4 %112 = load i32, ptr %5, align 4 %113 = load i32, ptr %3, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds [15 x [15 x i32]], ptr %2, i64 0, i64 %114 %116 = load i32, ptr %4, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds [15 x i32], ptr %115, i64 0, i64 %117 store i32 %112, ptr %118, align 4 br label %119 119: ; preds = %107, %99 br label %120 120: ; preds = %119 %121 = load i32, ptr %5, align 4 %122 = add nsw i32 %121, 1 store i32 %122, ptr %5, align 4 br label %57, !llvm.loop !10 123: ; preds = %57 store i32 1, ptr %3, align 4 br label %124 124: ; preds = %147, %123 %125 = load i32, ptr %3, align 4 %126 = load i32, ptr %7, align 4 %127 = icmp sle i32 %125, %126 br i1 %127, label %128, label %150 128: ; preds = %124 store i32 1, ptr %4, align 4 br label %129 129: ; preds = %142, %128 %130 = load i32, ptr %4, align 4 %131 = load i32, ptr %7, align 4 %132 = icmp sle i32 %130, %131 br i1 %132, label %133, label %145 133: ; preds = %129 %134 = load i32, ptr %3, align 4 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds [15 x [15 x i32]], ptr %2, i64 0, i64 %135 %137 = load i32, ptr %4, align 4 %138 = sext i32 %137 to i64 %139 = getelementptr inbounds [15 x i32], ptr %136, i64 0, i64 %138 %140 = load i32, ptr %139, align 4 %141 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %140) br label %142 142: ; preds = %133 %143 = load i32, ptr %4, align 4 %144 = add nsw i32 %143, 1 store i32 %144, ptr %4, align 4 br label %129, !llvm.loop !11 145: ; preds = %129 %146 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %147 147: ; preds = %145 %148 = load i32, ptr %3, align 4 %149 = add nsw i32 %148, 1 store i32 %149, ptr %3, align 4 br label %124, !llvm.loop !12 150: ; preds = %124 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} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7gaep3d1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"enter n(n=1--15):\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"%5d\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [15 x [15 x i32]], 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 1, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = icmp eq i32 %8, 1 br i1 %9, label %.lr.ph, label %26 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %23 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) %12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7) %13 = load i32, ptr %7, align 4 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %23 15: ; preds = %10 %16 = load i32, ptr %7, align 4 %17 = icmp sle i32 %16, 15 br i1 %17, label %18, label %23 18: ; preds = %15 %19 = load i32, ptr %7, align 4 %20 = srem i32 %19, 2 %21 = icmp ne i32 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %18 store i32 0, ptr %6, align 4 br label %23 23: ; preds = %22, %18, %15, %10 %24 = load i32, ptr %6, align 4 %25 = icmp eq i32 %24, 1 br i1 %25, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %26 26: ; preds = %._crit_edge, %0 store i32 1, ptr %3, align 4 %27 = load i32, ptr %3, align 4 %28 = load i32, ptr %7, align 4 %29 = icmp sle i32 %27, %28 br i1 %29, label %.lr.ph5, label %54 .lr.ph5: ; preds = %26 br label %30 30: ; preds = %.lr.ph5, %48 store i32 1, ptr %4, align 4 %31 = load i32, ptr %4, align 4 %32 = load i32, ptr %7, align 4 %33 = icmp sle i32 %31, %32 br i1 %33, label %.lr.ph2, label %47 .lr.ph2: ; preds = %30 br label %34 34: ; preds = %.lr.ph2, %41 %35 = load i32, ptr %3, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [15 x [15 x i32]], ptr %2, i64 0, i64 %36 %38 = load i32, ptr %4, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [15 x i32], ptr %37, i64 0, i64 %39 store i32 0, ptr %40, align 4 br label %41 41: ; preds = %34 %42 = load i32, ptr %4, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %4, align 4 %44 = load i32, ptr %4, align 4 %45 = load i32, ptr %7, align 4 %46 = icmp sle i32 %44, %45 br i1 %46, label %34, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %41 br label %47 47: ; preds = %._crit_edge3, %30 br label %48 48: ; preds = %47 %49 = load i32, ptr %3, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %3, align 4 %51 = load i32, ptr %3, align 4 %52 = load i32, ptr %7, align 4 %53 = icmp sle i32 %51, %52 br i1 %53, label %30, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %48 br label %54 54: ; preds = %._crit_edge6, %26 %55 = load i32, ptr %7, align 4 %56 = sdiv i32 %55, 2 %57 = add nsw i32 %56, 1 store i32 %57, ptr %4, align 4 %58 = getelementptr inbounds [15 x [15 x i32]], ptr %2, i64 0, i64 1 %59 = load i32, ptr %4, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [15 x i32], ptr %58, i64 0, i64 %60 store i32 1, ptr %61, align 4 store i32 2, ptr %5, align 4 %62 = load i32, ptr %5, align 4 %63 = load i32, ptr %7, align 4 %64 = load i32, ptr %7, align 4 %65 = mul nsw i32 %63, %64 %66 = icmp sle i32 %62, %65 br i1 %66, label %.lr.ph8, label %132 .lr.ph8: ; preds = %54 br label %67 67: ; preds = %.lr.ph8, %124 %68 = load i32, ptr %3, align 4 %69 = sub nsw i32 %68, 1 store i32 %69, ptr %3, align 4 %70 = load i32, ptr %4, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %4, align 4 %72 = load i32, ptr %3, align 4 %73 = icmp slt i32 %72, 1 br i1 %73, label %74, label %83 74: ; preds = %67 %75 = load i32, ptr %4, align 4 %76 = load i32, ptr %7, align 4 %77 = icmp sgt i32 %75, %76 br i1 %77, label %78, label %83 78: ; preds = %74 %79 = load i32, ptr %3, align 4 %80 = add nsw i32 %79, 2 store i32 %80, ptr %3, align 4 %81 = load i32, ptr %4, align 4 %82 = sub nsw i32 %81, 1 store i32 %82, ptr %4, align 4 br label %94 83: ; preds = %74, %67 %84 = load i32, ptr %3, align 4 %85 = icmp slt i32 %84, 1 br i1 %85, label %86, label %88 86: ; preds = %83 %87 = load i32, ptr %7, align 4 store i32 %87, ptr %3, align 4 br label %88 88: ; preds = %86, %83 %89 = load i32, ptr %4, align 4 %90 = load i32, ptr %7, align 4 %91 = icmp sgt i32 %89, %90 br i1 %91, label %92, label %93 92: ; preds = %88 store i32 1, ptr %4, align 4 br label %93 93: ; preds = %92, %88 br label %94 94: ; preds = %93, %78 %95 = load i32, ptr %3, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds [15 x [15 x i32]], ptr %2, i64 0, i64 %96 %98 = load i32, ptr %4, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds [15 x i32], ptr %97, i64 0, i64 %99 %101 = load i32, ptr %100, align 4 %102 = icmp eq i32 %101, 0 br i1 %102, label %103, label %111 103: ; preds = %94 %104 = load i32, ptr %5, align 4 %105 = load i32, ptr %3, align 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds [15 x [15 x i32]], ptr %2, i64 0, i64 %106 %108 = load i32, ptr %4, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds [15 x i32], ptr %107, i64 0, i64 %109 store i32 %104, ptr %110, align 4 br label %123 111: ; preds = %94 %112 = load i32, ptr %3, align 4 %113 = add nsw i32 %112, 2 store i32 %113, ptr %3, align 4 %114 = load i32, ptr %4, align 4 %115 = sub nsw i32 %114, 1 store i32 %115, ptr %4, align 4 %116 = load i32, ptr %5, align 4 %117 = load i32, ptr %3, align 4 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds [15 x [15 x i32]], ptr %2, i64 0, i64 %118 %120 = load i32, ptr %4, align 4 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds [15 x i32], ptr %119, i64 0, i64 %121 store i32 %116, ptr %122, align 4 br label %123 123: ; preds = %111, %103 br label %124 124: ; preds = %123 %125 = load i32, ptr %5, align 4 %126 = add nsw i32 %125, 1 store i32 %126, ptr %5, align 4 %127 = load i32, ptr %5, align 4 %128 = load i32, ptr %7, align 4 %129 = load i32, ptr %7, align 4 %130 = mul nsw i32 %128, %129 %131 = icmp sle i32 %127, %130 br i1 %131, label %67, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %124 br label %132 132: ; preds = %._crit_edge9, %54 store i32 1, ptr %3, align 4 %133 = load i32, ptr %3, align 4 %134 = load i32, ptr %7, align 4 %135 = icmp sle i32 %133, %134 br i1 %135, label %.lr.ph14, label %163 .lr.ph14: ; preds = %132 br label %136 136: ; preds = %.lr.ph14, %157 store i32 1, ptr %4, align 4 %137 = load i32, ptr %4, align 4 %138 = load i32, ptr %7, align 4 %139 = icmp sle i32 %137, %138 br i1 %139, label %.lr.ph11, label %155 .lr.ph11: ; preds = %136 br label %140 140: ; preds = %.lr.ph11, %149 %141 = load i32, ptr %3, align 4 %142 = sext i32 %141 to i64 %143 = getelementptr inbounds [15 x [15 x i32]], ptr %2, i64 0, i64 %142 %144 = load i32, ptr %4, align 4 %145 = sext i32 %144 to i64 %146 = getelementptr inbounds [15 x i32], ptr %143, i64 0, i64 %145 %147 = load i32, ptr %146, align 4 %148 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %147) br label %149 149: ; preds = %140 %150 = load i32, ptr %4, align 4 %151 = add nsw i32 %150, 1 store i32 %151, ptr %4, align 4 %152 = load i32, ptr %4, align 4 %153 = load i32, ptr %7, align 4 %154 = icmp sle i32 %152, %153 br i1 %154, label %140, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %149 br label %155 155: ; preds = %._crit_edge12, %136 %156 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %157 157: ; preds = %155 %158 = load i32, ptr %3, align 4 %159 = add nsw i32 %158, 1 store i32 %159, ptr %3, align 4 %160 = load i32, ptr %3, align 4 %161 = load i32, ptr %7, align 4 %162 = icmp sle i32 %160, %161 br i1 %162, label %136, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %157 br label %163 163: ; preds = %._crit_edge15, %132 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} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '/tmp/tmp6c9a3t_f.c' source_filename = "/tmp/tmp6c9a3t_f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @m_sort(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %10 = load i32, ptr %8, align 4 %11 = load i32, ptr %7, align 4 %12 = icmp sgt i32 %10, %11 br i1 %12, label %13, label %34 13: ; preds = %4 %14 = load i32, ptr %8, align 4 %15 = load i32, ptr %7, align 4 %16 = add nsw i32 %14, %15 %17 = ashr i32 %16, 1 store i32 %17, ptr %9, align 4 %18 = load ptr, ptr %5, align 8 %19 = load ptr, ptr %6, align 8 %20 = load i32, ptr %7, align 4 %21 = load i32, ptr %9, align 4 call void @m_sort(ptr noundef %18, ptr noundef %19, i32 noundef %20, i32 noundef %21) %22 = load ptr, ptr %5, align 8 %23 = load ptr, ptr %6, align 8 %24 = load i32, ptr %9, align 4 %25 = add nsw i32 %24, 1 %26 = load i32, ptr %8, align 4 call void @m_sort(ptr noundef %22, ptr noundef %23, i32 noundef %25, i32 noundef %26) %27 = load ptr, ptr %5, align 8 %28 = load ptr, ptr %6, align 8 %29 = load i32, ptr %7, align 4 %30 = load i32, ptr %9, align 4 %31 = add nsw i32 %30, 1 %32 = load i32, ptr %8, align 4 %33 = call i32 @merge(ptr noundef %27, ptr noundef %28, i32 noundef %29, i32 noundef %31, i32 noundef %32) br label %34 34: ; preds = %13, %4 ret void } declare i32 @merge(ptr noundef, 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/tmp6c9a3t_f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @m_sort(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %10 = load i32, ptr %8, align 4 %11 = load i32, ptr %7, align 4 %12 = icmp sgt i32 %10, %11 br i1 %12, label %13, label %34 13: ; preds = %4 %14 = load i32, ptr %8, align 4 %15 = load i32, ptr %7, align 4 %16 = add nsw i32 %14, %15 %17 = ashr i32 %16, 1 store i32 %17, ptr %9, align 4 %18 = load ptr, ptr %5, align 8 %19 = load ptr, ptr %6, align 8 %20 = load i32, ptr %7, align 4 %21 = load i32, ptr %9, align 4 call void @m_sort(ptr noundef %18, ptr noundef %19, i32 noundef %20, i32 noundef %21) %22 = load ptr, ptr %5, align 8 %23 = load ptr, ptr %6, align 8 %24 = load i32, ptr %9, align 4 %25 = add nsw i32 %24, 1 %26 = load i32, ptr %8, align 4 call void @m_sort(ptr noundef %22, ptr noundef %23, i32 noundef %25, i32 noundef %26) %27 = load ptr, ptr %5, align 8 %28 = load ptr, ptr %6, align 8 %29 = load i32, ptr %7, align 4 %30 = load i32, ptr %9, align 4 %31 = add nsw i32 %30, 1 %32 = load i32, ptr %8, align 4 %33 = call i32 @merge(ptr noundef %27, ptr noundef %28, i32 noundef %29, i32 noundef %31, i32 noundef %32) br label %34 34: ; preds = %13, %4 ret void } declare i32 @merge(ptr noundef, 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/tmpvnyltp7u.c' source_filename = "/tmp/tmpvnyltp7u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"ic_token_list_print: ERROR list was null\00", align 1 @.str.1 = private unnamed_addr constant [66 x i8] c"ic_token_list_print: call to ic_token_list_get for i '%d' failed\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ic_token_list_print(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store ptr null, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %8 = load ptr, ptr %4, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %12, label %10 10: ; preds = %2 %11 = call i32 @puts(ptr noundef @.str) br label %35 12: ; preds = %2 %13 = load ptr, ptr %4, align 8 %14 = call i32 @ic_token_list_length(ptr noundef %13) store i32 %14, ptr %7, align 4 store i32 0, ptr %6, align 4 br label %15 15: ; preds = %32, %12 %16 = load i32, ptr %6, align 4 %17 = load i32, ptr %7, align 4 %18 = icmp ult i32 %16, %17 br i1 %18, label %19, label %35 19: ; preds = %15 %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %6, align 4 %22 = call ptr @ic_token_list_get(ptr noundef %20, i32 noundef %21) store ptr %22, ptr %5, align 8 %23 = load ptr, ptr %5, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %28, label %25 25: ; preds = %19 %26 = load i32, ptr %6, align 4 %27 = call i32 @printf(ptr noundef @.str.1, i32 noundef %26) br label %35 28: ; preds = %19 %29 = load ptr, ptr %3, align 8 %30 = load ptr, ptr %5, align 8 %31 = call i32 @ic_token_print(ptr noundef %29, ptr noundef %30) br label %32 32: ; preds = %28 %33 = load i32, ptr %6, align 4 %34 = add i32 %33, 1 store i32 %34, ptr %6, align 4 br label %15, !llvm.loop !6 35: ; preds = %10, %25, %15 ret void } declare i32 @puts(ptr noundef) #1 declare i32 @ic_token_list_length(ptr noundef) #1 declare ptr @ic_token_list_get(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @ic_token_print(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvnyltp7u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"ic_token_list_print: ERROR list was null\00", align 1 @.str.1 = private unnamed_addr constant [66 x i8] c"ic_token_list_print: call to ic_token_list_get for i '%d' failed\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ic_token_list_print(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store ptr null, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %8 = load ptr, ptr %4, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %12, label %10 10: ; preds = %2 %11 = call i32 @puts(ptr noundef @.str) br label %37 12: ; preds = %2 %13 = load ptr, ptr %4, align 8 %14 = call i32 @ic_token_list_length(ptr noundef %13) store i32 %14, ptr %7, align 4 store i32 0, ptr %6, align 4 %15 = load i32, ptr %6, align 4 %16 = load i32, ptr %7, align 4 %17 = icmp ult i32 %15, %16 br i1 %17, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %12 br label %18 18: ; preds = %.lr.ph, %31 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %6, align 4 %21 = call ptr @ic_token_list_get(ptr noundef %19, i32 noundef %20) store ptr %21, ptr %5, align 8 %22 = load ptr, ptr %5, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %27, label %24 24: ; preds = %18 %25 = load i32, ptr %6, align 4 %26 = call i32 @printf(ptr noundef @.str.1, i32 noundef %25) br label %37 27: ; preds = %18 %28 = load ptr, ptr %3, align 8 %29 = load ptr, ptr %5, align 8 %30 = call i32 @ic_token_print(ptr noundef %28, ptr noundef %29) br label %31 31: ; preds = %27 %32 = load i32, ptr %6, align 4 %33 = add i32 %32, 1 store i32 %33, ptr %6, align 4 %34 = load i32, ptr %6, align 4 %35 = load i32, ptr %7, align 4 %36 = icmp ult i32 %34, %35 br i1 %36, label %18, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %31 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %12 br label %37 37: ; preds = %.loopexit, %24, %10 ret void } declare i32 @puts(ptr noundef) #1 declare i32 @ic_token_list_length(ptr noundef) #1 declare ptr @ic_token_list_get(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @ic_token_print(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpxs2unp9v.c' source_filename = "/tmp/tmpxs2unp9v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"start\0A\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"fib(%i) in %i seconds: %i\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i64, align 8 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = call i64 @time(ptr noundef null) store i64 %4, ptr %1, align 8 store i32 36, ptr %2, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = load i32, ptr %2, align 4 %7 = call i32 @fib(i32 noundef %6) store i32 %7, ptr %3, align 4 %8 = load i32, ptr %2, align 4 %9 = call i64 @time(ptr noundef null) %10 = load i64, ptr %1, align 8 %11 = sub nsw i64 %9, %10 %12 = trunc i64 %11 to i32 %13 = load i32, ptr %3, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %8, i32 noundef %12, i32 noundef %13) ret i32 0 } declare i64 @time(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @fib(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/tmpxs2unp9v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"start\0A\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"fib(%i) in %i seconds: %i\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i64, align 8 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = call i64 @time(ptr noundef null) store i64 %4, ptr %1, align 8 store i32 36, ptr %2, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = load i32, ptr %2, align 4 %7 = call i32 @fib(i32 noundef %6) store i32 %7, ptr %3, align 4 %8 = load i32, ptr %2, align 4 %9 = call i64 @time(ptr noundef null) %10 = load i64, ptr %1, align 8 %11 = sub nsw i64 %9, %10 %12 = trunc i64 %11 to i32 %13 = load i32, ptr %3, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %8, i32 noundef %12, i32 noundef %13) ret i32 0 } declare i64 @time(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @fib(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/tmpkwzvpajn.c' source_filename = "/tmp/tmpkwzvpajn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @libsais(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 %10 = load ptr, ptr %6, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %21, label %12 12: ; preds = %4 %13 = load ptr, ptr %7, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %21, label %15 15: ; preds = %12 %16 = load i64, ptr %8, align 8 %17 = icmp slt i64 %16, 0 br i1 %17, label %21, label %18 18: ; preds = %15 %19 = load i64, ptr %9, align 8 %20 = icmp slt i64 %19, 0 br i1 %20, label %21, label %22 21: ; preds = %18, %15, %12, %4 store i64 -1, ptr %5, align 8 br label %39 22: ; preds = %18 %23 = load i64, ptr %8, align 8 %24 = icmp slt i64 %23, 2 br i1 %24, label %25, label %32 25: ; preds = %22 %26 = load i64, ptr %8, align 8 %27 = icmp eq i64 %26, 1 br i1 %27, label %28, label %31 28: ; preds = %25 %29 = load ptr, ptr %7, align 8 %30 = getelementptr inbounds i64, ptr %29, i64 0 store i64 0, ptr %30, align 8 br label %31 31: ; preds = %28, %25 store i64 0, ptr %5, align 8 br label %39 32: ; preds = %22 br label %33 33: ; preds = %32 %34 = load ptr, ptr %6, align 8 %35 = load ptr, ptr %7, align 8 %36 = load i64, ptr %8, align 8 %37 = load i64, ptr %9, align 8 %38 = call i64 @libsais_main(ptr noundef %34, ptr noundef %35, i64 noundef %36, i32 noundef 0, i64 noundef %37, i32 noundef 1) store i64 %38, ptr %5, align 8 br label %39 39: ; preds = %33, %31, %21 %40 = load i64, ptr %5, align 8 ret i64 %40 } declare i64 @libsais_main(ptr noundef, ptr noundef, i64 noundef, i32 noundef, i64 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/tmpkwzvpajn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @libsais(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 %10 = load ptr, ptr %6, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %21, label %12 12: ; preds = %4 %13 = load ptr, ptr %7, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %21, label %15 15: ; preds = %12 %16 = load i64, ptr %8, align 8 %17 = icmp slt i64 %16, 0 br i1 %17, label %21, label %18 18: ; preds = %15 %19 = load i64, ptr %9, align 8 %20 = icmp slt i64 %19, 0 br i1 %20, label %21, label %22 21: ; preds = %18, %15, %12, %4 store i64 -1, ptr %5, align 8 br label %39 22: ; preds = %18 %23 = load i64, ptr %8, align 8 %24 = icmp slt i64 %23, 2 br i1 %24, label %25, label %32 25: ; preds = %22 %26 = load i64, ptr %8, align 8 %27 = icmp eq i64 %26, 1 br i1 %27, label %28, label %31 28: ; preds = %25 %29 = load ptr, ptr %7, align 8 %30 = getelementptr inbounds i64, ptr %29, i64 0 store i64 0, ptr %30, align 8 br label %31 31: ; preds = %28, %25 store i64 0, ptr %5, align 8 br label %39 32: ; preds = %22 br label %33 33: ; preds = %32 %34 = load ptr, ptr %6, align 8 %35 = load ptr, ptr %7, align 8 %36 = load i64, ptr %8, align 8 %37 = load i64, ptr %9, align 8 %38 = call i64 @libsais_main(ptr noundef %34, ptr noundef %35, i64 noundef %36, i32 noundef 0, i64 noundef %37, i32 noundef 1) store i64 %38, ptr %5, align 8 br label %39 39: ; preds = %33, %31, %21 %40 = load i64, ptr %5, align 8 ret i64 %40 } declare i64 @libsais_main(ptr noundef, ptr noundef, i64 noundef, i32 noundef, i64 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/tmpdfrcximw.c' source_filename = "/tmp/tmpdfrcximw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Cels Fahr\0A\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"==========\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"%3.0f %6.1f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 store i32 300, ptr %5, align 4 store i32 20, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = sitofp i32 %7 to float store float %8, ptr %2, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %11 11: ; preds = %16, %0 %12 = load float, ptr %3, align 4 %13 = load i32, ptr %5, align 4 %14 = sitofp i32 %13 to float %15 = fcmp ole float %12, %14 br i1 %15, label %16, label %32 16: ; preds = %11 %17 = load float, ptr %3, align 4 %18 = fpext float %17 to double %19 = fmul double 9.000000e+00, %18 %20 = fdiv double %19, 5.000000e+00 %21 = fadd double %20, 3.200000e+01 %22 = fptrunc double %21 to float store float %22, ptr %2, align 4 %23 = load float, ptr %3, align 4 %24 = fpext float %23 to double %25 = load float, ptr %2, align 4 %26 = fpext float %25 to double %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %24, double noundef %26) %28 = load float, ptr %3, align 4 %29 = load i32, ptr %6, align 4 %30 = sitofp i32 %29 to float %31 = fadd float %28, %30 store float %31, ptr %3, align 4 br label %11, !llvm.loop !6 32: ; preds = %11 %33 = load i32, ptr %1, align 4 ret i32 %33 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdfrcximw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Cels Fahr\0A\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"==========\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"%3.0f %6.1f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 store i32 300, ptr %5, align 4 store i32 20, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = sitofp i32 %7 to float store float %8, ptr %2, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %11 = load float, ptr %3, align 4 %12 = load i32, ptr %5, align 4 %13 = sitofp i32 %12 to float %14 = fcmp ole float %11, %13 br i1 %14, label %.lr.ph, label %35 .lr.ph: ; preds = %0 br label %15 15: ; preds = %.lr.ph, %15 %16 = load float, ptr %3, align 4 %17 = fpext float %16 to double %18 = fmul double 9.000000e+00, %17 %19 = fdiv double %18, 5.000000e+00 %20 = fadd double %19, 3.200000e+01 %21 = fptrunc double %20 to float store float %21, ptr %2, align 4 %22 = load float, ptr %3, align 4 %23 = fpext float %22 to double %24 = load float, ptr %2, align 4 %25 = fpext float %24 to double %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %23, double noundef %25) %27 = load float, ptr %3, align 4 %28 = load i32, ptr %6, align 4 %29 = sitofp i32 %28 to float %30 = fadd float %27, %29 store float %30, ptr %3, align 4 %31 = load float, ptr %3, align 4 %32 = load i32, ptr %5, align 4 %33 = sitofp i32 %32 to float %34 = fcmp ole float %31, %33 br i1 %34, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %35 35: ; preds = %._crit_edge, %0 %36 = load i32, ptr %1, align 4 ret i32 %36 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpry5hfzk5.c' source_filename = "/tmp/tmpry5hfzk5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bus_stop_logger() #0 { %1 = call i32 (...) @closelog() ret void } declare i32 @closelog(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpry5hfzk5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bus_stop_logger() #0 { %1 = call i32 (...) @closelog() ret void } declare i32 @closelog(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdb8us6qi.c' source_filename = "/tmp/tmpdb8us6qi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @VIM_IPP_SetEffectUVoffset(i8 noundef zeroext %0, i8 noundef zeroext %1) #0 { %3 = alloca i8, align 1 %4 = alloca i8, align 1 store i8 %0, ptr %3, align 1 store i8 %1, ptr %4, align 1 %5 = load i8, ptr %3, align 1 %6 = call i32 @VIM_HIF_SetReg8(i32 noundef 7250, i8 noundef zeroext %5) %7 = load i8, ptr %4, align 1 %8 = call i32 @VIM_HIF_SetReg8(i32 noundef 7251, i8 noundef zeroext %7) ret void } declare i32 @VIM_HIF_SetReg8(i32 noundef, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdb8us6qi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @VIM_IPP_SetEffectUVoffset(i8 noundef zeroext %0, i8 noundef zeroext %1) #0 { %3 = alloca i8, align 1 %4 = alloca i8, align 1 store i8 %0, ptr %3, align 1 store i8 %1, ptr %4, align 1 %5 = load i8, ptr %3, align 1 %6 = call i32 @VIM_HIF_SetReg8(i32 noundef 7250, i8 noundef zeroext %5) %7 = load i8, ptr %4, align 1 %8 = call i32 @VIM_HIF_SetReg8(i32 noundef 7251, i8 noundef zeroext %7) ret void } declare i32 @VIM_HIF_SetReg8(i32 noundef, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvtw8zu9r.c' source_filename = "/tmp/tmpvtw8zu9r.c" target datalayout = "e-m:e-p270: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/tmpvtw8zu9r.c" target datalayout = "e-m:e-p270: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/tmpbx9wjkmx.c' source_filename = "/tmp/tmpbx9wjkmx.c" target datalayout = "e-m:e-p270: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/tmpbx9wjkmx.c" target datalayout = "e-m:e-p270: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/tmp73hhmery.c' source_filename = "/tmp/tmp73hhmery.c" target datalayout = "e-m:e-p270: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.stat = type { i64 } @.str = private unnamed_addr constant [3 x i8] c":h\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"see %s -h\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%s \00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"fstat file\0A\00", align 1 @EOF = 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 %struct.stat, align 8 %7 = alloca %struct.stat, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %13, align 4 br label %14 14: ; preds = %27, %2 %15 = load i32, ptr %4, align 4 %16 = load ptr, ptr %5, align 8 %17 = call i32 @getopt(i32 noundef %15, ptr noundef %16, ptr noundef @.str) store i32 %17, ptr %10, align 4 %18 = icmp ne i32 %17, -1 br i1 %18, label %19, label %28 19: ; preds = %14 %20 = load i32, ptr %10, align 4 switch i32 %20, label %22 [ i32 104, label %21 ] 21: ; preds = %19 store i32 1, ptr %13, align 4 br label %27 22: ; preds = %19 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 0 %25 = load ptr, ptr %24, align 8 %26 = call i32 @errx(i32 noundef 1, ptr noundef @.str.1, ptr noundef %25) br label %27 27: ; preds = %22, %21 br label %14, !llvm.loop !6 28: ; preds = %14 %29 = load i32, ptr %13, align 4 %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %37 31: ; preds = %28 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 0 %34 = load ptr, ptr %33, align 8 %35 = call i32 @usage(ptr noundef %34) %36 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %36, ptr %3, align 4 br label %134 37: ; preds = %28 %38 = load i32, ptr %4, align 4 %39 = icmp ne i32 %38, 3 br i1 %39, label %40, label %46 40: ; preds = %37 %41 = load ptr, ptr %5, align 8 %42 = getelementptr inbounds ptr, ptr %41, i64 0 %43 = load ptr, ptr %42, align 8 %44 = call i32 @usage(ptr noundef %43) %45 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %45, ptr %3, align 4 br label %134 46: ; preds = %37 %47 = load ptr, ptr %5, align 8 %48 = getelementptr inbounds ptr, ptr %47, i64 1 %49 = load ptr, ptr %48, align 8 %50 = call ptr @fopen(ptr noundef %49, ptr noundef @.str.2) store ptr %50, ptr %8, align 8 %51 = load ptr, ptr %5, align 8 %52 = getelementptr inbounds ptr, ptr %51, i64 2 %53 = load ptr, ptr %52, align 8 %54 = call ptr @fopen(ptr noundef %53, ptr noundef @.str.2) store ptr %54, ptr %9, align 8 %55 = load ptr, ptr %8, align 8 %56 = icmp ne ptr %55, null br i1 %56, label %62, label %57 57: ; preds = %46 %58 = load ptr, ptr %5, align 8 %59 = getelementptr inbounds ptr, ptr %58, i64 1 %60 = load ptr, ptr %59, align 8 %61 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.3, ptr noundef %60) br label %62 62: ; preds = %57, %46 %63 = load ptr, ptr %9, align 8 %64 = icmp ne ptr %63, null br i1 %64, label %70, label %65 65: ; preds = %62 %66 = load ptr, ptr %5, align 8 %67 = getelementptr inbounds ptr, ptr %66, i64 2 %68 = load ptr, ptr %67, align 8 %69 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.3, ptr noundef %68) br label %70 70: ; preds = %65, %62 %71 = load ptr, ptr %8, align 8 %72 = call i32 @fileno(ptr noundef %71) %73 = call i32 @fstat(i32 noundef %72, ptr noundef %6) %74 = icmp eq i32 %73, -1 br i1 %74, label %80, label %75 75: ; preds = %70 %76 = load ptr, ptr %9, align 8 %77 = call i32 @fileno(ptr noundef %76) %78 = call i32 @fstat(i32 noundef %77, ptr noundef %7) %79 = icmp ne i32 %78, 0 br i1 %79, label %80, label %82 80: ; preds = %75, %70 %81 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.4) br label %82 82: ; preds = %80, %75 %83 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0 %84 = load i64, ptr %83, align 8 %85 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0 %86 = load i64, ptr %85, align 8 %87 = icmp ne i64 %84, %86 br i1 %87, label %88, label %94 88: ; preds = %82 %89 = load ptr, ptr %8, align 8 %90 = call i32 @fclose(ptr noundef %89) %91 = load ptr, ptr %9, align 8 %92 = call i32 @fclose(ptr noundef %91) %93 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %93, ptr %3, align 4 br label %134 94: ; preds = %82 %95 = load ptr, ptr %8, align 8 %96 = call i32 @getc(ptr noundef %95) store i32 %96, ptr %11, align 4 %97 = load ptr, ptr %9, align 8 %98 = call i32 @getc(ptr noundef %97) store i32 %98, ptr %12, align 4 br label %99 99: ; preds = %113, %94 %100 = load i32, ptr %11, align 4 %101 = load i32, ptr @EOF, align 4 %102 = icmp ne i32 %100, %101 br i1 %102, label %103, label %111 103: ; preds = %99 %104 = load i32, ptr %12, align 4 %105 = load i32, ptr @EOF, align 4 %106 = icmp ne i32 %104, %105 br i1 %106, label %107, label %111 107: ; preds = %103 %108 = load i32, ptr %11, align 4 %109 = load i32, ptr %12, align 4 %110 = icmp eq i32 %108, %109 br label %111 111: ; preds = %107, %103, %99 %112 = phi i1 [ false, %103 ], [ false, %99 ], [ %110, %107 ] br i1 %112, label %113, label %118 113: ; preds = %111 %114 = load ptr, ptr %8, align 8 %115 = call i32 @getc(ptr noundef %114) store i32 %115, ptr %11, align 4 %116 = load ptr, ptr %9, align 8 %117 = call i32 @getc(ptr noundef %116) store i32 %117, ptr %12, align 4 br label %99, !llvm.loop !8 118: ; preds = %111 %119 = load i32, ptr %11, align 4 %120 = load i32, ptr %12, align 4 %121 = icmp eq i32 %119, %120 br i1 %121, label %122, label %128 122: ; preds = %118 %123 = load ptr, ptr %8, align 8 %124 = call i32 @fclose(ptr noundef %123) %125 = load ptr, ptr %9, align 8 %126 = call i32 @fclose(ptr noundef %125) %127 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %127, ptr %3, align 4 br label %134 128: ; preds = %118 %129 = load ptr, ptr %8, align 8 %130 = call i32 @fclose(ptr noundef %129) %131 = load ptr, ptr %9, align 8 %132 = call i32 @fclose(ptr noundef %131) %133 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %133, ptr %3, align 4 br label %134 134: ; preds = %128, %122, %88, %40, %31 %135 = load i32, ptr %3, align 4 ret i32 %135 } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @errx(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @usage(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @err(i32 noundef, ptr noundef, ...) #1 declare i32 @fstat(i32 noundef, ptr noundef) #1 declare i32 @fileno(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @getc(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp73hhmery.c" target datalayout = "e-m:e-p270: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.stat = type { i64 } @.str = private unnamed_addr constant [3 x i8] c":h\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"see %s -h\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%s \00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"fstat file\0A\00", align 1 @EOF = 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 %struct.stat, align 8 %7 = alloca %struct.stat, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %13, align 4 %14 = load i32, ptr %4, align 4 %15 = load ptr, ptr %5, align 8 %16 = call i32 @getopt(i32 noundef %14, ptr noundef %15, ptr noundef @.str) store i32 %16, ptr %10, align 4 %17 = icmp ne i32 %16, -1 br i1 %17, label %.lr.ph, label %31 .lr.ph: ; preds = %2 br label %18 18: ; preds = %.lr.ph, %26 %19 = load i32, ptr %10, align 4 switch i32 %19, label %21 [ i32 104, label %20 ] 20: ; preds = %18 store i32 1, ptr %13, align 4 br label %26 21: ; preds = %18 %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 @errx(i32 noundef 1, ptr noundef @.str.1, ptr noundef %24) br label %26 26: ; preds = %21, %20 %27 = load i32, ptr %4, align 4 %28 = load ptr, ptr %5, align 8 %29 = call i32 @getopt(i32 noundef %27, ptr noundef %28, ptr noundef @.str) store i32 %29, ptr %10, align 4 %30 = icmp ne i32 %29, -1 br i1 %30, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %31 31: ; preds = %._crit_edge, %2 %32 = load i32, ptr %13, align 4 %33 = icmp ne i32 %32, 0 br i1 %33, label %34, label %40 34: ; preds = %31 %35 = load ptr, ptr %5, align 8 %36 = getelementptr inbounds ptr, ptr %35, i64 0 %37 = load ptr, ptr %36, align 8 %38 = call i32 @usage(ptr noundef %37) %39 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %39, ptr %3, align 4 br label %137 40: ; preds = %31 %41 = load i32, ptr %4, align 4 %42 = icmp ne i32 %41, 3 br i1 %42, label %43, label %49 43: ; preds = %40 %44 = load ptr, ptr %5, align 8 %45 = getelementptr inbounds ptr, ptr %44, i64 0 %46 = load ptr, ptr %45, align 8 %47 = call i32 @usage(ptr noundef %46) %48 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %48, ptr %3, align 4 br label %137 49: ; preds = %40 %50 = load ptr, ptr %5, align 8 %51 = getelementptr inbounds ptr, ptr %50, i64 1 %52 = load ptr, ptr %51, align 8 %53 = call ptr @fopen(ptr noundef %52, ptr noundef @.str.2) store ptr %53, ptr %8, align 8 %54 = load ptr, ptr %5, align 8 %55 = getelementptr inbounds ptr, ptr %54, i64 2 %56 = load ptr, ptr %55, align 8 %57 = call ptr @fopen(ptr noundef %56, ptr noundef @.str.2) store ptr %57, ptr %9, align 8 %58 = load ptr, ptr %8, align 8 %59 = icmp ne ptr %58, null br i1 %59, label %65, label %60 60: ; preds = %49 %61 = load ptr, ptr %5, align 8 %62 = getelementptr inbounds ptr, ptr %61, i64 1 %63 = load ptr, ptr %62, align 8 %64 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.3, ptr noundef %63) br label %65 65: ; preds = %60, %49 %66 = load ptr, ptr %9, align 8 %67 = icmp ne ptr %66, null br i1 %67, label %73, label %68 68: ; preds = %65 %69 = load ptr, ptr %5, align 8 %70 = getelementptr inbounds ptr, ptr %69, i64 2 %71 = load ptr, ptr %70, align 8 %72 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.3, ptr noundef %71) br label %73 73: ; preds = %68, %65 %74 = load ptr, ptr %8, align 8 %75 = call i32 @fileno(ptr noundef %74) %76 = call i32 @fstat(i32 noundef %75, ptr noundef %6) %77 = icmp eq i32 %76, -1 br i1 %77, label %83, label %78 78: ; preds = %73 %79 = load ptr, ptr %9, align 8 %80 = call i32 @fileno(ptr noundef %79) %81 = call i32 @fstat(i32 noundef %80, ptr noundef %7) %82 = icmp ne i32 %81, 0 br i1 %82, label %83, label %85 83: ; preds = %78, %73 %84 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.4) br label %85 85: ; preds = %83, %78 %86 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0 %87 = load i64, ptr %86, align 8 %88 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0 %89 = load i64, ptr %88, align 8 %90 = icmp ne i64 %87, %89 br i1 %90, label %91, label %97 91: ; preds = %85 %92 = load ptr, ptr %8, align 8 %93 = call i32 @fclose(ptr noundef %92) %94 = load ptr, ptr %9, align 8 %95 = call i32 @fclose(ptr noundef %94) %96 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %96, ptr %3, align 4 br label %137 97: ; preds = %85 %98 = load ptr, ptr %8, align 8 %99 = call i32 @getc(ptr noundef %98) store i32 %99, ptr %11, align 4 %100 = load ptr, ptr %9, align 8 %101 = call i32 @getc(ptr noundef %100) store i32 %101, ptr %12, align 4 br label %102 102: ; preds = %116, %97 %103 = load i32, ptr %11, align 4 %104 = load i32, ptr @EOF, align 4 %105 = icmp ne i32 %103, %104 br i1 %105, label %106, label %114 106: ; preds = %102 %107 = load i32, ptr %12, align 4 %108 = load i32, ptr @EOF, align 4 %109 = icmp ne i32 %107, %108 br i1 %109, label %110, label %114 110: ; preds = %106 %111 = load i32, ptr %11, align 4 %112 = load i32, ptr %12, align 4 %113 = icmp eq i32 %111, %112 br label %114 114: ; preds = %110, %106, %102 %115 = phi i1 [ false, %106 ], [ false, %102 ], [ %113, %110 ] br i1 %115, label %116, label %121 116: ; preds = %114 %117 = load ptr, ptr %8, align 8 %118 = call i32 @getc(ptr noundef %117) store i32 %118, ptr %11, align 4 %119 = load ptr, ptr %9, align 8 %120 = call i32 @getc(ptr noundef %119) store i32 %120, ptr %12, align 4 br label %102, !llvm.loop !8 121: ; preds = %114 %122 = load i32, ptr %11, align 4 %123 = load i32, ptr %12, align 4 %124 = icmp eq i32 %122, %123 br i1 %124, label %125, label %131 125: ; preds = %121 %126 = load ptr, ptr %8, align 8 %127 = call i32 @fclose(ptr noundef %126) %128 = load ptr, ptr %9, align 8 %129 = call i32 @fclose(ptr noundef %128) %130 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %130, ptr %3, align 4 br label %137 131: ; preds = %121 %132 = load ptr, ptr %8, align 8 %133 = call i32 @fclose(ptr noundef %132) %134 = load ptr, ptr %9, align 8 %135 = call i32 @fclose(ptr noundef %134) %136 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %136, ptr %3, align 4 br label %137 137: ; preds = %131, %125, %91, %43, %34 %138 = load i32, ptr %3, align 4 ret i32 %138 } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @errx(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @usage(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @err(i32 noundef, ptr noundef, ...) #1 declare i32 @fstat(i32 noundef, ptr noundef) #1 declare i32 @fileno(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @getc(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp5d1b0bz9.c' source_filename = "/tmp/tmp5d1b0bz9.c" target datalayout = "e-m:e-p270: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/tmp5d1b0bz9.c" target datalayout = "e-m:e-p270: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/tmpj79ast9c.c' source_filename = "/tmp/tmpj79ast9c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Ol\C3\A1 mundo\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj79ast9c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Ol\C3\A1 mundo\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvrfqgwj4.c' source_filename = "/tmp/tmpvrfqgwj4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev/dsp\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [16 x i8] c"open (playback)\00", align 1 @AFMT_S16_LE = dso_local global i32 0, align 4 @SNDCTL_DSP_SETFMT = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [7 x i8] c"setfmt\00", align 1 @.str.3 = private unnamed_addr constant [29 x i8] c"afmt = %i, result = %i (%i)\0A\00", align 1 @SNDCTL_DSP_CHANNELS = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [9 x i8] c"channels\00", align 1 @.str.5 = private unnamed_addr constant [32 x i8] c"channels = 1, result = %i (%i)\0A\00", align 1 @SNDCTL_DSP_SPEED = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [5 x i8] c"rate\00", align 1 @.str.7 = private unnamed_addr constant [32 x i8] c"rate = 22050, result = %i (%i)\0A\00", align 1 @SNDCTL_DSP_SETFRAGMENT = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [12 x i8] c"setfragment\00", align 1 @.str.9 = private unnamed_addr constant [40 x i8] c"fragment = 0x20008, result = 0x%x (%i)\0A\00", align 1 @.str.10 = private unnamed_addr constant [15 x i8] c"write - begin\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [262144 x i8], align 16 %5 = getelementptr inbounds [262144 x i8], ptr %4, i64 0, i64 0 %6 = call i32 @memset(ptr noundef %5, i32 noundef 128, i32 noundef 262144) %7 = load i32, ptr @O_WRONLY, align 4 %8 = call i32 @open(ptr noundef @.str, i32 noundef %7) store i32 %8, ptr %1, align 4 %9 = load i32, ptr %1, align 4 %10 = icmp slt i32 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %0 %12 = call i32 @perror(ptr noundef @.str.1) br label %62 13: ; preds = %0 %14 = load i32, ptr @AFMT_S16_LE, align 4 store i32 %14, ptr %2, align 4 %15 = load i32, ptr %1, align 4 %16 = load i32, ptr @SNDCTL_DSP_SETFMT, align 4 %17 = call i32 @ioctl(i32 noundef %15, i32 noundef %16, ptr noundef %2) store i32 %17, ptr %3, align 4 %18 = icmp slt i32 %17, 0 br i1 %18, label %19, label %21 19: ; preds = %13 %20 = call i32 @perror(ptr noundef @.str.2) br label %62 21: ; preds = %13 %22 = load i32, ptr @AFMT_S16_LE, align 4 %23 = load i32, ptr %2, align 4 %24 = load i32, ptr %3, align 4 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %22, i32 noundef %23, i32 noundef %24) store i32 1, ptr %2, align 4 %26 = load i32, ptr %1, align 4 %27 = load i32, ptr @SNDCTL_DSP_CHANNELS, align 4 %28 = call i32 @ioctl(i32 noundef %26, i32 noundef %27, ptr noundef %2) store i32 %28, ptr %3, align 4 %29 = icmp slt i32 %28, 0 br i1 %29, label %30, label %32 30: ; preds = %21 %31 = call i32 @perror(ptr noundef @.str.4) br label %62 32: ; preds = %21 %33 = load i32, ptr %2, align 4 %34 = load i32, ptr %3, align 4 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %33, i32 noundef %34) store i32 22050, ptr %2, align 4 %36 = load i32, ptr %1, align 4 %37 = load i32, ptr @SNDCTL_DSP_SPEED, align 4 %38 = call i32 @ioctl(i32 noundef %36, i32 noundef %37, ptr noundef %2) store i32 %38, ptr %3, align 4 %39 = icmp slt i32 %38, 0 br i1 %39, label %40, label %42 40: ; preds = %32 %41 = call i32 @perror(ptr noundef @.str.6) br label %62 42: ; preds = %32 %43 = load i32, ptr %2, align 4 %44 = load i32, ptr %3, align 4 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %43, i32 noundef %44) store i32 8, ptr %2, align 4 %46 = load i32, ptr %1, align 4 %47 = load i32, ptr @SNDCTL_DSP_SETFRAGMENT, align 4 %48 = call i32 @ioctl(i32 noundef %46, i32 noundef %47, ptr noundef %2) store i32 %48, ptr %3, align 4 %49 = icmp slt i32 %48, 0 br i1 %49, label %50, label %52 50: ; preds = %42 %51 = call i32 @perror(ptr noundef @.str.8) br label %62 52: ; preds = %42 %53 = load i32, ptr %2, align 4 %54 = load i32, ptr %3, align 4 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %53, i32 noundef %54) %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) br label %57 57: ; preds = %52, %57 %58 = load i32, ptr %1, align 4 %59 = getelementptr inbounds [262144 x i8], ptr %4, i64 0, i64 0 %60 = call i32 @write(i32 noundef %58, ptr noundef %59, i32 noundef 1024) %61 = call i32 @usleep(i32 noundef 10000) br label %57 62: ; preds = %50, %40, %30, %19, %11 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @usleep(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/tmpvrfqgwj4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev/dsp\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [16 x i8] c"open (playback)\00", align 1 @AFMT_S16_LE = dso_local global i32 0, align 4 @SNDCTL_DSP_SETFMT = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [7 x i8] c"setfmt\00", align 1 @.str.3 = private unnamed_addr constant [29 x i8] c"afmt = %i, result = %i (%i)\0A\00", align 1 @SNDCTL_DSP_CHANNELS = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [9 x i8] c"channels\00", align 1 @.str.5 = private unnamed_addr constant [32 x i8] c"channels = 1, result = %i (%i)\0A\00", align 1 @SNDCTL_DSP_SPEED = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [5 x i8] c"rate\00", align 1 @.str.7 = private unnamed_addr constant [32 x i8] c"rate = 22050, result = %i (%i)\0A\00", align 1 @SNDCTL_DSP_SETFRAGMENT = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [12 x i8] c"setfragment\00", align 1 @.str.9 = private unnamed_addr constant [40 x i8] c"fragment = 0x20008, result = 0x%x (%i)\0A\00", align 1 @.str.10 = private unnamed_addr constant [15 x i8] c"write - begin\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [262144 x i8], align 16 %5 = getelementptr inbounds [262144 x i8], ptr %4, i64 0, i64 0 %6 = call i32 @memset(ptr noundef %5, i32 noundef 128, i32 noundef 262144) %7 = load i32, ptr @O_WRONLY, align 4 %8 = call i32 @open(ptr noundef @.str, i32 noundef %7) store i32 %8, ptr %1, align 4 %9 = load i32, ptr %1, align 4 %10 = icmp slt i32 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %0 %12 = call i32 @perror(ptr noundef @.str.1) br label %62 13: ; preds = %0 %14 = load i32, ptr @AFMT_S16_LE, align 4 store i32 %14, ptr %2, align 4 %15 = load i32, ptr %1, align 4 %16 = load i32, ptr @SNDCTL_DSP_SETFMT, align 4 %17 = call i32 @ioctl(i32 noundef %15, i32 noundef %16, ptr noundef %2) store i32 %17, ptr %3, align 4 %18 = icmp slt i32 %17, 0 br i1 %18, label %19, label %21 19: ; preds = %13 %20 = call i32 @perror(ptr noundef @.str.2) br label %62 21: ; preds = %13 %22 = load i32, ptr @AFMT_S16_LE, align 4 %23 = load i32, ptr %2, align 4 %24 = load i32, ptr %3, align 4 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %22, i32 noundef %23, i32 noundef %24) store i32 1, ptr %2, align 4 %26 = load i32, ptr %1, align 4 %27 = load i32, ptr @SNDCTL_DSP_CHANNELS, align 4 %28 = call i32 @ioctl(i32 noundef %26, i32 noundef %27, ptr noundef %2) store i32 %28, ptr %3, align 4 %29 = icmp slt i32 %28, 0 br i1 %29, label %30, label %32 30: ; preds = %21 %31 = call i32 @perror(ptr noundef @.str.4) br label %62 32: ; preds = %21 %33 = load i32, ptr %2, align 4 %34 = load i32, ptr %3, align 4 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %33, i32 noundef %34) store i32 22050, ptr %2, align 4 %36 = load i32, ptr %1, align 4 %37 = load i32, ptr @SNDCTL_DSP_SPEED, align 4 %38 = call i32 @ioctl(i32 noundef %36, i32 noundef %37, ptr noundef %2) store i32 %38, ptr %3, align 4 %39 = icmp slt i32 %38, 0 br i1 %39, label %40, label %42 40: ; preds = %32 %41 = call i32 @perror(ptr noundef @.str.6) br label %62 42: ; preds = %32 %43 = load i32, ptr %2, align 4 %44 = load i32, ptr %3, align 4 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %43, i32 noundef %44) store i32 8, ptr %2, align 4 %46 = load i32, ptr %1, align 4 %47 = load i32, ptr @SNDCTL_DSP_SETFRAGMENT, align 4 %48 = call i32 @ioctl(i32 noundef %46, i32 noundef %47, ptr noundef %2) store i32 %48, ptr %3, align 4 %49 = icmp slt i32 %48, 0 br i1 %49, label %50, label %52 50: ; preds = %42 %51 = call i32 @perror(ptr noundef @.str.8) br label %62 52: ; preds = %42 %53 = load i32, ptr %2, align 4 %54 = load i32, ptr %3, align 4 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %53, i32 noundef %54) %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) br label %57 57: ; preds = %57, %52 %58 = load i32, ptr %1, align 4 %59 = getelementptr inbounds [262144 x i8], ptr %4, i64 0, i64 0 %60 = call i32 @write(i32 noundef %58, ptr noundef %59, i32 noundef 1024) %61 = call i32 @usleep(i32 noundef 10000) br label %57 62: ; preds = %50, %40, %30, %19, %11 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @usleep(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/tmp5g136xtn.c' source_filename = "/tmp/tmp5g136xtn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Self id %d\0A n=%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @util() #0 { %1 = alloca ptr, align 8 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 10, ptr %2, align 4 br label %5 5: ; preds = %22, %0 %6 = load i32, ptr %2, align 4 %7 = add nsw i32 %6, -1 store i32 %7, ptr %2, align 4 %8 = icmp ne i32 %6, 0 br i1 %8, label %9, label %24 9: ; preds = %5 %10 = call i32 (...) @pthread_self() %11 = load i32, ptr %2, align 4 %12 = call i32 @printf(ptr noundef @.str, i32 noundef %10, i32 noundef %11) %13 = call i32 @time(i32 noundef 0) store i32 %13, ptr %3, align 4 %14 = load i32, ptr %3, align 4 store i32 %14, ptr %4, align 4 br label %15 15: ; preds = %20, %9 %16 = load i32, ptr %4, align 4 %17 = load i32, ptr %3, align 4 %18 = sub nsw i32 %16, %17 %19 = icmp slt i32 %18, 5 br i1 %19, label %20, label %22 20: ; preds = %15 %21 = call i32 @time(i32 noundef 0) store i32 %21, ptr %4, align 4 br label %15, !llvm.loop !6 22: ; preds = %15 %23 = call i32 @sleep(i32 noundef 5) br label %5, !llvm.loop !8 24: ; preds = %5 %25 = load ptr, ptr %1, align 8 ret ptr %25 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @pthread_self(...) #1 declare i32 @time(i32 noundef) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5g136xtn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Self id %d\0A n=%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @util() #0 { %1 = alloca ptr, align 8 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 10, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = add nsw i32 %5, -1 store i32 %6, ptr %2, align 4 %7 = icmp ne i32 %5, 0 br i1 %7, label %.lr.ph2, label %29 .lr.ph2: ; preds = %0 br label %8 8: ; preds = %.lr.ph2, %24 %9 = call i32 (...) @pthread_self() %10 = load i32, ptr %2, align 4 %11 = call i32 @printf(ptr noundef @.str, i32 noundef %9, i32 noundef %10) %12 = call i32 @time(i32 noundef 0) store i32 %12, ptr %3, align 4 %13 = load i32, ptr %3, align 4 store i32 %13, ptr %4, align 4 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %3, align 4 %16 = sub nsw i32 %14, %15 %17 = icmp slt i32 %16, 5 br i1 %17, label %.lr.ph, label %24 .lr.ph: ; preds = %8 br label %18 18: ; preds = %.lr.ph, %18 %19 = call i32 @time(i32 noundef 0) store i32 %19, ptr %4, align 4 %20 = load i32, ptr %4, align 4 %21 = load i32, ptr %3, align 4 %22 = sub nsw i32 %20, %21 %23 = icmp slt i32 %22, 5 br i1 %23, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %24 24: ; preds = %._crit_edge, %8 %25 = call i32 @sleep(i32 noundef 5) %26 = load i32, ptr %2, align 4 %27 = add nsw i32 %26, -1 store i32 %27, ptr %2, align 4 %28 = icmp ne i32 %26, 0 br i1 %28, label %8, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %24 br label %29 29: ; preds = %._crit_edge3, %0 %30 = load ptr, ptr %1, align 8 ret ptr %30 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @pthread_self(...) #1 declare i32 @time(i32 noundef) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpmv4xf4gy.c' source_filename = "/tmp/tmpmv4xf4gy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i16 @unqlen(ptr noundef %0) #0 { %2 = alloca i16, align 2 %3 = alloca ptr, align 8 %4 = alloca [26 x i8], align 16 %5 = alloca [26 x i8], align 16 %6 = alloca i8, align 1 %7 = alloca i16, align 2 %8 = alloca i16, align 2 store ptr %0, ptr %3, align 8 call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 26, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 26, i1 false) %9 = load ptr, ptr %3, align 8 %10 = call zeroext i16 @strlen(ptr noundef %9) store i16 %10, ptr %8, align 2 store i16 0, ptr %7, align 2 br label %11 11: ; preds = %65, %1 %12 = load i16, ptr %7, align 2 %13 = zext i16 %12 to i32 %14 = load i16, ptr %8, align 2 %15 = zext i16 %14 to i32 %16 = icmp slt i32 %13, %15 br i1 %16, label %17, label %68 17: ; preds = %11 %18 = load ptr, ptr %3, align 8 %19 = load i16, ptr %7, align 2 %20 = zext i16 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 %22 = load i8, ptr %21, align 1 store i8 %22, ptr %6, align 1 %23 = load i8, ptr %6, align 1 %24 = call i64 @islower(i8 noundef signext %23) %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %45 26: ; preds = %17 %27 = load i8, ptr %6, align 1 %28 = sext i8 %27 to i32 %29 = sub nsw i32 %28, 97 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [26 x i8], ptr %5, i64 0, i64 %30 %32 = load i8, ptr %31, align 1 %33 = add i8 %32, 1 store i8 %33, ptr %31, align 1 %34 = load i8, ptr %6, align 1 %35 = sext i8 %34 to i32 %36 = sub nsw i32 %35, 97 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [26 x i8], ptr %5, i64 0, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp sgt i32 %40, 1 br i1 %41, label %42, label %44 42: ; preds = %26 %43 = load i16, ptr %7, align 2 store i16 %43, ptr %2, align 2 br label %70 44: ; preds = %26 br label %64 45: ; preds = %17 %46 = load i8, ptr %6, align 1 %47 = sext i8 %46 to i32 %48 = sub nsw i32 %47, 65 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [26 x i8], ptr %4, i64 0, i64 %49 %51 = load i8, ptr %50, align 1 %52 = add i8 %51, 1 store i8 %52, ptr %50, align 1 %53 = load i8, ptr %6, align 1 %54 = sext i8 %53 to i32 %55 = sub nsw i32 %54, 65 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [26 x i8], ptr %4, i64 0, i64 %56 %58 = load i8, ptr %57, align 1 %59 = sext i8 %58 to i32 %60 = icmp sgt i32 %59, 1 br i1 %60, label %61, label %63 61: ; preds = %45 %62 = load i16, ptr %7, align 2 store i16 %62, ptr %2, align 2 br label %70 63: ; preds = %45 br label %64 64: ; preds = %63, %44 br label %65 65: ; preds = %64 %66 = load i16, ptr %7, align 2 %67 = add i16 %66, 1 store i16 %67, ptr %7, align 2 br label %11, !llvm.loop !6 68: ; preds = %11 %69 = load i16, ptr %7, align 2 store i16 %69, ptr %2, align 2 br label %70 70: ; preds = %68, %61, %42 %71 = load i16, ptr %2, align 2 ret i16 %71 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare zeroext i16 @strlen(ptr noundef) #2 declare i64 @islower(i8 noundef signext) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmv4xf4gy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i16 @unqlen(ptr noundef %0) #0 { %2 = alloca i16, align 2 %3 = alloca ptr, align 8 %4 = alloca [26 x i8], align 16 %5 = alloca [26 x i8], align 16 %6 = alloca i8, align 1 %7 = alloca i16, align 2 %8 = alloca i16, align 2 store ptr %0, ptr %3, align 8 call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 26, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 26, i1 false) %9 = load ptr, ptr %3, align 8 %10 = call zeroext i16 @strlen(ptr noundef %9) store i16 %10, ptr %8, align 2 store i16 0, ptr %7, align 2 %11 = load i16, ptr %7, align 2 %12 = zext i16 %11 to i32 %13 = load i16, ptr %8, align 2 %14 = zext i16 %13 to i32 %15 = icmp slt i32 %12, %14 br i1 %15, label %.lr.ph, label %72 .lr.ph: ; preds = %1 br label %16 16: ; preds = %.lr.ph, %64 %17 = load ptr, ptr %3, align 8 %18 = load i16, ptr %7, align 2 %19 = zext i16 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = load i8, ptr %20, align 1 store i8 %21, ptr %6, align 1 %22 = load i8, ptr %6, align 1 %23 = call i64 @islower(i8 noundef signext %22) %24 = icmp ne i64 %23, 0 br i1 %24, label %25, label %44 25: ; preds = %16 %26 = load i8, ptr %6, align 1 %27 = sext i8 %26 to i32 %28 = sub nsw i32 %27, 97 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [26 x i8], ptr %5, i64 0, i64 %29 %31 = load i8, ptr %30, align 1 %32 = add i8 %31, 1 store i8 %32, ptr %30, align 1 %33 = load i8, ptr %6, align 1 %34 = sext i8 %33 to i32 %35 = sub nsw i32 %34, 97 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [26 x i8], ptr %5, i64 0, i64 %36 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp sgt i32 %39, 1 br i1 %40, label %41, label %43 41: ; preds = %25 %42 = load i16, ptr %7, align 2 store i16 %42, ptr %2, align 2 br label %74 43: ; preds = %25 br label %63 44: ; preds = %16 %45 = load i8, ptr %6, align 1 %46 = sext i8 %45 to i32 %47 = sub nsw i32 %46, 65 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds [26 x i8], ptr %4, i64 0, i64 %48 %50 = load i8, ptr %49, align 1 %51 = add i8 %50, 1 store i8 %51, ptr %49, align 1 %52 = load i8, ptr %6, align 1 %53 = sext i8 %52 to i32 %54 = sub nsw i32 %53, 65 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds [26 x i8], ptr %4, i64 0, i64 %55 %57 = load i8, ptr %56, align 1 %58 = sext i8 %57 to i32 %59 = icmp sgt i32 %58, 1 br i1 %59, label %60, label %62 60: ; preds = %44 %61 = load i16, ptr %7, align 2 store i16 %61, ptr %2, align 2 br label %74 62: ; preds = %44 br label %63 63: ; preds = %62, %43 br label %64 64: ; preds = %63 %65 = load i16, ptr %7, align 2 %66 = add i16 %65, 1 store i16 %66, ptr %7, align 2 %67 = load i16, ptr %7, align 2 %68 = zext i16 %67 to i32 %69 = load i16, ptr %8, align 2 %70 = zext i16 %69 to i32 %71 = icmp slt i32 %68, %70 br i1 %71, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %64 br label %72 72: ; preds = %._crit_edge, %1 %73 = load i16, ptr %7, align 2 store i16 %73, ptr %2, align 2 br label %74 74: ; preds = %72, %60, %41 %75 = load i16, ptr %2, align 2 ret i16 %75 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare zeroext i16 @strlen(ptr noundef) #2 declare i64 @islower(i8 noundef signext) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp1l22gudf.c' source_filename = "/tmp/tmp1l22gudf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local x86_fp80 @__gcc_qsub(double noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store double %2, ptr %7, align 8 store double %3, ptr %8, align 8 %9 = load double, ptr %5, align 8 %10 = load double, ptr %6, align 8 %11 = load double, ptr %7, align 8 %12 = fneg double %11 %13 = load double, ptr %8, align 8 %14 = fneg double %13 %15 = call x86_fp80 @__gcc_qadd(double noundef %9, double noundef %10, double noundef %12, double noundef %14) ret x86_fp80 %15 } declare x86_fp80 @__gcc_qadd(double noundef, 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/tmp1l22gudf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local x86_fp80 @__gcc_qsub(double noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store double %2, ptr %7, align 8 store double %3, ptr %8, align 8 %9 = load double, ptr %5, align 8 %10 = load double, ptr %6, align 8 %11 = load double, ptr %7, align 8 %12 = fneg double %11 %13 = load double, ptr %8, align 8 %14 = fneg double %13 %15 = call x86_fp80 @__gcc_qadd(double noundef %9, double noundef %10, double noundef %12, double noundef %14) ret x86_fp80 %15 } declare x86_fp80 @__gcc_qadd(double noundef, 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/tmpn9_b1g2p.c' source_filename = "/tmp/tmpn9_b1g2p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i64, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @timeval_subtract(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i32 1000000, ptr %7, align 4 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds %struct.timeval, ptr %9, i32 0, i32 0 %11 = load i64, ptr %10, align 8 %12 = load i32, ptr %7, align 4 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds %struct.timeval, ptr %13, i32 0, i32 1 %15 = load i32, ptr %14, align 8 %16 = mul i32 %12, %15 %17 = zext i32 %16 to i64 %18 = add nsw i64 %11, %17 %19 = load ptr, ptr %6, align 8 %20 = getelementptr inbounds %struct.timeval, ptr %19, i32 0, i32 0 %21 = load i64, ptr %20, align 8 %22 = load i32, ptr %7, align 4 %23 = load ptr, ptr %6, align 8 %24 = getelementptr inbounds %struct.timeval, ptr %23, i32 0, i32 1 %25 = load i32, ptr %24, align 8 %26 = mul i32 %22, %25 %27 = zext i32 %26 to i64 %28 = add nsw i64 %21, %27 %29 = sub nsw i64 %18, %28 store i64 %29, ptr %8, align 8 %30 = load i64, ptr %8, align 8 %31 = load i32, ptr %7, align 4 %32 = zext i32 %31 to i64 %33 = sdiv i64 %30, %32 %34 = trunc i64 %33 to i32 %35 = load ptr, ptr %4, align 8 %36 = getelementptr inbounds %struct.timeval, ptr %35, i32 0, i32 1 store i32 %34, ptr %36, align 8 %37 = load i64, ptr %8, align 8 %38 = load i32, ptr %7, align 4 %39 = zext i32 %38 to i64 %40 = srem i64 %37, %39 %41 = load ptr, ptr %4, align 8 %42 = getelementptr inbounds %struct.timeval, ptr %41, i32 0, i32 0 store i64 %40, ptr %42, align 8 %43 = load i64, ptr %8, align 8 %44 = icmp slt i64 %43, 0 %45 = zext i1 %44 to i32 ret i32 %45 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn9_b1g2p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i64, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @timeval_subtract(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i32 1000000, ptr %7, align 4 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds %struct.timeval, ptr %9, i32 0, i32 0 %11 = load i64, ptr %10, align 8 %12 = load i32, ptr %7, align 4 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds %struct.timeval, ptr %13, i32 0, i32 1 %15 = load i32, ptr %14, align 8 %16 = mul i32 %12, %15 %17 = zext i32 %16 to i64 %18 = add nsw i64 %11, %17 %19 = load ptr, ptr %6, align 8 %20 = getelementptr inbounds %struct.timeval, ptr %19, i32 0, i32 0 %21 = load i64, ptr %20, align 8 %22 = load i32, ptr %7, align 4 %23 = load ptr, ptr %6, align 8 %24 = getelementptr inbounds %struct.timeval, ptr %23, i32 0, i32 1 %25 = load i32, ptr %24, align 8 %26 = mul i32 %22, %25 %27 = zext i32 %26 to i64 %28 = add nsw i64 %21, %27 %29 = sub nsw i64 %18, %28 store i64 %29, ptr %8, align 8 %30 = load i64, ptr %8, align 8 %31 = load i32, ptr %7, align 4 %32 = zext i32 %31 to i64 %33 = sdiv i64 %30, %32 %34 = trunc i64 %33 to i32 %35 = load ptr, ptr %4, align 8 %36 = getelementptr inbounds %struct.timeval, ptr %35, i32 0, i32 1 store i32 %34, ptr %36, align 8 %37 = load i64, ptr %8, align 8 %38 = load i32, ptr %7, align 4 %39 = zext i32 %38 to i64 %40 = srem i64 %37, %39 %41 = load ptr, ptr %4, align 8 %42 = getelementptr inbounds %struct.timeval, ptr %41, i32 0, i32 0 store i64 %40, ptr %42, align 8 %43 = load i64, ptr %8, align 8 %44 = icmp slt i64 %43, 0 %45 = zext i1 %44 to i32 ret i32 %45 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpig29j42l.c' source_filename = "/tmp/tmpig29j42l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\\n\00\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"\0D\0A\00\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"\\s\00\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c" \00\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"\\e\00\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"\1B\00\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @command_print(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call ptr @pass_space_label(ptr noundef %5) store ptr %6, ptr %3, align 8 br label %7 7: ; preds = %73, %1 %8 = load ptr, ptr %3, align 8 %9 = call i64 @str32_strlen(ptr noundef %8) %10 = icmp ne i64 %9, 0 br i1 %10, label %11, label %74 11: ; preds = %7 %12 = load ptr, ptr %3, align 8 %13 = call i32 @str32_strindex(ptr noundef %12, ptr noundef @.str) %14 = icmp ne i32 %13, -1 br i1 %14, label %15, label %28 15: ; preds = %11 %16 = load ptr, ptr %3, align 8 %17 = call i32 @str32_strindex(ptr noundef %16, ptr noundef @.str) %18 = sext i32 %17 to i64 store i64 %18, ptr %4, align 8 %19 = load ptr, ptr %3, align 8 %20 = load i64, ptr %4, align 8 %21 = call i32 @text_sender_length(ptr noundef %19, i64 noundef %20) %22 = call i32 @text_sender(ptr noundef @.str.1) %23 = load i64, ptr %4, align 8 %24 = load ptr, ptr %3, align 8 %25 = getelementptr inbounds i8, ptr %24, i64 %23 store ptr %25, ptr %3, align 8 %26 = load ptr, ptr %3, align 8 %27 = getelementptr inbounds i8, ptr %26, i64 2 store ptr %27, ptr %3, align 8 br label %73 28: ; preds = %11 %29 = load ptr, ptr %3, align 8 %30 = call i32 @str32_strindex(ptr noundef %29, ptr noundef @.str.2) %31 = icmp ne i32 %30, -1 br i1 %31, label %32, label %45 32: ; preds = %28 %33 = load ptr, ptr %3, align 8 %34 = call i32 @str32_strindex(ptr noundef %33, ptr noundef @.str.2) %35 = sext i32 %34 to i64 store i64 %35, ptr %4, align 8 %36 = load ptr, ptr %3, align 8 %37 = load i64, ptr %4, align 8 %38 = call i32 @text_sender_length(ptr noundef %36, i64 noundef %37) %39 = call i32 @text_sender(ptr noundef @.str.3) %40 = load i64, ptr %4, align 8 %41 = load ptr, ptr %3, align 8 %42 = getelementptr inbounds i8, ptr %41, i64 %40 store ptr %42, ptr %3, align 8 %43 = load ptr, ptr %3, align 8 %44 = getelementptr inbounds i8, ptr %43, i64 2 store ptr %44, ptr %3, align 8 br label %72 45: ; preds = %28 %46 = load ptr, ptr %3, align 8 %47 = call i32 @str32_strindex(ptr noundef %46, ptr noundef @.str.4) %48 = icmp ne i32 %47, -1 br i1 %48, label %49, label %62 49: ; preds = %45 %50 = load ptr, ptr %3, align 8 %51 = call i32 @str32_strindex(ptr noundef %50, ptr noundef @.str.4) %52 = sext i32 %51 to i64 store i64 %52, ptr %4, align 8 %53 = load ptr, ptr %3, align 8 %54 = load i64, ptr %4, align 8 %55 = call i32 @text_sender_length(ptr noundef %53, i64 noundef %54) %56 = call i32 @text_sender(ptr noundef @.str.5) %57 = load i64, ptr %4, align 8 %58 = load ptr, ptr %3, align 8 %59 = getelementptr inbounds i8, ptr %58, i64 %57 store ptr %59, ptr %3, align 8 %60 = load ptr, ptr %3, align 8 %61 = getelementptr inbounds i8, ptr %60, i64 2 store ptr %61, ptr %3, align 8 br label %71 62: ; preds = %45 %63 = load ptr, ptr %3, align 8 %64 = call i64 @str32_strlen(ptr noundef %63) store i64 %64, ptr %4, align 8 %65 = load ptr, ptr %3, align 8 %66 = load i64, ptr %4, align 8 %67 = call i32 @text_sender_length(ptr noundef %65, i64 noundef %66) %68 = load i64, ptr %4, align 8 %69 = load ptr, ptr %3, align 8 %70 = getelementptr inbounds i8, ptr %69, i64 %68 store ptr %70, ptr %3, align 8 br label %71 71: ; preds = %62, %49 br label %72 72: ; preds = %71, %32 br label %73 73: ; preds = %72, %15 br label %7, !llvm.loop !6 74: ; preds = %7 ret i8 1 } declare ptr @pass_space_label(ptr noundef) #1 declare i64 @str32_strlen(ptr noundef) #1 declare i32 @str32_strindex(ptr noundef, ptr noundef) #1 declare i32 @text_sender_length(ptr noundef, i64 noundef) #1 declare i32 @text_sender(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpig29j42l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\\n\00\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"\0D\0A\00\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"\\s\00\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c" \00\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"\\e\00\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"\1B\00\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @command_print(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call ptr @pass_space_label(ptr noundef %5) store ptr %6, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i64 @str32_strlen(ptr noundef %7) %9 = icmp ne i64 %8, 0 br i1 %9, label %.lr.ph, label %76 .lr.ph: ; preds = %1 br label %10 10: ; preds = %.lr.ph, %72 %11 = load ptr, ptr %3, align 8 %12 = call i32 @str32_strindex(ptr noundef %11, ptr noundef @.str) %13 = icmp ne i32 %12, -1 br i1 %13, label %14, label %27 14: ; preds = %10 %15 = load ptr, ptr %3, align 8 %16 = call i32 @str32_strindex(ptr noundef %15, ptr noundef @.str) %17 = sext i32 %16 to i64 store i64 %17, ptr %4, align 8 %18 = load ptr, ptr %3, align 8 %19 = load i64, ptr %4, align 8 %20 = call i32 @text_sender_length(ptr noundef %18, i64 noundef %19) %21 = call i32 @text_sender(ptr noundef @.str.1) %22 = load i64, ptr %4, align 8 %23 = load ptr, ptr %3, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 %22 store ptr %24, ptr %3, align 8 %25 = load ptr, ptr %3, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 2 store ptr %26, ptr %3, align 8 br label %72 27: ; preds = %10 %28 = load ptr, ptr %3, align 8 %29 = call i32 @str32_strindex(ptr noundef %28, ptr noundef @.str.2) %30 = icmp ne i32 %29, -1 br i1 %30, label %31, label %44 31: ; preds = %27 %32 = load ptr, ptr %3, align 8 %33 = call i32 @str32_strindex(ptr noundef %32, ptr noundef @.str.2) %34 = sext i32 %33 to i64 store i64 %34, ptr %4, align 8 %35 = load ptr, ptr %3, align 8 %36 = load i64, ptr %4, align 8 %37 = call i32 @text_sender_length(ptr noundef %35, i64 noundef %36) %38 = call i32 @text_sender(ptr noundef @.str.3) %39 = load i64, ptr %4, align 8 %40 = load ptr, ptr %3, align 8 %41 = getelementptr inbounds i8, ptr %40, i64 %39 store ptr %41, ptr %3, align 8 %42 = load ptr, ptr %3, align 8 %43 = getelementptr inbounds i8, ptr %42, i64 2 store ptr %43, ptr %3, align 8 br label %71 44: ; preds = %27 %45 = load ptr, ptr %3, align 8 %46 = call i32 @str32_strindex(ptr noundef %45, ptr noundef @.str.4) %47 = icmp ne i32 %46, -1 br i1 %47, label %48, label %61 48: ; preds = %44 %49 = load ptr, ptr %3, align 8 %50 = call i32 @str32_strindex(ptr noundef %49, ptr noundef @.str.4) %51 = sext i32 %50 to i64 store i64 %51, ptr %4, align 8 %52 = load ptr, ptr %3, align 8 %53 = load i64, ptr %4, align 8 %54 = call i32 @text_sender_length(ptr noundef %52, i64 noundef %53) %55 = call i32 @text_sender(ptr noundef @.str.5) %56 = load i64, ptr %4, align 8 %57 = load ptr, ptr %3, align 8 %58 = getelementptr inbounds i8, ptr %57, i64 %56 store ptr %58, ptr %3, align 8 %59 = load ptr, ptr %3, align 8 %60 = getelementptr inbounds i8, ptr %59, i64 2 store ptr %60, ptr %3, align 8 br label %70 61: ; preds = %44 %62 = load ptr, ptr %3, align 8 %63 = call i64 @str32_strlen(ptr noundef %62) store i64 %63, ptr %4, align 8 %64 = load ptr, ptr %3, align 8 %65 = load i64, ptr %4, align 8 %66 = call i32 @text_sender_length(ptr noundef %64, i64 noundef %65) %67 = load i64, ptr %4, align 8 %68 = load ptr, ptr %3, align 8 %69 = getelementptr inbounds i8, ptr %68, i64 %67 store ptr %69, ptr %3, align 8 br label %70 70: ; preds = %61, %48 br label %71 71: ; preds = %70, %31 br label %72 72: ; preds = %71, %14 %73 = load ptr, ptr %3, align 8 %74 = call i64 @str32_strlen(ptr noundef %73) %75 = icmp ne i64 %74, 0 br i1 %75, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %72 br label %76 76: ; preds = %._crit_edge, %1 ret i8 1 } declare ptr @pass_space_label(ptr noundef) #1 declare i64 @str32_strlen(ptr noundef) #1 declare i32 @str32_strindex(ptr noundef, ptr noundef) #1 declare i32 @text_sender_length(ptr noundef, i64 noundef) #1 declare i32 @text_sender(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmppop6b7tr.c' source_filename = "/tmp/tmppop6b7tr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [47 x i8] c"----------------PROCESS START----------------\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"Prob 1: segmentFault\0A\00", align 1 @.str.2 = private unnamed_addr constant [47 x i8] c"----------------PROCESS END----------------\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 @printf(ptr noundef @.str) %8 = call i32 @printf(ptr noundef @.str.1) store ptr null, ptr %6, align 8 %9 = load ptr, ptr %6, align 8 store i32 0, ptr %9, align 4 %10 = call i32 @printf(ptr noundef @.str.2) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppop6b7tr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [47 x i8] c"----------------PROCESS START----------------\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"Prob 1: segmentFault\0A\00", align 1 @.str.2 = private unnamed_addr constant [47 x i8] c"----------------PROCESS END----------------\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 @printf(ptr noundef @.str) %8 = call i32 @printf(ptr noundef @.str.1) store ptr null, ptr %6, align 8 %9 = load ptr, ptr %6, align 8 store i32 0, ptr %9, align 4 %10 = call i32 @printf(ptr noundef @.str.2) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpoa41l968.c' source_filename = "/tmp/tmpoa41l968.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"\0A%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca [1000 x i8], align 16 br label %3 3: ; preds = %0, %58 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %5 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0 %6 = load i8, ptr %5, align 16 %7 = sext i8 %6 to i32 %8 = icmp eq i32 %7, 83 br i1 %8, label %9, label %25 9: ; preds = %3 %10 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 1 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp eq i32 %12, 84 br i1 %13, label %14, label %25 14: ; preds = %9 %15 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 2 %16 = load i8, ptr %15, align 2 %17 = sext i8 %16 to i32 %18 = icmp eq i32 %17, 79 br i1 %18, label %19, label %25 19: ; preds = %14 %20 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 3 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 80 br i1 %23, label %24, label %25 24: ; preds = %19 br label %61 25: ; preds = %19, %14, %9, %3 store i32 0, ptr %1, align 4 br label %26 26: ; preds = %55, %25 %27 = load i32, ptr %1, align 4 %28 = icmp slt i32 %27, 50 br i1 %28, label %29, label %58 29: ; preds = %26 %30 = load i32, ptr %1, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %31 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp sge i32 %34, 97 br i1 %35, label %36, label %54 36: ; preds = %29 %37 = load i32, ptr %1, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %38 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp sle i32 %41, 122 br i1 %42, label %43, label %54 43: ; preds = %36 %44 = load i32, ptr %1, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %45 %47 = load i8, ptr %46, align 1 %48 = sext i8 %47 to i32 %49 = sub nsw i32 %48, 32 %50 = trunc i32 %49 to i8 %51 = load i32, ptr %1, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %52 store i8 %50, ptr %53, align 1 br label %54 54: ; preds = %43, %36, %29 br label %55 55: ; preds = %54 %56 = load i32, ptr %1, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %1, align 4 br label %26, !llvm.loop !6 58: ; preds = %26 %59 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0 %60 = call i32 @printf(ptr noundef @.str.1, ptr noundef %59) br label %3 61: ; preds = %24 ret void } declare i32 @scanf(ptr noundef, 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoa41l968.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"\0A%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca [1000 x i8], align 16 %3 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 3 br label %4 4: ; preds = %59, %0 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %6 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0 %7 = load i8, ptr %6, align 16 %8 = sext i8 %7 to i32 %9 = icmp eq i32 %8, 83 br i1 %9, label %10, label %25 10: ; preds = %4 %11 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 1 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp eq i32 %13, 84 br i1 %14, label %15, label %25 15: ; preds = %10 %16 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 2 %17 = load i8, ptr %16, align 2 %18 = sext i8 %17 to i32 %19 = icmp eq i32 %18, 79 br i1 %19, label %20, label %25 20: ; preds = %15 %21 = load i8, ptr %3, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 80 br i1 %23, label %24, label %25 24: ; preds = %20 br label %62 25: ; preds = %20, %15, %10, %4 store i32 0, ptr %1, align 4 %26 = load i32, ptr %1, align 4 %27 = icmp slt i32 %26, 50 br i1 %27, label %.lr.ph, label %59 .lr.ph: ; preds = %25 br label %28 28: ; preds = %.lr.ph, %54 %29 = load i32, ptr %1, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %30 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp sge i32 %33, 97 br i1 %34, label %35, label %53 35: ; preds = %28 %36 = load i32, ptr %1, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp sle i32 %40, 122 br i1 %41, label %42, label %53 42: ; preds = %35 %43 = load i32, ptr %1, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %44 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = sub nsw i32 %47, 32 %49 = trunc i32 %48 to i8 %50 = load i32, ptr %1, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %51 store i8 %49, ptr %52, align 1 br label %53 53: ; preds = %42, %35, %28 br label %54 54: ; preds = %53 %55 = load i32, ptr %1, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %1, align 4 %57 = load i32, ptr %1, align 4 %58 = icmp slt i32 %57, 50 br i1 %58, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %54 br label %59 59: ; preds = %._crit_edge, %25 %60 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0 %61 = call i32 @printf(ptr noundef @.str.1, ptr noundef %60) br label %4 62: ; preds = %24 ret void } declare i32 @scanf(ptr noundef, 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpa0cat105.c' source_filename = "/tmp/tmpa0cat105.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"# c::native::%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"singleton-dimensions\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 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 %5 = call i32 @time(ptr noundef null) %6 = call i32 @srand(i32 noundef %5) %7 = call i32 (...) @print_version() store i32 0, ptr %4, align 4 br label %8 8: ; preds = %20, %0 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %9, 3 br i1 %10, label %11, label %23 11: ; preds = %8 %12 = load i32, ptr %3, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %3, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %15 = call double (...) @benchmark() store double %15, ptr %2, align 8 %16 = load double, ptr %2, align 8 %17 = call i32 @print_results(double noundef %16) %18 = load i32, ptr %3, align 4 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %18) br label %20 20: ; preds = %11 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %4, align 4 br label %8, !llvm.loop !6 23: ; preds = %8 %24 = load i32, ptr %3, align 4 %25 = load i32, ptr %3, align 4 %26 = call i32 @print_summary(i32 noundef %24, i32 noundef %25) %27 = load i32, ptr %1, align 4 ret i32 %27 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @print_version(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @benchmark(...) #1 declare i32 @print_results(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa0cat105.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"# c::native::%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"singleton-dimensions\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 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 %5 = call i32 @time(ptr noundef null) %6 = call i32 @srand(i32 noundef %5) %7 = call i32 (...) @print_version() 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 %24 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %19 %11 = load i32, ptr %3, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %3, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %14 = call double (...) @benchmark() store double %14, ptr %2, align 8 %15 = load double, ptr %2, align 8 %16 = call i32 @print_results(double noundef %15) %17 = load i32, ptr %3, align 4 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %17) br label %19 19: ; preds = %10 %20 = load i32, ptr %4, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %4, align 4 %22 = load i32, ptr %4, align 4 %23 = icmp slt i32 %22, 3 br i1 %23, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %24 24: ; preds = %._crit_edge, %0 %25 = load i32, ptr %3, align 4 %26 = load i32, ptr %3, align 4 %27 = call i32 @print_summary(i32 noundef %25, i32 noundef %26) %28 = load i32, ptr %1, align 4 ret i32 %28 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @print_version(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @benchmark(...) #1 declare i32 @print_results(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"}
; ModuleID = '/tmp/tmprqiolveu.c' source_filename = "/tmp/tmprqiolveu.c" target datalayout = "e-m:e-p270: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.stat = type { i32 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"\0AUsage: %s INFILE OUTFILE\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"%s: can't stat %s: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [16 x i8] c"%s is %d bytes\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"%s: can't read %s: %s\0A\00", align 1 @.str.5 = private unnamed_addr constant [31 x i8] c"%s: can't malloc %d bytes: %s\0A\00", align 1 @.str.6 = private unnamed_addr constant [29 x i8] c"%s: can't read %d bytes: %s\0A\00", align 1 @.str.7 = private unnamed_addr constant [33 x i8] c"%s: can't allocate %d bytes: %s\0A\00", align 1 @.str.8 = private unnamed_addr constant [37 x i8] c"%s: compression failed with code %d\0A\00", align 1 @.str.9 = private unnamed_addr constant [33 x i8] c"Compressed %d bytes to %d bytes\0A\00", align 1 @.str.10 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.11 = private unnamed_addr constant [35 x i8] c"%s: can't open %s for writing: %s\0A\00", align 1 @.str.12 = private unnamed_addr constant [30 x i8] c"%s: can't write %d bytes: %s\0A\00", align 1 @.str.13 = private unnamed_addr constant [22 x i8] c"wrote %d bytes to %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca %struct.stat, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 %17 = 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 %7, align 4 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 0 %20 = load ptr, ptr %19, align 8 %21 = call ptr @strrchr(ptr noundef %20, i8 noundef signext 47) store ptr %21, ptr %6, align 8 %22 = load ptr, ptr %6, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %24, label %27 24: ; preds = %2 %25 = load ptr, ptr %6, align 8 %26 = getelementptr inbounds i8, ptr %25, i32 1 store ptr %26, ptr %6, align 8 br label %31 27: ; preds = %2 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 0 %30 = load ptr, ptr %29, align 8 store ptr %30, ptr %6, align 8 br label %31 31: ; preds = %27, %24 %32 = load i32, ptr %4, align 4 %33 = icmp ne i32 %32, 3 br i1 %33, label %34, label %39 34: ; preds = %31 %35 = load i32, ptr @stderr, align 4 %36 = load ptr, ptr %6, align 8 %37 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %35, ptr noundef @.str, ptr noundef %36) %38 = call i32 @exit(i32 noundef 1) #3 unreachable 39: ; preds = %31 %40 = load ptr, ptr %5, align 8 %41 = getelementptr inbounds ptr, ptr %40, i64 1 %42 = load ptr, ptr %41, align 8 store ptr %42, ptr %8, align 8 %43 = load ptr, ptr %5, align 8 %44 = getelementptr inbounds ptr, ptr %43, i64 2 %45 = load ptr, ptr %44, align 8 store ptr %45, ptr %9, align 8 %46 = load ptr, ptr %8, align 8 %47 = call i64 @stat(ptr noundef %46, ptr noundef %10) %48 = icmp ne i64 0, %47 br i1 %48, label %49, label %57 49: ; preds = %39 %50 = load i32, ptr @stderr, align 4 %51 = load ptr, ptr %6, align 8 %52 = load ptr, ptr %8, align 8 %53 = load i32, ptr @errno, align 4 %54 = call ptr @strerror(i32 noundef %53) %55 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %50, ptr noundef @.str.1, ptr noundef %51, ptr noundef %52, ptr noundef %54) %56 = call i32 @exit(i32 noundef 1) #3 unreachable 57: ; preds = %39 %58 = getelementptr inbounds %struct.stat, ptr %10, i32 0, i32 0 %59 = load i32, ptr %58, align 4 store i32 %59, ptr %11, align 4 %60 = load ptr, ptr %8, align 8 %61 = load i32, ptr %11, align 4 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %60, i32 noundef %61) %63 = load ptr, ptr %8, align 8 %64 = call ptr @fopen(ptr noundef %63, ptr noundef @.str.3) store ptr %64, ptr %12, align 8 %65 = load ptr, ptr %12, align 8 %66 = icmp ne ptr %65, null br i1 %66, label %75, label %67 67: ; preds = %57 %68 = load i32, ptr @stderr, align 4 %69 = load ptr, ptr %6, align 8 %70 = load ptr, ptr %8, align 8 %71 = load i32, ptr @errno, align 4 %72 = call ptr @strerror(i32 noundef %71) %73 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %68, ptr noundef @.str.4, ptr noundef %69, ptr noundef %70, ptr noundef %72) %74 = call i32 @exit(i32 noundef 1) #3 unreachable 75: ; preds = %57 %76 = load i32, ptr %11, align 4 %77 = call ptr @malloc(i32 noundef %76) store ptr %77, ptr %13, align 8 %78 = load ptr, ptr %13, align 8 %79 = icmp ne ptr %78, null br i1 %79, label %87, label %80 80: ; preds = %75 %81 = load i32, ptr @stderr, align 4 %82 = load ptr, ptr %6, align 8 %83 = load i32, ptr %11, align 4 %84 = load i32, ptr @errno, align 4 %85 = call ptr @strerror(i32 noundef %84) %86 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %81, ptr noundef @.str.5, ptr noundef %82, i32 noundef %83, ptr noundef %85) br label %166 87: ; preds = %75 %88 = load ptr, ptr %13, align 8 %89 = load i32, ptr %11, align 4 %90 = load ptr, ptr %12, align 8 %91 = call i32 @fread(ptr noundef %88, i32 noundef %89, i32 noundef 1, ptr noundef %90) %92 = icmp ne i32 1, %91 br i1 %92, label %93, label %100 93: ; preds = %87 %94 = load i32, ptr @stderr, align 4 %95 = load ptr, ptr %6, align 8 %96 = load i32, ptr %11, align 4 %97 = load i32, ptr @errno, align 4 %98 = call ptr @strerror(i32 noundef %97) %99 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %94, ptr noundef @.str.6, ptr noundef %95, i32 noundef %96, ptr noundef %98) br label %163 100: ; preds = %87 %101 = load i32, ptr %11, align 4 store i32 %101, ptr %14, align 4 %102 = load i32, ptr %14, align 4 %103 = call ptr @malloc(i32 noundef %102) store ptr %103, ptr %15, align 8 %104 = load ptr, ptr %15, align 8 %105 = icmp ne ptr %104, null br i1 %105, label %113, label %106 106: ; preds = %100 %107 = load i32, ptr @stderr, align 4 %108 = load ptr, ptr %6, align 8 %109 = load i32, ptr %14, align 4 %110 = load i32, ptr @errno, align 4 %111 = call ptr @strerror(i32 noundef %110) %112 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %107, ptr noundef @.str.7, ptr noundef %108, i32 noundef %109, ptr noundef %111) br label %163 113: ; preds = %100 %114 = load ptr, ptr %13, align 8 %115 = load i32, ptr %11, align 4 %116 = load ptr, ptr %15, align 8 %117 = call i32 @EfiCompress(ptr noundef %114, i32 noundef %115, ptr noundef %116, ptr noundef %14) store i32 %117, ptr %16, align 4 %118 = load i32, ptr %16, align 4 %119 = icmp ne i32 %118, 0 br i1 %119, label %120, label %125 120: ; preds = %113 %121 = load i32, ptr @stderr, align 4 %122 = load ptr, ptr %6, align 8 %123 = load i32, ptr %16, align 4 %124 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %121, ptr noundef @.str.8, ptr noundef %122, i32 noundef %123) br label %160 125: ; preds = %113 %126 = load i32, ptr %11, align 4 %127 = load i32, ptr %14, align 4 %128 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %126, i32 noundef %127) %129 = load ptr, ptr %9, align 8 %130 = call ptr @fopen(ptr noundef %129, ptr noundef @.str.10) store ptr %130, ptr %17, align 8 %131 = load ptr, ptr %17, align 8 %132 = icmp ne ptr %131, null br i1 %132, label %140, label %133 133: ; preds = %125 %134 = load i32, ptr @stderr, align 4 %135 = load ptr, ptr %6, align 8 %136 = load ptr, ptr %9, align 8 %137 = load i32, ptr @errno, align 4 %138 = call ptr @strerror(i32 noundef %137) %139 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %134, ptr noundef @.str.11, ptr noundef %135, ptr noundef %136, ptr noundef %138) br label %160 140: ; preds = %125 %141 = load ptr, ptr %15, align 8 %142 = load i32, ptr %14, align 4 %143 = load ptr, ptr %17, align 8 %144 = call i32 @fwrite(ptr noundef %141, i32 noundef %142, i32 noundef 1, ptr noundef %143) %145 = icmp ne i32 1, %144 br i1 %145, label %146, label %153 146: ; preds = %140 %147 = load i32, ptr @stderr, align 4 %148 = load ptr, ptr %6, align 8 %149 = load i32, ptr %14, align 4 %150 = load i32, ptr @errno, align 4 %151 = call ptr @strerror(i32 noundef %150) %152 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %147, ptr noundef @.str.12, ptr noundef %148, i32 noundef %149, ptr noundef %151) br label %157 153: ; preds = %140 %154 = load i32, ptr %14, align 4 %155 = load ptr, ptr %9, align 8 %156 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %154, ptr noundef %155) store i32 0, ptr %7, align 4 br label %157 157: ; preds = %153, %146 %158 = load ptr, ptr %17, align 8 %159 = call i32 @fclose(ptr noundef %158) br label %160 160: ; preds = %157, %133, %120 %161 = load ptr, ptr %15, align 8 %162 = call i32 @free(ptr noundef %161) br label %163 163: ; preds = %160, %106, %93 %164 = load ptr, ptr %13, align 8 %165 = call i32 @free(ptr noundef %164) br label %166 166: ; preds = %163, %80 %167 = load ptr, ptr %12, align 8 %168 = call i32 @fclose(ptr noundef %167) %169 = load i32, ptr %7, align 4 ret i32 %169 } declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @stat(ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @EfiCompress(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmprqiolveu.c" target datalayout = "e-m:e-p270: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.stat = type { i32 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"\0AUsage: %s INFILE OUTFILE\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"%s: can't stat %s: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [16 x i8] c"%s is %d bytes\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"%s: can't read %s: %s\0A\00", align 1 @.str.5 = private unnamed_addr constant [31 x i8] c"%s: can't malloc %d bytes: %s\0A\00", align 1 @.str.6 = private unnamed_addr constant [29 x i8] c"%s: can't read %d bytes: %s\0A\00", align 1 @.str.7 = private unnamed_addr constant [33 x i8] c"%s: can't allocate %d bytes: %s\0A\00", align 1 @.str.8 = private unnamed_addr constant [37 x i8] c"%s: compression failed with code %d\0A\00", align 1 @.str.9 = private unnamed_addr constant [33 x i8] c"Compressed %d bytes to %d bytes\0A\00", align 1 @.str.10 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.11 = private unnamed_addr constant [35 x i8] c"%s: can't open %s for writing: %s\0A\00", align 1 @.str.12 = private unnamed_addr constant [30 x i8] c"%s: can't write %d bytes: %s\0A\00", align 1 @.str.13 = private unnamed_addr constant [22 x i8] c"wrote %d bytes to %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca %struct.stat, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 %17 = 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 %7, align 4 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 0 %20 = load ptr, ptr %19, align 8 %21 = call ptr @strrchr(ptr noundef %20, i8 noundef signext 47) store ptr %21, ptr %6, align 8 %22 = load ptr, ptr %6, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %24, label %27 24: ; preds = %2 %25 = load ptr, ptr %6, align 8 %26 = getelementptr inbounds i8, ptr %25, i32 1 store ptr %26, ptr %6, align 8 br label %31 27: ; preds = %2 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 0 %30 = load ptr, ptr %29, align 8 store ptr %30, ptr %6, align 8 br label %31 31: ; preds = %27, %24 %32 = load i32, ptr %4, align 4 %33 = icmp ne i32 %32, 3 br i1 %33, label %34, label %39 34: ; preds = %31 %35 = load i32, ptr @stderr, align 4 %36 = load ptr, ptr %6, align 8 %37 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %35, ptr noundef @.str, ptr noundef %36) %38 = call i32 @exit(i32 noundef 1) #3 unreachable 39: ; preds = %31 %40 = load ptr, ptr %5, align 8 %41 = getelementptr inbounds ptr, ptr %40, i64 1 %42 = load ptr, ptr %41, align 8 store ptr %42, ptr %8, align 8 %43 = load ptr, ptr %5, align 8 %44 = getelementptr inbounds ptr, ptr %43, i64 2 %45 = load ptr, ptr %44, align 8 store ptr %45, ptr %9, align 8 %46 = load ptr, ptr %8, align 8 %47 = call i64 @stat(ptr noundef %46, ptr noundef %10) %48 = icmp ne i64 0, %47 br i1 %48, label %49, label %57 49: ; preds = %39 %50 = load i32, ptr @stderr, align 4 %51 = load ptr, ptr %6, align 8 %52 = load ptr, ptr %8, align 8 %53 = load i32, ptr @errno, align 4 %54 = call ptr @strerror(i32 noundef %53) %55 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %50, ptr noundef @.str.1, ptr noundef %51, ptr noundef %52, ptr noundef %54) %56 = call i32 @exit(i32 noundef 1) #3 unreachable 57: ; preds = %39 %58 = getelementptr inbounds %struct.stat, ptr %10, i32 0, i32 0 %59 = load i32, ptr %58, align 4 store i32 %59, ptr %11, align 4 %60 = load ptr, ptr %8, align 8 %61 = load i32, ptr %11, align 4 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %60, i32 noundef %61) %63 = load ptr, ptr %8, align 8 %64 = call ptr @fopen(ptr noundef %63, ptr noundef @.str.3) store ptr %64, ptr %12, align 8 %65 = load ptr, ptr %12, align 8 %66 = icmp ne ptr %65, null br i1 %66, label %75, label %67 67: ; preds = %57 %68 = load i32, ptr @stderr, align 4 %69 = load ptr, ptr %6, align 8 %70 = load ptr, ptr %8, align 8 %71 = load i32, ptr @errno, align 4 %72 = call ptr @strerror(i32 noundef %71) %73 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %68, ptr noundef @.str.4, ptr noundef %69, ptr noundef %70, ptr noundef %72) %74 = call i32 @exit(i32 noundef 1) #3 unreachable 75: ; preds = %57 %76 = load i32, ptr %11, align 4 %77 = call ptr @malloc(i32 noundef %76) store ptr %77, ptr %13, align 8 %78 = load ptr, ptr %13, align 8 %79 = icmp ne ptr %78, null br i1 %79, label %87, label %80 80: ; preds = %75 %81 = load i32, ptr @stderr, align 4 %82 = load ptr, ptr %6, align 8 %83 = load i32, ptr %11, align 4 %84 = load i32, ptr @errno, align 4 %85 = call ptr @strerror(i32 noundef %84) %86 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %81, ptr noundef @.str.5, ptr noundef %82, i32 noundef %83, ptr noundef %85) br label %166 87: ; preds = %75 %88 = load ptr, ptr %13, align 8 %89 = load i32, ptr %11, align 4 %90 = load ptr, ptr %12, align 8 %91 = call i32 @fread(ptr noundef %88, i32 noundef %89, i32 noundef 1, ptr noundef %90) %92 = icmp ne i32 1, %91 br i1 %92, label %93, label %100 93: ; preds = %87 %94 = load i32, ptr @stderr, align 4 %95 = load ptr, ptr %6, align 8 %96 = load i32, ptr %11, align 4 %97 = load i32, ptr @errno, align 4 %98 = call ptr @strerror(i32 noundef %97) %99 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %94, ptr noundef @.str.6, ptr noundef %95, i32 noundef %96, ptr noundef %98) br label %163 100: ; preds = %87 %101 = load i32, ptr %11, align 4 store i32 %101, ptr %14, align 4 %102 = load i32, ptr %14, align 4 %103 = call ptr @malloc(i32 noundef %102) store ptr %103, ptr %15, align 8 %104 = load ptr, ptr %15, align 8 %105 = icmp ne ptr %104, null br i1 %105, label %113, label %106 106: ; preds = %100 %107 = load i32, ptr @stderr, align 4 %108 = load ptr, ptr %6, align 8 %109 = load i32, ptr %14, align 4 %110 = load i32, ptr @errno, align 4 %111 = call ptr @strerror(i32 noundef %110) %112 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %107, ptr noundef @.str.7, ptr noundef %108, i32 noundef %109, ptr noundef %111) br label %163 113: ; preds = %100 %114 = load ptr, ptr %13, align 8 %115 = load i32, ptr %11, align 4 %116 = load ptr, ptr %15, align 8 %117 = call i32 @EfiCompress(ptr noundef %114, i32 noundef %115, ptr noundef %116, ptr noundef %14) store i32 %117, ptr %16, align 4 %118 = load i32, ptr %16, align 4 %119 = icmp ne i32 %118, 0 br i1 %119, label %120, label %125 120: ; preds = %113 %121 = load i32, ptr @stderr, align 4 %122 = load ptr, ptr %6, align 8 %123 = load i32, ptr %16, align 4 %124 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %121, ptr noundef @.str.8, ptr noundef %122, i32 noundef %123) br label %160 125: ; preds = %113 %126 = load i32, ptr %11, align 4 %127 = load i32, ptr %14, align 4 %128 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %126, i32 noundef %127) %129 = load ptr, ptr %9, align 8 %130 = call ptr @fopen(ptr noundef %129, ptr noundef @.str.10) store ptr %130, ptr %17, align 8 %131 = load ptr, ptr %17, align 8 %132 = icmp ne ptr %131, null br i1 %132, label %140, label %133 133: ; preds = %125 %134 = load i32, ptr @stderr, align 4 %135 = load ptr, ptr %6, align 8 %136 = load ptr, ptr %9, align 8 %137 = load i32, ptr @errno, align 4 %138 = call ptr @strerror(i32 noundef %137) %139 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %134, ptr noundef @.str.11, ptr noundef %135, ptr noundef %136, ptr noundef %138) br label %160 140: ; preds = %125 %141 = load ptr, ptr %15, align 8 %142 = load i32, ptr %14, align 4 %143 = load ptr, ptr %17, align 8 %144 = call i32 @fwrite(ptr noundef %141, i32 noundef %142, i32 noundef 1, ptr noundef %143) %145 = icmp ne i32 1, %144 br i1 %145, label %146, label %153 146: ; preds = %140 %147 = load i32, ptr @stderr, align 4 %148 = load ptr, ptr %6, align 8 %149 = load i32, ptr %14, align 4 %150 = load i32, ptr @errno, align 4 %151 = call ptr @strerror(i32 noundef %150) %152 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %147, ptr noundef @.str.12, ptr noundef %148, i32 noundef %149, ptr noundef %151) br label %157 153: ; preds = %140 %154 = load i32, ptr %14, align 4 %155 = load ptr, ptr %9, align 8 %156 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %154, ptr noundef %155) store i32 0, ptr %7, align 4 br label %157 157: ; preds = %153, %146 %158 = load ptr, ptr %17, align 8 %159 = call i32 @fclose(ptr noundef %158) br label %160 160: ; preds = %157, %133, %120 %161 = load ptr, ptr %15, align 8 %162 = call i32 @free(ptr noundef %161) br label %163 163: ; preds = %160, %106, %93 %164 = load ptr, ptr %13, align 8 %165 = call i32 @free(ptr noundef %164) br label %166 166: ; preds = %163, %80 %167 = load ptr, ptr %12, align 8 %168 = call i32 @fclose(ptr noundef %167) %169 = load i32, ptr %7, align 4 ret i32 %169 } declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @stat(ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @EfiCompress(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpsplivzvo.c' source_filename = "/tmp/tmpsplivzvo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s%s\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"\1B[\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ansi_escape(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 @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %3) ret void } declare i32 @printf(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/tmpsplivzvo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s%s\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"\1B[\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ansi_escape(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 @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %3) ret void } declare i32 @printf(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/tmpvyg625zu.c' source_filename = "/tmp/tmpvyg625zu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"ALL TESTS PASSED\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call ptr (...) @all_tests() store ptr %7, ptr %6, align 8 %8 = load ptr, ptr %6, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %13 10: ; preds = %2 %11 = load ptr, ptr %6, align 8 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %11) br label %15 13: ; preds = %2 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %15 15: ; preds = %13, %10 %16 = load ptr, ptr %6, align 8 %17 = icmp ne ptr %16, null %18 = zext i1 %17 to i32 ret i32 %18 } declare ptr @all_tests(...) #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/tmpvyg625zu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"ALL TESTS PASSED\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call ptr (...) @all_tests() store ptr %7, ptr %6, align 8 %8 = load ptr, ptr %6, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %13 10: ; preds = %2 %11 = load ptr, ptr %6, align 8 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %11) br label %15 13: ; preds = %2 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %15 15: ; preds = %13, %10 %16 = load ptr, ptr %6, align 8 %17 = icmp ne ptr %16, null %18 = zext i1 %17 to i32 ret i32 %18 } declare ptr @all_tests(...) #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/tmp1f_u0374.c' source_filename = "/tmp/tmp1f_u0374.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @fgetline(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = 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 %10 = load ptr, ptr %5, align 8 store ptr %10, ptr %8, align 8 %11 = load i32, ptr @EOF, align 4 store i32 %11, ptr %9, align 4 br label %12 12: ; preds = %42, %3 %13 = load i32, ptr %6, align 4 %14 = add nsw i32 %13, -1 store i32 %14, ptr %6, align 4 %15 = icmp sgt i32 %14, 0 br i1 %15, label %16, label %21 16: ; preds = %12 %17 = load ptr, ptr %7, align 8 %18 = call i32 @getc(ptr noundef %17) store i32 %18, ptr %9, align 4 %19 = load i32, ptr @EOF, align 4 %20 = icmp ne i32 %18, %19 br label %21 21: ; preds = %16, %12 %22 = phi i1 [ false, %12 ], [ %20, %16 ] br i1 %22, label %23, label %47 23: ; preds = %21 %24 = load i32, ptr %9, align 4 %25 = icmp eq i32 %24, 13 br i1 %25, label %26, label %34 26: ; preds = %23 %27 = load ptr, ptr %7, align 8 %28 = call i32 @getc(ptr noundef %27) store i32 %28, ptr %9, align 4 %29 = icmp ne i32 %28, 10 br i1 %29, label %30, label %34 30: ; preds = %26 %31 = load i32, ptr %9, align 4 %32 = load ptr, ptr %7, align 8 %33 = call i32 @ungetc(i32 noundef %31, ptr noundef %32) store i32 10, ptr %9, align 4 br label %34 34: ; preds = %30, %26, %23 %35 = load i32, ptr %9, align 4 %36 = icmp eq i32 %35, 10 br i1 %36, label %37, label %42 37: ; preds = %34 %38 = load i32, ptr %9, align 4 %39 = trunc i32 %38 to i8 %40 = load ptr, ptr %8, align 8 %41 = getelementptr inbounds i8, ptr %40, i32 1 store ptr %41, ptr %8, align 8 store i8 %39, ptr %40, align 1 br label %47 42: ; preds = %34 %43 = load i32, ptr %9, align 4 %44 = trunc i32 %43 to i8 %45 = load ptr, ptr %8, align 8 %46 = getelementptr inbounds i8, ptr %45, i32 1 store ptr %46, ptr %8, align 8 store i8 %44, ptr %45, align 1 br label %12, !llvm.loop !6 47: ; preds = %37, %21 %48 = load ptr, ptr %8, align 8 %49 = load ptr, ptr %5, align 8 %50 = icmp eq ptr %48, %49 br i1 %50, label %51, label %56 51: ; preds = %47 %52 = load i32, ptr %9, align 4 %53 = load i32, ptr @EOF, align 4 %54 = icmp eq i32 %52, %53 br i1 %54, label %55, label %56 55: ; preds = %51 store ptr null, ptr %4, align 8 br label %59 56: ; preds = %51, %47 %57 = load ptr, ptr %8, align 8 store i8 0, ptr %57, align 1 %58 = load ptr, ptr %5, align 8 store ptr %58, ptr %4, align 8 br label %59 59: ; preds = %56, %55 %60 = load ptr, ptr %4, align 8 ret ptr %60 } declare i32 @getc(ptr noundef) #1 declare i32 @ungetc(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1f_u0374.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @fgetline(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = 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 %10 = load ptr, ptr %5, align 8 store ptr %10, ptr %8, align 8 %11 = load i32, ptr @EOF, align 4 store i32 %11, ptr %9, align 4 br label %12 12: ; preds = %42, %3 %13 = load i32, ptr %6, align 4 %14 = add nsw i32 %13, -1 store i32 %14, ptr %6, align 4 %15 = icmp sgt i32 %14, 0 br i1 %15, label %16, label %21 16: ; preds = %12 %17 = load ptr, ptr %7, align 8 %18 = call i32 @getc(ptr noundef %17) store i32 %18, ptr %9, align 4 %19 = load i32, ptr @EOF, align 4 %20 = icmp ne i32 %18, %19 br label %21 21: ; preds = %16, %12 %22 = phi i1 [ false, %12 ], [ %20, %16 ] br i1 %22, label %23, label %.loopexit 23: ; preds = %21 %24 = load i32, ptr %9, align 4 %25 = icmp eq i32 %24, 13 br i1 %25, label %26, label %34 26: ; preds = %23 %27 = load ptr, ptr %7, align 8 %28 = call i32 @getc(ptr noundef %27) store i32 %28, ptr %9, align 4 %29 = icmp ne i32 %28, 10 br i1 %29, label %30, label %34 30: ; preds = %26 %31 = load i32, ptr %9, align 4 %32 = load ptr, ptr %7, align 8 %33 = call i32 @ungetc(i32 noundef %31, ptr noundef %32) store i32 10, ptr %9, align 4 br label %34 34: ; preds = %30, %26, %23 %35 = load i32, ptr %9, align 4 %36 = icmp eq i32 %35, 10 br i1 %36, label %37, label %42 37: ; preds = %34 %38 = load i32, ptr %9, align 4 %39 = trunc i32 %38 to i8 %40 = load ptr, ptr %8, align 8 %41 = getelementptr inbounds i8, ptr %40, i32 1 store ptr %41, ptr %8, align 8 store i8 %39, ptr %40, align 1 br label %47 42: ; preds = %34 %43 = load i32, ptr %9, align 4 %44 = trunc i32 %43 to i8 %45 = load ptr, ptr %8, align 8 %46 = getelementptr inbounds i8, ptr %45, i32 1 store ptr %46, ptr %8, align 8 store i8 %44, ptr %45, align 1 br label %12, !llvm.loop !6 .loopexit: ; preds = %21 br label %47 47: ; preds = %.loopexit, %37 %48 = load ptr, ptr %8, align 8 %49 = load ptr, ptr %5, align 8 %50 = icmp eq ptr %48, %49 br i1 %50, label %51, label %56 51: ; preds = %47 %52 = load i32, ptr %9, align 4 %53 = load i32, ptr @EOF, align 4 %54 = icmp eq i32 %52, %53 br i1 %54, label %55, label %56 55: ; preds = %51 store ptr null, ptr %4, align 8 br label %59 56: ; preds = %51, %47 %57 = load ptr, ptr %8, align 8 store i8 0, ptr %57, align 1 %58 = load ptr, ptr %5, align 8 store ptr %58, ptr %4, align 8 br label %59 59: ; preds = %56, %55 %60 = load ptr, ptr %4, align 8 ret ptr %60 } declare i32 @getc(ptr noundef) #1 declare i32 @ungetc(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpp9sc3hd2.c' source_filename = "/tmp/tmpp9sc3hd2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @vector_col7_printf_decimated(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, i32 noundef %7, ptr noundef %8) #0 { %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca i32, align 4 %18 = alloca ptr, align 8 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 store ptr %0, ptr %10, align 8 store ptr %1, ptr %11, align 8 store ptr %2, ptr %12, align 8 store ptr %3, ptr %13, align 8 store ptr %4, ptr %14, align 8 store ptr %5, ptr %15, align 8 store ptr %6, ptr %16, align 8 store i32 %7, ptr %17, align 4 store ptr %8, ptr %18, align 8 store i32 1, ptr %19, align 4 store i32 2000, ptr %21, align 4 %22 = load i32, ptr %17, align 4 %23 = icmp sgt i32 %22, 2000 br i1 %23, label %24, label %27 24: ; preds = %9 %25 = load i32, ptr %17, align 4 %26 = sdiv i32 %25, 2000 store i32 %26, ptr %19, align 4 br label %27 27: ; preds = %24, %9 store i32 0, ptr %20, align 4 br label %28 28: ; preds = %89, %27 %29 = load i32, ptr %20, align 4 %30 = load i32, ptr %17, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %32, label %93 32: ; preds = %28 %33 = load ptr, ptr %18, align 8 %34 = load ptr, ptr %10, align 8 %35 = load i32, ptr %20, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds double, ptr %34, i64 %36 %38 = load double, ptr %37, align 8 %39 = call i32 (ptr, ...) @printf(ptr noundef %33, double noundef %38) %40 = call i32 (ptr, ...) @printf(ptr noundef @.str) %41 = load ptr, ptr %18, align 8 %42 = load ptr, ptr %11, align 8 %43 = load i32, ptr %20, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds double, ptr %42, i64 %44 %46 = load double, ptr %45, align 8 %47 = call i32 (ptr, ...) @printf(ptr noundef %41, double noundef %46) %48 = call i32 (ptr, ...) @printf(ptr noundef @.str) %49 = load ptr, ptr %18, align 8 %50 = load ptr, ptr %12, align 8 %51 = load i32, ptr %20, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds double, ptr %50, i64 %52 %54 = load double, ptr %53, align 8 %55 = call i32 (ptr, ...) @printf(ptr noundef %49, double noundef %54) %56 = call i32 (ptr, ...) @printf(ptr noundef @.str) %57 = load ptr, ptr %18, align 8 %58 = load ptr, ptr %13, align 8 %59 = load i32, ptr %20, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds double, ptr %58, i64 %60 %62 = load double, ptr %61, align 8 %63 = call i32 (ptr, ...) @printf(ptr noundef %57, double noundef %62) %64 = call i32 (ptr, ...) @printf(ptr noundef @.str) %65 = load ptr, ptr %18, align 8 %66 = load ptr, ptr %14, align 8 %67 = load i32, ptr %20, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds double, ptr %66, i64 %68 %70 = load double, ptr %69, align 8 %71 = call i32 (ptr, ...) @printf(ptr noundef %65, double noundef %70) %72 = call i32 (ptr, ...) @printf(ptr noundef @.str) %73 = load ptr, ptr %18, align 8 %74 = load ptr, ptr %15, align 8 %75 = load i32, ptr %20, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds double, ptr %74, i64 %76 %78 = load double, ptr %77, align 8 %79 = call i32 (ptr, ...) @printf(ptr noundef %73, double noundef %78) %80 = call i32 (ptr, ...) @printf(ptr noundef @.str) %81 = load ptr, ptr %18, align 8 %82 = load ptr, ptr %16, align 8 %83 = load i32, ptr %20, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds double, ptr %82, i64 %84 %86 = load double, ptr %85, align 8 %87 = call i32 (ptr, ...) @printf(ptr noundef %81, double noundef %86) %88 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %89 89: ; preds = %32 %90 = load i32, ptr %19, align 4 %91 = load i32, ptr %20, align 4 %92 = add nsw i32 %91, %90 store i32 %92, ptr %20, align 4 br label %28, !llvm.loop !6 93: ; preds = %28 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp9sc3hd2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @vector_col7_printf_decimated(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, i32 noundef %7, ptr noundef %8) #0 { %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca i32, align 4 %18 = alloca ptr, align 8 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 store ptr %0, ptr %10, align 8 store ptr %1, ptr %11, align 8 store ptr %2, ptr %12, align 8 store ptr %3, ptr %13, align 8 store ptr %4, ptr %14, align 8 store ptr %5, ptr %15, align 8 store ptr %6, ptr %16, align 8 store i32 %7, ptr %17, align 4 store ptr %8, ptr %18, align 8 store i32 1, ptr %19, align 4 store i32 2000, ptr %21, align 4 %22 = load i32, ptr %17, align 4 %23 = icmp sgt i32 %22, 2000 br i1 %23, label %24, label %27 24: ; preds = %9 %25 = load i32, ptr %17, align 4 %26 = sdiv i32 %25, 2000 store i32 %26, ptr %19, align 4 br label %27 27: ; preds = %24, %9 store i32 0, ptr %20, align 4 %28 = load i32, ptr %20, align 4 %29 = load i32, ptr %17, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %.lr.ph, label %95 .lr.ph: ; preds = %27 br label %31 31: ; preds = %.lr.ph, %88 %32 = load ptr, ptr %18, align 8 %33 = load ptr, ptr %10, align 8 %34 = load i32, ptr %20, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds double, ptr %33, i64 %35 %37 = load double, ptr %36, align 8 %38 = call i32 (ptr, ...) @printf(ptr noundef %32, double noundef %37) %39 = call i32 (ptr, ...) @printf(ptr noundef @.str) %40 = load ptr, ptr %18, align 8 %41 = load ptr, ptr %11, align 8 %42 = load i32, ptr %20, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds double, ptr %41, i64 %43 %45 = load double, ptr %44, align 8 %46 = call i32 (ptr, ...) @printf(ptr noundef %40, double noundef %45) %47 = call i32 (ptr, ...) @printf(ptr noundef @.str) %48 = load ptr, ptr %18, align 8 %49 = load ptr, ptr %12, align 8 %50 = load i32, ptr %20, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds double, ptr %49, i64 %51 %53 = load double, ptr %52, align 8 %54 = call i32 (ptr, ...) @printf(ptr noundef %48, double noundef %53) %55 = call i32 (ptr, ...) @printf(ptr noundef @.str) %56 = load ptr, ptr %18, align 8 %57 = load ptr, ptr %13, align 8 %58 = load i32, ptr %20, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds double, ptr %57, i64 %59 %61 = load double, ptr %60, align 8 %62 = call i32 (ptr, ...) @printf(ptr noundef %56, double noundef %61) %63 = call i32 (ptr, ...) @printf(ptr noundef @.str) %64 = load ptr, ptr %18, align 8 %65 = load ptr, ptr %14, align 8 %66 = load i32, ptr %20, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds double, ptr %65, i64 %67 %69 = load double, ptr %68, align 8 %70 = call i32 (ptr, ...) @printf(ptr noundef %64, double noundef %69) %71 = call i32 (ptr, ...) @printf(ptr noundef @.str) %72 = load ptr, ptr %18, align 8 %73 = load ptr, ptr %15, align 8 %74 = load i32, ptr %20, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds double, ptr %73, i64 %75 %77 = load double, ptr %76, align 8 %78 = call i32 (ptr, ...) @printf(ptr noundef %72, double noundef %77) %79 = call i32 (ptr, ...) @printf(ptr noundef @.str) %80 = load ptr, ptr %18, align 8 %81 = load ptr, ptr %16, align 8 %82 = load i32, ptr %20, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds double, ptr %81, i64 %83 %85 = load double, ptr %84, align 8 %86 = call i32 (ptr, ...) @printf(ptr noundef %80, double noundef %85) %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %88 88: ; preds = %31 %89 = load i32, ptr %19, align 4 %90 = load i32, ptr %20, align 4 %91 = add nsw i32 %90, %89 store i32 %91, ptr %20, align 4 %92 = load i32, ptr %20, align 4 %93 = load i32, ptr %17, align 4 %94 = icmp slt i32 %92, %93 br i1 %94, label %31, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %88 br label %95 95: ; preds = %._crit_edge, %27 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmptp2pm33c.c' source_filename = "/tmp/tmptp2pm33c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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, 36660 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/tmptp2pm33c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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, 36660 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/tmpnmh6hqfx.c' source_filename = "/tmp/tmpnmh6hqfx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eventfd(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = icmp ne i32 %5, 0 %7 = zext i1 %6 to i64 %8 = select i1 %6, i32 356, i32 351 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %4, align 4 %11 = call i32 @syscall(i32 noundef %8, i32 noundef %9, i32 noundef %10) ret i32 %11 } declare i32 @syscall(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/tmpnmh6hqfx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eventfd(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = icmp ne i32 %5, 0 %7 = zext i1 %6 to i64 %8 = select i1 %6, i32 356, i32 351 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %4, align 4 %11 = call i32 @syscall(i32 noundef %8, i32 noundef %9, i32 noundef %10) ret i32 %11 } declare i32 @syscall(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/tmphja8jzju.c' source_filename = "/tmp/tmphja8jzju.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EAGAIN = dso_local global i64 0, align 8 @ENOMEM = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 @O_RDONLY = dso_local global i32 0, align 4 @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/tmphja8jzju.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EAGAIN = dso_local global i64 0, align 8 @ENOMEM = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 @O_RDONLY = dso_local global i32 0, align 4 @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/tmpbh3exxx9.c' source_filename = "/tmp/tmpbh3exxx9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [162 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/stdlib/isqrt.c\00", align 1 @.str.1 = private unnamed_addr constant [41 x i8] c"Integer square root of 9274 should be 96\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_sqrt_9274() #0 { %1 = call i32 @isqrt(i32 noundef 9274) %2 = icmp eq i32 %1, 96 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 1470, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @isqrt(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/tmpbh3exxx9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [162 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/stdlib/isqrt.c\00", align 1 @.str.1 = private unnamed_addr constant [41 x i8] c"Integer square root of 9274 should be 96\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_sqrt_9274() #0 { %1 = call i32 @isqrt(i32 noundef 9274) %2 = icmp eq i32 %1, 96 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 1470, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @isqrt(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/tmpjznfjqqc.c' source_filename = "/tmp/tmpjznfjqqc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"aa\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"a\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"assert fail: %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"aa a\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"aa aa\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"aaa\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"aaa aa\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"*\00", align 1 @.str.8 = private unnamed_addr constant [5 x i8] c"aa *\00", align 1 @.str.9 = private unnamed_addr constant [3 x i8] c"a*\00", align 1 @.str.10 = private unnamed_addr constant [6 x i8] c"aa a*\00", align 1 @.str.11 = private unnamed_addr constant [3 x i8] c"ab\00", align 1 @.str.12 = private unnamed_addr constant [3 x i8] c"?*\00", align 1 @.str.13 = private unnamed_addr constant [6 x i8] c"ab ?*\00", align 1 @.str.14 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.15 = private unnamed_addr constant [2 x i8] c"?\00", align 1 @.str.16 = private unnamed_addr constant [3 x i8] c" ?\00", align 1 @.str.17 = private unnamed_addr constant [4 x i8] c"aab\00", align 1 @.str.18 = private unnamed_addr constant [6 x i8] c"c*a*b\00", align 1 @.str.19 = private unnamed_addr constant [10 x i8] c"aab c*a*b\00", align 1 @.str.20 = private unnamed_addr constant [21 x i8] c"everything is fine!\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 @isMatch(ptr noundef @.str, ptr noundef @.str.1) %7 = icmp eq i32 %6, 0 br i1 %7, label %11, label %8 8: ; preds = %2 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.3) %10 = call i32 @exit(i32 noundef -1) #3 unreachable 11: ; preds = %2 %12 = call i32 @isMatch(ptr noundef @.str, ptr noundef @.str) %13 = icmp eq i32 %12, 1 br i1 %13, label %17, label %14 14: ; preds = %11 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.4) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %11 %18 = call i32 @isMatch(ptr noundef @.str.5, ptr noundef @.str) %19 = icmp eq i32 %18, 0 br i1 %19, label %23, label %20 20: ; preds = %17 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.6) %22 = call i32 @exit(i32 noundef -1) #3 unreachable 23: ; preds = %17 %24 = call i32 @isMatch(ptr noundef @.str, ptr noundef @.str.7) %25 = icmp eq i32 %24, 1 br i1 %25, label %29, label %26 26: ; preds = %23 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.8) %28 = call i32 @exit(i32 noundef -1) #3 unreachable 29: ; preds = %23 %30 = call i32 @isMatch(ptr noundef @.str, ptr noundef @.str.9) %31 = icmp eq i32 %30, 1 br i1 %31, label %35, label %32 32: ; preds = %29 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.10) %34 = call i32 @exit(i32 noundef -1) #3 unreachable 35: ; preds = %29 %36 = call i32 @isMatch(ptr noundef @.str.11, ptr noundef @.str.12) %37 = icmp eq i32 %36, 1 br i1 %37, label %41, label %38 38: ; preds = %35 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.13) %40 = call i32 @exit(i32 noundef -1) #3 unreachable 41: ; preds = %35 %42 = call i32 @isMatch(ptr noundef @.str.14, ptr noundef @.str.15) %43 = icmp eq i32 %42, 0 br i1 %43, label %47, label %44 44: ; preds = %41 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.16) %46 = call i32 @exit(i32 noundef -1) #3 unreachable 47: ; preds = %41 %48 = call i32 @isMatch(ptr noundef @.str.17, ptr noundef @.str.18) %49 = icmp eq i32 %48, 0 br i1 %49, label %53, label %50 50: ; preds = %47 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.19) %52 = call i32 @exit(i32 noundef -1) #3 unreachable 53: ; preds = %47 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.20) ret i32 0 } declare i32 @isMatch(ptr noundef, ptr 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/tmpjznfjqqc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"aa\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"a\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"assert fail: %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"aa a\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"aa aa\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"aaa\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"aaa aa\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"*\00", align 1 @.str.8 = private unnamed_addr constant [5 x i8] c"aa *\00", align 1 @.str.9 = private unnamed_addr constant [3 x i8] c"a*\00", align 1 @.str.10 = private unnamed_addr constant [6 x i8] c"aa a*\00", align 1 @.str.11 = private unnamed_addr constant [3 x i8] c"ab\00", align 1 @.str.12 = private unnamed_addr constant [3 x i8] c"?*\00", align 1 @.str.13 = private unnamed_addr constant [6 x i8] c"ab ?*\00", align 1 @.str.14 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.15 = private unnamed_addr constant [2 x i8] c"?\00", align 1 @.str.16 = private unnamed_addr constant [3 x i8] c" ?\00", align 1 @.str.17 = private unnamed_addr constant [4 x i8] c"aab\00", align 1 @.str.18 = private unnamed_addr constant [6 x i8] c"c*a*b\00", align 1 @.str.19 = private unnamed_addr constant [10 x i8] c"aab c*a*b\00", align 1 @.str.20 = private unnamed_addr constant [21 x i8] c"everything is fine!\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 @isMatch(ptr noundef @.str, ptr noundef @.str.1) %7 = icmp eq i32 %6, 0 br i1 %7, label %11, label %8 8: ; preds = %2 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.3) %10 = call i32 @exit(i32 noundef -1) #3 unreachable 11: ; preds = %2 %12 = call i32 @isMatch(ptr noundef @.str, ptr noundef @.str) %13 = icmp eq i32 %12, 1 br i1 %13, label %17, label %14 14: ; preds = %11 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.4) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %11 %18 = call i32 @isMatch(ptr noundef @.str.5, ptr noundef @.str) %19 = icmp eq i32 %18, 0 br i1 %19, label %23, label %20 20: ; preds = %17 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.6) %22 = call i32 @exit(i32 noundef -1) #3 unreachable 23: ; preds = %17 %24 = call i32 @isMatch(ptr noundef @.str, ptr noundef @.str.7) %25 = icmp eq i32 %24, 1 br i1 %25, label %29, label %26 26: ; preds = %23 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.8) %28 = call i32 @exit(i32 noundef -1) #3 unreachable 29: ; preds = %23 %30 = call i32 @isMatch(ptr noundef @.str, ptr noundef @.str.9) %31 = icmp eq i32 %30, 1 br i1 %31, label %35, label %32 32: ; preds = %29 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.10) %34 = call i32 @exit(i32 noundef -1) #3 unreachable 35: ; preds = %29 %36 = call i32 @isMatch(ptr noundef @.str.11, ptr noundef @.str.12) %37 = icmp eq i32 %36, 1 br i1 %37, label %41, label %38 38: ; preds = %35 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.13) %40 = call i32 @exit(i32 noundef -1) #3 unreachable 41: ; preds = %35 %42 = call i32 @isMatch(ptr noundef @.str.14, ptr noundef @.str.15) %43 = icmp eq i32 %42, 0 br i1 %43, label %47, label %44 44: ; preds = %41 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.16) %46 = call i32 @exit(i32 noundef -1) #3 unreachable 47: ; preds = %41 %48 = call i32 @isMatch(ptr noundef @.str.17, ptr noundef @.str.18) %49 = icmp eq i32 %48, 0 br i1 %49, label %53, label %50 50: ; preds = %47 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.19) %52 = call i32 @exit(i32 noundef -1) #3 unreachable 53: ; preds = %47 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.20) ret i32 0 } declare i32 @isMatch(ptr noundef, ptr 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/tmpyhq0wcpa.c' source_filename = "/tmp/tmpyhq0wcpa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"signal sigcld recu\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"processus %d killed by :\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"\09exit\0A\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"\09signal\0A\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"\09stop\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sig_handler(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @wait(ptr noundef %3) store i32 %6, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %7) %9 = load i32, ptr %3, align 4 %10 = call i64 @WIFEXITED(i32 noundef %9) %11 = icmp ne i64 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %1 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %14 14: ; preds = %12, %1 %15 = load i32, ptr %3, align 4 %16 = call i64 @WIFSIGNALED(i32 noundef %15) %17 = icmp ne i64 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %14 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %20 20: ; preds = %18, %14 %21 = load i32, ptr %3, align 4 %22 = call i64 @WIFSTOPPED(i32 noundef %21) %23 = icmp ne i64 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %20 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %26 26: ; preds = %24, %20 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @wait(ptr noundef) #1 declare i64 @WIFEXITED(i32 noundef) #1 declare i64 @WIFSIGNALED(i32 noundef) #1 declare i64 @WIFSTOPPED(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/tmpyhq0wcpa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"signal sigcld recu\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"processus %d killed by :\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"\09exit\0A\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"\09signal\0A\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"\09stop\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sig_handler(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @wait(ptr noundef %3) store i32 %6, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %7) %9 = load i32, ptr %3, align 4 %10 = call i64 @WIFEXITED(i32 noundef %9) %11 = icmp ne i64 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %1 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %14 14: ; preds = %12, %1 %15 = load i32, ptr %3, align 4 %16 = call i64 @WIFSIGNALED(i32 noundef %15) %17 = icmp ne i64 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %14 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %20 20: ; preds = %18, %14 %21 = load i32, ptr %3, align 4 %22 = call i64 @WIFSTOPPED(i32 noundef %21) %23 = icmp ne i64 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %20 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %26 26: ; preds = %24, %20 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @wait(ptr noundef) #1 declare i64 @WIFEXITED(i32 noundef) #1 declare i64 @WIFSIGNALED(i32 noundef) #1 declare i64 @WIFSTOPPED(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/tmpka05edgl.c' source_filename = "/tmp/tmpka05edgl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_XEvent_xbutton_same_screen(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0 %8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0 store i32 %5, ptr %8, align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpka05edgl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_XEvent_xbutton_same_screen(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0 %8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0 store i32 %5, ptr %8, align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3l891hhh.c' source_filename = "/tmp/tmp3l891hhh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strtoll(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 i64, align 8 %8 = alloca i64, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i64 0, ptr %7, align 8 store i32 1, ptr %9, align 4 %11 = load ptr, ptr %4, align 8 store ptr %11, ptr %10, align 8 br label %12 12: ; preds = %17, %3 %13 = load ptr, ptr %10, align 8 %14 = load i8, ptr %13, align 1 %15 = call i64 @isspace(i8 noundef signext %14) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %12 %18 = load ptr, ptr %10, align 8 %19 = getelementptr inbounds i8, ptr %18, i32 1 store ptr %19, ptr %10, align 8 br label %12, !llvm.loop !6 20: ; preds = %12 %21 = load ptr, ptr %10, align 8 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %23, 43 br i1 %24, label %25, label %28 25: ; preds = %20 store i32 1, ptr %9, align 4 %26 = load ptr, ptr %10, align 8 %27 = getelementptr inbounds i8, ptr %26, i32 1 store ptr %27, ptr %10, align 8 br label %37 28: ; preds = %20 %29 = load ptr, ptr %10, align 8 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp eq i32 %31, 45 br i1 %32, label %33, label %36 33: ; preds = %28 store i32 -1, ptr %9, align 4 %34 = load ptr, ptr %10, align 8 %35 = getelementptr inbounds i8, ptr %34, i32 1 store ptr %35, ptr %10, align 8 br label %36 36: ; preds = %33, %28 br label %37 37: ; preds = %36, %25 %38 = load ptr, ptr %4, align 8 %39 = load ptr, ptr %5, align 8 %40 = load i32, ptr %6, align 4 %41 = call i64 @strtoull(ptr noundef %38, ptr noundef %39, i32 noundef %40) store i64 %41, ptr %8, align 8 %42 = load i32, ptr %9, align 4 %43 = sext i32 %42 to i64 %44 = load i64, ptr %8, align 8 %45 = mul nsw i64 %43, %44 store i64 %45, ptr %7, align 8 %46 = load i64, ptr %7, align 8 ret i64 %46 } declare i64 @isspace(i8 noundef signext) #1 declare i64 @strtoull(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3l891hhh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strtoll(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 i64, align 8 %8 = alloca i64, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i64 0, ptr %7, align 8 store i32 1, ptr %9, align 4 %11 = load ptr, ptr %4, align 8 store ptr %11, ptr %10, align 8 %12 = load ptr, ptr %10, align 8 %13 = load i8, ptr %12, align 1 %14 = call i64 @isspace(i8 noundef signext %13) %15 = icmp ne i64 %14, 0 br i1 %15, label %.lr.ph, label %23 .lr.ph: ; preds = %3 br label %16 16: ; preds = %.lr.ph, %16 %17 = load ptr, ptr %10, align 8 %18 = getelementptr inbounds i8, ptr %17, i32 1 store ptr %18, ptr %10, align 8 %19 = load ptr, ptr %10, align 8 %20 = load i8, ptr %19, align 1 %21 = call i64 @isspace(i8 noundef signext %20) %22 = icmp ne i64 %21, 0 br i1 %22, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %23 23: ; preds = %._crit_edge, %3 %24 = load ptr, ptr %10, align 8 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, 43 br i1 %27, label %28, label %31 28: ; preds = %23 store i32 1, ptr %9, align 4 %29 = load ptr, ptr %10, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 1 store ptr %30, ptr %10, align 8 br label %40 31: ; preds = %23 %32 = load ptr, ptr %10, align 8 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 45 br i1 %35, label %36, label %39 36: ; preds = %31 store i32 -1, ptr %9, align 4 %37 = load ptr, ptr %10, align 8 %38 = getelementptr inbounds i8, ptr %37, i32 1 store ptr %38, ptr %10, align 8 br label %39 39: ; preds = %36, %31 br label %40 40: ; preds = %39, %28 %41 = load ptr, ptr %4, align 8 %42 = load ptr, ptr %5, align 8 %43 = load i32, ptr %6, align 4 %44 = call i64 @strtoull(ptr noundef %41, ptr noundef %42, i32 noundef %43) store i64 %44, ptr %8, align 8 %45 = load i32, ptr %9, align 4 %46 = sext i32 %45 to i64 %47 = load i64, ptr %8, align 8 %48 = mul nsw i64 %46, %47 store i64 %48, ptr %7, align 8 %49 = load i64, ptr %7, align 8 ret i64 %49 } declare i64 @isspace(i8 noundef signext) #1 declare i64 @strtoull(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpo6g2tiul.c' source_filename = "/tmp/tmpo6g2tiul.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @util_le_buf4_to_int(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i64 @util_le_buf_to_dword(ptr noundef %3) %5 = trunc i64 %4 to i32 ret i32 %5 } declare i64 @util_le_buf_to_dword(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo6g2tiul.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @util_le_buf4_to_int(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i64 @util_le_buf_to_dword(ptr noundef %3) %5 = trunc i64 %4 to i32 ret i32 %5 } declare i64 @util_le_buf_to_dword(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppca6yh4w.c' source_filename = "/tmp/tmppca6yh4w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wl_wep_code(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i8, align 1 %13 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %14 = load ptr, ptr %7, align 8 store ptr %14, ptr %13, align 8 store i8 0, ptr %12, align 1 store i32 0, ptr %9, align 4 br label %15 15: ; preds = %39, %4 %16 = load i32, ptr %9, align 4 %17 = icmp slt i32 %16, 12 br i1 %17, label %18, label %42 18: ; preds = %15 %19 = load ptr, ptr %5, align 8 %20 = load i32, ptr %9, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = load i8, ptr %12, align 1 %26 = sext i8 %25 to i32 %27 = xor i32 %26, %24 %28 = trunc i32 %27 to i8 store i8 %28, ptr %12, align 1 %29 = load ptr, ptr %5, align 8 %30 = load i32, ptr %9, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = load i8, ptr %12, align 1 %36 = sext i8 %35 to i32 %37 = add nsw i32 %36, %34 %38 = trunc i32 %37 to i8 store i8 %38, ptr %12, align 1 br label %39 39: ; preds = %18 %40 = load i32, ptr %9, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %9, align 4 br label %15, !llvm.loop !6 42: ; preds = %15 %43 = load ptr, ptr %6, align 8 store i8 0, ptr %43, align 1 store i32 0, ptr %10, align 4 store i32 0, ptr %9, align 4 br label %44 44: ; preds = %143, %42 %45 = load i32, ptr %9, align 4 %46 = load i32, ptr %8, align 4 %47 = icmp slt i32 %45, %46 br i1 %47, label %48, label %148 48: ; preds = %44 %49 = load ptr, ptr %13, align 8 %50 = load i32, ptr %9, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i8, ptr %49, i64 %51 %53 = load i8, ptr %52, align 1 %54 = sext i8 %53 to i32 %55 = load i8, ptr %12, align 1 %56 = sext i8 %55 to i32 %57 = load i32, ptr %9, align 4 %58 = add nsw i32 %56, %57 %59 = xor i32 %54, %58 store i32 %59, ptr %11, align 4 %60 = load i32, ptr %9, align 4 %61 = srem i32 %60, 3 switch i32 %61, label %142 [ i32 0, label %62 i32 1, label %87 i32 2, label %114 ] 62: ; preds = %48 %63 = load i32, ptr %11, align 4 %64 = and i32 %63, 252 %65 = ashr i32 %64, 2 %66 = add nsw i32 %65, 38 %67 = trunc i32 %66 to i8 %68 = load ptr, ptr %6, align 8 %69 = load i32, ptr %10, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i8, ptr %68, i64 %70 store i8 %67, ptr %71, align 1 %72 = load i32, ptr %11, align 4 %73 = and i32 %72, 3 %74 = shl i32 %73, 4 %75 = add nsw i32 %74, 38 %76 = trunc i32 %75 to i8 %77 = load ptr, ptr %6, align 8 %78 = load i32, ptr %10, align 4 %79 = add nsw i32 %78, 1 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds i8, ptr %77, i64 %80 store i8 %76, ptr %81, align 1 %82 = load ptr, ptr %6, align 8 %83 = load i32, ptr %10, align 4 %84 = add nsw i32 %83, 2 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds i8, ptr %82, i64 %85 store i8 0, ptr %86, align 1 br label %142 87: ; preds = %48 %88 = load i32, ptr %11, align 4 %89 = and i32 %88, 240 %90 = ashr i32 %89, 4 %91 = load ptr, ptr %6, align 8 %92 = load i32, ptr %10, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds i8, ptr %91, i64 %93 %95 = load i8, ptr %94, align 1 %96 = sext i8 %95 to i32 %97 = add nsw i32 %96, %90 %98 = trunc i32 %97 to i8 store i8 %98, ptr %94, align 1 %99 = load i32, ptr %11, align 4 %100 = and i32 %99, 15 %101 = shl i32 %100, 2 %102 = add nsw i32 %101, 38 %103 = trunc i32 %102 to i8 %104 = load ptr, ptr %6, align 8 %105 = load i32, ptr %10, align 4 %106 = add nsw i32 %105, 1 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds i8, ptr %104, i64 %107 store i8 %103, ptr %108, align 1 %109 = load ptr, ptr %6, align 8 %110 = load i32, ptr %10, align 4 %111 = add nsw i32 %110, 2 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds i8, ptr %109, i64 %112 store i8 0, ptr %113, align 1 br label %142 114: ; preds = %48 %115 = load i32, ptr %11, align 4 %116 = and i32 %115, 192 %117 = ashr i32 %116, 6 %118 = load ptr, ptr %6, align 8 %119 = load i32, ptr %10, align 4 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds i8, ptr %118, i64 %120 %122 = load i8, ptr %121, align 1 %123 = sext i8 %122 to i32 %124 = add nsw i32 %123, %117 %125 = trunc i32 %124 to i8 store i8 %125, ptr %121, align 1 %126 = load i32, ptr %11, align 4 %127 = and i32 %126, 63 %128 = add nsw i32 %127, 38 %129 = trunc i32 %128 to i8 %130 = load ptr, ptr %6, align 8 %131 = load i32, ptr %10, align 4 %132 = add nsw i32 %131, 1 %133 = sext i32 %132 to i64 %134 = getelementptr inbounds i8, ptr %130, i64 %133 store i8 %129, ptr %134, align 1 %135 = load ptr, ptr %6, align 8 %136 = load i32, ptr %10, align 4 %137 = add nsw i32 %136, 2 %138 = sext i32 %137 to i64 %139 = getelementptr inbounds i8, ptr %135, i64 %138 store i8 0, ptr %139, align 1 %140 = load i32, ptr %10, align 4 %141 = add nsw i32 %140, 1 store i32 %141, ptr %10, align 4 br label %142 142: ; preds = %48, %114, %87, %62 br label %143 143: ; preds = %142 %144 = load i32, ptr %9, align 4 %145 = add nsw i32 %144, 1 store i32 %145, ptr %9, align 4 %146 = load i32, ptr %10, align 4 %147 = add nsw i32 %146, 1 store i32 %147, ptr %10, align 4 br label %44, !llvm.loop !8 148: ; preds = %44 %149 = load ptr, ptr %6, align 8 %150 = call i32 @strlen(ptr noundef %149) ret i32 %150 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppca6yh4w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wl_wep_code(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i8, align 1 %13 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %14 = load ptr, ptr %7, align 8 store ptr %14, ptr %13, align 8 store i8 0, ptr %12, align 1 store i32 0, ptr %9, align 4 %15 = load i32, ptr %9, align 4 %16 = icmp slt i32 %15, 12 br i1 %16, label %.lr.ph, label %43 .lr.ph: ; preds = %4 br label %17 17: ; preds = %.lr.ph, %38 %18 = load ptr, ptr %5, align 8 %19 = load i32, ptr %9, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = load i8, ptr %12, align 1 %25 = sext i8 %24 to i32 %26 = xor i32 %25, %23 %27 = trunc i32 %26 to i8 store i8 %27, ptr %12, align 1 %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr %9, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = load i8, ptr %12, align 1 %35 = sext i8 %34 to i32 %36 = add nsw i32 %35, %33 %37 = trunc i32 %36 to i8 store i8 %37, ptr %12, align 1 br label %38 38: ; preds = %17 %39 = load i32, ptr %9, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %9, align 4 %41 = load i32, ptr %9, align 4 %42 = icmp slt i32 %41, 12 br i1 %42, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %38 br label %43 43: ; preds = %._crit_edge, %4 %44 = load ptr, ptr %6, align 8 store i8 0, ptr %44, align 1 store i32 0, ptr %10, align 4 store i32 0, ptr %9, align 4 %45 = load i32, ptr %9, align 4 %46 = load i32, ptr %8, align 4 %47 = icmp slt i32 %45, %46 br i1 %47, label %.lr.ph2, label %151 .lr.ph2: ; preds = %43 br label %48 48: ; preds = %.lr.ph2, %143 %49 = load ptr, ptr %13, align 8 %50 = load i32, ptr %9, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i8, ptr %49, i64 %51 %53 = load i8, ptr %52, align 1 %54 = sext i8 %53 to i32 %55 = load i8, ptr %12, align 1 %56 = sext i8 %55 to i32 %57 = load i32, ptr %9, align 4 %58 = add nsw i32 %56, %57 %59 = xor i32 %54, %58 store i32 %59, ptr %11, align 4 %60 = load i32, ptr %9, align 4 %61 = srem i32 %60, 3 switch i32 %61, label %142 [ i32 0, label %62 i32 1, label %87 i32 2, label %114 ] 62: ; preds = %48 %63 = load i32, ptr %11, align 4 %64 = and i32 %63, 252 %65 = ashr i32 %64, 2 %66 = add nsw i32 %65, 38 %67 = trunc i32 %66 to i8 %68 = load ptr, ptr %6, align 8 %69 = load i32, ptr %10, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i8, ptr %68, i64 %70 store i8 %67, ptr %71, align 1 %72 = load i32, ptr %11, align 4 %73 = and i32 %72, 3 %74 = shl i32 %73, 4 %75 = add nsw i32 %74, 38 %76 = trunc i32 %75 to i8 %77 = load ptr, ptr %6, align 8 %78 = load i32, ptr %10, align 4 %79 = add nsw i32 %78, 1 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds i8, ptr %77, i64 %80 store i8 %76, ptr %81, align 1 %82 = load ptr, ptr %6, align 8 %83 = load i32, ptr %10, align 4 %84 = add nsw i32 %83, 2 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds i8, ptr %82, i64 %85 store i8 0, ptr %86, align 1 br label %142 87: ; preds = %48 %88 = load i32, ptr %11, align 4 %89 = and i32 %88, 240 %90 = ashr i32 %89, 4 %91 = load ptr, ptr %6, align 8 %92 = load i32, ptr %10, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds i8, ptr %91, i64 %93 %95 = load i8, ptr %94, align 1 %96 = sext i8 %95 to i32 %97 = add nsw i32 %96, %90 %98 = trunc i32 %97 to i8 store i8 %98, ptr %94, align 1 %99 = load i32, ptr %11, align 4 %100 = and i32 %99, 15 %101 = shl i32 %100, 2 %102 = add nsw i32 %101, 38 %103 = trunc i32 %102 to i8 %104 = load ptr, ptr %6, align 8 %105 = load i32, ptr %10, align 4 %106 = add nsw i32 %105, 1 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds i8, ptr %104, i64 %107 store i8 %103, ptr %108, align 1 %109 = load ptr, ptr %6, align 8 %110 = load i32, ptr %10, align 4 %111 = add nsw i32 %110, 2 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds i8, ptr %109, i64 %112 store i8 0, ptr %113, align 1 br label %142 114: ; preds = %48 %115 = load i32, ptr %11, align 4 %116 = and i32 %115, 192 %117 = ashr i32 %116, 6 %118 = load ptr, ptr %6, align 8 %119 = load i32, ptr %10, align 4 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds i8, ptr %118, i64 %120 %122 = load i8, ptr %121, align 1 %123 = sext i8 %122 to i32 %124 = add nsw i32 %123, %117 %125 = trunc i32 %124 to i8 store i8 %125, ptr %121, align 1 %126 = load i32, ptr %11, align 4 %127 = and i32 %126, 63 %128 = add nsw i32 %127, 38 %129 = trunc i32 %128 to i8 %130 = load ptr, ptr %6, align 8 %131 = load i32, ptr %10, align 4 %132 = add nsw i32 %131, 1 %133 = sext i32 %132 to i64 %134 = getelementptr inbounds i8, ptr %130, i64 %133 store i8 %129, ptr %134, align 1 %135 = load ptr, ptr %6, align 8 %136 = load i32, ptr %10, align 4 %137 = add nsw i32 %136, 2 %138 = sext i32 %137 to i64 %139 = getelementptr inbounds i8, ptr %135, i64 %138 store i8 0, ptr %139, align 1 %140 = load i32, ptr %10, align 4 %141 = add nsw i32 %140, 1 store i32 %141, ptr %10, align 4 br label %142 142: ; preds = %114, %87, %62, %48 br label %143 143: ; preds = %142 %144 = load i32, ptr %9, align 4 %145 = add nsw i32 %144, 1 store i32 %145, ptr %9, align 4 %146 = load i32, ptr %10, align 4 %147 = add nsw i32 %146, 1 store i32 %147, ptr %10, align 4 %148 = load i32, ptr %9, align 4 %149 = load i32, ptr %8, align 4 %150 = icmp slt i32 %148, %149 br i1 %150, label %48, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %143 br label %151 151: ; preds = %._crit_edge3, %43 %152 = load ptr, ptr %6, align 8 %153 = call i32 @strlen(ptr noundef %152) ret i32 %153 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpir6gxxxs.c' source_filename = "/tmp/tmpir6gxxxs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"%12d\0A%12d\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%12d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %2, align 4 store i32 1, ptr %3, align 4 %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %3, align 4 %8 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %6, i32 noundef %7) store i32 1, ptr %5, align 4 br label %9 9: ; preds = %20, %0 %10 = load i32, ptr %5, align 4 %11 = icmp sle i32 %10, 38 br i1 %11, label %12, label %23 12: ; preds = %9 %13 = load i32, ptr %2, align 4 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %13, %14 store i32 %15, ptr %4, align 4 %16 = load i32, ptr %4, align 4 %17 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %16) %18 = load i32, ptr %3, align 4 store i32 %18, ptr %2, align 4 %19 = load i32, ptr %4, align 4 store i32 %19, ptr %3, align 4 br label %20 20: ; preds = %12 %21 = load i32, ptr %5, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %5, align 4 br label %9, !llvm.loop !6 23: ; preds = %9 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpir6gxxxs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"%12d\0A%12d\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%12d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %2, align 4 store i32 1, ptr %3, align 4 %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %3, align 4 %8 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %6, i32 noundef %7) store i32 1, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp sle i32 %9, 38 br i1 %10, label %.lr.ph, label %24 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %19 %12 = load i32, ptr %2, align 4 %13 = load i32, ptr %3, align 4 %14 = add nsw i32 %12, %13 store i32 %14, ptr %4, align 4 %15 = load i32, ptr %4, align 4 %16 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %15) %17 = load i32, ptr %3, align 4 store i32 %17, ptr %2, align 4 %18 = load i32, ptr %4, align 4 store i32 %18, ptr %3, align 4 br label %19 19: ; preds = %11 %20 = load i32, ptr %5, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %5, align 4 %22 = load i32, ptr %5, align 4 %23 = icmp sle i32 %22, 38 br i1 %23, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %24 24: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpljn_3hk9.c' source_filename = "/tmp/tmpljn_3hk9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_localtime(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = call i32 @time(ptr noundef %3) %6 = call ptr @localtime(ptr noundef %3) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %2, align 8 %8 = load ptr, ptr %4, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %8, i64 4, i1 false) %9 = load i32, ptr %3, align 4 ret i32 %9 } declare i32 @time(ptr noundef) #1 declare ptr @localtime(ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpljn_3hk9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_localtime(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = call i32 @time(ptr noundef %3) %6 = call ptr @localtime(ptr noundef %3) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %2, align 8 %8 = load ptr, ptr %4, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %8, i64 4, i1 false) %9 = load i32, ptr %3, align 4 ret i32 %9 } declare i32 @time(ptr noundef) #1 declare ptr @localtime(ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpphhyxfp9.c' source_filename = "/tmp/tmpphhyxfp9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Interp1D(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store volatile i64 %1, ptr %5, align 8 store volatile i64 0, ptr %6, align 8 %9 = load volatile i64, ptr %5, align 8 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds [2 x i64], ptr %10, i64 9 %12 = getelementptr inbounds [2 x i64], ptr %11, i64 0, i64 0 %13 = load volatile i64, ptr %12, align 8 %14 = icmp sgt i64 %9, %13 br i1 %14, label %15, label %20 15: ; preds = %2 %16 = load ptr, ptr %4, align 8 %17 = getelementptr inbounds [2 x i64], ptr %16, i64 9 %18 = getelementptr inbounds [2 x i64], ptr %17, i64 0, i64 1 %19 = load volatile i64, ptr %18, align 8 store i64 %19, ptr %3, align 8 br label %106 20: ; preds = %2 %21 = load volatile i64, ptr %5, align 8 %22 = load ptr, ptr %4, align 8 %23 = getelementptr inbounds [2 x i64], ptr %22, i64 0 %24 = getelementptr inbounds [2 x i64], ptr %23, i64 0, i64 0 %25 = load volatile i64, ptr %24, align 8 %26 = icmp slt i64 %21, %25 br i1 %26, label %27, label %32 27: ; preds = %20 %28 = load ptr, ptr %4, align 8 %29 = getelementptr inbounds [2 x i64], ptr %28, i64 0 %30 = getelementptr inbounds [2 x i64], ptr %29, i64 0, i64 1 %31 = load volatile i64, ptr %30, align 8 store i64 %31, ptr %3, align 8 br label %106 32: ; preds = %20 store volatile i64 0, ptr %6, align 8 br label %33 33: ; preds = %46, %32 %34 = load volatile i64, ptr %6, align 8 %35 = icmp slt i64 %34, 9 br i1 %35, label %36, label %49 36: ; preds = %33 %37 = load volatile i64, ptr %5, align 8 %38 = load ptr, ptr %4, align 8 %39 = load volatile i64, ptr %6, align 8 %40 = getelementptr inbounds [2 x i64], ptr %38, i64 %39 %41 = getelementptr inbounds [2 x i64], ptr %40, i64 0, i64 0 %42 = load volatile i64, ptr %41, align 8 %43 = icmp slt i64 %37, %42 br i1 %43, label %44, label %45 44: ; preds = %36 br label %49 45: ; preds = %36 br label %46 46: ; preds = %45 %47 = load volatile i64, ptr %6, align 8 %48 = add nsw i64 %47, 1 store volatile i64 %48, ptr %6, align 8 br label %33, !llvm.loop !6 49: ; preds = %44, %33 %50 = load ptr, ptr %4, align 8 %51 = load volatile i64, ptr %6, align 8 %52 = getelementptr inbounds [2 x i64], ptr %50, i64 %51 %53 = getelementptr inbounds [2 x i64], ptr %52, i64 0, i64 0 %54 = load volatile i64, ptr %53, align 8 %55 = load ptr, ptr %4, align 8 %56 = load volatile i64, ptr %6, align 8 %57 = sub nsw i64 %56, 1 %58 = getelementptr inbounds [2 x i64], ptr %55, i64 %57 %59 = getelementptr inbounds [2 x i64], ptr %58, i64 0, i64 0 %60 = load volatile i64, ptr %59, align 8 %61 = sub nsw i64 %54, %60 store volatile i64 %61, ptr %7, align 8 %62 = load volatile i64, ptr %7, align 8 %63 = icmp ne i64 %62, 0 br i1 %63, label %65, label %64 64: ; preds = %49 store i64 0, ptr %3, align 8 br label %106 65: ; preds = %49 %66 = load ptr, ptr %4, align 8 %67 = load volatile i64, ptr %6, align 8 %68 = getelementptr inbounds [2 x i64], ptr %66, i64 %67 %69 = getelementptr inbounds [2 x i64], ptr %68, i64 0, i64 1 %70 = load volatile i64, ptr %69, align 8 %71 = load ptr, ptr %4, align 8 %72 = load volatile i64, ptr %6, align 8 %73 = sub nsw i64 %72, 1 %74 = getelementptr inbounds [2 x i64], ptr %71, i64 %73 %75 = getelementptr inbounds [2 x i64], ptr %74, i64 0, i64 1 %76 = load volatile i64, ptr %75, align 8 %77 = sub nsw i64 %70, %76 store volatile i64 %77, ptr %8, align 8 %78 = load volatile i64, ptr %8, align 8 %79 = icmp ne i64 %78, 0 br i1 %79, label %86, label %80 80: ; preds = %65 %81 = load ptr, ptr %4, align 8 %82 = load volatile i64, ptr %6, align 8 %83 = getelementptr inbounds [2 x i64], ptr %81, i64 %82 %84 = getelementptr inbounds [2 x i64], ptr %83, i64 0, i64 1 %85 = load volatile i64, ptr %84, align 8 store i64 %85, ptr %3, align 8 br label %106 86: ; preds = %65 %87 = load ptr, ptr %4, align 8 %88 = load volatile i64, ptr %6, align 8 %89 = sub nsw i64 %88, 1 %90 = getelementptr inbounds [2 x i64], ptr %87, i64 %89 %91 = getelementptr inbounds [2 x i64], ptr %90, i64 0, i64 1 %92 = load volatile i64, ptr %91, align 8 %93 = load volatile i64, ptr %5, align 8 %94 = load ptr, ptr %4, align 8 %95 = load volatile i64, ptr %6, align 8 %96 = sub nsw i64 %95, 1 %97 = getelementptr inbounds [2 x i64], ptr %94, i64 %96 %98 = getelementptr inbounds [2 x i64], ptr %97, i64 0, i64 0 %99 = load volatile i64, ptr %98, align 8 %100 = sub nsw i64 %93, %99 %101 = load volatile i64, ptr %8, align 8 %102 = mul nsw i64 %100, %101 %103 = load volatile i64, ptr %7, align 8 %104 = sdiv i64 %102, %103 %105 = add nsw i64 %92, %104 store i64 %105, ptr %3, align 8 br label %106 106: ; preds = %86, %80, %64, %27, %15 %107 = load i64, ptr %3, align 8 ret i64 %107 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpphhyxfp9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Interp1D(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store volatile i64 %1, ptr %5, align 8 store volatile i64 0, ptr %6, align 8 %9 = load volatile i64, ptr %5, align 8 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds [2 x i64], ptr %10, i64 9 %12 = getelementptr inbounds [2 x i64], ptr %11, i64 0, i64 0 %13 = load volatile i64, ptr %12, align 8 %14 = icmp sgt i64 %9, %13 br i1 %14, label %15, label %20 15: ; preds = %2 %16 = load ptr, ptr %4, align 8 %17 = getelementptr inbounds [2 x i64], ptr %16, i64 9 %18 = getelementptr inbounds [2 x i64], ptr %17, i64 0, i64 1 %19 = load volatile i64, ptr %18, align 8 store i64 %19, ptr %3, align 8 br label %107 20: ; preds = %2 %21 = load volatile i64, ptr %5, align 8 %22 = load ptr, ptr %4, align 8 %23 = getelementptr inbounds [2 x i64], ptr %22, i64 0 %24 = getelementptr inbounds [2 x i64], ptr %23, i64 0, i64 0 %25 = load volatile i64, ptr %24, align 8 %26 = icmp slt i64 %21, %25 br i1 %26, label %27, label %32 27: ; preds = %20 %28 = load ptr, ptr %4, align 8 %29 = getelementptr inbounds [2 x i64], ptr %28, i64 0 %30 = getelementptr inbounds [2 x i64], ptr %29, i64 0, i64 1 %31 = load volatile i64, ptr %30, align 8 store i64 %31, ptr %3, align 8 br label %107 32: ; preds = %20 store volatile i64 0, ptr %6, align 8 %33 = load volatile i64, ptr %6, align 8 %34 = icmp slt i64 %33, 9 br i1 %34, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %32 br label %35 35: ; preds = %.lr.ph, %45 %36 = load volatile i64, ptr %5, align 8 %37 = load ptr, ptr %4, align 8 %38 = load volatile i64, ptr %6, align 8 %39 = getelementptr inbounds [2 x i64], ptr %37, i64 %38 %40 = getelementptr inbounds [2 x i64], ptr %39, i64 0, i64 0 %41 = load volatile i64, ptr %40, align 8 %42 = icmp slt i64 %36, %41 br i1 %42, label %43, label %44 43: ; preds = %35 br label %50 44: ; preds = %35 br label %45 45: ; preds = %44 %46 = load volatile i64, ptr %6, align 8 %47 = add nsw i64 %46, 1 store volatile i64 %47, ptr %6, align 8 %48 = load volatile i64, ptr %6, align 8 %49 = icmp slt i64 %48, 9 br i1 %49, label %35, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %45 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %32 br label %50 50: ; preds = %.loopexit, %43 %51 = load ptr, ptr %4, align 8 %52 = load volatile i64, ptr %6, align 8 %53 = getelementptr inbounds [2 x i64], ptr %51, i64 %52 %54 = getelementptr inbounds [2 x i64], ptr %53, i64 0, i64 0 %55 = load volatile i64, ptr %54, align 8 %56 = load ptr, ptr %4, align 8 %57 = load volatile i64, ptr %6, align 8 %58 = sub nsw i64 %57, 1 %59 = getelementptr inbounds [2 x i64], ptr %56, i64 %58 %60 = getelementptr inbounds [2 x i64], ptr %59, i64 0, i64 0 %61 = load volatile i64, ptr %60, align 8 %62 = sub nsw i64 %55, %61 store volatile i64 %62, ptr %7, align 8 %63 = load volatile i64, ptr %7, align 8 %64 = icmp ne i64 %63, 0 br i1 %64, label %66, label %65 65: ; preds = %50 store i64 0, ptr %3, align 8 br label %107 66: ; preds = %50 %67 = load ptr, ptr %4, align 8 %68 = load volatile i64, ptr %6, align 8 %69 = getelementptr inbounds [2 x i64], ptr %67, i64 %68 %70 = getelementptr inbounds [2 x i64], ptr %69, i64 0, i64 1 %71 = load volatile i64, ptr %70, align 8 %72 = load ptr, ptr %4, align 8 %73 = load volatile i64, ptr %6, align 8 %74 = sub nsw i64 %73, 1 %75 = getelementptr inbounds [2 x i64], ptr %72, i64 %74 %76 = getelementptr inbounds [2 x i64], ptr %75, i64 0, i64 1 %77 = load volatile i64, ptr %76, align 8 %78 = sub nsw i64 %71, %77 store volatile i64 %78, ptr %8, align 8 %79 = load volatile i64, ptr %8, align 8 %80 = icmp ne i64 %79, 0 br i1 %80, label %87, label %81 81: ; preds = %66 %82 = load ptr, ptr %4, align 8 %83 = load volatile i64, ptr %6, align 8 %84 = getelementptr inbounds [2 x i64], ptr %82, i64 %83 %85 = getelementptr inbounds [2 x i64], ptr %84, i64 0, i64 1 %86 = load volatile i64, ptr %85, align 8 store i64 %86, ptr %3, align 8 br label %107 87: ; preds = %66 %88 = load ptr, ptr %4, align 8 %89 = load volatile i64, ptr %6, align 8 %90 = sub nsw i64 %89, 1 %91 = getelementptr inbounds [2 x i64], ptr %88, i64 %90 %92 = getelementptr inbounds [2 x i64], ptr %91, i64 0, i64 1 %93 = load volatile i64, ptr %92, align 8 %94 = load volatile i64, ptr %5, align 8 %95 = load ptr, ptr %4, align 8 %96 = load volatile i64, ptr %6, align 8 %97 = sub nsw i64 %96, 1 %98 = getelementptr inbounds [2 x i64], ptr %95, i64 %97 %99 = getelementptr inbounds [2 x i64], ptr %98, i64 0, i64 0 %100 = load volatile i64, ptr %99, align 8 %101 = sub nsw i64 %94, %100 %102 = load volatile i64, ptr %8, align 8 %103 = mul nsw i64 %101, %102 %104 = load volatile i64, ptr %7, align 8 %105 = sdiv i64 %103, %104 %106 = add nsw i64 %93, %105 store i64 %106, ptr %3, align 8 br label %107 107: ; preds = %87, %81, %65, %27, %15 %108 = load i64, ptr %3, align 8 ret i64 %108 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpuj_2pswb.c' source_filename = "/tmp/tmpuj_2pswb.c" target datalayout = "e-m:e-p270: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/tmpuj_2pswb.c" target datalayout = "e-m:e-p270: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/tmp5ye25dys.c' source_filename = "/tmp/tmp5ye25dys.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compare(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca [65536 x i8], align 16 %7 = alloca [65536 x i8], align 16 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 br label %10 10: ; preds = %39, %2 %11 = load i32, ptr %5, align 4 %12 = icmp eq i32 0, %11 br i1 %12, label %13, label %40 13: ; preds = %10 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds [65536 x i8], ptr %6, i64 0, i64 0 %16 = call i64 @read_bin(ptr noundef %14, ptr noundef %15, i32 noundef 65536) store i64 %16, ptr %8, align 8 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds [65536 x i8], ptr %7, i64 0, i64 0 %19 = call i64 @read_bin(ptr noundef %17, ptr noundef %18, i32 noundef 65536) store i64 %19, ptr %9, align 8 %20 = load i64, ptr %8, align 8 %21 = trunc i64 %20 to i32 %22 = load i64, ptr %9, align 8 %23 = trunc i64 %22 to i32 %24 = sub nsw i32 %21, %23 store i32 %24, ptr %5, align 4 %25 = load i64, ptr %8, align 8 %26 = icmp eq i64 0, %25 br i1 %26, label %30, label %27 27: ; preds = %13 %28 = load i64, ptr %9, align 8 %29 = icmp eq i64 0, %28 br i1 %29, label %30, label %31 30: ; preds = %27, %13 br label %40 31: ; preds = %27 %32 = load i32, ptr %5, align 4 %33 = icmp eq i32 0, %32 br i1 %33, label %34, label %39 34: ; preds = %31 %35 = getelementptr inbounds [65536 x i8], ptr %6, i64 0, i64 0 %36 = getelementptr inbounds [65536 x i8], ptr %7, i64 0, i64 0 %37 = load i64, ptr %8, align 8 %38 = call i32 @memcmp(ptr noundef %35, ptr noundef %36, i64 noundef %37) store i32 %38, ptr %5, align 4 br label %39 39: ; preds = %34, %31 br label %10, !llvm.loop !6 40: ; preds = %30, %10 %41 = load i32, ptr %5, align 4 ret i32 %41 } declare i64 @read_bin(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @memcmp(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5ye25dys.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compare(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca [65536 x i8], align 16 %7 = alloca [65536 x i8], align 16 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp eq i32 0, %10 br i1 %11, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %38 %13 = load ptr, ptr %3, align 8 %14 = getelementptr inbounds [65536 x i8], ptr %6, i64 0, i64 0 %15 = call i64 @read_bin(ptr noundef %13, ptr noundef %14, i32 noundef 65536) store i64 %15, ptr %8, align 8 %16 = load ptr, ptr %4, align 8 %17 = getelementptr inbounds [65536 x i8], ptr %7, i64 0, i64 0 %18 = call i64 @read_bin(ptr noundef %16, ptr noundef %17, i32 noundef 65536) store i64 %18, ptr %9, align 8 %19 = load i64, ptr %8, align 8 %20 = trunc i64 %19 to i32 %21 = load i64, ptr %9, align 8 %22 = trunc i64 %21 to i32 %23 = sub nsw i32 %20, %22 store i32 %23, ptr %5, align 4 %24 = load i64, ptr %8, align 8 %25 = icmp eq i64 0, %24 br i1 %25, label %29, label %26 26: ; preds = %12 %27 = load i64, ptr %9, align 8 %28 = icmp eq i64 0, %27 br i1 %28, label %29, label %30 29: ; preds = %26, %12 br label %41 30: ; preds = %26 %31 = load i32, ptr %5, align 4 %32 = icmp eq i32 0, %31 br i1 %32, label %33, label %38 33: ; preds = %30 %34 = getelementptr inbounds [65536 x i8], ptr %6, i64 0, i64 0 %35 = getelementptr inbounds [65536 x i8], ptr %7, i64 0, i64 0 %36 = load i64, ptr %8, align 8 %37 = call i32 @memcmp(ptr noundef %34, ptr noundef %35, i64 noundef %36) store i32 %37, ptr %5, align 4 br label %38 38: ; preds = %33, %30 %39 = load i32, ptr %5, align 4 %40 = icmp eq i32 0, %39 br i1 %40, label %12, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %38 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %2 br label %41 41: ; preds = %.loopexit, %29 %42 = load i32, ptr %5, align 4 ret i32 %42 } declare i64 @read_bin(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @memcmp(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpjgch5v2w.c' source_filename = "/tmp/tmpjgch5v2w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %3 3: ; preds = %62, %0 %4 = load i32, ptr %1, align 4 %5 = icmp slt i32 %4, 4 br i1 %5, label %6, label %65 6: ; preds = %3 %7 = load i32, ptr %1, align 4 %8 = call i64 @bla(i32 noundef %7) %9 = load i32, ptr %2, align 4 %10 = sext i32 %9 to i64 %11 = add nsw i64 %10, %8 %12 = trunc i64 %11 to i32 store i32 %12, ptr %2, align 4 %13 = load i32, ptr %1, align 4 %14 = mul nsw i32 2, %13 %15 = call i64 @bla(i32 noundef %14) %16 = load i32, ptr %2, align 4 %17 = sext i32 %16 to i64 %18 = add nsw i64 %17, %15 %19 = trunc i64 %18 to i32 store i32 %19, ptr %2, align 4 %20 = load i32, ptr %1, align 4 %21 = mul nsw i32 3, %20 %22 = call i64 @bla(i32 noundef %21) %23 = load i32, ptr %2, align 4 %24 = sext i32 %23 to i64 %25 = add nsw i64 %24, %22 %26 = trunc i64 %25 to i32 store i32 %26, ptr %2, align 4 %27 = load i32, ptr %1, align 4 %28 = mul nsw i32 4, %27 %29 = call i64 @bla(i32 noundef %28) %30 = load i32, ptr %2, align 4 %31 = sext i32 %30 to i64 %32 = add nsw i64 %31, %29 %33 = trunc i64 %32 to i32 store i32 %33, ptr %2, align 4 %34 = load i32, ptr %1, align 4 %35 = mul nsw i32 5, %34 %36 = call i64 @bla(i32 noundef %35) %37 = load i32, ptr %2, align 4 %38 = sext i32 %37 to i64 %39 = add nsw i64 %38, %36 %40 = trunc i64 %39 to i32 store i32 %40, ptr %2, align 4 %41 = load i32, ptr %1, align 4 %42 = mul nsw i32 6, %41 %43 = call i64 @bla(i32 noundef %42) %44 = load i32, ptr %2, align 4 %45 = sext i32 %44 to i64 %46 = add nsw i64 %45, %43 %47 = trunc i64 %46 to i32 store i32 %47, ptr %2, align 4 %48 = load i32, ptr %1, align 4 %49 = mul nsw i32 7, %48 %50 = call i64 @bla(i32 noundef %49) %51 = load i32, ptr %2, align 4 %52 = sext i32 %51 to i64 %53 = add nsw i64 %52, %50 %54 = trunc i64 %53 to i32 store i32 %54, ptr %2, align 4 %55 = load i32, ptr %1, align 4 %56 = mul nsw i32 8, %55 %57 = call i64 @bla(i32 noundef %56) %58 = load i32, ptr %2, align 4 %59 = sext i32 %58 to i64 %60 = add nsw i64 %59, %57 %61 = trunc i64 %60 to i32 store i32 %61, ptr %2, align 4 br label %62 62: ; preds = %6 %63 = load i32, ptr %1, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %1, align 4 br label %3, !llvm.loop !6 65: ; preds = %3 %66 = load i32, ptr %2, align 4 ret i32 %66 } declare i64 @bla(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/tmpjgch5v2w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = icmp slt i32 %3, 4 br i1 %4, label %.lr.ph, label %66 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %61 %6 = load i32, ptr %1, align 4 %7 = call i64 @bla(i32 noundef %6) %8 = load i32, ptr %2, align 4 %9 = sext i32 %8 to i64 %10 = add nsw i64 %9, %7 %11 = trunc i64 %10 to i32 store i32 %11, ptr %2, align 4 %12 = load i32, ptr %1, align 4 %13 = mul nsw i32 2, %12 %14 = call i64 @bla(i32 noundef %13) %15 = load i32, ptr %2, align 4 %16 = sext i32 %15 to i64 %17 = add nsw i64 %16, %14 %18 = trunc i64 %17 to i32 store i32 %18, ptr %2, align 4 %19 = load i32, ptr %1, align 4 %20 = mul nsw i32 3, %19 %21 = call i64 @bla(i32 noundef %20) %22 = load i32, ptr %2, align 4 %23 = sext i32 %22 to i64 %24 = add nsw i64 %23, %21 %25 = trunc i64 %24 to i32 store i32 %25, ptr %2, align 4 %26 = load i32, ptr %1, align 4 %27 = mul nsw i32 4, %26 %28 = call i64 @bla(i32 noundef %27) %29 = load i32, ptr %2, align 4 %30 = sext i32 %29 to i64 %31 = add nsw i64 %30, %28 %32 = trunc i64 %31 to i32 store i32 %32, ptr %2, align 4 %33 = load i32, ptr %1, align 4 %34 = mul nsw i32 5, %33 %35 = call i64 @bla(i32 noundef %34) %36 = load i32, ptr %2, align 4 %37 = sext i32 %36 to i64 %38 = add nsw i64 %37, %35 %39 = trunc i64 %38 to i32 store i32 %39, ptr %2, align 4 %40 = load i32, ptr %1, align 4 %41 = mul nsw i32 6, %40 %42 = call i64 @bla(i32 noundef %41) %43 = load i32, ptr %2, align 4 %44 = sext i32 %43 to i64 %45 = add nsw i64 %44, %42 %46 = trunc i64 %45 to i32 store i32 %46, ptr %2, align 4 %47 = load i32, ptr %1, align 4 %48 = mul nsw i32 7, %47 %49 = call i64 @bla(i32 noundef %48) %50 = load i32, ptr %2, align 4 %51 = sext i32 %50 to i64 %52 = add nsw i64 %51, %49 %53 = trunc i64 %52 to i32 store i32 %53, ptr %2, align 4 %54 = load i32, ptr %1, align 4 %55 = mul nsw i32 8, %54 %56 = call i64 @bla(i32 noundef %55) %57 = load i32, ptr %2, align 4 %58 = sext i32 %57 to i64 %59 = add nsw i64 %58, %56 %60 = trunc i64 %59 to i32 store i32 %60, ptr %2, align 4 br label %61 61: ; preds = %5 %62 = load i32, ptr %1, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %1, align 4 %64 = load i32, ptr %1, align 4 %65 = icmp slt i32 %64, 4 br i1 %65, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %61 br label %66 66: ; preds = %._crit_edge, %0 %67 = load i32, ptr %2, align 4 ret i32 %67 } declare i64 @bla(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/tmp3yz7zdtk.c' source_filename = "/tmp/tmp3yz7zdtk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"hello world\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @foo() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3yz7zdtk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"hello world\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @foo() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuxg1tl74.c' source_filename = "/tmp/tmpuxg1tl74.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"** __USE_POSIX has been defined.\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"_POSIX_ARG_MAX\00", align 1 @_POSIX_ARG_MAX = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [17 x i8] c"_POSIX_CHILD_MAX\00", align 1 @_POSIX_CHILD_MAX = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [16 x i8] c"_POSIX_LINK_MAX\00", align 1 @_POSIX_LINK_MAX = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [17 x i8] c"_POSIX_MAX_CANON\00", align 1 @_POSIX_MAX_CANON = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [17 x i8] c"_POSIX_MAX_INPUT\00", align 1 @_POSIX_MAX_INPUT = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [16 x i8] c"_POSIX_NAME_MAX\00", align 1 @_POSIX_NAME_MAX = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [19 x i8] c"_POSIX_NGROUPS_MAX\00", align 1 @_POSIX_NGROUPS_MAX = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [16 x i8] c"_POSIX_OPEN_MAX\00", align 1 @_POSIX_OPEN_MAX = dso_local global i32 0, align 4 @.str.9 = private unnamed_addr constant [16 x i8] c"_POSIX_PATH_MAX\00", align 1 @_POSIX_PATH_MAX = dso_local global i32 0, align 4 @.str.10 = private unnamed_addr constant [16 x i8] c"_POSIX_PIPE_BUF\00", align 1 @_POSIX_PIPE_BUF = dso_local global i32 0, align 4 @.str.11 = private unnamed_addr constant [17 x i8] c"_POSIX_SSIZE_MAX\00", align 1 @_POSIX_SSIZE_MAX = dso_local global i32 0, align 4 @.str.12 = private unnamed_addr constant [18 x i8] c"_POSIX_STREAM_MAX\00", align 1 @_POSIX_STREAM_MAX = dso_local global i32 0, align 4 @.str.13 = private unnamed_addr constant [18 x i8] c"_POSIX_TZNAME_MAX\00", align 1 @_POSIX_TZNAME_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @printf(ptr noundef @.str) %7 = load i32, ptr @_POSIX_ARG_MAX, align 4 %8 = call i32 @print_const(ptr noundef @.str.1, i32 noundef %7) %9 = load i32, ptr @_POSIX_CHILD_MAX, align 4 %10 = call i32 @print_const(ptr noundef @.str.2, i32 noundef %9) %11 = load i32, ptr @_POSIX_LINK_MAX, align 4 %12 = call i32 @print_const(ptr noundef @.str.3, i32 noundef %11) %13 = load i32, ptr @_POSIX_MAX_CANON, align 4 %14 = call i32 @print_const(ptr noundef @.str.4, i32 noundef %13) %15 = load i32, ptr @_POSIX_MAX_INPUT, align 4 %16 = call i32 @print_const(ptr noundef @.str.5, i32 noundef %15) %17 = load i32, ptr @_POSIX_NAME_MAX, align 4 %18 = call i32 @print_const(ptr noundef @.str.6, i32 noundef %17) %19 = load i32, ptr @_POSIX_NGROUPS_MAX, align 4 %20 = call i32 @print_const(ptr noundef @.str.7, i32 noundef %19) %21 = load i32, ptr @_POSIX_OPEN_MAX, align 4 %22 = call i32 @print_const(ptr noundef @.str.8, i32 noundef %21) %23 = load i32, ptr @_POSIX_PATH_MAX, align 4 %24 = call i32 @print_const(ptr noundef @.str.9, i32 noundef %23) %25 = load i32, ptr @_POSIX_PIPE_BUF, align 4 %26 = call i32 @print_const(ptr noundef @.str.10, i32 noundef %25) %27 = load i32, ptr @_POSIX_SSIZE_MAX, align 4 %28 = call i32 @print_const(ptr noundef @.str.11, i32 noundef %27) %29 = load i32, ptr @_POSIX_STREAM_MAX, align 4 %30 = call i32 @print_const(ptr noundef @.str.12, i32 noundef %29) %31 = load i32, ptr @_POSIX_TZNAME_MAX, align 4 %32 = call i32 @print_const(ptr noundef @.str.13, i32 noundef %31) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @print_const(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/tmpuxg1tl74.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"** __USE_POSIX has been defined.\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"_POSIX_ARG_MAX\00", align 1 @_POSIX_ARG_MAX = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [17 x i8] c"_POSIX_CHILD_MAX\00", align 1 @_POSIX_CHILD_MAX = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [16 x i8] c"_POSIX_LINK_MAX\00", align 1 @_POSIX_LINK_MAX = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [17 x i8] c"_POSIX_MAX_CANON\00", align 1 @_POSIX_MAX_CANON = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [17 x i8] c"_POSIX_MAX_INPUT\00", align 1 @_POSIX_MAX_INPUT = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [16 x i8] c"_POSIX_NAME_MAX\00", align 1 @_POSIX_NAME_MAX = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [19 x i8] c"_POSIX_NGROUPS_MAX\00", align 1 @_POSIX_NGROUPS_MAX = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [16 x i8] c"_POSIX_OPEN_MAX\00", align 1 @_POSIX_OPEN_MAX = dso_local global i32 0, align 4 @.str.9 = private unnamed_addr constant [16 x i8] c"_POSIX_PATH_MAX\00", align 1 @_POSIX_PATH_MAX = dso_local global i32 0, align 4 @.str.10 = private unnamed_addr constant [16 x i8] c"_POSIX_PIPE_BUF\00", align 1 @_POSIX_PIPE_BUF = dso_local global i32 0, align 4 @.str.11 = private unnamed_addr constant [17 x i8] c"_POSIX_SSIZE_MAX\00", align 1 @_POSIX_SSIZE_MAX = dso_local global i32 0, align 4 @.str.12 = private unnamed_addr constant [18 x i8] c"_POSIX_STREAM_MAX\00", align 1 @_POSIX_STREAM_MAX = dso_local global i32 0, align 4 @.str.13 = private unnamed_addr constant [18 x i8] c"_POSIX_TZNAME_MAX\00", align 1 @_POSIX_TZNAME_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @printf(ptr noundef @.str) %7 = load i32, ptr @_POSIX_ARG_MAX, align 4 %8 = call i32 @print_const(ptr noundef @.str.1, i32 noundef %7) %9 = load i32, ptr @_POSIX_CHILD_MAX, align 4 %10 = call i32 @print_const(ptr noundef @.str.2, i32 noundef %9) %11 = load i32, ptr @_POSIX_LINK_MAX, align 4 %12 = call i32 @print_const(ptr noundef @.str.3, i32 noundef %11) %13 = load i32, ptr @_POSIX_MAX_CANON, align 4 %14 = call i32 @print_const(ptr noundef @.str.4, i32 noundef %13) %15 = load i32, ptr @_POSIX_MAX_INPUT, align 4 %16 = call i32 @print_const(ptr noundef @.str.5, i32 noundef %15) %17 = load i32, ptr @_POSIX_NAME_MAX, align 4 %18 = call i32 @print_const(ptr noundef @.str.6, i32 noundef %17) %19 = load i32, ptr @_POSIX_NGROUPS_MAX, align 4 %20 = call i32 @print_const(ptr noundef @.str.7, i32 noundef %19) %21 = load i32, ptr @_POSIX_OPEN_MAX, align 4 %22 = call i32 @print_const(ptr noundef @.str.8, i32 noundef %21) %23 = load i32, ptr @_POSIX_PATH_MAX, align 4 %24 = call i32 @print_const(ptr noundef @.str.9, i32 noundef %23) %25 = load i32, ptr @_POSIX_PIPE_BUF, align 4 %26 = call i32 @print_const(ptr noundef @.str.10, i32 noundef %25) %27 = load i32, ptr @_POSIX_SSIZE_MAX, align 4 %28 = call i32 @print_const(ptr noundef @.str.11, i32 noundef %27) %29 = load i32, ptr @_POSIX_STREAM_MAX, align 4 %30 = call i32 @print_const(ptr noundef @.str.12, i32 noundef %29) %31 = load i32, ptr @_POSIX_TZNAME_MAX, align 4 %32 = call i32 @print_const(ptr noundef @.str.13, i32 noundef %31) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @print_const(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/tmpiln5vbyh.c' source_filename = "/tmp/tmpiln5vbyh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fatal(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 @fatalf(ptr noundef @.str, ptr noundef %3) ret void } declare i32 @fatalf(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/tmpiln5vbyh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fatal(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 @fatalf(ptr noundef @.str, ptr noundef %3) ret void } declare i32 @fatalf(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/tmphj3hdl7f.c' source_filename = "/tmp/tmphj3hdl7f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hex_to_bin(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @strlen(ptr noundef %5) %7 = mul nsw i32 %6, 4 %8 = add nsw i32 %7, 1 %9 = call ptr @malloc(i32 noundef %8) store ptr %9, ptr %3, align 8 store i32 0, ptr %4, align 4 %10 = load ptr, ptr %3, align 8 %11 = load ptr, ptr %2, align 8 %12 = call i32 @strlen(ptr noundef %11) %13 = mul nsw i32 %12, 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %10, i64 %14 store i8 0, ptr %15, align 1 store i32 0, ptr %4, align 4 br label %16 16: ; preds = %30, %1 %17 = load i32, ptr %4, align 4 %18 = load ptr, ptr %2, align 8 %19 = call i32 @strlen(ptr noundef %18) %20 = icmp slt i32 %17, %19 br i1 %20, label %21, label %33 21: ; preds = %16 %22 = load ptr, ptr %3, align 8 %23 = load ptr, ptr %2, align 8 %24 = load i32, ptr %4, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 %27 = load i8, ptr %26, align 1 %28 = call ptr @single_digit_hex_to_bin(i8 noundef signext %27) %29 = call ptr @strcat(ptr noundef %22, ptr noundef %28) store ptr %29, ptr %3, align 8 br label %30 30: ; preds = %21 %31 = load i32, ptr %4, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %4, align 4 br label %16, !llvm.loop !6 33: ; preds = %16 %34 = load ptr, ptr %3, align 8 ret ptr %34 } declare ptr @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @strcat(ptr noundef, ptr noundef) #1 declare ptr @single_digit_hex_to_bin(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/tmphj3hdl7f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hex_to_bin(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @strlen(ptr noundef %5) %7 = mul nsw i32 %6, 4 %8 = add nsw i32 %7, 1 %9 = call ptr @malloc(i32 noundef %8) store ptr %9, ptr %3, align 8 store i32 0, ptr %4, align 4 %10 = load ptr, ptr %3, align 8 %11 = load ptr, ptr %2, align 8 %12 = call i32 @strlen(ptr noundef %11) %13 = mul nsw i32 %12, 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %10, i64 %14 store i8 0, ptr %15, align 1 store i32 0, ptr %4, align 4 %16 = load i32, ptr %4, align 4 %17 = load ptr, ptr %2, align 8 %18 = call i32 @strlen(ptr noundef %17) %19 = icmp slt i32 %16, %18 br i1 %19, label %.lr.ph, label %36 .lr.ph: ; preds = %1 br label %20 20: ; preds = %.lr.ph, %29 %21 = load ptr, ptr %3, align 8 %22 = load ptr, ptr %2, align 8 %23 = load i32, ptr %4, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %22, i64 %24 %26 = load i8, ptr %25, align 1 %27 = call ptr @single_digit_hex_to_bin(i8 noundef signext %26) %28 = call ptr @strcat(ptr noundef %21, ptr noundef %27) store ptr %28, ptr %3, align 8 br label %29 29: ; preds = %20 %30 = load i32, ptr %4, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %4, align 4 %32 = load i32, ptr %4, align 4 %33 = load ptr, ptr %2, align 8 %34 = call i32 @strlen(ptr noundef %33) %35 = icmp slt i32 %32, %34 br i1 %35, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %36 36: ; preds = %._crit_edge, %1 %37 = load ptr, ptr %3, align 8 ret ptr %37 } declare ptr @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @strcat(ptr noundef, ptr noundef) #1 declare ptr @single_digit_hex_to_bin(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/tmp0flmblez.c' source_filename = "/tmp/tmp0flmblez.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"12 4 /\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_division() #0 { %1 = call i32 @evaluate_postfix(ptr noundef @.str) %2 = icmp eq i32 %1, 3 %3 = zext i1 %2 to i32 %4 = call i32 @assert(i32 noundef %3) ret void } declare i32 @assert(i32 noundef) #1 declare i32 @evaluate_postfix(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0flmblez.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"12 4 /\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_division() #0 { %1 = call i32 @evaluate_postfix(ptr noundef @.str) %2 = icmp eq i32 %1, 3 %3 = zext i1 %2 to i32 %4 = call i32 @assert(i32 noundef %3) ret void } declare i32 @assert(i32 noundef) #1 declare i32 @evaluate_postfix(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp038ntbjk.c' source_filename = "/tmp/tmp038ntbjk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1B[7m\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"\1B[%dm \00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"\1B[1;%dm \00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"\1B[0m\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 store i32 0, ptr %1, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 30, ptr %2, align 4 br label %4 4: ; preds = %10, %0 %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %5, 38 br i1 %6, label %7, label %13 7: ; preds = %4 %8 = load i32, ptr %2, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %8) br label %10 10: ; preds = %7 %11 = load i32, ptr %2, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %2, align 4 br label %4, !llvm.loop !6 13: ; preds = %4 %14 = call i32 @putchar(i8 noundef signext 10) store i32 30, ptr %2, align 4 br label %15 15: ; preds = %21, %13 %16 = load i32, ptr %2, align 4 %17 = icmp slt i32 %16, 38 br i1 %17, label %18, label %24 18: ; preds = %15 %19 = load i32, ptr %2, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %19) br label %21 21: ; preds = %18 %22 = load i32, ptr %2, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %2, align 4 br label %15, !llvm.loop !8 24: ; preds = %15 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) ret i32 0 } declare i32 @printf(ptr 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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp038ntbjk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1B[7m\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"\1B[%dm \00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"\1B[1;%dm \00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"\1B[0m\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 store i32 0, ptr %1, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 30, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 38 br i1 %5, label %.lr.ph, label %14 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %9 %7 = load i32, ptr %2, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %7) br label %9 9: ; preds = %6 %10 = load i32, ptr %2, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %2, align 4 %12 = load i32, ptr %2, align 4 %13 = icmp slt i32 %12, 38 br i1 %13, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %14 14: ; preds = %._crit_edge, %0 %15 = call i32 @putchar(i8 noundef signext 10) store i32 30, ptr %2, align 4 %16 = load i32, ptr %2, align 4 %17 = icmp slt i32 %16, 38 br i1 %17, label %.lr.ph2, label %26 .lr.ph2: ; preds = %14 br label %18 18: ; preds = %.lr.ph2, %21 %19 = load i32, ptr %2, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %19) br label %21 21: ; preds = %18 %22 = load i32, ptr %2, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %2, align 4 %24 = load i32, ptr %2, align 4 %25 = icmp slt i32 %24, 38 br i1 %25, label %18, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %21 br label %26 26: ; preds = %._crit_edge3, %14 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) ret i32 0 } declare i32 @printf(ptr 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}
; ModuleID = '/tmp/tmpfdct9on3.c' source_filename = "/tmp/tmpfdct9on3.c" target datalayout = "e-m:e-p270: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.convert_base = private unnamed_addr constant [8 x i32] [i32 268435456, i32 16777216, i32 1048576, i32 65536, i32 4096, i32 256, i32 16, i32 1], align 16 @.str = private unnamed_addr constant [18 x i8] c"input name error\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"open input file fails\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"open output file fails\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i8, align 1 %11 = alloca [9 x i8], align 1 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca [8 x i32], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 store ptr %19, ptr %8, align 8 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 2 %22 = load ptr, ptr %21, align 8 store ptr %22, ptr %9, align 8 call void @llvm.memset.p0.i64(ptr align 1 %11, i8 0, i64 9, i1 false) store i32 0, ptr %12, align 4 store i32 0, ptr %13, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %16, ptr align 16 @__const.main.convert_base, i64 32, i1 false) %23 = load ptr, ptr %8, align 8 %24 = icmp eq ptr %23, null br i1 %24, label %28, label %25 25: ; preds = %2 %26 = load ptr, ptr %9, align 8 %27 = icmp eq ptr %26, null br i1 %27, label %28, label %30 28: ; preds = %25, %2 %29 = call i32 @printf(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %161 30: ; preds = %25 %31 = load ptr, ptr %8, align 8 %32 = call ptr @fopen(ptr noundef %31, ptr noundef @.str.1) store ptr %32, ptr %6, align 8 %33 = icmp eq ptr %32, null br i1 %33, label %34, label %36 34: ; preds = %30 %35 = call i32 @printf(ptr noundef @.str.2) store i32 -1, ptr %3, align 4 br label %161 36: ; preds = %30 %37 = load ptr, ptr %9, align 8 %38 = call ptr @fopen(ptr noundef %37, ptr noundef @.str.3) store ptr %38, ptr %7, align 8 %39 = icmp eq ptr %38, null br i1 %39, label %40, label %42 40: ; preds = %36 %41 = call i32 @printf(ptr noundef @.str.4) store i32 -1, ptr %3, align 4 br label %161 42: ; preds = %36 br label %43 43: ; preds = %155, %42 %44 = load ptr, ptr %6, align 8 %45 = call i64 @fread(ptr noundef %10, i32 noundef 1, i32 noundef 1, ptr noundef %44) %46 = icmp ne i64 %45, 0 br i1 %46, label %47, label %156 47: ; preds = %43 %48 = load i8, ptr %10, align 1 %49 = zext i8 %48 to i32 %50 = icmp eq i32 %49, 48 br i1 %50, label %51, label %155 51: ; preds = %47 %52 = load ptr, ptr %6, align 8 %53 = call i64 @fread(ptr noundef %10, i32 noundef 1, i32 noundef 1, ptr noundef %52) %54 = load i8, ptr %10, align 1 %55 = zext i8 %54 to i32 %56 = icmp eq i32 %55, 120 br i1 %56, label %57, label %154 57: ; preds = %51 %58 = getelementptr inbounds [9 x i8], ptr %11, i64 0, i64 0 %59 = load ptr, ptr %6, align 8 %60 = call i64 @fread(ptr noundef %58, i32 noundef 1, i32 noundef 8, ptr noundef %59) %61 = getelementptr inbounds [9 x i8], ptr %11, i64 0, i64 8 store i8 0, ptr %61, align 1 store i32 8, ptr %15, align 4 br label %62 62: ; preds = %126, %57 %63 = load i32, ptr %15, align 4 %64 = icmp ugt i32 %63, 0 br i1 %64, label %65, label %129 65: ; preds = %62 %66 = load i32, ptr %15, align 4 %67 = sub i32 %66, 1 %68 = zext i32 %67 to i64 %69 = getelementptr inbounds [9 x i8], ptr %11, i64 0, i64 %68 %70 = load i8, ptr %69, align 1 %71 = zext i8 %70 to i32 %72 = icmp sgt i32 %71, 47 br i1 %72, label %73, label %89 73: ; preds = %65 %74 = load i32, ptr %15, align 4 %75 = sub i32 %74, 1 %76 = zext i32 %75 to i64 %77 = getelementptr inbounds [9 x i8], ptr %11, i64 0, i64 %76 %78 = load i8, ptr %77, align 1 %79 = zext i8 %78 to i32 %80 = icmp slt i32 %79, 58 br i1 %80, label %81, label %89 81: ; preds = %73 %82 = load i32, ptr %15, align 4 %83 = sub i32 %82, 1 %84 = zext i32 %83 to i64 %85 = getelementptr inbounds [9 x i8], ptr %11, i64 0, i64 %84 %86 = load i8, ptr %85, align 1 %87 = zext i8 %86 to i32 %88 = sub nsw i32 %87, 48 store i32 %88, ptr %14, align 4 br label %116 89: ; preds = %73, %65 %90 = load i32, ptr %15, align 4 %91 = sub i32 %90, 1 %92 = zext i32 %91 to i64 %93 = getelementptr inbounds [9 x i8], ptr %11, i64 0, i64 %92 %94 = load i8, ptr %93, align 1 %95 = zext i8 %94 to i32 %96 = icmp sgt i32 %95, 64 br i1 %96, label %97, label %113 97: ; preds = %89 %98 = load i32, ptr %15, align 4 %99 = sub i32 %98, 1 %100 = zext i32 %99 to i64 %101 = getelementptr inbounds [9 x i8], ptr %11, i64 0, i64 %100 %102 = load i8, ptr %101, align 1 %103 = zext i8 %102 to i32 %104 = icmp slt i32 %103, 71 br i1 %104, label %105, label %113 105: ; preds = %97 %106 = load i32, ptr %15, align 4 %107 = sub i32 %106, 1 %108 = zext i32 %107 to i64 %109 = getelementptr inbounds [9 x i8], ptr %11, i64 0, i64 %108 %110 = load i8, ptr %109, align 1 %111 = zext i8 %110 to i32 %112 = sub nsw i32 %111, 55 store i32 %112, ptr %14, align 4 br label %115 113: ; preds = %97, %89 %114 = call i32 @printf(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %161 115: ; preds = %105 br label %116 116: ; preds = %115, %81 %117 = load i32, ptr %14, align 4 %118 = load i32, ptr %15, align 4 %119 = sub i32 %118, 1 %120 = zext i32 %119 to i64 %121 = getelementptr inbounds [8 x i32], ptr %16, i64 0, i64 %120 %122 = load i32, ptr %121, align 4 %123 = mul i32 %117, %122 %124 = load i32, ptr %12, align 4 %125 = add i32 %124, %123 store i32 %125, ptr %12, align 4 br label %126 126: ; preds = %116 %127 = load i32, ptr %15, align 4 %128 = add i32 %127, -1 store i32 %128, ptr %15, align 4 br label %62, !llvm.loop !6 129: ; preds = %62 %130 = call i64 (...) @is_little_endian() %131 = icmp ne i64 %130, 0 br i1 %131, label %132, label %149 132: ; preds = %129 store i32 0, ptr %15, align 4 br label %133 133: ; preds = %145, %132 %134 = load i32, ptr %15, align 4 %135 = icmp ult i32 %134, 4 br i1 %135, label %136, label %148 136: ; preds = %133 %137 = load i32, ptr %15, align 4 %138 = sub i32 3, %137 %139 = zext i32 %138 to i64 %140 = getelementptr inbounds i8, ptr %12, i64 %139 %141 = load i8, ptr %140, align 1 %142 = load i32, ptr %15, align 4 %143 = zext i32 %142 to i64 %144 = getelementptr inbounds i8, ptr %13, i64 %143 store i8 %141, ptr %144, align 1 br label %145 145: ; preds = %136 %146 = load i32, ptr %15, align 4 %147 = add i32 %146, 1 store i32 %147, ptr %15, align 4 br label %133, !llvm.loop !8 148: ; preds = %133 br label %151 149: ; preds = %129 %150 = load i32, ptr %12, align 4 store i32 %150, ptr %13, align 4 br label %151 151: ; preds = %149, %148 %152 = load ptr, ptr %7, align 8 %153 = call i32 @fwrite(ptr noundef %13, i32 noundef 1, i32 noundef 4, ptr noundef %152) store i32 0, ptr %12, align 4 store i32 0, ptr %13, align 4 br label %154 154: ; preds = %151, %51 br label %155 155: ; preds = %154, %47 br label %43, !llvm.loop !9 156: ; preds = %43 %157 = load ptr, ptr %6, align 8 %158 = call i32 @fclose(ptr noundef %157) %159 = load ptr, ptr %7, align 8 %160 = call i32 @fclose(ptr noundef %159) store i32 0, ptr %3, align 4 br label %161 161: ; preds = %156, %113, %40, %34, %28 %162 = load i32, ptr %3, align 4 ret i32 %162 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @printf(ptr noundef) #3 declare ptr @fopen(ptr noundef, ptr noundef) #3 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #3 declare i64 @is_little_endian(...) #3 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #3 declare i32 @fclose(ptr noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpfdct9on3.c" target datalayout = "e-m:e-p270: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.convert_base = private unnamed_addr constant [8 x i32] [i32 268435456, i32 16777216, i32 1048576, i32 65536, i32 4096, i32 256, i32 16, i32 1], align 16 @.str = private unnamed_addr constant [18 x i8] c"input name error\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"open input file fails\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"open output file fails\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i8, align 1 %11 = alloca [9 x i8], align 1 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca [8 x i32], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 store ptr %19, ptr %8, align 8 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 2 %22 = load ptr, ptr %21, align 8 store ptr %22, ptr %9, align 8 call void @llvm.memset.p0.i64(ptr align 1 %11, i8 0, i64 9, i1 false) store i32 0, ptr %12, align 4 store i32 0, ptr %13, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %16, ptr align 16 @__const.main.convert_base, i64 32, i1 false) %23 = load ptr, ptr %8, align 8 %24 = icmp eq ptr %23, null br i1 %24, label %28, label %25 25: ; preds = %2 %26 = load ptr, ptr %9, align 8 %27 = icmp eq ptr %26, null br i1 %27, label %28, label %30 28: ; preds = %25, %2 %29 = call i32 @printf(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %165 30: ; preds = %25 %31 = load ptr, ptr %8, align 8 %32 = call ptr @fopen(ptr noundef %31, ptr noundef @.str.1) store ptr %32, ptr %6, align 8 %33 = icmp eq ptr %32, null br i1 %33, label %34, label %36 34: ; preds = %30 %35 = call i32 @printf(ptr noundef @.str.2) store i32 -1, ptr %3, align 4 br label %165 36: ; preds = %30 %37 = load ptr, ptr %9, align 8 %38 = call ptr @fopen(ptr noundef %37, ptr noundef @.str.3) store ptr %38, ptr %7, align 8 %39 = icmp eq ptr %38, null br i1 %39, label %40, label %42 40: ; preds = %36 %41 = call i32 @printf(ptr noundef @.str.4) store i32 -1, ptr %3, align 4 br label %165 42: ; preds = %36 %43 = load ptr, ptr %6, align 8 %44 = call i64 @fread(ptr noundef %10, i32 noundef 1, i32 noundef 1, ptr noundef %43) %45 = icmp ne i64 %44, 0 br i1 %45, label %.lr.ph5, label %160 .lr.ph5: ; preds = %42 br label %46 46: ; preds = %.lr.ph5, %156 %47 = load i8, ptr %10, align 1 %48 = zext i8 %47 to i32 %49 = icmp eq i32 %48, 48 br i1 %49, label %50, label %156 50: ; preds = %46 %51 = load ptr, ptr %6, align 8 %52 = call i64 @fread(ptr noundef %10, i32 noundef 1, i32 noundef 1, ptr noundef %51) %53 = load i8, ptr %10, align 1 %54 = zext i8 %53 to i32 %55 = icmp eq i32 %54, 120 br i1 %55, label %56, label %155 56: ; preds = %50 %57 = getelementptr inbounds [9 x i8], ptr %11, i64 0, i64 0 %58 = load ptr, ptr %6, align 8 %59 = call i64 @fread(ptr noundef %57, i32 noundef 1, i32 noundef 8, ptr noundef %58) %60 = getelementptr inbounds [9 x i8], ptr %11, i64 0, i64 8 store i8 0, ptr %60, align 1 store i32 8, ptr %15, align 4 %61 = load i32, ptr %15, align 4 %62 = icmp ugt i32 %61, 0 br i1 %62, label %.lr.ph, label %129 .lr.ph: ; preds = %56 br label %63 63: ; preds = %.lr.ph, %124 %64 = load i32, ptr %15, align 4 %65 = sub i32 %64, 1 %66 = zext i32 %65 to i64 %67 = getelementptr inbounds [9 x i8], ptr %11, i64 0, i64 %66 %68 = load i8, ptr %67, align 1 %69 = zext i8 %68 to i32 %70 = icmp sgt i32 %69, 47 br i1 %70, label %71, label %87 71: ; preds = %63 %72 = load i32, ptr %15, align 4 %73 = sub i32 %72, 1 %74 = zext i32 %73 to i64 %75 = getelementptr inbounds [9 x i8], ptr %11, i64 0, i64 %74 %76 = load i8, ptr %75, align 1 %77 = zext i8 %76 to i32 %78 = icmp slt i32 %77, 58 br i1 %78, label %79, label %87 79: ; preds = %71 %80 = load i32, ptr %15, align 4 %81 = sub i32 %80, 1 %82 = zext i32 %81 to i64 %83 = getelementptr inbounds [9 x i8], ptr %11, i64 0, i64 %82 %84 = load i8, ptr %83, align 1 %85 = zext i8 %84 to i32 %86 = sub nsw i32 %85, 48 store i32 %86, ptr %14, align 4 br label %114 87: ; preds = %71, %63 %88 = load i32, ptr %15, align 4 %89 = sub i32 %88, 1 %90 = zext i32 %89 to i64 %91 = getelementptr inbounds [9 x i8], ptr %11, i64 0, i64 %90 %92 = load i8, ptr %91, align 1 %93 = zext i8 %92 to i32 %94 = icmp sgt i32 %93, 64 br i1 %94, label %95, label %111 95: ; preds = %87 %96 = load i32, ptr %15, align 4 %97 = sub i32 %96, 1 %98 = zext i32 %97 to i64 %99 = getelementptr inbounds [9 x i8], ptr %11, i64 0, i64 %98 %100 = load i8, ptr %99, align 1 %101 = zext i8 %100 to i32 %102 = icmp slt i32 %101, 71 br i1 %102, label %103, label %111 103: ; preds = %95 %104 = load i32, ptr %15, align 4 %105 = sub i32 %104, 1 %106 = zext i32 %105 to i64 %107 = getelementptr inbounds [9 x i8], ptr %11, i64 0, i64 %106 %108 = load i8, ptr %107, align 1 %109 = zext i8 %108 to i32 %110 = sub nsw i32 %109, 55 store i32 %110, ptr %14, align 4 br label %113 111: ; preds = %95, %87 %112 = call i32 @printf(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %165 113: ; preds = %103 br label %114 114: ; preds = %113, %79 %115 = load i32, ptr %14, align 4 %116 = load i32, ptr %15, align 4 %117 = sub i32 %116, 1 %118 = zext i32 %117 to i64 %119 = getelementptr inbounds [8 x i32], ptr %16, i64 0, i64 %118 %120 = load i32, ptr %119, align 4 %121 = mul i32 %115, %120 %122 = load i32, ptr %12, align 4 %123 = add i32 %122, %121 store i32 %123, ptr %12, align 4 br label %124 124: ; preds = %114 %125 = load i32, ptr %15, align 4 %126 = add i32 %125, -1 store i32 %126, ptr %15, align 4 %127 = load i32, ptr %15, align 4 %128 = icmp ugt i32 %127, 0 br i1 %128, label %63, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %124 br label %129 129: ; preds = %._crit_edge, %56 %130 = call i64 (...) @is_little_endian() %131 = icmp ne i64 %130, 0 br i1 %131, label %132, label %150 132: ; preds = %129 store i32 0, ptr %15, align 4 %133 = load i32, ptr %15, align 4 %134 = icmp ult i32 %133, 4 br i1 %134, label %.lr.ph2, label %149 .lr.ph2: ; preds = %132 br label %135 135: ; preds = %.lr.ph2, %144 %136 = load i32, ptr %15, align 4 %137 = sub i32 3, %136 %138 = zext i32 %137 to i64 %139 = getelementptr inbounds i8, ptr %12, i64 %138 %140 = load i8, ptr %139, align 1 %141 = load i32, ptr %15, align 4 %142 = zext i32 %141 to i64 %143 = getelementptr inbounds i8, ptr %13, i64 %142 store i8 %140, ptr %143, align 1 br label %144 144: ; preds = %135 %145 = load i32, ptr %15, align 4 %146 = add i32 %145, 1 store i32 %146, ptr %15, align 4 %147 = load i32, ptr %15, align 4 %148 = icmp ult i32 %147, 4 br i1 %148, label %135, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %144 br label %149 149: ; preds = %._crit_edge3, %132 br label %152 150: ; preds = %129 %151 = load i32, ptr %12, align 4 store i32 %151, ptr %13, align 4 br label %152 152: ; preds = %150, %149 %153 = load ptr, ptr %7, align 8 %154 = call i32 @fwrite(ptr noundef %13, i32 noundef 1, i32 noundef 4, ptr noundef %153) store i32 0, ptr %12, align 4 store i32 0, ptr %13, align 4 br label %155 155: ; preds = %152, %50 br label %156 156: ; preds = %155, %46 %157 = load ptr, ptr %6, align 8 %158 = call i64 @fread(ptr noundef %10, i32 noundef 1, i32 noundef 1, ptr noundef %157) %159 = icmp ne i64 %158, 0 br i1 %159, label %46, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %156 br label %160 160: ; preds = %._crit_edge6, %42 %161 = load ptr, ptr %6, align 8 %162 = call i32 @fclose(ptr noundef %161) %163 = load ptr, ptr %7, align 8 %164 = call i32 @fclose(ptr noundef %163) store i32 0, ptr %3, align 4 br label %165 165: ; preds = %160, %111, %40, %34, %28 %166 = load i32, ptr %3, align 4 ret i32 %166 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @printf(ptr noundef) #3 declare ptr @fopen(ptr noundef, ptr noundef) #3 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #3 declare i64 @is_little_endian(...) #3 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #3 declare i32 @fclose(ptr noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp0h7ghcj2.c' source_filename = "/tmp/tmp0h7ghcj2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @write_color(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 ptr, ptr %5, align 8 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %8, align 4 %13 = call i32 @write_frame(ptr noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12) ret void } declare i32 @write_frame(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/tmp0h7ghcj2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @write_color(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 ptr, ptr %5, align 8 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %8, align 4 %13 = call i32 @write_frame(ptr noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12) ret void } declare i32 @write_frame(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/tmpb0kkw3a5.c' source_filename = "/tmp/tmpb0kkw3a5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [50 x i8] c"Digite um n\C3\BAmero inteiro maior ou igual a zero: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"\0AO fatorial de %d! \C3\A9 %d.\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"pause\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %4 4: ; preds = %7, %0 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) br label %7 7: ; preds = %4 %8 = load i32, ptr %2, align 4 %9 = icmp slt i32 %8, 0 br i1 %9, label %4, label %10, !llvm.loop !6 10: ; preds = %7 %11 = load i32, ptr %2, align 4 %12 = call i32 @fatorial(i32 noundef %11) store i32 %12, ptr %3, align 4 %13 = load i32, ptr %2, align 4 %14 = load i32, ptr %3, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13, i32 noundef %14) %16 = call i32 @system(ptr noundef @.str.3) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @fatorial(i32 noundef) #1 declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb0kkw3a5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [50 x i8] c"Digite um n\C3\BAmero inteiro maior ou igual a zero: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"\0AO fatorial de %d! \C3\A9 %d.\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"pause\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %4 4: ; preds = %7, %0 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) br label %7 7: ; preds = %4 %8 = load i32, ptr %2, align 4 %9 = icmp slt i32 %8, 0 br i1 %9, label %4, label %10, !llvm.loop !6 10: ; preds = %7 %11 = load i32, ptr %2, align 4 %12 = call i32 @fatorial(i32 noundef %11) store i32 %12, ptr %3, align 4 %13 = load i32, ptr %2, align 4 %14 = load i32, ptr %3, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13, i32 noundef %14) %16 = call i32 @system(ptr noundef @.str.3) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @fatorial(i32 noundef) #1 declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpgv7n7aex.c' source_filename = "/tmp/tmpgv7n7aex.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"/\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @name_from_url(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [1024 x ptr], align 16 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call ptr @strdup(ptr noundef %6) store ptr %7, ptr %4, align 8 %8 = load ptr, ptr %4, align 8 %9 = getelementptr inbounds [1024 x ptr], ptr %3, i64 0, i64 0 %10 = call i32 @strsplit(ptr noundef %8, ptr noundef %9, ptr noundef @.str) store i32 %10, ptr %5, align 4 %11 = load i32, ptr %5, align 4 %12 = sub nsw i32 %11, 1 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [1024 x ptr], ptr %3, i64 0, i64 %13 %15 = load ptr, ptr %14, align 8 ret ptr %15 } declare ptr @strdup(ptr noundef) #1 declare i32 @strsplit(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/tmpgv7n7aex.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"/\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @name_from_url(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [1024 x ptr], align 16 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call ptr @strdup(ptr noundef %6) store ptr %7, ptr %4, align 8 %8 = load ptr, ptr %4, align 8 %9 = getelementptr inbounds [1024 x ptr], ptr %3, i64 0, i64 0 %10 = call i32 @strsplit(ptr noundef %8, ptr noundef %9, ptr noundef @.str) store i32 %10, ptr %5, align 4 %11 = load i32, ptr %5, align 4 %12 = sub nsw i32 %11, 1 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [1024 x ptr], ptr %3, i64 0, i64 %13 %15 = load ptr, ptr %14, align 8 ret ptr %15 } declare ptr @strdup(ptr noundef) #1 declare i32 @strsplit(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/tmpjmst5_9g.c' source_filename = "/tmp/tmpjmst5_9g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"%s%s%s\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"\1B[0m\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"\E2\94\82\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @colorize_sep() #0 { %1 = alloca ptr, align 8 %2 = call ptr @malloc_string(i32 noundef 32) store ptr %2, ptr %1, align 8 %3 = load ptr, ptr %1, align 8 %4 = call i32 @sprintf(ptr noundef %3, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.1) %5 = load ptr, ptr %1, align 8 ret ptr %5 } declare ptr @malloc_string(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjmst5_9g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"%s%s%s\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"\1B[0m\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"\E2\94\82\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @colorize_sep() #0 { %1 = alloca ptr, align 8 %2 = call ptr @malloc_string(i32 noundef 32) store ptr %2, ptr %1, align 8 %3 = load ptr, ptr %1, align 8 %4 = call i32 @sprintf(ptr noundef %3, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.1) %5 = load ptr, ptr %1, align 8 ret ptr %5 } declare ptr @malloc_string(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6rs7okjo.c' source_filename = "/tmp/tmp6rs7okjo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sclass_duplicate_entry(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = 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 store ptr %3, ptr %8, align 8 %9 = load i32, ptr %5, align 4 %10 = load ptr, ptr %6, align 8 %11 = load i32, ptr %7, align 4 %12 = load ptr, ptr %8, align 8 %13 = call i32 @sclass_univ_duplicate_entry(i32 noundef %9, ptr noundef %10, i32 noundef %11, ptr noundef %12, i32 noundef 0, i32 noundef 0) ret i32 %13 } declare i32 @sclass_univ_duplicate_entry(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6rs7okjo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sclass_duplicate_entry(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = 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 store ptr %3, ptr %8, align 8 %9 = load i32, ptr %5, align 4 %10 = load ptr, ptr %6, align 8 %11 = load i32, ptr %7, align 4 %12 = load ptr, ptr %8, align 8 %13 = call i32 @sclass_univ_duplicate_entry(i32 noundef %9, ptr noundef %10, i32 noundef %11, ptr noundef %12, i32 noundef 0, i32 noundef 0) ret i32 %13 } declare i32 @sclass_univ_duplicate_entry(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsd55wttu.c' source_filename = "/tmp/tmpsd55wttu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"invalid signed integer: \22%s\22\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @sqlLongLong(ptr noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 0, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 store ptr %7, ptr %6, align 8 %8 = load ptr, ptr %6, align 8 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = icmp eq i32 %10, 45 br i1 %11, label %12, label %15 12: ; preds = %1 %13 = load ptr, ptr %6, align 8 %14 = getelementptr inbounds i8, ptr %13, i32 1 store ptr %14, ptr %6, align 8 br label %15 15: ; preds = %12, %1 %16 = load ptr, ptr %6, align 8 store ptr %16, ptr %5, align 8 br label %17 17: ; preds = %29, %15 %18 = load ptr, ptr %5, align 8 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp sge i32 %20, 48 br i1 %21, label %22, label %27 22: ; preds = %17 %23 = load ptr, ptr %5, align 8 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp sle i32 %25, 57 br label %27 27: ; preds = %22, %17 %28 = phi i1 [ false, %17 ], [ %26, %22 ] br i1 %28, label %29, label %41 29: ; preds = %27 %30 = load i64, ptr %4, align 8 %31 = mul nsw i64 %30, 10 store i64 %31, ptr %4, align 8 %32 = load ptr, ptr %5, align 8 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = sub nsw i32 %34, 48 %36 = sext i32 %35 to i64 %37 = load i64, ptr %4, align 8 %38 = add nsw i64 %37, %36 store i64 %38, ptr %4, align 8 %39 = load ptr, ptr %5, align 8 %40 = getelementptr inbounds i8, ptr %39, i32 1 store ptr %40, ptr %5, align 8 br label %17, !llvm.loop !6 41: ; preds = %27 %42 = load ptr, ptr %5, align 8 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = icmp ne i32 %44, 0 br i1 %45, label %50, label %46 46: ; preds = %41 %47 = load ptr, ptr %5, align 8 %48 = load ptr, ptr %6, align 8 %49 = icmp eq ptr %47, %48 br i1 %49, label %50, label %53 50: ; preds = %46, %41 %51 = load ptr, ptr %3, align 8 %52 = call i32 @errAbort(ptr noundef @.str, ptr noundef %51) br label %53 53: ; preds = %50, %46 %54 = load ptr, ptr %3, align 8 %55 = load i8, ptr %54, align 1 %56 = sext i8 %55 to i32 %57 = icmp eq i32 %56, 45 br i1 %57, label %58, label %61 58: ; preds = %53 %59 = load i64, ptr %4, align 8 %60 = sub nsw i64 0, %59 store i64 %60, ptr %2, align 8 br label %63 61: ; preds = %53 %62 = load i64, ptr %4, align 8 store i64 %62, ptr %2, align 8 br label %63 63: ; preds = %61, %58 %64 = load i64, ptr %2, align 8 ret i64 %64 } declare i32 @errAbort(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsd55wttu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"invalid signed integer: \22%s\22\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @sqlLongLong(ptr noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 0, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 store ptr %7, ptr %6, align 8 %8 = load ptr, ptr %6, align 8 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = icmp eq i32 %10, 45 br i1 %11, label %12, label %15 12: ; preds = %1 %13 = load ptr, ptr %6, align 8 %14 = getelementptr inbounds i8, ptr %13, i32 1 store ptr %14, ptr %6, align 8 br label %15 15: ; preds = %12, %1 %16 = load ptr, ptr %6, align 8 store ptr %16, ptr %5, align 8 br label %17 17: ; preds = %29, %15 %18 = load ptr, ptr %5, align 8 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp sge i32 %20, 48 br i1 %21, label %22, label %27 22: ; preds = %17 %23 = load ptr, ptr %5, align 8 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp sle i32 %25, 57 br label %27 27: ; preds = %22, %17 %28 = phi i1 [ false, %17 ], [ %26, %22 ] br i1 %28, label %29, label %41 29: ; preds = %27 %30 = load i64, ptr %4, align 8 %31 = mul nsw i64 %30, 10 store i64 %31, ptr %4, align 8 %32 = load ptr, ptr %5, align 8 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = sub nsw i32 %34, 48 %36 = sext i32 %35 to i64 %37 = load i64, ptr %4, align 8 %38 = add nsw i64 %37, %36 store i64 %38, ptr %4, align 8 %39 = load ptr, ptr %5, align 8 %40 = getelementptr inbounds i8, ptr %39, i32 1 store ptr %40, ptr %5, align 8 br label %17, !llvm.loop !6 41: ; preds = %27 %42 = load ptr, ptr %5, align 8 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = icmp ne i32 %44, 0 br i1 %45, label %50, label %46 46: ; preds = %41 %47 = load ptr, ptr %5, align 8 %48 = load ptr, ptr %6, align 8 %49 = icmp eq ptr %47, %48 br i1 %49, label %50, label %53 50: ; preds = %46, %41 %51 = load ptr, ptr %3, align 8 %52 = call i32 @errAbort(ptr noundef @.str, ptr noundef %51) br label %53 53: ; preds = %50, %46 %54 = load ptr, ptr %3, align 8 %55 = load i8, ptr %54, align 1 %56 = sext i8 %55 to i32 %57 = icmp eq i32 %56, 45 br i1 %57, label %58, label %61 58: ; preds = %53 %59 = load i64, ptr %4, align 8 %60 = sub nsw i64 0, %59 store i64 %60, ptr %2, align 8 br label %63 61: ; preds = %53 %62 = load i64, ptr %4, align 8 store i64 %62, ptr %2, align 8 br label %63 63: ; preds = %61, %58 %64 = load i64, ptr %2, align 8 ret i64 %64 } declare i32 @errAbort(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpsjq3xl4z.c' source_filename = "/tmp/tmpsjq3xl4z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d - %c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 br label %5 5: ; preds = %14, %0 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 257 br i1 %7, label %8, label %17 8: ; preds = %5 %9 = load i32, ptr %3, align 4 %10 = trunc i32 %9 to i8 store i8 %10, ptr %2, align 1 %11 = load i32, ptr %3, align 4 %12 = load i8, ptr %2, align 1 %13 = call i32 @printf(ptr noundef @.str, i32 noundef %11, i8 noundef signext %12) br label %14 14: ; preds = %8 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %3, align 4 br label %5, !llvm.loop !6 17: ; preds = %5 ret i32 0 } declare i32 @printf(ptr noundef, i32 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/tmpsjq3xl4z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d - %c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 257 br i1 %6, label %.lr.ph, label %18 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %13 %8 = load i32, ptr %3, align 4 %9 = trunc i32 %8 to i8 store i8 %9, ptr %2, align 1 %10 = load i32, ptr %3, align 4 %11 = load i8, ptr %2, align 1 %12 = call i32 @printf(ptr noundef @.str, i32 noundef %10, i8 noundef signext %11) br label %13 13: ; preds = %7 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %3, align 4 %16 = load i32, ptr %3, align 4 %17 = icmp slt i32 %16, 257 br i1 %17, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %18 18: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @printf(ptr noundef, i32 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/tmpvrmpdrk_.c' source_filename = "/tmp/tmpvrmpdrk_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HeapSort(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 = sdiv i32 %6, 2 store i32 %7, ptr %5, align 4 br label %8 8: ; preds = %16, %2 %9 = load i32, ptr %5, align 4 %10 = icmp sgt i32 %9, 0 br i1 %10, label %11, label %19 11: ; preds = %8 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %4, align 4 %15 = call i32 @HeapAdjust(ptr noundef %12, i32 noundef %13, i32 noundef %14) br label %16 16: ; preds = %11 %17 = load i32, ptr %5, align 4 %18 = add nsw i32 %17, -1 store i32 %18, ptr %5, align 4 br label %8, !llvm.loop !6 19: ; preds = %8 %20 = load i32, ptr %4, align 4 store i32 %20, ptr %5, align 4 br label %21 21: ; preds = %48, %19 %22 = load i32, ptr %5, align 4 %23 = icmp sgt i32 %22, 1 br i1 %23, label %24, label %51 24: ; preds = %21 %25 = load ptr, ptr %3, align 8 %26 = getelementptr inbounds i32, ptr %25, i64 1 %27 = load i32, ptr %26, align 4 %28 = load ptr, ptr %3, align 8 %29 = getelementptr inbounds i32, ptr %28, i64 0 store i32 %27, ptr %29, align 4 %30 = load ptr, ptr %3, align 8 %31 = load i32, ptr %5, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i32, ptr %30, i64 %32 %34 = load i32, ptr %33, align 4 %35 = load ptr, ptr %3, align 8 %36 = getelementptr inbounds i32, ptr %35, i64 1 store i32 %34, ptr %36, align 4 %37 = load ptr, ptr %3, align 8 %38 = getelementptr inbounds i32, ptr %37, i64 0 %39 = load i32, ptr %38, align 4 %40 = load ptr, ptr %3, align 8 %41 = load i32, ptr %5, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i32, ptr %40, i64 %42 store i32 %39, ptr %43, align 4 %44 = load ptr, ptr %3, align 8 %45 = load i32, ptr %5, align 4 %46 = sub nsw i32 %45, 1 %47 = call i32 @HeapAdjust(ptr noundef %44, i32 noundef 1, i32 noundef %46) br label %48 48: ; preds = %24 %49 = load i32, ptr %5, align 4 %50 = add nsw i32 %49, -1 store i32 %50, ptr %5, align 4 br label %21, !llvm.loop !8 51: ; preds = %21 ret void } declare i32 @HeapAdjust(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvrmpdrk_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HeapSort(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 = sdiv i32 %6, 2 store i32 %7, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = icmp sgt i32 %8, 0 br i1 %9, label %.lr.ph, label %20 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %15 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %4, align 4 %14 = call i32 @HeapAdjust(ptr noundef %11, i32 noundef %12, i32 noundef %13) br label %15 15: ; preds = %10 %16 = load i32, ptr %5, align 4 %17 = add nsw i32 %16, -1 store i32 %17, ptr %5, align 4 %18 = load i32, ptr %5, align 4 %19 = icmp sgt i32 %18, 0 br i1 %19, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %20 20: ; preds = %._crit_edge, %2 %21 = load i32, ptr %4, align 4 store i32 %21, ptr %5, align 4 %22 = load i32, ptr %5, align 4 %23 = icmp sgt i32 %22, 1 br i1 %23, label %.lr.ph2, label %53 .lr.ph2: ; preds = %20 br label %24 24: ; preds = %.lr.ph2, %48 %25 = load ptr, ptr %3, align 8 %26 = getelementptr inbounds i32, ptr %25, i64 1 %27 = load i32, ptr %26, align 4 %28 = load ptr, ptr %3, align 8 %29 = getelementptr inbounds i32, ptr %28, i64 0 store i32 %27, ptr %29, align 4 %30 = load ptr, ptr %3, align 8 %31 = load i32, ptr %5, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i32, ptr %30, i64 %32 %34 = load i32, ptr %33, align 4 %35 = load ptr, ptr %3, align 8 %36 = getelementptr inbounds i32, ptr %35, i64 1 store i32 %34, ptr %36, align 4 %37 = load ptr, ptr %3, align 8 %38 = getelementptr inbounds i32, ptr %37, i64 0 %39 = load i32, ptr %38, align 4 %40 = load ptr, ptr %3, align 8 %41 = load i32, ptr %5, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i32, ptr %40, i64 %42 store i32 %39, ptr %43, align 4 %44 = load ptr, ptr %3, align 8 %45 = load i32, ptr %5, align 4 %46 = sub nsw i32 %45, 1 %47 = call i32 @HeapAdjust(ptr noundef %44, i32 noundef 1, i32 noundef %46) br label %48 48: ; preds = %24 %49 = load i32, ptr %5, align 4 %50 = add nsw i32 %49, -1 store i32 %50, ptr %5, align 4 %51 = load i32, ptr %5, align 4 %52 = icmp sgt i32 %51, 1 br i1 %52, label %24, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %48 br label %53 53: ; preds = %._crit_edge3, %20 ret void } declare i32 @HeapAdjust(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmprjlumgwh.c' source_filename = "/tmp/tmprjlumgwh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"Error : Cannot assign dihedral code \0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_dihedral_angle(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca double, align 8 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %11 = load i32, ptr %5, align 4 %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %7, align 4 %14 = load i32, ptr %8, align 4 %15 = call double @calculate_dihedral_angle(i32 noundef %11, i32 noundef %12, i32 noundef %13, i32 noundef %14) store double %15, ptr %10, align 8 %16 = load double, ptr %10, align 8 %17 = fcmp oge double %16, 0.000000e+00 br i1 %17, label %18, label %21 18: ; preds = %4 %19 = load double, ptr %10, align 8 %20 = fcmp ole double %19, 2.000000e+01 br i1 %20, label %27, label %21 21: ; preds = %18, %4 %22 = load double, ptr %10, align 8 %23 = fcmp oge double %22, 3.400000e+02 br i1 %23, label %24, label %28 24: ; preds = %21 %25 = load double, ptr %10, align 8 %26 = fcmp ole double %25, 3.600000e+02 br i1 %26, label %27, label %28 27: ; preds = %24, %18 store i32 0, ptr %9, align 4 br label %120 28: ; preds = %24, %21 %29 = load double, ptr %10, align 8 %30 = fcmp ogt double %29, 2.000000e+01 br i1 %30, label %31, label %35 31: ; preds = %28 %32 = load double, ptr %10, align 8 %33 = fcmp ole double %32, 4.000000e+01 br i1 %33, label %34, label %35 34: ; preds = %31 store i32 1, ptr %9, align 4 br label %119 35: ; preds = %31, %28 %36 = load double, ptr %10, align 8 %37 = fcmp ogt double %36, 4.000000e+01 br i1 %37, label %38, label %42 38: ; preds = %35 %39 = load double, ptr %10, align 8 %40 = fcmp ole double %39, 8.000000e+01 br i1 %40, label %41, label %42 41: ; preds = %38 store i32 2, ptr %9, align 4 br label %118 42: ; preds = %38, %35 %43 = load double, ptr %10, align 8 %44 = fcmp ogt double %43, 8.000000e+01 br i1 %44, label %45, label %49 45: ; preds = %42 %46 = load double, ptr %10, align 8 %47 = fcmp ole double %46, 1.000000e+02 br i1 %47, label %48, label %49 48: ; preds = %45 store i32 3, ptr %9, align 4 br label %117 49: ; preds = %45, %42 %50 = load double, ptr %10, align 8 %51 = fcmp ogt double %50, 1.000000e+02 br i1 %51, label %52, label %56 52: ; preds = %49 %53 = load double, ptr %10, align 8 %54 = fcmp ole double %53, 1.400000e+02 br i1 %54, label %55, label %56 55: ; preds = %52 store i32 4, ptr %9, align 4 br label %116 56: ; preds = %52, %49 %57 = load double, ptr %10, align 8 %58 = fcmp ogt double %57, 1.400000e+02 br i1 %58, label %59, label %63 59: ; preds = %56 %60 = load double, ptr %10, align 8 %61 = fcmp ole double %60, 1.600000e+02 br i1 %61, label %62, label %63 62: ; preds = %59 store i32 5, ptr %9, align 4 br label %115 63: ; preds = %59, %56 %64 = load double, ptr %10, align 8 %65 = fcmp ogt double %64, 1.600000e+02 br i1 %65, label %66, label %70 66: ; preds = %63 %67 = load double, ptr %10, align 8 %68 = fcmp ole double %67, 2.000000e+02 br i1 %68, label %69, label %70 69: ; preds = %66 store i32 6, ptr %9, align 4 br label %114 70: ; preds = %66, %63 %71 = load double, ptr %10, align 8 %72 = fcmp ogt double %71, 2.000000e+02 br i1 %72, label %73, label %77 73: ; preds = %70 %74 = load double, ptr %10, align 8 %75 = fcmp ole double %74, 2.200000e+02 br i1 %75, label %76, label %77 76: ; preds = %73 store i32 7, ptr %9, align 4 br label %113 77: ; preds = %73, %70 %78 = load double, ptr %10, align 8 %79 = fcmp ogt double %78, 2.200000e+02 br i1 %79, label %80, label %84 80: ; preds = %77 %81 = load double, ptr %10, align 8 %82 = fcmp ole double %81, 2.600000e+02 br i1 %82, label %83, label %84 83: ; preds = %80 store i32 8, ptr %9, align 4 br label %112 84: ; preds = %80, %77 %85 = load double, ptr %10, align 8 %86 = fcmp ogt double %85, 2.600000e+02 br i1 %86, label %87, label %91 87: ; preds = %84 %88 = load double, ptr %10, align 8 %89 = fcmp ole double %88, 2.800000e+02 br i1 %89, label %90, label %91 90: ; preds = %87 store i32 9, ptr %9, align 4 br label %111 91: ; preds = %87, %84 %92 = load double, ptr %10, align 8 %93 = fcmp ogt double %92, 2.800000e+02 br i1 %93, label %94, label %98 94: ; preds = %91 %95 = load double, ptr %10, align 8 %96 = fcmp ole double %95, 3.200000e+02 br i1 %96, label %97, label %98 97: ; preds = %94 store i32 10, ptr %9, align 4 br label %110 98: ; preds = %94, %91 %99 = load double, ptr %10, align 8 %100 = fcmp ogt double %99, 3.200000e+02 br i1 %100, label %101, label %105 101: ; preds = %98 %102 = load double, ptr %10, align 8 %103 = fcmp ole double %102, 3.400000e+02 br i1 %103, label %104, label %105 104: ; preds = %101 store i32 11, ptr %9, align 4 br label %109 105: ; preds = %101, %98 %106 = call i32 @printf(ptr noundef @.str) %107 = load i32, ptr @EXIT_FAILURE, align 4 %108 = call i32 @exit(i32 noundef %107) #3 unreachable 109: ; preds = %104 br label %110 110: ; preds = %109, %97 br label %111 111: ; preds = %110, %90 br label %112 112: ; preds = %111, %83 br label %113 113: ; preds = %112, %76 br label %114 114: ; preds = %113, %69 br label %115 115: ; preds = %114, %62 br label %116 116: ; preds = %115, %55 br label %117 117: ; preds = %116, %48 br label %118 118: ; preds = %117, %41 br label %119 119: ; preds = %118, %34 br label %120 120: ; preds = %119, %27 %121 = load i32, ptr %9, align 4 ret i32 %121 } declare double @calculate_dihedral_angle(i32 noundef, i32 noundef, 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/tmprjlumgwh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"Error : Cannot assign dihedral code \0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_dihedral_angle(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca double, align 8 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %11 = load i32, ptr %5, align 4 %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %7, align 4 %14 = load i32, ptr %8, align 4 %15 = call double @calculate_dihedral_angle(i32 noundef %11, i32 noundef %12, i32 noundef %13, i32 noundef %14) store double %15, ptr %10, align 8 %16 = load double, ptr %10, align 8 %17 = fcmp oge double %16, 0.000000e+00 br i1 %17, label %18, label %21 18: ; preds = %4 %19 = load double, ptr %10, align 8 %20 = fcmp ole double %19, 2.000000e+01 br i1 %20, label %27, label %21 21: ; preds = %18, %4 %22 = load double, ptr %10, align 8 %23 = fcmp oge double %22, 3.400000e+02 br i1 %23, label %24, label %28 24: ; preds = %21 %25 = load double, ptr %10, align 8 %26 = fcmp ole double %25, 3.600000e+02 br i1 %26, label %27, label %28 27: ; preds = %24, %18 store i32 0, ptr %9, align 4 br label %120 28: ; preds = %24, %21 %29 = load double, ptr %10, align 8 %30 = fcmp ogt double %29, 2.000000e+01 br i1 %30, label %31, label %35 31: ; preds = %28 %32 = load double, ptr %10, align 8 %33 = fcmp ole double %32, 4.000000e+01 br i1 %33, label %34, label %35 34: ; preds = %31 store i32 1, ptr %9, align 4 br label %119 35: ; preds = %31, %28 %36 = load double, ptr %10, align 8 %37 = fcmp ogt double %36, 4.000000e+01 br i1 %37, label %38, label %42 38: ; preds = %35 %39 = load double, ptr %10, align 8 %40 = fcmp ole double %39, 8.000000e+01 br i1 %40, label %41, label %42 41: ; preds = %38 store i32 2, ptr %9, align 4 br label %118 42: ; preds = %38, %35 %43 = load double, ptr %10, align 8 %44 = fcmp ogt double %43, 8.000000e+01 br i1 %44, label %45, label %49 45: ; preds = %42 %46 = load double, ptr %10, align 8 %47 = fcmp ole double %46, 1.000000e+02 br i1 %47, label %48, label %49 48: ; preds = %45 store i32 3, ptr %9, align 4 br label %117 49: ; preds = %45, %42 %50 = load double, ptr %10, align 8 %51 = fcmp ogt double %50, 1.000000e+02 br i1 %51, label %52, label %56 52: ; preds = %49 %53 = load double, ptr %10, align 8 %54 = fcmp ole double %53, 1.400000e+02 br i1 %54, label %55, label %56 55: ; preds = %52 store i32 4, ptr %9, align 4 br label %116 56: ; preds = %52, %49 %57 = load double, ptr %10, align 8 %58 = fcmp ogt double %57, 1.400000e+02 br i1 %58, label %59, label %63 59: ; preds = %56 %60 = load double, ptr %10, align 8 %61 = fcmp ole double %60, 1.600000e+02 br i1 %61, label %62, label %63 62: ; preds = %59 store i32 5, ptr %9, align 4 br label %115 63: ; preds = %59, %56 %64 = load double, ptr %10, align 8 %65 = fcmp ogt double %64, 1.600000e+02 br i1 %65, label %66, label %70 66: ; preds = %63 %67 = load double, ptr %10, align 8 %68 = fcmp ole double %67, 2.000000e+02 br i1 %68, label %69, label %70 69: ; preds = %66 store i32 6, ptr %9, align 4 br label %114 70: ; preds = %66, %63 %71 = load double, ptr %10, align 8 %72 = fcmp ogt double %71, 2.000000e+02 br i1 %72, label %73, label %77 73: ; preds = %70 %74 = load double, ptr %10, align 8 %75 = fcmp ole double %74, 2.200000e+02 br i1 %75, label %76, label %77 76: ; preds = %73 store i32 7, ptr %9, align 4 br label %113 77: ; preds = %73, %70 %78 = load double, ptr %10, align 8 %79 = fcmp ogt double %78, 2.200000e+02 br i1 %79, label %80, label %84 80: ; preds = %77 %81 = load double, ptr %10, align 8 %82 = fcmp ole double %81, 2.600000e+02 br i1 %82, label %83, label %84 83: ; preds = %80 store i32 8, ptr %9, align 4 br label %112 84: ; preds = %80, %77 %85 = load double, ptr %10, align 8 %86 = fcmp ogt double %85, 2.600000e+02 br i1 %86, label %87, label %91 87: ; preds = %84 %88 = load double, ptr %10, align 8 %89 = fcmp ole double %88, 2.800000e+02 br i1 %89, label %90, label %91 90: ; preds = %87 store i32 9, ptr %9, align 4 br label %111 91: ; preds = %87, %84 %92 = load double, ptr %10, align 8 %93 = fcmp ogt double %92, 2.800000e+02 br i1 %93, label %94, label %98 94: ; preds = %91 %95 = load double, ptr %10, align 8 %96 = fcmp ole double %95, 3.200000e+02 br i1 %96, label %97, label %98 97: ; preds = %94 store i32 10, ptr %9, align 4 br label %110 98: ; preds = %94, %91 %99 = load double, ptr %10, align 8 %100 = fcmp ogt double %99, 3.200000e+02 br i1 %100, label %101, label %105 101: ; preds = %98 %102 = load double, ptr %10, align 8 %103 = fcmp ole double %102, 3.400000e+02 br i1 %103, label %104, label %105 104: ; preds = %101 store i32 11, ptr %9, align 4 br label %109 105: ; preds = %101, %98 %106 = call i32 @printf(ptr noundef @.str) %107 = load i32, ptr @EXIT_FAILURE, align 4 %108 = call i32 @exit(i32 noundef %107) #3 unreachable 109: ; preds = %104 br label %110 110: ; preds = %109, %97 br label %111 111: ; preds = %110, %90 br label %112 112: ; preds = %111, %83 br label %113 113: ; preds = %112, %76 br label %114 114: ; preds = %113, %69 br label %115 115: ; preds = %114, %62 br label %116 116: ; preds = %115, %55 br label %117 117: ; preds = %116, %48 br label %118 118: ; preds = %117, %41 br label %119 119: ; preds = %118, %34 br label %120 120: ; preds = %119, %27 %121 = load i32, ptr %9, align 4 ret i32 %121 } declare double @calculate_dihedral_angle(i32 noundef, i32 noundef, 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/tmprzr9h64n.c' source_filename = "/tmp/tmprzr9h64n.c" target datalayout = "e-m:e-p270: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/tmprzr9h64n.c" target datalayout = "e-m:e-p270: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/tmpxovhtinr.c' source_filename = "/tmp/tmpxovhtinr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(i32 noundef 3) %3 = icmp ne i32 %2, 3 br i1 %3, label %4, label %6 4: ; preds = %0 %5 = call i32 (...) @abort() #3 unreachable 6: ; preds = %0 ret i32 0 } declare i32 @foo(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxovhtinr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(i32 noundef 3) %3 = icmp ne i32 %2, 3 br i1 %3, label %4, label %6 4: ; preds = %0 %5 = call i32 (...) @abort() #3 unreachable 6: ; preds = %0 ret i32 0 } declare i32 @foo(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3pxnv4nh.c' source_filename = "/tmp/tmp3pxnv4nh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"Processing ZIP... %d/%d\0D\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"PK\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [30 x i8] c"Invalid zip file - aborting!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @progress_update(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 i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %7, align 4 %12 = call i32 @printf(ptr noundef @.str, i32 noundef %10, i32 noundef %11) %13 = load ptr, ptr %8, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %29 15: ; preds = %4 %16 = load i32, ptr %9, align 4 %17 = icmp ne i32 %16, 0 br i1 %17, label %18, label %29 18: ; preds = %15 %19 = load i32, ptr %6, align 4 %20 = icmp eq i32 %19, 32768 br i1 %20, label %21, label %29 21: ; preds = %18 %22 = load ptr, ptr %8, align 8 %23 = call i64 @strncmp(ptr noundef %22, ptr noundef @.str.1, i32 noundef 2) %24 = icmp ne i64 %23, 0 br i1 %24, label %25, label %28 25: ; preds = %21 %26 = load i32, ptr @stderr, align 4 %27 = call i32 @fprintf(i32 noundef %26, ptr noundef @.str.2) store i32 0, ptr %5, align 4 br label %30 28: ; preds = %21 br label %29 29: ; preds = %28, %18, %15, %4 store i32 1, ptr %5, align 4 br label %30 30: ; preds = %29, %25 %31 = load i32, ptr %5, align 4 ret i32 %31 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 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/tmp3pxnv4nh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"Processing ZIP... %d/%d\0D\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"PK\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [30 x i8] c"Invalid zip file - aborting!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @progress_update(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 i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %7, align 4 %12 = call i32 @printf(ptr noundef @.str, i32 noundef %10, i32 noundef %11) %13 = load ptr, ptr %8, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %29 15: ; preds = %4 %16 = load i32, ptr %9, align 4 %17 = icmp ne i32 %16, 0 br i1 %17, label %18, label %29 18: ; preds = %15 %19 = load i32, ptr %6, align 4 %20 = icmp eq i32 %19, 32768 br i1 %20, label %21, label %29 21: ; preds = %18 %22 = load ptr, ptr %8, align 8 %23 = call i64 @strncmp(ptr noundef %22, ptr noundef @.str.1, i32 noundef 2) %24 = icmp ne i64 %23, 0 br i1 %24, label %25, label %28 25: ; preds = %21 %26 = load i32, ptr @stderr, align 4 %27 = call i32 @fprintf(i32 noundef %26, ptr noundef @.str.2) store i32 0, ptr %5, align 4 br label %30 28: ; preds = %21 br label %29 29: ; preds = %28, %18, %15, %4 store i32 1, ptr %5, align 4 br label %30 30: ; preds = %29, %25 %31 = load i32, ptr %5, align 4 ret i32 %31 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 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/tmpn56ob7hh.c' source_filename = "/tmp/tmpn56ob7hh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hl_free_executable_memory(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @munmap(ptr noundef %5, i32 noundef %6) ret void } declare i32 @munmap(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/tmpn56ob7hh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hl_free_executable_memory(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @munmap(ptr noundef %5, i32 noundef %6) ret void } declare i32 @munmap(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/tmpzvana4py.c' source_filename = "/tmp/tmpzvana4py.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"/db/gargoyle_attack_detect.db\00", align 1 @SQLITE_OK = dso_local global i32 0, align 4 @LOG_INFO = dso_local global i32 0, align 4 @LOG_LOCAL6 = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [70 x i8] c"ERROR opening SQLite DB '%s' from function [sqlite_get_hosts_all]: %s\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"SELECT * FROM %s\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"hosts_table\00", align 1 @SQLITE_ROW = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [13 x i8] c"%d:%s:%d:%d>\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sqlite_get_hosts_all(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca [256 x i8], align 16 %9 = alloca [513 x i8], align 16 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %17 = load ptr, ptr %7, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %19, label %23 19: ; preds = %3 %20 = getelementptr inbounds [513 x i8], ptr %9, i64 0, i64 0 %21 = load ptr, ptr %7, align 8 %22 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %20, i32 noundef 512, ptr noundef @.str, ptr noundef %21) br label %33 23: ; preds = %3 %24 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %25 = call ptr @getcwd(ptr noundef %24, i32 noundef 256) %26 = icmp eq ptr %25, null br i1 %26, label %27, label %28 27: ; preds = %23 store i32 1, ptr %4, align 4 br label %125 28: ; preds = %23 %29 = getelementptr inbounds [513 x i8], ptr %9, i64 0, i64 0 %30 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %31 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %29, i32 noundef 512, ptr noundef @.str.1, ptr noundef %30, ptr noundef @.str.2) br label %32 32: ; preds = %28 br label %33 33: ; preds = %32, %19 %34 = call i64 @malloc(i32 noundef 5242880) %35 = inttoptr i64 %34 to ptr store ptr %35, ptr %13, align 8 %36 = call i64 @malloc(i32 noundef 60) %37 = inttoptr i64 %36 to ptr store ptr %37, ptr %14, align 8 %38 = call i64 @malloc(i32 noundef 512) %39 = inttoptr i64 %38 to ptr store ptr %39, ptr %15, align 8 %40 = getelementptr inbounds [513 x i8], ptr %9, i64 0, i64 0 %41 = call i32 @sqlite3_open(ptr noundef %40, ptr noundef %10) store i32 %41, ptr %12, align 4 %42 = load i32, ptr %12, align 4 %43 = load i32, ptr @SQLITE_OK, align 4 %44 = icmp ne i32 %42, %43 br i1 %44, label %45, label %59 45: ; preds = %33 %46 = load i32, ptr @LOG_INFO, align 4 %47 = load i32, ptr @LOG_LOCAL6, align 4 %48 = or i32 %46, %47 %49 = getelementptr inbounds [513 x i8], ptr %9, i64 0, i64 0 %50 = load ptr, ptr %10, align 8 %51 = call i32 @sqlite3_errmsg(ptr noundef %50) %52 = call i32 @syslog(i32 noundef %48, ptr noundef @.str.3, ptr noundef %49, i32 noundef %51) %53 = load ptr, ptr %14, align 8 %54 = call i32 @free(ptr noundef %53) %55 = load ptr, ptr %15, align 8 %56 = call i32 @free(ptr noundef %55) %57 = load ptr, ptr %13, align 8 %58 = call i32 @free(ptr noundef %57) store i32 1, ptr %4, align 4 br label %125 59: ; preds = %33 %60 = load ptr, ptr %15, align 8 %61 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %60, i32 noundef 512, ptr noundef @.str.4, ptr noundef @.str.5) %62 = load ptr, ptr %10, align 8 %63 = load ptr, ptr %15, align 8 %64 = load ptr, ptr %15, align 8 %65 = call i32 @strlen(ptr noundef %64) %66 = call i32 @sqlite3_prepare_v2(ptr noundef %62, ptr noundef %63, i32 noundef %65, ptr noundef %11, ptr noundef null) %67 = load ptr, ptr %13, align 8 store i8 0, ptr %67, align 1 br label %68 68: ; preds = %73, %59 %69 = load ptr, ptr %11, align 8 %70 = call i32 @sqlite3_step(ptr noundef %69) store i32 %70, ptr %12, align 4 %71 = load i32, ptr @SQLITE_ROW, align 4 %72 = icmp eq i32 %70, %71 br i1 %72, label %73, label %91 73: ; preds = %68 %74 = load ptr, ptr %14, align 8 %75 = load ptr, ptr %11, align 8 %76 = call i32 @sqlite3_column_int(ptr noundef %75, i32 noundef 0) %77 = load ptr, ptr %11, align 8 %78 = call ptr @sqlite3_column_text(ptr noundef %77, i32 noundef 1) %79 = load ptr, ptr %11, align 8 %80 = call i32 @sqlite3_column_int(ptr noundef %79, i32 noundef 2) %81 = load ptr, ptr %11, align 8 %82 = call i32 @sqlite3_column_int(ptr noundef %81, i32 noundef 3) %83 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %74, i32 noundef 60, ptr noundef @.str.6, i32 noundef %76, ptr noundef %78, i32 noundef %80, i32 noundef %82) %84 = load ptr, ptr %13, align 8 %85 = load ptr, ptr %14, align 8 %86 = load ptr, ptr %13, align 8 %87 = call i32 @strlen(ptr noundef %86) %88 = sub nsw i32 5242880, %87 %89 = sub nsw i32 %88, 1 %90 = call i32 @strncat(ptr noundef %84, ptr noundef %85, i32 noundef %89) br label %68, !llvm.loop !6 91: ; preds = %68 %92 = load ptr, ptr %13, align 8 %93 = call i32 @strlen(ptr noundef %92) %94 = sext i32 %93 to i64 store i64 %94, ptr %16, align 8 %95 = load ptr, ptr %13, align 8 %96 = load i64, ptr %16, align 8 %97 = getelementptr inbounds i8, ptr %95, i64 %96 store i8 0, ptr %97, align 1 %98 = load ptr, ptr %11, align 8 %99 = call i32 @sqlite3_finalize(ptr noundef %98) %100 = load ptr, ptr %10, align 8 %101 = call i32 @sqlite3_close(ptr noundef %100) %102 = load i64, ptr %16, align 8 %103 = add i64 %102, 1 %104 = load i64, ptr %6, align 8 %105 = icmp ugt i64 %103, %104 br i1 %105, label %106, label %113 106: ; preds = %91 %107 = load ptr, ptr %14, align 8 %108 = call i32 @free(ptr noundef %107) %109 = load ptr, ptr %15, align 8 %110 = call i32 @free(ptr noundef %109) %111 = load ptr, ptr %13, align 8 %112 = call i32 @free(ptr noundef %111) store i32 1, ptr %4, align 4 br label %125 113: ; preds = %91 %114 = load ptr, ptr %5, align 8 %115 = load ptr, ptr %13, align 8 %116 = load i64, ptr %16, align 8 %117 = add i64 %116, 1 %118 = call i32 @memcpy(ptr noundef %114, ptr noundef %115, i64 noundef %117) %119 = load ptr, ptr %14, align 8 %120 = call i32 @free(ptr noundef %119) %121 = load ptr, ptr %15, align 8 %122 = call i32 @free(ptr noundef %121) %123 = load ptr, ptr %13, align 8 %124 = call i32 @free(ptr noundef %123) store i32 0, ptr %4, align 4 br label %125 125: ; preds = %113, %106, %45, %27 %126 = load i32, ptr %4, align 4 ret i32 %126 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ...) #1 declare ptr @getcwd(ptr noundef, i32 noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @sqlite3_open(ptr noundef, ptr noundef) #1 declare i32 @syslog(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @sqlite3_errmsg(ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @sqlite3_prepare_v2(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @sqlite3_step(ptr noundef) #1 declare i32 @sqlite3_column_int(ptr noundef, i32 noundef) #1 declare ptr @sqlite3_column_text(ptr noundef, i32 noundef) #1 declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @sqlite3_finalize(ptr noundef) #1 declare i32 @sqlite3_close(ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzvana4py.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"/db/gargoyle_attack_detect.db\00", align 1 @SQLITE_OK = dso_local global i32 0, align 4 @LOG_INFO = dso_local global i32 0, align 4 @LOG_LOCAL6 = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [70 x i8] c"ERROR opening SQLite DB '%s' from function [sqlite_get_hosts_all]: %s\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"SELECT * FROM %s\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"hosts_table\00", align 1 @SQLITE_ROW = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [13 x i8] c"%d:%s:%d:%d>\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sqlite_get_hosts_all(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca [256 x i8], align 16 %9 = alloca [513 x i8], align 16 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %17 = load ptr, ptr %7, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %19, label %23 19: ; preds = %3 %20 = getelementptr inbounds [513 x i8], ptr %9, i64 0, i64 0 %21 = load ptr, ptr %7, align 8 %22 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %20, i32 noundef 512, ptr noundef @.str, ptr noundef %21) br label %33 23: ; preds = %3 %24 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %25 = call ptr @getcwd(ptr noundef %24, i32 noundef 256) %26 = icmp eq ptr %25, null br i1 %26, label %27, label %28 27: ; preds = %23 store i32 1, ptr %4, align 4 br label %128 28: ; preds = %23 %29 = getelementptr inbounds [513 x i8], ptr %9, i64 0, i64 0 %30 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %31 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %29, i32 noundef 512, ptr noundef @.str.1, ptr noundef %30, ptr noundef @.str.2) br label %32 32: ; preds = %28 br label %33 33: ; preds = %32, %19 %34 = call i64 @malloc(i32 noundef 5242880) %35 = inttoptr i64 %34 to ptr store ptr %35, ptr %13, align 8 %36 = call i64 @malloc(i32 noundef 60) %37 = inttoptr i64 %36 to ptr store ptr %37, ptr %14, align 8 %38 = call i64 @malloc(i32 noundef 512) %39 = inttoptr i64 %38 to ptr store ptr %39, ptr %15, align 8 %40 = getelementptr inbounds [513 x i8], ptr %9, i64 0, i64 0 %41 = call i32 @sqlite3_open(ptr noundef %40, ptr noundef %10) store i32 %41, ptr %12, align 4 %42 = load i32, ptr %12, align 4 %43 = load i32, ptr @SQLITE_OK, align 4 %44 = icmp ne i32 %42, %43 br i1 %44, label %45, label %59 45: ; preds = %33 %46 = load i32, ptr @LOG_INFO, align 4 %47 = load i32, ptr @LOG_LOCAL6, align 4 %48 = or i32 %46, %47 %49 = getelementptr inbounds [513 x i8], ptr %9, i64 0, i64 0 %50 = load ptr, ptr %10, align 8 %51 = call i32 @sqlite3_errmsg(ptr noundef %50) %52 = call i32 @syslog(i32 noundef %48, ptr noundef @.str.3, ptr noundef %49, i32 noundef %51) %53 = load ptr, ptr %14, align 8 %54 = call i32 @free(ptr noundef %53) %55 = load ptr, ptr %15, align 8 %56 = call i32 @free(ptr noundef %55) %57 = load ptr, ptr %13, align 8 %58 = call i32 @free(ptr noundef %57) store i32 1, ptr %4, align 4 br label %128 59: ; preds = %33 %60 = load ptr, ptr %15, align 8 %61 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %60, i32 noundef 512, ptr noundef @.str.4, ptr noundef @.str.5) %62 = load ptr, ptr %10, align 8 %63 = load ptr, ptr %15, align 8 %64 = load ptr, ptr %15, align 8 %65 = call i32 @strlen(ptr noundef %64) %66 = call i32 @sqlite3_prepare_v2(ptr noundef %62, ptr noundef %63, i32 noundef %65, ptr noundef %11, ptr noundef null) %67 = load ptr, ptr %13, align 8 store i8 0, ptr %67, align 1 %68 = load ptr, ptr %11, align 8 %69 = call i32 @sqlite3_step(ptr noundef %68) store i32 %69, ptr %12, align 4 %70 = load i32, ptr @SQLITE_ROW, align 4 %71 = icmp eq i32 %69, %70 br i1 %71, label %.lr.ph, label %94 .lr.ph: ; preds = %59 br label %72 72: ; preds = %.lr.ph, %72 %73 = load ptr, ptr %14, align 8 %74 = load ptr, ptr %11, align 8 %75 = call i32 @sqlite3_column_int(ptr noundef %74, i32 noundef 0) %76 = load ptr, ptr %11, align 8 %77 = call ptr @sqlite3_column_text(ptr noundef %76, i32 noundef 1) %78 = load ptr, ptr %11, align 8 %79 = call i32 @sqlite3_column_int(ptr noundef %78, i32 noundef 2) %80 = load ptr, ptr %11, align 8 %81 = call i32 @sqlite3_column_int(ptr noundef %80, i32 noundef 3) %82 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %73, i32 noundef 60, ptr noundef @.str.6, i32 noundef %75, ptr noundef %77, i32 noundef %79, i32 noundef %81) %83 = load ptr, ptr %13, align 8 %84 = load ptr, ptr %14, align 8 %85 = load ptr, ptr %13, align 8 %86 = call i32 @strlen(ptr noundef %85) %87 = sub nsw i32 5242880, %86 %88 = sub nsw i32 %87, 1 %89 = call i32 @strncat(ptr noundef %83, ptr noundef %84, i32 noundef %88) %90 = load ptr, ptr %11, align 8 %91 = call i32 @sqlite3_step(ptr noundef %90) store i32 %91, ptr %12, align 4 %92 = load i32, ptr @SQLITE_ROW, align 4 %93 = icmp eq i32 %91, %92 br i1 %93, label %72, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %72 br label %94 94: ; preds = %._crit_edge, %59 %95 = load ptr, ptr %13, align 8 %96 = call i32 @strlen(ptr noundef %95) %97 = sext i32 %96 to i64 store i64 %97, ptr %16, align 8 %98 = load ptr, ptr %13, align 8 %99 = load i64, ptr %16, align 8 %100 = getelementptr inbounds i8, ptr %98, i64 %99 store i8 0, ptr %100, align 1 %101 = load ptr, ptr %11, align 8 %102 = call i32 @sqlite3_finalize(ptr noundef %101) %103 = load ptr, ptr %10, align 8 %104 = call i32 @sqlite3_close(ptr noundef %103) %105 = load i64, ptr %16, align 8 %106 = add i64 %105, 1 %107 = load i64, ptr %6, align 8 %108 = icmp ugt i64 %106, %107 br i1 %108, label %109, label %116 109: ; preds = %94 %110 = load ptr, ptr %14, align 8 %111 = call i32 @free(ptr noundef %110) %112 = load ptr, ptr %15, align 8 %113 = call i32 @free(ptr noundef %112) %114 = load ptr, ptr %13, align 8 %115 = call i32 @free(ptr noundef %114) store i32 1, ptr %4, align 4 br label %128 116: ; preds = %94 %117 = load ptr, ptr %5, align 8 %118 = load ptr, ptr %13, align 8 %119 = load i64, ptr %16, align 8 %120 = add i64 %119, 1 %121 = call i32 @memcpy(ptr noundef %117, ptr noundef %118, i64 noundef %120) %122 = load ptr, ptr %14, align 8 %123 = call i32 @free(ptr noundef %122) %124 = load ptr, ptr %15, align 8 %125 = call i32 @free(ptr noundef %124) %126 = load ptr, ptr %13, align 8 %127 = call i32 @free(ptr noundef %126) store i32 0, ptr %4, align 4 br label %128 128: ; preds = %116, %109, %45, %27 %129 = load i32, ptr %4, align 4 ret i32 %129 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ...) #1 declare ptr @getcwd(ptr noundef, i32 noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @sqlite3_open(ptr noundef, ptr noundef) #1 declare i32 @syslog(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @sqlite3_errmsg(ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @sqlite3_prepare_v2(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @sqlite3_step(ptr noundef) #1 declare i32 @sqlite3_column_int(ptr noundef, i32 noundef) #1 declare ptr @sqlite3_column_text(ptr noundef, i32 noundef) #1 declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @sqlite3_finalize(ptr noundef) #1 declare i32 @sqlite3_close(ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp4anal9z_.c' source_filename = "/tmp/tmp4anal9z_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [6 x i8] c"dimm \00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"bad device: \00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"present: \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @show_dram_slots() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 80, ptr %1, align 4 br label %4 4: ; preds = %20, %0 %5 = load i32, ptr %1, align 4 %6 = icmp ule i32 %5, 87 br i1 %6, label %7, label %27 7: ; preds = %4 store i32 0, ptr %2, align 4 %8 = call i32 @print_debug(ptr noundef @.str) %9 = call i32 @print_debug(ptr noundef @.str.1) %10 = load i32, ptr %1, align 4 %11 = call i32 @print_debug_hex8(i32 noundef %10) %12 = load i32, ptr %1, align 4 %13 = call i32 @smbus_read_byte(i32 noundef %12, i32 noundef 0) store i32 %13, ptr %2, align 4 %14 = load i32, ptr %2, align 4 %15 = icmp slt i32 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %7 %17 = call i32 @print_debug(ptr noundef @.str.2) br label %20 18: ; preds = %7 %19 = call i32 @print_debug(ptr noundef @.str.3) br label %20 20: ; preds = %18, %16 %21 = load i32, ptr %2, align 4 %22 = call i32 @print_debug_hex8(i32 noundef %21) %23 = call i32 @print_debug(ptr noundef @.str) %24 = load i32, ptr %1, align 4 %25 = add i32 %24, 1 store i32 %25, ptr %1, align 4 %26 = call i32 @print_debug(ptr noundef @.str) br label %4, !llvm.loop !6 27: ; preds = %4 ret void } declare i32 @print_debug(ptr noundef) #1 declare i32 @print_debug_hex8(i32 noundef) #1 declare i32 @smbus_read_byte(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4anal9z_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [6 x i8] c"dimm \00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"bad device: \00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"present: \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @show_dram_slots() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 80, ptr %1, align 4 %4 = load i32, ptr %1, align 4 %5 = icmp ule i32 %4, 87 br i1 %5, label %.lr.ph, label %28 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %19 store i32 0, ptr %2, align 4 %7 = call i32 @print_debug(ptr noundef @.str) %8 = call i32 @print_debug(ptr noundef @.str.1) %9 = load i32, ptr %1, align 4 %10 = call i32 @print_debug_hex8(i32 noundef %9) %11 = load i32, ptr %1, align 4 %12 = call i32 @smbus_read_byte(i32 noundef %11, i32 noundef 0) store i32 %12, ptr %2, align 4 %13 = load i32, ptr %2, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %6 %16 = call i32 @print_debug(ptr noundef @.str.2) br label %19 17: ; preds = %6 %18 = call i32 @print_debug(ptr noundef @.str.3) br label %19 19: ; preds = %17, %15 %20 = load i32, ptr %2, align 4 %21 = call i32 @print_debug_hex8(i32 noundef %20) %22 = call i32 @print_debug(ptr noundef @.str) %23 = load i32, ptr %1, align 4 %24 = add i32 %23, 1 store i32 %24, ptr %1, align 4 %25 = call i32 @print_debug(ptr noundef @.str) %26 = load i32, ptr %1, align 4 %27 = icmp ule i32 %26, 87 br i1 %27, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %28 28: ; preds = %._crit_edge, %0 ret void } declare i32 @print_debug(ptr noundef) #1 declare i32 @print_debug_hex8(i32 noundef) #1 declare i32 @smbus_read_byte(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpjfkraeoi.c' source_filename = "/tmp/tmpjfkraeoi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"Disk %d Read Data\090\090\09KB/s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print24DiskRBlkInfo(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = getelementptr inbounds i8, ptr %4, i64 9 %6 = call i32 @sscanf(ptr noundef %5, ptr noundef @.str, ptr noundef %3) %7 = load i32, ptr %3, align 4 %8 = call i32 @output(ptr noundef @.str.1, i32 noundef %7) ret void } declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @output(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/tmpjfkraeoi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"Disk %d Read Data\090\090\09KB/s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print24DiskRBlkInfo(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = getelementptr inbounds i8, ptr %4, i64 9 %6 = call i32 @sscanf(ptr noundef %5, ptr noundef @.str, ptr noundef %3) %7 = load i32, ptr %3, align 4 %8 = call i32 @output(ptr noundef @.str.1, i32 noundef %7) ret void } declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @output(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/tmp8rvsrcrl.c' source_filename = "/tmp/tmp8rvsrcrl.c" target datalayout = "e-m:e-p270: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 @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/tmp8rvsrcrl.c" target datalayout = "e-m:e-p270: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 @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/tmpiderxu_4.c' source_filename = "/tmp/tmpiderxu_4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Parse error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ft_expect(i8 noundef signext %0) #0 { %2 = alloca i32, align 4 %3 = alloca i8, align 1 store i8 %0, ptr %3, align 1 %4 = load i8, ptr %3, align 1 %5 = sext i8 %4 to i32 %6 = icmp eq i32 %5, 42 br i1 %6, label %23, label %7 7: ; preds = %1 %8 = load i8, ptr %3, align 1 %9 = sext i8 %8 to i32 %10 = icmp eq i32 %9, 47 br i1 %10, label %23, label %11 11: ; preds = %7 %12 = load i8, ptr %3, align 1 %13 = sext i8 %12 to i32 %14 = icmp eq i32 %13, 37 br i1 %14, label %23, label %15 15: ; preds = %11 %16 = load i8, ptr %3, align 1 %17 = sext i8 %16 to i32 %18 = icmp eq i32 %17, 43 br i1 %18, label %23, label %19 19: ; preds = %15 %20 = load i8, ptr %3, align 1 %21 = sext i8 %20 to i32 %22 = icmp eq i32 %21, 45 br i1 %22, label %23, label %24 23: ; preds = %19, %15, %11, %7, %1 store i32 1, ptr %2, align 4 br label %38 24: ; preds = %19 %25 = load i8, ptr %3, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, 40 br i1 %27, label %35, label %28 28: ; preds = %24 %29 = load i8, ptr %3, align 1 %30 = sext i8 %29 to i32 %31 = icmp eq i32 %30, 41 br i1 %31, label %35, label %32 32: ; preds = %28 %33 = call i64 @ft_atoi(ptr noundef %3) %34 = icmp ne i64 %33, 0 br i1 %34, label %35, label %36 35: ; preds = %32, %28, %24 store i32 1, ptr %2, align 4 br label %38 36: ; preds = %32 %37 = call i32 @ft_putstr(ptr noundef @.str) store i32 0, ptr %2, align 4 br label %38 38: ; preds = %36, %35, %23 %39 = load i32, ptr %2, align 4 ret i32 %39 } declare i64 @ft_atoi(ptr noundef) #1 declare i32 @ft_putstr(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiderxu_4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Parse error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ft_expect(i8 noundef signext %0) #0 { %2 = alloca i32, align 4 %3 = alloca i8, align 1 store i8 %0, ptr %3, align 1 %4 = load i8, ptr %3, align 1 %5 = sext i8 %4 to i32 %6 = icmp eq i32 %5, 42 br i1 %6, label %23, label %7 7: ; preds = %1 %8 = load i8, ptr %3, align 1 %9 = sext i8 %8 to i32 %10 = icmp eq i32 %9, 47 br i1 %10, label %23, label %11 11: ; preds = %7 %12 = load i8, ptr %3, align 1 %13 = sext i8 %12 to i32 %14 = icmp eq i32 %13, 37 br i1 %14, label %23, label %15 15: ; preds = %11 %16 = load i8, ptr %3, align 1 %17 = sext i8 %16 to i32 %18 = icmp eq i32 %17, 43 br i1 %18, label %23, label %19 19: ; preds = %15 %20 = load i8, ptr %3, align 1 %21 = sext i8 %20 to i32 %22 = icmp eq i32 %21, 45 br i1 %22, label %23, label %24 23: ; preds = %19, %15, %11, %7, %1 store i32 1, ptr %2, align 4 br label %38 24: ; preds = %19 %25 = load i8, ptr %3, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, 40 br i1 %27, label %35, label %28 28: ; preds = %24 %29 = load i8, ptr %3, align 1 %30 = sext i8 %29 to i32 %31 = icmp eq i32 %30, 41 br i1 %31, label %35, label %32 32: ; preds = %28 %33 = call i64 @ft_atoi(ptr noundef %3) %34 = icmp ne i64 %33, 0 br i1 %34, label %35, label %36 35: ; preds = %32, %28, %24 store i32 1, ptr %2, align 4 br label %38 36: ; preds = %32 %37 = call i32 @ft_putstr(ptr noundef @.str) store i32 0, ptr %2, align 4 br label %38 38: ; preds = %36, %35, %23 %39 = load i32, ptr %2, align 4 ret i32 %39 } declare i64 @ft_atoi(ptr noundef) #1 declare i32 @ft_putstr(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmoa36utw.c' source_filename = "/tmp/tmpmoa36utw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"got signal %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sig_eater(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) %5 = load i32, ptr %2, align 4 %6 = call i32 @signal(i32 noundef %5, ptr noundef @sig_eater) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @signal(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/tmpmoa36utw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"got signal %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sig_eater(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) %5 = load i32, ptr %2, align 4 %6 = call i32 @signal(i32 noundef %5, ptr noundef @sig_eater) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @signal(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/tmpc6q10buw.c' source_filename = "/tmp/tmpc6q10buw.c" target datalayout = "e-m:e-p270: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/tmpc6q10buw.c" target datalayout = "e-m:e-p270: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/tmpcipa16wa.c' source_filename = "/tmp/tmpcipa16wa.c" target datalayout = "e-m:e-p270: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/tmpcipa16wa.c" target datalayout = "e-m:e-p270: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/tmpp0u50_c3.c' source_filename = "/tmp/tmpp0u50_c3.c" target datalayout = "e-m:e-p270: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/tmpp0u50_c3.c" target datalayout = "e-m:e-p270: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/tmpjzbd5krc.c' source_filename = "/tmp/tmpjzbd5krc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Game_Over() #0 { %1 = call i32 (...) @__gc_exit() %2 = call i32 @sleep(i32 noundef 1) %3 = call i32 (...) @endwin() %4 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @__gc_exit(...) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @endwin(...) #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/tmpjzbd5krc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Game_Over() #0 { %1 = call i32 (...) @__gc_exit() %2 = call i32 @sleep(i32 noundef 1) %3 = call i32 (...) @endwin() %4 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @__gc_exit(...) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @endwin(...) #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/tmpvsmel0fa.c' source_filename = "/tmp/tmpvsmel0fa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_dmatrix(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 store i64 %4, ptr %10, align 8 %11 = load ptr, ptr %6, align 8 %12 = load i64, ptr %7, align 8 %13 = getelementptr inbounds ptr, ptr %11, i64 %12 %14 = load ptr, ptr %13, align 8 %15 = load i64, ptr %9, align 8 %16 = getelementptr inbounds double, ptr %14, i64 %15 %17 = getelementptr inbounds double, ptr %16, i64 -1 %18 = call i32 @free(ptr noundef %17) %19 = load ptr, ptr %6, align 8 %20 = load i64, ptr %7, align 8 %21 = getelementptr inbounds ptr, ptr %19, i64 %20 %22 = getelementptr inbounds ptr, ptr %21, i64 -1 %23 = call i32 @free(ptr noundef %22) ret void } 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/tmpvsmel0fa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_dmatrix(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 store i64 %4, ptr %10, align 8 %11 = load ptr, ptr %6, align 8 %12 = load i64, ptr %7, align 8 %13 = getelementptr inbounds ptr, ptr %11, i64 %12 %14 = load ptr, ptr %13, align 8 %15 = load i64, ptr %9, align 8 %16 = getelementptr inbounds double, ptr %14, i64 %15 %17 = getelementptr inbounds double, ptr %16, i64 -1 %18 = call i32 @free(ptr noundef %17) %19 = load ptr, ptr %6, align 8 %20 = load i64, ptr %7, align 8 %21 = getelementptr inbounds ptr, ptr %19, i64 %20 %22 = getelementptr inbounds ptr, ptr %21, i64 -1 %23 = call i32 @free(ptr noundef %22) ret void } 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/tmpnbn08f91.c' source_filename = "/tmp/tmpnbn08f91.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"HTTP/1.1 404 Bad Request\0D\0A\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"Connection: close\0D\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"Content-Length: 17\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @message_404() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnbn08f91.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"HTTP/1.1 404 Bad Request\0D\0A\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"Connection: close\0D\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"Content-Length: 17\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @message_404() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxwtsnig_.c' source_filename = "/tmp/tmpxwtsnig_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test36_Blink3_pollen__reset__E() #0 { %1 = call i32 (...) @amaret_local_Mcu_reset__E() %2 = call i32 (...) @pollen_hardware_Led_off__E() ret void } declare i32 @amaret_local_Mcu_reset__E(...) #1 declare i32 @pollen_hardware_Led_off__E(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxwtsnig_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test36_Blink3_pollen__reset__E() #0 { %1 = call i32 (...) @amaret_local_Mcu_reset__E() %2 = call i32 (...) @pollen_hardware_Led_off__E() ret void } declare i32 @amaret_local_Mcu_reset__E(...) #1 declare i32 @pollen_hardware_Led_off__E(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpei9kbbom.c' source_filename = "/tmp/tmpei9kbbom.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @generate(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp sge i32 %5, 0 %7 = zext i1 %6 to i32 %8 = call i32 @assert(i32 noundef %7) %9 = load i32, ptr %2, align 4 %10 = icmp slt i32 %9, 16 %11 = zext i1 %10 to i32 %12 = call i32 @assert(i32 noundef %11) store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %13 13: ; preds = %30, %1 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %14, 4 br i1 %15, label %16, label %33 16: ; preds = %13 %17 = load i32, ptr %2, align 4 %18 = load i32, ptr %4, align 4 %19 = shl i32 1, %18 %20 = and i32 %17, %19 %21 = icmp ne i32 %20, 0 br i1 %21, label %22, label %29 22: ; preds = %16 %23 = load i32, ptr %4, align 4 %24 = mul nsw i32 8, %23 %25 = add nsw i32 %24, 7 %26 = shl i32 1, %25 %27 = load i32, ptr %3, align 4 %28 = or i32 %27, %26 store i32 %28, ptr %3, align 4 br label %29 29: ; preds = %22, %16 br label %30 30: ; preds = %29 %31 = load i32, ptr %4, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %4, align 4 br label %13, !llvm.loop !6 33: ; preds = %13 %34 = load i32, ptr %3, align 4 ret i32 %34 } 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/tmpei9kbbom.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @generate(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp sge i32 %5, 0 %7 = zext i1 %6 to i32 %8 = call i32 @assert(i32 noundef %7) %9 = load i32, ptr %2, align 4 %10 = icmp slt i32 %9, 16 %11 = zext i1 %10 to i32 %12 = call i32 @assert(i32 noundef %11) store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %13, 4 br i1 %14, label %.lr.ph, label %34 .lr.ph: ; preds = %1 br label %15 15: ; preds = %.lr.ph, %29 %16 = load i32, ptr %2, align 4 %17 = load i32, ptr %4, align 4 %18 = shl i32 1, %17 %19 = and i32 %16, %18 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %28 21: ; preds = %15 %22 = load i32, ptr %4, align 4 %23 = mul nsw i32 8, %22 %24 = add nsw i32 %23, 7 %25 = shl i32 1, %24 %26 = load i32, ptr %3, align 4 %27 = or i32 %26, %25 store i32 %27, ptr %3, align 4 br label %28 28: ; preds = %21, %15 br label %29 29: ; preds = %28 %30 = load i32, ptr %4, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %4, align 4 %32 = load i32, ptr %4, align 4 %33 = icmp slt i32 %32, 4 br i1 %33, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %34 34: ; preds = %._crit_edge, %1 %35 = load i32, ptr %3, align 4 ret i32 %35 } 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/tmp35c5jbec.c' source_filename = "/tmp/tmp35c5jbec.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @at_do_raycast_fov(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, double noundef %4, i32 noundef %5, i32 noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca double, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store ptr %0, ptr %8, align 8 store ptr %1, ptr %9, align 8 store i64 %2, ptr %10, align 8 store i64 %3, ptr %11, align 8 store double %4, ptr %12, align 8 store i32 %5, ptr %13, align 4 store i32 %6, ptr %14, align 4 %16 = load i32, ptr %13, align 4 %17 = sitofp i32 %16 to double %18 = load double, ptr %12, align 8 %19 = fsub double %17, %18 %20 = fptosi double %19 to i32 store i32 %20, ptr %15, align 4 br label %21 21: ; preds = %44, %7 %22 = load i32, ptr %15, align 4 %23 = sitofp i32 %22 to double %24 = load i32, ptr %13, align 4 %25 = sitofp i32 %24 to double %26 = load double, ptr %12, align 8 %27 = fadd double %25, %26 %28 = fcmp ole double %23, %27 br i1 %28, label %29, label %47 29: ; preds = %21 %30 = load ptr, ptr %8, align 8 %31 = load ptr, ptr %9, align 8 %32 = load i64, ptr %10, align 8 %33 = load i64, ptr %11, align 8 %34 = load double, ptr %12, align 8 %35 = load i32, ptr %13, align 4 %36 = load i32, ptr %14, align 4 %37 = load i32, ptr %15, align 4 %38 = load i32, ptr %14, align 4 %39 = sitofp i32 %38 to double %40 = load double, ptr %12, align 8 %41 = fsub double %39, %40 %42 = fptosi double %41 to i32 %43 = call i32 @ray(ptr noundef %30, ptr noundef %31, i64 noundef %32, i64 noundef %33, double noundef %34, i32 noundef %35, i32 noundef %36, i32 noundef %37, i32 noundef %42) br label %44 44: ; preds = %29 %45 = load i32, ptr %15, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %15, align 4 br label %21, !llvm.loop !6 47: ; preds = %21 %48 = load i32, ptr %13, align 4 %49 = sitofp i32 %48 to double %50 = load double, ptr %12, align 8 %51 = fsub double %49, %50 %52 = fptosi double %51 to i32 store i32 %52, ptr %15, align 4 br label %53 53: ; preds = %76, %47 %54 = load i32, ptr %15, align 4 %55 = sitofp i32 %54 to double %56 = load i32, ptr %13, align 4 %57 = sitofp i32 %56 to double %58 = load double, ptr %12, align 8 %59 = fadd double %57, %58 %60 = fcmp ole double %55, %59 br i1 %60, label %61, label %79 61: ; preds = %53 %62 = load ptr, ptr %8, align 8 %63 = load ptr, ptr %9, align 8 %64 = load i64, ptr %10, align 8 %65 = load i64, ptr %11, align 8 %66 = load double, ptr %12, align 8 %67 = load i32, ptr %13, align 4 %68 = load i32, ptr %14, align 4 %69 = load i32, ptr %15, align 4 %70 = load i32, ptr %14, align 4 %71 = sitofp i32 %70 to double %72 = load double, ptr %12, align 8 %73 = fadd double %71, %72 %74 = fptosi double %73 to i32 %75 = call i32 @ray(ptr noundef %62, ptr noundef %63, i64 noundef %64, i64 noundef %65, double noundef %66, i32 noundef %67, i32 noundef %68, i32 noundef %69, i32 noundef %74) br label %76 76: ; preds = %61 %77 = load i32, ptr %15, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %15, align 4 br label %53, !llvm.loop !8 79: ; preds = %53 %80 = load i32, ptr %14, align 4 %81 = sitofp i32 %80 to double %82 = load double, ptr %12, align 8 %83 = fsub double %81, %82 %84 = fptosi double %83 to i32 store i32 %84, ptr %15, align 4 br label %85 85: ; preds = %108, %79 %86 = load i32, ptr %15, align 4 %87 = sitofp i32 %86 to double %88 = load i32, ptr %14, align 4 %89 = sitofp i32 %88 to double %90 = load double, ptr %12, align 8 %91 = fadd double %89, %90 %92 = fcmp ole double %87, %91 br i1 %92, label %93, label %111 93: ; preds = %85 %94 = load ptr, ptr %8, align 8 %95 = load ptr, ptr %9, align 8 %96 = load i64, ptr %10, align 8 %97 = load i64, ptr %11, align 8 %98 = load double, ptr %12, align 8 %99 = load i32, ptr %13, align 4 %100 = load i32, ptr %14, align 4 %101 = load i32, ptr %13, align 4 %102 = sitofp i32 %101 to double %103 = load double, ptr %12, align 8 %104 = fsub double %102, %103 %105 = fptosi double %104 to i32 %106 = load i32, ptr %15, align 4 %107 = call i32 @ray(ptr noundef %94, ptr noundef %95, i64 noundef %96, i64 noundef %97, double noundef %98, i32 noundef %99, i32 noundef %100, i32 noundef %105, i32 noundef %106) br label %108 108: ; preds = %93 %109 = load i32, ptr %15, align 4 %110 = add nsw i32 %109, 1 store i32 %110, ptr %15, align 4 br label %85, !llvm.loop !9 111: ; preds = %85 %112 = load i32, ptr %14, align 4 %113 = sitofp i32 %112 to double %114 = load double, ptr %12, align 8 %115 = fsub double %113, %114 %116 = fptosi double %115 to i32 store i32 %116, ptr %15, align 4 br label %117 117: ; preds = %140, %111 %118 = load i32, ptr %15, align 4 %119 = sitofp i32 %118 to double %120 = load i32, ptr %14, align 4 %121 = sitofp i32 %120 to double %122 = load double, ptr %12, align 8 %123 = fadd double %121, %122 %124 = fcmp ole double %119, %123 br i1 %124, label %125, label %143 125: ; preds = %117 %126 = load ptr, ptr %8, align 8 %127 = load ptr, ptr %9, align 8 %128 = load i64, ptr %10, align 8 %129 = load i64, ptr %11, align 8 %130 = load double, ptr %12, align 8 %131 = load i32, ptr %13, align 4 %132 = load i32, ptr %14, align 4 %133 = load i32, ptr %13, align 4 %134 = sitofp i32 %133 to double %135 = load double, ptr %12, align 8 %136 = fadd double %134, %135 %137 = fptosi double %136 to i32 %138 = load i32, ptr %15, align 4 %139 = call i32 @ray(ptr noundef %126, ptr noundef %127, i64 noundef %128, i64 noundef %129, double noundef %130, i32 noundef %131, i32 noundef %132, i32 noundef %137, i32 noundef %138) br label %140 140: ; preds = %125 %141 = load i32, ptr %15, align 4 %142 = add nsw i32 %141, 1 store i32 %142, ptr %15, align 4 br label %117, !llvm.loop !10 143: ; preds = %117 ret void } declare i32 @ray(ptr noundef, ptr noundef, i64 noundef, i64 noundef, double noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !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/tmp35c5jbec.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @at_do_raycast_fov(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, double noundef %4, i32 noundef %5, i32 noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca double, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store ptr %0, ptr %8, align 8 store ptr %1, ptr %9, align 8 store i64 %2, ptr %10, align 8 store i64 %3, ptr %11, align 8 store double %4, ptr %12, align 8 store i32 %5, ptr %13, align 4 store i32 %6, ptr %14, align 4 %16 = load i32, ptr %13, align 4 %17 = sitofp i32 %16 to double %18 = load double, ptr %12, align 8 %19 = fsub double %17, %18 %20 = fptosi double %19 to i32 store i32 %20, ptr %15, align 4 %21 = load i32, ptr %15, align 4 %22 = sitofp i32 %21 to double %23 = load i32, ptr %13, align 4 %24 = sitofp i32 %23 to double %25 = load double, ptr %12, align 8 %26 = fadd double %24, %25 %27 = fcmp ole double %22, %26 br i1 %27, label %.lr.ph, label %53 .lr.ph: ; preds = %7 br label %28 28: ; preds = %.lr.ph, %43 %29 = load ptr, ptr %8, align 8 %30 = load ptr, ptr %9, align 8 %31 = load i64, ptr %10, align 8 %32 = load i64, ptr %11, align 8 %33 = load double, ptr %12, align 8 %34 = load i32, ptr %13, align 4 %35 = load i32, ptr %14, align 4 %36 = load i32, ptr %15, align 4 %37 = load i32, ptr %14, align 4 %38 = sitofp i32 %37 to double %39 = load double, ptr %12, align 8 %40 = fsub double %38, %39 %41 = fptosi double %40 to i32 %42 = call i32 @ray(ptr noundef %29, ptr noundef %30, i64 noundef %31, i64 noundef %32, double noundef %33, i32 noundef %34, i32 noundef %35, i32 noundef %36, i32 noundef %41) br label %43 43: ; preds = %28 %44 = load i32, ptr %15, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %15, align 4 %46 = load i32, ptr %15, align 4 %47 = sitofp i32 %46 to double %48 = load i32, ptr %13, align 4 %49 = sitofp i32 %48 to double %50 = load double, ptr %12, align 8 %51 = fadd double %49, %50 %52 = fcmp ole double %47, %51 br i1 %52, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %43 br label %53 53: ; preds = %._crit_edge, %7 %54 = load i32, ptr %13, align 4 %55 = sitofp i32 %54 to double %56 = load double, ptr %12, align 8 %57 = fsub double %55, %56 %58 = fptosi double %57 to i32 store i32 %58, ptr %15, align 4 %59 = load i32, ptr %15, align 4 %60 = sitofp i32 %59 to double %61 = load i32, ptr %13, align 4 %62 = sitofp i32 %61 to double %63 = load double, ptr %12, align 8 %64 = fadd double %62, %63 %65 = fcmp ole double %60, %64 br i1 %65, label %.lr.ph2, label %91 .lr.ph2: ; preds = %53 br label %66 66: ; preds = %.lr.ph2, %81 %67 = load ptr, ptr %8, align 8 %68 = load ptr, ptr %9, align 8 %69 = load i64, ptr %10, align 8 %70 = load i64, ptr %11, align 8 %71 = load double, ptr %12, align 8 %72 = load i32, ptr %13, align 4 %73 = load i32, ptr %14, align 4 %74 = load i32, ptr %15, align 4 %75 = load i32, ptr %14, align 4 %76 = sitofp i32 %75 to double %77 = load double, ptr %12, align 8 %78 = fadd double %76, %77 %79 = fptosi double %78 to i32 %80 = call i32 @ray(ptr noundef %67, ptr noundef %68, i64 noundef %69, i64 noundef %70, double noundef %71, i32 noundef %72, i32 noundef %73, i32 noundef %74, i32 noundef %79) br label %81 81: ; preds = %66 %82 = load i32, ptr %15, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %15, align 4 %84 = load i32, ptr %15, align 4 %85 = sitofp i32 %84 to double %86 = load i32, ptr %13, align 4 %87 = sitofp i32 %86 to double %88 = load double, ptr %12, align 8 %89 = fadd double %87, %88 %90 = fcmp ole double %85, %89 br i1 %90, label %66, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %81 br label %91 91: ; preds = %._crit_edge3, %53 %92 = load i32, ptr %14, align 4 %93 = sitofp i32 %92 to double %94 = load double, ptr %12, align 8 %95 = fsub double %93, %94 %96 = fptosi double %95 to i32 store i32 %96, ptr %15, align 4 %97 = load i32, ptr %15, align 4 %98 = sitofp i32 %97 to double %99 = load i32, ptr %14, align 4 %100 = sitofp i32 %99 to double %101 = load double, ptr %12, align 8 %102 = fadd double %100, %101 %103 = fcmp ole double %98, %102 br i1 %103, label %.lr.ph5, label %129 .lr.ph5: ; preds = %91 br label %104 104: ; preds = %.lr.ph5, %119 %105 = load ptr, ptr %8, align 8 %106 = load ptr, ptr %9, align 8 %107 = load i64, ptr %10, align 8 %108 = load i64, ptr %11, align 8 %109 = load double, ptr %12, align 8 %110 = load i32, ptr %13, align 4 %111 = load i32, ptr %14, align 4 %112 = load i32, ptr %13, align 4 %113 = sitofp i32 %112 to double %114 = load double, ptr %12, align 8 %115 = fsub double %113, %114 %116 = fptosi double %115 to i32 %117 = load i32, ptr %15, align 4 %118 = call i32 @ray(ptr noundef %105, ptr noundef %106, i64 noundef %107, i64 noundef %108, double noundef %109, i32 noundef %110, i32 noundef %111, i32 noundef %116, i32 noundef %117) br label %119 119: ; preds = %104 %120 = load i32, ptr %15, align 4 %121 = add nsw i32 %120, 1 store i32 %121, ptr %15, align 4 %122 = load i32, ptr %15, align 4 %123 = sitofp i32 %122 to double %124 = load i32, ptr %14, align 4 %125 = sitofp i32 %124 to double %126 = load double, ptr %12, align 8 %127 = fadd double %125, %126 %128 = fcmp ole double %123, %127 br i1 %128, label %104, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %119 br label %129 129: ; preds = %._crit_edge6, %91 %130 = load i32, ptr %14, align 4 %131 = sitofp i32 %130 to double %132 = load double, ptr %12, align 8 %133 = fsub double %131, %132 %134 = fptosi double %133 to i32 store i32 %134, ptr %15, align 4 %135 = load i32, ptr %15, align 4 %136 = sitofp i32 %135 to double %137 = load i32, ptr %14, align 4 %138 = sitofp i32 %137 to double %139 = load double, ptr %12, align 8 %140 = fadd double %138, %139 %141 = fcmp ole double %136, %140 br i1 %141, label %.lr.ph8, label %167 .lr.ph8: ; preds = %129 br label %142 142: ; preds = %.lr.ph8, %157 %143 = load ptr, ptr %8, align 8 %144 = load ptr, ptr %9, align 8 %145 = load i64, ptr %10, align 8 %146 = load i64, ptr %11, align 8 %147 = load double, ptr %12, align 8 %148 = load i32, ptr %13, align 4 %149 = load i32, ptr %14, align 4 %150 = load i32, ptr %13, align 4 %151 = sitofp i32 %150 to double %152 = load double, ptr %12, align 8 %153 = fadd double %151, %152 %154 = fptosi double %153 to i32 %155 = load i32, ptr %15, align 4 %156 = call i32 @ray(ptr noundef %143, ptr noundef %144, i64 noundef %145, i64 noundef %146, double noundef %147, i32 noundef %148, i32 noundef %149, i32 noundef %154, i32 noundef %155) br label %157 157: ; preds = %142 %158 = load i32, ptr %15, align 4 %159 = add nsw i32 %158, 1 store i32 %159, ptr %15, align 4 %160 = load i32, ptr %15, align 4 %161 = sitofp i32 %160 to double %162 = load i32, ptr %14, align 4 %163 = sitofp i32 %162 to double %164 = load double, ptr %12, align 8 %165 = fadd double %163, %164 %166 = fcmp ole double %161, %165 br i1 %166, label %142, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %157 br label %167 167: ; preds = %._crit_edge9, %129 ret void } declare i32 @ray(ptr noundef, ptr noundef, i64 noundef, i64 noundef, double noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpyxrnfncq.c' source_filename = "/tmp/tmpyxrnfncq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @get_XEvent_xproperty_window(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i32 0, i32 0 %5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0 %6 = load i64, ptr %5, align 8 ret i64 %6 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyxrnfncq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @get_XEvent_xproperty_window(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i32 0, i32 0 %5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0 %6 = load i64, ptr %5, align 8 ret i64 %6 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpd61z3e21.c' source_filename = "/tmp/tmpd61z3e21.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEEK_SET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @rd_lseek_file(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr @SEEK_SET, align 4 %8 = call i32 @lseek(i32 noundef %5, i32 noundef %6, i32 noundef %7) ret i32 %8 } declare i32 @lseek(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/tmpd61z3e21.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEEK_SET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @rd_lseek_file(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr @SEEK_SET, align 4 %8 = call i32 @lseek(i32 noundef %5, i32 noundef %6, i32 noundef %7) ret i32 %8 } declare i32 @lseek(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/tmp43ep44lb.c' source_filename = "/tmp/tmp43ep44lb.c" target datalayout = "e-m:e-p270: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_FILENO = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"wxyz\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [48 x i8] c"w\0Awx\0Awxy\0Awxyz\0Awxz\0Awy\0Awyz\0Awz\0Ax\0Axy\0Axyz\0Axz\0Ay\0Ayz\0Az\0A\00", align 1 @.str.2 = private unnamed_addr constant [36 x i8] c"error, buffer %s not equal to '%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 [101 x i8], align 16 %4 = alloca [2 x i32], align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 101, i1 false) %7 = load i32, ptr @STDOUT_FILENO, align 4 %8 = call i32 @dup(i32 noundef %7) store i32 %8, ptr %5, align 4 %9 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0 %10 = call i64 @pipe(ptr noundef %9) %11 = icmp ne i64 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %0 store i32 -1, ptr %1, align 4 br label %41 13: ; preds = %0 %14 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 1 %15 = load i32, ptr %14, align 4 %16 = load i32, ptr @STDOUT_FILENO, align 4 %17 = call i32 @dup2(i32 noundef %15, i32 noundef %16) %18 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 1 %19 = load i32, ptr %18, align 4 %20 = call i32 @close(i32 noundef %19) %21 = call i32 @combine_letters(ptr noundef @.str, i32 noundef 4) %22 = load i32, ptr @stdout, align 4 %23 = call i32 @fflush(i32 noundef %22) store ptr @.str.1, ptr %6, align 8 %24 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0 %25 = load i32, ptr %24, align 4 %26 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 0 %27 = call i32 @read(i32 noundef %25, ptr noundef %26, i32 noundef 100) %28 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 0 %29 = load ptr, ptr %6, align 8 %30 = call i64 @strcmp(ptr noundef %28, ptr noundef %29) %31 = icmp ne i64 %30, 0 br i1 %31, label %32, label %36 32: ; preds = %13 store i32 -1, ptr %2, align 4 %33 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 0 %34 = load ptr, ptr %6, align 8 %35 = call i32 @printf(ptr noundef @.str.2, ptr noundef %33, ptr noundef %34) br label %36 36: ; preds = %32, %13 %37 = load i32, ptr %5, align 4 %38 = load i32, ptr @STDOUT_FILENO, align 4 %39 = call i32 @dup2(i32 noundef %37, i32 noundef %38) %40 = load i32, ptr %2, align 4 store i32 %40, ptr %1, align 4 br label %41 41: ; preds = %36, %12 %42 = load i32, ptr %1, align 4 ret i32 %42 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @dup(i32 noundef) #2 declare i64 @pipe(ptr noundef) #2 declare i32 @dup2(i32 noundef, i32 noundef) #2 declare i32 @close(i32 noundef) #2 declare i32 @combine_letters(ptr noundef, i32 noundef) #2 declare i32 @fflush(i32 noundef) #2 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2 declare i64 @strcmp(ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp43ep44lb.c" target datalayout = "e-m:e-p270: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_FILENO = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"wxyz\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [48 x i8] c"w\0Awx\0Awxy\0Awxyz\0Awxz\0Awy\0Awyz\0Awz\0Ax\0Axy\0Axyz\0Axz\0Ay\0Ayz\0Az\0A\00", align 1 @.str.2 = private unnamed_addr constant [36 x i8] c"error, buffer %s not equal to '%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 [101 x i8], align 16 %4 = alloca [2 x i32], align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 101, i1 false) %7 = load i32, ptr @STDOUT_FILENO, align 4 %8 = call i32 @dup(i32 noundef %7) store i32 %8, ptr %5, align 4 %9 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0 %10 = call i64 @pipe(ptr noundef %9) %11 = icmp ne i64 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %0 store i32 -1, ptr %1, align 4 br label %41 13: ; preds = %0 %14 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 1 %15 = load i32, ptr %14, align 4 %16 = load i32, ptr @STDOUT_FILENO, align 4 %17 = call i32 @dup2(i32 noundef %15, i32 noundef %16) %18 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 1 %19 = load i32, ptr %18, align 4 %20 = call i32 @close(i32 noundef %19) %21 = call i32 @combine_letters(ptr noundef @.str, i32 noundef 4) %22 = load i32, ptr @stdout, align 4 %23 = call i32 @fflush(i32 noundef %22) store ptr @.str.1, ptr %6, align 8 %24 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0 %25 = load i32, ptr %24, align 4 %26 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 0 %27 = call i32 @read(i32 noundef %25, ptr noundef %26, i32 noundef 100) %28 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 0 %29 = load ptr, ptr %6, align 8 %30 = call i64 @strcmp(ptr noundef %28, ptr noundef %29) %31 = icmp ne i64 %30, 0 br i1 %31, label %32, label %36 32: ; preds = %13 store i32 -1, ptr %2, align 4 %33 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 0 %34 = load ptr, ptr %6, align 8 %35 = call i32 @printf(ptr noundef @.str.2, ptr noundef %33, ptr noundef %34) br label %36 36: ; preds = %32, %13 %37 = load i32, ptr %5, align 4 %38 = load i32, ptr @STDOUT_FILENO, align 4 %39 = call i32 @dup2(i32 noundef %37, i32 noundef %38) %40 = load i32, ptr %2, align 4 store i32 %40, ptr %1, align 4 br label %41 41: ; preds = %36, %12 %42 = load i32, ptr %1, align 4 ret i32 %42 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @dup(i32 noundef) #2 declare i64 @pipe(ptr noundef) #2 declare i32 @dup2(i32 noundef, i32 noundef) #2 declare i32 @close(i32 noundef) #2 declare i32 @combine_letters(ptr noundef, i32 noundef) #2 declare i32 @fflush(i32 noundef) #2 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2 declare i64 @strcmp(ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2yzv8ch6.c' source_filename = "/tmp/tmp2yzv8ch6.c" target datalayout = "e-m:e-p270: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.option = type { ptr, i32, i32, i32 } @optind = dso_local global i32 0, align 4 @main.long_options = internal global [12 x %struct.option] [%struct.option { ptr @.str, i32 128, i32 0, i32 0 }, %struct.option { ptr @.str.1, i32 129, i32 0, i32 0 }, %struct.option { ptr @.str.2, i32 129, i32 0, i32 0 }, %struct.option { ptr @.str.3, i32 129, i32 0, i32 0 }, %struct.option { ptr @.str.4, i32 129, i32 0, i32 0 }, %struct.option { ptr @.str.5, i32 129, i32 0, i32 0 }, %struct.option { ptr @.str.6, i32 129, i32 0, i32 0 }, %struct.option { ptr @.str.7, i32 129, i32 0, i32 0 }, %struct.option { ptr @.str.8, i32 129, i32 0, i32 0 }, %struct.option { ptr @.str.9, i32 129, i32 0, i32 0 }, %struct.option { ptr @.str.10, i32 129, i32 0, i32 0 }, %struct.option zeroinitializer], align 16 @.str = private unnamed_addr constant [7 x i8] c"stress\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"sse3\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"ssse3\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"sse4\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"sse4a\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"avx\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"aes\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"pclmul\00", align 1 @.str.8 = private unnamed_addr constant [7 x i8] c"rdrand\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"fma4\00", align 1 @.str.10 = private unnamed_addr constant [4 x i8] c"xop\00", align 1 @.str.11 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @optarg = dso_local global i32 0, align 4 @.str.12 = private unnamed_addr constant [42 x i8] c"?? getopt returned character code 0%o ??\0A\00", align 1 @.str.13 = private unnamed_addr constant [15 x i8] c"%d test fail.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 br label %12 12: ; preds = %2, %85 %13 = load i32, ptr @optind, align 4 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %12 %16 = load i32, ptr @optind, align 4 br label %18 17: ; preds = %12 br label %18 18: ; preds = %17, %15 %19 = phi i32 [ %16, %15 ], [ 1, %17 ] store i32 %19, ptr %10, align 4 store i32 0, ptr %11, align 4 %20 = load i32, ptr %4, align 4 %21 = load ptr, ptr %5, align 8 %22 = call i32 @getopt_long(i32 noundef %20, ptr noundef %21, ptr noundef @.str.11, ptr noundef @main.long_options, ptr noundef %11) store i32 %22, ptr %6, align 4 %23 = load i32, ptr %6, align 4 %24 = icmp eq i32 %23, -1 br i1 %24, label %25, label %31 25: ; preds = %18 %26 = load i32, ptr %8, align 4 %27 = icmp ne i32 %26, 0 br i1 %27, label %30, label %28 28: ; preds = %25 %29 = call i32 (...) @print_help() br label %30 30: ; preds = %28, %25 br label %88 31: ; preds = %18 %32 = load i32, ptr %6, align 4 switch i32 %32, label %82 [ i32 0, label %33 i32 63, label %80 ] 33: ; preds = %31 %34 = load i32, ptr %11, align 4 switch i32 %34, label %79 [ i32 0, label %35 i32 1, label %39 i32 2, label %43 i32 3, label %47 i32 4, label %51 i32 5, label %55 i32 6, label %59 i32 7, label %63 i32 8, label %67 i32 9, label %71 i32 10, label %75 ] 35: ; preds = %33 %36 = load i32, ptr @optarg, align 4 %37 = call i32 @parse_Inst(i32 noundef %36) %38 = call i32 @stress(i32 noundef %37) br label %79 39: ; preds = %33 %40 = call i32 (...) @sse3() %41 = load i32, ptr %9, align 4 %42 = add nsw i32 %41, %40 store i32 %42, ptr %9, align 4 br label %79 43: ; preds = %33 %44 = call i32 (...) @ssse3() %45 = load i32, ptr %9, align 4 %46 = add nsw i32 %45, %44 store i32 %46, ptr %9, align 4 br label %79 47: ; preds = %33 %48 = call i32 (...) @sse4() %49 = load i32, ptr %9, align 4 %50 = add nsw i32 %49, %48 store i32 %50, ptr %9, align 4 br label %79 51: ; preds = %33 %52 = call i32 (...) @sse4a() %53 = load i32, ptr %9, align 4 %54 = add nsw i32 %53, %52 store i32 %54, ptr %9, align 4 br label %79 55: ; preds = %33 %56 = call i32 (...) @avx() %57 = load i32, ptr %9, align 4 %58 = add nsw i32 %57, %56 store i32 %58, ptr %9, align 4 br label %79 59: ; preds = %33 %60 = call i32 (...) @aes() %61 = load i32, ptr %9, align 4 %62 = add nsw i32 %61, %60 store i32 %62, ptr %9, align 4 br label %79 63: ; preds = %33 %64 = call i32 (...) @pclmul() %65 = load i32, ptr %9, align 4 %66 = add nsw i32 %65, %64 store i32 %66, ptr %9, align 4 br label %79 67: ; preds = %33 %68 = call i32 (...) @rdrand() %69 = load i32, ptr %9, align 4 %70 = add nsw i32 %69, %68 store i32 %70, ptr %9, align 4 br label %79 71: ; preds = %33 %72 = call i32 (...) @fma4() %73 = load i32, ptr %9, align 4 %74 = add nsw i32 %73, %72 store i32 %74, ptr %9, align 4 br label %79 75: ; preds = %33 %76 = call i32 (...) @xop() %77 = load i32, ptr %9, align 4 %78 = add nsw i32 %77, %76 store i32 %78, ptr %9, align 4 br label %79 79: ; preds = %33, %75, %71, %67, %63, %59, %55, %51, %47, %43, %39, %35 br label %85 80: ; preds = %31 %81 = call i32 (...) @print_help() br label %85 82: ; preds = %31 %83 = load i32, ptr %6, align 4 %84 = call i32 @printf(ptr noundef @.str.12, i32 noundef %83) br label %85 85: ; preds = %82, %80, %79 %86 = load i32, ptr %8, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %8, align 4 br label %12 88: ; preds = %30 %89 = load i32, ptr %9, align 4 %90 = icmp sgt i32 %89, 0 br i1 %90, label %91, label %95 91: ; preds = %88 %92 = load i32, ptr %9, align 4 %93 = call i32 @printf(ptr noundef @.str.13, i32 noundef %92) %94 = call i32 @exit(i32 noundef -1) #3 unreachable 95: ; preds = %88 %96 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @getopt_long(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @print_help(...) #1 declare i32 @stress(i32 noundef) #1 declare i32 @parse_Inst(i32 noundef) #1 declare i32 @sse3(...) #1 declare i32 @ssse3(...) #1 declare i32 @sse4(...) #1 declare i32 @sse4a(...) #1 declare i32 @avx(...) #1 declare i32 @aes(...) #1 declare i32 @pclmul(...) #1 declare i32 @rdrand(...) #1 declare i32 @fma4(...) #1 declare i32 @xop(...) #1 declare i32 @printf(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/tmp2yzv8ch6.c" target datalayout = "e-m:e-p270: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.option = type { ptr, i32, i32, i32 } @optind = dso_local global i32 0, align 4 @main.long_options = internal global [12 x %struct.option] [%struct.option { ptr @.str, i32 128, i32 0, i32 0 }, %struct.option { ptr @.str.1, i32 129, i32 0, i32 0 }, %struct.option { ptr @.str.2, i32 129, i32 0, i32 0 }, %struct.option { ptr @.str.3, i32 129, i32 0, i32 0 }, %struct.option { ptr @.str.4, i32 129, i32 0, i32 0 }, %struct.option { ptr @.str.5, i32 129, i32 0, i32 0 }, %struct.option { ptr @.str.6, i32 129, i32 0, i32 0 }, %struct.option { ptr @.str.7, i32 129, i32 0, i32 0 }, %struct.option { ptr @.str.8, i32 129, i32 0, i32 0 }, %struct.option { ptr @.str.9, i32 129, i32 0, i32 0 }, %struct.option { ptr @.str.10, i32 129, i32 0, i32 0 }, %struct.option zeroinitializer], align 16 @.str = private unnamed_addr constant [7 x i8] c"stress\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"sse3\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"ssse3\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"sse4\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"sse4a\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"avx\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"aes\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"pclmul\00", align 1 @.str.8 = private unnamed_addr constant [7 x i8] c"rdrand\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"fma4\00", align 1 @.str.10 = private unnamed_addr constant [4 x i8] c"xop\00", align 1 @.str.11 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @optarg = dso_local global i32 0, align 4 @.str.12 = private unnamed_addr constant [42 x i8] c"?? getopt returned character code 0%o ??\0A\00", align 1 @.str.13 = private unnamed_addr constant [15 x i8] c"%d test fail.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 br label %12 12: ; preds = %85, %2 %13 = load i32, ptr @optind, align 4 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %12 %16 = load i32, ptr @optind, align 4 br label %18 17: ; preds = %12 br label %18 18: ; preds = %17, %15 %19 = phi i32 [ %16, %15 ], [ 1, %17 ] store i32 %19, ptr %10, align 4 store i32 0, ptr %11, align 4 %20 = load i32, ptr %4, align 4 %21 = load ptr, ptr %5, align 8 %22 = call i32 @getopt_long(i32 noundef %20, ptr noundef %21, ptr noundef @.str.11, ptr noundef @main.long_options, ptr noundef %11) store i32 %22, ptr %6, align 4 %23 = load i32, ptr %6, align 4 %24 = icmp eq i32 %23, -1 br i1 %24, label %25, label %31 25: ; preds = %18 %26 = load i32, ptr %8, align 4 %27 = icmp ne i32 %26, 0 br i1 %27, label %30, label %28 28: ; preds = %25 %29 = call i32 (...) @print_help() br label %30 30: ; preds = %28, %25 br label %88 31: ; preds = %18 %32 = load i32, ptr %6, align 4 switch i32 %32, label %82 [ i32 0, label %33 i32 63, label %80 ] 33: ; preds = %31 %34 = load i32, ptr %11, align 4 switch i32 %34, label %79 [ i32 0, label %35 i32 1, label %39 i32 2, label %43 i32 3, label %47 i32 4, label %51 i32 5, label %55 i32 6, label %59 i32 7, label %63 i32 8, label %67 i32 9, label %71 i32 10, label %75 ] 35: ; preds = %33 %36 = load i32, ptr @optarg, align 4 %37 = call i32 @parse_Inst(i32 noundef %36) %38 = call i32 @stress(i32 noundef %37) br label %79 39: ; preds = %33 %40 = call i32 (...) @sse3() %41 = load i32, ptr %9, align 4 %42 = add nsw i32 %41, %40 store i32 %42, ptr %9, align 4 br label %79 43: ; preds = %33 %44 = call i32 (...) @ssse3() %45 = load i32, ptr %9, align 4 %46 = add nsw i32 %45, %44 store i32 %46, ptr %9, align 4 br label %79 47: ; preds = %33 %48 = call i32 (...) @sse4() %49 = load i32, ptr %9, align 4 %50 = add nsw i32 %49, %48 store i32 %50, ptr %9, align 4 br label %79 51: ; preds = %33 %52 = call i32 (...) @sse4a() %53 = load i32, ptr %9, align 4 %54 = add nsw i32 %53, %52 store i32 %54, ptr %9, align 4 br label %79 55: ; preds = %33 %56 = call i32 (...) @avx() %57 = load i32, ptr %9, align 4 %58 = add nsw i32 %57, %56 store i32 %58, ptr %9, align 4 br label %79 59: ; preds = %33 %60 = call i32 (...) @aes() %61 = load i32, ptr %9, align 4 %62 = add nsw i32 %61, %60 store i32 %62, ptr %9, align 4 br label %79 63: ; preds = %33 %64 = call i32 (...) @pclmul() %65 = load i32, ptr %9, align 4 %66 = add nsw i32 %65, %64 store i32 %66, ptr %9, align 4 br label %79 67: ; preds = %33 %68 = call i32 (...) @rdrand() %69 = load i32, ptr %9, align 4 %70 = add nsw i32 %69, %68 store i32 %70, ptr %9, align 4 br label %79 71: ; preds = %33 %72 = call i32 (...) @fma4() %73 = load i32, ptr %9, align 4 %74 = add nsw i32 %73, %72 store i32 %74, ptr %9, align 4 br label %79 75: ; preds = %33 %76 = call i32 (...) @xop() %77 = load i32, ptr %9, align 4 %78 = add nsw i32 %77, %76 store i32 %78, ptr %9, align 4 br label %79 79: ; preds = %75, %71, %67, %63, %59, %55, %51, %47, %43, %39, %35, %33 br label %85 80: ; preds = %31 %81 = call i32 (...) @print_help() br label %85 82: ; preds = %31 %83 = load i32, ptr %6, align 4 %84 = call i32 @printf(ptr noundef @.str.12, i32 noundef %83) br label %85 85: ; preds = %82, %80, %79 %86 = load i32, ptr %8, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %8, align 4 br label %12 88: ; preds = %30 %89 = load i32, ptr %9, align 4 %90 = icmp sgt i32 %89, 0 br i1 %90, label %91, label %95 91: ; preds = %88 %92 = load i32, ptr %9, align 4 %93 = call i32 @printf(ptr noundef @.str.13, i32 noundef %92) %94 = call i32 @exit(i32 noundef -1) #3 unreachable 95: ; preds = %88 %96 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @getopt_long(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @print_help(...) #1 declare i32 @stress(i32 noundef) #1 declare i32 @parse_Inst(i32 noundef) #1 declare i32 @sse3(...) #1 declare i32 @ssse3(...) #1 declare i32 @sse4(...) #1 declare i32 @sse4a(...) #1 declare i32 @avx(...) #1 declare i32 @aes(...) #1 declare i32 @pclmul(...) #1 declare i32 @rdrand(...) #1 declare i32 @fma4(...) #1 declare i32 @xop(...) #1 declare i32 @printf(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/tmp3abf2y9m.c' source_filename = "/tmp/tmp3abf2y9m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"-\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"--\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"%s , %s \00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c" %s \00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%s \00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.7 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @eca_opt_print_usage_long(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 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 i32, align 4 %11 = alloca i32, align 4 %12 = alloca [1000 x i8], align 16 %13 = alloca [500 x i8], align 16 %14 = alloca [500 x i8], align 16 %15 = alloca [8 x i32], align 16 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store i32 %4, ptr %10, align 4 %16 = load ptr, ptr %6, align 8 %17 = call i64 @strcmp(ptr noundef %16, ptr noundef @.str) %18 = icmp ne i64 %17, 0 br i1 %18, label %19, label %28 19: ; preds = %5 %20 = load ptr, ptr %7, align 8 %21 = call i64 @strcmp(ptr noundef %20, ptr noundef @.str.1) %22 = icmp ne i64 %21, 0 br i1 %22, label %23, label %28 23: ; preds = %19 %24 = getelementptr inbounds [1000 x i8], ptr %12, i64 0, i64 0 %25 = load ptr, ptr %6, align 8 %26 = load ptr, ptr %7, align 8 %27 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %24, ptr noundef @.str.2, ptr noundef %25, ptr noundef %26) br label %46 28: ; preds = %19, %5 %29 = load ptr, ptr %6, align 8 %30 = call i64 @strcmp(ptr noundef %29, ptr noundef @.str) %31 = icmp eq i64 %30, 0 br i1 %31, label %32, label %36 32: ; preds = %28 %33 = getelementptr inbounds [1000 x i8], ptr %12, i64 0, i64 0 %34 = load ptr, ptr %7, align 8 %35 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %33, ptr noundef @.str.3, ptr noundef %34) br label %45 36: ; preds = %28 %37 = load ptr, ptr %7, align 8 %38 = call i64 @strcmp(ptr noundef %37, ptr noundef @.str.1) %39 = icmp eq i64 %38, 0 br i1 %39, label %40, label %44 40: ; preds = %36 %41 = getelementptr inbounds [1000 x i8], ptr %12, i64 0, i64 0 %42 = load ptr, ptr %6, align 8 %43 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %41, ptr noundef @.str.4, ptr noundef %42) br label %44 44: ; preds = %40, %36 br label %45 45: ; preds = %44, %32 br label %46 46: ; preds = %45, %23 %47 = getelementptr inbounds [1000 x i8], ptr %12, i64 0, i64 0 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %47) %49 = getelementptr inbounds [1000 x i8], ptr %12, i64 0, i64 0 %50 = call i32 @strlen(ptr noundef %49) store i32 %50, ptr %11, align 4 br label %51 51: ; preds = %57, %46 %52 = load i32, ptr %11, align 4 %53 = load i32, ptr %10, align 4 %54 = icmp slt i32 %52, %53 br i1 %54, label %55, label %60 55: ; preds = %51 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %57 57: ; preds = %55 %58 = load i32, ptr %11, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %11, align 4 br label %51, !llvm.loop !6 60: ; preds = %51 %61 = load ptr, ptr %8, align 8 %62 = call i64 @strcmp(ptr noundef %61, ptr noundef @.str.7) %63 = icmp ne i64 %62, 0 br i1 %63, label %64, label %72 64: ; preds = %60 %65 = load ptr, ptr %8, align 8 %66 = getelementptr inbounds [500 x i8], ptr %13, i64 0, i64 0 %67 = getelementptr inbounds [500 x i8], ptr %14, i64 0, i64 0 %68 = getelementptr inbounds [8 x i32], ptr %15, i64 0, i64 0 %69 = call i32 @SimpleProcArgs(ptr noundef %65, ptr noundef %66, ptr noundef %67, ptr noundef %68, i32 noundef 0) %70 = getelementptr inbounds [500 x i8], ptr %14, i64 0, i64 0 %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %70) br label %72 72: ; preds = %64, %60 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %74 = load ptr, ptr %9, align 8 %75 = call i32 @print_indented_and_max_length(ptr noundef %74, i32 noundef 70) %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) ret void } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @SimpleProcArgs(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @print_indented_and_max_length(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3abf2y9m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"-\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"--\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"%s , %s \00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c" %s \00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%s \00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.7 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @eca_opt_print_usage_long(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 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 i32, align 4 %11 = alloca i32, align 4 %12 = alloca [1000 x i8], align 16 %13 = alloca [500 x i8], align 16 %14 = alloca [500 x i8], align 16 %15 = alloca [8 x i32], align 16 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store i32 %4, ptr %10, align 4 %16 = load ptr, ptr %6, align 8 %17 = call i64 @strcmp(ptr noundef %16, ptr noundef @.str) %18 = icmp ne i64 %17, 0 br i1 %18, label %19, label %28 19: ; preds = %5 %20 = load ptr, ptr %7, align 8 %21 = call i64 @strcmp(ptr noundef %20, ptr noundef @.str.1) %22 = icmp ne i64 %21, 0 br i1 %22, label %23, label %28 23: ; preds = %19 %24 = getelementptr inbounds [1000 x i8], ptr %12, i64 0, i64 0 %25 = load ptr, ptr %6, align 8 %26 = load ptr, ptr %7, align 8 %27 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %24, ptr noundef @.str.2, ptr noundef %25, ptr noundef %26) br label %46 28: ; preds = %19, %5 %29 = load ptr, ptr %6, align 8 %30 = call i64 @strcmp(ptr noundef %29, ptr noundef @.str) %31 = icmp eq i64 %30, 0 br i1 %31, label %32, label %36 32: ; preds = %28 %33 = getelementptr inbounds [1000 x i8], ptr %12, i64 0, i64 0 %34 = load ptr, ptr %7, align 8 %35 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %33, ptr noundef @.str.3, ptr noundef %34) br label %45 36: ; preds = %28 %37 = load ptr, ptr %7, align 8 %38 = call i64 @strcmp(ptr noundef %37, ptr noundef @.str.1) %39 = icmp eq i64 %38, 0 br i1 %39, label %40, label %44 40: ; preds = %36 %41 = getelementptr inbounds [1000 x i8], ptr %12, i64 0, i64 0 %42 = load ptr, ptr %6, align 8 %43 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %41, ptr noundef @.str.4, ptr noundef %42) br label %44 44: ; preds = %40, %36 br label %45 45: ; preds = %44, %32 br label %46 46: ; preds = %45, %23 %47 = getelementptr inbounds [1000 x i8], ptr %12, i64 0, i64 0 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %47) %49 = getelementptr inbounds [1000 x i8], ptr %12, i64 0, i64 0 %50 = call i32 @strlen(ptr noundef %49) store i32 %50, ptr %11, align 4 %51 = load i32, ptr %11, align 4 %52 = load i32, ptr %10, align 4 %53 = icmp slt i32 %51, %52 br i1 %53, label %.lr.ph, label %62 .lr.ph: ; preds = %46 br label %54 54: ; preds = %.lr.ph, %56 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %56 56: ; preds = %54 %57 = load i32, ptr %11, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %11, align 4 %59 = load i32, ptr %11, align 4 %60 = load i32, ptr %10, align 4 %61 = icmp slt i32 %59, %60 br i1 %61, label %54, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %56 br label %62 62: ; preds = %._crit_edge, %46 %63 = load ptr, ptr %8, align 8 %64 = call i64 @strcmp(ptr noundef %63, ptr noundef @.str.7) %65 = icmp ne i64 %64, 0 br i1 %65, label %66, label %74 66: ; preds = %62 %67 = load ptr, ptr %8, align 8 %68 = getelementptr inbounds [500 x i8], ptr %13, i64 0, i64 0 %69 = getelementptr inbounds [500 x i8], ptr %14, i64 0, i64 0 %70 = getelementptr inbounds [8 x i32], ptr %15, i64 0, i64 0 %71 = call i32 @SimpleProcArgs(ptr noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef %70, i32 noundef 0) %72 = getelementptr inbounds [500 x i8], ptr %14, i64 0, i64 0 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %72) br label %74 74: ; preds = %66, %62 %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %76 = load ptr, ptr %9, align 8 %77 = call i32 @print_indented_and_max_length(ptr noundef %76, i32 noundef 70) %78 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) ret void } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @SimpleProcArgs(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @print_indented_and_max_length(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp49f7kiz2.c' source_filename = "/tmp/tmp49f7kiz2.c" target datalayout = "e-m:e-p270: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/tmp49f7kiz2.c" target datalayout = "e-m:e-p270: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/tmpj3o5b1ho.c' source_filename = "/tmp/tmpj3o5b1ho.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"libjavaio.so\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printftest() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj3o5b1ho.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"libjavaio.so\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printftest() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0d7p3cu8.c' source_filename = "/tmp/tmp0d7p3cu8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcpy_f(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = ptrtoint ptr %8 to i64 %10 = inttoptr i64 %9 to ptr %11 = load i64, ptr %6, align 8 %12 = call ptr @memcpy(ptr noundef %7, ptr noundef %10, i64 noundef %11) ret ptr %12 } declare ptr @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0d7p3cu8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcpy_f(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = ptrtoint ptr %8 to i64 %10 = inttoptr i64 %9 to ptr %11 = load i64, ptr %6, align 8 %12 = call ptr @memcpy(ptr noundef %7, ptr noundef %10, i64 noundef %11) ret ptr %12 } declare ptr @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpy4sxadss.c' source_filename = "/tmp/tmpy4sxadss.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Byte2Hex(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %7 = load i32, ptr %3, align 4 %8 = and i32 %7, 15 store i32 %8, ptr %5, align 4 %9 = load i32, ptr %3, align 4 %10 = ashr i32 %9, 4 %11 = and i32 %10, 15 store i32 %11, ptr %6, align 4 %12 = load i32, ptr %5, align 4 %13 = icmp sle i32 %12, 9 br i1 %13, label %14, label %20 14: ; preds = %2 %15 = load i32, ptr %5, align 4 %16 = add nsw i32 48, %15 %17 = trunc i32 %16 to i8 %18 = load ptr, ptr %4, align 8 %19 = getelementptr inbounds i8, ptr %18, i64 1 store i8 %17, ptr %19, align 1 br label %34 20: ; preds = %2 %21 = load i32, ptr %5, align 4 %22 = icmp sgt i32 %21, 9 br i1 %22, label %23, label %30 23: ; preds = %20 %24 = load i32, ptr %5, align 4 %25 = sub nsw i32 %24, 10 %26 = add nsw i32 65, %25 %27 = trunc i32 %26 to i8 %28 = load ptr, ptr %4, align 8 %29 = getelementptr inbounds i8, ptr %28, i64 1 store i8 %27, ptr %29, align 1 br label %33 30: ; preds = %20 %31 = load ptr, ptr %4, align 8 %32 = getelementptr inbounds i8, ptr %31, i64 1 store i8 48, ptr %32, align 1 br label %33 33: ; preds = %30, %23 br label %34 34: ; preds = %33, %14 %35 = load i32, ptr %6, align 4 %36 = icmp sle i32 %35, 9 br i1 %36, label %37, label %43 37: ; preds = %34 %38 = load i32, ptr %6, align 4 %39 = add nsw i32 48, %38 %40 = trunc i32 %39 to i8 %41 = load ptr, ptr %4, align 8 %42 = getelementptr inbounds i8, ptr %41, i64 0 store i8 %40, ptr %42, align 1 br label %57 43: ; preds = %34 %44 = load i32, ptr %6, align 4 %45 = icmp sgt i32 %44, 9 br i1 %45, label %46, label %53 46: ; preds = %43 %47 = load i32, ptr %6, align 4 %48 = sub nsw i32 %47, 10 %49 = add nsw i32 65, %48 %50 = trunc i32 %49 to i8 %51 = load ptr, ptr %4, align 8 %52 = getelementptr inbounds i8, ptr %51, i64 0 store i8 %50, ptr %52, align 1 br label %56 53: ; preds = %43 %54 = load ptr, ptr %4, align 8 %55 = getelementptr inbounds i8, ptr %54, i64 0 store i8 48, ptr %55, align 1 br label %56 56: ; preds = %53, %46 br label %57 57: ; preds = %56, %37 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/tmpy4sxadss.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Byte2Hex(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %7 = load i32, ptr %3, align 4 %8 = and i32 %7, 15 store i32 %8, ptr %5, align 4 %9 = load i32, ptr %3, align 4 %10 = ashr i32 %9, 4 %11 = and i32 %10, 15 store i32 %11, ptr %6, align 4 %12 = load i32, ptr %5, align 4 %13 = icmp sle i32 %12, 9 br i1 %13, label %14, label %20 14: ; preds = %2 %15 = load i32, ptr %5, align 4 %16 = add nsw i32 48, %15 %17 = trunc i32 %16 to i8 %18 = load ptr, ptr %4, align 8 %19 = getelementptr inbounds i8, ptr %18, i64 1 store i8 %17, ptr %19, align 1 br label %34 20: ; preds = %2 %21 = load i32, ptr %5, align 4 %22 = icmp sgt i32 %21, 9 br i1 %22, label %23, label %30 23: ; preds = %20 %24 = load i32, ptr %5, align 4 %25 = sub nsw i32 %24, 10 %26 = add nsw i32 65, %25 %27 = trunc i32 %26 to i8 %28 = load ptr, ptr %4, align 8 %29 = getelementptr inbounds i8, ptr %28, i64 1 store i8 %27, ptr %29, align 1 br label %33 30: ; preds = %20 %31 = load ptr, ptr %4, align 8 %32 = getelementptr inbounds i8, ptr %31, i64 1 store i8 48, ptr %32, align 1 br label %33 33: ; preds = %30, %23 br label %34 34: ; preds = %33, %14 %35 = load i32, ptr %6, align 4 %36 = icmp sle i32 %35, 9 br i1 %36, label %37, label %43 37: ; preds = %34 %38 = load i32, ptr %6, align 4 %39 = add nsw i32 48, %38 %40 = trunc i32 %39 to i8 %41 = load ptr, ptr %4, align 8 %42 = getelementptr inbounds i8, ptr %41, i64 0 store i8 %40, ptr %42, align 1 br label %57 43: ; preds = %34 %44 = load i32, ptr %6, align 4 %45 = icmp sgt i32 %44, 9 br i1 %45, label %46, label %53 46: ; preds = %43 %47 = load i32, ptr %6, align 4 %48 = sub nsw i32 %47, 10 %49 = add nsw i32 65, %48 %50 = trunc i32 %49 to i8 %51 = load ptr, ptr %4, align 8 %52 = getelementptr inbounds i8, ptr %51, i64 0 store i8 %50, ptr %52, align 1 br label %56 53: ; preds = %43 %54 = load ptr, ptr %4, align 8 %55 = getelementptr inbounds i8, ptr %54, i64 0 store i8 48, ptr %55, align 1 br label %56 56: ; preds = %53, %46 br label %57 57: ; preds = %56, %37 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/tmpero1kdex.c' source_filename = "/tmp/tmpero1kdex.c" target datalayout = "e-m:e-p270: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/tmpero1kdex.c" target datalayout = "e-m:e-p270: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/tmplzay0eyy.c' source_filename = "/tmp/tmplzay0eyy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getAck(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [2 x i32], align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0 %6 = call i32 @rx(ptr noundef %5, i32 noundef 1) store i32 %6, ptr %4, align 4 %7 = load ptr, ptr %2, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %12 9: ; preds = %1 %10 = load i32, ptr %4, align 4 %11 = load ptr, ptr %2, align 8 store i32 %10, ptr %11, align 4 br label %12 12: ; preds = %9, %1 %13 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0 %14 = load i32, ptr %13, align 4 %15 = and i32 %14, 1 ret i32 %15 } declare i32 @rx(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/tmplzay0eyy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getAck(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [2 x i32], align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0 %6 = call i32 @rx(ptr noundef %5, i32 noundef 1) store i32 %6, ptr %4, align 4 %7 = load ptr, ptr %2, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %12 9: ; preds = %1 %10 = load i32, ptr %4, align 4 %11 = load ptr, ptr %2, align 8 store i32 %10, ptr %11, align 4 br label %12 12: ; preds = %9, %1 %13 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0 %14 = load i32, ptr %13, align 4 %15 = and i32 %14, 1 ret i32 %15 } declare i32 @rx(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/tmpzwp9kpud.c' source_filename = "/tmp/tmpzwp9kpud.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"\0A %s \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @print_message_function(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 store ptr %5, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @printf(ptr noundef @.str, ptr noundef %6) %8 = load ptr, ptr %2, align 8 ret ptr %8 } 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/tmpzwp9kpud.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"\0A %s \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @print_message_function(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 store ptr %5, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @printf(ptr noundef @.str, ptr noundef %6) %8 = load ptr, ptr %2, align 8 ret ptr %8 } 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/tmpse422x1r.c' source_filename = "/tmp/tmpse422x1r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"DT_NONE/DT_UNKNOWN\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"DT_BINARY\0A\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"DT_UNSIGNED_CHAR\0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"DT_SIGNED_SHORT\0A\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"DT_SIGNED_INT\0A\00", align 1 @.str.5 = private unnamed_addr constant [10 x i8] c"DT_FLOAT\0A\00", align 1 @.str.6 = private unnamed_addr constant [12 x i8] c"DT_COMPLEX\0A\00", align 1 @.str.7 = private unnamed_addr constant [11 x i8] c"DT_DOUBLE\0A\00", align 1 @.str.8 = private unnamed_addr constant [8 x i8] c"DT_RGB\0A\00", align 1 @.str.9 = private unnamed_addr constant [8 x i8] c"DT_ALL\0A\00", align 1 @.str.10 = private unnamed_addr constant [14 x i8] c"unknown type\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_datatype(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 switch i32 %3, label %24 [ i32 0, label %4 i32 1, label %6 i32 2, label %8 i32 4, label %10 i32 8, label %12 i32 16, label %14 i32 32, label %16 i32 64, label %18 i32 128, label %20 i32 255, label %22 ] 4: ; preds = %1 %5 = call i32 @printf(ptr noundef @.str) br label %26 6: ; preds = %1 %7 = call i32 @printf(ptr noundef @.str.1) br label %26 8: ; preds = %1 %9 = call i32 @printf(ptr noundef @.str.2) br label %26 10: ; preds = %1 %11 = call i32 @printf(ptr noundef @.str.3) br label %26 12: ; preds = %1 %13 = call i32 @printf(ptr noundef @.str.4) br label %26 14: ; preds = %1 %15 = call i32 @printf(ptr noundef @.str.5) br label %26 16: ; preds = %1 %17 = call i32 @printf(ptr noundef @.str.6) br label %26 18: ; preds = %1 %19 = call i32 @printf(ptr noundef @.str.7) br label %26 20: ; preds = %1 %21 = call i32 @printf(ptr noundef @.str.8) br label %26 22: ; preds = %1 %23 = call i32 @printf(ptr noundef @.str.9) br label %26 24: ; preds = %1 %25 = call i32 @printf(ptr noundef @.str.10) br label %26 26: ; preds = %24, %22, %20, %18, %16, %14, %12, %10, %8, %6, %4 ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpse422x1r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"DT_NONE/DT_UNKNOWN\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"DT_BINARY\0A\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"DT_UNSIGNED_CHAR\0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"DT_SIGNED_SHORT\0A\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"DT_SIGNED_INT\0A\00", align 1 @.str.5 = private unnamed_addr constant [10 x i8] c"DT_FLOAT\0A\00", align 1 @.str.6 = private unnamed_addr constant [12 x i8] c"DT_COMPLEX\0A\00", align 1 @.str.7 = private unnamed_addr constant [11 x i8] c"DT_DOUBLE\0A\00", align 1 @.str.8 = private unnamed_addr constant [8 x i8] c"DT_RGB\0A\00", align 1 @.str.9 = private unnamed_addr constant [8 x i8] c"DT_ALL\0A\00", align 1 @.str.10 = private unnamed_addr constant [14 x i8] c"unknown type\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_datatype(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 switch i32 %3, label %24 [ i32 0, label %4 i32 1, label %6 i32 2, label %8 i32 4, label %10 i32 8, label %12 i32 16, label %14 i32 32, label %16 i32 64, label %18 i32 128, label %20 i32 255, label %22 ] 4: ; preds = %1 %5 = call i32 @printf(ptr noundef @.str) br label %26 6: ; preds = %1 %7 = call i32 @printf(ptr noundef @.str.1) br label %26 8: ; preds = %1 %9 = call i32 @printf(ptr noundef @.str.2) br label %26 10: ; preds = %1 %11 = call i32 @printf(ptr noundef @.str.3) br label %26 12: ; preds = %1 %13 = call i32 @printf(ptr noundef @.str.4) br label %26 14: ; preds = %1 %15 = call i32 @printf(ptr noundef @.str.5) br label %26 16: ; preds = %1 %17 = call i32 @printf(ptr noundef @.str.6) br label %26 18: ; preds = %1 %19 = call i32 @printf(ptr noundef @.str.7) br label %26 20: ; preds = %1 %21 = call i32 @printf(ptr noundef @.str.8) br label %26 22: ; preds = %1 %23 = call i32 @printf(ptr noundef @.str.9) br label %26 24: ; preds = %1 %25 = call i32 @printf(ptr noundef @.str.10) br label %26 26: ; preds = %24, %22, %20, %18, %16, %14, %12, %10, %8, %6, %4 ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpn68a7wzu.c' source_filename = "/tmp/tmpn68a7wzu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.filename = private unnamed_addr constant [14 x i8] c"./numbers.txt\00", align 1 @.str = private unnamed_addr constant [13 x i8] c"RAND_MAX:%d\0A\00", align 1 @RAND_MAX = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [43 x i8] c"How many random numbers you want in '%s': \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"create file '%s' failed!\00", align 1 @.str.5 = 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 [14 x i8], align 1 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %8, ptr align 1 @__const.main.filename, i64 14, i1 false) store ptr null, ptr %9, align 8 store ptr null, ptr %10, align 8 %11 = call i64 @time(ptr noundef null) %12 = trunc i64 %11 to i32 %13 = call i32 @srand(i32 noundef %12) %14 = load i32, ptr @RAND_MAX, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14) %16 = getelementptr inbounds [14 x i8], ptr %8, i64 0, i64 0 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %16) %18 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %7) %19 = getelementptr inbounds [14 x i8], ptr %8, i64 0, i64 0 %20 = call ptr @fopen(ptr noundef %19, ptr noundef @.str.3) store ptr %20, ptr %10, align 8 %21 = load ptr, ptr %10, align 8 %22 = icmp ne ptr %21, null br i1 %22, label %26, label %23 23: ; preds = %2 %24 = getelementptr inbounds [14 x i8], ptr %8, i64 0, i64 0 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %24) store i32 0, ptr %3, align 4 br label %72 26: ; preds = %2 %27 = load ptr, ptr %10, align 8 %28 = load i32, ptr %7, align 4 %29 = call i32 @fprintf(ptr noundef %27, ptr noundef @.str.5, i32 noundef %28) %30 = load i32, ptr %7, align 4 %31 = sext i32 %30 to i64 %32 = mul i64 %31, 4 %33 = trunc i64 %32 to i32 %34 = call ptr @malloc(i32 noundef %33) store ptr %34, ptr %9, align 8 store i32 0, ptr %6, align 4 br label %35 35: ; preds = %45, %26 %36 = load i32, ptr %6, align 4 %37 = load i32, ptr %7, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %39, label %48 39: ; preds = %35 %40 = load i32, ptr %6, align 4 %41 = load ptr, ptr %9, align 8 %42 = load i32, ptr %6, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i32, ptr %41, i64 %43 store i32 %40, ptr %44, align 4 br label %45 45: ; preds = %39 %46 = load i32, ptr %6, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %6, align 4 br label %35, !llvm.loop !6 48: ; preds = %35 %49 = load ptr, ptr %9, align 8 %50 = load i32, ptr %7, align 4 %51 = call i32 @shuffle(ptr noundef %49, i32 noundef %50) store i32 0, ptr %6, align 4 br label %52 52: ; preds = %64, %48 %53 = load i32, ptr %6, align 4 %54 = load i32, ptr %7, align 4 %55 = icmp slt i32 %53, %54 br i1 %55, label %56, label %67 56: ; preds = %52 %57 = load ptr, ptr %10, align 8 %58 = load ptr, ptr %9, align 8 %59 = load i32, ptr %6, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i32, ptr %58, i64 %60 %62 = load i32, ptr %61, align 4 %63 = call i32 @fprintf(ptr noundef %57, ptr noundef @.str.5, i32 noundef %62) br label %64 64: ; preds = %56 %65 = load i32, ptr %6, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %6, align 4 br label %52, !llvm.loop !8 67: ; preds = %52 %68 = load ptr, ptr %10, align 8 %69 = call i32 @fflush(ptr noundef %68) %70 = load ptr, ptr %10, align 8 %71 = call i32 @fclose(ptr noundef %70) store i32 0, ptr %3, align 4 br label %72 72: ; preds = %67, %23 %73 = load i32, ptr %3, align 4 ret i32 %73 } ; 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 @srand(i32 noundef) #2 declare i64 @time(ptr noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare i32 @scanf(ptr noundef, ptr noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef) #2 declare ptr @malloc(i32 noundef) #2 declare i32 @shuffle(ptr noundef, i32 noundef) #2 declare i32 @fflush(ptr noundef) #2 declare i32 @fclose(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn68a7wzu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.filename = private unnamed_addr constant [14 x i8] c"./numbers.txt\00", align 1 @.str = private unnamed_addr constant [13 x i8] c"RAND_MAX:%d\0A\00", align 1 @RAND_MAX = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [43 x i8] c"How many random numbers you want in '%s': \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"create file '%s' failed!\00", align 1 @.str.5 = 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 [14 x i8], align 1 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %8, ptr align 1 @__const.main.filename, i64 14, i1 false) store ptr null, ptr %9, align 8 store ptr null, ptr %10, align 8 %11 = call i64 @time(ptr noundef null) %12 = trunc i64 %11 to i32 %13 = call i32 @srand(i32 noundef %12) %14 = load i32, ptr @RAND_MAX, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14) %16 = getelementptr inbounds [14 x i8], ptr %8, i64 0, i64 0 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %16) %18 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %7) %19 = getelementptr inbounds [14 x i8], ptr %8, i64 0, i64 0 %20 = call ptr @fopen(ptr noundef %19, ptr noundef @.str.3) store ptr %20, ptr %10, align 8 %21 = load ptr, ptr %10, align 8 %22 = icmp ne ptr %21, null br i1 %22, label %26, label %23 23: ; preds = %2 %24 = getelementptr inbounds [14 x i8], ptr %8, i64 0, i64 0 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %24) store i32 0, ptr %3, align 4 br label %76 26: ; preds = %2 %27 = load ptr, ptr %10, align 8 %28 = load i32, ptr %7, align 4 %29 = call i32 @fprintf(ptr noundef %27, ptr noundef @.str.5, i32 noundef %28) %30 = load i32, ptr %7, align 4 %31 = sext i32 %30 to i64 %32 = mul i64 %31, 4 %33 = trunc i64 %32 to i32 %34 = call ptr @malloc(i32 noundef %33) store ptr %34, ptr %9, align 8 store i32 0, ptr %6, align 4 %35 = load i32, ptr %6, align 4 %36 = load i32, ptr %7, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %.lr.ph, label %50 .lr.ph: ; preds = %26 br label %38 38: ; preds = %.lr.ph, %44 %39 = load i32, ptr %6, align 4 %40 = load ptr, ptr %9, align 8 %41 = load i32, ptr %6, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i32, ptr %40, i64 %42 store i32 %39, ptr %43, align 4 br label %44 44: ; preds = %38 %45 = load i32, ptr %6, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %6, align 4 %47 = load i32, ptr %6, align 4 %48 = load i32, ptr %7, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %38, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %44 br label %50 50: ; preds = %._crit_edge, %26 %51 = load ptr, ptr %9, align 8 %52 = load i32, ptr %7, align 4 %53 = call i32 @shuffle(ptr noundef %51, i32 noundef %52) store i32 0, ptr %6, align 4 %54 = load i32, ptr %6, align 4 %55 = load i32, ptr %7, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %.lr.ph2, label %71 .lr.ph2: ; preds = %50 br label %57 57: ; preds = %.lr.ph2, %65 %58 = load ptr, ptr %10, align 8 %59 = load ptr, ptr %9, align 8 %60 = load i32, ptr %6, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i32, ptr %59, i64 %61 %63 = load i32, ptr %62, align 4 %64 = call i32 @fprintf(ptr noundef %58, ptr noundef @.str.5, i32 noundef %63) br label %65 65: ; preds = %57 %66 = load i32, ptr %6, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %6, align 4 %68 = load i32, ptr %6, align 4 %69 = load i32, ptr %7, align 4 %70 = icmp slt i32 %68, %69 br i1 %70, label %57, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %65 br label %71 71: ; preds = %._crit_edge3, %50 %72 = load ptr, ptr %10, align 8 %73 = call i32 @fflush(ptr noundef %72) %74 = load ptr, ptr %10, align 8 %75 = call i32 @fclose(ptr noundef %74) store i32 0, ptr %3, align 4 br label %76 76: ; preds = %71, %23 %77 = load i32, ptr %3, align 4 ret i32 %77 } ; 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 @srand(i32 noundef) #2 declare i64 @time(ptr noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare i32 @scanf(ptr noundef, ptr noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef) #2 declare ptr @malloc(i32 noundef) #2 declare i32 @shuffle(ptr noundef, i32 noundef) #2 declare i32 @fflush(ptr noundef) #2 declare i32 @fclose(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp48y7c4aa.c' source_filename = "/tmp/tmp48y7c4aa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @system_init() %3 = call i32 (...) @gpio_init_red_led() br label %4 4: ; preds = %0, %4 %5 = call i32 (...) @gpio_toggle_red_led() %6 = call i32 @some_delay(i32 noundef 10000) br label %4 } declare i32 @system_init(...) #1 declare i32 @gpio_init_red_led(...) #1 declare i32 @gpio_toggle_red_led(...) #1 declare i32 @some_delay(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/tmp48y7c4aa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @system_init() %3 = call i32 (...) @gpio_init_red_led() br label %4 4: ; preds = %4, %0 %5 = call i32 (...) @gpio_toggle_red_led() %6 = call i32 @some_delay(i32 noundef 10000) br label %4 } declare i32 @system_init(...) #1 declare i32 @gpio_init_red_led(...) #1 declare i32 @gpio_toggle_red_led(...) #1 declare i32 @some_delay(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/tmput35bhdu.c' source_filename = "/tmp/tmput35bhdu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"Usage: treecmp [-cv] old_dir new_dir\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @exit(i32 noundef 1) #3 unreachable } 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/tmput35bhdu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"Usage: treecmp [-cv] old_dir new_dir\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @exit(i32 noundef 1) #3 unreachable } 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/tmpig6gfqiw.c' source_filename = "/tmp/tmpig6gfqiw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uDMAChannelAssign(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %6 = load i64, ptr %2, align 8 %7 = and i64 %6, 4294967040 %8 = icmp ult i64 %7, 327680 %9 = zext i1 %8 to i32 %10 = call i32 @DEBUG_ASSERT(i32 noundef %9) %11 = load volatile i64, ptr inttoptr (i64 1074782208 to ptr), align 8 %12 = and i64 %11, 1879048192 %13 = icmp eq i64 %12, 0 br i1 %13, label %18, label %14 14: ; preds = %1 %15 = load volatile i64, ptr inttoptr (i64 1074782208 to ptr), align 8 %16 = and i64 %15, 1895759872 %17 = icmp eq i64 %16, 268435456 br label %18 18: ; preds = %14, %1 %19 = phi i1 [ true, %1 ], [ %17, %14 ] %20 = xor i1 %19, true %21 = zext i1 %20 to i32 %22 = call i32 @DEBUG_ASSERT(i32 noundef %21) %23 = load volatile i64, ptr inttoptr (i64 1074782208 to ptr), align 8 %24 = and i64 %23, 1895759872 %25 = icmp eq i64 %24, 268500992 %26 = xor i1 %25, true %27 = zext i1 %26 to i32 %28 = call i32 @DEBUG_ASSERT(i32 noundef %27) %29 = load volatile i64, ptr inttoptr (i64 1074782208 to ptr), align 8 %30 = and i64 %29, 1895759872 %31 = icmp eq i64 %30, 268632064 %32 = xor i1 %31, true %33 = zext i1 %32 to i32 %34 = call i32 @DEBUG_ASSERT(i32 noundef %33) %35 = load volatile i64, ptr inttoptr (i64 1074782208 to ptr), align 8 %36 = and i64 %35, 1895759872 %37 = icmp eq i64 %36, 268697600 %38 = xor i1 %37, true %39 = zext i1 %38 to i32 %40 = call i32 @DEBUG_ASSERT(i32 noundef %39) %41 = load volatile i64, ptr inttoptr (i64 1074782208 to ptr), align 8 %42 = and i64 %41, 1895759872 %43 = icmp eq i64 %42, 268828672 %44 = xor i1 %43, true %45 = zext i1 %44 to i32 %46 = call i32 @DEBUG_ASSERT(i32 noundef %45) %47 = load i64, ptr %2, align 8 %48 = and i64 %47, 255 store i64 %48, ptr %5, align 8 %49 = load i64, ptr %2, align 8 %50 = lshr i64 %49, 16 store i64 %50, ptr %2, align 8 %51 = load i64, ptr %5, align 8 %52 = udiv i64 %51, 8 %53 = mul i64 %52, 4 %54 = add i64 1074787600, %53 store i64 %54, ptr %3, align 8 %55 = load i64, ptr %5, align 8 %56 = urem i64 %55, 8 %57 = mul i64 %56, 4 store i64 %57, ptr %4, align 8 %58 = load i64, ptr %3, align 8 %59 = inttoptr i64 %58 to ptr %60 = load volatile i64, ptr %59, align 8 %61 = load i64, ptr %4, align 8 %62 = trunc i64 %61 to i32 %63 = shl i32 15, %62 %64 = xor i32 %63, -1 %65 = sext i32 %64 to i64 %66 = and i64 %60, %65 %67 = load i64, ptr %2, align 8 %68 = load i64, ptr %4, align 8 %69 = shl i64 %67, %68 %70 = or i64 %66, %69 %71 = load i64, ptr %3, align 8 %72 = inttoptr i64 %71 to ptr store volatile i64 %70, ptr %72, align 8 ret void } declare i32 @DEBUG_ASSERT(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpig6gfqiw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uDMAChannelAssign(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %6 = load i64, ptr %2, align 8 %7 = and i64 %6, 4294967040 %8 = icmp ult i64 %7, 327680 %9 = zext i1 %8 to i32 %10 = call i32 @DEBUG_ASSERT(i32 noundef %9) %11 = load volatile i64, ptr inttoptr (i64 1074782208 to ptr), align 8 %12 = and i64 %11, 1879048192 %13 = icmp eq i64 %12, 0 br i1 %13, label %18, label %14 14: ; preds = %1 %15 = load volatile i64, ptr inttoptr (i64 1074782208 to ptr), align 8 %16 = and i64 %15, 1895759872 %17 = icmp eq i64 %16, 268435456 br label %18 18: ; preds = %14, %1 %19 = phi i1 [ true, %1 ], [ %17, %14 ] %20 = xor i1 %19, true %21 = zext i1 %20 to i32 %22 = call i32 @DEBUG_ASSERT(i32 noundef %21) %23 = load volatile i64, ptr inttoptr (i64 1074782208 to ptr), align 8 %24 = and i64 %23, 1895759872 %25 = icmp eq i64 %24, 268500992 %26 = xor i1 %25, true %27 = zext i1 %26 to i32 %28 = call i32 @DEBUG_ASSERT(i32 noundef %27) %29 = load volatile i64, ptr inttoptr (i64 1074782208 to ptr), align 8 %30 = and i64 %29, 1895759872 %31 = icmp eq i64 %30, 268632064 %32 = xor i1 %31, true %33 = zext i1 %32 to i32 %34 = call i32 @DEBUG_ASSERT(i32 noundef %33) %35 = load volatile i64, ptr inttoptr (i64 1074782208 to ptr), align 8 %36 = and i64 %35, 1895759872 %37 = icmp eq i64 %36, 268697600 %38 = xor i1 %37, true %39 = zext i1 %38 to i32 %40 = call i32 @DEBUG_ASSERT(i32 noundef %39) %41 = load volatile i64, ptr inttoptr (i64 1074782208 to ptr), align 8 %42 = and i64 %41, 1895759872 %43 = icmp eq i64 %42, 268828672 %44 = xor i1 %43, true %45 = zext i1 %44 to i32 %46 = call i32 @DEBUG_ASSERT(i32 noundef %45) %47 = load i64, ptr %2, align 8 %48 = and i64 %47, 255 store i64 %48, ptr %5, align 8 %49 = load i64, ptr %2, align 8 %50 = lshr i64 %49, 16 store i64 %50, ptr %2, align 8 %51 = load i64, ptr %5, align 8 %52 = udiv i64 %51, 8 %53 = mul i64 %52, 4 %54 = add i64 1074787600, %53 store i64 %54, ptr %3, align 8 %55 = load i64, ptr %5, align 8 %56 = urem i64 %55, 8 %57 = mul i64 %56, 4 store i64 %57, ptr %4, align 8 %58 = load i64, ptr %3, align 8 %59 = inttoptr i64 %58 to ptr %60 = load volatile i64, ptr %59, align 8 %61 = load i64, ptr %4, align 8 %62 = trunc i64 %61 to i32 %63 = shl i32 15, %62 %64 = xor i32 %63, -1 %65 = sext i32 %64 to i64 %66 = and i64 %60, %65 %67 = load i64, ptr %2, align 8 %68 = load i64, ptr %4, align 8 %69 = shl i64 %67, %68 %70 = or i64 %66, %69 %71 = load i64, ptr %3, align 8 %72 = inttoptr i64 %71 to ptr store volatile i64 %70, ptr %72, align 8 ret void } declare i32 @DEBUG_ASSERT(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpeetngak8.c' source_filename = "/tmp/tmpeetngak8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @circle_shape(float noundef %0, float noundef %1, float noundef %2, float noundef %3, float noundef %4, i32 noundef %5) #0 { %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 i32, align 4 %13 = alloca float, align 4 %14 = alloca float, align 4 %15 = alloca float, align 4 store float %0, ptr %7, align 4 store float %1, ptr %8, align 4 store float %2, ptr %9, align 4 store float %3, ptr %10, align 4 store float %4, ptr %11, align 4 store i32 %5, ptr %12, align 4 %16 = load float, ptr %7, align 4 %17 = fsub float %16, 4.000000e+00 store float %17, ptr %7, align 4 %18 = load float, ptr %8, align 4 %19 = fsub float %18, 4.000000e+00 store float %19, ptr %8, align 4 %20 = load float, ptr %7, align 4 store float %20, ptr %13, align 4 br label %21 21: ; preds = %61, %6 %22 = load float, ptr %13, align 4 %23 = load float, ptr %7, align 4 %24 = fadd float 8.000000e+00, %23 %25 = fcmp olt float %22, %24 br i1 %25, label %26, label %64 26: ; preds = %21 %27 = load float, ptr %8, align 4 store float %27, ptr %14, align 4 br label %28 28: ; preds = %57, %26 %29 = load float, ptr %14, align 4 %30 = load float, ptr %8, align 4 %31 = fadd float 8.000000e+00, %30 %32 = fcmp olt float %29, %31 br i1 %32, label %33, label %60 33: ; preds = %28 %34 = load float, ptr %13, align 4 %35 = load float, ptr %13, align 4 %36 = load float, ptr %14, align 4 %37 = load float, ptr %14, align 4 %38 = fmul float %36, %37 %39 = call float @llvm.fmuladd.f32(float %34, float %35, float %38) store float %39, ptr %15, align 4 %40 = load float, ptr %10, align 4 %41 = load float, ptr %15, align 4 %42 = fcmp olt float %40, %41 br i1 %42, label %43, label %56 43: ; preds = %33 %44 = load float, ptr %15, align 4 %45 = load float, ptr %11, align 4 %46 = fcmp olt float %44, %45 br i1 %46, label %47, label %56 47: ; preds = %43 %48 = load float, ptr %13, align 4 %49 = load float, ptr %7, align 4 %50 = fsub float %48, %49 %51 = load float, ptr %14, align 4 %52 = load float, ptr %8, align 4 %53 = fsub float %51, %52 %54 = load float, ptr %9, align 4 %55 = call i32 @set_led_8_8_12(float noundef %50, float noundef %53, float noundef %54, i32 noundef 4095) br label %56 56: ; preds = %47, %43, %33 br label %57 57: ; preds = %56 %58 = load float, ptr %14, align 4 %59 = fadd float %58, 1.000000e+00 store float %59, ptr %14, align 4 br label %28, !llvm.loop !6 60: ; preds = %28 br label %61 61: ; preds = %60 %62 = load float, ptr %13, align 4 %63 = fadd float %62, 1.000000e+00 store float %63, ptr %13, align 4 br label %21, !llvm.loop !8 64: ; preds = %21 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #1 declare i32 @set_led_8_8_12(float noundef, float noundef, float 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 nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpeetngak8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @circle_shape(float noundef %0, float noundef %1, float noundef %2, float noundef %3, float noundef %4, i32 noundef %5) #0 { %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 i32, align 4 %13 = alloca float, align 4 %14 = alloca float, align 4 %15 = alloca float, align 4 store float %0, ptr %7, align 4 store float %1, ptr %8, align 4 store float %2, ptr %9, align 4 store float %3, ptr %10, align 4 store float %4, ptr %11, align 4 store i32 %5, ptr %12, align 4 %16 = load float, ptr %7, align 4 %17 = fsub float %16, 4.000000e+00 store float %17, ptr %7, align 4 %18 = load float, ptr %8, align 4 %19 = fsub float %18, 4.000000e+00 store float %19, ptr %8, align 4 %20 = load float, ptr %7, align 4 store float %20, ptr %13, align 4 %21 = load float, ptr %13, align 4 %22 = load float, ptr %7, align 4 %23 = fadd float 8.000000e+00, %22 %24 = fcmp olt float %21, %23 br i1 %24, label %.lr.ph2, label %70 .lr.ph2: ; preds = %6 br label %25 25: ; preds = %.lr.ph2, %63 %26 = load float, ptr %8, align 4 store float %26, ptr %14, align 4 %27 = load float, ptr %14, align 4 %28 = load float, ptr %8, align 4 %29 = fadd float 8.000000e+00, %28 %30 = fcmp olt float %27, %29 br i1 %30, label %.lr.ph, label %62 .lr.ph: ; preds = %25 br label %31 31: ; preds = %.lr.ph, %55 %32 = load float, ptr %13, align 4 %33 = load float, ptr %13, align 4 %34 = load float, ptr %14, align 4 %35 = load float, ptr %14, align 4 %36 = fmul float %34, %35 %37 = call float @llvm.fmuladd.f32(float %32, float %33, float %36) store float %37, ptr %15, align 4 %38 = load float, ptr %10, align 4 %39 = load float, ptr %15, align 4 %40 = fcmp olt float %38, %39 br i1 %40, label %41, label %54 41: ; preds = %31 %42 = load float, ptr %15, align 4 %43 = load float, ptr %11, align 4 %44 = fcmp olt float %42, %43 br i1 %44, label %45, label %54 45: ; preds = %41 %46 = load float, ptr %13, align 4 %47 = load float, ptr %7, align 4 %48 = fsub float %46, %47 %49 = load float, ptr %14, align 4 %50 = load float, ptr %8, align 4 %51 = fsub float %49, %50 %52 = load float, ptr %9, align 4 %53 = call i32 @set_led_8_8_12(float noundef %48, float noundef %51, float noundef %52, i32 noundef 4095) br label %54 54: ; preds = %45, %41, %31 br label %55 55: ; preds = %54 %56 = load float, ptr %14, align 4 %57 = fadd float %56, 1.000000e+00 store float %57, ptr %14, align 4 %58 = load float, ptr %14, align 4 %59 = load float, ptr %8, align 4 %60 = fadd float 8.000000e+00, %59 %61 = fcmp olt float %58, %60 br i1 %61, label %31, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %55 br label %62 62: ; preds = %._crit_edge, %25 br label %63 63: ; preds = %62 %64 = load float, ptr %13, align 4 %65 = fadd float %64, 1.000000e+00 store float %65, ptr %13, align 4 %66 = load float, ptr %13, align 4 %67 = load float, ptr %7, align 4 %68 = fadd float 8.000000e+00, %67 %69 = fcmp olt float %66, %68 br i1 %69, label %25, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %63 br label %70 70: ; preds = %._crit_edge3, %6 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #1 declare i32 @set_led_8_8_12(float noundef, float noundef, float 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 nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpbbkz59m0.c' source_filename = "/tmp/tmpbbkz59m0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sh_unquote(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 0, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 store ptr %7, ptr %5, align 8 store ptr null, ptr %6, align 8 %8 = load ptr, ptr %3, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %11 10: ; preds = %1 store ptr null, ptr %2, align 8 br label %43 11: ; preds = %1 %12 = load ptr, ptr %5, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp eq i32 %14, 39 br i1 %15, label %21, label %16 16: ; preds = %11 %17 = load ptr, ptr %5, align 8 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 %19, 34 br i1 %20, label %21, label %38 21: ; preds = %16, %11 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds i8, ptr %22, i32 1 store ptr %23, ptr %5, align 8 %24 = load ptr, ptr %5, align 8 %25 = call i64 @strlen(ptr noundef %24) store i64 %25, ptr %4, align 8 %26 = load i64, ptr %4, align 8 %27 = mul i64 %26, 1 %28 = call ptr @malloc(i64 noundef %27) store ptr %28, ptr %6, align 8 %29 = load ptr, ptr %6, align 8 %30 = load ptr, ptr %5, align 8 %31 = load i64, ptr %4, align 8 %32 = sub i64 %31, 1 %33 = call ptr @strncpy(ptr noundef %29, ptr noundef %30, i64 noundef %32) store ptr %33, ptr %6, align 8 %34 = load ptr, ptr %6, align 8 %35 = load i64, ptr %4, align 8 %36 = sub i64 %35, 1 %37 = getelementptr inbounds i8, ptr %34, i64 %36 store i8 0, ptr %37, align 1 br label %41 38: ; preds = %16 %39 = load ptr, ptr %3, align 8 %40 = call ptr @strdup(ptr noundef %39) store ptr %40, ptr %6, align 8 br label %41 41: ; preds = %38, %21 %42 = load ptr, ptr %6, align 8 store ptr %42, ptr %2, align 8 br label %43 43: ; preds = %41, %10 %44 = load ptr, ptr %2, align 8 ret ptr %44 } declare i64 @strlen(ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare ptr @strncpy(ptr noundef, ptr noundef, i64 noundef) #1 declare ptr @strdup(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbbkz59m0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sh_unquote(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 0, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 store ptr %7, ptr %5, align 8 store ptr null, ptr %6, align 8 %8 = load ptr, ptr %3, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %11 10: ; preds = %1 store ptr null, ptr %2, align 8 br label %43 11: ; preds = %1 %12 = load ptr, ptr %5, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp eq i32 %14, 39 br i1 %15, label %21, label %16 16: ; preds = %11 %17 = load ptr, ptr %5, align 8 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 %19, 34 br i1 %20, label %21, label %38 21: ; preds = %16, %11 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds i8, ptr %22, i32 1 store ptr %23, ptr %5, align 8 %24 = load ptr, ptr %5, align 8 %25 = call i64 @strlen(ptr noundef %24) store i64 %25, ptr %4, align 8 %26 = load i64, ptr %4, align 8 %27 = mul i64 %26, 1 %28 = call ptr @malloc(i64 noundef %27) store ptr %28, ptr %6, align 8 %29 = load ptr, ptr %6, align 8 %30 = load ptr, ptr %5, align 8 %31 = load i64, ptr %4, align 8 %32 = sub i64 %31, 1 %33 = call ptr @strncpy(ptr noundef %29, ptr noundef %30, i64 noundef %32) store ptr %33, ptr %6, align 8 %34 = load ptr, ptr %6, align 8 %35 = load i64, ptr %4, align 8 %36 = sub i64 %35, 1 %37 = getelementptr inbounds i8, ptr %34, i64 %36 store i8 0, ptr %37, align 1 br label %41 38: ; preds = %16 %39 = load ptr, ptr %3, align 8 %40 = call ptr @strdup(ptr noundef %39) store ptr %40, ptr %6, align 8 br label %41 41: ; preds = %38, %21 %42 = load ptr, ptr %6, align 8 store ptr %42, ptr %2, align 8 br label %43 43: ; preds = %41, %10 %44 = load ptr, ptr %2, align 8 ret ptr %44 } declare i64 @strlen(ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare ptr @strncpy(ptr noundef, ptr noundef, i64 noundef) #1 declare ptr @strdup(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}