llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp53x90afy.c' source_filename = "/tmp/tmp53x90afy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strnchr(ptr noundef %0, i16 noundef signext %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i16, align 2 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i16 %1, ptr %6, align 2 store i32 %2, ptr %7, align 4 %9 = load ptr, ptr %5, align 8 %10 = ptrtoint ptr %9 to i32 %11 = load i32, ptr %7, align 4 %12 = add nsw i32 %10, %11 %13 = sext i32 %12 to i64 %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %8, align 8 br label %15 15: ; preds = %28, %3 %16 = load ptr, ptr %5, align 8 %17 = load ptr, ptr %8, align 8 %18 = icmp ult ptr %16, %17 br i1 %18, label %19, label %31 19: ; preds = %15 %20 = load ptr, ptr %5, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = load i16, ptr %6, align 2 %24 = sext i16 %23 to i32 %25 = icmp eq i32 %22, %24 br i1 %25, label %26, label %28 26: ; preds = %19 %27 = load ptr, ptr %5, align 8 store ptr %27, ptr %4, align 8 br label %32 28: ; preds = %19 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 1 store ptr %30, ptr %5, align 8 br label %15, !llvm.loop !6 31: ; preds = %15 store ptr null, ptr %4, align 8 br label %32 32: ; preds = %31, %26 %33 = load ptr, ptr %4, align 8 ret ptr %33 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp53x90afy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strnchr(ptr noundef %0, i16 noundef signext %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i16, align 2 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i16 %1, ptr %6, align 2 store i32 %2, ptr %7, align 4 %9 = load ptr, ptr %5, align 8 %10 = ptrtoint ptr %9 to i32 %11 = load i32, ptr %7, align 4 %12 = add nsw i32 %10, %11 %13 = sext i32 %12 to i64 %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %8, align 8 %15 = load ptr, ptr %5, align 8 %16 = load ptr, ptr %8, align 8 %17 = icmp ult ptr %15, %16 br i1 %17, label %.lr.ph, label %33 .lr.ph: ; preds = %3 br label %18 18: ; preds = %.lr.ph, %27 %19 = load ptr, ptr %5, align 8 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = load i16, ptr %6, align 2 %23 = sext i16 %22 to i32 %24 = icmp eq i32 %21, %23 br i1 %24, label %25, label %27 25: ; preds = %18 %26 = load ptr, ptr %5, align 8 store ptr %26, ptr %4, align 8 br label %34 27: ; preds = %18 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds i8, ptr %28, i32 1 store ptr %29, ptr %5, align 8 %30 = load ptr, ptr %5, align 8 %31 = load ptr, ptr %8, align 8 %32 = icmp ult ptr %30, %31 br i1 %32, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %33 33: ; preds = %._crit_edge, %3 store ptr null, ptr %4, align 8 br label %34 34: ; preds = %33, %25 %35 = load ptr, ptr %4, align 8 ret ptr %35 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpsqxpdt6g.c' source_filename = "/tmp/tmpsqxpdt6g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.tm = type { i32, i64, i64, i64, i64, i64 } @scan_httpdate.months = internal constant [37 x i8] c"JanFebMarAprMayJunJulAugSepOctNovDec\00", align 16 @.str = private unnamed_addr constant [4 x i8] c"GMT\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"TZ\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @scan_httpdate(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca %struct.tm, align 8 %7 = alloca i32, align 4 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %11 = load ptr, ptr %4, align 8 store ptr %11, ptr %9, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %14, label %13 13: ; preds = %2 store i64 0, ptr %3, align 8 br label %214 14: ; preds = %2 %15 = load ptr, ptr %9, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 3 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp eq i32 %18, 44 br i1 %19, label %20, label %23 20: ; preds = %14 %21 = load ptr, ptr %9, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 5 store ptr %22, ptr %9, align 8 br label %89 23: ; preds = %14 %24 = load ptr, ptr %9, align 8 %25 = getelementptr inbounds i8, ptr %24, i64 6 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp eq i32 %27, 44 br i1 %28, label %29, label %32 29: ; preds = %23 %30 = load ptr, ptr %9, align 8 %31 = getelementptr inbounds i8, ptr %30, i64 8 store ptr %31, ptr %9, align 8 br label %88 32: ; preds = %23 %33 = load ptr, ptr %9, align 8 %34 = getelementptr inbounds i8, ptr %33, i64 4 store ptr %34, ptr %9, align 8 store i32 0, ptr %7, align 4 br label %35 35: ; preds = %50, %32 %36 = load i32, ptr %7, align 4 %37 = icmp slt i32 %36, 12 br i1 %37, label %38, label %53 38: ; preds = %35 %39 = load ptr, ptr %9, align 8 %40 = load i32, ptr %7, align 4 %41 = mul nsw i32 %40, 3 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr @scan_httpdate.months, i64 %42 %44 = call i32 @case_diffb(ptr noundef %39, i32 noundef 3, ptr noundef %43) %45 = icmp ne i32 %44, 0 br i1 %45, label %49, label %46 46: ; preds = %38 %47 = load i32, ptr %7, align 4 %48 = getelementptr inbounds %struct.tm, ptr %6, i32 0, i32 0 store i32 %47, ptr %48, align 8 br label %53 49: ; preds = %38 br label %50 50: ; preds = %49 %51 = load i32, ptr %7, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %7, align 4 br label %35, !llvm.loop !6 53: ; preds = %46, %35 %54 = load ptr, ptr %9, align 8 %55 = getelementptr inbounds i8, ptr %54, i64 4 store ptr %55, ptr %9, align 8 %56 = load ptr, ptr %9, align 8 %57 = load i8, ptr %56, align 1 %58 = sext i8 %57 to i32 %59 = icmp eq i32 %58, 32 br i1 %59, label %60, label %63 60: ; preds = %53 %61 = load ptr, ptr %9, align 8 %62 = getelementptr inbounds i8, ptr %61, i32 1 store ptr %62, ptr %9, align 8 br label %63 63: ; preds = %60, %53 %64 = load ptr, ptr %9, align 8 %65 = call i32 @scan_ulong(ptr noundef %64, ptr noundef %8) %66 = load ptr, ptr %9, align 8 %67 = sext i32 %65 to i64 %68 = getelementptr inbounds i8, ptr %66, i64 %67 store ptr %68, ptr %9, align 8 %69 = load i64, ptr %8, align 8 %70 = getelementptr inbounds %struct.tm, ptr %6, i32 0, i32 1 store i64 %69, ptr %70, align 8 %71 = load ptr, ptr %9, align 8 %72 = getelementptr inbounds i8, ptr %71, i32 1 store ptr %72, ptr %9, align 8 %73 = load ptr, ptr %9, align 8 %74 = call i64 @parsetime(ptr noundef %73, ptr noundef %6) %75 = icmp ne i64 %74, 0 br i1 %75, label %76, label %77 76: ; preds = %63 store i64 0, ptr %3, align 8 br label %214 77: ; preds = %63 %78 = load ptr, ptr %9, align 8 %79 = getelementptr inbounds i8, ptr %78, i64 9 store ptr %79, ptr %9, align 8 %80 = load ptr, ptr %9, align 8 %81 = call i32 @scan_ulong(ptr noundef %80, ptr noundef %8) %82 = load ptr, ptr %9, align 8 %83 = sext i32 %81 to i64 %84 = getelementptr inbounds i8, ptr %82, i64 %83 store ptr %84, ptr %9, align 8 %85 = load i64, ptr %8, align 8 %86 = sub i64 %85, 1900 %87 = getelementptr inbounds %struct.tm, ptr %6, i32 0, i32 2 store i64 %86, ptr %87, align 8 br label %195 88: ; preds = %29 br label %89 89: ; preds = %88, %20 %90 = load ptr, ptr %9, align 8 %91 = call i32 @scan_ulong(ptr noundef %90, ptr noundef %8) %92 = load ptr, ptr %9, align 8 %93 = sext i32 %91 to i64 %94 = getelementptr inbounds i8, ptr %92, i64 %93 store ptr %94, ptr %9, align 8 %95 = load i64, ptr %8, align 8 %96 = getelementptr inbounds %struct.tm, ptr %6, i32 0, i32 1 store i64 %95, ptr %96, align 8 br label %97 97: ; preds = %102, %89 %98 = load ptr, ptr %9, align 8 %99 = load i8, ptr %98, align 1 %100 = sext i8 %99 to i32 %101 = icmp eq i32 %100, 32 br i1 %101, label %102, label %105 102: ; preds = %97 %103 = load ptr, ptr %9, align 8 %104 = getelementptr inbounds i8, ptr %103, i32 1 store ptr %104, ptr %9, align 8 br label %97, !llvm.loop !8 105: ; preds = %97 store i32 0, ptr %7, align 4 br label %106 106: ; preds = %121, %105 %107 = load i32, ptr %7, align 4 %108 = icmp slt i32 %107, 12 br i1 %108, label %109, label %124 109: ; preds = %106 %110 = load ptr, ptr %9, align 8 %111 = load i32, ptr %7, align 4 %112 = mul nsw i32 %111, 3 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds i8, ptr @scan_httpdate.months, i64 %113 %115 = call i32 @case_diffb(ptr noundef %110, i32 noundef 3, ptr noundef %114) %116 = icmp ne i32 %115, 0 br i1 %116, label %120, label %117 117: ; preds = %109 %118 = load i32, ptr %7, align 4 %119 = getelementptr inbounds %struct.tm, ptr %6, i32 0, i32 0 store i32 %118, ptr %119, align 8 br label %124 120: ; preds = %109 br label %121 121: ; preds = %120 %122 = load i32, ptr %7, align 4 %123 = add nsw i32 %122, 1 store i32 %123, ptr %7, align 4 br label %106, !llvm.loop !9 124: ; preds = %117, %106 %125 = load ptr, ptr %9, align 8 %126 = getelementptr inbounds i8, ptr %125, i64 4 store ptr %126, ptr %9, align 8 %127 = load ptr, ptr %9, align 8 %128 = call i32 @scan_ulong(ptr noundef %127, ptr noundef %8) %129 = load ptr, ptr %9, align 8 %130 = sext i32 %128 to i64 %131 = getelementptr inbounds i8, ptr %129, i64 %130 store ptr %131, ptr %9, align 8 %132 = load i64, ptr %8, align 8 %133 = icmp ugt i64 %132, 1000 br i1 %133, label %134, label %138 134: ; preds = %124 %135 = load i64, ptr %8, align 8 %136 = sub i64 %135, 1900 %137 = getelementptr inbounds %struct.tm, ptr %6, i32 0, i32 2 store i64 %136, ptr %137, align 8 br label %149 138: ; preds = %124 %139 = load i64, ptr %8, align 8 %140 = icmp ult i64 %139, 70 br i1 %140, label %141, label %145 141: ; preds = %138 %142 = load i64, ptr %8, align 8 %143 = add i64 %142, 100 %144 = getelementptr inbounds %struct.tm, ptr %6, i32 0, i32 2 store i64 %143, ptr %144, align 8 br label %148 145: ; preds = %138 %146 = load i64, ptr %8, align 8 %147 = getelementptr inbounds %struct.tm, ptr %6, i32 0, i32 2 store i64 %146, ptr %147, align 8 br label %148 148: ; preds = %145, %141 br label %149 149: ; preds = %148, %134 %150 = load ptr, ptr %9, align 8 %151 = getelementptr inbounds i8, ptr %150, i32 1 store ptr %151, ptr %9, align 8 %152 = load ptr, ptr %9, align 8 %153 = call i64 @parsetime(ptr noundef %152, ptr noundef %6) %154 = icmp ne i64 %153, 0 br i1 %154, label %155, label %156 155: ; preds = %149 store i64 0, ptr %3, align 8 br label %214 156: ; preds = %149 %157 = load ptr, ptr %9, align 8 %158 = getelementptr inbounds i8, ptr %157, i64 9 store ptr %158, ptr %9, align 8 %159 = load ptr, ptr %9, align 8 %160 = call i32 @byte_diff(ptr noundef %159, i32 noundef 3, ptr noundef @.str) %161 = icmp ne i32 %160, 0 br i1 %161, label %165, label %162 162: ; preds = %156 %163 = load ptr, ptr %9, align 8 %164 = getelementptr inbounds i8, ptr %163, i64 3 store ptr %164, ptr %9, align 8 br label %165 165: ; preds = %162, %156 %166 = load ptr, ptr %9, align 8 %167 = load i8, ptr %166, align 1 %168 = sext i8 %167 to i32 %169 = icmp eq i32 %168, 43 br i1 %169, label %175, label %170 170: ; preds = %165 %171 = load ptr, ptr %9, align 8 %172 = load i8, ptr %171, align 1 %173 = sext i8 %172 to i32 %174 = icmp eq i32 %173, 45 br i1 %174, label %175, label %194 175: ; preds = %170, %165 %176 = load ptr, ptr %9, align 8 %177 = getelementptr inbounds i8, ptr %176, i32 1 store ptr %177, ptr %9, align 8 br label %178 178: ; preds = %190, %175 %179 = load ptr, ptr %9, align 8 %180 = load i8, ptr %179, align 1 %181 = sext i8 %180 to i32 %182 = icmp sge i32 %181, 48 br i1 %182, label %183, label %188 183: ; preds = %178 %184 = load ptr, ptr %9, align 8 %185 = load i8, ptr %184, align 1 %186 = sext i8 %185 to i32 %187 = icmp sle i32 %186, 57 br label %188 188: ; preds = %183, %178 %189 = phi i1 [ false, %178 ], [ %187, %183 ] br i1 %189, label %190, label %193 190: ; preds = %188 %191 = load ptr, ptr %9, align 8 %192 = getelementptr inbounds i8, ptr %191, i32 1 store ptr %192, ptr %9, align 8 br label %178, !llvm.loop !10 193: ; preds = %188 br label %194 194: ; preds = %193, %170 br label %195 195: ; preds = %194, %77 %196 = getelementptr inbounds %struct.tm, ptr %6, i32 0, i32 3 store i64 0, ptr %196, align 8 %197 = getelementptr inbounds %struct.tm, ptr %6, i32 0, i32 4 store i64 0, ptr %197, align 8 %198 = getelementptr inbounds %struct.tm, ptr %6, i32 0, i32 5 store i64 0, ptr %198, align 8 %199 = call ptr @getenv(ptr noundef @.str.1) store ptr %199, ptr %10, align 8 %200 = call i32 @unsetenv(ptr noundef @.str.1) %201 = call i32 @mktime(ptr noundef %6) %202 = load ptr, ptr %5, align 8 store i32 %201, ptr %202, align 4 %203 = load ptr, ptr %10, align 8 %204 = icmp ne ptr %203, null br i1 %204, label %205, label %208 205: ; preds = %195 %206 = load ptr, ptr %10, align 8 %207 = call i32 @setenv(ptr noundef @.str.1, ptr noundef %206, i32 noundef 1) br label %208 208: ; preds = %205, %195 %209 = load ptr, ptr %9, align 8 %210 = load ptr, ptr %4, align 8 %211 = ptrtoint ptr %209 to i64 %212 = ptrtoint ptr %210 to i64 %213 = sub i64 %211, %212 store i64 %213, ptr %3, align 8 br label %214 214: ; preds = %208, %155, %76, %13 %215 = load i64, ptr %3, align 8 ret i64 %215 } declare i32 @case_diffb(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @scan_ulong(ptr noundef, ptr noundef) #1 declare i64 @parsetime(ptr noundef, ptr noundef) #1 declare i32 @byte_diff(ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @getenv(ptr noundef) #1 declare i32 @unsetenv(ptr noundef) #1 declare i32 @mktime(ptr noundef) #1 declare i32 @setenv(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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsqxpdt6g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.tm = type { i32, i64, i64, i64, i64, i64 } @scan_httpdate.months = internal constant [37 x i8] c"JanFebMarAprMayJunJulAugSepOctNovDec\00", align 16 @.str = private unnamed_addr constant [4 x i8] c"GMT\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"TZ\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @scan_httpdate(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca %struct.tm, align 8 %7 = alloca i32, align 4 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %11 = load ptr, ptr %4, align 8 store ptr %11, ptr %9, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %14, label %13 13: ; preds = %2 store i64 0, ptr %3, align 8 br label %219 14: ; preds = %2 %15 = load ptr, ptr %9, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 3 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp eq i32 %18, 44 br i1 %19, label %20, label %23 20: ; preds = %14 %21 = load ptr, ptr %9, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 5 store ptr %22, ptr %9, align 8 br label %90 23: ; preds = %14 %24 = load ptr, ptr %9, align 8 %25 = getelementptr inbounds i8, ptr %24, i64 6 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp eq i32 %27, 44 br i1 %28, label %29, label %32 29: ; preds = %23 %30 = load ptr, ptr %9, align 8 %31 = getelementptr inbounds i8, ptr %30, i64 8 store ptr %31, ptr %9, align 8 br label %89 32: ; preds = %23 %33 = load ptr, ptr %9, align 8 %34 = getelementptr inbounds i8, ptr %33, i64 4 store ptr %34, ptr %9, align 8 store i32 0, ptr %7, align 4 %35 = load i32, ptr %7, align 4 %36 = icmp slt i32 %35, 12 br i1 %36, label %.lr.ph, label %.loopexit1 .lr.ph: ; preds = %32 br label %37 37: ; preds = %.lr.ph, %49 %38 = load ptr, ptr %9, align 8 %39 = load i32, ptr %7, align 4 %40 = mul nsw i32 %39, 3 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr @scan_httpdate.months, i64 %41 %43 = call i32 @case_diffb(ptr noundef %38, i32 noundef 3, ptr noundef %42) %44 = icmp ne i32 %43, 0 br i1 %44, label %48, label %45 45: ; preds = %37 %46 = load i32, ptr %7, align 4 %47 = getelementptr inbounds %struct.tm, ptr %6, i32 0, i32 0 store i32 %46, ptr %47, align 8 br label %54 48: ; preds = %37 br label %49 49: ; preds = %48 %50 = load i32, ptr %7, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %7, align 4 %52 = load i32, ptr %7, align 4 %53 = icmp slt i32 %52, 12 br i1 %53, label %37, label %..loopexit1_crit_edge, !llvm.loop !6 ..loopexit1_crit_edge: ; preds = %49 br label %.loopexit1 .loopexit1: ; preds = %..loopexit1_crit_edge, %32 br label %54 54: ; preds = %.loopexit1, %45 %55 = load ptr, ptr %9, align 8 %56 = getelementptr inbounds i8, ptr %55, i64 4 store ptr %56, ptr %9, align 8 %57 = load ptr, ptr %9, align 8 %58 = load i8, ptr %57, align 1 %59 = sext i8 %58 to i32 %60 = icmp eq i32 %59, 32 br i1 %60, label %61, label %64 61: ; preds = %54 %62 = load ptr, ptr %9, align 8 %63 = getelementptr inbounds i8, ptr %62, i32 1 store ptr %63, ptr %9, align 8 br label %64 64: ; preds = %61, %54 %65 = load ptr, ptr %9, align 8 %66 = call i32 @scan_ulong(ptr noundef %65, ptr noundef %8) %67 = load ptr, ptr %9, align 8 %68 = sext i32 %66 to i64 %69 = getelementptr inbounds i8, ptr %67, i64 %68 store ptr %69, ptr %9, align 8 %70 = load i64, ptr %8, align 8 %71 = getelementptr inbounds %struct.tm, ptr %6, i32 0, i32 1 store i64 %70, ptr %71, align 8 %72 = load ptr, ptr %9, align 8 %73 = getelementptr inbounds i8, ptr %72, i32 1 store ptr %73, ptr %9, align 8 %74 = load ptr, ptr %9, align 8 %75 = call i64 @parsetime(ptr noundef %74, ptr noundef %6) %76 = icmp ne i64 %75, 0 br i1 %76, label %77, label %78 77: ; preds = %64 store i64 0, ptr %3, align 8 br label %219 78: ; preds = %64 %79 = load ptr, ptr %9, align 8 %80 = getelementptr inbounds i8, ptr %79, i64 9 store ptr %80, ptr %9, align 8 %81 = load ptr, ptr %9, align 8 %82 = call i32 @scan_ulong(ptr noundef %81, ptr noundef %8) %83 = load ptr, ptr %9, align 8 %84 = sext i32 %82 to i64 %85 = getelementptr inbounds i8, ptr %83, i64 %84 store ptr %85, ptr %9, align 8 %86 = load i64, ptr %8, align 8 %87 = sub i64 %86, 1900 %88 = getelementptr inbounds %struct.tm, ptr %6, i32 0, i32 2 store i64 %87, ptr %88, align 8 br label %200 89: ; preds = %29 br label %90 90: ; preds = %89, %20 %91 = load ptr, ptr %9, align 8 %92 = call i32 @scan_ulong(ptr noundef %91, ptr noundef %8) %93 = load ptr, ptr %9, align 8 %94 = sext i32 %92 to i64 %95 = getelementptr inbounds i8, ptr %93, i64 %94 store ptr %95, ptr %9, align 8 %96 = load i64, ptr %8, align 8 %97 = getelementptr inbounds %struct.tm, ptr %6, i32 0, i32 1 store i64 %96, ptr %97, align 8 %98 = load ptr, ptr %9, align 8 %99 = load i8, ptr %98, align 1 %100 = sext i8 %99 to i32 %101 = icmp eq i32 %100, 32 br i1 %101, label %.lr.ph2, label %109 .lr.ph2: ; preds = %90 br label %102 102: ; preds = %.lr.ph2, %102 %103 = load ptr, ptr %9, align 8 %104 = getelementptr inbounds i8, ptr %103, i32 1 store ptr %104, ptr %9, align 8 %105 = load ptr, ptr %9, align 8 %106 = load i8, ptr %105, align 1 %107 = sext i8 %106 to i32 %108 = icmp eq i32 %107, 32 br i1 %108, label %102, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %102 br label %109 109: ; preds = %._crit_edge, %90 store i32 0, ptr %7, align 4 %110 = load i32, ptr %7, align 4 %111 = icmp slt i32 %110, 12 br i1 %111, label %.lr.ph4, label %.loopexit .lr.ph4: ; preds = %109 br label %112 112: ; preds = %.lr.ph4, %124 %113 = load ptr, ptr %9, align 8 %114 = load i32, ptr %7, align 4 %115 = mul nsw i32 %114, 3 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds i8, ptr @scan_httpdate.months, i64 %116 %118 = call i32 @case_diffb(ptr noundef %113, i32 noundef 3, ptr noundef %117) %119 = icmp ne i32 %118, 0 br i1 %119, label %123, label %120 120: ; preds = %112 %121 = load i32, ptr %7, align 4 %122 = getelementptr inbounds %struct.tm, ptr %6, i32 0, i32 0 store i32 %121, ptr %122, align 8 br label %129 123: ; preds = %112 br label %124 124: ; preds = %123 %125 = load i32, ptr %7, align 4 %126 = add nsw i32 %125, 1 store i32 %126, ptr %7, align 4 %127 = load i32, ptr %7, align 4 %128 = icmp slt i32 %127, 12 br i1 %128, label %112, label %..loopexit_crit_edge, !llvm.loop !9 ..loopexit_crit_edge: ; preds = %124 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %109 br label %129 129: ; preds = %.loopexit, %120 %130 = load ptr, ptr %9, align 8 %131 = getelementptr inbounds i8, ptr %130, i64 4 store ptr %131, ptr %9, align 8 %132 = load ptr, ptr %9, align 8 %133 = call i32 @scan_ulong(ptr noundef %132, ptr noundef %8) %134 = load ptr, ptr %9, align 8 %135 = sext i32 %133 to i64 %136 = getelementptr inbounds i8, ptr %134, i64 %135 store ptr %136, ptr %9, align 8 %137 = load i64, ptr %8, align 8 %138 = icmp ugt i64 %137, 1000 br i1 %138, label %139, label %143 139: ; preds = %129 %140 = load i64, ptr %8, align 8 %141 = sub i64 %140, 1900 %142 = getelementptr inbounds %struct.tm, ptr %6, i32 0, i32 2 store i64 %141, ptr %142, align 8 br label %154 143: ; preds = %129 %144 = load i64, ptr %8, align 8 %145 = icmp ult i64 %144, 70 br i1 %145, label %146, label %150 146: ; preds = %143 %147 = load i64, ptr %8, align 8 %148 = add i64 %147, 100 %149 = getelementptr inbounds %struct.tm, ptr %6, i32 0, i32 2 store i64 %148, ptr %149, align 8 br label %153 150: ; preds = %143 %151 = load i64, ptr %8, align 8 %152 = getelementptr inbounds %struct.tm, ptr %6, i32 0, i32 2 store i64 %151, ptr %152, align 8 br label %153 153: ; preds = %150, %146 br label %154 154: ; preds = %153, %139 %155 = load ptr, ptr %9, align 8 %156 = getelementptr inbounds i8, ptr %155, i32 1 store ptr %156, ptr %9, align 8 %157 = load ptr, ptr %9, align 8 %158 = call i64 @parsetime(ptr noundef %157, ptr noundef %6) %159 = icmp ne i64 %158, 0 br i1 %159, label %160, label %161 160: ; preds = %154 store i64 0, ptr %3, align 8 br label %219 161: ; preds = %154 %162 = load ptr, ptr %9, align 8 %163 = getelementptr inbounds i8, ptr %162, i64 9 store ptr %163, ptr %9, align 8 %164 = load ptr, ptr %9, align 8 %165 = call i32 @byte_diff(ptr noundef %164, i32 noundef 3, ptr noundef @.str) %166 = icmp ne i32 %165, 0 br i1 %166, label %170, label %167 167: ; preds = %161 %168 = load ptr, ptr %9, align 8 %169 = getelementptr inbounds i8, ptr %168, i64 3 store ptr %169, ptr %9, align 8 br label %170 170: ; preds = %167, %161 %171 = load ptr, ptr %9, align 8 %172 = load i8, ptr %171, align 1 %173 = sext i8 %172 to i32 %174 = icmp eq i32 %173, 43 br i1 %174, label %180, label %175 175: ; preds = %170 %176 = load ptr, ptr %9, align 8 %177 = load i8, ptr %176, align 1 %178 = sext i8 %177 to i32 %179 = icmp eq i32 %178, 45 br i1 %179, label %180, label %199 180: ; preds = %175, %170 %181 = load ptr, ptr %9, align 8 %182 = getelementptr inbounds i8, ptr %181, i32 1 store ptr %182, ptr %9, align 8 br label %183 183: ; preds = %195, %180 %184 = load ptr, ptr %9, align 8 %185 = load i8, ptr %184, align 1 %186 = sext i8 %185 to i32 %187 = icmp sge i32 %186, 48 br i1 %187, label %188, label %193 188: ; preds = %183 %189 = load ptr, ptr %9, align 8 %190 = load i8, ptr %189, align 1 %191 = sext i8 %190 to i32 %192 = icmp sle i32 %191, 57 br label %193 193: ; preds = %188, %183 %194 = phi i1 [ false, %183 ], [ %192, %188 ] br i1 %194, label %195, label %198 195: ; preds = %193 %196 = load ptr, ptr %9, align 8 %197 = getelementptr inbounds i8, ptr %196, i32 1 store ptr %197, ptr %9, align 8 br label %183, !llvm.loop !10 198: ; preds = %193 br label %199 199: ; preds = %198, %175 br label %200 200: ; preds = %199, %78 %201 = getelementptr inbounds %struct.tm, ptr %6, i32 0, i32 3 store i64 0, ptr %201, align 8 %202 = getelementptr inbounds %struct.tm, ptr %6, i32 0, i32 4 store i64 0, ptr %202, align 8 %203 = getelementptr inbounds %struct.tm, ptr %6, i32 0, i32 5 store i64 0, ptr %203, align 8 %204 = call ptr @getenv(ptr noundef @.str.1) store ptr %204, ptr %10, align 8 %205 = call i32 @unsetenv(ptr noundef @.str.1) %206 = call i32 @mktime(ptr noundef %6) %207 = load ptr, ptr %5, align 8 store i32 %206, ptr %207, align 4 %208 = load ptr, ptr %10, align 8 %209 = icmp ne ptr %208, null br i1 %209, label %210, label %213 210: ; preds = %200 %211 = load ptr, ptr %10, align 8 %212 = call i32 @setenv(ptr noundef @.str.1, ptr noundef %211, i32 noundef 1) br label %213 213: ; preds = %210, %200 %214 = load ptr, ptr %9, align 8 %215 = load ptr, ptr %4, align 8 %216 = ptrtoint ptr %214 to i64 %217 = ptrtoint ptr %215 to i64 %218 = sub i64 %216, %217 store i64 %218, ptr %3, align 8 br label %219 219: ; preds = %213, %160, %77, %13 %220 = load i64, ptr %3, align 8 ret i64 %220 } declare i32 @case_diffb(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @scan_ulong(ptr noundef, ptr noundef) #1 declare i64 @parsetime(ptr noundef, ptr noundef) #1 declare i32 @byte_diff(ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @getenv(ptr noundef) #1 declare i32 @unsetenv(ptr noundef) #1 declare i32 @mktime(ptr noundef) #1 declare i32 @setenv(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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpjdnf0nxt.c' source_filename = "/tmp/tmpjdnf0nxt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @common_realloc_leak() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = call i64 @malloc(i32 noundef 4) %4 = inttoptr i64 %3 to ptr store ptr %4, ptr %1, align 8 %5 = load ptr, ptr %1, align 8 %6 = call i64 @realloc(ptr noundef %5, i32 noundef 168) %7 = inttoptr i64 %6 to ptr store ptr %7, ptr %2, align 8 %8 = load ptr, ptr %2, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %13 10: ; preds = %0 %11 = load ptr, ptr %2, align 8 %12 = call i32 @free(ptr noundef %11) br label %13 13: ; preds = %10, %0 ret void } declare i64 @malloc(i32 noundef) #1 declare i64 @realloc(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjdnf0nxt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @common_realloc_leak() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = call i64 @malloc(i32 noundef 4) %4 = inttoptr i64 %3 to ptr store ptr %4, ptr %1, align 8 %5 = load ptr, ptr %1, align 8 %6 = call i64 @realloc(ptr noundef %5, i32 noundef 168) %7 = inttoptr i64 %6 to ptr store ptr %7, ptr %2, align 8 %8 = load ptr, ptr %2, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %13 10: ; preds = %0 %11 = load ptr, ptr %2, align 8 %12 = call i32 @free(ptr noundef %11) br label %13 13: ; preds = %10, %0 ret void } declare i64 @malloc(i32 noundef) #1 declare i64 @realloc(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9jicpeol.c' source_filename = "/tmp/tmp9jicpeol.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_time_xorred() #0 { %1 = alloca %struct.timeval, align 4 %2 = call i32 @gettimeofday(ptr noundef %1, i32 noundef 0) %3 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0 %4 = load i32, ptr %3, align 4 %5 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1 %6 = load i32, ptr %5, align 4 %7 = xor i32 %4, %6 ret i32 %7 } declare i32 @gettimeofday(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/tmp9jicpeol.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_time_xorred() #0 { %1 = alloca %struct.timeval, align 4 %2 = call i32 @gettimeofday(ptr noundef %1, i32 noundef 0) %3 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0 %4 = load i32, ptr %3, align 4 %5 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1 %6 = load i32, ptr %5, align 4 %7 = xor i32 %4, %6 ret i32 %7 } declare i32 @gettimeofday(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/tmpk2__6omc.c' source_filename = "/tmp/tmpk2__6omc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/proc/%lu/stat\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @procstat_get(i64 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca [64 x i8], align 16 %7 = alloca i32, align 4 %8 = alloca [1024 x i8], align 16 %9 = alloca i64, align 8 store i64 %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %10 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0 %11 = load i64, ptr %4, align 8 %12 = call i32 @snprintf(ptr noundef %10, i32 noundef 64, ptr noundef @.str, i64 noundef %11) %13 = sext i32 %12 to i64 %14 = icmp uge i64 %13, 64 br i1 %14, label %15, label %16 15: ; preds = %2 store i32 0, ptr %3, align 4 br label %38 16: ; preds = %2 %17 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0 %18 = load i32, ptr @O_RDONLY, align 4 %19 = call i32 @open(ptr noundef %17, i32 noundef %18) store i32 %19, ptr %7, align 4 %20 = load i32, ptr %7, align 4 %21 = icmp slt i32 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %16 store i32 0, ptr %3, align 4 br label %38 23: ; preds = %16 %24 = load i32, ptr %7, align 4 %25 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %26 = call i64 @read(i32 noundef %24, ptr noundef %25, i32 noundef 1023) store i64 %26, ptr %9, align 8 %27 = load i32, ptr %7, align 4 %28 = call i32 @close(i32 noundef %27) %29 = load i64, ptr %9, align 8 %30 = icmp ule i64 %29, 0 br i1 %30, label %31, label %32 31: ; preds = %23 store i32 0, ptr %3, align 4 br label %38 32: ; preds = %23 %33 = load i64, ptr %9, align 8 %34 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 %33 store i8 0, ptr %34, align 1 %35 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %36 = load ptr, ptr %5, align 8 %37 = call i32 @procstat_parse(ptr noundef %35, ptr noundef %36) store i32 %37, ptr %3, align 4 br label %38 38: ; preds = %32, %31, %22, %15 %39 = load i32, ptr %3, align 4 ret i32 %39 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @procstat_parse(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/tmpk2__6omc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/proc/%lu/stat\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @procstat_get(i64 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca [64 x i8], align 16 %7 = alloca i32, align 4 %8 = alloca [1024 x i8], align 16 %9 = alloca i64, align 8 store i64 %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %10 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0 %11 = load i64, ptr %4, align 8 %12 = call i32 @snprintf(ptr noundef %10, i32 noundef 64, ptr noundef @.str, i64 noundef %11) %13 = sext i32 %12 to i64 %14 = icmp uge i64 %13, 64 br i1 %14, label %15, label %16 15: ; preds = %2 store i32 0, ptr %3, align 4 br label %38 16: ; preds = %2 %17 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0 %18 = load i32, ptr @O_RDONLY, align 4 %19 = call i32 @open(ptr noundef %17, i32 noundef %18) store i32 %19, ptr %7, align 4 %20 = load i32, ptr %7, align 4 %21 = icmp slt i32 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %16 store i32 0, ptr %3, align 4 br label %38 23: ; preds = %16 %24 = load i32, ptr %7, align 4 %25 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %26 = call i64 @read(i32 noundef %24, ptr noundef %25, i32 noundef 1023) store i64 %26, ptr %9, align 8 %27 = load i32, ptr %7, align 4 %28 = call i32 @close(i32 noundef %27) %29 = load i64, ptr %9, align 8 %30 = icmp ule i64 %29, 0 br i1 %30, label %31, label %32 31: ; preds = %23 store i32 0, ptr %3, align 4 br label %38 32: ; preds = %23 %33 = load i64, ptr %9, align 8 %34 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 %33 store i8 0, ptr %34, align 1 %35 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %36 = load ptr, ptr %5, align 8 %37 = call i32 @procstat_parse(ptr noundef %35, ptr noundef %36) store i32 %37, ptr %3, align 4 br label %38 38: ; preds = %32, %31, %22, %15 %39 = load i32, ptr %3, align 4 ret i32 %39 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @procstat_parse(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/tmpkll81v4x.c' source_filename = "/tmp/tmpkll81v4x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @security_decode(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %9 = load ptr, ptr %6, align 8 %10 = load i8, ptr %9, align 1 %11 = icmp ne i8 %10, 0 br i1 %11, label %13, label %12 12: ; preds = %3 store i32 0, ptr %4, align 4 br label %125 13: ; preds = %3 %14 = load ptr, ptr %5, align 8 store i8 0, ptr %14, align 1 %15 = load ptr, ptr %5, align 8 store ptr %15, ptr %8, align 8 br label %16 16: ; preds = %113, %13 %17 = load ptr, ptr %6, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 0 %19 = load i8, ptr %18, align 1 %20 = call i32 @value(i8 noundef zeroext %19) %21 = shl i32 %20, 2 %22 = load ptr, ptr %6, align 8 %23 = getelementptr inbounds i8, ptr %22, i64 1 %24 = load i8, ptr %23, align 1 %25 = call i32 @value(i8 noundef zeroext %24) %26 = ashr i32 %25, 4 %27 = or i32 %21, %26 %28 = trunc i32 %27 to i8 %29 = load ptr, ptr %8, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 1 store ptr %30, ptr %8, align 8 store i8 %28, ptr %29, align 1 %31 = load ptr, ptr %6, align 8 %32 = getelementptr inbounds i8, ptr %31, i64 1 %33 = load i8, ptr %32, align 1 %34 = call i32 @value(i8 noundef zeroext %33) %35 = shl i32 %34, 4 %36 = load ptr, ptr %6, align 8 %37 = getelementptr inbounds i8, ptr %36, i64 2 %38 = load i8, ptr %37, align 1 %39 = call i32 @value(i8 noundef zeroext %38) %40 = ashr i32 %39, 2 %41 = or i32 %35, %40 %42 = trunc i32 %41 to i8 %43 = load ptr, ptr %8, align 8 %44 = getelementptr inbounds i8, ptr %43, i32 1 store ptr %44, ptr %8, align 8 store i8 %42, ptr %43, align 1 %45 = load ptr, ptr %6, align 8 %46 = getelementptr inbounds i8, ptr %45, i64 2 %47 = load i8, ptr %46, align 1 %48 = call i32 @value(i8 noundef zeroext %47) %49 = shl i32 %48, 6 %50 = load ptr, ptr %6, align 8 %51 = getelementptr inbounds i8, ptr %50, i64 3 %52 = load i8, ptr %51, align 1 %53 = call i32 @value(i8 noundef zeroext %52) %54 = ashr i32 %53, 0 %55 = or i32 %49, %54 %56 = trunc i32 %55 to i8 %57 = load ptr, ptr %8, align 8 %58 = getelementptr inbounds i8, ptr %57, i32 1 store ptr %58, ptr %8, align 8 store i8 %56, ptr %57, align 1 %59 = load ptr, ptr %6, align 8 %60 = getelementptr inbounds i8, ptr %59, i64 1 %61 = load i8, ptr %60, align 1 %62 = call i32 @isbase64(i8 noundef zeroext %61) %63 = icmp ne i32 %62, 0 br i1 %63, label %67, label %64 64: ; preds = %16 %65 = load ptr, ptr %8, align 8 %66 = getelementptr inbounds i8, ptr %65, i64 -2 store ptr %66, ptr %8, align 8 br label %117 67: ; preds = %16 %68 = load ptr, ptr %6, align 8 %69 = getelementptr inbounds i8, ptr %68, i64 2 %70 = load i8, ptr %69, align 1 %71 = call i32 @isbase64(i8 noundef zeroext %70) %72 = icmp ne i32 %71, 0 br i1 %72, label %76, label %73 73: ; preds = %67 %74 = load ptr, ptr %8, align 8 %75 = getelementptr inbounds i8, ptr %74, i64 -2 store ptr %75, ptr %8, align 8 br label %117 76: ; preds = %67 %77 = load ptr, ptr %6, align 8 %78 = getelementptr inbounds i8, ptr %77, i64 3 %79 = load i8, ptr %78, align 1 %80 = call i32 @isbase64(i8 noundef zeroext %79) %81 = icmp ne i32 %80, 0 br i1 %81, label %85, label %82 82: ; preds = %76 %83 = load ptr, ptr %8, align 8 %84 = getelementptr inbounds i8, ptr %83, i32 -1 store ptr %84, ptr %8, align 8 br label %117 85: ; preds = %76 br label %86 86: ; preds = %85 br label %87 87: ; preds = %86 %88 = load ptr, ptr %6, align 8 %89 = getelementptr inbounds i8, ptr %88, i64 4 store ptr %89, ptr %6, align 8 br label %90 90: ; preds = %109, %87 %91 = load ptr, ptr %6, align 8 %92 = load i8, ptr %91, align 1 %93 = zext i8 %92 to i32 %94 = icmp ne i32 %93, 0 br i1 %94, label %95, label %107 95: ; preds = %90 %96 = load ptr, ptr %6, align 8 %97 = load i8, ptr %96, align 1 %98 = zext i8 %97 to i32 %99 = icmp eq i32 %98, 13 br i1 %99, label %105, label %100 100: ; preds = %95 %101 = load ptr, ptr %6, align 8 %102 = load i8, ptr %101, align 1 %103 = zext i8 %102 to i32 %104 = icmp eq i32 %103, 10 br label %105 105: ; preds = %100, %95 %106 = phi i1 [ true, %95 ], [ %104, %100 ] br label %107 107: ; preds = %105, %90 %108 = phi i1 [ false, %90 ], [ %106, %105 ] br i1 %108, label %109, label %112 109: ; preds = %107 %110 = load ptr, ptr %6, align 8 %111 = getelementptr inbounds i8, ptr %110, i32 1 store ptr %111, ptr %6, align 8 br label %90, !llvm.loop !6 112: ; preds = %107 br label %113 113: ; preds = %112 %114 = load i32, ptr %7, align 4 %115 = sub nsw i32 %114, 4 store i32 %115, ptr %7, align 4 %116 = icmp ne i32 %115, 0 br i1 %116, label %16, label %117, !llvm.loop !8 117: ; preds = %113, %82, %73, %64 %118 = load ptr, ptr %8, align 8 store i8 0, ptr %118, align 1 %119 = load ptr, ptr %8, align 8 %120 = load ptr, ptr %5, align 8 %121 = ptrtoint ptr %119 to i64 %122 = ptrtoint ptr %120 to i64 %123 = sub i64 %121, %122 %124 = trunc i64 %123 to i32 store i32 %124, ptr %4, align 4 br label %125 125: ; preds = %117, %12 %126 = load i32, ptr %4, align 4 ret i32 %126 } declare i32 @value(i8 noundef zeroext) #1 declare i32 @isbase64(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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkll81v4x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @security_decode(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %9 = load ptr, ptr %6, align 8 %10 = load i8, ptr %9, align 1 %11 = icmp ne i8 %10, 0 br i1 %11, label %13, label %12 12: ; preds = %3 store i32 0, ptr %4, align 4 br label %125 13: ; preds = %3 %14 = load ptr, ptr %5, align 8 store i8 0, ptr %14, align 1 %15 = load ptr, ptr %5, align 8 store ptr %15, ptr %8, align 8 br label %16 16: ; preds = %113, %13 %17 = load ptr, ptr %6, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 0 %19 = load i8, ptr %18, align 1 %20 = call i32 @value(i8 noundef zeroext %19) %21 = shl i32 %20, 2 %22 = load ptr, ptr %6, align 8 %23 = getelementptr inbounds i8, ptr %22, i64 1 %24 = load i8, ptr %23, align 1 %25 = call i32 @value(i8 noundef zeroext %24) %26 = ashr i32 %25, 4 %27 = or i32 %21, %26 %28 = trunc i32 %27 to i8 %29 = load ptr, ptr %8, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 1 store ptr %30, ptr %8, align 8 store i8 %28, ptr %29, align 1 %31 = load ptr, ptr %6, align 8 %32 = getelementptr inbounds i8, ptr %31, i64 1 %33 = load i8, ptr %32, align 1 %34 = call i32 @value(i8 noundef zeroext %33) %35 = shl i32 %34, 4 %36 = load ptr, ptr %6, align 8 %37 = getelementptr inbounds i8, ptr %36, i64 2 %38 = load i8, ptr %37, align 1 %39 = call i32 @value(i8 noundef zeroext %38) %40 = ashr i32 %39, 2 %41 = or i32 %35, %40 %42 = trunc i32 %41 to i8 %43 = load ptr, ptr %8, align 8 %44 = getelementptr inbounds i8, ptr %43, i32 1 store ptr %44, ptr %8, align 8 store i8 %42, ptr %43, align 1 %45 = load ptr, ptr %6, align 8 %46 = getelementptr inbounds i8, ptr %45, i64 2 %47 = load i8, ptr %46, align 1 %48 = call i32 @value(i8 noundef zeroext %47) %49 = shl i32 %48, 6 %50 = load ptr, ptr %6, align 8 %51 = getelementptr inbounds i8, ptr %50, i64 3 %52 = load i8, ptr %51, align 1 %53 = call i32 @value(i8 noundef zeroext %52) %54 = ashr i32 %53, 0 %55 = or i32 %49, %54 %56 = trunc i32 %55 to i8 %57 = load ptr, ptr %8, align 8 %58 = getelementptr inbounds i8, ptr %57, i32 1 store ptr %58, ptr %8, align 8 store i8 %56, ptr %57, align 1 %59 = load ptr, ptr %6, align 8 %60 = getelementptr inbounds i8, ptr %59, i64 1 %61 = load i8, ptr %60, align 1 %62 = call i32 @isbase64(i8 noundef zeroext %61) %63 = icmp ne i32 %62, 0 br i1 %63, label %67, label %64 64: ; preds = %16 %65 = load ptr, ptr %8, align 8 %66 = getelementptr inbounds i8, ptr %65, i64 -2 store ptr %66, ptr %8, align 8 br label %117 67: ; preds = %16 %68 = load ptr, ptr %6, align 8 %69 = getelementptr inbounds i8, ptr %68, i64 2 %70 = load i8, ptr %69, align 1 %71 = call i32 @isbase64(i8 noundef zeroext %70) %72 = icmp ne i32 %71, 0 br i1 %72, label %76, label %73 73: ; preds = %67 %74 = load ptr, ptr %8, align 8 %75 = getelementptr inbounds i8, ptr %74, i64 -2 store ptr %75, ptr %8, align 8 br label %117 76: ; preds = %67 %77 = load ptr, ptr %6, align 8 %78 = getelementptr inbounds i8, ptr %77, i64 3 %79 = load i8, ptr %78, align 1 %80 = call i32 @isbase64(i8 noundef zeroext %79) %81 = icmp ne i32 %80, 0 br i1 %81, label %85, label %82 82: ; preds = %76 %83 = load ptr, ptr %8, align 8 %84 = getelementptr inbounds i8, ptr %83, i32 -1 store ptr %84, ptr %8, align 8 br label %117 85: ; preds = %76 br label %86 86: ; preds = %85 br label %87 87: ; preds = %86 %88 = load ptr, ptr %6, align 8 %89 = getelementptr inbounds i8, ptr %88, i64 4 store ptr %89, ptr %6, align 8 br label %90 90: ; preds = %109, %87 %91 = load ptr, ptr %6, align 8 %92 = load i8, ptr %91, align 1 %93 = zext i8 %92 to i32 %94 = icmp ne i32 %93, 0 br i1 %94, label %95, label %107 95: ; preds = %90 %96 = load ptr, ptr %6, align 8 %97 = load i8, ptr %96, align 1 %98 = zext i8 %97 to i32 %99 = icmp eq i32 %98, 13 br i1 %99, label %105, label %100 100: ; preds = %95 %101 = load ptr, ptr %6, align 8 %102 = load i8, ptr %101, align 1 %103 = zext i8 %102 to i32 %104 = icmp eq i32 %103, 10 br label %105 105: ; preds = %100, %95 %106 = phi i1 [ true, %95 ], [ %104, %100 ] br label %107 107: ; preds = %105, %90 %108 = phi i1 [ false, %90 ], [ %106, %105 ] br i1 %108, label %109, label %112 109: ; preds = %107 %110 = load ptr, ptr %6, align 8 %111 = getelementptr inbounds i8, ptr %110, i32 1 store ptr %111, ptr %6, align 8 br label %90, !llvm.loop !6 112: ; preds = %107 br label %113 113: ; preds = %112 %114 = load i32, ptr %7, align 4 %115 = sub nsw i32 %114, 4 store i32 %115, ptr %7, align 4 %116 = icmp ne i32 %115, 0 br i1 %116, label %16, label %.loopexit, !llvm.loop !8 .loopexit: ; preds = %113 br label %117 117: ; preds = %.loopexit, %82, %73, %64 %118 = load ptr, ptr %8, align 8 store i8 0, ptr %118, align 1 %119 = load ptr, ptr %8, align 8 %120 = load ptr, ptr %5, align 8 %121 = ptrtoint ptr %119 to i64 %122 = ptrtoint ptr %120 to i64 %123 = sub i64 %121, %122 %124 = trunc i64 %123 to i32 store i32 %124, ptr %4, align 4 br label %125 125: ; preds = %117, %12 %126 = load i32, ptr %4, align 4 ret i32 %126 } declare i32 @value(i8 noundef zeroext) #1 declare i32 @isbase64(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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp34gih06_.c' source_filename = "/tmp/tmp34gih06_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fdb \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @gen_def_word() #0 { %1 = call i32 @output_with_tab(ptr noundef @.str) ret void } declare i32 @output_with_tab(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp34gih06_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fdb \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @gen_def_word() #0 { %1 = call i32 @output_with_tab(ptr noundef @.str) ret void } declare i32 @output_with_tab(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp28w_wb59.c' source_filename = "/tmp/tmp28w_wb59.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"a\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"b\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c"KLEE should not be able to get here\0A\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"KLEE is not very smart\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 double, align 8 %7 = alloca double, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store double 0.000000e+00, ptr %6, align 8 store double -2.500000e-01, ptr %7, align 8 %8 = call i32 @klee_make_symbolic(ptr noundef %6, i32 noundef 8, ptr noundef @.str) %9 = call i32 @klee_make_symbolic(ptr noundef %7, i32 noundef 8, ptr noundef @.str.1) %10 = load double, ptr %6, align 8 %11 = fmul double 8.000000e+00, %10 %12 = load double, ptr %6, align 8 %13 = load double, ptr %7, align 8 %14 = fmul double 4.000000e+00, %13 %15 = call double @llvm.fmuladd.f64(double %11, double %12, double %14) %16 = fadd double %15, 1.000000e+00 %17 = fcmp oeq double %16, 0.000000e+00 br i1 %17, label %18, label %21 18: ; preds = %2 %19 = call i32 @printf(ptr noundef @.str.2) %20 = call i32 (...) @abort() #4 unreachable 21: ; preds = %2 %22 = call i32 @printf(ptr noundef @.str.3) br label %23 23: ; preds = %21 ret i32 0 } declare i32 @klee_make_symbolic(ptr noundef, i32 noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } 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 = { 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/tmp28w_wb59.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"a\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"b\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c"KLEE should not be able to get here\0A\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"KLEE is not very smart\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 double, align 8 %7 = alloca double, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store double 0.000000e+00, ptr %6, align 8 store double -2.500000e-01, ptr %7, align 8 %8 = call i32 @klee_make_symbolic(ptr noundef %6, i32 noundef 8, ptr noundef @.str) %9 = call i32 @klee_make_symbolic(ptr noundef %7, i32 noundef 8, ptr noundef @.str.1) %10 = load double, ptr %6, align 8 %11 = fmul double 8.000000e+00, %10 %12 = load double, ptr %6, align 8 %13 = load double, ptr %7, align 8 %14 = fmul double 4.000000e+00, %13 %15 = call double @llvm.fmuladd.f64(double %11, double %12, double %14) %16 = fadd double %15, 1.000000e+00 %17 = fcmp oeq double %16, 0.000000e+00 br i1 %17, label %18, label %21 18: ; preds = %2 %19 = call i32 @printf(ptr noundef @.str.2) %20 = call i32 (...) @abort() #4 unreachable 21: ; preds = %2 %22 = call i32 @printf(ptr noundef @.str.3) br label %23 23: ; preds = %21 ret i32 0 } declare i32 @klee_make_symbolic(ptr noundef, i32 noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } 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 = { 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/tmpr5k6jx1h.c' source_filename = "/tmp/tmpr5k6jx1h.c" target datalayout = "e-m:e-p270: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 [18 x i8] c"E:Can't run (%s)\0A\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @run_exec_process(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %6 = call i64 (...) @fork() store i64 %6, ptr %4, align 8 %7 = load i64, ptr %4, align 8 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %20 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 0 %12 = load ptr, ptr %11, align 8 %13 = load ptr, ptr %3, align 8 %14 = call i32 @execv(ptr noundef %12, ptr noundef %13) %15 = load i32, ptr @stderr, align 4 %16 = load i32, ptr @errno, align 4 %17 = call ptr @strerror(i32 noundef %16) %18 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str, ptr noundef %17) %19 = call i32 @_exit(i32 noundef -1) #3 unreachable 20: ; preds = %1 %21 = load i64, ptr %4, align 8 %22 = call i32 @waitpid(i64 noundef %21, ptr noundef %5, i32 noundef 0) %23 = load i32, ptr %5, align 4 %24 = call i32 @WIFEXITED(i32 noundef %23) %25 = icmp ne i32 %24, 0 br i1 %25, label %26, label %30 26: ; preds = %20 %27 = load i32, ptr %5, align 4 %28 = call i64 @WEXITSTATUS(i32 noundef %27) %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %26, %20 store i32 1, ptr %2, align 4 br label %32 31: ; preds = %26 store i32 0, ptr %2, align 4 br label %32 32: ; preds = %31, %30 %33 = load i32, ptr %2, align 4 ret i32 %33 } declare i64 @fork(...) #1 declare i32 @execv(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @_exit(i32 noundef) #2 declare i32 @waitpid(i64 noundef, ptr noundef, i32 noundef) #1 declare i32 @WIFEXITED(i32 noundef) #1 declare i64 @WEXITSTATUS(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr5k6jx1h.c" target datalayout = "e-m:e-p270: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 [18 x i8] c"E:Can't run (%s)\0A\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @run_exec_process(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %6 = call i64 (...) @fork() store i64 %6, ptr %4, align 8 %7 = load i64, ptr %4, align 8 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %20 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 0 %12 = load ptr, ptr %11, align 8 %13 = load ptr, ptr %3, align 8 %14 = call i32 @execv(ptr noundef %12, ptr noundef %13) %15 = load i32, ptr @stderr, align 4 %16 = load i32, ptr @errno, align 4 %17 = call ptr @strerror(i32 noundef %16) %18 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str, ptr noundef %17) %19 = call i32 @_exit(i32 noundef -1) #3 unreachable 20: ; preds = %1 %21 = load i64, ptr %4, align 8 %22 = call i32 @waitpid(i64 noundef %21, ptr noundef %5, i32 noundef 0) %23 = load i32, ptr %5, align 4 %24 = call i32 @WIFEXITED(i32 noundef %23) %25 = icmp ne i32 %24, 0 br i1 %25, label %26, label %30 26: ; preds = %20 %27 = load i32, ptr %5, align 4 %28 = call i64 @WEXITSTATUS(i32 noundef %27) %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %26, %20 store i32 1, ptr %2, align 4 br label %32 31: ; preds = %26 store i32 0, ptr %2, align 4 br label %32 32: ; preds = %31, %30 %33 = load i32, ptr %2, align 4 ret i32 %33 } declare i64 @fork(...) #1 declare i32 @execv(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @_exit(i32 noundef) #2 declare i32 @waitpid(i64 noundef, ptr noundef, i32 noundef) #1 declare i32 @WIFEXITED(i32 noundef) #1 declare i64 @WEXITSTATUS(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4uk4fou6.c' source_filename = "/tmp/tmp4uk4fou6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 (...) @__VERIFIER_nondet_int() store i32 %6, ptr %2, align 4 %7 = call i32 (...) @__VERIFIER_nondet_int() store i32 %7, ptr %3, align 4 %8 = load i32, ptr %2, align 4 %9 = icmp sge i32 %8, 0 br i1 %9, label %10, label %30 10: ; preds = %0 %11 = load i32, ptr %3, align 4 %12 = icmp sgt i32 %11, 0 br i1 %12, label %13, label %30 13: ; preds = %10 %14 = load i32, ptr %2, align 4 store i32 %14, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %15 15: ; preds = %28, %13 %16 = load i32, ptr %4, align 4 %17 = icmp sgt i32 %16, 0 br i1 %17, label %18, label %29 18: ; preds = %15 %19 = load i32, ptr %5, align 4 %20 = load i32, ptr %3, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %22, label %27 22: ; preds = %18 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %5, align 4 %25 = load i32, ptr %4, align 4 %26 = add nsw i32 %25, -1 store i32 %26, ptr %4, align 4 br label %28 27: ; preds = %18 store i32 0, ptr %5, align 4 br label %28 28: ; preds = %27, %22 br label %15, !llvm.loop !6 29: ; preds = %15 br label %30 30: ; preds = %29, %10, %0 ret i32 0 } declare i32 @__VERIFIER_nondet_int(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp4uk4fou6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 (...) @__VERIFIER_nondet_int() store i32 %6, ptr %2, align 4 %7 = call i32 (...) @__VERIFIER_nondet_int() store i32 %7, ptr %3, align 4 %8 = load i32, ptr %2, align 4 %9 = icmp sge i32 %8, 0 br i1 %9, label %10, label %31 10: ; preds = %0 %11 = load i32, ptr %3, align 4 %12 = icmp sgt i32 %11, 0 br i1 %12, label %13, label %31 13: ; preds = %10 %14 = load i32, ptr %2, align 4 store i32 %14, ptr %4, align 4 store i32 0, ptr %5, align 4 %15 = load i32, ptr %4, align 4 %16 = icmp sgt i32 %15, 0 br i1 %16, label %.lr.ph, label %30 .lr.ph: ; preds = %13 br label %17 17: ; preds = %.lr.ph, %27 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %3, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %21, label %26 21: ; preds = %17 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %5, align 4 %24 = load i32, ptr %4, align 4 %25 = add nsw i32 %24, -1 store i32 %25, ptr %4, align 4 br label %27 26: ; preds = %17 store i32 0, ptr %5, align 4 br label %27 27: ; preds = %26, %21 %28 = load i32, ptr %4, align 4 %29 = icmp sgt i32 %28, 0 br i1 %29, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %30 30: ; preds = %._crit_edge, %13 br label %31 31: ; preds = %30, %10, %0 ret i32 0 } declare i32 @__VERIFIER_nondet_int(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp7qy8qx5_.c' source_filename = "/tmp/tmp7qy8qx5_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isgraph.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isgraph should be 0 for 0xf2\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isgraph_0xf2() #0 { %1 = call i64 @isgraph(i32 noundef 242) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 1215, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isgraph(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/tmp7qy8qx5_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isgraph.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isgraph should be 0 for 0xf2\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isgraph_0xf2() #0 { %1 = call i64 @isgraph(i32 noundef 242) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 1215, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isgraph(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/tmpr48cxl2k.c' source_filename = "/tmp/tmpr48cxl2k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [51 x i8] c"\D0\A2\D0\B0\D0\B1\D0\BB\D0\B8\D1\86\D0\B0 \D0\BF\D0\B5\D1\80\D0\B5\D0\B2\D0\BE\D0\B4\D0\B0 \D0\B8\D0\B7 fahr \D0\B2 cels\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"cels: %7.3f\09fahr: %7.3f\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 float, align 4 %7 = alloca float, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %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 store i32 0, ptr %8, align 4 store i32 300, ptr %9, align 4 store i32 20, ptr %10, align 4 %11 = load i32, ptr %9, align 4 %12 = sitofp i32 %11 to float store float %12, ptr %7, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %14 14: ; preds = %19, %2 %15 = load float, ptr %7, align 4 %16 = load i32, ptr %8, align 4 %17 = sitofp i32 %16 to float %18 = fcmp oge float %15, %17 br i1 %18, label %19, label %33 19: ; preds = %14 %20 = load float, ptr %7, align 4 %21 = fpext float %20 to double %22 = call double @llvm.fmuladd.f64(double 1.800000e+00, double %21, double 3.200000e+01) %23 = fptrunc double %22 to float store float %23, ptr %6, align 4 %24 = load float, ptr %7, align 4 %25 = fpext float %24 to double %26 = load float, ptr %6, align 4 %27 = fpext float %26 to double %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %25, double noundef %27) %29 = load i32, ptr %10, align 4 %30 = sitofp i32 %29 to float %31 = load float, ptr %7, align 4 %32 = fsub float %31, %30 store float %32, ptr %7, align 4 br label %14, !llvm.loop !6 33: ; preds = %14 %34 = load i32, ptr %3, align 4 ret i32 %34 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr48cxl2k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [51 x i8] c"\D0\A2\D0\B0\D0\B1\D0\BB\D0\B8\D1\86\D0\B0 \D0\BF\D0\B5\D1\80\D0\B5\D0\B2\D0\BE\D0\B4\D0\B0 \D0\B8\D0\B7 fahr \D0\B2 cels\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"cels: %7.3f\09fahr: %7.3f\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 float, align 4 %7 = alloca float, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %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 store i32 0, ptr %8, align 4 store i32 300, ptr %9, align 4 store i32 20, ptr %10, align 4 %11 = load i32, ptr %9, align 4 %12 = sitofp i32 %11 to float store float %12, ptr %7, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) %14 = load float, ptr %7, align 4 %15 = load i32, ptr %8, align 4 %16 = sitofp i32 %15 to float %17 = fcmp oge float %14, %16 br i1 %17, label %.lr.ph, label %36 .lr.ph: ; preds = %2 br label %18 18: ; preds = %.lr.ph, %18 %19 = load float, ptr %7, align 4 %20 = fpext float %19 to double %21 = call double @llvm.fmuladd.f64(double 1.800000e+00, double %20, double 3.200000e+01) %22 = fptrunc double %21 to float store float %22, ptr %6, align 4 %23 = load float, ptr %7, align 4 %24 = fpext float %23 to double %25 = load float, ptr %6, align 4 %26 = fpext float %25 to double %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %24, double noundef %26) %28 = load i32, ptr %10, align 4 %29 = sitofp i32 %28 to float %30 = load float, ptr %7, align 4 %31 = fsub float %30, %29 store float %31, ptr %7, align 4 %32 = load float, ptr %7, align 4 %33 = load i32, ptr %8, align 4 %34 = sitofp i32 %33 to float %35 = fcmp oge float %32, %34 br i1 %35, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %36 36: ; preds = %._crit_edge, %2 %37 = load i32, ptr %3, align 4 ret i32 %37 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpknjypzu6.c' source_filename = "/tmp/tmpknjypzu6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @grad_lmpwdhash.sp8 = internal global [8 x i8] c"KGS!@#$%", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @grad_lmpwdhash(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca [14 x i8], align 1 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 0 %8 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 14) store i32 0, ptr %5, align 4 br label %9 9: ; preds = %33, %2 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %10, 14 br i1 %11, label %12, label %20 12: ; preds = %9 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %5, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 %17 = load i8, ptr %16, align 1 %18 = zext i8 %17 to i32 %19 = icmp ne i32 %18, 0 br label %20 20: ; preds = %12, %9 %21 = phi i1 [ false, %9 ], [ %19, %12 ] br i1 %21, label %22, label %36 22: ; preds = %20 %23 = load ptr, ptr %3, align 8 %24 = load i32, ptr %5, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 %27 = load i8, ptr %26, align 1 %28 = zext i8 %27 to i32 %29 = call zeroext i8 @toupper(i32 noundef %28) %30 = load i32, ptr %5, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 %31 store i8 %29, ptr %32, align 1 br label %33 33: ; preds = %22 %34 = load i32, ptr %5, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %5, align 4 br label %9, !llvm.loop !6 36: ; preds = %20 %37 = load ptr, ptr %4, align 8 %38 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 0 %39 = call i32 @smbhash(ptr noundef %37, ptr noundef @grad_lmpwdhash.sp8, ptr noundef %38) %40 = load ptr, ptr %4, align 8 %41 = getelementptr inbounds i8, ptr %40, i64 8 %42 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 0 %43 = getelementptr inbounds i8, ptr %42, i64 7 %44 = call i32 @smbhash(ptr noundef %41, ptr noundef @grad_lmpwdhash.sp8, ptr noundef %43) ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare zeroext i8 @toupper(i32 noundef) #1 declare i32 @smbhash(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/tmpknjypzu6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @grad_lmpwdhash.sp8 = internal global [8 x i8] c"KGS!@#$%", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @grad_lmpwdhash(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca [14 x i8], align 1 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 0 %8 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 14) store i32 0, ptr %5, align 4 br label %9 9: ; preds = %33, %2 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %10, 14 br i1 %11, label %12, label %20 12: ; preds = %9 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %5, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 %17 = load i8, ptr %16, align 1 %18 = zext i8 %17 to i32 %19 = icmp ne i32 %18, 0 br label %20 20: ; preds = %12, %9 %21 = phi i1 [ false, %9 ], [ %19, %12 ] br i1 %21, label %22, label %36 22: ; preds = %20 %23 = load ptr, ptr %3, align 8 %24 = load i32, ptr %5, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 %27 = load i8, ptr %26, align 1 %28 = zext i8 %27 to i32 %29 = call zeroext i8 @toupper(i32 noundef %28) %30 = load i32, ptr %5, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 %31 store i8 %29, ptr %32, align 1 br label %33 33: ; preds = %22 %34 = load i32, ptr %5, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %5, align 4 br label %9, !llvm.loop !6 36: ; preds = %20 %37 = load ptr, ptr %4, align 8 %38 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 0 %39 = call i32 @smbhash(ptr noundef %37, ptr noundef @grad_lmpwdhash.sp8, ptr noundef %38) %40 = load ptr, ptr %4, align 8 %41 = getelementptr inbounds i8, ptr %40, i64 8 %42 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 0 %43 = getelementptr inbounds i8, ptr %42, i64 7 %44 = call i32 @smbhash(ptr noundef %41, ptr noundef @grad_lmpwdhash.sp8, ptr noundef %43) ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare zeroext i8 @toupper(i32 noundef) #1 declare i32 @smbhash(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/tmp_pmpyrf5.c' source_filename = "/tmp/tmp_pmpyrf5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gen_37() #0 { %1 = alloca i32, align 4 %2 = call i32 @handle_37(i32 noundef 0) %3 = load i32, ptr %1, align 4 ret i32 %3 } declare i32 @handle_37(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/tmp_pmpyrf5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gen_37() #0 { %1 = alloca i32, align 4 %2 = call i32 @handle_37(i32 noundef 0) %3 = load i32, ptr %1, align 4 ret i32 %3 } declare i32 @handle_37(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/tmprv9pgh28.c' source_filename = "/tmp/tmprv9pgh28.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.arr = private unnamed_addr constant [10 x i32] [i32 10, i32 9, i32 8, i32 7, i32 6, i32 5, i32 4, i32 3, i32 2, i32 1], align 16 @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [10 x i32], align 16 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 10, ptr %3, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.arr, i64 40, i1 false) store i32 10, ptr %5, align 4 %6 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 0 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %3, align 4 %9 = call i32 @counting_sort(ptr noundef %6, i32 noundef %7, i32 noundef %8) store i32 0, ptr %2, align 4 br label %10 10: ; preds = %20, %0 %11 = load i32, ptr %2, align 4 %12 = load i32, ptr %5, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %23 14: ; preds = %10 %15 = load i32, ptr %2, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 %16 %18 = load i32, ptr %17, align 4 %19 = call i32 @printf(ptr noundef @.str, i32 noundef %18) br label %20 20: ; preds = %14 %21 = load i32, ptr %2, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %2, align 4 br label %10, !llvm.loop !6 23: ; preds = %10 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @counting_sort(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprv9pgh28.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.arr = private unnamed_addr constant [10 x i32] [i32 10, i32 9, i32 8, i32 7, i32 6, i32 5, i32 4, i32 3, i32 2, i32 1], align 16 @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [10 x i32], align 16 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 10, ptr %3, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.arr, i64 40, i1 false) store i32 10, ptr %5, align 4 %6 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 0 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %3, align 4 %9 = call i32 @counting_sort(ptr noundef %6, i32 noundef %7, i32 noundef %8) store i32 0, ptr %2, align 4 %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %5, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %.lr.ph, label %25 .lr.ph: ; preds = %0 br label %13 13: ; preds = %.lr.ph, %19 %14 = load i32, ptr %2, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 %15 %17 = load i32, ptr %16, align 4 %18 = call i32 @printf(ptr noundef @.str, i32 noundef %17) br label %19 19: ; preds = %13 %20 = load i32, ptr %2, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %2, align 4 %22 = load i32, ptr %2, align 4 %23 = load i32, ptr %5, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %25 25: ; preds = %._crit_edge, %0 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @counting_sort(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmprr8r6qx9.c' source_filename = "/tmp/tmprr8r6qx9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @detect_enc(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call ptr @filecoding(ptr noundef %3) ret ptr %4 } declare ptr @filecoding(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprr8r6qx9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @detect_enc(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call ptr @filecoding(ptr noundef %3) ret ptr %4 } declare ptr @filecoding(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcy_cjecw.c' source_filename = "/tmp/tmpcy_cjecw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @llh2xyz(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca [2 x double], align 16 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 call void @llvm.memset.p0.i64(ptr align 16 %15, i8 0, i64 16, i1 false) store double 0x415854A640000000, ptr %7, align 8 store double 0x3F6B775A84F3E128, ptr %8, align 8 %16 = load double, ptr %7, align 8 %17 = getelementptr inbounds [2 x double], ptr %15, i64 0, i64 0 %18 = load double, ptr %17, align 16 %19 = fsub double %16, %18 store double %19, ptr %5, align 8 %20 = load double, ptr %8, align 8 %21 = getelementptr inbounds [2 x double], ptr %15, i64 0, i64 1 %22 = load double, ptr %21, align 8 %23 = fneg double %22 %24 = call double @llvm.fmuladd.f64(double %23, double 1.000000e-04, double %20) store double %24, ptr %6, align 8 %25 = load double, ptr %6, align 8 %26 = load double, ptr %6, align 8 %27 = fsub double 2.000000e+00, %26 %28 = fmul double %25, %27 store double %28, ptr %9, align 8 %29 = load ptr, ptr %3, align 8 %30 = getelementptr inbounds double, ptr %29, i64 0 %31 = load double, ptr %30, align 8 %32 = fmul double 0x400921FB54442D28, %31 %33 = fdiv double %32, 1.800000e+02 store double %33, ptr %12, align 8 %34 = load ptr, ptr %3, align 8 %35 = getelementptr inbounds double, ptr %34, i64 1 %36 = load double, ptr %35, align 8 %37 = fmul double 0x400921FB54442D28, %36 %38 = fdiv double %37, 1.800000e+02 store double %38, ptr %13, align 8 %39 = load ptr, ptr %3, align 8 %40 = getelementptr inbounds double, ptr %39, i64 2 %41 = load double, ptr %40, align 8 store double %41, ptr %14, align 8 %42 = load double, ptr %5, align 8 %43 = load double, ptr %9, align 8 %44 = load double, ptr %12, align 8 %45 = call double @sin(double noundef %44) #5 %46 = fmul double %43, %45 %47 = load double, ptr %12, align 8 %48 = call double @sin(double noundef %47) #5 %49 = fneg double %46 %50 = call double @llvm.fmuladd.f64(double %49, double %48, double 1.000000e+00) %51 = fptosi double %50 to i32 %52 = call double @sqrt(i32 noundef %51) %53 = fdiv double %42, %52 store double %53, ptr %10, align 8 %54 = load double, ptr %10, align 8 %55 = load double, ptr %14, align 8 %56 = fadd double %54, %55 %57 = load double, ptr %12, align 8 %58 = call double @cos(double noundef %57) #5 %59 = fmul double %56, %58 store double %59, ptr %11, align 8 %60 = load double, ptr %11, align 8 %61 = load double, ptr %13, align 8 %62 = call double @cos(double noundef %61) #5 %63 = fmul double %60, %62 %64 = load ptr, ptr %4, align 8 %65 = getelementptr inbounds double, ptr %64, i64 0 store double %63, ptr %65, align 8 %66 = load double, ptr %11, align 8 %67 = load double, ptr %13, align 8 %68 = call double @sin(double noundef %67) #5 %69 = fmul double %66, %68 %70 = load ptr, ptr %4, align 8 %71 = getelementptr inbounds double, ptr %70, i64 1 store double %69, ptr %71, align 8 %72 = load double, ptr %10, align 8 %73 = load double, ptr %9, align 8 %74 = fsub double 1.000000e+00, %73 %75 = load double, ptr %14, align 8 %76 = call double @llvm.fmuladd.f64(double %72, double %74, double %75) %77 = load double, ptr %12, align 8 %78 = call double @sin(double noundef %77) #5 %79 = fmul double %76, %78 %80 = load ptr, ptr %4, align 8 %81 = getelementptr inbounds double, ptr %80, i64 2 store double %79, ptr %81, align 8 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare double @sqrt(i32 noundef) #3 ; Function Attrs: nounwind declare double @sin(double noundef) #4 ; Function Attrs: nounwind declare double @cos(double noundef) #4 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { 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 #5 = { 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/tmpcy_cjecw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @llh2xyz(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca [2 x double], align 16 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 call void @llvm.memset.p0.i64(ptr align 16 %15, i8 0, i64 16, i1 false) store double 0x415854A640000000, ptr %7, align 8 store double 0x3F6B775A84F3E128, ptr %8, align 8 %16 = load double, ptr %7, align 8 %17 = getelementptr inbounds [2 x double], ptr %15, i64 0, i64 0 %18 = load double, ptr %17, align 16 %19 = fsub double %16, %18 store double %19, ptr %5, align 8 %20 = load double, ptr %8, align 8 %21 = getelementptr inbounds [2 x double], ptr %15, i64 0, i64 1 %22 = load double, ptr %21, align 8 %23 = fneg double %22 %24 = call double @llvm.fmuladd.f64(double %23, double 1.000000e-04, double %20) store double %24, ptr %6, align 8 %25 = load double, ptr %6, align 8 %26 = load double, ptr %6, align 8 %27 = fsub double 2.000000e+00, %26 %28 = fmul double %25, %27 store double %28, ptr %9, align 8 %29 = load ptr, ptr %3, align 8 %30 = getelementptr inbounds double, ptr %29, i64 0 %31 = load double, ptr %30, align 8 %32 = fmul double 0x400921FB54442D28, %31 %33 = fdiv double %32, 1.800000e+02 store double %33, ptr %12, align 8 %34 = load ptr, ptr %3, align 8 %35 = getelementptr inbounds double, ptr %34, i64 1 %36 = load double, ptr %35, align 8 %37 = fmul double 0x400921FB54442D28, %36 %38 = fdiv double %37, 1.800000e+02 store double %38, ptr %13, align 8 %39 = load ptr, ptr %3, align 8 %40 = getelementptr inbounds double, ptr %39, i64 2 %41 = load double, ptr %40, align 8 store double %41, ptr %14, align 8 %42 = load double, ptr %5, align 8 %43 = load double, ptr %9, align 8 %44 = load double, ptr %12, align 8 %45 = call double @sin(double noundef %44) #5 %46 = fmul double %43, %45 %47 = load double, ptr %12, align 8 %48 = call double @sin(double noundef %47) #5 %49 = fneg double %46 %50 = call double @llvm.fmuladd.f64(double %49, double %48, double 1.000000e+00) %51 = fptosi double %50 to i32 %52 = call double @sqrt(i32 noundef %51) %53 = fdiv double %42, %52 store double %53, ptr %10, align 8 %54 = load double, ptr %10, align 8 %55 = load double, ptr %14, align 8 %56 = fadd double %54, %55 %57 = load double, ptr %12, align 8 %58 = call double @cos(double noundef %57) #5 %59 = fmul double %56, %58 store double %59, ptr %11, align 8 %60 = load double, ptr %11, align 8 %61 = load double, ptr %13, align 8 %62 = call double @cos(double noundef %61) #5 %63 = fmul double %60, %62 %64 = load ptr, ptr %4, align 8 %65 = getelementptr inbounds double, ptr %64, i64 0 store double %63, ptr %65, align 8 %66 = load double, ptr %11, align 8 %67 = load double, ptr %13, align 8 %68 = call double @sin(double noundef %67) #5 %69 = fmul double %66, %68 %70 = load ptr, ptr %4, align 8 %71 = getelementptr inbounds double, ptr %70, i64 1 store double %69, ptr %71, align 8 %72 = load double, ptr %10, align 8 %73 = load double, ptr %9, align 8 %74 = fsub double 1.000000e+00, %73 %75 = load double, ptr %14, align 8 %76 = call double @llvm.fmuladd.f64(double %72, double %74, double %75) %77 = load double, ptr %12, align 8 %78 = call double @sin(double noundef %77) #5 %79 = fmul double %76, %78 %80 = load ptr, ptr %4, align 8 %81 = getelementptr inbounds double, ptr %80, i64 2 store double %79, ptr %81, align 8 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare double @sqrt(i32 noundef) #3 ; Function Attrs: nounwind declare double @sin(double noundef) #4 ; Function Attrs: nounwind declare double @cos(double noundef) #4 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { 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 #5 = { 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/tmpj1vseolm.c' source_filename = "/tmp/tmpj1vseolm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SnapshotV3_WriteByte(ptr noundef %0, i8 noundef zeroext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i8, align 1 store ptr %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 %5 = load ptr, ptr %3, align 8 %6 = call ptr @SnapshotV3_WriteDataToChunk(ptr noundef %5, ptr noundef %4, i32 noundef 1) ret ptr %6 } declare ptr @SnapshotV3_WriteDataToChunk(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/tmpj1vseolm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SnapshotV3_WriteByte(ptr noundef %0, i8 noundef zeroext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i8, align 1 store ptr %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 %5 = load ptr, ptr %3, align 8 %6 = call ptr @SnapshotV3_WriteDataToChunk(ptr noundef %5, ptr noundef %4, i32 noundef 1) ret ptr %6 } declare ptr @SnapshotV3_WriteDataToChunk(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/tmpnlw69m2g.c' source_filename = "/tmp/tmpnlw69m2g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @replace_dynstr(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %9, label %8 8: ; preds = %2 store i32 0, ptr %3, align 4 br label %16 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = call i32 @nzfree(ptr noundef %10) %12 = load ptr, ptr %5, align 8 %13 = load ptr, ptr %4, align 8 store ptr %12, ptr %13, align 8 %14 = load ptr, ptr %5, align 8 %15 = call i32 @strlen(ptr noundef %14) store i32 %15, ptr %3, align 4 br label %16 16: ; preds = %9, %8 %17 = load i32, ptr %3, align 4 ret i32 %17 } declare i32 @nzfree(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnlw69m2g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @replace_dynstr(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %9, label %8 8: ; preds = %2 store i32 0, ptr %3, align 4 br label %16 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = call i32 @nzfree(ptr noundef %10) %12 = load ptr, ptr %5, align 8 %13 = load ptr, ptr %4, align 8 store ptr %12, ptr %13, align 8 %14 = load ptr, ptr %5, align 8 %15 = call i32 @strlen(ptr noundef %14) store i32 %15, ptr %3, align 4 br label %16 16: ; preds = %9, %8 %17 = load i32, ptr %3, align 4 ret i32 %17 } declare i32 @nzfree(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpm78jrztg.c' source_filename = "/tmp/tmpm78jrztg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @narcissisticNumbers(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 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %9 = load i32, ptr %4, align 4 store i32 %9, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 br label %10 10: ; preds = %13, %2 %11 = load i32, ptr %6, align 4 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %23 13: ; preds = %10 %14 = load i32, ptr %6, align 4 %15 = srem i32 %14, 10 store i32 %15, ptr %7, align 4 %16 = load i32, ptr %8, align 4 %17 = load i32, ptr %7, align 4 %18 = load i32, ptr %5, align 4 %19 = call i32 @power(i32 noundef %17, i32 noundef %18) %20 = add nsw i32 %16, %19 store i32 %20, ptr %8, align 4 %21 = load i32, ptr %6, align 4 %22 = sdiv i32 %21, 10 store i32 %22, ptr %6, align 4 br label %10, !llvm.loop !6 23: ; preds = %10 %24 = load i32, ptr %8, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp eq i32 %24, %25 br i1 %26, label %27, label %28 27: ; preds = %23 store i32 1, ptr %3, align 4 br label %29 28: ; preds = %23 store i32 0, ptr %3, align 4 br label %29 29: ; preds = %28, %27 %30 = load i32, ptr %3, align 4 ret i32 %30 } declare i32 @power(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/tmpm78jrztg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @narcissisticNumbers(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 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %9 = load i32, ptr %4, align 4 store i32 %9, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %.lr.ph, label %24 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %12 %13 = load i32, ptr %6, align 4 %14 = srem i32 %13, 10 store i32 %14, ptr %7, align 4 %15 = load i32, ptr %8, align 4 %16 = load i32, ptr %7, align 4 %17 = load i32, ptr %5, align 4 %18 = call i32 @power(i32 noundef %16, i32 noundef %17) %19 = add nsw i32 %15, %18 store i32 %19, ptr %8, align 4 %20 = load i32, ptr %6, align 4 %21 = sdiv i32 %20, 10 store i32 %21, ptr %6, align 4 %22 = load i32, ptr %6, align 4 %23 = icmp ne i32 %22, 0 br i1 %23, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %24 24: ; preds = %._crit_edge, %2 %25 = load i32, ptr %8, align 4 %26 = load i32, ptr %4, align 4 %27 = icmp eq i32 %25, %26 br i1 %27, label %28, label %29 28: ; preds = %24 store i32 1, ptr %3, align 4 br label %30 29: ; preds = %24 store i32 0, ptr %3, align 4 br label %30 30: ; preds = %29, %28 %31 = load i32, ptr %3, align 4 ret i32 %31 } declare i32 @power(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/tmp17vxvupt.c' source_filename = "/tmp/tmp17vxvupt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"hello world\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @myFunction6() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = load i32, ptr %1, align 4 ret i32 %3 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp17vxvupt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"hello world\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @myFunction6() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = load i32, ptr %1, align 4 ret i32 %3 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz1eqz_0s.c' source_filename = "/tmp/tmpz1eqz_0s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [144 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/cohadar/c-learning/refs/heads/master/src/asrt_tests.c\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"123.45 == 123.55\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_DoubleFail() #0 { %1 = alloca i32, align 4 br label %2 2: ; preds = %0 %3 = call i32 @ASRT_Mark(ptr noundef @.str, i32 noundef 84, ptr noundef @.str.1) %4 = call i64 @ASRT_Double(double noundef 1.234500e+02, double noundef 1.235500e+02, double noundef 1.000000e-02) %5 = icmp ne i64 %4, 0 br i1 %5, label %6, label %7 6: ; preds = %2 store i32 1, ptr %1, align 4 br label %9 7: ; preds = %2 br label %8 8: ; preds = %7 store i32 0, ptr %1, align 4 br label %9 9: ; preds = %8, %6 %10 = load i32, ptr %1, align 4 ret i32 %10 } declare i32 @ASRT_Mark(ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @ASRT_Double(double noundef, double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz1eqz_0s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [144 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/cohadar/c-learning/refs/heads/master/src/asrt_tests.c\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"123.45 == 123.55\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_DoubleFail() #0 { %1 = alloca i32, align 4 br label %2 2: ; preds = %0 %3 = call i32 @ASRT_Mark(ptr noundef @.str, i32 noundef 84, ptr noundef @.str.1) %4 = call i64 @ASRT_Double(double noundef 1.234500e+02, double noundef 1.235500e+02, double noundef 1.000000e-02) %5 = icmp ne i64 %4, 0 br i1 %5, label %6, label %7 6: ; preds = %2 store i32 1, ptr %1, align 4 br label %9 7: ; preds = %2 br label %8 8: ; preds = %7 store i32 0, ptr %1, align 4 br label %9 9: ; preds = %8, %6 %10 = load i32, ptr %1, align 4 ret i32 %10 } declare i32 @ASRT_Mark(ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @ASRT_Double(double noundef, double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpns2iac3i.c' source_filename = "/tmp/tmpns2iac3i.c" target datalayout = "e-m:e-p270: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.in_addr = type { i32 } @AF_INET = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"expression '%s' untrue at %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [45 x i8] c"1 == inet_pton(AF_INET, \22127.0.0.1\22, buffer)\00", align 1 @.str.3 = private unnamed_addr constant [29 x i8] c"inaddr->s_addr == 0x0100007f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_inet_pton() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i8], align 1 %3 = alloca ptr, align 8 %4 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 store ptr %4, ptr %3, align 8 br label %5 5: ; preds = %0 %6 = load i32, ptr @AF_INET, align 4 %7 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %8 = call i32 @inet_pton(i32 noundef %6, ptr noundef @.str, ptr noundef %7) %9 = icmp eq i32 1, %8 br i1 %9, label %12, label %10 10: ; preds = %5 %11 = call i32 @printf(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 87) store i32 0, ptr %1, align 4 br label %23 12: ; preds = %5 br label %13 13: ; preds = %12 br label %14 14: ; preds = %13 %15 = load ptr, ptr %3, align 8 %16 = getelementptr inbounds %struct.in_addr, ptr %15, i32 0, i32 0 %17 = load i32, ptr %16, align 4 %18 = icmp eq i32 %17, 16777343 br i1 %18, label %21, label %19 19: ; preds = %14 %20 = call i32 @printf(ptr noundef @.str.1, ptr noundef @.str.3, i32 noundef 88) store i32 0, ptr %1, align 4 br label %23 21: ; preds = %14 br label %22 22: ; preds = %21 store i32 1, ptr %1, align 4 br label %23 23: ; preds = %22, %19, %10 %24 = load i32, ptr %1, align 4 ret i32 %24 } declare i32 @inet_pton(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(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/tmpns2iac3i.c" target datalayout = "e-m:e-p270: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.in_addr = type { i32 } @AF_INET = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"expression '%s' untrue at %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [45 x i8] c"1 == inet_pton(AF_INET, \22127.0.0.1\22, buffer)\00", align 1 @.str.3 = private unnamed_addr constant [29 x i8] c"inaddr->s_addr == 0x0100007f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_inet_pton() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i8], align 1 %3 = alloca ptr, align 8 %4 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 store ptr %4, ptr %3, align 8 br label %5 5: ; preds = %0 %6 = load i32, ptr @AF_INET, align 4 %7 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %8 = call i32 @inet_pton(i32 noundef %6, ptr noundef @.str, ptr noundef %7) %9 = icmp eq i32 1, %8 br i1 %9, label %12, label %10 10: ; preds = %5 %11 = call i32 @printf(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 87) store i32 0, ptr %1, align 4 br label %23 12: ; preds = %5 br label %13 13: ; preds = %12 br label %14 14: ; preds = %13 %15 = load ptr, ptr %3, align 8 %16 = getelementptr inbounds %struct.in_addr, ptr %15, i32 0, i32 0 %17 = load i32, ptr %16, align 4 %18 = icmp eq i32 %17, 16777343 br i1 %18, label %21, label %19 19: ; preds = %14 %20 = call i32 @printf(ptr noundef @.str.1, ptr noundef @.str.3, i32 noundef 88) store i32 0, ptr %1, align 4 br label %23 21: ; preds = %14 br label %22 22: ; preds = %21 store i32 1, ptr %1, align 4 br label %23 23: ; preds = %22, %19, %10 %24 = load i32, ptr %1, align 4 ret i32 %24 } declare i32 @inet_pton(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(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/tmpgnfda762.c' source_filename = "/tmp/tmpgnfda762.c" target datalayout = "e-m:e-p270: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 [28 x i8] c"FATAL ERROR: Out of memory\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @char_calloc(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i64 @calloc(i32 noundef %4, i32 noundef 1) %6 = inttoptr i64 %5 to ptr store ptr %6, ptr %3, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %12 8: ; preds = %1 %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 = %1 %13 = load ptr, ptr %3, align 8 ret ptr %13 } declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 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/tmpgnfda762.c" target datalayout = "e-m:e-p270: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 [28 x i8] c"FATAL ERROR: Out of memory\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @char_calloc(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i64 @calloc(i32 noundef %4, i32 noundef 1) %6 = inttoptr i64 %5 to ptr store ptr %6, ptr %3, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %12 8: ; preds = %1 %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 = %1 %13 = load ptr, ptr %3, align 8 ret ptr %13 } declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 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/tmp2n0fzsw3.c' source_filename = "/tmp/tmp2n0fzsw3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @htmlescape.fromto = internal global [8 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7], align 16 @.str = private unnamed_addr constant [2 x i8] c"&\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"&amp;\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"<\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"&lt;\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c">\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"&gt;\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"\\\22\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"&quot;\00", align 1 @ENOMEM = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @htmlescape(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca i64, align 8 %12 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr null, ptr %6, align 8 store i64 0, ptr %7, align 8 store i64 0, ptr %8, align 8 store i64 0, ptr %9, align 8 store i32 0, ptr %10, align 4 %13 = load ptr, ptr %4, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %22 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %18, label %22 18: ; preds = %15 %19 = load ptr, ptr %4, align 8 %20 = call i32 @strlen(ptr noundef %19) %21 = icmp ne i32 %20, 0 br i1 %21, label %24, label %22 22: ; preds = %18, %15, %2 %23 = load i32, ptr %10, align 4 store i32 %23, ptr %3, align 4 br label %140 24: ; preds = %18 store i64 8, ptr %8, align 8 %25 = load ptr, ptr %4, align 8 %26 = call i32 @strlen(ptr noundef %25) %27 = sext i32 %26 to i64 store i64 %27, ptr %7, align 8 store i64 0, ptr %9, align 8 br label %28 28: ; preds = %55, %24 %29 = load i64, ptr %9, align 8 %30 = load i64, ptr %8, align 8 %31 = icmp ult i64 %29, %30 br i1 %31, label %32, label %58 32: ; preds = %28 %33 = load i64, ptr %9, align 8 %34 = getelementptr inbounds [8 x ptr], ptr @htmlescape.fromto, i64 0, i64 %33 %35 = load ptr, ptr %34, align 8 %36 = call i32 @strlen(ptr noundef %35) %37 = sext i32 %36 to i64 store i64 %37, ptr %11, align 8 %38 = load i64, ptr %9, align 8 %39 = add i64 %38, 1 %40 = getelementptr inbounds [8 x ptr], ptr @htmlescape.fromto, i64 0, i64 %39 %41 = load ptr, ptr %40, align 8 %42 = call i32 @strlen(ptr noundef %41) %43 = sext i32 %42 to i64 store i64 %43, ptr %12, align 8 %44 = load ptr, ptr %4, align 8 %45 = load i64, ptr %9, align 8 %46 = getelementptr inbounds [8 x ptr], ptr @htmlescape.fromto, i64 0, i64 %45 %47 = load ptr, ptr %46, align 8 %48 = call i64 @htmlescape_count(ptr noundef %44, ptr noundef %47) %49 = load i64, ptr %12, align 8 %50 = load i64, ptr %11, align 8 %51 = sub i64 %49, %50 %52 = mul i64 %48, %51 %53 = load i64, ptr %7, align 8 %54 = add i64 %53, %52 store i64 %54, ptr %7, align 8 br label %55 55: ; preds = %32 %56 = load i64, ptr %9, align 8 %57 = add i64 %56, 2 store i64 %57, ptr %9, align 8 br label %28, !llvm.loop !6 58: ; preds = %28 %59 = load i64, ptr %7, align 8 %60 = add i64 %59, 1 %61 = call ptr @calloc(i64 noundef %60, i32 noundef 1) %62 = load ptr, ptr %5, align 8 store ptr %61, ptr %62, align 8 %63 = icmp eq ptr %61, null br i1 %63, label %64, label %66 64: ; preds = %58 %65 = load i32, ptr @ENOMEM, align 4 store i32 %65, ptr %10, align 4 br label %66 66: ; preds = %64, %58 %67 = load ptr, ptr %5, align 8 %68 = load ptr, ptr %67, align 8 store ptr %68, ptr %6, align 8 br label %69 69: ; preds = %135, %66 %70 = load ptr, ptr %4, align 8 %71 = load i8, ptr %70, align 1 %72 = sext i8 %71 to i32 %73 = icmp ne i32 %72, 0 br i1 %73, label %74, label %78 74: ; preds = %69 %75 = load i32, ptr %10, align 4 %76 = icmp ne i32 %75, 0 %77 = xor i1 %76, true br label %78 78: ; preds = %74, %69 %79 = phi i1 [ false, %69 ], [ %77, %74 ] br i1 %79, label %80, label %138 80: ; preds = %78 store i64 0, ptr %9, align 8 br label %81 81: ; preds = %122, %80 %82 = load i64, ptr %9, align 8 %83 = load i64, ptr %8, align 8 %84 = icmp ult i64 %82, %83 br i1 %84, label %85, label %125 85: ; preds = %81 %86 = load ptr, ptr %4, align 8 %87 = load i64, ptr %9, align 8 %88 = getelementptr inbounds [8 x ptr], ptr @htmlescape.fromto, i64 0, i64 %87 %89 = load ptr, ptr %88, align 8 %90 = load i64, ptr %9, align 8 %91 = getelementptr inbounds [8 x ptr], ptr @htmlescape.fromto, i64 0, i64 %90 %92 = load ptr, ptr %91, align 8 %93 = call i32 @strlen(ptr noundef %92) %94 = call i32 @strncmp(ptr noundef %86, ptr noundef %89, i32 noundef %93) %95 = icmp ne i32 %94, 0 br i1 %95, label %121, label %96 96: ; preds = %85 %97 = load ptr, ptr %6, align 8 %98 = load i64, ptr %9, align 8 %99 = add i64 %98, 1 %100 = getelementptr inbounds [8 x ptr], ptr @htmlescape.fromto, i64 0, i64 %99 %101 = load ptr, ptr %100, align 8 %102 = load i64, ptr %9, align 8 %103 = add i64 %102, 1 %104 = getelementptr inbounds [8 x ptr], ptr @htmlescape.fromto, i64 0, i64 %103 %105 = load ptr, ptr %104, align 8 %106 = call i32 @strlen(ptr noundef %105) %107 = call i32 @memcpy(ptr noundef %97, ptr noundef %101, i32 noundef %106) %108 = load ptr, ptr %6, align 8 %109 = call i32 @strlen(ptr noundef %108) %110 = load ptr, ptr %6, align 8 %111 = sext i32 %109 to i64 %112 = getelementptr inbounds i8, ptr %110, i64 %111 store ptr %112, ptr %6, align 8 %113 = load i64, ptr %9, align 8 %114 = getelementptr inbounds [8 x ptr], ptr @htmlescape.fromto, i64 0, i64 %113 %115 = load ptr, ptr %114, align 8 %116 = call i32 @strlen(ptr noundef %115) %117 = sub nsw i32 %116, 1 %118 = load ptr, ptr %4, align 8 %119 = sext i32 %117 to i64 %120 = getelementptr inbounds i8, ptr %118, i64 %119 store ptr %120, ptr %4, align 8 br label %125 121: ; preds = %85 br label %122 122: ; preds = %121 %123 = load i64, ptr %9, align 8 %124 = add i64 %123, 2 store i64 %124, ptr %9, align 8 br label %81, !llvm.loop !8 125: ; preds = %96, %81 %126 = load i64, ptr %9, align 8 %127 = load i64, ptr %8, align 8 %128 = icmp eq i64 %126, %127 br i1 %128, label %129, label %134 129: ; preds = %125 %130 = load ptr, ptr %4, align 8 %131 = load i8, ptr %130, align 1 %132 = load ptr, ptr %6, align 8 %133 = getelementptr inbounds i8, ptr %132, i32 1 store ptr %133, ptr %6, align 8 store i8 %131, ptr %132, align 1 br label %134 134: ; preds = %129, %125 br label %135 135: ; preds = %134 %136 = load ptr, ptr %4, align 8 %137 = getelementptr inbounds i8, ptr %136, i32 1 store ptr %137, ptr %4, align 8 br label %69, !llvm.loop !9 138: ; preds = %78 %139 = load i32, ptr %10, align 4 store i32 %139, ptr %3, align 4 br label %140 140: ; preds = %138, %22 %141 = load i32, ptr %3, align 4 ret i32 %141 } declare i32 @strlen(ptr noundef) #1 declare i64 @htmlescape_count(ptr noundef, ptr noundef) #1 declare ptr @calloc(i64 noundef, i32 noundef) #1 declare i32 @strncmp(ptr noundef, ptr noundef, 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2n0fzsw3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @htmlescape.fromto = internal global [8 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7], align 16 @.str = private unnamed_addr constant [2 x i8] c"&\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"&amp;\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"<\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"&lt;\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c">\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"&gt;\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"\\\22\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"&quot;\00", align 1 @ENOMEM = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @htmlescape(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca i64, align 8 %12 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr null, ptr %6, align 8 store i64 0, ptr %7, align 8 store i64 0, ptr %8, align 8 store i64 0, ptr %9, align 8 store i32 0, ptr %10, align 4 %13 = load ptr, ptr %4, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %22 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %18, label %22 18: ; preds = %15 %19 = load ptr, ptr %4, align 8 %20 = call i32 @strlen(ptr noundef %19) %21 = icmp ne i32 %20, 0 br i1 %21, label %24, label %22 22: ; preds = %18, %15, %2 %23 = load i32, ptr %10, align 4 store i32 %23, ptr %3, align 4 br label %144 24: ; preds = %18 store i64 8, ptr %8, align 8 %25 = load ptr, ptr %4, align 8 %26 = call i32 @strlen(ptr noundef %25) %27 = sext i32 %26 to i64 store i64 %27, ptr %7, align 8 store i64 0, ptr %9, align 8 %28 = load i64, ptr %9, align 8 %29 = load i64, ptr %8, align 8 %30 = icmp ult i64 %28, %29 br i1 %30, label %.lr.ph, label %60 .lr.ph: ; preds = %24 br label %31 31: ; preds = %.lr.ph, %54 %32 = load i64, ptr %9, align 8 %33 = getelementptr inbounds [8 x ptr], ptr @htmlescape.fromto, i64 0, i64 %32 %34 = load ptr, ptr %33, align 8 %35 = call i32 @strlen(ptr noundef %34) %36 = sext i32 %35 to i64 store i64 %36, ptr %11, align 8 %37 = load i64, ptr %9, align 8 %38 = add i64 %37, 1 %39 = getelementptr inbounds [8 x ptr], ptr @htmlescape.fromto, i64 0, i64 %38 %40 = load ptr, ptr %39, align 8 %41 = call i32 @strlen(ptr noundef %40) %42 = sext i32 %41 to i64 store i64 %42, ptr %12, align 8 %43 = load ptr, ptr %4, align 8 %44 = load i64, ptr %9, align 8 %45 = getelementptr inbounds [8 x ptr], ptr @htmlescape.fromto, i64 0, i64 %44 %46 = load ptr, ptr %45, align 8 %47 = call i64 @htmlescape_count(ptr noundef %43, ptr noundef %46) %48 = load i64, ptr %12, align 8 %49 = load i64, ptr %11, align 8 %50 = sub i64 %48, %49 %51 = mul i64 %47, %50 %52 = load i64, ptr %7, align 8 %53 = add i64 %52, %51 store i64 %53, ptr %7, align 8 br label %54 54: ; preds = %31 %55 = load i64, ptr %9, align 8 %56 = add i64 %55, 2 store i64 %56, ptr %9, align 8 %57 = load i64, ptr %9, align 8 %58 = load i64, ptr %8, align 8 %59 = icmp ult i64 %57, %58 br i1 %59, label %31, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %54 br label %60 60: ; preds = %._crit_edge, %24 %61 = load i64, ptr %7, align 8 %62 = add i64 %61, 1 %63 = call ptr @calloc(i64 noundef %62, i32 noundef 1) %64 = load ptr, ptr %5, align 8 store ptr %63, ptr %64, align 8 %65 = icmp eq ptr %63, null br i1 %65, label %66, label %68 66: ; preds = %60 %67 = load i32, ptr @ENOMEM, align 4 store i32 %67, ptr %10, align 4 br label %68 68: ; preds = %66, %60 %69 = load ptr, ptr %5, align 8 %70 = load ptr, ptr %69, align 8 store ptr %70, ptr %6, align 8 br label %71 71: ; preds = %139, %68 %72 = load ptr, ptr %4, align 8 %73 = load i8, ptr %72, align 1 %74 = sext i8 %73 to i32 %75 = icmp ne i32 %74, 0 br i1 %75, label %76, label %80 76: ; preds = %71 %77 = load i32, ptr %10, align 4 %78 = icmp ne i32 %77, 0 %79 = xor i1 %78, true br label %80 80: ; preds = %76, %71 %81 = phi i1 [ false, %71 ], [ %79, %76 ] br i1 %81, label %82, label %142 82: ; preds = %80 store i64 0, ptr %9, align 8 %83 = load i64, ptr %9, align 8 %84 = load i64, ptr %8, align 8 %85 = icmp ult i64 %83, %84 br i1 %85, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %82 br label %86 86: ; preds = %.lr.ph2, %123 %87 = load ptr, ptr %4, align 8 %88 = load i64, ptr %9, align 8 %89 = getelementptr inbounds [8 x ptr], ptr @htmlescape.fromto, i64 0, i64 %88 %90 = load ptr, ptr %89, align 8 %91 = load i64, ptr %9, align 8 %92 = getelementptr inbounds [8 x ptr], ptr @htmlescape.fromto, i64 0, i64 %91 %93 = load ptr, ptr %92, align 8 %94 = call i32 @strlen(ptr noundef %93) %95 = call i32 @strncmp(ptr noundef %87, ptr noundef %90, i32 noundef %94) %96 = icmp ne i32 %95, 0 br i1 %96, label %122, label %97 97: ; preds = %86 %98 = load ptr, ptr %6, align 8 %99 = load i64, ptr %9, align 8 %100 = add i64 %99, 1 %101 = getelementptr inbounds [8 x ptr], ptr @htmlescape.fromto, i64 0, i64 %100 %102 = load ptr, ptr %101, align 8 %103 = load i64, ptr %9, align 8 %104 = add i64 %103, 1 %105 = getelementptr inbounds [8 x ptr], ptr @htmlescape.fromto, i64 0, i64 %104 %106 = load ptr, ptr %105, align 8 %107 = call i32 @strlen(ptr noundef %106) %108 = call i32 @memcpy(ptr noundef %98, ptr noundef %102, i32 noundef %107) %109 = load ptr, ptr %6, align 8 %110 = call i32 @strlen(ptr noundef %109) %111 = load ptr, ptr %6, align 8 %112 = sext i32 %110 to i64 %113 = getelementptr inbounds i8, ptr %111, i64 %112 store ptr %113, ptr %6, align 8 %114 = load i64, ptr %9, align 8 %115 = getelementptr inbounds [8 x ptr], ptr @htmlescape.fromto, i64 0, i64 %114 %116 = load ptr, ptr %115, align 8 %117 = call i32 @strlen(ptr noundef %116) %118 = sub nsw i32 %117, 1 %119 = load ptr, ptr %4, align 8 %120 = sext i32 %118 to i64 %121 = getelementptr inbounds i8, ptr %119, i64 %120 store ptr %121, ptr %4, align 8 br label %129 122: ; preds = %86 br label %123 123: ; preds = %122 %124 = load i64, ptr %9, align 8 %125 = add i64 %124, 2 store i64 %125, ptr %9, align 8 %126 = load i64, ptr %9, align 8 %127 = load i64, ptr %8, align 8 %128 = icmp ult i64 %126, %127 br i1 %128, label %86, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %123 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %82 br label %129 129: ; preds = %.loopexit, %97 %130 = load i64, ptr %9, align 8 %131 = load i64, ptr %8, align 8 %132 = icmp eq i64 %130, %131 br i1 %132, label %133, label %138 133: ; preds = %129 %134 = load ptr, ptr %4, align 8 %135 = load i8, ptr %134, align 1 %136 = load ptr, ptr %6, align 8 %137 = getelementptr inbounds i8, ptr %136, i32 1 store ptr %137, ptr %6, align 8 store i8 %135, ptr %136, align 1 br label %138 138: ; preds = %133, %129 br label %139 139: ; preds = %138 %140 = load ptr, ptr %4, align 8 %141 = getelementptr inbounds i8, ptr %140, i32 1 store ptr %141, ptr %4, align 8 br label %71, !llvm.loop !9 142: ; preds = %80 %143 = load i32, ptr %10, align 4 store i32 %143, ptr %3, align 4 br label %144 144: ; preds = %142, %22 %145 = load i32, ptr %3, align 4 ret i32 %145 } declare i32 @strlen(ptr noundef) #1 declare i64 @htmlescape_count(ptr noundef, ptr noundef) #1 declare ptr @calloc(i64 noundef, i32 noundef) #1 declare i32 @strncmp(ptr noundef, ptr noundef, 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpxgm7gtn3.c' source_filename = "/tmp/tmpxgm7gtn3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [284 x i8] c"fastq-qual [OPTION]... [FILE]...\0AOutput a tab-delimnated table such that row i, column j, given \0Athe number of times that quality score i occured in read position j\0A\0A.Options:\0A -h, --help print this message\0A -V, --version output version information and exit\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_help() #0 { %1 = load i32, ptr @stdout, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) ret void } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxgm7gtn3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [284 x i8] c"fastq-qual [OPTION]... [FILE]...\0AOutput a tab-delimnated table such that row i, column j, given \0Athe number of times that quality score i occured in read position j\0A\0A.Options:\0A -h, --help print this message\0A -V, --version output version information and exit\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_help() #0 { %1 = load i32, ptr @stdout, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) ret void } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwwo3mpjz.c' source_filename = "/tmp/tmpwwo3mpjz.c" target datalayout = "e-m:e-p270: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/tmpwwo3mpjz.c" target datalayout = "e-m:e-p270: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/tmp6mcgsly8.c' source_filename = "/tmp/tmp6mcgsly8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.ini_acf_iireq_src_45m_8m.acf1 = private unnamed_addr constant [20 x i32] [i32 660, i32 133, i32 118, i32 30, i32 636, i32 175, i32 703, i32 109, i32 613, i32 216, i32 624, i32 94, i32 599, i32 239, i32 603, i32 75, i32 591, i32 252, i32 596, i32 77], align 16 @__const.ini_acf_iireq_src_45m_8m.acf2 = private unnamed_addr constant [33 x i32] [i32 4145151, i32 4040653, i32 3936155, i32 3831656, i32 3727157, i32 3620609, i32 3512013, i32 3403416, i32 3292770, i32 3178027, i32 3061235, i32 2942393, i32 2819454, i32 2690369, i32 2555136, i32 2415805, i32 2266231, i32 2108460, i32 1938396, i32 1753990, i32 1553192, i32 1329857, i32 1075789, i32 778696, i32 516393, i32 315596, i32 86116, i32 4016108, i32 3696478, i32 3305137, i32 3305037, i32 3305037, i32 1613], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ini_acf_iireq_src_45m_8m() #0 { %1 = alloca [20 x i32], align 16 %2 = alloca [33 x i32], align 16 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.ini_acf_iireq_src_45m_8m.acf1, i64 80, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.ini_acf_iireq_src_45m_8m.acf2, i64 132, i1 false) %3 = getelementptr inbounds [20 x i32], ptr %1, i64 0, i64 0 %4 = getelementptr inbounds [33 x i32], ptr %2, i64 0, i64 0 %5 = call i32 @program_acf(ptr noundef %3, ptr noundef %4) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @program_acf(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6mcgsly8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.ini_acf_iireq_src_45m_8m.acf1 = private unnamed_addr constant [20 x i32] [i32 660, i32 133, i32 118, i32 30, i32 636, i32 175, i32 703, i32 109, i32 613, i32 216, i32 624, i32 94, i32 599, i32 239, i32 603, i32 75, i32 591, i32 252, i32 596, i32 77], align 16 @__const.ini_acf_iireq_src_45m_8m.acf2 = private unnamed_addr constant [33 x i32] [i32 4145151, i32 4040653, i32 3936155, i32 3831656, i32 3727157, i32 3620609, i32 3512013, i32 3403416, i32 3292770, i32 3178027, i32 3061235, i32 2942393, i32 2819454, i32 2690369, i32 2555136, i32 2415805, i32 2266231, i32 2108460, i32 1938396, i32 1753990, i32 1553192, i32 1329857, i32 1075789, i32 778696, i32 516393, i32 315596, i32 86116, i32 4016108, i32 3696478, i32 3305137, i32 3305037, i32 3305037, i32 1613], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ini_acf_iireq_src_45m_8m() #0 { %1 = alloca [20 x i32], align 16 %2 = alloca [33 x i32], align 16 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.ini_acf_iireq_src_45m_8m.acf1, i64 80, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.ini_acf_iireq_src_45m_8m.acf2, i64 132, i1 false) %3 = getelementptr inbounds [20 x i32], ptr %1, i64 0, i64 0 %4 = getelementptr inbounds [33 x i32], ptr %2, i64 0, i64 0 %5 = call i32 @program_acf(ptr noundef %3, ptr noundef %4) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @program_acf(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphzlgywn1.c' source_filename = "/tmp/tmphzlgywn1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%3d%3d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @show_print(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 = call i32 @putchar(i8 noundef signext 91) store i32 1, ptr %5, align 4 br label %7 7: ; preds = %22, %2 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp sle i32 %8, %9 br i1 %10, label %11, label %25 11: ; preds = %7 %12 = load i32, ptr %5, align 4 %13 = mul nsw i32 %12, 100 %14 = load i32, ptr %3, align 4 %15 = load i32, ptr %4, align 4 %16 = mul nsw i32 %14, %15 %17 = icmp sle i32 %13, %16 %18 = zext i1 %17 to i64 %19 = select i1 %17, i32 62, i32 32 %20 = trunc i32 %19 to i8 %21 = call i32 @putchar(i8 noundef signext %20) br label %22 22: ; preds = %11 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %5, align 4 br label %7, !llvm.loop !6 25: ; preds = %7 %26 = call i32 @putchar(i8 noundef signext 93) %27 = load i32, ptr %3, align 4 %28 = load i32, ptr %3, align 4 %29 = call i32 @printf(ptr noundef @.str, i32 noundef %27, i32 noundef %28) store i32 0, ptr %5, align 4 br label %30 30: ; preds = %37, %25 %31 = load i32, ptr %5, align 4 %32 = load i32, ptr %4, align 4 %33 = add nsw i32 %32, 12 %34 = icmp ne i32 %31, %33 br i1 %34, label %35, label %40 35: ; preds = %30 %36 = call i32 @putchar(i8 noundef signext 8) br label %37 37: ; preds = %35 %38 = load i32, ptr %5, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %5, align 4 br label %30, !llvm.loop !8 40: ; preds = %30 ret void } declare i32 @putchar(i8 noundef signext) #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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphzlgywn1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%3d%3d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @show_print(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 = call i32 @putchar(i8 noundef signext 91) store i32 1, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp sle i32 %7, %8 br i1 %9, label %.lr.ph, label %27 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %21 %11 = load i32, ptr %5, align 4 %12 = mul nsw i32 %11, 100 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %4, align 4 %15 = mul nsw i32 %13, %14 %16 = icmp sle i32 %12, %15 %17 = zext i1 %16 to i64 %18 = select i1 %16, i32 62, i32 32 %19 = trunc i32 %18 to i8 %20 = call i32 @putchar(i8 noundef signext %19) br label %21 21: ; preds = %10 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %5, align 4 %24 = load i32, ptr %5, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp sle i32 %24, %25 br i1 %26, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %27 27: ; preds = %._crit_edge, %2 %28 = call i32 @putchar(i8 noundef signext 93) %29 = load i32, ptr %3, align 4 %30 = load i32, ptr %3, align 4 %31 = call i32 @printf(ptr noundef @.str, i32 noundef %29, i32 noundef %30) store i32 0, ptr %5, align 4 %32 = load i32, ptr %5, align 4 %33 = load i32, ptr %4, align 4 %34 = add nsw i32 %33, 12 %35 = icmp ne i32 %32, %34 br i1 %35, label %.lr.ph2, label %45 .lr.ph2: ; preds = %27 br label %36 36: ; preds = %.lr.ph2, %38 %37 = call i32 @putchar(i8 noundef signext 8) br label %38 38: ; preds = %36 %39 = load i32, ptr %5, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %5, align 4 %41 = load i32, ptr %5, align 4 %42 = load i32, ptr %4, align 4 %43 = add nsw i32 %42, 12 %44 = icmp ne i32 %41, %43 br i1 %44, label %36, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %38 br label %45 45: ; preds = %._crit_edge3, %27 ret void } declare i32 @putchar(i8 noundef signext) #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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmppf1x1fpc.c' source_filename = "/tmp/tmppf1x1fpc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EMSGSIZE = dso_local global i32 0, align 4 @ENOENT = dso_local global i32 0, align 4 @errno = 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/tmppf1x1fpc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EMSGSIZE = dso_local global i32 0, align 4 @ENOENT = dso_local global i32 0, align 4 @errno = 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/tmp3l66mjv6.c' source_filename = "/tmp/tmp3l66mjv6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isUgly0(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 %5 = load i32, ptr %3, align 4 %6 = icmp eq i32 %5, 1 br i1 %6, label %7, label %8 7: ; preds = %1 store i32 1, ptr %2, align 4 br label %51 8: ; preds = %1 %9 = load i32, ptr %3, align 4 %10 = icmp sle i32 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %8 store i32 0, ptr %2, align 4 br label %51 12: ; preds = %8 %13 = load i32, ptr %3, align 4 store i32 %13, ptr %4, align 4 br label %14 14: ; preds = %49, %12 %15 = load i32, ptr %3, align 4 %16 = icmp sgt i32 %15, 0 br i1 %16, label %17, label %51 17: ; preds = %14 %18 = load i32, ptr %3, align 4 %19 = srem i32 %18, 2 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %24 21: ; preds = %17 %22 = load i32, ptr %3, align 4 %23 = sdiv i32 %22, 2 store i32 %23, ptr %4, align 4 br label %40 24: ; preds = %17 %25 = load i32, ptr %3, align 4 %26 = srem i32 %25, 3 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %31 28: ; preds = %24 %29 = load i32, ptr %3, align 4 %30 = sdiv i32 %29, 3 store i32 %30, ptr %4, align 4 br label %39 31: ; preds = %24 %32 = load i32, ptr %3, align 4 %33 = srem i32 %32, 5 %34 = icmp eq i32 %33, 0 br i1 %34, label %35, label %38 35: ; preds = %31 %36 = load i32, ptr %3, align 4 %37 = sdiv i32 %36, 5 store i32 %37, ptr %4, align 4 br label %38 38: ; preds = %35, %31 br label %39 39: ; preds = %38, %28 br label %40 40: ; preds = %39, %21 %41 = load i32, ptr %4, align 4 %42 = icmp eq i32 %41, 1 br i1 %42, label %43, label %44 43: ; preds = %40 store i32 1, ptr %2, align 4 br label %51 44: ; preds = %40 %45 = load i32, ptr %3, align 4 %46 = load i32, ptr %4, align 4 %47 = icmp eq i32 %45, %46 br i1 %47, label %48, label %49 48: ; preds = %44 store i32 0, ptr %2, align 4 br label %51 49: ; preds = %44 %50 = load i32, ptr %4, align 4 store i32 %50, ptr %3, align 4 br label %14, !llvm.loop !6 51: ; preds = %7, %11, %43, %48, %14 %52 = load i32, ptr %2, align 4 ret i32 %52 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp3l66mjv6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isUgly0(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 %5 = load i32, ptr %3, align 4 %6 = icmp eq i32 %5, 1 br i1 %6, label %7, label %8 7: ; preds = %1 store i32 1, ptr %2, align 4 br label %52 8: ; preds = %1 %9 = load i32, ptr %3, align 4 %10 = icmp sle i32 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %8 store i32 0, ptr %2, align 4 br label %52 12: ; preds = %8 %13 = load i32, ptr %3, align 4 store i32 %13, ptr %4, align 4 %14 = load i32, ptr %3, align 4 %15 = icmp sgt i32 %14, 0 br i1 %15, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %12 br label %16 16: ; preds = %.lr.ph, %48 %17 = load i32, ptr %3, align 4 %18 = srem i32 %17, 2 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %23 20: ; preds = %16 %21 = load i32, ptr %3, align 4 %22 = sdiv i32 %21, 2 store i32 %22, ptr %4, align 4 br label %39 23: ; preds = %16 %24 = load i32, ptr %3, align 4 %25 = srem i32 %24, 3 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %30 27: ; preds = %23 %28 = load i32, ptr %3, align 4 %29 = sdiv i32 %28, 3 store i32 %29, ptr %4, align 4 br label %38 30: ; preds = %23 %31 = load i32, ptr %3, align 4 %32 = srem i32 %31, 5 %33 = icmp eq i32 %32, 0 br i1 %33, label %34, label %37 34: ; preds = %30 %35 = load i32, ptr %3, align 4 %36 = sdiv i32 %35, 5 store i32 %36, ptr %4, align 4 br label %37 37: ; preds = %34, %30 br label %38 38: ; preds = %37, %27 br label %39 39: ; preds = %38, %20 %40 = load i32, ptr %4, align 4 %41 = icmp eq i32 %40, 1 br i1 %41, label %42, label %43 42: ; preds = %39 store i32 1, ptr %2, align 4 br label %52 43: ; preds = %39 %44 = load i32, ptr %3, align 4 %45 = load i32, ptr %4, align 4 %46 = icmp eq i32 %44, %45 br i1 %46, label %47, label %48 47: ; preds = %43 store i32 0, ptr %2, align 4 br label %52 48: ; preds = %43 %49 = load i32, ptr %4, align 4 store i32 %49, ptr %3, align 4 %50 = load i32, ptr %3, align 4 %51 = icmp sgt i32 %50, 0 br i1 %51, label %16, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %48 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %12 br label %52 52: ; preds = %.loopexit, %47, %42, %11, %7 %53 = load i32, ptr %2, align 4 ret i32 %53 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpkdfcte69.c' source_filename = "/tmp/tmpkdfcte69.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @parse_common_lock_depth.ld_offset = internal global i32 0, align 4 @parse_common_lock_depth.ld_size = internal global i32 0, align 4 @.str = private unnamed_addr constant [18 x i8] c"common_lock_depth\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @parse_common_lock_depth(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @__parse_common(ptr noundef %5, ptr noundef @parse_common_lock_depth.ld_size, ptr noundef @parse_common_lock_depth.ld_offset, ptr noundef @.str) store i32 %6, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %1 store i32 -1, ptr %2, align 4 br label %12 10: ; preds = %1 %11 = load i32, ptr %4, align 4 store i32 %11, ptr %2, align 4 br label %12 12: ; preds = %10, %9 %13 = load i32, ptr %2, align 4 ret i32 %13 } declare i32 @__parse_common(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkdfcte69.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @parse_common_lock_depth.ld_offset = internal global i32 0, align 4 @parse_common_lock_depth.ld_size = internal global i32 0, align 4 @.str = private unnamed_addr constant [18 x i8] c"common_lock_depth\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @parse_common_lock_depth(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @__parse_common(ptr noundef %5, ptr noundef @parse_common_lock_depth.ld_size, ptr noundef @parse_common_lock_depth.ld_offset, ptr noundef @.str) store i32 %6, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %1 store i32 -1, ptr %2, align 4 br label %12 10: ; preds = %1 %11 = load i32, ptr %4, align 4 store i32 %11, ptr %2, align 4 br label %12 12: ; preds = %10, %9 %13 = load i32, ptr %2, align 4 ret i32 %13 } declare i32 @__parse_common(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpo_5f4doc.c' source_filename = "/tmp/tmpo_5f4doc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"isdigit should be 0 for f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isdigit_0x66() #0 { %1 = call i64 @isdigit(i32 noundef 102) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 515, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isdigit(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/tmpo_5f4doc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"isdigit should be 0 for f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isdigit_0x66() #0 { %1 = call i64 @isdigit(i32 noundef 102) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 515, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isdigit(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/tmpub2dricw.c' source_filename = "/tmp/tmpub2dricw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [3 x i8] c"%X\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) br label %4 4: ; preds = %9, %0 %5 = load i32, ptr %2, align 4 %6 = call i32 @convert(i32 noundef %5) %7 = icmp ne i32 %6, 1 br i1 %7, label %8, label %12 8: ; preds = %4 br label %9 9: ; preds = %8 %10 = load i32, ptr %2, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %2, align 4 br label %4, !llvm.loop !6 12: ; preds = %4 %13 = load i32, ptr %2, align 4 %14 = call i32 @printf(ptr noundef @.str.1, i32 noundef %13) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @convert(i32 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/tmpub2dricw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [3 x i8] c"%X\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %4 = load i32, ptr %2, align 4 %5 = call i32 @convert(i32 noundef %4) %6 = icmp ne i32 %5, 1 br i1 %6, label %.lr.ph, label %14 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %8 br label %8 8: ; preds = %7 %9 = load i32, ptr %2, align 4 %10 = add nsw i32 %9, 1 store i32 %10, ptr %2, align 4 %11 = load i32, ptr %2, align 4 %12 = call i32 @convert(i32 noundef %11) %13 = icmp ne i32 %12, 1 br i1 %13, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %8 br label %14 14: ; preds = %._crit_edge, %0 %15 = load i32, ptr %2, align 4 %16 = call i32 @printf(ptr noundef @.str.1, i32 noundef %15) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @convert(i32 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/tmp71cf5alo.c' source_filename = "/tmp/tmp71cf5alo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [53 x i8] c"clice - the Command-LIne Coding Ecosystem) v0.2.2.5\0A\00", align 1 @.str.1 = private unnamed_addr constant [58 x i8] c" versioning = major.minor.feature-release.bugfix\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [65 x i8] c"Copyright (C) Andrew Bennington 2015-2017 <www.benningtons.net>\0A\00", align 1 @.str.3 = private unnamed_addr constant [79 x i8] c"Licence GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\0A\00", align 1 @.str.4 = private unnamed_addr constant [68 x i8] c"This is free software: you are free to change and redistribute it.\0A\00", align 1 @.str.5 = private unnamed_addr constant [54 x i8] c"There is NO WARRANTY, to the extent permitted by law\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ce_version() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) %6 = call i32 @printf(ptr noundef @.str.5) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp71cf5alo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [53 x i8] c"clice - the Command-LIne Coding Ecosystem) v0.2.2.5\0A\00", align 1 @.str.1 = private unnamed_addr constant [58 x i8] c" versioning = major.minor.feature-release.bugfix\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [65 x i8] c"Copyright (C) Andrew Bennington 2015-2017 <www.benningtons.net>\0A\00", align 1 @.str.3 = private unnamed_addr constant [79 x i8] c"Licence GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\0A\00", align 1 @.str.4 = private unnamed_addr constant [68 x i8] c"This is free software: you are free to change and redistribute it.\0A\00", align 1 @.str.5 = private unnamed_addr constant [54 x i8] c"There is NO WARRANTY, to the extent permitted by law\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ce_version() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) %6 = call i32 @printf(ptr noundef @.str.5) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkmfnjfgs.c' source_filename = "/tmp/tmpkmfnjfgs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.powe.y = private unnamed_addr constant [4 x i32] [i32 1, i32 0, i32 0, i32 1], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @powe(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca [4 x i32], align 16 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.powe.y, i64 16, i1 false) br label %7 7: ; preds = %18, %2 %8 = load i32, ptr %4, align 4 %9 = icmp sgt i32 %8, 0 br i1 %9, label %10, label %24 10: ; preds = %7 %11 = load i32, ptr %4, align 4 %12 = srem i32 %11, 2 %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %18 14: ; preds = %10 %15 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 0 %16 = load ptr, ptr %3, align 8 %17 = call i32 @MatrixM(ptr noundef %15, ptr noundef %16) br label %18 18: ; preds = %14, %10 %19 = load ptr, ptr %3, align 8 %20 = load ptr, ptr %3, align 8 %21 = call i32 @MatrixM(ptr noundef %19, ptr noundef %20) %22 = load i32, ptr %4, align 4 %23 = sdiv i32 %22, 2 store i32 %23, ptr %4, align 4 br label %7, !llvm.loop !6 24: ; preds = %7 %25 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 2 %26 = load i32, ptr %25, align 8 ret i32 %26 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @MatrixM(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkmfnjfgs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.powe.y = private unnamed_addr constant [4 x i32] [i32 1, i32 0, i32 0, i32 1], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @powe(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca [4 x i32], align 16 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.powe.y, i64 16, i1 false) %7 = load i32, ptr %4, align 4 %8 = icmp sgt i32 %7, 0 br i1 %8, label %.lr.ph, label %25 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %17 %10 = load i32, ptr %4, align 4 %11 = srem i32 %10, 2 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %17 13: ; preds = %9 %14 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 0 %15 = load ptr, ptr %3, align 8 %16 = call i32 @MatrixM(ptr noundef %14, ptr noundef %15) br label %17 17: ; preds = %13, %9 %18 = load ptr, ptr %3, align 8 %19 = load ptr, ptr %3, align 8 %20 = call i32 @MatrixM(ptr noundef %18, ptr noundef %19) %21 = load i32, ptr %4, align 4 %22 = sdiv i32 %21, 2 store i32 %22, ptr %4, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp sgt i32 %23, 0 br i1 %24, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %25 25: ; preds = %._crit_edge, %2 %26 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 2 %27 = load i32, ptr %26, align 8 ret i32 %27 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @MatrixM(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpvdag09yt.c' source_filename = "/tmp/tmpvdag09yt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%.lf\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 store i32 0, ptr %1, align 4 store double 2.000000e+00, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @pow(double noundef %3, i32 noundef 2) store double %4, ptr %2, align 8 %5 = load double, ptr %2, align 8 %6 = call i32 @printf(ptr noundef @.str, double noundef %5) ret i32 0 } declare double @pow(double noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvdag09yt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%.lf\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 store i32 0, ptr %1, align 4 store double 2.000000e+00, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @pow(double noundef %3, i32 noundef 2) store double %4, ptr %2, align 8 %5 = load double, ptr %2, align 8 %6 = call i32 @printf(ptr noundef @.str, double noundef %5) ret i32 0 } declare double @pow(double noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkt3gyxlf.c' source_filename = "/tmp/tmpkt3gyxlf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%x:%x:%x:%x:%x:%x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mac_str(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = getelementptr inbounds i8, ptr %7, i64 1 %9 = load ptr, ptr %4, align 8 %10 = getelementptr inbounds i8, ptr %9, i64 2 %11 = load ptr, ptr %4, align 8 %12 = getelementptr inbounds i8, ptr %11, i64 3 %13 = load ptr, ptr %4, align 8 %14 = getelementptr inbounds i8, ptr %13, i64 4 %15 = load ptr, ptr %4, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 5 %17 = call i32 @sscanf(ptr noundef %5, ptr noundef @.str, ptr noundef %6, ptr noundef %8, ptr noundef %10, ptr noundef %12, ptr noundef %14, ptr noundef %16) ret void } declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkt3gyxlf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%x:%x:%x:%x:%x:%x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mac_str(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = getelementptr inbounds i8, ptr %7, i64 1 %9 = load ptr, ptr %4, align 8 %10 = getelementptr inbounds i8, ptr %9, i64 2 %11 = load ptr, ptr %4, align 8 %12 = getelementptr inbounds i8, ptr %11, i64 3 %13 = load ptr, ptr %4, align 8 %14 = getelementptr inbounds i8, ptr %13, i64 4 %15 = load ptr, ptr %4, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 5 %17 = call i32 @sscanf(ptr noundef %5, ptr noundef @.str, ptr noundef %6, ptr noundef %8, ptr noundef %10, ptr noundef %12, ptr noundef %14, ptr noundef %16) ret void } declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpebea97wa.c' source_filename = "/tmp/tmpebea97wa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sort_bubble(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %8 = load i64, ptr %4, align 8 %9 = icmp ult i64 %8, 2 br i1 %9, label %10, label %11 10: ; preds = %2 br label %64 11: ; preds = %2 store i64 0, ptr %5, align 8 br label %12 12: ; preds = %61, %11 %13 = load i64, ptr %5, align 8 %14 = load i64, ptr %4, align 8 %15 = sub i64 %14, 1 %16 = icmp ult i64 %13, %15 br i1 %16, label %17, label %64 17: ; preds = %12 store i64 0, ptr %6, align 8 br label %18 18: ; preds = %57, %17 %19 = load i64, ptr %6, align 8 %20 = load i64, ptr %4, align 8 %21 = sub i64 %20, 1 %22 = load i64, ptr %5, align 8 %23 = sub i64 %21, %22 %24 = icmp ult i64 %19, %23 br i1 %24, label %25, label %60 25: ; preds = %18 %26 = load ptr, ptr %3, align 8 %27 = load i64, ptr %6, align 8 %28 = getelementptr inbounds i32, ptr %26, i64 %27 %29 = load i32, ptr %28, align 4 %30 = load ptr, ptr %3, align 8 %31 = load i64, ptr %6, align 8 %32 = add i64 %31, 1 %33 = getelementptr inbounds i32, ptr %30, i64 %32 %34 = load i32, ptr %33, align 4 %35 = icmp sgt i32 %29, %34 br i1 %35, label %36, label %56 36: ; preds = %25 br label %37 37: ; preds = %36 %38 = load ptr, ptr %3, align 8 %39 = load i64, ptr %6, align 8 %40 = getelementptr inbounds i32, ptr %38, i64 %39 %41 = load i32, ptr %40, align 4 store i32 %41, ptr %7, align 4 %42 = load ptr, ptr %3, align 8 %43 = load i64, ptr %6, align 8 %44 = add i64 %43, 1 %45 = getelementptr inbounds i32, ptr %42, i64 %44 %46 = load i32, ptr %45, align 4 %47 = load ptr, ptr %3, align 8 %48 = load i64, ptr %6, align 8 %49 = getelementptr inbounds i32, ptr %47, i64 %48 store i32 %46, ptr %49, align 4 %50 = load i32, ptr %7, align 4 %51 = load ptr, ptr %3, align 8 %52 = load i64, ptr %6, align 8 %53 = add i64 %52, 1 %54 = getelementptr inbounds i32, ptr %51, i64 %53 store i32 %50, ptr %54, align 4 br label %55 55: ; preds = %37 br label %56 56: ; preds = %55, %25 br label %57 57: ; preds = %56 %58 = load i64, ptr %6, align 8 %59 = add i64 %58, 1 store i64 %59, ptr %6, align 8 br label %18, !llvm.loop !6 60: ; preds = %18 br label %61 61: ; preds = %60 %62 = load i64, ptr %5, align 8 %63 = add i64 %62, 1 store i64 %63, ptr %5, align 8 br label %12, !llvm.loop !8 64: ; preds = %10, %12 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpebea97wa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sort_bubble(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %8 = load i64, ptr %4, align 8 %9 = icmp ult i64 %8, 2 br i1 %9, label %10, label %11 10: ; preds = %2 br label %72 11: ; preds = %2 store i64 0, ptr %5, align 8 %12 = load i64, ptr %5, align 8 %13 = load i64, ptr %4, align 8 %14 = sub i64 %13, 1 %15 = icmp ult i64 %12, %14 br i1 %15, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %11 br label %16 16: ; preds = %.lr.ph2, %65 store i64 0, ptr %6, align 8 %17 = load i64, ptr %6, align 8 %18 = load i64, ptr %4, align 8 %19 = sub i64 %18, 1 %20 = load i64, ptr %5, align 8 %21 = sub i64 %19, %20 %22 = icmp ult i64 %17, %21 br i1 %22, label %.lr.ph, label %64 .lr.ph: ; preds = %16 br label %23 23: ; preds = %.lr.ph, %55 %24 = load ptr, ptr %3, align 8 %25 = load i64, ptr %6, align 8 %26 = getelementptr inbounds i32, ptr %24, i64 %25 %27 = load i32, ptr %26, align 4 %28 = load ptr, ptr %3, align 8 %29 = load i64, ptr %6, align 8 %30 = add i64 %29, 1 %31 = getelementptr inbounds i32, ptr %28, i64 %30 %32 = load i32, ptr %31, align 4 %33 = icmp sgt i32 %27, %32 br i1 %33, label %34, label %54 34: ; preds = %23 br label %35 35: ; preds = %34 %36 = load ptr, ptr %3, align 8 %37 = load i64, ptr %6, align 8 %38 = getelementptr inbounds i32, ptr %36, i64 %37 %39 = load i32, ptr %38, align 4 store i32 %39, ptr %7, align 4 %40 = load ptr, ptr %3, align 8 %41 = load i64, ptr %6, align 8 %42 = add i64 %41, 1 %43 = getelementptr inbounds i32, ptr %40, i64 %42 %44 = load i32, ptr %43, align 4 %45 = load ptr, ptr %3, align 8 %46 = load i64, ptr %6, align 8 %47 = getelementptr inbounds i32, ptr %45, i64 %46 store i32 %44, ptr %47, align 4 %48 = load i32, ptr %7, align 4 %49 = load ptr, ptr %3, align 8 %50 = load i64, ptr %6, align 8 %51 = add i64 %50, 1 %52 = getelementptr inbounds i32, ptr %49, i64 %51 store i32 %48, ptr %52, align 4 br label %53 53: ; preds = %35 br label %54 54: ; preds = %53, %23 br label %55 55: ; preds = %54 %56 = load i64, ptr %6, align 8 %57 = add i64 %56, 1 store i64 %57, ptr %6, align 8 %58 = load i64, ptr %6, align 8 %59 = load i64, ptr %4, align 8 %60 = sub i64 %59, 1 %61 = load i64, ptr %5, align 8 %62 = sub i64 %60, %61 %63 = icmp ult i64 %58, %62 br i1 %63, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %55 br label %64 64: ; preds = %._crit_edge, %16 br label %65 65: ; preds = %64 %66 = load i64, ptr %5, align 8 %67 = add i64 %66, 1 store i64 %67, ptr %5, align 8 %68 = load i64, ptr %5, align 8 %69 = load i64, ptr %4, align 8 %70 = sub i64 %69, 1 %71 = icmp ult i64 %68, %70 br i1 %71, label %16, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %65 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %11 br label %72 72: ; preds = %.loopexit, %10 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpo59ksqfn.c' source_filename = "/tmp/tmpo59ksqfn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @get_flagval.ON_sym = internal global [3 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2], align 16 @.str = private unnamed_addr constant [5 x i8] c"true\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"yes\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"on\00", align 1 @get_flagval.OFF_sym = internal global [3 x ptr] [ptr @.str.3, ptr @.str.4, ptr @.str.5], align 16 @.str.3 = private unnamed_addr constant [6 x i8] c"false\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"no\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"off\00", align 1 @errno = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_flagval(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %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 i32 %1, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = sext i32 %10 to i64 store i64 %11, ptr %6, align 8 store ptr null, ptr %7, align 8 store ptr null, ptr %8, align 8 store i64 0, ptr %9, align 8 %12 = load ptr, ptr %4, align 8 %13 = call i32 @assert(ptr noundef %12) %14 = load ptr, ptr %4, align 8 %15 = call ptr @getenv(ptr noundef %14) store ptr %15, ptr %7, align 8 %16 = load ptr, ptr %7, align 8 %17 = icmp eq ptr null, %16 br i1 %17, label %18, label %20 18: ; preds = %2 %19 = load i32, ptr %5, align 4 store i32 %19, ptr %3, align 4 br label %72 20: ; preds = %2 store i64 0, ptr @errno, align 8 %21 = load ptr, ptr %7, align 8 %22 = call i64 @strtol(ptr noundef %21, ptr noundef %8, i32 noundef 10) store i64 %22, ptr %6, align 8 %23 = load i64, ptr @errno, align 8 %24 = icmp ne i64 %23, 0 br i1 %24, label %25, label %27 25: ; preds = %20 %26 = load i32, ptr %5, align 4 store i32 %26, ptr %3, align 4 br label %72 27: ; preds = %20 %28 = load ptr, ptr %8, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %30, label %38 30: ; preds = %27 %31 = load ptr, ptr %8, align 8 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp eq i32 0, %33 br i1 %34, label %35, label %38 35: ; preds = %30 %36 = load i64, ptr %6, align 8 %37 = trunc i64 %36 to i32 store i32 %37, ptr %3, align 4 br label %72 38: ; preds = %30, %27 store i64 0, ptr %9, align 8 br label %39 39: ; preds = %51, %38 %40 = load i64, ptr %9, align 8 %41 = icmp ult i64 %40, 3 br i1 %41, label %42, label %54 42: ; preds = %39 %43 = load ptr, ptr %7, align 8 %44 = load i64, ptr %9, align 8 %45 = getelementptr inbounds [3 x ptr], ptr @get_flagval.ON_sym, i64 0, i64 %44 %46 = load ptr, ptr %45, align 8 %47 = call i64 @strcasecmp(ptr noundef %43, ptr noundef %46) %48 = icmp eq i64 0, %47 br i1 %48, label %49, label %50 49: ; preds = %42 store i32 1, ptr %3, align 4 br label %72 50: ; preds = %42 br label %51 51: ; preds = %50 %52 = load i64, ptr %9, align 8 %53 = add i64 %52, 1 store i64 %53, ptr %9, align 8 br label %39, !llvm.loop !6 54: ; preds = %39 store i64 0, ptr %9, align 8 br label %55 55: ; preds = %67, %54 %56 = load i64, ptr %9, align 8 %57 = icmp ult i64 %56, 3 br i1 %57, label %58, label %70 58: ; preds = %55 %59 = load ptr, ptr %7, align 8 %60 = load i64, ptr %9, align 8 %61 = getelementptr inbounds [3 x ptr], ptr @get_flagval.OFF_sym, i64 0, i64 %60 %62 = load ptr, ptr %61, align 8 %63 = call i64 @strcasecmp(ptr noundef %59, ptr noundef %62) %64 = icmp eq i64 0, %63 br i1 %64, label %65, label %66 65: ; preds = %58 store i32 0, ptr %3, align 4 br label %72 66: ; preds = %58 br label %67 67: ; preds = %66 %68 = load i64, ptr %9, align 8 %69 = add i64 %68, 1 store i64 %69, ptr %9, align 8 br label %55, !llvm.loop !8 70: ; preds = %55 %71 = load i32, ptr %5, align 4 store i32 %71, ptr %3, align 4 br label %72 72: ; preds = %70, %65, %49, %35, %25, %18 %73 = load i32, ptr %3, align 4 ret i32 %73 } declare i32 @assert(ptr noundef) #1 declare ptr @getenv(ptr noundef) #1 declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @strcasecmp(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/tmpo59ksqfn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @get_flagval.ON_sym = internal global [3 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2], align 16 @.str = private unnamed_addr constant [5 x i8] c"true\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"yes\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"on\00", align 1 @get_flagval.OFF_sym = internal global [3 x ptr] [ptr @.str.3, ptr @.str.4, ptr @.str.5], align 16 @.str.3 = private unnamed_addr constant [6 x i8] c"false\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"no\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"off\00", align 1 @errno = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_flagval(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %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 i32 %1, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = sext i32 %10 to i64 store i64 %11, ptr %6, align 8 store ptr null, ptr %7, align 8 store ptr null, ptr %8, align 8 store i64 0, ptr %9, align 8 %12 = load ptr, ptr %4, align 8 %13 = call i32 @assert(ptr noundef %12) %14 = load ptr, ptr %4, align 8 %15 = call ptr @getenv(ptr noundef %14) store ptr %15, ptr %7, align 8 %16 = load ptr, ptr %7, align 8 %17 = icmp eq ptr null, %16 br i1 %17, label %18, label %20 18: ; preds = %2 %19 = load i32, ptr %5, align 4 store i32 %19, ptr %3, align 4 br label %74 20: ; preds = %2 store i64 0, ptr @errno, align 8 %21 = load ptr, ptr %7, align 8 %22 = call i64 @strtol(ptr noundef %21, ptr noundef %8, i32 noundef 10) store i64 %22, ptr %6, align 8 %23 = load i64, ptr @errno, align 8 %24 = icmp ne i64 %23, 0 br i1 %24, label %25, label %27 25: ; preds = %20 %26 = load i32, ptr %5, align 4 store i32 %26, ptr %3, align 4 br label %74 27: ; preds = %20 %28 = load ptr, ptr %8, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %30, label %38 30: ; preds = %27 %31 = load ptr, ptr %8, align 8 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp eq i32 0, %33 br i1 %34, label %35, label %38 35: ; preds = %30 %36 = load i64, ptr %6, align 8 %37 = trunc i64 %36 to i32 store i32 %37, ptr %3, align 4 br label %74 38: ; preds = %30, %27 store i64 0, ptr %9, align 8 %39 = load i64, ptr %9, align 8 %40 = icmp ult i64 %39, 3 br i1 %40, label %.lr.ph, label %55 .lr.ph: ; preds = %38 br label %41 41: ; preds = %.lr.ph, %50 %42 = load ptr, ptr %7, align 8 %43 = load i64, ptr %9, align 8 %44 = getelementptr inbounds [3 x ptr], ptr @get_flagval.ON_sym, i64 0, i64 %43 %45 = load ptr, ptr %44, align 8 %46 = call i64 @strcasecmp(ptr noundef %42, ptr noundef %45) %47 = icmp eq i64 0, %46 br i1 %47, label %48, label %49 48: ; preds = %41 store i32 1, ptr %3, align 4 br label %74 49: ; preds = %41 br label %50 50: ; preds = %49 %51 = load i64, ptr %9, align 8 %52 = add i64 %51, 1 store i64 %52, ptr %9, align 8 %53 = load i64, ptr %9, align 8 %54 = icmp ult i64 %53, 3 br i1 %54, label %41, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %50 br label %55 55: ; preds = %._crit_edge, %38 store i64 0, ptr %9, align 8 %56 = load i64, ptr %9, align 8 %57 = icmp ult i64 %56, 3 br i1 %57, label %.lr.ph2, label %72 .lr.ph2: ; preds = %55 br label %58 58: ; preds = %.lr.ph2, %67 %59 = load ptr, ptr %7, align 8 %60 = load i64, ptr %9, align 8 %61 = getelementptr inbounds [3 x ptr], ptr @get_flagval.OFF_sym, i64 0, i64 %60 %62 = load ptr, ptr %61, align 8 %63 = call i64 @strcasecmp(ptr noundef %59, ptr noundef %62) %64 = icmp eq i64 0, %63 br i1 %64, label %65, label %66 65: ; preds = %58 store i32 0, ptr %3, align 4 br label %74 66: ; preds = %58 br label %67 67: ; preds = %66 %68 = load i64, ptr %9, align 8 %69 = add i64 %68, 1 store i64 %69, ptr %9, align 8 %70 = load i64, ptr %9, align 8 %71 = icmp ult i64 %70, 3 br i1 %71, label %58, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %67 br label %72 72: ; preds = %._crit_edge3, %55 %73 = load i32, ptr %5, align 4 store i32 %73, ptr %3, align 4 br label %74 74: ; preds = %72, %65, %48, %35, %25, %18 %75 = load i32, ptr %3, align 4 ret i32 %75 } declare i32 @assert(ptr noundef) #1 declare ptr @getenv(ptr noundef) #1 declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @strcasecmp(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/tmpo1c6d9ob.c' source_filename = "/tmp/tmpo1c6d9ob.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlower(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @strlen(ptr noundef %5) store i32 %6, ptr %4, align 4 store i32 0, ptr %3, align 4 br label %7 7: ; preds = %29, %1 %8 = load i32, ptr %3, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %32 11: ; preds = %7 %12 = load ptr, ptr %2, align 8 %13 = load i32, ptr %3, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %12, i64 %14 %16 = load i8, ptr %15, align 1 %17 = call i64 @is_upper(i8 noundef signext %16) %18 = icmp ne i64 %17, 0 br i1 %18, label %19, label %28 19: ; preds = %11 %20 = load ptr, ptr %2, align 8 %21 = load i32, ptr %3, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = add nsw i32 %25, 32 %27 = trunc i32 %26 to i8 store i8 %27, ptr %23, align 1 br label %28 28: ; preds = %19, %11 br label %29 29: ; preds = %28 %30 = load i32, ptr %3, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %3, align 4 br label %7, !llvm.loop !6 32: ; preds = %7 %33 = load ptr, ptr %2, align 8 %34 = load i32, ptr %4, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %33, i64 %35 store i8 0, ptr %36, align 1 %37 = load ptr, ptr %2, align 8 ret ptr %37 } declare i32 @strlen(ptr noundef) #1 declare i64 @is_upper(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo1c6d9ob.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlower(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @strlen(ptr noundef %5) store i32 %6, ptr %4, align 4 store i32 0, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %.lr.ph, label %34 .lr.ph: ; preds = %1 br label %10 10: ; preds = %.lr.ph, %28 %11 = load ptr, ptr %2, align 8 %12 = load i32, ptr %3, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %11, i64 %13 %15 = load i8, ptr %14, align 1 %16 = call i64 @is_upper(i8 noundef signext %15) %17 = icmp ne i64 %16, 0 br i1 %17, label %18, label %27 18: ; preds = %10 %19 = load ptr, ptr %2, align 8 %20 = load i32, ptr %3, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = add nsw i32 %24, 32 %26 = trunc i32 %25 to i8 store i8 %26, ptr %22, align 1 br label %27 27: ; preds = %18, %10 br label %28 28: ; preds = %27 %29 = load i32, ptr %3, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %3, align 4 %31 = load i32, ptr %3, align 4 %32 = load i32, ptr %4, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %34 34: ; preds = %._crit_edge, %1 %35 = load ptr, ptr %2, align 8 %36 = load i32, ptr %4, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 store i8 0, ptr %38, align 1 %39 = load ptr, ptr %2, align 8 ret ptr %39 } declare i32 @strlen(ptr noundef) #1 declare i64 @is_upper(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpuxm5abdi.c' source_filename = "/tmp/tmpuxm5abdi.c" target datalayout = "e-m:e-p270: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.termios = type { i32 } @B9600 = dso_local global i32 0, align 4 @CS8 = dso_local global i32 0, align 4 @CLOCAL = dso_local global i32 0, align 4 @CREAD = dso_local global i32 0, align 4 @TCSANOW = dso_local global i32 0, align 4 @TCIOFLUSH = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @conf_ser(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca %struct.termios, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 %5 = load i32, ptr %2, align 4 %6 = call i32 @tcgetattr(i32 noundef %5, ptr noundef %4) store i32 %6, ptr %3, align 4 %7 = call i32 @cfmakeraw(ptr noundef %4) %8 = load i32, ptr @B9600, align 4 %9 = call i32 @cfsetispeed(ptr noundef %4, i32 noundef %8) store i32 %9, ptr %3, align 4 %10 = load i32, ptr @B9600, align 4 %11 = call i32 @cfsetospeed(ptr noundef %4, i32 noundef %10) store i32 %11, ptr %3, align 4 %12 = load i32, ptr @B9600, align 4 %13 = load i32, ptr @CS8, align 4 %14 = or i32 %12, %13 %15 = load i32, ptr @CLOCAL, align 4 %16 = or i32 %14, %15 %17 = load i32, ptr @CREAD, align 4 %18 = or i32 %16, %17 %19 = getelementptr inbounds %struct.termios, ptr %4, i32 0, i32 0 %20 = load i32, ptr %19, align 4 %21 = or i32 %20, %18 store i32 %21, ptr %19, align 4 %22 = load i32, ptr %2, align 4 %23 = load i32, ptr @TCSANOW, align 4 %24 = call i32 @tcsetattr(i32 noundef %22, i32 noundef %23, ptr noundef %4) store i32 %24, ptr %3, align 4 %25 = load i32, ptr %2, align 4 %26 = load i32, ptr @TCIOFLUSH, align 4 %27 = call i32 @tcflush(i32 noundef %25, i32 noundef %26) %28 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %28 } declare i32 @tcgetattr(i32 noundef, ptr noundef) #1 declare i32 @cfmakeraw(ptr noundef) #1 declare i32 @cfsetispeed(ptr noundef, i32 noundef) #1 declare i32 @cfsetospeed(ptr noundef, i32 noundef) #1 declare i32 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @tcflush(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/tmpuxm5abdi.c" target datalayout = "e-m:e-p270: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.termios = type { i32 } @B9600 = dso_local global i32 0, align 4 @CS8 = dso_local global i32 0, align 4 @CLOCAL = dso_local global i32 0, align 4 @CREAD = dso_local global i32 0, align 4 @TCSANOW = dso_local global i32 0, align 4 @TCIOFLUSH = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @conf_ser(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca %struct.termios, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 %5 = load i32, ptr %2, align 4 %6 = call i32 @tcgetattr(i32 noundef %5, ptr noundef %4) store i32 %6, ptr %3, align 4 %7 = call i32 @cfmakeraw(ptr noundef %4) %8 = load i32, ptr @B9600, align 4 %9 = call i32 @cfsetispeed(ptr noundef %4, i32 noundef %8) store i32 %9, ptr %3, align 4 %10 = load i32, ptr @B9600, align 4 %11 = call i32 @cfsetospeed(ptr noundef %4, i32 noundef %10) store i32 %11, ptr %3, align 4 %12 = load i32, ptr @B9600, align 4 %13 = load i32, ptr @CS8, align 4 %14 = or i32 %12, %13 %15 = load i32, ptr @CLOCAL, align 4 %16 = or i32 %14, %15 %17 = load i32, ptr @CREAD, align 4 %18 = or i32 %16, %17 %19 = getelementptr inbounds %struct.termios, ptr %4, i32 0, i32 0 %20 = load i32, ptr %19, align 4 %21 = or i32 %20, %18 store i32 %21, ptr %19, align 4 %22 = load i32, ptr %2, align 4 %23 = load i32, ptr @TCSANOW, align 4 %24 = call i32 @tcsetattr(i32 noundef %22, i32 noundef %23, ptr noundef %4) store i32 %24, ptr %3, align 4 %25 = load i32, ptr %2, align 4 %26 = load i32, ptr @TCIOFLUSH, align 4 %27 = call i32 @tcflush(i32 noundef %25, i32 noundef %26) %28 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %28 } declare i32 @tcgetattr(i32 noundef, ptr noundef) #1 declare i32 @cfmakeraw(ptr noundef) #1 declare i32 @cfsetispeed(ptr noundef, i32 noundef) #1 declare i32 @cfsetospeed(ptr noundef, i32 noundef) #1 declare i32 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @tcflush(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/tmpnw4mq8q6.c' source_filename = "/tmp/tmpnw4mq8q6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_sockopt_value_ext(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store ptr %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store ptr %4, ptr %11, align 8 store i32 %5, ptr %12, align 4 %13 = load ptr, ptr %7, align 8 %14 = load i32, ptr %8, align 4 %15 = load ptr, ptr %9, align 8 %16 = load i32, ptr %10, align 4 %17 = call i32 @test_setsockopt(ptr noundef %13, i32 noundef %14, ptr noundef %15, i32 noundef %16) %18 = load ptr, ptr %7, align 8 %19 = load i32, ptr %8, align 4 %20 = load ptr, ptr %11, align 8 %21 = load i32, ptr %12, align 4 %22 = call i32 @test_getsockopt(ptr noundef %18, i32 noundef %19, ptr noundef %20, i32 noundef %21) ret void } declare i32 @test_setsockopt(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @test_getsockopt(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnw4mq8q6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_sockopt_value_ext(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store ptr %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store ptr %4, ptr %11, align 8 store i32 %5, ptr %12, align 4 %13 = load ptr, ptr %7, align 8 %14 = load i32, ptr %8, align 4 %15 = load ptr, ptr %9, align 8 %16 = load i32, ptr %10, align 4 %17 = call i32 @test_setsockopt(ptr noundef %13, i32 noundef %14, ptr noundef %15, i32 noundef %16) %18 = load ptr, ptr %7, align 8 %19 = load i32, ptr %8, align 4 %20 = load ptr, ptr %11, align 8 %21 = load i32, ptr %12, align 4 %22 = call i32 @test_getsockopt(ptr noundef %18, i32 noundef %19, ptr noundef %20, i32 noundef %21) ret void } declare i32 @test_setsockopt(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @test_getsockopt(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcus462tl.c' source_filename = "/tmp/tmpcus462tl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BrzVariable_reqdown(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 store ptr %6, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = call i32 @SEND_ACKDOWN_DELAYED(i32 noundef %7, i32 noundef 1) %9 = load i32, ptr %4, align 4 %10 = icmp sge i32 %9, 1 br i1 %10, label %11, label %14 11: ; preds = %2 %12 = load i32, ptr %4, align 4 %13 = call i32 @SEND_DATAOFF_DELAYED(i32 noundef %12, i32 noundef 0) br label %14 14: ; preds = %11, %2 ret void } declare i32 @SEND_ACKDOWN_DELAYED(i32 noundef, i32 noundef) #1 declare i32 @SEND_DATAOFF_DELAYED(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/tmpcus462tl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BrzVariable_reqdown(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 store ptr %6, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = call i32 @SEND_ACKDOWN_DELAYED(i32 noundef %7, i32 noundef 1) %9 = load i32, ptr %4, align 4 %10 = icmp sge i32 %9, 1 br i1 %10, label %11, label %14 11: ; preds = %2 %12 = load i32, ptr %4, align 4 %13 = call i32 @SEND_DATAOFF_DELAYED(i32 noundef %12, i32 noundef 0) br label %14 14: ; preds = %11, %2 ret void } declare i32 @SEND_ACKDOWN_DELAYED(i32 noundef, i32 noundef) #1 declare i32 @SEND_DATAOFF_DELAYED(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/tmpipj9kcem.c' source_filename = "/tmp/tmpipj9kcem.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @r8vec_ab_to_01(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %8 = load i32, ptr %3, align 4 %9 = load ptr, ptr %4, align 8 %10 = call double @r8vec_max(i32 noundef %8, ptr noundef %9) store double %10, ptr %5, align 8 %11 = load i32, ptr %3, align 4 %12 = load ptr, ptr %4, align 8 %13 = call double @r8vec_min(i32 noundef %11, ptr noundef %12) store double %13, ptr %6, align 8 %14 = load double, ptr %6, align 8 %15 = load double, ptr %5, align 8 %16 = fcmp oeq double %14, %15 br i1 %16, label %17, label %31 17: ; preds = %2 store i32 0, ptr %7, align 4 br label %18 18: ; preds = %27, %17 %19 = load i32, ptr %7, align 4 %20 = load i32, ptr %3, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %22, label %30 22: ; preds = %18 %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %7, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds double, ptr %23, i64 %25 store double 5.000000e-01, ptr %26, align 8 br label %27 27: ; preds = %22 %28 = load i32, ptr %7, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %7, align 4 br label %18, !llvm.loop !6 30: ; preds = %18 br label %56 31: ; preds = %2 store i32 0, ptr %7, align 4 br label %32 32: ; preds = %52, %31 %33 = load i32, ptr %7, align 4 %34 = load i32, ptr %3, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %36, label %55 36: ; preds = %32 %37 = load ptr, ptr %4, align 8 %38 = load i32, ptr %7, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds double, ptr %37, i64 %39 %41 = load double, ptr %40, align 8 %42 = load double, ptr %6, align 8 %43 = fsub double %41, %42 %44 = load double, ptr %5, align 8 %45 = load double, ptr %6, align 8 %46 = fsub double %44, %45 %47 = fdiv double %43, %46 %48 = load ptr, ptr %4, align 8 %49 = load i32, ptr %7, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds double, ptr %48, i64 %50 store double %47, ptr %51, align 8 br label %52 52: ; preds = %36 %53 = load i32, ptr %7, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %7, align 4 br label %32, !llvm.loop !8 55: ; preds = %32 br label %56 56: ; preds = %55, %30 ret void } declare double @r8vec_max(i32 noundef, ptr noundef) #1 declare double @r8vec_min(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpipj9kcem.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @r8vec_ab_to_01(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %8 = load i32, ptr %3, align 4 %9 = load ptr, ptr %4, align 8 %10 = call double @r8vec_max(i32 noundef %8, ptr noundef %9) store double %10, ptr %5, align 8 %11 = load i32, ptr %3, align 4 %12 = load ptr, ptr %4, align 8 %13 = call double @r8vec_min(i32 noundef %11, ptr noundef %12) store double %13, ptr %6, align 8 %14 = load double, ptr %6, align 8 %15 = load double, ptr %5, align 8 %16 = fcmp oeq double %14, %15 br i1 %16, label %17, label %33 17: ; preds = %2 store i32 0, ptr %7, align 4 %18 = load i32, ptr %7, align 4 %19 = load i32, ptr %3, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %.lr.ph2, label %32 .lr.ph2: ; preds = %17 br label %21 21: ; preds = %.lr.ph2, %26 %22 = load ptr, ptr %4, align 8 %23 = load i32, ptr %7, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds double, ptr %22, i64 %24 store double 5.000000e-01, ptr %25, align 8 br label %26 26: ; preds = %21 %27 = load i32, ptr %7, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %7, align 4 %29 = load i32, ptr %7, align 4 %30 = load i32, ptr %3, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %21, label %._crit_edge3, !llvm.loop !6 ._crit_edge3: ; preds = %26 br label %32 32: ; preds = %._crit_edge3, %17 br label %60 33: ; preds = %2 store i32 0, ptr %7, align 4 %34 = load i32, ptr %7, align 4 %35 = load i32, ptr %3, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %.lr.ph, label %59 .lr.ph: ; preds = %33 br label %37 37: ; preds = %.lr.ph, %53 %38 = load ptr, ptr %4, align 8 %39 = load i32, ptr %7, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds double, ptr %38, i64 %40 %42 = load double, ptr %41, align 8 %43 = load double, ptr %6, align 8 %44 = fsub double %42, %43 %45 = load double, ptr %5, align 8 %46 = load double, ptr %6, align 8 %47 = fsub double %45, %46 %48 = fdiv double %44, %47 %49 = load ptr, ptr %4, align 8 %50 = load i32, ptr %7, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds double, ptr %49, i64 %51 store double %48, ptr %52, align 8 br label %53 53: ; preds = %37 %54 = load i32, ptr %7, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %7, align 4 %56 = load i32, ptr %7, align 4 %57 = load i32, ptr %3, align 4 %58 = icmp slt i32 %56, %57 br i1 %58, label %37, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %53 br label %59 59: ; preds = %._crit_edge, %33 br label %60 60: ; preds = %59, %32 ret void } declare double @r8vec_max(i32 noundef, ptr noundef) #1 declare double @r8vec_min(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpih6flj5y.c' source_filename = "/tmp/tmpih6flj5y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %8, %1 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %5, %6 br i1 %7, label %8, label %11 8: ; preds = %4 %9 = load i32, ptr %3, align 4 %10 = add nsw i32 %9, 1 store i32 %10, ptr %3, align 4 br label %4, !llvm.loop !6 11: ; preds = %4 %12 = load i32, ptr %2, align 4 %13 = icmp sgt i32 %12, 0 br i1 %13, label %14, label %20 14: ; preds = %11 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %2, align 4 %17 = icmp eq i32 %15, %16 %18 = zext i1 %17 to i32 %19 = call i32 @static_assert(i32 noundef %18) br label %20 20: ; preds = %14, %11 ret void } declare i32 @static_assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpih6flj5y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %4, %5 br i1 %6, label %.lr.ph, label %13 .lr.ph: ; preds = %1 br label %7 7: ; preds = %.lr.ph, %7 %8 = load i32, ptr %3, align 4 %9 = add nsw i32 %8, 1 store i32 %9, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %2, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %7 br label %13 13: ; preds = %._crit_edge, %1 %14 = load i32, ptr %2, align 4 %15 = icmp sgt i32 %14, 0 br i1 %15, label %16, label %22 16: ; preds = %13 %17 = load i32, ptr %3, align 4 %18 = load i32, ptr %2, align 4 %19 = icmp eq i32 %17, %18 %20 = zext i1 %19 to i32 %21 = call i32 @static_assert(i32 noundef %20) br label %22 22: ; preds = %16, %13 ret void } declare i32 @static_assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpo4ql_ixs.c' source_filename = "/tmp/tmpo4ql_ixs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @usetup() #0 { %1 = call i32 (...) @init_socket() ret void } declare i32 @init_socket(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo4ql_ixs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @usetup() #0 { %1 = call i32 (...) @init_socket() ret void } declare i32 @init_socket(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwow62vxe.c' source_filename = "/tmp/tmpwow62vxe.c" target datalayout = "e-m:e-p270: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 [25 x i8] c"Error : n < 2 in nc3()\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @nc3(double noundef %0, double noundef %1, i32 noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca i32, align 4 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca i32, align 4 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %15 = load i32, ptr %7, align 4 %16 = icmp slt i32 %15, 2 br i1 %16, label %17, label %20 17: ; preds = %3 %18 = load i32, ptr @stderr, align 4 %19 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str) store double 0.000000e+00, ptr %4, align 8 br label %78 20: ; preds = %3 %21 = load double, ptr %5, align 8 %22 = load double, ptr %6, align 8 %23 = fcmp oeq double %21, %22 br i1 %23, label %24, label %25 24: ; preds = %20 store double 0.000000e+00, ptr %4, align 8 br label %78 25: ; preds = %20 %26 = load double, ptr %5, align 8 %27 = call i32 @_f(double noundef %26) %28 = load double, ptr %6, align 8 %29 = call i32 @_f(double noundef %28) %30 = sub nsw i32 %27, %29 %31 = sitofp i32 %30 to double store double %31, ptr %12, align 8 %32 = load double, ptr %6, align 8 %33 = load double, ptr %5, align 8 %34 = fsub double %32, %33 %35 = load i32, ptr %7, align 4 %36 = sitofp i32 %35 to double %37 = fdiv double %34, %36 store double %37, ptr %8, align 8 %38 = load double, ptr %8, align 8 %39 = fdiv double %38, 3.000000e+00 store double %39, ptr %9, align 8 %40 = load double, ptr %8, align 8 %41 = fdiv double %40, 1.500000e+00 store double %41, ptr %10, align 8 store i32 0, ptr %14, align 4 store double 1.000000e+00, ptr %11, align 8 br label %42 42: ; preds = %68, %25 %43 = load i32, ptr %14, align 4 %44 = load i32, ptr %7, align 4 %45 = icmp slt i32 %43, %44 br i1 %45, label %46, label %73 46: ; preds = %42 %47 = load double, ptr %5, align 8 %48 = load double, ptr %8, align 8 %49 = load double, ptr %11, align 8 %50 = call double @llvm.fmuladd.f64(double %48, double %49, double %47) store double %50, ptr %13, align 8 %51 = load double, ptr %13, align 8 %52 = load double, ptr %10, align 8 %53 = fsub double %51, %52 %54 = call i32 @_f(double noundef %53) %55 = load double, ptr %13, align 8 %56 = load double, ptr %9, align 8 %57 = fsub double %55, %56 %58 = call i32 @_f(double noundef %57) %59 = add nsw i32 %54, %58 %60 = sitofp i32 %59 to double %61 = load double, ptr %13, align 8 %62 = call i32 @_f(double noundef %61) %63 = sitofp i32 %62 to double %64 = fmul double 2.000000e+00, %63 %65 = call double @llvm.fmuladd.f64(double 3.000000e+00, double %60, double %64) %66 = load double, ptr %12, align 8 %67 = fadd double %66, %65 store double %67, ptr %12, align 8 br label %68 68: ; preds = %46 %69 = load i32, ptr %14, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %14, align 4 %71 = load double, ptr %11, align 8 %72 = fadd double %71, 1.000000e+00 store double %72, ptr %11, align 8 br label %42, !llvm.loop !6 73: ; preds = %42 %74 = load double, ptr %12, align 8 %75 = load double, ptr %8, align 8 %76 = fmul double %74, %75 %77 = fdiv double %76, 8.000000e+00 store double %77, ptr %4, align 8 br label %78 78: ; preds = %73, %24, %17 %79 = load double, ptr %4, align 8 ret double %79 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @_f(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwow62vxe.c" target datalayout = "e-m:e-p270: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 [25 x i8] c"Error : n < 2 in nc3()\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @nc3(double noundef %0, double noundef %1, i32 noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca i32, align 4 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca i32, align 4 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %15 = load i32, ptr %7, align 4 %16 = icmp slt i32 %15, 2 br i1 %16, label %17, label %20 17: ; preds = %3 %18 = load i32, ptr @stderr, align 4 %19 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str) store double 0.000000e+00, ptr %4, align 8 br label %80 20: ; preds = %3 %21 = load double, ptr %5, align 8 %22 = load double, ptr %6, align 8 %23 = fcmp oeq double %21, %22 br i1 %23, label %24, label %25 24: ; preds = %20 store double 0.000000e+00, ptr %4, align 8 br label %80 25: ; preds = %20 %26 = load double, ptr %5, align 8 %27 = call i32 @_f(double noundef %26) %28 = load double, ptr %6, align 8 %29 = call i32 @_f(double noundef %28) %30 = sub nsw i32 %27, %29 %31 = sitofp i32 %30 to double store double %31, ptr %12, align 8 %32 = load double, ptr %6, align 8 %33 = load double, ptr %5, align 8 %34 = fsub double %32, %33 %35 = load i32, ptr %7, align 4 %36 = sitofp i32 %35 to double %37 = fdiv double %34, %36 store double %37, ptr %8, align 8 %38 = load double, ptr %8, align 8 %39 = fdiv double %38, 3.000000e+00 store double %39, ptr %9, align 8 %40 = load double, ptr %8, align 8 %41 = fdiv double %40, 1.500000e+00 store double %41, ptr %10, align 8 store i32 0, ptr %14, align 4 store double 1.000000e+00, ptr %11, align 8 %42 = load i32, ptr %14, align 4 %43 = load i32, ptr %7, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %.lr.ph, label %75 .lr.ph: ; preds = %25 br label %45 45: ; preds = %.lr.ph, %67 %46 = load double, ptr %5, align 8 %47 = load double, ptr %8, align 8 %48 = load double, ptr %11, align 8 %49 = call double @llvm.fmuladd.f64(double %47, double %48, double %46) store double %49, ptr %13, align 8 %50 = load double, ptr %13, align 8 %51 = load double, ptr %10, align 8 %52 = fsub double %50, %51 %53 = call i32 @_f(double noundef %52) %54 = load double, ptr %13, align 8 %55 = load double, ptr %9, align 8 %56 = fsub double %54, %55 %57 = call i32 @_f(double noundef %56) %58 = add nsw i32 %53, %57 %59 = sitofp i32 %58 to double %60 = load double, ptr %13, align 8 %61 = call i32 @_f(double noundef %60) %62 = sitofp i32 %61 to double %63 = fmul double 2.000000e+00, %62 %64 = call double @llvm.fmuladd.f64(double 3.000000e+00, double %59, double %63) %65 = load double, ptr %12, align 8 %66 = fadd double %65, %64 store double %66, ptr %12, align 8 br label %67 67: ; preds = %45 %68 = load i32, ptr %14, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %14, align 4 %70 = load double, ptr %11, align 8 %71 = fadd double %70, 1.000000e+00 store double %71, ptr %11, align 8 %72 = load i32, ptr %14, align 4 %73 = load i32, ptr %7, align 4 %74 = icmp slt i32 %72, %73 br i1 %74, label %45, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %67 br label %75 75: ; preds = %._crit_edge, %25 %76 = load double, ptr %12, align 8 %77 = load double, ptr %8, align 8 %78 = fmul double %76, %77 %79 = fdiv double %78, 8.000000e+00 store double %79, ptr %4, align 8 br label %80 80: ; preds = %75, %24, %17 %81 = load double, ptr %4, align 8 ret double %81 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @_f(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpkiw65ed_.c' source_filename = "/tmp/tmpkiw65ed_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pic32_standby() #0 { %1 = call i32 @pic32_setmode(i32 noundef 5, i32 noundef 31) %2 = call i32 @io_usleep(i32 noundef 500) %3 = call i32 @io_set_pgd(i32 noundef 0) %4 = call i32 @io_set_pgc(i32 noundef 0) %5 = call i32 @io_set_vpp(i32 noundef 0) %6 = call i32 @io_set_pgm(i32 noundef 0) ret void } declare i32 @pic32_setmode(i32 noundef, i32 noundef) #1 declare i32 @io_usleep(i32 noundef) #1 declare i32 @io_set_pgd(i32 noundef) #1 declare i32 @io_set_pgc(i32 noundef) #1 declare i32 @io_set_vpp(i32 noundef) #1 declare i32 @io_set_pgm(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/tmpkiw65ed_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pic32_standby() #0 { %1 = call i32 @pic32_setmode(i32 noundef 5, i32 noundef 31) %2 = call i32 @io_usleep(i32 noundef 500) %3 = call i32 @io_set_pgd(i32 noundef 0) %4 = call i32 @io_set_pgc(i32 noundef 0) %5 = call i32 @io_set_vpp(i32 noundef 0) %6 = call i32 @io_set_pgm(i32 noundef 0) ret void } declare i32 @pic32_setmode(i32 noundef, i32 noundef) #1 declare i32 @io_usleep(i32 noundef) #1 declare i32 @io_set_pgd(i32 noundef) #1 declare i32 @io_set_pgc(i32 noundef) #1 declare i32 @io_set_vpp(i32 noundef) #1 declare i32 @io_set_pgm(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/tmpgsr6oziq.c' source_filename = "/tmp/tmpgsr6oziq.c" target datalayout = "e-m:e-p270: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 [24 x i8] c"Should never reach here\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @grpcsharp_call_start_server_streaming() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = call i32 (...) @abort() #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgsr6oziq.c" target datalayout = "e-m:e-p270: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 [24 x i8] c"Should never reach here\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @grpcsharp_call_start_server_streaming() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = call i32 (...) @abort() #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9a30y673.c' source_filename = "/tmp/tmp9a30y673.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mcp23s17_read_bit(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %7, align 4 %11 = load i32, ptr %8, align 4 %12 = call i32 @mcp23s17_read_reg(i32 noundef %9, i32 noundef %10, i32 noundef %11) %13 = load i32, ptr %5, align 4 %14 = ashr i32 %12, %13 %15 = and i32 %14, 1 ret i32 %15 } declare i32 @mcp23s17_read_reg(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/tmp9a30y673.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mcp23s17_read_bit(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %7, align 4 %11 = load i32, ptr %8, align 4 %12 = call i32 @mcp23s17_read_reg(i32 noundef %9, i32 noundef %10, i32 noundef %11) %13 = load i32, ptr %5, align 4 %14 = ashr i32 %12, %13 %15 = and i32 %14, 1 ret i32 %15 } declare i32 @mcp23s17_read_reg(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/tmphxavsgs8.c' source_filename = "/tmp/tmphxavsgs8.c" target datalayout = "e-m:e-p270: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/tmphxavsgs8.c" target datalayout = "e-m:e-p270: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/tmplqb48onp.c' source_filename = "/tmp/tmplqb48onp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"%s/.config/OPKManager/%s\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"HOME\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_path(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 = call ptr @getenv(ptr noundef @.str.1) %7 = load ptr, ptr %4, align 8 %8 = call i32 @sprintf(ptr noundef %5, ptr noundef @.str, ptr noundef %6, ptr noundef %7) %9 = load ptr, ptr %3, align 8 ret ptr %9 } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @getenv(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplqb48onp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"%s/.config/OPKManager/%s\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"HOME\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_path(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 = call ptr @getenv(ptr noundef @.str.1) %7 = load ptr, ptr %4, align 8 %8 = call i32 @sprintf(ptr noundef %5, ptr noundef @.str, ptr noundef %6, ptr noundef %7) %9 = load ptr, ptr %3, align 8 ret ptr %9 } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @getenv(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1u4pd09u.c' source_filename = "/tmp/tmp1u4pd09u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"%d %d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1, ptr %6, align 4 br label %9 9: ; preds = %47, %2 %10 = load i32, ptr %6, align 4 %11 = icmp slt i32 %10, 500 br i1 %11, label %12, label %50 12: ; preds = %9 store i32 1, ptr %7, align 4 br label %13 13: ; preds = %43, %12 %14 = load i32, ptr %7, align 4 %15 = icmp slt i32 %14, 500 br i1 %15, label %16, label %46 16: ; preds = %13 store i32 1, ptr %8, align 4 br label %17 17: ; preds = %39, %16 %18 = load i32, ptr %8, align 4 %19 = icmp slt i32 %18, 500 br i1 %19, label %20, label %42 20: ; preds = %17 %21 = load i32, ptr %6, align 4 %22 = load i32, ptr %7, align 4 %23 = load i32, ptr %8, align 4 %24 = call i64 @isPythaNum(i32 noundef %21, i32 noundef %22, i32 noundef %23) %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %38 26: ; preds = %20 %27 = load i32, ptr %6, align 4 %28 = load i32, ptr %7, align 4 %29 = add nsw i32 %27, %28 %30 = load i32, ptr %8, align 4 %31 = add nsw i32 %29, %30 %32 = icmp eq i32 %31, 1000 br i1 %32, label %33, label %38 33: ; preds = %26 %34 = load i32, ptr %6, align 4 %35 = load i32, ptr %7, align 4 %36 = load i32, ptr %8, align 4 %37 = call i32 @printf(ptr noundef @.str, i32 noundef %34, i32 noundef %35, i32 noundef %36) br label %38 38: ; preds = %33, %26, %20 br label %39 39: ; preds = %38 %40 = load i32, ptr %8, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %8, align 4 br label %17, !llvm.loop !6 42: ; preds = %17 br label %43 43: ; preds = %42 %44 = load i32, ptr %7, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %7, align 4 br label %13, !llvm.loop !8 46: ; preds = %13 br label %47 47: ; preds = %46 %48 = load i32, ptr %6, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %6, align 4 br label %9, !llvm.loop !9 50: ; preds = %9 ret i32 0 } declare i64 @isPythaNum(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1u4pd09u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"%d %d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp slt i32 %9, 500 br i1 %10, label %.lr.ph5, label %53 .lr.ph5: ; preds = %2 br label %11 11: ; preds = %.lr.ph5, %48 store i32 1, ptr %7, align 4 %12 = load i32, ptr %7, align 4 %13 = icmp slt i32 %12, 500 br i1 %13, label %.lr.ph2, label %47 .lr.ph2: ; preds = %11 br label %14 14: ; preds = %.lr.ph2, %42 store i32 1, ptr %8, align 4 %15 = load i32, ptr %8, align 4 %16 = icmp slt i32 %15, 500 br i1 %16, label %.lr.ph, label %41 .lr.ph: ; preds = %14 br label %17 17: ; preds = %.lr.ph, %36 %18 = load i32, ptr %6, align 4 %19 = load i32, ptr %7, align 4 %20 = load i32, ptr %8, align 4 %21 = call i64 @isPythaNum(i32 noundef %18, i32 noundef %19, i32 noundef %20) %22 = icmp ne i64 %21, 0 br i1 %22, label %23, label %35 23: ; preds = %17 %24 = load i32, ptr %6, align 4 %25 = load i32, ptr %7, align 4 %26 = add nsw i32 %24, %25 %27 = load i32, ptr %8, align 4 %28 = add nsw i32 %26, %27 %29 = icmp eq i32 %28, 1000 br i1 %29, label %30, label %35 30: ; preds = %23 %31 = load i32, ptr %6, align 4 %32 = load i32, ptr %7, align 4 %33 = load i32, ptr %8, align 4 %34 = call i32 @printf(ptr noundef @.str, i32 noundef %31, i32 noundef %32, i32 noundef %33) br label %35 35: ; preds = %30, %23, %17 br label %36 36: ; preds = %35 %37 = load i32, ptr %8, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %8, align 4 %39 = load i32, ptr %8, align 4 %40 = icmp slt i32 %39, 500 br i1 %40, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %41 41: ; preds = %._crit_edge, %14 br label %42 42: ; preds = %41 %43 = load i32, ptr %7, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %7, align 4 %45 = load i32, ptr %7, align 4 %46 = icmp slt i32 %45, 500 br i1 %46, label %14, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %42 br label %47 47: ; preds = %._crit_edge3, %11 br label %48 48: ; preds = %47 %49 = load i32, ptr %6, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %6, align 4 %51 = load i32, ptr %6, align 4 %52 = icmp slt i32 %51, 500 br i1 %52, label %11, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %48 br label %53 53: ; preds = %._crit_edge6, %2 ret i32 0 } declare i64 @isPythaNum(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpkjwqkg2p.c' source_filename = "/tmp/tmpkjwqkg2p.c" target datalayout = "e-m:e-p270: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/tmpkjwqkg2p.c" target datalayout = "e-m:e-p270: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/tmp0n460ko0.c' source_filename = "/tmp/tmp0n460ko0.c" target datalayout = "e-m:e-p270: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/tmp0n460ko0.c" target datalayout = "e-m:e-p270: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/tmpzs8rx46q.c' source_filename = "/tmp/tmpzs8rx46q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"credits.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"fopen failed\00", align 1 @EOF = dso_local global i8 0, align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"Press any key to go back\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @credits() #0 { %1 = alloca i8, align 1 %2 = alloca ptr, align 8 %3 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 @perror(ptr noundef @.str.2) br label %21 8: ; preds = %0 br label %9 9: ; preds = %16, %8 %10 = load ptr, ptr %2, align 8 %11 = call signext i8 @fgetc(ptr noundef %10) store i8 %11, ptr %1, align 1 %12 = sext i8 %11 to i32 %13 = load i8, ptr @EOF, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %12, %14 br i1 %15, label %16, label %20 16: ; preds = %9 %17 = load i8, ptr %1, align 1 %18 = sext i8 %17 to i32 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %18) br label %9, !llvm.loop !6 20: ; preds = %9 br label %21 21: ; preds = %20, %6 %22 = load ptr, ptr %2, align 8 %23 = call i32 @fclose(ptr noundef %22) %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %25 = call i32 (...) @getch() ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare signext i8 @fgetc(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @getch(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpzs8rx46q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"credits.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"fopen failed\00", align 1 @EOF = dso_local global i8 0, align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"Press any key to go back\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @credits() #0 { %1 = alloca i8, align 1 %2 = alloca ptr, align 8 %3 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 @perror(ptr noundef @.str.2) br label %26 8: ; preds = %0 %9 = load ptr, ptr %2, align 8 %10 = call signext i8 @fgetc(ptr noundef %9) store i8 %10, ptr %1, align 1 %11 = sext i8 %10 to i32 %12 = load i8, ptr @EOF, align 1 %13 = sext i8 %12 to i32 %14 = icmp ne i32 %11, %13 br i1 %14, label %.lr.ph, label %25 .lr.ph: ; preds = %8 br label %15 15: ; preds = %.lr.ph, %15 %16 = load i8, ptr %1, align 1 %17 = sext i8 %16 to i32 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %17) %19 = load ptr, ptr %2, align 8 %20 = call signext i8 @fgetc(ptr noundef %19) store i8 %20, ptr %1, align 1 %21 = sext i8 %20 to i32 %22 = load i8, ptr @EOF, align 1 %23 = sext i8 %22 to i32 %24 = icmp ne i32 %21, %23 br i1 %24, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %25 25: ; preds = %._crit_edge, %8 br label %26 26: ; preds = %25, %6 %27 = load ptr, ptr %2, align 8 %28 = call i32 @fclose(ptr noundef %27) %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %30 = call i32 (...) @getch() ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare signext i8 @fgetc(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @getch(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpemajofom.c' source_filename = "/tmp/tmpemajofom.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test41(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @_mm_sub_pi8(i32 noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @_mm_sub_pi8(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/tmpemajofom.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test41(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @_mm_sub_pi8(i32 noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @_mm_sub_pi8(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/tmpvwyg4tap.c' source_filename = "/tmp/tmpvwyg4tap.c" target datalayout = "e-m:e-p270: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/tmpvwyg4tap.c" target datalayout = "e-m:e-p270: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/tmpj0x50mr7.c' source_filename = "/tmp/tmpj0x50mr7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"Greetings from the child thread\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @childGreetings(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @printf(ptr noundef @.str) ret ptr null } 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/tmpj0x50mr7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"Greetings from the child thread\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @childGreetings(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @printf(ptr noundef @.str) ret ptr null } 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/tmpok63b1rl.c' source_filename = "/tmp/tmpok63b1rl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_getnbr_base(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = call i32 @my_strlen(ptr noundef %10) store i32 %11, ptr %6, align 4 %12 = load ptr, ptr %4, align 8 %13 = call i32 @my_check(ptr noundef %12) %14 = icmp ne i32 %13, 0 br i1 %14, label %16, label %15 15: ; preds = %2 store i32 0, ptr %3, align 4 br label %64 16: ; preds = %2 store i32 0, ptr %8, align 4 store i32 0, ptr %7, align 4 %17 = load ptr, ptr %4, align 8 %18 = call ptr @get_begin(ptr noundef %17, ptr noundef %9) store ptr %18, ptr %4, align 8 br label %19 19: ; preds = %38, %16 %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %8, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp ne i32 %25, 0 br i1 %26, label %27, label %53 27: ; preds = %19 %28 = load ptr, ptr %4, align 8 %29 = load i32, ptr %8, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 %32 = load i8, ptr %31, align 1 %33 = load ptr, ptr %5, align 8 %34 = call i32 @my_get_el(i8 noundef signext %32, ptr noundef %33) %35 = icmp eq i32 %34, -1 br i1 %35, label %36, label %38 36: ; preds = %27 %37 = load i32, ptr %7, align 4 store i32 %37, ptr %3, align 4 br label %64 38: ; preds = %27 %39 = load i32, ptr %6, align 4 %40 = load i32, ptr %7, align 4 %41 = mul nsw i32 %40, %39 store i32 %41, ptr %7, align 4 %42 = load ptr, ptr %4, align 8 %43 = load i32, ptr %8, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %42, i64 %44 %46 = load i8, ptr %45, align 1 %47 = load ptr, ptr %5, align 8 %48 = call i32 @my_get_el(i8 noundef signext %46, ptr noundef %47) %49 = load i32, ptr %7, align 4 %50 = add nsw i32 %49, %48 store i32 %50, ptr %7, align 4 %51 = load i32, ptr %8, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %8, align 4 br label %19, !llvm.loop !6 53: ; preds = %19 %54 = load i32, ptr %9, align 4 %55 = icmp slt i32 %54, 0 br i1 %55, label %56, label %59 56: ; preds = %53 %57 = load i32, ptr %7, align 4 %58 = mul nsw i32 %57, -1 br label %61 59: ; preds = %53 %60 = load i32, ptr %7, align 4 br label %61 61: ; preds = %59, %56 %62 = phi i32 [ %58, %56 ], [ %60, %59 ] store i32 %62, ptr %7, align 4 %63 = load i32, ptr %7, align 4 store i32 %63, ptr %3, align 4 br label %64 64: ; preds = %61, %36, %15 %65 = load i32, ptr %3, align 4 ret i32 %65 } declare i32 @my_strlen(ptr noundef) #1 declare i32 @my_check(ptr noundef) #1 declare ptr @get_begin(ptr noundef, ptr noundef) #1 declare i32 @my_get_el(i8 noundef signext, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpok63b1rl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_getnbr_base(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = call i32 @my_strlen(ptr noundef %10) store i32 %11, ptr %6, align 4 %12 = load ptr, ptr %4, align 8 %13 = call i32 @my_check(ptr noundef %12) %14 = icmp ne i32 %13, 0 br i1 %14, label %16, label %15 15: ; preds = %2 store i32 0, ptr %3, align 4 br label %70 16: ; preds = %2 store i32 0, ptr %8, align 4 store i32 0, ptr %7, align 4 %17 = load ptr, ptr %4, align 8 %18 = call ptr @get_begin(ptr noundef %17, ptr noundef %9) store ptr %18, ptr %4, align 8 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %8, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp ne i32 %24, 0 br i1 %25, label %.lr.ph, label %59 .lr.ph: ; preds = %16 br label %26 26: ; preds = %.lr.ph, %37 %27 = load ptr, ptr %4, align 8 %28 = load i32, ptr %8, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 %31 = load i8, ptr %30, align 1 %32 = load ptr, ptr %5, align 8 %33 = call i32 @my_get_el(i8 noundef signext %31, ptr noundef %32) %34 = icmp eq i32 %33, -1 br i1 %34, label %35, label %37 35: ; preds = %26 %36 = load i32, ptr %7, align 4 store i32 %36, ptr %3, align 4 br label %70 37: ; preds = %26 %38 = load i32, ptr %6, align 4 %39 = load i32, ptr %7, align 4 %40 = mul nsw i32 %39, %38 store i32 %40, ptr %7, align 4 %41 = load ptr, ptr %4, align 8 %42 = load i32, ptr %8, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %41, i64 %43 %45 = load i8, ptr %44, align 1 %46 = load ptr, ptr %5, align 8 %47 = call i32 @my_get_el(i8 noundef signext %45, ptr noundef %46) %48 = load i32, ptr %7, align 4 %49 = add nsw i32 %48, %47 store i32 %49, ptr %7, align 4 %50 = load i32, ptr %8, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %8, align 4 %52 = load ptr, ptr %4, align 8 %53 = load i32, ptr %8, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i8, ptr %52, i64 %54 %56 = load i8, ptr %55, align 1 %57 = sext i8 %56 to i32 %58 = icmp ne i32 %57, 0 br i1 %58, label %26, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %37 br label %59 59: ; preds = %._crit_edge, %16 %60 = load i32, ptr %9, align 4 %61 = icmp slt i32 %60, 0 br i1 %61, label %62, label %65 62: ; preds = %59 %63 = load i32, ptr %7, align 4 %64 = mul nsw i32 %63, -1 br label %67 65: ; preds = %59 %66 = load i32, ptr %7, align 4 br label %67 67: ; preds = %65, %62 %68 = phi i32 [ %64, %62 ], [ %66, %65 ] store i32 %68, ptr %7, align 4 %69 = load i32, ptr %7, align 4 store i32 %69, ptr %3, align 4 br label %70 70: ; preds = %67, %35, %15 %71 = load i32, ptr %3, align 4 ret i32 %71 } declare i32 @my_strlen(ptr noundef) #1 declare i32 @my_check(ptr noundef) #1 declare ptr @get_begin(ptr noundef, ptr noundef) #1 declare i32 @my_get_el(i8 noundef signext, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpg1idlke7.c' source_filename = "/tmp/tmpg1idlke7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"Move disk %d from pole %d to pole %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @move(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp sgt i32 %9, 0 br i1 %10, label %11, label %26 11: ; preds = %4 %12 = load i32, ptr %5, align 4 %13 = sub nsw i32 %12, 1 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %8, align 4 %16 = load i32, ptr %7, align 4 call void @move(i32 noundef %13, i32 noundef %14, i32 noundef %15, i32 noundef %16) %17 = load i32, ptr %5, align 4 %18 = load i32, ptr %6, align 4 %19 = load i32, ptr %7, align 4 %20 = call i32 @printf(ptr noundef @.str, i32 noundef %17, i32 noundef %18, i32 noundef %19) %21 = load i32, ptr %5, align 4 %22 = sub nsw i32 %21, 1 %23 = load i32, ptr %8, align 4 %24 = load i32, ptr %7, align 4 %25 = load i32, ptr %6, align 4 call void @move(i32 noundef %22, i32 noundef %23, i32 noundef %24, i32 noundef %25) br label %26 26: ; preds = %11, %4 ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg1idlke7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"Move disk %d from pole %d to pole %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @move(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp sgt i32 %9, 0 br i1 %10, label %11, label %26 11: ; preds = %4 %12 = load i32, ptr %5, align 4 %13 = sub nsw i32 %12, 1 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %8, align 4 %16 = load i32, ptr %7, align 4 call void @move(i32 noundef %13, i32 noundef %14, i32 noundef %15, i32 noundef %16) %17 = load i32, ptr %5, align 4 %18 = load i32, ptr %6, align 4 %19 = load i32, ptr %7, align 4 %20 = call i32 @printf(ptr noundef @.str, i32 noundef %17, i32 noundef %18, i32 noundef %19) %21 = load i32, ptr %5, align 4 %22 = sub nsw i32 %21, 1 %23 = load i32, ptr %8, align 4 %24 = load i32, ptr %7, align 4 %25 = load i32, ptr %6, align 4 call void @move(i32 noundef %22, i32 noundef %23, i32 noundef %24, i32 noundef %25) br label %26 26: ; preds = %11, %4 ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpm7owa5r_.c' source_filename = "/tmp/tmpm7owa5r_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @os_perror(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 @perror(ptr noundef %3) ret void } declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm7owa5r_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @os_perror(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 @perror(ptr noundef %3) ret void } declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4vvet_5t.c' source_filename = "/tmp/tmp4vvet_5t.c" target datalayout = "e-m:e-p270: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/tmp4vvet_5t.c" target datalayout = "e-m:e-p270: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/tmpu49nfb17.c' source_filename = "/tmp/tmpu49nfb17.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"pvalue = %p\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @func(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 = load ptr, ptr %2, align 8 store i32 100, ptr %5, align 4 ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu49nfb17.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"pvalue = %p\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @func(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 = load ptr, ptr %2, align 8 store i32 100, ptr %5, align 4 ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmps8gh7ft7.c' source_filename = "/tmp/tmps8gh7ft7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @storage_get_block_count() #0 { ret i32 480 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps8gh7ft7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @storage_get_block_count() #0 { ret i32 480 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmf15g0r4.c' source_filename = "/tmp/tmpmf15g0r4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @julday_to_date(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 %8 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %4, align 4 %11 = call i32 @decode_julday(i32 noundef %9, i32 noundef %10, ptr noundef %6, ptr noundef %7, ptr noundef %8) %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %7, align 4 %14 = load i32, ptr %8, align 4 %15 = call i32 @cdiEncodeDate(i32 noundef %12, i32 noundef %13, i32 noundef %14) store i32 %15, ptr %5, align 4 %16 = load i32, ptr %5, align 4 ret i32 %16 } declare i32 @decode_julday(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @cdiEncodeDate(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/tmpmf15g0r4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @julday_to_date(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 %8 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %4, align 4 %11 = call i32 @decode_julday(i32 noundef %9, i32 noundef %10, ptr noundef %6, ptr noundef %7, ptr noundef %8) %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %7, align 4 %14 = load i32, ptr %8, align 4 %15 = call i32 @cdiEncodeDate(i32 noundef %12, i32 noundef %13, i32 noundef %14) store i32 %15, ptr %5, align 4 %16 = load i32, ptr %5, align 4 ret i32 %16 } declare i32 @decode_julday(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @cdiEncodeDate(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/tmp3913nsym.c' source_filename = "/tmp/tmp3913nsym.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CL_SUCCESS = dso_local global i8 0, align 1 @.str = private unnamed_addr constant [42 x i8] c"error: call to 'clGetPlatformIDs' failed\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"Number of platforms: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"platform=%p\0A\00", align 1 @CL_PLATFORM_NAME = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [43 x i8] c"error: call to 'clGetPlatformInfo' failed\0A\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"platform.name='%s'\0A\0A\00", align 1 @CL_DEVICE_TYPE_GPU = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [40 x i8] c"error: call to 'clGetDeviceIDs' failed\0A\00", align 1 @.str.6 = private unnamed_addr constant [23 x i8] c"Number of devices: %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [11 x i8] c"device=%p\0A\00", align 1 @CL_DEVICE_NAME = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [41 x i8] c"error: call to 'clGetDeviceInfo' failed\0A\00", align 1 @.str.9 = private unnamed_addr constant [18 x i8] c"device.name='%s'\0A\00", align 1 @.str.10 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.11 = private unnamed_addr constant [41 x i8] c"error: call to 'clCreateContext' failed\0A\00", align 1 @.str.12 = private unnamed_addr constant [12 x i8] c"context=%p\0A\00", align 1 @.str.13 = private unnamed_addr constant [46 x i8] c"error: call to 'clCreateCommandQueue' failed\0A\00", align 1 @.str.14 = private unnamed_addr constant [18 x i8] c"command_queue=%p\0A\00", align 1 @.str.15 = private unnamed_addr constant [14 x i8] c"max_intint.cl\00", align 1 @.str.16 = private unnamed_addr constant [51 x i8] c"error: call to 'clCreateProgramWithSource' failed\0A\00", align 1 @.str.17 = private unnamed_addr constant [12 x i8] c"program=%p\0A\00", align 1 @CL_PROGRAM_BUILD_LOG = dso_local global i32 0, align 4 @.str.18 = private unnamed_addr constant [44 x i8] c"error: call to 'clBuildProgram' failed:\0A%s\0A\00", align 1 @.str.19 = private unnamed_addr constant [15 x i8] c"program built\0A\00", align 1 @.str.20 = private unnamed_addr constant [11 x i8] c"max_intint\00", align 1 @.str.21 = private unnamed_addr constant [40 x i8] c"error: call to 'clCreateKernel' failed\0A\00", align 1 @CL_MEM_READ_ONLY = dso_local global i32 0, align 4 @.str.22 = private unnamed_addr constant [39 x i8] c"error: could not create source buffer\0A\00", align 1 @CL_TRUE = dso_local global i32 0, align 4 @.str.23 = private unnamed_addr constant [46 x i8] c"error: call to 'clEnqueueWriteBuffer' failed\0A\00", align 1 @CL_MEM_WRITE_ONLY = dso_local global i32 0, align 4 @.str.24 = private unnamed_addr constant [36 x i8] c"error: could not create dst buffer\0A\00", align 1 @.str.25 = private unnamed_addr constant [40 x i8] c"error: call to 'clSetKernelArg' failed\0A\00", align 1 @.str.26 = private unnamed_addr constant [48 x i8] c"error: call to 'clEnqueueNDRangeKernel' failed\0A\00", align 1 @.str.27 = private unnamed_addr constant [45 x i8] c"error: call to 'clEnqueueReadBuffer' failed\0A\00", align 1 @.str.28 = private unnamed_addr constant [10 x i8] c"%s.result\00", align 1 @.str.29 = private unnamed_addr constant [21 x i8] c"Result dumped to %s\0A\00", align 1 @.str.30 = private unnamed_addr constant [44 x i8] c"error: call to 'clReleaseMemObject' failed\0A\00", align 1 @.str.31 = private unnamed_addr constant [41 x i8] c"error: call to 'clReleaseKernel' failed\0A\00", align 1 @.str.32 = private unnamed_addr constant [42 x i8] c"error: call to 'clReleaseProgram' failed\0A\00", align 1 @.str.33 = private unnamed_addr constant [47 x i8] c"error: call to 'clReleaseCommandQueue' failed\0A\00", align 1 @.str.34 = private unnamed_addr constant [42 x i8] c"error: call to 'clReleaseContext' failed\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i8, align 1 %9 = alloca [100 x i8], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca [100 x i8], align 16 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca i64, align 8 %17 = alloca i32, align 4 %18 = alloca i64, align 8 %19 = alloca ptr, align 8 %20 = alloca i32, align 4 %21 = alloca i64, align 8 %22 = alloca ptr, align 8 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca ptr, align 8 %26 = alloca i32, align 4 %27 = alloca i32, align 4 %28 = alloca ptr, align 8 %29 = alloca i32, align 4 %30 = alloca i64, align 8 %31 = alloca i64, align 8 %32 = alloca [100 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %33 = call signext i8 @clGetPlatformIDs(i32 noundef 1, ptr noundef %6, ptr noundef %7) store i8 %33, ptr %8, align 1 %34 = load i8, ptr %8, align 1 %35 = sext i8 %34 to i32 %36 = load i8, ptr @CL_SUCCESS, align 1 %37 = sext i8 %36 to i32 %38 = icmp ne i32 %35, %37 br i1 %38, label %39, label %42 39: ; preds = %2 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str) %41 = call i32 @exit(i32 noundef 1) #3 unreachable 42: ; preds = %2 %43 = load i32, ptr %7, align 4 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %43) %45 = load i32, ptr %6, align 4 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %45) %47 = load i32, ptr %6, align 4 %48 = load i32, ptr @CL_PLATFORM_NAME, align 4 %49 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %50 = call signext i8 @clGetPlatformInfo(i32 noundef %47, i32 noundef %48, i32 noundef 100, ptr noundef %49, ptr noundef null) store i8 %50, ptr %8, align 1 %51 = load i8, ptr %8, align 1 %52 = sext i8 %51 to i32 %53 = load i8, ptr @CL_SUCCESS, align 1 %54 = sext i8 %53 to i32 %55 = icmp ne i32 %52, %54 br i1 %55, label %56, label %59 56: ; preds = %42 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %58 = call i32 @exit(i32 noundef 1) #3 unreachable 59: ; preds = %42 %60 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %60) %62 = load i32, ptr %6, align 4 %63 = load i32, ptr @CL_DEVICE_TYPE_GPU, align 4 %64 = call signext i8 @clGetDeviceIDs(i32 noundef %62, i32 noundef %63, i32 noundef 1, ptr noundef %10, ptr noundef %11) store i8 %64, ptr %8, align 1 %65 = load i8, ptr %8, align 1 %66 = sext i8 %65 to i32 %67 = load i8, ptr @CL_SUCCESS, align 1 %68 = sext i8 %67 to i32 %69 = icmp ne i32 %66, %68 br i1 %69, label %70, label %73 70: ; preds = %59 %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %72 = call i32 @exit(i32 noundef 1) #3 unreachable 73: ; preds = %59 %74 = load i32, ptr %11, align 4 %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %74) %76 = load i32, ptr %10, align 4 %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %76) %78 = load i32, ptr %10, align 4 %79 = load i32, ptr @CL_DEVICE_NAME, align 4 %80 = getelementptr inbounds [100 x i8], ptr %12, i64 0, i64 0 %81 = call signext i8 @clGetDeviceInfo(i32 noundef %78, i32 noundef %79, i32 noundef 100, ptr noundef %80, ptr noundef null) store i8 %81, ptr %8, align 1 %82 = load i8, ptr %8, align 1 %83 = sext i8 %82 to i32 %84 = load i8, ptr @CL_SUCCESS, align 1 %85 = sext i8 %84 to i32 %86 = icmp ne i32 %83, %85 br i1 %86, label %87, label %90 87: ; preds = %73 %88 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %89 = call i32 @exit(i32 noundef 1) #3 unreachable 90: ; preds = %73 %91 = getelementptr inbounds [100 x i8], ptr %12, i64 0, i64 0 %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %91) %93 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %94 = call i32 @clCreateContext(ptr noundef null, i32 noundef 1, ptr noundef %10, ptr noundef null, ptr noundef null, ptr noundef %8) store i32 %94, ptr %13, align 4 %95 = load i8, ptr %8, align 1 %96 = sext i8 %95 to i32 %97 = load i8, ptr @CL_SUCCESS, align 1 %98 = sext i8 %97 to i32 %99 = icmp ne i32 %96, %98 br i1 %99, label %100, label %103 100: ; preds = %90 %101 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %102 = call i32 @exit(i32 noundef 1) #3 unreachable 103: ; preds = %90 %104 = load i32, ptr %13, align 4 %105 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %104) %106 = load i32, ptr %13, align 4 %107 = load i32, ptr %10, align 4 %108 = call i32 @clCreateCommandQueue(i32 noundef %106, i32 noundef %107, i32 noundef 0, ptr noundef %8) store i32 %108, ptr %14, align 4 %109 = load i8, ptr %8, align 1 %110 = sext i8 %109 to i32 %111 = load i8, ptr @CL_SUCCESS, align 1 %112 = sext i8 %111 to i32 %113 = icmp ne i32 %110, %112 br i1 %113, label %114, label %117 114: ; preds = %103 %115 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %116 = call i32 @exit(i32 noundef 1) #3 unreachable 117: ; preds = %103 %118 = load i32, ptr %14, align 4 %119 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %118) %120 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %121 = call ptr @read_buffer(ptr noundef @.str.15, ptr noundef %16) store ptr %121, ptr %15, align 8 %122 = load i32, ptr %13, align 4 %123 = call i32 @clCreateProgramWithSource(i32 noundef %122, i32 noundef 1, ptr noundef %15, ptr noundef %16, ptr noundef %8) store i32 %123, ptr %17, align 4 %124 = load i8, ptr %8, align 1 %125 = sext i8 %124 to i32 %126 = load i8, ptr @CL_SUCCESS, align 1 %127 = sext i8 %126 to i32 %128 = icmp ne i32 %125, %127 br i1 %128, label %129, label %132 129: ; preds = %117 %130 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) %131 = call i32 @exit(i32 noundef 1) #3 unreachable 132: ; preds = %117 %133 = load i32, ptr %17, align 4 %134 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i32 noundef %133) %135 = load i32, ptr %17, align 4 %136 = call signext i8 @clBuildProgram(i32 noundef %135, i32 noundef 1, ptr noundef %10, ptr noundef null, ptr noundef null, ptr noundef null) store i8 %136, ptr %8, align 1 %137 = load i8, ptr %8, align 1 %138 = sext i8 %137 to i32 %139 = load i8, ptr @CL_SUCCESS, align 1 %140 = sext i8 %139 to i32 %141 = icmp ne i32 %138, %140 br i1 %141, label %142, label %160 142: ; preds = %132 %143 = load i32, ptr %17, align 4 %144 = load i32, ptr %10, align 4 %145 = load i32, ptr @CL_PROGRAM_BUILD_LOG, align 4 %146 = call i32 @clGetProgramBuildInfo(i32 noundef %143, i32 noundef %144, i32 noundef %145, i64 noundef 0, ptr noundef null, ptr noundef %18) %147 = load i64, ptr %18, align 8 %148 = call ptr @malloc(i64 noundef %147) store ptr %148, ptr %19, align 8 %149 = load i32, ptr %17, align 4 %150 = load i32, ptr %10, align 4 %151 = load i32, ptr @CL_PROGRAM_BUILD_LOG, align 4 %152 = load i64, ptr %18, align 8 %153 = load ptr, ptr %19, align 8 %154 = call i32 @clGetProgramBuildInfo(i32 noundef %149, i32 noundef %150, i32 noundef %151, i64 noundef %152, ptr noundef %153, ptr noundef null) %155 = load ptr, ptr %19, align 8 %156 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, ptr noundef %155) %157 = load ptr, ptr %19, align 8 %158 = call i32 @free(ptr noundef %157) %159 = call i32 @exit(i32 noundef 1) #3 unreachable 160: ; preds = %132 %161 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %162 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %163 = load i32, ptr %17, align 4 %164 = call i32 @clCreateKernel(i32 noundef %163, ptr noundef @.str.20, ptr noundef %8) store i32 %164, ptr %20, align 4 %165 = load i8, ptr %8, align 1 %166 = sext i8 %165 to i32 %167 = load i8, ptr @CL_SUCCESS, align 1 %168 = sext i8 %167 to i32 %169 = icmp ne i32 %166, %168 br i1 %169, label %170, label %173 170: ; preds = %160 %171 = call i32 (ptr, ...) @printf(ptr noundef @.str.21) %172 = call i32 @exit(i32 noundef 1) #3 unreachable 173: ; preds = %160 store i64 10, ptr %21, align 8 %174 = load i64, ptr %21, align 8 %175 = mul i64 %174, 1 %176 = call ptr @malloc(i64 noundef %175) store ptr %176, ptr %22, align 8 store i32 0, ptr %23, align 4 br label %177 177: ; preds = %187, %173 %178 = load i32, ptr %23, align 4 %179 = sext i32 %178 to i64 %180 = load i64, ptr %21, align 8 %181 = icmp ult i64 %179, %180 br i1 %181, label %182, label %190 182: ; preds = %177 %183 = load ptr, ptr %22, align 8 %184 = load i32, ptr %23, align 4 %185 = sext i32 %184 to i64 %186 = getelementptr inbounds i8, ptr %183, i64 %185 store i8 2, ptr %186, align 1 br label %187 187: ; preds = %182 %188 = load i32, ptr %23, align 4 %189 = add nsw i32 %188, 1 store i32 %189, ptr %23, align 4 br label %177, !llvm.loop !6 190: ; preds = %177 %191 = load i32, ptr %13, align 4 %192 = load i32, ptr @CL_MEM_READ_ONLY, align 4 %193 = load i64, ptr %21, align 8 %194 = mul i64 %193, 1 %195 = call i32 @clCreateBuffer(i32 noundef %191, i32 noundef %192, i64 noundef %194, ptr noundef null, ptr noundef %8) store i32 %195, ptr %24, align 4 %196 = load i8, ptr %8, align 1 %197 = sext i8 %196 to i32 %198 = load i8, ptr @CL_SUCCESS, align 1 %199 = sext i8 %198 to i32 %200 = icmp ne i32 %197, %199 br i1 %200, label %201, label %204 201: ; preds = %190 %202 = call i32 (ptr, ...) @printf(ptr noundef @.str.22) %203 = call i32 @exit(i32 noundef 1) #3 unreachable 204: ; preds = %190 %205 = load i32, ptr %14, align 4 %206 = load i32, ptr %24, align 4 %207 = load i32, ptr @CL_TRUE, align 4 %208 = load i64, ptr %21, align 8 %209 = mul i64 %208, 1 %210 = load ptr, ptr %22, align 8 %211 = call signext i8 @clEnqueueWriteBuffer(i32 noundef %205, i32 noundef %206, i32 noundef %207, i32 noundef 0, i64 noundef %209, ptr noundef %210, i32 noundef 0, ptr noundef null, ptr noundef null) store i8 %211, ptr %8, align 1 %212 = load i8, ptr %8, align 1 %213 = sext i8 %212 to i32 %214 = load i8, ptr @CL_SUCCESS, align 1 %215 = sext i8 %214 to i32 %216 = icmp ne i32 %213, %215 br i1 %216, label %217, label %220 217: ; preds = %204 %218 = call i32 (ptr, ...) @printf(ptr noundef @.str.23) %219 = call i32 @exit(i32 noundef 1) #3 unreachable 220: ; preds = %204 %221 = load i64, ptr %21, align 8 %222 = mul i64 %221, 1 %223 = call ptr @malloc(i64 noundef %222) store ptr %223, ptr %25, align 8 store i32 0, ptr %26, align 4 br label %224 224: ; preds = %234, %220 %225 = load i32, ptr %26, align 4 %226 = sext i32 %225 to i64 %227 = load i64, ptr %21, align 8 %228 = icmp ult i64 %226, %227 br i1 %228, label %229, label %237 229: ; preds = %224 %230 = load ptr, ptr %25, align 8 %231 = load i32, ptr %26, align 4 %232 = sext i32 %231 to i64 %233 = getelementptr inbounds i8, ptr %230, i64 %232 store i8 2, ptr %233, align 1 br label %234 234: ; preds = %229 %235 = load i32, ptr %26, align 4 %236 = add nsw i32 %235, 1 store i32 %236, ptr %26, align 4 br label %224, !llvm.loop !8 237: ; preds = %224 %238 = load i32, ptr %13, align 4 %239 = load i32, ptr @CL_MEM_READ_ONLY, align 4 %240 = load i64, ptr %21, align 8 %241 = mul i64 %240, 1 %242 = call i32 @clCreateBuffer(i32 noundef %238, i32 noundef %239, i64 noundef %241, ptr noundef null, ptr noundef %8) store i32 %242, ptr %27, align 4 %243 = load i8, ptr %8, align 1 %244 = sext i8 %243 to i32 %245 = load i8, ptr @CL_SUCCESS, align 1 %246 = sext i8 %245 to i32 %247 = icmp ne i32 %244, %246 br i1 %247, label %248, label %251 248: ; preds = %237 %249 = call i32 (ptr, ...) @printf(ptr noundef @.str.22) %250 = call i32 @exit(i32 noundef 1) #3 unreachable 251: ; preds = %237 %252 = load i32, ptr %14, align 4 %253 = load i32, ptr %27, align 4 %254 = load i32, ptr @CL_TRUE, align 4 %255 = load i64, ptr %21, align 8 %256 = mul i64 %255, 1 %257 = load ptr, ptr %25, align 8 %258 = call signext i8 @clEnqueueWriteBuffer(i32 noundef %252, i32 noundef %253, i32 noundef %254, i32 noundef 0, i64 noundef %256, ptr noundef %257, i32 noundef 0, ptr noundef null, ptr noundef null) store i8 %258, ptr %8, align 1 %259 = load i8, ptr %8, align 1 %260 = sext i8 %259 to i32 %261 = load i8, ptr @CL_SUCCESS, align 1 %262 = sext i8 %261 to i32 %263 = icmp ne i32 %260, %262 br i1 %263, label %264, label %267 264: ; preds = %251 %265 = call i32 (ptr, ...) @printf(ptr noundef @.str.23) %266 = call i32 @exit(i32 noundef 1) #3 unreachable 267: ; preds = %251 %268 = load i64, ptr %21, align 8 %269 = mul i64 %268, 1 %270 = call ptr @malloc(i64 noundef %269) store ptr %270, ptr %28, align 8 %271 = load ptr, ptr %28, align 8 %272 = load i64, ptr %21, align 8 %273 = mul i64 %272, 1 %274 = call i32 @memset(ptr noundef %271, i32 noundef 1, i64 noundef %273) %275 = load i32, ptr %13, align 4 %276 = load i32, ptr @CL_MEM_WRITE_ONLY, align 4 %277 = load i64, ptr %21, align 8 %278 = mul i64 %277, 1 %279 = call i32 @clCreateBuffer(i32 noundef %275, i32 noundef %276, i64 noundef %278, ptr noundef null, ptr noundef %8) store i32 %279, ptr %29, align 4 %280 = load i8, ptr %8, align 1 %281 = sext i8 %280 to i32 %282 = load i8, ptr @CL_SUCCESS, align 1 %283 = sext i8 %282 to i32 %284 = icmp ne i32 %281, %283 br i1 %284, label %285, label %288 285: ; preds = %267 %286 = call i32 (ptr, ...) @printf(ptr noundef @.str.24) %287 = call i32 @exit(i32 noundef 1) #3 unreachable 288: ; preds = %267 %289 = load i8, ptr @CL_SUCCESS, align 1 store i8 %289, ptr %8, align 1 %290 = load i32, ptr %20, align 4 %291 = call signext i8 @clSetKernelArg(i32 noundef %290, i32 noundef 0, i32 noundef 4, ptr noundef %24) %292 = sext i8 %291 to i32 %293 = load i8, ptr %8, align 1 %294 = sext i8 %293 to i32 %295 = or i32 %294, %292 %296 = trunc i32 %295 to i8 store i8 %296, ptr %8, align 1 %297 = load i32, ptr %20, align 4 %298 = call signext i8 @clSetKernelArg(i32 noundef %297, i32 noundef 1, i32 noundef 4, ptr noundef %27) %299 = sext i8 %298 to i32 %300 = load i8, ptr %8, align 1 %301 = sext i8 %300 to i32 %302 = or i32 %301, %299 %303 = trunc i32 %302 to i8 store i8 %303, ptr %8, align 1 %304 = load i32, ptr %20, align 4 %305 = call signext i8 @clSetKernelArg(i32 noundef %304, i32 noundef 2, i32 noundef 4, ptr noundef %29) %306 = sext i8 %305 to i32 %307 = load i8, ptr %8, align 1 %308 = sext i8 %307 to i32 %309 = or i32 %308, %306 %310 = trunc i32 %309 to i8 store i8 %310, ptr %8, align 1 %311 = load i8, ptr %8, align 1 %312 = sext i8 %311 to i32 %313 = load i8, ptr @CL_SUCCESS, align 1 %314 = sext i8 %313 to i32 %315 = icmp ne i32 %312, %314 br i1 %315, label %316, label %319 316: ; preds = %288 %317 = call i32 (ptr, ...) @printf(ptr noundef @.str.25) %318 = call i32 @exit(i32 noundef 1) #3 unreachable 319: ; preds = %288 %320 = load i64, ptr %21, align 8 store i64 %320, ptr %30, align 8 %321 = load i64, ptr %21, align 8 store i64 %321, ptr %31, align 8 %322 = load i32, ptr %14, align 4 %323 = load i32, ptr %20, align 4 %324 = call signext i8 @clEnqueueNDRangeKernel(i32 noundef %322, i32 noundef %323, i32 noundef 1, ptr noundef null, ptr noundef %30, ptr noundef %31, i32 noundef 0, ptr noundef null, ptr noundef null) store i8 %324, ptr %8, align 1 %325 = load i8, ptr %8, align 1 %326 = sext i8 %325 to i32 %327 = load i8, ptr @CL_SUCCESS, align 1 %328 = sext i8 %327 to i32 %329 = icmp ne i32 %326, %328 br i1 %329, label %330, label %333 330: ; preds = %319 %331 = call i32 (ptr, ...) @printf(ptr noundef @.str.26) %332 = call i32 @exit(i32 noundef 1) #3 unreachable 333: ; preds = %319 %334 = load i32, ptr %14, align 4 %335 = call i32 @clFinish(i32 noundef %334) %336 = load i32, ptr %14, align 4 %337 = load i32, ptr %29, align 4 %338 = load i32, ptr @CL_TRUE, align 4 %339 = load i64, ptr %21, align 8 %340 = mul i64 %339, 1 %341 = load ptr, ptr %28, align 8 %342 = call signext i8 @clEnqueueReadBuffer(i32 noundef %336, i32 noundef %337, i32 noundef %338, i32 noundef 0, i64 noundef %340, ptr noundef %341, i32 noundef 0, ptr noundef null, ptr noundef null) store i8 %342, ptr %8, align 1 %343 = load i8, ptr %8, align 1 %344 = sext i8 %343 to i32 %345 = load i8, ptr @CL_SUCCESS, align 1 %346 = sext i8 %345 to i32 %347 = icmp ne i32 %344, %346 br i1 %347, label %348, label %351 348: ; preds = %333 %349 = call i32 (ptr, ...) @printf(ptr noundef @.str.27) %350 = call i32 @exit(i32 noundef 1) #3 unreachable 351: ; preds = %333 %352 = load ptr, ptr %5, align 8 %353 = getelementptr inbounds ptr, ptr %352, i64 0 %354 = load ptr, ptr %353, align 8 %355 = call i32 @sprintf(ptr noundef %32, ptr noundef @.str.28, ptr noundef %354) %356 = getelementptr inbounds [100 x i8], ptr %32, i64 0, i64 0 %357 = load ptr, ptr %28, align 8 %358 = load i64, ptr %21, align 8 %359 = mul i64 %358, 1 %360 = call i32 @write_buffer(ptr noundef %356, ptr noundef %357, i64 noundef %359) %361 = getelementptr inbounds [100 x i8], ptr %32, i64 0, i64 0 %362 = call i32 (ptr, ...) @printf(ptr noundef @.str.29, ptr noundef %361) %363 = load ptr, ptr %28, align 8 %364 = call i32 @free(ptr noundef %363) %365 = load i32, ptr %29, align 4 %366 = call signext i8 @clReleaseMemObject(i32 noundef %365) store i8 %366, ptr %8, align 1 %367 = load i8, ptr %8, align 1 %368 = sext i8 %367 to i32 %369 = load i8, ptr @CL_SUCCESS, align 1 %370 = sext i8 %369 to i32 %371 = icmp ne i32 %368, %370 br i1 %371, label %372, label %375 372: ; preds = %351 %373 = call i32 (ptr, ...) @printf(ptr noundef @.str.30) %374 = call i32 @exit(i32 noundef 1) #3 unreachable 375: ; preds = %351 %376 = load ptr, ptr %22, align 8 %377 = call i32 @free(ptr noundef %376) %378 = load i32, ptr %24, align 4 %379 = call signext i8 @clReleaseMemObject(i32 noundef %378) store i8 %379, ptr %8, align 1 %380 = load i8, ptr %8, align 1 %381 = sext i8 %380 to i32 %382 = load i8, ptr @CL_SUCCESS, align 1 %383 = sext i8 %382 to i32 %384 = icmp ne i32 %381, %383 br i1 %384, label %385, label %388 385: ; preds = %375 %386 = call i32 (ptr, ...) @printf(ptr noundef @.str.30) %387 = call i32 @exit(i32 noundef 1) #3 unreachable 388: ; preds = %375 %389 = load ptr, ptr %25, align 8 %390 = call i32 @free(ptr noundef %389) %391 = load i32, ptr %27, align 4 %392 = call signext i8 @clReleaseMemObject(i32 noundef %391) store i8 %392, ptr %8, align 1 %393 = load i8, ptr %8, align 1 %394 = sext i8 %393 to i32 %395 = load i8, ptr @CL_SUCCESS, align 1 %396 = sext i8 %395 to i32 %397 = icmp ne i32 %394, %396 br i1 %397, label %398, label %401 398: ; preds = %388 %399 = call i32 (ptr, ...) @printf(ptr noundef @.str.30) %400 = call i32 @exit(i32 noundef 1) #3 unreachable 401: ; preds = %388 %402 = load i32, ptr %20, align 4 %403 = call signext i8 @clReleaseKernel(i32 noundef %402) store i8 %403, ptr %8, align 1 %404 = load i8, ptr %8, align 1 %405 = sext i8 %404 to i32 %406 = load i8, ptr @CL_SUCCESS, align 1 %407 = sext i8 %406 to i32 %408 = icmp ne i32 %405, %407 br i1 %408, label %409, label %412 409: ; preds = %401 %410 = call i32 (ptr, ...) @printf(ptr noundef @.str.31) %411 = call i32 @exit(i32 noundef 1) #3 unreachable 412: ; preds = %401 %413 = load i32, ptr %17, align 4 %414 = call signext i8 @clReleaseProgram(i32 noundef %413) store i8 %414, ptr %8, align 1 %415 = load i8, ptr %8, align 1 %416 = sext i8 %415 to i32 %417 = load i8, ptr @CL_SUCCESS, align 1 %418 = sext i8 %417 to i32 %419 = icmp ne i32 %416, %418 br i1 %419, label %420, label %423 420: ; preds = %412 %421 = call i32 (ptr, ...) @printf(ptr noundef @.str.32) %422 = call i32 @exit(i32 noundef 1) #3 unreachable 423: ; preds = %412 %424 = load i32, ptr %14, align 4 %425 = call signext i8 @clReleaseCommandQueue(i32 noundef %424) store i8 %425, ptr %8, align 1 %426 = load i8, ptr %8, align 1 %427 = sext i8 %426 to i32 %428 = load i8, ptr @CL_SUCCESS, align 1 %429 = sext i8 %428 to i32 %430 = icmp ne i32 %427, %429 br i1 %430, label %431, label %434 431: ; preds = %423 %432 = call i32 (ptr, ...) @printf(ptr noundef @.str.33) %433 = call i32 @exit(i32 noundef 1) #3 unreachable 434: ; preds = %423 %435 = load i32, ptr %13, align 4 %436 = call signext i8 @clReleaseContext(i32 noundef %435) store i8 %436, ptr %8, align 1 %437 = load i8, ptr %8, align 1 %438 = sext i8 %437 to i32 %439 = load i8, ptr @CL_SUCCESS, align 1 %440 = sext i8 %439 to i32 %441 = icmp ne i32 %438, %440 br i1 %441, label %442, label %445 442: ; preds = %434 %443 = call i32 (ptr, ...) @printf(ptr noundef @.str.34) %444 = call i32 @exit(i32 noundef 1) #3 unreachable 445: ; preds = %434 ret i32 0 } declare signext i8 @clGetPlatformIDs(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare signext i8 @clGetPlatformInfo(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare signext i8 @clGetDeviceIDs(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare signext i8 @clGetDeviceInfo(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clCreateContext(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @clCreateCommandQueue(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare ptr @read_buffer(ptr noundef, ptr noundef) #1 declare i32 @clCreateProgramWithSource(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare signext i8 @clBuildProgram(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @clGetProgramBuildInfo(i32 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @clCreateKernel(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clCreateBuffer(i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) #1 declare signext i8 @clEnqueueWriteBuffer(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1 declare signext i8 @clSetKernelArg(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare signext i8 @clEnqueueNDRangeKernel(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clFinish(i32 noundef) #1 declare signext i8 @clEnqueueReadBuffer(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @write_buffer(ptr noundef, ptr noundef, i64 noundef) #1 declare signext i8 @clReleaseMemObject(i32 noundef) #1 declare signext i8 @clReleaseKernel(i32 noundef) #1 declare signext i8 @clReleaseProgram(i32 noundef) #1 declare signext i8 @clReleaseCommandQueue(i32 noundef) #1 declare signext i8 @clReleaseContext(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3913nsym.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CL_SUCCESS = dso_local global i8 0, align 1 @.str = private unnamed_addr constant [42 x i8] c"error: call to 'clGetPlatformIDs' failed\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"Number of platforms: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"platform=%p\0A\00", align 1 @CL_PLATFORM_NAME = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [43 x i8] c"error: call to 'clGetPlatformInfo' failed\0A\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"platform.name='%s'\0A\0A\00", align 1 @CL_DEVICE_TYPE_GPU = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [40 x i8] c"error: call to 'clGetDeviceIDs' failed\0A\00", align 1 @.str.6 = private unnamed_addr constant [23 x i8] c"Number of devices: %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [11 x i8] c"device=%p\0A\00", align 1 @CL_DEVICE_NAME = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [41 x i8] c"error: call to 'clGetDeviceInfo' failed\0A\00", align 1 @.str.9 = private unnamed_addr constant [18 x i8] c"device.name='%s'\0A\00", align 1 @.str.10 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.11 = private unnamed_addr constant [41 x i8] c"error: call to 'clCreateContext' failed\0A\00", align 1 @.str.12 = private unnamed_addr constant [12 x i8] c"context=%p\0A\00", align 1 @.str.13 = private unnamed_addr constant [46 x i8] c"error: call to 'clCreateCommandQueue' failed\0A\00", align 1 @.str.14 = private unnamed_addr constant [18 x i8] c"command_queue=%p\0A\00", align 1 @.str.15 = private unnamed_addr constant [14 x i8] c"max_intint.cl\00", align 1 @.str.16 = private unnamed_addr constant [51 x i8] c"error: call to 'clCreateProgramWithSource' failed\0A\00", align 1 @.str.17 = private unnamed_addr constant [12 x i8] c"program=%p\0A\00", align 1 @CL_PROGRAM_BUILD_LOG = dso_local global i32 0, align 4 @.str.18 = private unnamed_addr constant [44 x i8] c"error: call to 'clBuildProgram' failed:\0A%s\0A\00", align 1 @.str.19 = private unnamed_addr constant [15 x i8] c"program built\0A\00", align 1 @.str.20 = private unnamed_addr constant [11 x i8] c"max_intint\00", align 1 @.str.21 = private unnamed_addr constant [40 x i8] c"error: call to 'clCreateKernel' failed\0A\00", align 1 @CL_MEM_READ_ONLY = dso_local global i32 0, align 4 @.str.22 = private unnamed_addr constant [39 x i8] c"error: could not create source buffer\0A\00", align 1 @CL_TRUE = dso_local global i32 0, align 4 @.str.23 = private unnamed_addr constant [46 x i8] c"error: call to 'clEnqueueWriteBuffer' failed\0A\00", align 1 @CL_MEM_WRITE_ONLY = dso_local global i32 0, align 4 @.str.24 = private unnamed_addr constant [36 x i8] c"error: could not create dst buffer\0A\00", align 1 @.str.25 = private unnamed_addr constant [40 x i8] c"error: call to 'clSetKernelArg' failed\0A\00", align 1 @.str.26 = private unnamed_addr constant [48 x i8] c"error: call to 'clEnqueueNDRangeKernel' failed\0A\00", align 1 @.str.27 = private unnamed_addr constant [45 x i8] c"error: call to 'clEnqueueReadBuffer' failed\0A\00", align 1 @.str.28 = private unnamed_addr constant [10 x i8] c"%s.result\00", align 1 @.str.29 = private unnamed_addr constant [21 x i8] c"Result dumped to %s\0A\00", align 1 @.str.30 = private unnamed_addr constant [44 x i8] c"error: call to 'clReleaseMemObject' failed\0A\00", align 1 @.str.31 = private unnamed_addr constant [41 x i8] c"error: call to 'clReleaseKernel' failed\0A\00", align 1 @.str.32 = private unnamed_addr constant [42 x i8] c"error: call to 'clReleaseProgram' failed\0A\00", align 1 @.str.33 = private unnamed_addr constant [47 x i8] c"error: call to 'clReleaseCommandQueue' failed\0A\00", align 1 @.str.34 = private unnamed_addr constant [42 x i8] c"error: call to 'clReleaseContext' failed\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i8, align 1 %9 = alloca [100 x i8], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca [100 x i8], align 16 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca i64, align 8 %17 = alloca i32, align 4 %18 = alloca i64, align 8 %19 = alloca ptr, align 8 %20 = alloca i32, align 4 %21 = alloca i64, align 8 %22 = alloca ptr, align 8 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca ptr, align 8 %26 = alloca i32, align 4 %27 = alloca i32, align 4 %28 = alloca ptr, align 8 %29 = alloca i32, align 4 %30 = alloca i64, align 8 %31 = alloca i64, align 8 %32 = alloca [100 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %33 = call signext i8 @clGetPlatformIDs(i32 noundef 1, ptr noundef %6, ptr noundef %7) store i8 %33, ptr %8, align 1 %34 = load i8, ptr %8, align 1 %35 = sext i8 %34 to i32 %36 = load i8, ptr @CL_SUCCESS, align 1 %37 = sext i8 %36 to i32 %38 = icmp ne i32 %35, %37 br i1 %38, label %39, label %42 39: ; preds = %2 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str) %41 = call i32 @exit(i32 noundef 1) #3 unreachable 42: ; preds = %2 %43 = load i32, ptr %7, align 4 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %43) %45 = load i32, ptr %6, align 4 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %45) %47 = load i32, ptr %6, align 4 %48 = load i32, ptr @CL_PLATFORM_NAME, align 4 %49 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %50 = call signext i8 @clGetPlatformInfo(i32 noundef %47, i32 noundef %48, i32 noundef 100, ptr noundef %49, ptr noundef null) store i8 %50, ptr %8, align 1 %51 = load i8, ptr %8, align 1 %52 = sext i8 %51 to i32 %53 = load i8, ptr @CL_SUCCESS, align 1 %54 = sext i8 %53 to i32 %55 = icmp ne i32 %52, %54 br i1 %55, label %56, label %59 56: ; preds = %42 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %58 = call i32 @exit(i32 noundef 1) #3 unreachable 59: ; preds = %42 %60 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %60) %62 = load i32, ptr %6, align 4 %63 = load i32, ptr @CL_DEVICE_TYPE_GPU, align 4 %64 = call signext i8 @clGetDeviceIDs(i32 noundef %62, i32 noundef %63, i32 noundef 1, ptr noundef %10, ptr noundef %11) store i8 %64, ptr %8, align 1 %65 = load i8, ptr %8, align 1 %66 = sext i8 %65 to i32 %67 = load i8, ptr @CL_SUCCESS, align 1 %68 = sext i8 %67 to i32 %69 = icmp ne i32 %66, %68 br i1 %69, label %70, label %73 70: ; preds = %59 %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %72 = call i32 @exit(i32 noundef 1) #3 unreachable 73: ; preds = %59 %74 = load i32, ptr %11, align 4 %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %74) %76 = load i32, ptr %10, align 4 %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %76) %78 = load i32, ptr %10, align 4 %79 = load i32, ptr @CL_DEVICE_NAME, align 4 %80 = getelementptr inbounds [100 x i8], ptr %12, i64 0, i64 0 %81 = call signext i8 @clGetDeviceInfo(i32 noundef %78, i32 noundef %79, i32 noundef 100, ptr noundef %80, ptr noundef null) store i8 %81, ptr %8, align 1 %82 = load i8, ptr %8, align 1 %83 = sext i8 %82 to i32 %84 = load i8, ptr @CL_SUCCESS, align 1 %85 = sext i8 %84 to i32 %86 = icmp ne i32 %83, %85 br i1 %86, label %87, label %90 87: ; preds = %73 %88 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %89 = call i32 @exit(i32 noundef 1) #3 unreachable 90: ; preds = %73 %91 = getelementptr inbounds [100 x i8], ptr %12, i64 0, i64 0 %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %91) %93 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %94 = call i32 @clCreateContext(ptr noundef null, i32 noundef 1, ptr noundef %10, ptr noundef null, ptr noundef null, ptr noundef %8) store i32 %94, ptr %13, align 4 %95 = load i8, ptr %8, align 1 %96 = sext i8 %95 to i32 %97 = load i8, ptr @CL_SUCCESS, align 1 %98 = sext i8 %97 to i32 %99 = icmp ne i32 %96, %98 br i1 %99, label %100, label %103 100: ; preds = %90 %101 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %102 = call i32 @exit(i32 noundef 1) #3 unreachable 103: ; preds = %90 %104 = load i32, ptr %13, align 4 %105 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %104) %106 = load i32, ptr %13, align 4 %107 = load i32, ptr %10, align 4 %108 = call i32 @clCreateCommandQueue(i32 noundef %106, i32 noundef %107, i32 noundef 0, ptr noundef %8) store i32 %108, ptr %14, align 4 %109 = load i8, ptr %8, align 1 %110 = sext i8 %109 to i32 %111 = load i8, ptr @CL_SUCCESS, align 1 %112 = sext i8 %111 to i32 %113 = icmp ne i32 %110, %112 br i1 %113, label %114, label %117 114: ; preds = %103 %115 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %116 = call i32 @exit(i32 noundef 1) #3 unreachable 117: ; preds = %103 %118 = load i32, ptr %14, align 4 %119 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %118) %120 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %121 = call ptr @read_buffer(ptr noundef @.str.15, ptr noundef %16) store ptr %121, ptr %15, align 8 %122 = load i32, ptr %13, align 4 %123 = call i32 @clCreateProgramWithSource(i32 noundef %122, i32 noundef 1, ptr noundef %15, ptr noundef %16, ptr noundef %8) store i32 %123, ptr %17, align 4 %124 = load i8, ptr %8, align 1 %125 = sext i8 %124 to i32 %126 = load i8, ptr @CL_SUCCESS, align 1 %127 = sext i8 %126 to i32 %128 = icmp ne i32 %125, %127 br i1 %128, label %129, label %132 129: ; preds = %117 %130 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) %131 = call i32 @exit(i32 noundef 1) #3 unreachable 132: ; preds = %117 %133 = load i32, ptr %17, align 4 %134 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i32 noundef %133) %135 = load i32, ptr %17, align 4 %136 = call signext i8 @clBuildProgram(i32 noundef %135, i32 noundef 1, ptr noundef %10, ptr noundef null, ptr noundef null, ptr noundef null) store i8 %136, ptr %8, align 1 %137 = load i8, ptr %8, align 1 %138 = sext i8 %137 to i32 %139 = load i8, ptr @CL_SUCCESS, align 1 %140 = sext i8 %139 to i32 %141 = icmp ne i32 %138, %140 br i1 %141, label %142, label %160 142: ; preds = %132 %143 = load i32, ptr %17, align 4 %144 = load i32, ptr %10, align 4 %145 = load i32, ptr @CL_PROGRAM_BUILD_LOG, align 4 %146 = call i32 @clGetProgramBuildInfo(i32 noundef %143, i32 noundef %144, i32 noundef %145, i64 noundef 0, ptr noundef null, ptr noundef %18) %147 = load i64, ptr %18, align 8 %148 = call ptr @malloc(i64 noundef %147) store ptr %148, ptr %19, align 8 %149 = load i32, ptr %17, align 4 %150 = load i32, ptr %10, align 4 %151 = load i32, ptr @CL_PROGRAM_BUILD_LOG, align 4 %152 = load i64, ptr %18, align 8 %153 = load ptr, ptr %19, align 8 %154 = call i32 @clGetProgramBuildInfo(i32 noundef %149, i32 noundef %150, i32 noundef %151, i64 noundef %152, ptr noundef %153, ptr noundef null) %155 = load ptr, ptr %19, align 8 %156 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, ptr noundef %155) %157 = load ptr, ptr %19, align 8 %158 = call i32 @free(ptr noundef %157) %159 = call i32 @exit(i32 noundef 1) #3 unreachable 160: ; preds = %132 %161 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %162 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %163 = load i32, ptr %17, align 4 %164 = call i32 @clCreateKernel(i32 noundef %163, ptr noundef @.str.20, ptr noundef %8) store i32 %164, ptr %20, align 4 %165 = load i8, ptr %8, align 1 %166 = sext i8 %165 to i32 %167 = load i8, ptr @CL_SUCCESS, align 1 %168 = sext i8 %167 to i32 %169 = icmp ne i32 %166, %168 br i1 %169, label %170, label %173 170: ; preds = %160 %171 = call i32 (ptr, ...) @printf(ptr noundef @.str.21) %172 = call i32 @exit(i32 noundef 1) #3 unreachable 173: ; preds = %160 store i64 10, ptr %21, align 8 %174 = load i64, ptr %21, align 8 %175 = mul i64 %174, 1 %176 = call ptr @malloc(i64 noundef %175) store ptr %176, ptr %22, align 8 store i32 0, ptr %23, align 4 %177 = load i32, ptr %23, align 4 %178 = sext i32 %177 to i64 %179 = load i64, ptr %21, align 8 %180 = icmp ult i64 %178, %179 br i1 %180, label %.lr.ph, label %193 .lr.ph: ; preds = %173 br label %181 181: ; preds = %.lr.ph, %186 %182 = load ptr, ptr %22, align 8 %183 = load i32, ptr %23, align 4 %184 = sext i32 %183 to i64 %185 = getelementptr inbounds i8, ptr %182, i64 %184 store i8 2, ptr %185, align 1 br label %186 186: ; preds = %181 %187 = load i32, ptr %23, align 4 %188 = add nsw i32 %187, 1 store i32 %188, ptr %23, align 4 %189 = load i32, ptr %23, align 4 %190 = sext i32 %189 to i64 %191 = load i64, ptr %21, align 8 %192 = icmp ult i64 %190, %191 br i1 %192, label %181, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %186 br label %193 193: ; preds = %._crit_edge, %173 %194 = load i32, ptr %13, align 4 %195 = load i32, ptr @CL_MEM_READ_ONLY, align 4 %196 = load i64, ptr %21, align 8 %197 = mul i64 %196, 1 %198 = call i32 @clCreateBuffer(i32 noundef %194, i32 noundef %195, i64 noundef %197, ptr noundef null, ptr noundef %8) store i32 %198, ptr %24, align 4 %199 = load i8, ptr %8, align 1 %200 = sext i8 %199 to i32 %201 = load i8, ptr @CL_SUCCESS, align 1 %202 = sext i8 %201 to i32 %203 = icmp ne i32 %200, %202 br i1 %203, label %204, label %207 204: ; preds = %193 %205 = call i32 (ptr, ...) @printf(ptr noundef @.str.22) %206 = call i32 @exit(i32 noundef 1) #3 unreachable 207: ; preds = %193 %208 = load i32, ptr %14, align 4 %209 = load i32, ptr %24, align 4 %210 = load i32, ptr @CL_TRUE, align 4 %211 = load i64, ptr %21, align 8 %212 = mul i64 %211, 1 %213 = load ptr, ptr %22, align 8 %214 = call signext i8 @clEnqueueWriteBuffer(i32 noundef %208, i32 noundef %209, i32 noundef %210, i32 noundef 0, i64 noundef %212, ptr noundef %213, i32 noundef 0, ptr noundef null, ptr noundef null) store i8 %214, ptr %8, align 1 %215 = load i8, ptr %8, align 1 %216 = sext i8 %215 to i32 %217 = load i8, ptr @CL_SUCCESS, align 1 %218 = sext i8 %217 to i32 %219 = icmp ne i32 %216, %218 br i1 %219, label %220, label %223 220: ; preds = %207 %221 = call i32 (ptr, ...) @printf(ptr noundef @.str.23) %222 = call i32 @exit(i32 noundef 1) #3 unreachable 223: ; preds = %207 %224 = load i64, ptr %21, align 8 %225 = mul i64 %224, 1 %226 = call ptr @malloc(i64 noundef %225) store ptr %226, ptr %25, align 8 store i32 0, ptr %26, align 4 %227 = load i32, ptr %26, align 4 %228 = sext i32 %227 to i64 %229 = load i64, ptr %21, align 8 %230 = icmp ult i64 %228, %229 br i1 %230, label %.lr.ph2, label %243 .lr.ph2: ; preds = %223 br label %231 231: ; preds = %.lr.ph2, %236 %232 = load ptr, ptr %25, align 8 %233 = load i32, ptr %26, align 4 %234 = sext i32 %233 to i64 %235 = getelementptr inbounds i8, ptr %232, i64 %234 store i8 2, ptr %235, align 1 br label %236 236: ; preds = %231 %237 = load i32, ptr %26, align 4 %238 = add nsw i32 %237, 1 store i32 %238, ptr %26, align 4 %239 = load i32, ptr %26, align 4 %240 = sext i32 %239 to i64 %241 = load i64, ptr %21, align 8 %242 = icmp ult i64 %240, %241 br i1 %242, label %231, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %236 br label %243 243: ; preds = %._crit_edge3, %223 %244 = load i32, ptr %13, align 4 %245 = load i32, ptr @CL_MEM_READ_ONLY, align 4 %246 = load i64, ptr %21, align 8 %247 = mul i64 %246, 1 %248 = call i32 @clCreateBuffer(i32 noundef %244, i32 noundef %245, i64 noundef %247, ptr noundef null, ptr noundef %8) store i32 %248, ptr %27, align 4 %249 = load i8, ptr %8, align 1 %250 = sext i8 %249 to i32 %251 = load i8, ptr @CL_SUCCESS, align 1 %252 = sext i8 %251 to i32 %253 = icmp ne i32 %250, %252 br i1 %253, label %254, label %257 254: ; preds = %243 %255 = call i32 (ptr, ...) @printf(ptr noundef @.str.22) %256 = call i32 @exit(i32 noundef 1) #3 unreachable 257: ; preds = %243 %258 = load i32, ptr %14, align 4 %259 = load i32, ptr %27, align 4 %260 = load i32, ptr @CL_TRUE, align 4 %261 = load i64, ptr %21, align 8 %262 = mul i64 %261, 1 %263 = load ptr, ptr %25, align 8 %264 = call signext i8 @clEnqueueWriteBuffer(i32 noundef %258, i32 noundef %259, i32 noundef %260, i32 noundef 0, i64 noundef %262, ptr noundef %263, i32 noundef 0, ptr noundef null, ptr noundef null) store i8 %264, ptr %8, align 1 %265 = load i8, ptr %8, align 1 %266 = sext i8 %265 to i32 %267 = load i8, ptr @CL_SUCCESS, align 1 %268 = sext i8 %267 to i32 %269 = icmp ne i32 %266, %268 br i1 %269, label %270, label %273 270: ; preds = %257 %271 = call i32 (ptr, ...) @printf(ptr noundef @.str.23) %272 = call i32 @exit(i32 noundef 1) #3 unreachable 273: ; preds = %257 %274 = load i64, ptr %21, align 8 %275 = mul i64 %274, 1 %276 = call ptr @malloc(i64 noundef %275) store ptr %276, ptr %28, align 8 %277 = load ptr, ptr %28, align 8 %278 = load i64, ptr %21, align 8 %279 = mul i64 %278, 1 %280 = call i32 @memset(ptr noundef %277, i32 noundef 1, i64 noundef %279) %281 = load i32, ptr %13, align 4 %282 = load i32, ptr @CL_MEM_WRITE_ONLY, align 4 %283 = load i64, ptr %21, align 8 %284 = mul i64 %283, 1 %285 = call i32 @clCreateBuffer(i32 noundef %281, i32 noundef %282, i64 noundef %284, ptr noundef null, ptr noundef %8) store i32 %285, ptr %29, align 4 %286 = load i8, ptr %8, align 1 %287 = sext i8 %286 to i32 %288 = load i8, ptr @CL_SUCCESS, align 1 %289 = sext i8 %288 to i32 %290 = icmp ne i32 %287, %289 br i1 %290, label %291, label %294 291: ; preds = %273 %292 = call i32 (ptr, ...) @printf(ptr noundef @.str.24) %293 = call i32 @exit(i32 noundef 1) #3 unreachable 294: ; preds = %273 %295 = load i8, ptr @CL_SUCCESS, align 1 store i8 %295, ptr %8, align 1 %296 = load i32, ptr %20, align 4 %297 = call signext i8 @clSetKernelArg(i32 noundef %296, i32 noundef 0, i32 noundef 4, ptr noundef %24) %298 = sext i8 %297 to i32 %299 = load i8, ptr %8, align 1 %300 = sext i8 %299 to i32 %301 = or i32 %300, %298 %302 = trunc i32 %301 to i8 store i8 %302, ptr %8, align 1 %303 = load i32, ptr %20, align 4 %304 = call signext i8 @clSetKernelArg(i32 noundef %303, i32 noundef 1, i32 noundef 4, ptr noundef %27) %305 = sext i8 %304 to i32 %306 = load i8, ptr %8, align 1 %307 = sext i8 %306 to i32 %308 = or i32 %307, %305 %309 = trunc i32 %308 to i8 store i8 %309, ptr %8, align 1 %310 = load i32, ptr %20, align 4 %311 = call signext i8 @clSetKernelArg(i32 noundef %310, i32 noundef 2, i32 noundef 4, ptr noundef %29) %312 = sext i8 %311 to i32 %313 = load i8, ptr %8, align 1 %314 = sext i8 %313 to i32 %315 = or i32 %314, %312 %316 = trunc i32 %315 to i8 store i8 %316, ptr %8, align 1 %317 = load i8, ptr %8, align 1 %318 = sext i8 %317 to i32 %319 = load i8, ptr @CL_SUCCESS, align 1 %320 = sext i8 %319 to i32 %321 = icmp ne i32 %318, %320 br i1 %321, label %322, label %325 322: ; preds = %294 %323 = call i32 (ptr, ...) @printf(ptr noundef @.str.25) %324 = call i32 @exit(i32 noundef 1) #3 unreachable 325: ; preds = %294 %326 = load i64, ptr %21, align 8 store i64 %326, ptr %30, align 8 %327 = load i64, ptr %21, align 8 store i64 %327, ptr %31, align 8 %328 = load i32, ptr %14, align 4 %329 = load i32, ptr %20, align 4 %330 = call signext i8 @clEnqueueNDRangeKernel(i32 noundef %328, i32 noundef %329, i32 noundef 1, ptr noundef null, ptr noundef %30, ptr noundef %31, i32 noundef 0, ptr noundef null, ptr noundef null) store i8 %330, ptr %8, align 1 %331 = load i8, ptr %8, align 1 %332 = sext i8 %331 to i32 %333 = load i8, ptr @CL_SUCCESS, align 1 %334 = sext i8 %333 to i32 %335 = icmp ne i32 %332, %334 br i1 %335, label %336, label %339 336: ; preds = %325 %337 = call i32 (ptr, ...) @printf(ptr noundef @.str.26) %338 = call i32 @exit(i32 noundef 1) #3 unreachable 339: ; preds = %325 %340 = load i32, ptr %14, align 4 %341 = call i32 @clFinish(i32 noundef %340) %342 = load i32, ptr %14, align 4 %343 = load i32, ptr %29, align 4 %344 = load i32, ptr @CL_TRUE, align 4 %345 = load i64, ptr %21, align 8 %346 = mul i64 %345, 1 %347 = load ptr, ptr %28, align 8 %348 = call signext i8 @clEnqueueReadBuffer(i32 noundef %342, i32 noundef %343, i32 noundef %344, i32 noundef 0, i64 noundef %346, ptr noundef %347, i32 noundef 0, ptr noundef null, ptr noundef null) store i8 %348, ptr %8, align 1 %349 = load i8, ptr %8, align 1 %350 = sext i8 %349 to i32 %351 = load i8, ptr @CL_SUCCESS, align 1 %352 = sext i8 %351 to i32 %353 = icmp ne i32 %350, %352 br i1 %353, label %354, label %357 354: ; preds = %339 %355 = call i32 (ptr, ...) @printf(ptr noundef @.str.27) %356 = call i32 @exit(i32 noundef 1) #3 unreachable 357: ; preds = %339 %358 = load ptr, ptr %5, align 8 %359 = getelementptr inbounds ptr, ptr %358, i64 0 %360 = load ptr, ptr %359, align 8 %361 = call i32 @sprintf(ptr noundef %32, ptr noundef @.str.28, ptr noundef %360) %362 = getelementptr inbounds [100 x i8], ptr %32, i64 0, i64 0 %363 = load ptr, ptr %28, align 8 %364 = load i64, ptr %21, align 8 %365 = mul i64 %364, 1 %366 = call i32 @write_buffer(ptr noundef %362, ptr noundef %363, i64 noundef %365) %367 = getelementptr inbounds [100 x i8], ptr %32, i64 0, i64 0 %368 = call i32 (ptr, ...) @printf(ptr noundef @.str.29, ptr noundef %367) %369 = load ptr, ptr %28, align 8 %370 = call i32 @free(ptr noundef %369) %371 = load i32, ptr %29, align 4 %372 = call signext i8 @clReleaseMemObject(i32 noundef %371) store i8 %372, ptr %8, align 1 %373 = load i8, ptr %8, align 1 %374 = sext i8 %373 to i32 %375 = load i8, ptr @CL_SUCCESS, align 1 %376 = sext i8 %375 to i32 %377 = icmp ne i32 %374, %376 br i1 %377, label %378, label %381 378: ; preds = %357 %379 = call i32 (ptr, ...) @printf(ptr noundef @.str.30) %380 = call i32 @exit(i32 noundef 1) #3 unreachable 381: ; preds = %357 %382 = load ptr, ptr %22, align 8 %383 = call i32 @free(ptr noundef %382) %384 = load i32, ptr %24, align 4 %385 = call signext i8 @clReleaseMemObject(i32 noundef %384) store i8 %385, ptr %8, align 1 %386 = load i8, ptr %8, align 1 %387 = sext i8 %386 to i32 %388 = load i8, ptr @CL_SUCCESS, align 1 %389 = sext i8 %388 to i32 %390 = icmp ne i32 %387, %389 br i1 %390, label %391, label %394 391: ; preds = %381 %392 = call i32 (ptr, ...) @printf(ptr noundef @.str.30) %393 = call i32 @exit(i32 noundef 1) #3 unreachable 394: ; preds = %381 %395 = load ptr, ptr %25, align 8 %396 = call i32 @free(ptr noundef %395) %397 = load i32, ptr %27, align 4 %398 = call signext i8 @clReleaseMemObject(i32 noundef %397) store i8 %398, ptr %8, align 1 %399 = load i8, ptr %8, align 1 %400 = sext i8 %399 to i32 %401 = load i8, ptr @CL_SUCCESS, align 1 %402 = sext i8 %401 to i32 %403 = icmp ne i32 %400, %402 br i1 %403, label %404, label %407 404: ; preds = %394 %405 = call i32 (ptr, ...) @printf(ptr noundef @.str.30) %406 = call i32 @exit(i32 noundef 1) #3 unreachable 407: ; preds = %394 %408 = load i32, ptr %20, align 4 %409 = call signext i8 @clReleaseKernel(i32 noundef %408) store i8 %409, ptr %8, align 1 %410 = load i8, ptr %8, align 1 %411 = sext i8 %410 to i32 %412 = load i8, ptr @CL_SUCCESS, align 1 %413 = sext i8 %412 to i32 %414 = icmp ne i32 %411, %413 br i1 %414, label %415, label %418 415: ; preds = %407 %416 = call i32 (ptr, ...) @printf(ptr noundef @.str.31) %417 = call i32 @exit(i32 noundef 1) #3 unreachable 418: ; preds = %407 %419 = load i32, ptr %17, align 4 %420 = call signext i8 @clReleaseProgram(i32 noundef %419) store i8 %420, ptr %8, align 1 %421 = load i8, ptr %8, align 1 %422 = sext i8 %421 to i32 %423 = load i8, ptr @CL_SUCCESS, align 1 %424 = sext i8 %423 to i32 %425 = icmp ne i32 %422, %424 br i1 %425, label %426, label %429 426: ; preds = %418 %427 = call i32 (ptr, ...) @printf(ptr noundef @.str.32) %428 = call i32 @exit(i32 noundef 1) #3 unreachable 429: ; preds = %418 %430 = load i32, ptr %14, align 4 %431 = call signext i8 @clReleaseCommandQueue(i32 noundef %430) store i8 %431, ptr %8, align 1 %432 = load i8, ptr %8, align 1 %433 = sext i8 %432 to i32 %434 = load i8, ptr @CL_SUCCESS, align 1 %435 = sext i8 %434 to i32 %436 = icmp ne i32 %433, %435 br i1 %436, label %437, label %440 437: ; preds = %429 %438 = call i32 (ptr, ...) @printf(ptr noundef @.str.33) %439 = call i32 @exit(i32 noundef 1) #3 unreachable 440: ; preds = %429 %441 = load i32, ptr %13, align 4 %442 = call signext i8 @clReleaseContext(i32 noundef %441) store i8 %442, ptr %8, align 1 %443 = load i8, ptr %8, align 1 %444 = sext i8 %443 to i32 %445 = load i8, ptr @CL_SUCCESS, align 1 %446 = sext i8 %445 to i32 %447 = icmp ne i32 %444, %446 br i1 %447, label %448, label %451 448: ; preds = %440 %449 = call i32 (ptr, ...) @printf(ptr noundef @.str.34) %450 = call i32 @exit(i32 noundef 1) #3 unreachable 451: ; preds = %440 ret i32 0 } declare signext i8 @clGetPlatformIDs(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare signext i8 @clGetPlatformInfo(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare signext i8 @clGetDeviceIDs(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare signext i8 @clGetDeviceInfo(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clCreateContext(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @clCreateCommandQueue(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare ptr @read_buffer(ptr noundef, ptr noundef) #1 declare i32 @clCreateProgramWithSource(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare signext i8 @clBuildProgram(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @clGetProgramBuildInfo(i32 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @clCreateKernel(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clCreateBuffer(i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) #1 declare signext i8 @clEnqueueWriteBuffer(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1 declare signext i8 @clSetKernelArg(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare signext i8 @clEnqueueNDRangeKernel(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clFinish(i32 noundef) #1 declare signext i8 @clEnqueueReadBuffer(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @write_buffer(ptr noundef, ptr noundef, i64 noundef) #1 declare signext i8 @clReleaseMemObject(i32 noundef) #1 declare signext i8 @clReleaseKernel(i32 noundef) #1 declare signext i8 @clReleaseProgram(i32 noundef) #1 declare signext i8 @clReleaseCommandQueue(i32 noundef) #1 declare signext i8 @clReleaseContext(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp1y7ij_56.c' source_filename = "/tmp/tmp1y7ij_56.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @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 store i32 0, ptr %1, align 4 %2 = call ptr @getcwd(ptr noundef null, i32 noundef 0) %3 = call i32 @printf(ptr noundef @.str, ptr noundef %2) %4 = load i32, ptr @EXIT_SUCCESS, align 4 %5 = call i32 @exit(i32 noundef %4) #3 unreachable } declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @getcwd(ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1y7ij_56.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @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 store i32 0, ptr %1, align 4 %2 = call ptr @getcwd(ptr noundef null, i32 noundef 0) %3 = call i32 @printf(ptr noundef @.str, ptr noundef %2) %4 = load i32, ptr @EXIT_SUCCESS, align 4 %5 = call i32 @exit(i32 noundef %4) #3 unreachable } declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @getcwd(ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpg5xdp56t.c' source_filename = "/tmp/tmpg5xdp56t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @IPPROTO_TCP = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"Binding for tunnel\0A\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"Listen for tunnel\0A\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"Listening for tunnel\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"Tunnel connected\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_tunnel(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca %struct.sockaddr_in, align 4 store i32 %0, ptr %3, align 4 store i32 -1, ptr %4, align 4 %7 = load i32, ptr @AF_INET, align 4 %8 = load i32, ptr @SOCK_STREAM, align 4 %9 = load i32, ptr @IPPROTO_TCP, align 4 %10 = call i32 @socket(i32 noundef %7, i32 noundef %8, i32 noundef %9) store i32 %10, ptr %5, align 4 call void @llvm.memset.p0.i64(ptr align 4 %6, i8 0, i64 12, i1 false) %11 = load i32, ptr @AF_INET, align 4 %12 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2 store i32 %11, ptr %12, align 4 %13 = load i32, ptr %3, align 4 %14 = call i32 @htons(i32 noundef %13) %15 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1 store i32 %14, ptr %15, align 4 %16 = call i32 @inet_addr(ptr noundef @.str) %17 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0 %18 = getelementptr inbounds %struct.TYPE_2__, ptr %17, i32 0, i32 0 store i32 %16, ptr %18, align 4 %19 = load i32, ptr %5, align 4 %20 = call i64 @bind(i32 noundef %19, ptr noundef %6, i32 noundef 12) %21 = icmp slt i64 %20, 0 br i1 %21, label %22, label %24 22: ; preds = %1 %23 = call i32 @perror(ptr noundef @.str.1) store i32 -1, ptr %2, align 4 br label %36 24: ; preds = %1 %25 = load i32, ptr %5, align 4 %26 = call i64 @listen(i32 noundef %25, i32 noundef 5) %27 = icmp slt i64 %26, 0 br i1 %27, label %28, label %30 28: ; preds = %24 %29 = call i32 @perror(ptr noundef @.str.2) store i32 -1, ptr %2, align 4 br label %36 30: ; preds = %24 %31 = call i32 @puts(ptr noundef @.str.3) %32 = load i32, ptr %5, align 4 %33 = call i32 @accept(i32 noundef %32, ptr noundef null, ptr noundef null) store i32 %33, ptr %4, align 4 %34 = call i32 @puts(ptr noundef @.str.4) %35 = load i32, ptr %4, align 4 store i32 %35, ptr %2, align 4 br label %36 36: ; preds = %30, %28, %22 %37 = load i32, ptr %2, align 4 ret i32 %37 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @htons(i32 noundef) #1 declare i32 @inet_addr(ptr noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @listen(i32 noundef, i32 noundef) #1 declare i32 @puts(ptr noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg5xdp56t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @IPPROTO_TCP = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"Binding for tunnel\0A\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"Listen for tunnel\0A\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"Listening for tunnel\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"Tunnel connected\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_tunnel(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca %struct.sockaddr_in, align 4 store i32 %0, ptr %3, align 4 store i32 -1, ptr %4, align 4 %7 = load i32, ptr @AF_INET, align 4 %8 = load i32, ptr @SOCK_STREAM, align 4 %9 = load i32, ptr @IPPROTO_TCP, align 4 %10 = call i32 @socket(i32 noundef %7, i32 noundef %8, i32 noundef %9) store i32 %10, ptr %5, align 4 call void @llvm.memset.p0.i64(ptr align 4 %6, i8 0, i64 12, i1 false) %11 = load i32, ptr @AF_INET, align 4 %12 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2 store i32 %11, ptr %12, align 4 %13 = load i32, ptr %3, align 4 %14 = call i32 @htons(i32 noundef %13) %15 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1 store i32 %14, ptr %15, align 4 %16 = call i32 @inet_addr(ptr noundef @.str) %17 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0 %18 = getelementptr inbounds %struct.TYPE_2__, ptr %17, i32 0, i32 0 store i32 %16, ptr %18, align 4 %19 = load i32, ptr %5, align 4 %20 = call i64 @bind(i32 noundef %19, ptr noundef %6, i32 noundef 12) %21 = icmp slt i64 %20, 0 br i1 %21, label %22, label %24 22: ; preds = %1 %23 = call i32 @perror(ptr noundef @.str.1) store i32 -1, ptr %2, align 4 br label %36 24: ; preds = %1 %25 = load i32, ptr %5, align 4 %26 = call i64 @listen(i32 noundef %25, i32 noundef 5) %27 = icmp slt i64 %26, 0 br i1 %27, label %28, label %30 28: ; preds = %24 %29 = call i32 @perror(ptr noundef @.str.2) store i32 -1, ptr %2, align 4 br label %36 30: ; preds = %24 %31 = call i32 @puts(ptr noundef @.str.3) %32 = load i32, ptr %5, align 4 %33 = call i32 @accept(i32 noundef %32, ptr noundef null, ptr noundef null) store i32 %33, ptr %4, align 4 %34 = call i32 @puts(ptr noundef @.str.4) %35 = load i32, ptr %4, align 4 store i32 %35, ptr %2, align 4 br label %36 36: ; preds = %30, %28, %22 %37 = load i32, ptr %2, align 4 ret i32 %37 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @htons(i32 noundef) #1 declare i32 @inet_addr(ptr noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @listen(i32 noundef, i32 noundef) #1 declare i32 @puts(ptr noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpv3ccy4l_.c' source_filename = "/tmp/tmpv3ccy4l_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"ld\09(saved_hl),hl\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @savehl() #0 { %1 = call i32 @ol(ptr noundef @.str) ret void } declare i32 @ol(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv3ccy4l_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"ld\09(saved_hl),hl\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @savehl() #0 { %1 = call i32 @ol(ptr noundef @.str) ret void } declare i32 @ol(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqceas185.c' source_filename = "/tmp/tmpqceas185.c" target datalayout = "e-m:e-p270: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/tmpqceas185.c" target datalayout = "e-m:e-p270: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/tmpz3lh4txe.c' source_filename = "/tmp/tmpz3lh4txe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checkadler32(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = sub i32 %6, 4 store i32 %7, ptr %4, align 4 %8 = load ptr, ptr %3, align 8 %9 = load i32, ptr %4, align 4 %10 = call i32 @adler32(ptr noundef %8, i32 noundef %9) store i32 %10, ptr %5, align 4 %11 = load i32, ptr %4, align 4 %12 = load ptr, ptr %3, align 8 %13 = zext i32 %11 to i64 %14 = getelementptr inbounds i8, ptr %12, i64 %13 store ptr %14, ptr %3, align 8 %15 = load i32, ptr %5, align 4 %16 = load ptr, ptr %3, align 8 %17 = getelementptr inbounds i8, ptr %16, i64 3 %18 = load i8, ptr %17, align 1 %19 = zext i8 %18 to i32 %20 = shl i32 %19, 24 %21 = load ptr, ptr %3, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 2 %23 = load i8, ptr %22, align 1 %24 = zext i8 %23 to i32 %25 = shl i32 %24, 16 %26 = or i32 %20, %25 %27 = load ptr, ptr %3, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 1 %29 = load i8, ptr %28, align 1 %30 = zext i8 %29 to i32 %31 = shl i32 %30, 8 %32 = or i32 %26, %31 %33 = load ptr, ptr %3, align 8 %34 = getelementptr inbounds i8, ptr %33, i64 0 %35 = load i8, ptr %34, align 1 %36 = zext i8 %35 to i32 %37 = or i32 %32, %36 %38 = icmp eq i32 %15, %37 %39 = zext i1 %38 to i32 ret i32 %39 } declare i32 @adler32(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/tmpz3lh4txe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checkadler32(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = sub i32 %6, 4 store i32 %7, ptr %4, align 4 %8 = load ptr, ptr %3, align 8 %9 = load i32, ptr %4, align 4 %10 = call i32 @adler32(ptr noundef %8, i32 noundef %9) store i32 %10, ptr %5, align 4 %11 = load i32, ptr %4, align 4 %12 = load ptr, ptr %3, align 8 %13 = zext i32 %11 to i64 %14 = getelementptr inbounds i8, ptr %12, i64 %13 store ptr %14, ptr %3, align 8 %15 = load i32, ptr %5, align 4 %16 = load ptr, ptr %3, align 8 %17 = getelementptr inbounds i8, ptr %16, i64 3 %18 = load i8, ptr %17, align 1 %19 = zext i8 %18 to i32 %20 = shl i32 %19, 24 %21 = load ptr, ptr %3, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 2 %23 = load i8, ptr %22, align 1 %24 = zext i8 %23 to i32 %25 = shl i32 %24, 16 %26 = or i32 %20, %25 %27 = load ptr, ptr %3, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 1 %29 = load i8, ptr %28, align 1 %30 = zext i8 %29 to i32 %31 = shl i32 %30, 8 %32 = or i32 %26, %31 %33 = load ptr, ptr %3, align 8 %34 = getelementptr inbounds i8, ptr %33, i64 0 %35 = load i8, ptr %34, align 1 %36 = zext i8 %35 to i32 %37 = or i32 %32, %36 %38 = icmp eq i32 %15, %37 %39 = zext i1 %38 to i32 ret i32 %39 } declare i32 @adler32(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/tmpi3u8ceux.c' source_filename = "/tmp/tmpi3u8ceux.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [53 x i8] c"NOT IMPLEMENTED:pa_context_move_sink_input_by_index\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pa_context_move_sink_input_by_index() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = load i32, ptr %1, align 4 ret i32 %3 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi3u8ceux.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [53 x i8] c"NOT IMPLEMENTED:pa_context_move_sink_input_by_index\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pa_context_move_sink_input_by_index() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = load i32, ptr %1, align 4 ret i32 %3 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpaufeceqp.c' source_filename = "/tmp/tmpaufeceqp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @DoWork() ret i32 0 } declare i32 @DoWork(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpaufeceqp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @DoWork() ret i32 0 } declare i32 @DoWork(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyod4bv7y.c' source_filename = "/tmp/tmpyod4bv7y.c" target datalayout = "e-m:e-p270: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/tmpyod4bv7y.c" target datalayout = "e-m:e-p270: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/tmpho1lcr43.c' source_filename = "/tmp/tmpho1lcr43.c" target datalayout = "e-m:e-p270: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/tmpho1lcr43.c" target datalayout = "e-m:e-p270: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/tmp5tyku9at.c' source_filename = "/tmp/tmp5tyku9at.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.test_split_n_sort_three_elements.a = private unnamed_addr constant [3 x i32] [i32 3, i32 2, i32 1], align 4 @.str = private unnamed_addr constant [15 x i8] c"sorted[0] != 1\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"sorted[1] != 2\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"sorted[2] != 3\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @test_split_n_sort_three_elements() #0 { %1 = alloca [3 x i32], align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1, ptr align 4 @__const.test_split_n_sort_three_elements.a, i64 12, i1 false) %2 = getelementptr inbounds [3 x i32], ptr %1, i64 0, i64 0 %3 = call i32 @split_n_sort(ptr noundef %2, i32 noundef 3) %4 = getelementptr inbounds [3 x i32], ptr %1, i64 0, i64 0 %5 = load i32, ptr %4, align 4 %6 = icmp eq i32 %5, 1 %7 = zext i1 %6 to i32 %8 = call i32 @mu_assert(ptr noundef @.str, i32 noundef %7) %9 = getelementptr inbounds [3 x i32], ptr %1, i64 0, i64 1 %10 = load i32, ptr %9, align 4 %11 = icmp eq i32 %10, 2 %12 = zext i1 %11 to i32 %13 = call i32 @mu_assert(ptr noundef @.str.1, i32 noundef %12) %14 = getelementptr inbounds [3 x i32], ptr %1, i64 0, i64 2 %15 = load i32, ptr %14, align 4 %16 = icmp eq i32 %15, 3 %17 = zext i1 %16 to i32 %18 = call i32 @mu_assert(ptr noundef @.str.2, i32 noundef %17) ret ptr null } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @split_n_sort(ptr noundef, i32 noundef) #2 declare i32 @mu_assert(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5tyku9at.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.test_split_n_sort_three_elements.a = private unnamed_addr constant [3 x i32] [i32 3, i32 2, i32 1], align 4 @.str = private unnamed_addr constant [15 x i8] c"sorted[0] != 1\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"sorted[1] != 2\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"sorted[2] != 3\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @test_split_n_sort_three_elements() #0 { %1 = alloca [3 x i32], align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1, ptr align 4 @__const.test_split_n_sort_three_elements.a, i64 12, i1 false) %2 = getelementptr inbounds [3 x i32], ptr %1, i64 0, i64 0 %3 = call i32 @split_n_sort(ptr noundef %2, i32 noundef 3) %4 = getelementptr inbounds [3 x i32], ptr %1, i64 0, i64 0 %5 = load i32, ptr %4, align 4 %6 = icmp eq i32 %5, 1 %7 = zext i1 %6 to i32 %8 = call i32 @mu_assert(ptr noundef @.str, i32 noundef %7) %9 = getelementptr inbounds [3 x i32], ptr %1, i64 0, i64 1 %10 = load i32, ptr %9, align 4 %11 = icmp eq i32 %10, 2 %12 = zext i1 %11 to i32 %13 = call i32 @mu_assert(ptr noundef @.str.1, i32 noundef %12) %14 = getelementptr inbounds [3 x i32], ptr %1, i64 0, i64 2 %15 = load i32, ptr %14, align 4 %16 = icmp eq i32 %15, 3 %17 = zext i1 %16 to i32 %18 = call i32 @mu_assert(ptr noundef @.str.2, i32 noundef %17) ret ptr null } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @split_n_sort(ptr noundef, i32 noundef) #2 declare i32 @mu_assert(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp16cm79so.c' source_filename = "/tmp/tmp16cm79so.c" target datalayout = "e-m:e-p270: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/tmp16cm79so.c" target datalayout = "e-m:e-p270: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/tmpj5hhxdak.c' source_filename = "/tmp/tmpj5hhxdak.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [29 x i8] c"ispunct should be 0 for 0x0d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_ispunct_0x0d() #0 { %1 = call i64 @ispunct(i32 noundef 13) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 70, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @ispunct(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/tmpj5hhxdak.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [29 x i8] c"ispunct should be 0 for 0x0d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_ispunct_0x0d() #0 { %1 = call i64 @ispunct(i32 noundef 13) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 70, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @ispunct(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/tmprw5tt10r.c' source_filename = "/tmp/tmprw5tt10r.c" target datalayout = "e-m:e-p270: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 @R_OK = 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/tmprw5tt10r.c" target datalayout = "e-m:e-p270: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 @R_OK = 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/tmp_m95nrmg.c' source_filename = "/tmp/tmp_m95nrmg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chapter_1() #0 { %1 = call i32 (...) @doublet() %2 = call i32 (...) @doublet() %3 = call i32 (...) @doublet() %4 = call i32 (...) @doublet() %5 = call i32 (...) @doublet() %6 = call i32 (...) @doublet() %7 = call i32 (...) @doublet() %8 = call i32 (...) @doublet() %9 = call i32 (...) @doublet() %10 = call i32 (...) @singlet() %11 = call i32 (...) @triplet() %12 = call i32 (...) @doublet() %13 = call i32 (...) @singlet() %14 = call i32 (...) @doublet() %15 = call i32 (...) @triplet() %16 = call i32 (...) @singlet() %17 = call i32 (...) @doublet() %18 = call i32 (...) @doublet() %19 = call i32 (...) @doublet() %20 = call i32 (...) @triplet() %21 = call i32 (...) @doublet() %22 = call i32 (...) @singlet() %23 = call i32 (...) @triplet() %24 = call i32 (...) @singlet() %25 = call i32 (...) @triplet() %26 = call i32 (...) @doublet() %27 = call i32 (...) @doublet() %28 = call i32 (...) @doublet() %29 = call i32 (...) @doublet() %30 = call i32 (...) @doublet() %31 = call i32 (...) @doublet() %32 = call i32 (...) @singlet() %33 = call i32 (...) @doublet() ret void } declare i32 @doublet(...) #1 declare i32 @singlet(...) #1 declare i32 @triplet(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !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_m95nrmg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chapter_1() #0 { %1 = call i32 (...) @doublet() %2 = call i32 (...) @doublet() %3 = call i32 (...) @doublet() %4 = call i32 (...) @doublet() %5 = call i32 (...) @doublet() %6 = call i32 (...) @doublet() %7 = call i32 (...) @doublet() %8 = call i32 (...) @doublet() %9 = call i32 (...) @doublet() %10 = call i32 (...) @singlet() %11 = call i32 (...) @triplet() %12 = call i32 (...) @doublet() %13 = call i32 (...) @singlet() %14 = call i32 (...) @doublet() %15 = call i32 (...) @triplet() %16 = call i32 (...) @singlet() %17 = call i32 (...) @doublet() %18 = call i32 (...) @doublet() %19 = call i32 (...) @doublet() %20 = call i32 (...) @triplet() %21 = call i32 (...) @doublet() %22 = call i32 (...) @singlet() %23 = call i32 (...) @triplet() %24 = call i32 (...) @singlet() %25 = call i32 (...) @triplet() %26 = call i32 (...) @doublet() %27 = call i32 (...) @doublet() %28 = call i32 (...) @doublet() %29 = call i32 (...) @doublet() %30 = call i32 (...) @doublet() %31 = call i32 (...) @doublet() %32 = call i32 (...) @singlet() %33 = call i32 (...) @doublet() ret void } declare i32 @doublet(...) #1 declare i32 @singlet(...) #1 declare i32 @triplet(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3qtdbl8g.c' source_filename = "/tmp/tmp3qtdbl8g.c" target datalayout = "e-m:e-p270: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/tmp3qtdbl8g.c" target datalayout = "e-m:e-p270: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/tmp0rew48t3.c' source_filename = "/tmp/tmp0rew48t3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 = %s * %s;\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @__func_mul_sint(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load ptr, ptr %6, align 8 %10 = load ptr, ptr %7, align 8 %11 = load ptr, ptr %8, align 8 %12 = call i32 @pA(ptr noundef @.str, ptr noundef %9, ptr noundef %10, ptr noundef %11) ret void } declare i32 @pA(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0rew48t3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 = %s * %s;\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @__func_mul_sint(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load ptr, ptr %6, align 8 %10 = load ptr, ptr %7, align 8 %11 = load ptr, ptr %8, align 8 %12 = call i32 @pA(ptr noundef @.str, ptr noundef %9, ptr noundef %10, ptr noundef %11) ret void } declare i32 @pA(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphstrydpe.c' source_filename = "/tmp/tmphstrydpe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f_scalar_1(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 ret i32 %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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphstrydpe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f_scalar_1(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 ret i32 %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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpry4kjlus.c' source_filename = "/tmp/tmpry4kjlus.c" target datalayout = "e-m:e-p270: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/tmpry4kjlus.c" target datalayout = "e-m:e-p270: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/tmpbqb903_x.c' source_filename = "/tmp/tmpbqb903_x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 1, ptr %2, align 4 br label %7 7: ; preds = %46, %0 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %8, 10 br i1 %9, label %10, label %49 10: ; preds = %7 store i32 2, ptr %4, align 4 br label %11 11: ; preds = %16, %10 %12 = load i32, ptr %2, align 4 %13 = load i32, ptr %4, align 4 %14 = srem i32 %12, %13 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %11 %17 = load i32, ptr %4, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %4, align 4 br label %11, !llvm.loop !6 19: ; preds = %11 %20 = load i32, ptr %4, align 4 %21 = load i32, ptr %2, align 4 %22 = icmp eq i32 %20, %21 br i1 %22, label %23, label %45 23: ; preds = %19 %24 = load i32, ptr %2, align 4 %25 = add nsw i32 %24, 2 store i32 %25, ptr %6, align 4 store i32 2, ptr %5, align 4 br label %26 26: ; preds = %31, %23 %27 = load i32, ptr %6, align 4 %28 = load i32, ptr %5, align 4 %29 = srem i32 %27, %28 %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %34 31: ; preds = %26 %32 = load i32, ptr %5, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %5, align 4 br label %26, !llvm.loop !8 34: ; preds = %26 %35 = load i32, ptr %6, align 4 %36 = load i32, ptr %5, align 4 %37 = icmp eq i32 %35, %36 br i1 %37, label %38, label %44 38: ; preds = %34 %39 = load i32, ptr %2, align 4 %40 = load i32, ptr %6, align 4 %41 = call i32 @printf(ptr noundef @.str, i32 noundef %39, i32 noundef %40) %42 = load i32, ptr %3, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %3, align 4 br label %44 44: ; preds = %38, %34 br label %45 45: ; preds = %44, %19 br label %46 46: ; preds = %45 %47 = load i32, ptr %2, align 4 %48 = add nsw i32 %47, 2 store i32 %48, ptr %2, align 4 br label %7, !llvm.loop !9 49: ; preds = %7 ret i32 0 } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbqb903_x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 1, ptr %2, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %7, 10 br i1 %8, label %.lr.ph5, label %56 .lr.ph5: ; preds = %0 br label %9 9: ; preds = %.lr.ph5, %51 store i32 2, ptr %4, align 4 %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %4, align 4 %12 = srem i32 %10, %11 %13 = icmp ne i32 %12, 0 br i1 %13, label %.lr.ph, label %21 .lr.ph: ; preds = %9 br label %14 14: ; preds = %.lr.ph, %14 %15 = load i32, ptr %4, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %4, align 4 %17 = load i32, ptr %2, align 4 %18 = load i32, ptr %4, align 4 %19 = srem i32 %17, %18 %20 = icmp ne i32 %19, 0 br i1 %20, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %21 21: ; preds = %._crit_edge, %9 %22 = load i32, ptr %4, align 4 %23 = load i32, ptr %2, align 4 %24 = icmp eq i32 %22, %23 br i1 %24, label %25, label %50 25: ; preds = %21 %26 = load i32, ptr %2, align 4 %27 = add nsw i32 %26, 2 store i32 %27, ptr %6, align 4 store i32 2, ptr %5, align 4 %28 = load i32, ptr %6, align 4 %29 = load i32, ptr %5, align 4 %30 = srem i32 %28, %29 %31 = icmp ne i32 %30, 0 br i1 %31, label %.lr.ph2, label %39 .lr.ph2: ; preds = %25 br label %32 32: ; preds = %.lr.ph2, %32 %33 = load i32, ptr %5, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %5, align 4 %35 = load i32, ptr %6, align 4 %36 = load i32, ptr %5, align 4 %37 = srem i32 %35, %36 %38 = icmp ne i32 %37, 0 br i1 %38, label %32, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %32 br label %39 39: ; preds = %._crit_edge3, %25 %40 = load i32, ptr %6, align 4 %41 = load i32, ptr %5, align 4 %42 = icmp eq i32 %40, %41 br i1 %42, label %43, label %49 43: ; preds = %39 %44 = load i32, ptr %2, align 4 %45 = load i32, ptr %6, align 4 %46 = call i32 @printf(ptr noundef @.str, i32 noundef %44, i32 noundef %45) %47 = load i32, ptr %3, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %3, align 4 br label %49 49: ; preds = %43, %39 br label %50 50: ; preds = %49, %21 br label %51 51: ; preds = %50 %52 = load i32, ptr %2, align 4 %53 = add nsw i32 %52, 2 store i32 %53, ptr %2, align 4 %54 = load i32, ptr %3, align 4 %55 = icmp slt i32 %54, 10 br i1 %55, label %9, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %51 br label %56 56: ; preds = %._crit_edge6, %0 ret i32 0 } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpjxk5yyd5.c' source_filename = "/tmp/tmpjxk5yyd5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define hidden double @__math_check_oflow(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 i64 @isinf(double noundef %3) %5 = icmp ne i64 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = load double, ptr %2, align 8 br label %10 8: ; preds = %1 %9 = load double, ptr %2, align 8 br label %10 10: ; preds = %8, %6 %11 = phi double [ %7, %6 ], [ %9, %8 ] ret double %11 } declare i64 @isinf(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/tmpjxk5yyd5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define hidden double @__math_check_oflow(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 i64 @isinf(double noundef %3) %5 = icmp ne i64 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = load double, ptr %2, align 8 br label %10 8: ; preds = %1 %9 = load double, ptr %2, align 8 br label %10 10: ; preds = %8, %6 %11 = phi double [ %7, %6 ], [ %9, %8 ] ret double %11 } declare i64 @isinf(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/tmp91awgftb.c' source_filename = "/tmp/tmp91awgftb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"labd\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Detach() #0 { %1 = call i64 @daemon(i32 noundef 0, i32 noundef 0) %2 = icmp ne i64 %1, 0 br i1 %2, label %3, label %6 3: ; preds = %0 %4 = call i32 @perror(ptr noundef @.str) %5 = call i32 @exit(i32 noundef 1) #3 unreachable 6: ; preds = %0 ret void } declare i64 @daemon(i32 noundef, i32 noundef) #1 declare i32 @perror(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/tmp91awgftb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"labd\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Detach() #0 { %1 = call i64 @daemon(i32 noundef 0, i32 noundef 0) %2 = icmp ne i64 %1, 0 br i1 %2, label %3, label %6 3: ; preds = %0 %4 = call i32 @perror(ptr noundef @.str) %5 = call i32 @exit(i32 noundef 1) #3 unreachable 6: ; preds = %0 ret void } declare i64 @daemon(i32 noundef, i32 noundef) #1 declare i32 @perror(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/tmpfubzbqul.c' source_filename = "/tmp/tmpfubzbqul.c" target datalayout = "e-m:e-p270: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 [24 x i8] c"Should never reach here\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @grpcsharp_test_override_method() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = call i32 (...) @abort() #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfubzbqul.c" target datalayout = "e-m:e-p270: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 [24 x i8] c"Should never reach here\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @grpcsharp_test_override_method() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = call i32 (...) @abort() #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2tmeebyc.c' source_filename = "/tmp/tmp2tmeebyc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/var/www/v4l2grab -o /var/www/test.jpg\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @system(ptr noundef %3) ret i32 0 } declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2tmeebyc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/var/www/v4l2grab -o /var/www/test.jpg\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @system(ptr noundef %3) ret i32 0 } declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxwe1d4n7.c' source_filename = "/tmp/tmpxwe1d4n7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ss2qas_() #0 { %1 = call i32 (...) @ss2qas() ret i32 %1 } declare i32 @ss2qas(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxwe1d4n7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ss2qas_() #0 { %1 = call i32 (...) @ss2qas() ret i32 %1 } declare i32 @ss2qas(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpukhkydxy.c' source_filename = "/tmp/tmpukhkydxy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ceph_os_removexattr(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 -1, ptr %5, align 4 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @removexattr(ptr noundef %6, ptr noundef %7) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 ret i32 %9 } declare i32 @removexattr(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/tmpukhkydxy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ceph_os_removexattr(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 -1, ptr %5, align 4 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @removexattr(ptr noundef %6, ptr noundef %7) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 ret i32 %9 } declare i32 @removexattr(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/tmpjyq4lezg.c' source_filename = "/tmp/tmpjyq4lezg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"-s\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [49 x i8] c"%s: option requires a numerical argument -- 's'\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"-a\00", align 1 @.str.3 = private unnamed_addr constant [49 x i8] c"%s: option requires a numerical argument -- 'a'\0A\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"-c\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"-S\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"-o\00", align 1 @.str.7 = private unnamed_addr constant [40 x i8] c"%s: option requires an argument -- 'o'\0A\00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c"-v\00", align 1 @.str.9 = private unnamed_addr constant [3 x i8] c"-h\00", align 1 @.str.10 = private unnamed_addr constant [7 x i8] c"--help\00", align 1 @.str.11 = private unnamed_addr constant [6 x i8] c"-pipe\00", align 1 @.str.12 = private unnamed_addr constant [3 x i8] c"-i\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @my_getopt(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 store i32 %0, ptr %9, align 4 store ptr %1, ptr %10, align 8 store ptr %2, ptr %11, align 8 store ptr %3, ptr %12, align 8 store ptr %4, ptr %13, align 8 store ptr %5, ptr %14, align 8 store ptr %6, ptr %15, align 8 store i32 1, ptr %16, align 4 br label %17 17: ; preds = %222, %7 %18 = load i32, ptr %16, align 4 %19 = load i32, ptr %9, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %21, label %225 21: ; preds = %17 %22 = load ptr, ptr %10, align 8 %23 = load i32, ptr %16, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds ptr, ptr %22, i64 %24 %26 = load ptr, ptr %25, align 8 %27 = call i32 @strcmp(ptr noundef %26, ptr noundef @.str) %28 = icmp ne i32 %27, 0 br i1 %28, label %58, label %29 29: ; preds = %21 %30 = load i32, ptr %16, align 4 %31 = add nsw i32 %30, 1 %32 = load i32, ptr %9, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %34, label %52 34: ; preds = %29 %35 = load ptr, ptr %10, align 8 %36 = load i32, ptr %16, align 4 %37 = add nsw i32 %36, 1 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds ptr, ptr %35, i64 %38 %40 = load ptr, ptr %39, align 8 %41 = call i64 @is_uint(ptr noundef %40) %42 = icmp ne i64 %41, 0 br i1 %42, label %43, label %52 43: ; preds = %34 %44 = load ptr, ptr %10, align 8 %45 = load i32, ptr %16, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %16, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds ptr, ptr %44, i64 %47 %49 = load ptr, ptr %48, align 8 %50 = call i32 @atoi(ptr noundef %49) %51 = load ptr, ptr %11, align 8 store i32 %50, ptr %51, align 4 br label %57 52: ; preds = %34, %29 %53 = load i32, ptr @stderr, align 4 %54 = load ptr, ptr %10, align 8 %55 = load ptr, ptr %54, align 8 %56 = call i32 @fprintf(i32 noundef %53, ptr noundef @.str.1, ptr noundef %55) store i32 -1, ptr %8, align 4 br label %228 57: ; preds = %43 br label %221 58: ; preds = %21 %59 = load ptr, ptr %10, align 8 %60 = load i32, ptr %16, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds ptr, ptr %59, i64 %61 %63 = load ptr, ptr %62, align 8 %64 = call i32 @strcmp(ptr noundef %63, ptr noundef @.str.2) %65 = icmp ne i32 %64, 0 br i1 %65, label %95, label %66 66: ; preds = %58 %67 = load i32, ptr %16, align 4 %68 = add nsw i32 %67, 1 %69 = load i32, ptr %9, align 4 %70 = icmp slt i32 %68, %69 br i1 %70, label %71, label %89 71: ; preds = %66 %72 = load ptr, ptr %10, align 8 %73 = load i32, ptr %16, align 4 %74 = add nsw i32 %73, 1 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds ptr, ptr %72, i64 %75 %77 = load ptr, ptr %76, align 8 %78 = call i64 @is_uint(ptr noundef %77) %79 = icmp ne i64 %78, 0 br i1 %79, label %80, label %89 80: ; preds = %71 %81 = load ptr, ptr %10, align 8 %82 = load i32, ptr %16, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %16, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds ptr, ptr %81, i64 %84 %86 = load ptr, ptr %85, align 8 %87 = call i32 @atoi(ptr noundef %86) %88 = load ptr, ptr %12, align 8 store i32 %87, ptr %88, align 4 br label %94 89: ; preds = %71, %66 %90 = load i32, ptr @stderr, align 4 %91 = load ptr, ptr %10, align 8 %92 = load ptr, ptr %91, align 8 %93 = call i32 @fprintf(i32 noundef %90, ptr noundef @.str.3, ptr noundef %92) store i32 -1, ptr %8, align 4 br label %228 94: ; preds = %80 br label %220 95: ; preds = %58 %96 = load ptr, ptr %10, align 8 %97 = load i32, ptr %16, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds ptr, ptr %96, i64 %98 %100 = load ptr, ptr %99, align 8 %101 = call i32 @strcmp(ptr noundef %100, ptr noundef @.str.4) %102 = icmp ne i32 %101, 0 br i1 %102, label %107, label %103 103: ; preds = %95 %104 = load ptr, ptr %15, align 8 %105 = load i32, ptr %104, align 4 %106 = and i32 %105, -5 store i32 %106, ptr %104, align 4 br label %219 107: ; preds = %95 %108 = load ptr, ptr %10, align 8 %109 = load i32, ptr %16, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds ptr, ptr %108, i64 %110 %112 = load ptr, ptr %111, align 8 %113 = call i32 @strcmp(ptr noundef %112, ptr noundef @.str.5) %114 = icmp ne i32 %113, 0 br i1 %114, label %119, label %115 115: ; preds = %107 %116 = load ptr, ptr %15, align 8 %117 = load i32, ptr %116, align 4 %118 = and i32 %117, -7 store i32 %118, ptr %116, align 4 br label %218 119: ; preds = %107 %120 = load ptr, ptr %10, align 8 %121 = load i32, ptr %16, align 4 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds ptr, ptr %120, i64 %122 %124 = load ptr, ptr %123, align 8 %125 = call i32 @strcmp(ptr noundef %124, ptr noundef @.str.6) %126 = icmp ne i32 %125, 0 br i1 %126, label %149, label %127 127: ; preds = %119 %128 = load i32, ptr %16, align 4 %129 = add nsw i32 %128, 1 %130 = load i32, ptr %9, align 4 %131 = icmp slt i32 %129, %130 br i1 %131, label %132, label %143 132: ; preds = %127 %133 = load ptr, ptr %10, align 8 %134 = load i32, ptr %16, align 4 %135 = add nsw i32 %134, 1 store i32 %135, ptr %16, align 4 %136 = sext i32 %135 to i64 %137 = getelementptr inbounds ptr, ptr %133, i64 %136 %138 = load ptr, ptr %137, align 8 %139 = load ptr, ptr %13, align 8 store ptr %138, ptr %139, align 8 %140 = load ptr, ptr %15, align 8 %141 = load i32, ptr %140, align 4 %142 = and i32 %141, -9 store i32 %142, ptr %140, align 4 br label %148 143: ; preds = %127 %144 = load i32, ptr @stderr, align 4 %145 = load ptr, ptr %10, align 8 %146 = load ptr, ptr %145, align 8 %147 = call i32 @fprintf(i32 noundef %144, ptr noundef @.str.7, ptr noundef %146) store i32 -1, ptr %8, align 4 br label %228 148: ; preds = %132 br label %217 149: ; preds = %119 %150 = load ptr, ptr %10, align 8 %151 = load i32, ptr %16, align 4 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds ptr, ptr %150, i64 %152 %154 = load ptr, ptr %153, align 8 %155 = call i32 @strcmp(ptr noundef %154, ptr noundef @.str.8) %156 = icmp ne i32 %155, 0 br i1 %156, label %161, label %157 157: ; preds = %149 %158 = load ptr, ptr %15, align 8 %159 = load i32, ptr %158, align 4 %160 = or i32 %159, 32 store i32 %160, ptr %158, align 4 br label %216 161: ; preds = %149 %162 = load ptr, ptr %10, align 8 %163 = load i32, ptr %16, align 4 %164 = sext i32 %163 to i64 %165 = getelementptr inbounds ptr, ptr %162, i64 %164 %166 = load ptr, ptr %165, align 8 %167 = call i32 @strcmp(ptr noundef %166, ptr noundef @.str.9) %168 = icmp ne i32 %167, 0 br i1 %168, label %169, label %177 169: ; preds = %161 %170 = load ptr, ptr %10, align 8 %171 = load i32, ptr %16, align 4 %172 = sext i32 %171 to i64 %173 = getelementptr inbounds ptr, ptr %170, i64 %172 %174 = load ptr, ptr %173, align 8 %175 = call i32 @strcmp(ptr noundef %174, ptr noundef @.str.10) %176 = icmp ne i32 %175, 0 br i1 %176, label %179, label %177 177: ; preds = %169, %161 %178 = call i32 (...) @print_help() store i32 -1, ptr %8, align 4 br label %228 179: ; preds = %169 %180 = load ptr, ptr %10, align 8 %181 = load i32, ptr %16, align 4 %182 = sext i32 %181 to i64 %183 = getelementptr inbounds ptr, ptr %180, i64 %182 %184 = load ptr, ptr %183, align 8 %185 = call i32 @strcmp(ptr noundef %184, ptr noundef @.str.11) %186 = icmp ne i32 %185, 0 br i1 %186, label %191, label %187 187: ; preds = %179 %188 = load ptr, ptr %15, align 8 %189 = load i32, ptr %188, align 4 %190 = or i32 %189, 8 store i32 %190, ptr %188, align 4 br label %214 191: ; preds = %179 %192 = load ptr, ptr %10, align 8 %193 = load i32, ptr %16, align 4 %194 = sext i32 %193 to i64 %195 = getelementptr inbounds ptr, ptr %192, i64 %194 %196 = load ptr, ptr %195, align 8 %197 = call i32 @strcmp(ptr noundef %196, ptr noundef @.str.12) %198 = icmp ne i32 %197, 0 br i1 %198, label %203, label %199 199: ; preds = %191 %200 = load ptr, ptr %15, align 8 %201 = load i32, ptr %200, align 4 %202 = or i32 %201, 16 store i32 %202, ptr %200, align 4 br label %213 203: ; preds = %191 %204 = load ptr, ptr %10, align 8 %205 = load i32, ptr %16, align 4 %206 = sext i32 %205 to i64 %207 = getelementptr inbounds ptr, ptr %204, i64 %206 %208 = load ptr, ptr %207, align 8 %209 = load ptr, ptr %14, align 8 store ptr %208, ptr %209, align 8 %210 = load ptr, ptr %15, align 8 %211 = load i32, ptr %210, align 4 %212 = and i32 %211, -17 store i32 %212, ptr %210, align 4 br label %213 213: ; preds = %203, %199 br label %214 214: ; preds = %213, %187 br label %215 215: ; preds = %214 br label %216 216: ; preds = %215, %157 br label %217 217: ; preds = %216, %148 br label %218 218: ; preds = %217, %115 br label %219 219: ; preds = %218, %103 br label %220 220: ; preds = %219, %94 br label %221 221: ; preds = %220, %57 br label %222 222: ; preds = %221 %223 = load i32, ptr %16, align 4 %224 = add nsw i32 %223, 1 store i32 %224, ptr %16, align 4 br label %17, !llvm.loop !6 225: ; preds = %17 %226 = load ptr, ptr %15, align 8 %227 = load i32, ptr %226, align 4 store i32 %227, ptr %8, align 4 br label %228 228: ; preds = %225, %177, %143, %89, %52 %229 = load i32, ptr %8, align 4 ret i32 %229 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i64 @is_uint(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @print_help(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpjyq4lezg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"-s\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [49 x i8] c"%s: option requires a numerical argument -- 's'\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"-a\00", align 1 @.str.3 = private unnamed_addr constant [49 x i8] c"%s: option requires a numerical argument -- 'a'\0A\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"-c\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"-S\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"-o\00", align 1 @.str.7 = private unnamed_addr constant [40 x i8] c"%s: option requires an argument -- 'o'\0A\00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c"-v\00", align 1 @.str.9 = private unnamed_addr constant [3 x i8] c"-h\00", align 1 @.str.10 = private unnamed_addr constant [7 x i8] c"--help\00", align 1 @.str.11 = private unnamed_addr constant [6 x i8] c"-pipe\00", align 1 @.str.12 = private unnamed_addr constant [3 x i8] c"-i\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @my_getopt(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 store i32 %0, ptr %9, align 4 store ptr %1, ptr %10, align 8 store ptr %2, ptr %11, align 8 store ptr %3, ptr %12, align 8 store ptr %4, ptr %13, align 8 store ptr %5, ptr %14, align 8 store ptr %6, ptr %15, align 8 store i32 1, ptr %16, align 4 %17 = load i32, ptr %16, align 4 %18 = load i32, ptr %9, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %.lr.ph, label %227 .lr.ph: ; preds = %7 br label %20 20: ; preds = %.lr.ph, %221 %21 = load ptr, ptr %10, align 8 %22 = load i32, ptr %16, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds ptr, ptr %21, i64 %23 %25 = load ptr, ptr %24, align 8 %26 = call i32 @strcmp(ptr noundef %25, ptr noundef @.str) %27 = icmp ne i32 %26, 0 br i1 %27, label %57, label %28 28: ; preds = %20 %29 = load i32, ptr %16, align 4 %30 = add nsw i32 %29, 1 %31 = load i32, ptr %9, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %33, label %51 33: ; preds = %28 %34 = load ptr, ptr %10, align 8 %35 = load i32, ptr %16, align 4 %36 = add nsw i32 %35, 1 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds ptr, ptr %34, i64 %37 %39 = load ptr, ptr %38, align 8 %40 = call i64 @is_uint(ptr noundef %39) %41 = icmp ne i64 %40, 0 br i1 %41, label %42, label %51 42: ; preds = %33 %43 = load ptr, ptr %10, align 8 %44 = load i32, ptr %16, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %16, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds ptr, ptr %43, i64 %46 %48 = load ptr, ptr %47, align 8 %49 = call i32 @atoi(ptr noundef %48) %50 = load ptr, ptr %11, align 8 store i32 %49, ptr %50, align 4 br label %56 51: ; preds = %33, %28 %52 = load i32, ptr @stderr, align 4 %53 = load ptr, ptr %10, align 8 %54 = load ptr, ptr %53, align 8 %55 = call i32 @fprintf(i32 noundef %52, ptr noundef @.str.1, ptr noundef %54) store i32 -1, ptr %8, align 4 br label %230 56: ; preds = %42 br label %220 57: ; preds = %20 %58 = load ptr, ptr %10, align 8 %59 = load i32, ptr %16, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds ptr, ptr %58, i64 %60 %62 = load ptr, ptr %61, align 8 %63 = call i32 @strcmp(ptr noundef %62, ptr noundef @.str.2) %64 = icmp ne i32 %63, 0 br i1 %64, label %94, label %65 65: ; preds = %57 %66 = load i32, ptr %16, align 4 %67 = add nsw i32 %66, 1 %68 = load i32, ptr %9, align 4 %69 = icmp slt i32 %67, %68 br i1 %69, label %70, label %88 70: ; preds = %65 %71 = load ptr, ptr %10, align 8 %72 = load i32, ptr %16, align 4 %73 = add nsw i32 %72, 1 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds ptr, ptr %71, i64 %74 %76 = load ptr, ptr %75, align 8 %77 = call i64 @is_uint(ptr noundef %76) %78 = icmp ne i64 %77, 0 br i1 %78, label %79, label %88 79: ; preds = %70 %80 = load ptr, ptr %10, align 8 %81 = load i32, ptr %16, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %16, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds ptr, ptr %80, i64 %83 %85 = load ptr, ptr %84, align 8 %86 = call i32 @atoi(ptr noundef %85) %87 = load ptr, ptr %12, align 8 store i32 %86, ptr %87, align 4 br label %93 88: ; preds = %70, %65 %89 = load i32, ptr @stderr, align 4 %90 = load ptr, ptr %10, align 8 %91 = load ptr, ptr %90, align 8 %92 = call i32 @fprintf(i32 noundef %89, ptr noundef @.str.3, ptr noundef %91) store i32 -1, ptr %8, align 4 br label %230 93: ; preds = %79 br label %219 94: ; preds = %57 %95 = load ptr, ptr %10, align 8 %96 = load i32, ptr %16, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds ptr, ptr %95, i64 %97 %99 = load ptr, ptr %98, align 8 %100 = call i32 @strcmp(ptr noundef %99, ptr noundef @.str.4) %101 = icmp ne i32 %100, 0 br i1 %101, label %106, label %102 102: ; preds = %94 %103 = load ptr, ptr %15, align 8 %104 = load i32, ptr %103, align 4 %105 = and i32 %104, -5 store i32 %105, ptr %103, align 4 br label %218 106: ; preds = %94 %107 = load ptr, ptr %10, align 8 %108 = load i32, ptr %16, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds ptr, ptr %107, i64 %109 %111 = load ptr, ptr %110, align 8 %112 = call i32 @strcmp(ptr noundef %111, ptr noundef @.str.5) %113 = icmp ne i32 %112, 0 br i1 %113, label %118, label %114 114: ; preds = %106 %115 = load ptr, ptr %15, align 8 %116 = load i32, ptr %115, align 4 %117 = and i32 %116, -7 store i32 %117, ptr %115, align 4 br label %217 118: ; preds = %106 %119 = load ptr, ptr %10, align 8 %120 = load i32, ptr %16, align 4 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds ptr, ptr %119, i64 %121 %123 = load ptr, ptr %122, align 8 %124 = call i32 @strcmp(ptr noundef %123, ptr noundef @.str.6) %125 = icmp ne i32 %124, 0 br i1 %125, label %148, label %126 126: ; preds = %118 %127 = load i32, ptr %16, align 4 %128 = add nsw i32 %127, 1 %129 = load i32, ptr %9, align 4 %130 = icmp slt i32 %128, %129 br i1 %130, label %131, label %142 131: ; preds = %126 %132 = load ptr, ptr %10, align 8 %133 = load i32, ptr %16, align 4 %134 = add nsw i32 %133, 1 store i32 %134, ptr %16, align 4 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds ptr, ptr %132, i64 %135 %137 = load ptr, ptr %136, align 8 %138 = load ptr, ptr %13, align 8 store ptr %137, ptr %138, align 8 %139 = load ptr, ptr %15, align 8 %140 = load i32, ptr %139, align 4 %141 = and i32 %140, -9 store i32 %141, ptr %139, align 4 br label %147 142: ; preds = %126 %143 = load i32, ptr @stderr, align 4 %144 = load ptr, ptr %10, align 8 %145 = load ptr, ptr %144, align 8 %146 = call i32 @fprintf(i32 noundef %143, ptr noundef @.str.7, ptr noundef %145) store i32 -1, ptr %8, align 4 br label %230 147: ; preds = %131 br label %216 148: ; preds = %118 %149 = load ptr, ptr %10, align 8 %150 = load i32, ptr %16, align 4 %151 = sext i32 %150 to i64 %152 = getelementptr inbounds ptr, ptr %149, i64 %151 %153 = load ptr, ptr %152, align 8 %154 = call i32 @strcmp(ptr noundef %153, ptr noundef @.str.8) %155 = icmp ne i32 %154, 0 br i1 %155, label %160, label %156 156: ; preds = %148 %157 = load ptr, ptr %15, align 8 %158 = load i32, ptr %157, align 4 %159 = or i32 %158, 32 store i32 %159, ptr %157, align 4 br label %215 160: ; preds = %148 %161 = load ptr, ptr %10, align 8 %162 = load i32, ptr %16, align 4 %163 = sext i32 %162 to i64 %164 = getelementptr inbounds ptr, ptr %161, i64 %163 %165 = load ptr, ptr %164, align 8 %166 = call i32 @strcmp(ptr noundef %165, ptr noundef @.str.9) %167 = icmp ne i32 %166, 0 br i1 %167, label %168, label %176 168: ; preds = %160 %169 = load ptr, ptr %10, align 8 %170 = load i32, ptr %16, align 4 %171 = sext i32 %170 to i64 %172 = getelementptr inbounds ptr, ptr %169, i64 %171 %173 = load ptr, ptr %172, align 8 %174 = call i32 @strcmp(ptr noundef %173, ptr noundef @.str.10) %175 = icmp ne i32 %174, 0 br i1 %175, label %178, label %176 176: ; preds = %168, %160 %177 = call i32 (...) @print_help() store i32 -1, ptr %8, align 4 br label %230 178: ; preds = %168 %179 = load ptr, ptr %10, align 8 %180 = load i32, ptr %16, align 4 %181 = sext i32 %180 to i64 %182 = getelementptr inbounds ptr, ptr %179, i64 %181 %183 = load ptr, ptr %182, align 8 %184 = call i32 @strcmp(ptr noundef %183, ptr noundef @.str.11) %185 = icmp ne i32 %184, 0 br i1 %185, label %190, label %186 186: ; preds = %178 %187 = load ptr, ptr %15, align 8 %188 = load i32, ptr %187, align 4 %189 = or i32 %188, 8 store i32 %189, ptr %187, align 4 br label %213 190: ; preds = %178 %191 = load ptr, ptr %10, align 8 %192 = load i32, ptr %16, align 4 %193 = sext i32 %192 to i64 %194 = getelementptr inbounds ptr, ptr %191, i64 %193 %195 = load ptr, ptr %194, align 8 %196 = call i32 @strcmp(ptr noundef %195, ptr noundef @.str.12) %197 = icmp ne i32 %196, 0 br i1 %197, label %202, label %198 198: ; preds = %190 %199 = load ptr, ptr %15, align 8 %200 = load i32, ptr %199, align 4 %201 = or i32 %200, 16 store i32 %201, ptr %199, align 4 br label %212 202: ; preds = %190 %203 = load ptr, ptr %10, align 8 %204 = load i32, ptr %16, align 4 %205 = sext i32 %204 to i64 %206 = getelementptr inbounds ptr, ptr %203, i64 %205 %207 = load ptr, ptr %206, align 8 %208 = load ptr, ptr %14, align 8 store ptr %207, ptr %208, align 8 %209 = load ptr, ptr %15, align 8 %210 = load i32, ptr %209, align 4 %211 = and i32 %210, -17 store i32 %211, ptr %209, align 4 br label %212 212: ; preds = %202, %198 br label %213 213: ; preds = %212, %186 br label %214 214: ; preds = %213 br label %215 215: ; preds = %214, %156 br label %216 216: ; preds = %215, %147 br label %217 217: ; preds = %216, %114 br label %218 218: ; preds = %217, %102 br label %219 219: ; preds = %218, %93 br label %220 220: ; preds = %219, %56 br label %221 221: ; preds = %220 %222 = load i32, ptr %16, align 4 %223 = add nsw i32 %222, 1 store i32 %223, ptr %16, align 4 %224 = load i32, ptr %16, align 4 %225 = load i32, ptr %9, align 4 %226 = icmp slt i32 %224, %225 br i1 %226, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %221 br label %227 227: ; preds = %._crit_edge, %7 %228 = load ptr, ptr %15, align 8 %229 = load i32, ptr %228, align 4 store i32 %229, ptr %8, align 4 br label %230 230: ; preds = %227, %176, %142, %88, %51 %231 = load i32, ptr %8, align 4 ret i32 %231 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i64 @is_uint(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @print_help(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpfzp_wzil.c' source_filename = "/tmp/tmpfzp_wzil.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @alloc_1_byte() #0 { %1 = call i64 @malloc(i32 noundef 1) %2 = inttoptr i64 %1 to ptr ret ptr %2 } 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfzp_wzil.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @alloc_1_byte() #0 { %1 = call i64 @malloc(i32 noundef 1) %2 = inttoptr i64 %1 to ptr ret ptr %2 } 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"}
; ModuleID = '/tmp/tmp8vke48gf.c' source_filename = "/tmp/tmp8vke48gf.c" target datalayout = "e-m:e-p270: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/tmp8vke48gf.c" target datalayout = "e-m:e-p270: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/tmpfnam8xoe.c' source_filename = "/tmp/tmpfnam8xoe.c" target datalayout = "e-m:e-p270: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/tmpfnam8xoe.c" target datalayout = "e-m:e-p270: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/tmpp20t78cf.c' source_filename = "/tmp/tmpp20t78cf.c" target datalayout = "e-m:e-p270: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/tmpp20t78cf.c" target datalayout = "e-m:e-p270: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/tmpjz6l5own.c' source_filename = "/tmp/tmpjz6l5own.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Missing matrix file\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = call ptr @malloc(i32 noundef 328480000) store ptr %10, ptr %6, align 8 %11 = load ptr, ptr %6, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %14 13: ; preds = %2 store i32 1, ptr %3, align 4 br label %60 14: ; preds = %2 %15 = call ptr @malloc(i32 noundef 328480000) store ptr %15, ptr %7, align 8 %16 = load ptr, ptr %7, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %19 18: ; preds = %14 store i32 1, ptr %3, align 4 br label %60 19: ; preds = %14 %20 = call ptr @malloc(i32 noundef 82120) store ptr %20, ptr %8, align 8 %21 = call ptr @malloc(i32 noundef 82120) store ptr %21, ptr %9, align 8 %22 = load ptr, ptr %8, align 8 %23 = icmp eq ptr %22, null br i1 %23, label %27, label %24 24: ; preds = %19 %25 = load ptr, ptr %9, align 8 %26 = icmp eq ptr %25, null br i1 %26, label %27, label %28 27: ; preds = %24, %19 store i32 1, ptr %3, align 4 br label %60 28: ; preds = %24 %29 = load i32, ptr %4, align 4 %30 = icmp ne i32 %29, 2 br i1 %30, label %31, label %33 31: ; preds = %28 %32 = call i32 @printf(ptr noundef @.str) br label %50 33: ; preds = %28 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 1 %36 = load ptr, ptr %35, align 8 %37 = load ptr, ptr %6, align 8 %38 = call i32 @readmatrix(ptr noundef %36, ptr noundef %37) %39 = load ptr, ptr %6, align 8 %40 = load ptr, ptr %8, align 8 %41 = call i32 @calcmean(ptr noundef %39, ptr noundef %40) %42 = load ptr, ptr %6, align 8 %43 = load ptr, ptr %8, align 8 %44 = load ptr, ptr %7, align 8 %45 = load ptr, ptr %9, align 8 %46 = call i32 @calc_mm_std(ptr noundef %42, ptr noundef %43, ptr noundef %44, ptr noundef %45) %47 = load ptr, ptr %7, align 8 %48 = load ptr, ptr %9, align 8 %49 = call i32 @pearson(ptr noundef %47, ptr noundef %48) br label %50 50: ; preds = %33, %31 %51 = load ptr, ptr %8, align 8 %52 = call i32 @free(ptr noundef %51) %53 = load ptr, ptr %9, align 8 %54 = call i32 @free(ptr noundef %53) %55 = load ptr, ptr %6, align 8 %56 = call i32 @free(ptr noundef %55) %57 = load ptr, ptr %7, align 8 %58 = call i32 @free(ptr noundef %57) %59 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %59, ptr %3, align 4 br label %60 60: ; preds = %50, %27, %18, %13 %61 = load i32, ptr %3, align 4 ret i32 %61 } declare ptr @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @readmatrix(ptr noundef, ptr noundef) #1 declare i32 @calcmean(ptr noundef, ptr noundef) #1 declare i32 @calc_mm_std(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @pearson(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjz6l5own.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Missing matrix file\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = call ptr @malloc(i32 noundef 328480000) store ptr %10, ptr %6, align 8 %11 = load ptr, ptr %6, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %14 13: ; preds = %2 store i32 1, ptr %3, align 4 br label %60 14: ; preds = %2 %15 = call ptr @malloc(i32 noundef 328480000) store ptr %15, ptr %7, align 8 %16 = load ptr, ptr %7, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %19 18: ; preds = %14 store i32 1, ptr %3, align 4 br label %60 19: ; preds = %14 %20 = call ptr @malloc(i32 noundef 82120) store ptr %20, ptr %8, align 8 %21 = call ptr @malloc(i32 noundef 82120) store ptr %21, ptr %9, align 8 %22 = load ptr, ptr %8, align 8 %23 = icmp eq ptr %22, null br i1 %23, label %27, label %24 24: ; preds = %19 %25 = load ptr, ptr %9, align 8 %26 = icmp eq ptr %25, null br i1 %26, label %27, label %28 27: ; preds = %24, %19 store i32 1, ptr %3, align 4 br label %60 28: ; preds = %24 %29 = load i32, ptr %4, align 4 %30 = icmp ne i32 %29, 2 br i1 %30, label %31, label %33 31: ; preds = %28 %32 = call i32 @printf(ptr noundef @.str) br label %50 33: ; preds = %28 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 1 %36 = load ptr, ptr %35, align 8 %37 = load ptr, ptr %6, align 8 %38 = call i32 @readmatrix(ptr noundef %36, ptr noundef %37) %39 = load ptr, ptr %6, align 8 %40 = load ptr, ptr %8, align 8 %41 = call i32 @calcmean(ptr noundef %39, ptr noundef %40) %42 = load ptr, ptr %6, align 8 %43 = load ptr, ptr %8, align 8 %44 = load ptr, ptr %7, align 8 %45 = load ptr, ptr %9, align 8 %46 = call i32 @calc_mm_std(ptr noundef %42, ptr noundef %43, ptr noundef %44, ptr noundef %45) %47 = load ptr, ptr %7, align 8 %48 = load ptr, ptr %9, align 8 %49 = call i32 @pearson(ptr noundef %47, ptr noundef %48) br label %50 50: ; preds = %33, %31 %51 = load ptr, ptr %8, align 8 %52 = call i32 @free(ptr noundef %51) %53 = load ptr, ptr %9, align 8 %54 = call i32 @free(ptr noundef %53) %55 = load ptr, ptr %6, align 8 %56 = call i32 @free(ptr noundef %55) %57 = load ptr, ptr %7, align 8 %58 = call i32 @free(ptr noundef %57) %59 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %59, ptr %3, align 4 br label %60 60: ; preds = %50, %27, %18, %13 %61 = load i32, ptr %3, align 4 ret i32 %61 } declare ptr @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @readmatrix(ptr noundef, ptr noundef) #1 declare i32 @calcmean(ptr noundef, ptr noundef) #1 declare i32 @calc_mm_std(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @pearson(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3fyptkd2.c' source_filename = "/tmp/tmp3fyptkd2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c" /usr/bin/ee /etc/X11/xorg.conf\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @edit_xorg_file() #0 { %1 = call i32 (...) @endwin() %2 = call i32 @system(ptr noundef @.str) ret i32 0 } declare i32 @endwin(...) #1 declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3fyptkd2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c" /usr/bin/ee /etc/X11/xorg.conf\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @edit_xorg_file() #0 { %1 = call i32 (...) @endwin() %2 = call i32 @system(ptr noundef @.str) ret i32 0 } declare i32 @endwin(...) #1 declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}