dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
BinRealVul
check_alu_op_7827
check_alu_op
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = load i64, i64* %0 %6 = ptrtoint i64* %arg2 to i64 %7 = ptrtoint i64* %arg1 to i64 %8 = call i64 @FUNC(i64 %7) %9 = and i64 %3, 4294967295 %10 = call i64 @FUNC(i64 %9) %11 = trunc i64 %10 to i8 %12 = icmp ne i8 %11, 0 %13 = icmp eq i8 %11, 1 %14 = icmp eq i1 %13, false %or.cond = icmp eq i1 %12, %14 br i1 %or.cond, label LBL_15, label LBL_1 LBL_1: br i1 %14, label LBL_7, label LBL_2 LBL_2: %15 = and i64 %3, 4 %16 = icmp eq i64 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_6, label LBL_3 LBL_3: %18 = add i64 %6, 4 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_6, label LBL_4 LBL_4: %23 = add i64 %6, 12 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = icmp eq i32 %25, 0 %27 = icmp eq i1 %26, false br i1 %27, label LBL_6, label LBL_5 LBL_5: %28 = add i64 %6, 16 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = icmp eq i32 %30, 0 br i1 %31, label LBL_11, label LBL_6 LBL_6: %32 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %5, i64 %2, i64 %1) store i64 4294967294, i64* %rax.0.shrunk.reg2mem br label LBL_23 LBL_7: %33 = add i64 %6, 4 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = icmp eq i32 %35, 0 %37 = icmp eq i1 %36, false br i1 %37, label LBL_10, label LBL_8 LBL_8: %38 = add i64 %6, 12 %39 = inttoptr i64 %38 to i32* %40 = load i32, i32* %39, align 4 %41 = icmp eq i32 %40, 0 %42 = icmp eq i1 %41, false br i1 %42, label LBL_10, label LBL_9 LBL_9: %43 = add i64 %6, 16 %44 = inttoptr i64 %43 to i32* %45 = load i32, i32* %44, align 4 switch i32 %45, label LBL_10 [ i32 16, label LBL_11 i32 32, label LBL_11 i32 64, label LBL_11 ] LBL_10: %46 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_1, i64 0, i64 0), i64 %4, i64 %5, i64 %2, i64 %1) store i64 4294967294, i64* %rax.0.shrunk.reg2mem br label LBL_23 LBL_11: %47 = add i64 %6, 8 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = zext i32 %49 to i64 %51 = call i64 @FUNC(i64 %7, i64 %50, i64 0) %52 = trunc i64 %51 to i32 %53 = icmp eq i32 %52, 0 store i64 %51, i64* %rax.0.shrunk.reg2mem br i1 %53, label LBL_12, label LBL_23 LBL_12: %54 = load i32, i32* %48, align 4 %55 = zext i32 %54 to i64 %56 = call i64 @FUNC(i64 %7, i64 %55) %57 = trunc i64 %56 to i32 %58 = icmp eq i32 %57, 0 %59 = load i32, i32* %48, align 4 %60 = zext i32 %59 to i64 br i1 %58, label LBL_14, label LBL_13 LBL_13: %61 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_2, i64 0, i64 0), i64 %60, i64 %50, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.shrunk.reg2mem br label LBL_23 LBL_14: %62 = call i64 @FUNC(i64 %7, i64 %60, i64 1) %63 = trunc i64 %62 to i32 %64 = icmp eq i32 %63, 0 store i64 %62, i64* %rax.0.shrunk.reg2mem br i1 %64, label LBL_22, label LBL_23 LBL_15: %65 = icmp eq i8 %11, 2 %66 = icmp eq i1 %65, false br i1 %66, label LBL_21, label LBL_16 LBL_16: %67 = add i64 %6, 4 %68 = inttoptr i64 %67 to i32* %69 = load i32, i32* %68, align 4 %70 = icmp eq i32 %69, 0 %71 = icmp eq i1 %70, false br i1 %71, label LBL_18, label LBL_17 LBL_17: %72 = add i64 %6, 12 %73 = inttoptr i64 %72 to i32* %74 = load i32, i32* %73, align 4 %75 = icmp eq i32 %74, 0 br i1 %75, label LBL_19, label LBL_18 LBL_18: %76 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_3, i64 0, i64 0), i64 %4, i64 %5, i64 %2, i64 %1) store i64 4294967294, i64* %rax.0.shrunk.reg2mem br label LBL_23 LBL_19: %77 = add i64 %6, 8 %78 = inttoptr i64 %77 to i32* %79 = load i32, i32* %78, align 4 %80 = zext i32 %79 to i64 %81 = call i64 @FUNC(i64 %7, i64 %80, i64 2) %82 = trunc i64 %81 to i32 %83 = icmp eq i32 %82, 0 store i64 %81, i64* %rax.0.shrunk.reg2mem br i1 %83, label LBL_20, label LBL_23 LBL_20: %84 = load i32, i32* %78, align 4 %85 = call i64 @FUNC(i64 %7, i64 %8, i32 %84) %86 = load i32, i32* %78, align 4 %87 = sext i32 %86 to i64 %88 = mul i64 %87, 16 %89 = add i64 %88, %8 %90 = inttoptr i64 %89 to i32* store i32 0, i32* %90, align 4 %91 = add i64 %6, 16 %92 = inttoptr i64 %91 to i32* %93 = load i32, i32* %92, align 4 %94 = load i32, i32* %78, align 4 %95 = sext i32 %94 to i64 %96 = mul i64 %95, 16 %97 = add i64 %96, %8 %98 = zext i32 %93 to i64 %99 = call i64 @FUNC(i64 %97, i64 %98) br label LBL_22 LBL_21: %100 = urem i64 %10, 256 %101 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_4, i64 0, i64 0), i64 %100, i64 %5, i64 %2, i64 %1) store i64 4294967294, i64* %rax.0.shrunk.reg2mem br label LBL_23 LBL_22: store i64 0, i64* %rax.0.shrunk.reg2mem br label LBL_23 LBL_23: %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 %60, { 1, 0 } uselistorder i1 %14, { 1, 0 } uselistorder i8 %11, { 1, 0, 2 } uselistorder i64 %7, { 3, 0, 1, 2, 6, 5, 7, 8, 9, 4, 10 } uselistorder i64 %6, { 0, 3, 2, 1, 7, 10, 9, 8, 6, 5, 4 } uselistorder i64 %5, { 2, 3, 0, 1 } uselistorder i64 %4, { 2, 1, 0 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 4, 3, 2, 1, 0 } uselistorder i64 %1, { 4, 3, 2, 1, 0 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 8, 5, 1, 4, 2, 7, 3, 9, 6 } uselistorder i64* %0, { 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64, i64)* @check_reg_arg, { 2, 1, 0 } uselistorder i64 4294967294, { 1, 0, 3, 2 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @verbose, { 4, 3, 2, 1, 0 } uselistorder i64 16, { 0, 3, 1, 4, 5, 2 } uselistorder i64 4, { 1, 2, 3, 0 } uselistorder i1 false, { 1, 2, 3, 4, 5, 6, 7, 0 } uselistorder label LBL_23, { 3, 4, 0, 5, 1, 6, 2, 7, 8 } }
1
BinRealVul
decode_tree_entry_19006
decode_tree_entry
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg4 to i64 %sv_0 = alloca i32, align 4 %1 = icmp ult i64 %arg3, 23 br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = add i64 %arg2, -21 %3 = add i64 %2, %arg3 %4 = inttoptr i64 %3 to i8* %5 = load i8, i8* %4, align 1 %6 = icmp eq i8 %5, 0 br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @globalFUNCvarFUNC402010, i64 0, i64 0)) %8 = call i64 @FUNC(i64 %0, i64 %7) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_8 LBL_3: %9 = bitcast i32* %sv_0 to i64* %10 = call i64 @FUNC(i64 %arg2, i64* nonnull %9) %11 = icmp eq i64 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_5, label LBL_4 LBL_4: %13 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @globalFUNCvarFUNC402026, i64 0, i64 0)) %14 = call i64 @FUNC(i64 %0, i64 %13) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_8 LBL_5: %15 = inttoptr i64 %10 to i8* %16 = load i8, i8* %15, align 1 %17 = icmp eq i8 %16, 0 %18 = icmp eq i1 %17, false br i1 %18, label LBL_7, label LBL_6 LBL_6: %19 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @globalFUNCvarFUNC402043, i64 0, i64 0)) %20 = call i64 @FUNC(i64 %0, i64 %19) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_8 LBL_7: %21 = ptrtoint i64* %arg1 to i64 %22 = call i32 @strlen(i8* nonnull %15) %23 = add i32 %22, 1 store i64 %10, i64* %arg1, align 8 %24 = load i32, i32* %sv_0, align 4 %25 = zext i32 %24 to i64 %26 = call i64 @FUNC(i64 %25) %27 = trunc i64 %26 to i32 %28 = add i64 %21, 8 %29 = inttoptr i64 %28 to i32* store i32 %27, i32* %29, align 4 %30 = zext i32 %23 to i64 %31 = add i64 %10, %30 %32 = add i64 %21, 16 %33 = inttoptr i64 %32 to i64* store i64 %31, i64* %33, align 8 store i64 0, 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 %0, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 4 } uselistorder i64 4294967295, { 1, 0, 2, 3 } uselistorder i64 (i64, i64)* @strbuf_addstr, { 2, 1, 0 } uselistorder i64 (i8*)* @_, { 2, 1, 0 } uselistorder i64 %arg2, { 1, 0 } }
1
BinRealVul
pfkey_register_12520
pfkey_register
define i64 @FUNC(i64* %arg1, i64* %arg2, i32* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rdx = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %1 to i32 %5 = icmp slt i32 %4, 256 store i64 4294967293, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_8 LBL_1: %6 = inttoptr i64 %3 to i32* %7 = icmp eq i32 %4, 0 br i1 %7, label LBL_4, label LBL_2 LBL_2: %8 = load i32, i32* %6, align 4 %9 = urem i32 %8, 32 %10 = ashr i32 %8, %9 %storemerge = zext i32 %10 to i64 store i64 %storemerge, i64* %rdx, align 8 %11 = urem i64 %storemerge, 2 %12 = icmp eq i64 %11, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %12, label LBL_3, label LBL_8 LBL_3: %13 = load i32, i32* %6, align 4 %14 = zext i32 %13 to i64 store i64 %14, i64* %rdx, align 8 %15 = urem i32 %13, 32 %16 = shl i32 1, %15 %17 = or i32 %16, %13 store i32 %17, i32* %6, align 4 br label LBL_4 LBL_4: %18 = call i64 @FUNC() %19 = ptrtoint i32* %arg3 to i64 %20 = call i64 @FUNC(i64 %19, i64 0) %21 = icmp eq i64 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_7, label LBL_5 LBL_5: %23 = bitcast i64* %rdx to i32* %24 = load i32, i32* %23, align 8 %25 = icmp eq i32 %24, 0 store i64 4294967294, i64* %rax.0.reg2mem br i1 %25, label LBL_8, label LBL_6 LBL_6: %26 = load i32, i32* %6, align 4 %27 = zext i32 %26 to i64 store i64 %27, i64* %rdx, align 8 %28 = urem i32 %26, 32 %29 = icmp eq i32 %28, 0 %30 = shl i32 -1, %28 %phitmp = add i32 %30, -1 %storemerge3 = select i1 %29, i32 -2, i32 %phitmp %31 = and i32 %storemerge3, %26 store i32 %31, i32* %6, align 4 store i64 4294967294, i64* %rax.0.reg2mem br label LBL_8 LBL_7: %32 = call i64 @FUNC(i64 %2) %33 = call i64 @FUNC(i64 %20, i64 0, i64 1, i64 %2, i64 %32) store i64 0, 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 %26, { 1, 0, 2 } uselistorder i32 %13, { 1, 0, 2 } uselistorder i32 %8, { 1, 0 } uselistorder i32* %6, { 2, 3, 0, 1, 4 } uselistorder i32 %4, { 1, 0 } uselistorder i64 %2, { 1, 0, 2 } uselistorder i64* %rdx, { 2, 3, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 2, 1, 3, 4 } uselistorder i64 4294967294, { 1, 0 } uselistorder label LBL_8, { 4, 1, 0, 2, 3 } }
1
BinRealVul
ParseNameValue_13769
ParseNameValue
define i64 @FUNC(i64 %arg1, i64 %arg2, i32* %arg3) local_unnamed_addr { LBL_0: %sv_0 = alloca i64, align 8 store i64 %arg1, i64* %sv_0, align 8 %0 = call i64 @FUNC(i64* nonnull %sv_0) ret i64 %0 }
0
BinRealVul
make_field_queue_838
make_field_queue
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i64 %sv_1.0.in5.reg2mem = alloca i64 %sv_0.06.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 16) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 0, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_11 LBL_1: %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 %3, i64 %0) %5 = trunc i64 %4 to i32 %6 = icmp slt i32 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_2, label LBL_4 LBL_2: %8 = trunc i64 %arg2 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp slt i32 %8, 0 %11 = icmp eq i1 %10, false %12 = icmp eq i1 %9, false %13 = icmp eq i1 %11, %12 store i64 %0, i64* %sv_0.0.lcssa.reg2mem br i1 %13, label LBL_3, label LBL_10 LBL_3: %sext = mul i64 %arg2, 4294967296 store i64 %0, i64* %sv_0.06.reg2mem store i64 %sext, i64* %sv_1.0.in5.reg2mem br label LBL_5 LBL_4: %14 = call i64 @FUNC(i64 %0) store i64 0, i64* %rax.0.reg2mem br label LBL_11 LBL_5: %sv_1.0.in5.reload = load i64, i64* %sv_1.0.in5.reg2mem %sv_0.06.reload = load i64, i64* %sv_0.06.reg2mem %15 = call i64 @FUNC(i64 16) %16 = inttoptr i64 %sv_0.06.reload to i64* store i64 %15, i64* %16, align 8 %17 = icmp eq i64 %15, 0 %18 = icmp eq i1 %17, false br i1 %18, label LBL_7, label LBL_6 LBL_6: %19 = call i64 @FUNC(i64 %0) store i64 0, i64* %rax.0.reg2mem br label LBL_11 LBL_7: %20 = add i64 %15, 8 %21 = inttoptr i64 %20 to i64* store i64 %sv_0.06.reload, i64* %21, align 8 %22 = load i64, i64* %16, align 8 %23 = call i64 @FUNC(i64 %3, i64 %22) %24 = trunc i64 %23 to i32 %25 = icmp slt i32 %24, 0 %26 = icmp eq i1 %25, false br i1 %26, label LBL_9, label LBL_8 LBL_8: %27 = call i64 @FUNC(i64 %0) store i64 0, i64* %rax.0.reg2mem br label LBL_11 LBL_9: %sext2 = add i64 %sv_1.0.in5.reload, -4294967296 %28 = udiv i64 %sext2, 4294967296 %29 = trunc i64 %28 to i32 %30 = icmp eq i32 %29, 0 %31 = icmp slt i32 %29, 0 %32 = icmp eq i1 %31, false %33 = icmp eq i1 %30, false %34 = icmp eq i1 %32, %33 store i64 %22, i64* %sv_0.06.reg2mem store i64 %sext2, i64* %sv_1.0.in5.reg2mem store i64 %22, i64* %sv_0.0.lcssa.reg2mem br i1 %34, label LBL_5, label LBL_10 LBL_10: %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem %35 = inttoptr i64 %sv_0.0.lcssa.reload to i64* store i64 %0, i64* %35, align 8 %36 = add i64 %0, 8 %37 = inttoptr i64 %36 to i64* store i64 %sv_0.0.lcssa.reload, i64* %37, align 8 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 i32 %29, { 1, 0 } uselistorder i64 %15, { 1, 0, 2 } uselistorder i64 %0, { 0, 4, 5, 7, 6, 3, 2, 1, 8, 9 } uselistorder i64* %sv_0.06.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.0.in5.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 5, 4, 2, 1 } uselistorder i64 8, { 1, 0 } uselistorder i64 4294967296, { 1, 0 } uselistorder i32 0, { 3, 4, 2, 0, 1, 5 } uselistorder i64 (i64, i64)* @alloc_metrics, { 1, 0 } uselistorder i64 (i64)* @av_mallocz, { 1, 0 } uselistorder label LBL_11, { 3, 1, 2, 4, 0 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
START_TEST_5628
START_TEST
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i32 @getpid() %1 = zext i32 %0 to i64 %2 = call i64 @FUNC(i64 %1) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 1 %5 = zext i1 %4 to i64 %6 = call i64 @FUNC(i64 %5) %7 = call i32 @getuid() %8 = icmp eq i32 %7, 0 store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = call i64 @FUNC(i64 1) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 %12 = zext i1 %11 to i64 %13 = call i64 @FUNC(i64 %12) store i64 %13, 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 (i64)* @fail_unless, { 1, 0 } uselistorder i64 (i64)* @ispidowner, { 1, 0 } uselistorder i32 1, { 2, 1, 3, 4, 0 } }
0
BinRealVul
ff_mpeg4_init_direct_mv_1545
ff_mpeg4_init_direct_mv
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %indvars.iv.reg2mem = alloca i64 %.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = bitcast i64* %rdi to i32* %4 = add i64 %2, 4 %5 = inttoptr i64 %4 to i32* %6 = trunc i64 %1 to i32 store i32 %6, i32* %.reg2mem store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %.reload = load i32, i32* %.reg2mem %7 = trunc i64 %indvars.iv.reload to i32 %8 = add i32 %7, -50 %9 = mul i32 %8, %.reload %10 = load i32, i32* %5, align 4 %11 = ashr i32 %9, 31 %12 = zext i32 %9 to i64 %13 = zext i32 %11 to i64 %14 = mul i64 %13, 4294967296 %15 = or i64 %14, %12 %16 = zext i32 %10 to i64 %17 = sdiv i64 %15, %16 %18 = trunc i64 %17 to i32 %19 = mul i64 %indvars.iv.reload, 4 %20 = add i64 %19, %2 %21 = add i64 %20, 8 %22 = inttoptr i64 %21 to i32* store i32 %18, i32* %22, align 4 %23 = load i32, i32* %3, align 8 %24 = load i32, i32* %5, align 4 %25 = sub i32 %23, %24 %26 = mul i32 %25, %8 %27 = ashr i32 %26, 31 %28 = zext i32 %26 to i64 %29 = zext i32 %27 to i64 %30 = mul i64 %29, 4294967296 %31 = or i64 %30, %28 %32 = zext i32 %24 to i64 %33 = sdiv i64 %31, %32 %34 = trunc i64 %33 to i32 %35 = add i64 %20, 408 %36 = inttoptr i64 %35 to i32* store i32 %34, i32* %36, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 100 br i1 %exitcond, label LBL_3, label LBL_1.LBL_1_crit_edge LBL_2: %.pre = load i32, i32* %3, align 8 store i32 %.pre, i32* %.reg2mem store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br label LBL_1 LBL_3: ret i64 %2 uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64 %2, { 1, 0, 2 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } }
0
BinRealVul
gxf_packet_14487
gxf_packet
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 %3 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %sv_1 = alloca i32, align 4 %4 = call i64 @FUNC(i64 %3) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 store i64 4294967291, i64* %rax.0.reg2mem br i1 %6, label LBL_1, label LBL_13 LBL_1: %7 = ptrtoint i64* %arg2 to i64 %8 = ptrtoint i32* %sv_0 to i64 %9 = bitcast i32* %sv_0 to i64* %10 = bitcast i32* %sv_1 to i64* br label LBL_2 LBL_2: %11 = call i64 @FUNC(i64 %3, i64* nonnull %9, i64* nonnull %10) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_5, label LBL_3 LBL_3: %15 = call i64 @FUNC(i64 %3) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %18, label LBL_13, label LBL_4 LBL_4: %19 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i64 %8, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_13 LBL_5: %20 = load i32, i32* %sv_0, align 4 %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_8, label LBL_6 LBL_6: %23 = load i32, i32* %sv_1, align 4 %24 = zext i32 %23 to i64 %25 = call i64 @FUNC(i64 %3, i64 %24) br label LBL_7 LBL_7: %26 = call i64 @FUNC(i64 %3) %27 = trunc i64 %26 to i32 %28 = icmp eq i32 %27, 0 store i64 4294967291, i64* %rax.0.reg2mem br i1 %28, label LBL_2, label LBL_13 LBL_8: %29 = icmp eq i32 %20, 1 %30 = load i32, i32* %sv_1, align 4 br i1 %29, label LBL_10, label LBL_9 LBL_9: %31 = zext i32 %30 to i64 %32 = call i64 @FUNC(i64 %3, i64 %31) br label LBL_7 LBL_10: %33 = icmp sgt i32 %30, 15 br i1 %33, label LBL_12, label LBL_11 LBL_11: %34 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_1, i64 0, i64 0), i64 %8, i64 %2, i64 %1) br label LBL_7 LBL_12: %35 = add i32 %30, -16 store i32 %35, i32* %sv_1, align 4 %36 = call i64 @FUNC(i64 %3) %37 = trunc i64 %36 to i32 %38 = call i64 @FUNC(i64 %3) %39 = call i64 @FUNC(i64 %3) %40 = trunc i64 %39 to i32 %41 = call i64 @FUNC(i64 %3) %42 = call i64 @FUNC(i64 %3) %43 = call i64 @FUNC(i64 %3) %44 = call i64 @FUNC(i64 %3) %45 = load i32, i32* %sv_1, align 4 %46 = zext i32 %45 to i64 %47 = call i64 @FUNC(i64 %3, i64 %7, i64 %46) %48 = and i64 %38, 4294967295 %49 = call i64 @FUNC(i64 %3, i64 %48, i32 %37) %50 = trunc i64 %49 to i32 %51 = bitcast i64* %arg2 to i32* store i32 %50, i32* %51, align 4 %52 = add i64 %7, 4 %53 = inttoptr i64 %52 to i32* store i32 %40, i32* %53, align 4 %54 = and i64 %47, 4294967295 store i64 %54, i64* %rax.0.reg2mem br label LBL_13 LBL_13: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %30, { 0, 2, 1 } uselistorder i64 %8, { 1, 0 } uselistorder i32* %sv_1, { 3, 2, 1, 0, 4 } uselistorder i32* %sv_0, { 1, 2, 0 } uselistorder i64 %3, { 6, 7, 11, 12, 13, 14, 10, 9, 8, 5, 4, 16, 3, 1, 2, 15, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 4, 3, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64)* @get_be32, { 2, 1, 0 } uselistorder i64 (i64)* @get_byte, { 3, 2, 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 } uselistorder i64 0, { 8, 4, 5, 9, 6, 7, 0, 1, 2, 3, 10 } uselistorder i64 (i64)* @url_feof, { 1, 2, 0 } uselistorder label LBL_13, { 4, 0, 3, 2, 1 } uselistorder label LBL_7, { 2, 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
usb_msd_cancel_io_16808
usb_msd_cancel_io
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 = load i64, i64* %2, align 8 %4 = call i64 @FUNC(i64 %3) ret i64 %4 }
1
BinRealVul
fill_vaapi_pic_18755
fill_vaapi_pic
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rsi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = trunc i64 %arg3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false %7 = bitcast i64* %rsi to i32* %sv_0.0 = select i1 %6, i64 %arg3, i64 %1 %8 = call i64 @FUNC(i64 %2) %9 = trunc i64 %8 to i32 %10 = bitcast i64* %arg1 to i32* store i32 %9, i32* %10, align 4 %11 = add i64 %2, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = icmp eq i32 %13, 0 %storemerge3.in.in.in.v = select i1 %14, i64 12, i64 8 %storemerge3.in.in.in = add i64 %storemerge3.in.in.in.v, %2 %storemerge3.in.in = inttoptr i64 %storemerge3.in.in.in to i32* %storemerge3.in = load i32, i32* %storemerge3.in.in, align 4 %15 = add i64 %3, 4 %16 = inttoptr i64 %15 to i32* store i32 %storemerge3.in, i32* %16, align 4 %17 = add i64 %3, 8 %18 = inttoptr i64 %17 to i32* %19 = trunc i64 %sv_0.0 to i32 %20 = mul i32 %19, 16 %21 = and i32 %20, 16 %22 = xor i32 %21, 16 store i32 %22, i32* %18, align 4 %23 = load i32, i32* %7, align 8 %24 = icmp eq i32 %23, 0 br i1 %24, label LBL_2, label LBL_1 LBL_1: %25 = load i32, i32* %12, align 4 %26 = icmp eq i32 %25, 0 %.4 = select i1 %26, i32 64, i32 32 %27 = or i32 %.4, %22 store i32 %27, i32* %18, align 4 br label LBL_2 LBL_2: %28 = add i64 %3, 12 %29 = inttoptr i64 %28 to i32* store i32 0, i32* %29, align 4 %30 = add i64 %2, 16 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = icmp eq i32 %32, 2147483647 %spec.store.select5 = select i1 %33, i32 0, i32 %32 store i32 %spec.store.select5, i32* %29, align 4 %34 = add i64 %3, 16 %35 = inttoptr i64 %34 to i32* store i32 0, i32* %35, align 4 %36 = add i64 %2, 20 %37 = inttoptr i64 %36 to i32* %38 = load i32, i32* %37, align 4 %39 = icmp eq i32 %38, 2147483647 %spec.store.select6 = select i1 %39, i32 0, i32 %38 store i32 %spec.store.select6, i32* %35, align 4 %spec.select = select i1 %39, i64 2147483647, i64 %3 ret i64 %spec.select uselistorder i64 %2, { 1, 2, 0, 3, 4 } uselistorder i32 16, { 2, 1, 0 } uselistorder i64 8, { 1, 0, 2 } uselistorder i64 12, { 1, 0 } uselistorder i32 0, { 0, 2, 1, 3, 4, 5, 6, 7 } }
1
BinRealVul
btif_config_flush_12226
btif_config_flush
define i64 @FUNC() local_unnamed_addr { LBL_0: %.reg2mem = alloca i64 %0 = load i64, i64* @gv_0, align 8 %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_2, i64 0, i64 0), i32 20, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_3, i64 0, i64 0)) br label LBL_2 LBL_2: %3 = load i64, i64* @gv_4, align 8 %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false store i64 %3, i64* %.reg2mem br i1 %5, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_2, i64 0, i64 0), i32 21, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_3, i64 0, i64 0)) %.pre = load i64, i64* @gv_4, align 8 store i64 %.pre, i64* %.reg2mem br label LBL_4 LBL_4: %.reload = load i64, i64* %.reg2mem %6 = call i64 @FUNC(i64 %.reload) %7 = call i32 @pthread_mutex_lock(i64* nonnull @gv_6) %8 = load i64, i64* @gv_0, align 8 %9 = call i64 @FUNC(i64 %8, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_7, i64 0, i64 0)) %10 = call i32 @pthread_mutex_unlock(i64* nonnull @gv_6) %11 = sext i32 %10 to i64 ret i64 %11 uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 } uselistorder i32 1, { 2, 1, 0 } }
1
BinRealVul
gf_isom_is_nalu_based_entry_8456
gf_isom_is_nalu_based_entry
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 %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 1 store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_10 LBL_1: %5 = trunc i64 %2 to i32 %6 = icmp sgt i32 %5, 18 br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = icmp eq i32 %5, 0 %8 = icmp slt i32 %5, 0 %9 = icmp eq i1 %8, false %10 = icmp eq i1 %7, false %11 = icmp eq i1 %9, %10 store i64 1, i64* %rax.0.reg2mem br i1 %11, label LBL_10, label LBL_4 LBL_3: %12 = add i32 %5, -19 %13 = icmp ult i32 %12, 3 store i64 0, i64* %rax.0.reg2mem br i1 %13, label LBL_10, label LBL_4 LBL_4: %14 = icmp eq i64* %arg2, null %15 = icmp eq i1 %14, false store i64 0, i64* %rax.0.reg2mem br i1 %15, label LBL_5, label LBL_10 LBL_5: %16 = icmp eq i32 %5, 0 %17 = icmp eq i1 %16, false store i64 1, i64* %rax.0.reg2mem br i1 %17, label LBL_10, label LBL_6 LBL_6: %18 = ptrtoint i64* %arg2 to i64 %19 = add i64 %18, 4 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = icmp eq i32 %21, 0 %23 = icmp eq i1 %22, false store i64 1, i64* %rax.0.reg2mem br i1 %23, label LBL_10, label LBL_7 LBL_7: %24 = add i64 %18, 8 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = icmp eq i32 %26, 0 %28 = icmp eq i1 %27, false store i64 1, i64* %rax.0.reg2mem br i1 %28, label LBL_10, label LBL_8 LBL_8: %29 = add i64 %18, 12 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = icmp eq i32 %31, 0 %33 = icmp eq i1 %32, false store i64 1, i64* %rax.0.reg2mem br i1 %33, label LBL_10, label LBL_9 LBL_9: %34 = add i64 %18, 16 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = icmp ne i32 %36, 0 %spec.select = zext i1 %37 to i64 ret i64 %spec.select LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %18, { 3, 2, 1, 0 } uselistorder i32 %5, { 0, 4, 2, 3, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1, 5, 6, 7, 8 } uselistorder i64* %0, { 1, 0 } uselistorder i1 false, { 1, 2, 3, 4, 5, 6, 0 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_10, { 3, 2, 1, 0, 4, 5, 6, 7 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
tget_long_15046
tget_long
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = icmp eq i32 %1, 0 br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC(i64 %0) store i64 %3, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %4 = call i64 @FUNC(i64 %0) store i64 %4, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem %5 = add i64 %0, 4 store i64 %5, i64* %arg1, align 8 %6 = and i64 %storemerge.reload, 4294967295 ret i64 %6 uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
1
BinRealVul
parse_command_line_7651
parse_command_line
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64* %arg4, i64 %arg5, i64* %arg6, i64 %arg7, i64* %arg8) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %r9.0.reg2mem = alloca i64 %r8.2.reg2mem = alloca i64 %rcx.2.reg2mem = alloca i64 %r8.1.reg2mem = alloca i64 %rcx.1.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg6 to i64 %1 = ptrtoint i64* %arg4 to i64 %2 = ptrtoint i64* %arg1 to 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 %sv_4 = alloca i64, align 8 %sv_5 = alloca i64, align 8 %sv_6 = alloca i64, align 8 %sv_7 = alloca i64, align 8 %3 = inttoptr i64 %arg2 to i8* %4 = call i8* @strchr(i8* %3, i32 32) %5 = ptrtoint i8* %4 to i64 %6 = sub i64 %5, %arg2 %7 = mul i64 %arg7, 4294967296 %sext3 = add i64 %7, -4294967296 %8 = ashr exact i64 %sext3, 32 %9 = icmp sgt i64 %6, %8 br i1 %9, label LBL_1, label LBL_2 LBL_1: %10 = call i64 @FUNC(i64 %2, i64 0, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i64 %1, i64 %arg5, i64 %0) store i64 4294967291, i64* %rax.0.reg2mem br label LBL_39 LBL_2: %11 = inttoptr i64 %arg2 to i64* %12 = trunc i64 %6 to i32 %13 = call i64* @memcpy(i64* %arg6, i64* %11, i32 %12) %14 = add i64 %6, %0 %15 = inttoptr i64 %14 to i8* store i8 0, i8* %15, align 1 %16 = bitcast i64* %arg6 to i8* %17 = call i32 @strcmp(i8* %16, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0)) %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_4, label LBL_3 LBL_3: %20 = bitcast i64* %arg8 to i32* store i32 0, i32* %20, align 4 store i32 0, i32* %.reg2mem br label LBL_15 LBL_4: %21 = call i32 @strcmp(i8* %16, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_2, i64 0, i64 0)) %22 = icmp eq i32 %21, 0 %23 = icmp eq i1 %22, false br i1 %23, label LBL_6, label LBL_5 LBL_5: %24 = bitcast i64* %arg8 to i32* store i32 1, i32* %24, align 4 store i32 1, i32* %.reg2mem br label LBL_15 LBL_6: %25 = call i32 @strcmp(i8* %16, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0)) %26 = icmp eq i32 %25, 0 %27 = icmp eq i1 %26, false br i1 %27, label LBL_8, label LBL_7 LBL_7: %28 = bitcast i64* %arg8 to i32* store i32 2, i32* %28, align 4 store i32 2, i32* %.reg2mem br label LBL_15 LBL_8: %29 = call i32 @strcmp(i8* %16, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_4, i64 0, i64 0)) %30 = icmp eq i32 %29, 0 %31 = icmp eq i1 %30, false br i1 %31, label LBL_10, label LBL_9 LBL_9: %32 = bitcast i64* %arg8 to i32* store i32 3, i32* %32, align 4 store i32 3, i32* %.reg2mem br label LBL_15 LBL_10: %33 = call i32 @strcmp(i8* %16, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_5, i64 0, i64 0)) %34 = icmp eq i32 %33, 0 %35 = icmp eq i1 %34, false br i1 %35, label LBL_12, label LBL_11 LBL_11: %36 = bitcast i64* %arg8 to i32* store i32 4, i32* %36, align 4 store i32 4, i32* %.reg2mem br label LBL_15 LBL_12: %37 = call i32 @strcmp(i8* %16, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_6, i64 0, i64 0)) %38 = icmp eq i32 %37, 0 %39 = icmp eq i1 %38, false %40 = bitcast i64* %arg8 to i32* br i1 %39, label LBL_14, label LBL_13 LBL_13: store i32 5, i32* %40, align 4 store i32 5, i32* %.reg2mem br label LBL_15 LBL_14: store i32 6, i32* %40, align 4 store i32 6, i32* %.reg2mem br label LBL_15 LBL_15: %.reload = load i32, i32* %.reg2mem %41 = bitcast i64* %rdi to i32* %42 = load i32, i32* %41, align 8 %43 = icmp eq i32 %42, 0 %44 = icmp eq i1 %43, false br i1 %44, label LBL_18, label LBL_16 LBL_16: %switch = icmp ult i32 %.reload, 2 br i1 %switch, label LBL_25, label LBL_17 LBL_17: %45 = call i64 @FUNC(i64 %2, i64 0, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_7, i64 0, i64 0), i64 %arg2, i64 %arg5, i64 %0) store i64 1, i64* %rax.0.reg2mem br label LBL_39 LBL_18: %46 = icmp eq i32 %42, 1 %47 = icmp eq i1 %46, false br i1 %47, label LBL_21, label LBL_19 LBL_19: %.off = add nsw i32 %.reload, -1 %switch5 = icmp ult i32 %.off, 3 br i1 %switch5, label LBL_25, label LBL_20 LBL_20: %48 = call i64 @FUNC(i64 %2, i64 0, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_8, i64 0, i64 0), i64 %arg2, i64 %arg5, i64 %0) store i64 1, i64* %rax.0.reg2mem br label LBL_39 LBL_21: %49 = icmp eq i32 %42, 2 %50 = icmp eq i1 %49, false br i1 %50, label LBL_24, label LBL_22 LBL_22: switch i32 %.reload, label LBL_23 [ i32 4, label LBL_25 i32 1, label LBL_25 i32 5, label LBL_25 ] LBL_23: %51 = call i64 @FUNC(i64 %2, i64 0, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_9, i64 0, i64 0), i64 %arg2, i64 %arg5, i64 %0) store i64 1, i64* %rax.0.reg2mem br label LBL_39 LBL_24: %52 = zext i32 %42 to i64 %53 = call i64 @FUNC(i64 %2, i64 0, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_10, i64 0, i64 0), i64 %52, i64 %arg5, i64 %0) store i64 3, i64* %rax.0.reg2mem br label LBL_39 LBL_25: %54 = add i64 %5, 1 %55 = inttoptr i64 %54 to i8* %56 = call i8* @strchr(i8* %55, i32 32) %57 = icmp eq i8* %56, null %58 = icmp eq i1 %57, false br i1 %58, label LBL_27, label LBL_26 LBL_26: %59 = call i64 @FUNC(i64 %2, i64 0, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_11, i64 0, i64 0), i64 %arg2, i64 %arg5, i64 %0) store i64 2, i64* %rax.0.reg2mem br label LBL_39 LBL_27: %sext = mul i64 %arg5, 4294967296 %60 = ptrtoint i8* %56 to i64 %61 = sub i64 %60, %54 %sext4 = add i64 %sext, -4294967296 %62 = ashr exact i64 %sext4, 32 %63 = icmp sgt i64 %61, %62 br i1 %63, label LBL_28, label LBL_29 LBL_28: %64 = call i64 @FUNC(i64 %2, i64 0, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_12, i64 0, i64 0), i64 %arg2, i64 %arg5, i64 %0) store i64 4294967291, i64* %rax.0.reg2mem br label LBL_39 LBL_29: %65 = inttoptr i64 %54 to i64* %66 = trunc i64 %61 to i32 %67 = call i64* @memcpy(i64* %arg4, i64* %65, i32 %66) %68 = add i64 %61, %1 %69 = inttoptr i64 %68 to i8* store i8 0, i8* %69, align 1 %70 = add i64 %2, 4 %71 = inttoptr i64 %70 to i8* %72 = bitcast i64* %arg4 to i8* %73 = call i32 @strcmp(i8* %71, i8* %72) %74 = icmp eq i32 %73, 0 store i64 %54, i64* %rcx.2.reg2mem store i64 %arg5, i64* %r8.2.reg2mem store i64 %0, i64* %r9.0.reg2mem br i1 %74, label LBL_37, label LBL_30 LBL_30: %75 = call i64 @FUNC(i64 0, i64 0, i64* nonnull %sv_6, i64 128, i64* nonnull %sv_7, i64 128, i64* nonnull %sv_4, i64* nonnull %sv_5, i64 512, i64 %1) %76 = ptrtoint i64* %sv_3 to i64 %77 = call i64 @FUNC(i64 0, i64 0, i64* nonnull %sv_2, i64 128, i64* nonnull %sv_3, i64 128, i64* nonnull %sv_0, i64* nonnull %sv_1, i64 512, i64 %70) %78 = bitcast i64* %sv_7 to i8* %79 = bitcast i64* %sv_3 to i8* %80 = call i32 @strcmp(i8* nonnull %78, i8* nonnull %79) %81 = icmp eq i32 %80, 0 store i64 128, i64* %rcx.0.reg2mem br i1 %81, label LBL_32, label LBL_31 LBL_31: %82 = ptrtoint i64* %sv_7 to i64 %83 = call i64 @FUNC(i64 %2, i64 1, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_13, i64 0, i64 0), i64 %82, i64 %76, i64 128) store i64 %82, i64* %rcx.0.reg2mem br label LBL_32 LBL_32: %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %84 = bitcast i64* %sv_5 to i8* %85 = bitcast i64* %sv_1 to i8* %86 = call i32 @strcmp(i8* nonnull %84, i8* nonnull %85) %87 = icmp eq i32 %86, 0 %.pre = bitcast i64* %arg8 to i32* store i64 %rcx.0.reload, i64* %rcx.1.reg2mem store i64 %76, i64* %r8.1.reg2mem br i1 %87, label LBL_35, label LBL_33 LBL_33: %88 = load i32, i32* %.pre, align 4 %89 = icmp eq i32 %88, 3 store i64 %rcx.0.reload, i64* %rcx.1.reg2mem store i64 %76, i64* %r8.1.reg2mem br i1 %89, label LBL_35, label LBL_34 LBL_34: %90 = ptrtoint i64* %sv_1 to i64 %91 = ptrtoint i64* %sv_5 to i64 %92 = call i64 @FUNC(i64 %2, i64 2, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_14, i64 0, i64 0), i64 %91, i64 %90, i64 128) store i64 %91, i64* %rcx.1.reg2mem store i64 %90, i64* %r8.1.reg2mem br label LBL_35 LBL_35: %r8.1.reload = load i64, i64* %r8.1.reg2mem %rcx.1.reload = load i64, i64* %rcx.1.reg2mem %93 = load i32, i32* %.pre, align 4 %94 = icmp eq i32 %93, 0 %95 = icmp eq i1 %94, false store i64 %rcx.1.reload, i64* %rcx.2.reg2mem store i64 %r8.1.reload, i64* %r8.2.reg2mem store i64 128, i64* %r9.0.reg2mem br i1 %95, label LBL_37, label LBL_36 LBL_36: %96 = call i64 @FUNC(i64 %2, i64 1, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_15, i64 0, i64 0), i64 %1, i64 %r8.1.reload, i64 128) %97 = call i64 @FUNC(i64 %70, i64 %1, i64 512) store i64 %70, i64* %rcx.2.reg2mem store i64 %r8.1.reload, i64* %r8.2.reg2mem store i64 128, i64* %r9.0.reg2mem br label LBL_37 LBL_37: %98 = add i64 %60, 1 %99 = call i64 @FUNC(i64 %98, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_16, i64 0, i64 0), i64 0) %100 = trunc i64 %99 to i32 %101 = icmp eq i32 %100, 0 %102 = icmp eq i1 %101, false store i64 0, i64* %rax.0.reg2mem br i1 %102, label LBL_39, label LBL_38 LBL_38: %r9.0.reload = load i64, i64* %r9.0.reg2mem %r8.2.reload = load i64, i64* %r8.2.reg2mem %rcx.2.reload = load i64, i64* %rcx.2.reg2mem %103 = call i64 @FUNC(i64 %2, i64 0, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_17, i64 0, i64 0), i64 %rcx.2.reload, i64 %r8.2.reload, i64 %r9.0.reload) store i64 1, i64* %rax.0.reg2mem br label LBL_39 LBL_39: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %r8.1.reload, { 0, 2, 1 } uselistorder i64 %rcx.0.reload, { 1, 0 } uselistorder i64 %76, { 1, 0, 2 } uselistorder i8* %56, { 1, 0 } uselistorder i32 %.reload, { 2, 1, 0 } uselistorder i64* %sv_7, { 2, 0, 1 } uselistorder i64* %sv_5, { 2, 1, 0 } uselistorder i64* %sv_1, { 2, 1, 0 } uselistorder i64 %2, { 7, 6, 5, 4, 8, 9, 3, 10, 2, 1, 0, 11 } uselistorder i64 %1, { 1, 2, 3, 0, 4 } uselistorder i64 %0, { 0, 6, 5, 7, 4, 3, 2, 1, 8 } uselistorder i32* %.reg2mem, { 0, 7, 6, 5, 4, 3, 2, 1 } uselistorder i64* %rcx.1.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %r8.1.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 7, 5, 8, 4, 3, 2, 9 } uselistorder i64 (i64, i64, i64*, i64, i64*, i64, i64*, i64*, i64, i64)* @av_url_split, { 1, 0 } uselistorder i64 128, { 0, 5, 1, 4, 3, 2, 7, 6, 9, 8 } uselistorder i64 2, { 1, 0 } uselistorder i64 1, { 3, 8, 6, 7, 9, 2, 1, 0, 5, 4 } uselistorder i32 5, { 1, 0, 2 } uselistorder i32 4, { 1, 0, 2 } uselistorder i32 3, { 2, 1, 0, 3 } uselistorder i32 2, { 2, 1, 0, 3 } uselistorder i32 (i8*, i8*)* @strcmp, { 6, 8, 7, 5, 4, 3, 2, 1, 0 } uselistorder i8 0, { 1, 2, 3, 4, 0 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 2, 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 4294967296, { 1, 0 } uselistorder i8* (i8*, i32)* @strchr, { 1, 0 } uselistorder i64 %arg5, { 0, 6, 1, 5, 7, 4, 3, 2, 8 } uselistorder i64 %arg2, { 4, 3, 2, 1, 0, 5, 7, 6 } uselistorder label LBL_39, { 1, 0, 2, 3, 4, 5, 6, 7, 8 } uselistorder label LBL_35, { 1, 2, 0 } uselistorder label LBL_25, { 2, 3, 4, 0, 1 } }
1
BinRealVul
__wusbhc_dev_disconnect_4381
__wusbhc_dev_disconnect
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi = alloca i64, align 8 %rsi = alloca i64, align 8 %0 = add i64 %arg2, 8 %1 = inttoptr i64 %0 to i32* %2 = load i32, i32* %1, align 4 %3 = and i32 %2, -64 store i32 %3, i32* %1, align 4 %4 = add i64 %arg2, 12 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = or i32 %6, 192 store i32 %7, i32* %5, align 4 %8 = icmp eq i64 %arg2, 0 br i1 %8, label LBL_4, label LBL_1 LBL_1: %9 = bitcast i64* %rsi to i32* %10 = load i32, i32* %9, align 8 %11 = add i64 %arg1, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = call i64 @FUNC(i64 %13, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_0, i64 0, i64 0), i32 %10) %15 = call i64 @FUNC(i64 %0) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false br i1 %18, label LBL_3, label LBL_2 LBL_2: %19 = call i64 @FUNC(i64 %0) br label LBL_3 LBL_3: %20 = call i64 @FUNC(i64 %arg2) br label LBL_4 LBL_4: %21 = inttoptr i64 %arg2 to i64* store i64 0, i64* %21, align 8 %22 = bitcast i64* %rdi to i32* %23 = load i32, i32* %22, align 8 %24 = icmp eq i32 %23, 0 store i64 0, i64* %rax.0.reg2mem br i1 %24, label LBL_6, label LBL_5 LBL_5: %25 = call i64 @FUNC(i64 %arg1) store i64 %25, 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 %0, { 1, 0, 2 } uselistorder i64 %arg2, { 1, 0, 4, 2, 3 } uselistorder i64 %arg1, { 1, 0 } }
0
BinRealVul
AUD_vlog_3113
AUD_vlog
define i64 @FUNC(i64 %arg1, i64 %arg2, i32* %arg3) local_unnamed_addr { LBL_0: %0 = icmp eq i64 %arg1, 0 br i1 %0, label LBL_2, label LBL_1 LBL_1: %1 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %2 = inttoptr i64 %arg1 to i8* %3 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i8* %2) br label LBL_2 LBL_2: %4 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %5 = ptrtoint i32* %arg3 to i64 %6 = inttoptr i64 %arg2 to i8* %7 = call i32 @vfprintf(%_IO_FILE* %4, i8* %6, i64 %5) %8 = sext i32 %7 to i64 ret i64 %8 uselistorder %_IO_FILE** @gv_0, { 1, 0 } }
0
BinRealVul
gen_addq_1817
gen_addq
define i64 @FUNC(i32* %arg1, i32 %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %0 = ptrtoint i32* %arg1 to i64 %1 = zext i32 %arg3 to i64 %2 = call i64 @FUNC(i64 %0, i64 %1) %3 = zext i32 %arg4 to i64 %4 = call i64 @FUNC(i64 %0, i64 %3) %5 = trunc i64 %4 to i32 %6 = call i64 @FUNC() %7 = trunc i64 %6 to i32 %8 = and i64 %2, 4294967295 %9 = and i64 %6, 4294967295 %10 = call i64 @FUNC(i64 %9, i64 %8, i32 %5) %11 = call i64 @FUNC(i64 %8) %12 = and i64 %4, 4294967295 %13 = call i64 @FUNC(i64 %12) %14 = zext i32 %arg2 to i64 %15 = call i64 @FUNC(i64 %14, i64 %14, i32 %7) %16 = call i64 @FUNC(i64 %9) ret i64 %16 uselistorder i64 %14, { 1, 0 } uselistorder i64 (i64)* @tcg_temp_free_i32, { 1, 0 } uselistorder i64 (i64, i64)* @load_reg, { 1, 0 } }
0
BinRealVul
test_x509_time_11876
test_x509_time
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.013.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 ([21 x i8]** @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.013.reg2mem br label LBL_12 LBL_8: %48 = add i64 %6, ptrtoint ([21 x i8]** @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.013.reg2mem br i1 %51, label LBL_12, label LBL_9 LBL_9: %52 = add i64 %20, 8 %53 = inttoptr i64 %52 to i64* %54 = load i64, i64* %53, align 8 %55 = call i64 @FUNC(i64 %54, i64 %50) %56 = trunc i64 %55 to i32 %57 = icmp eq i32 %56, 0 %58 = icmp eq i1 %57, false store i64 1, i64* %sv_0.013.reg2mem br i1 %58, label LBL_12, label LBL_10 LBL_10: %59 = load i64, i64* %53, align 8 %60 = load i64, i64* %49, align 8 %61 = and i64 %5, 4294967295 %62 = call i64 @FUNC(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_7, i64 0, i64 0), i64 %61, i64 %60, i64 %59, i64 %2, i64 %1) store i64 0, i64* %sv_0.013.reg2mem br label LBL_12 LBL_11: %63 = load i32, i32* %23, align 8 %64 = zext i32 %63 to i64 %65 = and i64 %5, 4294967295 %66 = call i64 @FUNC(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_8, i64 0, i64 0), i64 %65, i64 %64, i64 %26, i64 %2, i64 %1) %67 = icmp eq i32* %sv_1.0.reload, null store i64 0, i64* %sv_0.013.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %67, label LBL_13, label LBL_12 LBL_12: %sv_0.013.reload = load i64, i64* %sv_0.013.reg2mem %68 = call i64 @FUNC(i64 %20) store i64 %sv_0.013.reload, i64* %storemerge.reg2mem br label LBL_13 LBL_13: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload 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, 3, 2, 0 } uselistorder i64 %1, { 1, 3, 2, 0 } uselistorder i64* %sv_0.013.reg2mem, { 0, 5, 1, 3, 4, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1, 4 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @TEST_int_eq, { 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @TEST_info, { 1, 3, 2, 0 } uselistorder i64 4294967295, { 2, 0, 1, 3, 4 } uselistorder i1 false, { 1, 2, 3, 4, 5, 0 } uselistorder i32* null, { 2, 1, 0 } uselistorder label LBL_13, { 2, 1, 0, 3 } uselistorder label LBL_12, { 4, 1, 2, 3, 0 } uselistorder label LBL_8, { 1, 0 } }
1
BinRealVul
nct7802_read_fan_min_4657
nct7802_read_fan_min
define i64 @FUNC(i64* %arg1, i64 %arg2, i8 %arg3) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i32, align 4 %sv_2 = alloca i32, align 4 %1 = add i64 %0, 8 %2 = call i64 @FUNC(i64 %1) %3 = urem i64 %arg2, 256 %4 = bitcast i32* %sv_2 to i64* %5 = call i64 @FUNC(i64 %1, i64 %3, i64* nonnull %4) %6 = trunc i64 %5 to i32 %7 = icmp slt i32 %6, 0 store i32 %6, i32* %sv_0.0.reg2mem br i1 %7, label LBL_5, label LBL_1 LBL_1: %8 = zext i8 %arg3 to i64 %9 = bitcast i32* %sv_1 to i64* %10 = call i64 @FUNC(i64 %1, i64 %8, i64* nonnull %9) %11 = trunc i64 %10 to i32 %12 = icmp slt i32 %11, 0 store i32 %11, i32* %sv_0.0.reg2mem br i1 %12, label LBL_5, label LBL_2 LBL_2: %13 = load i32, i32* %sv_1, align 4 %14 = mul i32 %13, 32 %15 = and i32 %14, 7936 %16 = load i32, i32* %sv_2, align 4 %17 = or i32 %15, %16 %18 = icmp eq i32 %17, 8191 %19 = icmp eq i1 %18, false store i32 0, i32* %sv_0.0.reg2mem br i1 %19, label LBL_3, label LBL_5 LBL_3: %20 = icmp eq i32 %17, 0 store i32 1350000, i32* %sv_0.0.reg2mem br i1 %20, label LBL_5, label LBL_4 LBL_4: %21 = icmp slt i32 %16, 0 %22 = zext i1 %21 to i32 %23 = add i32 %17, %22 %24 = ashr i32 %23, 1 %25 = add nsw i32 %24, 1350000 %26 = udiv i32 %25, %17 store i32 %26, i32* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %27 = call i64 @FUNC(i64 %1) %28 = zext i32 %sv_0.0.reload to i64 ret i64 %28 uselistorder i32 %17, { 1, 0, 2, 3 } uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 1, 2, 4, 5 } uselistorder i32 1350000, { 1, 0 } uselistorder i32 0, { 1, 2, 0, 3, 4 } uselistorder i64 (i64, i64, i64*)* @regmap_read, { 1, 0 } uselistorder label LBL_5, { 4, 0, 1, 2, 3 } }
0
BinRealVul
rsd_probe_1899
rsd_probe
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i32 @memcmp(i64* %arg1, i64* bitcast ([4 x i8]* @gv_0 to i64*), i32 3) %1 = icmp eq i32 %0, 0 %2 = icmp eq i1 %1, false store i64 0, i64* %rax.0.reg2mem br i1 %2, label LBL_4, label LBL_1 LBL_1: %3 = ptrtoint i64* %arg1 to i64 %4 = add i64 %3, 3 %5 = inttoptr i64 %4 to i8* %6 = load i8, i8* %5, align 1 %.off = add i8 %6, -50 %7 = icmp ult i8 %.off, 5 store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_2, label LBL_4 LBL_2: %8 = add i64 %3, 8 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp ult i32 %10, 257 %12 = icmp eq i32 %10, 0 %13 = icmp eq i1 %12, false %or.cond2 = icmp eq i1 %11, %13 store i64 1, i64* %rax.0.reg2mem br i1 %or.cond2, label LBL_3, label LBL_4 LBL_3: %14 = add i64 %3, 16 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = icmp ult i32 %16, 384001 %18 = icmp eq i32 %16, 0 %19 = icmp eq i1 %18, false %or.cond4 = icmp eq i1 %17, %19 %spec.select = select i1 %or.cond4, i64 50, i64 1 ret i64 %spec.select LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %3, { 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2 } uselistorder i64 1, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_4, { 0, 2, 1 } }
0
BinRealVul
subband_scale_2383
subband_scale
define i64 @FUNC(i64* %arg1, i32* %arg2, i32 %arg3, i32 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %rax.0.in.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %indvars.iv22.reg2mem = alloca i64 %indvars.iv26.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg5, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = sub i32 0, %arg3 %3 = icmp slt i32 %2, 0 %4 = icmp eq i1 %3, false %5 = select i1 %4, i32 %2, i32 %arg3 %6 = ashr i32 %5, 2 %7 = sub i32 %arg4, %6 %8 = icmp slt i32 %7, 32 br i1 %8, label LBL_4, label LBL_1 LBL_1: %9 = trunc i64 %1 to i32 %10 = icmp sgt i32 %9, 0 store i64 0, i64* %rax.0.in.reg2mem br i1 %10, label LBL_2, label LBL_11 LBL_2: %wide.trip.count28 = and i64 %1, 4294967295 store i64 0, i64* %indvars.iv26.reg2mem br label LBL_3 LBL_3: %indvars.iv26.reload = load i64, i64* %indvars.iv26.reg2mem %11 = mul i64 %indvars.iv26.reload, 4 %12 = add i64 %11, %0 %13 = inttoptr i64 %12 to i32* store i32 0, i32* %13, align 4 %indvars.iv.next27 = add nuw nsw i64 %indvars.iv26.reload, 1 %exitcond29 = icmp eq i64 %indvars.iv.next27, %wide.trip.count28 store i64 %indvars.iv.next27, i64* %indvars.iv26.reg2mem store i64 %wide.trip.count28, i64* %rax.0.in.reg2mem br i1 %exitcond29, label LBL_11, label LBL_3 LBL_4: %14 = icmp slt i32 %arg3, 0 %15 = icmp eq i1 %14, false %16 = select i1 %15, i32 1, i32 -1 %17 = mul i32 %5, 4 %18 = and i32 %17, 12 %19 = zext i32 %18 to i64 %20 = add i64 %19, ptrtoint (i32** @gv_0 to i64) %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = sext i32 %22 to i128 %24 = icmp slt i32 %7, 1 br i1 %24, label LBL_8, label LBL_5 LBL_5: %25 = trunc i64 %1 to i32 %26 = icmp sgt i32 %25, 0 store i64 0, i64* %rax.0.in.reg2mem br i1 %26, label LBL_6, label LBL_11 LBL_6: %27 = add i32 %7, 31 %28 = urem i32 %27, 32 %29 = shl i32 1, %28 %30 = ptrtoint i32* %arg2 to i64 %31 = urem i32 %7, 32 %wide.trip.count24 = and i64 %1, 4294967295 store i64 0, i64* %indvars.iv22.reg2mem br label LBL_7 LBL_7: %indvars.iv22.reload = load i64, i64* %indvars.iv22.reg2mem %32 = mul i64 %indvars.iv22.reload, 4 %33 = add i64 %32, %30 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = sext i32 %35 to i128 %37 = mul nsw i128 %36, %23 %38 = trunc i128 %37 to i64 %39 = udiv i64 %38, 4294967296 %40 = trunc i64 %39 to i32 %41 = add i32 %29, %40 %42 = ashr i32 %41, %31 %43 = add i64 %32, %0 %44 = mul i32 %42, %16 %45 = inttoptr i64 %43 to i32* store i32 %44, i32* %45, align 4 %indvars.iv.next23 = add nuw nsw i64 %indvars.iv22.reload, 1 %exitcond25 = icmp eq i64 %indvars.iv.next23, %wide.trip.count24 store i64 %indvars.iv.next23, i64* %indvars.iv22.reg2mem store i64 %1, i64* %rax.0.in.reg2mem br i1 %exitcond25, label LBL_11, label LBL_7 LBL_8: %46 = trunc i64 %1 to i32 %47 = icmp sgt i32 %46, 0 store i64 0, i64* %rax.0.in.reg2mem br i1 %47, label LBL_9, label LBL_11 LBL_9: %48 = add i32 %7, 31 %49 = urem i32 %48, 32 %50 = shl i32 1, %49 %51 = add i32 %7, 32 %52 = ptrtoint i32* %arg2 to i64 %53 = zext i32 %50 to i64 %54 = urem i32 %51, 64 %55 = zext i32 %54 to i64 %wide.trip.count = and i64 %1, 4294967295 store i64 0, i64* %indvars.iv.reg2mem br label LBL_10 LBL_10: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %56 = mul i64 %indvars.iv.reload, 4 %57 = add i64 %56, %52 %58 = inttoptr i64 %57 to i32* %59 = load i32, i32* %58, align 4 %60 = sext i32 %59 to i128 %61 = mul nsw i128 %60, %23 %62 = trunc i128 %61 to i64 %63 = add i64 %62, %53 %rdx.1 = ashr i64 %63, %55 %64 = trunc i64 %rdx.1 to i32 %65 = mul i32 %16, %64 %66 = add i64 %56, %0 %67 = inttoptr i64 %66 to i32* store i32 %65, i32* %67, align 4 %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 store i64 %1, i64* %rax.0.in.reg2mem br i1 %exitcond, label LBL_11, label LBL_10 LBL_11: %rax.0.in.reload = load i64, i64* %rax.0.in.reg2mem %rax.0 = and i64 %rax.0.in.reload, 4294967295 ret i64 %rax.0 uselistorder i64 %56, { 1, 0 } uselistorder i64 %32, { 1, 0 } uselistorder i32 %7, { 1, 2, 0, 3, 4, 5 } uselistorder i64 %1, { 1, 2, 7, 0, 3, 6, 4, 5 } uselistorder i64* %indvars.iv26.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv22.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.in.reg2mem, { 0, 3, 6, 2, 5, 1, 4 } uselistorder i32 31, { 1, 0 } uselistorder i64 4294967295, { 3, 0, 1, 2 } uselistorder i32 32, { 4, 0, 1, 2, 3 } uselistorder i1 false, { 1, 0 } uselistorder i32 0, { 0, 1, 6, 3, 2, 4, 5 } uselistorder i64 4294967296, { 1, 0 } uselistorder i32 %arg3, { 2, 1, 0 } uselistorder i32* %arg2, { 1, 0 } uselistorder label LBL_11, { 2, 5, 1, 4, 0, 3 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
find_volume_de_10195
find_volume_de
define i64 @FUNC(i64* %arg1, i8* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge312.reg2mem = alloca i32 %sv_0.014.reg2mem = alloca i64 %storemerge215.reg2mem = alloca i32 %storemerge17.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %4 = trunc i64 %1 to i32 %5 = icmp eq i32 %4, 0 %6 = trunc i64 %2 to i8 br i1 %5, label LBL_3, label LBL_1 LBL_1: %7 = icmp eq i32 %4, -1 %8 = icmp eq i1 %7, false store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_11 LBL_2: %9 = add i64 %3, 12 %10 = inttoptr i64 %9 to i32* %11 = ptrtoint i8* %arg2 to i64 %12 = icmp eq i8 %6, 15 %13 = and i8 %6, 8 %14 = icmp eq i8 %13, 0 %or.cond = or i1 %12, %14 br label LBL_5 LBL_3: %15 = add i64 %3, 4 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp eq i32 %17, 0 store i64 0, i64* %rax.0.reg2mem br i1 %18, label LBL_11, label LBL_4 LBL_4: %19 = add i64 %3, 8 %20 = inttoptr i64 %19 to i32* %21 = ptrtoint i8* %arg2 to i64 %22 = icmp eq i8 %6, 15 %23 = and i8 %6, 8 %24 = icmp eq i8 %23, 0 %or.cond8 = or i1 %22, %24 store i32 0, i32* %storemerge312.reg2mem br label LBL_9 LBL_5: %storemerge17.reload = load i64, i64* %storemerge17.reg2mem %25 = and i64 %storemerge17.reload, 4294967295 %26 = call i64 @FUNC(i64 %3, i64 %25) %27 = load i32, i32* %10, align 4 %28 = icmp eq i32 %27, 0 store i32 0, i32* %storemerge215.reg2mem store i64 %26, i64* %sv_0.014.reg2mem br i1 %28, label LBL_8, label LBL_6 LBL_6: %sv_0.014.reload = load i64, i64* %sv_0.014.reg2mem %29 = call i64 @FUNC(i64 %sv_0.014.reload, i64 1, i64 %11) store i64 %26, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_7, label LBL_11 LBL_7: %storemerge215.reload = load i32, i32* %storemerge215.reg2mem %30 = add i64 %sv_0.014.reload, 1 %31 = add i32 %storemerge215.reload, 1 %32 = sext i32 %31 to i64 %33 = load i32, i32* %10, align 4 %34 = zext i32 %33 to i64 %35 = icmp ult i64 %32, %34 store i32 %31, i32* %storemerge215.reg2mem store i64 %30, i64* %sv_0.014.reg2mem br i1 %35, label LBL_6, label LBL_8 LBL_8: %36 = call i64 @FUNC(i64 %3, i64 %25) %37 = trunc i64 %36 to i32 %38 = icmp ne i32 %37, 0 %39 = icmp eq i32 %37, -1 %40 = icmp eq i1 %39, false %or.cond6 = icmp eq i1 %38, %40 store i64 %36, i64* %storemerge17.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %or.cond6, label LBL_5, label LBL_11 LBL_9: %storemerge312.reload = load i32, i32* %storemerge312.reg2mem %41 = load i32, i32* %20, align 4 %42 = zext i32 %41 to i64 %43 = sext i32 %storemerge312.reload to i64 %44 = add nsw i64 %42, %43 %45 = call i64 @FUNC(i64 %44, i64 1, i64 %21) store i64 %44, i64* %rax.0.reg2mem br i1 %or.cond8, label LBL_10, label LBL_11 LBL_10: %46 = add i32 %storemerge312.reload, 1 %47 = load i32, i32* %16, align 4 %48 = icmp ugt i32 %47, %46 store i32 %46, i32* %storemerge312.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %48, label LBL_9, label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %37, { 1, 0 } uselistorder i64 %25, { 1, 0 } uselistorder i32* %16, { 1, 0 } uselistorder i32* %10, { 1, 0 } uselistorder i8 %6, { 0, 1, 3, 2 } uselistorder i32 %4, { 1, 0 } uselistorder i64 %3, { 1, 2, 4, 3, 0 } uselistorder i64* %storemerge17.reg2mem, { 1, 0 } uselistorder i32* %storemerge215.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.014.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge312.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2, 6, 5 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64, i64)* @fs_read, { 1, 0 } uselistorder i64 1, { 0, 2, 1 } uselistorder i1 false, { 1, 0 } uselistorder i32 -1, { 1, 0 } uselistorder i32 0, { 4, 1, 3, 0, 2, 5 } uselistorder i8* %arg2, { 1, 0 } uselistorder label LBL_11, { 3, 2, 0, 1, 5, 4 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
vfs_set_filelen_8759
vfs_set_filelen
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = load i128, i128* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2, i64 1) %4 = call i128 @FUNC(i128 %1, i128 %1) %5 = call i128 @FUNC(i64 %arg2) %6 = call i64 @FUNC(i128 %5) %7 = call i64 @FUNC(i64 %2) %8 = call i128 @__asm_movq.1(i64 %6) %9 = inttoptr i64 %7 to i8* %10 = trunc i128 %8 to i64 %11 = bitcast i64 %10 to double %12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_0, i64 0, i64 0), i8* %9, double %11) %13 = call i64 @FUNC(i64 %2, i64 1) %14 = call i64 @FUNC(i64 %2, i64 %arg2) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, -1 br i1 %16, label LBL_2, label LBL_1 LBL_1: %17 = call i64 @FUNC(i64 %2, i64 %arg2) %18 = add i64 %2, 8 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = call i64 @FUNC(i64 %20, i64 1, i64 1, i64 %2) br label LBL_2 LBL_2: %22 = call i64 @FUNC(i64 %2, i64 1) %23 = and i64 %14, 4294967295 ret i64 %23 uselistorder i64 %2, { 3, 1, 2, 0, 4, 5, 6, 7 } uselistorder i64 1, { 0, 2, 1, 3, 4 } }
0
BinRealVul
av_malloc_3659
av_malloc
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 store i64 0, i64* %sv_0, align 8 %0 = icmp eq i64 %arg1, 0 %1 = icmp eq i1 %0, false br i1 %1, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_1, i64 0, i64 0), i32 9, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_7 LBL_2: %2 = icmp ult i64 %arg1, 2147483616 store i64 0, i64* %rax.0.reg2mem br i1 %2, label LBL_3, label LBL_7 LBL_3: %3 = trunc i64 %arg1 to i32 %4 = add i32 %3, 32 %5 = call i64* @malloc(i32 %4) %6 = ptrtoint i64* %5 to i64 store i64 %6, i64* %sv_0, align 8 %7 = icmp eq i64* %5, null %8 = icmp eq i1 %7, false store i64 %6, i64* %rax.0.reg2mem br i1 %8, label LBL_4, label LBL_7 LBL_4: %9 = urem i64 %6, 32 %10 = sub nsw i64 32, %9 %11 = add i64 %10, %6 store i64 %11, i64* %sv_0, align 8 %12 = add i64 %11, -1 %13 = trunc i64 %10 to i8 %14 = inttoptr i64 %12 to i8* store i8 %13, i8* %14, align 1 %15 = bitcast i64* %sv_0 to i64** %16 = call i32 @posix_memalign(i64** nonnull %15, i32 32, i32 %3) %17 = icmp eq i32 %16, 0 br i1 %17, label LBL_6, label LBL_5 LBL_5: store i64 0, i64* %sv_0, align 8 br label LBL_6 LBL_6: %18 = call i64* @memalign(i32 32, i32 %3) %19 = ptrtoint i64* %18 to i64 %sext = mul i64 %19, 4294967296 %20 = ashr exact i64 %sext, 32 store i64 %20, i64* %sv_0, align 8 %21 = call i64* @malloc(i32 %3) %22 = ptrtoint i64* %21 to i64 store i64 %22, i64* %sv_0, align 8 store i64 %22, 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 %10, { 1, 0 } uselistorder i64 %6, { 2, 1, 0, 3 } uselistorder i64* %sv_0, { 1, 2, 3, 0, 4, 5, 6 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 3, 1 } uselistorder i64 32, { 1, 2, 0 } uselistorder i64* (i32)* @malloc, { 1, 0 } uselistorder i32 32, { 1, 2, 0 } uselistorder i32 1, { 1, 0 } uselistorder i64 %arg1, { 1, 0, 2 } uselistorder label LBL_7, { 3, 1, 2, 0 } }
0
BinRealVul
fw_cfg_add_string_15285
fw_cfg_add_string
define i64 @FUNC(i64* %arg1, i64 %arg2, i8* %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i8* %arg3 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = trunc i64 %arg2 to i16 %3 = call i32 @strlen(i8* %arg3) %4 = sext i32 %3 to i64 %5 = add nsw i64 %4, 1 %6 = call i64 @FUNC(i64 %0, i64 %5) %7 = call i64 @FUNC(i64 %1, i16 %2, i64 %6, i64 %5) ret i64 %7 }
1
BinRealVul
available_samples_15867
available_samples
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.in.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = and i64 %1, 4294967295 %4 = call i64 @FUNC(i64 %3) %5 = add i64 %2, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = ashr i32 %7, 31 %9 = zext i32 %7 to i64 %10 = zext i32 %8 to i64 %11 = mul i64 %10, 4294967296 %12 = or i64 %11, %9 %13 = and i64 %4, 4294967295 %14 = sdiv i64 %12, %13 %15 = call i64 @FUNC(i64 %3) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 store i64 %14, i64* %storemerge.in.reg2mem br i1 %17, label LBL_1, label LBL_2 LBL_1: %18 = trunc i64 %14 to i32 %19 = add i64 %2, 8 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = zext i32 %21 to i64 %23 = call i64 @FUNC(i64 %22) %24 = ashr i32 %18, 31 %25 = and i64 %14, 4294967295 %26 = zext i32 %24 to i64 %27 = mul i64 %26, 4294967296 %28 = or i64 %27, %25 %29 = and i64 %23, 4294967295 %30 = sdiv i64 %28, %29 store i64 %30, i64* %storemerge.in.reg2mem br label LBL_2 LBL_2: %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem %storemerge = and i64 %storemerge.in.reload, 4294967295 ret i64 %storemerge uselistorder i64 %14, { 1, 2, 0 } uselistorder i64 %3, { 1, 0 } uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
smp_proc_master_id_6750
smp_proc_master_id
define i64 @FUNC(i8* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i16 %storemerge.reg2mem = alloca i64 %2 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %sv_1 = alloca i16, align 2 %3 = load i16, i16* %1 %4 = call i64 @FUNC(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0)) %5 = trunc i64 %2 to i8 %6 = icmp ult i8 %5, 11 br i1 %6, label LBL_1, label LBL_2 LBL_1: %7 = call i64 @FUNC(i64 1397638484, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0)) %8 = urem i64 %2, 256 %9 = call i64 @FUNC(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64 %8) store i64 %9, i64* %storemerge.reg2mem br label LBL_6 LBL_2: %10 = ptrtoint i64* %arg2 to i64 %11 = ptrtoint i8* %arg1 to i64 %12 = call i64 @FUNC(i64 %11, i64 1, i64 1) %13 = zext i16 %3 to i64 %14 = call i64 @FUNC(i64 %13, i64 %10) %15 = call i64 @FUNC(i64* nonnull %sv_0, i64 %10, i64 8) %16 = add i64 %11, 19 %17 = inttoptr i64 %16 to i8* %18 = load i8, i8* %17, align 1 %19 = urem i8 %18, 2 %20 = icmp eq i8 %19, 0 br i1 %20, label LBL_5, label LBL_3 LBL_3: %21 = add i64 %11, 20 %22 = inttoptr i64 %21 to i8* %23 = load i8, i8* %22, align 1 %24 = urem i8 %23, 2 %25 = icmp eq i8 %24, 0 br i1 %25, label LBL_5, label LBL_4 LBL_4: %26 = add i64 %11, 21 %27 = call i64 @FUNC(i64 %26, i64 1, i16* nonnull %sv_1, i64 1) br label LBL_5 LBL_5: %28 = call i64 @FUNC(i64 %11, i64 0) store i64 %28, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %11, { 0, 3, 2, 1, 4 } uselistorder i64 %10, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 1, { 1, 0, 3, 2, 4 } }
0
BinRealVul
v410_decode_frame_18763
v410_decode_frame
define i64 @FUNC(i32* %arg1, i64* %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %.pre-phi16.reg2mem = alloca i64 %sv_0.15.reg2mem = alloca i64 %sv_1.06.reg2mem = alloca i64 %sv_2.08.reg2mem = alloca i64 %sv_3.010.reg2mem = alloca i64 %storemerge12.reg2mem = alloca i32 %.reg2mem25 = alloca i32 %.reg2mem23 = alloca i32 %sv_0.0.lcssa.reg2mem = alloca i64 %.reg2mem21 = alloca i32 %.reg2mem19 = alloca i32 %sv_0.03.reg2mem = alloca i64 %storemerge24.reg2mem = alloca i32 %.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* %arg4 to i64 %5 = ptrtoint i32* %arg1 to i64 %6 = add i64 %4, 8 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = add i64 %5, 4 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = trunc i64 %3 to i32 %13 = mul i32 %12, 4 %14 = mul i32 %13, %11 %15 = icmp ult i32 %8, %14 br i1 %15, label LBL_1, label LBL_2 LBL_1: %16 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i32 %11, i64 %2, i64 %1) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_12 LBL_2: %17 = add i64 %5, 16 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = add i64 %19, 36 %21 = inttoptr i64 %20 to i32* store i32 0, i32* %21, align 4 %22 = call i64 @FUNC(i64 %5, i64 %19) %23 = trunc i64 %22 to i32 %24 = icmp slt i32 %23, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_4, label LBL_3 LBL_3: %26 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_1, i64 0, i64 0), i32 %11, i64 %2, i64 %1) store i64 4294967284, i64* %rax.0.reg2mem br label LBL_12 LBL_4: %27 = add i64 %19, 40 %28 = inttoptr i64 %27 to i32* store i32 1, i32* %28, align 4 %29 = add i64 %19, 44 %30 = inttoptr i64 %29 to i32* store i32 1, i32* %30, align 4 %31 = inttoptr i64 %19 to i64* %32 = add i64 %19, 8 %33 = inttoptr i64 %32 to i64* %34 = add i64 %19, 16 %35 = inttoptr i64 %34 to i64* %36 = load i32, i32* %10, align 4 %37 = icmp eq i32 %36, 0 br i1 %37, label LBL_4.LBL_11_crit_edge, label LBL_6 LBL_5: %.pre14 = add i64 %19, 24 %.pre15 = add i64 %19, 32 store i64 %.pre15, i64* %.pre-phi16.reg2mem store i64 %.pre14, i64* %.pre-phi.reg2mem br label LBL_11 LBL_6: %38 = bitcast i64* %rdi to i32* %39 = load i64, i64* %35, align 8 %40 = load i64, i64* %33, align 8 %41 = load i64, i64* %31, align 8 %42 = add i64 %19, 24 %43 = inttoptr i64 %42 to i32* %44 = add i64 %19, 28 %45 = inttoptr i64 %44 to i32* %46 = add i64 %19, 32 %47 = inttoptr i64 %46 to i32* %.pre = load i32, i32* %38, align 8 store i32 %36, i32* %.reg2mem23 store i32 %.pre, i32* %.reg2mem25 store i32 0, i32* %storemerge12.reg2mem store i64 %39, i64* %sv_3.010.reg2mem store i64 %40, i64* %sv_2.08.reg2mem store i64 %41, i64* %sv_1.06.reg2mem store i64 %4, i64* %sv_0.15.reg2mem br label LBL_10 LBL_7: %sv_0.03.reload = load i64, i64* %sv_0.03.reg2mem %storemerge24.reload = load i32, i32* %storemerge24.reg2mem %.reload = load i64, i64* %.reg2mem %48 = call i64 @FUNC(i64 %sv_0.03.reload) %49 = trunc i64 %48 to i32 %50 = udiv i64 %48, 4 %51 = mul i64 %.reload, 2 %52 = add i64 %51, %sv_2.08.reload %53 = trunc i64 %50 to i16 %54 = urem i16 %53, 1024 %55 = inttoptr i64 %52 to i16* store i16 %54, i16* %55, align 2 %56 = udiv i64 %48, 4096 %57 = add i64 %51, %sv_1.06.reload %58 = trunc i64 %56 to i16 %59 = urem i16 %58, 1024 %60 = inttoptr i64 %57 to i16* store i16 %59, i16* %60, align 2 %61 = udiv i32 %49, 4194304 %62 = add i64 %51, %sv_3.010.reload %63 = trunc i32 %61 to i16 %64 = inttoptr i64 %62 to i16* store i16 %63, i16* %64, align 2 %65 = add i64 %sv_0.03.reload, 4 %66 = add i32 %storemerge24.reload, 1 %67 = load i32, i32* %38, align 8 %68 = zext i32 %67 to i64 %69 = sext i32 %66 to i64 %70 = icmp slt i64 %69, %68 store i64 %69, i64* %.reg2mem store i32 %66, i32* %storemerge24.reg2mem store i64 %65, i64* %sv_0.03.reg2mem br i1 %70, label LBL_7, label LBL_8 LBL_8: %.pre13 = load i32, i32* %10, align 4 store i32 %.pre13, i32* %.reg2mem19 store i32 %67, i32* %.reg2mem21 store i64 %65, i64* %sv_0.0.lcssa.reg2mem br label LBL_9 LBL_9: %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem %.reload22 = load i32, i32* %.reg2mem21 %.reload20 = load i32, i32* %.reg2mem19 %71 = load i32, i32* %43, align 4 %72 = ashr i32 %71, 1 %73 = sext i32 %72 to i64 %74 = mul i64 %73, 2 %75 = add i64 %74, %sv_1.06.reload %76 = load i32, i32* %45, align 4 %77 = ashr i32 %76, 1 %78 = sext i32 %77 to i64 %79 = mul i64 %78, 2 %80 = add i64 %79, %sv_2.08.reload %81 = load i32, i32* %47, align 4 %82 = ashr i32 %81, 1 %83 = sext i32 %82 to i64 %84 = mul i64 %83, 2 %85 = add i64 %84, %sv_3.010.reload %86 = add i32 %storemerge12.reload, 1 %87 = zext i32 %.reload20 to i64 %88 = sext i32 %86 to i64 %89 = icmp slt i64 %88, %87 store i32 %.reload20, i32* %.reg2mem23 store i32 %.reload22, i32* %.reg2mem25 store i32 %86, i32* %storemerge12.reg2mem store i64 %85, i64* %sv_3.010.reg2mem store i64 %80, i64* %sv_2.08.reg2mem store i64 %75, i64* %sv_1.06.reg2mem store i64 %sv_0.0.lcssa.reload, i64* %sv_0.15.reg2mem store i64 %46, i64* %.pre-phi16.reg2mem store i64 %42, i64* %.pre-phi.reg2mem br i1 %89, label LBL_10, label LBL_11 LBL_10: %sv_0.15.reload = load i64, i64* %sv_0.15.reg2mem %sv_1.06.reload = load i64, i64* %sv_1.06.reg2mem %sv_2.08.reload = load i64, i64* %sv_2.08.reg2mem %sv_3.010.reload = load i64, i64* %sv_3.010.reg2mem %storemerge12.reload = load i32, i32* %storemerge12.reg2mem %.reload26 = load i32, i32* %.reg2mem25 %.reload24 = load i32, i32* %.reg2mem23 %90 = icmp eq i32 %.reload26, 0 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge24.reg2mem store i64 %sv_0.15.reload, i64* %sv_0.03.reg2mem store i32 %.reload24, i32* %.reg2mem19 store i32 0, i32* %.reg2mem21 store i64 %sv_0.15.reload, i64* %sv_0.0.lcssa.reg2mem br i1 %90, label LBL_9, label LBL_7 LBL_11: %91 = ptrtoint i64* %arg2 to i64 %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %.pre-phi16.reload = load i64, i64* %.pre-phi16.reg2mem %92 = bitcast i64* %arg3 to i32* store i32 1, i32* %92, align 4 %93 = load i64, i64* %31, align 8 %94 = load i64, i64* %33, align 8 store i64 %93, i64* %arg2, align 8 %95 = add i64 %91, 8 %96 = inttoptr i64 %95 to i64* store i64 %94, i64* %96, align 8 %97 = load i64, i64* %35, align 8 %98 = inttoptr i64 %.pre-phi.reload to i64* %99 = load i64, i64* %98, align 8 %100 = add i64 %91, 16 %101 = inttoptr i64 %100 to i64* store i64 %97, i64* %101, align 8 %102 = add i64 %91, 24 %103 = inttoptr i64 %102 to i64* store i64 %99, i64* %103, align 8 %104 = inttoptr i64 %.pre-phi16.reload to i64* %105 = load i64, i64* %104, align 8 %106 = inttoptr i64 %27 to i64* %107 = load i64, i64* %106, align 8 %108 = add i64 %91, 32 %109 = inttoptr i64 %108 to i64* store i64 %105, i64* %109, align 8 %110 = add i64 %91, 40 %111 = inttoptr i64 %110 to i64* store i64 %107, i64* %111, align 8 %112 = load i32, i32* %7, align 4 %113 = zext i32 %112 to i64 store i64 %113, 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_0.15.reload, { 1, 0 } uselistorder i64 %51, { 2, 1, 0 } uselistorder i32* %38, { 1, 0 } uselistorder i64 %19, { 2, 3, 4, 0, 1, 5, 7, 6, 8, 9, 10, 11 } uselistorder i32 %11, { 1, 2, 0 } uselistorder i64 %5, { 0, 1, 4, 2, 3 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 2, 0 } uselistorder i32* %storemerge24.reg2mem, { 1, 2, 0 } uselistorder i64* %sv_0.03.reg2mem, { 1, 2, 0 } uselistorder i32* %.reg2mem19, { 1, 0, 2 } uselistorder i32* %.reg2mem21, { 1, 0, 2 } uselistorder i64* %sv_0.0.lcssa.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 32, { 2, 1, 0, 3 } uselistorder i64 24, { 2, 1, 0, 3 } uselistorder i1 false, { 1, 0 } uselistorder i32 0, { 1, 2, 5, 0, 6, 7, 8, 3, 4 } uselistorder i64 (i64, i64, i8*, i32, i64, i64)* @av_log, { 1, 0 } uselistorder i64 4, { 1, 0, 2, 3 } uselistorder label LBL_10, { 1, 0 } }
1
BinRealVul
stbl_AppendTime_12385
stbl_AppendTime
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 32 %sext2 = mul i64 %arg3, 4294967296 %2 = ashr exact i64 %sext2, 32 %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false %spec.select = select i1 %5, i64 %2, i64 1 %6 = add i64 %0, 8 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_3, label LBL_1 LBL_1: %10 = add i32 %8, -1 %11 = zext i32 %10 to i64 %12 = mul i64 %11, 8 %13 = add i64 %12, %0 %14 = add i64 %13, 4 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = trunc i64 %1 to i32 %18 = icmp eq i32 %16, %17 %19 = icmp eq i1 %18, false br i1 %19, label LBL_3, label LBL_2 LBL_2: %20 = inttoptr i64 %13 to i32* %21 = load i32, i32* %20, align 4 %22 = trunc i64 %spec.select to i32 %23 = add i32 %21, %22 store i32 %23, i32* %20, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_8 LBL_3: %24 = add i64 %0, 12 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = icmp eq i32 %8, %26 %28 = icmp eq i1 %27, false store i32 %8, i32* %.reg2mem store i64 %0, i64* %rdi.0.reg2mem br i1 %28, label LBL_6, label LBL_4 LBL_4: %29 = add i32 %26, 10 store i32 %29, i32* %25, align 4 %30 = zext i32 %29 to i64 %31 = mul i64 %30, 8 %32 = call i64 @FUNC(i64 %0, i64 %31) store i64 %32, i64* %arg1, align 8 %33 = icmp eq i64* %arg1, null %34 = icmp eq i1 %33, false store i64 1, i64* %rax.0.reg2mem br i1 %34, label LBL_5, label LBL_8 LBL_5: %35 = load i32, i32* %25, align 4 %36 = load i32, i32* %7, align 4 %37 = sub i32 %35, %36 %38 = mul i32 %37, 8 %39 = zext i32 %36 to i64 %40 = mul i64 %39, 8 %41 = add i64 %40, %0 %42 = inttoptr i64 %41 to i64* %43 = call i64* @memset(i64* %42, i32 0, i32 %38) %.pre = load i32, i32* %7, align 4 store i32 %.pre, i32* %.reg2mem store i64 %41, i64* %rdi.0.reg2mem br label LBL_6 LBL_6: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %.reload = load i32, i32* %.reg2mem %44 = zext i32 %.reload to i64 %45 = mul i64 %44, 8 %46 = add i64 %45, %rdi.0.reload %47 = trunc i64 %spec.select to i32 %48 = inttoptr i64 %46 to i32* store i32 %47, i32* %48, align 4 %49 = load i32, i32* %7, align 4 %50 = zext i32 %49 to i64 %51 = mul i64 %50, 8 %52 = trunc i64 %1 to i32 %53 = add i64 %rdi.0.reload, 4 %54 = add i64 %53, %51 %55 = inttoptr i64 %54 to i32* store i32 %52, i32* %55, align 4 %56 = load i32, i32* %7, align 4 %57 = add i32 %56, 1 store i32 %57, i32* %7, align 4 %58 = add i64 %0, 16 %59 = inttoptr i64 %58 to i32* %60 = load i32, i32* %59, align 4 %61 = icmp ult i32 %60, %52 store i64 0, i64* %rax.0.reg2mem br i1 %61, label LBL_7, label LBL_8 LBL_7: store i32 %52, i32* %59, align 4 store i64 0, 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 %52, { 1, 0, 2 } uselistorder i32* %7, { 3, 2, 4, 0, 1, 5 } uselistorder i64 %1, { 1, 0 } uselistorder i64 %0, { 4, 1, 3, 0, 5, 2, 6 } }
1
BinRealVul
tee_user_mem_alloc_11989
tee_user_mem_alloc
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = trunc i64 %arg2 to i32 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = add i32 %0, -1 %3 = icmp ult i32 %2, 2 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %5 = trunc i64 %1 to i32 %6 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %4, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), i32 %5) store i64 0, i64* %rax.0.reg2mem br label LBL_7 LBL_2: %7 = trunc i64 %arg1 to i32 %8 = call i64* @malloc(i32 %7) %9 = icmp eq i64* %8, null %10 = icmp eq i1 %9, false store i64 0, i64* %rax.0.reg2mem br i1 %10, label LBL_3, label LBL_7 LBL_3: %11 = trunc i64 %1 to i32 %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* @memset(i64* %8, i32 0, i32 %7) br label LBL_5 LBL_5: %15 = ptrtoint i64* %8 to i64 %16 = icmp eq i32 %11, 2 %17 = icmp eq i1 %16, false store i64 %15, i64* %rax.0.reg2mem br i1 %17, label LBL_7, label LBL_6 LBL_6: %18 = call i64* @memset(i64* %8, i32 187, i32 %7) store i64 %15, 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 %15, { 1, 0 } uselistorder i64* %8, { 0, 3, 1, 2 } uselistorder i32 %7, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 } uselistorder i32 1, { 1, 0 } uselistorder label LBL_7, { 1, 0, 2, 3 } }
1
BinRealVul
m68k_cpu_initfn_17024
m68k_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 4198725) %5 = call i64 @FUNC() %6 = trunc i64 %5 to i8 %7 = icmp eq i8 %6, 0 store i64 %5, i64* %rax.0.reg2mem br i1 %7, label LBL_3, label LBL_1 LBL_1: %8 = load i8, i8* bitcast (i32* @gv_0 to i8*), align 4 %9 = icmp eq i8 %8, 1 store i64 0, i64* %rax.0.reg2mem br i1 %9, label LBL_3, label LBL_2 LBL_2: store i8 1, i8* bitcast (i32* @gv_0 to i8*), align 4 %10 = call i64 @FUNC() store i64 %10, 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 1, { 1, 0 } uselistorder i8* bitcast (i32* @gv_0 to i8*), { 1, 0 } }
1
BinRealVul
block_job_resume_all_16619
block_job_resume_all
define i64 @FUNC() local_unnamed_addr { LBL_0: %.lcssa.reg2mem = alloca i64 %.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 0) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 %0, i64* %.reg2mem store i64 %0, i64* %.lcssa.reg2mem br i1 %2, label LBL_1, label LBL_2 LBL_1: %.reload = load i64, i64* %.reg2mem %3 = add i64 %.reload, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %5) %7 = call i64 @FUNC(i64 %6) %8 = call i64 @FUNC(i64 %.reload) %9 = call i64 @FUNC(i64 %6) %10 = call i64 @FUNC(i64 %.reload) %11 = icmp eq i64 %10, 0 %12 = icmp eq i1 %11, false store i64 %10, i64* %.reg2mem store i64 %10, i64* %.lcssa.reg2mem br i1 %12, label LBL_1, label LBL_2 LBL_2: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem ret i64 %.lcssa.reload uselistorder i64 %.reload, { 2, 1, 0 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i1 false, { 1, 0 } uselistorder i64 (i64)* @block_job_next, { 1, 0 } uselistorder i32 1, { 4, 3, 2, 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
kvm_set_cr4_10426
kvm_set_cr4
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 = call i64 @FUNC(i64 %2) %4 = and i64 %arg2, 4294967295 %5 = icmp eq i64 %4, 0 store i64 1, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_21 LBL_1: %6 = call i64 @FUNC(i64 %2) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false %10 = trunc i64 %arg2 to i8 %11 = icmp sgt i8 %10, -1 %or.cond = or i1 %11, %9 store i64 1, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_2, label LBL_21 LBL_2: %12 = call i64 @FUNC(i64 %2) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false %16 = and i64 %arg2, 8 %17 = icmp eq i64 %16, 0 %or.cond5 = or i1 %17, %15 store i64 1, i64* %rax.0.reg2mem br i1 %or.cond5, label LBL_3, label LBL_21 LBL_3: %18 = call i64 @FUNC(i64 %2) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 0 %21 = icmp eq i1 %20, false %22 = and i64 %arg2, 16 %23 = icmp eq i64 %22, 0 %or.cond7 = or i1 %23, %21 store i64 1, i64* %rax.0.reg2mem br i1 %or.cond7, label LBL_4, label LBL_21 LBL_4: %24 = call i64 @FUNC(i64 %2) %25 = trunc i64 %24 to i32 %26 = icmp eq i32 %25, 0 %27 = icmp eq i1 %26, false %28 = and i64 %arg2, 32 %29 = icmp eq i64 %28, 0 %or.cond9 = or i1 %29, %27 store i64 1, i64* %rax.0.reg2mem br i1 %or.cond9, label LBL_5, label LBL_21 LBL_5: %30 = call i64 @FUNC(i64 %2) %31 = trunc i64 %30 to i32 %32 = icmp eq i32 %31, 0 br i1 %32, label LBL_7, label LBL_6 LBL_6: %33 = and i64 %arg2, 4 %34 = icmp eq i64 %33, 0 %35 = icmp eq i1 %34, false store i64 1, i64* %rax.0.reg2mem br i1 %35, label LBL_10, label LBL_21 LBL_7: %36 = call i64 @FUNC(i64 %2) %37 = trunc i64 %36 to i32 %38 = icmp eq i32 %37, 0 %39 = and i64 %arg2, 4 %40 = icmp eq i64 %39, 0 %or.cond11 = or i1 %40, %38 br i1 %or.cond11, label LBL_10, label LBL_8 LBL_8: %41 = xor i64 %3, %arg2 %42 = urem i64 %41, 32 %43 = icmp eq i64 %42, 0 br i1 %43, label LBL_10, label LBL_9 LBL_9: %44 = call i64 @FUNC(i64 %2) %45 = and i64 %44, 4294967295 %46 = and i64 %1, 4294967295 %47 = call i64 @FUNC(i64 %2, i64 %46, i64 %45) %48 = trunc i64 %47 to i32 %49 = icmp eq i32 %48, 0 %50 = icmp eq i1 %49, false store i64 1, i64* %rax.0.reg2mem br i1 %50, label LBL_10, label LBL_21 LBL_10: %51 = trunc i64 %3 to i32 %52 = and i64 %arg2, 64 %53 = icmp eq i64 %52, 0 br i1 %53, label LBL_15, label LBL_11 LBL_11: %54 = and i32 %51, 64 %55 = icmp eq i32 %54, 0 %56 = icmp eq i1 %55, false br i1 %56, label LBL_15, label LBL_12 LBL_12: %57 = call i64 @FUNC(i64 %2) %58 = trunc i64 %57 to i32 %59 = icmp eq i32 %58, 0 %60 = icmp eq i1 %59, false store i64 1, i64* %rax.0.reg2mem br i1 %60, label LBL_13, label LBL_21 LBL_13: %61 = call i64 @FUNC(i64 %2) %62 = urem i64 %61, 4096 %63 = icmp eq i64 %62, 0 %64 = icmp eq i1 %63, false store i64 1, i64* %rax.0.reg2mem br i1 %64, label LBL_21, label LBL_14 LBL_14: %65 = call i64 @FUNC(i64 %2) %66 = trunc i64 %65 to i32 %67 = icmp eq i32 %66, 0 %68 = icmp eq i1 %67, false store i64 1, i64* %rax.0.reg2mem br i1 %68, label LBL_15, label LBL_21 LBL_15: %69 = trunc i64 %2 to i32 %70 = icmp eq i32 %69, 0 store i64 1, i64* %rax.0.reg2mem br i1 %70, label LBL_16, label LBL_21 LBL_16: %71 = xor i64 %3, %arg2 %72 = urem i64 %71, 32 %73 = icmp eq i64 %72, 0 %74 = icmp eq i1 %73, false br i1 %74, label LBL_18, label LBL_17 LBL_17: %75 = icmp eq i1 %53, false %76 = and i32 %51, 64 %77 = icmp eq i32 %76, 0 %or.cond13 = or i1 %75, %77 br i1 %or.cond13, label LBL_19, label LBL_18 LBL_18: %78 = call i64 @FUNC(i64 %2) br label LBL_19 LBL_19: %79 = trunc i64 %71 to i8 %80 = icmp sgt i8 %79, -1 store i64 0, i64* %rax.0.reg2mem br i1 %80, label LBL_21, label LBL_20 LBL_20: %81 = call i64 @FUNC(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 i64 %71, { 1, 0 } uselistorder i64 %3, { 0, 2, 1 } uselistorder i64 %2, { 5, 6, 7, 2, 3, 4, 1, 0, 8, 9, 10, 11, 12, 13, 14 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 5, 4, 6, 7, 8, 9, 10, 11, 12, 13 } uselistorder i64 (i64)* @kvm_read_cr3, { 1, 0 } uselistorder i64 (i64)* @is_long_mode, { 1, 0 } uselistorder i8 -1, { 1, 0 } uselistorder i32 0, { 0, 2, 3, 4, 1, 5, 6, 7, 8, 9, 10, 11 } uselistorder i64 1, { 0, 2, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18 } uselistorder i64 %arg2, { 0, 8, 1, 2, 7, 3, 4, 5, 6, 9 } uselistorder label LBL_21, { 1, 0, 2, 4, 3, 5, 6, 7, 8, 9, 10, 11, 12 } }
0
BinRealVul
vmmouse_class_initfn_1345
vmmouse_class_initfn
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 4198662, i64* %arg1, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* store i32 1, i32* %2, align 4 %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i64* store i64 4198669, i64* %4, align 8 %5 = add i64 %0, 24 %6 = inttoptr i64 %5 to i64* store i64 ptrtoint (i64* @gv_0 to i64), i64* %6, align 8 %7 = load i64, i64* @gv_1, align 8 %8 = add i64 %0, 32 %9 = inttoptr i64 %8 to i64* store i64 %7, i64* %9, align 8 ret i64 %0 uselistorder i64 %0, { 1, 0, 2, 3, 4 } }
0
BinRealVul
php_escape_shell_arg_3623
php_escape_shell_arg
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %sv_1.3.reg2mem = alloca i32 %sv_2.0.lcssa.reg2mem = alloca i32 %sv_2.02.reg2mem = alloca i32 %sv_3.03.reg2mem = alloca i32 %sv_1.2.lcssa11.reg2mem = alloca i32 %sv_4.0.reg2mem = alloca i32 %sv_1.1.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %.reg2mem = alloca i8 %sv_1.25.reg2mem = alloca i32 %storemerge7.reg2mem = alloca i32 %0 = inttoptr i64 %arg1 to i8* %1 = call i32 @strlen(i8* %0) %2 = sext i32 %1 to i64 %3 = call i64 @FUNC(i64 4, i64 %2, i64 2, i64 0) %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = inttoptr i64 %5 to i8* store i8 34, i8* %6, align 1 %7 = load i64, i64* %4, align 8 %8 = add i64 %7, 1 %9 = inttoptr i64 %8 to i8* store i8 39, i8* %9, align 1 %10 = icmp sgt i32 %1, 0 store i32 0, i32* %storemerge7.reg2mem store i32 2, i32* %sv_1.25.reg2mem store i32 2, i32* %sv_1.2.lcssa11.reg2mem br i1 %10, label LBL_1, label LBL_14 LBL_1: %sv_1.25.reload = load i32, i32* %sv_1.25.reg2mem %storemerge7.reload = load i32, i32* %storemerge7.reg2mem %11 = sub i32 %1, %storemerge7.reload %12 = sext i32 %11 to i64 %13 = sext i32 %storemerge7.reload to i64 %14 = add i64 %13, %arg1 %15 = call i64 @FUNC(i64 %14, i64 %12) %16 = trunc i64 %15 to i32 %17 = icmp slt i32 %16, 0 store i32 %sv_1.25.reload, i32* %sv_1.1.reg2mem store i32 %storemerge7.reload, i32* %sv_4.0.reg2mem br i1 %17, label LBL_12, label LBL_2 LBL_2: %18 = icmp slt i32 %16, 2 br i1 %18, label LBL_4, label LBL_3 LBL_3: %19 = load i64, i64* %4, align 8 %20 = sext i32 %sv_1.25.reload to i64 %21 = add i64 %19, %20 %22 = inttoptr i64 %21 to i64* %23 = inttoptr i64 %14 to i64* %24 = call i64* @memcpy(i64* %22, i64* %23, i32 %16) %25 = add i32 %sv_1.25.reload, %16 %26 = add i32 %storemerge7.reload, -1 %27 = add i32 %26, %16 store i32 %25, i32* %sv_1.1.reg2mem store i32 %27, i32* %sv_4.0.reg2mem br label LBL_12 LBL_4: %28 = inttoptr i64 %14 to i8* %29 = load i8, i8* %28, align 1 %30 = icmp eq i8 %29, 39 br i1 %30, label LBL_10, label LBL_5 LBL_5: %31 = icmp sgt i8 %29, 39 store i8 %29, i8* %.reg2mem store i32 %sv_1.25.reload, i32* %sv_1.0.reg2mem br i1 %31, label LBL_11, label LBL_6 LBL_6: %32 = icmp sgt i8 %29, 34 br i1 %32, label LBL_8, label LBL_7 LBL_7: %33 = icmp sgt i8 %29, 32 store i8 %29, i8* %.reg2mem store i32 %sv_1.25.reload, i32* %sv_1.0.reg2mem br i1 %33, label LBL_9, label LBL_11 LBL_8: %34 = icmp eq i8 %29, 37 %35 = icmp eq i1 %34, false store i8 %29, i8* %.reg2mem store i32 %sv_1.25.reload, i32* %sv_1.0.reg2mem br i1 %35, label LBL_11, label LBL_9 LBL_9: %36 = load i64, i64* %4, align 8 %37 = add i32 %sv_1.25.reload, 1 %38 = sext i32 %sv_1.25.reload to i64 %39 = add i64 %36, %38 %40 = inttoptr i64 %39 to i8* store i8 32, i8* %40, align 1 store i32 %37, i32* %sv_1.1.reg2mem store i32 %storemerge7.reload, i32* %sv_4.0.reg2mem br label LBL_12 LBL_10: %41 = load i64, i64* %4, align 8 %42 = add i32 %sv_1.25.reload, 1 %43 = sext i32 %sv_1.25.reload to i64 %44 = add i64 %41, %43 %45 = inttoptr i64 %44 to i8* store i8 39, i8* %45, align 1 %46 = load i64, i64* %4, align 8 %47 = add i32 %sv_1.25.reload, 2 %48 = sext i32 %42 to i64 %49 = add i64 %46, %48 %50 = inttoptr i64 %49 to i8* store i8 92, i8* %50, align 1 %51 = load i64, i64* %4, align 8 %52 = add i32 %sv_1.25.reload, 3 %53 = sext i32 %47 to i64 %54 = add i64 %51, %53 %55 = inttoptr i64 %54 to i8* store i8 39, i8* %55, align 1 %.pre = load i8, i8* %28, align 1 store i8 %.pre, i8* %.reg2mem store i32 %52, i32* %sv_1.0.reg2mem br label LBL_11 LBL_11: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %.reload = load i8, i8* %.reg2mem %56 = load i64, i64* %4, align 8 %57 = add i32 %sv_1.0.reload, 1 %58 = sext i32 %sv_1.0.reload to i64 %59 = add i64 %56, %58 %60 = inttoptr i64 %59 to i8* store i8 %.reload, i8* %60, align 1 store i32 %57, i32* %sv_1.1.reg2mem store i32 %storemerge7.reload, i32* %sv_4.0.reg2mem br label LBL_12 LBL_12: %sv_4.0.reload = load i32, i32* %sv_4.0.reg2mem %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %61 = add i32 %sv_4.0.reload, 1 %62 = icmp sgt i32 %1, %61 store i32 %61, i32* %storemerge7.reg2mem store i32 %sv_1.1.reload, i32* %sv_1.25.reg2mem br i1 %62, label LBL_1, label LBL_13 LBL_13: %63 = icmp slt i32 %sv_1.1.reload, 1 store i32 %sv_1.1.reload, i32* %sv_1.2.lcssa11.reg2mem store i32 %sv_1.1.reload, i32* %sv_1.3.reg2mem br i1 %63, label LBL_20, label LBL_14 LBL_14: %sv_1.2.lcssa11.reload = load i32, i32* %sv_1.2.lcssa11.reg2mem %64 = load i64, i64* %4, align 8 %65 = sext i32 %sv_1.2.lcssa11.reload to i64 %66 = add i64 %64, %65 %67 = add i64 %66, -1 %68 = inttoptr i64 %67 to i8* %69 = load i8, i8* %68, align 1 %70 = icmp eq i8 %69, 92 %71 = icmp eq i1 %70, false store i32 %sv_1.2.lcssa11.reload, i32* %sv_1.3.reg2mem br i1 %71, label LBL_20, label LBL_15 LBL_15: %sv_3.01 = add i32 %sv_1.2.lcssa11.reload, -1 store i32 %sv_3.01, i32* %sv_3.03.reg2mem store i32 0, i32* %sv_2.02.reg2mem br label LBL_17 LBL_16: %72 = add nuw i32 %sv_2.02.reload, 1 %sv_3.0 = add i32 %sv_3.03.reload, -1 %73 = icmp slt i32 %sv_3.0, 0 store i32 %sv_3.0, i32* %sv_3.03.reg2mem store i32 %72, i32* %sv_2.02.reg2mem store i32 %72, i32* %sv_2.0.lcssa.reg2mem br i1 %73, label LBL_18, label LBL_17 LBL_17: %sv_2.02.reload = load i32, i32* %sv_2.02.reg2mem %sv_3.03.reload = load i32, i32* %sv_3.03.reg2mem %74 = sext i32 %sv_3.03.reload to i64 %75 = add i64 %64, %74 %76 = inttoptr i64 %75 to i8* %77 = load i8, i8* %76, align 1 %78 = icmp eq i8 %77, 92 store i32 %sv_2.02.reload, i32* %sv_2.0.lcssa.reg2mem br i1 %78, label LBL_16, label LBL_18 LBL_18: %sv_2.0.lcssa.reload = load i32, i32* %sv_2.0.lcssa.reg2mem %79 = urem i32 %sv_2.0.lcssa.reload, 2 %80 = icmp eq i32 %79, 0 store i32 %sv_1.2.lcssa11.reload, i32* %sv_1.3.reg2mem br i1 %80, label LBL_20, label LBL_19 LBL_19: %81 = add i32 %sv_1.2.lcssa11.reload, 1 %82 = inttoptr i64 %66 to i8* store i8 92, i8* %82, align 1 store i32 %81, i32* %sv_1.3.reg2mem br label LBL_20 LBL_20: %83 = mul i32 %1, 4 %84 = or i32 %83, 3 %85 = sext i32 %84 to i64 %sv_1.3.reload = load i32, i32* %sv_1.3.reg2mem %86 = load i64, i64* %4, align 8 %87 = add i32 %sv_1.3.reload, 1 %88 = sext i32 %sv_1.3.reload to i64 %89 = add i64 %86, %88 %90 = inttoptr i64 %89 to i8* store i8 34, i8* %90, align 1 %91 = load i64, i64* %4, align 8 %92 = add i32 %sv_1.3.reload, 2 %93 = sext i32 %87 to i64 %94 = add i64 %91, %93 %95 = inttoptr i64 %94 to i8* store i8 39, i8* %95, align 1 %96 = load i64, i64* %4, align 8 %97 = sext i32 %92 to i64 %98 = add i64 %96, %97 %99 = inttoptr i64 %98 to i8* store i8 0, i8* %99, align 1 %100 = sub nsw i64 %85, %97 %101 = icmp ult i64 %100, 4097 store i64 %3, i64* %sv_0.0.reg2mem br i1 %101, label LBL_22, label LBL_21 LBL_21: %102 = call i64 @FUNC(i64 %3, i64 %97, i64 0) store i64 %102, i64* %sv_0.0.reg2mem br label LBL_22 LBL_22: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %103 = add i64 %sv_0.0.reload, 8 %104 = inttoptr i64 %103 to i64* store i64 %97, i64* %104, align 8 ret i64 %sv_0.0.reload uselistorder i64 %sv_0.0.reload, { 1, 0 } uselistorder i64 %97, { 2, 1, 3, 0 } uselistorder i32 %sv_1.2.lcssa11.reload, { 2, 0, 4, 1, 3 } uselistorder i8 %29, { 1, 3, 0, 4, 5, 2, 6, 7 } uselistorder i32 %16, { 1, 0, 2, 3, 4 } uselistorder i32 %storemerge7.reload, { 1, 0, 3, 2, 5, 4 } uselistorder i32 %sv_1.25.reload, { 9, 8, 7, 6, 5, 10, 2, 1, 3, 11, 4, 0 } uselistorder i64* %4, { 1, 2, 3, 0, 6, 7, 8, 9, 5, 4, 10, 11 } uselistorder i64 %3, { 1, 0, 2 } uselistorder i32 %1, { 0, 2, 3, 1, 4 } uselistorder i32* %storemerge7.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.25.reg2mem, { 2, 0, 1 } uselistorder i8* %.reg2mem, { 0, 4, 2, 1, 3 } uselistorder i32* %sv_1.0.reg2mem, { 0, 4, 2, 1, 3 } uselistorder i32* %sv_1.1.reg2mem, { 0, 3, 2, 1, 4 } uselistorder i32* %sv_4.0.reg2mem, { 0, 3, 2, 1, 4 } uselistorder i32* %sv_1.2.lcssa11.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_2.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32 3, { 1, 0 } uselistorder i8 92, { 2, 0, 1, 3 } uselistorder i1 false, { 1, 0 } uselistorder i8 32, { 1, 0 } uselistorder i32 -1, { 1, 0, 2 } uselistorder i32 2, { 5, 2, 3, 4, 0, 1 } uselistorder i32 0, { 3, 4, 0, 5, 1, 2 } uselistorder i8 39, { 2, 3, 4, 0, 1, 5 } uselistorder i64 1, { 1, 0 } uselistorder i8 34, { 1, 0, 2 } uselistorder i32 1, { 15, 16, 18, 17, 19, 14, 12, 13, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_17, { 1, 0 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_12, { 1, 2, 3, 0 } uselistorder label LBL_11, { 1, 2, 0, 3 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
cpu_tick_set_count_2960
cpu_tick_set_count
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = sub i64 0, %0 %2 = sub i64 %1, 1 %3 = and i64 %2, %arg2 %4 = trunc i64 %3 to i32 %5 = and i64 %0, %arg2 %6 = call i64 @FUNC(i64 0) %7 = add i64 %0, 32 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = zext i32 %9 to i64 %11 = call i64 @FUNC(i64 %3, i64 %10) %12 = sub i64 %6, %11 %13 = add i64 %0, 16 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = icmp eq i32 %15, 0 %17 = add i64 %0, 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = inttoptr i64 %19 to i8* %21 = select i1 %16, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0) %22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_2, i64 0, i64 0), i8* %20, i32 %4, i8* %21, i64* %arg1) %23 = icmp eq i64 %5, 0 %24 = icmp eq i1 %23, false %25 = zext i1 %24 to i32 store i32 %25, i32* %14, align 4 %26 = add i64 %0, 24 %27 = inttoptr i64 %26 to i64* store i64 %12, i64* %27, align 8 ret i64 %0 uselistorder i64 %3, { 1, 0 } uselistorder i64 %0, { 2, 3, 1, 4, 5, 6, 0 } uselistorder i64 32, { 1, 0 } }
0
BinRealVul
interpolate_refplane_2730
interpolate_refplane
define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rsi.0.reg2mem = alloca i64 %.reg2mem = alloca i64 %rsi.118.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg2 to i64 %sext = mul i64 %arg3, 4294967296 %1 = ashr exact i64 %sext, 29 %2 = add i64 %1, %0 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = ashr exact i64 %sext, 27 %6 = add i64 %0, 8 %7 = add i64 %5, %6 %8 = inttoptr i64 %7 to i64* store i64 %4, i64* %8, align 8 %9 = bitcast i64* %rdi to i32* %10 = load i32, i32* %9, align 8 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false store i64 0, i64* %rax.0.reg2mem br i1 %12, label LBL_1, label LBL_7 LBL_1: %13 = ashr exact i64 %sext, 30 %14 = add i64 %13, %0 %15 = add i64 %14, 24 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = zext i32 %17 to i64 %19 = trunc i64 %arg5 to i32 %20 = add i32 %19, 8 %21 = add nsw i64 %13, 24 %22 = add i64 %0, 104 store i64 1, i64* %indvars.iv.reg2mem store i64 %18, i64* %rsi.118.reg2mem br label LBL_2 LBL_2: %rsi.118.reload = load i64, i64* %rsi.118.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %23 = add nuw nsw i64 %13, %indvars.iv.reload %24 = mul i64 %23, 8 %25 = add i64 %22, %24 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = icmp eq i64 %27, 0 %29 = icmp eq i1 %28, false store i64 %27, i64* %.reg2mem store i64 %rsi.118.reload, i64* %rsi.0.reg2mem br i1 %29, label LBL_4, label LBL_3 LBL_3: %30 = add nsw i64 %rsi.118.reload, %21 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = mul i32 %32, %20 %34 = add i32 %33, 32 %35 = sext i32 %34 to i64 %36 = call i64 @FUNC(i64 %35) store i64 %36, i64* %26, align 8 store i64 %36, i64* %.reg2mem store i64 %indvars.iv.reload, i64* %rsi.0.reg2mem br label LBL_4 LBL_4: %.reload = load i64, i64* %.reg2mem %37 = icmp eq i64 %.reload, 0 %38 = icmp eq i1 %37, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %38, label LBL_5, label LBL_7 LBL_5: %rsi.0.reload = load i64, i64* %rsi.0.reg2mem %39 = add nsw i64 %rsi.0.reload, %21 %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 4 %42 = mul i32 %41, 4 %43 = sext i32 %42 to i64 %44 = add i64 %.reload, 16 %45 = add i64 %44, %43 %46 = add i64 %24, %6 %47 = inttoptr i64 %46 to i64* store i64 %45, i64* %47, align 8 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %48 = icmp ult i64 %indvars.iv.next, 4 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %indvars.iv.reload, i64* %rsi.118.reg2mem br i1 %48, label LBL_2, label LBL_6 LBL_6: %49 = add i64 %14, 200 %50 = inttoptr i64 %49 to i32* store i32 1, i32* %50, align 4 store i64 0, 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 %24, { 1, 0 } uselistorder i64 %indvars.iv.reload, { 1, 2, 0, 3 } uselistorder i64 %rsi.118.reload, { 1, 0 } uselistorder i64 %13, { 0, 2, 1 } uselistorder i64 %sext, { 2, 1, 0 } uselistorder i64 %0, { 0, 1, 3, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rsi.118.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 1, { 1, 0 } uselistorder label LBL_7, { 2, 0, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
rm_write_audio_2094
rm_write_audio
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %storemerge56.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg3, 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 = call i64 @FUNC(i64 %3) %8 = icmp eq i64 %7, 0 %9 = icmp eq i1 %8, false store i64 4294967284, i64* %storemerge.reg2mem br i1 %9, label LBL_1, label LBL_7 LBL_1: %10 = ptrtoint i64* %arg2 to i64 %11 = trunc i64 %1 to i32 %12 = urem i64 %arg4, 2 %13 = icmp eq i64 %12, 0 %14 = icmp eq i1 %13, false %15 = zext i1 %14 to i64 %16 = trunc i64 %3 to i32 %17 = call i64 @FUNC(i64 %2, i64 %2, i32 %16, i64 %15) %18 = icmp eq i32 %11, 1 %19 = icmp eq i1 %18, false br i1 %19, label LBL_5, label LBL_2 LBL_2: %20 = icmp sgt i32 %16, 0 store i32 0, i32* %storemerge56.reg2mem br i1 %20, label LBL_3, label LBL_4 LBL_3: %storemerge56.reload = load i32, i32* %storemerge56.reg2mem %21 = sext i32 %storemerge56.reload to i64 %22 = or i64 %21, 1 %23 = add i64 %22, %10 %24 = add i64 %7, %21 %25 = inttoptr i64 %23 to i8* %26 = load i8, i8* %25, align 1 %27 = inttoptr i64 %24 to i8* store i8 %26, i8* %27, align 1 %28 = add i64 %21, %10 %29 = add i64 %22, %7 %30 = inttoptr i64 %28 to i8* %31 = load i8, i8* %30, align 1 %32 = inttoptr i64 %29 to i8* store i8 %31, i8* %32, align 1 %33 = add i32 %storemerge56.reload, 2 %34 = icmp slt i32 %33, %16 store i32 %33, i32* %storemerge56.reg2mem br i1 %34, label LBL_3, label LBL_4 LBL_4: %35 = call i64 @FUNC(i64 %6, i64 %7, i32 %16) br label LBL_6 LBL_5: %36 = call i64 @FUNC(i64 %6, i64 %10, i32 %16) br label LBL_6 LBL_6: %37 = inttoptr i64 %4 to i32* %38 = load i32, i32* %37, align 4 %39 = add i32 %38, 1 store i32 %39, i32* %37, align 4 %40 = call i64 @FUNC(i64 %7) 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 %21, { 1, 0, 2 } uselistorder i32 %16, { 3, 2, 1, 0, 4 } uselistorder i64 %10, { 2, 0, 1 } uselistorder i64 %7, { 3, 2, 1, 0, 4 } uselistorder i64 %6, { 1, 0 } uselistorder i64 %2, { 1, 0, 2 } uselistorder i32* %storemerge56.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64, i32)* @avio_write, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
get_scene_score_2751
get_scene_score
define i128 @FUNC(i64* %arg1, i32* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %r9.1.reg2mem = alloca i64 %r8.1.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i128 %zf.0.in.reg2mem = alloca i32 %cf.0.reg2mem = alloca i1 %storemerge3.reg2mem = alloca i64 %r8.0.reg2mem = alloca i64 %2 = load i64, i64* %1 %3 = load i64, i64* %1 %4 = load i64, i64* %1 %5 = load i64, i64* %1 %6 = load i64, i64* %1 %7 = load i128, i128* %0 %8 = load i128, i128* %0 %9 = load i128, i128* %0 %10 = ptrtoint i64* %arg3 to i64 %11 = ptrtoint i32* %arg2 to i64 %12 = ptrtoint i64* %arg1 to i64 %13 = call i128 @FUNC(i128 %9, i128 %9) %14 = call i64 @FUNC(i128 %13) %15 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0), i64 %10, i64 %6, i64 %3, i64 %2) %16 = add i64 %11, 4 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = add i64 %10, 4 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = icmp eq i32 %18, %21 %23 = icmp eq i1 %22, false store i64 %14, i64* %sv_0.0.reg2mem br i1 %23, label LBL_8, label LBL_1 LBL_1: %24 = trunc i64 %5 to i32 %25 = trunc i64 %4 to i32 %26 = and i64 %5, 4294967295 %27 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0), i64 %26, i64 %6, i64 %3, i64 %2) %28 = icmp eq i32 %25, 8 %29 = icmp eq i1 %28, false %30 = add i64 %10, 16 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 br i1 %29, label LBL_3, label LBL_2 LBL_2: %33 = zext i32 %32 to i64 %34 = add i64 %10, 8 %35 = inttoptr i64 %34 to i64* %36 = load i64, i64* %35, align 8 %37 = add i64 %11, 16 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 %40 = add i64 %11, 8 %41 = inttoptr i64 %40 to i64* %42 = load i64, i64* %41, align 8 %43 = call i64 @FUNC(i64 %12, i64 %42, i32 %39, i64 %36, i32 %32, i32 %24) store i64 %33, i64* %r8.0.reg2mem store i64 %43, i64* %storemerge3.reg2mem br label LBL_4 LBL_3: %44 = icmp slt i32 %32, 0 %45 = zext i1 %44 to i32 %46 = add i32 %32, %45 %47 = ashr i32 %46, 1 %48 = zext i32 %47 to i64 %49 = add i64 %10, 8 %50 = inttoptr i64 %49 to i64* %51 = load i64, i64* %50, align 8 %52 = add i64 %11, 16 %53 = inttoptr i64 %52 to i32* %54 = load i32, i32* %53, align 4 %55 = icmp slt i32 %54, 0 %56 = zext i1 %55 to i32 %57 = add i32 %54, %56 %58 = ashr i32 %57, 1 %59 = add i64 %11, 8 %60 = inttoptr i64 %59 to i64* %61 = load i64, i64* %60, align 8 %62 = zext i32 %58 to i64 %63 = call i64 @FUNC(i64 %12, i64 %61, i64 %62, i64 %51, i64 %48, i64 %26) store i64 %48, i64* %r8.0.reg2mem store i64 %63, i64* %storemerge3.reg2mem br label LBL_4 LBL_4: %storemerge3.reload = load i64, i64* %storemerge3.reg2mem %r8.0.reload = load i64, i64* %r8.0.reg2mem %64 = call i128 @FUNC(i128 %8, i128 %8) %65 = call i128 @FUNC(i64 %storemerge3.reload) %66 = call i128 @__asm_movsd.1(i64 4636737291354636288) %67 = call i128 @FUNC(i128 %65, i128 %66) %68 = load i32, i32* %17, align 4 %69 = and i32 %68, -8 %70 = and i32 %24, -8 %71 = mul i32 %69, %70 %72 = icmp slt i32 %71, 1 br i1 %72, label LBL_6, label LBL_5 LBL_5: %73 = sext i32 %70 to i64 %74 = sext i32 %69 to i64 %75 = mul nsw i64 %74, %73 %76 = trunc i64 %75 to i32 %77 = add i64 %75, 2147483648 %78 = icmp ugt i64 %77, 4294967295 %79 = call i128 @FUNC(i128 %66, i128 %66) %80 = call i128 @__asm_cvtsi2sd.2(i32 %76) store i1 %78, i1* %cf.0.reg2mem store i32 %70, i32* %zf.0.in.reg2mem store i128 %80, i128* %storemerge2.reg2mem br label LBL_7 LBL_6: %81 = call i128 @__asm_movsd.1(i64 4607182418800017408) store i1 false, i1* %cf.0.reg2mem store i32 %71, i32* %zf.0.in.reg2mem store i128 %81, i128* %storemerge2.reg2mem br label LBL_7 LBL_7: %storemerge2.reload = load i128, i128* %storemerge2.reg2mem %zf.0.in.reload = load i32, i32* %zf.0.in.reg2mem %cf.0.reload = load i1, i1* %cf.0.reg2mem %82 = call i128 @FUNC(i128 %67, i128 %storemerge2.reload) %83 = and i64 %4, 4294967295 %84 = urem i32 %25, 32 %85 = icmp eq i32 %84, 0 %86 = shl i32 1, %84 %cf.1 = icmp eq i1 %85, %cf.0.reload %87 = or i32 %zf.0.in.reload, %84 %88 = icmp eq i32 %87, 0 %89 = call i128 @FUNC(i128 %7, i128 %7) %90 = call i128 @__asm_cvtsi2sd.2(i32 %86) %91 = call i128 @FUNC(i128 %82, i128 %90) %92 = call i128 @FUNC(i128 %91) %93 = call i64 @FUNC(i128 %92) %94 = add i64 %12, 8 %95 = inttoptr i64 %94 to i64* %96 = load i64, i64* %95, align 8 %97 = call i128 @__asm_movsd.1(i64 %96) %98 = call i128 @__asm_movsd.1(i64 %93) %99 = call i128 @FUNC(i128 %98, i128 %97) %100 = call i128 @FUNC(i64 9223372036854775807) %101 = call i128 @FUNC(i128 %99, i128 %100) %102 = call i64 @FUNC(i128 %101) %103 = call i128 @__asm_movsd.1(i64 %102) %104 = sext i64 %93 to i128 call void @FUNC(i128 %103, i128 %104) %105 = or i1 %cf.1, %88 %storemerge = select i1 %105, i64 %102, i64 %93 %106 = call i128 @__asm_movsd.1(i64 4636737291354636288) %107 = call i128 @FUNC(i128 %106) %108 = call i128 @FUNC(i128 %100, i128 %100) %109 = call i128 @FUNC(i64 %storemerge) %110 = call i64 @FUNC() %111 = call i64 @__asm_movq.3(i128 %109) %112 = call i128 @__asm_movsd.1(i64 %93) %113 = call i64 @FUNC(i128 %112) store i64 %113, i64* %95, align 8 store i64 %111, i64* %sv_0.0.reg2mem store i64 %83, i64* %rcx.0.reg2mem store i64 %r8.0.reload, i64* %r8.1.reg2mem store i64 %26, i64* %r9.1.reg2mem br label LBL_8 LBL_8: %r9.1.reload = load i64, i64* %r9.1.reg2mem %r8.1.reload = load i64, i64* %r8.1.reg2mem %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %114 = call i128 @FUNC(i64 %sv_0.0.reload) %115 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_2, i64 0, i64 0), i64 %sv_0.0.reload, i64 %rcx.0.reload, i64 %r8.1.reload, i64 %r9.1.reload) %116 = call i128 @__asm_movsd.1(i64 %sv_0.0.reload) ret i128 %116 uselistorder i64 %sv_0.0.reload, { 2, 1, 0 } uselistorder i128 %100, { 1, 0, 2 } uselistorder i64 %93, { 0, 1, 3, 2 } uselistorder i32 %84, { 2, 1, 0 } uselistorder i32 %70, { 0, 2, 1 } uselistorder i32 %69, { 1, 0 } uselistorder i128 %66, { 1, 0, 2 } uselistorder i32 %32, { 0, 1, 3, 2 } uselistorder i64 %26, { 0, 2, 1 } uselistorder i64 %12, { 4, 1, 2, 0, 3, 5 } uselistorder i64 %11, { 3, 2, 1, 0, 4 } uselistorder i64 %10, { 1, 0, 2, 3, 4 } uselistorder i64 %6, { 1, 0 } uselistorder i64 %5, { 1, 0 } uselistorder i64 %4, { 1, 0 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64* %r8.0.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge3.reg2mem, { 0, 2, 1 } uselistorder i1* %cf.0.reg2mem, { 0, 2, 1 } uselistorder i32* %zf.0.in.reg2mem, { 0, 2, 1 } uselistorder i128* %storemerge2.reg2mem, { 0, 2, 1 } uselistorder i64* %1, { 4, 3, 2, 1, 0 } uselistorder i128* %0, { 2, 1, 0 } uselistorder i32 0, { 2, 3, 0, 1 } uselistorder i64 16, { 0, 2, 1 } uselistorder i64 4294967295, { 0, 2, 1 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @ff_dlog, { 2, 1, 0 } }
0
BinRealVul
get_bits_16856
get_bits
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %.reg2mem6 = alloca i32 %sv_0.03.reg2mem = alloca i32 %.in.reg2mem = alloca i32 %.reg2mem4 = alloca i32 %.reg2mem = alloca i8 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 store i64 %0, i64* %rdi, align 8 %1 = trunc i64 %arg2 to i32 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = sub i64 %4, %0 %6 = add i64 %0, 16 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = sub i32 %1, %8 %10 = ashr i32 %9, 8 %11 = sext i32 %10 to i64 %12 = icmp slt i64 %5, %11 store i64 4294967295, i64* %storemerge.reg2mem br i1 %12, label LBL_7, label LBL_1 LBL_1: %13 = add i32 %1, -1 %14 = icmp slt i32 %13, 0 %15 = icmp eq i1 %14, false store i64 0, i64* %storemerge.reg2mem br i1 %15, label LBL_2, label LBL_7 LBL_2: %16 = trunc i64 %0 to i8 %17 = bitcast i64* %rdi to i8* store i8 %16, i8* %.reg2mem store i32 %8, i32* %.reg2mem4 store i32 %13, i32* %.in.reg2mem store i32 0, i32* %sv_0.03.reg2mem br label LBL_3 LBL_3: %sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem %.in.reload = load i32, i32* %.in.reg2mem %.reload5 = load i32, i32* %.reg2mem4 %18 = icmp eq i32 %.reload5, 0 %19 = icmp eq i1 %18, false store i32 %.reload5, i32* %.reg2mem6 br i1 %19, label LBL_5, label LBL_4 LBL_4: %.reload = load i8, i8* %.reg2mem %20 = icmp eq i8 %.reload, -1 %21 = select i1 %20, i32 7, i32 8 store i32 %21, i32* %7, align 4 %22 = load i64, i64* %rdi, align 8 %23 = add i64 %22, 1 store i64 %23, i64* %arg1, align 8 %.pre = load i32, i32* %7, align 4 store i32 %.pre, i32* %.reg2mem6 br label LBL_5 LBL_5: %24 = mul i32 %sv_0.03.reload, 2 %.reload7 = load i32, i32* %.reg2mem6 %25 = add i32 %.reload7, -1 store i32 %25, i32* %7, align 4 %26 = load i8, i8* %17, align 8 %27 = zext i8 %26 to i32 %28 = urem i32 %25, 32 %29 = lshr i32 %27, %28 %30 = urem i32 %29, 2 %31 = or i32 %30, %24 %32 = add i32 %.in.reload, -1 %33 = icmp slt i32 %32, 0 %34 = icmp eq i1 %33, false store i8 %26, i8* %.reg2mem store i32 %25, i32* %.reg2mem4 store i32 %32, i32* %.in.reg2mem store i32 %31, i32* %sv_0.03.reg2mem br i1 %34, label LBL_3, label LBL_6 LBL_6: %phitmp = zext i32 %31 to i64 store i64 %phitmp, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %31, { 1, 0 } uselistorder i32* %7, { 2, 0, 1, 3 } uselistorder i64* %rdi, { 1, 0, 2 } uselistorder i8* %.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem4, { 1, 0, 2 } uselistorder i32* %.in.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.03.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem6, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 } uselistorder i32 2, { 1, 0 } uselistorder i1 false, { 2, 1, 0 } uselistorder i32 0, { 3, 2, 0, 1 } uselistorder i32 -1, { 2, 1, 0 } uselistorder label LBL_7, { 1, 0, 2 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
verify_newpolicy_info_5885
verify_newpolicy_info
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp ult i32 %2, 4 store i64 4294967274, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_12 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = add i64 %4, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = icmp ult i32 %7, 2 store i64 4294967274, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_12 LBL_2: %9 = add i64 %4, 8 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 store i64 4294967274, i64* %rax.0.reg2mem switch i32 %11, label LBL_12 [ i32 2, label LBL_3 i32 10, label LBL_5 ] LBL_3: %12 = add i64 %4, 12 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = icmp sgt i32 %14, 32 store i64 4294967274, i64* %rax.0.reg2mem br i1 %15, label LBL_12, label LBL_4 LBL_4: %16 = add i64 %4, 16 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = icmp slt i32 %18, 33 store i64 4294967274, i64* %rax.0.reg2mem br i1 %19, label LBL_7, label LBL_12 LBL_5: %20 = add i64 %4, 12 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = icmp sgt i32 %22, 128 store i64 4294967274, i64* %rax.0.reg2mem br i1 %23, label LBL_12, label LBL_6 LBL_6: %24 = add i64 %4, 16 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = icmp slt i32 %26, 129 store i64 4294967274, i64* %rax.0.reg2mem br i1 %27, label LBL_7, label LBL_12 LBL_7: %28 = add i64 %4, 20 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = zext i32 %30 to i64 %32 = call i64 @FUNC(i64 %31) %33 = trunc i64 %32 to i32 %34 = icmp eq i32 %33, 0 br i1 %34, label LBL_9, label LBL_8 LBL_8: %35 = and i64 %32, 4294967295 store i64 %35, i64* %rax.0.reg2mem br label LBL_12 LBL_9: %36 = add i64 %4, 24 %37 = inttoptr i64 %36 to i32* %38 = load i32, i32* %37, align 4 %39 = icmp eq i32 %38, 0 br i1 %39, label LBL_11, label LBL_10 LBL_10: %40 = zext i32 %38 to i64 %41 = call i64 @FUNC(i64 %40) %42 = load i32, i32* %29, align 4 %43 = trunc i64 %41 to i32 %44 = icmp eq i32 %42, %43 store i64 4294967274, i64* %rax.0.reg2mem br i1 %44, label LBL_11, label LBL_12 LBL_11: store i64 0, 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 %4, { 2, 3, 1, 0, 5, 4, 6, 7 } uselistorder i64* %rax.0.reg2mem, { 0, 10, 1, 9, 4, 3, 6, 5, 2, 7, 8 } uselistorder i64 4294967274, { 0, 3, 2, 5, 4, 1, 6, 7 } uselistorder label LBL_12, { 8, 0, 9, 3, 2, 5, 4, 1, 6, 7 } }
0
BinRealVul
qdisc_watchdog_schedule_8386
qdisc_watchdog_schedule
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = add i64 %1, 4 %3 = call i64 @FUNC(i64 0, i64 %2) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: call void @llvm.trap() unreachable LBL_2: ret i64 %3 }
0
BinRealVul
net_stop_6596
net_stop
define i64 @FUNC() local_unnamed_addr { LBL_0: %.lcssa.reg2mem = alloca i64 %storemerge1.reg2mem = alloca i32 %0 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4 %1 = icmp eq i32 %0, 0 store i32 1, i32* %storemerge1.reg2mem store i64 0, i64* %.lcssa.reg2mem br i1 %1, label LBL_3, label LBL_1 LBL_1: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem %2 = zext i32 %storemerge1.reload to i64 %3 = mul i64 %2, 4 %4 = add i64 %3, ptrtoint (i32** @gv_0 to i64) %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = zext i32 %6 to i64 %8 = call i64 @FUNC(i64 %7) %9 = add i32 %storemerge1.reload, 1 %10 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4 %11 = icmp ugt i32 %9, %10 store i32 %9, i32* %storemerge1.reg2mem br i1 %11, label LBL_2, label LBL_1 LBL_2: %phitmp = zext i32 %10 to i64 store i64 %phitmp, i64* %.lcssa.reg2mem br label LBL_3 LBL_3: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem ret i64 %.lcssa.reload uselistorder i32* %storemerge1.reg2mem, { 2, 0, 1 } uselistorder i64* %.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32* inttoptr (i64 4210724 to i32*), { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
v9fs_stat_15084
v9fs_stat
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.1.reg2mem = alloca i64 %.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i64 %1 = ptrtoint i64* %arg1 to i64 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %sv_1 = alloca i32, align 4 %sv_2 = alloca i64, align 8 %sv_3 = alloca i32, align 4 %5 = bitcast i32* %sv_3 to i64* %6 = call i64 @FUNC(i64 %1, i64 7, i64* nonnull @gv_0, i64* nonnull %5) %7 = load i32, i32* %sv_3, align 4 %8 = zext i32 %7 to i64 %9 = call i64 @FUNC(i64 %1, i64 %8) %10 = icmp eq i64 %9, 0 %11 = icmp eq i1 %10, false store i64 -2, i64* %sv_0.1.reg2mem br i1 %11, label LBL_1, label LBL_5 LBL_1: %12 = call i64 @FUNC(i64 %1, i64 %9, i64* nonnull %sv_2) %13 = icmp slt i64 %12, 0 store i64 %12, i64* %sv_0.0.reg2mem br i1 %13, label LBL_4, label LBL_2 LBL_2: %14 = bitcast i32* %sv_1 to i64* %15 = call i64 @FUNC(i64 %1, i64 %9, i64* nonnull %sv_2, i64* nonnull %14) %16 = icmp slt i64 %15, 0 store i64 %15, i64* %sv_0.0.reg2mem br i1 %16, label LBL_4, label LBL_3 LBL_3: %17 = call i64 @FUNC(i64 %1, i64 7, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0), i64 0, i64* nonnull %14) %18 = add i64 %17, 7 %19 = call i64 @FUNC(i64* nonnull %14) store i64 %18, i64* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %20 = call i64 @FUNC(i64 %1, i64 %9) %.pre = load i32, i32* %sv_1, align 4 store i32 %.pre, i32* %.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br label LBL_5 LBL_5: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %.reload = load i32, i32* %.reg2mem %21 = zext i32 %.reload to i64 %22 = add i64 %1, 12 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = add i64 %1, 8 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = zext i32 %27 to i64 %29 = call i64 @FUNC(i64 %28, i32 %24, i64 %21, i64 %2, i64 %3, i64 %4) %30 = call i64 @FUNC(i64 %1, i64 %1, i64 %sv_0.1.reload) ret i64 %30 uselistorder i64 %9, { 1, 0, 2, 3 } uselistorder i64 %1, { 3, 2, 5, 4, 6, 0, 1, 7, 8, 9 } uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_4, { 2, 0, 1 } }
1
BinRealVul
qemu_fill_buffer_16194
qemu_fill_buffer
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 23, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %6 = trunc i64 %1 to i32 %7 = add i64 %2, 4 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = sub i32 %6, %9 %11 = icmp slt i32 %10, 1 br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = add i64 %2, 32 %13 = sext i32 %9 to i64 %14 = add i64 %12, %13 %15 = inttoptr i64 %12 to i64* %16 = inttoptr i64 %14 to i64* %17 = call i64* @memmove(i64* %15, i64* %16, i32 %10) br label LBL_4 LBL_4: store i32 0, i32* %8, align 4 %18 = bitcast i64* %arg1 to i32* store i32 %10, i32* %18, align 4 %19 = add i64 %2, 8 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = trunc i64 %21 to i32 %23 = icmp slt i32 %22, 1 br i1 %23, label LBL_6, label LBL_5 LBL_5: %24 = bitcast i64* %rdi to i32* %25 = load i32, i32* %24, align 8 %26 = add i32 %25, %22 store i32 %26, i32* %18, align 4 %27 = add i64 %2, 16 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = add i32 %29, %22 store i32 %30, i32* %28, align 4 br label LBL_10 LBL_6: %31 = icmp eq i32 %22, 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 4294967291) br label LBL_10 LBL_8: %34 = icmp eq i32 %22, -11 br i1 %34, label LBL_10, label LBL_9 LBL_9: %35 = and i64 %21, 4294967295 %36 = call i64 @FUNC(i64 %2, i64 %35) br label LBL_10 LBL_10: %sext = mul i64 %21, 4294967296 %37 = ashr exact i64 %sext, 32 ret i64 %37 uselistorder i32 %22, { 2, 3, 0, 1, 4 } uselistorder i64 %12, { 1, 0 } uselistorder i64 %2, { 3, 2, 1, 4, 0, 5, 6 } uselistorder i64 (i64, i64)* @qemu_file_set_error, { 1, 0 } }
1
BinRealVul
set_path_power_4320
set_path_power
define i64 @FUNC(i64* %arg1, i32 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.1.lcssa.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_0.15.reg2mem = alloca i32 %storemerge7.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i32 0, i32* %sv_0.1.lcssa.reg2mem br i1 %3, label LBL_14, label LBL_1 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = bitcast i64* %rdi to i32* %6 = trunc i64 %arg3 to i32 %7 = icmp slt i32 %6, 0 %8 = icmp eq i32 %6, 0 %9 = icmp eq i1 %8, false %10 = zext i1 %9 to i8 %11 = trunc i64 %arg4 to i32 %12 = icmp slt i32 %11, 0 %13 = icmp eq i32 %11, 0 %14 = icmp eq i1 %13, false %15 = zext i1 %14 to i8 store i32 0, i32* %storemerge7.reg2mem store i32 0, i32* %sv_0.15.reg2mem br label LBL_2 LBL_2: %sv_0.15.reload = load i32, i32* %sv_0.15.reg2mem %storemerge7.reload = load i32, i32* %storemerge7.reg2mem %16 = zext i32 %storemerge7.reload to i64 %17 = call i64 @FUNC(i64 %4, i64 %16) %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = icmp eq i32 %19, 0 store i32 %sv_0.15.reload, i32* %sv_0.0.reg2mem br i1 %20, label LBL_13, label LBL_3 LBL_3: %21 = add i64 %17, 8 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = icmp eq i32 %25, %arg2 br i1 %26, label LBL_5, label LBL_4 LBL_4: %27 = sext i32 %19 to i64 %28 = mul i64 %27, 4 %29 = add nsw i64 %28, -4 %30 = add i64 %29, %23 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = icmp eq i32 %32, %arg2 %34 = icmp eq i1 %33, false store i32 %sv_0.15.reload, i32* %sv_0.0.reg2mem br i1 %34, label LBL_13, label LBL_5 LBL_5: %35 = add i64 %17, 4 %36 = inttoptr i64 %35 to i8* %37 = load i8, i8* %36, align 1 %38 = add i64 %17, 5 %39 = inttoptr i64 %38 to i8* %40 = load i8, i8* %39, align 1 br i1 %7, label LBL_7, label LBL_6 LBL_6: store i8 %10, i8* %36, align 1 br label LBL_7 LBL_7: br i1 %12, label LBL_9, label LBL_8 LBL_8: store i8 %15, i8* %39, align 1 br label LBL_9 LBL_9: %41 = add i64 %17, 6 %42 = inttoptr i64 %41 to i8* %43 = load i8, i8* %42, align 1 %44 = icmp eq i8 %43, 1 br i1 %44, label LBL_11, label LBL_10 LBL_10: %45 = load i8, i8* %36, align 1 %46 = icmp eq i8 %37, %45 %47 = icmp eq i1 %46, false br i1 %47, label LBL_12, label LBL_11 LBL_11: %48 = load i8, i8* %39, align 1 %49 = icmp eq i8 %40, %48 store i32 %sv_0.15.reload, i32* %sv_0.0.reg2mem br i1 %49, label LBL_13, label LBL_12 LBL_12: %50 = call i64 @FUNC(i64 %4, i64 %17, i64 1) %51 = trunc i64 %50 to i32 %52 = icmp eq i32 %51, 0 %spec.select = select i1 %52, i32 %sv_0.15.reload, i32 %51 store i32 %spec.select, i32* %sv_0.0.reg2mem br label LBL_13 LBL_13: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %53 = add i32 %storemerge7.reload, 1 %54 = load i32, i32* %5, align 8 %55 = zext i32 %54 to i64 %56 = sext i32 %53 to i64 %57 = icmp slt i64 %56, %55 store i32 %53, i32* %storemerge7.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.15.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem br i1 %57, label LBL_2, label LBL_14 LBL_14: %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem %58 = zext i32 %sv_0.1.lcssa.reload to i64 ret i64 %58 uselistorder i8* %39, { 1, 0, 2 } uselistorder i8* %36, { 1, 0, 2 } uselistorder i32 %sv_0.15.reload, { 3, 1, 0, 2 } uselistorder i32* %storemerge7.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.15.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.reg2mem, { 0, 1, 3, 2, 4 } uselistorder i64 4, { 1, 0 } uselistorder i1 false, { 0, 3, 1, 2 } uselistorder label LBL_13, { 0, 2, 3, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
sws_getColorspaceDetails_273
sws_getColorspaceDetails
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4, i64* %arg5, i64* %arg6, i64* %arg7, i64* %arg8) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null store i64 4294967295, i64* %storemerge.reg2mem br i1 %0, label LBL_4, label LBL_1 LBL_1: %1 = ptrtoint i64* %arg1 to i64 %2 = add i64 %1, 36 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = zext i32 %4 to i64 %6 = call i64 @FUNC(i64 %5) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %9, label LBL_4, label LBL_2 LBL_2: %10 = load i32, i32* %3, align 4 %11 = zext i32 %10 to i64 %12 = call i64 @FUNC(i64 %11) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 store i64 4294967295, i64* %storemerge.reg2mem br i1 %14, label LBL_3, label LBL_4 LBL_3: store i64 %11, i64* %arg2, align 8 %15 = add i64 %1, 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 store i64 %17, i64* %arg4, align 8 %18 = add i64 %1, 16 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = bitcast i64* %arg3 to i32* store i32 %20, i32* %21, align 4 %22 = add i64 %1, 20 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = bitcast i64* %arg5 to i32* store i32 %24, i32* %25, align 4 %26 = add i64 %1, 24 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = bitcast i64* %arg6 to i32* store i32 %28, i32* %29, align 4 %30 = add i64 %1, 28 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = bitcast i64* %arg7 to i32* store i32 %32, i32* %33, align 4 %34 = add i64 %1, 32 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = bitcast i64* %arg8 to i32* store i32 %36, i32* %37, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_4, { 3, 2, 1, 0 } }
0
BinRealVul
print_graph_entry_leaf_17930
print_graph_entry_leaf
define i64 @FUNC(i64* %arg1, i32* %arg2, i64* %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge3.reg2mem = alloca i32 %.reg2mem = alloca i32 %.pre-phi.reg2mem = alloca i32* %rsi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg3 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = add i64 %3, 16 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = add i64 %2, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = icmp eq i64* %arg1, null %11 = trunc i64 %1 to i32 br i1 %10, label LBL_0.LBL_4_crit_edge, label LBL_2 LBL_1: %.pre4 = bitcast i64* %rsi to i32* store i32* %.pre4, i32** %.pre-phi.reg2mem store i32 %11, i32* %.reg2mem br label LBL_4 LBL_2: %12 = add i64 %3, 8 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = zext i32 %14 to i64 %16 = call i64 @FUNC(i64 %3, i64 %15) %17 = bitcast i64* %rsi to i32* %18 = add i32 %11, -1 %19 = inttoptr i64 %16 to i32* store i32 %18, i32* %19, align 4 %20 = load i32, i32* %17, align 8 %21 = icmp sgt i32 %20, 9 store i32* %17, i32** %.pre-phi.reg2mem store i32 %20, i32* %.reg2mem br i1 %21, label LBL_4, label LBL_3 LBL_3: %22 = sext i32 %20 to i64 %23 = mul i64 %22, 4 %24 = add i64 %16, 4 %25 = add i64 %24, %23 %26 = inttoptr i64 %25 to i32* store i32 0, i32* %26, align 4 %.pre = load i32, i32* %17, align 8 store i32* %17, i32** %.pre-phi.reg2mem store i32 %.pre, i32* %.reg2mem br label LBL_4 LBL_4: %27 = ptrtoint i64* %arg4 to i64 %28 = sub i64 %2, %9 %.reload = load i32, i32* %.reg2mem %29 = trunc i64 %arg5 to i32 %30 = call i64 @FUNC(i64 %6, i64 %28, i64 %27, i32 %29) %.mask = urem i32 %.reload, 1073741824 %31 = icmp eq i32 %.mask, 0 br i1 %31, label LBL_7, label LBL_5 LBL_5: %.pre-phi.reload = load i32*, i32** %.pre-phi.reg2mem %32 = load i32, i32* %.pre-phi.reload, align 8 %33 = mul i32 %32, 4 %34 = zext i32 %33 to i64 store i32 0, i32* %storemerge3.reg2mem br label LBL_6 LBL_6: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %35 = call i64 @FUNC(i64 %27, i64 32) %36 = add i32 %storemerge3.reload, 1 %37 = sext i32 %36 to i64 %38 = icmp slt i64 %37, %34 store i32 %36, i32* %storemerge3.reg2mem br i1 %38, label LBL_6, label LBL_7 LBL_7: %39 = ptrtoint i32* %arg2 to i64 %40 = add i64 %39, 8 %41 = inttoptr i64 %40 to i64* %42 = load i64, i64* %41, align 8 %43 = call i64 @FUNC(i64 %27, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i64 %42) %44 = call i64 @FUNC(i64 %27) ret i64 %44 uselistorder i64 %27, { 1, 0, 2, 3 } uselistorder i32 %20, { 1, 0, 2 } uselistorder i32* %17, { 1, 2, 0, 3 } uselistorder i32 %11, { 1, 0 } uselistorder i64* %rsi, { 1, 0 } uselistorder i32** %.pre-phi.reg2mem, { 0, 2, 1, 3 } uselistorder i32* %.reg2mem, { 0, 2, 1, 3 } uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 } uselistorder i64 4, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_4, { 1, 2, 0 } }
1
BinRealVul
intel_hda_update_int_sts_14386
intel_hda_update_int_sts
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.44.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i32 %4 = mul i32 %3, 1073741824 %5 = and i32 %4, 1073741824 %6 = and i32 %3, 2 %7 = add i64 %2, 4 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = add i64 %2, 8 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = and i32 %12, %9 %14 = or i32 %13, %6 %15 = icmp eq i32 %14, 0 %spec.select2 = select i1 %15, i32 %5, i32 1073741824 %16 = add i64 %2, 20 store i64 0, i64* %indvars.iv.reg2mem store i32 %spec.select2, i32* %sv_0.44.reg2mem br label LBL_1 LBL_1: %sv_0.44.reload = load i32, i32* %sv_0.44.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %17 = mul i64 %indvars.iv.reload, 4 %18 = add i64 %16, %17 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = and i32 %20, 67108864 %22 = icmp eq i32 %21, 0 %23 = trunc i64 %indvars.iv.reload to i32 %24 = shl i32 1, %23 %25 = select i1 %22, i32 0, i32 %24 %sv_0.3 = or i32 %25, %sv_0.44.reload %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 store i32 %sv_0.3, i32* %sv_0.44.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %26 = add i64 %2, 12 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = and i32 %28, %sv_0.3 %30 = icmp eq i32 %29, 0 %31 = or i32 %sv_0.3, -2147483648 %spec.select3 = select i1 %30, i32 %sv_0.3, i32 %31 %32 = add i64 %2, 16 %33 = inttoptr i64 %32 to i32* store i32 %spec.select3, i32* %33, align 4 ret i64 %2 uselistorder i32 %sv_0.3, { 2, 3, 1, 0 } uselistorder i32 %3, { 1, 0 } uselistorder i64 %2, { 1, 2, 3, 0, 5, 4 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.44.reg2mem, { 1, 0, 2 } uselistorder i32 1073741824, { 2, 1, 0 } }
1
BinRealVul
IsValidNameNonASCII_8555
IsValidNameNonASCII
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i32 %storemerge.reg2mem = alloca i64 %1 = ptrtoint i64* %arg1 to i64 %2 = load i32, i32* %0 %3 = sext i32 %2 to i64 %4 = trunc i64 %arg2 to i32 %5 = icmp eq i32 %4, 0 %6 = zext i32 %2 to i64 store i64 1, i64* %storemerge.reg2mem br i1 %5, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 %1, i64 0, i32 %4, i64 %3) %8 = call i64 @FUNC(i64 %6) %9 = trunc i64 %8 to i8 %10 = icmp eq i8 %9, 1 store i64 0, i64* %storemerge.reg2mem br i1 %10, label LBL_1, label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %4, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
nft_set_pktinfo_ipv6_4383
nft_set_pktinfo_ipv6
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* %arg2 to i64 %2 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i16, align 2 %sv_1 = alloca i32, align 4 store i32 0, i32* %sv_1, align 4 %3 = call i64 @FUNC(i64 %2, i64 %1, i64 %0) %4 = bitcast i16* %sv_0 to i64* %5 = call i64 @FUNC(i64 %2, i32* nonnull %sv_1, i64 4294967295, i64* nonnull %4, i64 0) %6 = trunc i64 %5 to i32 %7 = icmp slt i32 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = call i64 @FUNC(i64 %2, i64 %1) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %10 = add i64 %2, 16 %11 = inttoptr i64 %10 to i8* store i8 1, i8* %11, align 1 %12 = add i64 %2, 20 %13 = inttoptr i64 %12 to i32* store i32 %6, i32* %13, align 4 %14 = load i32, i32* %sv_1, align 4 %15 = add i64 %2, 8 %16 = inttoptr i64 %15 to i32* store i32 %14, i32* %16, align 4 %17 = load i16, i16* %sv_0, align 2 %18 = add i64 %2, 12 %19 = inttoptr i64 %18 to i16* store i16 %17, i16* %19, align 2 store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32* %sv_1, { 1, 0, 2 } uselistorder i64 %2, { 1, 2, 3, 4, 0, 5, 6 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 1, 0 } }
0
BinRealVul
debugcon_ioport_write_18614
debugcon_ioport_write
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %sv_0 = alloca i64, align 8 %sext = mul i64 %arg3, 72057594037927936 %0 = ashr exact i64 %sext, 56 store i64 %0, i64* %sv_0, align 8 %1 = trunc i64 %arg3 to i32 %2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_0, i64 0, i64 0), i64 %arg2, i32 %1) %3 = bitcast i64* %sv_0 to i8* %4 = call i64 @FUNC(i64 ptrtoint ([46 x i8]* @gv_0 to i64), i8* nonnull %3, i64 1) ret i64 %4 uselistorder i64* %sv_0, { 1, 0 } uselistorder [46 x i8]* @gv_0, { 1, 0 } uselistorder i64 %arg3, { 1, 0 } }
1
BinRealVul
jpc_pi_init_10785
jpc_pi_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %.reg2mem15 = alloca i32 %.reg2mem13 = alloca i32 %sv_0.04.reg2mem = alloca i32 %storemerge3.in5.reg2mem = alloca i64 %sv_1.06.reg2mem = alloca i32 %storemerge27.reg2mem = alloca i64 %.reg2mem11 = alloca i32 %sv_2.08.reg2mem = alloca i32 %storemerge9.reg2mem = alloca i64 %.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 12 %2 = inttoptr i64 %1 to i32* store i32 0, i32* %2, align 4 %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i32* store i32 0, i32* %4, align 4 %5 = add i64 %0, 20 %6 = inttoptr i64 %5 to i32* store i32 -1, i32* %6, align 4 %7 = add i64 %0, 24 %8 = inttoptr i64 %7 to i32* store i32 -1, i32* %8, align 4 %9 = add i64 %0, 28 %10 = inttoptr i64 %9 to i32* store i32 0, i32* %10, align 4 %11 = add i64 %0, 8 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = icmp eq i32 %13, 0 store i32 %13, i32* %.reg2mem store i64 %0, i64* %storemerge9.reg2mem store i32 0, i32* %sv_2.08.reg2mem br i1 %14, label LBL_11, label LBL_1 LBL_1: %sv_2.08.reload = load i32, i32* %sv_2.08.reg2mem %storemerge9.reload = load i64, i64* %storemerge9.reg2mem %.reload = load i32, i32* %.reg2mem %15 = add i64 %storemerge9.reload, 8 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp eq i32 %17, 0 store i32 %.reload, i32* %.reg2mem15 br i1 %18, label LBL_9, label LBL_2 LBL_2: %19 = inttoptr i64 %storemerge9.reload to i64* %20 = load i64, i64* %19, align 8 store i32 %17, i32* %.reg2mem11 store i64 %20, i64* %storemerge27.reg2mem store i32 0, i32* %sv_1.06.reg2mem br label LBL_3 LBL_3: %sv_1.06.reload = load i32, i32* %sv_1.06.reg2mem %storemerge27.reload = load i64, i64* %storemerge27.reg2mem %.reload12 = load i32, i32* %.reg2mem11 %21 = add i64 %storemerge27.reload, 8 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = icmp eq i32 %23, 0 store i32 %.reload12, i32* %.reg2mem13 br i1 %24, label LBL_7, label LBL_4 LBL_4: %25 = inttoptr i64 %storemerge27.reload to i64* %26 = load i64, i64* %25, align 8 store i64 %26, i64* %storemerge3.in5.reg2mem store i32 0, i32* %sv_0.04.reg2mem br label LBL_5 LBL_5: %sv_0.04.reload = load i32, i32* %sv_0.04.reg2mem %storemerge3.in5.reload = load i64, i64* %storemerge3.in5.reg2mem %storemerge3 = inttoptr i64 %storemerge3.in5.reload to i32* store i32 0, i32* %storemerge3, align 4 %27 = add i32 %sv_0.04.reload, 1 %28 = add i64 %storemerge3.in5.reload, 4 %29 = load i32, i32* %22, align 4 %30 = zext i32 %29 to i64 %31 = sext i32 %27 to i64 %32 = icmp slt i64 %31, %30 store i64 %28, i64* %storemerge3.in5.reg2mem store i32 %27, i32* %sv_0.04.reg2mem br i1 %32, label LBL_5, label LBL_6 LBL_6: %.pre = load i32, i32* %16, align 4 store i32 %.pre, i32* %.reg2mem13 br label LBL_7 LBL_7: %.reload14 = load i32, i32* %.reg2mem13 %33 = add i32 %sv_1.06.reload, 1 %34 = add i64 %storemerge27.reload, 16 %35 = zext i32 %.reload14 to i64 %36 = sext i32 %33 to i64 %37 = icmp slt i64 %36, %35 store i32 %.reload14, i32* %.reg2mem11 store i64 %34, i64* %storemerge27.reg2mem store i32 %33, i32* %sv_1.06.reg2mem br i1 %37, label LBL_3, label LBL_8 LBL_8: %.pre10 = load i32, i32* %12, align 4 store i32 %.pre10, i32* %.reg2mem15 br label LBL_9 LBL_9: %.reload16 = load i32, i32* %.reg2mem15 %38 = add i32 %sv_2.08.reload, 1 %39 = zext i32 %.reload16 to i64 %40 = sext i32 %38 to i64 %41 = icmp slt i64 %40, %39 br i1 %41, label LBL_9.LBL_1_crit_edge, label LBL_11 LBL_10: %42 = add i64 %storemerge9.reload, 16 store i32 %.reload16, i32* %.reg2mem store i64 %42, i64* %storemerge9.reg2mem store i32 %38, i32* %sv_2.08.reg2mem br label LBL_1 LBL_11: ret i64 0 uselistorder i32 %.reload16, { 1, 0 } uselistorder i32 %.reload14, { 1, 0 } uselistorder i32* %22, { 1, 0 } uselistorder i64 %storemerge27.reload, { 0, 2, 1 } uselistorder i64 %storemerge9.reload, { 0, 2, 1 } uselistorder i32* %.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge9.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.08.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem11, { 1, 0, 2 } uselistorder i64* %storemerge27.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.06.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge3.in5.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.04.reg2mem, { 1, 0, 2 } uselistorder i64 16, { 1, 0, 2 } uselistorder i32 0, { 6, 0, 3, 1, 4, 2, 5, 7, 8, 9 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
ath_reg_apply_active_scan_flags_4510
ath_reg_apply_active_scan_flags
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32*, align 8 %1 = icmp eq i64* %arg1, null store i64 %0, i64* %rax.0.reg2mem br i1 %1, label LBL_14, label LBL_1 LBL_1: %2 = trunc i64 %arg2 to i32 %3 = icmp eq i32 %2, 0 %4 = add i64 %0, 88 %5 = inttoptr i64 %4 to i32* br i1 %3, label LBL_6, label LBL_2 LBL_2: %6 = load i32, i32* %5, align 4 %7 = urem i32 %6, 2 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_4, label LBL_3 LBL_3: %9 = and i32 %6, -2 store i32 %9, i32* %5, align 4 br label LBL_4 LBL_4: %10 = add i64 %0, 96 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = urem i32 %12, 2 %14 = icmp eq i32 %13, 0 store i64 0, i64* %rax.0.reg2mem br i1 %14, label LBL_14, label LBL_5 LBL_5: %15 = and i32 %12, -2 store i32 %15, i32* %11, align 4 store i64 %10, i64* %rax.0.reg2mem br label LBL_14 LBL_6: %16 = add i64 %0, 92 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = bitcast i32** %sv_0 to i64* %20 = call i64 @FUNC(i64 %0, i32 %18, i32 0, i64* nonnull %19) %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %21, 0 %23 = icmp eq i1 %22, false br i1 %23, label LBL_10, label LBL_7 LBL_7: %24 = load i32*, i32** %sv_0, align 8 %25 = load i32, i32* %24, align 4 %26 = urem i32 %25, 2 %27 = icmp eq i32 %26, 0 %28 = icmp eq i1 %27, false br i1 %28, label LBL_10, label LBL_8 LBL_8: %29 = load i32, i32* %5, align 4 %30 = urem i32 %29, 2 %31 = icmp eq i32 %30, 0 br i1 %31, label LBL_10, label LBL_9 LBL_9: %32 = and i32 %29, -2 store i32 %32, i32* %5, align 4 br label LBL_10 LBL_10: %33 = add i64 %0, 100 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = call i64 @FUNC(i64 %0, i32 %35, i32 0, i64* nonnull %19) %37 = trunc i64 %36 to i32 %38 = icmp eq i32 %37, 0 %39 = icmp eq i1 %38, false store i64 %36, i64* %rax.0.reg2mem br i1 %39, label LBL_14, label LBL_11 LBL_11: %40 = load i32*, i32** %sv_0, align 8 %41 = load i32, i32* %40, align 4 %42 = urem i32 %41, 2 %43 = zext i32 %42 to i64 %44 = icmp eq i32 %42, 0 %45 = icmp eq i1 %44, false store i64 %43, i64* %rax.0.reg2mem br i1 %45, label LBL_14, label LBL_12 LBL_12: %46 = add i64 %0, 96 %47 = inttoptr i64 %46 to i32* %48 = load i32, i32* %47, align 4 %49 = urem i32 %48, 2 %50 = icmp eq i32 %49, 0 store i64 0, i64* %rax.0.reg2mem br i1 %50, label LBL_14, label LBL_13 LBL_13: %51 = and i32 %48, -2 store i32 %51, i32* %47, align 4 store i64 %46, i64* %rax.0.reg2mem br label LBL_14 LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %48, { 1, 0 } uselistorder i32 %42, { 1, 0 } uselistorder i32 %29, { 1, 0 } uselistorder i32 %12, { 1, 0 } uselistorder i32 %6, { 1, 0 } uselistorder i32* %5, { 1, 0, 2, 3 } uselistorder i32** %sv_0, { 1, 0, 2 } uselistorder i64 %0, { 3, 2, 4, 5, 7, 1, 6, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 5, 6, 1, 2, 7 } uselistorder i64 (i64, i32, i32, i64*)* @freq_reg_info, { 1, 0 } uselistorder i32 0, { 2, 3, 4, 0, 5, 6, 7, 1, 8, 9, 10 } uselistorder label LBL_14, { 3, 4, 5, 6, 1, 0, 2 } }
0
BinRealVul
verifyAttribute_7211
verifyAttribute
define i64 @FUNC(i64* %arg1, i8* %arg2, i8* %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.03.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false store i64 0, i64* %storemerge.reg2mem br i1 %1, label LBL_1, label LBL_7 LBL_1: %2 = ptrtoint i64* %arg1 to i64 store i64 %2, i64* %sv_0.03.reg2mem br label LBL_2 LBL_2: %sv_0.03.reload = load i64, i64* %sv_0.03.reg2mem %3 = inttoptr i64 %sv_0.03.reload to i64* %4 = load i64, i64* %3, align 8 %5 = icmp eq i64 %4, 0 br i1 %5, label LBL_6, label LBL_3 LBL_3: %6 = inttoptr i64 %4 to i8* %7 = call i32 @strcmp(i8* %arg2, i8* %6) %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_6, label LBL_4 LBL_4: %10 = add i64 %sv_0.03.reload, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = icmp eq i64 %12, 0 br i1 %13, label LBL_6, label LBL_5 LBL_5: %14 = inttoptr i64 %12 to i8* %15 = call i32 @strcmp(i8* %arg3, i8* %14) %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false store i64 1, i64* %storemerge.reg2mem br i1 %17, label LBL_6, label LBL_7 LBL_6: %18 = add i64 %sv_0.03.reload, 16 %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 %20, i64* %sv_0.03.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %22, label LBL_2, label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %sv_0.03.reload, { 2, 0, 1 } uselistorder i64* %sv_0.03.reg2mem, { 1, 0, 2 } uselistorder i1 false, { 3, 1, 2, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_7, { 1, 0, 2 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
isl6421_attach_3735
isl6421_attach
define i64 @FUNC(i64* %arg1, i64* %arg2, i8 %arg3, i8 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 24, i64 0) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 0, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_4 LBL_1: %3 = ptrtoint i64* %arg1 to i64 %4 = inttoptr i64 %0 to i32* %5 = ptrtoint i64* %arg2 to i64 store i32 1, i32* %4, align 4 %6 = add i64 %0, 8 %7 = inttoptr i64 %6 to i64* store i64 %5, i64* %7, align 8 %8 = add i64 %0, 16 %9 = inttoptr i64 %8 to i8* store i8 %arg3, i8* %9, align 1 store i64 %0, i64* %arg1, align 8 %10 = add i64 %0, 17 %11 = inttoptr i64 %10 to i8* store i8 %arg4, i8* %11, align 1 %12 = trunc i64 %arg5 to i8 %13 = sub i8 0, %12 %14 = sub i8 %13, 1 %15 = add i64 %0, 18 %16 = inttoptr i64 %15 to i8* store i8 %14, i8* %16, align 1 %17 = call i64 @FUNC(i64 %3, i64 0) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 br i1 %19, label LBL_3, label LBL_2 LBL_2: %20 = call i64 @FUNC(i64 %0) store i64 0, i64* %arg1, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %21 = add i64 %3, 8 %22 = inttoptr i64 %21 to i64* store i64 4198800, i64* %22, align 8 %23 = add i64 %3, 16 %24 = inttoptr i64 %23 to i64* store i64 4198782, i64* %24, align 8 %25 = add i64 %3, 24 %26 = inttoptr i64 %25 to i64* store i64 4198811, i64* %26, align 8 store i64 %3, 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, 2, 1 } uselistorder i64 24, { 1, 0 } uselistorder label LBL_4, { 1, 2, 0 } }
0
BinRealVul
exit_io_context_11467
exit_io_context
define i64 @FUNC() local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = load i64, i64* @gv_0, align 8 %1 = call i64 @FUNC(i64 %0) %2 = load i64, i64* @gv_0, align 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 store i64 0, i64* %3, align 8 %5 = load i64, i64* @gv_0, align 8 %6 = call i64 @FUNC(i64 %5) %7 = add i64 %4, 8 %8 = call i64 @FUNC(i64 %7) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 store i64 %8, i64* %rax.0.reg2mem br i1 %10, label LBL_2, label LBL_1 LBL_1: %11 = call i64 @FUNC(i64 %4) %12 = call i64 @FUNC(i64 %4) store i64 %12, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload }
1
BinRealVul
write_stacktrace_13789
write_stacktrace
define i64 @FUNC(i8* %arg1, i8* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %4 = bitcast i64* %sv_0 to i64** %5 = call i32 @backtrace(i64** nonnull %4, i32 100) %6 = icmp eq i8* %arg1, null br i1 %6, label LBL_4, label LBL_1 LBL_1: %7 = call i32 (i8*, i32, ...) @open(i8* nonnull %arg1, i32 132161) %8 = icmp eq i8* %arg2, null br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = call i32 (i32, i8*, ...) @dprintf(i32 %7, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8* nonnull %arg2) br label LBL_3 LBL_3: call void @backtrace_symbols_fd(i64** nonnull %4, i32 %5, i32 %7) %10 = call i32 @write(i32 %7, i64* nonnull @gv_1, i32 1) %11 = call i32 @close(i32 %7) %12 = sext i32 %11 to i64 store i64 %12, i64* %rax.0.reg2mem br label LBL_11 LBL_4: %13 = icmp eq i8* %arg2, null br i1 %13, label LBL_6, label LBL_5 LBL_5: %14 = ptrtoint i8* %arg2 to i64 %15 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i64 %14, i64 %3, i64 %2, i64 %1) br label LBL_6 LBL_6: %16 = call i8** @backtrace_symbols(i64** nonnull %4, i32 %5) %17 = icmp eq i8** %16, null %18 = icmp eq i1 %17, false br i1 %18, label LBL_7, label LBL_8 LBL_7: %19 = ptrtoint i8** %16 to i64 %20 = add i32 %5, -2 %21 = zext i32 %20 to i64 %22 = icmp ugt i32 %20, 1 store i64 1, i64* %.reg2mem store i32 1, i32* %storemerge3.reg2mem br i1 %22, label LBL_9, label LBL_10 LBL_8: %23 = zext i32 %5 to i64 %24 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_3, i64 0, i64 0), i64 %23, i64 %3, i64 %2, i64 %1) store i64 %24, i64* %rax.0.reg2mem br label LBL_11 LBL_9: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %.reload = load i64, i64* %.reg2mem %25 = mul i64 %.reload, 8 %26 = add i64 %25, %19 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0), i64 %28, i64 %3, i64 %2, i64 %1) %30 = add i32 %storemerge3.reload, 1 %31 = sext i32 %30 to i64 %32 = icmp slt i64 %31, %21 store i64 %31, i64* %.reg2mem store i32 %30, i32* %storemerge3.reg2mem br i1 %32, label LBL_9, label LBL_10 LBL_10: %33 = bitcast i8** %16 to i64* call void @free(i64* %33) store i64 ptrtoint (i32* @0 to i64), 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 i8** %16, { 0, 2, 1 } uselistorder i32 %7, { 2, 1, 0, 3 } uselistorder i32 %5, { 2, 1, 3, 0 } uselistorder i64** %4, { 1, 0, 2 } uselistorder i64 %3, { 2, 1, 0 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge3.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @log_message, { 2, 1, 0 } uselistorder i64 1, { 1, 2, 0, 3 } uselistorder i32 1, { 11, 4, 7, 8, 9, 6, 5, 3, 2, 10, 1, 0 } uselistorder i8* %arg2, { 3, 2, 1, 0 } uselistorder label LBL_9, { 1, 0 } }
0
BinRealVul
parse_metadata_ext_14788
parse_metadata_ext
define i64 @FUNC(i32* %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, 0 br i1 %3, label LBL_2, label LBL_1 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 = add i32 %2, 1 %9 = add i32 %8, %7 %10 = zext i32 %9 to i64 %11 = call i64 @FUNC(i64 %4, i64 %10) br label LBL_2 LBL_2: ret i64 0 uselistorder i32 %2, { 1, 0 } }
1
BinRealVul
qed_co_pwrite_zeroes_cb_14321
qed_co_pwrite_zeroes_cb
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = bitcast i64* %arg1 to i8* store i8 1, i8* %2, align 1 %3 = add i64 %0, 4 %4 = inttoptr i64 %3 to i32* store i32 %1, i32* %4, align 4 %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = icmp eq i64 %7, 0 store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = call i64 @FUNC(i64 %7, i64 0) store i64 %9, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload }
1
BinRealVul
fsl_imx31_class_init_478
fsl_imx31_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 4198662, i64* %arg1, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* store i64 ptrtoint ([11 x i8]* @gv_0 to i64), i64* %2, align 8 %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i32* store i32 0, i32* %4, align 4 ret i64 %0 uselistorder i64 %0, { 1, 0, 2 } }
0
BinRealVul
vnc_flush_14578
vnc_flush
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = ptrtoint i32* %arg1 to i64 %5 = call i64 @FUNC(i64 %4) store i64 %5, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload }
1
BinRealVul
qemu_bufopen_13903
qemu_bufopen
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem5 = alloca i64 %.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = icmp eq i64 %arg1, 0 br i1 %2, label LBL_3, label LBL_1 LBL_1: %3 = trunc i64 %1 to i8 %4 = icmp ne i8 %3, 114 %5 = icmp eq i8 %3, 119 %6 = icmp eq i1 %5, false %or.cond = icmp eq i1 %4, %6 br i1 %or.cond, label LBL_3, label LBL_2 LBL_2: %7 = add i64 %arg1, 1 %8 = inttoptr i64 %7 to i8* %9 = load i8, i8* %8, align 1 %10 = icmp eq i8 %9, 0 br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = call i64 @FUNC(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_0, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_14 LBL_4: %12 = call i64 @FUNC(i64 16) %13 = icmp eq i8 %3, 114 %14 = icmp eq i1 %13, false %.pre = inttoptr i64 %12 to i64* br i1 %14, label LBL_4.LBL_7_crit_edge, label LBL_6 LBL_5: %.pre4 = load i64, i64* %.pre, align 8 store i64 %.pre4, i64* %.reg2mem br label LBL_7 LBL_6: store i64 %arg2, i64* %.pre, align 8 store i64 %arg2, i64* %.reg2mem br label LBL_7 LBL_7: %.reload = load i64, i64* %.reg2mem %15 = icmp eq i64 %.reload, 0 %16 = icmp eq i1 %15, false store i64 %.reload, i64* %.reg2mem5 br i1 %16, label LBL_9, label LBL_8 LBL_8: %17 = call i64 @FUNC(i64 0, i64 0) store i64 %17, i64* %.pre, align 8 store i64 %17, i64* %.reg2mem5 br label LBL_9 LBL_9: %.reload6 = load i64, i64* %.reg2mem5 %18 = icmp eq i64 %.reload6, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_11, label LBL_10 LBL_10: %20 = call i64 @FUNC(i64 %12) %21 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_1, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_14 LBL_11: %22 = bitcast i64* %rdi to i8* %23 = load i8, i8* %22, align 8 %24 = icmp eq i8 %23, 114 %25 = icmp eq i1 %24, false br i1 %25, label LBL_13, label LBL_12 LBL_12: %26 = call i64 @FUNC(i64 %12, i64 4198952) %27 = add i64 %12, 8 %28 = inttoptr i64 %27 to i64* store i64 %26, i64* %28, align 8 store i64 %26, i64* %rax.0.reg2mem br label LBL_14 LBL_13: %29 = call i64 @FUNC(i64 %12, i64 4198959) %30 = add i64 %12, 8 %31 = inttoptr i64 %30 to i64* store i64 %29, i64* %31, align 8 store i64 %29, i64* %rax.0.reg2mem br label LBL_14 LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %.pre, { 1, 2, 0 } uselistorder i64 %12, { 3, 4, 2, 1, 5, 0 } uselistorder i8 %3, { 0, 2, 1 } uselistorder i64* %.reg2mem5, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i64 (i64, i64)* @qemu_fopen_ops, { 1, 0 } uselistorder i64 (i8*)* @error_report, { 1, 0 } uselistorder i8 0, { 1, 0 } uselistorder i1 false, { 1, 2, 3, 4, 0 } uselistorder i32 1, { 4, 3, 2, 1, 0 } uselistorder label LBL_14, { 1, 0, 2, 3 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_3, { 1, 0, 2 } }
1
BinRealVul
mov_write_minf_tag_1786
mov_write_minf_tag
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1) %3 = call i64 @FUNC(i64 %1, i64 0) %4 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) br i1 icmp ne (i32 ptrtoint ([5 x i8]* @gv_0 to i32), i32 1), label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %1) br label LBL_13 LBL_2: br i1 icmp ne (i32 ptrtoint ([5 x i8]* @gv_0 to i32), i32 2), label LBL_4, label LBL_3 LBL_3: %6 = call i64 @FUNC(i64 %1) br label LBL_13 LBL_4: %7 = add i64 %0, 8 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 br i1 icmp ne (i32 ptrtoint ([5 x i8]* @gv_0 to i32), i32 3), label LBL_9, label LBL_5 LBL_5: %10 = icmp eq i32 %9, 1954047348 br i1 %10, label LBL_7, label LBL_6 LBL_6: %11 = call i64 @FUNC(i64 %0) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 br i1 %13, label LBL_8, label LBL_7 LBL_7: %14 = call i64 @FUNC(i64 %1, i64 %0) br label LBL_13 LBL_8: %15 = call i64 @FUNC(i64 %1) br label LBL_13 LBL_9: %16 = icmp eq i32 %9, 544240754 %17 = icmp eq i1 %16, false br i1 %17, label LBL_11, label LBL_10 LBL_10: %18 = call i64 @FUNC(i64 %1) br label LBL_13 LBL_11: %19 = icmp eq i32 %9, 1684237684 %20 = icmp eq i1 %19, false br i1 %20, label LBL_13, label LBL_12 LBL_12: %21 = call i64 @FUNC(i64 %1, i64 %0) br label LBL_13 LBL_13: %22 = add i64 %0, 12 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = icmp eq i32 %24, 1 %26 = icmp eq i1 %25, false br i1 %26, label LBL_15, label LBL_14 LBL_14: %27 = call i64 @FUNC(i64 %1, i64 0) br label LBL_15 LBL_15: %28 = call i64 @FUNC(i64 %1) %29 = call i64 @FUNC(i64 %1, i64 %0) %30 = trunc i64 %29 to i32 %31 = icmp slt i32 %30, 0 %32 = icmp eq i1 %31, false br i1 %32, label LBL_17, label LBL_16 LBL_16: %33 = and i64 %29, 4294967295 store i64 %33, i64* %storemerge.reg2mem br label LBL_18 LBL_17: %34 = call i64 @FUNC(i64 %1, i64 %2) store i64 %34, i64* %storemerge.reg2mem br label LBL_18 LBL_18: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %9, { 0, 2, 1 } uselistorder i64 %1, { 7, 9, 8, 6, 5, 4, 2, 3, 1, 0, 10, 11, 12 } uselistorder i64 %0, { 1, 2, 4, 0, 5, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64)* @mov_write_gmhd_tag, { 1, 0 } }
0
BinRealVul
qio_channel_command_finalize_5104
qio_channel_command_finalize
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, -1 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i32 @close(i32 %2) br label LBL_2 LBL_2: %5 = ptrtoint i64* %arg1 to i64 %6 = add i64 %5, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp eq i32 %8, -1 %10 = icmp eq i32 %8, %2 %or.cond = or i1 %9, %10 br i1 %or.cond, label LBL_4, label LBL_3 LBL_3: %11 = call i32 @close(i32 %8) br label LBL_4 LBL_4: %12 = bitcast i64* %arg1 to i32* store i32 -1, i32* %12, align 4 store i32 %2, i32* %7, align 4 %13 = add i64 %5, 8 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = zext i32 %15 to i64 %17 = icmp slt i32 %15, 1 store i64 %16, i64* %rax.0.reg2mem br i1 %17, label LBL_6, label LBL_5 LBL_5: %18 = call i64 @FUNC(i64 %5, i64 0) store i64 %18, 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 i32 %8, { 1, 0, 2 } uselistorder i32 %2, { 0, 1, 3, 2 } uselistorder i32 (i32)* @close, { 1, 0 } uselistorder i32 -1, { 2, 0, 1 } }
0
BinRealVul
ida_free_13128
ida_free
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = ptrtoint i64* %arg1 to i64 %2 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %3 = trunc i64 %arg2 to i32 %4 = and i64 %arg2, 4294967295 store i64 %1, i64* %sv_0, align 8 %5 = icmp slt i32 %3, 0 store i64 %4, i64* %rax.0.reg2mem br i1 %5, label LBL_11, label LBL_1 LBL_1: %6 = urem i32 %3, 32 %7 = call i64 @FUNC(i64* nonnull %sv_0, i64 %2) %8 = call i64 @FUNC(i64* nonnull %sv_0) %9 = call i64 @FUNC(i64 %8) %10 = trunc i64 %9 to i8 %11 = icmp eq i8 %10, 0 br i1 %11, label LBL_5, label LBL_2 LBL_2: %12 = call i64 @FUNC(i64 %8) %sext4 = mul i64 %12, 4294967296 %13 = ashr exact i64 %sext4, 32 %14 = zext i32 %6 to i64 %15 = shl i64 1, %14 %16 = and i64 %13, %15 %17 = icmp eq i64 %16, 0 br i1 %17, label LBL_10, label LBL_3 LBL_3: %18 = icmp eq i32 %6, 0 %19 = sub i64 0, %15 %20 = sub i64 %19, 1 %storemerge3 = select i1 %18, i64 -2, i64 %20 %21 = and i64 %13, %storemerge3 %22 = icmp eq i64 %21, 0 br i1 %22, label LBL_8, label LBL_4 LBL_4: %sext6 = mul i64 %21, 4294967296 %23 = ashr exact i64 %sext6, 32 %24 = call i64 @FUNC(i64 %23) %25 = call i64 @FUNC(i64* nonnull %sv_0, i64 %24) br label LBL_9 LBL_5: %26 = zext i32 %6 to i64 %27 = call i64 @FUNC(i64 %26, i64 %8) %28 = trunc i64 %27 to i8 %29 = icmp eq i8 %28, 1 %30 = icmp eq i1 %29, false br i1 %30, label LBL_10, label LBL_6 LBL_6: %31 = call i64 @FUNC(i64 %26, i64 %8) %32 = call i64 @FUNC(i64* nonnull %sv_0, i64 1) %33 = call i64 @FUNC(i64 %8, i64 32) %34 = trunc i64 %33 to i8 %35 = icmp eq i8 %34, 0 br i1 %35, label LBL_9, label LBL_7 LBL_7: %36 = call i64 @FUNC(i64 %8) br label LBL_8 LBL_8: %37 = call i64 @FUNC(i64* nonnull %sv_0, i64 0) br label LBL_9 LBL_9: %38 = call i64 @FUNC(i64* nonnull %sv_0, i64 %2) store i64 %38, i64* %rax.0.reg2mem br label LBL_11 LBL_10: %39 = call i64 @FUNC(i64* nonnull %sv_0, i64 %2) %40 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_0, i64 0, i64 0), i64 %4) store i64 %40, 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 %8, { 0, 2, 1, 3, 4, 5 } uselistorder i64 %4, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64 (i64*, i64)* @xas_unlock_irqrestore, { 1, 0 } uselistorder i64 (i64*, i64)* @xas_store, { 1, 0 } uselistorder i64 1, { 3, 4, 0, 1, 2 } uselistorder i64 32, { 2, 0, 1 } uselistorder label LBL_11, { 1, 2, 0 } uselistorder label LBL_8, { 1, 0 } }
1
BinRealVul
parse_filter_14420
parse_filter
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.02.reg2mem = alloca i64 %storemerge13.reg2mem = alloca i32 %0 = ptrtoint i64* %arg2 to i64 %1 = bitcast i64* %arg2 to i32* store i32 -1, i32* %1, align 4 %2 = add i64 %0, 4 %3 = inttoptr i64 %2 to i32* store i32 -1, i32* %3, align 4 %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i32* store i32 -1, i32* %5, align 4 %6 = add i64 %0, 12 %7 = inttoptr i64 %6 to i32* store i32 -1, i32* %7, align 4 store i32 0, i32* %storemerge13.reg2mem store i64 %arg1, i64* %sv_0.02.reg2mem br label LBL_1 LBL_1: %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem %storemerge13.reload = load i32, i32* %storemerge13.reg2mem %8 = inttoptr i64 %sv_0.02.reload to i8* %9 = call i8* @strpbrk(i8* %8, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0)) %10 = icmp eq i8* %9, null br i1 %10, label LBL_9, label LBL_2 LBL_2: %11 = ptrtoint i8* %9 to i64 %12 = add i64 %11, 1 %13 = inttoptr i64 %12 to i8* %14 = load i8, i8* %13, align 1 %15 = icmp eq i8 %14, 42 br i1 %15, label LBL_8, label LBL_3 LBL_3: switch i32 %storemerge13.reload, label LBL_8 [ i32 3, label LBL_7 i32 2, label LBL_6 i32 0, label LBL_4 i32 1, label LBL_5 ] LBL_4: %16 = call i32 @strtol(i8* %13, i8** null, i32 10) store i32 %16, i32* %1, align 4 br label LBL_8 LBL_5: %17 = call i32 @strtol(i8* %13, i8** null, i32 10) store i32 %17, i32* %3, align 4 br label LBL_8 LBL_6: %18 = call i32 @strtol(i8* %13, i8** null, i32 16) store i32 %18, i32* %5, align 4 br label LBL_8 LBL_7: %19 = call i32 @strtol(i8* %13, i8** null, i32 16) store i32 %19, i32* %7, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_11 LBL_8: %20 = add nuw nsw i32 %storemerge13.reload, 1 %21 = icmp ult i32 %20, 4 store i32 %20, i32* %storemerge13.reg2mem store i64 %12, i64* %sv_0.02.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %21, label LBL_1, label LBL_11 LBL_9: %22 = icmp eq i32 %storemerge13.reload, 0 %23 = icmp eq i1 %22, false store i64 0, i64* %storemerge.reg2mem br i1 %23, label LBL_11, label LBL_10 LBL_10: %24 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %25 = inttoptr i64 %arg1 to i8* %26 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %24, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_2, i64 0, i64 0), i8* %25) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_11 LBL_11: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i8* %13, { 0, 3, 1, 2, 4 } uselistorder i8* %9, { 1, 0 } uselistorder i32 %storemerge13.reload, { 2, 1, 0 } uselistorder i32* %storemerge13.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.02.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 4, 3, 1, 2 } uselistorder i32 (i8*, i8**, i32)* @strtol, { 1, 2, 0, 3 } uselistorder i32 10, { 1, 0 } uselistorder i8** null, { 0, 1, 3, 2 } uselistorder i64 %arg1, { 1, 0 } uselistorder label LBL_11, { 3, 2, 0, 1 } uselistorder label LBL_8, { 2, 3, 4, 0, 1 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
usb_msd_class_initfn_storage_2545
usb_msd_class_initfn_storage
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 4198662, i64* %arg1, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* store i64 4198669, i64* %2, align 8 %3 = load i64, i64* @gv_0, align 8 store i64 %3, i64* %arg1, align 8 ret i64 %0 }
0
BinRealVul
find_dup_si_10940
find_dup_si
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %storemerge2.in6.reg2mem = alloca i64 %storemerge28.reg2mem = alloca i32* %1 = load i64, i64* %0 %storemerge2.in4 = load i64, i64* inttoptr (i64 4210752 to i64*), align 64 %storemerge25 = inttoptr i64 %storemerge2.in4 to i32* %2 = icmp eq i32* %storemerge25, inttoptr (i64 4210736 to i32*) %3 = icmp eq i1 %2, false store i64 0, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_8 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = trunc i64 %1 to i32 %6 = add i64 %4, 4 %7 = inttoptr i64 %6 to i32* store i32* %storemerge25, i32** %storemerge28.reg2mem store i64 %storemerge2.in4, i64* %storemerge2.in6.reg2mem br label LBL_2 LBL_2: %storemerge2.in6.reload = load i64, i64* %storemerge2.in6.reg2mem %storemerge28.reload = load i32*, i32** %storemerge28.reg2mem %8 = load i32, i32* %storemerge28.reload, align 4 %9 = icmp eq i32 %8, %5 %10 = icmp eq i1 %9, false br i1 %10, label LBL_7, label LBL_3 LBL_3: %11 = add i64 %storemerge2.in6.reload, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = load i32, i32* %7, align 4 %15 = icmp eq i32 %13, %14 %16 = icmp eq i1 %15, false br i1 %16, label LBL_7, label LBL_4 LBL_4: %17 = add i64 %4, 8 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = icmp eq i32 %19, 0 store i64 %storemerge2.in6.reload, i64* %storemerge.reg2mem br i1 %20, label LBL_8, label LBL_5 LBL_5: %21 = add i64 %storemerge2.in6.reload, 8 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = icmp eq i32 %23, 0 %25 = icmp eq i1 %24, false store i64 %storemerge2.in6.reload, i64* %storemerge.reg2mem br i1 %25, label LBL_8, label LBL_6 LBL_6: store i32 %19, i32* %22, align 4 store i64 %storemerge2.in6.reload, i64* %storemerge.reg2mem br label LBL_8 LBL_7: %26 = add i64 %storemerge2.in6.reload, 16 %27 = inttoptr i64 %26 to i64* %storemerge2.in = load i64, i64* %27, align 8 %storemerge2 = inttoptr i64 %storemerge2.in to i32* %28 = icmp eq i32* %storemerge2, inttoptr (i64 4210736 to i32*) %29 = icmp eq i1 %28, false store i32* %storemerge2, i32** %storemerge28.reg2mem store i64 %storemerge2.in, i64* %storemerge2.in6.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %29, label LBL_2, label LBL_8 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %storemerge2.in6.reload, { 4, 2, 1, 5, 0, 3 } uselistorder i64 %4, { 1, 0 } uselistorder i32** %storemerge28.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge2.in6.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 1, 5, 4, 3, 2 } uselistorder i64 4, { 1, 0 } uselistorder i1 false, { 4, 1, 2, 3, 0 } uselistorder i32* inttoptr (i64 4210736 to i32*), { 1, 0 } uselistorder label LBL_8, { 0, 4, 3, 2, 1 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
ssh_throttle_all_11637
ssh_throttle_all
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge4.reg2mem = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %arg2 to i32 %3 = trunc i64 %1 to i32 %4 = and i64 %1, 4294967295 %5 = icmp eq i32 %3, %2 store i64 %4, i64* %rax.0.reg2mem br i1 %5, label LBL_7, label LBL_1 LBL_1: %sext = mul i64 %arg2, 4294967296 %6 = ashr exact i64 %sext, 32 %7 = trunc i64 %6 to i32 %8 = inttoptr i64 %arg1 to i32* store i32 %7, i32* %8, align 4 %9 = trunc i64 %arg3 to i32 %10 = add i64 %arg1, 4 %11 = inttoptr i64 %10 to i32* store i32 %9, i32* %11, align 4 %12 = add i64 %arg1, 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = icmp eq i64 %14, 0 store i64 0, i64* %rax.0.reg2mem br i1 %15, label LBL_7, label LBL_2 LBL_2: %16 = call i64 @FUNC(i64 %14, i64 0) %17 = icmp eq i64 %16, 0 %18 = icmp eq i1 %17, false store i64 %16, i64* %rax.0.reg2mem br i1 %18, label LBL_3, label LBL_7 LBL_3: %19 = and i64 %6, 4294967295 store i64 %16, i64* %.reg2mem store i32 0, i32* %storemerge4.reg2mem br label LBL_4 LBL_4: %storemerge4.reload = load i32, i32* %storemerge4.reg2mem %.reload = load i64, i64* %.reg2mem %20 = inttoptr i64 %.reload to i32* %21 = load i32, i32* %20, align 4 %22 = icmp eq i32 %21, 2 br i1 %22, label LBL_5, label LBL_6 LBL_5: %23 = add i64 %.reload, 8 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = call i64 @FUNC(i64 %25, i64 %19) br label LBL_6 LBL_6: %27 = add i32 %storemerge4.reload, 1 %28 = load i64, i64* %13, align 8 %29 = zext i32 %27 to i64 %30 = call i64 @FUNC(i64 %28, i64 %29) %31 = icmp eq i64 %30, 0 %32 = icmp eq i1 %31, false store i64 %30, i64* %.reg2mem store i32 %27, i32* %storemerge4.reg2mem store i64 %30, i64* %rax.0.reg2mem br i1 %32, label LBL_4, label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %16, { 1, 0, 2 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge4.reg2mem, { 1, 0, 2 } uselistorder i1 false, { 1, 0, 2 } uselistorder i64 (i64, i64)* @index234, { 1, 0 } uselistorder i64 4294967295, { 1, 0 } uselistorder i32 1, { 6, 4, 3, 2, 1, 5, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
shrink_dcache_parent_10707
shrink_dcache_parent
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %sv_0 = alloca i64, align 8 %0 = call i64 @FUNC(i64* nonnull %sv_0) %1 = call i64 @FUNC(i64 %arg1, i64* nonnull %sv_0, i64 4198785, i64 0) ret i64 0 }
0
BinRealVul
flex_array_alloc_18453
flex_array_alloc
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = trunc i64 %arg2 to i32 %.rhs.trunc = trunc i64 %arg1 to i32 %1 = udiv i32 1024, %.rhs.trunc %2 = mul i32 %1, 4 %3 = icmp ult i32 %2, %0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_5, label LBL_1 LBL_1: %4 = and i64 %arg3, 4294967295 %5 = call i64 @FUNC(i64 40, i64 %4) %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_2, label LBL_5 LBL_2: %8 = inttoptr i64 %5 to i32* store i32 %.rhs.trunc, i32* %8, align 4 %9 = add i64 %5, 4 %10 = inttoptr i64 %9 to i32* store i32 %0, i32* %10, align 4 %11 = call i64 @FUNC(i64 %5) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 store i64 %5, i64* %rax.0.reg2mem br i1 %13, label LBL_5, label LBL_3 LBL_3: %14 = urem i64 %arg3, 2 %15 = icmp eq i64 %14, 0 %16 = icmp eq i1 %15, false store i64 %5, i64* %rax.0.reg2mem br i1 %16, label LBL_5, label LBL_4 LBL_4: %17 = add i64 %5, 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = inttoptr i64 %19 to i64* %21 = call i64* @memset(i64* %20, i32 0, i32 32) store i64 %5, 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 %5, { 2, 3, 1, 0, 4, 5, 6, 7 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 4, 5 } uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 } uselistorder i32 0, { 0, 2, 1 } uselistorder i32 1, { 1, 0 } uselistorder label LBL_5, { 2, 1, 0, 3, 4 } }
1
BinRealVul
fdt_add_gic_node_14187
fdt_add_gic_node
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = and i64 %1, 4294967295 %3 = call i64 @FUNC(i64 %0, i64* nonnull @gv_0, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i64 %2) %4 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0)) %5 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_4, i64 0, i64 0)) %6 = call i64 @FUNC(i64 %0, i64* bitcast ([6 x i8]* @gv_2 to i64*), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_5, i64 0, i64 0), i64 3) %7 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_6, i64 0, i64 0), i64 0, i64 0) %8 = add i64 %0, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = call i64 @FUNC(i64 %10, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_7, i64 0, i64 0), i64 2, i64 %10, i64 2) %12 = call i64 @FUNC(i64 %10, i64* bitcast ([6 x i8]* @gv_2 to i64*), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_8, i64 0, i64 0), i64 %2) ret i64 %12 uselistorder i64 %10, { 0, 2, 1 } uselistorder i64 2, { 1, 0 } uselistorder [6 x i8]* @gv_2, { 1, 0 } uselistorder i64 (i64, i64*, i8*, i64)* @qemu_fdt_setprop_cell, { 2, 1, 0 } }
1
reposvul_c_test
dhcps_set_addr_pool_296
dhcps_set_addr_pool
define i64 @FUNC(i64 %arg1, i32* %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 %3 = trunc i64 %arg1 to i32 %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = trunc i64 %2 to i32 %6 = trunc i64 %1 to i32 store i32 1, i32* bitcast (i64* @gv_0 to i32*), align 8 store i32 %6, i32* bitcast (i64* @gv_1 to i32*), align 8 %7 = and i64 %2, 4294967295 store i32 %5, i32* bitcast (i64* @gv_2 to i32*), align 8 store i64 %7, i64* %rax.0.reg2mem br label LBL_3 LBL_2: store i32 0, i32* bitcast (i64* @gv_0 to i32*), align 8 br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %2, { 1, 0 } uselistorder i64* %0, { 1, 0 } }
1
BinRealVul
nlmsg_reserve_11433
nlmsg_reserve
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %.reg2mem = alloca i64 %storemerge4.reg2mem = alloca i64 %0 = trunc i64 %arg3 to i32 %1 = icmp eq i32 %0, 0 store i64 %arg2, i64* %storemerge4.reg2mem br i1 %1, label LBL_2, label LBL_1 LBL_1: %sext = mul i64 %arg3, 4294967296 %sext2 = add i64 %sext, -4294967296 %2 = ashr exact i64 %sext2, 32 %3 = add i64 %2, %arg2 %sext3 = sub i64 0, %sext %4 = ashr exact i64 %sext3, 32 %5 = and i64 %3, %4 store i64 %5, i64* %storemerge4.reg2mem br label LBL_2 LBL_2: %6 = ptrtoint i64* %arg1 to i64 %7 = and i64 %6, 4294967295 %storemerge4.reload = load i64, i64* %storemerge4.reg2mem %8 = add i64 %storemerge4.reload, %7 %9 = add i64 %6, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = icmp ugt i64 %8, %11 store i64 0, i64* %storemerge.reg2mem br i1 %12, label LBL_6, label LBL_3 LBL_3: %13 = trunc i64 %6 to i32 %14 = add i64 %7, %6 %15 = trunc i64 %storemerge4.reload to i32 %16 = add i32 %15, %13 %17 = bitcast i64* %arg1 to i32* store i32 %16, i32* %17, align 4 %18 = icmp ugt i64 %storemerge4.reload, %arg2 store i64 %6, i64* %.reg2mem br i1 %18, label LBL_4, label LBL_5 LBL_4: %19 = sub i64 %storemerge4.reload, %arg2 %20 = add i64 %14, %arg2 %21 = inttoptr i64 %20 to i64* %22 = trunc i64 %19 to i32 %23 = call i64* @memset(i64* %21, i32 0, i32 %22) store i64 %20, i64* %.reg2mem br label LBL_5 LBL_5: %24 = and i64 %arg3, 4294967295 %.reload = load i64, i64* %.reg2mem %25 = and i64 %.reload, 4294967295 %26 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_0, i64 0, i64 0), i64 %6, i64 %storemerge4.reload, i64 %arg2, i64 %24, i64 %25) store i64 %14, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %storemerge4.reload, { 3, 1, 2, 0, 4 } uselistorder i64 %6, { 4, 0, 1, 3, 5, 2 } uselistorder i64* %storemerge4.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 4294967295, { 0, 2, 1 } uselistorder i64 %arg3, { 1, 0, 2 } uselistorder i64 %arg2, { 3, 1, 5, 4, 2, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
gp8psk_usb_in_op_18507
gp8psk_usb_in_op
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64* %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %storemerge.in.reg2mem = alloca i64 %storemerge8.reg2mem = alloca i64 %r9.015.reg2mem = alloca i64 %r8.018.reg2mem = alloca i64 %r9.014.reg2mem = alloca i64 %r8.017.reg2mem = alloca i64 %rdx.020.reg2mem = alloca i64 %rcx.022.reg2mem = alloca i64 %sv_0.024.lcssa.reg2mem = alloca i32 %rcx.026.lcssa.reg2mem = alloca i64 %rdx.027.lcssa.reg2mem = alloca i64 %r8.028.lcssa.reg2mem = alloca i64 %r9.029.lcssa.reg2mem = alloca i64 %indvars.iv40.reg2mem = alloca i64 %0 = ptrtoint i64* %arg5 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 store i64 %0, i64* %sv_1, align 8 %2 = add i64 %1, 48 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = add i64 %1, 8 %6 = call i64 @FUNC(i64 %5) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 store i64 %6, i64* %storemerge.in.reg2mem br i1 %8, label LBL_1, label LBL_7 LBL_1: %9 = ptrtoint i64* %sv_1 to i64 %sext = mul i64 %arg6, 4294967296 %10 = ashr exact i64 %sext, 32 %sext6 = mul i64 %arg3, 281474976710656 %11 = ashr exact i64 %sext6, 48 %sext7 = mul i64 %arg4, 281474976710656 %12 = ashr exact i64 %sext7, 48 %13 = urem i64 %arg2, 256 %14 = and i64 %arg2, 4294967295 %15 = trunc i64 %10 to i32 %16 = inttoptr i64 %4 to i64* %17 = add i64 %9, -16 %18 = inttoptr i64 %17 to i64* %19 = and i64 %10, 4294967295 %20 = add i64 %9, -24 %21 = inttoptr i64 %20 to i64* %22 = add i64 %9, -32 %23 = inttoptr i64 %22 to i64* %24 = urem i64 %12, 65536 %25 = urem i64 %11, 65536 %26 = icmp eq i32 %15, 0 store i64 0, i64* %indvars.iv40.reg2mem store i64 %arg6, i64* %r9.029.lcssa.reg2mem store i64 %0, i64* %r8.028.lcssa.reg2mem store i64 %arg3, i64* %rdx.027.lcssa.reg2mem store i64 %14, i64* %rcx.026.lcssa.reg2mem store i32 0, i32* %sv_0.024.lcssa.reg2mem br i1 %26, label LBL_4, label LBL_2 LBL_2: %indvars.iv40.reload = load i64, i64* %indvars.iv40.reg2mem %27 = load i64, i64* %sv_1, align 8 %28 = inttoptr i64 %27 to i64* %29 = call i64* @memcpy(i64* %16, i64* %28, i32 %15) %30 = call i64 @FUNC(i64 %4, i64 0) %31 = and i64 %30, 4294967295 store i64 2000, i64* %18, align 8 store i64 %19, i64* %21, align 8 store i64 %4, i64* %23, align 8 %32 = call i64 @FUNC(i64 %4, i64 %31, i64 %13, i64 192, i64 %25, i64 %24, i64 ptrtoint (i32* @0 to i64)) %33 = trunc i64 %32 to i32 %34 = and i64 %32, 4294967295 %35 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0), i64 %indvars.iv40.reload, i32 %33, i64 192, i64 %25, i64 %24) %36 = icmp slt i32 %33, 0 store i64 192, i64* %rcx.022.reg2mem store i64 %34, i64* %rdx.020.reg2mem store i64 %25, i64* %r8.017.reg2mem store i64 %24, i64* %r9.014.reg2mem br i1 %36, label LBL_5, label LBL_3 LBL_3: %indvars.iv.next = add nuw nsw i64 %indvars.iv40.reload, 1 %37 = icmp ne i32 %33, %15 %38 = icmp ult i64 %indvars.iv.next, 3 %or.cond = icmp eq i1 %38, %37 store i64 %indvars.iv.next, i64* %indvars.iv40.reg2mem store i64 %24, i64* %r9.029.lcssa.reg2mem store i64 %25, i64* %r8.028.lcssa.reg2mem store i64 %34, i64* %rdx.027.lcssa.reg2mem store i64 192, i64* %rcx.026.lcssa.reg2mem store i32 %33, i32* %sv_0.024.lcssa.reg2mem br i1 %or.cond, label LBL_2, label LBL_4 LBL_4: %sv_0.024.lcssa.reload = load i32, i32* %sv_0.024.lcssa.reg2mem %rcx.026.lcssa.reload = load i64, i64* %rcx.026.lcssa.reg2mem %rdx.027.lcssa.reload = load i64, i64* %rdx.027.lcssa.reg2mem %r8.028.lcssa.reload = load i64, i64* %r8.028.lcssa.reg2mem %r9.029.lcssa.reload = load i64, i64* %r9.029.lcssa.reg2mem %39 = icmp eq i32 %sv_0.024.lcssa.reload, %15 store i64 %rcx.026.lcssa.reload, i64* %rcx.022.reg2mem store i64 %rdx.027.lcssa.reload, i64* %rdx.020.reg2mem store i64 %r8.028.lcssa.reload, i64* %r8.017.reg2mem store i64 %r9.029.lcssa.reload, i64* %r9.014.reg2mem store i64 %r8.028.lcssa.reload, i64* %r8.018.reg2mem store i64 %r9.029.lcssa.reload, i64* %r9.015.reg2mem store i64 0, i64* %storemerge8.reg2mem br i1 %39, label LBL_6, label LBL_5 LBL_5: %r9.014.reload = load i64, i64* %r9.014.reg2mem %r8.017.reload = load i64, i64* %r8.017.reg2mem %rdx.020.reload = load i64, i64* %rdx.020.reg2mem %rcx.022.reload = load i64, i64* %rcx.022.reg2mem %40 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_1, i64 0, i64 0), i64 %13, i64 %rdx.020.reload, i64 %rcx.022.reload, i64 %r8.017.reload, i64 %r9.014.reload) store i64 %r8.017.reload, i64* %r8.018.reg2mem store i64 %r9.014.reload, i64* %r9.015.reg2mem store i64 4294967291, i64* %storemerge8.reg2mem br label LBL_6 LBL_6: %storemerge8.reload = load i64, i64* %storemerge8.reg2mem %r9.015.reload = load i64, i64* %r9.015.reg2mem %r8.018.reload = load i64, i64* %r8.018.reg2mem %41 = trunc i64 %12 to i16 %42 = trunc i64 %11 to i16 %43 = call i64 @FUNC(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_2, i64 0, i64 0), i64 %13, i16 %42, i16 %41, i64 %r8.018.reload, i64 %r9.015.reload) %44 = load i64, i64* %sv_1, align 8 %45 = call i64 @FUNC(i64 %44, i64 %19, i64 4199008) %46 = call i64 @FUNC(i64 %5) store i64 %storemerge8.reload, i64* %storemerge.in.reg2mem br label LBL_7 LBL_7: %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem %storemerge = and i64 %storemerge.in.reload, 4294967295 ret i64 %storemerge uselistorder i64 %34, { 1, 0 } uselistorder i64 %indvars.iv40.reload, { 1, 0 } uselistorder i64 %25, { 1, 0, 3, 2 } uselistorder i64 %24, { 1, 0, 3, 2 } uselistorder i32 %15, { 1, 3, 2, 0 } uselistorder i64 %13, { 2, 1, 0 } uselistorder i64 %12, { 1, 0 } uselistorder i64 %11, { 1, 0 } uselistorder i64 %4, { 2, 3, 1, 0 } uselistorder i64* %sv_1, { 0, 1, 3, 2 } uselistorder i64* %indvars.iv40.reg2mem, { 2, 0, 1 } uselistorder i64* %rcx.022.reg2mem, { 0, 2, 1 } uselistorder i64* %rdx.020.reg2mem, { 0, 2, 1 } uselistorder i64* %r8.017.reg2mem, { 0, 2, 1 } uselistorder i64* %r9.014.reg2mem, { 0, 2, 1 } uselistorder i64* %r8.018.reg2mem, { 0, 2, 1 } uselistorder i64* %r9.015.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge8.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 } uselistorder i64 192, { 1, 0, 3, 2 } uselistorder i32 0, { 2, 0, 1, 3 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
avpriv_toupper4_15415
avpriv_toupper4
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = urem i64 %arg1, 256 %1 = call i64 @FUNC(i64 %0) %2 = udiv i64 %arg1, 256 %3 = urem i64 %2, 256 %4 = call i64 @FUNC(i64 %3) %5 = mul i64 %4, 256 %6 = and i64 %5, 65280 %7 = urem i64 %1, 256 %8 = or i64 %6, %7 %9 = udiv i64 %arg1, 65536 %10 = urem i64 %9, 256 %11 = call i64 @FUNC(i64 %10) %12 = mul i64 %11, 65536 %13 = and i64 %12, 16711680 %14 = or i64 %8, %13 %15 = udiv i64 %arg1, 16777216 %16 = urem i64 %15, 256 %17 = call i64 @FUNC(i64 %16) %18 = mul i64 %17, 16777216 %.masked = and i64 %18, 4278190080 %19 = or i64 %14, %.masked ret i64 %19 uselistorder i64 (i64)* @av_toupper, { 3, 2, 1, 0 } uselistorder i64 256, { 2, 3, 4, 0, 5, 1, 6, 7 } }
1
BinRealVul
anon_vma_clone_12044
anon_vma_clone
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge2.reg2mem = alloca i64 %sv_0.1.lcssa.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_0.16.reg2mem = alloca i64 %storemerge7.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = add i64 %0, 8 %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false store i64 0, i64* %sv_0.1.lcssa.reg2mem br i1 %4, label LBL_1, label LBL_8 LBL_1: %5 = icmp eq i64* %arg1, null %6 = icmp eq i1 %5, false store i64 %2, i64* %storemerge7.reg2mem store i64 0, i64* %sv_0.16.reg2mem br label LBL_2 LBL_2: %sv_0.16.reload = load i64, i64* %sv_0.16.reg2mem %storemerge7.reload = load i64, i64* %storemerge7.reg2mem %7 = call i64 @FUNC(i64 0) %8 = icmp eq i64 %7, 0 %9 = icmp eq i1 %8, false store i64 %sv_0.16.reload, i64* %sv_0.0.reg2mem store i64 %7, i64* %sv_1.0.reg2mem br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = call i64 @FUNC(i64 %sv_0.16.reload) %11 = call i64 @FUNC(i64 1) %12 = icmp eq i64 %11, 0 store i64 0, i64* %sv_0.0.reg2mem store i64 %11, i64* %sv_1.0.reg2mem br i1 %12, label LBL_11, label LBL_4 LBL_4: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %13 = inttoptr i64 %storemerge7.reload to i64* %14 = load i64, i64* %13, align 8 %15 = call i64 @FUNC(i64 %sv_0.0.reload, i64 %14) %16 = call i64 @FUNC(i64 %1, i64 %sv_1.0.reload, i64 %14) %17 = icmp eq i64 %sv_1.0.reload, 0 %or.cond = or i1 %6, %17 %18 = icmp eq i64 %sv_1.0.reload, %14 %or.cond4 = or i1 %or.cond, %18 br i1 %or.cond4, label LBL_7, label LBL_5 LBL_5: %19 = inttoptr i64 %14 to i32* %20 = load i32, i32* %19, align 4 %21 = icmp sgt i32 %20, 1 br i1 %21, label LBL_7, label LBL_6 LBL_6: store i64 %14, i64* %arg1, align 8 br label LBL_7 LBL_7: %22 = add i64 %storemerge7.reload, 8 %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* %storemerge7.reg2mem store i64 %15, i64* %sv_0.16.reg2mem store i64 %15, i64* %sv_0.1.lcssa.reg2mem br i1 %26, label LBL_2, label LBL_8 LBL_8: %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem %27 = icmp eq i64* %arg1, null br i1 %27, label LBL_10, label LBL_9 LBL_9: %28 = trunc i64 %1 to i32 %29 = add i32 %28, 1 %30 = bitcast i64* %arg1 to i32* store i32 %29, i32* %30, align 4 br label LBL_10 LBL_10: %31 = call i64 @FUNC(i64 %sv_0.1.lcssa.reload) store i64 0, i64* %storemerge2.reg2mem br label LBL_12 LBL_11: store i64 0, i64* %arg1, align 8 %32 = call i64 @FUNC(i64 %1) store i64 4294967284, i64* %storemerge2.reg2mem br label LBL_12 LBL_12: %storemerge2.reload = load i64, i64* %storemerge2.reg2mem ret i64 %storemerge2.reload uselistorder i64 %14, { 1, 2, 0, 3, 4 } uselistorder i64 %sv_1.0.reload, { 2, 1, 0 } uselistorder i64 %sv_0.16.reload, { 1, 0 } uselistorder i64 %1, { 1, 0, 2 } uselistorder i64* %storemerge7.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.16.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @unlock_anon_vma_root, { 1, 0 } uselistorder i64 (i64)* @anon_vma_chain_alloc, { 1, 0 } uselistorder i1 false, { 3, 1, 2, 0 } uselistorder i64* %arg1, { 2, 0, 1, 3, 4, 5 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
qmp_input_visitor_new_14982
qmp_input_visitor_new
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = call i64 @FUNC(i64 136) %3 = inttoptr i64 %2 to i32* store i32 1, i32* %3, align 4 %4 = add i64 %2, 8 %5 = inttoptr i64 %4 to i64* store i64 4198737, i64* %5, align 8 %6 = add i64 %2, 16 %7 = inttoptr i64 %6 to i64* store i64 4198744, i64* %7, align 8 %8 = add i64 %2, 24 %9 = inttoptr i64 %8 to i64* store i64 4198751, i64* %9, align 8 %10 = add i64 %2, 32 %11 = inttoptr i64 %10 to i64* store i64 4198758, i64* %11, align 8 %12 = add i64 %2, 40 %13 = inttoptr i64 %12 to i64* store i64 4198765, i64* %13, align 8 %14 = add i64 %2, 48 %15 = inttoptr i64 %14 to i64* store i64 4198772, i64* %15, align 8 %16 = add i64 %2, 56 %17 = inttoptr i64 %16 to i64* store i64 4198779, i64* %17, align 8 %18 = add i64 %2, 64 %19 = inttoptr i64 %18 to i64* store i64 4198786, i64* %19, align 8 %20 = add i64 %2, 72 %21 = inttoptr i64 %20 to i64* store i64 4198793, i64* %21, align 8 %22 = add i64 %2, 80 %23 = inttoptr i64 %22 to i64* store i64 4198800, i64* %23, align 8 %24 = add i64 %2, 88 %25 = inttoptr i64 %24 to i64* store i64 4198807, i64* %25, align 8 %26 = add i64 %2, 96 %27 = inttoptr i64 %26 to i64* store i64 4198814, i64* %27, align 8 %28 = add i64 %2, 104 %29 = inttoptr i64 %28 to i64* store i64 4198821, i64* %29, align 8 %30 = add i64 %2, 112 %31 = inttoptr i64 %30 to i64* store i64 4198828, i64* %31, align 8 %32 = urem i32 %1, 256 %33 = add i64 %2, 120 %34 = inttoptr i64 %33 to i32* store i32 %32, i32* %34, align 4 %35 = add i64 %2, 128 %36 = inttoptr i64 %35 to i64* store i64 %0, i64* %36, align 8 %37 = call i64 @FUNC(i64 %0) ret i64 %2 }
1
BinRealVul
ff_h264_slice_context_init_7392
ff_h264_slice_context_init
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge1.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i32 %.reg2mem32 = alloca i32 %.reg2mem30 = alloca i64 %storemerge26.reg2mem = alloca i32 %.reg2mem28 = alloca i32 %.reg2mem26 = alloca i32 %.reg2mem24 = alloca i32 %.reg2mem22 = alloca i32 %.reg2mem20 = alloca i32 %.reg2mem18 = alloca i32 %storemerge35.reg2mem = alloca i32 %.reg2mem = alloca i32 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = add i64 %1, 8 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = add i64 %1, 16 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = add i64 %1, 12 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = add i64 %0, add (i64 mul (i64 add (i64 sext (i32 ptrtoint (i32* @gv_0 to i32) to i64), i64 40), i64 4), i64 8) %12 = inttoptr i64 %11 to i32* store i32 -1, i32* %12, align 4 %13 = add i64 %0, add (i64 mul (i64 ptrtoint (i64* @gv_1 to i64), i64 4), i64 8) %14 = inttoptr i64 %13 to i32* store i32 -1, i32* %14, align 4 %15 = add i64 %0, add (i64 mul (i64 ptrtoint (i64* @gv_2 to i64), i64 4), i64 8) %16 = inttoptr i64 %15 to i32* store i32 -1, i32* %16, align 4 %17 = add i64 %0, add (i64 mul (i64 ptrtoint (i64* @gv_3 to i64), i64 4), i64 8) %18 = inttoptr i64 %17 to i32* store i32 -1, i32* %18, align 4 %19 = add i64 %0, add (i64 mul (i64 ptrtoint (i32* @gv_0 to i64), i64 4), i64 8) %20 = inttoptr i64 %19 to i32* store i32 -1, i32* %20, align 4 %21 = add i64 %0, add (i64 mul (i64 ptrtoint (i64* @gv_4 to i64), i64 4), i64 8) %22 = inttoptr i64 %21 to i32* store i32 -1, i32* %22, align 4 %23 = add i64 %1, 24 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = icmp eq i64 %25, %0 br i1 %26, label LBL_2, label LBL_1 LBL_1: %27 = call i64* @memset(i64* %arg2, i32 0, i32 104) store i64 0, i64* %storemerge1.reg2mem br label LBL_15 LBL_2: store i64 %1, i64* %arg2, align 8 %28 = add i64 %0, 8 %29 = inttoptr i64 %28 to i64* store i64 4198758, i64* %29, align 8 %30 = add i64 %0, 16 %31 = inttoptr i64 %30 to i64* store i64 %1, i64* %31, align 8 %32 = add i64 %0, 24 %33 = inttoptr i64 %32 to i32* store i32 1, i32* %33, align 4 %34 = add i64 %1, 20 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = add i64 %0, 28 %38 = inttoptr i64 %37 to i32* store i32 %36, i32* %38, align 4 %39 = load i32, i32* %9, align 4 %40 = add i64 %0, 32 %41 = inttoptr i64 %40 to i32* store i32 %39, i32* %41, align 4 %42 = load i32, i32* %3, align 4 %43 = add i64 %0, 36 %44 = inttoptr i64 %43 to i32* store i32 %42, i32* %44, align 4 %45 = load i32, i32* %6, align 4 %46 = add i64 %0, 40 %47 = inttoptr i64 %46 to i32* store i32 %45, i32* %47, align 4 %48 = load i32, i32* %9, align 4 %49 = mul i32 %48, 2 %50 = or i32 %49, 1 %51 = add i64 %0, 44 %52 = inttoptr i64 %51 to i32* store i32 %50, i32* %52, align 4 %53 = load i32, i32* %35, align 4 %54 = mul i32 %53, 4 %55 = add i32 %54, 4 %56 = call i64* @calloc(i32 1, i32 %55) %57 = ptrtoint i64* %56 to i64 %58 = add i64 %0, 48 %59 = inttoptr i64 %58 to i64* store i64 %57, i64* %59, align 8 %60 = icmp eq i64* %56, null store i64 12, i64* %storemerge1.reg2mem br i1 %60, label LBL_15, label LBL_3 LBL_3: %61 = load i32, i32* %3, align 4 %62 = icmp eq i32 %61, 0 %.pre10 = load i32, i32* %9, align 4 store i32 %.pre10, i32* %.reg2mem24 store i32 %61, i32* %.reg2mem26 store i32 %.pre10, i32* %.reg2mem28 store i32 0, i32* %storemerge26.reg2mem store i64 %57, i64* %.reg2mem30 store i32 %.pre10, i32* %.reg2mem32 store i32 0, i32* %.lcssa.reg2mem br i1 %62, label LBL_9, label LBL_7 LBL_4: %storemerge35.reload = load i32, i32* %storemerge35.reg2mem %.reload = load i32, i32* %.reg2mem %63 = load i32, i32* %6, align 4 %64 = mul i32 %63, %storemerge26.reload %65 = load i64, i64* %59, align 8 %66 = mul i32 %.reload, %storemerge26.reload %67 = add i32 %66, %storemerge35.reload %68 = sext i32 %67 to i64 %69 = mul i64 %68, 4 %70 = add i64 %69, %65 %71 = add i32 %64, %storemerge35.reload %72 = inttoptr i64 %70 to i32* store i32 %71, i32* %72, align 4 %73 = add i32 %storemerge35.reload, 1 %74 = load i32, i32* %9, align 4 %75 = zext i32 %74 to i64 %76 = sext i32 %73 to i64 %77 = icmp slt i64 %76, %75 store i32 %74, i32* %.reg2mem store i32 %73, i32* %storemerge35.reg2mem br i1 %77, label LBL_4, label LBL_5 LBL_5: %.pre9 = load i32, i32* %3, align 4 store i32 %74, i32* %.reg2mem18 store i32 %.pre9, i32* %.reg2mem20 store i32 %74, i32* %.reg2mem22 br label LBL_6 LBL_6: %.reload23 = load i32, i32* %.reg2mem22 %.reload21 = load i32, i32* %.reg2mem20 %.reload19 = load i32, i32* %.reg2mem18 %78 = add i32 %storemerge26.reload, 1 %79 = zext i32 %.reload21 to i64 %80 = sext i32 %78 to i64 %81 = icmp slt i64 %80, %79 store i32 %.reload19, i32* %.reg2mem24 store i32 %.reload21, i32* %.reg2mem26 store i32 %.reload23, i32* %.reg2mem28 store i32 %78, i32* %storemerge26.reg2mem br i1 %81, label LBL_7, label LBL_8 LBL_7: %storemerge26.reload = load i32, i32* %storemerge26.reg2mem %.reload29 = load i32, i32* %.reg2mem28 %.reload27 = load i32, i32* %.reg2mem26 %.reload25 = load i32, i32* %.reg2mem24 %82 = icmp eq i32 %.reload29, 0 store i32 %.reload29, i32* %.reg2mem store i32 0, i32* %storemerge35.reg2mem store i32 %.reload25, i32* %.reg2mem18 store i32 %.reload27, i32* %.reg2mem20 store i32 0, i32* %.reg2mem22 br i1 %82, label LBL_6, label LBL_4 LBL_8: %.pre11 = load i64, i64* %59, align 8 store i64 %.pre11, i64* %.reg2mem30 store i32 %.reload19, i32* %.reg2mem32 store i32 %.reload21, i32* %.lcssa.reg2mem br label LBL_9 LBL_9: %83 = mul i32 %7, %4 %.lcssa.reload = load i32, i32* %.lcssa.reg2mem %.reload33 = load i32, i32* %.reg2mem32 %.reload31 = load i64, i64* %.reg2mem30 %84 = add i32 %.lcssa.reload, -1 %85 = load i32, i32* %6, align 4 %86 = mul i32 %85, %84 %87 = mul i32 %.lcssa.reload, %.reload33 %88 = sext i32 %87 to i64 %89 = mul i64 %88, 4 %90 = add i64 %89, %.reload31 %91 = add i32 %86, %.reload33 %92 = inttoptr i64 %90 to i32* store i32 %91, i32* %92, align 4 %93 = call i64* @calloc(i32 1, i32 %83) %94 = ptrtoint i64* %93 to i64 %95 = add i64 %0, 56 %96 = inttoptr i64 %95 to i64* store i64 %94, i64* %96, align 8 %97 = icmp eq i64* %93, null store i64 12, i64* %storemerge1.reg2mem br i1 %97, label LBL_15, label LBL_10 LBL_10: %98 = load i32, i32* %3, align 4 %99 = load i32, i32* %6, align 4 %100 = mul i32 %99, %98 %101 = call i64* @malloc(i32 %100) %102 = ptrtoint i64* %101 to i64 %103 = add i64 %0, 64 %104 = inttoptr i64 %103 to i64* store i64 %102, i64* %104, align 8 %105 = icmp eq i64* %101, null store i64 12, i64* %storemerge1.reg2mem br i1 %105, label LBL_15, label LBL_11 LBL_11: %106 = mul i32 %10, 2 %107 = or i32 %106, 1 %108 = mul i32 %4, 2 %109 = or i32 %108, 1 %110 = mul i32 %107, %109 %111 = add i32 %4, 1 %112 = mul i32 %111, %7 %113 = mul i32 %112, 2 %114 = add i32 %110, %113 %115 = mul i32 %114, 2 %116 = call i64* @calloc(i32 1, i32 %115) %117 = ptrtoint i64* %116 to i64 %118 = add i64 %0, 232 %119 = inttoptr i64 %118 to i64* store i64 %117, i64* %119, align 8 %120 = icmp eq i64* %116, null store i64 12, i64* %storemerge1.reg2mem br i1 %120, label LBL_15, label LBL_12 LBL_12: %121 = load i32, i32* %9, align 4 %122 = mul i32 %121, 2 %123 = sext i32 %122 to i64 %124 = mul i64 %123, 2 %125 = add i64 %117, 4 %126 = add i64 %125, %124 %127 = add i64 %0, 80 %128 = inttoptr i64 %127 to i64* store i64 %126, i64* %128, align 8 %129 = load i64, i64* %119, align 8 %130 = sext i32 %110 to i64 %131 = load i32, i32* %6, align 4 %132 = sext i32 %131 to i64 %133 = add nsw i64 %132, %130 %134 = mul i64 %133, 2 %135 = add i64 %129, 2 %136 = add i64 %135, %134 %137 = add i64 %0, 88 %138 = inttoptr i64 %137 to i64* store i64 %136, i64* %138, align 8 %139 = sext i32 %112 to i64 %140 = mul i64 %139, 2 %141 = add i64 %136, %140 %142 = add i64 %0, 96 %143 = inttoptr i64 %142 to i64* store i64 %141, i64* %143, align 8 %144 = icmp sgt i32 %114, 0 store i64 0, i64* %storemerge1.reg2mem br i1 %144, label LBL_13, label LBL_15 LBL_13: %wide.trip.count = zext i32 %114 to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_14 LBL_14: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %145 = load i64, i64* %119, align 8 %146 = mul i64 %indvars.iv.reload, 2 %147 = add i64 %145, %146 %148 = inttoptr i64 %147 to i16* store i16 1024, i16* %148, align 2 %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 store i64 0, i64* %storemerge1.reg2mem br i1 %exitcond, label LBL_15, label LBL_14 LBL_15: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem ret i64 %storemerge1.reload uselistorder i32 %114, { 1, 2, 0 } uselistorder i32 %112, { 1, 0 } uselistorder i32 %110, { 1, 0 } uselistorder i32 %.reload33, { 1, 0 } uselistorder i32 %.lcssa.reload, { 1, 0 } uselistorder i32 %.reload29, { 1, 0 } uselistorder i32 %storemerge26.reload, { 1, 2, 0 } uselistorder i32 %storemerge35.reload, { 1, 2, 0 } uselistorder i32* %9, { 1, 2, 0, 3, 4, 5 } uselistorder i32 %7, { 1, 0 } uselistorder i32 %4, { 2, 0, 1 } uselistorder i32* %3, { 2, 0, 1, 3, 4 } uselistorder i64 %0, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 0, 16, 17, 18, 19, 20, 21 } uselistorder i32* %.reg2mem, { 1, 2, 0 } uselistorder i32* %storemerge35.reg2mem, { 1, 2, 0 } uselistorder i32* %.reg2mem18, { 2, 0, 1 } uselistorder i32* %.reg2mem20, { 2, 0, 1 } uselistorder i32* %.reg2mem22, { 2, 0, 1 } uselistorder i32* %.reg2mem24, { 0, 2, 1 } uselistorder i32* %.reg2mem26, { 0, 2, 1 } uselistorder i32* %.reg2mem28, { 0, 2, 1 } uselistorder i32* %storemerge26.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem30, { 0, 2, 1 } uselistorder i32* %.reg2mem32, { 0, 2, 1 } uselistorder i32* %.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge1.reg2mem, { 0, 1, 2, 6, 5, 4, 3, 7 } uselistorder i64 2, { 0, 1, 4, 2, 3 } uselistorder i64* (i32, i32)* @calloc, { 2, 1, 0 } uselistorder i32 4, { 1, 0 } uselistorder i32 2, { 0, 1, 3, 4, 5, 2 } uselistorder i32 -1, { 5, 0, 1, 2, 3, 4, 6 } uselistorder i64 4, { 2, 0, 1, 3, 4, 5, 6, 7, 8 } uselistorder i64 40, { 1, 0 } uselistorder i32* @gv_0, { 1, 0 } uselistorder i64 12, { 3, 2, 1, 0, 4 } uselistorder i64 8, { 6, 0, 1, 2, 3, 4, 5, 7 } uselistorder label LBL_15, { 0, 1, 5, 4, 3, 2, 6 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_7, { 1, 0 } }
1
BinRealVul
dwt_encode97_int_16868
dwt_encode97_int
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.in.lcssa.reg2mem = alloca i32 %storemerge1.lcssa.reg2mem = alloca i32 %rdi.1.lcssa.reg2mem = alloca i64 %storemerge121.reg2mem = alloca i32 %sv_0.119.reg2mem = alloca i32 %sv_1.120.reg2mem = alloca i32 %sv_0.0.lcssa.reg2mem = alloca i32 %sv_0.016.reg2mem = alloca i32 %sv_1.017.reg2mem = alloca i32 %indvars.iv33.reg2mem = alloca i64 %rdi.0.lcssa.reg2mem = alloca i64 %storemerge310.reg2mem = alloca i32 %sv_2.18.reg2mem = alloca i32 %sv_3.19.reg2mem = alloca i32 %sv_2.0.lcssa.reg2mem = alloca i32 %sv_2.06.reg2mem = alloca i32 %sv_3.07.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %rdi.227.reg2mem = alloca i64 %storemerge28.reg2mem = alloca i32 %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 = sext i32 %3 to i64 %5 = mul i64 %4, 8 %6 = add i64 %0, -8 %7 = add i64 %6, %5 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = add i32 %3, -1 %13 = icmp slt i32 %12, 0 %14 = icmp eq i1 %13, false store i32 %12, i32* %rax.0.in.lcssa.reg2mem br i1 %14, label LBL_1, label LBL_24 LBL_1: %15 = add i64 %0, 24 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = add i64 %17, 20 %19 = add i64 %0, 8 %20 = inttoptr i64 %19 to i64* store i32 %12, i32* %storemerge28.reg2mem store i64 %0, i64* %rdi.227.reg2mem br label LBL_2 LBL_2: %rdi.227.reload = load i64, i64* %rdi.227.reg2mem %storemerge28.reload = load i32, i32* %storemerge28.reg2mem %21 = sext i32 %storemerge28.reload to i64 %22 = mul i64 %21, 8 %23 = add i64 %22, %rdi.227.reload %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = add i64 %25, 4 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = load i64, i64* %20, align 8 %32 = add i64 %31, %22 %33 = inttoptr i64 %32 to i64* %34 = load i64, i64* %33, align 8 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = add i64 %34, 4 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 %40 = icmp sgt i32 %27, 0 store i64 %rdi.227.reload, i64* %rdi.0.lcssa.reg2mem br i1 %40, label LBL_3, label LBL_11 LBL_3: %41 = sext i32 %39 to i64 %42 = mul i64 %41, 4 %43 = add i64 %42, %18 %44 = icmp sgt i32 %30, 0 %45 = add i32 %39, %30 %46 = zext i32 %39 to i64 %47 = icmp slt i32 %39, %30 %48 = sub i32 1, %39 %49 = icmp slt i32 %48, %30 %wide.trip.count = zext i32 %30 to i64 store i32 0, i32* %storemerge310.reg2mem br label LBL_10 LBL_4: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %50 = trunc i64 %indvars.iv.reload to i32 %51 = mul i32 %11, %50 %52 = add i32 %51, %storemerge310.reload %53 = sext i32 %52 to i64 %54 = mul i64 %53, 4 %55 = add i64 %54, %arg2 %56 = mul i64 %indvars.iv.reload, 4 %57 = add i64 %56, %43 %58 = inttoptr i64 %55 to i32* %59 = load i32, i32* %58, align 4 %60 = inttoptr i64 %57 to i32* store i32 %59, i32* %60, align 4 %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_5, label LBL_4 LBL_5: %61 = call i64 @FUNC(i64 %18, i64 %46, i32 %45) store i32 %39, i32* %sv_3.07.reg2mem store i32 0, i32* %sv_2.06.reg2mem store i32 0, i32* %sv_2.0.lcssa.reg2mem br i1 %47, label LBL_6, label LBL_7 LBL_6: %sv_2.06.reload = load i32, i32* %sv_2.06.reg2mem %sv_3.07.reload = load i32, i32* %sv_3.07.reg2mem %62 = sext i32 %sv_3.07.reload to i64 %63 = mul i64 %62, 4 %64 = add i64 %63, %43 %65 = inttoptr i64 %64 to i32* %66 = load i32, i32* %65, align 4 %67 = add i32 %66, 65536 %68 = mul i32 %sv_2.06.reload, %11 %69 = add i32 %68, %storemerge310.reload %70 = sext i32 %69 to i64 %71 = mul i64 %70, 4 %72 = add i64 %71, %arg2 %73 = ashr i32 %67, 17 %74 = inttoptr i64 %72 to i32* store i32 %73, i32* %74, align 4 %75 = add i32 %sv_3.07.reload, 2 %76 = add i32 %sv_2.06.reload, 1 %77 = icmp slt i32 %75, %30 store i32 %75, i32* %sv_3.07.reg2mem store i32 %76, i32* %sv_2.06.reg2mem store i32 %76, i32* %sv_2.0.lcssa.reg2mem br i1 %77, label LBL_6, label LBL_7 LBL_7: %sv_2.0.lcssa.reload = load i32, i32* %sv_2.0.lcssa.reg2mem store i32 %48, i32* %sv_3.19.reg2mem store i32 %sv_2.0.lcssa.reload, i32* %sv_2.18.reg2mem br i1 %49, label LBL_8, label LBL_9 LBL_8: %sv_2.18.reload = load i32, i32* %sv_2.18.reg2mem %sv_3.19.reload = load i32, i32* %sv_3.19.reg2mem %78 = sext i32 %sv_3.19.reload to i64 %79 = mul i64 %78, 4 %80 = add i64 %79, %43 %81 = inttoptr i64 %80 to i32* %82 = load i32, i32* %81, align 4 %83 = add i32 %82, 65536 %84 = mul i32 %sv_2.18.reload, %11 %85 = add i32 %84, %storemerge310.reload %86 = sext i32 %85 to i64 %87 = mul i64 %86, 4 %88 = add i64 %87, %arg2 %89 = ashr i32 %83, 17 %90 = inttoptr i64 %88 to i32* store i32 %89, i32* %90, align 4 %91 = add i32 %sv_3.19.reload, 2 %92 = add i32 %sv_2.18.reload, 1 %93 = icmp slt i32 %91, %30 store i32 %91, i32* %sv_3.19.reg2mem store i32 %92, i32* %sv_2.18.reg2mem br i1 %93, label LBL_8, label LBL_9 LBL_9: %94 = add nuw nsw i32 %storemerge310.reload, 1 %exitcond32 = icmp eq i32 %94, %27 store i32 %94, i32* %storemerge310.reg2mem store i64 %18, i64* %rdi.0.lcssa.reg2mem br i1 %exitcond32, label LBL_11, label LBL_10 LBL_10: %storemerge310.reload = load i32, i32* %storemerge310.reg2mem store i64 0, i64* %indvars.iv.reg2mem br i1 %44, label LBL_4, label LBL_5 LBL_11: %rdi.0.lcssa.reload = load i64, i64* %rdi.0.lcssa.reg2mem %95 = icmp sgt i32 %30, 0 store i64 %rdi.0.lcssa.reload, i64* %rdi.1.lcssa.reg2mem store i32 0, i32* %storemerge1.lcssa.reg2mem br i1 %95, label LBL_12, label LBL_23 LBL_12: %96 = sext i32 %36 to i64 %97 = mul i64 %96, 4 %98 = add i64 %97, %18 %99 = add i32 %36, %27 %100 = zext i32 %36 to i64 %101 = icmp slt i32 %36, %27 %102 = sub i32 1, %36 %103 = icmp slt i32 %102, %27 %wide.trip.count35 = zext i32 %27 to i64 store i32 0, i32* %storemerge121.reg2mem br label LBL_21 LBL_13: %indvars.iv33.reload = load i64, i64* %indvars.iv33.reg2mem %104 = trunc i64 %indvars.iv33.reload to i32 %105 = add i32 %148, %104 %106 = sext i32 %105 to i64 %107 = mul i64 %106, 4 %108 = add i64 %107, %arg2 %109 = mul i64 %indvars.iv33.reload, 4 %110 = add i64 %109, %98 %111 = inttoptr i64 %108 to i32* %112 = load i32, i32* %111, align 4 %113 = inttoptr i64 %110 to i32* store i32 %112, i32* %113, align 4 %indvars.iv.next34 = add nuw nsw i64 %indvars.iv33.reload, 1 %exitcond36 = icmp eq i64 %indvars.iv.next34, %wide.trip.count35 store i64 %indvars.iv.next34, i64* %indvars.iv33.reg2mem br i1 %exitcond36, label LBL_14, label LBL_13 LBL_14: %114 = call i64 @FUNC(i64 %18, i64 %100, i32 %99) store i32 0, i32* %sv_0.0.lcssa.reg2mem br i1 %101, label LBL_15, label LBL_17 LBL_15: %115 = mul i32 %storemerge121.reload, %11 store i32 %36, i32* %sv_1.017.reg2mem store i32 0, i32* %sv_0.016.reg2mem br label LBL_16 LBL_16: %sv_0.016.reload = load i32, i32* %sv_0.016.reg2mem %sv_1.017.reload = load i32, i32* %sv_1.017.reg2mem %116 = sext i32 %sv_1.017.reload to i64 %117 = mul i64 %116, 4 %118 = add i64 %117, %98 %119 = inttoptr i64 %118 to i32* %120 = load i32, i32* %119, align 4 %121 = add i32 %120, 65536 %122 = add i32 %sv_0.016.reload, %115 %123 = sext i32 %122 to i64 %124 = mul i64 %123, 4 %125 = add i64 %124, %arg2 %126 = ashr i32 %121, 17 %127 = inttoptr i64 %125 to i32* store i32 %126, i32* %127, align 4 %128 = add i32 %sv_1.017.reload, 2 %129 = add i32 %sv_0.016.reload, 1 %130 = icmp slt i32 %128, %27 store i32 %128, i32* %sv_1.017.reg2mem store i32 %129, i32* %sv_0.016.reg2mem store i32 %129, i32* %sv_0.0.lcssa.reg2mem br i1 %130, label LBL_16, label LBL_17 LBL_17: br i1 %103, label LBL_18, label LBL_20 LBL_18: %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %131 = mul i32 %storemerge121.reload, %11 store i32 %102, i32* %sv_1.120.reg2mem store i32 %sv_0.0.lcssa.reload, i32* %sv_0.119.reg2mem br label LBL_19 LBL_19: %sv_0.119.reload = load i32, i32* %sv_0.119.reg2mem %sv_1.120.reload = load i32, i32* %sv_1.120.reg2mem %132 = sext i32 %sv_1.120.reload to i64 %133 = mul i64 %132, 4 %134 = add i64 %133, %98 %135 = inttoptr i64 %134 to i32* %136 = load i32, i32* %135, align 4 %137 = add i32 %136, 65536 %138 = add i32 %sv_0.119.reload, %131 %139 = sext i32 %138 to i64 %140 = mul i64 %139, 4 %141 = add i64 %140, %arg2 %142 = ashr i32 %137, 17 %143 = inttoptr i64 %141 to i32* store i32 %142, i32* %143, align 4 %144 = add i32 %sv_1.120.reload, 2 %145 = add i32 %sv_0.119.reload, 1 %146 = icmp slt i32 %144, %27 store i32 %144, i32* %sv_1.120.reg2mem store i32 %145, i32* %sv_0.119.reg2mem br i1 %146, label LBL_19, label LBL_20 LBL_20: %147 = add nuw nsw i32 %storemerge121.reload, 1 %exitcond37 = icmp eq i32 %147, %30 store i32 %147, i32* %storemerge121.reg2mem store i64 %18, i64* %rdi.1.lcssa.reg2mem store i32 %30, i32* %storemerge1.lcssa.reg2mem br i1 %exitcond37, label LBL_23, label LBL_21 LBL_21: %storemerge121.reload = load i32, i32* %storemerge121.reg2mem br i1 %40, label LBL_13.lr.ph, label LBL_14 LBL_22: %148 = mul i32 %storemerge121.reload, %11 store i64 0, i64* %indvars.iv33.reg2mem br label LBL_13 LBL_23: %storemerge1.lcssa.reload = load i32, i32* %storemerge1.lcssa.reg2mem %rdi.1.lcssa.reload = load i64, i64* %rdi.1.lcssa.reg2mem %149 = add i32 %storemerge28.reload, -1 %150 = icmp slt i32 %149, 0 %151 = icmp eq i1 %150, false store i32 %149, i32* %storemerge28.reg2mem store i64 %rdi.1.lcssa.reload, i64* %rdi.227.reg2mem store i32 %storemerge1.lcssa.reload, i32* %rax.0.in.lcssa.reg2mem br i1 %151, label LBL_2, label LBL_24 LBL_24: %rax.0.in.lcssa.reload = load i32, i32* %rax.0.in.lcssa.reg2mem %rax.0 = zext i32 %rax.0.in.lcssa.reload to i64 ret i64 %rax.0 uselistorder i32 %storemerge121.reload, { 1, 2, 3, 0 } uselistorder i64 %indvars.iv33.reload, { 0, 2, 1 } uselistorder i32 %storemerge310.reload, { 1, 2, 3, 0 } uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i32 %39, { 0, 3, 2, 4, 1, 5 } uselistorder i32 %36, { 0, 3, 2, 4, 1, 5 } uselistorder i32 %30, { 0, 2, 5, 8, 9, 3, 6, 7, 1, 4 } uselistorder i32 %27, { 6, 7, 1, 4, 5, 0, 2, 3 } uselistorder i64 %22, { 1, 0 } uselistorder i64 %18, { 0, 4, 2, 1, 5, 3 } uselistorder i32 %12, { 1, 0, 2 } uselistorder i32 %11, { 3, 1, 2, 4, 5, 0 } uselistorder i64 %0, { 0, 2, 3, 1, 4 } uselistorder i32* %storemerge28.reg2mem, { 1, 0, 2 } uselistorder i64* %rdi.227.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 2, 0 } uselistorder i32* %sv_3.07.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.06.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_3.19.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.18.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv33.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_1.017.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.016.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.120.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.119.reg2mem, { 1, 0, 2 } uselistorder i32 65536, { 3, 2, 1, 0 } uselistorder i64 (i64, i64, i32)* @sd_1d97_int, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i32 0, { 11, 3, 2, 1, 0, 8, 5, 6, 4, 7, 9, 10 } uselistorder i64 8, { 0, 2, 1 } uselistorder label LBL_19, { 1, 0 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
cypress_tiocmget_8993
cypress_tiocmget
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = ptrtoint i64* %arg1 to i64 %2 = load i64, i64* %0 %3 = call i64 @FUNC(i64 %1) %4 = add i64 %3, 4 %5 = call i64 @FUNC(i64 %4, i64 %2) %6 = inttoptr i64 %3 to i8* %7 = load i8, i8* %6, align 1 %8 = add i64 %3, 1 %9 = inttoptr i64 %8 to i8* %10 = load i8, i8* %9, align 1 %11 = call i64 @FUNC(i64 %4, i64 %2) %12 = urem i8 %7, 4 %13 = and i8 %10, 4 %14 = or i8 %13, %12 %15 = and i8 %10, 8 %16 = or i8 %14, %15 %17 = and i8 %10, 16 %18 = or i8 %16, %17 %19 = and i8 %10, 32 %20 = or i8 %18, %19 %21 = zext i8 %20 to i64 %22 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i64 %21) ret i64 %21 uselistorder i64 %2, { 1, 0 } uselistorder i8 4, { 1, 0 } }
0
BinRealVul
b43_ssb_remove_3961
b43_ssb_remove
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 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = add i64 %2, 8 %6 = call i64 @FUNC(i64 %5) %7 = add i64 %1, 24 %8 = call i64 @FUNC(i64 %7) %9 = icmp eq i64 %1, 0 %10 = zext i1 %9 to i64 %11 = call i64 @FUNC(i64 %10) %12 = add i64 %2, 16 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = icmp eq i64 %14, 0 store i64 0, i64* %rax.0.reg2mem br i1 %15, label LBL_5, label LBL_1 LBL_1: %16 = inttoptr i64 %1 to i64* %17 = load i64, i64* %16, align 8 %18 = icmp eq i64 %2, %17 %19 = icmp eq i1 %18, false br i1 %19, label LBL_4, label LBL_2 LBL_2: %20 = add i64 %1, 8 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = icmp eq i32 %22, 0 br i1 %23, label LBL_4, label LBL_3 LBL_3: %24 = call i64 @FUNC(i64 %2) %25 = add i64 %1, 16 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = call i64 @FUNC(i64 %27) br label LBL_4 LBL_4: %29 = call i64 @FUNC(i64 %4) %30 = call i64 @FUNC(i64 %1) %31 = call i64 @FUNC(i64 %1) %32 = call i64 @FUNC(i64 %4, i64 %1) %33 = call i64 @FUNC(i64 %4) store i64 %33, 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 %4, { 2, 1, 0 } uselistorder i64 %2, { 1, 0, 2, 3, 4 } uselistorder i64 %1, { 3, 2, 1, 0, 5, 4, 7, 6 } uselistorder i64 (i64)* @cancel_work_sync, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
GetHintFormat_19153
GetHintFormat
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.shrunk.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 1752000612 store i32 0, i32* %rax.0.shrunk.reg2mem br i1 %2, label LBL_1, label LBL_9 LBL_1: %3 = icmp eq i64* %arg1, null br i1 %3, label LBL_3, label LBL_2 LBL_2: %4 = add i64 %0, 4 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false store i32 %6, i32* %rax.0.shrunk.reg2mem br i1 %8, label LBL_9, label LBL_3 LBL_3: %9 = add i64 %0, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = call i64 @FUNC(i64 %15, i64 0) %17 = inttoptr i64 %16 to i32* %18 = icmp eq i1 %3, false %19 = icmp eq i64 %16, 0 br i1 %18, label LBL_6, label LBL_4 LBL_4: store i32 0, i32* %rax.0.shrunk.reg2mem br i1 %19, label LBL_9, label LBL_5 LBL_5: %20 = load i32, i32* %17, align 4 store i32 %20, i32* %rax.0.shrunk.reg2mem br label LBL_9 LBL_6: br i1 %19, label LBL_6.dec_label_pc_4011e3_crit_edge, label LBL_8 LBL_7: %.pre = add i64 %0, 4 %.pre2 = inttoptr i64 %.pre to i32* %.pre4 = load i32, i32* %.pre2, align 4 store i32 %.pre4, i32* %rax.0.shrunk.reg2mem br label LBL_9 LBL_8: %21 = load i32, i32* %17, align 4 %22 = add i64 %0, 4 %23 = inttoptr i64 %22 to i32* store i32 %21, i32* %23, align 4 store i32 %21, i32* %rax.0.shrunk.reg2mem br label LBL_9 LBL_9: %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem %rax.0 = zext i32 %rax.0.shrunk.reload to i64 ret i64 %rax.0 uselistorder i32* %17, { 1, 0 } uselistorder i64 %0, { 3, 0, 1, 4, 2 } uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 1, 2, 6, 4, 3, 5 } uselistorder i64 4, { 1, 0, 2 } uselistorder i32 0, { 0, 2, 1 } uselistorder label LBL_9, { 0, 1, 5, 3, 2, 4 } }
1
BinRealVul
curl_glue_unref_18295
curl_glue_unref
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %.reg2mem = alloca i64 %0 = icmp eq i64 %arg1, 0 %1 = icmp eq i1 %0, false br i1 %1, label LBL_1, label LBL_7 LBL_1: %2 = call i64 @FUNC(i64 %arg1) %3 = add i64 %arg1, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %5) %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_2, label LBL_6 LBL_2: %9 = add i64 %arg1, 16 %10 = inttoptr i64 %9 to i64* store i64 %6, i64* %.reg2mem br label LBL_3 LBL_3: %.reload = load i64, i64* %.reg2mem %11 = call i64 @FUNC(i64 %.reload) %12 = trunc i64 %11 to i32 %13 = icmp slt i32 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_5, label LBL_4 LBL_4: call void @__assert_fail(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_1, i64 0, i64 0), i32 36, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0)) br label LBL_5 LBL_5: %15 = mul i64 %11, 4294967296 %sext = add i64 %15, 4294967296 %16 = ashr exact i64 %sext, 32 %17 = load i64, i64* %10, align 8 %18 = call i64 @FUNC(i64 %17, i64 %16) %19 = and i64 %11, 4294967295 %20 = call i64 @FUNC(i64 %19) %21 = call i64 @FUNC(i64 %.reload) %22 = load i64, i64* %4, align 8 %23 = call i64 @FUNC(i64 %22) %24 = icmp eq i64 %23, 0 %25 = icmp eq i1 %24, false store i64 %23, i64* %.reg2mem br i1 %25, label LBL_3, label LBL_6 LBL_6: %26 = load i64, i64* %4, align 8 %27 = call i64 @FUNC(i64 %26) %28 = add i64 %arg1, 24 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = call i64 @FUNC(i64 %30) %32 = add i64 %arg1, 32 %33 = inttoptr i64 %32 to i64* %34 = load i64, i64* %33, align 8 %35 = call i64 @FUNC(i64 %34) br label LBL_7 LBL_7: ret i64 0 uselistorder i64 %11, { 1, 0, 2 } uselistorder i64* %4, { 0, 2, 1 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i64 4294967296, { 1, 0 } uselistorder i64 (i64)* @hashmap_steal_first, { 1, 0 } uselistorder i1 false, { 2, 1, 0, 3 } uselistorder i32 1, { 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
qemu_peek_byte_1380
qemu_peek_byte
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %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, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: call void @abort() unreachable LBL_2: %5 = trunc i64 %arg2 to i32 %6 = add i64 %0, 8 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = add i32 %8, %5 %10 = add i64 %0, 12 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = zext i32 %12 to i64 %14 = sext i32 %9 to i64 %15 = icmp slt i64 %14, %13 store i64 %14, i64* %.pre-phi.reg2mem br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = call i64 @FUNC(i64 %0) %17 = load i32, i32* %7, align 4 %18 = add i32 %17, %5 %19 = load i32, i32* %11, align 4 %20 = zext i32 %19 to i64 %21 = sext i32 %18 to i64 %22 = icmp slt i64 %21, %20 store i64 %21, i64* %.pre-phi.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %22, label LBL_4, label LBL_5 LBL_4: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %23 = mul i64 %.pre-phi.reload, 4 %24 = add i64 %23, %0 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = zext i32 %26 to i64 store i64 %27, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 0, 2, 1, 4, 3 } uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
nbd_client_co_pdiscard_4994
nbd_client_co_pdiscard
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %sv_1 = alloca i32, align 4 %1 = call i64 @FUNC(i64 %0) store i32 1, i32* %sv_1, align 4 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = urem i32 %3, 2 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i64 0, i64* %storemerge.reg2mem br i1 %6, label LBL_1, label LBL_5 LBL_1: %7 = call i64 @FUNC(i64 %1, i32* nonnull %sv_1) %8 = call i64 @FUNC(i64 %0, i32* nonnull %sv_1, i64 0) %9 = icmp slt i64 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_3, label LBL_2 LBL_2: %11 = trunc i64 %8 to i32 %12 = sub i32 0, %11 store i32 %12, i32* %sv_0, align 4 br label LBL_4 LBL_3: %13 = call i64 @FUNC(i64 %1, i32* nonnull %sv_1, i32* nonnull %sv_0, i64 0) br label LBL_4 LBL_4: %14 = call i64 @FUNC(i64 %0, i32* nonnull %sv_1) %15 = load i32, i32* %sv_0, align 4 %16 = sub i32 0, %15 %17 = zext i32 %16 to i64 store i64 %17, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32* %sv_0, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
bpf_int_jit_compile_12343
bpf_int_jit_compile
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.113.reg2mem = alloca i32* %sv_0.0.reg2mem = alloca i32* %sv_0.121.reg2mem = alloca i32* %sv_1.022.reg2mem = alloca i32 %storemerge23.reg2mem = alloca i32 %sv_2.024.reg2mem = alloca i32 %storemerge225.reg2mem = alloca i32 %.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %sv_3 = alloca i64, align 8 %sv_4 = alloca i32, align 4 store i32 0, i32* %sv_4, align 4 store i64 0, i64* %sv_3, align 8 %2 = load i32, i32* inttoptr (i64 4210740 to i32*), align 4 %3 = zext i32 %2 to i64 %4 = icmp eq i32 %2, 0 %5 = icmp eq i64* %arg1, null %or.cond = or i1 %5, %4 store i64 %3, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_19, label LBL_1 LBL_1: %6 = trunc i64 %1 to i32 %7 = icmp eq i32 %6, 0 store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_19, label LBL_2 LBL_2: %8 = ptrtoint i64* %arg1 to i64 %9 = bitcast i64* %rdi to i32* %sext39 = mul i64 %1, 4294967296 %10 = ashr exact i64 %sext39, 30 %11 = call i64 @FUNC(i64 %10, i64 0) %12 = icmp eq i64 %11, 0 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge225.reg2mem store i32 0, i32* %sv_2.024.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %12, label LBL_19, label LBL_3 LBL_3: %sv_2.024.reload = load i32, i32* %sv_2.024.reg2mem %storemerge225.reload = load i32, i32* %storemerge225.reg2mem %.reload = load i64, i64* %.reg2mem %13 = add i32 %sv_2.024.reload, 64 %14 = mul i64 %.reload, 4 %15 = add i64 %14, %11 %16 = inttoptr i64 %15 to i32* store i32 %13, i32* %16, align 4 %17 = add i32 %storemerge225.reload, 1 %18 = load i32, i32* %9, align 8 %19 = zext i32 %18 to i64 %20 = sext i32 %17 to i64 %21 = icmp slt i64 %20, %19 store i64 %20, i64* %.reg2mem store i32 %17, i32* %storemerge225.reg2mem store i32 %13, i32* %sv_2.024.reg2mem br i1 %21, label LBL_3, label LBL_4 LBL_4: store i32 %13, i32* %sv_4, align 4 store i32 0, i32* %storemerge23.reg2mem store i32 0, i32* %sv_1.022.reg2mem store i32* null, i32** %sv_0.121.reg2mem br label LBL_5 LBL_5: %sv_0.121.reload = load i32*, i32** %sv_0.121.reg2mem %sv_1.022.reload = load i32, i32* %sv_1.022.reg2mem %22 = load i64, i64* %sv_3, align 8 %23 = call i64 @FUNC(i64 %8, i64 %11, i64 %22, i32 %sv_1.022.reload, i32* nonnull %sv_4) %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, 0 %26 = icmp slt i32 %24, 0 %27 = icmp eq i1 %26, false %28 = icmp eq i1 %25, false %29 = icmp eq i1 %27, %28 br i1 %29, label LBL_8, label LBL_6 LBL_6: store i64 0, i64* %sv_3, align 8 %30 = icmp eq i32* %sv_0.121.reload, null br i1 %30, label LBL_18, label LBL_7 LBL_7: %31 = ptrtoint i32* %sv_0.121.reload to i64 %32 = call i64 @FUNC(i64 %31) br label LBL_18 LBL_8: %33 = load i64, i64* %sv_3, align 8 %34 = icmp eq i64 %33, 0 %35 = icmp eq i32 %sv_1.022.reload, %24 br i1 %34, label LBL_11, label LBL_9 LBL_9: store i32* %sv_0.121.reload, i32** %sv_0.113.reg2mem br i1 %35, label LBL_14, label LBL_10 LBL_10: %36 = and i64 %23, 4294967295 %37 = call i64 @FUNC(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_0, i64 0, i64 0), i64 %36, i32 %sv_1.022.reload) br label LBL_18 LBL_11: %storemerge23.reload = load i32, i32* %storemerge23.reg2mem %38 = icmp eq i1 %35, false store i32* %sv_0.121.reload, i32** %sv_0.0.reg2mem br i1 %38, label LBL_13, label LBL_12 LBL_12: %39 = and i64 %23, 4294967295 %40 = call i64 @FUNC(i64 %39, i64* nonnull %sv_3, i64 1, i64 4199017) %41 = inttoptr i64 %40 to i32* %42 = icmp eq i64 %40, 0 store i32* %41, i32** %sv_0.0.reg2mem br i1 %42, label LBL_18, label LBL_13 LBL_13: %sv_0.0.reload = load i32*, i32** %sv_0.0.reg2mem %43 = add nuw nsw i32 %storemerge23.reload, 1 %44 = icmp ult i32 %43, 10 store i32 %43, i32* %storemerge23.reg2mem store i32 %24, i32* %sv_1.022.reg2mem store i32* %sv_0.0.reload, i32** %sv_0.121.reg2mem store i32* %sv_0.0.reload, i32** %sv_0.113.reg2mem br i1 %44, label LBL_5, label LBL_14 LBL_14: %sv_0.113.reload = load i32*, i32** %sv_0.113.reg2mem %45 = load i32, i32* @gv_1, align 4 %46 = icmp slt i32 %45, 2 br i1 %46, label LBL_16, label LBL_15 LBL_15: %47 = load i64, i64* %sv_3, align 8 %48 = call i64 @FUNC(i64 %19, i32 %24, i64 0, i64 %47) br label LBL_16 LBL_16: %49 = load i64, i64* %sv_3, align 8 %50 = icmp eq i64 %49, 0 br i1 %50, label LBL_18, label LBL_17 LBL_17: %sext = mul i64 %23, 4294967296 %51 = ashr exact i64 %sext, 32 %52 = add i64 %49, %51 %53 = ptrtoint i32* %sv_0.113.reload to i64 %54 = call i64 @FUNC(i64 %53, i64 %52) %55 = load i32, i32* %sv_0.113.reload, align 4 %56 = zext i32 %55 to i64 %57 = call i64 @FUNC(i64 %53, i64 %56) %58 = load i64, i64* %sv_3, align 8 %59 = add i64 %8, 8 %60 = inttoptr i64 %59 to i64* store i64 %58, i64* %60, align 8 %61 = add i64 %8, 16 %62 = inttoptr i64 %61 to i32* store i32 1, i32* %62, align 4 br label LBL_18 LBL_18: %63 = call i64 @FUNC(i64 %11) store i64 %63, 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 i32* %sv_0.113.reload, { 1, 0 } uselistorder i64 %40, { 1, 0 } uselistorder i1 %35, { 1, 0 } uselistorder i32 %24, { 1, 0, 2, 4, 3 } uselistorder i64 %23, { 0, 2, 1, 3 } uselistorder i32 %sv_1.022.reload, { 2, 0, 1 } uselistorder i32* %sv_0.121.reload, { 1, 0, 2, 3 } uselistorder i32 %13, { 1, 0, 2 } uselistorder i64 %11, { 1, 2, 0, 3 } uselistorder i64* %sv_3, { 1, 2, 3, 0, 4, 5, 6, 7 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge225.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.024.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge23.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.022.reg2mem, { 1, 0, 2 } uselistorder i32** %sv_0.121.reg2mem, { 1, 0, 2 } uselistorder i1 false, { 1, 2, 0 } uselistorder i32* null, { 1, 0 } uselistorder i32 0, { 5, 6, 0, 1, 2, 3, 7, 8, 4 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_19, { 3, 0, 1, 2 } uselistorder label LBL_18, { 4, 1, 0, 5, 3, 2 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
ccid_handle_bulk_out_64
ccid_handle_bulk_out
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = add i64 %1, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = add i64 %4, %0 %6 = icmp ult i64 %5, 1025 br i1 %6, label LBL_1, label LBL_18 LBL_1: %7 = add i64 %1, 16 %8 = add i64 %4, %7 %9 = call i64 @FUNC(i64 %0, i64 %8, i64 %0) %10 = load i64, i64* %3, align 8 %11 = add i64 %10, %8 store i64 %11, i64* %3, align 8 %12 = icmp ult i64 %11, 10 br i1 %12, label LBL_2, label LBL_3 LBL_2: %13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0)) br label LBL_18 LBL_3: %14 = icmp eq i64 %8, 256 %15 = icmp eq i1 %14, false br i1 %15, label LBL_5, label LBL_4 LBL_4: %16 = add i64 %1, 24 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_2, i64 0, i64 0), i64 %8, i64 %18) %20 = sext i32 %19 to i64 store i64 %20, i64* %rax.0.reg2mem br label LBL_19 LBL_5: %21 = inttoptr i64 %7 to i8* %22 = load i8, i8* %21, align 1 %23 = zext i8 %22 to i64 %24 = call i64 @FUNC(i64 %23) %25 = load i8, i8* %21, align 1 %26 = zext i8 %25 to i32 %27 = inttoptr i64 %24 to i8* %28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i32 %26, i8* %27) %29 = load i8, i8* %21, align 1 %30 = zext i8 %29 to i64 store i64 %30, i64* @0, align 8 switch i8 %29, label LBL_16 [ i8 0, label LBL_6 i8 1, label LBL_7 i8 2, label LBL_10 i8 3, label LBL_11 i8 4, label LBL_12 i8 5, label LBL_13 i8 6, label LBL_14 i8 7, label LBL_15 ] LBL_6: %31 = call i64 @FUNC(i64 %1, i64 %7) br label LBL_17 LBL_7: %32 = load i8, i8* %21, align 1 %33 = zext i8 %32 to i64 %34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i64 %33) %35 = bitcast i64* %arg1 to i8* store i8 1, i8* %35, align 1 %36 = call i64 @FUNC(i64 %1) %37 = trunc i64 %36 to i8 %38 = icmp eq i8 %37, 1 br i1 %38, label LBL_9, label LBL_8 LBL_8: %39 = call i64 @FUNC(i64 %1, i64 1) br label LBL_9 LBL_9: %40 = call i64 @FUNC(i64 %1, i64 %7) br label LBL_17 LBL_10: %41 = call i64 @FUNC(i64 %1) %42 = bitcast i64* %arg1 to i8* store i8 0, i8* %42, align 1 %43 = call i64 @FUNC(i64 %1, i64 %7) br label LBL_17 LBL_11: %44 = call i64 @FUNC(i64 %1, i64 %7) br label LBL_17 LBL_12: %45 = call i64 @FUNC(i64 %1) %46 = call i64 @FUNC(i64 %1, i64 %7) %47 = call i64 @FUNC(i64 %1, i64 %7) br label LBL_17 LBL_13: %48 = call i64 @FUNC(i64 %1) %49 = call i64 @FUNC(i64 %1) %50 = call i64 @FUNC(i64 %1, i64 %7) br label LBL_17 LBL_14: %51 = call i64 @FUNC(i64 %1) %52 = call i64 @FUNC(i64 %1, i64 %7) br label LBL_17 LBL_15: %53 = call i64 @FUNC(i64 %1, i64 0) %54 = call i64 @FUNC(i64 %1, i64 %7) br label LBL_17 LBL_16: %55 = load i8, i8* %21, align 1 %56 = zext i8 %55 to i32 %57 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_5, i64 0, i64 0), i32 %56) %58 = call i64 @FUNC(i64 %1, i64 2) %59 = call i64 @FUNC(i64 %1, i64 %7) br label LBL_17 LBL_17: store i64 0, i64* %3, align 8 store i64 %1, i64* %rax.0.reg2mem br label LBL_19 LBL_18: %60 = add i64 %0, 8 %61 = inttoptr i64 %60 to i32* store i32 1, i32* %61, align 4 store i64 0, i64* %3, align 8 store i64 %1, 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 i8* %21, { 1, 0, 2, 4, 3 } uselistorder i64 %8, { 2, 1, 0, 3 } uselistorder i64 %7, { 11, 3, 4, 5, 7, 6, 1, 8, 9, 10, 2, 0 } uselistorder i64* %3, { 0, 1, 3, 2, 4 } uselistorder i64 %1, { 1, 0, 20, 21, 18, 19, 16, 17, 13, 14, 15, 10, 11, 12, 9, 7, 8, 5, 4, 6, 3, 2, 22, 23 } uselistorder i64 %0, { 1, 2, 3, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } 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_report_error_failed, { 0, 2, 1 } uselistorder i64 1, { 1, 0 } uselistorder i64 (i64, i64)* @ccid_write_slot_status, { 0, 3, 2, 1 } uselistorder i8 1, { 1, 2, 0 } uselistorder i8 0, { 1, 0 } uselistorder i32 (i8*, ...)* @printf, { 2, 3, 1, 4, 0 } uselistorder i64* %arg1, { 1, 0, 2 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_17, { 8, 0, 1, 2, 3, 4, 5, 6, 7 } }
1
BinRealVul
_cmsStageAllocNamedColor_10862
_cmsStageAllocNamedColor
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = call i64 @FUNC(i64 %0) %3 = icmp eq i32 %1, 0 %4 = icmp eq i1 %3, false store i64 3, i64* %storemerge.reg2mem br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = zext i32 %7 to i64 store i64 %8, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %. = select i1 %3, i64 4198877, i64 4198855 %storemerge.reload = load i64, i64* %storemerge.reg2mem %9 = call i64 @FUNC(i64 %0, i64 0, i64 1, i64 %storemerge.reload, i64 %., i64 4198899, i64 4198914, i64 %2) ret i64 %9 uselistorder i1 %3, { 1, 0 } uselistorder i64 %0, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
nfs_commit_release_pages_10218
nfs_commit_release_pages
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %4 = add i64 %3, 24 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_1, label LBL_8 LBL_1: %8 = trunc i64 %2 to i32 %9 = inttoptr i64 %4 to i64* %10 = icmp slt i32 %8, 0 %11 = icmp eq i1 %10, false %12 = and i64 %2, 4294967295 %13 = add i64 %3, 4 %14 = inttoptr i64 %13 to i64* br label LBL_2 LBL_2: %15 = load i64, i64* %9, align 8 %16 = call i64 @FUNC(i64 %15) %17 = call i64 @FUNC(i64 %16) %18 = add i64 %16, 16 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = call i64 @FUNC(i64 %20) %22 = call i64 @FUNC(i64 %16) %sext = mul i64 %22, 4294967296 %23 = ashr exact i64 %sext, 32 %24 = add i64 %16, 8 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = inttoptr i64 %16 to i64* %28 = load i64, i64* %27, align 8 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = add i64 %30, 8 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = call i64 @FUNC(i64 %33) %sext1 = mul i64 %34, 4294967296 %35 = ashr exact i64 %sext1, 32 %36 = load i64, i64* %27, align 8 %37 = inttoptr i64 %36 to i64* %38 = load i64, i64* %37, align 8 %39 = inttoptr i64 %38 to i64* %40 = load i64, i64* %39, align 8 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = zext i32 %26 to i64 %44 = zext i32 %42 to i64 %45 = call i64 @FUNC(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_0, i64 0, i64 0), i64 %44, i64 %35, i64 %43, i64 %23, i64 %1) br i1 %11, label LBL_4, label LBL_3 LBL_3: %46 = load i64, i64* %27, align 8 %47 = call i64 @FUNC(i64 %46, i64 %12) %48 = call i64 @FUNC(i64 %16) %49 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), i64 %12, i64 %12, i64 %43, i64 %23, i64 %1) br label LBL_7 LBL_4: %50 = add i64 %16, 12 %51 = inttoptr i64 %50 to i64* %52 = call i32 @memcmp(i64* %51, i64* %14, i32 4) %53 = icmp eq i32 %52, 0 %54 = icmp eq i1 %53, false br i1 %54, label LBL_6, label LBL_5 LBL_5: %55 = call i64 @FUNC(i64 %16) %56 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0), i64 %13, i64 4, i64 %13, i64 %23, i64 %1) br label LBL_7 LBL_6: %57 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_3, i64 0, i64 0), i64 %13, i64 4, i64 %13, i64 %23, i64 %1) %58 = call i64 @FUNC(i64 %16) %59 = load i64, i64* %27, align 8 %60 = add i64 %59, 16 %61 = call i64 @FUNC(i64 0, i64 %60) br label LBL_7 LBL_7: %62 = call i64 @FUNC(i64 %16) %63 = call i64 @FUNC(i64 %4) %64 = trunc i64 %63 to i32 %65 = icmp eq i32 %64, 0 br i1 %65, label LBL_2, label LBL_8 LBL_8: %66 = add i64 %3, 16 %67 = inttoptr i64 %66 to i64* %68 = load i64, i64* %67, align 8 %69 = add i64 %3, 8 %70 = inttoptr i64 %69 to i64* %71 = load i64, i64* %70, align 8 %72 = call i64 @FUNC(i64* nonnull %sv_0, i64 %71, i64 %68) %73 = load i64, i64* %sv_0, align 8 %74 = call i64 @FUNC(i64 %73) %75 = trunc i64 %74 to i32 %76 = icmp eq i32 %75, 0 store i64 %74, i64* %rax.0.reg2mem br i1 %76, label LBL_10, label LBL_9 LBL_9: %77 = load i64, i64* %70, align 8 %78 = call i64 @FUNC(i64 %77) store i64 %78, 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 i64* %27, { 1, 0, 2, 3 } uselistorder i64 %23, { 2, 1, 0, 3 } uselistorder i64 %16, { 2, 3, 1, 4, 0, 5, 6, 7, 8, 9 } uselistorder i64 %13, { 2, 3, 0, 1, 4 } uselistorder i64 %12, { 0, 2, 1 } uselistorder i64 %4, { 2, 1, 0 } uselistorder i64* %sv_0, { 1, 0 } uselistorder i64 %3, { 1, 2, 0, 3 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 3, 2, 1, 0 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64)* @nfs_inode_remove_request, { 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @dprintk, { 3, 2, 1, 0 } uselistorder i64 8, { 2, 0, 1 } uselistorder i64 16, { 2, 0, 1 } uselistorder i64 4, { 1, 0, 2 } uselistorder i32 0, { 3, 4, 1, 2, 0, 5 } uselistorder i64 (i64)* @list_empty, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
usb_xhci_exit_18948
usb_xhci_exit
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge3.reg2mem = alloca i32 %.reg2mem = alloca i64 %storemerge24.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = inttoptr i64 %1 to i32* %3 = call i64 @FUNC() %4 = load i32, i32* %2, align 4 %5 = icmp eq i32 %4, 0 store i32 0, i32* %storemerge24.reg2mem br i1 %5, label LBL_2, label LBL_1 LBL_1: %storemerge24.reload = load i32, i32* %storemerge24.reg2mem %6 = add i32 %storemerge24.reload, 1 %7 = zext i32 %6 to i64 %8 = call i64 @FUNC(i64 %1, i64 %7) %9 = load i32, i32* %2, align 4 %10 = zext i32 %9 to i64 %11 = sext i32 %6 to i64 %12 = icmp slt i64 %11, %10 store i32 %6, i32* %storemerge24.reg2mem br i1 %12, label LBL_1, label LBL_2 LBL_2: %13 = add i64 %1, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = icmp eq i64 %15, 0 br i1 %16, label LBL_4, label LBL_3 LBL_3: %17 = call i64 @FUNC(i64 %15) %18 = load i64, i64* %14, align 8 %19 = call i64 @FUNC(i64 %18) store i64 0, i64* %14, align 8 br label LBL_4 LBL_4: %20 = add i64 %1, 24 %21 = add i64 %1, 16 %22 = call i64 @FUNC(i64 %21, i64 %20) %23 = add i64 %1, 32 %24 = call i64 @FUNC(i64 %21, i64 %23) %25 = add i64 %1, 40 %26 = call i64 @FUNC(i64 %21, i64 %25) %27 = add i64 %1, 48 %28 = call i64 @FUNC(i64 %21, i64 %27) %29 = add i64 %1, 4 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = icmp eq i32 %31, 0 br i1 %32, label LBL_7, label LBL_5 LBL_5: %33 = add i64 %1, 56 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge3.reg2mem br label LBL_6 LBL_6: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %.reload = load i64, i64* %.reg2mem %34 = mul i64 %.reload, 8 %35 = add i64 %33, %34 %36 = call i64 @FUNC(i64 %21, i64 %35) %37 = add i32 %storemerge3.reload, 1 %38 = load i32, i32* %30, align 4 %39 = zext i32 %38 to i64 %40 = sext i32 %37 to i64 %41 = icmp slt i64 %40, %39 store i64 %40, i64* %.reg2mem store i32 %37, i32* %storemerge3.reg2mem br i1 %41, label LBL_6, label LBL_7 LBL_7: %42 = icmp eq i64 %21, 0 br i1 %42, label LBL_11, label LBL_8 LBL_8: %43 = add i64 %0, 8 %44 = inttoptr i64 %43 to i64* %45 = load i64, i64* %44, align 8 %46 = icmp eq i64 %45, 0 br i1 %46, label LBL_11, label LBL_9 LBL_9: %47 = add i64 %0, 16 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = icmp eq i32 %49, 0 br i1 %50, label LBL_11, label LBL_10 LBL_10: %51 = add i64 %0, 24 %52 = call i64 @FUNC(i64 %21, i64 %51) %53 = add i64 %0, 32 %54 = call i64 @FUNC(i64 %21, i64 %53) br label LBL_11 LBL_11: %55 = add i64 %1, 136 %56 = call i64 @FUNC(i64 %55) ret i64 %56 uselistorder i32* %30, { 1, 0 } uselistorder i64 %21, { 2, 1, 0, 3, 5, 4, 6, 7 } uselistorder i32* %2, { 1, 0 } uselistorder i64 %1, { 2, 0, 3, 4, 5, 6, 7, 8, 9, 1, 10 } uselistorder i64 %0, { 2, 3, 1, 0, 4 } uselistorder i32* %storemerge24.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 } uselistorder i64 (i64, i64)* @memory_region_del_subregion, { 5, 4, 6, 3, 2, 1, 0 } uselistorder i64 8, { 1, 0, 2 } uselistorder i32 0, { 4, 0, 2, 1, 3 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
sdp_copy_raw_data_11840
sdp_copy_raw_data
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i32 %.reg2mem8 = alloca i32 %.pre-phi.reg2mem = alloca i64 %rcx.1.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %rdx.0.lcssa.reg2mem = alloca i64 %rcx.0.lcssa.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %sv_2 = alloca i32, align 4 %sv_3 = alloca i64, align 8 %5 = add i64 %4, 256 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_4, label LBL_1 LBL_1: %9 = ptrtoint i64* %sv_3 to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_2 LBL_2: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %10 = add i64 %indvars.iv.reload, %4 %11 = inttoptr i64 %10 to i8* %12 = load i8, i8* %11, align 1 %13 = trunc i64 %indvars.iv.reload to i32 %14 = mul i32 %13, 2 %15 = sub i32 256, %14 %16 = zext i32 %14 to i64 %17 = add i64 %16, %9 %18 = inttoptr i64 %17 to i8* %19 = zext i8 %12 to i32 %20 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %18, i32 %15, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i32 %19) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %21 = load i32, i32* %6, align 4 %22 = zext i32 %21 to i64 %23 = icmp ult i64 %indvars.iv.next, %22 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %23, label LBL_2, label LBL_3 LBL_3: %24 = zext i8 %12 to i64 store i64 %24, i64* %rcx.0.lcssa.reg2mem store i64 ptrtoint ([5 x i8]* @gv_0 to i64), i64* %rdx.0.lcssa.reg2mem br label LBL_4 LBL_4: %rdx.0.lcssa.reload = load i64, i64* %rdx.0.lcssa.reg2mem %rcx.0.lcssa.reload = load i64, i64* %rcx.0.lcssa.reg2mem %25 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_3, i64 %rdx.0.lcssa.reload, i64 %rcx.0.lcssa.reload, i64 %2, i64 %1) %26 = add i64 %4, 264 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = icmp eq i64 %30, 0 store i64 0, i64* %rax.0.reg2mem br i1 %31, label LBL_10, label LBL_5 LBL_5: %32 = add i64 %28, 8 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = add i64 %28, 12 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = zext i32 %37 to i64 %39 = load i32, i32* %6, align 4 store i32 %39, i32* %sv_2, align 4 %40 = trunc i64 %arg2 to i8 %41 = icmp eq i8 %40, 0 store i32 %39, i32* %.reg2mem store i64 %4, i64* %sv_1.0.reg2mem store i64 %38, i64* %rcx.1.reg2mem br i1 %41, label LBL_7, label LBL_6 LBL_6: %42 = add i64 %4, 1 %43 = urem i64 %3, 256 %44 = call i64 @FUNC(i64 %42, i64 %43, i32* nonnull %sv_2) %.pre = load i32, i32* %sv_2, align 4 store i32 %.pre, i32* %.reg2mem store i64 %44, i64* %sv_1.0.reg2mem store i64 %43, i64* %rcx.1.reg2mem br label LBL_7 LBL_7: %45 = sub i32 %34, %37 %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %.reload = load i32, i32* %.reg2mem %46 = icmp ugt i32 %45, %.reload %spec.select = select i1 %46, i32 %.reload, i32 %45 %47 = sub i64 %sv_1.0.reload, %4 %48 = trunc i64 %47 to i32 %49 = sub i32 256, %48 %50 = icmp ugt i32 %spec.select, %49 %51 = zext i32 %spec.select to i64 store i64 %51, i64* %.pre-phi.reg2mem store i32 %.reload, i32* %.reg2mem8 store i32 %spec.select, i32* %sv_0.1.reg2mem br i1 %50, label LBL_8, label LBL_9 LBL_8: %rcx.1.reload = load i64, i64* %rcx.1.reg2mem %52 = zext i32 %49 to i64 %53 = inttoptr i64 %52 to i64* %54 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_2, i64 0, i64 0), i64* %53, i64 %51, i64 %rcx.1.reload, i64 %2, i64 %1) %.pre6 = load i32, i32* %sv_2, align 4 store i64 %52, i64* %.pre-phi.reg2mem store i32 %.pre6, i32* %.reg2mem8 store i32 %49, i32* %sv_0.1.reg2mem br label LBL_9 LBL_9: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %.reload9 = load i32, i32* %.reg2mem8 %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %55 = zext i32 %.reload9 to i64 %56 = call i64 @FUNC(i8* getelementptr inbounds ([85 x i8], [85 x i8]* @gv_3, i64 0, i64 0), i64* bitcast ([18 x i8]* @gv_4 to i64*), i64 %55, i64 %.pre-phi.reload, i64 %sv_1.0.reload, i64 %4) %57 = load i64, i64* %27, align 8 %58 = inttoptr i64 %57 to i64* %59 = load i64, i64* %58, align 8 %60 = add i64 %57, 12 %61 = inttoptr i64 %60 to i32* %62 = load i32, i32* %61, align 4 %63 = zext i32 %62 to i64 %64 = add i64 %59, %63 %65 = inttoptr i64 %64 to i64* %66 = inttoptr i64 %sv_1.0.reload to i64* %67 = call i64* @memcpy(i64* %65, i64* %66, i32 %sv_0.1.reload) %68 = load i64, i64* %27, align 8 %69 = add i64 %68, 12 %70 = inttoptr i64 %69 to i32* %71 = load i32, i32* %70, align 4 %72 = add i32 %71, %sv_0.1.reload store i32 %72, i32* %70, align 4 store i64 %68, 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 %sv_0.1.reload, { 1, 0 } uselistorder i64 %51, { 1, 0 } uselistorder i64 %sv_1.0.reload, { 2, 1, 0 } uselistorder i64 %28, { 1, 0, 2 } uselistorder i32 %14, { 1, 0 } uselistorder i32* %6, { 0, 2, 1 } uselistorder i64 %4, { 2, 3, 4, 0, 5, 1, 6 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem8, { 0, 2, 1 } uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i8*, i64*, i64, i64, i64, i64)* @SDP_TRACE_WARNING, { 2, 1, 0 } uselistorder [5 x i8]* @gv_0, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
string_of_NPNVariable_12092
string_of_NPNVariable
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i8* %sext = mul i64 %arg1, 4294967296 %0 = ashr exact i64 %sext, 32 %1 = and i64 %0, 4294967295 store i64 %1, i64* @0, align 8 %trunc = trunc i64 %0 to i32 store i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i8** %sv_0.0.reg2mem switch i32 %trunc, label LBL_14 [ i32 1, label LBL_19 i32 2, label LBL_1 i32 3, label LBL_2 i32 4, label LBL_3 i32 5, label LBL_4 i32 6, label LBL_5 i32 7, label LBL_6 i32 8, label LBL_7 i32 9, label LBL_8 i32 10, label LBL_9 i32 11, label LBL_10 i32 12, label LBL_11 i32 13, label LBL_12 i32 14, label LBL_13 ] LBL_1: store i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i8** %sv_0.0.reg2mem br label LBL_19 LBL_2: store i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0), i8** %sv_0.0.reg2mem br label LBL_19 LBL_3: store i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8** %sv_0.0.reg2mem br label LBL_19 LBL_4: store i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_4, i64 0, i64 0), i8** %sv_0.0.reg2mem br label LBL_19 LBL_5: store i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_5, i64 0, i64 0), i8** %sv_0.0.reg2mem br label LBL_19 LBL_6: store i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_6, i64 0, i64 0), i8** %sv_0.0.reg2mem br label LBL_19 LBL_7: store i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_7, i64 0, i64 0), i8** %sv_0.0.reg2mem br label LBL_19 LBL_8: store i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_8, i64 0, i64 0), i8** %sv_0.0.reg2mem br label LBL_19 LBL_9: store i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_9, i64 0, i64 0), i8** %sv_0.0.reg2mem br label LBL_19 LBL_10: store i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_10, i64 0, i64 0), i8** %sv_0.0.reg2mem br label LBL_19 LBL_11: store i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_11, i64 0, i64 0), i8** %sv_0.0.reg2mem br label LBL_19 LBL_12: store i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_12, i64 0, i64 0), i8** %sv_0.0.reg2mem br label LBL_19 LBL_13: store i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_13, i64 0, i64 0), i8** %sv_0.0.reg2mem br label LBL_19 LBL_14: %2 = urem i64 %0, 256 %3 = icmp eq i64 %2, 13 store i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_9, i64 0, i64 0), i8** %sv_0.0.reg2mem br i1 %3, label LBL_19, label LBL_15 LBL_15: %4 = trunc i64 %2 to i32 %5 = icmp ugt i32 %4, 13 store i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_14, i64 0, i64 0), i8** %sv_0.0.reg2mem br i1 %5, label LBL_19, label LBL_16 LBL_16: %6 = icmp eq i32 %4, 12 store i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_8, i64 0, i64 0), i8** %sv_0.0.reg2mem br i1 %6, label LBL_19, label LBL_17 LBL_17: %7 = icmp ugt i32 %4, 12 store i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_14, i64 0, i64 0), i8** %sv_0.0.reg2mem br i1 %7, label LBL_19, label LBL_18 LBL_18: %switch.selectcmp = icmp eq i32 %4, 11 %switch.select = select i1 %switch.selectcmp, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_7, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_14, i64 0, i64 0) %switch.selectcmp3 = icmp eq i32 %4, 10 %switch.select4 = select i1 %switch.selectcmp3, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_6, i64 0, i64 0), i8* %switch.select store i8* %switch.select4, i8** %sv_0.0.reg2mem br label LBL_19 LBL_19: %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem %8 = ptrtoint i8* %sv_0.0.reload to i64 ret i64 %8 uselistorder i32 %4, { 0, 1, 2, 4, 3 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %0, { 0, 2, 1 } uselistorder i8** %sv_0.0.reg2mem, { 0, 3, 2, 5, 1, 4, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6 } uselistorder i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_14, i64 0, i64 0), { 2, 1, 0 } uselistorder i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_7, i64 0, i64 0), { 1, 0 } uselistorder i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_6, i64 0, i64 0), { 1, 0 } uselistorder i32 1, { 1, 0 } uselistorder label LBL_19, { 2, 1, 4, 0, 3, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 5 } }
1
BinRealVul
__net_get_random_once_13452
__net_get_random_once
define i64 @FUNC(i64* %arg1, i64 %arg2, i8* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = call i64 @FUNC(i64* nonnull @gv_0, i64 %2) %4 = trunc i64 %1 to i8 %5 = icmp eq i8 %4, 0 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64* nonnull @gv_0, i64 %2) store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %7 = and i64 %arg2, 4294967295 %8 = ptrtoint i64* %arg1 to i64 %9 = ptrtoint i64* %arg4 to i64 %10 = call i64 @FUNC(i64 %8, i64 %7) store i8 1, i8* %arg3, align 1 %11 = call i64 @FUNC(i64* nonnull @gv_0, i64 %2) %12 = call i64 @FUNC(i64 %9) store i64 1, 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 } uselistorder i64* %0, { 1, 0 } uselistorder i64 4294967295, { 1, 0 } uselistorder i64 (i64*, i64)* @spin_unlock_irqrestore, { 1, 0 } }
0
BinRealVul
e1000_autoneg_timer_15466
e1000_autoneg_timer
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = inttoptr i64 %1 to i8* store i8 0, i8* %2, align 1 %3 = call i64 @FUNC(i64 %0) %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = or i32 %6, 32 store i32 %7, i32* %5, align 4 %8 = call i32 @puts(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0)) %9 = sext i32 %8 to i64 ret i64 %9 }
1
BinRealVul
pci_ich9_uninit_2616
pci_ich9_uninit
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, -4 %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64 4198699, i64 %1) %4 = call i64 @FUNC(i64 %1) ret i64 0 uselistorder i64 %1, { 1, 0 } }
0
BinRealVul
ffm_is_avail_data_16332
ffm_is_avail_data
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 = trunc i64 %arg2 to i32 %4 = trunc i64 %1 to i32 %5 = add i64 %2, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = sub i32 %4, %7 %9 = icmp slt i32 %8, %3 store i64 1, i64* %rax.0.reg2mem br i1 %9, label LBL_1, label LBL_11 LBL_1: %10 = add i64 %2, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @FUNC(i64 %12) %14 = inttoptr i64 %10 to i32* %15 = load i32, i32* %14, align 4 %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_4, label LBL_2 LBL_2: %18 = add i64 %2, 24 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = icmp eq i64 %20, %13 %22 = icmp eq i1 %21, false store i64 1, i64* %rax.0.reg2mem br i1 %22, label LBL_3, label LBL_11 LBL_3: br label LBL_9 LBL_4: %23 = sext i32 %15 to i64 %24 = icmp eq i64 %13, %23 %25 = icmp eq i1 %24, false br i1 %25, label LBL_6, label LBL_5 LBL_5: %26 = add i64 %2, 12 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = icmp eq i32 %28, 0 %. = select i1 %29, i64 2, i64 4294967285 store i64 %., i64* %rax.0.reg2mem br label LBL_11 LBL_6: %30 = icmp slt i64 %13, %23 br i1 %30, label LBL_7, label LBL_8 LBL_7: br label LBL_9 LBL_8: br label LBL_9 LBL_9: %sext = mul i64 %arg2, 4294967296 %31 = sext i32 %8 to i64 %32 = ashr exact i64 %sext, 32 %33 = icmp sgt i64 %32, %31 store i64 1, i64* %rax.0.reg2mem br i1 %33, label LBL_10, label LBL_11 LBL_10: %34 = add i64 %2, 12 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = icmp eq i32 %36, 0 %.5 = select i1 %37, i64 2, i64 4294967285 store i64 %.5, 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 %13, { 1, 2, 0 } uselistorder i64 %2, { 0, 2, 1, 3, 4 } }
1
BinRealVul
id3v2_read_ttag_14527
id3v2_read_ttag
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %rax.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.0.ph.reg2mem = alloca i64 %sv_0.0.ph.reg2mem = alloca i64 %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %1 = trunc i64 %arg4 to i32 %2 = icmp slt i32 %1, 1 br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = bitcast i64* %arg3 to i8* store i8 0, i8* %3, align 1 store i64 %0, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem %4 = trunc i64 %arg2 to i32 %5 = icmp slt i32 %4, 1 store i64 %rax.0.reload, i64* %rax.1.reg2mem br i1 %5, label LBL_11, label LBL_3 LBL_3: %6 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %sext3 = mul i64 %arg4, 4294967296 %sext4 = add i64 %sext, -4294967296 %7 = ashr exact i64 %sext4, 32 %8 = call i64 @FUNC(i64 %6) %9 = trunc i64 %8 to i32 store i64 %8, i64* %rax.1.reg2mem switch i32 %9, label LBL_11 [ i32 0, label LBL_4 i32 3, label LBL_10 ] LBL_4: %sext8 = add i64 %sext3, -8589934592 %10 = ashr exact i64 %sext8, 32 store i64 %7, i64* %sv_0.0.ph.reg2mem store i64 %0, i64* %sv_1.0.ph.reg2mem br label LBL_7 LBL_5: %11 = mul i64 %sv_0.0.reload, 4294967296 %sext7 = add i64 %11, -4294967296 %12 = ashr exact i64 %sext7, 32 %13 = call i64 @FUNC(i64 %6) store i64 %12, i64* %sv_0.0.reg2mem br i1 %18, label LBL_6, label LBL_8 LBL_6: %14 = trunc i64 %13 to i8 %15 = add i64 %sv_1.0.ph.reload, 1 %16 = inttoptr i64 %sv_1.0.ph.reload to i8* store i8 %14, i8* %16, align 1 store i64 %12, i64* %sv_0.0.ph.reg2mem store i64 %15, i64* %sv_1.0.ph.reg2mem br label LBL_7 LBL_7: %sv_1.0.ph.reload = load i64, i64* %sv_1.0.ph.reg2mem %sv_0.0.ph.reload = load i64, i64* %sv_0.0.ph.reg2mem %17 = sub i64 %sv_1.0.ph.reload, %0 %18 = icmp slt i64 %17, %10 store i64 %sv_0.0.ph.reload, i64* %sv_0.0.reg2mem br label LBL_8 LBL_8: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %19 = icmp eq i64 %sv_0.0.reload, 0 %20 = icmp eq i1 %19, false br i1 %20, label LBL_5, label LBL_9 LBL_9: %21 = inttoptr i64 %sv_1.0.ph.reload to i8* store i8 0, i8* %21, align 1 store i64 %sv_1.0.ph.reload, i64* %rax.1.reg2mem br label LBL_11 LBL_10: %sext5 = add i64 %sext3, -4294967296 %22 = ashr exact i64 %sext5, 32 %23 = trunc i64 %22 to i32 %24 = trunc i64 %7 to i32 %25 = sub i32 %23, %24 %26 = xor i64 %22, %7 %27 = trunc i64 %26 to i32 %28 = xor i32 %25, %23 %29 = and i32 %28, %27 %30 = icmp slt i32 %29, 0 %31 = icmp eq i32 %25, 0 %32 = icmp slt i32 %25, 0 %33 = icmp ne i1 %32, %30 %34 = or i1 %31, %33 %.v = select i1 %34, i64 %22, i64 %7 %35 = trunc i64 %.v to i32 %36 = call i64 @FUNC(i64 %6, i64 %0, i32 %35) %37 = add i64 %.v, %0 %38 = inttoptr i64 %37 to i8* store i8 0, i8* %38, align 1 store i64 %37, i64* %rax.1.reg2mem br label LBL_11 LBL_11: %rax.1.reload = load i64, i64* %rax.1.reg2mem ret i64 %rax.1.reload uselistorder i32 %25, { 1, 2, 0 } uselistorder i64 %22, { 2, 0, 1 } uselistorder i64 %sv_1.0.ph.reload, { 0, 4, 1, 2, 3 } uselistorder i64 %12, { 1, 0 } uselistorder i64 %7, { 3, 1, 2, 0 } uselistorder i64 %0, { 2, 3, 4, 0, 1 } uselistorder i64* %rax.1.reg2mem, { 0, 2, 3, 1, 4 } uselistorder i32 0, { 1, 2, 3, 0 } uselistorder i64 (i64)* @get_byte, { 1, 0 } uselistorder i64 32, { 2, 1, 0, 3 } uselistorder i64 -4294967296, { 1, 0, 2 } uselistorder label LBL_11, { 2, 3, 0, 1 } uselistorder label LBL_7, { 1, 0 } }
1
BinRealVul
flush_dpb_2168
flush_dpb
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %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* 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, 16 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %4 = add i64 %0, 128 %5 = inttoptr i64 %4 to i64* store i64 0, i64* %5, align 8 %6 = call i64 @FUNC(i64 %0) %7 = add i64 %0, 136 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = inttoptr i64 %9 to i32* store i32 0, i32* %10, align 4 ret i64 %9 uselistorder i64 %9, { 1, 0 } uselistorder i64 %0, { 2, 1, 3, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } }
0