llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpfomxynpv.c' source_filename = "/tmp/tmpfomxynpv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"%s:memory error %s\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"radix_sort\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"ll\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @radix_sort(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 store ptr %0, ptr %9, align 8 store i32 %1, ptr %10, align 4 store i32 %2, ptr %11, align 4 store i32 %3, ptr %12, align 4 store i32 %4, ptr %13, align 4 store ptr %5, ptr %14, align 8 store i32 %6, ptr %15, align 4 %21 = load i32, ptr %13, align 4 %22 = load i32, ptr %12, align 4 %23 = sub nsw i32 %21, %22 %24 = call ptr @intarray_malloc_const(i32 noundef %23, i32 noundef -1) store ptr %24, ptr %17, align 8 %25 = load i32, ptr %10, align 4 %26 = sext i32 %25 to i64 %27 = mul i64 4, %26 %28 = trunc i64 %27 to i32 %29 = call i64 @malloc(i32 noundef %28) %30 = inttoptr i64 %29 to ptr store ptr %30, ptr %16, align 8 %31 = icmp ne ptr %30, null br i1 %31, label %35, label %32 32: ; preds = %7 %33 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2) %34 = call i32 @exit(i32 noundef 1) #3 unreachable 35: ; preds = %7 store i32 0, ptr %19, align 4 br label %36 36: ; preds = %64, %35 %37 = load i32, ptr %19, align 4 %38 = load i32, ptr %10, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %40, label %67 40: ; preds = %36 %41 = load ptr, ptr %9, align 8 %42 = load i32, ptr %11, align 4 %43 = load i32, ptr %19, align 4 %44 = mul nsw i32 %42, %43 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i8, ptr %41, i64 %45 %47 = load i32, ptr %46, align 4 %48 = load i32, ptr %12, align 4 %49 = sub nsw i32 %47, %48 store i32 %49, ptr %18, align 4 %50 = load ptr, ptr %17, align 8 %51 = load i32, ptr %18, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i32, ptr %50, i64 %52 %54 = load i32, ptr %53, align 4 %55 = load ptr, ptr %16, align 8 %56 = load i32, ptr %19, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i32, ptr %55, i64 %57 store i32 %54, ptr %58, align 4 %59 = load i32, ptr %19, align 4 %60 = load ptr, ptr %17, align 8 %61 = load i32, ptr %18, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i32, ptr %60, i64 %62 store i32 %59, ptr %63, align 4 br label %64 64: ; preds = %40 %65 = load i32, ptr %19, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %19, align 4 br label %36, !llvm.loop !6 67: ; preds = %36 %68 = load ptr, ptr %14, align 8 %69 = icmp ne ptr %68, null br i1 %69, label %70, label %128 70: ; preds = %67 store i32 0, ptr %18, align 4 store i32 0, ptr %19, align 4 br label %71 71: ; preds = %112, %70 %72 = load i32, ptr %18, align 4 %73 = load i32, ptr %13, align 4 %74 = load i32, ptr %12, align 4 %75 = sub nsw i32 %73, %74 %76 = icmp slt i32 %72, %75 br i1 %76, label %77, label %115 77: ; preds = %71 br label %78 78: ; preds = %85, %77 %79 = load ptr, ptr %17, align 8 %80 = load i32, ptr %18, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i32, ptr %79, i64 %81 %83 = load i32, ptr %82, align 4 %84 = icmp sge i32 %83, 0 br i1 %84, label %85, label %111 85: ; preds = %78 %86 = load ptr, ptr %17, align 8 %87 = load i32, ptr %18, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds i32, ptr %86, i64 %88 %90 = load i32, ptr %89, align 4 store i32 %90, ptr %20, align 4 %91 = load ptr, ptr %16, align 8 %92 = load i32, ptr %20, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds i32, ptr %91, i64 %93 %95 = load i32, ptr %94, align 4 %96 = load ptr, ptr %17, align 8 %97 = load i32, ptr %18, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds i32, ptr %96, i64 %98 store i32 %95, ptr %99, align 4 %100 = load ptr, ptr %14, align 8 %101 = load i32, ptr %19, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds i32, ptr %100, i64 %102 %104 = load i32, ptr %103, align 4 %105 = load ptr, ptr %16, align 8 %106 = load i32, ptr %20, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds i32, ptr %105, i64 %107 store i32 %104, ptr %108, align 4 %109 = load i32, ptr %19, align 4 %110 = add nsw i32 %109, 1 store i32 %110, ptr %19, align 4 br label %78, !llvm.loop !8 111: ; preds = %78 br label %112 112: ; preds = %111 %113 = load i32, ptr %18, align 4 %114 = add nsw i32 %113, 1 store i32 %114, ptr %18, align 4 br label %71, !llvm.loop !9 115: ; preds = %71 %116 = load ptr, ptr %14, align 8 %117 = load ptr, ptr %16, align 8 %118 = load i32, ptr %10, align 4 %119 = sext i32 %118 to i64 %120 = mul i64 4, %119 %121 = trunc i64 %120 to i32 %122 = call i32 @memcpy(ptr noundef %116, ptr noundef %117, i32 noundef %121) %123 = load ptr, ptr %16, align 8 %124 = call i32 @free(ptr noundef %123) %125 = load ptr, ptr %17, align 8 %126 = call i32 @free(ptr noundef %125) %127 = load ptr, ptr %14, align 8 store ptr %127, ptr %8, align 8 br label %173 128: ; preds = %67 store i32 0, ptr %18, align 4 store i32 0, ptr %19, align 4 br label %129 129: ; preds = %166, %128 %130 = load i32, ptr %18, align 4 %131 = load i32, ptr %13, align 4 %132 = load i32, ptr %12, align 4 %133 = sub nsw i32 %131, %132 %134 = icmp slt i32 %130, %133 br i1 %134, label %135, label %169 135: ; preds = %129 br label %136 136: ; preds = %143, %135 %137 = load ptr, ptr %17, align 8 %138 = load i32, ptr %18, align 4 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds i32, ptr %137, i64 %139 %141 = load i32, ptr %140, align 4 %142 = icmp sge i32 %141, 0 br i1 %142, label %143, label %165 143: ; preds = %136 %144 = load ptr, ptr %17, align 8 %145 = load i32, ptr %18, align 4 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds i32, ptr %144, i64 %146 %148 = load i32, ptr %147, align 4 store i32 %148, ptr %20, align 4 %149 = load ptr, ptr %16, align 8 %150 = load i32, ptr %20, align 4 %151 = sext i32 %150 to i64 %152 = getelementptr inbounds i32, ptr %149, i64 %151 %153 = load i32, ptr %152, align 4 %154 = load ptr, ptr %17, align 8 %155 = load i32, ptr %18, align 4 %156 = sext i32 %155 to i64 %157 = getelementptr inbounds i32, ptr %154, i64 %156 store i32 %153, ptr %157, align 4 %158 = load i32, ptr %19, align 4 %159 = load ptr, ptr %16, align 8 %160 = load i32, ptr %20, align 4 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds i32, ptr %159, i64 %161 store i32 %158, ptr %162, align 4 %163 = load i32, ptr %19, align 4 %164 = add nsw i32 %163, 1 store i32 %164, ptr %19, align 4 br label %136, !llvm.loop !10 165: ; preds = %136 br label %166 166: ; preds = %165 %167 = load i32, ptr %18, align 4 %168 = add nsw i32 %167, 1 store i32 %168, ptr %18, align 4 br label %129, !llvm.loop !11 169: ; preds = %129 %170 = load ptr, ptr %17, align 8 %171 = call i32 @free(ptr noundef %170) %172 = load ptr, ptr %16, align 8 store ptr %172, ptr %8, align 8 br label %173 173: ; preds = %169, %115 %174 = load ptr, ptr %8, align 8 ret ptr %174 } declare ptr @intarray_malloc_const(i32 noundef, i32 noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfomxynpv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"%s:memory error %s\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"radix_sort\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"ll\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @radix_sort(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 store ptr %0, ptr %9, align 8 store i32 %1, ptr %10, align 4 store i32 %2, ptr %11, align 4 store i32 %3, ptr %12, align 4 store i32 %4, ptr %13, align 4 store ptr %5, ptr %14, align 8 store i32 %6, ptr %15, align 4 %21 = load i32, ptr %13, align 4 %22 = load i32, ptr %12, align 4 %23 = sub nsw i32 %21, %22 %24 = call ptr @intarray_malloc_const(i32 noundef %23, i32 noundef -1) store ptr %24, ptr %17, align 8 %25 = load i32, ptr %10, align 4 %26 = sext i32 %25 to i64 %27 = mul i64 4, %26 %28 = trunc i64 %27 to i32 %29 = call i64 @malloc(i32 noundef %28) %30 = inttoptr i64 %29 to ptr store ptr %30, ptr %16, align 8 %31 = icmp ne ptr %30, null br i1 %31, label %35, label %32 32: ; preds = %7 %33 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2) %34 = call i32 @exit(i32 noundef 1) #3 unreachable 35: ; preds = %7 store i32 0, ptr %19, align 4 %36 = load i32, ptr %19, align 4 %37 = load i32, ptr %10, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %.lr.ph, label %69 .lr.ph: ; preds = %35 br label %39 39: ; preds = %.lr.ph, %63 %40 = load ptr, ptr %9, align 8 %41 = load i32, ptr %11, align 4 %42 = load i32, ptr %19, align 4 %43 = mul nsw i32 %41, %42 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %40, i64 %44 %46 = load i32, ptr %45, align 4 %47 = load i32, ptr %12, align 4 %48 = sub nsw i32 %46, %47 store i32 %48, ptr %18, align 4 %49 = load ptr, ptr %17, align 8 %50 = load i32, ptr %18, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i32, ptr %49, i64 %51 %53 = load i32, ptr %52, align 4 %54 = load ptr, ptr %16, align 8 %55 = load i32, ptr %19, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i32, ptr %54, i64 %56 store i32 %53, ptr %57, align 4 %58 = load i32, ptr %19, align 4 %59 = load ptr, ptr %17, align 8 %60 = load i32, ptr %18, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i32, ptr %59, i64 %61 store i32 %58, ptr %62, align 4 br label %63 63: ; preds = %39 %64 = load i32, ptr %19, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %19, align 4 %66 = load i32, ptr %19, align 4 %67 = load i32, ptr %10, align 4 %68 = icmp slt i32 %66, %67 br i1 %68, label %39, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %63 br label %69 69: ; preds = %._crit_edge, %35 %70 = load ptr, ptr %14, align 8 %71 = icmp ne ptr %70, null br i1 %71, label %72, label %139 72: ; preds = %69 store i32 0, ptr %18, align 4 store i32 0, ptr %19, align 4 %73 = load i32, ptr %18, align 4 %74 = load i32, ptr %13, align 4 %75 = load i32, ptr %12, align 4 %76 = sub nsw i32 %74, %75 %77 = icmp slt i32 %73, %76 br i1 %77, label %.lr.ph11, label %126 .lr.ph11: ; preds = %72 br label %78 78: ; preds = %.lr.ph11, %118 %79 = load ptr, ptr %17, align 8 %80 = load i32, ptr %18, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i32, ptr %79, i64 %81 %83 = load i32, ptr %82, align 4 %84 = icmp sge i32 %83, 0 br i1 %84, label %.lr.ph8, label %117 .lr.ph8: ; preds = %78 br label %85 85: ; preds = %.lr.ph8, %85 %86 = load ptr, ptr %17, align 8 %87 = load i32, ptr %18, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds i32, ptr %86, i64 %88 %90 = load i32, ptr %89, align 4 store i32 %90, ptr %20, align 4 %91 = load ptr, ptr %16, align 8 %92 = load i32, ptr %20, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds i32, ptr %91, i64 %93 %95 = load i32, ptr %94, align 4 %96 = load ptr, ptr %17, align 8 %97 = load i32, ptr %18, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds i32, ptr %96, i64 %98 store i32 %95, ptr %99, align 4 %100 = load ptr, ptr %14, align 8 %101 = load i32, ptr %19, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds i32, ptr %100, i64 %102 %104 = load i32, ptr %103, align 4 %105 = load ptr, ptr %16, align 8 %106 = load i32, ptr %20, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds i32, ptr %105, i64 %107 store i32 %104, ptr %108, align 4 %109 = load i32, ptr %19, align 4 %110 = add nsw i32 %109, 1 store i32 %110, ptr %19, align 4 %111 = load ptr, ptr %17, align 8 %112 = load i32, ptr %18, align 4 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds i32, ptr %111, i64 %113 %115 = load i32, ptr %114, align 4 %116 = icmp sge i32 %115, 0 br i1 %116, label %85, label %._crit_edge9, !llvm.loop !8 ._crit_edge9: ; preds = %85 br label %117 117: ; preds = %._crit_edge9, %78 br label %118 118: ; preds = %117 %119 = load i32, ptr %18, align 4 %120 = add nsw i32 %119, 1 store i32 %120, ptr %18, align 4 %121 = load i32, ptr %18, align 4 %122 = load i32, ptr %13, align 4 %123 = load i32, ptr %12, align 4 %124 = sub nsw i32 %122, %123 %125 = icmp slt i32 %121, %124 br i1 %125, label %78, label %._crit_edge12, !llvm.loop !9 ._crit_edge12: ; preds = %118 br label %126 126: ; preds = %._crit_edge12, %72 %127 = load ptr, ptr %14, align 8 %128 = load ptr, ptr %16, align 8 %129 = load i32, ptr %10, align 4 %130 = sext i32 %129 to i64 %131 = mul i64 4, %130 %132 = trunc i64 %131 to i32 %133 = call i32 @memcpy(ptr noundef %127, ptr noundef %128, i32 noundef %132) %134 = load ptr, ptr %16, align 8 %135 = call i32 @free(ptr noundef %134) %136 = load ptr, ptr %17, align 8 %137 = call i32 @free(ptr noundef %136) %138 = load ptr, ptr %14, align 8 store ptr %138, ptr %8, align 8 br label %193 139: ; preds = %69 store i32 0, ptr %18, align 4 store i32 0, ptr %19, align 4 %140 = load i32, ptr %18, align 4 %141 = load i32, ptr %13, align 4 %142 = load i32, ptr %12, align 4 %143 = sub nsw i32 %141, %142 %144 = icmp slt i32 %140, %143 br i1 %144, label %.lr.ph5, label %189 .lr.ph5: ; preds = %139 br label %145 145: ; preds = %.lr.ph5, %181 %146 = load ptr, ptr %17, align 8 %147 = load i32, ptr %18, align 4 %148 = sext i32 %147 to i64 %149 = getelementptr inbounds i32, ptr %146, i64 %148 %150 = load i32, ptr %149, align 4 %151 = icmp sge i32 %150, 0 br i1 %151, label %.lr.ph2, label %180 .lr.ph2: ; preds = %145 br label %152 152: ; preds = %.lr.ph2, %152 %153 = load ptr, ptr %17, align 8 %154 = load i32, ptr %18, align 4 %155 = sext i32 %154 to i64 %156 = getelementptr inbounds i32, ptr %153, i64 %155 %157 = load i32, ptr %156, align 4 store i32 %157, ptr %20, align 4 %158 = load ptr, ptr %16, align 8 %159 = load i32, ptr %20, align 4 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds i32, ptr %158, i64 %160 %162 = load i32, ptr %161, align 4 %163 = load ptr, ptr %17, align 8 %164 = load i32, ptr %18, align 4 %165 = sext i32 %164 to i64 %166 = getelementptr inbounds i32, ptr %163, i64 %165 store i32 %162, ptr %166, align 4 %167 = load i32, ptr %19, align 4 %168 = load ptr, ptr %16, align 8 %169 = load i32, ptr %20, align 4 %170 = sext i32 %169 to i64 %171 = getelementptr inbounds i32, ptr %168, i64 %170 store i32 %167, ptr %171, align 4 %172 = load i32, ptr %19, align 4 %173 = add nsw i32 %172, 1 store i32 %173, ptr %19, align 4 %174 = load ptr, ptr %17, align 8 %175 = load i32, ptr %18, align 4 %176 = sext i32 %175 to i64 %177 = getelementptr inbounds i32, ptr %174, i64 %176 %178 = load i32, ptr %177, align 4 %179 = icmp sge i32 %178, 0 br i1 %179, label %152, label %._crit_edge3, !llvm.loop !10 ._crit_edge3: ; preds = %152 br label %180 180: ; preds = %._crit_edge3, %145 br label %181 181: ; preds = %180 %182 = load i32, ptr %18, align 4 %183 = add nsw i32 %182, 1 store i32 %183, ptr %18, align 4 %184 = load i32, ptr %18, align 4 %185 = load i32, ptr %13, align 4 %186 = load i32, ptr %12, align 4 %187 = sub nsw i32 %185, %186 %188 = icmp slt i32 %184, %187 br i1 %188, label %145, label %._crit_edge6, !llvm.loop !11 ._crit_edge6: ; preds = %181 br label %189 189: ; preds = %._crit_edge6, %139 %190 = load ptr, ptr %17, align 8 %191 = call i32 @free(ptr noundef %190) %192 = load ptr, ptr %16, align 8 store ptr %192, ptr %8, align 8 br label %193 193: ; preds = %189, %126 %194 = load ptr, ptr %8, align 8 ret ptr %194 } declare ptr @intarray_malloc_const(i32 noundef, i32 noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpuj53heaz.c' source_filename = "/tmp/tmpuj53heaz.c" target datalayout = "e-m:e-p270: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/tmpuj53heaz.c" target datalayout = "e-m:e-p270: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/tmpplgx2q68.c' source_filename = "/tmp/tmpplgx2q68.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [1 x i8], align 1 %7 = alloca [1 x i8], align 1 %8 = alloca i32, align 4 %9 = alloca i8, align 1 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 br label %19 19: ; preds = %22, %18 %20 = load i32, ptr %8, align 4 %21 = icmp slt i32 %20, 1 br i1 %21, label %22, label %37 22: ; preds = %19 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %8, align 4 %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %23, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10) %30 = trunc i64 %29 to i8 store i8 %30, ptr %9, align 1 %31 = load i8, ptr %9, align 1 %32 = load i32, ptr %8, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 %33 store i8 %31, ptr %34, align 1 %35 = load i32, ptr %8, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %8, align 4 br label %19, !llvm.loop !6 37: ; preds = %19 %38 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 0 %39 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 0 %40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39) %41 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 0 %42 = load i8, ptr %41, align 1 %43 = zext i8 %42 to i32 %44 = icmp eq i32 %43, 167 br i1 %44, label %45, label %47 45: ; preds = %37 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %48 47: ; preds = %37 br label %48 48: ; preds = %47, %45 store i32 0, ptr %10, align 4 br label %49 49: ; preds = %52, %48 %50 = load i32, ptr %10, align 4 %51 = icmp slt i32 %50, 1 br i1 %51, label %52, label %61 52: ; preds = %49 %53 = load i32, ptr %10, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 %54 %56 = load i8, ptr %55, align 1 %57 = zext i8 %56 to i32 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57) %59 = load i32, ptr %10, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %10, align 4 br label %49, !llvm.loop !8 61: ; preds = %49 %62 = load i32, ptr %3, align 4 ret i32 %62 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpplgx2q68.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [1 x i8], align 1 %7 = alloca [1 x i8], align 1 %8 = alloca i32, align 4 %9 = alloca i8, align 1 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 %19 = load i32, ptr %8, align 4 %20 = icmp slt i32 %19, 1 br i1 %20, label %.lr.ph, label %38 .lr.ph: ; preds = %18 br label %21 21: ; preds = %.lr.ph, %21 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %22, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10) %29 = trunc i64 %28 to i8 store i8 %29, ptr %9, align 1 %30 = load i8, ptr %9, align 1 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 %32 store i8 %30, ptr %33, align 1 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 %36 = load i32, ptr %8, align 4 %37 = icmp slt i32 %36, 1 br i1 %37, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %38 38: ; preds = %._crit_edge, %18 %39 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 0 %40 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 0 %41 = call i32 @RandomFunc(ptr noundef %39, ptr noundef %40) %42 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 0 %43 = load i8, ptr %42, align 1 %44 = zext i8 %43 to i32 %45 = icmp eq i32 %44, 167 br i1 %45, label %46, label %48 46: ; preds = %38 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %49 48: ; preds = %38 br label %49 49: ; preds = %48, %46 store i32 0, ptr %10, align 4 %50 = load i32, ptr %10, align 4 %51 = icmp slt i32 %50, 1 br i1 %51, label %.lr.ph2, label %63 .lr.ph2: ; preds = %49 br label %52 52: ; preds = %.lr.ph2, %52 %53 = load i32, ptr %10, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 %54 %56 = load i8, ptr %55, align 1 %57 = zext i8 %56 to i32 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57) %59 = load i32, ptr %10, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %10, align 4 %61 = load i32, ptr %10, align 4 %62 = icmp slt i32 %61, 1 br i1 %62, label %52, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %52 br label %63 63: ; preds = %._crit_edge3, %49 %64 = load i32, ptr %3, align 4 ret i32 %64 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp051y67cd.c' source_filename = "/tmp/tmp051y67cd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isascii.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isascii should be 1 for 0x04\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isascii_0x04() #0 { %1 = call i32 @isascii(i32 noundef 4) %2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 25, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @isascii(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp051y67cd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isascii.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isascii should be 1 for 0x04\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isascii_0x04() #0 { %1 = call i32 @isascii(i32 noundef 4) %2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 25, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @isascii(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp93ck6px3.c' source_filename = "/tmp/tmp93ck6px3.c" target datalayout = "e-m:e-p270: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.player = type { i32, [20 x i8], i32, i32, i32, ptr } @.str = private unnamed_addr constant [23 x i8] c"This first playeris %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.player, align 8 %3 = alloca %struct.player, align 8 %4 = alloca %struct.player, align 8 %5 = alloca ptr, align 8 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 8 %2, i8 0, i64 48, i1 false) %6 = getelementptr inbounds %struct.player, ptr %2, i32 0, i32 0 store i32 1, ptr %6, align 8 %7 = getelementptr inbounds %struct.player, ptr %2, i32 0, i32 1 %8 = getelementptr inbounds [20 x i8], ptr %7, i32 0, i32 0 store i8 97, ptr %8, align 4 %9 = getelementptr inbounds %struct.player, ptr %2, i32 0, i32 2 store i32 1, ptr %9, align 8 %10 = getelementptr inbounds %struct.player, ptr %2, i32 0, i32 3 store i32 1, ptr %10, align 4 %11 = getelementptr inbounds %struct.player, ptr %2, i32 0, i32 4 store i32 1, ptr %11, align 8 call void @llvm.memset.p0.i64(ptr align 8 %3, i8 0, i64 48, i1 false) %12 = getelementptr inbounds %struct.player, ptr %3, i32 0, i32 0 store i32 2, ptr %12, align 8 %13 = getelementptr inbounds %struct.player, ptr %3, i32 0, i32 1 %14 = getelementptr inbounds [20 x i8], ptr %13, i32 0, i32 0 store i8 98, ptr %14, align 4 %15 = getelementptr inbounds %struct.player, ptr %3, i32 0, i32 2 store i32 2, ptr %15, align 8 %16 = getelementptr inbounds %struct.player, ptr %3, i32 0, i32 3 store i32 2, ptr %16, align 4 %17 = getelementptr inbounds %struct.player, ptr %3, i32 0, i32 4 store i32 2, ptr %17, align 8 call void @llvm.memset.p0.i64(ptr align 8 %4, i8 0, i64 48, i1 false) %18 = getelementptr inbounds %struct.player, ptr %4, i32 0, i32 0 store i32 3, ptr %18, align 8 %19 = getelementptr inbounds %struct.player, ptr %4, i32 0, i32 1 %20 = getelementptr inbounds [20 x i8], ptr %19, i32 0, i32 0 store i8 99, ptr %20, align 4 %21 = getelementptr inbounds %struct.player, ptr %4, i32 0, i32 2 store i32 3, ptr %21, align 8 %22 = getelementptr inbounds %struct.player, ptr %4, i32 0, i32 3 store i32 3, ptr %22, align 4 %23 = getelementptr inbounds %struct.player, ptr %4, i32 0, i32 4 store i32 3, ptr %23, align 8 store ptr %2, ptr %5, align 8 %24 = getelementptr inbounds %struct.player, ptr %2, i32 0, i32 5 store ptr %3, ptr %24, align 8 %25 = getelementptr inbounds %struct.player, ptr %3, i32 0, i32 5 store ptr %4, ptr %25, align 8 %26 = getelementptr inbounds %struct.player, ptr %4, i32 0, i32 5 store ptr null, ptr %26, align 8 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds %struct.player, ptr %27, i32 0, i32 5 %29 = load ptr, ptr %28, align 8 %30 = getelementptr inbounds %struct.player, ptr %29, i32 0, i32 1 %31 = getelementptr inbounds [20 x i8], ptr %30, i64 0, i64 0 %32 = call i32 @printf(ptr noundef @.str, ptr noundef %31) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp93ck6px3.c" target datalayout = "e-m:e-p270: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.player = type { i32, [20 x i8], i32, i32, i32, ptr } @.str = private unnamed_addr constant [23 x i8] c"This first playeris %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.player, align 8 %3 = alloca %struct.player, align 8 %4 = alloca %struct.player, align 8 %5 = alloca ptr, align 8 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 8 %2, i8 0, i64 48, i1 false) %6 = getelementptr inbounds %struct.player, ptr %2, i32 0, i32 0 store i32 1, ptr %6, align 8 %7 = getelementptr inbounds %struct.player, ptr %2, i32 0, i32 1 %8 = getelementptr inbounds [20 x i8], ptr %7, i32 0, i32 0 store i8 97, ptr %8, align 4 %9 = getelementptr inbounds %struct.player, ptr %2, i32 0, i32 2 store i32 1, ptr %9, align 8 %10 = getelementptr inbounds %struct.player, ptr %2, i32 0, i32 3 store i32 1, ptr %10, align 4 %11 = getelementptr inbounds %struct.player, ptr %2, i32 0, i32 4 store i32 1, ptr %11, align 8 call void @llvm.memset.p0.i64(ptr align 8 %3, i8 0, i64 48, i1 false) %12 = getelementptr inbounds %struct.player, ptr %3, i32 0, i32 0 store i32 2, ptr %12, align 8 %13 = getelementptr inbounds %struct.player, ptr %3, i32 0, i32 1 %14 = getelementptr inbounds [20 x i8], ptr %13, i32 0, i32 0 store i8 98, ptr %14, align 4 %15 = getelementptr inbounds %struct.player, ptr %3, i32 0, i32 2 store i32 2, ptr %15, align 8 %16 = getelementptr inbounds %struct.player, ptr %3, i32 0, i32 3 store i32 2, ptr %16, align 4 %17 = getelementptr inbounds %struct.player, ptr %3, i32 0, i32 4 store i32 2, ptr %17, align 8 call void @llvm.memset.p0.i64(ptr align 8 %4, i8 0, i64 48, i1 false) %18 = getelementptr inbounds %struct.player, ptr %4, i32 0, i32 0 store i32 3, ptr %18, align 8 %19 = getelementptr inbounds %struct.player, ptr %4, i32 0, i32 1 %20 = getelementptr inbounds [20 x i8], ptr %19, i32 0, i32 0 store i8 99, ptr %20, align 4 %21 = getelementptr inbounds %struct.player, ptr %4, i32 0, i32 2 store i32 3, ptr %21, align 8 %22 = getelementptr inbounds %struct.player, ptr %4, i32 0, i32 3 store i32 3, ptr %22, align 4 %23 = getelementptr inbounds %struct.player, ptr %4, i32 0, i32 4 store i32 3, ptr %23, align 8 store ptr %2, ptr %5, align 8 %24 = getelementptr inbounds %struct.player, ptr %2, i32 0, i32 5 store ptr %3, ptr %24, align 8 %25 = getelementptr inbounds %struct.player, ptr %3, i32 0, i32 5 store ptr %4, ptr %25, align 8 %26 = getelementptr inbounds %struct.player, ptr %4, i32 0, i32 5 store ptr null, ptr %26, align 8 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds %struct.player, ptr %27, i32 0, i32 5 %29 = load ptr, ptr %28, align 8 %30 = getelementptr inbounds %struct.player, ptr %29, i32 0, i32 1 %31 = getelementptr inbounds [20 x i8], ptr %30, i64 0, i64 0 %32 = call i32 @printf(ptr noundef @.str, ptr noundef %31) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6yjzzhoa.c' source_filename = "/tmp/tmp6yjzzhoa.c" target datalayout = "e-m:e-p270: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/tmp6yjzzhoa.c" target datalayout = "e-m:e-p270: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/tmpbws1azld.c' source_filename = "/tmp/tmpbws1azld.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ERANGE = dso_local global i32 0, align 4 @LONG_MAX = dso_local global i64 0, align 8 @LONG_MIN = dso_local global i64 0, align 8 @ULONG_MAX = 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/tmpbws1azld.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ERANGE = dso_local global i32 0, align 4 @LONG_MAX = dso_local global i64 0, align 8 @LONG_MIN = dso_local global i64 0, align 8 @ULONG_MAX = 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/tmpasmo6siv.c' source_filename = "/tmp/tmpasmo6siv.c" target datalayout = "e-m:e-p270: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/tmpasmo6siv.c" target datalayout = "e-m:e-p270: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/tmpqpdeimoe.c' source_filename = "/tmp/tmpqpdeimoe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [17 x i8], align 16 %3 = alloca [17 x i8], align 16 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %8 = getelementptr inbounds [17 x i8], ptr %2, i64 0, i64 0 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %8) %10 = getelementptr inbounds [17 x i8], ptr %3, i64 0, i64 0 %11 = call i32 @scanf(ptr noundef @.str, ptr noundef %10) %12 = getelementptr inbounds [17 x i8], ptr %2, i64 0, i64 0 %13 = call double @pre2dou(ptr noundef %12) store double %13, ptr %4, align 8 %14 = getelementptr inbounds [17 x i8], ptr %3, i64 0, i64 0 %15 = call double @pre2dou(ptr noundef %14) store double %15, ptr %5, align 8 %16 = load double, ptr %4, align 8 %17 = load double, ptr %5, align 8 %18 = fsub double %16, %17 store double %18, ptr %6, align 8 %19 = call i64 @malloc(i32 noundef 17) %20 = inttoptr i64 %19 to ptr store ptr %20, ptr %7, align 8 %21 = load double, ptr %6, align 8 %22 = call ptr @dou2pre(double noundef %21) store ptr %22, ptr %7, align 8 %23 = load ptr, ptr %7, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 16 store i8 0, ptr %24, align 1 %25 = load ptr, ptr %7, align 8 %26 = call i32 @printf(ptr noundef @.str.1, ptr noundef %25) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare double @pre2dou(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare ptr @dou2pre(double noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqpdeimoe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [17 x i8], align 16 %3 = alloca [17 x i8], align 16 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %8 = getelementptr inbounds [17 x i8], ptr %2, i64 0, i64 0 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %8) %10 = getelementptr inbounds [17 x i8], ptr %3, i64 0, i64 0 %11 = call i32 @scanf(ptr noundef @.str, ptr noundef %10) %12 = getelementptr inbounds [17 x i8], ptr %2, i64 0, i64 0 %13 = call double @pre2dou(ptr noundef %12) store double %13, ptr %4, align 8 %14 = getelementptr inbounds [17 x i8], ptr %3, i64 0, i64 0 %15 = call double @pre2dou(ptr noundef %14) store double %15, ptr %5, align 8 %16 = load double, ptr %4, align 8 %17 = load double, ptr %5, align 8 %18 = fsub double %16, %17 store double %18, ptr %6, align 8 %19 = call i64 @malloc(i32 noundef 17) %20 = inttoptr i64 %19 to ptr store ptr %20, ptr %7, align 8 %21 = load double, ptr %6, align 8 %22 = call ptr @dou2pre(double noundef %21) store ptr %22, ptr %7, align 8 %23 = load ptr, ptr %7, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 16 store i8 0, ptr %24, align 1 %25 = load ptr, ptr %7, align 8 %26 = call i32 @printf(ptr noundef @.str.1, ptr noundef %25) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare double @pre2dou(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare ptr @dou2pre(double noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpm4b38njw.c' source_filename = "/tmp/tmpm4b38njw.c" target datalayout = "e-m:e-p270: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 [46 x i8] c"atoprc: %s value %s not a (positive) numeric\0A\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"atoprc: %s value %d not positive\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_posval(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 %6 = load ptr, ptr %4, align 8 %7 = call i32 @atoi(ptr noundef %6) store i32 %7, ptr %5, align 4 %8 = load ptr, ptr %4, align 8 %9 = call i32 @numeric(ptr noundef %8) %10 = icmp ne i32 %9, 0 br i1 %10, label %17, label %11 11: ; preds = %2 %12 = load i32, ptr @stderr, align 4 %13 = load ptr, ptr %3, align 8 %14 = load ptr, ptr %4, align 8 %15 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str, ptr noundef %13, ptr noundef %14) %16 = call i32 @exit(i32 noundef 1) #3 unreachable 17: ; preds = %2 %18 = load i32, ptr %5, align 4 %19 = icmp slt i32 %18, 0 br i1 %19, label %20, label %26 20: ; preds = %17 %21 = load i32, ptr @stderr, align 4 %22 = load ptr, ptr %3, align 8 %23 = load i32, ptr %5, align 4 %24 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %21, ptr noundef @.str.1, ptr noundef %22, i32 noundef %23) %25 = call i32 @exit(i32 noundef 1) #3 unreachable 26: ; preds = %17 %27 = load i32, ptr %5, align 4 ret i32 %27 } declare i32 @atoi(ptr noundef) #1 declare i32 @numeric(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm4b38njw.c" target datalayout = "e-m:e-p270: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 [46 x i8] c"atoprc: %s value %s not a (positive) numeric\0A\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"atoprc: %s value %d not positive\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_posval(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 %6 = load ptr, ptr %4, align 8 %7 = call i32 @atoi(ptr noundef %6) store i32 %7, ptr %5, align 4 %8 = load ptr, ptr %4, align 8 %9 = call i32 @numeric(ptr noundef %8) %10 = icmp ne i32 %9, 0 br i1 %10, label %17, label %11 11: ; preds = %2 %12 = load i32, ptr @stderr, align 4 %13 = load ptr, ptr %3, align 8 %14 = load ptr, ptr %4, align 8 %15 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str, ptr noundef %13, ptr noundef %14) %16 = call i32 @exit(i32 noundef 1) #3 unreachable 17: ; preds = %2 %18 = load i32, ptr %5, align 4 %19 = icmp slt i32 %18, 0 br i1 %19, label %20, label %26 20: ; preds = %17 %21 = load i32, ptr @stderr, align 4 %22 = load ptr, ptr %3, align 8 %23 = load i32, ptr %5, align 4 %24 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %21, ptr noundef @.str.1, ptr noundef %22, i32 noundef %23) %25 = call i32 @exit(i32 noundef 1) #3 unreachable 26: ; preds = %17 %27 = load i32, ptr %5, align 4 ret i32 %27 } declare i32 @atoi(ptr noundef) #1 declare i32 @numeric(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmpc8coxy.c' source_filename = "/tmp/tmpmpc8coxy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__mm_slli_si128(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = call i32 @_mm_slli_si128(i32 noundef %5, i32 noundef 1) ret i32 %6 } declare i32 @_mm_slli_si128(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/tmpmpc8coxy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__mm_slli_si128(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = call i32 @_mm_slli_si128(i32 noundef %5, i32 noundef 1) ret i32 %6 } declare i32 @_mm_slli_si128(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/tmpjlfaaw99.c' source_filename = "/tmp/tmpjlfaaw99.c" target datalayout = "e-m:e-p270: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.h0 = private unnamed_addr constant [7 x i8] c"String\00", align 1 @__const.main.h1 = private unnamed_addr constant [7 x i8] c"String\00", align 1 @__const.main.h2 = private unnamed_addr constant [7 x i8] c"String\00", align 1 @.str = private unnamed_addr constant [7 x i8] c"String\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c" %s : %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"One string\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"0123456789\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [7 x i8], align 1 %3 = alloca [7 x i8], align 1 %4 = alloca [7 x i8], align 1 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [11 x i8], align 1 %8 = alloca ptr, align 8 %9 = alloca [11 x i8], align 1 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.h0, i64 7, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.h1, i64 7, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.main.h2, i64 7, i1 false) store ptr @.str, ptr %5, align 8 %10 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 0 %11 = call i32 @puts(ptr noundef %10) %12 = getelementptr inbounds [7 x i8], ptr %3, i64 0, i64 0 %13 = call i32 @puts(ptr noundef %12) %14 = getelementptr inbounds [7 x i8], ptr %4, i64 0, i64 0 %15 = call i32 @puts(ptr noundef %14) %16 = load ptr, ptr %5, align 8 %17 = call i32 @puts(ptr noundef %16) %18 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 0 %19 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 0 %20 = call i32 @strlen0(ptr noundef %19) %21 = call i32 @printf(ptr noundef @.str.1, ptr noundef %18, i32 noundef %20) %22 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 0 %23 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 0 %24 = call i32 @strlen1(ptr noundef %23) %25 = call i32 @printf(ptr noundef @.str.1, ptr noundef %22, i32 noundef %24) store ptr @.str.2, ptr %6, align 8 call void @llvm.memset.p0.i64(ptr align 1 %7, i8 0, i64 11, i1 false) %26 = getelementptr inbounds [11 x i8], ptr %7, i64 0, i64 0 %27 = load ptr, ptr %6, align 8 %28 = call i32 @strcpy(ptr noundef %26, ptr noundef %27) %29 = getelementptr inbounds [11 x i8], ptr %7, i64 0, i64 0 %30 = call i32 @puts(ptr noundef %29) store ptr @.str.3, ptr %8, align 8 call void @llvm.memset.p0.i64(ptr align 1 %9, i8 0, i64 11, i1 false) %31 = getelementptr inbounds [11 x i8], ptr %9, i64 0, i64 0 %32 = load ptr, ptr %8, align 8 %33 = call i32 @strncpy(ptr noundef %31, ptr noundef %32, i32 noundef 5) %34 = getelementptr inbounds [11 x i8], ptr %9, i64 0, i64 0 %35 = call i32 @puts(ptr noundef %34) 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 @puts(ptr noundef) #2 declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @strlen0(ptr noundef) #2 declare i32 @strlen1(ptr noundef) #2 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 declare i32 @strcpy(ptr noundef, ptr noundef) #2 declare i32 @strncpy(ptr noundef, 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" } attributes #3 = { 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/tmpjlfaaw99.c" target datalayout = "e-m:e-p270: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.h0 = private unnamed_addr constant [7 x i8] c"String\00", align 1 @__const.main.h1 = private unnamed_addr constant [7 x i8] c"String\00", align 1 @__const.main.h2 = private unnamed_addr constant [7 x i8] c"String\00", align 1 @.str = private unnamed_addr constant [7 x i8] c"String\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c" %s : %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"One string\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"0123456789\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [7 x i8], align 1 %3 = alloca [7 x i8], align 1 %4 = alloca [7 x i8], align 1 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [11 x i8], align 1 %8 = alloca ptr, align 8 %9 = alloca [11 x i8], align 1 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.h0, i64 7, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.h1, i64 7, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.main.h2, i64 7, i1 false) store ptr @.str, ptr %5, align 8 %10 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 0 %11 = call i32 @puts(ptr noundef %10) %12 = getelementptr inbounds [7 x i8], ptr %3, i64 0, i64 0 %13 = call i32 @puts(ptr noundef %12) %14 = getelementptr inbounds [7 x i8], ptr %4, i64 0, i64 0 %15 = call i32 @puts(ptr noundef %14) %16 = load ptr, ptr %5, align 8 %17 = call i32 @puts(ptr noundef %16) %18 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 0 %19 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 0 %20 = call i32 @strlen0(ptr noundef %19) %21 = call i32 @printf(ptr noundef @.str.1, ptr noundef %18, i32 noundef %20) %22 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 0 %23 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 0 %24 = call i32 @strlen1(ptr noundef %23) %25 = call i32 @printf(ptr noundef @.str.1, ptr noundef %22, i32 noundef %24) store ptr @.str.2, ptr %6, align 8 call void @llvm.memset.p0.i64(ptr align 1 %7, i8 0, i64 11, i1 false) %26 = getelementptr inbounds [11 x i8], ptr %7, i64 0, i64 0 %27 = load ptr, ptr %6, align 8 %28 = call i32 @strcpy(ptr noundef %26, ptr noundef %27) %29 = getelementptr inbounds [11 x i8], ptr %7, i64 0, i64 0 %30 = call i32 @puts(ptr noundef %29) store ptr @.str.3, ptr %8, align 8 call void @llvm.memset.p0.i64(ptr align 1 %9, i8 0, i64 11, i1 false) %31 = getelementptr inbounds [11 x i8], ptr %9, i64 0, i64 0 %32 = load ptr, ptr %8, align 8 %33 = call i32 @strncpy(ptr noundef %31, ptr noundef %32, i32 noundef 5) %34 = getelementptr inbounds [11 x i8], ptr %9, i64 0, i64 0 %35 = call i32 @puts(ptr noundef %34) 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 @puts(ptr noundef) #2 declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @strlen0(ptr noundef) #2 declare i32 @strlen1(ptr noundef) #2 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 declare i32 @strcpy(ptr noundef, ptr noundef) #2 declare i32 @strncpy(ptr noundef, 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" } attributes #3 = { 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/tmptj7k5i3d.c' source_filename = "/tmp/tmptj7k5i3d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @interpolate_stepwise_nearest(i32 noundef %0, ptr noundef %1, ptr noundef %2, double noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca double, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca double, align 8 %14 = alloca double, align 8 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store double %3, ptr %9, align 8 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 %15 = load ptr, ptr %7, align 8 %16 = getelementptr inbounds double, ptr %15, i64 0 %17 = load double, ptr %16, align 8 store double %17, ptr %13, align 8 store double 0.000000e+00, ptr %14, align 8 %18 = load i32, ptr %6, align 4 %19 = icmp eq i32 %18, 1 br i1 %19, label %20, label %24 20: ; preds = %4 %21 = load ptr, ptr %8, align 8 %22 = getelementptr inbounds double, ptr %21, i64 0 %23 = load double, ptr %22, align 8 store double %23, ptr %5, align 8 br label %72 24: ; preds = %4 store i32 1, ptr %10, align 4 br label %25 25: ; preds = %47, %24 %26 = load i32, ptr %10, align 4 %27 = load i32, ptr %6, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %29, label %50 29: ; preds = %25 %30 = load i32, ptr %10, align 4 store i32 %30, ptr %12, align 4 %31 = load ptr, ptr %7, align 8 %32 = load i32, ptr %10, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds double, ptr %31, i64 %33 %35 = load double, ptr %34, align 8 store double %35, ptr %14, align 8 %36 = load double, ptr %9, align 8 %37 = load double, ptr %13, align 8 %38 = fcmp oge double %36, %37 br i1 %38, label %39, label %44 39: ; preds = %29 %40 = load double, ptr %9, align 8 %41 = load double, ptr %14, align 8 %42 = fcmp ole double %40, %41 br i1 %42, label %43, label %44 43: ; preds = %39 br label %50 44: ; preds = %39, %29 %45 = load double, ptr %14, align 8 store double %45, ptr %13, align 8 %46 = load i32, ptr %12, align 4 store i32 %46, ptr %11, align 4 br label %47 47: ; preds = %44 %48 = load i32, ptr %10, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %10, align 4 br label %25, !llvm.loop !6 50: ; preds = %43, %25 %51 = load double, ptr %9, align 8 %52 = load double, ptr %14, align 8 %53 = fsub double %51, %52 %54 = call i64 @fabs(double noundef %53) %55 = load double, ptr %9, align 8 %56 = load double, ptr %13, align 8 %57 = fsub double %55, %56 %58 = call i64 @fabs(double noundef %57) %59 = icmp slt i64 %54, %58 br i1 %59, label %60, label %66 60: ; preds = %50 %61 = load ptr, ptr %8, align 8 %62 = load i32, ptr %12, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds double, ptr %61, i64 %63 %65 = load double, ptr %64, align 8 store double %65, ptr %5, align 8 br label %72 66: ; preds = %50 %67 = load ptr, ptr %8, align 8 %68 = load i32, ptr %11, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds double, ptr %67, i64 %69 %71 = load double, ptr %70, align 8 store double %71, ptr %5, align 8 br label %72 72: ; preds = %66, %60, %20 %73 = load double, ptr %5, align 8 ret double %73 } declare i64 @fabs(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptj7k5i3d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @interpolate_stepwise_nearest(i32 noundef %0, ptr noundef %1, ptr noundef %2, double noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca double, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca double, align 8 %14 = alloca double, align 8 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store double %3, ptr %9, align 8 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 %15 = load ptr, ptr %7, align 8 %16 = getelementptr inbounds double, ptr %15, i64 0 %17 = load double, ptr %16, align 8 store double %17, ptr %13, align 8 store double 0.000000e+00, ptr %14, align 8 %18 = load i32, ptr %6, align 4 %19 = icmp eq i32 %18, 1 br i1 %19, label %20, label %24 20: ; preds = %4 %21 = load ptr, ptr %8, align 8 %22 = getelementptr inbounds double, ptr %21, i64 0 %23 = load double, ptr %22, align 8 store double %23, ptr %5, align 8 br label %74 24: ; preds = %4 store i32 1, ptr %10, align 4 %25 = load i32, ptr %10, align 4 %26 = load i32, ptr %6, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %24 br label %28 28: ; preds = %.lr.ph, %46 %29 = load i32, ptr %10, align 4 store i32 %29, ptr %12, align 4 %30 = load ptr, ptr %7, align 8 %31 = load i32, ptr %10, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds double, ptr %30, i64 %32 %34 = load double, ptr %33, align 8 store double %34, ptr %14, align 8 %35 = load double, ptr %9, align 8 %36 = load double, ptr %13, align 8 %37 = fcmp oge double %35, %36 br i1 %37, label %38, label %43 38: ; preds = %28 %39 = load double, ptr %9, align 8 %40 = load double, ptr %14, align 8 %41 = fcmp ole double %39, %40 br i1 %41, label %42, label %43 42: ; preds = %38 br label %52 43: ; preds = %38, %28 %44 = load double, ptr %14, align 8 store double %44, ptr %13, align 8 %45 = load i32, ptr %12, align 4 store i32 %45, ptr %11, align 4 br label %46 46: ; preds = %43 %47 = load i32, ptr %10, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %10, align 4 %49 = load i32, ptr %10, align 4 %50 = load i32, ptr %6, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %28, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %46 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %24 br label %52 52: ; preds = %.loopexit, %42 %53 = load double, ptr %9, align 8 %54 = load double, ptr %14, align 8 %55 = fsub double %53, %54 %56 = call i64 @fabs(double noundef %55) %57 = load double, ptr %9, align 8 %58 = load double, ptr %13, align 8 %59 = fsub double %57, %58 %60 = call i64 @fabs(double noundef %59) %61 = icmp slt i64 %56, %60 br i1 %61, label %62, label %68 62: ; preds = %52 %63 = load ptr, ptr %8, align 8 %64 = load i32, ptr %12, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds double, ptr %63, i64 %65 %67 = load double, ptr %66, align 8 store double %67, ptr %5, align 8 br label %74 68: ; preds = %52 %69 = load ptr, ptr %8, align 8 %70 = load i32, ptr %11, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds double, ptr %69, i64 %71 %73 = load double, ptr %72, align 8 store double %73, ptr %5, align 8 br label %74 74: ; preds = %68, %62, %20 %75 = load double, ptr %5, align 8 ret double %75 } declare i64 @fabs(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpofsyakkl.c' source_filename = "/tmp/tmpofsyakkl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [45 x i8] c"Please specify the name of the source file.\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"w+\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c"Fail to open the destination file. \0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"r+\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"Fail to open the file. \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca 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 ptr null, ptr %6, align 8 store ptr null, ptr %7, align 8 store ptr null, ptr %8, align 8 store i32 0, ptr %9, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 2 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = call i32 @printf(ptr noundef @.str) store i32 0, ptr %3, align 4 br label %53 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 %18 = call ptr @generatefilename(ptr noundef %17) store ptr %18, ptr %6, align 8 %19 = load ptr, ptr %6, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %21, label %24 21: ; preds = %14 %22 = load ptr, ptr %6, align 8 %23 = call ptr @fopen(ptr noundef %22, ptr noundef @.str.1) store ptr %23, ptr %8, align 8 br label %26 24: ; preds = %14 %25 = call i32 @printf(ptr noundef @.str.2) store i32 0, ptr %3, align 4 br label %53 26: ; preds = %21 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds ptr, ptr %27, i64 1 %29 = load ptr, ptr %28, align 8 %30 = call ptr @fopen(ptr noundef %29, ptr noundef @.str.3) store ptr %30, ptr %7, align 8 %31 = load ptr, ptr %7, align 8 %32 = icmp ne ptr %31, null br i1 %32, label %33, label %51 33: ; preds = %26 %34 = load ptr, ptr %8, align 8 %35 = icmp ne ptr %34, null br i1 %35, label %36, label %51 36: ; preds = %33 %37 = load ptr, ptr %8, align 8 %38 = load ptr, ptr %7, align 8 %39 = call i32 @filtblocktag(ptr noundef %37, ptr noundef %38) store i32 %39, ptr %9, align 4 %40 = load ptr, ptr %8, align 8 %41 = call i32 @fclose(ptr noundef %40) %42 = load ptr, ptr %7, align 8 %43 = call i32 @fclose(ptr noundef %42) %44 = load ptr, ptr %6, align 8 %45 = icmp ne ptr %44, null br i1 %45, label %46, label %49 46: ; preds = %36 %47 = load ptr, ptr %6, align 8 %48 = call i32 @free(ptr noundef %47) br label %49 49: ; preds = %46, %36 store ptr null, ptr %6, align 8 %50 = load i32, ptr %9, align 4 store i32 %50, ptr %3, align 4 br label %53 51: ; preds = %33, %26 %52 = call i32 @printf(ptr noundef @.str.4) store i32 0, ptr %3, align 4 br label %53 53: ; preds = %51, %49, %24, %12 %54 = load i32, ptr %3, align 4 ret i32 %54 } declare i32 @printf(ptr noundef) #1 declare ptr @generatefilename(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @filtblocktag(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpofsyakkl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [45 x i8] c"Please specify the name of the source file.\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"w+\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c"Fail to open the destination file. \0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"r+\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"Fail to open the file. \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca 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 ptr null, ptr %6, align 8 store ptr null, ptr %7, align 8 store ptr null, ptr %8, align 8 store i32 0, ptr %9, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 2 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = call i32 @printf(ptr noundef @.str) store i32 0, ptr %3, align 4 br label %53 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 %18 = call ptr @generatefilename(ptr noundef %17) store ptr %18, ptr %6, align 8 %19 = load ptr, ptr %6, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %21, label %24 21: ; preds = %14 %22 = load ptr, ptr %6, align 8 %23 = call ptr @fopen(ptr noundef %22, ptr noundef @.str.1) store ptr %23, ptr %8, align 8 br label %26 24: ; preds = %14 %25 = call i32 @printf(ptr noundef @.str.2) store i32 0, ptr %3, align 4 br label %53 26: ; preds = %21 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds ptr, ptr %27, i64 1 %29 = load ptr, ptr %28, align 8 %30 = call ptr @fopen(ptr noundef %29, ptr noundef @.str.3) store ptr %30, ptr %7, align 8 %31 = load ptr, ptr %7, align 8 %32 = icmp ne ptr %31, null br i1 %32, label %33, label %51 33: ; preds = %26 %34 = load ptr, ptr %8, align 8 %35 = icmp ne ptr %34, null br i1 %35, label %36, label %51 36: ; preds = %33 %37 = load ptr, ptr %8, align 8 %38 = load ptr, ptr %7, align 8 %39 = call i32 @filtblocktag(ptr noundef %37, ptr noundef %38) store i32 %39, ptr %9, align 4 %40 = load ptr, ptr %8, align 8 %41 = call i32 @fclose(ptr noundef %40) %42 = load ptr, ptr %7, align 8 %43 = call i32 @fclose(ptr noundef %42) %44 = load ptr, ptr %6, align 8 %45 = icmp ne ptr %44, null br i1 %45, label %46, label %49 46: ; preds = %36 %47 = load ptr, ptr %6, align 8 %48 = call i32 @free(ptr noundef %47) br label %49 49: ; preds = %46, %36 store ptr null, ptr %6, align 8 %50 = load i32, ptr %9, align 4 store i32 %50, ptr %3, align 4 br label %53 51: ; preds = %33, %26 %52 = call i32 @printf(ptr noundef @.str.4) store i32 0, ptr %3, align 4 br label %53 53: ; preds = %51, %49, %24, %12 %54 = load i32, ptr %3, align 4 ret i32 %54 } declare i32 @printf(ptr noundef) #1 declare ptr @generatefilename(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @filtblocktag(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8rle53kv.c' source_filename = "/tmp/tmp8rle53kv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @getStringLength() %7 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %7 } declare i32 @getStringLength(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8rle53kv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @getStringLength() %7 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %7 } declare i32 @getStringLength(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxyq8jn0a.c' source_filename = "/tmp/tmpxyq8jn0a.c" target datalayout = "e-m:e-p270: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/tmpxyq8jn0a.c" target datalayout = "e-m:e-p270: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/tmpx_mu9g1w.c' source_filename = "/tmp/tmpx_mu9g1w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%s\09%s\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"call\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cgcall(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 @sgen(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %3) ret void } declare i32 @sgen(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/tmpx_mu9g1w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%s\09%s\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"call\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cgcall(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 @sgen(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %3) ret void } declare i32 @sgen(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/tmp12i278zw.c' source_filename = "/tmp/tmp12i278zw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ws_host_match(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 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %13 = load ptr, ptr %4, align 8 %14 = call i32 @strlen(ptr noundef %13) store i32 %14, ptr %6, align 4 %15 = load ptr, ptr %5, align 8 %16 = call i32 @strlen(ptr noundef %15) store i32 %16, ptr %7, align 4 %17 = load i32, ptr %7, align 4 %18 = load i32, ptr %6, align 4 %19 = icmp sgt i32 %17, %18 br i1 %19, label %20, label %21 20: ; preds = %2 store i32 0, ptr %3, align 4 br label %117 21: ; preds = %2 store i32 0, ptr %8, align 4 store i32 -1, ptr %9, align 4 store i32 -1, ptr %10, align 4 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 br label %22 22: ; preds = %106, %21 %23 = load i32, ptr %12, align 4 %24 = load i32, ptr %7, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %26, label %30 26: ; preds = %22 %27 = load i32, ptr %11, align 4 %28 = load i32, ptr %6, align 4 %29 = icmp slt i32 %27, %28 br label %30 30: ; preds = %26, %22 %31 = phi i1 [ false, %22 ], [ %29, %26 ] br i1 %31, label %32, label %111 32: ; preds = %30 %33 = load ptr, ptr %5, align 8 %34 = load i32, ptr %12, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %33, i64 %35 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp eq i32 %38, 42 br i1 %39, label %40, label %43 40: ; preds = %32 store i32 1, ptr %8, align 4 %41 = load i32, ptr %12, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %9, align 4 store i32 -1, ptr %10, align 4 br label %106 43: ; preds = %32 %44 = load i32, ptr %8, align 4 %45 = icmp ne i32 %44, 0 br i1 %45, label %46, label %89 46: ; preds = %43 %47 = load i32, ptr %10, align 4 %48 = icmp eq i32 %47, -1 br i1 %48, label %49, label %69 49: ; preds = %46 %50 = load ptr, ptr %5, align 8 %51 = load i32, ptr %12, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i8, ptr %50, i64 %52 %54 = load i8, ptr %53, align 1 %55 = sext i8 %54 to i32 %56 = load ptr, ptr %4, align 8 %57 = load i32, ptr %11, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i8, ptr %56, i64 %58 %60 = load i8, ptr %59, align 1 %61 = sext i8 %60 to i32 %62 = icmp ne i32 %55, %61 br i1 %62, label %63, label %66 63: ; preds = %49 %64 = load i32, ptr %12, align 4 %65 = add nsw i32 %64, -1 store i32 %65, ptr %12, align 4 br label %68 66: ; preds = %49 %67 = load i32, ptr %11, align 4 store i32 %67, ptr %10, align 4 br label %68 68: ; preds = %66, %63 br label %88 69: ; preds = %46 %70 = load ptr, ptr %5, align 8 %71 = load i32, ptr %12, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds i8, ptr %70, i64 %72 %74 = load i8, ptr %73, align 1 %75 = sext i8 %74 to i32 %76 = load ptr, ptr %4, align 8 %77 = load i32, ptr %11, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds i8, ptr %76, i64 %78 %80 = load i8, ptr %79, align 1 %81 = sext i8 %80 to i32 %82 = icmp ne i32 %75, %81 br i1 %82, label %83, label %87 83: ; preds = %69 %84 = load i32, ptr %9, align 4 store i32 %84, ptr %12, align 4 %85 = load i32, ptr %10, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %11, align 4 store i32 -1, ptr %10, align 4 br label %87 87: ; preds = %83, %69 br label %88 88: ; preds = %87, %68 br label %105 89: ; preds = %43 %90 = load ptr, ptr %5, align 8 %91 = load i32, ptr %12, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds i8, ptr %90, i64 %92 %94 = load i8, ptr %93, align 1 %95 = sext i8 %94 to i32 %96 = load ptr, ptr %4, align 8 %97 = load i32, ptr %11, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds i8, ptr %96, i64 %98 %100 = load i8, ptr %99, align 1 %101 = sext i8 %100 to i32 %102 = icmp ne i32 %95, %101 br i1 %102, label %103, label %104 103: ; preds = %89 store i32 0, ptr %3, align 4 br label %117 104: ; preds = %89 br label %105 105: ; preds = %104, %88 br label %106 106: ; preds = %105, %40 %107 = load i32, ptr %12, align 4 %108 = add nsw i32 %107, 1 store i32 %108, ptr %12, align 4 %109 = load i32, ptr %11, align 4 %110 = add nsw i32 %109, 1 store i32 %110, ptr %11, align 4 br label %22, !llvm.loop !6 111: ; preds = %30 %112 = load i32, ptr %12, align 4 %113 = load i32, ptr %7, align 4 %114 = icmp ne i32 %112, %113 br i1 %114, label %115, label %116 115: ; preds = %111 store i32 0, ptr %3, align 4 br label %117 116: ; preds = %111 store i32 1, ptr %3, align 4 br label %117 117: ; preds = %116, %115, %103, %20 %118 = load i32, ptr %3, align 4 ret i32 %118 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp12i278zw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ws_host_match(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 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %13 = load ptr, ptr %4, align 8 %14 = call i32 @strlen(ptr noundef %13) store i32 %14, ptr %6, align 4 %15 = load ptr, ptr %5, align 8 %16 = call i32 @strlen(ptr noundef %15) store i32 %16, ptr %7, align 4 %17 = load i32, ptr %7, align 4 %18 = load i32, ptr %6, align 4 %19 = icmp sgt i32 %17, %18 br i1 %19, label %20, label %21 20: ; preds = %2 store i32 0, ptr %3, align 4 br label %117 21: ; preds = %2 store i32 0, ptr %8, align 4 store i32 -1, ptr %9, align 4 store i32 -1, ptr %10, align 4 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 br label %22 22: ; preds = %106, %21 %23 = load i32, ptr %12, align 4 %24 = load i32, ptr %7, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %26, label %30 26: ; preds = %22 %27 = load i32, ptr %11, align 4 %28 = load i32, ptr %6, align 4 %29 = icmp slt i32 %27, %28 br label %30 30: ; preds = %26, %22 %31 = phi i1 [ false, %22 ], [ %29, %26 ] br i1 %31, label %32, label %111 32: ; preds = %30 %33 = load ptr, ptr %5, align 8 %34 = load i32, ptr %12, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %33, i64 %35 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp eq i32 %38, 42 br i1 %39, label %40, label %43 40: ; preds = %32 store i32 1, ptr %8, align 4 %41 = load i32, ptr %12, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %9, align 4 store i32 -1, ptr %10, align 4 br label %106 43: ; preds = %32 %44 = load i32, ptr %8, align 4 %45 = icmp ne i32 %44, 0 br i1 %45, label %46, label %89 46: ; preds = %43 %47 = load i32, ptr %10, align 4 %48 = icmp eq i32 %47, -1 br i1 %48, label %49, label %69 49: ; preds = %46 %50 = load ptr, ptr %5, align 8 %51 = load i32, ptr %12, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i8, ptr %50, i64 %52 %54 = load i8, ptr %53, align 1 %55 = sext i8 %54 to i32 %56 = load ptr, ptr %4, align 8 %57 = load i32, ptr %11, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i8, ptr %56, i64 %58 %60 = load i8, ptr %59, align 1 %61 = sext i8 %60 to i32 %62 = icmp ne i32 %55, %61 br i1 %62, label %63, label %66 63: ; preds = %49 %64 = load i32, ptr %12, align 4 %65 = add nsw i32 %64, -1 store i32 %65, ptr %12, align 4 br label %68 66: ; preds = %49 %67 = load i32, ptr %11, align 4 store i32 %67, ptr %10, align 4 br label %68 68: ; preds = %66, %63 br label %88 69: ; preds = %46 %70 = load ptr, ptr %5, align 8 %71 = load i32, ptr %12, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds i8, ptr %70, i64 %72 %74 = load i8, ptr %73, align 1 %75 = sext i8 %74 to i32 %76 = load ptr, ptr %4, align 8 %77 = load i32, ptr %11, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds i8, ptr %76, i64 %78 %80 = load i8, ptr %79, align 1 %81 = sext i8 %80 to i32 %82 = icmp ne i32 %75, %81 br i1 %82, label %83, label %87 83: ; preds = %69 %84 = load i32, ptr %9, align 4 store i32 %84, ptr %12, align 4 %85 = load i32, ptr %10, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %11, align 4 store i32 -1, ptr %10, align 4 br label %87 87: ; preds = %83, %69 br label %88 88: ; preds = %87, %68 br label %105 89: ; preds = %43 %90 = load ptr, ptr %5, align 8 %91 = load i32, ptr %12, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds i8, ptr %90, i64 %92 %94 = load i8, ptr %93, align 1 %95 = sext i8 %94 to i32 %96 = load ptr, ptr %4, align 8 %97 = load i32, ptr %11, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds i8, ptr %96, i64 %98 %100 = load i8, ptr %99, align 1 %101 = sext i8 %100 to i32 %102 = icmp ne i32 %95, %101 br i1 %102, label %103, label %104 103: ; preds = %89 store i32 0, ptr %3, align 4 br label %117 104: ; preds = %89 br label %105 105: ; preds = %104, %88 br label %106 106: ; preds = %105, %40 %107 = load i32, ptr %12, align 4 %108 = add nsw i32 %107, 1 store i32 %108, ptr %12, align 4 %109 = load i32, ptr %11, align 4 %110 = add nsw i32 %109, 1 store i32 %110, ptr %11, align 4 br label %22, !llvm.loop !6 111: ; preds = %30 %112 = load i32, ptr %12, align 4 %113 = load i32, ptr %7, align 4 %114 = icmp ne i32 %112, %113 br i1 %114, label %115, label %116 115: ; preds = %111 store i32 0, ptr %3, align 4 br label %117 116: ; preds = %111 store i32 1, ptr %3, align 4 br label %117 117: ; preds = %116, %115, %103, %20 %118 = load i32, ptr %3, align 4 ret i32 %118 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp8an2vwp7.c' source_filename = "/tmp/tmp8an2vwp7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.pollfd = type { i32, i32, i32 } %struct.timespec = type { i32, i32 } %struct.epoll_event = type { i32 } @__const.main.pfd = private unnamed_addr constant %struct.pollfd { i32 7, i32 35, i32 0 }, align 4 @__const.main.tim = private unnamed_addr constant %struct.timespec { i32 200000000, i32 0 }, align 4 @SIGUSR2 = dso_local global i32 0, align 4 @EPOLL_CTL_ADD = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.epoll_event, align 4 %3 = alloca [17 x %struct.epoll_event], align 16 %4 = alloca %struct.pollfd, align 4 %5 = alloca i32, align 4 %6 = alloca %struct.timespec, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %4, ptr align 4 @__const.main.pfd, i64 12, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 4 %6, ptr align 4 @__const.main.tim, i64 8, i1 false) %8 = call i32 @sigemptyset(ptr noundef %7) %9 = load i32, ptr @SIGUSR2, align 4 %10 = call i32 @sigaddset(ptr noundef %7, i32 noundef %9) %11 = call i32 @epoll_create(i32 noundef 32) store i32 %11, ptr %5, align 4 %12 = call i32 @epoll_create(i32 noundef -1) %13 = load i32, ptr %5, align 4 %14 = load i32, ptr @EPOLL_CTL_ADD, align 4 %15 = call i32 @epoll_ctl(i32 noundef %13, i32 noundef %14, i32 noundef 13, ptr noundef %2) %16 = load i32, ptr @EPOLL_CTL_ADD, align 4 %17 = call i32 @epoll_ctl(i32 noundef -1, i32 noundef %16, i32 noundef 13, ptr noundef %2) %18 = load i32, ptr %5, align 4 %19 = call i32 @epoll_ctl(i32 noundef %18, i32 noundef -1, i32 noundef 13, ptr noundef %2) %20 = load i32, ptr %5, align 4 %21 = load i32, ptr @EPOLL_CTL_ADD, align 4 %22 = call i32 @epoll_ctl(i32 noundef %20, i32 noundef %21, i32 noundef -1, ptr noundef %2) %23 = load i32, ptr %5, align 4 %24 = load i32, ptr @EPOLL_CTL_ADD, align 4 %25 = call i32 @epoll_ctl(i32 noundef %23, i32 noundef %24, i32 noundef 13, ptr noundef inttoptr (i64 -1 to ptr)) %26 = load i32, ptr %5, align 4 %27 = getelementptr inbounds [17 x %struct.epoll_event], ptr %3, i64 0, i64 0 %28 = call i32 @epoll_wait(i32 noundef %26, ptr noundef %27, i32 noundef 17, i32 noundef 0) %29 = getelementptr inbounds [17 x %struct.epoll_event], ptr %3, i64 0, i64 0 %30 = call i32 @epoll_wait(i32 noundef -1, ptr noundef %29, i32 noundef 17, i32 noundef 0) %31 = load i32, ptr %5, align 4 %32 = call i32 @epoll_wait(i32 noundef %31, ptr noundef inttoptr (i64 -1 to ptr), i32 noundef 17, i32 noundef 0) %33 = load i32, ptr %5, align 4 %34 = getelementptr inbounds [17 x %struct.epoll_event], ptr %3, i64 0, i64 0 %35 = call i32 @epoll_wait(i32 noundef %33, ptr noundef %34, i32 noundef -1, i32 noundef 0) %36 = getelementptr inbounds [17 x %struct.epoll_event], ptr %3, i64 0, i64 0 %37 = call i32 @epoll_wait(i32 noundef -1, ptr noundef %36, i32 noundef 17, i32 noundef -1) %38 = load i32, ptr %5, align 4 %39 = call i32 @close(i32 noundef %38) %40 = call i32 @poll(ptr noundef %4, i32 noundef 1, i32 noundef 0) %41 = call i32 @poll(ptr noundef inttoptr (i64 -1 to ptr), i32 noundef 1, i32 noundef 0) %42 = call i32 @poll(ptr noundef %4, i32 noundef -1, i32 noundef 0) %43 = call i32 @poll(ptr noundef null, i32 noundef 1, i32 noundef -1) 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 @sigemptyset(ptr noundef) #2 declare i32 @sigaddset(ptr noundef, i32 noundef) #2 declare i32 @epoll_create(i32 noundef) #2 declare i32 @epoll_ctl(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #2 declare i32 @epoll_wait(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @close(i32 noundef) #2 declare i32 @poll(ptr noundef, i32 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/tmp8an2vwp7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.pollfd = type { i32, i32, i32 } %struct.timespec = type { i32, i32 } %struct.epoll_event = type { i32 } @__const.main.pfd = private unnamed_addr constant %struct.pollfd { i32 7, i32 35, i32 0 }, align 4 @__const.main.tim = private unnamed_addr constant %struct.timespec { i32 200000000, i32 0 }, align 4 @SIGUSR2 = dso_local global i32 0, align 4 @EPOLL_CTL_ADD = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.epoll_event, align 4 %3 = alloca [17 x %struct.epoll_event], align 16 %4 = alloca %struct.pollfd, align 4 %5 = alloca i32, align 4 %6 = alloca %struct.timespec, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %4, ptr align 4 @__const.main.pfd, i64 12, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 4 %6, ptr align 4 @__const.main.tim, i64 8, i1 false) %8 = call i32 @sigemptyset(ptr noundef %7) %9 = load i32, ptr @SIGUSR2, align 4 %10 = call i32 @sigaddset(ptr noundef %7, i32 noundef %9) %11 = call i32 @epoll_create(i32 noundef 32) store i32 %11, ptr %5, align 4 %12 = call i32 @epoll_create(i32 noundef -1) %13 = load i32, ptr %5, align 4 %14 = load i32, ptr @EPOLL_CTL_ADD, align 4 %15 = call i32 @epoll_ctl(i32 noundef %13, i32 noundef %14, i32 noundef 13, ptr noundef %2) %16 = load i32, ptr @EPOLL_CTL_ADD, align 4 %17 = call i32 @epoll_ctl(i32 noundef -1, i32 noundef %16, i32 noundef 13, ptr noundef %2) %18 = load i32, ptr %5, align 4 %19 = call i32 @epoll_ctl(i32 noundef %18, i32 noundef -1, i32 noundef 13, ptr noundef %2) %20 = load i32, ptr %5, align 4 %21 = load i32, ptr @EPOLL_CTL_ADD, align 4 %22 = call i32 @epoll_ctl(i32 noundef %20, i32 noundef %21, i32 noundef -1, ptr noundef %2) %23 = load i32, ptr %5, align 4 %24 = load i32, ptr @EPOLL_CTL_ADD, align 4 %25 = call i32 @epoll_ctl(i32 noundef %23, i32 noundef %24, i32 noundef 13, ptr noundef inttoptr (i64 -1 to ptr)) %26 = load i32, ptr %5, align 4 %27 = getelementptr inbounds [17 x %struct.epoll_event], ptr %3, i64 0, i64 0 %28 = call i32 @epoll_wait(i32 noundef %26, ptr noundef %27, i32 noundef 17, i32 noundef 0) %29 = getelementptr inbounds [17 x %struct.epoll_event], ptr %3, i64 0, i64 0 %30 = call i32 @epoll_wait(i32 noundef -1, ptr noundef %29, i32 noundef 17, i32 noundef 0) %31 = load i32, ptr %5, align 4 %32 = call i32 @epoll_wait(i32 noundef %31, ptr noundef inttoptr (i64 -1 to ptr), i32 noundef 17, i32 noundef 0) %33 = load i32, ptr %5, align 4 %34 = getelementptr inbounds [17 x %struct.epoll_event], ptr %3, i64 0, i64 0 %35 = call i32 @epoll_wait(i32 noundef %33, ptr noundef %34, i32 noundef -1, i32 noundef 0) %36 = getelementptr inbounds [17 x %struct.epoll_event], ptr %3, i64 0, i64 0 %37 = call i32 @epoll_wait(i32 noundef -1, ptr noundef %36, i32 noundef 17, i32 noundef -1) %38 = load i32, ptr %5, align 4 %39 = call i32 @close(i32 noundef %38) %40 = call i32 @poll(ptr noundef %4, i32 noundef 1, i32 noundef 0) %41 = call i32 @poll(ptr noundef inttoptr (i64 -1 to ptr), i32 noundef 1, i32 noundef 0) %42 = call i32 @poll(ptr noundef %4, i32 noundef -1, i32 noundef 0) %43 = call i32 @poll(ptr noundef null, i32 noundef 1, i32 noundef -1) 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 @sigemptyset(ptr noundef) #2 declare i32 @sigaddset(ptr noundef, i32 noundef) #2 declare i32 @epoll_create(i32 noundef) #2 declare i32 @epoll_ctl(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #2 declare i32 @epoll_wait(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @close(i32 noundef) #2 declare i32 @poll(ptr noundef, i32 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/tmpb64_7bhu.c' source_filename = "/tmp/tmpb64_7bhu.c" target datalayout = "e-m:e-p270: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/tmpb64_7bhu.c" target datalayout = "e-m:e-p270: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/tmpw8771urj.c' source_filename = "/tmp/tmpw8771urj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global 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/tmpw8771urj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global 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/tmpbeowh0v0.c' source_filename = "/tmp/tmpbeowh0v0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trim(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 br label %4 4: ; preds = %9, %1 %5 = load ptr, ptr %2, align 8 %6 = load i8, ptr %5, align 1 %7 = call i64 @isspace(i8 noundef signext %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %4 %10 = load ptr, ptr %2, align 8 %11 = getelementptr inbounds i8, ptr %10, i32 1 store ptr %11, ptr %2, align 8 br label %4, !llvm.loop !6 12: ; preds = %4 %13 = load ptr, ptr %2, align 8 %14 = load ptr, ptr %2, align 8 %15 = call i32 @strlen(ptr noundef %14) %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %13, i64 %16 %18 = getelementptr inbounds i8, ptr %17, i64 -1 store ptr %18, ptr %3, align 8 br label %19 19: ; preds = %32, %12 %20 = load ptr, ptr %3, align 8 %21 = load ptr, ptr %2, align 8 %22 = icmp uge ptr %20, %21 br i1 %22, label %23, label %35 23: ; preds = %19 %24 = load ptr, ptr %3, align 8 %25 = load i8, ptr %24, align 1 %26 = call i64 @isspace(i8 noundef signext %25) %27 = icmp ne i64 %26, 0 br i1 %27, label %32, label %28 28: ; preds = %23 %29 = load ptr, ptr %3, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 1 store ptr %30, ptr %3, align 8 %31 = load ptr, ptr %3, align 8 store i8 0, ptr %31, align 1 br label %35 32: ; preds = %23 %33 = load ptr, ptr %3, align 8 %34 = getelementptr inbounds i8, ptr %33, i32 -1 store ptr %34, ptr %3, align 8 br label %19, !llvm.loop !8 35: ; preds = %28, %19 %36 = load ptr, ptr %2, align 8 ret ptr %36 } declare i64 @isspace(i8 noundef signext) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbeowh0v0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trim(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = load i8, ptr %4, align 1 %6 = call i64 @isspace(i8 noundef signext %5) %7 = icmp ne i64 %6, 0 br i1 %7, label %.lr.ph, label %15 .lr.ph: ; preds = %1 br label %8 8: ; preds = %.lr.ph, %8 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds i8, ptr %9, i32 1 store ptr %10, ptr %2, align 8 %11 = load ptr, ptr %2, align 8 %12 = load i8, ptr %11, align 1 %13 = call i64 @isspace(i8 noundef signext %12) %14 = icmp ne i64 %13, 0 br i1 %14, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %8 br label %15 15: ; preds = %._crit_edge, %1 %16 = load ptr, ptr %2, align 8 %17 = load ptr, ptr %2, align 8 %18 = call i32 @strlen(ptr noundef %17) %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %16, i64 %19 %21 = getelementptr inbounds i8, ptr %20, i64 -1 store ptr %21, ptr %3, align 8 %22 = load ptr, ptr %3, align 8 %23 = load ptr, ptr %2, align 8 %24 = icmp uge ptr %22, %23 br i1 %24, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %15 br label %25 25: ; preds = %.lr.ph2, %34 %26 = load ptr, ptr %3, align 8 %27 = load i8, ptr %26, align 1 %28 = call i64 @isspace(i8 noundef signext %27) %29 = icmp ne i64 %28, 0 br i1 %29, label %34, label %30 30: ; preds = %25 %31 = load ptr, ptr %3, align 8 %32 = getelementptr inbounds i8, ptr %31, i32 1 store ptr %32, ptr %3, align 8 %33 = load ptr, ptr %3, align 8 store i8 0, ptr %33, align 1 br label %40 34: ; preds = %25 %35 = load ptr, ptr %3, align 8 %36 = getelementptr inbounds i8, ptr %35, i32 -1 store ptr %36, ptr %3, align 8 %37 = load ptr, ptr %3, align 8 %38 = load ptr, ptr %2, align 8 %39 = icmp uge ptr %37, %38 br i1 %39, label %25, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %34 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %15 br label %40 40: ; preds = %.loopexit, %30 %41 = load ptr, ptr %2, align 8 ret ptr %41 } declare i64 @isspace(i8 noundef signext) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmph_awvia1.c' source_filename = "/tmp/tmph_awvia1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mx_BHBt_sym(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr %4, align 4 %14 = mul i32 %12, %13 %15 = zext i32 %14 to i64 %16 = mul i64 %15, 8 %17 = trunc i64 %16 to i32 %18 = call ptr @malloc(i32 noundef %17) store ptr %18, ptr %11, align 8 %19 = load ptr, ptr %11, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %23, label %21 21: ; preds = %3 %22 = call i32 (...) @abort() #4 unreachable 23: ; preds = %3 store i32 0, ptr %7, align 4 br label %24 24: ; preds = %101, %23 %25 = load i32, ptr %7, align 4 %26 = load i32, ptr %4, align 4 %27 = icmp ult i32 %25, %26 br i1 %27, label %28, label %104 28: ; preds = %24 store i32 0, ptr %8, align 4 br label %29 29: ; preds = %97, %28 %30 = load i32, ptr %8, align 4 %31 = load i32, ptr %4, align 4 %32 = icmp ult i32 %30, %31 br i1 %32, label %33, label %100 33: ; preds = %29 store double 0.000000e+00, ptr %10, align 8 store i32 0, ptr %9, align 4 br label %34 34: ; preds = %56, %33 %35 = load i32, ptr %9, align 4 %36 = load i32, ptr %8, align 4 %37 = icmp ule i32 %35, %36 br i1 %37, label %38, label %59 38: ; preds = %34 %39 = load ptr, ptr %6, align 8 %40 = load i32, ptr %7, align 4 %41 = load i32, ptr %4, align 4 %42 = mul i32 %40, %41 %43 = load i32, ptr %9, align 4 %44 = add i32 %42, %43 %45 = zext i32 %44 to i64 %46 = getelementptr inbounds double, ptr %39, i64 %45 %47 = load double, ptr %46, align 8 %48 = load ptr, ptr %5, align 8 %49 = load i32, ptr %9, align 4 %50 = load i32, ptr %8, align 4 %51 = call i64 @mpos(i32 noundef %49, i32 noundef %50) %52 = getelementptr inbounds double, ptr %48, i64 %51 %53 = load double, ptr %52, align 8 %54 = load double, ptr %10, align 8 %55 = call double @llvm.fmuladd.f64(double %47, double %53, double %54) store double %55, ptr %10, align 8 br label %56 56: ; preds = %38 %57 = load i32, ptr %9, align 4 %58 = add i32 %57, 1 store i32 %58, ptr %9, align 4 br label %34, !llvm.loop !6 59: ; preds = %34 %60 = load i32, ptr %8, align 4 %61 = add i32 %60, 1 store i32 %61, ptr %9, align 4 br label %62 62: ; preds = %84, %59 %63 = load i32, ptr %9, align 4 %64 = load i32, ptr %4, align 4 %65 = icmp ult i32 %63, %64 br i1 %65, label %66, label %87 66: ; preds = %62 %67 = load ptr, ptr %6, align 8 %68 = load i32, ptr %7, align 4 %69 = load i32, ptr %4, align 4 %70 = mul i32 %68, %69 %71 = load i32, ptr %9, align 4 %72 = add i32 %70, %71 %73 = zext i32 %72 to i64 %74 = getelementptr inbounds double, ptr %67, i64 %73 %75 = load double, ptr %74, align 8 %76 = load ptr, ptr %5, align 8 %77 = load i32, ptr %8, align 4 %78 = load i32, ptr %9, align 4 %79 = call i64 @mpos(i32 noundef %77, i32 noundef %78) %80 = getelementptr inbounds double, ptr %76, i64 %79 %81 = load double, ptr %80, align 8 %82 = load double, ptr %10, align 8 %83 = call double @llvm.fmuladd.f64(double %75, double %81, double %82) store double %83, ptr %10, align 8 br label %84 84: ; preds = %66 %85 = load i32, ptr %9, align 4 %86 = add i32 %85, 1 store i32 %86, ptr %9, align 4 br label %62, !llvm.loop !8 87: ; preds = %62 %88 = load double, ptr %10, align 8 %89 = load ptr, ptr %11, align 8 %90 = load i32, ptr %7, align 4 %91 = load i32, ptr %4, align 4 %92 = mul i32 %90, %91 %93 = load i32, ptr %8, align 4 %94 = add i32 %92, %93 %95 = zext i32 %94 to i64 %96 = getelementptr inbounds double, ptr %89, i64 %95 store double %88, ptr %96, align 8 br label %97 97: ; preds = %87 %98 = load i32, ptr %8, align 4 %99 = add i32 %98, 1 store i32 %99, ptr %8, align 4 br label %29, !llvm.loop !9 100: ; preds = %29 br label %101 101: ; preds = %100 %102 = load i32, ptr %7, align 4 %103 = add i32 %102, 1 store i32 %103, ptr %7, align 4 br label %24, !llvm.loop !10 104: ; preds = %24 store i32 0, ptr %7, align 4 br label %105 105: ; preds = %155, %104 %106 = load i32, ptr %7, align 4 %107 = load i32, ptr %4, align 4 %108 = icmp ult i32 %106, %107 br i1 %108, label %109, label %158 109: ; preds = %105 %110 = load i32, ptr %7, align 4 store i32 %110, ptr %8, align 4 br label %111 111: ; preds = %151, %109 %112 = load i32, ptr %8, align 4 %113 = load i32, ptr %4, align 4 %114 = icmp ult i32 %112, %113 br i1 %114, label %115, label %154 115: ; preds = %111 store double 0.000000e+00, ptr %10, align 8 store i32 0, ptr %9, align 4 br label %116 116: ; preds = %141, %115 %117 = load i32, ptr %9, align 4 %118 = load i32, ptr %4, align 4 %119 = icmp ult i32 %117, %118 br i1 %119, label %120, label %144 120: ; preds = %116 %121 = load ptr, ptr %6, align 8 %122 = load i32, ptr %7, align 4 %123 = load i32, ptr %4, align 4 %124 = mul i32 %122, %123 %125 = load i32, ptr %9, align 4 %126 = add i32 %124, %125 %127 = zext i32 %126 to i64 %128 = getelementptr inbounds double, ptr %121, i64 %127 %129 = load double, ptr %128, align 8 %130 = load ptr, ptr %11, align 8 %131 = load i32, ptr %8, align 4 %132 = load i32, ptr %4, align 4 %133 = mul i32 %131, %132 %134 = load i32, ptr %9, align 4 %135 = add i32 %133, %134 %136 = zext i32 %135 to i64 %137 = getelementptr inbounds double, ptr %130, i64 %136 %138 = load double, ptr %137, align 8 %139 = load double, ptr %10, align 8 %140 = call double @llvm.fmuladd.f64(double %129, double %138, double %139) store double %140, ptr %10, align 8 br label %141 141: ; preds = %120 %142 = load i32, ptr %9, align 4 %143 = add i32 %142, 1 store i32 %143, ptr %9, align 4 br label %116, !llvm.loop !11 144: ; preds = %116 %145 = load double, ptr %10, align 8 %146 = load ptr, ptr %5, align 8 %147 = load i32, ptr %7, align 4 %148 = load i32, ptr %8, align 4 %149 = call i64 @mpos(i32 noundef %147, i32 noundef %148) %150 = getelementptr inbounds double, ptr %146, i64 %149 store double %145, ptr %150, align 8 br label %151 151: ; preds = %144 %152 = load i32, ptr %8, align 4 %153 = add i32 %152, 1 store i32 %153, ptr %8, align 4 br label %111, !llvm.loop !12 154: ; preds = %111 br label %155 155: ; preds = %154 %156 = load i32, ptr %7, align 4 %157 = add i32 %156, 1 store i32 %157, ptr %7, align 4 br label %105, !llvm.loop !13 158: ; preds = %105 %159 = load ptr, ptr %11, align 8 %160 = call i32 @free(ptr noundef %159) ret void } declare ptr @malloc(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 declare i64 @mpos(i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph_awvia1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mx_BHBt_sym(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr %4, align 4 %14 = mul i32 %12, %13 %15 = zext i32 %14 to i64 %16 = mul i64 %15, 8 %17 = trunc i64 %16 to i32 %18 = call ptr @malloc(i32 noundef %17) store ptr %18, ptr %11, align 8 %19 = load ptr, ptr %11, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %23, label %21 21: ; preds = %3 %22 = call i32 (...) @abort() #4 unreachable 23: ; preds = %3 store i32 0, ptr %7, align 4 %24 = load i32, ptr %7, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp ult i32 %24, %25 br i1 %26, label %.lr.ph8, label %112 .lr.ph8: ; preds = %23 br label %27 27: ; preds = %.lr.ph8, %106 store i32 0, ptr %8, align 4 %28 = load i32, ptr %8, align 4 %29 = load i32, ptr %4, align 4 %30 = icmp ult i32 %28, %29 br i1 %30, label %.lr.ph5, label %105 .lr.ph5: ; preds = %27 br label %31 31: ; preds = %.lr.ph5, %99 store double 0.000000e+00, ptr %10, align 8 store i32 0, ptr %9, align 4 %32 = load i32, ptr %9, align 4 %33 = load i32, ptr %8, align 4 %34 = icmp ule i32 %32, %33 br i1 %34, label %.lr.ph, label %59 .lr.ph: ; preds = %31 br label %35 35: ; preds = %.lr.ph, %53 %36 = load ptr, ptr %6, align 8 %37 = load i32, ptr %7, align 4 %38 = load i32, ptr %4, align 4 %39 = mul i32 %37, %38 %40 = load i32, ptr %9, align 4 %41 = add i32 %39, %40 %42 = zext i32 %41 to i64 %43 = getelementptr inbounds double, ptr %36, i64 %42 %44 = load double, ptr %43, align 8 %45 = load ptr, ptr %5, align 8 %46 = load i32, ptr %9, align 4 %47 = load i32, ptr %8, align 4 %48 = call i64 @mpos(i32 noundef %46, i32 noundef %47) %49 = getelementptr inbounds double, ptr %45, i64 %48 %50 = load double, ptr %49, align 8 %51 = load double, ptr %10, align 8 %52 = call double @llvm.fmuladd.f64(double %44, double %50, double %51) store double %52, ptr %10, align 8 br label %53 53: ; preds = %35 %54 = load i32, ptr %9, align 4 %55 = add i32 %54, 1 store i32 %55, ptr %9, align 4 %56 = load i32, ptr %9, align 4 %57 = load i32, ptr %8, align 4 %58 = icmp ule i32 %56, %57 br i1 %58, label %35, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %53 br label %59 59: ; preds = %._crit_edge, %31 %60 = load i32, ptr %8, align 4 %61 = add i32 %60, 1 store i32 %61, ptr %9, align 4 %62 = load i32, ptr %9, align 4 %63 = load i32, ptr %4, align 4 %64 = icmp ult i32 %62, %63 br i1 %64, label %.lr.ph2, label %89 .lr.ph2: ; preds = %59 br label %65 65: ; preds = %.lr.ph2, %83 %66 = load ptr, ptr %6, align 8 %67 = load i32, ptr %7, align 4 %68 = load i32, ptr %4, align 4 %69 = mul i32 %67, %68 %70 = load i32, ptr %9, align 4 %71 = add i32 %69, %70 %72 = zext i32 %71 to i64 %73 = getelementptr inbounds double, ptr %66, i64 %72 %74 = load double, ptr %73, align 8 %75 = load ptr, ptr %5, align 8 %76 = load i32, ptr %8, align 4 %77 = load i32, ptr %9, align 4 %78 = call i64 @mpos(i32 noundef %76, i32 noundef %77) %79 = getelementptr inbounds double, ptr %75, i64 %78 %80 = load double, ptr %79, align 8 %81 = load double, ptr %10, align 8 %82 = call double @llvm.fmuladd.f64(double %74, double %80, double %81) store double %82, ptr %10, align 8 br label %83 83: ; preds = %65 %84 = load i32, ptr %9, align 4 %85 = add i32 %84, 1 store i32 %85, ptr %9, align 4 %86 = load i32, ptr %9, align 4 %87 = load i32, ptr %4, align 4 %88 = icmp ult i32 %86, %87 br i1 %88, label %65, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %83 br label %89 89: ; preds = %._crit_edge3, %59 %90 = load double, ptr %10, align 8 %91 = load ptr, ptr %11, align 8 %92 = load i32, ptr %7, align 4 %93 = load i32, ptr %4, align 4 %94 = mul i32 %92, %93 %95 = load i32, ptr %8, align 4 %96 = add i32 %94, %95 %97 = zext i32 %96 to i64 %98 = getelementptr inbounds double, ptr %91, i64 %97 store double %90, ptr %98, align 8 br label %99 99: ; preds = %89 %100 = load i32, ptr %8, align 4 %101 = add i32 %100, 1 store i32 %101, ptr %8, align 4 %102 = load i32, ptr %8, align 4 %103 = load i32, ptr %4, align 4 %104 = icmp ult i32 %102, %103 br i1 %104, label %31, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %99 br label %105 105: ; preds = %._crit_edge6, %27 br label %106 106: ; preds = %105 %107 = load i32, ptr %7, align 4 %108 = add i32 %107, 1 store i32 %108, ptr %7, align 4 %109 = load i32, ptr %7, align 4 %110 = load i32, ptr %4, align 4 %111 = icmp ult i32 %109, %110 br i1 %111, label %27, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %106 br label %112 112: ; preds = %._crit_edge9, %23 store i32 0, ptr %7, align 4 %113 = load i32, ptr %7, align 4 %114 = load i32, ptr %4, align 4 %115 = icmp ult i32 %113, %114 br i1 %115, label %.lr.ph17, label %172 .lr.ph17: ; preds = %112 br label %116 116: ; preds = %.lr.ph17, %166 %117 = load i32, ptr %7, align 4 store i32 %117, ptr %8, align 4 %118 = load i32, ptr %8, align 4 %119 = load i32, ptr %4, align 4 %120 = icmp ult i32 %118, %119 br i1 %120, label %.lr.ph14, label %165 .lr.ph14: ; preds = %116 br label %121 121: ; preds = %.lr.ph14, %159 store double 0.000000e+00, ptr %10, align 8 store i32 0, ptr %9, align 4 %122 = load i32, ptr %9, align 4 %123 = load i32, ptr %4, align 4 %124 = icmp ult i32 %122, %123 br i1 %124, label %.lr.ph11, label %152 .lr.ph11: ; preds = %121 br label %125 125: ; preds = %.lr.ph11, %146 %126 = load ptr, ptr %6, align 8 %127 = load i32, ptr %7, align 4 %128 = load i32, ptr %4, align 4 %129 = mul i32 %127, %128 %130 = load i32, ptr %9, align 4 %131 = add i32 %129, %130 %132 = zext i32 %131 to i64 %133 = getelementptr inbounds double, ptr %126, i64 %132 %134 = load double, ptr %133, align 8 %135 = load ptr, ptr %11, align 8 %136 = load i32, ptr %8, align 4 %137 = load i32, ptr %4, align 4 %138 = mul i32 %136, %137 %139 = load i32, ptr %9, align 4 %140 = add i32 %138, %139 %141 = zext i32 %140 to i64 %142 = getelementptr inbounds double, ptr %135, i64 %141 %143 = load double, ptr %142, align 8 %144 = load double, ptr %10, align 8 %145 = call double @llvm.fmuladd.f64(double %134, double %143, double %144) store double %145, ptr %10, align 8 br label %146 146: ; preds = %125 %147 = load i32, ptr %9, align 4 %148 = add i32 %147, 1 store i32 %148, ptr %9, align 4 %149 = load i32, ptr %9, align 4 %150 = load i32, ptr %4, align 4 %151 = icmp ult i32 %149, %150 br i1 %151, label %125, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %146 br label %152 152: ; preds = %._crit_edge12, %121 %153 = load double, ptr %10, align 8 %154 = load ptr, ptr %5, align 8 %155 = load i32, ptr %7, align 4 %156 = load i32, ptr %8, align 4 %157 = call i64 @mpos(i32 noundef %155, i32 noundef %156) %158 = getelementptr inbounds double, ptr %154, i64 %157 store double %153, ptr %158, align 8 br label %159 159: ; preds = %152 %160 = load i32, ptr %8, align 4 %161 = add i32 %160, 1 store i32 %161, ptr %8, align 4 %162 = load i32, ptr %8, align 4 %163 = load i32, ptr %4, align 4 %164 = icmp ult i32 %162, %163 br i1 %164, label %121, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %159 br label %165 165: ; preds = %._crit_edge15, %116 br label %166 166: ; preds = %165 %167 = load i32, ptr %7, align 4 %168 = add i32 %167, 1 store i32 %168, ptr %7, align 4 %169 = load i32, ptr %7, align 4 %170 = load i32, ptr %4, align 4 %171 = icmp ult i32 %169, %170 br i1 %171, label %116, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %166 br label %172 172: ; preds = %._crit_edge18, %112 %173 = load ptr, ptr %11, align 8 %174 = call i32 @free(ptr noundef %173) ret void } declare ptr @malloc(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 declare i64 @mpos(i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7}
; ModuleID = '/tmp/tmp6nm1p2wg.c' source_filename = "/tmp/tmp6nm1p2wg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @batman_brdconfig(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 switch i32 %6, label %9 [ i32 115, label %7 i32 117, label %8 ] 7: ; preds = %2 store i32 255, ptr %3, align 4 br label %10 8: ; preds = %2 store i32 223, ptr %3, align 4 br label %10 9: ; preds = %2 store i32 0, ptr %3, align 4 br label %10 10: ; preds = %9, %8, %7 %11 = load i32, ptr %3, align 4 ret i32 %11 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6nm1p2wg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @batman_brdconfig(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 switch i32 %6, label %9 [ i32 115, label %7 i32 117, label %8 ] 7: ; preds = %2 store i32 255, ptr %3, align 4 br label %10 8: ; preds = %2 store i32 223, ptr %3, align 4 br label %10 9: ; preds = %2 store i32 0, ptr %3, align 4 br label %10 10: ; preds = %9, %8, %7 %11 = load i32, ptr %3, align 4 ret i32 %11 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvczxsi5p.c' source_filename = "/tmp/tmpvczxsi5p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_tolower(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 br label %3 3: ; preds = %14, %1 %4 = load ptr, ptr %2, align 8 %5 = load i8, ptr %4, align 1 %6 = icmp ne i8 %5, 0 br i1 %6, label %7, label %17 7: ; preds = %3 %8 = load ptr, ptr %2, align 8 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = call i64 @tolower(i32 noundef %10) %12 = trunc i64 %11 to i8 %13 = load ptr, ptr %2, align 8 store i8 %12, ptr %13, align 1 br label %14 14: ; preds = %7 %15 = load ptr, ptr %2, align 8 %16 = getelementptr inbounds i8, ptr %15, i32 1 store ptr %16, ptr %2, align 8 br label %3, !llvm.loop !6 17: ; preds = %3 ret void } declare i64 @tolower(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/tmpvczxsi5p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_tolower(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i8, ptr %3, align 1 %5 = icmp ne i8 %4, 0 br i1 %5, label %.lr.ph, label %19 .lr.ph: ; preds = %1 br label %6 6: ; preds = %.lr.ph, %13 %7 = load ptr, ptr %2, align 8 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = call i64 @tolower(i32 noundef %9) %11 = trunc i64 %10 to i8 %12 = load ptr, ptr %2, align 8 store i8 %11, ptr %12, align 1 br label %13 13: ; preds = %6 %14 = load ptr, ptr %2, align 8 %15 = getelementptr inbounds i8, ptr %14, i32 1 store ptr %15, ptr %2, align 8 %16 = load ptr, ptr %2, align 8 %17 = load i8, ptr %16, align 1 %18 = icmp ne i8 %17, 0 br i1 %18, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %19 19: ; preds = %._crit_edge, %1 ret void } declare i64 @tolower(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/tmp78wgiw1w.c' source_filename = "/tmp/tmp78wgiw1w.c" target datalayout = "e-m:e-p270: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" in file %s, line %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [142 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/fraxtil/cfrax/refs/heads/master/tests/test_vector.c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_vector() #0 { %1 = alloca i32, align 4 br label %2 2: ; preds = %0 %3 = call i64 (...) @test_vector_typeof() %4 = icmp ne i64 %3, 0 br i1 %4, label %5, label %8 5: ; preds = %2 %6 = load i32, ptr @stderr, align 4 %7 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 251) store i32 251, ptr %1, align 4 br label %67 8: ; preds = %2 br label %9 9: ; preds = %8 br label %10 10: ; preds = %9 %11 = call i64 (...) @test_vector_is_point() %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %10 %14 = load i32, ptr @stderr, align 4 %15 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 252) store i32 252, ptr %1, align 4 br label %67 16: ; preds = %10 br label %17 17: ; preds = %16 br label %18 18: ; preds = %17 %19 = call i64 (...) @test_vector_is_line() %20 = icmp ne i64 %19, 0 br i1 %20, label %21, label %24 21: ; preds = %18 %22 = load i32, ptr @stderr, align 4 %23 = call i32 @fprintf(i32 noundef %22, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 253) store i32 253, ptr %1, align 4 br label %67 24: ; preds = %18 br label %25 25: ; preds = %24 br label %26 26: ; preds = %25 %27 = call i64 (...) @test_vector_is_face() %28 = icmp ne i64 %27, 0 br i1 %28, label %29, label %32 29: ; preds = %26 %30 = load i32, ptr @stderr, align 4 %31 = call i32 @fprintf(i32 noundef %30, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 254) store i32 254, ptr %1, align 4 br label %67 32: ; preds = %26 br label %33 33: ; preds = %32 br label %34 34: ; preds = %33 %35 = call i64 (...) @test_vector_point() %36 = icmp ne i64 %35, 0 br i1 %36, label %37, label %40 37: ; preds = %34 %38 = load i32, ptr @stderr, align 4 %39 = call i32 @fprintf(i32 noundef %38, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 255) store i32 255, ptr %1, align 4 br label %67 40: ; preds = %34 br label %41 41: ; preds = %40 br label %42 42: ; preds = %41 %43 = call i64 (...) @test_vector_line() %44 = icmp ne i64 %43, 0 br i1 %44, label %45, label %48 45: ; preds = %42 %46 = load i32, ptr @stderr, align 4 %47 = call i32 @fprintf(i32 noundef %46, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 256) store i32 256, ptr %1, align 4 br label %67 48: ; preds = %42 br label %49 49: ; preds = %48 br label %50 50: ; preds = %49 %51 = call i64 (...) @test_vector_face() %52 = icmp ne i64 %51, 0 br i1 %52, label %53, label %56 53: ; preds = %50 %54 = load i32, ptr @stderr, align 4 %55 = call i32 @fprintf(i32 noundef %54, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 257) store i32 257, ptr %1, align 4 br label %67 56: ; preds = %50 br label %57 57: ; preds = %56 br label %58 58: ; preds = %57 %59 = call i64 (...) @test_vector_scale() %60 = icmp ne i64 %59, 0 br i1 %60, label %61, label %64 61: ; preds = %58 %62 = load i32, ptr @stderr, align 4 %63 = call i32 @fprintf(i32 noundef %62, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 258) store i32 258, ptr %1, align 4 br label %67 64: ; preds = %58 br label %65 65: ; preds = %64 br label %66 66: ; preds = %65 store i32 0, ptr %1, align 4 br label %67 67: ; preds = %5, %13, %21, %29, %37, %45, %53, %61, %66 %68 = load i32, ptr %1, align 4 ret i32 %68 } declare i64 @test_vector_typeof(...) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @test_vector_is_point(...) #1 declare i64 @test_vector_is_line(...) #1 declare i64 @test_vector_is_face(...) #1 declare i64 @test_vector_point(...) #1 declare i64 @test_vector_line(...) #1 declare i64 @test_vector_face(...) #1 declare i64 @test_vector_scale(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp78wgiw1w.c" target datalayout = "e-m:e-p270: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" in file %s, line %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [142 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/fraxtil/cfrax/refs/heads/master/tests/test_vector.c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_vector() #0 { %1 = alloca i32, align 4 br label %2 2: ; preds = %0 %3 = call i64 (...) @test_vector_typeof() %4 = icmp ne i64 %3, 0 br i1 %4, label %5, label %8 5: ; preds = %2 %6 = load i32, ptr @stderr, align 4 %7 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 251) store i32 251, ptr %1, align 4 br label %67 8: ; preds = %2 br label %9 9: ; preds = %8 br label %10 10: ; preds = %9 %11 = call i64 (...) @test_vector_is_point() %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %10 %14 = load i32, ptr @stderr, align 4 %15 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 252) store i32 252, ptr %1, align 4 br label %67 16: ; preds = %10 br label %17 17: ; preds = %16 br label %18 18: ; preds = %17 %19 = call i64 (...) @test_vector_is_line() %20 = icmp ne i64 %19, 0 br i1 %20, label %21, label %24 21: ; preds = %18 %22 = load i32, ptr @stderr, align 4 %23 = call i32 @fprintf(i32 noundef %22, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 253) store i32 253, ptr %1, align 4 br label %67 24: ; preds = %18 br label %25 25: ; preds = %24 br label %26 26: ; preds = %25 %27 = call i64 (...) @test_vector_is_face() %28 = icmp ne i64 %27, 0 br i1 %28, label %29, label %32 29: ; preds = %26 %30 = load i32, ptr @stderr, align 4 %31 = call i32 @fprintf(i32 noundef %30, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 254) store i32 254, ptr %1, align 4 br label %67 32: ; preds = %26 br label %33 33: ; preds = %32 br label %34 34: ; preds = %33 %35 = call i64 (...) @test_vector_point() %36 = icmp ne i64 %35, 0 br i1 %36, label %37, label %40 37: ; preds = %34 %38 = load i32, ptr @stderr, align 4 %39 = call i32 @fprintf(i32 noundef %38, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 255) store i32 255, ptr %1, align 4 br label %67 40: ; preds = %34 br label %41 41: ; preds = %40 br label %42 42: ; preds = %41 %43 = call i64 (...) @test_vector_line() %44 = icmp ne i64 %43, 0 br i1 %44, label %45, label %48 45: ; preds = %42 %46 = load i32, ptr @stderr, align 4 %47 = call i32 @fprintf(i32 noundef %46, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 256) store i32 256, ptr %1, align 4 br label %67 48: ; preds = %42 br label %49 49: ; preds = %48 br label %50 50: ; preds = %49 %51 = call i64 (...) @test_vector_face() %52 = icmp ne i64 %51, 0 br i1 %52, label %53, label %56 53: ; preds = %50 %54 = load i32, ptr @stderr, align 4 %55 = call i32 @fprintf(i32 noundef %54, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 257) store i32 257, ptr %1, align 4 br label %67 56: ; preds = %50 br label %57 57: ; preds = %56 br label %58 58: ; preds = %57 %59 = call i64 (...) @test_vector_scale() %60 = icmp ne i64 %59, 0 br i1 %60, label %61, label %64 61: ; preds = %58 %62 = load i32, ptr @stderr, align 4 %63 = call i32 @fprintf(i32 noundef %62, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 258) store i32 258, ptr %1, align 4 br label %67 64: ; preds = %58 br label %65 65: ; preds = %64 br label %66 66: ; preds = %65 store i32 0, ptr %1, align 4 br label %67 67: ; preds = %66, %61, %53, %45, %37, %29, %21, %13, %5 %68 = load i32, ptr %1, align 4 ret i32 %68 } declare i64 @test_vector_typeof(...) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @test_vector_is_point(...) #1 declare i64 @test_vector_is_line(...) #1 declare i64 @test_vector_is_face(...) #1 declare i64 @test_vector_point(...) #1 declare i64 @test_vector_line(...) #1 declare i64 @test_vector_face(...) #1 declare i64 @test_vector_scale(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmucken9d.c' source_filename = "/tmp/tmpmucken9d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"Digite o n\C3\BAmero: \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"%d x %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 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 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7) br label %10 10: ; preds = %13, %2 %11 = load i32, ptr %6, align 4 %12 = icmp sle i32 %11, 10 br i1 %12, label %13, label %22 13: ; preds = %10 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %6, align 4 %16 = load i32, ptr %7, align 4 %17 = load i32, ptr %6, align 4 %18 = mul nsw i32 %16, %17 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %14, i32 noundef %15, i32 noundef %18) %20 = load i32, ptr %6, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %6, align 4 br label %10, !llvm.loop !6 22: ; preds = %10 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmucken9d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"Digite o n\C3\BAmero: \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"%d x %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 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 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7) %10 = load i32, ptr %6, align 4 %11 = icmp sle i32 %10, 10 br i1 %11, label %.lr.ph, label %23 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %12 %13 = load i32, ptr %7, align 4 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %6, align 4 %17 = mul nsw i32 %15, %16 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13, i32 noundef %14, i32 noundef %17) %19 = load i32, ptr %6, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %6, align 4 %21 = load i32, ptr %6, align 4 %22 = icmp sle i32 %21, 10 br i1 %22, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %23 23: ; preds = %._crit_edge, %2 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpee7ttenl.c' source_filename = "/tmp/tmpee7ttenl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chkp_test(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 @__builtin___bnd_set_ptr_bounds(ptr noundef %3, i32 noundef 10) ret ptr %4 } declare ptr @__builtin___bnd_set_ptr_bounds(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/tmpee7ttenl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chkp_test(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 @__builtin___bnd_set_ptr_bounds(ptr noundef %3, i32 noundef 10) ret ptr %4 } declare ptr @__builtin___bnd_set_ptr_bounds(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/tmpri7_7bli.c' source_filename = "/tmp/tmpri7_7bli.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"goto again\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 br label %3 3: ; preds = %3, %0 store i32 1, ptr %2, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @sleep(i32 noundef 1) br label %3 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpri7_7bli.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"goto again\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 br label %3 3: ; preds = %3, %0 store i32 1, ptr %2, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @sleep(i32 noundef 1) br label %3 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5chilw7q.c' source_filename = "/tmp/tmp5chilw7q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fpu_handler:\09you should see this message only once.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fpu_interrupt_handler() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5chilw7q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fpu_handler:\09you should see this message only once.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fpu_interrupt_handler() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7akr_d43.c' source_filename = "/tmp/tmp7akr_d43.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"--nodaemon\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"-n\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"%s: log to stderr.\0A\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"conf file err\0A\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"drcomd\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %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 store i32 1, ptr %7, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp sgt i32 %10, 2 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = call i32 (...) @usage() br label %14 14: ; preds = %12, %2 store i32 1, ptr %8, align 4 br label %15 15: ; preds = %38, %14 %16 = load i32, ptr %8, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %41 19: ; preds = %15 %20 = load ptr, ptr %5, align 8 %21 = load i32, ptr %8, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds ptr, ptr %20, i64 %22 %24 = load ptr, ptr %23, align 8 store ptr %24, ptr %9, align 8 %25 = load ptr, ptr %9, align 8 %26 = call i64 @strcmp(ptr noundef %25, ptr noundef @.str) %27 = icmp eq i64 %26, 0 br i1 %27, label %32, label %28 28: ; preds = %19 %29 = load ptr, ptr %9, align 8 %30 = call i64 @strcmp(ptr noundef %29, ptr noundef @.str.1) %31 = icmp eq i64 %30, 0 br i1 %31, label %32, label %37 32: ; preds = %28, %19 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds ptr, ptr %33, i64 0 %35 = load ptr, ptr %34, align 8 %36 = call i32 @printf(ptr noundef @.str.2, ptr noundef %35) store i32 0, ptr %7, align 4 br label %37 37: ; preds = %32, %28 br label %38 38: ; preds = %37 %39 = load i32, ptr %8, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %8, align 4 br label %15, !llvm.loop !6 41: ; preds = %15 %42 = call ptr (...) @drcom_create_handle() store ptr %42, ptr %6, align 8 %43 = load ptr, ptr %6, align 8 %44 = call i64 @drcom_init(ptr noundef %43) %45 = icmp slt i64 %44, 0 br i1 %45, label %46, label %49 46: ; preds = %41 %47 = call i32 @logerr(ptr noundef @.str.3) %48 = call i32 @exit(i32 noundef -1) #3 unreachable 49: ; preds = %41 %50 = call i32 (...) @load_kernel_module() %51 = load i32, ptr %7, align 4 %52 = icmp ne i32 %51, 0 br i1 %52, label %53, label %55 53: ; preds = %49 %54 = call i32 (...) @daemonize() br label %55 55: ; preds = %53, %49 %56 = load i32, ptr %7, align 4 %57 = call i32 @logging_init(ptr noundef @.str.4, i32 noundef %56) %58 = load ptr, ptr %6, align 8 %59 = call i32 @drcomd_daemon(ptr noundef %58) %60 = call i32 (...) @logging_close() ret i32 0 } declare i32 @usage(...) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @drcom_create_handle(...) #1 declare i64 @drcom_init(ptr noundef) #1 declare i32 @logerr(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @load_kernel_module(...) #1 declare i32 @daemonize(...) #1 declare i32 @logging_init(ptr noundef, i32 noundef) #1 declare i32 @drcomd_daemon(ptr noundef) #1 declare i32 @logging_close(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7akr_d43.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"--nodaemon\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"-n\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"%s: log to stderr.\0A\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"conf file err\0A\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"drcomd\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %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 store i32 1, ptr %7, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp sgt i32 %10, 2 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = call i32 (...) @usage() br label %14 14: ; preds = %12, %2 store i32 1, ptr %8, align 4 %15 = load i32, ptr %8, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %43 .lr.ph: ; preds = %14 br label %18 18: ; preds = %.lr.ph, %37 %19 = load ptr, ptr %5, align 8 %20 = load i32, ptr %8, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds ptr, ptr %19, i64 %21 %23 = load ptr, ptr %22, align 8 store ptr %23, ptr %9, align 8 %24 = load ptr, ptr %9, align 8 %25 = call i64 @strcmp(ptr noundef %24, ptr noundef @.str) %26 = icmp eq i64 %25, 0 br i1 %26, label %31, label %27 27: ; preds = %18 %28 = load ptr, ptr %9, align 8 %29 = call i64 @strcmp(ptr noundef %28, ptr noundef @.str.1) %30 = icmp eq i64 %29, 0 br i1 %30, label %31, label %36 31: ; preds = %27, %18 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 0 %34 = load ptr, ptr %33, align 8 %35 = call i32 @printf(ptr noundef @.str.2, ptr noundef %34) store i32 0, ptr %7, align 4 br label %36 36: ; preds = %31, %27 br label %37 37: ; preds = %36 %38 = load i32, ptr %8, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %8, align 4 %40 = load i32, ptr %8, align 4 %41 = load i32, ptr %4, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %37 br label %43 43: ; preds = %._crit_edge, %14 %44 = call ptr (...) @drcom_create_handle() store ptr %44, ptr %6, align 8 %45 = load ptr, ptr %6, align 8 %46 = call i64 @drcom_init(ptr noundef %45) %47 = icmp slt i64 %46, 0 br i1 %47, label %48, label %51 48: ; preds = %43 %49 = call i32 @logerr(ptr noundef @.str.3) %50 = call i32 @exit(i32 noundef -1) #3 unreachable 51: ; preds = %43 %52 = call i32 (...) @load_kernel_module() %53 = load i32, ptr %7, align 4 %54 = icmp ne i32 %53, 0 br i1 %54, label %55, label %57 55: ; preds = %51 %56 = call i32 (...) @daemonize() br label %57 57: ; preds = %55, %51 %58 = load i32, ptr %7, align 4 %59 = call i32 @logging_init(ptr noundef @.str.4, i32 noundef %58) %60 = load ptr, ptr %6, align 8 %61 = call i32 @drcomd_daemon(ptr noundef %60) %62 = call i32 (...) @logging_close() ret i32 0 } declare i32 @usage(...) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @drcom_create_handle(...) #1 declare i64 @drcom_init(ptr noundef) #1 declare i32 @logerr(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @load_kernel_module(...) #1 declare i32 @daemonize(...) #1 declare i32 @logging_init(ptr noundef, i32 noundef) #1 declare i32 @drcomd_daemon(ptr noundef) #1 declare i32 @logging_close(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpdsylgzib.c' source_filename = "/tmp/tmpdsylgzib.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [43 x i8] c"Adj meg egy szamot 1-100-ig(Jelenleg %d): \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @changelevel() #0 { %1 = alloca i32, align 4 %2 = call i32 (...) @getLevel() %3 = call i32 @kiir(ptr noundef @.str, i32 noundef %2) %4 = call i32 @beolv(ptr noundef @.str.1, ptr noundef %1) %5 = load i32, ptr %1, align 4 %6 = icmp sgt i32 %5, 0 br i1 %6, label %7, label %13 7: ; preds = %0 %8 = load i32, ptr %1, align 4 %9 = icmp sle i32 %8, 100 br i1 %9, label %10, label %13 10: ; preds = %7 %11 = load i32, ptr %1, align 4 %12 = call i32 @setLevel(i32 noundef %11) br label %13 13: ; preds = %10, %7, %0 ret i32 1 } declare i32 @kiir(ptr noundef, i32 noundef) #1 declare i32 @getLevel(...) #1 declare i32 @beolv(ptr noundef, ptr noundef) #1 declare i32 @setLevel(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/tmpdsylgzib.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [43 x i8] c"Adj meg egy szamot 1-100-ig(Jelenleg %d): \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @changelevel() #0 { %1 = alloca i32, align 4 %2 = call i32 (...) @getLevel() %3 = call i32 @kiir(ptr noundef @.str, i32 noundef %2) %4 = call i32 @beolv(ptr noundef @.str.1, ptr noundef %1) %5 = load i32, ptr %1, align 4 %6 = icmp sgt i32 %5, 0 br i1 %6, label %7, label %13 7: ; preds = %0 %8 = load i32, ptr %1, align 4 %9 = icmp sle i32 %8, 100 br i1 %9, label %10, label %13 10: ; preds = %7 %11 = load i32, ptr %1, align 4 %12 = call i32 @setLevel(i32 noundef %11) br label %13 13: ; preds = %10, %7, %0 ret i32 1 } declare i32 @kiir(ptr noundef, i32 noundef) #1 declare i32 @getLevel(...) #1 declare i32 @beolv(ptr noundef, ptr noundef) #1 declare i32 @setLevel(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/tmp138_r4_h.c' source_filename = "/tmp/tmp138_r4_h.c" target datalayout = "e-m:e-p270: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/tmp138_r4_h.c" target datalayout = "e-m:e-p270: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/tmphig5aubs.c' source_filename = "/tmp/tmphig5aubs.c" target datalayout = "e-m:e-p270: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/tmphig5aubs.c" target datalayout = "e-m:e-p270: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/tmpfi1f15ob.c' source_filename = "/tmp/tmpfi1f15ob.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [146 x i8] c"STRLEN(3) Linux Programmer's John Smith fuck you ManualRLEN(3)NAME Jame sime i John Smith asdf strlen - calculate text the length of \00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"J* Smi??\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 store ptr @.str, ptr %1, align 8 store ptr @.str.1, ptr %2, align 8 %3 = load ptr, ptr %1, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @scan(ptr noundef %3, ptr noundef %4) ret void } declare i32 @scan(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/tmpfi1f15ob.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [146 x i8] c"STRLEN(3) Linux Programmer's John Smith fuck you ManualRLEN(3)NAME Jame sime i John Smith asdf strlen - calculate text the length of \00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"J* Smi??\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 store ptr @.str, ptr %1, align 8 store ptr @.str.1, ptr %2, align 8 %3 = load ptr, ptr %1, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @scan(ptr noundef %3, ptr noundef %4) ret void } declare i32 @scan(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/tmpn_d1bir5.c' source_filename = "/tmp/tmpn_d1bir5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [13 x i8] c"Write failed\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @misc_write(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 0, ptr %8, align 8 br label %10 10: ; preds = %37, %3 %11 = load i64, ptr %8, align 8 %12 = load i64, ptr %7, align 8 %13 = icmp ult i64 %11, %12 br i1 %13, label %14, label %41 14: ; preds = %10 %15 = load i32, ptr %5, align 4 %16 = load ptr, ptr %6, align 8 %17 = ptrtoint ptr %16 to i64 %18 = load i64, ptr %8, align 8 %19 = add i64 %17, %18 %20 = inttoptr i64 %19 to ptr %21 = load i64, ptr %7, align 8 %22 = load i64, ptr %8, align 8 %23 = sub i64 %21, %22 %24 = call i64 @write(i32 noundef %15, ptr noundef %20, i64 noundef %23) store i64 %24, ptr %9, align 8 %25 = load i64, ptr %9, align 8 %26 = icmp eq i64 %25, -1 br i1 %26, label %27, label %31 27: ; preds = %14 %28 = load i32, ptr @errno, align 4 %29 = call ptr @strerror(i32 noundef %28) %30 = call i32 @error_reason(ptr noundef %29) store i32 -1, ptr %4, align 4 br label %42 31: ; preds = %14 %32 = load i64, ptr %9, align 8 %33 = icmp eq i64 %32, 0 br i1 %33, label %34, label %36 34: ; preds = %31 %35 = call i32 @error_reason(ptr noundef @.str) store i32 -1, ptr %4, align 4 br label %42 36: ; preds = %31 br label %37 37: ; preds = %36 %38 = load i64, ptr %9, align 8 %39 = load i64, ptr %8, align 8 %40 = add i64 %39, %38 store i64 %40, ptr %8, align 8 br label %10, !llvm.loop !6 41: ; preds = %10 store i32 0, ptr %4, align 4 br label %42 42: ; preds = %41, %34, %27 %43 = load i32, ptr %4, align 4 ret i32 %43 } declare i64 @write(i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @error_reason(ptr noundef) #1 declare ptr @strerror(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/tmpn_d1bir5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [13 x i8] c"Write failed\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @misc_write(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 0, ptr %8, align 8 %10 = load i64, ptr %8, align 8 %11 = load i64, ptr %7, align 8 %12 = icmp ult i64 %10, %11 br i1 %12, label %.lr.ph, label %43 .lr.ph: ; preds = %3 br label %13 13: ; preds = %.lr.ph, %36 %14 = load i32, ptr %5, align 4 %15 = load ptr, ptr %6, align 8 %16 = ptrtoint ptr %15 to i64 %17 = load i64, ptr %8, align 8 %18 = add i64 %16, %17 %19 = inttoptr i64 %18 to ptr %20 = load i64, ptr %7, align 8 %21 = load i64, ptr %8, align 8 %22 = sub i64 %20, %21 %23 = call i64 @write(i32 noundef %14, ptr noundef %19, i64 noundef %22) store i64 %23, ptr %9, align 8 %24 = load i64, ptr %9, align 8 %25 = icmp eq i64 %24, -1 br i1 %25, label %26, label %30 26: ; preds = %13 %27 = load i32, ptr @errno, align 4 %28 = call ptr @strerror(i32 noundef %27) %29 = call i32 @error_reason(ptr noundef %28) store i32 -1, ptr %4, align 4 br label %44 30: ; preds = %13 %31 = load i64, ptr %9, align 8 %32 = icmp eq i64 %31, 0 br i1 %32, label %33, label %35 33: ; preds = %30 %34 = call i32 @error_reason(ptr noundef @.str) store i32 -1, ptr %4, align 4 br label %44 35: ; preds = %30 br label %36 36: ; preds = %35 %37 = load i64, ptr %9, align 8 %38 = load i64, ptr %8, align 8 %39 = add i64 %38, %37 store i64 %39, ptr %8, align 8 %40 = load i64, ptr %8, align 8 %41 = load i64, ptr %7, align 8 %42 = icmp ult i64 %40, %41 br i1 %42, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %43 43: ; preds = %._crit_edge, %3 store i32 0, ptr %4, align 4 br label %44 44: ; preds = %43, %33, %26 %45 = load i32, ptr %4, align 4 ret i32 %45 } declare i64 @write(i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @error_reason(ptr noundef) #1 declare ptr @strerror(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/tmp2t1xc8c9.c' source_filename = "/tmp/tmp2t1xc8c9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"%lf %lf %lf %lf %lf\0A\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"Case #%d: %.6lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @load(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %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 store ptr %0, ptr %2, align 8 %10 = load ptr, ptr %2, align 8 %11 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %10, ptr noundef @.str, ptr noundef %3) store i32 1, ptr %4, align 4 br label %12 12: ; preds = %27, %1 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %3, align 4 %15 = icmp sle i32 %13, %14 br i1 %15, label %16, label %30 16: ; preds = %12 %17 = load ptr, ptr %2, align 8 %18 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %17, ptr noundef @.str.1, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9) %19 = load i32, ptr %4, align 4 %20 = load double, ptr %5, align 8 %21 = load double, ptr %6, align 8 %22 = load double, ptr %7, align 8 %23 = load double, ptr %8, align 8 %24 = load double, ptr %9, align 8 %25 = call i32 @solve(double noundef %20, double noundef %21, double noundef %22, double noundef %23, double noundef %24) %26 = call i32 @printf(ptr noundef @.str.2, i32 noundef %19, i32 noundef %25) br label %27 27: ; preds = %16 %28 = load i32, ptr %4, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %4, align 4 br label %12, !llvm.loop !6 30: ; preds = %12 ret void } declare i32 @fscanf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @solve(double noundef, double noundef, double noundef, double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2t1xc8c9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"%lf %lf %lf %lf %lf\0A\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"Case #%d: %.6lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @load(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %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 store ptr %0, ptr %2, align 8 %10 = load ptr, ptr %2, align 8 %11 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %10, ptr noundef @.str, ptr noundef %3) store i32 1, ptr %4, align 4 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr %3, align 4 %14 = icmp sle i32 %12, %13 br i1 %14, label %.lr.ph, label %32 .lr.ph: ; preds = %1 br label %15 15: ; preds = %.lr.ph, %26 %16 = load ptr, ptr %2, align 8 %17 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %16, ptr noundef @.str.1, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9) %18 = load i32, ptr %4, align 4 %19 = load double, ptr %5, align 8 %20 = load double, ptr %6, align 8 %21 = load double, ptr %7, align 8 %22 = load double, ptr %8, align 8 %23 = load double, ptr %9, align 8 %24 = call i32 @solve(double noundef %19, double noundef %20, double noundef %21, double noundef %22, double noundef %23) %25 = call i32 @printf(ptr noundef @.str.2, i32 noundef %18, i32 noundef %24) br label %26 26: ; preds = %15 %27 = load i32, ptr %4, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %4, align 4 %29 = load i32, ptr %4, align 4 %30 = load i32, ptr %3, align 4 %31 = icmp sle i32 %29, %30 br i1 %31, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %32 32: ; preds = %._crit_edge, %1 ret void } declare i32 @fscanf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @solve(double noundef, double noundef, double noundef, double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpyvqukfx9.c' source_filename = "/tmp/tmpyvqukfx9.c" target datalayout = "e-m:e-p270: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/tmpyvqukfx9.c" target datalayout = "e-m:e-p270: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/tmpkb1qjltr.c' source_filename = "/tmp/tmpkb1qjltr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @test_in_place_add() %7 = call i32 (...) @test_in_place_normalize() %8 = load i32, ptr @EXIT_SUCCESS, align 4 %9 = call i32 @exit(i32 noundef %8) #3 unreachable } declare i32 @test_in_place_add(...) #1 declare i32 @test_in_place_normalize(...) #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/tmpkb1qjltr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @test_in_place_add() %7 = call i32 (...) @test_in_place_normalize() %8 = load i32, ptr @EXIT_SUCCESS, align 4 %9 = call i32 @exit(i32 noundef %8) #3 unreachable } declare i32 @test_in_place_add(...) #1 declare i32 @test_in_place_normalize(...) #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/tmpc0ib82dy.c' source_filename = "/tmp/tmpc0ib82dy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FSE_getErrorName(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = call ptr @ERR_getErrorName(i64 noundef %3) ret ptr %4 } declare ptr @ERR_getErrorName(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc0ib82dy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FSE_getErrorName(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = call ptr @ERR_getErrorName(i64 noundef %3) ret ptr %4 } declare ptr @ERR_getErrorName(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp92qldpfu.c' source_filename = "/tmp/tmp92qldpfu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 store i32 0, ptr %1, align 4 %3 = call i32 @nondet(i32 noundef 6, i32 noundef 10) store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp eq i32 %4, 5 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 (...) @__poet_fail() br label %8 8: ; preds = %6, %0 %9 = load i32, ptr %1, align 4 ret i32 %9 } declare i32 @nondet(i32 noundef, i32 noundef) #1 declare i32 @__poet_fail(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp92qldpfu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 store i32 0, ptr %1, align 4 %3 = call i32 @nondet(i32 noundef 6, i32 noundef 10) store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp eq i32 %4, 5 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 (...) @__poet_fail() br label %8 8: ; preds = %6, %0 %9 = load i32, ptr %1, align 4 ret i32 %9 } declare i32 @nondet(i32 noundef, i32 noundef) #1 declare i32 @__poet_fail(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkst9aecn.c' source_filename = "/tmp/tmpkst9aecn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo() #0 { %1 = call i32 @test_assert(i32 noundef 1) ret void } declare i32 @test_assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkst9aecn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo() #0 { %1 = call i32 @test_assert(i32 noundef 1) ret void } declare i32 @test_assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkw3g9af6.c' source_filename = "/tmp/tmpkw3g9af6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fun3(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = call i32 @fun4(i32 noundef %4) %6 = load i32, ptr %2, align 4 ret i32 %6 } declare i32 @fun4(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/tmpkw3g9af6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fun3(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = call i32 @fun4(i32 noundef %4) %6 = load i32, ptr %2, align 4 ret i32 %6 } declare i32 @fun4(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/tmp3lebzsba.c' source_filename = "/tmp/tmp3lebzsba.c" target datalayout = "e-m:e-p270: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/tmp3lebzsba.c" target datalayout = "e-m:e-p270: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/tmpv0g33zmm.c' source_filename = "/tmp/tmpv0g33zmm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_mm_loadu_pd(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 @_mm_loadu_pd(ptr noundef %3) ret i32 %4 } declare i32 @_mm_loadu_pd(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv0g33zmm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_mm_loadu_pd(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 @_mm_loadu_pd(ptr noundef %3) ret i32 %4 } declare i32 @_mm_loadu_pd(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpygad6ka6.c' source_filename = "/tmp/tmpygad6ka6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @capi20_get_message(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %14 = call i32 (...) @capi20_isinstalled() %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %2 store i32 4105, ptr %3, align 4 br label %261 17: ; preds = %2 %18 = load i32, ptr %4, align 4 %19 = call i32 @validapplid(i32 noundef %18) %20 = icmp ne i32 %19, 0 br i1 %20, label %22, label %21 21: ; preds = %17 store i32 4353, ptr %3, align 4 br label %261 22: ; preds = %17 %23 = load i32, ptr %4, align 4 %24 = call i32 @applid2fd(i32 noundef %23) store i32 %24, ptr %11, align 4 %25 = load i32, ptr %4, align 4 %26 = call ptr @get_buffer(i32 noundef %25, ptr noundef %9, ptr noundef %7) store ptr %26, ptr %6, align 8 %27 = load ptr, ptr %5, align 8 store ptr %26, ptr %27, align 8 %28 = icmp eq ptr %26, null br i1 %28, label %29, label %30 29: ; preds = %22 store i32 4360, ptr %3, align 4 br label %261 30: ; preds = %22 %31 = load i32, ptr %11, align 4 %32 = load ptr, ptr %6, align 8 %33 = load i64, ptr %9, align 8 %34 = call i32 @read(i32 noundef %31, ptr noundef %32, i64 noundef %33) store i32 %34, ptr %10, align 4 %35 = icmp sgt i32 %34, 0 br i1 %35, label %36, label %247 36: ; preds = %30 %37 = load ptr, ptr %6, align 8 %38 = load i32, ptr %4, align 4 %39 = call i32 @capimsg_setu16(ptr noundef %37, i32 noundef 2, i32 noundef %38) %40 = load ptr, ptr %6, align 8 %41 = getelementptr inbounds i8, ptr %40, i64 4 %42 = load i8, ptr %41, align 1 %43 = zext i8 %42 to i32 %44 = icmp eq i32 %43, 134 br i1 %44, label %45, label %205 45: ; preds = %36 %46 = load ptr, ptr %6, align 8 %47 = getelementptr inbounds i8, ptr %46, i64 5 %48 = load i8, ptr %47, align 1 %49 = zext i8 %48 to i32 %50 = icmp eq i32 %49, 130 br i1 %50, label %51, label %205 51: ; preds = %45 %52 = load i32, ptr %4, align 4 %53 = load i32, ptr %7, align 4 %54 = load ptr, ptr %6, align 8 %55 = getelementptr inbounds i8, ptr %54, i64 18 %56 = load i8, ptr %55, align 1 %57 = zext i8 %56 to i32 %58 = load ptr, ptr %6, align 8 %59 = getelementptr inbounds i8, ptr %58, i64 19 %60 = load i8, ptr %59, align 1 %61 = zext i8 %60 to i32 %62 = shl i32 %61, 8 %63 = or i32 %57, %62 %64 = trunc i32 %63 to i8 %65 = load ptr, ptr %6, align 8 %66 = getelementptr inbounds i8, ptr %65, i64 8 %67 = load i8, ptr %66, align 1 %68 = zext i8 %67 to i32 %69 = load ptr, ptr %6, align 8 %70 = getelementptr inbounds i8, ptr %69, i64 9 %71 = load i8, ptr %70, align 1 %72 = zext i8 %71 to i32 %73 = shl i32 %72, 8 %74 = or i32 %68, %73 %75 = load ptr, ptr %6, align 8 %76 = getelementptr inbounds i8, ptr %75, i64 10 %77 = load i8, ptr %76, align 1 %78 = zext i8 %77 to i32 %79 = shl i32 %78, 16 %80 = or i32 %74, %79 %81 = load ptr, ptr %6, align 8 %82 = getelementptr inbounds i8, ptr %81, i64 11 %83 = load i8, ptr %82, align 1 %84 = zext i8 %83 to i32 %85 = shl i32 %84, 24 %86 = or i32 %80, %85 %87 = trunc i32 %86 to i8 %88 = call i32 @save_datahandle(i32 noundef %52, i32 noundef %53, i8 noundef zeroext %64, i8 noundef zeroext %87) %89 = load ptr, ptr %6, align 8 %90 = load i32, ptr %7, align 4 %91 = call i32 @capimsg_setu16(ptr noundef %89, i32 noundef 18, i32 noundef %90) %92 = load ptr, ptr %6, align 8 %93 = ptrtoint ptr %92 to i32 store i32 %93, ptr %13, align 4 %94 = load ptr, ptr %6, align 8 %95 = getelementptr inbounds i8, ptr %94, i64 0 %96 = load i8, ptr %95, align 1 %97 = zext i8 %96 to i32 %98 = load ptr, ptr %6, align 8 %99 = getelementptr inbounds i8, ptr %98, i64 1 %100 = load i8, ptr %99, align 1 %101 = zext i8 %100 to i32 %102 = shl i32 %101, 8 %103 = or i32 %97, %102 %104 = icmp slt i32 %103, 30 br i1 %104, label %105, label %137 105: ; preds = %51 %106 = load ptr, ptr %6, align 8 %107 = getelementptr inbounds i8, ptr %106, i64 30 %108 = load ptr, ptr %6, align 8 %109 = load ptr, ptr %6, align 8 %110 = getelementptr inbounds i8, ptr %109, i64 0 %111 = load i8, ptr %110, align 1 %112 = zext i8 %111 to i32 %113 = load ptr, ptr %6, align 8 %114 = getelementptr inbounds i8, ptr %113, i64 1 %115 = load i8, ptr %114, align 1 %116 = zext i8 %115 to i32 %117 = shl i32 %116, 8 %118 = or i32 %112, %117 %119 = sext i32 %118 to i64 %120 = getelementptr inbounds i8, ptr %108, i64 %119 %121 = load ptr, ptr %6, align 8 %122 = getelementptr inbounds i8, ptr %121, i64 16 %123 = load i8, ptr %122, align 1 %124 = zext i8 %123 to i32 %125 = load ptr, ptr %6, align 8 %126 = getelementptr inbounds i8, ptr %125, i64 17 %127 = load i8, ptr %126, align 1 %128 = zext i8 %127 to i32 %129 = shl i32 %128, 8 %130 = or i32 %124, %129 %131 = trunc i32 %130 to i8 %132 = call i32 @memmove(ptr noundef %107, ptr noundef %120, i8 noundef zeroext %131) %133 = load ptr, ptr %6, align 8 %134 = getelementptr inbounds i8, ptr %133, i64 0 store i8 30, ptr %134, align 1 %135 = load ptr, ptr %6, align 8 %136 = getelementptr inbounds i8, ptr %135, i64 1 store i8 0, ptr %136, align 1 br label %137 137: ; preds = %105, %51 %138 = load i32, ptr %13, align 4 %139 = load ptr, ptr %6, align 8 %140 = getelementptr inbounds i8, ptr %139, i64 0 %141 = load i8, ptr %140, align 1 %142 = zext i8 %141 to i32 %143 = load ptr, ptr %6, align 8 %144 = getelementptr inbounds i8, ptr %143, i64 1 %145 = load i8, ptr %144, align 1 %146 = zext i8 %145 to i32 %147 = shl i32 %146, 8 %148 = or i32 %142, %147 %149 = add nsw i32 %138, %148 store i32 %149, ptr %12, align 4 %150 = load ptr, ptr %6, align 8 %151 = getelementptr inbounds i8, ptr %150, i64 15 store i8 0, ptr %151, align 1 %152 = load ptr, ptr %6, align 8 %153 = getelementptr inbounds i8, ptr %152, i64 14 store i8 0, ptr %153, align 1 %154 = load ptr, ptr %6, align 8 %155 = getelementptr inbounds i8, ptr %154, i64 13 store i8 0, ptr %155, align 1 %156 = load ptr, ptr %6, align 8 %157 = getelementptr inbounds i8, ptr %156, i64 12 store i8 0, ptr %157, align 1 %158 = load i32, ptr %12, align 4 %159 = and i32 %158, 255 %160 = trunc i32 %159 to i8 %161 = load ptr, ptr %6, align 8 %162 = getelementptr inbounds i8, ptr %161, i64 22 store i8 %160, ptr %162, align 1 %163 = load i32, ptr %12, align 4 %164 = ashr i32 %163, 8 %165 = and i32 %164, 255 %166 = trunc i32 %165 to i8 %167 = load ptr, ptr %6, align 8 %168 = getelementptr inbounds i8, ptr %167, i64 23 store i8 %166, ptr %168, align 1 %169 = load i32, ptr %12, align 4 %170 = ashr i32 %169, 16 %171 = and i32 %170, 255 %172 = trunc i32 %171 to i8 %173 = load ptr, ptr %6, align 8 %174 = getelementptr inbounds i8, ptr %173, i64 24 store i8 %172, ptr %174, align 1 %175 = load i32, ptr %12, align 4 %176 = ashr i32 %175, 24 %177 = and i32 %176, 255 %178 = trunc i32 %177 to i8 %179 = load ptr, ptr %6, align 8 %180 = getelementptr inbounds i8, ptr %179, i64 25 store i8 %178, ptr %180, align 1 %181 = load i32, ptr %12, align 4 %182 = ashr i32 %181, 32 %183 = and i32 %182, 255 %184 = trunc i32 %183 to i8 %185 = load ptr, ptr %6, align 8 %186 = getelementptr inbounds i8, ptr %185, i64 26 store i8 %184, ptr %186, align 1 %187 = load i32, ptr %12, align 4 %188 = ashr i32 %187, 40 %189 = and i32 %188, 255 %190 = trunc i32 %189 to i8 %191 = load ptr, ptr %6, align 8 %192 = getelementptr inbounds i8, ptr %191, i64 27 store i8 %190, ptr %192, align 1 %193 = load i32, ptr %12, align 4 %194 = ashr i32 %193, 48 %195 = and i32 %194, 255 %196 = trunc i32 %195 to i8 %197 = load ptr, ptr %6, align 8 %198 = getelementptr inbounds i8, ptr %197, i64 28 store i8 %196, ptr %198, align 1 %199 = load i32, ptr %12, align 4 %200 = ashr i32 %199, 56 %201 = and i32 %200, 255 %202 = trunc i32 %201 to i8 %203 = load ptr, ptr %6, align 8 %204 = getelementptr inbounds i8, ptr %203, i64 29 store i8 %202, ptr %204, align 1 store i32 0, ptr %3, align 4 br label %261 205: ; preds = %45, %36 %206 = load i32, ptr %4, align 4 %207 = load i32, ptr %7, align 4 %208 = call i32 @return_buffer(i32 noundef %206, i32 noundef %207) %209 = load ptr, ptr %6, align 8 %210 = getelementptr inbounds i8, ptr %209, i64 4 %211 = load i8, ptr %210, align 1 %212 = zext i8 %211 to i32 %213 = icmp eq i32 %212, 4 br i1 %213, label %214, label %246 214: ; preds = %205 %215 = load ptr, ptr %6, align 8 %216 = getelementptr inbounds i8, ptr %215, i64 5 %217 = load i8, ptr %216, align 1 %218 = zext i8 %217 to i32 %219 = icmp eq i32 %218, 130 br i1 %219, label %220, label %246 220: ; preds = %214 %221 = load i32, ptr %4, align 4 %222 = load ptr, ptr %6, align 8 %223 = getelementptr inbounds i8, ptr %222, i64 8 %224 = load i8, ptr %223, align 1 %225 = zext i8 %224 to i32 %226 = load ptr, ptr %6, align 8 %227 = getelementptr inbounds i8, ptr %226, i64 9 %228 = load i8, ptr %227, align 1 %229 = zext i8 %228 to i32 %230 = shl i32 %229, 8 %231 = or i32 %225, %230 %232 = load ptr, ptr %6, align 8 %233 = getelementptr inbounds i8, ptr %232, i64 10 %234 = load i8, ptr %233, align 1 %235 = zext i8 %234 to i32 %236 = shl i32 %235, 16 %237 = or i32 %231, %236 %238 = load ptr, ptr %6, align 8 %239 = getelementptr inbounds i8, ptr %238, i64 11 %240 = load i8, ptr %239, align 1 %241 = zext i8 %240 to i32 %242 = shl i32 %241, 24 %243 = or i32 %237, %242 %244 = trunc i32 %243 to i8 %245 = call i32 @cleanup_buffers_for_plci(i32 noundef %221, i8 noundef zeroext %244) br label %246 246: ; preds = %220, %214, %205 store i32 0, ptr %3, align 4 br label %261 247: ; preds = %30 %248 = load i32, ptr %4, align 4 %249 = load i32, ptr %7, align 4 %250 = call i32 @return_buffer(i32 noundef %248, i32 noundef %249) %251 = load i32, ptr %10, align 4 %252 = icmp eq i32 %251, 0 br i1 %252, label %253, label %254 253: ; preds = %247 store i32 4356, ptr %3, align 4 br label %261 254: ; preds = %247 %255 = load i32, ptr @errno, align 4 switch i32 %255, label %258 [ i32 128, label %256 i32 129, label %257 ] 256: ; preds = %254 store i32 4354, ptr %8, align 4 br label %259 257: ; preds = %254 store i32 4356, ptr %3, align 4 br label %261 258: ; preds = %254 store i32 4360, ptr %8, align 4 br label %259 259: ; preds = %258, %256 %260 = load i32, ptr %8, align 4 store i32 %260, ptr %3, align 4 br label %261 261: ; preds = %259, %257, %253, %246, %137, %29, %21, %16 %262 = load i32, ptr %3, align 4 ret i32 %262 } declare i32 @capi20_isinstalled(...) #1 declare i32 @validapplid(i32 noundef) #1 declare i32 @applid2fd(i32 noundef) #1 declare ptr @get_buffer(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @capimsg_setu16(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @save_datahandle(i32 noundef, i32 noundef, i8 noundef zeroext, i8 noundef zeroext) #1 declare i32 @memmove(ptr noundef, ptr noundef, i8 noundef zeroext) #1 declare i32 @return_buffer(i32 noundef, i32 noundef) #1 declare i32 @cleanup_buffers_for_plci(i32 noundef, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpygad6ka6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @capi20_get_message(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %14 = call i32 (...) @capi20_isinstalled() %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %2 store i32 4105, ptr %3, align 4 br label %261 17: ; preds = %2 %18 = load i32, ptr %4, align 4 %19 = call i32 @validapplid(i32 noundef %18) %20 = icmp ne i32 %19, 0 br i1 %20, label %22, label %21 21: ; preds = %17 store i32 4353, ptr %3, align 4 br label %261 22: ; preds = %17 %23 = load i32, ptr %4, align 4 %24 = call i32 @applid2fd(i32 noundef %23) store i32 %24, ptr %11, align 4 %25 = load i32, ptr %4, align 4 %26 = call ptr @get_buffer(i32 noundef %25, ptr noundef %9, ptr noundef %7) store ptr %26, ptr %6, align 8 %27 = load ptr, ptr %5, align 8 store ptr %26, ptr %27, align 8 %28 = icmp eq ptr %26, null br i1 %28, label %29, label %30 29: ; preds = %22 store i32 4360, ptr %3, align 4 br label %261 30: ; preds = %22 %31 = load i32, ptr %11, align 4 %32 = load ptr, ptr %6, align 8 %33 = load i64, ptr %9, align 8 %34 = call i32 @read(i32 noundef %31, ptr noundef %32, i64 noundef %33) store i32 %34, ptr %10, align 4 %35 = icmp sgt i32 %34, 0 br i1 %35, label %36, label %247 36: ; preds = %30 %37 = load ptr, ptr %6, align 8 %38 = load i32, ptr %4, align 4 %39 = call i32 @capimsg_setu16(ptr noundef %37, i32 noundef 2, i32 noundef %38) %40 = load ptr, ptr %6, align 8 %41 = getelementptr inbounds i8, ptr %40, i64 4 %42 = load i8, ptr %41, align 1 %43 = zext i8 %42 to i32 %44 = icmp eq i32 %43, 134 br i1 %44, label %45, label %205 45: ; preds = %36 %46 = load ptr, ptr %6, align 8 %47 = getelementptr inbounds i8, ptr %46, i64 5 %48 = load i8, ptr %47, align 1 %49 = zext i8 %48 to i32 %50 = icmp eq i32 %49, 130 br i1 %50, label %51, label %205 51: ; preds = %45 %52 = load i32, ptr %4, align 4 %53 = load i32, ptr %7, align 4 %54 = load ptr, ptr %6, align 8 %55 = getelementptr inbounds i8, ptr %54, i64 18 %56 = load i8, ptr %55, align 1 %57 = zext i8 %56 to i32 %58 = load ptr, ptr %6, align 8 %59 = getelementptr inbounds i8, ptr %58, i64 19 %60 = load i8, ptr %59, align 1 %61 = zext i8 %60 to i32 %62 = shl i32 %61, 8 %63 = or i32 %57, %62 %64 = trunc i32 %63 to i8 %65 = load ptr, ptr %6, align 8 %66 = getelementptr inbounds i8, ptr %65, i64 8 %67 = load i8, ptr %66, align 1 %68 = zext i8 %67 to i32 %69 = load ptr, ptr %6, align 8 %70 = getelementptr inbounds i8, ptr %69, i64 9 %71 = load i8, ptr %70, align 1 %72 = zext i8 %71 to i32 %73 = shl i32 %72, 8 %74 = or i32 %68, %73 %75 = load ptr, ptr %6, align 8 %76 = getelementptr inbounds i8, ptr %75, i64 10 %77 = load i8, ptr %76, align 1 %78 = zext i8 %77 to i32 %79 = shl i32 %78, 16 %80 = or i32 %74, %79 %81 = load ptr, ptr %6, align 8 %82 = getelementptr inbounds i8, ptr %81, i64 11 %83 = load i8, ptr %82, align 1 %84 = zext i8 %83 to i32 %85 = shl i32 %84, 24 %86 = or i32 %80, %85 %87 = trunc i32 %86 to i8 %88 = call i32 @save_datahandle(i32 noundef %52, i32 noundef %53, i8 noundef zeroext %64, i8 noundef zeroext %87) %89 = load ptr, ptr %6, align 8 %90 = load i32, ptr %7, align 4 %91 = call i32 @capimsg_setu16(ptr noundef %89, i32 noundef 18, i32 noundef %90) %92 = load ptr, ptr %6, align 8 %93 = ptrtoint ptr %92 to i32 store i32 %93, ptr %13, align 4 %94 = load ptr, ptr %6, align 8 %95 = getelementptr inbounds i8, ptr %94, i64 0 %96 = load i8, ptr %95, align 1 %97 = zext i8 %96 to i32 %98 = load ptr, ptr %6, align 8 %99 = getelementptr inbounds i8, ptr %98, i64 1 %100 = load i8, ptr %99, align 1 %101 = zext i8 %100 to i32 %102 = shl i32 %101, 8 %103 = or i32 %97, %102 %104 = icmp slt i32 %103, 30 br i1 %104, label %105, label %137 105: ; preds = %51 %106 = load ptr, ptr %6, align 8 %107 = getelementptr inbounds i8, ptr %106, i64 30 %108 = load ptr, ptr %6, align 8 %109 = load ptr, ptr %6, align 8 %110 = getelementptr inbounds i8, ptr %109, i64 0 %111 = load i8, ptr %110, align 1 %112 = zext i8 %111 to i32 %113 = load ptr, ptr %6, align 8 %114 = getelementptr inbounds i8, ptr %113, i64 1 %115 = load i8, ptr %114, align 1 %116 = zext i8 %115 to i32 %117 = shl i32 %116, 8 %118 = or i32 %112, %117 %119 = sext i32 %118 to i64 %120 = getelementptr inbounds i8, ptr %108, i64 %119 %121 = load ptr, ptr %6, align 8 %122 = getelementptr inbounds i8, ptr %121, i64 16 %123 = load i8, ptr %122, align 1 %124 = zext i8 %123 to i32 %125 = load ptr, ptr %6, align 8 %126 = getelementptr inbounds i8, ptr %125, i64 17 %127 = load i8, ptr %126, align 1 %128 = zext i8 %127 to i32 %129 = shl i32 %128, 8 %130 = or i32 %124, %129 %131 = trunc i32 %130 to i8 %132 = call i32 @memmove(ptr noundef %107, ptr noundef %120, i8 noundef zeroext %131) %133 = load ptr, ptr %6, align 8 %134 = getelementptr inbounds i8, ptr %133, i64 0 store i8 30, ptr %134, align 1 %135 = load ptr, ptr %6, align 8 %136 = getelementptr inbounds i8, ptr %135, i64 1 store i8 0, ptr %136, align 1 br label %137 137: ; preds = %105, %51 %138 = load i32, ptr %13, align 4 %139 = load ptr, ptr %6, align 8 %140 = getelementptr inbounds i8, ptr %139, i64 0 %141 = load i8, ptr %140, align 1 %142 = zext i8 %141 to i32 %143 = load ptr, ptr %6, align 8 %144 = getelementptr inbounds i8, ptr %143, i64 1 %145 = load i8, ptr %144, align 1 %146 = zext i8 %145 to i32 %147 = shl i32 %146, 8 %148 = or i32 %142, %147 %149 = add nsw i32 %138, %148 store i32 %149, ptr %12, align 4 %150 = load ptr, ptr %6, align 8 %151 = getelementptr inbounds i8, ptr %150, i64 15 store i8 0, ptr %151, align 1 %152 = load ptr, ptr %6, align 8 %153 = getelementptr inbounds i8, ptr %152, i64 14 store i8 0, ptr %153, align 1 %154 = load ptr, ptr %6, align 8 %155 = getelementptr inbounds i8, ptr %154, i64 13 store i8 0, ptr %155, align 1 %156 = load ptr, ptr %6, align 8 %157 = getelementptr inbounds i8, ptr %156, i64 12 store i8 0, ptr %157, align 1 %158 = load i32, ptr %12, align 4 %159 = and i32 %158, 255 %160 = trunc i32 %159 to i8 %161 = load ptr, ptr %6, align 8 %162 = getelementptr inbounds i8, ptr %161, i64 22 store i8 %160, ptr %162, align 1 %163 = load i32, ptr %12, align 4 %164 = ashr i32 %163, 8 %165 = and i32 %164, 255 %166 = trunc i32 %165 to i8 %167 = load ptr, ptr %6, align 8 %168 = getelementptr inbounds i8, ptr %167, i64 23 store i8 %166, ptr %168, align 1 %169 = load i32, ptr %12, align 4 %170 = ashr i32 %169, 16 %171 = and i32 %170, 255 %172 = trunc i32 %171 to i8 %173 = load ptr, ptr %6, align 8 %174 = getelementptr inbounds i8, ptr %173, i64 24 store i8 %172, ptr %174, align 1 %175 = load i32, ptr %12, align 4 %176 = ashr i32 %175, 24 %177 = and i32 %176, 255 %178 = trunc i32 %177 to i8 %179 = load ptr, ptr %6, align 8 %180 = getelementptr inbounds i8, ptr %179, i64 25 store i8 %178, ptr %180, align 1 %181 = load i32, ptr %12, align 4 %182 = ashr i32 %181, 32 %183 = and i32 %182, 255 %184 = trunc i32 %183 to i8 %185 = load ptr, ptr %6, align 8 %186 = getelementptr inbounds i8, ptr %185, i64 26 store i8 %184, ptr %186, align 1 %187 = load i32, ptr %12, align 4 %188 = ashr i32 %187, 40 %189 = and i32 %188, 255 %190 = trunc i32 %189 to i8 %191 = load ptr, ptr %6, align 8 %192 = getelementptr inbounds i8, ptr %191, i64 27 store i8 %190, ptr %192, align 1 %193 = load i32, ptr %12, align 4 %194 = ashr i32 %193, 48 %195 = and i32 %194, 255 %196 = trunc i32 %195 to i8 %197 = load ptr, ptr %6, align 8 %198 = getelementptr inbounds i8, ptr %197, i64 28 store i8 %196, ptr %198, align 1 %199 = load i32, ptr %12, align 4 %200 = ashr i32 %199, 56 %201 = and i32 %200, 255 %202 = trunc i32 %201 to i8 %203 = load ptr, ptr %6, align 8 %204 = getelementptr inbounds i8, ptr %203, i64 29 store i8 %202, ptr %204, align 1 store i32 0, ptr %3, align 4 br label %261 205: ; preds = %45, %36 %206 = load i32, ptr %4, align 4 %207 = load i32, ptr %7, align 4 %208 = call i32 @return_buffer(i32 noundef %206, i32 noundef %207) %209 = load ptr, ptr %6, align 8 %210 = getelementptr inbounds i8, ptr %209, i64 4 %211 = load i8, ptr %210, align 1 %212 = zext i8 %211 to i32 %213 = icmp eq i32 %212, 4 br i1 %213, label %214, label %246 214: ; preds = %205 %215 = load ptr, ptr %6, align 8 %216 = getelementptr inbounds i8, ptr %215, i64 5 %217 = load i8, ptr %216, align 1 %218 = zext i8 %217 to i32 %219 = icmp eq i32 %218, 130 br i1 %219, label %220, label %246 220: ; preds = %214 %221 = load i32, ptr %4, align 4 %222 = load ptr, ptr %6, align 8 %223 = getelementptr inbounds i8, ptr %222, i64 8 %224 = load i8, ptr %223, align 1 %225 = zext i8 %224 to i32 %226 = load ptr, ptr %6, align 8 %227 = getelementptr inbounds i8, ptr %226, i64 9 %228 = load i8, ptr %227, align 1 %229 = zext i8 %228 to i32 %230 = shl i32 %229, 8 %231 = or i32 %225, %230 %232 = load ptr, ptr %6, align 8 %233 = getelementptr inbounds i8, ptr %232, i64 10 %234 = load i8, ptr %233, align 1 %235 = zext i8 %234 to i32 %236 = shl i32 %235, 16 %237 = or i32 %231, %236 %238 = load ptr, ptr %6, align 8 %239 = getelementptr inbounds i8, ptr %238, i64 11 %240 = load i8, ptr %239, align 1 %241 = zext i8 %240 to i32 %242 = shl i32 %241, 24 %243 = or i32 %237, %242 %244 = trunc i32 %243 to i8 %245 = call i32 @cleanup_buffers_for_plci(i32 noundef %221, i8 noundef zeroext %244) br label %246 246: ; preds = %220, %214, %205 store i32 0, ptr %3, align 4 br label %261 247: ; preds = %30 %248 = load i32, ptr %4, align 4 %249 = load i32, ptr %7, align 4 %250 = call i32 @return_buffer(i32 noundef %248, i32 noundef %249) %251 = load i32, ptr %10, align 4 %252 = icmp eq i32 %251, 0 br i1 %252, label %253, label %254 253: ; preds = %247 store i32 4356, ptr %3, align 4 br label %261 254: ; preds = %247 %255 = load i32, ptr @errno, align 4 switch i32 %255, label %258 [ i32 128, label %256 i32 129, label %257 ] 256: ; preds = %254 store i32 4354, ptr %8, align 4 br label %259 257: ; preds = %254 store i32 4356, ptr %3, align 4 br label %261 258: ; preds = %254 store i32 4360, ptr %8, align 4 br label %259 259: ; preds = %258, %256 %260 = load i32, ptr %8, align 4 store i32 %260, ptr %3, align 4 br label %261 261: ; preds = %259, %257, %253, %246, %137, %29, %21, %16 %262 = load i32, ptr %3, align 4 ret i32 %262 } declare i32 @capi20_isinstalled(...) #1 declare i32 @validapplid(i32 noundef) #1 declare i32 @applid2fd(i32 noundef) #1 declare ptr @get_buffer(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @capimsg_setu16(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @save_datahandle(i32 noundef, i32 noundef, i8 noundef zeroext, i8 noundef zeroext) #1 declare i32 @memmove(ptr noundef, ptr noundef, i8 noundef zeroext) #1 declare i32 @return_buffer(i32 noundef, i32 noundef) #1 declare i32 @cleanup_buffers_for_plci(i32 noundef, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpaltyp1ye.c' source_filename = "/tmp/tmpaltyp1ye.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @.str = private unnamed_addr constant [7 x i8] c"foobar\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @O_TRUNC = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"abcdef\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @PROT_READ = dso_local global i32 0, align 4 @MAP_SHARED = dso_local global i32 0, align 4 @MS_SYNC = dso_local global i32 0, align 4 @MCL_CURRENT = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 @MAP_PRIVATE = dso_local global i32 0, align 4 @MAP_ANONYMOUS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca %struct.stat, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %6 = load i32, ptr @O_WRONLY, align 4 %7 = load i32, ptr @O_CREAT, align 4 %8 = or i32 %6, %7 %9 = load i32, ptr @O_TRUNC, align 4 %10 = or i32 %8, %9 %11 = call i32 (ptr, i32, ...) @open(ptr noundef @.str, i32 noundef %10, i32 noundef 384) store i32 %11, ptr %2, align 4 %12 = load i32, ptr %2, align 4 %13 = load i32, ptr @SEEK_SET, align 4 %14 = call i32 @lseek(i32 noundef %12, i32 noundef 1024, i32 noundef %13) %15 = load i32, ptr %2, align 4 %16 = call i32 @write(i32 noundef %15, ptr noundef @.str.1, i32 noundef 6) %17 = load i32, ptr %2, align 4 %18 = call i32 @close(i32 noundef %17) %19 = load i32, ptr @O_RDONLY, align 4 %20 = call i32 (ptr, i32, ...) @open(ptr noundef @.str, i32 noundef %19) store i32 %20, ptr %2, align 4 %21 = load i32, ptr %2, align 4 %22 = call i32 @fstat(i32 noundef %21, ptr noundef %4) store i32 %22, ptr %3, align 4 %23 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %24 = load i32, ptr %23, align 4 %25 = load i32, ptr @PROT_READ, align 4 %26 = load i32, ptr @MAP_SHARED, align 4 %27 = load i32, ptr %2, align 4 %28 = call ptr @mmap(ptr noundef null, i32 noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef 0) store ptr %28, ptr %5, align 8 %29 = load i32, ptr %2, align 4 %30 = call i32 @close(i32 noundef %29) %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %33 = load i32, ptr %32, align 4 %34 = call i32 @mlock(ptr noundef %31, i32 noundef %33) %35 = load ptr, ptr %5, align 8 %36 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %37 = load i32, ptr %36, align 4 %38 = load i32, ptr @MS_SYNC, align 4 %39 = call i32 @msync(ptr noundef %35, i32 noundef %37, i32 noundef %38) %40 = load ptr, ptr %5, align 8 %41 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %42 = load i32, ptr %41, align 4 %43 = call i32 @munlock(ptr noundef %40, i32 noundef %42) %44 = load i32, ptr @MCL_CURRENT, align 4 %45 = call i32 @mlockall(i32 noundef %44) %46 = call i32 (...) @munlockall() %47 = load ptr, ptr %5, align 8 %48 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %49 = load i32, ptr %48, align 4 %50 = call i32 @munmap(ptr noundef %47, i32 noundef %49) %51 = load i32, ptr @PROT_READ, align 4 %52 = load i32, ptr @PROT_WRITE, align 4 %53 = or i32 %51, %52 %54 = load i32, ptr @MAP_PRIVATE, align 4 %55 = load i32, ptr @MAP_ANONYMOUS, align 4 %56 = or i32 %54, %55 %57 = call ptr @mmap(ptr noundef null, i32 noundef 12288, i32 noundef %53, i32 noundef %56, i32 noundef -1, i32 noundef 0) store ptr %57, ptr %5, align 8 %58 = load ptr, ptr %5, align 8 %59 = load i32, ptr @PROT_READ, align 4 %60 = call i32 @mprotect(ptr noundef %58, i32 noundef 4096, i32 noundef %59) %61 = load ptr, ptr %5, align 8 %62 = call i32 @munmap(ptr noundef %61, i32 noundef 12288) %63 = load i32, ptr @PROT_READ, align 4 %64 = load i32, ptr @PROT_WRITE, align 4 %65 = or i32 %63, %64 %66 = load i32, ptr @MAP_PRIVATE, align 4 %67 = load i32, ptr @MAP_ANONYMOUS, align 4 %68 = or i32 %66, %67 %69 = call ptr @mmap(ptr noundef null, i32 noundef 8192, i32 noundef %65, i32 noundef %68, i32 noundef -1, i32 noundef 0) store ptr %69, ptr %5, align 8 %70 = load ptr, ptr %5, align 8 %71 = call ptr @mremap(ptr noundef %70, i32 noundef 8192, i32 noundef 4096, i32 noundef 0) store ptr %71, ptr %5, align 8 %72 = load ptr, ptr %5, align 8 %73 = call i32 @munmap(ptr noundef %72, i32 noundef 4096) ret i32 0 } declare i32 @open(ptr noundef, i32 noundef, ...) #1 declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @fstat(i32 noundef, ptr noundef) #1 declare ptr @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @mlock(ptr noundef, i32 noundef) #1 declare i32 @msync(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @munlock(ptr noundef, i32 noundef) #1 declare i32 @mlockall(i32 noundef) #1 declare i32 @munlockall(...) #1 declare i32 @munmap(ptr noundef, i32 noundef) #1 declare i32 @mprotect(ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @mremap(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/tmpaltyp1ye.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @.str = private unnamed_addr constant [7 x i8] c"foobar\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @O_TRUNC = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"abcdef\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @PROT_READ = dso_local global i32 0, align 4 @MAP_SHARED = dso_local global i32 0, align 4 @MS_SYNC = dso_local global i32 0, align 4 @MCL_CURRENT = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 @MAP_PRIVATE = dso_local global i32 0, align 4 @MAP_ANONYMOUS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca %struct.stat, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %6 = load i32, ptr @O_WRONLY, align 4 %7 = load i32, ptr @O_CREAT, align 4 %8 = or i32 %6, %7 %9 = load i32, ptr @O_TRUNC, align 4 %10 = or i32 %8, %9 %11 = call i32 (ptr, i32, ...) @open(ptr noundef @.str, i32 noundef %10, i32 noundef 384) store i32 %11, ptr %2, align 4 %12 = load i32, ptr %2, align 4 %13 = load i32, ptr @SEEK_SET, align 4 %14 = call i32 @lseek(i32 noundef %12, i32 noundef 1024, i32 noundef %13) %15 = load i32, ptr %2, align 4 %16 = call i32 @write(i32 noundef %15, ptr noundef @.str.1, i32 noundef 6) %17 = load i32, ptr %2, align 4 %18 = call i32 @close(i32 noundef %17) %19 = load i32, ptr @O_RDONLY, align 4 %20 = call i32 (ptr, i32, ...) @open(ptr noundef @.str, i32 noundef %19) store i32 %20, ptr %2, align 4 %21 = load i32, ptr %2, align 4 %22 = call i32 @fstat(i32 noundef %21, ptr noundef %4) store i32 %22, ptr %3, align 4 %23 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %24 = load i32, ptr %23, align 4 %25 = load i32, ptr @PROT_READ, align 4 %26 = load i32, ptr @MAP_SHARED, align 4 %27 = load i32, ptr %2, align 4 %28 = call ptr @mmap(ptr noundef null, i32 noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef 0) store ptr %28, ptr %5, align 8 %29 = load i32, ptr %2, align 4 %30 = call i32 @close(i32 noundef %29) %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %33 = load i32, ptr %32, align 4 %34 = call i32 @mlock(ptr noundef %31, i32 noundef %33) %35 = load ptr, ptr %5, align 8 %36 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %37 = load i32, ptr %36, align 4 %38 = load i32, ptr @MS_SYNC, align 4 %39 = call i32 @msync(ptr noundef %35, i32 noundef %37, i32 noundef %38) %40 = load ptr, ptr %5, align 8 %41 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %42 = load i32, ptr %41, align 4 %43 = call i32 @munlock(ptr noundef %40, i32 noundef %42) %44 = load i32, ptr @MCL_CURRENT, align 4 %45 = call i32 @mlockall(i32 noundef %44) %46 = call i32 (...) @munlockall() %47 = load ptr, ptr %5, align 8 %48 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %49 = load i32, ptr %48, align 4 %50 = call i32 @munmap(ptr noundef %47, i32 noundef %49) %51 = load i32, ptr @PROT_READ, align 4 %52 = load i32, ptr @PROT_WRITE, align 4 %53 = or i32 %51, %52 %54 = load i32, ptr @MAP_PRIVATE, align 4 %55 = load i32, ptr @MAP_ANONYMOUS, align 4 %56 = or i32 %54, %55 %57 = call ptr @mmap(ptr noundef null, i32 noundef 12288, i32 noundef %53, i32 noundef %56, i32 noundef -1, i32 noundef 0) store ptr %57, ptr %5, align 8 %58 = load ptr, ptr %5, align 8 %59 = load i32, ptr @PROT_READ, align 4 %60 = call i32 @mprotect(ptr noundef %58, i32 noundef 4096, i32 noundef %59) %61 = load ptr, ptr %5, align 8 %62 = call i32 @munmap(ptr noundef %61, i32 noundef 12288) %63 = load i32, ptr @PROT_READ, align 4 %64 = load i32, ptr @PROT_WRITE, align 4 %65 = or i32 %63, %64 %66 = load i32, ptr @MAP_PRIVATE, align 4 %67 = load i32, ptr @MAP_ANONYMOUS, align 4 %68 = or i32 %66, %67 %69 = call ptr @mmap(ptr noundef null, i32 noundef 8192, i32 noundef %65, i32 noundef %68, i32 noundef -1, i32 noundef 0) store ptr %69, ptr %5, align 8 %70 = load ptr, ptr %5, align 8 %71 = call ptr @mremap(ptr noundef %70, i32 noundef 8192, i32 noundef 4096, i32 noundef 0) store ptr %71, ptr %5, align 8 %72 = load ptr, ptr %5, align 8 %73 = call i32 @munmap(ptr noundef %72, i32 noundef 4096) ret i32 0 } declare i32 @open(ptr noundef, i32 noundef, ...) #1 declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @fstat(i32 noundef, ptr noundef) #1 declare ptr @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @mlock(ptr noundef, i32 noundef) #1 declare i32 @msync(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @munlock(ptr noundef, i32 noundef) #1 declare i32 @mlockall(i32 noundef) #1 declare i32 @munlockall(...) #1 declare i32 @munmap(ptr noundef, i32 noundef) #1 declare i32 @mprotect(ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @mremap(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/tmpiha1enw9.c' source_filename = "/tmp/tmpiha1enw9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @execve(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @wrapper(i32 noundef 3, ptr noundef %7, ptr noundef %8, ptr noundef %9) ret i32 %10 } declare i32 @wrapper(i32 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/tmpiha1enw9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @execve(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @wrapper(i32 noundef 3, ptr noundef %7, ptr noundef %8, ptr noundef %9) ret i32 %10 } declare i32 @wrapper(i32 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/tmpn7ayfqvy.c' source_filename = "/tmp/tmpn7ayfqvy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reset(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %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 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store i32 1, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store ptr null, ptr %10, align 8 store ptr null, ptr %11, align 8 %13 = load ptr, ptr %4, align 8 %14 = load ptr, ptr %13, align 8 store ptr %14, ptr %12, align 8 %15 = load ptr, ptr %4, align 8 %16 = icmp ne ptr null, %15 br i1 %16, label %17, label %53 17: ; preds = %3 %18 = load i32, ptr %6, align 4 %19 = icmp slt i32 0, %18 br i1 %19, label %20, label %53 20: ; preds = %17 %21 = load i32, ptr %6, align 4 %22 = call i64 @malloc(i32 noundef %21) %23 = inttoptr i64 %22 to ptr store ptr %23, ptr %10, align 8 %24 = load ptr, ptr %10, align 8 store ptr %24, ptr %11, align 8 %25 = load i32, ptr %5, align 4 %26 = load i32, ptr %6, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %28, label %30 28: ; preds = %20 %29 = load i32, ptr %5, align 4 br label %32 30: ; preds = %20 %31 = load i32, ptr %6, align 4 br label %32 32: ; preds = %30, %28 %33 = phi i32 [ %29, %28 ], [ %31, %30 ] store i32 %33, ptr %9, align 4 store i32 0, ptr %8, align 4 br label %34 34: ; preds = %44, %32 %35 = load i32, ptr %8, align 4 %36 = load i32, ptr %9, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %38, label %47 38: ; preds = %34 %39 = load ptr, ptr %12, align 8 %40 = getelementptr inbounds i8, ptr %39, i32 1 store ptr %40, ptr %12, align 8 %41 = load i8, ptr %39, align 1 %42 = load ptr, ptr %11, align 8 %43 = getelementptr inbounds i8, ptr %42, i32 1 store ptr %43, ptr %11, align 8 store i8 %41, ptr %42, align 1 br label %44 44: ; preds = %38 %45 = load i32, ptr %8, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %8, align 4 br label %34, !llvm.loop !6 47: ; preds = %34 %48 = load ptr, ptr %4, align 8 %49 = load ptr, ptr %48, align 8 %50 = call i32 @free(ptr noundef %49) %51 = load ptr, ptr %10, align 8 %52 = load ptr, ptr %4, align 8 store ptr %51, ptr %52, align 8 br label %54 53: ; preds = %17, %3 store i32 0, ptr %7, align 4 br label %54 54: ; preds = %53, %47 %55 = load i32, ptr %7, align 4 ret i32 %55 } declare i64 @malloc(i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn7ayfqvy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reset(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %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 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store i32 1, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store ptr null, ptr %10, align 8 store ptr null, ptr %11, align 8 %13 = load ptr, ptr %4, align 8 %14 = load ptr, ptr %13, align 8 store ptr %14, ptr %12, align 8 %15 = load ptr, ptr %4, align 8 %16 = icmp ne ptr null, %15 br i1 %16, label %17, label %55 17: ; preds = %3 %18 = load i32, ptr %6, align 4 %19 = icmp slt i32 0, %18 br i1 %19, label %20, label %55 20: ; preds = %17 %21 = load i32, ptr %6, align 4 %22 = call i64 @malloc(i32 noundef %21) %23 = inttoptr i64 %22 to ptr store ptr %23, ptr %10, align 8 %24 = load ptr, ptr %10, align 8 store ptr %24, ptr %11, align 8 %25 = load i32, ptr %5, align 4 %26 = load i32, ptr %6, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %28, label %30 28: ; preds = %20 %29 = load i32, ptr %5, align 4 br label %32 30: ; preds = %20 %31 = load i32, ptr %6, align 4 br label %32 32: ; preds = %30, %28 %33 = phi i32 [ %29, %28 ], [ %31, %30 ] store i32 %33, ptr %9, align 4 store i32 0, ptr %8, align 4 %34 = load i32, ptr %8, align 4 %35 = load i32, ptr %9, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %.lr.ph, label %49 .lr.ph: ; preds = %32 br label %37 37: ; preds = %.lr.ph, %43 %38 = load ptr, ptr %12, align 8 %39 = getelementptr inbounds i8, ptr %38, i32 1 store ptr %39, ptr %12, align 8 %40 = load i8, ptr %38, align 1 %41 = load ptr, ptr %11, align 8 %42 = getelementptr inbounds i8, ptr %41, i32 1 store ptr %42, ptr %11, align 8 store i8 %40, ptr %41, align 1 br label %43 43: ; preds = %37 %44 = load i32, ptr %8, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %8, align 4 %46 = load i32, ptr %8, align 4 %47 = load i32, ptr %9, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %37, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %43 br label %49 49: ; preds = %._crit_edge, %32 %50 = load ptr, ptr %4, align 8 %51 = load ptr, ptr %50, align 8 %52 = call i32 @free(ptr noundef %51) %53 = load ptr, ptr %10, align 8 %54 = load ptr, ptr %4, align 8 store ptr %53, ptr %54, align 8 br label %56 55: ; preds = %17, %3 store i32 0, ptr %7, align 4 br label %56 56: ; preds = %55, %49 %57 = load i32, ptr %7, align 4 ret i32 %57 } declare i64 @malloc(i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp5iapc6t4.c' source_filename = "/tmp/tmp5iapc6t4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"char\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"ushort\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"uint\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"ulong\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_format_line(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca [40 x i8], align 16 %13 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 %14 = getelementptr inbounds [40 x i8], ptr %12, i64 0, i64 0 %15 = load ptr, ptr %7, align 8 %16 = call ptr @fgets(ptr noundef %14, i32 noundef 40, ptr noundef %15) %17 = icmp ne ptr %16, null br i1 %17, label %18, label %58 18: ; preds = %5 %19 = getelementptr inbounds [40 x i8], ptr %12, i64 0, i64 0 %20 = call ptr @strtok(ptr noundef %19, ptr noundef @.str) store ptr %20, ptr %13, align 8 %21 = load ptr, ptr %13, align 8 %22 = call i32 @strcmp(ptr noundef %21, ptr noundef @.str.1) %23 = icmp ne i32 %22, 0 br i1 %23, label %27, label %24 24: ; preds = %18 %25 = load ptr, ptr %8, align 8 store i32 0, ptr %25, align 4 %26 = load ptr, ptr %11, align 8 store i32 1, ptr %26, align 4 br label %51 27: ; preds = %18 %28 = load ptr, ptr %13, align 8 %29 = call i32 @strcmp(ptr noundef %28, ptr noundef @.str.2) %30 = icmp ne i32 %29, 0 br i1 %30, label %34, label %31 31: ; preds = %27 %32 = load ptr, ptr %8, align 8 store i32 1, ptr %32, align 4 %33 = load ptr, ptr %11, align 8 store i32 2, ptr %33, align 4 br label %50 34: ; preds = %27 %35 = load ptr, ptr %13, align 8 %36 = call i32 @strcmp(ptr noundef %35, ptr noundef @.str.3) %37 = icmp ne i32 %36, 0 br i1 %37, label %41, label %38 38: ; preds = %34 %39 = load ptr, ptr %8, align 8 store i32 2, ptr %39, align 4 %40 = load ptr, ptr %11, align 8 store i32 4, ptr %40, align 4 br label %49 41: ; preds = %34 %42 = load ptr, ptr %13, align 8 %43 = call i32 @strcmp(ptr noundef %42, ptr noundef @.str.4) %44 = icmp ne i32 %43, 0 br i1 %44, label %48, label %45 45: ; preds = %41 %46 = load ptr, ptr %8, align 8 store i32 3, ptr %46, align 4 %47 = load ptr, ptr %11, align 8 store i32 4, ptr %47, align 4 br label %48 48: ; preds = %45, %41 br label %49 49: ; preds = %48, %38 br label %50 50: ; preds = %49, %31 br label %51 51: ; preds = %50, %24 %52 = call ptr @strtok(ptr noundef null, ptr noundef @.str) %53 = call i32 @atoi(ptr noundef %52) %54 = load ptr, ptr %9, align 8 store i32 %53, ptr %54, align 4 %55 = load ptr, ptr %10, align 8 %56 = call ptr @strtok(ptr noundef null, ptr noundef @.str) %57 = call i32 @strcpy(ptr noundef %55, ptr noundef %56) store i32 1, ptr %6, align 4 br label %59 58: ; preds = %5 store i32 0, ptr %6, align 4 br label %59 59: ; preds = %58, %51 %60 = load i32, ptr %6, align 4 ret i32 %60 } declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5iapc6t4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"char\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"ushort\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"uint\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"ulong\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_format_line(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca [40 x i8], align 16 %13 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 %14 = getelementptr inbounds [40 x i8], ptr %12, i64 0, i64 0 %15 = load ptr, ptr %7, align 8 %16 = call ptr @fgets(ptr noundef %14, i32 noundef 40, ptr noundef %15) %17 = icmp ne ptr %16, null br i1 %17, label %18, label %58 18: ; preds = %5 %19 = getelementptr inbounds [40 x i8], ptr %12, i64 0, i64 0 %20 = call ptr @strtok(ptr noundef %19, ptr noundef @.str) store ptr %20, ptr %13, align 8 %21 = load ptr, ptr %13, align 8 %22 = call i32 @strcmp(ptr noundef %21, ptr noundef @.str.1) %23 = icmp ne i32 %22, 0 br i1 %23, label %27, label %24 24: ; preds = %18 %25 = load ptr, ptr %8, align 8 store i32 0, ptr %25, align 4 %26 = load ptr, ptr %11, align 8 store i32 1, ptr %26, align 4 br label %51 27: ; preds = %18 %28 = load ptr, ptr %13, align 8 %29 = call i32 @strcmp(ptr noundef %28, ptr noundef @.str.2) %30 = icmp ne i32 %29, 0 br i1 %30, label %34, label %31 31: ; preds = %27 %32 = load ptr, ptr %8, align 8 store i32 1, ptr %32, align 4 %33 = load ptr, ptr %11, align 8 store i32 2, ptr %33, align 4 br label %50 34: ; preds = %27 %35 = load ptr, ptr %13, align 8 %36 = call i32 @strcmp(ptr noundef %35, ptr noundef @.str.3) %37 = icmp ne i32 %36, 0 br i1 %37, label %41, label %38 38: ; preds = %34 %39 = load ptr, ptr %8, align 8 store i32 2, ptr %39, align 4 %40 = load ptr, ptr %11, align 8 store i32 4, ptr %40, align 4 br label %49 41: ; preds = %34 %42 = load ptr, ptr %13, align 8 %43 = call i32 @strcmp(ptr noundef %42, ptr noundef @.str.4) %44 = icmp ne i32 %43, 0 br i1 %44, label %48, label %45 45: ; preds = %41 %46 = load ptr, ptr %8, align 8 store i32 3, ptr %46, align 4 %47 = load ptr, ptr %11, align 8 store i32 4, ptr %47, align 4 br label %48 48: ; preds = %45, %41 br label %49 49: ; preds = %48, %38 br label %50 50: ; preds = %49, %31 br label %51 51: ; preds = %50, %24 %52 = call ptr @strtok(ptr noundef null, ptr noundef @.str) %53 = call i32 @atoi(ptr noundef %52) %54 = load ptr, ptr %9, align 8 store i32 %53, ptr %54, align 4 %55 = load ptr, ptr %10, align 8 %56 = call ptr @strtok(ptr noundef null, ptr noundef @.str) %57 = call i32 @strcpy(ptr noundef %55, ptr noundef %56) store i32 1, ptr %6, align 4 br label %59 58: ; preds = %5 store i32 0, ptr %6, align 4 br label %59 59: ; preds = %58, %51 %60 = load i32, ptr %6, align 4 ret i32 %60 } declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpncbmghml.c' source_filename = "/tmp/tmpncbmghml.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i64, i32 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"could not stat file %s: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [31 x i8] c"file %s is not a regular file!\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"file %s could not be openned: %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [43 x i8] c"could not allocate buffer for file %s: %s\0A\00", align 1 @.str.5 = private unnamed_addr constant [32 x i8] c"error: short read from file %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @load_file(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca %struct.stat, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %9 = load ptr, ptr %4, align 8 %10 = call i32 @stat(ptr noundef %9, ptr noundef %8) %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %18 12: ; preds = %2 %13 = load i32, ptr @stderr, align 4 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr @errno, align 4 %16 = call ptr @strerror(i32 noundef %15) %17 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %13, ptr noundef @.str, ptr noundef %14, ptr noundef %16) store ptr null, ptr %3, align 8 br label %70 18: ; preds = %2 %19 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 1 %20 = load i32, ptr %19, align 8 %21 = call i32 @S_ISREG(i32 noundef %20) %22 = icmp ne i32 %21, 0 br i1 %22, label %27, label %23 23: ; preds = %18 %24 = load i32, ptr @stderr, align 4 %25 = load ptr, ptr %4, align 8 %26 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %24, ptr noundef @.str.1, ptr noundef %25) store ptr null, ptr %3, align 8 br label %70 27: ; preds = %18 %28 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0 %29 = load i64, ptr %28, align 8 %30 = load ptr, ptr %5, align 8 store i64 %29, ptr %30, align 8 %31 = load ptr, ptr %4, align 8 %32 = call ptr @fopen(ptr noundef %31, ptr noundef @.str.2) store ptr %32, ptr %6, align 8 %33 = icmp eq ptr %32, null br i1 %33, label %34, label %40 34: ; preds = %27 %35 = load i32, ptr @stderr, align 4 %36 = load ptr, ptr %4, align 8 %37 = load i32, ptr @errno, align 4 %38 = call ptr @strerror(i32 noundef %37) %39 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %35, ptr noundef @.str.3, ptr noundef %36, ptr noundef %38) store ptr null, ptr %3, align 8 br label %70 40: ; preds = %27 %41 = load ptr, ptr %5, align 8 %42 = load i64, ptr %41, align 8 %43 = call ptr @malloc(i64 noundef %42) #3 store ptr %43, ptr %7, align 8 %44 = icmp eq ptr %43, null br i1 %44, label %45, label %53 45: ; preds = %40 %46 = load i32, ptr @stderr, align 4 %47 = load ptr, ptr %4, align 8 %48 = load i32, ptr @errno, align 4 %49 = call ptr @strerror(i32 noundef %48) %50 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %46, ptr noundef @.str.4, ptr noundef %47, ptr noundef %49) %51 = load ptr, ptr %6, align 8 %52 = call i32 @fclose(ptr noundef %51) store ptr null, ptr %3, align 8 br label %70 53: ; preds = %40 %54 = load ptr, ptr %7, align 8 %55 = load ptr, ptr %5, align 8 %56 = load i64, ptr %55, align 8 %57 = load ptr, ptr %6, align 8 %58 = call i32 @fread(ptr noundef %54, i64 noundef %56, i32 noundef 1, ptr noundef %57) %59 = icmp ne i32 %58, 1 br i1 %59, label %60, label %66 60: ; preds = %53 %61 = load i32, ptr @stderr, align 4 %62 = load ptr, ptr %4, align 8 %63 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %61, ptr noundef @.str.5, ptr noundef %62) %64 = load ptr, ptr %6, align 8 %65 = call i32 @fclose(ptr noundef %64) store ptr null, ptr %3, align 8 br label %70 66: ; preds = %53 %67 = load ptr, ptr %6, align 8 %68 = call i32 @fclose(ptr noundef %67) %69 = load ptr, ptr %7, align 8 store ptr %69, ptr %3, align 8 br label %70 70: ; preds = %66, %60, %45, %34, %23, %12 %71 = load ptr, ptr %3, align 8 ret ptr %71 } declare i32 @stat(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @S_ISREG(i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #2 declare i32 @fclose(ptr noundef) #1 declare i32 @fread(ptr noundef, i64 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpncbmghml.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i64, i32 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"could not stat file %s: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [31 x i8] c"file %s is not a regular file!\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"file %s could not be openned: %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [43 x i8] c"could not allocate buffer for file %s: %s\0A\00", align 1 @.str.5 = private unnamed_addr constant [32 x i8] c"error: short read from file %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @load_file(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca %struct.stat, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %9 = load ptr, ptr %4, align 8 %10 = call i32 @stat(ptr noundef %9, ptr noundef %8) %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %18 12: ; preds = %2 %13 = load i32, ptr @stderr, align 4 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr @errno, align 4 %16 = call ptr @strerror(i32 noundef %15) %17 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %13, ptr noundef @.str, ptr noundef %14, ptr noundef %16) store ptr null, ptr %3, align 8 br label %70 18: ; preds = %2 %19 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 1 %20 = load i32, ptr %19, align 8 %21 = call i32 @S_ISREG(i32 noundef %20) %22 = icmp ne i32 %21, 0 br i1 %22, label %27, label %23 23: ; preds = %18 %24 = load i32, ptr @stderr, align 4 %25 = load ptr, ptr %4, align 8 %26 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %24, ptr noundef @.str.1, ptr noundef %25) store ptr null, ptr %3, align 8 br label %70 27: ; preds = %18 %28 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0 %29 = load i64, ptr %28, align 8 %30 = load ptr, ptr %5, align 8 store i64 %29, ptr %30, align 8 %31 = load ptr, ptr %4, align 8 %32 = call ptr @fopen(ptr noundef %31, ptr noundef @.str.2) store ptr %32, ptr %6, align 8 %33 = icmp eq ptr %32, null br i1 %33, label %34, label %40 34: ; preds = %27 %35 = load i32, ptr @stderr, align 4 %36 = load ptr, ptr %4, align 8 %37 = load i32, ptr @errno, align 4 %38 = call ptr @strerror(i32 noundef %37) %39 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %35, ptr noundef @.str.3, ptr noundef %36, ptr noundef %38) store ptr null, ptr %3, align 8 br label %70 40: ; preds = %27 %41 = load ptr, ptr %5, align 8 %42 = load i64, ptr %41, align 8 %43 = call ptr @malloc(i64 noundef %42) #3 store ptr %43, ptr %7, align 8 %44 = icmp eq ptr %43, null br i1 %44, label %45, label %53 45: ; preds = %40 %46 = load i32, ptr @stderr, align 4 %47 = load ptr, ptr %4, align 8 %48 = load i32, ptr @errno, align 4 %49 = call ptr @strerror(i32 noundef %48) %50 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %46, ptr noundef @.str.4, ptr noundef %47, ptr noundef %49) %51 = load ptr, ptr %6, align 8 %52 = call i32 @fclose(ptr noundef %51) store ptr null, ptr %3, align 8 br label %70 53: ; preds = %40 %54 = load ptr, ptr %7, align 8 %55 = load ptr, ptr %5, align 8 %56 = load i64, ptr %55, align 8 %57 = load ptr, ptr %6, align 8 %58 = call i32 @fread(ptr noundef %54, i64 noundef %56, i32 noundef 1, ptr noundef %57) %59 = icmp ne i32 %58, 1 br i1 %59, label %60, label %66 60: ; preds = %53 %61 = load i32, ptr @stderr, align 4 %62 = load ptr, ptr %4, align 8 %63 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %61, ptr noundef @.str.5, ptr noundef %62) %64 = load ptr, ptr %6, align 8 %65 = call i32 @fclose(ptr noundef %64) store ptr null, ptr %3, align 8 br label %70 66: ; preds = %53 %67 = load ptr, ptr %6, align 8 %68 = call i32 @fclose(ptr noundef %67) %69 = load ptr, ptr %7, align 8 store ptr %69, ptr %3, align 8 br label %70 70: ; preds = %66, %60, %45, %34, %23, %12 %71 = load ptr, ptr %3, align 8 ret ptr %71 } declare i32 @stat(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @S_ISREG(i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #2 declare i32 @fclose(ptr noundef) #1 declare i32 @fread(ptr noundef, i64 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppvdjr_ob.c' source_filename = "/tmp/tmppvdjr_ob.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @NSS_STATUS_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @_nss_puavoadmins_endgrent() #0 { %1 = load i32, ptr @NSS_STATUS_SUCCESS, align 4 ret i32 %1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppvdjr_ob.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @NSS_STATUS_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @_nss_puavoadmins_endgrent() #0 { %1 = load i32, ptr @NSS_STATUS_SUCCESS, align 4 ret i32 %1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprdy6o2zl.c' source_filename = "/tmp/tmprdy6o2zl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOMEM = 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/tmprdy6o2zl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOMEM = 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/tmphjbqjans.c' source_filename = "/tmp/tmphjbqjans.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strdup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i64 @strlen(ptr noundef %6) store i64 %7, ptr %4, align 8 %8 = load i64, ptr %4, align 8 %9 = add i64 %8, 1 %10 = call ptr @malloc(i64 noundef %9) store ptr %10, ptr %5, align 8 %11 = load ptr, ptr %5, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %14 13: ; preds = %1 store ptr null, ptr %2, align 8 br label %19 14: ; preds = %1 %15 = load ptr, ptr %5, align 8 %16 = load ptr, ptr %3, align 8 %17 = call i32 @strcpy(ptr noundef %15, ptr noundef %16) %18 = load ptr, ptr %5, align 8 store ptr %18, ptr %2, align 8 br label %19 19: ; preds = %14, %13 %20 = load ptr, ptr %2, align 8 ret ptr %20 } declare i64 @strlen(ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphjbqjans.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strdup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i64 @strlen(ptr noundef %6) store i64 %7, ptr %4, align 8 %8 = load i64, ptr %4, align 8 %9 = add i64 %8, 1 %10 = call ptr @malloc(i64 noundef %9) store ptr %10, ptr %5, align 8 %11 = load ptr, ptr %5, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %14 13: ; preds = %1 store ptr null, ptr %2, align 8 br label %19 14: ; preds = %1 %15 = load ptr, ptr %5, align 8 %16 = load ptr, ptr %3, align 8 %17 = call i32 @strcpy(ptr noundef %15, ptr noundef %16) %18 = load ptr, ptr %5, align 8 store ptr %18, ptr %2, align 8 br label %19 19: ; preds = %14, %13 %20 = load ptr, ptr %2, align 8 ret ptr %20 } declare i64 @strlen(ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpm51wls78.c' source_filename = "/tmp/tmpm51wls78.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FindLTP(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [680 x i32], align 16 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store i32 %0, ptr %3, align 4 call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 2720, i1 false) %16 = getelementptr inbounds <{ i32, i32, i32, i32, [676 x i32] }>, ptr %4, i32 0, i32 0 store i32 2, ptr %16, align 16 %17 = getelementptr inbounds <{ i32, i32, i32, i32, [676 x i32] }>, ptr %4, i32 0, i32 1 store i32 3, ptr %17, align 4 %18 = getelementptr inbounds <{ i32, i32, i32, i32, [676 x i32] }>, ptr %4, i32 0, i32 2 store i32 5, ptr %18, align 8 %19 = getelementptr inbounds <{ i32, i32, i32, i32, [676 x i32] }>, ptr %4, i32 0, i32 3 store i32 7, ptr %19, align 4 store i32 0, ptr %8, align 4 store i32 4, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %14, align 4 store i32 4, ptr %15, align 4 %20 = load i32, ptr %3, align 4 %21 = icmp sle i32 %20, 4 br i1 %21, label %22, label %28 22: ; preds = %1 %23 = load i32, ptr %3, align 4 %24 = sub nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [680 x i32], ptr %4, i64 0, i64 %25 %27 = load i32, ptr %26, align 4 store i32 %27, ptr %2, align 4 br label %112 28: ; preds = %1 br label %29 29: ; preds = %109, %28 %30 = load i32, ptr %14, align 4 %31 = icmp slt i32 %30, 9 br i1 %31, label %32, label %111 32: ; preds = %29 %33 = load i32, ptr %14, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %14, align 4 %35 = call i32 @Power(i32 noundef 10, i32 noundef %34) store i32 %35, ptr %6, align 4 %36 = load i32, ptr %9, align 4 store i32 %36, ptr %10, align 4 store i32 1, ptr %12, align 4 br label %37 37: ; preds = %106, %32 %38 = load i32, ptr %12, align 4 %39 = icmp slt i32 %38, 10 br i1 %39, label %40, label %109 40: ; preds = %37 %41 = load i32, ptr %8, align 4 store i32 %41, ptr %11, align 4 br label %42 42: ; preds = %104, %40 %43 = load i32, ptr %11, align 4 %44 = load i32, ptr %10, align 4 %45 = icmp ne i32 %43, %44 br i1 %45, label %46, label %105 46: ; preds = %42 %47 = load i32, ptr %11, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %11, align 4 %49 = sext i32 %47 to i64 %50 = getelementptr inbounds [680 x i32], ptr %4, i64 0, i64 %49 %51 = load i32, ptr %50, align 4 %52 = load i32, ptr %12, align 4 %53 = load i32, ptr %6, align 4 %54 = mul nsw i32 %52, %53 %55 = add nsw i32 %51, %54 store i32 %55, ptr %5, align 4 %56 = load i32, ptr %11, align 4 %57 = icmp sge i32 %56, 680 br i1 %57, label %58, label %59 58: ; preds = %46 store i32 0, ptr %11, align 4 br label %59 59: ; preds = %58, %46 %60 = load i32, ptr %5, align 4 %61 = call i64 @IsPrime(i32 noundef %60) %62 = icmp ne i64 %61, 0 br i1 %62, label %63, label %104 63: ; preds = %59 %64 = load i32, ptr %15, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %15, align 4 %66 = load i32, ptr %3, align 4 %67 = icmp eq i32 %65, %66 br i1 %67, label %68, label %70 68: ; preds = %63 %69 = load i32, ptr %5, align 4 store i32 %69, ptr %2, align 4 br label %112 70: ; preds = %63 %71 = load i32, ptr %14, align 4 %72 = add nsw i32 %71, 1 %73 = call i32 @Power(i32 noundef 10, i32 noundef %72) store i32 %73, ptr %7, align 4 store i32 1, ptr %13, align 4 br label %74 74: ; preds = %87, %70 %75 = load i32, ptr %13, align 4 %76 = icmp slt i32 %75, 10 br i1 %76, label %77, label %90 77: ; preds = %74 %78 = load i32, ptr %5, align 4 %79 = load i32, ptr %7, align 4 %80 = load i32, ptr %13, align 4 %81 = mul nsw i32 %79, %80 %82 = add nsw i32 %78, %81 %83 = call i64 @IsPrime(i32 noundef %82) %84 = icmp ne i64 %83, 0 br i1 %84, label %85, label %86 85: ; preds = %77 br label %90 86: ; preds = %77 br label %87 87: ; preds = %86 %88 = load i32, ptr %13, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %13, align 4 br label %74, !llvm.loop !6 90: ; preds = %85, %74 %91 = load i32, ptr %13, align 4 %92 = icmp slt i32 %91, 10 br i1 %92, label %93, label %103 93: ; preds = %90 %94 = load i32, ptr %5, align 4 %95 = load i32, ptr %9, align 4 %96 = add nsw i32 %95, 1 store i32 %96, ptr %9, align 4 %97 = sext i32 %95 to i64 %98 = getelementptr inbounds [680 x i32], ptr %4, i64 0, i64 %97 store i32 %94, ptr %98, align 4 %99 = load i32, ptr %9, align 4 %100 = icmp sge i32 %99, 680 br i1 %100, label %101, label %102 101: ; preds = %93 store i32 0, ptr %9, align 4 br label %102 102: ; preds = %101, %93 br label %103 103: ; preds = %102, %90 br label %104 104: ; preds = %103, %59 br label %42, !llvm.loop !8 105: ; preds = %42 br label %106 106: ; preds = %105 %107 = load i32, ptr %12, align 4 %108 = add nsw i32 %107, 1 store i32 %108, ptr %12, align 4 br label %37, !llvm.loop !9 109: ; preds = %37 %110 = load i32, ptr %10, align 4 store i32 %110, ptr %8, align 4 br label %29, !llvm.loop !10 111: ; preds = %29 store i32 0, ptr %2, align 4 br label %112 112: ; preds = %111, %68, %22 %113 = load i32, ptr %2, align 4 ret i32 %113 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @Power(i32 noundef, i32 noundef) #2 declare i64 @IsPrime(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: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm51wls78.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FindLTP(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [680 x i32], align 16 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store i32 %0, ptr %3, align 4 call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 2720, i1 false) %16 = getelementptr inbounds <{ i32, i32, i32, i32, [676 x i32] }>, ptr %4, i32 0, i32 0 store i32 2, ptr %16, align 16 %17 = getelementptr inbounds <{ i32, i32, i32, i32, [676 x i32] }>, ptr %4, i32 0, i32 1 store i32 3, ptr %17, align 4 %18 = getelementptr inbounds <{ i32, i32, i32, i32, [676 x i32] }>, ptr %4, i32 0, i32 2 store i32 5, ptr %18, align 8 %19 = getelementptr inbounds <{ i32, i32, i32, i32, [676 x i32] }>, ptr %4, i32 0, i32 3 store i32 7, ptr %19, align 4 store i32 0, ptr %8, align 4 store i32 4, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %14, align 4 store i32 4, ptr %15, align 4 %20 = load i32, ptr %3, align 4 %21 = icmp sle i32 %20, 4 br i1 %21, label %22, label %28 22: ; preds = %1 %23 = load i32, ptr %3, align 4 %24 = sub nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [680 x i32], ptr %4, i64 0, i64 %25 %27 = load i32, ptr %26, align 4 store i32 %27, ptr %2, align 4 br label %117 28: ; preds = %1 %29 = load i32, ptr %14, align 4 %30 = icmp slt i32 %29, 9 br i1 %30, label %.lr.ph6, label %116 .lr.ph6: ; preds = %28 br label %31 31: ; preds = %.lr.ph6, %112 %32 = load i32, ptr %14, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %14, align 4 %34 = call i32 @Power(i32 noundef 10, i32 noundef %33) store i32 %34, ptr %6, align 4 %35 = load i32, ptr %9, align 4 store i32 %35, ptr %10, align 4 store i32 1, ptr %12, align 4 %36 = load i32, ptr %12, align 4 %37 = icmp slt i32 %36, 10 br i1 %37, label %.lr.ph3, label %112 .lr.ph3: ; preds = %31 br label %38 38: ; preds = %.lr.ph3, %107 %39 = load i32, ptr %8, align 4 store i32 %39, ptr %11, align 4 %40 = load i32, ptr %11, align 4 %41 = load i32, ptr %10, align 4 %42 = icmp ne i32 %40, %41 br i1 %42, label %.lr.ph1, label %106 .lr.ph1: ; preds = %38 br label %43 43: ; preds = %.lr.ph1, %102 %44 = load i32, ptr %11, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %11, align 4 %46 = sext i32 %44 to i64 %47 = getelementptr inbounds [680 x i32], ptr %4, i64 0, i64 %46 %48 = load i32, ptr %47, align 4 %49 = load i32, ptr %12, align 4 %50 = load i32, ptr %6, align 4 %51 = mul nsw i32 %49, %50 %52 = add nsw i32 %48, %51 store i32 %52, ptr %5, align 4 %53 = load i32, ptr %11, align 4 %54 = icmp sge i32 %53, 680 br i1 %54, label %55, label %56 55: ; preds = %43 store i32 0, ptr %11, align 4 br label %56 56: ; preds = %55, %43 %57 = load i32, ptr %5, align 4 %58 = call i64 @IsPrime(i32 noundef %57) %59 = icmp ne i64 %58, 0 br i1 %59, label %60, label %102 60: ; preds = %56 %61 = load i32, ptr %15, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %15, align 4 %63 = load i32, ptr %3, align 4 %64 = icmp eq i32 %62, %63 br i1 %64, label %65, label %67 65: ; preds = %60 %66 = load i32, ptr %5, align 4 store i32 %66, ptr %2, align 4 br label %117 67: ; preds = %60 %68 = load i32, ptr %14, align 4 %69 = add nsw i32 %68, 1 %70 = call i32 @Power(i32 noundef 10, i32 noundef %69) store i32 %70, ptr %7, align 4 store i32 1, ptr %13, align 4 %71 = load i32, ptr %13, align 4 %72 = icmp slt i32 %71, 10 br i1 %72, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %67 br label %73 73: ; preds = %.lr.ph, %83 %74 = load i32, ptr %5, align 4 %75 = load i32, ptr %7, align 4 %76 = load i32, ptr %13, align 4 %77 = mul nsw i32 %75, %76 %78 = add nsw i32 %74, %77 %79 = call i64 @IsPrime(i32 noundef %78) %80 = icmp ne i64 %79, 0 br i1 %80, label %81, label %82 81: ; preds = %73 br label %88 82: ; preds = %73 br label %83 83: ; preds = %82 %84 = load i32, ptr %13, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %13, align 4 %86 = load i32, ptr %13, align 4 %87 = icmp slt i32 %86, 10 br i1 %87, label %73, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %83 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %67 br label %88 88: ; preds = %.loopexit, %81 %89 = load i32, ptr %13, align 4 %90 = icmp slt i32 %89, 10 br i1 %90, label %91, label %101 91: ; preds = %88 %92 = load i32, ptr %5, align 4 %93 = load i32, ptr %9, align 4 %94 = add nsw i32 %93, 1 store i32 %94, ptr %9, align 4 %95 = sext i32 %93 to i64 %96 = getelementptr inbounds [680 x i32], ptr %4, i64 0, i64 %95 store i32 %92, ptr %96, align 4 %97 = load i32, ptr %9, align 4 %98 = icmp sge i32 %97, 680 br i1 %98, label %99, label %100 99: ; preds = %91 store i32 0, ptr %9, align 4 br label %100 100: ; preds = %99, %91 br label %101 101: ; preds = %100, %88 br label %102 102: ; preds = %101, %56 %103 = load i32, ptr %11, align 4 %104 = load i32, ptr %10, align 4 %105 = icmp ne i32 %103, %104 br i1 %105, label %43, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %102 br label %106 106: ; preds = %._crit_edge, %38 br label %107 107: ; preds = %106 %108 = load i32, ptr %12, align 4 %109 = add nsw i32 %108, 1 store i32 %109, ptr %12, align 4 %110 = load i32, ptr %12, align 4 %111 = icmp slt i32 %110, 10 br i1 %111, label %38, label %._crit_edge4, !llvm.loop !9 ._crit_edge4: ; preds = %107 br label %112 112: ; preds = %._crit_edge4, %31 %113 = load i32, ptr %10, align 4 store i32 %113, ptr %8, align 4 %114 = load i32, ptr %14, align 4 %115 = icmp slt i32 %114, 9 br i1 %115, label %31, label %._crit_edge7, !llvm.loop !10 ._crit_edge7: ; preds = %112 br label %116 116: ; preds = %._crit_edge7, %28 store i32 0, ptr %2, align 4 br label %117 117: ; preds = %116, %65, %22 %118 = load i32, ptr %2, align 4 ret i32 %118 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @Power(i32 noundef, i32 noundef) #2 declare i64 @IsPrime(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: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpln_zrqw_.c' source_filename = "/tmp/tmpln_zrqw_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @m44mulf_affine(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = 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 store ptr %3, ptr %8, align 8 %15 = load ptr, ptr %8, align 8 %16 = load i32, ptr %7, align 4 %17 = sext i32 %16 to i64 %18 = mul i64 12, %17 %19 = trunc i64 %18 to i32 %20 = call i32 @memset(ptr noundef %15, i32 noundef 0, i32 noundef %19) store i32 0, ptr %9, align 4 br label %21 21: ; preds = %95, %4 %22 = load i32, ptr %9, align 4 %23 = icmp slt i32 %22, 3 br i1 %23, label %24, label %98 24: ; preds = %21 %25 = load ptr, ptr %5, align 8 %26 = load i32, ptr %9, align 4 %27 = mul nsw i32 %26, 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds float, ptr %25, i64 %28 store ptr %29, ptr %12, align 8 %30 = load ptr, ptr %8, align 8 %31 = load i32, ptr %9, align 4 %32 = load i32, ptr %7, align 4 %33 = mul nsw i32 %31, %32 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds float, ptr %30, i64 %34 store ptr %35, ptr %14, align 8 store i32 0, ptr %10, align 4 br label %36 36: ; preds = %71, %24 %37 = load i32, ptr %10, align 4 %38 = icmp slt i32 %37, 3 br i1 %38, label %39, label %74 39: ; preds = %36 store i32 0, ptr %11, align 4 br label %40 40: ; preds = %67, %39 %41 = load i32, ptr %11, align 4 %42 = load i32, ptr %7, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %44, label %70 44: ; preds = %40 %45 = load ptr, ptr %6, align 8 %46 = load i32, ptr %11, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds float, ptr %45, i64 %47 store ptr %48, ptr %13, align 8 %49 = load ptr, ptr %12, align 8 %50 = load i32, ptr %10, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds float, ptr %49, i64 %51 %53 = load float, ptr %52, align 4 %54 = load ptr, ptr %13, align 8 %55 = load i32, ptr %7, align 4 %56 = load i32, ptr %10, align 4 %57 = mul nsw i32 %55, %56 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds float, ptr %54, i64 %58 %60 = load float, ptr %59, align 4 %61 = load ptr, ptr %14, align 8 %62 = load i32, ptr %11, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds float, ptr %61, i64 %63 %65 = load float, ptr %64, align 4 %66 = call float @llvm.fmuladd.f32(float %53, float %60, float %65) store float %66, ptr %64, align 4 br label %67 67: ; preds = %44 %68 = load i32, ptr %11, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %11, align 4 br label %40, !llvm.loop !6 70: ; preds = %40 br label %71 71: ; preds = %70 %72 = load i32, ptr %10, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %10, align 4 br label %36, !llvm.loop !8 74: ; preds = %36 store i32 0, ptr %11, align 4 br label %75 75: ; preds = %91, %74 %76 = load i32, ptr %11, align 4 %77 = load i32, ptr %7, align 4 %78 = icmp slt i32 %76, %77 br i1 %78, label %79, label %94 79: ; preds = %75 %80 = load ptr, ptr %12, align 8 %81 = load i32, ptr %10, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds float, ptr %80, i64 %82 %84 = load float, ptr %83, align 4 %85 = load ptr, ptr %14, align 8 %86 = load i32, ptr %11, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds float, ptr %85, i64 %87 %89 = load float, ptr %88, align 4 %90 = fadd float %89, %84 store float %90, ptr %88, align 4 br label %91 91: ; preds = %79 %92 = load i32, ptr %11, align 4 %93 = add nsw i32 %92, 1 store i32 %93, ptr %11, align 4 br label %75, !llvm.loop !9 94: ; preds = %75 br label %95 95: ; preds = %94 %96 = load i32, ptr %9, align 4 %97 = add nsw i32 %96, 1 store i32 %97, ptr %9, align 4 br label %21, !llvm.loop !10 98: ; preds = %21 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpln_zrqw_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @m44mulf_affine(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = 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 store ptr %3, ptr %8, align 8 %15 = load ptr, ptr %8, align 8 %16 = load i32, ptr %7, align 4 %17 = sext i32 %16 to i64 %18 = mul i64 12, %17 %19 = trunc i64 %18 to i32 %20 = call i32 @memset(ptr noundef %15, i32 noundef 0, i32 noundef %19) store i32 0, ptr %9, align 4 %21 = load i32, ptr %9, align 4 %22 = icmp slt i32 %21, 3 br i1 %22, label %.lr.ph8, label %104 .lr.ph8: ; preds = %4 br label %23 23: ; preds = %.lr.ph8, %99 %24 = load ptr, ptr %5, align 8 %25 = load i32, ptr %9, align 4 %26 = mul nsw i32 %25, 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds float, ptr %24, i64 %27 store ptr %28, ptr %12, align 8 %29 = load ptr, ptr %8, align 8 %30 = load i32, ptr %9, align 4 %31 = load i32, ptr %7, align 4 %32 = mul nsw i32 %30, %31 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds float, ptr %29, i64 %33 store ptr %34, ptr %14, align 8 store i32 0, ptr %10, align 4 %35 = load i32, ptr %10, align 4 %36 = icmp slt i32 %35, 3 br i1 %36, label %.lr.ph2, label %76 .lr.ph2: ; preds = %23 br label %37 37: ; preds = %.lr.ph2, %71 store i32 0, ptr %11, align 4 %38 = load i32, ptr %11, align 4 %39 = load i32, ptr %7, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %.lr.ph, label %70 .lr.ph: ; preds = %37 br label %41 41: ; preds = %.lr.ph, %64 %42 = load ptr, ptr %6, align 8 %43 = load i32, ptr %11, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds float, ptr %42, i64 %44 store ptr %45, ptr %13, align 8 %46 = load ptr, ptr %12, align 8 %47 = load i32, ptr %10, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds float, ptr %46, i64 %48 %50 = load float, ptr %49, align 4 %51 = load ptr, ptr %13, align 8 %52 = load i32, ptr %7, align 4 %53 = load i32, ptr %10, align 4 %54 = mul nsw i32 %52, %53 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds float, ptr %51, i64 %55 %57 = load float, ptr %56, align 4 %58 = load ptr, ptr %14, align 8 %59 = load i32, ptr %11, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds float, ptr %58, i64 %60 %62 = load float, ptr %61, align 4 %63 = call float @llvm.fmuladd.f32(float %50, float %57, float %62) store float %63, ptr %61, align 4 br label %64 64: ; preds = %41 %65 = load i32, ptr %11, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %11, align 4 %67 = load i32, ptr %11, align 4 %68 = load i32, ptr %7, align 4 %69 = icmp slt i32 %67, %68 br i1 %69, label %41, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %64 br label %70 70: ; preds = %._crit_edge, %37 br label %71 71: ; preds = %70 %72 = load i32, ptr %10, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %10, align 4 %74 = load i32, ptr %10, align 4 %75 = icmp slt i32 %74, 3 br i1 %75, label %37, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %71 br label %76 76: ; preds = %._crit_edge3, %23 store i32 0, ptr %11, align 4 %77 = load i32, ptr %11, align 4 %78 = load i32, ptr %7, align 4 %79 = icmp slt i32 %77, %78 br i1 %79, label %.lr.ph5, label %98 .lr.ph5: ; preds = %76 br label %80 80: ; preds = %.lr.ph5, %92 %81 = load ptr, ptr %12, align 8 %82 = load i32, ptr %10, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds float, ptr %81, i64 %83 %85 = load float, ptr %84, align 4 %86 = load ptr, ptr %14, align 8 %87 = load i32, ptr %11, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds float, ptr %86, i64 %88 %90 = load float, ptr %89, align 4 %91 = fadd float %90, %85 store float %91, ptr %89, align 4 br label %92 92: ; preds = %80 %93 = load i32, ptr %11, align 4 %94 = add nsw i32 %93, 1 store i32 %94, ptr %11, align 4 %95 = load i32, ptr %11, align 4 %96 = load i32, ptr %7, align 4 %97 = icmp slt i32 %95, %96 br i1 %97, label %80, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %92 br label %98 98: ; preds = %._crit_edge6, %76 br label %99 99: ; preds = %98 %100 = load i32, ptr %9, align 4 %101 = add nsw i32 %100, 1 store i32 %101, ptr %9, align 4 %102 = load i32, ptr %9, align 4 %103 = icmp slt i32 %102, 3 br i1 %103, label %23, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %99 br label %104 104: ; preds = %._crit_edge9, %4 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpc5g1d9wu.c' source_filename = "/tmp/tmpc5g1d9wu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ExecuteCommand9() #0 { %1 = call i32 (...) @OutputValidLines() ret i32 0 } declare i32 @OutputValidLines(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc5g1d9wu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ExecuteCommand9() #0 { %1 = call i32 (...) @OutputValidLines() ret i32 0 } declare i32 @OutputValidLines(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2p_vfzv_.c' source_filename = "/tmp/tmp2p_vfzv_.c" target datalayout = "e-m:e-p270: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/tmp2p_vfzv_.c" target datalayout = "e-m:e-p270: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/tmpvtmid3cg.c' source_filename = "/tmp/tmpvtmid3cg.c" target datalayout = "e-m:e-p270: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/tmpvtmid3cg.c" target datalayout = "e-m:e-p270: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/tmpqv66v6d7.c' source_filename = "/tmp/tmpqv66v6d7.c" target datalayout = "e-m:e-p270: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/tmpqv66v6d7.c" target datalayout = "e-m:e-p270: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/tmppt2f534m.c' source_filename = "/tmp/tmppt2f534m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print(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 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %17, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %20 10: ; preds = %6 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i32, ptr %11, i64 %13 %15 = load i32, ptr %14, align 4 %16 = call i32 @printf(ptr noundef @.str, i32 noundef %15) br label %17 17: ; preds = %10 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %5, align 4 br label %6, !llvm.loop !6 20: ; preds = %6 ret void } 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/tmppt2f534m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print(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 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %22 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %16 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i32, ptr %10, i64 %12 %14 = load i32, ptr %13, align 4 %15 = call i32 @printf(ptr noundef @.str, i32 noundef %14) br label %16 16: ; preds = %9 %17 = load i32, ptr %5, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %5, align 4 %19 = load i32, ptr %5, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %22 22: ; preds = %._crit_edge, %2 ret void } 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/tmpmhwhiwf4.c' source_filename = "/tmp/tmpmhwhiwf4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"Message type: %02x - \00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"Deliver\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"Submit\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"Status report\0A\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"Reserved\0A\00", align 1 @.str.5 = private unnamed_addr constant [17 x i8] c", Reply path set\00", align 1 @.str.6 = private unnamed_addr constant [15 x i8] c", UDH included\00", align 1 @.str.7 = private unnamed_addr constant [8 x i8] c", No VP\00", align 1 @.str.8 = private unnamed_addr constant [16 x i8] c", Reserved VP!\0A\00", align 1 @.str.9 = private unnamed_addr constant [14 x i8] c", Relative VP\00", align 1 @.str.10 = private unnamed_addr constant [14 x i8] c", Absolute VP\00", align 1 @.str.11 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.12 = private unnamed_addr constant [13 x i8] c"MR = 0x%02X\0A\00", align 1 @.str.13 = private unnamed_addr constant [14 x i8] c"PID = 0x%02X\0A\00", align 1 @.str.14 = private unnamed_addr constant [14 x i8] c"DCS = 0x%02X\0A\00", align 1 @.str.15 = private unnamed_addr constant [13 x i8] c"VP = 0x%02X\0A\00", align 1 @.str.16 = private unnamed_addr constant [14 x i8] c"UDL = 0x%02X\0A\00", align 1 @.str.17 = private unnamed_addr constant [24 x i8] c"UDL[adjusted] = 0x%02X\0A\00", align 1 @.str.18 = private unnamed_addr constant [8 x i8] c"data = \00", align 1 @.str.19 = private unnamed_addr constant [18 x i8] c"\0AData too short!\0A\00", align 1 @.str.20 = private unnamed_addr constant [5 x i8] c"%02X\00", align 1 @.str.21 = private unnamed_addr constant [23 x i8] c"Did not reach end: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pdu_decode(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 store i32 0, ptr %13, align 4 store i32 0, ptr %14, align 4 store i32 0, ptr %15, align 4 store i32 0, ptr %16, align 4 store i32 0, ptr %17, align 4 %20 = load ptr, ptr %3, align 8 %21 = load i32, ptr %6, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 %24 = call i32 @pdu_get_number(ptr noundef %23, i32 noundef 0) store i32 %24, ptr %7, align 4 %25 = load i32, ptr %7, align 4 %26 = icmp slt i32 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %1 %28 = load i32, ptr %7, align 4 store i32 %28, ptr %2, align 4 br label %394 29: ; preds = %1 %30 = load i32, ptr %7, align 4 %31 = load i32, ptr %6, align 4 %32 = add nsw i32 %31, %30 store i32 %32, ptr %6, align 4 %33 = load ptr, ptr %3, align 8 %34 = load i32, ptr %6, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %33, i64 %35 %37 = call i32 @hex2number(ptr noundef %36, i32 noundef 2) store i32 %37, ptr %4, align 4 %38 = load i32, ptr %4, align 4 %39 = icmp slt i32 %38, 0 br i1 %39, label %40, label %42 40: ; preds = %29 %41 = load i32, ptr %4, align 4 store i32 %41, ptr %2, align 4 br label %394 42: ; preds = %29 %43 = load i32, ptr %6, align 4 %44 = add nsw i32 %43, 2 store i32 %44, ptr %6, align 4 %45 = load i32, ptr %4, align 4 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %45) %47 = load i32, ptr %4, align 4 %48 = and i32 %47, 3 switch i32 %48, label %57 [ i32 0, label %49 i32 1, label %51 i32 2, label %53 i32 3, label %55 ] 49: ; preds = %42 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 1, ptr %9, align 4 br label %57 51: ; preds = %42 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 1, ptr %8, align 4 br label %57 53: ; preds = %42 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 1, ptr %10, align 4 br label %57 55: ; preds = %42 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 -1, ptr %2, align 4 br label %394 57: ; preds = %42, %53, %51, %49 %58 = load i32, ptr %8, align 4 %59 = icmp ne i32 %58, 0 br i1 %59, label %63, label %60 60: ; preds = %57 %61 = load i32, ptr %9, align 4 %62 = icmp ne i32 %61, 0 br i1 %62, label %63, label %74 63: ; preds = %60, %57 %64 = load i32, ptr %4, align 4 %65 = and i32 %64, 128 %66 = icmp ne i32 %65, 0 br i1 %66, label %67, label %68 67: ; preds = %63 store i32 1, ptr %12, align 4 br label %68 68: ; preds = %67, %63 %69 = load i32, ptr %4, align 4 %70 = and i32 %69, 64 %71 = icmp ne i32 %70, 0 br i1 %71, label %72, label %73 72: ; preds = %68 store i32 1, ptr %13, align 4 br label %73 73: ; preds = %72, %68 br label %74 74: ; preds = %73, %60 %75 = load i32, ptr %12, align 4 %76 = icmp ne i32 %75, 0 br i1 %76, label %77, label %79 77: ; preds = %74 %78 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %79 79: ; preds = %77, %74 %80 = load i32, ptr %13, align 4 %81 = icmp ne i32 %80, 0 br i1 %81, label %82, label %84 82: ; preds = %79 %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %84 84: ; preds = %82, %79 %85 = load i32, ptr %8, align 4 %86 = icmp ne i32 %85, 0 br i1 %86, label %87, label %99 87: ; preds = %84 %88 = load i32, ptr %4, align 4 %89 = and i32 %88, 24 switch i32 %89, label %98 [ i32 0, label %90 i32 1, label %92 i32 2, label %94 i32 3, label %96 ] 90: ; preds = %87 %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %98 92: ; preds = %87 %93 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) store i32 -1, ptr %2, align 4 br label %394 94: ; preds = %87 %95 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) store i32 2, ptr %11, align 4 br label %98 96: ; preds = %87 %97 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) store i32 3, ptr %11, align 4 br label %98 98: ; preds = %87, %96, %94, %90 br label %99 99: ; preds = %98, %84 %100 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %101 = load i32, ptr %8, align 4 %102 = icmp ne i32 %101, 0 br i1 %102, label %106, label %103 103: ; preds = %99 %104 = load i32, ptr %10, align 4 %105 = icmp ne i32 %104, 0 br i1 %105, label %106, label %121 106: ; preds = %103, %99 %107 = load ptr, ptr %3, align 8 %108 = load i32, ptr %6, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds i8, ptr %107, i64 %109 %111 = call i32 @hex2number(ptr noundef %110, i32 noundef 2) store i32 %111, ptr %5, align 4 %112 = load i32, ptr %5, align 4 %113 = icmp slt i32 %112, 0 br i1 %113, label %114, label %116 114: ; preds = %106 %115 = load i32, ptr %5, align 4 store i32 %115, ptr %2, align 4 br label %394 116: ; preds = %106 %117 = load i32, ptr %6, align 4 %118 = add nsw i32 %117, 2 store i32 %118, ptr %6, align 4 %119 = load i32, ptr %5, align 4 %120 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %119) br label %121 121: ; preds = %116, %103 %122 = load ptr, ptr %3, align 8 %123 = load i32, ptr %6, align 4 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds i8, ptr %122, i64 %124 %126 = call i32 @pdu_get_number(ptr noundef %125, i32 noundef 1) store i32 %126, ptr %7, align 4 %127 = load i32, ptr %7, align 4 %128 = icmp slt i32 %127, 0 br i1 %128, label %129, label %131 129: ; preds = %121 %130 = load i32, ptr %7, align 4 store i32 %130, ptr %2, align 4 br label %394 131: ; preds = %121 %132 = load i32, ptr %7, align 4 %133 = load i32, ptr %6, align 4 %134 = add nsw i32 %133, %132 store i32 %134, ptr %6, align 4 %135 = load i32, ptr %10, align 4 %136 = icmp ne i32 %135, 0 br i1 %136, label %137, label %164 137: ; preds = %131 %138 = load ptr, ptr %3, align 8 %139 = load i32, ptr %6, align 4 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds i8, ptr %138, i64 %140 %142 = call i32 @pdu_get_timestamp(ptr noundef %141) store i32 %142, ptr %7, align 4 %143 = load i32, ptr %7, align 4 %144 = icmp slt i32 %143, 0 br i1 %144, label %145, label %147 145: ; preds = %137 %146 = load i32, ptr %7, align 4 store i32 %146, ptr %2, align 4 br label %394 147: ; preds = %137 %148 = load i32, ptr %7, align 4 %149 = load i32, ptr %6, align 4 %150 = add nsw i32 %149, %148 store i32 %150, ptr %6, align 4 %151 = load ptr, ptr %3, align 8 %152 = load i32, ptr %6, align 4 %153 = sext i32 %152 to i64 %154 = getelementptr inbounds i8, ptr %151, i64 %153 %155 = call i32 @pdu_get_timestamp(ptr noundef %154) store i32 %155, ptr %7, align 4 %156 = load i32, ptr %7, align 4 %157 = icmp slt i32 %156, 0 br i1 %157, label %158, label %160 158: ; preds = %147 %159 = load i32, ptr %7, align 4 store i32 %159, ptr %2, align 4 br label %394 160: ; preds = %147 %161 = load i32, ptr %7, align 4 %162 = load i32, ptr %6, align 4 %163 = add nsw i32 %162, %161 store i32 %163, ptr %6, align 4 br label %164 164: ; preds = %160, %131 %165 = load i32, ptr %8, align 4 %166 = icmp ne i32 %165, 0 br i1 %166, label %170, label %167 167: ; preds = %164 %168 = load i32, ptr %9, align 4 %169 = icmp ne i32 %168, 0 br i1 %169, label %170, label %199 170: ; preds = %167, %164 %171 = load ptr, ptr %3, align 8 %172 = load i32, ptr %6, align 4 %173 = sext i32 %172 to i64 %174 = getelementptr inbounds i8, ptr %171, i64 %173 %175 = call i32 @hex2number(ptr noundef %174, i32 noundef 2) store i32 %175, ptr %14, align 4 %176 = load i32, ptr %14, align 4 %177 = icmp slt i32 %176, 0 br i1 %177, label %178, label %180 178: ; preds = %170 %179 = load i32, ptr %14, align 4 store i32 %179, ptr %2, align 4 br label %394 180: ; preds = %170 %181 = load i32, ptr %6, align 4 %182 = add nsw i32 %181, 2 store i32 %182, ptr %6, align 4 %183 = load i32, ptr %14, align 4 %184 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %183) %185 = load ptr, ptr %3, align 8 %186 = load i32, ptr %6, align 4 %187 = sext i32 %186 to i64 %188 = getelementptr inbounds i8, ptr %185, i64 %187 %189 = call i32 @hex2number(ptr noundef %188, i32 noundef 2) store i32 %189, ptr %15, align 4 %190 = load i32, ptr %15, align 4 %191 = icmp slt i32 %190, 0 br i1 %191, label %192, label %194 192: ; preds = %180 %193 = load i32, ptr %15, align 4 store i32 %193, ptr %2, align 4 br label %394 194: ; preds = %180 %195 = load i32, ptr %6, align 4 %196 = add nsw i32 %195, 2 store i32 %196, ptr %6, align 4 %197 = load i32, ptr %15, align 4 %198 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %197) br label %199 199: ; preds = %194, %167 %200 = load i32, ptr %8, align 4 %201 = icmp ne i32 %200, 0 br i1 %201, label %202, label %242 202: ; preds = %199 %203 = load i32, ptr %11, align 4 %204 = icmp eq i32 %203, 2 br i1 %204, label %208, label %205 205: ; preds = %202 %206 = load i32, ptr %11, align 4 %207 = icmp eq i32 %206, 0 br i1 %207, label %208, label %223 208: ; preds = %205, %202 %209 = load ptr, ptr %3, align 8 %210 = load i32, ptr %6, align 4 %211 = sext i32 %210 to i64 %212 = getelementptr inbounds i8, ptr %209, i64 %211 %213 = call i32 @hex2number(ptr noundef %212, i32 noundef 2) store i32 %213, ptr %16, align 4 %214 = load i32, ptr %16, align 4 %215 = icmp slt i32 %214, 0 br i1 %215, label %216, label %218 216: ; preds = %208 %217 = load i32, ptr %16, align 4 store i32 %217, ptr %2, align 4 br label %394 218: ; preds = %208 %219 = load i32, ptr %6, align 4 %220 = add nsw i32 %219, 2 store i32 %220, ptr %6, align 4 %221 = load i32, ptr %16, align 4 %222 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef %221) br label %241 223: ; preds = %205 %224 = load i32, ptr %11, align 4 %225 = icmp eq i32 %224, 3 br i1 %225, label %226, label %240 226: ; preds = %223 %227 = load ptr, ptr %3, align 8 %228 = load i32, ptr %6, align 4 %229 = sext i32 %228 to i64 %230 = getelementptr inbounds i8, ptr %227, i64 %229 %231 = call i32 @pdu_get_timestamp(ptr noundef %230) store i32 %231, ptr %7, align 4 %232 = load i32, ptr %7, align 4 %233 = icmp slt i32 %232, 0 br i1 %233, label %234, label %236 234: ; preds = %226 %235 = load i32, ptr %7, align 4 store i32 %235, ptr %2, align 4 br label %394 236: ; preds = %226 %237 = load i32, ptr %7, align 4 %238 = load i32, ptr %6, align 4 %239 = add nsw i32 %238, %237 store i32 %239, ptr %6, align 4 br label %240 240: ; preds = %236, %223 br label %241 241: ; preds = %240, %218 br label %242 242: ; preds = %241, %199 %243 = load i32, ptr %9, align 4 %244 = icmp ne i32 %243, 0 br i1 %244, label %245, label %259 245: ; preds = %242 %246 = load ptr, ptr %3, align 8 %247 = load i32, ptr %6, align 4 %248 = sext i32 %247 to i64 %249 = getelementptr inbounds i8, ptr %246, i64 %248 %250 = call i32 @pdu_get_timestamp(ptr noundef %249) store i32 %250, ptr %7, align 4 %251 = load i32, ptr %7, align 4 %252 = icmp slt i32 %251, 0 br i1 %252, label %253, label %255 253: ; preds = %245 %254 = load i32, ptr %7, align 4 store i32 %254, ptr %2, align 4 br label %394 255: ; preds = %245 %256 = load i32, ptr %7, align 4 %257 = load i32, ptr %6, align 4 %258 = add nsw i32 %257, %256 store i32 %258, ptr %6, align 4 br label %259 259: ; preds = %255, %242 %260 = load i32, ptr %8, align 4 %261 = icmp ne i32 %260, 0 br i1 %261, label %265, label %262 262: ; preds = %259 %263 = load i32, ptr %9, align 4 %264 = icmp ne i32 %263, 0 br i1 %264, label %265, label %363 265: ; preds = %262, %259 %266 = load ptr, ptr %3, align 8 %267 = load i32, ptr %6, align 4 %268 = sext i32 %267 to i64 %269 = getelementptr inbounds i8, ptr %266, i64 %268 %270 = call i32 @hex2number(ptr noundef %269, i32 noundef 2) store i32 %270, ptr %17, align 4 %271 = load i32, ptr %17, align 4 %272 = icmp slt i32 %271, 0 br i1 %272, label %273, label %275 273: ; preds = %265 %274 = load i32, ptr %17, align 4 store i32 %274, ptr %2, align 4 br label %394 275: ; preds = %265 %276 = load i32, ptr %6, align 4 %277 = add nsw i32 %276, 2 store i32 %277, ptr %6, align 4 %278 = load i32, ptr %17, align 4 %279 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, i32 noundef %278) %280 = load i32, ptr %15, align 4 %281 = and i32 %280, 192 %282 = icmp eq i32 %281, 0 br i1 %282, label %283, label %294 283: ; preds = %275 %284 = load i32, ptr %15, align 4 %285 = icmp eq i32 %284, 0 br i1 %285, label %318, label %286 286: ; preds = %283 %287 = load i32, ptr %15, align 4 %288 = and i32 %287, 44 %289 = icmp eq i32 %288, 0 br i1 %289, label %318, label %290 290: ; preds = %286 %291 = load i32, ptr %15, align 4 %292 = and i32 %291, 44 %293 = icmp eq i32 %292, 32 br i1 %293, label %318, label %294 294: ; preds = %290, %275 %295 = load i32, ptr %15, align 4 %296 = and i32 %295, 240 %297 = icmp eq i32 %296, 192 br i1 %297, label %302, label %298 298: ; preds = %294 %299 = load i32, ptr %15, align 4 %300 = and i32 %299, 240 %301 = icmp eq i32 %300, 208 br i1 %301, label %302, label %306 302: ; preds = %298, %294 %303 = load i32, ptr %15, align 4 %304 = and i32 %303, 4 %305 = icmp ne i32 %304, 4 br i1 %305, label %318, label %306 306: ; preds = %302, %298 %307 = load i32, ptr %15, align 4 %308 = and i32 %307, 240 %309 = icmp eq i32 %308, 240 br i1 %309, label %310, label %336 310: ; preds = %306 %311 = load i32, ptr %15, align 4 %312 = and i32 %311, 8 %313 = icmp ne i32 %312, 8 br i1 %313, label %314, label %336 314: ; preds = %310 %315 = load i32, ptr %15, align 4 %316 = and i32 %315, 4 %317 = icmp eq i32 %316, 0 br i1 %317, label %318, label %336 318: ; preds = %314, %302, %290, %286, %283 %319 = load i32, ptr %17, align 4 %320 = mul nsw i32 %319, 7 %321 = srem i32 %320, 8 %322 = icmp ne i32 %321, 0 br i1 %322, label %323, label %329 323: ; preds = %318 %324 = load i32, ptr %17, align 4 %325 = mul nsw i32 %324, 7 %326 = sdiv i32 %325, 8 store i32 %326, ptr %17, align 4 %327 = load i32, ptr %17, align 4 %328 = add nsw i32 %327, 1 store i32 %328, ptr %17, align 4 br label %333 329: ; preds = %318 %330 = load i32, ptr %17, align 4 %331 = mul nsw i32 %330, 7 %332 = sdiv i32 %331, 8 store i32 %332, ptr %17, align 4 br label %333 333: ; preds = %329, %323 %334 = load i32, ptr %17, align 4 %335 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i32 noundef %334) br label %336 336: ; preds = %333, %314, %310, %306 %337 = call i32 (ptr, ...) @printf(ptr noundef @.str.18) store i32 0, ptr %19, align 4 br label %338 338: ; preds = %358, %336 %339 = load i32, ptr %19, align 4 %340 = load i32, ptr %17, align 4 %341 = icmp slt i32 %339, %340 br i1 %341, label %342, label %361 342: ; preds = %338 %343 = load ptr, ptr %3, align 8 %344 = load i32, ptr %6, align 4 %345 = sext i32 %344 to i64 %346 = getelementptr inbounds i8, ptr %343, i64 %345 %347 = call i32 @hex2number(ptr noundef %346, i32 noundef 2) store i32 %347, ptr %18, align 4 %348 = load i32, ptr %18, align 4 %349 = icmp slt i32 %348, 0 br i1 %349, label %350, label %353 350: ; preds = %342 %351 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %352 = load i32, ptr %18, align 4 store i32 %352, ptr %2, align 4 br label %394 353: ; preds = %342 %354 = load i32, ptr %6, align 4 %355 = add nsw i32 %354, 2 store i32 %355, ptr %6, align 4 %356 = load i32, ptr %18, align 4 %357 = call i32 (ptr, ...) @printf(ptr noundef @.str.20, i32 noundef %356) br label %358 358: ; preds = %353 %359 = load i32, ptr %19, align 4 %360 = add nsw i32 %359, 1 store i32 %360, ptr %19, align 4 br label %338, !llvm.loop !6 361: ; preds = %338 %362 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) br label %363 363: ; preds = %361, %262 %364 = load ptr, ptr %3, align 8 %365 = load i32, ptr %6, align 4 %366 = sext i32 %365 to i64 %367 = getelementptr inbounds i8, ptr %364, i64 %366 %368 = load i8, ptr %367, align 1 %369 = sext i8 %368 to i32 %370 = icmp ne i32 %369, 13 br i1 %370, label %371, label %393 371: ; preds = %363 %372 = load ptr, ptr %3, align 8 %373 = load i32, ptr %6, align 4 %374 = sext i32 %373 to i64 %375 = getelementptr inbounds i8, ptr %372, i64 %374 %376 = load i8, ptr %375, align 1 %377 = sext i8 %376 to i32 %378 = icmp ne i32 %377, 10 br i1 %378, label %379, label %393 379: ; preds = %371 %380 = load ptr, ptr %3, align 8 %381 = load i32, ptr %6, align 4 %382 = sext i32 %381 to i64 %383 = getelementptr inbounds i8, ptr %380, i64 %382 %384 = load i8, ptr %383, align 1 %385 = sext i8 %384 to i32 %386 = icmp ne i32 %385, 0 br i1 %386, label %387, label %393 387: ; preds = %379 %388 = load ptr, ptr %3, align 8 %389 = load i32, ptr %6, align 4 %390 = sext i32 %389 to i64 %391 = getelementptr inbounds i8, ptr %388, i64 %390 %392 = call i32 (ptr, ...) @printf(ptr noundef @.str.21, ptr noundef %391) store i32 1, ptr %2, align 4 br label %394 393: ; preds = %379, %371, %363 store i32 0, ptr %2, align 4 br label %394 394: ; preds = %393, %387, %350, %273, %253, %234, %216, %192, %178, %158, %145, %129, %114, %92, %55, %40, %27 %395 = load i32, ptr %2, align 4 ret i32 %395 } declare i32 @pdu_get_number(ptr noundef, i32 noundef) #1 declare i32 @hex2number(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @pdu_get_timestamp(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpmhwhiwf4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"Message type: %02x - \00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"Deliver\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"Submit\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"Status report\0A\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"Reserved\0A\00", align 1 @.str.5 = private unnamed_addr constant [17 x i8] c", Reply path set\00", align 1 @.str.6 = private unnamed_addr constant [15 x i8] c", UDH included\00", align 1 @.str.7 = private unnamed_addr constant [8 x i8] c", No VP\00", align 1 @.str.8 = private unnamed_addr constant [16 x i8] c", Reserved VP!\0A\00", align 1 @.str.9 = private unnamed_addr constant [14 x i8] c", Relative VP\00", align 1 @.str.10 = private unnamed_addr constant [14 x i8] c", Absolute VP\00", align 1 @.str.11 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.12 = private unnamed_addr constant [13 x i8] c"MR = 0x%02X\0A\00", align 1 @.str.13 = private unnamed_addr constant [14 x i8] c"PID = 0x%02X\0A\00", align 1 @.str.14 = private unnamed_addr constant [14 x i8] c"DCS = 0x%02X\0A\00", align 1 @.str.15 = private unnamed_addr constant [13 x i8] c"VP = 0x%02X\0A\00", align 1 @.str.16 = private unnamed_addr constant [14 x i8] c"UDL = 0x%02X\0A\00", align 1 @.str.17 = private unnamed_addr constant [24 x i8] c"UDL[adjusted] = 0x%02X\0A\00", align 1 @.str.18 = private unnamed_addr constant [8 x i8] c"data = \00", align 1 @.str.19 = private unnamed_addr constant [18 x i8] c"\0AData too short!\0A\00", align 1 @.str.20 = private unnamed_addr constant [5 x i8] c"%02X\00", align 1 @.str.21 = private unnamed_addr constant [23 x i8] c"Did not reach end: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pdu_decode(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 store i32 0, ptr %13, align 4 store i32 0, ptr %14, align 4 store i32 0, ptr %15, align 4 store i32 0, ptr %16, align 4 store i32 0, ptr %17, align 4 %20 = load ptr, ptr %3, align 8 %21 = load i32, ptr %6, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 %24 = call i32 @pdu_get_number(ptr noundef %23, i32 noundef 0) store i32 %24, ptr %7, align 4 %25 = load i32, ptr %7, align 4 %26 = icmp slt i32 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %1 %28 = load i32, ptr %7, align 4 store i32 %28, ptr %2, align 4 br label %396 29: ; preds = %1 %30 = load i32, ptr %7, align 4 %31 = load i32, ptr %6, align 4 %32 = add nsw i32 %31, %30 store i32 %32, ptr %6, align 4 %33 = load ptr, ptr %3, align 8 %34 = load i32, ptr %6, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %33, i64 %35 %37 = call i32 @hex2number(ptr noundef %36, i32 noundef 2) store i32 %37, ptr %4, align 4 %38 = load i32, ptr %4, align 4 %39 = icmp slt i32 %38, 0 br i1 %39, label %40, label %42 40: ; preds = %29 %41 = load i32, ptr %4, align 4 store i32 %41, ptr %2, align 4 br label %396 42: ; preds = %29 %43 = load i32, ptr %6, align 4 %44 = add nsw i32 %43, 2 store i32 %44, ptr %6, align 4 %45 = load i32, ptr %4, align 4 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %45) %47 = load i32, ptr %4, align 4 %48 = and i32 %47, 3 switch i32 %48, label %57 [ i32 0, label %49 i32 1, label %51 i32 2, label %53 i32 3, label %55 ] 49: ; preds = %42 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 1, ptr %9, align 4 br label %57 51: ; preds = %42 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 1, ptr %8, align 4 br label %57 53: ; preds = %42 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 1, ptr %10, align 4 br label %57 55: ; preds = %42 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 -1, ptr %2, align 4 br label %396 57: ; preds = %53, %51, %49, %42 %58 = load i32, ptr %8, align 4 %59 = icmp ne i32 %58, 0 br i1 %59, label %63, label %60 60: ; preds = %57 %61 = load i32, ptr %9, align 4 %62 = icmp ne i32 %61, 0 br i1 %62, label %63, label %74 63: ; preds = %60, %57 %64 = load i32, ptr %4, align 4 %65 = and i32 %64, 128 %66 = icmp ne i32 %65, 0 br i1 %66, label %67, label %68 67: ; preds = %63 store i32 1, ptr %12, align 4 br label %68 68: ; preds = %67, %63 %69 = load i32, ptr %4, align 4 %70 = and i32 %69, 64 %71 = icmp ne i32 %70, 0 br i1 %71, label %72, label %73 72: ; preds = %68 store i32 1, ptr %13, align 4 br label %73 73: ; preds = %72, %68 br label %74 74: ; preds = %73, %60 %75 = load i32, ptr %12, align 4 %76 = icmp ne i32 %75, 0 br i1 %76, label %77, label %79 77: ; preds = %74 %78 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %79 79: ; preds = %77, %74 %80 = load i32, ptr %13, align 4 %81 = icmp ne i32 %80, 0 br i1 %81, label %82, label %84 82: ; preds = %79 %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %84 84: ; preds = %82, %79 %85 = load i32, ptr %8, align 4 %86 = icmp ne i32 %85, 0 br i1 %86, label %87, label %99 87: ; preds = %84 %88 = load i32, ptr %4, align 4 %89 = and i32 %88, 24 switch i32 %89, label %98 [ i32 0, label %90 i32 1, label %92 i32 2, label %94 i32 3, label %96 ] 90: ; preds = %87 %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %98 92: ; preds = %87 %93 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) store i32 -1, ptr %2, align 4 br label %396 94: ; preds = %87 %95 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) store i32 2, ptr %11, align 4 br label %98 96: ; preds = %87 %97 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) store i32 3, ptr %11, align 4 br label %98 98: ; preds = %96, %94, %90, %87 br label %99 99: ; preds = %98, %84 %100 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %101 = load i32, ptr %8, align 4 %102 = icmp ne i32 %101, 0 br i1 %102, label %106, label %103 103: ; preds = %99 %104 = load i32, ptr %10, align 4 %105 = icmp ne i32 %104, 0 br i1 %105, label %106, label %121 106: ; preds = %103, %99 %107 = load ptr, ptr %3, align 8 %108 = load i32, ptr %6, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds i8, ptr %107, i64 %109 %111 = call i32 @hex2number(ptr noundef %110, i32 noundef 2) store i32 %111, ptr %5, align 4 %112 = load i32, ptr %5, align 4 %113 = icmp slt i32 %112, 0 br i1 %113, label %114, label %116 114: ; preds = %106 %115 = load i32, ptr %5, align 4 store i32 %115, ptr %2, align 4 br label %396 116: ; preds = %106 %117 = load i32, ptr %6, align 4 %118 = add nsw i32 %117, 2 store i32 %118, ptr %6, align 4 %119 = load i32, ptr %5, align 4 %120 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %119) br label %121 121: ; preds = %116, %103 %122 = load ptr, ptr %3, align 8 %123 = load i32, ptr %6, align 4 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds i8, ptr %122, i64 %124 %126 = call i32 @pdu_get_number(ptr noundef %125, i32 noundef 1) store i32 %126, ptr %7, align 4 %127 = load i32, ptr %7, align 4 %128 = icmp slt i32 %127, 0 br i1 %128, label %129, label %131 129: ; preds = %121 %130 = load i32, ptr %7, align 4 store i32 %130, ptr %2, align 4 br label %396 131: ; preds = %121 %132 = load i32, ptr %7, align 4 %133 = load i32, ptr %6, align 4 %134 = add nsw i32 %133, %132 store i32 %134, ptr %6, align 4 %135 = load i32, ptr %10, align 4 %136 = icmp ne i32 %135, 0 br i1 %136, label %137, label %164 137: ; preds = %131 %138 = load ptr, ptr %3, align 8 %139 = load i32, ptr %6, align 4 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds i8, ptr %138, i64 %140 %142 = call i32 @pdu_get_timestamp(ptr noundef %141) store i32 %142, ptr %7, align 4 %143 = load i32, ptr %7, align 4 %144 = icmp slt i32 %143, 0 br i1 %144, label %145, label %147 145: ; preds = %137 %146 = load i32, ptr %7, align 4 store i32 %146, ptr %2, align 4 br label %396 147: ; preds = %137 %148 = load i32, ptr %7, align 4 %149 = load i32, ptr %6, align 4 %150 = add nsw i32 %149, %148 store i32 %150, ptr %6, align 4 %151 = load ptr, ptr %3, align 8 %152 = load i32, ptr %6, align 4 %153 = sext i32 %152 to i64 %154 = getelementptr inbounds i8, ptr %151, i64 %153 %155 = call i32 @pdu_get_timestamp(ptr noundef %154) store i32 %155, ptr %7, align 4 %156 = load i32, ptr %7, align 4 %157 = icmp slt i32 %156, 0 br i1 %157, label %158, label %160 158: ; preds = %147 %159 = load i32, ptr %7, align 4 store i32 %159, ptr %2, align 4 br label %396 160: ; preds = %147 %161 = load i32, ptr %7, align 4 %162 = load i32, ptr %6, align 4 %163 = add nsw i32 %162, %161 store i32 %163, ptr %6, align 4 br label %164 164: ; preds = %160, %131 %165 = load i32, ptr %8, align 4 %166 = icmp ne i32 %165, 0 br i1 %166, label %170, label %167 167: ; preds = %164 %168 = load i32, ptr %9, align 4 %169 = icmp ne i32 %168, 0 br i1 %169, label %170, label %199 170: ; preds = %167, %164 %171 = load ptr, ptr %3, align 8 %172 = load i32, ptr %6, align 4 %173 = sext i32 %172 to i64 %174 = getelementptr inbounds i8, ptr %171, i64 %173 %175 = call i32 @hex2number(ptr noundef %174, i32 noundef 2) store i32 %175, ptr %14, align 4 %176 = load i32, ptr %14, align 4 %177 = icmp slt i32 %176, 0 br i1 %177, label %178, label %180 178: ; preds = %170 %179 = load i32, ptr %14, align 4 store i32 %179, ptr %2, align 4 br label %396 180: ; preds = %170 %181 = load i32, ptr %6, align 4 %182 = add nsw i32 %181, 2 store i32 %182, ptr %6, align 4 %183 = load i32, ptr %14, align 4 %184 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %183) %185 = load ptr, ptr %3, align 8 %186 = load i32, ptr %6, align 4 %187 = sext i32 %186 to i64 %188 = getelementptr inbounds i8, ptr %185, i64 %187 %189 = call i32 @hex2number(ptr noundef %188, i32 noundef 2) store i32 %189, ptr %15, align 4 %190 = load i32, ptr %15, align 4 %191 = icmp slt i32 %190, 0 br i1 %191, label %192, label %194 192: ; preds = %180 %193 = load i32, ptr %15, align 4 store i32 %193, ptr %2, align 4 br label %396 194: ; preds = %180 %195 = load i32, ptr %6, align 4 %196 = add nsw i32 %195, 2 store i32 %196, ptr %6, align 4 %197 = load i32, ptr %15, align 4 %198 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %197) br label %199 199: ; preds = %194, %167 %200 = load i32, ptr %8, align 4 %201 = icmp ne i32 %200, 0 br i1 %201, label %202, label %242 202: ; preds = %199 %203 = load i32, ptr %11, align 4 %204 = icmp eq i32 %203, 2 br i1 %204, label %208, label %205 205: ; preds = %202 %206 = load i32, ptr %11, align 4 %207 = icmp eq i32 %206, 0 br i1 %207, label %208, label %223 208: ; preds = %205, %202 %209 = load ptr, ptr %3, align 8 %210 = load i32, ptr %6, align 4 %211 = sext i32 %210 to i64 %212 = getelementptr inbounds i8, ptr %209, i64 %211 %213 = call i32 @hex2number(ptr noundef %212, i32 noundef 2) store i32 %213, ptr %16, align 4 %214 = load i32, ptr %16, align 4 %215 = icmp slt i32 %214, 0 br i1 %215, label %216, label %218 216: ; preds = %208 %217 = load i32, ptr %16, align 4 store i32 %217, ptr %2, align 4 br label %396 218: ; preds = %208 %219 = load i32, ptr %6, align 4 %220 = add nsw i32 %219, 2 store i32 %220, ptr %6, align 4 %221 = load i32, ptr %16, align 4 %222 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef %221) br label %241 223: ; preds = %205 %224 = load i32, ptr %11, align 4 %225 = icmp eq i32 %224, 3 br i1 %225, label %226, label %240 226: ; preds = %223 %227 = load ptr, ptr %3, align 8 %228 = load i32, ptr %6, align 4 %229 = sext i32 %228 to i64 %230 = getelementptr inbounds i8, ptr %227, i64 %229 %231 = call i32 @pdu_get_timestamp(ptr noundef %230) store i32 %231, ptr %7, align 4 %232 = load i32, ptr %7, align 4 %233 = icmp slt i32 %232, 0 br i1 %233, label %234, label %236 234: ; preds = %226 %235 = load i32, ptr %7, align 4 store i32 %235, ptr %2, align 4 br label %396 236: ; preds = %226 %237 = load i32, ptr %7, align 4 %238 = load i32, ptr %6, align 4 %239 = add nsw i32 %238, %237 store i32 %239, ptr %6, align 4 br label %240 240: ; preds = %236, %223 br label %241 241: ; preds = %240, %218 br label %242 242: ; preds = %241, %199 %243 = load i32, ptr %9, align 4 %244 = icmp ne i32 %243, 0 br i1 %244, label %245, label %259 245: ; preds = %242 %246 = load ptr, ptr %3, align 8 %247 = load i32, ptr %6, align 4 %248 = sext i32 %247 to i64 %249 = getelementptr inbounds i8, ptr %246, i64 %248 %250 = call i32 @pdu_get_timestamp(ptr noundef %249) store i32 %250, ptr %7, align 4 %251 = load i32, ptr %7, align 4 %252 = icmp slt i32 %251, 0 br i1 %252, label %253, label %255 253: ; preds = %245 %254 = load i32, ptr %7, align 4 store i32 %254, ptr %2, align 4 br label %396 255: ; preds = %245 %256 = load i32, ptr %7, align 4 %257 = load i32, ptr %6, align 4 %258 = add nsw i32 %257, %256 store i32 %258, ptr %6, align 4 br label %259 259: ; preds = %255, %242 %260 = load i32, ptr %8, align 4 %261 = icmp ne i32 %260, 0 br i1 %261, label %265, label %262 262: ; preds = %259 %263 = load i32, ptr %9, align 4 %264 = icmp ne i32 %263, 0 br i1 %264, label %265, label %365 265: ; preds = %262, %259 %266 = load ptr, ptr %3, align 8 %267 = load i32, ptr %6, align 4 %268 = sext i32 %267 to i64 %269 = getelementptr inbounds i8, ptr %266, i64 %268 %270 = call i32 @hex2number(ptr noundef %269, i32 noundef 2) store i32 %270, ptr %17, align 4 %271 = load i32, ptr %17, align 4 %272 = icmp slt i32 %271, 0 br i1 %272, label %273, label %275 273: ; preds = %265 %274 = load i32, ptr %17, align 4 store i32 %274, ptr %2, align 4 br label %396 275: ; preds = %265 %276 = load i32, ptr %6, align 4 %277 = add nsw i32 %276, 2 store i32 %277, ptr %6, align 4 %278 = load i32, ptr %17, align 4 %279 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, i32 noundef %278) %280 = load i32, ptr %15, align 4 %281 = and i32 %280, 192 %282 = icmp eq i32 %281, 0 br i1 %282, label %283, label %294 283: ; preds = %275 %284 = load i32, ptr %15, align 4 %285 = icmp eq i32 %284, 0 br i1 %285, label %318, label %286 286: ; preds = %283 %287 = load i32, ptr %15, align 4 %288 = and i32 %287, 44 %289 = icmp eq i32 %288, 0 br i1 %289, label %318, label %290 290: ; preds = %286 %291 = load i32, ptr %15, align 4 %292 = and i32 %291, 44 %293 = icmp eq i32 %292, 32 br i1 %293, label %318, label %294 294: ; preds = %290, %275 %295 = load i32, ptr %15, align 4 %296 = and i32 %295, 240 %297 = icmp eq i32 %296, 192 br i1 %297, label %302, label %298 298: ; preds = %294 %299 = load i32, ptr %15, align 4 %300 = and i32 %299, 240 %301 = icmp eq i32 %300, 208 br i1 %301, label %302, label %306 302: ; preds = %298, %294 %303 = load i32, ptr %15, align 4 %304 = and i32 %303, 4 %305 = icmp ne i32 %304, 4 br i1 %305, label %318, label %306 306: ; preds = %302, %298 %307 = load i32, ptr %15, align 4 %308 = and i32 %307, 240 %309 = icmp eq i32 %308, 240 br i1 %309, label %310, label %336 310: ; preds = %306 %311 = load i32, ptr %15, align 4 %312 = and i32 %311, 8 %313 = icmp ne i32 %312, 8 br i1 %313, label %314, label %336 314: ; preds = %310 %315 = load i32, ptr %15, align 4 %316 = and i32 %315, 4 %317 = icmp eq i32 %316, 0 br i1 %317, label %318, label %336 318: ; preds = %314, %302, %290, %286, %283 %319 = load i32, ptr %17, align 4 %320 = mul nsw i32 %319, 7 %321 = srem i32 %320, 8 %322 = icmp ne i32 %321, 0 br i1 %322, label %323, label %329 323: ; preds = %318 %324 = load i32, ptr %17, align 4 %325 = mul nsw i32 %324, 7 %326 = sdiv i32 %325, 8 store i32 %326, ptr %17, align 4 %327 = load i32, ptr %17, align 4 %328 = add nsw i32 %327, 1 store i32 %328, ptr %17, align 4 br label %333 329: ; preds = %318 %330 = load i32, ptr %17, align 4 %331 = mul nsw i32 %330, 7 %332 = sdiv i32 %331, 8 store i32 %332, ptr %17, align 4 br label %333 333: ; preds = %329, %323 %334 = load i32, ptr %17, align 4 %335 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i32 noundef %334) br label %336 336: ; preds = %333, %314, %310, %306 %337 = call i32 (ptr, ...) @printf(ptr noundef @.str.18) store i32 0, ptr %19, align 4 %338 = load i32, ptr %19, align 4 %339 = load i32, ptr %17, align 4 %340 = icmp slt i32 %338, %339 br i1 %340, label %.lr.ph, label %363 .lr.ph: ; preds = %336 br label %341 341: ; preds = %.lr.ph, %357 %342 = load ptr, ptr %3, align 8 %343 = load i32, ptr %6, align 4 %344 = sext i32 %343 to i64 %345 = getelementptr inbounds i8, ptr %342, i64 %344 %346 = call i32 @hex2number(ptr noundef %345, i32 noundef 2) store i32 %346, ptr %18, align 4 %347 = load i32, ptr %18, align 4 %348 = icmp slt i32 %347, 0 br i1 %348, label %349, label %352 349: ; preds = %341 %350 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %351 = load i32, ptr %18, align 4 store i32 %351, ptr %2, align 4 br label %396 352: ; preds = %341 %353 = load i32, ptr %6, align 4 %354 = add nsw i32 %353, 2 store i32 %354, ptr %6, align 4 %355 = load i32, ptr %18, align 4 %356 = call i32 (ptr, ...) @printf(ptr noundef @.str.20, i32 noundef %355) br label %357 357: ; preds = %352 %358 = load i32, ptr %19, align 4 %359 = add nsw i32 %358, 1 store i32 %359, ptr %19, align 4 %360 = load i32, ptr %19, align 4 %361 = load i32, ptr %17, align 4 %362 = icmp slt i32 %360, %361 br i1 %362, label %341, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %357 br label %363 363: ; preds = %._crit_edge, %336 %364 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) br label %365 365: ; preds = %363, %262 %366 = load ptr, ptr %3, align 8 %367 = load i32, ptr %6, align 4 %368 = sext i32 %367 to i64 %369 = getelementptr inbounds i8, ptr %366, i64 %368 %370 = load i8, ptr %369, align 1 %371 = sext i8 %370 to i32 %372 = icmp ne i32 %371, 13 br i1 %372, label %373, label %395 373: ; preds = %365 %374 = load ptr, ptr %3, align 8 %375 = load i32, ptr %6, align 4 %376 = sext i32 %375 to i64 %377 = getelementptr inbounds i8, ptr %374, i64 %376 %378 = load i8, ptr %377, align 1 %379 = sext i8 %378 to i32 %380 = icmp ne i32 %379, 10 br i1 %380, label %381, label %395 381: ; preds = %373 %382 = load ptr, ptr %3, align 8 %383 = load i32, ptr %6, align 4 %384 = sext i32 %383 to i64 %385 = getelementptr inbounds i8, ptr %382, i64 %384 %386 = load i8, ptr %385, align 1 %387 = sext i8 %386 to i32 %388 = icmp ne i32 %387, 0 br i1 %388, label %389, label %395 389: ; preds = %381 %390 = load ptr, ptr %3, align 8 %391 = load i32, ptr %6, align 4 %392 = sext i32 %391 to i64 %393 = getelementptr inbounds i8, ptr %390, i64 %392 %394 = call i32 (ptr, ...) @printf(ptr noundef @.str.21, ptr noundef %393) store i32 1, ptr %2, align 4 br label %396 395: ; preds = %381, %373, %365 store i32 0, ptr %2, align 4 br label %396 396: ; preds = %395, %389, %349, %273, %253, %234, %216, %192, %178, %158, %145, %129, %114, %92, %55, %40, %27 %397 = load i32, ptr %2, align 4 ret i32 %397 } declare i32 @pdu_get_number(ptr noundef, i32 noundef) #1 declare i32 @hex2number(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @pdu_get_timestamp(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp50dtq5gp.c' source_filename = "/tmp/tmp50dtq5gp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @UINT16_MAX = dso_local constant i64 0, align 8 @UINT8_MAX = dso_local constant i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp50dtq5gp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @UINT16_MAX = dso_local constant i64 0, align 8 @UINT8_MAX = dso_local constant i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpaaks1v7p.c' source_filename = "/tmp/tmpaaks1v7p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fg(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 @bf_g(ptr noundef %3, i32 noundef 1) ret i32 %4 } declare i32 @bf_g(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/tmpaaks1v7p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fg(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 @bf_g(ptr noundef %3, i32 noundef 1) ret i32 %4 } declare i32 @bf_g(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/tmp6d3hsv2i.c' source_filename = "/tmp/tmp6d3hsv2i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Which year? \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @GetYearFromUser() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 br label %3 3: ; preds = %0 %4 = call i32 @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %6, 100 br i1 %7, label %8, label %11 8: ; preds = %3 %9 = load i32, ptr %2, align 4 %10 = add nsw i32 1900, %9 store i32 %10, ptr %1, align 4 br label %13 11: ; preds = %3 %12 = load i32, ptr %2, align 4 store i32 %12, ptr %1, align 4 br label %13 13: ; preds = %11, %8 %14 = load i32, ptr %1, align 4 ret i32 %14 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6d3hsv2i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Which year? \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @GetYearFromUser() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 br label %3 3: ; preds = %0 %4 = call i32 @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %6, 100 br i1 %7, label %8, label %11 8: ; preds = %3 %9 = load i32, ptr %2, align 4 %10 = add nsw i32 1900, %9 store i32 %10, ptr %1, align 4 br label %13 11: ; preds = %3 %12 = load i32, ptr %2, align 4 store i32 %12, ptr %1, align 4 br label %13 13: ; preds = %11, %8 %14 = load i32, ptr %1, align 4 ret i32 %14 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpv8o0oa3r.c' source_filename = "/tmp/tmpv8o0oa3r.c" target datalayout = "e-m:e-p270: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.utmp = type { i32 } @UT_LINESIZE = dso_local global i32 0, align 4 @STDIN_FILENO = dso_local global i32 0, align 4 @STDOUT_FILENO = dso_local global i32 0, align 4 @STDERR_FILENO = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c"/dev/\00", align 1 @_PATH_UTMP = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [4 x i8] c"???\00", align 1 @_PATH_WTMP = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @login(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca %struct.utmp, align 4 store ptr %0, ptr %2, align 8 %9 = load i32, ptr @UT_LINESIZE, align 4 %10 = add nsw i32 512, %9 %11 = zext i32 %10 to i64 %12 = call ptr @llvm.stacksave() store ptr %12, ptr %3, align 8 %13 = alloca i8, i64 %11, align 16 store i64 %11, ptr %4, align 8 store ptr %13, ptr %5, align 8 %14 = load ptr, ptr %2, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 %14, i64 4, i1 false) %15 = load i32, ptr @STDIN_FILENO, align 4 %16 = trunc i64 %11 to i32 %17 = call i32 @tty_name(i32 noundef %15, ptr noundef %5, i32 noundef %16) store i32 %17, ptr %6, align 4 %18 = load i32, ptr %6, align 4 %19 = icmp slt i32 %18, 0 br i1 %19, label %20, label %24 20: ; preds = %1 %21 = load i32, ptr @STDOUT_FILENO, align 4 %22 = trunc i64 %11 to i32 %23 = call i32 @tty_name(i32 noundef %21, ptr noundef %5, i32 noundef %22) store i32 %23, ptr %6, align 4 br label %24 24: ; preds = %20, %1 %25 = load i32, ptr %6, align 4 %26 = icmp slt i32 %25, 0 br i1 %26, label %27, label %31 27: ; preds = %24 %28 = load i32, ptr @STDERR_FILENO, align 4 %29 = trunc i64 %11 to i32 %30 = call i32 @tty_name(i32 noundef %28, ptr noundef %5, i32 noundef %29) store i32 %30, ptr %6, align 4 br label %31 31: ; preds = %27, %24 %32 = load i32, ptr %6, align 4 %33 = icmp sge i32 %32, 0 br i1 %33, label %34, label %64 34: ; preds = %31 %35 = load ptr, ptr %5, align 8 %36 = call i64 @strncmp(ptr noundef %35, ptr noundef @.str, i32 noundef 5) %37 = icmp eq i64 %36, 0 br i1 %37, label %38, label %41 38: ; preds = %34 %39 = load ptr, ptr %5, align 8 %40 = getelementptr inbounds i8, ptr %39, i64 5 store ptr %40, ptr %7, align 8 br label %44 41: ; preds = %34 %42 = load ptr, ptr %5, align 8 %43 = call ptr @basename(ptr noundef %42) store ptr %43, ptr %7, align 8 br label %44 44: ; preds = %41, %38 %45 = getelementptr inbounds %struct.utmp, ptr %8, i32 0, i32 0 %46 = load i32, ptr %45, align 4 %47 = load ptr, ptr %7, align 8 %48 = load i32, ptr @UT_LINESIZE, align 4 %49 = call i32 @strncpy(i32 noundef %46, ptr noundef %47, i32 noundef %48) %50 = load i32, ptr @_PATH_UTMP, align 4 %51 = call i64 @utmpname(i32 noundef %50) %52 = icmp eq i64 %51, 0 br i1 %52, label %53, label %57 53: ; preds = %44 %54 = call i32 (...) @setutent() %55 = call i32 @pututline(ptr noundef %8) %56 = call i32 (...) @endutent() br label %57 57: ; preds = %53, %44 %58 = load ptr, ptr %5, align 8 %59 = icmp ne ptr %58, %13 br i1 %59, label %60, label %63 60: ; preds = %57 %61 = load ptr, ptr %5, align 8 %62 = call i32 @free(ptr noundef %61) br label %63 63: ; preds = %60, %57 br label %69 64: ; preds = %31 %65 = getelementptr inbounds %struct.utmp, ptr %8, i32 0, i32 0 %66 = load i32, ptr %65, align 4 %67 = load i32, ptr @UT_LINESIZE, align 4 %68 = call i32 @strncpy(i32 noundef %66, ptr noundef @.str.1, i32 noundef %67) br label %69 69: ; preds = %64, %63 %70 = load i32, ptr @_PATH_WTMP, align 4 %71 = call i32 @updwtmp(i32 noundef %70, ptr noundef %8) %72 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %72) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @tty_name(i32 noundef, ptr noundef, i32 noundef) #3 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #3 declare ptr @basename(ptr noundef) #3 declare i32 @strncpy(i32 noundef, ptr noundef, i32 noundef) #3 declare i64 @utmpname(i32 noundef) #3 declare i32 @setutent(...) #3 declare i32 @pututline(ptr noundef) #3 declare i32 @endutent(...) #3 declare i32 @free(ptr noundef) #3 declare i32 @updwtmp(i32 noundef, ptr noundef) #3 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv8o0oa3r.c" target datalayout = "e-m:e-p270: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.utmp = type { i32 } @UT_LINESIZE = dso_local global i32 0, align 4 @STDIN_FILENO = dso_local global i32 0, align 4 @STDOUT_FILENO = dso_local global i32 0, align 4 @STDERR_FILENO = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c"/dev/\00", align 1 @_PATH_UTMP = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [4 x i8] c"???\00", align 1 @_PATH_WTMP = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @login(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca %struct.utmp, align 4 store ptr %0, ptr %2, align 8 %9 = load i32, ptr @UT_LINESIZE, align 4 %10 = add nsw i32 512, %9 %11 = zext i32 %10 to i64 %12 = call ptr @llvm.stacksave() store ptr %12, ptr %3, align 8 %13 = alloca i8, i64 %11, align 16 store i64 %11, ptr %4, align 8 store ptr %13, ptr %5, align 8 %14 = load ptr, ptr %2, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 %14, i64 4, i1 false) %15 = load i32, ptr @STDIN_FILENO, align 4 %16 = trunc i64 %11 to i32 %17 = call i32 @tty_name(i32 noundef %15, ptr noundef %5, i32 noundef %16) store i32 %17, ptr %6, align 4 %18 = load i32, ptr %6, align 4 %19 = icmp slt i32 %18, 0 br i1 %19, label %20, label %24 20: ; preds = %1 %21 = load i32, ptr @STDOUT_FILENO, align 4 %22 = trunc i64 %11 to i32 %23 = call i32 @tty_name(i32 noundef %21, ptr noundef %5, i32 noundef %22) store i32 %23, ptr %6, align 4 br label %24 24: ; preds = %20, %1 %25 = load i32, ptr %6, align 4 %26 = icmp slt i32 %25, 0 br i1 %26, label %27, label %31 27: ; preds = %24 %28 = load i32, ptr @STDERR_FILENO, align 4 %29 = trunc i64 %11 to i32 %30 = call i32 @tty_name(i32 noundef %28, ptr noundef %5, i32 noundef %29) store i32 %30, ptr %6, align 4 br label %31 31: ; preds = %27, %24 %32 = load i32, ptr %6, align 4 %33 = icmp sge i32 %32, 0 br i1 %33, label %34, label %64 34: ; preds = %31 %35 = load ptr, ptr %5, align 8 %36 = call i64 @strncmp(ptr noundef %35, ptr noundef @.str, i32 noundef 5) %37 = icmp eq i64 %36, 0 br i1 %37, label %38, label %41 38: ; preds = %34 %39 = load ptr, ptr %5, align 8 %40 = getelementptr inbounds i8, ptr %39, i64 5 store ptr %40, ptr %7, align 8 br label %44 41: ; preds = %34 %42 = load ptr, ptr %5, align 8 %43 = call ptr @basename(ptr noundef %42) store ptr %43, ptr %7, align 8 br label %44 44: ; preds = %41, %38 %45 = getelementptr inbounds %struct.utmp, ptr %8, i32 0, i32 0 %46 = load i32, ptr %45, align 4 %47 = load ptr, ptr %7, align 8 %48 = load i32, ptr @UT_LINESIZE, align 4 %49 = call i32 @strncpy(i32 noundef %46, ptr noundef %47, i32 noundef %48) %50 = load i32, ptr @_PATH_UTMP, align 4 %51 = call i64 @utmpname(i32 noundef %50) %52 = icmp eq i64 %51, 0 br i1 %52, label %53, label %57 53: ; preds = %44 %54 = call i32 (...) @setutent() %55 = call i32 @pututline(ptr noundef %8) %56 = call i32 (...) @endutent() br label %57 57: ; preds = %53, %44 %58 = load ptr, ptr %5, align 8 %59 = icmp ne ptr %58, %13 br i1 %59, label %60, label %63 60: ; preds = %57 %61 = load ptr, ptr %5, align 8 %62 = call i32 @free(ptr noundef %61) br label %63 63: ; preds = %60, %57 br label %69 64: ; preds = %31 %65 = getelementptr inbounds %struct.utmp, ptr %8, i32 0, i32 0 %66 = load i32, ptr %65, align 4 %67 = load i32, ptr @UT_LINESIZE, align 4 %68 = call i32 @strncpy(i32 noundef %66, ptr noundef @.str.1, i32 noundef %67) br label %69 69: ; preds = %64, %63 %70 = load i32, ptr @_PATH_WTMP, align 4 %71 = call i32 @updwtmp(i32 noundef %70, ptr noundef %8) %72 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %72) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @tty_name(i32 noundef, ptr noundef, i32 noundef) #3 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #3 declare ptr @basename(ptr noundef) #3 declare i32 @strncpy(i32 noundef, ptr noundef, i32 noundef) #3 declare i64 @utmpname(i32 noundef) #3 declare i32 @setutent(...) #3 declare i32 @pututline(ptr noundef) #3 declare i32 @endutent(...) #3 declare i32 @free(ptr noundef) #3 declare i32 @updwtmp(i32 noundef, ptr noundef) #3 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjdx8j172.c' source_filename = "/tmp/tmpjdx8j172.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SDL_imageFilterShiftRight.Mask = internal global [8 x i8] c"\7F\7F\7F\7F\7F\7F\7F\7F", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @SDL_imageFilterShiftRight(ptr noundef %0, ptr noundef %1, i32 noundef %2, i8 noundef zeroext %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i8, align 1 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i8 %3, ptr %9, align 1 %14 = load ptr, ptr %6, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %19, label %16 16: ; preds = %4 %17 = load ptr, ptr %7, align 8 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %20 19: ; preds = %16, %4 store i32 -1, ptr %5, align 4 br label %92 20: ; preds = %16 %21 = load i32, ptr %8, align 4 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %24 23: ; preds = %20 store i32 0, ptr %5, align 4 br label %92 24: ; preds = %20 %25 = load i8, ptr %9, align 1 %26 = zext i8 %25 to i32 %27 = icmp sgt i32 %26, 8 br i1 %27, label %28, label %29 28: ; preds = %24 store i32 -1, ptr %5, align 4 br label %92 29: ; preds = %24 %30 = load i8, ptr %9, align 1 %31 = zext i8 %30 to i32 %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %38 33: ; preds = %29 %34 = load ptr, ptr %6, align 8 %35 = load ptr, ptr %7, align 8 %36 = load i32, ptr %8, align 4 %37 = call i32 @memcpy(ptr noundef %34, ptr noundef %35, i32 noundef %36) store i32 0, ptr %5, align 4 br label %92 38: ; preds = %29 %39 = call i64 (...) @SDL_imageFilterMMXdetect() %40 = icmp ne i64 %39, 0 br i1 %40, label %41, label %66 41: ; preds = %38 %42 = load i32, ptr %8, align 4 %43 = icmp ugt i32 %42, 7 br i1 %43, label %44, label %66 44: ; preds = %41 %45 = load ptr, ptr %6, align 8 %46 = load ptr, ptr %7, align 8 %47 = load i32, ptr %8, align 4 %48 = load i8, ptr %9, align 1 %49 = call i32 @SDL_imageFilterShiftRightMMX(ptr noundef %45, ptr noundef %46, i32 noundef %47, i8 noundef zeroext %48, ptr noundef @SDL_imageFilterShiftRight.Mask) %50 = load i32, ptr %8, align 4 %51 = and i32 %50, 7 %52 = icmp ugt i32 %51, 0 br i1 %52, label %53, label %64 53: ; preds = %44 %54 = load i32, ptr %8, align 4 %55 = and i32 %54, -8 store i32 %55, ptr %11, align 4 %56 = load ptr, ptr %6, align 8 %57 = load i32, ptr %11, align 4 %58 = zext i32 %57 to i64 %59 = getelementptr inbounds i8, ptr %56, i64 %58 store ptr %59, ptr %12, align 8 %60 = load ptr, ptr %7, align 8 %61 = load i32, ptr %11, align 4 %62 = zext i32 %61 to i64 %63 = getelementptr inbounds i8, ptr %60, i64 %62 store ptr %63, ptr %13, align 8 br label %65 64: ; preds = %44 store i32 0, ptr %5, align 4 br label %92 65: ; preds = %53 br label %69 66: ; preds = %41, %38 store i32 0, ptr %11, align 4 %67 = load ptr, ptr %6, align 8 store ptr %67, ptr %12, align 8 %68 = load ptr, ptr %7, align 8 store ptr %68, ptr %13, align 8 br label %69 69: ; preds = %66, %65 %70 = load i32, ptr %11, align 4 store i32 %70, ptr %10, align 4 br label %71 71: ; preds = %88, %69 %72 = load i32, ptr %10, align 4 %73 = load i32, ptr %8, align 4 %74 = icmp ult i32 %72, %73 br i1 %74, label %75, label %91 75: ; preds = %71 %76 = load ptr, ptr %12, align 8 %77 = load i8, ptr %76, align 1 %78 = zext i8 %77 to i32 %79 = load i8, ptr %9, align 1 %80 = zext i8 %79 to i32 %81 = ashr i32 %78, %80 %82 = trunc i32 %81 to i8 %83 = load ptr, ptr %13, align 8 store i8 %82, ptr %83, align 1 %84 = load ptr, ptr %12, align 8 %85 = getelementptr inbounds i8, ptr %84, i32 1 store ptr %85, ptr %12, align 8 %86 = load ptr, ptr %13, align 8 %87 = getelementptr inbounds i8, ptr %86, i32 1 store ptr %87, ptr %13, align 8 br label %88 88: ; preds = %75 %89 = load i32, ptr %10, align 4 %90 = add i32 %89, 1 store i32 %90, ptr %10, align 4 br label %71, !llvm.loop !6 91: ; preds = %71 store i32 0, ptr %5, align 4 br label %92 92: ; preds = %91, %64, %33, %28, %23, %19 %93 = load i32, ptr %5, align 4 ret i32 %93 } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @SDL_imageFilterMMXdetect(...) #1 declare i32 @SDL_imageFilterShiftRightMMX(ptr noundef, ptr noundef, i32 noundef, i8 noundef zeroext, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpjdx8j172.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SDL_imageFilterShiftRight.Mask = internal global [8 x i8] c"\7F\7F\7F\7F\7F\7F\7F\7F", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @SDL_imageFilterShiftRight(ptr noundef %0, ptr noundef %1, i32 noundef %2, i8 noundef zeroext %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i8, align 1 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i8 %3, ptr %9, align 1 %14 = load ptr, ptr %6, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %19, label %16 16: ; preds = %4 %17 = load ptr, ptr %7, align 8 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %20 19: ; preds = %16, %4 store i32 -1, ptr %5, align 4 br label %94 20: ; preds = %16 %21 = load i32, ptr %8, align 4 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %24 23: ; preds = %20 store i32 0, ptr %5, align 4 br label %94 24: ; preds = %20 %25 = load i8, ptr %9, align 1 %26 = zext i8 %25 to i32 %27 = icmp sgt i32 %26, 8 br i1 %27, label %28, label %29 28: ; preds = %24 store i32 -1, ptr %5, align 4 br label %94 29: ; preds = %24 %30 = load i8, ptr %9, align 1 %31 = zext i8 %30 to i32 %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %38 33: ; preds = %29 %34 = load ptr, ptr %6, align 8 %35 = load ptr, ptr %7, align 8 %36 = load i32, ptr %8, align 4 %37 = call i32 @memcpy(ptr noundef %34, ptr noundef %35, i32 noundef %36) store i32 0, ptr %5, align 4 br label %94 38: ; preds = %29 %39 = call i64 (...) @SDL_imageFilterMMXdetect() %40 = icmp ne i64 %39, 0 br i1 %40, label %41, label %66 41: ; preds = %38 %42 = load i32, ptr %8, align 4 %43 = icmp ugt i32 %42, 7 br i1 %43, label %44, label %66 44: ; preds = %41 %45 = load ptr, ptr %6, align 8 %46 = load ptr, ptr %7, align 8 %47 = load i32, ptr %8, align 4 %48 = load i8, ptr %9, align 1 %49 = call i32 @SDL_imageFilterShiftRightMMX(ptr noundef %45, ptr noundef %46, i32 noundef %47, i8 noundef zeroext %48, ptr noundef @SDL_imageFilterShiftRight.Mask) %50 = load i32, ptr %8, align 4 %51 = and i32 %50, 7 %52 = icmp ugt i32 %51, 0 br i1 %52, label %53, label %64 53: ; preds = %44 %54 = load i32, ptr %8, align 4 %55 = and i32 %54, -8 store i32 %55, ptr %11, align 4 %56 = load ptr, ptr %6, align 8 %57 = load i32, ptr %11, align 4 %58 = zext i32 %57 to i64 %59 = getelementptr inbounds i8, ptr %56, i64 %58 store ptr %59, ptr %12, align 8 %60 = load ptr, ptr %7, align 8 %61 = load i32, ptr %11, align 4 %62 = zext i32 %61 to i64 %63 = getelementptr inbounds i8, ptr %60, i64 %62 store ptr %63, ptr %13, align 8 br label %65 64: ; preds = %44 store i32 0, ptr %5, align 4 br label %94 65: ; preds = %53 br label %69 66: ; preds = %41, %38 store i32 0, ptr %11, align 4 %67 = load ptr, ptr %6, align 8 store ptr %67, ptr %12, align 8 %68 = load ptr, ptr %7, align 8 store ptr %68, ptr %13, align 8 br label %69 69: ; preds = %66, %65 %70 = load i32, ptr %11, align 4 store i32 %70, ptr %10, align 4 %71 = load i32, ptr %10, align 4 %72 = load i32, ptr %8, align 4 %73 = icmp ult i32 %71, %72 br i1 %73, label %.lr.ph, label %93 .lr.ph: ; preds = %69 br label %74 74: ; preds = %.lr.ph, %87 %75 = load ptr, ptr %12, align 8 %76 = load i8, ptr %75, align 1 %77 = zext i8 %76 to i32 %78 = load i8, ptr %9, align 1 %79 = zext i8 %78 to i32 %80 = ashr i32 %77, %79 %81 = trunc i32 %80 to i8 %82 = load ptr, ptr %13, align 8 store i8 %81, ptr %82, align 1 %83 = load ptr, ptr %12, align 8 %84 = getelementptr inbounds i8, ptr %83, i32 1 store ptr %84, ptr %12, align 8 %85 = load ptr, ptr %13, align 8 %86 = getelementptr inbounds i8, ptr %85, i32 1 store ptr %86, ptr %13, align 8 br label %87 87: ; preds = %74 %88 = load i32, ptr %10, align 4 %89 = add i32 %88, 1 store i32 %89, ptr %10, align 4 %90 = load i32, ptr %10, align 4 %91 = load i32, ptr %8, align 4 %92 = icmp ult i32 %90, %91 br i1 %92, label %74, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %87 br label %93 93: ; preds = %._crit_edge, %69 store i32 0, ptr %5, align 4 br label %94 94: ; preds = %93, %64, %33, %28, %23, %19 %95 = load i32, ptr %5, align 4 ret i32 %95 } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @SDL_imageFilterMMXdetect(...) #1 declare i32 @SDL_imageFilterShiftRightMMX(ptr noundef, ptr noundef, i32 noundef, i8 noundef zeroext, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpii1ns5qn.c' source_filename = "/tmp/tmpii1ns5qn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Calling CallLib() from Static Library\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @CallLib() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpii1ns5qn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Calling CallLib() from Static Library\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @CallLib() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpysz03mg5.c' source_filename = "/tmp/tmpysz03mg5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getheap3(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call ptr @malloc(i32 noundef 40) store ptr %3, ptr %2, align 8 ret void } declare ptr @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/tmpysz03mg5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getheap3(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call ptr @malloc(i32 noundef 40) store ptr %3, ptr %2, align 8 ret void } declare ptr @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/tmpt4ph91v7.c' source_filename = "/tmp/tmpt4ph91v7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"skipped\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt4ph91v7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"skipped\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpugmk3eg8.c' source_filename = "/tmp/tmpugmk3eg8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TIOCGPGRP = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @tcgetpgrp(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 = load i32, ptr @TIOCGPGRP, align 4 %7 = call i64 @ioctl(i32 noundef %5, i32 noundef %6, ptr noundef %4) %8 = icmp slt i64 %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 i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpugmk3eg8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TIOCGPGRP = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @tcgetpgrp(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 = load i32, ptr @TIOCGPGRP, align 4 %7 = call i64 @ioctl(i32 noundef %5, i32 noundef %6, ptr noundef %4) %8 = icmp slt i64 %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 i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1rps3al8.c' source_filename = "/tmp/tmp1rps3al8.c" target datalayout = "e-m:e-p270: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 } @__const.main.buf = private unnamed_addr constant [1024 x i8] c"hello world.!\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16 @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [39 x i8] c"create socket failure. server_fd = %d\0A\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [36 x i8] c"bind addr & port failure. ret = %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"listen error: ret = %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"listening ...\0A\00", align 1 @.str.4 = private unnamed_addr constant [34 x i8] c"accept error: client_fd = %d: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [14 x i8] c"write error!\0A\00", align 1 @.str.6 = private unnamed_addr constant [13 x i8] c"read error!\0A\00", align 1 @.str.7 = private unnamed_addr constant [10 x i8] c"you said:\00", align 1 @.str.8 = private unnamed_addr constant [21 x i8] c"write client error!\0A\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"exit\00", align 1 @.str.10 = private unnamed_addr constant [5 x i8] c"bye!\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 %struct.sockaddr_in, align 4 %9 = alloca %struct.sockaddr_in, align 4 %10 = alloca i32, align 4 %11 = alloca [1024 x i8], align 16 %12 = alloca [1024 x i8], align 16 %13 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %11, ptr align 16 @__const.main.buf, i64 1024, i1 false) %14 = load i32, ptr @AF_INET, align 4 %15 = load i32, ptr @SOCK_STREAM, align 4 %16 = call i32 @socket(i32 noundef %14, i32 noundef %15, i32 noundef 0) store i32 %16, ptr %6, align 4 %17 = load i32, ptr %6, align 4 %18 = icmp slt i32 %17, 0 br i1 %18, label %19, label %22 19: ; preds = %2 %20 = load i32, ptr %6, align 4 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %20) store i32 -1, ptr %3, align 4 br label %105 22: ; preds = %2 %23 = load i32, ptr @AF_INET, align 4 %24 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 2 store i32 %23, ptr %24, align 4 %25 = call i32 @htons(i32 noundef 8099) %26 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 1 store i32 %25, ptr %26, align 4 %27 = load i32, ptr @INADDR_ANY, align 4 %28 = call i32 @htonl(i32 noundef %27) %29 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0 %30 = getelementptr inbounds %struct.TYPE_2__, ptr %29, i32 0, i32 0 store i32 %28, ptr %30, align 4 %31 = load i32, ptr %6, align 4 %32 = call i32 @bind(i32 noundef %31, ptr noundef %8, i32 noundef 12) store i32 %32, ptr %10, align 4 %33 = load i32, ptr %10, align 4 %34 = icmp ne i32 %33, 0 br i1 %34, label %35, label %38 35: ; preds = %22 %36 = load i32, ptr %10, align 4 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %36) store i32 -1, ptr %3, align 4 br label %105 38: ; preds = %22 %39 = load i32, ptr %6, align 4 %40 = call i32 @listen(i32 noundef %39, i32 noundef 5) store i32 %40, ptr %10, align 4 %41 = load i32, ptr %10, align 4 %42 = icmp ne i32 %41, 0 br i1 %42, label %43, label %46 43: ; preds = %38 %44 = load i32, ptr %10, align 4 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %44) store i32 -1, ptr %3, align 4 br label %105 46: ; preds = %38 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %48 48: ; preds = %46 %49 = load i32, ptr %6, align 4 %50 = call i32 @accept(i32 noundef %49, ptr noundef %9, ptr noundef %13) store i32 %50, ptr %7, align 4 %51 = load i32, ptr %7, align 4 %52 = icmp slt i32 %51, 0 br i1 %52, label %53, label %58 53: ; preds = %48 %54 = load i32, ptr %7, align 4 %55 = load i32, ptr @errno, align 4 %56 = call ptr @strerror(i32 noundef %55) %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %54, ptr noundef %56) store i32 0, ptr %3, align 4 br label %105 58: ; preds = %48 %59 = load i32, ptr %7, align 4 %60 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %61 = call i32 @write(i32 noundef %59, ptr noundef %60, i32 noundef 32) store i32 %61, ptr %10, align 4 %62 = load i32, ptr %10, align 4 %63 = icmp slt i32 %62, 0 br i1 %63, label %64, label %66 64: ; preds = %58 %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %66 66: ; preds = %64, %58 br label %67 67: ; preds = %66, %73, %93 %68 = load i32, ptr %7, align 4 %69 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %70 = call i32 @read(i32 noundef %68, ptr noundef %69, i32 noundef 1024) store i32 %70, ptr %10, align 4 %71 = load i32, ptr %10, align 4 %72 = icmp slt i32 %71, 0 br i1 %72, label %73, label %75 73: ; preds = %67 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %67 75: ; preds = %67 %76 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0 %77 = call i32 @strcpy(ptr noundef %76, ptr noundef @.str.7) %78 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0 %79 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %80 = call i32 @strcat(ptr noundef %78, ptr noundef %79) %81 = load i32, ptr %7, align 4 %82 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0 %83 = call i32 @write(i32 noundef %81, ptr noundef %82, i32 noundef 1024) store i32 %83, ptr %10, align 4 %84 = load i32, ptr %10, align 4 %85 = icmp slt i32 %84, 0 br i1 %85, label %86, label %88 86: ; preds = %75 %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) br label %88 88: ; preds = %86, %75 %89 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %90 = call i64 @strcmp(ptr noundef %89, ptr noundef @.str.9) %91 = icmp eq i64 %90, 0 br i1 %91, label %92, label %93 92: ; preds = %88 br label %94 93: ; preds = %88 br label %67 94: ; preds = %92 %95 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0 %96 = call i32 @strcpy(ptr noundef %95, ptr noundef @.str.10) %97 = load i32, ptr %7, align 4 %98 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0 %99 = call i32 @write(i32 noundef %97, ptr noundef %98, i32 noundef 1024) store i32 %99, ptr %10, align 4 %100 = load i32, ptr %10, align 4 %101 = icmp slt i32 %100, 0 br i1 %101, label %102, label %104 102: ; preds = %94 %103 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) br label %104 104: ; preds = %102, %94 store i32 0, ptr %3, align 4 br label %105 105: ; preds = %104, %53, %43, %35, %19 %106 = load i32, ptr %3, align 4 ret i32 %106 } ; 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 @socket(i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare i32 @htons(i32 noundef) #2 declare i32 @htonl(i32 noundef) #2 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @listen(i32 noundef, i32 noundef) #2 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #2 declare ptr @strerror(i32 noundef) #2 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #2 declare i32 @strcat(ptr noundef, ptr noundef) #2 declare i64 @strcmp(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/tmp1rps3al8.c" target datalayout = "e-m:e-p270: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 } @__const.main.buf = private unnamed_addr constant [1024 x i8] c"hello world.!\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16 @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [39 x i8] c"create socket failure. server_fd = %d\0A\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [36 x i8] c"bind addr & port failure. ret = %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"listen error: ret = %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"listening ...\0A\00", align 1 @.str.4 = private unnamed_addr constant [34 x i8] c"accept error: client_fd = %d: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [14 x i8] c"write error!\0A\00", align 1 @.str.6 = private unnamed_addr constant [13 x i8] c"read error!\0A\00", align 1 @.str.7 = private unnamed_addr constant [10 x i8] c"you said:\00", align 1 @.str.8 = private unnamed_addr constant [21 x i8] c"write client error!\0A\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"exit\00", align 1 @.str.10 = private unnamed_addr constant [5 x i8] c"bye!\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 %struct.sockaddr_in, align 4 %9 = alloca %struct.sockaddr_in, align 4 %10 = alloca i32, align 4 %11 = alloca [1024 x i8], align 16 %12 = alloca [1024 x i8], align 16 %13 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %11, ptr align 16 @__const.main.buf, i64 1024, i1 false) %14 = load i32, ptr @AF_INET, align 4 %15 = load i32, ptr @SOCK_STREAM, align 4 %16 = call i32 @socket(i32 noundef %14, i32 noundef %15, i32 noundef 0) store i32 %16, ptr %6, align 4 %17 = load i32, ptr %6, align 4 %18 = icmp slt i32 %17, 0 br i1 %18, label %19, label %22 19: ; preds = %2 %20 = load i32, ptr %6, align 4 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %20) store i32 -1, ptr %3, align 4 br label %105 22: ; preds = %2 %23 = load i32, ptr @AF_INET, align 4 %24 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 2 store i32 %23, ptr %24, align 4 %25 = call i32 @htons(i32 noundef 8099) %26 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 1 store i32 %25, ptr %26, align 4 %27 = load i32, ptr @INADDR_ANY, align 4 %28 = call i32 @htonl(i32 noundef %27) %29 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0 %30 = getelementptr inbounds %struct.TYPE_2__, ptr %29, i32 0, i32 0 store i32 %28, ptr %30, align 4 %31 = load i32, ptr %6, align 4 %32 = call i32 @bind(i32 noundef %31, ptr noundef %8, i32 noundef 12) store i32 %32, ptr %10, align 4 %33 = load i32, ptr %10, align 4 %34 = icmp ne i32 %33, 0 br i1 %34, label %35, label %38 35: ; preds = %22 %36 = load i32, ptr %10, align 4 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %36) store i32 -1, ptr %3, align 4 br label %105 38: ; preds = %22 %39 = load i32, ptr %6, align 4 %40 = call i32 @listen(i32 noundef %39, i32 noundef 5) store i32 %40, ptr %10, align 4 %41 = load i32, ptr %10, align 4 %42 = icmp ne i32 %41, 0 br i1 %42, label %43, label %46 43: ; preds = %38 %44 = load i32, ptr %10, align 4 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %44) store i32 -1, ptr %3, align 4 br label %105 46: ; preds = %38 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %48 48: ; preds = %46 %49 = load i32, ptr %6, align 4 %50 = call i32 @accept(i32 noundef %49, ptr noundef %9, ptr noundef %13) store i32 %50, ptr %7, align 4 %51 = load i32, ptr %7, align 4 %52 = icmp slt i32 %51, 0 br i1 %52, label %53, label %58 53: ; preds = %48 %54 = load i32, ptr %7, align 4 %55 = load i32, ptr @errno, align 4 %56 = call ptr @strerror(i32 noundef %55) %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %54, ptr noundef %56) store i32 0, ptr %3, align 4 br label %105 58: ; preds = %48 %59 = load i32, ptr %7, align 4 %60 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %61 = call i32 @write(i32 noundef %59, ptr noundef %60, i32 noundef 32) store i32 %61, ptr %10, align 4 %62 = load i32, ptr %10, align 4 %63 = icmp slt i32 %62, 0 br i1 %63, label %64, label %66 64: ; preds = %58 %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %66 66: ; preds = %64, %58 br label %67 67: ; preds = %.backedge, %66 %68 = load i32, ptr %7, align 4 %69 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %70 = call i32 @read(i32 noundef %68, ptr noundef %69, i32 noundef 1024) store i32 %70, ptr %10, align 4 %71 = load i32, ptr %10, align 4 %72 = icmp slt i32 %71, 0 br i1 %72, label %73, label %75 73: ; preds = %67 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %.backedge .backedge: ; preds = %73, %93 br label %67 75: ; preds = %67 %76 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0 %77 = call i32 @strcpy(ptr noundef %76, ptr noundef @.str.7) %78 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0 %79 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %80 = call i32 @strcat(ptr noundef %78, ptr noundef %79) %81 = load i32, ptr %7, align 4 %82 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0 %83 = call i32 @write(i32 noundef %81, ptr noundef %82, i32 noundef 1024) store i32 %83, ptr %10, align 4 %84 = load i32, ptr %10, align 4 %85 = icmp slt i32 %84, 0 br i1 %85, label %86, label %88 86: ; preds = %75 %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) br label %88 88: ; preds = %86, %75 %89 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %90 = call i64 @strcmp(ptr noundef %89, ptr noundef @.str.9) %91 = icmp eq i64 %90, 0 br i1 %91, label %92, label %93 92: ; preds = %88 br label %94 93: ; preds = %88 br label %.backedge 94: ; preds = %92 %95 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0 %96 = call i32 @strcpy(ptr noundef %95, ptr noundef @.str.10) %97 = load i32, ptr %7, align 4 %98 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0 %99 = call i32 @write(i32 noundef %97, ptr noundef %98, i32 noundef 1024) store i32 %99, ptr %10, align 4 %100 = load i32, ptr %10, align 4 %101 = icmp slt i32 %100, 0 br i1 %101, label %102, label %104 102: ; preds = %94 %103 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) br label %104 104: ; preds = %102, %94 store i32 0, ptr %3, align 4 br label %105 105: ; preds = %104, %53, %43, %35, %19 %106 = load i32, ptr %3, align 4 ret i32 %106 } ; 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 @socket(i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare i32 @htons(i32 noundef) #2 declare i32 @htonl(i32 noundef) #2 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @listen(i32 noundef, i32 noundef) #2 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #2 declare ptr @strerror(i32 noundef) #2 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #2 declare i32 @strcat(ptr noundef, ptr noundef) #2 declare i64 @strcmp(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/tmpw2pgq033.c' source_filename = "/tmp/tmpw2pgq033.c" target datalayout = "e-m:e-p270: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/tmpw2pgq033.c" target datalayout = "e-m:e-p270: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/tmprvy64x2j.c' source_filename = "/tmp/tmprvy64x2j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strrnstr(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %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 ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %11 = load ptr, ptr %6, align 8 %12 = call i64 @strlen(ptr noundef %11) store i64 %12, ptr %8, align 8 %13 = load i64, ptr %8, align 8 %14 = load i64, ptr %7, align 8 %15 = icmp ugt i64 %13, %14 br i1 %15, label %16, label %17 16: ; preds = %3 store ptr null, ptr %4, align 8 br label %42 17: ; preds = %3 %18 = load ptr, ptr %5, align 8 %19 = load i64, ptr %7, align 8 %20 = getelementptr inbounds i8, ptr %18, i64 %19 %21 = load i64, ptr %8, align 8 %22 = sub i64 0, %21 %23 = getelementptr inbounds i8, ptr %20, i64 %22 store ptr %23, ptr %9, align 8 br label %24 24: ; preds = %38, %17 %25 = load ptr, ptr %9, align 8 %26 = load ptr, ptr %5, align 8 %27 = icmp uge ptr %25, %26 br i1 %27, label %28, label %41 28: ; preds = %24 %29 = load ptr, ptr %9, align 8 %30 = load ptr, ptr %6, align 8 %31 = load i64, ptr %8, align 8 %32 = call i32 @strncmp(ptr noundef %29, ptr noundef %30, i64 noundef %31) store i32 %32, ptr %10, align 4 %33 = load i32, ptr %10, align 4 %34 = icmp eq i32 %33, 0 br i1 %34, label %35, label %37 35: ; preds = %28 %36 = load ptr, ptr %9, align 8 store ptr %36, ptr %4, align 8 br label %42 37: ; preds = %28 br label %38 38: ; preds = %37 %39 = load ptr, ptr %9, align 8 %40 = getelementptr inbounds i8, ptr %39, i32 -1 store ptr %40, ptr %9, align 8 br label %24, !llvm.loop !6 41: ; preds = %24 store ptr null, ptr %4, align 8 br label %42 42: ; preds = %41, %35, %16 %43 = load ptr, ptr %4, align 8 ret ptr %43 } declare i64 @strlen(ptr noundef) #1 declare i32 @strncmp(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprvy64x2j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strrnstr(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %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 ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %11 = load ptr, ptr %6, align 8 %12 = call i64 @strlen(ptr noundef %11) store i64 %12, ptr %8, align 8 %13 = load i64, ptr %8, align 8 %14 = load i64, ptr %7, align 8 %15 = icmp ugt i64 %13, %14 br i1 %15, label %16, label %17 16: ; preds = %3 store ptr null, ptr %4, align 8 br label %44 17: ; preds = %3 %18 = load ptr, ptr %5, align 8 %19 = load i64, ptr %7, align 8 %20 = getelementptr inbounds i8, ptr %18, i64 %19 %21 = load i64, ptr %8, align 8 %22 = sub i64 0, %21 %23 = getelementptr inbounds i8, ptr %20, i64 %22 store ptr %23, ptr %9, align 8 %24 = load ptr, ptr %9, align 8 %25 = load ptr, ptr %5, align 8 %26 = icmp uge ptr %24, %25 br i1 %26, label %.lr.ph, label %43 .lr.ph: ; preds = %17 br label %27 27: ; preds = %.lr.ph, %37 %28 = load ptr, ptr %9, align 8 %29 = load ptr, ptr %6, align 8 %30 = load i64, ptr %8, align 8 %31 = call i32 @strncmp(ptr noundef %28, ptr noundef %29, i64 noundef %30) store i32 %31, ptr %10, align 4 %32 = load i32, ptr %10, align 4 %33 = icmp eq i32 %32, 0 br i1 %33, label %34, label %36 34: ; preds = %27 %35 = load ptr, ptr %9, align 8 store ptr %35, ptr %4, align 8 br label %44 36: ; preds = %27 br label %37 37: ; preds = %36 %38 = load ptr, ptr %9, align 8 %39 = getelementptr inbounds i8, ptr %38, i32 -1 store ptr %39, ptr %9, align 8 %40 = load ptr, ptr %9, align 8 %41 = load ptr, ptr %5, align 8 %42 = icmp uge ptr %40, %41 br i1 %42, label %27, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %37 br label %43 43: ; preds = %._crit_edge, %17 store ptr null, ptr %4, align 8 br label %44 44: ; preds = %43, %34, %16 %45 = load ptr, ptr %4, align 8 ret ptr %45 } declare i64 @strlen(ptr noundef) #1 declare i32 @strncmp(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmppmbm2xa5.c' source_filename = "/tmp/tmppmbm2xa5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"PPF subfile %s\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"TITLE(1) %s\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"error finding tstep [%s]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @find_TS(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca [255 x i8], align 16 %8 = alloca [20 x i8], align 16 %9 = alloca [80 x i8], align 16 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %11 = load ptr, ptr %4, align 8 %12 = call i32 @fgetpos(ptr noundef %11, ptr noundef %10) br label %13 13: ; preds = %57, %2 %14 = load ptr, ptr %4, align 8 %15 = call i32 @fsetpos(ptr noundef %14, ptr noundef %10) store i32 1, ptr %6, align 4 br label %16 16: ; preds = %26, %13 %17 = load i32, ptr %6, align 4 %18 = icmp sle i32 %17, 5 br i1 %18, label %19, label %29 19: ; preds = %16 %20 = getelementptr inbounds [255 x i8], ptr %7, i64 0, i64 0 %21 = load ptr, ptr %4, align 8 %22 = call ptr @fgets(ptr noundef %20, i32 noundef 255, ptr noundef %21) %23 = icmp eq ptr %22, null br i1 %23, label %24, label %25 24: ; preds = %19 br label %66 25: ; preds = %19 br label %26 26: ; preds = %25 %27 = load i32, ptr %6, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %6, align 4 br label %16, !llvm.loop !6 29: ; preds = %16 %30 = load ptr, ptr %4, align 8 %31 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 0 %32 = call i32 @fscanf(ptr noundef %30, ptr noundef @.str, ptr noundef %31) %33 = icmp ne i32 %32, 1 br i1 %33, label %34, label %35 34: ; preds = %29 br label %66 35: ; preds = %29 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 0 %38 = call i64 @strcmp(ptr noundef %36, ptr noundef %37) %39 = icmp ne i64 %38, 0 br i1 %39, label %40, label %56 40: ; preds = %35 br label %41 41: ; preds = %50, %40 %42 = load ptr, ptr %4, align 8 %43 = call i32 @fgetpos(ptr noundef %42, ptr noundef %10) %44 = getelementptr inbounds [255 x i8], ptr %7, i64 0, i64 0 %45 = load ptr, ptr %4, align 8 %46 = call ptr @fgets(ptr noundef %44, i32 noundef 255, ptr noundef %45) %47 = icmp eq ptr %46, null br i1 %47, label %48, label %49 48: ; preds = %41 br label %66 49: ; preds = %41 br label %50 50: ; preds = %49 %51 = getelementptr inbounds [255 x i8], ptr %7, i64 0, i64 0 %52 = getelementptr inbounds [80 x i8], ptr %9, i64 0, i64 0 %53 = call i32 @sscanf(ptr noundef %51, ptr noundef @.str.1, ptr noundef %52) %54 = icmp ne i32 %53, 1 br i1 %54, label %41, label %55, !llvm.loop !8 55: ; preds = %50 br label %56 56: ; preds = %55, %35 br label %57 57: ; preds = %56 %58 = load ptr, ptr %5, align 8 %59 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 0 %60 = call i64 @strcmp(ptr noundef %58, ptr noundef %59) %61 = icmp ne i64 %60, 0 br i1 %61, label %13, label %62, !llvm.loop !9 62: ; preds = %57 %63 = load ptr, ptr %4, align 8 %64 = call i32 @fsetpos(ptr noundef %63, ptr noundef %10) %65 = load ptr, ptr %4, align 8 store ptr %65, ptr %3, align 8 br label %69 66: ; preds = %48, %34, %24 %67 = load ptr, ptr %5, align 8 %68 = call i32 @printf(ptr noundef @.str.2, ptr noundef %67) store ptr null, ptr %3, align 8 br label %69 69: ; preds = %66, %62 %70 = load ptr, ptr %3, align 8 ret ptr %70 } declare i32 @fgetpos(ptr noundef, ptr noundef) #1 declare i32 @fsetpos(ptr noundef, ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppmbm2xa5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"PPF subfile %s\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"TITLE(1) %s\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"error finding tstep [%s]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @find_TS(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca [255 x i8], align 16 %8 = alloca [20 x i8], align 16 %9 = alloca [80 x i8], align 16 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %11 = load ptr, ptr %4, align 8 %12 = call i32 @fgetpos(ptr noundef %11, ptr noundef %10) br label %13 13: ; preds = %58, %2 %14 = load ptr, ptr %4, align 8 %15 = call i32 @fsetpos(ptr noundef %14, ptr noundef %10) store i32 1, ptr %6, align 4 %16 = load i32, ptr %6, align 4 %17 = icmp sle i32 %16, 5 br i1 %17, label %.lr.ph, label %30 .lr.ph: ; preds = %13 br label %18 18: ; preds = %.lr.ph, %25 %19 = getelementptr inbounds [255 x i8], ptr %7, i64 0, i64 0 %20 = load ptr, ptr %4, align 8 %21 = call ptr @fgets(ptr noundef %19, i32 noundef 255, ptr noundef %20) %22 = icmp eq ptr %21, null br i1 %22, label %23, label %24 23: ; preds = %18 br label %67 24: ; preds = %18 br label %25 25: ; preds = %24 %26 = load i32, ptr %6, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %6, align 4 %28 = load i32, ptr %6, align 4 %29 = icmp sle i32 %28, 5 br i1 %29, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %30 30: ; preds = %._crit_edge, %13 %31 = load ptr, ptr %4, align 8 %32 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 0 %33 = call i32 @fscanf(ptr noundef %31, ptr noundef @.str, ptr noundef %32) %34 = icmp ne i32 %33, 1 br i1 %34, label %35, label %36 35: ; preds = %30 br label %67 36: ; preds = %30 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 0 %39 = call i64 @strcmp(ptr noundef %37, ptr noundef %38) %40 = icmp ne i64 %39, 0 br i1 %40, label %41, label %57 41: ; preds = %36 br label %42 42: ; preds = %51, %41 %43 = load ptr, ptr %4, align 8 %44 = call i32 @fgetpos(ptr noundef %43, ptr noundef %10) %45 = getelementptr inbounds [255 x i8], ptr %7, i64 0, i64 0 %46 = load ptr, ptr %4, align 8 %47 = call ptr @fgets(ptr noundef %45, i32 noundef 255, ptr noundef %46) %48 = icmp eq ptr %47, null br i1 %48, label %49, label %50 49: ; preds = %42 br label %67 50: ; preds = %42 br label %51 51: ; preds = %50 %52 = getelementptr inbounds [255 x i8], ptr %7, i64 0, i64 0 %53 = getelementptr inbounds [80 x i8], ptr %9, i64 0, i64 0 %54 = call i32 @sscanf(ptr noundef %52, ptr noundef @.str.1, ptr noundef %53) %55 = icmp ne i32 %54, 1 br i1 %55, label %42, label %56, !llvm.loop !8 56: ; preds = %51 br label %57 57: ; preds = %56, %36 br label %58 58: ; preds = %57 %59 = load ptr, ptr %5, align 8 %60 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 0 %61 = call i64 @strcmp(ptr noundef %59, ptr noundef %60) %62 = icmp ne i64 %61, 0 br i1 %62, label %13, label %63, !llvm.loop !9 63: ; preds = %58 %64 = load ptr, ptr %4, align 8 %65 = call i32 @fsetpos(ptr noundef %64, ptr noundef %10) %66 = load ptr, ptr %4, align 8 store ptr %66, ptr %3, align 8 br label %70 67: ; preds = %49, %35, %23 %68 = load ptr, ptr %5, align 8 %69 = call i32 @printf(ptr noundef @.str.2, ptr noundef %68) store ptr null, ptr %3, align 8 br label %70 70: ; preds = %67, %63 %71 = load ptr, ptr %3, align 8 ret ptr %71 } declare i32 @fgetpos(ptr noundef, ptr noundef) #1 declare i32 @fsetpos(ptr noundef, ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpmcmw8d57.c' source_filename = "/tmp/tmpmcmw8d57.c" target datalayout = "e-m:e-p270: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/tmpmcmw8d57.c" target datalayout = "e-m:e-p270: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/tmpsk_wr7ei.c' source_filename = "/tmp/tmpsk_wr7ei.c" target datalayout = "e-m:e-p270: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/tmpsk_wr7ei.c" target datalayout = "e-m:e-p270: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/tmp3_w3xl7t.c' source_filename = "/tmp/tmp3_w3xl7t.c" target datalayout = "e-m:e-p270: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/tmp3_w3xl7t.c" target datalayout = "e-m:e-p270: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/tmpd4cpxa45.c' source_filename = "/tmp/tmpd4cpxa45.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @somefunc1(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 br label %5 5: ; preds = %13, %2 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %9, label %16 9: ; preds = %5 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %4, align 4 %12 = add nsw i32 %11, %10 store i32 %12, ptr %4, align 4 br label %13 13: ; preds = %9 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %3, align 4 br label %5, !llvm.loop !6 16: ; preds = %5 %17 = load i32, ptr %3, align 4 %18 = load i32, ptr %4, align 4 %19 = call i32 @somefunc2(i32 noundef %17, i32 noundef %18) ret i32 %19 } declare i32 @somefunc2(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/tmpd4cpxa45.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @somefunc1(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %5, %6 br i1 %7, label %.lr.ph, label %18 .lr.ph: ; preds = %2 br label %8 8: ; preds = %.lr.ph, %12 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %4, align 4 %11 = add nsw i32 %10, %9 store i32 %11, ptr %4, align 4 br label %12 12: ; preds = %8 %13 = load i32, ptr %3, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %3, align 4 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %18 18: ; preds = %._crit_edge, %2 %19 = load i32, ptr %3, align 4 %20 = load i32, ptr %4, align 4 %21 = call i32 @somefunc2(i32 noundef %19, i32 noundef %20) ret i32 %21 } declare i32 @somefunc2(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/tmp88vjtbt8.c' source_filename = "/tmp/tmp88vjtbt8.c" target datalayout = "e-m:e-p270: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/tmp88vjtbt8.c" target datalayout = "e-m:e-p270: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/tmpqcbww9o2.c' source_filename = "/tmp/tmpqcbww9o2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tokenize_line(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i32 4, ptr %9, align 4 %12 = load i32, ptr %9, align 4 %13 = call ptr @calloc(i32 noundef %12, i32 noundef 8) store ptr %13, ptr %10, align 8 store i32 0, ptr %11, align 4 %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %6, align 8 %16 = call ptr @strtok(ptr noundef %14, ptr noundef %15) %17 = load ptr, ptr %10, align 8 %18 = load i32, ptr %11, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds ptr, ptr %17, i64 %19 store ptr %16, ptr %20, align 8 %21 = load i32, ptr %11, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %11, align 4 store i32 1, ptr %11, align 4 br label %23 23: ; preds = %53, %4 %24 = load ptr, ptr %10, align 8 %25 = load i32, ptr %11, align 4 %26 = sub nsw i32 %25, 1 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds ptr, ptr %24, i64 %27 %29 = load ptr, ptr %28, align 8 %30 = icmp ne ptr %29, null br i1 %30, label %31, label %56 31: ; preds = %23 %32 = load i32, ptr %11, align 4 %33 = load i32, ptr %9, align 4 %34 = icmp eq i32 %32, %33 br i1 %34, label %35, label %44 35: ; preds = %31 %36 = load i32, ptr %9, align 4 %37 = mul nsw i32 %36, 2 store i32 %37, ptr %9, align 4 %38 = load ptr, ptr %10, align 8 %39 = load i32, ptr %9, align 4 %40 = sext i32 %39 to i64 %41 = mul i64 8, %40 %42 = trunc i64 %41 to i32 %43 = call ptr @realloc(ptr noundef %38, i32 noundef %42) store ptr %43, ptr %10, align 8 br label %44 44: ; preds = %35, %31 %45 = load i32, ptr %11, align 4 %46 = load ptr, ptr %8, align 8 store i32 %45, ptr %46, align 4 %47 = load ptr, ptr %6, align 8 %48 = call ptr @strtok(ptr noundef null, ptr noundef %47) %49 = load ptr, ptr %10, align 8 %50 = load i32, ptr %11, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds ptr, ptr %49, i64 %51 store ptr %48, ptr %52, align 8 br label %53 53: ; preds = %44 %54 = load i32, ptr %11, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %11, align 4 br label %23, !llvm.loop !6 56: ; preds = %23 %57 = load ptr, ptr %10, align 8 ret ptr %57 } declare ptr @calloc(i32 noundef, i32 noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare ptr @realloc(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/tmpqcbww9o2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tokenize_line(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i32 4, ptr %9, align 4 %12 = load i32, ptr %9, align 4 %13 = call ptr @calloc(i32 noundef %12, i32 noundef 8) store ptr %13, ptr %10, align 8 store i32 0, ptr %11, align 4 %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %6, align 8 %16 = call ptr @strtok(ptr noundef %14, ptr noundef %15) %17 = load ptr, ptr %10, align 8 %18 = load i32, ptr %11, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds ptr, ptr %17, i64 %19 store ptr %16, ptr %20, align 8 %21 = load i32, ptr %11, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %11, align 4 store i32 1, ptr %11, align 4 %23 = load ptr, ptr %10, align 8 %24 = load i32, ptr %11, align 4 %25 = sub nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %23, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %.lr.ph, label %62 .lr.ph: ; preds = %4 br label %30 30: ; preds = %.lr.ph, %52 %31 = load i32, ptr %11, align 4 %32 = load i32, ptr %9, align 4 %33 = icmp eq i32 %31, %32 br i1 %33, label %34, label %43 34: ; preds = %30 %35 = load i32, ptr %9, align 4 %36 = mul nsw i32 %35, 2 store i32 %36, ptr %9, align 4 %37 = load ptr, ptr %10, align 8 %38 = load i32, ptr %9, align 4 %39 = sext i32 %38 to i64 %40 = mul i64 8, %39 %41 = trunc i64 %40 to i32 %42 = call ptr @realloc(ptr noundef %37, i32 noundef %41) store ptr %42, ptr %10, align 8 br label %43 43: ; preds = %34, %30 %44 = load i32, ptr %11, align 4 %45 = load ptr, ptr %8, align 8 store i32 %44, ptr %45, align 4 %46 = load ptr, ptr %6, align 8 %47 = call ptr @strtok(ptr noundef null, ptr noundef %46) %48 = load ptr, ptr %10, align 8 %49 = load i32, ptr %11, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds ptr, ptr %48, i64 %50 store ptr %47, ptr %51, align 8 br label %52 52: ; preds = %43 %53 = load i32, ptr %11, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %11, align 4 %55 = load ptr, ptr %10, align 8 %56 = load i32, ptr %11, align 4 %57 = sub nsw i32 %56, 1 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds ptr, ptr %55, i64 %58 %60 = load ptr, ptr %59, align 8 %61 = icmp ne ptr %60, null br i1 %61, label %30, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %52 br label %62 62: ; preds = %._crit_edge, %4 %63 = load ptr, ptr %10, align 8 ret ptr %63 } declare ptr @calloc(i32 noundef, i32 noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare ptr @realloc(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/tmp67drvt9r.c' source_filename = "/tmp/tmp67drvt9r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vga_init() #0 { %1 = call i32 @set_mode(i32 noundef 320, i32 noundef 200, i32 noundef 256) ret void } declare i32 @set_mode(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/tmp67drvt9r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vga_init() #0 { %1 = call i32 @set_mode(i32 noundef 320, i32 noundef 200, i32 noundef 256) ret void } declare i32 @set_mode(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/tmpx2_t6qu0.c' source_filename = "/tmp/tmpx2_t6qu0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"need OpenCV for extraction\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @extract_voxel(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx2_t6qu0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"need OpenCV for extraction\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @extract_voxel(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpl9_0l_o6.c' source_filename = "/tmp/tmpl9_0l_o6.c" target datalayout = "e-m:e-p270: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, i32, i64, i32, i32, i32, i32 } @.str = private unnamed_addr constant [5 x i8] c"Luni\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"Marti\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"Miercuri\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"Joi\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"Vineri\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"Sambata\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"Duminica\00", align 1 @__const.main.zile = private unnamed_addr constant [7 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6], align 16 @.str.7 = private unnamed_addr constant [3 x i8] c"Ja\00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c"Fe\00", align 1 @.str.9 = private unnamed_addr constant [3 x i8] c"Ma\00", align 1 @__const.main.luna = private unnamed_addr constant [3 x ptr] [ptr @.str.7, ptr @.str.8, ptr @.str.9], align 16 @.str.10 = private unnamed_addr constant [30 x i8] c"Astazi este %s %02d/%s/%02d.\0A\00", align 1 @.str.11 = private unnamed_addr constant [36 x i8] c"Iar ceasul este %02d:%02d:%02d PM.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca [7 x ptr], align 16 %5 = alloca [3 x ptr], align 16 store i32 0, ptr %1, align 4 %6 = call i32 @time(ptr noundef %3) %7 = call ptr @localtime(ptr noundef %3) store ptr %7, ptr %2, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.zile, i64 56, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main.luna, i64 24, i1 false) %8 = load ptr, ptr %2, align 8 %9 = getelementptr inbounds %struct.tm, ptr %8, i32 0, i32 0 %10 = load i32, ptr %9, align 8 %11 = sub nsw i32 %10, 1 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [7 x ptr], ptr %4, i64 0, i64 %12 %14 = load ptr, ptr %13, align 8 %15 = load ptr, ptr %2, align 8 %16 = getelementptr inbounds %struct.tm, ptr %15, i32 0, i32 1 %17 = load i32, ptr %16, align 4 %18 = load ptr, ptr %2, align 8 %19 = getelementptr inbounds %struct.tm, ptr %18, i32 0, i32 2 %20 = load i64, ptr %19, align 8 %21 = getelementptr inbounds [3 x ptr], ptr %5, i64 0, i64 %20 %22 = load ptr, ptr %21, align 8 %23 = load ptr, ptr %2, align 8 %24 = getelementptr inbounds %struct.tm, ptr %23, i32 0, i32 3 %25 = load i32, ptr %24, align 8 %26 = sub nsw i32 %25, 100 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef %14, i32 noundef %17, ptr noundef %22, i32 noundef %26) %28 = load ptr, ptr %2, align 8 %29 = getelementptr inbounds %struct.tm, ptr %28, i32 0, i32 4 %30 = load i32, ptr %29, align 4 %31 = icmp sgt i32 %30, 12 br i1 %31, label %32, label %44 32: ; preds = %0 %33 = load ptr, ptr %2, align 8 %34 = getelementptr inbounds %struct.tm, ptr %33, i32 0, i32 4 %35 = load i32, ptr %34, align 4 %36 = sub nsw i32 %35, 12 %37 = load ptr, ptr %2, align 8 %38 = getelementptr inbounds %struct.tm, ptr %37, i32 0, i32 5 %39 = load i32, ptr %38, align 8 %40 = load ptr, ptr %2, align 8 %41 = getelementptr inbounds %struct.tm, ptr %40, i32 0, i32 6 %42 = load i32, ptr %41, align 4 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %36, i32 noundef %39, i32 noundef %42) br label %55 44: ; preds = %0 %45 = load ptr, ptr %2, align 8 %46 = getelementptr inbounds %struct.tm, ptr %45, i32 0, i32 4 %47 = load i32, ptr %46, align 4 %48 = load ptr, ptr %2, align 8 %49 = getelementptr inbounds %struct.tm, ptr %48, i32 0, i32 5 %50 = load i32, ptr %49, align 8 %51 = load ptr, ptr %2, align 8 %52 = getelementptr inbounds %struct.tm, ptr %51, i32 0, i32 6 %53 = load i32, ptr %52, align 4 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %47, i32 noundef %50, i32 noundef %53) br label %55 55: ; preds = %44, %32 %56 = call i32 (...) @getchar() ret i32 0 } declare i32 @time(ptr noundef) #1 declare ptr @localtime(ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @printf(ptr noundef, ...) #1 declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl9_0l_o6.c" target datalayout = "e-m:e-p270: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, i32, i64, i32, i32, i32, i32 } @.str = private unnamed_addr constant [5 x i8] c"Luni\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"Marti\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"Miercuri\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"Joi\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"Vineri\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"Sambata\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"Duminica\00", align 1 @__const.main.zile = private unnamed_addr constant [7 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6], align 16 @.str.7 = private unnamed_addr constant [3 x i8] c"Ja\00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c"Fe\00", align 1 @.str.9 = private unnamed_addr constant [3 x i8] c"Ma\00", align 1 @__const.main.luna = private unnamed_addr constant [3 x ptr] [ptr @.str.7, ptr @.str.8, ptr @.str.9], align 16 @.str.10 = private unnamed_addr constant [30 x i8] c"Astazi este %s %02d/%s/%02d.\0A\00", align 1 @.str.11 = private unnamed_addr constant [36 x i8] c"Iar ceasul este %02d:%02d:%02d PM.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca [7 x ptr], align 16 %5 = alloca [3 x ptr], align 16 store i32 0, ptr %1, align 4 %6 = call i32 @time(ptr noundef %3) %7 = call ptr @localtime(ptr noundef %3) store ptr %7, ptr %2, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.zile, i64 56, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main.luna, i64 24, i1 false) %8 = load ptr, ptr %2, align 8 %9 = getelementptr inbounds %struct.tm, ptr %8, i32 0, i32 0 %10 = load i32, ptr %9, align 8 %11 = sub nsw i32 %10, 1 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [7 x ptr], ptr %4, i64 0, i64 %12 %14 = load ptr, ptr %13, align 8 %15 = load ptr, ptr %2, align 8 %16 = getelementptr inbounds %struct.tm, ptr %15, i32 0, i32 1 %17 = load i32, ptr %16, align 4 %18 = load ptr, ptr %2, align 8 %19 = getelementptr inbounds %struct.tm, ptr %18, i32 0, i32 2 %20 = load i64, ptr %19, align 8 %21 = getelementptr inbounds [3 x ptr], ptr %5, i64 0, i64 %20 %22 = load ptr, ptr %21, align 8 %23 = load ptr, ptr %2, align 8 %24 = getelementptr inbounds %struct.tm, ptr %23, i32 0, i32 3 %25 = load i32, ptr %24, align 8 %26 = sub nsw i32 %25, 100 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef %14, i32 noundef %17, ptr noundef %22, i32 noundef %26) %28 = load ptr, ptr %2, align 8 %29 = getelementptr inbounds %struct.tm, ptr %28, i32 0, i32 4 %30 = load i32, ptr %29, align 4 %31 = icmp sgt i32 %30, 12 br i1 %31, label %32, label %44 32: ; preds = %0 %33 = load ptr, ptr %2, align 8 %34 = getelementptr inbounds %struct.tm, ptr %33, i32 0, i32 4 %35 = load i32, ptr %34, align 4 %36 = sub nsw i32 %35, 12 %37 = load ptr, ptr %2, align 8 %38 = getelementptr inbounds %struct.tm, ptr %37, i32 0, i32 5 %39 = load i32, ptr %38, align 8 %40 = load ptr, ptr %2, align 8 %41 = getelementptr inbounds %struct.tm, ptr %40, i32 0, i32 6 %42 = load i32, ptr %41, align 4 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %36, i32 noundef %39, i32 noundef %42) br label %55 44: ; preds = %0 %45 = load ptr, ptr %2, align 8 %46 = getelementptr inbounds %struct.tm, ptr %45, i32 0, i32 4 %47 = load i32, ptr %46, align 4 %48 = load ptr, ptr %2, align 8 %49 = getelementptr inbounds %struct.tm, ptr %48, i32 0, i32 5 %50 = load i32, ptr %49, align 8 %51 = load ptr, ptr %2, align 8 %52 = getelementptr inbounds %struct.tm, ptr %51, i32 0, i32 6 %53 = load i32, ptr %52, align 4 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %47, i32 noundef %50, i32 noundef %53) br label %55 55: ; preds = %44, %32 %56 = call i32 (...) @getchar() ret i32 0 } declare i32 @time(ptr noundef) #1 declare ptr @localtime(ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @printf(ptr noundef, ...) #1 declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk_sq5y3l.c' source_filename = "/tmp/tmpk_sq5y3l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 1, ptr %3, align 4 br label %5 5: ; preds = %13, %0 %6 = load i32, ptr %2, align 4 %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = add nsw i32 %8, %9 store i32 %10, ptr %4, align 4 %11 = load i32, ptr %3, align 4 store i32 %11, ptr %2, align 4 %12 = load i32, ptr %4, align 4 store i32 %12, ptr %3, align 4 br label %13 13: ; preds = %5 %14 = load i32, ptr %2, align 4 %15 = icmp slt i32 %14, 255 br i1 %15, label %5, label %16, !llvm.loop !6 16: ; preds = %13 %17 = load i32, ptr %1, align 4 ret i32 %17 } 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/tmpk_sq5y3l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 1, ptr %3, align 4 br label %5 5: ; preds = %13, %0 %6 = load i32, ptr %2, align 4 %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = add nsw i32 %8, %9 store i32 %10, ptr %4, align 4 %11 = load i32, ptr %3, align 4 store i32 %11, ptr %2, align 4 %12 = load i32, ptr %4, align 4 store i32 %12, ptr %3, align 4 br label %13 13: ; preds = %5 %14 = load i32, ptr %2, align 4 %15 = icmp slt i32 %14, 255 br i1 %15, label %5, label %16, !llvm.loop !6 16: ; preds = %13 %17 = load i32, ptr %1, align 4 ret i32 %17 } 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/tmpd6v_5uxr.c' source_filename = "/tmp/tmpd6v_5uxr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [67 x i8] c"resize: fatal memory corruption problem: n > len || n<0 || len<0!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @resize(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %9 = load i32, ptr %6, align 4 %10 = load ptr, ptr %7, align 8 %11 = load i32, ptr %10, align 4 %12 = icmp eq i32 %9, %11 br i1 %12, label %13, label %33 13: ; preds = %4 %14 = load ptr, ptr %7, align 8 %15 = load i32, ptr %14, align 4 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %21 17: ; preds = %13 %18 = load ptr, ptr %7, align 8 %19 = load i32, ptr %18, align 4 %20 = mul nsw i32 %19, 2 br label %22 21: ; preds = %13 br label %22 22: ; preds = %21, %17 %23 = phi i32 [ %20, %17 ], [ 4096, %21 ] %24 = load ptr, ptr %7, align 8 store i32 %23, ptr %24, align 4 %25 = load ptr, ptr %5, align 8 %26 = load ptr, ptr %25, align 8 %27 = load ptr, ptr %7, align 8 %28 = load i32, ptr %27, align 4 %29 = load i32, ptr %8, align 4 %30 = mul nsw i32 %28, %29 %31 = call ptr @realloc(ptr noundef %26, i32 noundef %30) %32 = load ptr, ptr %5, align 8 store ptr %31, ptr %32, align 8 br label %48 33: ; preds = %4 %34 = load i32, ptr %6, align 4 %35 = load ptr, ptr %7, align 8 %36 = load i32, ptr %35, align 4 %37 = icmp sgt i32 %34, %36 br i1 %37, label %45, label %38 38: ; preds = %33 %39 = load i32, ptr %6, align 4 %40 = icmp slt i32 %39, 0 br i1 %40, label %45, label %41 41: ; preds = %38 %42 = load ptr, ptr %7, align 8 %43 = load i32, ptr %42, align 4 %44 = icmp slt i32 %43, 0 br i1 %44, label %45, label %47 45: ; preds = %41, %38, %33 %46 = call i32 @error_exit(i32 noundef 1, ptr noundef @.str) br label %47 47: ; preds = %45, %41 br label %48 48: ; preds = %47, %22 ret i32 0 } declare ptr @realloc(ptr noundef, i32 noundef) #1 declare i32 @error_exit(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/tmpd6v_5uxr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [67 x i8] c"resize: fatal memory corruption problem: n > len || n<0 || len<0!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @resize(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %9 = load i32, ptr %6, align 4 %10 = load ptr, ptr %7, align 8 %11 = load i32, ptr %10, align 4 %12 = icmp eq i32 %9, %11 br i1 %12, label %13, label %33 13: ; preds = %4 %14 = load ptr, ptr %7, align 8 %15 = load i32, ptr %14, align 4 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %21 17: ; preds = %13 %18 = load ptr, ptr %7, align 8 %19 = load i32, ptr %18, align 4 %20 = mul nsw i32 %19, 2 br label %22 21: ; preds = %13 br label %22 22: ; preds = %21, %17 %23 = phi i32 [ %20, %17 ], [ 4096, %21 ] %24 = load ptr, ptr %7, align 8 store i32 %23, ptr %24, align 4 %25 = load ptr, ptr %5, align 8 %26 = load ptr, ptr %25, align 8 %27 = load ptr, ptr %7, align 8 %28 = load i32, ptr %27, align 4 %29 = load i32, ptr %8, align 4 %30 = mul nsw i32 %28, %29 %31 = call ptr @realloc(ptr noundef %26, i32 noundef %30) %32 = load ptr, ptr %5, align 8 store ptr %31, ptr %32, align 8 br label %48 33: ; preds = %4 %34 = load i32, ptr %6, align 4 %35 = load ptr, ptr %7, align 8 %36 = load i32, ptr %35, align 4 %37 = icmp sgt i32 %34, %36 br i1 %37, label %45, label %38 38: ; preds = %33 %39 = load i32, ptr %6, align 4 %40 = icmp slt i32 %39, 0 br i1 %40, label %45, label %41 41: ; preds = %38 %42 = load ptr, ptr %7, align 8 %43 = load i32, ptr %42, align 4 %44 = icmp slt i32 %43, 0 br i1 %44, label %45, label %47 45: ; preds = %41, %38, %33 %46 = call i32 @error_exit(i32 noundef 1, ptr noundef @.str) br label %47 47: ; preds = %45, %41 br label %48 48: ; preds = %47, %22 ret i32 0 } declare ptr @realloc(ptr noundef, i32 noundef) #1 declare i32 @error_exit(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/tmpbtpbu1rg.c' source_filename = "/tmp/tmpbtpbu1rg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MPI_Reduce(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 { %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 store ptr %0, ptr %9, align 8 store ptr %1, ptr %10, align 8 store i32 %2, ptr %11, align 4 store i32 %3, ptr %12, align 4 store i32 %4, ptr %13, align 4 store i32 %5, ptr %14, align 4 store i32 %6, ptr %15, align 4 %17 = load i32, ptr %11, align 4 %18 = load i32, ptr %12, align 4 %19 = call i32 @stubtypesize(i32 noundef %18) %20 = mul nsw i32 %17, %19 store i32 %20, ptr %16, align 4 %21 = load ptr, ptr %9, align 8 %22 = icmp eq ptr %21, null br i1 %22, label %26, label %23 23: ; preds = %7 %24 = load ptr, ptr %10, align 8 %25 = icmp eq ptr %24, null br i1 %25, label %26, label %27 26: ; preds = %23, %7 store i32 0, ptr %8, align 4 br label %32 27: ; preds = %23 %28 = load ptr, ptr %10, align 8 %29 = load ptr, ptr %9, align 8 %30 = load i32, ptr %16, align 4 %31 = call i32 @memcpy(ptr noundef %28, ptr noundef %29, i32 noundef %30) store i32 0, ptr %8, align 4 br label %32 32: ; preds = %27, %26 %33 = load i32, ptr %8, align 4 ret i32 %33 } declare i32 @stubtypesize(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbtpbu1rg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MPI_Reduce(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 { %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 store ptr %0, ptr %9, align 8 store ptr %1, ptr %10, align 8 store i32 %2, ptr %11, align 4 store i32 %3, ptr %12, align 4 store i32 %4, ptr %13, align 4 store i32 %5, ptr %14, align 4 store i32 %6, ptr %15, align 4 %17 = load i32, ptr %11, align 4 %18 = load i32, ptr %12, align 4 %19 = call i32 @stubtypesize(i32 noundef %18) %20 = mul nsw i32 %17, %19 store i32 %20, ptr %16, align 4 %21 = load ptr, ptr %9, align 8 %22 = icmp eq ptr %21, null br i1 %22, label %26, label %23 23: ; preds = %7 %24 = load ptr, ptr %10, align 8 %25 = icmp eq ptr %24, null br i1 %25, label %26, label %27 26: ; preds = %23, %7 store i32 0, ptr %8, align 4 br label %32 27: ; preds = %23 %28 = load ptr, ptr %10, align 8 %29 = load ptr, ptr %9, align 8 %30 = load i32, ptr %16, align 4 %31 = call i32 @memcpy(ptr noundef %28, ptr noundef %29, i32 noundef %30) store i32 0, ptr %8, align 4 br label %32 32: ; preds = %27, %26 %33 = load i32, ptr %8, align 4 ret i32 %33 } declare i32 @stubtypesize(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpiul_v2_u.c' source_filename = "/tmp/tmpiul_v2_u.c" target datalayout = "e-m:e-p270: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/tmpiul_v2_u.c" target datalayout = "e-m:e-p270: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/tmp9h8pr9xb.c' source_filename = "/tmp/tmp9h8pr9xb.c" target datalayout = "e-m:e-p270: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/tmp9h8pr9xb.c" target datalayout = "e-m:e-p270: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/tmp1xpqdr99.c' source_filename = "/tmp/tmp1xpqdr99.c" target datalayout = "e-m:e-p270: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/tmp1xpqdr99.c" target datalayout = "e-m:e-p270: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/tmpn7o5d35n.c' source_filename = "/tmp/tmpn7o5d35n.c" target datalayout = "e-m:e-p270: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 [235 x i8] c"psxdump.c - Dumps playstation disks to file\0A\0AA quick hack that's (c) 1999 Fabio Baracca <[email protected]>\0ALicensed under GNU GPL - *HEAVILY BASED* on code from readxa.c\0Athat's (c) 1996,1997 Gerd Knorr <[email protected]>\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @about() #0 { %1 = load i32, ptr @stderr, 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/tmpn7o5d35n.c" target datalayout = "e-m:e-p270: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 [235 x i8] c"psxdump.c - Dumps playstation disks to file\0A\0AA quick hack that's (c) 1999 Fabio Baracca <[email protected]>\0ALicensed under GNU GPL - *HEAVILY BASED* on code from readxa.c\0Athat's (c) 1996,1997 Gerd Knorr <[email protected]>\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @about() #0 { %1 = load i32, ptr @stderr, 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/tmparts6imn.c' source_filename = "/tmp/tmparts6imn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOENT = dso_local global i32 0, align 4 @NSS_STATUS_UNAVAIL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @_nss_noenum_getgrent_r(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load i32, ptr @ENOENT, align 4 %10 = load ptr, ptr %8, align 8 store i32 %9, ptr %10, align 4 %11 = load i32, ptr @NSS_STATUS_UNAVAIL, align 4 ret i32 %11 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmparts6imn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOENT = dso_local global i32 0, align 4 @NSS_STATUS_UNAVAIL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @_nss_noenum_getgrent_r(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load i32, ptr @ENOENT, align 4 %10 = load ptr, ptr %8, align 8 store i32 %9, ptr %10, align 4 %11 = load i32, ptr @NSS_STATUS_UNAVAIL, align 4 ret i32 %11 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpml06svae.c' source_filename = "/tmp/tmpml06svae.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @_Z8swscalbndi(double noundef %0, i32 noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca i32, align 4 store double %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load double, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call double @scalbn(double noundef %5, i32 noundef %6) #2 ret double %7 } ; Function Attrs: nounwind declare double @scalbn(double 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpml06svae.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @_Z8swscalbndi(double noundef %0, i32 noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca i32, align 4 store double %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load double, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call double @scalbn(double noundef %5, i32 noundef %6) #2 ret double %7 } ; Function Attrs: nounwind declare double @scalbn(double 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmps8yekk48.c' source_filename = "/tmp/tmps8yekk48.c" target datalayout = "e-m:e-p270: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/tmps8yekk48.c" target datalayout = "e-m:e-p270: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/tmpi0i3f9ha.c' source_filename = "/tmp/tmpi0i3f9ha.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [31 x i8] c"Error: cannot write to stdout.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @stdin_stdout_protein() #0 { %1 = alloca [3 x i8], align 1 %2 = alloca i32, align 4 %3 = alloca i8, align 1 call void @llvm.memset.p0.i64(ptr align 1 %1, i8 0, i64 3, i1 false) store i32 1, ptr %2, align 4 br label %4 4: ; preds = %37, %0 %5 = load i32, ptr %2, align 4 %6 = icmp eq i32 %5, 1 br i1 %6, label %7, label %38 7: ; preds = %4 %8 = call signext i8 (...) @read_stdin() %9 = getelementptr inbounds [3 x i8], ptr %1, i64 0, i64 0 store i8 %8, ptr %9, align 1 %10 = call signext i8 (...) @read_stdin() %11 = getelementptr inbounds [3 x i8], ptr %1, i64 0, i64 1 store i8 %10, ptr %11, align 1 %12 = call signext i8 (...) @read_stdin() %13 = getelementptr inbounds [3 x i8], ptr %1, i64 0, i64 2 store i8 %12, ptr %13, align 1 %14 = getelementptr inbounds [3 x i8], ptr %1, i64 0, i64 0 %15 = load i8, ptr %14, align 1 %16 = getelementptr inbounds [3 x i8], ptr %1, i64 0, i64 1 %17 = load i8, ptr %16, align 1 %18 = getelementptr inbounds [3 x i8], ptr %1, i64 0, i64 2 %19 = load i8, ptr %18, align 1 %20 = call signext i8 @bioseq_dna_codon_protein(i8 noundef signext %15, i8 noundef signext %17, i8 noundef signext %19) store i8 %20, ptr %3, align 1 %21 = load i8, ptr %3, align 1 %22 = call i64 @putchar(i8 noundef signext %21) %23 = load i64, ptr @EOF, align 8 %24 = icmp eq i64 %22, %23 br i1 %24, label %25, label %28 25: ; preds = %7 %26 = call i32 @puts(ptr noundef @.str) %27 = call i32 @exit(i32 noundef 1) #4 unreachable 28: ; preds = %7 %29 = load i8, ptr %3, align 1 %30 = sext i8 %29 to i32 %31 = icmp eq i32 %30, 63 br i1 %31, label %36, label %32 32: ; preds = %28 %33 = load i8, ptr %3, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 0 br i1 %35, label %36, label %37 36: ; preds = %32, %28 store i32 0, ptr %2, align 4 br label %37 37: ; preds = %36, %32 br label %4, !llvm.loop !6 38: ; preds = %4 %39 = call i64 @putchar(i8 noundef signext 10) 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 declare signext i8 @read_stdin(...) #2 declare signext i8 @bioseq_dna_codon_protein(i8 noundef signext, i8 noundef signext, i8 noundef signext) #2 declare i64 @putchar(i8 noundef signext) #2 declare i32 @puts(ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi0i3f9ha.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [31 x i8] c"Error: cannot write to stdout.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @stdin_stdout_protein() #0 { %1 = alloca [3 x i8], align 1 %2 = alloca i32, align 4 %3 = alloca i8, align 1 call void @llvm.memset.p0.i64(ptr align 1 %1, i8 0, i64 3, i1 false) store i32 1, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp eq i32 %4, 1 br i1 %5, label %.lr.ph, label %39 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %36 %7 = call signext i8 (...) @read_stdin() %8 = getelementptr inbounds [3 x i8], ptr %1, i64 0, i64 0 store i8 %7, ptr %8, align 1 %9 = call signext i8 (...) @read_stdin() %10 = getelementptr inbounds [3 x i8], ptr %1, i64 0, i64 1 store i8 %9, ptr %10, align 1 %11 = call signext i8 (...) @read_stdin() %12 = getelementptr inbounds [3 x i8], ptr %1, i64 0, i64 2 store i8 %11, ptr %12, align 1 %13 = getelementptr inbounds [3 x i8], ptr %1, i64 0, i64 0 %14 = load i8, ptr %13, align 1 %15 = getelementptr inbounds [3 x i8], ptr %1, i64 0, i64 1 %16 = load i8, ptr %15, align 1 %17 = getelementptr inbounds [3 x i8], ptr %1, i64 0, i64 2 %18 = load i8, ptr %17, align 1 %19 = call signext i8 @bioseq_dna_codon_protein(i8 noundef signext %14, i8 noundef signext %16, i8 noundef signext %18) store i8 %19, ptr %3, align 1 %20 = load i8, ptr %3, align 1 %21 = call i64 @putchar(i8 noundef signext %20) %22 = load i64, ptr @EOF, align 8 %23 = icmp eq i64 %21, %22 br i1 %23, label %24, label %27 24: ; preds = %6 %25 = call i32 @puts(ptr noundef @.str) %26 = call i32 @exit(i32 noundef 1) #4 unreachable 27: ; preds = %6 %28 = load i8, ptr %3, align 1 %29 = sext i8 %28 to i32 %30 = icmp eq i32 %29, 63 br i1 %30, label %35, label %31 31: ; preds = %27 %32 = load i8, ptr %3, align 1 %33 = sext i8 %32 to i32 %34 = icmp eq i32 %33, 0 br i1 %34, label %35, label %36 35: ; preds = %31, %27 store i32 0, ptr %2, align 4 br label %36 36: ; preds = %35, %31 %37 = load i32, ptr %2, align 4 %38 = icmp eq i32 %37, 1 br i1 %38, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %39 39: ; preds = %._crit_edge, %0 %40 = call i64 @putchar(i8 noundef signext 10) 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 declare signext i8 @read_stdin(...) #2 declare signext i8 @bioseq_dna_codon_protein(i8 noundef signext, i8 noundef signext, i8 noundef signext) #2 declare i64 @putchar(i8 noundef signext) #2 declare i32 @puts(ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpe6byx8oe.c' source_filename = "/tmp/tmpe6byx8oe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @fp = external global ptr, align 8 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [23 x i8] c"Can't open file '%s' \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fline__setup(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call ptr @fopen(ptr noundef %4, ptr noundef @.str) store ptr %5, ptr @fp, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %11 7: ; preds = %1 %8 = load i32, ptr @stderr, align 4 %9 = load ptr, ptr %3, align 8 %10 = call i32 @fprintf(i32 noundef %8, ptr noundef @.str.1, ptr noundef %9) store i32 1, ptr %2, align 4 br label %12 11: ; preds = %1 store i32 0, ptr %2, align 4 br label %12 12: ; preds = %11, %7 %13 = load i32, ptr %2, align 4 ret i32 %13 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe6byx8oe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @fp = external global ptr, align 8 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [23 x i8] c"Can't open file '%s' \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fline__setup(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call ptr @fopen(ptr noundef %4, ptr noundef @.str) store ptr %5, ptr @fp, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %11 7: ; preds = %1 %8 = load i32, ptr @stderr, align 4 %9 = load ptr, ptr %3, align 8 %10 = call i32 @fprintf(i32 noundef %8, ptr noundef @.str.1, ptr noundef %9) store i32 1, ptr %2, align 4 br label %12 11: ; preds = %1 store i32 0, ptr %2, align 4 br label %12 12: ; preds = %11, %7 %13 = load i32, ptr %2, align 4 ret i32 %13 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6xav93xv.c' source_filename = "/tmp/tmp6xav93xv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca [10 x [10 x [0 x i32]]], align 4 %8 = alloca [0 x i32], align 4 %9 = alloca [12 x i8], align 1 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %10 = load ptr, ptr %4, align 8 %11 = call i32 @bar(ptr noundef %10) %12 = load ptr, ptr %4, align 8 %13 = call i32 @bar(ptr noundef %12) %14 = load ptr, ptr %4, align 8 %15 = call i32 @bar(ptr noundef %14) %16 = load ptr, ptr %4, align 8 %17 = call i32 @bar(ptr noundef %16) %18 = load ptr, ptr %4, align 8 %19 = call i32 @bar(ptr noundef %18) %20 = load ptr, ptr %4, align 8 %21 = call i32 @bar(ptr noundef %20) %22 = load ptr, ptr %4, align 8 %23 = call i32 @bar(ptr noundef %22) %24 = load ptr, ptr %4, align 8 %25 = call i32 @bar(ptr noundef %24) %26 = load ptr, ptr %4, align 8 %27 = call i32 @bar(ptr noundef %26) %28 = load ptr, ptr %4, align 8 %29 = call i32 @bar(ptr noundef %28) %30 = load ptr, ptr %4, align 8 %31 = call i32 @bar(ptr noundef %30) %32 = load ptr, ptr %4, align 8 %33 = call i32 @bar(ptr noundef %32) %34 = load ptr, ptr %4, align 8 %35 = call i32 @bar(ptr noundef %34) %36 = load ptr, ptr %4, align 8 %37 = call i32 @bar(ptr noundef %36) %38 = load ptr, ptr %4, align 8 %39 = call i32 @bar(ptr noundef %38) %40 = load ptr, ptr %4, align 8 %41 = call i32 @bar(ptr noundef %40) %42 = load ptr, ptr %4, align 8 %43 = call i32 @bar(ptr noundef %42) %44 = load ptr, ptr %4, align 8 %45 = call i32 @bar(ptr noundef %44) %46 = load ptr, ptr %4, align 8 %47 = call i32 @bar(ptr noundef %46) %48 = load ptr, ptr %4, align 8 %49 = call i32 @bar(ptr noundef %48) %50 = load ptr, ptr %4, align 8 %51 = call i32 @bar(ptr noundef %50) %52 = load ptr, ptr %4, align 8 %53 = call i32 @bar(ptr noundef %52) %54 = load ptr, ptr %4, align 8 %55 = call i32 @bar(ptr noundef %54) ret void } declare i32 @bar(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6xav93xv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca [10 x [10 x [0 x i32]]], align 4 %8 = alloca [0 x i32], align 4 %9 = alloca [12 x i8], align 1 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %10 = load ptr, ptr %4, align 8 %11 = call i32 @bar(ptr noundef %10) %12 = load ptr, ptr %4, align 8 %13 = call i32 @bar(ptr noundef %12) %14 = load ptr, ptr %4, align 8 %15 = call i32 @bar(ptr noundef %14) %16 = load ptr, ptr %4, align 8 %17 = call i32 @bar(ptr noundef %16) %18 = load ptr, ptr %4, align 8 %19 = call i32 @bar(ptr noundef %18) %20 = load ptr, ptr %4, align 8 %21 = call i32 @bar(ptr noundef %20) %22 = load ptr, ptr %4, align 8 %23 = call i32 @bar(ptr noundef %22) %24 = load ptr, ptr %4, align 8 %25 = call i32 @bar(ptr noundef %24) %26 = load ptr, ptr %4, align 8 %27 = call i32 @bar(ptr noundef %26) %28 = load ptr, ptr %4, align 8 %29 = call i32 @bar(ptr noundef %28) %30 = load ptr, ptr %4, align 8 %31 = call i32 @bar(ptr noundef %30) %32 = load ptr, ptr %4, align 8 %33 = call i32 @bar(ptr noundef %32) %34 = load ptr, ptr %4, align 8 %35 = call i32 @bar(ptr noundef %34) %36 = load ptr, ptr %4, align 8 %37 = call i32 @bar(ptr noundef %36) %38 = load ptr, ptr %4, align 8 %39 = call i32 @bar(ptr noundef %38) %40 = load ptr, ptr %4, align 8 %41 = call i32 @bar(ptr noundef %40) %42 = load ptr, ptr %4, align 8 %43 = call i32 @bar(ptr noundef %42) %44 = load ptr, ptr %4, align 8 %45 = call i32 @bar(ptr noundef %44) %46 = load ptr, ptr %4, align 8 %47 = call i32 @bar(ptr noundef %46) %48 = load ptr, ptr %4, align 8 %49 = call i32 @bar(ptr noundef %48) %50 = load ptr, ptr %4, align 8 %51 = call i32 @bar(ptr noundef %50) %52 = load ptr, ptr %4, align 8 %53 = call i32 @bar(ptr noundef %52) %54 = load ptr, ptr %4, align 8 %55 = call i32 @bar(ptr noundef %54) ret void } declare i32 @bar(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp13vezqrz.c' source_filename = "/tmp/tmp13vezqrz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quickSort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %24 11: ; preds = %3 %12 = load ptr, ptr %4, align 8 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %6, align 4 %15 = call i32 @partition(ptr noundef %12, i32 noundef %13, i32 noundef %14) store i32 %15, ptr %7, align 4 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %5, align 4 %18 = load i32, ptr %7, align 4 %19 = sub nsw i32 %18, 1 call void @quickSort(ptr noundef %16, i32 noundef %17, i32 noundef %19) %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %7, align 4 %22 = add nsw i32 %21, 1 %23 = load i32, ptr %6, align 4 call void @quickSort(ptr noundef %20, i32 noundef %22, i32 noundef %23) br label %24 24: ; preds = %11, %3 ret void } declare i32 @partition(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp13vezqrz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quickSort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %24 11: ; preds = %3 %12 = load ptr, ptr %4, align 8 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %6, align 4 %15 = call i32 @partition(ptr noundef %12, i32 noundef %13, i32 noundef %14) store i32 %15, ptr %7, align 4 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %5, align 4 %18 = load i32, ptr %7, align 4 %19 = sub nsw i32 %18, 1 call void @quickSort(ptr noundef %16, i32 noundef %17, i32 noundef %19) %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %7, align 4 %22 = add nsw i32 %21, 1 %23 = load i32, ptr %6, align 4 call void @quickSort(ptr noundef %20, i32 noundef %22, i32 noundef %23) br label %24 24: ; preds = %11, %3 ret void } declare i32 @partition(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplgb8k3q3.c' source_filename = "/tmp/tmplgb8k3q3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = call i32 @Binary(i32 noundef 5) ret i32 0 } declare i32 @Binary(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/tmplgb8k3q3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = call i32 @Binary(i32 noundef 5) ret i32 0 } declare i32 @Binary(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/tmpa63ryt0_.c' source_filename = "/tmp/tmpa63ryt0_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @input_fire() #0 { %1 = call i32 (...) @itemFireWpn() ret void } declare i32 @itemFireWpn(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa63ryt0_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @input_fire() #0 { %1 = call i32 (...) @itemFireWpn() ret void } declare i32 @itemFireWpn(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}