llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp1nizygui.c' source_filename = "/tmp/tmp1nizygui.c" target datalayout = "e-m:e-p270: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/tmp1nizygui.c" target datalayout = "e-m:e-p270: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/tmp367auwgc.c' source_filename = "/tmp/tmp367auwgc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global ptr null, align 8 @stdout = dso_local global ptr null, align 8 @.str = private unnamed_addr constant [3 x i8] c"-n\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [54 x i8] c"error: rawSize (value for '-n' = '%s') must be > 0 !\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"-B\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"-i\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.5 = private unnamed_addr constant [45 x i8] c"error: input file '%s' could not be opened!\0A\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"-o\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.8 = private unnamed_addr constant [46 x i8] c"error: output file '%s' could not be opened!\0A\00", align 1 @.str.9 = private unnamed_addr constant [3 x i8] c"-h\00", align 1 @.str.10 = private unnamed_addr constant [7 x i8] c"--help\00", align 1 @.str.11 = private unnamed_addr constant [30 x i8] c"error: ignoring option '%s'!\0A\00", align 1 @.str.12 = private unnamed_addr constant [43 x i8] c"error allocating line buffer of %u bytes!\0A\00", align 1 @.str.13 = private unnamed_addr constant [45 x i8] c"error allocating binary buffer of %u bytes!\0A\00", align 1 @.str.14 = private unnamed_addr constant [59 x i8] c"error: hexadecimal length of 1st line (=%d) must be even!\0A\00", align 1 @.str.15 = private unnamed_addr constant [53 x i8] c"info: using rawSize %d from 1st line with hexLen %d\0A\00", align 1 @.str.16 = private unnamed_addr constant [99 x i8] c"warning: hexadecimal length %d of line %d does not match expected value of %d! skipping line '%s'\0A\00", align 1 @.str.17 = private unnamed_addr constant [52 x i8] c"error %d writing binary for line %d to output!: %s\0A\00", align 1 @.str.18 = private unnamed_addr constant [48 x i8] c"error %d writing binary for line %d to output!\0A\00", align 1 @.str.19 = private unnamed_addr constant [46 x i8] c"successfully converted %u hexadecimal lines.\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 i64, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i64, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i64, align 8 %22 = alloca ptr, align 8 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i64, align 8 %26 = 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 %27 = load ptr, ptr @stdin, align 8 store ptr %27, ptr %6, align 8 %28 = load ptr, ptr @stdout, align 8 store ptr %28, ptr %7, align 8 store i64 0, ptr %8, align 8 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 store ptr null, ptr %13, align 8 store ptr null, ptr %14, align 8 store i64 0, ptr %15, align 8 store ptr null, ptr %16, align 8 store ptr null, ptr %17, align 8 br label %29 29: ; preds = %2 store i32 1, ptr %11, align 4 br label %30 30: ; preds = %195, %29 %31 = load i32, ptr %11, align 4 %32 = load i32, ptr %4, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %34, label %198 34: ; preds = %30 %35 = load ptr, ptr %5, align 8 %36 = load i32, ptr %11, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds ptr, ptr %35, i64 %37 %39 = load ptr, ptr %38, align 8 %40 = call i32 @strcmp(ptr noundef %39, ptr noundef @.str) %41 = icmp ne i32 %40, 0 br i1 %41, label %71, label %42 42: ; preds = %34 %43 = load i32, ptr %11, align 4 %44 = add nsw i32 %43, 1 %45 = load i32, ptr %4, align 4 %46 = icmp slt i32 %44, %45 br i1 %46, label %47, label %71 47: ; preds = %42 %48 = load ptr, ptr %5, align 8 %49 = load i32, ptr %11, align 4 %50 = add nsw i32 %49, 1 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds ptr, ptr %48, i64 %51 %53 = load ptr, ptr %52, align 8 %54 = call i32 @atoi(ptr noundef %53) store i32 %54, ptr %18, align 4 %55 = load i32, ptr %18, align 4 %56 = icmp sle i32 %55, 0 br i1 %56, label %57, label %66 57: ; preds = %47 %58 = load i32, ptr @stderr, align 4 %59 = load ptr, ptr %5, align 8 %60 = load i32, ptr %11, align 4 %61 = add nsw i32 %60, 1 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds ptr, ptr %59, i64 %62 %64 = load ptr, ptr %63, align 8 %65 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %58, ptr noundef @.str.1, ptr noundef %64) store i32 10, ptr %10, align 4 br label %198 66: ; preds = %47 %67 = load i32, ptr %18, align 4 %68 = sext i32 %67 to i64 store i64 %68, ptr %8, align 8 %69 = load i32, ptr %11, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %11, align 4 br label %194 71: ; preds = %42, %34 %72 = load ptr, ptr %5, align 8 %73 = load i32, ptr %11, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds ptr, ptr %72, i64 %74 %76 = load ptr, ptr %75, align 8 %77 = call i32 @strcmp(ptr noundef %76, ptr noundef @.str.2) %78 = icmp ne i32 %77, 0 br i1 %78, label %95, label %79 79: ; preds = %71 %80 = load i32, ptr %11, align 4 %81 = add nsw i32 %80, 1 %82 = load i32, ptr %4, align 4 %83 = icmp slt i32 %81, %82 br i1 %83, label %84, label %95 84: ; preds = %79 %85 = load ptr, ptr %5, align 8 %86 = load i32, ptr %11, align 4 %87 = add nsw i32 %86, 1 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds ptr, ptr %85, i64 %88 %90 = load ptr, ptr %89, align 8 %91 = call i64 @atol(ptr noundef %90) %92 = mul nsw i64 %91, 1024 store i64 %92, ptr %15, align 8 %93 = load i32, ptr %11, align 4 %94 = add nsw i32 %93, 1 store i32 %94, ptr %11, align 4 br label %193 95: ; preds = %79, %71 %96 = load ptr, ptr %5, align 8 %97 = load i32, ptr %11, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds ptr, ptr %96, i64 %98 %100 = load ptr, ptr %99, align 8 %101 = call i32 @strcmp(ptr noundef %100, ptr noundef @.str.3) %102 = icmp ne i32 %101, 0 br i1 %102, label %130, label %103 103: ; preds = %95 %104 = load i32, ptr %11, align 4 %105 = add nsw i32 %104, 1 %106 = load i32, ptr %4, align 4 %107 = icmp slt i32 %105, %106 br i1 %107, label %108, label %130 108: ; preds = %103 %109 = load ptr, ptr %5, align 8 %110 = load i32, ptr %11, align 4 %111 = add nsw i32 %110, 1 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds ptr, ptr %109, i64 %112 %114 = load ptr, ptr %113, align 8 %115 = call ptr @fopen(ptr noundef %114, ptr noundef @.str.4) store ptr %115, ptr %6, align 8 %116 = load ptr, ptr %6, align 8 %117 = icmp ne ptr %116, null br i1 %117, label %127, label %118 118: ; preds = %108 %119 = load i32, ptr @stderr, align 4 %120 = load ptr, ptr %5, align 8 %121 = load i32, ptr %11, align 4 %122 = add nsw i32 %121, 1 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds ptr, ptr %120, i64 %123 %125 = load ptr, ptr %124, align 8 %126 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %119, ptr noundef @.str.5, ptr noundef %125) store i32 10, ptr %10, align 4 br label %198 127: ; preds = %108 %128 = load i32, ptr %11, align 4 %129 = add nsw i32 %128, 1 store i32 %129, ptr %11, align 4 br label %192 130: ; preds = %103, %95 %131 = load ptr, ptr %5, align 8 %132 = load i32, ptr %11, align 4 %133 = sext i32 %132 to i64 %134 = getelementptr inbounds ptr, ptr %131, i64 %133 %135 = load ptr, ptr %134, align 8 %136 = call i32 @strcmp(ptr noundef %135, ptr noundef @.str.6) %137 = icmp ne i32 %136, 0 br i1 %137, label %165, label %138 138: ; preds = %130 %139 = load i32, ptr %11, align 4 %140 = add nsw i32 %139, 1 %141 = load i32, ptr %4, align 4 %142 = icmp slt i32 %140, %141 br i1 %142, label %143, label %165 143: ; preds = %138 %144 = load ptr, ptr %5, align 8 %145 = load i32, ptr %11, 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 ptr @fopen(ptr noundef %149, ptr noundef @.str.7) store ptr %150, ptr %7, align 8 %151 = load ptr, ptr %7, align 8 %152 = icmp ne ptr %151, null br i1 %152, label %162, label %153 153: ; preds = %143 %154 = load i32, ptr @stderr, align 4 %155 = load ptr, ptr %5, align 8 %156 = load i32, ptr %11, align 4 %157 = add nsw i32 %156, 1 %158 = sext i32 %157 to i64 %159 = getelementptr inbounds ptr, ptr %155, i64 %158 %160 = load ptr, ptr %159, align 8 %161 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %154, ptr noundef @.str.8, ptr noundef %160) store i32 10, ptr %10, align 4 br label %198 162: ; preds = %143 %163 = load i32, ptr %11, align 4 %164 = add nsw i32 %163, 1 store i32 %164, ptr %11, align 4 br label %191 165: ; preds = %138, %130 %166 = load ptr, ptr %5, align 8 %167 = load i32, ptr %11, align 4 %168 = sext i32 %167 to i64 %169 = getelementptr inbounds ptr, ptr %166, i64 %168 %170 = load ptr, ptr %169, align 8 %171 = call i32 @strcmp(ptr noundef %170, ptr noundef @.str.9) %172 = icmp ne i32 %171, 0 br i1 %172, label %173, label %181 173: ; preds = %165 %174 = load ptr, ptr %5, align 8 %175 = load i32, ptr %11, align 4 %176 = sext i32 %175 to i64 %177 = getelementptr inbounds ptr, ptr %174, i64 %176 %178 = load ptr, ptr %177, align 8 %179 = call i32 @strcmp(ptr noundef %178, ptr noundef @.str.10) %180 = icmp ne i32 %179, 0 br i1 %180, label %182, label %181 181: ; preds = %173, %165 store i32 1, ptr %9, align 4 br label %190 182: ; preds = %173 %183 = load i32, ptr @stderr, align 4 %184 = load ptr, ptr %5, align 8 %185 = load i32, ptr %11, align 4 %186 = sext i32 %185 to i64 %187 = getelementptr inbounds ptr, ptr %184, i64 %186 %188 = load ptr, ptr %187, align 8 %189 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %183, ptr noundef @.str.11, ptr noundef %188) store i32 1, ptr %9, align 4 br label %190 190: ; preds = %182, %181 br label %191 191: ; preds = %190, %162 br label %192 192: ; preds = %191, %127 br label %193 193: ; preds = %192, %84 br label %194 194: ; preds = %193, %66 br label %195 195: ; preds = %194 %196 = load i32, ptr %11, align 4 %197 = add nsw i32 %196, 1 store i32 %197, ptr %11, align 4 br label %30, !llvm.loop !6 198: ; preds = %153, %118, %57, %30 %199 = load i32, ptr %10, align 4 %200 = icmp ne i32 %199, 0 br i1 %200, label %201, label %202 201: ; preds = %198 br label %398 202: ; preds = %198 %203 = load i32, ptr %9, align 4 %204 = icmp ne i32 %203, 0 br i1 %204, label %205, label %207 205: ; preds = %202 %206 = call i32 (...) @usage() store i32 1, ptr %10, align 4 br label %398 207: ; preds = %202 %208 = load i64, ptr %8, align 8 %209 = icmp ugt i64 %208, 0 br i1 %209, label %210, label %214 210: ; preds = %207 %211 = load i64, ptr %8, align 8 %212 = mul i64 %211, 3 %213 = add i64 %212, 16 br label %215 214: ; preds = %207 br label %215 215: ; preds = %214, %210 %216 = phi i64 [ %213, %210 ], [ 1024, %214 ] %217 = trunc i64 %216 to i32 store i32 %217, ptr %19, align 4 %218 = load ptr, ptr %13, align 8 %219 = call i32 @free(ptr noundef %218) %220 = load i32, ptr %19, align 4 %221 = sext i32 %220 to i64 %222 = mul i64 %221, 1 %223 = trunc i64 %222 to i32 %224 = call ptr @malloc(i32 noundef %223) store ptr %224, ptr %13, align 8 %225 = load ptr, ptr %13, align 8 %226 = icmp ne ptr %225, null br i1 %226, label %234, label %227 227: ; preds = %215 %228 = load i32, ptr @stderr, align 4 %229 = load i32, ptr %19, align 4 %230 = sext i32 %229 to i64 %231 = mul i64 %230, 1 %232 = trunc i64 %231 to i32 %233 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %228, ptr noundef @.str.12, i32 noundef %232) store i32 10, ptr %10, align 4 br label %398 234: ; preds = %215 %235 = load i64, ptr %8, align 8 %236 = icmp ugt i64 %235, 0 br i1 %236, label %237, label %253 237: ; preds = %234 %238 = load ptr, ptr %14, align 8 %239 = call i32 @free(ptr noundef %238) %240 = load i64, ptr %8, align 8 %241 = mul i64 %240, 1 %242 = trunc i64 %241 to i32 %243 = call ptr @malloc(i32 noundef %242) store ptr %243, ptr %14, align 8 %244 = load ptr, ptr %14, align 8 %245 = icmp ne ptr %244, null br i1 %245, label %252, label %246 246: ; preds = %237 %247 = load i32, ptr @stderr, align 4 %248 = load i64, ptr %8, align 8 %249 = mul i64 %248, 1 %250 = trunc i64 %249 to i32 %251 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %247, ptr noundef @.str.13, i32 noundef %250) store i32 10, ptr %10, align 4 br label %398 252: ; preds = %237 br label %253 253: ; preds = %252, %234 store i32 0, ptr %20, align 4 %254 = load i64, ptr %15, align 8 %255 = icmp ne i64 %254, 0 br i1 %255, label %256, label %258 256: ; preds = %253 %257 = load i64, ptr %15, align 8 br label %259 258: ; preds = %253 br label %259 259: ; preds = %258, %256 %260 = phi i64 [ %257, %256 ], [ 65536, %258 ] store i64 %260, ptr %21, align 8 %261 = load i64, ptr %21, align 8 %262 = trunc i64 %261 to i32 %263 = call ptr @malloc(i32 noundef %262) store ptr %263, ptr %16, align 8 %264 = load i64, ptr %21, align 8 %265 = trunc i64 %264 to i32 %266 = call ptr @malloc(i32 noundef %265) store ptr %266, ptr %17, align 8 %267 = load ptr, ptr %16, align 8 %268 = icmp ne ptr %267, null br i1 %268, label %269, label %274 269: ; preds = %259 %270 = load ptr, ptr %6, align 8 %271 = load ptr, ptr %16, align 8 %272 = load i64, ptr %21, align 8 %273 = call i32 @setbuffer(ptr noundef %270, ptr noundef %271, i64 noundef %272) br label %274 274: ; preds = %269, %259 %275 = load ptr, ptr %17, align 8 %276 = icmp ne ptr %275, null br i1 %276, label %277, label %282 277: ; preds = %274 %278 = load ptr, ptr %7, align 8 %279 = load ptr, ptr %17, align 8 %280 = load i64, ptr %21, align 8 %281 = call i32 @setbuffer(ptr noundef %278, ptr noundef %279, i64 noundef %280) br label %282 282: ; preds = %277, %274 br label %283 283: ; preds = %396, %282 %284 = load i32, ptr %10, align 4 %285 = icmp ne i32 %284, 0 br i1 %285, label %291, label %286 286: ; preds = %283 %287 = load ptr, ptr %6, align 8 %288 = call i32 @feof(ptr noundef %287) %289 = icmp ne i32 %288, 0 %290 = xor i1 %289, true br label %291 291: ; preds = %286, %283 %292 = phi i1 [ false, %283 ], [ %290, %286 ] br i1 %292, label %293, label %397 293: ; preds = %291 %294 = load ptr, ptr %13, align 8 %295 = load i32, ptr %19, align 4 %296 = load ptr, ptr %6, align 8 %297 = call ptr @fgets(ptr noundef %294, i32 noundef %295, ptr noundef %296) store ptr %297, ptr %22, align 8 %298 = load ptr, ptr %22, align 8 %299 = icmp ne ptr %298, null br i1 %299, label %300, label %396 300: ; preds = %293 %301 = load i32, ptr %20, align 4 %302 = add nsw i32 %301, 1 store i32 %302, ptr %20, align 4 %303 = load i64, ptr %8, align 8 %304 = icmp ne i64 %303, 0 br i1 %304, label %342, label %305 305: ; preds = %300 %306 = load ptr, ptr %13, align 8 %307 = call i32 @hashLen(ptr noundef %306) store i32 %307, ptr %23, align 4 %308 = load i32, ptr %23, align 4 %309 = icmp sle i32 %308, 0 br i1 %309, label %314, label %310 310: ; preds = %305 %311 = load i32, ptr %23, align 4 %312 = and i32 %311, 1 %313 = icmp ne i32 %312, 0 br i1 %313, label %314, label %318 314: ; preds = %310, %305 %315 = load i32, ptr @stderr, align 4 %316 = load i32, ptr %23, align 4 %317 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %315, ptr noundef @.str.14, i32 noundef %316) store i32 10, ptr %10, align 4 br label %397 318: ; preds = %310 %319 = load i32, ptr %23, align 4 %320 = sdiv i32 %319, 2 %321 = sext i32 %320 to i64 store i64 %321, ptr %8, align 8 %322 = load i32, ptr @stderr, align 4 %323 = load i64, ptr %8, align 8 %324 = trunc i64 %323 to i32 %325 = load i32, ptr %23, align 4 %326 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %322, ptr noundef @.str.15, i32 noundef %324, i32 noundef %325) %327 = load ptr, ptr %14, align 8 %328 = call i32 @free(ptr noundef %327) %329 = load i64, ptr %8, align 8 %330 = mul i64 %329, 1 %331 = trunc i64 %330 to i32 %332 = call ptr @malloc(i32 noundef %331) store ptr %332, ptr %14, align 8 %333 = load ptr, ptr %14, align 8 %334 = icmp ne ptr %333, null br i1 %334, label %341, label %335 335: ; preds = %318 %336 = load i32, ptr @stderr, align 4 %337 = load i64, ptr %8, align 8 %338 = mul i64 %337, 1 %339 = trunc i64 %338 to i32 %340 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %336, ptr noundef @.str.13, i32 noundef %339) store i32 10, ptr %10, align 4 br label %397 341: ; preds = %318 br label %342 342: ; preds = %341, %300 %343 = load ptr, ptr %13, align 8 %344 = load i64, ptr %8, align 8 %345 = load ptr, ptr %14, align 8 %346 = call i32 @convertHash(ptr noundef %343, i64 noundef %344, ptr noundef %345) store i32 %346, ptr %24, align 4 %347 = load i32, ptr %24, align 4 %348 = icmp ne i32 %347, 0 br i1 %348, label %350, label %349 349: ; preds = %342 br label %395 350: ; preds = %342 %351 = load i32, ptr %24, align 4 %352 = icmp slt i32 %351, 0 br i1 %352, label %358, label %353 353: ; preds = %350 %354 = load i32, ptr %24, align 4 %355 = sext i32 %354 to i64 %356 = load i64, ptr %8, align 8 %357 = icmp ne i64 %355, %356 br i1 %357, label %358, label %366 358: ; preds = %353, %350 %359 = load i32, ptr @stderr, align 4 %360 = load i32, ptr %24, align 4 %361 = load i32, ptr %20, align 4 %362 = load i64, ptr %8, align 8 %363 = trunc i64 %362 to i32 %364 = load ptr, ptr %13, align 8 %365 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %359, ptr noundef @.str.16, i32 noundef %360, i32 noundef %361, i32 noundef %363, ptr noundef %364) br label %394 366: ; preds = %353 %367 = load ptr, ptr %14, align 8 %368 = load i64, ptr %8, align 8 %369 = load ptr, ptr %7, align 8 %370 = call i64 @fwrite(ptr noundef %367, i64 noundef %368, i32 noundef 1, ptr noundef %369) store i64 %370, ptr %25, align 8 %371 = load i64, ptr %25, align 8 %372 = icmp ne i64 %371, 1 br i1 %372, label %373, label %391 373: ; preds = %366 %374 = load ptr, ptr %7, align 8 %375 = call i32 @ferror(ptr noundef %374) store i32 %375, ptr %26, align 4 %376 = load i32, ptr %26, align 4 %377 = icmp ne i32 %376, 0 br i1 %377, label %378, label %385 378: ; preds = %373 %379 = load i32, ptr @stderr, align 4 %380 = load i32, ptr %26, align 4 %381 = load i32, ptr %20, align 4 %382 = load i32, ptr %26, align 4 %383 = call ptr @strerror(i32 noundef %382) %384 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %379, ptr noundef @.str.17, i32 noundef %380, i32 noundef %381, ptr noundef %383) br label %390 385: ; preds = %373 %386 = load i32, ptr @stderr, align 4 %387 = load i32, ptr %26, align 4 %388 = load i32, ptr %20, align 4 %389 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %386, ptr noundef @.str.18, i32 noundef %387, i32 noundef %388) br label %390 390: ; preds = %385, %378 store i32 10, ptr %10, align 4 br label %397 391: ; preds = %366 %392 = load i32, ptr %12, align 4 %393 = add i32 %392, 1 store i32 %393, ptr %12, align 4 br label %394 394: ; preds = %391, %358 br label %395 395: ; preds = %394, %349 br label %396 396: ; preds = %395, %293 br label %283, !llvm.loop !8 397: ; preds = %390, %335, %314, %291 br label %398 398: ; preds = %397, %246, %227, %205, %201 %399 = load ptr, ptr %13, align 8 %400 = call i32 @free(ptr noundef %399) %401 = load ptr, ptr %14, align 8 %402 = call i32 @free(ptr noundef %401) %403 = load i32, ptr %12, align 4 %404 = icmp ne i32 %403, 0 br i1 %404, label %405, label %409 405: ; preds = %398 %406 = load i32, ptr @stderr, align 4 %407 = load i32, ptr %12, align 4 %408 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %406, ptr noundef @.str.19, i32 noundef %407) br label %409 409: ; preds = %405, %398 %410 = load ptr, ptr %7, align 8 %411 = load ptr, ptr @stdout, align 8 %412 = icmp ne ptr %410, %411 br i1 %412, label %413, label %418 413: ; preds = %409 %414 = load ptr, ptr %7, align 8 %415 = call i32 @fclose(ptr noundef %414) %416 = load ptr, ptr %17, align 8 %417 = call i32 @free(ptr noundef %416) br label %418 418: ; preds = %413, %409 %419 = load ptr, ptr %6, align 8 %420 = load ptr, ptr @stdin, align 8 %421 = icmp ne ptr %419, %420 br i1 %421, label %422, label %427 422: ; preds = %418 %423 = load ptr, ptr %6, align 8 %424 = call i32 @fclose(ptr noundef %423) %425 = load ptr, ptr %16, align 8 %426 = call i32 @free(ptr noundef %425) br label %427 427: ; preds = %422, %418 %428 = load i32, ptr %10, align 4 ret i32 %428 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i64 @atol(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @usage(...) #1 declare i32 @free(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @setbuffer(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @feof(ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @hashLen(ptr noundef) #1 declare i32 @convertHash(ptr noundef, i64 noundef, ptr noundef) #1 declare i64 @fwrite(ptr noundef, i64 noundef, i32 noundef, ptr noundef) #1 declare i32 @ferror(ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp367auwgc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global ptr null, align 8 @stdout = dso_local global ptr null, align 8 @.str = private unnamed_addr constant [3 x i8] c"-n\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [54 x i8] c"error: rawSize (value for '-n' = '%s') must be > 0 !\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"-B\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"-i\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.5 = private unnamed_addr constant [45 x i8] c"error: input file '%s' could not be opened!\0A\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"-o\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.8 = private unnamed_addr constant [46 x i8] c"error: output file '%s' could not be opened!\0A\00", align 1 @.str.9 = private unnamed_addr constant [3 x i8] c"-h\00", align 1 @.str.10 = private unnamed_addr constant [7 x i8] c"--help\00", align 1 @.str.11 = private unnamed_addr constant [30 x i8] c"error: ignoring option '%s'!\0A\00", align 1 @.str.12 = private unnamed_addr constant [43 x i8] c"error allocating line buffer of %u bytes!\0A\00", align 1 @.str.13 = private unnamed_addr constant [45 x i8] c"error allocating binary buffer of %u bytes!\0A\00", align 1 @.str.14 = private unnamed_addr constant [59 x i8] c"error: hexadecimal length of 1st line (=%d) must be even!\0A\00", align 1 @.str.15 = private unnamed_addr constant [53 x i8] c"info: using rawSize %d from 1st line with hexLen %d\0A\00", align 1 @.str.16 = private unnamed_addr constant [99 x i8] c"warning: hexadecimal length %d of line %d does not match expected value of %d! skipping line '%s'\0A\00", align 1 @.str.17 = private unnamed_addr constant [52 x i8] c"error %d writing binary for line %d to output!: %s\0A\00", align 1 @.str.18 = private unnamed_addr constant [48 x i8] c"error %d writing binary for line %d to output!\0A\00", align 1 @.str.19 = private unnamed_addr constant [46 x i8] c"successfully converted %u hexadecimal lines.\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 i64, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i64, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i64, align 8 %22 = alloca ptr, align 8 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i64, align 8 %26 = 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 %27 = load ptr, ptr @stdin, align 8 store ptr %27, ptr %6, align 8 %28 = load ptr, ptr @stdout, align 8 store ptr %28, ptr %7, align 8 store i64 0, ptr %8, align 8 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 store ptr null, ptr %13, align 8 store ptr null, ptr %14, align 8 store i64 0, ptr %15, align 8 store ptr null, ptr %16, align 8 store ptr null, ptr %17, align 8 br label %29 29: ; preds = %2 store i32 1, ptr %11, align 4 %30 = load i32, ptr %11, align 4 %31 = load i32, ptr %4, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %.lr.ph, label %.loopexit1 .lr.ph: ; preds = %29 br label %33 33: ; preds = %.lr.ph, %194 %34 = load ptr, ptr %5, align 8 %35 = load i32, ptr %11, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds ptr, ptr %34, i64 %36 %38 = load ptr, ptr %37, align 8 %39 = call i32 @strcmp(ptr noundef %38, ptr noundef @.str) %40 = icmp ne i32 %39, 0 br i1 %40, label %70, label %41 41: ; preds = %33 %42 = load i32, ptr %11, align 4 %43 = add nsw i32 %42, 1 %44 = load i32, ptr %4, align 4 %45 = icmp slt i32 %43, %44 br i1 %45, label %46, label %70 46: ; preds = %41 %47 = load ptr, ptr %5, align 8 %48 = load i32, ptr %11, align 4 %49 = add nsw i32 %48, 1 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds ptr, ptr %47, i64 %50 %52 = load ptr, ptr %51, align 8 %53 = call i32 @atoi(ptr noundef %52) store i32 %53, ptr %18, align 4 %54 = load i32, ptr %18, align 4 %55 = icmp sle i32 %54, 0 br i1 %55, label %56, label %65 56: ; preds = %46 %57 = load i32, ptr @stderr, align 4 %58 = load ptr, ptr %5, align 8 %59 = load i32, ptr %11, align 4 %60 = add nsw i32 %59, 1 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds ptr, ptr %58, i64 %61 %63 = load ptr, ptr %62, align 8 %64 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %57, ptr noundef @.str.1, ptr noundef %63) store i32 10, ptr %10, align 4 br label %200 65: ; preds = %46 %66 = load i32, ptr %18, align 4 %67 = sext i32 %66 to i64 store i64 %67, ptr %8, align 8 %68 = load i32, ptr %11, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %11, align 4 br label %193 70: ; preds = %41, %33 %71 = load ptr, ptr %5, align 8 %72 = load i32, ptr %11, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds ptr, ptr %71, i64 %73 %75 = load ptr, ptr %74, align 8 %76 = call i32 @strcmp(ptr noundef %75, ptr noundef @.str.2) %77 = icmp ne i32 %76, 0 br i1 %77, label %94, label %78 78: ; preds = %70 %79 = load i32, ptr %11, align 4 %80 = add nsw i32 %79, 1 %81 = load i32, ptr %4, align 4 %82 = icmp slt i32 %80, %81 br i1 %82, label %83, label %94 83: ; preds = %78 %84 = load ptr, ptr %5, align 8 %85 = load i32, ptr %11, align 4 %86 = add nsw i32 %85, 1 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds ptr, ptr %84, i64 %87 %89 = load ptr, ptr %88, align 8 %90 = call i64 @atol(ptr noundef %89) %91 = mul nsw i64 %90, 1024 store i64 %91, ptr %15, align 8 %92 = load i32, ptr %11, align 4 %93 = add nsw i32 %92, 1 store i32 %93, ptr %11, align 4 br label %192 94: ; preds = %78, %70 %95 = load ptr, ptr %5, align 8 %96 = load i32, ptr %11, 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 @strcmp(ptr noundef %99, ptr noundef @.str.3) %101 = icmp ne i32 %100, 0 br i1 %101, label %129, label %102 102: ; preds = %94 %103 = load i32, ptr %11, align 4 %104 = add nsw i32 %103, 1 %105 = load i32, ptr %4, align 4 %106 = icmp slt i32 %104, %105 br i1 %106, label %107, label %129 107: ; preds = %102 %108 = load ptr, ptr %5, align 8 %109 = load i32, ptr %11, align 4 %110 = add nsw i32 %109, 1 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds ptr, ptr %108, i64 %111 %113 = load ptr, ptr %112, align 8 %114 = call ptr @fopen(ptr noundef %113, ptr noundef @.str.4) store ptr %114, ptr %6, align 8 %115 = load ptr, ptr %6, align 8 %116 = icmp ne ptr %115, null br i1 %116, label %126, label %117 117: ; preds = %107 %118 = load i32, ptr @stderr, align 4 %119 = load ptr, ptr %5, align 8 %120 = load i32, ptr %11, align 4 %121 = add nsw i32 %120, 1 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds ptr, ptr %119, i64 %122 %124 = load ptr, ptr %123, align 8 %125 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %118, ptr noundef @.str.5, ptr noundef %124) store i32 10, ptr %10, align 4 br label %200 126: ; preds = %107 %127 = load i32, ptr %11, align 4 %128 = add nsw i32 %127, 1 store i32 %128, ptr %11, align 4 br label %191 129: ; preds = %102, %94 %130 = load ptr, ptr %5, align 8 %131 = load i32, ptr %11, align 4 %132 = sext i32 %131 to i64 %133 = getelementptr inbounds ptr, ptr %130, i64 %132 %134 = load ptr, ptr %133, align 8 %135 = call i32 @strcmp(ptr noundef %134, ptr noundef @.str.6) %136 = icmp ne i32 %135, 0 br i1 %136, label %164, label %137 137: ; preds = %129 %138 = load i32, ptr %11, align 4 %139 = add nsw i32 %138, 1 %140 = load i32, ptr %4, align 4 %141 = icmp slt i32 %139, %140 br i1 %141, label %142, label %164 142: ; preds = %137 %143 = load ptr, ptr %5, align 8 %144 = load i32, ptr %11, align 4 %145 = add nsw i32 %144, 1 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds ptr, ptr %143, i64 %146 %148 = load ptr, ptr %147, align 8 %149 = call ptr @fopen(ptr noundef %148, ptr noundef @.str.7) store ptr %149, ptr %7, align 8 %150 = load ptr, ptr %7, align 8 %151 = icmp ne ptr %150, null br i1 %151, label %161, label %152 152: ; preds = %142 %153 = load i32, ptr @stderr, align 4 %154 = load ptr, ptr %5, align 8 %155 = load i32, ptr %11, align 4 %156 = add nsw i32 %155, 1 %157 = sext i32 %156 to i64 %158 = getelementptr inbounds ptr, ptr %154, i64 %157 %159 = load ptr, ptr %158, align 8 %160 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %153, ptr noundef @.str.8, ptr noundef %159) store i32 10, ptr %10, align 4 br label %200 161: ; preds = %142 %162 = load i32, ptr %11, align 4 %163 = add nsw i32 %162, 1 store i32 %163, ptr %11, align 4 br label %190 164: ; preds = %137, %129 %165 = load ptr, ptr %5, align 8 %166 = load i32, ptr %11, align 4 %167 = sext i32 %166 to i64 %168 = getelementptr inbounds ptr, ptr %165, i64 %167 %169 = load ptr, ptr %168, align 8 %170 = call i32 @strcmp(ptr noundef %169, ptr noundef @.str.9) %171 = icmp ne i32 %170, 0 br i1 %171, label %172, label %180 172: ; preds = %164 %173 = load ptr, ptr %5, align 8 %174 = load i32, ptr %11, align 4 %175 = sext i32 %174 to i64 %176 = getelementptr inbounds ptr, ptr %173, i64 %175 %177 = load ptr, ptr %176, align 8 %178 = call i32 @strcmp(ptr noundef %177, ptr noundef @.str.10) %179 = icmp ne i32 %178, 0 br i1 %179, label %181, label %180 180: ; preds = %172, %164 store i32 1, ptr %9, align 4 br label %189 181: ; preds = %172 %182 = load i32, ptr @stderr, align 4 %183 = load ptr, ptr %5, align 8 %184 = load i32, ptr %11, align 4 %185 = sext i32 %184 to i64 %186 = getelementptr inbounds ptr, ptr %183, i64 %185 %187 = load ptr, ptr %186, align 8 %188 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %182, ptr noundef @.str.11, ptr noundef %187) store i32 1, ptr %9, align 4 br label %189 189: ; preds = %181, %180 br label %190 190: ; preds = %189, %161 br label %191 191: ; preds = %190, %126 br label %192 192: ; preds = %191, %83 br label %193 193: ; preds = %192, %65 br label %194 194: ; preds = %193 %195 = load i32, ptr %11, align 4 %196 = add nsw i32 %195, 1 store i32 %196, ptr %11, align 4 %197 = load i32, ptr %11, align 4 %198 = load i32, ptr %4, align 4 %199 = icmp slt i32 %197, %198 br i1 %199, label %33, label %..loopexit1_crit_edge, !llvm.loop !6 ..loopexit1_crit_edge: ; preds = %194 br label %.loopexit1 .loopexit1: ; preds = %..loopexit1_crit_edge, %29 br label %200 200: ; preds = %.loopexit1, %152, %117, %56 %201 = load i32, ptr %10, align 4 %202 = icmp ne i32 %201, 0 br i1 %202, label %203, label %204 203: ; preds = %200 br label %400 204: ; preds = %200 %205 = load i32, ptr %9, align 4 %206 = icmp ne i32 %205, 0 br i1 %206, label %207, label %209 207: ; preds = %204 %208 = call i32 (...) @usage() store i32 1, ptr %10, align 4 br label %400 209: ; preds = %204 %210 = load i64, ptr %8, align 8 %211 = icmp ugt i64 %210, 0 br i1 %211, label %212, label %216 212: ; preds = %209 %213 = load i64, ptr %8, align 8 %214 = mul i64 %213, 3 %215 = add i64 %214, 16 br label %217 216: ; preds = %209 br label %217 217: ; preds = %216, %212 %218 = phi i64 [ %215, %212 ], [ 1024, %216 ] %219 = trunc i64 %218 to i32 store i32 %219, ptr %19, align 4 %220 = load ptr, ptr %13, align 8 %221 = call i32 @free(ptr noundef %220) %222 = load i32, ptr %19, align 4 %223 = sext i32 %222 to i64 %224 = mul i64 %223, 1 %225 = trunc i64 %224 to i32 %226 = call ptr @malloc(i32 noundef %225) store ptr %226, ptr %13, align 8 %227 = load ptr, ptr %13, align 8 %228 = icmp ne ptr %227, null br i1 %228, label %236, label %229 229: ; preds = %217 %230 = load i32, ptr @stderr, align 4 %231 = load i32, ptr %19, align 4 %232 = sext i32 %231 to i64 %233 = mul i64 %232, 1 %234 = trunc i64 %233 to i32 %235 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %230, ptr noundef @.str.12, i32 noundef %234) store i32 10, ptr %10, align 4 br label %400 236: ; preds = %217 %237 = load i64, ptr %8, align 8 %238 = icmp ugt i64 %237, 0 br i1 %238, label %239, label %255 239: ; preds = %236 %240 = load ptr, ptr %14, align 8 %241 = call i32 @free(ptr noundef %240) %242 = load i64, ptr %8, align 8 %243 = mul i64 %242, 1 %244 = trunc i64 %243 to i32 %245 = call ptr @malloc(i32 noundef %244) store ptr %245, ptr %14, align 8 %246 = load ptr, ptr %14, align 8 %247 = icmp ne ptr %246, null br i1 %247, label %254, label %248 248: ; preds = %239 %249 = load i32, ptr @stderr, align 4 %250 = load i64, ptr %8, align 8 %251 = mul i64 %250, 1 %252 = trunc i64 %251 to i32 %253 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %249, ptr noundef @.str.13, i32 noundef %252) store i32 10, ptr %10, align 4 br label %400 254: ; preds = %239 br label %255 255: ; preds = %254, %236 store i32 0, ptr %20, align 4 %256 = load i64, ptr %15, align 8 %257 = icmp ne i64 %256, 0 br i1 %257, label %258, label %260 258: ; preds = %255 %259 = load i64, ptr %15, align 8 br label %261 260: ; preds = %255 br label %261 261: ; preds = %260, %258 %262 = phi i64 [ %259, %258 ], [ 65536, %260 ] store i64 %262, ptr %21, align 8 %263 = load i64, ptr %21, align 8 %264 = trunc i64 %263 to i32 %265 = call ptr @malloc(i32 noundef %264) store ptr %265, ptr %16, align 8 %266 = load i64, ptr %21, align 8 %267 = trunc i64 %266 to i32 %268 = call ptr @malloc(i32 noundef %267) store ptr %268, ptr %17, align 8 %269 = load ptr, ptr %16, align 8 %270 = icmp ne ptr %269, null br i1 %270, label %271, label %276 271: ; preds = %261 %272 = load ptr, ptr %6, align 8 %273 = load ptr, ptr %16, align 8 %274 = load i64, ptr %21, align 8 %275 = call i32 @setbuffer(ptr noundef %272, ptr noundef %273, i64 noundef %274) br label %276 276: ; preds = %271, %261 %277 = load ptr, ptr %17, align 8 %278 = icmp ne ptr %277, null br i1 %278, label %279, label %284 279: ; preds = %276 %280 = load ptr, ptr %7, align 8 %281 = load ptr, ptr %17, align 8 %282 = load i64, ptr %21, align 8 %283 = call i32 @setbuffer(ptr noundef %280, ptr noundef %281, i64 noundef %282) br label %284 284: ; preds = %279, %276 br label %285 285: ; preds = %398, %284 %286 = load i32, ptr %10, align 4 %287 = icmp ne i32 %286, 0 br i1 %287, label %293, label %288 288: ; preds = %285 %289 = load ptr, ptr %6, align 8 %290 = call i32 @feof(ptr noundef %289) %291 = icmp ne i32 %290, 0 %292 = xor i1 %291, true br label %293 293: ; preds = %288, %285 %294 = phi i1 [ false, %285 ], [ %292, %288 ] br i1 %294, label %295, label %.loopexit 295: ; preds = %293 %296 = load ptr, ptr %13, align 8 %297 = load i32, ptr %19, align 4 %298 = load ptr, ptr %6, align 8 %299 = call ptr @fgets(ptr noundef %296, i32 noundef %297, ptr noundef %298) store ptr %299, ptr %22, align 8 %300 = load ptr, ptr %22, align 8 %301 = icmp ne ptr %300, null br i1 %301, label %302, label %398 302: ; preds = %295 %303 = load i32, ptr %20, align 4 %304 = add nsw i32 %303, 1 store i32 %304, ptr %20, align 4 %305 = load i64, ptr %8, align 8 %306 = icmp ne i64 %305, 0 br i1 %306, label %344, label %307 307: ; preds = %302 %308 = load ptr, ptr %13, align 8 %309 = call i32 @hashLen(ptr noundef %308) store i32 %309, ptr %23, align 4 %310 = load i32, ptr %23, align 4 %311 = icmp sle i32 %310, 0 br i1 %311, label %316, label %312 312: ; preds = %307 %313 = load i32, ptr %23, align 4 %314 = and i32 %313, 1 %315 = icmp ne i32 %314, 0 br i1 %315, label %316, label %320 316: ; preds = %312, %307 %317 = load i32, ptr @stderr, align 4 %318 = load i32, ptr %23, align 4 %319 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %317, ptr noundef @.str.14, i32 noundef %318) store i32 10, ptr %10, align 4 br label %399 320: ; preds = %312 %321 = load i32, ptr %23, align 4 %322 = sdiv i32 %321, 2 %323 = sext i32 %322 to i64 store i64 %323, ptr %8, align 8 %324 = load i32, ptr @stderr, align 4 %325 = load i64, ptr %8, align 8 %326 = trunc i64 %325 to i32 %327 = load i32, ptr %23, align 4 %328 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %324, ptr noundef @.str.15, i32 noundef %326, i32 noundef %327) %329 = load ptr, ptr %14, align 8 %330 = call i32 @free(ptr noundef %329) %331 = load i64, ptr %8, align 8 %332 = mul i64 %331, 1 %333 = trunc i64 %332 to i32 %334 = call ptr @malloc(i32 noundef %333) store ptr %334, ptr %14, align 8 %335 = load ptr, ptr %14, align 8 %336 = icmp ne ptr %335, null br i1 %336, label %343, label %337 337: ; preds = %320 %338 = load i32, ptr @stderr, align 4 %339 = load i64, ptr %8, align 8 %340 = mul i64 %339, 1 %341 = trunc i64 %340 to i32 %342 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %338, ptr noundef @.str.13, i32 noundef %341) store i32 10, ptr %10, align 4 br label %399 343: ; preds = %320 br label %344 344: ; preds = %343, %302 %345 = load ptr, ptr %13, align 8 %346 = load i64, ptr %8, align 8 %347 = load ptr, ptr %14, align 8 %348 = call i32 @convertHash(ptr noundef %345, i64 noundef %346, ptr noundef %347) store i32 %348, ptr %24, align 4 %349 = load i32, ptr %24, align 4 %350 = icmp ne i32 %349, 0 br i1 %350, label %352, label %351 351: ; preds = %344 br label %397 352: ; preds = %344 %353 = load i32, ptr %24, align 4 %354 = icmp slt i32 %353, 0 br i1 %354, label %360, label %355 355: ; preds = %352 %356 = load i32, ptr %24, align 4 %357 = sext i32 %356 to i64 %358 = load i64, ptr %8, align 8 %359 = icmp ne i64 %357, %358 br i1 %359, label %360, label %368 360: ; preds = %355, %352 %361 = load i32, ptr @stderr, align 4 %362 = load i32, ptr %24, align 4 %363 = load i32, ptr %20, align 4 %364 = load i64, ptr %8, align 8 %365 = trunc i64 %364 to i32 %366 = load ptr, ptr %13, align 8 %367 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %361, ptr noundef @.str.16, i32 noundef %362, i32 noundef %363, i32 noundef %365, ptr noundef %366) br label %396 368: ; preds = %355 %369 = load ptr, ptr %14, align 8 %370 = load i64, ptr %8, align 8 %371 = load ptr, ptr %7, align 8 %372 = call i64 @fwrite(ptr noundef %369, i64 noundef %370, i32 noundef 1, ptr noundef %371) store i64 %372, ptr %25, align 8 %373 = load i64, ptr %25, align 8 %374 = icmp ne i64 %373, 1 br i1 %374, label %375, label %393 375: ; preds = %368 %376 = load ptr, ptr %7, align 8 %377 = call i32 @ferror(ptr noundef %376) store i32 %377, ptr %26, align 4 %378 = load i32, ptr %26, align 4 %379 = icmp ne i32 %378, 0 br i1 %379, label %380, label %387 380: ; preds = %375 %381 = load i32, ptr @stderr, align 4 %382 = load i32, ptr %26, align 4 %383 = load i32, ptr %20, align 4 %384 = load i32, ptr %26, align 4 %385 = call ptr @strerror(i32 noundef %384) %386 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %381, ptr noundef @.str.17, i32 noundef %382, i32 noundef %383, ptr noundef %385) br label %392 387: ; preds = %375 %388 = load i32, ptr @stderr, align 4 %389 = load i32, ptr %26, align 4 %390 = load i32, ptr %20, align 4 %391 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %388, ptr noundef @.str.18, i32 noundef %389, i32 noundef %390) br label %392 392: ; preds = %387, %380 store i32 10, ptr %10, align 4 br label %399 393: ; preds = %368 %394 = load i32, ptr %12, align 4 %395 = add i32 %394, 1 store i32 %395, ptr %12, align 4 br label %396 396: ; preds = %393, %360 br label %397 397: ; preds = %396, %351 br label %398 398: ; preds = %397, %295 br label %285, !llvm.loop !8 .loopexit: ; preds = %293 br label %399 399: ; preds = %.loopexit, %392, %337, %316 br label %400 400: ; preds = %399, %248, %229, %207, %203 %401 = load ptr, ptr %13, align 8 %402 = call i32 @free(ptr noundef %401) %403 = load ptr, ptr %14, align 8 %404 = call i32 @free(ptr noundef %403) %405 = load i32, ptr %12, align 4 %406 = icmp ne i32 %405, 0 br i1 %406, label %407, label %411 407: ; preds = %400 %408 = load i32, ptr @stderr, align 4 %409 = load i32, ptr %12, align 4 %410 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %408, ptr noundef @.str.19, i32 noundef %409) br label %411 411: ; preds = %407, %400 %412 = load ptr, ptr %7, align 8 %413 = load ptr, ptr @stdout, align 8 %414 = icmp ne ptr %412, %413 br i1 %414, label %415, label %420 415: ; preds = %411 %416 = load ptr, ptr %7, align 8 %417 = call i32 @fclose(ptr noundef %416) %418 = load ptr, ptr %17, align 8 %419 = call i32 @free(ptr noundef %418) br label %420 420: ; preds = %415, %411 %421 = load ptr, ptr %6, align 8 %422 = load ptr, ptr @stdin, align 8 %423 = icmp ne ptr %421, %422 br i1 %423, label %424, label %429 424: ; preds = %420 %425 = load ptr, ptr %6, align 8 %426 = call i32 @fclose(ptr noundef %425) %427 = load ptr, ptr %16, align 8 %428 = call i32 @free(ptr noundef %427) br label %429 429: ; preds = %424, %420 %430 = load i32, ptr %10, align 4 ret i32 %430 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i64 @atol(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @usage(...) #1 declare i32 @free(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @setbuffer(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @feof(ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @hashLen(ptr noundef) #1 declare i32 @convertHash(ptr noundef, i64 noundef, ptr noundef) #1 declare i64 @fwrite(ptr noundef, i64 noundef, i32 noundef, ptr noundef) #1 declare i32 @ferror(ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpkr24p_11.c' source_filename = "/tmp/tmpkr24p_11.c" target datalayout = "e-m:e-p270: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/tmpkr24p_11.c" target datalayout = "e-m:e-p270: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/tmpr7n6lm7x.c' source_filename = "/tmp/tmpr7n6lm7x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.dirent = type { ptr } @.str = private unnamed_addr constant [15 x i8] c"TESTING PIPES\0A\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"Returned: (%d,%d) = %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"/proc/%d/fd\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"Opened the dir (%s): %p\0A\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.7 = private unnamed_addr constant [19 x i8] c"fdopen(): (%p,%p)\0A\00", align 1 @.str.8 = private unnamed_addr constant [11 x i8] c"%d and %d\0A\00", align 1 @.str.9 = private unnamed_addr constant [10 x i8] c"%d and %d\00", align 1 @.str.10 = private unnamed_addr constant [24 x i8] c"Read from pipe: %d, %d\0A\00", align 1 @.str.11 = private unnamed_addr constant [5 x i8] c"more\00", align 1 @.str.12 = private unnamed_addr constant [22 x i8] c"Could not do fopen()\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pipeTest() #0 { %1 = alloca ptr, align 8 %2 = alloca [2 x i32], align 4 %3 = alloca i32, align 4 %4 = alloca [128 x i8], align 16 %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 call void @llvm.memset.p0.i64(ptr align 4 %2, i8 0, i64 8, i1 false) %10 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %11 = call i32 @pipe(ptr noundef %10) store i32 %11, ptr %3, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) %13 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %14 = load i32, ptr %13, align 4 %15 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1 %16 = load i32, ptr %15, align 4 %17 = load i32, ptr %3, align 4 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %14, i32 noundef %16, i32 noundef %17) %19 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0 %20 = call i32 (...) @getpid() %21 = call i32 @sprintf(ptr noundef %19, ptr noundef @.str.2, i32 noundef %20) %22 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0 %23 = call ptr @opendir(ptr noundef %22) store ptr %23, ptr %5, align 8 %24 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0 %25 = load ptr, ptr %5, align 8 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %24, ptr noundef %25) %27 = load ptr, ptr %5, align 8 %28 = icmp ne ptr %27, null br i1 %28, label %29, label %42 29: ; preds = %0 br label %30 30: ; preds = %34, %29 %31 = load ptr, ptr %5, align 8 %32 = call ptr @readdir(ptr noundef %31) store ptr %32, ptr %1, align 8 %33 = icmp ne ptr %32, null br i1 %33, label %34, label %39 34: ; preds = %30 %35 = load ptr, ptr %1, align 8 %36 = getelementptr inbounds %struct.dirent, ptr %35, i32 0, i32 0 %37 = load ptr, ptr %36, align 8 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %37) br label %30, !llvm.loop !6 39: ; preds = %30 %40 = load ptr, ptr %5, align 8 %41 = call i32 @closedir(ptr noundef %40) br label %42 42: ; preds = %39, %0 %43 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %44 = load i32, ptr %43, align 4 %45 = call ptr @fdopen(i32 noundef %44, ptr noundef @.str.5) store ptr %45, ptr %6, align 8 %46 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1 %47 = load i32, ptr %46, align 4 %48 = call ptr @fdopen(i32 noundef %47, ptr noundef @.str.6) store ptr %48, ptr %7, align 8 %49 = load ptr, ptr %6, align 8 %50 = load ptr, ptr %7, align 8 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %49, ptr noundef %50) %52 = load ptr, ptr %6, align 8 %53 = icmp ne ptr %52, null br i1 %53, label %54, label %73 54: ; preds = %42 %55 = load ptr, ptr %7, align 8 %56 = icmp ne ptr %55, null br i1 %56, label %57, label %73 57: ; preds = %54 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 %58 = load ptr, ptr %7, align 8 %59 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %58, ptr noundef @.str.8, i32 noundef 234, i32 noundef 345) %60 = load ptr, ptr %7, align 8 %61 = call i32 @fflush(ptr noundef %60) %62 = load ptr, ptr %6, align 8 %63 = call i32 @fscanf(ptr noundef %62, ptr noundef @.str.9, ptr noundef %8, ptr noundef %9) %64 = load i32, ptr %8, align 4 %65 = load i32, ptr %9, align 4 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %64, i32 noundef %65) %67 = load ptr, ptr %7, align 8 %68 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %67, ptr noundef @.str.11) %69 = load ptr, ptr %6, align 8 %70 = call i32 @fclose(ptr noundef %69) %71 = load ptr, ptr %7, align 8 %72 = call i32 @fclose(ptr noundef %71) br label %75 73: ; preds = %54, %42 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) br label %75 75: ; preds = %73, %57 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @pipe(ptr noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @getpid(...) #2 declare ptr @opendir(ptr noundef) #2 declare ptr @readdir(ptr noundef) #2 declare i32 @closedir(ptr noundef) #2 declare ptr @fdopen(i32 noundef, ptr noundef) #2 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #2 declare i32 @fflush(ptr noundef) #2 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, 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: 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/tmpr7n6lm7x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.dirent = type { ptr } @.str = private unnamed_addr constant [15 x i8] c"TESTING PIPES\0A\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"Returned: (%d,%d) = %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"/proc/%d/fd\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"Opened the dir (%s): %p\0A\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.7 = private unnamed_addr constant [19 x i8] c"fdopen(): (%p,%p)\0A\00", align 1 @.str.8 = private unnamed_addr constant [11 x i8] c"%d and %d\0A\00", align 1 @.str.9 = private unnamed_addr constant [10 x i8] c"%d and %d\00", align 1 @.str.10 = private unnamed_addr constant [24 x i8] c"Read from pipe: %d, %d\0A\00", align 1 @.str.11 = private unnamed_addr constant [5 x i8] c"more\00", align 1 @.str.12 = private unnamed_addr constant [22 x i8] c"Could not do fopen()\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pipeTest() #0 { %1 = alloca ptr, align 8 %2 = alloca [2 x i32], align 4 %3 = alloca i32, align 4 %4 = alloca [128 x i8], align 16 %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 call void @llvm.memset.p0.i64(ptr align 4 %2, i8 0, i64 8, i1 false) %10 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %11 = call i32 @pipe(ptr noundef %10) store i32 %11, ptr %3, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) %13 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %14 = load i32, ptr %13, align 4 %15 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1 %16 = load i32, ptr %15, align 4 %17 = load i32, ptr %3, align 4 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %14, i32 noundef %16, i32 noundef %17) %19 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0 %20 = call i32 (...) @getpid() %21 = call i32 @sprintf(ptr noundef %19, ptr noundef @.str.2, i32 noundef %20) %22 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0 %23 = call ptr @opendir(ptr noundef %22) store ptr %23, ptr %5, align 8 %24 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0 %25 = load ptr, ptr %5, align 8 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %24, ptr noundef %25) %27 = load ptr, ptr %5, align 8 %28 = icmp ne ptr %27, null br i1 %28, label %29, label %44 29: ; preds = %0 %30 = load ptr, ptr %5, align 8 %31 = call ptr @readdir(ptr noundef %30) store ptr %31, ptr %1, align 8 %32 = icmp ne ptr %31, null br i1 %32, label %.lr.ph, label %41 .lr.ph: ; preds = %29 br label %33 33: ; preds = %.lr.ph, %33 %34 = load ptr, ptr %1, align 8 %35 = getelementptr inbounds %struct.dirent, ptr %34, i32 0, i32 0 %36 = load ptr, ptr %35, align 8 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %36) %38 = load ptr, ptr %5, align 8 %39 = call ptr @readdir(ptr noundef %38) store ptr %39, ptr %1, align 8 %40 = icmp ne ptr %39, null br i1 %40, label %33, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %41 41: ; preds = %._crit_edge, %29 %42 = load ptr, ptr %5, align 8 %43 = call i32 @closedir(ptr noundef %42) br label %44 44: ; preds = %41, %0 %45 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %46 = load i32, ptr %45, align 4 %47 = call ptr @fdopen(i32 noundef %46, ptr noundef @.str.5) store ptr %47, ptr %6, align 8 %48 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1 %49 = load i32, ptr %48, align 4 %50 = call ptr @fdopen(i32 noundef %49, ptr noundef @.str.6) store ptr %50, ptr %7, align 8 %51 = load ptr, ptr %6, align 8 %52 = load ptr, ptr %7, align 8 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %51, ptr noundef %52) %54 = load ptr, ptr %6, align 8 %55 = icmp ne ptr %54, null br i1 %55, label %56, label %75 56: ; preds = %44 %57 = load ptr, ptr %7, align 8 %58 = icmp ne ptr %57, null br i1 %58, label %59, label %75 59: ; preds = %56 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 %60 = load ptr, ptr %7, align 8 %61 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef @.str.8, i32 noundef 234, i32 noundef 345) %62 = load ptr, ptr %7, align 8 %63 = call i32 @fflush(ptr noundef %62) %64 = load ptr, ptr %6, align 8 %65 = call i32 @fscanf(ptr noundef %64, ptr noundef @.str.9, ptr noundef %8, ptr noundef %9) %66 = load i32, ptr %8, align 4 %67 = load i32, ptr %9, align 4 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %66, i32 noundef %67) %69 = load ptr, ptr %7, align 8 %70 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %69, ptr noundef @.str.11) %71 = load ptr, ptr %6, align 8 %72 = call i32 @fclose(ptr noundef %71) %73 = load ptr, ptr %7, align 8 %74 = call i32 @fclose(ptr noundef %73) br label %77 75: ; preds = %56, %44 %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) br label %77 77: ; preds = %75, %59 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @pipe(ptr noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @getpid(...) #2 declare ptr @opendir(ptr noundef) #2 declare ptr @readdir(ptr noundef) #2 declare i32 @closedir(ptr noundef) #2 declare ptr @fdopen(i32 noundef, ptr noundef) #2 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #2 declare i32 @fflush(ptr noundef) #2 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, 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: 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/tmpni4dwhw0.c' source_filename = "/tmp/tmpni4dwhw0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dir_name_is(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = call ptr @dir_name(ptr noundef %8) store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %13, label %12 12: ; preds = %2 store i32 0, ptr %3, align 4 br label %23 13: ; preds = %2 %14 = load ptr, ptr %6, align 8 %15 = load ptr, ptr %5, align 8 %16 = call i32 @strcmp(ptr noundef %14, ptr noundef %15) %17 = icmp ne i32 %16, 0 %18 = xor i1 %17, true %19 = zext i1 %18 to i32 store i32 %19, ptr %7, align 4 %20 = load ptr, ptr %6, align 8 %21 = call i32 @free(ptr noundef %20) %22 = load i32, ptr %7, align 4 store i32 %22, ptr %3, align 4 br label %23 23: ; preds = %13, %12 %24 = load i32, ptr %3, align 4 ret i32 %24 } declare ptr @dir_name(ptr noundef) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpni4dwhw0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dir_name_is(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = call ptr @dir_name(ptr noundef %8) store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %13, label %12 12: ; preds = %2 store i32 0, ptr %3, align 4 br label %23 13: ; preds = %2 %14 = load ptr, ptr %6, align 8 %15 = load ptr, ptr %5, align 8 %16 = call i32 @strcmp(ptr noundef %14, ptr noundef %15) %17 = icmp ne i32 %16, 0 %18 = xor i1 %17, true %19 = zext i1 %18 to i32 store i32 %19, ptr %7, align 4 %20 = load ptr, ptr %6, align 8 %21 = call i32 @free(ptr noundef %20) %22 = load i32, ptr %7, align 4 store i32 %22, ptr %3, align 4 br label %23 23: ; preds = %13, %12 %24 = load i32, ptr %3, align 4 ret i32 %24 } declare ptr @dir_name(ptr noundef) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpg5dqco6q.c' source_filename = "/tmp/tmpg5dqco6q.c" target datalayout = "e-m:e-p270: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/tmpg5dqco6q.c" target datalayout = "e-m:e-p270: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/tmpqjfthshq.c' source_filename = "/tmp/tmpqjfthshq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"Could not allocate %lu bytes\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @Malloc(i64 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca ptr, align 8 store i64 %0, ptr %3, align 8 %5 = load i64, ptr %3, align 8 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 store ptr null, ptr %2, align 8 br label %21 8: ; preds = %1 %9 = load i64, ptr %3, align 8 %10 = call i64 @malloc(i64 noundef %9) %11 = inttoptr i64 %10 to ptr store ptr %11, ptr %4, align 8 %12 = load ptr, ptr %4, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %19 14: ; preds = %8 %15 = load i32, ptr @stderr, align 4 %16 = load i64, ptr %3, align 8 %17 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str, i64 noundef %16) %18 = call i32 @exit(i32 noundef 1) #3 unreachable 19: ; preds = %8 %20 = load ptr, ptr %4, align 8 store ptr %20, ptr %2, align 8 br label %21 21: ; preds = %19, %7 %22 = load ptr, ptr %2, align 8 ret ptr %22 } declare i64 @malloc(i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i64 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/tmpqjfthshq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"Could not allocate %lu bytes\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @Malloc(i64 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca ptr, align 8 store i64 %0, ptr %3, align 8 %5 = load i64, ptr %3, align 8 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 store ptr null, ptr %2, align 8 br label %21 8: ; preds = %1 %9 = load i64, ptr %3, align 8 %10 = call i64 @malloc(i64 noundef %9) %11 = inttoptr i64 %10 to ptr store ptr %11, ptr %4, align 8 %12 = load ptr, ptr %4, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %19 14: ; preds = %8 %15 = load i32, ptr @stderr, align 4 %16 = load i64, ptr %3, align 8 %17 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str, i64 noundef %16) %18 = call i32 @exit(i32 noundef 1) #3 unreachable 19: ; preds = %8 %20 = load ptr, ptr %4, align 8 store ptr %20, ptr %2, align 8 br label %21 21: ; preds = %19, %7 %22 = load ptr, ptr %2, align 8 ret ptr %22 } declare i64 @malloc(i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i64 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/tmp0_sx52vx.c' source_filename = "/tmp/tmp0_sx52vx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = load i32, ptr %4, align 4 %10 = sub nsw i32 %9, 2 %11 = sext i32 %10 to i64 %12 = mul i64 %11, 4 %13 = trunc i64 %12 to i32 %14 = call ptr @malloc(i32 noundef %13) store ptr %14, ptr %7, align 8 store i32 0, ptr %6, align 4 br label %15 15: ; preds = %32, %2 %16 = load i32, ptr %6, align 4 %17 = load i32, ptr %4, align 4 %18 = sub nsw i32 %17, 2 %19 = icmp slt i32 %16, %18 br i1 %19, label %20, label %35 20: ; preds = %15 %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr %6, align 4 %23 = add nsw i32 %22, 2 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds ptr, ptr %21, i64 %24 %26 = load ptr, ptr %25, align 8 %27 = call i32 @atoi(ptr noundef %26) %28 = load ptr, ptr %7, align 8 %29 = load i32, ptr %6, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %28, i64 %30 store i32 %27, ptr %31, align 4 br label %32 32: ; preds = %20 %33 = load i32, ptr %6, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %6, align 4 br label %15, !llvm.loop !6 35: ; preds = %15 %36 = load ptr, ptr %7, align 8 %37 = load i32, ptr %4, align 4 %38 = sub nsw i32 %37, 2 %39 = load ptr, ptr %5, align 8 %40 = getelementptr inbounds ptr, ptr %39, i64 1 %41 = load ptr, ptr %40, align 8 %42 = call i32 @atoi(ptr noundef %41) %43 = call i32 @removeElement(ptr noundef %36, i32 noundef %38, i32 noundef %42) store i32 %43, ptr %8, align 4 store i32 0, ptr %6, align 4 br label %44 44: ; preds = %55, %35 %45 = load i32, ptr %6, align 4 %46 = load i32, ptr %8, align 4 %47 = icmp slt i32 %45, %46 br i1 %47, label %48, label %58 48: ; preds = %44 %49 = load ptr, ptr %7, align 8 %50 = load i32, ptr %6, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i32, ptr %49, i64 %51 %53 = load i32, ptr %52, align 4 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %53) br label %55 55: ; preds = %48 %56 = load i32, ptr %6, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %6, align 4 br label %44, !llvm.loop !8 58: ; preds = %44 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret i32 0 } declare ptr @malloc(i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @removeElement(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0_sx52vx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = load i32, ptr %4, align 4 %10 = sub nsw i32 %9, 2 %11 = sext i32 %10 to i64 %12 = mul i64 %11, 4 %13 = trunc i64 %12 to i32 %14 = call ptr @malloc(i32 noundef %13) store ptr %14, ptr %7, align 8 store i32 0, ptr %6, align 4 %15 = load i32, ptr %6, align 4 %16 = load i32, ptr %4, align 4 %17 = sub nsw i32 %16, 2 %18 = icmp slt i32 %15, %17 br i1 %18, label %.lr.ph, label %38 .lr.ph: ; preds = %2 br label %19 19: ; preds = %.lr.ph, %31 %20 = load ptr, ptr %5, align 8 %21 = load i32, ptr %6, align 4 %22 = add nsw i32 %21, 2 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds ptr, ptr %20, i64 %23 %25 = load ptr, ptr %24, align 8 %26 = call i32 @atoi(ptr noundef %25) %27 = load ptr, ptr %7, align 8 %28 = load i32, ptr %6, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i32, ptr %27, i64 %29 store i32 %26, ptr %30, align 4 br label %31 31: ; preds = %19 %32 = load i32, ptr %6, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %6, align 4 %34 = load i32, ptr %6, align 4 %35 = load i32, ptr %4, align 4 %36 = sub nsw i32 %35, 2 %37 = icmp slt i32 %34, %36 br i1 %37, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %38 38: ; preds = %._crit_edge, %2 %39 = load ptr, ptr %7, align 8 %40 = load i32, ptr %4, align 4 %41 = sub nsw i32 %40, 2 %42 = load ptr, ptr %5, align 8 %43 = getelementptr inbounds ptr, ptr %42, i64 1 %44 = load ptr, ptr %43, align 8 %45 = call i32 @atoi(ptr noundef %44) %46 = call i32 @removeElement(ptr noundef %39, i32 noundef %41, i32 noundef %45) store i32 %46, ptr %8, align 4 store i32 0, ptr %6, align 4 %47 = load i32, ptr %6, align 4 %48 = load i32, ptr %8, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %.lr.ph2, label %63 .lr.ph2: ; preds = %38 br label %50 50: ; preds = %.lr.ph2, %57 %51 = load ptr, ptr %7, align 8 %52 = load i32, ptr %6, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i32, ptr %51, i64 %53 %55 = load i32, ptr %54, align 4 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %55) br label %57 57: ; preds = %50 %58 = load i32, ptr %6, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %6, align 4 %60 = load i32, ptr %6, align 4 %61 = load i32, ptr %8, align 4 %62 = icmp slt i32 %60, %61 br i1 %62, label %50, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %57 br label %63 63: ; preds = %._crit_edge3, %38 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret i32 0 } declare ptr @malloc(i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @removeElement(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpnvlekhxs.c' source_filename = "/tmp/tmpnvlekhxs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [43 x i8] c"for Loop Example 7 - Simple Cosine Graph\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.2 = private unnamed_addr constant [3 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 double, align 8 %3 = alloca double, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 @printf(ptr noundef @.str) store double 0.000000e+00, ptr %2, align 8 br label %7 7: ; preds = %28, %0 %8 = load double, ptr %2, align 8 %9 = fcmp ole double %8, 2.000000e+01 br i1 %9, label %10, label %31 10: ; preds = %7 %11 = load double, ptr %2, align 8 %12 = call double @cos(double noundef %11) #3 store double %12, ptr %3, align 8 %13 = load double, ptr %3, align 8 %14 = fadd double %13, 1.000000e+00 %15 = fmul double %14, 1.500000e+01 %16 = fptosi double %15 to i32 store i32 %16, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %17 17: ; preds = %23, %10 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %4, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %21, label %26 21: ; preds = %17 %22 = call i32 @printf(ptr noundef @.str.1) br label %23 23: ; preds = %21 %24 = load i32, ptr %5, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %5, align 4 br label %17, !llvm.loop !6 26: ; preds = %17 %27 = call i32 @printf(ptr noundef @.str.2) br label %28 28: ; preds = %26 %29 = load double, ptr %2, align 8 %30 = fadd double %29, 5.000000e-01 store double %30, ptr %2, align 8 br label %7, !llvm.loop !8 31: ; preds = %7 ret i32 0 } declare i32 @printf(ptr noundef) #1 ; Function Attrs: nounwind declare double @cos(double 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnvlekhxs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [43 x i8] c"for Loop Example 7 - Simple Cosine Graph\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.2 = private unnamed_addr constant [3 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 double, align 8 %3 = alloca double, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 @printf(ptr noundef @.str) store double 0.000000e+00, ptr %2, align 8 %7 = load double, ptr %2, align 8 %8 = fcmp ole double %7, 2.000000e+01 br i1 %8, label %.lr.ph2, label %34 .lr.ph2: ; preds = %0 br label %9 9: ; preds = %.lr.ph2, %29 %10 = load double, ptr %2, align 8 %11 = call double @cos(double noundef %10) #3 store double %11, ptr %3, align 8 %12 = load double, ptr %3, align 8 %13 = fadd double %12, 1.000000e+00 %14 = fmul double %13, 1.500000e+01 %15 = fptosi double %14 to i32 store i32 %15, ptr %4, align 4 store i32 0, ptr %5, align 4 %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %.lr.ph, label %27 .lr.ph: ; preds = %9 br label %19 19: ; preds = %.lr.ph, %21 %20 = call i32 @printf(ptr noundef @.str.1) br label %21 21: ; preds = %19 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %5, align 4 %24 = load i32, ptr %5, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %27 27: ; preds = %._crit_edge, %9 %28 = call i32 @printf(ptr noundef @.str.2) br label %29 29: ; preds = %27 %30 = load double, ptr %2, align 8 %31 = fadd double %30, 5.000000e-01 store double %31, ptr %2, align 8 %32 = load double, ptr %2, align 8 %33 = fcmp ole double %32, 2.000000e+01 br i1 %33, label %9, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %29 br label %34 34: ; preds = %._crit_edge3, %0 ret i32 0 } declare i32 @printf(ptr noundef) #1 ; Function Attrs: nounwind declare double @cos(double 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpgrzp8_k2.c' source_filename = "/tmp/tmpgrzp8_k2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @DieWithError(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 %3) %5 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgrzp8_k2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @DieWithError(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 %3) %5 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpolcwpip9.c' source_filename = "/tmp/tmpolcwpip9.c" target datalayout = "e-m:e-p270: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/tmpolcwpip9.c" target datalayout = "e-m:e-p270: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/tmp0hym8p_8.c' source_filename = "/tmp/tmp0hym8p_8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fillMatrix(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = getelementptr inbounds ptr, ptr %7, i64 0 %9 = load ptr, ptr %8, align 8 %10 = getelementptr inbounds i64, ptr %9, i64 0 store i64 1, ptr %10, align 8 store i64 1, ptr %5, align 8 br label %11 11: ; preds = %61, %2 %12 = load i64, ptr %5, align 8 %13 = load i64, ptr %4, align 8 %14 = icmp ult i64 %12, %13 br i1 %14, label %15, label %64 15: ; preds = %11 %16 = load ptr, ptr %3, align 8 %17 = load i64, ptr %5, align 8 %18 = sub i64 %17, 1 %19 = getelementptr inbounds ptr, ptr %16, i64 %18 %20 = load ptr, ptr %19, align 8 %21 = getelementptr inbounds i64, ptr %20, i64 0 %22 = load i64, ptr %21, align 8 %23 = load ptr, ptr %3, align 8 %24 = load i64, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %23, i64 %24 %26 = load ptr, ptr %25, align 8 %27 = getelementptr inbounds i64, ptr %26, i64 0 store i64 %22, ptr %27, align 8 store i64 1, ptr %6, align 8 br label %28 28: ; preds = %57, %15 %29 = load i64, ptr %6, align 8 %30 = load i64, ptr %5, align 8 %31 = icmp ule i64 %29, %30 br i1 %31, label %32, label %60 32: ; preds = %28 %33 = load ptr, ptr %3, align 8 %34 = load i64, ptr %5, align 8 %35 = sub i64 %34, 1 %36 = getelementptr inbounds ptr, ptr %33, i64 %35 %37 = load ptr, ptr %36, align 8 %38 = load i64, ptr %6, align 8 %39 = sub i64 %38, 1 %40 = getelementptr inbounds i64, ptr %37, i64 %39 %41 = load i64, ptr %40, align 8 %42 = load ptr, ptr %3, align 8 %43 = load i64, ptr %5, align 8 %44 = sub i64 %43, 1 %45 = getelementptr inbounds ptr, ptr %42, i64 %44 %46 = load ptr, ptr %45, align 8 %47 = load i64, ptr %6, align 8 %48 = getelementptr inbounds i64, ptr %46, i64 %47 %49 = load i64, ptr %48, align 8 %50 = add i64 %41, %49 %51 = load ptr, ptr %3, align 8 %52 = load i64, ptr %5, align 8 %53 = getelementptr inbounds ptr, ptr %51, i64 %52 %54 = load ptr, ptr %53, align 8 %55 = load i64, ptr %6, align 8 %56 = getelementptr inbounds i64, ptr %54, i64 %55 store i64 %50, ptr %56, align 8 br label %57 57: ; preds = %32 %58 = load i64, ptr %6, align 8 %59 = add i64 %58, 1 store i64 %59, ptr %6, align 8 br label %28, !llvm.loop !6 60: ; preds = %28 br label %61 61: ; preds = %60 %62 = load i64, ptr %5, align 8 %63 = add i64 %62, 1 store i64 %63, ptr %5, align 8 br label %11, !llvm.loop !8 64: ; preds = %11 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0hym8p_8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fillMatrix(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = getelementptr inbounds ptr, ptr %7, i64 0 %9 = load ptr, ptr %8, align 8 %10 = getelementptr inbounds i64, ptr %9, i64 0 store i64 1, ptr %10, align 8 store i64 1, ptr %5, align 8 %11 = load i64, ptr %5, align 8 %12 = load i64, ptr %4, align 8 %13 = icmp ult i64 %11, %12 br i1 %13, label %.lr.ph2, label %68 .lr.ph2: ; preds = %2 br label %14 14: ; preds = %.lr.ph2, %62 %15 = load ptr, ptr %3, align 8 %16 = load i64, ptr %5, align 8 %17 = sub i64 %16, 1 %18 = getelementptr inbounds ptr, ptr %15, i64 %17 %19 = load ptr, ptr %18, align 8 %20 = getelementptr inbounds i64, ptr %19, i64 0 %21 = load i64, ptr %20, align 8 %22 = load ptr, ptr %3, align 8 %23 = load i64, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %22, i64 %23 %25 = load ptr, ptr %24, align 8 %26 = getelementptr inbounds i64, ptr %25, i64 0 store i64 %21, ptr %26, align 8 store i64 1, ptr %6, align 8 %27 = load i64, ptr %6, align 8 %28 = load i64, ptr %5, align 8 %29 = icmp ule i64 %27, %28 br i1 %29, label %.lr.ph, label %61 .lr.ph: ; preds = %14 br label %30 30: ; preds = %.lr.ph, %55 %31 = load ptr, ptr %3, align 8 %32 = load i64, ptr %5, align 8 %33 = sub i64 %32, 1 %34 = getelementptr inbounds ptr, ptr %31, i64 %33 %35 = load ptr, ptr %34, align 8 %36 = load i64, ptr %6, align 8 %37 = sub i64 %36, 1 %38 = getelementptr inbounds i64, ptr %35, i64 %37 %39 = load i64, ptr %38, align 8 %40 = load ptr, ptr %3, align 8 %41 = load i64, ptr %5, align 8 %42 = sub i64 %41, 1 %43 = getelementptr inbounds ptr, ptr %40, i64 %42 %44 = load ptr, ptr %43, align 8 %45 = load i64, ptr %6, align 8 %46 = getelementptr inbounds i64, ptr %44, i64 %45 %47 = load i64, ptr %46, align 8 %48 = add i64 %39, %47 %49 = load ptr, ptr %3, align 8 %50 = load i64, ptr %5, align 8 %51 = getelementptr inbounds ptr, ptr %49, i64 %50 %52 = load ptr, ptr %51, align 8 %53 = load i64, ptr %6, align 8 %54 = getelementptr inbounds i64, ptr %52, i64 %53 store i64 %48, ptr %54, align 8 br label %55 55: ; preds = %30 %56 = load i64, ptr %6, align 8 %57 = add i64 %56, 1 store i64 %57, ptr %6, align 8 %58 = load i64, ptr %6, align 8 %59 = load i64, ptr %5, align 8 %60 = icmp ule i64 %58, %59 br i1 %60, label %30, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %55 br label %61 61: ; preds = %._crit_edge, %14 br label %62 62: ; preds = %61 %63 = load i64, ptr %5, align 8 %64 = add i64 %63, 1 store i64 %64, ptr %5, align 8 %65 = load i64, ptr %5, align 8 %66 = load i64, ptr %4, align 8 %67 = icmp ult i64 %65, %66 br i1 %67, label %14, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %62 br label %68 68: ; preds = %._crit_edge3, %2 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpnlhehb7g.c' source_filename = "/tmp/tmpnlhehb7g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i64 0, align 8 @EINTR = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @r_dup2(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 br label %6 6: ; preds = %18, %2 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %4, align 4 %9 = call i32 @dup2(i32 noundef %7, i32 noundef %8) store i32 %9, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %16 12: ; preds = %6 %13 = load i64, ptr @errno, align 8 %14 = load i64, ptr @EINTR, align 8 %15 = icmp eq i64 %13, %14 br label %16 16: ; preds = %12, %6 %17 = phi i1 [ false, %6 ], [ %15, %12 ] br i1 %17, label %18, label %19 18: ; preds = %16 br label %6, !llvm.loop !6 19: ; preds = %16 %20 = load i32, ptr %5, align 4 ret i32 %20 } declare i32 @dup2(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/tmpnlhehb7g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i64 0, align 8 @EINTR = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @r_dup2(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 br label %6 6: ; preds = %16, %2 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %4, align 4 %9 = call i32 @dup2(i32 noundef %7, i32 noundef %8) store i32 %9, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %16 12: ; preds = %6 %13 = load i64, ptr @errno, align 8 %14 = load i64, ptr @EINTR, align 8 %15 = icmp eq i64 %13, %14 br label %16 16: ; preds = %12, %6 %17 = phi i1 [ false, %6 ], [ %15, %12 ] br i1 %17, label %6, label %18, !llvm.loop !6 18: ; preds = %16 %19 = load i32, ptr %5, align 4 ret i32 %19 } declare i32 @dup2(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/tmpxwzb54ip.c' source_filename = "/tmp/tmpxwzb54ip.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getStatus(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 @comm_printer_writeFFFx(i32 noundef %3) %5 = call i32 (...) @comm_printer_getc_block() ret i32 %5 } declare i32 @comm_printer_writeFFFx(i32 noundef) #1 declare i32 @comm_printer_getc_block(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxwzb54ip.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getStatus(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 @comm_printer_writeFFFx(i32 noundef %3) %5 = call i32 (...) @comm_printer_getc_block() ret i32 %5 } declare i32 @comm_printer_writeFFFx(i32 noundef) #1 declare i32 @comm_printer_getc_block(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxs53yuj4.c' source_filename = "/tmp/tmpxs53yuj4.c" target datalayout = "e-m:e-p270: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/tmpxs53yuj4.c" target datalayout = "e-m:e-p270: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/tmp84v75sww.c' source_filename = "/tmp/tmp84v75sww.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @log2(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = fptosi double %3 to i32 %5 = call double @log(i32 noundef %4) %6 = call double @log(i32 noundef 2) %7 = fdiv double %5, %6 ret double %7 } declare double @log(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/tmp84v75sww.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @log2(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = fptosi double %3 to i32 %5 = call double @log(i32 noundef %4) %6 = call double @log(i32 noundef 2) %7 = fdiv double %5, %6 ret double %7 } declare double @log(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/tmpykqvisk8.c' source_filename = "/tmp/tmpykqvisk8.c" target datalayout = "e-m:e-p270: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/tmpykqvisk8.c" target datalayout = "e-m:e-p270: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/tmp39a5k58f.c' source_filename = "/tmp/tmp39a5k58f.c" target datalayout = "e-m:e-p270: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/tmp39a5k58f.c" target datalayout = "e-m:e-p270: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/tmpfanx9zbv.c' source_filename = "/tmp/tmpfanx9zbv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfanx9zbv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpif_laxnk.c' source_filename = "/tmp/tmpif_laxnk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.addrinfo = type { i32, i32, i32, i32, i32, ptr } @AF_UNSPEC = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [17 x i8] c"getaddrinfo: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"Could not connect to '%s:%s'\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @_tcp_connect(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca %struct.addrinfo, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 -1, ptr %6, align 4 %11 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 32) %12 = load i32, ptr @AF_UNSPEC, align 4 %13 = getelementptr inbounds %struct.addrinfo, ptr %7, i32 0, i32 4 store i32 %12, ptr %13, align 8 %14 = load i32, ptr @SOCK_STREAM, align 4 %15 = getelementptr inbounds %struct.addrinfo, ptr %7, i32 0, i32 3 store i32 %14, ptr %15, align 4 %16 = load ptr, ptr %4, align 8 %17 = load ptr, ptr %5, align 8 %18 = call i32 @getaddrinfo(ptr noundef %16, ptr noundef %17, ptr noundef %7, ptr noundef %8) store i32 %18, ptr %10, align 4 %19 = load i32, ptr %10, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %26 21: ; preds = %2 %22 = load i32, ptr @stderr, align 4 %23 = load i32, ptr %10, align 4 %24 = call ptr @gai_strerror(i32 noundef %23) %25 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %22, ptr noundef @.str, ptr noundef %24) store i32 -1, ptr %3, align 4 br label %75 26: ; preds = %2 %27 = load ptr, ptr %8, align 8 store ptr %27, ptr %9, align 8 br label %28 28: ; preds = %59, %26 %29 = load ptr, ptr %9, align 8 %30 = icmp ne ptr %29, null br i1 %30, label %31, label %63 31: ; preds = %28 %32 = load ptr, ptr %9, align 8 %33 = getelementptr inbounds %struct.addrinfo, ptr %32, i32 0, i32 4 %34 = load i32, ptr %33, align 8 %35 = load ptr, ptr %9, align 8 %36 = getelementptr inbounds %struct.addrinfo, ptr %35, i32 0, i32 3 %37 = load i32, ptr %36, align 4 %38 = load ptr, ptr %9, align 8 %39 = getelementptr inbounds %struct.addrinfo, ptr %38, i32 0, i32 2 %40 = load i32, ptr %39, align 8 %41 = call i32 @socket(i32 noundef %34, i32 noundef %37, i32 noundef %40) store i32 %41, ptr %6, align 4 %42 = load i32, ptr %6, align 4 %43 = icmp eq i32 %42, -1 br i1 %43, label %44, label %45 44: ; preds = %31 br label %59 45: ; preds = %31 %46 = load i32, ptr %6, align 4 %47 = load ptr, ptr %9, align 8 %48 = getelementptr inbounds %struct.addrinfo, ptr %47, i32 0, i32 1 %49 = load i32, ptr %48, align 4 %50 = load ptr, ptr %9, align 8 %51 = getelementptr inbounds %struct.addrinfo, ptr %50, i32 0, i32 0 %52 = load i32, ptr %51, align 8 %53 = call i32 @connect(i32 noundef %46, i32 noundef %49, i32 noundef %52) %54 = icmp ne i32 %53, -1 br i1 %54, label %55, label %56 55: ; preds = %45 br label %63 56: ; preds = %45 %57 = load i32, ptr %6, align 4 %58 = call i32 @close(i32 noundef %57) br label %59 59: ; preds = %56, %44 %60 = load ptr, ptr %9, align 8 %61 = getelementptr inbounds %struct.addrinfo, ptr %60, i32 0, i32 5 %62 = load ptr, ptr %61, align 8 store ptr %62, ptr %9, align 8 br label %28, !llvm.loop !6 63: ; preds = %55, %28 %64 = load ptr, ptr %8, align 8 %65 = call i32 @freeaddrinfo(ptr noundef %64) %66 = load ptr, ptr %9, align 8 %67 = icmp eq ptr %66, null br i1 %67, label %68, label %73 68: ; preds = %63 %69 = load i32, ptr @stderr, align 4 %70 = load ptr, ptr %4, align 8 %71 = load ptr, ptr %5, align 8 %72 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %69, ptr noundef @.str.1, ptr noundef %70, ptr noundef %71) store i32 -1, ptr %3, align 4 br label %75 73: ; preds = %63 %74 = load i32, ptr %6, align 4 store i32 %74, ptr %3, align 4 br label %75 75: ; preds = %73, %68, %21 %76 = load i32, ptr %3, align 4 ret i32 %76 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1 declare ptr @gai_strerror(i32 noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @connect(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @freeaddrinfo(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpif_laxnk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.addrinfo = type { i32, i32, i32, i32, i32, ptr } @AF_UNSPEC = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [17 x i8] c"getaddrinfo: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"Could not connect to '%s:%s'\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @_tcp_connect(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca %struct.addrinfo, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 -1, ptr %6, align 4 %11 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 32) %12 = load i32, ptr @AF_UNSPEC, align 4 %13 = getelementptr inbounds %struct.addrinfo, ptr %7, i32 0, i32 4 store i32 %12, ptr %13, align 8 %14 = load i32, ptr @SOCK_STREAM, align 4 %15 = getelementptr inbounds %struct.addrinfo, ptr %7, i32 0, i32 3 store i32 %14, ptr %15, align 4 %16 = load ptr, ptr %4, align 8 %17 = load ptr, ptr %5, align 8 %18 = call i32 @getaddrinfo(ptr noundef %16, ptr noundef %17, ptr noundef %7, ptr noundef %8) store i32 %18, ptr %10, align 4 %19 = load i32, ptr %10, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %26 21: ; preds = %2 %22 = load i32, ptr @stderr, align 4 %23 = load i32, ptr %10, align 4 %24 = call ptr @gai_strerror(i32 noundef %23) %25 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %22, ptr noundef @.str, ptr noundef %24) store i32 -1, ptr %3, align 4 br label %76 26: ; preds = %2 %27 = load ptr, ptr %8, align 8 store ptr %27, ptr %9, align 8 %28 = load ptr, ptr %9, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %26 br label %30 30: ; preds = %.lr.ph, %58 %31 = load ptr, ptr %9, align 8 %32 = getelementptr inbounds %struct.addrinfo, ptr %31, i32 0, i32 4 %33 = load i32, ptr %32, align 8 %34 = load ptr, ptr %9, align 8 %35 = getelementptr inbounds %struct.addrinfo, ptr %34, i32 0, i32 3 %36 = load i32, ptr %35, align 4 %37 = load ptr, ptr %9, align 8 %38 = getelementptr inbounds %struct.addrinfo, ptr %37, i32 0, i32 2 %39 = load i32, ptr %38, align 8 %40 = call i32 @socket(i32 noundef %33, i32 noundef %36, i32 noundef %39) store i32 %40, ptr %6, align 4 %41 = load i32, ptr %6, align 4 %42 = icmp eq i32 %41, -1 br i1 %42, label %43, label %44 43: ; preds = %30 br label %58 44: ; preds = %30 %45 = load i32, ptr %6, align 4 %46 = load ptr, ptr %9, align 8 %47 = getelementptr inbounds %struct.addrinfo, ptr %46, i32 0, i32 1 %48 = load i32, ptr %47, align 4 %49 = load ptr, ptr %9, align 8 %50 = getelementptr inbounds %struct.addrinfo, ptr %49, i32 0, i32 0 %51 = load i32, ptr %50, align 8 %52 = call i32 @connect(i32 noundef %45, i32 noundef %48, i32 noundef %51) %53 = icmp ne i32 %52, -1 br i1 %53, label %54, label %55 54: ; preds = %44 br label %64 55: ; preds = %44 %56 = load i32, ptr %6, align 4 %57 = call i32 @close(i32 noundef %56) br label %58 58: ; preds = %55, %43 %59 = load ptr, ptr %9, align 8 %60 = getelementptr inbounds %struct.addrinfo, ptr %59, i32 0, i32 5 %61 = load ptr, ptr %60, align 8 store ptr %61, ptr %9, align 8 %62 = load ptr, ptr %9, align 8 %63 = icmp ne ptr %62, null br i1 %63, label %30, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %58 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %26 br label %64 64: ; preds = %.loopexit, %54 %65 = load ptr, ptr %8, align 8 %66 = call i32 @freeaddrinfo(ptr noundef %65) %67 = load ptr, ptr %9, align 8 %68 = icmp eq ptr %67, null br i1 %68, label %69, label %74 69: ; preds = %64 %70 = load i32, ptr @stderr, align 4 %71 = load ptr, ptr %4, align 8 %72 = load ptr, ptr %5, align 8 %73 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %70, ptr noundef @.str.1, ptr noundef %71, ptr noundef %72) store i32 -1, ptr %3, align 4 br label %76 74: ; preds = %64 %75 = load i32, ptr %6, align 4 store i32 %75, ptr %3, align 4 br label %76 76: ; preds = %74, %69, %21 %77 = load i32, ptr %3, align 4 ret i32 %77 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1 declare ptr @gai_strerror(i32 noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @connect(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @freeaddrinfo(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpo95zlrgy.c' source_filename = "/tmp/tmpo95zlrgy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"HTTP/1.1 \00", align 1 @.str.1 = private unnamed_addr constant [59 x i8] c"200 OK\0D\0AContent-Type: text/html\0D\0ACache-Control: no-cache\0D\0A\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"304 Not Modified\0D\0A\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"404 Not Found\0D\0A\00", align 1 @.str.4 = private unnamed_addr constant [101 x i8] c"401 Unauthorized\0D\0AServer: AECLogger\0D\0AWWW-Authenticate: Basic realm=\22AECLogger\22\0D\0AAccept-Ranges: bytes\00", align 1 @.str.5 = private unnamed_addr constant [22 x i8] c"Connection: Close\0D\0A\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @send_http_header(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 = call i32 @write_st(i32 noundef %5, ptr noundef @.str) %7 = load i32, ptr %4, align 4 switch i32 %7, label %20 [ i32 200, label %8 i32 304, label %11 i32 404, label %14 i32 401, label %17 ] 8: ; preds = %2 %9 = load i32, ptr %3, align 4 %10 = call i32 @write_st(i32 noundef %9, ptr noundef @.str.1) br label %20 11: ; preds = %2 %12 = load i32, ptr %3, align 4 %13 = call i32 @write_st(i32 noundef %12, ptr noundef @.str.2) br label %20 14: ; preds = %2 %15 = load i32, ptr %3, align 4 %16 = call i32 @write_st(i32 noundef %15, ptr noundef @.str.3) br label %20 17: ; preds = %2 %18 = load i32, ptr %3, align 4 %19 = call i32 @write_st(i32 noundef %18, ptr noundef @.str.4) br label %20 20: ; preds = %2, %17, %14, %11, %8 %21 = load i32, ptr %3, align 4 %22 = call i32 @write_st(i32 noundef %21, ptr noundef @.str.5) ret void } declare i32 @write_st(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/tmpo95zlrgy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"HTTP/1.1 \00", align 1 @.str.1 = private unnamed_addr constant [59 x i8] c"200 OK\0D\0AContent-Type: text/html\0D\0ACache-Control: no-cache\0D\0A\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"304 Not Modified\0D\0A\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"404 Not Found\0D\0A\00", align 1 @.str.4 = private unnamed_addr constant [101 x i8] c"401 Unauthorized\0D\0AServer: AECLogger\0D\0AWWW-Authenticate: Basic realm=\22AECLogger\22\0D\0AAccept-Ranges: bytes\00", align 1 @.str.5 = private unnamed_addr constant [22 x i8] c"Connection: Close\0D\0A\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @send_http_header(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 = call i32 @write_st(i32 noundef %5, ptr noundef @.str) %7 = load i32, ptr %4, align 4 switch i32 %7, label %20 [ i32 200, label %8 i32 304, label %11 i32 404, label %14 i32 401, label %17 ] 8: ; preds = %2 %9 = load i32, ptr %3, align 4 %10 = call i32 @write_st(i32 noundef %9, ptr noundef @.str.1) br label %20 11: ; preds = %2 %12 = load i32, ptr %3, align 4 %13 = call i32 @write_st(i32 noundef %12, ptr noundef @.str.2) br label %20 14: ; preds = %2 %15 = load i32, ptr %3, align 4 %16 = call i32 @write_st(i32 noundef %15, ptr noundef @.str.3) br label %20 17: ; preds = %2 %18 = load i32, ptr %3, align 4 %19 = call i32 @write_st(i32 noundef %18, ptr noundef @.str.4) br label %20 20: ; preds = %17, %14, %11, %8, %2 %21 = load i32, ptr %3, align 4 %22 = call i32 @write_st(i32 noundef %21, ptr noundef @.str.5) ret void } declare i32 @write_st(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/tmp6zg3_uzx.c' source_filename = "/tmp/tmp6zg3_uzx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @putc(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 br label %3 3: ; preds = %8, %1 %4 = load volatile i64, ptr inttoptr (i64 1342177296 to ptr), align 8 %5 = and i64 %4, 4 %6 = icmp ne i64 %5, 0 %7 = xor i1 %6, true br i1 %7, label %8, label %9 8: ; preds = %3 br label %3, !llvm.loop !6 9: ; preds = %3 %10 = load i8, ptr %2, align 1 store volatile i8 %10, ptr inttoptr (i64 1342177312 to ptr), align 1 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp6zg3_uzx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @putc(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 br label %3 3: ; preds = %3, %1 %4 = load volatile i64, ptr inttoptr (i64 1342177296 to ptr), align 8 %5 = and i64 %4, 4 %6 = icmp ne i64 %5, 0 %7 = xor i1 %6, true br i1 %7, label %3, label %8, !llvm.loop !6 8: ; preds = %3 %9 = load i8, ptr %2, align 1 store volatile i8 %9, ptr inttoptr (i64 1342177312 to ptr), align 1 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpusjs51vu.c' source_filename = "/tmp/tmpusjs51vu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @highlightBegin.red = internal global [4 x double] [double 1.000000e+00, double 0.000000e+00, double 0.000000e+00, double 1.000000e+00], align 16 @GL_LIGHTING_BIT = dso_local global i32 0, align 4 @GL_CURRENT_BIT = dso_local global i32 0, align 4 @GL_FRONT = dso_local global i32 0, align 4 @GL_DIFFUSE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @highlightBegin() #0 { %1 = load i32, ptr @GL_LIGHTING_BIT, align 4 %2 = load i32, ptr @GL_CURRENT_BIT, align 4 %3 = or i32 %1, %2 %4 = call i32 @glPushAttrib(i32 noundef %3) %5 = load i32, ptr @GL_FRONT, align 4 %6 = load i32, ptr @GL_DIFFUSE, align 4 %7 = call i32 @glMaterialfv(i32 noundef %5, i32 noundef %6, ptr noundef @highlightBegin.red) %8 = call i32 @glColor3f(double noundef 1.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00) ret void } declare i32 @glPushAttrib(i32 noundef) #1 declare i32 @glMaterialfv(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @glColor3f(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/tmpusjs51vu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @highlightBegin.red = internal global [4 x double] [double 1.000000e+00, double 0.000000e+00, double 0.000000e+00, double 1.000000e+00], align 16 @GL_LIGHTING_BIT = dso_local global i32 0, align 4 @GL_CURRENT_BIT = dso_local global i32 0, align 4 @GL_FRONT = dso_local global i32 0, align 4 @GL_DIFFUSE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @highlightBegin() #0 { %1 = load i32, ptr @GL_LIGHTING_BIT, align 4 %2 = load i32, ptr @GL_CURRENT_BIT, align 4 %3 = or i32 %1, %2 %4 = call i32 @glPushAttrib(i32 noundef %3) %5 = load i32, ptr @GL_FRONT, align 4 %6 = load i32, ptr @GL_DIFFUSE, align 4 %7 = call i32 @glMaterialfv(i32 noundef %5, i32 noundef %6, ptr noundef @highlightBegin.red) %8 = call i32 @glColor3f(double noundef 1.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00) ret void } declare i32 @glPushAttrib(i32 noundef) #1 declare i32 @glMaterialfv(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @glColor3f(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/tmplikrltab.c' source_filename = "/tmp/tmplikrltab.c" target datalayout = "e-m:e-p270: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/tmplikrltab.c" target datalayout = "e-m:e-p270: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/tmpcjwcljpl.c' source_filename = "/tmp/tmpcjwcljpl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [30 x i8] c"MWM:BC/BW-SHIFT + 2-BYTE-HASH\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mwmFeatures() #0 { %1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1) ret void } 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/tmpcjwcljpl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [30 x i8] c"MWM:BC/BW-SHIFT + 2-BYTE-HASH\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mwmFeatures() #0 { %1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1) ret void } 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/tmpribo_ghk.c' source_filename = "/tmp/tmpribo_ghk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%7d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca [256 x i8], align 16 %8 = alloca [16 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %10 = call i32 @memset(ptr noundef %9, i8 noundef signext 97, i32 noundef 256) store i64 0, ptr %6, align 8 br label %11 11: ; preds = %23, %2 %12 = load i64, ptr %6, align 8 %13 = icmp ult i64 %12, 150 br i1 %13, label %14, label %26 14: ; preds = %11 %15 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %16 = load i64, ptr %6, align 8 %17 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0 %18 = call i32 @md4(ptr noundef %15, i64 noundef %16, ptr noundef %17) %19 = load i64, ptr %6, align 8 %20 = call i32 @printf(ptr noundef @.str, i64 noundef %19) %21 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0 %22 = call i32 @dump(ptr noundef %21, i32 noundef 16) br label %23 23: ; preds = %14 %24 = load i64, ptr %6, align 8 %25 = add i64 %24, 1 store i64 %25, ptr %6, align 8 br label %11, !llvm.loop !6 26: ; preds = %11 ret i32 0 } declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1 declare i32 @md4(ptr noundef, i64 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 declare i32 @dump(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/tmpribo_ghk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%7d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca [256 x i8], align 16 %8 = alloca [16 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %10 = call i32 @memset(ptr noundef %9, i8 noundef signext 97, i32 noundef 256) store i64 0, ptr %6, align 8 %11 = load i64, ptr %6, align 8 %12 = icmp ult i64 %11, 150 br i1 %12, label %.lr.ph, label %27 .lr.ph: ; preds = %2 br label %13 13: ; preds = %.lr.ph, %22 %14 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %15 = load i64, ptr %6, align 8 %16 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0 %17 = call i32 @md4(ptr noundef %14, i64 noundef %15, ptr noundef %16) %18 = load i64, ptr %6, align 8 %19 = call i32 @printf(ptr noundef @.str, i64 noundef %18) %20 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0 %21 = call i32 @dump(ptr noundef %20, i32 noundef 16) br label %22 22: ; preds = %13 %23 = load i64, ptr %6, align 8 %24 = add i64 %23, 1 store i64 %24, ptr %6, align 8 %25 = load i64, ptr %6, align 8 %26 = icmp ult i64 %25, 150 br i1 %26, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %27 27: ; preds = %._crit_edge, %2 ret i32 0 } declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1 declare i32 @md4(ptr noundef, i64 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 declare i32 @dump(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/tmpohohmni2.c' source_filename = "/tmp/tmpohohmni2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGINT = dso_local global i32 0, align 4 @SIG_DFL = 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/tmpohohmni2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGINT = dso_local global i32 0, align 4 @SIG_DFL = 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/tmpemx34n6z.c' source_filename = "/tmp/tmpemx34n6z.c" target datalayout = "e-m:e-p270: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 [121 x i8] c"Usage: %s <file> <string>\0A\09<file>: File to write the vdso data to.\0A\09<string>: Name of the mapped in region, e.g. vdso\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"Error: fopen() - output file\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"/proc/self/maps\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.5 = private unnamed_addr constant [33 x i8] c"Error: fopen() - /proc/self/maps\00", align 1 @.str.6 = private unnamed_addr constant [15 x i8] c"/proc/self/mem\00", align 1 @.str.7 = private unnamed_addr constant [32 x i8] c"Error: fopen() - /proc/self/mem\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [31 x i8] c"Error: read() - /proc/self/mem\00", align 1 @.str.9 = private unnamed_addr constant [30 x i8] c"Error: fwrite() - output file\00", align 1 @.str.10 = private unnamed_addr constant [31 x i8] c"Start: %p\0AEnd: %p\0ABytes: %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 [256 x i8], align 16 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %13 = load i32, ptr %4, align 4 %14 = icmp ne i32 %13, 3 br i1 %14, label %15, label %22 15: ; preds = %2 %16 = load i32, ptr @stderr, align 4 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 0 %19 = load ptr, ptr %18, align 8 %20 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str, ptr noundef %19) %21 = call i32 (...) @abort() #3 unreachable 22: ; preds = %2 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 2 %25 = load ptr, ptr %24, align 8 store ptr %25, ptr %8, align 8 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 1 %28 = load ptr, ptr %27, align 8 %29 = call ptr @fopen(ptr noundef %28, ptr noundef @.str.1) store ptr %29, ptr %10, align 8 %30 = icmp ne ptr %29, null br i1 %30, label %34, label %31 31: ; preds = %22 %32 = call i32 @perror(ptr noundef @.str.2) %33 = call i32 (...) @abort() #3 unreachable 34: ; preds = %22 %35 = call ptr @fopen(ptr noundef @.str.3, ptr noundef @.str.4) store ptr %35, ptr %9, align 8 %36 = icmp ne ptr %35, null br i1 %36, label %40, label %37 37: ; preds = %34 %38 = call i32 @perror(ptr noundef @.str.5) %39 = call i32 (...) @abort() #3 unreachable 40: ; preds = %34 br label %41 41: ; preds = %52, %40 %42 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %43 = load ptr, ptr %9, align 8 %44 = call i64 @fgets(ptr noundef %42, i32 noundef 256, ptr noundef %43) %45 = icmp ne i64 %44, 0 br i1 %45, label %46, label %53 46: ; preds = %41 %47 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %48 = load ptr, ptr %8, align 8 %49 = call i64 @strstr(ptr noundef %47, ptr noundef %48) %50 = icmp ne i64 %49, 0 br i1 %50, label %51, label %52 51: ; preds = %46 br label %53 52: ; preds = %46 br label %41, !llvm.loop !6 53: ; preds = %51, %41 %54 = load ptr, ptr %9, align 8 %55 = call i32 @fclose(ptr noundef %54) %56 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %57 = call ptr @strchr(ptr noundef %56, i8 noundef signext 45) %58 = getelementptr inbounds i8, ptr %57, i64 1 %59 = call i64 @strtoll(ptr noundef %58, ptr noundef null, i32 noundef 16) store i64 %59, ptr %12, align 8 %60 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %61 = call ptr @strchr(ptr noundef %60, i8 noundef signext 45) store i8 0, ptr %61, align 1 %62 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %63 = call i64 @strtoll(ptr noundef %62, ptr noundef null, i32 noundef 16) store i64 %63, ptr %11, align 8 %64 = call ptr @fopen(ptr noundef @.str.6, ptr noundef @.str.4) store ptr %64, ptr %9, align 8 %65 = icmp ne ptr %64, null br i1 %65, label %69, label %66 66: ; preds = %53 %67 = call i32 @perror(ptr noundef @.str.7) %68 = call i32 (...) @abort() #3 unreachable 69: ; preds = %53 %70 = load ptr, ptr %9, align 8 %71 = load i64, ptr %11, align 8 %72 = load i32, ptr @SEEK_SET, align 4 %73 = call i32 @fseek(ptr noundef %70, i64 noundef %71, i32 noundef %72) %74 = load i64, ptr %12, align 8 %75 = load i64, ptr %11, align 8 %76 = sub nsw i64 %74, %75 %77 = call i64 @malloc(i64 noundef %76) %78 = inttoptr i64 %77 to ptr store ptr %78, ptr %7, align 8 %79 = load ptr, ptr %7, align 8 %80 = load i64, ptr %12, align 8 %81 = load i64, ptr %11, align 8 %82 = sub nsw i64 %80, %81 %83 = load ptr, ptr %9, align 8 %84 = call i32 @fread(ptr noundef %79, i32 noundef 1, i64 noundef %82, ptr noundef %83) %85 = icmp ne i32 %84, 0 br i1 %85, label %89, label %86 86: ; preds = %69 %87 = call i32 @perror(ptr noundef @.str.8) %88 = call i32 (...) @abort() #3 unreachable 89: ; preds = %69 %90 = load ptr, ptr %7, align 8 %91 = load i64, ptr %12, align 8 %92 = load i64, ptr %11, align 8 %93 = sub nsw i64 %91, %92 %94 = load ptr, ptr %10, align 8 %95 = call i32 @fwrite(ptr noundef %90, i32 noundef 1, i64 noundef %93, ptr noundef %94) %96 = icmp ne i32 %95, 0 br i1 %96, label %100, label %97 97: ; preds = %89 %98 = call i32 @perror(ptr noundef @.str.9) %99 = call i32 (...) @abort() #3 unreachable 100: ; preds = %89 %101 = load ptr, ptr %7, align 8 %102 = call i32 @free(ptr noundef %101) %103 = load ptr, ptr %9, align 8 %104 = call i32 @fclose(ptr noundef %103) %105 = load ptr, ptr %10, align 8 %106 = call i32 @fclose(ptr noundef %105) %107 = load i64, ptr %11, align 8 %108 = inttoptr i64 %107 to ptr %109 = load i64, ptr %12, align 8 %110 = inttoptr i64 %109 to ptr %111 = load i64, ptr %12, align 8 %112 = load i64, ptr %11, align 8 %113 = sub nsw i64 %111, %112 %114 = trunc i64 %113 to i32 %115 = call i32 @printf(ptr noundef @.str.10, ptr noundef %108, ptr noundef %110, i32 noundef %114) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @strstr(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i64 @strtoll(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1 declare i64 @malloc(i64 noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @printf(ptr 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpemx34n6z.c" target datalayout = "e-m:e-p270: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 [121 x i8] c"Usage: %s <file> <string>\0A\09<file>: File to write the vdso data to.\0A\09<string>: Name of the mapped in region, e.g. vdso\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"Error: fopen() - output file\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"/proc/self/maps\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.5 = private unnamed_addr constant [33 x i8] c"Error: fopen() - /proc/self/maps\00", align 1 @.str.6 = private unnamed_addr constant [15 x i8] c"/proc/self/mem\00", align 1 @.str.7 = private unnamed_addr constant [32 x i8] c"Error: fopen() - /proc/self/mem\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [31 x i8] c"Error: read() - /proc/self/mem\00", align 1 @.str.9 = private unnamed_addr constant [30 x i8] c"Error: fwrite() - output file\00", align 1 @.str.10 = private unnamed_addr constant [31 x i8] c"Start: %p\0AEnd: %p\0ABytes: %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 [256 x i8], align 16 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %13 = load i32, ptr %4, align 4 %14 = icmp ne i32 %13, 3 br i1 %14, label %15, label %22 15: ; preds = %2 %16 = load i32, ptr @stderr, align 4 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 0 %19 = load ptr, ptr %18, align 8 %20 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str, ptr noundef %19) %21 = call i32 (...) @abort() #3 unreachable 22: ; preds = %2 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 2 %25 = load ptr, ptr %24, align 8 store ptr %25, ptr %8, align 8 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 1 %28 = load ptr, ptr %27, align 8 %29 = call ptr @fopen(ptr noundef %28, ptr noundef @.str.1) store ptr %29, ptr %10, align 8 %30 = icmp ne ptr %29, null br i1 %30, label %34, label %31 31: ; preds = %22 %32 = call i32 @perror(ptr noundef @.str.2) %33 = call i32 (...) @abort() #3 unreachable 34: ; preds = %22 %35 = call ptr @fopen(ptr noundef @.str.3, ptr noundef @.str.4) store ptr %35, ptr %9, align 8 %36 = icmp ne ptr %35, null br i1 %36, label %40, label %37 37: ; preds = %34 %38 = call i32 @perror(ptr noundef @.str.5) %39 = call i32 (...) @abort() #3 unreachable 40: ; preds = %34 %41 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %42 = load ptr, ptr %9, align 8 %43 = call i64 @fgets(ptr noundef %41, i32 noundef 256, ptr noundef %42) %44 = icmp ne i64 %43, 0 br i1 %44, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %40 br label %49 45: ; preds = %49 %46 = load ptr, ptr %9, align 8 %47 = call i64 @fgets(ptr noundef %41, i32 noundef 256, ptr noundef %46) %48 = icmp ne i64 %47, 0 br i1 %48, label %49, label %..loopexit_crit_edge, !llvm.loop !6 49: ; preds = %.lr.ph, %45 %50 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %51 = load ptr, ptr %8, align 8 %52 = call i64 @strstr(ptr noundef %50, ptr noundef %51) %53 = icmp ne i64 %52, 0 br i1 %53, label %54, label %45 54: ; preds = %49 br label %55 ..loopexit_crit_edge: ; preds = %45 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %40 br label %55 55: ; preds = %.loopexit, %54 %56 = load ptr, ptr %9, align 8 %57 = call i32 @fclose(ptr noundef %56) %58 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %59 = call ptr @strchr(ptr noundef %58, i8 noundef signext 45) %60 = getelementptr inbounds i8, ptr %59, i64 1 %61 = call i64 @strtoll(ptr noundef %60, ptr noundef null, i32 noundef 16) store i64 %61, ptr %12, align 8 %62 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %63 = call ptr @strchr(ptr noundef %62, i8 noundef signext 45) store i8 0, ptr %63, align 1 %64 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %65 = call i64 @strtoll(ptr noundef %64, ptr noundef null, i32 noundef 16) store i64 %65, ptr %11, align 8 %66 = call ptr @fopen(ptr noundef @.str.6, ptr noundef @.str.4) store ptr %66, ptr %9, align 8 %67 = icmp ne ptr %66, null br i1 %67, label %71, label %68 68: ; preds = %55 %69 = call i32 @perror(ptr noundef @.str.7) %70 = call i32 (...) @abort() #3 unreachable 71: ; preds = %55 %72 = load ptr, ptr %9, align 8 %73 = load i64, ptr %11, align 8 %74 = load i32, ptr @SEEK_SET, align 4 %75 = call i32 @fseek(ptr noundef %72, i64 noundef %73, i32 noundef %74) %76 = load i64, ptr %12, align 8 %77 = load i64, ptr %11, align 8 %78 = sub nsw i64 %76, %77 %79 = call i64 @malloc(i64 noundef %78) %80 = inttoptr i64 %79 to ptr store ptr %80, ptr %7, align 8 %81 = load ptr, ptr %7, align 8 %82 = load i64, ptr %12, align 8 %83 = load i64, ptr %11, align 8 %84 = sub nsw i64 %82, %83 %85 = load ptr, ptr %9, align 8 %86 = call i32 @fread(ptr noundef %81, i32 noundef 1, i64 noundef %84, ptr noundef %85) %87 = icmp ne i32 %86, 0 br i1 %87, label %91, label %88 88: ; preds = %71 %89 = call i32 @perror(ptr noundef @.str.8) %90 = call i32 (...) @abort() #3 unreachable 91: ; preds = %71 %92 = load ptr, ptr %7, align 8 %93 = load i64, ptr %12, align 8 %94 = load i64, ptr %11, align 8 %95 = sub nsw i64 %93, %94 %96 = load ptr, ptr %10, align 8 %97 = call i32 @fwrite(ptr noundef %92, i32 noundef 1, i64 noundef %95, ptr noundef %96) %98 = icmp ne i32 %97, 0 br i1 %98, label %102, label %99 99: ; preds = %91 %100 = call i32 @perror(ptr noundef @.str.9) %101 = call i32 (...) @abort() #3 unreachable 102: ; preds = %91 %103 = load ptr, ptr %7, align 8 %104 = call i32 @free(ptr noundef %103) %105 = load ptr, ptr %9, align 8 %106 = call i32 @fclose(ptr noundef %105) %107 = load ptr, ptr %10, align 8 %108 = call i32 @fclose(ptr noundef %107) %109 = load i64, ptr %11, align 8 %110 = inttoptr i64 %109 to ptr %111 = load i64, ptr %12, align 8 %112 = inttoptr i64 %111 to ptr %113 = load i64, ptr %12, align 8 %114 = load i64, ptr %11, align 8 %115 = sub nsw i64 %113, %114 %116 = trunc i64 %115 to i32 %117 = call i32 @printf(ptr noundef @.str.10, ptr noundef %110, ptr noundef %112, i32 noundef %116) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @strstr(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i64 @strtoll(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1 declare i64 @malloc(i64 noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @printf(ptr 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"}
; ModuleID = '/tmp/tmp1kvuq8ae.c' source_filename = "/tmp/tmp1kvuq8ae.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @print_bang(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %10, %1 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %5, %6 br i1 %7, label %8, label %13 8: ; preds = %4 %9 = call i32 @printf(ptr noundef @.str) br label %10 10: ; preds = %8 %11 = load i32, ptr %3, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %3, align 4 br label %4, !llvm.loop !6 13: ; preds = %4 %14 = call i32 @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1kvuq8ae.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @print_bang(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %4, %5 br i1 %6, label %.lr.ph, label %15 .lr.ph: ; preds = %1 br label %7 7: ; preds = %.lr.ph, %9 %8 = call i32 @printf(ptr noundef @.str) br label %9 9: ; preds = %7 %10 = load i32, ptr %3, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %3, align 4 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr %2, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %15 15: ; preds = %._crit_edge, %1 %16 = call i32 @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpx_cvpdbq.c' source_filename = "/tmp/tmpx_cvpdbq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_destroy(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 @free(ptr noundef %3) 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/tmpx_cvpdbq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_destroy(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 @free(ptr noundef %3) 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/tmpetsjbine.c' source_filename = "/tmp/tmpetsjbine.c" target datalayout = "e-m:e-p270: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 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpetsjbine.c" target datalayout = "e-m:e-p270: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 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpanx_eavl.c' source_filename = "/tmp/tmpanx_eavl.c" target datalayout = "e-m:e-p270: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/tmpanx_eavl.c" target datalayout = "e-m:e-p270: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/tmpzmp7sgji.c' source_filename = "/tmp/tmpzmp7sgji.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_ffs(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 i64 @ffs(i32 noundef %3) %5 = load i32, ptr %2, align 4 %6 = call i64 @ffs(i32 noundef %5) %7 = icmp ne i64 %4, %6 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = call i32 (...) @link_failure_ffs() br label %10 10: ; preds = %8, %1 ret void } declare i64 @ffs(i32 noundef) #1 declare i32 @link_failure_ffs(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzmp7sgji.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_ffs(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 i64 @ffs(i32 noundef %3) %5 = load i32, ptr %2, align 4 %6 = call i64 @ffs(i32 noundef %5) %7 = icmp ne i64 %4, %6 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = call i32 (...) @link_failure_ffs() br label %10 10: ; preds = %8, %1 ret void } declare i64 @ffs(i32 noundef) #1 declare i32 @link_failure_ffs(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpx4fac3bp.c' source_filename = "/tmp/tmpx4fac3bp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"correct\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"wrong\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 i64 (...) @checkPasswd() %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = call i32 @printf(ptr noundef @.str) br label %12 10: ; preds = %2 %11 = call i32 @printf(ptr noundef @.str.1) br label %12 12: ; preds = %10, %8 ret i32 0 } declare i64 @checkPasswd(...) #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/tmpx4fac3bp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"correct\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"wrong\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 i64 (...) @checkPasswd() %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = call i32 @printf(ptr noundef @.str) br label %12 10: ; preds = %2 %11 = call i32 @printf(ptr noundef @.str.1) br label %12 12: ; preds = %10, %8 ret i32 0 } declare i64 @checkPasswd(...) #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/tmpfqq4_oeg.c' source_filename = "/tmp/tmpfqq4_oeg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @coq_fsqrt(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @sqrt(double noundef %3) #2 ret double %4 } ; Function Attrs: nounwind declare double @sqrt(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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfqq4_oeg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @coq_fsqrt(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @sqrt(double noundef %3) #2 ret double %4 } ; Function Attrs: nounwind declare double @sqrt(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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpumfiv5k6.c' source_filename = "/tmp/tmpumfiv5k6.c" target datalayout = "e-m:e-p270: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/tmpumfiv5k6.c" target datalayout = "e-m:e-p270: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/tmpyc2ywg4q.c' source_filename = "/tmp/tmpyc2ywg4q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"%d - %d = %d : %d\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 @tsub_ok(i32 noundef -2147483640, i32 noundef 2147483640) %3 = call i32 @printf(ptr noundef @.str, i32 noundef -2147483640, i32 noundef 2147483640, i32 noundef 16, i32 noundef %2) %4 = call i32 @tsub_ok(i32 noundef 2147483640, i32 noundef -1000) %5 = call i32 @printf(ptr noundef @.str, i32 noundef 2147483640, i32 noundef -1000, i32 noundef -2147482656, i32 noundef %4) %6 = call i32 @tsub_ok(i32 noundef 2147483640, i32 noundef 1000) %7 = call i32 @printf(ptr noundef @.str, i32 noundef 2147483640, i32 noundef 1000, i32 noundef 2147482640, i32 noundef %6) %8 = call i32 @tsub_ok(i32 noundef 3640, i32 noundef -1000) %9 = call i32 @printf(ptr noundef @.str, i32 noundef 3640, i32 noundef -1000, i32 noundef 4640, i32 noundef %8) %10 = call i32 @tsub_ok(i32 noundef -3640, i32 noundef -1000) %11 = call i32 @printf(ptr noundef @.str, i32 noundef -3640, i32 noundef -1000, i32 noundef -2640, i32 noundef %10) %12 = call i32 @tsub_ok(i32 noundef 0, i32 noundef -1000) %13 = call i32 @printf(ptr noundef @.str, i32 noundef 0, i32 noundef -1000, i32 noundef 1000, i32 noundef %12) %14 = call i32 @tsub_ok(i32 noundef 0, i32 noundef 1000) %15 = call i32 @printf(ptr noundef @.str, i32 noundef 0, i32 noundef 1000, i32 noundef -1000, i32 noundef %14) %16 = call i32 @tsub_ok(i32 noundef 100, i32 noundef 0) %17 = call i32 @printf(ptr noundef @.str, i32 noundef 100, i32 noundef 0, i32 noundef 100, i32 noundef %16) %18 = call i32 @tsub_ok(i32 noundef -100, i32 noundef 0) %19 = call i32 @printf(ptr noundef @.str, i32 noundef -100, i32 noundef 0, i32 noundef -100, i32 noundef %18) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @tsub_ok(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/tmpyc2ywg4q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"%d - %d = %d : %d\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 @tsub_ok(i32 noundef -2147483640, i32 noundef 2147483640) %3 = call i32 @printf(ptr noundef @.str, i32 noundef -2147483640, i32 noundef 2147483640, i32 noundef 16, i32 noundef %2) %4 = call i32 @tsub_ok(i32 noundef 2147483640, i32 noundef -1000) %5 = call i32 @printf(ptr noundef @.str, i32 noundef 2147483640, i32 noundef -1000, i32 noundef -2147482656, i32 noundef %4) %6 = call i32 @tsub_ok(i32 noundef 2147483640, i32 noundef 1000) %7 = call i32 @printf(ptr noundef @.str, i32 noundef 2147483640, i32 noundef 1000, i32 noundef 2147482640, i32 noundef %6) %8 = call i32 @tsub_ok(i32 noundef 3640, i32 noundef -1000) %9 = call i32 @printf(ptr noundef @.str, i32 noundef 3640, i32 noundef -1000, i32 noundef 4640, i32 noundef %8) %10 = call i32 @tsub_ok(i32 noundef -3640, i32 noundef -1000) %11 = call i32 @printf(ptr noundef @.str, i32 noundef -3640, i32 noundef -1000, i32 noundef -2640, i32 noundef %10) %12 = call i32 @tsub_ok(i32 noundef 0, i32 noundef -1000) %13 = call i32 @printf(ptr noundef @.str, i32 noundef 0, i32 noundef -1000, i32 noundef 1000, i32 noundef %12) %14 = call i32 @tsub_ok(i32 noundef 0, i32 noundef 1000) %15 = call i32 @printf(ptr noundef @.str, i32 noundef 0, i32 noundef 1000, i32 noundef -1000, i32 noundef %14) %16 = call i32 @tsub_ok(i32 noundef 100, i32 noundef 0) %17 = call i32 @printf(ptr noundef @.str, i32 noundef 100, i32 noundef 0, i32 noundef 100, i32 noundef %16) %18 = call i32 @tsub_ok(i32 noundef -100, i32 noundef 0) %19 = call i32 @printf(ptr noundef @.str, i32 noundef -100, i32 noundef 0, i32 noundef -100, i32 noundef %18) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @tsub_ok(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/tmpzlrunen5.c' source_filename = "/tmp/tmpzlrunen5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rankify2(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [10 x i8], align 1 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %10 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 0 %11 = load ptr, ptr %4, align 8 %12 = call i32 @strcpy(ptr noundef %10, ptr noundef %11) %13 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 0 %14 = call i32 @strlen(ptr noundef %13) store i32 %14, ptr %8, align 4 store i32 0, ptr %5, align 4 br label %15 15: ; preds = %76, %2 %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %8, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %79 19: ; preds = %15 store i32 0, ptr %6, align 4 br label %20 20: ; preds = %34, %19 %21 = load i32, ptr %6, align 4 %22 = load i32, ptr %8, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %24, label %37 24: ; preds = %20 %25 = load i32, ptr %6, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 %26 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp ne i32 %29, 1 br i1 %30, label %31, label %33 31: ; preds = %24 %32 = load i32, ptr %6, align 4 store i32 %32, ptr %7, align 4 br label %37 33: ; preds = %24 br label %34 34: ; preds = %33 %35 = load i32, ptr %6, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %6, align 4 br label %20, !llvm.loop !6 37: ; preds = %31, %20 store i32 0, ptr %6, align 4 br label %38 38: ; preds = %64, %37 %39 = load i32, ptr %6, align 4 %40 = load i32, ptr %8, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %42, label %67 42: ; preds = %38 %43 = load i32, ptr %7, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 %44 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = load i32, ptr %6, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 %49 %51 = load i8, ptr %50, align 1 %52 = sext i8 %51 to i32 %53 = icmp sgt i32 %47, %52 br i1 %53, label %54, label %63 54: ; preds = %42 %55 = load i32, ptr %6, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 %56 %58 = load i8, ptr %57, align 1 %59 = sext i8 %58 to i32 %60 = icmp ne i32 %59, 1 br i1 %60, label %61, label %63 61: ; preds = %54 %62 = load i32, ptr %6, align 4 store i32 %62, ptr %7, align 4 br label %63 63: ; preds = %61, %54, %42 br label %64 64: ; preds = %63 %65 = load i32, ptr %6, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %6, align 4 br label %38, !llvm.loop !8 67: ; preds = %38 %68 = load i32, ptr %5, align 4 %69 = load ptr, ptr %3, align 8 %70 = load i32, ptr %7, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i32, ptr %69, i64 %71 store i32 %68, ptr %72, align 4 %73 = load i32, ptr %7, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 %74 store i8 1, ptr %75, align 1 br label %76 76: ; preds = %67 %77 = load i32, ptr %5, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %5, align 4 br label %15, !llvm.loop !9 79: ; preds = %15 ret void } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzlrunen5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rankify2(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [10 x i8], align 1 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %10 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 0 %11 = load ptr, ptr %4, align 8 %12 = call i32 @strcpy(ptr noundef %10, ptr noundef %11) %13 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 0 %14 = call i32 @strlen(ptr noundef %13) store i32 %14, ptr %8, align 4 store i32 0, ptr %5, align 4 %15 = load i32, ptr %5, align 4 %16 = load i32, ptr %8, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph3, label %85 .lr.ph3: ; preds = %2 br label %18 18: ; preds = %.lr.ph3, %79 store i32 0, ptr %6, align 4 %19 = load i32, ptr %6, align 4 %20 = load i32, ptr %8, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %18 br label %22 22: ; preds = %.lr.ph, %32 %23 = load i32, ptr %6, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 %24 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp ne i32 %27, 1 br i1 %28, label %29, label %31 29: ; preds = %22 %30 = load i32, ptr %6, align 4 store i32 %30, ptr %7, align 4 br label %38 31: ; preds = %22 br label %32 32: ; preds = %31 %33 = load i32, ptr %6, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %6, align 4 %35 = load i32, ptr %6, align 4 %36 = load i32, ptr %8, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %22, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %32 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %18 br label %38 38: ; preds = %.loopexit, %29 store i32 0, ptr %6, align 4 %39 = load i32, ptr %6, align 4 %40 = load i32, ptr %8, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %.lr.ph1, label %70 .lr.ph1: ; preds = %38 br label %42 42: ; preds = %.lr.ph1, %64 %43 = load i32, ptr %7, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 %44 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = load i32, ptr %6, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 %49 %51 = load i8, ptr %50, align 1 %52 = sext i8 %51 to i32 %53 = icmp sgt i32 %47, %52 br i1 %53, label %54, label %63 54: ; preds = %42 %55 = load i32, ptr %6, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 %56 %58 = load i8, ptr %57, align 1 %59 = sext i8 %58 to i32 %60 = icmp ne i32 %59, 1 br i1 %60, label %61, label %63 61: ; preds = %54 %62 = load i32, ptr %6, align 4 store i32 %62, ptr %7, align 4 br label %63 63: ; preds = %61, %54, %42 br label %64 64: ; preds = %63 %65 = load i32, ptr %6, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %6, align 4 %67 = load i32, ptr %6, align 4 %68 = load i32, ptr %8, align 4 %69 = icmp slt i32 %67, %68 br i1 %69, label %42, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %64 br label %70 70: ; preds = %._crit_edge, %38 %71 = load i32, ptr %5, align 4 %72 = load ptr, ptr %3, align 8 %73 = load i32, ptr %7, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds i32, ptr %72, i64 %74 store i32 %71, ptr %75, align 4 %76 = load i32, ptr %7, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 %77 store i8 1, ptr %78, align 1 br label %79 79: ; preds = %70 %80 = load i32, ptr %5, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %5, align 4 %82 = load i32, ptr %5, align 4 %83 = load i32, ptr %8, align 4 %84 = icmp slt i32 %82, %83 br i1 %84, label %18, label %._crit_edge4, !llvm.loop !9 ._crit_edge4: ; preds = %79 br label %85 85: ; preds = %._crit_edge4, %2 ret void } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpnr74zzq8.c' source_filename = "/tmp/tmpnr74zzq8.c" target datalayout = "e-m:e-p270: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/tmpnr74zzq8.c" target datalayout = "e-m:e-p270: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/tmpe63av66l.c' source_filename = "/tmp/tmpe63av66l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @date_is_valid(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca [255 x i8], align 16 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %7, align 4 %8 = load ptr, ptr %3, align 8 %9 = call i64 @strlen(ptr noundef %8) %10 = load ptr, ptr %4, align 8 %11 = call i64 @strlen(ptr noundef %10) %12 = icmp eq i64 %9, %11 br i1 %12, label %13, label %27 13: ; preds = %2 %14 = load ptr, ptr %3, align 8 %15 = load ptr, ptr %4, align 8 %16 = call i32 @mk_time_(ptr noundef %14, ptr noundef %15) store i32 %16, ptr %5, align 4 %17 = getelementptr inbounds [255 x i8], ptr %6, i64 0, i64 0 %18 = load ptr, ptr %4, align 8 %19 = call i32 @date_get_by_epoch(ptr noundef %17, ptr noundef %18, ptr noundef %5) %20 = load ptr, ptr %3, align 8 %21 = getelementptr inbounds [255 x i8], ptr %6, i64 0, i64 0 %22 = call i32 @strcmp(ptr noundef %20, ptr noundef %21) %23 = icmp ne i32 %22, 0 %24 = xor i1 %23, true %25 = zext i1 %24 to i64 %26 = select i1 %24, i32 1, i32 0 store i32 %26, ptr %7, align 4 br label %27 27: ; preds = %13, %2 %28 = load i32, ptr %7, align 4 ret i32 %28 } declare i64 @strlen(ptr noundef) #1 declare i32 @mk_time_(ptr noundef, ptr noundef) #1 declare i32 @date_get_by_epoch(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe63av66l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @date_is_valid(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca [255 x i8], align 16 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %7, align 4 %8 = load ptr, ptr %3, align 8 %9 = call i64 @strlen(ptr noundef %8) %10 = load ptr, ptr %4, align 8 %11 = call i64 @strlen(ptr noundef %10) %12 = icmp eq i64 %9, %11 br i1 %12, label %13, label %27 13: ; preds = %2 %14 = load ptr, ptr %3, align 8 %15 = load ptr, ptr %4, align 8 %16 = call i32 @mk_time_(ptr noundef %14, ptr noundef %15) store i32 %16, ptr %5, align 4 %17 = getelementptr inbounds [255 x i8], ptr %6, i64 0, i64 0 %18 = load ptr, ptr %4, align 8 %19 = call i32 @date_get_by_epoch(ptr noundef %17, ptr noundef %18, ptr noundef %5) %20 = load ptr, ptr %3, align 8 %21 = getelementptr inbounds [255 x i8], ptr %6, i64 0, i64 0 %22 = call i32 @strcmp(ptr noundef %20, ptr noundef %21) %23 = icmp ne i32 %22, 0 %24 = xor i1 %23, true %25 = zext i1 %24 to i64 %26 = select i1 %24, i32 1, i32 0 store i32 %26, ptr %7, align 4 br label %27 27: ; preds = %13, %2 %28 = load i32, ptr %7, align 4 ret i32 %28 } declare i64 @strlen(ptr noundef) #1 declare i32 @mk_time_(ptr noundef, ptr noundef) #1 declare i32 @date_get_by_epoch(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppyd9ls1y.c' source_filename = "/tmp/tmppyd9ls1y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @RandomRange(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %5 = call i64 (...) @ran1() %6 = sitofp i64 %5 to double %7 = load double, ptr %4, align 8 %8 = load double, ptr %3, align 8 %9 = fsub double %7, %8 %10 = load double, ptr %3, align 8 %11 = call double @llvm.fmuladd.f64(double %6, double %9, double %10) ret double %11 } declare i64 @ran1(...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppyd9ls1y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @RandomRange(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %5 = call i64 (...) @ran1() %6 = sitofp i64 %5 to double %7 = load double, ptr %4, align 8 %8 = load double, ptr %3, align 8 %9 = fsub double %7, %8 %10 = load double, ptr %3, align 8 %11 = call double @llvm.fmuladd.f64(double %6, double %9, double %10) ret double %11 } declare i64 @ran1(...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptgtbgjr2.c' source_filename = "/tmp/tmptgtbgjr2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"please use topk file num\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"read error \0A\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"\E8\AF\BB\E5\8F\96\E5\90\8E\E7\9A\84\E6\95\B0\E6\8D\AE\EF\BC\9A\0A\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.6 = private unnamed_addr constant [29 x i8] c"\E5\88\9D\E5\A7\8B\E5\8C\96\E5\A0\86\E5\90\8E\E7\9A\84\E6\95\B0\E6\8D\AE\EF\BC\9A\0A\00", align 1 @.str.7 = private unnamed_addr constant [17 x i8] c"\E6\9C\80\E7\BB\88\E6\95\B0\E6\8D\AE\EF\BC\9A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %12, 2 br i1 %13, label %14, label %16 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %3, align 4 br label %154 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 2 %19 = load ptr, ptr %18, align 8 %20 = call i32 @atoi(ptr noundef %19) store i32 %20, ptr %6, align 4 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 1 %23 = load ptr, ptr %22, align 8 store ptr %23, ptr %7, align 8 store i32 0, ptr %8, align 4 %24 = load i32, ptr %6, align 4 %25 = add nsw i32 %24, 2 %26 = sext i32 %25 to i64 %27 = mul i64 4, %26 %28 = trunc i64 %27 to i32 %29 = call i64 @malloc(i32 noundef %28) %30 = inttoptr i64 %29 to ptr store ptr %30, ptr %9, align 8 %31 = load ptr, ptr %7, align 8 %32 = call ptr @fopen(ptr noundef %31, ptr noundef @.str.1) store ptr %32, ptr %10, align 8 %33 = icmp eq ptr %32, null br i1 %33, label %34, label %36 34: ; preds = %16 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %3, align 4 br label %154 36: ; preds = %16 store i32 1, ptr %8, align 4 br label %37 37: ; preds = %48, %36 %38 = load i32, ptr %8, align 4 %39 = load i32, ptr %6, align 4 %40 = icmp sle i32 %38, %39 br i1 %40, label %41, label %51 41: ; preds = %37 %42 = load ptr, ptr %10, align 8 %43 = call i32 @get_a_num(ptr noundef %42) %44 = load ptr, ptr %9, align 8 %45 = load i32, ptr %8, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %44, i64 %46 store i32 %43, ptr %47, align 4 br label %48 48: ; preds = %41 %49 = load i32, ptr %8, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %8, align 4 br label %37, !llvm.loop !6 51: ; preds = %37 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 1, ptr %8, align 4 br label %53 53: ; preds = %64, %51 %54 = load i32, ptr %8, align 4 %55 = load i32, ptr %6, align 4 %56 = icmp sle i32 %54, %55 br i1 %56, label %57, label %67 57: ; preds = %53 %58 = load ptr, ptr %9, align 8 %59 = load i32, ptr %8, 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 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %62) br label %64 64: ; preds = %57 %65 = load i32, ptr %8, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %8, align 4 br label %53, !llvm.loop !8 67: ; preds = %53 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %73 = load i32, ptr %6, align 4 %74 = sdiv i32 %73, 2 store i32 %74, ptr %8, align 4 br label %75 75: ; preds = %83, %67 %76 = load i32, ptr %8, align 4 %77 = icmp sge i32 %76, 1 br i1 %77, label %78, label %86 78: ; preds = %75 %79 = load ptr, ptr %9, align 8 %80 = load i32, ptr %8, align 4 %81 = load i32, ptr %6, align 4 %82 = call i32 @init_heap(ptr noundef %79, i32 noundef %80, i32 noundef %81) br label %83 83: ; preds = %78 %84 = load i32, ptr %8, align 4 %85 = add nsw i32 %84, -1 store i32 %85, ptr %8, align 4 br label %75, !llvm.loop !9 86: ; preds = %75 %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) store i32 1, ptr %8, align 4 br label %88 88: ; preds = %99, %86 %89 = load i32, ptr %8, align 4 %90 = load i32, ptr %6, align 4 %91 = icmp sle i32 %89, %90 br i1 %91, label %92, label %102 92: ; preds = %88 %93 = load ptr, ptr %9, align 8 %94 = load i32, ptr %8, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds i32, ptr %93, i64 %95 %97 = load i32, ptr %96, align 4 %98 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %97) br label %99 99: ; preds = %92 %100 = load i32, ptr %8, align 4 %101 = add nsw i32 %100, 1 store i32 %101, ptr %8, align 4 br label %88, !llvm.loop !10 102: ; preds = %88 %103 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %104 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %105 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %106 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %107 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %108 108: ; preds = %102, %120, %121 %109 = load ptr, ptr %10, align 8 %110 = call i32 @get_a_num(ptr noundef %109) store i32 %110, ptr %11, align 4 %111 = load i32, ptr %11, align 4 %112 = icmp eq i32 %111, -1 br i1 %112, label %113, label %114 113: ; preds = %108 br label %132 114: ; preds = %108 %115 = load i32, ptr %11, align 4 %116 = load ptr, ptr %9, align 8 %117 = getelementptr inbounds i32, ptr %116, i64 1 %118 = load i32, ptr %117, align 4 %119 = icmp sle i32 %115, %118 br i1 %119, label %120, label %121 120: ; preds = %114 br label %108 121: ; preds = %114 %122 = load i32, ptr %11, align 4 %123 = load ptr, ptr %9, align 8 %124 = load i32, ptr %6, align 4 %125 = add nsw i32 %124, 1 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds i32, ptr %123, i64 %126 store i32 %122, ptr %127, align 4 %128 = load ptr, ptr %9, align 8 %129 = load i32, ptr %6, align 4 %130 = add nsw i32 %129, 1 %131 = call i32 @sink_heap(ptr noundef %128, i32 noundef %130) br label %108 132: ; preds = %113 %133 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) store i32 1, ptr %8, align 4 br label %134 134: ; preds = %145, %132 %135 = load i32, ptr %8, align 4 %136 = load i32, ptr %6, align 4 %137 = icmp sle i32 %135, %136 br i1 %137, label %138, label %148 138: ; preds = %134 %139 = load ptr, ptr %9, align 8 %140 = load i32, ptr %8, align 4 %141 = sext i32 %140 to i64 %142 = getelementptr inbounds i32, ptr %139, i64 %141 %143 = load i32, ptr %142, align 4 %144 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %143) br label %145 145: ; preds = %138 %146 = load i32, ptr %8, align 4 %147 = add nsw i32 %146, 1 store i32 %147, ptr %8, align 4 br label %134, !llvm.loop !11 148: ; preds = %134 %149 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %150 = load ptr, ptr %10, align 8 %151 = call i32 @fclose(ptr noundef %150) %152 = load ptr, ptr %9, align 8 %153 = call i32 @free(ptr noundef %152) br label %154 154: ; preds = %148, %34, %14 %155 = load i32, ptr %3, align 4 ret i32 %155 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @atoi(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @get_a_num(ptr noundef) #1 declare i32 @init_heap(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @sink_heap(ptr noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptgtbgjr2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"please use topk file num\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"read error \0A\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"\E8\AF\BB\E5\8F\96\E5\90\8E\E7\9A\84\E6\95\B0\E6\8D\AE\EF\BC\9A\0A\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.6 = private unnamed_addr constant [29 x i8] c"\E5\88\9D\E5\A7\8B\E5\8C\96\E5\A0\86\E5\90\8E\E7\9A\84\E6\95\B0\E6\8D\AE\EF\BC\9A\0A\00", align 1 @.str.7 = private unnamed_addr constant [17 x i8] c"\E6\9C\80\E7\BB\88\E6\95\B0\E6\8D\AE\EF\BC\9A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %12, 2 br i1 %13, label %14, label %16 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %3, align 4 br label %166 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 2 %19 = load ptr, ptr %18, align 8 %20 = call i32 @atoi(ptr noundef %19) store i32 %20, ptr %6, align 4 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 1 %23 = load ptr, ptr %22, align 8 store ptr %23, ptr %7, align 8 store i32 0, ptr %8, align 4 %24 = load i32, ptr %6, align 4 %25 = add nsw i32 %24, 2 %26 = sext i32 %25 to i64 %27 = mul i64 4, %26 %28 = trunc i64 %27 to i32 %29 = call i64 @malloc(i32 noundef %28) %30 = inttoptr i64 %29 to ptr store ptr %30, ptr %9, align 8 %31 = load ptr, ptr %7, align 8 %32 = call ptr @fopen(ptr noundef %31, ptr noundef @.str.1) store ptr %32, ptr %10, align 8 %33 = icmp eq ptr %32, null br i1 %33, label %34, label %36 34: ; preds = %16 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %3, align 4 br label %166 36: ; preds = %16 store i32 1, ptr %8, align 4 %37 = load i32, ptr %8, align 4 %38 = load i32, ptr %6, align 4 %39 = icmp sle i32 %37, %38 br i1 %39, label %.lr.ph, label %53 .lr.ph: ; preds = %36 br label %40 40: ; preds = %.lr.ph, %47 %41 = load ptr, ptr %10, align 8 %42 = call i32 @get_a_num(ptr noundef %41) %43 = load ptr, ptr %9, align 8 %44 = load i32, ptr %8, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %43, i64 %45 store i32 %42, ptr %46, align 4 br label %47 47: ; preds = %40 %48 = load i32, ptr %8, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %8, align 4 %50 = load i32, ptr %8, align 4 %51 = load i32, ptr %6, align 4 %52 = icmp sle i32 %50, %51 br i1 %52, label %40, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %47 br label %53 53: ; preds = %._crit_edge, %36 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 1, ptr %8, align 4 %55 = load i32, ptr %8, align 4 %56 = load i32, ptr %6, align 4 %57 = icmp sle i32 %55, %56 br i1 %57, label %.lr.ph2, label %71 .lr.ph2: ; preds = %53 br label %58 58: ; preds = %.lr.ph2, %65 %59 = load ptr, ptr %9, align 8 %60 = load i32, ptr %8, 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 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %63) br label %65 65: ; preds = %58 %66 = load i32, ptr %8, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %8, align 4 %68 = load i32, ptr %8, align 4 %69 = load i32, ptr %6, align 4 %70 = icmp sle i32 %68, %69 br i1 %70, label %58, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %65 br label %71 71: ; preds = %._crit_edge3, %53 %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %77 = load i32, ptr %6, align 4 %78 = sdiv i32 %77, 2 store i32 %78, ptr %8, align 4 %79 = load i32, ptr %8, align 4 %80 = icmp sge i32 %79, 1 br i1 %80, label %.lr.ph5, label %91 .lr.ph5: ; preds = %71 br label %81 81: ; preds = %.lr.ph5, %86 %82 = load ptr, ptr %9, align 8 %83 = load i32, ptr %8, align 4 %84 = load i32, ptr %6, align 4 %85 = call i32 @init_heap(ptr noundef %82, i32 noundef %83, i32 noundef %84) br label %86 86: ; preds = %81 %87 = load i32, ptr %8, align 4 %88 = add nsw i32 %87, -1 store i32 %88, ptr %8, align 4 %89 = load i32, ptr %8, align 4 %90 = icmp sge i32 %89, 1 br i1 %90, label %81, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %86 br label %91 91: ; preds = %._crit_edge6, %71 %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) store i32 1, ptr %8, align 4 %93 = load i32, ptr %8, align 4 %94 = load i32, ptr %6, align 4 %95 = icmp sle i32 %93, %94 br i1 %95, label %.lr.ph8, label %109 .lr.ph8: ; preds = %91 br label %96 96: ; preds = %.lr.ph8, %103 %97 = load ptr, ptr %9, align 8 %98 = load i32, ptr %8, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds i32, ptr %97, i64 %99 %101 = load i32, ptr %100, align 4 %102 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %101) br label %103 103: ; preds = %96 %104 = load i32, ptr %8, align 4 %105 = add nsw i32 %104, 1 store i32 %105, ptr %8, align 4 %106 = load i32, ptr %8, align 4 %107 = load i32, ptr %6, align 4 %108 = icmp sle i32 %106, %107 br i1 %108, label %96, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %103 br label %109 109: ; preds = %._crit_edge9, %91 %110 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %111 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %112 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %113 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %114 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %115 = load ptr, ptr %10, align 8 %116 = call i32 @get_a_num(ptr noundef %115) store i32 %116, ptr %11, align 4 %117 = load i32, ptr %11, align 4 %118 = icmp eq i32 %117, -1 br i1 %118, label %119, label %.lr.ph11 .lr.ph11: ; preds = %109 br label %120 ._crit_edge12: ; preds = %.backedge br label %119 119: ; preds = %._crit_edge12, %109 br label %142 120: ; preds = %.lr.ph11, %.backedge %121 = load i32, ptr %11, align 4 %122 = load ptr, ptr %9, align 8 %123 = getelementptr inbounds i32, ptr %122, i64 1 %124 = load i32, ptr %123, align 4 %125 = icmp sle i32 %121, %124 br i1 %125, label %126, label %131 126: ; preds = %120 br label %.backedge .backedge: ; preds = %126, %131 %127 = load ptr, ptr %10, align 8 %128 = call i32 @get_a_num(ptr noundef %127) store i32 %128, ptr %11, align 4 %129 = load i32, ptr %11, align 4 %130 = icmp eq i32 %129, -1 br i1 %130, label %._crit_edge12, label %120 131: ; preds = %120 %132 = load i32, ptr %11, align 4 %133 = load ptr, ptr %9, align 8 %134 = load i32, ptr %6, align 4 %135 = add nsw i32 %134, 1 %136 = sext i32 %135 to i64 %137 = getelementptr inbounds i32, ptr %133, i64 %136 store i32 %132, ptr %137, align 4 %138 = load ptr, ptr %9, align 8 %139 = load i32, ptr %6, align 4 %140 = add nsw i32 %139, 1 %141 = call i32 @sink_heap(ptr noundef %138, i32 noundef %140) br label %.backedge 142: ; preds = %119 %143 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) store i32 1, ptr %8, align 4 %144 = load i32, ptr %8, align 4 %145 = load i32, ptr %6, align 4 %146 = icmp sle i32 %144, %145 br i1 %146, label %.lr.ph14, label %160 .lr.ph14: ; preds = %142 br label %147 147: ; preds = %.lr.ph14, %154 %148 = load ptr, ptr %9, align 8 %149 = load i32, ptr %8, align 4 %150 = sext i32 %149 to i64 %151 = getelementptr inbounds i32, ptr %148, i64 %150 %152 = load i32, ptr %151, align 4 %153 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %152) br label %154 154: ; preds = %147 %155 = load i32, ptr %8, align 4 %156 = add nsw i32 %155, 1 store i32 %156, ptr %8, align 4 %157 = load i32, ptr %8, align 4 %158 = load i32, ptr %6, align 4 %159 = icmp sle i32 %157, %158 br i1 %159, label %147, label %._crit_edge15, !llvm.loop !11 ._crit_edge15: ; preds = %154 br label %160 160: ; preds = %._crit_edge15, %142 %161 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %162 = load ptr, ptr %10, align 8 %163 = call i32 @fclose(ptr noundef %162) %164 = load ptr, ptr %9, align 8 %165 = call i32 @free(ptr noundef %164) br label %166 166: ; preds = %160, %34, %14 %167 = load i32, ptr %3, align 4 ret i32 %167 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @atoi(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @get_a_num(ptr noundef) #1 declare i32 @init_heap(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @sink_heap(ptr noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpho4v0_rn.c' source_filename = "/tmp/tmpho4v0_rn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"HTTP/1.0\00\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"Protocol detected: HTTP/1.0\0A\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"HTTP/1.1\00\00", align 1 @.str.3 = private unnamed_addr constant [29 x i8] c"Protocol detected: HTTP/1.1\0A\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"HTTP/2.0\00\00", align 1 @.str.5 = private unnamed_addr constant [29 x i8] c"Protocol detected: HTTP/2.0\0A\00", align 1 @.str.6 = private unnamed_addr constant [33 x i8] c"\1B[31mProtocol not supported\0A\1B[0m\00", align 1 @.str.7 = private unnamed_addr constant [22 x i8] c"setting the protocol\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @encodeProto(ptr noundef %0, i8 noundef zeroext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i8, align 1 %5 = alloca i8, align 1 store ptr %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 %6 = load ptr, ptr %3, align 8 %7 = call i64 @strncmp(ptr noundef %6, ptr noundef @.str, i32 noundef 9) %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = call i32 @printf(ptr noundef @.str.1) store i8 1, ptr %5, align 1 br label %29 11: ; preds = %2 %12 = load ptr, ptr %3, align 8 %13 = call i64 @strncmp(ptr noundef %12, ptr noundef @.str.2, i32 noundef 9) %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %11 %16 = call i32 @printf(ptr noundef @.str.3) store i8 2, ptr %5, align 1 br label %28 17: ; preds = %11 %18 = load ptr, ptr %3, align 8 %19 = call i64 @strncmp(ptr noundef %18, ptr noundef @.str.4, i32 noundef 9) %20 = icmp eq i64 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %17 %22 = call i32 @printf(ptr noundef @.str.5) store i8 3, ptr %5, align 1 br label %27 23: ; preds = %17 %24 = call i32 @printf(ptr noundef @.str.6) %25 = load i8, ptr %4, align 1 %26 = call i32 @printByteDebug(i8 noundef zeroext %25) store i8 0, ptr %5, align 1 br label %27 27: ; preds = %23, %21 br label %28 28: ; preds = %27, %15 br label %29 29: ; preds = %28, %9 %30 = call i32 @printf(ptr noundef @.str.7) %31 = load i8, ptr %4, align 1 %32 = zext i8 %31 to i32 %33 = and i32 %32, 243 %34 = load i8, ptr %5, align 1 %35 = zext i8 %34 to i32 %36 = shl i32 %35, 2 %37 = and i32 %36, -244 %38 = or i32 %33, %37 %39 = trunc i32 %38 to i8 store i8 %39, ptr %4, align 1 %40 = load i8, ptr %4, align 1 ret i8 %40 } declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @printByteDebug(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/tmpho4v0_rn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"HTTP/1.0\00\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"Protocol detected: HTTP/1.0\0A\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"HTTP/1.1\00\00", align 1 @.str.3 = private unnamed_addr constant [29 x i8] c"Protocol detected: HTTP/1.1\0A\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"HTTP/2.0\00\00", align 1 @.str.5 = private unnamed_addr constant [29 x i8] c"Protocol detected: HTTP/2.0\0A\00", align 1 @.str.6 = private unnamed_addr constant [33 x i8] c"\1B[31mProtocol not supported\0A\1B[0m\00", align 1 @.str.7 = private unnamed_addr constant [22 x i8] c"setting the protocol\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @encodeProto(ptr noundef %0, i8 noundef zeroext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i8, align 1 %5 = alloca i8, align 1 store ptr %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 %6 = load ptr, ptr %3, align 8 %7 = call i64 @strncmp(ptr noundef %6, ptr noundef @.str, i32 noundef 9) %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = call i32 @printf(ptr noundef @.str.1) store i8 1, ptr %5, align 1 br label %29 11: ; preds = %2 %12 = load ptr, ptr %3, align 8 %13 = call i64 @strncmp(ptr noundef %12, ptr noundef @.str.2, i32 noundef 9) %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %11 %16 = call i32 @printf(ptr noundef @.str.3) store i8 2, ptr %5, align 1 br label %28 17: ; preds = %11 %18 = load ptr, ptr %3, align 8 %19 = call i64 @strncmp(ptr noundef %18, ptr noundef @.str.4, i32 noundef 9) %20 = icmp eq i64 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %17 %22 = call i32 @printf(ptr noundef @.str.5) store i8 3, ptr %5, align 1 br label %27 23: ; preds = %17 %24 = call i32 @printf(ptr noundef @.str.6) %25 = load i8, ptr %4, align 1 %26 = call i32 @printByteDebug(i8 noundef zeroext %25) store i8 0, ptr %5, align 1 br label %27 27: ; preds = %23, %21 br label %28 28: ; preds = %27, %15 br label %29 29: ; preds = %28, %9 %30 = call i32 @printf(ptr noundef @.str.7) %31 = load i8, ptr %4, align 1 %32 = zext i8 %31 to i32 %33 = and i32 %32, 243 %34 = load i8, ptr %5, align 1 %35 = zext i8 %34 to i32 %36 = shl i32 %35, 2 %37 = and i32 %36, -244 %38 = or i32 %33, %37 %39 = trunc i32 %38 to i8 store i8 %39, ptr %4, align 1 %40 = load i8, ptr %4, align 1 ret i8 %40 } declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @printByteDebug(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/tmpcteq3fou.c' source_filename = "/tmp/tmpcteq3fou.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @fpu_fpatan(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %6 = load double, ptr %4, align 8 %7 = load double, ptr %3, align 8 %8 = call double @atan2(double noundef %6, double noundef %7) #2 store double %8, ptr %5, align 8 %9 = load double, ptr %5, align 8 ret double %9 } ; Function Attrs: nounwind declare double @atan2(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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcteq3fou.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @fpu_fpatan(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %6 = load double, ptr %4, align 8 %7 = load double, ptr %3, align 8 %8 = call double @atan2(double noundef %6, double noundef %7) #2 store double %8, ptr %5, align 8 %9 = load double, ptr %5, align 8 ret double %9 } ; Function Attrs: nounwind declare double @atan2(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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqji8e_iz.c' source_filename = "/tmp/tmpqji8e_iz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"Hello Split Module Table world (7)\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/tmpqji8e_iz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"Hello Split Module Table world (7)\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/tmpgb30gsx_.c' source_filename = "/tmp/tmpgb30gsx_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [6 x i8] c"Hello\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 store i32 0, ptr %2, align 4 br label %3 3: ; preds = %0, %10 %4 = load i32, ptr %2, align 4 %5 = add nsw i32 %4, 1 store i32 %5, ptr %2, align 4 %6 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1) %7 = load i32, ptr %2, align 4 %8 = icmp sgt i32 %7, 2 br i1 %8, label %9, label %10 9: ; preds = %3 br label %11 10: ; preds = %3 br label %3 11: ; preds = %9 ret i32 0 } 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/tmpgb30gsx_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [6 x i8] c"Hello\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 store i32 0, ptr %2, align 4 br label %3 3: ; preds = %3, %0 %4 = load i32, ptr %2, align 4 %5 = add nsw i32 %4, 1 store i32 %5, ptr %2, align 4 %6 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1) %7 = load i32, ptr %2, align 4 %8 = icmp sgt i32 %7, 2 br i1 %8, label %9, label %3 9: ; preds = %3 br label %10 10: ; preds = %9 ret i32 0 } 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/tmpzu5y5py1.c' source_filename = "/tmp/tmpzu5y5py1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @print_an_address() ret i32 0 } declare i32 @print_an_address(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzu5y5py1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @print_an_address() ret i32 0 } declare i32 @print_an_address(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpo4ddg1zv.c' source_filename = "/tmp/tmpo4ddg1zv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ft_strcdup(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = load i32, ptr %4, align 4 %8 = call i64 @ft_strclen(ptr noundef %6, i32 noundef %7) %9 = add nsw i64 %8, 1 %10 = call i64 @malloc(i64 noundef %9) %11 = inttoptr i64 %10 to ptr store ptr %11, ptr %5, align 8 %12 = load ptr, ptr %5, align 8 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %4, align 4 %15 = call ptr @ft_strccpy(ptr noundef %12, ptr noundef %13, i32 noundef %14) ret ptr %15 } declare i64 @malloc(i64 noundef) #1 declare i64 @ft_strclen(ptr noundef, i32 noundef) #1 declare ptr @ft_strccpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo4ddg1zv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ft_strcdup(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = load i32, ptr %4, align 4 %8 = call i64 @ft_strclen(ptr noundef %6, i32 noundef %7) %9 = add nsw i64 %8, 1 %10 = call i64 @malloc(i64 noundef %9) %11 = inttoptr i64 %10 to ptr store ptr %11, ptr %5, align 8 %12 = load ptr, ptr %5, align 8 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %4, align 4 %15 = call ptr @ft_strccpy(ptr noundef %12, ptr noundef %13, i32 noundef %14) ret ptr %15 } declare i64 @malloc(i64 noundef) #1 declare i64 @ft_strclen(ptr noundef, i32 noundef) #1 declare ptr @ft_strccpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp30ujoh1k.c' source_filename = "/tmp/tmp30ujoh1k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"allocation failure in dvector()\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @dvector(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load i64, ptr %4, align 8 %7 = load i64, ptr %3, align 8 %8 = sub nsw i64 %6, %7 %9 = add nsw i64 %8, 2 %10 = mul i64 %9, 8 %11 = call i64 @malloc(i64 noundef %10) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %5, align 8 %13 = load ptr, ptr %5, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %17, label %15 15: ; preds = %2 %16 = call i32 @nrerror(ptr noundef @.str) br label %17 17: ; preds = %15, %2 %18 = load ptr, ptr %5, align 8 %19 = load i64, ptr %3, align 8 %20 = sub i64 0, %19 %21 = getelementptr inbounds double, ptr %18, i64 %20 %22 = getelementptr inbounds double, ptr %21, i64 1 ret ptr %22 } declare i64 @malloc(i64 noundef) #1 declare i32 @nrerror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp30ujoh1k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"allocation failure in dvector()\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @dvector(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load i64, ptr %4, align 8 %7 = load i64, ptr %3, align 8 %8 = sub nsw i64 %6, %7 %9 = add nsw i64 %8, 2 %10 = mul i64 %9, 8 %11 = call i64 @malloc(i64 noundef %10) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %5, align 8 %13 = load ptr, ptr %5, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %17, label %15 15: ; preds = %2 %16 = call i32 @nrerror(ptr noundef @.str) br label %17 17: ; preds = %15, %2 %18 = load ptr, ptr %5, align 8 %19 = load i64, ptr %3, align 8 %20 = sub i64 0, %19 %21 = getelementptr inbounds double, ptr %18, i64 %20 %22 = getelementptr inbounds double, ptr %21, i64 1 ret ptr %22 } declare i64 @malloc(i64 noundef) #1 declare i32 @nrerror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppo687zgl.c' source_filename = "/tmp/tmppo687zgl.c" target datalayout = "e-m:e-p270: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 [4 x i8] c"%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [73 x i8] c"Error! Incorrect number of parameters.\0AHint: program ifile [-c|-x] ofile\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"-c\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"-x\00", align 1 @.str.4 = private unnamed_addr constant [58 x i8] c"Error! Wrong arguments.\0AHint: program ifile [-c|-x] ofile\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 4 br i1 %7, label %8, label %11 8: ; preds = %2 %9 = load i32, ptr @stderr, align 4 %10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, ptr noundef @.str.1) store i32 1, ptr %3, align 4 br label %44 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 2 %14 = load ptr, ptr %13, align 8 %15 = call i32 @strcmp(ptr noundef %14, ptr noundef @.str.2) %16 = icmp ne i32 %15, 0 br i1 %16, label %25, label %17 17: ; preds = %11 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = load ptr, ptr %19, align 8 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 3 %23 = load ptr, ptr %22, align 8 %24 = call i32 @encode(ptr noundef %20, ptr noundef %23) br label %43 25: ; preds = %11 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 2 %28 = load ptr, ptr %27, align 8 %29 = call i32 @strcmp(ptr noundef %28, ptr noundef @.str.3) %30 = icmp ne i32 %29, 0 br i1 %30, label %39, label %31 31: ; preds = %25 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 1 %34 = load ptr, ptr %33, align 8 %35 = load ptr, ptr %5, align 8 %36 = getelementptr inbounds ptr, ptr %35, i64 3 %37 = load ptr, ptr %36, align 8 %38 = call i32 @decode(ptr noundef %34, ptr noundef %37) br label %42 39: ; preds = %25 %40 = load i32, ptr @stderr, align 4 %41 = call i32 @fprintf(i32 noundef %40, ptr noundef @.str, ptr noundef @.str.4) store i32 1, ptr %3, align 4 br label %44 42: ; preds = %31 br label %43 43: ; preds = %42, %17 store i32 0, ptr %3, align 4 br label %44 44: ; preds = %43, %39, %8 %45 = load i32, ptr %3, align 4 ret i32 %45 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @encode(ptr noundef, ptr noundef) #1 declare i32 @decode(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/tmppo687zgl.c" target datalayout = "e-m:e-p270: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 [4 x i8] c"%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [73 x i8] c"Error! Incorrect number of parameters.\0AHint: program ifile [-c|-x] ofile\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"-c\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"-x\00", align 1 @.str.4 = private unnamed_addr constant [58 x i8] c"Error! Wrong arguments.\0AHint: program ifile [-c|-x] ofile\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 4 br i1 %7, label %8, label %11 8: ; preds = %2 %9 = load i32, ptr @stderr, align 4 %10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, ptr noundef @.str.1) store i32 1, ptr %3, align 4 br label %44 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 2 %14 = load ptr, ptr %13, align 8 %15 = call i32 @strcmp(ptr noundef %14, ptr noundef @.str.2) %16 = icmp ne i32 %15, 0 br i1 %16, label %25, label %17 17: ; preds = %11 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = load ptr, ptr %19, align 8 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 3 %23 = load ptr, ptr %22, align 8 %24 = call i32 @encode(ptr noundef %20, ptr noundef %23) br label %43 25: ; preds = %11 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 2 %28 = load ptr, ptr %27, align 8 %29 = call i32 @strcmp(ptr noundef %28, ptr noundef @.str.3) %30 = icmp ne i32 %29, 0 br i1 %30, label %39, label %31 31: ; preds = %25 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 1 %34 = load ptr, ptr %33, align 8 %35 = load ptr, ptr %5, align 8 %36 = getelementptr inbounds ptr, ptr %35, i64 3 %37 = load ptr, ptr %36, align 8 %38 = call i32 @decode(ptr noundef %34, ptr noundef %37) br label %42 39: ; preds = %25 %40 = load i32, ptr @stderr, align 4 %41 = call i32 @fprintf(i32 noundef %40, ptr noundef @.str, ptr noundef @.str.4) store i32 1, ptr %3, align 4 br label %44 42: ; preds = %31 br label %43 43: ; preds = %42, %17 store i32 0, ptr %3, align 4 br label %44 44: ; preds = %43, %39, %8 %45 = load i32, ptr %3, align 4 ret i32 %45 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @encode(ptr noundef, ptr noundef) #1 declare i32 @decode(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/tmp3588so1i.c' source_filename = "/tmp/tmp3588so1i.c" target datalayout = "e-m:e-p270: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/tmp3588so1i.c" target datalayout = "e-m:e-p270: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/tmpwzz80g44.c' source_filename = "/tmp/tmpwzz80g44.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_chars_to_square(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds i8, ptr %5, i64 0 %7 = load i8, ptr %6, align 1 %8 = call i64 @tolower(i8 noundef signext %7) %9 = sub nsw i64 %8, 97 %10 = trunc i64 %9 to i32 store i32 %10, ptr %3, align 4 %11 = load ptr, ptr %2, align 8 %12 = getelementptr inbounds i8, ptr %11, i64 1 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = sub nsw i32 %14, 48 %16 = sub nsw i32 %15, 1 store i32 %16, ptr %4, align 4 %17 = load i32, ptr %4, align 4 %18 = mul nsw i32 %17, 8 %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %18, %19 ret i32 %20 } declare i64 @tolower(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwzz80g44.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_chars_to_square(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds i8, ptr %5, i64 0 %7 = load i8, ptr %6, align 1 %8 = call i64 @tolower(i8 noundef signext %7) %9 = sub nsw i64 %8, 97 %10 = trunc i64 %9 to i32 store i32 %10, ptr %3, align 4 %11 = load ptr, ptr %2, align 8 %12 = getelementptr inbounds i8, ptr %11, i64 1 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = sub nsw i32 %14, 48 %16 = sub nsw i32 %15, 1 store i32 %16, ptr %4, align 4 %17 = load i32, ptr %4, align 4 %18 = mul nsw i32 %17, 8 %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %18, %19 ret i32 %20 } declare i64 @tolower(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpju5xb9il.c' source_filename = "/tmp/tmpju5xb9il.c" target datalayout = "e-m:e-p270: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/tmpju5xb9il.c" target datalayout = "e-m:e-p270: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/tmpaapm_1be.c' source_filename = "/tmp/tmpaapm_1be.c" target datalayout = "e-m:e-p270: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_2__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_XConfigureRequestEvent_value_mask(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0 store i64 %5, ptr %7, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpaapm_1be.c" target datalayout = "e-m:e-p270: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_2__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_XConfigureRequestEvent_value_mask(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0 store i64 %5, ptr %7, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpx11_yd12.c' source_filename = "/tmp/tmpx11_yd12.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [39 x i8] c"Press \22r\22 to Roll the dice (q = Quit)\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"Dice 1: %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"Dice 2: %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"Your roll sum is: %d\0A\0A\00", align 1 @.str.5 = private unnamed_addr constant [22 x i8] c"CONGRATS you win!!! \0A\00", align 1 @.str.6 = private unnamed_addr constant [16 x i8] c"SORRY you lost\0A\00", align 1 @.str.7 = private unnamed_addr constant [33 x i8] c"Play Again? (r = Roll q = Quit)\0A\00", align 1 @.str.8 = private unnamed_addr constant [25 x i8] c"Thank You for playing \0A\0A\00", align 1 @.str.9 = private unnamed_addr constant [6 x i8] c"PAUSE\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i8, align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = call i32 (...) @introduction() %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) %12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %9) br label %13 13: ; preds = %53, %2 %14 = load i8, ptr %9, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 113 br i1 %16, label %17, label %56 17: ; preds = %13 %18 = call i32 @getRand(i32 noundef 1, i32 noundef 6) store i32 %18, ptr %6, align 4 %19 = load i32, ptr %6, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %19) %21 = call i32 @getRand(i32 noundef 1, i32 noundef 6) store i32 %21, ptr %7, align 4 %22 = load i32, ptr %7, align 4 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %22) %24 = load i32, ptr %6, align 4 %25 = load i32, ptr %7, align 4 %26 = add nsw i32 %24, %25 store i32 %26, ptr %8, align 4 %27 = load i32, ptr %8, align 4 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %27) %29 = load i32, ptr %8, align 4 %30 = icmp eq i32 %29, 7 br i1 %30, label %34, label %31 31: ; preds = %17 %32 = load i32, ptr %8, align 4 %33 = icmp eq i32 %32, 11 br i1 %33, label %34, label %36 34: ; preds = %31, %17 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %53 36: ; preds = %31 %37 = load i32, ptr %8, align 4 %38 = icmp eq i32 %37, 2 br i1 %38, label %45, label %39 39: ; preds = %36 %40 = load i32, ptr %8, align 4 %41 = icmp eq i32 %40, 3 br i1 %41, label %45, label %42 42: ; preds = %39 %43 = load i32, ptr %8, align 4 %44 = icmp eq i32 %43, 12 br i1 %44, label %45, label %47 45: ; preds = %42, %39, %36 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %52 47: ; preds = %42 %48 = load i32, ptr %8, align 4 %49 = load i32, ptr %6, align 4 %50 = load i32, ptr %7, align 4 %51 = call i32 @pointPhase(i32 noundef %48, i32 noundef %49, i32 noundef %50) br label %52 52: ; preds = %47, %45 br label %53 53: ; preds = %52, %34 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %55 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %9) br label %13, !llvm.loop !6 56: ; preds = %13 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %58 = call i32 @system(ptr noundef @.str.9) ret i32 0 } declare i32 @introduction(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @getRand(i32 noundef, i32 noundef) #1 declare i32 @pointPhase(i32 noundef, i32 noundef, 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/tmpx11_yd12.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [39 x i8] c"Press \22r\22 to Roll the dice (q = Quit)\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"Dice 1: %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"Dice 2: %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"Your roll sum is: %d\0A\0A\00", align 1 @.str.5 = private unnamed_addr constant [22 x i8] c"CONGRATS you win!!! \0A\00", align 1 @.str.6 = private unnamed_addr constant [16 x i8] c"SORRY you lost\0A\00", align 1 @.str.7 = private unnamed_addr constant [33 x i8] c"Play Again? (r = Roll q = Quit)\0A\00", align 1 @.str.8 = private unnamed_addr constant [25 x i8] c"Thank You for playing \0A\0A\00", align 1 @.str.9 = private unnamed_addr constant [6 x i8] c"PAUSE\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i8, align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = call i32 (...) @introduction() %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) %12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %9) %13 = load i8, ptr %9, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %14, 113 br i1 %15, label %.lr.ph, label %58 .lr.ph: ; preds = %2 br label %16 16: ; preds = %.lr.ph, %52 %17 = call i32 @getRand(i32 noundef 1, i32 noundef 6) store i32 %17, ptr %6, align 4 %18 = load i32, ptr %6, align 4 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %18) %20 = call i32 @getRand(i32 noundef 1, i32 noundef 6) store i32 %20, ptr %7, align 4 %21 = load i32, ptr %7, align 4 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %21) %23 = load i32, ptr %6, align 4 %24 = load i32, ptr %7, align 4 %25 = add nsw i32 %23, %24 store i32 %25, ptr %8, align 4 %26 = load i32, ptr %8, align 4 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %26) %28 = load i32, ptr %8, align 4 %29 = icmp eq i32 %28, 7 br i1 %29, label %33, label %30 30: ; preds = %16 %31 = load i32, ptr %8, align 4 %32 = icmp eq i32 %31, 11 br i1 %32, label %33, label %35 33: ; preds = %30, %16 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %52 35: ; preds = %30 %36 = load i32, ptr %8, align 4 %37 = icmp eq i32 %36, 2 br i1 %37, label %44, label %38 38: ; preds = %35 %39 = load i32, ptr %8, align 4 %40 = icmp eq i32 %39, 3 br i1 %40, label %44, label %41 41: ; preds = %38 %42 = load i32, ptr %8, align 4 %43 = icmp eq i32 %42, 12 br i1 %43, label %44, label %46 44: ; preds = %41, %38, %35 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %51 46: ; preds = %41 %47 = load i32, ptr %8, align 4 %48 = load i32, ptr %6, align 4 %49 = load i32, ptr %7, align 4 %50 = call i32 @pointPhase(i32 noundef %47, i32 noundef %48, i32 noundef %49) br label %51 51: ; preds = %46, %44 br label %52 52: ; preds = %51, %33 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %54 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %9) %55 = load i8, ptr %9, align 1 %56 = sext i8 %55 to i32 %57 = icmp ne i32 %56, 113 br i1 %57, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %52 br label %58 58: ; preds = %._crit_edge, %2 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %60 = call i32 @system(ptr noundef @.str.9) ret i32 0 } declare i32 @introduction(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @getRand(i32 noundef, i32 noundef) #1 declare i32 @pointPhase(i32 noundef, i32 noundef, 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/tmprs9lc_fe.c' source_filename = "/tmp/tmprs9lc_fe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"hello,world\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprs9lc_fe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"hello,world\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp32plhuum.c' source_filename = "/tmp/tmp32plhuum.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SCOTCHFRANDOMRESET() #0 { %1 = call i32 (...) @SCOTCH_randomReset() ret void } declare i32 @SCOTCH_randomReset(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp32plhuum.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SCOTCHFRANDOMRESET() #0 { %1 = call i32 (...) @SCOTCH_randomReset() ret void } declare i32 @SCOTCH_randomReset(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqoxji491.c' source_filename = "/tmp/tmpqoxji491.c" target datalayout = "e-m:e-p270: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 [35 x i8] c"error: fork(2) system call failed\0A\00", align 1 @.str.1 = private unnamed_addr constant [73 x i8] c" fork cannot allocate sufficient memory to copy the parent's page\0A\00", align 1 @.str.2 = private unnamed_addr constant [60 x i8] c" tables and allocate a task structure for the child.\0A\00", align 1 @.str.3 = private unnamed_addr constant [72 x i8] c" fork failed to allocate the necessary kernel structures because\0A\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c" memory is tight.\0A\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c" errno is: %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [11 x i8] c" %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @err_fork(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr @stderr, align 4 %4 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str) %5 = load i32, ptr %2, align 4 switch i32 %5, label %16 [ i32 129, label %6 i32 128, label %11 ] 6: ; preds = %1 %7 = load i32, ptr @stderr, align 4 %8 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %7, ptr noundef @.str.1) %9 = load i32, ptr @stderr, align 4 %10 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %9, ptr noundef @.str.2) br label %16 11: ; preds = %1 %12 = load i32, ptr @stderr, align 4 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str.3) %14 = load i32, ptr @stderr, align 4 %15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str.4) br label %16 16: ; preds = %1, %11, %6 %17 = load i32, ptr @stderr, align 4 %18 = load i32, ptr %2, align 4 %19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str.5, i32 noundef %18) %20 = load i32, ptr @stderr, align 4 %21 = load i32, ptr %2, align 4 %22 = call ptr @strerror(i32 noundef %21) %23 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str.6, ptr noundef %22) %24 = load i32, ptr @stderr, align 4 %25 = call i32 @fflush(i32 noundef %24) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @fflush(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqoxji491.c" target datalayout = "e-m:e-p270: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 [35 x i8] c"error: fork(2) system call failed\0A\00", align 1 @.str.1 = private unnamed_addr constant [73 x i8] c" fork cannot allocate sufficient memory to copy the parent's page\0A\00", align 1 @.str.2 = private unnamed_addr constant [60 x i8] c" tables and allocate a task structure for the child.\0A\00", align 1 @.str.3 = private unnamed_addr constant [72 x i8] c" fork failed to allocate the necessary kernel structures because\0A\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c" memory is tight.\0A\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c" errno is: %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [11 x i8] c" %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @err_fork(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr @stderr, align 4 %4 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str) %5 = load i32, ptr %2, align 4 switch i32 %5, label %16 [ i32 129, label %6 i32 128, label %11 ] 6: ; preds = %1 %7 = load i32, ptr @stderr, align 4 %8 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %7, ptr noundef @.str.1) %9 = load i32, ptr @stderr, align 4 %10 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %9, ptr noundef @.str.2) br label %16 11: ; preds = %1 %12 = load i32, ptr @stderr, align 4 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str.3) %14 = load i32, ptr @stderr, align 4 %15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str.4) br label %16 16: ; preds = %11, %6, %1 %17 = load i32, ptr @stderr, align 4 %18 = load i32, ptr %2, align 4 %19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str.5, i32 noundef %18) %20 = load i32, ptr @stderr, align 4 %21 = load i32, ptr %2, align 4 %22 = call ptr @strerror(i32 noundef %21) %23 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str.6, ptr noundef %22) %24 = load i32, ptr @stderr, align 4 %25 = call i32 @fflush(i32 noundef %24) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @fflush(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuwpou8cb.c' source_filename = "/tmp/tmpuwpou8cb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @spi_frame(ptr noundef %0, ptr noundef %1, i8 noundef zeroext %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca i8, align 1 %8 = alloca i8, align 1 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i8 %2, ptr %6, align 1 store i8 0, ptr %7, align 1 br label %9 9: ; preds = %29, %3 %10 = load i8, ptr %6, align 1 %11 = zext i8 %10 to i32 %12 = icmp sgt i32 %11, 0 br i1 %12, label %13, label %32 13: ; preds = %9 %14 = load ptr, ptr %4, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %16, label %20 16: ; preds = %13 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds i8, ptr %17, i32 1 store ptr %18, ptr %4, align 8 %19 = load i8, ptr %17, align 1 store i8 %19, ptr %7, align 1 br label %20 20: ; preds = %16, %13 %21 = load i8, ptr %7, align 1 %22 = call zeroext i8 @spi_byte(i8 noundef zeroext %21) store i8 %22, ptr %8, align 1 %23 = load ptr, ptr %5, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %25, label %29 25: ; preds = %20 %26 = load i8, ptr %8, align 1 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds i8, ptr %27, i32 1 store ptr %28, ptr %5, align 8 store i8 %26, ptr %27, align 1 br label %29 29: ; preds = %25, %20 %30 = load i8, ptr %6, align 1 %31 = add i8 %30, -1 store i8 %31, ptr %6, align 1 br label %9, !llvm.loop !6 32: ; preds = %9 ret void } declare zeroext i8 @spi_byte(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuwpou8cb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @spi_frame(ptr noundef %0, ptr noundef %1, i8 noundef zeroext %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca i8, align 1 %8 = alloca i8, align 1 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i8 %2, ptr %6, align 1 store i8 0, ptr %7, align 1 %9 = load i8, ptr %6, align 1 %10 = zext i8 %9 to i32 %11 = icmp sgt i32 %10, 0 br i1 %11, label %.lr.ph, label %34 .lr.ph: ; preds = %3 br label %12 12: ; preds = %.lr.ph, %28 %13 = load ptr, ptr %4, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %19 15: ; preds = %12 %16 = load ptr, ptr %4, align 8 %17 = getelementptr inbounds i8, ptr %16, i32 1 store ptr %17, ptr %4, align 8 %18 = load i8, ptr %16, align 1 store i8 %18, ptr %7, align 1 br label %19 19: ; preds = %15, %12 %20 = load i8, ptr %7, align 1 %21 = call zeroext i8 @spi_byte(i8 noundef zeroext %20) store i8 %21, ptr %8, align 1 %22 = load ptr, ptr %5, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %24, label %28 24: ; preds = %19 %25 = load i8, ptr %8, align 1 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds i8, ptr %26, i32 1 store ptr %27, ptr %5, align 8 store i8 %25, ptr %26, align 1 br label %28 28: ; preds = %24, %19 %29 = load i8, ptr %6, align 1 %30 = add i8 %29, -1 store i8 %30, ptr %6, align 1 %31 = load i8, ptr %6, align 1 %32 = zext i8 %31 to i32 %33 = icmp sgt i32 %32, 0 br i1 %33, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %34 34: ; preds = %._crit_edge, %3 ret void } declare zeroext i8 @spi_byte(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpzj7f3g09.c' source_filename = "/tmp/tmpzj7f3g09.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @kill(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 @EINVAL, align 4 store i32 %5, ptr @errno, align 4 ret i32 -1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzj7f3g09.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @kill(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 @EINVAL, align 4 store i32 %5, ptr @errno, align 4 ret i32 -1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpynlkickg.c' source_filename = "/tmp/tmpynlkickg.c" target datalayout = "e-m:e-p270: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/tmpynlkickg.c" target datalayout = "e-m:e-p270: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/tmp3i4erx3l.c' source_filename = "/tmp/tmp3i4erx3l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LC_MONETARY = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [34 x i8] c"setlocale(LC_MONETARY, \22%s\22): %m\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"strfmon\00", align 1 @.str.2 = private unnamed_addr constant [75 x i8] c"Locale: \22%s\22 Format: \22%s\22 Value: \22%s\22 Received: \22%s\22 Expected: \22%s\22 => %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"false\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"correct\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 [200 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr @LC_MONETARY, align 4 %8 = load ptr, ptr %5, align 8 %9 = getelementptr inbounds ptr, ptr %8, i64 1 %10 = load ptr, ptr %9, align 8 %11 = call ptr @setlocale(i32 noundef %7, ptr noundef %10) %12 = icmp eq ptr %11, null br i1 %12, label %13, label %20 13: ; preds = %2 %14 = load i32, ptr @stderr, align 4 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 %18 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, ptr noundef %17) %19 = call i32 @exit(i32 noundef 2) #3 unreachable 20: ; preds = %2 %21 = getelementptr inbounds [200 x i8], ptr %6, i64 0, i64 0 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 2 %24 = load ptr, ptr %23, align 8 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 3 %27 = load ptr, ptr %26, align 8 %28 = call i64 @atof(ptr noundef %27) %29 = sitofp i64 %28 to double %30 = call i32 @strfmon(ptr noundef %21, i32 noundef 200, ptr noundef %24, double noundef %29) %31 = icmp eq i32 %30, -1 br i1 %31, label %32, label %35 32: ; preds = %20 %33 = call i32 @perror(ptr noundef @.str.1) %34 = call i32 @exit(i32 noundef 3) #3 unreachable 35: ; preds = %20 %36 = getelementptr inbounds [200 x i8], ptr %6, i64 0, i64 0 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 4 %39 = load ptr, ptr %38, align 8 %40 = call i64 @strcmp(ptr noundef %36, ptr noundef %39) %41 = icmp ne i64 %40, 0 br i1 %41, label %42, label %66 42: ; preds = %35 %43 = load ptr, ptr %5, align 8 %44 = getelementptr inbounds ptr, ptr %43, i64 1 %45 = load ptr, ptr %44, align 8 %46 = load ptr, ptr %5, align 8 %47 = getelementptr inbounds ptr, ptr %46, i64 2 %48 = load ptr, ptr %47, align 8 %49 = load ptr, ptr %5, align 8 %50 = getelementptr inbounds ptr, ptr %49, i64 3 %51 = load ptr, ptr %50, align 8 %52 = getelementptr inbounds [200 x i8], ptr %6, i64 0, i64 0 %53 = load ptr, ptr %5, align 8 %54 = getelementptr inbounds ptr, ptr %53, i64 4 %55 = load ptr, ptr %54, align 8 %56 = getelementptr inbounds [200 x i8], ptr %6, i64 0, i64 0 %57 = load ptr, ptr %5, align 8 %58 = getelementptr inbounds ptr, ptr %57, i64 4 %59 = load ptr, ptr %58, align 8 %60 = call i64 @strcmp(ptr noundef %56, ptr noundef %59) %61 = icmp ne i64 %60, 0 %62 = zext i1 %61 to i64 %63 = select i1 %61, ptr @.str.3, ptr @.str.4 %64 = call i32 @printf(ptr noundef @.str.2, ptr noundef %45, ptr noundef %48, ptr noundef %51, ptr noundef %52, ptr noundef %55, ptr noundef %63) %65 = call i32 @exit(i32 noundef 1) #3 unreachable 66: ; preds = %35 ret i32 0 } declare ptr @setlocale(i32 noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @strfmon(ptr noundef, i32 noundef, ptr noundef, double noundef) #1 declare i64 @atof(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, 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" } 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/tmp3i4erx3l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LC_MONETARY = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [34 x i8] c"setlocale(LC_MONETARY, \22%s\22): %m\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"strfmon\00", align 1 @.str.2 = private unnamed_addr constant [75 x i8] c"Locale: \22%s\22 Format: \22%s\22 Value: \22%s\22 Received: \22%s\22 Expected: \22%s\22 => %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"false\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"correct\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 [200 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr @LC_MONETARY, align 4 %8 = load ptr, ptr %5, align 8 %9 = getelementptr inbounds ptr, ptr %8, i64 1 %10 = load ptr, ptr %9, align 8 %11 = call ptr @setlocale(i32 noundef %7, ptr noundef %10) %12 = icmp eq ptr %11, null br i1 %12, label %13, label %20 13: ; preds = %2 %14 = load i32, ptr @stderr, align 4 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 %18 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, ptr noundef %17) %19 = call i32 @exit(i32 noundef 2) #3 unreachable 20: ; preds = %2 %21 = getelementptr inbounds [200 x i8], ptr %6, i64 0, i64 0 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 2 %24 = load ptr, ptr %23, align 8 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 3 %27 = load ptr, ptr %26, align 8 %28 = call i64 @atof(ptr noundef %27) %29 = sitofp i64 %28 to double %30 = call i32 @strfmon(ptr noundef %21, i32 noundef 200, ptr noundef %24, double noundef %29) %31 = icmp eq i32 %30, -1 br i1 %31, label %32, label %35 32: ; preds = %20 %33 = call i32 @perror(ptr noundef @.str.1) %34 = call i32 @exit(i32 noundef 3) #3 unreachable 35: ; preds = %20 %36 = getelementptr inbounds [200 x i8], ptr %6, i64 0, i64 0 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 4 %39 = load ptr, ptr %38, align 8 %40 = call i64 @strcmp(ptr noundef %36, ptr noundef %39) %41 = icmp ne i64 %40, 0 br i1 %41, label %42, label %66 42: ; preds = %35 %43 = load ptr, ptr %5, align 8 %44 = getelementptr inbounds ptr, ptr %43, i64 1 %45 = load ptr, ptr %44, align 8 %46 = load ptr, ptr %5, align 8 %47 = getelementptr inbounds ptr, ptr %46, i64 2 %48 = load ptr, ptr %47, align 8 %49 = load ptr, ptr %5, align 8 %50 = getelementptr inbounds ptr, ptr %49, i64 3 %51 = load ptr, ptr %50, align 8 %52 = getelementptr inbounds [200 x i8], ptr %6, i64 0, i64 0 %53 = load ptr, ptr %5, align 8 %54 = getelementptr inbounds ptr, ptr %53, i64 4 %55 = load ptr, ptr %54, align 8 %56 = getelementptr inbounds [200 x i8], ptr %6, i64 0, i64 0 %57 = load ptr, ptr %5, align 8 %58 = getelementptr inbounds ptr, ptr %57, i64 4 %59 = load ptr, ptr %58, align 8 %60 = call i64 @strcmp(ptr noundef %56, ptr noundef %59) %61 = icmp ne i64 %60, 0 %62 = zext i1 %61 to i64 %63 = select i1 %61, ptr @.str.3, ptr @.str.4 %64 = call i32 @printf(ptr noundef @.str.2, ptr noundef %45, ptr noundef %48, ptr noundef %51, ptr noundef %52, ptr noundef %55, ptr noundef %63) %65 = call i32 @exit(i32 noundef 1) #3 unreachable 66: ; preds = %35 ret i32 0 } declare ptr @setlocale(i32 noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @strfmon(ptr noundef, i32 noundef, ptr noundef, double noundef) #1 declare i64 @atof(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, 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" } 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/tmp8ulgcitd.c' source_filename = "/tmp/tmp8ulgcitd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Barbeiro trabalha!\0A\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"Cliente espera\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @barbeiro() #0 { %1 = call i32 (...) @UP() %2 = icmp eq i32 %1, 1 br i1 %2, label %3, label %7 3: ; preds = %0 %4 = call i32 @printf(ptr noundef @.str) %5 = call i32 (...) @executa_processo() %6 = call i32 (...) @DOWN() br label %10 7: ; preds = %0 %8 = call i32 @printf(ptr noundef @.str.1) %9 = call i32 (...) @cliente() br label %10 10: ; preds = %7, %3 ret void } declare i32 @UP(...) #1 declare i32 @printf(ptr noundef) #1 declare i32 @executa_processo(...) #1 declare i32 @DOWN(...) #1 declare i32 @cliente(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8ulgcitd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Barbeiro trabalha!\0A\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"Cliente espera\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @barbeiro() #0 { %1 = call i32 (...) @UP() %2 = icmp eq i32 %1, 1 br i1 %2, label %3, label %7 3: ; preds = %0 %4 = call i32 @printf(ptr noundef @.str) %5 = call i32 (...) @executa_processo() %6 = call i32 (...) @DOWN() br label %10 7: ; preds = %0 %8 = call i32 @printf(ptr noundef @.str.1) %9 = call i32 (...) @cliente() br label %10 10: ; preds = %7, %3 ret void } declare i32 @UP(...) #1 declare i32 @printf(ptr noundef) #1 declare i32 @executa_processo(...) #1 declare i32 @DOWN(...) #1 declare i32 @cliente(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1jzcwqtr.c' source_filename = "/tmp/tmp1jzcwqtr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RemoveGoods() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 (...) @ToRemoveScreen() store i32 -1, ptr %2, align 4 br label %4 4: ; preds = %31, %0 %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %5, 0 br i1 %6, label %10, label %7 7: ; preds = %4 %8 = load i32, ptr %2, align 4 %9 = icmp sgt i32 %8, 2 br label %10 10: ; preds = %7, %4 %11 = phi i1 [ true, %4 ], [ %9, %7 ] br i1 %11, label %12, label %32 12: ; preds = %10 %13 = call i32 (...) @WantNum() store i32 %13, ptr %2, align 4 %14 = load i32, ptr %2, align 4 switch i32 %14, label %27 [ i32 1, label %15 i32 2, label %20 i32 0, label %25 ] 15: ; preds = %12 %16 = call i32 (...) @RemoveById() %17 = icmp ne i32 %16, 0 br i1 %17, label %18, label %19 18: ; preds = %15 store i32 0, ptr %1, align 4 br label %35 19: ; preds = %15 br label %31 20: ; preds = %12 %21 = call i32 (...) @RemoveByName() %22 = icmp ne i32 %21, 0 br i1 %22, label %23, label %24 23: ; preds = %20 store i32 0, ptr %1, align 4 br label %35 24: ; preds = %20 br label %31 25: ; preds = %12 %26 = call i32 (...) @ToMainScreen() store i32 1, ptr %1, align 4 br label %35 27: ; preds = %12 %28 = call i32 (...) @ShowInputTypeError() %29 = call i32 (...) @WantEnter() %30 = call i32 (...) @ToRemoveScreen() br label %31 31: ; preds = %27, %24, %19 br label %4, !llvm.loop !6 32: ; preds = %10 %33 = call i32 (...) @ShowRemoveSuccess() %34 = call i32 (...) @WantEnter() store i32 0, ptr %1, align 4 br label %35 35: ; preds = %32, %25, %23, %18 %36 = load i32, ptr %1, align 4 ret i32 %36 } declare i32 @ToRemoveScreen(...) #1 declare i32 @WantNum(...) #1 declare i32 @RemoveById(...) #1 declare i32 @RemoveByName(...) #1 declare i32 @ToMainScreen(...) #1 declare i32 @ShowInputTypeError(...) #1 declare i32 @WantEnter(...) #1 declare i32 @ShowRemoveSuccess(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp1jzcwqtr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RemoveGoods() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 (...) @ToRemoveScreen() store i32 -1, ptr %2, align 4 br label %4 4: ; preds = %31, %0 %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %5, 0 br i1 %6, label %10, label %7 7: ; preds = %4 %8 = load i32, ptr %2, align 4 %9 = icmp sgt i32 %8, 2 br label %10 10: ; preds = %7, %4 %11 = phi i1 [ true, %4 ], [ %9, %7 ] br i1 %11, label %12, label %32 12: ; preds = %10 %13 = call i32 (...) @WantNum() store i32 %13, ptr %2, align 4 %14 = load i32, ptr %2, align 4 switch i32 %14, label %27 [ i32 1, label %15 i32 2, label %20 i32 0, label %25 ] 15: ; preds = %12 %16 = call i32 (...) @RemoveById() %17 = icmp ne i32 %16, 0 br i1 %17, label %18, label %19 18: ; preds = %15 store i32 0, ptr %1, align 4 br label %35 19: ; preds = %15 br label %31 20: ; preds = %12 %21 = call i32 (...) @RemoveByName() %22 = icmp ne i32 %21, 0 br i1 %22, label %23, label %24 23: ; preds = %20 store i32 0, ptr %1, align 4 br label %35 24: ; preds = %20 br label %31 25: ; preds = %12 %26 = call i32 (...) @ToMainScreen() store i32 1, ptr %1, align 4 br label %35 27: ; preds = %12 %28 = call i32 (...) @ShowInputTypeError() %29 = call i32 (...) @WantEnter() %30 = call i32 (...) @ToRemoveScreen() br label %31 31: ; preds = %27, %24, %19 br label %4, !llvm.loop !6 32: ; preds = %10 %33 = call i32 (...) @ShowRemoveSuccess() %34 = call i32 (...) @WantEnter() store i32 0, ptr %1, align 4 br label %35 35: ; preds = %32, %25, %23, %18 %36 = load i32, ptr %1, align 4 ret i32 %36 } declare i32 @ToRemoveScreen(...) #1 declare i32 @WantNum(...) #1 declare i32 @RemoveById(...) #1 declare i32 @RemoveByName(...) #1 declare i32 @ToMainScreen(...) #1 declare i32 @ShowInputTypeError(...) #1 declare i32 @WantEnter(...) #1 declare i32 @ShowRemoveSuccess(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmprdzgporp.c' source_filename = "/tmp/tmprdzgporp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SerialPortIsOpen(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 @FileDescrForEntry(i32 noundef %3) %5 = icmp ne i32 %4, -1 %6 = zext i1 %5 to i32 ret i32 %6 } declare i32 @FileDescrForEntry(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/tmprdzgporp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SerialPortIsOpen(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 @FileDescrForEntry(i32 noundef %3) %5 = icmp ne i32 %4, -1 %6 = zext i1 %5 to i32 ret i32 %6 } declare i32 @FileDescrForEntry(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/tmprsc_oxos.c' source_filename = "/tmp/tmprsc_oxos.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isnumeric(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 br label %4 4: ; preds = %14, %1 %5 = load ptr, ptr %3, align 8 %6 = load i8, ptr %5, align 1 %7 = icmp ne i8 %6, 0 br i1 %7, label %8, label %17 8: ; preds = %4 %9 = load ptr, ptr %3, align 8 %10 = load i8, ptr %9, align 1 %11 = call i32 @isdigit(i8 noundef signext %10) %12 = icmp ne i32 %11, 0 br i1 %12, label %14, label %13 13: ; preds = %8 store i32 0, ptr %2, align 4 br label %18 14: ; preds = %8 %15 = load ptr, ptr %3, align 8 %16 = getelementptr inbounds i8, ptr %15, i32 1 store ptr %16, ptr %3, align 8 br label %4, !llvm.loop !6 17: ; preds = %4 store i32 1, ptr %2, align 4 br label %18 18: ; preds = %17, %13 %19 = load i32, ptr %2, align 4 ret i32 %19 } declare i32 @isdigit(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/tmprsc_oxos.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isnumeric(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = load i8, ptr %4, align 1 %6 = icmp ne i8 %5, 0 br i1 %6, label %.lr.ph, label %19 .lr.ph: ; preds = %1 br label %7 7: ; preds = %.lr.ph, %13 %8 = load ptr, ptr %3, align 8 %9 = load i8, ptr %8, align 1 %10 = call i32 @isdigit(i8 noundef signext %9) %11 = icmp ne i32 %10, 0 br i1 %11, label %13, label %12 12: ; preds = %7 store i32 0, ptr %2, align 4 br label %20 13: ; preds = %7 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds i8, ptr %14, i32 1 store ptr %15, ptr %3, align 8 %16 = load ptr, ptr %3, align 8 %17 = load i8, ptr %16, align 1 %18 = icmp ne i8 %17, 0 br i1 %18, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %19 19: ; preds = %._crit_edge, %1 store i32 1, ptr %2, align 4 br label %20 20: ; preds = %19, %12 %21 = load i32, ptr %2, align 4 ret i32 %21 } declare i32 @isdigit(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/tmpgh3mix0z.c' source_filename = "/tmp/tmpgh3mix0z.c" target datalayout = "e-m:e-p270: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/tmpgh3mix0z.c" target datalayout = "e-m:e-p270: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/tmp9auc7lk_.c' source_filename = "/tmp/tmp9auc7lk_.c" target datalayout = "e-m:e-p270: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/tmp9auc7lk_.c" target datalayout = "e-m:e-p270: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/tmp41y_r44w.c' source_filename = "/tmp/tmp41y_r44w.c" target datalayout = "e-m:e-p270: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/tmp41y_r44w.c" target datalayout = "e-m:e-p270: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/tmpqx467qfi.c' source_filename = "/tmp/tmpqx467qfi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @caller_bf6() %3 = call i32 (...) @caller_bf7() ret i32 0 } declare i32 @caller_bf6(...) #1 declare i32 @caller_bf7(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqx467qfi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @caller_bf6() %3 = call i32 (...) @caller_bf7() ret i32 0 } declare i32 @caller_bf6(...) #1 declare i32 @caller_bf7(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp41fxkh07.c' source_filename = "/tmp/tmp41fxkh07.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f%f%f\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"A=%f\0A\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"b=%f\0A\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"C=%f\0A\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"c=%f\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 float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 store i32 0, ptr %1, align 4 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %5, ptr noundef %3, ptr noundef %8) %10 = load float, ptr %5, align 4 %11 = load float, ptr %8, align 4 %12 = fdiv float %10, %11 %13 = fdiv float %12, 2.000000e+00 %14 = call float @sin(float noundef %13) %15 = fpext float %14 to double %16 = fmul double 5.729560e+01, %15 %17 = fptrunc double %16 to float store float %17, ptr %2, align 4 %18 = call i32 @printf(ptr noundef @.str.1, float noundef %17) %19 = load float, ptr %3, align 4 %20 = fpext float %19 to double %21 = fmul double %20, 1.750000e-02 %22 = fptrunc double %21 to float %23 = call float @sin(float noundef %22) %24 = fmul float 2.000000e+00, %23 %25 = load float, ptr %8, align 4 %26 = fmul float %24, %25 store float %26, ptr %6, align 4 %27 = call i32 @printf(ptr noundef @.str.2, float noundef %26) %28 = load float, ptr %2, align 4 %29 = fsub float 1.800000e+02, %28 %30 = load float, ptr %3, align 4 %31 = fsub float %29, %30 store float %31, ptr %4, align 4 %32 = call i32 @printf(ptr noundef @.str.3, float noundef %31) %33 = load float, ptr %8, align 4 %34 = fmul float %33, 2.000000e+00 %35 = load float, ptr %4, align 4 %36 = fpext float %35 to double %37 = fmul double %36, 1.750000e-02 %38 = fptrunc double %37 to float %39 = call float @sin(float noundef %38) %40 = fmul float %34, %39 store float %40, ptr %7, align 4 %41 = call i32 @printf(ptr noundef @.str.4, float noundef %40) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, float noundef) #1 declare float @sin(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp41fxkh07.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f%f%f\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"A=%f\0A\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"b=%f\0A\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"C=%f\0A\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"c=%f\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 float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 store i32 0, ptr %1, align 4 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %5, ptr noundef %3, ptr noundef %8) %10 = load float, ptr %5, align 4 %11 = load float, ptr %8, align 4 %12 = fdiv float %10, %11 %13 = fdiv float %12, 2.000000e+00 %14 = call float @sin(float noundef %13) %15 = fpext float %14 to double %16 = fmul double 5.729560e+01, %15 %17 = fptrunc double %16 to float store float %17, ptr %2, align 4 %18 = call i32 @printf(ptr noundef @.str.1, float noundef %17) %19 = load float, ptr %3, align 4 %20 = fpext float %19 to double %21 = fmul double %20, 1.750000e-02 %22 = fptrunc double %21 to float %23 = call float @sin(float noundef %22) %24 = fmul float 2.000000e+00, %23 %25 = load float, ptr %8, align 4 %26 = fmul float %24, %25 store float %26, ptr %6, align 4 %27 = call i32 @printf(ptr noundef @.str.2, float noundef %26) %28 = load float, ptr %2, align 4 %29 = fsub float 1.800000e+02, %28 %30 = load float, ptr %3, align 4 %31 = fsub float %29, %30 store float %31, ptr %4, align 4 %32 = call i32 @printf(ptr noundef @.str.3, float noundef %31) %33 = load float, ptr %8, align 4 %34 = fmul float %33, 2.000000e+00 %35 = load float, ptr %4, align 4 %36 = fpext float %35 to double %37 = fmul double %36, 1.750000e-02 %38 = fptrunc double %37 to float %39 = call float @sin(float noundef %38) %40 = fmul float %34, %39 store float %40, ptr %7, align 4 %41 = call i32 @printf(ptr noundef @.str.4, float noundef %40) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, float noundef) #1 declare float @sin(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0q94odup.c' source_filename = "/tmp/tmp0q94odup.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Error in cheby_val\0A\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"Arguments out of range\0A\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"Program aborted\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @cheby_val(double noundef %0, double noundef %1, i32 noundef %2, ptr noundef %3, double noundef %4) #0 { %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca double, align 8 %12 = alloca i32, align 4 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 store double %0, ptr %7, align 8 store double %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store ptr %3, ptr %10, align 8 store double %4, ptr %11, align 8 %17 = load i32, ptr %9, align 4 %18 = icmp slt i32 %17, 0 br i1 %18, label %31, label %19 19: ; preds = %5 %20 = load double, ptr %7, align 8 %21 = load double, ptr %8, align 8 %22 = fcmp oge double %20, %21 br i1 %22, label %31, label %23 23: ; preds = %19 %24 = load double, ptr %11, align 8 %25 = load double, ptr %8, align 8 %26 = fcmp ogt double %24, %25 br i1 %26, label %31, label %27 27: ; preds = %23 %28 = load double, ptr %11, align 8 %29 = load double, ptr %7, align 8 %30 = fcmp olt double %28, %29 br i1 %30, label %31, label %36 31: ; preds = %27, %23, %19, %5 %32 = call i32 @printf(ptr noundef @.str) %33 = call i32 @printf(ptr noundef @.str.1) %34 = call i32 @printf(ptr noundef @.str.2) %35 = call i32 @exit(i32 noundef 0) #4 unreachable 36: ; preds = %27 %37 = load i32, ptr %9, align 4 %38 = icmp eq i32 %37, 0 br i1 %38, label %39, label %43 39: ; preds = %36 %40 = load ptr, ptr %10, align 8 %41 = getelementptr inbounds double, ptr %40, i64 0 %42 = load double, ptr %41, align 8 store double %42, ptr %6, align 8 br label %92 43: ; preds = %36 %44 = load double, ptr %7, align 8 %45 = load double, ptr %8, align 8 %46 = fadd double %44, %45 %47 = load double, ptr %11, align 8 %48 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %47, double %46) %49 = fmul double 2.000000e+00, %48 %50 = load double, ptr %7, align 8 %51 = load double, ptr %8, align 8 %52 = fsub double %50, %51 %53 = fdiv double %49, %52 store double %53, ptr %16, align 8 %54 = load ptr, ptr %10, align 8 %55 = load i32, ptr %9, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds double, ptr %54, i64 %56 %58 = load double, ptr %57, align 8 store double %58, ptr %13, align 8 %59 = load ptr, ptr %10, align 8 %60 = load i32, ptr %9, align 4 %61 = sub nsw i32 %60, 1 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds double, ptr %59, i64 %62 %64 = load double, ptr %63, align 8 store double %64, ptr %14, align 8 %65 = load i32, ptr %9, align 4 %66 = sub nsw i32 %65, 2 store i32 %66, ptr %12, align 4 br label %67 67: ; preds = %83, %43 %68 = load i32, ptr %12, align 4 %69 = icmp sge i32 %68, 0 br i1 %69, label %70, label %86 70: ; preds = %67 %71 = load double, ptr %16, align 8 %72 = load double, ptr %13, align 8 %73 = load double, ptr %14, align 8 %74 = call double @llvm.fmuladd.f64(double %71, double %72, double %73) store double %74, ptr %15, align 8 %75 = load ptr, ptr %10, align 8 %76 = load i32, ptr %12, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds double, ptr %75, i64 %77 %79 = load double, ptr %78, align 8 %80 = load double, ptr %13, align 8 %81 = fsub double %79, %80 store double %81, ptr %14, align 8 %82 = load double, ptr %15, align 8 store double %82, ptr %13, align 8 br label %83 83: ; preds = %70 %84 = load i32, ptr %12, align 4 %85 = add nsw i32 %84, -1 store i32 %85, ptr %12, align 4 br label %67, !llvm.loop !6 86: ; preds = %67 %87 = load double, ptr %16, align 8 %88 = fmul double 5.000000e-01, %87 %89 = load double, ptr %13, align 8 %90 = load double, ptr %14, align 8 %91 = call double @llvm.fmuladd.f64(double %88, double %89, double %90) store double %91, ptr %6, align 8 br label %92 92: ; preds = %86, %39 %93 = load double, ptr %6, align 8 ret double %93 } declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #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 = { "frame-pointer"="all" "no-trapping-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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0q94odup.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Error in cheby_val\0A\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"Arguments out of range\0A\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"Program aborted\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @cheby_val(double noundef %0, double noundef %1, i32 noundef %2, ptr noundef %3, double noundef %4) #0 { %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca double, align 8 %12 = alloca i32, align 4 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 store double %0, ptr %7, align 8 store double %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store ptr %3, ptr %10, align 8 store double %4, ptr %11, align 8 %17 = load i32, ptr %9, align 4 %18 = icmp slt i32 %17, 0 br i1 %18, label %31, label %19 19: ; preds = %5 %20 = load double, ptr %7, align 8 %21 = load double, ptr %8, align 8 %22 = fcmp oge double %20, %21 br i1 %22, label %31, label %23 23: ; preds = %19 %24 = load double, ptr %11, align 8 %25 = load double, ptr %8, align 8 %26 = fcmp ogt double %24, %25 br i1 %26, label %31, label %27 27: ; preds = %23 %28 = load double, ptr %11, align 8 %29 = load double, ptr %7, align 8 %30 = fcmp olt double %28, %29 br i1 %30, label %31, label %36 31: ; preds = %27, %23, %19, %5 %32 = call i32 @printf(ptr noundef @.str) %33 = call i32 @printf(ptr noundef @.str.1) %34 = call i32 @printf(ptr noundef @.str.2) %35 = call i32 @exit(i32 noundef 0) #4 unreachable 36: ; preds = %27 %37 = load i32, ptr %9, align 4 %38 = icmp eq i32 %37, 0 br i1 %38, label %39, label %43 39: ; preds = %36 %40 = load ptr, ptr %10, align 8 %41 = getelementptr inbounds double, ptr %40, i64 0 %42 = load double, ptr %41, align 8 store double %42, ptr %6, align 8 br label %93 43: ; preds = %36 %44 = load double, ptr %7, align 8 %45 = load double, ptr %8, align 8 %46 = fadd double %44, %45 %47 = load double, ptr %11, align 8 %48 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %47, double %46) %49 = fmul double 2.000000e+00, %48 %50 = load double, ptr %7, align 8 %51 = load double, ptr %8, align 8 %52 = fsub double %50, %51 %53 = fdiv double %49, %52 store double %53, ptr %16, align 8 %54 = load ptr, ptr %10, align 8 %55 = load i32, ptr %9, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds double, ptr %54, i64 %56 %58 = load double, ptr %57, align 8 store double %58, ptr %13, align 8 %59 = load ptr, ptr %10, align 8 %60 = load i32, ptr %9, align 4 %61 = sub nsw i32 %60, 1 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds double, ptr %59, i64 %62 %64 = load double, ptr %63, align 8 store double %64, ptr %14, align 8 %65 = load i32, ptr %9, align 4 %66 = sub nsw i32 %65, 2 store i32 %66, ptr %12, align 4 %67 = load i32, ptr %12, align 4 %68 = icmp sge i32 %67, 0 br i1 %68, label %.lr.ph, label %87 .lr.ph: ; preds = %43 br label %69 69: ; preds = %.lr.ph, %82 %70 = load double, ptr %16, align 8 %71 = load double, ptr %13, align 8 %72 = load double, ptr %14, align 8 %73 = call double @llvm.fmuladd.f64(double %70, double %71, double %72) store double %73, ptr %15, align 8 %74 = load ptr, ptr %10, align 8 %75 = load i32, ptr %12, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds double, ptr %74, i64 %76 %78 = load double, ptr %77, align 8 %79 = load double, ptr %13, align 8 %80 = fsub double %78, %79 store double %80, ptr %14, align 8 %81 = load double, ptr %15, align 8 store double %81, ptr %13, align 8 br label %82 82: ; preds = %69 %83 = load i32, ptr %12, align 4 %84 = add nsw i32 %83, -1 store i32 %84, ptr %12, align 4 %85 = load i32, ptr %12, align 4 %86 = icmp sge i32 %85, 0 br i1 %86, label %69, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %82 br label %87 87: ; preds = %._crit_edge, %43 %88 = load double, ptr %16, align 8 %89 = fmul double 5.000000e-01, %88 %90 = load double, ptr %13, align 8 %91 = load double, ptr %14, align 8 %92 = call double @llvm.fmuladd.f64(double %89, double %90, double %91) store double %92, ptr %6, align 8 br label %93 93: ; preds = %87, %39 %94 = load double, ptr %6, align 8 ret double %94 } declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #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 = { "frame-pointer"="all" "no-trapping-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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpeeypn271.c' source_filename = "/tmp/tmpeeypn271.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf %lf %lf\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"MEDIA = %.1lf\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 double, align 8 %4 = alloca double, align 8 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4) %6 = load double, ptr %2, align 8 %7 = load double, ptr %3, align 8 %8 = fmul double 3.000000e+00, %7 %9 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %6, double %8) %10 = load double, ptr %4, align 8 %11 = call double @llvm.fmuladd.f64(double 5.000000e+00, double %10, double %9) %12 = fdiv double %11, 1.000000e+01 %13 = fptosi double %12 to i32 %14 = call i32 @printf(ptr noundef @.str.1, i32 noundef %13) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpeeypn271.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf %lf %lf\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"MEDIA = %.1lf\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 double, align 8 %4 = alloca double, align 8 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4) %6 = load double, ptr %2, align 8 %7 = load double, ptr %3, align 8 %8 = fmul double 3.000000e+00, %7 %9 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %6, double %8) %10 = load double, ptr %4, align 8 %11 = call double @llvm.fmuladd.f64(double 5.000000e+00, double %10, double %9) %12 = fdiv double %11, 1.000000e+01 %13 = fptosi double %12 to i32 %14 = call i32 @printf(ptr noundef @.str.1, i32 noundef %13) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpaoprax27.c' source_filename = "/tmp/tmpaoprax27.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"i\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"*i_ptr\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %4 = call ptr @malloc(i32 noundef 4) store ptr %4, ptr %3, align 8 %5 = load i32, ptr %2, align 4 %6 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %5) %7 = load ptr, ptr %3, align 8 %8 = load i32, ptr %7, align 4 %9 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.2, i32 noundef %8) %10 = load ptr, ptr %3, align 8 %11 = call i32 @free(ptr noundef %10) ret i32 0 } declare ptr @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpaoprax27.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"i\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"*i_ptr\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %4 = call ptr @malloc(i32 noundef 4) store ptr %4, ptr %3, align 8 %5 = load i32, ptr %2, align 4 %6 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %5) %7 = load ptr, ptr %3, align 8 %8 = load i32, ptr %7, align 4 %9 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.2, i32 noundef %8) %10 = load ptr, ptr %3, align 8 %11 = call i32 @free(ptr noundef %10) ret i32 0 } declare ptr @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpikjulzau.c' source_filename = "/tmp/tmpikjulzau.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LC_ALL = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"Insira X: \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"Insira Y: \00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"Diferen\C3\A7a: %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [32 x i8] c"A soma dos N da diferen\C3\A7a: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = load i32, ptr @LC_ALL, align 4 %5 = call i32 @setlocale(i32 noundef %4, ptr noundef @.str) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %7 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %9 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %3) %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %3, align 4 %12 = sub nsw i32 %10, %11 %13 = call i32 @abs(i32 noundef %12) #3 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %13) %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %3, align 4 %17 = call i32 @soma_n(i32 noundef %15, i32 noundef %16) %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %17) ret i32 0 } declare i32 @setlocale(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nounwind willreturn memory(none) declare i32 @abs(i32 noundef) #2 declare i32 @soma_n(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" } attributes #2 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpikjulzau.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LC_ALL = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"Insira X: \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"Insira Y: \00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"Diferen\C3\A7a: %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [32 x i8] c"A soma dos N da diferen\C3\A7a: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = load i32, ptr @LC_ALL, align 4 %5 = call i32 @setlocale(i32 noundef %4, ptr noundef @.str) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %7 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %9 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %3) %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %3, align 4 %12 = sub nsw i32 %10, %11 %13 = call i32 @abs(i32 noundef %12) #3 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %13) %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %3, align 4 %17 = call i32 @soma_n(i32 noundef %15, i32 noundef %16) %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %17) ret i32 0 } declare i32 @setlocale(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nounwind willreturn memory(none) declare i32 @abs(i32 noundef) #2 declare i32 @soma_n(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" } attributes #2 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgnj79tvb.c' source_filename = "/tmp/tmpgnj79tvb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32 } @SEGSIZE = dso_local global i32 0, align 4 @FIONREAD = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @synchnet(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca %struct.sockaddr_in, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %4, align 4 %9 = load i32, ptr @SEGSIZE, align 4 %10 = add nsw i32 %9, 4 %11 = zext i32 %10 to i64 %12 = call ptr @llvm.stacksave() store ptr %12, ptr %5, align 8 %13 = alloca i8, i64 %11, align 16 store i64 %11, ptr %6, align 8 br label %14 14: ; preds = %30, %1 br label %15 15: ; preds = %14 %16 = load i32, ptr %2, align 4 %17 = load i32, ptr @FIONREAD, align 4 %18 = call i32 @ioctl(i32 noundef %16, i32 noundef %17, ptr noundef %3) %19 = load i32, ptr %3, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %27 21: ; preds = %15 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %4, align 4 store i32 4, ptr %8, align 4 %24 = load i32, ptr %2, align 4 %25 = trunc i64 %11 to i32 %26 = call i32 @recvfrom(i32 noundef %24, ptr noundef %13, i32 noundef %25, i32 noundef 0, ptr noundef %7, ptr noundef %8) br label %30 27: ; preds = %15 %28 = load i32, ptr %4, align 4 %29 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %29) ret i32 %28 30: ; preds = %21 br label %14 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #2 declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgnj79tvb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32 } @SEGSIZE = dso_local global i32 0, align 4 @FIONREAD = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @synchnet(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca %struct.sockaddr_in, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %4, align 4 %9 = load i32, ptr @SEGSIZE, align 4 %10 = add nsw i32 %9, 4 %11 = zext i32 %10 to i64 %12 = call ptr @llvm.stacksave() store ptr %12, ptr %5, align 8 %13 = alloca i8, i64 %11, align 16 store i64 %11, ptr %6, align 8 br label %14 14: ; preds = %30, %1 br label %15 15: ; preds = %14 %16 = load i32, ptr %2, align 4 %17 = load i32, ptr @FIONREAD, align 4 %18 = call i32 @ioctl(i32 noundef %16, i32 noundef %17, ptr noundef %3) %19 = load i32, ptr %3, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %27 21: ; preds = %15 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %4, align 4 store i32 4, ptr %8, align 4 %24 = load i32, ptr %2, align 4 %25 = trunc i64 %11 to i32 %26 = call i32 @recvfrom(i32 noundef %24, ptr noundef %13, i32 noundef %25, i32 noundef 0, ptr noundef %7, ptr noundef %8) br label %30 27: ; preds = %15 %28 = load i32, ptr %4, align 4 %29 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %29) ret i32 %28 30: ; preds = %21 br label %14 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #2 declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpc22hhkdf.c' source_filename = "/tmp/tmpc22hhkdf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Mrvl_PRF(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6, i32 noundef %7) #0 { %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca [1024 x i8], align 16 %19 = alloca i32, align 4 %20 = alloca i32, align 4 store ptr %0, ptr %9, align 8 store i32 %1, ptr %10, align 4 store ptr %2, ptr %11, align 8 store i32 %3, ptr %12, align 4 store ptr %4, ptr %13, align 8 store i32 %5, ptr %14, align 4 store ptr %6, ptr %15, align 8 store i32 %7, ptr %16, align 4 store i32 0, ptr %19, align 4 %21 = getelementptr inbounds [1024 x i8], ptr %18, i64 0, i64 0 %22 = load ptr, ptr %11, align 8 %23 = load i32, ptr %12, align 4 %24 = call i32 @memcpy(ptr noundef %21, ptr noundef %22, i32 noundef %23) %25 = load i32, ptr %12, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [1024 x i8], ptr %18, i64 0, i64 %26 store i8 0, ptr %27, align 1 %28 = load i32, ptr %12, align 4 %29 = add nsw i32 %28, 1 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [1024 x i8], ptr %18, i64 0, i64 %30 %32 = load ptr, ptr %13, align 8 %33 = load i32, ptr %14, align 4 %34 = call i32 @memcpy(ptr noundef %31, ptr noundef %32, i32 noundef %33) %35 = load i32, ptr %12, align 4 %36 = add nsw i32 %35, 1 %37 = load i32, ptr %14, align 4 %38 = add nsw i32 %36, %37 store i32 %38, ptr %20, align 4 %39 = load i32, ptr %20, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [1024 x i8], ptr %18, i64 0, i64 %40 store i8 0, ptr %41, align 1 %42 = load i32, ptr %20, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %20, align 4 store i32 0, ptr %17, align 4 br label %44 44: ; preds = %68, %8 %45 = load i32, ptr %17, align 4 %46 = load i32, ptr %16, align 4 %47 = add nsw i32 %46, 19 %48 = sdiv i32 %47, 20 %49 = icmp slt i32 %45, %48 br i1 %49, label %50, label %71 50: ; preds = %44 %51 = getelementptr inbounds [1024 x i8], ptr %18, i64 0, i64 0 %52 = load i32, ptr %20, align 4 %53 = load ptr, ptr %9, align 8 %54 = load i32, ptr %10, align 4 %55 = load ptr, ptr %15, align 8 %56 = load i32, ptr %19, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i8, ptr %55, i64 %57 %59 = call i32 @hmac_sha1(ptr noundef %51, i32 noundef %52, ptr noundef %53, i32 noundef %54, ptr noundef %58) %60 = load i32, ptr %19, align 4 %61 = add nsw i32 %60, 20 store i32 %61, ptr %19, align 4 %62 = load i32, ptr %20, align 4 %63 = sub nsw i32 %62, 1 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds [1024 x i8], ptr %18, i64 0, i64 %64 %66 = load i8, ptr %65, align 1 %67 = add i8 %66, 1 store i8 %67, ptr %65, align 1 br label %68 68: ; preds = %50 %69 = load i32, ptr %17, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %17, align 4 br label %44, !llvm.loop !6 71: ; preds = %44 ret void } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @hmac_sha1(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc22hhkdf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Mrvl_PRF(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6, i32 noundef %7) #0 { %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca [1024 x i8], align 16 %19 = alloca i32, align 4 %20 = alloca i32, align 4 store ptr %0, ptr %9, align 8 store i32 %1, ptr %10, align 4 store ptr %2, ptr %11, align 8 store i32 %3, ptr %12, align 4 store ptr %4, ptr %13, align 8 store i32 %5, ptr %14, align 4 store ptr %6, ptr %15, align 8 store i32 %7, ptr %16, align 4 store i32 0, ptr %19, align 4 %21 = getelementptr inbounds [1024 x i8], ptr %18, i64 0, i64 0 %22 = load ptr, ptr %11, align 8 %23 = load i32, ptr %12, align 4 %24 = call i32 @memcpy(ptr noundef %21, ptr noundef %22, i32 noundef %23) %25 = load i32, ptr %12, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [1024 x i8], ptr %18, i64 0, i64 %26 store i8 0, ptr %27, align 1 %28 = load i32, ptr %12, align 4 %29 = add nsw i32 %28, 1 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [1024 x i8], ptr %18, i64 0, i64 %30 %32 = load ptr, ptr %13, align 8 %33 = load i32, ptr %14, align 4 %34 = call i32 @memcpy(ptr noundef %31, ptr noundef %32, i32 noundef %33) %35 = load i32, ptr %12, align 4 %36 = add nsw i32 %35, 1 %37 = load i32, ptr %14, align 4 %38 = add nsw i32 %36, %37 store i32 %38, ptr %20, align 4 %39 = load i32, ptr %20, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [1024 x i8], ptr %18, i64 0, i64 %40 store i8 0, ptr %41, align 1 %42 = load i32, ptr %20, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %20, align 4 store i32 0, ptr %17, align 4 %44 = load i32, ptr %17, align 4 %45 = load i32, ptr %16, align 4 %46 = add nsw i32 %45, 19 %47 = sdiv i32 %46, 20 %48 = icmp slt i32 %44, %47 br i1 %48, label %.lr.ph, label %75 .lr.ph: ; preds = %8 br label %49 49: ; preds = %.lr.ph, %67 %50 = getelementptr inbounds [1024 x i8], ptr %18, i64 0, i64 0 %51 = load i32, ptr %20, align 4 %52 = load ptr, ptr %9, align 8 %53 = load i32, ptr %10, align 4 %54 = load ptr, ptr %15, align 8 %55 = load i32, ptr %19, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i8, ptr %54, i64 %56 %58 = call i32 @hmac_sha1(ptr noundef %50, i32 noundef %51, ptr noundef %52, i32 noundef %53, ptr noundef %57) %59 = load i32, ptr %19, align 4 %60 = add nsw i32 %59, 20 store i32 %60, ptr %19, align 4 %61 = load i32, ptr %20, align 4 %62 = sub nsw i32 %61, 1 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds [1024 x i8], ptr %18, i64 0, i64 %63 %65 = load i8, ptr %64, align 1 %66 = add i8 %65, 1 store i8 %66, ptr %64, align 1 br label %67 67: ; preds = %49 %68 = load i32, ptr %17, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %17, align 4 %70 = load i32, ptr %17, align 4 %71 = load i32, ptr %16, align 4 %72 = add nsw i32 %71, 19 %73 = sdiv i32 %72, 20 %74 = icmp slt i32 %70, %73 br i1 %74, label %49, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %67 br label %75 75: ; preds = %._crit_edge, %8 ret void } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @hmac_sha1(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpej7m2eme.c' source_filename = "/tmp/tmpej7m2eme.c" target datalayout = "e-m:e-p270: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/tmpej7m2eme.c" target datalayout = "e-m:e-p270: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/tmpkfwnkg_k.c' source_filename = "/tmp/tmpkfwnkg_k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__NR_gettid = 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/tmpkfwnkg_k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__NR_gettid = 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/tmp8aje0vre.c' source_filename = "/tmp/tmp8aje0vre.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @buffer_write_int64_array(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = call i32 @_buffer_write_array(ptr noundef %7, ptr noundef %8, i32 noundef %9, i32 noundef 4) ret i32 %10 } declare i32 @_buffer_write_array(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8aje0vre.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @buffer_write_int64_array(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = call i32 @_buffer_write_array(ptr noundef %7, ptr noundef %8, i32 noundef %9, i32 noundef 4) ret i32 %10 } declare i32 @_buffer_write_array(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0kfx_7w6.c' source_filename = "/tmp/tmp0kfx_7w6.c" target datalayout = "e-m:e-p270: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/tmp0kfx_7w6.c" target datalayout = "e-m:e-p270: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/tmp5nsp_c3g.c' source_filename = "/tmp/tmp5nsp_c3g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bplus_tree_get(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %5, align 4 %9 = call i32 @bplus_tree_search(ptr noundef %7, i32 noundef %8) store i32 %9, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = load i32, ptr %6, align 4 store i32 %13, ptr %3, align 4 br label %15 14: ; preds = %2 store i32 -1, ptr %3, align 4 br label %15 15: ; preds = %14, %12 %16 = load i32, ptr %3, align 4 ret i32 %16 } declare i32 @bplus_tree_search(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/tmp5nsp_c3g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bplus_tree_get(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %5, align 4 %9 = call i32 @bplus_tree_search(ptr noundef %7, i32 noundef %8) store i32 %9, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = load i32, ptr %6, align 4 store i32 %13, ptr %3, align 4 br label %15 14: ; preds = %2 store i32 -1, ptr %3, align 4 br label %15 15: ; preds = %14, %12 %16 = load i32, ptr %3, align 4 ret i32 %16 } declare i32 @bplus_tree_search(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/tmpivsqq62y.c' source_filename = "/tmp/tmpivsqq62y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hack_alloc_(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = call ptr @malloc(i64 noundef %3) #2 ret ptr %4 } ; Function Attrs: allocsize(0) declare ptr @malloc(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 = { allocsize(0) "frame-pointer"="all" "no-trapping-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 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpivsqq62y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hack_alloc_(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = call ptr @malloc(i64 noundef %3) #2 ret ptr %4 } ; Function Attrs: allocsize(0) declare ptr @malloc(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 = { allocsize(0) "frame-pointer"="all" "no-trapping-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 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzm0vfdev.c' source_filename = "/tmp/tmpzm0vfdev.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @convertation(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca [2 x i32], align 4 %8 = alloca i8, align 1 %9 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %10 = call i64 @malloc(i32 noundef 4096) %11 = inttoptr i64 %10 to ptr store ptr %11, ptr %9, align 8 %12 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 store i32 0, ptr %12, align 4 br label %13 13: ; preds = %18, %3 %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %4, align 4 %16 = sdiv i32 %14, %15 %17 = icmp sgt i32 %16, 0 br i1 %17, label %18, label %35 18: ; preds = %13 %19 = load ptr, ptr %6, align 8 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %4, align 4 %22 = srem i32 %20, %21 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %19, i64 %23 %25 = load i8, ptr %24, align 1 %26 = load ptr, ptr %9, align 8 %27 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %28 = load i32, ptr %27, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %27, align 4 %30 = sext i32 %28 to i64 %31 = getelementptr inbounds i8, ptr %26, i64 %30 store i8 %25, ptr %31, align 1 %32 = load i32, ptr %4, align 4 %33 = load i32, ptr %5, align 4 %34 = sdiv i32 %33, %32 store i32 %34, ptr %5, align 4 br label %13, !llvm.loop !6 35: ; preds = %13 %36 = load ptr, ptr %6, align 8 %37 = load i32, ptr %5, align 4 %38 = load i32, ptr %4, align 4 %39 = srem i32 %37, %38 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %36, i64 %40 %42 = load i8, ptr %41, align 1 %43 = load ptr, ptr %9, align 8 %44 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %45 = load i32, ptr %44, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %44, align 4 %47 = sext i32 %45 to i64 %48 = getelementptr inbounds i8, ptr %43, i64 %47 store i8 %42, ptr %48, align 1 %49 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 store i32 0, ptr %49, align 4 %50 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %51 = load i32, ptr %50, align 4 %52 = add nsw i32 %51, -1 store i32 %52, ptr %50, align 4 br label %53 53: ; preds = %59, %35 %54 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %55 = load i32, ptr %54, align 4 %56 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %57 = load i32, ptr %56, align 4 %58 = icmp sge i32 %55, %57 br i1 %58, label %59, label %89 59: ; preds = %53 %60 = load ptr, ptr %9, align 8 %61 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %62 = load i32, ptr %61, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i8, ptr %60, i64 %63 %65 = load i8, ptr %64, align 1 store i8 %65, ptr %8, align 1 %66 = load ptr, ptr %9, align 8 %67 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %68 = load i32, ptr %67, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds i8, ptr %66, i64 %69 %71 = load i8, ptr %70, align 1 %72 = load ptr, ptr %9, align 8 %73 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %74 = load i32, ptr %73, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds i8, ptr %72, i64 %75 store i8 %71, ptr %76, align 1 %77 = load i8, ptr %8, align 1 %78 = load ptr, ptr %9, align 8 %79 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %80 = load i32, ptr %79, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i8, ptr %78, i64 %81 store i8 %77, ptr %82, align 1 %83 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %84 = load i32, ptr %83, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %83, align 4 %86 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %87 = load i32, ptr %86, align 4 %88 = add nsw i32 %87, -1 store i32 %88, ptr %86, align 4 br label %53, !llvm.loop !8 89: ; preds = %53 %90 = load ptr, ptr %9, align 8 ret ptr %90 } declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzm0vfdev.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @convertation(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca [2 x i32], align 4 %8 = alloca i8, align 1 %9 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %10 = call i64 @malloc(i32 noundef 4096) %11 = inttoptr i64 %10 to ptr store ptr %11, ptr %9, align 8 %12 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 store i32 0, ptr %12, align 4 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %4, align 4 %15 = sdiv i32 %13, %14 %16 = icmp sgt i32 %15, 0 br i1 %16, label %.lr.ph, label %38 .lr.ph: ; preds = %3 br label %17 17: ; preds = %.lr.ph, %17 %18 = load ptr, ptr %6, align 8 %19 = load i32, ptr %5, align 4 %20 = load i32, ptr %4, align 4 %21 = srem i32 %19, %20 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %18, i64 %22 %24 = load i8, ptr %23, align 1 %25 = load ptr, ptr %9, align 8 %26 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %27 = load i32, ptr %26, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %26, align 4 %29 = sext i32 %27 to i64 %30 = getelementptr inbounds i8, ptr %25, i64 %29 store i8 %24, ptr %30, align 1 %31 = load i32, ptr %4, align 4 %32 = load i32, ptr %5, align 4 %33 = sdiv i32 %32, %31 store i32 %33, ptr %5, align 4 %34 = load i32, ptr %5, align 4 %35 = load i32, ptr %4, align 4 %36 = sdiv i32 %34, %35 %37 = icmp sgt i32 %36, 0 br i1 %37, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %38 38: ; preds = %._crit_edge, %3 %39 = load ptr, ptr %6, align 8 %40 = load i32, ptr %5, align 4 %41 = load i32, ptr %4, align 4 %42 = srem i32 %40, %41 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %39, i64 %43 %45 = load i8, ptr %44, align 1 %46 = load ptr, ptr %9, align 8 %47 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %48 = load i32, ptr %47, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %47, align 4 %50 = sext i32 %48 to i64 %51 = getelementptr inbounds i8, ptr %46, i64 %50 store i8 %45, ptr %51, align 1 %52 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 store i32 0, ptr %52, align 4 %53 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %54 = load i32, ptr %53, align 4 %55 = add nsw i32 %54, -1 store i32 %55, ptr %53, align 4 %56 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %57 = load i32, ptr %56, align 4 %58 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %59 = load i32, ptr %58, align 4 %60 = icmp sge i32 %57, %59 br i1 %60, label %.lr.ph2, label %94 .lr.ph2: ; preds = %38 br label %61 61: ; preds = %.lr.ph2, %61 %62 = load ptr, ptr %9, align 8 %63 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %64 = load i32, ptr %63, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i8, ptr %62, i64 %65 %67 = load i8, ptr %66, align 1 store i8 %67, ptr %8, align 1 %68 = load ptr, ptr %9, align 8 %69 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %70 = load i32, ptr %69, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i8, ptr %68, i64 %71 %73 = load i8, ptr %72, align 1 %74 = load ptr, ptr %9, align 8 %75 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %76 = load i32, ptr %75, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i8, ptr %74, i64 %77 store i8 %73, ptr %78, align 1 %79 = load i8, ptr %8, align 1 %80 = load ptr, ptr %9, align 8 %81 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %82 = load i32, ptr %81, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds i8, ptr %80, i64 %83 store i8 %79, ptr %84, align 1 %85 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %86 = load i32, ptr %85, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %85, align 4 %88 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %89 = load i32, ptr %88, align 4 %90 = add nsw i32 %89, -1 store i32 %90, ptr %88, align 4 %91 = load i32, ptr %56, align 4 %92 = load i32, ptr %58, align 4 %93 = icmp sge i32 %91, %92 br i1 %93, label %61, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %61 br label %94 94: ; preds = %._crit_edge3, %38 %95 = load ptr, ptr %9, align 8 ret ptr %95 } declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmplb57p9xc.c' source_filename = "/tmp/tmplb57p9xc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Age in year: 18\0A\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"Age in day: %d\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 (ptr, ...) @printf(ptr noundef @.str) %3 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 6570) 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/tmplb57p9xc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Age in year: 18\0A\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"Age in day: %d\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 (ptr, ...) @printf(ptr noundef @.str) %3 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 6570) 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/tmp1wsubqc5.c' source_filename = "/tmp/tmp1wsubqc5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"Attack me and read the flag :)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [64 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 @puts(ptr noundef @.str) %8 = load i32, ptr %4, align 4 %9 = icmp sgt i32 %8, 1 br i1 %9, label %10, label %16 10: ; preds = %2 %11 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 %15 = call i32 @strcpy(ptr noundef %11, ptr noundef %14) br label %16 16: ; preds = %10, %2 %17 = load i32, ptr %3, align 4 ret i32 %17 } declare i32 @puts(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1wsubqc5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"Attack me and read the flag :)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [64 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 @puts(ptr noundef @.str) %8 = load i32, ptr %4, align 4 %9 = icmp sgt i32 %8, 1 br i1 %9, label %10, label %16 10: ; preds = %2 %11 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 %15 = call i32 @strcpy(ptr noundef %11, ptr noundef %14) br label %16 16: ; preds = %10, %2 %17 = load i32, ptr %3, align 4 ret i32 %17 } declare i32 @puts(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpx6o79efc.c' source_filename = "/tmp/tmpx6o79efc.c" target datalayout = "e-m:e-p270: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/tmpx6o79efc.c" target datalayout = "e-m:e-p270: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/tmphs5smych.c' source_filename = "/tmp/tmphs5smych.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @del_dialog(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 @werase(ptr noundef %3) %5 = load ptr, ptr %2, align 8 %6 = call i32 @wrefresh(ptr noundef %5) %7 = load ptr, ptr %2, align 8 %8 = call i32 @delwin(ptr noundef %7) ret void } declare i32 @werase(ptr noundef) #1 declare i32 @wrefresh(ptr noundef) #1 declare i32 @delwin(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphs5smych.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @del_dialog(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 @werase(ptr noundef %3) %5 = load ptr, ptr %2, align 8 %6 = call i32 @wrefresh(ptr noundef %5) %7 = load ptr, ptr %2, align 8 %8 = call i32 @delwin(ptr noundef %7) ret void } declare i32 @werase(ptr noundef) #1 declare i32 @wrefresh(ptr noundef) #1 declare i32 @delwin(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqkq_lu67.c' source_filename = "/tmp/tmpqkq_lu67.c" target datalayout = "e-m:e-p270: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.hostent = type { ptr, i32, ptr, i32 } @NO_RECOVERY = dso_local global ptr null, align 8 @NSS_STATUS_UNAVAIL = dso_local global i32 0, align 4 @AF_INET = dso_local global i32 0, align 4 @INADDRSZ = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c" \00", align 1 @LOG_ERR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [43 x i8] c"do_gethostbyname(): failed inet_aton on %s\00", align 1 @NSS_STATUS_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @do_gethostbyname(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i64, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca i64, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca i32, align 4 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 store ptr %0, ptr %9, align 8 store ptr %1, ptr %10, align 8 store ptr %2, ptr %11, align 8 store ptr %3, ptr %12, align 8 store i64 %4, ptr %13, align 8 store ptr %5, ptr %14, align 8 store ptr %6, ptr %15, align 8 store i64 0, ptr %16, align 8 store ptr null, ptr %17, align 8 store ptr null, ptr %18, align 8 store ptr null, ptr %20, align 8 %22 = load ptr, ptr %9, align 8 %23 = icmp eq ptr %22, null br i1 %23, label %24, label %27 24: ; preds = %7 %25 = load ptr, ptr @NO_RECOVERY, align 8 store ptr %25, ptr %15, align 8 %26 = load i32, ptr @NSS_STATUS_UNAVAIL, align 4 store i32 %26, ptr %8, align 4 br label %85 27: ; preds = %7 %28 = load ptr, ptr %10, align 8 %29 = load ptr, ptr %11, align 8 %30 = getelementptr inbounds %struct.hostent, ptr %29, i32 0, i32 0 store ptr %28, ptr %30, align 8 %31 = load i32, ptr @AF_INET, align 4 %32 = load ptr, ptr %11, align 8 %33 = getelementptr inbounds %struct.hostent, ptr %32, i32 0, i32 3 store i32 %31, ptr %33, align 8 %34 = load i32, ptr @INADDRSZ, align 4 %35 = load ptr, ptr %11, align 8 %36 = getelementptr inbounds %struct.hostent, ptr %35, i32 0, i32 1 store i32 %34, ptr %36, align 8 %37 = load ptr, ptr %12, align 8 %38 = getelementptr inbounds i8, ptr %37, i64 32 %39 = getelementptr inbounds i8, ptr %38, i64 1 store ptr %39, ptr %21, align 8 %40 = load ptr, ptr %12, align 8 store ptr %40, ptr %20, align 8 %41 = load ptr, ptr %21, align 8 %42 = load ptr, ptr %20, align 8 %43 = getelementptr inbounds ptr, ptr %42, i64 0 store ptr %41, ptr %43, align 8 br label %44 44: ; preds = %55, %51, %27 %45 = call ptr @strsep(ptr noundef %9, ptr noundef @.str) store ptr %45, ptr %17, align 8 %46 = icmp ne ptr %45, null br i1 %46, label %47, label %75 47: ; preds = %44 %48 = load ptr, ptr %17, align 8 %49 = call i32 @inet_aton(ptr noundef %48, ptr noundef %19) %50 = icmp ne i32 %49, 0 br i1 %50, label %55, label %51 51: ; preds = %47 %52 = load i32, ptr @LOG_ERR, align 4 %53 = load ptr, ptr %17, align 8 %54 = call i32 @syslog(i32 noundef %52, ptr noundef @.str.1, ptr noundef %53) br label %44, !llvm.loop !6 55: ; preds = %47 %56 = load ptr, ptr %20, align 8 %57 = load i64, ptr %16, align 8 %58 = getelementptr inbounds ptr, ptr %56, i64 %57 %59 = load ptr, ptr %58, align 8 %60 = load i32, ptr @INADDRSZ, align 4 %61 = call i32 @memcpy(ptr noundef %59, ptr noundef %19, i32 noundef %60) %62 = load i64, ptr %16, align 8 %63 = add i64 %62, 1 store i64 %63, ptr %16, align 8 %64 = load ptr, ptr %20, align 8 %65 = load i64, ptr %16, align 8 %66 = sub i64 %65, 1 %67 = getelementptr inbounds ptr, ptr %64, i64 %66 %68 = load ptr, ptr %67, align 8 %69 = load i32, ptr @INADDRSZ, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i8, ptr %68, i64 %70 %72 = load ptr, ptr %20, align 8 %73 = load i64, ptr %16, align 8 %74 = getelementptr inbounds ptr, ptr %72, i64 %73 store ptr %71, ptr %74, align 8 br label %44, !llvm.loop !6 75: ; preds = %44 %76 = load ptr, ptr %20, align 8 %77 = load i64, ptr %16, align 8 %78 = getelementptr inbounds ptr, ptr %76, i64 %77 store ptr null, ptr %78, align 8 %79 = load ptr, ptr %12, align 8 %80 = ptrtoint ptr %79 to i64 %81 = inttoptr i64 %80 to ptr %82 = load ptr, ptr %11, align 8 %83 = getelementptr inbounds %struct.hostent, ptr %82, i32 0, i32 2 store ptr %81, ptr %83, align 8 %84 = load i32, ptr @NSS_STATUS_SUCCESS, align 4 store i32 %84, ptr %8, align 4 br label %85 85: ; preds = %75, %24 %86 = load i32, ptr %8, align 4 ret i32 %86 } declare ptr @strsep(ptr noundef, ptr noundef) #1 declare i32 @inet_aton(ptr noundef, ptr noundef) #1 declare i32 @syslog(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqkq_lu67.c" target datalayout = "e-m:e-p270: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.hostent = type { ptr, i32, ptr, i32 } @NO_RECOVERY = dso_local global ptr null, align 8 @NSS_STATUS_UNAVAIL = dso_local global i32 0, align 4 @AF_INET = dso_local global i32 0, align 4 @INADDRSZ = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c" \00", align 1 @LOG_ERR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [43 x i8] c"do_gethostbyname(): failed inet_aton on %s\00", align 1 @NSS_STATUS_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @do_gethostbyname(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i64, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca i64, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca i32, align 4 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 store ptr %0, ptr %9, align 8 store ptr %1, ptr %10, align 8 store ptr %2, ptr %11, align 8 store ptr %3, ptr %12, align 8 store i64 %4, ptr %13, align 8 store ptr %5, ptr %14, align 8 store ptr %6, ptr %15, align 8 store i64 0, ptr %16, align 8 store ptr null, ptr %17, align 8 store ptr null, ptr %18, align 8 store ptr null, ptr %20, align 8 %22 = load ptr, ptr %9, align 8 %23 = icmp eq ptr %22, null br i1 %23, label %24, label %27 24: ; preds = %7 %25 = load ptr, ptr @NO_RECOVERY, align 8 store ptr %25, ptr %15, align 8 %26 = load i32, ptr @NSS_STATUS_UNAVAIL, align 4 store i32 %26, ptr %8, align 4 br label %86 27: ; preds = %7 %28 = load ptr, ptr %10, align 8 %29 = load ptr, ptr %11, align 8 %30 = getelementptr inbounds %struct.hostent, ptr %29, i32 0, i32 0 store ptr %28, ptr %30, align 8 %31 = load i32, ptr @AF_INET, align 4 %32 = load ptr, ptr %11, align 8 %33 = getelementptr inbounds %struct.hostent, ptr %32, i32 0, i32 3 store i32 %31, ptr %33, align 8 %34 = load i32, ptr @INADDRSZ, align 4 %35 = load ptr, ptr %11, align 8 %36 = getelementptr inbounds %struct.hostent, ptr %35, i32 0, i32 1 store i32 %34, ptr %36, align 8 %37 = load ptr, ptr %12, align 8 %38 = getelementptr inbounds i8, ptr %37, i64 32 %39 = getelementptr inbounds i8, ptr %38, i64 1 store ptr %39, ptr %21, align 8 %40 = load ptr, ptr %12, align 8 store ptr %40, ptr %20, align 8 %41 = load ptr, ptr %21, align 8 %42 = load ptr, ptr %20, align 8 %43 = getelementptr inbounds ptr, ptr %42, i64 0 store ptr %41, ptr %43, align 8 %44 = call ptr @strsep(ptr noundef %9, ptr noundef @.str) store ptr %44, ptr %17, align 8 %45 = icmp ne ptr %44, null br i1 %45, label %.lr.ph, label %76 .lr.ph: ; preds = %27 br label %46 46: ; preds = %.lr.ph, %.backedge %47 = load ptr, ptr %17, align 8 %48 = call i32 @inet_aton(ptr noundef %47, ptr noundef %19) %49 = icmp ne i32 %48, 0 br i1 %49, label %56, label %50 50: ; preds = %46 %51 = load i32, ptr @LOG_ERR, align 4 %52 = load ptr, ptr %17, align 8 %53 = call i32 @syslog(i32 noundef %51, ptr noundef @.str.1, ptr noundef %52) br label %.backedge .backedge: ; preds = %50, %56 %54 = call ptr @strsep(ptr noundef %9, ptr noundef @.str) store ptr %54, ptr %17, align 8 %55 = icmp ne ptr %54, null br i1 %55, label %46, label %._crit_edge, !llvm.loop !6 56: ; preds = %46 %57 = load ptr, ptr %20, align 8 %58 = load i64, ptr %16, align 8 %59 = getelementptr inbounds ptr, ptr %57, i64 %58 %60 = load ptr, ptr %59, align 8 %61 = load i32, ptr @INADDRSZ, align 4 %62 = call i32 @memcpy(ptr noundef %60, ptr noundef %19, i32 noundef %61) %63 = load i64, ptr %16, align 8 %64 = add i64 %63, 1 store i64 %64, ptr %16, align 8 %65 = load ptr, ptr %20, align 8 %66 = load i64, ptr %16, align 8 %67 = sub i64 %66, 1 %68 = getelementptr inbounds ptr, ptr %65, i64 %67 %69 = load ptr, ptr %68, align 8 %70 = load i32, ptr @INADDRSZ, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i8, ptr %69, i64 %71 %73 = load ptr, ptr %20, align 8 %74 = load i64, ptr %16, align 8 %75 = getelementptr inbounds ptr, ptr %73, i64 %74 store ptr %72, ptr %75, align 8 br label %.backedge ._crit_edge: ; preds = %.backedge br label %76 76: ; preds = %._crit_edge, %27 %77 = load ptr, ptr %20, align 8 %78 = load i64, ptr %16, align 8 %79 = getelementptr inbounds ptr, ptr %77, i64 %78 store ptr null, ptr %79, align 8 %80 = load ptr, ptr %12, align 8 %81 = ptrtoint ptr %80 to i64 %82 = inttoptr i64 %81 to ptr %83 = load ptr, ptr %11, align 8 %84 = getelementptr inbounds %struct.hostent, ptr %83, i32 0, i32 2 store ptr %82, ptr %84, align 8 %85 = load i32, ptr @NSS_STATUS_SUCCESS, align 4 store i32 %85, ptr %8, align 4 br label %86 86: ; preds = %76, %24 %87 = load i32, ptr %8, align 4 ret i32 %87 } declare ptr @strsep(ptr noundef, ptr noundef) #1 declare i32 @inet_aton(ptr noundef, ptr noundef) #1 declare i32 @syslog(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpttal16vd.c' source_filename = "/tmp/tmpttal16vd.c" target datalayout = "e-m:e-p270: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/tmpttal16vd.c" target datalayout = "e-m:e-p270: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/tmpxai6h18z.c' source_filename = "/tmp/tmpxai6h18z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rk4(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca ptr, align 8 %17 = alloca i64, align 8 %18 = alloca i64, align 8 %19 = alloca i64, align 8 %20 = alloca i64, align 8 %21 = alloca i64, align 8 %22 = alloca i64, align 8 %23 = alloca i64, align 8 %24 = alloca i64, align 8 %25 = alloca i64, align 8 %26 = alloca i64, align 8 %27 = alloca i64, align 8 %28 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %29 = load ptr, ptr %10, align 8 %30 = getelementptr inbounds i32, ptr %29, i64 0 %31 = load i32, ptr %30, align 4 store i32 %31, ptr %11, align 4 %32 = load ptr, ptr %10, align 8 %33 = getelementptr inbounds i32, ptr %32, i64 1 %34 = load i32, ptr %33, align 4 store i32 %34, ptr %12, align 4 store i32 0, ptr %13, align 4 %35 = load ptr, ptr %9, align 8 %36 = getelementptr inbounds double, ptr %35, i64 1 %37 = load double, ptr %36, align 8 store double %37, ptr %14, align 8 store double 0.000000e+00, ptr %15, align 8 %38 = load i32, ptr %11, align 4 %39 = mul i32 %38, 2 %40 = zext i32 %39 to i64 %41 = call ptr @llvm.stacksave() store ptr %41, ptr %16, align 8 %42 = alloca double, i64 %40, align 16 store i64 %40, ptr %17, align 8 %43 = load i32, ptr %11, align 4 %44 = mul i32 %43, 2 %45 = zext i32 %44 to i64 %46 = alloca double, i64 %45, align 16 store i64 %45, ptr %18, align 8 %47 = load i32, ptr %11, align 4 %48 = mul i32 %47, 2 %49 = zext i32 %48 to i64 %50 = alloca double, i64 %49, align 16 store i64 %49, ptr %19, align 8 %51 = load i32, ptr %11, align 4 %52 = mul i32 %51, 2 %53 = zext i32 %52 to i64 %54 = alloca double, i64 %53, align 16 store i64 %53, ptr %20, align 8 %55 = load i32, ptr %11, align 4 %56 = mul i32 %55, 2 %57 = zext i32 %56 to i64 %58 = alloca double, i64 %57, align 16 store i64 %57, ptr %21, align 8 %59 = load i32, ptr %11, align 4 %60 = mul i32 %59, 2 %61 = zext i32 %60 to i64 %62 = alloca double, i64 %61, align 16 store i64 %61, ptr %22, align 8 %63 = load i32, ptr %11, align 4 %64 = mul i32 %63, 2 %65 = zext i32 %64 to i64 %66 = alloca double, i64 %65, align 16 store i64 %65, ptr %23, align 8 %67 = load i32, ptr %11, align 4 %68 = mul i32 %67, 2 %69 = zext i32 %68 to i64 %70 = alloca double, i64 %69, align 16 store i64 %69, ptr %24, align 8 %71 = load i32, ptr %11, align 4 %72 = mul i32 %71, 2 %73 = zext i32 %72 to i64 %74 = alloca double, i64 %73, align 16 store i64 %73, ptr %25, align 8 %75 = load i32, ptr %11, align 4 %76 = mul i32 %75, 2 %77 = zext i32 %76 to i64 %78 = alloca double, i64 %77, align 16 store i64 %77, ptr %26, align 8 %79 = load i32, ptr %11, align 4 %80 = mul i32 %79, 2 %81 = zext i32 %80 to i64 %82 = alloca double, i64 %81, align 16 store i64 %81, ptr %27, align 8 %83 = load i32, ptr %11, align 4 %84 = mul i32 %83, 2 %85 = zext i32 %84 to i64 %86 = alloca double, i64 %85, align 16 store i64 %85, ptr %28, align 8 store double 0.000000e+00, ptr %15, align 8 br label %87 87: ; preds = %351, %5 %88 = load double, ptr %15, align 8 %89 = load i32, ptr %12, align 4 %90 = uitofp i32 %89 to double %91 = fcmp olt double %88, %90 br i1 %91, label %92, label %354 92: ; preds = %87 %93 = load i32, ptr %11, align 4 %94 = load ptr, ptr %7, align 8 %95 = load ptr, ptr %8, align 8 %96 = call i32 @diff(ptr noundef %42, ptr noundef %50, i32 noundef %93, ptr noundef %94, ptr noundef %95) store i32 0, ptr %13, align 4 br label %97 97: ; preds = %149, %92 %98 = load i32, ptr %13, align 4 %99 = load i32, ptr %11, align 4 %100 = mul i32 %99, 2 %101 = icmp ult i32 %98, %100 br i1 %101, label %102, label %152 102: ; preds = %97 %103 = load i32, ptr %13, align 4 %104 = zext i32 %103 to i64 %105 = getelementptr inbounds double, ptr %42, i64 %104 %106 = load double, ptr %105, align 8 %107 = load i32, ptr %13, align 4 %108 = zext i32 %107 to i64 %109 = getelementptr inbounds double, ptr %58, i64 %108 store double %106, ptr %109, align 8 %110 = load i32, ptr %13, align 4 %111 = zext i32 %110 to i64 %112 = getelementptr inbounds double, ptr %50, i64 %111 %113 = load double, ptr %112, align 8 %114 = load i32, ptr %13, align 4 %115 = zext i32 %114 to i64 %116 = getelementptr inbounds double, ptr %74, i64 %115 store double %113, ptr %116, align 8 %117 = load ptr, ptr %7, align 8 %118 = load i32, ptr %13, align 4 %119 = zext i32 %118 to i64 %120 = getelementptr inbounds double, ptr %117, i64 %119 %121 = load double, ptr %120, align 8 %122 = load double, ptr %14, align 8 %123 = load i32, ptr %13, align 4 %124 = zext i32 %123 to i64 %125 = getelementptr inbounds double, ptr %58, i64 %124 %126 = load double, ptr %125, align 8 %127 = fmul double %122, %126 %128 = fdiv double %127, 2.000000e+00 %129 = fadd double %121, %128 %130 = load i32, ptr %13, align 4 %131 = zext i32 %130 to i64 %132 = getelementptr inbounds double, ptr %46, i64 %131 store double %129, ptr %132, align 8 %133 = load ptr, ptr %8, align 8 %134 = load i32, ptr %13, align 4 %135 = zext i32 %134 to i64 %136 = getelementptr inbounds double, ptr %133, i64 %135 %137 = load double, ptr %136, align 8 %138 = load double, ptr %14, align 8 %139 = load i32, ptr %13, align 4 %140 = zext i32 %139 to i64 %141 = getelementptr inbounds double, ptr %74, i64 %140 %142 = load double, ptr %141, align 8 %143 = fmul double %138, %142 %144 = fdiv double %143, 2.000000e+00 %145 = fadd double %137, %144 %146 = load i32, ptr %13, align 4 %147 = zext i32 %146 to i64 %148 = getelementptr inbounds double, ptr %54, i64 %147 store double %145, ptr %148, align 8 br label %149 149: ; preds = %102 %150 = load i32, ptr %13, align 4 %151 = add i32 %150, 1 store i32 %151, ptr %13, align 4 br label %97, !llvm.loop !6 152: ; preds = %97 %153 = load i32, ptr %11, align 4 %154 = call i32 @diff(ptr noundef %42, ptr noundef %50, i32 noundef %153, ptr noundef %46, ptr noundef %54) store i32 0, ptr %13, align 4 br label %155 155: ; preds = %207, %152 %156 = load i32, ptr %13, align 4 %157 = load i32, ptr %11, align 4 %158 = mul i32 %157, 2 %159 = icmp ult i32 %156, %158 br i1 %159, label %160, label %210 160: ; preds = %155 %161 = load i32, ptr %13, align 4 %162 = zext i32 %161 to i64 %163 = getelementptr inbounds double, ptr %42, i64 %162 %164 = load double, ptr %163, align 8 %165 = load i32, ptr %13, align 4 %166 = zext i32 %165 to i64 %167 = getelementptr inbounds double, ptr %62, i64 %166 store double %164, ptr %167, align 8 %168 = load i32, ptr %13, align 4 %169 = zext i32 %168 to i64 %170 = getelementptr inbounds double, ptr %50, i64 %169 %171 = load double, ptr %170, align 8 %172 = load i32, ptr %13, align 4 %173 = zext i32 %172 to i64 %174 = getelementptr inbounds double, ptr %78, i64 %173 store double %171, ptr %174, align 8 %175 = load ptr, ptr %7, align 8 %176 = load i32, ptr %13, align 4 %177 = zext i32 %176 to i64 %178 = getelementptr inbounds double, ptr %175, i64 %177 %179 = load double, ptr %178, align 8 %180 = load double, ptr %14, align 8 %181 = load i32, ptr %13, align 4 %182 = zext i32 %181 to i64 %183 = getelementptr inbounds double, ptr %62, i64 %182 %184 = load double, ptr %183, align 8 %185 = fmul double %180, %184 %186 = fdiv double %185, 2.000000e+00 %187 = fadd double %179, %186 %188 = load i32, ptr %13, align 4 %189 = zext i32 %188 to i64 %190 = getelementptr inbounds double, ptr %46, i64 %189 store double %187, ptr %190, align 8 %191 = load ptr, ptr %8, align 8 %192 = load i32, ptr %13, align 4 %193 = zext i32 %192 to i64 %194 = getelementptr inbounds double, ptr %191, i64 %193 %195 = load double, ptr %194, align 8 %196 = load double, ptr %14, align 8 %197 = load i32, ptr %13, align 4 %198 = zext i32 %197 to i64 %199 = getelementptr inbounds double, ptr %78, i64 %198 %200 = load double, ptr %199, align 8 %201 = fmul double %196, %200 %202 = fdiv double %201, 2.000000e+00 %203 = fadd double %195, %202 %204 = load i32, ptr %13, align 4 %205 = zext i32 %204 to i64 %206 = getelementptr inbounds double, ptr %54, i64 %205 store double %203, ptr %206, align 8 br label %207 207: ; preds = %160 %208 = load i32, ptr %13, align 4 %209 = add i32 %208, 1 store i32 %209, ptr %13, align 4 br label %155, !llvm.loop !8 210: ; preds = %155 %211 = load i32, ptr %11, align 4 %212 = call i32 @diff(ptr noundef %42, ptr noundef %50, i32 noundef %211, ptr noundef %46, ptr noundef %54) store i32 0, ptr %13, align 4 br label %213 213: ; preds = %261, %210 %214 = load i32, ptr %13, align 4 %215 = load i32, ptr %11, align 4 %216 = mul i32 %215, 2 %217 = icmp ult i32 %214, %216 br i1 %217, label %218, label %264 218: ; preds = %213 %219 = load i32, ptr %13, align 4 %220 = zext i32 %219 to i64 %221 = getelementptr inbounds double, ptr %42, i64 %220 %222 = load double, ptr %221, align 8 %223 = load i32, ptr %13, align 4 %224 = zext i32 %223 to i64 %225 = getelementptr inbounds double, ptr %66, i64 %224 store double %222, ptr %225, align 8 %226 = load i32, ptr %13, align 4 %227 = zext i32 %226 to i64 %228 = getelementptr inbounds double, ptr %50, i64 %227 %229 = load double, ptr %228, align 8 %230 = load i32, ptr %13, align 4 %231 = zext i32 %230 to i64 %232 = getelementptr inbounds double, ptr %82, i64 %231 store double %229, ptr %232, align 8 %233 = load ptr, ptr %7, align 8 %234 = load i32, ptr %13, align 4 %235 = zext i32 %234 to i64 %236 = getelementptr inbounds double, ptr %233, i64 %235 %237 = load double, ptr %236, align 8 %238 = load double, ptr %14, align 8 %239 = load i32, ptr %13, align 4 %240 = zext i32 %239 to i64 %241 = getelementptr inbounds double, ptr %66, i64 %240 %242 = load double, ptr %241, align 8 %243 = call double @llvm.fmuladd.f64(double %238, double %242, double %237) %244 = load i32, ptr %13, align 4 %245 = zext i32 %244 to i64 %246 = getelementptr inbounds double, ptr %46, i64 %245 store double %243, ptr %246, align 8 %247 = load ptr, ptr %8, align 8 %248 = load i32, ptr %13, align 4 %249 = zext i32 %248 to i64 %250 = getelementptr inbounds double, ptr %247, i64 %249 %251 = load double, ptr %250, align 8 %252 = load double, ptr %14, align 8 %253 = load i32, ptr %13, align 4 %254 = zext i32 %253 to i64 %255 = getelementptr inbounds double, ptr %82, i64 %254 %256 = load double, ptr %255, align 8 %257 = call double @llvm.fmuladd.f64(double %252, double %256, double %251) %258 = load i32, ptr %13, align 4 %259 = zext i32 %258 to i64 %260 = getelementptr inbounds double, ptr %54, i64 %259 store double %257, ptr %260, align 8 br label %261 261: ; preds = %218 %262 = load i32, ptr %13, align 4 %263 = add i32 %262, 1 store i32 %263, ptr %13, align 4 br label %213, !llvm.loop !9 264: ; preds = %213 %265 = load i32, ptr %11, align 4 %266 = call i32 @diff(ptr noundef %42, ptr noundef %50, i32 noundef %265, ptr noundef %46, ptr noundef %54) store i32 0, ptr %13, align 4 br label %267 267: ; preds = %343, %264 %268 = load i32, ptr %13, align 4 %269 = load i32, ptr %11, align 4 %270 = mul i32 %269, 2 %271 = icmp ult i32 %268, %270 br i1 %271, label %272, label %346 272: ; preds = %267 %273 = load i32, ptr %13, align 4 %274 = zext i32 %273 to i64 %275 = getelementptr inbounds double, ptr %42, i64 %274 %276 = load double, ptr %275, align 8 %277 = load i32, ptr %13, align 4 %278 = zext i32 %277 to i64 %279 = getelementptr inbounds double, ptr %70, i64 %278 store double %276, ptr %279, align 8 %280 = load i32, ptr %13, align 4 %281 = zext i32 %280 to i64 %282 = getelementptr inbounds double, ptr %50, i64 %281 %283 = load double, ptr %282, align 8 %284 = load i32, ptr %13, align 4 %285 = zext i32 %284 to i64 %286 = getelementptr inbounds double, ptr %86, i64 %285 store double %283, ptr %286, align 8 %287 = load double, ptr %14, align 8 %288 = load i32, ptr %13, align 4 %289 = zext i32 %288 to i64 %290 = getelementptr inbounds double, ptr %58, i64 %289 %291 = load double, ptr %290, align 8 %292 = load i32, ptr %13, align 4 %293 = zext i32 %292 to i64 %294 = getelementptr inbounds double, ptr %62, i64 %293 %295 = load double, ptr %294, align 8 %296 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %295, double %291) %297 = load i32, ptr %13, align 4 %298 = zext i32 %297 to i64 %299 = getelementptr inbounds double, ptr %66, i64 %298 %300 = load double, ptr %299, align 8 %301 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %300, double %296) %302 = load i32, ptr %13, align 4 %303 = zext i32 %302 to i64 %304 = getelementptr inbounds double, ptr %70, i64 %303 %305 = load double, ptr %304, align 8 %306 = fadd double %301, %305 %307 = fmul double %287, %306 %308 = fdiv double %307, 6.000000e+00 %309 = load ptr, ptr %7, align 8 %310 = load i32, ptr %13, align 4 %311 = zext i32 %310 to i64 %312 = getelementptr inbounds double, ptr %309, i64 %311 %313 = load double, ptr %312, align 8 %314 = fadd double %313, %308 store double %314, ptr %312, align 8 %315 = load double, ptr %14, align 8 %316 = load i32, ptr %13, align 4 %317 = zext i32 %316 to i64 %318 = getelementptr inbounds double, ptr %74, i64 %317 %319 = load double, ptr %318, align 8 %320 = load i32, ptr %13, align 4 %321 = zext i32 %320 to i64 %322 = getelementptr inbounds double, ptr %78, i64 %321 %323 = load double, ptr %322, align 8 %324 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %323, double %319) %325 = load i32, ptr %13, align 4 %326 = zext i32 %325 to i64 %327 = getelementptr inbounds double, ptr %82, i64 %326 %328 = load double, ptr %327, align 8 %329 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %328, double %324) %330 = load i32, ptr %13, align 4 %331 = zext i32 %330 to i64 %332 = getelementptr inbounds double, ptr %86, i64 %331 %333 = load double, ptr %332, align 8 %334 = fadd double %329, %333 %335 = fmul double %315, %334 %336 = fdiv double %335, 6.000000e+00 %337 = load ptr, ptr %8, align 8 %338 = load i32, ptr %13, align 4 %339 = zext i32 %338 to i64 %340 = getelementptr inbounds double, ptr %337, i64 %339 %341 = load double, ptr %340, align 8 %342 = fadd double %341, %336 store double %342, ptr %340, align 8 br label %343 343: ; preds = %272 %344 = load i32, ptr %13, align 4 %345 = add i32 %344, 1 store i32 %345, ptr %13, align 4 br label %267, !llvm.loop !10 346: ; preds = %267 %347 = load double, ptr %14, align 8 %348 = load ptr, ptr %6, align 8 %349 = load double, ptr %348, align 8 %350 = fadd double %349, %347 store double %350, ptr %348, align 8 br label %351 351: ; preds = %346 %352 = load double, ptr %15, align 8 %353 = fadd double %352, 1.000000e+00 store double %353, ptr %15, align 8 br label %87, !llvm.loop !11 354: ; preds = %87 %355 = load ptr, ptr %16, align 8 call void @llvm.stackrestore(ptr %355) ret i32 0 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @diff(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxai6h18z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rk4(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca ptr, align 8 %17 = alloca i64, align 8 %18 = alloca i64, align 8 %19 = alloca i64, align 8 %20 = alloca i64, align 8 %21 = alloca i64, align 8 %22 = alloca i64, align 8 %23 = alloca i64, align 8 %24 = alloca i64, align 8 %25 = alloca i64, align 8 %26 = alloca i64, align 8 %27 = alloca i64, align 8 %28 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %29 = load ptr, ptr %10, align 8 %30 = getelementptr inbounds i32, ptr %29, i64 0 %31 = load i32, ptr %30, align 4 store i32 %31, ptr %11, align 4 %32 = load ptr, ptr %10, align 8 %33 = getelementptr inbounds i32, ptr %32, i64 1 %34 = load i32, ptr %33, align 4 store i32 %34, ptr %12, align 4 store i32 0, ptr %13, align 4 %35 = load ptr, ptr %9, align 8 %36 = getelementptr inbounds double, ptr %35, i64 1 %37 = load double, ptr %36, align 8 store double %37, ptr %14, align 8 store double 0.000000e+00, ptr %15, align 8 %38 = load i32, ptr %11, align 4 %39 = mul i32 %38, 2 %40 = zext i32 %39 to i64 %41 = call ptr @llvm.stacksave() store ptr %41, ptr %16, align 8 %42 = alloca double, i64 %40, align 16 store i64 %40, ptr %17, align 8 %43 = load i32, ptr %11, align 4 %44 = mul i32 %43, 2 %45 = zext i32 %44 to i64 %46 = alloca double, i64 %45, align 16 store i64 %45, ptr %18, align 8 %47 = load i32, ptr %11, align 4 %48 = mul i32 %47, 2 %49 = zext i32 %48 to i64 %50 = alloca double, i64 %49, align 16 store i64 %49, ptr %19, align 8 %51 = load i32, ptr %11, align 4 %52 = mul i32 %51, 2 %53 = zext i32 %52 to i64 %54 = alloca double, i64 %53, align 16 store i64 %53, ptr %20, align 8 %55 = load i32, ptr %11, align 4 %56 = mul i32 %55, 2 %57 = zext i32 %56 to i64 %58 = alloca double, i64 %57, align 16 store i64 %57, ptr %21, align 8 %59 = load i32, ptr %11, align 4 %60 = mul i32 %59, 2 %61 = zext i32 %60 to i64 %62 = alloca double, i64 %61, align 16 store i64 %61, ptr %22, align 8 %63 = load i32, ptr %11, align 4 %64 = mul i32 %63, 2 %65 = zext i32 %64 to i64 %66 = alloca double, i64 %65, align 16 store i64 %65, ptr %23, align 8 %67 = load i32, ptr %11, align 4 %68 = mul i32 %67, 2 %69 = zext i32 %68 to i64 %70 = alloca double, i64 %69, align 16 store i64 %69, ptr %24, align 8 %71 = load i32, ptr %11, align 4 %72 = mul i32 %71, 2 %73 = zext i32 %72 to i64 %74 = alloca double, i64 %73, align 16 store i64 %73, ptr %25, align 8 %75 = load i32, ptr %11, align 4 %76 = mul i32 %75, 2 %77 = zext i32 %76 to i64 %78 = alloca double, i64 %77, align 16 store i64 %77, ptr %26, align 8 %79 = load i32, ptr %11, align 4 %80 = mul i32 %79, 2 %81 = zext i32 %80 to i64 %82 = alloca double, i64 %81, align 16 store i64 %81, ptr %27, align 8 %83 = load i32, ptr %11, align 4 %84 = mul i32 %83, 2 %85 = zext i32 %84 to i64 %86 = alloca double, i64 %85, align 16 store i64 %85, ptr %28, align 8 store double 0.000000e+00, ptr %15, align 8 %87 = load double, ptr %15, align 8 %88 = load i32, ptr %12, align 4 %89 = uitofp i32 %88 to double %90 = fcmp olt double %87, %89 br i1 %90, label %.lr.ph11, label %369 .lr.ph11: ; preds = %5 br label %91 91: ; preds = %.lr.ph11, %362 %92 = load i32, ptr %11, align 4 %93 = load ptr, ptr %7, align 8 %94 = load ptr, ptr %8, align 8 %95 = call i32 @diff(ptr noundef %42, ptr noundef %50, i32 noundef %92, ptr noundef %93, ptr noundef %94) store i32 0, ptr %13, align 4 %96 = load i32, ptr %13, align 4 %97 = load i32, ptr %11, align 4 %98 = mul i32 %97, 2 %99 = icmp ult i32 %96, %98 br i1 %99, label %.lr.ph, label %154 .lr.ph: ; preds = %91 br label %100 100: ; preds = %.lr.ph, %147 %101 = load i32, ptr %13, align 4 %102 = zext i32 %101 to i64 %103 = getelementptr inbounds double, ptr %42, i64 %102 %104 = load double, ptr %103, align 8 %105 = load i32, ptr %13, align 4 %106 = zext i32 %105 to i64 %107 = getelementptr inbounds double, ptr %58, i64 %106 store double %104, ptr %107, align 8 %108 = load i32, ptr %13, align 4 %109 = zext i32 %108 to i64 %110 = getelementptr inbounds double, ptr %50, i64 %109 %111 = load double, ptr %110, align 8 %112 = load i32, ptr %13, align 4 %113 = zext i32 %112 to i64 %114 = getelementptr inbounds double, ptr %74, i64 %113 store double %111, ptr %114, align 8 %115 = load ptr, ptr %7, align 8 %116 = load i32, ptr %13, align 4 %117 = zext i32 %116 to i64 %118 = getelementptr inbounds double, ptr %115, i64 %117 %119 = load double, ptr %118, align 8 %120 = load double, ptr %14, align 8 %121 = load i32, ptr %13, align 4 %122 = zext i32 %121 to i64 %123 = getelementptr inbounds double, ptr %58, i64 %122 %124 = load double, ptr %123, align 8 %125 = fmul double %120, %124 %126 = fdiv double %125, 2.000000e+00 %127 = fadd double %119, %126 %128 = load i32, ptr %13, align 4 %129 = zext i32 %128 to i64 %130 = getelementptr inbounds double, ptr %46, i64 %129 store double %127, ptr %130, align 8 %131 = load ptr, ptr %8, align 8 %132 = load i32, ptr %13, align 4 %133 = zext i32 %132 to i64 %134 = getelementptr inbounds double, ptr %131, i64 %133 %135 = load double, ptr %134, align 8 %136 = load double, ptr %14, align 8 %137 = load i32, ptr %13, align 4 %138 = zext i32 %137 to i64 %139 = getelementptr inbounds double, ptr %74, i64 %138 %140 = load double, ptr %139, align 8 %141 = fmul double %136, %140 %142 = fdiv double %141, 2.000000e+00 %143 = fadd double %135, %142 %144 = load i32, ptr %13, align 4 %145 = zext i32 %144 to i64 %146 = getelementptr inbounds double, ptr %54, i64 %145 store double %143, ptr %146, align 8 br label %147 147: ; preds = %100 %148 = load i32, ptr %13, align 4 %149 = add i32 %148, 1 store i32 %149, ptr %13, align 4 %150 = load i32, ptr %13, align 4 %151 = load i32, ptr %11, align 4 %152 = mul i32 %151, 2 %153 = icmp ult i32 %150, %152 br i1 %153, label %100, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %147 br label %154 154: ; preds = %._crit_edge, %91 %155 = load i32, ptr %11, align 4 %156 = call i32 @diff(ptr noundef %42, ptr noundef %50, i32 noundef %155, ptr noundef %46, ptr noundef %54) store i32 0, ptr %13, align 4 %157 = load i32, ptr %13, align 4 %158 = load i32, ptr %11, align 4 %159 = mul i32 %158, 2 %160 = icmp ult i32 %157, %159 br i1 %160, label %.lr.ph2, label %215 .lr.ph2: ; preds = %154 br label %161 161: ; preds = %.lr.ph2, %208 %162 = load i32, ptr %13, align 4 %163 = zext i32 %162 to i64 %164 = getelementptr inbounds double, ptr %42, i64 %163 %165 = load double, ptr %164, align 8 %166 = load i32, ptr %13, align 4 %167 = zext i32 %166 to i64 %168 = getelementptr inbounds double, ptr %62, i64 %167 store double %165, ptr %168, align 8 %169 = load i32, ptr %13, align 4 %170 = zext i32 %169 to i64 %171 = getelementptr inbounds double, ptr %50, i64 %170 %172 = load double, ptr %171, align 8 %173 = load i32, ptr %13, align 4 %174 = zext i32 %173 to i64 %175 = getelementptr inbounds double, ptr %78, i64 %174 store double %172, ptr %175, align 8 %176 = load ptr, ptr %7, align 8 %177 = load i32, ptr %13, align 4 %178 = zext i32 %177 to i64 %179 = getelementptr inbounds double, ptr %176, i64 %178 %180 = load double, ptr %179, align 8 %181 = load double, ptr %14, align 8 %182 = load i32, ptr %13, align 4 %183 = zext i32 %182 to i64 %184 = getelementptr inbounds double, ptr %62, i64 %183 %185 = load double, ptr %184, align 8 %186 = fmul double %181, %185 %187 = fdiv double %186, 2.000000e+00 %188 = fadd double %180, %187 %189 = load i32, ptr %13, align 4 %190 = zext i32 %189 to i64 %191 = getelementptr inbounds double, ptr %46, i64 %190 store double %188, ptr %191, align 8 %192 = load ptr, ptr %8, align 8 %193 = load i32, ptr %13, align 4 %194 = zext i32 %193 to i64 %195 = getelementptr inbounds double, ptr %192, i64 %194 %196 = load double, ptr %195, align 8 %197 = load double, ptr %14, align 8 %198 = load i32, ptr %13, align 4 %199 = zext i32 %198 to i64 %200 = getelementptr inbounds double, ptr %78, i64 %199 %201 = load double, ptr %200, align 8 %202 = fmul double %197, %201 %203 = fdiv double %202, 2.000000e+00 %204 = fadd double %196, %203 %205 = load i32, ptr %13, align 4 %206 = zext i32 %205 to i64 %207 = getelementptr inbounds double, ptr %54, i64 %206 store double %204, ptr %207, align 8 br label %208 208: ; preds = %161 %209 = load i32, ptr %13, align 4 %210 = add i32 %209, 1 store i32 %210, ptr %13, align 4 %211 = load i32, ptr %13, align 4 %212 = load i32, ptr %11, align 4 %213 = mul i32 %212, 2 %214 = icmp ult i32 %211, %213 br i1 %214, label %161, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %208 br label %215 215: ; preds = %._crit_edge3, %154 %216 = load i32, ptr %11, align 4 %217 = call i32 @diff(ptr noundef %42, ptr noundef %50, i32 noundef %216, ptr noundef %46, ptr noundef %54) store i32 0, ptr %13, align 4 %218 = load i32, ptr %13, align 4 %219 = load i32, ptr %11, align 4 %220 = mul i32 %219, 2 %221 = icmp ult i32 %218, %220 br i1 %221, label %.lr.ph5, label %272 .lr.ph5: ; preds = %215 br label %222 222: ; preds = %.lr.ph5, %265 %223 = load i32, ptr %13, align 4 %224 = zext i32 %223 to i64 %225 = getelementptr inbounds double, ptr %42, i64 %224 %226 = load double, ptr %225, align 8 %227 = load i32, ptr %13, align 4 %228 = zext i32 %227 to i64 %229 = getelementptr inbounds double, ptr %66, i64 %228 store double %226, ptr %229, align 8 %230 = load i32, ptr %13, align 4 %231 = zext i32 %230 to i64 %232 = getelementptr inbounds double, ptr %50, i64 %231 %233 = load double, ptr %232, align 8 %234 = load i32, ptr %13, align 4 %235 = zext i32 %234 to i64 %236 = getelementptr inbounds double, ptr %82, i64 %235 store double %233, ptr %236, align 8 %237 = load ptr, ptr %7, align 8 %238 = load i32, ptr %13, align 4 %239 = zext i32 %238 to i64 %240 = getelementptr inbounds double, ptr %237, i64 %239 %241 = load double, ptr %240, align 8 %242 = load double, ptr %14, align 8 %243 = load i32, ptr %13, align 4 %244 = zext i32 %243 to i64 %245 = getelementptr inbounds double, ptr %66, i64 %244 %246 = load double, ptr %245, align 8 %247 = call double @llvm.fmuladd.f64(double %242, double %246, double %241) %248 = load i32, ptr %13, align 4 %249 = zext i32 %248 to i64 %250 = getelementptr inbounds double, ptr %46, i64 %249 store double %247, ptr %250, align 8 %251 = load ptr, ptr %8, align 8 %252 = load i32, ptr %13, align 4 %253 = zext i32 %252 to i64 %254 = getelementptr inbounds double, ptr %251, i64 %253 %255 = load double, ptr %254, align 8 %256 = load double, ptr %14, align 8 %257 = load i32, ptr %13, align 4 %258 = zext i32 %257 to i64 %259 = getelementptr inbounds double, ptr %82, i64 %258 %260 = load double, ptr %259, align 8 %261 = call double @llvm.fmuladd.f64(double %256, double %260, double %255) %262 = load i32, ptr %13, align 4 %263 = zext i32 %262 to i64 %264 = getelementptr inbounds double, ptr %54, i64 %263 store double %261, ptr %264, align 8 br label %265 265: ; preds = %222 %266 = load i32, ptr %13, align 4 %267 = add i32 %266, 1 store i32 %267, ptr %13, align 4 %268 = load i32, ptr %13, align 4 %269 = load i32, ptr %11, align 4 %270 = mul i32 %269, 2 %271 = icmp ult i32 %268, %270 br i1 %271, label %222, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %265 br label %272 272: ; preds = %._crit_edge6, %215 %273 = load i32, ptr %11, align 4 %274 = call i32 @diff(ptr noundef %42, ptr noundef %50, i32 noundef %273, ptr noundef %46, ptr noundef %54) store i32 0, ptr %13, align 4 %275 = load i32, ptr %13, align 4 %276 = load i32, ptr %11, align 4 %277 = mul i32 %276, 2 %278 = icmp ult i32 %275, %277 br i1 %278, label %.lr.ph8, label %357 .lr.ph8: ; preds = %272 br label %279 279: ; preds = %.lr.ph8, %350 %280 = load i32, ptr %13, align 4 %281 = zext i32 %280 to i64 %282 = getelementptr inbounds double, ptr %42, i64 %281 %283 = load double, ptr %282, align 8 %284 = load i32, ptr %13, align 4 %285 = zext i32 %284 to i64 %286 = getelementptr inbounds double, ptr %70, i64 %285 store double %283, ptr %286, align 8 %287 = load i32, ptr %13, align 4 %288 = zext i32 %287 to i64 %289 = getelementptr inbounds double, ptr %50, i64 %288 %290 = load double, ptr %289, align 8 %291 = load i32, ptr %13, align 4 %292 = zext i32 %291 to i64 %293 = getelementptr inbounds double, ptr %86, i64 %292 store double %290, ptr %293, align 8 %294 = load double, ptr %14, align 8 %295 = load i32, ptr %13, align 4 %296 = zext i32 %295 to i64 %297 = getelementptr inbounds double, ptr %58, i64 %296 %298 = load double, ptr %297, align 8 %299 = load i32, ptr %13, align 4 %300 = zext i32 %299 to i64 %301 = getelementptr inbounds double, ptr %62, i64 %300 %302 = load double, ptr %301, align 8 %303 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %302, double %298) %304 = load i32, ptr %13, align 4 %305 = zext i32 %304 to i64 %306 = getelementptr inbounds double, ptr %66, i64 %305 %307 = load double, ptr %306, align 8 %308 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %307, double %303) %309 = load i32, ptr %13, align 4 %310 = zext i32 %309 to i64 %311 = getelementptr inbounds double, ptr %70, i64 %310 %312 = load double, ptr %311, align 8 %313 = fadd double %308, %312 %314 = fmul double %294, %313 %315 = fdiv double %314, 6.000000e+00 %316 = load ptr, ptr %7, align 8 %317 = load i32, ptr %13, align 4 %318 = zext i32 %317 to i64 %319 = getelementptr inbounds double, ptr %316, i64 %318 %320 = load double, ptr %319, align 8 %321 = fadd double %320, %315 store double %321, ptr %319, align 8 %322 = load double, ptr %14, align 8 %323 = load i32, ptr %13, align 4 %324 = zext i32 %323 to i64 %325 = getelementptr inbounds double, ptr %74, i64 %324 %326 = load double, ptr %325, align 8 %327 = load i32, ptr %13, align 4 %328 = zext i32 %327 to i64 %329 = getelementptr inbounds double, ptr %78, i64 %328 %330 = load double, ptr %329, align 8 %331 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %330, double %326) %332 = load i32, ptr %13, align 4 %333 = zext i32 %332 to i64 %334 = getelementptr inbounds double, ptr %82, i64 %333 %335 = load double, ptr %334, align 8 %336 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %335, double %331) %337 = load i32, ptr %13, align 4 %338 = zext i32 %337 to i64 %339 = getelementptr inbounds double, ptr %86, i64 %338 %340 = load double, ptr %339, align 8 %341 = fadd double %336, %340 %342 = fmul double %322, %341 %343 = fdiv double %342, 6.000000e+00 %344 = load ptr, ptr %8, align 8 %345 = load i32, ptr %13, align 4 %346 = zext i32 %345 to i64 %347 = getelementptr inbounds double, ptr %344, i64 %346 %348 = load double, ptr %347, align 8 %349 = fadd double %348, %343 store double %349, ptr %347, align 8 br label %350 350: ; preds = %279 %351 = load i32, ptr %13, align 4 %352 = add i32 %351, 1 store i32 %352, ptr %13, align 4 %353 = load i32, ptr %13, align 4 %354 = load i32, ptr %11, align 4 %355 = mul i32 %354, 2 %356 = icmp ult i32 %353, %355 br i1 %356, label %279, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %350 br label %357 357: ; preds = %._crit_edge9, %272 %358 = load double, ptr %14, align 8 %359 = load ptr, ptr %6, align 8 %360 = load double, ptr %359, align 8 %361 = fadd double %360, %358 store double %361, ptr %359, align 8 br label %362 362: ; preds = %357 %363 = load double, ptr %15, align 8 %364 = fadd double %363, 1.000000e+00 store double %364, ptr %15, align 8 %365 = load double, ptr %15, align 8 %366 = load i32, ptr %12, align 4 %367 = uitofp i32 %366 to double %368 = fcmp olt double %365, %367 br i1 %368, label %91, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %362 br label %369 369: ; preds = %._crit_edge12, %5 %370 = load ptr, ptr %16, align 8 call void @llvm.stackrestore(ptr %370) ret i32 0 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @diff(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpbvhilag5.c' source_filename = "/tmp/tmpbvhilag5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mprove(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca double, align 8 %16 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %17 = load i32, ptr %9, align 4 %18 = call ptr @vector(i32 noundef 1, i32 noundef %17) store ptr %18, ptr %16, align 8 store i32 1, ptr %14, align 4 br label %19 19: ; preds = %64, %6 %20 = load i32, ptr %14, align 4 %21 = load i32, ptr %9, align 4 %22 = icmp sle i32 %20, %21 br i1 %22, label %23, label %67 23: ; preds = %19 %24 = load ptr, ptr %11, align 8 %25 = load i32, ptr %14, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds float, ptr %24, i64 %26 %28 = load float, ptr %27, align 4 %29 = fneg float %28 %30 = fpext float %29 to double store double %30, ptr %15, align 8 store i32 1, ptr %13, align 4 br label %31 31: ; preds = %54, %23 %32 = load i32, ptr %13, align 4 %33 = load i32, ptr %9, align 4 %34 = icmp sle i32 %32, %33 br i1 %34, label %35, label %57 35: ; preds = %31 %36 = load ptr, ptr %7, align 8 %37 = load i32, ptr %14, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds ptr, ptr %36, i64 %38 %40 = load ptr, ptr %39, align 8 %41 = load i32, ptr %13, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds float, ptr %40, i64 %42 %44 = load float, ptr %43, align 4 %45 = load ptr, ptr %12, align 8 %46 = load i32, ptr %13, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds float, ptr %45, i64 %47 %49 = load float, ptr %48, align 4 %50 = fmul float %44, %49 %51 = fpext float %50 to double %52 = load double, ptr %15, align 8 %53 = fadd double %52, %51 store double %53, ptr %15, align 8 br label %54 54: ; preds = %35 %55 = load i32, ptr %13, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %13, align 4 br label %31, !llvm.loop !6 57: ; preds = %31 %58 = load double, ptr %15, align 8 %59 = fptrunc double %58 to float %60 = load ptr, ptr %16, align 8 %61 = load i32, ptr %14, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds float, ptr %60, i64 %62 store float %59, ptr %63, align 4 br label %64 64: ; preds = %57 %65 = load i32, ptr %14, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %14, align 4 br label %19, !llvm.loop !8 67: ; preds = %19 %68 = load ptr, ptr %8, align 8 %69 = load i32, ptr %9, align 4 %70 = load ptr, ptr %10, align 8 %71 = load ptr, ptr %16, align 8 call void @lubksb(ptr noundef %68, i32 noundef %69, ptr noundef %70, ptr noundef %71) store i32 1, ptr %14, align 4 br label %72 72: ; preds = %88, %67 %73 = load i32, ptr %14, align 4 %74 = load i32, ptr %9, align 4 %75 = icmp sle i32 %73, %74 br i1 %75, label %76, label %91 76: ; preds = %72 %77 = load ptr, ptr %16, align 8 %78 = load i32, ptr %14, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds float, ptr %77, i64 %79 %81 = load float, ptr %80, align 4 %82 = load ptr, ptr %12, align 8 %83 = load i32, ptr %14, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds float, ptr %82, i64 %84 %86 = load float, ptr %85, align 4 %87 = fsub float %86, %81 store float %87, ptr %85, align 4 br label %88 88: ; preds = %76 %89 = load i32, ptr %14, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %14, align 4 br label %72, !llvm.loop !9 91: ; preds = %72 %92 = load ptr, ptr %16, align 8 %93 = load i32, ptr %9, align 4 %94 = call i32 @free_vector(ptr noundef %92, i32 noundef 1, i32 noundef %93) ret void } declare ptr @vector(i32 noundef, i32 noundef) #1 declare void @lubksb(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @free_vector(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} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbvhilag5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mprove(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca double, align 8 %16 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %17 = load i32, ptr %9, align 4 %18 = call ptr @vector(i32 noundef 1, i32 noundef %17) store ptr %18, ptr %16, align 8 store i32 1, ptr %14, align 4 %19 = load i32, ptr %14, align 4 %20 = load i32, ptr %9, align 4 %21 = icmp sle i32 %19, %20 br i1 %21, label %.lr.ph2, label %71 .lr.ph2: ; preds = %6 br label %22 22: ; preds = %.lr.ph2, %65 %23 = load ptr, ptr %11, align 8 %24 = load i32, ptr %14, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds float, ptr %23, i64 %25 %27 = load float, ptr %26, align 4 %28 = fneg float %27 %29 = fpext float %28 to double store double %29, ptr %15, align 8 store i32 1, ptr %13, align 4 %30 = load i32, ptr %13, align 4 %31 = load i32, ptr %9, align 4 %32 = icmp sle i32 %30, %31 br i1 %32, label %.lr.ph, label %58 .lr.ph: ; preds = %22 br label %33 33: ; preds = %.lr.ph, %52 %34 = load ptr, ptr %7, align 8 %35 = load i32, ptr %14, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds ptr, ptr %34, i64 %36 %38 = load ptr, ptr %37, align 8 %39 = load i32, ptr %13, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds float, ptr %38, i64 %40 %42 = load float, ptr %41, align 4 %43 = load ptr, ptr %12, align 8 %44 = load i32, ptr %13, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds float, ptr %43, i64 %45 %47 = load float, ptr %46, align 4 %48 = fmul float %42, %47 %49 = fpext float %48 to double %50 = load double, ptr %15, align 8 %51 = fadd double %50, %49 store double %51, ptr %15, align 8 br label %52 52: ; preds = %33 %53 = load i32, ptr %13, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %13, align 4 %55 = load i32, ptr %13, align 4 %56 = load i32, ptr %9, align 4 %57 = icmp sle i32 %55, %56 br i1 %57, label %33, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %52 br label %58 58: ; preds = %._crit_edge, %22 %59 = load double, ptr %15, align 8 %60 = fptrunc double %59 to float %61 = load ptr, ptr %16, align 8 %62 = load i32, ptr %14, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds float, ptr %61, i64 %63 store float %60, ptr %64, align 4 br label %65 65: ; preds = %58 %66 = load i32, ptr %14, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %14, align 4 %68 = load i32, ptr %14, align 4 %69 = load i32, ptr %9, align 4 %70 = icmp sle i32 %68, %69 br i1 %70, label %22, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %65 br label %71 71: ; preds = %._crit_edge3, %6 %72 = load ptr, ptr %8, align 8 %73 = load i32, ptr %9, align 4 %74 = load ptr, ptr %10, align 8 %75 = load ptr, ptr %16, align 8 call void @lubksb(ptr noundef %72, i32 noundef %73, ptr noundef %74, ptr noundef %75) store i32 1, ptr %14, align 4 %76 = load i32, ptr %14, align 4 %77 = load i32, ptr %9, align 4 %78 = icmp sle i32 %76, %77 br i1 %78, label %.lr.ph5, label %97 .lr.ph5: ; preds = %71 br label %79 79: ; preds = %.lr.ph5, %91 %80 = load ptr, ptr %16, align 8 %81 = load i32, ptr %14, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds float, ptr %80, i64 %82 %84 = load float, ptr %83, align 4 %85 = load ptr, ptr %12, align 8 %86 = load i32, ptr %14, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds float, ptr %85, i64 %87 %89 = load float, ptr %88, align 4 %90 = fsub float %89, %84 store float %90, ptr %88, align 4 br label %91 91: ; preds = %79 %92 = load i32, ptr %14, align 4 %93 = add nsw i32 %92, 1 store i32 %93, ptr %14, align 4 %94 = load i32, ptr %14, align 4 %95 = load i32, ptr %9, align 4 %96 = icmp sle i32 %94, %95 br i1 %96, label %79, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %91 br label %97 97: ; preds = %._crit_edge6, %71 %98 = load ptr, ptr %16, align 8 %99 = load i32, ptr %9, align 4 %100 = call i32 @free_vector(ptr noundef %98, i32 noundef 1, i32 noundef %99) ret void } declare ptr @vector(i32 noundef, i32 noundef) #1 declare void @lubksb(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @free_vector(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} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmprwjnzbbd.c' source_filename = "/tmp/tmprwjnzbbd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @magic_numbers(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i64 0, ptr %5, align 8 store i64 0, ptr %6, align 8 br label %11 11: ; preds = %29, %1 %12 = load ptr, ptr %3, align 8 %13 = load i64, ptr %6, align 8 %14 = getelementptr inbounds i8, ptr %12, i64 %13 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp ne i32 %16, 61 br i1 %17, label %18, label %32 18: ; preds = %11 %19 = load ptr, ptr %3, align 8 %20 = load i64, ptr %6, align 8 %21 = getelementptr inbounds i8, ptr %19, i64 %20 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %23, 95 br i1 %24, label %25, label %28 25: ; preds = %18 %26 = load i64, ptr %5, align 8 %27 = add i64 %26, 1 store i64 %27, ptr %5, align 8 br label %28 28: ; preds = %25, %18 br label %29 29: ; preds = %28 %30 = load i64, ptr %6, align 8 %31 = add i64 %30, 1 store i64 %31, ptr %6, align 8 br label %11, !llvm.loop !6 32: ; preds = %11 %33 = load ptr, ptr %3, align 8 %34 = load i64, ptr %6, align 8 %35 = add i64 %34, 1 %36 = getelementptr inbounds i8, ptr %33, i64 %35 %37 = call i32 @sscanf(ptr noundef %36, ptr noundef @.str, ptr noundef %4) %38 = load i64, ptr %5, align 8 %39 = icmp eq i64 %38, 0 br i1 %39, label %40, label %49 40: ; preds = %32 %41 = load ptr, ptr %3, align 8 %42 = load i32, ptr %4, align 4 %43 = call i32 @eval_expr(ptr noundef %41, ptr noundef null, i32 noundef %42) %44 = icmp ne i32 %43, 0 br i1 %44, label %45, label %48 45: ; preds = %40 %46 = load ptr, ptr %3, align 8 %47 = call i32 @print_solution(ptr noundef %46, ptr noundef null) store i32 1, ptr %2, align 4 br label %83 48: ; preds = %40 store i32 0, ptr %2, align 4 br label %83 49: ; preds = %32 %50 = load i64, ptr %5, align 8 %51 = call ptr @llvm.stacksave() store ptr %51, ptr %7, align 8 %52 = alloca i32, i64 %50, align 16 store i64 %50, ptr %8, align 8 %53 = load i64, ptr %5, align 8 %54 = call i32 @init_possibilities(i64 noundef %53, ptr noundef %52) %55 = load ptr, ptr %3, align 8 %56 = load i32, ptr %4, align 4 %57 = call i32 @eval_expr(ptr noundef %55, ptr noundef %52, i32 noundef %56) %58 = icmp ne i32 %57, 0 br i1 %58, label %59, label %62 59: ; preds = %49 %60 = load ptr, ptr %3, align 8 %61 = call i32 @print_solution(ptr noundef %60, ptr noundef %52) br label %62 62: ; preds = %59, %49 store i32 0, ptr %9, align 4 br label %63 63: ; preds = %76, %62 %64 = load i64, ptr %5, align 8 %65 = call i64 @next_possibility(i64 noundef %64, ptr noundef %52) %66 = icmp ne i64 %65, 0 br i1 %66, label %67, label %80 67: ; preds = %63 %68 = load ptr, ptr %3, align 8 %69 = load i32, ptr %4, align 4 %70 = call i32 @eval_expr(ptr noundef %68, ptr noundef %52, i32 noundef %69) store i32 %70, ptr %10, align 4 %71 = load i32, ptr %10, align 4 %72 = icmp ugt i32 %71, 0 br i1 %72, label %73, label %76 73: ; preds = %67 %74 = load ptr, ptr %3, align 8 %75 = call i32 @print_solution(ptr noundef %74, ptr noundef %52) br label %76 76: ; preds = %73, %67 %77 = load i32, ptr %10, align 4 %78 = load i32, ptr %9, align 4 %79 = add i32 %78, %77 store i32 %79, ptr %9, align 4 br label %63, !llvm.loop !8 80: ; preds = %63 %81 = load i32, ptr %9, align 4 store i32 %81, ptr %2, align 4 %82 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %82) br label %83 83: ; preds = %80, %48, %45 %84 = load i32, ptr %2, align 4 ret i32 %84 } declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @eval_expr(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @print_solution(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @init_possibilities(i64 noundef, ptr noundef) #1 declare i64 @next_possibility(i64 noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprwjnzbbd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @magic_numbers(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i64 0, ptr %5, align 8 store i64 0, ptr %6, align 8 %11 = load ptr, ptr %3, align 8 %12 = load i64, ptr %6, align 8 %13 = getelementptr inbounds i8, ptr %11, i64 %12 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 61 br i1 %16, label %.lr.ph, label %37 .lr.ph: ; preds = %1 br label %17 17: ; preds = %.lr.ph, %28 %18 = load ptr, ptr %3, align 8 %19 = load i64, ptr %6, align 8 %20 = getelementptr inbounds i8, ptr %18, i64 %19 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 95 br i1 %23, label %24, label %27 24: ; preds = %17 %25 = load i64, ptr %5, align 8 %26 = add i64 %25, 1 store i64 %26, ptr %5, align 8 br label %27 27: ; preds = %24, %17 br label %28 28: ; preds = %27 %29 = load i64, ptr %6, align 8 %30 = add i64 %29, 1 store i64 %30, ptr %6, align 8 %31 = load ptr, ptr %3, align 8 %32 = load i64, ptr %6, align 8 %33 = getelementptr inbounds i8, ptr %31, i64 %32 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp ne i32 %35, 61 br i1 %36, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %37 37: ; preds = %._crit_edge, %1 %38 = load ptr, ptr %3, align 8 %39 = load i64, ptr %6, align 8 %40 = add i64 %39, 1 %41 = getelementptr inbounds i8, ptr %38, i64 %40 %42 = call i32 @sscanf(ptr noundef %41, ptr noundef @.str, ptr noundef %4) %43 = load i64, ptr %5, align 8 %44 = icmp eq i64 %43, 0 br i1 %44, label %45, label %54 45: ; preds = %37 %46 = load ptr, ptr %3, align 8 %47 = load i32, ptr %4, align 4 %48 = call i32 @eval_expr(ptr noundef %46, ptr noundef null, i32 noundef %47) %49 = icmp ne i32 %48, 0 br i1 %49, label %50, label %53 50: ; preds = %45 %51 = load ptr, ptr %3, align 8 %52 = call i32 @print_solution(ptr noundef %51, ptr noundef null) store i32 1, ptr %2, align 4 br label %90 53: ; preds = %45 store i32 0, ptr %2, align 4 br label %90 54: ; preds = %37 %55 = load i64, ptr %5, align 8 %56 = call ptr @llvm.stacksave() store ptr %56, ptr %7, align 8 %57 = alloca i32, i64 %55, align 16 store i64 %55, ptr %8, align 8 %58 = load i64, ptr %5, align 8 %59 = call i32 @init_possibilities(i64 noundef %58, ptr noundef %57) %60 = load ptr, ptr %3, align 8 %61 = load i32, ptr %4, align 4 %62 = call i32 @eval_expr(ptr noundef %60, ptr noundef %57, i32 noundef %61) %63 = icmp ne i32 %62, 0 br i1 %63, label %64, label %67 64: ; preds = %54 %65 = load ptr, ptr %3, align 8 %66 = call i32 @print_solution(ptr noundef %65, ptr noundef %57) br label %67 67: ; preds = %64, %54 store i32 0, ptr %9, align 4 %68 = load i64, ptr %5, align 8 %69 = call i64 @next_possibility(i64 noundef %68, ptr noundef %57) %70 = icmp ne i64 %69, 0 br i1 %70, label %.lr.ph2, label %87 .lr.ph2: ; preds = %67 br label %71 71: ; preds = %.lr.ph2, %80 %72 = load ptr, ptr %3, align 8 %73 = load i32, ptr %4, align 4 %74 = call i32 @eval_expr(ptr noundef %72, ptr noundef %57, i32 noundef %73) store i32 %74, ptr %10, align 4 %75 = load i32, ptr %10, align 4 %76 = icmp ugt i32 %75, 0 br i1 %76, label %77, label %80 77: ; preds = %71 %78 = load ptr, ptr %3, align 8 %79 = call i32 @print_solution(ptr noundef %78, ptr noundef %57) br label %80 80: ; preds = %77, %71 %81 = load i32, ptr %10, align 4 %82 = load i32, ptr %9, align 4 %83 = add i32 %82, %81 store i32 %83, ptr %9, align 4 %84 = load i64, ptr %5, align 8 %85 = call i64 @next_possibility(i64 noundef %84, ptr noundef %57) %86 = icmp ne i64 %85, 0 br i1 %86, label %71, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %80 br label %87 87: ; preds = %._crit_edge3, %67 %88 = load i32, ptr %9, align 4 store i32 %88, ptr %2, align 4 %89 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %89) br label %90 90: ; preds = %87, %53, %50 %91 = load i32, ptr %2, align 4 ret i32 %91 } declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @eval_expr(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @print_solution(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @init_possibilities(i64 noundef, ptr noundef) #1 declare i64 @next_possibility(i64 noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpi5v5sevl.c' source_filename = "/tmp/tmpi5v5sevl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Congratulations, you rolled a %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @time(ptr noundef null) %4 = call i32 @srand(i32 noundef %3) %5 = call i32 (...) @rand() %6 = srem i32 %5, 6 %7 = add nsw i32 %6, 1 store i32 %7, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @rand(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi5v5sevl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Congratulations, you rolled a %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @time(ptr noundef null) %4 = call i32 @srand(i32 noundef %3) %5 = call i32 (...) @rand() %6 = srem i32 %5, 6 %7 = add nsw i32 %6, 1 store i32 %7, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @rand(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5syyf4k8.c' source_filename = "/tmp/tmp5syyf4k8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s - %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"<+$BASENAME$+>\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"<+#BRIEF#+>\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"\0AUsage: %s\0A\0A\00", align 1 @.str.4 = private unnamed_addr constant [22 x i8] c"This program does...\0A\00", align 1 @.str.5 = private unnamed_addr constant [49 x i8] c"\0AExit status:\0A\090 if ok.\0A\091 some error occurred.\0A\00", align 1 @.str.6 = private unnamed_addr constant [43 x i8] c"\0ATodo:\0A\09Long options not implemented yet.\0A\00", align 1 @.str.7 = private unnamed_addr constant [31 x i8] c"\0AAuthor:\0A\09Written by %s <%s>\0A\0A\00", align 1 @.str.8 = private unnamed_addr constant [13 x i8] c"<+$AUTHOR$+>\00", align 1 @.str.9 = private unnamed_addr constant [12 x i8] c"<+$EMAIL$+>\00", align 1 @stderr = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @help() #0 { %1 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2) %2 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.1) %3 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef @.str.8, ptr noundef @.str.9) 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/tmp5syyf4k8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s - %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"<+$BASENAME$+>\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"<+#BRIEF#+>\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"\0AUsage: %s\0A\0A\00", align 1 @.str.4 = private unnamed_addr constant [22 x i8] c"This program does...\0A\00", align 1 @.str.5 = private unnamed_addr constant [49 x i8] c"\0AExit status:\0A\090 if ok.\0A\091 some error occurred.\0A\00", align 1 @.str.6 = private unnamed_addr constant [43 x i8] c"\0ATodo:\0A\09Long options not implemented yet.\0A\00", align 1 @.str.7 = private unnamed_addr constant [31 x i8] c"\0AAuthor:\0A\09Written by %s <%s>\0A\0A\00", align 1 @.str.8 = private unnamed_addr constant [13 x i8] c"<+$AUTHOR$+>\00", align 1 @.str.9 = private unnamed_addr constant [12 x i8] c"<+$EMAIL$+>\00", align 1 @stderr = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @help() #0 { %1 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2) %2 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.1) %3 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef @.str.8, ptr noundef @.str.9) 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/tmps99171m1.c' source_filename = "/tmp/tmps99171m1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"/bin/sh\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"-i\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @start_shell(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [3 x ptr], align 16 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @dup2(i32 noundef %4, i32 noundef 0) %6 = load i32, ptr %2, align 4 %7 = call i32 @dup2(i32 noundef %6, i32 noundef 1) %8 = load i32, ptr %2, align 4 %9 = call i32 @dup2(i32 noundef %8, i32 noundef 2) %10 = getelementptr inbounds [3 x ptr], ptr %3, i64 0, i64 0 store ptr @.str, ptr %10, align 16 %11 = getelementptr inbounds [3 x ptr], ptr %3, i64 0, i64 1 store ptr @.str.1, ptr %11, align 8 %12 = getelementptr inbounds [3 x ptr], ptr %3, i64 0, i64 2 store ptr null, ptr %12, align 16 %13 = getelementptr inbounds [3 x ptr], ptr %3, i64 0, i64 0 %14 = load ptr, ptr %13, align 16 %15 = getelementptr inbounds [3 x ptr], ptr %3, i64 0, i64 0 %16 = call i32 @execv(ptr noundef %14, ptr noundef %15) %17 = load i32, ptr @EXIT_FAILURE, align 4 %18 = call i32 @exit(i32 noundef %17) #3 unreachable } declare i32 @dup2(i32 noundef, i32 noundef) #1 declare i32 @execv(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps99171m1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"/bin/sh\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"-i\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @start_shell(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [3 x ptr], align 16 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @dup2(i32 noundef %4, i32 noundef 0) %6 = load i32, ptr %2, align 4 %7 = call i32 @dup2(i32 noundef %6, i32 noundef 1) %8 = load i32, ptr %2, align 4 %9 = call i32 @dup2(i32 noundef %8, i32 noundef 2) %10 = getelementptr inbounds [3 x ptr], ptr %3, i64 0, i64 0 store ptr @.str, ptr %10, align 16 %11 = getelementptr inbounds [3 x ptr], ptr %3, i64 0, i64 1 store ptr @.str.1, ptr %11, align 8 %12 = getelementptr inbounds [3 x ptr], ptr %3, i64 0, i64 2 store ptr null, ptr %12, align 16 %13 = getelementptr inbounds [3 x ptr], ptr %3, i64 0, i64 0 %14 = load ptr, ptr %13, align 16 %15 = getelementptr inbounds [3 x ptr], ptr %3, i64 0, i64 0 %16 = call i32 @execv(ptr noundef %14, ptr noundef %15) %17 = load i32, ptr @EXIT_FAILURE, align 4 %18 = call i32 @exit(i32 noundef %17) #3 unreachable } declare i32 @dup2(i32 noundef, i32 noundef) #1 declare i32 @execv(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9z2qceyt.c' source_filename = "/tmp/tmp9z2qceyt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isqrt(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %34, %1 %7 = load i32, ptr %5, align 4 %8 = icmp slt i32 %7, 16 br i1 %8, label %9, label %37 9: ; preds = %6 %10 = load i32, ptr %4, align 4 %11 = shl i32 %10, 1 store i32 %11, ptr %4, align 4 %12 = load i32, ptr %3, align 4 %13 = shl i32 %12, 2 %14 = load i32, ptr %2, align 4 %15 = ashr i32 %14, 30 %16 = add nsw i32 %13, %15 store i32 %16, ptr %3, align 4 %17 = load i32, ptr %2, align 4 %18 = shl i32 %17, 2 store i32 %18, ptr %2, align 4 %19 = load i32, ptr %4, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %4, align 4 %21 = load i32, ptr %4, align 4 %22 = load i32, ptr %3, align 4 %23 = icmp sle i32 %21, %22 br i1 %23, label %24, label %30 24: ; preds = %9 %25 = load i32, ptr %4, align 4 %26 = load i32, ptr %3, align 4 %27 = sub nsw i32 %26, %25 store i32 %27, ptr %3, align 4 %28 = load i32, ptr %4, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %4, align 4 br label %33 30: ; preds = %9 %31 = load i32, ptr %4, align 4 %32 = add nsw i32 %31, -1 store i32 %32, ptr %4, align 4 br label %33 33: ; preds = %30, %24 br label %34 34: ; preds = %33 %35 = load i32, ptr %5, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %5, align 4 br label %6, !llvm.loop !6 37: ; preds = %6 %38 = load i32, ptr %4, align 4 %39 = ashr i32 %38, 1 ret i32 %39 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp9z2qceyt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isqrt(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = icmp slt i32 %6, 16 br i1 %7, label %.lr.ph, label %38 .lr.ph: ; preds = %1 br label %8 8: ; preds = %.lr.ph, %33 %9 = load i32, ptr %4, align 4 %10 = shl i32 %9, 1 store i32 %10, ptr %4, align 4 %11 = load i32, ptr %3, align 4 %12 = shl i32 %11, 2 %13 = load i32, ptr %2, align 4 %14 = ashr i32 %13, 30 %15 = add nsw i32 %12, %14 store i32 %15, ptr %3, align 4 %16 = load i32, ptr %2, align 4 %17 = shl i32 %16, 2 store i32 %17, ptr %2, align 4 %18 = load i32, ptr %4, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %4, align 4 %20 = load i32, ptr %4, align 4 %21 = load i32, ptr %3, align 4 %22 = icmp sle i32 %20, %21 br i1 %22, label %23, label %29 23: ; preds = %8 %24 = load i32, ptr %4, align 4 %25 = load i32, ptr %3, align 4 %26 = sub nsw i32 %25, %24 store i32 %26, ptr %3, align 4 %27 = load i32, ptr %4, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %4, align 4 br label %32 29: ; preds = %8 %30 = load i32, ptr %4, align 4 %31 = add nsw i32 %30, -1 store i32 %31, ptr %4, align 4 br label %32 32: ; preds = %29, %23 br label %33 33: ; preds = %32 %34 = load i32, ptr %5, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %5, align 4 %36 = load i32, ptr %5, align 4 %37 = icmp slt i32 %36, 16 br i1 %37, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %38 38: ; preds = %._crit_edge, %1 %39 = load i32, ptr %4, align 4 %40 = ashr i32 %39, 1 ret i32 %40 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpv9wnqrpg.c' source_filename = "/tmp/tmpv9wnqrpg.c" target datalayout = "e-m:e-p270: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/tmpv9wnqrpg.c" target datalayout = "e-m:e-p270: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/tmplx7tlnka.c' source_filename = "/tmp/tmplx7tlnka.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @empty(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 0, ptr %8, align 4 br label %9 9: ; preds = %24, %3 %10 = load i32, ptr %8, align 4 %11 = load i32, ptr %7, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %27 13: ; preds = %9 %14 = load ptr, ptr %5, align 8 %15 = load i32, ptr %8, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i32, ptr %14, i64 %16 %18 = load i32, ptr %17, align 4 %19 = load ptr, ptr %6, align 8 %20 = call i64 @FD_ISSET(i32 noundef %18, ptr noundef %19) %21 = icmp ne i64 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %13 store i32 0, ptr %4, align 4 br label %28 23: ; preds = %13 br label %24 24: ; preds = %23 %25 = load i32, ptr %8, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %8, align 4 br label %9, !llvm.loop !6 27: ; preds = %9 store i32 1, ptr %4, align 4 br label %28 28: ; preds = %27, %22 %29 = load i32, ptr %4, align 4 ret i32 %29 } declare i64 @FD_ISSET(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplx7tlnka.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @empty(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 0, ptr %8, align 4 %9 = load i32, ptr %8, align 4 %10 = load i32, ptr %7, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph, label %29 .lr.ph: ; preds = %3 br label %12 12: ; preds = %.lr.ph, %23 %13 = load ptr, ptr %5, align 8 %14 = load i32, ptr %8, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i32, ptr %13, i64 %15 %17 = load i32, ptr %16, align 4 %18 = load ptr, ptr %6, align 8 %19 = call i64 @FD_ISSET(i32 noundef %17, ptr noundef %18) %20 = icmp ne i64 %19, 0 br i1 %20, label %21, label %22 21: ; preds = %12 store i32 0, ptr %4, align 4 br label %30 22: ; preds = %12 br label %23 23: ; preds = %22 %24 = load i32, ptr %8, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %8, align 4 %26 = load i32, ptr %8, align 4 %27 = load i32, ptr %7, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %29 29: ; preds = %._crit_edge, %3 store i32 1, ptr %4, align 4 br label %30 30: ; preds = %29, %21 %31 = load i32, ptr %4, align 4 ret i32 %31 } declare i64 @FD_ISSET(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpsaw_rn5o.c' source_filename = "/tmp/tmpsaw_rn5o.c" target datalayout = "e-m:e-p270: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 [23 x i8] c"failed on line %d: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"test_str_to_int()\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %3 3: ; preds = %0 %4 = call i32 (...) @test_str_to_int() store i32 %4, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp ne i32 %5, 0 br i1 %6, label %7, label %11 7: ; preds = %3 %8 = load i32, ptr @stderr, align 4 %9 = call i32 @fprintf(i32 noundef %8, ptr noundef @.str, i32 noundef 64, ptr noundef @.str.1) %10 = load i32, ptr %2, align 4 store i32 %10, ptr %1, align 4 br label %14 11: ; preds = %3 br label %12 12: ; preds = %11 %13 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %13, ptr %1, align 4 br label %14 14: ; preds = %12, %7 %15 = load i32, ptr %1, align 4 ret i32 %15 } declare i32 @test_str_to_int(...) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsaw_rn5o.c" target datalayout = "e-m:e-p270: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 [23 x i8] c"failed on line %d: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"test_str_to_int()\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %3 3: ; preds = %0 %4 = call i32 (...) @test_str_to_int() store i32 %4, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp ne i32 %5, 0 br i1 %6, label %7, label %11 7: ; preds = %3 %8 = load i32, ptr @stderr, align 4 %9 = call i32 @fprintf(i32 noundef %8, ptr noundef @.str, i32 noundef 64, ptr noundef @.str.1) %10 = load i32, ptr %2, align 4 store i32 %10, ptr %1, align 4 br label %14 11: ; preds = %3 br label %12 12: ; preds = %11 %13 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %13, ptr %1, align 4 br label %14 14: ; preds = %12, %7 %15 = load i32, ptr %1, align 4 ret i32 %15 } declare i32 @test_str_to_int(...) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}