dataset
stringclasses
1 value
file
stringlengths
7
51
fun_name
stringlengths
2
45
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
CompRealVul
udf_CS0toNLS_18886
udf_CS0toNLS
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.12.reg2mem = alloca i32 %.reg2mem3 = alloca i64 %.reg2mem = alloca i8 %sv_1.0.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg3 to i64 %6 = add i64 %5, 1 %7 = inttoptr i64 %6 to i8* %8 = load i8, i8* %7, align 1 %9 = icmp eq i8 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_2, label LBL_1 LBL_1: %11 = call i64* @memset(i64* %arg2, i32 0, i32 257) store i64 0, i64* %rax.0.reg2mem br label LBL_10 LBL_2: %12 = trunc i64 %3 to i8 switch i8 %12, label LBL_3 [ i8 8, label LBL_4 i8 16, label LBL_4 ] LBL_3: %13 = call i64* @memset(i64* %arg2, i32 0, i32 257) %14 = add i64 %5, 2 %15 = urem i64 %3, 256 %16 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0), i64 %15, i64 %14, i64 %4, i64 %2, i64 %1) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_10 LBL_4: %17 = ptrtoint i64* %arg2 to i64 %18 = add i64 %5, 2 %19 = add i64 %17, 1 %20 = inttoptr i64 %19 to i8* store i8 0, i8* %20, align 1 %21 = zext i8 %8 to i64 %22 = icmp eq i8 %12, 16 %23 = icmp eq i1 %22, false store i8 0, i8* %.reg2mem store i64 0, i64* %.reg2mem3 store i32 0, i32* %sv_0.12.reg2mem br label LBL_8 LBL_5: %sv_0.12.reload = load i32, i32* %sv_0.12.reg2mem %.reload4 = load i64, i64* %.reg2mem3 %24 = add i32 %sv_0.12.reload, 1 %25 = add i64 %.reload4, %18 %26 = inttoptr i64 %25 to i8* %27 = load i8, i8* %26, align 1 %28 = zext i8 %27 to i32 store i32 %24, i32* %sv_0.0.reg2mem store i32 %28, i32* %sv_1.0.reg2mem br i1 %23, label LBL_7, label LBL_6 LBL_6: %29 = mul i32 %28, 256 %30 = add i32 %sv_0.12.reload, 2 %31 = sext i32 %24 to i64 %32 = add i64 %18, %31 %33 = inttoptr i64 %32 to i8* %34 = load i8, i8* %33, align 1 %35 = zext i8 %34 to i32 %36 = or i32 %29, %35 store i32 %30, i32* %sv_0.0.reg2mem store i32 %36, i32* %sv_1.0.reg2mem br label LBL_7 LBL_7: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %37 = trunc i32 %sv_1.0.reload to i8 %38 = add i8 %.reload, %37 store i8 %38, i8* %20, align 1 %39 = sext i32 %sv_0.0.reload to i64 %40 = icmp slt i64 %39, %21 store i8 %38, i8* %.reg2mem store i64 %39, i64* %.reg2mem3 store i32 %sv_0.0.reload, i32* %sv_0.12.reg2mem br i1 %40, label LBL_8, label LBL_9 LBL_8: %.reload = load i8, i8* %.reg2mem %41 = icmp ult i8 %.reload, -3 br i1 %41, label LBL_5, label LBL_9 LBL_9: %42 = bitcast i64* %arg2 to i8* store i8 8, i8* %42, align 1 %43 = load i8, i8* %20, align 1 %44 = zext i8 %43 to i64 store i64 %44, i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %28, { 1, 0 } uselistorder i32 %24, { 1, 0 } uselistorder i8* %20, { 2, 1, 0 } uselistorder i64 %5, { 1, 0, 2 } uselistorder i64 %3, { 1, 0 } uselistorder i64* %.reg2mem3, { 1, 0, 2 } uselistorder i32* %sv_0.12.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i8 16, { 1, 0 } uselistorder i8 8, { 1, 0 } uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 } uselistorder i8 0, { 0, 1, 3, 4, 2 } uselistorder i64* %arg2, { 0, 3, 1, 2 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
CompRealVul
git_branch_delete_18857
git_branch_delete
define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 store i64 0, i64* %sv_1, align 8 store i64 0, i64* %sv_0, align 8 %3 = icmp ult i32 %arg3, 2 br i1 %3, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i32 56, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %4 = icmp eq i32 %arg3, 1 %5 = zext i1 %4 to i64 %6 = call i64 @FUNC(i64* nonnull %sv_1, i64 %arg1, i64 %arg2, i64 %5) %7 = trunc i64 %6 to i32 %8 = icmp slt i32 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = and i64 %6, 4294967295 store i64 %10, i64* %rax.0.reg2mem br label LBL_12 LBL_4: %11 = call i64 @FUNC(i64* nonnull %sv_0, i64 %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0)) %12 = trunc i64 %11 to i32 %13 = icmp slt i32 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_6, label LBL_5 LBL_5: %15 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_4, i64 0, i64 0), i64 ptrtoint ([5 x i8]* @gv_3 to i64), i64 %arg1, i64 %2, i64 %1) br label LBL_11 LBL_6: %16 = load i64, i64* %sv_0, align 8 %17 = call i64 @FUNC(i64 %16) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 1 %20 = icmp eq i1 %19, false br i1 %20, label LBL_9, label LBL_7 LBL_7: %21 = load i64, i64* %sv_1, align 8 %22 = call i64 @FUNC(i64 %21) %23 = load i64, i64* %sv_0, align 8 %24 = call i64 @FUNC(i64 %23) %25 = inttoptr i64 %24 to i8* %26 = inttoptr i64 %22 to i8* %27 = call i32 @strcmp(i8* %25, i8* %26) %28 = icmp eq i32 %27, 0 %29 = icmp eq i1 %28, false br i1 %29, label LBL_9, label LBL_8 LBL_8: %30 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([71 x i8], [71 x i8]* @gv_5, i64 0, i64 0), i64 %arg2, i64 %arg1, i64 %2, i64 %1) br label LBL_11 LBL_9: %31 = load i64, i64* %sv_1, align 8 %32 = call i64 @FUNC(i64 %31) %33 = trunc i64 %32 to i32 %34 = icmp slt i32 %33, 0 br i1 %34, label LBL_11, label LBL_10 LBL_10: %35 = load i64, i64* %sv_0, align 8 %36 = call i64 @FUNC(i64 %35) store i64 0, i64* %rax.0.reg2mem br label LBL_12 LBL_11: %37 = load i64, i64* %sv_0, align 8 %38 = call i64 @FUNC(i64 %37) %39 = load i64, i64* %sv_1, align 8 %40 = call i64 @FUNC(i64 %39) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %sv_1, { 1, 2, 3, 0, 4 } uselistorder i64* %sv_0, { 1, 2, 3, 4, 0, 5 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64)* @git_reference_free, { 2, 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @giterr_set, { 1, 0 } uselistorder i64 1, { 1, 2, 0 } uselistorder [5 x i8]* @gv_3, { 1, 0 } uselistorder i32 1, { 5, 6, 8, 7, 4, 3, 2, 0, 1 } uselistorder i32 %arg3, { 1, 0 } uselistorder i64 %arg1, { 1, 0, 2, 3 } }
1
CompRealVul
AcquireRandomInfoThreadSet_6369
AcquireRandomInfoThreadSet
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge1.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 0) %1 = call i64 @FUNC(i64 %0, i64 8) %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0)) unreachable LBL_2: %5 = mul i64 %0, 8 %6 = call i64 @FUNC(i64 %1, i64 0, i64 %5) %7 = icmp sgt i64 %0, 0 store i64 0, i64* %storemerge1.reg2mem br i1 %7, label LBL_3, label LBL_4 LBL_3: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %8 = mul i64 %storemerge1.reload, 8 %9 = add i64 %8, %1 %10 = call i64 @FUNC() %11 = inttoptr i64 %9 to i64* store i64 %10, i64* %11, align 8 %12 = add nuw nsw i64 %storemerge1.reload, 1 %exitcond = icmp eq i64 %12, %0 store i64 %12, i64* %storemerge1.reg2mem br i1 %exitcond, label LBL_4, label LBL_3 LBL_4: ret i64 %1 uselistorder i64 %1, { 1, 0, 2, 3 } uselistorder i64 %0, { 1, 2, 0, 3 } uselistorder i64* %storemerge1.reg2mem, { 2, 0, 1 } uselistorder i64 1, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
CompRealVul
ext4_punch_hole_7669
ext4_punch_hole
define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i64 %sv_0.3.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %storemerge.in.reg2mem = alloca i64 %storemerge4.in.reg2mem = alloca i64 %.reg2mem = alloca i32 %.pre-phi.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = add i64 %2, 16 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = trunc i64 %1 to i32 %10 = icmp eq i32 %9, 1 store i64 1, i64* %rax.0.shrunk.reg2mem br i1 %10, label LBL_1, label LBL_29 LBL_1: %11 = inttoptr i64 %8 to i32* %12 = call i64 @FUNC(i64 %2, i64 %arg2, i64 %arg3) %13 = load i32, i32* %11, align 4 %14 = icmp eq i32 %13, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %14, label LBL_4, label LBL_2 LBL_2: %15 = call i64 @FUNC(i64 %8, i64 1) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %17, label LBL_4, label LBL_3 LBL_3: %18 = add i64 %arg3, %arg2 %19 = add i64 %18, -1 %20 = call i64 @FUNC(i64 %8, i64 %arg2, i64 %19) %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %21, 0 store i64 %20, i64* %sv_0.0.reg2mem store i64 %20, i64* %rax.0.shrunk.reg2mem br i1 %22, label LBL_4, label LBL_29 LBL_4: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %23 = add i64 %2, 40 %24 = call i64 @FUNC(i64 %23) %25 = add i64 %2, 24 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = icmp sgt i64 %27, %arg2 store i64 %sv_0.0.reload, i64* %sv_0.3.reg2mem br i1 %28, label LBL_5, label LBL_28 LBL_5: %29 = add i64 %arg3, %arg2 %30 = icmp sgt i64 %29, %27 store i64 %arg3, i64* %sv_1.0.reg2mem br i1 %30, label LBL_6, label LBL_7 LBL_6: %31 = urem i64 %27, 4096 %32 = sub i64 4096, %arg2 %33 = add i64 %32, %27 %34 = sub i64 %33, %31 store i64 %34, i64* %sv_1.0.reg2mem br label LBL_7 LBL_7: %35 = inttoptr i64 %5 to i32* %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %36 = load i32, i32* %35, align 4 %37 = add i32 %36, -1 %38 = zext i32 %37 to i64 %39 = and i64 %38, %arg2 %40 = icmp eq i64 %39, 0 %41 = icmp eq i1 %40, false br i1 %41, label LBL_9, label LBL_8 LBL_8: %42 = add i64 %sv_1.0.reload, %arg2 %43 = and i64 %42, %38 %44 = icmp eq i64 %43, 0 store i64 %42, i64* %.pre-phi.reg2mem store i32 %36, i32* %.reg2mem br i1 %44, label LBL_11, label LBL_9 LBL_9: %45 = call i64 @FUNC(i64 %2) %46 = trunc i64 %45 to i32 %47 = icmp slt i32 %46, 0 store i64 %45, i64* %sv_0.3.reg2mem br i1 %47, label LBL_28, label LBL_9.LBL_11_crit_edge LBL_10: %.pre = load i32, i32* %35, align 4 %.pre5 = add i64 %sv_1.0.reload, %arg2 store i64 %.pre5, i64* %.pre-phi.reg2mem store i32 %.pre, i32* %.reg2mem br label LBL_11 LBL_11: %.reload = load i32, i32* %.reg2mem %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %48 = zext i32 %.reload to i64 %49 = call i64 @FUNC(i64 %arg2, i64 %48) %50 = load i32, i32* %35, align 4 %51 = zext i32 %50 to i64 %52 = call i64 @FUNC(i64 %.pre-phi.reload, i64 %51) %53 = add i64 %52, -1 %54 = icmp sgt i64 %53, %49 br i1 %54, label LBL_12, label LBL_13 LBL_12: %55 = call i64 @FUNC(i64 %2, i64 %49, i64 %53) br label LBL_13 LBL_13: %56 = call i64 @FUNC(i64 %2) %57 = call i64 @FUNC(i64 %2) %58 = call i64 @FUNC(i64 %2, i64 1) %59 = trunc i64 %58 to i32 %60 = icmp eq i32 %59, 0 br i1 %60, label LBL_15, label LBL_14 LBL_14: %61 = call i64 @FUNC(i64 %2) store i64 %61, i64* %storemerge4.in.reg2mem br label LBL_16 LBL_15: %62 = call i64 @FUNC(i64 %2) store i64 %62, i64* %storemerge4.in.reg2mem br label LBL_16 LBL_16: %storemerge4.in.reload = load i64, i64* %storemerge4.in.reg2mem %storemerge4 = trunc i64 %storemerge4.in.reload to i32 %63 = call i64 @FUNC(i64 %2, i64 0, i32 %storemerge4) %64 = icmp eq i64 %63, 0 %65 = icmp eq i1 %64, false br i1 %65, label LBL_18, label LBL_17 LBL_17: %66 = call i64 @FUNC(i64 %5, i64 4294967295) store i64 4294967295, i64* %sv_0.2.reg2mem br label LBL_27 LBL_18: %67 = call i64 @FUNC(i64 %63, i64 %2, i64 %arg2, i64 %sv_1.0.reload) %68 = trunc i64 %67 to i32 %69 = icmp eq i32 %68, 0 %70 = icmp eq i1 %69, false store i64 %67, i64* %sv_0.1.reg2mem br i1 %70, label LBL_26, label LBL_19 LBL_19: %71 = load i32, i32* %35, align 4 %72 = zext i32 %71 to i64 %73 = add i64 %arg2, 17592186044415 %74 = add i64 %73, %72 %75 = udiv i64 %74, 4096 %76 = trunc i64 %75 to i32 %77 = udiv i64 %.pre-phi.reload, 4096 %78 = trunc i64 %77 to i32 %79 = icmp sgt i32 %78, %76 store i64 %67, i64* %sv_0.1.reg2mem br i1 %79, label LBL_20, label LBL_26 LBL_20: %80 = call i64 @FUNC(i64 %2) %81 = add i64 %80, 44 %82 = call i64 @FUNC(i64 %81) %83 = call i64 @FUNC(i64 %2) %84 = sub nsw i64 %77, %75 %85 = and i64 %84, 4294967295 %86 = and i64 %75, 4294967295 %87 = call i64 @FUNC(i64 %2, i64 %86, i64 %85) %88 = trunc i64 %87 to i32 %89 = icmp eq i32 %88, 0 br i1 %89, label LBL_22, label LBL_21 LBL_21: %90 = call i64 @FUNC(i64 %2) %91 = add i64 %90, 44 %92 = call i64 @FUNC(i64 %91) store i64 %87, i64* %sv_0.1.reg2mem br label LBL_26 LBL_22: %93 = call i64 @FUNC(i64 %2, i64 1) %94 = trunc i64 %93 to i32 %95 = icmp eq i32 %94, 0 br i1 %95, label LBL_24, label LBL_23 LBL_23: %96 = add nuw nsw i64 %77, 4294967295 %97 = and i64 %96, 4294967295 %98 = call i64 @FUNC(i64 %2, i64 %86, i64 %97) store i64 %98, i64* %storemerge.in.reg2mem br label LBL_25 LBL_24: %99 = call i64 @FUNC(i64 %63, i64 %2, i32 %76, i32 %78) store i64 %99, i64* %storemerge.in.reg2mem br label LBL_25 LBL_25: %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem %100 = call i64 @FUNC(i64 %2) %101 = call i64 @FUNC(i64 %2) %102 = add i64 %101, 44 %103 = call i64 @FUNC(i64 %102) %104 = call i64 @FUNC(i64 %2) %105 = trunc i64 %104 to i32 %106 = add i64 %2, 36 %107 = inttoptr i64 %106 to i32* store i32 %105, i32* %107, align 4 %108 = add i64 %2, 32 %109 = inttoptr i64 %108 to i32* store i32 %105, i32* %109, align 4 %110 = call i64 @FUNC(i64 %63, i64 %2) store i64 %storemerge.in.reload, i64* %sv_0.1.reg2mem br label LBL_26 LBL_26: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %111 = call i64 @FUNC(i64 %63) store i64 %sv_0.1.reload, i64* %sv_0.2.reg2mem br label LBL_27 LBL_27: %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem %112 = call i64 @FUNC(i64 %2) store i64 %sv_0.2.reload, i64* %sv_0.3.reg2mem br label LBL_28 LBL_28: %sv_0.3.reload = load i64, i64* %sv_0.3.reg2mem %113 = call i64 @FUNC(i64 %23) store i64 %sv_0.3.reload, i64* %rax.0.shrunk.reg2mem br label LBL_29 LBL_29: %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295 ret i64 %rax.0 uselistorder i32 %78, { 1, 0 } uselistorder i64 %77, { 2, 1, 0 } uselistorder i32 %76, { 1, 0 } uselistorder i64 %75, { 2, 1, 0 } uselistorder i64 %63, { 2, 0, 1, 3, 4 } uselistorder i64 %.pre-phi.reload, { 1, 0 } uselistorder i64 %sv_1.0.reload, { 0, 2, 1 } uselistorder i32* %35, { 1, 2, 0, 3 } uselistorder i64 %27, { 1, 0, 3, 2 } uselistorder i64 %2, { 0, 2, 3, 4, 5, 6, 7, 8, 1, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27 } uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge4.in.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.1.reg2mem, { 0, 3, 2, 1, 4 } uselistorder i64* %sv_0.2.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.3.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 3, 1, 2 } uselistorder i64 (i64)* @up_write, { 1, 0 } uselistorder i64 (i64)* @ext4_discard_preallocations, { 1, 0 } uselistorder i64 (i64)* @EXT4_I, { 2, 1, 0 } uselistorder i64 (i64, i64)* @ext4_test_inode_flag, { 1, 0 } uselistorder i64 -1, { 1, 2, 0 } uselistorder i64 1, { 5, 6, 7, 0, 1, 2, 3, 4 } uselistorder i64 %arg2, { 6, 9, 10, 1, 2, 3, 0, 4, 7, 8, 5, 11 } uselistorder label LBL_29, { 2, 0, 1 } uselistorder label LBL_28, { 2, 0, 1 } uselistorder label LBL_26, { 2, 3, 0, 1 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_7, { 1, 0 } }
1
CompRealVul
qemu_put_buffer_async_1632
qemu_put_buffer_async
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg3, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = icmp eq i64* %arg1, null %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = trunc i64 %2 to i32 %6 = call i64 @FUNC(i64 %1, i64 %0, i32 %5) store i64 %6, i64* %rax.0.reg2mem br label LBL_4 LBL_2: %7 = add i64 %1, 8 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = zext i32 %9 to i64 %11 = icmp eq i32 %9, 0 %12 = icmp eq i1 %11, false store i64 %10, i64* %rax.0.reg2mem br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = add i64 %1, 12 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = trunc i64 %2 to i32 %17 = add i32 %15, %16 store i32 %17, i32* %14, align 4 %18 = call i64 @FUNC(i64 %1, i64 %0, i32 %16) store i64 %18, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %16, { 1, 0 } uselistorder i64 %1, { 1, 2, 3, 0 } uselistorder i64 %0, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder label LBL_4, { 1, 0, 2 } }
0
CompRealVul
qemu_iovec_destroy_3274
qemu_iovec_destroy
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, -1 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 18, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %5 = ptrtoint i64* %arg1 to i64 %6 = call i64 @FUNC(i64 %5) %7 = add i64 %5, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %9) %11 = bitcast i64* %arg1 to i32* store i32 0, i32* %11, align 4 store i64 0, i64* %8, align 8 ret i64 %5 uselistorder i64 %5, { 0, 2, 1 } }
0
CompRealVul
omap_dss_init_18654
omap_dss_init
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 64) %3 = inttoptr i64 %2 to i64* store i64 %arg4, i64* %3, align 8 %4 = add i64 %2, 8 %5 = inttoptr i64 %4 to i64* store i64 %arg5, i64* %5, align 8 %6 = call i64 @FUNC(i64 %2) %7 = call i64 @FUNC(i64 %1, i64 0) %8 = add i64 %2, 16 %9 = call i64 @FUNC(i64 %8, i64 0, i64* nonnull @gv_0, i64 %2, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i64 %7) %10 = call i64 @FUNC(i64 %1, i64 1) %11 = add i64 %2, 24 %12 = call i64 @FUNC(i64 %11, i64 0, i64* nonnull @gv_2, i64 %2, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_3, i64 0, i64 0), i64 %10) %13 = call i64 @FUNC(i64 %1, i64 2) %14 = add i64 %2, 32 %15 = call i64 @FUNC(i64 %14, i64 0, i64* nonnull @gv_4, i64 %2, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_5, i64 0, i64 0), i64 %13) %16 = call i64 @FUNC(i64 %1, i64 3) %17 = add i64 %2, 40 %18 = call i64 @FUNC(i64 %17, i64 0, i64* nonnull @gv_6, i64 %2, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_7, i64 0, i64 0), i64 %16) %19 = add i64 %2, 48 %20 = call i64 @FUNC(i64 %19, i64 0, i64* nonnull @gv_8, i64 %2, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_9, i64 0, i64 0), i64 4096) %21 = call i64 @FUNC(i64 %1, i64 0, i64 %8) %22 = call i64 @FUNC(i64 %1, i64 1, i64 %11) %23 = call i64 @FUNC(i64 %1, i64 2, i64 %14) %24 = call i64 @FUNC(i64 %1, i64 3, i64 %17) %25 = call i64 @FUNC(i64 %0, i64 %arg3, i64 %19) %26 = call i64 @FUNC(i64 4198846, i64 4198853, i64 4198860, i64 %2) %27 = add i64 %2, 56 %28 = inttoptr i64 %27 to i64* store i64 %26, i64* %28, align 8 ret i64 %2 uselistorder i64 (i64, i64, i64)* @omap_l4_attach, { 3, 2, 1, 0 } uselistorder i64 4096, { 1, 0 } uselistorder i64 (i64, i64, i64*, i64, i8*, i64)* @memory_region_init_io, { 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @omap_l4_region_size, { 3, 2, 1, 0 } }
1
CompRealVul
ldbRedis_12400
ldbRedis
define i64 @FUNC(i64 %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %0 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4 %1 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0)) %2 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0)) %3 = call i64 @FUNC(i64 %arg1, i64 4294967294) %4 = icmp sgt i32 %arg3, 1 br i1 %4, label LBL_1, label LBL_3 LBL_1: %5 = ptrtoint i64* %arg2 to i64 %wide.trip.count = zext i32 %arg3 to i64 store i64 1, i64* %indvars.iv.reg2mem br label LBL_2 LBL_2: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %6 = mul i64 %indvars.iv.reload, 8 %7 = add i64 %6, %5 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %9) %11 = load i64, i64* %8, align 8 %12 = call i64 @FUNC(i64 %arg1, i64 %11, i64 %10) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_3, label LBL_2 LBL_3: store i32 1, i32* bitcast (i64* @gv_2 to i32*), align 8 store i32 1, i32* bitcast (i64* @gv_3 to i32*), align 8 %13 = add i32 %arg3, -1 %14 = zext i32 %13 to i64 %15 = call i64 @FUNC(i64 %arg1, i64 %14, i64 1, i64 0) store i32 0, i32* bitcast (i64* @gv_2 to i32*), align 8 store i32 %0, i32* bitcast (i64* @gv_3 to i32*), align 8 %16 = call i64 @FUNC(i64 %arg1, i64 2) ret i64 %16 uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64 1, { 2, 1, 0 } uselistorder i32 %arg3, { 2, 0, 1 } uselistorder i64 %arg1, { 1, 0, 2, 3, 4, 5 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
getsymbol_12191
getsymbol
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sext = mul i64 %arg1, 72057594037927936 %0 = ashr exact i64 %sext, 56 %1 = trunc i64 %arg2 to i8 %2 = icmp eq i8 %1, 0 %.pre = trunc i64 %0 to i8 br i1 %2, label LBL_4, label LBL_1 LBL_1: %3 = icmp eq i8 %.pre, 62 %4 = icmp eq i1 %3, false store i64 95, i64* %rax.0.reg2mem br i1 %4, label LBL_2, label LBL_12 LBL_2: %5 = icmp eq i8 %.pre, 63 %6 = icmp eq i1 %5, false store i64 45, i64* %rax.0.reg2mem br i1 %6, label LBL_3, label LBL_12 LBL_3: %7 = icmp eq i8 %1, 1 br i1 %7, label LBL_6, label LBL_4 LBL_4: %8 = icmp eq i8 %.pre, 47 %9 = icmp eq i1 %8, false store i64 47, i64* %rax.0.reg2mem br i1 %9, label LBL_5, label LBL_12 LBL_5: %10 = icmp eq i8 %.pre, 43 %11 = icmp eq i1 %10, false store i64 43, i64* %rax.0.reg2mem br i1 %11, label LBL_6, label LBL_12 LBL_6: %12 = icmp ult i8 %.pre, 26 br i1 %12, label LBL_7, label LBL_8 LBL_7: %13 = urem i64 %0, 256 %14 = add nuw nsw i64 %13, 65 store i64 %14, i64* %rax.0.reg2mem br label LBL_12 LBL_8: %15 = icmp ult i8 %.pre, 52 br i1 %15, label LBL_9, label LBL_10 LBL_9: %16 = urem i64 %0, 256 %17 = add nuw nsw i64 %16, 71 store i64 %17, i64* %rax.0.reg2mem br label LBL_12 LBL_10: %18 = icmp ult i8 %.pre, 62 store i64 0, i64* %rax.0.reg2mem br i1 %18, label LBL_11, label LBL_12 LBL_11: %19 = urem i64 %0, 256 %20 = add nuw nsw i64 %19, 4294967292 %21 = and i64 %20, 4294967295 store i64 %21, i64* %rax.0.reg2mem br label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 7, 8, 2, 3, 4, 5 } uselistorder label LBL_12, { 5, 0, 6, 7, 1, 2, 3, 4 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
CompRealVul
DestroyLocaleNode_9605
DestroyLocaleNode
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = icmp eq i64 %arg1, 0 br i1 %0, label LBL_2, label LBL_1 LBL_1: %1 = call i64 @FUNC(i64 %arg1) %2 = inttoptr i64 %arg1 to i64* store i64 %1, i64* %2, align 8 br label LBL_2 LBL_2: %3 = add i64 %arg1, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = icmp eq i64 %5, 0 br i1 %6, label LBL_4, label LBL_3 LBL_3: %7 = call i64 @FUNC(i64 %5) store i64 %7, i64* %4, align 8 br label LBL_4 LBL_4: %8 = add i64 %arg1, 16 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = icmp eq i64 %10, 0 br i1 %11, label LBL_6, label LBL_5 LBL_5: %12 = call i64 @FUNC(i64 %10) store i64 %12, i64* %9, align 8 br label LBL_6 LBL_6: %13 = call i64 @FUNC(i64 %arg1) ret i64 %13 uselistorder i64 (i64)* @DestroyString, { 2, 1, 0 } uselistorder i64 %arg1, { 2, 3, 4, 0, 1, 5 } }
0
CompRealVul
js_defaultalloc_12684
js_defaultalloc
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = trunc i64 %arg3 to i32 %1 = icmp eq i32 %0, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = inttoptr i64 %arg2 to i64* call void @free(i64* %3) store i64 0, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %4 = icmp eq i64 %arg2, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_4, label LBL_3 LBL_3: %6 = call i64* @malloc(i32 %0) %7 = ptrtoint i64* %6 to i64 store i64 %7, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %8 = inttoptr i64 %arg2 to i64* %9 = call i64* @realloc(i64* %8, i32 %0) %10 = ptrtoint i64* %9 to i64 store i64 %10, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 %arg2, { 2, 0, 1 } }
1
CompRealVul
valid_entry_name_5561
valid_entry_name
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i8 %3 = icmp eq i8 %2, 0 br i1 %3, label LBL_6, label LBL_1 LBL_1: %4 = inttoptr i64 %arg1 to i8* %5 = call i8* @strchr(i8* %4, i32 47) %6 = icmp eq i8* %5, null %7 = icmp eq i1 %6, false br i1 %7, label LBL_6, label LBL_2 LBL_2: %8 = icmp eq i8 %2, 46 %9 = icmp eq i1 %8, false store i64 1, i64* %storemerge.reg2mem br i1 %9, label LBL_7, label LBL_3 LBL_3: %10 = call i32 @strcmp(i8* %4, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0)) %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_6, label LBL_4 LBL_4: %12 = call i32 @strcmp(i8* %4, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0)) %13 = icmp eq i32 %12, 0 br i1 %13, label LBL_6, label LBL_5 LBL_5: %14 = call i32 @strcasecmp(i8* %4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0)) %15 = icmp eq i32 %14, 0 store i64 1, i64* %storemerge.reg2mem br i1 %15, label LBL_6, label LBL_7 LBL_6: store i64 0, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i32 1, { 1, 0 } uselistorder label LBL_7, { 2, 1, 0 } }
0
CompRealVul
blockingWrite_10702
blockingWrite
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.09.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = icmp eq i64 %arg3, 0 store i64 0, i64* %storemerge.reg2mem br i1 %3, label LBL_8, label LBL_1 LBL_1: %4 = trunc i64 %arg1 to i32 store i64 0, i64* %sv_0.09.reg2mem br label LBL_7 LBL_2: %5 = call i32* @__errno_location() %6 = load i32, i32* %5, align 4 %7 = icmp eq i32 %6, 4 br i1 %7, label LBL_3, label LBL_4 LBL_3: %8 = call i32 @write(i32 %4, i64* %24, i32 %25) %9 = icmp slt i32 %8, 0 %10 = icmp eq i1 %9, false store i32 %8, i32* %.lcssa.reg2mem br i1 %10, label LBL_5, label LBL_2 LBL_4: %11 = call i32* @__errno_location() %12 = load i32, i32* %11, align 4 %13 = icmp eq i32 %12, 11 br i1 %13, label LBL_3, label LBL_6 LBL_5: %.lcssa.reload = load i32, i32* %.lcssa.reg2mem %14 = sext i32 %.lcssa.reload to i64 %15 = add i64 %sv_0.09.reload, %14 %16 = icmp ult i64 %15, %arg3 store i64 %15, i64* %sv_0.09.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %16, label LBL_7, label LBL_8 LBL_6: %17 = call i32* @__errno_location() %18 = load i32, i32* %17, align 4 %19 = zext i32 %18 to i64 %20 = call i64 @FUNC(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_0, i64 0, i64 0), i64 %19, i64 %22, i64 %23, i64 %2, i64 %1) %21 = call i32 @close(i32 %4) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_8 LBL_7: %sv_0.09.reload = load i64, i64* %sv_0.09.reg2mem %22 = sub i64 %arg3, %sv_0.09.reload %23 = add i64 %sv_0.09.reload, %arg2 %24 = inttoptr i64 %23 to i64* %25 = trunc i64 %22 to i32 %26 = call i32 @write(i32 %4, i64* %24, i32 %25) %27 = icmp slt i32 %26, 0 %28 = icmp eq i1 %27, false store i32 %26, i32* %.lcssa.reg2mem br i1 %28, label LBL_5, label LBL_2 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %23, { 1, 0 } uselistorder i64 %22, { 1, 0 } uselistorder i64 %sv_0.09.reload, { 1, 0, 2 } uselistorder i32 %4, { 1, 0, 2 } uselistorder i32* %.lcssa.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i32* ()* @__errno_location, { 2, 1, 0 } uselistorder i64 %arg3, { 1, 2, 0 } uselistorder label LBL_8, { 2, 0, 1 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
CompRealVul
rose_start_heartbeat_5859
rose_start_heartbeat
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 %0) store i64 4198696, i64* %arg1, align 8 %2 = load i64, i64* @gv_0, align 8 %3 = add i64 %2, 500 %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i64* store i64 %3, i64* %5, align 8 %6 = call i64 @FUNC(i64 %0, i64 %0, i64 %3) ret i64 %6 uselistorder i64 %0, { 0, 1, 2, 4, 3 } }
0
CompRealVul
fwnode_property_match_string_18530
fwnode_property_match_string
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 %arg2, i64 0, i64 0) %2 = trunc i64 %1 to i32 %3 = icmp slt i32 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = and i64 %1, 4294967295 store i64 %5, i64* %rax.0.reg2mem br label LBL_9 LBL_2: %sext = mul i64 %1, 4294967296 %6 = ashr exact i64 %sext, 32 %7 = call i64 @FUNC(i64 %6, i64 8, i64 0) %8 = icmp eq i64 %7, 0 %9 = icmp eq i1 %8, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %9, label LBL_3, label LBL_9 LBL_3: %10 = and i64 %1, 4294967295 %11 = call i64 @FUNC(i64 %0, i64 %arg2, i64 %7, i64 %10) %12 = trunc i64 %11 to i32 %13 = icmp slt i32 %12, 0 store i64 %11, i64* %sv_0.0.reg2mem br i1 %13, label LBL_8, label LBL_4 LBL_4: %14 = icmp sgt i32 %2, 0 store i64 4294967235, i64* %sv_0.0.reg2mem br i1 %14, label LBL_5, label LBL_8 LBL_5: %15 = inttoptr i64 %arg3 to i8* store i64 0, i64* %indvars.iv.reg2mem br label LBL_6 LBL_6: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %16 = mul i64 %indvars.iv.reload, 8 %17 = add i64 %16, %7 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = inttoptr i64 %19 to i8* %21 = call i32 @strcmp(i8* %20, i8* %15) %22 = icmp eq i32 %21, 0 %23 = icmp eq i1 %22, false store i64 %indvars.iv.reload, i64* %sv_0.0.reg2mem br i1 %23, label LBL_7, label LBL_8 LBL_7: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %24 = icmp slt i64 %indvars.iv.next, %6 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 4294967235, i64* %sv_0.0.reg2mem br i1 %24, label LBL_6, label LBL_8 LBL_8: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %25 = call i64 @FUNC(i64 %7) %26 = and i64 %sv_0.0.reload, 4294967295 store i64 %26, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %indvars.iv.reload, { 1, 0, 2 } uselistorder i64 %7, { 1, 0, 2, 3 } uselistorder i64 %1, { 1, 0, 2, 3 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i32 0, { 1, 0, 2, 3 } uselistorder i64 (i64, i64, i64, i64)* @fwnode_property_read_string_array, { 1, 0 } uselistorder label LBL_9, { 1, 0, 2 } uselistorder label LBL_6, { 1, 0 } }
1
CompRealVul
gen_rsr_ccount_2083
gen_rsr_ccount
define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = and i64 %1, 4294967295 %3 = call i64 @FUNC(i64 %2) %4 = urem i64 %3, 2 %5 = icmp eq i64 %4, 0 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC() br label LBL_2 LBL_2: %7 = and i64 %arg2, 4294967295 %8 = load i64, i64* @gv_0, align 8 %9 = call i64 @FUNC(i64 %8) %10 = mul i64 %arg3, 4 %11 = and i64 %10, 17179869180 %12 = add i64 %11, ptrtoint (i32** @gv_1 to i64) %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = zext i32 %14 to i64 %16 = call i64 @FUNC(i64 %7, i64 %15) %17 = call i64 @FUNC(i64 %2) %18 = urem i64 %17, 2 %19 = icmp eq i64 %18, 0 store i64 0, i64* %storemerge.reg2mem br i1 %19, label LBL_4, label LBL_3 LBL_3: %20 = call i64 @FUNC() store i64 1, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %2, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @tb_cflags, { 1, 0 } uselistorder i64 4294967295, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
CompRealVul
print_chain_of_logicals_4581
print_chain_of_logicals
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge1.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = ptrtoint i64* %sv_0 to i64 %2 = call i64 @FUNC(i64 %0) %3 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %4 = call i32 @fputc(i32 10, %_IO_FILE* %3) %5 = inttoptr i64 %2 to i64* %6 = add i64 %1, -8 %7 = inttoptr i64 %6 to i64* %8 = add i64 %1, -16 %9 = inttoptr i64 %8 to i64* %10 = add i64 %1, -24 %11 = inttoptr i64 %10 to i64* %12 = add i64 %1, -32 %13 = inttoptr i64 %12 to i64* store i64 4, i64* %storemerge1.reg2mem br label LBL_1 LBL_1: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %14 = call i64 @FUNC(i64 %0, i64 %storemerge1.reload) %15 = icmp eq i64 %14, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_3, label LBL_2 LBL_2: call void @__assert_fail(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_2, i64 0, i64 0), i32 54, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_3, i64 0, i64 0)) br label LBL_3 LBL_3: %17 = add i64 %14, 16 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = call i64 @FUNC(i64 %19) %21 = load i64, i64* %5, align 8 %22 = load i64, i64* %18, align 8 %23 = call i64 @FUNC(i64 %22) %24 = add i64 %23, %21 %25 = load i64, i64* %18, align 8 %26 = call i64 @FUNC(i64 %25) %27 = add i64 %14, 8 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = call i64 @FUNC(i64 %29) %31 = call i64 @FUNC(i64 %14) %32 = load i64, i64* %28, align 8 %33 = call i64 @FUNC(i64 %32) %34 = inttoptr i64 %14 to i64* %35 = load i64, i64* %34, align 8 %36 = load %_IO_FILE*, %_IO_FILE** @gv_4, align 8 %37 = ptrtoint %_IO_FILE* %36 to i64 store i64 %20, i64* %7, align 8 store i64 %24, i64* %9, align 8 store i64 %26, i64* %11, align 8 store i64 %30, i64* %13, align 8 %38 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %36, i8* getelementptr inbounds ([98 x i8], [98 x i8]* @gv_5, i64 0, i64 0), i64 %storemerge1.reload, i64 %35, i64 %33, i64 %31) %39 = add nuw i64 %storemerge1.reload, 1 %40 = icmp ult i64 %39, %37 store i64 %39, i64* %storemerge1.reg2mem br i1 %40, label LBL_1, label LBL_4 LBL_4: ret i64 %37 uselistorder i64* %18, { 1, 0, 2 } uselistorder i64 %14, { 0, 2, 1, 3, 4 } uselistorder i64* %storemerge1.reg2mem, { 1, 0, 2 } uselistorder i64 (i64)* @dos_partition_get_start, { 2, 1, 0 } uselistorder i64 (i64)* @dos_partition_get_size, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
CompRealVul
iscsit_release_discovery_tpg_18119
iscsit_release_discovery_tpg
define i64 @FUNC() local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = load i64, i64* @gv_0, align 8 %1 = inttoptr i64 %0 to i64* %2 = load i64, i64* %1, align 8 %3 = icmp eq i64 %2, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %2) %5 = call i64 @FUNC(i64 %2) %6 = load i64, i64* @gv_0, align 8 %7 = inttoptr i64 %6 to i64* store i64 0, i64* %7, align 8 store i64 %6, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %2, { 1, 0, 2 } uselistorder i32 1, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
__qeth_l3_set_online_7545
__qeth_l3_set_online
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %.reg2mem = alloca i64 %sv_1 = alloca i64, align 8 %0 = call i64* @malloc(i32 112) %1 = ptrtoint i64* %0 to i64 store i64 %1, i64* %sv_1, align 8 %2 = add i64 %1, 16 %3 = call i64 @FUNC(i64 %2) %4 = load i64, i64* %sv_1, align 8 %5 = add i64 %4, 56 %6 = call i64 @FUNC(i64 %5) %7 = call i32 @puts(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0)) %8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_1) %9 = load i64, i64* %sv_1, align 8 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = call i64 @FUNC(i64 %9) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 br i1 %14, label LBL_2, label LBL_1 LBL_1: %15 = and i64 %12, 4294967295 %16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0), i64 %15) store i64 4294967277, i64* %sv_0.0.reg2mem br label LBL_31 LBL_2: %17 = load i64, i64* %sv_1, align 8 %18 = add i64 %17, 96 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = icmp eq i64 %20, 0 %22 = icmp eq i1 %21, false store i64 %17, i64* %.reg2mem br i1 %22, label LBL_5, label LBL_3 LBL_3: %23 = call i64 @FUNC(i64 %17) %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, 0 store i64 4294967277, i64* %sv_0.0.reg2mem br i1 %25, label LBL_3.LBL_5_crit_edge, label LBL_31 LBL_4: %.pre = load i64, i64* %sv_1, align 8 store i64 %.pre, i64* %.reg2mem br label LBL_5 LBL_5: %.reload = load i64, i64* %.reg2mem %26 = call i64 @FUNC(i64 %.reload, i64 0) %27 = trunc i64 %26 to i32 %28 = icmp eq i32 %27, 0 %29 = load i64, i64* %sv_1, align 8 %30 = add i64 %29, 8 %31 = inttoptr i64 %30 to i32* br i1 %28, label LBL_9, label LBL_6 LBL_6: %32 = load i32, i32* %31, align 4 %33 = icmp eq i32 %32, 0 br i1 %33, label LBL_10, label LBL_7 LBL_7: %34 = call i64 @FUNC(i64 %29, i64 1) %35 = trunc i64 %34 to i32 %36 = icmp eq i32 %35, 0 br i1 %36, label LBL_10, label LBL_8 LBL_8: %37 = load i64, i64* %sv_1, align 8 %38 = add i64 %37, 8 %39 = inttoptr i64 %38 to i32* store i32 0, i32* %39, align 4 br label LBL_10 LBL_9: store i32 0, i32* %31, align 4 br label LBL_10 LBL_10: %40 = load i64, i64* %sv_1, align 8 %41 = inttoptr i64 %40 to i32* store i32 0, i32* %41, align 4 %42 = load i64, i64* %sv_1, align 8 %43 = add i64 %42, 104 %44 = inttoptr i64 %43 to i64* %45 = call i64* @memset(i64* %44, i32 0, i32 4) %46 = load i64, i64* %sv_1, align 8 %47 = call i64 @FUNC(i64 %46) %48 = call i32 @puts(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_3, i64 0, i64 0)) %49 = load i64, i64* %sv_1, align 8 %50 = call i64 @FUNC(i64 %49) %51 = trunc i64 %50 to i32 %52 = icmp eq i32 %51, 0 br i1 %52, label LBL_13, label LBL_11 LBL_11: %53 = and i64 %50, 4294967295 %54 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_4, i64 0, i64 0), i64 %53) %55 = icmp eq i32 %51, 57472 %56 = icmp eq i1 %55, false store i64 4294967277, i64* %sv_0.0.reg2mem br i1 %56, label LBL_31, label LBL_12 LBL_12: %57 = call i32 @puts(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_5, i64 0, i64 0)) %58 = load i64, i64* %sv_1, align 8 %59 = add i64 %58, 4 %60 = inttoptr i64 %59 to i32* store i32 0, i32* %60, align 4 br label LBL_14 LBL_13: %61 = load i64, i64* %sv_1, align 8 %62 = add i64 %61, 4 %63 = inttoptr i64 %62 to i32* store i32 1, i32* %63, align 4 br label LBL_14 LBL_14: %64 = load i64, i64* %sv_1, align 8 %65 = call i64 @FUNC(i64 %64) %66 = trunc i64 %65 to i32 %67 = icmp eq i32 %66, 0 br i1 %67, label LBL_16, label LBL_15 LBL_15: %68 = and i64 %65, 4294967295 %69 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0), i64 %68) br label LBL_16 LBL_16: %70 = load i64, i64* %sv_1, align 8 %71 = add i64 %70, 12 %72 = inttoptr i64 %71 to i32* %73 = load i32, i32* %72, align 4 %74 = icmp eq i32 %73, 0 %75 = icmp eq i1 %74, false br i1 %75, label LBL_23, label LBL_17 LBL_17: %76 = call i64 @FUNC(i64 %70) %77 = trunc i64 %76 to i32 %78 = icmp eq i32 %77, 0 br i1 %78, label LBL_19, label LBL_18 LBL_18: %79 = and i64 %76, 4294967295 %80 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_6, i64 0, i64 0), i64 %79) store i64 %79, i64* %sv_0.0.reg2mem br label LBL_31 LBL_19: %81 = load i64, i64* %sv_1, align 8 %82 = call i64 @FUNC(i64 %81) %83 = trunc i64 %82 to i32 %84 = icmp eq i32 %83, 0 br i1 %84, label LBL_21, label LBL_20 LBL_20: %85 = and i64 %82, 4294967295 %86 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_7, i64 0, i64 0), i64 %85) br label LBL_21 LBL_21: %87 = load i64, i64* %sv_1, align 8 %88 = call i64 @FUNC(i64 %87) %89 = trunc i64 %88 to i32 %90 = icmp eq i32 %89, 0 br i1 %90, label LBL_23, label LBL_22 LBL_22: %91 = and i64 %88, 4294967295 %92 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_8, i64 0, i64 0), i64 %91) br label LBL_23 LBL_23: %93 = load i64, i64* %sv_1, align 8 %94 = call i64 @FUNC(i64 %93) %95 = trunc i64 %94 to i32 %96 = icmp eq i32 %95, 0 br i1 %96, label LBL_25, label LBL_24 LBL_24: %97 = and i64 %94, 4294967295 %98 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_9, i64 0, i64 0), i64 %97) store i64 4294967277, i64* %sv_0.0.reg2mem br label LBL_31 LBL_25: %99 = load i64, i64* %sv_1, align 8 %100 = inttoptr i64 %99 to i32* store i32 1, i32* %100, align 4 %101 = load i64, i64* %sv_1, align 8 %102 = call i64 @FUNC(i64 %101, i64 4294967295, i64 0) %103 = load i64, i64* %sv_1, align 8 %104 = call i64 @FUNC(i64 %103) %105 = icmp eq i32 %11, 2 %106 = icmp eq i1 %105, false br i1 %106, label LBL_30, label LBL_26 LBL_26: %107 = trunc i64 %arg2 to i32 %108 = icmp eq i32 %107, 0 %109 = load i64, i64* %sv_1, align 8 %110 = add i64 %109, 96 %111 = inttoptr i64 %110 to i64* %112 = load i64, i64* %111, align 8 br i1 %108, label LBL_28, label LBL_27 LBL_27: %113 = call i64 @FUNC(i64 %112) br label LBL_29 LBL_28: %114 = call i64 @FUNC(i64 %112) br label LBL_29 LBL_29: %115 = load i64, i64* %sv_1, align 8 %116 = add i64 %115, 96 %117 = inttoptr i64 %116 to i64* %118 = load i64, i64* %117, align 8 %119 = call i64 @FUNC(i64 %118) br label LBL_30 LBL_30: %120 = ptrtoint i64* %arg1 to i64 %121 = load i64, i64* %sv_1, align 8 %122 = call i64 @FUNC(i64 %121) %123 = call i64 @FUNC(i64 %120, i64 0) %124 = load i64, i64* %sv_1, align 8 %125 = add i64 %124, 56 %126 = call i64 @FUNC(i64 %125) %127 = load i64, i64* %sv_1, align 8 %128 = add i64 %127, 16 %129 = call i64 @FUNC(i64 %128) store i64 0, i64* %storemerge.reg2mem br label LBL_32 LBL_31: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %130 = load i64, i64* %sv_1, align 8 %131 = call i64 @FUNC(i64 %130, i64 0) %132 = icmp eq i32 %11, 2 %133 = icmp eq i1 %132, false %134 = load i64, i64* %sv_1, align 8 %135 = inttoptr i64 %134 to i32* %. = select i1 %133, i32 3, i32 2 store i32 %., i32* %135, align 4 %136 = load i64, i64* %sv_1, align 8 %137 = add i64 %136, 56 %138 = call i64 @FUNC(i64 %137) %139 = load i64, i64* %sv_1, align 8 %140 = add i64 %139, 16 %141 = call i64 @FUNC(i64 %140) store i64 %sv_0.0.reload, i64* %storemerge.reg2mem br label LBL_32 LBL_32: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %112, { 1, 0 } uselistorder i32* %31, { 1, 0 } uselistorder i64 %17, { 1, 0, 2 } uselistorder i64* %sv_1, { 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 26, 25, 0, 27, 28, 1, 29, 30 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 5, 4, 1, 2, 3 } uselistorder i64 (i64)* @mutex_unlock, { 3, 2, 1, 0 } uselistorder i32 2, { 0, 2, 1 } uselistorder i64 8, { 1, 0 } uselistorder i64 4294967277, { 3, 0, 1, 2 } uselistorder i64 4294967295, { 7, 0, 1, 2, 3, 4, 5, 6 } uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 15, 16, 17 } uselistorder i32 (i8*, ...)* @printf, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i32 (i8*)* @puts, { 2, 1, 0 } uselistorder i64 (i64)* @mutex_lock, { 1, 0 } uselistorder label LBL_31, { 2, 3, 0, 1, 4 } }
1
CompRealVul
put_old_guest_table_12099
put_old_guest_table
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false store i64 0, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_3 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %3 to i32 %5 = add i32 %4, 5 %6 = icmp ult i32 %5, 2 store i64 4294967291, i64* %rax.0.reg2mem br i1 %6, label LBL_3, label LBL_2 LBL_2: store i64 0, i64* %arg1, align 8 %7 = and i64 %3, 4294967295 store i64 %7, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 0, { 3, 0, 1, 2 } uselistorder i64* %arg1, { 0, 2, 1 } uselistorder label LBL_3, { 2, 0, 1 } }
1
CompRealVul
in_asm_used_var_warning_killer_2851
in_asm_used_var_warning_killer
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %1 = load i32, i32* @gv_1, align 4 %2 = add i32 %1, %0 %3 = load i32, i32* @gv_2, align 4 %4 = add i32 %2, %3 %5 = load i32, i32* @gv_3, align 4 %6 = add i32 %4, %5 %7 = load i32, i32* @gv_4, align 4 %8 = add i32 %6, %7 %9 = load i32, i32* @gv_5, align 4 %10 = add i32 %8, %9 %11 = load i32, i32* @gv_6, align 4 %12 = add i32 %10, %11 %13 = load i32, i32* @gv_7, align 4 %14 = add i32 %12, %13 %15 = load i32, i32* @gv_8, align 4 %16 = add i32 %14, %15 %17 = load i32, i32* @gv_9, align 4 %18 = add i32 %16, %17 %19 = load i32, i32* @gv_10, align 4 %20 = add i32 %18, %19 %21 = load i32, i32* @gv_11, align 4 %22 = add i32 %20, %21 %23 = load i32, i32* @gv_12, align 4 %24 = add i32 %22, %23 %25 = load i32, i32* @gv_13, align 4 %26 = add i32 %24, %25 %27 = load i32, i32* @gv_14, align 4 %28 = add i32 %26, %27 %29 = load i32, i32* @gv_15, align 4 %30 = add i32 %28, %29 %31 = load i32, i32* @gv_16, align 4 %32 = add i32 %30, %31 %33 = load i32, i32* @gv_17, align 4 %34 = add i32 %32, %33 %35 = load i32, i32* @gv_18, align 4 %36 = add i32 %34, %35 %37 = load i32, i32* @gv_19, align 4 %38 = add i32 %36, %37 %39 = load i32, i32* @gv_20, align 4 %40 = add i32 %38, %39 %41 = load i32, i32* @gv_21, align 4 %42 = add i32 %40, %41 %43 = load i32, i32* @gv_22, align 4 %44 = add i32 %42, %43 %45 = load i32, i32* @gv_23, align 4 %46 = add i32 %44, %45 %47 = load i32, i32* @gv_24, align 4 %48 = add i32 %46, %47 %49 = load i32, i32* @gv_25, align 4 %50 = add i32 %48, %49 %51 = load i32, i32* @gv_26, align 4 %52 = add i32 %50, %51 %53 = load i32, i32* @gv_27, align 4 %54 = add i32 %52, %53 %55 = load i32, i32* @gv_28, align 4 %56 = add i32 %54, %55 %57 = load i32, i32* @gv_29, align 4 %58 = add i32 %56, %57 %59 = load i32, i32* @gv_30, align 4 %60 = add i32 %58, %59 %61 = zext i32 %60 to i64 ret i64 %61 }
0
CompRealVul
simple_number_18643
simple_number
define i64 @FUNC() local_unnamed_addr { LBL_0: %.lcssa.reg2mem = alloca i64 %storemerge1.reg2mem = alloca i32 %.reg2mem7 = alloca i64 %.reg2mem5 = alloca i64* %.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %0 = ptrtoint i64* %sv_1 to i64 %1 = bitcast i64* %sv_0 to i8* call void @FUNC(i8* nonnull %1, i64 0, i64 18) store i64 ptrtoint (i64* @gv_0 to i64), i64* %sv_0, align 8 %2 = add i64 %0, -16 %3 = add i64 %0, -192 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false store i64 %5, i64* %.reg2mem store i64* %4, i64** %.reg2mem5 store i64 %2, i64* %.reg2mem7 store i32 0, i32* %storemerge1.reg2mem store i64 %5, i64* %.lcssa.reg2mem br i1 %7, label LBL_1, label LBL_4 LBL_1: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem %.reload8 = load i64, i64* %.reg2mem7 %.reload = load i64, i64* %.reg2mem %8 = call i64 @FUNC(i64 %.reload, i64 0) %9 = call i64 @FUNC(i64 %8) %10 = and i64 %9, 4294967295 %11 = call i64 @FUNC(i64 %10) %12 = call i64 @FUNC(i64 %9) %13 = add i64 %.reload8, -168 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = icmp eq i64 %12, %15 %17 = zext i1 %16 to i64 %18 = call i64 @FUNC(i64 %17) %19 = add i64 %.reload8, -160 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 8 %22 = icmp eq i32 %21, 0 %23 = icmp eq i1 %22, false br i1 %23, label LBL_3, label LBL_2 LBL_2: %.reload6 = load i64*, i64** %.reg2mem5 %24 = call i64 @FUNC(i64 %9) %25 = load i64, i64* %.reload6, align 8 %26 = call i64 @FUNC(i64 %24) %27 = inttoptr i64 %26 to i8* %28 = inttoptr i64 %25 to i8* %29 = call i32 @strcmp(i8* %27, i8* %28) %30 = icmp eq i32 %29, 0 %31 = zext i1 %30 to i64 %32 = call i64 @FUNC(i64 %31) %33 = call i64 @FUNC(i64 %24) br label LBL_3 LBL_3: %34 = call i64 @FUNC(i64 %9) %35 = add i32 %storemerge1.reload, 1 %36 = sext i32 %35 to i64 %37 = mul nsw i64 %36, 24 %38 = add i64 %37, %2 %39 = add i64 %38, -176 %40 = inttoptr i64 %39 to i64* %41 = load i64, i64* %40, align 8 %42 = icmp eq i64 %41, 0 %43 = icmp eq i1 %42, false store i64 %41, i64* %.reg2mem store i64* %40, i64** %.reg2mem5 store i64 %38, i64* %.reg2mem7 store i32 %35, i32* %storemerge1.reg2mem store i64 %41, i64* %.lcssa.reg2mem br i1 %43, label LBL_1, label LBL_4 LBL_4: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem ret i64 %.lcssa.reload uselistorder i64 %9, { 1, 0, 3, 2 } uselistorder i64 %2, { 1, 0 } uselistorder i64* %sv_0, { 1, 0 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64** %.reg2mem5, { 2, 0, 1 } uselistorder i64* %.reg2mem7, { 2, 0, 1 } uselistorder i32* %storemerge1.reg2mem, { 2, 0, 1 } uselistorder i64 (i64)* @QDECREF, { 1, 0 } uselistorder i64 (i64)* @g_assert, { 2, 1, 0 } uselistorder i32 0, { 1, 2, 0 } uselistorder i1 false, { 2, 1, 0 } uselistorder i32 1, { 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
CompRealVul
smp_send_pair_fail_9961
smp_send_pair_fail
define i64 @FUNC(i64* %arg1, i8* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rdi = alloca i64, align 8 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %5 = trunc i64 %3 to i8 %6 = bitcast i64* %arg1 to i8* store i8 %5, i8* %6, align 1 %7 = add i64 %4, 1 %8 = inttoptr i64 %7 to i8* store i8 %5, i8* %8, align 1 %9 = bitcast i64* %rdi to i8* %10 = load i8, i8* %9, align 8 %11 = urem i64 %3, 256 %12 = zext i8 %10 to i64 %13 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64 %12, i64 %11, i64 %2, i64 %1) %14 = icmp ult i8 %10, 16 store i64 %12, i64* %rax.0.reg2mem br i1 %14, label LBL_1, label LBL_3 LBL_1: %15 = icmp eq i8 %10, 0 store i64 0, i64* %rax.0.reg2mem br i1 %15, label LBL_3, label LBL_2 LBL_2: %16 = call i64 @FUNC(i64 1, i64 %4) %17 = add i64 %4, 2 %18 = inttoptr i64 %17 to i8* store i8 1, i8* %18, align 1 store i64 %4, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8 %5, { 1, 0 } uselistorder i64 %4, { 0, 2, 1, 3 } uselistorder i64 %3, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder label LBL_3, { 1, 2, 0 } }
0
CompRealVul
ccid_handle_bulk_out_55
ccid_handle_bulk_out
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rdi = alloca i64, align 8 %rsi = alloca i64, align 8 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %5 = trunc i64 %3 to i32 %6 = add i64 %4, 1024 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = add i32 %8, %5 %10 = icmp slt i32 %9, 1025 store i64 4294967295, i64* %rax.0.reg2mem br i1 %10, label LBL_1, label LBL_17 LBL_1: %11 = bitcast i64* %rsi to i32* %12 = ptrtoint i64* %arg2 to i64 %13 = add i64 %12, 4 %14 = sext i32 %8 to i64 %15 = add i64 %14, %4 %16 = inttoptr i64 %15 to i64* %17 = inttoptr i64 %13 to i64* %18 = call i64* @memcpy(i64* %16, i64* %17, i32 %5) %19 = load i32, i32* %7, align 4 %20 = add i32 %19, %5 store i32 %20, i32* %7, align 4 %21 = load i32, i32* %11, align 8 %22 = icmp eq i32 %21, 64 %23 = icmp eq i1 %22, false br i1 %23, label LBL_3, label LBL_2 LBL_2: %24 = bitcast i64* %rdi to i32* %25 = load i32, i32* %24, align 8 %26 = zext i32 %25 to i64 %27 = zext i32 %21 to i64 %28 = call i64 @FUNC(i64 %4, i64 1, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_0, i64 0, i64 0), i64 %27, i64 %26, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_17 LBL_3: %29 = icmp sgt i32 %20, 9 br i1 %29, label LBL_5, label LBL_4 LBL_4: %30 = call i64 @FUNC(i64 %4, i64 1, i8* getelementptr inbounds ([59 x i8], [59 x i8]* @gv_1, i64 0, i64 0), i64 ptrtoint ([21 x i8]* @gv_2 to i64), i64 %2, i64 %1) br label LBL_16 LBL_5: %31 = add i64 %4, 4 %32 = inttoptr i64 %31 to i32* %33 = load i32, i32* %32, align 4 %34 = zext i32 %33 to i64 %35 = call i64 @FUNC(i64 %4, i64 2, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0), i64 ptrtoint ([21 x i8]* @gv_2 to i64), i64 %34, i64 %1) store i64 %4, i64* @0, align 8 switch i64 %4, label LBL_15 [ i64 0, label LBL_6 i64 1, label LBL_7 i64 2, label LBL_10 i64 3, label LBL_11 i64 4, label LBL_12 i64 5, label LBL_13 i64 6, label LBL_14 ] LBL_6: %36 = call i64 @FUNC(i64 0, i64 0) br label LBL_16 LBL_7: %37 = bitcast i64* %rdi to i32* %38 = load i32, i32* %37, align 8 %39 = zext i32 %38 to i64 %40 = call i64 @FUNC(i64 1, i64 1, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_4, i64 0, i64 0), i64 %39, i64 %34, i64 %1) store i8 1, i8* inttoptr (i64 1029 to i8*), align 1 %41 = call i64 @FUNC(i64 1) %42 = trunc i64 %41 to i8 %43 = icmp eq i8 %42, 1 br i1 %43, label LBL_9, label LBL_8 LBL_8: %44 = call i64 @FUNC(i64 1, i64 1) br label LBL_9 LBL_9: %45 = call i64 @FUNC(i64 1, i64 1) br label LBL_16 LBL_10: %46 = call i64 @FUNC(i64 2, i64 1, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_5, i64 0, i64 0), i64 ptrtoint ([21 x i8]* @gv_2 to i64), i64 %34, i64 %1) %47 = call i64 @FUNC(i64 2) store i8 0, i8* inttoptr (i64 1030 to i8*), align 2 %48 = call i64 @FUNC(i64 2, i64 2) br label LBL_16 LBL_11: %49 = call i64 @FUNC(i64 3, i64 3) br label LBL_16 LBL_12: %50 = call i64 @FUNC(i64 4) %51 = call i64 @FUNC(i64 4, i64 4) %52 = call i64 @FUNC(i64 4, i64 4) br label LBL_16 LBL_13: %53 = call i64 @FUNC(i64 5) %54 = call i64 @FUNC(i64 5) %55 = call i64 @FUNC(i64 5, i64 5) br label LBL_16 LBL_14: %56 = call i64 @FUNC(i64 6) %57 = call i64 @FUNC(i64 6, i64 6) br label LBL_16 LBL_15: %58 = load i32, i32* %32, align 4 %59 = zext i32 %58 to i64 %60 = call i64 @FUNC(i64 %4, i64 1, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_6, i64 0, i64 0), i64 %59, i64 %34, i64 %1) %61 = call i64 @FUNC(i64 %4, i64 2) %62 = call i64 @FUNC(i64 %4, i64 %4) br label LBL_16 LBL_16: store i32 0, i32* %7, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_17 LBL_17: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %34, { 2, 1, 0, 3 } uselistorder i32 %8, { 1, 0 } uselistorder i32* %7, { 0, 2, 1, 3 } uselistorder i32 %5, { 0, 2, 1 } uselistorder i64 %4, { 4, 3, 5, 6, 1, 7, 9, 8, 10, 2, 0, 11 } uselistorder i64* %rdi, { 1, 0 } uselistorder i64 %1, { 5, 4, 3, 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64, i64)* @ccid_write_parameters, { 2, 1, 0 } uselistorder i64 (i64)* @ccid_reset_error_status, { 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @ccid_write_slot_status, { 0, 2, 1 } uselistorder i64 6, { 1, 2, 0, 3 } uselistorder i64 5, { 2, 3, 1, 0, 4 } uselistorder i64 3, { 1, 0, 2 } uselistorder i64 2, { 4, 2, 3, 1, 0, 6, 5 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @DPRINTF, { 3, 5, 4, 2, 1, 0 } uselistorder i64 1, { 6, 7, 3, 4, 8, 5, 2, 9, 1, 12, 10, 11, 0 } uselistorder i64 4, { 1, 4, 2, 3, 0, 5, 6, 7 } uselistorder label LBL_17, { 1, 2, 0 } uselistorder label LBL_16, { 7, 0, 1, 2, 3, 4, 5, 6, 8 } }
1
CompRealVul
ff_mpeg4_set_one_direct_mv_16071
ff_mpeg4_set_one_direct_mv
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge18.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %storemerge23.reg2mem = alloca i64 %storemerge19.reg2mem = alloca i16 %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 32 %sext7 = mul i64 %arg4, 4294967296 %2 = ashr exact i64 %sext7, 30 %3 = add i64 %2, %0 %4 = add i64 %3, 64 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = add i64 %0, 192 %8 = inttoptr i64 %7 to i16* %9 = load i16, i16* %8, align 2 %10 = sext i16 %9 to i32 %11 = add i64 %0, 194 %12 = inttoptr i64 %11 to i16* %13 = load i16, i16* %12, align 2 %14 = sext i16 %13 to i32 %15 = sext i32 %6 to i64 %16 = mul i64 %15, 4 %17 = add i64 %16, %0 %18 = add i64 %17, 128 %19 = inttoptr i64 %18 to i16* %20 = load i16, i16* %19, align 2 %21 = zext i16 %20 to i32 %22 = add nuw nsw i32 %21, 8 %23 = load i32, i32* inttoptr (i64 4202516 to i32*), align 4 %24 = icmp ult i32 %22, %23 %25 = icmp eq i1 %24, false br i1 %25, label LBL_5, label LBL_1 LBL_1: %26 = mul i32 %22, 2 %27 = zext i32 %26 to i64 %28 = add i64 %27, %0 %29 = inttoptr i64 %28 to i16* %30 = load i16, i16* %29, align 2 %31 = trunc i64 %1 to i16 %32 = add i16 %30, %31 %33 = add i64 %3, 196 %34 = inttoptr i64 %33 to i16* store i16 %32, i16* %34, align 2 %35 = trunc i64 %1 to i32 %36 = icmp eq i32 %35, 0 br i1 %36, label LBL_3, label LBL_2 LBL_2: %37 = sub i16 %32, %20 store i16 %37, i16* %storemerge19.reg2mem br label LBL_4 LBL_3: %38 = mul i32 %21, 2 %narrow24 = add nuw nsw i32 %38, 48 %39 = zext i32 %narrow24 to i64 %40 = add i64 %39, %0 %41 = inttoptr i64 %40 to i16* %42 = load i16, i16* %41, align 2 store i16 %42, i16* %storemerge19.reg2mem br label LBL_4 LBL_4: %storemerge19.reload = load i16, i16* %storemerge19.reg2mem %43 = add i64 %3, 260 %44 = inttoptr i64 %43 to i16* store i16 %storemerge19.reload, i16* %44, align 2 br label LBL_9 LBL_5: %45 = urem i32 %14, 65536 %46 = mul nuw i32 %45, %21 %47 = ashr i32 %46, 31 %48 = urem i32 %10, 65536 %49 = zext i32 %46 to i64 %50 = zext i32 %47 to i64 %51 = mul i64 %50, 4294967296 %52 = or i64 %51, %49 %53 = zext i32 %48 to i64 %54 = sdiv i64 %52, %53 %55 = trunc i64 %54 to i16 %56 = trunc i64 %1 to i16 %57 = add i16 %55, %56 %58 = add i64 %3, 196 %59 = inttoptr i64 %58 to i16* store i16 %57, i16* %59, align 2 %60 = trunc i64 %1 to i32 %61 = icmp eq i32 %60, 0 br i1 %61, label LBL_7, label LBL_6 LBL_6: %62 = zext i16 %57 to i32 %63 = sub nsw i32 %62, %21 %64 = zext i32 %63 to i64 store i64 %64, i64* %storemerge23.reg2mem br label LBL_8 LBL_7: %65 = sub nsw i32 %45, %48 %66 = mul i32 %65, %21 %67 = ashr i32 %66, 31 %68 = zext i32 %66 to i64 %69 = zext i32 %67 to i64 %70 = mul i64 %69, 4294967296 %71 = or i64 %70, %68 %72 = sdiv i64 %71, %53 %73 = and i64 %72, 4294967295 store i64 %73, i64* %storemerge23.reg2mem br label LBL_8 LBL_8: %storemerge23.reload = load i64, i64* %storemerge23.reg2mem %74 = trunc i64 %storemerge23.reload to i16 %75 = add i64 %3, 260 %76 = inttoptr i64 %75 to i16* store i16 %74, i16* %76, align 2 br label LBL_9 LBL_9: %sext6 = mul i64 %arg3, 4294967296 %77 = ashr exact i64 %sext6, 32 %78 = add i64 %17, 130 %79 = inttoptr i64 %78 to i16* %80 = load i16, i16* %79, align 2 %81 = zext i16 %80 to i32 %82 = icmp ult i16 %80, 8 %83 = icmp eq i1 %82, false br i1 %83, label LBL_14, label LBL_10 LBL_10: %84 = mul i32 %81, 2 %85 = add nuw nsw i32 %84, 16 %86 = zext i32 %85 to i64 %87 = add i64 %86, %0 %88 = inttoptr i64 %87 to i16* %89 = load i16, i16* %88, align 2 %90 = trunc i64 %77 to i16 %91 = add i16 %89, %90 %92 = add i64 %3, 198 %93 = inttoptr i64 %92 to i16* store i16 %91, i16* %93, align 2 %94 = trunc i64 %77 to i32 %95 = icmp eq i32 %94, 0 br i1 %95, label LBL_12, label LBL_11 LBL_11: %96 = zext i16 %91 to i32 %97 = sub nsw i32 %96, %81 %98 = zext i32 %97 to i64 store i64 %98, i64* %storemerge.reg2mem br label LBL_13 LBL_12: %narrow = add nuw nsw i32 %84, 48 %99 = zext i32 %narrow to i64 %100 = add i64 %99, %0 %101 = inttoptr i64 %100 to i16* %102 = load i16, i16* %101, align 2 %103 = zext i16 %102 to i64 store i64 %103, i64* %storemerge.reg2mem br label LBL_13 LBL_13: %storemerge.reload = load i64, i64* %storemerge.reg2mem %104 = trunc i64 %storemerge.reload to i16 %105 = add i64 %3, 262 %106 = inttoptr i64 %105 to i16* store i16 %104, i16* %106, align 2 store i64 %storemerge.reload, i64* %rax.0.reg2mem br label LBL_18 LBL_14: %107 = urem i32 %14, 65536 %108 = mul nuw i32 %107, %81 %109 = ashr i32 %108, 31 %110 = urem i32 %10, 65536 %111 = zext i32 %108 to i64 %112 = zext i32 %109 to i64 %113 = mul i64 %112, 4294967296 %114 = or i64 %113, %111 %115 = zext i32 %110 to i64 %116 = sdiv i64 %114, %115 %117 = trunc i64 %116 to i16 %118 = trunc i64 %77 to i16 %119 = add i16 %117, %118 %120 = add i64 %3, 198 %121 = inttoptr i64 %120 to i16* store i16 %119, i16* %121, align 2 %122 = trunc i64 %77 to i32 %123 = icmp eq i32 %122, 0 br i1 %123, label LBL_16, label LBL_15 LBL_15: %124 = zext i16 %119 to i32 %125 = sub nsw i32 %124, %81 %126 = zext i32 %125 to i64 store i64 %126, i64* %storemerge18.reg2mem br label LBL_17 LBL_16: %127 = sub nsw i32 %107, %110 %128 = mul i32 %127, %81 %129 = ashr i32 %128, 31 %130 = zext i32 %128 to i64 %131 = zext i32 %129 to i64 %132 = mul i64 %131, 4294967296 %133 = or i64 %132, %130 %134 = sdiv i64 %133, %115 %135 = and i64 %134, 4294967295 store i64 %135, i64* %storemerge18.reg2mem br label LBL_17 LBL_17: %storemerge18.reload = load i64, i64* %storemerge18.reg2mem %136 = trunc i64 %storemerge18.reload to i16 %137 = add i64 %3, 262 %138 = inttoptr i64 %137 to i16* store i16 %136, i16* %138, align 2 store i64 %0, i64* %rax.0.reg2mem br label LBL_18 LBL_18: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %110, { 1, 0 } uselistorder i32 %84, { 1, 0 } uselistorder i32 %81, { 1, 4, 2, 3, 0 } uselistorder i64 %77, { 2, 3, 0, 1 } uselistorder i32 %48, { 1, 0 } uselistorder i32 %45, { 1, 0 } uselistorder i32 %21, { 1, 2, 3, 0, 4 } uselistorder i64 %3, { 0, 1, 2, 3, 5, 4, 7, 6, 8 } uselistorder i64 %1, { 2, 3, 0, 1 } uselistorder i64 %0, { 0, 1, 2, 3, 4, 5, 7, 8, 6 } uselistorder i16* %storemerge19.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge23.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge18.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i64 4294967295, { 1, 0 } uselistorder i32 48, { 1, 0 } uselistorder i64 4294967296, { 0, 1, 5, 2, 3, 4, 6 } }
1
CompRealVul
nfs_fsync_18054
nfs_fsync
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg2 to i64 %4 = add i64 %3, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i64 %8, i64 %3, i64 %2, i64 %1) %10 = call i64 @FUNC() %11 = call i64 @FUNC(i64 %3) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false store i64 %11, i64* %sv_0.0.reg2mem br i1 %14, label LBL_2, label LBL_1 LBL_1: %15 = bitcast i64* %arg1 to i32* store i32 0, i32* %15, align 4 br label LBL_2 LBL_2: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %16 = call i64 @FUNC() %17 = and i64 %sv_0.0.reload, 4294967295 ret i64 %17 uselistorder i64* %0, { 1, 0 } }
1
CompRealVul
qio_channel_websock_source_check_14316
qio_channel_websock_source_check
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = icmp ne i64* %arg1, null %spec.select = zext i1 %1 to i32 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = icmp ult i64 %4, 1024 %6 = or i32 %spec.select, 2 %sv_0.1 = select i1 %5, i32 %6, i32 %spec.select %7 = inttoptr i64 %2 to i32* %8 = load i32, i32* %7, align 4 %9 = and i32 %sv_0.1, %8 %10 = zext i32 %9 to i64 ret i64 %10 uselistorder i32 %spec.select, { 1, 0 } }
1
CompRealVul
evdns_base_set_max_requests_inflight_9890
evdns_base_set_max_requests_inflight
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %arg2 to i32 %sext = mul i64 %arg2, 4294967296 %4 = ashr exact i64 %sext, 32 %5 = add i64 %2, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 %2) %9 = icmp eq i32 %3, 0 %10 = icmp slt i32 %3, 0 %11 = icmp eq i1 %10, false %12 = icmp eq i1 %9, false %13 = icmp eq i1 %11, %12 %spec.select = select i1 %13, i64 %4, i64 1 %14 = add nsw i64 %spec.select, 4 %sext2 = mul i64 %14, 4294967296 %15 = ashr exact i64 %sext2, 32 %narrow = mul nsw i64 %15, 1717986919 %16 = udiv i64 %narrow, 4294967296 %17 = trunc i64 %16 to i32 %18 = ashr i32 %17, 1 %19 = trunc i64 %14 to i32 %20 = ashr i32 %19, 31 %21 = sub nsw i32 %18, %20 %22 = icmp eq i32 %21, 0 %23 = icmp slt i32 %21, 0 %24 = icmp eq i1 %23, false %25 = icmp eq i1 %22, false %26 = icmp eq i1 %24, %25 %27 = zext i1 %26 to i64 %28 = call i64 @FUNC(i64 %27) %29 = sext i32 %21 to i64 %30 = call i64 @FUNC(i64 %29, i64 8) %31 = icmp eq i64 %30, 0 %32 = icmp eq i1 %31, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %32, label LBL_1, label LBL_9 LBL_1: %33 = icmp eq i64 %7, 0 br i1 %33, label LBL_8, label LBL_2 LBL_2: %34 = trunc i64 %1 to i32 %35 = icmp sgt i32 %34, 0 br i1 %35, label LBL_3, label LBL_7 LBL_3: %36 = zext i32 %21 to i64 %wide.trip.count = and i64 %1, 4294967295 store i64 0, i64* %indvars.iv.reg2mem br label LBL_6 LBL_4: %.reload = load i64, i64* %.reg2mem %37 = call i64 @FUNC(i64 %.reload, i64 %53) %38 = inttoptr i64 %.reload to i32* %39 = load i32, i32* %38, align 4 %40 = ashr i32 %39, 31 %41 = zext i32 %39 to i64 %42 = zext i32 %40 to i64 %43 = mul i64 %42, 4294967296 %44 = or i64 %43, %41 %45 = srem i64 %44, %36 %sext4 = mul i64 %45, 4294967296 %46 = ashr exact i64 %sext4, 29 %47 = add i64 %46, %30 %48 = call i64 @FUNC(i64 %.reload, i64 %47) %49 = load i64, i64* %54, align 8 %50 = icmp eq i64 %49, 0 %51 = icmp eq i1 %50, false store i64 %49, i64* %.reg2mem br i1 %51, label LBL_4, label LBL_5 LBL_5: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_7, label LBL_6 LBL_6: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %52 = mul i64 %indvars.iv.reload, 8 %53 = add i64 %52, %7 %54 = inttoptr i64 %53 to i64* %55 = load i64, i64* %54, align 8 %56 = icmp eq i64 %55, 0 %57 = icmp eq i1 %56, false store i64 %55, i64* %.reg2mem br i1 %57, label LBL_4, label LBL_5 LBL_7: %58 = call i64 @FUNC(i64 %7) br label LBL_8 LBL_8: store i64 %30, i64* %6, align 8 %59 = bitcast i64* %arg1 to i32* store i32 %21, i32* %59, align 4 %60 = trunc i64 %spec.select to i32 %61 = add i64 %2, 16 %62 = inttoptr i64 %61 to i32* store i32 %60, i32* %62, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_9 LBL_9: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %53, { 1, 0 } uselistorder i64 %indvars.iv.reload, { 1, 0 } uselistorder i64 %.reload, { 2, 1, 0 } uselistorder i64 %30, { 1, 0, 2 } uselistorder i32 %21, { 1, 0, 2, 4, 3 } uselistorder i64 %14, { 1, 0 } uselistorder i64 %spec.select, { 1, 0 } uselistorder i64 %7, { 1, 0, 2 } uselistorder i32 %3, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 2, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i1 false, { 0, 3, 4, 5, 1, 6, 2, 7 } uselistorder i64 4294967296, { 0, 1, 4, 2, 3 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
0
CompRealVul
r3d_read_redv_3577
r3d_read_redv
define i64 @FUNC(i64* %arg1, i64* %arg2, i32* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem7 = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %5 = add i64 %4, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 %7) %9 = load i64, i64* %6, align 8 %10 = call i64 @FUNC(i64 %9) %11 = load i64, i64* %6, align 8 %12 = call i64 @FUNC(i64 %11) %13 = trunc i64 %4 to i32 %14 = and i64 %12, 4294967295 %15 = call i32 (i32, i8*, ...) @dprintf(i32 %13, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i64 %14) %16 = load i64, i64* %6, align 8 %17 = call i64 @FUNC(i64 %16) %18 = load i64, i64* %6, align 8 %19 = call i64 @FUNC(i64 %18) %20 = and i64 %19, 4294967295 %21 = and i64 %17, 4294967295 %22 = call i32 (i32, i8*, ...) @dprintf(i32 %13, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i64 %21, i64 %20) %23 = load i64, i64* %6, align 8 %24 = call i64 @FUNC(i64 %23) %25 = trunc i64 %24 to i32 %26 = and i64 %24, 4294967295 %27 = call i32 (i32, i8*, ...) @dprintf(i32 %13, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0), i64 %26) %28 = icmp slt i32 %25, 5 br i1 %28, label LBL_2, label LBL_1 LBL_1: %29 = load i64, i64* %6, align 8 %30 = call i64 @FUNC(i64 %29) %31 = and i64 %30, 4294967295 %32 = call i32 (i32, i8*, ...) @dprintf(i32 %13, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0), i64 %31) %33 = load i64, i64* %6, align 8 %34 = call i64 @FUNC(i64 %33) %35 = and i64 %34, 4294967295 %36 = call i32 (i32, i8*, ...) @dprintf(i32 %13, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0), i64 %35) %37 = load i64, i64* %6, align 8 %38 = call i64 @FUNC(i64 %37) %39 = and i64 %38, 4294967295 %40 = call i32 (i32, i8*, ...) @dprintf(i32 %13, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_3, i64 0, i64 0), i64 %39) %41 = load i64, i64* %6, align 8 %42 = call i64 @FUNC(i64 %41) %43 = and i64 %42, 4294967295 %44 = call i32 (i32, i8*, ...) @dprintf(i32 %13, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_4, i64 0, i64 0), i64 %43) %45 = load i64, i64* %6, align 8 %46 = call i64 @FUNC(i64 %45) %47 = and i64 %46, 4294967295 %48 = call i32 (i32, i8*, ...) @dprintf(i32 %13, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_5, i64 0, i64 0), i64 %47) br label LBL_2 LBL_2: %49 = trunc i64 %8 to i32 %50 = trunc i64 %3 to i32 %51 = load i64, i64* %6, align 8 %52 = call i64 @FUNC(i64 %51) %53 = trunc i64 %52 to i32 %54 = add i32 %50, -8 %55 = add i32 %54, %49 %56 = sub i32 %55, %53 %57 = icmp slt i32 %56, 0 %58 = icmp eq i1 %57, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %58, label LBL_3, label LBL_9 LBL_3: %59 = ptrtoint i64* %arg2 to i64 %60 = load i64, i64* %6, align 8 %61 = call i64 @FUNC(i64 %60, i64 %59, i32 %56) %62 = trunc i64 %61 to i32 %63 = icmp slt i32 %62, 0 %64 = icmp eq i1 %63, false br i1 %64, label LBL_5, label LBL_4 LBL_4: %65 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_6, i64 0, i64 0), i64 %59, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_9 LBL_5: %66 = trunc i64 %10 to i32 %67 = bitcast i64* %arg2 to i32* store i32 0, i32* %67, align 4 %68 = add i64 %59, 4 %69 = inttoptr i64 %68 to i32* store i32 %66, i32* %69, align 4 %70 = load i64, i64* %6, align 8 %71 = add i64 %70, 4 %72 = inttoptr i64 %71 to i32* %73 = load i32, i32* %72, align 4 %74 = icmp eq i32 %73, 0 br i1 %74, label LBL_5.LBL_8_crit_edge, label LBL_7 LBL_6: %.pre3 = add i64 %59, 8 %.pre4 = inttoptr i64 %.pre3 to i64* %.pre6 = load i64, i64* %.pre4, align 8 store i64 %.pre6, i64* %.reg2mem store i32 %66, i32* %.reg2mem7 br label LBL_8 LBL_7: %75 = add i64 %4, 4 %76 = inttoptr i64 %75 to i32* %77 = load i32, i32* %76, align 4 %78 = inttoptr i64 %70 to i32* %79 = load i32, i32* %78, align 4 %80 = sext i32 %79 to i64 %81 = sext i32 %77 to i64 %82 = mul nsw i64 %80, %81 %83 = sext i32 %73 to i64 %84 = udiv i64 %82, %83 %85 = add i64 %59, 8 %86 = inttoptr i64 %85 to i64* store i64 %84, i64* %86, align 8 %.pre = load i32, i32* %69, align 4 store i64 %84, i64* %.reg2mem store i32 %.pre, i32* %.reg2mem7 br label LBL_8 LBL_8: %.reload8 = load i32, i32* %.reg2mem7 %.reload = load i64, i64* %.reg2mem %87 = zext i32 %.reload8 to i64 %88 = call i32 (i32, i8*, ...) @dprintf(i32 %13, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_7, i64 0, i64 0), i64 %87, i64 %.reload) store i64 0, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %59, { 2, 0, 3, 1, 4 } uselistorder i32 %56, { 1, 0 } uselistorder i32 %13, { 5, 0, 1, 2, 3, 4, 6, 7, 8 } uselistorder i64* %6, { 5, 6, 7, 0, 1, 2, 3, 4, 8, 9, 10, 11, 12, 13 } uselistorder i64 %4, { 1, 0, 2, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64)* @get_be16, { 2, 1, 0 } uselistorder i64 (i64)* @get_byte, { 1, 0 } uselistorder i32 (i32, i8*, ...)* @dprintf, { 8, 2, 1, 0, 7, 6, 5, 4, 3 } uselistorder i64 4294967295, { 1, 0, 2, 3, 4, 5, 6, 7, 8, 9, 10 } uselistorder i64 (i64)* @get_be32, { 4, 3, 2, 1, 0 } uselistorder i64 (i64)* @url_ftell, { 1, 0 } uselistorder i64 8, { 1, 0, 2 } uselistorder label LBL_9, { 1, 2, 0 } uselistorder label LBL_8, { 1, 0 } }
0
CompRealVul
rfx_compose_message_frame_begin_3769
rfx_compose_message_frame_begin
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i32* %arg1 to i64 %4 = call i64 @FUNC(i64 %2, i64 14) %5 = call i64 @FUNC(i64 %2, i64 1) %6 = call i64 @FUNC(i64 %2, i64 14) %7 = call i64 @FUNC(i64 %2, i64 1) %8 = call i64 @FUNC(i64 %2, i64 0) %9 = trunc i64 %1 to i32 %10 = and i64 %1, 4294967295 %11 = call i64 @FUNC(i64 %2, i64 %10) %12 = call i64 @FUNC(i64 %2, i64 1) %13 = add i32 %9, 1 store i32 %13, i32* %arg1, align 4 ret i64 %3 uselistorder i64 %2, { 1, 0, 2, 3, 4, 5, 6 } uselistorder i64 %1, { 1, 0 } uselistorder i64 (i64, i64)* @stream_write_uint8, { 1, 0 } uselistorder i64 (i64, i64)* @stream_write_uint32, { 1, 0 } uselistorder i64 (i64, i64)* @stream_write_uint16, { 1, 0 } }
0
CompRealVul
xcopy_pt_undepend_remotedev_7207
xcopy_pt_undepend_remotedev
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 16 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = icmp eq i32 %3, 1 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_0, i64 0, i64 0), i64 %0) br label LBL_3 LBL_2: %7 = add i64 %0, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_1, i64 0, i64 0), i64 %9) br label LBL_3 LBL_3: %11 = add i64 %0, 24 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = call i64 @FUNC(i64 %13) ret i64 %14 uselistorder i64 %0, { 1, 2, 0, 3 } uselistorder i64 (i8*, i64)* @pr_debug, { 1, 0 } }
0
CompRealVul
pid_from_ns_10199
pid_from_ns
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %sv_0 = alloca i32, align 4 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %0 = ptrtoint i64* %sv_4 to i64 %sext = mul i64 %arg1, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = ptrtoint i64* %sv_3 to i64 %3 = trunc i64 %1 to i32 %4 = add i32 %3, 63 %5 = icmp slt i32 %3, 0 %6 = select i1 %5, i32 %4, i32 %3 %7 = ashr i32 %6, 6 %8 = zext i32 %7 to i64 %9 = sext i32 %7 to i64 %10 = mul i64 %9, 8 %11 = add i64 %0, -192 %12 = add i64 %11, %10 %13 = inttoptr i64 %12 to i64* %14 = urem i64 %1, 64 %15 = shl i64 1, %14 %sext2 = mul i64 %8, 4294967296 %16 = ashr exact i64 %sext2, 29 %17 = add i64 %11, %16 %18 = inttoptr i64 %17 to i64* %19 = add i32 %3, 1 %20 = bitcast i64* %sv_3 to %_TYPEDEF_fd_set* %21 = bitcast i64* %sv_2 to %timeval* %22 = and i64 %1, 4294967295 br label LBL_1 LBL_1: store i64 0, i64* %indvars.iv.reg2mem br label LBL_2 LBL_2: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %23 = mul i64 %indvars.iv.reload, 8 %24 = add i64 %23, %2 %25 = inttoptr i64 %24 to i64* store i64 0, i64* %25, align 8 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 16 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_3, label LBL_2 LBL_3: %26 = load i64, i64* %13, align 8 %27 = or i64 %26, %15 store i64 %27, i64* %18, align 8 store i64 2, i64* %sv_2, align 8 %28 = call i32 @select(i32 %19, %_TYPEDEF_fd_set* nonnull %20, %_TYPEDEF_fd_set* null, %_TYPEDEF_fd_set* null, %timeval* nonnull %21) %29 = icmp eq i32 %28, 0 %30 = icmp slt i32 %28, 0 %31 = icmp eq i1 %30, false %32 = icmp eq i1 %29, false %33 = icmp eq i1 %31, %32 br i1 %33, label LBL_5, label LBL_4 LBL_4: %34 = call i32* @__errno_location() %35 = load i32, i32* %34, align 4 %36 = call i8* @strerror(i32 %35) %37 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %38 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %37, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0), i8* %36) call void @_exit(i32 1) unreachable LBL_5: %39 = call i32 @read(i32 %3, i64* nonnull %sv_1, i32 4) %40 = icmp eq i32 %39, 4 br i1 %40, label LBL_7, label LBL_6 LBL_6: %41 = call i32* @__errno_location() %42 = load i32, i32* %41, align 4 %43 = call i8* @strerror(i32 %42) %44 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %45 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %44, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0), i8* %43) call void @_exit(i32 1) unreachable LBL_7: %46 = load i64, i64* %sv_1, align 8 %47 = trunc i64 %46 to i32 %48 = icmp eq i32 %47, -1 br i1 %48, label LBL_12, label LBL_8 LBL_8: store i32 %47, i32* %sv_0, align 4 %49 = call i64 @FUNC(i64 %22, i32* nonnull %sv_0, i8 48, i64 1) %50 = trunc i64 %49 to i32 %51 = icmp eq i32 %50, 0 br i1 %51, label LBL_1.backedge, label LBL_10 LBL_9: br label LBL_1 LBL_10: %52 = call i32 @getpid() store i32 %52, i32* %sv_0, align 4 %53 = call i64 @FUNC(i64 %22, i32* nonnull %sv_0, i8 49, i64 0) %54 = trunc i64 %53 to i32 %55 = icmp eq i32 %54, 0 br i1 %55, label LBL_1.backedge, label LBL_11 LBL_11: call void @_exit(i32 1) unreachable LBL_12: call void @_exit(i32 0) ret i64 ptrtoint (i32* @0 to i64) uselistorder i32 %28, { 1, 0 } uselistorder i64 %1, { 1, 0, 2 } uselistorder i64* %sv_2, { 1, 0 } uselistorder i64* %sv_1, { 1, 0 } uselistorder i32* %sv_0, { 0, 2, 1, 3 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 (i64, i32*, i8, i64)* @send_creds, { 1, 0 } uselistorder void (i32)* @_exit, { 3, 2, 1, 0 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 1, 0 } uselistorder %_IO_FILE** @gv_0, { 1, 0 } uselistorder i8* (i32)* @strerror, { 1, 0 } uselistorder i32* ()* @__errno_location, { 1, 0 } uselistorder label LBL_1.backedge, { 1, 0 } }
0
CompRealVul
rose_start_heartbeat_11903
rose_start_heartbeat
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1) %1 = inttoptr i64 %arg1 to i64* store i64 4198806, i64* %1, align 8 %2 = load i64, i64* @gv_0, align 8 %3 = add i64 %2, 500 %4 = add i64 %arg1, 8 %5 = inttoptr i64 %4 to i64* store i64 %3, i64* %5, align 8 %6 = call i64 @FUNC(i64 %arg1) ret i64 %6 }
1
CompRealVul
vp8_h_loop_filter_simple_c_14878
vp8_h_loop_filter_simple_c
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = zext i32 %arg3 to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %2 = mul i64 %indvars.iv.reload, %arg2 %3 = add i64 %2, %0 %4 = call i64 @FUNC(i64 %3, i64 1, i64 %1) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 store i64 %4, i64* %rax.0.reg2mem br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = call i64 @FUNC(i64 %3, i64 1, i64 1) store i64 %7, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 16 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_4, label LBL_1 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } }
1
CompRealVul
child_init_3840
child_init
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge2037.reg2mem = alloca i64 %.reg2mem44 = alloca i64* %storemerge20.lcssa.reg2mem = alloca i64 %r9.1.reg2mem = alloca i64 %r8.1.reg2mem = alloca i64 %rdx.1.reg2mem = alloca i64 %rcx.1.reg2mem = alloca i64 %storemerge221.reg2mem = alloca i32 %.reg2mem = alloca i64 %0 = call i64 @FUNC(i64* nonnull @gv_0, i64 45, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i64 1) %1 = trunc i64 %0 to i32 %2 = icmp slt i32 %1, 0 %3 = icmp eq i1 %2, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_20 LBL_1: %sext = mul i64 %arg1, 4294967296 %4 = ashr exact i64 %sext, 32 %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false %8 = load i32, i32* @gv_2, align 4 %9 = icmp slt i32 %8, 1 %or.cond = or i1 %7, %9 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge221.reg2mem store i64 1, i64* %rcx.1.reg2mem store i64 ptrtoint ([5 x i8]* @gv_1 to i64), i64* %rdx.1.reg2mem br i1 %or.cond, label LBL_5, label LBL_2 LBL_2: %.reload = load i64, i64* %.reg2mem %10 = load i32, i32* @gv_3, align 4 %11 = load i32, i32* @gv_4, align 4 %12 = zext i32 %10 to i64 %13 = zext i32 %11 to i64 %14 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_5, i64 0, i64 0), i64 1, i64 %13, i64 %.reload, i64 %12) %15 = trunc i64 %14 to i32 %16 = icmp slt i32 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_4, label LBL_3 LBL_3: %18 = call i64 @FUNC(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_6, i64 0, i64 0), i64 ptrtoint ([13 x i8]* @gv_5 to i64), i64 1, i64 %13, i64 %.reload, i64 %12) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_20 LBL_4: %storemerge221.reload = load i32, i32* %storemerge221.reg2mem %19 = add i32 %storemerge221.reload, 1 %20 = load i32, i32* @gv_2, align 4 %21 = zext i32 %20 to i64 %22 = sext i32 %19 to i64 %23 = icmp slt i64 %22, %21 store i64 %22, i64* %.reg2mem store i32 %19, i32* %storemerge221.reg2mem store i64 %13, i64* %rcx.1.reg2mem store i64 1, i64* %rdx.1.reg2mem store i64 %.reload, i64* %r8.1.reg2mem store i64 %12, i64* %r9.1.reg2mem br i1 %23, label LBL_2, label LBL_5 LBL_5: %r9.1.reload = load i64, i64* %r9.1.reg2mem %r8.1.reload = load i64, i64* %r8.1.reg2mem %rdx.1.reload = load i64, i64* %rdx.1.reg2mem %rcx.1.reload = load i64, i64* %rcx.1.reg2mem %24 = load i32, i32* @gv_7, align 4 %25 = icmp eq i32 %24, 4 br i1 %25, label LBL_11, label LBL_6 LBL_6: %26 = icmp sgt i32 %24, 4 br i1 %26, label LBL_12, label LBL_7 LBL_7: store i64 0, i64* %rax.0.reg2mem switch i32 %24, label LBL_8 [ i32 3, label LBL_10 i32 0, label LBL_20 ] LBL_8: %27 = icmp sgt i32 %24, -1 %28 = add i32 %24, -1 %29 = icmp ult i32 %28, 2 %or.cond7 = icmp eq i1 %27, %29 br i1 %or.cond7, label LBL_9, label LBL_12 LBL_9: %30 = icmp slt i32 %5, 0 %31 = icmp eq i1 %30, false %32 = icmp eq i1 %31, %7 %switch9 = icmp ult i32 %5, 2 %or.cond10 = or i1 %switch9, %32 store i64 0, i64* %rax.0.reg2mem br i1 %or.cond10, label LBL_12, label LBL_20 LBL_10: %switch = icmp ult i32 %5, 3 store i64 0, i64* %rax.0.reg2mem br i1 %switch, label LBL_12, label LBL_20 LBL_11: %33 = icmp eq i32 %5, 2 store i64 0, i64* %rax.0.reg2mem br i1 %33, label LBL_12, label LBL_20 LBL_12: %34 = load i32, i32* @gv_8, align 4 store i32 %34, i32* @gv_9, align 4 %35 = icmp eq i32 %34, 0 %36 = icmp eq i1 %35, false br i1 %36, label LBL_14, label LBL_13 LBL_13: %37 = and i64 %4, 4294967295 %38 = call i64 @FUNC(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_10, i64 0, i64 0), i64 %37, i64 %rdx.1.reload, i64 %rcx.1.reload, i64 %r8.1.reload, i64 %r9.1.reload) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_20 LBL_14: %39 = icmp eq i32 %5, 2 %40 = icmp eq i1 %39, false %41 = icmp eq i32 %24, 1 %or.cond5 = or i1 %40, %41 store i64 0, i64* %rax.0.reg2mem br i1 %or.cond5, label LBL_20, label LBL_15 LBL_15: %storemerge19 = load i64, i64* @gv_11, align 8 %42 = icmp eq i64 %storemerge19, 0 %43 = icmp eq i1 %42, false store i64 0, i64* %rax.0.reg2mem br i1 %43, label LBL_16, label LBL_20 LBL_16: %44 = add i64 %storemerge19, 8 %45 = inttoptr i64 %44 to i64* %46 = load i64, i64* %45, align 8 %47 = zext i32 %34 to i64 %48 = call i64 @FUNC(i64 %47, i64 %46) %49 = trunc i64 %48 to i32 %50 = icmp slt i32 %49, 0 %51 = icmp eq i1 %50, false store i64 %storemerge19, i64* %storemerge20.lcssa.reg2mem store i64* %45, i64** %.reg2mem44 store i64 %storemerge19, i64* %storemerge2037.reg2mem br i1 %51, label LBL_18, label LBL_17 LBL_17: %storemerge20.lcssa.reload = load i64, i64* %storemerge20.lcssa.reg2mem %52 = add i64 %storemerge20.lcssa.reload, 24 %53 = inttoptr i64 %52 to i64* %54 = load i64, i64* %53, align 8 %55 = call i64 @FUNC(i64 %54) %56 = add i64 %storemerge20.lcssa.reload, 16 %57 = inttoptr i64 %56 to i32* %58 = load i32, i32* %57, align 4 %59 = zext i32 %58 to i64 %60 = and i64 %4, 4294967295 %61 = call i64 @FUNC(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_12, i64 0, i64 0), i64 %60, i64 %59, i64 %55, i64 %r8.1.reload, i64 %r9.1.reload) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_20 LBL_18: %storemerge2037.reload = load i64, i64* %storemerge2037.reg2mem %.reload45 = load i64*, i64** %.reg2mem44 %62 = load i64, i64* %.reload45, align 8 %63 = call i64 @FUNC(i64 %62) %64 = inttoptr i64 %storemerge2037.reload to i64* %storemerge = load i64, i64* %64, align 8 %65 = icmp eq i64 %storemerge, 0 %66 = icmp eq i1 %65, false store i64 0, i64* %rax.0.reg2mem br i1 %66, label LBL_18.dec_label_pc_4013d3_crit_edge, label LBL_20 LBL_19: %.pre = load i32, i32* @gv_9, align 4 %67 = add i64 %storemerge, 8 %68 = inttoptr i64 %67 to i64* %69 = load i64, i64* %68, align 8 %70 = zext i32 %.pre to i64 %71 = call i64 @FUNC(i64 %70, i64 %69) %72 = trunc i64 %71 to i32 %73 = icmp slt i32 %72, 0 %74 = icmp eq i1 %73, false store i64 %storemerge, i64* %storemerge20.lcssa.reg2mem store i64* %68, i64** %.reg2mem44 store i64 %storemerge, i64* %storemerge2037.reg2mem br i1 %74, label LBL_18, label LBL_17 LBL_20: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %24, { 0, 3, 1, 2, 4, 5 } uselistorder i64 %.reload, { 0, 2, 1 } uselistorder i32 %5, { 3, 4, 2, 1, 0, 5 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge221.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge20.lcssa.reg2mem, { 1, 0, 2 } uselistorder i64** %.reg2mem44, { 2, 0, 1 } uselistorder i64* %storemerge2037.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 11, 2, 5, 10, 6, 7, 4, 3, 9, 8 } uselistorder i64 (i64, i64)* @preload_udomain, { 1, 0 } uselistorder i64 8, { 1, 0 } uselistorder i32 2, { 3, 2, 0, 1 } uselistorder i32 -1, { 1, 0 } uselistorder i32 3, { 1, 0 } uselistorder i32 4, { 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @LM_ERR, { 2, 1, 0 } uselistorder [13 x i8]* @gv_5, { 1, 0 } uselistorder i32* @gv_2, { 1, 0 } uselistorder [5 x i8]* @gv_1, { 1, 0 } uselistorder label LBL_20, { 0, 8, 1, 5, 9, 6, 4, 3, 2, 10, 7 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_12, { 3, 0, 1, 2, 4 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
qcow2_alloc_clusters_14176
qcow2_alloc_clusters
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 %arg2) %2 = icmp slt i64 %1, 0 %3 = icmp eq i1 %2, false store i64 %1, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_3 LBL_1: %4 = call i64 @FUNC(i64 %0, i64 %1, i64 %arg2, i64 1, i64 0) %5 = trunc i64 %4 to i32 %6 = icmp slt i32 %5, 0 %7 = icmp eq i1 %6, false store i64 %1, i64* %rax.0.reg2mem br i1 %7, label LBL_3, label LBL_2 LBL_2: %sext = mul i64 %4, 4294967296 %8 = ashr exact i64 %sext, 32 store i64 %8, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %1, { 0, 2, 1, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder label LBL_3, { 2, 0, 1 } }
1
CompRealVul
encode_open_8247
encode_open
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 %3, i64 %2) %5 = call i64 @FUNC(i64 %3, i64 %2) %6 = trunc i64 %1 to i32 %7 = icmp eq i32 %6, 2 br i1 %7, label LBL_5, label LBL_1 LBL_1: %8 = icmp sgt i32 %6, 2 br i1 %8, label LBL_6, label LBL_2 LBL_2: switch i32 %6, label LBL_6 [ i32 0, label LBL_3 i32 1, label LBL_4 ] LBL_3: %9 = add i64 %2, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = call i64 @FUNC(i64 %3, i64 %11) br label LBL_7 LBL_4: %13 = add i64 %2, 16 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = zext i32 %15 to i64 %17 = call i64 @FUNC(i64 %3, i64 %16) br label LBL_7 LBL_5: %18 = add i64 %2, 16 %19 = add i64 %2, 8 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = call i64 @FUNC(i64 %3, i64 %21, i64 %18) br label LBL_7 LBL_6: %23 = call i64 @FUNC() br label LBL_7 LBL_7: ret i64 0 uselistorder i32 %6, { 2, 1, 0 } uselistorder i64 %3, { 2, 0, 1, 3, 4 } uselistorder i64 %2, { 3, 2, 0, 1, 4, 5 } uselistorder i32 2, { 1, 0 } }
0
CompRealVul
mpeg2_decode_block_non_intra_69
mpeg2_decode_block_non_intra
define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i32* %arg1 to i64 %4 = trunc i64 %arg3 to i32 %5 = add i64 %3, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = trunc i64 %1 to i32 %9 = icmp sgt i32 %4, 3 %sv_0.0.ph.in.in.v = select i1 %9, i64 24, i64 16 %sv_0.0.ph.in.in = add i64 %sv_0.0.ph.in.in.v, %3 %sv_0.0.ph.in = inttoptr i64 %sv_0.0.ph.in.in to i64* %sv_0.0.ph = load i64, i64* %sv_0.0.ph.in, align 8 %10 = add i64 %7, -1 %11 = inttoptr i64 %10 to i8* %12 = mul i32 %8, 3 br label LBL_1 LBL_1: %13 = load i8, i8* %11, align 1 %14 = zext i8 %13 to i64 %15 = mul i64 %14, 2 %16 = add i64 %15, %sv_0.0.ph %17 = inttoptr i64 %16 to i16* %18 = load i16, i16* %17, align 2 %19 = zext i16 %18 to i32 %20 = mul i32 %12, %19 %21 = udiv i32 %20, 32 %22 = add i64 %15, %2 %23 = trunc i32 %21 to i16 %24 = inttoptr i64 %22 to i16* store i16 %23, i16* %24, align 2 br label LBL_1 uselistorder i64 %15, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
CompRealVul
perf_init_event_9506
perf_init_event
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %storemerge6.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64* nonnull @gv_0) %2 = call i64 @FUNC() %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = zext i32 %5 to i64 %7 = call i64 @FUNC(i64* nonnull @gv_1, i64 %6) %8 = call i64 @FUNC() %9 = icmp eq i64 %7, 0 br i1 %9, label LBL_1, label LBL_3 LBL_1: %storemerge5 = load i64, i64* @gv_2, align 8 %10 = icmp eq i64 %storemerge5, ptrtoint (i64* @gv_2 to i64) %11 = icmp eq i1 %10, false br i1 %11, label LBL_2, label LBL_9 LBL_2: %12 = trunc i64 %0 to i32 %13 = icmp eq i32 %12, 0 %14 = sub i32 0, %12 store i64 %storemerge5, i64* %storemerge6.reg2mem br label LBL_5 LBL_3: store i64 %7, i64* %arg1, align 8 %15 = trunc i64 %0 to i32 %16 = icmp eq i32 %15, 0 store i64 %7, i64* %sv_0.0.reg2mem br i1 %16, label LBL_10, label LBL_4 LBL_4: %17 = and i64 %0, 4294967295 %18 = call i64 @FUNC(i64 %17) store i64 %18, i64* %sv_0.0.reg2mem br label LBL_10 LBL_5: %storemerge6.reload = load i64, i64* %storemerge6.reg2mem store i64 %storemerge6.reload, i64* %arg1, align 8 store i64 %storemerge5, i64* %sv_0.0.reg2mem br i1 %13, label LBL_10, label LBL_6 LBL_6: %19 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4 %20 = icmp eq i32 %19, %14 br i1 %20, label LBL_8, label LBL_7 LBL_7: %21 = and i64 %0, 4294967295 %22 = call i64 @FUNC(i64 %21) store i64 %22, i64* %sv_0.0.reg2mem br label LBL_10 LBL_8: %23 = add i64 %storemerge6.reload, 8 %24 = inttoptr i64 %23 to i64* %storemerge = load i64, i64* %24, align 8 %25 = icmp eq i64 %storemerge, ptrtoint (i64* @gv_2 to i64) %26 = icmp eq i1 %25, false store i64 %storemerge, i64* %storemerge6.reg2mem br i1 %26, label LBL_5, label LBL_9 LBL_9: %27 = load i32, i32* @gv_3, align 4 %28 = sub i32 0, %27 %29 = zext i32 %28 to i64 %30 = call i64 @FUNC(i64 %29) store i64 %30, i64* %sv_0.0.reg2mem br label LBL_10 LBL_10: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %31 = and i64 %1, 4294967295 %32 = call i64 @FUNC(i64* nonnull @gv_0, i64 %31) ret i64 %sv_0.0.reload uselistorder i64 %0, { 0, 2, 1, 3, 4 } uselistorder i64* %storemerge6.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.0.reg2mem, { 0, 4, 5, 1, 2, 3 } uselistorder i64 (i64)* @ERR_PTR, { 1, 2, 0 } uselistorder i64 4294967295, { 1, 0, 2 } uselistorder i32 0, { 2, 3, 0, 1 } uselistorder i1 false, { 1, 0 } uselistorder i64 ptrtoint (i64* @gv_2 to i64), { 1, 0 } uselistorder i64* @gv_2, { 1, 0 } uselistorder label LBL_10, { 4, 3, 0, 2, 1 } uselistorder label LBL_5, { 1, 0 } }
0
CompRealVul
line_construct_pm_9296
line_construct_pm
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = load i128, i128* %0 %sv_0 = alloca i64, align 8 %2 = ptrtoint i64* %sv_0 to i64 %3 = add i64 %2, -32 %4 = trunc i64 %3 to i8 %5 = call i8 @llvm.ctpop.i8(i8 %4), !range !4 %6 = urem i8 %5, 2 %7 = icmp eq i8 %6, 0 %8 = call i64 @FUNC(i128 %1) %9 = call i64 @FUNC(i64 24) %10 = call i128 @__asm_movsd.1(i64 %8) call void @FUNC(i128 %10, i64 9218868437227405311) br i1 %7, label LBL_3, label LBL_1 LBL_1: %11 = icmp eq i64 %3, 0 %12 = call i128 @__asm_movsd.1(i64 %8) call void @FUNC(i128 %12, i64 9218868437227405311) %13 = icmp eq i1 %11, false br i1 %13, label LBL_3, label LBL_2 LBL_2: %14 = call i128 @__asm_movsd.1(i64 -4616189618054758400) %15 = call i64 @FUNC(i128 %14) %16 = inttoptr i64 %9 to i64* store i64 %15, i64* %16, align 8 %17 = call i128 @FUNC(i128 %14, i128 %14) %18 = call i64 @FUNC(i128 %17) %19 = add i64 %9, 8 %20 = inttoptr i64 %19 to i64* store i64 %18, i64* %20, align 8 %21 = call i128 @__asm_movsd.1(i64 24) %22 = call i64 @FUNC(i128 %21) %23 = add i64 %9, 16 %24 = inttoptr i64 %23 to i64* store i64 %22, i64* %24, align 8 br label LBL_4 LBL_3: %25 = ptrtoint i64* %arg1 to i64 %26 = call i128 @__asm_movsd.1(i64 %8) %27 = call i64 @FUNC(i128 %26) %28 = inttoptr i64 %9 to i64* store i64 %27, i64* %28, align 8 %29 = call i128 @__asm_movsd.1(i64 -4616189618054758400) %30 = call i64 @FUNC(i128 %29) %31 = add i64 %9, 8 %32 = inttoptr i64 %31 to i64* store i64 %30, i64* %32, align 8 %33 = add i64 %25, 8 %34 = inttoptr i64 %33 to i64* %35 = load i64, i64* %34, align 8 %36 = call i128 @__asm_movsd.1(i64 %35) %37 = call i128 @__asm_movsd.1(i64 24) %38 = call i128 @FUNC(i128 %37, i64 %8) %39 = call i128 @FUNC(i128 %36, i128 %38) %40 = call i64 @FUNC(i128 %39) %41 = add i64 %9, 16 %42 = inttoptr i64 %41 to i64* store i64 %40, i64* %42, align 8 br label LBL_4 LBL_4: ret i64 %9 uselistorder i128 %14, { 2, 1, 0 } uselistorder i64 %9, { 3, 4, 5, 6, 0, 1, 2 } uselistorder i64 %8, { 1, 2, 0, 3 } uselistorder i64 24, { 1, 0, 2 } }
0
CompRealVul
mpeg_mux_end_14885
mpeg_mux_end
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rdi.24.reg2mem = alloca i64 %storemerge5.reg2mem = alloca i32 %.reg2mem11 = alloca i64 %.reg2mem9 = alloca i32 %storemerge36.reg2mem = alloca i32 %.reg2mem7 = alloca i64 %.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 16 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = inttoptr i64 %3 to i32* %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = icmp eq i32 %7, 0 store i32 %7, i32* %.reg2mem store i64 0, i64* %.reg2mem7 store i32 0, i32* %storemerge36.reg2mem br i1 %8, label LBL_7, label LBL_1 LBL_1: %storemerge36.reload = load i32, i32* %storemerge36.reg2mem %.reload8 = load i64, i64* %.reg2mem7 %.reload = load i32, i32* %.reg2mem %9 = mul i64 %.reload8, 8 %10 = add i64 %9, %0 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = add i64 %12, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp eq i32 %17, 0 %19 = icmp slt i32 %17, 0 %20 = icmp eq i1 %19, false %21 = icmp eq i1 %18, false %22 = icmp eq i1 %20, %21 store i32 %.reload, i32* %.reg2mem9 br i1 %22, label LBL_2, label LBL_4 LBL_2: %23 = load i32, i32* %4, align 4 %24 = zext i32 %23 to i64 %25 = call i64 @FUNC(i64 %0, i32 %storemerge36.reload, i64 0, i64 0, i64 %24) %26 = load i32, i32* %16, align 4 %27 = icmp eq i32 %26, 0 %28 = icmp slt i32 %26, 0 %29 = icmp eq i1 %28, false %30 = icmp eq i1 %27, false %31 = icmp eq i1 %29, %30 br i1 %31, label LBL_2, label LBL_3 LBL_3: %.pre = load i32, i32* %6, align 4 store i32 %.pre, i32* %.reg2mem9 br label LBL_4 LBL_4: %.reload10 = load i32, i32* %.reg2mem9 %32 = add i32 %storemerge36.reload, 1 %33 = zext i32 %.reload10 to i64 %34 = sext i32 %32 to i64 %35 = icmp slt i64 %34, %33 store i32 %.reload10, i32* %.reg2mem store i64 %34, i64* %.reg2mem7 store i32 %32, i32* %storemerge36.reg2mem br i1 %35, label LBL_1, label LBL_5 LBL_5: %36 = icmp eq i32 %.reload10, 0 store i64 0, i64* %.reg2mem11 store i32 0, i32* %storemerge5.reg2mem store i64 %0, i64* %rdi.24.reg2mem br i1 %36, label LBL_7, label LBL_6 LBL_6: %rdi.24.reload = load i64, i64* %rdi.24.reg2mem %storemerge5.reload = load i32, i32* %storemerge5.reg2mem %.reload12 = load i64, i64* %.reg2mem11 %37 = mul i64 %.reload12, 8 %38 = add i64 %rdi.24.reload, %37 %39 = inttoptr i64 %38 to i64* %40 = load i64, i64* %39, align 8 %41 = add i64 %40, 8 %42 = call i64 @FUNC(i64 %41) %43 = add i32 %storemerge5.reload, 1 %44 = load i32, i32* %6, align 4 %45 = zext i32 %44 to i64 %46 = sext i32 %43 to i64 %47 = icmp slt i64 %46, %45 store i64 %46, i64* %.reg2mem11 store i32 %43, i32* %storemerge5.reg2mem store i64 %41, i64* %rdi.24.reg2mem br i1 %47, label LBL_6, label LBL_7 LBL_7: ret i64 0 uselistorder i32 %.reload10, { 1, 2, 0 } uselistorder i32 %26, { 1, 0 } uselistorder i32* %16, { 1, 0 } uselistorder i32* %6, { 1, 0, 2 } uselistorder i64 %0, { 0, 2, 1, 3, 4 } uselistorder i32* %.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem7, { 2, 0, 1 } uselistorder i32* %storemerge36.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem9, { 0, 2, 1 } uselistorder i64* %.reg2mem11, { 2, 0, 1 } uselistorder i32* %storemerge5.reg2mem, { 2, 0, 1 } uselistorder i64* %rdi.24.reg2mem, { 2, 0, 1 } uselistorder i1 false, { 3, 2, 0, 1 } uselistorder i32 0, { 0, 2, 6, 7, 4, 5, 1, 3 } uselistorder i64 8, { 2, 0, 3, 1, 4 } uselistorder label LBL_7, { 0, 2, 1 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_2, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
CompRealVul
sg_get_rq_mark_9191
sg_get_rq_mark
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.in5.reg2mem = alloca i64 %storemerge9.in.reg2mem = alloca i64 %1 = ptrtoint i64* %arg1 to i64 %2 = load i64, i64* %0 %3 = add i64 %1, 8 %4 = call i64 @FUNC(i64 %3, i64 %2) %5 = icmp eq i64 %3, 0 %6 = icmp eq i1 %5, false store i64 %3, i64* %storemerge.in5.reg2mem br i1 %6, label LBL_1, label LBL_8 LBL_1: %7 = trunc i64 %arg2 to i32 %8 = icmp eq i32 %7, -1 store i64 %3, i64* %storemerge9.in.reg2mem br label LBL_2 LBL_2: %storemerge9.in.reload = load i64, i64* %storemerge9.in.reg2mem %storemerge9 = inttoptr i64 %storemerge9.in.reload to i32* %9 = load i32, i32* %storemerge9, align 4 %10 = icmp eq i32 %9, 1 %11 = icmp eq i1 %10, false br i1 %11, label LBL_7, label LBL_3 LBL_3: %12 = add i64 %storemerge9.in.reload, 4 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = icmp eq i32 %14, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_7, label LBL_4 LBL_4: br i1 %8, label LBL_6, label LBL_5 LBL_5: %17 = add i64 %storemerge9.in.reload, 8 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = icmp eq i32 %19, %7 %21 = icmp eq i1 %20, false br i1 %21, label LBL_7, label LBL_6 LBL_6: store i32 2, i32* %storemerge9, align 4 store i64 %storemerge9.in.reload, i64* %storemerge.in5.reg2mem br label LBL_8 LBL_7: %22 = add i64 %storemerge9.in.reload, 16 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = icmp eq i64 %24, 0 %26 = icmp eq i1 %25, false store i64 %24, i64* %storemerge9.in.reg2mem store i64 %24, i64* %storemerge.in5.reg2mem br i1 %26, label LBL_2, label LBL_8 LBL_8: %storemerge.in5.reload = load i64, i64* %storemerge.in5.reg2mem %27 = call i64 @FUNC(i64 %3, i64 %2) ret i64 %storemerge.in5.reload uselistorder i64 %storemerge9.in.reload, { 2, 0, 4, 3, 1 } uselistorder i64 %3, { 3, 1, 0, 2, 4 } uselistorder i64* %storemerge9.in.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.in5.reg2mem, { 0, 1, 3, 2 } uselistorder i1 false, { 4, 1, 2, 3, 0 } uselistorder label LBL_8, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
Ta3Grammar_FindDFA_13409
Ta3Grammar_FindDFA
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i32* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %sext = mul i64 %arg2, 4294967296 %5 = ashr exact i64 %sext, 30 %6 = add nsw i64 %5, -4 %7 = add i64 %6, %4 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = icmp eq i32 %9, %1 br i1 %10, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 19, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: ret i64 %7 }
0
CompRealVul
DFcleanup_6340
DFcleanup
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge12.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %1 = mul i64 %indvars.iv.reload, 8 %2 = add i64 %1, %0 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false store i64 %4, i64* %storemerge12.reg2mem br i1 %6, label LBL_2, label LBL_3 LBL_2: %storemerge12.reload = load i64, i64* %storemerge12.reg2mem %7 = add i64 %storemerge12.reload, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = inttoptr i64 %storemerge12.reload to i64* %11 = load i64, i64* %10, align 8 %12 = inttoptr i64 %11 to i64* call void @free(i64* %12) call void @free(i64* %10) %13 = icmp eq i64 %9, 0 %14 = icmp eq i1 %13, false store i64 %9, i64* %storemerge12.reg2mem br i1 %14, label LBL_2, label LBL_3 LBL_3: store i64 0, i64* %3, align 8 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 100 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_4, label LBL_1 LBL_4: ret i64 %2 uselistorder i64 %storemerge12.reload, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge12.reg2mem, { 2, 0, 1 } uselistorder void (i64*)* @free, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i64 8, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
ram_init1_16801
ram_init1
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = add i64 %2, 8 %5 = and i64 %1, 4294967295 %6 = call i64 @FUNC(i64 %4, i64 %3, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i64 %5, i64* nonnull @gv_1) %7 = call i64 @FUNC(i64 %4) %8 = call i64 @FUNC(i64 %2, i64 %4) ret i64 0 }
1
CompRealVul
LogFilePrep_19197
LogFilePrep
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %rdx.0.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %.reg2mem = alloca i64 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %sv_0 = alloca i8*, align 8 %sv_1 = alloca i8*, align 8 %4 = load i32, i32* %1 %sv_2 = alloca i64, align 8 %sv_3 = alloca i8*, align 8 store i8* null, i8** %sv_3, align 8 %5 = inttoptr i64 %arg1 to i8* %6 = call i32 (i8**, i8*, ...) @asprintf(i8** nonnull %sv_3, i8* %5) %7 = icmp eq i32 %6, -1 %8 = icmp eq i1 %7, false br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = call i64 @FUNC(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_0, i64 0, i64 0), i64 %arg1, i64 %arg3, i64 %arg1, i64 %3, i64 %2) unreachable LBL_2: %10 = trunc i64 %arg1 to i8 %11 = icmp eq i64 %arg2, 0 %12 = icmp eq i8 %10, 0 %or.cond = or i1 %11, %12 %13 = load i8*, i8** %sv_3, align 8 br i1 %or.cond, label LBL_11, label LBL_3 LBL_3: %14 = bitcast i64* %sv_2 to %stat* %15 = call i32 @stat(i8* %13, %stat* nonnull %14) %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_14, label LBL_4 LBL_4: %18 = and i32 %4, 61440 %19 = icmp eq i32 %18, 32768 %20 = icmp eq i1 %19, false br i1 %20, label LBL_14, label LBL_5 LBL_5: %21 = inttoptr i64 %arg2 to i8* %22 = call i32 (i8**, i8*, ...) @asprintf(i8** nonnull %sv_1, i8* %21) %23 = icmp eq i32 %22, -1 store i64 %arg2, i64* %.reg2mem store i64 %arg2, i64* %rcx.0.reg2mem store i64 %arg3, i64* %rdx.0.reg2mem br i1 %23, label LBL_7, label LBL_6 LBL_6: %24 = load i8*, i8** %sv_1, align 8 %25 = ptrtoint i8* %24 to i64 %26 = load i8*, i8** %sv_3, align 8 %27 = ptrtoint i8* %26 to i64 %28 = call i32 (i8**, i8*, ...) @asprintf(i8** nonnull %sv_0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i8* %26, i8* %24) %29 = icmp eq i32 %28, -1 %30 = icmp eq i1 %29, false store i64 ptrtoint ([5 x i8]* @gv_1 to i64), i64* %.reg2mem store i64 %25, i64* %rcx.0.reg2mem store i64 %27, i64* %rdx.0.reg2mem br i1 %30, label LBL_8, label LBL_7 LBL_7: %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %.reload = load i64, i64* %.reg2mem %31 = call i64 @FUNC(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_0, i64 0, i64 0), i64 %.reload, i64 %rdx.0.reload, i64 %rcx.0.reload, i64 %3, i64 %2) unreachable LBL_8: %32 = load i8*, i8** %sv_1, align 8 %33 = bitcast i8* %32 to i64* call void @free(i64* %33) %34 = load i8*, i8** %sv_0, align 8 %35 = load i8*, i8** %sv_3, align 8 %36 = call i32 @rename(i8* %35, i8* %34) %37 = icmp eq i32 %36, -1 %38 = icmp eq i1 %37, false %39 = load i8*, i8** %sv_0, align 8 br i1 %38, label LBL_10, label LBL_9 LBL_9: %40 = ptrtoint i8* %39 to i64 %41 = load i8*, i8** %sv_3, align 8 %42 = ptrtoint i8* %41 to i64 %43 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_2, i64 0, i64 0), i64 %42, i64 %40, i64 %25, i64 %3, i64 %2) unreachable LBL_10: %44 = bitcast i8* %39 to i64* call void @free(i64* %44) br label LBL_14 LBL_11: %45 = call i32 @remove(i8* %13) %46 = icmp eq i32 %45, 0 br i1 %46, label LBL_14, label LBL_12 LBL_12: %47 = call i32* @__errno_location() %48 = load i32, i32* %47, align 4 %49 = icmp eq i32 %48, 2 br i1 %49, label LBL_14, label LBL_13 LBL_13: %50 = call i32* @__errno_location() %51 = load i32, i32* %50, align 4 %52 = call i8* @strerror(i32 %51) %53 = ptrtoint i8* %52 to i64 %54 = load i8*, i8** %sv_3, align 8 %55 = ptrtoint i8* %54 to i64 %56 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_3, i64 0, i64 0), i64 %55, i64 %53, i64 %arg1, i64 %3, i64 %2) unreachable LBL_14: %57 = load i8*, i8** %sv_3, align 8 %58 = ptrtoint i8* %57 to i64 ret i64 %58 uselistorder i8* %39, { 1, 0 } uselistorder i64 %25, { 1, 0 } uselistorder i8* %13, { 1, 0 } uselistorder i8** %sv_3, { 6, 5, 3, 2, 1, 4, 7, 0 } uselistorder i8** %sv_1, { 1, 0, 2 } uselistorder i8** %sv_0, { 1, 0, 2 } uselistorder i64 %3, { 3, 2, 1, 0 } uselistorder i64 %2, { 3, 2, 1, 0 } uselistorder i64* %0, { 1, 0 } uselistorder i32* ()* @__errno_location, { 1, 0 } uselistorder [5 x i8]* @gv_1, { 1, 0 } uselistorder i8 0, { 0, 2, 1 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @FatalError, { 3, 2, 1, 0 } uselistorder i32 (i8**, i8*, ...)* @asprintf, { 0, 2, 1 } uselistorder i32 1, { 8, 11, 9, 10, 6, 5, 4, 3, 2, 7, 12, 1, 0 } uselistorder i64 %arg1, { 3, 0, 2, 1, 4 } uselistorder label LBL_14, { 3, 4, 2, 1, 0 } }
1
CompRealVul
predictor_decode_mono_3800_8315
predictor_decode_mono_3800
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i64 %storemerge4.in.reg2mem = alloca i64 %sv_1.06.in.reg2mem = alloca i64 %.in.in.reg2mem = alloca i64 %.reg2mem = alloca i32 %sv_2.1.ph.reg2mem = alloca i64 %sv_3.0.ph.reg2mem = alloca i32 %sv_4.0.reg2mem = alloca i64 %sv_5.0.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_6 = alloca i64, align 8 %sext = mul i64 %arg2, 4294967296 %3 = ashr exact i64 %sext, 32 %4 = add i64 %2, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = trunc i64 %1 to i32 %8 = icmp eq i32 %7, 1 %9 = icmp eq i1 %8, false br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = and i64 %3, 4294967295 %11 = call i64 @FUNC(i64 %6, i64 16, i64 9, i64 %10) store i32 16, i32* %sv_3.0.ph.reg2mem store i64 10, i64* %sv_2.1.ph.reg2mem br label LBL_6 LBL_2: %12 = icmp eq i32 %7, 2 %13 = icmp eq i1 %12, false store i32 4, i32* %sv_3.0.ph.reg2mem store i64 10, i64* %sv_2.1.ph.reg2mem br i1 %13, label LBL_6, label LBL_3 LBL_3: %14 = add i64 %2, 4 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = icmp slt i32 %16, 3830 store i64 10, i64* %sv_2.0.reg2mem store i32 128, i32* %sv_5.0.reg2mem store i64 11, i64* %sv_4.0.reg2mem br i1 %17, label LBL_5, label LBL_4 LBL_4: %18 = add nsw i64 %3, 4294967040 %19 = add i64 %6, 1024 %20 = and i64 %18, 4294967295 %21 = call i64 @FUNC(i64 %19, i64 %20) store i64 11, i64* %sv_2.0.reg2mem store i32 256, i32* %sv_5.0.reg2mem store i64 12, i64* %sv_4.0.reg2mem br label LBL_5 LBL_5: %sv_4.0.reload = load i64, i64* %sv_4.0.reg2mem %sv_5.0.reload = load i32, i32* %sv_5.0.reg2mem %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %22 = and i64 %3, 4294967295 %23 = zext i32 %sv_5.0.reload to i64 %24 = call i64 @FUNC(i64 %6, i64 %23, i64 %sv_4.0.reload, i64 %22) store i32 %sv_5.0.reload, i32* %sv_3.0.ph.reg2mem store i64 %sv_2.0.reload, i64* %sv_2.1.ph.reg2mem br label LBL_6 LBL_6: %25 = trunc i64 %3 to i32 %26 = icmp eq i32 %25, 0 %27 = icmp eq i1 %26, false store i64 %3, i64* %sv_0.0.lcssa.reg2mem br i1 %27, label LBL_7, label LBL_15 LBL_7: %28 = ptrtoint i64* %sv_6 to i64 %29 = add i64 %2, 16 %30 = bitcast i64* %rdi to i32* %sv_2.1.ph.reload = load i64, i64* %sv_2.1.ph.reg2mem %sv_3.0.ph.reload = load i32, i32* %sv_3.0.ph.reg2mem %31 = and i64 %sv_2.1.ph.reload, 4294967295 %32 = add i64 %28, -8 %33 = inttoptr i64 %32 to i64* %34 = zext i32 %sv_3.0.ph.reload to i64 %35 = inttoptr i64 %29 to i64* %36 = add i64 %2, 32 %37 = inttoptr i64 %36 to i32* %38 = add i64 %2, 24 %39 = inttoptr i64 %38 to i64* store i32 %7, i32* %.reg2mem store i64 %sext, i64* %.in.in.reg2mem store i64 %6, i64* %sv_1.06.in.reg2mem br label LBL_8 LBL_8: %sv_1.06.in.reload = load i64, i64* %sv_1.06.in.reg2mem %.in.in.reload = load i64, i64* %.in.in.reg2mem %.reload = load i32, i32* %.reg2mem %sv_1.06 = inttoptr i64 %sv_1.06.in.reload to i32* %40 = icmp eq i32 %.reload, 3 %41 = icmp eq i1 %40, false %42 = load i32, i32* %sv_1.06, align 4 br i1 %41, label LBL_10, label LBL_9 LBL_9: %43 = call i64 @FUNC(i64 %29, i32 %42, i64 0, i64 0) store i64 %43, i64* %storemerge4.in.reg2mem br label LBL_11 LBL_10: store i64 %31, i64* %33, align 8 %44 = call i64 @FUNC(i64 %29, i32 %42, i64 0, i64 0, i64 0, i64 %34) store i64 %44, i64* %storemerge4.in.reg2mem br label LBL_11 LBL_11: %storemerge4.in.reload = load i64, i64* %storemerge4.in.reg2mem %storemerge4 = trunc i64 %storemerge4.in.reload to i32 store i32 %storemerge4, i32* %sv_1.06, align 4 %45 = load i64, i64* %35, align 8 %46 = add i64 %45, 4 store i64 %46, i64* %35, align 8 %47 = load i32, i32* %37, align 4 %48 = add i32 %47, 1 store i32 %48, i32* %37, align 4 %49 = load i64, i64* %35, align 8 %50 = load i64, i64* %39, align 8 %51 = add i64 %50, 4096 %52 = icmp eq i64 %49, %51 %53 = icmp eq i1 %52, false br i1 %53, label LBL_12, label LBL_14 LBL_12: %.in = add i64 %.in.in.reload, -4294967296 %54 = ashr exact i64 %.in, 32 %55 = trunc i64 %54 to i32 %56 = icmp eq i32 %55, 0 %57 = icmp eq i1 %56, false store i64 %54, i64* %sv_0.0.lcssa.reg2mem br i1 %57, label LBL_12.LBL_8_crit_edge, label LBL_15 LBL_13: %storemerge.in = add i64 %sv_1.06.in.reload, 4 %.pre = load i32, i32* %30, align 8 store i32 %.pre, i32* %.reg2mem store i64 %.in, i64* %.in.in.reg2mem store i64 %storemerge.in, i64* %sv_1.06.in.reg2mem br label LBL_8 LBL_14: %58 = inttoptr i64 %50 to i64* %59 = inttoptr i64 %49 to i64* %60 = call i64* @memmove(i64* %58, i64* %59, i32 512) %61 = load i64, i64* %39, align 8 store i64 %61, i64* %35, align 8 br label LBL_12 LBL_15: %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem %62 = and i64 %sv_0.0.lcssa.reload, 4294967295 ret i64 %62 uselistorder i32 %42, { 1, 0 } uselistorder i64 %sv_1.06.in.reload, { 1, 0 } uselistorder i64 %29, { 2, 0, 1 } uselistorder i32 %7, { 0, 2, 1 } uselistorder i64 %3, { 0, 1, 4, 2, 3 } uselistorder i64 %2, { 0, 1, 4, 2, 3 } uselistorder i32* %sv_3.0.ph.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %sv_2.1.ph.reg2mem, { 0, 2, 1, 3 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %.in.in.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.06.in.reg2mem, { 1, 0, 2 } uselistorder i32 0, { 1, 0 } uselistorder i64 11, { 1, 0 } uselistorder i64 10, { 2, 0, 1 } uselistorder i64 (i64, i64, i64, i64)* @long_filter_high_3800, { 1, 0 } uselistorder i64 16, { 1, 0 } uselistorder i64 4294967295, { 3, 0, 2, 1, 4 } uselistorder i1 false, { 3, 1, 2, 0, 4, 5 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_6, { 2, 1, 0 } }
0
CompRealVul
ap_decrease_queue_count_8859
ap_decrease_queue_count
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = add i32 %5, -1 store i32 %6, i32* %4, align 4 %7 = icmp slt i32 %6, 1 %8 = add i64 %2, 12 br i1 %7, label LBL_2, label LBL_1 LBL_1: %9 = and i64 %1, 4294967295 %10 = call i64 @FUNC(i64 %8, i64 %9) store i64 %10, i64* %rax.0.reg2mem br label LBL_3 LBL_2: %11 = inttoptr i64 %8 to i32* store i32 1, i32* %11, align 4 store i64 %2, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %8, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } }
0
CompRealVul
vbg_linux_mouse_event_9566
vbg_linux_mouse_event
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = bitcast i64* %arg1 to i32* store i32 0, i32* %1, align 4 %2 = add i64 %0, 4 %3 = inttoptr i64 %2 to i32* store i32 0, i32* %3, align 4 %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i32* store i32 0, i32* %5, align 4 %6 = call i64 @FUNC(i64 %0, i64 %0) %7 = trunc i64 %6 to i32 %8 = icmp slt i32 %7, 0 store i64 %6, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = load i32, i32* %3, align 4 %10 = inttoptr i64 %4 to i64* %11 = load i64, i64* %10, align 8 %12 = call i64 @FUNC(i64 %11, i64 0, i32 %9) %13 = add i64 %11, 8 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = load i64, i64* %10, align 8 %17 = call i64 @FUNC(i64 %16, i64 1, i32 %15) %18 = load i64, i64* %10, align 8 %19 = call i64 @FUNC(i64 %18) store i64 %19, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %10, { 1, 0, 2 } uselistorder i64 %0, { 1, 0, 2, 3 } uselistorder i64 (i64, i64, i32)* @input_report_abs, { 1, 0 } }
0
CompRealVul
expr_unary_14312
expr_unary
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %sv_1.1.reg2mem = alloca i8* %storemerge2.in.in.in.reg2mem = alloca i8* %sv_1.0.reg2mem = alloca i8* %storemerge2.in.in.in.pre.reg2mem = alloca i8* %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %0 = load i8*, i8** @gv_0, align 8 %1 = load i8, i8* %0, align 1 %2 = icmp sgt i8 %1, 45 br i1 %2, label LBL_3, label LBL_1 LBL_1: %3 = icmp slt i8 %1, 0 br i1 %3, label LBL_29, label LBL_2 LBL_2: %4 = sext i8 %1 to i64 %5 = sext i8 %1 to i32 %6 = and i64 %4, 4294967295 store i64 %6, i64* @0, align 8 switch i32 %5, label LBL_29 [ i32 0, label LBL_28 i32 36, label LBL_15 i32 39, label LBL_10 i32 40, label LBL_7 i32 43, label LBL_4 i32 45, label LBL_5 ] LBL_3: %7 = icmp eq i8 %1, 126 br i1 %7, label LBL_6, label LBL_29 LBL_4: %8 = call i64 @FUNC() %9 = call i64 @FUNC(i64 %arg1) store i64 %9, i64* %sv_0.0.reg2mem br label LBL_33 LBL_5: %10 = call i64 @FUNC() %11 = call i64 @FUNC(i64 %arg1) %12 = sub i64 0, %11 store i64 %12, i64* %sv_0.0.reg2mem br label LBL_33 LBL_6: %13 = call i64 @FUNC() %14 = call i64 @FUNC(i64 %arg1) %15 = sub i64 0, %14 %16 = sub i64 %15, 1 store i64 %16, i64* %sv_0.0.reg2mem br label LBL_33 LBL_7: %17 = call i64 @FUNC() %18 = call i64 @FUNC(i64 %arg1) %19 = load i8*, i8** @gv_0, align 8 %20 = load i8, i8* %19, align 1 %21 = icmp eq i8 %20, 41 br i1 %21, label LBL_9, label LBL_8 LBL_8: %22 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0)) unreachable LBL_9: %23 = call i64 @FUNC() store i64 %18, i64* %sv_0.0.reg2mem br label LBL_33 LBL_10: %24 = ptrtoint i8* %0 to i64 %25 = add i64 %24, 1 %26 = inttoptr i64 %25 to i8* store i8* %26, i8** @gv_0, align 8 %27 = load i8, i8* %26, align 1 %28 = icmp eq i8 %27, 0 %29 = icmp eq i1 %28, false br i1 %29, label LBL_12, label LBL_11 LBL_11: %30 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0)) unreachable LBL_12: %31 = add i64 %24, 2 %32 = inttoptr i64 %31 to i8* store i8* %32, i8** @gv_0, align 8 %33 = load i8, i8* %32, align 1 %34 = icmp eq i8 %33, 39 br i1 %34, label LBL_14, label LBL_13 LBL_13: %35 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_3, i64 0, i64 0)) unreachable LBL_14: %36 = sext i8 %27 to i64 %37 = call i64 @FUNC() store i64 %36, i64* %sv_0.0.reg2mem br label LBL_33 LBL_15: store i64 0, i64* %sv_4, align 8 %38 = bitcast i64* %sv_3 to i8* %39 = ptrtoint i64* %sv_3 to i64 store i8* %0, i8** %storemerge2.in.in.in.reg2mem store i8* %38, i8** %sv_1.1.reg2mem br label LBL_19 LBL_16: %40 = ptrtoint i8* %sv_1.1.reload to i64 %41 = sub i64 %40, %39 %42 = icmp ult i64 %41, 127 store i8* %storemerge2, i8** %storemerge2.in.in.in.pre.reg2mem store i8* %sv_1.1.reload, i8** %sv_1.0.reg2mem br i1 %42, label LBL_17, label LBL_18 LBL_17: %43 = add i64 %40, 1 %44 = inttoptr i64 %43 to i8* store i8 %45, i8* %sv_1.1.reload, align 1 %storemerge2.in.in.in.pre.pre = load i8*, i8** @gv_0, align 8 store i8* %storemerge2.in.in.in.pre.pre, i8** %storemerge2.in.in.in.pre.reg2mem store i8* %44, i8** %sv_1.0.reg2mem br label LBL_18 LBL_18: %sv_1.0.reload = load i8*, i8** %sv_1.0.reg2mem %storemerge2.in.in.in.pre.reload = load i8*, i8** %storemerge2.in.in.in.pre.reg2mem store i8* %storemerge2.in.in.in.pre.reload, i8** %storemerge2.in.in.in.reg2mem store i8* %sv_1.0.reload, i8** %sv_1.1.reg2mem br label LBL_19 LBL_19: %sv_1.1.reload = load i8*, i8** %sv_1.1.reg2mem %storemerge2.in.in.in.reload = load i8*, i8** %storemerge2.in.in.in.reg2mem %storemerge2.in.in = ptrtoint i8* %storemerge2.in.in.in.reload to i64 %storemerge2.in = add i64 %storemerge2.in.in, 1 %storemerge2 = inttoptr i64 %storemerge2.in to i8* store i8* %storemerge2, i8** @gv_0, align 8 %45 = load i8, i8* %storemerge2, align 1 %46 = and i8 %45, -33 %47 = add i8 %46, -65 %48 = icmp ult i8 %47, 26 %.off6 = add i8 %45, -48 %49 = icmp ult i8 %.off6, 10 %or.cond9 = or i1 %49, %48 br i1 %or.cond9, label LBL_16, label LBL_20 LBL_20: switch i8 %45, label LBL_21 [ i8 95, label LBL_16 i8 46, label LBL_16 ] LBL_21: %50 = sext i8 %45 to i64 %51 = and i64 %50, 4294967295 %52 = call i64 @FUNC(i64 %51) %53 = trunc i64 %52 to i32 %54 = icmp eq i32 %53, 0 %55 = icmp eq i1 %54, false br i1 %55, label LBL_22, label LBL_23 LBL_22: %56 = load i8*, i8** @gv_0, align 8 %57 = ptrtoint i8* %56 to i64 %58 = add i64 %57, 1 %59 = inttoptr i64 %58 to i8* store i8* %59, i8** @gv_0, align 8 %60 = load i8, i8* %59, align 1 %61 = sext i8 %60 to i64 %62 = and i64 %61, 4294967295 %63 = call i64 @FUNC(i64 %62) %64 = trunc i64 %63 to i32 %65 = icmp eq i32 %64, 0 %66 = icmp eq i1 %65, false br i1 %66, label LBL_22, label LBL_23 LBL_23: store i8 0, i8* %sv_1.1.reload, align 1 %67 = call i64 @FUNC(i64* nonnull %sv_4, i64* nonnull %sv_3) %68 = trunc i64 %67 to i32 %69 = icmp eq i32 %68, -1 %70 = icmp eq i1 %69, false br i1 %70, label LBL_25, label LBL_24 LBL_24: %71 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_4, i64 0, i64 0)) unreachable LBL_25: %72 = icmp eq i32 %68, -2 %73 = icmp eq i1 %72, false br i1 %73, label LBL_27, label LBL_26 LBL_26: %74 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_5, i64 0, i64 0)) unreachable LBL_27: %75 = load i64, i64* %sv_4, align 8 store i64 %75, i64* %sv_0.0.reg2mem br label LBL_33 LBL_28: %76 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_6, i64 0, i64 0)) unreachable LBL_29: %77 = bitcast i64* %sv_2 to i8** %78 = call i32 @strtoul(i8* %0, i8** nonnull %77, i32 0) %79 = load i8*, i8** @gv_0, align 8 %80 = ptrtoint i8* %79 to i64 %81 = load i64, i64* %sv_2, align 8 %82 = icmp eq i64 %81, %80 %83 = icmp eq i1 %82, false br i1 %83, label LBL_30, label LBL_31 LBL_30: %84 = sext i32 %78 to i64 %storemerge10 = inttoptr i64 %81 to i8* store i8* %storemerge10, i8** @gv_0, align 8 %85 = load i8, i8* %storemerge10, align 1 %86 = sext i8 %85 to i64 %87 = and i64 %86, 4294967295 %88 = call i64 @FUNC(i64 %87) %89 = trunc i64 %88 to i32 %90 = icmp eq i32 %89, 0 %91 = icmp eq i1 %90, false store i64 %84, i64* %sv_0.0.reg2mem br i1 %91, label LBL_32, label LBL_33 LBL_31: %92 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_7, i64 0, i64 0)) unreachable LBL_32: %93 = load i8*, i8** @gv_0, align 8 %94 = ptrtoint i8* %93 to i64 %95 = add i64 %94, 1 %storemerge = inttoptr i64 %95 to i8* store i8* %storemerge, i8** @gv_0, align 8 %96 = load i8, i8* %storemerge, align 1 %97 = sext i8 %96 to i64 %98 = and i64 %97, 4294967295 %99 = call i64 @FUNC(i64 %98) %100 = trunc i64 %99 to i32 %101 = icmp eq i32 %100, 0 %102 = icmp eq i1 %101, false store i64 %84, i64* %sv_0.0.reg2mem br i1 %102, label LBL_32, label LBL_33 LBL_33: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem ret i64 %sv_0.0.reload uselistorder i8 %45, { 0, 4, 3, 2, 1 } uselistorder i8* %storemerge2, { 1, 2, 0 } uselistorder i8* %sv_1.1.reload, { 2, 1, 3, 0 } uselistorder i8 %1, { 0, 2, 4, 1, 3 } uselistorder i8* %0, { 1, 0, 2, 3 } uselistorder i64* %sv_4, { 1, 0, 2 } uselistorder i64* %sv_3, { 1, 2, 0 } uselistorder i64* %sv_2, { 1, 0 } uselistorder i8** %storemerge2.in.in.in.pre.reg2mem, { 0, 2, 1 } uselistorder i8** %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 1, 2, 3, 4, 5, 8, 7, 6 } uselistorder i64 (i64)* @qemu_isspace, { 2, 1, 3, 0 } uselistorder i1 false, { 6, 1, 7, 2, 3, 4, 0, 5 } uselistorder i64 (i64, i8*)* @expr_error, { 0, 6, 5, 4, 3, 2, 1 } uselistorder i64 1, { 6, 3, 2, 4, 5, 0, 1, 7 } uselistorder i64 ()* @next, { 5, 4, 3, 0, 2, 1 } uselistorder i32 0, { 5, 1, 3, 4, 0, 2 } uselistorder i64 4294967295, { 3, 2, 4, 1, 5, 0 } uselistorder i8 0, { 2, 3, 0, 1 } uselistorder i64 %arg1, { 9, 0, 2, 1, 4, 3, 5, 6, 10, 8, 7 } uselistorder label LBL_33, { 0, 1, 2, 3, 4, 7, 5, 6 } uselistorder label LBL_32, { 1, 0 } uselistorder label LBL_22, { 1, 0 } uselistorder label LBL_18, { 1, 0 } }
1
CompRealVul
cmsStageAllocCLutFloatGranular_18481
cmsStageAllocCLutFloatGranular
define i64 @FUNC(i64 %arg1, i32* %arg2, i32 %arg3, i32 %arg4, i64* %arg5) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem6 = alloca i64 %indvars.iv.reg2mem = alloca i64 %.reg2mem = alloca i64 %0 = icmp eq i32* %arg2, null %1 = icmp eq i1 %0, false %2 = zext i1 %1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = call i64 @FUNC(i64 %arg1, i64 0, i32 %arg3, i32 %arg4, i64 4199012, i64 4199019) %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_1, label LBL_11 LBL_1: %7 = call i64 @FUNC(i64 %arg1, i64 24) %8 = icmp eq i64 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = call i64 @FUNC(i64 %4) store i64 0, i64* %rax.0.reg2mem br label LBL_11 LBL_3: %11 = inttoptr i64 %7 to i32* %12 = inttoptr i64 %4 to i64* store i64 %7, i64* %12, align 8 %13 = ptrtoint i32* %arg2 to i64 %14 = zext i32 %arg3 to i64 %15 = call i64 @FUNC(i64 %13, i64 %14) %16 = trunc i64 %15 to i32 %17 = mul i32 %16, %arg4 store i32 %17, i32* %11, align 4 %18 = add i64 %7, 4 %19 = inttoptr i64 %18 to i32* store i32 1, i32* %19, align 4 %20 = icmp eq i32 %17, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_5, label LBL_4 LBL_4: %22 = call i64 @FUNC(i64 %4) store i64 0, i64* %rax.0.reg2mem br label LBL_11 LBL_5: %23 = zext i32 %17 to i64 %24 = call i64 @FUNC(i64 %arg1, i64 %23, i64 4) %25 = add i64 %7, 8 %26 = inttoptr i64 %25 to i64* store i64 %24, i64* %26, align 8 %27 = icmp eq i64 %24, 0 %28 = icmp eq i1 %27, false br i1 %28, label LBL_7, label LBL_6 LBL_6: %29 = call i64 @FUNC(i64 %4) store i64 0, i64* %rax.0.reg2mem br label LBL_11 LBL_7: %30 = ptrtoint i64* %arg5 to i64 %31 = icmp eq i64* %arg5, null store i64 %24, i64* %.reg2mem store i64 0, i64* %indvars.iv.reg2mem store i64 %24, i64* %.reg2mem6 br i1 %31, label LBL_9, label LBL_8 LBL_8: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %.reload = load i64, i64* %.reg2mem %32 = mul i64 %indvars.iv.reload, 4 %33 = add i64 %32, %30 %34 = add i64 %32, %.reload %35 = inttoptr i64 %33 to i32* %36 = load i32, i32* %35, align 4 %37 = call i128 @FUNC(i32 %36) %38 = call i64 @__asm_movss.1(i128 %37) %39 = trunc i64 %38 to i32 %40 = inttoptr i64 %34 to i32* store i32 %39, i32* %40, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %23 %.pre4.pre = load i64, i64* %26, align 8 store i64 %.pre4.pre, i64* %.reg2mem store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %.pre4.pre, i64* %.reg2mem6 br i1 %exitcond, label LBL_9, label LBL_8 LBL_9: %.reload7 = load i64, i64* %.reg2mem6 %41 = call i64 @FUNC(i64 %arg1, i64 %13, i32 %arg3, i32 %arg4, i64 %.reload7, i64 0) %42 = add i64 %7, 16 %43 = inttoptr i64 %42 to i64* store i64 %41, i64* %43, align 8 %44 = icmp eq i64 %41, 0 %45 = icmp eq i1 %44, false store i64 %4, i64* %rax.0.reg2mem br i1 %45, label LBL_11, label LBL_10 LBL_10: %46 = call i64 @FUNC(i64 %4) store i64 0, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %32, { 1, 0 } uselistorder i32 %17, { 0, 2, 1 } uselistorder i64 %4, { 3, 0, 2, 1, 4, 5, 6 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 5, 4, 3, 2 } uselistorder i64 1, { 1, 0 } uselistorder i32 %arg4, { 1, 0, 2 } uselistorder label LBL_11, { 2, 0, 3, 4, 5, 1 } uselistorder label LBL_8, { 1, 0 } }
1
CompRealVul
dcb_outp_parse_7584
dcb_outp_parse
define i64 @FUNC(i64* %arg1, i8 %arg2, i8* %arg3, i8* %arg4, i64* %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.1.reg2mem = alloca i32 %sv_0.03.reg2mem = alloca i32 %rdx = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i8* %arg4 to i64 %3 = ptrtoint i8* %arg3 to i64 %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i64 %4, i8 %arg2, i64 %3, i64 %2) %6 = trunc i64 %5 to i16 %7 = icmp eq i16 %6, 0 store i32 0, i32* %sv_0.1.reg2mem br i1 %7, label LBL_18, label LBL_1 LBL_1: %8 = ptrtoint i64* %arg5 to i64 %9 = trunc i64 %1 to i8 %10 = icmp ult i8 %9, 32 store i32 0, i32* %sv_0.03.reg2mem br i1 %10, label LBL_17, label LBL_2 LBL_2: %11 = sext i16 %6 to i32 %12 = bitcast i64* %rdx to i8* %13 = urem i32 %11, 65536 %14 = zext i32 %13 to i64 %15 = call i64 @FUNC(i64 %4, i64 %14) %16 = trunc i64 %15 to i32 %17 = udiv i32 %16, 16777216 %18 = trunc i32 %17 to i8 %19 = urem i8 %18, 16 %20 = bitcast i64* %arg5 to i8* store i8 %19, i8* %20, align 1 %21 = udiv i32 %16, 1048576 %22 = trunc i32 %21 to i8 %23 = urem i8 %22, 4 %24 = add i64 %8, 1 %25 = inttoptr i64 %24 to i8* store i8 %23, i8* %25, align 1 %26 = udiv i32 %16, 65536 %27 = trunc i32 %26 to i8 %28 = urem i8 %27, 16 %29 = add i64 %8, 2 %30 = inttoptr i64 %29 to i8* store i8 %28, i8* %30, align 1 %31 = udiv i32 %16, 4096 %32 = trunc i32 %31 to i8 %33 = urem i8 %32, 16 %34 = add i64 %8, 3 %35 = inttoptr i64 %34 to i8* store i8 %33, i8* %35, align 1 %36 = udiv i32 %16, 256 %37 = trunc i32 %36 to i8 %38 = urem i8 %37, 16 %39 = add i64 %8, 4 %40 = inttoptr i64 %39 to i8* store i8 %38, i8* %40, align 1 %41 = udiv i32 %16, 16 %42 = trunc i32 %41 to i8 %43 = urem i8 %42, 16 %44 = add i64 %8, 5 %45 = inttoptr i64 %44 to i8* store i8 %43, i8* %45, align 1 %46 = trunc i64 %15 to i8 %47 = urem i8 %46, 16 %48 = add i64 %8, 6 %49 = inttoptr i64 %48 to i8* store i8 %47, i8* %49, align 1 %50 = add i64 %8, 7 %51 = inttoptr i64 %50 to i8* store i8 0, i8* %51, align 1 %.pr = load i8, i8* %12, align 8 %52 = icmp ult i8 %.pr, 64 store i32 %11, i32* %sv_0.03.reg2mem br i1 %52, label LBL_17, label LBL_3 LBL_3: %53 = add nsw i32 %11, 4 %54 = urem i32 %53, 65536 %55 = zext i32 %54 to i64 %56 = call i64 @FUNC(i64 %4, i64 %55) %57 = trunc i64 %56 to i32 %58 = load i8, i8* %49, align 1 store i32 %11, i32* %sv_0.03.reg2mem switch i8 %58, label LBL_4 [ i8 1, label LBL_5 i8 0, label LBL_17 ] LBL_4: %59 = or i8 %58, 1 %60 = icmp eq i8 %59, 3 store i32 %11, i32* %sv_0.03.reg2mem br i1 %60, label LBL_15, label LBL_17 LBL_5: %61 = and i32 %57, 14680064 %62 = icmp eq i32 %61, 0 br i1 %62, label LBL_7, label LBL_6 LBL_6: %63 = icmp eq i32 %61, 2097152 %64 = add i64 %8, 8 %65 = inttoptr i64 %64 to i8* br i1 %63, label LBL_8, label LBL_9 LBL_7: %66 = add i64 %8, 8 %67 = inttoptr i64 %66 to i8* store i8 6, i8* %67, align 1 br label LBL_10 LBL_8: store i8 10, i8* %65, align 1 br label LBL_10 LBL_9: store i8 20, i8* %65, align 1 br label LBL_10 LBL_10: %68 = and i32 %57, 251658240 %69 = icmp eq i32 %68, 50331648 br i1 %69, label LBL_13, label LBL_11 LBL_11: %70 = icmp eq i32 %68, 251658240 %71 = icmp eq i1 %70, false %72 = add i64 %8, 9 %73 = inttoptr i64 %72 to i8* br i1 %71, label LBL_14, label LBL_12 LBL_12: store i8 4, i8* %73, align 1 br label LBL_15 LBL_13: %74 = add i64 %8, 9 %75 = inttoptr i64 %74 to i8* store i8 2, i8* %75, align 1 br label LBL_15 LBL_14: store i8 1, i8* %73, align 1 br label LBL_15 LBL_15: %76 = udiv i32 %57, 16 %77 = trunc i32 %76 to i8 %78 = urem i8 %77, 4 store i8 %78, i8* %51, align 1 %79 = add i64 %8, 10 %80 = inttoptr i64 %79 to i8* store i8 %78, i8* %80, align 1 %81 = add i64 %8, 11 %82 = inttoptr i64 %81 to i8* store i8 0, i8* %82, align 1 %83 = load i8, i8* %25, align 1 %84 = icmp eq i8 %83, 0 store i32 %11, i32* %sv_0.03.reg2mem br i1 %84, label LBL_17, label LBL_16 LBL_16: %85 = udiv i32 %57, 256 %86 = trunc i32 %85 to i8 store i8 %86, i8* %82, align 1 store i32 %11, i32* %sv_0.03.reg2mem br label LBL_17 LBL_17: %sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem %87 = call i64 @FUNC(i64 %8) %88 = trunc i64 %87 to i16 %89 = add i64 %8, 12 %90 = inttoptr i64 %89 to i16* store i16 %88, i16* %90, align 2 %91 = call i64 @FUNC(i64 %8) %92 = trunc i64 %91 to i16 %93 = add i64 %8, 14 %94 = inttoptr i64 %93 to i16* store i16 %92, i16* %94, align 2 store i32 %sv_0.03.reload, i32* %sv_0.1.reg2mem br label LBL_18 LBL_18: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %95 = urem i32 %sv_0.1.reload, 65536 %96 = zext i32 %95 to i64 ret i64 %96 uselistorder i8 %78, { 1, 0 } uselistorder i8* %73, { 1, 0 } uselistorder i8 %58, { 1, 0 } uselistorder i32 %11, { 2, 3, 1, 4, 6, 0, 5 } uselistorder i64 %8, { 13, 14, 15, 16, 9, 10, 11, 8, 12, 7, 0, 1, 2, 3, 4, 5, 6 } uselistorder i64 %4, { 1, 0, 2 } uselistorder i32* %sv_0.03.reg2mem, { 0, 4, 5, 3, 6, 2, 1 } uselistorder i64 9, { 1, 0 } uselistorder i64 8, { 1, 0 } uselistorder i8 1, { 2, 1, 0 } uselistorder i8 4, { 0, 2, 1 } uselistorder i64 (i64, i64)* @nv_ro32, { 1, 0 } uselistorder i32 0, { 2, 1, 0 } uselistorder label LBL_17, { 3, 2, 4, 1, 5, 0 } uselistorder label LBL_15, { 1, 2, 3, 0 } }
1
CompRealVul
arm_cpu_initfn_14689
arm_cpu_initfn
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = inttoptr i64 %1 to i64* store i64 %2, i64* %3, align 8 %4 = call i64 @FUNC(i64 %1, i64* nonnull @gv_0) %5 = load i64, i64* @gv_1, align 8 %6 = load i64, i64* @gv_2, align 8 %7 = load i64, i64* @gv_3, align 8 %8 = call i64 @FUNC(i64 %7, i64 %6, i64 %5, i64 %5) %9 = add i64 %2, 8 %10 = inttoptr i64 %9 to i64* store i64 %8, i64* %10, align 8 %11 = add i64 %1, 8 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = add i32 %13, 3 %15 = icmp slt i32 %13, 0 %16 = select i1 %15, i32 %14, i32 %13 %17 = udiv i32 %16, 4 %18 = srem i32 %13, 4 %19 = mul i32 %17, 256 %20 = or i32 %18, %19 %21 = add i64 %2, 16 %22 = inttoptr i64 %21 to i32* store i32 %20, i32* %22, align 4 %23 = call i64 @FUNC() %24 = trunc i64 %23 to i8 %25 = icmp eq i8 %24, 0 br i1 %25, label LBL_2, label LBL_1 LBL_1: %26 = load i64, i64* @gv_4, align 8 %27 = call i64 @FUNC(i64 %2) %28 = call i64 @FUNC(i64 %27, i64 %26, i64 4) br label LBL_3 LBL_2: %29 = load i64, i64* @gv_5, align 8 %30 = call i64 @FUNC(i64 %2) %31 = call i64 @FUNC(i64 %30, i64 %29, i64 4) br label LBL_3 LBL_3: %32 = call i64 @FUNC(i64 0, i64 1, i64 4198892, i64 %2) %33 = add i64 %2, 40 %34 = inttoptr i64 %33 to i64* store i64 %32, i64* %34, align 8 %35 = call i64 @FUNC(i64 0, i64 1, i64 4198899, i64 %2) %36 = add i64 %2, 48 %37 = inttoptr i64 %36 to i64* store i64 %35, i64* %37, align 8 %38 = call i64 @FUNC(i64 0, i64 1, i64 4198906, i64 %2) %39 = add i64 %2, 56 %40 = inttoptr i64 %39 to i64* store i64 %38, i64* %40, align 8 %41 = call i64 @FUNC(i64 0, i64 1, i64 4198913, i64 %2) %42 = add i64 %2, 64 %43 = inttoptr i64 %42 to i64* store i64 %41, i64* %43, align 8 %44 = add i64 %2, 72 %45 = inttoptr i64 %44 to i64* %46 = load i64, i64* %45, align 8 %47 = call i64 @FUNC(i64 %2) %48 = call i64 @FUNC(i64 %47, i64 %46, i64 8) %49 = add i64 %2, 24 %50 = inttoptr i64 %49 to i64* store i64 ptrtoint ([13 x i8]* @gv_6 to i64), i64* %50, align 8 %51 = add i64 %2, 32 %52 = inttoptr i64 %51 to i32* store i32 1, i32* %52, align 4 %53 = add i64 %2, 36 %54 = inttoptr i64 %53 to i32* store i32 0, i32* %54, align 4 %55 = call i64 @FUNC() %56 = trunc i64 %55 to i8 %57 = icmp eq i8 %56, 0 store i64 %55, i64* %rax.0.reg2mem br i1 %57, label LBL_6, label LBL_4 LBL_4: store i32 2, i32* %52, align 4 %58 = load i8, i8* bitcast (i32* @gv_7 to i8*), align 4 %59 = icmp eq i8 %58, 1 store i64 0, i64* %rax.0.reg2mem br i1 %59, label LBL_6, label LBL_5 LBL_5: store i8 1, i8* bitcast (i32* @gv_7 to i8*), align 4 %60 = call i64 @FUNC() store i64 %60, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %5, { 1, 0 } uselistorder i64 %2, { 1, 2, 5, 4, 3, 7, 6, 9, 8, 11, 10, 13, 12, 14, 0, 15, 16, 17 } uselistorder i8 1, { 1, 0 } uselistorder i8* bitcast (i32* @gv_7 to i8*), { 1, 0 } uselistorder i64 (i64, i64, i64, i64)* @timer_new, { 3, 2, 1, 0 } uselistorder i64 1, { 1, 2, 3, 4, 0 } uselistorder i64 (i64, i64, i64)* @qdev_init_gpio_in, { 1, 0 } uselistorder i64 (i64)* @DEVICE, { 2, 1, 0 } uselistorder i32 4, { 1, 0 } uselistorder i32 0, { 1, 2, 0 } }
1
CompRealVul
update_sar_3219
update_sar
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %0 = and i64 %arg1, 4294967295 %sext4 = mul i64 %arg2, 4294967296 %sext5 = mul i64 %arg4, 4294967296 %1 = and i64 %arg5, 4294967295 %2 = trunc i64 %arg3 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false %spec.select = select i1 %4, i64 %arg3, i64 1 %5 = or i64 %sext4, %0 %6 = or i64 %1, %sext5 %7 = call i64 @FUNC(i64 %6, i64 %5) %8 = call i64 @FUNC(i64 %spec.select, i64 %7) ret i64 %8 uselistorder i64 (i64, i64)* @av_mul_q, { 1, 0 } }
0
CompRealVul
scsi_req_cancel_async_747
scsi_req_cancel_async
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 12 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = add i64 %2, 8 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = zext i32 %8 to i64 %10 = and i64 %1, 4294967295 %11 = call i64 @FUNC(i64 %10, i64 %9, i32 %5) %12 = icmp eq i64* %arg2, null br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = ptrtoint i64* %arg2 to i64 %14 = add i64 %2, 32 %15 = call i64 @FUNC(i64 %14, i64 %13) br label LBL_2 LBL_2: %16 = add i64 %2, 16 %17 = inttoptr i64 %16 to i8* %18 = load i8, i8* %17, align 1 %19 = icmp eq i8 %18, 0 %.pre = add i64 %2, 24 %.pre1 = inttoptr i64 %.pre to i64* br i1 %19, label LBL_5, label LBL_3 LBL_3: %20 = load i64, i64* %.pre1, align 8 %21 = icmp eq i64 %20, 0 %22 = icmp eq i1 %21, false store i64 %20, i64* %rax.0.reg2mem br i1 %22, label LBL_8, label LBL_4 LBL_4: call void @__assert_fail(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i32 51, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0)) br label LBL_5 LBL_5: %23 = call i64 @FUNC(i64 %2) %24 = call i64 @FUNC(i64 %2) store i8 1, i8* %17, align 1 %25 = load i64, i64* %.pre1, align 8 %26 = icmp eq i64 %25, 0 br i1 %26, label LBL_7, label LBL_6 LBL_6: %27 = call i64 @FUNC(i64 %25) store i64 %27, i64* %rax.0.reg2mem br label LBL_8 LBL_7: %28 = call i64 @FUNC(i64 %2) store i64 %28, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %2, { 2, 4, 3, 0, 5, 1, 6, 7 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_8, { 1, 2, 0 } uselistorder label LBL_5, { 1, 0 } }
0
CompRealVul
qemu_chr_open_pipe_16729
qemu_chr_open_pipe
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC() %2 = call i64 @FUNC(i64 0) %3 = inttoptr i64 %1 to i64* store i64 %2, i64* %3, align 8 %4 = add i64 %1, 8 %5 = inttoptr i64 %4 to i64* store i64 4198850, i64* %5, align 8 %6 = add i64 %1, 16 %7 = inttoptr i64 %6 to i64* store i64 4198861, i64* %7, align 8 %8 = call i64 @FUNC(i64 %1, i64 %0) %9 = trunc i64 %8 to i32 %10 = icmp slt i32 %9, 0 %11 = icmp eq i1 %10, false store i64 %1, i64* %storemerge.reg2mem br i1 %11, label LBL_2, label LBL_1 LBL_1: %12 = call i64 @FUNC(i64 %2) %13 = call i64 @FUNC(i64 %1) store i64 0, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %1, { 1, 0, 2, 3, 4, 5 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
cache_fini_15049
cache_fini
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rdi.0.lcssa.reg2mem = alloca i64 %rdi.01.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = and i64 %0, 4294967295 %2 = call i64 @FUNC(i64 %1) %3 = call i64 @FUNC(i64 %1) %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = icmp sgt i64 %6, 0 store i64 0, i64* %storemerge2.reg2mem store i64 %1, i64* %rdi.01.reg2mem store i64 %1, i64* %rdi.0.lcssa.reg2mem br i1 %7, label LBL_1, label LBL_2 LBL_1: %rdi.01.reload = load i64, i64* %rdi.01.reg2mem %storemerge2.reload = load i64, i64* %storemerge2.reg2mem %8 = mul i64 %storemerge2.reload, 8 %9 = add i64 %8, %rdi.01.reload %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = call i64 @FUNC(i64 %11) %13 = add nuw nsw i64 %storemerge2.reload, 1 %14 = load i64, i64* %5, align 8 %15 = icmp slt i64 %13, %14 store i64 %13, i64* %storemerge2.reg2mem store i64 %11, i64* %rdi.01.reg2mem store i64 %11, i64* %rdi.0.lcssa.reg2mem br i1 %15, label LBL_1, label LBL_2 LBL_2: %rdi.0.lcssa.reload = load i64, i64* %rdi.0.lcssa.reg2mem %16 = call i64 @FUNC(i64 %rdi.0.lcssa.reload) store i64 0, i64* %arg1, align 8 ret i64 %0 uselistorder i64* %5, { 1, 0 } uselistorder i64* %storemerge2.reg2mem, { 2, 0, 1 } uselistorder i64* %rdi.01.reg2mem, { 2, 0, 1 } uselistorder i64 (i64)* @g_assert, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
CompRealVul
compact_input_order_8784
compact_input_order
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %storemerge14.reg2mem = alloca i32 %.reg2mem27 = alloca i32 %.pre-phi.reg2mem = alloca i32 %.reg2mem25 = alloca i32 %storemerge37.in.reg2mem = alloca i32 %.reg2mem = alloca i32 %storemerge29.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = load i32, i32* @gv_0, align 4 %6 = zext i32 %5 to i64 %7 = call i64 @FUNC(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_1, i64 0, i64 0), i64 %6, i64 %3, i64 %4, i64 %2, i64 %1) %8 = load i32, i32* @gv_0, align 4 %9 = icmp eq i32 %8, 0 store i32 0, i32* %storemerge29.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %9, label LBL_18, label LBL_1 LBL_1: %storemerge29.reload = load i32, i32* %storemerge29.reg2mem %10 = sext i32 %storemerge29.reload to i64 %11 = mul i64 %10, 8 %12 = add i64 %11, ptrtoint (i32** @gv_2 to i64) %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 8 %15 = zext i32 %14 to i64 %16 = add i64 %11, ptrtoint (i32** @gv_3 to i64) %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 8 %19 = zext i32 %18 to i64 %20 = zext i32 %storemerge29.reload to i64 %21 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_4, i64 0, i64 0), i64 %20, i64 %19, i64 %15, i64 %2, i64 %1) %22 = load i32, i32* %17, align 8 %23 = icmp eq i32 %22, 0 %24 = icmp eq i1 %23, false br i1 %24, label LBL_3, label LBL_2 LBL_2: %25 = load i32, i32* %13, align 8 %26 = icmp eq i32 %25, 1 %27 = icmp eq i1 %26, false br i1 %27, label LBL_3, label LBL_5 LBL_3: %28 = add i32 %storemerge29.reload, 1 %29 = load i32, i32* @gv_0, align 4 %30 = icmp ult i32 %28, %29 %31 = icmp eq i1 %30, false store i32 %28, i32* %.pre-phi.reg2mem store i32 %29, i32* %.reg2mem27 br i1 %31, label LBL_14, label LBL_4 LBL_4: %32 = sext i32 %28 to i64 %33 = mul i64 %32, 8 %34 = add i64 %33, ptrtoint (i32** @gv_3 to i64) %35 = inttoptr i64 %34 to i32* %36 = add i64 %33, ptrtoint (i32** @gv_2 to i64) %37 = inttoptr i64 %36 to i32* %38 = zext i32 %28 to i64 %39 = add i32 %storemerge29.reload, 2 store i32 %29, i32* %.reg2mem25 store i32 %28, i32* %.pre-phi.reg2mem store i32 %29, i32* %.reg2mem27 br i1 %24, label LBL_14, label LBL_11 LBL_5: %40 = zext i32 %22 to i64 %41 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_5, i64 0, i64 0), i64 %40, i64 %19, i64 %15, i64 %2, i64 %1) %.pre12 = load i32, i32* @gv_0, align 4 %.pre13 = add i32 %storemerge29.reload, 1 store i32 %.pre13, i32* %.pre-phi.reg2mem store i32 %.pre12, i32* %.reg2mem27 br label LBL_14 LBL_6: %42 = zext i32 %72 to i64 %43 = zext i32 %69 to i64 %44 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_4, i64 0, i64 0), i64 %38, i64 %43, i64 %42, i64 %2, i64 %1) %45 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_6, i64 0, i64 0), i64 %20, i64 %38, i64 %42, i64 %2, i64 %1) store i32 0, i32* %17, align 8 %46 = load i32, i32* %13, align 8 %47 = load i32, i32* %37, align 8 %48 = add i32 %47, %46 store i32 %48, i32* %13, align 8 %49 = load i32, i32* @gv_0, align 4 %50 = icmp ult i32 %39, %49 br i1 %50, label LBL_7, label LBL_9 LBL_7: %51 = add i32 %49, -2 store i32 %39, i32* %.reg2mem store i32 %storemerge29.reload, i32* %storemerge37.in.reg2mem br label LBL_8 LBL_8: %storemerge37.in.reload = load i32, i32* %storemerge37.in.reg2mem %.reload = load i32, i32* %.reg2mem %storemerge37 = add i32 %storemerge37.in.reload, 1 %52 = sext i32 %storemerge37 to i64 %53 = sext i32 %.reload to i64 %54 = mul i64 %53, 8 %55 = add i64 %54, ptrtoint (i32** @gv_3 to i64) %56 = inttoptr i64 %55 to i64* %57 = load i64, i64* %56, align 8 %58 = mul i64 %52, 8 %59 = add i64 %58, ptrtoint (i32** @gv_3 to i64) %60 = inttoptr i64 %59 to i64* store i64 %57, i64* %60, align 8 %61 = add i32 %storemerge37.in.reload, 3 %exitcond = icmp eq i32 %storemerge37, %51 store i32 %61, i32* %.reg2mem store i32 %storemerge37, i32* %storemerge37.in.reg2mem br i1 %exitcond, label LBL_9, label LBL_8 LBL_9: %62 = add i32 %49, -1 store i32 %62, i32* @gv_0, align 4 %63 = icmp ult i32 %28, %62 %64 = icmp eq i1 %63, false store i32 %28, i32* %.pre-phi.reg2mem store i32 %62, i32* %.reg2mem27 br i1 %64, label LBL_14, label LBL_9.dec_label_pc_401364_crit_edge LBL_10: %.pre = load i32, i32* %17, align 8 %65 = icmp eq i32 %.pre, 0 %66 = icmp eq i1 %65, false store i32 %62, i32* %.reg2mem25 store i32 %28, i32* %.pre-phi.reg2mem store i32 %62, i32* %.reg2mem27 br i1 %66, label LBL_14, label LBL_11 LBL_11: %.reload26 = load i32, i32* %.reg2mem25 %67 = load i32, i32* %13, align 8 %68 = icmp eq i32 %67, 1 store i32 %28, i32* %.pre-phi.reg2mem store i32 %.reload26, i32* %.reg2mem27 br i1 %68, label LBL_14, label LBL_12 LBL_12: %69 = load i32, i32* %35, align 8 %70 = icmp eq i32 %69, 0 %71 = icmp eq i1 %70, false store i32 %28, i32* %.pre-phi.reg2mem store i32 %.reload26, i32* %.reg2mem27 br i1 %71, label LBL_14, label LBL_13 LBL_13: %72 = load i32, i32* %37, align 8 %73 = icmp eq i32 %72, 1 %74 = icmp eq i1 %73, false store i32 %28, i32* %.pre-phi.reg2mem store i32 %.reload26, i32* %.reg2mem27 br i1 %74, label LBL_6, label LBL_14 LBL_14: %.reload28 = load i32, i32* %.reg2mem27 %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem %75 = icmp ugt i32 %.reload28, %.pre-phi.reload store i32 %.pre-phi.reload, i32* %storemerge29.reg2mem br i1 %75, label LBL_1, label LBL_15 LBL_15: %76 = icmp eq i32 %.reload28, 0 store i32 0, i32* %storemerge14.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %76, label LBL_18, label LBL_16 LBL_16: %storemerge14.reload = load i32, i32* %storemerge14.reg2mem %77 = sext i32 %storemerge14.reload to i64 %78 = mul i64 %77, 8 %79 = add i64 %78, ptrtoint (i32** @gv_3 to i64) %80 = inttoptr i64 %79 to i32* %81 = load i32, i32* %80, align 8 %82 = icmp eq i32 %81, 0 store i64 1, i64* %storemerge.reg2mem br i1 %82, label LBL_17, label LBL_18 LBL_17: %83 = add nuw i32 %storemerge14.reload, 1 %84 = icmp ugt i32 %.reload28, %83 store i32 %83, i32* %storemerge14.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %84, label LBL_16, label LBL_18 LBL_18: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %.pre-phi.reload, { 1, 0 } uselistorder i32 %.reload28, { 1, 2, 0 } uselistorder i32 %72, { 1, 0 } uselistorder i32 %69, { 1, 0 } uselistorder i32 %62, { 0, 2, 1, 3, 4 } uselistorder i32 %storemerge37.in.reload, { 1, 0 } uselistorder i32 %49, { 1, 0, 2 } uselistorder i64 %42, { 1, 0 } uselistorder i32* %37, { 1, 0 } uselistorder i64 %33, { 1, 0 } uselistorder i32 %29, { 0, 2, 1, 3 } uselistorder i32 %28, { 1, 2, 3, 4, 5, 10, 0, 8, 9, 6, 7 } uselistorder i32* %13, { 3, 2, 1, 0, 4 } uselistorder i64 %11, { 1, 0 } uselistorder i32 %storemerge29.reload, { 0, 5, 1, 2, 3, 4 } uselistorder i64 %2, { 4, 3, 2, 1, 0 } uselistorder i64 %1, { 4, 3, 2, 1, 0 } uselistorder i32* %storemerge29.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge37.in.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem25, { 0, 2, 1 } uselistorder i32* %.pre-phi.reg2mem, { 0, 2, 3, 4, 5, 6, 8, 1, 7 } uselistorder i32* %.reg2mem27, { 0, 2, 3, 4, 5, 6, 8, 1, 7 } uselistorder i32* %storemerge14.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 1, 2, 4, 3 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i1 false, { 1, 2, 3, 4, 0, 5, 6 } uselistorder i64 ptrtoint (i32** @gv_3 to i64), { 4, 0, 1, 2, 3 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @dbg_printf, { 4, 3, 2, 1, 0 } uselistorder label LBL_18, { 1, 0, 3, 2 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_14, { 1, 2, 3, 4, 5, 7, 0, 6 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
CompRealVul
smc91c111_can_receive_782
smc91c111_can_receive
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = urem i64 %1, 4 %3 = icmp eq i64 %2, 1 store i64 1, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_2 LBL_1: %4 = ptrtoint i32* %arg1 to i64 %5 = add i64 %4, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = icmp eq i32 %7, 255 %9 = icmp eq i1 %8, false %. = zext i1 %9 to i64 store i64 %., i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 4, { 1, 0 } }
0
CompRealVul
parse_scheme_12600
parse_scheme
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 store i64 %0, i64* %rdi, align 8 %1 = bitcast i64* %rdi to i8* %2 = add i64 %0, 1048 %3 = inttoptr i64 %2 to i64* %4 = add i64 %0, 24 %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i64* %7 = add i64 %0, -1 store i64 %0, i64* %.reg2mem br label LBL_1 LBL_1: %.reload = load i64, i64* %.reg2mem %sext = mul i64 %.reload, 72057594037927936 %8 = ashr exact i64 %sext, 56 %9 = add nsw i64 %8, 4294967253 %10 = and i64 %9, 4294967295 store i64 %10, i64* @0, align 8 %trunc = trunc i64 %9 to i32 switch i32 %trunc, label LBL_5 [ i32 0, label LBL_3 i32 2, label LBL_3 i32 3, label LBL_3 i32 5, label LBL_3 i32 6, label LBL_3 i32 7, label LBL_3 i32 8, label LBL_3 i32 9, label LBL_3 i32 10, label LBL_3 i32 11, label LBL_3 i32 12, label LBL_3 i32 13, label LBL_3 i32 14, label LBL_3 i32 15, label LBL_2 i32 22, label LBL_4 i32 23, label LBL_4 i32 24, label LBL_4 i32 25, label LBL_4 i32 26, label LBL_4 i32 27, label LBL_4 i32 28, label LBL_4 i32 29, label LBL_4 i32 30, label LBL_4 i32 31, label LBL_4 i32 32, label LBL_4 i32 33, label LBL_4 i32 34, label LBL_4 i32 35, label LBL_4 i32 36, label LBL_4 i32 37, label LBL_4 i32 38, label LBL_4 i32 39, label LBL_4 i32 40, label LBL_4 i32 41, label LBL_4 i32 42, label LBL_4 i32 43, label LBL_4 i32 44, label LBL_4 i32 45, label LBL_4 i32 46, label LBL_4 i32 47, label LBL_4 i32 54, label LBL_4 i32 55, label LBL_4 i32 56, label LBL_4 i32 57, label LBL_4 i32 58, label LBL_4 i32 59, label LBL_4 i32 60, label LBL_4 i32 61, label LBL_4 i32 62, label LBL_4 i32 63, label LBL_4 i32 64, label LBL_4 i32 65, label LBL_4 i32 66, label LBL_4 i32 67, label LBL_4 i32 68, label LBL_4 i32 69, label LBL_4 i32 70, label LBL_4 i32 71, label LBL_4 i32 72, label LBL_4 i32 73, label LBL_4 i32 74, label LBL_4 i32 75, label LBL_4 i32 76, label LBL_4 i32 77, label LBL_4 i32 78, label LBL_4 i32 79, label LBL_4 ] LBL_2: %11 = add i64 %0, 16 %12 = inttoptr i64 %11 to i64* store i64 %4, i64* %12, align 8 %13 = load i64, i64* %3, align 8 %14 = add i64 %13, 1 store i64 %14, i64* %3, align 8 %15 = add i64 %13, %4 %16 = inttoptr i64 %15 to i8* store i8 0, i8* %16, align 1 %17 = load i64, i64* %rdi, align 8 %18 = add i64 %17, 1 store i64 %18, i64* %arg1, align 8 store i64 %17, i64* %rax.0.reg2mem br label LBL_9 LBL_3: %19 = icmp eq i64 %.reload, %0 %20 = icmp eq i1 %19, false store i64 %0, i64* %rax.0.reg2mem br i1 %20, label LBL_4, label LBL_9 LBL_4: %21 = load i64, i64* %3, align 8 %22 = add i64 %21, 1 store i64 %22, i64* %3, align 8 %23 = load i8, i8* %1, align 8 %24 = add i64 %21, %4 %25 = inttoptr i64 %24 to i8* store i8 %23, i8* %25, align 1 %.pre = load i64, i64* %rdi, align 8 store i64 %.pre, i64* %.pre-phi.reg2mem br label LBL_7 LBL_5: %26 = load i64, i64* %6, align 8 store i64 %0, i64* %rdi, align 8 %27 = call i64 @FUNC(i64 %0, i64 1, i64 %.reload, i64 %26, i64 %0, i64 1) %28 = icmp eq i64 %27, 0 %29 = icmp eq i1 %28, false store i64 %0, i64* %rax.0.reg2mem br i1 %29, label LBL_6, label LBL_9 LBL_6: %30 = add i64 %7, %27 store i64 %30, i64* %arg1, align 8 store i64 %0, i64* %.pre-phi.reg2mem br label LBL_7 LBL_7: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %31 = add i64 %.pre-phi.reload, 1 store i64 %31, i64* %arg1, align 8 %32 = load i64, i64* %6, align 8 %33 = icmp eq i64 %.pre-phi.reload, %32 %34 = icmp eq i1 %33, false store i64 %.pre-phi.reload, i64* %.reg2mem br i1 %34, label LBL_1, label LBL_8 LBL_8: store i64 %0, i64* %arg1, align 8 store i64 %.pre-phi.reload, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %.pre-phi.reload, { 0, 3, 2, 1 } uselistorder i64 %.reload, { 1, 0, 2 } uselistorder i64* %3, { 2, 3, 1, 0 } uselistorder i64 %0, { 9, 2, 0, 10, 12, 13, 1, 5, 6, 3, 4, 11, 7, 8, 14 } uselistorder i64* %rdi, { 1, 0, 3, 2, 4 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i1 false, { 1, 2, 0 } uselistorder i64 1, { 5, 1, 0, 2, 3, 4 } uselistorder i64* %arg1, { 2, 3, 0, 1, 4 } uselistorder label LBL_9, { 3, 0, 1, 2 } uselistorder label LBL_7, { 1, 0 } }
1
CompRealVul
sparc_cpu_realizefn_16529
sparc_cpu_realizefn
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: ret i64 %arg1 }
1
CompRealVul
mxf_is_intra_only_183
mxf_is_intra_only
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i32* %arg1 to i64 %1 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %2 = sext i32 %1 to i64 %3 = call i64 @FUNC(i64 %2, i64 %0) %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = add i64 %0, 4 %9 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4 %10 = sext i32 %9 to i64 %11 = call i64 @FUNC(i64 %10, i64 %8) %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = icmp ne i32 %13, 0 %spec.select = zext i1 %14 to i64 ret i64 %spec.select LBL_2: ret i64 1 uselistorder i64 (i64, i64)* @mxf_get_codec_ul, { 1, 0 } }
0
CompRealVul
pci_ivshmem_exit_16379
pci_ivshmem_exit
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %.reg2mem17 = alloca i64 %storemerge2.reg2mem = alloca i32 %.lcssa.reg2mem = alloca i64 %.reg2mem15 = alloca i32 %.reg2mem13 = alloca i64 %storemerge13.reg2mem = alloca i32 %.reg2mem11 = alloca i64 %.reg2mem9 = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg1 to i64 %6 = add i64 %5, 72 %7 = call i64 @FUNC(i64 %6) %8 = add i64 %5, 64 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = icmp eq i64 %10, 0 br i1 %11, label LBL_2, label LBL_1 LBL_1: %12 = call i64 @FUNC(i64 %10) %13 = load i64, i64* %9, align 8 %14 = call i64 @FUNC(i64 %13) br label LBL_2 LBL_2: %15 = trunc i64 %3 to i32 %16 = icmp slt i32 %15, 0 br i1 %16, label LBL_5, label LBL_3 LBL_3: %17 = add i64 %5, 8 %18 = call i64 @FUNC(i64 %17) %19 = call i64 @FUNC(i64 %17, i64 %5) %20 = add i64 %5, 80 %21 = call i64 @FUNC(i64 %20, i64 %17) %22 = add i64 %5, 16 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = inttoptr i64 %18 to i64* %26 = trunc i64 %24 to i32 %27 = call i32 @munmap(i64* %25, i32 %26) %28 = icmp eq i32 %27, -1 %29 = icmp eq i1 %28, false br i1 %29, label LBL_5, label LBL_4 LBL_4: %30 = call i32* @__errno_location() %31 = load i32, i32* %30, align 4 %32 = call i8* @strerror(i32 %31) %33 = ptrtoint i8* %32 to i64 %34 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_0, i64 0, i64 0), i64 %33, i64 %24, i64 %4, i64 %2, i64 %1) br label LBL_5 LBL_5: %35 = add i64 %5, 32 %36 = inttoptr i64 %35 to i64* %37 = load i64, i64* %36, align 8 %38 = icmp eq i64 %37, 0 br i1 %38, label LBL_11, label LBL_6 LBL_6: %39 = add i64 %5, 24 %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 4 %42 = icmp eq i32 %41, 0 store i64 %37, i64* %.reg2mem store i32 %41, i32* %.reg2mem9 store i64 0, i64* %.reg2mem11 store i32 0, i32* %storemerge13.reg2mem store i64 %37, i64* %.lcssa.reg2mem br i1 %42, label LBL_10, label LBL_7 LBL_7: %storemerge13.reload = load i32, i32* %storemerge13.reg2mem %.reload12 = load i64, i64* %.reg2mem11 %.reload10 = load i32, i32* %.reg2mem9 %.reload = load i64, i64* %.reg2mem %43 = mul i64 %.reload12, 8 %44 = add i64 %43, %.reload %45 = inttoptr i64 %44 to i64* %46 = load i64, i64* %45, align 8 %47 = icmp eq i64 %46, 0 store i64 %.reload, i64* %.reg2mem13 store i32 %.reload10, i32* %.reg2mem15 br i1 %47, label LBL_9, label LBL_8 LBL_8: %48 = call i64 @FUNC(i64 %46) %.pre = load i32, i32* %40, align 4 %.pre5 = load i64, i64* %36, align 8 store i64 %.pre5, i64* %.reg2mem13 store i32 %.pre, i32* %.reg2mem15 br label LBL_9 LBL_9: %.reload16 = load i32, i32* %.reg2mem15 %.reload14 = load i64, i64* %.reg2mem13 %49 = add i32 %storemerge13.reload, 1 %50 = zext i32 %.reload16 to i64 %51 = sext i32 %49 to i64 %52 = icmp slt i64 %51, %50 store i64 %.reload14, i64* %.reg2mem store i32 %.reload16, i32* %.reg2mem9 store i64 %51, i64* %.reg2mem11 store i32 %49, i32* %storemerge13.reg2mem store i64 %.reload14, i64* %.lcssa.reg2mem br i1 %52, label LBL_7, label LBL_10 LBL_10: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %53 = call i64 @FUNC(i64 %.lcssa.reload) br label LBL_11 LBL_11: %54 = add i64 %5, 48 %55 = inttoptr i64 %54 to i64* %56 = load i64, i64* %55, align 8 %57 = icmp eq i64 %56, 0 br i1 %57, label LBL_16, label LBL_12 LBL_12: %58 = add i64 %5, 56 %59 = inttoptr i64 %58 to i32* %60 = load i32, i32* %59, align 4 %61 = icmp eq i32 %60, 0 store i32 0, i32* %storemerge2.reg2mem store i64 %56, i64* %.reg2mem17 br i1 %61, label LBL_15, label LBL_13 LBL_13: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %62 = zext i32 %storemerge2.reload to i64 %63 = call i64 @FUNC(i64 %5, i64 %62) %64 = add i32 %storemerge2.reload, 1 %65 = load i32, i32* %59, align 4 %66 = zext i32 %65 to i64 %67 = sext i32 %64 to i64 %68 = icmp slt i64 %67, %66 store i32 %64, i32* %storemerge2.reg2mem br i1 %68, label LBL_13, label LBL_14 LBL_14: %.pre6 = load i64, i64* %55, align 8 store i64 %.pre6, i64* %.reg2mem17 br label LBL_15 LBL_15: %.reload18 = load i64, i64* %.reg2mem17 %69 = call i64 @FUNC(i64 %.reload18) br label LBL_16 LBL_16: %70 = call i64 @FUNC(i64 %5, i64 1) %71 = trunc i64 %70 to i32 %72 = icmp eq i32 %71, 0 br i1 %72, label LBL_18, label LBL_17 LBL_17: %73 = call i64 @FUNC(i64 %5) br label LBL_18 LBL_18: %74 = add i64 %5, 40 %75 = inttoptr i64 %74 to i64* %76 = load i64, i64* %75, align 8 %77 = call i64 @FUNC(i64 %76) ret i64 %77 uselistorder i32 %storemerge2.reload, { 1, 0 } uselistorder i32* %59, { 1, 0 } uselistorder i32 %.reload16, { 1, 0 } uselistorder i64 %5, { 8, 7, 9, 6, 5, 10, 4, 11, 1, 0, 2, 3, 12, 13 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem9, { 2, 0, 1 } uselistorder i64* %.reg2mem11, { 2, 0, 1 } uselistorder i32* %storemerge13.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem13, { 0, 2, 1 } uselistorder i32* %.reg2mem15, { 0, 2, 1 } uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i64)* @g_free, { 2, 1, 0 } uselistorder i32 0, { 4, 0, 2, 1, 3, 5 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_7, { 1, 0 } }
1
CompRealVul
received_builder_17662
received_builder
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 256) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: store i32 1, i32* inttoptr (i64 4210796 to i32*), align 4 %3 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_0, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_4 LBL_2: %4 = ptrtoint i64* %arg1 to i64 %5 = inttoptr i64 %0 to i64* %6 = call i64* @memcpy(i64* %5, i64* bitcast ([11 x i8]* @gv_1 to i64*), i32 10) %7 = call i64 @FUNC(i64 %4) %8 = icmp eq i64 %7, 0 %9 = icmp eq i1 %8, false store i64 0, i64* %rax.0.reg2mem br i1 %9, label LBL_3, label LBL_4 LBL_3: %10 = inttoptr i64 %7 to i8* %11 = call i32 @strlen(i8* %10) %12 = add i32 %11, 10 %13 = add i64 %0, 10 %14 = inttoptr i64 %13 to i64* %15 = inttoptr i64 %7 to i64* %16 = call i64* @memcpy(i64* %14, i64* %15, i32 %11) %17 = sext i32 %12 to i64 %18 = add i64 %0, %17 %19 = inttoptr i64 %18 to i8* store i8 0, i8* %19, align 1 %20 = bitcast i64* %arg2 to i32* store i32 %12, i32* %20, align 4 store i64 %0, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i8 0, { 1, 0 } uselistorder i32 10, { 1, 0 } uselistorder label LBL_4, { 1, 0, 2 } }
1
CompRealVul
cfg80211_get_station_5316
cfg80211_get_station
define i64 @FUNC(i64* %arg1, i32* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false store i64 4294967201, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_3 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = icmp eq i64 %7, 0 %9 = icmp eq i1 %8, false store i64 4294967201, i64* %rax.0.reg2mem br i1 %9, label LBL_2, label LBL_3 LBL_2: %10 = ptrtoint i64* %arg3 to i64 %11 = ptrtoint i32* %arg2 to i64 %12 = call i64 @FUNC(i64 %3, i64 %2, i64 %11, i64 %10) store i64 %12, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_3, { 2, 0, 1 } }
0
CompRealVul
stream_int_chk_rcv_9934
stream_int_chk_rcv
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = trunc i64 %1 to i32 %9 = load i64, i64* @gv_0, align 8 %10 = zext i32 %7 to i64 %11 = and i64 %1, 4294967295 %12 = call i64 @FUNC(i64 %9, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0), i64 %2, i64 %11, i64 %10) %13 = icmp eq i32 %8, 1 %14 = icmp eq i1 %13, false store i64 1, i64* %storemerge.reg2mem br i1 %14, label LBL_2, label LBL_1 LBL_1: %15 = load i32, i32* %6, align 4 %16 = urem i32 %15, 4 %17 = icmp ne i32 %16, 0 %spec.select = zext i1 %17 to i64 store i64 %spec.select, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem %18 = call i64 @FUNC(i64 %storemerge.reload) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 0 %21 = icmp eq i1 %20, false store i64 %18, i64* %rax.0.reg2mem br i1 %21, label LBL_8, label LBL_3 LBL_3: %22 = call i64 @FUNC(i64 %5) %23 = trunc i64 %22 to i32 %24 = icmp eq i32 %23, 0 %25 = add i64 %2, 4 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 br i1 %24, label LBL_5, label LBL_4 LBL_4: %28 = or i32 %27, 4 store i32 %28, i32* %26, align 4 store i64 %2, i64* %rax.0.reg2mem br label LBL_8 LBL_5: %29 = and i32 %27, -5 store i32 %29, i32* %26, align 4 %30 = and i32 %27, 8 %31 = zext i32 %30 to i64 %32 = icmp eq i32 %30, 0 %33 = icmp eq i1 %32, false store i64 %31, i64* %rax.0.reg2mem br i1 %33, label LBL_8, label LBL_6 LBL_6: %34 = add i64 %2, 24 %35 = inttoptr i64 %34 to i64* %36 = load i64, i64* %35, align 8 %37 = icmp eq i64 %36, 0 store i64 0, i64* %rax.0.reg2mem br i1 %37, label LBL_8, label LBL_7 LBL_7: %38 = call i64 @FUNC(i64 %36, i64 16) store i64 %38, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %27, { 0, 2, 1 } uselistorder i32* %26, { 1, 0, 2 } uselistorder i64 %2, { 1, 0, 2, 3, 4 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 4, 1, 5 } uselistorder i32 4, { 1, 0 } uselistorder label LBL_8, { 1, 2, 3, 4, 0 } }
0
CompRealVul
bm_puts_6742
bm_puts
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i8* %arg4) local_unnamed_addr { LBL_0: %rdi.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null %2 = icmp eq i1 %1, false store i64 %0, i64* %rdi.0.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_1, i64 0, i64 0), i32 11, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([2 x i8]* @gv_0 to i64), i64* %rdi.0.reg2mem br label LBL_2 LBL_2: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %3 = icmp eq i64 %rdi.0.reload, 0 %spec.select = select i1 %3, i64 0, i64 %0 ret i64 %spec.select uselistorder i64 %0, { 1, 0 } uselistorder [2 x i8]* @gv_0, { 1, 0 } }
0
CompRealVul
encode_422_bitstream_1782
encode_422_bitstream
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %indvars.iv11.reg2mem = alloca i64 %indvars.iv13.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %5 = trunc i64 %arg2 to i32 %6 = add i64 %4, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = sub i64 %8, %4 %10 = call i64 @FUNC(i64 %4) %11 = trunc i64 %10 to i32 %12 = ashr i32 %11, 3 %narrow = sub nsw i32 0, %12 %.neg5 = sext i32 %narrow to i64 %13 = add i64 %9, %.neg5 %14 = mul i32 %5, 8 %15 = sext i32 %14 to i64 %16 = icmp slt i64 %13, %15 br i1 %16, label LBL_1, label LBL_2 LBL_1: %17 = add i64 %4, 24 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = call i64 @FUNC(i64 %19, i64 0, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_13 LBL_2: %21 = icmp slt i32 %5, 0 %22 = zext i1 %21 to i32 %23 = add i32 %22, %5 %24 = ashr i32 %23, 1 %25 = add i64 %4, 16 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = urem i32 %27, 2 %29 = icmp eq i32 %28, 0 br i1 %29, label LBL_6, label LBL_3 LBL_3: %30 = icmp sgt i32 %23, 1 store i64 0, i64* %storemerge.reg2mem br i1 %30, label LBL_4, label LBL_13 LBL_4: %31 = add i64 %4, 32 %32 = inttoptr i64 %31 to i64* %33 = add i64 %4, 40 %34 = inttoptr i64 %33 to i64* %35 = sext i32 %24 to i64 store i64 0, i64* %indvars.iv13.reg2mem br label LBL_5 LBL_5: %indvars.iv13.reload = load i64, i64* %indvars.iv13.reg2mem %36 = load i64, i64* %32, align 8 %37 = inttoptr i64 %36 to i64* %38 = load i64, i64* %37, align 8 %39 = load i64, i64* %34, align 8 %40 = inttoptr i64 %39 to i64* %41 = load i64, i64* %40, align 8 %42 = mul i64 %indvars.iv13.reload, 8 %43 = add i64 %41, %42 %44 = inttoptr i64 %43 to i32* %45 = load i32, i32* %44, align 4 %46 = sext i32 %45 to i64 %47 = mul i64 %46, 4 %48 = add i64 %47, %38 %49 = inttoptr i64 %48 to i32* %50 = load i32, i32* %49, align 4 %51 = add i32 %50, 1 store i32 %51, i32* %49, align 4 %52 = load i64, i64* %32, align 8 %53 = add i64 %52, 8 %54 = inttoptr i64 %53 to i64* %55 = load i64, i64* %54, align 8 %56 = load i64, i64* %34, align 8 %57 = add i64 %56, 8 %58 = inttoptr i64 %57 to i64* %59 = load i64, i64* %58, align 8 %60 = mul i64 %indvars.iv13.reload, 4 %61 = add i64 %59, %60 %62 = inttoptr i64 %61 to i32* %63 = load i32, i32* %62, align 4 %64 = sext i32 %63 to i64 %65 = mul i64 %64, 4 %66 = add i64 %65, %55 %67 = inttoptr i64 %66 to i32* %68 = load i32, i32* %67, align 4 %69 = add i32 %68, 1 store i32 %69, i32* %67, align 4 %70 = load i64, i64* %32, align 8 %71 = inttoptr i64 %70 to i64* %72 = load i64, i64* %71, align 8 %73 = load i64, i64* %34, align 8 %74 = inttoptr i64 %73 to i64* %75 = load i64, i64* %74, align 8 %76 = or i64 %42, 4 %77 = add i64 %75, %76 %78 = inttoptr i64 %77 to i32* %79 = load i32, i32* %78, align 4 %80 = sext i32 %79 to i64 %81 = mul i64 %80, 4 %82 = add i64 %81, %72 %83 = inttoptr i64 %82 to i32* %84 = load i32, i32* %83, align 4 %85 = add i32 %84, 1 store i32 %85, i32* %83, align 4 %86 = load i64, i64* %32, align 8 %87 = add i64 %86, 16 %88 = inttoptr i64 %87 to i64* %89 = load i64, i64* %88, align 8 %90 = load i64, i64* %34, align 8 %91 = add i64 %90, 16 %92 = inttoptr i64 %91 to i64* %93 = load i64, i64* %92, align 8 %94 = add i64 %93, %60 %95 = inttoptr i64 %94 to i32* %96 = load i32, i32* %95, align 4 %97 = sext i32 %96 to i64 %98 = mul i64 %97, 4 %99 = add i64 %98, %89 %100 = inttoptr i64 %99 to i32* %101 = load i32, i32* %100, align 4 %102 = add i32 %101, 1 store i32 %102, i32* %100, align 4 %indvars.iv.next14 = add nuw nsw i64 %indvars.iv13.reload, 1 %103 = icmp slt i64 %indvars.iv.next14, %35 store i64 %indvars.iv.next14, i64* %indvars.iv13.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %103, label LBL_5, label LBL_13 LBL_6: %104 = add i64 %4, 64 %105 = inttoptr i64 %104 to i64* %106 = load i64, i64* %105, align 8 %107 = icmp eq i64 %106, 0 %108 = icmp sgt i32 %23, 1 br i1 %107, label LBL_9, label LBL_7 LBL_7: store i64 0, i64* %storemerge.reg2mem br i1 %108, label LBL_8, label LBL_13 LBL_8: %109 = add i64 %4, 32 %110 = inttoptr i64 %109 to i64* %111 = add i64 %4, 40 %112 = inttoptr i64 %111 to i64* %113 = add i64 %4, 56 %114 = inttoptr i64 %113 to i64* %115 = add i64 %4, 48 %116 = inttoptr i64 %115 to i64* %117 = sext i32 %24 to i64 store i64 0, i64* %indvars.iv11.reg2mem br label LBL_11 LBL_9: store i64 0, i64* %storemerge.reg2mem br i1 %108, label LBL_10, label LBL_13 LBL_10: %118 = add i64 %4, 56 %119 = inttoptr i64 %118 to i64* %120 = add i64 %4, 40 %121 = inttoptr i64 %120 to i64* %122 = add i64 %4, 48 %123 = inttoptr i64 %122 to i64* %124 = sext i32 %24 to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_12 LBL_11: %indvars.iv11.reload = load i64, i64* %indvars.iv11.reg2mem %125 = load i64, i64* %110, align 8 %126 = inttoptr i64 %125 to i64* %127 = load i64, i64* %126, align 8 %128 = load i64, i64* %112, align 8 %129 = inttoptr i64 %128 to i64* %130 = load i64, i64* %129, align 8 %131 = mul i64 %indvars.iv11.reload, 8 %132 = add i64 %130, %131 %133 = inttoptr i64 %132 to i32* %134 = load i32, i32* %133, align 4 %135 = sext i32 %134 to i64 %136 = mul i64 %135, 4 %137 = add i64 %136, %127 %138 = inttoptr i64 %137 to i32* %139 = load i32, i32* %138, align 4 %140 = add i32 %139, 1 store i32 %140, i32* %138, align 4 %141 = load i64, i64* %114, align 8 %142 = inttoptr i64 %141 to i64* %143 = load i64, i64* %142, align 8 %144 = load i64, i64* %112, align 8 %145 = inttoptr i64 %144 to i64* %146 = load i64, i64* %145, align 8 %147 = add i64 %146, %131 %148 = inttoptr i64 %147 to i32* %149 = load i32, i32* %148, align 4 %150 = sext i32 %149 to i64 %151 = mul i64 %150, 4 %152 = add i64 %151, %143 %153 = inttoptr i64 %152 to i32* %154 = load i32, i32* %153, align 4 %155 = load i64, i64* %116, align 8 %156 = inttoptr i64 %155 to i64* %157 = load i64, i64* %156, align 8 %158 = add i64 %157, %151 %159 = inttoptr i64 %158 to i32* %160 = load i32, i32* %159, align 4 %161 = zext i32 %160 to i64 %162 = call i64 @FUNC(i64 %4, i64 %161, i32 %154) %163 = load i64, i64* %110, align 8 %164 = add i64 %163, 8 %165 = inttoptr i64 %164 to i64* %166 = load i64, i64* %165, align 8 %167 = load i64, i64* %112, align 8 %168 = add i64 %167, 8 %169 = inttoptr i64 %168 to i64* %170 = load i64, i64* %169, align 8 %171 = mul i64 %indvars.iv11.reload, 4 %172 = add i64 %170, %171 %173 = inttoptr i64 %172 to i32* %174 = load i32, i32* %173, align 4 %175 = sext i32 %174 to i64 %176 = mul i64 %175, 4 %177 = add i64 %176, %166 %178 = inttoptr i64 %177 to i32* %179 = load i32, i32* %178, align 4 %180 = add i32 %179, 1 store i32 %180, i32* %178, align 4 %181 = load i64, i64* %114, align 8 %182 = add i64 %181, 8 %183 = inttoptr i64 %182 to i64* %184 = load i64, i64* %183, align 8 %185 = load i64, i64* %112, align 8 %186 = add i64 %185, 8 %187 = inttoptr i64 %186 to i64* %188 = load i64, i64* %187, align 8 %189 = add i64 %188, %171 %190 = inttoptr i64 %189 to i32* %191 = load i32, i32* %190, align 4 %192 = sext i32 %191 to i64 %193 = mul i64 %192, 4 %194 = add i64 %193, %184 %195 = inttoptr i64 %194 to i32* %196 = load i32, i32* %195, align 4 %197 = load i64, i64* %116, align 8 %198 = add i64 %197, 8 %199 = inttoptr i64 %198 to i64* %200 = load i64, i64* %199, align 8 %201 = add i64 %200, %193 %202 = inttoptr i64 %201 to i32* %203 = load i32, i32* %202, align 4 %204 = zext i32 %203 to i64 %205 = call i64 @FUNC(i64 %4, i64 %204, i32 %196) %206 = load i64, i64* %110, align 8 %207 = inttoptr i64 %206 to i64* %208 = load i64, i64* %207, align 8 %209 = load i64, i64* %112, align 8 %210 = inttoptr i64 %209 to i64* %211 = load i64, i64* %210, align 8 %212 = or i64 %131, 4 %213 = add i64 %211, %212 %214 = inttoptr i64 %213 to i32* %215 = load i32, i32* %214, align 4 %216 = sext i32 %215 to i64 %217 = mul i64 %216, 4 %218 = add i64 %217, %208 %219 = inttoptr i64 %218 to i32* %220 = load i32, i32* %219, align 4 %221 = add i32 %220, 1 store i32 %221, i32* %219, align 4 %222 = load i64, i64* %114, align 8 %223 = inttoptr i64 %222 to i64* %224 = load i64, i64* %223, align 8 %225 = load i64, i64* %112, align 8 %226 = inttoptr i64 %225 to i64* %227 = load i64, i64* %226, align 8 %228 = add i64 %227, %212 %229 = inttoptr i64 %228 to i32* %230 = load i32, i32* %229, align 4 %231 = sext i32 %230 to i64 %232 = mul i64 %231, 4 %233 = add i64 %232, %224 %234 = inttoptr i64 %233 to i32* %235 = load i32, i32* %234, align 4 %236 = load i64, i64* %116, align 8 %237 = inttoptr i64 %236 to i64* %238 = load i64, i64* %237, align 8 %239 = add i64 %238, %232 %240 = inttoptr i64 %239 to i32* %241 = load i32, i32* %240, align 4 %242 = zext i32 %241 to i64 %243 = call i64 @FUNC(i64 %4, i64 %242, i32 %235) %244 = load i64, i64* %110, align 8 %245 = add i64 %244, 16 %246 = inttoptr i64 %245 to i64* %247 = load i64, i64* %246, align 8 %248 = load i64, i64* %112, align 8 %249 = add i64 %248, 16 %250 = inttoptr i64 %249 to i64* %251 = load i64, i64* %250, align 8 %252 = add i64 %251, %171 %253 = inttoptr i64 %252 to i32* %254 = load i32, i32* %253, align 4 %255 = sext i32 %254 to i64 %256 = mul i64 %255, 4 %257 = add i64 %256, %247 %258 = inttoptr i64 %257 to i32* %259 = load i32, i32* %258, align 4 %260 = add i32 %259, 1 store i32 %260, i32* %258, align 4 %261 = load i64, i64* %114, align 8 %262 = add i64 %261, 16 %263 = inttoptr i64 %262 to i64* %264 = load i64, i64* %263, align 8 %265 = load i64, i64* %112, align 8 %266 = add i64 %265, 16 %267 = inttoptr i64 %266 to i64* %268 = load i64, i64* %267, align 8 %269 = add i64 %268, %171 %270 = inttoptr i64 %269 to i32* %271 = load i32, i32* %270, align 4 %272 = sext i32 %271 to i64 %273 = mul i64 %272, 4 %274 = add i64 %273, %264 %275 = inttoptr i64 %274 to i32* %276 = load i32, i32* %275, align 4 %277 = load i64, i64* %116, align 8 %278 = add i64 %277, 16 %279 = inttoptr i64 %278 to i64* %280 = load i64, i64* %279, align 8 %281 = add i64 %280, %273 %282 = inttoptr i64 %281 to i32* %283 = load i32, i32* %282, align 4 %284 = zext i32 %283 to i64 %285 = call i64 @FUNC(i64 %4, i64 %284, i32 %276) %indvars.iv.next12 = add nuw nsw i64 %indvars.iv11.reload, 1 %286 = icmp slt i64 %indvars.iv.next12, %117 store i64 %indvars.iv.next12, i64* %indvars.iv11.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %286, label LBL_11, label LBL_13 LBL_12: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %287 = load i64, i64* %119, align 8 %288 = inttoptr i64 %287 to i64* %289 = load i64, i64* %288, align 8 %290 = load i64, i64* %121, align 8 %291 = inttoptr i64 %290 to i64* %292 = load i64, i64* %291, align 8 %293 = mul i64 %indvars.iv.reload, 8 %294 = add i64 %292, %293 %295 = inttoptr i64 %294 to i32* %296 = load i32, i32* %295, align 4 %297 = sext i32 %296 to i64 %298 = mul i64 %297, 4 %299 = add i64 %298, %289 %300 = inttoptr i64 %299 to i32* %301 = load i32, i32* %300, align 4 %302 = load i64, i64* %123, align 8 %303 = inttoptr i64 %302 to i64* %304 = load i64, i64* %303, align 8 %305 = add i64 %304, %298 %306 = inttoptr i64 %305 to i32* %307 = load i32, i32* %306, align 4 %308 = zext i32 %307 to i64 %309 = call i64 @FUNC(i64 %4, i64 %308, i32 %301) %310 = load i64, i64* %119, align 8 %311 = add i64 %310, 8 %312 = inttoptr i64 %311 to i64* %313 = load i64, i64* %312, align 8 %314 = load i64, i64* %121, align 8 %315 = add i64 %314, 8 %316 = inttoptr i64 %315 to i64* %317 = load i64, i64* %316, align 8 %318 = mul i64 %indvars.iv.reload, 4 %319 = add i64 %317, %318 %320 = inttoptr i64 %319 to i32* %321 = load i32, i32* %320, align 4 %322 = sext i32 %321 to i64 %323 = mul i64 %322, 4 %324 = add i64 %323, %313 %325 = inttoptr i64 %324 to i32* %326 = load i32, i32* %325, align 4 %327 = load i64, i64* %123, align 8 %328 = add i64 %327, 8 %329 = inttoptr i64 %328 to i64* %330 = load i64, i64* %329, align 8 %331 = add i64 %330, %323 %332 = inttoptr i64 %331 to i32* %333 = load i32, i32* %332, align 4 %334 = zext i32 %333 to i64 %335 = call i64 @FUNC(i64 %4, i64 %334, i32 %326) %336 = load i64, i64* %119, align 8 %337 = inttoptr i64 %336 to i64* %338 = load i64, i64* %337, align 8 %339 = load i64, i64* %121, align 8 %340 = inttoptr i64 %339 to i64* %341 = load i64, i64* %340, align 8 %342 = or i64 %293, 4 %343 = add i64 %341, %342 %344 = inttoptr i64 %343 to i32* %345 = load i32, i32* %344, align 4 %346 = sext i32 %345 to i64 %347 = mul i64 %346, 4 %348 = add i64 %347, %338 %349 = inttoptr i64 %348 to i32* %350 = load i32, i32* %349, align 4 %351 = load i64, i64* %123, align 8 %352 = inttoptr i64 %351 to i64* %353 = load i64, i64* %352, align 8 %354 = add i64 %353, %347 %355 = inttoptr i64 %354 to i32* %356 = load i32, i32* %355, align 4 %357 = zext i32 %356 to i64 %358 = call i64 @FUNC(i64 %4, i64 %357, i32 %350) %359 = load i64, i64* %119, align 8 %360 = add i64 %359, 16 %361 = inttoptr i64 %360 to i64* %362 = load i64, i64* %361, align 8 %363 = load i64, i64* %121, align 8 %364 = add i64 %363, 16 %365 = inttoptr i64 %364 to i64* %366 = load i64, i64* %365, align 8 %367 = add i64 %366, %318 %368 = inttoptr i64 %367 to i32* %369 = load i32, i32* %368, align 4 %370 = sext i32 %369 to i64 %371 = mul i64 %370, 4 %372 = add i64 %371, %362 %373 = inttoptr i64 %372 to i32* %374 = load i32, i32* %373, align 4 %375 = load i64, i64* %123, align 8 %376 = add i64 %375, 16 %377 = inttoptr i64 %376 to i64* %378 = load i64, i64* %377, align 8 %379 = add i64 %378, %371 %380 = inttoptr i64 %379 to i32* %381 = load i32, i32* %380, align 4 %382 = zext i32 %381 to i64 %383 = call i64 @FUNC(i64 %4, i64 %382, i32 %374) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %384 = icmp slt i64 %indvars.iv.next, %124 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %384, label LBL_12, label LBL_13 LBL_13: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %371, { 1, 0 } uselistorder i64 %347, { 1, 0 } uselistorder i64 %323, { 1, 0 } uselistorder i64 %318, { 1, 0 } uselistorder i64 %298, { 1, 0 } uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64 %273, { 1, 0 } uselistorder i64 %232, { 1, 0 } uselistorder i64 %193, { 1, 0 } uselistorder i64 %171, { 3, 2, 1, 0 } uselistorder i64 %151, { 1, 0 } uselistorder i64 %131, { 0, 2, 1 } uselistorder i64 %indvars.iv11.reload, { 0, 2, 1 } uselistorder i1 %108, { 1, 0 } uselistorder i64 %60, { 1, 0 } uselistorder i64 %indvars.iv13.reload, { 0, 2, 1 } uselistorder i32 %24, { 2, 1, 0 } uselistorder i32 %5, { 2, 1, 0 } uselistorder i64 %4, { 11, 12, 13, 17, 3, 4, 5, 8, 16, 15, 14, 7, 6, 10, 9, 19, 2, 1, 18, 20, 21, 0, 22 } uselistorder i64* %indvars.iv13.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv11.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 6, 5, 1, 4, 7 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64, i64, i32)* @put_bits, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 4, { 0, 1, 19, 2, 3, 4, 5, 6, 7, 8, 20, 9, 10, 11, 12, 13, 14, 15, 21, 16, 17, 18 } uselistorder i32 0, { 2, 0, 1 } uselistorder label LBL_13, { 2, 1, 5, 4, 0, 3, 6 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
0
CompRealVul
spapr_dr_connector_class_init_15840
spapr_dr_connector_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i64* store i64 4198683, i64* %arg1, align 8 store i64 4198690, i64* %2, align 8 store i64 4198697, i64* %4, align 8 %5 = add i64 %0, 24 %6 = inttoptr i64 %5 to i64* store i64 4198704, i64* %6, align 8 %7 = add i64 %0, 32 %8 = inttoptr i64 %7 to i64* store i64 4198715, i64* %8, align 8 %9 = add i64 %0, 40 %10 = inttoptr i64 %9 to i64* store i64 4198726, i64* %10, align 8 %11 = add i64 %0, 48 %12 = inttoptr i64 %11 to i64* store i64 4198737, i64* %12, align 8 %13 = add i64 %0, 56 %14 = inttoptr i64 %13 to i64* store i64 4198748, i64* %14, align 8 %15 = add i64 %0, 64 %16 = inttoptr i64 %15 to i64* store i64 4198755, i64* %16, align 8 %17 = add i64 %0, 72 %18 = inttoptr i64 %17 to i64* store i64 4198762, i64* %18, align 8 %19 = add i64 %0, 80 %20 = inttoptr i64 %19 to i64* store i64 4198769, i64* %20, align 8 %21 = add i64 %0, 88 %22 = inttoptr i64 %21 to i64* store i64 4198776, i64* %22, align 8 ret i64 %0 uselistorder i64 %0, { 1, 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 } }
1
CompRealVul
xdr_krb5_tl_data_4500
xdr_krb5_tl_data
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rax.0.ph.shrunk.reg2mem = alloca i1 %storemerge37.reg2mem = alloca i64 %storemerge412.reg2mem = alloca i64 %storemerge28.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i32, align 4 %sv_1 = alloca i32, align 4 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 2 br i1 %3, label LBL_1, label LBL_2 LBL_1: %4 = ptrtoint i32* %arg1 to i64 %5 = call i64 @FUNC(i64 %4, i32* nonnull %sv_1) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false store i64 0, i64* %storemerge37.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_11, label LBL_19 LBL_2: %9 = icmp sgt i32 %2, 2 store i64 1, i64* %rax.0.reg2mem br i1 %9, label LBL_19, label LBL_3 LBL_3: %10 = ptrtoint i64* %arg2 to i64 store i64 1, i64* %rax.0.reg2mem switch i32 %2, label LBL_19 [ i32 0, label LBL_5 i32 1, label LBL_4 ] LBL_4: %11 = icmp eq i64* %arg2, null %12 = icmp eq i1 %11, false %13 = zext i1 %12 to i32 store i32 %13, i32* %sv_1, align 4 %14 = ptrtoint i32* %arg1 to i64 %15 = call i64 @FUNC(i64 %14, i32* nonnull %sv_1) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 %brmerge9 = or i1 %11, %17 %not.10 = icmp ne i1 %17, true store i64 %10, i64* %storemerge412.reg2mem store i1 %not.10, i1* %rax.0.ph.shrunk.reg2mem br i1 %brmerge9, label LBL_18, label LBL_8 LBL_5: %18 = icmp eq i64* %arg2, null %19 = icmp eq i1 %18, false store i64 %10, i64* %storemerge28.reg2mem br i1 %19, label LBL_6, label LBL_7 LBL_6: %storemerge28.reload = load i64, i64* %storemerge28.reg2mem %20 = add i64 %storemerge28.reload, 16 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = add i64 %storemerge28.reload, 8 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = inttoptr i64 %25 to i64* call void @free(i64* %26) %27 = inttoptr i64 %storemerge28.reload to i64* call void @free(i64* %27) %28 = icmp eq i64 %22, 0 %29 = icmp eq i1 %28, false store i64 %22, i64* %storemerge28.reg2mem br i1 %29, label LBL_6, label LBL_7 LBL_7: store i64 0, i64* %arg2, align 8 store i64 1, i64* %rax.0.reg2mem br label LBL_19 LBL_8: %storemerge412.reload = load i64, i64* %storemerge412.reg2mem %30 = call i64 @FUNC(i64 %14, i64 %storemerge412.reload) %31 = trunc i64 %30 to i32 %32 = icmp eq i32 %31, 0 %33 = icmp eq i1 %32, false store i1 false, i1* %rax.0.ph.shrunk.reg2mem br i1 %33, label LBL_9, label LBL_18 LBL_9: %34 = add i64 %storemerge412.reload, 4 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 store i32 %36, i32* %sv_0, align 4 %37 = add i64 %storemerge412.reload, 8 %38 = call i64 @FUNC(i64 %14, i64 %37, i32* nonnull %sv_0, i64 4294967295) %39 = trunc i64 %38 to i32 %40 = icmp eq i32 %39, 0 %41 = icmp eq i1 %40, false store i1 false, i1* %rax.0.ph.shrunk.reg2mem br i1 %41, label LBL_10, label LBL_18 LBL_10: %42 = add i64 %storemerge412.reload, 16 %43 = inttoptr i64 %42 to i64* %44 = load i64, i64* %43, align 8 %45 = icmp eq i64 %44, 0 %46 = icmp eq i1 %45, false %47 = zext i1 %46 to i32 store i32 %47, i32* %sv_1, align 4 %48 = call i64 @FUNC(i64 %14, i32* nonnull %sv_1) %49 = trunc i64 %48 to i32 %50 = icmp eq i32 %49, 0 %brmerge = or i1 %45, %50 store i64 %44, i64* %storemerge412.reg2mem br i1 %brmerge, label LBL_17, label LBL_8 LBL_11: %storemerge37.reload = load i64, i64* %storemerge37.reg2mem %51 = load i32, i32* %sv_1, align 4 %52 = icmp eq i32 %51, 0 br i1 %52, label LBL_16, label LBL_12 LBL_12: %53 = call i64* @malloc(i32 24) %54 = icmp eq i64* %53, null %55 = icmp eq i1 %54, false store i64 0, i64* %rax.0.reg2mem br i1 %55, label LBL_13, label LBL_19 LBL_13: %56 = ptrtoint i64* %53 to i64 %57 = call i64* @memset(i64* %53, i32 0, i32 24) %58 = call i64 @FUNC(i64 %4, i64 %56) %59 = trunc i64 %58 to i32 %60 = icmp eq i32 %59, 0 %61 = icmp eq i1 %60, false store i64 0, i64* %rax.0.reg2mem br i1 %61, label LBL_14, label LBL_19 LBL_14: %62 = add i64 %56, 8 %63 = call i64 @FUNC(i64 %4, i64 %62, i32* nonnull %sv_0, i64 4294967295) %64 = trunc i64 %63 to i32 %65 = icmp eq i32 %64, 0 %66 = icmp eq i1 %65, false store i64 0, i64* %rax.0.reg2mem br i1 %66, label LBL_15, label LBL_19 LBL_15: %67 = load i32, i32* %sv_0, align 4 %68 = add i64 %56, 4 %69 = inttoptr i64 %68 to i32* store i32 %67, i32* %69, align 4 %70 = add i64 %56, 16 %71 = inttoptr i64 %70 to i64* store i64 %storemerge37.reload, i64* %71, align 8 %72 = call i64 @FUNC(i64 %4, i32* nonnull %sv_1) %73 = trunc i64 %72 to i32 %74 = icmp eq i32 %73, 0 %75 = icmp eq i1 %74, false store i64 %56, i64* %storemerge37.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %75, label LBL_11, label LBL_19 LBL_16: store i64 %storemerge37.reload, i64* %arg2, align 8 store i64 1, i64* %rax.0.reg2mem br label LBL_19 LBL_17: %not..le = icmp ne i1 %50, true store i1 %not..le, i1* %rax.0.ph.shrunk.reg2mem br label LBL_18 LBL_18: %rax.0.ph.shrunk.reload = load i1, i1* %rax.0.ph.shrunk.reg2mem %rax.0.ph = zext i1 %rax.0.ph.shrunk.reload to i64 store i64 %rax.0.ph, i64* %rax.0.reg2mem br label LBL_19 LBL_19: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %53, { 0, 2, 1 } uselistorder i64 %storemerge37.reload, { 1, 0 } uselistorder i64 %storemerge412.reload, { 0, 2, 1, 3 } uselistorder i64 %storemerge28.reload, { 0, 2, 1 } uselistorder i64 %14, { 3, 1, 2, 0 } uselistorder i1 %11, { 1, 0 } uselistorder i64 %10, { 1, 0 } uselistorder i64 %4, { 3, 1, 2, 0 } uselistorder i32 %2, { 2, 1, 0 } uselistorder i32* %sv_1, { 3, 5, 4, 6, 0, 1, 2 } uselistorder i32* %sv_0, { 2, 0, 1, 3 } uselistorder i64* %storemerge28.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge412.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge37.reg2mem, { 2, 0, 1 } uselistorder i1* %rax.0.ph.shrunk.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 9, 1, 4, 3, 2, 8, 10, 7, 5 } uselistorder i64 (i64, i64, i32*, i64)* @xdr_bytes, { 1, 0 } uselistorder i64 (i64, i64)* @xdr_krb5_int16, { 1, 0 } uselistorder void (i64*)* @free, { 1, 0 } uselistorder i64* null, { 2, 0, 1 } uselistorder i64 1, { 2, 1, 3, 0, 4, 5, 6 } uselistorder i1 false, { 8, 5, 6, 7, 11, 0, 9, 1, 10, 12, 3, 2, 4 } uselistorder i64 (i64, i32*)* @xdr_bool, { 3, 2, 0, 1 } uselistorder i32 2, { 1, 0 } uselistorder i64* %arg2, { 2, 3, 0, 1, 4 } uselistorder label LBL_19, { 5, 8, 0, 3, 2, 1, 7, 9, 6, 4 } uselistorder label LBL_18, { 2, 0, 1, 3 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
0
CompRealVul
git_index_find_prefix_142
git_index_find_prefix
define i64 @FUNC(i64* %arg1, i64* %arg2, i8* %arg3) local_unnamed_addr { LBL_0: %sv_0.04.reg2mem = alloca i64 %0 = ptrtoint i8* %arg3 to i64 %1 = ptrtoint i64* %arg2 to i64 %sv_1 = alloca i64, align 8 %2 = call i32 @strlen(i8* %arg3) %3 = sext i32 %2 to i64 %4 = call i64 @FUNC(i64* nonnull %sv_1, i64 %1, i64 %0, i64 %3, i64 0) %5 = load i64, i64* %sv_1, align 8 %6 = call i64 @FUNC(i64 %1, i64 %5) %7 = icmp eq i64 %6, 0 store i64 4294967295, i64* %sv_0.04.reg2mem br i1 %7, label LBL_4, label LBL_1 LBL_1: %8 = inttoptr i64 %6 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %9, i64 %0) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 store i64 4294967295, i64* %sv_0.04.reg2mem br i1 %12, label LBL_2, label LBL_4 LBL_2: %13 = icmp eq i64* %arg1, null store i64 0, i64* %sv_0.04.reg2mem br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = load i64, i64* %sv_1, align 8 store i64 %14, i64* %arg1, align 8 store i64 0, i64* %sv_0.04.reg2mem br label LBL_4 LBL_4: %sv_0.04.reload = load i64, i64* %sv_0.04.reg2mem ret i64 %sv_0.04.reload uselistorder i64* %sv_1, { 1, 2, 0 } uselistorder i64* %sv_0.04.reg2mem, { 0, 4, 3, 1, 2 } uselistorder i32 (i8*)* @strlen, { 1, 0 } uselistorder label LBL_4, { 2, 3, 0, 1 } }
0
CompRealVul
vc1_decode_entry_point_17030
vc1_decode_entry_point
define i64 @FUNC(i32* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge3.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rsi = alloca i64, align 8 %3 = ptrtoint i64* %arg3 to i64 %4 = ptrtoint i64* %arg2 to i64 %5 = ptrtoint i32* %arg1 to i64 %6 = call i64 @FUNC(i64 %3, i64 32) %7 = and i64 %6, 4294967295 %8 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0), i64 %7, i64 %2, i64 %1) %9 = call i64 @FUNC(i64 %3) %10 = trunc i64 %9 to i32 %11 = bitcast i64* %arg2 to i32* store i32 %10, i32* %11, align 4 %12 = call i64 @FUNC(i64 %3) %13 = trunc i64 %12 to i32 %14 = add i64 %4, 4 %15 = inttoptr i64 %14 to i32* store i32 %13, i32* %15, align 4 %16 = call i64 @FUNC(i64 %3) %17 = trunc i64 %16 to i32 %18 = add i64 %4, 8 %19 = inttoptr i64 %18 to i32* store i32 %17, i32* %19, align 4 %20 = call i64 @FUNC(i64 %3) %21 = trunc i64 %20 to i32 %22 = add i64 %4, 12 %23 = inttoptr i64 %22 to i32* store i32 %21, i32* %23, align 4 %24 = call i64 @FUNC(i64 %3) %25 = trunc i64 %24 to i32 %26 = add i64 %4, 16 %27 = inttoptr i64 %26 to i32* store i32 %25, i32* %27, align 4 %28 = call i64 @FUNC(i64 %3) %29 = trunc i64 %28 to i32 %30 = add i64 %4, 20 %31 = inttoptr i64 %30 to i32* store i32 %29, i32* %31, align 4 %32 = call i64 @FUNC(i64 %3) %33 = trunc i64 %32 to i32 %34 = add i64 %4, 24 %35 = inttoptr i64 %34 to i32* store i32 %33, i32* %35, align 4 %36 = call i64 @FUNC(i64 %3, i64 2) %37 = trunc i64 %36 to i32 %38 = add i64 %4, 28 %39 = inttoptr i64 %38 to i32* store i32 %37, i32* %39, align 4 %40 = call i64 @FUNC(i64 %3) %41 = trunc i64 %40 to i32 %42 = add i64 %4, 32 %43 = inttoptr i64 %42 to i32* store i32 %41, i32* %43, align 4 %44 = call i64 @FUNC(i64 %3) %45 = trunc i64 %44 to i32 %46 = add i64 %4, 36 %47 = inttoptr i64 %46 to i32* store i32 %45, i32* %47, align 4 %48 = call i64 @FUNC(i64 %3, i64 2) %49 = trunc i64 %48 to i32 %50 = add i64 %4, 40 %51 = inttoptr i64 %50 to i32* store i32 %49, i32* %51, align 4 %52 = add i64 %4, 44 %53 = inttoptr i64 %52 to i32* %54 = load i32, i32* %53, align 4 %55 = icmp eq i32 %54, 0 br i1 %55, label LBL_3, label LBL_1 LBL_1: %56 = add i64 %4, 48 %57 = inttoptr i64 %56 to i32* %58 = load i32, i32* %57, align 4 %59 = icmp eq i32 %58, 0 store i32 0, i32* %storemerge3.reg2mem br i1 %59, label LBL_3, label LBL_2 LBL_2: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %60 = call i64 @FUNC(i64 %3, i64 8) %61 = add i32 %storemerge3.reload, 1 %62 = load i32, i32* %57, align 4 %63 = zext i32 %62 to i64 %64 = sext i32 %61 to i64 %65 = icmp slt i64 %64, %63 store i32 %61, i32* %storemerge3.reg2mem br i1 %65, label LBL_2, label LBL_3 LBL_3: %66 = call i64 @FUNC(i64 %3) %67 = trunc i64 %66 to i32 %68 = icmp eq i32 %67, 0 br i1 %68, label LBL_5, label LBL_4 LBL_4: %69 = call i64 @FUNC(i64 %3, i64 12) %.tr = trunc i64 %69 to i32 %70 = mul i32 %.tr, 2 %71 = add i32 %70, 2 store i32 %71, i32* %arg1, align 4 %72 = call i64 @FUNC(i64 %3, i64 12) %.tr2 = trunc i64 %72 to i32 %73 = mul i32 %.tr2, 2 %74 = add i32 %73, 2 %75 = add i64 %5, 4 %76 = inttoptr i64 %75 to i32* store i32 %74, i32* %76, align 4 br label LBL_5 LBL_5: %77 = load i32, i32* %35, align 4 %78 = icmp eq i32 %77, 0 br i1 %78, label LBL_7, label LBL_6 LBL_6: %79 = call i64 @FUNC(i64 %3) %80 = trunc i64 %79 to i32 %81 = add i64 %4, 52 %82 = inttoptr i64 %81 to i32* store i32 %80, i32* %82, align 4 br label LBL_7 LBL_7: %83 = call i64 @FUNC(i64 %3) %84 = trunc i64 %83 to i32 %85 = add i64 %4, 56 %86 = inttoptr i64 %85 to i32* store i32 %84, i32* %86, align 4 %87 = icmp eq i32 %84, 0 br i1 %87, label LBL_9, label LBL_8 LBL_8: %88 = call i64 @FUNC(i64 %5, i64 1, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_1, i64 0, i64 0), i64 %7, i64 %2, i64 %1) %89 = call i64 @FUNC(i64 %3, i64 3) %90 = trunc i64 %89 to i32 %91 = add i64 %4, 60 %92 = inttoptr i64 %91 to i32* store i32 %90, i32* %92, align 4 br label LBL_9 LBL_9: %93 = call i64 @FUNC(i64 %3) %94 = trunc i64 %93 to i32 %95 = add i64 %4, 64 %96 = inttoptr i64 %95 to i32* store i32 %94, i32* %96, align 4 %97 = icmp eq i32 %94, 0 br i1 %97, label LBL_11, label LBL_10 LBL_10: %98 = call i64 @FUNC(i64 %5, i64 1, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_2, i64 0, i64 0), i64 %7, i64 %2, i64 %1) %99 = call i64 @FUNC(i64 %3, i64 3) %100 = trunc i64 %99 to i32 %101 = add i64 %4, 68 %102 = inttoptr i64 %101 to i32* store i32 %100, i32* %102, align 4 br label LBL_11 LBL_11: %103 = load i32, i32* %19, align 4 %104 = load i32, i32* %15, align 4 %105 = bitcast i64* %rsi to i32* %106 = load i32, i32* %105, align 8 %107 = zext i32 %103 to i64 %108 = zext i32 %104 to i64 %109 = zext i32 %106 to i64 %110 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([160 x i8], [160 x i8]* @gv_3, i64 0, i64 0), i64 %109, i64 %108, i64 %107) ret i64 0 uselistorder i32* %57, { 1, 0 } uselistorder i64 %7, { 1, 0, 2 } uselistorder i64 %5, { 3, 2, 1, 0, 4 } uselistorder i64 %4, { 3, 4, 2, 5, 1, 0, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 } uselistorder i64 %3, { 5, 6, 4, 7, 3, 1, 2, 8, 0, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i32* %storemerge3.reg2mem, { 2, 0, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i32 2, { 2, 0, 3, 1 } uselistorder i64 (i64, i64)* @get_bits, { 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64)* @get_bits1, { 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 3, 2, 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
qobject_input_optional_15901
qobject_input_optional
define i64 @FUNC(i64* %arg1, i8* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i8* %arg2 to i64 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = call i64 @FUNC(i64 %3, i64 %1, i64 0, i64 0) %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false %7 = bitcast i64* %arg3 to i8* %. = zext i1 %6 to i8 store i8 %., i8* %7, align 1 ret i64 %0 }
1
CompRealVul
compaction_suitable_4322
compaction_suitable
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = urem i64 %arg2, 64 %3 = shl i64 2, %2 %4 = add i64 %1, %3 %5 = call i64 @FUNC(i64 %0, i64 0, i64 %4, i64 0, i64 0) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_1, label LBL_7 LBL_1: %sext = mul i64 %arg2, 4294967296 %9 = ashr exact i64 %sext, 32 %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, -1 %12 = icmp eq i1 %11, false store i64 1, i64* %rax.0.reg2mem br i1 %12, label LBL_2, label LBL_7 LBL_2: %13 = and i64 %9, 4294967295 %14 = call i64 @FUNC(i64 %0, i64 %13) %15 = trunc i64 %14 to i32 %16 = icmp slt i32 %15, 0 br i1 %16, label LBL_4, label LBL_3 LBL_3: %sext2 = mul i64 %14, 4294967296 %17 = ashr exact i64 %sext2, 32 %18 = load i64, i64* @gv_0, align 8 %19 = icmp ult i64 %18, %17 store i64 0, i64* %rax.0.reg2mem br i1 %19, label LBL_6, label LBL_7 LBL_4: %20 = icmp eq i32 %15, -1 %21 = icmp eq i1 %20, false br i1 %21, label LBL_6, label LBL_5 LBL_5: %22 = call i64 @FUNC(i64 %0, i64 %13, i64 %4, i64 0, i64 0) %23 = trunc i64 %22 to i32 %24 = icmp eq i32 %23, 0 store i64 2, i64* %rax.0.reg2mem br i1 %24, label LBL_6, label LBL_7 LBL_6: store i64 1, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %9, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 3, 4 } uselistorder i64 1, { 1, 0, 2 } uselistorder i64 (i64, i64, i64, i64, i64)* @zone_watermark_ok, { 1, 0 } uselistorder label LBL_7, { 4, 0, 1, 2, 3 } uselistorder label LBL_6, { 1, 2, 0 } }
0
CompRealVul
dm_init_md_queue_9684
dm_init_md_queue
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 1, i64 %0) store i64 %0, i64* inttoptr (i64 1 to i64*), align 8 %2 = load i64, i64* inttoptr (i64 9 to i64*), align 8 %3 = inttoptr i64 %2 to i64* store i64 %0, i64* %3, align 8 ret i64 %2 uselistorder i64 %2, { 1, 0 } }
0
CompRealVul
test_x509_time_5712
test_x509_time
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.014.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i32* %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %sext = mul i64 %arg1, 4294967296 %5 = ashr exact i64 %sext, 32 %6 = ashr exact i64 %sext, 27 %7 = add i64 %6, ptrtoint (i32** @gv_0 to i64) %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 8 %10 = icmp eq i32 %9, 0 store i32* null, i32** %sv_1.0.reg2mem br i1 %10, label LBL_3, label LBL_1 LBL_1: %11 = call i64 @FUNC() %12 = inttoptr i64 %11 to i32* %13 = icmp eq i64 %11, 0 %14 = icmp eq i1 %13, false store i32* %12, i32** %sv_1.0.reg2mem br i1 %14, label LBL_3, label LBL_2 LBL_2: %15 = and i64 %5, 4294967295 %16 = call i64 @FUNC(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_1, i64 0, i64 0), i64 %15, i64 %3, i64 %4, i64 %2, i64 %1) store i64 0, i64* %storemerge.reg2mem br label LBL_13 LBL_3: %sv_1.0.reload = load i32*, i32** %sv_1.0.reg2mem %17 = add i64 %6, ptrtoint (i64* @gv_2 to i64) %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = ptrtoint i32* %sv_1.0.reload to i64 %21 = call i64 @FUNC(i64 %20, i64 %19) %22 = add i64 %6, ptrtoint (i32** @gv_3 to i64) %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 8 %25 = zext i32 %24 to i64 %26 = and i64 %21, 4294967295 %27 = call i64 @FUNC(i64 %26, i64 %25) %28 = trunc i64 %27 to i32 %29 = icmp eq i32 %28, 0 %30 = icmp eq i1 %29, false br i1 %30, label LBL_4, label LBL_11 LBL_4: %cond = icmp eq i32* %sv_1.0.reload, null store i64 1, i64* %storemerge.reg2mem br i1 %cond, label LBL_13, label LBL_5 LBL_5: %31 = add i64 %6, ptrtoint (i32** @gv_4 to i64) %32 = inttoptr i64 %31 to i32* %33 = load i32, i32* %32, align 8 %34 = icmp eq i32 %33, -1 br i1 %34, label LBL_8, label LBL_6 LBL_6: %35 = load i32, i32* %sv_1.0.reload, align 4 %36 = zext i32 %33 to i64 %37 = zext i32 %35 to i64 %38 = call i64 @FUNC(i64 %37, i64 %36) %39 = trunc i64 %38 to i32 %40 = icmp eq i32 %39, 0 %41 = icmp eq i1 %40, false br i1 %41, label LBL_8, label LBL_7 LBL_7: %42 = load i32, i32* %sv_1.0.reload, align 4 %43 = zext i32 %42 to i64 %44 = load i32, i32* %32, align 8 %45 = zext i32 %44 to i64 %46 = and i64 %5, 4294967295 %47 = call i64 @FUNC(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_5, i64 0, i64 0), i64 %46, i64 %45, i64 %43, i64 %2, i64 %1) store i64 0, i64* %sv_0.014.reg2mem br label LBL_12 LBL_8: %48 = add i64 %6, ptrtoint (i64* @gv_6 to i64) %49 = inttoptr i64 %48 to i64* %50 = load i64, i64* %49, align 8 %51 = icmp eq i64 %50, 0 store i64 1, i64* %sv_0.014.reg2mem br i1 %51, label LBL_12, label LBL_9 LBL_9: %52 = inttoptr i64 %50 to i8* %53 = call i32 @strlen(i8* %52) %54 = zext i32 %53 to i64 %55 = load i64, i64* %49, align 8 %56 = add i64 %20, 4 %57 = inttoptr i64 %56 to i32* %58 = load i32, i32* %57, align 4 %59 = add i64 %20, 8 %60 = inttoptr i64 %59 to i64* %61 = load i64, i64* %60, align 8 %62 = call i64 @FUNC(i64 %61, i32 %58, i64 %55, i64 %54) %63 = trunc i64 %62 to i32 %64 = icmp eq i32 %63, 0 %65 = icmp eq i1 %64, false store i64 1, i64* %sv_0.014.reg2mem br i1 %65, label LBL_12, label LBL_10 LBL_10: %66 = load i64, i64* %60, align 8 %67 = load i32, i32* %57, align 4 %68 = zext i32 %67 to i64 %69 = load i64, i64* %49, align 8 %70 = and i64 %5, 4294967295 %71 = call i64 @FUNC(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_7, i64 0, i64 0), i64 %70, i64 %69, i64 %68, i64 %66, i64 %1) store i64 0, i64* %sv_0.014.reg2mem br label LBL_12 LBL_11: %72 = load i32, i32* %23, align 8 %73 = zext i32 %72 to i64 %74 = and i64 %5, 4294967295 %75 = call i64 @FUNC(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_8, i64 0, i64 0), i64 %74, i64 %73, i64 %26, i64 %2, i64 %1) %76 = icmp eq i32* %sv_1.0.reload, null store i64 0, i64* %sv_0.014.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %76, label LBL_13, label LBL_12 LBL_12: %sv_0.014.reload = load i64, i64* %sv_0.014.reg2mem %77 = call i64 @FUNC(i64 %20) store i64 %sv_0.014.reload, i64* %storemerge.reg2mem br label LBL_13 LBL_13: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %20, { 0, 2, 1, 3 } uselistorder i32* %sv_1.0.reload, { 2, 3, 1, 4, 0 } uselistorder i64 %11, { 1, 0 } uselistorder i64 %5, { 1, 3, 2, 0 } uselistorder i64 %sext, { 1, 0 } uselistorder i64 %2, { 1, 2, 0 } uselistorder i64 %1, { 1, 3, 2, 0 } uselistorder i64* %sv_0.014.reg2mem, { 0, 5, 1, 3, 4, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1, 4 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i32 (i8*)* @strlen, { 1, 0 } uselistorder i64 1, { 1, 2, 0, 3, 4 } uselistorder i64 (i64, i64)* @TEST_int_eq, { 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @TEST_info, { 1, 3, 2, 0 } uselistorder i1 false, { 1, 2, 3, 4, 5, 6, 7, 0 } uselistorder label LBL_13, { 2, 1, 0, 3 } uselistorder label LBL_12, { 4, 1, 2, 3, 0 } uselistorder label LBL_8, { 1, 0 } }
0
CompRealVul
mxf_read_material_package_3283
mxf_read_material_package
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3, i32 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = icmp eq i32 %arg3, 17411 %3 = icmp eq i1 %2, false store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_4, label LBL_1 LBL_1: %4 = ptrtoint i64* %arg2 to i64 %5 = trunc i64 %1 to i32 %6 = call i64 @FUNC(i64 %4) %7 = trunc i64 %6 to i32 %8 = bitcast i64* %arg1 to i32* store i32 %7, i32* %8, align 4 %9 = icmp slt i32 %5, 0 %10 = icmp eq i1 %9, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %10, label LBL_2, label LBL_4 LBL_2: %11 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %1, 4294967296 %12 = ashr exact i64 %sext, 32 %13 = call i64 @FUNC(i64 %12) %14 = add i64 %11, 8 %15 = inttoptr i64 %14 to i64* store i64 %13, i64* %15, align 8 %16 = icmp eq i64 %13, 0 %17 = icmp eq i1 %16, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %17, label LBL_3, label LBL_4 LBL_3: %18 = bitcast i64* %rdi to i32* %19 = call i64 @FUNC(i64 %4, i64 4) %20 = load i32, i32* %18, align 8 %21 = load i64, i64* %15, align 8 %22 = call i64 @FUNC(i64 %4, i64 %21, i32 %20) store i64 0, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 4, 1 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_4, { 1, 2, 3, 0 } }
0
CompRealVul
ext4_setup_system_zone_12963
ext4_setup_system_zone
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.shrunk.reg2mem = alloca i64 %storemerge.off05.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64 %2) %4 = call i64 @FUNC(i64 %0, i64 1) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false %8 = inttoptr i64 %2 to i64* %9 = load i64, i64* %8, align 8 %10 = icmp eq i64 %9, 0 br i1 %7, label LBL_3, label LBL_1 LBL_1: store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %10, label LBL_16, label LBL_2 LBL_2: %11 = call i64 @FUNC(i64 %0) store i64 0, i64* %rax.0.shrunk.reg2mem br label LBL_16 LBL_3: store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %10, label LBL_4, label LBL_16 LBL_4: %sext = mul i64 %1, 4294967296 %12 = icmp eq i64 %sext, 0 br i1 %12, label LBL_14, label LBL_5 LBL_5: %13 = ashr exact i64 %sext, 32 %sext4 = mul i64 %3, 4294967296 %14 = ashr exact i64 %sext4, 32 %15 = add i64 %2, 8 %16 = inttoptr i64 %15 to i32* store i64 0, i64* %storemerge.off05.reg2mem br label LBL_6 LBL_6: %storemerge.off05.reload = load i64, i64* %storemerge.off05.reg2mem %17 = call i64 @FUNC(i64 %0, i64 %storemerge.off05.reload) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 br i1 %19, label LBL_10, label LBL_7 LBL_7: %20 = icmp ult i64 %storemerge.off05.reload, 5 br i1 %20, label LBL_9, label LBL_8 LBL_8: %21 = urem i64 %storemerge.off05.reload, %14 %22 = icmp eq i64 %21, 0 %23 = icmp eq i1 %22, false br i1 %23, label LBL_10, label LBL_9 LBL_9: %24 = call i64 @FUNC(i64 %0, i64 %storemerge.off05.reload) %25 = add i64 %24, 1 %26 = call i64 @FUNC(i64 %0, i64 %storemerge.off05.reload) %27 = and i64 %25, 4294967295 %28 = call i64 @FUNC(i64 %2, i64 %26, i64 %27) br label LBL_10 LBL_10: %29 = call i64 @FUNC(i64 %0, i64 %storemerge.off05.reload, i64 0) %30 = call i64 @FUNC(i64 %0, i64 %29) %31 = call i64 @FUNC(i64 %2, i64 %30, i64 1) %32 = trunc i64 %31 to i32 %33 = icmp eq i32 %32, 0 store i64 %31, i64* %rax.0.shrunk.reg2mem br i1 %33, label LBL_11, label LBL_16 LBL_11: %34 = call i64 @FUNC(i64 %0, i64 %29) %35 = call i64 @FUNC(i64 %2, i64 %34, i64 1) %36 = trunc i64 %35 to i32 %37 = icmp eq i32 %36, 0 store i64 %35, i64* %rax.0.shrunk.reg2mem br i1 %37, label LBL_12, label LBL_16 LBL_12: %38 = load i32, i32* %16, align 4 %39 = call i64 @FUNC(i64 %0, i64 %29) %40 = zext i32 %38 to i64 %41 = call i64 @FUNC(i64 %2, i64 %39, i64 %40) %42 = trunc i64 %41 to i32 %43 = icmp eq i32 %42, 0 store i64 %41, i64* %rax.0.shrunk.reg2mem br i1 %43, label LBL_13, label LBL_16 LBL_13: %44 = add nuw i64 %storemerge.off05.reload, 1 %45 = icmp ugt i64 %13, %44 store i64 %44, i64* %storemerge.off05.reg2mem br i1 %45, label LBL_6, label LBL_14 LBL_14: %46 = call i64 @FUNC(i64 %0, i64 2) %47 = trunc i64 %46 to i32 %48 = icmp eq i32 %47, 0 store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %48, label LBL_16, label LBL_15 LBL_15: %49 = call i64 @FUNC(i64 %2) store i64 0, i64* %rax.0.shrunk.reg2mem br label LBL_16 LBL_16: %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295 ret i64 %rax.0 uselistorder i64 %storemerge.off05.reload, { 2, 1, 4, 5, 6, 3, 0 } uselistorder i1 %10, { 1, 0 } uselistorder i64 %2, { 0, 2, 4, 5, 1, 3, 6, 7 } uselistorder i64 %0, { 1, 4, 5, 7, 6, 3, 2, 8, 0, 9, 10, 11 } uselistorder i64* %storemerge.off05.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 5, 4, 1, 2, 3, 6, 8, 7 } uselistorder i64 (i64, i64, i64)* @add_system_zone, { 3, 2, 1, 0 } uselistorder i32 0, { 5, 1, 2, 3, 4, 6, 0 } uselistorder i64 (i64, i64)* @test_opt, { 1, 0 } uselistorder i64 1, { 8, 5, 6, 4, 7, 0, 1, 2, 3 } uselistorder label LBL_16, { 4, 3, 0, 1, 2, 5, 7, 6 } uselistorder label LBL_6, { 1, 0 } }
1
CompRealVul
mongo_message_create_13417
mongo_message_create
define i64 @FUNC(i64 %arg1, i32 %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i32 %0 = call i64 @FUNC(i64 %arg1) %1 = icmp eq i32 %arg2, 0 %2 = icmp eq i1 %1, false store i32 %arg2, i32* %sv_0.0.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i32 @rand() store i32 %3, i32* %sv_0.0.reg2mem br label LBL_2 LBL_2: %4 = inttoptr i64 %0 to i32* %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %5 = trunc i64 %arg1 to i32 store i32 %5, i32* %4, align 4 %6 = add i64 %0, 4 %7 = inttoptr i64 %6 to i32* store i32 %sv_0.0.reload, i32* %7, align 4 %8 = add i64 %0, 8 %9 = inttoptr i64 %8 to i32* store i32 %arg3, i32* %9, align 4 %10 = add i64 %0, 12 %11 = inttoptr i64 %10 to i32* store i32 %arg4, i32* %11, align 4 ret i64 %0 }
0
CompRealVul
ndpi_netbios_name_interpret_6312
ndpi_netbios_name_interpret
define i64 @FUNC(i32* %arg1, i64 %arg2, i64* %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %storemerge319.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i64 %sv_2.0.in.reg2mem = alloca i64 %sv_0.0.ph.reg2mem = alloca i32 %sv_1.0.ph.reg2mem = alloca i64 %sv_3.0.ph.reg2mem = alloca i32 %sv_2.0.ph.in.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i8 %3 = lshr i8 %2, 7 %4 = add i8 %3, %2 %5 = ashr i8 %4, 1 %6 = sext i8 %5 to i32 %7 = add i32 %arg4, -1 %8 = bitcast i64* %arg3 to i8* store i8 0, i8* %8, align 1 %9 = icmp ult i32 %7, %6 %10 = icmp eq i8 %5, 0 %or.cond = or i1 %10, %9 store i64 4294967295, i64* %storemerge.reg2mem br i1 %or.cond, label LBL_15, label LBL_1 LBL_1: %11 = add i64 %arg2, -1 %12 = mul i32 %6, 2 %13 = zext i32 %12 to i64 %14 = icmp ult i64 %11, %13 %15 = icmp eq i1 %14, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %15, label LBL_2, label LBL_15 LBL_2: %16 = ptrtoint i64* %arg3 to i64 %sext = mul i64 %arg2, 4294967296 %17 = ashr exact i64 %sext, 32 %18 = ptrtoint i32* %arg1 to i64 %19 = add i64 %18, 1 store i64 %19, i64* %sv_2.0.ph.in.reg2mem store i32 0, i32* %sv_3.0.ph.reg2mem store i64 %17, i64* %sv_1.0.ph.reg2mem store i32 %6, i32* %sv_0.0.ph.reg2mem br label LBL_9 LBL_3: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %20 = trunc i64 %sv_1.0.reload to i32 %21 = icmp ult i32 %20, 2 br i1 %21, label LBL_6, label LBL_4 LBL_4: %sv_2.0.in.reload = load i64, i64* %sv_2.0.in.reg2mem %sv_2.0 = inttoptr i64 %sv_2.0.in.reload to i8* %22 = load i8, i8* %sv_2.0, align 1 %.off = add i8 %22, -65 %23 = icmp ugt i8 %.off, 15 br i1 %23, label LBL_6, label LBL_5 LBL_5: %24 = add i64 %sv_2.0.in.reload, 1 %25 = inttoptr i64 %24 to i8* %26 = load i8, i8* %25, align 1 %.off9 = add i8 %26, -65 %27 = icmp ult i8 %.off9, 16 br i1 %27, label LBL_7, label LBL_6 LBL_6: store i8 0, i8* %50, align 1 br label LBL_11 LBL_7: %28 = add i32 %sv_0.0.reload, -1 %29 = mul i8 %22, 16 %30 = add i8 %29, -81 %31 = add i8 %30, %26 store i8 %31, i8* %50, align 1 %32 = add i64 %sv_2.0.in.reload, 2 %33 = mul i64 %sv_1.0.reload, 4294967296 %sext4 = add i64 %33, -8589934592 %34 = ashr exact i64 %sext4, 32 %35 = call i16** @__ctype_b_loc() %36 = load i16*, i16** %35, align 8 %37 = ptrtoint i16* %36 to i64 %38 = load i8, i8* %50, align 1 %39 = sext i8 %38 to i64 %40 = mul i64 %39, 2 %41 = add i64 %40, %37 %42 = inttoptr i64 %41 to i16* %43 = load i16, i16* %42, align 2 %44 = and i16 %43, 16384 %45 = icmp eq i16 %44, 0 store i64 %32, i64* %sv_2.0.in.reg2mem store i64 %34, i64* %sv_1.0.reg2mem store i32 %28, i32* %sv_0.0.reg2mem br i1 %45, label LBL_10, label LBL_8 LBL_8: %46 = add i32 %sv_3.0.ph.reload, 1 store i64 %32, i64* %sv_2.0.ph.in.reg2mem store i32 %46, i32* %sv_3.0.ph.reg2mem store i64 %34, i64* %sv_1.0.ph.reg2mem store i32 %28, i32* %sv_0.0.ph.reg2mem br label LBL_9 LBL_9: %sv_0.0.ph.reload = load i32, i32* %sv_0.0.ph.reg2mem %sv_1.0.ph.reload = load i64, i64* %sv_1.0.ph.reg2mem %sv_3.0.ph.reload = load i32, i32* %sv_3.0.ph.reg2mem %sv_2.0.ph.in.reload = load i64, i64* %sv_2.0.ph.in.reg2mem %47 = icmp ult i32 %sv_3.0.ph.reload, %7 %48 = zext i32 %sv_3.0.ph.reload to i64 %49 = add i64 %48, %16 %50 = inttoptr i64 %49 to i8* store i64 %sv_2.0.ph.in.reload, i64* %sv_2.0.in.reg2mem store i64 %sv_1.0.ph.reload, i64* %sv_1.0.reg2mem store i32 %sv_0.0.ph.reload, i32* %sv_0.0.reg2mem br label LBL_10 LBL_10: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %51 = icmp ne i32 %sv_0.0.reload, 0 %or.cond8 = icmp eq i1 %47, %51 br i1 %or.cond8, label LBL_3, label LBL_11 LBL_11: %52 = icmp eq i32 %sv_3.0.ph.reload, 0 store i64 0, i64* %storemerge.reg2mem br i1 %52, label LBL_15, label LBL_12 LBL_12: store i8 0, i8* %50, align 1 %storemerge318 = add i32 %sv_3.0.ph.reload, -1 %53 = icmp eq i32 %storemerge318, 0 store i32 %storemerge318, i32* %storemerge319.reg2mem store i64 1, i64* %storemerge.reg2mem br i1 %53, label LBL_15, label LBL_14 LBL_13: store i8 0, i8* %57, align 1 %storemerge3 = add i32 %storemerge319.reload, -1 %54 = icmp eq i32 %storemerge3, 0 store i32 %storemerge3, i32* %storemerge319.reg2mem store i64 %48, i64* %storemerge.reg2mem br i1 %54, label LBL_15, label LBL_14 LBL_14: %storemerge319.reload = load i32, i32* %storemerge319.reg2mem %55 = zext i32 %storemerge319.reload to i64 %56 = add i64 %55, %16 %57 = inttoptr i64 %56 to i8* %58 = load i8, i8* %57, align 1 %59 = icmp eq i8 %58, 32 store i64 %48, i64* %storemerge.reg2mem br i1 %59, label LBL_13, label LBL_15 LBL_15: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i8* %57, { 1, 0 } uselistorder i8* %50, { 0, 1, 3, 2 } uselistorder i32 %sv_3.0.ph.reload, { 3, 4, 1, 2, 0 } uselistorder i64 %34, { 1, 0 } uselistorder i64 %32, { 1, 0 } uselistorder i32 %28, { 1, 0 } uselistorder i64 %sv_2.0.in.reload, { 2, 1, 0 } uselistorder i64 %sv_1.0.reload, { 1, 0 } uselistorder i64* %sv_2.0.in.reg2mem, { 1, 2, 0 } uselistorder i64* %sv_1.0.reg2mem, { 1, 2, 0 } uselistorder i32* %storemerge319.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 1, 2, 4, 3, 5, 6 } uselistorder i32 2, { 1, 0 } uselistorder i8 0, { 1, 3, 2, 0, 4 } uselistorder i32 -1, { 1, 0, 2, 3 } uselistorder i64* %arg3, { 1, 0 } uselistorder label LBL_15, { 0, 1, 3, 2, 4, 5 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_9, { 1, 0 } }
0
CompRealVul
extra_info_update_ongoing_17497
extra_info_update_ongoing
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = call i64 @FUNC() %1 = trunc i64 %0 to i32 %2 = icmp sgt i32 %1, 0 store i64 0, i64* %storemerge.reg2mem br i1 %2, label LBL_1, label LBL_7 LBL_1: %sext = mul i64 %0, 4294967296 %3 = ashr exact i64 %sext, 32 store i64 0, i64* %indvars.iv.reg2mem br label LBL_2 LBL_2: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %4 = call i64 @FUNC(i64 %indvars.iv.reload) %5 = call i64 @FUNC(i64 %4) %6 = inttoptr i64 %4 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 %7) %9 = inttoptr i64 %8 to i8* %10 = load i8, i8* %9, align 1 %11 = icmp eq i8 %10, 1 %12 = icmp eq i1 %11, false br i1 %12, label LBL_6, label LBL_3 LBL_3: %13 = add i64 %8, 1 %14 = inttoptr i64 %13 to i8* %15 = load i8, i8* %14, align 1 %16 = icmp eq i8 %15, 1 %17 = icmp eq i1 %16, false br i1 %17, label LBL_6, label LBL_4 LBL_4: %18 = inttoptr i64 %5 to i8* %19 = load i8, i8* %18, align 1 %20 = icmp eq i8 %19, 0 %21 = icmp eq i1 %20, false store i64 1, i64* %storemerge.reg2mem br i1 %21, label LBL_7, label LBL_5 LBL_5: %22 = add i64 %5, 1 %23 = inttoptr i64 %22 to i8* %24 = load i8, i8* %23, align 1 %25 = icmp eq i8 %24, 0 store i64 1, i64* %storemerge.reg2mem br i1 %25, label LBL_6, label LBL_7 LBL_6: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %26 = icmp slt i64 %indvars.iv.next, %3 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %26, label LBL_2, label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2, 4 } uselistorder i64 1, { 2, 1, 3, 0, 4 } uselistorder i32 1, { 1, 0 } uselistorder label LBL_7, { 2, 0, 1, 3 } uselistorder label LBL_6, { 2, 0, 1 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
cg_rmdir_6552
cg_rmdir
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1 = alloca i8*, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i8*, align 8 %0 = call i64 @FUNC() store i8* null, i8** %sv_3, align 8 store i64 0, i64* %sv_2, align 8 store i8* null, i8** %sv_1, align 8 %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 4294967291, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_11 LBL_1: %3 = call i64 @FUNC(i64 %0, i64 %arg1) %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %5, label LBL_2, label LBL_11 LBL_2: %6 = call i64 @FUNC(i64 %arg1) %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %8, label LBL_3, label LBL_11 LBL_3: %9 = bitcast i8** %sv_3 to i64* %10 = call i64 @FUNC(i64 %6, i64* nonnull %sv_2, i64* nonnull %9) %11 = load i8*, i8** %sv_3, align 8 %12 = icmp eq i8* %11, null %13 = icmp eq i1 %12, false store i64 4294967274, i64* %sv_0.0.reg2mem br i1 %13, label LBL_4, label LBL_10 LBL_4: %14 = inttoptr i64 %0 to i32* %15 = load i32, i32* %14, align 4 %16 = zext i32 %15 to i64 %17 = bitcast i8** %sv_1 to i64* %18 = call i64 @FUNC(i64 %16, i64 %3, i64 %6, i64* nonnull %17) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_7, label LBL_5 LBL_5: %22 = load i8*, i8** %sv_3, align 8 %23 = icmp eq i8* %22, null store i64 4294967280, i64* %sv_0.0.reg2mem br i1 %23, label LBL_10, label LBL_6 LBL_6: %24 = load i8*, i8** %sv_1, align 8 %25 = call i32 @strcmp(i8* %24, i8* nonnull %22) %26 = icmp eq i32 %25, 0 %27 = icmp eq i1 %26, false %spec.select = select i1 %27, i64 4294967294, i64 4294967280 store i64 %spec.select, i64* %sv_0.0.reg2mem br label LBL_10 LBL_7: %28 = load i64, i64* %sv_2, align 8 %29 = call i64 @FUNC(i64 %0, i64 %3, i64 %28, i64 0, i64 1) %30 = trunc i64 %29 to i32 %31 = icmp eq i32 %30, 0 %32 = icmp eq i1 %31, false store i64 4294967283, i64* %sv_0.0.reg2mem br i1 %32, label LBL_8, label LBL_10 LBL_8: %33 = load i32, i32* %14, align 4 %34 = zext i32 %33 to i64 %35 = call i64 @FUNC(i64 %34, i64 %3, i64 %6, i64* null) %36 = trunc i64 %35 to i32 %37 = icmp eq i32 %36, 0 %38 = icmp eq i1 %37, false store i64 4294967283, i64* %sv_0.0.reg2mem br i1 %38, label LBL_9, label LBL_10 LBL_9: %39 = call i64 @FUNC(i64 %3, i64 %6) %40 = trunc i64 %39 to i32 %41 = icmp eq i32 %40, 0 %42 = icmp eq i1 %41, false %. = select i1 %42, i64 0, i64 4294967274 store i64 %., i64* %sv_0.0.reg2mem br label LBL_10 LBL_10: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %43 = load i64, i64* %sv_2, align 8 %44 = inttoptr i64 %43 to i64* call void @free(i64* %44) %45 = load i8*, i8** %sv_1, align 8 %46 = bitcast i8* %45 to i64* call void @free(i64* %46) store i64 %sv_0.0.reload, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 0, 2, 1, 3 } uselistorder i8** %sv_3, { 2, 1, 3, 0 } uselistorder i64* %sv_2, { 1, 2, 0, 3 } uselistorder i8** %sv_1, { 2, 1, 3, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 4, 1, 5, 6 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder void (i64*)* @free, { 1, 0 } uselistorder i64 4294967280, { 1, 0 } uselistorder i64 (i64, i64, i64, i64*)* @caller_is_in_ancestor, { 1, 0 } uselistorder i64 4294967274, { 3, 2, 0, 1 } uselistorder label LBL_11, { 3, 0, 1, 2 } uselistorder label LBL_10, { 1, 2, 3, 0, 4, 5 } }
0
CompRealVul
fic_draw_cursor_123
fic_draw_cursor
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i64 %rdi.119.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %indvars.iv34.reg2mem = alloca i64 %indvars.iv32.reg2mem = alloca i64 %indvars.iv29.reg2mem = alloca i64 %sv_3.0.in25.reg2mem = alloca i64 %indvars.iv36.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_4 = alloca i64, align 8 %sv_5 = alloca i64, align 8 %sv_6 = alloca i64, align 8 %sv_7 = alloca i64, align 8 %sv_8 = alloca i64, align 8 %sv_9 = alloca i64, align 8 %1 = ptrtoint i64* %sv_9 to i64 %sext = mul i64 %arg2, 4294967296 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 store i64 0, i64* %indvars.iv36.reg2mem store i64 %4, i64* %sv_3.0.in25.reg2mem br label LBL_1 LBL_1: %sv_3.0.in25.reload = load i64, i64* %sv_3.0.in25.reg2mem %indvars.iv36.reload = load i64, i64* %indvars.iv36.reg2mem %sv_3.027 = inttoptr i64 %sv_3.0.in25.reload to i8* %5 = load i8, i8* %sv_3.027, align 1 %6 = zext i8 %5 to i64 %7 = mul nuw nsw i64 %6, 25 %8 = add i64 %sv_3.0.in25.reload, 1 %9 = inttoptr i64 %8 to i8* %10 = load i8, i8* %9, align 1 %11 = zext i8 %10 to i64 %12 = mul nuw nsw i64 %11, 129 %13 = add nuw nsw i64 %12, %7 %14 = add i64 %sv_3.0.in25.reload, 2 %15 = inttoptr i64 %14 to i8* %16 = load i8, i8* %15, align 1 %17 = zext i8 %16 to i64 %18 = mul nuw nsw i64 %17, 66 %19 = add nuw nsw i64 %13, %18 %20 = mul nsw i64 %19, -2139062143 %21 = udiv i64 %20, 4294967296 %22 = trunc i64 %21 to i32 %23 = trunc i64 %19 to i32 %24 = add i32 %22, %23 %25 = ashr i32 %24, 7 %26 = add nsw i32 %25, 16 %27 = zext i32 %26 to i64 %28 = call i64 @FUNC(i64 %27) %29 = trunc i64 %28 to i8 %30 = add i64 %indvars.iv36.reload, %1 %31 = add i64 %30, -4160 %32 = inttoptr i64 %31 to i8* store i8 %29, i8* %32, align 1 %33 = load i8, i8* %sv_3.027, align 1 %34 = zext i8 %33 to i64 %35 = mul nuw nsw i64 %34, 4294967258 %36 = load i8, i8* %9, align 1 %37 = zext i8 %36 to i64 %38 = mul nuw nsw i64 %37, 112 %39 = add nuw nsw i64 %38, %35 %40 = load i8, i8* %15, align 1 %41 = zext i8 %40 to i64 %42 = mul nuw nsw i64 %41, 4294967222 %43 = add nuw nsw i64 %39, %42 %sext14 = mul i64 %43, 4294967296 %44 = ashr exact i64 %sext14, 32 %narrow = mul nsw i64 %44, -2139062143 %45 = udiv i64 %narrow, 4294967296 %46 = trunc i64 %45 to i32 %47 = trunc i64 %43 to i32 %48 = add i32 %46, %47 %49 = ashr i32 %48, 7 %50 = icmp slt i32 %47, 0 %.neg = zext i1 %50 to i32 %51 = or i32 %.neg, 128 %52 = add nsw i32 %49, %51 %53 = zext i32 %52 to i64 %54 = call i64 @FUNC(i64 %53) %55 = trunc i64 %54 to i8 %56 = add i64 %30, -3136 %57 = inttoptr i64 %56 to i8* store i8 %55, i8* %57, align 1 %58 = load i8, i8* %sv_3.027, align 1 %59 = zext i8 %58 to i64 %60 = mul nuw nsw i64 %59, 4294967278 %61 = load i8, i8* %9, align 1 %62 = zext i8 %61 to i64 %63 = mul nuw nsw i64 %62, 112 %64 = add nuw nsw i64 %63, %60 %65 = load i8, i8* %15, align 1 %66 = zext i8 %65 to i64 %67 = mul nuw nsw i64 %66, 4294967202 %68 = add nuw nsw i64 %64, %67 %sext15 = mul i64 %68, 4294967296 %69 = ashr exact i64 %sext15, 32 %narrow16 = mul nsw i64 %69, -2139062143 %70 = udiv i64 %narrow16, 4294967296 %71 = trunc i64 %70 to i32 %72 = trunc i64 %68 to i32 %73 = add i32 %71, %72 %74 = ashr i32 %73, 7 %75 = icmp slt i32 %72, 0 %.neg18 = zext i1 %75 to i32 %76 = or i32 %.neg18, 128 %77 = add nsw i32 %74, %76 %78 = zext i32 %77 to i64 %79 = call i64 @FUNC(i64 %78) %80 = trunc i64 %79 to i8 %81 = add i64 %30, -2112 %82 = inttoptr i64 %81 to i8* store i8 %80, i8* %82, align 1 %83 = add i64 %sv_3.0.in25.reload, 3 %84 = inttoptr i64 %83 to i8* %85 = load i8, i8* %84, align 1 %86 = add i64 %30, -1088 %87 = inttoptr i64 %86 to i8* store i8 %85, i8* %87, align 1 %88 = add i64 %sv_3.0.in25.reload, 4 %indvars.iv.next37 = add nuw nsw i64 %indvars.iv36.reload, 1 %exitcond38 = icmp eq i64 %indvars.iv.next37, 1024 store i64 %indvars.iv.next37, i64* %indvars.iv36.reg2mem store i64 %88, i64* %sv_3.0.in25.reg2mem br i1 %exitcond38, label LBL_2, label LBL_1 LBL_2: %sext3 = mul i64 %arg3, 4294967296 %89 = ashr exact i64 %sext, 32 %90 = add i64 %1, -4928 %91 = add i64 %1, -4160 store i64 0, i64* %indvars.iv34.reg2mem br label LBL_7 LBL_3: %indvars.iv29.reload = load i64, i64* %indvars.iv29.reg2mem %indvars.iv.next30 = add nuw nsw i64 %indvars.iv29.reload, 1 %92 = mul i64 %indvars.iv.next30, 1024 %93 = add i64 %91, %92 %94 = add i64 %93, %119 %95 = inttoptr i64 %94 to i8* %96 = load i8, i8* %95, align 2 %97 = zext i8 %96 to i32 %98 = add i64 %93, %120 %99 = inttoptr i64 %98 to i8* %100 = load i8, i8* %99, align 1 %101 = zext i8 %100 to i32 %102 = add nuw nsw i32 %101, %97 %103 = add i64 %93, %121 %104 = inttoptr i64 %103 to i8* %105 = load i8, i8* %104, align 2 %106 = zext i8 %105 to i32 %107 = add nuw nsw i32 %102, %106 %108 = add i64 %93, %122 %109 = inttoptr i64 %108 to i8* %110 = load i8, i8* %109, align 1 %111 = zext i8 %110 to i32 %112 = add nuw nsw i32 %107, %111 %113 = udiv i32 %112, 4 %114 = mul i64 %indvars.iv29.reload, 256 %115 = add i64 %127, %114 %116 = trunc i32 %113 to i8 %117 = inttoptr i64 %115 to i8* store i8 %116, i8* %117, align 1 %exitcond31 = icmp eq i64 %indvars.iv.next30, 3 store i64 %indvars.iv.next30, i64* %indvars.iv29.reg2mem br i1 %exitcond31, label LBL_4, label LBL_3 LBL_4: %indvars.iv.next33 = add nuw nsw i64 %indvars.iv32.reload, 2 %118 = icmp ult i64 %indvars.iv.next33, 32 store i64 %indvars.iv.next33, i64* %indvars.iv32.reg2mem br i1 %118, label LBL_5, label LBL_6 LBL_5: %indvars.iv32.reload = load i64, i64* %indvars.iv32.reg2mem %119 = add nuw nsw i64 %indvars.iv32.reload, %129 %120 = or i64 %119, 1 %121 = add nuw nsw i64 %indvars.iv32.reload, %130 %122 = or i64 %121, 1 %123 = trunc i64 %indvars.iv32.reload to i32 %124 = ashr exact i32 %123, 1 %125 = add i32 %124, %131 %126 = sext i32 %125 to i64 %127 = add i64 %90, %126 store i64 0, i64* %indvars.iv29.reg2mem br label LBL_3 LBL_6: %indvars.iv.next35 = add nuw nsw i64 %indvars.iv34.reload, 2 %128 = icmp ult i64 %indvars.iv.next35, 32 store i64 %indvars.iv.next35, i64* %indvars.iv34.reg2mem br i1 %128, label LBL_7, label LBL_8 LBL_7: %indvars.iv34.reload = load i64, i64* %indvars.iv34.reg2mem %129 = mul i64 %indvars.iv34.reload, 32 %130 = or i64 %129, 32 %indvars.iv34.tr = trunc i64 %indvars.iv34.reload to i32 %131 = mul i32 %indvars.iv34.tr, 8 store i64 0, i64* %indvars.iv32.reg2mem br label LBL_5 LBL_8: %132 = ashr exact i64 %sext3, 32 %133 = and i64 %132, 4294967295 %134 = trunc i64 %132 to i32 %135 = trunc i64 %89 to i32 %136 = add i64 %1, -64 store i64 0, i64* %indvars.iv.reg2mem store i64 %78, i64* %rdi.119.reg2mem br label LBL_9 LBL_9: %rdi.119.reload = load i64, i64* %rdi.119.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %137 = mul i64 %indvars.iv.reload, 8 %138 = add i64 %137, %rdi.119.reload %139 = inttoptr i64 %138 to i64* %140 = load i64, i64* %139, align 8 %141 = mul i64 %indvars.iv.reload, 4 %142 = add nuw nsw i64 %141, 24 %143 = add i64 %142, %140 %144 = inttoptr i64 %143 to i32* %145 = load i32, i32* %144, align 4 %146 = icmp eq i64 %indvars.iv.reload, 0 %147 = icmp eq i1 %146, false %148 = icmp eq i1 %147, false %149 = zext i1 %147 to i32 %150 = ashr i32 %134, %149 %151 = zext i32 %150 to i64 %storemerge4 = select i1 %148, i64 %133, i64 %151 %152 = zext i32 %145 to i64 %sext5 = mul i64 %152, 4294967296 %sext7 = mul i64 %sext5, %storemerge4 %153 = ashr exact i64 %sext7, 32 %154 = ashr i32 %135, %149 %155 = zext i32 %154 to i64 %storemerge8 = select i1 %148, i64 %89, i64 %155 %sext9 = mul i64 %storemerge8, 4294967296 %156 = ashr exact i64 %sext9, 32 %157 = zext i1 %147 to i64 %158 = add i64 %140, %157 %159 = add i64 %158, %156 %160 = add i64 %159, %153 %161 = add i64 %136, %137 %162 = inttoptr i64 %161 to i64* store i64 %160, i64* %162, align 8 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 3 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %140, i64* %rdi.119.reg2mem br i1 %exitcond, label LBL_10, label LBL_9 LBL_10: %163 = add i64 %0, 12 %164 = inttoptr i64 %163 to i32* %165 = inttoptr i64 %2 to i32* %166 = ptrtoint i64* %sv_7 to i64 %167 = ptrtoint i64* %sv_8 to i64 %168 = ptrtoint i64* %sv_5 to i64 %169 = ptrtoint i64* %sv_6 to i64 %170 = ptrtoint i64* %sv_4 to i64 store i32 0, i32* %storemerge.reg2mem br label LBL_12 LBL_11: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %171 = load i32, i32* %165, align 4 %172 = sub i32 %171, %135 %173 = add i32 %172, -32 %174 = sub i32 31, %172 %175 = and i32 %174, %172 %176 = icmp slt i32 %175, 0 %177 = icmp eq i32 %173, 0 %178 = icmp slt i32 %173, 0 %179 = icmp eq i1 %178, %176 %180 = icmp eq i1 %177, false %181 = icmp eq i1 %179, %180 %182 = select i1 %181, i32 32, i32 %172 %183 = icmp slt i32 %182, 0 %184 = zext i1 %183 to i32 %185 = add i32 %182, %184 %186 = ashr i32 %185, 1 %187 = mul i32 %storemerge.reload, 32 %188 = sext i32 %187 to i64 %189 = add i64 %188, %166 %190 = add i64 %188, %167 %191 = call i64 @FUNC(i64 %sv_2.0.reload, i64 %190, i32 %182, i64 %189) %192 = or i32 %187, 32 %193 = sext i32 %192 to i64 %194 = add i64 %193, %166 %195 = add i64 %193, %167 %196 = add i64 %sv_2.0.reload, 24 %197 = inttoptr i64 %196 to i32* %198 = load i32, i32* %197, align 4 %199 = sext i32 %198 to i64 %200 = add i64 %sv_2.0.reload, %199 %201 = call i64 @FUNC(i64 %200, i64 %195, i32 %182, i64 %194) %202 = mul i32 %storemerge.reload, 8 %203 = sext i32 %202 to i64 %204 = add i64 %203, %168 %205 = add i64 %203, %169 %206 = call i64 @FUNC(i64 %sv_1.0.reload, i64 %205, i32 %186, i64 %204) %207 = add i64 %203, %170 %208 = call i64 @FUNC(i64 %sv_0.0.reload, i64 %207, i32 %186, i64 %204) %209 = add i64 %sv_0.0.reload, 24 %210 = inttoptr i64 %209 to i32* %211 = load i32, i32* %210, align 4 %212 = mul i32 %211, 2 %213 = sext i32 %212 to i64 %214 = add i64 %sv_2.0.reload, %213 %215 = add i64 %sv_0.0.reload, 28 %216 = inttoptr i64 %215 to i32* %217 = load i32, i32* %216, align 4 %218 = sext i32 %217 to i64 %219 = add i64 %sv_1.0.reload, %218 %220 = add i64 %sv_0.0.reload, 32 %221 = inttoptr i64 %220 to i32* %222 = load i32, i32* %221, align 4 %223 = sext i32 %222 to i64 %224 = add i64 %sv_0.0.reload, %223 %225 = add i32 %storemerge.reload, 2 store i64 %214, i64* %sv_2.0.reg2mem store i64 %219, i64* %sv_1.0.reg2mem store i64 %224, i64* %sv_0.0.reg2mem store i32 %225, i32* %storemerge.reg2mem br label LBL_12 LBL_12: %storemerge.reload = load i32, i32* %storemerge.reg2mem %226 = load i32, i32* %164, align 4 %227 = sub i32 %226, %134 %228 = add i32 %227, -32 %229 = sub i32 31, %227 %230 = and i32 %229, %227 %231 = icmp slt i32 %230, 0 %232 = icmp eq i32 %228, 0 %233 = icmp slt i32 %228, 0 %234 = icmp eq i1 %233, %231 %235 = icmp eq i1 %232, false %236 = icmp eq i1 %234, %235 %.op = add i32 %227, -1 %237 = zext i32 %.op to i64 %238 = select i1 %236, i64 31, i64 %237 %239 = sext i32 %storemerge.reload to i64 %240 = icmp sgt i64 %238, %239 br i1 %240, label LBL_11, label LBL_13 LBL_13: ret i64 %238 uselistorder i32 %228, { 1, 0 } uselistorder i32 %227, { 2, 0, 1, 3 } uselistorder i32 %storemerge.reload, { 0, 2, 3, 1 } uselistorder i32 %187, { 1, 0 } uselistorder i32 %182, { 2, 3, 0, 1 } uselistorder i32 %173, { 1, 0 } uselistorder i32 %172, { 2, 0, 1, 3 } uselistorder i64 %sv_2.0.reload, { 3, 2, 0, 1 } uselistorder i64 %sv_1.0.reload, { 1, 0 } uselistorder i64 %sv_0.0.reload, { 4, 0, 1, 2, 3 } uselistorder i1 %147, { 0, 2, 1 } uselistorder i64 %indvars.iv.reload, { 0, 1, 3, 2 } uselistorder i64 %132, { 1, 0 } uselistorder i64 %indvars.iv34.reload, { 1, 2, 0 } uselistorder i64 %121, { 1, 0 } uselistorder i64 %119, { 1, 0 } uselistorder i64 %indvars.iv32.reload, { 1, 3, 2, 0 } uselistorder i64 %indvars.iv.next30, { 0, 2, 1 } uselistorder i64 %indvars.iv29.reload, { 1, 0 } uselistorder i64 %68, { 1, 0 } uselistorder i64 %43, { 1, 0 } uselistorder i64 %19, { 1, 0 } uselistorder i8* %sv_3.027, { 2, 1, 0 } uselistorder i64 %1, { 3, 0, 2, 1 } uselistorder i64* %indvars.iv36.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_3.0.in25.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv29.reg2mem, { 2, 1, 0 } uselistorder i64* %indvars.iv32.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rdi.119.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.0.reg2mem, { 1, 0 } uselistorder i64* %sv_1.0.reg2mem, { 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 1, 0 } uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 2, { 1, 0 } uselistorder i64 (i64, i64, i32, i64)* @fic_alpha_blend, { 3, 2, 1, 0 } uselistorder i32 32, { 1, 0, 2 } uselistorder i32 31, { 1, 0 } uselistorder i32 -32, { 1, 0 } uselistorder i1 false, { 2, 1, 0, 3, 4 } uselistorder i64 24, { 1, 2, 0 } uselistorder i32 0, { 7, 8, 9, 1, 4, 5, 6, 0, 2, 3, 10 } uselistorder i64 32, { 11, 6, 7, 8, 1, 0, 2, 3, 9, 4, 5, 10 } uselistorder i64 (i64)* @av_clip_uint8, { 2, 1, 0 } uselistorder i64 4294967296, { 0, 1, 2, 7, 3, 8, 4, 9, 5, 6 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
CompRealVul
gen_partset_reg_15433
gen_partset_reg
define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = trunc i64 %arg1 to i32 %1 = icmp sgt i32 %0, 4 br i1 %1, label LBL_6, label LBL_1 LBL_1: %sext3 = mul i64 %arg2, 4294967296 %2 = ashr exact i64 %sext3, 32 %3 = icmp sgt i32 %0, 2 br i1 %3, label LBL_5, label LBL_2 LBL_2: switch i32 %0, label LBL_6 [ i32 1, label LBL_3 i32 2, label LBL_4 ] LBL_3: %4 = and i64 %2, 4294967295 %5 = call i64 @FUNC(i64 %4, i64 %4, i64 4294967040) %6 = call i64 @FUNC() %7 = trunc i64 %6 to i32 %8 = zext i32 %arg3 to i64 %9 = and i64 %6, 4294967295 %10 = call i64 @FUNC(i64 %9, i64 %8) %11 = call i64 @FUNC(i64 %4, i64 %4, i32 %7) store i64 %11, i64* %rax.0.reg2mem br label LBL_7 LBL_4: %12 = and i64 %2, 4294967295 %13 = call i64 @FUNC(i64 %12, i64 %12, i64 4294901760) %14 = call i64 @FUNC() %15 = trunc i64 %14 to i32 %16 = zext i32 %arg3 to i64 %17 = and i64 %14, 4294967295 %18 = call i64 @FUNC(i64 %17, i64 %16) %19 = call i64 @FUNC(i64 %12, i64 %12, i32 %15) store i64 %19, i64* %rax.0.reg2mem br label LBL_7 LBL_5: %20 = zext i32 %arg3 to i64 %21 = and i64 %2, 4294967295 %22 = call i64 @FUNC(i64 %21, i64 %20) store i64 %22, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %23 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0)) store i64 %23, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %12, { 0, 1, 3, 2 } uselistorder i64 %4, { 0, 1, 3, 2 } uselistorder i64 %2, { 2, 0, 1 } uselistorder i32 %0, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 } uselistorder i64 (i64, i64, i32)* @tcg_gen_or_i32, { 1, 0 } uselistorder i64 ()* @tcg_temp_new, { 1, 0 } uselistorder i64 (i64, i64, i64)* @tcg_gen_andi_i32, { 1, 0 } uselistorder i64 4294967295, { 0, 3, 4, 1, 2 } uselistorder i32 %arg3, { 2, 0, 1 } }
1
CompRealVul
ff_bink_idct_c_16684
ff_bink_idct_c
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %indvars.iv6.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %indvars.iv9.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = ptrtoint i64* %sv_0 to i64 store i64 0, i64* %indvars.iv9.reg2mem br label LBL_1 LBL_1: %indvars.iv9.reload = load i64, i64* %indvars.iv9.reg2mem %2 = mul i64 %indvars.iv9.reload, 4 %3 = add i64 %2, %0 %4 = add i64 %2, %1 %5 = call i64 @FUNC(i64 %4, i64 %3) %indvars.iv.next10 = add nuw nsw i64 %indvars.iv9.reload, 1 %exitcond11 = icmp eq i64 %indvars.iv.next10, 8 store i64 %indvars.iv.next10, i64* %indvars.iv9.reg2mem store i64 0, i64* %indvars.iv6.reg2mem br i1 %exitcond11, label LBL_4, label LBL_1 LBL_2: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %reass.add = add nuw nsw i64 %indvars.iv.reload, %11 %reass.mul = mul i64 %reass.add, 4 %6 = add i64 %reass.mul, %1 %7 = add i64 %reass.mul, %0 %8 = inttoptr i64 %6 to i32* %9 = load i32, i32* %8, align 4 %10 = inttoptr i64 %7 to i32* store i32 %9, i32* %10, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 8 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_3, label LBL_2 LBL_3: %indvars.iv.next7 = add nuw nsw i64 %indvars.iv6.reload, 1 %exitcond8 = icmp eq i64 %indvars.iv.next7, 8 store i64 %indvars.iv.next7, i64* %indvars.iv6.reg2mem br i1 %exitcond8, label LBL_5, label LBL_4 LBL_4: %indvars.iv6.reload = load i64, i64* %indvars.iv6.reg2mem %11 = mul i64 %indvars.iv6.reload, 8 store i64 0, i64* %indvars.iv.reg2mem br label LBL_2 LBL_5: %12 = zext i32 %9 to i64 ret i64 %12 uselistorder i64 %indvars.iv6.reload, { 1, 0 } uselistorder i64 %reass.mul, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64* %indvars.iv9.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 } uselistorder i64* %indvars.iv6.reg2mem, { 0, 2, 1 } uselistorder i64 8, { 0, 2, 3, 1 } uselistorder i64 1, { 1, 2, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
jas_malloc_11672
jas_malloc
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = trunc i64 %arg1 to i32 %1 = call i64* @malloc(i32 %0) %2 = ptrtoint i64* %1 to i64 %3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i64 %arg1, i64* %1) ret i64 %2 }
1
CompRealVul
nr_recvmsg_13603
nr_recvmsg
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %sv_1 = alloca i32, align 4 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %1 to i32 %5 = icmp eq i32 %4, 1 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %2) store i64 1, i64* %rax.0.reg2mem br label LBL_11 LBL_2: %sext = mul i64 %arg5, 4294967296 %7 = ashr exact i64 %sext, 32 %8 = urem i64 %7, 2 %9 = and i64 %7, 4294967294 %10 = bitcast i32* %sv_1 to i64* %11 = call i64 @FUNC(i64 %2, i64 %9, i64 %8, i64* nonnull %10) %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = call i64 @FUNC(i64 %2) %15 = load i32, i32* %sv_1, align 4 %16 = zext i32 %15 to i64 store i64 %16, i64* %rax.0.reg2mem br label LBL_11 LBL_4: %17 = ptrtoint i64* %arg3 to i64 %18 = call i64 @FUNC(i64 %11) %19 = inttoptr i64 %11 to i64* %20 = load i64, i64* %19, align 8 %21 = icmp ugt i64 %20, %arg4 store i64 %20, i64* %sv_0.0.reg2mem br i1 %21, label LBL_5, label LBL_6 LBL_5: %22 = add i64 %17, 16 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = or i32 %24, 2 store i32 %25, i32* %23, align 4 store i64 %arg4, i64* %sv_0.0.reg2mem br label LBL_6 LBL_6: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %26 = add i64 %17, 24 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = call i64 @FUNC(i64 %11, i64 0, i64 %28, i64 %sv_0.0.reload) %30 = trunc i64 %29 to i32 store i32 %30, i32* %sv_1, align 4 %31 = icmp slt i32 %30, 0 %32 = icmp eq i1 %31, false br i1 %32, label LBL_8, label LBL_7 LBL_7: %33 = call i64 @FUNC(i64 %2, i64 %11) %34 = call i64 @FUNC(i64 %2) %35 = load i32, i32* %sv_1, align 4 %36 = zext i32 %35 to i64 store i64 %36, i64* %rax.0.reg2mem br label LBL_11 LBL_8: %37 = icmp eq i64* %arg3, null br i1 %37, label LBL_10, label LBL_9 LBL_9: %38 = call i64* @memset(i64* nonnull %arg3, i32 0, i32 12) %39 = bitcast i64* %arg3 to i32* store i32 3, i32* %39, align 4 %40 = add i64 %17, 4 %41 = call i64 @FUNC(i64 %11, i64 7, i64 %40, i64 7) br label LBL_10 LBL_10: %42 = add i64 %17, 8 %43 = inttoptr i64 %42 to i64* store i64 12, i64* %43, align 8 %44 = call i64 @FUNC(i64 %2, i64 %11) %45 = call i64 @FUNC(i64 %2) store i64 %sv_0.0.reload, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %17, { 1, 0, 2, 3 } uselistorder i64 %11, { 2, 1, 0, 3, 5, 4, 6 } uselistorder i64 %7, { 1, 0 } uselistorder i32* %sv_1, { 2, 1, 0, 3 } uselistorder i64 %2, { 5, 4, 3, 2, 1, 6, 0, 7 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64 7, { 1, 0 } uselistorder i64 (i64, i64)* @skb_free_datagram, { 1, 0 } uselistorder i64 (i64)* @release_sock, { 3, 2, 1, 0 } uselistorder label LBL_6, { 1, 0 } }
0
CompRealVul
virtcon_parse_3144
virtcon_parse
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0)) %1 = inttoptr i64 %arg1 to i8* %2 = call i32 @strcmp(i8* %1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0)) %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_9 LBL_1: %5 = load i32, i32* @gv_2, align 4 %6 = icmp eq i32 %5, 16 %7 = icmp eq i1 %6, false br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %9 = call i32 @fwrite(i64* bitcast ([32 x i8]* @gv_4 to i64*), i32 1, i32 31, %_IO_FILE* %8) call void @exit(i32 1) unreachable LBL_3: %10 = call i64 @FUNC(i64 %0, i64 0, i64 0, i64 0) %11 = load i32, i32* @gv_5, align 4 %12 = icmp eq i32 %11, 1 %13 = icmp eq i1 %12, false br i1 %13, label LBL_5, label LBL_4 LBL_4: %14 = call i64 @FUNC(i64 %10, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_7, i64 0, i64 0)) br label LBL_6 LBL_5: %15 = call i64 @FUNC(i64 %10, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_8, i64 0, i64 0)) br label LBL_6 LBL_6: %16 = call i64 @FUNC(i64 %0, i64 0, i64 0, i64 0) %17 = call i64 @FUNC(i64 %16, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_9, i64 0, i64 0)) %18 = load i32, i32* @gv_2, align 4 %19 = zext i32 %18 to i64 %20 = bitcast i64* %sv_0 to i8* %21 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %20, i32 32, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_10, i64 0, i64 0), i64 %19) %22 = load i32, i32* @gv_2, align 4 %23 = call i64 @FUNC(i64* nonnull %sv_0, i64 %arg1, i64 0) %24 = sext i32 %22 to i64 %25 = mul i64 %24, 8 %26 = add i64 %25, ptrtoint (i64* @gv_11 to i64) %27 = inttoptr i64 %26 to i64* store i64 %23, i64* %27, align 8 %28 = load i32, i32* @gv_2, align 4 %29 = sext i32 %28 to i64 %30 = mul i64 %29, 8 %31 = add i64 %30, ptrtoint (i64* @gv_11 to i64) %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = icmp eq i64 %33, 0 %35 = icmp eq i1 %34, false br i1 %35, label LBL_8, label LBL_7 LBL_7: %36 = call i32* @__errno_location() %37 = load i32, i32* %36, align 4 %38 = call i8* @strerror(i32 %37) %39 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %40 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %39, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_12, i64 0, i64 0), i8* %1, i8* %38) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_9 LBL_8: %41 = call i64 @FUNC(i64 %16, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_13, i64 0, i64 0), i8* nonnull %20) store i32 ptrtoint (i32* @gv_14 to i32), i32* @gv_2, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64, i8*, i8*)* @qemu_opt_set, { 3, 2, 1, 0 } uselistorder i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_6, i64 0, i64 0), { 1, 0, 2 } uselistorder i64 (i64, i64, i64, i64)* @qemu_opts_create, { 1, 0 } uselistorder i32* @gv_2, { 4, 3, 2, 1, 0 } uselistorder i32 0, { 3, 0, 1, 2 } uselistorder label LBL_9, { 1, 2, 0 } }
0
CompRealVul
_expand_arg_7796
_expand_arg
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %r8.1.lcssa.reg2mem = alloca i64 %rsi.2.lcssa.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i8* %sv_0.0.reg2mem = alloca i8* %r8.1.be.reg2mem = alloca i64 %rsi.2.be.reg2mem = alloca i64 %sv_0.1.be.reg2mem = alloca i8* %sv_1.0.be.reg2mem = alloca i64 %sv_1.014.reg2mem = alloca i64 %sv_0.115.reg2mem = alloca i8* %rsi.216.reg2mem = alloca i64 %r8.117.reg2mem = alloca i64 %.reg2mem43 = alloca i8* %.reg2mem = alloca i8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %3 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_0, i64 0, i64 0)) %4 = call i64* @memset(i64* nonnull %sv_3, i32 0, i32 4096) %5 = bitcast i64* %arg2 to i8* %6 = call i64 @FUNC(i8* %5) %7 = load i8, i8* %5, align 1 %8 = icmp eq i8 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_2, label LBL_0.LBL_27_crit_edge LBL_1: %.pre = bitcast i64* %sv_3 to i8* store i8* %.pre, i8** %.pre-phi.reg2mem store i64 0, i64* %rsi.2.lcssa.reg2mem br label LBL_27 LBL_2: %10 = ptrtoint i64* %sv_4 to i64 %11 = ptrtoint i64* %arg2 to i64 %12 = bitcast i64* %sv_3 to i8* %13 = ptrtoint i64* %sv_3 to i64 %14 = add i64 %10, -5168 %15 = bitcast i64* %sv_2 to i8* %rsi.1 = ptrtoint i64* %sv_2 to i64 store i8 %7, i8* %.reg2mem store i8* %5, i8** %.reg2mem43 store i64 0, i64* %rsi.216.reg2mem store i8* null, i8** %sv_0.115.reg2mem store i64 %11, i64* %sv_1.014.reg2mem br label LBL_3 LBL_3: %sv_1.014.reload = load i64, i64* %sv_1.014.reg2mem %sv_0.115.reload = load i8*, i8** %sv_0.115.reg2mem %rsi.216.reload = load i64, i64* %rsi.216.reg2mem %r8.117.reload = load i64, i64* %r8.117.reg2mem %.reload = load i8, i8* %.reg2mem %16 = icmp eq i8 %.reload, 92 %17 = icmp eq i1 %16, false br i1 %17, label LBL_10, label LBL_4 LBL_4: %18 = add i64 %sv_1.014.reload, 1 %19 = inttoptr i64 %18 to i8* %20 = load i8, i8* %19, align 1 switch i8 %20, label LBL_5 [ i8 36, label LBL_6 i8 64, label LBL_6 ] LBL_5: %21 = sext i8 %20 to i64 %22 = inttoptr i64 %21 to i8* %23 = call i64 @FUNC(i8* %22) %24 = load i8, i8* %19, align 1 %25 = sext i8 %24 to i64 %26 = and i64 %25, 4294967295 %27 = call i64 @FUNC(i64 %2, i64 3, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i64 %26, i64 %r8.117.reload, i64 %1) store i64 %18, i64* %sv_1.0.be.reg2mem store i8* %sv_0.115.reload, i8** %sv_0.1.be.reg2mem store i64 3, i64* %rsi.2.be.reg2mem store i64 %r8.117.reload, i64* %r8.1.be.reg2mem br label LBL_8 LBL_6: %28 = call i32 @strlen(i8* nonnull %12) %29 = sext i32 %28 to i64 %30 = add nsw i64 %29, 1 %31 = icmp ult i64 %30, 4095 %32 = icmp eq i32 %28, 4094 %33 = or i1 %32, %31 br i1 %33, label LBL_7, label LBL_9 LBL_7: %34 = add i64 %sv_1.014.reload, 2 %35 = call i32 @strlen(i8* nonnull %12) %36 = sext i32 %35 to i64 %37 = load i8, i8* %19, align 1 %38 = add i64 %14, %36 %39 = inttoptr i64 %38 to i8* store i8 %37, i8* %39, align 1 store i64 %34, i64* %sv_1.0.be.reg2mem store i8* %sv_0.115.reload, i8** %sv_0.1.be.reg2mem store i64 %rsi.216.reload, i64* %rsi.2.be.reg2mem store i64 %r8.117.reload, i64* %r8.1.be.reg2mem br label LBL_8 LBL_8: %r8.1.be.reload = load i64, i64* %r8.1.be.reg2mem %rsi.2.be.reload = load i64, i64* %rsi.2.be.reg2mem %sv_0.1.be.reload = load i8*, i8** %sv_0.1.be.reg2mem %sv_1.0.be.reload = load i64, i64* %sv_1.0.be.reg2mem %40 = inttoptr i64 %sv_1.0.be.reload to i8* %41 = load i8, i8* %40, align 1 %42 = icmp eq i8 %41, 0 %43 = icmp eq i1 %42, false store i8 %41, i8* %.reg2mem store i8* %40, i8** %.reg2mem43 store i64 %r8.1.be.reload, i64* %r8.117.reg2mem store i64 %rsi.2.be.reload, i64* %rsi.216.reg2mem store i8* %sv_0.1.be.reload, i8** %sv_0.115.reg2mem store i64 %sv_1.0.be.reload, i64* %sv_1.014.reg2mem store i8* %12, i8** %.pre-phi.reg2mem store i64 %rsi.2.be.reload, i64* %rsi.2.lcssa.reg2mem store i64 %r8.1.be.reload, i64* %r8.1.lcssa.reg2mem br i1 %43, label LBL_3, label LBL_27 LBL_9: %44 = call i64 @FUNC(i8* %sv_0.115.reload) %45 = ptrtoint i8* %sv_0.115.reload to i64 %46 = call i64 @FUNC(i64 %2, i64 3, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_2, i64 0, i64 0), i64 %13, i64 %45, i64 %1) store i64 %18, i64* %sv_1.0.be.reg2mem store i8* %sv_0.115.reload, i8** %sv_0.1.be.reg2mem store i64 3, i64* %rsi.2.be.reg2mem store i64 %45, i64* %r8.1.be.reg2mem br label LBL_8 LBL_10: %.reload44 = load i8*, i8** %.reg2mem43 %47 = icmp ne i8 %.reload, 36 %48 = icmp eq i8 %.reload, 64 %49 = icmp eq i1 %48, false %or.cond = icmp eq i1 %47, %49 br i1 %or.cond, label LBL_24, label LBL_11 LBL_11: %50 = add i64 %sv_1.014.reload, 1 %51 = inttoptr i64 %50 to i8* %52 = load i8, i8* %51, align 1 %53 = icmp eq i8 %52, 123 %54 = call i64 @FUNC(i8* %.reload44) br i1 %53, label LBL_14, label LBL_12 LBL_12: %55 = call i64 @FUNC(i64 %2, i64 3, i8* getelementptr inbounds ([59 x i8], [59 x i8]* @gv_3, i64 0, i64 0), i64 %sv_1.014.reload, i64 %r8.117.reload, i64 %1) %56 = call i32 @strlen(i8* nonnull %12) %57 = sext i32 %56 to i64 %58 = add nsw i64 %57, 1 %59 = icmp ult i64 %58, 4095 %60 = icmp eq i32 %56, 4094 %61 = or i1 %60, %59 store i64 %sv_1.014.reload, i64* %sv_1.0.be.reg2mem store i8* %sv_0.115.reload, i8** %sv_0.1.be.reg2mem store i64 3, i64* %rsi.2.be.reg2mem store i64 %r8.117.reload, i64* %r8.1.be.reg2mem br i1 %61, label LBL_13, label LBL_8 LBL_13: %62 = call i32 @strlen(i8* nonnull %12) %63 = sext i32 %62 to i64 %64 = load i8, i8* %.reload44, align 1 %65 = add i64 %14, %63 %66 = inttoptr i64 %65 to i8* store i8 %64, i8* %66, align 1 store i64 %50, i64* %sv_1.0.be.reg2mem store i8* %sv_0.115.reload, i8** %sv_0.1.be.reg2mem store i64 3, i64* %rsi.2.be.reg2mem store i64 %r8.117.reload, i64* %r8.1.be.reg2mem br label LBL_8 LBL_14: %67 = load i8, i8* %.reload44, align 1 %68 = add i64 %sv_1.014.reload, 2 %69 = inttoptr i64 %68 to i8* %70 = call i8* @strchr(i8* %69, i32 125) %71 = icmp eq i8* %70, null br i1 %71, label LBL_16, label LBL_15 LBL_15: store i8 0, i8* %70, align 1 %72 = call i8* @strncpy(i8* nonnull %15, i8* %69, i32 1024) switch i8 %67, label LBL_19 [ i8 36, label LBL_17 i8 64, label LBL_18 ] LBL_16: %73 = call i64 @FUNC(i8* nonnull %.reload44) %74 = call i64 @FUNC(i64 %2, i64 3, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_4, i64 0, i64 0), i64 %sv_1.014.reload, i64 %r8.117.reload, i64 %1) store i64 1, i64* %rax.0.reg2mem br label LBL_31 LBL_17: %75 = call i64 @FUNC(i8* nonnull %15) %76 = call i64 @FUNC(i64 %2, i64* nonnull %sv_2) %77 = inttoptr i64 %76 to i8* %78 = call i64 @FUNC(i8* %77) store i8* %77, i8** %sv_0.0.reg2mem br label LBL_20 LBL_18: %79 = call i64 @FUNC(i8* nonnull %15) %80 = call i64 @FUNC(i64 %2, i64* nonnull %sv_2) %81 = inttoptr i64 %80 to i8* %82 = call i64 @FUNC(i8* %81) store i8* %81, i8** %sv_0.0.reg2mem br label LBL_20 LBL_19: %83 = sext i8 %67 to i64 %84 = inttoptr i64 %83 to i8* %85 = call i64 @FUNC(i8* %84) %86 = and i64 %83, 4294967295 %87 = call i64 @FUNC(i64 %2, i64 2, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_5, i64 0, i64 0), i64 %86, i64 %r8.117.reload, i64 %1) store i64 1, i64* %rax.0.reg2mem br label LBL_31 LBL_20: %88 = ptrtoint i8* %70 to i64 %89 = add i64 %88, 1 %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem %90 = icmp eq i8* %sv_0.0.reload, null store i64 %89, i64* %sv_1.0.be.reg2mem store i8* null, i8** %sv_0.1.be.reg2mem store i64 %rsi.1, i64* %rsi.2.be.reg2mem store i64 %r8.117.reload, i64* %r8.1.be.reg2mem br i1 %90, label LBL_8, label LBL_21 LBL_21: %91 = call i32 @strlen(i8* nonnull %12) %92 = sext i32 %91 to i64 %93 = call i32 @strlen(i8* nonnull %sv_0.0.reload) %94 = sext i32 %93 to i64 %95 = add nsw i64 %94, %92 %96 = icmp ult i64 %95, 4096 br i1 %96, label LBL_22, label LBL_23 LBL_22: %97 = ptrtoint i8* %sv_0.0.reload to i64 %98 = call i8* @strcat(i8* nonnull %12, i8* nonnull %sv_0.0.reload) store i64 %89, i64* %sv_1.0.be.reg2mem store i8* %sv_0.0.reload, i8** %sv_0.1.be.reg2mem store i64 %97, i64* %rsi.2.be.reg2mem store i64 %r8.117.reload, i64* %r8.1.be.reg2mem br label LBL_8 LBL_23: %99 = call i64 @FUNC(i8* nonnull %sv_0.0.reload) %100 = ptrtoint i8* %sv_0.0.reload to i64 %101 = call i64 @FUNC(i64 %2, i64 3, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_2, i64 0, i64 0), i64 %13, i64 %100, i64 %1) store i64 %89, i64* %sv_1.0.be.reg2mem store i8* %sv_0.0.reload, i8** %sv_0.1.be.reg2mem store i64 3, i64* %rsi.2.be.reg2mem store i64 %100, i64* %r8.1.be.reg2mem br label LBL_8 LBL_24: %102 = call i32 @strlen(i8* nonnull %12) %103 = sext i32 %102 to i64 %104 = add nsw i64 %103, 1 %105 = icmp ult i64 %104, 4095 %106 = icmp eq i32 %102, 4094 %107 = or i1 %106, %105 br i1 %107, label LBL_25, label LBL_26 LBL_25: %108 = add i64 %sv_1.014.reload, 1 %109 = call i32 @strlen(i8* nonnull %12) %110 = sext i32 %109 to i64 %111 = load i8, i8* %.reload44, align 1 %112 = add i64 %14, %110 %113 = inttoptr i64 %112 to i8* store i8 %111, i8* %113, align 1 store i64 %108, i64* %sv_1.0.be.reg2mem store i8* %sv_0.115.reload, i8** %sv_0.1.be.reg2mem store i64 %rsi.216.reload, i64* %rsi.2.be.reg2mem store i64 %r8.117.reload, i64* %r8.1.be.reg2mem br label LBL_8 LBL_26: %114 = call i64 @FUNC(i8* %sv_0.115.reload) %115 = ptrtoint i8* %sv_0.115.reload to i64 %116 = call i64 @FUNC(i64 %2, i64 3, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_2, i64 0, i64 0), i64 %13, i64 %115, i64 %1) store i64 %sv_1.014.reload, i64* %sv_1.0.be.reg2mem store i8* %sv_0.115.reload, i8** %sv_0.1.be.reg2mem store i64 3, i64* %rsi.2.be.reg2mem store i64 %115, i64* %r8.1.be.reg2mem br label LBL_8 LBL_27: %rsi.2.lcssa.reload = load i64, i64* %rsi.2.lcssa.reg2mem %.pre-phi.reload = load i8*, i8** %.pre-phi.reg2mem %117 = call i32 @strlen(i8* nonnull %.pre-phi.reload) %118 = inttoptr i64 %rsi.2.lcssa.reload to i8* %119 = call i32 @strlen(i8* %118) %120 = icmp ugt i32 %117, %119 br i1 %120, label LBL_28, label LBL_30 LBL_28: %121 = inttoptr i64 %rsi.2.lcssa.reload to i64* call void @free(i64* %121) %122 = call i32 @strlen(i8* nonnull %.pre-phi.reload) %123 = add i32 %122, 1 %124 = call i64* @malloc(i32 %123) %125 = ptrtoint i64* %124 to i64 store i64 %125, i64* %arg2, align 8 %126 = icmp eq i64 %rsi.2.lcssa.reload, 0 %127 = icmp eq i1 %126, false br i1 %127, label LBL_30, label LBL_29 LBL_29: %r8.1.lcssa.reload = load i64, i64* %r8.1.lcssa.reg2mem %128 = call i32 @strlen(i8* nonnull %.pre-phi.reload) %129 = sext i32 %128 to i64 %130 = add nsw i64 %129, 1 %131 = inttoptr i64 %130 to i8* %132 = call i64 @FUNC(i8* %131) %133 = call i32 @strlen(i8* nonnull %.pre-phi.reload) %134 = sext i32 %133 to i64 %135 = add nsw i64 %134, 1 %136 = call i64 @FUNC(i64 %2, i64 3, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_6, i64 0, i64 0), i64 %135, i64 %r8.1.lcssa.reload, i64 %1) store i64 2, i64* %rax.0.reg2mem br label LBL_31 LBL_30: %137 = call i8* @strcpy(i8* %118, i8* nonnull %.pre-phi.reload) %138 = call i64* @memset(i64* nonnull %sv_3, i32 0, i32 4096) %139 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_7, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_31 LBL_31: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8* %sv_0.0.reload, { 7, 3, 2, 6, 4, 5, 1, 0 } uselistorder i8* %.reload44, { 3, 4, 1, 0, 2 } uselistorder i64 %sv_1.0.be.reload, { 1, 0 } uselistorder i8 %20, { 1, 0 } uselistorder i64 %18, { 1, 0, 2 } uselistorder i64 %r8.117.reload, { 2, 5, 6, 9, 10, 4, 3, 8, 1, 0, 7 } uselistorder i64 %rsi.216.reload, { 1, 0 } uselistorder i8* %sv_0.115.reload, { 3, 10, 9, 4, 6, 5, 1, 8, 7, 2, 0 } uselistorder i64 %sv_1.014.reload, { 0, 3, 8, 4, 1, 5, 6, 2, 7 } uselistorder i8* %12, { 2, 1, 4, 3, 6, 5, 0, 7, 8 } uselistorder i64* %sv_3, { 1, 4, 2, 0, 3 } uselistorder i64* %sv_2, { 1, 2, 0, 3 } uselistorder i64 %2, { 0, 3, 7, 5, 6, 8, 9, 4, 2, 1 } uselistorder i64 %1, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i8* %.reg2mem, { 1, 0, 2 } uselistorder i64* %r8.117.reg2mem, { 1, 0 } uselistorder i64* %rsi.216.reg2mem, { 1, 0, 2 } uselistorder i8** %sv_0.115.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.014.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.0.be.reg2mem, { 4, 5, 8, 9, 10, 7, 6, 2, 0, 3, 1 } uselistorder i8** %sv_0.1.be.reg2mem, { 4, 5, 8, 9, 10, 7, 6, 2, 0, 3, 1 } uselistorder i64* %rsi.2.be.reg2mem, { 4, 5, 8, 9, 10, 7, 6, 2, 0, 3, 1 } uselistorder i64* %r8.1.be.reg2mem, { 4, 5, 8, 9, 10, 7, 6, 2, 0, 3, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i64 2, { 0, 2, 3, 1 } uselistorder i32 (i8*)* @strlen, { 4, 3, 2, 1, 0, 12, 11, 10, 9, 8, 7, 6, 5 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @pam_syslog, { 0, 7, 6, 5, 4, 3, 2, 1 } uselistorder i64 3, { 6, 2, 7, 5, 8, 9, 4, 3, 10, 1, 11, 0, 12 } uselistorder i8 36, { 0, 2, 1 } uselistorder i64 1, { 9, 10, 2, 3, 4, 0, 1, 5, 6, 7, 8 } uselistorder i8* null, { 0, 2, 3, 1 } uselistorder i1 false, { 3, 1, 4, 2, 0 } uselistorder i8 0, { 2, 3, 0, 4, 1 } uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 } uselistorder i64 (i8*)* @D, { 14, 2, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 1, 0 } uselistorder i64* %arg2, { 0, 2, 1 } uselistorder label LBL_31, { 0, 3, 1, 2 } uselistorder label LBL_30, { 1, 0 } uselistorder label LBL_8, { 8, 7, 6, 5, 4, 3, 9, 1, 2, 0 } uselistorder label LBL_3, { 1, 0 } }
1
CompRealVul
r128_cce_reset_11494
r128_cce_reset
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i32 @putchar(i32 10) %3 = call i64 @FUNC(i64 %1, i64 %0) %4 = icmp eq i64* %arg1, null %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i32 @puts(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0)) store i64 4294967274, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %7 = call i64 @FUNC(i64 %1) %8 = bitcast i64* %arg1 to i32* store i32 0, i32* %8, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
1
CompRealVul
decode_ac_filter_13885
decode_ac_filter
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %.lcssa.reg2mem = alloca i64 %.reg2mem5 = alloca i32 %.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 72 %2 = call i64 @FUNC(i64 %1, i64 4) %3 = trunc i64 %2 to i32 %4 = add i32 %3, 1 %5 = bitcast i64* %arg1 to i32* store i32 %4, i32* %5, align 4 %6 = call i64 @FUNC(i64 %1, i64 4) %7 = trunc i64 %6 to i32 %8 = add i64 %0, 4 %9 = inttoptr i64 %8 to i32* store i32 %7, i32* %9, align 4 %10 = bitcast i64* %rdi to i32* %11 = load i32, i32* %10, align 8 %12 = icmp eq i32 %11, 0 store i64 0, i64* %.lcssa.reg2mem br i1 %12, label LBL_3, label LBL_1 LBL_1: %13 = add i64 %0, 8 %14 = and i64 %6, 4294967295 %15 = call i64 @FUNC(i64 %1, i64 %14) %16 = trunc i64 %15 to i32 %17 = add i32 %16, 1 %18 = inttoptr i64 %13 to i32* store i32 %17, i32* %18, align 4 %19 = load i32, i32* %10, align 8 %20 = zext i32 %19 to i64 %21 = icmp ugt i32 %19, 1 store i64 1, i64* %.reg2mem store i32 1, i32* %.reg2mem5 store i64 %20, i64* %.lcssa.reg2mem br i1 %21, label LBL_2, label LBL_3 LBL_2: %.reload6 = load i32, i32* %.reg2mem5 %.reload = load i64, i64* %.reg2mem %.pre = load i32, i32* %9, align 4 %22 = zext i32 %.pre to i64 %23 = call i64 @FUNC(i64 %1, i64 %22) %24 = trunc i64 %23 to i32 %25 = add i32 %24, 1 %26 = mul i64 %.reload, 4 %27 = add i64 %13, %26 %28 = inttoptr i64 %27 to i32* store i32 %25, i32* %28, align 4 %29 = add i32 %.reload6, 1 %30 = load i32, i32* %10, align 8 %31 = zext i32 %30 to i64 %32 = sext i32 %29 to i64 %33 = icmp slt i64 %32, %31 store i64 %32, i64* %.reg2mem store i32 %29, i32* %.reg2mem5 store i64 %31, i64* %.lcssa.reg2mem br i1 %33, label LBL_2, label LBL_3 LBL_3: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem ret i64 %.lcssa.reload uselistorder i64 %13, { 1, 0 } uselistorder i32* %10, { 2, 0, 1 } uselistorder i64 %1, { 1, 0, 2, 3 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem5, { 2, 0, 1 } uselistorder i32 0, { 1, 2, 0, 3 } uselistorder i64 (i64, i64)* @get_bits, { 3, 0, 2, 1 } uselistorder i64 4, { 0, 3, 1, 2, 4 } uselistorder label LBL_3, { 1, 0, 2 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
gup_pte_range_11140
gup_pte_range
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i32 %arg4, i64* %arg5, i32* %arg6) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.2.reg2mem = alloca i64 %sv_1.1.reg2mem = alloca i64 %sv_2.0.in.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %sv_3.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %r9 = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg5 to i64 %sv_4 = alloca i64, align 8 %sext = mul i64 %arg1, 4294967296 %3 = ashr exact i64 %sext, 32 store i64 %3, i64* %sv_4, align 8 %4 = bitcast i64* %r9 to i32* %5 = trunc i64 %1 to i32 %6 = bitcast i64* %sv_4 to i32* %7 = call i64 @FUNC(i32* nonnull %6, i64 %arg2) %8 = zext i32 %arg4 to i64 store i32 %5, i32* %.reg2mem store i64 %arg2, i64* %sv_3.0.reg2mem store i64 0, i64* %sv_1.0.reg2mem store i64 %7, i64* %sv_2.0.in.reg2mem br label LBL_1 LBL_1: %sv_2.0.in.reload = load i64, i64* %sv_2.0.in.reg2mem %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %9 = call i64 @FUNC(i64 %sv_2.0.in.reload) %10 = and i64 %9, 4294967295 %11 = call i64 @FUNC(i64 %10) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false store i64 %sv_1.0.reload, i64* %sv_1.2.reg2mem store i64 0, i64* %sv_0.0.reg2mem br i1 %14, label LBL_11, label LBL_2 LBL_2: %15 = call i64 @FUNC(i64 %10, i64 %8) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 store i64 %sv_1.0.reload, i64* %sv_1.2.reg2mem store i64 0, i64* %sv_0.0.reg2mem br i1 %17, label LBL_11, label LBL_3 LBL_3: %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem %.reload = load i32, i32* %.reg2mem %18 = call i64 @FUNC(i64 %10) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 0 br i1 %20, label LBL_6, label LBL_4 LBL_4: %21 = call i64 @FUNC(i64 %10) %22 = and i64 %21, 4294967295 %23 = call i64 @FUNC(i64 %22, i64 %sv_1.0.reload) %24 = icmp eq i64 %23, 0 %25 = zext i1 %24 to i64 %26 = call i64 @FUNC(i64 %25) %27 = trunc i64 %26 to i32 %28 = icmp eq i32 %27, 0 store i64 %23, i64* %sv_1.1.reg2mem br i1 %28, label LBL_7, label LBL_5 LBL_5: %29 = ptrtoint i32* %arg6 to i64 %30 = and i64 %1, 4294967295 %31 = call i64 @FUNC(i64 %29, i64 %30, i64 %2) store i64 %23, i64* %sv_1.2.reg2mem store i64 0, i64* %sv_0.0.reg2mem br label LBL_11 LBL_6: %32 = call i64 @FUNC(i64 %10) %33 = trunc i64 %32 to i32 %34 = icmp eq i32 %33, 0 %35 = icmp eq i1 %34, false store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem store i64 %sv_1.0.reload, i64* %sv_1.2.reg2mem store i64 0, i64* %sv_0.0.reg2mem br i1 %35, label LBL_11, label LBL_7 LBL_7: %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem %36 = call i64 @FUNC(i64 %10) %37 = and i64 %36, 4294967295 %38 = call i64 @FUNC(i64 %37) %39 = trunc i64 %38 to i32 %40 = icmp eq i32 %39, 0 %41 = zext i1 %40 to i64 %42 = call i64 @FUNC(i64 %41) %43 = call i64 @FUNC(i64 %10) %44 = call i64 @FUNC(i64 %43) %45 = call i64 @FUNC(i64 %44) %46 = trunc i64 %45 to i32 %47 = icmp eq i32 %46, 0 store i64 %sv_1.1.reload, i64* %sv_1.2.reg2mem store i64 0, i64* %sv_0.0.reg2mem br i1 %47, label LBL_11, label LBL_8 LBL_8: %sv_2.0 = inttoptr i64 %sv_2.0.in.reload to i32* %48 = call i64 @FUNC(i64 %10) %49 = load i32, i32* %sv_2.0, align 4 %50 = zext i32 %49 to i64 %51 = call i64 @FUNC(i64 %50) %52 = icmp eq i64 %48, %51 %53 = icmp eq i1 %52, false %54 = zext i1 %53 to i64 %55 = call i64 @FUNC(i64 %54) %56 = trunc i64 %55 to i32 %57 = icmp eq i32 %56, 0 br i1 %57, label LBL_10, label LBL_9 LBL_9: %58 = call i64 @FUNC(i64 %44) store i64 %sv_1.1.reload, i64* %sv_1.2.reg2mem store i64 0, i64* %sv_0.0.reg2mem br label LBL_11 LBL_10: %59 = call i64 @FUNC(i64 %43) %60 = icmp eq i64 %44, %59 %61 = icmp eq i1 %60, false %62 = zext i1 %61 to i64 %63 = call i64 @FUNC(i64 %62, i64 %43) %64 = call i64 @FUNC(i64 %43) %65 = sext i32 %.reload to i64 %66 = mul i64 %65, 8 %67 = add i64 %66, %2 %68 = inttoptr i64 %67 to i64* store i64 %43, i64* %68, align 8 %69 = load i32, i32* %4, align 8 %70 = add i32 %69, 1 store i32 %70, i32* %arg6, align 4 %71 = add i64 %sv_2.0.in.reload, 4 %72 = add i64 %sv_3.0.reload, 4096 %73 = icmp eq i64 %72, %arg3 %74 = icmp eq i1 %73, false store i32 %69, i32* %.reg2mem store i64 %72, i64* %sv_3.0.reg2mem store i64 %sv_1.1.reload, i64* %sv_1.0.reg2mem store i64 %71, i64* %sv_2.0.in.reg2mem store i64 %sv_1.1.reload, i64* %sv_1.2.reg2mem store i64 1, i64* %sv_0.0.reg2mem br i1 %74, label LBL_1, label LBL_11 LBL_11: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %sv_1.2.reload = load i64, i64* %sv_1.2.reg2mem %75 = icmp eq i64 %sv_1.2.reload, 0 br i1 %75, label LBL_13, label LBL_12 LBL_12: %76 = call i64 @FUNC(i64 %sv_1.2.reload) br label LBL_13 LBL_13: %77 = call i64 @FUNC(i64 %7) ret i64 %sv_0.0.reload uselistorder i64 %44, { 1, 0, 2 } uselistorder i64 %43, { 0, 2, 3, 1, 4 } uselistorder i64 %sv_1.1.reload, { 0, 3, 2, 1 } uselistorder i64 %10, { 0, 1, 2, 4, 3, 5, 6, 7 } uselistorder i64 %sv_1.0.reload, { 0, 3, 4, 1, 2 } uselistorder i64 %sv_2.0.in.reload, { 2, 0, 1 } uselistorder i64 %7, { 1, 0 } uselistorder i64* %sv_4, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_3.0.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.0.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.0.in.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.1.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_1.2.reg2mem, { 0, 1, 7, 2, 3, 6, 4, 5 } uselistorder i64* %sv_0.0.reg2mem, { 0, 1, 7, 2, 3, 6, 4, 5 } uselistorder i64 (i64)* @pte_val, { 1, 0 } uselistorder i64 (i64)* @compound_head, { 1, 0 } uselistorder i64 (i64)* @unlikely, { 1, 0 } uselistorder i64 (i64)* @pte_pfn, { 1, 0 } uselistorder i32* %arg6, { 1, 0 } uselistorder label LBL_11, { 0, 5, 1, 2, 6, 3, 4 } }
1
CompRealVul
avfilter_graph_config_1102
avfilter_graph_config
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.in.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 %arg2) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64 %1, i64* %rax.0.in.reg2mem br i1 %3, label LBL_1, label LBL_6 LBL_1: %4 = call i64 @FUNC(i64 %0, i64 %arg2) %5 = trunc i64 %4 to i32 %6 = icmp slt i32 %5, 0 %7 = icmp eq i1 %6, false store i64 %4, i64* %rax.0.in.reg2mem br i1 %7, label LBL_2, label LBL_6 LBL_2: %8 = call i64 @FUNC(i64 %0, i64 %arg2) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 store i64 %8, i64* %rax.0.in.reg2mem br i1 %10, label LBL_3, label LBL_6 LBL_3: %11 = call i64 @FUNC(i64 %0, i64 %arg2) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 store i64 %11, i64* %rax.0.in.reg2mem br i1 %13, label LBL_4, label LBL_6 LBL_4: %14 = call i64 @FUNC(i64 %0, i64 %arg2) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 store i64 %14, i64* %rax.0.in.reg2mem br i1 %16, label LBL_5, label LBL_6 LBL_5: %17 = call i64 @FUNC(i64 %0, i64 %arg2) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 %20 = and i64 %17, 4294967295 %spec.select = select i1 %19, i64 0, i64 %20 ret i64 %spec.select LBL_6: %rax.0.in.reload = load i64, i64* %rax.0.in.reg2mem %rax.0 = and i64 %rax.0.in.reload, 4294967295 ret i64 %rax.0 }
0
CompRealVul
mpegps_read_packet_17371
mpegps_read_packet
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i128 %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i32* %sv_2.0.reg2mem = alloca i32 %sv_3.0.reg2mem = alloca i32 %storemerge319.reg2mem = alloca i32 %.reg2mem43 = alloca i64 %.lcssa14.reg2mem = alloca i64 %.reg2mem41 = alloca i64 %.reg2mem = alloca i32 %1 = load i128, i128* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_4 = alloca i32, align 4 %sv_5 = alloca i64, align 8 %sv_6 = alloca i64, align 8 %3 = bitcast i32* %sv_4 to i64* %4 = call i64 @FUNC(i64 %2, i64 0, i64* nonnull %3, i64* nonnull %sv_5, i64* nonnull %sv_6, i64 1) %5 = trunc i64 %4 to i32 %6 = icmp slt i32 %5, 0 %7 = icmp eq i1 %6, false store i64 %4, i64* %.lcssa14.reg2mem br i1 %7, label LBL_1, label LBL_4 LBL_1: %8 = ptrtoint i64* %arg2 to i64 %9 = add i64 %2, 8 %10 = inttoptr i64 %9 to i32* %11 = add i64 %2, 16 store i32 %5, i32* %.reg2mem store i64 %4, i64* %.reg2mem41 br label LBL_2 LBL_2: %.reload42 = load i64, i64* %.reg2mem41 %.reload = load i32, i32* %.reg2mem %12 = load i32, i32* %10, align 4 %13 = icmp eq i32 %12, 0 %.pre = load i32, i32* %sv_4, align 4 br i1 %13, label LBL_7, label LBL_3 LBL_3: %14 = zext i32 %12 to i64 store i64 0, i64* %.reg2mem43 store i32 0, i32* %storemerge319.reg2mem br label LBL_5 LBL_4: %.lcssa14.reload = load i64, i64* %.lcssa14.reg2mem %15 = and i64 %.lcssa14.reload, 4294967295 store i64 %15, i64* %storemerge.reg2mem br label LBL_21 LBL_5: %.reload44 = load i64, i64* %.reg2mem43 %16 = mul i64 %.reload44, 8 %17 = add i64 %16, %2 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = add i64 %19, 24 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = icmp eq i32 %22, %.pre br i1 %23, label LBL_15, label LBL_6 LBL_6: %storemerge319.reload = load i32, i32* %storemerge319.reg2mem %24 = add i32 %storemerge319.reload, 1 %25 = sext i32 %24 to i64 %26 = icmp slt i64 %25, %14 store i64 %25, i64* %.reg2mem43 store i32 %24, i32* %storemerge319.reg2mem br i1 %26, label LBL_5, label LBL_7 LBL_7: %27 = and i32 %.pre, -16 %28 = icmp eq i32 %27, 480 store i32 0, i32* %sv_3.0.reg2mem store i32 0, i32* %sv_2.0.reg2mem br i1 %28, label LBL_12, label LBL_8 LBL_8: %29 = and i32 %.pre, -32 store i32 1, i32* %sv_3.0.reg2mem store i32 1, i32* %sv_2.0.reg2mem switch i32 %29, label LBL_9 [ i32 448, label LBL_12 i32 128, label LBL_10 i32 160, label LBL_1013 ] LBL_9: %30 = and i64 %.reload42, 4294967295 %31 = call i64 @FUNC(i64 %11, i64 %30) %32 = call i64 @FUNC(i64 %2, i64 0, i64* nonnull %3, i64* nonnull %sv_5, i64* nonnull %sv_6, i64 1) %33 = trunc i64 %32 to i32 %34 = icmp slt i32 %33, 0 %35 = icmp eq i1 %34, false store i32 %33, i32* %.reg2mem store i64 %32, i64* %.reg2mem41 store i64 %32, i64* %.lcssa14.reg2mem br i1 %35, label LBL_2, label LBL_4 LBL_10: store i32 1, i32* %sv_3.0.reg2mem store i32 2, i32* %sv_2.0.reg2mem br label LBL_12 LBL_11: store i32 1, i32* %sv_3.0.reg2mem store i32 3, i32* %sv_2.0.reg2mem br label LBL_12 LBL_12: %36 = zext i32 %.pre to i64 %37 = call i64 @FUNC(i64 %2, i64 %36) %38 = icmp eq i64 %37, 0 br i1 %38, label LBL_9, label LBL_13 LBL_13: %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem %39 = inttoptr i64 %37 to i32* store i32 %sv_3.0.reload, i32* %39, align 4 %40 = add i64 %37, 4 %41 = inttoptr i64 %40 to i32* store i32 %sv_2.0.reload, i32* %41, align 4 %42 = icmp eq i32 %sv_2.0.reload, 3 store i32* %39, i32** %sv_1.0.reg2mem br i1 %42, label LBL_16, label LBL_14 LBL_14: %43 = add i64 %37, 28 %44 = inttoptr i64 %43 to i32* store i32 1, i32* %44, align 4 store i32* %39, i32** %sv_1.0.reg2mem br label LBL_16 LBL_15: %45 = inttoptr i64 %19 to i32* store i32* %45, i32** %sv_1.0.reg2mem br label LBL_16 LBL_16: %sv_1.0.reload = load i32*, i32** %sv_1.0.reg2mem %46 = load i32, i32* %sv_4, align 4 %47 = and i32 %46, -32 %48 = icmp eq i32 %47, 160 br i1 %48, label LBL_17, label LBL_19 LBL_17: %49 = icmp slt i32 %.reload, 4 br i1 %49, label LBL_9, label LBL_18 LBL_18: %50 = call i64 @FUNC(i64 %11) %51 = call i64 @FUNC(i64 %11) %52 = call i64 @FUNC(i64 %11) %53 = add i64 %.reload42, 4294967293 %54 = udiv i64 %51, 4 %55 = and i64 %54, 12 %56 = add i64 %55, ptrtoint (i32** @gv_0 to i64) %57 = inttoptr i64 %56 to i32* %58 = load i32, i32* %57, align 4 %59 = ptrtoint i32* %sv_1.0.reload to i64 %60 = add i64 %59, 8 %61 = inttoptr i64 %60 to i32* store i32 %58, i32* %61, align 4 %62 = trunc i64 %51 to i32 %63 = urem i32 %62, 8 %64 = add nuw nsw i32 %63, 1 %65 = add i64 %59, 12 %66 = inttoptr i64 %65 to i32* store i32 %64, i32* %66, align 4 %67 = load i32, i32* %61, align 4 %68 = mul i32 %64, 2 %69 = mul i32 %68, %67 %70 = add i64 %59, 16 %71 = inttoptr i64 %70 to i32* store i32 %69, i32* %71, align 4 store i64 %59, i64* %.pre-phi.reg2mem store i64 %53, i64* %sv_0.0.reg2mem br label LBL_20 LBL_19: %.pre28 = ptrtoint i32* %sv_1.0.reload to i64 store i64 %.pre28, i64* %.pre-phi.reg2mem store i64 %.reload42, i64* %sv_0.0.reg2mem br label LBL_20 LBL_20: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %72 = and i64 %sv_0.0.reload, 4294967295 %73 = call i64 @FUNC(i64 %8, i64 %72) %74 = add i64 %8, 8 %75 = inttoptr i64 %74 to i32* %76 = load i32, i32* %75, align 4 %77 = call i64 @FUNC(i64 %11, i64 %72, i32 %76) %78 = load i64, i64* %sv_5, align 8 %79 = add i64 %8, 16 %80 = inttoptr i64 %79 to i64* store i64 %78, i64* %80, align 8 %81 = load i64, i64* %sv_6, align 8 %82 = add i64 %8, 24 %83 = inttoptr i64 %82 to i64* store i64 %81, i64* %83, align 8 %84 = add i64 %.pre-phi.reload, 20 %85 = inttoptr i64 %84 to i32* %86 = load i32, i32* %85, align 4 %87 = add i64 %8, 32 %88 = inttoptr i64 %87 to i32* store i32 %86, i32* %88, align 4 %89 = load i64, i64* %83, align 8 %90 = call i128 @FUNC(i128 %1, i128 %1) %91 = call i128 @FUNC(i64 %89) %92 = call i128 @FUNC(i64 4680921166116814848) %93 = call i128 @FUNC(i128 %91) %94 = call i128 @FUNC(i128 %93, i128 %92) %95 = load i64, i64* %80, align 8 %96 = call i128 @FUNC(i128 %91, i128 %91) %97 = call i128 @FUNC(i64 %95) %98 = call i128 @FUNC(i64 4680921166116814848) %99 = call i128 @FUNC(i128 %97, i128 %98) %100 = call i64 @FUNC(i128 %99) %101 = load i32, i32* %88, align 4 %102 = call i128 @FUNC(i128 %94) %103 = call i128 @__asm_movq.1(i64 %100) %104 = zext i32 %101 to i64 %105 = trunc i128 %103 to i64 %106 = bitcast i64 %105 to double %107 = trunc i128 %102 to i64 %108 = bitcast i64 %107 to double %109 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), i64 %104, double %106, double %108) store i64 0, i64* %storemerge.reg2mem br label LBL_21 LBL_21: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i128 %91, { 2, 1, 0 } uselistorder i64 %72, { 1, 0 } uselistorder i64 %51, { 1, 0 } uselistorder i32 %sv_2.0.reload, { 1, 0 } uselistorder i32 %.pre, { 2, 0, 1, 3 } uselistorder i64 %.reload42, { 0, 2, 1 } uselistorder i64 %11, { 0, 3, 2, 1, 4 } uselistorder i64 %8, { 0, 1, 2, 4, 3 } uselistorder i64 %4, { 1, 0, 2 } uselistorder i64* %3, { 1, 0 } uselistorder i64* %sv_6, { 2, 1, 0 } uselistorder i64* %sv_5, { 2, 1, 0 } uselistorder i32* %sv_4, { 1, 0, 2 } uselistorder i64 %2, { 2, 5, 0, 3, 4, 1 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem41, { 1, 0, 2 } uselistorder i64* %.lcssa14.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem43, { 2, 0, 1 } uselistorder i32* %storemerge319.reg2mem, { 2, 0, 1 } uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 12, { 1, 0 } uselistorder i64 (i64)* @get_byte, { 2, 1, 0 } uselistorder i32 3, { 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder i32 160, { 1, 0 } uselistorder i32 -32, { 1, 0 } uselistorder i64 4294967295, { 1, 0, 2 } uselistorder i64 8, { 1, 2, 0, 3 } uselistorder i1 false, { 1, 0 } uselistorder i32 0, { 5, 0, 1, 2, 3, 4 } uselistorder i64 (i64, i64, i64*, i64*, i64*, i64)* @mpegps_read_pes_header, { 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder label LBL_16, { 0, 2, 1 } uselistorder label LBL_12, { 1, 2, 0, 3 } uselistorder label LBL_9, { 1, 2, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
get_chroma_qp_1035
get_chroma_qp
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = mul i64 %arg2, 4 %2 = and i64 %1, 1020 %3 = add i64 %2, %0 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = zext i32 %5 to i64 ret i64 %6 }
0
CompRealVul
cirrus_update_memory_access_9262
cirrus_update_memory_access
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC() %2 = add i64 %0, 23 %3 = inttoptr i64 %2 to i8* %4 = load i8, i8* %3, align 1 %5 = and i8 %4, 68 %6 = icmp eq i8 %5, 68 br i1 %6, label LBL_7, label LBL_1 LBL_1: %7 = add i64 %0, 512 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = add i64 %0, 520 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = icmp eq i64 %9, %12 %14 = icmp eq i1 %13, false br i1 %14, label LBL_7, label LBL_2 LBL_2: %15 = add i64 %0, 267 %16 = inttoptr i64 %15 to i8* %17 = load i8, i8* %16, align 1 %18 = and i8 %17, 20 %19 = icmp eq i8 %18, 20 br i1 %19, label LBL_7, label LBL_3 LBL_3: %20 = and i8 %17, 2 %21 = icmp eq i8 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_7, label LBL_4 LBL_4: %23 = add i64 %0, 261 %24 = inttoptr i64 %23 to i8* %25 = load i8, i8* %24, align 1 %26 = and i8 %25, 6 %27 = icmp eq i8 %26, 4 br i1 %27, label LBL_5, label LBL_6 LBL_5: %28 = and i8 %17, 4 %29 = icmp eq i8 %28, 0 %30 = icmp eq i1 %29, false br i1 %30, label LBL_7, label LBL_6 LBL_6: %31 = call i64 @FUNC(i64 %0) br label LBL_8 LBL_7: %32 = call i64 @FUNC(i64 %0) br label LBL_8 LBL_8: %33 = call i64 @FUNC() ret i64 %33 uselistorder i64 %0, { 5, 0, 4, 3, 2, 1, 6 } uselistorder i8 4, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
0
CompRealVul
ff_h261_encode_init_2348
ff_h261_encode_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = load i32, i32* @gv_0, align 4 %1 = icmp eq i32 %0, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: store i32 1, i32* @gv_0, align 4 %3 = call i64 @FUNC(i64* nonnull @gv_1, i64 1) br label LBL_2 LBL_2: %4 = ptrtoint i64* %arg1 to i64 %5 = bitcast i64* %arg1 to i32* store i32 -127, i32* %5, align 4 %6 = add i64 %4, 4 %7 = inttoptr i64 %6 to i32* store i32 127, i32* %7, align 4 %8 = load i64, i64* @gv_2, align 8 %9 = add i64 %4, 16 %10 = inttoptr i64 %9 to i64* store i64 %8, i64* %10, align 8 %11 = add i64 %4, 8 %12 = inttoptr i64 %11 to i64* store i64 %8, i64* %12, align 8 ret i64 %4 uselistorder i64 %4, { 1, 0, 2, 3 } uselistorder i32 0, { 1, 0 } uselistorder i32* @gv_0, { 1, 0 } }
0
CompRealVul
dr_interception_3903
dr_interception
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = call i64 @FUNC(i64 1) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %0) store i64 %5, i64* %storemerge.reg2mem br label LBL_7 LBL_2: %6 = load i32, i32* inttoptr (i64 5 to i32*), align 4 %7 = add i32 %6, -32 %8 = icmp slt i32 %7, 16 %9 = add i64 %0, 8 br i1 %8, label LBL_4, label LBL_3 LBL_3: %10 = call i64 @FUNC(i64 %9, i64 1) store i64 %10, i64* %sv_0, align 8 %11 = add i32 %6, -48 %12 = zext i32 %11 to i64 %13 = call i64 @FUNC(i64 %9, i64 %12, i64 %10) br label LBL_6 LBL_4: %14 = zext i32 %7 to i64 %15 = call i64 @FUNC(i64 %9, i64 %14, i64* nonnull %sv_0) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false br i1 %18, label LBL_6, label LBL_5 LBL_5: %19 = load i64, i64* %sv_0, align 8 %20 = call i64 @FUNC(i64 %9, i64 1, i64 %19) br label LBL_6 LBL_6: %21 = call i64 @FUNC(i64 %9) store i64 1, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %9, { 1, 2, 4, 0, 3 } uselistorder i64* %sv_0, { 1, 0, 2 } uselistorder i64 %0, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
0
CompRealVul
__reiserfs_set_acl_13794
__reiserfs_set_acl
define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3, i32* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.07.reg2mem = alloca i64 %sv_0.06.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %sv_2.05.reg2mem = alloca i8** %sv_2.0.ph.reg2mem = alloca i8** %.pr.reg2mem = alloca i32* %1 = load i64, i64* %0 %sv_3 = alloca i64, align 8 %sv_4 = alloca i32*, align 8 %2 = trunc i64 %arg3 to i32 %sext = mul i64 %arg3, 4294967296 %3 = ashr exact i64 %sext, 32 store i32* %arg4, i32** %sv_4, align 8 store i64 0, i64* %sv_3, align 8 %4 = icmp eq i32 %2, 1 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = trunc i64 %3 to i32 %6 = icmp eq i32 %5, 2 store i64 4294967274, i64* %rax.0.reg2mem br i1 %6, label LBL_6, label LBL_17 LBL_2: %7 = load i64, i64* bitcast ([2 x i8*]* @gv_0 to i64*), align 8 %8 = inttoptr i64 %7 to i8** %9 = icmp eq i32* %arg4, null store i8** %8, i8*** %sv_2.05.reg2mem store i64 0, i64* %sv_1.0.reg2mem br i1 %9, label LBL_10, label LBL_3 LBL_3: %10 = ptrtoint i32* %arg2 to i64 %11 = bitcast i32** %sv_4 to i64* %12 = call i64 @FUNC(i64 %10, i64 %10, i64* nonnull %11) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 br i1 %14, label LBL_3.LBL_8_crit_edge, label LBL_5 LBL_4: %.pr.pre = load i32*, i32** %sv_4, align 8 store i32* %.pr.pre, i32** %.pr.reg2mem store i8** %8, i8*** %sv_2.0.ph.reg2mem br label LBL_8 LBL_5: %15 = and i64 %12, 4294967295 store i64 %15, i64* %rax.0.reg2mem br label LBL_17 LBL_6: %16 = load [8 x i8]*, [8 x i8]** @gv_1, align 8 %17 = bitcast [8 x i8]* %16 to i8** %18 = and i64 %1, 61440 %19 = icmp eq i64 %18, 16384 store i32* %arg4, i32** %.pr.reg2mem store i8** %17, i8*** %sv_2.0.ph.reg2mem br i1 %19, label LBL_8, label LBL_7 LBL_7: %20 = icmp eq i32* %arg4, null %. = select i1 %20, i64 0, i64 4294967283 store i64 %., i64* %rax.0.reg2mem br label LBL_17 LBL_8: %sv_2.0.ph.reload = load i8**, i8*** %sv_2.0.ph.reg2mem %.pr.reload = load i32*, i32** %.pr.reg2mem %21 = icmp eq i32* %.pr.reload, null store i8** %sv_2.0.ph.reload, i8*** %sv_2.05.reg2mem store i64 0, i64* %sv_1.0.reg2mem br i1 %21, label LBL_10, label LBL_9 LBL_9: %22 = ptrtoint i32* %.pr.reload to i64 %23 = call i64 @FUNC(i64 %22, i64* nonnull %sv_3) %24 = icmp ult i64 %23, -1000 store i8** %sv_2.0.ph.reload, i8*** %sv_2.05.reg2mem store i64 %23, i64* %sv_1.0.reg2mem store i64 %23, i64* %rax.0.reg2mem br i1 %24, label LBL_10, label LBL_17 LBL_10: %25 = ptrtoint i64* %arg1 to i64 %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %sv_2.05.reload = load i8**, i8*** %sv_2.05.reg2mem %26 = load i64, i64* %sv_3, align 8 %27 = ptrtoint i8** %sv_2.05.reload to i64 %28 = ptrtoint i32* %arg2 to i64 %29 = call i64 @FUNC(i64 %25, i64 %28, i64 %27, i64 %sv_1.0.reload, i64 %26, i64 0) %30 = trunc i64 %29 to i32 %31 = icmp eq i32 %30, -61 %32 = icmp eq i1 %31, false br i1 %32, label LBL_14, label LBL_11 LBL_11: %33 = trunc i64 %3 to i32 %34 = icmp eq i32 %33, 1 %35 = icmp eq i1 %34, false br i1 %35, label LBL_13, label LBL_12 LBL_12: %36 = add i64 %28, 4 %37 = inttoptr i64 %36 to i32* store i32 0, i32* %37, align 4 %38 = call i64 @FUNC(i64 %28) br label LBL_13 LBL_13: %39 = call i64 @FUNC(i64 %sv_1.0.reload) store i64 0, i64* %sv_0.06.reg2mem br label LBL_15 LBL_14: %40 = call i64 @FUNC(i64 %sv_1.0.reload) %41 = icmp eq i32 %30, 0 %42 = icmp eq i1 %41, false store i64 %29, i64* %sv_0.06.reg2mem store i64 %29, i64* %sv_0.07.reg2mem br i1 %42, label LBL_16, label LBL_15 LBL_15: %sv_0.06.reload = load i64, i64* %sv_0.06.reg2mem %43 = load i32*, i32** %sv_4, align 8 %44 = ptrtoint i32* %43 to i64 %45 = and i64 %3, 4294967295 %46 = call i64 @FUNC(i64 %28, i64 %45, i64 %44) store i64 %sv_0.06.reload, i64* %sv_0.07.reg2mem br label LBL_16 LBL_16: %sv_0.07.reload = load i64, i64* %sv_0.07.reg2mem %47 = and i64 %sv_0.07.reload, 4294967295 store i64 %47, i64* %rax.0.reg2mem br label LBL_17 LBL_17: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %28, { 2, 0, 1, 3 } uselistorder i64 %sv_1.0.reload, { 1, 2, 0 } uselistorder i32* %.pr.reload, { 1, 0 } uselistorder i64 %10, { 1, 0 } uselistorder i8** %8, { 1, 0 } uselistorder i64 %3, { 2, 1, 0 } uselistorder i32** %sv_4, { 2, 0, 3, 1 } uselistorder i64* %sv_3, { 1, 0, 2 } uselistorder i32** %.pr.reg2mem, { 0, 2, 1 } uselistorder i8*** %sv_2.0.ph.reg2mem, { 0, 2, 1 } uselistorder i8*** %sv_2.05.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %sv_0.07.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 3, 4, 2 } uselistorder i64 (i64)* @kfree, { 1, 0 } uselistorder i32* null, { 1, 2, 0 } uselistorder i32* %arg4, { 2, 0, 1, 3 } uselistorder i32* %arg2, { 1, 0 } uselistorder label LBL_17, { 3, 0, 2, 4, 1 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_10, { 1, 2, 0 } uselistorder label LBL_8, { 1, 0 } }
0
CompRealVul
parse_cookie_15944
parse_cookie
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 store i64 0, i64* %sv_3, align 8 %0 = call i64 @FUNC(i64 %arg2, i64* nonnull %sv_3) %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_21 LBL_1: %3 = load i64, i64* %sv_3, align 8 %4 = call i64 @FUNC(i64 %3, i64* nonnull @gv_0, i64 0, i64 1) %5 = icmp eq i64 %4, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %5, label LBL_21, label LBL_2 LBL_2: %6 = add i64 %4, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %10, label LBL_3, label LBL_21 LBL_3: %11 = load i64, i64* %sv_3, align 8 %12 = call i64 @FUNC(i64 %11, i64* bitcast ([8 x i8]* @gv_1 to i64*), i64 0, i64 0) %13 = icmp eq i64 %12, 0 br i1 %13, label LBL_16, label LBL_4 LBL_4: %14 = add i64 %12, 8 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = icmp eq i64 %16, 0 br i1 %17, label LBL_16, label LBL_5 LBL_5: store i64 0, i64* %sv_2, align 8 %18 = load i64, i64* %15, align 8 %19 = call i64 @FUNC(i64 %18, i64* nonnull %sv_2) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_16, label LBL_6 LBL_6: %23 = call i64 @FUNC(i64* nonnull %sv_2) %24 = call i64 @FUNC() %25 = lshr i64 %24, 63 %26 = icmp slt i64 %23, %25 store i64 4294967295, i64* %rax.0.reg2mem br i1 %26, label LBL_21, label LBL_7 LBL_7: %27 = ashr i64 %24, 63 %28 = inttoptr i64 %4 to i64* %29 = load i64, i64* %28, align 8 %30 = inttoptr i64 %29 to i64* %31 = call i64 @FUNC(i64 %27, i64* %30, i64 0, i64 0) %32 = icmp eq i64 %31, 0 br i1 %32, label LBL_16, label LBL_8 LBL_8: %33 = add i64 %31, 8 %34 = inttoptr i64 %33 to i64* %35 = load i64, i64* %34, align 8 %36 = icmp eq i64 %35, 0 br i1 %36, label LBL_16, label LBL_9 LBL_9: store i64 0, i64* %sv_1, align 8 %37 = call i64 @FUNC(i64 %arg2, i64* nonnull %sv_1) %38 = trunc i64 %37 to i32 %39 = icmp eq i32 %38, 0 %40 = icmp eq i1 %39, false br i1 %40, label LBL_15, label LBL_10 LBL_10: %41 = load i64, i64* %sv_1, align 8 %42 = call i64 @FUNC(i64 %41, i64* bitcast ([8 x i8]* @gv_1 to i64*), i64 0, i64 0) %43 = icmp eq i64 %42, 0 br i1 %43, label LBL_15, label LBL_11 LBL_11: %44 = add i64 %42, 8 %45 = inttoptr i64 %44 to i64* %46 = load i64, i64* %45, align 8 %47 = icmp eq i64 %46, 0 br i1 %47, label LBL_15, label LBL_12 LBL_12: store i64 0, i64* %sv_0, align 8 %48 = load i64, i64* %15, align 8 %49 = call i64 @FUNC(i64 %48, i64* nonnull %sv_0) %50 = trunc i64 %49 to i32 %51 = icmp eq i32 %50, 0 %52 = icmp eq i1 %51, false br i1 %52, label LBL_15, label LBL_13 LBL_13: %53 = call i64 @FUNC(i64* nonnull %sv_2) %54 = call i64 @FUNC(i64* nonnull %sv_0) %55 = icmp slt i64 %53, %54 br i1 %55, label LBL_14, label LBL_15 LBL_14: %56 = call i64 @FUNC(i64* nonnull %sv_1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_21 LBL_15: %57 = call i64 @FUNC(i64* nonnull %sv_1) br label LBL_16 LBL_16: %58 = inttoptr i64 %arg2 to i8* %59 = call i8* @strchr(i8* %58, i32 61) %60 = icmp eq i8* %59, null %61 = icmp eq i1 %60, false br i1 %61, label LBL_18, label LBL_17 LBL_17: %62 = call i64 @FUNC(i64 22) store i64 %62, i64* %rax.0.reg2mem br label LBL_21 LBL_18: %63 = ptrtoint i8* %59 to i64 %64 = sub i64 %63, %arg2 %65 = call i64 @FUNC(i64 %arg2, i64 %64) %66 = icmp eq i64 %65, 0 %67 = icmp eq i1 %66, false br i1 %67, label LBL_20, label LBL_19 LBL_19: %68 = call i64 @FUNC(i64 12) store i64 %68, i64* %rax.0.reg2mem br label LBL_21 LBL_20: %69 = ptrtoint i64* %arg3 to i64 %70 = call i64 @FUNC(i64 %69, i64 %65, i64 %63, i64 2) store i64 0, i64* %rax.0.reg2mem br label LBL_21 LBL_21: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8* %59, { 1, 0 } uselistorder i64 %24, { 1, 0 } uselistorder i64* %sv_3, { 1, 2, 0, 3 } uselistorder i64* %sv_1, { 0, 1, 3, 2, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 8, 7, 6, 5, 1, 3, 2, 4 } uselistorder i64 (i64)* @AVERROR, { 1, 0 } uselistorder i64 63, { 1, 0 } uselistorder i64 (i64*)* @av_timegm, { 2, 1, 0 } uselistorder i64 (i64, i64*)* @parse_set_cookie_expiry_time, { 1, 0 } uselistorder i64 (i64, i64*, i64, i64)* @av_dict_get, { 3, 2, 1, 0 } uselistorder i32 0, { 2, 3, 4, 5, 6, 0, 1 } uselistorder i64 (i64, i64*)* @parse_set_cookie, { 1, 0 } uselistorder i64 %arg2, { 2, 1, 3, 0, 4 } uselistorder label LBL_21, { 4, 5, 6, 7, 0, 2, 1, 3 } }
1