llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpht9ewy3h.c' source_filename = "/tmp/tmpht9ewy3h.c" target datalayout = "e-m:e-p270: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/tmpht9ewy3h.c" target datalayout = "e-m:e-p270: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/tmpp3fm_kfk.c' source_filename = "/tmp/tmpp3fm_kfk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"\0A</table>\0A</section>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @printtail() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = load i32, ptr %1, align 4 ret i32 %3 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp3fm_kfk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"\0A</table>\0A</section>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @printtail() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = load i32, ptr %1, align 4 ret i32 %3 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfi5lywqj.c' source_filename = "/tmp/tmpfi5lywqj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.stbiw__write_hdr_scanline.scanlineheader = private unnamed_addr constant [4 x i8] c"\02\02\00\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @stbiw__write_hdr_scanline(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca [4 x i8], align 1 %12 = alloca [4 x i8], align 1 %13 = alloca [3 x float], align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca ptr, align 8 %18 = alloca i32, align 4 %19 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %11, ptr align 1 @__const.stbiw__write_hdr_scanline.scanlineheader, i64 4, i1 false) %20 = load i32, ptr %7, align 4 %21 = and i32 %20, 65280 %22 = ashr i32 %21, 8 %23 = trunc i32 %22 to i8 %24 = getelementptr inbounds [4 x i8], ptr %11, i64 0, i64 2 store i8 %23, ptr %24, align 1 %25 = load i32, ptr %7, align 4 %26 = and i32 %25, 255 %27 = trunc i32 %26 to i8 %28 = getelementptr inbounds [4 x i8], ptr %11, i64 0, i64 3 store i8 %27, ptr %28, align 1 %29 = load i32, ptr %7, align 4 %30 = icmp slt i32 %29, 8 br i1 %30, label %34, label %31 31: ; preds = %5 %32 = load i32, ptr %7, align 4 %33 = icmp sge i32 %32, 32768 br i1 %33, label %34, label %92 34: ; preds = %31, %5 store i32 0, ptr %14, align 4 br label %35 35: ; preds = %88, %34 %36 = load i32, ptr %14, align 4 %37 = load i32, ptr %7, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %39, label %91 39: ; preds = %35 %40 = load i32, ptr %8, align 4 switch i32 %40, label %81 [ i32 4, label %41 i32 3, label %41 i32 2, label %69 i32 1, label %69 ] 41: ; preds = %39, %39 %42 = load ptr, ptr %10, align 8 %43 = load i32, ptr %14, align 4 %44 = load i32, ptr %8, align 4 %45 = mul nsw i32 %43, %44 %46 = add nsw i32 %45, 2 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds float, ptr %42, i64 %47 %49 = load float, ptr %48, align 4 %50 = getelementptr inbounds [3 x float], ptr %13, i64 0, i64 2 store float %49, ptr %50, align 4 %51 = load ptr, ptr %10, align 8 %52 = load i32, ptr %14, align 4 %53 = load i32, ptr %8, align 4 %54 = mul nsw i32 %52, %53 %55 = add nsw i32 %54, 1 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds float, ptr %51, i64 %56 %58 = load float, ptr %57, align 4 %59 = getelementptr inbounds [3 x float], ptr %13, i64 0, i64 1 store float %58, ptr %59, align 4 %60 = load ptr, ptr %10, align 8 %61 = load i32, ptr %14, align 4 %62 = load i32, ptr %8, align 4 %63 = mul nsw i32 %61, %62 %64 = add nsw i32 %63, 0 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds float, ptr %60, i64 %65 %67 = load float, ptr %66, align 4 %68 = getelementptr inbounds [3 x float], ptr %13, i64 0, i64 0 store float %67, ptr %68, align 4 br label %81 69: ; preds = %39, %39 %70 = load ptr, ptr %10, align 8 %71 = load i32, ptr %14, align 4 %72 = load i32, ptr %8, align 4 %73 = mul nsw i32 %71, %72 %74 = add nsw i32 %73, 0 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds float, ptr %70, i64 %75 %77 = load float, ptr %76, align 4 %78 = getelementptr inbounds [3 x float], ptr %13, i64 0, i64 2 store float %77, ptr %78, align 4 %79 = getelementptr inbounds [3 x float], ptr %13, i64 0, i64 1 store float %77, ptr %79, align 4 %80 = getelementptr inbounds [3 x float], ptr %13, i64 0, i64 0 store float %77, ptr %80, align 4 br label %81 81: ; preds = %39, %69, %41 %82 = getelementptr inbounds [4 x i8], ptr %12, i64 0, i64 0 %83 = getelementptr inbounds [3 x float], ptr %13, i64 0, i64 0 %84 = call i32 @stbiw__linear_to_rgbe(ptr noundef %82, ptr noundef %83) %85 = getelementptr inbounds [4 x i8], ptr %12, i64 0, i64 0 %86 = load ptr, ptr %6, align 8 %87 = call i32 @fwrite(ptr noundef %85, i32 noundef 4, i32 noundef 1, ptr noundef %86) br label %88 88: ; preds = %81 %89 = load i32, ptr %14, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %14, align 4 br label %35, !llvm.loop !6 91: ; preds = %35 br label %331 92: ; preds = %31 store i32 0, ptr %14, align 4 br label %93 93: ; preds = %179, %92 %94 = load i32, ptr %14, align 4 %95 = load i32, ptr %7, align 4 %96 = icmp slt i32 %94, %95 br i1 %96, label %97, label %182 97: ; preds = %93 %98 = load i32, ptr %8, align 4 switch i32 %98, label %139 [ i32 4, label %99 i32 3, label %99 i32 2, label %127 i32 1, label %127 ] 99: ; preds = %97, %97 %100 = load ptr, ptr %10, align 8 %101 = load i32, ptr %14, align 4 %102 = load i32, ptr %8, align 4 %103 = mul nsw i32 %101, %102 %104 = add nsw i32 %103, 2 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds float, ptr %100, i64 %105 %107 = load float, ptr %106, align 4 %108 = getelementptr inbounds [3 x float], ptr %13, i64 0, i64 2 store float %107, ptr %108, align 4 %109 = load ptr, ptr %10, align 8 %110 = load i32, ptr %14, align 4 %111 = load i32, ptr %8, align 4 %112 = mul nsw i32 %110, %111 %113 = add nsw i32 %112, 1 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds float, ptr %109, i64 %114 %116 = load float, ptr %115, align 4 %117 = getelementptr inbounds [3 x float], ptr %13, i64 0, i64 1 store float %116, ptr %117, align 4 %118 = load ptr, ptr %10, align 8 %119 = load i32, ptr %14, align 4 %120 = load i32, ptr %8, align 4 %121 = mul nsw i32 %119, %120 %122 = add nsw i32 %121, 0 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds float, ptr %118, i64 %123 %125 = load float, ptr %124, align 4 %126 = getelementptr inbounds [3 x float], ptr %13, i64 0, i64 0 store float %125, ptr %126, align 4 br label %139 127: ; preds = %97, %97 %128 = load ptr, ptr %10, align 8 %129 = load i32, ptr %14, align 4 %130 = load i32, ptr %8, align 4 %131 = mul nsw i32 %129, %130 %132 = add nsw i32 %131, 0 %133 = sext i32 %132 to i64 %134 = getelementptr inbounds float, ptr %128, i64 %133 %135 = load float, ptr %134, align 4 %136 = getelementptr inbounds [3 x float], ptr %13, i64 0, i64 2 store float %135, ptr %136, align 4 %137 = getelementptr inbounds [3 x float], ptr %13, i64 0, i64 1 store float %135, ptr %137, align 4 %138 = getelementptr inbounds [3 x float], ptr %13, i64 0, i64 0 store float %135, ptr %138, align 4 br label %139 139: ; preds = %97, %127, %99 %140 = getelementptr inbounds [4 x i8], ptr %12, i64 0, i64 0 %141 = getelementptr inbounds [3 x float], ptr %13, i64 0, i64 0 %142 = call i32 @stbiw__linear_to_rgbe(ptr noundef %140, ptr noundef %141) %143 = getelementptr inbounds [4 x i8], ptr %12, i64 0, i64 0 %144 = load i8, ptr %143, align 1 %145 = load ptr, ptr %9, align 8 %146 = load i32, ptr %14, align 4 %147 = load i32, ptr %7, align 4 %148 = mul nsw i32 %147, 0 %149 = add nsw i32 %146, %148 %150 = sext i32 %149 to i64 %151 = getelementptr inbounds i8, ptr %145, i64 %150 store i8 %144, ptr %151, align 1 %152 = getelementptr inbounds [4 x i8], ptr %12, i64 0, i64 1 %153 = load i8, ptr %152, align 1 %154 = load ptr, ptr %9, align 8 %155 = load i32, ptr %14, align 4 %156 = load i32, ptr %7, align 4 %157 = mul nsw i32 %156, 1 %158 = add nsw i32 %155, %157 %159 = sext i32 %158 to i64 %160 = getelementptr inbounds i8, ptr %154, i64 %159 store i8 %153, ptr %160, align 1 %161 = getelementptr inbounds [4 x i8], ptr %12, i64 0, i64 2 %162 = load i8, ptr %161, align 1 %163 = load ptr, ptr %9, align 8 %164 = load i32, ptr %14, align 4 %165 = load i32, ptr %7, align 4 %166 = mul nsw i32 %165, 2 %167 = add nsw i32 %164, %166 %168 = sext i32 %167 to i64 %169 = getelementptr inbounds i8, ptr %163, i64 %168 store i8 %162, ptr %169, align 1 %170 = getelementptr inbounds [4 x i8], ptr %12, i64 0, i64 3 %171 = load i8, ptr %170, align 1 %172 = load ptr, ptr %9, align 8 %173 = load i32, ptr %14, align 4 %174 = load i32, ptr %7, align 4 %175 = mul nsw i32 %174, 3 %176 = add nsw i32 %173, %175 %177 = sext i32 %176 to i64 %178 = getelementptr inbounds i8, ptr %172, i64 %177 store i8 %171, ptr %178, align 1 br label %179 179: ; preds = %139 %180 = load i32, ptr %14, align 4 %181 = add nsw i32 %180, 1 store i32 %181, ptr %14, align 4 br label %93, !llvm.loop !8 182: ; preds = %93 %183 = getelementptr inbounds [4 x i8], ptr %11, i64 0, i64 0 %184 = load ptr, ptr %6, align 8 %185 = call i32 @fwrite(ptr noundef %183, i32 noundef 4, i32 noundef 1, ptr noundef %184) store i32 0, ptr %15, align 4 br label %186 186: ; preds = %327, %182 %187 = load i32, ptr %15, align 4 %188 = icmp slt i32 %187, 4 br i1 %188, label %189, label %330 189: ; preds = %186 %190 = load ptr, ptr %9, align 8 %191 = load i32, ptr %7, align 4 %192 = load i32, ptr %15, align 4 %193 = mul nsw i32 %191, %192 %194 = sext i32 %193 to i64 %195 = getelementptr inbounds i8, ptr %190, i64 %194 store ptr %195, ptr %17, align 8 store i32 0, ptr %14, align 4 br label %196 196: ; preds = %325, %189 %197 = load i32, ptr %14, align 4 %198 = load i32, ptr %7, align 4 %199 = icmp slt i32 %197, %198 br i1 %199, label %200, label %326 200: ; preds = %196 %201 = load i32, ptr %14, align 4 store i32 %201, ptr %16, align 4 br label %202 202: ; preds = %238, %200 %203 = load i32, ptr %16, align 4 %204 = add nsw i32 %203, 2 %205 = load i32, ptr %7, align 4 %206 = icmp slt i32 %204, %205 br i1 %206, label %207, label %241 207: ; preds = %202 %208 = load ptr, ptr %17, align 8 %209 = load i32, ptr %16, align 4 %210 = sext i32 %209 to i64 %211 = getelementptr inbounds i8, ptr %208, i64 %210 %212 = load i8, ptr %211, align 1 %213 = zext i8 %212 to i32 %214 = load ptr, ptr %17, align 8 %215 = load i32, ptr %16, align 4 %216 = add nsw i32 %215, 1 %217 = sext i32 %216 to i64 %218 = getelementptr inbounds i8, ptr %214, i64 %217 %219 = load i8, ptr %218, align 1 %220 = zext i8 %219 to i32 %221 = icmp eq i32 %213, %220 br i1 %221, label %222, label %238 222: ; preds = %207 %223 = load ptr, ptr %17, align 8 %224 = load i32, ptr %16, align 4 %225 = sext i32 %224 to i64 %226 = getelementptr inbounds i8, ptr %223, i64 %225 %227 = load i8, ptr %226, align 1 %228 = zext i8 %227 to i32 %229 = load ptr, ptr %17, align 8 %230 = load i32, ptr %16, align 4 %231 = add nsw i32 %230, 2 %232 = sext i32 %231 to i64 %233 = getelementptr inbounds i8, ptr %229, i64 %232 %234 = load i8, ptr %233, align 1 %235 = zext i8 %234 to i32 %236 = icmp eq i32 %228, %235 br i1 %236, label %237, label %238 237: ; preds = %222 br label %241 238: ; preds = %222, %207 %239 = load i32, ptr %16, align 4 %240 = add nsw i32 %239, 1 store i32 %240, ptr %16, align 4 br label %202, !llvm.loop !9 241: ; preds = %237, %202 %242 = load i32, ptr %16, align 4 %243 = add nsw i32 %242, 2 %244 = load i32, ptr %7, align 4 %245 = icmp sge i32 %243, %244 br i1 %245, label %246, label %248 246: ; preds = %241 %247 = load i32, ptr %7, align 4 store i32 %247, ptr %16, align 4 br label %248 248: ; preds = %246, %241 br label %249 249: ; preds = %260, %248 %250 = load i32, ptr %14, align 4 %251 = load i32, ptr %16, align 4 %252 = icmp slt i32 %250, %251 br i1 %252, label %253, label %271 253: ; preds = %249 %254 = load i32, ptr %16, align 4 %255 = load i32, ptr %14, align 4 %256 = sub nsw i32 %254, %255 store i32 %256, ptr %18, align 4 %257 = load i32, ptr %18, align 4 %258 = icmp sgt i32 %257, 128 br i1 %258, label %259, label %260 259: ; preds = %253 store i32 128, ptr %18, align 4 br label %260 260: ; preds = %259, %253 %261 = load ptr, ptr %6, align 8 %262 = load i32, ptr %18, align 4 %263 = load ptr, ptr %17, align 8 %264 = load i32, ptr %14, align 4 %265 = sext i32 %264 to i64 %266 = getelementptr inbounds i8, ptr %263, i64 %265 %267 = call i32 @stbiw__write_dump_data(ptr noundef %261, i32 noundef %262, ptr noundef %266) %268 = load i32, ptr %18, align 4 %269 = load i32, ptr %14, align 4 %270 = add nsw i32 %269, %268 store i32 %270, ptr %14, align 4 br label %249, !llvm.loop !10 271: ; preds = %249 %272 = load i32, ptr %16, align 4 %273 = add nsw i32 %272, 2 %274 = load i32, ptr %7, align 4 %275 = icmp slt i32 %273, %274 br i1 %275, label %276, label %325 276: ; preds = %271 br label %277 277: ; preds = %297, %276 %278 = load i32, ptr %16, align 4 %279 = load i32, ptr %7, align 4 %280 = icmp slt i32 %278, %279 br i1 %280, label %281, label %295 281: ; preds = %277 %282 = load ptr, ptr %17, align 8 %283 = load i32, ptr %16, align 4 %284 = sext i32 %283 to i64 %285 = getelementptr inbounds i8, ptr %282, i64 %284 %286 = load i8, ptr %285, align 1 %287 = zext i8 %286 to i32 %288 = load ptr, ptr %17, align 8 %289 = load i32, ptr %14, align 4 %290 = sext i32 %289 to i64 %291 = getelementptr inbounds i8, ptr %288, i64 %290 %292 = load i8, ptr %291, align 1 %293 = zext i8 %292 to i32 %294 = icmp eq i32 %287, %293 br label %295 295: ; preds = %281, %277 %296 = phi i1 [ false, %277 ], [ %294, %281 ] br i1 %296, label %297, label %300 297: ; preds = %295 %298 = load i32, ptr %16, align 4 %299 = add nsw i32 %298, 1 store i32 %299, ptr %16, align 4 br label %277, !llvm.loop !11 300: ; preds = %295 br label %301 301: ; preds = %312, %300 %302 = load i32, ptr %14, align 4 %303 = load i32, ptr %16, align 4 %304 = icmp slt i32 %302, %303 br i1 %304, label %305, label %324 305: ; preds = %301 %306 = load i32, ptr %16, align 4 %307 = load i32, ptr %14, align 4 %308 = sub nsw i32 %306, %307 store i32 %308, ptr %19, align 4 %309 = load i32, ptr %19, align 4 %310 = icmp sgt i32 %309, 127 br i1 %310, label %311, label %312 311: ; preds = %305 store i32 127, ptr %19, align 4 br label %312 312: ; preds = %311, %305 %313 = load ptr, ptr %6, align 8 %314 = load i32, ptr %19, align 4 %315 = load ptr, ptr %17, align 8 %316 = load i32, ptr %14, align 4 %317 = sext i32 %316 to i64 %318 = getelementptr inbounds i8, ptr %315, i64 %317 %319 = load i8, ptr %318, align 1 %320 = call i32 @stbiw__write_run_data(ptr noundef %313, i32 noundef %314, i8 noundef zeroext %319) %321 = load i32, ptr %19, align 4 %322 = load i32, ptr %14, align 4 %323 = add nsw i32 %322, %321 store i32 %323, ptr %14, align 4 br label %301, !llvm.loop !12 324: ; preds = %301 br label %325 325: ; preds = %324, %271 br label %196, !llvm.loop !13 326: ; preds = %196 br label %327 327: ; preds = %326 %328 = load i32, ptr %15, align 4 %329 = add nsw i32 %328, 1 store i32 %329, ptr %15, align 4 br label %186, !llvm.loop !14 330: ; preds = %186 br label %331 331: ; preds = %330, %91 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @stbiw__linear_to_rgbe(ptr noundef, ptr noundef) #2 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2 declare i32 @stbiw__write_dump_data(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @stbiw__write_run_data(ptr noundef, i32 noundef, i8 noundef zeroext) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfi5lywqj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.stbiw__write_hdr_scanline.scanlineheader = private unnamed_addr constant [4 x i8] c"\02\02\00\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @stbiw__write_hdr_scanline(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca [4 x i8], align 1 %12 = alloca [4 x i8], align 1 %13 = alloca [3 x float], align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca ptr, align 8 %18 = alloca i32, align 4 %19 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %11, ptr align 1 @__const.stbiw__write_hdr_scanline.scanlineheader, i64 4, i1 false) %20 = load i32, ptr %7, align 4 %21 = and i32 %20, 65280 %22 = ashr i32 %21, 8 %23 = trunc i32 %22 to i8 %24 = getelementptr inbounds [4 x i8], ptr %11, i64 0, i64 2 store i8 %23, ptr %24, align 1 %25 = load i32, ptr %7, align 4 %26 = and i32 %25, 255 %27 = trunc i32 %26 to i8 %28 = getelementptr inbounds [4 x i8], ptr %11, i64 0, i64 3 store i8 %27, ptr %28, align 1 %29 = load i32, ptr %7, align 4 %30 = icmp slt i32 %29, 8 br i1 %30, label %34, label %31 31: ; preds = %5 %32 = load i32, ptr %7, align 4 %33 = icmp sge i32 %32, 32768 br i1 %33, label %34, label %94 34: ; preds = %31, %5 store i32 0, ptr %14, align 4 %35 = load i32, ptr %14, align 4 %36 = load i32, ptr %7, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %.lr.ph16, label %93 .lr.ph16: ; preds = %34 br label %38 38: ; preds = %.lr.ph16, %87 %39 = load i32, ptr %8, align 4 switch i32 %39, label %80 [ i32 4, label %40 i32 3, label %40 i32 2, label %68 i32 1, label %68 ] 40: ; preds = %38, %38 %41 = load ptr, ptr %10, align 8 %42 = load i32, ptr %14, align 4 %43 = load i32, ptr %8, align 4 %44 = mul nsw i32 %42, %43 %45 = add nsw i32 %44, 2 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds float, ptr %41, i64 %46 %48 = load float, ptr %47, align 4 %49 = getelementptr inbounds [3 x float], ptr %13, i64 0, i64 2 store float %48, ptr %49, align 4 %50 = load ptr, ptr %10, align 8 %51 = load i32, ptr %14, align 4 %52 = load i32, ptr %8, align 4 %53 = mul nsw i32 %51, %52 %54 = add nsw i32 %53, 1 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds float, ptr %50, i64 %55 %57 = load float, ptr %56, align 4 %58 = getelementptr inbounds [3 x float], ptr %13, i64 0, i64 1 store float %57, ptr %58, align 4 %59 = load ptr, ptr %10, align 8 %60 = load i32, ptr %14, align 4 %61 = load i32, ptr %8, align 4 %62 = mul nsw i32 %60, %61 %63 = add nsw i32 %62, 0 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds float, ptr %59, i64 %64 %66 = load float, ptr %65, align 4 %67 = getelementptr inbounds [3 x float], ptr %13, i64 0, i64 0 store float %66, ptr %67, align 4 br label %80 68: ; preds = %38, %38 %69 = load ptr, ptr %10, align 8 %70 = load i32, ptr %14, align 4 %71 = load i32, ptr %8, align 4 %72 = mul nsw i32 %70, %71 %73 = add nsw i32 %72, 0 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds float, ptr %69, i64 %74 %76 = load float, ptr %75, align 4 %77 = getelementptr inbounds [3 x float], ptr %13, i64 0, i64 2 store float %76, ptr %77, align 4 %78 = getelementptr inbounds [3 x float], ptr %13, i64 0, i64 1 store float %76, ptr %78, align 4 %79 = getelementptr inbounds [3 x float], ptr %13, i64 0, i64 0 store float %76, ptr %79, align 4 br label %80 80: ; preds = %68, %40, %38 %81 = getelementptr inbounds [4 x i8], ptr %12, i64 0, i64 0 %82 = getelementptr inbounds [3 x float], ptr %13, i64 0, i64 0 %83 = call i32 @stbiw__linear_to_rgbe(ptr noundef %81, ptr noundef %82) %84 = getelementptr inbounds [4 x i8], ptr %12, i64 0, i64 0 %85 = load ptr, ptr %6, align 8 %86 = call i32 @fwrite(ptr noundef %84, i32 noundef 4, i32 noundef 1, ptr noundef %85) br label %87 87: ; preds = %80 %88 = load i32, ptr %14, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %14, align 4 %90 = load i32, ptr %14, align 4 %91 = load i32, ptr %7, align 4 %92 = icmp slt i32 %90, %91 br i1 %92, label %38, label %._crit_edge17, !llvm.loop !6 ._crit_edge17: ; preds = %87 br label %93 93: ; preds = %._crit_edge17, %34 br label %345 94: ; preds = %31 store i32 0, ptr %14, align 4 %95 = load i32, ptr %14, align 4 %96 = load i32, ptr %7, align 4 %97 = icmp slt i32 %95, %96 br i1 %97, label %.lr.ph, label %186 .lr.ph: ; preds = %94 br label %98 98: ; preds = %.lr.ph, %180 %99 = load i32, ptr %8, align 4 switch i32 %99, label %140 [ i32 4, label %100 i32 3, label %100 i32 2, label %128 i32 1, label %128 ] 100: ; preds = %98, %98 %101 = load ptr, ptr %10, align 8 %102 = load i32, ptr %14, align 4 %103 = load i32, ptr %8, align 4 %104 = mul nsw i32 %102, %103 %105 = add nsw i32 %104, 2 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds float, ptr %101, i64 %106 %108 = load float, ptr %107, align 4 %109 = getelementptr inbounds [3 x float], ptr %13, i64 0, i64 2 store float %108, ptr %109, align 4 %110 = load ptr, ptr %10, align 8 %111 = load i32, ptr %14, align 4 %112 = load i32, ptr %8, align 4 %113 = mul nsw i32 %111, %112 %114 = add nsw i32 %113, 1 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds float, ptr %110, i64 %115 %117 = load float, ptr %116, align 4 %118 = getelementptr inbounds [3 x float], ptr %13, i64 0, i64 1 store float %117, ptr %118, align 4 %119 = load ptr, ptr %10, align 8 %120 = load i32, ptr %14, align 4 %121 = load i32, ptr %8, align 4 %122 = mul nsw i32 %120, %121 %123 = add nsw i32 %122, 0 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds float, ptr %119, i64 %124 %126 = load float, ptr %125, align 4 %127 = getelementptr inbounds [3 x float], ptr %13, i64 0, i64 0 store float %126, ptr %127, align 4 br label %140 128: ; preds = %98, %98 %129 = load ptr, ptr %10, align 8 %130 = load i32, ptr %14, align 4 %131 = load i32, ptr %8, align 4 %132 = mul nsw i32 %130, %131 %133 = add nsw i32 %132, 0 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds float, ptr %129, i64 %134 %136 = load float, ptr %135, align 4 %137 = getelementptr inbounds [3 x float], ptr %13, i64 0, i64 2 store float %136, ptr %137, align 4 %138 = getelementptr inbounds [3 x float], ptr %13, i64 0, i64 1 store float %136, ptr %138, align 4 %139 = getelementptr inbounds [3 x float], ptr %13, i64 0, i64 0 store float %136, ptr %139, align 4 br label %140 140: ; preds = %128, %100, %98 %141 = getelementptr inbounds [4 x i8], ptr %12, i64 0, i64 0 %142 = getelementptr inbounds [3 x float], ptr %13, i64 0, i64 0 %143 = call i32 @stbiw__linear_to_rgbe(ptr noundef %141, ptr noundef %142) %144 = getelementptr inbounds [4 x i8], ptr %12, i64 0, i64 0 %145 = load i8, ptr %144, align 1 %146 = load ptr, ptr %9, align 8 %147 = load i32, ptr %14, align 4 %148 = load i32, ptr %7, align 4 %149 = mul nsw i32 %148, 0 %150 = add nsw i32 %147, %149 %151 = sext i32 %150 to i64 %152 = getelementptr inbounds i8, ptr %146, i64 %151 store i8 %145, ptr %152, align 1 %153 = getelementptr inbounds [4 x i8], ptr %12, i64 0, i64 1 %154 = load i8, ptr %153, align 1 %155 = load ptr, ptr %9, align 8 %156 = load i32, ptr %14, align 4 %157 = load i32, ptr %7, align 4 %158 = mul nsw i32 %157, 1 %159 = add nsw i32 %156, %158 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds i8, ptr %155, i64 %160 store i8 %154, ptr %161, align 1 %162 = getelementptr inbounds [4 x i8], ptr %12, i64 0, i64 2 %163 = load i8, ptr %162, align 1 %164 = load ptr, ptr %9, align 8 %165 = load i32, ptr %14, align 4 %166 = load i32, ptr %7, align 4 %167 = mul nsw i32 %166, 2 %168 = add nsw i32 %165, %167 %169 = sext i32 %168 to i64 %170 = getelementptr inbounds i8, ptr %164, i64 %169 store i8 %163, ptr %170, align 1 %171 = getelementptr inbounds [4 x i8], ptr %12, i64 0, i64 3 %172 = load i8, ptr %171, align 1 %173 = load ptr, ptr %9, align 8 %174 = load i32, ptr %14, align 4 %175 = load i32, ptr %7, align 4 %176 = mul nsw i32 %175, 3 %177 = add nsw i32 %174, %176 %178 = sext i32 %177 to i64 %179 = getelementptr inbounds i8, ptr %173, i64 %178 store i8 %172, ptr %179, align 1 br label %180 180: ; preds = %140 %181 = load i32, ptr %14, align 4 %182 = add nsw i32 %181, 1 store i32 %182, ptr %14, align 4 %183 = load i32, ptr %14, align 4 %184 = load i32, ptr %7, align 4 %185 = icmp slt i32 %183, %184 br i1 %185, label %98, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %180 br label %186 186: ; preds = %._crit_edge, %94 %187 = getelementptr inbounds [4 x i8], ptr %11, i64 0, i64 0 %188 = load ptr, ptr %6, align 8 %189 = call i32 @fwrite(ptr noundef %187, i32 noundef 4, i32 noundef 1, ptr noundef %188) store i32 0, ptr %15, align 4 %190 = load i32, ptr %15, align 4 %191 = icmp slt i32 %190, 4 br i1 %191, label %.lr.ph13, label %344 .lr.ph13: ; preds = %186 br label %192 192: ; preds = %.lr.ph13, %339 %193 = load ptr, ptr %9, align 8 %194 = load i32, ptr %7, align 4 %195 = load i32, ptr %15, align 4 %196 = mul nsw i32 %194, %195 %197 = sext i32 %196 to i64 %198 = getelementptr inbounds i8, ptr %193, i64 %197 store ptr %198, ptr %17, align 8 store i32 0, ptr %14, align 4 %199 = load i32, ptr %14, align 4 %200 = load i32, ptr %7, align 4 %201 = icmp slt i32 %199, %200 br i1 %201, label %.lr.ph10, label %338 .lr.ph10: ; preds = %192 br label %202 202: ; preds = %.lr.ph10, %334 %203 = load i32, ptr %14, align 4 store i32 %203, ptr %16, align 4 %204 = load i32, ptr %16, align 4 %205 = add nsw i32 %204, 2 %206 = load i32, ptr %7, align 4 %207 = icmp slt i32 %205, %206 br i1 %207, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %202 br label %208 208: ; preds = %.lr.ph2, %239 %209 = load ptr, ptr %17, align 8 %210 = load i32, ptr %16, align 4 %211 = sext i32 %210 to i64 %212 = getelementptr inbounds i8, ptr %209, i64 %211 %213 = load i8, ptr %212, align 1 %214 = zext i8 %213 to i32 %215 = load ptr, ptr %17, align 8 %216 = load i32, ptr %16, align 4 %217 = add nsw i32 %216, 1 %218 = sext i32 %217 to i64 %219 = getelementptr inbounds i8, ptr %215, i64 %218 %220 = load i8, ptr %219, align 1 %221 = zext i8 %220 to i32 %222 = icmp eq i32 %214, %221 br i1 %222, label %223, label %239 223: ; preds = %208 %224 = load ptr, ptr %17, align 8 %225 = load i32, ptr %16, align 4 %226 = sext i32 %225 to i64 %227 = getelementptr inbounds i8, ptr %224, i64 %226 %228 = load i8, ptr %227, align 1 %229 = zext i8 %228 to i32 %230 = load ptr, ptr %17, align 8 %231 = load i32, ptr %16, align 4 %232 = add nsw i32 %231, 2 %233 = sext i32 %232 to i64 %234 = getelementptr inbounds i8, ptr %230, i64 %233 %235 = load i8, ptr %234, align 1 %236 = zext i8 %235 to i32 %237 = icmp eq i32 %229, %236 br i1 %237, label %238, label %239 238: ; preds = %223 br label %246 239: ; preds = %223, %208 %240 = load i32, ptr %16, align 4 %241 = add nsw i32 %240, 1 store i32 %241, ptr %16, align 4 %242 = load i32, ptr %16, align 4 %243 = add nsw i32 %242, 2 %244 = load i32, ptr %7, align 4 %245 = icmp slt i32 %243, %244 br i1 %245, label %208, label %..loopexit_crit_edge, !llvm.loop !9 ..loopexit_crit_edge: ; preds = %239 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %202 br label %246 246: ; preds = %.loopexit, %238 %247 = load i32, ptr %16, align 4 %248 = add nsw i32 %247, 2 %249 = load i32, ptr %7, align 4 %250 = icmp sge i32 %248, %249 br i1 %250, label %251, label %253 251: ; preds = %246 %252 = load i32, ptr %7, align 4 store i32 %252, ptr %16, align 4 br label %253 253: ; preds = %251, %246 %254 = load i32, ptr %14, align 4 %255 = load i32, ptr %16, align 4 %256 = icmp slt i32 %254, %255 br i1 %256, label %.lr.ph4, label %278 .lr.ph4: ; preds = %253 br label %257 257: ; preds = %.lr.ph4, %264 %258 = load i32, ptr %16, align 4 %259 = load i32, ptr %14, align 4 %260 = sub nsw i32 %258, %259 store i32 %260, ptr %18, align 4 %261 = load i32, ptr %18, align 4 %262 = icmp sgt i32 %261, 128 br i1 %262, label %263, label %264 263: ; preds = %257 store i32 128, ptr %18, align 4 br label %264 264: ; preds = %263, %257 %265 = load ptr, ptr %6, align 8 %266 = load i32, ptr %18, align 4 %267 = load ptr, ptr %17, align 8 %268 = load i32, ptr %14, align 4 %269 = sext i32 %268 to i64 %270 = getelementptr inbounds i8, ptr %267, i64 %269 %271 = call i32 @stbiw__write_dump_data(ptr noundef %265, i32 noundef %266, ptr noundef %270) %272 = load i32, ptr %18, align 4 %273 = load i32, ptr %14, align 4 %274 = add nsw i32 %273, %272 store i32 %274, ptr %14, align 4 %275 = load i32, ptr %14, align 4 %276 = load i32, ptr %16, align 4 %277 = icmp slt i32 %275, %276 br i1 %277, label %257, label %._crit_edge5, !llvm.loop !10 ._crit_edge5: ; preds = %264 br label %278 278: ; preds = %._crit_edge5, %253 %279 = load i32, ptr %16, align 4 %280 = add nsw i32 %279, 2 %281 = load i32, ptr %7, align 4 %282 = icmp slt i32 %280, %281 br i1 %282, label %283, label %334 283: ; preds = %278 br label %284 284: ; preds = %304, %283 %285 = load i32, ptr %16, align 4 %286 = load i32, ptr %7, align 4 %287 = icmp slt i32 %285, %286 br i1 %287, label %288, label %302 288: ; preds = %284 %289 = load ptr, ptr %17, align 8 %290 = load i32, ptr %16, align 4 %291 = sext i32 %290 to i64 %292 = getelementptr inbounds i8, ptr %289, i64 %291 %293 = load i8, ptr %292, align 1 %294 = zext i8 %293 to i32 %295 = load ptr, ptr %17, align 8 %296 = load i32, ptr %14, align 4 %297 = sext i32 %296 to i64 %298 = getelementptr inbounds i8, ptr %295, i64 %297 %299 = load i8, ptr %298, align 1 %300 = zext i8 %299 to i32 %301 = icmp eq i32 %294, %300 br label %302 302: ; preds = %288, %284 %303 = phi i1 [ false, %284 ], [ %301, %288 ] br i1 %303, label %304, label %307 304: ; preds = %302 %305 = load i32, ptr %16, align 4 %306 = add nsw i32 %305, 1 store i32 %306, ptr %16, align 4 br label %284, !llvm.loop !11 307: ; preds = %302 %308 = load i32, ptr %14, align 4 %309 = load i32, ptr %16, align 4 %310 = icmp slt i32 %308, %309 br i1 %310, label %.lr.ph7, label %333 .lr.ph7: ; preds = %307 br label %311 311: ; preds = %.lr.ph7, %318 %312 = load i32, ptr %16, align 4 %313 = load i32, ptr %14, align 4 %314 = sub nsw i32 %312, %313 store i32 %314, ptr %19, align 4 %315 = load i32, ptr %19, align 4 %316 = icmp sgt i32 %315, 127 br i1 %316, label %317, label %318 317: ; preds = %311 store i32 127, ptr %19, align 4 br label %318 318: ; preds = %317, %311 %319 = load ptr, ptr %6, align 8 %320 = load i32, ptr %19, align 4 %321 = load ptr, ptr %17, align 8 %322 = load i32, ptr %14, align 4 %323 = sext i32 %322 to i64 %324 = getelementptr inbounds i8, ptr %321, i64 %323 %325 = load i8, ptr %324, align 1 %326 = call i32 @stbiw__write_run_data(ptr noundef %319, i32 noundef %320, i8 noundef zeroext %325) %327 = load i32, ptr %19, align 4 %328 = load i32, ptr %14, align 4 %329 = add nsw i32 %328, %327 store i32 %329, ptr %14, align 4 %330 = load i32, ptr %14, align 4 %331 = load i32, ptr %16, align 4 %332 = icmp slt i32 %330, %331 br i1 %332, label %311, label %._crit_edge8, !llvm.loop !12 ._crit_edge8: ; preds = %318 br label %333 333: ; preds = %._crit_edge8, %307 br label %334 334: ; preds = %333, %278 %335 = load i32, ptr %14, align 4 %336 = load i32, ptr %7, align 4 %337 = icmp slt i32 %335, %336 br i1 %337, label %202, label %._crit_edge11, !llvm.loop !13 ._crit_edge11: ; preds = %334 br label %338 338: ; preds = %._crit_edge11, %192 br label %339 339: ; preds = %338 %340 = load i32, ptr %15, align 4 %341 = add nsw i32 %340, 1 store i32 %341, ptr %15, align 4 %342 = load i32, ptr %15, align 4 %343 = icmp slt i32 %342, 4 br i1 %343, label %192, label %._crit_edge14, !llvm.loop !14 ._crit_edge14: ; preds = %339 br label %344 344: ; preds = %._crit_edge14, %186 br label %345 345: ; preds = %344, %93 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @stbiw__linear_to_rgbe(ptr noundef, ptr noundef) #2 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2 declare i32 @stbiw__write_dump_data(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @stbiw__write_run_data(ptr noundef, i32 noundef, i8 noundef zeroext) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7}
; ModuleID = '/tmp/tmpxsiuya26.c' source_filename = "/tmp/tmpxsiuya26.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rb\00", align 1 @SEEK_END = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [22 x i8] c"Content-Length: %ld\0D\0A\00", align 1 @.str.2 = private unnamed_addr constant [66 x i8] c"Content-disposition: form-data; name=\22filename\22; filename=\22%s\22;\0D\0A\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"Content-type: %s\0D\0A\0D\0A\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @DowningFile(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca [100 x i8], align 16 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %10 = load ptr, ptr %3, align 8 %11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str) store ptr %11, ptr %5, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %14 13: ; preds = %2 br label %63 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr @SEEK_END, align 4 %17 = call i32 @fseek(ptr noundef %15, i64 noundef 0, i32 noundef %16) %18 = load ptr, ptr %5, align 8 %19 = call i64 @ftell(ptr noundef %18) store i64 %19, ptr %7, align 8 %20 = load i64, ptr %7, align 8 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %20) %22 = load ptr, ptr %4, align 8 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %22) %24 = load ptr, ptr %3, align 8 %25 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %26 = call i32 @GetHtmlHeader(ptr noundef %24, ptr noundef %25) %27 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %27) %29 = load i64, ptr %7, align 8 %30 = call i64 @malloc(i64 noundef %29) %31 = inttoptr i64 %30 to ptr store ptr %31, ptr %6, align 8 %32 = icmp eq ptr %31, null br i1 %32, label %33, label %36 33: ; preds = %14 %34 = load ptr, ptr %5, align 8 %35 = call i32 @fclose(ptr noundef %34) br label %63 36: ; preds = %14 %37 = load ptr, ptr %5, align 8 %38 = load i32, ptr @SEEK_SET, align 4 %39 = call i32 @fseek(ptr noundef %37, i64 noundef 0, i32 noundef %38) %40 = load ptr, ptr %6, align 8 %41 = load i64, ptr %7, align 8 %42 = load ptr, ptr %5, align 8 %43 = call i32 @fread(ptr noundef %40, i64 noundef %41, i32 noundef 1, ptr noundef %42) %44 = load ptr, ptr %5, align 8 %45 = call i32 @fclose(ptr noundef %44) store i64 0, ptr %8, align 8 br label %46 46: ; preds = %57, %36 %47 = load i64, ptr %8, align 8 %48 = load i64, ptr %7, align 8 %49 = icmp slt i64 %47, %48 br i1 %49, label %50, label %60 50: ; preds = %46 %51 = load ptr, ptr %6, align 8 %52 = load i64, ptr %8, align 8 %53 = getelementptr inbounds i8, ptr %51, i64 %52 %54 = load i8, ptr %53, align 1 %55 = sext i8 %54 to i32 %56 = call i32 @putchar(i32 noundef %55) br label %57 57: ; preds = %50 %58 = load i64, ptr %8, align 8 %59 = add nsw i64 %58, 1 store i64 %59, ptr %8, align 8 br label %46, !llvm.loop !6 60: ; preds = %46 %61 = load ptr, ptr %6, align 8 %62 = call i32 @free(ptr noundef %61) br label %63 63: ; preds = %60, %33, %13 ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1 declare i64 @ftell(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @GetHtmlHeader(ptr noundef, ptr noundef) #1 declare i64 @malloc(i64 noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @fread(ptr noundef, i64 noundef, i32 noundef, ptr noundef) #1 declare i32 @putchar(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxsiuya26.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rb\00", align 1 @SEEK_END = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [22 x i8] c"Content-Length: %ld\0D\0A\00", align 1 @.str.2 = private unnamed_addr constant [66 x i8] c"Content-disposition: form-data; name=\22filename\22; filename=\22%s\22;\0D\0A\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"Content-type: %s\0D\0A\0D\0A\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @DowningFile(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca [100 x i8], align 16 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %10 = load ptr, ptr %3, align 8 %11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str) store ptr %11, ptr %5, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %14 13: ; preds = %2 br label %65 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr @SEEK_END, align 4 %17 = call i32 @fseek(ptr noundef %15, i64 noundef 0, i32 noundef %16) %18 = load ptr, ptr %5, align 8 %19 = call i64 @ftell(ptr noundef %18) store i64 %19, ptr %7, align 8 %20 = load i64, ptr %7, align 8 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %20) %22 = load ptr, ptr %4, align 8 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %22) %24 = load ptr, ptr %3, align 8 %25 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %26 = call i32 @GetHtmlHeader(ptr noundef %24, ptr noundef %25) %27 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %27) %29 = load i64, ptr %7, align 8 %30 = call i64 @malloc(i64 noundef %29) %31 = inttoptr i64 %30 to ptr store ptr %31, ptr %6, align 8 %32 = icmp eq ptr %31, null br i1 %32, label %33, label %36 33: ; preds = %14 %34 = load ptr, ptr %5, align 8 %35 = call i32 @fclose(ptr noundef %34) br label %65 36: ; preds = %14 %37 = load ptr, ptr %5, align 8 %38 = load i32, ptr @SEEK_SET, align 4 %39 = call i32 @fseek(ptr noundef %37, i64 noundef 0, i32 noundef %38) %40 = load ptr, ptr %6, align 8 %41 = load i64, ptr %7, align 8 %42 = load ptr, ptr %5, align 8 %43 = call i32 @fread(ptr noundef %40, i64 noundef %41, i32 noundef 1, ptr noundef %42) %44 = load ptr, ptr %5, align 8 %45 = call i32 @fclose(ptr noundef %44) store i64 0, ptr %8, align 8 %46 = load i64, ptr %8, align 8 %47 = load i64, ptr %7, align 8 %48 = icmp slt i64 %46, %47 br i1 %48, label %.lr.ph, label %62 .lr.ph: ; preds = %36 br label %49 49: ; preds = %.lr.ph, %56 %50 = load ptr, ptr %6, align 8 %51 = load i64, ptr %8, align 8 %52 = getelementptr inbounds i8, ptr %50, i64 %51 %53 = load i8, ptr %52, align 1 %54 = sext i8 %53 to i32 %55 = call i32 @putchar(i32 noundef %54) br label %56 56: ; preds = %49 %57 = load i64, ptr %8, align 8 %58 = add nsw i64 %57, 1 store i64 %58, ptr %8, align 8 %59 = load i64, ptr %8, align 8 %60 = load i64, ptr %7, align 8 %61 = icmp slt i64 %59, %60 br i1 %61, label %49, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %56 br label %62 62: ; preds = %._crit_edge, %36 %63 = load ptr, ptr %6, align 8 %64 = call i32 @free(ptr noundef %63) br label %65 65: ; preds = %62, %33, %13 ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1 declare i64 @ftell(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @GetHtmlHeader(ptr noundef, ptr noundef) #1 declare i64 @malloc(i64 noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @fread(ptr noundef, i64 noundef, i32 noundef, ptr noundef) #1 declare i32 @putchar(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmps3cd5zpd.c' source_filename = "/tmp/tmps3cd5zpd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"brightness\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @blc_get_brightness(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @blc_read_iface_file_int(ptr noundef %5, ptr noundef @.str, ptr noundef %6) ret i32 %7 } declare i32 @blc_read_iface_file_int(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps3cd5zpd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"brightness\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @blc_get_brightness(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @blc_read_iface_file_int(ptr noundef %5, ptr noundef @.str, ptr noundef %6) ret i32 %7 } declare i32 @blc_read_iface_file_int(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyuymaukb.c' source_filename = "/tmp/tmpyuymaukb.c" target datalayout = "e-m:e-p270: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/tmpyuymaukb.c" target datalayout = "e-m:e-p270: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/tmpx6ji81qu.c' source_filename = "/tmp/tmpx6ji81qu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bobCall() #0 { %1 = alloca i32, align 4 %2 = call i32 @getOrigin(i32 noundef 0) store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = call i32 @initPersonOnFloor(i32 noundef 0, i32 noundef %3) ret void } declare i32 @getOrigin(i32 noundef) #1 declare i32 @initPersonOnFloor(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/tmpx6ji81qu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bobCall() #0 { %1 = alloca i32, align 4 %2 = call i32 @getOrigin(i32 noundef 0) store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = call i32 @initPersonOnFloor(i32 noundef 0, i32 noundef %3) ret void } declare i32 @getOrigin(i32 noundef) #1 declare i32 @initPersonOnFloor(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/tmpvpzd33ty.c' source_filename = "/tmp/tmpvpzd33ty.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @M_PI = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @PhongSpecular(float noundef %0, i32 noundef %1) #0 { %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca i32, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 store float %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %8 = load float, ptr %4, align 4 %9 = call float @acos(float noundef %8) store float %9, ptr %6, align 4 %10 = load float, ptr %6, align 4 %11 = fpext float %10 to double %12 = load double, ptr @M_PI, align 8 %13 = fdiv double %12, 4.000000e+00 %14 = fcmp ogt double %11, %13 br i1 %14, label %15, label %16 15: ; preds = %2 store float 0.000000e+00, ptr %3, align 4 br label %33 16: ; preds = %2 %17 = load float, ptr %6, align 4 %18 = fpext float %17 to double %19 = fmul double 2.000000e+00, %18 %20 = call float @cos(double noundef %19) store float %20, ptr %6, align 4 %21 = load float, ptr %6, align 4 store float %21, ptr %7, align 4 br label %22 22: ; preds = %25, %16 %23 = load i32, ptr %5, align 4 %24 = icmp ne i32 %23, 1 br i1 %24, label %25, label %31 25: ; preds = %22 %26 = load float, ptr %6, align 4 %27 = load float, ptr %7, align 4 %28 = fmul float %27, %26 store float %28, ptr %7, align 4 %29 = load i32, ptr %5, align 4 %30 = add nsw i32 %29, -1 store i32 %30, ptr %5, align 4 br label %22, !llvm.loop !6 31: ; preds = %22 %32 = load float, ptr %7, align 4 store float %32, ptr %3, align 4 br label %33 33: ; preds = %31, %15 %34 = load float, ptr %3, align 4 ret float %34 } declare float @acos(float noundef) #1 declare float @cos(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvpzd33ty.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @M_PI = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @PhongSpecular(float noundef %0, i32 noundef %1) #0 { %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca i32, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 store float %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %8 = load float, ptr %4, align 4 %9 = call float @acos(float noundef %8) store float %9, ptr %6, align 4 %10 = load float, ptr %6, align 4 %11 = fpext float %10 to double %12 = load double, ptr @M_PI, align 8 %13 = fdiv double %12, 4.000000e+00 %14 = fcmp ogt double %11, %13 br i1 %14, label %15, label %16 15: ; preds = %2 store float 0.000000e+00, ptr %3, align 4 br label %34 16: ; preds = %2 %17 = load float, ptr %6, align 4 %18 = fpext float %17 to double %19 = fmul double 2.000000e+00, %18 %20 = call float @cos(double noundef %19) store float %20, ptr %6, align 4 %21 = load float, ptr %6, align 4 store float %21, ptr %7, align 4 %22 = load i32, ptr %5, align 4 %23 = icmp ne i32 %22, 1 br i1 %23, label %.lr.ph, label %32 .lr.ph: ; preds = %16 br label %24 24: ; preds = %.lr.ph, %24 %25 = load float, ptr %6, align 4 %26 = load float, ptr %7, align 4 %27 = fmul float %26, %25 store float %27, ptr %7, align 4 %28 = load i32, ptr %5, align 4 %29 = add nsw i32 %28, -1 store i32 %29, ptr %5, align 4 %30 = load i32, ptr %5, align 4 %31 = icmp ne i32 %30, 1 br i1 %31, label %24, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %32 32: ; preds = %._crit_edge, %16 %33 = load float, ptr %7, align 4 store float %33, ptr %3, align 4 br label %34 34: ; preds = %32, %15 %35 = load float, ptr %3, align 4 ret float %35 } declare float @acos(float noundef) #1 declare float @cos(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpuor0sra1.c' source_filename = "/tmp/tmpuor0sra1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"s\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"tty:%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca [1024 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 br label %8 8: ; preds = %17, %2 %9 = load i32, ptr %4, align 4 %10 = load ptr, ptr %5, align 8 %11 = call i32 @getopt(i32 noundef %9, ptr noundef %10, ptr noundef @.str) store i32 %11, ptr %6, align 4 %12 = icmp ne i32 %11, -1 br i1 %12, label %13, label %18 13: ; preds = %8 %14 = load i32, ptr %6, align 4 switch i32 %14, label %17 [ i32 115, label %15 ] 15: ; preds = %13 %16 = call i32 (...) @tty_func() br label %17 17: ; preds = %13, %15 br label %8, !llvm.loop !6 18: ; preds = %8 %19 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %20 = call i64 @ttyname_r(i32 noundef 0, ptr noundef %19, i32 noundef 1024) %21 = icmp ne i64 %20, 0 br i1 %21, label %22, label %24 22: ; preds = %18 %23 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 store i8 0, ptr %23, align 16 br label %24 24: ; preds = %22, %18 %25 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %26 = call i32 @printf(ptr noundef @.str.1, ptr noundef %25) ret i32 0 } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @tty_func(...) #1 declare i64 @ttyname_r(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuor0sra1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"s\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"tty:%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca [1024 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = load ptr, ptr %5, align 8 %10 = call i32 @getopt(i32 noundef %8, ptr noundef %9, ptr noundef @.str) store i32 %10, ptr %6, align 4 %11 = icmp ne i32 %10, -1 br i1 %11, label %.lr.ph, label %21 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %16 %13 = load i32, ptr %6, align 4 switch i32 %13, label %16 [ i32 115, label %14 ] 14: ; preds = %12 %15 = call i32 (...) @tty_func() br label %16 16: ; preds = %14, %12 %17 = load i32, ptr %4, align 4 %18 = load ptr, ptr %5, align 8 %19 = call i32 @getopt(i32 noundef %17, ptr noundef %18, ptr noundef @.str) store i32 %19, ptr %6, align 4 %20 = icmp ne i32 %19, -1 br i1 %20, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %21 21: ; preds = %._crit_edge, %2 %22 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %23 = call i64 @ttyname_r(i32 noundef 0, ptr noundef %22, i32 noundef 1024) %24 = icmp ne i64 %23, 0 br i1 %24, label %25, label %27 25: ; preds = %21 %26 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 store i8 0, ptr %26, align 16 br label %27 27: ; preds = %25, %21 %28 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %29 = call i32 @printf(ptr noundef @.str.1, ptr noundef %28) ret i32 0 } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @tty_func(...) #1 declare i64 @ttyname_r(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmps3o48yqp.c' source_filename = "/tmp/tmps3o48yqp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 store ptr %10, ptr %8, align 8 %11 = load ptr, ptr %6, align 8 store ptr %11, ptr %9, align 8 %12 = load ptr, ptr %8, align 8 %13 = load ptr, ptr %9, align 8 %14 = icmp eq ptr %12, %13 br i1 %14, label %15, label %16 15: ; preds = %3 store i32 0, ptr %4, align 4 br label %43 16: ; preds = %3 br label %17 17: ; preds = %37, %16 %18 = load i64, ptr %7, align 8 %19 = add i64 %18, -1 store i64 %19, ptr %7, align 8 %20 = icmp ne i64 %18, 0 br i1 %20, label %21, label %42 21: ; preds = %17 %22 = load ptr, ptr %8, align 8 %23 = load i8, ptr %22, align 1 %24 = zext i8 %23 to i32 %25 = load ptr, ptr %9, align 8 %26 = load i8, ptr %25, align 1 %27 = zext i8 %26 to i32 %28 = icmp ne i32 %24, %27 br i1 %28, label %29, label %37 29: ; preds = %21 %30 = load ptr, ptr %8, align 8 %31 = load i8, ptr %30, align 1 %32 = zext i8 %31 to i32 %33 = load ptr, ptr %9, align 8 %34 = load i8, ptr %33, align 1 %35 = zext i8 %34 to i32 %36 = sub nsw i32 %32, %35 store i32 %36, ptr %4, align 4 br label %43 37: ; preds = %21 %38 = load ptr, ptr %8, align 8 %39 = getelementptr inbounds i8, ptr %38, i32 1 store ptr %39, ptr %8, align 8 %40 = load ptr, ptr %9, align 8 %41 = getelementptr inbounds i8, ptr %40, i32 1 store ptr %41, ptr %9, align 8 br label %17, !llvm.loop !6 42: ; preds = %17 store i32 0, ptr %4, align 4 br label %43 43: ; preds = %42, %29, %15 %44 = load i32, ptr %4, align 4 ret i32 %44 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmps3o48yqp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 store ptr %10, ptr %8, align 8 %11 = load ptr, ptr %6, align 8 store ptr %11, ptr %9, align 8 %12 = load ptr, ptr %8, align 8 %13 = load ptr, ptr %9, align 8 %14 = icmp eq ptr %12, %13 br i1 %14, label %15, label %16 15: ; preds = %3 store i32 0, ptr %4, align 4 br label %45 16: ; preds = %3 %17 = load i64, ptr %7, align 8 %18 = add i64 %17, -1 store i64 %18, ptr %7, align 8 %19 = icmp ne i64 %17, 0 br i1 %19, label %.lr.ph, label %44 .lr.ph: ; preds = %16 br label %20 20: ; preds = %.lr.ph, %36 %21 = load ptr, ptr %8, align 8 %22 = load i8, ptr %21, align 1 %23 = zext i8 %22 to i32 %24 = load ptr, ptr %9, align 8 %25 = load i8, ptr %24, align 1 %26 = zext i8 %25 to i32 %27 = icmp ne i32 %23, %26 br i1 %27, label %28, label %36 28: ; preds = %20 %29 = load ptr, ptr %8, align 8 %30 = load i8, ptr %29, align 1 %31 = zext i8 %30 to i32 %32 = load ptr, ptr %9, align 8 %33 = load i8, ptr %32, align 1 %34 = zext i8 %33 to i32 %35 = sub nsw i32 %31, %34 store i32 %35, ptr %4, align 4 br label %45 36: ; preds = %20 %37 = load ptr, ptr %8, align 8 %38 = getelementptr inbounds i8, ptr %37, i32 1 store ptr %38, ptr %8, align 8 %39 = load ptr, ptr %9, align 8 %40 = getelementptr inbounds i8, ptr %39, i32 1 store ptr %40, ptr %9, align 8 %41 = load i64, ptr %7, align 8 %42 = add i64 %41, -1 store i64 %42, ptr %7, align 8 %43 = icmp ne i64 %41, 0 br i1 %43, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %44 44: ; preds = %._crit_edge, %16 store i32 0, ptr %4, align 4 br label %45 45: ; preds = %44, %28, %15 %46 = load i32, ptr %4, align 4 ret i32 %46 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp2161u2uk.c' source_filename = "/tmp/tmp2161u2uk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ms\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\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 ptr, align 8 store i32 0, ptr %1, align 4 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %4 = load ptr, ptr %2, align 8 %5 = call i32 @printf(ptr noundef @.str.1, ptr noundef %4) %6 = load ptr, ptr %2, align 8 %7 = call i32 @free(ptr noundef %6) %8 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %8 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(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/tmp2161u2uk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ms\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\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 ptr, align 8 store i32 0, ptr %1, align 4 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %4 = load ptr, ptr %2, align 8 %5 = call i32 @printf(ptr noundef @.str.1, ptr noundef %4) %6 = load ptr, ptr %2, align 8 %7 = call i32 @free(ptr noundef %6) %8 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %8 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(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/tmp1bcnnues.c' source_filename = "/tmp/tmp1bcnnues.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ComputeFeatureMatrix(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, double noundef %7) #0 { %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca double, align 8 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca double, align 8 %20 = alloca i8, align 1 %21 = alloca double, align 8 %22 = alloca double, align 8 store i32 %0, ptr %9, align 4 store i32 %1, ptr %10, align 4 store i32 %2, ptr %11, align 4 store ptr %3, ptr %12, align 8 store ptr %4, ptr %13, align 8 store ptr %5, ptr %14, align 8 store ptr %6, ptr %15, align 8 store double %7, ptr %16, align 8 store i32 0, ptr %17, align 4 br label %23 23: ; preds = %50, %8 %24 = load i32, ptr %17, align 4 %25 = load i32, ptr %9, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %27, label %53 27: ; preds = %23 store i32 0, ptr %18, align 4 br label %28 28: ; preds = %46, %27 %29 = load i32, ptr %18, align 4 %30 = load i32, ptr %11, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %32, label %49 32: ; preds = %28 %33 = load ptr, ptr %14, align 8 %34 = load i32, ptr %18, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds double, ptr %33, i64 %35 %37 = load double, ptr %36, align 8 %38 = load ptr, ptr %15, align 8 %39 = load i32, ptr %17, align 4 %40 = load i32, ptr %18, align 4 %41 = load i32, ptr %9, align 4 %42 = mul nsw i32 %40, %41 %43 = add nsw i32 %39, %42 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds double, ptr %38, i64 %44 store double %37, ptr %45, align 8 br label %46 46: ; preds = %32 %47 = load i32, ptr %18, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %18, align 4 br label %28, !llvm.loop !6 49: ; preds = %28 br label %50 50: ; preds = %49 %51 = load i32, ptr %17, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %17, align 4 br label %23, !llvm.loop !8 53: ; preds = %23 store double 1.000000e+00, ptr %19, align 8 store i8 78, ptr %20, align 1 %54 = load ptr, ptr %12, align 8 %55 = load ptr, ptr %13, align 8 %56 = load ptr, ptr %15, align 8 %57 = call i32 @dgemm_(ptr noundef %20, ptr noundef %20, ptr noundef %9, ptr noundef %11, ptr noundef %10, ptr noundef %19, ptr noundef %54, ptr noundef %9, ptr noundef %55, ptr noundef %10, ptr noundef %19, ptr noundef %56, ptr noundef %9) store double 2.000000e+00, ptr %21, align 8 %58 = load double, ptr %21, align 8 %59 = load i32, ptr %11, align 4 %60 = sitofp i32 %59 to double %61 = fdiv double %58, %60 %62 = call double @sqrt(double noundef %61) #3 store double %62, ptr %22, align 8 store i32 0, ptr %17, align 4 br label %63 63: ; preds = %82, %53 %64 = load i32, ptr %17, align 4 %65 = load i32, ptr %9, align 4 %66 = load i32, ptr %11, align 4 %67 = mul nsw i32 %65, %66 %68 = icmp slt i32 %64, %67 br i1 %68, label %69, label %85 69: ; preds = %63 %70 = load ptr, ptr %15, align 8 %71 = load i32, ptr %17, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds double, ptr %70, i64 %72 %74 = load double, ptr %73, align 8 %75 = call double @cos(double noundef %74) #3 %76 = load double, ptr %22, align 8 %77 = fmul double %75, %76 %78 = load ptr, ptr %15, align 8 %79 = load i32, ptr %17, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds double, ptr %78, i64 %80 store double %77, ptr %81, align 8 br label %82 82: ; preds = %69 %83 = load i32, ptr %17, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %17, align 4 br label %63, !llvm.loop !9 85: ; preds = %63 ret void } declare i32 @dgemm_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 ; 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} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1bcnnues.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ComputeFeatureMatrix(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, double noundef %7) #0 { %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca double, align 8 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca double, align 8 %20 = alloca i8, align 1 %21 = alloca double, align 8 %22 = alloca double, align 8 store i32 %0, ptr %9, align 4 store i32 %1, ptr %10, align 4 store i32 %2, ptr %11, align 4 store ptr %3, ptr %12, align 8 store ptr %4, ptr %13, align 8 store ptr %5, ptr %14, align 8 store ptr %6, ptr %15, align 8 store double %7, ptr %16, align 8 store i32 0, ptr %17, align 4 %23 = load i32, ptr %17, align 4 %24 = load i32, ptr %9, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %.lr.ph2, label %57 .lr.ph2: ; preds = %8 br label %26 26: ; preds = %.lr.ph2, %51 store i32 0, ptr %18, align 4 %27 = load i32, ptr %18, align 4 %28 = load i32, ptr %11, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %.lr.ph, label %50 .lr.ph: ; preds = %26 br label %30 30: ; preds = %.lr.ph, %44 %31 = load ptr, ptr %14, align 8 %32 = load i32, ptr %18, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds double, ptr %31, i64 %33 %35 = load double, ptr %34, align 8 %36 = load ptr, ptr %15, align 8 %37 = load i32, ptr %17, align 4 %38 = load i32, ptr %18, align 4 %39 = load i32, ptr %9, align 4 %40 = mul nsw i32 %38, %39 %41 = add nsw i32 %37, %40 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds double, ptr %36, i64 %42 store double %35, ptr %43, align 8 br label %44 44: ; preds = %30 %45 = load i32, ptr %18, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %18, align 4 %47 = load i32, ptr %18, align 4 %48 = load i32, ptr %11, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %30, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %44 br label %50 50: ; preds = %._crit_edge, %26 br label %51 51: ; preds = %50 %52 = load i32, ptr %17, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %17, align 4 %54 = load i32, ptr %17, align 4 %55 = load i32, ptr %9, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %26, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %51 br label %57 57: ; preds = %._crit_edge3, %8 store double 1.000000e+00, ptr %19, align 8 store i8 78, ptr %20, align 1 %58 = load ptr, ptr %12, align 8 %59 = load ptr, ptr %13, align 8 %60 = load ptr, ptr %15, align 8 %61 = call i32 @dgemm_(ptr noundef %20, ptr noundef %20, ptr noundef %9, ptr noundef %11, ptr noundef %10, ptr noundef %19, ptr noundef %58, ptr noundef %9, ptr noundef %59, ptr noundef %10, ptr noundef %19, ptr noundef %60, ptr noundef %9) store double 2.000000e+00, ptr %21, align 8 %62 = load double, ptr %21, align 8 %63 = load i32, ptr %11, align 4 %64 = sitofp i32 %63 to double %65 = fdiv double %62, %64 %66 = call double @sqrt(double noundef %65) #3 store double %66, ptr %22, align 8 store i32 0, ptr %17, align 4 %67 = load i32, ptr %17, align 4 %68 = load i32, ptr %9, align 4 %69 = load i32, ptr %11, align 4 %70 = mul nsw i32 %68, %69 %71 = icmp slt i32 %67, %70 br i1 %71, label %.lr.ph5, label %93 .lr.ph5: ; preds = %57 br label %72 72: ; preds = %.lr.ph5, %85 %73 = load ptr, ptr %15, align 8 %74 = load i32, ptr %17, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds double, ptr %73, i64 %75 %77 = load double, ptr %76, align 8 %78 = call double @cos(double noundef %77) #3 %79 = load double, ptr %22, align 8 %80 = fmul double %78, %79 %81 = load ptr, ptr %15, align 8 %82 = load i32, ptr %17, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds double, ptr %81, i64 %83 store double %80, ptr %84, align 8 br label %85 85: ; preds = %72 %86 = load i32, ptr %17, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %17, align 4 %88 = load i32, ptr %17, align 4 %89 = load i32, ptr %9, align 4 %90 = load i32, ptr %11, align 4 %91 = mul nsw i32 %89, %90 %92 = icmp slt i32 %88, %91 br i1 %92, label %72, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %85 br label %93 93: ; preds = %._crit_edge6, %57 ret void } declare i32 @dgemm_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 ; 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} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpd983bhdx.c' source_filename = "/tmp/tmpd983bhdx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%s {\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @rtxPrintOpenBrace(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 (...) @rtxPrintIndent() %4 = load ptr, ptr %2, align 8 %5 = call i32 @printf(ptr noundef @.str, ptr noundef %4) %6 = call i32 (...) @rtxPrintIncrIndent() ret void } declare i32 @rtxPrintIndent(...) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @rtxPrintIncrIndent(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd983bhdx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%s {\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @rtxPrintOpenBrace(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 (...) @rtxPrintIndent() %4 = load ptr, ptr %2, align 8 %5 = call i32 @printf(ptr noundef @.str, ptr noundef %4) %6 = call i32 (...) @rtxPrintIncrIndent() ret void } declare i32 @rtxPrintIndent(...) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @rtxPrintIncrIndent(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpv1oyt579.c' source_filename = "/tmp/tmpv1oyt579.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cut_line(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 %11 = load i32, ptr %6, align 4 %12 = add nsw i32 %11, 1 %13 = call ptr @xmalloc(i32 noundef %12) store ptr %13, ptr %10, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %16, label %15 15: ; preds = %3 store ptr null, ptr %4, align 8 br label %70 16: ; preds = %3 store i32 0, ptr %8, align 4 br label %17 17: ; preds = %21, %16 %18 = load i32, ptr %8, align 4 %19 = load i32, ptr %6, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %21, label %33 21: ; preds = %17 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %8, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %22, i64 %24 %26 = load i8, ptr %25, align 1 %27 = load ptr, ptr %10, align 8 %28 = load i32, ptr %8, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 store i8 %26, ptr %30, align 1 %31 = load i32, ptr %8, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %8, align 4 br label %17, !llvm.loop !6 33: ; preds = %17 %34 = load ptr, ptr %10, align 8 %35 = load i32, ptr %8, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %34, i64 %36 store i8 0, ptr %37, align 1 %38 = load i32, ptr %8, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %8, align 4 store i32 0, ptr %9, align 4 br label %40 40: ; preds = %45, %33 %41 = load i32, ptr %8, align 4 %42 = load ptr, ptr %7, align 8 %43 = load i32, ptr %42, align 4 %44 = icmp slt i32 %41, %43 br i1 %44, label %45, label %59 45: ; preds = %40 %46 = load ptr, ptr %5, align 8 %47 = load i32, ptr %8, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i8, ptr %46, i64 %48 %50 = load i8, ptr %49, align 1 %51 = load ptr, ptr %5, align 8 %52 = load i32, ptr %9, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i8, ptr %51, i64 %53 store i8 %50, ptr %54, align 1 %55 = load i32, ptr %8, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %8, align 4 %57 = load i32, ptr %9, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %9, align 4 br label %40, !llvm.loop !8 59: ; preds = %40 %60 = load ptr, ptr %5, align 8 %61 = load i32, ptr %9, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i8, ptr %60, i64 %62 store i8 0, ptr %63, align 1 %64 = load i32, ptr %6, align 4 %65 = add nsw i32 %64, 1 %66 = load ptr, ptr %7, align 8 %67 = load i32, ptr %66, align 4 %68 = sub nsw i32 %67, %65 store i32 %68, ptr %66, align 4 %69 = load ptr, ptr %10, align 8 store ptr %69, ptr %4, align 8 br label %70 70: ; preds = %59, %15 %71 = load ptr, ptr %4, align 8 ret ptr %71 } declare ptr @xmalloc(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/tmpv1oyt579.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cut_line(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 %11 = load i32, ptr %6, align 4 %12 = add nsw i32 %11, 1 %13 = call ptr @xmalloc(i32 noundef %12) store ptr %13, ptr %10, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %16, label %15 15: ; preds = %3 store ptr null, ptr %4, align 8 br label %75 16: ; preds = %3 store i32 0, ptr %8, align 4 %17 = load i32, ptr %8, align 4 %18 = load i32, ptr %6, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %.lr.ph, label %35 .lr.ph: ; preds = %16 br label %20 20: ; preds = %.lr.ph, %20 %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr %8, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %21, i64 %23 %25 = load i8, ptr %24, align 1 %26 = load ptr, ptr %10, align 8 %27 = load i32, ptr %8, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %26, i64 %28 store i8 %25, ptr %29, align 1 %30 = load i32, ptr %8, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %8, align 4 %32 = load i32, ptr %8, align 4 %33 = load i32, ptr %6, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %35 35: ; preds = %._crit_edge, %16 %36 = load ptr, ptr %10, align 8 %37 = load i32, ptr %8, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %36, i64 %38 store i8 0, ptr %39, align 1 %40 = load i32, ptr %8, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %8, align 4 store i32 0, ptr %9, align 4 %42 = load i32, ptr %8, align 4 %43 = load ptr, ptr %7, align 8 %44 = load i32, ptr %43, align 4 %45 = icmp slt i32 %42, %44 br i1 %45, label %.lr.ph2, label %64 .lr.ph2: ; preds = %35 br label %46 46: ; preds = %.lr.ph2, %46 %47 = load ptr, ptr %5, align 8 %48 = load i32, ptr %8, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i8, ptr %47, i64 %49 %51 = load i8, ptr %50, align 1 %52 = load ptr, ptr %5, align 8 %53 = load i32, ptr %9, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i8, ptr %52, i64 %54 store i8 %51, ptr %55, align 1 %56 = load i32, ptr %8, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %8, align 4 %58 = load i32, ptr %9, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %9, align 4 %60 = load i32, ptr %8, align 4 %61 = load ptr, ptr %7, align 8 %62 = load i32, ptr %61, align 4 %63 = icmp slt i32 %60, %62 br i1 %63, label %46, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %46 br label %64 64: ; preds = %._crit_edge3, %35 %65 = load ptr, ptr %5, align 8 %66 = load i32, ptr %9, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i8, ptr %65, i64 %67 store i8 0, ptr %68, align 1 %69 = load i32, ptr %6, align 4 %70 = add nsw i32 %69, 1 %71 = load ptr, ptr %7, align 8 %72 = load i32, ptr %71, align 4 %73 = sub nsw i32 %72, %70 store i32 %73, ptr %71, align 4 %74 = load ptr, ptr %10, align 8 store ptr %74, ptr %4, align 8 br label %75 75: ; preds = %64, %15 %76 = load ptr, ptr %4, align 8 ret ptr %76 } declare ptr @xmalloc(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/tmpj9spm2bf.c' source_filename = "/tmp/tmpj9spm2bf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"sizeof(uchar): %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"a: %d, b: %d, c: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca i8, align 1 %4 = alloca i8, align 1 store i32 0, ptr %1, align 4 store i8 22, ptr %2, align 1 store i8 28, ptr %3, align 1 store i8 114, ptr %4, align 1 %5 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str, i8 noundef zeroext 1) %6 = load i8, ptr %2, align 1 %7 = load i8, ptr %3, align 1 %8 = zext i8 %7 to i32 %9 = load i8, ptr %4, align 1 %10 = zext i8 %9 to i32 %11 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.1, i8 noundef zeroext %6, i32 noundef %8, i32 noundef %10) ret i32 0 } declare i32 @printf(ptr noundef, i8 noundef zeroext, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj9spm2bf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"sizeof(uchar): %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"a: %d, b: %d, c: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca i8, align 1 %4 = alloca i8, align 1 store i32 0, ptr %1, align 4 store i8 22, ptr %2, align 1 store i8 28, ptr %3, align 1 store i8 114, ptr %4, align 1 %5 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str, i8 noundef zeroext 1) %6 = load i8, ptr %2, align 1 %7 = load i8, ptr %3, align 1 %8 = zext i8 %7 to i32 %9 = load i8, ptr %4, align 1 %10 = zext i8 %9 to i32 %11 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.1, i8 noundef zeroext %6, i32 noundef %8, i32 noundef %10) ret i32 0 } declare i32 @printf(ptr noundef, i8 noundef zeroext, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkzzwvvnl.c' source_filename = "/tmp/tmpkzzwvvnl.c" target datalayout = "e-m:e-p270: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/tmpkzzwvvnl.c" target datalayout = "e-m:e-p270: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/tmpzr_hm_7c.c' source_filename = "/tmp/tmpzr_hm_7c.c" target datalayout = "e-m:e-p270: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/tmpzr_hm_7c.c" target datalayout = "e-m:e-p270: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/tmpmtgiiq9a.c' source_filename = "/tmp/tmpmtgiiq9a.c" target datalayout = "e-m:e-p270: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/tmpmtgiiq9a.c" target datalayout = "e-m:e-p270: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/tmp8ahm2g2y.c' source_filename = "/tmp/tmp8ahm2g2y.c" target datalayout = "e-m:e-p270: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/tmp8ahm2g2y.c" target datalayout = "e-m:e-p270: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/tmpe9soi7or.c' source_filename = "/tmp/tmpe9soi7or.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store i32 0, ptr %1, align 4 %10 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %11 = load i32, ptr %2, align 4 %12 = zext i32 %11 to i64 %13 = load i32, ptr %3, align 4 %14 = zext i32 %13 to i64 %15 = call ptr @llvm.stacksave() store ptr %15, ptr %7, align 8 %16 = mul nuw i64 %12, %14 %17 = alloca i32, i64 %16, align 16 store i64 %12, ptr %8, align 8 store i64 %14, ptr %9, align 8 store i32 0, ptr %4, align 4 br label %18 18: ; preds = %40, %0 %19 = load i32, ptr %4, align 4 %20 = load i32, ptr %2, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %22, label %43 22: ; preds = %18 store i32 0, ptr %5, align 4 br label %23 23: ; preds = %36, %22 %24 = load i32, ptr %5, align 4 %25 = load i32, ptr %3, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %27, label %39 27: ; preds = %23 %28 = load i32, ptr %4, align 4 %29 = sext i32 %28 to i64 %30 = mul nsw i64 %29, %14 %31 = getelementptr inbounds i32, ptr %17, i64 %30 %32 = load i32, ptr %5, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i32, ptr %31, i64 %33 %35 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %34) br label %36 36: ; preds = %27 %37 = load i32, ptr %5, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %5, align 4 br label %23, !llvm.loop !6 39: ; preds = %23 br label %40 40: ; preds = %39 %41 = load i32, ptr %4, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %4, align 4 br label %18, !llvm.loop !8 43: ; preds = %18 store i32 0, ptr %1, align 4 %44 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %44) %45 = load i32, ptr %1, align 4 ret i32 %45 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 ; 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/tmpe9soi7or.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store i32 0, ptr %1, align 4 %10 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %11 = load i32, ptr %2, align 4 %12 = zext i32 %11 to i64 %13 = load i32, ptr %3, align 4 %14 = zext i32 %13 to i64 %15 = call ptr @llvm.stacksave() store ptr %15, ptr %7, align 8 %16 = mul nuw i64 %12, %14 %17 = alloca i32, i64 %16, align 16 store i64 %12, ptr %8, align 8 store i64 %14, ptr %9, align 8 store i32 0, ptr %4, align 4 %18 = load i32, ptr %4, align 4 %19 = load i32, ptr %2, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %.lr.ph2, label %47 .lr.ph2: ; preds = %0 br label %21 21: ; preds = %.lr.ph2, %41 store i32 0, ptr %5, align 4 %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %3, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %.lr.ph, label %40 .lr.ph: ; preds = %21 br label %25 25: ; preds = %.lr.ph, %34 %26 = load i32, ptr %4, align 4 %27 = sext i32 %26 to i64 %28 = mul nsw i64 %27, %14 %29 = getelementptr inbounds i32, ptr %17, i64 %28 %30 = load i32, ptr %5, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i32, ptr %29, i64 %31 %33 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %32) br label %34 34: ; preds = %25 %35 = load i32, ptr %5, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %5, align 4 %37 = load i32, ptr %5, align 4 %38 = load i32, ptr %3, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %40 40: ; preds = %._crit_edge, %21 br label %41 41: ; preds = %40 %42 = load i32, ptr %4, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %4, align 4 %44 = load i32, ptr %4, align 4 %45 = load i32, ptr %2, align 4 %46 = icmp slt i32 %44, %45 br i1 %46, label %21, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %41 br label %47 47: ; preds = %._crit_edge3, %0 store i32 0, ptr %1, align 4 %48 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %48) %49 = load i32, ptr %1, align 4 ret i32 %49 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 ; 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/tmprlr1_89e.c' source_filename = "/tmp/tmprlr1_89e.c" target datalayout = "e-m:e-p270: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/tmprlr1_89e.c" target datalayout = "e-m:e-p270: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/tmp4l28c8ab.c' source_filename = "/tmp/tmp4l28c8ab.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [45 x i8] c"\0AError !! Process not created successfully.\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"\0AHI PAPA !! and my PID is : %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"sum is : %d\00", align 1 @.str.3 = private unnamed_addr constant [40 x i8] c"\0AI am your PAPA !! and my PID is : %d\0A\0A\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"Diff is : %d\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 4, ptr %2, align 4 store i32 5, ptr %3, align 4 %7 = call i64 (...) @fork() store i64 %7, ptr %4, align 8 %8 = load i64, ptr %4, align 8 %9 = icmp slt i64 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %0 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %35 12: ; preds = %0 %13 = load i64, ptr %4, align 8 %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %22 15: ; preds = %12 store i32 30, ptr %5, align 4 store i32 10, ptr %6, align 4 %16 = call i32 (...) @getpid() %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %16) %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %6, align 4 %20 = add nsw i32 %18, %19 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %20) br label %34 22: ; preds = %12 %23 = load i64, ptr %4, align 8 %24 = icmp sgt i64 %23, 0 br i1 %24, label %25, label %33 25: ; preds = %22 %26 = call i32 @wait(ptr noundef null) %27 = call i32 (...) @getpid() %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %27) %29 = load i32, ptr %2, align 4 %30 = load i32, ptr %3, align 4 %31 = sub nsw i32 %29, %30 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %31) br label %33 33: ; preds = %25, %22 br label %34 34: ; preds = %33, %15 br label %35 35: ; preds = %34, %10 ret i32 0 } declare i64 @fork(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @getpid(...) #1 declare i32 @wait(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4l28c8ab.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [45 x i8] c"\0AError !! Process not created successfully.\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"\0AHI PAPA !! and my PID is : %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"sum is : %d\00", align 1 @.str.3 = private unnamed_addr constant [40 x i8] c"\0AI am your PAPA !! and my PID is : %d\0A\0A\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"Diff is : %d\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 4, ptr %2, align 4 store i32 5, ptr %3, align 4 %7 = call i64 (...) @fork() store i64 %7, ptr %4, align 8 %8 = load i64, ptr %4, align 8 %9 = icmp slt i64 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %0 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %35 12: ; preds = %0 %13 = load i64, ptr %4, align 8 %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %22 15: ; preds = %12 store i32 30, ptr %5, align 4 store i32 10, ptr %6, align 4 %16 = call i32 (...) @getpid() %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %16) %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %6, align 4 %20 = add nsw i32 %18, %19 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %20) br label %34 22: ; preds = %12 %23 = load i64, ptr %4, align 8 %24 = icmp sgt i64 %23, 0 br i1 %24, label %25, label %33 25: ; preds = %22 %26 = call i32 @wait(ptr noundef null) %27 = call i32 (...) @getpid() %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %27) %29 = load i32, ptr %2, align 4 %30 = load i32, ptr %3, align 4 %31 = sub nsw i32 %29, %30 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %31) br label %33 33: ; preds = %25, %22 br label %34 34: ; preds = %33, %15 br label %35 35: ; preds = %34, %10 ret i32 0 } declare i64 @fork(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @getpid(...) #1 declare i32 @wait(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzoukf9vj.c' source_filename = "/tmp/tmpzoukf9vj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzoukf9vj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpp3ucn5vx.c' source_filename = "/tmp/tmpp3ucn5vx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getpwnam(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 ret ptr null } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp3ucn5vx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getpwnam(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 ret ptr null } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk34m2a5e.c' source_filename = "/tmp/tmpk34m2a5e.c" target datalayout = "e-m:e-p270: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 i64 @get_XCreateWindowEvent_serial(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0 %5 = load i64, ptr %4, align 8 ret i64 %5 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk34m2a5e.c" target datalayout = "e-m:e-p270: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 i64 @get_XCreateWindowEvent_serial(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0 %5 = load i64, ptr %4, align 8 ret i64 %5 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3ikhezi3.c' source_filename = "/tmp/tmp3ikhezi3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"http://www.fabaoji.cn\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"fabaoji\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 @puts(ptr noundef @.str) %3 = call i32 @printf(ptr noundef @.str.1) ret i32 0 } declare i32 @puts(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3ikhezi3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"http://www.fabaoji.cn\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"fabaoji\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 @puts(ptr noundef @.str) %3 = call i32 @printf(ptr noundef @.str.1) ret i32 0 } declare i32 @puts(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnpotg3o3.c' source_filename = "/tmp/tmpnpotg3o3.c" target datalayout = "e-m:e-p270: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"usage: %s name <in-file >out-file\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [4 x i8] c"/*\0A\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"* Miscellaneous data structures:\0A\00", align 1 @.str.3 = private unnamed_addr constant [51 x i8] c"* WARNING - this file is automatically generated!\0A\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"*/\0A\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.6 = private unnamed_addr constant [36 x i8] c"unsigned long orion_%s_start[] = {\0A\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"\09\00", align 1 @.str.8 = private unnamed_addr constant [19 x i8] c"0x%02X%02X%02X%02X\00", align 1 @.str.9 = private unnamed_addr constant [12 x i8] c", /* %x */\0A\00", align 1 @.str.10 = private unnamed_addr constant [2 x i8] c",\00", align 1 @.str.11 = private unnamed_addr constant [6 x i8] c"0 };\0A\00", align 1 @.str.12 = private unnamed_addr constant [37 x i8] c"unsigned long orion_%s_size = 0x%x;\0A\00", align 1 @.str.13 = private unnamed_addr constant [12 x i8] c"cksum = %x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca [8192 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 %14 = load i32, ptr %4, align 4 %15 = icmp ne i32 %14, 2 br i1 %15, label %16, label %23 16: ; preds = %2 %17 = load i32, ptr @stderr, align 4 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 0 %20 = load ptr, ptr %19, align 8 %21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str, ptr noundef %20) %22 = call i32 @exit(i32 noundef 1) #3 unreachable 23: ; preds = %2 %24 = load i32, ptr @stdout, align 4 %25 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %24, ptr noundef @.str.1) %26 = load i32, ptr @stdout, align 4 %27 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %26, ptr noundef @.str.2) %28 = load i32, ptr @stdout, align 4 %29 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %28, ptr noundef @.str.3) %30 = load i32, ptr @stdout, align 4 %31 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %30, ptr noundef @.str.4) %32 = load i32, ptr @stdout, align 4 %33 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %32, ptr noundef @.str.5) %34 = load i32, ptr @stdout, align 4 %35 = load ptr, ptr %5, align 8 %36 = getelementptr inbounds ptr, ptr %35, i64 1 %37 = load ptr, ptr %36, align 8 %38 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %34, ptr noundef @.str.6, ptr noundef %37) store i32 0, ptr %8, align 4 store i32 0, ptr %10, align 4 br label %39 39: ; preds = %104, %23 %40 = getelementptr inbounds [8192 x i8], ptr %13, i64 0, i64 0 %41 = call i32 @read(i32 noundef 0, ptr noundef %40, i32 noundef 8192) store i32 %41, ptr %9, align 4 %42 = icmp sgt i32 %41, 0 br i1 %42, label %43, label %108 43: ; preds = %39 store i32 0, ptr %7, align 4 %44 = getelementptr inbounds [8192 x i8], ptr %13, i64 0, i64 0 store ptr %44, ptr %12, align 8 %45 = load i32, ptr %9, align 4 %46 = add nsw i32 %45, 3 %47 = and i32 %46, -4 store i32 %47, ptr %9, align 4 store i32 0, ptr %6, align 4 br label %48 48: ; preds = %101, %43 %49 = load i32, ptr %6, align 4 %50 = load i32, ptr %9, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %52, label %104 52: ; preds = %48 %53 = load i32, ptr %7, align 4 %54 = icmp eq i32 %53, 0 br i1 %54, label %55, label %58 55: ; preds = %52 %56 = load i32, ptr @stdout, align 4 %57 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %56, ptr noundef @.str.7) br label %58 58: ; preds = %55, %52 %59 = load i32, ptr @stdout, align 4 %60 = load ptr, ptr %12, align 8 %61 = getelementptr inbounds i8, ptr %60, i64 0 %62 = load i8, ptr %61, align 1 %63 = zext i8 %62 to i32 %64 = load ptr, ptr %12, align 8 %65 = getelementptr inbounds i8, ptr %64, i64 1 %66 = load i8, ptr %65, align 1 %67 = zext i8 %66 to i32 %68 = load ptr, ptr %12, align 8 %69 = getelementptr inbounds i8, ptr %68, i64 2 %70 = load i8, ptr %69, align 1 %71 = zext i8 %70 to i32 %72 = load ptr, ptr %12, align 8 %73 = getelementptr inbounds i8, ptr %72, i64 3 %74 = load i8, ptr %73, align 1 %75 = zext i8 %74 to i32 %76 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %59, ptr noundef @.str.8, i32 noundef %63, i32 noundef %67, i32 noundef %71, i32 noundef %75) %77 = load ptr, ptr %12, align 8 %78 = load i64, ptr %77, align 8 %79 = trunc i64 %78 to i32 store i32 %79, ptr %11, align 4 %80 = load i32, ptr %11, align 4 %81 = load i32, ptr %10, align 4 %82 = xor i32 %81, %80 store i32 %82, ptr %10, align 4 %83 = load ptr, ptr %12, align 8 %84 = getelementptr inbounds i8, ptr %83, i64 4 store ptr %84, ptr %12, align 8 %85 = load i32, ptr %7, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %7, align 4 %87 = icmp eq i32 %86, 4 br i1 %87, label %88, label %97 88: ; preds = %58 store i32 0, ptr %7, align 4 %89 = load i32, ptr @stdout, align 4 %90 = load i32, ptr %8, align 4 %91 = load i32, ptr %6, align 4 %92 = add nsw i32 %90, %91 %93 = sub nsw i32 %92, 12 %94 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %89, ptr noundef @.str.9, i32 noundef %93) %95 = load i32, ptr @stdout, align 4 %96 = call i32 @fflush(i32 noundef %95) br label %100 97: ; preds = %58 %98 = load i32, ptr @stdout, align 4 %99 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %98, ptr noundef @.str.10) br label %100 100: ; preds = %97, %88 br label %101 101: ; preds = %100 %102 = load i32, ptr %6, align 4 %103 = add nsw i32 %102, 4 store i32 %103, ptr %6, align 4 br label %48, !llvm.loop !6 104: ; preds = %48 %105 = load i32, ptr %9, align 4 %106 = load i32, ptr %8, align 4 %107 = add nsw i32 %106, %105 store i32 %107, ptr %8, align 4 br label %39, !llvm.loop !8 108: ; preds = %39 %109 = load i32, ptr @stdout, align 4 %110 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %109, ptr noundef @.str.11) %111 = load i32, ptr @stdout, align 4 %112 = load ptr, ptr %5, align 8 %113 = getelementptr inbounds ptr, ptr %112, i64 1 %114 = load ptr, ptr %113, align 8 %115 = load i32, ptr %8, align 4 %116 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %111, ptr noundef @.str.12, ptr noundef %114, i32 noundef %115) %117 = load i32, ptr @stdout, align 4 %118 = call i32 @fflush(i32 noundef %117) %119 = load i32, ptr @stdout, align 4 %120 = call i32 @fclose(i32 noundef %119) %121 = load i32, ptr @stderr, align 4 %122 = load i32, ptr %10, align 4 %123 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %121, ptr noundef @.str.13, i32 noundef %122) %124 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @fclose(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnpotg3o3.c" target datalayout = "e-m:e-p270: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"usage: %s name <in-file >out-file\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [4 x i8] c"/*\0A\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"* Miscellaneous data structures:\0A\00", align 1 @.str.3 = private unnamed_addr constant [51 x i8] c"* WARNING - this file is automatically generated!\0A\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"*/\0A\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.6 = private unnamed_addr constant [36 x i8] c"unsigned long orion_%s_start[] = {\0A\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"\09\00", align 1 @.str.8 = private unnamed_addr constant [19 x i8] c"0x%02X%02X%02X%02X\00", align 1 @.str.9 = private unnamed_addr constant [12 x i8] c", /* %x */\0A\00", align 1 @.str.10 = private unnamed_addr constant [2 x i8] c",\00", align 1 @.str.11 = private unnamed_addr constant [6 x i8] c"0 };\0A\00", align 1 @.str.12 = private unnamed_addr constant [37 x i8] c"unsigned long orion_%s_size = 0x%x;\0A\00", align 1 @.str.13 = private unnamed_addr constant [12 x i8] c"cksum = %x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca [8192 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 %14 = load i32, ptr %4, align 4 %15 = icmp ne i32 %14, 2 br i1 %15, label %16, label %23 16: ; preds = %2 %17 = load i32, ptr @stderr, align 4 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 0 %20 = load ptr, ptr %19, align 8 %21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str, ptr noundef %20) %22 = call i32 @exit(i32 noundef 1) #3 unreachable 23: ; preds = %2 %24 = load i32, ptr @stdout, align 4 %25 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %24, ptr noundef @.str.1) %26 = load i32, ptr @stdout, align 4 %27 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %26, ptr noundef @.str.2) %28 = load i32, ptr @stdout, align 4 %29 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %28, ptr noundef @.str.3) %30 = load i32, ptr @stdout, align 4 %31 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %30, ptr noundef @.str.4) %32 = load i32, ptr @stdout, align 4 %33 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %32, ptr noundef @.str.5) %34 = load i32, ptr @stdout, align 4 %35 = load ptr, ptr %5, align 8 %36 = getelementptr inbounds ptr, ptr %35, i64 1 %37 = load ptr, ptr %36, align 8 %38 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %34, ptr noundef @.str.6, ptr noundef %37) store i32 0, ptr %8, align 4 store i32 0, ptr %10, align 4 %39 = getelementptr inbounds [8192 x i8], ptr %13, i64 0, i64 0 %40 = call i32 @read(i32 noundef 0, ptr noundef %39, i32 noundef 8192) store i32 %40, ptr %9, align 4 %41 = icmp sgt i32 %40, 0 br i1 %41, label %.lr.ph2, label %111 .lr.ph2: ; preds = %23 br label %42 42: ; preds = %.lr.ph2, %105 store i32 0, ptr %7, align 4 %43 = getelementptr inbounds [8192 x i8], ptr %13, i64 0, i64 0 store ptr %43, ptr %12, align 8 %44 = load i32, ptr %9, align 4 %45 = add nsw i32 %44, 3 %46 = and i32 %45, -4 store i32 %46, ptr %9, align 4 store i32 0, ptr %6, align 4 %47 = load i32, ptr %6, align 4 %48 = load i32, ptr %9, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %.lr.ph, label %105 .lr.ph: ; preds = %42 br label %50 50: ; preds = %.lr.ph, %99 %51 = load i32, ptr %7, align 4 %52 = icmp eq i32 %51, 0 br i1 %52, label %53, label %56 53: ; preds = %50 %54 = load i32, ptr @stdout, align 4 %55 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %54, ptr noundef @.str.7) br label %56 56: ; preds = %53, %50 %57 = load i32, ptr @stdout, align 4 %58 = load ptr, ptr %12, align 8 %59 = getelementptr inbounds i8, ptr %58, i64 0 %60 = load i8, ptr %59, align 1 %61 = zext i8 %60 to i32 %62 = load ptr, ptr %12, align 8 %63 = getelementptr inbounds i8, ptr %62, i64 1 %64 = load i8, ptr %63, align 1 %65 = zext i8 %64 to i32 %66 = load ptr, ptr %12, align 8 %67 = getelementptr inbounds i8, ptr %66, i64 2 %68 = load i8, ptr %67, align 1 %69 = zext i8 %68 to i32 %70 = load ptr, ptr %12, align 8 %71 = getelementptr inbounds i8, ptr %70, i64 3 %72 = load i8, ptr %71, align 1 %73 = zext i8 %72 to i32 %74 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %57, ptr noundef @.str.8, i32 noundef %61, i32 noundef %65, i32 noundef %69, i32 noundef %73) %75 = load ptr, ptr %12, align 8 %76 = load i64, ptr %75, align 8 %77 = trunc i64 %76 to i32 store i32 %77, ptr %11, align 4 %78 = load i32, ptr %11, align 4 %79 = load i32, ptr %10, align 4 %80 = xor i32 %79, %78 store i32 %80, ptr %10, align 4 %81 = load ptr, ptr %12, align 8 %82 = getelementptr inbounds i8, ptr %81, i64 4 store ptr %82, ptr %12, align 8 %83 = load i32, ptr %7, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %7, align 4 %85 = icmp eq i32 %84, 4 br i1 %85, label %86, label %95 86: ; preds = %56 store i32 0, ptr %7, align 4 %87 = load i32, ptr @stdout, align 4 %88 = load i32, ptr %8, align 4 %89 = load i32, ptr %6, align 4 %90 = add nsw i32 %88, %89 %91 = sub nsw i32 %90, 12 %92 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %87, ptr noundef @.str.9, i32 noundef %91) %93 = load i32, ptr @stdout, align 4 %94 = call i32 @fflush(i32 noundef %93) br label %98 95: ; preds = %56 %96 = load i32, ptr @stdout, align 4 %97 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %96, ptr noundef @.str.10) br label %98 98: ; preds = %95, %86 br label %99 99: ; preds = %98 %100 = load i32, ptr %6, align 4 %101 = add nsw i32 %100, 4 store i32 %101, ptr %6, align 4 %102 = load i32, ptr %6, align 4 %103 = load i32, ptr %9, align 4 %104 = icmp slt i32 %102, %103 br i1 %104, label %50, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %99 br label %105 105: ; preds = %._crit_edge, %42 %106 = load i32, ptr %9, align 4 %107 = load i32, ptr %8, align 4 %108 = add nsw i32 %107, %106 store i32 %108, ptr %8, align 4 %109 = call i32 @read(i32 noundef 0, ptr noundef %39, i32 noundef 8192) store i32 %109, ptr %9, align 4 %110 = icmp sgt i32 %109, 0 br i1 %110, label %42, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %105 br label %111 111: ; preds = %._crit_edge3, %23 %112 = load i32, ptr @stdout, align 4 %113 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %112, ptr noundef @.str.11) %114 = load i32, ptr @stdout, align 4 %115 = load ptr, ptr %5, align 8 %116 = getelementptr inbounds ptr, ptr %115, i64 1 %117 = load ptr, ptr %116, align 8 %118 = load i32, ptr %8, align 4 %119 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %114, ptr noundef @.str.12, ptr noundef %117, i32 noundef %118) %120 = load i32, ptr @stdout, align 4 %121 = call i32 @fflush(i32 noundef %120) %122 = load i32, ptr @stdout, align 4 %123 = call i32 @fclose(i32 noundef %122) %124 = load i32, ptr @stderr, align 4 %125 = load i32, ptr %10, align 4 %126 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %124, ptr noundef @.str.13, i32 noundef %125) %127 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @fclose(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmprc6utr2m.c' source_filename = "/tmp/tmprc6utr2m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @v4lconvert_hm12_to_bgr24(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %6, align 8 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %8, align 4 %13 = call i32 @v4lconvert_hm12_to_rgb(ptr noundef %9, ptr noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef 0) ret void } declare i32 @v4lconvert_hm12_to_rgb(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprc6utr2m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @v4lconvert_hm12_to_bgr24(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %6, align 8 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %8, align 4 %13 = call i32 @v4lconvert_hm12_to_rgb(ptr noundef %9, ptr noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef 0) ret void } declare i32 @v4lconvert_hm12_to_rgb(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz75snuni.c' source_filename = "/tmp/tmpz75snuni.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"XGetICValues called\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @XGetICValues() #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/tmpz75snuni.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"XGetICValues called\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @XGetICValues() #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/tmpm_ik5anz.c' source_filename = "/tmp/tmpm_ik5anz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fitfun_finalize() #0 { %1 = call i32 (...) @loglike_posterior_theta_finalize() ret void } declare i32 @loglike_posterior_theta_finalize(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm_ik5anz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fitfun_finalize() #0 { %1 = call i32 (...) @loglike_posterior_theta_finalize() ret void } declare i32 @loglike_posterior_theta_finalize(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnextwcnd.c' source_filename = "/tmp/tmpnextwcnd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %2, align 4 store i32 1, ptr %3, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp ne i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 (...) @__VERIFIER_error() store i32 1, ptr %1, align 4 br label %9 8: ; preds = %0 store i32 0, ptr %1, align 4 br label %9 9: ; preds = %8, %6 %10 = load i32, ptr %1, align 4 ret i32 %10 } declare i32 @__VERIFIER_error(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnextwcnd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %2, align 4 store i32 1, ptr %3, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp ne i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 (...) @__VERIFIER_error() store i32 1, ptr %1, align 4 br label %9 8: ; preds = %0 store i32 0, ptr %1, align 4 br label %9 9: ; preds = %8, %6 %10 = load i32, ptr %1, align 4 ret i32 %10 } declare i32 @__VERIFIER_error(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjvh5degl.c' source_filename = "/tmp/tmpjvh5degl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fill_arround(ptr noundef %0, double noundef %1, double noundef %2, double noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store double %1, ptr %8, align 8 store double %2, ptr %9, align 8 store double %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %13 = load ptr, ptr %7, align 8 %14 = getelementptr inbounds double, ptr %13, i64 0 %15 = load double, ptr %14, align 8 %16 = load double, ptr %8, align 8 %17 = fadd double %15, %16 %18 = load ptr, ptr %7, align 8 %19 = getelementptr inbounds double, ptr %18, i64 1 %20 = load double, ptr %19, align 8 %21 = load double, ptr %9, align 8 %22 = fsub double %20, %21 %23 = load double, ptr %10, align 8 %24 = load ptr, ptr %11, align 8 %25 = load ptr, ptr %12, align 8 %26 = call i32 @set_coor(double noundef %17, double noundef %22, double noundef %23, ptr noundef %24, ptr noundef %25) %27 = load ptr, ptr %7, align 8 %28 = getelementptr inbounds double, ptr %27, i64 0 %29 = load double, ptr %28, align 8 %30 = load double, ptr %8, align 8 %31 = fadd double %29, %30 %32 = load ptr, ptr %7, align 8 %33 = getelementptr inbounds double, ptr %32, i64 1 %34 = load double, ptr %33, align 8 %35 = load double, ptr %10, align 8 %36 = load ptr, ptr %11, align 8 %37 = load ptr, ptr %12, align 8 %38 = call i32 @set_coor(double noundef %31, double noundef %34, double noundef %35, ptr noundef %36, ptr noundef %37) %39 = load ptr, ptr %7, align 8 %40 = getelementptr inbounds double, ptr %39, i64 0 %41 = load double, ptr %40, align 8 %42 = load double, ptr %8, align 8 %43 = fadd double %41, %42 %44 = load ptr, ptr %7, align 8 %45 = getelementptr inbounds double, ptr %44, i64 1 %46 = load double, ptr %45, align 8 %47 = load double, ptr %9, align 8 %48 = fadd double %46, %47 %49 = load double, ptr %10, align 8 %50 = load ptr, ptr %11, align 8 %51 = load ptr, ptr %12, align 8 %52 = call i32 @set_coor(double noundef %43, double noundef %48, double noundef %49, ptr noundef %50, ptr noundef %51) %53 = load ptr, ptr %7, align 8 %54 = getelementptr inbounds double, ptr %53, i64 0 %55 = load double, ptr %54, align 8 %56 = load ptr, ptr %7, align 8 %57 = getelementptr inbounds double, ptr %56, i64 1 %58 = load double, ptr %57, align 8 %59 = load double, ptr %9, align 8 %60 = fadd double %58, %59 %61 = load double, ptr %10, align 8 %62 = load ptr, ptr %11, align 8 %63 = load ptr, ptr %12, align 8 %64 = call i32 @set_coor(double noundef %55, double noundef %60, double noundef %61, ptr noundef %62, ptr noundef %63) %65 = load ptr, ptr %7, align 8 %66 = getelementptr inbounds double, ptr %65, i64 0 %67 = load double, ptr %66, align 8 %68 = load double, ptr %8, align 8 %69 = fsub double %67, %68 %70 = load ptr, ptr %7, align 8 %71 = getelementptr inbounds double, ptr %70, i64 1 %72 = load double, ptr %71, align 8 %73 = load double, ptr %9, align 8 %74 = fadd double %72, %73 %75 = load double, ptr %10, align 8 %76 = load ptr, ptr %11, align 8 %77 = load ptr, ptr %12, align 8 %78 = call i32 @set_coor(double noundef %69, double noundef %74, double noundef %75, ptr noundef %76, ptr noundef %77) %79 = load ptr, ptr %7, align 8 %80 = getelementptr inbounds double, ptr %79, i64 0 %81 = load double, ptr %80, align 8 %82 = load double, ptr %8, align 8 %83 = fsub double %81, %82 %84 = load ptr, ptr %7, align 8 %85 = getelementptr inbounds double, ptr %84, i64 1 %86 = load double, ptr %85, align 8 %87 = load double, ptr %10, align 8 %88 = load ptr, ptr %11, align 8 %89 = load ptr, ptr %12, align 8 %90 = call i32 @set_coor(double noundef %83, double noundef %86, double noundef %87, ptr noundef %88, ptr noundef %89) %91 = load ptr, ptr %7, align 8 %92 = getelementptr inbounds double, ptr %91, i64 0 %93 = load double, ptr %92, align 8 %94 = load double, ptr %8, align 8 %95 = fsub double %93, %94 %96 = load ptr, ptr %7, align 8 %97 = getelementptr inbounds double, ptr %96, i64 1 %98 = load double, ptr %97, align 8 %99 = load double, ptr %9, align 8 %100 = fsub double %98, %99 %101 = load double, ptr %10, align 8 %102 = load ptr, ptr %11, align 8 %103 = load ptr, ptr %12, align 8 %104 = call i32 @set_coor(double noundef %95, double noundef %100, double noundef %101, ptr noundef %102, ptr noundef %103) %105 = load ptr, ptr %7, align 8 %106 = getelementptr inbounds double, ptr %105, i64 0 %107 = load double, ptr %106, align 8 %108 = load ptr, ptr %7, align 8 %109 = getelementptr inbounds double, ptr %108, i64 1 %110 = load double, ptr %109, align 8 %111 = load double, ptr %9, align 8 %112 = fsub double %110, %111 %113 = load double, ptr %10, align 8 %114 = load ptr, ptr %11, align 8 %115 = load ptr, ptr %12, align 8 %116 = call i32 @set_coor(double noundef %107, double noundef %112, double noundef %113, ptr noundef %114, ptr noundef %115) ret void } declare i32 @set_coor(double noundef, double noundef, double noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjvh5degl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fill_arround(ptr noundef %0, double noundef %1, double noundef %2, double noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store double %1, ptr %8, align 8 store double %2, ptr %9, align 8 store double %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %13 = load ptr, ptr %7, align 8 %14 = getelementptr inbounds double, ptr %13, i64 0 %15 = load double, ptr %14, align 8 %16 = load double, ptr %8, align 8 %17 = fadd double %15, %16 %18 = load ptr, ptr %7, align 8 %19 = getelementptr inbounds double, ptr %18, i64 1 %20 = load double, ptr %19, align 8 %21 = load double, ptr %9, align 8 %22 = fsub double %20, %21 %23 = load double, ptr %10, align 8 %24 = load ptr, ptr %11, align 8 %25 = load ptr, ptr %12, align 8 %26 = call i32 @set_coor(double noundef %17, double noundef %22, double noundef %23, ptr noundef %24, ptr noundef %25) %27 = load ptr, ptr %7, align 8 %28 = getelementptr inbounds double, ptr %27, i64 0 %29 = load double, ptr %28, align 8 %30 = load double, ptr %8, align 8 %31 = fadd double %29, %30 %32 = load ptr, ptr %7, align 8 %33 = getelementptr inbounds double, ptr %32, i64 1 %34 = load double, ptr %33, align 8 %35 = load double, ptr %10, align 8 %36 = load ptr, ptr %11, align 8 %37 = load ptr, ptr %12, align 8 %38 = call i32 @set_coor(double noundef %31, double noundef %34, double noundef %35, ptr noundef %36, ptr noundef %37) %39 = load ptr, ptr %7, align 8 %40 = getelementptr inbounds double, ptr %39, i64 0 %41 = load double, ptr %40, align 8 %42 = load double, ptr %8, align 8 %43 = fadd double %41, %42 %44 = load ptr, ptr %7, align 8 %45 = getelementptr inbounds double, ptr %44, i64 1 %46 = load double, ptr %45, align 8 %47 = load double, ptr %9, align 8 %48 = fadd double %46, %47 %49 = load double, ptr %10, align 8 %50 = load ptr, ptr %11, align 8 %51 = load ptr, ptr %12, align 8 %52 = call i32 @set_coor(double noundef %43, double noundef %48, double noundef %49, ptr noundef %50, ptr noundef %51) %53 = load ptr, ptr %7, align 8 %54 = getelementptr inbounds double, ptr %53, i64 0 %55 = load double, ptr %54, align 8 %56 = load ptr, ptr %7, align 8 %57 = getelementptr inbounds double, ptr %56, i64 1 %58 = load double, ptr %57, align 8 %59 = load double, ptr %9, align 8 %60 = fadd double %58, %59 %61 = load double, ptr %10, align 8 %62 = load ptr, ptr %11, align 8 %63 = load ptr, ptr %12, align 8 %64 = call i32 @set_coor(double noundef %55, double noundef %60, double noundef %61, ptr noundef %62, ptr noundef %63) %65 = load ptr, ptr %7, align 8 %66 = getelementptr inbounds double, ptr %65, i64 0 %67 = load double, ptr %66, align 8 %68 = load double, ptr %8, align 8 %69 = fsub double %67, %68 %70 = load ptr, ptr %7, align 8 %71 = getelementptr inbounds double, ptr %70, i64 1 %72 = load double, ptr %71, align 8 %73 = load double, ptr %9, align 8 %74 = fadd double %72, %73 %75 = load double, ptr %10, align 8 %76 = load ptr, ptr %11, align 8 %77 = load ptr, ptr %12, align 8 %78 = call i32 @set_coor(double noundef %69, double noundef %74, double noundef %75, ptr noundef %76, ptr noundef %77) %79 = load ptr, ptr %7, align 8 %80 = getelementptr inbounds double, ptr %79, i64 0 %81 = load double, ptr %80, align 8 %82 = load double, ptr %8, align 8 %83 = fsub double %81, %82 %84 = load ptr, ptr %7, align 8 %85 = getelementptr inbounds double, ptr %84, i64 1 %86 = load double, ptr %85, align 8 %87 = load double, ptr %10, align 8 %88 = load ptr, ptr %11, align 8 %89 = load ptr, ptr %12, align 8 %90 = call i32 @set_coor(double noundef %83, double noundef %86, double noundef %87, ptr noundef %88, ptr noundef %89) %91 = load ptr, ptr %7, align 8 %92 = getelementptr inbounds double, ptr %91, i64 0 %93 = load double, ptr %92, align 8 %94 = load double, ptr %8, align 8 %95 = fsub double %93, %94 %96 = load ptr, ptr %7, align 8 %97 = getelementptr inbounds double, ptr %96, i64 1 %98 = load double, ptr %97, align 8 %99 = load double, ptr %9, align 8 %100 = fsub double %98, %99 %101 = load double, ptr %10, align 8 %102 = load ptr, ptr %11, align 8 %103 = load ptr, ptr %12, align 8 %104 = call i32 @set_coor(double noundef %95, double noundef %100, double noundef %101, ptr noundef %102, ptr noundef %103) %105 = load ptr, ptr %7, align 8 %106 = getelementptr inbounds double, ptr %105, i64 0 %107 = load double, ptr %106, align 8 %108 = load ptr, ptr %7, align 8 %109 = getelementptr inbounds double, ptr %108, i64 1 %110 = load double, ptr %109, align 8 %111 = load double, ptr %9, align 8 %112 = fsub double %110, %111 %113 = load double, ptr %10, align 8 %114 = load ptr, ptr %11, align 8 %115 = load ptr, ptr %12, align 8 %116 = call i32 @set_coor(double noundef %107, double noundef %112, double noundef %113, ptr noundef %114, ptr noundef %115) ret void } declare i32 @set_coor(double noundef, double noundef, double noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsgoc2t5o.c' source_filename = "/tmp/tmpsgoc2t5o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SYS_unlink = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @unlink(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @SYS_unlink, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @syscall(i32 noundef %3, ptr noundef %4) ret i32 %5 } declare i32 @syscall(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/tmpsgoc2t5o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SYS_unlink = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @unlink(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @SYS_unlink, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @syscall(i32 noundef %3, ptr noundef %4) ret i32 %5 } declare i32 @syscall(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/tmpelm4eh0j.c' source_filename = "/tmp/tmpelm4eh0j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isascii.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isascii should be 0 for 0x80\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isascii_0x80() #0 { %1 = call i64 @isascii(i32 noundef 128) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 645, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isascii(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/tmpelm4eh0j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isascii.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isascii should be 0 for 0x80\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isascii_0x80() #0 { %1 = call i64 @isascii(i32 noundef 128) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 645, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isascii(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/tmpsvt_vtqr.c' source_filename = "/tmp/tmpsvt_vtqr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FROM_BE16(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store ptr %2, ptr %3, align 8 store i32 0, ptr %5, align 4 store i32 0, ptr %4, align 4 br label %6 6: ; preds = %20, %1 %7 = load i32, ptr %5, align 4 %8 = sext i32 %7 to i64 %9 = icmp ult i64 %8, 4 br i1 %9, label %10, label %23 10: ; preds = %6 %11 = load i32, ptr %4, align 4 %12 = shl i32 %11, 8 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %5, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 %17 = load i8, ptr %16, align 1 %18 = zext i8 %17 to i32 %19 = add nsw i32 %12, %18 store i32 %19, ptr %4, align 4 br label %20 20: ; preds = %10 %21 = load i32, ptr %5, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %5, align 4 br label %6, !llvm.loop !6 23: ; preds = %6 %24 = load i32, ptr %4, align 4 ret i32 %24 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpsvt_vtqr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FROM_BE16(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store ptr %2, ptr %3, align 8 store i32 0, ptr %5, align 4 store i32 0, ptr %4, align 4 %6 = load i32, ptr %5, align 4 %7 = sext i32 %6 to i64 %8 = icmp ult i64 %7, 4 br i1 %8, label %.lr.ph, label %25 .lr.ph: ; preds = %1 br label %9 9: ; preds = %.lr.ph, %19 %10 = load i32, ptr %4, align 4 %11 = shl i32 %10, 8 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %12, i64 %14 %16 = load i8, ptr %15, align 1 %17 = zext i8 %16 to i32 %18 = add nsw i32 %11, %17 store i32 %18, ptr %4, align 4 br label %19 19: ; preds = %9 %20 = load i32, ptr %5, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %5, align 4 %22 = load i32, ptr %5, align 4 %23 = sext i32 %22 to i64 %24 = icmp ult i64 %23, 4 br i1 %24, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %25 25: ; preds = %._crit_edge, %1 %26 = load i32, ptr %4, align 4 ret i32 %26 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp6f2crjdc.c' source_filename = "/tmp/tmp6f2crjdc.c" target datalayout = "e-m:e-p270: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/tmp6f2crjdc.c" target datalayout = "e-m:e-p270: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/tmpfwre3fdu.c' source_filename = "/tmp/tmpfwre3fdu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"texto.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"\0AErro na abertura do arquivo!!!\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"pause\00", align 1 @.str.4 = private unnamed_addr constant [43 x i8] c"\09Digite o texto com at\C3\A9 100 caracteres:\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca [101 x i8], align 16 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %5, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %11, label %8 8: ; preds = %0 %9 = call i32 @printf(ptr noundef @.str.2) %10 = call i32 @system(ptr noundef @.str.3) store i32 0, ptr %1, align 4 br label %34 11: ; preds = %0 %12 = call i32 @printf(ptr noundef @.str.4) %13 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 0 %14 = call i32 @gets(ptr noundef %13) store i32 0, ptr %4, align 4 br label %15 15: ; preds = %27, %11 %16 = load i32, ptr %4, align 4 %17 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 0 %18 = call i32 @strlen(ptr noundef %17) %19 = icmp slt i32 %16, %18 br i1 %19, label %20, label %30 20: ; preds = %15 %21 = load i32, ptr %4, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 %22 %24 = load i8, ptr %23, align 1 %25 = load ptr, ptr %2, align 8 %26 = call i32 @fputc(i8 noundef signext %24, ptr noundef %25) br label %27 27: ; preds = %20 %28 = load i32, ptr %4, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %4, align 4 br label %15, !llvm.loop !6 30: ; preds = %15 %31 = load ptr, ptr %2, align 8 %32 = call i32 @fclose(ptr noundef %31) %33 = call i32 @system(ptr noundef @.str.3) store i32 0, ptr %1, align 4 br label %34 34: ; preds = %30, %8 %35 = load i32, ptr %1, align 4 ret i32 %35 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @system(ptr noundef) #1 declare i32 @gets(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @fputc(i8 noundef signext, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfwre3fdu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"texto.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"\0AErro na abertura do arquivo!!!\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"pause\00", align 1 @.str.4 = private unnamed_addr constant [43 x i8] c"\09Digite o texto com at\C3\A9 100 caracteres:\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca [101 x i8], align 16 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %5, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %11, label %8 8: ; preds = %0 %9 = call i32 @printf(ptr noundef @.str.2) %10 = call i32 @system(ptr noundef @.str.3) store i32 0, ptr %1, align 4 br label %36 11: ; preds = %0 %12 = call i32 @printf(ptr noundef @.str.4) %13 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 0 %14 = call i32 @gets(ptr noundef %13) store i32 0, ptr %4, align 4 %15 = load i32, ptr %4, align 4 %16 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 0 %17 = call i32 @strlen(ptr noundef %16) %18 = icmp slt i32 %15, %17 br i1 %18, label %.lr.ph, label %32 .lr.ph: ; preds = %11 br label %19 19: ; preds = %.lr.ph, %26 %20 = load i32, ptr %4, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 %21 %23 = load i8, ptr %22, align 1 %24 = load ptr, ptr %2, align 8 %25 = call i32 @fputc(i8 noundef signext %23, ptr noundef %24) br label %26 26: ; preds = %19 %27 = load i32, ptr %4, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %4, align 4 %29 = load i32, ptr %4, align 4 %30 = call i32 @strlen(ptr noundef %16) %31 = icmp slt i32 %29, %30 br i1 %31, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %32 32: ; preds = %._crit_edge, %11 %33 = load ptr, ptr %2, align 8 %34 = call i32 @fclose(ptr noundef %33) %35 = call i32 @system(ptr noundef @.str.3) store i32 0, ptr %1, align 4 br label %36 36: ; preds = %32, %8 %37 = load i32, ptr %1, align 4 ret i32 %37 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @system(ptr noundef) #1 declare i32 @gets(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @fputc(i8 noundef signext, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp2c3htg7m.c' source_filename = "/tmp/tmp2c3htg7m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stringArrayLen(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %11, %1 %5 = load ptr, ptr %2, align 8 %6 = load i32, ptr %3, align 4 %7 = sext i32 %6 to i64 %8 = getelementptr inbounds ptr, ptr %5, i64 %7 %9 = load ptr, ptr %8, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %11, label %14 11: ; preds = %4 %12 = load i32, ptr %3, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %3, align 4 br label %4, !llvm.loop !6 14: ; preds = %4 %15 = load i32, ptr %3, align 4 ret i32 %15 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp2c3htg7m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stringArrayLen(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr %3, align 4 %6 = sext i32 %5 to i64 %7 = getelementptr inbounds ptr, ptr %4, i64 %6 %8 = load ptr, ptr %7, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %.lr.ph, label %19 .lr.ph: ; preds = %1 br label %10 10: ; preds = %.lr.ph, %10 %11 = load i32, ptr %3, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %3, align 4 %13 = load ptr, ptr %2, align 8 %14 = load i32, ptr %3, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds ptr, ptr %13, i64 %15 %17 = load ptr, ptr %16, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %19 19: ; preds = %._crit_edge, %1 %20 = load i32, ptr %3, align 4 ret i32 %20 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp9xugsj3a.c' source_filename = "/tmp/tmp9xugsj3a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @anp_sys_malloc(i64 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i64 %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i64, ptr %4, align 8 %8 = call ptr @valloc(i64 noundef %7) ret ptr %8 } declare ptr @valloc(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9xugsj3a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @anp_sys_malloc(i64 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i64 %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i64, ptr %4, align 8 %8 = call ptr @valloc(i64 noundef %7) ret ptr %8 } declare ptr @valloc(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6wtebgp0.c' source_filename = "/tmp/tmp6wtebgp0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bufferevent_setcb(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store ptr %4, ptr %10, align 8 %11 = load ptr, ptr %6, align 8 %12 = load i32, ptr %7, align 4 %13 = load i32, ptr %8, align 4 %14 = load i32, ptr %9, align 4 %15 = load ptr, ptr %10, 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/tmp6wtebgp0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bufferevent_setcb(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store ptr %4, ptr %10, align 8 %11 = load ptr, ptr %6, align 8 %12 = load i32, ptr %7, align 4 %13 = load i32, ptr %8, align 4 %14 = load i32, ptr %9, align 4 %15 = load ptr, ptr %10, 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/tmpik370j3m.c' source_filename = "/tmp/tmpik370j3m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__iswlower_l(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 @iswlower(i32 noundef %5) ret i32 %6 } declare i32 @iswlower(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/tmpik370j3m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__iswlower_l(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 @iswlower(i32 noundef %5) ret i32 %6 } declare i32 @iswlower(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/tmpu9i9_yto.c' source_filename = "/tmp/tmpu9i9_yto.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mkqsort_bs(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 ptr, ptr %3, align 8 %6 = load i64, ptr %4, align 8 call void @multikey2(ptr noundef %5, i64 noundef %6) ret void } declare void @multikey2(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu9i9_yto.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mkqsort_bs(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 ptr, ptr %3, align 8 %6 = load i64, ptr %4, align 8 call void @multikey2(ptr noundef %5, i64 noundef %6) ret void } declare void @multikey2(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzxfwyp59.c' source_filename = "/tmp/tmpzxfwyp59.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nboffile(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 store i32 0, ptr %9, align 4 br label %10 10: ; preds = %30, %4 %11 = load i32, ptr %9, align 4 %12 = load i32, ptr %7, align 4 %13 = add nsw i32 %11, %12 %14 = load i32, ptr %6, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %28 16: ; preds = %10 %17 = load ptr, ptr %5, align 8 %18 = load i32, ptr %9, align 4 %19 = load i32, ptr %7, align 4 %20 = add nsw i32 %18, %19 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds ptr, ptr %17, i64 %21 %23 = load ptr, ptr %22, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 0 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp ne i32 %26, 45 br label %28 28: ; preds = %16, %10 %29 = phi i1 [ false, %10 ], [ %27, %16 ] br i1 %29, label %30, label %45 30: ; preds = %28 %31 = load ptr, ptr %5, align 8 %32 = load i32, ptr %9, align 4 %33 = load i32, ptr %7, align 4 %34 = add nsw i32 %32, %33 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds ptr, ptr %31, i64 %35 %37 = load ptr, ptr %36, align 8 %38 = call ptr @strdup(ptr noundef %37) %39 = load ptr, ptr %8, align 8 %40 = load i32, ptr %9, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds ptr, ptr %39, i64 %41 store ptr %38, ptr %42, align 8 %43 = load i32, ptr %9, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %9, align 4 br label %10, !llvm.loop !6 45: ; preds = %28 %46 = load i32, ptr %9, align 4 ret i32 %46 } declare ptr @strdup(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzxfwyp59.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nboffile(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 store i32 0, ptr %9, align 4 br label %10 10: ; preds = %30, %4 %11 = load i32, ptr %9, align 4 %12 = load i32, ptr %7, align 4 %13 = add nsw i32 %11, %12 %14 = load i32, ptr %6, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %28 16: ; preds = %10 %17 = load ptr, ptr %5, align 8 %18 = load i32, ptr %9, align 4 %19 = load i32, ptr %7, align 4 %20 = add nsw i32 %18, %19 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds ptr, ptr %17, i64 %21 %23 = load ptr, ptr %22, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 0 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp ne i32 %26, 45 br label %28 28: ; preds = %16, %10 %29 = phi i1 [ false, %10 ], [ %27, %16 ] br i1 %29, label %30, label %45 30: ; preds = %28 %31 = load ptr, ptr %5, align 8 %32 = load i32, ptr %9, align 4 %33 = load i32, ptr %7, align 4 %34 = add nsw i32 %32, %33 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds ptr, ptr %31, i64 %35 %37 = load ptr, ptr %36, align 8 %38 = call ptr @strdup(ptr noundef %37) %39 = load ptr, ptr %8, align 8 %40 = load i32, ptr %9, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds ptr, ptr %39, i64 %41 store ptr %38, ptr %42, align 8 %43 = load i32, ptr %9, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %9, align 4 br label %10, !llvm.loop !6 45: ; preds = %28 %46 = load i32, ptr %9, align 4 ret i32 %46 } declare ptr @strdup(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_69s4ynh.c' source_filename = "/tmp/tmp_69s4ynh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rb\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @fileSizeF(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call ptr @fopen(ptr noundef %5, ptr noundef @.str) store ptr %6, ptr %3, align 8 store i64 0, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %16 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = call i32 @fseek(ptr noundef %10, i32 noundef 0, i32 noundef 2) %12 = load ptr, ptr %3, align 8 %13 = call i64 @ftell(ptr noundef %12) store i64 %13, ptr %4, align 8 %14 = load ptr, ptr %3, align 8 %15 = call i32 @fclose(ptr noundef %14) br label %16 16: ; preds = %9, %1 %17 = load i64, ptr %4, align 8 ret i64 %17 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @ftell(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_69s4ynh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rb\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @fileSizeF(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call ptr @fopen(ptr noundef %5, ptr noundef @.str) store ptr %6, ptr %3, align 8 store i64 0, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %16 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = call i32 @fseek(ptr noundef %10, i32 noundef 0, i32 noundef 2) %12 = load ptr, ptr %3, align 8 %13 = call i64 @ftell(ptr noundef %12) store i64 %13, ptr %4, align 8 %14 = load ptr, ptr %3, align 8 %15 = call i32 @fclose(ptr noundef %14) br label %16 16: ; preds = %9, %1 %17 = load i64, ptr %4, align 8 ret i64 %17 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @ftell(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8arlrrjw.c' source_filename = "/tmp/tmp8arlrrjw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"Usage: %s [-e | -c] dump_file\0A\00", align 1 @.str.1 = private unnamed_addr constant [45 x i8] c"Where: -e Dump is from an EMC model\0A\00", align 1 @.str.2 = private unnamed_addr constant [53 x i8] c" -c Dump is from a Commander II model\0A\00", align 1 @.str.3 = private unnamed_addr constant [64 x i8] c" -d Dump is from a Commander I model (pre-21000)\0A\00", align 1 @.str.4 = private unnamed_addr constant [66 x i8] c" -t Dump is from a Commander TM model (circa 1995)\0A\00", align 1 @.str.5 = private unnamed_addr constant [66 x i8] c" dump_file Is the file containing the dive computer dump.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(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 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %10 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8arlrrjw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"Usage: %s [-e | -c] dump_file\0A\00", align 1 @.str.1 = private unnamed_addr constant [45 x i8] c"Where: -e Dump is from an EMC model\0A\00", align 1 @.str.2 = private unnamed_addr constant [53 x i8] c" -c Dump is from a Commander II model\0A\00", align 1 @.str.3 = private unnamed_addr constant [64 x i8] c" -d Dump is from a Commander I model (pre-21000)\0A\00", align 1 @.str.4 = private unnamed_addr constant [66 x i8] c" -t Dump is from a Commander TM model (circa 1995)\0A\00", align 1 @.str.5 = private unnamed_addr constant [66 x i8] c" dump_file Is the file containing the dive computer dump.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(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 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %10 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxyy_l7jg.c' source_filename = "/tmp/tmpxyy_l7jg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"r\00", align 1 @SEEK_END = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_source(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = call ptr @fopen(ptr noundef %7, ptr noundef @.str) store ptr %8, ptr %3, align 8 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr @SEEK_END, align 4 %11 = call i32 @fseek(ptr noundef %9, i32 noundef 0, i32 noundef %10) %12 = load ptr, ptr %3, align 8 %13 = call i64 @ftell(ptr noundef %12) store i64 %13, ptr %4, align 8 %14 = load ptr, ptr %3, align 8 %15 = call i32 @rewind(ptr noundef %14) %16 = load i64, ptr %4, align 8 %17 = add nsw i64 %16, 1 %18 = mul i64 1, %17 %19 = trunc i64 %18 to i32 %20 = call i64 @malloc(i32 noundef %19) %21 = inttoptr i64 %20 to ptr store ptr %21, ptr %5, align 8 %22 = load ptr, ptr %5, align 8 %23 = load i64, ptr %4, align 8 %24 = mul i64 1, %23 %25 = trunc i64 %24 to i32 %26 = load ptr, ptr %3, align 8 %27 = call i32 @fread(ptr noundef %22, i32 noundef 1, i32 noundef %25, ptr noundef %26) store i32 %27, ptr %6, align 4 %28 = load ptr, ptr %5, align 8 %29 = load i64, ptr %4, align 8 %30 = getelementptr inbounds i8, ptr %28, i64 %29 store i8 0, ptr %30, align 1 %31 = load ptr, ptr %3, align 8 %32 = call i32 @fclose(ptr noundef %31) %33 = load ptr, ptr %5, align 8 ret ptr %33 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @ftell(ptr noundef) #1 declare i32 @rewind(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxyy_l7jg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"r\00", align 1 @SEEK_END = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_source(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = call ptr @fopen(ptr noundef %7, ptr noundef @.str) store ptr %8, ptr %3, align 8 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr @SEEK_END, align 4 %11 = call i32 @fseek(ptr noundef %9, i32 noundef 0, i32 noundef %10) %12 = load ptr, ptr %3, align 8 %13 = call i64 @ftell(ptr noundef %12) store i64 %13, ptr %4, align 8 %14 = load ptr, ptr %3, align 8 %15 = call i32 @rewind(ptr noundef %14) %16 = load i64, ptr %4, align 8 %17 = add nsw i64 %16, 1 %18 = mul i64 1, %17 %19 = trunc i64 %18 to i32 %20 = call i64 @malloc(i32 noundef %19) %21 = inttoptr i64 %20 to ptr store ptr %21, ptr %5, align 8 %22 = load ptr, ptr %5, align 8 %23 = load i64, ptr %4, align 8 %24 = mul i64 1, %23 %25 = trunc i64 %24 to i32 %26 = load ptr, ptr %3, align 8 %27 = call i32 @fread(ptr noundef %22, i32 noundef 1, i32 noundef %25, ptr noundef %26) store i32 %27, ptr %6, align 4 %28 = load ptr, ptr %5, align 8 %29 = load i64, ptr %4, align 8 %30 = getelementptr inbounds i8, ptr %28, i64 %29 store i8 0, ptr %30, align 1 %31 = load ptr, ptr %3, align 8 %32 = call i32 @fclose(ptr noundef %31) %33 = load ptr, ptr %5, align 8 ret ptr %33 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @ftell(ptr noundef) #1 declare i32 @rewind(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfjlbesd1.c' source_filename = "/tmp/tmpfjlbesd1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @zfeast_hegv(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16) #0 { %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca ptr, align 8 %23 = alloca ptr, align 8 %24 = alloca ptr, align 8 %25 = alloca ptr, align 8 %26 = alloca ptr, align 8 %27 = alloca ptr, align 8 %28 = alloca ptr, align 8 %29 = alloca ptr, align 8 %30 = alloca ptr, align 8 %31 = alloca ptr, align 8 %32 = alloca ptr, align 8 %33 = alloca ptr, align 8 %34 = alloca ptr, align 8 store ptr %0, ptr %18, align 8 store ptr %1, ptr %19, align 8 store ptr %2, ptr %20, align 8 store ptr %3, ptr %21, align 8 store ptr %4, ptr %22, align 8 store ptr %5, ptr %23, align 8 store ptr %6, ptr %24, align 8 store ptr %7, ptr %25, align 8 store ptr %8, ptr %26, align 8 store ptr %9, ptr %27, align 8 store ptr %10, ptr %28, align 8 store ptr %11, ptr %29, align 8 store ptr %12, ptr %30, align 8 store ptr %13, ptr %31, align 8 store ptr %14, ptr %32, align 8 store ptr %15, ptr %33, align 8 store ptr %16, ptr %34, align 8 %35 = load ptr, ptr %18, align 8 %36 = load ptr, ptr %19, align 8 %37 = load ptr, ptr %20, align 8 %38 = load ptr, ptr %21, align 8 %39 = load ptr, ptr %22, align 8 %40 = load ptr, ptr %23, align 8 %41 = load ptr, ptr %24, align 8 %42 = load ptr, ptr %25, align 8 %43 = load ptr, ptr %26, align 8 %44 = load ptr, ptr %27, align 8 %45 = load ptr, ptr %28, align 8 %46 = load ptr, ptr %29, align 8 %47 = load ptr, ptr %30, align 8 %48 = load ptr, ptr %31, align 8 %49 = load ptr, ptr %32, align 8 %50 = load ptr, ptr %33, align 8 %51 = load ptr, ptr %34, align 8 %52 = call i32 @zfeast_hegv_(ptr noundef %35, ptr noundef %36, ptr noundef %37, ptr noundef %38, ptr noundef %39, ptr noundef %40, ptr noundef %41, ptr noundef %42, ptr noundef %43, ptr noundef %44, ptr noundef %45, ptr noundef %46, ptr noundef %47, ptr noundef %48, ptr noundef %49, ptr noundef %50, ptr noundef %51) ret void } declare i32 @zfeast_hegv_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfjlbesd1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @zfeast_hegv(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16) #0 { %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca ptr, align 8 %23 = alloca ptr, align 8 %24 = alloca ptr, align 8 %25 = alloca ptr, align 8 %26 = alloca ptr, align 8 %27 = alloca ptr, align 8 %28 = alloca ptr, align 8 %29 = alloca ptr, align 8 %30 = alloca ptr, align 8 %31 = alloca ptr, align 8 %32 = alloca ptr, align 8 %33 = alloca ptr, align 8 %34 = alloca ptr, align 8 store ptr %0, ptr %18, align 8 store ptr %1, ptr %19, align 8 store ptr %2, ptr %20, align 8 store ptr %3, ptr %21, align 8 store ptr %4, ptr %22, align 8 store ptr %5, ptr %23, align 8 store ptr %6, ptr %24, align 8 store ptr %7, ptr %25, align 8 store ptr %8, ptr %26, align 8 store ptr %9, ptr %27, align 8 store ptr %10, ptr %28, align 8 store ptr %11, ptr %29, align 8 store ptr %12, ptr %30, align 8 store ptr %13, ptr %31, align 8 store ptr %14, ptr %32, align 8 store ptr %15, ptr %33, align 8 store ptr %16, ptr %34, align 8 %35 = load ptr, ptr %18, align 8 %36 = load ptr, ptr %19, align 8 %37 = load ptr, ptr %20, align 8 %38 = load ptr, ptr %21, align 8 %39 = load ptr, ptr %22, align 8 %40 = load ptr, ptr %23, align 8 %41 = load ptr, ptr %24, align 8 %42 = load ptr, ptr %25, align 8 %43 = load ptr, ptr %26, align 8 %44 = load ptr, ptr %27, align 8 %45 = load ptr, ptr %28, align 8 %46 = load ptr, ptr %29, align 8 %47 = load ptr, ptr %30, align 8 %48 = load ptr, ptr %31, align 8 %49 = load ptr, ptr %32, align 8 %50 = load ptr, ptr %33, align 8 %51 = load ptr, ptr %34, align 8 %52 = call i32 @zfeast_hegv_(ptr noundef %35, ptr noundef %36, ptr noundef %37, ptr noundef %38, ptr noundef %39, ptr noundef %40, ptr noundef %41, ptr noundef %42, ptr noundef %43, ptr noundef %44, ptr noundef %45, ptr noundef %46, ptr noundef %47, ptr noundef %48, ptr noundef %49, ptr noundef %50, ptr noundef %51) ret void } declare i32 @zfeast_hegv_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6y707a5a.c' source_filename = "/tmp/tmp6y707a5a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"%d%d%d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4) %6 = load i32, ptr %2, align 4 %7 = add nsw i32 1, %6 %8 = load i32, ptr %3, align 4 %9 = add nsw i32 %7, %8 %10 = load i32, ptr %4, align 4 %11 = add nsw i32 %9, %10 %12 = call i32 @printf(ptr noundef @.str.1, i32 noundef %11) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6y707a5a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"%d%d%d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4) %6 = load i32, ptr %2, align 4 %7 = add nsw i32 1, %6 %8 = load i32, ptr %3, align 4 %9 = add nsw i32 %7, %8 %10 = load i32, ptr %4, align 4 %11 = add nsw i32 %9, %10 %12 = call i32 @printf(ptr noundef @.str.1, i32 noundef %11) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpr20r9gb_.c' source_filename = "/tmp/tmpr20r9gb_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @scripting_GetOptional_Int(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 %8 = load ptr, ptr %4, align 8 %9 = call i32 @scripting_GetValue(ptr noundef %8) %10 = call i32 (...) @scripting_IsNil() %11 = icmp ne i32 %10, 0 br i1 %11, label %15, label %12 12: ; preds = %3 %13 = load ptr, ptr %5, align 8 %14 = call i32 @scripting_GetIntegerResult(ptr noundef %13) store i32 %14, ptr %7, align 4 br label %19 15: ; preds = %3 %16 = load i32, ptr %6, align 4 %17 = load ptr, ptr %5, align 8 store i32 %16, ptr %17, align 4 %18 = call i32 (...) @scripting_Pop() br label %19 19: ; preds = %15, %12 %20 = load i32, ptr %7, align 4 ret i32 %20 } declare i32 @scripting_GetValue(ptr noundef) #1 declare i32 @scripting_IsNil(...) #1 declare i32 @scripting_GetIntegerResult(ptr noundef) #1 declare i32 @scripting_Pop(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr20r9gb_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @scripting_GetOptional_Int(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 %8 = load ptr, ptr %4, align 8 %9 = call i32 @scripting_GetValue(ptr noundef %8) %10 = call i32 (...) @scripting_IsNil() %11 = icmp ne i32 %10, 0 br i1 %11, label %15, label %12 12: ; preds = %3 %13 = load ptr, ptr %5, align 8 %14 = call i32 @scripting_GetIntegerResult(ptr noundef %13) store i32 %14, ptr %7, align 4 br label %19 15: ; preds = %3 %16 = load i32, ptr %6, align 4 %17 = load ptr, ptr %5, align 8 store i32 %16, ptr %17, align 4 %18 = call i32 (...) @scripting_Pop() br label %19 19: ; preds = %15, %12 %20 = load i32, ptr %7, align 4 ret i32 %20 } declare i32 @scripting_GetValue(ptr noundef) #1 declare i32 @scripting_IsNil(...) #1 declare i32 @scripting_GetIntegerResult(ptr noundef) #1 declare i32 @scripting_Pop(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpi9x_x6xu.c' source_filename = "/tmp/tmpi9x_x6xu.c" target datalayout = "e-m:e-p270: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/tmpi9x_x6xu.c" target datalayout = "e-m:e-p270: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/tmptk7o3qiq.c' source_filename = "/tmp/tmptk7o3qiq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Could not get process group number\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"killpg did not return success.\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"Test PASSED\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 (...) @getpgrp() store i32 %3, ptr %2, align 4 %4 = icmp eq i32 %3, -1 br i1 %4, label %5, label %7 5: ; preds = %0 %6 = call i32 @printf(ptr noundef @.str) store i32 2, ptr %1, align 4 br label %15 7: ; preds = %0 %8 = load i32, ptr %2, align 4 %9 = call i64 @killpg(i32 noundef %8, i32 noundef 0) %10 = icmp ne i64 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %7 %12 = call i32 @printf(ptr noundef @.str.1) store i32 2, ptr %1, align 4 br label %15 13: ; preds = %7 %14 = call i32 @printf(ptr noundef @.str.2) store i32 0, ptr %1, align 4 br label %15 15: ; preds = %13, %11, %5 %16 = load i32, ptr %1, align 4 ret i32 %16 } declare i32 @getpgrp(...) #1 declare i32 @printf(ptr noundef) #1 declare i64 @killpg(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/tmptk7o3qiq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Could not get process group number\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"killpg did not return success.\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"Test PASSED\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 (...) @getpgrp() store i32 %3, ptr %2, align 4 %4 = icmp eq i32 %3, -1 br i1 %4, label %5, label %7 5: ; preds = %0 %6 = call i32 @printf(ptr noundef @.str) store i32 2, ptr %1, align 4 br label %15 7: ; preds = %0 %8 = load i32, ptr %2, align 4 %9 = call i64 @killpg(i32 noundef %8, i32 noundef 0) %10 = icmp ne i64 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %7 %12 = call i32 @printf(ptr noundef @.str.1) store i32 2, ptr %1, align 4 br label %15 13: ; preds = %7 %14 = call i32 @printf(ptr noundef @.str.2) store i32 0, ptr %1, align 4 br label %15 15: ; preds = %13, %11, %5 %16 = load i32, ptr %1, align 4 ret i32 %16 } declare i32 @getpgrp(...) #1 declare i32 @printf(ptr noundef) #1 declare i64 @killpg(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/tmpc9jfh9jc.c' source_filename = "/tmp/tmpc9jfh9jc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"/dev/spec0\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [16 x i8] c"open /dev/spec0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = load i32, ptr %4, align 4 %10 = icmp ne i32 %9, 2 br i1 %10, label %11, label %16 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 0 %14 = load ptr, ptr %13, align 8 %15 = call i32 @print_help(ptr noundef %14) br label %16 16: ; preds = %11, %2 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call i32 @atoi(ptr noundef %19) store i32 %20, ptr %8, align 4 %21 = load i32, ptr @O_RDWR, align 4 %22 = call i32 @open(ptr noundef @.str, i32 noundef %21) store i32 %22, ptr %6, align 4 %23 = load i32, ptr %6, align 4 %24 = icmp slt i32 %23, 0 br i1 %24, label %25, label %28 25: ; preds = %16 %26 = call i32 @perror(ptr noundef @.str.1) %27 = load i32, ptr %6, align 4 store i32 %27, ptr %3, align 4 br label %38 28: ; preds = %16 %29 = load i32, ptr %6, align 4 %30 = load i32, ptr %8, align 4 %31 = call i32 @get_ckpt_status(i32 noundef %29, i32 noundef %30) store i32 %31, ptr %7, align 4 %32 = load i32, ptr %7, align 4 %33 = icmp ne i32 %32, 1 br i1 %33, label %34, label %35 34: ; preds = %28 store i32 -1, ptr %3, align 4 br label %38 35: ; preds = %28 %36 = load i32, ptr %6, align 4 %37 = call i32 @close(i32 noundef %36) store i32 0, ptr %3, align 4 br label %38 38: ; preds = %35, %34, %25 %39 = load i32, ptr %3, align 4 ret i32 %39 } declare i32 @print_help(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @get_ckpt_status(i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc9jfh9jc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"/dev/spec0\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [16 x i8] c"open /dev/spec0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = load i32, ptr %4, align 4 %10 = icmp ne i32 %9, 2 br i1 %10, label %11, label %16 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 0 %14 = load ptr, ptr %13, align 8 %15 = call i32 @print_help(ptr noundef %14) br label %16 16: ; preds = %11, %2 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call i32 @atoi(ptr noundef %19) store i32 %20, ptr %8, align 4 %21 = load i32, ptr @O_RDWR, align 4 %22 = call i32 @open(ptr noundef @.str, i32 noundef %21) store i32 %22, ptr %6, align 4 %23 = load i32, ptr %6, align 4 %24 = icmp slt i32 %23, 0 br i1 %24, label %25, label %28 25: ; preds = %16 %26 = call i32 @perror(ptr noundef @.str.1) %27 = load i32, ptr %6, align 4 store i32 %27, ptr %3, align 4 br label %38 28: ; preds = %16 %29 = load i32, ptr %6, align 4 %30 = load i32, ptr %8, align 4 %31 = call i32 @get_ckpt_status(i32 noundef %29, i32 noundef %30) store i32 %31, ptr %7, align 4 %32 = load i32, ptr %7, align 4 %33 = icmp ne i32 %32, 1 br i1 %33, label %34, label %35 34: ; preds = %28 store i32 -1, ptr %3, align 4 br label %38 35: ; preds = %28 %36 = load i32, ptr %6, align 4 %37 = call i32 @close(i32 noundef %36) store i32 0, ptr %3, align 4 br label %38 38: ; preds = %35, %34, %25 %39 = load i32, ptr %3, align 4 ret i32 %39 } declare i32 @print_help(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @get_ckpt_status(i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp79lduqry.c' source_filename = "/tmp/tmp79lduqry.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"Podaj kat w stopniach : \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @M_PI = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [19 x i8] c"%lf deg = %lf rad\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 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = load i32, ptr @M_PI, align 4 %7 = mul nsw i32 2, %6 %8 = sitofp i32 %7 to double %9 = load double, ptr %2, align 8 %10 = fmul double %8, %9 %11 = fdiv double %10, 3.600000e+02 store double %11, ptr %3, align 8 %12 = load double, ptr %2, align 8 %13 = load double, ptr %3, align 8 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %12, double noundef %13) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp79lduqry.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"Podaj kat w stopniach : \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @M_PI = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [19 x i8] c"%lf deg = %lf rad\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 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = load i32, ptr @M_PI, align 4 %7 = mul nsw i32 2, %6 %8 = sitofp i32 %7 to double %9 = load double, ptr %2, align 8 %10 = fmul double %8, %9 %11 = fdiv double %10, 3.600000e+02 store double %11, ptr %3, align 8 %12 = load double, ptr %2, align 8 %13 = load double, ptr %3, align 8 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %12, double noundef %13) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4mvc847v.c' source_filename = "/tmp/tmp4mvc847v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4mvc847v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdwtgkc6p.c' source_filename = "/tmp/tmpdwtgkc6p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @convert_nummotif2text(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @strlen(ptr noundef %7) store i32 %8, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %9 9: ; preds = %41, %2 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %5, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %44 13: ; preds = %9 %14 = load ptr, ptr %3, align 8 %15 = load i32, ptr %6, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 switch i32 %19, label %40 [ i32 1, label %20 i32 2, label %25 i32 3, label %30 i32 4, label %35 ] 20: ; preds = %13 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %6, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %21, i64 %23 store i8 97, ptr %24, align 1 br label %40 25: ; preds = %13 %26 = load ptr, ptr %4, align 8 %27 = load i32, ptr %6, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %26, i64 %28 store i8 99, ptr %29, align 1 br label %40 30: ; preds = %13 %31 = load ptr, ptr %4, align 8 %32 = load i32, ptr %6, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %31, i64 %33 store i8 103, ptr %34, align 1 br label %40 35: ; preds = %13 %36 = load ptr, ptr %4, align 8 %37 = load i32, ptr %6, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %36, i64 %38 store i8 116, ptr %39, align 1 br label %40 40: ; preds = %13, %35, %30, %25, %20 br label %41 41: ; preds = %40 %42 = load i32, ptr %6, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %6, align 4 br label %9, !llvm.loop !6 44: ; preds = %9 ret void } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdwtgkc6p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @convert_nummotif2text(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @strlen(ptr noundef %7) store i32 %8, ptr %5, align 4 store i32 0, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph, label %46 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %40 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %6, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 switch i32 %18, label %39 [ i32 1, label %19 i32 2, label %24 i32 3, label %29 i32 4, label %34 ] 19: ; preds = %12 %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %6, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 store i8 97, ptr %23, align 1 br label %39 24: ; preds = %12 %25 = load ptr, ptr %4, align 8 %26 = load i32, ptr %6, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %25, i64 %27 store i8 99, ptr %28, align 1 br label %39 29: ; preds = %12 %30 = load ptr, ptr %4, align 8 %31 = load i32, ptr %6, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %30, i64 %32 store i8 103, ptr %33, align 1 br label %39 34: ; preds = %12 %35 = load ptr, ptr %4, align 8 %36 = load i32, ptr %6, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 store i8 116, ptr %38, align 1 br label %39 39: ; preds = %34, %29, %24, %19, %12 br label %40 40: ; preds = %39 %41 = load i32, ptr %6, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %6, align 4 %43 = load i32, ptr %6, align 4 %44 = load i32, ptr %5, align 4 %45 = icmp slt i32 %43, %44 br i1 %45, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %40 br label %46 46: ; preds = %._crit_edge, %2 ret void } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpqvd3zpg9.c' source_filename = "/tmp/tmpqvd3zpg9.c" target datalayout = "e-m:e-p270: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/tmpqvd3zpg9.c" target datalayout = "e-m:e-p270: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/tmpwkfpnued.c' source_filename = "/tmp/tmpwkfpnued.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @yyDeU8free(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/tmpwkfpnued.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @yyDeU8free(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/tmpjzhsiu0x.c' source_filename = "/tmp/tmpjzhsiu0x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reverse(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 br label %5 5: ; preds = %13, %2 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %9, label %18 9: ; preds = %5 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %4, align 4 %12 = call i32 @field_swap(i32 noundef %10, i32 noundef %11) br label %13 13: ; preds = %9 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %3, align 4 %16 = load i32, ptr %4, align 4 %17 = add nsw i32 %16, -1 store i32 %17, ptr %4, align 4 br label %5, !llvm.loop !6 18: ; preds = %5 ret void } declare i32 @field_swap(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/tmpjzhsiu0x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reverse(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %5, %6 br i1 %7, label %.lr.ph, label %20 .lr.ph: ; preds = %2 br label %8 8: ; preds = %.lr.ph, %12 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %4, align 4 %11 = call i32 @field_swap(i32 noundef %9, i32 noundef %10) br label %12 12: ; preds = %8 %13 = load i32, ptr %3, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %3, align 4 %15 = load i32, ptr %4, align 4 %16 = add nsw i32 %15, -1 store i32 %16, ptr %4, align 4 %17 = load i32, ptr %3, align 4 %18 = load i32, ptr %4, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %20 20: ; preds = %._crit_edge, %2 ret void } declare i32 @field_swap(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/tmp1qz838mr.c' source_filename = "/tmp/tmp1qz838mr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"112\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"1\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"2\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @countPrimes(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %8 = call i32 @printf(ptr noundef @.str) %9 = load i32, ptr %2, align 4 %10 = sdiv i32 %9, 8 %11 = add nsw i32 %10, 1 %12 = call ptr @calloc(i32 noundef %11, i32 noundef 1) store ptr %12, ptr %3, align 8 store i32 0, ptr %4, align 4 %13 = call i32 @printf(ptr noundef @.str.1) store i32 2, ptr %5, align 4 br label %14 14: ; preds = %44, %1 %15 = load i32, ptr %5, align 4 %16 = load i32, ptr %5, align 4 %17 = mul nsw i32 %15, %16 %18 = load i32, ptr %2, align 4 %19 = icmp sle i32 %17, %18 br i1 %19, label %20, label %47 20: ; preds = %14 %21 = load ptr, ptr %3, align 8 %22 = load i32, ptr %5, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %21, i64 %23 %25 = load i8, ptr %24, align 1 %26 = icmp ne i8 %25, 0 br i1 %26, label %27, label %43 27: ; preds = %20 %28 = load i32, ptr %5, align 4 store i32 %28, ptr %6, align 4 br label %29 29: ; preds = %38, %27 %30 = load i32, ptr %6, align 4 %31 = load i32, ptr %2, align 4 %32 = icmp sle i32 %30, %31 br i1 %32, label %33, label %42 33: ; preds = %29 %34 = load ptr, ptr %3, align 8 %35 = load i32, ptr %6, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %34, i64 %36 store i8 0, ptr %37, align 1 br label %38 38: ; preds = %33 %39 = load i32, ptr %5, align 4 %40 = load i32, ptr %6, align 4 %41 = add nsw i32 %40, %39 store i32 %41, ptr %6, align 4 br label %29, !llvm.loop !6 42: ; preds = %29 br label %43 43: ; preds = %42, %20 br label %44 44: ; preds = %43 %45 = load i32, ptr %5, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %5, align 4 br label %14, !llvm.loop !8 47: ; preds = %14 %48 = call i32 @printf(ptr noundef @.str.2) store i32 2, ptr %7, align 4 br label %49 49: ; preds = %64, %47 %50 = load i32, ptr %7, align 4 %51 = load i32, ptr %2, align 4 %52 = icmp sle i32 %50, %51 br i1 %52, label %53, label %67 53: ; preds = %49 %54 = load ptr, ptr %3, align 8 %55 = load i32, ptr %7, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i8, ptr %54, i64 %56 %58 = load i8, ptr %57, align 1 %59 = icmp ne i8 %58, 0 br i1 %59, label %60, label %63 60: ; preds = %53 %61 = load i32, ptr %4, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %4, align 4 br label %63 63: ; preds = %60, %53 br label %64 64: ; preds = %63 %65 = load i32, ptr %7, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %7, align 4 br label %49, !llvm.loop !9 67: ; preds = %49 %68 = load i32, ptr %4, align 4 ret i32 %68 } declare i32 @printf(ptr noundef) #1 declare ptr @calloc(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/tmp1qz838mr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"112\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"1\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"2\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @countPrimes(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %8 = call i32 @printf(ptr noundef @.str) %9 = load i32, ptr %2, align 4 %10 = sdiv i32 %9, 8 %11 = add nsw i32 %10, 1 %12 = call ptr @calloc(i32 noundef %11, i32 noundef 1) store ptr %12, ptr %3, align 8 store i32 0, ptr %4, align 4 %13 = call i32 @printf(ptr noundef @.str.1) store i32 2, ptr %5, align 4 %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %5, align 4 %16 = mul nsw i32 %14, %15 %17 = load i32, ptr %2, align 4 %18 = icmp sle i32 %16, %17 br i1 %18, label %.lr.ph2, label %53 .lr.ph2: ; preds = %1 br label %19 19: ; preds = %.lr.ph2, %45 %20 = load ptr, ptr %3, align 8 %21 = load i32, ptr %5, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 %24 = load i8, ptr %23, align 1 %25 = icmp ne i8 %24, 0 br i1 %25, label %26, label %44 26: ; preds = %19 %27 = load i32, ptr %5, align 4 store i32 %27, ptr %6, align 4 %28 = load i32, ptr %6, align 4 %29 = load i32, ptr %2, align 4 %30 = icmp sle i32 %28, %29 br i1 %30, label %.lr.ph, label %43 .lr.ph: ; preds = %26 br label %31 31: ; preds = %.lr.ph, %36 %32 = load ptr, ptr %3, align 8 %33 = load i32, ptr %6, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 store i8 0, ptr %35, align 1 br label %36 36: ; preds = %31 %37 = load i32, ptr %5, align 4 %38 = load i32, ptr %6, align 4 %39 = add nsw i32 %38, %37 store i32 %39, ptr %6, align 4 %40 = load i32, ptr %6, align 4 %41 = load i32, ptr %2, align 4 %42 = icmp sle i32 %40, %41 br i1 %42, label %31, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %43 43: ; preds = %._crit_edge, %26 br label %44 44: ; preds = %43, %19 br label %45 45: ; preds = %44 %46 = load i32, ptr %5, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %5, align 4 %48 = load i32, ptr %5, align 4 %49 = load i32, ptr %5, align 4 %50 = mul nsw i32 %48, %49 %51 = load i32, ptr %2, align 4 %52 = icmp sle i32 %50, %51 br i1 %52, label %19, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %45 br label %53 53: ; preds = %._crit_edge3, %1 %54 = call i32 @printf(ptr noundef @.str.2) store i32 2, ptr %7, align 4 %55 = load i32, ptr %7, align 4 %56 = load i32, ptr %2, align 4 %57 = icmp sle i32 %55, %56 br i1 %57, label %.lr.ph5, label %75 .lr.ph5: ; preds = %53 br label %58 58: ; preds = %.lr.ph5, %69 %59 = load ptr, ptr %3, align 8 %60 = load i32, ptr %7, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i8, ptr %59, i64 %61 %63 = load i8, ptr %62, align 1 %64 = icmp ne i8 %63, 0 br i1 %64, label %65, label %68 65: ; preds = %58 %66 = load i32, ptr %4, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %4, align 4 br label %68 68: ; preds = %65, %58 br label %69 69: ; preds = %68 %70 = load i32, ptr %7, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %7, align 4 %72 = load i32, ptr %7, align 4 %73 = load i32, ptr %2, align 4 %74 = icmp sle i32 %72, %73 br i1 %74, label %58, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %69 br label %75 75: ; preds = %._crit_edge6, %53 %76 = load i32, ptr %4, align 4 ret i32 %76 } declare i32 @printf(ptr noundef) #1 declare ptr @calloc(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/tmpsvp7s_hy.c' source_filename = "/tmp/tmpsvp7s_hy.c" target datalayout = "e-m:e-p270: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/tmpsvp7s_hy.c" target datalayout = "e-m:e-p270: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/tmplys8e4a5.c' source_filename = "/tmp/tmplys8e4a5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [8 x i8] c"Socket:\00", align 1 @errno = dso_local global i32 0, align 4 @INADDR_ANY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [5 x i8] c"Bind\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"Listen\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"%s:%d, connected...\0A\00", align 1 @.str.4 = private unnamed_addr constant [39 x i8] c"String received from the client: \22%s\22\0A\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"Closed\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca %struct.sockaddr_in, align 4 %6 = alloca %struct.sockaddr_in, align 4 %7 = alloca i32, align 4 %8 = alloca [1024 x i8], align 16 store i32 0, ptr %1, align 4 store i32 12, ptr %7, align 4 %9 = call i32 (...) @check_endianness() %10 = load i32, ptr @AF_INET, align 4 %11 = load i32, ptr @SOCK_STREAM, align 4 %12 = call i32 @socket(i32 noundef %10, i32 noundef %11, i32 noundef 0) store i32 %12, ptr %2, align 4 %13 = load i32, ptr %2, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %19 15: ; preds = %0 %16 = call i32 @perror(ptr noundef @.str) %17 = load i32, ptr @errno, align 4 %18 = call i32 @exit(i32 noundef %17) #3 unreachable 19: ; preds = %0 %20 = call i32 @bzero(ptr noundef %5, i32 noundef 12) %21 = load i32, ptr @AF_INET, align 4 %22 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 2 store i32 %21, ptr %22, align 4 %23 = call i32 @htons(i32 noundef 17231) %24 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 0 store i32 %23, ptr %24, align 4 %25 = load i32, ptr @INADDR_ANY, align 4 %26 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 1 %27 = getelementptr inbounds %struct.TYPE_2__, ptr %26, i32 0, i32 0 store i32 %25, ptr %27, align 4 %28 = load i32, ptr %2, align 4 %29 = call i64 @bind(i32 noundef %28, ptr noundef %5, i32 noundef 12) %30 = icmp ne i64 %29, 0 br i1 %30, label %31, label %35 31: ; preds = %19 %32 = call i32 @perror(ptr noundef @.str.1) %33 = load i32, ptr @errno, align 4 %34 = call i32 @exit(i32 noundef %33) #3 unreachable 35: ; preds = %19 %36 = load i32, ptr %2, align 4 %37 = call i64 @listen(i32 noundef %36, i32 noundef 20) %38 = icmp ne i64 %37, 0 br i1 %38, label %39, label %42 39: ; preds = %35 %40 = call i32 @perror(ptr noundef @.str.2) %41 = call i32 @exit(i32 noundef 0) #3 unreachable 42: ; preds = %35 %43 = load i32, ptr %2, align 4 %44 = call i32 @accept(i32 noundef %43, ptr noundef %6, ptr noundef %7) store i32 %44, ptr %3, align 4 %45 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1 %46 = getelementptr inbounds %struct.TYPE_2__, ptr %45, i32 0, i32 0 %47 = load i32, ptr %46, align 4 %48 = call ptr @inet_ntoa(i32 %47) %49 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0 %50 = load i32, ptr %49, align 4 %51 = call i32 @ntohs(i32 noundef %50) %52 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %48, i32 noundef %51) br label %53 53: ; preds = %42, %60 %54 = load i32, ptr %3, align 4 %55 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %56 = call i32 @recv(i32 noundef %54, ptr noundef %55, i32 noundef 1024, i32 noundef 0) store i32 %56, ptr %4, align 4 %57 = load i32, ptr %4, align 4 %58 = icmp sle i32 %57, 0 br i1 %58, label %59, label %60 59: ; preds = %53 br label %70 60: ; preds = %53 %61 = load i32, ptr %4, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 %62 store i8 0, ptr %63, align 1 %64 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %65 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %64) %66 = load i32, ptr %3, align 4 %67 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %68 = load i32, ptr %4, align 4 %69 = call i32 @send(i32 noundef %66, ptr noundef %67, i32 noundef %68, i32 noundef 0) br label %53 70: ; preds = %59 %71 = call i32 @perror(ptr noundef @.str.5) %72 = load i32, ptr %3, align 4 %73 = call i32 @close(i32 noundef %72) %74 = load i32, ptr %2, align 4 %75 = call i32 @close(i32 noundef %74) %76 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @check_endianness(...) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @listen(i32 noundef, i32 noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, ...) #1 declare ptr @inet_ntoa(i32) #1 declare i32 @ntohs(i32 noundef) #1 declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplys8e4a5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [8 x i8] c"Socket:\00", align 1 @errno = dso_local global i32 0, align 4 @INADDR_ANY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [5 x i8] c"Bind\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"Listen\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"%s:%d, connected...\0A\00", align 1 @.str.4 = private unnamed_addr constant [39 x i8] c"String received from the client: \22%s\22\0A\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"Closed\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca %struct.sockaddr_in, align 4 %6 = alloca %struct.sockaddr_in, align 4 %7 = alloca i32, align 4 %8 = alloca [1024 x i8], align 16 store i32 0, ptr %1, align 4 store i32 12, ptr %7, align 4 %9 = call i32 (...) @check_endianness() %10 = load i32, ptr @AF_INET, align 4 %11 = load i32, ptr @SOCK_STREAM, align 4 %12 = call i32 @socket(i32 noundef %10, i32 noundef %11, i32 noundef 0) store i32 %12, ptr %2, align 4 %13 = load i32, ptr %2, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %19 15: ; preds = %0 %16 = call i32 @perror(ptr noundef @.str) %17 = load i32, ptr @errno, align 4 %18 = call i32 @exit(i32 noundef %17) #3 unreachable 19: ; preds = %0 %20 = call i32 @bzero(ptr noundef %5, i32 noundef 12) %21 = load i32, ptr @AF_INET, align 4 %22 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 2 store i32 %21, ptr %22, align 4 %23 = call i32 @htons(i32 noundef 17231) %24 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 0 store i32 %23, ptr %24, align 4 %25 = load i32, ptr @INADDR_ANY, align 4 %26 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 1 %27 = getelementptr inbounds %struct.TYPE_2__, ptr %26, i32 0, i32 0 store i32 %25, ptr %27, align 4 %28 = load i32, ptr %2, align 4 %29 = call i64 @bind(i32 noundef %28, ptr noundef %5, i32 noundef 12) %30 = icmp ne i64 %29, 0 br i1 %30, label %31, label %35 31: ; preds = %19 %32 = call i32 @perror(ptr noundef @.str.1) %33 = load i32, ptr @errno, align 4 %34 = call i32 @exit(i32 noundef %33) #3 unreachable 35: ; preds = %19 %36 = load i32, ptr %2, align 4 %37 = call i64 @listen(i32 noundef %36, i32 noundef 20) %38 = icmp ne i64 %37, 0 br i1 %38, label %39, label %42 39: ; preds = %35 %40 = call i32 @perror(ptr noundef @.str.2) %41 = call i32 @exit(i32 noundef 0) #3 unreachable 42: ; preds = %35 %43 = load i32, ptr %2, align 4 %44 = call i32 @accept(i32 noundef %43, ptr noundef %6, ptr noundef %7) store i32 %44, ptr %3, align 4 %45 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1 %46 = getelementptr inbounds %struct.TYPE_2__, ptr %45, i32 0, i32 0 %47 = load i32, ptr %46, align 4 %48 = call ptr @inet_ntoa(i32 %47) %49 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0 %50 = load i32, ptr %49, align 4 %51 = call i32 @ntohs(i32 noundef %50) %52 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %48, i32 noundef %51) %53 = load i32, ptr %3, align 4 %54 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %55 = call i32 @recv(i32 noundef %53, ptr noundef %54, i32 noundef 1024, i32 noundef 0) store i32 %55, ptr %4, align 4 %56 = load i32, ptr %4, align 4 %57 = icmp sle i32 %56, 0 br i1 %57, label %58, label %.lr.ph .lr.ph: ; preds = %42 br label %59 ._crit_edge: ; preds = %59 br label %58 58: ; preds = %._crit_edge, %42 br label %73 59: ; preds = %.lr.ph, %59 %60 = load i32, ptr %4, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 %61 store i8 0, ptr %62, align 1 %63 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %64 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %63) %65 = load i32, ptr %3, align 4 %66 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %67 = load i32, ptr %4, align 4 %68 = call i32 @send(i32 noundef %65, ptr noundef %66, i32 noundef %67, i32 noundef 0) %69 = load i32, ptr %3, align 4 %70 = call i32 @recv(i32 noundef %69, ptr noundef %54, i32 noundef 1024, i32 noundef 0) store i32 %70, ptr %4, align 4 %71 = load i32, ptr %4, align 4 %72 = icmp sle i32 %71, 0 br i1 %72, label %._crit_edge, label %59 73: ; preds = %58 %74 = call i32 @perror(ptr noundef @.str.5) %75 = load i32, ptr %3, align 4 %76 = call i32 @close(i32 noundef %75) %77 = load i32, ptr %2, align 4 %78 = call i32 @close(i32 noundef %77) %79 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @check_endianness(...) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @listen(i32 noundef, i32 noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, ...) #1 declare ptr @inet_ntoa(i32) #1 declare i32 @ntohs(i32 noundef) #1 declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp70jtsuqs.c' source_filename = "/tmp/tmp70jtsuqs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vp9_wb_write_literal(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = sub nsw i32 %8, 1 store i32 %9, ptr %7, align 4 br label %10 10: ; preds = %20, %3 %11 = load i32, ptr %7, align 4 %12 = icmp sge i32 %11, 0 br i1 %12, label %13, label %23 13: ; preds = %10 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr %5, align 4 %16 = load i32, ptr %7, align 4 %17 = ashr i32 %15, %16 %18 = and i32 %17, 1 %19 = call i32 @vp9_wb_write_bit(ptr noundef %14, i32 noundef %18) br label %20 20: ; preds = %13 %21 = load i32, ptr %7, align 4 %22 = add nsw i32 %21, -1 store i32 %22, ptr %7, align 4 br label %10, !llvm.loop !6 23: ; preds = %10 ret void } declare i32 @vp9_wb_write_bit(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/tmp70jtsuqs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vp9_wb_write_literal(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = sub nsw i32 %8, 1 store i32 %9, ptr %7, align 4 %10 = load i32, ptr %7, align 4 %11 = icmp sge i32 %10, 0 br i1 %11, label %.lr.ph, label %24 .lr.ph: ; preds = %3 br label %12 12: ; preds = %.lr.ph, %19 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %7, align 4 %16 = ashr i32 %14, %15 %17 = and i32 %16, 1 %18 = call i32 @vp9_wb_write_bit(ptr noundef %13, i32 noundef %17) br label %19 19: ; preds = %12 %20 = load i32, ptr %7, align 4 %21 = add nsw i32 %20, -1 store i32 %21, ptr %7, align 4 %22 = load i32, ptr %7, align 4 %23 = icmp sge i32 %22, 0 br i1 %23, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %24 24: ; preds = %._crit_edge, %3 ret void } declare i32 @vp9_wb_write_bit(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/tmpnlbuwkiv.c' source_filename = "/tmp/tmpnlbuwkiv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @nextafterf(float noundef %0, float noundef %1) #0 { %3 = alloca float, align 4 %4 = alloca float, align 4 store float %0, ptr %3, align 4 store float %1, ptr %4, align 4 %5 = load float, ptr %3, align 4 %6 = load float, ptr %4, align 4 %7 = call float @_nextafterf(float noundef %5, float noundef %6) ret float %7 } declare float @_nextafterf(float noundef, 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/tmpnlbuwkiv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @nextafterf(float noundef %0, float noundef %1) #0 { %3 = alloca float, align 4 %4 = alloca float, align 4 store float %0, ptr %3, align 4 store float %1, ptr %4, align 4 %5 = load float, ptr %3, align 4 %6 = load float, ptr %4, align 4 %7 = call float @_nextafterf(float noundef %5, float noundef %6) ret float %7 } declare float @_nextafterf(float noundef, 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/tmpptf01lzn.c' source_filename = "/tmp/tmpptf01lzn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @substrCheck(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %6, align 4 %11 = load ptr, ptr %3, align 8 %12 = call i32 @length(ptr noundef %11) store i32 %12, ptr %9, align 4 %13 = load ptr, ptr %4, align 8 %14 = call i32 @length(ptr noundef %13) store i32 %14, ptr %10, align 4 store i32 0, ptr %5, align 4 br label %15 15: ; preds = %56, %2 %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %9, align 4 %18 = load i32, ptr %10, align 4 %19 = sub nsw i32 %17, %18 %20 = add nsw i32 %19, 1 %21 = icmp slt i32 %16, %20 br i1 %21, label %22, label %59 22: ; preds = %15 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 br label %23 23: ; preds = %47, %22 %24 = load i32, ptr %8, align 4 %25 = load i32, ptr %10, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %27, label %50 27: ; preds = %23 %28 = load ptr, ptr %3, align 8 %29 = load i32, ptr %5, align 4 %30 = load i32, ptr %8, align 4 %31 = add nsw i32 %29, %30 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %28, i64 %32 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = load ptr, ptr %4, align 8 %37 = load i32, ptr %8, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %36, i64 %38 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp eq i32 %35, %41 br i1 %42, label %43, label %46 43: ; preds = %27 %44 = load i32, ptr %7, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %7, align 4 br label %46 46: ; preds = %43, %27 br label %47 47: ; preds = %46 %48 = load i32, ptr %8, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %8, align 4 br label %23, !llvm.loop !6 50: ; preds = %23 %51 = load i32, ptr %7, align 4 %52 = load i32, ptr %10, align 4 %53 = icmp eq i32 %51, %52 br i1 %53, label %54, label %55 54: ; preds = %50 store i32 1, ptr %6, align 4 br label %55 55: ; preds = %54, %50 br label %56 56: ; preds = %55 %57 = load i32, ptr %5, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %5, align 4 br label %15, !llvm.loop !8 59: ; preds = %15 %60 = load i32, ptr %6, align 4 ret i32 %60 } declare i32 @length(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpptf01lzn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @substrCheck(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %6, align 4 %11 = load ptr, ptr %3, align 8 %12 = call i32 @length(ptr noundef %11) store i32 %12, ptr %9, align 4 %13 = load ptr, ptr %4, align 8 %14 = call i32 @length(ptr noundef %13) store i32 %14, ptr %10, align 4 store i32 0, ptr %5, align 4 %15 = load i32, ptr %5, align 4 %16 = load i32, ptr %9, align 4 %17 = load i32, ptr %10, align 4 %18 = sub nsw i32 %16, %17 %19 = add nsw i32 %18, 1 %20 = icmp slt i32 %15, %19 br i1 %20, label %.lr.ph2, label %66 .lr.ph2: ; preds = %2 br label %21 21: ; preds = %.lr.ph2, %57 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 %22 = load i32, ptr %8, align 4 %23 = load i32, ptr %10, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %.lr.ph, label %51 .lr.ph: ; preds = %21 br label %25 25: ; preds = %.lr.ph, %45 %26 = load ptr, ptr %3, align 8 %27 = load i32, ptr %5, align 4 %28 = load i32, ptr %8, align 4 %29 = add nsw i32 %27, %28 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %26, i64 %30 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = load ptr, ptr %4, align 8 %35 = load i32, ptr %8, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %34, i64 %36 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp eq i32 %33, %39 br i1 %40, label %41, label %44 41: ; preds = %25 %42 = load i32, ptr %7, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %7, align 4 br label %44 44: ; preds = %41, %25 br label %45 45: ; preds = %44 %46 = load i32, ptr %8, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %8, align 4 %48 = load i32, ptr %8, align 4 %49 = load i32, ptr %10, align 4 %50 = icmp slt i32 %48, %49 br i1 %50, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %45 br label %51 51: ; preds = %._crit_edge, %21 %52 = load i32, ptr %7, align 4 %53 = load i32, ptr %10, align 4 %54 = icmp eq i32 %52, %53 br i1 %54, label %55, label %56 55: ; preds = %51 store i32 1, ptr %6, align 4 br label %56 56: ; preds = %55, %51 br label %57 57: ; preds = %56 %58 = load i32, ptr %5, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %5, align 4 %60 = load i32, ptr %5, align 4 %61 = load i32, ptr %9, align 4 %62 = load i32, ptr %10, align 4 %63 = sub nsw i32 %61, %62 %64 = add nsw i32 %63, 1 %65 = icmp slt i32 %60, %64 br i1 %65, label %21, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %57 br label %66 66: ; preds = %._crit_edge3, %2 %67 = load i32, ptr %6, align 4 ret i32 %67 } declare i32 @length(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp2zm79spq.c' source_filename = "/tmp/tmp2zm79spq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %6, 10000 br i1 %7, label %8, label %25 8: ; preds = %0 store i32 1, ptr %3, align 4 br label %9 9: ; preds = %21, %8 %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %10, 10000 br i1 %11, label %12, label %24 12: ; preds = %9 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %2, align 4 %15 = srem i32 %13, %14 %16 = icmp eq i32 %15, 2 br i1 %16, label %17, label %20 17: ; preds = %12 %18 = load i32, ptr %3, align 4 %19 = call i32 @printf(ptr noundef @.str.1, i32 noundef %18) br label %20 20: ; preds = %17, %12 br label %21 21: ; preds = %20 %22 = load i32, ptr %3, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %3, align 4 br label %9, !llvm.loop !6 24: ; preds = %9 br label %25 25: ; preds = %24, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2zm79spq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %6, 10000 br i1 %7, label %8, label %26 8: ; preds = %0 store i32 1, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %9, 10000 br i1 %10, label %.lr.ph, label %25 .lr.ph: ; preds = %8 br label %11 11: ; preds = %.lr.ph, %20 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr %2, align 4 %14 = srem i32 %12, %13 %15 = icmp eq i32 %14, 2 br i1 %15, label %16, label %19 16: ; preds = %11 %17 = load i32, ptr %3, align 4 %18 = call i32 @printf(ptr noundef @.str.1, i32 noundef %17) br label %19 19: ; preds = %16, %11 br label %20 20: ; preds = %19 %21 = load i32, ptr %3, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %3, align 4 %23 = load i32, ptr %3, align 4 %24 = icmp slt i32 %23, 10000 br i1 %24, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %25 25: ; preds = %._crit_edge, %8 br label %26 26: ; preds = %25, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpg6q_5hig.c' source_filename = "/tmp/tmpg6q_5hig.c" target datalayout = "e-m:e-p270: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 [92 x i8] c"Warn: string_to_enigma_input: Input string contains invalid characters - replaced with 'X'.\00", align 1 @.str.1 = private unnamed_addr constant [65 x i8] c"Warn: string_to_enigma_input: Input string was not of length 13.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @string_to_enigma_input(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %51, %2 %7 = load ptr, ptr %3, align 8 %8 = load i32, ptr %5, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds i8, ptr %7, i64 %9 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %54 14: ; preds = %6 %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr %5, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp slt i32 %20, 65 br i1 %21, label %30, label %22 22: ; preds = %14 %23 = load ptr, ptr %3, align 8 %24 = load i32, ptr %5, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp sgt i32 %28, 90 br i1 %29, label %30, label %37 30: ; preds = %22, %14 %31 = load i32, ptr @stderr, align 4 %32 = call i32 @fprintf(i32 noundef %31, ptr noundef @.str) %33 = load ptr, ptr %4, align 8 %34 = load i32, ptr %5, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %33, i64 %35 store i8 -23, ptr %36, align 1 br label %50 37: ; preds = %22 %38 = load ptr, ptr %3, align 8 %39 = load i32, ptr %5, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %38, i64 %40 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = sub nsw i32 %43, 65 %45 = trunc i32 %44 to i8 %46 = load ptr, ptr %4, align 8 %47 = load i32, ptr %5, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i8, ptr %46, i64 %48 store i8 %45, ptr %49, align 1 br label %50 50: ; preds = %37, %30 br label %51 51: ; preds = %50 %52 = load i32, ptr %5, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %5, align 4 br label %6, !llvm.loop !6 54: ; preds = %6 %55 = load i32, ptr %5, align 4 %56 = icmp ne i32 %55, 13 br i1 %56, label %57, label %60 57: ; preds = %54 %58 = load i32, ptr @stderr, align 4 %59 = call i32 @fprintf(i32 noundef %58, ptr noundef @.str.1) br label %60 60: ; preds = %57, %54 ret void } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg6q_5hig.c" target datalayout = "e-m:e-p270: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 [92 x i8] c"Warn: string_to_enigma_input: Input string contains invalid characters - replaced with 'X'.\00", align 1 @.str.1 = private unnamed_addr constant [65 x i8] c"Warn: string_to_enigma_input: Input string was not of length 13.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @string_to_enigma_input(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 %6 = load ptr, ptr %3, align 8 %7 = load i32, ptr %5, align 4 %8 = sext i32 %7 to i64 %9 = getelementptr inbounds i8, ptr %6, i64 %8 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 0 br i1 %12, label %.lr.ph, label %60 .lr.ph: ; preds = %2 br label %13 13: ; preds = %.lr.ph, %50 %14 = load ptr, ptr %3, align 8 %15 = load i32, ptr %5, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp slt i32 %19, 65 br i1 %20, label %29, label %21 21: ; preds = %13 %22 = load ptr, ptr %3, align 8 %23 = load i32, ptr %5, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %22, i64 %24 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp sgt i32 %27, 90 br i1 %28, label %29, label %36 29: ; preds = %21, %13 %30 = load i32, ptr @stderr, align 4 %31 = call i32 @fprintf(i32 noundef %30, ptr noundef @.str) %32 = load ptr, ptr %4, align 8 %33 = load i32, ptr %5, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 store i8 -23, ptr %35, align 1 br label %49 36: ; preds = %21 %37 = load ptr, ptr %3, align 8 %38 = load i32, ptr %5, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %37, i64 %39 %41 = load i8, ptr %40, align 1 %42 = sext i8 %41 to i32 %43 = sub nsw i32 %42, 65 %44 = trunc i32 %43 to i8 %45 = load ptr, ptr %4, align 8 %46 = load i32, ptr %5, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i8, ptr %45, i64 %47 store i8 %44, ptr %48, align 1 br label %49 49: ; preds = %36, %29 br label %50 50: ; preds = %49 %51 = load i32, ptr %5, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %5, align 4 %53 = load ptr, ptr %3, align 8 %54 = load i32, ptr %5, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i8, ptr %53, i64 %55 %57 = load i8, ptr %56, align 1 %58 = sext i8 %57 to i32 %59 = icmp ne i32 %58, 0 br i1 %59, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %50 br label %60 60: ; preds = %._crit_edge, %2 %61 = load i32, ptr %5, align 4 %62 = icmp ne i32 %61, 13 br i1 %62, label %63, label %66 63: ; preds = %60 %64 = load i32, ptr @stderr, align 4 %65 = call i32 @fprintf(i32 noundef %64, ptr noundef @.str.1) br label %66 66: ; preds = %63, %60 ret void } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpu1kyk_jh.c' source_filename = "/tmp/tmpu1kyk_jh.c" target datalayout = "e-m:e-p270: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/tmpu1kyk_jh.c" target datalayout = "e-m:e-p270: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/tmp4_p3krgs.c' source_filename = "/tmp/tmp4_p3krgs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { double, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @getTimeval() #0 { %1 = alloca %struct.timeval, align 8 %2 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null) %3 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0 %4 = load double, ptr %3, align 8 %5 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1 %6 = load i64, ptr %5, align 8 %7 = sitofp i64 %6 to double %8 = call double @llvm.fmuladd.f64(double %7, double 0x3EB0C6F7A0B5ED8D, double %4) ret double %8 } declare i32 @gettimeofday(ptr noundef, ptr 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/tmp4_p3krgs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { double, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @getTimeval() #0 { %1 = alloca %struct.timeval, align 8 %2 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null) %3 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0 %4 = load double, ptr %3, align 8 %5 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1 %6 = load i64, ptr %5, align 8 %7 = sitofp i64 %6 to double %8 = call double @llvm.fmuladd.f64(double %7, double 0x3EB0C6F7A0B5ED8D, double %4) ret double %8 } declare i32 @gettimeofday(ptr noundef, ptr 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/tmph3zieikc.c' source_filename = "/tmp/tmph3zieikc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @omap_get_gpio(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 -1, ptr %3, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @omap_request_gpio(i32 noundef %4) %6 = icmp ne i32 %5, 0 br i1 %6, label %14, label %7 7: ; preds = %1 %8 = load i32, ptr %2, align 4 %9 = call i32 @omap_set_gpio_direction(i32 noundef %8, i32 noundef 1) %10 = load i32, ptr %2, align 4 %11 = call i32 @omap_get_gpio_datain(i32 noundef %10) store i32 %11, ptr %3, align 4 %12 = load i32, ptr %2, align 4 %13 = call i32 @omap_free_gpio(i32 noundef %12) br label %14 14: ; preds = %7, %1 %15 = load i32, ptr %3, align 4 ret i32 %15 } declare i32 @omap_request_gpio(i32 noundef) #1 declare i32 @omap_set_gpio_direction(i32 noundef, i32 noundef) #1 declare i32 @omap_get_gpio_datain(i32 noundef) #1 declare i32 @omap_free_gpio(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/tmph3zieikc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @omap_get_gpio(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 -1, ptr %3, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @omap_request_gpio(i32 noundef %4) %6 = icmp ne i32 %5, 0 br i1 %6, label %14, label %7 7: ; preds = %1 %8 = load i32, ptr %2, align 4 %9 = call i32 @omap_set_gpio_direction(i32 noundef %8, i32 noundef 1) %10 = load i32, ptr %2, align 4 %11 = call i32 @omap_get_gpio_datain(i32 noundef %10) store i32 %11, ptr %3, align 4 %12 = load i32, ptr %2, align 4 %13 = call i32 @omap_free_gpio(i32 noundef %12) br label %14 14: ; preds = %7, %1 %15 = load i32, ptr %3, align 4 ret i32 %15 } declare i32 @omap_request_gpio(i32 noundef) #1 declare i32 @omap_set_gpio_direction(i32 noundef, i32 noundef) #1 declare i32 @omap_get_gpio_datain(i32 noundef) #1 declare i32 @omap_free_gpio(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/tmp8pejbbjk.c' source_filename = "/tmp/tmp8pejbbjk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"Generic Wrapper Module\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"2.0\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"%s : version %s\00", align 1 @.str.3 = private unnamed_addr constant [77 x i8] c"%s reports an error in summaryUsage() : ppszSummary must be NULL when called\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"wrapper.mod\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @summaryUsage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %4 = load ptr, ptr %2, align 8 %5 = load ptr, ptr %4, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %26 7: ; preds = %1 %8 = call i32 @strlen(ptr noundef @.str) %9 = call i32 @strlen(ptr noundef @.str.1) %10 = add nsw i32 %8, %9 %11 = call i32 @strlen(ptr noundef @.str.2) %12 = add nsw i32 %10, %11 %13 = add nsw i32 %12, 1 store i32 %13, ptr %3, align 4 %14 = load i32, ptr %3, align 4 %15 = call i64 @malloc(i32 noundef %14) %16 = inttoptr i64 %15 to ptr %17 = load ptr, ptr %2, align 8 store ptr %16, ptr %17, align 8 %18 = load ptr, ptr %2, align 8 %19 = load ptr, ptr %18, align 8 %20 = load i32, ptr %3, align 4 %21 = call i32 @memset(ptr noundef %19, i32 noundef 0, i32 noundef %20) %22 = load ptr, ptr %2, align 8 %23 = load ptr, ptr %22, align 8 %24 = load i32, ptr %3, align 4 %25 = call i32 @snprintf(ptr noundef %23, i32 noundef %24, ptr noundef @.str.2, ptr noundef @.str, ptr noundef @.str.1) br label %28 26: ; preds = %1 %27 = call i32 @writeError(i32 noundef 3, ptr noundef @.str.3, ptr noundef @.str.4) br label %28 28: ; preds = %26, %7 ret void } declare i32 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @writeError(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8pejbbjk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"Generic Wrapper Module\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"2.0\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"%s : version %s\00", align 1 @.str.3 = private unnamed_addr constant [77 x i8] c"%s reports an error in summaryUsage() : ppszSummary must be NULL when called\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"wrapper.mod\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @summaryUsage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %4 = load ptr, ptr %2, align 8 %5 = load ptr, ptr %4, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %26 7: ; preds = %1 %8 = call i32 @strlen(ptr noundef @.str) %9 = call i32 @strlen(ptr noundef @.str.1) %10 = add nsw i32 %8, %9 %11 = call i32 @strlen(ptr noundef @.str.2) %12 = add nsw i32 %10, %11 %13 = add nsw i32 %12, 1 store i32 %13, ptr %3, align 4 %14 = load i32, ptr %3, align 4 %15 = call i64 @malloc(i32 noundef %14) %16 = inttoptr i64 %15 to ptr %17 = load ptr, ptr %2, align 8 store ptr %16, ptr %17, align 8 %18 = load ptr, ptr %2, align 8 %19 = load ptr, ptr %18, align 8 %20 = load i32, ptr %3, align 4 %21 = call i32 @memset(ptr noundef %19, i32 noundef 0, i32 noundef %20) %22 = load ptr, ptr %2, align 8 %23 = load ptr, ptr %22, align 8 %24 = load i32, ptr %3, align 4 %25 = call i32 @snprintf(ptr noundef %23, i32 noundef %24, ptr noundef @.str.2, ptr noundef @.str, ptr noundef @.str.1) br label %28 26: ; preds = %1 %27 = call i32 @writeError(i32 noundef 3, ptr noundef @.str.3, ptr noundef @.str.4) br label %28 28: ; preds = %26, %7 ret void } declare i32 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @writeError(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmph98gvij7.c' source_filename = "/tmp/tmph98gvij7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"wt\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"Can't open file in write_ivector\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%3d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @write_ivector_T_number(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %13 = load ptr, ptr %10, align 8 %14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str) store ptr %14, ptr %12, align 8 %15 = load ptr, ptr %12, align 8 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %19 17: ; preds = %5 %18 = call i32 @nrerror(ptr noundef @.str.1) br label %19 19: ; preds = %17, %5 %20 = load i64, ptr %7, align 8 store i64 %20, ptr %11, align 8 br label %21 21: ; preds = %39, %19 %22 = load i64, ptr %11, align 8 %23 = load i64, ptr %8, align 8 %24 = icmp sle i64 %22, %23 br i1 %24, label %25, label %42 25: ; preds = %21 %26 = load ptr, ptr %12, align 8 %27 = load i64, ptr %11, align 8 %28 = trunc i64 %27 to i32 %29 = call i32 @fprintf(ptr noundef %26, ptr noundef @.str.2, i32 noundef %28) %30 = load ptr, ptr %12, align 8 %31 = load ptr, ptr %9, align 8 %32 = load ptr, ptr %6, align 8 %33 = load i64, ptr %11, align 8 %34 = getelementptr inbounds i32, ptr %32, i64 %33 %35 = load i32, ptr %34, align 4 %36 = call i32 @fprintf(ptr noundef %30, ptr noundef %31, i32 noundef %35) %37 = load ptr, ptr %12, align 8 %38 = call i32 @fputc(i8 noundef signext 10, ptr noundef %37) br label %39 39: ; preds = %25 %40 = load i64, ptr %11, align 8 %41 = add nsw i64 %40, 1 store i64 %41, ptr %11, align 8 br label %21, !llvm.loop !6 42: ; preds = %21 %43 = load ptr, ptr %12, align 8 %44 = call i32 @fclose(ptr noundef %43) ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @nrerror(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fputc(i8 noundef signext, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph98gvij7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"wt\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"Can't open file in write_ivector\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%3d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @write_ivector_T_number(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %13 = load ptr, ptr %10, align 8 %14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str) store ptr %14, ptr %12, align 8 %15 = load ptr, ptr %12, align 8 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %19 17: ; preds = %5 %18 = call i32 @nrerror(ptr noundef @.str.1) br label %19 19: ; preds = %17, %5 %20 = load i64, ptr %7, align 8 store i64 %20, ptr %11, align 8 %21 = load i64, ptr %11, align 8 %22 = load i64, ptr %8, align 8 %23 = icmp sle i64 %21, %22 br i1 %23, label %.lr.ph, label %44 .lr.ph: ; preds = %19 br label %24 24: ; preds = %.lr.ph, %38 %25 = load ptr, ptr %12, align 8 %26 = load i64, ptr %11, align 8 %27 = trunc i64 %26 to i32 %28 = call i32 @fprintf(ptr noundef %25, ptr noundef @.str.2, i32 noundef %27) %29 = load ptr, ptr %12, align 8 %30 = load ptr, ptr %9, align 8 %31 = load ptr, ptr %6, align 8 %32 = load i64, ptr %11, align 8 %33 = getelementptr inbounds i32, ptr %31, i64 %32 %34 = load i32, ptr %33, align 4 %35 = call i32 @fprintf(ptr noundef %29, ptr noundef %30, i32 noundef %34) %36 = load ptr, ptr %12, align 8 %37 = call i32 @fputc(i8 noundef signext 10, ptr noundef %36) br label %38 38: ; preds = %24 %39 = load i64, ptr %11, align 8 %40 = add nsw i64 %39, 1 store i64 %40, ptr %11, align 8 %41 = load i64, ptr %11, align 8 %42 = load i64, ptr %8, align 8 %43 = icmp sle i64 %41, %42 br i1 %43, label %24, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %38 br label %44 44: ; preds = %._crit_edge, %19 %45 = load ptr, ptr %12, align 8 %46 = call i32 @fclose(ptr noundef %45) ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @nrerror(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fputc(i8 noundef signext, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp1wqje06t.c' source_filename = "/tmp/tmp1wqje06t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fn1\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fn1() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1wqje06t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fn1\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fn1() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppoynxiuf.c' source_filename = "/tmp/tmppoynxiuf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @S_ISVTX = dso_local global i32 0, align 4 @S_IRWXU = dso_local global i32 0, align 4 @S_IRWXG = dso_local global i32 0, align 4 @S_IRWXO = dso_local global i32 0, align 4 @S_ISUID = dso_local global i32 0, align 4 @S_ISGID = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"Could not set permissions on %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_pmode(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr @S_ISVTX, align 4 %6 = load i32, ptr @S_IRWXU, align 4 %7 = or i32 %5, %6 %8 = load i32, ptr @S_IRWXG, align 4 %9 = or i32 %7, %8 %10 = load i32, ptr @S_IRWXO, align 4 %11 = or i32 %9, %10 %12 = load i32, ptr @S_ISUID, align 4 %13 = load i32, ptr @S_ISGID, align 4 %14 = or i32 %12, %13 %15 = or i32 %11, %14 %16 = load i32, ptr %4, align 4 %17 = and i32 %16, %15 store i32 %17, ptr %4, align 4 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %4, align 4 %20 = call i64 @lchmod(ptr noundef %18, i32 noundef %19) %21 = icmp slt i64 %20, 0 br i1 %21, label %22, label %26 22: ; preds = %2 %23 = load i32, ptr @errno, align 4 %24 = load ptr, ptr %3, align 8 %25 = call i32 @syswarn(i32 noundef 1, i32 noundef %23, ptr noundef @.str, ptr noundef %24) br label %26 26: ; preds = %22, %2 ret void } declare i64 @lchmod(ptr noundef, i32 noundef) #1 declare i32 @syswarn(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppoynxiuf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @S_ISVTX = dso_local global i32 0, align 4 @S_IRWXU = dso_local global i32 0, align 4 @S_IRWXG = dso_local global i32 0, align 4 @S_IRWXO = dso_local global i32 0, align 4 @S_ISUID = dso_local global i32 0, align 4 @S_ISGID = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"Could not set permissions on %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_pmode(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr @S_ISVTX, align 4 %6 = load i32, ptr @S_IRWXU, align 4 %7 = or i32 %5, %6 %8 = load i32, ptr @S_IRWXG, align 4 %9 = or i32 %7, %8 %10 = load i32, ptr @S_IRWXO, align 4 %11 = or i32 %9, %10 %12 = load i32, ptr @S_ISUID, align 4 %13 = load i32, ptr @S_ISGID, align 4 %14 = or i32 %12, %13 %15 = or i32 %11, %14 %16 = load i32, ptr %4, align 4 %17 = and i32 %16, %15 store i32 %17, ptr %4, align 4 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %4, align 4 %20 = call i64 @lchmod(ptr noundef %18, i32 noundef %19) %21 = icmp slt i64 %20, 0 br i1 %21, label %22, label %26 22: ; preds = %2 %23 = load i32, ptr @errno, align 4 %24 = load ptr, ptr %3, align 8 %25 = call i32 @syswarn(i32 noundef 1, i32 noundef %23, ptr noundef @.str, ptr noundef %24) br label %26 26: ; preds = %22, %2 ret void } declare i64 @lchmod(ptr noundef, i32 noundef) #1 declare i32 @syswarn(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptvb4l6zy.c' source_filename = "/tmp/tmptvb4l6zy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @foo(i32 noundef 2, i32 noundef 2) ret i32 %2 } declare i32 @foo(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/tmptvb4l6zy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @foo(i32 noundef 2, i32 noundef 2) ret i32 %2 } declare i32 @foo(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/tmpbl4qlai5.c' source_filename = "/tmp/tmpbl4qlai5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fn(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = fcmp oeq double %3, 0.000000e+00 br i1 %4, label %5, label %6 5: ; preds = %1 br label %12 6: ; preds = %1 %7 = load double, ptr %2, align 8 %8 = fadd double 1.000000e+00, %7 %9 = call double @log(double noundef %8) #2 %10 = load double, ptr %2, align 8 %11 = fdiv double %9, %10 br label %12 12: ; preds = %6, %5 %13 = phi double [ 1.000000e+00, %5 ], [ %11, %6 ] ret double %13 } ; Function Attrs: nounwind declare double @log(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/tmpbl4qlai5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fn(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = fcmp oeq double %3, 0.000000e+00 br i1 %4, label %5, label %6 5: ; preds = %1 br label %12 6: ; preds = %1 %7 = load double, ptr %2, align 8 %8 = fadd double 1.000000e+00, %7 %9 = call double @log(double noundef %8) #2 %10 = load double, ptr %2, align 8 %11 = fdiv double %9, %10 br label %12 12: ; preds = %6, %5 %13 = phi double [ 1.000000e+00, %5 ], [ %11, %6 ] ret double %13 } ; Function Attrs: nounwind declare double @log(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/tmp2s5d7vu0.c' source_filename = "/tmp/tmp2s5d7vu0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [46 x i8] c"Insira o valor de um dos lados do quadrado: \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1 @.str.2 = private unnamed_addr constant [45 x i8] c"A \C3\A1rea do quadrado \C3\A9 %i e seu dobro \C3\A9 %i\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 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = mul nsw i32 %6, %7 store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = mul nsw i32 %10, 2 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %9, i32 noundef %11) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2s5d7vu0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [46 x i8] c"Insira o valor de um dos lados do quadrado: \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1 @.str.2 = private unnamed_addr constant [45 x i8] c"A \C3\A1rea do quadrado \C3\A9 %i e seu dobro \C3\A9 %i\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 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = mul nsw i32 %6, %7 store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = mul nsw i32 %10, 2 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %9, i32 noundef %11) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvsba1fms.c' source_filename = "/tmp/tmpvsba1fms.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"Config action: \00", align 1 @stdin = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"Command unrecognized.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @loop() #0 { %1 = alloca [1024 x i8], align 16 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 br label %5 5: ; preds = %0, %19, %39 %6 = call i32 @printf(ptr noundef @.str) %7 = getelementptr inbounds [1024 x i8], ptr %1, i64 0, i64 0 %8 = load i32, ptr @stdin, align 4 %9 = call ptr @fgets(ptr noundef %7, i32 noundef 1024, i32 noundef %8) store ptr %9, ptr %2, align 8 %10 = load ptr, ptr %2, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %14, label %12 12: ; preds = %5 %13 = call i32 @exit(i32 noundef 1) #3 unreachable 14: ; preds = %5 %15 = load ptr, ptr %2, align 8 %16 = call ptr @strtok(ptr noundef %15, ptr noundef @.str.1) store ptr %16, ptr %3, align 8 %17 = load ptr, ptr %3, align 8 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %20 19: ; preds = %14 br label %5 20: ; preds = %14 %21 = call ptr @strtok(ptr noundef null, ptr noundef @.str.2) store ptr %21, ptr %4, align 8 %22 = load ptr, ptr %3, align 8 %23 = getelementptr inbounds i8, ptr %22, i64 0 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 switch i32 %25, label %35 [ i32 108, label %26 i32 101, label %29 i32 112, label %32 i32 104, label %37 ] 26: ; preds = %20 %27 = load ptr, ptr %4, align 8 %28 = call i32 @set_login_message(ptr noundef %27) br label %39 29: ; preds = %20 %30 = load ptr, ptr %4, align 8 %31 = call i32 @set_exit_message(ptr noundef %30) br label %39 32: ; preds = %20 %33 = load ptr, ptr %4, align 8 %34 = call i32 @set_prompt(ptr noundef %33) br label %39 35: ; preds = %20 %36 = call i32 @printf(ptr noundef @.str.3) br label %37 37: ; preds = %20, %35 %38 = call i32 (...) @print_help() br label %39 39: ; preds = %37, %32, %29, %26 br label %5 } declare i32 @printf(ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i32 @set_login_message(ptr noundef) #1 declare i32 @set_exit_message(ptr noundef) #1 declare i32 @set_prompt(ptr noundef) #1 declare i32 @print_help(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpvsba1fms.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"Config action: \00", align 1 @stdin = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"Command unrecognized.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @loop() #0 { %1 = alloca [1024 x i8], align 16 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = call i32 @printf(ptr noundef @.str) %6 = getelementptr inbounds [1024 x i8], ptr %1, i64 0, i64 0 %7 = load i32, ptr @stdin, align 4 %8 = call ptr @fgets(ptr noundef %6, i32 noundef 1024, i32 noundef %7) store ptr %8, ptr %2, align 8 %9 = load ptr, ptr %2, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %.lr.ph, label %11 .lr.ph: ; preds = %0 br label %13 ._crit_edge: ; preds = %.backedge br label %11 11: ; preds = %._crit_edge, %0 %12 = call i32 @exit(i32 noundef 1) #3 unreachable 13: ; preds = %.lr.ph, %.backedge %14 = load ptr, ptr %2, align 8 %15 = call ptr @strtok(ptr noundef %14, ptr noundef @.str.1) store ptr %15, ptr %3, align 8 %16 = load ptr, ptr %3, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %24 18: ; preds = %13 br label %.backedge .backedge: ; preds = %18, %43 %19 = call i32 @printf(ptr noundef @.str) %20 = load i32, ptr @stdin, align 4 %21 = call ptr @fgets(ptr noundef %6, i32 noundef 1024, i32 noundef %20) store ptr %21, ptr %2, align 8 %22 = load ptr, ptr %2, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %13, label %._crit_edge 24: ; preds = %13 %25 = call ptr @strtok(ptr noundef null, ptr noundef @.str.2) store ptr %25, ptr %4, align 8 %26 = load ptr, ptr %3, align 8 %27 = getelementptr inbounds i8, ptr %26, i64 0 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 switch i32 %29, label %39 [ i32 108, label %30 i32 101, label %33 i32 112, label %36 i32 104, label %41 ] 30: ; preds = %24 %31 = load ptr, ptr %4, align 8 %32 = call i32 @set_login_message(ptr noundef %31) br label %43 33: ; preds = %24 %34 = load ptr, ptr %4, align 8 %35 = call i32 @set_exit_message(ptr noundef %34) br label %43 36: ; preds = %24 %37 = load ptr, ptr %4, align 8 %38 = call i32 @set_prompt(ptr noundef %37) br label %43 39: ; preds = %24 %40 = call i32 @printf(ptr noundef @.str.3) br label %41 41: ; preds = %39, %24 %42 = call i32 (...) @print_help() br label %43 43: ; preds = %41, %36, %33, %30 br label %.backedge } declare i32 @printf(ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i32 @set_login_message(ptr noundef) #1 declare i32 @set_exit_message(ptr noundef) #1 declare i32 @set_prompt(ptr noundef) #1 declare i32 @print_help(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpqge0_e3z.c' source_filename = "/tmp/tmpqge0_e3z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lrotate1_uimatrix(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 store i64 %4, ptr %10, align 8 %15 = load i64, ptr %7, align 8 %16 = load i64, ptr %8, align 8 %17 = add nsw i64 %15, %16 %18 = trunc i64 %17 to i32 store i32 %18, ptr %13, align 4 %19 = load i64, ptr %7, align 8 %20 = trunc i64 %19 to i32 store i32 %20, ptr %11, align 4 br label %21 21: ; preds = %78, %5 %22 = load i32, ptr %11, align 4 %23 = sext i32 %22 to i64 %24 = load i64, ptr %8, align 8 %25 = icmp sle i64 %23, %24 br i1 %25, label %26, label %81 26: ; preds = %21 %27 = load i64, ptr %9, align 8 %28 = trunc i64 %27 to i32 store i32 %28, ptr %12, align 4 br label %29 29: ; preds = %74, %26 %30 = load i32, ptr %12, align 4 %31 = sext i32 %30 to i64 %32 = load i64, ptr %10, align 8 %33 = icmp sle i64 %31, %32 br i1 %33, label %34, label %77 34: ; preds = %29 %35 = load ptr, ptr %6, align 8 %36 = load i32, ptr %13, align 4 %37 = load i32, ptr %12, align 4 %38 = sub nsw i32 %36, %37 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds ptr, ptr %35, i64 %39 %41 = load ptr, ptr %40, align 8 %42 = load i32, ptr %11, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i32, ptr %41, i64 %43 %45 = load i32, ptr %44, align 4 store i32 %45, ptr %14, align 4 %46 = load ptr, ptr %6, align 8 %47 = load i32, ptr %11, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds ptr, ptr %46, i64 %48 %50 = load ptr, ptr %49, align 8 %51 = load i32, ptr %12, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i32, ptr %50, i64 %52 %54 = load i32, ptr %53, align 4 %55 = load ptr, ptr %6, align 8 %56 = load i32, ptr %13, align 4 %57 = load i32, ptr %12, align 4 %58 = sub nsw i32 %56, %57 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds ptr, ptr %55, i64 %59 %61 = load ptr, ptr %60, align 8 %62 = load i32, ptr %11, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i32, ptr %61, i64 %63 store i32 %54, ptr %64, align 4 %65 = load i32, ptr %14, align 4 %66 = load ptr, ptr %6, align 8 %67 = load i32, ptr %11, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds ptr, ptr %66, i64 %68 %70 = load ptr, ptr %69, align 8 %71 = load i32, ptr %12, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds i32, ptr %70, i64 %72 store i32 %65, ptr %73, align 4 br label %74 74: ; preds = %34 %75 = load i32, ptr %12, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %12, align 4 br label %29, !llvm.loop !6 77: ; preds = %29 br label %78 78: ; preds = %77 %79 = load i32, ptr %11, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %11, align 4 br label %21, !llvm.loop !8 81: ; preds = %21 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/tmpqge0_e3z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lrotate1_uimatrix(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 store i64 %4, ptr %10, align 8 %15 = load i64, ptr %7, align 8 %16 = load i64, ptr %8, align 8 %17 = add nsw i64 %15, %16 %18 = trunc i64 %17 to i32 store i32 %18, ptr %13, align 4 %19 = load i64, ptr %7, align 8 %20 = trunc i64 %19 to i32 store i32 %20, ptr %11, align 4 %21 = load i32, ptr %11, align 4 %22 = sext i32 %21 to i64 %23 = load i64, ptr %8, align 8 %24 = icmp sle i64 %22, %23 br i1 %24, label %.lr.ph2, label %87 .lr.ph2: ; preds = %5 br label %25 25: ; preds = %.lr.ph2, %80 %26 = load i64, ptr %9, align 8 %27 = trunc i64 %26 to i32 store i32 %27, ptr %12, align 4 %28 = load i32, ptr %12, align 4 %29 = sext i32 %28 to i64 %30 = load i64, ptr %10, align 8 %31 = icmp sle i64 %29, %30 br i1 %31, label %.lr.ph, label %79 .lr.ph: ; preds = %25 br label %32 32: ; preds = %.lr.ph, %72 %33 = load ptr, ptr %6, align 8 %34 = load i32, ptr %13, align 4 %35 = load i32, ptr %12, align 4 %36 = sub nsw i32 %34, %35 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds ptr, ptr %33, i64 %37 %39 = load ptr, ptr %38, align 8 %40 = load i32, ptr %11, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %39, i64 %41 %43 = load i32, ptr %42, align 4 store i32 %43, ptr %14, align 4 %44 = load ptr, ptr %6, align 8 %45 = load i32, ptr %11, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds ptr, ptr %44, i64 %46 %48 = load ptr, ptr %47, align 8 %49 = load i32, ptr %12, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i32, ptr %48, i64 %50 %52 = load i32, ptr %51, align 4 %53 = load ptr, ptr %6, align 8 %54 = load i32, ptr %13, align 4 %55 = load i32, ptr %12, align 4 %56 = sub nsw i32 %54, %55 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds ptr, ptr %53, i64 %57 %59 = load ptr, ptr %58, align 8 %60 = load i32, ptr %11, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i32, ptr %59, i64 %61 store i32 %52, ptr %62, align 4 %63 = load i32, ptr %14, align 4 %64 = load ptr, ptr %6, align 8 %65 = load i32, ptr %11, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds ptr, ptr %64, i64 %66 %68 = load ptr, ptr %67, align 8 %69 = load i32, ptr %12, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i32, ptr %68, i64 %70 store i32 %63, ptr %71, align 4 br label %72 72: ; preds = %32 %73 = load i32, ptr %12, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %12, align 4 %75 = load i32, ptr %12, align 4 %76 = sext i32 %75 to i64 %77 = load i64, ptr %10, align 8 %78 = icmp sle i64 %76, %77 br i1 %78, label %32, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %72 br label %79 79: ; preds = %._crit_edge, %25 br label %80 80: ; preds = %79 %81 = load i32, ptr %11, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %11, align 4 %83 = load i32, ptr %11, align 4 %84 = sext i32 %83 to i64 %85 = load i64, ptr %8, align 8 %86 = icmp sle i64 %84, %85 br i1 %86, label %25, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %80 br label %87 87: ; preds = %._crit_edge3, %5 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/tmpt1wmoisu.c' source_filename = "/tmp/tmpt1wmoisu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @VectorX(i32 noundef %0, float noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca float, align 4 store i32 %0, ptr %3, align 4 store float %1, ptr %4, align 4 %5 = load float, ptr %4, align 4 %6 = call i32 @Cos(float noundef %5) %7 = load i32, ptr %3, align 4 %8 = mul nsw i32 %6, %7 %9 = sitofp i32 %8 to float ret float %9 } declare i32 @Cos(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/tmpt1wmoisu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @VectorX(i32 noundef %0, float noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca float, align 4 store i32 %0, ptr %3, align 4 store float %1, ptr %4, align 4 %5 = load float, ptr %4, align 4 %6 = call i32 @Cos(float noundef %5) %7 = load i32, ptr %3, align 4 %8 = mul nsw i32 %6, %7 %9 = sitofp i32 %8 to float ret float %9 } declare i32 @Cos(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/tmpmwilsf3e.c' source_filename = "/tmp/tmpmwilsf3e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calcKs(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %6 = call double @pow(i32 noundef 2, i32 noundef 32) store double %6, ptr %4, align 8 store i32 0, ptr %5, align 4 br label %7 7: ; preds = %25, %1 %8 = load i32, ptr %5, align 4 %9 = icmp slt i32 %8, 64 br i1 %9, label %10, label %28 10: ; preds = %7 %11 = load i32, ptr %5, align 4 %12 = sitofp i32 %11 to double %13 = fadd double 1.000000e+00, %12 %14 = fptosi double %13 to i32 %15 = call i32 @sin(i32 noundef %14) %16 = call double @fabs(i32 noundef %15) store double %16, ptr %3, align 8 %17 = load double, ptr %3, align 8 %18 = load double, ptr %4, align 8 %19 = fmul double %17, %18 %20 = fptoui double %19 to i32 %21 = load ptr, ptr %2, align 8 %22 = load i32, ptr %5, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i32, ptr %21, i64 %23 store i32 %20, ptr %24, align 4 br label %25 25: ; preds = %10 %26 = load i32, ptr %5, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %5, align 4 br label %7, !llvm.loop !6 28: ; preds = %7 %29 = load ptr, ptr %2, align 8 ret ptr %29 } declare double @pow(i32 noundef, i32 noundef) #1 declare double @fabs(i32 noundef) #1 declare i32 @sin(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/tmpmwilsf3e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calcKs(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %6 = call double @pow(i32 noundef 2, i32 noundef 32) store double %6, ptr %4, align 8 store i32 0, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = icmp slt i32 %7, 64 br i1 %8, label %.lr.ph, label %29 .lr.ph: ; preds = %1 br label %9 9: ; preds = %.lr.ph, %24 %10 = load i32, ptr %5, align 4 %11 = sitofp i32 %10 to double %12 = fadd double 1.000000e+00, %11 %13 = fptosi double %12 to i32 %14 = call i32 @sin(i32 noundef %13) %15 = call double @fabs(i32 noundef %14) store double %15, ptr %3, align 8 %16 = load double, ptr %3, align 8 %17 = load double, ptr %4, align 8 %18 = fmul double %16, %17 %19 = fptoui double %18 to i32 %20 = load ptr, ptr %2, align 8 %21 = load i32, ptr %5, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i32, ptr %20, i64 %22 store i32 %19, ptr %23, align 4 br label %24 24: ; preds = %9 %25 = load i32, ptr %5, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %5, align 4 %27 = load i32, ptr %5, align 4 %28 = icmp slt i32 %27, 64 br i1 %28, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %29 29: ; preds = %._crit_edge, %1 %30 = load ptr, ptr %2, align 8 ret ptr %30 } declare double @pow(i32 noundef, i32 noundef) #1 declare double @fabs(i32 noundef) #1 declare i32 @sin(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/tmp8z4rwzy1.c' source_filename = "/tmp/tmp8z4rwzy1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rand_array_i32(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca double, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %12 = load i32, ptr %8, align 4 %13 = sitofp i32 %12 to double %14 = load i32, ptr %7, align 4 %15 = sitofp i32 %14 to double %16 = fsub double %13, %15 store double %16, ptr %11, align 8 store i32 0, ptr %9, align 4 br label %17 17: ; preds = %33, %4 %18 = load i32, ptr %9, align 4 %19 = load i32, ptr %6, align 4 %20 = icmp ult i32 %18, %19 br i1 %20, label %21, label %36 21: ; preds = %17 %22 = load double, ptr %11, align 8 %23 = call double (...) @rand_double() %24 = fmul double %22, %23 %25 = fptoui double %24 to i32 store i32 %25, ptr %10, align 4 %26 = load i32, ptr %7, align 4 %27 = load i32, ptr %10, align 4 %28 = add i32 %26, %27 %29 = load ptr, ptr %5, align 8 %30 = load i32, ptr %9, align 4 %31 = zext i32 %30 to i64 %32 = getelementptr inbounds i32, ptr %29, i64 %31 store i32 %28, ptr %32, align 4 br label %33 33: ; preds = %21 %34 = load i32, ptr %9, align 4 %35 = add i32 %34, 1 store i32 %35, ptr %9, align 4 br label %17, !llvm.loop !6 36: ; preds = %17 ret void } declare double @rand_double(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp8z4rwzy1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rand_array_i32(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca double, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %12 = load i32, ptr %8, align 4 %13 = sitofp i32 %12 to double %14 = load i32, ptr %7, align 4 %15 = sitofp i32 %14 to double %16 = fsub double %13, %15 store double %16, ptr %11, align 8 store i32 0, ptr %9, align 4 %17 = load i32, ptr %9, align 4 %18 = load i32, ptr %6, align 4 %19 = icmp ult i32 %17, %18 br i1 %19, label %.lr.ph, label %38 .lr.ph: ; preds = %4 br label %20 20: ; preds = %.lr.ph, %32 %21 = load double, ptr %11, align 8 %22 = call double (...) @rand_double() %23 = fmul double %21, %22 %24 = fptoui double %23 to i32 store i32 %24, ptr %10, align 4 %25 = load i32, ptr %7, align 4 %26 = load i32, ptr %10, align 4 %27 = add i32 %25, %26 %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr %9, align 4 %30 = zext 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 %9, align 4 %34 = add i32 %33, 1 store i32 %34, ptr %9, align 4 %35 = load i32, ptr %9, align 4 %36 = load i32, ptr %6, align 4 %37 = icmp ult i32 %35, %36 br i1 %37, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %38 38: ; preds = %._crit_edge, %4 ret void } declare double @rand_double(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpmpiysqqj.c' source_filename = "/tmp/tmpmpiysqqj.c" target datalayout = "e-m:e-p270: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/tmpmpiysqqj.c" target datalayout = "e-m:e-p270: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/tmplq92ui6b.c' source_filename = "/tmp/tmplq92ui6b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @F_OK = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [12 x i8] c"%s exists.\0A\00", align 1 @errno = dso_local global i64 0, align 8 @ENOENT = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [20 x i8] c"%s does not exist.\0A\00", align 1 @EACCES = dso_local global i64 0, align 8 @.str.2 = private unnamed_addr constant [23 x i8] c"%s is not accessible.\0A\00", align 1 @R_OK = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [17 x i8] c"%s is readable.\0A\00", align 1 @.str.4 = private unnamed_addr constant [40 x i8] c"%s is not readable, permission denied!\0A\00", align 1 @W_OK = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [17 x i8] c"%s is writable.\0A\00", align 1 @.str.6 = private unnamed_addr constant [40 x i8] c"%s is not writable, permission denied!\0A\00", align 1 @EROFS = dso_local global i64 0, align 8 @.str.7 = private unnamed_addr constant [39 x i8] c"%s is not writable, read-only system!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = getelementptr inbounds ptr, ptr %8, i64 1 %10 = load ptr, ptr %9, align 8 store ptr %10, ptr %6, align 8 %11 = load ptr, ptr %6, align 8 %12 = load i32, ptr @F_OK, align 4 %13 = call i32 @access(ptr noundef %11, i32 noundef %12) store i32 %13, ptr %7, align 4 %14 = load i32, ptr %7, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %2 %17 = load ptr, ptr %6, align 8 %18 = call i32 @printf(ptr noundef @.str, ptr noundef %17) br label %35 19: ; preds = %2 %20 = load i64, ptr @errno, align 8 %21 = load i64, ptr @ENOENT, align 8 %22 = icmp eq i64 %20, %21 br i1 %22, label %23, label %26 23: ; preds = %19 %24 = load ptr, ptr %6, align 8 %25 = call i32 @printf(ptr noundef @.str.1, ptr noundef %24) br label %34 26: ; preds = %19 %27 = load i64, ptr @errno, align 8 %28 = load i64, ptr @EACCES, align 8 %29 = icmp eq i64 %27, %28 br i1 %29, label %30, label %33 30: ; preds = %26 %31 = load ptr, ptr %6, align 8 %32 = call i32 @printf(ptr noundef @.str.2, ptr noundef %31) br label %33 33: ; preds = %30, %26 br label %34 34: ; preds = %33, %23 store i32 0, ptr %3, align 4 br label %73 35: ; preds = %16 %36 = load ptr, ptr %6, align 8 %37 = load i32, ptr @R_OK, align 4 %38 = call i32 @access(ptr noundef %36, i32 noundef %37) store i32 %38, ptr %7, align 4 %39 = load i32, ptr %7, align 4 %40 = icmp eq i32 %39, 0 br i1 %40, label %41, label %44 41: ; preds = %35 %42 = load ptr, ptr %6, align 8 %43 = call i32 @printf(ptr noundef @.str.3, ptr noundef %42) br label %47 44: ; preds = %35 %45 = load ptr, ptr %6, align 8 %46 = call i32 @printf(ptr noundef @.str.4, ptr noundef %45) br label %47 47: ; preds = %44, %41 %48 = load ptr, ptr %6, align 8 %49 = load i32, ptr @W_OK, align 4 %50 = call i32 @access(ptr noundef %48, i32 noundef %49) store i32 %50, ptr %7, align 4 %51 = load i32, ptr %7, align 4 %52 = icmp eq i32 %51, 0 br i1 %52, label %53, label %56 53: ; preds = %47 %54 = load ptr, ptr %6, align 8 %55 = call i32 @printf(ptr noundef @.str.5, ptr noundef %54) br label %72 56: ; preds = %47 %57 = load i64, ptr @errno, align 8 %58 = load i64, ptr @EACCES, align 8 %59 = icmp eq i64 %57, %58 br i1 %59, label %60, label %63 60: ; preds = %56 %61 = load ptr, ptr %6, align 8 %62 = call i32 @printf(ptr noundef @.str.6, ptr noundef %61) br label %71 63: ; preds = %56 %64 = load i64, ptr @errno, align 8 %65 = load i64, ptr @EROFS, align 8 %66 = icmp eq i64 %64, %65 br i1 %66, label %67, label %70 67: ; preds = %63 %68 = load ptr, ptr %6, align 8 %69 = call i32 @printf(ptr noundef @.str.7, ptr noundef %68) br label %70 70: ; preds = %67, %63 br label %71 71: ; preds = %70, %60 br label %72 72: ; preds = %71, %53 store i32 0, ptr %3, align 4 br label %73 73: ; preds = %72, %34 %74 = load i32, ptr %3, align 4 ret i32 %74 } declare i32 @access(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplq92ui6b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @F_OK = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [12 x i8] c"%s exists.\0A\00", align 1 @errno = dso_local global i64 0, align 8 @ENOENT = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [20 x i8] c"%s does not exist.\0A\00", align 1 @EACCES = dso_local global i64 0, align 8 @.str.2 = private unnamed_addr constant [23 x i8] c"%s is not accessible.\0A\00", align 1 @R_OK = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [17 x i8] c"%s is readable.\0A\00", align 1 @.str.4 = private unnamed_addr constant [40 x i8] c"%s is not readable, permission denied!\0A\00", align 1 @W_OK = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [17 x i8] c"%s is writable.\0A\00", align 1 @.str.6 = private unnamed_addr constant [40 x i8] c"%s is not writable, permission denied!\0A\00", align 1 @EROFS = dso_local global i64 0, align 8 @.str.7 = private unnamed_addr constant [39 x i8] c"%s is not writable, read-only system!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = getelementptr inbounds ptr, ptr %8, i64 1 %10 = load ptr, ptr %9, align 8 store ptr %10, ptr %6, align 8 %11 = load ptr, ptr %6, align 8 %12 = load i32, ptr @F_OK, align 4 %13 = call i32 @access(ptr noundef %11, i32 noundef %12) store i32 %13, ptr %7, align 4 %14 = load i32, ptr %7, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %2 %17 = load ptr, ptr %6, align 8 %18 = call i32 @printf(ptr noundef @.str, ptr noundef %17) br label %35 19: ; preds = %2 %20 = load i64, ptr @errno, align 8 %21 = load i64, ptr @ENOENT, align 8 %22 = icmp eq i64 %20, %21 br i1 %22, label %23, label %26 23: ; preds = %19 %24 = load ptr, ptr %6, align 8 %25 = call i32 @printf(ptr noundef @.str.1, ptr noundef %24) br label %34 26: ; preds = %19 %27 = load i64, ptr @errno, align 8 %28 = load i64, ptr @EACCES, align 8 %29 = icmp eq i64 %27, %28 br i1 %29, label %30, label %33 30: ; preds = %26 %31 = load ptr, ptr %6, align 8 %32 = call i32 @printf(ptr noundef @.str.2, ptr noundef %31) br label %33 33: ; preds = %30, %26 br label %34 34: ; preds = %33, %23 store i32 0, ptr %3, align 4 br label %73 35: ; preds = %16 %36 = load ptr, ptr %6, align 8 %37 = load i32, ptr @R_OK, align 4 %38 = call i32 @access(ptr noundef %36, i32 noundef %37) store i32 %38, ptr %7, align 4 %39 = load i32, ptr %7, align 4 %40 = icmp eq i32 %39, 0 br i1 %40, label %41, label %44 41: ; preds = %35 %42 = load ptr, ptr %6, align 8 %43 = call i32 @printf(ptr noundef @.str.3, ptr noundef %42) br label %47 44: ; preds = %35 %45 = load ptr, ptr %6, align 8 %46 = call i32 @printf(ptr noundef @.str.4, ptr noundef %45) br label %47 47: ; preds = %44, %41 %48 = load ptr, ptr %6, align 8 %49 = load i32, ptr @W_OK, align 4 %50 = call i32 @access(ptr noundef %48, i32 noundef %49) store i32 %50, ptr %7, align 4 %51 = load i32, ptr %7, align 4 %52 = icmp eq i32 %51, 0 br i1 %52, label %53, label %56 53: ; preds = %47 %54 = load ptr, ptr %6, align 8 %55 = call i32 @printf(ptr noundef @.str.5, ptr noundef %54) br label %72 56: ; preds = %47 %57 = load i64, ptr @errno, align 8 %58 = load i64, ptr @EACCES, align 8 %59 = icmp eq i64 %57, %58 br i1 %59, label %60, label %63 60: ; preds = %56 %61 = load ptr, ptr %6, align 8 %62 = call i32 @printf(ptr noundef @.str.6, ptr noundef %61) br label %71 63: ; preds = %56 %64 = load i64, ptr @errno, align 8 %65 = load i64, ptr @EROFS, align 8 %66 = icmp eq i64 %64, %65 br i1 %66, label %67, label %70 67: ; preds = %63 %68 = load ptr, ptr %6, align 8 %69 = call i32 @printf(ptr noundef @.str.7, ptr noundef %68) br label %70 70: ; preds = %67, %63 br label %71 71: ; preds = %70, %60 br label %72 72: ; preds = %71, %53 store i32 0, ptr %3, align 4 br label %73 73: ; preds = %72, %34 %74 = load i32, ptr %3, align 4 ret i32 %74 } declare i32 @access(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxp3ind4u.c' source_filename = "/tmp/tmpxp3ind4u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @closeSocketInBatch(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %8 = load ptr, ptr %3, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %34 10: ; preds = %2 %11 = load i32, ptr %4, align 4 %12 = icmp sgt i32 %11, 0 br i1 %12, label %13, label %34 13: ; preds = %10 store i32 0, ptr %6, align 4 br label %14 14: ; preds = %30, %13 %15 = load i32, ptr %6, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %33 18: ; preds = %14 %19 = load ptr, ptr %3, align 8 %20 = load i32, ptr %6, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %19, i64 %21 %23 = load i32, ptr %22, align 4 store i32 %23, ptr %7, align 4 %24 = load i32, ptr %7, align 4 %25 = icmp sge i32 %24, 0 br i1 %25, label %26, label %29 26: ; preds = %18 %27 = load i32, ptr %7, align 4 %28 = call i32 @close(i32 noundef %27) br label %29 29: ; preds = %26, %18 br label %30 30: ; preds = %29 %31 = load i32, ptr %6, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %6, align 4 br label %14, !llvm.loop !6 33: ; preds = %14 br label %34 34: ; preds = %33, %10, %2 %35 = load i32, ptr %5, align 4 ret i32 %35 } declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxp3ind4u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @closeSocketInBatch(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %8 = load ptr, ptr %3, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %36 10: ; preds = %2 %11 = load i32, ptr %4, align 4 %12 = icmp sgt i32 %11, 0 br i1 %12, label %13, label %36 13: ; preds = %10 store i32 0, ptr %6, align 4 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %4, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %.lr.ph, label %35 .lr.ph: ; preds = %13 br label %17 17: ; preds = %.lr.ph, %29 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %6, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %18, i64 %20 %22 = load i32, ptr %21, align 4 store i32 %22, ptr %7, align 4 %23 = load i32, ptr %7, align 4 %24 = icmp sge i32 %23, 0 br i1 %24, label %25, label %28 25: ; preds = %17 %26 = load i32, ptr %7, align 4 %27 = call i32 @close(i32 noundef %26) br label %28 28: ; preds = %25, %17 br label %29 29: ; preds = %28 %30 = load i32, ptr %6, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %6, align 4 %32 = load i32, ptr %6, align 4 %33 = load i32, ptr %4, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %35 35: ; preds = %._crit_edge, %13 br label %36 36: ; preds = %35, %10, %2 %37 = load i32, ptr %5, align 4 ret i32 %37 } declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp65jyrn_4.c' source_filename = "/tmp/tmp65jyrn_4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"GW locked\0A\00", align 1 @.str.1 = private unnamed_addr constant [59 x i8] c"Finding option %s in section %s and replace value with %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%s_tmp\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"w+\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"Line: %s\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"config\00", align 1 @.str.7 = private unnamed_addr constant [15 x i8] c"In section %s\0A\00", align 1 @.str.8 = private unnamed_addr constant [22 x i8] c"Out of section again\0A\00", align 1 @.str.9 = private unnamed_addr constant [7 x i8] c"option\00", align 1 @.str.10 = private unnamed_addr constant [34 x i8] c"Option %s found: replace with %s\0A\00", align 1 @.str.11 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.12 = private unnamed_addr constant [20 x i8] c"Empty line (%d/%d)\0A\00", align 1 @.str.13 = private unnamed_addr constant [32 x i8] c"Adding option %s with value %s\0A\00", align 1 @.str.14 = private unnamed_addr constant [15 x i8] c"\09option %s %s\0A\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.15 = private unnamed_addr constant [49 x i8] c"Error %d opening temporary config file (%s): %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.16 = private unnamed_addr constant [6 x i8] c"%s_%d\00", align 1 @.str.17 = private unnamed_addr constant [39 x i8] c"Error %d opening config file (%s): %s\0A\00", align 1 @.str.18 = private unnamed_addr constant [13 x i8] c"GW unlocked\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @gwConfigEditOption(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca [40 x i8], align 16 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca [202 x i8], align 16 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i32 0, ptr %13, align 4 store i32 0, ptr %14, align 4 store i32 0, ptr %15, align 4 %17 = call i32 @semPautounlock(i32 noundef 151002, i32 noundef 10) %18 = call i32 (ptr, ...) @printf(ptr noundef @.str) %19 = load ptr, ptr %7, align 8 %20 = load ptr, ptr %6, align 8 %21 = load ptr, ptr %8, align 8 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %19, ptr noundef %20, ptr noundef %21) %23 = getelementptr inbounds [40 x i8], ptr %9, i64 0, i64 0 %24 = load ptr, ptr %5, align 8 %25 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %23, ptr noundef @.str.2, ptr noundef %24) %26 = load ptr, ptr %5, align 8 %27 = call ptr @fopen(ptr noundef %26, ptr noundef @.str.3) store ptr %27, ptr %10, align 8 %28 = icmp ne ptr %27, null br i1 %28, label %29, label %205 29: ; preds = %4 %30 = getelementptr inbounds [40 x i8], ptr %9, i64 0, i64 0 %31 = call ptr @fopen(ptr noundef %30, ptr noundef @.str.4) store ptr %31, ptr %11, align 8 %32 = icmp ne ptr %31, null br i1 %32, label %33, label %165 33: ; preds = %29 store i32 1, ptr %13, align 4 br label %34 34: ; preds = %161, %33 %35 = load i32, ptr %13, align 4 %36 = icmp ne i32 %35, 0 br i1 %36, label %37, label %42 37: ; preds = %34 %38 = getelementptr inbounds [202 x i8], ptr %12, i64 0, i64 0 %39 = load ptr, ptr %10, align 8 %40 = call ptr @fgets(ptr noundef %38, i32 noundef 200, ptr noundef %39) %41 = icmp ne ptr %40, null br label %42 42: ; preds = %37, %34 %43 = phi i1 [ false, %34 ], [ %41, %37 ] br i1 %43, label %44, label %162 44: ; preds = %42 %45 = getelementptr inbounds [202 x i8], ptr %12, i64 0, i64 0 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %45) %47 = getelementptr inbounds [202 x i8], ptr %12, i64 0, i64 0 %48 = call ptr @strstr(ptr noundef %47, ptr noundef @.str.6) store ptr %48, ptr %16, align 8 %49 = icmp ne ptr %48, null br i1 %49, label %50, label %65 50: ; preds = %44 %51 = load ptr, ptr %16, align 8 %52 = load ptr, ptr %6, align 8 %53 = call ptr @strstr(ptr noundef %51, ptr noundef %52) %54 = icmp ne ptr %53, null br i1 %54, label %55, label %58 55: ; preds = %50 store i32 1, ptr %15, align 4 %56 = load ptr, ptr %6, align 8 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %56) br label %64 58: ; preds = %50 %59 = load i32, ptr %15, align 4 %60 = icmp ne i32 %59, 0 br i1 %60, label %61, label %63 61: ; preds = %58 store i32 0, ptr %15, align 4 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) br label %63 63: ; preds = %61, %58 br label %64 64: ; preds = %63, %55 br label %154 65: ; preds = %44 %66 = getelementptr inbounds [202 x i8], ptr %12, i64 0, i64 0 %67 = call ptr @strstr(ptr noundef %66, ptr noundef @.str.9) store ptr %67, ptr %16, align 8 %68 = icmp ne ptr %67, null br i1 %68, label %69, label %106 69: ; preds = %65 %70 = load i32, ptr %15, align 4 %71 = icmp ne i32 %70, 0 br i1 %71, label %72, label %105 72: ; preds = %69 %73 = load ptr, ptr %16, align 8 %74 = load ptr, ptr %7, align 8 %75 = call ptr @strstr(ptr noundef %73, ptr noundef %74) store ptr %75, ptr %16, align 8 %76 = icmp ne ptr %75, null br i1 %76, label %77, label %104 77: ; preds = %72 %78 = load ptr, ptr %7, align 8 %79 = load ptr, ptr %8, align 8 %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef %78, ptr noundef %79) store i32 1, ptr %14, align 4 %81 = load ptr, ptr %7, align 8 %82 = call i64 @strlen(ptr noundef %81) %83 = load ptr, ptr %16, align 8 %84 = getelementptr inbounds i8, ptr %83, i64 %82 store ptr %84, ptr %16, align 8 br label %85 85: ; preds = %97, %77 %86 = load ptr, ptr %16, align 8 %87 = load i8, ptr %86, align 1 %88 = sext i8 %87 to i32 %89 = icmp eq i32 %88, 32 br i1 %89, label %95, label %90 90: ; preds = %85 %91 = load ptr, ptr %16, align 8 %92 = load i8, ptr %91, align 1 %93 = sext i8 %92 to i32 %94 = icmp eq i32 %93, 9 br label %95 95: ; preds = %90, %85 %96 = phi i1 [ true, %85 ], [ %94, %90 ] br i1 %96, label %97, label %100 97: ; preds = %95 %98 = load ptr, ptr %16, align 8 %99 = getelementptr inbounds i8, ptr %98, i32 1 store ptr %99, ptr %16, align 8 br label %85, !llvm.loop !6 100: ; preds = %95 %101 = load ptr, ptr %16, align 8 %102 = load ptr, ptr %8, align 8 %103 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %101, ptr noundef @.str.11, ptr noundef %102) br label %104 104: ; preds = %100, %72 br label %105 105: ; preds = %104, %69 br label %153 106: ; preds = %65 %107 = getelementptr inbounds [202 x i8], ptr %12, i64 0, i64 0 store ptr %107, ptr %16, align 8 br label %108 108: ; preds = %125, %106 %109 = load ptr, ptr %16, align 8 %110 = load i8, ptr %109, align 1 %111 = sext i8 %110 to i32 %112 = icmp eq i32 %111, 32 br i1 %112, label %123, label %113 113: ; preds = %108 %114 = load ptr, ptr %16, align 8 %115 = load i8, ptr %114, align 1 %116 = sext i8 %115 to i32 %117 = icmp eq i32 %116, 9 br i1 %117, label %123, label %118 118: ; preds = %113 %119 = load ptr, ptr %16, align 8 %120 = load i8, ptr %119, align 1 %121 = sext i8 %120 to i32 %122 = icmp eq i32 %121, 10 br label %123 123: ; preds = %118, %113, %108 %124 = phi i1 [ true, %113 ], [ true, %108 ], [ %122, %118 ] br i1 %124, label %125, label %128 125: ; preds = %123 %126 = load ptr, ptr %16, align 8 %127 = getelementptr inbounds i8, ptr %126, i32 1 store ptr %127, ptr %16, align 8 br label %108, !llvm.loop !8 128: ; preds = %123 %129 = load ptr, ptr %16, align 8 %130 = call i64 @strlen(ptr noundef %129) %131 = icmp eq i64 %130, 0 br i1 %131, label %132, label %152 132: ; preds = %128 %133 = load i32, ptr %15, align 4 %134 = load i32, ptr %14, align 4 %135 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %133, i32 noundef %134) %136 = load i32, ptr %15, align 4 %137 = icmp ne i32 %136, 0 br i1 %137, label %138, label %151 138: ; preds = %132 %139 = load i32, ptr %14, align 4 %140 = icmp ne i32 %139, 0 br i1 %140, label %149, label %141 141: ; preds = %138 store i32 1, ptr %14, align 4 %142 = load ptr, ptr %7, align 8 %143 = load ptr, ptr %8, align 8 %144 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, ptr noundef %142, ptr noundef %143) %145 = load ptr, ptr %11, align 8 %146 = load ptr, ptr %7, align 8 %147 = load ptr, ptr %8, align 8 %148 = call i32 @fprintf(ptr noundef %145, ptr noundef @.str.14, ptr noundef %146, ptr noundef %147) br label %149 149: ; preds = %141, %138 store i32 0, ptr %15, align 4 %150 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) br label %151 151: ; preds = %149, %132 br label %152 152: ; preds = %151, %128 br label %153 153: ; preds = %152, %105 br label %154 154: ; preds = %153, %64 %155 = getelementptr inbounds [202 x i8], ptr %12, i64 0, i64 0 %156 = load ptr, ptr %11, align 8 %157 = call i64 @fputs(ptr noundef %155, ptr noundef %156) %158 = load i64, ptr @EOF, align 8 %159 = icmp eq i64 %157, %158 br i1 %159, label %160, label %161 160: ; preds = %154 store i32 0, ptr %13, align 4 br label %161 161: ; preds = %160, %154 br label %34, !llvm.loop !9 162: ; preds = %42 %163 = load ptr, ptr %11, align 8 %164 = call i32 @fclose(ptr noundef %163) br label %171 165: ; preds = %29 %166 = load i32, ptr @errno, align 4 %167 = getelementptr inbounds [40 x i8], ptr %9, i64 0, i64 0 %168 = load i32, ptr @errno, align 4 %169 = call ptr @strerror(i32 noundef %168) %170 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef %166, ptr noundef %167, ptr noundef %169) br label %171 171: ; preds = %165, %162 %172 = load ptr, ptr %10, align 8 %173 = call i32 @fclose(ptr noundef %172) %174 = load i32, ptr %13, align 4 %175 = icmp ne i32 %174, 0 br i1 %175, label %176, label %204 176: ; preds = %171 store i32 0, ptr %13, align 4 %177 = load i32, ptr %14, align 4 %178 = icmp ne i32 %177, 0 br i1 %178, label %179, label %196 179: ; preds = %176 %180 = getelementptr inbounds [202 x i8], ptr %12, i64 0, i64 0 %181 = load ptr, ptr %5, align 8 %182 = call i64 @time(ptr noundef null) %183 = trunc i64 %182 to i32 %184 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %180, ptr noundef @.str.16, ptr noundef %181, i32 noundef %183) %185 = load ptr, ptr %5, align 8 %186 = getelementptr inbounds [202 x i8], ptr %12, i64 0, i64 0 %187 = call i64 @rename(ptr noundef %185, ptr noundef %186) %188 = icmp eq i64 %187, 0 br i1 %188, label %189, label %195 189: ; preds = %179 %190 = getelementptr inbounds [40 x i8], ptr %9, i64 0, i64 0 %191 = load ptr, ptr %5, align 8 %192 = call i64 @rename(ptr noundef %190, ptr noundef %191) %193 = icmp eq i64 %192, 0 %194 = zext i1 %193 to i32 store i32 %194, ptr %13, align 4 br label %195 195: ; preds = %189, %179 br label %203 196: ; preds = %176 %197 = getelementptr inbounds [40 x i8], ptr %9, i64 0, i64 0 %198 = call i64 @remove(ptr noundef %197) %199 = icmp eq i64 %198, 0 %200 = zext i1 %199 to i32 store i32 %200, ptr %13, align 4 br i1 %199, label %201, label %202 201: ; preds = %196 store i32 -1, ptr %13, align 4 br label %202 202: ; preds = %201, %196 br label %203 203: ; preds = %202, %195 br label %204 204: ; preds = %203, %171 br label %211 205: ; preds = %4 %206 = load i32, ptr @errno, align 4 %207 = load ptr, ptr %5, align 8 %208 = load i32, ptr @errno, align 4 %209 = call ptr @strerror(i32 noundef %208) %210 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i32 noundef %206, ptr noundef %207, ptr noundef %209) br label %211 211: ; preds = %205, %204 %212 = call i32 (ptr, ...) @printf(ptr noundef @.str.18) %213 = call i32 @semV(i32 noundef 151002) %214 = load i32, ptr %13, align 4 ret i32 %214 } declare i32 @semPautounlock(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @fputs(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i64 @time(ptr noundef) #1 declare i64 @rename(ptr noundef, ptr noundef) #1 declare i64 @remove(ptr noundef) #1 declare i32 @semV(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/tmp65jyrn_4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"GW locked\0A\00", align 1 @.str.1 = private unnamed_addr constant [59 x i8] c"Finding option %s in section %s and replace value with %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%s_tmp\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"w+\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"Line: %s\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"config\00", align 1 @.str.7 = private unnamed_addr constant [15 x i8] c"In section %s\0A\00", align 1 @.str.8 = private unnamed_addr constant [22 x i8] c"Out of section again\0A\00", align 1 @.str.9 = private unnamed_addr constant [7 x i8] c"option\00", align 1 @.str.10 = private unnamed_addr constant [34 x i8] c"Option %s found: replace with %s\0A\00", align 1 @.str.11 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.12 = private unnamed_addr constant [20 x i8] c"Empty line (%d/%d)\0A\00", align 1 @.str.13 = private unnamed_addr constant [32 x i8] c"Adding option %s with value %s\0A\00", align 1 @.str.14 = private unnamed_addr constant [15 x i8] c"\09option %s %s\0A\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.15 = private unnamed_addr constant [49 x i8] c"Error %d opening temporary config file (%s): %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.16 = private unnamed_addr constant [6 x i8] c"%s_%d\00", align 1 @.str.17 = private unnamed_addr constant [39 x i8] c"Error %d opening config file (%s): %s\0A\00", align 1 @.str.18 = private unnamed_addr constant [13 x i8] c"GW unlocked\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @gwConfigEditOption(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca [40 x i8], align 16 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca [202 x i8], align 16 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i32 0, ptr %13, align 4 store i32 0, ptr %14, align 4 store i32 0, ptr %15, align 4 %17 = call i32 @semPautounlock(i32 noundef 151002, i32 noundef 10) %18 = call i32 (ptr, ...) @printf(ptr noundef @.str) %19 = load ptr, ptr %7, align 8 %20 = load ptr, ptr %6, align 8 %21 = load ptr, ptr %8, align 8 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %19, ptr noundef %20, ptr noundef %21) %23 = getelementptr inbounds [40 x i8], ptr %9, i64 0, i64 0 %24 = load ptr, ptr %5, align 8 %25 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %23, ptr noundef @.str.2, ptr noundef %24) %26 = load ptr, ptr %5, align 8 %27 = call ptr @fopen(ptr noundef %26, ptr noundef @.str.3) store ptr %27, ptr %10, align 8 %28 = icmp ne ptr %27, null br i1 %28, label %29, label %205 29: ; preds = %4 %30 = getelementptr inbounds [40 x i8], ptr %9, i64 0, i64 0 %31 = call ptr @fopen(ptr noundef %30, ptr noundef @.str.4) store ptr %31, ptr %11, align 8 %32 = icmp ne ptr %31, null br i1 %32, label %33, label %165 33: ; preds = %29 store i32 1, ptr %13, align 4 br label %34 34: ; preds = %161, %33 %35 = load i32, ptr %13, align 4 %36 = icmp ne i32 %35, 0 br i1 %36, label %37, label %42 37: ; preds = %34 %38 = getelementptr inbounds [202 x i8], ptr %12, i64 0, i64 0 %39 = load ptr, ptr %10, align 8 %40 = call ptr @fgets(ptr noundef %38, i32 noundef 200, ptr noundef %39) %41 = icmp ne ptr %40, null br label %42 42: ; preds = %37, %34 %43 = phi i1 [ false, %34 ], [ %41, %37 ] br i1 %43, label %44, label %162 44: ; preds = %42 %45 = getelementptr inbounds [202 x i8], ptr %12, i64 0, i64 0 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %45) %47 = getelementptr inbounds [202 x i8], ptr %12, i64 0, i64 0 %48 = call ptr @strstr(ptr noundef %47, ptr noundef @.str.6) store ptr %48, ptr %16, align 8 %49 = icmp ne ptr %48, null br i1 %49, label %50, label %65 50: ; preds = %44 %51 = load ptr, ptr %16, align 8 %52 = load ptr, ptr %6, align 8 %53 = call ptr @strstr(ptr noundef %51, ptr noundef %52) %54 = icmp ne ptr %53, null br i1 %54, label %55, label %58 55: ; preds = %50 store i32 1, ptr %15, align 4 %56 = load ptr, ptr %6, align 8 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %56) br label %64 58: ; preds = %50 %59 = load i32, ptr %15, align 4 %60 = icmp ne i32 %59, 0 br i1 %60, label %61, label %63 61: ; preds = %58 store i32 0, ptr %15, align 4 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) br label %63 63: ; preds = %61, %58 br label %64 64: ; preds = %63, %55 br label %154 65: ; preds = %44 %66 = getelementptr inbounds [202 x i8], ptr %12, i64 0, i64 0 %67 = call ptr @strstr(ptr noundef %66, ptr noundef @.str.9) store ptr %67, ptr %16, align 8 %68 = icmp ne ptr %67, null br i1 %68, label %69, label %106 69: ; preds = %65 %70 = load i32, ptr %15, align 4 %71 = icmp ne i32 %70, 0 br i1 %71, label %72, label %105 72: ; preds = %69 %73 = load ptr, ptr %16, align 8 %74 = load ptr, ptr %7, align 8 %75 = call ptr @strstr(ptr noundef %73, ptr noundef %74) store ptr %75, ptr %16, align 8 %76 = icmp ne ptr %75, null br i1 %76, label %77, label %104 77: ; preds = %72 %78 = load ptr, ptr %7, align 8 %79 = load ptr, ptr %8, align 8 %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef %78, ptr noundef %79) store i32 1, ptr %14, align 4 %81 = load ptr, ptr %7, align 8 %82 = call i64 @strlen(ptr noundef %81) %83 = load ptr, ptr %16, align 8 %84 = getelementptr inbounds i8, ptr %83, i64 %82 store ptr %84, ptr %16, align 8 br label %85 85: ; preds = %97, %77 %86 = load ptr, ptr %16, align 8 %87 = load i8, ptr %86, align 1 %88 = sext i8 %87 to i32 %89 = icmp eq i32 %88, 32 br i1 %89, label %95, label %90 90: ; preds = %85 %91 = load ptr, ptr %16, align 8 %92 = load i8, ptr %91, align 1 %93 = sext i8 %92 to i32 %94 = icmp eq i32 %93, 9 br label %95 95: ; preds = %90, %85 %96 = phi i1 [ true, %85 ], [ %94, %90 ] br i1 %96, label %97, label %100 97: ; preds = %95 %98 = load ptr, ptr %16, align 8 %99 = getelementptr inbounds i8, ptr %98, i32 1 store ptr %99, ptr %16, align 8 br label %85, !llvm.loop !6 100: ; preds = %95 %101 = load ptr, ptr %16, align 8 %102 = load ptr, ptr %8, align 8 %103 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %101, ptr noundef @.str.11, ptr noundef %102) br label %104 104: ; preds = %100, %72 br label %105 105: ; preds = %104, %69 br label %153 106: ; preds = %65 %107 = getelementptr inbounds [202 x i8], ptr %12, i64 0, i64 0 store ptr %107, ptr %16, align 8 br label %108 108: ; preds = %125, %106 %109 = load ptr, ptr %16, align 8 %110 = load i8, ptr %109, align 1 %111 = sext i8 %110 to i32 %112 = icmp eq i32 %111, 32 br i1 %112, label %123, label %113 113: ; preds = %108 %114 = load ptr, ptr %16, align 8 %115 = load i8, ptr %114, align 1 %116 = sext i8 %115 to i32 %117 = icmp eq i32 %116, 9 br i1 %117, label %123, label %118 118: ; preds = %113 %119 = load ptr, ptr %16, align 8 %120 = load i8, ptr %119, align 1 %121 = sext i8 %120 to i32 %122 = icmp eq i32 %121, 10 br label %123 123: ; preds = %118, %113, %108 %124 = phi i1 [ true, %113 ], [ true, %108 ], [ %122, %118 ] br i1 %124, label %125, label %128 125: ; preds = %123 %126 = load ptr, ptr %16, align 8 %127 = getelementptr inbounds i8, ptr %126, i32 1 store ptr %127, ptr %16, align 8 br label %108, !llvm.loop !8 128: ; preds = %123 %129 = load ptr, ptr %16, align 8 %130 = call i64 @strlen(ptr noundef %129) %131 = icmp eq i64 %130, 0 br i1 %131, label %132, label %152 132: ; preds = %128 %133 = load i32, ptr %15, align 4 %134 = load i32, ptr %14, align 4 %135 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %133, i32 noundef %134) %136 = load i32, ptr %15, align 4 %137 = icmp ne i32 %136, 0 br i1 %137, label %138, label %151 138: ; preds = %132 %139 = load i32, ptr %14, align 4 %140 = icmp ne i32 %139, 0 br i1 %140, label %149, label %141 141: ; preds = %138 store i32 1, ptr %14, align 4 %142 = load ptr, ptr %7, align 8 %143 = load ptr, ptr %8, align 8 %144 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, ptr noundef %142, ptr noundef %143) %145 = load ptr, ptr %11, align 8 %146 = load ptr, ptr %7, align 8 %147 = load ptr, ptr %8, align 8 %148 = call i32 @fprintf(ptr noundef %145, ptr noundef @.str.14, ptr noundef %146, ptr noundef %147) br label %149 149: ; preds = %141, %138 store i32 0, ptr %15, align 4 %150 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) br label %151 151: ; preds = %149, %132 br label %152 152: ; preds = %151, %128 br label %153 153: ; preds = %152, %105 br label %154 154: ; preds = %153, %64 %155 = getelementptr inbounds [202 x i8], ptr %12, i64 0, i64 0 %156 = load ptr, ptr %11, align 8 %157 = call i64 @fputs(ptr noundef %155, ptr noundef %156) %158 = load i64, ptr @EOF, align 8 %159 = icmp eq i64 %157, %158 br i1 %159, label %160, label %161 160: ; preds = %154 store i32 0, ptr %13, align 4 br label %161 161: ; preds = %160, %154 br label %34, !llvm.loop !9 162: ; preds = %42 %163 = load ptr, ptr %11, align 8 %164 = call i32 @fclose(ptr noundef %163) br label %171 165: ; preds = %29 %166 = load i32, ptr @errno, align 4 %167 = getelementptr inbounds [40 x i8], ptr %9, i64 0, i64 0 %168 = load i32, ptr @errno, align 4 %169 = call ptr @strerror(i32 noundef %168) %170 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef %166, ptr noundef %167, ptr noundef %169) br label %171 171: ; preds = %165, %162 %172 = load ptr, ptr %10, align 8 %173 = call i32 @fclose(ptr noundef %172) %174 = load i32, ptr %13, align 4 %175 = icmp ne i32 %174, 0 br i1 %175, label %176, label %204 176: ; preds = %171 store i32 0, ptr %13, align 4 %177 = load i32, ptr %14, align 4 %178 = icmp ne i32 %177, 0 br i1 %178, label %179, label %196 179: ; preds = %176 %180 = getelementptr inbounds [202 x i8], ptr %12, i64 0, i64 0 %181 = load ptr, ptr %5, align 8 %182 = call i64 @time(ptr noundef null) %183 = trunc i64 %182 to i32 %184 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %180, ptr noundef @.str.16, ptr noundef %181, i32 noundef %183) %185 = load ptr, ptr %5, align 8 %186 = getelementptr inbounds [202 x i8], ptr %12, i64 0, i64 0 %187 = call i64 @rename(ptr noundef %185, ptr noundef %186) %188 = icmp eq i64 %187, 0 br i1 %188, label %189, label %195 189: ; preds = %179 %190 = getelementptr inbounds [40 x i8], ptr %9, i64 0, i64 0 %191 = load ptr, ptr %5, align 8 %192 = call i64 @rename(ptr noundef %190, ptr noundef %191) %193 = icmp eq i64 %192, 0 %194 = zext i1 %193 to i32 store i32 %194, ptr %13, align 4 br label %195 195: ; preds = %189, %179 br label %203 196: ; preds = %176 %197 = getelementptr inbounds [40 x i8], ptr %9, i64 0, i64 0 %198 = call i64 @remove(ptr noundef %197) %199 = icmp eq i64 %198, 0 %200 = zext i1 %199 to i32 store i32 %200, ptr %13, align 4 br i1 %199, label %201, label %202 201: ; preds = %196 store i32 -1, ptr %13, align 4 br label %202 202: ; preds = %201, %196 br label %203 203: ; preds = %202, %195 br label %204 204: ; preds = %203, %171 br label %211 205: ; preds = %4 %206 = load i32, ptr @errno, align 4 %207 = load ptr, ptr %5, align 8 %208 = load i32, ptr @errno, align 4 %209 = call ptr @strerror(i32 noundef %208) %210 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i32 noundef %206, ptr noundef %207, ptr noundef %209) br label %211 211: ; preds = %205, %204 %212 = call i32 (ptr, ...) @printf(ptr noundef @.str.18) %213 = call i32 @semV(i32 noundef 151002) %214 = load i32, ptr %13, align 4 ret i32 %214 } declare i32 @semPautounlock(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @fputs(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i64 @time(ptr noundef) #1 declare i64 @rename(ptr noundef, ptr noundef) #1 declare i64 @remove(ptr noundef) #1 declare i32 @semV(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/tmpgbd6r0xb.c' source_filename = "/tmp/tmpgbd6r0xb.c" target datalayout = "e-m:e-p270: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/tmpgbd6r0xb.c" target datalayout = "e-m:e-p270: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/tmpd0rxbsg_.c' source_filename = "/tmp/tmpd0rxbsg_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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" result is NULL\00", align 1 @REG_EXTENDED = dso_local global i32 0, align 4 @REG_ICASE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [9 x i8] c"to match\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"not to match\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @rdz_string_match(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca [1 x i32], align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %12 = load ptr, ptr %6, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %16 14: ; preds = %3 %15 = call ptr @rdz_strdup(ptr noundef @.str) store ptr %15, ptr %4, align 8 br label %64 16: ; preds = %3 store ptr null, ptr %8, align 8 %17 = load i32, ptr @REG_EXTENDED, align 4 store i32 %17, ptr %9, align 4 %18 = load ptr, ptr %5, align 8 %19 = call i64 @strchr(ptr noundef %18, i8 noundef signext 105) %20 = icmp ne i64 %19, 0 br i1 %20, label %21, label %25 21: ; preds = %16 %22 = load i32, ptr %9, align 4 %23 = load i32, ptr @REG_ICASE, align 4 %24 = or i32 %22, %23 store i32 %24, ptr %9, align 4 br label %25 25: ; preds = %21, %16 %26 = call ptr @calloc(i32 noundef 1, i32 noundef 4) store ptr %26, ptr %10, align 8 %27 = load ptr, ptr %10, align 8 %28 = load ptr, ptr %7, align 8 %29 = load i32, ptr %9, align 4 %30 = call i32 @regcomp(ptr noundef %27, ptr noundef %28, i32 noundef %29) %31 = load ptr, ptr %10, align 8 %32 = load ptr, ptr %6, align 8 %33 = getelementptr inbounds [1 x i32], ptr %11, i64 0, i64 0 %34 = call i64 @regexec(ptr noundef %31, ptr noundef %32, i32 noundef 0, ptr noundef %33, i32 noundef 0) %35 = icmp ne i64 %34, 0 br i1 %35, label %36, label %47 36: ; preds = %25 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds i8, ptr %37, i64 0 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp ne i32 %40, 33 br i1 %41, label %42, label %46 42: ; preds = %36 %43 = load ptr, ptr %6, align 8 %44 = load ptr, ptr %7, align 8 %45 = call ptr @rdz_string_expected(ptr noundef %43, ptr noundef @.str.1, ptr noundef %44) store ptr %45, ptr %8, align 8 br label %46 46: ; preds = %42, %36 br label %58 47: ; preds = %25 %48 = load ptr, ptr %5, align 8 %49 = getelementptr inbounds i8, ptr %48, i64 0 %50 = load i8, ptr %49, align 1 %51 = sext i8 %50 to i32 %52 = icmp eq i32 %51, 33 br i1 %52, label %53, label %57 53: ; preds = %47 %54 = load ptr, ptr %6, align 8 %55 = load ptr, ptr %7, align 8 %56 = call ptr @rdz_string_expected(ptr noundef %54, ptr noundef @.str.2, ptr noundef %55) store ptr %56, ptr %8, align 8 br label %57 57: ; preds = %53, %47 br label %58 58: ; preds = %57, %46 %59 = load ptr, ptr %10, align 8 %60 = call i32 @regfree(ptr noundef %59) %61 = load ptr, ptr %10, align 8 %62 = call i32 @free(ptr noundef %61) %63 = load ptr, ptr %8, align 8 store ptr %63, ptr %4, align 8 br label %64 64: ; preds = %58, %14 %65 = load ptr, ptr %4, align 8 ret ptr %65 } declare ptr @rdz_strdup(ptr noundef) #1 declare i64 @strchr(ptr noundef, i8 noundef signext) #1 declare ptr @calloc(i32 noundef, i32 noundef) #1 declare i32 @regcomp(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @regexec(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare ptr @rdz_string_expected(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @regfree(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/tmpd0rxbsg_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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" result is NULL\00", align 1 @REG_EXTENDED = dso_local global i32 0, align 4 @REG_ICASE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [9 x i8] c"to match\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"not to match\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @rdz_string_match(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca [1 x i32], align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %12 = load ptr, ptr %6, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %16 14: ; preds = %3 %15 = call ptr @rdz_strdup(ptr noundef @.str) store ptr %15, ptr %4, align 8 br label %64 16: ; preds = %3 store ptr null, ptr %8, align 8 %17 = load i32, ptr @REG_EXTENDED, align 4 store i32 %17, ptr %9, align 4 %18 = load ptr, ptr %5, align 8 %19 = call i64 @strchr(ptr noundef %18, i8 noundef signext 105) %20 = icmp ne i64 %19, 0 br i1 %20, label %21, label %25 21: ; preds = %16 %22 = load i32, ptr %9, align 4 %23 = load i32, ptr @REG_ICASE, align 4 %24 = or i32 %22, %23 store i32 %24, ptr %9, align 4 br label %25 25: ; preds = %21, %16 %26 = call ptr @calloc(i32 noundef 1, i32 noundef 4) store ptr %26, ptr %10, align 8 %27 = load ptr, ptr %10, align 8 %28 = load ptr, ptr %7, align 8 %29 = load i32, ptr %9, align 4 %30 = call i32 @regcomp(ptr noundef %27, ptr noundef %28, i32 noundef %29) %31 = load ptr, ptr %10, align 8 %32 = load ptr, ptr %6, align 8 %33 = getelementptr inbounds [1 x i32], ptr %11, i64 0, i64 0 %34 = call i64 @regexec(ptr noundef %31, ptr noundef %32, i32 noundef 0, ptr noundef %33, i32 noundef 0) %35 = icmp ne i64 %34, 0 br i1 %35, label %36, label %47 36: ; preds = %25 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds i8, ptr %37, i64 0 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp ne i32 %40, 33 br i1 %41, label %42, label %46 42: ; preds = %36 %43 = load ptr, ptr %6, align 8 %44 = load ptr, ptr %7, align 8 %45 = call ptr @rdz_string_expected(ptr noundef %43, ptr noundef @.str.1, ptr noundef %44) store ptr %45, ptr %8, align 8 br label %46 46: ; preds = %42, %36 br label %58 47: ; preds = %25 %48 = load ptr, ptr %5, align 8 %49 = getelementptr inbounds i8, ptr %48, i64 0 %50 = load i8, ptr %49, align 1 %51 = sext i8 %50 to i32 %52 = icmp eq i32 %51, 33 br i1 %52, label %53, label %57 53: ; preds = %47 %54 = load ptr, ptr %6, align 8 %55 = load ptr, ptr %7, align 8 %56 = call ptr @rdz_string_expected(ptr noundef %54, ptr noundef @.str.2, ptr noundef %55) store ptr %56, ptr %8, align 8 br label %57 57: ; preds = %53, %47 br label %58 58: ; preds = %57, %46 %59 = load ptr, ptr %10, align 8 %60 = call i32 @regfree(ptr noundef %59) %61 = load ptr, ptr %10, align 8 %62 = call i32 @free(ptr noundef %61) %63 = load ptr, ptr %8, align 8 store ptr %63, ptr %4, align 8 br label %64 64: ; preds = %58, %14 %65 = load ptr, ptr %4, align 8 ret ptr %65 } declare ptr @rdz_strdup(ptr noundef) #1 declare i64 @strchr(ptr noundef, i8 noundef signext) #1 declare ptr @calloc(i32 noundef, i32 noundef) #1 declare i32 @regcomp(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @regexec(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare ptr @rdz_string_expected(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @regfree(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/tmpno6_5b9n.c' source_filename = "/tmp/tmpno6_5b9n.c" target datalayout = "e-m:e-p270: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/tmpno6_5b9n.c" target datalayout = "e-m:e-p270: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/tmpon0x86_f.c' source_filename = "/tmp/tmpon0x86_f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"at least 2 arguments.\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"-v\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"hello world.\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"-h\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"a.exe -v -h\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 3 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = call i32 @printf(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %27 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 1 %13 = load ptr, ptr %12, align 8 %14 = call i64 @strcmp(ptr noundef %13, ptr noundef @.str.1) %15 = icmp ne i64 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %10 %17 = call i32 @printf(ptr noundef @.str.2) br label %18 18: ; preds = %16, %10 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 2 %21 = load ptr, ptr %20, align 8 %22 = call i64 @strcmp(ptr noundef %21, ptr noundef @.str.3) %23 = icmp ne i64 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %18 %25 = call i32 @printf(ptr noundef @.str.4) br label %26 26: ; preds = %24, %18 store i32 0, ptr %3, align 4 br label %27 27: ; preds = %26, %8 %28 = load i32, ptr %3, align 4 ret i32 %28 } declare i32 @printf(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpon0x86_f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"at least 2 arguments.\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"-v\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"hello world.\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"-h\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"a.exe -v -h\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 3 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = call i32 @printf(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %27 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 1 %13 = load ptr, ptr %12, align 8 %14 = call i64 @strcmp(ptr noundef %13, ptr noundef @.str.1) %15 = icmp ne i64 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %10 %17 = call i32 @printf(ptr noundef @.str.2) br label %18 18: ; preds = %16, %10 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 2 %21 = load ptr, ptr %20, align 8 %22 = call i64 @strcmp(ptr noundef %21, ptr noundef @.str.3) %23 = icmp ne i64 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %18 %25 = call i32 @printf(ptr noundef @.str.4) br label %26 26: ; preds = %24, %18 store i32 0, ptr %3, align 4 br label %27 27: ; preds = %26, %8 %28 = load i32, ptr %3, align 4 ret i32 %28 } declare i32 @printf(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmz6b3a_7.c' source_filename = "/tmp/tmpmz6b3a_7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"%.255s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @AddTableFields(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [256 x i8], align 16 store ptr %0, ptr %2, align 8 br label %4 4: ; preds = %1, %13, %19, %25 %5 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %6 = load ptr, ptr %2, align 8 %7 = call ptr @ParseTextAreaLines(ptr noundef %6) %8 = call i32 @sprintf(ptr noundef %5, ptr noundef @.str, ptr noundef %7) %9 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %10 = load i8, ptr %9, align 16 %11 = sext i8 %10 to i32 %12 = icmp eq i32 %11, 35 br i1 %12, label %13, label %14 13: ; preds = %4 br label %4 14: ; preds = %4 %15 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %16 = load i8, ptr %15, align 16 %17 = sext i8 %16 to i32 %18 = icmp eq i32 %17, 32 br i1 %18, label %19, label %20 19: ; preds = %14 br label %4 20: ; preds = %14 %21 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %22 = load i8, ptr %21, align 16 %23 = icmp ne i8 %22, 0 br i1 %23, label %25, label %24 24: ; preds = %20 br label %28 25: ; preds = %20 %26 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %27 = call i32 @AddTableFieldLine(ptr noundef %26) br label %4 28: ; preds = %24 ret void } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @ParseTextAreaLines(ptr noundef) #1 declare i32 @AddTableFieldLine(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmz6b3a_7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"%.255s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @AddTableFields(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [256 x i8], align 16 store ptr %0, ptr %2, align 8 %4 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 br label %5 5: ; preds = %.backedge, %1 %6 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %7 = load ptr, ptr %2, align 8 %8 = call ptr @ParseTextAreaLines(ptr noundef %7) %9 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str, ptr noundef %8) %10 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %11 = load i8, ptr %10, align 16 %12 = sext i8 %11 to i32 %13 = icmp eq i32 %12, 35 br i1 %13, label %14, label %15 14: ; preds = %5 br label %.backedge .backedge: ; preds = %14, %20, %25 br label %5 15: ; preds = %5 %16 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %17 = load i8, ptr %16, align 16 %18 = sext i8 %17 to i32 %19 = icmp eq i32 %18, 32 br i1 %19, label %20, label %21 20: ; preds = %15 br label %.backedge 21: ; preds = %15 %22 = load i8, ptr %4, align 16 %23 = icmp ne i8 %22, 0 br i1 %23, label %25, label %24 24: ; preds = %21 br label %28 25: ; preds = %21 %26 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %27 = call i32 @AddTableFieldLine(ptr noundef %26) br label %.backedge 28: ; preds = %24 ret void } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @ParseTextAreaLines(ptr noundef) #1 declare i32 @AddTableFieldLine(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpl7ttoggh.c' source_filename = "/tmp/tmpl7ttoggh.c" target datalayout = "e-m:e-p270: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.passwd = type { ptr } @.str = private unnamed_addr constant [5 x i8] c"HOME\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"%s/.todo/\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_db_directory() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = call ptr @getenv(ptr noundef @.str) store ptr %4, ptr %1, align 8 %5 = load ptr, ptr %1, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %13 7: ; preds = %0 %8 = call i32 (...) @getuid() %9 = call ptr @getpwuid(i32 noundef %8) store ptr %9, ptr %2, align 8 %10 = load ptr, ptr %2, align 8 %11 = getelementptr inbounds %struct.passwd, ptr %10, i32 0, i32 0 %12 = load ptr, ptr %11, align 8 store ptr %12, ptr %1, align 8 br label %13 13: ; preds = %7, %0 %14 = load ptr, ptr %1, align 8 %15 = call i32 @strlen(ptr noundef %14) %16 = add nsw i32 %15, 7 %17 = sext i32 %16 to i64 %18 = mul i64 1, %17 %19 = trunc i64 %18 to i32 %20 = call ptr @malloc(i32 noundef %19) store ptr %20, ptr %3, align 8 %21 = load ptr, ptr %3, align 8 %22 = load ptr, ptr %1, align 8 %23 = call i32 @sprintf(ptr noundef %21, ptr noundef @.str.1, ptr noundef %22) %24 = load ptr, ptr %3, align 8 ret ptr %24 } declare ptr @getenv(ptr noundef) #1 declare ptr @getpwuid(i32 noundef) #1 declare i32 @getuid(...) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl7ttoggh.c" target datalayout = "e-m:e-p270: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.passwd = type { ptr } @.str = private unnamed_addr constant [5 x i8] c"HOME\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"%s/.todo/\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_db_directory() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = call ptr @getenv(ptr noundef @.str) store ptr %4, ptr %1, align 8 %5 = load ptr, ptr %1, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %13 7: ; preds = %0 %8 = call i32 (...) @getuid() %9 = call ptr @getpwuid(i32 noundef %8) store ptr %9, ptr %2, align 8 %10 = load ptr, ptr %2, align 8 %11 = getelementptr inbounds %struct.passwd, ptr %10, i32 0, i32 0 %12 = load ptr, ptr %11, align 8 store ptr %12, ptr %1, align 8 br label %13 13: ; preds = %7, %0 %14 = load ptr, ptr %1, align 8 %15 = call i32 @strlen(ptr noundef %14) %16 = add nsw i32 %15, 7 %17 = sext i32 %16 to i64 %18 = mul i64 1, %17 %19 = trunc i64 %18 to i32 %20 = call ptr @malloc(i32 noundef %19) store ptr %20, ptr %3, align 8 %21 = load ptr, ptr %3, align 8 %22 = load ptr, ptr %1, align 8 %23 = call i32 @sprintf(ptr noundef %21, ptr noundef @.str.1, ptr noundef %22) %24 = load ptr, ptr %3, align 8 ret ptr %24 } declare ptr @getenv(ptr noundef) #1 declare ptr @getpwuid(i32 noundef) #1 declare i32 @getuid(...) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0c6839ki.c' source_filename = "/tmp/tmp0c6839ki.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ConfigureTiCodecMic(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = call i32 (...) @CodecReset() %4 = call i32 @CodecPageSelect(i32 noundef 0) %5 = load i64, ptr %2, align 8 %6 = trunc i64 %5 to i32 %7 = call i32 @CodecRegWrite(i32 noundef 27, i32 noundef %6) %8 = call i32 @CodecRegWrite(i32 noundef 18, i32 noundef 132) %9 = call i32 @CodecRegWrite(i32 noundef 19, i32 noundef 132) %10 = call i32 @CodecRegWrite(i32 noundef 20, i32 noundef 48) %11 = call i32 @CodecPageSelect(i32 noundef 1) %12 = call i32 @CodecRegWrite(i32 noundef 46, i32 noundef 9) %13 = call i32 @CodecRegWrite(i32 noundef 47, i32 noundef 0) %14 = call i32 @CodecRegWrite(i32 noundef 48, i32 noundef 32) %15 = call i32 @CodecRegWrite(i32 noundef 49, i32 noundef 64) %16 = call i32 @CodecPageSelect(i32 noundef 0) %17 = call i32 @CodecRegWrite(i32 noundef 64, i32 noundef 12) %18 = call i32 @CodecRegWrite(i32 noundef 81, i32 noundef 128) %19 = call i32 @CodecRegWrite(i32 noundef 82, i32 noundef 0) %20 = call i32 @CodecRegWrite(i32 noundef 83, i32 noundef 24) ret void } declare i32 @CodecReset(...) #1 declare i32 @CodecPageSelect(i32 noundef) #1 declare i32 @CodecRegWrite(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/tmp0c6839ki.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ConfigureTiCodecMic(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = call i32 (...) @CodecReset() %4 = call i32 @CodecPageSelect(i32 noundef 0) %5 = load i64, ptr %2, align 8 %6 = trunc i64 %5 to i32 %7 = call i32 @CodecRegWrite(i32 noundef 27, i32 noundef %6) %8 = call i32 @CodecRegWrite(i32 noundef 18, i32 noundef 132) %9 = call i32 @CodecRegWrite(i32 noundef 19, i32 noundef 132) %10 = call i32 @CodecRegWrite(i32 noundef 20, i32 noundef 48) %11 = call i32 @CodecPageSelect(i32 noundef 1) %12 = call i32 @CodecRegWrite(i32 noundef 46, i32 noundef 9) %13 = call i32 @CodecRegWrite(i32 noundef 47, i32 noundef 0) %14 = call i32 @CodecRegWrite(i32 noundef 48, i32 noundef 32) %15 = call i32 @CodecRegWrite(i32 noundef 49, i32 noundef 64) %16 = call i32 @CodecPageSelect(i32 noundef 0) %17 = call i32 @CodecRegWrite(i32 noundef 64, i32 noundef 12) %18 = call i32 @CodecRegWrite(i32 noundef 81, i32 noundef 128) %19 = call i32 @CodecRegWrite(i32 noundef 82, i32 noundef 0) %20 = call i32 @CodecRegWrite(i32 noundef 83, i32 noundef 24) ret void } declare i32 @CodecReset(...) #1 declare i32 @CodecPageSelect(i32 noundef) #1 declare i32 @CodecRegWrite(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/tmpdsms45_5.c' source_filename = "/tmp/tmpdsms45_5.c" target datalayout = "e-m:e-p270: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_FILENO = dso_local global i32 0, align 4 @O_RDONLY = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [19 x i8] c"Error opening %s!\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"open\00", align 1 @stdout = dso_local global i32 0, align 4 @EOF = dso_local global i8 0, 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 [50000 x i8], align 16 %7 = alloca [30000 x i8], align 16 %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 i32, align 4 %15 = 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 %16 = getelementptr inbounds [50000 x i8], ptr %6, i64 0, i64 0 store ptr %16, ptr %8, align 8 %17 = getelementptr inbounds [30000 x i8], ptr %7, i64 0, i64 0 store ptr %17, ptr %9, align 8 store ptr null, ptr %10, align 8 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 store i32 0, ptr %13, align 4 store i32 0, ptr %14, align 4 store i32 0, ptr %15, align 4 %18 = load i32, ptr %4, align 4 %19 = icmp slt i32 %18, 2 br i1 %19, label %20, label %22 20: ; preds = %2 %21 = load i32, ptr @STDIN_FILENO, align 4 store i32 %21, ptr %11, align 4 br label %39 22: ; preds = %2 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 1 %25 = load ptr, ptr %24, align 8 %26 = load i32, ptr @O_RDONLY, align 4 %27 = call i32 @open(ptr noundef %25, i32 noundef %26) store i32 %27, ptr %11, align 4 %28 = load i32, ptr %11, align 4 %29 = icmp slt i32 %28, 0 br i1 %29, label %30, label %38 30: ; preds = %22 %31 = load i32, ptr @stderr, align 4 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 1 %34 = load ptr, ptr %33, align 8 %35 = call i32 @fprintf(i32 noundef %31, ptr noundef @.str, ptr noundef %34) %36 = call i32 @perror(ptr noundef @.str.1) %37 = call i32 @exit(i32 noundef 1) #3 unreachable 38: ; preds = %22 br label %39 39: ; preds = %38, %20 store i32 50000, ptr %13, align 4 %40 = getelementptr inbounds [50000 x i8], ptr %6, i64 0, i64 0 store ptr %40, ptr %10, align 8 %41 = load i32, ptr %11, align 4 %42 = load ptr, ptr %10, align 8 %43 = load i32, ptr %13, align 4 %44 = call i32 @read(i32 noundef %41, ptr noundef %42, i32 noundef %43) store i32 %44, ptr %14, align 4 br label %45 45: ; preds = %54, %39 %46 = load i32, ptr %14, align 4 %47 = icmp ne i32 %46, 0 br i1 %47, label %48, label %52 48: ; preds = %45 %49 = load i32, ptr %12, align 4 %50 = sext i32 %49 to i64 %51 = icmp ult i64 %50, 50000 br label %52 52: ; preds = %48, %45 %53 = phi i1 [ false, %45 ], [ %51, %48 ] br i1 %53, label %54, label %69 54: ; preds = %52 %55 = load i32, ptr %14, align 4 %56 = load i32, ptr %13, align 4 %57 = sub nsw i32 %56, %55 store i32 %57, ptr %13, align 4 %58 = load i32, ptr %14, align 4 %59 = load i32, ptr %12, align 4 %60 = add nsw i32 %59, %58 store i32 %60, ptr %12, align 4 %61 = load i32, ptr %14, align 4 %62 = load ptr, ptr %10, align 8 %63 = sext i32 %61 to i64 %64 = getelementptr inbounds i8, ptr %62, i64 %63 store ptr %64, ptr %10, align 8 %65 = load i32, ptr %11, align 4 %66 = load ptr, ptr %10, align 8 %67 = load i32, ptr %13, align 4 %68 = call i32 @read(i32 noundef %65, ptr noundef %66, i32 noundef %67) store i32 %68, ptr %14, align 4 br label %45, !llvm.loop !6 69: ; preds = %52 br label %70 70: ; preds = %171, %69 %71 = load ptr, ptr %8, align 8 %72 = getelementptr inbounds [50000 x i8], ptr %6, i64 0, i64 0 %73 = load i32, ptr %12, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds i8, ptr %72, i64 %74 %76 = icmp ult ptr %71, %75 br i1 %76, label %77, label %174 77: ; preds = %70 %78 = load ptr, ptr %8, align 8 %79 = load i8, ptr %78, align 1 %80 = sext i8 %79 to i32 switch i32 %80, label %171 [ i32 62, label %81 i32 60, label %84 i32 43, label %87 i32 45, label %91 i32 46, label %95 i32 44, label %101 i32 91, label %113 i32 93, label %142 ] 81: ; preds = %77 %82 = load ptr, ptr %9, align 8 %83 = getelementptr inbounds i8, ptr %82, i32 1 store ptr %83, ptr %9, align 8 br label %171 84: ; preds = %77 %85 = load ptr, ptr %9, align 8 %86 = getelementptr inbounds i8, ptr %85, i32 -1 store ptr %86, ptr %9, align 8 br label %171 87: ; preds = %77 %88 = load ptr, ptr %9, align 8 %89 = load i8, ptr %88, align 1 %90 = add i8 %89, 1 store i8 %90, ptr %88, align 1 br label %171 91: ; preds = %77 %92 = load ptr, ptr %9, align 8 %93 = load i8, ptr %92, align 1 %94 = add i8 %93, -1 store i8 %94, ptr %92, align 1 br label %171 95: ; preds = %77 %96 = load ptr, ptr %9, align 8 %97 = load i8, ptr %96, align 1 %98 = call i32 @putchar(i8 noundef signext %97) %99 = load i32, ptr @stdout, align 4 %100 = call i32 @fflush(i32 noundef %99) br label %171 101: ; preds = %77 %102 = call signext i8 (...) @getchar() %103 = load ptr, ptr %9, align 8 store i8 %102, ptr %103, align 1 %104 = load ptr, ptr %9, align 8 %105 = load i8, ptr %104, align 1 %106 = sext i8 %105 to i32 %107 = load i8, ptr @EOF, align 1 %108 = sext i8 %107 to i32 %109 = icmp eq i32 %106, %108 br i1 %109, label %110, label %112 110: ; preds = %101 %111 = call i32 @exit(i32 noundef 0) #3 unreachable 112: ; preds = %101 br label %171 113: ; preds = %77 %114 = load ptr, ptr %9, align 8 %115 = load i8, ptr %114, align 1 %116 = icmp ne i8 %115, 0 br i1 %116, label %141, label %117 117: ; preds = %113 store i32 1, ptr %15, align 4 br label %118 118: ; preds = %139, %117 %119 = load i32, ptr %15, align 4 %120 = icmp ne i32 %119, 0 br i1 %120, label %121, label %140 121: ; preds = %118 %122 = load ptr, ptr %8, align 8 %123 = getelementptr inbounds i8, ptr %122, i32 1 store ptr %123, ptr %8, align 8 %124 = load ptr, ptr %8, align 8 %125 = load i8, ptr %124, align 1 %126 = sext i8 %125 to i32 %127 = icmp eq i32 %126, 91 br i1 %127, label %128, label %131 128: ; preds = %121 %129 = load i32, ptr %15, align 4 %130 = add nsw i32 %129, 1 store i32 %130, ptr %15, align 4 br label %131 131: ; preds = %128, %121 %132 = load ptr, ptr %8, align 8 %133 = load i8, ptr %132, align 1 %134 = sext i8 %133 to i32 %135 = icmp eq i32 %134, 93 br i1 %135, label %136, label %139 136: ; preds = %131 %137 = load i32, ptr %15, align 4 %138 = add nsw i32 %137, -1 store i32 %138, ptr %15, align 4 br label %139 139: ; preds = %136, %131 br label %118, !llvm.loop !8 140: ; preds = %118 br label %141 141: ; preds = %140, %113 br label %171 142: ; preds = %77 %143 = load ptr, ptr %9, align 8 %144 = load i8, ptr %143, align 1 %145 = icmp ne i8 %144, 0 br i1 %145, label %146, label %170 146: ; preds = %142 store i32 1, ptr %15, align 4 br label %147 147: ; preds = %168, %146 %148 = load i32, ptr %15, align 4 %149 = icmp ne i32 %148, 0 br i1 %149, label %150, label %169 150: ; preds = %147 %151 = load ptr, ptr %8, align 8 %152 = getelementptr inbounds i8, ptr %151, i32 -1 store ptr %152, ptr %8, align 8 %153 = load ptr, ptr %8, align 8 %154 = load i8, ptr %153, align 1 %155 = sext i8 %154 to i32 %156 = icmp eq i32 %155, 93 br i1 %156, label %157, label %160 157: ; preds = %150 %158 = load i32, ptr %15, align 4 %159 = add nsw i32 %158, 1 store i32 %159, ptr %15, align 4 br label %160 160: ; preds = %157, %150 %161 = load ptr, ptr %8, align 8 %162 = load i8, ptr %161, align 1 %163 = sext i8 %162 to i32 %164 = icmp eq i32 %163, 91 br i1 %164, label %165, label %168 165: ; preds = %160 %166 = load i32, ptr %15, align 4 %167 = add nsw i32 %166, -1 store i32 %167, ptr %15, align 4 br label %168 168: ; preds = %165, %160 br label %147, !llvm.loop !9 169: ; preds = %147 br label %170 170: ; preds = %169, %142 br label %171 171: ; preds = %77, %170, %141, %112, %95, %91, %87, %84, %81 %172 = load ptr, ptr %8, align 8 %173 = getelementptr inbounds i8, ptr %172, i32 1 store ptr %173, ptr %8, align 8 br label %70, !llvm.loop !10 174: ; preds = %70 ret i32 0 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @putchar(i8 noundef signext) #1 declare i32 @fflush(i32 noundef) #1 declare signext i8 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdsms45_5.c" target datalayout = "e-m:e-p270: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_FILENO = dso_local global i32 0, align 4 @O_RDONLY = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [19 x i8] c"Error opening %s!\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"open\00", align 1 @stdout = dso_local global i32 0, align 4 @EOF = dso_local global i8 0, 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 [50000 x i8], align 16 %7 = alloca [30000 x i8], align 16 %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 i32, align 4 %15 = 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 %16 = getelementptr inbounds [50000 x i8], ptr %6, i64 0, i64 0 store ptr %16, ptr %8, align 8 %17 = getelementptr inbounds [30000 x i8], ptr %7, i64 0, i64 0 store ptr %17, ptr %9, align 8 store ptr null, ptr %10, align 8 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 store i32 0, ptr %13, align 4 store i32 0, ptr %14, align 4 store i32 0, ptr %15, align 4 %18 = load i32, ptr %4, align 4 %19 = icmp slt i32 %18, 2 br i1 %19, label %20, label %22 20: ; preds = %2 %21 = load i32, ptr @STDIN_FILENO, align 4 store i32 %21, ptr %11, align 4 br label %39 22: ; preds = %2 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 1 %25 = load ptr, ptr %24, align 8 %26 = load i32, ptr @O_RDONLY, align 4 %27 = call i32 @open(ptr noundef %25, i32 noundef %26) store i32 %27, ptr %11, align 4 %28 = load i32, ptr %11, align 4 %29 = icmp slt i32 %28, 0 br i1 %29, label %30, label %38 30: ; preds = %22 %31 = load i32, ptr @stderr, align 4 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 1 %34 = load ptr, ptr %33, align 8 %35 = call i32 @fprintf(i32 noundef %31, ptr noundef @.str, ptr noundef %34) %36 = call i32 @perror(ptr noundef @.str.1) %37 = call i32 @exit(i32 noundef 1) #3 unreachable 38: ; preds = %22 br label %39 39: ; preds = %38, %20 store i32 50000, ptr %13, align 4 %40 = getelementptr inbounds [50000 x i8], ptr %6, i64 0, i64 0 store ptr %40, ptr %10, align 8 %41 = load i32, ptr %11, align 4 %42 = load ptr, ptr %10, align 8 %43 = load i32, ptr %13, align 4 %44 = call i32 @read(i32 noundef %41, ptr noundef %42, i32 noundef %43) store i32 %44, ptr %14, align 4 br label %45 45: ; preds = %54, %39 %46 = load i32, ptr %14, align 4 %47 = icmp ne i32 %46, 0 br i1 %47, label %48, label %52 48: ; preds = %45 %49 = load i32, ptr %12, align 4 %50 = sext i32 %49 to i64 %51 = icmp ult i64 %50, 50000 br label %52 52: ; preds = %48, %45 %53 = phi i1 [ false, %45 ], [ %51, %48 ] br i1 %53, label %54, label %69 54: ; preds = %52 %55 = load i32, ptr %14, align 4 %56 = load i32, ptr %13, align 4 %57 = sub nsw i32 %56, %55 store i32 %57, ptr %13, align 4 %58 = load i32, ptr %14, align 4 %59 = load i32, ptr %12, align 4 %60 = add nsw i32 %59, %58 store i32 %60, ptr %12, align 4 %61 = load i32, ptr %14, align 4 %62 = load ptr, ptr %10, align 8 %63 = sext i32 %61 to i64 %64 = getelementptr inbounds i8, ptr %62, i64 %63 store ptr %64, ptr %10, align 8 %65 = load i32, ptr %11, align 4 %66 = load ptr, ptr %10, align 8 %67 = load i32, ptr %13, align 4 %68 = call i32 @read(i32 noundef %65, ptr noundef %66, i32 noundef %67) store i32 %68, ptr %14, align 4 br label %45, !llvm.loop !6 69: ; preds = %52 %70 = load ptr, ptr %8, align 8 %71 = getelementptr inbounds [50000 x i8], ptr %6, i64 0, i64 0 %72 = load i32, ptr %12, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds i8, ptr %71, i64 %73 %75 = icmp ult ptr %70, %74 br i1 %75, label %.lr.ph5, label %180 .lr.ph5: ; preds = %69 br label %76 76: ; preds = %.lr.ph5, %172 %77 = load ptr, ptr %8, align 8 %78 = load i8, ptr %77, align 1 %79 = sext i8 %78 to i32 switch i32 %79, label %172 [ i32 62, label %80 i32 60, label %83 i32 43, label %86 i32 45, label %90 i32 46, label %94 i32 44, label %100 i32 91, label %112 i32 93, label %142 ] 80: ; preds = %76 %81 = load ptr, ptr %9, align 8 %82 = getelementptr inbounds i8, ptr %81, i32 1 store ptr %82, ptr %9, align 8 br label %172 83: ; preds = %76 %84 = load ptr, ptr %9, align 8 %85 = getelementptr inbounds i8, ptr %84, i32 -1 store ptr %85, ptr %9, align 8 br label %172 86: ; preds = %76 %87 = load ptr, ptr %9, align 8 %88 = load i8, ptr %87, align 1 %89 = add i8 %88, 1 store i8 %89, ptr %87, align 1 br label %172 90: ; preds = %76 %91 = load ptr, ptr %9, align 8 %92 = load i8, ptr %91, align 1 %93 = add i8 %92, -1 store i8 %93, ptr %91, align 1 br label %172 94: ; preds = %76 %95 = load ptr, ptr %9, align 8 %96 = load i8, ptr %95, align 1 %97 = call i32 @putchar(i8 noundef signext %96) %98 = load i32, ptr @stdout, align 4 %99 = call i32 @fflush(i32 noundef %98) br label %172 100: ; preds = %76 %101 = call signext i8 (...) @getchar() %102 = load ptr, ptr %9, align 8 store i8 %101, ptr %102, align 1 %103 = load ptr, ptr %9, align 8 %104 = load i8, ptr %103, align 1 %105 = sext i8 %104 to i32 %106 = load i8, ptr @EOF, align 1 %107 = sext i8 %106 to i32 %108 = icmp eq i32 %105, %107 br i1 %108, label %109, label %111 109: ; preds = %100 %110 = call i32 @exit(i32 noundef 0) #3 unreachable 111: ; preds = %100 br label %172 112: ; preds = %76 %113 = load ptr, ptr %9, align 8 %114 = load i8, ptr %113, align 1 %115 = icmp ne i8 %114, 0 br i1 %115, label %141, label %116 116: ; preds = %112 store i32 1, ptr %15, align 4 %117 = load i32, ptr %15, align 4 %118 = icmp ne i32 %117, 0 br i1 %118, label %.lr.ph2, label %140 .lr.ph2: ; preds = %116 br label %119 119: ; preds = %.lr.ph2, %137 %120 = load ptr, ptr %8, align 8 %121 = getelementptr inbounds i8, ptr %120, i32 1 store ptr %121, ptr %8, align 8 %122 = load ptr, ptr %8, align 8 %123 = load i8, ptr %122, align 1 %124 = sext i8 %123 to i32 %125 = icmp eq i32 %124, 91 br i1 %125, label %126, label %129 126: ; preds = %119 %127 = load i32, ptr %15, align 4 %128 = add nsw i32 %127, 1 store i32 %128, ptr %15, align 4 br label %129 129: ; preds = %126, %119 %130 = load ptr, ptr %8, align 8 %131 = load i8, ptr %130, align 1 %132 = sext i8 %131 to i32 %133 = icmp eq i32 %132, 93 br i1 %133, label %134, label %137 134: ; preds = %129 %135 = load i32, ptr %15, align 4 %136 = add nsw i32 %135, -1 store i32 %136, ptr %15, align 4 br label %137 137: ; preds = %134, %129 %138 = load i32, ptr %15, align 4 %139 = icmp ne i32 %138, 0 br i1 %139, label %119, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %137 br label %140 140: ; preds = %._crit_edge3, %116 br label %141 141: ; preds = %140, %112 br label %172 142: ; preds = %76 %143 = load ptr, ptr %9, align 8 %144 = load i8, ptr %143, align 1 %145 = icmp ne i8 %144, 0 br i1 %145, label %146, label %171 146: ; preds = %142 store i32 1, ptr %15, align 4 %147 = load i32, ptr %15, align 4 %148 = icmp ne i32 %147, 0 br i1 %148, label %.lr.ph, label %170 .lr.ph: ; preds = %146 br label %149 149: ; preds = %.lr.ph, %167 %150 = load ptr, ptr %8, align 8 %151 = getelementptr inbounds i8, ptr %150, i32 -1 store ptr %151, ptr %8, align 8 %152 = load ptr, ptr %8, align 8 %153 = load i8, ptr %152, align 1 %154 = sext i8 %153 to i32 %155 = icmp eq i32 %154, 93 br i1 %155, label %156, label %159 156: ; preds = %149 %157 = load i32, ptr %15, align 4 %158 = add nsw i32 %157, 1 store i32 %158, ptr %15, align 4 br label %159 159: ; preds = %156, %149 %160 = load ptr, ptr %8, align 8 %161 = load i8, ptr %160, align 1 %162 = sext i8 %161 to i32 %163 = icmp eq i32 %162, 91 br i1 %163, label %164, label %167 164: ; preds = %159 %165 = load i32, ptr %15, align 4 %166 = add nsw i32 %165, -1 store i32 %166, ptr %15, align 4 br label %167 167: ; preds = %164, %159 %168 = load i32, ptr %15, align 4 %169 = icmp ne i32 %168, 0 br i1 %169, label %149, label %._crit_edge, !llvm.loop !9 ._crit_edge: ; preds = %167 br label %170 170: ; preds = %._crit_edge, %146 br label %171 171: ; preds = %170, %142 br label %172 172: ; preds = %171, %141, %111, %94, %90, %86, %83, %80, %76 %173 = load ptr, ptr %8, align 8 %174 = getelementptr inbounds i8, ptr %173, i32 1 store ptr %174, ptr %8, align 8 %175 = load ptr, ptr %8, align 8 %176 = load i32, ptr %12, align 4 %177 = sext i32 %176 to i64 %178 = getelementptr inbounds i8, ptr %71, i64 %177 %179 = icmp ult ptr %175, %178 br i1 %179, label %76, label %._crit_edge6, !llvm.loop !10 ._crit_edge6: ; preds = %172 br label %180 180: ; preds = %._crit_edge6, %69 ret i32 0 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @putchar(i8 noundef signext) #1 declare i32 @fflush(i32 noundef) #1 declare signext i8 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpa8hqfqhl.c' source_filename = "/tmp/tmpa8hqfqhl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rc_send_servo_pulse_us_all(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 0, ptr %6, align 4 store i32 1, ptr %4, align 4 br label %7 7: ; preds = %23, %1 %8 = load i32, ptr %4, align 4 %9 = icmp sle i32 %8, 8 br i1 %9, label %10, label %26 10: ; preds = %7 %11 = load i32, ptr %4, align 4 %12 = load i32, ptr %3, align 4 %13 = call i32 @rc_send_servo_pulse_us(i32 noundef %11, i32 noundef %12) store i32 %13, ptr %5, align 4 %14 = load i32, ptr %5, align 4 %15 = icmp eq i32 %14, -2 br i1 %15, label %16, label %17 16: ; preds = %10 store i32 -2, ptr %2, align 4 br label %28 17: ; preds = %10 %18 = load i32, ptr %5, align 4 %19 = icmp eq i32 %18, -1 br i1 %19, label %20, label %21 20: ; preds = %17 store i32 -1, ptr %6, align 4 br label %21 21: ; preds = %20, %17 br label %22 22: ; preds = %21 br label %23 23: ; preds = %22 %24 = load i32, ptr %4, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %4, align 4 br label %7, !llvm.loop !6 26: ; preds = %7 %27 = load i32, ptr %6, align 4 store i32 %27, ptr %2, align 4 br label %28 28: ; preds = %26, %16 %29 = load i32, ptr %2, align 4 ret i32 %29 } declare i32 @rc_send_servo_pulse_us(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/tmpa8hqfqhl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rc_send_servo_pulse_us_all(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 0, ptr %6, align 4 store i32 1, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp sle i32 %7, 8 br i1 %8, label %.lr.ph, label %27 .lr.ph: ; preds = %1 br label %9 9: ; preds = %.lr.ph, %22 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr %3, align 4 %12 = call i32 @rc_send_servo_pulse_us(i32 noundef %10, i32 noundef %11) store i32 %12, ptr %5, align 4 %13 = load i32, ptr %5, align 4 %14 = icmp eq i32 %13, -2 br i1 %14, label %15, label %16 15: ; preds = %9 store i32 -2, ptr %2, align 4 br label %29 16: ; preds = %9 %17 = load i32, ptr %5, align 4 %18 = icmp eq i32 %17, -1 br i1 %18, label %19, label %20 19: ; preds = %16 store i32 -1, ptr %6, align 4 br label %20 20: ; preds = %19, %16 br label %21 21: ; preds = %20 br label %22 22: ; preds = %21 %23 = load i32, ptr %4, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %4, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp sle i32 %25, 8 br i1 %26, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %27 27: ; preds = %._crit_edge, %1 %28 = load i32, ptr %6, align 4 store i32 %28, ptr %2, align 4 br label %29 29: ; preds = %27, %15 %30 = load i32, ptr %2, align 4 ret i32 %30 } declare i32 @rc_send_servo_pulse_us(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/tmpjkcsndkf.c' source_filename = "/tmp/tmpjkcsndkf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GL_PROJECTION = dso_local global i32 0, align 4 @GL_MODELVIEW = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @reshape_gfx(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %2 store i32 1, ptr %4, align 4 br label %8 8: ; preds = %7, %2 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %4, align 4 %11 = call i32 @glViewport(i32 noundef 0, i32 noundef 0, i32 noundef %9, i32 noundef %10) %12 = load i32, ptr @GL_PROJECTION, align 4 %13 = call i32 @glMatrixMode(i32 noundef %12) %14 = call i32 (...) @glLoadIdentity() %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %4, align 4 %17 = sdiv i32 %15, %16 %18 = call i32 @gluPerspective(double noundef 6.000000e+01, i32 noundef %17, double noundef 1.000000e+00, double noundef 1.000000e+03) %19 = load i32, ptr @GL_MODELVIEW, align 4 %20 = call i32 @glMatrixMode(i32 noundef %19) %21 = call i32 (...) @glLoadIdentity() ret void } declare i32 @glViewport(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @glMatrixMode(i32 noundef) #1 declare i32 @glLoadIdentity(...) #1 declare i32 @gluPerspective(double noundef, i32 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/tmpjkcsndkf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GL_PROJECTION = dso_local global i32 0, align 4 @GL_MODELVIEW = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @reshape_gfx(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %2 store i32 1, ptr %4, align 4 br label %8 8: ; preds = %7, %2 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %4, align 4 %11 = call i32 @glViewport(i32 noundef 0, i32 noundef 0, i32 noundef %9, i32 noundef %10) %12 = load i32, ptr @GL_PROJECTION, align 4 %13 = call i32 @glMatrixMode(i32 noundef %12) %14 = call i32 (...) @glLoadIdentity() %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %4, align 4 %17 = sdiv i32 %15, %16 %18 = call i32 @gluPerspective(double noundef 6.000000e+01, i32 noundef %17, double noundef 1.000000e+00, double noundef 1.000000e+03) %19 = load i32, ptr @GL_MODELVIEW, align 4 %20 = call i32 @glMatrixMode(i32 noundef %19) %21 = call i32 (...) @glLoadIdentity() ret void } declare i32 @glViewport(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @glMatrixMode(i32 noundef) #1 declare i32 @glLoadIdentity(...) #1 declare i32 @gluPerspective(double noundef, i32 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/tmp3fawi_oh.c' source_filename = "/tmp/tmp3fawi_oh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"/proc/sys/crypto/fips_enabled\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [46 x i8] c"The OS doesn't support kernel crypto module!\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [25 x i8] c"failed to read from: %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"FIPS_MODE: %c\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = 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 %8 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %8, ptr %6, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %13 10: ; preds = %2 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %12 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %12, ptr %3, align 4 br label %29 13: ; preds = %2 %14 = load ptr, ptr %6, align 8 %15 = call i64 @fread(ptr noundef %7, i32 noundef 1, i32 noundef 1, ptr noundef %14) %16 = icmp sle i64 %15, 0 br i1 %16, label %17, label %22 17: ; preds = %13 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef @.str) %19 = load ptr, ptr %6, align 8 %20 = call i32 @fclose(ptr noundef %19) %21 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %21, ptr %3, align 4 br label %29 22: ; preds = %13 %23 = load i8, ptr %7, align 1 %24 = sext i8 %23 to i32 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %24) %26 = load ptr, ptr %6, align 8 %27 = call i32 @fclose(ptr noundef %26) %28 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %28, ptr %3, align 4 br label %29 29: ; preds = %22, %17, %10 %30 = load i32, ptr %3, align 4 ret i32 %30 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3fawi_oh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"/proc/sys/crypto/fips_enabled\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [46 x i8] c"The OS doesn't support kernel crypto module!\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [25 x i8] c"failed to read from: %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"FIPS_MODE: %c\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = 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 %8 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %8, ptr %6, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %13 10: ; preds = %2 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %12 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %12, ptr %3, align 4 br label %29 13: ; preds = %2 %14 = load ptr, ptr %6, align 8 %15 = call i64 @fread(ptr noundef %7, i32 noundef 1, i32 noundef 1, ptr noundef %14) %16 = icmp sle i64 %15, 0 br i1 %16, label %17, label %22 17: ; preds = %13 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef @.str) %19 = load ptr, ptr %6, align 8 %20 = call i32 @fclose(ptr noundef %19) %21 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %21, ptr %3, align 4 br label %29 22: ; preds = %13 %23 = load i8, ptr %7, align 1 %24 = sext i8 %23 to i32 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %24) %26 = load ptr, ptr %6, align 8 %27 = call i32 @fclose(ptr noundef %26) %28 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %28, ptr %3, align 4 br label %29 29: ; preds = %22, %17, %10 %30 = load i32, ptr %3, align 4 ret i32 %30 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0u6p2fv7.c' source_filename = "/tmp/tmp0u6p2fv7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.a = private unnamed_addr constant [5 x i32] [i32 6, i32 3, i32 1, i32 8, i32 4], align 16 @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca [5 x i32], align 16 %2 = alloca i32, align 4 %3 = alloca i32, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.a, i64 20, i1 false) %4 = getelementptr inbounds [5 x i32], ptr %1, i64 0, i64 0 %5 = call i32 @sort(ptr noundef %4) store i32 0, ptr %3, align 4 store i32 0, ptr %3, align 4 br label %6 6: ; preds = %15, %0 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %7, 5 br i1 %8, label %9, label %18 9: ; preds = %6 %10 = load i32, ptr %3, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds [5 x i32], ptr %1, i64 0, i64 %11 %13 = load i32, ptr %12, align 4 %14 = call i32 @printf(ptr noundef @.str, i32 noundef %13) br label %15 15: ; preds = %9 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %3, align 4 br label %6, !llvm.loop !6 18: ; preds = %6 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @sort(ptr noundef) #2 declare i32 @printf(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0u6p2fv7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.a = private unnamed_addr constant [5 x i32] [i32 6, i32 3, i32 1, i32 8, i32 4], align 16 @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca [5 x i32], align 16 %2 = alloca i32, align 4 %3 = alloca i32, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.a, i64 20, i1 false) %4 = getelementptr inbounds [5 x i32], ptr %1, i64 0, i64 0 %5 = call i32 @sort(ptr noundef %4) store i32 0, ptr %3, align 4 store i32 0, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 5 br i1 %7, label %.lr.ph, label %19 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %14 %9 = load i32, ptr %3, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds [5 x i32], ptr %1, i64 0, i64 %10 %12 = load i32, ptr %11, align 4 %13 = call i32 @printf(ptr noundef @.str, i32 noundef %12) br label %14 14: ; preds = %8 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %3, align 4 %17 = load i32, ptr %3, align 4 %18 = icmp slt i32 %17, 5 br i1 %18, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %19 19: ; preds = %._crit_edge, %0 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @sort(ptr noundef) #2 declare i32 @printf(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpod5k2kwz.c' source_filename = "/tmp/tmpod5k2kwz.c" target datalayout = "e-m:e-p270: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/tmpod5k2kwz.c" target datalayout = "e-m:e-p270: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/tmpqehsiokz.c' source_filename = "/tmp/tmpqehsiokz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"value of 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 store i32 10, ptr %2, align 4 br label %3 3: ; preds = %14, %0 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 15 br i1 %5, label %6, label %9 6: ; preds = %3 %7 = load i32, ptr %2, align 4 %8 = add nsw i32 %7, 1 store i32 %8, ptr %2, align 4 br label %14 9: ; preds = %3 %10 = load i32, ptr %2, align 4 %11 = call i32 @printf(ptr noundef @.str, i32 noundef %10) %12 = load i32, ptr %2, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %2, align 4 br label %14 14: ; preds = %9, %6 %15 = load i32, ptr %2, align 4 %16 = icmp slt i32 %15, 20 br i1 %16, label %3, label %17, !llvm.loop !6 17: ; preds = %14 %18 = load i32, ptr %1, align 4 ret i32 %18 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqehsiokz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"value of 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 store i32 10, ptr %2, align 4 br label %3 3: ; preds = %14, %0 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 15 br i1 %5, label %6, label %9 6: ; preds = %3 %7 = load i32, ptr %2, align 4 %8 = add nsw i32 %7, 1 store i32 %8, ptr %2, align 4 br label %14 9: ; preds = %3 %10 = load i32, ptr %2, align 4 %11 = call i32 @printf(ptr noundef @.str, i32 noundef %10) %12 = load i32, ptr %2, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %2, align 4 br label %14 14: ; preds = %9, %6 %15 = load i32, ptr %2, align 4 %16 = icmp slt i32 %15, 20 br i1 %16, label %3, label %17, !llvm.loop !6 17: ; preds = %14 %18 = load i32, ptr %1, align 4 ret i32 %18 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp59mm5851.c' source_filename = "/tmp/tmp59mm5851.c" target datalayout = "e-m:e-p270: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/tmp59mm5851.c" target datalayout = "e-m:e-p270: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"}