llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpfufdmrjl.c' source_filename = "/tmp/tmpfufdmrjl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\\%3.3o\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @preproc_escape_string(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 store i64 %4, ptr %10, align 8 %17 = load ptr, ptr %6, align 8 %18 = load ptr, ptr %17, align 8 store ptr %18, ptr %11, align 8 store ptr null, ptr %12, align 8 %19 = load ptr, ptr %7, align 8 %20 = load i64, ptr %19, align 8 store i64 %20, ptr %13, align 8 %21 = load ptr, ptr %8, align 8 %22 = load i64, ptr %21, align 8 %23 = load i64, ptr %9, align 8 %24 = sub i64 %22, %23 %25 = load i64, ptr %10, align 8 %26 = mul i64 2, %25 %27 = sub i64 %24, %26 %28 = sub i64 %27, 2 store i64 %28, ptr %14, align 8 %29 = load i64, ptr %9, align 8 store i64 %29, ptr %16, align 8 %30 = load i64, ptr %14, align 8 %31 = icmp ne i64 %30, 0 br i1 %31, label %32, label %45 32: ; preds = %5 %33 = load i64, ptr %14, align 8 %34 = call i64 @malloc(i64 noundef %33) %35 = inttoptr i64 %34 to ptr store ptr %35, ptr %12, align 8 %36 = load ptr, ptr %12, align 8 %37 = load ptr, ptr %11, align 8 %38 = load i64, ptr %16, align 8 %39 = load i64, ptr %10, align 8 %40 = add i64 %38, %39 %41 = add i64 %40, 1 %42 = getelementptr inbounds i8, ptr %37, i64 %41 %43 = load i64, ptr %14, align 8 %44 = call i32 @memcpy(ptr noundef %36, ptr noundef %42, i64 noundef %43) br label %45 45: ; preds = %32, %5 %46 = load i64, ptr %16, align 8 %47 = icmp uge i64 %46, 2 br i1 %47, label %48, label %71 48: ; preds = %45 %49 = load ptr, ptr %11, align 8 %50 = load i64, ptr %16, align 8 %51 = sub i64 %50, 1 %52 = getelementptr inbounds i8, ptr %49, i64 %51 %53 = load i8, ptr %52, align 1 %54 = sext i8 %53 to i32 %55 = icmp eq i32 %54, 34 br i1 %55, label %56, label %71 56: ; preds = %48 %57 = load ptr, ptr %11, align 8 %58 = load i64, ptr %16, align 8 %59 = sub i64 %58, 2 %60 = getelementptr inbounds i8, ptr %57, i64 %59 %61 = load i8, ptr %60, align 1 %62 = sext i8 %61 to i32 %63 = icmp eq i32 %62, 82 br i1 %63, label %64, label %71 64: ; preds = %56 %65 = load ptr, ptr %11, align 8 %66 = load i64, ptr %16, align 8 %67 = sub i64 %66, 2 %68 = getelementptr inbounds i8, ptr %65, i64 %67 store i8 34, ptr %68, align 1 %69 = load i64, ptr %16, align 8 %70 = add i64 %69, -1 store i64 %70, ptr %16, align 8 br label %71 71: ; preds = %64, %56, %48, %45 store i64 0, ptr %15, align 8 br label %72 72: ; preds = %229, %71 %73 = load i64, ptr %15, align 8 %74 = load i64, ptr %14, align 8 %75 = icmp ult i64 %73, %74 br i1 %75, label %76, label %232 76: ; preds = %72 br label %77 77: ; preds = %82, %76 %78 = load i64, ptr %16, align 8 %79 = add i64 %78, 4 %80 = load i64, ptr %13, align 8 %81 = icmp ugt i64 %79, %80 br i1 %81, label %82, label %89 82: ; preds = %77 %83 = load i64, ptr %13, align 8 %84 = mul i64 %83, 2 store i64 %84, ptr %13, align 8 %85 = load ptr, ptr %11, align 8 %86 = load i64, ptr %13, align 8 %87 = call i64 @realloc(ptr noundef %85, i64 noundef %86) %88 = inttoptr i64 %87 to ptr store ptr %88, ptr %11, align 8 br label %77, !llvm.loop !6 89: ; preds = %77 %90 = load ptr, ptr %12, align 8 %91 = load i64, ptr %15, align 8 %92 = getelementptr inbounds i8, ptr %90, i64 %91 %93 = load i8, ptr %92, align 1 %94 = sext i8 %93 to i32 %95 = icmp sge i32 %94, 32 br i1 %95, label %96, label %103 96: ; preds = %89 %97 = load ptr, ptr %12, align 8 %98 = load i64, ptr %15, align 8 %99 = getelementptr inbounds i8, ptr %97, i64 %98 %100 = load i8, ptr %99, align 1 %101 = sext i8 %100 to i32 %102 = icmp sle i32 %101, 126 br i1 %102, label %111, label %103 103: ; preds = %96, %89 %104 = load ptr, ptr %12, align 8 %105 = load i64, ptr %15, align 8 %106 = getelementptr inbounds i8, ptr %104, i64 %105 %107 = load i8, ptr %106, align 1 %108 = sext i8 %107 to i32 %109 = and i32 %108, 128 %110 = icmp ne i32 %109, 0 br i1 %110, label %111, label %120 111: ; preds = %103, %96 %112 = load ptr, ptr %12, align 8 %113 = load i64, ptr %15, align 8 %114 = getelementptr inbounds i8, ptr %112, i64 %113 %115 = load i8, ptr %114, align 1 %116 = load ptr, ptr %11, align 8 %117 = load i64, ptr %16, align 8 %118 = add i64 %117, 1 store i64 %118, ptr %16, align 8 %119 = getelementptr inbounds i8, ptr %116, i64 %117 store i8 %115, ptr %119, align 1 br label %228 120: ; preds = %103 %121 = load ptr, ptr %12, align 8 %122 = load i64, ptr %15, align 8 %123 = getelementptr inbounds i8, ptr %121, i64 %122 %124 = load i8, ptr %123, align 1 %125 = sext i8 %124 to i32 switch i32 %125, label %216 [ i32 7, label %126 i32 8, label %135 i32 12, label %144 i32 10, label %153 i32 13, label %162 i32 9, label %171 i32 11, label %180 i32 92, label %189 i32 39, label %198 i32 34, label %207 ] 126: ; preds = %120 %127 = load ptr, ptr %11, align 8 %128 = load i64, ptr %16, align 8 %129 = add i64 %128, 1 store i64 %129, ptr %16, align 8 %130 = getelementptr inbounds i8, ptr %127, i64 %128 store i8 92, ptr %130, align 1 %131 = load ptr, ptr %11, align 8 %132 = load i64, ptr %16, align 8 %133 = add i64 %132, 1 store i64 %133, ptr %16, align 8 %134 = getelementptr inbounds i8, ptr %131, i64 %132 store i8 97, ptr %134, align 1 br label %227 135: ; preds = %120 %136 = load ptr, ptr %11, align 8 %137 = load i64, ptr %16, align 8 %138 = add i64 %137, 1 store i64 %138, ptr %16, align 8 %139 = getelementptr inbounds i8, ptr %136, i64 %137 store i8 92, ptr %139, align 1 %140 = load ptr, ptr %11, align 8 %141 = load i64, ptr %16, align 8 %142 = add i64 %141, 1 store i64 %142, ptr %16, align 8 %143 = getelementptr inbounds i8, ptr %140, i64 %141 store i8 98, ptr %143, align 1 br label %227 144: ; preds = %120 %145 = load ptr, ptr %11, align 8 %146 = load i64, ptr %16, align 8 %147 = add i64 %146, 1 store i64 %147, ptr %16, align 8 %148 = getelementptr inbounds i8, ptr %145, i64 %146 store i8 92, ptr %148, align 1 %149 = load ptr, ptr %11, align 8 %150 = load i64, ptr %16, align 8 %151 = add i64 %150, 1 store i64 %151, ptr %16, align 8 %152 = getelementptr inbounds i8, ptr %149, i64 %150 store i8 102, ptr %152, align 1 br label %227 153: ; preds = %120 %154 = load ptr, ptr %11, align 8 %155 = load i64, ptr %16, align 8 %156 = add i64 %155, 1 store i64 %156, ptr %16, align 8 %157 = getelementptr inbounds i8, ptr %154, i64 %155 store i8 92, ptr %157, align 1 %158 = load ptr, ptr %11, align 8 %159 = load i64, ptr %16, align 8 %160 = add i64 %159, 1 store i64 %160, ptr %16, align 8 %161 = getelementptr inbounds i8, ptr %158, i64 %159 store i8 110, ptr %161, align 1 br label %227 162: ; preds = %120 %163 = load ptr, ptr %11, align 8 %164 = load i64, ptr %16, align 8 %165 = add i64 %164, 1 store i64 %165, ptr %16, align 8 %166 = getelementptr inbounds i8, ptr %163, i64 %164 store i8 92, ptr %166, align 1 %167 = load ptr, ptr %11, align 8 %168 = load i64, ptr %16, align 8 %169 = add i64 %168, 1 store i64 %169, ptr %16, align 8 %170 = getelementptr inbounds i8, ptr %167, i64 %168 store i8 114, ptr %170, align 1 br label %227 171: ; preds = %120 %172 = load ptr, ptr %11, align 8 %173 = load i64, ptr %16, align 8 %174 = add i64 %173, 1 store i64 %174, ptr %16, align 8 %175 = getelementptr inbounds i8, ptr %172, i64 %173 store i8 92, ptr %175, align 1 %176 = load ptr, ptr %11, align 8 %177 = load i64, ptr %16, align 8 %178 = add i64 %177, 1 store i64 %178, ptr %16, align 8 %179 = getelementptr inbounds i8, ptr %176, i64 %177 store i8 116, ptr %179, align 1 br label %227 180: ; preds = %120 %181 = load ptr, ptr %11, align 8 %182 = load i64, ptr %16, align 8 %183 = add i64 %182, 1 store i64 %183, ptr %16, align 8 %184 = getelementptr inbounds i8, ptr %181, i64 %182 store i8 92, ptr %184, align 1 %185 = load ptr, ptr %11, align 8 %186 = load i64, ptr %16, align 8 %187 = add i64 %186, 1 store i64 %187, ptr %16, align 8 %188 = getelementptr inbounds i8, ptr %185, i64 %186 store i8 118, ptr %188, align 1 br label %227 189: ; preds = %120 %190 = load ptr, ptr %11, align 8 %191 = load i64, ptr %16, align 8 %192 = add i64 %191, 1 store i64 %192, ptr %16, align 8 %193 = getelementptr inbounds i8, ptr %190, i64 %191 store i8 92, ptr %193, align 1 %194 = load ptr, ptr %11, align 8 %195 = load i64, ptr %16, align 8 %196 = add i64 %195, 1 store i64 %196, ptr %16, align 8 %197 = getelementptr inbounds i8, ptr %194, i64 %195 store i8 92, ptr %197, align 1 br label %227 198: ; preds = %120 %199 = load ptr, ptr %11, align 8 %200 = load i64, ptr %16, align 8 %201 = add i64 %200, 1 store i64 %201, ptr %16, align 8 %202 = getelementptr inbounds i8, ptr %199, i64 %200 store i8 92, ptr %202, align 1 %203 = load ptr, ptr %11, align 8 %204 = load i64, ptr %16, align 8 %205 = add i64 %204, 1 store i64 %205, ptr %16, align 8 %206 = getelementptr inbounds i8, ptr %203, i64 %204 store i8 39, ptr %206, align 1 br label %227 207: ; preds = %120 %208 = load ptr, ptr %11, align 8 %209 = load i64, ptr %16, align 8 %210 = add i64 %209, 1 store i64 %210, ptr %16, align 8 %211 = getelementptr inbounds i8, ptr %208, i64 %209 store i8 92, ptr %211, align 1 %212 = load ptr, ptr %11, align 8 %213 = load i64, ptr %16, align 8 %214 = add i64 %213, 1 store i64 %214, ptr %16, align 8 %215 = getelementptr inbounds i8, ptr %212, i64 %213 store i8 34, ptr %215, align 1 br label %227 216: ; preds = %120 %217 = load ptr, ptr %11, align 8 %218 = load i64, ptr %16, align 8 %219 = getelementptr inbounds i8, ptr %217, i64 %218 %220 = load ptr, ptr %12, align 8 %221 = load i64, ptr %15, align 8 %222 = getelementptr inbounds i8, ptr %220, i64 %221 %223 = load i8, ptr %222, align 1 %224 = call i32 @sprintf(ptr noundef %219, ptr noundef @.str, i8 noundef signext %223) %225 = load i64, ptr %16, align 8 %226 = add i64 %225, 4 store i64 %226, ptr %16, align 8 br label %227 227: ; preds = %216, %207, %198, %189, %180, %171, %162, %153, %144, %135, %126 br label %228 228: ; preds = %227, %111 br label %229 229: ; preds = %228 %230 = load i64, ptr %15, align 8 %231 = add i64 %230, 1 store i64 %231, ptr %15, align 8 br label %72, !llvm.loop !8 232: ; preds = %72 %233 = load ptr, ptr %12, align 8 %234 = call i32 @free(ptr noundef %233) %235 = load ptr, ptr %11, align 8 %236 = load ptr, ptr %6, align 8 store ptr %235, ptr %236, align 8 %237 = load i64, ptr %13, align 8 %238 = load ptr, ptr %7, align 8 store i64 %237, ptr %238, align 8 %239 = load i64, ptr %16, align 8 %240 = load ptr, ptr %8, align 8 store i64 %239, ptr %240, align 8 ret void } declare i64 @malloc(i64 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 declare i64 @realloc(ptr noundef, i64 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef signext) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfufdmrjl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\\%3.3o\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @preproc_escape_string(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 store i64 %4, ptr %10, align 8 %17 = load ptr, ptr %6, align 8 %18 = load ptr, ptr %17, align 8 store ptr %18, ptr %11, align 8 store ptr null, ptr %12, align 8 %19 = load ptr, ptr %7, align 8 %20 = load i64, ptr %19, align 8 store i64 %20, ptr %13, align 8 %21 = load ptr, ptr %8, align 8 %22 = load i64, ptr %21, align 8 %23 = load i64, ptr %9, align 8 %24 = sub i64 %22, %23 %25 = load i64, ptr %10, align 8 %26 = mul i64 2, %25 %27 = sub i64 %24, %26 %28 = sub i64 %27, 2 store i64 %28, ptr %14, align 8 %29 = load i64, ptr %9, align 8 store i64 %29, ptr %16, align 8 %30 = load i64, ptr %14, align 8 %31 = icmp ne i64 %30, 0 br i1 %31, label %32, label %45 32: ; preds = %5 %33 = load i64, ptr %14, align 8 %34 = call i64 @malloc(i64 noundef %33) %35 = inttoptr i64 %34 to ptr store ptr %35, ptr %12, align 8 %36 = load ptr, ptr %12, align 8 %37 = load ptr, ptr %11, align 8 %38 = load i64, ptr %16, align 8 %39 = load i64, ptr %10, align 8 %40 = add i64 %38, %39 %41 = add i64 %40, 1 %42 = getelementptr inbounds i8, ptr %37, i64 %41 %43 = load i64, ptr %14, align 8 %44 = call i32 @memcpy(ptr noundef %36, ptr noundef %42, i64 noundef %43) br label %45 45: ; preds = %32, %5 %46 = load i64, ptr %16, align 8 %47 = icmp uge i64 %46, 2 br i1 %47, label %48, label %71 48: ; preds = %45 %49 = load ptr, ptr %11, align 8 %50 = load i64, ptr %16, align 8 %51 = sub i64 %50, 1 %52 = getelementptr inbounds i8, ptr %49, i64 %51 %53 = load i8, ptr %52, align 1 %54 = sext i8 %53 to i32 %55 = icmp eq i32 %54, 34 br i1 %55, label %56, label %71 56: ; preds = %48 %57 = load ptr, ptr %11, align 8 %58 = load i64, ptr %16, align 8 %59 = sub i64 %58, 2 %60 = getelementptr inbounds i8, ptr %57, i64 %59 %61 = load i8, ptr %60, align 1 %62 = sext i8 %61 to i32 %63 = icmp eq i32 %62, 82 br i1 %63, label %64, label %71 64: ; preds = %56 %65 = load ptr, ptr %11, align 8 %66 = load i64, ptr %16, align 8 %67 = sub i64 %66, 2 %68 = getelementptr inbounds i8, ptr %65, i64 %67 store i8 34, ptr %68, align 1 %69 = load i64, ptr %16, align 8 %70 = add i64 %69, -1 store i64 %70, ptr %16, align 8 br label %71 71: ; preds = %64, %56, %48, %45 store i64 0, ptr %15, align 8 %72 = load i64, ptr %15, align 8 %73 = load i64, ptr %14, align 8 %74 = icmp ult i64 %72, %73 br i1 %74, label %.lr.ph2, label %237 .lr.ph2: ; preds = %71 br label %75 75: ; preds = %.lr.ph2, %231 %76 = load i64, ptr %16, align 8 %77 = add i64 %76, 4 %78 = load i64, ptr %13, align 8 %79 = icmp ugt i64 %77, %78 br i1 %79, label %.lr.ph, label %91 .lr.ph: ; preds = %75 br label %80 80: ; preds = %.lr.ph, %80 %81 = load i64, ptr %13, align 8 %82 = mul i64 %81, 2 store i64 %82, ptr %13, align 8 %83 = load ptr, ptr %11, align 8 %84 = load i64, ptr %13, align 8 %85 = call i64 @realloc(ptr noundef %83, i64 noundef %84) %86 = inttoptr i64 %85 to ptr store ptr %86, ptr %11, align 8 %87 = load i64, ptr %16, align 8 %88 = add i64 %87, 4 %89 = load i64, ptr %13, align 8 %90 = icmp ugt i64 %88, %89 br i1 %90, label %80, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %80 br label %91 91: ; preds = %._crit_edge, %75 %92 = load ptr, ptr %12, align 8 %93 = load i64, ptr %15, align 8 %94 = getelementptr inbounds i8, ptr %92, i64 %93 %95 = load i8, ptr %94, align 1 %96 = sext i8 %95 to i32 %97 = icmp sge i32 %96, 32 br i1 %97, label %98, label %105 98: ; preds = %91 %99 = load ptr, ptr %12, align 8 %100 = load i64, ptr %15, align 8 %101 = getelementptr inbounds i8, ptr %99, i64 %100 %102 = load i8, ptr %101, align 1 %103 = sext i8 %102 to i32 %104 = icmp sle i32 %103, 126 br i1 %104, label %113, label %105 105: ; preds = %98, %91 %106 = load ptr, ptr %12, align 8 %107 = load i64, ptr %15, align 8 %108 = getelementptr inbounds i8, ptr %106, i64 %107 %109 = load i8, ptr %108, align 1 %110 = sext i8 %109 to i32 %111 = and i32 %110, 128 %112 = icmp ne i32 %111, 0 br i1 %112, label %113, label %122 113: ; preds = %105, %98 %114 = load ptr, ptr %12, align 8 %115 = load i64, ptr %15, align 8 %116 = getelementptr inbounds i8, ptr %114, i64 %115 %117 = load i8, ptr %116, align 1 %118 = load ptr, ptr %11, align 8 %119 = load i64, ptr %16, align 8 %120 = add i64 %119, 1 store i64 %120, ptr %16, align 8 %121 = getelementptr inbounds i8, ptr %118, i64 %119 store i8 %117, ptr %121, align 1 br label %230 122: ; preds = %105 %123 = load ptr, ptr %12, align 8 %124 = load i64, ptr %15, align 8 %125 = getelementptr inbounds i8, ptr %123, i64 %124 %126 = load i8, ptr %125, align 1 %127 = sext i8 %126 to i32 switch i32 %127, label %218 [ i32 7, label %128 i32 8, label %137 i32 12, label %146 i32 10, label %155 i32 13, label %164 i32 9, label %173 i32 11, label %182 i32 92, label %191 i32 39, label %200 i32 34, label %209 ] 128: ; preds = %122 %129 = load ptr, ptr %11, align 8 %130 = load i64, ptr %16, align 8 %131 = add i64 %130, 1 store i64 %131, ptr %16, align 8 %132 = getelementptr inbounds i8, ptr %129, i64 %130 store i8 92, ptr %132, align 1 %133 = load ptr, ptr %11, align 8 %134 = load i64, ptr %16, align 8 %135 = add i64 %134, 1 store i64 %135, ptr %16, align 8 %136 = getelementptr inbounds i8, ptr %133, i64 %134 store i8 97, ptr %136, align 1 br label %229 137: ; preds = %122 %138 = load ptr, ptr %11, align 8 %139 = load i64, ptr %16, align 8 %140 = add i64 %139, 1 store i64 %140, ptr %16, align 8 %141 = getelementptr inbounds i8, ptr %138, i64 %139 store i8 92, ptr %141, align 1 %142 = load ptr, ptr %11, align 8 %143 = load i64, ptr %16, align 8 %144 = add i64 %143, 1 store i64 %144, ptr %16, align 8 %145 = getelementptr inbounds i8, ptr %142, i64 %143 store i8 98, ptr %145, align 1 br label %229 146: ; preds = %122 %147 = load ptr, ptr %11, align 8 %148 = load i64, ptr %16, align 8 %149 = add i64 %148, 1 store i64 %149, ptr %16, align 8 %150 = getelementptr inbounds i8, ptr %147, i64 %148 store i8 92, ptr %150, align 1 %151 = load ptr, ptr %11, align 8 %152 = load i64, ptr %16, align 8 %153 = add i64 %152, 1 store i64 %153, ptr %16, align 8 %154 = getelementptr inbounds i8, ptr %151, i64 %152 store i8 102, ptr %154, align 1 br label %229 155: ; preds = %122 %156 = load ptr, ptr %11, align 8 %157 = load i64, ptr %16, align 8 %158 = add i64 %157, 1 store i64 %158, ptr %16, align 8 %159 = getelementptr inbounds i8, ptr %156, i64 %157 store i8 92, ptr %159, align 1 %160 = load ptr, ptr %11, align 8 %161 = load i64, ptr %16, align 8 %162 = add i64 %161, 1 store i64 %162, ptr %16, align 8 %163 = getelementptr inbounds i8, ptr %160, i64 %161 store i8 110, ptr %163, align 1 br label %229 164: ; preds = %122 %165 = load ptr, ptr %11, align 8 %166 = load i64, ptr %16, align 8 %167 = add i64 %166, 1 store i64 %167, ptr %16, align 8 %168 = getelementptr inbounds i8, ptr %165, i64 %166 store i8 92, ptr %168, align 1 %169 = load ptr, ptr %11, align 8 %170 = load i64, ptr %16, align 8 %171 = add i64 %170, 1 store i64 %171, ptr %16, align 8 %172 = getelementptr inbounds i8, ptr %169, i64 %170 store i8 114, ptr %172, align 1 br label %229 173: ; preds = %122 %174 = load ptr, ptr %11, align 8 %175 = load i64, ptr %16, align 8 %176 = add i64 %175, 1 store i64 %176, ptr %16, align 8 %177 = getelementptr inbounds i8, ptr %174, i64 %175 store i8 92, ptr %177, align 1 %178 = load ptr, ptr %11, align 8 %179 = load i64, ptr %16, align 8 %180 = add i64 %179, 1 store i64 %180, ptr %16, align 8 %181 = getelementptr inbounds i8, ptr %178, i64 %179 store i8 116, ptr %181, align 1 br label %229 182: ; preds = %122 %183 = load ptr, ptr %11, align 8 %184 = load i64, ptr %16, align 8 %185 = add i64 %184, 1 store i64 %185, ptr %16, align 8 %186 = getelementptr inbounds i8, ptr %183, i64 %184 store i8 92, ptr %186, align 1 %187 = load ptr, ptr %11, align 8 %188 = load i64, ptr %16, align 8 %189 = add i64 %188, 1 store i64 %189, ptr %16, align 8 %190 = getelementptr inbounds i8, ptr %187, i64 %188 store i8 118, ptr %190, align 1 br label %229 191: ; preds = %122 %192 = load ptr, ptr %11, align 8 %193 = load i64, ptr %16, align 8 %194 = add i64 %193, 1 store i64 %194, ptr %16, align 8 %195 = getelementptr inbounds i8, ptr %192, i64 %193 store i8 92, ptr %195, align 1 %196 = load ptr, ptr %11, align 8 %197 = load i64, ptr %16, align 8 %198 = add i64 %197, 1 store i64 %198, ptr %16, align 8 %199 = getelementptr inbounds i8, ptr %196, i64 %197 store i8 92, ptr %199, align 1 br label %229 200: ; preds = %122 %201 = load ptr, ptr %11, align 8 %202 = load i64, ptr %16, align 8 %203 = add i64 %202, 1 store i64 %203, ptr %16, align 8 %204 = getelementptr inbounds i8, ptr %201, i64 %202 store i8 92, ptr %204, align 1 %205 = load ptr, ptr %11, align 8 %206 = load i64, ptr %16, align 8 %207 = add i64 %206, 1 store i64 %207, ptr %16, align 8 %208 = getelementptr inbounds i8, ptr %205, i64 %206 store i8 39, ptr %208, align 1 br label %229 209: ; preds = %122 %210 = load ptr, ptr %11, align 8 %211 = load i64, ptr %16, align 8 %212 = add i64 %211, 1 store i64 %212, ptr %16, align 8 %213 = getelementptr inbounds i8, ptr %210, i64 %211 store i8 92, ptr %213, align 1 %214 = load ptr, ptr %11, align 8 %215 = load i64, ptr %16, align 8 %216 = add i64 %215, 1 store i64 %216, ptr %16, align 8 %217 = getelementptr inbounds i8, ptr %214, i64 %215 store i8 34, ptr %217, align 1 br label %229 218: ; preds = %122 %219 = load ptr, ptr %11, align 8 %220 = load i64, ptr %16, align 8 %221 = getelementptr inbounds i8, ptr %219, i64 %220 %222 = load ptr, ptr %12, align 8 %223 = load i64, ptr %15, align 8 %224 = getelementptr inbounds i8, ptr %222, i64 %223 %225 = load i8, ptr %224, align 1 %226 = call i32 @sprintf(ptr noundef %221, ptr noundef @.str, i8 noundef signext %225) %227 = load i64, ptr %16, align 8 %228 = add i64 %227, 4 store i64 %228, ptr %16, align 8 br label %229 229: ; preds = %218, %209, %200, %191, %182, %173, %164, %155, %146, %137, %128 br label %230 230: ; preds = %229, %113 br label %231 231: ; preds = %230 %232 = load i64, ptr %15, align 8 %233 = add i64 %232, 1 store i64 %233, ptr %15, align 8 %234 = load i64, ptr %15, align 8 %235 = load i64, ptr %14, align 8 %236 = icmp ult i64 %234, %235 br i1 %236, label %75, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %231 br label %237 237: ; preds = %._crit_edge3, %71 %238 = load ptr, ptr %12, align 8 %239 = call i32 @free(ptr noundef %238) %240 = load ptr, ptr %11, align 8 %241 = load ptr, ptr %6, align 8 store ptr %240, ptr %241, align 8 %242 = load i64, ptr %13, align 8 %243 = load ptr, ptr %7, align 8 store i64 %242, ptr %243, align 8 %244 = load i64, ptr %16, align 8 %245 = load ptr, ptr %8, align 8 store i64 %244, ptr %245, align 8 ret void } declare i64 @malloc(i64 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 declare i64 @realloc(ptr noundef, i64 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef signext) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpcqdc95rw.c' source_filename = "/tmp/tmpcqdc95rw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stdDev(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @sqrt(double noundef %3) #2 ret double %4 } ; Function Attrs: nounwind declare double @sqrt(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcqdc95rw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stdDev(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @sqrt(double noundef %3) #2 ret double %4 } ; Function Attrs: nounwind declare double @sqrt(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpccb_xh2u.c' source_filename = "/tmp/tmpccb_xh2u.c" target datalayout = "e-m:e-p270: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/tmpccb_xh2u.c" target datalayout = "e-m:e-p270: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/tmpo1cupf63.c' source_filename = "/tmp/tmpo1cupf63.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local x86_fp80 @norm(x86_fp80 noundef %0, x86_fp80 noundef %1, x86_fp80 noundef %2, x86_fp80 noundef %3) #0 { %5 = alloca x86_fp80, align 16 %6 = alloca x86_fp80, align 16 %7 = alloca x86_fp80, align 16 %8 = alloca x86_fp80, align 16 store x86_fp80 %0, ptr %5, align 16 store x86_fp80 %1, ptr %6, align 16 store x86_fp80 %2, ptr %7, align 16 store x86_fp80 %3, ptr %8, align 16 %9 = load x86_fp80, ptr %5, align 16 %10 = load x86_fp80, ptr %6, align 16 %11 = load x86_fp80, ptr %7, align 16 %12 = load x86_fp80, ptr %8, align 16 %13 = call i32 @norm2(x86_fp80 noundef %9, x86_fp80 noundef %10, x86_fp80 noundef %11, x86_fp80 noundef %12) %14 = call x86_fp80 @sqrt(i32 noundef %13) ret x86_fp80 %14 } declare x86_fp80 @sqrt(i32 noundef) #1 declare i32 @norm2(x86_fp80 noundef, x86_fp80 noundef, x86_fp80 noundef, x86_fp80 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo1cupf63.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local x86_fp80 @norm(x86_fp80 noundef %0, x86_fp80 noundef %1, x86_fp80 noundef %2, x86_fp80 noundef %3) #0 { %5 = alloca x86_fp80, align 16 %6 = alloca x86_fp80, align 16 %7 = alloca x86_fp80, align 16 %8 = alloca x86_fp80, align 16 store x86_fp80 %0, ptr %5, align 16 store x86_fp80 %1, ptr %6, align 16 store x86_fp80 %2, ptr %7, align 16 store x86_fp80 %3, ptr %8, align 16 %9 = load x86_fp80, ptr %5, align 16 %10 = load x86_fp80, ptr %6, align 16 %11 = load x86_fp80, ptr %7, align 16 %12 = load x86_fp80, ptr %8, align 16 %13 = call i32 @norm2(x86_fp80 noundef %9, x86_fp80 noundef %10, x86_fp80 noundef %11, x86_fp80 noundef %12) %14 = call x86_fp80 @sqrt(i32 noundef %13) ret x86_fp80 %14 } declare x86_fp80 @sqrt(i32 noundef) #1 declare i32 @norm2(x86_fp80 noundef, x86_fp80 noundef, x86_fp80 noundef, x86_fp80 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnagtc42p.c' source_filename = "/tmp/tmpnagtc42p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A\0AERROR - Cannot write to %s\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @wrerror(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, ptr noundef %3) %5 = call i32 @wait(i32 noundef 3) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @wait(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/tmpnagtc42p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A\0AERROR - Cannot write to %s\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @wrerror(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, ptr noundef %3) %5 = call i32 @wait(i32 noundef 3) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @wait(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/tmp6rfz4i1_.c' source_filename = "/tmp/tmp6rfz4i1_.c" target datalayout = "e-m:e-p270: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/tmp6rfz4i1_.c" target datalayout = "e-m:e-p270: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/tmpcmuisupb.c' source_filename = "/tmp/tmpcmuisupb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"malloc failed: %s\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @xalloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @malloc(i64 noundef %4) #4 store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %13, label %8 8: ; preds = %1 %9 = load i32, ptr @errno, align 4 %10 = call i32 @strerror(i32 noundef %9) %11 = call i32 @log_msg(i32 noundef 1, ptr noundef @.str, i32 noundef %10) %12 = call i32 @exit(i32 noundef 1) #5 unreachable 13: ; preds = %1 %14 = load ptr, ptr %3, align 8 ret ptr %14 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @log_msg(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @strerror(i32 noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-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 "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { allocsize(0) } attributes #5 = { 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/tmpcmuisupb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"malloc failed: %s\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @xalloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @malloc(i64 noundef %4) #4 store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %13, label %8 8: ; preds = %1 %9 = load i32, ptr @errno, align 4 %10 = call i32 @strerror(i32 noundef %9) %11 = call i32 @log_msg(i32 noundef 1, ptr noundef @.str, i32 noundef %10) %12 = call i32 @exit(i32 noundef 1) #5 unreachable 13: ; preds = %1 %14 = load ptr, ptr %3, align 8 ret ptr %14 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @log_msg(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @strerror(i32 noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-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 "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { allocsize(0) } attributes #5 = { 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/tmpkvdy7jgc.c' source_filename = "/tmp/tmpkvdy7jgc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @ring2nest_(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i64 %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %9 = load i64, ptr %4, align 8 %10 = load i64, ptr %4, align 8 %11 = sub nsw i64 %10, 1 %12 = and i64 %9, %11 %13 = icmp ne i64 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %2 store i64 -1, ptr %3, align 8 br label %24 15: ; preds = %2 %16 = load i64, ptr %4, align 8 %17 = load i64, ptr %5, align 8 %18 = call i32 @ring2xyf(i64 noundef %16, i64 noundef %17, ptr noundef %6, ptr noundef %7, ptr noundef %8) %19 = load i64, ptr %4, align 8 %20 = load i32, ptr %6, align 4 %21 = load i32, ptr %7, align 4 %22 = load i32, ptr %8, align 4 %23 = call i64 @xyf2nest(i64 noundef %19, i32 noundef %20, i32 noundef %21, i32 noundef %22) store i64 %23, ptr %3, align 8 br label %24 24: ; preds = %15, %14 %25 = load i64, ptr %3, align 8 ret i64 %25 } declare i32 @ring2xyf(i64 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @xyf2nest(i64 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/tmpkvdy7jgc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @ring2nest_(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i64 %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %9 = load i64, ptr %4, align 8 %10 = load i64, ptr %4, align 8 %11 = sub nsw i64 %10, 1 %12 = and i64 %9, %11 %13 = icmp ne i64 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %2 store i64 -1, ptr %3, align 8 br label %24 15: ; preds = %2 %16 = load i64, ptr %4, align 8 %17 = load i64, ptr %5, align 8 %18 = call i32 @ring2xyf(i64 noundef %16, i64 noundef %17, ptr noundef %6, ptr noundef %7, ptr noundef %8) %19 = load i64, ptr %4, align 8 %20 = load i32, ptr %6, align 4 %21 = load i32, ptr %7, align 4 %22 = load i32, ptr %8, align 4 %23 = call i64 @xyf2nest(i64 noundef %19, i32 noundef %20, i32 noundef %21, i32 noundef %22) store i64 %23, ptr %3, align 8 br label %24 24: ; preds = %15, %14 %25 = load i64, ptr %3, align 8 ret i64 %25 } declare i32 @ring2xyf(i64 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @xyf2nest(i64 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/tmplrxd4fst.c' source_filename = "/tmp/tmplrxd4fst.c" target datalayout = "e-m:e-p270: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/tmplrxd4fst.c" target datalayout = "e-m:e-p270: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/tmpt0ym96re.c' source_filename = "/tmp/tmpt0ym96re.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"/proc/meminfo\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%s%ld\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"MemAvailable:\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"SwapFree:\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @memtotal() #0 { %1 = alloca [1024 x i8], align 16 %2 = alloca [256 x i8], align 16 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store i64 0, ptr %4, align 8 %6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %6, ptr %5, align 8 br label %7 7: ; preds = %27, %0 %8 = getelementptr inbounds [1024 x i8], ptr %1, i64 0, i64 0 %9 = load ptr, ptr %5, align 8 %10 = call i64 @fgets(ptr noundef %8, i32 noundef 1024, ptr noundef %9) %11 = icmp ne i64 %10, 0 br i1 %11, label %12, label %28 12: ; preds = %7 %13 = getelementptr inbounds [1024 x i8], ptr %1, i64 0, i64 0 %14 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %15 = call i32 @sscanf(ptr noundef %13, ptr noundef @.str.2, ptr noundef %14, ptr noundef %3) %16 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %17 = call i32 @strcmp(ptr noundef %16, ptr noundef @.str.3) %18 = icmp ne i32 %17, 0 br i1 %18, label %19, label %23 19: ; preds = %12 %20 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %21 = call i32 @strcmp(ptr noundef %20, ptr noundef @.str.4) %22 = icmp ne i32 %21, 0 br i1 %22, label %27, label %23 23: ; preds = %19, %12 %24 = load i64, ptr %3, align 8 %25 = load i64, ptr %4, align 8 %26 = add nsw i64 %25, %24 store i64 %26, ptr %4, align 8 br label %27 27: ; preds = %23, %19 br label %7, !llvm.loop !6 28: ; preds = %7 %29 = load ptr, ptr %5, align 8 %30 = call i32 @fclose(ptr noundef %29) %31 = load i64, ptr %4, align 8 %32 = mul nsw i64 %31, 1024 ret i64 %32 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt0ym96re.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"/proc/meminfo\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%s%ld\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"MemAvailable:\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"SwapFree:\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @memtotal() #0 { %1 = alloca [1024 x i8], align 16 %2 = alloca [256 x i8], align 16 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store i64 0, ptr %4, align 8 %6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %6, ptr %5, align 8 %7 = getelementptr inbounds [1024 x i8], ptr %1, i64 0, i64 0 %8 = load ptr, ptr %5, align 8 %9 = call i64 @fgets(ptr noundef %7, i32 noundef 1024, ptr noundef %8) %10 = icmp ne i64 %9, 0 br i1 %10, label %.lr.ph, label %30 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %26 %12 = getelementptr inbounds [1024 x i8], ptr %1, i64 0, i64 0 %13 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %14 = call i32 @sscanf(ptr noundef %12, ptr noundef @.str.2, ptr noundef %13, ptr noundef %3) %15 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %16 = call i32 @strcmp(ptr noundef %15, ptr noundef @.str.3) %17 = icmp ne i32 %16, 0 br i1 %17, label %18, label %22 18: ; preds = %11 %19 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %20 = call i32 @strcmp(ptr noundef %19, ptr noundef @.str.4) %21 = icmp ne i32 %20, 0 br i1 %21, label %26, label %22 22: ; preds = %18, %11 %23 = load i64, ptr %3, align 8 %24 = load i64, ptr %4, align 8 %25 = add nsw i64 %24, %23 store i64 %25, ptr %4, align 8 br label %26 26: ; preds = %22, %18 %27 = load ptr, ptr %5, align 8 %28 = call i64 @fgets(ptr noundef %7, i32 noundef 1024, ptr noundef %27) %29 = icmp ne i64 %28, 0 br i1 %29, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %30 30: ; preds = %._crit_edge, %0 %31 = load ptr, ptr %5, align 8 %32 = call i32 @fclose(ptr noundef %31) %33 = load i64, ptr %4, align 8 %34 = mul nsw i64 %33, 1024 ret i64 %34 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpfjapym2d.c' source_filename = "/tmp/tmpfjapym2d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"netascii\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @setascii(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = load ptr, ptr %4, align 8 %7 = call i32 @setmode(ptr noundef @.str) ret void } declare i32 @setmode(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfjapym2d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"netascii\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @setascii(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = load ptr, ptr %4, align 8 %7 = call i32 @setmode(ptr noundef @.str) ret void } declare i32 @setmode(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnavvj110.c' source_filename = "/tmp/tmpnavvj110.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOTSUP = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @tcpsetacceptfilter(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = load i32, ptr @ENOTSUP, align 4 store i32 %4, ptr @errno, align 4 ret i32 -1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnavvj110.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOTSUP = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @tcpsetacceptfilter(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = load i32, ptr @ENOTSUP, align 4 store i32 %4, ptr @errno, align 4 ret i32 -1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp57myr76j.c' source_filename = "/tmp/tmp57myr76j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CHAR_BIT = 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/tmp57myr76j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CHAR_BIT = 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/tmpimv39yi3.c' source_filename = "/tmp/tmpimv39yi3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @func32(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 store i32 %4, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = and i32 %5, -65536 %7 = lshr i32 %6, 16 %8 = load i32, ptr %3, align 4 %9 = and i32 %8, 65535 %10 = shl i32 %9, 16 %11 = or i32 %7, %10 store i32 %11, ptr %3, align 4 %12 = load i32, ptr %3, align 4 %13 = and i32 %12, -16711936 %14 = lshr i32 %13, 8 %15 = load i32, ptr %3, align 4 %16 = and i32 %15, 16711935 %17 = shl i32 %16, 8 %18 = or i32 %14, %17 store i32 %18, ptr %3, align 4 %19 = load i32, ptr %3, align 4 %20 = and i32 %19, -252645136 %21 = lshr i32 %20, 4 %22 = load i32, ptr %3, align 4 %23 = and i32 %22, 252645135 %24 = shl i32 %23, 4 %25 = or i32 %21, %24 store i32 %25, ptr %3, align 4 %26 = load i32, ptr %3, align 4 %27 = and i32 %26, -858993460 %28 = lshr i32 %27, 2 %29 = load i32, ptr %3, align 4 %30 = and i32 %29, 858993459 %31 = shl i32 %30, 2 %32 = or i32 %28, %31 store i32 %32, ptr %3, align 4 %33 = load i32, ptr %3, align 4 %34 = and i32 %33, -1431655766 %35 = lshr i32 %34, 1 %36 = load i32, ptr %3, align 4 %37 = and i32 %36, 1431655765 %38 = shl i32 %37, 1 %39 = or i32 %35, %38 store i32 %39, ptr %3, align 4 %40 = load i32, ptr %3, align 4 ret i32 %40 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpimv39yi3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @func32(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 store i32 %4, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = and i32 %5, -65536 %7 = lshr i32 %6, 16 %8 = load i32, ptr %3, align 4 %9 = and i32 %8, 65535 %10 = shl i32 %9, 16 %11 = or i32 %7, %10 store i32 %11, ptr %3, align 4 %12 = load i32, ptr %3, align 4 %13 = and i32 %12, -16711936 %14 = lshr i32 %13, 8 %15 = load i32, ptr %3, align 4 %16 = and i32 %15, 16711935 %17 = shl i32 %16, 8 %18 = or i32 %14, %17 store i32 %18, ptr %3, align 4 %19 = load i32, ptr %3, align 4 %20 = and i32 %19, -252645136 %21 = lshr i32 %20, 4 %22 = load i32, ptr %3, align 4 %23 = and i32 %22, 252645135 %24 = shl i32 %23, 4 %25 = or i32 %21, %24 store i32 %25, ptr %3, align 4 %26 = load i32, ptr %3, align 4 %27 = and i32 %26, -858993460 %28 = lshr i32 %27, 2 %29 = load i32, ptr %3, align 4 %30 = and i32 %29, 858993459 %31 = shl i32 %30, 2 %32 = or i32 %28, %31 store i32 %32, ptr %3, align 4 %33 = load i32, ptr %3, align 4 %34 = and i32 %33, -1431655766 %35 = lshr i32 %34, 1 %36 = load i32, ptr %3, align 4 %37 = and i32 %36, 1431655765 %38 = shl i32 %37, 1 %39 = or i32 %35, %38 store i32 %39, ptr %3, align 4 %40 = load i32, ptr %3, align 4 ret i32 %40 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwx0iz885.c' source_filename = "/tmp/tmpwx0iz885.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"%s %d PASSED\0A\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"%s %d FAILED\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c" A: \00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c" \00", align 1 @.str.4 = private unnamed_addr constant [9 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 [8 x i8] c" B: \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @testeqprint(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %11 = load ptr, ptr %8, align 8 %12 = load ptr, ptr %9, align 8 %13 = load ptr, ptr %10, align 8 %14 = call i64 @f2m_is_equal(ptr noundef %11, ptr noundef %12, ptr noundef %13) %15 = icmp ne i64 %14, 0 br i1 %15, label %16, label %20 16: ; preds = %5 %17 = load ptr, ptr %6, align 8 %18 = load i32, ptr %7, align 4 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %17, i32 noundef %18) br label %50 20: ; preds = %5 %21 = load ptr, ptr %6, align 8 %22 = load i32, ptr %7, align 4 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %21, i32 noundef %22) %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %25 = load ptr, ptr %8, align 8 %26 = load ptr, ptr %9, align 8 %27 = call i32 @f2m_print(ptr noundef %25, ptr noundef %26) %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %29 = load ptr, ptr %8, align 8 %30 = load ptr, ptr %9, align 8 %31 = call i32 @f2m_print_human(ptr noundef %29, ptr noundef %30) %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %33 = load ptr, ptr %8, align 8 %34 = load ptr, ptr %9, align 8 %35 = call i32 @f2m_print_as_array(ptr noundef %33, ptr noundef %34) %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %38 = load ptr, ptr %8, align 8 %39 = load ptr, ptr %10, align 8 %40 = call i32 @f2m_print(ptr noundef %38, ptr noundef %39) %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %42 = load ptr, ptr %8, align 8 %43 = load ptr, ptr %10, align 8 %44 = call i32 @f2m_print_human(ptr noundef %42, ptr noundef %43) %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %46 = load ptr, ptr %8, align 8 %47 = load ptr, ptr %10, align 8 %48 = call i32 @f2m_print_as_array(ptr noundef %46, ptr noundef %47) %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %50 50: ; preds = %20, %16 ret void } declare i64 @f2m_is_equal(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @f2m_print(ptr noundef, ptr noundef) #1 declare i32 @f2m_print_human(ptr noundef, ptr noundef) #1 declare i32 @f2m_print_as_array(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/tmpwx0iz885.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"%s %d PASSED\0A\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"%s %d FAILED\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c" A: \00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c" \00", align 1 @.str.4 = private unnamed_addr constant [9 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 [8 x i8] c" B: \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @testeqprint(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %11 = load ptr, ptr %8, align 8 %12 = load ptr, ptr %9, align 8 %13 = load ptr, ptr %10, align 8 %14 = call i64 @f2m_is_equal(ptr noundef %11, ptr noundef %12, ptr noundef %13) %15 = icmp ne i64 %14, 0 br i1 %15, label %16, label %20 16: ; preds = %5 %17 = load ptr, ptr %6, align 8 %18 = load i32, ptr %7, align 4 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %17, i32 noundef %18) br label %50 20: ; preds = %5 %21 = load ptr, ptr %6, align 8 %22 = load i32, ptr %7, align 4 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %21, i32 noundef %22) %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %25 = load ptr, ptr %8, align 8 %26 = load ptr, ptr %9, align 8 %27 = call i32 @f2m_print(ptr noundef %25, ptr noundef %26) %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %29 = load ptr, ptr %8, align 8 %30 = load ptr, ptr %9, align 8 %31 = call i32 @f2m_print_human(ptr noundef %29, ptr noundef %30) %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %33 = load ptr, ptr %8, align 8 %34 = load ptr, ptr %9, align 8 %35 = call i32 @f2m_print_as_array(ptr noundef %33, ptr noundef %34) %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %38 = load ptr, ptr %8, align 8 %39 = load ptr, ptr %10, align 8 %40 = call i32 @f2m_print(ptr noundef %38, ptr noundef %39) %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %42 = load ptr, ptr %8, align 8 %43 = load ptr, ptr %10, align 8 %44 = call i32 @f2m_print_human(ptr noundef %42, ptr noundef %43) %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %46 = load ptr, ptr %8, align 8 %47 = load ptr, ptr %10, align 8 %48 = call i32 @f2m_print_as_array(ptr noundef %46, ptr noundef %47) %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %50 50: ; preds = %20, %16 ret void } declare i64 @f2m_is_equal(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @f2m_print(ptr noundef, ptr noundef) #1 declare i32 @f2m_print_human(ptr noundef, ptr noundef) #1 declare i32 @f2m_print_as_array(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/tmpta760gou.c' source_filename = "/tmp/tmpta760gou.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\E8\AF\B7\E8\BE\93\E5\85\A5a b c:\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%d%d%d\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"\E6\97\A0\E6\95\88\E7\9A\84\E8\A1\A8\E8\BE\BE\E5\BC\8F!\0A\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"\E6\97\A0\E8\A7\A3!\0A\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"\E5\94\AF\E4\B8\80\E8\A7\A3:%lf\0A\00", align 1 @.str.5 = private unnamed_addr constant [16 x i8] c"x1=%lf, x2=%lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca double, align 8 %7 = alloca double, align 8 store i32 0, ptr %1, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4) %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %3, align 4 %12 = mul nsw i32 %10, %11 %13 = load i32, ptr %2, align 4 %14 = mul nsw i32 4, %13 %15 = load i32, ptr %4, align 4 %16 = mul nsw i32 %14, %15 %17 = sub nsw i32 %12, %16 store i32 %17, ptr %5, align 4 %18 = load i32, ptr %2, align 4 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %22 20: ; preds = %0 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 1, ptr %1, align 4 br label %63 22: ; preds = %0 %23 = load i32, ptr %5, align 4 %24 = icmp slt i32 %23, 0 br i1 %24, label %25, label %27 25: ; preds = %22 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %62 27: ; preds = %22 %28 = load i32, ptr %5, align 4 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %39 30: ; preds = %27 %31 = load i32, ptr %3, align 4 %32 = sub nsw i32 0, %31 %33 = load i32, ptr %2, align 4 %34 = mul nsw i32 2, %33 %35 = sdiv i32 %32, %34 %36 = sitofp i32 %35 to double store double %36, ptr %7, align 8 store double %36, ptr %6, align 8 %37 = load double, ptr %6, align 8 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %37) br label %61 39: ; preds = %27 %40 = load i32, ptr %3, align 4 %41 = sub nsw i32 0, %40 %42 = load i32, ptr %5, align 4 %43 = call i32 @sqrt(i32 noundef %42) %44 = add nsw i32 %41, %43 %45 = load i32, ptr %2, align 4 %46 = mul nsw i32 2, %45 %47 = sdiv i32 %44, %46 %48 = sitofp i32 %47 to double store double %48, ptr %6, align 8 %49 = load i32, ptr %3, align 4 %50 = sub nsw i32 0, %49 %51 = load i32, ptr %5, align 4 %52 = call i32 @sqrt(i32 noundef %51) %53 = sub nsw i32 %50, %52 %54 = load i32, ptr %2, align 4 %55 = mul nsw i32 2, %54 %56 = sdiv i32 %53, %55 %57 = sitofp i32 %56 to double store double %57, ptr %7, align 8 %58 = load double, ptr %6, align 8 %59 = load double, ptr %7, align 8 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %58, double noundef %59) br label %61 61: ; preds = %39, %30 br label %62 62: ; preds = %61, %25 store i32 0, ptr %1, align 4 br label %63 63: ; preds = %62, %20 %64 = load i32, ptr %1, align 4 ret i32 %64 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @sqrt(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/tmpta760gou.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\E8\AF\B7\E8\BE\93\E5\85\A5a b c:\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%d%d%d\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"\E6\97\A0\E6\95\88\E7\9A\84\E8\A1\A8\E8\BE\BE\E5\BC\8F!\0A\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"\E6\97\A0\E8\A7\A3!\0A\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"\E5\94\AF\E4\B8\80\E8\A7\A3:%lf\0A\00", align 1 @.str.5 = private unnamed_addr constant [16 x i8] c"x1=%lf, x2=%lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca double, align 8 %7 = alloca double, align 8 store i32 0, ptr %1, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4) %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %3, align 4 %12 = mul nsw i32 %10, %11 %13 = load i32, ptr %2, align 4 %14 = mul nsw i32 4, %13 %15 = load i32, ptr %4, align 4 %16 = mul nsw i32 %14, %15 %17 = sub nsw i32 %12, %16 store i32 %17, ptr %5, align 4 %18 = load i32, ptr %2, align 4 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %22 20: ; preds = %0 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 1, ptr %1, align 4 br label %63 22: ; preds = %0 %23 = load i32, ptr %5, align 4 %24 = icmp slt i32 %23, 0 br i1 %24, label %25, label %27 25: ; preds = %22 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %62 27: ; preds = %22 %28 = load i32, ptr %5, align 4 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %39 30: ; preds = %27 %31 = load i32, ptr %3, align 4 %32 = sub nsw i32 0, %31 %33 = load i32, ptr %2, align 4 %34 = mul nsw i32 2, %33 %35 = sdiv i32 %32, %34 %36 = sitofp i32 %35 to double store double %36, ptr %7, align 8 store double %36, ptr %6, align 8 %37 = load double, ptr %6, align 8 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %37) br label %61 39: ; preds = %27 %40 = load i32, ptr %3, align 4 %41 = sub nsw i32 0, %40 %42 = load i32, ptr %5, align 4 %43 = call i32 @sqrt(i32 noundef %42) %44 = add nsw i32 %41, %43 %45 = load i32, ptr %2, align 4 %46 = mul nsw i32 2, %45 %47 = sdiv i32 %44, %46 %48 = sitofp i32 %47 to double store double %48, ptr %6, align 8 %49 = load i32, ptr %3, align 4 %50 = sub nsw i32 0, %49 %51 = load i32, ptr %5, align 4 %52 = call i32 @sqrt(i32 noundef %51) %53 = sub nsw i32 %50, %52 %54 = load i32, ptr %2, align 4 %55 = mul nsw i32 2, %54 %56 = sdiv i32 %53, %55 %57 = sitofp i32 %56 to double store double %57, ptr %7, align 8 %58 = load double, ptr %6, align 8 %59 = load double, ptr %7, align 8 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %58, double noundef %59) br label %61 61: ; preds = %39, %30 br label %62 62: ; preds = %61, %25 store i32 0, ptr %1, align 4 br label %63 63: ; preds = %62, %20 %64 = load i32, ptr %1, align 4 ret i32 %64 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @sqrt(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/tmptdd8fg_o.c' source_filename = "/tmp/tmptdd8fg_o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ULLONG_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @parse_ull(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 i32, ptr @ULLONG_MAX, align 4 %7 = load ptr, ptr %4, align 8 %8 = call i64 @parse_ull_bounds(ptr noundef %5, i32 noundef 0, i32 noundef %6, ptr noundef %7) ret i64 %8 } declare i64 @parse_ull_bounds(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptdd8fg_o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ULLONG_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @parse_ull(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 i32, ptr @ULLONG_MAX, align 4 %7 = load ptr, ptr %4, align 8 %8 = call i64 @parse_ull_bounds(ptr noundef %5, i32 noundef 0, i32 noundef %6, ptr noundef %7) ret i64 %8 } declare i64 @parse_ull_bounds(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1o3qv89i.c' source_filename = "/tmp/tmp1o3qv89i.c" target datalayout = "e-m:e-p270: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/tmp1o3qv89i.c" target datalayout = "e-m:e-p270: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/tmp1blgnfd9.c' source_filename = "/tmp/tmp1blgnfd9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @host_ntoa(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load i32, ptr %5, align 4 store i32 %9, ptr %5, align 4 %10 = load ptr, ptr %6, align 8 store ptr %10, ptr %6, align 8 %11 = load ptr, ptr %7, align 8 store ptr %11, ptr %7, align 8 %12 = load ptr, ptr %8, align 8 store ptr %12, ptr %8, 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/tmp1blgnfd9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @host_ntoa(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load i32, ptr %5, align 4 store i32 %9, ptr %5, align 4 %10 = load ptr, ptr %6, align 8 store ptr %10, ptr %6, align 8 %11 = load ptr, ptr %7, align 8 store ptr %11, ptr %7, align 8 %12 = load ptr, ptr %8, align 8 store ptr %12, ptr %8, 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/tmpbbqfo089.c' source_filename = "/tmp/tmpbbqfo089.c" target datalayout = "e-m:e-p270: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/tmpbbqfo089.c" target datalayout = "e-m:e-p270: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/tmpof6vwngt.c' source_filename = "/tmp/tmpof6vwngt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/sys/class/gpio/export\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [23 x i8] c"fail to open exporter\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"/sys/class/gpio\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"/direction\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"fail to open direction\0A\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"in\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"/value\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [20 x i8] c"fail to open value\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pin_read(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca [80 x i8], align 16 %6 = alloca i32, align 4 %7 = alloca [80 x i8], align 16 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %9 = load i32, ptr @O_WRONLY, align 4 %10 = call i32 @open(ptr noundef @.str, i32 noundef %9) store i32 %10, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %1 %14 = call i32 @printf(ptr noundef @.str.1) store i32 -1, ptr %2, align 4 br label %54 15: ; preds = %1 %16 = load i32, ptr %4, align 4 %17 = load ptr, ptr %3, align 8 %18 = call i32 @write(i32 noundef %16, ptr noundef %17, i32 noundef 2) %19 = load i32, ptr %4, align 4 %20 = call i32 @close(i32 noundef %19) %21 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 0 %22 = call i32 @strcpy(ptr noundef %21, ptr noundef @.str.2) %23 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 0 %24 = load ptr, ptr %3, align 8 %25 = call i32 @strcat(ptr noundef %23, ptr noundef %24) %26 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 0 %27 = call i32 @strcat(ptr noundef %26, ptr noundef @.str.3) %28 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 0 %29 = load i32, ptr @O_WRONLY, align 4 %30 = call i32 @open(ptr noundef %28, i32 noundef %29) store i32 %30, ptr %6, align 4 %31 = load i32, ptr %6, align 4 %32 = icmp slt i32 %31, 0 br i1 %32, label %33, label %35 33: ; preds = %15 %34 = call i32 @printf(ptr noundef @.str.4) store i32 -1, ptr %2, align 4 br label %54 35: ; preds = %15 %36 = load i32, ptr %6, align 4 %37 = call i32 @write(i32 noundef %36, ptr noundef @.str.5, i32 noundef 2) %38 = load i32, ptr %6, align 4 %39 = call i32 @close(i32 noundef %38) %40 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0 %41 = call i32 @strcpy(ptr noundef %40, ptr noundef @.str.2) %42 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0 %43 = load ptr, ptr %3, align 8 %44 = call i32 @strcat(ptr noundef %42, ptr noundef %43) %45 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0 %46 = call i32 @strcat(ptr noundef %45, ptr noundef @.str.6) %47 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0 %48 = load i32, ptr @O_RDONLY, align 4 %49 = call i32 @open(ptr noundef %47, i32 noundef %48) store i32 %49, ptr %8, align 4 %50 = load i32, ptr %8, align 4 %51 = icmp slt i32 %50, 0 br i1 %51, label %52, label %54 52: ; preds = %35 %53 = call i32 @printf(ptr noundef @.str.7) store i32 -1, ptr %2, align 4 br label %54 54: ; preds = %13, %33, %52, %35 %55 = load i32, ptr %2, align 4 ret i32 %55 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(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/tmpof6vwngt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/sys/class/gpio/export\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [23 x i8] c"fail to open exporter\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"/sys/class/gpio\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"/direction\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"fail to open direction\0A\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"in\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"/value\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [20 x i8] c"fail to open value\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pin_read(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca [80 x i8], align 16 %6 = alloca i32, align 4 %7 = alloca [80 x i8], align 16 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %9 = load i32, ptr @O_WRONLY, align 4 %10 = call i32 @open(ptr noundef @.str, i32 noundef %9) store i32 %10, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %1 %14 = call i32 @printf(ptr noundef @.str.1) store i32 -1, ptr %2, align 4 br label %54 15: ; preds = %1 %16 = load i32, ptr %4, align 4 %17 = load ptr, ptr %3, align 8 %18 = call i32 @write(i32 noundef %16, ptr noundef %17, i32 noundef 2) %19 = load i32, ptr %4, align 4 %20 = call i32 @close(i32 noundef %19) %21 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 0 %22 = call i32 @strcpy(ptr noundef %21, ptr noundef @.str.2) %23 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 0 %24 = load ptr, ptr %3, align 8 %25 = call i32 @strcat(ptr noundef %23, ptr noundef %24) %26 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 0 %27 = call i32 @strcat(ptr noundef %26, ptr noundef @.str.3) %28 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 0 %29 = load i32, ptr @O_WRONLY, align 4 %30 = call i32 @open(ptr noundef %28, i32 noundef %29) store i32 %30, ptr %6, align 4 %31 = load i32, ptr %6, align 4 %32 = icmp slt i32 %31, 0 br i1 %32, label %33, label %35 33: ; preds = %15 %34 = call i32 @printf(ptr noundef @.str.4) store i32 -1, ptr %2, align 4 br label %54 35: ; preds = %15 %36 = load i32, ptr %6, align 4 %37 = call i32 @write(i32 noundef %36, ptr noundef @.str.5, i32 noundef 2) %38 = load i32, ptr %6, align 4 %39 = call i32 @close(i32 noundef %38) %40 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0 %41 = call i32 @strcpy(ptr noundef %40, ptr noundef @.str.2) %42 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0 %43 = load ptr, ptr %3, align 8 %44 = call i32 @strcat(ptr noundef %42, ptr noundef %43) %45 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0 %46 = call i32 @strcat(ptr noundef %45, ptr noundef @.str.6) %47 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0 %48 = load i32, ptr @O_RDONLY, align 4 %49 = call i32 @open(ptr noundef %47, i32 noundef %48) store i32 %49, ptr %8, align 4 %50 = load i32, ptr %8, align 4 %51 = icmp slt i32 %50, 0 br i1 %51, label %52, label %54 52: ; preds = %35 %53 = call i32 @printf(ptr noundef @.str.7) store i32 -1, ptr %2, align 4 br label %54 54: ; preds = %52, %35, %33, %13 %55 = load i32, ptr %2, align 4 ret i32 %55 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(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/tmpjhsvl3bm.c' source_filename = "/tmp/tmpjhsvl3bm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%lu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [1 x i64], align 8 %7 = alloca [1 x i64], align 8 %8 = alloca i32, align 4 %9 = alloca i64, align 8 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 br label %19 19: ; preds = %22, %18 %20 = load i32, ptr %8, align 4 %21 = icmp slt i32 %20, 1 br i1 %21, label %22, label %36 22: ; preds = %19 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %8, align 4 %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %23, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10) store i64 %29, ptr %9, align 8 %30 = load i64, ptr %9, align 8 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 %32 store i64 %30, ptr %33, align 8 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 br label %19, !llvm.loop !6 36: ; preds = %19 %37 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 0 %38 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0 %39 = call i32 @RandomFunc(ptr noundef %37, ptr noundef %38) %40 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0 %41 = load i64, ptr %40, align 8 %42 = icmp eq i64 %41, -439041150985 br i1 %42, label %43, label %45 43: ; preds = %36 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %46 45: ; preds = %36 br label %46 46: ; preds = %45, %43 store i32 0, ptr %10, align 4 br label %47 47: ; preds = %50, %46 %48 = load i32, ptr %10, align 4 %49 = icmp slt i32 %48, 1 br i1 %49, label %50, label %58 50: ; preds = %47 %51 = load i32, ptr %10, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 %52 %54 = load i64, ptr %53, align 8 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %54) %56 = load i32, ptr %10, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %10, align 4 br label %47, !llvm.loop !8 58: ; preds = %47 %59 = load i32, ptr %3, align 4 ret i32 %59 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjhsvl3bm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%lu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [1 x i64], align 8 %7 = alloca [1 x i64], align 8 %8 = alloca i32, align 4 %9 = alloca i64, align 8 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 %19 = load i32, ptr %8, align 4 %20 = icmp slt i32 %19, 1 br i1 %20, label %.lr.ph, label %37 .lr.ph: ; preds = %18 br label %21 21: ; preds = %.lr.ph, %21 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %22, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10) store i64 %28, ptr %9, align 8 %29 = load i64, ptr %9, align 8 %30 = load i32, ptr %8, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 %31 store i64 %29, ptr %32, align 8 %33 = load i32, ptr %8, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %8, align 4 %35 = load i32, ptr %8, align 4 %36 = icmp slt i32 %35, 1 br i1 %36, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %37 37: ; preds = %._crit_edge, %18 %38 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 0 %39 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0 %40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39) %41 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0 %42 = load i64, ptr %41, align 8 %43 = icmp eq i64 %42, -439041150985 br i1 %43, label %44, label %46 44: ; preds = %37 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %47 46: ; preds = %37 br label %47 47: ; preds = %46, %44 store i32 0, ptr %10, align 4 %48 = load i32, ptr %10, align 4 %49 = icmp slt i32 %48, 1 br i1 %49, label %.lr.ph2, label %60 .lr.ph2: ; preds = %47 br label %50 50: ; preds = %.lr.ph2, %50 %51 = load i32, ptr %10, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 %52 %54 = load i64, ptr %53, align 8 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %54) %56 = load i32, ptr %10, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %10, align 4 %58 = load i32, ptr %10, align 4 %59 = icmp slt i32 %58, 1 br i1 %59, label %50, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %50 br label %60 60: ; preds = %._crit_edge3, %47 %61 = load i32, ptr %3, align 4 ret i32 %61 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpwotzd4hr.c' source_filename = "/tmp/tmpwotzd4hr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stralloc(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %8, label %7 7: ; preds = %1 store ptr null, ptr %2, align 8 br label %25 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = call i32 @strlen(ptr noundef %9) %11 = add nsw i32 %10, 1 %12 = sext i32 %11 to i64 %13 = mul i64 1, %12 %14 = trunc i64 %13 to i32 %15 = call i64 @malloc(i32 noundef %14) %16 = inttoptr i64 %15 to ptr store ptr %16, ptr %4, align 8 %17 = load ptr, ptr %4, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %19, label %23 19: ; preds = %8 %20 = load ptr, ptr %4, align 8 %21 = load ptr, ptr %3, align 8 %22 = call i32 @strcpy(ptr noundef %20, ptr noundef %21) br label %23 23: ; preds = %19, %8 %24 = load ptr, ptr %4, align 8 store ptr %24, ptr %2, align 8 br label %25 25: ; preds = %23, %7 %26 = load ptr, ptr %2, align 8 ret ptr %26 } declare i64 @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwotzd4hr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stralloc(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %8, label %7 7: ; preds = %1 store ptr null, ptr %2, align 8 br label %25 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = call i32 @strlen(ptr noundef %9) %11 = add nsw i32 %10, 1 %12 = sext i32 %11 to i64 %13 = mul i64 1, %12 %14 = trunc i64 %13 to i32 %15 = call i64 @malloc(i32 noundef %14) %16 = inttoptr i64 %15 to ptr store ptr %16, ptr %4, align 8 %17 = load ptr, ptr %4, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %19, label %23 19: ; preds = %8 %20 = load ptr, ptr %4, align 8 %21 = load ptr, ptr %3, align 8 %22 = call i32 @strcpy(ptr noundef %20, ptr noundef %21) br label %23 23: ; preds = %19, %8 %24 = load ptr, ptr %4, align 8 store ptr %24, ptr %2, align 8 br label %25 25: ; preds = %23, %7 %26 = load ptr, ptr %2, align 8 ret ptr %26 } declare i64 @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpi6_hnqp0.c' source_filename = "/tmp/tmpi6_hnqp0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @jec_year_is_leap(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = srem i32 %4, 4 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %16 7: ; preds = %1 %8 = load i32, ptr %3, align 4 %9 = srem i32 %8, 100 %10 = icmp ne i32 %9, 0 br i1 %10, label %15, label %11 11: ; preds = %7 %12 = load i32, ptr %3, align 4 %13 = srem i32 %12, 400 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %11, %7 store i32 1, ptr %2, align 4 br label %17 16: ; preds = %11, %1 store i32 0, ptr %2, align 4 br label %17 17: ; preds = %16, %15 %18 = load i32, ptr %2, align 4 ret i32 %18 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi6_hnqp0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @jec_year_is_leap(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = srem i32 %4, 4 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %16 7: ; preds = %1 %8 = load i32, ptr %3, align 4 %9 = srem i32 %8, 100 %10 = icmp ne i32 %9, 0 br i1 %10, label %15, label %11 11: ; preds = %7 %12 = load i32, ptr %3, align 4 %13 = srem i32 %12, 400 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %11, %7 store i32 1, ptr %2, align 4 br label %17 16: ; preds = %11, %1 store i32 0, ptr %2, align 4 br label %17 17: ; preds = %16, %15 %18 = load i32, ptr %2, align 4 ret i32 %18 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3ias1vx3.c' source_filename = "/tmp/tmp3ias1vx3.c" target datalayout = "e-m:e-p270: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 [22 x i8] c"Usage: ./test string\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 2 br i1 %7, label %8, label %12 8: ; preds = %2 %9 = load i32, ptr @stderr, align 4 %10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str) %11 = call i32 @exit(i32 noundef -1) #3 unreachable 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 1 %15 = load ptr, ptr %14, align 8 %16 = call ptr @shortestPalindrome(ptr noundef %15) %17 = call i32 @printf(ptr noundef @.str.1, ptr noundef %16) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @shortestPalindrome(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmp3ias1vx3.c" target datalayout = "e-m:e-p270: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 [22 x i8] c"Usage: ./test string\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 2 br i1 %7, label %8, label %12 8: ; preds = %2 %9 = load i32, ptr @stderr, align 4 %10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str) %11 = call i32 @exit(i32 noundef -1) #3 unreachable 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 1 %15 = load ptr, ptr %14, align 8 %16 = call ptr @shortestPalindrome(ptr noundef %15) %17 = call i32 @printf(ptr noundef @.str.1, ptr noundef %16) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @shortestPalindrome(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmp9a68dy3r.c' source_filename = "/tmp/tmp9a68dy3r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eiki_gdb() #0 { %1 = call i32 (...) @eiki_attach_debugger() ret void } declare i32 @eiki_attach_debugger(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9a68dy3r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eiki_gdb() #0 { %1 = call i32 (...) @eiki_attach_debugger() ret void } declare i32 @eiki_attach_debugger(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp13ilowwq.c' source_filename = "/tmp/tmp13ilowwq.c" target datalayout = "e-m:e-p270: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/tmp13ilowwq.c" target datalayout = "e-m:e-p270: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/tmpcos58_v_.c' source_filename = "/tmp/tmpcos58_v_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcos58_v_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5mhnbr0g.c' source_filename = "/tmp/tmp5mhnbr0g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: alwaysinline nounwind sspstrong uwtable define weak dso_local i32 @softboundmpx_fseek(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load i64, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = call i32 @fseek(ptr noundef %7, i64 noundef %8, i32 noundef %9) ret i32 %10 } declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1 attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5mhnbr0g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: alwaysinline nounwind sspstrong uwtable define weak dso_local i32 @softboundmpx_fseek(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load i64, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = call i32 @fseek(ptr noundef %7, i64 noundef %8, i32 noundef %9) ret i32 %10 } declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1 attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpd6toaitm.c' source_filename = "/tmp/tmpd6toaitm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"Please input two integers:\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"number\09square\09cube\0A\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"%d\09%d\09%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 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %8 = load i32, ptr %2, align 4 store i32 %8, ptr %4, align 4 br label %9 9: ; preds = %24, %0 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr %3, align 4 %12 = icmp sle i32 %10, %11 br i1 %12, label %13, label %27 13: ; preds = %9 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %4, align 4 %16 = load i32, ptr %4, align 4 %17 = mul nsw i32 %15, %16 %18 = load i32, ptr %4, align 4 %19 = load i32, ptr %4, align 4 %20 = mul nsw i32 %18, %19 %21 = load i32, ptr %4, align 4 %22 = mul nsw i32 %20, %21 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %14, i32 noundef %17, i32 noundef %22) br label %24 24: ; preds = %13 %25 = load i32, ptr %4, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %4, align 4 br label %9, !llvm.loop !6 27: ; preds = %9 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd6toaitm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"Please input two integers:\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"number\09square\09cube\0A\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"%d\09%d\09%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 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %8 = load i32, ptr %2, align 4 store i32 %8, ptr %4, align 4 %9 = load i32, ptr %4, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp sle i32 %9, %10 br i1 %11, label %.lr.ph, label %29 .lr.ph: ; preds = %0 br label %12 12: ; preds = %.lr.ph, %23 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %4, align 4 %16 = mul nsw i32 %14, %15 %17 = load i32, ptr %4, align 4 %18 = load i32, ptr %4, align 4 %19 = mul nsw i32 %17, %18 %20 = load i32, ptr %4, align 4 %21 = mul nsw i32 %19, %20 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %13, i32 noundef %16, i32 noundef %21) br label %23 23: ; preds = %12 %24 = load i32, ptr %4, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %4, align 4 %26 = load i32, ptr %4, align 4 %27 = load i32, ptr %3, align 4 %28 = icmp sle i32 %26, %27 br i1 %28, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %29 29: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmprnfknroz.c' source_filename = "/tmp/tmprnfknroz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"/dev/hidraw*\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"DEBUG: glob() failed.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @glob_devices(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i64 @glob(ptr noundef @.str, i32 noundef 0, ptr noundef null, ptr noundef %3) %5 = icmp ne i64 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = call i32 @printf(ptr noundef @.str.1) br label %8 8: ; preds = %6, %1 ret void } declare i64 @glob(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprnfknroz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"/dev/hidraw*\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"DEBUG: glob() failed.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @glob_devices(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i64 @glob(ptr noundef @.str, i32 noundef 0, ptr noundef null, ptr noundef %3) %5 = icmp ne i64 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = call i32 @printf(ptr noundef @.str.1) br label %8 8: ; preds = %6, %1 ret void } declare i64 @glob(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpj14g1nnm.c' source_filename = "/tmp/tmpj14g1nnm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SensorSetMirrorFlip_SIV100B(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 %3 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %4 = load i8, ptr %2, align 1 %5 = zext i8 %4 to i32 %6 = icmp eq i32 %5, 1 br i1 %6, label %7, label %8 7: ; preds = %1 store i8 2, ptr %2, align 1 br label %14 8: ; preds = %1 %9 = load i8, ptr %2, align 1 %10 = zext i8 %9 to i32 %11 = icmp eq i32 %10, 2 br i1 %11, label %12, label %13 12: ; preds = %8 store i8 1, ptr %2, align 1 br label %13 13: ; preds = %12, %8 br label %14 14: ; preds = %13, %7 %15 = call i32 @VIM_SIF_I2cReadByte(i32 noundef 4, ptr noundef %3) %16 = load i8, ptr %3, align 1 %17 = zext i8 %16 to i32 %18 = and i32 %17, 252 %19 = trunc i32 %18 to i8 store i8 %19, ptr %3, align 1 %20 = load i8, ptr %2, align 1 %21 = zext i8 %20 to i32 %22 = and i32 %21, 3 %23 = load i8, ptr %3, align 1 %24 = zext i8 %23 to i32 %25 = or i32 %24, %22 %26 = trunc i32 %25 to i8 store i8 %26, ptr %3, align 1 %27 = load i8, ptr %3, align 1 %28 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 4, i8 noundef zeroext %27) ret void } declare i32 @VIM_SIF_I2cReadByte(i32 noundef, ptr noundef) #1 declare i32 @VIM_SIF_I2cWriteByte(i32 noundef, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj14g1nnm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SensorSetMirrorFlip_SIV100B(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 %3 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %4 = load i8, ptr %2, align 1 %5 = zext i8 %4 to i32 %6 = icmp eq i32 %5, 1 br i1 %6, label %7, label %8 7: ; preds = %1 store i8 2, ptr %2, align 1 br label %14 8: ; preds = %1 %9 = load i8, ptr %2, align 1 %10 = zext i8 %9 to i32 %11 = icmp eq i32 %10, 2 br i1 %11, label %12, label %13 12: ; preds = %8 store i8 1, ptr %2, align 1 br label %13 13: ; preds = %12, %8 br label %14 14: ; preds = %13, %7 %15 = call i32 @VIM_SIF_I2cReadByte(i32 noundef 4, ptr noundef %3) %16 = load i8, ptr %3, align 1 %17 = zext i8 %16 to i32 %18 = and i32 %17, 252 %19 = trunc i32 %18 to i8 store i8 %19, ptr %3, align 1 %20 = load i8, ptr %2, align 1 %21 = zext i8 %20 to i32 %22 = and i32 %21, 3 %23 = load i8, ptr %3, align 1 %24 = zext i8 %23 to i32 %25 = or i32 %24, %22 %26 = trunc i32 %25 to i8 store i8 %26, ptr %3, align 1 %27 = load i8, ptr %3, align 1 %28 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 4, i8 noundef zeroext %27) ret void } declare i32 @VIM_SIF_I2cReadByte(i32 noundef, ptr noundef) #1 declare i32 @VIM_SIF_I2cWriteByte(i32 noundef, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0zt_81al.c' source_filename = "/tmp/tmp0zt_81al.c" target datalayout = "e-m:e-p270: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/tmp0zt_81al.c" target datalayout = "e-m:e-p270: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/tmp4j0ihbkh.c' source_filename = "/tmp/tmp4j0ihbkh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clCreateSampler(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4) #0 { %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca [5 x i32], align 16 store i64 %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 ptr %4, ptr %10, align 8 %12 = load i64, ptr %6, align 8 %13 = trunc i64 %12 to i32 %14 = getelementptr inbounds [5 x i32], ptr %11, i64 0, i64 0 store i32 %13, ptr %14, align 16 %15 = load i64, ptr %7, align 8 %16 = trunc i64 %15 to i32 %17 = getelementptr inbounds [5 x i32], ptr %11, i64 0, i64 1 store i32 %16, ptr %17, align 4 %18 = load i64, ptr %8, align 8 %19 = trunc i64 %18 to i32 %20 = getelementptr inbounds [5 x i32], ptr %11, i64 0, i64 2 store i32 %19, ptr %20, align 8 %21 = load i64, ptr %9, align 8 %22 = trunc i64 %21 to i32 %23 = getelementptr inbounds [5 x i32], ptr %11, i64 0, i64 3 store i32 %22, ptr %23, align 4 %24 = load ptr, ptr %10, align 8 %25 = ptrtoint ptr %24 to i32 %26 = getelementptr inbounds [5 x i32], ptr %11, i64 0, i64 4 store i32 %25, ptr %26, align 16 %27 = getelementptr inbounds [5 x i32], ptr %11, i64 0, i64 0 %28 = call i32 @syscall(i32 noundef 325, i32 noundef 1024, ptr noundef %27) ret i32 %28 } declare i32 @syscall(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4j0ihbkh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clCreateSampler(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4) #0 { %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca [5 x i32], align 16 store i64 %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 ptr %4, ptr %10, align 8 %12 = load i64, ptr %6, align 8 %13 = trunc i64 %12 to i32 %14 = getelementptr inbounds [5 x i32], ptr %11, i64 0, i64 0 store i32 %13, ptr %14, align 16 %15 = load i64, ptr %7, align 8 %16 = trunc i64 %15 to i32 %17 = getelementptr inbounds [5 x i32], ptr %11, i64 0, i64 1 store i32 %16, ptr %17, align 4 %18 = load i64, ptr %8, align 8 %19 = trunc i64 %18 to i32 %20 = getelementptr inbounds [5 x i32], ptr %11, i64 0, i64 2 store i32 %19, ptr %20, align 8 %21 = load i64, ptr %9, align 8 %22 = trunc i64 %21 to i32 %23 = getelementptr inbounds [5 x i32], ptr %11, i64 0, i64 3 store i32 %22, ptr %23, align 4 %24 = load ptr, ptr %10, align 8 %25 = ptrtoint ptr %24 to i32 %26 = getelementptr inbounds [5 x i32], ptr %11, i64 0, i64 4 store i32 %25, ptr %26, align 16 %27 = getelementptr inbounds [5 x i32], ptr %11, i64 0, i64 0 %28 = call i32 @syscall(i32 noundef 325, i32 noundef 1024, ptr noundef %27) ret i32 %28 } declare i32 @syscall(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpp7ls6n05.c' source_filename = "/tmp/tmpp7ls6n05.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"1\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"0\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print2(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 3, ptr %3, align 4 br label %5 5: ; preds = %31, %1 %6 = load i32, ptr %3, align 4 %7 = icmp sge i32 %6, 0 br i1 %7, label %8, label %34 8: ; preds = %5 store i32 7, ptr %4, align 4 br label %9 9: ; preds = %26, %8 %10 = load i32, ptr %4, align 4 %11 = icmp sge i32 %10, 0 br i1 %11, label %12, label %29 12: ; preds = %9 %13 = load i32, ptr %2, align 4 %14 = load i32, ptr %3, align 4 %15 = mul nsw i32 8, %14 %16 = load i32, ptr %4, align 4 %17 = add nsw i32 %15, %16 %18 = shl i32 1, %17 %19 = and i32 %13, %18 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %12 %22 = call i32 @printf(ptr noundef @.str) br label %25 23: ; preds = %12 %24 = call i32 @printf(ptr noundef @.str.1) br label %25 25: ; preds = %23, %21 br label %26 26: ; preds = %25 %27 = load i32, ptr %4, align 4 %28 = add nsw i32 %27, -1 store i32 %28, ptr %4, align 4 br label %9, !llvm.loop !6 29: ; preds = %9 %30 = call i32 @printf(ptr noundef @.str.2) br label %31 31: ; preds = %29 %32 = load i32, ptr %3, align 4 %33 = add nsw i32 %32, -1 store i32 %33, ptr %3, align 4 br label %5, !llvm.loop !8 34: ; preds = %5 %35 = call i32 @printf(ptr noundef @.str.3) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp7ls6n05.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"1\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"0\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print2(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 3, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp sge i32 %5, 0 br i1 %6, label %.lr.ph2, label %36 .lr.ph2: ; preds = %1 br label %7 7: ; preds = %.lr.ph2, %31 store i32 7, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp sge i32 %8, 0 br i1 %9, label %.lr.ph, label %29 .lr.ph: ; preds = %7 br label %10 10: ; preds = %.lr.ph, %24 %11 = load i32, ptr %2, align 4 %12 = load i32, ptr %3, align 4 %13 = mul nsw i32 8, %12 %14 = load i32, ptr %4, align 4 %15 = add nsw i32 %13, %14 %16 = shl i32 1, %15 %17 = and i32 %11, %16 %18 = icmp ne i32 %17, 0 br i1 %18, label %19, label %21 19: ; preds = %10 %20 = call i32 @printf(ptr noundef @.str) br label %23 21: ; preds = %10 %22 = call i32 @printf(ptr noundef @.str.1) br label %23 23: ; preds = %21, %19 br label %24 24: ; preds = %23 %25 = load i32, ptr %4, align 4 %26 = add nsw i32 %25, -1 store i32 %26, ptr %4, align 4 %27 = load i32, ptr %4, align 4 %28 = icmp sge i32 %27, 0 br i1 %28, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %29 29: ; preds = %._crit_edge, %7 %30 = call i32 @printf(ptr noundef @.str.2) br label %31 31: ; preds = %29 %32 = load i32, ptr %3, align 4 %33 = add nsw i32 %32, -1 store i32 %33, ptr %3, align 4 %34 = load i32, ptr %3, align 4 %35 = icmp sge i32 %34, 0 br i1 %35, label %7, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %31 br label %36 36: ; preds = %._crit_edge3, %1 %37 = call i32 @printf(ptr noundef @.str.3) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp1qtprwwf.c' source_filename = "/tmp/tmp1qtprwwf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_realloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = call ptr @realloc(ptr noundef %6, i64 noundef %7) #3 store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %13, label %11 11: ; preds = %2 %12 = call i32 (...) @error() br label %13 13: ; preds = %11, %2 %14 = load ptr, ptr %5, align 8 ret ptr %14 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @error(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { allocsize(1) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1qtprwwf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_realloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = call ptr @realloc(ptr noundef %6, i64 noundef %7) #3 store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %13, label %11 11: ; preds = %2 %12 = call i32 (...) @error() br label %13 13: ; preds = %11, %2 %14 = load ptr, ptr %5, align 8 ret ptr %14 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @error(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { allocsize(1) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3mhrv7hu.c' source_filename = "/tmp/tmp3mhrv7hu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"Signal %d re\C3\A7u \0A\00", align 1 @WNOHANG = dso_local global i32 0, align 4 @WUNTRACED = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @traitement_signal(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) %6 = load i32, ptr @WNOHANG, align 4 %7 = load i32, ptr @WUNTRACED, align 4 %8 = or i32 %6, %7 %9 = call i32 @waitpid(i32 noundef -1, ptr noundef %3, i32 noundef %8) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3mhrv7hu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"Signal %d re\C3\A7u \0A\00", align 1 @WNOHANG = dso_local global i32 0, align 4 @WUNTRACED = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @traitement_signal(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) %6 = load i32, ptr @WNOHANG, align 4 %7 = load i32, ptr @WUNTRACED, align 4 %8 = or i32 %6, %7 %9 = call i32 @waitpid(i32 noundef -1, ptr noundef %3, i32 noundef %8) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkbbd_eim.c' source_filename = "/tmp/tmpkbbd_eim.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"# c::%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"log1p\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @time(ptr noundef null) %5 = call i32 @srand(i32 noundef %4) %6 = call i32 (...) @print_version() store i32 0, ptr %3, align 4 br label %7 7: ; preds = %18, %0 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %8, 3 br i1 %9, label %10, label %21 10: ; preds = %7 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %12 = call double (...) @benchmark() store double %12, ptr %2, align 8 %13 = load double, ptr %2, align 8 %14 = call i32 @print_results(double noundef %13) %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16) br label %18 18: ; preds = %10 %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %3, align 4 br label %7, !llvm.loop !6 21: ; preds = %7 %22 = call i32 @print_summary(i32 noundef 3, i32 noundef 3) %23 = load i32, ptr %1, align 4 ret i32 %23 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @print_version(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @benchmark(...) #1 declare i32 @print_results(double noundef) #1 declare i32 @print_summary(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkbbd_eim.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"# c::%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"log1p\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @time(ptr noundef null) %5 = call i32 @srand(i32 noundef %4) %6 = call i32 (...) @print_version() store i32 0, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %7, 3 br i1 %8, label %.lr.ph, label %22 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %17 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %11 = call double (...) @benchmark() store double %11, ptr %2, align 8 %12 = load double, ptr %2, align 8 %13 = call i32 @print_results(double noundef %12) %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15) br label %17 17: ; preds = %9 %18 = load i32, ptr %3, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %3, align 4 %20 = load i32, ptr %3, align 4 %21 = icmp slt i32 %20, 3 br i1 %21, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %22 22: ; preds = %._crit_edge, %0 %23 = call i32 @print_summary(i32 noundef 3, i32 noundef 3) %24 = load i32, ptr %1, align 4 ret i32 %24 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @print_version(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @benchmark(...) #1 declare i32 @print_results(double noundef) #1 declare i32 @print_summary(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp03_8mzi_.c' source_filename = "/tmp/tmp03_8mzi_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @dln1mx.dln1mx = internal global double 0.000000e+00, align 8 @dln1mx.T1 = internal global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @dln1mx(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load double, ptr %3, align 8 %5 = fneg double %4 store double %5, ptr @dln1mx.T1, align 8 %6 = call double @dln1px(ptr noundef @dln1mx.T1) store double %6, ptr @dln1mx.dln1mx, align 8 %7 = load double, ptr @dln1mx.dln1mx, align 8 ret double %7 } declare double @dln1px(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp03_8mzi_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @dln1mx.dln1mx = internal global double 0.000000e+00, align 8 @dln1mx.T1 = internal global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @dln1mx(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load double, ptr %3, align 8 %5 = fneg double %4 store double %5, ptr @dln1mx.T1, align 8 %6 = call double @dln1px(ptr noundef @dln1mx.T1) store double %6, ptr @dln1mx.dln1mx, align 8 %7 = load double, ptr @dln1mx.dln1mx, align 8 ret double %7 } declare double @dln1px(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_p42o91a.c' source_filename = "/tmp/tmp_p42o91a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_p42o91a.c" target datalayout = "e-m:e-p270: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/tmpk8e423ju.c' source_filename = "/tmp/tmpk8e423ju.c" target datalayout = "e-m:e-p270: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/tmpk8e423ju.c" target datalayout = "e-m:e-p270: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/tmpn0vz2lwk.c' source_filename = "/tmp/tmpn0vz2lwk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn0vz2lwk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphvfty8r2.c' source_filename = "/tmp/tmphvfty8r2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @transfer_flow_vol_from_units() #0 { %1 = call i32 (...) @transfer_flow_vol_from_units_c() ret void } declare i32 @transfer_flow_vol_from_units_c(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphvfty8r2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @transfer_flow_vol_from_units() #0 { %1 = call i32 (...) @transfer_flow_vol_from_units_c() ret void } declare i32 @transfer_flow_vol_from_units_c(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzpft748x.c' source_filename = "/tmp/tmpzpft748x.c" target datalayout = "e-m:e-p270: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/tmpzpft748x.c" target datalayout = "e-m:e-p270: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/tmpmls2smxb.c' source_filename = "/tmp/tmpmls2smxb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tone_detector_process_frame(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 br label %8 8: ; preds = %17, %3 %9 = load i32, ptr %6, align 4 %10 = icmp sgt i32 %9, 0 br i1 %10, label %11, label %30 11: ; preds = %8 %12 = load i32, ptr %6, align 4 %13 = icmp sgt i32 %12, 256 br i1 %13, label %14, label %15 14: ; preds = %11 br label %17 15: ; preds = %11 %16 = load i32, ptr %6, align 4 br label %17 17: ; preds = %15, %14 %18 = phi i32 [ 256, %14 ], [ %16, %15 ] store i32 %18, ptr %7, align 4 %19 = load ptr, ptr %4, align 8 %20 = load ptr, ptr %5, align 8 %21 = load i32, ptr %7, align 4 %22 = call i32 @tone_detector_process_partial_frame(ptr noundef %19, ptr noundef %20, i32 noundef %21) %23 = load i32, ptr %7, align 4 %24 = load i32, ptr %6, align 4 %25 = sub nsw i32 %24, %23 store i32 %25, ptr %6, align 4 %26 = load i32, ptr %7, align 4 %27 = load ptr, ptr %5, align 8 %28 = sext i32 %26 to i64 %29 = getelementptr inbounds i32, ptr %27, i64 %28 store ptr %29, ptr %5, align 8 br label %8, !llvm.loop !6 30: ; preds = %8 ret void } declare i32 @tone_detector_process_partial_frame(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmls2smxb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tone_detector_process_frame(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = icmp sgt i32 %8, 0 br i1 %9, label %.lr.ph, label %31 .lr.ph: ; preds = %3 br label %10 10: ; preds = %.lr.ph, %16 %11 = load i32, ptr %6, align 4 %12 = icmp sgt i32 %11, 256 br i1 %12, label %13, label %14 13: ; preds = %10 br label %16 14: ; preds = %10 %15 = load i32, ptr %6, align 4 br label %16 16: ; preds = %14, %13 %17 = phi i32 [ 256, %13 ], [ %15, %14 ] store i32 %17, ptr %7, align 4 %18 = load ptr, ptr %4, align 8 %19 = load ptr, ptr %5, align 8 %20 = load i32, ptr %7, align 4 %21 = call i32 @tone_detector_process_partial_frame(ptr noundef %18, ptr noundef %19, i32 noundef %20) %22 = load i32, ptr %7, align 4 %23 = load i32, ptr %6, align 4 %24 = sub nsw i32 %23, %22 store i32 %24, ptr %6, align 4 %25 = load i32, ptr %7, align 4 %26 = load ptr, ptr %5, align 8 %27 = sext i32 %25 to i64 %28 = getelementptr inbounds i32, ptr %26, i64 %27 store ptr %28, ptr %5, align 8 %29 = load i32, ptr %6, align 4 %30 = icmp sgt i32 %29, 0 br i1 %30, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %31 31: ; preds = %._crit_edge, %3 ret void } declare i32 @tone_detector_process_partial_frame(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpnf67ncpl.c' source_filename = "/tmp/tmpnf67ncpl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"out of memory\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @xmalloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @malloc(i64 noundef %4) #3 store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %10 8: ; preds = %1 %9 = call i32 @fatal(ptr noundef @.str) br label %10 10: ; preds = %8, %1 %11 = load ptr, ptr %3, align 8 ret ptr %11 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @fatal(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnf67ncpl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"out of memory\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @xmalloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @malloc(i64 noundef %4) #3 store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %10 8: ; preds = %1 %9 = call i32 @fatal(ptr noundef @.str) br label %10 10: ; preds = %8, %1 %11 = load ptr, ptr %3, align 8 ret ptr %11 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @fatal(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpia7ug1h1.c' source_filename = "/tmp/tmpia7ug1h1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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_ispunct.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"ispunct should be 1 for '\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_ispunct_0x27() #0 { %1 = call i32 @ispunct(i32 noundef 39) #3 %2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 200, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 ; Function Attrs: nounwind willreturn memory(read) declare i32 @ispunct(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpia7ug1h1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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_ispunct.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"ispunct should be 1 for '\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_ispunct_0x27() #0 { %1 = call i32 @ispunct(i32 noundef 39) #3 %2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 200, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 ; Function Attrs: nounwind willreturn memory(read) declare i32 @ispunct(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7zvr9wmd.c' source_filename = "/tmp/tmp7zvr9wmd.c" target datalayout = "e-m:e-p270: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/tmp7zvr9wmd.c" target datalayout = "e-m:e-p270: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/tmpm7xqqenw.c' source_filename = "/tmp/tmpm7xqqenw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.dirent = type { i32, ptr } @.str = private unnamed_addr constant [8 x i8] c"opendir\00", align 1 @DT_DIR = dso_local global i32 0, align 4 @errno = dso_local global i64 0, align 8 @ERANGE = dso_local global i64 0, align 8 @LONG_MAX = dso_local global i64 0, align 8 @LONG_MIN = dso_local global i64 0, align 8 @PATH_MAX = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [11 x i8] c"%s/%s/stat\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"%ld : %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"%d %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_processes(ptr noundef %0) #0 { %2 = alloca i32, align 4 %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 ptr, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i64, align 8 store ptr %0, ptr %3, align 8 %13 = load ptr, ptr %3, align 8 %14 = call ptr @opendir(ptr noundef %13) store ptr %14, ptr %4, align 8 %15 = load ptr, ptr %4, align 8 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %19 17: ; preds = %1 %18 = call i32 @perror(ptr noundef @.str) store i32 -1, ptr %2, align 4 br label %99 19: ; preds = %1 store ptr null, ptr %5, align 8 br label %20 20: ; preds = %95, %92, %62, %33, %19 %21 = load ptr, ptr %4, align 8 %22 = call ptr @readdir(ptr noundef %21) store ptr %22, ptr %5, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %24, label %96 24: ; preds = %20 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds %struct.dirent, ptr %25, i32 0, i32 0 %27 = load i32, ptr %26, align 8 %28 = load i32, ptr @DT_DIR, align 4 %29 = icmp ne i32 %28, 1 %30 = zext i1 %29 to i32 %31 = and i32 %27, %30 %32 = icmp ne i32 %31, 0 br i1 %32, label %33, label %34 33: ; preds = %24 br label %20, !llvm.loop !6 34: ; preds = %24 %35 = load ptr, ptr %5, align 8 %36 = getelementptr inbounds %struct.dirent, ptr %35, i32 0, i32 1 %37 = load ptr, ptr %36, align 8 %38 = call i64 @strtol(ptr noundef %37, ptr noundef %6, i32 noundef 10) store i64 %38, ptr %7, align 8 %39 = load i64, ptr @errno, align 8 %40 = load i64, ptr @ERANGE, align 8 %41 = icmp eq i64 %39, %40 br i1 %41, label %42, label %50 42: ; preds = %34 %43 = load i64, ptr %7, align 8 %44 = load i64, ptr @LONG_MAX, align 8 %45 = icmp eq i64 %43, %44 br i1 %45, label %62, label %46 46: ; preds = %42 %47 = load i64, ptr %7, align 8 %48 = load i64, ptr @LONG_MIN, align 8 %49 = icmp eq i64 %47, %48 br i1 %49, label %62, label %50 50: ; preds = %46, %34 %51 = load i64, ptr @errno, align 8 %52 = icmp ne i64 %51, 0 br i1 %52, label %53, label %56 53: ; preds = %50 %54 = load i64, ptr %7, align 8 %55 = icmp eq i64 %54, 0 br i1 %55, label %62, label %56 56: ; preds = %53, %50 %57 = load ptr, ptr %6, align 8 %58 = load ptr, ptr %5, align 8 %59 = getelementptr inbounds %struct.dirent, ptr %58, i32 0, i32 1 %60 = load ptr, ptr %59, align 8 %61 = icmp eq ptr %57, %60 br i1 %61, label %62, label %63 62: ; preds = %56, %53, %46, %42 br label %20, !llvm.loop !6 63: ; preds = %56 %64 = load i32, ptr @PATH_MAX, align 4 %65 = zext i32 %64 to i64 %66 = call ptr @llvm.stacksave() store ptr %66, ptr %8, align 8 %67 = alloca i8, i64 %65, align 16 store i64 %65, ptr %9, align 8 %68 = load i32, ptr @PATH_MAX, align 4 %69 = load ptr, ptr %3, align 8 %70 = load ptr, ptr %5, align 8 %71 = getelementptr inbounds %struct.dirent, ptr %70, i32 0, i32 1 %72 = load ptr, ptr %71, align 8 %73 = call i32 @snprintf(ptr noundef %67, i32 noundef %68, ptr noundef @.str.1, ptr noundef %69, ptr noundef %72) %74 = call ptr @fopen(ptr noundef %67, ptr noundef @.str.2) store ptr %74, ptr %10, align 8 %75 = load ptr, ptr %10, align 8 %76 = icmp ne ptr %75, null br i1 %76, label %82, label %77 77: ; preds = %63 %78 = load i64, ptr %7, align 8 %79 = load i64, ptr @errno, align 8 %80 = call ptr @strerror(i64 noundef %79) %81 = call i32 @printf(ptr noundef @.str.3, i64 noundef %78, ptr noundef %80) store i32 2, ptr %11, align 4 br label %92, !llvm.loop !6 82: ; preds = %63 %83 = load i32, ptr @PATH_MAX, align 4 %84 = zext i32 %83 to i64 %85 = alloca i8, i64 %84, align 16 store i64 %84, ptr %12, align 8 %86 = load ptr, ptr %10, align 8 %87 = call i32 @fscanf(ptr noundef %86, ptr noundef @.str.4, ptr noundef %7, ptr noundef %85) %88 = load i64, ptr %7, align 8 %89 = call i32 @printf(ptr noundef @.str.3, i64 noundef %88, ptr noundef %85) %90 = load ptr, ptr %10, align 8 %91 = call i32 @fclose(ptr noundef %90) store i32 0, ptr %11, align 4 br label %92 92: ; preds = %82, %77 %93 = load ptr, ptr %8, align 8 call void @llvm.stackrestore(ptr %93) %94 = load i32, ptr %11, align 4 switch i32 %94, label %101 [ i32 0, label %95 i32 2, label %20 ] 95: ; preds = %92 br label %20, !llvm.loop !6 96: ; preds = %20 %97 = load ptr, ptr %4, align 8 %98 = call i32 @closedir(ptr noundef %97) store i32 0, ptr %2, align 4 br label %99 99: ; preds = %96, %17 %100 = load i32, ptr %2, align 4 ret i32 %100 101: ; preds = %92 unreachable } declare ptr @opendir(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare ptr @readdir(ptr noundef) #1 declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i64 noundef, ptr noundef) #1 declare ptr @strerror(i64 noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 declare i32 @closedir(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm7xqqenw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.dirent = type { i32, ptr } @.str = private unnamed_addr constant [8 x i8] c"opendir\00", align 1 @DT_DIR = dso_local global i32 0, align 4 @errno = dso_local global i64 0, align 8 @ERANGE = dso_local global i64 0, align 8 @LONG_MAX = dso_local global i64 0, align 8 @LONG_MIN = dso_local global i64 0, align 8 @PATH_MAX = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [11 x i8] c"%s/%s/stat\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"%ld : %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"%d %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_processes(ptr noundef %0) #0 { %2 = alloca i32, align 4 %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 ptr, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i64, align 8 store ptr %0, ptr %3, align 8 %13 = load ptr, ptr %3, align 8 %14 = call ptr @opendir(ptr noundef %13) store ptr %14, ptr %4, align 8 %15 = load ptr, ptr %4, align 8 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %19 17: ; preds = %1 %18 = call i32 @perror(ptr noundef @.str) store i32 -1, ptr %2, align 4 br label %101 19: ; preds = %1 store ptr null, ptr %5, align 8 %20 = load ptr, ptr %4, align 8 %21 = call ptr @readdir(ptr noundef %20) store ptr %21, ptr %5, align 8 %22 = icmp ne ptr %21, null br i1 %22, label %.lr.ph, label %98 .lr.ph: ; preds = %19 br label %23 23: ; preds = %.lr.ph, %.backedge %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds %struct.dirent, ptr %24, i32 0, i32 0 %26 = load i32, ptr %25, align 8 %27 = load i32, ptr @DT_DIR, align 4 %28 = icmp ne i32 %27, 1 %29 = zext i1 %28 to i32 %30 = and i32 %26, %29 %31 = icmp ne i32 %30, 0 br i1 %31, label %32, label %36 32: ; preds = %23 br label %.backedge .backedge: ; preds = %32, %64, %94, %97 %33 = load ptr, ptr %4, align 8 %34 = call ptr @readdir(ptr noundef %33) store ptr %34, ptr %5, align 8 %35 = icmp ne ptr %34, null br i1 %35, label %23, label %._crit_edge, !llvm.loop !6 36: ; preds = %23 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds %struct.dirent, ptr %37, i32 0, i32 1 %39 = load ptr, ptr %38, align 8 %40 = call i64 @strtol(ptr noundef %39, ptr noundef %6, i32 noundef 10) store i64 %40, ptr %7, align 8 %41 = load i64, ptr @errno, align 8 %42 = load i64, ptr @ERANGE, align 8 %43 = icmp eq i64 %41, %42 br i1 %43, label %44, label %52 44: ; preds = %36 %45 = load i64, ptr %7, align 8 %46 = load i64, ptr @LONG_MAX, align 8 %47 = icmp eq i64 %45, %46 br i1 %47, label %64, label %48 48: ; preds = %44 %49 = load i64, ptr %7, align 8 %50 = load i64, ptr @LONG_MIN, align 8 %51 = icmp eq i64 %49, %50 br i1 %51, label %64, label %52 52: ; preds = %48, %36 %53 = load i64, ptr @errno, align 8 %54 = icmp ne i64 %53, 0 br i1 %54, label %55, label %58 55: ; preds = %52 %56 = load i64, ptr %7, align 8 %57 = icmp eq i64 %56, 0 br i1 %57, label %64, label %58 58: ; preds = %55, %52 %59 = load ptr, ptr %6, align 8 %60 = load ptr, ptr %5, align 8 %61 = getelementptr inbounds %struct.dirent, ptr %60, i32 0, i32 1 %62 = load ptr, ptr %61, align 8 %63 = icmp eq ptr %59, %62 br i1 %63, label %64, label %65 64: ; preds = %58, %55, %48, %44 br label %.backedge 65: ; preds = %58 %66 = load i32, ptr @PATH_MAX, align 4 %67 = zext i32 %66 to i64 %68 = call ptr @llvm.stacksave() store ptr %68, ptr %8, align 8 %69 = alloca i8, i64 %67, align 16 store i64 %67, ptr %9, align 8 %70 = load i32, ptr @PATH_MAX, align 4 %71 = load ptr, ptr %3, align 8 %72 = load ptr, ptr %5, align 8 %73 = getelementptr inbounds %struct.dirent, ptr %72, i32 0, i32 1 %74 = load ptr, ptr %73, align 8 %75 = call i32 @snprintf(ptr noundef %69, i32 noundef %70, ptr noundef @.str.1, ptr noundef %71, ptr noundef %74) %76 = call ptr @fopen(ptr noundef %69, ptr noundef @.str.2) store ptr %76, ptr %10, align 8 %77 = load ptr, ptr %10, align 8 %78 = icmp ne ptr %77, null br i1 %78, label %84, label %79 79: ; preds = %65 %80 = load i64, ptr %7, align 8 %81 = load i64, ptr @errno, align 8 %82 = call ptr @strerror(i64 noundef %81) %83 = call i32 @printf(ptr noundef @.str.3, i64 noundef %80, ptr noundef %82) store i32 2, ptr %11, align 4 br label %94, !llvm.loop !6 84: ; preds = %65 %85 = load i32, ptr @PATH_MAX, align 4 %86 = zext i32 %85 to i64 %87 = alloca i8, i64 %86, align 16 store i64 %86, ptr %12, align 8 %88 = load ptr, ptr %10, align 8 %89 = call i32 @fscanf(ptr noundef %88, ptr noundef @.str.4, ptr noundef %7, ptr noundef %87) %90 = load i64, ptr %7, align 8 %91 = call i32 @printf(ptr noundef @.str.3, i64 noundef %90, ptr noundef %87) %92 = load ptr, ptr %10, align 8 %93 = call i32 @fclose(ptr noundef %92) store i32 0, ptr %11, align 4 br label %94 94: ; preds = %84, %79 %95 = load ptr, ptr %8, align 8 call void @llvm.stackrestore(ptr %95) %96 = load i32, ptr %11, align 4 switch i32 %96, label %103 [ i32 0, label %97 i32 2, label %.backedge ] 97: ; preds = %94 br label %.backedge ._crit_edge: ; preds = %.backedge br label %98 98: ; preds = %._crit_edge, %19 %99 = load ptr, ptr %4, align 8 %100 = call i32 @closedir(ptr noundef %99) store i32 0, ptr %2, align 4 br label %101 101: ; preds = %98, %17 %102 = load i32, ptr %2, align 4 ret i32 %102 103: ; preds = %94 unreachable } declare ptr @opendir(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare ptr @readdir(ptr noundef) #1 declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i64 noundef, ptr noundef) #1 declare ptr @strerror(i64 noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 declare i32 @closedir(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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"}
; ModuleID = '/tmp/tmptt6tguc6.c' source_filename = "/tmp/tmptt6tguc6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"abort() called! Panicking.\0A\00", align 1 ; Function Attrs: noinline noreturn nounwind sspstrong uwtable define dso_local void @abort() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @lv1_panic(i32 noundef 0) br label %3 3: ; preds = %0, %3 br label %3 } declare i32 @printf(ptr noundef) #1 declare i32 @lv1_panic(i32 noundef) #1 attributes #0 = { noinline noreturn nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptt6tguc6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"abort() called! Panicking.\0A\00", align 1 ; Function Attrs: noinline noreturn nounwind sspstrong uwtable define dso_local void @abort() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @lv1_panic(i32 noundef 0) br label %3 3: ; preds = %3, %0 br label %3 } declare i32 @printf(ptr noundef) #1 declare i32 @lv1_panic(i32 noundef) #1 attributes #0 = { noinline noreturn nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyo1u1qrk.c' source_filename = "/tmp/tmpyo1u1qrk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kahan_summation(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store double 0.000000e+00, ptr %6, align 8 store double 0.000000e+00, ptr %7, align 8 store i64 0, ptr %5, align 8 br label %10 10: ; preds = %30, %2 %11 = load i64, ptr %5, align 8 %12 = load i64, ptr %4, align 8 %13 = icmp ult i64 %11, %12 br i1 %13, label %14, label %33 14: ; preds = %10 %15 = load ptr, ptr %3, align 8 %16 = load i64, ptr %5, align 8 %17 = getelementptr inbounds double, ptr %15, i64 %16 %18 = load double, ptr %17, align 8 %19 = load double, ptr %7, align 8 %20 = fsub double %18, %19 store double %20, ptr %8, align 8 %21 = load double, ptr %6, align 8 %22 = load double, ptr %8, align 8 %23 = fadd double %21, %22 store double %23, ptr %9, align 8 %24 = load double, ptr %9, align 8 %25 = load double, ptr %6, align 8 %26 = fsub double %24, %25 %27 = load double, ptr %8, align 8 %28 = fsub double %26, %27 store double %28, ptr %7, align 8 %29 = load double, ptr %9, align 8 store double %29, ptr %6, align 8 br label %30 30: ; preds = %14 %31 = load i64, ptr %5, align 8 %32 = add i64 %31, 1 store i64 %32, ptr %5, align 8 br label %10, !llvm.loop !6 33: ; preds = %10 %34 = load double, ptr %6, align 8 ret double %34 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpyo1u1qrk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kahan_summation(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store double 0.000000e+00, ptr %6, align 8 store double 0.000000e+00, ptr %7, align 8 store i64 0, ptr %5, align 8 %10 = load i64, ptr %5, align 8 %11 = load i64, ptr %4, align 8 %12 = icmp ult i64 %10, %11 br i1 %12, label %.lr.ph, label %35 .lr.ph: ; preds = %2 br label %13 13: ; preds = %.lr.ph, %29 %14 = load ptr, ptr %3, align 8 %15 = load i64, ptr %5, align 8 %16 = getelementptr inbounds double, ptr %14, i64 %15 %17 = load double, ptr %16, align 8 %18 = load double, ptr %7, align 8 %19 = fsub double %17, %18 store double %19, ptr %8, align 8 %20 = load double, ptr %6, align 8 %21 = load double, ptr %8, align 8 %22 = fadd double %20, %21 store double %22, ptr %9, align 8 %23 = load double, ptr %9, align 8 %24 = load double, ptr %6, align 8 %25 = fsub double %23, %24 %26 = load double, ptr %8, align 8 %27 = fsub double %25, %26 store double %27, ptr %7, align 8 %28 = load double, ptr %9, align 8 store double %28, ptr %6, align 8 br label %29 29: ; preds = %13 %30 = load i64, ptr %5, align 8 %31 = add i64 %30, 1 store i64 %31, ptr %5, align 8 %32 = load i64, ptr %5, align 8 %33 = load i64, ptr %4, align 8 %34 = icmp ult i64 %32, %33 br i1 %34, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %35 35: ; preds = %._crit_edge, %2 %36 = load double, ptr %6, align 8 ret double %36 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpzd29u6hl.c' source_filename = "/tmp/tmpzd29u6hl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"[%2d,%2d,%2d,%2d] = \00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"%20.14lf \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print4d3(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 store i32 %0, ptr %8, align 4 store i32 %1, ptr %9, align 4 store i32 %2, ptr %10, align 4 store i32 %3, ptr %11, align 4 store ptr %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 store ptr %6, ptr %14, align 8 store i32 0, ptr %15, align 4 br label %19 19: ; preds = %129, %7 %20 = load i32, ptr %15, align 4 %21 = load i32, ptr %8, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %23, label %132 23: ; preds = %19 store i32 0, ptr %16, align 4 br label %24 24: ; preds = %125, %23 %25 = load i32, ptr %16, align 4 %26 = load i32, ptr %9, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %28, label %128 28: ; preds = %24 store i32 0, ptr %17, align 4 br label %29 29: ; preds = %121, %28 %30 = load i32, ptr %17, align 4 %31 = load i32, ptr %10, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %33, label %124 33: ; preds = %29 store i32 0, ptr %18, align 4 br label %34 34: ; preds = %117, %33 %35 = load i32, ptr %18, align 4 %36 = load i32, ptr %11, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %38, label %120 38: ; preds = %34 %39 = load i32, ptr %15, align 4 %40 = load i32, ptr %16, align 4 %41 = load i32, ptr %17, align 4 %42 = load i32, ptr %18, align 4 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %39, i32 noundef %40, i32 noundef %41, i32 noundef %42) %44 = load ptr, ptr %12, align 8 %45 = load i32, ptr %15, align 4 %46 = load i32, ptr %9, align 4 %47 = mul nsw i32 %45, %46 %48 = load i32, ptr %10, align 4 %49 = mul nsw i32 %47, %48 %50 = load i32, ptr %11, align 4 %51 = mul nsw i32 %49, %50 %52 = load i32, ptr %16, align 4 %53 = load i32, ptr %10, align 4 %54 = mul nsw i32 %52, %53 %55 = load i32, ptr %11, align 4 %56 = mul nsw i32 %54, %55 %57 = add nsw i32 %51, %56 %58 = load i32, ptr %17, align 4 %59 = load i32, ptr %11, align 4 %60 = mul nsw i32 %58, %59 %61 = add nsw i32 %57, %60 %62 = load i32, ptr %18, align 4 %63 = add nsw i32 %61, %62 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds double, ptr %44, i64 %64 %66 = load double, ptr %65, align 8 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %66) %68 = load ptr, ptr %13, align 8 %69 = load i32, ptr %15, align 4 %70 = load i32, ptr %9, align 4 %71 = mul nsw i32 %69, %70 %72 = load i32, ptr %10, align 4 %73 = mul nsw i32 %71, %72 %74 = load i32, ptr %11, align 4 %75 = mul nsw i32 %73, %74 %76 = load i32, ptr %16, align 4 %77 = load i32, ptr %10, align 4 %78 = mul nsw i32 %76, %77 %79 = load i32, ptr %11, align 4 %80 = mul nsw i32 %78, %79 %81 = add nsw i32 %75, %80 %82 = load i32, ptr %17, align 4 %83 = load i32, ptr %11, align 4 %84 = mul nsw i32 %82, %83 %85 = add nsw i32 %81, %84 %86 = load i32, ptr %18, align 4 %87 = add nsw i32 %85, %86 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds double, ptr %68, i64 %88 %90 = load double, ptr %89, align 8 %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %90) %92 = load ptr, ptr %14, align 8 %93 = load i32, ptr %15, align 4 %94 = load i32, ptr %9, align 4 %95 = mul nsw i32 %93, %94 %96 = load i32, ptr %10, align 4 %97 = mul nsw i32 %95, %96 %98 = load i32, ptr %11, align 4 %99 = mul nsw i32 %97, %98 %100 = load i32, ptr %16, align 4 %101 = load i32, ptr %10, align 4 %102 = mul nsw i32 %100, %101 %103 = load i32, ptr %11, align 4 %104 = mul nsw i32 %102, %103 %105 = add nsw i32 %99, %104 %106 = load i32, ptr %17, align 4 %107 = load i32, ptr %11, align 4 %108 = mul nsw i32 %106, %107 %109 = add nsw i32 %105, %108 %110 = load i32, ptr %18, align 4 %111 = add nsw i32 %109, %110 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds double, ptr %92, i64 %112 %114 = load double, ptr %113, align 8 %115 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %114) %116 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %117 117: ; preds = %38 %118 = load i32, ptr %18, align 4 %119 = add nsw i32 %118, 1 store i32 %119, ptr %18, align 4 br label %34, !llvm.loop !6 120: ; preds = %34 br label %121 121: ; preds = %120 %122 = load i32, ptr %17, align 4 %123 = add nsw i32 %122, 1 store i32 %123, ptr %17, align 4 br label %29, !llvm.loop !8 124: ; preds = %29 br label %125 125: ; preds = %124 %126 = load i32, ptr %16, align 4 %127 = add nsw i32 %126, 1 store i32 %127, ptr %16, align 4 br label %24, !llvm.loop !9 128: ; preds = %24 br label %129 129: ; preds = %128 %130 = load i32, ptr %15, align 4 %131 = add nsw i32 %130, 1 store i32 %131, ptr %15, align 4 br label %19, !llvm.loop !10 132: ; preds = %19 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzd29u6hl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"[%2d,%2d,%2d,%2d] = \00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"%20.14lf \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print4d3(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 store i32 %0, ptr %8, align 4 store i32 %1, ptr %9, align 4 store i32 %2, ptr %10, align 4 store i32 %3, ptr %11, align 4 store ptr %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 store ptr %6, ptr %14, align 8 store i32 0, ptr %15, align 4 %19 = load i32, ptr %15, align 4 %20 = load i32, ptr %8, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %.lr.ph8, label %140 .lr.ph8: ; preds = %7 br label %22 22: ; preds = %.lr.ph8, %134 store i32 0, ptr %16, align 4 %23 = load i32, ptr %16, align 4 %24 = load i32, ptr %9, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %.lr.ph5, label %133 .lr.ph5: ; preds = %22 br label %26 26: ; preds = %.lr.ph5, %127 store i32 0, ptr %17, align 4 %27 = load i32, ptr %17, align 4 %28 = load i32, ptr %10, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %.lr.ph2, label %126 .lr.ph2: ; preds = %26 br label %30 30: ; preds = %.lr.ph2, %120 store i32 0, ptr %18, align 4 %31 = load i32, ptr %18, align 4 %32 = load i32, ptr %11, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %.lr.ph, label %119 .lr.ph: ; preds = %30 br label %34 34: ; preds = %.lr.ph, %113 %35 = load i32, ptr %15, align 4 %36 = load i32, ptr %16, align 4 %37 = load i32, ptr %17, align 4 %38 = load i32, ptr %18, align 4 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %35, i32 noundef %36, i32 noundef %37, i32 noundef %38) %40 = load ptr, ptr %12, align 8 %41 = load i32, ptr %15, align 4 %42 = load i32, ptr %9, align 4 %43 = mul nsw i32 %41, %42 %44 = load i32, ptr %10, align 4 %45 = mul nsw i32 %43, %44 %46 = load i32, ptr %11, align 4 %47 = mul nsw i32 %45, %46 %48 = load i32, ptr %16, align 4 %49 = load i32, ptr %10, align 4 %50 = mul nsw i32 %48, %49 %51 = load i32, ptr %11, align 4 %52 = mul nsw i32 %50, %51 %53 = add nsw i32 %47, %52 %54 = load i32, ptr %17, align 4 %55 = load i32, ptr %11, align 4 %56 = mul nsw i32 %54, %55 %57 = add nsw i32 %53, %56 %58 = load i32, ptr %18, align 4 %59 = add nsw i32 %57, %58 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds double, ptr %40, i64 %60 %62 = load double, ptr %61, align 8 %63 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %62) %64 = load ptr, ptr %13, align 8 %65 = load i32, ptr %15, align 4 %66 = load i32, ptr %9, align 4 %67 = mul nsw i32 %65, %66 %68 = load i32, ptr %10, align 4 %69 = mul nsw i32 %67, %68 %70 = load i32, ptr %11, align 4 %71 = mul nsw i32 %69, %70 %72 = load i32, ptr %16, align 4 %73 = load i32, ptr %10, align 4 %74 = mul nsw i32 %72, %73 %75 = load i32, ptr %11, align 4 %76 = mul nsw i32 %74, %75 %77 = add nsw i32 %71, %76 %78 = load i32, ptr %17, align 4 %79 = load i32, ptr %11, align 4 %80 = mul nsw i32 %78, %79 %81 = add nsw i32 %77, %80 %82 = load i32, ptr %18, align 4 %83 = add nsw i32 %81, %82 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds double, ptr %64, i64 %84 %86 = load double, ptr %85, align 8 %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %86) %88 = load ptr, ptr %14, align 8 %89 = load i32, ptr %15, align 4 %90 = load i32, ptr %9, align 4 %91 = mul nsw i32 %89, %90 %92 = load i32, ptr %10, align 4 %93 = mul nsw i32 %91, %92 %94 = load i32, ptr %11, align 4 %95 = mul nsw i32 %93, %94 %96 = load i32, ptr %16, align 4 %97 = load i32, ptr %10, align 4 %98 = mul nsw i32 %96, %97 %99 = load i32, ptr %11, align 4 %100 = mul nsw i32 %98, %99 %101 = add nsw i32 %95, %100 %102 = load i32, ptr %17, align 4 %103 = load i32, ptr %11, align 4 %104 = mul nsw i32 %102, %103 %105 = add nsw i32 %101, %104 %106 = load i32, ptr %18, align 4 %107 = add nsw i32 %105, %106 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds double, ptr %88, i64 %108 %110 = load double, ptr %109, align 8 %111 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %110) %112 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %113 113: ; preds = %34 %114 = load i32, ptr %18, align 4 %115 = add nsw i32 %114, 1 store i32 %115, ptr %18, align 4 %116 = load i32, ptr %18, align 4 %117 = load i32, ptr %11, align 4 %118 = icmp slt i32 %116, %117 br i1 %118, label %34, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %113 br label %119 119: ; preds = %._crit_edge, %30 br label %120 120: ; preds = %119 %121 = load i32, ptr %17, align 4 %122 = add nsw i32 %121, 1 store i32 %122, ptr %17, align 4 %123 = load i32, ptr %17, align 4 %124 = load i32, ptr %10, align 4 %125 = icmp slt i32 %123, %124 br i1 %125, label %30, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %120 br label %126 126: ; preds = %._crit_edge3, %26 br label %127 127: ; preds = %126 %128 = load i32, ptr %16, align 4 %129 = add nsw i32 %128, 1 store i32 %129, ptr %16, align 4 %130 = load i32, ptr %16, align 4 %131 = load i32, ptr %9, align 4 %132 = icmp slt i32 %130, %131 br i1 %132, label %26, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %127 br label %133 133: ; preds = %._crit_edge6, %22 br label %134 134: ; preds = %133 %135 = load i32, ptr %15, align 4 %136 = add nsw i32 %135, 1 store i32 %136, ptr %15, align 4 %137 = load i32, ptr %15, align 4 %138 = load i32, ptr %8, align 4 %139 = icmp slt i32 %137, %138 br i1 %139, label %22, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %134 br label %140 140: ; preds = %._crit_edge9, %7 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmp5z358ywn.c' source_filename = "/tmp/tmp5z358ywn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"Welcome abroad (handler2)\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"quit\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"Bye (handler2)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @handler2(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [256 x i8], align 16 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %5 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %6 = call i32 @snprintf(ptr noundef %5, i32 noundef 256, ptr noundef @.str) store i32 %6, ptr %4, align 4 %7 = load i32, ptr %2, align 4 %8 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %9, 256 br i1 %10, label %11, label %13 11: ; preds = %1 %12 = load i32, ptr %4, align 4 br label %14 13: ; preds = %1 br label %14 14: ; preds = %13, %11 %15 = phi i32 [ %12, %11 ], [ 256, %13 ] %16 = call i32 @cornet_write(i32 noundef %7, ptr noundef %8, i32 noundef %15) br label %17 17: ; preds = %30, %14 %18 = load i32, ptr %2, align 4 %19 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %20 = call i32 @cornet_read(i32 noundef %18, ptr noundef %19, i32 noundef 256) store i32 %20, ptr %4, align 4 %21 = icmp sgt i32 %20, 0 br i1 %21, label %22, label %35 22: ; preds = %17 %23 = load i32, ptr %4, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 %24 store i8 0, ptr %25, align 1 %26 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %27 = call i32 @strncmp(ptr noundef %26, ptr noundef @.str.1, i32 noundef 4) %28 = icmp ne i32 %27, 0 br i1 %28, label %30, label %29 29: ; preds = %22 br label %35 30: ; preds = %22 %31 = load i32, ptr %2, align 4 %32 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %33 = load i32, ptr %4, align 4 %34 = call i32 @cornet_write(i32 noundef %31, ptr noundef %32, i32 noundef %33) br label %17, !llvm.loop !6 35: ; preds = %29, %17 %36 = call i32 @printf(ptr noundef @.str.2) ret void } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @cornet_write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @cornet_read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5z358ywn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"Welcome abroad (handler2)\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"quit\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"Bye (handler2)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @handler2(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [256 x i8], align 16 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %5 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %6 = call i32 @snprintf(ptr noundef %5, i32 noundef 256, ptr noundef @.str) store i32 %6, ptr %4, align 4 %7 = load i32, ptr %2, align 4 %8 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %9, 256 br i1 %10, label %11, label %13 11: ; preds = %1 %12 = load i32, ptr %4, align 4 br label %14 13: ; preds = %1 br label %14 14: ; preds = %13, %11 %15 = phi i32 [ %12, %11 ], [ 256, %13 ] %16 = call i32 @cornet_write(i32 noundef %7, ptr noundef %8, i32 noundef %15) %17 = load i32, ptr %2, align 4 %18 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %19 = call i32 @cornet_read(i32 noundef %17, ptr noundef %18, i32 noundef 256) store i32 %19, ptr %4, align 4 %20 = icmp sgt i32 %19, 0 br i1 %20, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %14 br label %21 21: ; preds = %.lr.ph, %29 %22 = load i32, ptr %4, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 %23 store i8 0, ptr %24, align 1 %25 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %26 = call i32 @strncmp(ptr noundef %25, ptr noundef @.str.1, i32 noundef 4) %27 = icmp ne i32 %26, 0 br i1 %27, label %29, label %28 28: ; preds = %21 br label %37 29: ; preds = %21 %30 = load i32, ptr %2, align 4 %31 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %32 = load i32, ptr %4, align 4 %33 = call i32 @cornet_write(i32 noundef %30, ptr noundef %31, i32 noundef %32) %34 = load i32, ptr %2, align 4 %35 = call i32 @cornet_read(i32 noundef %34, ptr noundef %18, i32 noundef 256) store i32 %35, ptr %4, align 4 %36 = icmp sgt i32 %35, 0 br i1 %36, label %21, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %29 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %14 br label %37 37: ; preds = %.loopexit, %28 %38 = call i32 @printf(ptr noundef @.str.2) ret void } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @cornet_write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @cornet_read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp6t9a8jff.c' source_filename = "/tmp/tmp6t9a8jff.c" target datalayout = "e-m:e-p270: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/tmp6t9a8jff.c" target datalayout = "e-m:e-p270: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/tmp_0hvouhh.c' source_filename = "/tmp/tmp_0hvouhh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_0hvouhh.c" target datalayout = "e-m:e-p270: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/tmpozj61j9a.c' source_filename = "/tmp/tmpozj61j9a.c" target datalayout = "e-m:e-p270: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/tmpozj61j9a.c" target datalayout = "e-m:e-p270: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/tmp0ak_ow65.c' source_filename = "/tmp/tmp0ak_ow65.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"../disks/drivea.cpm\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [25 x i8] c"file ../disks/drivea.cpm\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"boot.bin\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [14 x i8] c"file boot.bin\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"mpmldr.bin\00", align 1 @.str.5 = private unnamed_addr constant [16 x i8] c"file mpmldr.bin\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [128 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = load i32, ptr @O_WRONLY, align 4 %7 = call i32 @open(ptr noundef @.str, i32 noundef %6) store i32 %7, ptr %4, align 4 %8 = icmp eq i32 %7, -1 br i1 %8, label %9, label %12 9: ; preds = %0 %10 = call i32 @perror(ptr noundef @.str.1) %11 = call i32 @exit(i32 noundef 1) #3 unreachable 12: ; preds = %0 %13 = load i32, ptr @O_RDONLY, align 4 %14 = call i32 @open(ptr noundef @.str.2, i32 noundef %13) store i32 %14, ptr %3, align 4 %15 = icmp eq i32 %14, -1 br i1 %15, label %16, label %19 16: ; preds = %12 %17 = call i32 @perror(ptr noundef @.str.3) %18 = call i32 @exit(i32 noundef 1) #3 unreachable 19: ; preds = %12 %20 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %21 = call i32 @memset(ptr noundef %20, i32 noundef 0, i32 noundef 128) %22 = load i32, ptr %3, align 4 %23 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %24 = call i32 @read(i32 noundef %22, ptr noundef %23, i32 noundef 128) %25 = load i32, ptr %3, align 4 %26 = call i32 @close(i32 noundef %25) %27 = load i32, ptr %4, align 4 %28 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %29 = call i32 @write(i32 noundef %27, ptr noundef %28, i32 noundef 128) %30 = load i32, ptr @O_RDONLY, align 4 %31 = call i32 @open(ptr noundef @.str.4, i32 noundef %30) store i32 %31, ptr %3, align 4 %32 = icmp eq i32 %31, -1 br i1 %32, label %33, label %36 33: ; preds = %19 %34 = call i32 @perror(ptr noundef @.str.5) %35 = call i32 @exit(i32 noundef 1) #3 unreachable 36: ; preds = %19 br label %37 37: ; preds = %42, %36 %38 = load i32, ptr %3, align 4 %39 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %40 = call i32 @read(i32 noundef %38, ptr noundef %39, i32 noundef 128) store i32 %40, ptr %5, align 4 %41 = icmp eq i32 %40, 128 br i1 %41, label %42, label %46 42: ; preds = %37 %43 = load i32, ptr %4, align 4 %44 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %45 = call i32 @write(i32 noundef %43, ptr noundef %44, i32 noundef 128) br label %37, !llvm.loop !6 46: ; preds = %37 %47 = load i32, ptr %4, align 4 %48 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %49 = call i32 @write(i32 noundef %47, ptr noundef %48, i32 noundef 128) %50 = load i32, ptr %3, align 4 %51 = call i32 @close(i32 noundef %50) %52 = load i32, ptr %4, align 4 %53 = call i32 @close(i32 noundef %52) ret i32 0 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0ak_ow65.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"../disks/drivea.cpm\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [25 x i8] c"file ../disks/drivea.cpm\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"boot.bin\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [14 x i8] c"file boot.bin\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"mpmldr.bin\00", align 1 @.str.5 = private unnamed_addr constant [16 x i8] c"file mpmldr.bin\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [128 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = load i32, ptr @O_WRONLY, align 4 %7 = call i32 @open(ptr noundef @.str, i32 noundef %6) store i32 %7, ptr %4, align 4 %8 = icmp eq i32 %7, -1 br i1 %8, label %9, label %12 9: ; preds = %0 %10 = call i32 @perror(ptr noundef @.str.1) %11 = call i32 @exit(i32 noundef 1) #3 unreachable 12: ; preds = %0 %13 = load i32, ptr @O_RDONLY, align 4 %14 = call i32 @open(ptr noundef @.str.2, i32 noundef %13) store i32 %14, ptr %3, align 4 %15 = icmp eq i32 %14, -1 br i1 %15, label %16, label %19 16: ; preds = %12 %17 = call i32 @perror(ptr noundef @.str.3) %18 = call i32 @exit(i32 noundef 1) #3 unreachable 19: ; preds = %12 %20 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %21 = call i32 @memset(ptr noundef %20, i32 noundef 0, i32 noundef 128) %22 = load i32, ptr %3, align 4 %23 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %24 = call i32 @read(i32 noundef %22, ptr noundef %23, i32 noundef 128) %25 = load i32, ptr %3, align 4 %26 = call i32 @close(i32 noundef %25) %27 = load i32, ptr %4, align 4 %28 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %29 = call i32 @write(i32 noundef %27, ptr noundef %28, i32 noundef 128) %30 = load i32, ptr @O_RDONLY, align 4 %31 = call i32 @open(ptr noundef @.str.4, i32 noundef %30) store i32 %31, ptr %3, align 4 %32 = icmp eq i32 %31, -1 br i1 %32, label %33, label %36 33: ; preds = %19 %34 = call i32 @perror(ptr noundef @.str.5) %35 = call i32 @exit(i32 noundef 1) #3 unreachable 36: ; preds = %19 %37 = load i32, ptr %3, align 4 %38 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %39 = call i32 @read(i32 noundef %37, ptr noundef %38, i32 noundef 128) store i32 %39, ptr %5, align 4 %40 = icmp eq i32 %39, 128 br i1 %40, label %.lr.ph, label %48 .lr.ph: ; preds = %36 br label %41 41: ; preds = %.lr.ph, %41 %42 = load i32, ptr %4, align 4 %43 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %44 = call i32 @write(i32 noundef %42, ptr noundef %43, i32 noundef 128) %45 = load i32, ptr %3, align 4 %46 = call i32 @read(i32 noundef %45, ptr noundef %38, i32 noundef 128) store i32 %46, ptr %5, align 4 %47 = icmp eq i32 %46, 128 br i1 %47, label %41, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %41 br label %48 48: ; preds = %._crit_edge, %36 %49 = load i32, ptr %4, align 4 %50 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %51 = call i32 @write(i32 noundef %49, ptr noundef %50, i32 noundef 128) %52 = load i32, ptr %3, align 4 %53 = call i32 @close(i32 noundef %52) %54 = load i32, ptr %4, align 4 %55 = call i32 @close(i32 noundef %54) ret i32 0 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpy_3yyplc.c' source_filename = "/tmp/tmpy_3yyplc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @yahoo_f01_4d(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = xor i32 %6, 1408458831 store i32 %7, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = call i32 @yahoo_M1Common(i32 noundef %8, i32 noundef %9) ret i32 %10 } declare i32 @yahoo_M1Common(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/tmpy_3yyplc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @yahoo_f01_4d(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = xor i32 %6, 1408458831 store i32 %7, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = call i32 @yahoo_M1Common(i32 noundef %8, i32 noundef %9) ret i32 %10 } declare i32 @yahoo_M1Common(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/tmpn9or0xph.c' source_filename = "/tmp/tmpn9or0xph.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [39 x i8] c"Welcome to ASCII Volumetric Yahtzee!!!\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"ver 1.02\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"created by spags.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @displayMenu() #0 { %1 = call i32 (...) @clear() %2 = call i32 @border(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0) %3 = call i32 @printCenter(i32 noundef 2, ptr noundef @.str) %4 = call i32 @printCenter(i32 noundef 4, ptr noundef @.str.1) %5 = call i32 @printCenter(i32 noundef 6, ptr noundef @.str.2) %6 = call i32 @printHLine(i32 noundef 8) %7 = call i32 @printHLine(i32 noundef 16) ret void } declare i32 @clear(...) #1 declare i32 @border(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printCenter(i32 noundef, ptr noundef) #1 declare i32 @printHLine(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/tmpn9or0xph.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [39 x i8] c"Welcome to ASCII Volumetric Yahtzee!!!\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"ver 1.02\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"created by spags.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @displayMenu() #0 { %1 = call i32 (...) @clear() %2 = call i32 @border(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0) %3 = call i32 @printCenter(i32 noundef 2, ptr noundef @.str) %4 = call i32 @printCenter(i32 noundef 4, ptr noundef @.str.1) %5 = call i32 @printCenter(i32 noundef 6, ptr noundef @.str.2) %6 = call i32 @printHLine(i32 noundef 8) %7 = call i32 @printHLine(i32 noundef 16) ret void } declare i32 @clear(...) #1 declare i32 @border(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printCenter(i32 noundef, ptr noundef) #1 declare i32 @printHLine(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/tmpe6_pgsnm.c' source_filename = "/tmp/tmpe6_pgsnm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @test_mm_aesdec256kl_u8(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %5, align 4 %9 = load ptr, ptr %6, align 8 %10 = call zeroext i8 @_mm_aesdec256kl_u8(ptr noundef %7, i32 noundef %8, ptr noundef %9) ret i8 %10 } declare zeroext i8 @_mm_aesdec256kl_u8(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe6_pgsnm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @test_mm_aesdec256kl_u8(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %5, align 4 %9 = load ptr, ptr %6, align 8 %10 = call zeroext i8 @_mm_aesdec256kl_u8(ptr noundef %7, i32 noundef %8, ptr noundef %9) ret i8 %10 } declare zeroext i8 @_mm_aesdec256kl_u8(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp14o855ce.c' source_filename = "/tmp/tmp14o855ce.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @half_adder(i32 noundef %0, i32 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 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %8 = call ptr @malloc(i32 noundef 8) store ptr %8, ptr %5, align 8 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %4, align 4 %11 = call i32 @exor(i32 noundef %9, i32 noundef %10) %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds i32, ptr %12, i64 0 store i32 %11, ptr %13, align 4 %14 = load i32, ptr %3, align 4 %15 = load i32, ptr %4, align 4 %16 = and i32 %14, %15 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds i32, ptr %17, i64 1 store i32 %16, ptr %18, align 4 %19 = load ptr, ptr %5, align 8 ret ptr %19 } declare ptr @malloc(i32 noundef) #1 declare i32 @exor(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/tmp14o855ce.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @half_adder(i32 noundef %0, i32 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 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %8 = call ptr @malloc(i32 noundef 8) store ptr %8, ptr %5, align 8 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %4, align 4 %11 = call i32 @exor(i32 noundef %9, i32 noundef %10) %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds i32, ptr %12, i64 0 store i32 %11, ptr %13, align 4 %14 = load i32, ptr %3, align 4 %15 = load i32, ptr %4, align 4 %16 = and i32 %14, %15 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds i32, ptr %17, i64 1 store i32 %16, ptr %18, align 4 %19 = load ptr, ptr %5, align 8 ret ptr %19 } declare ptr @malloc(i32 noundef) #1 declare i32 @exor(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/tmpj1s7ro2c.c' source_filename = "/tmp/tmpj1s7ro2c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mem_calloc_align_func(i64 noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 store i64 %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = load i64, ptr %5, align 8 %9 = load i64, ptr %4, align 8 %10 = mul i64 %8, %9 %11 = load i64, ptr %6, align 8 %12 = call ptr @mem_alloc_align_func(i64 noundef %10, i64 noundef %11) store ptr %12, ptr %7, align 8 %13 = load ptr, ptr %7, align 8 %14 = load i64, ptr %5, align 8 %15 = load i64, ptr %4, align 8 %16 = mul i64 %14, %15 %17 = call i32 @memset(ptr noundef %13, i32 noundef 0, i64 noundef %16) %18 = load ptr, ptr %7, align 8 ret ptr %18 } declare ptr @mem_alloc_align_func(i64 noundef, i64 noundef) #1 declare i32 @memset(ptr noundef, i32 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/tmpj1s7ro2c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mem_calloc_align_func(i64 noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 store i64 %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = load i64, ptr %5, align 8 %9 = load i64, ptr %4, align 8 %10 = mul i64 %8, %9 %11 = load i64, ptr %6, align 8 %12 = call ptr @mem_alloc_align_func(i64 noundef %10, i64 noundef %11) store ptr %12, ptr %7, align 8 %13 = load ptr, ptr %7, align 8 %14 = load i64, ptr %5, align 8 %15 = load i64, ptr %4, align 8 %16 = mul i64 %14, %15 %17 = call i32 @memset(ptr noundef %13, i32 noundef 0, i64 noundef %16) %18 = load ptr, ptr %7, align 8 ret ptr %18 } declare ptr @mem_alloc_align_func(i64 noundef, i64 noundef) #1 declare i32 @memset(ptr noundef, i32 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/tmppn7ex788.c' source_filename = "/tmp/tmppn7ex788.c" target datalayout = "e-m:e-p270: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/tmppn7ex788.c" target datalayout = "e-m:e-p270: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/tmpzxaml6ve.c' source_filename = "/tmp/tmpzxaml6ve.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"%d,%d,%u\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @energy_cb(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %6, align 4 %10 = call i32 @log_output(i32 noundef 10, ptr noundef @.str, i32 noundef %7, i32 noundef %8, i32 noundef %9) ret void } declare i32 @log_output(i32 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/tmpzxaml6ve.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"%d,%d,%u\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @energy_cb(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %6, align 4 %10 = call i32 @log_output(i32 noundef 10, ptr noundef @.str, i32 noundef %7, i32 noundef %8, i32 noundef %9) ret void } declare i32 @log_output(i32 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/tmpcbkmiik7.c' source_filename = "/tmp/tmpcbkmiik7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 %4 = call i32 @wait(ptr noundef %2) store i32 %4, ptr %3, align 4 ret i32 0 } 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/tmpcbkmiik7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 %4 = call i32 @wait(ptr noundef %2) store i32 %4, ptr %3, align 4 ret i32 0 } 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/tmpu7unibha.c' source_filename = "/tmp/tmpu7unibha.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i64 0, align 8 @PRIO_PROCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @nice(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i64 0, ptr @errno, align 8 %5 = load i32, ptr @PRIO_PROCESS, align 4 %6 = call i32 @getpriority(i32 noundef %5, i32 noundef 0) store i32 %6, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp eq i32 %7, -1 br i1 %8, label %9, label %13 9: ; preds = %1 %10 = load i64, ptr @errno, align 8 %11 = icmp ne i64 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %9 store i32 -1, ptr %2, align 4 br label %19 13: ; preds = %9, %1 %14 = load i32, ptr @PRIO_PROCESS, align 4 %15 = load i32, ptr %4, align 4 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %15, %16 %18 = call i32 @setpriority(i32 noundef %14, i32 noundef 0, i32 noundef %17) store i32 %18, ptr %2, align 4 br label %19 19: ; preds = %13, %12 %20 = load i32, ptr %2, align 4 ret i32 %20 } declare i32 @getpriority(i32 noundef, i32 noundef) #1 declare i32 @setpriority(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/tmpu7unibha.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i64 0, align 8 @PRIO_PROCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @nice(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i64 0, ptr @errno, align 8 %5 = load i32, ptr @PRIO_PROCESS, align 4 %6 = call i32 @getpriority(i32 noundef %5, i32 noundef 0) store i32 %6, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp eq i32 %7, -1 br i1 %8, label %9, label %13 9: ; preds = %1 %10 = load i64, ptr @errno, align 8 %11 = icmp ne i64 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %9 store i32 -1, ptr %2, align 4 br label %19 13: ; preds = %9, %1 %14 = load i32, ptr @PRIO_PROCESS, align 4 %15 = load i32, ptr %4, align 4 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %15, %16 %18 = call i32 @setpriority(i32 noundef %14, i32 noundef 0, i32 noundef %17) store i32 %18, ptr %2, align 4 br label %19 19: ; preds = %13, %12 %20 = load i32, ptr %2, align 4 ret i32 %20 } declare i32 @getpriority(i32 noundef, i32 noundef) #1 declare i32 @setpriority(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/tmp8ib6k47w.c' source_filename = "/tmp/tmp8ib6k47w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"wwww.baidu.com\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"%d, %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 15, ptr %2, align 4 %4 = call i32 @strlen(ptr noundef @.str) store i32 %4, ptr %3, align 4 %5 = load i32, ptr %2, align 4 %6 = load i32, ptr %3, align 4 %7 = call i32 @printf(ptr noundef @.str.1, i32 noundef %5, i32 noundef %6) ret i32 0 } declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8ib6k47w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"wwww.baidu.com\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"%d, %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 15, ptr %2, align 4 %4 = call i32 @strlen(ptr noundef @.str) store i32 %4, ptr %3, align 4 %5 = load i32, ptr %2, align 4 %6 = load i32, ptr %3, align 4 %7 = call i32 @printf(ptr noundef @.str.1, i32 noundef %5, i32 noundef %6) ret i32 0 } declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5dhup6fu.c' source_filename = "/tmp/tmp5dhup6fu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [107 x i8] c"\0A\0Amenu : \0A1.liste des referentiels\0A2.contenu d'un referentiel\0A3.telechargement d'un referentiel\0A4.quitter\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @menu() #0 { %1 = alloca [256 x i8], align 16 %2 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @strcpy(ptr noundef %2, ptr noundef @.str) %4 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0 %5 = call i32 @set_message(ptr noundef %4) ret i32 0 } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @set_message(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5dhup6fu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [107 x i8] c"\0A\0Amenu : \0A1.liste des referentiels\0A2.contenu d'un referentiel\0A3.telechargement d'un referentiel\0A4.quitter\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @menu() #0 { %1 = alloca [256 x i8], align 16 %2 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @strcpy(ptr noundef %2, ptr noundef @.str) %4 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0 %5 = call i32 @set_message(ptr noundef %4) ret i32 0 } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @set_message(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpm6cr3p_t.c' source_filename = "/tmp/tmpm6cr3p_t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ERROR:Construct VAP Failure!\0A\00", align 1 @.str.1 = private unnamed_addr constant [46 x i8] c"ifconfig | grep -rn %s > /tmp/vap_link_status\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"\1B[1;33;40m\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"\1B[0m\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"/tmp/vap_link_status\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @EOF = dso_local global i8 0, align 1 @.str.7 = private unnamed_addr constant [27 x i8] c"rm -f /tmp/vap_link_status\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_vap_status(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca [128 x i8], align 16 %12 = alloca [8 x i8], align 1 %13 = alloca ptr, align 8 %14 = alloca [256 x i8], align 16 %15 = alloca i8, align 1 store i32 %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store ptr %3, ptr %9, align 8 call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 128, i1 false) call void @llvm.memset.p0.i64(ptr align 1 %12, i8 0, i64 8, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %14, i8 0, i64 256, i1 false) %16 = getelementptr inbounds [8 x i8], ptr %12, i64 0, i64 0 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %7, align 4 %19 = load i32, ptr %8, align 4 %20 = call i32 @construct_vap(ptr noundef %16, i32 noundef %17, i32 noundef %18, i32 noundef %19) store i32 %20, ptr %10, align 4 %21 = load i32, ptr %10, align 4 %22 = icmp eq i32 -1, %21 br i1 %22, label %23, label %25 23: ; preds = %4 %24 = call i32 @printf(ptr noundef @.str) store i32 -1, ptr %5, align 4 br label %71 25: ; preds = %4 %26 = load ptr, ptr %9, align 8 store i32 0, ptr %26, align 4 %27 = getelementptr inbounds [128 x i8], ptr %11, i64 0, i64 0 %28 = getelementptr inbounds [8 x i8], ptr %12, i64 0, i64 0 %29 = call i32 @sprintf(ptr noundef %27, ptr noundef @.str.1, ptr noundef %28) br label %30 30: ; preds = %25 %31 = call i32 @printf(ptr noundef @.str.2) %32 = getelementptr inbounds [128 x i8], ptr %11, i64 0, i64 0 %33 = call i32 @printf(ptr noundef %32) %34 = call i32 @printf(ptr noundef @.str.3) %35 = call i32 @printf(ptr noundef @.str.4) %36 = getelementptr inbounds [128 x i8], ptr %11, i64 0, i64 0 %37 = call i32 @system(ptr noundef %36) br label %38 38: ; preds = %30 %39 = call ptr @fopen(ptr noundef @.str.5, ptr noundef @.str.6) store ptr %39, ptr %13, align 8 br label %40 40: ; preds = %60, %38 %41 = load ptr, ptr %13, align 8 %42 = call signext i8 @fgetc(ptr noundef %41) store i8 %42, ptr %15, align 1 %43 = sext i8 %42 to i32 %44 = load i8, ptr @EOF, align 1 %45 = sext i8 %44 to i32 %46 = icmp ne i32 %43, %45 br i1 %46, label %47, label %61 47: ; preds = %40 %48 = load i8, ptr %15, align 1 %49 = load ptr, ptr %13, align 8 %50 = call i32 @ungetc(i8 noundef signext %48, ptr noundef %49) %51 = getelementptr inbounds [256 x i8], ptr %14, i64 0, i64 0 %52 = load ptr, ptr %13, align 8 %53 = call i32 @readline(ptr noundef %51, ptr noundef %52) %54 = getelementptr inbounds [256 x i8], ptr %14, i64 0, i64 0 %55 = getelementptr inbounds [8 x i8], ptr %12, i64 0, i64 0 %56 = call i64 @find_pattern_from_str(ptr noundef %54, ptr noundef %55) %57 = icmp eq i64 %56, 0 br i1 %57, label %58, label %60 58: ; preds = %47 %59 = load ptr, ptr %9, align 8 store i32 1, ptr %59, align 4 br label %61 60: ; preds = %47 br label %40, !llvm.loop !6 61: ; preds = %58, %40 %62 = load ptr, ptr %13, align 8 %63 = call i32 @fclose(ptr noundef %62) br label %64 64: ; preds = %61 %65 = call i32 @printf(ptr noundef @.str.2) %66 = call i32 @printf(ptr noundef @.str.7) %67 = call i32 @printf(ptr noundef @.str.3) %68 = call i32 @printf(ptr noundef @.str.4) %69 = call i32 @system(ptr noundef @.str.7) br label %70 70: ; preds = %64 store i32 0, ptr %5, align 4 br label %71 71: ; preds = %70, %23 %72 = load i32, ptr %5, align 4 ret i32 %72 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @construct_vap(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @printf(ptr noundef) #2 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @system(ptr noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare signext i8 @fgetc(ptr noundef) #2 declare i32 @ungetc(i8 noundef signext, ptr noundef) #2 declare i32 @readline(ptr noundef, ptr noundef) #2 declare i64 @find_pattern_from_str(ptr noundef, ptr noundef) #2 declare i32 @fclose(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm6cr3p_t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ERROR:Construct VAP Failure!\0A\00", align 1 @.str.1 = private unnamed_addr constant [46 x i8] c"ifconfig | grep -rn %s > /tmp/vap_link_status\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"\1B[1;33;40m\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"\1B[0m\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"/tmp/vap_link_status\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @EOF = dso_local global i8 0, align 1 @.str.7 = private unnamed_addr constant [27 x i8] c"rm -f /tmp/vap_link_status\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_vap_status(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca [128 x i8], align 16 %12 = alloca [8 x i8], align 1 %13 = alloca ptr, align 8 %14 = alloca [256 x i8], align 16 %15 = alloca i8, align 1 store i32 %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store ptr %3, ptr %9, align 8 call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 128, i1 false) call void @llvm.memset.p0.i64(ptr align 1 %12, i8 0, i64 8, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %14, i8 0, i64 256, i1 false) %16 = getelementptr inbounds [8 x i8], ptr %12, i64 0, i64 0 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %7, align 4 %19 = load i32, ptr %8, align 4 %20 = call i32 @construct_vap(ptr noundef %16, i32 noundef %17, i32 noundef %18, i32 noundef %19) store i32 %20, ptr %10, align 4 %21 = load i32, ptr %10, align 4 %22 = icmp eq i32 -1, %21 br i1 %22, label %23, label %25 23: ; preds = %4 %24 = call i32 @printf(ptr noundef @.str) store i32 -1, ptr %5, align 4 br label %76 25: ; preds = %4 %26 = load ptr, ptr %9, align 8 store i32 0, ptr %26, align 4 %27 = getelementptr inbounds [128 x i8], ptr %11, i64 0, i64 0 %28 = getelementptr inbounds [8 x i8], ptr %12, i64 0, i64 0 %29 = call i32 @sprintf(ptr noundef %27, ptr noundef @.str.1, ptr noundef %28) br label %30 30: ; preds = %25 %31 = call i32 @printf(ptr noundef @.str.2) %32 = getelementptr inbounds [128 x i8], ptr %11, i64 0, i64 0 %33 = call i32 @printf(ptr noundef %32) %34 = call i32 @printf(ptr noundef @.str.3) %35 = call i32 @printf(ptr noundef @.str.4) %36 = getelementptr inbounds [128 x i8], ptr %11, i64 0, i64 0 %37 = call i32 @system(ptr noundef %36) br label %38 38: ; preds = %30 %39 = call ptr @fopen(ptr noundef @.str.5, ptr noundef @.str.6) store ptr %39, ptr %13, align 8 %40 = load ptr, ptr %13, align 8 %41 = call signext i8 @fgetc(ptr noundef %40) store i8 %41, ptr %15, align 1 %42 = sext i8 %41 to i32 %43 = load i8, ptr @EOF, align 1 %44 = sext i8 %43 to i32 %45 = icmp ne i32 %42, %44 br i1 %45, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %38 br label %53 46: ; preds = %53 %47 = load ptr, ptr %13, align 8 %48 = call signext i8 @fgetc(ptr noundef %47) store i8 %48, ptr %15, align 1 %49 = sext i8 %48 to i32 %50 = load i8, ptr @EOF, align 1 %51 = sext i8 %50 to i32 %52 = icmp ne i32 %49, %51 br i1 %52, label %53, label %..loopexit_crit_edge, !llvm.loop !6 53: ; preds = %.lr.ph, %46 %54 = load i8, ptr %15, align 1 %55 = load ptr, ptr %13, align 8 %56 = call i32 @ungetc(i8 noundef signext %54, ptr noundef %55) %57 = getelementptr inbounds [256 x i8], ptr %14, i64 0, i64 0 %58 = load ptr, ptr %13, align 8 %59 = call i32 @readline(ptr noundef %57, ptr noundef %58) %60 = getelementptr inbounds [256 x i8], ptr %14, i64 0, i64 0 %61 = getelementptr inbounds [8 x i8], ptr %12, i64 0, i64 0 %62 = call i64 @find_pattern_from_str(ptr noundef %60, ptr noundef %61) %63 = icmp eq i64 %62, 0 br i1 %63, label %64, label %46 64: ; preds = %53 %65 = load ptr, ptr %9, align 8 store i32 1, ptr %65, align 4 br label %66 ..loopexit_crit_edge: ; preds = %46 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %38 br label %66 66: ; preds = %.loopexit, %64 %67 = load ptr, ptr %13, align 8 %68 = call i32 @fclose(ptr noundef %67) br label %69 69: ; preds = %66 %70 = call i32 @printf(ptr noundef @.str.2) %71 = call i32 @printf(ptr noundef @.str.7) %72 = call i32 @printf(ptr noundef @.str.3) %73 = call i32 @printf(ptr noundef @.str.4) %74 = call i32 @system(ptr noundef @.str.7) br label %75 75: ; preds = %69 store i32 0, ptr %5, align 4 br label %76 76: ; preds = %75, %23 %77 = load i32, ptr %5, align 4 ret i32 %77 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @construct_vap(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @printf(ptr noundef) #2 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @system(ptr noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare signext i8 @fgetc(ptr noundef) #2 declare i32 @ungetc(i8 noundef signext, ptr noundef) #2 declare i32 @readline(ptr noundef, ptr noundef) #2 declare i64 @find_pattern_from_str(ptr noundef, ptr noundef) #2 declare i32 @fclose(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpmv088ta6.c' source_filename = "/tmp/tmpmv088ta6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ft_strcpy_allo(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %7 7: ; preds = %15, %2 %8 = load ptr, ptr %4, align 8 %9 = load i32, ptr %6, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds i8, ptr %8, i64 %10 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %18 15: ; preds = %7 %16 = load i32, ptr %6, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %6, align 4 br label %7, !llvm.loop !6 18: ; preds = %7 %19 = load i32, ptr %6, align 4 %20 = add nsw i32 %19, 1 %21 = sext i32 %20 to i64 %22 = mul i64 1, %21 %23 = trunc i64 %22 to i32 %24 = call i64 @malloc(i32 noundef %23) %25 = inttoptr i64 %24 to ptr store ptr %25, ptr %3, align 8 br label %26 26: ; preds = %34, %18 %27 = load ptr, ptr %4, align 8 %28 = load i32, ptr %5, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp ne i32 %32, 0 br i1 %33, label %34, label %46 34: ; preds = %26 %35 = load ptr, ptr %4, align 8 %36 = load i32, ptr %5, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 %39 = load i8, ptr %38, align 1 %40 = load ptr, ptr %3, align 8 %41 = load i32, ptr %5, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %40, i64 %42 store i8 %39, ptr %43, align 1 %44 = load i32, ptr %5, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %5, align 4 br label %26, !llvm.loop !8 46: ; preds = %26 %47 = load ptr, ptr %3, align 8 %48 = load i32, ptr %5, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i8, ptr %47, i64 %49 store i8 0, ptr %50, align 1 %51 = load ptr, ptr %3, align 8 ret ptr %51 } declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmv088ta6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ft_strcpy_allo(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %6, 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 %.lr.ph, label %24 .lr.ph: ; preds = %2 br label %14 14: ; preds = %.lr.ph, %14 %15 = load i32, ptr %6, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %6, align 4 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %6, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp ne i32 %22, 0 br i1 %23, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %24 24: ; preds = %._crit_edge, %2 %25 = load i32, ptr %6, align 4 %26 = add nsw i32 %25, 1 %27 = sext i32 %26 to i64 %28 = mul i64 1, %27 %29 = trunc i64 %28 to i32 %30 = call i64 @malloc(i32 noundef %29) %31 = inttoptr i64 %30 to ptr store ptr %31, ptr %3, align 8 %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 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = icmp ne i32 %37, 0 br i1 %38, label %.lr.ph2, label %58 .lr.ph2: ; preds = %24 br label %39 39: ; preds = %.lr.ph2, %39 %40 = load ptr, ptr %4, align 8 %41 = load i32, ptr %5, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %40, i64 %42 %44 = load i8, ptr %43, align 1 %45 = load ptr, ptr %3, 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 %49 = load i32, ptr %5, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %5, align 4 %51 = load ptr, ptr %4, align 8 %52 = load i32, ptr %5, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i8, ptr %51, i64 %53 %55 = load i8, ptr %54, align 1 %56 = sext i8 %55 to i32 %57 = icmp ne i32 %56, 0 br i1 %57, label %39, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %39 br label %58 58: ; preds = %._crit_edge3, %24 %59 = load ptr, ptr %3, align 8 %60 = load i32, ptr %5, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i8, ptr %59, i64 %61 store i8 0, ptr %62, align 1 %63 = load ptr, ptr %3, align 8 ret ptr %63 } declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpfit91zav.c' source_filename = "/tmp/tmpfit91zav.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [40 x i8] c"So you figured out the second elevator.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @elev0() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [20 x i8], align 16 %5 = alloca i32, align 4 store i32 5, ptr %1, align 4 %6 = load i32, ptr %1, align 4 %7 = add nsw i32 %6, 13 store i32 %7, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = mul nsw i32 %8, 3 store i32 %9, ptr %1, align 4 %10 = load i32, ptr %1, align 4 %11 = load i32, ptr %2, align 4 %12 = sdiv i32 %10, %11 store i32 %12, ptr %3, align 4 %13 = load i32, ptr %1, align 4 %14 = load i32, ptr %2, align 4 %15 = add nsw i32 %13, %14 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %15, %16 store i32 %17, ptr %3, align 4 %18 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 0 %19 = load i32, ptr @stdin, align 4 %20 = call i32 @fgets(ptr noundef %18, i32 noundef 19, i32 noundef %19) %21 = load i32, ptr %3, align 4 %22 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 0 %23 = call i32 @atoi(ptr noundef %22) %24 = icmp eq i32 %21, %23 br i1 %24, label %25, label %56 25: ; preds = %0 %26 = load i32, ptr %3, align 4 store i32 %26, ptr %5, align 4 %27 = load i32, ptr %2, align 4 %28 = load i32, ptr %1, align 4 %29 = and i32 %27, %28 store i32 %29, ptr %3, align 4 %30 = load i32, ptr %3, align 4 %31 = load i32, ptr %2, align 4 %32 = xor i32 %30, %31 store i32 %32, ptr %1, align 4 %33 = load i32, ptr %2, align 4 %34 = load i32, ptr %5, align 4 %35 = or i32 %33, %34 store i32 %35, ptr %5, align 4 %36 = load i32, ptr %2, align 4 %37 = load i32, ptr %3, align 4 %38 = add nsw i32 %36, %37 store i32 %38, ptr %5, align 4 %39 = load i32, ptr %1, align 4 %40 = load i32, ptr %5, align 4 %41 = add nsw i32 %39, %40 store i32 %41, ptr %5, align 4 %42 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 0 %43 = call i32 @memset(ptr noundef %42, i32 noundef 0, i32 noundef 20) %44 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 0 %45 = load i32, ptr @stdin, align 4 %46 = call i32 @fgets(ptr noundef %44, i32 noundef 19, i32 noundef %45) %47 = load i32, ptr %5, align 4 %48 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 0 %49 = call i32 @atoi(ptr noundef %48) %50 = icmp eq i32 %47, %49 br i1 %50, label %51, label %53 51: ; preds = %25 %52 = call i32 @puts(ptr noundef @.str) br label %55 53: ; preds = %25 %54 = call i32 @exit(i32 noundef 0) #3 unreachable 55: ; preds = %51 br label %58 56: ; preds = %0 %57 = call i32 @exit(i32 noundef 0) #3 unreachable 58: ; preds = %55 ret void } declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @puts(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/tmpfit91zav.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [40 x i8] c"So you figured out the second elevator.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @elev0() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [20 x i8], align 16 %5 = alloca i32, align 4 store i32 5, ptr %1, align 4 %6 = load i32, ptr %1, align 4 %7 = add nsw i32 %6, 13 store i32 %7, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = mul nsw i32 %8, 3 store i32 %9, ptr %1, align 4 %10 = load i32, ptr %1, align 4 %11 = load i32, ptr %2, align 4 %12 = sdiv i32 %10, %11 store i32 %12, ptr %3, align 4 %13 = load i32, ptr %1, align 4 %14 = load i32, ptr %2, align 4 %15 = add nsw i32 %13, %14 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %15, %16 store i32 %17, ptr %3, align 4 %18 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 0 %19 = load i32, ptr @stdin, align 4 %20 = call i32 @fgets(ptr noundef %18, i32 noundef 19, i32 noundef %19) %21 = load i32, ptr %3, align 4 %22 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 0 %23 = call i32 @atoi(ptr noundef %22) %24 = icmp eq i32 %21, %23 br i1 %24, label %25, label %56 25: ; preds = %0 %26 = load i32, ptr %3, align 4 store i32 %26, ptr %5, align 4 %27 = load i32, ptr %2, align 4 %28 = load i32, ptr %1, align 4 %29 = and i32 %27, %28 store i32 %29, ptr %3, align 4 %30 = load i32, ptr %3, align 4 %31 = load i32, ptr %2, align 4 %32 = xor i32 %30, %31 store i32 %32, ptr %1, align 4 %33 = load i32, ptr %2, align 4 %34 = load i32, ptr %5, align 4 %35 = or i32 %33, %34 store i32 %35, ptr %5, align 4 %36 = load i32, ptr %2, align 4 %37 = load i32, ptr %3, align 4 %38 = add nsw i32 %36, %37 store i32 %38, ptr %5, align 4 %39 = load i32, ptr %1, align 4 %40 = load i32, ptr %5, align 4 %41 = add nsw i32 %39, %40 store i32 %41, ptr %5, align 4 %42 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 0 %43 = call i32 @memset(ptr noundef %42, i32 noundef 0, i32 noundef 20) %44 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 0 %45 = load i32, ptr @stdin, align 4 %46 = call i32 @fgets(ptr noundef %44, i32 noundef 19, i32 noundef %45) %47 = load i32, ptr %5, align 4 %48 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 0 %49 = call i32 @atoi(ptr noundef %48) %50 = icmp eq i32 %47, %49 br i1 %50, label %51, label %53 51: ; preds = %25 %52 = call i32 @puts(ptr noundef @.str) br label %55 53: ; preds = %25 %54 = call i32 @exit(i32 noundef 0) #3 unreachable 55: ; preds = %51 br label %58 56: ; preds = %0 %57 = call i32 @exit(i32 noundef 0) #3 unreachable 58: ; preds = %55 ret void } declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @puts(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/tmp2jcsufyv.c' source_filename = "/tmp/tmp2jcsufyv.c" target datalayout = "e-m:e-p270: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/tmp2jcsufyv.c" target datalayout = "e-m:e-p270: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/tmpriou2qew.c' source_filename = "/tmp/tmpriou2qew.c" target datalayout = "e-m:e-p270: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/tmpriou2qew.c" target datalayout = "e-m:e-p270: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/tmpvon6tz2q.c' source_filename = "/tmp/tmpvon6tz2q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BUFSIZ = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"who | sort\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%3d %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 i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %6 = load i32, ptr @BUFSIZ, align 4 %7 = zext i32 %6 to i64 %8 = call ptr @llvm.stacksave() store ptr %8, ptr %3, align 8 %9 = alloca i8, i64 %7, align 16 store i64 %7, ptr %4, align 8 %10 = call ptr @popen(ptr noundef @.str, ptr noundef @.str.1) store ptr %10, ptr %5, align 8 br label %11 11: ; preds = %16, %0 %12 = load i32, ptr @BUFSIZ, align 4 %13 = load ptr, ptr %5, align 8 %14 = call ptr @fgets(ptr noundef %9, i32 noundef %12, ptr noundef %13) %15 = icmp ne ptr %14, null br i1 %15, label %16, label %20 16: ; preds = %11 %17 = load i32, ptr %2, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %2, align 4 %19 = call i32 @printf(ptr noundef @.str.2, i32 noundef %17, ptr noundef %9) br label %11, !llvm.loop !6 20: ; preds = %11 %21 = load ptr, ptr %5, align 8 %22 = call i32 @pclose(ptr noundef %21) %23 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %23, ptr %1, align 4 %24 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %24) %25 = load i32, ptr %1, align 4 ret i32 %25 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare ptr @popen(ptr noundef, ptr noundef) #2 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @pclose(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvon6tz2q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BUFSIZ = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"who | sort\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%3d %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 i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %6 = load i32, ptr @BUFSIZ, align 4 %7 = zext i32 %6 to i64 %8 = call ptr @llvm.stacksave() store ptr %8, ptr %3, align 8 %9 = alloca i8, i64 %7, align 16 store i64 %7, ptr %4, align 8 %10 = call ptr @popen(ptr noundef @.str, ptr noundef @.str.1) store ptr %10, ptr %5, align 8 %11 = load i32, ptr @BUFSIZ, align 4 %12 = load ptr, ptr %5, align 8 %13 = call ptr @fgets(ptr noundef %9, i32 noundef %11, ptr noundef %12) %14 = icmp ne ptr %13, null br i1 %14, label %.lr.ph, label %23 .lr.ph: ; preds = %0 br label %15 15: ; preds = %.lr.ph, %15 %16 = load i32, ptr %2, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %2, align 4 %18 = call i32 @printf(ptr noundef @.str.2, i32 noundef %16, ptr noundef %9) %19 = load i32, ptr @BUFSIZ, align 4 %20 = load ptr, ptr %5, align 8 %21 = call ptr @fgets(ptr noundef %9, i32 noundef %19, ptr noundef %20) %22 = icmp ne ptr %21, null br i1 %22, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %23 23: ; preds = %._crit_edge, %0 %24 = load ptr, ptr %5, align 8 %25 = call i32 @pclose(ptr noundef %24) %26 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %26, ptr %1, align 4 %27 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %27) %28 = load i32, ptr %1, align 4 ret i32 %28 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare ptr @popen(ptr noundef, ptr noundef) #2 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @pclose(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmppwgw6vyt.c' source_filename = "/tmp/tmppwgw6vyt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @findScore(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i64 %0, ptr %2, align 8 %9 = load i64, ptr %2, align 8 %10 = call i64 @reverseNumber(i64 noundef %9) store i64 %10, ptr %3, align 8 store i64 0, ptr %4, align 8 store i32 0, ptr %5, align 4 store i32 9, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 1, ptr %8, align 4 br label %11 11: ; preds = %29, %1 %12 = load i64, ptr %3, align 8 %13 = icmp ne i64 %12, 0 br i1 %13, label %14, label %39 14: ; preds = %11 %15 = load i64, ptr %3, align 8 %16 = srem i64 %15, 10 %17 = trunc i64 %16 to i32 store i32 %17, ptr %7, align 4 %18 = load i32, ptr %7, align 4 %19 = load i32, ptr %6, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %21, label %23 21: ; preds = %14 %22 = load i32, ptr %7, align 4 store i32 %22, ptr %6, align 4 br label %23 23: ; preds = %21, %14 %24 = load i32, ptr %7, align 4 %25 = load i32, ptr %5, align 4 %26 = icmp sgt i32 %24, %25 br i1 %26, label %27, label %29 27: ; preds = %23 %28 = load i32, ptr %7, align 4 store i32 %28, ptr %5, align 4 br label %29 29: ; preds = %27, %23 %30 = load i32, ptr %7, align 4 %31 = load i32, ptr %8, align 4 %32 = call i64 @pow(i32 noundef %30, i32 noundef %31) %33 = load i64, ptr %4, align 8 %34 = add nsw i64 %33, %32 store i64 %34, ptr %4, align 8 %35 = load i64, ptr %3, align 8 %36 = sdiv i64 %35, 10 store i64 %36, ptr %3, align 8 %37 = load i32, ptr %8, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %8, align 4 br label %11, !llvm.loop !6 39: ; preds = %11 %40 = load i64, ptr %2, align 8 %41 = call i64 @findPrime(i64 noundef %40) %42 = icmp ne i64 %41, 0 br i1 %42, label %43, label %48 43: ; preds = %39 %44 = load i32, ptr %5, align 4 %45 = sext i32 %44 to i64 %46 = load i64, ptr %4, align 8 %47 = add nsw i64 %46, %45 store i64 %47, ptr %4, align 8 br label %53 48: ; preds = %39 %49 = load i32, ptr %6, align 4 %50 = sext i32 %49 to i64 %51 = load i64, ptr %4, align 8 %52 = sub nsw i64 %51, %50 store i64 %52, ptr %4, align 8 br label %53 53: ; preds = %48, %43 %54 = load i64, ptr %4, align 8 ret i64 %54 } declare i64 @reverseNumber(i64 noundef) #1 declare i64 @pow(i32 noundef, i32 noundef) #1 declare i64 @findPrime(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppwgw6vyt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @findScore(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i64 %0, ptr %2, align 8 %9 = load i64, ptr %2, align 8 %10 = call i64 @reverseNumber(i64 noundef %9) store i64 %10, ptr %3, align 8 store i64 0, ptr %4, align 8 store i32 0, ptr %5, align 4 store i32 9, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 1, ptr %8, align 4 %11 = load i64, ptr %3, align 8 %12 = icmp ne i64 %11, 0 br i1 %12, label %.lr.ph, label %40 .lr.ph: ; preds = %1 br label %13 13: ; preds = %.lr.ph, %28 %14 = load i64, ptr %3, align 8 %15 = srem i64 %14, 10 %16 = trunc i64 %15 to i32 store i32 %16, ptr %7, align 4 %17 = load i32, ptr %7, align 4 %18 = load i32, ptr %6, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %22 20: ; preds = %13 %21 = load i32, ptr %7, align 4 store i32 %21, ptr %6, align 4 br label %22 22: ; preds = %20, %13 %23 = load i32, ptr %7, align 4 %24 = load i32, ptr %5, align 4 %25 = icmp sgt i32 %23, %24 br i1 %25, label %26, label %28 26: ; preds = %22 %27 = load i32, ptr %7, align 4 store i32 %27, ptr %5, align 4 br label %28 28: ; preds = %26, %22 %29 = load i32, ptr %7, align 4 %30 = load i32, ptr %8, align 4 %31 = call i64 @pow(i32 noundef %29, i32 noundef %30) %32 = load i64, ptr %4, align 8 %33 = add nsw i64 %32, %31 store i64 %33, ptr %4, align 8 %34 = load i64, ptr %3, align 8 %35 = sdiv i64 %34, 10 store i64 %35, ptr %3, align 8 %36 = load i32, ptr %8, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %8, align 4 %38 = load i64, ptr %3, align 8 %39 = icmp ne i64 %38, 0 br i1 %39, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %40 40: ; preds = %._crit_edge, %1 %41 = load i64, ptr %2, align 8 %42 = call i64 @findPrime(i64 noundef %41) %43 = icmp ne i64 %42, 0 br i1 %43, label %44, label %49 44: ; preds = %40 %45 = load i32, ptr %5, align 4 %46 = sext i32 %45 to i64 %47 = load i64, ptr %4, align 8 %48 = add nsw i64 %47, %46 store i64 %48, ptr %4, align 8 br label %54 49: ; preds = %40 %50 = load i32, ptr %6, align 4 %51 = sext i32 %50 to i64 %52 = load i64, ptr %4, align 8 %53 = sub nsw i64 %52, %51 store i64 %53, ptr %4, align 8 br label %54 54: ; preds = %49, %44 %55 = load i64, ptr %4, align 8 ret i64 %55 } declare i64 @reverseNumber(i64 noundef) #1 declare i64 @pow(i32 noundef, i32 noundef) #1 declare i64 @findPrime(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpr0_rnhj2.c' source_filename = "/tmp/tmpr0_rnhj2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 @EINTR = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_line(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i8, align 1 %11 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %12 = load i32, ptr %7, align 4 %13 = icmp sle i32 %12, 0 br i1 %13, label %17, label %14 14: ; preds = %3 %15 = load ptr, ptr %6, align 8 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %19 17: ; preds = %14, %3 %18 = load i64, ptr @EINVAL, align 8 store i64 %18, ptr @errno, align 8 store i32 -1, ptr %4, align 4 br label %62 19: ; preds = %14 %20 = load ptr, ptr %6, align 8 store ptr %20, ptr %8, align 8 store i32 0, ptr %9, align 4 br label %21 21: ; preds = %19, %30, %58 %22 = load i32, ptr %5, align 4 %23 = call i32 @read(i32 noundef %22, ptr noundef %10, i32 noundef 1) store i32 %23, ptr %11, align 4 %24 = load i32, ptr %11, align 4 %25 = icmp eq i32 %24, -1 br i1 %25, label %26, label %32 26: ; preds = %21 %27 = load i64, ptr @errno, align 8 %28 = load i64, ptr @EINTR, align 8 %29 = icmp eq i64 %27, %28 br i1 %29, label %30, label %31 30: ; preds = %26 br label %21 31: ; preds = %26 store i32 -1, ptr %4, align 4 br label %62 32: ; preds = %21 %33 = load i32, ptr %11, align 4 %34 = icmp eq i32 %33, 0 br i1 %34, label %35, label %40 35: ; preds = %32 %36 = load i32, ptr %9, align 4 %37 = icmp eq i32 %36, 0 br i1 %37, label %38, label %39 38: ; preds = %35 store i32 0, ptr %4, align 4 br label %62 39: ; preds = %35 br label %59 40: ; preds = %32 %41 = load i32, ptr %9, align 4 %42 = load i32, ptr %7, align 4 %43 = sub nsw i32 %42, 1 %44 = icmp slt i32 %41, %43 br i1 %44, label %45, label %51 45: ; preds = %40 %46 = load i32, ptr %9, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %9, align 4 %48 = load i8, ptr %10, align 1 %49 = load ptr, ptr %8, align 8 %50 = getelementptr inbounds i8, ptr %49, i32 1 store ptr %50, ptr %8, align 8 store i8 %48, ptr %49, align 1 br label %51 51: ; preds = %45, %40 %52 = load i8, ptr %10, align 1 %53 = sext i8 %52 to i32 %54 = icmp eq i32 %53, 10 br i1 %54, label %55, label %56 55: ; preds = %51 br label %59 56: ; preds = %51 br label %57 57: ; preds = %56 br label %58 58: ; preds = %57 br label %21 59: ; preds = %55, %39 %60 = load ptr, ptr %8, align 8 store i8 0, ptr %60, align 1 %61 = load i32, ptr %9, align 4 store i32 %61, ptr %4, align 4 br label %62 62: ; preds = %59, %38, %31, %17 %63 = load i32, ptr %4, align 4 ret i32 %63 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr0_rnhj2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 @EINTR = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_line(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i8, align 1 %11 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %12 = load i32, ptr %7, align 4 %13 = icmp sle i32 %12, 0 br i1 %13, label %17, label %14 14: ; preds = %3 %15 = load ptr, ptr %6, align 8 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %19 17: ; preds = %14, %3 %18 = load i64, ptr @EINVAL, align 8 store i64 %18, ptr @errno, align 8 store i32 -1, ptr %4, align 4 br label %62 19: ; preds = %14 %20 = load ptr, ptr %6, align 8 store ptr %20, ptr %8, align 8 store i32 0, ptr %9, align 4 br label %21 21: ; preds = %.backedge, %19 %22 = load i32, ptr %5, align 4 %23 = call i32 @read(i32 noundef %22, ptr noundef %10, i32 noundef 1) store i32 %23, ptr %11, align 4 %24 = load i32, ptr %11, align 4 %25 = icmp eq i32 %24, -1 br i1 %25, label %26, label %32 26: ; preds = %21 %27 = load i64, ptr @errno, align 8 %28 = load i64, ptr @EINTR, align 8 %29 = icmp eq i64 %27, %28 br i1 %29, label %30, label %31 30: ; preds = %26 br label %.backedge .backedge: ; preds = %30, %58 br label %21 31: ; preds = %26 store i32 -1, ptr %4, align 4 br label %62 32: ; preds = %21 %33 = load i32, ptr %11, align 4 %34 = icmp eq i32 %33, 0 br i1 %34, label %35, label %40 35: ; preds = %32 %36 = load i32, ptr %9, align 4 %37 = icmp eq i32 %36, 0 br i1 %37, label %38, label %39 38: ; preds = %35 store i32 0, ptr %4, align 4 br label %62 39: ; preds = %35 br label %59 40: ; preds = %32 %41 = load i32, ptr %9, align 4 %42 = load i32, ptr %7, align 4 %43 = sub nsw i32 %42, 1 %44 = icmp slt i32 %41, %43 br i1 %44, label %45, label %51 45: ; preds = %40 %46 = load i32, ptr %9, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %9, align 4 %48 = load i8, ptr %10, align 1 %49 = load ptr, ptr %8, align 8 %50 = getelementptr inbounds i8, ptr %49, i32 1 store ptr %50, ptr %8, align 8 store i8 %48, ptr %49, align 1 br label %51 51: ; preds = %45, %40 %52 = load i8, ptr %10, align 1 %53 = sext i8 %52 to i32 %54 = icmp eq i32 %53, 10 br i1 %54, label %55, label %56 55: ; preds = %51 br label %59 56: ; preds = %51 br label %57 57: ; preds = %56 br label %58 58: ; preds = %57 br label %.backedge 59: ; preds = %55, %39 %60 = load ptr, ptr %8, align 8 store i8 0, ptr %60, align 1 %61 = load i32, ptr %9, align 4 store i32 %61, ptr %4, align 4 br label %62 62: ; preds = %59, %38, %31, %17 %63 = load i32, ptr %4, align 4 ret i32 %63 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmps2p0a62y.c' source_filename = "/tmp/tmps2p0a62y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"A:\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"%d times %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) br label %8 8: ; preds = %34, %0 %9 = load i32, ptr %2, align 4 %10 = icmp slt i32 %9, 10 br i1 %10, label %11, label %37 11: ; preds = %8 store i32 0, ptr %5, align 4 %12 = load i32, ptr %3, align 4 store i32 %12, ptr %4, align 4 br label %13 13: ; preds = %24, %11 %14 = load i32, ptr %4, align 4 %15 = icmp sge i32 %14, 1 br i1 %15, label %16, label %27 16: ; preds = %13 %17 = load i32, ptr %4, align 4 %18 = srem i32 %17, 10 %19 = load i32, ptr %2, align 4 %20 = icmp eq i32 %18, %19 br i1 %20, label %21, label %24 21: ; preds = %16 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %5, align 4 br label %24 24: ; preds = %21, %16 %25 = load i32, ptr %4, align 4 %26 = sdiv i32 %25, 10 store i32 %26, ptr %4, align 4 br label %13, !llvm.loop !6 27: ; preds = %13 %28 = load i32, ptr %5, align 4 %29 = icmp ne i32 %28, 0 br i1 %29, label %30, label %34 30: ; preds = %27 %31 = load i32, ptr %2, align 4 %32 = load i32, ptr %5, align 4 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %31, i32 noundef %32) br label %34 34: ; preds = %30, %27 %35 = load i32, ptr %2, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %2, align 4 br label %8, !llvm.loop !8 37: ; preds = %8 %38 = load i32, ptr %1, align 4 ret i32 %38 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps2p0a62y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"A:\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"%d times %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %8 = load i32, ptr %2, align 4 %9 = icmp slt i32 %8, 10 br i1 %9, label %.lr.ph2, label %39 .lr.ph2: ; preds = %0 br label %10 10: ; preds = %.lr.ph2, %34 store i32 0, ptr %5, align 4 %11 = load i32, ptr %3, align 4 store i32 %11, ptr %4, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp sge i32 %12, 1 br i1 %13, label %.lr.ph, label %27 .lr.ph: ; preds = %10 br label %14 14: ; preds = %.lr.ph, %22 %15 = load i32, ptr %4, align 4 %16 = srem i32 %15, 10 %17 = load i32, ptr %2, align 4 %18 = icmp eq i32 %16, %17 br i1 %18, label %19, label %22 19: ; preds = %14 %20 = load i32, ptr %5, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %5, align 4 br label %22 22: ; preds = %19, %14 %23 = load i32, ptr %4, align 4 %24 = sdiv i32 %23, 10 store i32 %24, ptr %4, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp sge i32 %25, 1 br i1 %26, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %27 27: ; preds = %._crit_edge, %10 %28 = load i32, ptr %5, align 4 %29 = icmp ne i32 %28, 0 br i1 %29, label %30, label %34 30: ; preds = %27 %31 = load i32, ptr %2, align 4 %32 = load i32, ptr %5, align 4 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %31, i32 noundef %32) br label %34 34: ; preds = %30, %27 %35 = load i32, ptr %2, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %2, align 4 %37 = load i32, ptr %2, align 4 %38 = icmp slt i32 %37, 10 br i1 %38, label %10, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %34 br label %39 39: ; preds = %._crit_edge3, %0 %40 = load i32, ptr %1, align 4 ret i32 %40 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpo3zjg3jp.c' source_filename = "/tmp/tmpo3zjg3jp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = call i32 (...) @hungarian() ret i32 0 } declare i32 @hungarian(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo3zjg3jp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = call i32 (...) @hungarian() ret i32 0 } declare i32 @hungarian(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpi83l6i3n.c' source_filename = "/tmp/tmpi83l6i3n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEEK_SET = dso_local global i32 0, align 4 @SEEK_CUR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @escribir_reversa(ptr noundef %0, i8 noundef signext %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i8, align 1 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i8 %1, ptr %5, align 1 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %6, align 8 %9 = load i32, ptr %8, align 4 %10 = load i32, ptr @SEEK_SET, align 4 %11 = call i32 @fseek(ptr noundef %7, i32 noundef %9, i32 noundef %10) %12 = load i8, ptr %5, align 1 %13 = load ptr, ptr %4, align 8 %14 = call i32 @fputc(i8 noundef signext %12, ptr noundef %13) %15 = load ptr, ptr %6, align 8 %16 = load i32, ptr %15, align 4 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %3 %19 = load ptr, ptr %6, align 8 store i32 -1, ptr %19, align 4 br label %27 20: ; preds = %3 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr @SEEK_CUR, align 4 %23 = call i32 @fseek(ptr noundef %21, i32 noundef -2, i32 noundef %22) %24 = load ptr, ptr %4, align 8 %25 = call i32 @ftell(ptr noundef %24) %26 = load ptr, ptr %6, align 8 store i32 %25, ptr %26, align 4 br label %27 27: ; preds = %20, %18 ret void } declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fputc(i8 noundef signext, ptr noundef) #1 declare i32 @ftell(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi83l6i3n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEEK_SET = dso_local global i32 0, align 4 @SEEK_CUR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @escribir_reversa(ptr noundef %0, i8 noundef signext %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i8, align 1 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i8 %1, ptr %5, align 1 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %6, align 8 %9 = load i32, ptr %8, align 4 %10 = load i32, ptr @SEEK_SET, align 4 %11 = call i32 @fseek(ptr noundef %7, i32 noundef %9, i32 noundef %10) %12 = load i8, ptr %5, align 1 %13 = load ptr, ptr %4, align 8 %14 = call i32 @fputc(i8 noundef signext %12, ptr noundef %13) %15 = load ptr, ptr %6, align 8 %16 = load i32, ptr %15, align 4 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %3 %19 = load ptr, ptr %6, align 8 store i32 -1, ptr %19, align 4 br label %27 20: ; preds = %3 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr @SEEK_CUR, align 4 %23 = call i32 @fseek(ptr noundef %21, i32 noundef -2, i32 noundef %22) %24 = load ptr, ptr %4, align 8 %25 = call i32 @ftell(ptr noundef %24) %26 = load ptr, ptr %6, align 8 store i32 %25, ptr %26, align 4 br label %27 27: ; preds = %20, %18 ret void } declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fputc(i8 noundef signext, ptr noundef) #1 declare i32 @ftell(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptqg_sefy.c' source_filename = "/tmp/tmptqg_sefy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"out of order:\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"in order mergesort:\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"\0Aout of order:\0A\00", align 1 @.str.3 = private unnamed_addr constant [31 x i8] c"in order bottom-up mergesort:\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [42 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 42, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %5 5: ; preds = %15, %0 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %9, label %18 9: ; preds = %5 %10 = call i32 (...) @rand() %11 = srem i32 %10, 100 %12 = load i32, ptr %4, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [42 x i32], ptr %2, i64 0, i64 %13 store i32 %11, ptr %14, align 4 br label %15 15: ; preds = %9 %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 %19 = call i32 @printf(ptr noundef @.str) %20 = getelementptr inbounds [42 x i32], ptr %2, i64 0, i64 0 %21 = load i32, ptr %3, align 4 %22 = call i32 @print_list(ptr noundef %20, i32 noundef %21) %23 = getelementptr inbounds [42 x i32], ptr %2, i64 0, i64 0 %24 = load i32, ptr %3, align 4 %25 = sub nsw i32 %24, 1 %26 = call i32 @mergesort(ptr noundef %23, i32 noundef 0, i32 noundef %25) %27 = call i32 @printf(ptr noundef @.str.1) %28 = getelementptr inbounds [42 x i32], ptr %2, i64 0, i64 0 %29 = load i32, ptr %3, align 4 %30 = call i32 @print_list(ptr noundef %28, i32 noundef %29) store i32 0, ptr %4, align 4 br label %31 31: ; preds = %41, %18 %32 = load i32, ptr %4, align 4 %33 = load i32, ptr %3, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %35, label %44 35: ; preds = %31 %36 = call i32 (...) @rand() %37 = srem i32 %36, 100 %38 = load i32, ptr %4, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [42 x i32], ptr %2, i64 0, i64 %39 store i32 %37, ptr %40, align 4 br label %41 41: ; preds = %35 %42 = load i32, ptr %4, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %4, align 4 br label %31, !llvm.loop !8 44: ; preds = %31 %45 = call i32 @printf(ptr noundef @.str.2) %46 = getelementptr inbounds [42 x i32], ptr %2, i64 0, i64 0 %47 = load i32, ptr %3, align 4 %48 = call i32 @print_list(ptr noundef %46, i32 noundef %47) %49 = getelementptr inbounds [42 x i32], ptr %2, i64 0, i64 0 %50 = load i32, ptr %3, align 4 %51 = sub nsw i32 %50, 1 %52 = call i32 @mergesort_bottom_up(ptr noundef %49, i32 noundef 0, i32 noundef %51) %53 = call i32 @printf(ptr noundef @.str.3) %54 = getelementptr inbounds [42 x i32], ptr %2, i64 0, i64 0 %55 = load i32, ptr %3, align 4 %56 = call i32 @print_list(ptr noundef %54, i32 noundef %55) ret i32 0 } declare i32 @rand(...) #1 declare i32 @printf(ptr noundef) #1 declare i32 @print_list(ptr noundef, i32 noundef) #1 declare i32 @mergesort(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @mergesort_bottom_up(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptqg_sefy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"out of order:\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"in order mergesort:\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"\0Aout of order:\0A\00", align 1 @.str.3 = private unnamed_addr constant [31 x i8] c"in order bottom-up mergesort:\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [42 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 42, ptr %3, align 4 store i32 0, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %5, %6 br i1 %7, label %.lr.ph, label %20 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %14 %9 = call i32 (...) @rand() %10 = srem i32 %9, 100 %11 = load i32, ptr %4, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [42 x i32], ptr %2, i64 0, i64 %12 store i32 %10, ptr %13, align 4 br label %14 14: ; preds = %8 %15 = load i32, ptr %4, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %4, align 4 %17 = load i32, ptr %4, align 4 %18 = load i32, ptr %3, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %20 20: ; preds = %._crit_edge, %0 %21 = call i32 @printf(ptr noundef @.str) %22 = getelementptr inbounds [42 x i32], ptr %2, i64 0, i64 0 %23 = load i32, ptr %3, align 4 %24 = call i32 @print_list(ptr noundef %22, i32 noundef %23) %25 = getelementptr inbounds [42 x i32], ptr %2, i64 0, i64 0 %26 = load i32, ptr %3, align 4 %27 = sub nsw i32 %26, 1 %28 = call i32 @mergesort(ptr noundef %25, i32 noundef 0, i32 noundef %27) %29 = call i32 @printf(ptr noundef @.str.1) %30 = getelementptr inbounds [42 x i32], ptr %2, i64 0, i64 0 %31 = load i32, ptr %3, align 4 %32 = call i32 @print_list(ptr noundef %30, i32 noundef %31) store i32 0, ptr %4, align 4 %33 = load i32, ptr %4, align 4 %34 = load i32, ptr %3, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %.lr.ph2, label %48 .lr.ph2: ; preds = %20 br label %36 36: ; preds = %.lr.ph2, %42 %37 = call i32 (...) @rand() %38 = srem i32 %37, 100 %39 = load i32, ptr %4, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [42 x i32], ptr %2, i64 0, i64 %40 store i32 %38, ptr %41, align 4 br label %42 42: ; preds = %36 %43 = load i32, ptr %4, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %4, align 4 %45 = load i32, ptr %4, align 4 %46 = load i32, ptr %3, align 4 %47 = icmp slt i32 %45, %46 br i1 %47, label %36, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %42 br label %48 48: ; preds = %._crit_edge3, %20 %49 = call i32 @printf(ptr noundef @.str.2) %50 = getelementptr inbounds [42 x i32], ptr %2, i64 0, i64 0 %51 = load i32, ptr %3, align 4 %52 = call i32 @print_list(ptr noundef %50, i32 noundef %51) %53 = getelementptr inbounds [42 x i32], ptr %2, i64 0, i64 0 %54 = load i32, ptr %3, align 4 %55 = sub nsw i32 %54, 1 %56 = call i32 @mergesort_bottom_up(ptr noundef %53, i32 noundef 0, i32 noundef %55) %57 = call i32 @printf(ptr noundef @.str.3) %58 = getelementptr inbounds [42 x i32], ptr %2, i64 0, i64 0 %59 = load i32, ptr %3, align 4 %60 = call i32 @print_list(ptr noundef %58, i32 noundef %59) ret i32 0 } declare i32 @rand(...) #1 declare i32 @printf(ptr noundef) #1 declare i32 @print_list(ptr noundef, i32 noundef) #1 declare i32 @mergesort(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @mergesort_bottom_up(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpaohujhob.c' source_filename = "/tmp/tmpaohujhob.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printStatus(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call ptr @fopen(ptr noundef %6, ptr noundef @.str) store ptr %7, ptr %3, align 8 store ptr null, ptr %4, align 8 br label %8 8: ; preds = %12, %1 %9 = load ptr, ptr %3, align 8 %10 = call i32 @getline(ptr noundef %4, ptr noundef %5, ptr noundef %9) %11 = icmp ne i32 %10, -1 br i1 %11, label %12, label %15 12: ; preds = %8 %13 = load ptr, ptr %4, align 8 %14 = call i32 @findAndPrint(ptr noundef %13) br label %8, !llvm.loop !6 15: ; preds = %8 %16 = load ptr, ptr %3, align 8 %17 = call i32 @fclose(ptr noundef %16) ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @getline(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @findAndPrint(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/tmpaohujhob.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printStatus(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call ptr @fopen(ptr noundef %6, ptr noundef @.str) store ptr %7, ptr %3, align 8 store ptr null, ptr %4, align 8 %8 = load ptr, ptr %3, align 8 %9 = call i32 @getline(ptr noundef %4, ptr noundef %5, ptr noundef %8) %10 = icmp ne i32 %9, -1 br i1 %10, label %.lr.ph, label %17 .lr.ph: ; preds = %1 br label %11 11: ; preds = %.lr.ph, %11 %12 = load ptr, ptr %4, align 8 %13 = call i32 @findAndPrint(ptr noundef %12) %14 = load ptr, ptr %3, align 8 %15 = call i32 @getline(ptr noundef %4, ptr noundef %5, ptr noundef %14) %16 = icmp ne i32 %15, -1 br i1 %16, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %17 17: ; preds = %._crit_edge, %1 %18 = load ptr, ptr %3, align 8 %19 = call i32 @fclose(ptr noundef %18) ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @getline(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @findAndPrint(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/tmpe4px9zb7.c' source_filename = "/tmp/tmpe4px9zb7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @func(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = mul nsw i32 %6, 11 store i32 %7, ptr %4, align 4 %8 = load i32, ptr %3, align 4 %9 = mul nsw i32 %8, 17 store i32 %9, ptr %5, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp eq i32 %10, 88 br i1 %11, label %12, label %15 12: ; preds = %1 %13 = load i32, ptr %5, align 4 %14 = call i32 @a(i32 noundef %13) store i32 %14, ptr %2, align 4 br label %18 15: ; preds = %1 %16 = load i32, ptr %5, align 4 %17 = call i32 @b(i32 noundef %16) store i32 %17, ptr %2, align 4 br label %18 18: ; preds = %15, %12 %19 = load i32, ptr %2, align 4 ret i32 %19 } declare i32 @a(i32 noundef) #1 declare i32 @b(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/tmpe4px9zb7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @func(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = mul nsw i32 %6, 11 store i32 %7, ptr %4, align 4 %8 = load i32, ptr %3, align 4 %9 = mul nsw i32 %8, 17 store i32 %9, ptr %5, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp eq i32 %10, 88 br i1 %11, label %12, label %15 12: ; preds = %1 %13 = load i32, ptr %5, align 4 %14 = call i32 @a(i32 noundef %13) store i32 %14, ptr %2, align 4 br label %18 15: ; preds = %1 %16 = load i32, ptr %5, align 4 %17 = call i32 @b(i32 noundef %16) store i32 %17, ptr %2, align 4 br label %18 18: ; preds = %15, %12 %19 = load i32, ptr %2, align 4 ret i32 %19 } declare i32 @a(i32 noundef) #1 declare i32 @b(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/tmp2nuuz2u5.c' source_filename = "/tmp/tmp2nuuz2u5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @genrand64_int63() #0 { %1 = call i32 (...) @genrand64_int64() %2 = ashr i32 %1, 1 %3 = sext i32 %2 to i64 ret i64 %3 } declare i32 @genrand64_int64(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2nuuz2u5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @genrand64_int63() #0 { %1 = call i32 (...) @genrand64_int64() %2 = ashr i32 %1, 1 %3 = sext i32 %2 to i64 ret i64 %3 } declare i32 @genrand64_int64(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqj3ot034.c' source_filename = "/tmp/tmpqj3ot034.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [44 x i8] c"%s: Unable to create quarantine folder: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"SCQuarantine\00", align 1 @.str.2 = private unnamed_addr constant [67 x i8] c"%s: Please create one manually in your home directory. Thank you.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @infc_files_dir(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 = load i32, ptr @O_RDONLY, align 4 %9 = call i32 @open(ptr noundef %7, i32 noundef %8, i32 noundef 0) store i32 %9, ptr %5, align 4 %10 = icmp eq i32 %9, -1 br i1 %10, label %11, label %22 11: ; preds = %2 %12 = load ptr, ptr %3, align 8 %13 = call i32 @mkdir(ptr noundef %12, i32 noundef 493) store i32 %13, ptr %6, align 4 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %21 15: ; preds = %11 %16 = load ptr, ptr %4, align 8 %17 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str, ptr noundef %16, ptr noundef @.str.1) %18 = load ptr, ptr %4, align 8 %19 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %18) %20 = call i32 @exit(i32 noundef 1) #3 unreachable 21: ; preds = %11 br label %22 22: ; preds = %21, %2 ret void } declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @mkdir(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqj3ot034.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [44 x i8] c"%s: Unable to create quarantine folder: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"SCQuarantine\00", align 1 @.str.2 = private unnamed_addr constant [67 x i8] c"%s: Please create one manually in your home directory. Thank you.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @infc_files_dir(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 = load i32, ptr @O_RDONLY, align 4 %9 = call i32 @open(ptr noundef %7, i32 noundef %8, i32 noundef 0) store i32 %9, ptr %5, align 4 %10 = icmp eq i32 %9, -1 br i1 %10, label %11, label %22 11: ; preds = %2 %12 = load ptr, ptr %3, align 8 %13 = call i32 @mkdir(ptr noundef %12, i32 noundef 493) store i32 %13, ptr %6, align 4 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %21 15: ; preds = %11 %16 = load ptr, ptr %4, align 8 %17 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str, ptr noundef %16, ptr noundef @.str.1) %18 = load ptr, ptr %4, align 8 %19 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %18) %20 = call i32 @exit(i32 noundef 1) #3 unreachable 21: ; preds = %11 br label %22 22: ; preds = %21, %2 ret void } declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @mkdir(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpd5p1qmud.c' source_filename = "/tmp/tmpd5p1qmud.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xxtea_decrypt(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca [16 x i64], align 16 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %11 = getelementptr inbounds [16 x i64], ptr %10, i64 0, i64 0 %12 = load ptr, ptr %7, align 8 %13 = call i32 @memcpy(ptr noundef %11, ptr noundef %12, i32 noundef 16) store i64 0, ptr %9, align 8 br label %14 14: ; preds = %25, %4 %15 = load i64, ptr %9, align 8 %16 = icmp ult i64 %15, 16 br i1 %16, label %17, label %22 17: ; preds = %14 %18 = load i64, ptr %9, align 8 %19 = getelementptr inbounds [16 x i64], ptr %10, i64 0, i64 %18 %20 = load i64, ptr %19, align 8 %21 = icmp ne i64 %20, 0 br label %22 22: ; preds = %17, %14 %23 = phi i1 [ false, %14 ], [ %21, %17 ] br i1 %23, label %24, label %28 24: ; preds = %22 br label %25 25: ; preds = %24 %26 = load i64, ptr %9, align 8 %27 = add i64 %26, 1 store i64 %27, ptr %9, align 8 br label %14, !llvm.loop !6 28: ; preds = %22 %29 = load i64, ptr %9, align 8 %30 = add i64 %29, 1 store i64 %30, ptr %9, align 8 br label %31 31: ; preds = %37, %28 %32 = load i64, ptr %9, align 8 %33 = icmp ult i64 %32, 16 br i1 %33, label %34, label %40 34: ; preds = %31 %35 = load i64, ptr %9, align 8 %36 = getelementptr inbounds [16 x i64], ptr %10, i64 0, i64 %35 store i64 0, ptr %36, align 8 br label %37 37: ; preds = %34 %38 = load i64, ptr %9, align 8 %39 = add i64 %38, 1 store i64 %39, ptr %9, align 8 br label %31, !llvm.loop !8 40: ; preds = %31 %41 = load ptr, ptr %5, align 8 %42 = load i64, ptr %6, align 8 %43 = getelementptr inbounds [16 x i64], ptr %10, i64 0, i64 0 %44 = load ptr, ptr %8, align 8 %45 = call ptr @xxtea_decrypt_ubyte(ptr noundef %41, i64 noundef %42, ptr noundef %43, ptr noundef %44) ret ptr %45 } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @xxtea_decrypt_ubyte(ptr noundef, i64 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd5p1qmud.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xxtea_decrypt(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca [16 x i64], align 16 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %11 = getelementptr inbounds [16 x i64], ptr %10, i64 0, i64 0 %12 = load ptr, ptr %7, align 8 %13 = call i32 @memcpy(ptr noundef %11, ptr noundef %12, i32 noundef 16) store i64 0, ptr %9, align 8 br label %14 14: ; preds = %25, %4 %15 = load i64, ptr %9, align 8 %16 = icmp ult i64 %15, 16 br i1 %16, label %17, label %22 17: ; preds = %14 %18 = load i64, ptr %9, align 8 %19 = getelementptr inbounds [16 x i64], ptr %10, i64 0, i64 %18 %20 = load i64, ptr %19, align 8 %21 = icmp ne i64 %20, 0 br label %22 22: ; preds = %17, %14 %23 = phi i1 [ false, %14 ], [ %21, %17 ] br i1 %23, label %24, label %28 24: ; preds = %22 br label %25 25: ; preds = %24 %26 = load i64, ptr %9, align 8 %27 = add i64 %26, 1 store i64 %27, ptr %9, align 8 br label %14, !llvm.loop !6 28: ; preds = %22 %29 = load i64, ptr %9, align 8 %30 = add i64 %29, 1 store i64 %30, ptr %9, align 8 %31 = load i64, ptr %9, align 8 %32 = icmp ult i64 %31, 16 br i1 %32, label %.lr.ph, label %41 .lr.ph: ; preds = %28 br label %33 33: ; preds = %.lr.ph, %36 %34 = load i64, ptr %9, align 8 %35 = getelementptr inbounds [16 x i64], ptr %10, i64 0, i64 %34 store i64 0, ptr %35, align 8 br label %36 36: ; preds = %33 %37 = load i64, ptr %9, align 8 %38 = add i64 %37, 1 store i64 %38, ptr %9, align 8 %39 = load i64, ptr %9, align 8 %40 = icmp ult i64 %39, 16 br i1 %40, label %33, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %36 br label %41 41: ; preds = %._crit_edge, %28 %42 = load ptr, ptr %5, align 8 %43 = load i64, ptr %6, align 8 %44 = getelementptr inbounds [16 x i64], ptr %10, i64 0, i64 0 %45 = load ptr, ptr %8, align 8 %46 = call ptr @xxtea_decrypt_ubyte(ptr noundef %42, i64 noundef %43, ptr noundef %44, ptr noundef %45) ret ptr %46 } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @xxtea_decrypt_ubyte(ptr noundef, i64 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpgbyeldx7.c' source_filename = "/tmp/tmpgbyeldx7.c" target datalayout = "e-m:e-p270: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.pollfd = type { i32, i32, i32 } @.str = private unnamed_addr constant [15 x i8] c"Error in pipe\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"Error in fork\0A\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"Error in child, dup2\0A\00", align 1 @.str.3 = private unnamed_addr constant [37 x i8] c"Error in child, close (pipe_dsc[0])\0A\00", align 1 @.str.4 = private unnamed_addr constant [37 x i8] c"Error in child, close (pipe_dsc[1])\0A\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"./child-poll\00", align 1 @.str.6 = private unnamed_addr constant [11 x i8] c"child-poll\00", align 1 @.str.7 = private unnamed_addr constant [16 x i8] c"Error in execl\0A\00", align 1 @.str.8 = private unnamed_addr constant [38 x i8] c"Error in parent, close (pipe_dsc[1])\0A\00", align 1 @POLLIN = dso_local global i32 0, align 4 @.str.9 = private unnamed_addr constant [33 x i8] c"Type something (CTRL-D to exit)\0A\00", align 1 @.str.10 = private unnamed_addr constant [15 x i8] c"Error in poll\0A\00", align 1 @POLLERR = dso_local global i32 0, align 4 @.str.11 = private unnamed_addr constant [15 x i8] c"Error in read\0A\00", align 1 @.str.12 = private unnamed_addr constant [9 x i8] c"Goodbye\0A\00", align 1 @.str.13 = private unnamed_addr constant [40 x i8] c"Read %d byte(s) from descriptor %d: %s\0A\00", align 1 @.str.14 = private unnamed_addr constant [38 x i8] c"Error in parent, close (pipe_dsc[0])\0A\00", align 1 @.str.15 = private unnamed_addr constant [15 x i8] c"Error in wait\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 [2 x 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 [1024 x i8], align 16 %12 = alloca [2 x %struct.pollfd], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %13 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0 %14 = call i32 @pipe(ptr noundef %13) %15 = icmp eq i32 %14, -1 br i1 %15, label %16, label %18 16: ; preds = %2 %17 = call i32 @syserr(ptr noundef @.str) br label %18 18: ; preds = %16, %2 %19 = call i32 (...) @fork() switch i32 %19, label %46 [ i32 -1, label %20 i32 0, label %22 ] 20: ; preds = %18 %21 = call i32 @syserr(ptr noundef @.str.1) br label %22 22: ; preds = %18, %20 %23 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 1 %24 = load i32, ptr %23, align 4 %25 = call i32 @dup2(i32 noundef %24, i32 noundef 1) %26 = icmp ne i32 %25, 1 br i1 %26, label %27, label %29 27: ; preds = %22 %28 = call i32 @syserr(ptr noundef @.str.2) br label %29 29: ; preds = %27, %22 %30 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0 %31 = load i32, ptr %30, align 4 %32 = call i32 @close(i32 noundef %31) %33 = icmp eq i32 %32, -1 br i1 %33, label %34, label %36 34: ; preds = %29 %35 = call i32 @syserr(ptr noundef @.str.3) br label %36 36: ; preds = %34, %29 %37 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 1 %38 = load i32, ptr %37, align 4 %39 = call i32 @close(i32 noundef %38) %40 = icmp eq i32 %39, -1 br i1 %40, label %41, label %43 41: ; preds = %36 %42 = call i32 @syserr(ptr noundef @.str.4) br label %43 43: ; preds = %41, %36 %44 = call i32 @execl(ptr noundef @.str.5, ptr noundef @.str.6, ptr noundef null) %45 = call i32 @syserr(ptr noundef @.str.7) br label %46 46: ; preds = %18, %43 %47 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 1 %48 = load i32, ptr %47, align 4 %49 = call i32 @close(i32 noundef %48) %50 = icmp eq i32 %49, -1 br i1 %50, label %51, label %53 51: ; preds = %46 %52 = call i32 @syserr(ptr noundef @.str.8) br label %53 53: ; preds = %51, %46 br label %54 54: ; preds = %53 store i32 0, ptr %10, align 4 br label %55 55: ; preds = %64, %54 %56 = load i32, ptr %10, align 4 %57 = icmp slt i32 %56, 2 br i1 %57, label %58, label %67 58: ; preds = %55 %59 = load i32, ptr @POLLIN, align 4 %60 = load i32, ptr %10, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds [2 x %struct.pollfd], ptr %12, i64 0, i64 %61 %63 = getelementptr inbounds %struct.pollfd, ptr %62, i32 0, i32 0 store i32 %59, ptr %63, align 4 br label %64 64: ; preds = %58 %65 = load i32, ptr %10, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %10, align 4 br label %55, !llvm.loop !6 67: ; preds = %55 %68 = getelementptr inbounds [2 x %struct.pollfd], ptr %12, i64 0, i64 0 %69 = getelementptr inbounds %struct.pollfd, ptr %68, i32 0, i32 1 store i32 0, ptr %69, align 4 %70 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0 %71 = load i32, ptr %70, align 4 %72 = getelementptr inbounds [2 x %struct.pollfd], ptr %12, i64 0, i64 1 %73 = getelementptr inbounds %struct.pollfd, ptr %72, i32 0, i32 1 store i32 %71, ptr %73, align 4 store i32 0, ptr %8, align 4 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %75 75: ; preds = %159, %67 %76 = load i32, ptr %8, align 4 %77 = icmp ne i32 %76, 0 %78 = xor i1 %77, true br i1 %78, label %79, label %160 79: ; preds = %75 store i32 0, ptr %10, align 4 br label %80 80: ; preds = %88, %79 %81 = load i32, ptr %10, align 4 %82 = icmp slt i32 %81, 2 br i1 %82, label %83, label %91 83: ; preds = %80 %84 = load i32, ptr %10, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds [2 x %struct.pollfd], ptr %12, i64 0, i64 %85 %87 = getelementptr inbounds %struct.pollfd, ptr %86, i32 0, i32 2 store i32 0, ptr %87, align 4 br label %88 88: ; preds = %83 %89 = load i32, ptr %10, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %10, align 4 br label %80, !llvm.loop !8 91: ; preds = %80 %92 = getelementptr inbounds [2 x %struct.pollfd], ptr %12, i64 0, i64 0 %93 = call i32 @poll(ptr noundef %92, i32 noundef 2, i32 noundef -1) store i32 %93, ptr %9, align 4 %94 = icmp eq i32 %93, -1 br i1 %94, label %95, label %97 95: ; preds = %91 %96 = call i32 @syserr(ptr noundef @.str.10) br label %159 97: ; preds = %91 %98 = load i32, ptr %9, align 4 %99 = icmp sgt i32 %98, 0 br i1 %99, label %100, label %158 100: ; preds = %97 store i32 0, ptr %10, align 4 br label %101 101: ; preds = %154, %100 %102 = load i32, ptr %10, align 4 %103 = icmp slt i32 %102, 2 br i1 %103, label %104, label %157 104: ; preds = %101 %105 = load i32, ptr %10, align 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds [2 x %struct.pollfd], ptr %12, i64 0, i64 %106 %108 = getelementptr inbounds %struct.pollfd, ptr %107, i32 0, i32 2 %109 = load i32, ptr %108, align 4 %110 = load i32, ptr @POLLIN, align 4 %111 = load i32, ptr @POLLERR, align 4 %112 = or i32 %110, %111 %113 = and i32 %109, %112 %114 = icmp ne i32 %113, 0 br i1 %114, label %115, label %153 115: ; preds = %104 %116 = load i32, ptr %10, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds [2 x %struct.pollfd], ptr %12, i64 0, i64 %117 %119 = getelementptr inbounds %struct.pollfd, ptr %118, i32 0, i32 1 %120 = load i32, ptr %119, align 4 %121 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %122 = call i32 @read(i32 noundef %120, ptr noundef %121, i32 noundef 1023) store i32 %122, ptr %7, align 4 %123 = icmp eq i32 %122, -1 br i1 %123, label %124, label %126 124: ; preds = %115 %125 = call i32 @syserr(ptr noundef @.str.11) br label %126 126: ; preds = %124, %115 %127 = load i32, ptr %10, align 4 %128 = icmp eq i32 %127, 0 br i1 %128, label %129, label %134 129: ; preds = %126 %130 = load i32, ptr %7, align 4 %131 = icmp eq i32 %130, 0 br i1 %131, label %132, label %134 132: ; preds = %129 %133 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) store i32 1, ptr %8, align 4 br label %152 134: ; preds = %129, %126 %135 = load i32, ptr %7, align 4 %136 = icmp slt i32 %135, 1023 br i1 %136, label %137, label %139 137: ; preds = %134 %138 = load i32, ptr %7, align 4 br label %140 139: ; preds = %134 br label %140 140: ; preds = %139, %137 %141 = phi i32 [ %138, %137 ], [ 1023, %139 ] %142 = sext i32 %141 to i64 %143 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 %142 store i8 0, ptr %143, align 1 %144 = load i32, ptr %7, align 4 %145 = load i32, ptr %10, align 4 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds [2 x %struct.pollfd], ptr %12, i64 0, i64 %146 %148 = getelementptr inbounds %struct.pollfd, ptr %147, i32 0, i32 1 %149 = load i32, ptr %148, align 4 %150 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %151 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %144, i32 noundef %149, ptr noundef %150) br label %152 152: ; preds = %140, %132 br label %153 153: ; preds = %152, %104 br label %154 154: ; preds = %153 %155 = load i32, ptr %10, align 4 %156 = add nsw i32 %155, 1 store i32 %156, ptr %10, align 4 br label %101, !llvm.loop !9 157: ; preds = %101 br label %158 158: ; preds = %157, %97 br label %159 159: ; preds = %158, %95 br label %75, !llvm.loop !10 160: ; preds = %75 %161 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0 %162 = load i32, ptr %161, align 4 %163 = call i32 @close(i32 noundef %162) %164 = icmp eq i32 %163, -1 br i1 %164, label %165, label %167 165: ; preds = %160 %166 = call i32 @syserr(ptr noundef @.str.14) br label %167 167: ; preds = %165, %160 %168 = call i32 @wait(i32 noundef 0) %169 = icmp eq i32 %168, -1 br i1 %169, label %170, label %172 170: ; preds = %167 %171 = call i32 @syserr(ptr noundef @.str.15) br label %172 172: ; preds = %170, %167 %173 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @pipe(ptr noundef) #1 declare i32 @syserr(ptr noundef) #1 declare i32 @fork(...) #1 declare i32 @dup2(i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @execl(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @poll(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @wait(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !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/tmpgbyeldx7.c" target datalayout = "e-m:e-p270: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.pollfd = type { i32, i32, i32 } @.str = private unnamed_addr constant [15 x i8] c"Error in pipe\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"Error in fork\0A\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"Error in child, dup2\0A\00", align 1 @.str.3 = private unnamed_addr constant [37 x i8] c"Error in child, close (pipe_dsc[0])\0A\00", align 1 @.str.4 = private unnamed_addr constant [37 x i8] c"Error in child, close (pipe_dsc[1])\0A\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"./child-poll\00", align 1 @.str.6 = private unnamed_addr constant [11 x i8] c"child-poll\00", align 1 @.str.7 = private unnamed_addr constant [16 x i8] c"Error in execl\0A\00", align 1 @.str.8 = private unnamed_addr constant [38 x i8] c"Error in parent, close (pipe_dsc[1])\0A\00", align 1 @POLLIN = dso_local global i32 0, align 4 @.str.9 = private unnamed_addr constant [33 x i8] c"Type something (CTRL-D to exit)\0A\00", align 1 @.str.10 = private unnamed_addr constant [15 x i8] c"Error in poll\0A\00", align 1 @POLLERR = dso_local global i32 0, align 4 @.str.11 = private unnamed_addr constant [15 x i8] c"Error in read\0A\00", align 1 @.str.12 = private unnamed_addr constant [9 x i8] c"Goodbye\0A\00", align 1 @.str.13 = private unnamed_addr constant [40 x i8] c"Read %d byte(s) from descriptor %d: %s\0A\00", align 1 @.str.14 = private unnamed_addr constant [38 x i8] c"Error in parent, close (pipe_dsc[0])\0A\00", align 1 @.str.15 = private unnamed_addr constant [15 x i8] c"Error in wait\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 [2 x 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 [1024 x i8], align 16 %12 = alloca [2 x %struct.pollfd], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %13 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0 %14 = call i32 @pipe(ptr noundef %13) %15 = icmp eq i32 %14, -1 br i1 %15, label %16, label %18 16: ; preds = %2 %17 = call i32 @syserr(ptr noundef @.str) br label %18 18: ; preds = %16, %2 %19 = call i32 (...) @fork() switch i32 %19, label %46 [ i32 -1, label %20 i32 0, label %22 ] 20: ; preds = %18 %21 = call i32 @syserr(ptr noundef @.str.1) br label %22 22: ; preds = %20, %18 %23 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 1 %24 = load i32, ptr %23, align 4 %25 = call i32 @dup2(i32 noundef %24, i32 noundef 1) %26 = icmp ne i32 %25, 1 br i1 %26, label %27, label %29 27: ; preds = %22 %28 = call i32 @syserr(ptr noundef @.str.2) br label %29 29: ; preds = %27, %22 %30 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0 %31 = load i32, ptr %30, align 4 %32 = call i32 @close(i32 noundef %31) %33 = icmp eq i32 %32, -1 br i1 %33, label %34, label %36 34: ; preds = %29 %35 = call i32 @syserr(ptr noundef @.str.3) br label %36 36: ; preds = %34, %29 %37 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 1 %38 = load i32, ptr %37, align 4 %39 = call i32 @close(i32 noundef %38) %40 = icmp eq i32 %39, -1 br i1 %40, label %41, label %43 41: ; preds = %36 %42 = call i32 @syserr(ptr noundef @.str.4) br label %43 43: ; preds = %41, %36 %44 = call i32 @execl(ptr noundef @.str.5, ptr noundef @.str.6, ptr noundef null) %45 = call i32 @syserr(ptr noundef @.str.7) br label %46 46: ; preds = %43, %18 %47 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 1 %48 = load i32, ptr %47, align 4 %49 = call i32 @close(i32 noundef %48) %50 = icmp eq i32 %49, -1 br i1 %50, label %51, label %53 51: ; preds = %46 %52 = call i32 @syserr(ptr noundef @.str.8) br label %53 53: ; preds = %51, %46 br label %54 54: ; preds = %53 store i32 0, ptr %10, align 4 %55 = load i32, ptr %10, align 4 %56 = icmp slt i32 %55, 2 br i1 %56, label %.lr.ph, label %68 .lr.ph: ; preds = %54 br label %57 57: ; preds = %.lr.ph, %63 %58 = load i32, ptr @POLLIN, align 4 %59 = load i32, ptr %10, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [2 x %struct.pollfd], ptr %12, i64 0, i64 %60 %62 = getelementptr inbounds %struct.pollfd, ptr %61, i32 0, i32 0 store i32 %58, ptr %62, align 4 br label %63 63: ; preds = %57 %64 = load i32, ptr %10, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %10, align 4 %66 = load i32, ptr %10, align 4 %67 = icmp slt i32 %66, 2 br i1 %67, label %57, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %63 br label %68 68: ; preds = %._crit_edge, %54 %69 = getelementptr inbounds [2 x %struct.pollfd], ptr %12, i64 0, i64 0 %70 = getelementptr inbounds %struct.pollfd, ptr %69, i32 0, i32 1 store i32 0, ptr %70, align 4 %71 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0 %72 = load i32, ptr %71, align 4 %73 = getelementptr inbounds [2 x %struct.pollfd], ptr %12, i64 0, i64 1 %74 = getelementptr inbounds %struct.pollfd, ptr %73, i32 0, i32 1 store i32 %72, ptr %74, align 4 store i32 0, ptr %8, align 4 %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %76 = load i32, ptr %8, align 4 %77 = icmp ne i32 %76, 0 %78 = xor i1 %77, true br i1 %78, label %.lr.ph8, label %165 .lr.ph8: ; preds = %68 br label %79 79: ; preds = %.lr.ph8, %161 store i32 0, ptr %10, align 4 %80 = load i32, ptr %10, align 4 %81 = icmp slt i32 %80, 2 br i1 %81, label %.lr.ph2, label %92 .lr.ph2: ; preds = %79 br label %82 82: ; preds = %.lr.ph2, %87 %83 = load i32, ptr %10, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds [2 x %struct.pollfd], ptr %12, i64 0, i64 %84 %86 = getelementptr inbounds %struct.pollfd, ptr %85, i32 0, i32 2 store i32 0, ptr %86, align 4 br label %87 87: ; preds = %82 %88 = load i32, ptr %10, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %10, align 4 %90 = load i32, ptr %10, align 4 %91 = icmp slt i32 %90, 2 br i1 %91, label %82, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %87 br label %92 92: ; preds = %._crit_edge3, %79 %93 = getelementptr inbounds [2 x %struct.pollfd], ptr %12, i64 0, i64 0 %94 = call i32 @poll(ptr noundef %93, i32 noundef 2, i32 noundef -1) store i32 %94, ptr %9, align 4 %95 = icmp eq i32 %94, -1 br i1 %95, label %96, label %98 96: ; preds = %92 %97 = call i32 @syserr(ptr noundef @.str.10) br label %161 98: ; preds = %92 %99 = load i32, ptr %9, align 4 %100 = icmp sgt i32 %99, 0 br i1 %100, label %101, label %160 101: ; preds = %98 store i32 0, ptr %10, align 4 %102 = load i32, ptr %10, align 4 %103 = icmp slt i32 %102, 2 br i1 %103, label %.lr.ph5, label %159 .lr.ph5: ; preds = %101 br label %104 104: ; preds = %.lr.ph5, %154 %105 = load i32, ptr %10, align 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds [2 x %struct.pollfd], ptr %12, i64 0, i64 %106 %108 = getelementptr inbounds %struct.pollfd, ptr %107, i32 0, i32 2 %109 = load i32, ptr %108, align 4 %110 = load i32, ptr @POLLIN, align 4 %111 = load i32, ptr @POLLERR, align 4 %112 = or i32 %110, %111 %113 = and i32 %109, %112 %114 = icmp ne i32 %113, 0 br i1 %114, label %115, label %153 115: ; preds = %104 %116 = load i32, ptr %10, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds [2 x %struct.pollfd], ptr %12, i64 0, i64 %117 %119 = getelementptr inbounds %struct.pollfd, ptr %118, i32 0, i32 1 %120 = load i32, ptr %119, align 4 %121 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %122 = call i32 @read(i32 noundef %120, ptr noundef %121, i32 noundef 1023) store i32 %122, ptr %7, align 4 %123 = icmp eq i32 %122, -1 br i1 %123, label %124, label %126 124: ; preds = %115 %125 = call i32 @syserr(ptr noundef @.str.11) br label %126 126: ; preds = %124, %115 %127 = load i32, ptr %10, align 4 %128 = icmp eq i32 %127, 0 br i1 %128, label %129, label %134 129: ; preds = %126 %130 = load i32, ptr %7, align 4 %131 = icmp eq i32 %130, 0 br i1 %131, label %132, label %134 132: ; preds = %129 %133 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) store i32 1, ptr %8, align 4 br label %152 134: ; preds = %129, %126 %135 = load i32, ptr %7, align 4 %136 = icmp slt i32 %135, 1023 br i1 %136, label %137, label %139 137: ; preds = %134 %138 = load i32, ptr %7, align 4 br label %140 139: ; preds = %134 br label %140 140: ; preds = %139, %137 %141 = phi i32 [ %138, %137 ], [ 1023, %139 ] %142 = sext i32 %141 to i64 %143 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 %142 store i8 0, ptr %143, align 1 %144 = load i32, ptr %7, align 4 %145 = load i32, ptr %10, align 4 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds [2 x %struct.pollfd], ptr %12, i64 0, i64 %146 %148 = getelementptr inbounds %struct.pollfd, ptr %147, i32 0, i32 1 %149 = load i32, ptr %148, align 4 %150 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %151 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %144, i32 noundef %149, ptr noundef %150) br label %152 152: ; preds = %140, %132 br label %153 153: ; preds = %152, %104 br label %154 154: ; preds = %153 %155 = load i32, ptr %10, align 4 %156 = add nsw i32 %155, 1 store i32 %156, ptr %10, align 4 %157 = load i32, ptr %10, align 4 %158 = icmp slt i32 %157, 2 br i1 %158, label %104, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %154 br label %159 159: ; preds = %._crit_edge6, %101 br label %160 160: ; preds = %159, %98 br label %161 161: ; preds = %160, %96 %162 = load i32, ptr %8, align 4 %163 = icmp ne i32 %162, 0 %164 = xor i1 %163, true br i1 %164, label %79, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %161 br label %165 165: ; preds = %._crit_edge9, %68 %166 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0 %167 = load i32, ptr %166, align 4 %168 = call i32 @close(i32 noundef %167) %169 = icmp eq i32 %168, -1 br i1 %169, label %170, label %172 170: ; preds = %165 %171 = call i32 @syserr(ptr noundef @.str.14) br label %172 172: ; preds = %170, %165 %173 = call i32 @wait(i32 noundef 0) %174 = icmp eq i32 %173, -1 br i1 %174, label %175, label %177 175: ; preds = %172 %176 = call i32 @syserr(ptr noundef @.str.15) br label %177 177: ; preds = %175, %172 %178 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @pipe(ptr noundef) #1 declare i32 @syserr(ptr noundef) #1 declare i32 @fork(...) #1 declare i32 @dup2(i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @execl(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @poll(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @wait(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpxo11ha45.c' source_filename = "/tmp/tmpxo11ha45.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @func(float noundef %0) #0 { %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = alloca float, align 4 %10 = alloca float, align 4 %11 = alloca float, align 4 store float %0, ptr %2, align 4 store float 0x3FD470BF40000000, ptr %6, align 4 store float 0xBFD6D1F0E0000000, ptr %7, align 4 store float 0x3FFC80EF00000000, ptr %8, align 4 store float 0xBFFD23DD40000000, ptr %9, align 4 store float 0x3FF548CDE0000000, ptr %10, align 4 store float 0x3FD9884540000000, ptr %11, align 4 %12 = load float, ptr %2, align 4 %13 = call float @llvm.fabs.f32(float %12) store float %13, ptr %4, align 4 %14 = load float, ptr %4, align 4 %15 = call float @llvm.fmuladd.f32(float 0x3FCDA67120000000, float %14, float 1.000000e+00) %16 = fdiv float 1.000000e+00, %15 store float %16, ptr %5, align 4 %17 = load float, ptr %2, align 4 %18 = fneg float %17 %19 = load float, ptr %2, align 4 %20 = fmul float %18, %19 %21 = fdiv float %20, 2.000000e+00 %22 = call float @expf(float noundef %21) %23 = fmul float 0x3FD9884540000000, %22 %24 = load float, ptr %5, align 4 %25 = fmul float %23, %24 %26 = load float, ptr %5, align 4 %27 = load float, ptr %5, align 4 %28 = load float, ptr %5, align 4 %29 = load float, ptr %5, align 4 %30 = call float @llvm.fmuladd.f32(float %29, float 0x3FF548CDE0000000, float 0xBFFD23DD40000000) %31 = call float @llvm.fmuladd.f32(float %28, float %30, float 0x3FFC80EF00000000) %32 = call float @llvm.fmuladd.f32(float %27, float %31, float 0xBFD6D1F0E0000000) %33 = call float @llvm.fmuladd.f32(float %26, float %32, float 0x3FD470BF40000000) %34 = fneg float %25 %35 = call float @llvm.fmuladd.f32(float %34, float %33, float 1.000000e+00) store float %35, ptr %3, align 4 %36 = load float, ptr %2, align 4 %37 = fcmp olt float %36, 0.000000e+00 br i1 %37, label %38, label %41 38: ; preds = %1 %39 = load float, ptr %3, align 4 %40 = fsub float 1.000000e+00, %39 br label %43 41: ; preds = %1 %42 = load float, ptr %3, align 4 br label %43 43: ; preds = %41, %38 %44 = phi float [ %40, %38 ], [ %42, %41 ] ret float %44 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fabs.f32(float) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #1 declare float @expf(float noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxo11ha45.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @func(float noundef %0) #0 { %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = alloca float, align 4 %10 = alloca float, align 4 %11 = alloca float, align 4 store float %0, ptr %2, align 4 store float 0x3FD470BF40000000, ptr %6, align 4 store float 0xBFD6D1F0E0000000, ptr %7, align 4 store float 0x3FFC80EF00000000, ptr %8, align 4 store float 0xBFFD23DD40000000, ptr %9, align 4 store float 0x3FF548CDE0000000, ptr %10, align 4 store float 0x3FD9884540000000, ptr %11, align 4 %12 = load float, ptr %2, align 4 %13 = call float @llvm.fabs.f32(float %12) store float %13, ptr %4, align 4 %14 = load float, ptr %4, align 4 %15 = call float @llvm.fmuladd.f32(float 0x3FCDA67120000000, float %14, float 1.000000e+00) %16 = fdiv float 1.000000e+00, %15 store float %16, ptr %5, align 4 %17 = load float, ptr %2, align 4 %18 = fneg float %17 %19 = load float, ptr %2, align 4 %20 = fmul float %18, %19 %21 = fdiv float %20, 2.000000e+00 %22 = call float @expf(float noundef %21) %23 = fmul float 0x3FD9884540000000, %22 %24 = load float, ptr %5, align 4 %25 = fmul float %23, %24 %26 = load float, ptr %5, align 4 %27 = load float, ptr %5, align 4 %28 = load float, ptr %5, align 4 %29 = load float, ptr %5, align 4 %30 = call float @llvm.fmuladd.f32(float %29, float 0x3FF548CDE0000000, float 0xBFFD23DD40000000) %31 = call float @llvm.fmuladd.f32(float %28, float %30, float 0x3FFC80EF00000000) %32 = call float @llvm.fmuladd.f32(float %27, float %31, float 0xBFD6D1F0E0000000) %33 = call float @llvm.fmuladd.f32(float %26, float %32, float 0x3FD470BF40000000) %34 = fneg float %25 %35 = call float @llvm.fmuladd.f32(float %34, float %33, float 1.000000e+00) store float %35, ptr %3, align 4 %36 = load float, ptr %2, align 4 %37 = fcmp olt float %36, 0.000000e+00 br i1 %37, label %38, label %41 38: ; preds = %1 %39 = load float, ptr %3, align 4 %40 = fsub float 1.000000e+00, %39 br label %43 41: ; preds = %1 %42 = load float, ptr %3, align 4 br label %43 43: ; preds = %41, %38 %44 = phi float [ %40, %38 ], [ %42, %41 ] ret float %44 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fabs.f32(float) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #1 declare float @expf(float noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpf54w5irj.c' source_filename = "/tmp/tmpf54w5irj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @swap(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %10 = load ptr, ptr %4, align 8 store ptr %10, ptr %7, align 8 %11 = load ptr, ptr %5, align 8 store ptr %11, ptr %8, align 8 store i64 0, ptr %9, align 8 br label %12 12: ; preds = %29, %3 %13 = load i64, ptr %9, align 8 %14 = load i64, ptr %6, align 8 %15 = icmp ult i64 %13, %14 br i1 %15, label %16, label %32 16: ; preds = %12 %17 = load ptr, ptr %8, align 8 %18 = load i64, ptr %9, align 8 %19 = getelementptr inbounds i8, ptr %17, i64 %18 %20 = load i8, ptr %19, align 1 %21 = zext i8 %20 to i32 %22 = load ptr, ptr %7, align 8 %23 = load i64, ptr %9, align 8 %24 = getelementptr inbounds i8, ptr %22, i64 %23 %25 = load i8, ptr %24, align 1 %26 = zext i8 %25 to i32 %27 = xor i32 %26, %21 %28 = trunc i32 %27 to i8 store i8 %28, ptr %24, align 1 br label %29 29: ; preds = %16 %30 = load i64, ptr %9, align 8 %31 = add i64 %30, 1 store i64 %31, ptr %9, align 8 br label %12, !llvm.loop !6 32: ; preds = %12 store i64 0, ptr %9, align 8 br label %33 33: ; preds = %50, %32 %34 = load i64, ptr %9, align 8 %35 = load i64, ptr %6, align 8 %36 = icmp ult i64 %34, %35 br i1 %36, label %37, label %53 37: ; preds = %33 %38 = load ptr, ptr %7, align 8 %39 = load i64, ptr %9, align 8 %40 = getelementptr inbounds i8, ptr %38, i64 %39 %41 = load i8, ptr %40, align 1 %42 = zext i8 %41 to i32 %43 = load ptr, ptr %8, align 8 %44 = load i64, ptr %9, align 8 %45 = getelementptr inbounds i8, ptr %43, i64 %44 %46 = load i8, ptr %45, align 1 %47 = zext i8 %46 to i32 %48 = xor i32 %47, %42 %49 = trunc i32 %48 to i8 store i8 %49, ptr %45, align 1 br label %50 50: ; preds = %37 %51 = load i64, ptr %9, align 8 %52 = add i64 %51, 1 store i64 %52, ptr %9, align 8 br label %33, !llvm.loop !8 53: ; preds = %33 store i64 0, ptr %9, align 8 br label %54 54: ; preds = %71, %53 %55 = load i64, ptr %9, align 8 %56 = load i64, ptr %6, align 8 %57 = icmp ult i64 %55, %56 br i1 %57, label %58, label %74 58: ; preds = %54 %59 = load ptr, ptr %8, align 8 %60 = load i64, ptr %9, align 8 %61 = getelementptr inbounds i8, ptr %59, i64 %60 %62 = load i8, ptr %61, align 1 %63 = zext i8 %62 to i32 %64 = load ptr, ptr %7, align 8 %65 = load i64, ptr %9, align 8 %66 = getelementptr inbounds i8, ptr %64, i64 %65 %67 = load i8, ptr %66, align 1 %68 = zext i8 %67 to i32 %69 = xor i32 %68, %63 %70 = trunc i32 %69 to i8 store i8 %70, ptr %66, align 1 br label %71 71: ; preds = %58 %72 = load i64, ptr %9, align 8 %73 = add i64 %72, 1 store i64 %73, ptr %9, align 8 br label %54, !llvm.loop !9 74: ; preds = %54 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} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf54w5irj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @swap(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %10 = load ptr, ptr %4, align 8 store ptr %10, ptr %7, align 8 %11 = load ptr, ptr %5, align 8 store ptr %11, ptr %8, align 8 store i64 0, ptr %9, align 8 %12 = load i64, ptr %9, align 8 %13 = load i64, ptr %6, align 8 %14 = icmp ult i64 %12, %13 br i1 %14, label %.lr.ph, label %34 .lr.ph: ; preds = %3 br label %15 15: ; preds = %.lr.ph, %28 %16 = load ptr, ptr %8, align 8 %17 = load i64, ptr %9, align 8 %18 = getelementptr inbounds i8, ptr %16, i64 %17 %19 = load i8, ptr %18, align 1 %20 = zext i8 %19 to i32 %21 = load ptr, ptr %7, align 8 %22 = load i64, ptr %9, align 8 %23 = getelementptr inbounds i8, ptr %21, i64 %22 %24 = load i8, ptr %23, align 1 %25 = zext i8 %24 to i32 %26 = xor i32 %25, %20 %27 = trunc i32 %26 to i8 store i8 %27, ptr %23, align 1 br label %28 28: ; preds = %15 %29 = load i64, ptr %9, align 8 %30 = add i64 %29, 1 store i64 %30, ptr %9, align 8 %31 = load i64, ptr %9, align 8 %32 = load i64, ptr %6, align 8 %33 = icmp ult i64 %31, %32 br i1 %33, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %34 34: ; preds = %._crit_edge, %3 store i64 0, ptr %9, align 8 %35 = load i64, ptr %9, align 8 %36 = load i64, ptr %6, align 8 %37 = icmp ult i64 %35, %36 br i1 %37, label %.lr.ph2, label %57 .lr.ph2: ; preds = %34 br label %38 38: ; preds = %.lr.ph2, %51 %39 = load ptr, ptr %7, align 8 %40 = load i64, ptr %9, align 8 %41 = getelementptr inbounds i8, ptr %39, i64 %40 %42 = load i8, ptr %41, align 1 %43 = zext i8 %42 to i32 %44 = load ptr, ptr %8, align 8 %45 = load i64, ptr %9, align 8 %46 = getelementptr inbounds i8, ptr %44, i64 %45 %47 = load i8, ptr %46, align 1 %48 = zext i8 %47 to i32 %49 = xor i32 %48, %43 %50 = trunc i32 %49 to i8 store i8 %50, ptr %46, align 1 br label %51 51: ; preds = %38 %52 = load i64, ptr %9, align 8 %53 = add i64 %52, 1 store i64 %53, ptr %9, align 8 %54 = load i64, ptr %9, align 8 %55 = load i64, ptr %6, align 8 %56 = icmp ult i64 %54, %55 br i1 %56, label %38, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %51 br label %57 57: ; preds = %._crit_edge3, %34 store i64 0, ptr %9, align 8 %58 = load i64, ptr %9, align 8 %59 = load i64, ptr %6, align 8 %60 = icmp ult i64 %58, %59 br i1 %60, label %.lr.ph5, label %80 .lr.ph5: ; preds = %57 br label %61 61: ; preds = %.lr.ph5, %74 %62 = load ptr, ptr %8, align 8 %63 = load i64, ptr %9, align 8 %64 = getelementptr inbounds i8, ptr %62, i64 %63 %65 = load i8, ptr %64, align 1 %66 = zext i8 %65 to i32 %67 = load ptr, ptr %7, align 8 %68 = load i64, ptr %9, align 8 %69 = getelementptr inbounds i8, ptr %67, i64 %68 %70 = load i8, ptr %69, align 1 %71 = zext i8 %70 to i32 %72 = xor i32 %71, %66 %73 = trunc i32 %72 to i8 store i8 %73, ptr %69, align 1 br label %74 74: ; preds = %61 %75 = load i64, ptr %9, align 8 %76 = add i64 %75, 1 store i64 %76, ptr %9, align 8 %77 = load i64, ptr %9, align 8 %78 = load i64, ptr %6, align 8 %79 = icmp ult i64 %77, %78 br i1 %79, label %61, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %74 br label %80 80: ; preds = %._crit_edge6, %57 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} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpm23w23dv.c' source_filename = "/tmp/tmpm23w23dv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @luminosity_distance(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = fadd double 1.000000e+00, %3 %5 = load double, ptr %2, align 8 %6 = call double @transverse_distance(double noundef %5) %7 = fmul double %4, %6 ret double %7 } declare double @transverse_distance(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/tmpm23w23dv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @luminosity_distance(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = fadd double 1.000000e+00, %3 %5 = load double, ptr %2, align 8 %6 = call double @transverse_distance(double noundef %5) %7 = fmul double %4, %6 ret double %7 } declare double @transverse_distance(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/tmp2leyffzt.c' source_filename = "/tmp/tmp2leyffzt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mystrsep(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i8, align 1 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i8 %1, ptr %5, align 1 store ptr null, ptr %6, align 8 %11 = load ptr, ptr %4, align 8 %12 = load ptr, ptr %11, align 8 store ptr %12, ptr %7, align 8 %13 = load ptr, ptr %7, align 8 %14 = call i32 @strlen(ptr noundef %13) store i32 %14, ptr %8, align 4 %15 = load i32, ptr %8, align 4 %16 = icmp sgt i32 %15, 0 br i1 %16, label %17, label %68 17: ; preds = %2 %18 = load ptr, ptr %7, align 8 %19 = load i8, ptr %5, align 1 %20 = zext i8 %19 to i32 %21 = load i32, ptr %8, align 4 %22 = call i64 @memchr(ptr noundef %18, i32 noundef %20, i32 noundef %21) %23 = inttoptr i64 %22 to ptr store ptr %23, ptr %9, align 8 %24 = load ptr, ptr %9, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %26, label %49 26: ; preds = %17 %27 = load ptr, ptr %9, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 1 %29 = load ptr, ptr %4, align 8 store ptr %28, ptr %29, align 8 %30 = load ptr, ptr %9, align 8 %31 = ptrtoint ptr %30 to i64 %32 = load ptr, ptr %7, align 8 %33 = ptrtoint ptr %32 to i64 %34 = sub i64 %31, %33 %35 = trunc i64 %34 to i32 store i32 %35, ptr %10, align 4 %36 = load i32, ptr %10, align 4 %37 = add nsw i32 %36, 1 %38 = call i64 @malloc(i32 noundef %37) %39 = inttoptr i64 %38 to ptr store ptr %39, ptr %6, align 8 %40 = load ptr, ptr %6, align 8 %41 = load ptr, ptr %7, align 8 %42 = load i32, ptr %10, align 4 %43 = call i32 @memcpy(ptr noundef %40, ptr noundef %41, i32 noundef %42) %44 = load ptr, ptr %6, align 8 %45 = load i32, ptr %10, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %44, i64 %46 store i8 0, ptr %47, align 1 %48 = load ptr, ptr %6, align 8 store ptr %48, ptr %3, align 8 br label %69 49: ; preds = %17 %50 = load i32, ptr %8, align 4 %51 = add nsw i32 %50, 1 %52 = call i64 @malloc(i32 noundef %51) %53 = inttoptr i64 %52 to ptr store ptr %53, ptr %6, align 8 %54 = load ptr, ptr %6, align 8 %55 = load ptr, ptr %7, align 8 %56 = load i32, ptr %8, align 4 %57 = call i32 @memcpy(ptr noundef %54, ptr noundef %55, i32 noundef %56) %58 = load ptr, ptr %6, align 8 %59 = load i32, ptr %8, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i8, ptr %58, i64 %60 store i8 0, ptr %61, align 1 %62 = load ptr, ptr %7, align 8 %63 = load i32, ptr %8, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i8, ptr %62, i64 %64 %66 = load ptr, ptr %4, align 8 store ptr %65, ptr %66, align 8 %67 = load ptr, ptr %6, align 8 store ptr %67, ptr %3, align 8 br label %69 68: ; preds = %2 store ptr null, ptr %3, align 8 br label %69 69: ; preds = %68, %49, %26 %70 = load ptr, ptr %3, align 8 ret ptr %70 } declare i32 @strlen(ptr noundef) #1 declare i64 @memchr(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2leyffzt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mystrsep(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i8, align 1 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i8 %1, ptr %5, align 1 store ptr null, ptr %6, align 8 %11 = load ptr, ptr %4, align 8 %12 = load ptr, ptr %11, align 8 store ptr %12, ptr %7, align 8 %13 = load ptr, ptr %7, align 8 %14 = call i32 @strlen(ptr noundef %13) store i32 %14, ptr %8, align 4 %15 = load i32, ptr %8, align 4 %16 = icmp sgt i32 %15, 0 br i1 %16, label %17, label %68 17: ; preds = %2 %18 = load ptr, ptr %7, align 8 %19 = load i8, ptr %5, align 1 %20 = zext i8 %19 to i32 %21 = load i32, ptr %8, align 4 %22 = call i64 @memchr(ptr noundef %18, i32 noundef %20, i32 noundef %21) %23 = inttoptr i64 %22 to ptr store ptr %23, ptr %9, align 8 %24 = load ptr, ptr %9, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %26, label %49 26: ; preds = %17 %27 = load ptr, ptr %9, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 1 %29 = load ptr, ptr %4, align 8 store ptr %28, ptr %29, align 8 %30 = load ptr, ptr %9, align 8 %31 = ptrtoint ptr %30 to i64 %32 = load ptr, ptr %7, align 8 %33 = ptrtoint ptr %32 to i64 %34 = sub i64 %31, %33 %35 = trunc i64 %34 to i32 store i32 %35, ptr %10, align 4 %36 = load i32, ptr %10, align 4 %37 = add nsw i32 %36, 1 %38 = call i64 @malloc(i32 noundef %37) %39 = inttoptr i64 %38 to ptr store ptr %39, ptr %6, align 8 %40 = load ptr, ptr %6, align 8 %41 = load ptr, ptr %7, align 8 %42 = load i32, ptr %10, align 4 %43 = call i32 @memcpy(ptr noundef %40, ptr noundef %41, i32 noundef %42) %44 = load ptr, ptr %6, align 8 %45 = load i32, ptr %10, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %44, i64 %46 store i8 0, ptr %47, align 1 %48 = load ptr, ptr %6, align 8 store ptr %48, ptr %3, align 8 br label %69 49: ; preds = %17 %50 = load i32, ptr %8, align 4 %51 = add nsw i32 %50, 1 %52 = call i64 @malloc(i32 noundef %51) %53 = inttoptr i64 %52 to ptr store ptr %53, ptr %6, align 8 %54 = load ptr, ptr %6, align 8 %55 = load ptr, ptr %7, align 8 %56 = load i32, ptr %8, align 4 %57 = call i32 @memcpy(ptr noundef %54, ptr noundef %55, i32 noundef %56) %58 = load ptr, ptr %6, align 8 %59 = load i32, ptr %8, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i8, ptr %58, i64 %60 store i8 0, ptr %61, align 1 %62 = load ptr, ptr %7, align 8 %63 = load i32, ptr %8, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i8, ptr %62, i64 %64 %66 = load ptr, ptr %4, align 8 store ptr %65, ptr %66, align 8 %67 = load ptr, ptr %6, align 8 store ptr %67, ptr %3, align 8 br label %69 68: ; preds = %2 store ptr null, ptr %3, align 8 br label %69 69: ; preds = %68, %49, %26 %70 = load ptr, ptr %3, align 8 ret ptr %70 } declare i32 @strlen(ptr noundef) #1 declare i64 @memchr(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp68jm32wm.c' source_filename = "/tmp/tmp68jm32wm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bit_array_test(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %34 10: ; preds = %2 %11 = load ptr, ptr %4, align 8 store ptr %11, ptr %6, align 8 %12 = load i64, ptr %5, align 8 %13 = load ptr, ptr %6, align 8 %14 = load i64, ptr %13, align 8 %15 = icmp ult i64 %12, %14 br i1 %15, label %16, label %33 16: ; preds = %10 %17 = load ptr, ptr %6, align 8 %18 = getelementptr inbounds i64, ptr %17, i64 1 store ptr %18, ptr %7, align 8 %19 = load ptr, ptr %7, align 8 %20 = load i64, ptr %5, align 8 %21 = lshr i64 %20, 3 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load i8, ptr %22, align 1 %24 = zext i8 %23 to i32 %25 = load i64, ptr %5, align 8 %26 = and i64 %25, 7 %27 = trunc i64 %26 to i32 %28 = shl i32 1, %27 %29 = and i32 %24, %28 %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %32 31: ; preds = %16 store i32 1, ptr %3, align 4 br label %35 32: ; preds = %16 br label %33 33: ; preds = %32, %10 br label %34 34: ; preds = %33, %2 store i32 0, ptr %3, align 4 br label %35 35: ; preds = %34, %31 %36 = load i32, ptr %3, align 4 ret i32 %36 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp68jm32wm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bit_array_test(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %34 10: ; preds = %2 %11 = load ptr, ptr %4, align 8 store ptr %11, ptr %6, align 8 %12 = load i64, ptr %5, align 8 %13 = load ptr, ptr %6, align 8 %14 = load i64, ptr %13, align 8 %15 = icmp ult i64 %12, %14 br i1 %15, label %16, label %33 16: ; preds = %10 %17 = load ptr, ptr %6, align 8 %18 = getelementptr inbounds i64, ptr %17, i64 1 store ptr %18, ptr %7, align 8 %19 = load ptr, ptr %7, align 8 %20 = load i64, ptr %5, align 8 %21 = lshr i64 %20, 3 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load i8, ptr %22, align 1 %24 = zext i8 %23 to i32 %25 = load i64, ptr %5, align 8 %26 = and i64 %25, 7 %27 = trunc i64 %26 to i32 %28 = shl i32 1, %27 %29 = and i32 %24, %28 %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %32 31: ; preds = %16 store i32 1, ptr %3, align 4 br label %35 32: ; preds = %16 br label %33 33: ; preds = %32, %10 br label %34 34: ; preds = %33, %2 store i32 0, ptr %3, align 4 br label %35 35: ; preds = %34, %31 %36 = load i32, ptr %3, align 4 ret i32 %36 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0q0dqx1u.c' source_filename = "/tmp/tmp0q0dqx1u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"&lt;\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"&amp;\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"&gt;\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"&apos;\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"&quot;\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"&#x%02x;\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @escape_xml_attr(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 i8, align 1 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %3, align 8 store ptr %9, ptr %6, align 8 br label %10 10: ; preds = %72, %2 %11 = load ptr, ptr %6, align 8 %12 = load i8, ptr %11, align 1 %13 = icmp ne i8 %12, 0 br i1 %13, label %14, label %75 14: ; preds = %10 %15 = load ptr, ptr %6, align 8 %16 = load i8, ptr %15, align 1 store i8 %16, ptr %7, align 1 %17 = load i8, ptr %7, align 1 %18 = zext i8 %17 to i32 switch i32 %18, label %44 [ i32 60, label %19 i32 38, label %24 i32 62, label %29 i32 39, label %34 i32 34, label %39 ] 19: ; preds = %14 %20 = load ptr, ptr %5, align 8 %21 = call i32 @memcpy(ptr noundef %20, ptr noundef @.str, i32 noundef 4) %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds i8, ptr %22, i64 4 store ptr %23, ptr %5, align 8 br label %71 24: ; preds = %14 %25 = load ptr, ptr %5, align 8 %26 = call i32 @memcpy(ptr noundef %25, ptr noundef @.str.1, i32 noundef 5) %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 5 store ptr %28, ptr %5, align 8 br label %71 29: ; preds = %14 %30 = load ptr, ptr %5, align 8 %31 = call i32 @memcpy(ptr noundef %30, ptr noundef @.str.2, i32 noundef 4) %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds i8, ptr %32, i64 4 store ptr %33, ptr %5, align 8 br label %71 34: ; preds = %14 %35 = load ptr, ptr %5, align 8 %36 = call i32 @memcpy(ptr noundef %35, ptr noundef @.str.3, i32 noundef 6) %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds i8, ptr %37, i64 6 store ptr %38, ptr %5, align 8 br label %71 39: ; preds = %14 %40 = load ptr, ptr %5, align 8 %41 = call i32 @memcpy(ptr noundef %40, ptr noundef @.str.4, i32 noundef 6) %42 = load ptr, ptr %5, align 8 %43 = getelementptr inbounds i8, ptr %42, i64 6 store ptr %43, ptr %5, align 8 br label %71 44: ; preds = %14 %45 = load i8, ptr %7, align 1 %46 = zext i8 %45 to i32 %47 = icmp slt i32 %46, 32 br i1 %47, label %48, label %56 48: ; preds = %44 %49 = load i8, ptr %7, align 1 %50 = zext i8 %49 to i32 %51 = icmp ne i32 %50, 9 br i1 %51, label %52, label %56 52: ; preds = %48 %53 = load i8, ptr %7, align 1 %54 = zext i8 %53 to i32 %55 = icmp ne i32 %54, 10 br i1 %55, label %60, label %56 56: ; preds = %52, %48, %44 %57 = load i8, ptr %7, align 1 %58 = zext i8 %57 to i32 %59 = icmp eq i32 %58, 127 br i1 %59, label %60, label %66 60: ; preds = %56, %52 %61 = load ptr, ptr %5, align 8 %62 = load i8, ptr %7, align 1 %63 = call i32 @snprintf(ptr noundef %61, i32 noundef 7, ptr noundef @.str.5, i8 noundef zeroext %62) %64 = load ptr, ptr %5, align 8 %65 = getelementptr inbounds i8, ptr %64, i64 6 store ptr %65, ptr %5, align 8 br label %70 66: ; preds = %56 %67 = load i8, ptr %7, align 1 %68 = load ptr, ptr %5, align 8 %69 = getelementptr inbounds i8, ptr %68, i32 1 store ptr %69, ptr %5, align 8 store i8 %67, ptr %68, align 1 br label %70 70: ; preds = %66, %60 br label %71 71: ; preds = %70, %39, %34, %29, %24, %19 br label %72 72: ; preds = %71 %73 = load ptr, ptr %6, align 8 %74 = getelementptr inbounds i8, ptr %73, i32 1 store ptr %74, ptr %6, align 8 br label %10, !llvm.loop !6 75: ; preds = %10 %76 = load ptr, ptr %5, align 8 store i8 0, ptr %76, align 1 ret void } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0q0dqx1u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"&lt;\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"&amp;\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"&gt;\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"&apos;\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"&quot;\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"&#x%02x;\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @escape_xml_attr(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 i8, align 1 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %3, align 8 store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = load i8, ptr %10, align 1 %12 = icmp ne i8 %11, 0 br i1 %12, label %.lr.ph, label %77 .lr.ph: ; preds = %2 br label %13 13: ; preds = %.lr.ph, %71 %14 = load ptr, ptr %6, align 8 %15 = load i8, ptr %14, align 1 store i8 %15, ptr %7, align 1 %16 = load i8, ptr %7, align 1 %17 = zext i8 %16 to i32 switch i32 %17, label %43 [ i32 60, label %18 i32 38, label %23 i32 62, label %28 i32 39, label %33 i32 34, label %38 ] 18: ; preds = %13 %19 = load ptr, ptr %5, align 8 %20 = call i32 @memcpy(ptr noundef %19, ptr noundef @.str, i32 noundef 4) %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 4 store ptr %22, ptr %5, align 8 br label %70 23: ; preds = %13 %24 = load ptr, ptr %5, align 8 %25 = call i32 @memcpy(ptr noundef %24, ptr noundef @.str.1, i32 noundef 5) %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds i8, ptr %26, i64 5 store ptr %27, ptr %5, align 8 br label %70 28: ; preds = %13 %29 = load ptr, ptr %5, align 8 %30 = call i32 @memcpy(ptr noundef %29, ptr noundef @.str.2, i32 noundef 4) %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds i8, ptr %31, i64 4 store ptr %32, ptr %5, align 8 br label %70 33: ; preds = %13 %34 = load ptr, ptr %5, align 8 %35 = call i32 @memcpy(ptr noundef %34, ptr noundef @.str.3, i32 noundef 6) %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds i8, ptr %36, i64 6 store ptr %37, ptr %5, align 8 br label %70 38: ; preds = %13 %39 = load ptr, ptr %5, align 8 %40 = call i32 @memcpy(ptr noundef %39, ptr noundef @.str.4, i32 noundef 6) %41 = load ptr, ptr %5, align 8 %42 = getelementptr inbounds i8, ptr %41, i64 6 store ptr %42, ptr %5, align 8 br label %70 43: ; preds = %13 %44 = load i8, ptr %7, align 1 %45 = zext i8 %44 to i32 %46 = icmp slt i32 %45, 32 br i1 %46, label %47, label %55 47: ; preds = %43 %48 = load i8, ptr %7, align 1 %49 = zext i8 %48 to i32 %50 = icmp ne i32 %49, 9 br i1 %50, label %51, label %55 51: ; preds = %47 %52 = load i8, ptr %7, align 1 %53 = zext i8 %52 to i32 %54 = icmp ne i32 %53, 10 br i1 %54, label %59, label %55 55: ; preds = %51, %47, %43 %56 = load i8, ptr %7, align 1 %57 = zext i8 %56 to i32 %58 = icmp eq i32 %57, 127 br i1 %58, label %59, label %65 59: ; preds = %55, %51 %60 = load ptr, ptr %5, align 8 %61 = load i8, ptr %7, align 1 %62 = call i32 @snprintf(ptr noundef %60, i32 noundef 7, ptr noundef @.str.5, i8 noundef zeroext %61) %63 = load ptr, ptr %5, align 8 %64 = getelementptr inbounds i8, ptr %63, i64 6 store ptr %64, ptr %5, align 8 br label %69 65: ; preds = %55 %66 = load i8, ptr %7, align 1 %67 = load ptr, ptr %5, align 8 %68 = getelementptr inbounds i8, ptr %67, i32 1 store ptr %68, ptr %5, align 8 store i8 %66, ptr %67, align 1 br label %69 69: ; preds = %65, %59 br label %70 70: ; preds = %69, %38, %33, %28, %23, %18 br label %71 71: ; preds = %70 %72 = load ptr, ptr %6, align 8 %73 = getelementptr inbounds i8, ptr %72, i32 1 store ptr %73, ptr %6, align 8 %74 = load ptr, ptr %6, align 8 %75 = load i8, ptr %74, align 1 %76 = icmp ne i8 %75, 0 br i1 %76, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %71 br label %77 77: ; preds = %._crit_edge, %2 %78 = load ptr, ptr %5, align 8 store i8 0, ptr %78, align 1 ret void } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp9xj1a4dl.c' source_filename = "/tmp/tmp9xj1a4dl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DESIntStatus(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp eq i32 %8, 1141080064 %10 = zext i1 %9 to i32 %11 = call i32 @ASSERT(i32 noundef %10) %12 = load i32, ptr %4, align 4 %13 = add nsw i32 %12, 60 %14 = sext i32 %13 to i64 %15 = inttoptr i64 %14 to ptr %16 = load volatile i32, ptr %15, align 4 store i32 %16, ptr %6, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp ne i32 %17, 0 br i1 %18, label %19, label %35 19: ; preds = %2 %20 = load i32, ptr %4, align 4 %21 = add nsw i32 %20, 64 %22 = sext i32 %21 to i64 %23 = inttoptr i64 %22 to ptr %24 = load volatile i32, ptr %23, align 4 store i32 %24, ptr %7, align 4 %25 = load i32, ptr %6, align 4 %26 = load i32, ptr %7, align 4 %27 = and i32 %25, %26 %28 = load i32, ptr %4, align 4 %29 = add i32 %28, -32712 %30 = zext i32 %29 to i64 %31 = inttoptr i64 %30 to ptr %32 = load volatile i32, ptr %31, align 4 %33 = shl i32 %32, 16 %34 = or i32 %27, %33 store i32 %34, ptr %3, align 4 br label %44 35: ; preds = %2 %36 = load i32, ptr %6, align 4 %37 = load i32, ptr %4, align 4 %38 = add i32 %37, -32716 %39 = zext i32 %38 to i64 %40 = inttoptr i64 %39 to ptr %41 = load volatile i32, ptr %40, align 4 %42 = shl i32 %41, 16 %43 = or i32 %36, %42 store i32 %43, ptr %3, align 4 br label %44 44: ; preds = %35, %19 %45 = load i32, ptr %3, align 4 ret i32 %45 } declare i32 @ASSERT(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9xj1a4dl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DESIntStatus(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp eq i32 %8, 1141080064 %10 = zext i1 %9 to i32 %11 = call i32 @ASSERT(i32 noundef %10) %12 = load i32, ptr %4, align 4 %13 = add nsw i32 %12, 60 %14 = sext i32 %13 to i64 %15 = inttoptr i64 %14 to ptr %16 = load volatile i32, ptr %15, align 4 store i32 %16, ptr %6, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp ne i32 %17, 0 br i1 %18, label %19, label %35 19: ; preds = %2 %20 = load i32, ptr %4, align 4 %21 = add nsw i32 %20, 64 %22 = sext i32 %21 to i64 %23 = inttoptr i64 %22 to ptr %24 = load volatile i32, ptr %23, align 4 store i32 %24, ptr %7, align 4 %25 = load i32, ptr %6, align 4 %26 = load i32, ptr %7, align 4 %27 = and i32 %25, %26 %28 = load i32, ptr %4, align 4 %29 = add i32 %28, -32712 %30 = zext i32 %29 to i64 %31 = inttoptr i64 %30 to ptr %32 = load volatile i32, ptr %31, align 4 %33 = shl i32 %32, 16 %34 = or i32 %27, %33 store i32 %34, ptr %3, align 4 br label %44 35: ; preds = %2 %36 = load i32, ptr %6, align 4 %37 = load i32, ptr %4, align 4 %38 = add i32 %37, -32716 %39 = zext i32 %38 to i64 %40 = inttoptr i64 %39 to ptr %41 = load volatile i32, ptr %40, align 4 %42 = shl i32 %41, 16 %43 = or i32 %36, %42 store i32 %43, ptr %3, align 4 br label %44 44: ; preds = %35, %19 %45 = load i32, ptr %3, align 4 ret i32 %45 } declare i32 @ASSERT(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpq8_9h_pe.c' source_filename = "/tmp/tmpq8_9h_pe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_option(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %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 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 store i32 0, ptr %11, align 4 %14 = load ptr, ptr %6, align 8 %15 = call i32 @strlen(ptr noundef %14) store i32 %15, ptr %12, align 4 %16 = load ptr, ptr %8, align 8 %17 = load ptr, ptr %9, align 8 %18 = load i32, ptr %17, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds ptr, ptr %16, i64 %19 %21 = load ptr, ptr %20, align 8 %22 = load ptr, ptr %6, align 8 %23 = load i32, ptr %12, align 4 %24 = call i64 @strncmp(ptr noundef %21, ptr noundef %22, i32 noundef %23) %25 = icmp eq i64 %24, 0 br i1 %25, label %26, label %68 26: ; preds = %5 store i32 1, ptr %11, align 4 %27 = load ptr, ptr %10, align 8 %28 = icmp ne ptr %27, null br i1 %28, label %29, label %67 29: ; preds = %26 %30 = load ptr, ptr %8, align 8 %31 = load ptr, ptr %9, align 8 %32 = load i32, ptr %31, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds ptr, ptr %30, i64 %33 %35 = load ptr, ptr %34, align 8 %36 = call i32 @strlen(ptr noundef %35) store i32 %36, ptr %13, align 4 %37 = load i32, ptr %13, align 4 %38 = load i32, ptr %12, align 4 %39 = icmp sgt i32 %37, %38 br i1 %39, label %40, label %51 40: ; preds = %29 %41 = load ptr, ptr %8, align 8 %42 = load ptr, ptr %9, align 8 %43 = load i32, ptr %42, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds ptr, ptr %41, i64 %44 %46 = load ptr, ptr %45, align 8 %47 = load i32, ptr %12, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i8, ptr %46, i64 %48 %50 = load ptr, ptr %10, align 8 store ptr %49, ptr %50, align 8 br label %66 51: ; preds = %29 %52 = load ptr, ptr %9, align 8 %53 = load i32, ptr %52, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %52, align 4 %55 = load i32, ptr %7, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %57, label %65 57: ; preds = %51 %58 = load ptr, ptr %8, align 8 %59 = load ptr, ptr %9, align 8 %60 = load i32, ptr %59, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds ptr, ptr %58, i64 %61 %63 = load ptr, ptr %62, align 8 %64 = load ptr, ptr %10, align 8 store ptr %63, ptr %64, align 8 br label %65 65: ; preds = %57, %51 br label %66 66: ; preds = %65, %40 br label %67 67: ; preds = %66, %26 br label %68 68: ; preds = %67, %5 %69 = load i32, ptr %11, align 4 ret i32 %69 } declare i32 @strlen(ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq8_9h_pe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_option(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %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 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 store i32 0, ptr %11, align 4 %14 = load ptr, ptr %6, align 8 %15 = call i32 @strlen(ptr noundef %14) store i32 %15, ptr %12, align 4 %16 = load ptr, ptr %8, align 8 %17 = load ptr, ptr %9, align 8 %18 = load i32, ptr %17, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds ptr, ptr %16, i64 %19 %21 = load ptr, ptr %20, align 8 %22 = load ptr, ptr %6, align 8 %23 = load i32, ptr %12, align 4 %24 = call i64 @strncmp(ptr noundef %21, ptr noundef %22, i32 noundef %23) %25 = icmp eq i64 %24, 0 br i1 %25, label %26, label %68 26: ; preds = %5 store i32 1, ptr %11, align 4 %27 = load ptr, ptr %10, align 8 %28 = icmp ne ptr %27, null br i1 %28, label %29, label %67 29: ; preds = %26 %30 = load ptr, ptr %8, align 8 %31 = load ptr, ptr %9, align 8 %32 = load i32, ptr %31, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds ptr, ptr %30, i64 %33 %35 = load ptr, ptr %34, align 8 %36 = call i32 @strlen(ptr noundef %35) store i32 %36, ptr %13, align 4 %37 = load i32, ptr %13, align 4 %38 = load i32, ptr %12, align 4 %39 = icmp sgt i32 %37, %38 br i1 %39, label %40, label %51 40: ; preds = %29 %41 = load ptr, ptr %8, align 8 %42 = load ptr, ptr %9, align 8 %43 = load i32, ptr %42, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds ptr, ptr %41, i64 %44 %46 = load ptr, ptr %45, align 8 %47 = load i32, ptr %12, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i8, ptr %46, i64 %48 %50 = load ptr, ptr %10, align 8 store ptr %49, ptr %50, align 8 br label %66 51: ; preds = %29 %52 = load ptr, ptr %9, align 8 %53 = load i32, ptr %52, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %52, align 4 %55 = load i32, ptr %7, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %57, label %65 57: ; preds = %51 %58 = load ptr, ptr %8, align 8 %59 = load ptr, ptr %9, align 8 %60 = load i32, ptr %59, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds ptr, ptr %58, i64 %61 %63 = load ptr, ptr %62, align 8 %64 = load ptr, ptr %10, align 8 store ptr %63, ptr %64, align 8 br label %65 65: ; preds = %57, %51 br label %66 66: ; preds = %65, %40 br label %67 67: ; preds = %66, %26 br label %68 68: ; preds = %67, %5 %69 = load i32, ptr %11, align 4 ret i32 %69 } declare i32 @strlen(ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_s_ua3qp.c' source_filename = "/tmp/tmp_s_ua3qp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %6 6: ; preds = %0, %33 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %8 = icmp ne i32 %7, 1 br i1 %8, label %9, label %10 9: ; preds = %6 br label %36 10: ; preds = %6 %11 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) store i32 1, ptr %4, align 4 br label %12 12: ; preds = %32, %10 %13 = load i32, ptr %2, align 4 %14 = add nsw i32 %13, -1 store i32 %14, ptr %2, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %33 16: ; preds = %12 %17 = call i32 @scanf(ptr noundef @.str, ptr noundef %5) %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %3, align 4 %20 = icmp eq i32 %18, %19 br i1 %20, label %21, label %24 21: ; preds = %16 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %4, align 4 br label %32 24: ; preds = %16 %25 = load i32, ptr %4, align 4 %26 = add nsw i32 %25, -1 store i32 %26, ptr %4, align 4 %27 = load i32, ptr %4, align 4 %28 = icmp eq i32 %27, -1 br i1 %28, label %29, label %31 29: ; preds = %24 %30 = load i32, ptr %5, align 4 store i32 %30, ptr %3, align 4 store i32 1, ptr %4, align 4 br label %31 31: ; preds = %29, %24 br label %32 32: ; preds = %31, %21 br label %12, !llvm.loop !6 33: ; preds = %12 %34 = load i32, ptr %3, align 4 %35 = call i32 @printf(ptr noundef @.str.1, i32 noundef %34) br label %6 36: ; preds = %9 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/tmp_s_ua3qp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %7 = icmp ne i32 %6, 1 br i1 %7, label %8, label %.lr.ph2 .lr.ph2: ; preds = %0 br label %9 ._crit_edge3: ; preds = %34 br label %8 8: ; preds = %._crit_edge3, %0 br label %39 9: ; preds = %.lr.ph2, %34 %10 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) store i32 1, ptr %4, align 4 %11 = load i32, ptr %2, align 4 %12 = add nsw i32 %11, -1 store i32 %12, ptr %2, align 4 %13 = icmp ne i32 %12, 0 br i1 %13, label %.lr.ph, label %34 .lr.ph: ; preds = %9 br label %14 14: ; preds = %.lr.ph, %30 %15 = call i32 @scanf(ptr noundef @.str, ptr noundef %5) %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %3, align 4 %18 = icmp eq i32 %16, %17 br i1 %18, label %19, label %22 19: ; preds = %14 %20 = load i32, ptr %4, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %4, align 4 br label %30 22: ; preds = %14 %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 eq i32 %25, -1 br i1 %26, label %27, label %29 27: ; preds = %22 %28 = load i32, ptr %5, align 4 store i32 %28, ptr %3, align 4 store i32 1, ptr %4, align 4 br label %29 29: ; preds = %27, %22 br label %30 30: ; preds = %29, %19 %31 = load i32, ptr %2, align 4 %32 = add nsw i32 %31, -1 store i32 %32, ptr %2, align 4 %33 = icmp ne i32 %32, 0 br i1 %33, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %30 br label %34 34: ; preds = %._crit_edge, %9 %35 = load i32, ptr %3, align 4 %36 = call i32 @printf(ptr noundef @.str.1, i32 noundef %35) %37 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %38 = icmp ne i32 %37, 1 br i1 %38, label %._crit_edge3, label %9 39: ; preds = %8 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/tmpyz65cyxt.c' source_filename = "/tmp/tmpyz65cyxt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @primitive_gc() #0 { %1 = call i32 (...) @gc() ret void } declare i32 @gc(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyz65cyxt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @primitive_gc() #0 { %1 = call i32 (...) @gc() ret void } declare i32 @gc(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgyppmksy.c' source_filename = "/tmp/tmpgyppmksy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"megadl '%s' &\00", align 1 @.str.1 = private unnamed_addr constant [46 x i8] c"Usage: ./megas link1 link2 link3 link4 linkn\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 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 = icmp sgt i32 %8, 1 br i1 %9, label %10, label %38 10: ; preds = %2 store i32 1, ptr %6, align 4 br label %11 11: ; preds = %34, %10 %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %37 15: ; preds = %11 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %6, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds ptr, ptr %16, i64 %18 %20 = load ptr, ptr %19, align 8 %21 = call i64 @snprintf(ptr noundef null, i32 noundef 0, ptr noundef @.str, ptr noundef %20) %22 = add nsw i64 %21, 1 %23 = call i64 @malloc(i64 noundef %22) %24 = inttoptr i64 %23 to ptr store ptr %24, ptr %7, align 8 %25 = load ptr, ptr %7, align 8 %26 = load ptr, ptr %5, align 8 %27 = load i32, ptr %6, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds ptr, ptr %26, i64 %28 %30 = load ptr, ptr %29, align 8 %31 = call i32 @sprintf(ptr noundef %25, ptr noundef @.str, ptr noundef %30) %32 = load ptr, ptr %7, align 8 %33 = call i32 @system(ptr noundef %32) br label %34 34: ; preds = %15 %35 = load i32, ptr %6, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %6, align 4 br label %11, !llvm.loop !6 37: ; preds = %11 br label %40 38: ; preds = %2 %39 = call i32 @printf(ptr noundef @.str.1) br label %40 40: ; preds = %38, %37 ret i32 0 } declare i64 @malloc(i64 noundef) #1 declare i64 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @system(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgyppmksy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"megadl '%s' &\00", align 1 @.str.1 = private unnamed_addr constant [46 x i8] c"Usage: ./megas link1 link2 link3 link4 linkn\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 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 = icmp sgt i32 %8, 1 br i1 %9, label %10, label %40 10: ; preds = %2 store i32 1, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %.lr.ph, label %39 .lr.ph: ; preds = %10 br label %14 14: ; preds = %.lr.ph, %33 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %6, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds ptr, ptr %15, i64 %17 %19 = load ptr, ptr %18, align 8 %20 = call i64 @snprintf(ptr noundef null, i32 noundef 0, ptr noundef @.str, ptr noundef %19) %21 = add nsw i64 %20, 1 %22 = call i64 @malloc(i64 noundef %21) %23 = inttoptr i64 %22 to ptr store ptr %23, ptr %7, align 8 %24 = load ptr, ptr %7, align 8 %25 = load ptr, ptr %5, align 8 %26 = load i32, ptr %6, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds ptr, ptr %25, i64 %27 %29 = load ptr, ptr %28, align 8 %30 = call i32 @sprintf(ptr noundef %24, ptr noundef @.str, ptr noundef %29) %31 = load ptr, ptr %7, align 8 %32 = call i32 @system(ptr noundef %31) br label %33 33: ; preds = %14 %34 = load i32, ptr %6, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %6, align 4 %36 = load i32, ptr %6, align 4 %37 = load i32, ptr %4, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %39 39: ; preds = %._crit_edge, %10 br label %42 40: ; preds = %2 %41 = call i32 @printf(ptr noundef @.str.1) br label %42 42: ; preds = %40, %39 ret i32 0 } declare i64 @malloc(i64 noundef) #1 declare i64 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @system(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpzdskrxp2.c' source_filename = "/tmp/tmpzdskrxp2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ConvertInstr(i32 noundef %0, float noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca float, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca float, align 4 %16 = alloca float, align 4 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store float %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 store i32 0, ptr %11, align 4 %19 = load i32, ptr %5, align 4 store i32 %19, ptr %9, align 4 %20 = load i32, ptr %7, align 4 store i32 %20, ptr %10, align 4 %21 = call i32 @ipow_(ptr noundef %9) store i32 %21, ptr %12, align 4 store float 0.000000e+00, ptr %16, align 4 %22 = load float, ptr %6, align 4 %23 = fdiv float 1.000000e+00, %22 store float %23, ptr %15, align 4 %24 = load i32, ptr %12, align 4 %25 = add nsw i32 %24, 10 %26 = sext i32 %25 to i64 %27 = mul i64 8, %26 %28 = trunc i64 %27 to i32 %29 = call i64 @malloc(i32 noundef %28) %30 = inttoptr i64 %29 to ptr store ptr %30, ptr %17, align 8 %31 = load i32, ptr %12, align 4 %32 = add nsw i32 %31, 10 %33 = sext i32 %32 to i64 %34 = mul i64 4, %33 %35 = trunc i64 %34 to i32 %36 = call i64 @malloc(i32 noundef %35) %37 = inttoptr i64 %36 to ptr store ptr %37, ptr %18, align 8 store i32 0, ptr %13, align 4 br label %38 38: ; preds = %52, %4 %39 = load i32, ptr %13, align 4 %40 = load i32, ptr %5, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %42, label %55 42: ; preds = %38 %43 = load ptr, ptr %8, align 8 %44 = load i32, ptr %13, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds float, ptr %43, i64 %45 %47 = load float, ptr %46, align 4 %48 = load ptr, ptr %18, align 8 %49 = load i32, ptr %13, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds float, ptr %48, i64 %50 store float %47, ptr %51, align 4 br label %52 52: ; preds = %42 %53 = load i32, ptr %13, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %13, align 4 br label %38, !llvm.loop !6 55: ; preds = %38 %56 = load ptr, ptr %18, align 8 %57 = load ptr, ptr %17, align 8 %58 = call i32 @coinst_(ptr noundef %9, ptr noundef %15, ptr noundef %10, ptr noundef %11, ptr noundef %56, ptr noundef %57, ptr noundef %16, ptr noundef %16, ptr noundef %14) store i32 0, ptr %13, align 4 br label %59 59: ; preds = %73, %55 %60 = load i32, ptr %13, align 4 %61 = load i32, ptr %5, align 4 %62 = icmp slt i32 %60, %61 br i1 %62, label %63, label %76 63: ; preds = %59 %64 = load ptr, ptr %18, align 8 %65 = load i32, ptr %13, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds float, ptr %64, i64 %66 %68 = load float, ptr %67, align 4 %69 = load ptr, ptr %8, align 8 %70 = load i32, ptr %13, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds float, ptr %69, i64 %71 store float %68, ptr %72, align 4 br label %73 73: ; preds = %63 %74 = load i32, ptr %13, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %13, align 4 br label %59, !llvm.loop !8 76: ; preds = %59 %77 = load ptr, ptr %18, align 8 %78 = call i32 @free(ptr noundef %77) %79 = load ptr, ptr %17, align 8 %80 = call i32 @free(ptr noundef %79) ret void } declare i32 @ipow_(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @coinst_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzdskrxp2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ConvertInstr(i32 noundef %0, float noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca float, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca float, align 4 %16 = alloca float, align 4 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store float %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 store i32 0, ptr %11, align 4 %19 = load i32, ptr %5, align 4 store i32 %19, ptr %9, align 4 %20 = load i32, ptr %7, align 4 store i32 %20, ptr %10, align 4 %21 = call i32 @ipow_(ptr noundef %9) store i32 %21, ptr %12, align 4 store float 0.000000e+00, ptr %16, align 4 %22 = load float, ptr %6, align 4 %23 = fdiv float 1.000000e+00, %22 store float %23, ptr %15, align 4 %24 = load i32, ptr %12, align 4 %25 = add nsw i32 %24, 10 %26 = sext i32 %25 to i64 %27 = mul i64 8, %26 %28 = trunc i64 %27 to i32 %29 = call i64 @malloc(i32 noundef %28) %30 = inttoptr i64 %29 to ptr store ptr %30, ptr %17, align 8 %31 = load i32, ptr %12, align 4 %32 = add nsw i32 %31, 10 %33 = sext i32 %32 to i64 %34 = mul i64 4, %33 %35 = trunc i64 %34 to i32 %36 = call i64 @malloc(i32 noundef %35) %37 = inttoptr i64 %36 to ptr store ptr %37, ptr %18, align 8 store i32 0, ptr %13, align 4 %38 = load i32, ptr %13, align 4 %39 = load i32, ptr %5, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %.lr.ph, label %57 .lr.ph: ; preds = %4 br label %41 41: ; preds = %.lr.ph, %51 %42 = load ptr, ptr %8, align 8 %43 = load i32, ptr %13, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds float, ptr %42, i64 %44 %46 = load float, ptr %45, align 4 %47 = load ptr, ptr %18, align 8 %48 = load i32, ptr %13, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds float, ptr %47, i64 %49 store float %46, ptr %50, align 4 br label %51 51: ; preds = %41 %52 = load i32, ptr %13, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %13, align 4 %54 = load i32, ptr %13, align 4 %55 = load i32, ptr %5, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %41, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %51 br label %57 57: ; preds = %._crit_edge, %4 %58 = load ptr, ptr %18, align 8 %59 = load ptr, ptr %17, align 8 %60 = call i32 @coinst_(ptr noundef %9, ptr noundef %15, ptr noundef %10, ptr noundef %11, ptr noundef %58, ptr noundef %59, ptr noundef %16, ptr noundef %16, ptr noundef %14) store i32 0, ptr %13, align 4 %61 = load i32, ptr %13, align 4 %62 = load i32, ptr %5, align 4 %63 = icmp slt i32 %61, %62 br i1 %63, label %.lr.ph2, label %80 .lr.ph2: ; preds = %57 br label %64 64: ; preds = %.lr.ph2, %74 %65 = load ptr, ptr %18, align 8 %66 = load i32, ptr %13, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds float, ptr %65, i64 %67 %69 = load float, ptr %68, align 4 %70 = load ptr, ptr %8, align 8 %71 = load i32, ptr %13, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds float, ptr %70, i64 %72 store float %69, ptr %73, align 4 br label %74 74: ; preds = %64 %75 = load i32, ptr %13, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %13, align 4 %77 = load i32, ptr %13, align 4 %78 = load i32, ptr %5, align 4 %79 = icmp slt i32 %77, %78 br i1 %79, label %64, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %74 br label %80 80: ; preds = %._crit_edge3, %57 %81 = load ptr, ptr %18, align 8 %82 = call i32 @free(ptr noundef %81) %83 = load ptr, ptr %17, align 8 %84 = call i32 @free(ptr noundef %83) ret void } declare i32 @ipow_(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @coinst_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpp_mf5ale.c' source_filename = "/tmp/tmpp_mf5ale.c" target datalayout = "e-m:e-p270: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/tmpp_mf5ale.c" target datalayout = "e-m:e-p270: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/tmprkdbg16d.c' source_filename = "/tmp/tmprkdbg16d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%c\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 @isalnum(i8 noundef signext 36) %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) %4 = call i32 @isalnum(i8 noundef signext 97) %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) %6 = call i32 @isalpha(i8 noundef signext 97) %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) %8 = call i32 @isalpha(i8 noundef signext 49) %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) %10 = call i32 @isdigit(i8 noundef signext 49) %11 = call i32 @printf(ptr noundef @.str, i32 noundef %10) %12 = call i32 @isdigit(i8 noundef signext 104) %13 = call i32 @printf(ptr noundef @.str, i32 noundef %12) %14 = call i32 @isxdigit(i8 noundef signext 104) %15 = call i32 @printf(ptr noundef @.str, i32 noundef %14) %16 = call i32 @isxdigit(i8 noundef signext 48) %17 = call i32 @printf(ptr noundef @.str, i32 noundef %16) %18 = call i32 @islower(i8 noundef signext 104) %19 = call i32 @printf(ptr noundef @.str, i32 noundef %18) %20 = call i32 @islower(i8 noundef signext 72) %21 = call i32 @printf(ptr noundef @.str, i32 noundef %20) %22 = call i32 @isupper(i8 noundef signext 104) %23 = call i32 @printf(ptr noundef @.str, i32 noundef %22) %24 = call i32 @isupper(i8 noundef signext 72) %25 = call i32 @printf(ptr noundef @.str, i32 noundef %24) %26 = call i32 @tolower(i8 noundef signext 72) %27 = call i32 @printf(ptr noundef @.str.1, i32 noundef %26) %28 = call i32 @toupper(i8 noundef signext 98) %29 = call i32 @printf(ptr noundef @.str.1, i32 noundef %28) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @isalnum(i8 noundef signext) #1 declare i32 @isalpha(i8 noundef signext) #1 declare i32 @isdigit(i8 noundef signext) #1 declare i32 @isxdigit(i8 noundef signext) #1 declare i32 @islower(i8 noundef signext) #1 declare i32 @isupper(i8 noundef signext) #1 declare i32 @tolower(i8 noundef signext) #1 declare i32 @toupper(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprkdbg16d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%c\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 @isalnum(i8 noundef signext 36) %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) %4 = call i32 @isalnum(i8 noundef signext 97) %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) %6 = call i32 @isalpha(i8 noundef signext 97) %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) %8 = call i32 @isalpha(i8 noundef signext 49) %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) %10 = call i32 @isdigit(i8 noundef signext 49) %11 = call i32 @printf(ptr noundef @.str, i32 noundef %10) %12 = call i32 @isdigit(i8 noundef signext 104) %13 = call i32 @printf(ptr noundef @.str, i32 noundef %12) %14 = call i32 @isxdigit(i8 noundef signext 104) %15 = call i32 @printf(ptr noundef @.str, i32 noundef %14) %16 = call i32 @isxdigit(i8 noundef signext 48) %17 = call i32 @printf(ptr noundef @.str, i32 noundef %16) %18 = call i32 @islower(i8 noundef signext 104) %19 = call i32 @printf(ptr noundef @.str, i32 noundef %18) %20 = call i32 @islower(i8 noundef signext 72) %21 = call i32 @printf(ptr noundef @.str, i32 noundef %20) %22 = call i32 @isupper(i8 noundef signext 104) %23 = call i32 @printf(ptr noundef @.str, i32 noundef %22) %24 = call i32 @isupper(i8 noundef signext 72) %25 = call i32 @printf(ptr noundef @.str, i32 noundef %24) %26 = call i32 @tolower(i8 noundef signext 72) %27 = call i32 @printf(ptr noundef @.str.1, i32 noundef %26) %28 = call i32 @toupper(i8 noundef signext 98) %29 = call i32 @printf(ptr noundef @.str.1, i32 noundef %28) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @isalnum(i8 noundef signext) #1 declare i32 @isalpha(i8 noundef signext) #1 declare i32 @isdigit(i8 noundef signext) #1 declare i32 @isxdigit(i8 noundef signext) #1 declare i32 @islower(i8 noundef signext) #1 declare i32 @isupper(i8 noundef signext) #1 declare i32 @tolower(i8 noundef signext) #1 declare i32 @toupper(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}