dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
BinRealVul
vp8_alloc_frame_15279
vp8_alloc_frame
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %rsi = alloca i64, align 8 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i32* %arg1 to i64 %4 = add i64 %3, 32 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 store i64 %2, i64* %rsi, align 8 %7 = call i64 @FUNC(i64 %6, i64 %2) %8 = trunc i64 %7 to i32 %9 = icmp slt i32 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_2, label LBL_1 LBL_1: %11 = and i64 %7, 4294967295 store i64 %11, i64* %rax.0.reg2mem br label LBL_7 LBL_2: %12 = add i64 %3, 24 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = icmp eq i32 %14, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_5, label LBL_3 LBL_3: %17 = add i64 %3, 8 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = icmp eq i32 %19, 0 br i1 %20, label LBL_5, label LBL_4 LBL_4: %21 = add i64 %3, 16 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = add i32 %19, -1 store i32 %24, i32* %18, align 4 %25 = sext i32 %24 to i64 %26 = mul i64 %25, 4 %27 = add i64 %23, %26 %28 = load i64, i64* %rsi, align 8 %29 = inttoptr i64 %27 to i32* %30 = load i32, i32* %29, align 4 %31 = inttoptr i64 %28 to i32* store i32 %30, i32* %31, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_7 LBL_5: %32 = trunc i64 %1 to i32 %33 = trunc i64 %2 to i32 %34 = add i64 %3, 4 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = mul i32 %36, %32 %38 = sext i32 %37 to i64 %39 = call i64 @FUNC(i64 %38) %40 = trunc i64 %39 to i32 %41 = bitcast i64* %arg2 to i32* store i32 %40, i32* %41, align 4 %42 = icmp eq i32 %33, 0 %43 = icmp eq i1 %42, false store i64 0, i64* %rax.0.reg2mem br i1 %43, label LBL_7, label LBL_6 LBL_6: %44 = load i64, i64* %5, align 8 %45 = call i64 @FUNC(i64 %44, i64 %2) store i64 4294967284, 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 %3, { 0, 3, 2, 1, 4 } uselistorder i64 %2, { 1, 0, 3, 2 } uselistorder i64* %rsi, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 } uselistorder i64 4, { 1, 0 } uselistorder label LBL_7, { 2, 1, 0, 3 } }
1
BinRealVul
dnxhd_mb_var_thread_15440
dnxhd_mb_var_thread
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %sv_0.014.reg2mem = alloca i64 %sv_1.115.reg2mem = alloca i32 %sv_2.116.reg2mem = alloca i32 %storemerge717.reg2mem = alloca i32 %sv_1.011.reg2mem = alloca i32 %sv_2.012.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %storemerge18.reg2mem = alloca i32 %.reg2mem26 = alloca i32 %sv_3.019.reg2mem = alloca i32 %sv_4.020.reg2mem = alloca i32 %.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg3, 4294967296 %1 = ashr exact i64 %sext, 32 %sext4 = mul i64 %arg4, 4294967296 %2 = ashr exact i64 %sext4, 29 %3 = add i64 %0, 32 %4 = add i64 %3, %2 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = inttoptr i64 %6 to i32* %8 = add i64 %6, 24 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = icmp eq i32 %12, 8 %14 = icmp eq i1 %13, false br i1 %14, label LBL_4, label LBL_1 LBL_1: %15 = add i64 %6, 4 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp eq i32 %17, 0 br i1 %18, label LBL_11, label LBL_2 LBL_2: %arg3.tr = trunc i64 %arg3 to i32 %19 = mul i32 %arg3.tr, 16 %20 = load i32, i32* %7, align 4 %21 = mul i32 %19, %20 %22 = add i64 %6, 32 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = trunc i64 %26 to i32 %28 = add i32 %21, %27 %29 = trunc i64 %1 to i32 %30 = add i64 %6, 40 %31 = inttoptr i64 %30 to i64* store i32 %17, i32* %.reg2mem store i32 0, i32* %sv_4.020.reg2mem store i32 %28, i32* %sv_3.019.reg2mem br label LBL_3 LBL_3: %sv_3.019.reload = load i32, i32* %sv_3.019.reg2mem %sv_4.020.reload = load i32, i32* %sv_4.020.reg2mem %.reload = load i32, i32* %.reg2mem %32 = mul i32 %.reload, %29 %33 = add i32 %32, %sv_4.020.reload %34 = mul i32 %sv_3.019.reload, %sv_3.019.reload %35 = udiv i32 %34, 256 %36 = add i32 %sv_3.019.reload, 128 %37 = sub i32 %36, %35 %38 = udiv i32 %37, 256 %39 = load i64, i64* %31, align 8 %40 = zext i32 %33 to i64 %41 = mul i64 %40, 8 %42 = add i64 %41, %39 %43 = inttoptr i64 %42 to i32* store i32 %38, i32* %43, align 4 %44 = load i64, i64* %31, align 8 %45 = or i64 %41, 4 %46 = add i64 %45, %44 %47 = inttoptr i64 %46 to i32* store i32 %33, i32* %47, align 4 %48 = add i32 %sv_4.020.reload, 1 %49 = add i32 %sv_3.019.reload, 16 %50 = load i32, i32* %16, align 4 %51 = zext i32 %50 to i64 %52 = sext i32 %48 to i64 %53 = icmp slt i64 %52, %51 store i32 %50, i32* %.reg2mem store i32 %48, i32* %sv_4.020.reg2mem store i32 %49, i32* %sv_3.019.reg2mem br i1 %53, label LBL_3, label LBL_11 LBL_4: %54 = add i64 %6, 4 %55 = inttoptr i64 %54 to i32* %56 = load i32, i32* %55, align 4 %57 = icmp eq i32 %56, 0 br i1 %57, label LBL_11, label LBL_5 LBL_5: %58 = load i32, i32* %7, align 4 %59 = ashr i32 %58, 1 %60 = add i64 %6, 32 %61 = inttoptr i64 %60 to i64* %arg3.tr9 = trunc i64 %arg3 to i32 %62 = mul i32 %arg3.tr9, 16 %63 = mul i32 %62, %59 %64 = sext i32 %63 to i64 %65 = trunc i64 %1 to i32 %66 = sext i32 %59 to i64 %67 = mul i64 %66, 2 %68 = add i64 %6, 40 %69 = inttoptr i64 %68 to i64* store i32 %56, i32* %.reg2mem26 store i32 0, i32* %storemerge18.reg2mem br label LBL_6 LBL_6: %storemerge18.reload = load i32, i32* %storemerge18.reg2mem %.reload27 = load i32, i32* %.reg2mem26 %70 = load i64, i64* %61, align 8 %71 = inttoptr i64 %70 to i64* %72 = load i64, i64* %71, align 8 %73 = mul i32 %storemerge18.reload, 16 %74 = sext i32 %73 to i64 %75 = add nsw i64 %74, %64 %76 = mul i64 %75, 2 %77 = add i64 %76, %72 store i32 0, i32* %storemerge717.reg2mem store i32 0, i32* %sv_2.116.reg2mem store i32 0, i32* %sv_1.115.reg2mem store i64 %77, i64* %sv_0.014.reg2mem br label LBL_9 LBL_7: %sv_1.011.reload = load i32, i32* %sv_1.011.reg2mem %sv_2.012.reload = load i32, i32* %sv_2.012.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %78 = mul i64 %indvars.iv.reload, 2 %79 = add i64 %78, %sv_0.014.reload %80 = inttoptr i64 %79 to i16* %81 = load i16, i16* %80, align 2 %82 = udiv i16 %81, 64 %83 = zext i16 %82 to i32 %84 = add i32 %sv_1.011.reload, %83 %85 = mul nuw nsw i32 %83, %83 %86 = add i32 %85, %sv_2.012.reload %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 store i32 %86, i32* %sv_2.012.reg2mem store i32 %84, i32* %sv_1.011.reg2mem br i1 %exitcond, label LBL_8, label LBL_7 LBL_8: %87 = add i64 %sv_0.014.reload, %67 %88 = add nuw nsw i32 %storemerge717.reload, 1 %exitcond22 = icmp eq i32 %88, 16 store i32 %88, i32* %storemerge717.reg2mem store i32 %86, i32* %sv_2.116.reg2mem store i32 %84, i32* %sv_1.115.reg2mem store i64 %87, i64* %sv_0.014.reg2mem br i1 %exitcond22, label LBL_10, label LBL_9 LBL_9: %sv_0.014.reload = load i64, i64* %sv_0.014.reg2mem %sv_1.115.reload = load i32, i32* %sv_1.115.reg2mem %sv_2.116.reload = load i32, i32* %sv_2.116.reg2mem %storemerge717.reload = load i32, i32* %storemerge717.reg2mem store i64 0, i64* %indvars.iv.reg2mem store i32 %sv_2.116.reload, i32* %sv_2.012.reg2mem store i32 %sv_1.115.reload, i32* %sv_1.011.reg2mem br label LBL_7 LBL_10: %89 = mul i32 %.reload27, %65 %90 = add i32 %89, %storemerge18.reload %91 = ashr i32 %84, 8 %92 = ashr i32 %86, 8 %93 = mul i32 %91, %91 %94 = load i64, i64* %69, align 8 %95 = zext i32 %90 to i64 %96 = mul i64 %95, 8 %97 = add i64 %94, %96 %98 = sub i32 %92, %93 %99 = inttoptr i64 %97 to i32* store i32 %98, i32* %99, align 4 %100 = load i64, i64* %69, align 8 %101 = or i64 %96, 4 %102 = add i64 %100, %101 %103 = inttoptr i64 %102 to i32* store i32 %90, i32* %103, align 4 %104 = add i32 %storemerge18.reload, 1 %105 = load i32, i32* %55, align 4 %106 = zext i32 %105 to i64 %107 = sext i32 %104 to i64 %108 = icmp slt i64 %107, %106 store i32 %105, i32* %.reg2mem26 store i32 %104, i32* %storemerge18.reg2mem br i1 %108, label LBL_6, label LBL_11 LBL_11: ret i64 0 uselistorder i32 %86, { 2, 0, 1 } uselistorder i32 %84, { 2, 0, 1 } uselistorder i32 %83, { 1, 2, 0 } uselistorder i32 %storemerge18.reload, { 1, 0, 2 } uselistorder i32 %59, { 1, 0 } uselistorder i32* %55, { 1, 0 } uselistorder i32 %sv_4.020.reload, { 1, 0 } uselistorder i32 %sv_3.019.reload, { 1, 0, 3, 2 } uselistorder i32* %16, { 1, 0 } uselistorder i32* %7, { 1, 0 } uselistorder i64 %6, { 0, 1, 2, 3, 5, 4, 7, 6 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_4.020.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_3.019.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem26, { 1, 0, 2 } uselistorder i32* %storemerge18.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_2.012.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_1.011.reg2mem, { 2, 1, 0 } uselistorder i32 16, { 3, 0, 1, 4, 2 } uselistorder i32 0, { 0, 1, 2, 3, 5, 4, 6 } uselistorder i64 4, { 0, 2, 1, 3 } uselistorder i32 8, { 1, 2, 0 } uselistorder i64 32, { 2, 3, 0, 1 } uselistorder i64 %arg3, { 1, 2, 0 } uselistorder label LBL_11, { 1, 3, 0, 2 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
O_getOwnPropertyDescriptor_13207
O_getOwnPropertyDescriptor
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %.pre-phi3.reg2mem = alloca i64* %0 = call i64 @FUNC(i64 %arg1, i64 1) %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 0 %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0)) unreachable LBL_2: %5 = call i64 @FUNC(i64 %arg1, i64 1) %6 = call i64 @FUNC(i64 %arg1, i64 2) %7 = call i64 @FUNC(i64 %arg1, i64 %5, i64 %6) %8 = icmp eq i64 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = call i64 @FUNC(i64 %arg1) store i64 %10, i64* %storemerge.reg2mem br label LBL_14 LBL_4: %11 = inttoptr i64 %7 to i32* %12 = call i64 @FUNC(i64 %arg1) %13 = add i64 %7, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = icmp eq i64 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_7, label LBL_5 LBL_5: %18 = add i64 %7, 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 br i1 %22, label LBL_8, label LBL_6 LBL_6: %23 = add i64 %7, 24 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = call i64 @FUNC(i64 %arg1, i64 %25) %27 = call i64 @FUNC(i64 %arg1, i64 4294967294, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0)) %28 = load i32, i32* %11, align 4 %29 = urem i32 %28, 2 %30 = icmp eq i32 %29, 0 %31 = zext i1 %30 to i64 %32 = call i64 @FUNC(i64 %arg1, i64 %31) %33 = call i64 @FUNC(i64 %arg1, i64 4294967294, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0)) br label LBL_13 LBL_7: %34 = call i64 @FUNC(i64 %arg1, i64 %15) %.pre = add i64 %7, 16 %.pre2 = inttoptr i64 %.pre to i64* store i64* %.pre2, i64** %.pre-phi3.reg2mem br label LBL_9 LBL_8: %35 = call i64 @FUNC(i64 %arg1) store i64* %19, i64** %.pre-phi3.reg2mem br label LBL_9 LBL_9: %.pre-phi3.reload = load i64*, i64** %.pre-phi3.reg2mem %36 = call i64 @FUNC(i64 %arg1, i64 4294967294, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0)) %37 = load i64, i64* %.pre-phi3.reload, align 8 %38 = icmp eq i64 %37, 0 br i1 %38, label LBL_11, label LBL_10 LBL_10: %39 = call i64 @FUNC(i64 %arg1, i64 %37) br label LBL_12 LBL_11: %40 = call i64 @FUNC(i64 %arg1) br label LBL_12 LBL_12: %41 = call i64 @FUNC(i64 %arg1, i64 4294967294, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_4, i64 0, i64 0)) br label LBL_13 LBL_13: %42 = load i32, i32* %11, align 4 %43 = and i32 %42, 2 %44 = icmp eq i32 %43, 0 %45 = zext i1 %44 to i64 %46 = call i64 @FUNC(i64 %arg1, i64 %45) %47 = call i64 @FUNC(i64 %arg1, i64 4294967294, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_5, i64 0, i64 0)) %48 = load i32, i32* %11, align 4 %49 = and i32 %48, 4 %50 = icmp eq i32 %49, 0 %51 = zext i1 %50 to i64 %52 = call i64 @FUNC(i64 %arg1, i64 %51) %53 = call i64 @FUNC(i64 %arg1, i64 4294967294, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_6, i64 0, i64 0)) store i64 %53, i64* %storemerge.reg2mem br label LBL_14 LBL_14: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32* %11, { 1, 2, 0 } uselistorder i64** %.pre-phi3.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64)* @js_pushobject, { 1, 0 } uselistorder i64 (i64, i64)* @js_pushboolean, { 2, 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder i64 (i64, i64, i8*)* @js_setproperty, { 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64)* @js_pushundefined, { 2, 1, 0 } uselistorder i64 1, { 1, 2, 0 } uselistorder i32 1, { 7, 6, 5, 4, 3, 2, 1, 0, 8 } uselistorder i64 %arg1, { 6, 7, 8, 9, 10, 11, 5, 12, 13, 4, 0, 1, 2, 3, 14, 15, 16, 17, 18, 19, 20 } }
1
BinRealVul
spl_array_get_dimension_ptr_7872
spl_array_get_dimension_ptr
define i64 @FUNC(i64 %arg1, i32* %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i32* %arg2 to i64 %4 = call i64 @FUNC(i64 %3) %5 = icmp ne i64* %arg3, null %6 = trunc i64 %2 to i32 %7 = icmp eq i32 %6, 8 %8 = icmp eq i1 %7, false %or.cond14 = icmp eq i1 %5, %8 br i1 %or.cond14, label LBL_1, label LBL_5 LBL_1: %9 = trunc i64 %1 to i32 %10 = trunc i64 %arg4 to i32 %11 = icmp ne i32 %10, 1 %12 = icmp eq i32 %10, 2 %13 = icmp eq i1 %12, false %or.cond = icmp eq i1 %11, %13 %14 = icmp slt i32 %9, 1 %or.cond15 = or i1 %or.cond, %14 store i32 %6, i32* %.reg2mem br i1 %or.cond15, label LBL_2, label LBL_5 LBL_2: %.reload = load i32, i32* %.reg2mem store i32 7, i32* %.reg2mem switch i32 %.reload, label LBL_4 [ i32 0, label LBL_3 i32 7, label LBL_2 ] LBL_3: store i64 0, i64* @0, align 8 %15 = call i64* @malloc(i32 4) br label LBL_5 LBL_4: %16 = zext i32 %.reload to i64 store i64 %16, i64* @0, align 8 br label LBL_5 LBL_5: ret i64 0 uselistorder i32 %.reload, { 1, 0 } uselistorder i32* %.reg2mem, { 2, 0, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64* @0, { 1, 0 } uselistorder i32 7, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder label LBL_5, { 2, 3, 0, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
tty_init_termios_10611
tty_init_termios
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %.pre-phi.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = urem i32 %7, 2 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = add i64 %5, 4 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = add i64 %2, 16 %14 = inttoptr i64 %13 to i64* store i64 %12, i64* %14, align 8 store i64 %13, i64* %.pre-phi.reg2mem br label LBL_5 LBL_2: %sext = mul i64 %1, 4294967296 %15 = ashr exact i64 %sext, 29 %16 = add nsw i64 %15, 16 %17 = add i64 %16, %5 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = icmp eq i64 %19, 0 br i1 %20, label LBL_4, label LBL_3 LBL_3: %21 = inttoptr i64 %19 to i64* %22 = load i64, i64* %21, align 8 %23 = add i64 %2, 16 %24 = inttoptr i64 %23 to i64* store i64 %22, i64* %24, align 8 store i64 %23, i64* %.pre-phi.reg2mem br label LBL_5 LBL_4: %25 = add i64 %5, 4 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = add i64 %2, 16 %29 = inttoptr i64 %28 to i64* store i64 %27, i64* %29, align 8 store i64 %28, i64* %.pre-phi.reg2mem br label LBL_5 LBL_5: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %30 = call i64 @FUNC(i64 %.pre-phi.reload) %31 = trunc i64 %30 to i32 %32 = inttoptr i64 %.pre-phi.reload to i32* store i32 %31, i32* %32, align 4 %33 = call i64 @FUNC(i64 %.pre-phi.reload) %34 = trunc i64 %33 to i32 %35 = add i64 %2, 20 %36 = inttoptr i64 %35 to i32* store i32 %34, i32* %36, align 4 ret i64 0 uselistorder i64 %5, { 1, 0, 2, 3 } uselistorder i64* %.pre-phi.reg2mem, { 0, 3, 2, 1 } uselistorder i64 16, { 1, 2, 0, 3 } }
0
BinRealVul
get_lock_access_4236
get_lock_access
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = and i64 %arg2, 4294967295 %3 = call i64 @FUNC(i64 %2, i64 %0) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i64 %3, i64* %rax.0.reg2mem br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 %0, i64 %2) %8 = call i64 @FUNC(i64 %2, i64 %0) store i64 %8, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %2, { 1, 0, 2 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
kvm_arch_vcpu_ioctl_get_regs_8249
kvm_arch_vcpu_ioctl_get_regs
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1, i64 0) store i64 %2, i64* %arg2, align 8 %3 = call i64 @FUNC(i64 %1, i64 1) %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i64* store i64 %3, i64* %5, align 8 %6 = call i64 @FUNC(i64 %1, i64 2) %7 = add i64 %0, 16 %8 = inttoptr i64 %7 to i64* store i64 %6, i64* %8, align 8 %9 = call i64 @FUNC(i64 %1, i64 3) %10 = add i64 %0, 24 %11 = inttoptr i64 %10 to i64* store i64 %9, i64* %11, align 8 %12 = call i64 @FUNC(i64 %1, i64 4) %13 = add i64 %0, 32 %14 = inttoptr i64 %13 to i64* store i64 %12, i64* %14, align 8 %15 = call i64 @FUNC(i64 %1, i64 5) %16 = add i64 %0, 40 %17 = inttoptr i64 %16 to i64* store i64 %15, i64* %17, align 8 %18 = call i64 @FUNC(i64 %1, i64 6) %19 = add i64 %0, 48 %20 = inttoptr i64 %19 to i64* store i64 %18, i64* %20, align 8 %21 = call i64 @FUNC(i64 %1, i64 7) %22 = add i64 %0, 56 %23 = inttoptr i64 %22 to i64* store i64 %21, i64* %23, align 8 %24 = call i64 @FUNC(i64 %1) %25 = add i64 %0, 64 %26 = inttoptr i64 %25 to i64* store i64 %24, i64* %26, align 8 %27 = call i64 @FUNC(i64 %1) %28 = add i64 %0, 72 %29 = inttoptr i64 %28 to i64* store i64 %27, i64* %29, align 8 ret i64 0 uselistorder i64 %0, { 7, 6, 5, 4, 3, 2, 1, 0, 8 } uselistorder i64 (i64, i64)* @kvm_register_read, { 7, 6, 5, 4, 3, 2, 1, 0 } }
0
BinRealVul
prepend_to_path_3909
prepend_to_path
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sext = mul i64 %arg2, 4294967296 %0 = ashr exact i64 %sext, 32 %1 = call i8* @getenv(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) %2 = icmp eq i8* %1, null %3 = icmp eq i1 %2, false %spec.select = select i1 %3, i8* %1, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_1, i64 0, i64 0) %4 = call i32 @strlen(i8* %spec.select) %5 = trunc i64 %0 to i32 %6 = add i32 %5, 2 %7 = add i32 %6, %4 %8 = sext i32 %7 to i64 %9 = call i64 @FUNC(i64 %8) %10 = inttoptr i64 %9 to i64* %11 = inttoptr i64 %arg1 to i64* %12 = call i64* @memcpy(i64* %10, i64* %11, i32 %5) %13 = add i64 %9, %0 %14 = inttoptr i64 %13 to i8* store i8 58, i8* %14, align 1 %15 = add i32 %4, 1 %16 = add i64 %13, 1 %17 = inttoptr i64 %16 to i64* %18 = bitcast i8* %spec.select to i64* %19 = call i64* @memcpy(i64* %17, i64* %18, i32 %15) %20 = inttoptr i64 %9 to i8* %21 = call i32 @setenv(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8* %20, i32 1) %22 = sext i32 %21 to i64 ret i64 %22 uselistorder i64 %9, { 1, 0, 2 } uselistorder i32 %5, { 1, 0 } uselistorder i32 %4, { 1, 0 } uselistorder i32 1, { 1, 0, 2, 3 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 } }
0
BinRealVul
bid_keyword_list_9238
bid_keyword_list
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %rax.0.shrunk.reg2mem = alloca i32 %sv_0.231.reg2mem = alloca i64 %sv_1.232.reg2mem = alloca i64 %sv_2.033.reg2mem = alloca i32 %sv_0.1.lcssa.reg2mem = alloca i64 %sv_1.1.lcssa.reg2mem = alloca i64 %sv_3.0.lcssa.reg2mem = alloca i32 %sv_0.12475.reg2mem = alloca i64 %sv_1.12376.reg2mem = alloca i64 %sv_1.2.be.reg2mem = alloca i64 %sv_0.2.be.reg2mem = alloca i64 %storemerge.lcssa.ph.reg2mem = alloca i32 %sv_1.0.lcssa.ph.reg2mem = alloca i64 %.pre-phi.ph.in.reg2mem = alloca i64 %sv_0.012.reg2mem = alloca i64 %sv_1.013.reg2mem = alloca i64 %storemerge14.reg2mem = alloca i32 %.reg2mem = alloca i8 %0 = icmp slt i64 %arg2, 1 store i32 0, i32* %rax.0.shrunk.reg2mem br i1 %0, label LBL_21, label LBL_1 LBL_1: %1 = trunc i64 %arg4 to i32 %2 = icmp eq i32 %1, 0 %3 = trunc i64 %arg3 to i32 %4 = icmp eq i32 %3, 0 store i32 0, i32* %sv_2.033.reg2mem store i64 %arg2, i64* %sv_1.232.reg2mem store i64 %arg1, i64* %sv_0.231.reg2mem br label LBL_20 LBL_2: %5 = add i64 %sv_0.012.reload, 1 %6 = add nsw i64 %sv_1.013.reload, -1 %7 = icmp slt i64 %sv_1.013.reload, 2 store i64 %5, i64* %.pre-phi.ph.in.reg2mem store i64 %6, i64* %sv_1.0.lcssa.ph.reg2mem store i32 1, i32* %storemerge.lcssa.ph.reg2mem br i1 %7, label LBL_5, label LBL_2.LBL_4_crit_edge LBL_3: %.pre69 = inttoptr i64 %5 to i8* %.pre = load i8, i8* %.pre69, align 1 store i8 %.pre, i8* %.reg2mem store i32 1, i32* %storemerge14.reg2mem store i64 %6, i64* %sv_1.013.reg2mem store i64 %5, i64* %sv_0.012.reg2mem br label LBL_4 LBL_4: %sv_0.012.reload = load i64, i64* %sv_0.012.reg2mem %sv_1.013.reload = load i64, i64* %sv_1.013.reg2mem %storemerge14.reload = load i32, i32* %storemerge14.reg2mem %.reload = load i8, i8* %.reg2mem store i64 %sv_0.012.reload, i64* %.pre-phi.ph.in.reg2mem store i64 %sv_1.013.reload, i64* %sv_1.0.lcssa.ph.reg2mem store i32 %storemerge14.reload, i32* %storemerge.lcssa.ph.reg2mem switch i8 %.reload, label LBL_5 [ i8 32, label LBL_2 i8 9, label LBL_2 ] LBL_5: %.pre-phi.ph.in.reload = load i64, i64* %.pre-phi.ph.in.reg2mem %.pre-phi.ph = inttoptr i64 %.pre-phi.ph.in.reload to i8* %.pr = load i8, i8* %.pre-phi.ph, align 1 store i32 %sv_2.033.reload, i32* %rax.0.shrunk.reg2mem store i32 %sv_2.033.reload, i32* %rax.0.shrunk.reg2mem switch i8 %.pr, label LBL_6 [ i8 10, label LBL_21 i8 13, label LBL_21 ] LBL_6: %storemerge.lcssa.ph.reload = load i32, i32* %storemerge.lcssa.ph.reg2mem %sv_1.0.lcssa.ph.reload = load i64, i64* %sv_1.0.lcssa.ph.reg2mem %8 = icmp eq i8 %.pr, 92 %9 = icmp eq i1 %8, false br i1 %9, label LBL_8, label LBL_7 LBL_7: %10 = add i64 %.pre-phi.ph.in.reload, 1 %11 = inttoptr i64 %10 to i8* %12 = load i8, i8* %11, align 1 store i32 %sv_2.033.reload, i32* %rax.0.shrunk.reg2mem store i32 %sv_2.033.reload, i32* %rax.0.shrunk.reg2mem switch i8 %12, label LBL_8 [ i8 10, label LBL_21 i8 13, label LBL_21 ] LBL_8: %13 = or i32 %storemerge.lcssa.ph.reload, %1 %14 = icmp eq i32 %13, 0 store i32 -1, i32* %rax.0.shrunk.reg2mem br i1 %14, label LBL_21, label LBL_9 LBL_9: %15 = icmp eq i64 %sv_1.0.lcssa.ph.reload, 0 %16 = icmp eq i1 %15, false %or.cond = or i1 %2, %16 store i32 %sv_2.033.reload, i32* %rax.0.shrunk.reg2mem br i1 %or.cond, label LBL_10, label LBL_21 LBL_10: br i1 %4, label LBL_12, label LBL_11 LBL_11: %17 = call i64 @FUNC(i64 %.pre-phi.ph.in.reload, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i64 %sv_1.0.lcssa.ph.reload) %18 = trunc i64 %17 to i32 %19 = icmp slt i32 %18, 1 store i32 1, i32* %rax.0.shrunk.reg2mem br i1 %19, label LBL_12, label LBL_21 LBL_12: %20 = call i64 @FUNC(i64 %.pre-phi.ph.in.reload, i64 %sv_1.0.lcssa.ph.reload) %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %21, 0 %23 = icmp eq i1 %22, false store i32 -1, i32* %rax.0.shrunk.reg2mem br i1 %23, label LBL_13, label LBL_21 LBL_13: %sext4 = mul i64 %20, 4294967296 %24 = ashr exact i64 %sext4, 32 %25 = add i64 %24, %.pre-phi.ph.in.reload %26 = sub i64 %sv_1.0.lcssa.ph.reload, %24 %27 = inttoptr i64 %25 to i8* %28 = load i8, i8* %27, align 1 %29 = icmp eq i8 %28, 61 %30 = icmp eq i1 %29, false store i64 %25, i64* %sv_0.2.be.reg2mem store i64 %26, i64* %sv_1.2.be.reg2mem br i1 %30, label LBL_14, label LBL_15 LBL_14: %31 = add i32 %sv_2.033.reload, 1 %sv_1.2.be.reload = load i64, i64* %sv_1.2.be.reg2mem %sv_0.2.be.reload = load i64, i64* %sv_0.2.be.reg2mem %32 = icmp slt i64 %sv_1.2.be.reload, 1 store i32 %31, i32* %sv_2.033.reg2mem store i64 %sv_1.2.be.reload, i64* %sv_1.232.reg2mem store i64 %sv_0.2.be.reload, i64* %sv_0.231.reg2mem store i32 %31, i32* %rax.0.shrunk.reg2mem br i1 %32, label LBL_21, label LBL_20 LBL_15: %sv_1.120 = add i64 %26, -1 %sv_0.121 = add i64 %25, 1 %33 = icmp slt i64 %sv_1.120, 1 store i32 0, i32* %sv_3.0.lcssa.reg2mem store i64 %sv_1.120, i64* %sv_1.1.lcssa.reg2mem store i64 %sv_0.121, i64* %sv_0.1.lcssa.reg2mem br i1 %33, label LBL_19, label LBL_16 LBL_16: %34 = inttoptr i64 %sv_0.121 to i8* %35 = load i8, i8* %34, align 1 %36 = icmp ne i8 %35, 32 %37 = icmp eq i8 %35, 9 %38 = icmp eq i1 %37, false %or.cond774 = icmp eq i1 %36, %38 store i64 %sv_1.120, i64* %sv_1.12376.reg2mem store i64 %sv_0.121, i64* %sv_0.12475.reg2mem store i32 0, i32* %sv_3.0.lcssa.reg2mem store i64 %sv_1.120, i64* %sv_1.1.lcssa.reg2mem store i64 %sv_0.121, i64* %sv_0.1.lcssa.reg2mem br i1 %or.cond774, label LBL_17, label LBL_19 LBL_17: %sv_0.12475.reload = load i64, i64* %sv_0.12475.reg2mem %sv_1.12376.reload = load i64, i64* %sv_1.12376.reg2mem %sv_1.1 = add i64 %sv_1.12376.reload, -1 %sv_0.1 = add i64 %sv_0.12475.reload, 1 %39 = icmp slt i64 %sv_1.1, 1 store i32 1, i32* %sv_3.0.lcssa.reg2mem store i64 %sv_1.1, i64* %sv_1.1.lcssa.reg2mem store i64 %sv_0.1, i64* %sv_0.1.lcssa.reg2mem br i1 %39, label LBL_19, label LBL_18 LBL_18: %40 = inttoptr i64 %sv_0.1 to i8* %41 = load i8, i8* %40, align 1 %42 = icmp ne i8 %41, 32 %43 = icmp eq i8 %41, 9 %44 = icmp eq i1 %43, false %or.cond7 = icmp eq i1 %42, %44 store i64 %sv_1.1, i64* %sv_1.12376.reg2mem store i64 %sv_0.1, i64* %sv_0.12475.reg2mem store i32 1, i32* %sv_3.0.lcssa.reg2mem store i64 %sv_1.1, i64* %sv_1.1.lcssa.reg2mem store i64 %sv_0.1, i64* %sv_0.1.lcssa.reg2mem br i1 %or.cond7, label LBL_17, label LBL_19 LBL_19: %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem %sv_1.1.lcssa.reload = load i64, i64* %sv_1.1.lcssa.reg2mem %sv_3.0.lcssa.reload = load i32, i32* %sv_3.0.lcssa.reg2mem %45 = or i32 %sv_3.0.lcssa.reload, %3 %46 = icmp eq i32 %45, 0 store i64 %sv_0.1.lcssa.reload, i64* %sv_0.2.be.reg2mem store i64 %sv_1.1.lcssa.reload, i64* %sv_1.2.be.reg2mem store i32 -1, i32* %rax.0.shrunk.reg2mem br i1 %46, label LBL_21, label LBL_14 LBL_20: %sv_0.231.reload = load i64, i64* %sv_0.231.reg2mem %sv_1.232.reload = load i64, i64* %sv_1.232.reg2mem %sv_2.033.reload = load i32, i32* %sv_2.033.reg2mem %47 = inttoptr i64 %sv_0.231.reload to i8* %48 = load i8, i8* %47, align 1 %49 = icmp eq i8 %48, 0 %50 = icmp eq i1 %49, false store i8 %48, i8* %.reg2mem store i32 0, i32* %storemerge14.reg2mem store i64 %sv_1.232.reload, i64* %sv_1.013.reg2mem store i64 %sv_0.231.reload, i64* %sv_0.012.reg2mem store i32 %sv_2.033.reload, i32* %rax.0.shrunk.reg2mem br i1 %50, label LBL_4, label LBL_21 LBL_21: %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 %sv_2.033.reload, { 0, 2, 1, 4, 3, 5, 6 } uselistorder i64 %sv_0.231.reload, { 1, 0 } uselistorder i64 %sv_0.1, { 1, 2, 3, 0 } uselistorder i64 %sv_1.1, { 1, 2, 0, 3 } uselistorder i64 %sv_0.121, { 0, 2, 3, 1 } uselistorder i64 %sv_1.120, { 0, 2, 1, 3 } uselistorder i64 %26, { 1, 0 } uselistorder i64 %25, { 1, 0, 2 } uselistorder i64 %24, { 1, 0 } uselistorder i8 %.pr, { 1, 0 } uselistorder i64 %.pre-phi.ph.in.reload, { 1, 3, 2, 4, 0 } uselistorder i64 %6, { 1, 0 } uselistorder i64 %5, { 1, 2, 0 } uselistorder i8* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge14.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.013.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.012.reg2mem, { 1, 0, 2 } uselistorder i64* %.pre-phi.ph.in.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_1.0.lcssa.ph.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge.lcssa.ph.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.2.be.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.2.be.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.12376.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.12475.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_3.0.lcssa.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i64* %sv_1.1.lcssa.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i64* %sv_0.1.lcssa.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 4, 2, 3, 9, 10, 11, 1, 7, 8, 5, 6, 12 } uselistorder i32 -1, { 1, 2, 0 } uselistorder i1 false, { 6, 1, 0, 3, 4, 2, 5, 7 } uselistorder i8 9, { 1, 0, 2 } uselistorder i8 32, { 2, 0, 1 } uselistorder i64 -1, { 1, 0, 2 } uselistorder i32 0, { 4, 6, 2, 3, 7, 5, 1, 8, 9, 0, 10, 11 } uselistorder i64 1, { 4, 3, 1, 2, 5, 7, 6, 0 } uselistorder i32 1, { 8, 7, 25, 0, 24, 20, 14, 22, 21, 19, 18, 17, 16, 15, 13, 12, 11, 10, 9, 6, 5, 4, 3, 2, 1, 23 } uselistorder label LBL_21, { 7, 9, 8, 2, 1, 0, 10, 4, 3, 6, 5, 11 } uselistorder label LBL_20, { 1, 0 } uselistorder label LBL_19, { 1, 2, 0, 3 } uselistorder label LBL_17, { 1, 0 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
find_transport_8398
find_transport
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %storemerge23.reg2mem = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64 0, i64* %storemerge.reg2mem br i1 %3, label LBL_4, label LBL_1 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = add i64 %4, 4 %6 = trunc i64 %arg2 to i32 %7 = and i64 %1, 4294967295 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge23.reg2mem br label LBL_2 LBL_2: %.reload = load i64, i64* %.reg2mem %8 = mul i64 %.reload, 4 %9 = add i64 %5, %8 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp eq i32 %11, %6 %13 = icmp eq i1 %12, false store i64 %9, i64* %storemerge.reg2mem br i1 %13, label LBL_3, label LBL_4 LBL_3: %storemerge23.reload = load i32, i32* %storemerge23.reg2mem %14 = add i32 %storemerge23.reload, 1 %15 = sext i32 %14 to i64 %16 = icmp sgt i64 %7, %15 store i64 %15, i64* %.reg2mem store i32 %14, i32* %storemerge23.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %16, label LBL_2, label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %1, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge23.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
bump_cpu_timer_11482
bump_cpu_timer
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.2.reg2mem = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.12.reg2mem = alloca i64 %sv_0.14.reg2mem = alloca i64 %sv_2.05.reg2mem = alloca i32 %sv_1.0.lcssa15.reg2mem = alloca i64 %storemerge1.lcssa16.reg2mem = alloca i32 %sv_1.07.reg2mem = alloca i64 %storemerge18.reg2mem = alloca i32 %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 = icmp eq i64 %3, 0 store i64 0, i64* %rax.2.reg2mem br i1 %4, label LBL_9, label LBL_1 LBL_1: %5 = icmp ugt i64 %0, %arg2 store i64 %0, i64* %rax.2.reg2mem br i1 %5, label LBL_9, label LBL_2 LBL_2: %6 = sub i64 %arg2, %0 %7 = add i64 %3, %6 %8 = icmp ult i64 %3, %6 store i32 0, i32* %storemerge18.reg2mem store i64 %3, i64* %sv_1.07.reg2mem store i32 0, i32* %storemerge1.lcssa16.reg2mem store i64 %3, i64* %sv_1.0.lcssa15.reg2mem br i1 %8, label LBL_3, label LBL_5 LBL_3: %sv_1.07.reload = load i64, i64* %sv_1.07.reg2mem %storemerge18.reload = load i32, i32* %storemerge18.reg2mem %9 = mul i64 %sv_1.07.reload, 2 %10 = add i32 %storemerge18.reload, 1 %11 = sub i64 %7, %9 %12 = icmp ult i64 %9, %11 store i32 %10, i32* %storemerge18.reg2mem store i64 %9, i64* %sv_1.07.reg2mem br i1 %12, label LBL_3, label LBL_4 LBL_4: %13 = icmp slt i32 %10, 0 %14 = icmp eq i1 %13, false store i32 %10, i32* %storemerge1.lcssa16.reg2mem store i64 %9, i64* %sv_1.0.lcssa15.reg2mem store i64 %11, i64* %rax.2.reg2mem br i1 %14, label LBL_5, label LBL_9 LBL_5: %sv_1.0.lcssa15.reload = load i64, i64* %sv_1.0.lcssa15.reg2mem %storemerge1.lcssa16.reload = load i32, i32* %storemerge1.lcssa16.reg2mem %15 = add i64 %0, 16 %16 = inttoptr i64 %15 to i64* store i32 %storemerge1.lcssa16.reload, i32* %sv_2.05.reg2mem store i64 %7, i64* %sv_0.14.reg2mem store i64 %sv_1.0.lcssa15.reload, i64* %sv_1.12.reg2mem br label LBL_6 LBL_6: %sv_1.12.reload = load i64, i64* %sv_1.12.reg2mem %sv_0.14.reload = load i64, i64* %sv_0.14.reg2mem %sv_2.05.reload = load i32, i32* %sv_2.05.reg2mem %17 = icmp ult i64 %sv_0.14.reload, %sv_1.12.reload store i64 %sv_0.14.reload, i64* %sv_0.0.reg2mem store i64 %sv_0.14.reload, i64* %rax.0.reg2mem br i1 %17, label LBL_8, label LBL_7 LBL_7: %18 = add i64 %sv_1.12.reload, %0 store i64 %18, i64* %arg1, align 8 %19 = load i64, i64* %16, align 8 %20 = urem i32 %sv_2.05.reload, 32 %21 = shl i32 1, %20 %22 = sext i32 %21 to i64 %23 = add i64 %19, %22 store i64 %23, i64* %16, align 8 %24 = sub i64 %sv_0.14.reload, %sv_1.12.reload store i64 %24, i64* %sv_0.0.reg2mem store i64 %sv_1.12.reload, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %25 = udiv i64 %sv_1.12.reload, 2 %26 = add i32 %sv_2.05.reload, -1 %27 = icmp slt i32 %26, 0 %28 = icmp eq i1 %27, false store i32 %26, i32* %sv_2.05.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.14.reg2mem store i64 %25, i64* %sv_1.12.reg2mem store i64 %rax.0.reload, i64* %rax.2.reg2mem br i1 %28, label LBL_6, label LBL_9 LBL_9: %rax.2.reload = load i64, i64* %rax.2.reg2mem ret i64 %rax.2.reload uselistorder i64 %sv_0.14.reload, { 2, 0, 1, 3 } uselistorder i64 %sv_1.12.reload, { 4, 0, 1, 3, 2 } uselistorder i32 %10, { 0, 2, 1 } uselistorder i64 %9, { 0, 1, 3, 2 } uselistorder i64 %6, { 1, 0 } uselistorder i64 %3, { 0, 1, 3, 2, 4 } uselistorder i64 %0, { 1, 4, 2, 0, 3, 5 } uselistorder i32* %storemerge18.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.07.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge1.lcssa16.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_1.0.lcssa15.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_2.05.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.14.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.12.reg2mem, { 1, 0, 2 } uselistorder i1 false, { 1, 0 } uselistorder i64 2, { 1, 0 } uselistorder i32 0, { 3, 2, 0, 1 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
finish_7231
finish
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0 = alloca i32, align 4 %sv_1 = alloca i64, align 8 store i32 -559038737, i32* %sv_0, align 4 store i64 0, i64* %sv_1, align 8 %0 = load i32, i32* @gv_0, align 4 %1 = zext i32 %0 to i64 %2 = call i64 @FUNC(i64 %1, i32* nonnull %sv_0, i64 4, i64* nonnull %sv_1) %3 = icmp eq i64 %2, 4 store i64 4294967264, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_3 LBL_1: %4 = load i32*, i32** @gv_1, align 8 %5 = icmp eq i32* %4, null store i64 0, i64* %storemerge.reg2mem br i1 %5, label LBL_3, label LBL_2 LBL_2: %6 = ptrtoint i32* %4 to i64 %7 = call i64 @FUNC(i64 %6) %8 = load i32, i32* %4, align 4 %9 = and i64 %7, 4294967295 %10 = zext i32 %8 to i64 %11 = call i64 @FUNC(i64 %10, i64 %9) %12 = call i64 @FUNC(i64* bitcast (i32** @gv_1 to i64*)) 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* %4, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 } uselistorder label LBL_3, { 1, 0, 2 } }
0
BinRealVul
put_unused_buffer_15888
put_unused_buffer
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.lcssa.reg2mem = alloca i64 %sv_0.01.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64 %arg3, 0 %2 = icmp eq i1 %1, false store i64 %arg3, i64* %sv_0.01.reg2mem br i1 %2, label LBL_1, label LBL_2 LBL_1: %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem %3 = icmp ult i64 %sv_0.01.reload, 1024 %4 = select i1 %3, i64 %sv_0.01.reload, i64 1024 %5 = sub i64 %sv_0.01.reload, %4 %6 = call i64 @FUNC(i64 %0, i64* nonnull @gv_0, i64 %4) %7 = icmp eq i64 %5, 0 %8 = icmp eq i1 %7, false store i64 %5, i64* %sv_0.01.reg2mem store i64 %6, i64* %rax.0.lcssa.reg2mem br i1 %8, label LBL_1, label LBL_2 LBL_2: %rax.0.lcssa.reload = load i64, i64* %rax.0.lcssa.reg2mem ret i64 %rax.0.lcssa.reload uselistorder i64* %sv_0.01.reg2mem, { 2, 0, 1 } uselistorder i1 false, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
ssh_buffer_add_data_19058
ssh_buffer_add_data
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) 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 = icmp eq i64 %arg2, 0 %5 = icmp eq i1 %4, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_7 LBL_1: %6 = trunc i64 %1 to i32 %7 = trunc i64 %arg3 to i32 %8 = add i32 %6, %7 %9 = icmp ult i32 %8, %7 store i64 4294967295, i64* %rax.0.reg2mem br i1 %9, label LBL_7, label LBL_2 LBL_2: %10 = add i64 %2, 4 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = icmp ult i32 %12, %8 %14 = icmp eq i1 %13, false br i1 %14, label LBL_6, label LBL_3 LBL_3: %15 = add i64 %2, 8 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp eq i32 %17, 0 br i1 %18, label LBL_5, label LBL_4 LBL_4: %19 = call i64 @FUNC(i64 %2) br label LBL_5 LBL_5: %20 = zext i32 %8 to i64 %21 = call i64 @FUNC(i64 %2, i64 %20) %22 = trunc i64 %21 to i32 %23 = icmp slt i32 %22, 0 %24 = icmp eq i1 %23, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %24, label LBL_6, label LBL_7 LBL_6: %25 = add i64 %2, 16 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = and i64 %1, 4294967295 %29 = add i64 %27, %28 %30 = inttoptr i64 %29 to i64* %31 = inttoptr i64 %arg2 to i64* %32 = call i64* @memcpy(i64* %30, i64* %31, i32 %7) %33 = bitcast i64* %arg1 to i32* store i32 %8, i32* %33, align 4 %34 = call i64 @FUNC(i64 %2) 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 i32 %7, { 1, 2, 0 } uselistorder i64 %2, { 1, 2, 0, 5, 4, 3, 6 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i64 4294967295, { 4, 0, 1, 2, 3 } uselistorder i64 (i64)* @buffer_verify, { 1, 0 } uselistorder label LBL_7, { 3, 0, 1, 2 } }
1
BinRealVul
gf_bin128_parse_12313
gf_bin128_parse
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.07.reg2mem = alloca i32 %sv_0.010.reg2mem = alloca i32 %storemerge211.reg2mem = alloca i32 %sv_1.08.reg2mem = alloca i32 %.reg2mem = alloca i8* %sv_2 = alloca i32, align 4 %sv_3 = alloca i64, align 8 %0 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i64 2) %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 0 %3 = icmp eq i1 %2, false %4 = add i64 %arg1, 2 %spec.select = select i1 %3, i64 %arg1, i64 %4 %5 = inttoptr i64 %spec.select to i8* %6 = call i32 @strlen(i8* %5) %7 = icmp ult i32 %6, 32 br i1 %7, label LBL_8, label LBL_1 LBL_1: %8 = ptrtoint i64* %arg2 to i64 %9 = bitcast i64* %sv_3 to i8* store i32 0, i32* %storemerge211.reg2mem store i32 0, i32* %sv_0.010.reg2mem br label LBL_6 LBL_2: %10 = add i32 %sv_1.08.reload, 1 %11 = zext i32 %10 to i64 %12 = add i64 %spec.select, %11 %13 = inttoptr i64 %12 to i8* %14 = load i8, i8* %13, align 1 %15 = icmp eq i8 %14, 0 store i8* %13, i8** %.reg2mem store i32 %10, i32* %sv_1.08.reg2mem store i32 %sv_0.010.reload, i32* %sv_0.07.reg2mem br i1 %15, label LBL_7, label LBL_3 LBL_3: %sv_1.08.reload = load i32, i32* %sv_1.08.reg2mem %.reload = load i8*, i8** %.reg2mem %16 = call i16** @__ctype_b_loc() %17 = load i16*, i16** %16, align 8 %18 = ptrtoint i16* %17 to i64 %19 = load i8, i8* %.reload, align 1 %20 = sext i8 %19 to i64 %21 = mul i64 %20, 2 %22 = add i64 %21, %18 %23 = inttoptr i64 %22 to i16* %24 = load i16, i16* %23, align 2 %25 = and i16 %24, 8 %26 = icmp eq i16 %25, 0 br i1 %26, label LBL_2, label LBL_4 LBL_4: %27 = icmp eq i8 %19, 0 store i32 %sv_0.010.reload, i32* %sv_0.07.reg2mem br i1 %27, label LBL_7, label LBL_5 LBL_5: %28 = add i32 %sv_1.08.reload, 1 %29 = zext i32 %28 to i64 %30 = add i64 %spec.select, %29 %31 = inttoptr i64 %30 to i8* %32 = load i8, i8* %31, align 1 %33 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %9, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i8 %19, i8 %32) %34 = call i32 (i8*, i8*, ...) @sscanf(i8* nonnull %9, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i32* nonnull %sv_2) %35 = zext i32 %sv_0.010.reload to i64 %36 = mul i64 %35, 4 %37 = add i64 %36, %8 %38 = load i32, i32* %sv_2, align 4 %39 = inttoptr i64 %37 to i32* store i32 %38, i32* %39, align 4 %40 = add i32 %sv_0.010.reload, 1 %41 = add i32 %sv_1.08.reload, 2 %42 = icmp ult i32 %41, %6 store i32 %41, i32* %storemerge211.reg2mem store i32 %40, i32* %sv_0.010.reg2mem store i32 %40, i32* %sv_0.07.reg2mem br i1 %42, label LBL_6, label LBL_7 LBL_6: %sv_0.010.reload = load i32, i32* %sv_0.010.reg2mem %storemerge211.reload = load i32, i32* %storemerge211.reg2mem %43 = zext i32 %storemerge211.reload to i64 %44 = add i64 %spec.select, %43 %45 = inttoptr i64 %44 to i8* %46 = load i8, i8* %45, align 1 %47 = icmp eq i8 %46, 0 store i8* %45, i8** %.reg2mem store i32 %storemerge211.reload, i32* %sv_1.08.reg2mem store i32 %sv_0.010.reload, i32* %sv_0.07.reg2mem br i1 %47, label LBL_7, label LBL_3 LBL_7: %sv_0.07.reload = load i32, i32* %sv_0.07.reg2mem %48 = icmp eq i32 %sv_0.07.reload, 16 store i64 0, i64* %storemerge.reg2mem br i1 %48, label LBL_9, label LBL_8 LBL_8: %49 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_3, i64 0, i64 0), i8* %5) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_9 LBL_9: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %storemerge211.reload, { 1, 0 } uselistorder i32 %sv_0.010.reload, { 0, 2, 1, 4, 3 } uselistorder i32 %sv_1.08.reload, { 2, 1, 0 } uselistorder i64 %spec.select, { 2, 1, 0, 3 } uselistorder i8** %.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.08.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i8 0, { 1, 2, 3, 4, 0, 5 } uselistorder i64 2, { 0, 2, 1 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_7, { 2, 0, 1, 3 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
_gnutls_negotiate_version_9000
_gnutls_negotiate_version
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.in.pre-phi.reg2mem = alloca i64 %0 = and i64 %arg1, 4294967295 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false store i64 %0, i64* %sv_0.0.in.pre-phi.reg2mem br i1 %4, label LBL_4, label LBL_1 LBL_1: %5 = call i64 @FUNC() %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, -1 %8 = icmp eq i1 %7, false br i1 %8, label LBL_1.LBL_4_crit_edge, label LBL_3 LBL_2: %.pre = and i64 %5, 4294967295 store i64 %.pre, i64* %sv_0.0.in.pre-phi.reg2mem br label LBL_4 LBL_3: %9 = call i64 @FUNC() store i64 4294967294, i64* %storemerge.reg2mem br label LBL_5 LBL_4: %sv_0.0.in.pre-phi.reload = load i64, i64* %sv_0.0.in.pre-phi.reg2mem %10 = call i64 @FUNC(i64 %sv_0.0.in.pre-phi.reload) store i64 %sv_0.0.in.pre-phi.reload, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %sv_0.0.in.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 1, { 3, 2, 1, 0 } }
0
BinRealVul
tcg_gen_ld8s_i64_14680
tcg_gen_ld8s_i64
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = and i64 %arg1, 4294967295 %1 = call i64 @FUNC(i64 %0, i64 %arg2, i64 %arg3) %2 = ashr i64 %arg1, 32 %3 = call i64 @FUNC(i64 %2, i64 %2, i64 31) ret i64 %3 uselistorder i64 %2, { 1, 0 } uselistorder i64 %arg1, { 1, 0 } }
1
BinRealVul
bdrv_discard_16027
bdrv_discard
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 store i64 %0, i64* %sv_0, align 8 %1 = call i64 @FUNC() %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64* nonnull %sv_0) ret i64 0 LBL_2: %5 = call i64 @FUNC(i64 %0) %6 = call i64 @FUNC(i64 4198764) %7 = call i64 @FUNC(i64 %6, i64* nonnull %sv_0) br label LBL_3 LBL_3: %8 = call i64 @FUNC(i64 %5, i64 1) br label LBL_3 }
1
BinRealVul
vnc_display_init_2511
vnc_display_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 64) %2 = add i64 %1, 16 %3 = inttoptr i64 %2 to i32* store i32 1, i32* %3, align 4 store i64 %1, i64* @gv_0, align 8 %4 = inttoptr i64 %1 to i32* store i32 -1, i32* %4, align 4 %5 = add i64 %1, 8 %6 = inttoptr i64 %5 to i64* store i64 %0, i64* %6, align 8 %7 = add i64 %1, 56 %8 = call i64 @FUNC(i64 %7) %9 = add i64 %1, 32 %10 = inttoptr i64 %9 to i32* store i32 100, i32* %10, align 4 %11 = load i64, i64* @gv_1, align 8 %12 = icmp eq i64 %11, 0 %13 = load i64, i64* @gv_2, align 8 br i1 %12, label LBL_2, label LBL_1 LBL_1: %14 = call i64 @FUNC(i64 %13, i64 %11) %15 = add i64 %1, 40 %16 = inttoptr i64 %15 to i64* store i64 %14, i64* %16, align 8 store i64 %14, i64* %.reg2mem br label LBL_3 LBL_2: %17 = call i64 @FUNC(i64 %13, i64 ptrtoint ([6 x i8]* @gv_3 to i64)) %18 = add i64 %1, 40 %19 = inttoptr i64 %18 to i64* store i64 %17, i64* %19, align 8 store i64 %17, i64* %.reg2mem br label LBL_3 LBL_3: %.reload = load i64, i64* %.reg2mem %20 = icmp eq i64 %.reload, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_5, label LBL_4 LBL_4: call void @exit(i32 1) unreachable LBL_5: %22 = add i64 %1, 48 %23 = call i64 @FUNC(i64 %22) %24 = call i64 @FUNC() %25 = add i64 %1, 24 %26 = inttoptr i64 %25 to i64* store i64 ptrtoint (i64* @gv_4 to i64), i64* %26, align 8 %27 = call i64 @FUNC(i64 %0, i64 %2) ret i64 %27 uselistorder i64 %13, { 1, 0 } uselistorder i64 %1, { 1, 2, 3, 0, 4, 5, 6, 7, 8, 9 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64)* @init_keyboard_layout, { 1, 0 } }
0
BinRealVul
glfs_clear_preopened_2684
glfs_clear_preopened
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.1.reg2mem = alloca i64 %storemerge1.reg2mem = alloca i64 %0 = icmp eq i64 %arg1, 0 store i64 ptrtoint (i64* @gv_0 to i64), i64* %storemerge1.reg2mem br i1 %0, label LBL_8, label LBL_5 LBL_1: %1 = load i64, i64* %14, align 8 %2 = icmp eq i64 %1, 0 br i1 %2, label LBL_3, label LBL_2 LBL_2: %3 = add i64 %1, 24 %4 = inttoptr i64 %3 to i64* store i64 %1, i64* %4, align 8 br label LBL_3 LBL_3: %5 = load i64, i64* %16, align 8 %6 = call i64 @FUNC(i64 %5) %7 = add i64 %storemerge1.reload, 16 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %9) %11 = call i64 @FUNC(i64 %storemerge1.reload) br label LBL_4 LBL_4: %12 = icmp eq i64 %15, 0 store i64 %15, i64* %storemerge1.reg2mem store i64 0, i64* %rax.1.reg2mem br i1 %12, label LBL_8, label LBL_5 LBL_5: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %13 = add i64 %storemerge1.reload, 24 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = inttoptr i64 %storemerge1.reload to i64* %17 = load i64, i64* %16, align 8 %18 = icmp eq i64 %17, %arg1 %19 = icmp eq i1 %18, false br i1 %19, label LBL_4, label LBL_6 LBL_6: %20 = add i64 %storemerge1.reload, 8 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = add i32 %22, -1 store i32 %23, i32* %21, align 4 %24 = icmp eq i32 %23, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_7, label LBL_1 LBL_7: %26 = zext i32 %23 to i64 store i64 %26, i64* %rax.1.reg2mem br label LBL_8 LBL_8: %rax.1.reload = load i64, i64* %rax.1.reg2mem ret i64 %rax.1.reload uselistorder i64* %16, { 1, 0 } uselistorder i64 %15, { 1, 0 } uselistorder i64* %14, { 1, 0 } uselistorder i64 %storemerge1.reload, { 2, 4, 3, 1, 0 } uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.1.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @g_free, { 1, 0 } uselistorder i64 24, { 1, 0 } uselistorder i32 1, { 2, 1, 0 } uselistorder label LBL_8, { 1, 0, 2 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
install_process_keyring_to_cred_8576
install_process_keyring_to_cred
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null store i64 4294967279, i64* %rax.0.reg2mem br i1 %0, label LBL_1, label LBL_3 LBL_1: %1 = ptrtoint i64* %arg1 to i64 %2 = add i64 %1, 12 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = add i64 %1, 8 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = zext i32 %7 to i64 %9 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 %8, i32 %4, i64 %1, i64 3, i64 3, i64 0) %10 = icmp ult i64 %9, -1000 store i64 %9, i64* %rax.0.reg2mem br i1 %10, label LBL_2, label LBL_3 LBL_2: call void @llvm.trap() unreachable LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %1, { 0, 2, 1 } uselistorder i64 3, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } }
0
BinRealVul
recovery_cipher_abort_6911
recovery_cipher_abort
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 store i8 0, i8* inttoptr (i64 4210724 to i8*), align 4 %0 = load i8, i8* inttoptr (i64 4210725 to i8*), align 1 %1 = icmp eq i8 %0, 0 store i64 0, i64* %storemerge.reg2mem br i1 %1, label LBL_2, label LBL_1 LBL_1: store i8 0, i8* bitcast (i64* @gv_0 to i8*), align 8 store i64 1, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
snd_pcm_info_6364
snd_pcm_info
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = add i64 %3, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = call i64* @memset(i64* %arg2, i32 0, i32 128) %8 = trunc i64 %1 to i32 %9 = bitcast i64* %arg2 to i32* store i32 %8, i32* %9, align 4 %10 = inttoptr i64 %4 to i32* %11 = load i32, i32* %10, align 4 %12 = add i64 %2, 4 %13 = inttoptr i64 %12 to i32* store i32 %11, i32* %13, align 4 %14 = add i64 %3, 16 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = add i64 %2, 8 %18 = inttoptr i64 %17 to i32* store i32 %16, i32* %18, align 4 %19 = add i64 %3, 20 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = add i64 %2, 12 %23 = inttoptr i64 %22 to i32* store i32 %21, i32* %23, align 4 %24 = add i64 %3, 12 %25 = add i64 %2, 16 %26 = call i64 @FUNC(i64 %25, i64 %24, i64 32) %27 = add i64 %3, 44 %28 = add i64 %2, 48 %29 = call i64 @FUNC(i64 %28, i64 %27, i64 32) %30 = add i64 %3, 76 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = add i64 %2, 80 %34 = inttoptr i64 %33 to i32* store i32 %32, i32* %34, align 4 %35 = add i64 %3, 80 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = add i64 %2, 84 %39 = inttoptr i64 %38 to i32* store i32 %37, i32* %39, align 4 %40 = inttoptr i64 %6 to i32* %41 = load i32, i32* %40, align 4 %42 = add i64 %2, 88 %43 = inttoptr i64 %42 to i32* store i32 %41, i32* %43, align 4 %44 = load i32, i32* %40, align 4 %45 = add i64 %6, 4 %46 = inttoptr i64 %45 to i32* %47 = load i32, i32* %46, align 4 %48 = sub i32 %44, %47 %49 = add i64 %2, 92 %50 = inttoptr i64 %49 to i32* store i32 %48, i32* %50, align 4 %51 = add i64 %3, 24 %52 = add i64 %2, 96 %53 = call i64 @FUNC(i64 %52, i64 %51, i64 32) ret i64 0 uselistorder i64 %2, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64, i64)* @strlcpy, { 2, 1, 0 } }
0
BinRealVul
g_try_malloc0_915
g_try_malloc0
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 1, i64 %arg1) ret i64 %0 }
0
BinRealVul
nci_extract_rf_params_nfcb_passive_poll_11101
nci_extract_rf_params_nfcb_passive_poll
define i64 @FUNC(i64* %arg1, i64* %arg2, i32* %arg3) local_unnamed_addr { LBL_0: %0 = 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 i32* %arg3 to i64 %7 = ptrtoint i64* %arg2 to i64 %8 = add i64 %6, 1 %9 = trunc i64 %4 to i8 %10 = bitcast i64* %arg2 to i8* store i8 %9, i8* %10, align 1 %11 = trunc i64 %3 to i32 %12 = urem i64 %3, 256 %13 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i64 %12, i8 %9, i64 %5, i64 %2, i64 %1) %14 = add i64 %7, 1 %15 = inttoptr i64 %14 to i64* %16 = inttoptr i64 %8 to i64* %17 = urem i32 %11, 256 %18 = call i64* @memcpy(i64* %15, i64* %16, i32 %17) %19 = add i64 %12, %8 ret i64 %19 uselistorder i64 %12, { 1, 0 } uselistorder i8 %9, { 1, 0 } uselistorder i64 %3, { 1, 0 } uselistorder i64* %0, { 4, 3, 2, 1, 0 } }
1
BinRealVul
update_cr8_intercept_11502
update_cr8_intercept
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = load i64, i64* @gv_0, align 8 %1 = inttoptr i64 %0 to i64* %2 = load i64, i64* %1, align 8 %3 = icmp eq i64 %2, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_4, label LBL_1 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %4) br label LBL_3 LBL_3: %9 = call i64 @FUNC(i64 %4) store i64 %4, 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 %4, { 0, 3, 2, 1 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
diff_bytes_c_12147
diff_bytes_c
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %sv_0.07.reg2mem = alloca i64 %sv_0.0.ph.reg2mem = alloca i64 %storemerge58.reg2mem = alloca i64 %storemerge9.reg2mem = alloca i64 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i64* %arg2 to i64 %2 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg4, 4294967296 %3 = urem i64 %0, 8 %4 = icmp eq i64 %3, 0 %5 = ashr exact i64 %sext, 32 br i1 %4, label LBL_2, label LBL_1 LBL_1: %6 = icmp sgt i64 %sext, 30064771072 store i64 7, i64* %.reg2mem store i64 0, i64* %storemerge9.reg2mem store i64 0, i64* %sv_0.0.ph.reg2mem br i1 %6, label LBL_3, label LBL_5 LBL_2: %7 = add nsw i64 %5, -8 store i64 0, i64* %storemerge58.reg2mem br label LBL_4 LBL_3: %storemerge9.reload = load i64, i64* %storemerge9.reg2mem %.reload = load i64, i64* %.reg2mem %8 = add i64 %storemerge9.reload, %1 %9 = inttoptr i64 %8 to i8* %10 = load i8, i8* %9, align 1 %11 = add i64 %storemerge9.reload, %0 %12 = inttoptr i64 %11 to i8* %13 = load i8, i8* %12, align 1 %14 = add i64 %storemerge9.reload, %2 %15 = sub i8 %10, %13 %16 = inttoptr i64 %14 to i8* store i8 %15, i8* %16, align 1 %17 = or i64 %storemerge9.reload, 1 %18 = add i64 %17, %1 %19 = inttoptr i64 %18 to i8* %20 = load i8, i8* %19, align 1 %21 = add i64 %17, %0 %22 = inttoptr i64 %21 to i8* %23 = load i8, i8* %22, align 1 %24 = add i64 %17, %2 %25 = sub i8 %20, %23 %26 = inttoptr i64 %24 to i8* store i8 %25, i8* %26, align 1 %27 = or i64 %storemerge9.reload, 2 %28 = add i64 %27, %1 %29 = inttoptr i64 %28 to i8* %30 = load i8, i8* %29, align 1 %31 = add i64 %27, %0 %32 = inttoptr i64 %31 to i8* %33 = load i8, i8* %32, align 1 %34 = add i64 %27, %2 %35 = sub i8 %30, %33 %36 = inttoptr i64 %34 to i8* store i8 %35, i8* %36, align 1 %37 = or i64 %storemerge9.reload, 3 %38 = add i64 %37, %1 %39 = inttoptr i64 %38 to i8* %40 = load i8, i8* %39, align 1 %41 = add i64 %37, %0 %42 = inttoptr i64 %41 to i8* %43 = load i8, i8* %42, align 1 %44 = add i64 %37, %2 %45 = sub i8 %40, %43 %46 = inttoptr i64 %44 to i8* store i8 %45, i8* %46, align 1 %47 = or i64 %storemerge9.reload, 4 %48 = add i64 %47, %1 %49 = inttoptr i64 %48 to i8* %50 = load i8, i8* %49, align 1 %51 = add i64 %47, %0 %52 = inttoptr i64 %51 to i8* %53 = load i8, i8* %52, align 1 %54 = add i64 %47, %2 %55 = sub i8 %50, %53 %56 = inttoptr i64 %54 to i8* store i8 %55, i8* %56, align 1 %57 = or i64 %storemerge9.reload, 5 %58 = add i64 %57, %1 %59 = inttoptr i64 %58 to i8* %60 = load i8, i8* %59, align 1 %61 = add i64 %57, %0 %62 = inttoptr i64 %61 to i8* %63 = load i8, i8* %62, align 1 %64 = add i64 %57, %2 %65 = sub i8 %60, %63 %66 = inttoptr i64 %64 to i8* store i8 %65, i8* %66, align 1 %67 = or i64 %storemerge9.reload, 6 %68 = add i64 %67, %1 %69 = inttoptr i64 %68 to i8* %70 = load i8, i8* %69, align 1 %71 = add i64 %67, %0 %72 = inttoptr i64 %71 to i8* %73 = load i8, i8* %72, align 1 %74 = add i64 %67, %2 %75 = sub i8 %70, %73 %76 = inttoptr i64 %74 to i8* store i8 %75, i8* %76, align 1 %77 = add i64 %.reload, %1 %78 = inttoptr i64 %77 to i8* %79 = load i8, i8* %78, align 1 %80 = add i64 %.reload, %0 %81 = inttoptr i64 %80 to i8* %82 = load i8, i8* %81, align 1 %83 = add i64 %.reload, %2 %84 = sub i8 %79, %82 %85 = inttoptr i64 %83 to i8* store i8 %84, i8* %85, align 1 %86 = add nuw nsw i64 %storemerge9.reload, 8 %87 = or i64 %86, 7 %88 = icmp slt i64 %87, %5 store i64 %87, i64* %.reg2mem store i64 %86, i64* %storemerge9.reg2mem store i64 %86, i64* %sv_0.0.ph.reg2mem br i1 %88, label LBL_3, label LBL_5 LBL_4: %storemerge58.reload = load i64, i64* %storemerge58.reg2mem %89 = add i64 %storemerge58.reload, %1 %90 = inttoptr i64 %89 to i64* %91 = load i64, i64* %90, align 8 %92 = add i64 %storemerge58.reload, %0 %93 = inttoptr i64 %92 to i64* %94 = load i64, i64* %93, align 8 %95 = or i64 %91, 128 %96 = urem i64 %94, 128 %97 = sub i64 %95, %96 %98 = xor i64 %94, %91 %99 = and i64 %98, 128 %100 = xor i64 %99, 128 %101 = add i64 %storemerge58.reload, %2 %102 = xor i64 %100, %97 %103 = inttoptr i64 %101 to i64* store i64 %102, i64* %103, align 8 %104 = add i64 %storemerge58.reload, 8 %105 = icmp ult i64 %7, %104 %106 = icmp eq i1 %105, false store i64 %104, i64* %storemerge58.reg2mem store i64 %104, i64* %sv_0.0.ph.reg2mem br i1 %106, label LBL_4, label LBL_5 LBL_5: %sv_0.0.ph.reload = load i64, i64* %sv_0.0.ph.reg2mem %107 = icmp slt i64 %sv_0.0.ph.reload, %5 store i64 %sv_0.0.ph.reload, i64* %sv_0.07.reg2mem br i1 %107, label LBL_6, label LBL_7 LBL_6: %sv_0.07.reload = load i64, i64* %sv_0.07.reg2mem %108 = add i64 %sv_0.07.reload, %1 %109 = inttoptr i64 %108 to i8* %110 = load i8, i8* %109, align 1 %111 = add i64 %sv_0.07.reload, %0 %112 = inttoptr i64 %111 to i8* %113 = load i8, i8* %112, align 1 %114 = add i64 %sv_0.07.reload, %2 %115 = sub i8 %110, %113 %116 = inttoptr i64 %114 to i8* store i8 %115, i8* %116, align 1 %117 = add nsw i64 %sv_0.07.reload, 1 %exitcond = icmp eq i64 %117, %5 store i64 %117, i64* %sv_0.07.reg2mem br i1 %exitcond, label LBL_7, label LBL_6 LBL_7: ret i64 %5 uselistorder i64 %sv_0.07.reload, { 0, 3, 2, 1 } uselistorder i64 %94, { 1, 0 } uselistorder i64 %storemerge58.reload, { 0, 3, 2, 1 } uselistorder i64 %.reload, { 2, 1, 0 } uselistorder i64 %storemerge9.reload, { 6, 0, 1, 2, 3, 4, 5, 9, 8, 7 } uselistorder i64 %5, { 1, 0, 2, 3, 4 } uselistorder i64 %sext, { 1, 0 } uselistorder i64 %0, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 0 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge9.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge58.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.0.ph.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %sv_0.07.reg2mem, { 2, 0, 1 } uselistorder i64 128, { 2, 3, 0, 1 } uselistorder i64 7, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 1, 0, 2 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
sched_clock_cpu_19074
sched_clock_cpu
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %0 = call i64 @FUNC() %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 0 br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC() store i64 %3, i64* %rax.0.reg2mem br label LBL_7 LBL_2: %4 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_3, label LBL_7 LBL_3: %sext = mul i64 %arg1, 4294967296 %7 = ashr exact i64 %sext, 32 %8 = call i64 @FUNC() %9 = and i64 %7, 4294967295 %10 = call i64 @FUNC(i64 %9) %11 = call i64 @FUNC() %12 = trunc i64 %7 to i32 %13 = trunc i64 %11 to i32 %14 = icmp eq i32 %12, %13 br i1 %14, label LBL_5, label LBL_4 LBL_4: %15 = call i64 @FUNC(i64 %10) store i64 %15, i64* %storemerge.reg2mem br label LBL_6 LBL_5: %16 = call i64 @FUNC(i64 %10) store i64 %16, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem %17 = call i64 @FUNC() store i64 %storemerge.reload, 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 %7, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i32 1, { 3, 2, 1, 0 } uselistorder label LBL_7, { 1, 0, 2 } }
1
BinRealVul
array_ensure_allocated_16097
array_ensure_allocated
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %1 = add i64 %0, 12 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %sext2 = add i64 %sext, 4294967296 %4 = udiv i64 %sext2, 4294967296 %5 = trunc i64 %4 to i32 %6 = mul i32 %3, %5 %7 = add i64 %0, 8 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = icmp ugt i32 %6, %9 store i64 0, i64* %storemerge.reg2mem br i1 %10, label LBL_1, label LBL_3 LBL_1: %sext3 = add i64 %sext, 137438953472 %11 = udiv i64 %sext3, 4294967296 %12 = trunc i64 %11 to i32 %13 = mul i32 %3, %12 %14 = sext i32 %13 to i64 %15 = call i64 @FUNC(i64 %0, i64 %14) store i64 %15, i64* %arg1, align 8 %16 = icmp eq i64* %arg1, null %17 = icmp eq i1 %16, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %17, label LBL_2, label LBL_3 LBL_2: store i32 %13, i32* %8, align 4 %18 = trunc i64 %arg2 to i32 %19 = add i32 %18, 1 %20 = add i64 %0, 16 %21 = inttoptr i64 %20 to i32* store i32 %19, i32* %21, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %sext, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2 } uselistorder i64 4294967296, { 1, 2, 3, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_3, { 0, 2, 1 } }
1
BinRealVul
vnc_dpy_resize_15126
vnc_dpy_resize
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %.pre-phi6.reg2mem = alloca i32* %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %sext = mul i64 %2, 4294967296 %3 = ashr exact i64 %sext, 32 %sext1 = mul i64 %1, 4294967296 %sext2 = mul i64 %sext1, %3 %4 = ashr exact i64 %sext2, 32 %5 = call i64 @FUNC(i64 %0, i64 %4) store i64 %5, i64* %arg1, align 8 %6 = icmp eq i64* %arg1, null %7 = icmp eq i1 %6, false br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %9 = call i32 @fwrite(i64* bitcast ([31 x i8]* @gv_1 to i64*), i32 1, i32 30, %_IO_FILE* %8) call void @exit(i32 1) unreachable LBL_2: %10 = call i64 @FUNC(i64 %0) %11 = add i64 %0, 16 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = trunc i64 %10 to i32 %15 = icmp eq i32 %13, %14 br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = call i64 @FUNC(i64 %0) br label LBL_4 LBL_4: %17 = call i64 @FUNC(i64 %0) %18 = call i64 @FUNC(i64 %0) %19 = add i64 %0, 8 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = trunc i64 %18 to i32 %23 = icmp eq i32 %21, %22 %24 = icmp eq i1 %23, false br i1 %24, label LBL_4.LBL_7_crit_edge, label LBL_6 LBL_5: %.pre = add i64 %0, 12 %.pre5 = inttoptr i64 %.pre to i32* store i32* %.pre5, i32** %.pre-phi6.reg2mem br label LBL_7 LBL_6: %25 = call i64 @FUNC(i64 %0) %26 = add i64 %0, 12 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = trunc i64 %25 to i32 %30 = icmp eq i32 %28, %29 store i32* %27, i32** %.pre-phi6.reg2mem br i1 %30, label LBL_10, label LBL_7 LBL_7: %.pre-phi6.reload = load i32*, i32** %.pre-phi6.reg2mem %31 = call i64 @FUNC(i64 %0) %32 = trunc i64 %31 to i32 store i32 %32, i32* %20, align 4 %33 = call i64 @FUNC(i64 %0) %34 = trunc i64 %33 to i32 store i32 %34, i32* %.pre-phi6.reload, align 4 %35 = add i64 %0, 20 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = icmp eq i32 %37, -1 br i1 %38, label LBL_10, label LBL_8 LBL_8: %39 = add i64 %0, 24 %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 4 %42 = icmp eq i32 %41, 0 br i1 %42, label LBL_10, label LBL_9 LBL_9: %43 = call i64 @FUNC(i64 %0, i64 0) %44 = call i64 @FUNC(i64 %0, i64 0) %45 = call i64 @FUNC(i64 %0, i64 1) %46 = call i64 @FUNC(i64 %0) %47 = call i64 @FUNC(i64 %0) %48 = and i64 %46, 4294967295 %49 = and i64 %47, 4294967295 %50 = call i64 @FUNC(i64 %0, i64 0, i64 0, i64 %49, i64 %48, i64 4294967073) %51 = call i64 @FUNC(i64 %0) br label LBL_10 LBL_10: %52 = add i64 %0, 40 %53 = inttoptr i64 %52 to i64* %54 = call i64* @memset(i64* %53, i32 255, i32 256) %55 = add i64 %0, 32 %56 = inttoptr i64 %55 to i64* %57 = load i64, i64* %56, align 8 %58 = call i64 @FUNC(i64 %57) %59 = load i64, i64* %56, align 8 %60 = call i64 @FUNC(i64 %59) %sext3 = mul i64 %60, 4294967296 %61 = ashr exact i64 %sext3, 32 %sext4 = mul i64 %58, 4294967296 %62 = ashr exact i64 %sext4, 32 %63 = mul nsw i64 %61, %62 %64 = trunc i64 %63 to i32 %65 = inttoptr i64 %59 to i64* %66 = call i64* @memset(i64* %65, i32 42, i32 %64) %67 = ptrtoint i64* %66 to i64 ret i64 %67 uselistorder i64 %0, { 9, 8, 5, 4, 7, 6, 12, 13, 14, 11, 10, 15, 16, 2, 3, 0, 17, 19, 18, 1, 20, 21, 22, 23, 24 } uselistorder i64 (i64, i64)* @vnc_write_u8, { 1, 0 } uselistorder i64 12, { 1, 0 } uselistorder i64 (i64)* @ds_get_width, { 2, 1, 0 } uselistorder i64 32, { 0, 1, 4, 2, 3 } uselistorder i64 (i64)* @ds_get_height, { 4, 3, 2, 1, 0 } uselistorder i64 (i64)* @ds_get_linesize, { 1, 0 } uselistorder label LBL_10, { 1, 2, 3, 0 } uselistorder label LBL_7, { 1, 0 } }
1
BinRealVul
render_line_16671
render_line
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64* %arg5) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.lcssa.in.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i64 %sv_1.114.reg2mem = alloca i64 %sv_0.115.reg2mem = alloca i32 %.in.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg5 to i64 %1 = trunc i64 %arg1 to i32 %sext = mul i64 %arg1, 4294967296 %2 = trunc i64 %arg3 to i32 %sext6 = mul i64 %arg3, 4294967296 %3 = ashr exact i64 %sext6, 32 %4 = trunc i64 %arg4 to i32 %5 = trunc i64 %arg2 to i32 %6 = urem i32 %5, 256 %7 = sub i32 %4, %6 %8 = sub i32 %2, %1 %9 = sub i32 0, %7 %10 = icmp slt i32 %9, 0 %11 = icmp eq i1 %10, false %12 = select i1 %11, i32 %9, i32 %7 %13 = icmp slt i32 %7, 0 %14 = icmp eq i1 %13, false %15 = select i1 %14, i32 1, i32 -1 %16 = ashr exact i64 %sext, 30 %17 = add i64 %16, %0 %18 = mul i64 %arg2, 4 %19 = and i64 %18, 1020 %20 = add i64 %19, ptrtoint (i32** @gv_0 to i64) %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = call i128 @FUNC(i32 %22) %24 = call i64 @__asm_movss.1(i128 %23) %25 = trunc i64 %24 to i32 %26 = inttoptr i64 %17 to i32* store i32 %25, i32* %26, align 4 %27 = mul i32 %12, 2 %28 = zext i32 %27 to i64 %29 = sext i32 %8 to i64 %30 = icmp slt i64 %29, %28 br i1 %30, label LBL_2, label LBL_1 LBL_1: %31 = and i64 %arg1, 4294967295 %32 = trunc i64 %arg2 to i8 %33 = trunc i64 %3 to i32 %34 = zext i32 %8 to i64 %35 = zext i32 %12 to i64 %36 = call i64 @FUNC(i64 %31, i8 %32, i32 %33, i32 %15, i64 %35, i64 %34) store i64 %36, i64* %rax.0.reg2mem br label LBL_8 LBL_2: %37 = add i32 %1, 1 %38 = trunc i64 %3 to i32 %39 = icmp slt i32 %37, %38 store i32 %37, i32* %.lcssa.in.reg2mem br i1 %39, label LBL_3, label LBL_7 LBL_3: %40 = ashr i32 %7, 31 %41 = zext i32 %7 to i64 %42 = zext i32 %40 to i64 %43 = mul i64 %42, 4294967296 %44 = or i64 %43, %41 %45 = zext i32 %8 to i64 %46 = sdiv i64 %44, %45 %47 = trunc i64 %46 to i32 %48 = sub i32 0, %47 %49 = icmp slt i32 %48, 0 %50 = icmp eq i1 %49, false %51 = select i1 %50, i32 %48, i32 %47 %52 = mul i32 %51, %8 %53 = sub i32 %12, %52 %54 = sub i32 0, %8 %sext7 = mul i64 %arg2, 72057594037927936 %55 = ashr exact i64 %sext7, 56 %56 = zext i32 %15 to i64 %57 = sext i32 %37 to i64 store i64 %57, i64* %indvars.iv.reg2mem store i32 %37, i32* %.in.reg2mem store i32 %54, i32* %sv_0.115.reg2mem store i64 %55, i64* %sv_1.114.reg2mem br label LBL_4 LBL_4: %sv_1.114.reload = load i64, i64* %sv_1.114.reg2mem %sv_0.115.reload = load i32, i32* %sv_0.115.reg2mem %.in.reload = load i32, i32* %.in.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %58 = add i64 %sv_1.114.reload, %46 %sext11 = mul i64 %58, 72057594037927936 %59 = ashr exact i64 %sext11, 56 %60 = add i32 %sv_0.115.reload, %53 %61 = icmp slt i32 %60, 0 store i64 %59, i64* %sv_1.0.reg2mem store i32 %60, i32* %sv_0.0.reg2mem br i1 %61, label LBL_6, label LBL_5 LBL_5: %62 = sub i32 %60, %8 %63 = add nsw i64 %59, %56 %sext12 = mul i64 %63, 72057594037927936 %64 = ashr exact i64 %sext12, 56 store i64 %64, i64* %sv_1.0.reg2mem store i32 %62, i32* %sv_0.0.reg2mem br label LBL_6 LBL_6: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %65 = mul i64 %indvars.iv.reload, 4 %66 = add i64 %65, %0 %67 = mul i64 %sv_1.0.reload, 4 %68 = and i64 %67, 1020 %69 = add nuw nsw i64 %68, 4210752 %70 = inttoptr i64 %69 to i32* %71 = load i32, i32* %70, align 4 %72 = call i128 @FUNC(i32 %71) %73 = call i64 @__asm_movss.1(i128 %72) %74 = trunc i64 %73 to i32 %75 = inttoptr i64 %66 to i32* store i32 %74, i32* %75, align 4 %76 = add i32 %.in.reload, 1 %indvars.iv.next = add nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i32 %76, %38 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %76, i32* %.in.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.115.reg2mem store i64 %sv_1.0.reload, i64* %sv_1.114.reg2mem store i32 %38, i32* %.lcssa.in.reg2mem br i1 %exitcond, label LBL_7, label LBL_4 LBL_7: %.lcssa.in.reload = load i32, i32* %.lcssa.in.reg2mem %.lcssa = zext i32 %.lcssa.in.reload to i64 store i64 %.lcssa, 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 %sv_1.0.reload, { 1, 0 } uselistorder i32 %60, { 1, 0, 2 } uselistorder i64 %59, { 1, 0 } uselistorder i32 %37, { 1, 2, 0, 3 } uselistorder i32 %12, { 1, 2, 0 } uselistorder i32 %8, { 1, 2, 0, 4, 5, 3 } uselistorder i32 %7, { 1, 0, 4, 2, 3 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %0, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %.in.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.115.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.114.reg2mem, { 1, 0, 2 } uselistorder i64 1020, { 1, 0 } uselistorder i32 0, { 0, 3, 1, 2, 4, 5, 6 } uselistorder i64 %arg2, { 0, 2, 1, 3 } uselistorder i64 %arg1, { 1, 0, 2 } }
1
BinRealVul
vmdk_free_last_extent_16079
vmdk_free_last_extent
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, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = add i32 %2, -1 %6 = bitcast i64* %arg1 to i32* store i32 %5, i32* %6, align 4 %7 = add i64 %4, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %9, i64 0) store i64 %10, i64* %8, align 8 store i64 %10, 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 i32 %2, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
tcx_update_display_15990
tcx_update_display
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_1.1.reg2mem = alloca i64 %sv_2.2.reg2mem = alloca i32 %sv_3.04.reg2mem = alloca i64 %sv_2.36.reg2mem = alloca i32 %sv_1.27.reg2mem = alloca i64 %sv_0.28.reg2mem = alloca i64 %sv_4.010.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = add i64 %2, 24 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = icmp eq i32 %7, 0 store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_12, label LBL_1 LBL_1: %9 = trunc i64 %1 to i32 %10 = icmp eq i32 %9, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %10, label LBL_12, label LBL_2 LBL_2: %11 = add i64 %2, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = add i64 %2, 4 %15 = inttoptr i64 %14 to i32* %16 = and i64 %1, 4294967295 store i32 0, i32* %sv_4.010.reg2mem store i64 0, i64* %sv_0.28.reg2mem store i64 4294967295, i64* %sv_1.27.reg2mem store i32 -1, i32* %sv_2.36.reg2mem store i64 %13, i64* %sv_3.04.reg2mem br label LBL_3 LBL_3: %sv_3.04.reload = load i64, i64* %sv_3.04.reg2mem %sv_2.36.reload = load i32, i32* %sv_2.36.reg2mem %sv_1.27.reload = load i64, i64* %sv_1.27.reg2mem %sv_0.28.reload = load i64, i64* %sv_0.28.reg2mem %sv_4.010.reload = load i32, i32* %sv_4.010.reg2mem %17 = call i64 @FUNC(i64 %sv_3.04.reload, i64 1) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 %20 = icmp slt i32 %sv_2.36.reload, 0 br i1 %19, label LBL_5, label LBL_4 LBL_4: %21 = icmp eq i1 %20, false %spec.select = select i1 %21, i32 %sv_2.36.reload, i32 %sv_4.010.reload %22 = icmp ult i64 %sv_3.04.reload, %sv_1.27.reload %23 = icmp eq i1 %22, false %sv_1.0 = select i1 %23, i64 %sv_1.27.reload, i64 %sv_3.04.reload %24 = icmp ugt i64 %sv_3.04.reload, %sv_0.28.reload %spec.select3 = select i1 %24, i64 %sv_3.04.reload, i64 %sv_0.28.reload store i32 %spec.select, i32* %sv_2.2.reg2mem store i64 %sv_1.0, i64* %sv_1.1.reg2mem store i64 %spec.select3, i64* %sv_0.1.reg2mem br label LBL_7 LBL_5: store i32 %sv_2.36.reload, i32* %sv_2.2.reg2mem store i64 %sv_1.27.reload, i64* %sv_1.1.reg2mem store i64 %sv_0.28.reload, i64* %sv_0.1.reg2mem br i1 %20, label LBL_7, label LBL_6 LBL_6: %25 = sub i32 %sv_4.010.reload, %sv_2.36.reload %26 = load i32, i32* %15, align 4 %27 = load i64, i64* %4, align 8 %28 = zext i32 %25 to i64 %29 = call i64 @FUNC(i64 %27, i64 0, i32 %sv_2.36.reload, i32 %26, i64 %28) store i32 -1, i32* %sv_2.2.reg2mem store i64 %sv_1.27.reload, i64* %sv_1.1.reg2mem store i64 %sv_0.28.reload, i64* %sv_0.1.reg2mem br label LBL_7 LBL_7: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem %sv_2.2.reload = load i32, i32* %sv_2.2.reg2mem %30 = add i32 %sv_4.010.reload, 4 %31 = add i64 %sv_3.04.reload, 4096 %32 = sext i32 %30 to i64 %33 = icmp sgt i64 %16, %32 store i32 %30, i32* %sv_4.010.reg2mem store i64 %sv_0.1.reload, i64* %sv_0.28.reg2mem store i64 %sv_1.1.reload, i64* %sv_1.27.reg2mem store i32 %sv_2.2.reload, i32* %sv_2.36.reg2mem store i64 %31, i64* %sv_3.04.reg2mem br i1 %33, label LBL_3, label LBL_8 LBL_8: %34 = icmp slt i32 %sv_2.2.reload, 0 br i1 %34, label LBL_10, label LBL_9 LBL_9: %35 = sub i32 %30, %sv_2.2.reload %36 = load i32, i32* %15, align 4 %37 = load i64, i64* %4, align 8 %38 = zext i32 %35 to i64 %39 = call i64 @FUNC(i64 %37, i64 0, i32 %sv_2.2.reload, i32 %36, i64 %38) br label LBL_10 LBL_10: %40 = icmp ugt i64 %sv_1.1.reload, %sv_0.1.reload store i64 %sv_1.1.reload, i64* %rax.0.reg2mem br i1 %40, label LBL_12, label LBL_11 LBL_11: %41 = add i64 %sv_0.1.reload, 4096 %42 = call i64 @FUNC(i64 %sv_1.1.reload, i64 %41, i64 1) store i64 %42, 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 i32 %30, { 1, 0, 2 } uselistorder i64 %sv_1.1.reload, { 1, 0, 2, 3 } uselistorder i1 %20, { 1, 0 } uselistorder i32 %sv_4.010.reload, { 2, 1, 0 } uselistorder i32 %sv_2.36.reload, { 4, 3, 0, 1, 2 } uselistorder i64 %sv_3.04.reload, { 5, 0, 2, 1, 3, 4 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %sv_4.010.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.28.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.27.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.36.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_3.04.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1, 4 } uselistorder i64 1, { 1, 2, 0 } uselistorder i64 4294967295, { 1, 2, 0 } uselistorder i32 0, { 4, 2, 3, 0, 1, 5 } uselistorder label LBL_12, { 3, 2, 0, 1 } uselistorder label LBL_7, { 1, 0, 2 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
usb_device_post_load_2891
usb_device_post_load
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false %6 = add i64 %2, 4 %7 = inttoptr i64 %6 to i32* %. = zext i1 %5 to i32 store i32 %., i32* %7, align 4 %8 = add i64 %2, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = icmp ult i64 %10, 256 br i1 %11, label LBL_1, label LBL_2 LBL_1: %12 = add i64 %2, 16 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = icmp ult i64 %14, 256 %spec.select = select i1 %15, i64 0, i64 4294967274 ret i64 %spec.select LBL_2: ret i64 4294967274 uselistorder i64 %2, { 1, 0, 2 } }
0
BinRealVul
action_getconfig_13110
action_getconfig
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %.lcssa.reg2mem = alloca i32 %r9.1.lcssa.reg2mem = alloca i64 %r8.1.lcssa.reg2mem = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i32 %r9.0.lcssa.reg2mem = alloca i64 %r8.0.lcssa.reg2mem = alloca i64 %sv_1.09.reg2mem = alloca i32 %storemerge10.reg2mem = alloca i64 %sv_0.012.reg2mem = alloca i32 %r8.115.reg2mem = alloca i64 %r9.116.reg2mem = alloca i64 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0)) %3 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0)) %4 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0)) %5 = call i64 @FUNC(i64 %2) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = call i64 @FUNC(i64 %1, i64 %0, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_3, i64 0, i64 0)) br label LBL_19 LBL_2: %9 = call i64 @FUNC(i64 %2) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = call i64 @FUNC(i64 %1, i64 %0, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_4, i64 0, i64 0)) br label LBL_19 LBL_4: %13 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_5, i64 0, i64 0), i32 3) %14 = icmp eq i64 %13, 0 %15 = icmp eq i1 %14, false br i1 %15, label LBL_6, label LBL_5 LBL_5: %16 = call i64 @FUNC(i64 %1, i64 %0, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_6, i64 0, i64 0)) br label LBL_19 LBL_6: %17 = call i64 @FUNC(i64 %1, i64 %0) %18 = call i64 @FUNC(i64 %13, i64 %3, i64 0, i64 %4) %19 = icmp eq i64 %18, 0 %20 = icmp eq i1 %19, false store i64 %18, i64* %.reg2mem store i32 0, i32* %sv_0.012.reg2mem store i32 0, i32* %sv_0.0.lcssa.reg2mem store i32 0, i32* %.lcssa.reg2mem br i1 %20, label LBL_7, label LBL_16 LBL_7: %sv_0.012.reload = load i32, i32* %sv_0.012.reg2mem %r8.115.reload = load i64, i64* %r8.115.reg2mem %r9.116.reload = load i64, i64* %r9.116.reg2mem %.reload = load i64, i64* %.reg2mem %sext2 = mul i64 %.reload, 4294967296 %21 = ashr exact i64 %sext2, 32 %22 = call i64 @FUNC(i64 %21) %23 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_7, i64 0, i64 0), i32 %sv_0.012.reload, i64 %22, i64 %r8.115.reload, i64 %r9.116.reload) %24 = call i64 @FUNC(i64 %21) %25 = trunc i64 %24 to i32 %26 = icmp eq i32 %25, 0 br i1 %26, label LBL_9, label LBL_8 LBL_8: %27 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_8, i64 0, i64 0), i32 %sv_0.012.reload, i64 1, i64 %r8.115.reload, i64 %r9.116.reload) br label LBL_9 LBL_9: %28 = call i64 @FUNC(i64 %21) %29 = icmp eq i64 %28, 0 br i1 %29, label LBL_12, label LBL_10 LBL_10: %30 = call i64 @FUNC(i64 %28) %31 = trunc i64 %30 to i32 %32 = icmp slt i32 %31, 1 br i1 %32, label LBL_12, label LBL_11 LBL_11: %33 = call i64 @FUNC(i64 %28) %34 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_9, i64 0, i64 0), i32 %sv_0.012.reload, i64 %33, i64 %r8.115.reload, i64 %r9.116.reload) %35 = call i64 @FUNC(i64 %28) br label LBL_12 LBL_12: %36 = call i64 @FUNC(i64 %21) %37 = icmp eq i64 %36, 0 %38 = icmp eq i1 %37, false store i64 %36, i64* %storemerge10.reg2mem store i32 0, i32* %sv_1.09.reg2mem store i64 %r8.115.reload, i64* %r8.0.lcssa.reg2mem store i64 %r9.116.reload, i64* %r9.0.lcssa.reg2mem br i1 %38, label LBL_13, label LBL_14 LBL_13: %sv_1.09.reload = load i32, i32* %sv_1.09.reg2mem %storemerge10.reload = load i64, i64* %storemerge10.reg2mem %39 = add i64 %storemerge10.reload, 16 %40 = inttoptr i64 %39 to i64* %41 = load i64, i64* %40, align 8 %42 = add i64 %storemerge10.reload, 8 %43 = inttoptr i64 %42 to i64* %44 = load i64, i64* %43, align 8 %45 = add i32 %sv_1.09.reload, 1 %46 = zext i32 %sv_1.09.reload to i64 %47 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_10, i64 0, i64 0), i32 %sv_0.012.reload, i64 %46, i64 %44, i64 %41) %48 = inttoptr i64 %storemerge10.reload to i64* %49 = load i64, i64* %48, align 8 %50 = icmp eq i64 %49, 0 %51 = icmp eq i1 %50, false store i64 %49, i64* %storemerge10.reg2mem store i32 %45, i32* %sv_1.09.reg2mem store i64 %44, i64* %r8.0.lcssa.reg2mem store i64 %41, i64* %r9.0.lcssa.reg2mem br i1 %51, label LBL_13, label LBL_14 LBL_14: %r9.0.lcssa.reload = load i64, i64* %r9.0.lcssa.reg2mem %r8.0.lcssa.reload = load i64, i64* %r8.0.lcssa.reg2mem %52 = add i32 %sv_0.012.reload, 1 %53 = call i64 @FUNC(i64 %13, i64 %3, i64 %21, i64 %4) %54 = icmp eq i64 %53, 0 %55 = icmp eq i1 %54, false store i64 %53, i64* %.reg2mem store i64 %r9.0.lcssa.reload, i64* %r9.116.reg2mem store i64 %r8.0.lcssa.reload, i64* %r8.115.reg2mem store i32 %52, i32* %sv_0.012.reg2mem br i1 %55, label LBL_7, label LBL_15 LBL_15: %phitmp = trunc i64 %21 to i32 store i32 %52, i32* %sv_0.0.lcssa.reg2mem store i64 %r8.0.lcssa.reload, i64* %r8.1.lcssa.reg2mem store i64 %r9.0.lcssa.reload, i64* %r9.1.lcssa.reg2mem store i32 %phitmp, i32* %.lcssa.reg2mem br label LBL_16 LBL_16: %.lcssa.reload = load i32, i32* %.lcssa.reg2mem %r9.1.lcssa.reload = load i64, i64* %r9.1.lcssa.reg2mem %r8.1.lcssa.reload = load i64, i64* %r8.1.lcssa.reg2mem %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %56 = call i64 @FUNC(i64 %3) %57 = trunc i64 %56 to i32 %58 = or i32 %sv_0.0.lcssa.reload, %57 %59 = icmp eq i32 %58, 0 br i1 %59, label LBL_17, label LBL_18 LBL_17: %60 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_11, i64 0, i64 0), i32 %.lcssa.reload, i64 %4, i64 %r8.1.lcssa.reload, i64 %r9.1.lcssa.reload) br label LBL_18 LBL_18: %61 = call i64 @FUNC(i64 %13) %62 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_12, i64 0, i64 0), i32 %.lcssa.reload, i64 %4, i64 %r8.1.lcssa.reload, i64 %r9.1.lcssa.reload) br label LBL_19 LBL_19: ret i64 0 uselistorder i64 %r8.1.lcssa.reload, { 1, 0 } uselistorder i64 %r9.1.lcssa.reload, { 1, 0 } uselistorder i32 %.lcssa.reload, { 1, 0 } uselistorder i64 %storemerge10.reload, { 0, 2, 1 } uselistorder i32 %sv_1.09.reload, { 1, 0 } uselistorder i64 %r9.116.reload, { 0, 2, 1, 3 } uselistorder i64 %r8.115.reload, { 0, 2, 1, 3 } uselistorder i32 %sv_0.012.reload, { 4, 3, 2, 0, 1 } uselistorder i64 %13, { 1, 2, 0, 3 } uselistorder i64 %4, { 2, 1, 3, 0 } uselistorder i64 %3, { 1, 2, 0 } uselistorder i64 %1, { 4, 3, 7, 6, 5, 8, 9, 2, 1, 0 } uselistorder i64 %0, { 3, 2, 1, 0, 4, 5, 6 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %r9.116.reg2mem, { 1, 0 } uselistorder i64* %r8.115.reg2mem, { 1, 0 } uselistorder i32* %sv_0.012.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge10.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.09.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32* %.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64 1, { 1, 0 } uselistorder i64 (i64, i8*, i32, i64, i64, i64)* @astman_append, { 5, 0, 4, 3, 2, 1 } uselistorder i64 (i64, i64, i64, i64)* @ast_category_browse_filtered, { 1, 0 } uselistorder i1 false, { 3, 2, 1, 0, 4 } uselistorder i64 (i64, i64, i8*)* @astman_send_error, { 2, 1, 0 } uselistorder i32 0, { 4, 2, 5, 0, 1, 3, 6, 7 } uselistorder i64 (i64)* @ast_strlen_zero, { 1, 0 } uselistorder i64 (i64, i8*)* @astman_get_header, { 2, 1, 0 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_7, { 1, 0 } }
1
BinRealVul
test_ivshmem_memdev_14255
test_ivshmem_memdev
define i64 @FUNC() local_unnamed_addr { LBL_0: %sv_0 = alloca i64, align 8 %0 = call i64 @FUNC(i64* nonnull %sv_0, i8* getelementptr inbounds ([71 x i8], [71 x i8]* @gv_0, i64 0, i64 0), i64 0) %1 = load i64, i64* %sv_0, align 8 %2 = call i64 @FUNC(i64 %1) ret i64 %2 uselistorder i64* %sv_0, { 1, 0 } uselistorder i32 1, { 2, 1, 0 } }
1
BinRealVul
sd_1d97_float_3317
sd_1d97_float
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %xmm1.36.reg2mem = alloca i128 %storemerge7.reg2mem = alloca i32 %xmm1.2.lcssa.reg2mem = alloca i128 %xmm1.28.reg2mem = alloca i128 %storemerge39.reg2mem = alloca i32 %xmm1.1.lcssa.reg2mem = alloca i128 %storemerge410.reg2mem = alloca i32 %xmm1.0.lcssa.reg2mem = alloca i128 %storemerge512.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %3 = ashr exact i64 %sext, 32 %4 = add i64 %arg2, 1 %5 = and i64 %4, 4294967295 %6 = sext i32 %arg3 to i64 %7 = icmp slt i64 %5, %6 br i1 %7, label LBL_4, label LBL_1 LBL_1: %8 = trunc i64 %3 to i32 %9 = icmp eq i32 %8, 1 %10 = icmp eq i1 %9, false br i1 %10, label LBL_3, label LBL_2 LBL_2: %11 = add i64 %2, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = call i128 @FUNC(i32 %13) %15 = call i128 @FUNC(i128 %14, i128 %14) %16 = call i64 @__asm_movss.1(i128 %15) %17 = trunc i64 %16 to i32 store i32 %17, i32* %12, align 4 store i64 %11, i64* %rax.0.reg2mem br label LBL_16 LBL_3: %18 = trunc i64 %1 to i32 %19 = call i128 @FUNC(i32 %18) %20 = call i64 @__asm_movss.1(i128 %19) %21 = trunc i64 %20 to i32 %22 = bitcast i64* %arg1 to i32* store i32 %21, i32* %22, align 4 store i64 %2, i64* %rax.0.reg2mem br label LBL_16 LBL_4: %23 = zext i32 %arg3 to i64 %24 = and i64 %3, 4294967295 %25 = call i64 @FUNC(i64 %2, i64 %24, i64 %23) %26 = trunc i64 %3 to i32 %27 = add i32 %26, 1 %28 = add i32 %arg3, 1 %29 = icmp slt i32 %27, 0 %30 = zext i1 %29 to i32 %31 = add i32 %27, %30 %32 = ashr i32 %31, 1 %33 = add nsw i32 %32, -2 %34 = icmp slt i32 %28, 0 %35 = zext i1 %34 to i32 %36 = add i32 %28, %35 %37 = ashr i32 %36, 1 %38 = zext i32 %37 to i64 %39 = sext i32 %33 to i64 %40 = icmp sgt i64 %39, %38 br i1 %40, label LBL_7, label LBL_5 LBL_5: %41 = add i64 %2, 8 store i32 %33, i32* %storemerge512.reg2mem br label LBL_6 LBL_6: %storemerge512.reload = load i32, i32* %storemerge512.reg2mem %42 = mul i32 %storemerge512.reload, 2 %43 = or i32 %42, 1 %44 = sext i32 %43 to i64 %45 = mul i64 %44, 4 %46 = add i64 %45, %2 %47 = inttoptr i64 %46 to i32* %48 = load i32, i32* %47, align 4 %49 = call i128 @FUNC(i32 %48) %50 = call i128 @FUNC(i128 %49) %51 = sext i32 %42 to i64 %52 = mul i64 %51, 4 %53 = add i64 %52, %2 %54 = inttoptr i64 %53 to i32* %55 = load i32, i32* %54, align 4 %56 = call i128 @FUNC(i32 %55) %57 = add i64 %41, %52 %58 = inttoptr i64 %57 to i32* %59 = load i32, i32* %58, align 4 %60 = call i128 @FUNC(i32 %59) %61 = call i128 @FUNC(i128 %60, i128 %56) %62 = call i128 @FUNC(i128 %56, i128 %56) %63 = call i128 @FUNC(i128 %61) %64 = call i128 @FUNC(i64 4609822131664006586) %65 = call i128 @FUNC(i128 %64, i128 %63) %66 = call i128 @FUNC(i128 %50, i128 %65) %67 = call i128 @FUNC(i128 %66) %68 = call i64 @__asm_movss.1(i128 %67) %69 = trunc i64 %68 to i32 store i32 %69, i32* %47, align 4 %70 = add i32 %storemerge512.reload, 1 %71 = sext i32 %70 to i64 %72 = icmp sgt i64 %71, %38 store i32 %70, i32* %storemerge512.reg2mem store i128 %65, i128* %xmm1.0.lcssa.reg2mem br i1 %72, label LBL_7, label LBL_6 LBL_7: %xmm1.0.lcssa.reload = load i128, i128* %xmm1.0.lcssa.reg2mem %73 = add nsw i32 %32, -1 %74 = sext i32 %73 to i64 %75 = icmp sgt i64 %74, %38 store i128 %xmm1.0.lcssa.reload, i128* %xmm1.1.lcssa.reg2mem br i1 %75, label LBL_10, label LBL_8 LBL_8: %76 = add i64 %2, -4 store i32 %73, i32* %storemerge410.reg2mem br label LBL_9 LBL_9: %storemerge410.reload = load i32, i32* %storemerge410.reg2mem %77 = mul i32 %storemerge410.reload, 2 %78 = sext i32 %77 to i64 %79 = mul i64 %78, 4 %80 = add i64 %79, %2 %81 = inttoptr i64 %80 to i32* %82 = load i32, i32* %81, align 4 %83 = call i128 @FUNC(i32 %82) %84 = call i128 @FUNC(i128 %83) %85 = add i64 %76, %79 %86 = inttoptr i64 %85 to i32* %87 = load i32, i32* %86, align 4 %88 = call i128 @FUNC(i32 %87) %89 = or i32 %77, 1 %90 = sext i32 %89 to i64 %91 = mul i64 %90, 4 %92 = add i64 %91, %2 %93 = inttoptr i64 %92 to i32* %94 = load i32, i32* %93, align 4 %95 = call i128 @FUNC(i32 %94) %96 = call i128 @FUNC(i128 %95, i128 %88) %97 = call i128 @FUNC(i128 %88, i128 %88) %98 = call i128 @FUNC(i128 %96) %99 = call i128 @FUNC(i64 4587796043700053276) %100 = call i128 @FUNC(i128 %99, i128 %98) %101 = call i128 @FUNC(i128 %84, i128 %100) %102 = call i128 @FUNC(i128 %101) %103 = call i64 @__asm_movss.1(i128 %102) %104 = trunc i64 %103 to i32 store i32 %104, i32* %81, align 4 %105 = add i32 %storemerge410.reload, 1 %106 = sext i32 %105 to i64 %107 = icmp sgt i64 %106, %38 store i32 %105, i32* %storemerge410.reg2mem store i128 %100, i128* %xmm1.1.lcssa.reg2mem br i1 %107, label LBL_10, label LBL_9 LBL_10: %xmm1.1.lcssa.reload = load i128, i128* %xmm1.1.lcssa.reg2mem %108 = icmp slt i64 %74, %38 store i128 %xmm1.1.lcssa.reload, i128* %xmm1.2.lcssa.reg2mem br i1 %108, label LBL_11, label LBL_13 LBL_11: %109 = add i64 %2, 8 store i32 %73, i32* %storemerge39.reg2mem store i128 %xmm1.1.lcssa.reload, i128* %xmm1.28.reg2mem br label LBL_12 LBL_12: %xmm1.28.reload = load i128, i128* %xmm1.28.reg2mem %storemerge39.reload = load i32, i32* %storemerge39.reg2mem %110 = mul i32 %storemerge39.reload, 2 %111 = or i32 %110, 1 %112 = sext i32 %111 to i64 %113 = mul i64 %112, 4 %114 = add i64 %113, %2 %115 = inttoptr i64 %114 to i32* %116 = load i32, i32* %115, align 4 %117 = call i128 @FUNC(i32 %116) %118 = call i128 @FUNC(i128 %xmm1.28.reload, i128 %xmm1.28.reload) %119 = call i128 @FUNC(i128 %117) %120 = sext i32 %110 to i64 %121 = mul i64 %120, 4 %122 = add i64 %121, %2 %123 = inttoptr i64 %122 to i32* %124 = load i32, i32* %123, align 4 %125 = call i128 @FUNC(i32 %124) %126 = add i64 %109, %121 %127 = inttoptr i64 %126 to i32* %128 = load i32, i32* %127, align 4 %129 = call i128 @FUNC(i32 %128) %130 = call i128 @FUNC(i128 %129, i128 %125) %131 = call i128 @FUNC(i128 %125, i128 %125) %132 = call i128 @FUNC(i128 %130) %133 = call i128 @FUNC(i64 4606127774846479040) %134 = call i128 @FUNC(i128 %133, i128 %132) %135 = call i128 @FUNC(i128 %134, i128 %119) %136 = call i128 @FUNC(i128 %135) %137 = call i64 @__asm_movss.1(i128 %136) %138 = trunc i64 %137 to i32 store i32 %138, i32* %115, align 4 %139 = add i32 %storemerge39.reload, 1 %140 = sext i32 %139 to i64 %141 = icmp slt i64 %140, %38 store i32 %139, i32* %storemerge39.reg2mem store i128 %119, i128* %xmm1.28.reg2mem store i128 %119, i128* %xmm1.2.lcssa.reg2mem br i1 %141, label LBL_12, label LBL_13 LBL_13: %142 = sext i32 %32 to i64 %143 = icmp slt i64 %142, %38 store i64 %38, i64* %rax.0.reg2mem br i1 %143, label LBL_14, label LBL_16 LBL_14: %xmm1.2.lcssa.reload = load i128, i128* %xmm1.2.lcssa.reg2mem %144 = add i64 %2, -4 store i32 %32, i32* %storemerge7.reg2mem store i128 %xmm1.2.lcssa.reload, i128* %xmm1.36.reg2mem br label LBL_15 LBL_15: %xmm1.36.reload = load i128, i128* %xmm1.36.reg2mem %storemerge7.reload = load i32, i32* %storemerge7.reg2mem %145 = mul i32 %storemerge7.reload, 2 %146 = sext i32 %145 to i64 %147 = mul i64 %146, 4 %148 = add i64 %147, %2 %149 = inttoptr i64 %148 to i32* %150 = load i32, i32* %149, align 4 %151 = call i128 @FUNC(i32 %150) %152 = call i128 @FUNC(i128 %xmm1.36.reload, i128 %xmm1.36.reload) %153 = call i128 @FUNC(i128 %151) %154 = add i64 %144, %147 %155 = inttoptr i64 %154 to i32* %156 = load i32, i32* %155, align 4 %157 = call i128 @FUNC(i32 %156) %158 = or i32 %145, 1 %159 = sext i32 %158 to i64 %160 = mul i64 %159, 4 %161 = add i64 %160, %2 %162 = inttoptr i64 %161 to i32* %163 = load i32, i32* %162, align 4 %164 = call i128 @FUNC(i32 %163) %165 = call i128 @FUNC(i128 %164, i128 %157) %166 = call i128 @FUNC(i128 %157, i128 %157) %167 = call i128 @FUNC(i128 %165) %168 = call i128 @FUNC(i64 4601661113743252237) %169 = call i128 @FUNC(i128 %168, i128 %167) %170 = call i128 @FUNC(i128 %169, i128 %153) %171 = call i128 @FUNC(i128 %170) %172 = call i64 @__asm_movss.1(i128 %171) %173 = trunc i64 %172 to i32 store i32 %173, i32* %149, align 4 %174 = add i32 %storemerge7.reload, 1 %175 = sext i32 %174 to i64 %176 = icmp slt i64 %175, %38 store i32 %174, i32* %storemerge7.reg2mem store i128 %153, i128* %xmm1.36.reg2mem store i64 %38, i64* %rax.0.reg2mem br i1 %176, label LBL_15, label LBL_16 LBL_16: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i128 %157, { 2, 1, 0 } uselistorder i32 %145, { 1, 0 } uselistorder i128 %xmm1.36.reload, { 1, 0 } uselistorder i128 %125, { 2, 1, 0 } uselistorder i32 %110, { 1, 0 } uselistorder i128 %xmm1.28.reload, { 1, 0 } uselistorder i128 %xmm1.1.lcssa.reload, { 1, 0 } uselistorder i128 %88, { 2, 1, 0 } uselistorder i32 %77, { 1, 0 } uselistorder i128 %56, { 2, 1, 0 } uselistorder i32 %42, { 1, 0 } uselistorder i64 %38, { 0, 2, 1, 5, 3, 6, 4, 7, 9, 8 } uselistorder i128 %14, { 1, 0 } uselistorder i64 %3, { 2, 1, 0 } uselistorder i64 %2, { 1, 2, 10, 3, 4, 9, 5, 6, 11, 7, 8, 12, 14, 0, 13 } uselistorder i32* %storemerge512.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge410.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge39.reg2mem, { 1, 0, 2 } uselistorder i128* %xmm1.28.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge7.reg2mem, { 1, 0, 2 } uselistorder i128* %xmm1.36.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 4, 3 } uselistorder i64 8, { 1, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
send_ext_audio_ack_1399
send_ext_audio_ack
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0, i64 0) %3 = call i64 @FUNC(i64 %0, i64 0) %4 = call i64 @FUNC(i64 %0, i64 1) %5 = call i64 @FUNC(i64 %0) %6 = call i64 @FUNC(i64 %0) %7 = and i64 %5, 4294967295 %8 = and i64 %6, 4294967295 %9 = call i64 @FUNC(i64 %0, i64 0, i64 0, i64 %8, i64 %7, i64 1) %10 = call i64 @FUNC(i64 %0) %11 = call i64 @FUNC(i64 %0) ret i64 %11 uselistorder i64 %0, { 2, 1, 0, 5, 4, 3, 6, 7, 8 } uselistorder i64 (i64, i64)* @vnc_write_u8, { 1, 0 } }
0
BinRealVul
pvf_read_header_16219
pvf_read_header
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = 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 %1 = call i64 @FUNC(i64 %0, i64 5) %2 = call i64 @FUNC(i64 %0, i64* nonnull %sv_3, i64 32) %3 = bitcast i64* %sv_3 to i8* %4 = call i32 (i8*, i8*, ...) @sscanf(i8* nonnull %3, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_0, i64* nonnull %sv_1, i64* nonnull %sv_2) %5 = icmp eq i32 %4, 3 store i64 4294967295, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_6 LBL_1: %6 = load i64, i64* %sv_0, align 8 %7 = trunc i64 %6 to i32 %8 = icmp slt i32 %7, 1 store i64 4294967295, i64* %rax.0.reg2mem br i1 %8, label LBL_6, label LBL_2 LBL_2: %9 = load i64, i64* %sv_2, align 8 %10 = trunc i64 %9 to i32 %11 = icmp slt i32 %10, 1 store i64 4294967295, i64* %rax.0.reg2mem br i1 %11, label LBL_6, label LBL_3 LBL_3: %12 = load i64, i64* %sv_1, align 8 %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 %15 = icmp slt i32 %13, 0 %16 = icmp eq i1 %15, false %17 = icmp eq i1 %14, false %18 = icmp eq i1 %16, %17 store i64 4294967295, i64* %rax.0.reg2mem br i1 %18, label LBL_4, label LBL_6 LBL_4: %19 = call i64 @FUNC(i64 %0, i64 0) %20 = icmp eq i64 %19, 0 %21 = icmp eq i1 %20, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %21, label LBL_5, label LBL_6 LBL_5: %22 = inttoptr i64 %19 to i64* %23 = load i64, i64* %22, align 8 %24 = inttoptr i64 %23 to i32* store i32 1, i32* %24, align 4 %25 = load i64, i64* %22, align 8 %26 = load i64, i64* %sv_0, align 8 %27 = trunc i64 %26 to i32 %28 = add i64 %25, 4 %29 = inttoptr i64 %28 to i32* store i32 %27, i32* %29, align 4 %30 = load i64, i64* %22, align 8 %31 = load i64, i64* %sv_1, align 8 %32 = trunc i64 %31 to i32 %33 = add i64 %30, 8 %34 = inttoptr i64 %33 to i32* store i32 %32, i32* %34, align 4 %35 = load i64, i64* %sv_2, align 8 %36 = load i64, i64* %22, align 8 %37 = and i64 %35, 4294967295 %38 = call i64 @FUNC(i64 %37, i64 0, i64 1, i64 65535) %39 = trunc i64 %38 to i32 %40 = add i64 %36, 12 %41 = inttoptr i64 %40 to i32* store i32 %39, i32* %41, align 4 %42 = load i64, i64* %22, align 8 %43 = load i64, i64* %sv_2, align 8 %44 = trunc i64 %43 to i32 %45 = add i64 %42, 16 %46 = inttoptr i64 %45 to i32* store i32 %44, i32* %46, align 4 %47 = load i64, i64* %22, align 8 %48 = add i64 %47, 4 %49 = inttoptr i64 %48 to i32* %50 = load i32, i32* %49, align 4 %51 = load i64, i64* %sv_2, align 8 %52 = trunc i64 %51 to i32 %53 = mul i32 %50, %52 %54 = sdiv i32 %53, 128 %55 = add i64 %47, 20 %56 = inttoptr i64 %55 to i32* store i32 %54, i32* %56, align 4 %57 = load i64, i64* %22, align 8 %58 = add i64 %57, 8 %59 = inttoptr i64 %58 to i32* %60 = load i32, i32* %59, align 4 %61 = zext i32 %60 to i64 %62 = call i64 @FUNC(i64 %19, i64 64, i64 1, i64 %61) store i64 0, 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 %13, { 1, 0 } uselistorder i64* %sv_2, { 1, 2, 3, 4, 0 } uselistorder i64* %sv_1, { 1, 2, 0 } uselistorder i64* %sv_0, { 1, 2, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 4, 3, 2, 5 } uselistorder i1 false, { 1, 2, 0 } uselistorder label LBL_6, { 5, 0, 3, 2, 1, 4 } }
1
BinRealVul
remap_cell_to_cache_dirty_4403
remap_cell_to_cache_dirty
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3, i32 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %.reg2mem = alloca i64 %1 = ptrtoint i64* %arg2 to i64 %2 = ptrtoint i64* %arg1 to i64 %3 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %4 = trunc i64 %arg5 to i8 store i64 %2, i64* %sv_2, align 8 %5 = call i64 @FUNC(i64* nonnull %sv_1) %6 = call i64 @FUNC(i64* nonnull %sv_0) %7 = call i64 @FUNC(i64 %2, i64 %3) %8 = load i64, i64* @gv_0, align 8 %9 = add i64 %2, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = call i64 @FUNC(i64 %11, i64 %8, i64* nonnull %sv_2, i64 %1) %13 = add i64 %2, 16 %14 = call i64 @FUNC(i64 %13, i64* nonnull %sv_0) %15 = call i64 @FUNC(i64 %2, i64 %3) %16 = call i64 @FUNC(i64 %2, i64 %3, i32 %arg4) %17 = icmp eq i8 %4, 0 br i1 %17, label LBL_2, label LBL_1 LBL_1: %18 = call i64 @FUNC(i64 %2, i64 %3) br label LBL_3 LBL_2: %19 = call i64 @FUNC(i64 %2, i64 %3) br label LBL_3 LBL_3: %20 = call i64 @FUNC(i64* nonnull %sv_1) %21 = icmp eq i64 %20, 0 %22 = icmp eq i1 %21, false store i64 %20, i64* %.reg2mem br i1 %22, label LBL_4, label LBL_5 LBL_4: %.reload = load i64, i64* %.reg2mem %23 = call i64 @FUNC(i64 %2, i64 %.reload, i32 %arg4) %24 = call i64 @FUNC(i64 %2, i64 %.reload) %25 = call i64 @FUNC(i64* nonnull %sv_1) %26 = icmp eq i64 %25, 0 %27 = icmp eq i1 %26, false store i64 %25, i64* %.reg2mem br i1 %27, label LBL_4, label LBL_5 LBL_5: %28 = call i64 @FUNC(i64 %2, i64 %1) ret i64 %28 uselistorder i64 %.reload, { 1, 0 } uselistorder i64* %sv_1, { 1, 0, 2 } uselistorder i64 %2, { 0, 2, 1, 3, 4, 5, 6, 7, 8, 9, 10 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i1 false, { 1, 0 } uselistorder i64 (i64*)* @bio_list_pop, { 1, 0 } uselistorder i64 (i64, i64)* @issue, { 1, 0 } uselistorder i64 (i64, i64, i32)* @remap_to_cache, { 1, 0 } uselistorder i64 (i64*)* @bio_list_init, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
cmp_ies_13081
cmp_ies
define i64 @FUNC(i64 %arg1, i32* %arg2, i64 %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg4 to i64 %1 = ptrtoint i32* %arg2 to i64 %2 = urem i64 %arg1, 256 %3 = call i64 @FUNC(i64 %2, i64 %1, i64 %arg3) %4 = call i64 @FUNC(i64 %2, i64 %0, i64 %arg5) %5 = icmp eq i64 %3, 0 %6 = or i64 %4, %3 %7 = icmp eq i64 %6, 0 %brmerge = or i1 %5, %7 %.mux = select i1 %7, i64 0, i64 4294967295 store i64 %.mux, i64* %rax.0.reg2mem br i1 %brmerge, label LBL_5, label LBL_1 LBL_1: %8 = add i64 %4, 1 %9 = inttoptr i64 %8 to i8* %10 = load i8, i8* %9, align 1 %11 = zext i8 %10 to i64 %12 = add i64 %3, 1 %13 = inttoptr i64 %12 to i8* %14 = load i8, i8* %13, align 1 %15 = zext i8 %14 to i64 %16 = call i64 @FUNC(i64 %15, i64 %11) %17 = add i64 %4, 2 %18 = add i64 %3, 2 %19 = inttoptr i64 %18 to i64* %20 = inttoptr i64 %17 to i64* %21 = trunc i64 %16 to i32 %22 = call i32 @memcmp(i64* %19, i64* %20, i32 %21) %23 = icmp eq i32 %22, 0 %24 = icmp eq i1 %23, false br i1 %24, label LBL_4, label LBL_2 LBL_2: %25 = load i8, i8* %13, align 1 %26 = load i8, i8* %9, align 1 %27 = icmp eq i8 %25, %26 br i1 %27, label LBL_4, label LBL_3 LBL_3: %28 = zext i8 %26 to i64 %29 = zext i8 %25 to i64 %30 = sub nsw i64 %28, %29 %31 = and i64 %30, 4294967295 store i64 %31, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %32 = zext i32 %22 to i64 store i64 %32, 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 i1 %7, { 1, 0 } uselistorder i64 %4, { 1, 2, 0 } uselistorder i64 %3, { 1, 2, 0, 3 } uselistorder i64 %2, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 2, { 1, 2, 0 } uselistorder i64 (i64, i64, i64)* @find_ie, { 1, 0 } uselistorder label LBL_5, { 1, 2, 0 } }
1
BinRealVul
cmv_process_header_18964
cmv_process_header
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.06.reg2mem = alloca i64 %indvars.iv.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* %arg2 to i64 %5 = ptrtoint i64* %arg1 to i64 %6 = sub i64 %arg3, %4 %7 = icmp sgt i64 %6, 15 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = add i64 %5, 1032 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = call i64 @FUNC(i64 %10, i64 0, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_9 LBL_2: %12 = add i64 %4, 4 %13 = inttoptr i64 %12 to i16* %14 = load i16, i16* %13, align 2 %15 = zext i16 %14 to i32 %16 = bitcast i64* %arg1 to i32* store i32 %15, i32* %16, align 4 %17 = add i64 %4, 6 %18 = inttoptr i64 %17 to i16* %19 = load i16, i16* %18, align 2 %20 = zext i16 %19 to i32 %21 = add i64 %5, 4 %22 = inttoptr i64 %21 to i32* store i32 %20, i32* %22, align 4 %23 = bitcast i64* %rdi to i32* %24 = load i32, i32* %23, align 8 %25 = add i64 %5, 1032 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = zext i32 %24 to i64 %29 = call i64 @FUNC(i64 %27, i64 %28, i32 %20) %30 = trunc i64 %29 to i32 %31 = icmp slt i32 %30, 0 %32 = icmp eq i1 %31, false br i1 %32, label LBL_4, label LBL_3 LBL_3: %33 = and i64 %29, 4294967295 store i64 %33, i64* %rax.0.reg2mem br label LBL_9 LBL_4: %34 = add i64 %4, 10 %35 = inttoptr i64 %34 to i16* %36 = load i16, i16* %35, align 2 %37 = icmp eq i16 %36, 0 br i1 %37, label LBL_6, label LBL_5 LBL_5: %38 = zext i16 %36 to i32 %39 = load i64, i64* %26, align 8 %40 = inttoptr i64 %39 to i32* store i32 1, i32* %40, align 4 %41 = add i64 %39, 4 %42 = inttoptr i64 %41 to i32* store i32 %38, i32* %42, align 4 br label LBL_6 LBL_6: %43 = add i64 %4, 12 %44 = inttoptr i64 %43 to i16* %45 = load i16, i16* %44, align 2 %46 = add i64 %4, 14 %47 = inttoptr i64 %46 to i16* %48 = load i16, i16* %47, align 2 %49 = add i64 %4, 16 %50 = icmp ne i16 %48, 0 %51 = icmp ult i16 %45, 256 %or.cond.not4 = icmp eq i1 %51, %50 %52 = sub i64 %arg3, %49 %53 = icmp sgt i64 %52, 2 %or.cond35 = icmp eq i1 %53, %or.cond.not4 store i64 0, i64* %rax.0.reg2mem br i1 %or.cond35, label LBL_7, label LBL_9 LBL_7: %54 = zext i16 %45 to i64 %55 = zext i16 %48 to i64 %56 = add nuw nsw i64 %55, %54 %57 = add i64 %5, 8 store i64 %54, i64* %indvars.iv.reg2mem store i64 %49, i64* %sv_0.06.reg2mem br label LBL_8 LBL_8: %sv_0.06.reload = load i64, i64* %sv_0.06.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %58 = inttoptr i64 %sv_0.06.reload to i8* %59 = load i8, i8* %58, align 1 %60 = zext i8 %59 to i32 %61 = mul i32 %60, 65536 %62 = add i64 %sv_0.06.reload, 1 %63 = inttoptr i64 %62 to i8* %64 = load i8, i8* %63, align 1 %65 = zext i8 %64 to i32 %66 = mul i32 %65, 256 %67 = or i32 %66, %61 %68 = add i64 %sv_0.06.reload, 2 %69 = inttoptr i64 %68 to i8* %70 = load i8, i8* %69, align 1 %71 = zext i8 %70 to i32 %72 = or i32 %67, %71 %73 = mul i64 %indvars.iv.reload, 4 %74 = add i64 %57, %73 %75 = inttoptr i64 %74 to i32* store i32 %72, i32* %75, align 4 %76 = add i64 %sv_0.06.reload, 3 %77 = trunc i64 %indvars.iv.reload to i32 %78 = add i32 %77, 1 %79 = sext i32 %78 to i64 %80 = icmp sgt i64 %56, %79 %81 = icmp slt i32 %78, 256 %or.cond.not = icmp eq i1 %81, %80 %82 = sub i64 %arg3, %76 %83 = icmp sgt i64 %82, 2 %or.cond3 = icmp eq i1 %83, %or.cond.not %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %76, i64* %sv_0.06.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %or.cond3, label LBL_8, label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %78, { 1, 0 } uselistorder i64 %sv_0.06.reload, { 0, 3, 1, 2 } uselistorder i16 %48, { 1, 0 } uselistorder i64 %39, { 1, 0 } uselistorder i16 %36, { 1, 0 } uselistorder i64 %5, { 1, 2, 3, 0 } uselistorder i64 %4, { 0, 2, 1, 3, 4, 5, 6 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.06.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 4, 3 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i32 256, { 1, 0 } uselistorder i64 2, { 1, 2, 0 } uselistorder i64 4294967295, { 1, 0 } uselistorder i64 %arg3, { 1, 0, 2 } uselistorder label LBL_8, { 1, 0 } }
1
BinRealVul
monitor_qapi_event_emit_16203
monitor_qapi_event_emit
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.lcssa.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i32* %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = load i32*, i32** @gv_0, align 8 %3 = ptrtoint i32* %2 to i64 %4 = icmp eq i32* %2, null %5 = icmp eq i1 %4, false store i32* %2, i32** %storemerge2.reg2mem store i64 %3, i64* %rax.0.lcssa.reg2mem br i1 %5, label LBL_1, label LBL_5 LBL_1: %storemerge2.reload = load i32*, i32** %storemerge2.reg2mem %6 = ptrtoint i32* %storemerge2.reload to i64 %7 = call i64 @FUNC(i64 %6) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_4, label LBL_2 LBL_2: %10 = load i32, i32* %storemerge2.reload, align 4 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = call i64 @FUNC(i64 %6, i64 %0) br label LBL_4 LBL_4: %13 = add i64 %6, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = inttoptr i64 %15 to i32* %17 = icmp eq i64 %15, 0 %18 = icmp eq i1 %17, false store i32* %16, i32** %storemerge2.reg2mem store i64 %15, i64* %rax.0.lcssa.reg2mem br i1 %18, label LBL_1, label LBL_5 LBL_5: %rax.0.lcssa.reload = load i64, i64* %rax.0.lcssa.reg2mem ret i64 %rax.0.lcssa.reload uselistorder i64 %6, { 1, 0, 2 } uselistorder i32** %storemerge2.reg2mem, { 2, 0, 1 } uselistorder i1 false, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
gen_swap_half_2413
gen_swap_half
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC() %1 = trunc i64 %0 to i32 %2 = and i64 %arg1, 4294967295 %3 = and i64 %0, 4294967295 %4 = call i64 @FUNC(i64 %3, i64 %2, i64 16) %5 = call i64 @FUNC(i64 %2, i64 %2, i64 16) %6 = call i64 @FUNC(i64 %2, i64 %2, i32 %1) %7 = call i64 @FUNC(i64 %3) ret i64 %7 uselistorder i64 %2, { 1, 0, 3, 2, 4 } }
0
BinRealVul
OCSP_parse_url_17737
OCSP_parse_url
define i64 @FUNC(i64 %arg1, i64* %arg2, i64* %arg3, i64* %arg4, i32* %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %rdx.38.reg2mem = alloca i64 %rsi.010.reg2mem = alloca i64* %rdx.37.reg2mem = alloca i64 %rsi.09.reg2mem = alloca i64* %rdx.2.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i8* %storemerge6.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg3 to i64 %3 = inttoptr i64 %arg1 to i8* %4 = call i8* @strdup(i8* %3) %5 = icmp eq i8* %4, null br i1 %5, label LBL_16, label LBL_1 LBL_1: store i64 0, i64* %arg2, align 8 store i64 0, i64* %arg3, align 8 store i64 0, i64* %arg4, align 8 %6 = call i8* @strchr(i8* nonnull %4, i32 58) %7 = icmp eq i8* %6, null store i64 %2, i64* %rdx.2.reg2mem br i1 %7, label LBL_15, label LBL_2 LBL_2: %8 = ptrtoint i8* %6 to i64 %9 = add i64 %8, 1 store i8 0, i8* %6, align 1 %10 = call i32 @strcmp(i8* nonnull %4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false store i32 0, i32* %storemerge6.reg2mem br i1 %12, label LBL_3, label LBL_4 LBL_3: %13 = call i32 @strcmp(i8* nonnull %4, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0)) %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false store i32 1, i32* %storemerge6.reg2mem store i64 %9, i64* %rdx.2.reg2mem br i1 %15, label LBL_15, label LBL_4 LBL_4: %16 = inttoptr i64 %9 to i8* %storemerge6.reload = load i32, i32* %storemerge6.reg2mem store i32 %storemerge6.reload, i32* %arg5, align 4 %17 = load i8, i8* %16, align 1 %18 = icmp eq i8 %17, 47 %19 = icmp eq i1 %18, false store i64 %9, i64* %rdx.2.reg2mem br i1 %19, label LBL_15, label LBL_5 LBL_5: %20 = add i64 %8, 2 %21 = inttoptr i64 %20 to i8* %22 = load i8, i8* %21, align 1 %23 = icmp eq i8 %22, 47 %24 = icmp eq i1 %23, false store i64 %9, i64* %rdx.2.reg2mem br i1 %24, label LBL_15, label LBL_6 LBL_6: %25 = add i64 %8, 3 %26 = inttoptr i64 %25 to i8* %27 = call i8* @strchr(i8* %26, i32 47) %28 = icmp eq i8* %27, null %29 = icmp eq i1 %28, false br i1 %29, label LBL_8, label LBL_7 LBL_7: %30 = call i8* @strdup(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_2, i64 0, i64 0)) %31 = ptrtoint i8* %30 to i64 store i64 %31, i64* %arg4, align 8 br label LBL_9 LBL_8: %32 = call i8* @strdup(i8* %27) %33 = ptrtoint i8* %32 to i64 store i64 %33, i64* %arg4, align 8 store i8 0, i8* %27, align 1 br label LBL_9 LBL_9: %34 = call i8* @strchr(i8* %26, i32 58) %35 = icmp eq i8* %34, null br i1 %35, label LBL_11, label LBL_10 LBL_10: store i8 0, i8* %34, align 1 %36 = ptrtoint i8* %34 to i64 %37 = add i64 %36, 1 %38 = inttoptr i64 %37 to i8* store i8* %38, i8** %sv_0.0.reg2mem br label LBL_12 LBL_11: %39 = trunc i64 %1 to i32 %40 = icmp eq i32 %39, 0 %. = select i1 %40, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_4, i64 0, i64 0) store i8* %., i8** %sv_0.0.reg2mem br label LBL_12 LBL_12: %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem %41 = call i8* @strdup(i8* %sv_0.0.reload) %42 = ptrtoint i8* %41 to i64 store i64 %42, i64* %arg3, align 8 %43 = icmp eq i8* %41, null br i1 %43, label LBL_13, label LBL_14 LBL_13: %44 = call i64 @FUNC(i64 0, i64 2) store i64* inttoptr (i64 2 to i64*), i64** %rsi.09.reg2mem store i64 %42, i64* %rdx.37.reg2mem br label LBL_17 LBL_14: %45 = call i8* @strdup(i8* %26) %46 = ptrtoint i8* %45 to i64 store i64 %46, i64* %arg2, align 8 %47 = bitcast i8* %4 to i64* call void @free(i64* %47) store i64 1, i64* %storemerge.reg2mem br label LBL_21 LBL_15: %rdx.2.reload = load i64, i64* %rdx.2.reg2mem %48 = call i64 @FUNC(i64 0, i64 1) store i64* inttoptr (i64 1 to i64*), i64** %rsi.09.reg2mem store i64 %rdx.2.reload, i64* %rdx.37.reg2mem br label LBL_17 LBL_16: %49 = call i64 @FUNC(i64 0, i64 2) %50 = icmp eq i64* %arg4, null store i64* inttoptr (i64 2 to i64*), i64** %rsi.09.reg2mem store i64 %2, i64* %rdx.37.reg2mem store i64* inttoptr (i64 2 to i64*), i64** %rsi.010.reg2mem store i64 %2, i64* %rdx.38.reg2mem br i1 %50, label LBL_18, label LBL_17 LBL_17: %rdx.37.reload = load i64, i64* %rdx.37.reg2mem %rsi.09.reload = load i64*, i64** %rsi.09.reg2mem call void @free(i64* nonnull %arg4) store i64* %rsi.09.reload, i64** %rsi.010.reg2mem store i64 %rdx.37.reload, i64* %rdx.38.reg2mem br label LBL_18 LBL_18: %rdx.38.reload = load i64, i64* %rdx.38.reg2mem %rsi.010.reload = load i64*, i64** %rsi.010.reg2mem %51 = icmp eq i64 %rdx.38.reload, 0 br i1 %51, label LBL_20, label LBL_19 LBL_19: %52 = inttoptr i64 %rdx.38.reload to i64* call void @free(i64* %52) br label LBL_20 LBL_20: call void @free(i64* %rsi.010.reload) store i64 0, i64* %storemerge.reg2mem br label LBL_21 LBL_21: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i8* %34, { 1, 0, 2 } uselistorder i64 %9, { 0, 1, 3, 2 } uselistorder i8* %6, { 1, 0, 2 } uselistorder i64** %rsi.09.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %rdx.37.reg2mem, { 0, 2, 3, 1 } uselistorder i64** %rsi.010.reg2mem, { 0, 2, 1 } uselistorder i64* %rdx.38.reg2mem, { 0, 2, 1 } uselistorder i64* inttoptr (i64 2 to i64*), { 0, 2, 1 } uselistorder i64 (i64, i64)* @OCSPerr, { 1, 2, 0 } uselistorder i64 2, { 3, 1, 0, 2 } uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 } uselistorder i64 1, { 1, 2, 0, 3, 4 } uselistorder i8* (i8*, i32)* @strchr, { 2, 1, 0 } uselistorder i8* (i8*)* @strdup, { 4, 3, 2, 1, 0 } uselistorder i64* %arg4, { 1, 2, 0, 3, 4 } uselistorder label LBL_20, { 1, 0 } uselistorder label LBL_17, { 2, 1, 0 } uselistorder label LBL_15, { 2, 3, 1, 0 } uselistorder label LBL_9, { 1, 0 } }
1
BinRealVul
ext4_fill_flex_info_5472
ext4_fill_flex_info
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge45.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = add i64 %1, 24 %7 = inttoptr i64 %6 to i32* store i32 %5, i32* %7, align 4 %.off = add i32 %5, -1 %8 = icmp ult i32 %.off, 31 br i1 %8, label LBL_2, label LBL_1 LBL_1: store i32 0, i32* %7, align 4 store i64 1, i64* %rax.0.reg2mem br label LBL_6 LBL_2: %9 = urem i32 %5, 32 %10 = shl i32 1, %9 %11 = add i64 %1, 8 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = load i64, i64* %2, align 8 %15 = add i64 %14, 4 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = zext i32 %17 to i64 %19 = call i64 @FUNC(i64 %18) %20 = trunc i64 %19 to i32 %21 = mul i32 %20, 8 %22 = add i32 %10, 7 %23 = add i32 %22, %13 %24 = add i32 %23, %21 %25 = lshr i32 %24, %9 %26 = zext i32 %25 to i64 %sext = mul i64 %26, 4294967296 %27 = sext i32 %25 to i64 %28 = ashr exact i64 %sext, 31 %29 = add nsw i64 %28, %27 %30 = mul i64 %29, 4 %31 = call i64 @FUNC(i64 %30, i64 0) %32 = add i64 %1, 16 %33 = inttoptr i64 %32 to i64* store i64 %31, i64* %33, align 8 %34 = icmp eq i64 %31, 0 %35 = icmp eq i1 %34, false br i1 %35, label LBL_3, label LBL_4 LBL_3: %36 = load i32, i32* %12, align 4 %37 = icmp eq i32 %36, 0 store i32 0, i32* %storemerge45.reg2mem store i64 1, i64* %rax.0.reg2mem br i1 %37, label LBL_6, label LBL_5 LBL_4: %38 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_1, i64 0, i64 0), i64 %26) store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_5: %storemerge45.reload = load i32, i32* %storemerge45.reg2mem %39 = zext i32 %storemerge45.reload to i64 %40 = call i64 @FUNC(i64 %0, i64 %39, i64 0) %41 = call i64 @FUNC(i64 %1, i64 %39) %42 = load i64, i64* %33, align 8 %sext1 = mul i64 %41, 4294967296 %43 = ashr exact i64 %sext1, 32 %44 = ashr exact i64 %sext1, 31 %45 = add nsw i64 %44, %43 %46 = mul i64 %45, 4 %47 = add i64 %46, %42 %48 = call i64 @FUNC(i64 %0, i64 %40) %49 = and i64 %48, 4294967295 %50 = call i64 @FUNC(i64 %49, i64 %47) %51 = load i64, i64* %33, align 8 %52 = add i64 %51, 4 %53 = add i64 %52, %46 %54 = call i64 @FUNC(i64 %0, i64 %40) %55 = and i64 %54, 4294967295 %56 = call i64 @FUNC(i64 %55, i64 %53) %57 = load i64, i64* %33, align 8 %58 = add nsw i64 %46, 8 %59 = add i64 %58, %57 %60 = call i64 @FUNC(i64 %0, i64 %40) %61 = and i64 %60, 4294967295 %62 = call i64 @FUNC(i64 %61, i64 %59) %63 = add i32 %storemerge45.reload, 1 %64 = load i32, i32* %12, align 4 %65 = zext i32 %64 to i64 %66 = sext i32 %63 to i64 %67 = icmp slt i64 %66, %65 store i32 %63, i32* %storemerge45.reg2mem store i64 1, i64* %rax.0.reg2mem br i1 %67, label LBL_5, label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %46, { 0, 2, 1 } uselistorder i64 %sext1, { 1, 0 } uselistorder i64 %26, { 1, 0 } uselistorder i32* %12, { 1, 0, 2 } uselistorder i32 %9, { 1, 0 } uselistorder i64 %0, { 1, 2, 3, 4, 0, 5 } uselistorder i32* %storemerge45.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2, 4 } uselistorder i64 (i64, i64)* @atomic_add, { 2, 1, 0 } uselistorder i64 4, { 2, 0, 1, 3 } uselistorder i32 0, { 0, 1, 3, 2 } uselistorder label LBL_6, { 0, 2, 1, 3 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
vmw_kms_helper_resource_finish_17455
vmw_kms_helper_resource_finish
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 = icmp eq i64 %3, 0 %5 = icmp eq i64* %arg2, null %or.cond = icmp eq i1 %5, %4 br i1 %or.cond, label LBL_2, label LBL_1 LBL_1: %6 = ptrtoint i64* %arg2 to i64 %7 = call i64 @FUNC(i64 %0, i64 0, i64 %3, i64 %6, i64 0) br label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %0, i64 0, i64 0, i64 0) %9 = call i64 @FUNC(i64 %0) ret i64 %9 uselistorder i64 %0, { 2, 1, 0, 3 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
get_buffer_internal_8396
get_buffer_internal
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64* %sv_1.1.reg2mem = alloca i32 %rcx.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg2 to i64 %4 = ptrtoint i64* %arg1 to i64 %5 = add i64 %4, 32 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = trunc i64 %1 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false store i32 1, i32* %sv_1.1.reg2mem br i1 %10, label LBL_12, label LBL_1 LBL_1: %11 = add i64 %4, 12 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = add i64 %4, 8 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = add i64 %4, 4 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = zext i32 %19 to i64 %21 = call i64 @FUNC(i64 %20, i32 %16, i32 %13, i64 0, i64 0, i64 %4) %22 = trunc i64 %21 to i32 %23 = icmp slt i32 %22, 0 br i1 %23, label LBL_3, label LBL_2 LBL_2: %24 = add i64 %4, 16 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = icmp slt i32 %26, 0 %28 = icmp eq i1 %27, false br i1 %28, label LBL_4, label LBL_3 LBL_3: %29 = call i64 @FUNC(i64 %4, i64 16, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_0, i64 0, i64 0), i64 0, i64 0, i64 %4) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_23 LBL_4: %30 = trunc i64 %2 to i32 %31 = icmp slt i32 %30, 1 %.pre = add i64 %3, 4 %.pre4 = inttoptr i64 %.pre to i32* br i1 %31, label LBL_6, label LBL_5 LBL_5: %32 = load i32, i32* %.pre4, align 4 %33 = icmp eq i32 %32, 0 %34 = icmp slt i32 %32, 0 %35 = icmp eq i1 %34, false %36 = icmp eq i1 %33, false %37 = icmp eq i1 %35, %36 store i32 1, i32* %sv_1.0.reg2mem store i64 0, i64* %rcx.0.reg2mem br i1 %37, label LBL_7, label LBL_6 LBL_6: %38 = add i64 %4, 24 %39 = inttoptr i64 %38 to i32* %40 = load i32, i32* %39, align 4 %41 = zext i32 %40 to i64 %42 = add i64 %4, 20 %43 = inttoptr i64 %42 to i32* %44 = load i32, i32* %43, align 4 %45 = urem i32 %44, 32 %46 = shl i32 1, %45 %storemerge = zext i32 %46 to i64 %47 = add nuw nsw i64 %41, 4294967295 %48 = add nuw nsw i64 %47, %storemerge %49 = icmp eq i32 %45, 0 %50 = trunc i64 %48 to i32 %51 = ashr i32 %50, %45 %52 = zext i32 %51 to i64 %rdx.0 = select i1 %49, i64 %48, i64 %52 %53 = load i32, i32* %18, align 4 %54 = trunc i64 %rdx.0 to i32 %55 = sub i32 %54, %53 %56 = xor i32 %53, %54 %57 = xor i32 %55, %54 %58 = and i32 %57, %56 %59 = icmp slt i32 %58, 0 %60 = icmp slt i32 %55, 0 %61 = icmp eq i1 %60, %59 %62 = select i1 %61, i32 %54, i32 %53 %63 = bitcast i64* %arg2 to i32* store i32 %62, i32* %63, align 4 %64 = add i64 %4, 28 %65 = inttoptr i64 %64 to i32* %66 = load i32, i32* %65, align 4 %67 = zext i32 %66 to i64 %68 = load i32, i32* %43, align 4 %69 = urem i32 %68, 32 %70 = shl i32 1, %69 %storemerge2 = zext i32 %70 to i64 %71 = add nuw nsw i64 %67, 4294967295 %72 = add nuw nsw i64 %71, %storemerge2 %73 = zext i32 %68 to i64 %74 = icmp eq i32 %69, 0 %75 = trunc i64 %72 to i32 %76 = ashr i32 %75, %69 %77 = zext i32 %76 to i64 %rdx.1 = select i1 %74, i64 %72, i64 %77 %78 = load i32, i32* %15, align 4 %79 = trunc i64 %rdx.1 to i32 %80 = sub i32 %79, %78 %81 = xor i32 %78, %79 %82 = xor i32 %80, %79 %83 = and i32 %82, %81 %84 = icmp slt i32 %83, 0 %85 = icmp slt i32 %80, 0 %86 = icmp eq i1 %85, %84 %87 = select i1 %86, i32 %79, i32 %78 store i32 %87, i32* %.pre4, align 4 store i32 0, i32* %sv_1.0.reg2mem store i64 %73, i64* %rcx.0.reg2mem br label LBL_7 LBL_7: %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %88 = add i64 %3, 8 %89 = inttoptr i64 %88 to i64* %90 = load i64, i64* %89, align 8 %91 = icmp eq i64 %90, 0 %92 = icmp eq i1 %91, false br i1 %92, label LBL_11, label LBL_8 LBL_8: %93 = add i64 %3, 16 %94 = inttoptr i64 %93 to i64* %95 = load i64, i64* %94, align 8 %96 = icmp eq i64 %95, 0 %97 = icmp eq i1 %96, false br i1 %97, label LBL_11, label LBL_9 LBL_9: %98 = add i64 %3, 24 %99 = inttoptr i64 %98 to i64* %100 = load i64, i64* %99, align 8 %101 = icmp eq i64 %100, 0 %102 = icmp eq i1 %101, false br i1 %102, label LBL_11, label LBL_10 LBL_10: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %103 = add i64 %3, 32 %104 = inttoptr i64 %103 to i64* %105 = load i64, i64* %104, align 8 %106 = icmp eq i64 %105, 0 store i32 %sv_1.0.reload, i32* %sv_1.1.reg2mem br i1 %106, label LBL_12, label LBL_11 LBL_11: %107 = call i64 @FUNC(i64 %4, i64 16, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_1, i64 0, i64 0), i64 %rcx.0.reload, i64 0, i64 %4) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_23 LBL_12: %108 = call i64 @FUNC(i64 %4, i64 %3) %109 = trunc i64 %108 to i32 %110 = icmp slt i32 %109, 0 %111 = icmp eq i1 %110, false br i1 %111, label LBL_14, label LBL_13 LBL_13: %112 = and i64 %108, 4294967295 store i64 %112, i64* %rax.0.reg2mem br label LBL_23 LBL_14: %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %113 = icmp eq i64 %7, 0 br i1 %113, label LBL_17, label LBL_15 LBL_15: %114 = inttoptr i64 %7 to i64* %115 = load i64, i64* %114, align 8 %116 = icmp eq i64 %115, 0 br i1 %116, label LBL_18, label LBL_16 LBL_16: %117 = and i64 %4, 4294967295 %118 = inttoptr i64 %117 to i64* store i64* %118, i64** %sv_0.0.reg2mem br label LBL_20 LBL_17: %119 = add i64 %4, 16 %120 = inttoptr i64 %119 to i32* %121 = load i32, i32* %120, align 4 %122 = add i64 %4, 48 %123 = inttoptr i64 %122 to i32* store i32 %121, i32* %123, align 4 br label LBL_18 LBL_18: %124 = trunc i64 %4 to i32 %125 = and i64 %4, 4294967295 %126 = inttoptr i64 %125 to i64* %127 = icmp slt i32 %124, 0 store i64* %126, i64** %sv_0.0.reg2mem br i1 %127, label LBL_20, label LBL_19 LBL_19: %128 = call i64 @FUNC(i64 %4, i64 %3) store i64* %126, i64** %sv_0.0.reg2mem br label LBL_20 LBL_20: %129 = bitcast i64* %rdi to i32* %sv_0.0.reload = load i64*, i64** %sv_0.0.reg2mem %130 = load i32, i32* %129, align 8 %131 = or i32 %130, %sv_1.1.reload %132 = icmp eq i32 %131, 0 br i1 %132, label LBL_21, label LBL_22 LBL_21: %133 = add i64 %4, 4 %134 = inttoptr i64 %133 to i32* %135 = load i32, i32* %134, align 4 %136 = bitcast i64* %arg2 to i32* store i32 %135, i32* %136, align 4 %137 = add i64 %4, 8 %138 = inttoptr i64 %137 to i32* %139 = load i32, i32* %138, align 4 %140 = add i64 %3, 4 %141 = inttoptr i64 %140 to i32* store i32 %139, i32* %141, align 4 br label LBL_22 LBL_22: %142 = ptrtoint i64* %sv_0.0.reload to i64 %143 = and i64 %142, 4294967295 store i64 %143, i64* %rax.0.reg2mem br label LBL_23 LBL_23: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %80, { 1, 0 } uselistorder i32 %79, { 2, 1, 0, 3 } uselistorder i32 %78, { 1, 0, 2 } uselistorder i32 %69, { 1, 2, 0 } uselistorder i32 %68, { 1, 0 } uselistorder i32 %55, { 1, 0 } uselistorder i32 %54, { 2, 1, 0, 3 } uselistorder i32 %53, { 1, 0, 2 } uselistorder i32 %45, { 1, 2, 0 } uselistorder i32 %32, { 1, 0 } uselistorder i64 %7, { 1, 0 } uselistorder i64 %4, { 14, 15, 13, 17, 16, 19, 18, 12, 20, 0, 1, 2, 4, 3, 6, 7, 5, 10, 11, 9, 8, 21 } uselistorder i64 %3, { 6, 5, 7, 4, 3, 2, 1, 0 } uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rcx.0.reg2mem, { 0, 2, 1 } uselistorder i64** %sv_0.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 } uselistorder i64 16, { 2, 0, 3, 1, 4 } uselistorder i64 4, { 1, 2, 0, 3 } uselistorder i1 false, { 1, 2, 3, 4, 5, 0, 6, 7 } uselistorder label LBL_22, { 1, 0 } uselistorder label LBL_20, { 1, 0, 2 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
alloc_counters_6891
alloc_counters
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 0) %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false store i64 -12, i64* %storemerge.reg2mem br i1 %4, label LBL_1, label LBL_2 LBL_1: %5 = call i64 @FUNC(i64 %1, i64 %2) store i64 %2, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
snd_timer_user_ccallback_13745
snd_timer_user_ccallback
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64 %arg4) 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 %sext = mul i64 %arg2, 4294967296 %4 = ashr exact i64 %sext, 32 %5 = icmp slt i32 %3, 0 %6 = trunc i64 %4 to i32 %7 = icmp sgt i32 %6, 1 %or.cond = or i1 %5, %7 br i1 %or.cond, label LBL_2, label LBL_1 LBL_1: %8 = ptrtoint i64* %arg3 to i64 %9 = add i64 %8, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 store i64 %11, i64* %arg1, align 8 %12 = add i64 %1, 8 %13 = inttoptr i64 %12 to i64* store i64 %11, i64* %13, align 8 br label LBL_2 LBL_2: %14 = add i64 %1, 16 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = urem i32 %6, 32 %18 = shl i32 1, %17 %storemerge = sext i32 %18 to i64 %19 = and i64 %16, %storemerge %20 = icmp eq i64 %19, 0 store i64 0, i64* %rax.0.reg2mem br i1 %20, label LBL_5, label LBL_3 LBL_3: %21 = add i64 %1, 24 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = icmp eq i64 %23, 0 store i64 0, i64* %rax.0.reg2mem br i1 %24, label LBL_5, label LBL_4 LBL_4: %25 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 32) store i64 %4, i64* %sv_0, align 8 %26 = add i64 %1, 32 %27 = call i64 @FUNC(i64 %26, i64 %2) %28 = call i64 @FUNC(i64 %1, i64* nonnull %sv_0) %29 = call i64 @FUNC(i64 %26, i64 %2) %30 = add i64 %1, 40 %31 = call i64 @FUNC(i64 %30, i64 29, i64 1) %32 = add i64 %1, 48 %33 = call i64 @FUNC(i64 %32) 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 %11, { 1, 0 } uselistorder i64* %sv_0, { 0, 2, 1 } uselistorder i64 %1, { 1, 0, 3, 2, 4, 5, 6 } uselistorder i32 32, { 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder label LBL_5, { 2, 1, 0 } }
0
BinRealVul
load_device_tree_from_sysfs_9183
load_device_tree_from_sysfs
define i64 @FUNC() local_unnamed_addr { LBL_0: %sv_0 = alloca i64, align 8 %0 = call i64 @FUNC(i64* nonnull %sv_0) %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0)) %2 = call i64 @FUNC(i64 %0) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0)) call void @exit(i32 1) unreachable LBL_2: ret i64 %0 uselistorder i32 1, { 2, 3, 1, 0 } }
0
BinRealVul
TIFFInitJBIG_12498
TIFFInitJBIG
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %arg2 to i32 %3 = icmp eq i32 %2, 1 br i1 %3, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_1, i64 0, i64 0), i32 23, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %4 = ptrtoint i64* %arg1 to i64 %5 = trunc i64 %1 to i32 %6 = and i32 %5, -3 %7 = bitcast i64* %arg1 to i32* store i32 %6, i32* %7, align 4 %8 = add i64 %4, 8 %9 = inttoptr i64 %8 to i64* store i64 4198710, i64* %9, align 8 %10 = add i64 %4, 16 %11 = inttoptr i64 %10 to i64* store i64 4198717, i64* %11, align 8 %12 = add i64 %4, 24 %13 = inttoptr i64 %12 to i64* store i64 4198724, i64* %13, align 8 %14 = add i64 %4, 32 %15 = inttoptr i64 %14 to i64* store i64 4198731, i64* %15, align 8 ret i64 1 }
1
BinRealVul
get_stack_dump_bottom_13339
get_stack_dump_bottom
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.in.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg1) %1 = icmp ult i64 %0, 3 br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = add i64 %0, -3 %3 = icmp ult i64 %2, 5 store i64 %arg1, i64* %rax.0.in.reg2mem br i1 %3, label LBL_3, label LBL_4 LBL_2: %4 = add i64 %arg1, 4095 %5 = and i64 %4, -4096 store i64 %5, i64* %rax.0.in.reg2mem br label LBL_4 LBL_3: %6 = add i64 %arg1, 8191 %7 = and i64 %6, -8192 store i64 %7, i64* %rax.0.in.reg2mem br label LBL_4 LBL_4: %rax.0.in.reload = load i64, i64* %rax.0.in.reg2mem %rax.0 = add i64 %rax.0.in.reload, -8 ret i64 %rax.0 uselistorder i64* %rax.0.in.reg2mem, { 0, 2, 3, 1 } uselistorder i64 %arg1, { 1, 2, 0, 3 } uselistorder label LBL_4, { 1, 2, 0 } }
1
BinRealVul
smp_prepare_boot_cpu_4243
smp_prepare_boot_cpu
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i64 @FUNC() %1 = and i64 %0, 4294967295 %2 = call i64 @FUNC(i64 %1, i64* nonnull @gv_0) %3 = call i64 @FUNC(i64 %1, i64* nonnull @gv_1) %4 = call i64 @FUNC(i64 %1, i64* nonnull @gv_2) ret i64 %4 uselistorder i64 (i64, i64*)* @cpu_set, { 2, 1, 0 } }
0
BinRealVul
av_get_string_2371
av_get_string
define i64 @FUNC(i64 %arg1, i8* %arg2, i64* %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = alloca i128 %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %1 = load i128, i128* %0 %2 = ptrtoint i8* %arg2 to i64 %3 = call i64 @FUNC(i64 %arg1, i64 %2, i64 0, i64 0, i64 0) %4 = icmp eq i64 %3, 0 store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_16, label LBL_1 LBL_1: %5 = inttoptr i64 %3 to i32* %6 = load i32, i32* %5, align 4 %7 = icmp eq i32 %6, 0 %8 = icmp slt i32 %6, 0 %9 = icmp eq i1 %8, false %10 = icmp eq i1 %7, false %11 = icmp eq i1 %9, %10 store i64 0, i64* %rax.0.reg2mem br i1 %11, label LBL_2, label LBL_16 LBL_2: %sext = mul i64 %arg5, 4294967296 %12 = ashr exact i64 %sext, 32 %13 = add i64 %3, 4 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = icmp eq i32 %15, 0 br i1 %16, label LBL_5, label LBL_3 LBL_3: %17 = icmp eq i64* %arg4, null store i64 0, i64* %rax.0.reg2mem br i1 %17, label LBL_16, label LBL_4 LBL_4: %18 = trunc i64 %12 to i32 %19 = icmp eq i32 %18, 0 %20 = icmp eq i1 %19, false store i64 0, i64* %rax.0.reg2mem br i1 %20, label LBL_5, label LBL_16 LBL_5: %21 = icmp eq i64* %arg3, null store i32 %15, i32* %.reg2mem br i1 %21, label LBL_7, label LBL_6 LBL_6: store i64 %3, i64* %arg3, align 8 %.pre = load i32, i32* %14, align 4 store i32 %.pre, i32* %.reg2mem br label LBL_7 LBL_7: %22 = sext i32 %6 to i64 %23 = add i64 %22, %arg1 %.reload = load i32, i32* %.reg2mem %24 = icmp eq i32 %.reload, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_9, label LBL_8 LBL_8: %26 = inttoptr i64 %23 to i64* %27 = load i64, i64* %26, align 8 store i64 %27, i64* %rax.0.reg2mem br label LBL_16 LBL_9: %28 = ptrtoint i64* %arg4 to i64 %29 = inttoptr i64 %23 to i32* store i64 %3, i64* @0, align 8 store i64 0, i64* %rax.0.reg2mem switch i64 %3, label LBL_16 [ i64 1, label LBL_10 i64 2, label LBL_11 i64 3, label LBL_12 i64 4, label LBL_13 i64 5, label LBL_14 i64 6, label LBL_15 ] LBL_10: %30 = load i32, i32* %29, align 4 %31 = trunc i64 %12 to i32 %32 = bitcast i64* %arg4 to i8* %33 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %32, i32 %31, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i32 %30) store i64 %28, i64* %rax.0.reg2mem br label LBL_16 LBL_11: %34 = load i32, i32* %29, align 4 %35 = trunc i64 %12 to i32 %36 = zext i32 %34 to i64 %37 = bitcast i64* %arg4 to i8* %38 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %37, i32 %35, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0), i64 %36) store i64 %28, i64* %rax.0.reg2mem br label LBL_16 LBL_12: %39 = inttoptr i64 %23 to i64* %40 = load i64, i64* %39, align 8 %41 = trunc i64 %12 to i32 %42 = bitcast i64* %arg4 to i8* %43 = trunc i64 %40 to i32 %44 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %42, i32 %41, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0), i32 %43) store i64 %28, i64* %rax.0.reg2mem br label LBL_16 LBL_13: %45 = load i32, i32* %29, align 4 %46 = call i128 @FUNC(i32 %45) %47 = call i128 @FUNC(i128 %1, i128 %1) %48 = call i128 @FUNC(i128 %46) %49 = call i64 @FUNC(i128 %48) %50 = trunc i64 %12 to i32 %51 = call i128 @__asm_movq.1(i64 %49) %52 = bitcast i64* %arg4 to i8* %53 = trunc i128 %51 to i64 %54 = bitcast i64 %53 to double %55 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %52, i32 %50, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_3, i64 0, i64 0), double %54) store i64 %28, i64* %rax.0.reg2mem br label LBL_16 LBL_14: %56 = inttoptr i64 %23 to i64* %57 = load i64, i64* %56, align 8 %58 = trunc i64 %12 to i32 %59 = call i128 @__asm_movq.1(i64 %57) %60 = bitcast i64* %arg4 to i8* %61 = trunc i128 %59 to i64 %62 = bitcast i64 %61 to double %63 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %60, i32 %58, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_3, i64 0, i64 0), double %62) store i64 %28, i64* %rax.0.reg2mem br label LBL_16 LBL_15: %64 = add i64 %23, 4 %65 = inttoptr i64 %64 to i32* %66 = load i32, i32* %65, align 4 %67 = load i32, i32* %29, align 4 %68 = trunc i64 %12 to i32 %69 = zext i32 %66 to i64 %70 = zext i32 %67 to i64 %71 = bitcast i64* %arg4 to i8* %72 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %71, i32 %68, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_4, i64 0, i64 0), i64 %70, i64 %69) store i64 %28, i64* %rax.0.reg2mem br label LBL_16 LBL_16: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %29, { 3, 2, 1, 0 } uselistorder i64 %28, { 5, 4, 3, 2, 1, 0 } uselistorder i64 %23, { 2, 1, 0, 4, 3 } uselistorder i64 %12, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i32 %6, { 0, 2, 1 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 4, 3, 2, 1, 7, 12, 9, 8, 11, 10 } uselistorder i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_3, i64 0, i64 0), { 1, 0 } uselistorder i32 (i8*, i32, i8*, ...)* @snprintf, { 5, 4, 3, 2, 1, 0 } uselistorder i1 false, { 1, 2, 3, 0 } uselistorder i64* %arg4, { 5, 4, 3, 2, 1, 0, 7, 6 } uselistorder label LBL_16, { 5, 4, 3, 2, 1, 0, 6, 11, 8, 7, 10, 9 } }
0
BinRealVul
io_mem_init_17152
io_mem_init
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 0, i64 4198732, i64 4198746, i64 0) %1 = call i64 @FUNC(i64 1, i64 4198739, i64 4198746, i64 0) %2 = call i64 @FUNC(i64 2, i64 4198732, i64 4198753, i64 0) store i32 5, i32* bitcast (i64* @gv_0 to i32*), align 8 %3 = load i64, i64* @gv_1, align 8 %4 = udiv i64 %3, 4096 %5 = call i64 @FUNC(i64 %4) store i64 %5, i64* @gv_2, align 8 %6 = load i64, i64* @gv_1, align 8 %7 = udiv i64 %6, 4096 %8 = inttoptr i64 %5 to i64* %9 = trunc i64 %7 to i32 %10 = call i64* @memset(i64* %8, i32 255, i32 %9) %11 = ptrtoint i64* %10 to i64 ret i64 %11 uselistorder i64 (i64, i64, i64, i64)* @cpu_register_io_memory, { 2, 1, 0 } }
1
BinRealVul
freerdp_peer_free_4948
freerdp_peer_free
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64 %arg1, 0 br i1 %0, label LBL_2, label LBL_1 LBL_1: %1 = call i64 @FUNC(i64 %arg1) %2 = call i64 @FUNC(i64 %arg1) %3 = call i64 @FUNC(i64 %arg1) store i64 %3, 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)* @xfree, { 1, 0 } uselistorder i64 %arg1, { 0, 2, 1, 3 } }
0
BinRealVul
direct_page_fault_7156
direct_page_fault
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i64 %sv_0.01.reg2mem = alloca i64 %sv_0.02.reg2mem = alloca i64 %.reg2mem5 = alloca i64 %sv_0.04.reg2mem = alloca i64 %.reg2mem = alloca i64 %sv_0.0.ph.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = and i64 %1, 4294967295 %5 = call i64 @FUNC(i64 %4) %6 = udiv i64 %2, 4096 %7 = add i64 %2, 8 %8 = inttoptr i64 %7 to i64* store i64 %6, i64* %8, align 8 %9 = call i64 @FUNC(i64 %3, i64 %6) %10 = add i64 %2, 16 %11 = inttoptr i64 %10 to i64* store i64 %9, i64* %11, align 8 %12 = call i64 @FUNC(i64 %3, i64 %2) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 store i64 1, i64* %rax.0.shrunk.reg2mem br i1 %14, label LBL_1, label LBL_18 LBL_1: %15 = call i64 @FUNC(i64 %3, i64 %2) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, -1 store i64 %15, i64* %rax.0.shrunk.reg2mem br i1 %17, label LBL_2, label LBL_18 LBL_2: %18 = call i64 @FUNC(i64 %3, i64 0) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 0 store i64 %18, i64* %rax.0.shrunk.reg2mem br i1 %20, label LBL_3, label LBL_18 LBL_3: %21 = add i64 %3, 8 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = call i64 @FUNC() %27 = call i64 @FUNC(i64 %3, i64 %2) %28 = trunc i64 %27 to i32 %29 = icmp eq i32 %28, 0 store i64 %27, i64* %rax.0.shrunk.reg2mem br i1 %29, label LBL_4, label LBL_18 LBL_4: %30 = call i64 @FUNC(i64 %3, i64 %2, i64 0) %31 = trunc i64 %30 to i32 %32 = icmp eq i32 %31, 0 store i64 %30, i64* %rax.0.shrunk.reg2mem br i1 %32, label LBL_5, label LBL_18 LBL_5: %33 = trunc i64 %5 to i8 %34 = icmp eq i8 %33, 0 %35 = load i64, i64* %22, align 8 %36 = add i64 %35, 8 br i1 %34, label LBL_7, label LBL_6 LBL_6: %37 = call i64 @FUNC(i64 %36) br label LBL_8 LBL_7: %38 = call i64 @FUNC(i64 %36) br label LBL_8 LBL_8: %39 = call i64 @FUNC(i64 %3, i64 %2, i64 %25) %40 = trunc i64 %39 to i8 %41 = icmp eq i8 %40, 0 %42 = icmp eq i1 %41, false br i1 %42, label LBL_14, label LBL_9 LBL_9: br i1 %34, label LBL_11, label LBL_10 LBL_10: %43 = call i64 @FUNC(i64 %3, i64 %2) %44 = load i64, i64* %22, align 8 %45 = add i64 %44, 8 store i64 %45, i64* %.reg2mem store i64 %43, i64* %sv_0.04.reg2mem br label LBL_15 LBL_11: %46 = call i64 @FUNC(i64 %3) %47 = trunc i64 %46 to i32 %48 = icmp eq i32 %47, 0 %49 = icmp eq i1 %48, false store i64 %46, i64* %sv_0.0.ph.reg2mem br i1 %49, label LBL_13, label LBL_12 LBL_12: %50 = call i64 @FUNC(i64 %3, i64 %2) store i64 %50, i64* %sv_0.0.ph.reg2mem br label LBL_13 LBL_13: %sv_0.0.ph.reload = load i64, i64* %sv_0.0.ph.reg2mem %51 = load i64, i64* %22, align 8 %52 = add i64 %51, 8 store i64 %52, i64* %.reg2mem5 store i64 %sv_0.0.ph.reload, i64* %sv_0.02.reg2mem br label LBL_16 LBL_14: %53 = load i64, i64* %22, align 8 %54 = add i64 %53, 8 store i64 %54, i64* %.reg2mem store i64 2, i64* %sv_0.04.reg2mem store i64 %54, i64* %.reg2mem5 store i64 2, i64* %sv_0.02.reg2mem br i1 %34, label LBL_16, label LBL_15 LBL_15: %sv_0.04.reload = load i64, i64* %sv_0.04.reg2mem %.reload = load i64, i64* %.reg2mem %55 = call i64 @FUNC(i64 %.reload) store i64 %sv_0.04.reload, i64* %sv_0.01.reg2mem br label LBL_17 LBL_16: %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem %.reload6 = load i64, i64* %.reg2mem5 %56 = call i64 @FUNC(i64 %.reload6) store i64 %sv_0.02.reload, i64* %sv_0.01.reg2mem br label LBL_17 LBL_17: %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem %57 = add i64 %2, 24 %58 = inttoptr i64 %57 to i64* %59 = load i64, i64* %58, align 8 %60 = call i64 @FUNC(i64 %59) store i64 %sv_0.01.reload, i64* %rax.0.shrunk.reg2mem br label LBL_18 LBL_18: %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 %36, { 1, 0 } uselistorder i1 %34, { 1, 0, 2 } uselistorder i64* %22, { 2, 1, 0, 3, 4 } uselistorder i64 %6, { 1, 0 } uselistorder i64 %3, { 1, 2, 0, 3, 4, 5, 6, 7, 8, 9, 10 } uselistorder i64 %2, { 3, 2, 1, 4, 5, 6, 7, 8, 9, 10, 0 } uselistorder i64* %sv_0.0.ph.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.01.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 6, 1, 2, 3, 4, 5 } uselistorder i64 8, { 2, 1, 0, 3, 4, 5 } uselistorder label LBL_18, { 5, 0, 1, 2, 3, 4 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_13, { 1, 0 } }
0
BinRealVul
ide_init_drive_7640
ide_init_drive
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %sv_1 = alloca i32, align 4 %sv_2 = alloca i32, align 4 %sv_3 = alloca i64, align 8 %2 = trunc i64 %arg3 to i32 store i64 %0, i64* %arg1, align 8 %3 = add i64 %1, 8 %4 = inttoptr i64 %3 to i32* store i32 %2, i32* %4, align 4 %5 = call i64 @FUNC(i64 %0, i64* nonnull %sv_3) %6 = bitcast i32* %sv_0 to i64* %7 = bitcast i32* %sv_1 to i64* %8 = bitcast i32* %sv_2 to i64* %9 = call i64 @FUNC(i64 %0, i64* nonnull %6, i64* nonnull %7, i64* nonnull %8) %10 = load i32, i32* %sv_0, align 4 %.off = add i32 %10, -1 %11 = icmp ult i32 %.off, 16383 br i1 %11, label LBL_2, label LBL_1 LBL_1: %12 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_26 LBL_2: %13 = load i32, i32* %sv_1, align 4 %.off10 = add i32 %13, -1 %14 = icmp ult i32 %.off10, 16 br i1 %14, label LBL_4, label LBL_3 LBL_3: %15 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_1, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_26 LBL_4: %16 = load i32, i32* %sv_2, align 4 %.off11 = add i32 %16, -1 %17 = icmp ult i32 %.off11, 63 br i1 %17, label LBL_6, label LBL_5 LBL_5: %18 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_2, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_26 LBL_6: %19 = add i64 %1, 12 %20 = inttoptr i64 %19 to i32* store i32 %10, i32* %20, align 4 %21 = load i32, i32* %sv_1, align 4 %22 = add i64 %1, 16 %23 = inttoptr i64 %22 to i32* store i32 %21, i32* %23, align 4 %24 = load i32, i32* %sv_2, align 4 %25 = add i64 %1, 20 %26 = inttoptr i64 %25 to i32* store i32 %24, i32* %26, align 4 %27 = load i64, i64* %sv_3, align 8 %28 = add i64 %1, 24 %29 = inttoptr i64 %28 to i64* store i64 %27, i64* %29, align 8 %30 = add i64 %1, 32 %31 = inttoptr i64 %30 to i32* store i32 1, i32* %31, align 4 %32 = add i64 %1, 36 %33 = inttoptr i64 %32 to i32* store i32 1, i32* %33, align 4 %34 = add i64 %1, 40 %35 = inttoptr i64 %34 to i32* store i32 0, i32* %35, align 4 %36 = add i64 %1, 44 %37 = inttoptr i64 %36 to i32* store i32 0, i32* %37, align 4 %38 = icmp eq i32 %2, 0 %39 = icmp eq i1 %38, false br i1 %39, label LBL_8, label LBL_7 LBL_7: %40 = call i64 @FUNC(i64 %0, i64* nonnull @gv_3, i64 %1) %41 = call i64 @FUNC(i64 %0, i64 2048) br label LBL_12 LBL_8: %42 = call i64 @FUNC(i64 %0) %43 = trunc i64 %42 to i32 %44 = icmp eq i32 %43, 0 %45 = icmp eq i1 %44, false br i1 %45, label LBL_10, label LBL_9 LBL_9: %46 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_4, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_26 LBL_10: %47 = call i64 @FUNC(i64 %0) %48 = trunc i64 %47 to i32 %49 = icmp eq i32 %48, 0 br i1 %49, label LBL_12, label LBL_11 LBL_11: %50 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_5, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_26 LBL_12: %51 = icmp eq i64 %arg5, 0 br i1 %51, label LBL_14, label LBL_13 LBL_13: %52 = add i64 %1, 48 %53 = inttoptr i64 %52 to i8* %54 = inttoptr i64 %arg5 to i8* %55 = call i8* @strncpy(i8* %53, i8* %54, i32 32) br label LBL_15 LBL_14: %56 = add i64 %1, 144 %57 = inttoptr i64 %56 to i32* %58 = load i32, i32* %57, align 4 %59 = add i64 %1, 48 %60 = zext i32 %58 to i64 %61 = inttoptr i64 %59 to i8* %62 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %61, i32 32, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_6, i64 0, i64 0), i64 %60) br label LBL_15 LBL_15: %63 = icmp eq i64 %arg6, 0 br i1 %63, label LBL_17, label LBL_16 LBL_16: %64 = add i64 %1, 80 %65 = call i64 @FUNC(i64 %64, i64 32, i64 %arg6) br label LBL_22 LBL_17: br i1 %38, label LBL_19, label LBL_18 LBL_18: %66 = icmp eq i32 %2, 1 %67 = add i64 %1, 80 %68 = inttoptr i64 %67 to i64* br i1 %66, label LBL_20, label LBL_21 LBL_19: %69 = add i64 %1, 80 %70 = inttoptr i64 %69 to i64* store i64 4924198148236985681, i64* %70, align 8 %71 = add i64 %1, 88 %72 = inttoptr i64 %71 to i32* store i32 1297044013, i32* %72, align 4 %73 = add i64 %1, 92 %74 = inttoptr i64 %73 to i8* store i8 0, i8* %74, align 1 br label LBL_22 LBL_20: store i64 4848491275106469201, i64* %68, align 8 %75 = add i64 %1, 88 %76 = inttoptr i64 %75 to i64* store i64 19516646305845074, i64* %76, align 8 br label LBL_22 LBL_21: store i64 5927097888303564113, i64* %68, align 8 %77 = add i64 %1, 88 %78 = inttoptr i64 %77 to i32* store i32 1397310532, i32* %78, align 4 %79 = add i64 %1, 92 %80 = inttoptr i64 %79 to i16* store i16 75, i16* %80, align 2 br label LBL_22 LBL_22: %81 = icmp eq i64 %arg4, 0 %82 = add i64 %1, 112 br i1 %81, label LBL_24, label LBL_23 LBL_23: %83 = call i64 @FUNC(i64 %82, i64 32, i64 %arg4) br label LBL_25 LBL_24: %84 = call i64 @FUNC(i64 %82, i64 32, i64 ptrtoint ([4 x i8]* @gv_7 to i64)) br label LBL_25 LBL_25: %85 = call i64 @FUNC(i64 %1) %86 = call i64 @FUNC(i64 %0) store i64 0, i64* %rax.0.reg2mem br label LBL_26 LBL_26: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %82, { 1, 0 } uselistorder i32 %10, { 1, 0 } uselistorder i32 %2, { 1, 0, 2 } uselistorder i64* %sv_3, { 1, 0 } uselistorder i32* %sv_2, { 1, 0, 2 } uselistorder i32* %sv_1, { 1, 0, 2 } uselistorder i64 %1, { 6, 7, 4, 5, 3, 10, 9, 8, 2, 1, 12, 11, 13, 0, 14, 15, 16, 17, 18, 19, 20, 21, 22 } uselistorder i64 %0, { 2, 3, 4, 1, 0, 5, 6, 7 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 4, 3, 2, 1 } uselistorder i8 0, { 1, 2, 0 } uselistorder i64 (i64, i64, i64)* @pstrcpy, { 2, 1, 0 } uselistorder i64 80, { 1, 0, 2 } uselistorder i8* (i8*, i8*, i32)* @strncpy, { 1, 0 } uselistorder i64 4294967295, { 4, 3, 2, 1, 0 } uselistorder i64 (i8*)* @error_report, { 4, 3, 2, 1, 0 } uselistorder i64 %arg6, { 1, 0 } uselistorder i64 %arg5, { 1, 0 } uselistorder i64 %arg4, { 1, 0 } }
1
BinRealVul
trace_define_field_4991
trace_define_field
define i64 @FUNC(i64* %arg1, i8* %arg2, i8* %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %.reg2mem = alloca i64 %.pre-phi7.reg2mem = alloca i64* %0 = call i64 @FUNC(i64 40, i64 0) %cond = icmp eq i64 %0, 0 br i1 %cond, label LBL_7, label LBL_1 LBL_1: %1 = ptrtoint i8* %arg3 to i64 %2 = call i64 @FUNC(i64 %1, i64 0) %3 = inttoptr i64 %0 to i64* store i64 %2, i64* %3, align 8 %4 = icmp eq i64 %2, 0 br i1 %4, label LBL_1.LBL_6_crit_edge, label LBL_3 LBL_2: %.pre5 = add i64 %0, 8 %.pre6 = inttoptr i64 %.pre5 to i64* store i64* %.pre6, i64** %.pre-phi7.reg2mem store i64 0, i64* %.reg2mem br label LBL_6 LBL_3: %5 = ptrtoint i8* %arg2 to i64 %6 = call i64 @FUNC(i64 %5, i64 0) %7 = add i64 %0, 8 %8 = inttoptr i64 %7 to i64* store i64 %6, i64* %8, align 8 %9 = icmp eq i64 %6, 0 br i1 %9, label LBL_3.LBL_6_crit_edge, label LBL_5 LBL_4: %.pre = load i64, i64* %3, align 8 store i64* %8, i64** %.pre-phi7.reg2mem store i64 %.pre, i64* %.reg2mem br label LBL_6 LBL_5: %10 = ptrtoint i64* %arg1 to i64 %11 = trunc i64 %arg4 to i32 %12 = add i64 %0, 16 %13 = inttoptr i64 %12 to i32* store i32 %11, i32* %13, align 4 %14 = trunc i64 %arg5 to i32 %15 = add i64 %0, 20 %16 = inttoptr i64 %15 to i32* store i32 %14, i32* %16, align 4 %17 = add i64 %0, 24 %18 = call i64 @FUNC(i64 %17, i64 %10) store i64 0, i64* %storemerge.reg2mem br label LBL_8 LBL_6: %.reload = load i64, i64* %.reg2mem %.pre-phi7.reload = load i64*, i64** %.pre-phi7.reg2mem %19 = call i64 @FUNC(i64 %.reload) %20 = load i64, i64* %.pre-phi7.reload, align 8 %21 = call i64 @FUNC(i64 %20) br label LBL_7 LBL_7: %22 = call i64 @FUNC(i64 %0) store i64 4294967284, i64* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 7, 2, 3, 4, 5, 0, 6, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @kfree, { 2, 1, 0 } uselistorder i64 8, { 1, 0, 2, 3 } uselistorder i64 (i64, i64)* @kstrdup, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
qemu_rdma_close_665
qemu_rdma_close
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i32 @puts(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0)) %1 = call i64 @FUNC(i64 ptrtoint ([26 x i8]* @gv_0 to i64)) %2 = call i64 @FUNC(i64 ptrtoint ([26 x i8]* @gv_0 to i64)) %3 = call i64 @FUNC(i64 %arg1) ret i64 0 uselistorder i64 (i64)* @g_free, { 1, 0 } uselistorder i64 ptrtoint ([26 x i8]* @gv_0 to i64), { 1, 0 } uselistorder [26 x i8]* @gv_0, { 1, 0 } }
0
BinRealVul
ok_csv_circular_buffer_expand_6346
ok_csv_circular_buffer_expand
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %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 = mul i64 %3, 2 %5 = trunc i64 %4 to i32 %6 = call i64* @malloc(i32 %5) %7 = icmp eq i64* %6, null %8 = icmp eq i1 %7, false store i64 0, i64* %storemerge.reg2mem br i1 %8, label LBL_1, label LBL_2 LBL_1: %9 = ptrtoint i64* %6 to i64 %10 = call i64 @FUNC(i64 %0) %11 = add i64 %0, 16 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = sub i64 %13, %10 %15 = add i64 %0, 24 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = add i64 %17, %0 %19 = inttoptr i64 %18 to i64* %20 = trunc i64 %10 to i32 %21 = call i64* @memcpy(i64* %6, i64* %19, i32 %20) %22 = add i64 %10, %9 %23 = inttoptr i64 %22 to i64* %24 = trunc i64 %14 to i32 %25 = call i64* @memcpy(i64* %23, i64* %6, i32 %24) call void @free(i64* %23) store i64 %9, i64* %arg1, align 8 store i64 %4, i64* %2, align 8 store i64 0, i64* %16, align 8 store i64 1, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %9, { 1, 0 } uselistorder i64* %6, { 0, 1, 3, 2 } uselistorder i64 %4, { 1, 0 } uselistorder i64 %0, { 0, 3, 2, 1, 4 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
rmap_get_first_8511
rmap_get_first
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64 %arg1, 0 %1 = icmp eq i1 %0, false store i64 0, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_4 LBL_1: %2 = urem i64 %arg1, 2 %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_3, label LBL_2 LBL_2: store i64 0, i64* %arg2, align 8 store i64 %arg1, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %5 = ptrtoint i64* %arg2 to i64 %6 = and i64 %arg1, -2 store i64 %6, i64* %arg2, align 8 %7 = add i64 %5, 8 %8 = inttoptr i64 %7 to i32* store i32 0, i32* %8, align 4 %9 = load i64, i64* %arg2, align 8 store i64 %9, 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* %arg2, { 0, 2, 3, 1 } uselistorder i64 %arg1, { 2, 0, 1, 3 } uselistorder label LBL_4, { 1, 2, 0 } }
0
BinRealVul
calloc_12871
calloc
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = mul i64 %arg2, %arg1 %1 = call i64 @FUNC(i64 %0) ret i64 %1 }
1
BinRealVul
gif_put_bits_rev_3668
gif_put_bits_rev
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = trunc i64 %arg2 to i32 %sext = mul i64 %arg2, 4294967296 %3 = ashr exact i64 %sext, 32 %sext3 = mul i64 %arg3, 4294967296 %4 = ashr exact i64 %sext3, 32 %5 = icmp eq i32 %2, 32 br i1 %5, label LBL_0.LBL_4_crit_edge, label LBL_2 LBL_1: %.pre = trunc i64 %4 to i32 store i32 %.pre, i32* %.pre-phi.reg2mem br label LBL_4 LBL_2: %6 = trunc i64 %3 to i32 %7 = urem i32 %6, 32 %8 = trunc i64 %4 to i32 %.highbits = lshr i32 %8, %7 %9 = icmp eq i32 %.highbits, 0 store i32 %8, i32* %.pre-phi.reg2mem br i1 %9, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 15, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0)) store i32 %8, i32* %.pre-phi.reg2mem br label LBL_4 LBL_4: %10 = ptrtoint i64* %arg1 to i64 %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem %sext10 = mul i64 %1, 4294967296 %11 = ashr exact i64 %sext10, 32 %12 = add i64 %10, 4 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = sub i32 32, %14 %16 = zext i32 %14 to i64 %17 = icmp slt i64 %3, %16 %18 = and i64 %4, 4294967295 %19 = urem i32 %15, 32 %20 = icmp eq i32 %19, 0 %21 = shl i32 %.pre-phi.reload, %19 %22 = zext i32 %21 to i64 %storemerge5 = select i1 %20, i64 %18, i64 %22 %23 = or i64 %storemerge5, %11 br i1 %17, label LBL_5, label LBL_6 LBL_5: %sext6 = mul i64 %23, 4294967296 %24 = ashr exact i64 %sext6, 32 %25 = trunc i64 %3 to i32 %26 = add i32 %15, %25 store i64 %24, i64* %sv_1.0.reg2mem store i32 %26, i32* %sv_0.0.reg2mem br label LBL_10 LBL_6: %27 = trunc i64 %23 to i32 %28 = add i64 %10, 8 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = trunc i64 %23 to i8 %32 = inttoptr i64 %30 to i8* store i8 %31, i8* %32, align 1 %33 = udiv i32 %27, 256 %34 = load i64, i64* %29, align 8 %35 = add i64 %34, 1 %36 = trunc i32 %33 to i8 %37 = inttoptr i64 %35 to i8* store i8 %36, i8* %37, align 1 %38 = udiv i32 %27, 65536 %39 = load i64, i64* %29, align 8 %40 = add i64 %39, 2 %41 = trunc i32 %38 to i8 %42 = inttoptr i64 %40 to i8* store i8 %41, i8* %42, align 1 %43 = udiv i32 %27, 16777216 %44 = load i64, i64* %29, align 8 %45 = add i64 %44, 3 %46 = trunc i32 %43 to i8 %47 = inttoptr i64 %45 to i8* store i8 %46, i8* %47, align 1 %48 = load i64, i64* %29, align 8 %49 = add i64 %48, 4 store i64 %49, i64* %29, align 8 %50 = add i64 %10, 16 %51 = inttoptr i64 %50 to i64* %52 = load i64, i64* %51, align 8 %53 = icmp ult i64 %49, %52 br i1 %53, label LBL_8, label LBL_7 LBL_7: call void @abort() unreachable LBL_8: %54 = trunc i64 %3 to i32 %55 = add i32 %54, -32 %56 = add i32 %55, %15 %57 = icmp eq i32 %56, 0 %58 = icmp eq i1 %57, false store i64 0, i64* %sv_1.0.reg2mem store i32 %56, i32* %sv_0.0.reg2mem br i1 %58, label LBL_9, label LBL_10 LBL_9: %59 = urem i32 %14, 32 %60 = icmp eq i32 %59, 0 %61 = lshr i32 %.pre-phi.reload, %59 %62 = zext i32 %61 to i64 %storemerge8 = select i1 %60, i64 %4, i64 %62 %sext9 = mul i64 %storemerge8, 4294967296 %63 = ashr exact i64 %sext9, 32 store i64 %63, i64* %sv_1.0.reg2mem store i32 %56, i32* %sv_0.0.reg2mem br label LBL_10 LBL_10: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %64 = trunc i64 %sv_1.0.reload to i32 %65 = bitcast i64* %arg1 to i32* store i32 %64, i32* %65, align 4 %66 = sub i32 32, %sv_0.0.reload store i32 %66, i32* %13, align 4 ret i64 %10 uselistorder i32 %59, { 1, 0 } uselistorder i32 %56, { 1, 0, 2 } uselistorder i64* %29, { 1, 0, 2, 3, 4, 5 } uselistorder i64 %23, { 2, 1, 0 } uselistorder i32 %19, { 1, 0 } uselistorder i32 %15, { 2, 1, 0 } uselistorder i64 %10, { 2, 0, 1, 3 } uselistorder i32 %8, { 1, 0, 2 } uselistorder i64 %4, { 0, 2, 3, 1 } uselistorder i64 %3, { 2, 3, 0, 1 } uselistorder i32* %.pre-phi.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1, 3 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1, 3 } uselistorder i32 0, { 1, 2, 3, 0 } uselistorder i32 32, { 4, 0, 1, 5, 2, 3 } uselistorder i64 32, { 1, 2, 0, 3, 4 } uselistorder label LBL_10, { 1, 0, 2 } uselistorder label LBL_4, { 1, 2, 0 } }
0
BinRealVul
nci_unregister_device_12509
nci_unregister_device
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge12.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg1) %1 = call i64 @FUNC(i64 %arg1) %2 = add i64 %arg1, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i64 %4) %6 = add i64 %arg1, 16 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %8) %10 = add i64 %arg1, 32 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = icmp eq i64 %12, %10 %14 = icmp eq i1 %13, false store i64 %12, i64* %storemerge12.reg2mem br i1 %14, label LBL_1, label LBL_2 LBL_1: %storemerge12.reload = load i64, i64* %storemerge12.reg2mem %storemerge.in = inttoptr i64 %storemerge12.reload to i64* %storemerge = load i64, i64* %storemerge.in, align 8 %15 = call i64 @FUNC(i64 %storemerge12.reload) %16 = icmp eq i64 %storemerge, %10 %17 = icmp eq i1 %16, false store i64 %storemerge, i64* %storemerge12.reg2mem br i1 %17, label LBL_1, label LBL_2 LBL_2: %18 = add i64 %arg1, 24 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = call i64 @FUNC(i64 %20) ret i64 %21 uselistorder i64 %10, { 1, 0, 2 } uselistorder i64* %storemerge12.reg2mem, { 2, 0, 1 } uselistorder i64 (i64)* @destroy_workqueue, { 2, 1, 0 } uselistorder i64 %arg1, { 0, 2, 1, 3, 5, 4 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
zcache_new_pool_4813
zcache_new_pool
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.010.reg2mem = alloca i32 %sv_0.013.reg2mem = alloca i32 %storemerge516.reg2mem = alloca i32 %sv_1.08.reg2mem = alloca i64 %rdx.09.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = trunc i64 %arg1 to i16 %sext4 = mul i64 %arg1, 281474976710656 %5 = ashr exact i64 %sext4, 48 %6 = icmp eq i16 %4, 0 %7 = icmp eq i1 %6, false store i64 ptrtoint (i64* @gv_0 to i64), i64* %sv_1.08.reg2mem br i1 %7, label LBL_1, label LBL_3 LBL_1: %8 = trunc i64 %5 to i16 %9 = icmp ult i16 %8, 10 store i32 -1, i32* %sv_0.010.reg2mem br i1 %9, label LBL_2, label LBL_11 LBL_2: %10 = urem i64 %5, 65536 %11 = mul nuw nsw i64 %10, 48 %12 = add i64 %11, ptrtoint (i64* @gv_1 to i64) %13 = icmp eq i64 %12, 0 store i64 %10, i64* %rdx.09.reg2mem store i64 %12, i64* %sv_1.08.reg2mem store i32 -1, i32* %sv_0.010.reg2mem br i1 %13, label LBL_11, label LBL_3 LBL_3: %sv_1.08.reload = load i64, i64* %sv_1.08.reg2mem %14 = call i64 @FUNC(i64 %sv_1.08.reload) %15 = call i64 @FUNC(i64 24, i64 0) %16 = icmp eq i64 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_4, label LBL_5 LBL_4: %18 = and i64 %arg2, 4294967295 %19 = inttoptr i64 %15 to i32* %20 = add i64 %sv_1.08.reload, 8 store i32 0, i32* %storemerge516.reg2mem br label LBL_6 LBL_5: %rdx.09.reload = load i64, i64* %rdx.09.reg2mem %21 = call i64 @FUNC(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_2, i64 0, i64 0), i64 0, i64 %rdx.09.reload, i64 %3, i64 %2, i64 %1) store i32 -1, i32* %sv_0.013.reg2mem br label LBL_10 LBL_6: %storemerge516.reload = load i32, i32* %storemerge516.reg2mem %22 = sext i32 %storemerge516.reload to i64 %23 = mul i64 %22, 8 %24 = add i64 %20, %23 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = icmp eq i64 %26, 0 br i1 %27, label LBL_8, label LBL_7 LBL_7: %28 = add nuw i32 %storemerge516.reload, 1 %29 = icmp ult i32 %28, 5 store i32 %28, i32* %storemerge516.reg2mem br i1 %29, label LBL_6, label LBL_9 LBL_8: %30 = add i64 %15, 16 %31 = call i64 @FUNC(i64 %30, i64 0) %32 = add i64 %15, 8 %33 = inttoptr i64 %32 to i64* store i64 %sv_1.08.reload, i64* %33, align 8 store i32 %storemerge516.reload, i32* %19, align 4 %34 = call i64 @FUNC(i64 %15, i64 %18) store i64 %15, i64* %25, align 8 %35 = urem i64 %5, 65536 %36 = urem i64 %arg2, 2 %37 = icmp eq i64 %36, 0 %. = select i1 %37, i64 ptrtoint ([10 x i8]* @gv_3 to i64), i64 ptrtoint ([11 x i8]* @gv_4 to i64) %38 = zext i32 %storemerge516.reload to i64 %39 = call i64 @FUNC(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_5, i64 0, i64 0), i64 %., i64 %38, i64 %35, i64 %2, i64 %1) store i32 %storemerge516.reload, i32* %sv_0.013.reg2mem br label LBL_10 LBL_9: %40 = call i64 @FUNC(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_6, i64 0, i64 0), i64 0, i64 %22, i64 %3, i64 %2, i64 %1) %41 = call i64 @FUNC(i64 %15) store i32 -1, i32* %sv_0.013.reg2mem br label LBL_10 LBL_10: %sv_0.013.reload = load i32, i32* %sv_0.013.reg2mem %42 = call i64 @FUNC(i64 %sv_1.08.reload) store i32 %sv_0.013.reload, i32* %sv_0.010.reg2mem br label LBL_11 LBL_11: %sv_0.010.reload = load i32, i32* %sv_0.010.reg2mem %43 = zext i32 %sv_0.010.reload to i64 ret i64 %43 uselistorder i64 %22, { 1, 0 } uselistorder i32 %storemerge516.reload, { 0, 4, 3, 1, 2 } uselistorder i64 %15, { 4, 0, 1, 2, 3, 5, 6 } uselistorder i64 %sv_1.08.reload, { 3, 2, 1, 0 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 1, 2, 0 } uselistorder i64 %1, { 1, 2, 0 } uselistorder i64* %sv_1.08.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge516.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.013.reg2mem, { 0, 2, 1, 3 } uselistorder i32* %sv_0.010.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @pr_info, { 1, 2, 0 } uselistorder i64 8, { 1, 0, 2 } uselistorder i32 -1, { 2, 3, 1, 0, 4 } uselistorder i32 1, { 13, 10, 9, 8, 7, 6, 5, 4, 12, 3, 0, 2, 11, 1 } uselistorder label LBL_11, { 2, 1, 0 } uselistorder label LBL_10, { 1, 0, 2 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
pwc_dec23_decompress_4260
pwc_dec23_decompress
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.lcssa.in.reg2mem = alloca i32 %storemerge1717.reg2mem = alloca i64 %sv_0.0618.reg2mem = alloca i64 %sv_1.0519.reg2mem = alloca i64 %sv_2.1320.reg2mem = alloca i64 %.reg2mem24 = alloca i32 %.lcssa2.reg2mem = alloca i32 %sv_2.08.reg2mem = alloca i64 %sv_3.09.reg2mem = alloca i32 %storemerge10.reg2mem = alloca i64 %.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_4 = alloca i64, align 8 %3 = add i64 %2, 4 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = sdiv i32 %5, 8 %7 = add i64 %2, 8 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = mul i32 %9, 4 %11 = urem i32 %arg4, 2 %12 = icmp eq i32 %11, 0 %13 = trunc i64 %1 to i32 br i1 %12, label LBL_5, label LBL_1 LBL_1: %.off = add i32 %5, 7 %14 = icmp ult i32 %.off, 15 %15 = icmp eq i1 %14, false store i32 %9, i32* %.lcssa2.reg2mem br i1 %15, label LBL_2, label LBL_4 LBL_2: %16 = add i64 %2, 16 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = sext i32 %18 to i64 %20 = add i64 %19, %arg3 %21 = add i64 %2, 20 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = mul i32 %23, %9 %25 = sext i32 %24 to i64 %26 = add i64 %20, %25 %27 = add i64 %2, 32 %28 = inttoptr i64 %27 to i64* %29 = add i64 %2, 24 %30 = inttoptr i64 %29 to i32* %31 = sext i32 %10 to i64 store i32 %9, i32* %.reg2mem store i64 %26, i64* %storemerge10.reg2mem store i32 %6, i32* %sv_3.09.reg2mem store i64 %arg2, i64* %sv_2.08.reg2mem br label LBL_3 LBL_3: %sv_2.08.reload = load i64, i64* %sv_2.08.reg2mem %sv_3.09.reload = load i32, i32* %sv_3.09.reg2mem %storemerge10.reload = load i64, i64* %storemerge10.reg2mem %.reload = load i32, i32* %.reg2mem %32 = add i32 %sv_3.09.reload, -1 %33 = load i64, i64* %28, align 8 %34 = zext i32 %.reload to i64 %35 = call i64 @FUNC(i64 %33, i64 %sv_2.08.reload, i64 %storemerge10.reload, i32 %13, i64 %34) %36 = load i32, i32* %30, align 4 %37 = sext i32 %36 to i64 %38 = add i64 %sv_2.08.reload, %37 %39 = add i64 %storemerge10.reload, %31 %40 = icmp eq i32 %32, 0 %41 = icmp eq i1 %40, false %42 = load i32, i32* %8, align 4 store i32 %42, i32* %.reg2mem store i64 %39, i64* %storemerge10.reg2mem store i32 %32, i32* %sv_3.09.reg2mem store i64 %38, i64* %sv_2.08.reg2mem store i32 %42, i32* %.lcssa2.reg2mem br i1 %41, label LBL_3, label LBL_4 LBL_4: %.lcssa2.reload = load i32, i32* %.lcssa2.reg2mem %43 = add i64 %2, 12 %44 = inttoptr i64 %43 to i32* %45 = load i32, i32* %44, align 4 %46 = mul i32 %45, %.lcssa2.reload %47 = inttoptr i64 %arg3 to i64* %48 = call i64* @memset(i64* %47, i32 0, i32 %46) %49 = ptrtoint i64* %48 to i64 store i64 %49, i64* %rax.0.reg2mem br label LBL_9 LBL_5: %50 = add i64 %2, 12 %51 = inttoptr i64 %50 to i32* %52 = load i32, i32* %51, align 4 %53 = add i64 %2, 20 %54 = inttoptr i64 %53 to i32* %55 = load i32, i32* %54, align 4 %56 = add i64 %2, 16 %57 = inttoptr i64 %56 to i32* %58 = load i32, i32* %57, align 4 %.off23 = add i32 %5, 7 %59 = icmp ult i32 %.off23, 15 %60 = icmp eq i1 %59, false store i32 %6, i32* %.lcssa.in.reg2mem br i1 %60, label LBL_6, label LBL_8 LBL_6: %61 = ptrtoint i64* %sv_4 to i64 %62 = mul i32 %52, %9 %63 = mul i32 %55, %9 %64 = icmp slt i32 %58, 0 %65 = zext i1 %64 to i32 %66 = add i32 %58, %65 %67 = ashr i32 %66, 1 %68 = sdiv i32 %63, 8 %69 = add nsw i32 %67, %68 %70 = sext i32 %69 to i64 %71 = zext i32 %62 to i64 %72 = add i64 %71, %arg3 %73 = udiv i32 %62, 4 %74 = zext i32 %73 to i64 %75 = add i64 %72, %70 %76 = add i64 %75, %74 %77 = sext i32 %58 to i64 %78 = add i64 %77, %arg3 %79 = sext i32 %63 to i64 %80 = add i64 %78, %79 %81 = bitcast i64* %rdi to i32* %82 = add i64 %2, 32 %83 = inttoptr i64 %82 to i64* %84 = add i64 %61, -16 %85 = inttoptr i64 %84 to i64* %86 = add i64 %2, 24 %87 = inttoptr i64 %86 to i32* %88 = sext i32 %10 to i64 %89 = add nsw i32 %6, -1 %90 = zext i32 %9 to i64 %91 = load i64, i64* %83, align 8 store i64 %90, i64* %85, align 8 %92 = call i64 @FUNC(i64 %91, i64 %arg2, i64 %80, i64 %75, i64 %76, i32 %13) %93 = icmp eq i32 %89, 0 %94 = icmp eq i1 %93, false store i32 %89, i32* %.reg2mem24 store i64 %arg2, i64* %sv_2.1320.reg2mem store i64 %80, i64* %sv_1.0519.reg2mem store i64 %75, i64* %sv_0.0618.reg2mem store i64 %76, i64* %storemerge1717.reg2mem store i32 %89, i32* %.lcssa.in.reg2mem br i1 %94, label LBL_7, label LBL_8 LBL_7: %storemerge1717.reload = load i64, i64* %storemerge1717.reg2mem %sv_0.0618.reload = load i64, i64* %sv_0.0618.reg2mem %sv_1.0519.reload = load i64, i64* %sv_1.0519.reg2mem %sv_2.1320.reload = load i64, i64* %sv_2.1320.reg2mem %.reload25 = load i32, i32* %.reg2mem24 %.in = load i32, i32* %8, align 4 %95 = sext i32 %.in to i64 %96 = add i64 %storemerge1717.reload, %95 %97 = add i64 %sv_0.0618.reload, %95 %98 = add i64 %sv_1.0519.reload, %88 %99 = load i32, i32* %87, align 4 %100 = sext i32 %99 to i64 %101 = add i64 %sv_2.1320.reload, %100 %.pre = load i32, i32* %81, align 8 %102 = add i32 %.reload25, -1 %103 = zext i32 %.in to i64 %104 = load i64, i64* %83, align 8 store i64 %103, i64* %85, align 8 %105 = call i64 @FUNC(i64 %104, i64 %101, i64 %98, i64 %97, i64 %96, i32 %.pre) %106 = icmp eq i32 %102, 0 %107 = icmp eq i1 %106, false store i32 %102, i32* %.reg2mem24 store i64 %101, i64* %sv_2.1320.reg2mem store i64 %98, i64* %sv_1.0519.reg2mem store i64 %97, i64* %sv_0.0618.reg2mem store i64 %96, i64* %storemerge1717.reg2mem store i32 %102, i32* %.lcssa.in.reg2mem br i1 %107, label LBL_7, label LBL_8 LBL_8: %.lcssa.in.reload = load i32, i32* %.lcssa.in.reg2mem %.lcssa = zext i32 %.lcssa.in.reload to i64 store i64 %.lcssa, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %.in, { 1, 0 } uselistorder i64* %85, { 1, 0 } uselistorder i64* %83, { 1, 0 } uselistorder i32 %63, { 1, 0 } uselistorder i32 %58, { 2, 0, 1 } uselistorder i64 %storemerge10.reload, { 1, 0 } uselistorder i64 %sv_2.08.reload, { 1, 0 } uselistorder i32 %9, { 3, 4, 5, 1, 6, 0, 2 } uselistorder i32 %6, { 2, 0, 1 } uselistorder i64 %2, { 3, 4, 8, 7, 5, 2, 0, 1, 6, 9, 10, 11 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge10.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_3.09.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.08.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem24, { 2, 0, 1 } uselistorder i64* %sv_2.1320.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.0519.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.0618.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge1717.reg2mem, { 2, 0, 1 } uselistorder i64 (i64, i64, i64, i64, i64, i32)* @DecompressBand23, { 1, 0 } uselistorder i32 -1, { 1, 0, 2 } uselistorder i1 false, { 3, 0, 2, 4, 1 } uselistorder i32 4, { 1, 0 } uselistorder i64 %arg3, { 0, 1, 3, 2 } uselistorder i64 %arg2, { 0, 2, 1 } uselistorder label LBL_8, { 1, 0, 2 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
local_open_5058
local_open
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 %3, i64 %2, i32 %arg3, i64 0) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, -1 %7 = icmp eq i1 %6, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %7, label LBL_1, label LBL_2 LBL_1: %8 = bitcast i64* %arg4 to i32* store i32 %5, i32* %8, align 4 %9 = and i64 %1, 4294967295 store i64 %9, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
ofputil_parse_key_value_10413
ofputil_parse_key_value
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i8* %0 = ptrtoint i64* %arg1 to i64 %1 = bitcast i64* %arg1 to i8* %2 = call i32 @strspn(i8* %1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0)) %3 = sext i32 %2 to i64 %4 = add i64 %3, %0 store i64 %4, i64* %arg1, align 8 %5 = trunc i64 %0 to i8 %6 = icmp eq i8 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_2, label LBL_1 LBL_1: store i64 0, i64* %arg3, align 8 store i64 %4, i64* %arg2, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_2: %8 = call i32 @strcspn(i8* %1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0)) %9 = sext i32 %8 to i64 %10 = add i64 %9, %0 %11 = inttoptr i64 %10 to i8* %12 = load i8, i8* %11, align 1 store i8 0, i8* %11, align 1 %13 = icmp eq i8 %12, 0 %14 = icmp eq i1 %13, false %15 = zext i1 %14 to i64 %16 = add i64 %10, %15 store i64 %16, i64* %arg1, align 8 %17 = icmp ne i8 %12, 58 %18 = icmp eq i8 %12, 61 %19 = icmp eq i1 %18, false %or.cond = icmp eq i1 %17, %19 store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i8** %storemerge.reg2mem br i1 %or.cond, label LBL_3, label LBL_5 LBL_3: %20 = icmp eq i8 %12, 40 %21 = icmp eq i1 %20, false store i8* bitcast (i64* @gv_2 to i8*), i8** %storemerge.reg2mem br i1 %21, label LBL_4, label LBL_5 LBL_4: store i64 %0, i64* %arg2, align 8 store i64 %10, i64* %arg3, align 8 store i64 1, i64* %rax.0.reg2mem br label LBL_6 LBL_5: %storemerge.reload = load i8*, i8** %storemerge.reg2mem %22 = ptrtoint i8* %storemerge.reload to i64 %23 = call i64 @FUNC(i64 %0, i64 %22) %24 = add i64 %23, %0 %25 = inttoptr i64 %24 to i8* %26 = load i8, i8* %25, align 1 store i8 0, i8* %25, align 1 %27 = icmp eq i8 %26, 0 %28 = icmp eq i1 %27, false %29 = zext i1 %28 to i64 %30 = add i64 %24, %29 store i64 %30, i64* %arg1, align 8 store i64 %0, i64* %arg2, align 8 store i64 %0, i64* %arg3, align 8 store i64 1, 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 i8 %12, { 1, 0, 2, 3 } uselistorder i64 %10, { 1, 0, 2 } uselistorder i64 %0, { 4, 5, 0, 3, 6, 1, 7, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 1, { 1, 0 } uselistorder i64* %arg3, { 1, 0, 2 } uselistorder i64* %arg2, { 1, 0, 2 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
vnc_update_15779
vnc_update
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sext2 = add i64 %arg5, %arg3 %3 = add i64 %2, 4 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = trunc i64 %arg3 to i32 %7 = sub i32 %6, %5 %8 = xor i32 %5, %6 %9 = xor i32 %7, %6 %10 = and i32 %9, %8 %11 = icmp slt i32 %10, 0 %12 = icmp eq i32 %7, 0 %13 = icmp slt i32 %7, 0 %14 = icmp ne i1 %13, %11 %15 = or i1 %12, %14 %16 = select i1 %15, i32 %6, i32 %5 %17 = trunc i64 %sext2 to i32 %18 = sub i32 %17, %5 %19 = xor i32 %5, %17 %20 = xor i32 %18, %17 %21 = and i32 %20, %19 %22 = icmp slt i32 %21, 0 %23 = icmp eq i32 %18, 0 %24 = icmp slt i32 %18, 0 %25 = icmp ne i1 %24, %22 %26 = or i1 %23, %25 %27 = select i1 %26, i32 %17, i32 %5 %28 = icmp slt i32 %16, %27 store i32 %16, i32* %sv_0.0.lcssa.reg2mem br i1 %28, label LBL_1, label LBL_6 LBL_1: %29 = trunc i64 %arg2 to i32 %30 = trunc i64 %arg4 to i32 %31 = ashr i32 %29, 31 %32 = udiv i32 %31, 268435456 %33 = add i32 %32, %29 %34 = urem i32 %33, 16 %35 = sub nsw i32 %32, %34 %36 = add i32 %35, %29 %37 = trunc i64 %1 to i32 %38 = sub i32 %36, %37 %39 = xor i32 %36, %37 %40 = xor i32 %38, %36 %41 = and i32 %40, %39 %42 = icmp slt i32 %41, 0 %43 = icmp eq i32 %38, 0 %44 = icmp slt i32 %38, 0 %45 = icmp ne i1 %44, %42 %46 = or i1 %43, %45 %47 = select i1 %46, i32 %36, i32 %37 %48 = sub i32 %30, %32 %49 = add i32 %48, %34 %50 = add i32 %49, %47 %51 = sub i32 %37, %50 %52 = xor i32 %50, %37 %53 = xor i32 %51, %37 %54 = and i32 %53, %52 %55 = icmp slt i32 %54, 0 %56 = icmp eq i32 %51, 0 %57 = icmp slt i32 %51, 0 %58 = icmp eq i1 %57, %55 %59 = icmp eq i1 %56, false %60 = icmp eq i1 %58, %59 %61 = select i1 %60, i32 %50, i32 %37 %62 = sub i32 %61, %47 %63 = icmp sgt i32 %62, 0 %64 = add i64 %2, 8 %65 = inttoptr i64 %64 to i64* %66 = sext i32 %16 to i64 %wide.trip.count = sext i32 %27 to i64 store i64 %66, i64* %indvars.iv.reg2mem br label LBL_4 LBL_2: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %67 = add i32 %storemerge3.reload, %47 %68 = sdiv i32 %67, 32768 %69 = load i64, i64* %65, align 8 %70 = add i64 %69, %77 %71 = inttoptr i64 %70 to i64* %72 = load i64, i64* %71, align 8 %73 = zext i32 %68 to i64 %74 = call i64 @FUNC(i64 %72, i64 %73) %75 = add i32 %storemerge3.reload, 16 %76 = icmp slt i32 %75, %62 store i32 %75, i32* %storemerge3.reg2mem br i1 %76, label LBL_2, label LBL_3 LBL_3: %indvars.iv.next = add 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 i32 %27, i32* %sv_0.0.lcssa.reg2mem br i1 %exitcond, label LBL_6, label LBL_4 LBL_4: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem br i1 %63, label LBL_2.lr.ph, label LBL_3 LBL_5: %77 = mul i64 %indvars.iv.reload, 8 store i32 0, i32* %storemerge3.reg2mem br label LBL_2 LBL_6: %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %78 = zext i32 %sv_0.0.lcssa.reload to i64 ret i64 %78 uselistorder i64 %indvars.iv.reload, { 1, 0 } uselistorder i32 %62, { 1, 0 } uselistorder i32 %51, { 1, 2, 0 } uselistorder i32 %50, { 1, 0, 2 } uselistorder i32 %47, { 0, 2, 1 } uselistorder i32 %38, { 1, 2, 0 } uselistorder i32 %37, { 5, 1, 2, 6, 4, 0, 3 } uselistorder i32 %36, { 2, 1, 0, 3 } uselistorder i32 %34, { 1, 0 } uselistorder i32 %32, { 2, 0, 1 } uselistorder i32 %18, { 1, 2, 0 } uselistorder i32 %17, { 2, 0, 1, 3 } uselistorder i32 %16, { 1, 0, 2 } uselistorder i32 %7, { 1, 2, 0 } uselistorder i32 %6, { 2, 0, 1, 3 } uselistorder i32 %5, { 3, 0, 2, 4, 1, 5 } uselistorder i32* %storemerge3.reg2mem, { 2, 1, 0 } uselistorder i32 16, { 1, 0 } uselistorder i32 31, { 1, 0 } uselistorder i32 0, { 0, 1, 5, 6, 7, 11, 12, 13, 2, 3, 4, 8, 9, 10, 14 } uselistorder i64 4, { 1, 0 } uselistorder i64 %arg3, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
blk_dequeue_request_9797
blk_dequeue_request
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = call i64 @FUNC(i64 %1) %3 = and i64 %2, 4294967295 %4 = call i64 @FUNC(i64 %3) %5 = call i64 @FUNC(i64 %0) %6 = and i64 %5, 4294967295 %7 = call i64 @FUNC(i64 %6) %8 = call i64 @FUNC(i64 %1) %9 = call i64 @FUNC(i64 %0) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 store i64 %9, i64* %rax.0.reg2mem br i1 %11, label LBL_2, label LBL_1 LBL_1: %12 = call i64 @FUNC(i64 %0) %sext = mul i64 %12, 4294967296 %13 = ashr exact i64 %sext, 30 %14 = add i64 %13, %0 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = add i32 %16, 1 %18 = ashr exact i64 %sext, 32 store i32 %17, i32* %15, align 4 store i64 %18, 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 %sext, { 1, 0 } uselistorder i64 (i64)* @BUG_ON, { 1, 0 } }
0
BinRealVul
trans_tx_rate_flags_ieee2hwsim_8873
trans_tx_rate_flags_ieee2hwsim
define i64 @FUNC(i16* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = urem i64 %1, 2 %3 = icmp ne i64 %2, 0 %spec.select = zext i1 %3 to i64 %4 = and i64 %1, 2046 %5 = or i64 %4, %spec.select ret i64 %5 }
0
BinRealVul
gup_huge_pmd_11670
gup_huge_pmd
define i64 @FUNC(i64 %arg1, i64* %arg2, i64 %arg3, i64 %arg4, i32 %arg5, i64* %arg6, i32* %arg7) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.12.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %0 = zext i32 %arg5 to i64 %1 = call i64 @FUNC(i64 %arg1, i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_11 LBL_1: %5 = ptrtoint i64* %arg6 to i64 %6 = call i64 @FUNC(i64 %arg1) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = ptrtoint i64* %arg2 to i64 %10 = ptrtoint i32* %arg7 to i64 %11 = call i64 @FUNC(i64 %arg1, i64 %9, i64 %arg3, i64 %arg4, i64 %5, i64 %10) store i64 %11, i64* %rax.0.reg2mem br label LBL_11 LBL_3: %12 = call i64 @FUNC(i64 %arg1) %.pre = load i32, i32* %arg7, align 4 store i32 %.pre, i32* %.reg2mem store i64 %arg3, i64* %sv_2.0.reg2mem store i32 0, i32* %sv_0.0.reg2mem store i64 %12, i64* %sv_1.0.reg2mem br label LBL_4 LBL_4: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %.reload = load i32, i32* %.reg2mem %13 = sext i32 %.reload to i64 %14 = mul i64 %13, 8 %15 = add i64 %14, %5 %16 = inttoptr i64 %15 to i64* store i64 %sv_1.0.reload, i64* %16, align 8 %17 = load i32, i32* %arg7, align 4 %18 = add i32 %17, 1 store i32 %18, i32* %arg7, align 4 %19 = add i64 %sv_1.0.reload, 4 %20 = add i32 %sv_0.0.reload, 1 %21 = add i64 %sv_2.0.reload, 4096 %22 = icmp eq i64 %21, %arg4 %23 = icmp eq i1 %22, false store i32 %18, i32* %.reg2mem store i64 %21, i64* %sv_2.0.reg2mem store i32 %20, i32* %sv_0.0.reg2mem store i64 %19, i64* %sv_1.0.reg2mem br i1 %23, label LBL_4, label LBL_5 LBL_5: %24 = call i64 @FUNC(i64 %arg1) %25 = call i64 @FUNC(i64 %24) %26 = zext i32 %20 to i64 %27 = call i64 @FUNC(i64 %25, i64 %26) %28 = trunc i64 %27 to i32 %29 = icmp eq i32 %28, 0 %30 = icmp eq i1 %29, false br i1 %30, label LBL_7, label LBL_6 LBL_6: %31 = load i32, i32* %arg7, align 4 %32 = sub i32 %31, %20 store i32 %32, i32* %arg7, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_11 LBL_7: %33 = call i64 @FUNC(i64 %arg1) %34 = call i64 @FUNC(i64 %26) %35 = icmp eq i64 %33, %34 %36 = icmp eq i1 %35, false %37 = zext i1 %36 to i64 %38 = call i64 @FUNC(i64 %37) %39 = trunc i64 %38 to i32 %40 = icmp eq i32 %39, 0 br i1 %40, label LBL_10, label LBL_8 LBL_8: %41 = load i32, i32* %arg7, align 4 %42 = sub i32 %41, %20 store i32 %42, i32* %arg7, align 4 %43 = icmp eq i32 %20, 0 %44 = icmp eq i1 %43, false store i32 %20, i32* %sv_0.12.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %44, label LBL_9, label LBL_11 LBL_9: %sv_0.12.reload = load i32, i32* %sv_0.12.reg2mem %45 = add i32 %sv_0.12.reload, -1 %46 = call i64 @FUNC(i64 %25) %47 = icmp eq i32 %45, 0 %48 = icmp eq i1 %47, false store i32 %45, i32* %sv_0.12.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %48, label LBL_9, label LBL_11 LBL_10: %49 = call i64 @FUNC(i64 %25) store i64 1, 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 %25, { 1, 0, 2 } uselistorder i32 %20, { 0, 5, 3, 2, 4, 1 } uselistorder i64 %sv_1.0.reload, { 1, 0 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.12.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 2, 5, 4, 3 } uselistorder i64 (i64)* @pmd_val, { 1, 0 } uselistorder i64 (i64)* @pmd_page, { 1, 0 } uselistorder i1 false, { 1, 0, 2, 3, 4, 5 } uselistorder i32* %arg7, { 5, 4, 3, 2, 7, 6, 0, 1 } uselistorder i64 %arg4, { 1, 0 } uselistorder i64 %arg1, { 1, 2, 3, 0, 4, 5 } uselistorder label LBL_11, { 3, 0, 1, 4, 5, 2 } uselistorder label LBL_9, { 1, 0 } }
1
BinRealVul
avcodec_flush_buffers_10384
avcodec_flush_buffers
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = bitcast i64* %arg1 to i32* store i32 0, i32* %1, align 4 %2 = add i64 %0, 4 %3 = inttoptr i64 %2 to i32* store i32 0, i32* %3, align 4 %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = call i64 @FUNC(i64 %6) %8 = add i64 %6, 16 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = call i64 @FUNC(i64 %10) %12 = add i64 %10, 24 %13 = inttoptr i64 %12 to i32* store i32 0, i32* %13, align 4 %14 = inttoptr i64 %4 to i32* %15 = load i32, i32* %14, align 4 %16 = urem i32 %15, 2 %17 = icmp eq i32 %16, 0 br i1 %17, label LBL_2, label LBL_1 LBL_1: %18 = call i64 @FUNC(i64 %0) store i64 %0, i64* %rdi.0.reg2mem br label LBL_3 LBL_2: %19 = add i64 %0, 16 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = icmp eq i64 %23, 0 %spec.select = select i1 %24, i64 %10, i64 %0 store i64 %spec.select, i64* %rdi.0.reg2mem br label LBL_3 LBL_3: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %25 = add i64 %0, 32 %26 = inttoptr i64 %25 to i64* store i64 -9223372036854775808, i64* %26, align 8 %27 = add i64 %0, 24 %28 = inttoptr i64 %27 to i64* store i64 -9223372036854775808, i64* %28, align 8 %29 = add i64 %0, 40 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = zext i32 %31 to i64 %33 = icmp eq i32 %31, 0 %34 = icmp eq i1 %33, false store i64 %32, i64* %rax.0.reg2mem br i1 %34, label LBL_5, label LBL_4 LBL_4: %35 = add i64 %rdi.0.reload, 32 %36 = inttoptr i64 %35 to i64* %37 = load i64, i64* %36, align 8 %38 = call i64 @FUNC(i64 %37) store i64 %38, 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 %0, { 2, 3, 4, 1, 5, 0, 6, 7, 8 } uselistorder i64 (i64)* @av_frame_unref, { 1, 0 } }
0
BinRealVul
read_uint32_14823
read_uint32
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %1 = bitcast i32* %sv_0 to i64* %2 = call i64 @FUNC(i64 %0, i64 %arg2, i64* nonnull %1, i64 4) %3 = icmp sgt i64 %2, 3 store i64 0, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_2 LBL_1: %4 = load i32, i32* %sv_0, align 4 %5 = zext i32 %4 to i64 %6 = call i64 @FUNC(i64 %5) %7 = and i64 %6, 4294967295 store i64 %7, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
readMovie_6922
readMovie
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %r8.3.reg2mem = alloca i64 %rsi.3.reg2mem = alloca i64 %rcx.4.reg2mem = alloca i64 %r8.2.reg2mem = alloca i64 %rsi.2.reg2mem = alloca i64 %rcx.3.reg2mem = alloca i64 %rsi.1.reg2mem = alloca i64 %rcx.2.reg2mem = alloca i64 %r8.1.reg2mem = alloca i64 %rcx.1.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %rcx.02.reg2mem = alloca i64 %rsi.04.reg2mem = alloca i64 %r8.06.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = call i64 @FUNC(i64 2) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_18, label LBL_1 LBL_1: %6 = inttoptr i64 %arg1 to %_IO_FILE* br label LBL_2 LBL_2: %rcx.02.reload = load i64, i64* %rcx.02.reg2mem %rsi.04.reload = load i64, i64* %rsi.04.reg2mem %r8.06.reload = load i64, i64* %r8.06.reg2mem %7 = call i64 @FUNC(i64 %arg1) %8 = trunc i64 %7 to i32 %9 = urem i32 %8, 64 %10 = icmp eq i32 %9, 63 %11 = icmp eq i1 %10, false store i32 %9, i32* %sv_0.0.reg2mem br i1 %11, label LBL_7, label LBL_3 LBL_3: %12 = call i64 @FUNC(i64 4) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false store i64 %rcx.02.reload, i64* %rcx.4.reg2mem store i64 %rsi.04.reload, i64* %rsi.3.reg2mem store i64 %r8.06.reload, i64* %r8.3.reg2mem br i1 %15, label LBL_18, label LBL_4 LBL_4: %16 = call i64 @FUNC(i64 %arg1) %17 = icmp ult i64 %16, 2147483648 br i1 %17, label LBL_6, label LBL_5 LBL_5: %sext = mul i64 %16, 4294967296 %18 = ashr exact i64 %sext, 32 %19 = call i64 @FUNC(i8* getelementptr inbounds ([101 x i8], [101 x i8]* @gv_0, i64 0, i64 0), i64 %18, i64 2147483647, i64 %rcx.02.reload, i64 %r8.06.reload, i64 %1) store i64 %rcx.02.reload, i64* %rcx.3.reg2mem store i64 %18, i64* %rsi.2.reg2mem store i64 %r8.06.reload, i64* %r8.2.reg2mem br label LBL_17 LBL_6: %20 = trunc i64 %16 to i32 store i32 %20, i32* %sv_0.0.reg2mem br label LBL_7 LBL_7: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %21 = load i32, i32* @gv_1, align 4 %22 = zext i32 %sv_0.0.reload to i64 %23 = call i64 @FUNC(i64 %22) %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, 0 %26 = icmp eq i1 %25, false store i64 %rcx.02.reload, i64* %rcx.4.reg2mem store i64 %rsi.04.reload, i64* %rsi.3.reg2mem store i64 %r8.06.reload, i64* %r8.3.reg2mem br i1 %26, label LBL_18, label LBL_8 LBL_8: %27 = udiv i32 %8, 64 %28 = urem i32 %27, 1024 %29 = add i32 %21, %sv_0.0.reload %30 = call i64 @FUNC(i64 %arg1, i64 %22, i32 %28) %31 = call i32 @ftell(%_IO_FILE* %6) %32 = icmp eq i32 %31, %29 br i1 %32, label LBL_8.LBL_11_crit_edge, label LBL_10 LBL_9: %.pre = zext i32 %28 to i64 store i64 %.pre, i64* %.pre-phi.reg2mem store i64 %22, i64* %rcx.1.reg2mem store i64 %r8.06.reload, i64* %r8.1.reg2mem br label LBL_11 LBL_10: %33 = call i32 @ftell(%_IO_FILE* %6) %34 = sext i32 %33 to i64 %35 = zext i32 %28 to i64 %36 = call i64 @FUNC(i64 %35) %37 = zext i32 %29 to i64 %38 = call i64 @FUNC(i8* getelementptr inbounds ([77 x i8], [77 x i8]* @gv_2, i64 0, i64 0), i64 %35, i64 %36, i64 %34, i64 %37, i64 %1) store i64 %35, i64* %.pre-phi.reg2mem store i64 %34, i64* %rcx.1.reg2mem store i64 %37, i64* %r8.1.reg2mem br label LBL_11 LBL_11: %r8.1.reload = load i64, i64* %r8.1.reg2mem %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %39 = icmp eq i64 %30, 0 br i1 %39, label LBL_13, label LBL_12 LBL_12: %40 = call i64 @FUNC(i64 %.pre-phi.reload, i64 %30, i64 %arg1) %41 = inttoptr i64 %30 to i64* call void @free(i64* %41) store i64 %30, i64* %rcx.2.reg2mem store i64 %30, i64* %rsi.1.reg2mem br label LBL_14 LBL_13: %rcx.1.reload = load i64, i64* %rcx.1.reg2mem %42 = call i64 @FUNC(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_3, i64 0, i64 0), i64 %.pre-phi.reload, i64 %22, i64 %rcx.1.reload, i64 %r8.1.reload, i64 %1) store i64 %rcx.1.reload, i64* %rcx.2.reg2mem store i64 %.pre-phi.reload, i64* %rsi.1.reg2mem br label LBL_14 LBL_14: %rsi.1.reload = load i64, i64* %rsi.1.reg2mem %rcx.2.reload = load i64, i64* %rcx.2.reg2mem %43 = icmp eq i32 %28, 0 store i64 %rcx.2.reload, i64* %rcx.4.reg2mem store i64 %rsi.1.reload, i64* %rsi.3.reg2mem store i64 %r8.1.reload, i64* %r8.3.reg2mem br i1 %43, label LBL_18, label LBL_15 LBL_15: %44 = load i64, i64* @gv_4, align 8 %45 = load i32, i32* @gv_1, align 4 %46 = sext i32 %45 to i64 %47 = icmp ugt i64 %44, %46 store i64 %rcx.2.reload, i64* %rcx.4.reg2mem store i64 %rsi.1.reload, i64* %rsi.3.reg2mem store i64 %r8.1.reload, i64* %r8.3.reg2mem br i1 %47, label LBL_16, label LBL_18 LBL_16: %48 = sext i32 %29 to i64 %49 = call i32 @fseek(%_IO_FILE* %6, i32 %29, i32 0) %50 = call i32 @ftell(%_IO_FILE* %6) store i32 %50, i32* @gv_1, align 4 store i64 %48, i64* %rcx.3.reg2mem store i64 %48, i64* %rsi.2.reg2mem store i64 %r8.1.reload, i64* %r8.2.reg2mem br label LBL_17 LBL_17: %r8.2.reload = load i64, i64* %r8.2.reg2mem %rsi.2.reload = load i64, i64* %rsi.2.reg2mem %rcx.3.reload = load i64, i64* %rcx.3.reg2mem %51 = call i64 @FUNC(i64 2) %52 = trunc i64 %51 to i32 %53 = icmp eq i32 %52, 0 %54 = icmp eq i1 %53, false store i64 %r8.2.reload, i64* %r8.06.reg2mem store i64 %rsi.2.reload, i64* %rsi.04.reg2mem store i64 %rcx.3.reload, i64* %rcx.02.reg2mem store i64 %rcx.3.reload, i64* %rcx.4.reg2mem store i64 %rsi.2.reload, i64* %rsi.3.reg2mem store i64 %r8.2.reload, i64* %r8.3.reg2mem br i1 %54, label LBL_18, label LBL_2 LBL_18: %55 = call i32 @putchar(i32 10) %56 = load i64, i64* @gv_4, align 8 %57 = load i32, i32* @gv_1, align 4 %58 = sext i32 %57 to i64 %59 = icmp ugt i64 %56, %58 br i1 %59, label LBL_19, label LBL_20 LBL_19: %r8.3.reload = load i64, i64* %r8.3.reg2mem %rsi.3.reload = load i64, i64* %rsi.3.reg2mem %rcx.4.reload = load i64, i64* %rcx.4.reg2mem %60 = call i64 @FUNC(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_5, i64 0, i64 0), i64 %rsi.3.reload, i64 %58, i64 %rcx.4.reload, i64 %r8.3.reload, i64 %1) %61 = load i64, i64* @gv_4, align 8 %62 = load i32, i32* @gv_1, align 4 %63 = sext i32 %62 to i64 %64 = sub i64 %61, %63 %65 = call i64 @FUNC(i64 %arg1, i64 %64) %66 = call i32 @puts(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_6, i64 0, i64 0)) br label LBL_20 LBL_20: %67 = call i64 @FUNC(i64* nonnull @gv_4) ret i64 %67 uselistorder i64 %.pre-phi.reload, { 0, 2, 1 } uselistorder i64 %r8.1.reload, { 2, 0, 1, 3 } uselistorder i64 %30, { 0, 1, 3, 4, 2 } uselistorder i32 %29, { 2, 1, 0, 3 } uselistorder i32 %28, { 1, 2, 3, 0 } uselistorder i64 %22, { 1, 0, 2, 3 } uselistorder i32 %sv_0.0.reload, { 1, 0 } uselistorder i64 %16, { 1, 0, 2 } uselistorder i64 %r8.06.reload, { 3, 0, 2, 4, 1 } uselistorder i64 %rcx.02.reload, { 0, 2, 3, 1 } uselistorder %_IO_FILE* %6, { 2, 1, 0, 3 } uselistorder i64 %1, { 3, 2, 1, 0 } uselistorder i64* %r8.06.reg2mem, { 1, 0 } uselistorder i64* %rsi.04.reg2mem, { 1, 0 } uselistorder i64* %rcx.02.reg2mem, { 1, 0 } uselistorder i64* %rcx.2.reg2mem, { 0, 2, 1 } uselistorder i64* %rsi.1.reg2mem, { 0, 2, 1 } uselistorder i64* %rcx.3.reg2mem, { 0, 2, 1 } uselistorder i64* %rsi.2.reg2mem, { 0, 2, 1 } uselistorder i64* %r8.2.reg2mem, { 0, 2, 1 } uselistorder i64* %rcx.4.reg2mem, { 0, 3, 4, 5, 1, 2 } uselistorder i64* %rsi.3.reg2mem, { 0, 3, 4, 5, 1, 2 } uselistorder i64* %r8.3.reg2mem, { 0, 3, 4, 5, 1, 2 } uselistorder i32 (%_IO_FILE*)* @ftell, { 2, 1, 0 } uselistorder i32* @gv_1, { 4, 3, 2, 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @SWF_warn, { 3, 2, 1, 0 } uselistorder i32 0, { 6, 1, 3, 4, 5, 0, 2 } uselistorder i64 (i64)* @filelen_check_fails, { 1, 3, 2, 0 } uselistorder i64 2, { 1, 0 } uselistorder i64 %arg1, { 5, 1, 2, 0, 4, 3 } uselistorder label LBL_20, { 1, 0 } uselistorder label LBL_18, { 2, 1, 0, 4, 3, 5 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
fix_database_storage_name_18332
fix_database_storage_name
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = inttoptr i64 %arg1 to i8* %1 = call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i32 9) %2 = icmp eq i32 %1, 0 store i64 1, i64* %storemerge.reg2mem br i1 %2, label LBL_1, label LBL_4 LBL_1: %3 = bitcast i64* %sv_0 to i8* %4 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %3, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i8* %0) %5 = call i64 @FUNC(i64* nonnull %sv_0) %6 = load i32, i32* inttoptr (i64 4210740 to i32*), align 4 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = trunc i64 %5 to i32 %9 = icmp eq i32 %8, 0 %10 = select i1 %9, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0) %11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_4, i64 0, i64 0), i8* %0, i8* %10) br label LBL_3 LBL_3: %12 = and i64 %5, 4294967295 store i64 %12, 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, 2, 1 } uselistorder i64 0, { 5, 6, 1, 2, 3, 4, 7, 8, 9, 10, 0, 11, 12, 13, 14 } uselistorder i32 1, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
op_divw_AX_T0_15476
op_divw_AX_T0
define i64 @FUNC() local_unnamed_addr { LBL_0: %.reg2mem3 = alloca i32 %.reg2mem = alloca i32 %0 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %1 = load i32, i32* @gv_1, align 4 %2 = load i32, i32* @gv_2, align 4 %3 = urem i32 %2, 65536 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false store i32 %1, i32* %.reg2mem store i32 %0, i32* %.reg2mem3 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 1) %.pre = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %.pre2 = load i32, i32* @gv_1, align 4 store i32 %.pre2, i32* %.reg2mem store i32 %.pre, i32* %.reg2mem3 br label LBL_2 LBL_2: %7 = mul i32 %1, 65536 %8 = urem i32 %0, 65536 %9 = or i32 %7, %8 %.reload4 = load i32, i32* %.reg2mem3 %.reload = load i32, i32* %.reg2mem %10 = udiv i32 %9, %3 %11 = urem i32 %10, 65536 %12 = urem i32 %9, %3 %13 = urem i32 %12, 65536 %14 = and i32 %.reload4, -65536 %15 = or i32 %11, %14 store i32 %15, i32* bitcast (i64* @gv_0 to i32*), align 8 %16 = and i32 %.reload, -65536 %17 = or i32 %13, %16 %18 = zext i32 %17 to i64 store i32 %17, i32* @gv_1, align 4 ret i64 %18 uselistorder i32 %9, { 1, 0 } uselistorder i32 %3, { 1, 2, 0 } uselistorder i32 %1, { 1, 0 } uselistorder i32 %0, { 1, 0 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem3, { 0, 2, 1 } uselistorder i32 65536, { 1, 2, 4, 0, 3 } uselistorder i32 0, { 2, 0, 1 } uselistorder i32* @gv_1, { 2, 0, 1 } uselistorder i32* bitcast (i64* @gv_0 to i32*), { 1, 0, 2 } uselistorder i32 1, { 1, 0 } }
1
BinRealVul
qemu_pipe_5026
qemu_pipe
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.in.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %2 to i32 %4 = insertvalue [2 x i32] undef, i32 %3, 0 %5 = call i32 @pipe2([2 x i32] %4, i32 524288) %6 = icmp eq i32 %5, -1 %7 = icmp eq i1 %6, false store i32 %5, i32* %storemerge.in.reg2mem br i1 %7, label LBL_4, label LBL_1 LBL_1: %8 = call i32* @__errno_location() %9 = load i32, i32* %8, align 4 %10 = icmp eq i32 %9, 38 store i32 %5, i32* %storemerge.in.reg2mem br i1 %10, label LBL_2, label LBL_4 LBL_2: %11 = call i32 @pipe([2 x i32] %4) %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false store i32 %11, i32* %storemerge.in.reg2mem br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = and i64 %1, 4294967295 %15 = call i64 @FUNC(i64 %14) %16 = add i64 %2, 4 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = zext i32 %18 to i64 %20 = call i64 @FUNC(i64 %19) store i32 %11, i32* %storemerge.in.reg2mem br label LBL_4 LBL_4: %storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem %storemerge = zext i32 %storemerge.in.reload to i64 ret i64 %storemerge uselistorder i32 %11, { 1, 0, 2 } uselistorder i32 %5, { 1, 0, 2 } uselistorder i32* %storemerge.in.reg2mem, { 0, 2, 1, 4, 3 } uselistorder i64 (i64)* @qemu_set_cloexec, { 1, 0 } uselistorder label LBL_4, { 1, 0, 3, 2 } }
0
BinRealVul
put_ucounts_11979
put_ucounts
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = call i64 @FUNC(i64 %arg1, i64* nonnull @gv_0, i64 %1) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 store i64 %2, i64* %rax.0.reg2mem br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = add i64 %arg1, 8 %6 = call i64 @FUNC(i64 %5) %7 = call i64 @FUNC(i64* nonnull @gv_0, i64 %1) %8 = call i64 @FUNC(i64 %arg1) store i64 %8, 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 %1, { 1, 0 } uselistorder i32 1, { 3, 2, 1, 0, 4 } uselistorder i64 %arg1, { 1, 0, 2 } }
1
BinRealVul
decodingXOR_6409
decodingXOR
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %rax.0.in.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %indvars.iv8.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i64* %arg2 to i64 %2 = ptrtoint i64* %arg1 to i64 %3 = load i32, i32* @gv_0, align 4 %4 = icmp eq i32 %3, 0 %5 = load i64, i64* @gv_1, align 8 %storemerge2 = select i1 %4, i64 %1, i64 %5 %6 = load i32, i32* @gv_2, align 4 %7 = icmp eq i32 %6, 0 %8 = icmp sgt i32 %arg4, 0 br i1 %7, label LBL_3, label LBL_1 LBL_1: store i32 0, i32* %rax.0.in.reg2mem br i1 %8, label LBL_2, label LBL_7 LBL_2: %wide.trip.count10 = zext i32 %arg4 to i64 store i64 0, i64* %indvars.iv8.reg2mem br label LBL_5 LBL_3: store i32 0, i32* %rax.0.in.reg2mem br i1 %8, label LBL_4, label LBL_7 LBL_4: %wide.trip.count = zext i32 %arg4 to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_6 LBL_5: %indvars.iv8.reload = load i64, i64* %indvars.iv8.reg2mem %9 = add i64 %indvars.iv8.reload, %storemerge2 %10 = inttoptr i64 %9 to i8* %11 = load i8, i8* %10, align 1 %12 = urem i8 %11, 16 %13 = add i64 %indvars.iv8.reload, %2 %14 = inttoptr i64 %13 to i8* %15 = load i8, i8* %14, align 1 %16 = zext i8 %15 to i64 %17 = zext i8 %12 to i64 %18 = mul i64 %17, 256 %19 = or i64 %18, %16 %20 = add i64 %19, ptrtoint (i8** @gv_3 to i64) %21 = inttoptr i64 %20 to i8* %22 = load i8, i8* %21, align 1 %23 = add i64 %indvars.iv8.reload, %1 %24 = inttoptr i64 %23 to i8* %25 = load i8, i8* %24, align 1 %26 = add i64 %indvars.iv8.reload, %0 %27 = xor i8 %25, %22 %28 = inttoptr i64 %26 to i8* store i8 %27, i8* %28, align 1 %indvars.iv.next9 = add nuw nsw i64 %indvars.iv8.reload, 1 %exitcond11 = icmp eq i64 %indvars.iv.next9, %wide.trip.count10 store i64 %indvars.iv.next9, i64* %indvars.iv8.reg2mem store i32 %arg4, i32* %rax.0.in.reg2mem br i1 %exitcond11, label LBL_7, label LBL_5 LBL_6: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %29 = add i64 %indvars.iv.reload, %storemerge2 %30 = inttoptr i64 %29 to i8* %31 = load i8, i8* %30, align 1 %32 = urem i8 %31, 16 %33 = add i64 %indvars.iv.reload, %2 %34 = inttoptr i64 %33 to i8* %35 = load i8, i8* %34, align 1 %36 = add i64 %indvars.iv.reload, %1 %37 = inttoptr i64 %36 to i8* %38 = load i8, i8* %37, align 1 %39 = xor i8 %38, %35 %40 = add i64 %indvars.iv.reload, %0 %41 = zext i8 %39 to i64 %42 = zext i8 %32 to i64 %43 = mul i64 %42, 256 %44 = or i64 %43, %41 %45 = add i64 %44, ptrtoint (i8** @gv_3 to i64) %46 = inttoptr i64 %45 to i8* %47 = load i8, i8* %46, align 1 %48 = inttoptr i64 %40 to i8* store i8 %47, i8* %48, align 1 %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 i32 %arg4, i32* %rax.0.in.reg2mem br i1 %exitcond, label LBL_7, label LBL_6 LBL_7: %rax.0.in.reload = load i32, i32* %rax.0.in.reg2mem %rax.0 = zext i32 %rax.0.in.reload to i64 ret i64 %rax.0 uselistorder i64 %indvars.iv.reload, { 0, 4, 3, 2, 1 } uselistorder i64 %indvars.iv8.reload, { 0, 4, 3, 2, 1 } uselistorder i1 %8, { 1, 0 } uselistorder i64* %indvars.iv8.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i32* %rax.0.in.reg2mem, { 0, 1, 2, 4, 3 } uselistorder i64 ptrtoint (i8** @gv_3 to i64), { 1, 0 } uselistorder i32 0, { 1, 0, 2, 5, 6, 3, 4 } uselistorder i32 %arg4, { 0, 1, 3, 2, 4 } uselistorder label LBL_7, { 0, 1, 3, 2 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
rewrite_footer_1483
rewrite_footer
define i64 @FUNC(i64* %arg1) 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 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = add i64 %3, 8 %7 = call i64 @FUNC(i64 %0, i64 %5, i64 %6, i64 256) %8 = trunc i64 %7 to i32 %9 = icmp slt i32 %8, 0 %10 = icmp eq i1 %9, false %11 = and i64 %7, 4294967295 %storemerge = select i1 %10, i64 0, i64 %11 ret i64 %storemerge uselistorder i64 %0, { 1, 0 } }
0
BinRealVul
extract_mpeg4_header_14980
extract_mpeg4_header
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %rax.0.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i32 %storemerge3.in6.reg2mem = alloca i64 %sv_0.38.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_0.110.reg2mem = alloca i32 %storemerge411.reg2mem = alloca i32 %.reg2mem = alloca i64 %2 = load i64, i64* %0 %3 = load i32, i32* %1 %4 = load i64, i64* %0 %sv_1 = alloca i32, align 4 %5 = trunc i64 %2 to i32 %6 = and i64 %2, 4294967295 %7 = icmp eq i32 %5, 0 store i64 %6, i64* %rax.0.reg2mem br i1 %7, label LBL_20, label LBL_1 LBL_1: %8 = ptrtoint i64* %arg1 to i64 %9 = add i64 %8, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge411.reg2mem store i32 0, i32* %sv_0.110.reg2mem br label LBL_2 LBL_2: %sv_0.110.reload = load i32, i32* %sv_0.110.reg2mem %storemerge411.reload = load i32, i32* %storemerge411.reg2mem %.reload = load i64, i64* %.reg2mem %12 = mul i64 %.reload, 8 %13 = add i64 %12, %11 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp eq i32 %17, 1 %19 = icmp eq i1 %18, false store i32 %sv_0.110.reload, i32* %sv_0.0.reg2mem br i1 %19, label LBL_4, label LBL_3 LBL_3: %20 = add i64 %15, 4 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = icmp eq i32 %22, 0 %24 = zext i1 %23 to i32 %spec.select = add i32 %sv_0.110.reload, %24 store i32 %spec.select, i32* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %25 = add i32 %storemerge411.reload, 1 %26 = sext i32 %25 to i64 %27 = icmp sgt i64 %6, %26 store i64 %26, i64* %.reg2mem store i32 %25, i32* %storemerge411.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.110.reg2mem br i1 %27, label LBL_2, label LBL_5 LBL_5: %28 = icmp eq i32 %sv_0.0.reload, 0 store i64 %6, i64* %rax.0.reg2mem br i1 %28, label LBL_20, label LBL_6 LBL_6: %29 = call i32 @puts(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_0, i64 0, i64 0)) %30 = sext i32 %29 to i64 %31 = icmp slt i32 %sv_0.0.reload, 0 %32 = icmp eq i1 %31, false store i64 %30, i64* %rax.0.reg2mem br i1 %32, label LBL_7, label LBL_20 LBL_7: %33 = bitcast i32* %sv_1 to i64* %34 = sext i32 %3 to i64 %35 = add nsw i64 %34, -4 %36 = add i64 %35, %4 %37 = icmp ugt i64 %36, %4 %38 = inttoptr i64 %4 to i64* store i32 %sv_0.0.reload, i32* %sv_0.38.reg2mem br label LBL_8 LBL_8: %39 = call i64 @FUNC(i64 %8, i64* nonnull %33) %40 = trunc i64 %39 to i32 %41 = icmp slt i32 %40, 0 store i64 %39, i64* %rax.0.reg2mem br i1 %41, label LBL_20, label LBL_9 LBL_9: %sv_0.38.reload = load i32, i32* %sv_0.38.reg2mem %42 = load i64, i64* %10, align 8 %43 = load i32, i32* %sv_1, align 4 %44 = sext i32 %43 to i64 %45 = mul i64 %44, 8 %46 = add i64 %45, %42 %47 = inttoptr i64 %46 to i64* %48 = load i64, i64* %47, align 8 %49 = inttoptr i64 %48 to i32* %50 = load i32, i32* %49, align 4 %51 = icmp eq i32 %50, 1 %52 = icmp eq i1 %51, false store i32 %sv_0.38.reload, i32* %sv_0.2.reg2mem br i1 %52, label LBL_19, label LBL_10 LBL_10: %53 = add i64 %48, 4 %54 = inttoptr i64 %53 to i32* %55 = load i32, i32* %54, align 4 %56 = icmp eq i32 %55, 0 %57 = icmp eq i1 %56, false store i32 %sv_0.38.reload, i32* %sv_0.2.reg2mem br i1 %57, label LBL_19, label LBL_11 LBL_11: %58 = add i64 %48, 8 %59 = call i64 @FUNC(i64 %58) br i1 %37, label LBL_12, label LBL_18 LBL_12: %storemerge3.in6.reload = load i64, i64* %storemerge3.in6.reg2mem %storemerge3 = inttoptr i64 %storemerge3.in6.reload to i8* %60 = load i8, i8* %storemerge3, align 1 %61 = icmp eq i8 %60, 0 %62 = icmp eq i1 %61, false %.pre = add nuw i64 %storemerge3.in6.reload, 1 br i1 %62, label LBL_17, label LBL_13 LBL_13: %63 = inttoptr i64 %.pre to i8* %64 = load i8, i8* %63, align 1 %65 = icmp eq i8 %64, 0 %66 = icmp eq i1 %65, false br i1 %66, label LBL_17, label LBL_14 LBL_14: %67 = add i64 %storemerge3.in6.reload, 2 %68 = inttoptr i64 %67 to i8* %69 = load i8, i8* %68, align 1 %70 = icmp eq i8 %69, 1 %71 = icmp eq i1 %70, false br i1 %71, label LBL_17, label LBL_15 LBL_15: %72 = add i64 %storemerge3.in6.reload, 3 %73 = inttoptr i64 %72 to i8* %74 = load i8, i8* %73, align 1 %75 = icmp eq i8 %74, -74 %76 = icmp eq i1 %75, false br i1 %76, label LBL_17, label LBL_16 LBL_16: %77 = sub i64 %storemerge3.in6.reload, %4 %78 = trunc i64 %77 to i32 %sext = mul i64 %77, 4294967296 %79 = ashr exact i64 %sext, 32 %80 = call i64 @FUNC(i64 %79) %81 = inttoptr i64 %58 to i64* store i64 %80, i64* %81, align 8 store i32 %78, i32* %54, align 4 %82 = load i64, i64* %81, align 8 %83 = inttoptr i64 %82 to i64* %84 = call i64* @memcpy(i64* %83, i64* %38, i32 %78) br label LBL_18 LBL_17: %85 = icmp ugt i64 %36, %.pre store i64 %.pre, i64* %storemerge3.in6.reg2mem br i1 %85, label LBL_12, label LBL_18 LBL_18: %86 = add i32 %sv_0.38.reload, -1 store i32 %86, i32* %sv_0.2.reg2mem br label LBL_19 LBL_19: %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %87 = call i64 @FUNC(i64* nonnull %33) %88 = icmp eq i32 %sv_0.2.reload, 0 %89 = icmp slt i32 %sv_0.2.reload, 0 %90 = icmp eq i1 %89, false %91 = icmp eq i1 %88, false %92 = icmp eq i1 %90, %91 store i32 %sv_0.2.reload, i32* %sv_0.38.reg2mem store i64 %87, i64* %rax.0.reg2mem br i1 %92, label LBL_8, label LBL_20 LBL_20: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %sv_0.2.reload, { 2, 1, 0 } uselistorder i64 %storemerge3.in6.reload, { 4, 0, 1, 3, 2 } uselistorder i32 %sv_0.38.reload, { 2, 0, 1 } uselistorder i64 %36, { 1, 0 } uselistorder i32 %sv_0.110.reload, { 1, 0 } uselistorder i64 %6, { 1, 2, 0 } uselistorder i64 %4, { 0, 2, 3, 1 } uselistorder i64 %2, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge411.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.110.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.38.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge3.in6.reg2mem, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 4, 5, 3 } uselistorder i64* %0, { 1, 0 } uselistorder i1 false, { 8, 1, 2, 3, 4, 5, 6, 7, 0, 9 } uselistorder i64 8, { 2, 0, 1, 3 } uselistorder i32 0, { 6, 7, 4, 5, 3, 9, 8, 0, 1, 2 } uselistorder i64 4294967295, { 1, 0 } uselistorder label LBL_20, { 0, 1, 3, 4, 2 } uselistorder label LBL_18, { 0, 2, 1 } uselistorder label LBL_17, { 1, 2, 3, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
cdg_decode_frame_7739
cdg_decode_frame
define i64 @FUNC(i32* %arg1, i64* %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg4 to i64 %6 = ptrtoint i32* %arg1 to i64 %sv_1 = alloca i64, align 8 %7 = load i32, i32* %1 %sv_2 = alloca i32, align 4 %sv_3 = alloca i64, align 8 store i64 %5, i64* %sv_3, align 8 %8 = add i64 %5, 8 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp sgt i32 %10, 3 br i1 %11, label LBL_2, label LBL_1 LBL_1: %12 = call i64 @FUNC(i64 %6, i64 0, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0), i64 %5, i64 %3, i64 %2) %13 = call i64 @FUNC(i64 22) store i64 %13, i64* %rax.0.reg2mem br label LBL_28 LBL_2: %14 = icmp slt i32 %10, 2053 br i1 %14, label LBL_4, label LBL_3 LBL_3: %15 = call i64 @FUNC(i64 %6, i64 0, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_1, i64 0, i64 0), i64 %5, i64 %3, i64 %2) %16 = call i64 @FUNC(i64 22) store i64 %16, i64* %rax.0.reg2mem br label LBL_28 LBL_4: %17 = trunc i64 %6 to i32 %18 = icmp eq i32 %17, 0 br i1 %18, label LBL_6, label LBL_5 LBL_5: %19 = add i64 %6, 16 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = call i64 @FUNC(i64 %6, i64 0, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0), i64 %21, i64 %3, i64 %2) %23 = and i64 %6, 4294967295 store i64 %23, i64* %rax.0.reg2mem br label LBL_28 LBL_6: %24 = add i64 %6, 8 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = add i64 %6, 4 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = icmp eq i32 %29, 0 %31 = icmp eq i1 %30, false br i1 %31, label LBL_8, label LBL_7 LBL_7: %32 = trunc i64 %4 to i32 %33 = add i64 %26, 16 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = mul i32 %35, %32 %37 = inttoptr i64 %26 to i64* %38 = load i64, i64* %37, align 8 %39 = inttoptr i64 %38 to i64* %40 = call i64* @memset(i64* %39, i32 0, i32 %36) %41 = add i64 %26, 8 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = inttoptr i64 %43 to i64* %45 = call i64* @memset(i64* %44, i32 0, i32 256) br label LBL_8 LBL_8: %46 = call i64 @FUNC(i64* nonnull %sv_3) %47 = trunc i64 %46 to i8 %48 = call i64 @FUNC(i64* nonnull %sv_3) %49 = load i64, i64* %sv_3, align 8 %50 = add i64 %49, 2 store i64 %50, i64* %sv_3, align 8 %51 = add i32 %10, -4 %52 = zext i32 %51 to i64 %53 = bitcast i32* %sv_2 to i64* %54 = call i64 @FUNC(i64* nonnull %sv_3, i64* nonnull %53, i64 %52) %55 = icmp eq i8 %47, 1 %56 = icmp eq i1 %55, false br i1 %56, label LBL_26, label LBL_9 LBL_9: %57 = trunc i64 %48 to i32 %sext = mul i32 %57, 16777216 %58 = ashr exact i32 %sext, 24 %59 = ptrtoint i32* %sv_2 to i64 %60 = urem i32 %58, 256 %61 = zext i32 %60 to i64 store i64 %61, i64* @0, align 8 %trunc = trunc i32 %58 to i8 switch i8 %trunc, label LBL_25 [ i8 2, label LBL_10 i8 3, label LBL_12 i8 4, label LBL_12 i8 5, label LBL_15 i8 6, label LBL_16 i8 7, label LBL_16 i8 8, label LBL_20 i8 9, label LBL_20 ] LBL_10: %62 = urem i32 %7, 16 %63 = icmp eq i32 %62, 0 %64 = icmp eq i1 %63, false br i1 %64, label LBL_25, label LBL_11 LBL_11: %65 = add i64 %26, 16 %66 = inttoptr i64 %65 to i32* %67 = load i32, i32* %66, align 4 %68 = mul i32 %67, 300 %69 = load i32, i32* %sv_2, align 4 %70 = urem i32 %69, 16 %71 = inttoptr i64 %26 to i64* %72 = load i64, i64* %71, align 8 %73 = inttoptr i64 %72 to i64* %74 = call i64* @memset(i64* %73, i32 %70, i32 %68) br label LBL_25 LBL_12: %75 = icmp sgt i32 %10, 2051 br i1 %75, label LBL_14, label LBL_13 LBL_13: %76 = call i64 @FUNC(i64 %6, i64 0, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_3, i64 0, i64 0), i64 %59, i64 %3, i64 %2) %77 = call i64 @FUNC(i64 22) store i64 %77, i64* %rax.0.reg2mem br label LBL_28 LBL_14: %78 = icmp eq i8 %trunc, 3 %79 = zext i1 %78 to i64 %80 = call i64 @FUNC(i64 %26, i64* nonnull %53, i64 %79) br label LBL_25 LBL_15: %81 = call i64 @FUNC(i64 %26, i64* nonnull %53) br label LBL_25 LBL_16: %82 = icmp sgt i32 %10, 2051 br i1 %82, label LBL_18, label LBL_17 LBL_17: %83 = call i64 @FUNC(i64 %6, i64 0, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_4, i64 0, i64 0), i64 %59, i64 %3, i64 %2) %84 = call i64 @FUNC(i64 22) store i64 %84, i64* %rax.0.reg2mem br label LBL_28 LBL_18: %85 = icmp eq i8 %trunc, 6 %86 = zext i1 %85 to i64 %87 = call i64 @FUNC(i64 %26, i64* nonnull %53, i64 %86) %88 = trunc i64 %87 to i32 %89 = icmp eq i32 %88, 0 br i1 %89, label LBL_25, label LBL_19 LBL_19: %90 = call i64 @FUNC(i64 %6, i64 0, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_5, i64 0, i64 0), i64 %59, i64 %3, i64 %2) %91 = and i64 %87, 4294967295 store i64 %91, i64* %rax.0.reg2mem br label LBL_28 LBL_20: %92 = icmp sgt i32 %10, 7 br i1 %92, label LBL_22, label LBL_21 LBL_21: %93 = call i64 @FUNC(i64 %6, i64 0, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_6, i64 0, i64 0), i64 %59, i64 %3, i64 %2) %94 = call i64 @FUNC(i64 22) store i64 %94, i64* %rax.0.reg2mem br label LBL_28 LBL_22: %95 = call i64 @FUNC(i64* nonnull %sv_1) %96 = call i64 @FUNC(i64 %6, i64* nonnull %sv_1) %97 = trunc i64 %96 to i32 %98 = icmp eq i32 %97, 0 br i1 %98, label LBL_24, label LBL_23 LBL_23: %99 = call i64 @FUNC(i64 %6, i64 0, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_7, i64 0, i64 0), i64 %59, i64 %3, i64 %2) %100 = and i64 %96, 4294967295 store i64 %100, i64* %rax.0.reg2mem br label LBL_28 LBL_24: %101 = icmp eq i8 %trunc, 9 %102 = zext i1 %101 to i64 %103 = call i64 @FUNC(i64 %26, i64* nonnull %53, i64* nonnull %sv_1, i64 %102) %104 = load i64, i64* %sv_1, align 8 %105 = inttoptr i64 %26 to i64* store i64 %104, i64* %105, align 8 %106 = add i64 %26, 8 %107 = inttoptr i64 %106 to i64* %108 = add i64 %26, 16 %109 = inttoptr i64 %108 to i64* br label LBL_25 LBL_25: %110 = bitcast i64* %arg3 to i32* store i32 1, i32* %110, align 4 %phitmp = zext i32 %10 to i64 store i64 %phitmp, i64* %sv_0.0.reg2mem br label LBL_27 LBL_26: %111 = bitcast i64* %arg3 to i32* store i32 0, i32* %111, align 4 store i64 0, i64* %sv_0.0.reg2mem br label LBL_27 LBL_27: %112 = ptrtoint i64* %arg2 to i64 %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %113 = inttoptr i64 %26 to i64* %114 = load i64, i64* %113, align 8 %115 = add i64 %26, 8 %116 = inttoptr i64 %115 to i64* %117 = load i64, i64* %116, align 8 store i64 %114, i64* %arg2, align 8 %118 = add i64 %112, 8 %119 = inttoptr i64 %118 to i64* store i64 %117, i64* %119, align 8 %120 = add i64 %26, 16 %121 = inttoptr i64 %120 to i64* %122 = load i64, i64* %121, align 8 %123 = add i64 %112, 16 %124 = inttoptr i64 %123 to i64* store i64 %122, i64* %124, align 8 store i64 %sv_0.0.reload, i64* %rax.0.reg2mem br label LBL_28 LBL_28: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %59, { 4, 3, 2, 1, 0 } uselistorder i32 %58, { 1, 0 } uselistorder i64 %26, { 12, 13, 14, 11, 10, 9, 8, 7, 6, 5, 4, 3, 1, 2, 0 } uselistorder i32 %10, { 0, 3, 2, 1, 4, 5, 6 } uselistorder i64* %sv_3, { 0, 3, 4, 1, 2, 5 } uselistorder i32* %sv_2, { 1, 0, 2 } uselistorder i64* %sv_1, { 3, 0, 1, 2 } uselistorder i64 %6, { 2, 3, 1, 5, 4, 6, 7, 13, 12, 8, 9, 11, 10, 0 } uselistorder i64 %5, { 1, 0, 2, 3 } uselistorder i64 %3, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %2, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 9, 8, 7, 6, 5, 4, 3, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i8 9, { 1, 0 } uselistorder i8 6, { 1, 0 } uselistorder i8 3, { 1, 0 } uselistorder i64 (i64*)* @bytestream_get_byte, { 1, 0 } uselistorder i64* (i64*, i32, i32)* @memset, { 2, 1, 0 } uselistorder i64 16, { 2, 3, 0, 1, 4, 5 } uselistorder i32 0, { 5, 2, 3, 4, 0, 1, 6, 7 } uselistorder i64 (i64)* @AVERROR, { 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 8, { 1, 2, 0, 3, 4, 5 } uselistorder label LBL_28, { 5, 0, 1, 2, 3, 4, 6, 7, 8 } uselistorder label LBL_25, { 4, 0, 5, 6, 2, 1, 3 } }
1
BinRealVul
nfs4_state_set_mode_locked_11227
nfs4_state_set_mode_locked
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 = 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_6, label LBL_1 LBL_1: %6 = ptrtoint i64* %arg1 to i64 %7 = xor i64 %1, %arg2 %8 = urem i64 %7, 2 %9 = icmp eq i64 %8, 0 br i1 %9, label LBL_5, label LBL_2 LBL_2: %10 = urem i64 %arg2, 2 %11 = icmp eq i64 %10, 0 %12 = add i64 %6, 16 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = add i64 %6, 8 br i1 %11, label LBL_4, label LBL_3 LBL_3: %16 = call i64 @FUNC(i64 %15, i64 %14) br label LBL_5 LBL_4: %17 = call i64 @FUNC(i64 %15, i64 %14) br label LBL_5 LBL_5: %18 = bitcast i64* %arg1 to i32* store i32 %2, i32* %18, align 4 store i64 %6, 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 %15, { 1, 0 } uselistorder i64 %14, { 1, 0 } uselistorder i64 %6, { 0, 2, 1 } uselistorder i64 %1, { 2, 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
opt_frame_aspect_ratio_16387
opt_frame_aspect_ratio
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i128 %storemerge1.reg2mem = alloca i64 %.reg2mem = alloca i64 %xmm0.0.reg2mem = alloca i128 %zf.0.reg2mem = alloca i1 %pf.0.reg2mem = alloca i1 %sv_0.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i32 %1 = load i128, i128* %0 %2 = load i128, i128* %0 %sv_2 = alloca i64, align 8 %3 = call i128 @FUNC(i128 %2, i128 %2) %4 = call i64 @FUNC(i128 %3) %5 = inttoptr i64 %arg1 to i8* %6 = call i8* @strchr(i8* %5, i32 58) %7 = ptrtoint i8* %6 to i64 %8 = icmp eq i8* %6, null br i1 %8, label LBL_6, label LBL_1 LBL_1: %9 = bitcast i64* %sv_2 to i8** %10 = call i32 @strtol(i8* %5, i8** nonnull %9, i32 10) %11 = load i64, i64* %sv_2, align 8 %12 = icmp eq i64 %11, %7 %13 = icmp eq i1 %12, false store i32 0, i32* %sv_1.0.reg2mem br i1 %13, label LBL_3, label LBL_2 LBL_2: %14 = add i64 %11, 1 %15 = inttoptr i64 %14 to i8* %16 = call i32 @strtol(i8* %15, i8** nonnull %9, i32 10) store i32 %16, i32* %sv_1.0.reg2mem br label LBL_3 LBL_3: %17 = icmp eq i32 %10, 0 %18 = trunc i32 %10 to i8 %19 = call i8 @llvm.ctpop.i8(i8 %18), !range !18 %20 = urem i8 %19, 2 %21 = icmp eq i8 %20, 0 %22 = icmp slt i32 %10, 1 store i64 %4, i64* %sv_0.0.reg2mem store i1 %21, i1* %pf.0.reg2mem store i1 %17, i1* %zf.0.reg2mem store i128 %3, i128* %xmm0.0.reg2mem br i1 %22, label LBL_7, label LBL_4 LBL_4: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %23 = icmp eq i32 %sv_1.0.reload, 0 %24 = trunc i32 %sv_1.0.reload to i8 %25 = call i8 @llvm.ctpop.i8(i8 %24), !range !18 %26 = urem i8 %25, 2 %27 = icmp eq i8 %26, 0 %28 = icmp slt i32 %sv_1.0.reload, 1 store i64 %4, i64* %sv_0.0.reg2mem store i1 %27, i1* %pf.0.reg2mem store i1 %23, i1* %zf.0.reg2mem store i128 %3, i128* %xmm0.0.reg2mem br i1 %28, label LBL_7, label LBL_5 LBL_5: %29 = call i128 @FUNC(i128 %3, i128 %3) %30 = call i128 @FUNC(i32 %10) %31 = call i128 @FUNC(i128 %1, i128 %1) %32 = call i128 @FUNC(i32 %sv_1.0.reload) %33 = call i128 @FUNC(i128 %30, i128 %32) %34 = call i64 @FUNC(i128 %33) store i64 %34, i64* %sv_0.0.reg2mem store i1 %27, i1* %pf.0.reg2mem store i1 %23, i1* %zf.0.reg2mem store i128 %33, i128* %xmm0.0.reg2mem br label LBL_7 LBL_6: %35 = trunc i64 %7 to i8 %36 = call i8 @llvm.ctpop.i8(i8 %35), !range !18 %37 = urem i8 %36, 2 %38 = icmp eq i8 %37, 0 %39 = call double @strtod(i8* %5, i8** null) %40 = fptrunc double %39 to float %41 = bitcast float %40 to i32 %42 = sext i32 %41 to i128 %43 = call i64 @FUNC(i128 %42) store i64 %43, i64* %sv_0.0.reg2mem store i1 %38, i1* %pf.0.reg2mem store i1 true, i1* %zf.0.reg2mem store i128 %42, i128* %xmm0.0.reg2mem br label LBL_7 LBL_7: %xmm0.0.reload = load i128, i128* %xmm0.0.reg2mem %pf.0.reload = load i1, i1* %pf.0.reg2mem %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %44 = call i128 @FUNC(i128 %xmm0.0.reload, i128 %xmm0.0.reload) call void @FUNC(i128 %44, i64 %sv_0.0.reload) br i1 %pf.0.reload, label LBL_10, label LBL_8 LBL_8: %zf.0.reload = load i1, i1* %zf.0.reg2mem %45 = call i128 @FUNC(i128 %44, i128 %44) call void @FUNC(i128 %45, i64 %sv_0.0.reload) %46 = icmp eq i1 %zf.0.reload, false br i1 %46, label LBL_10, label LBL_9 LBL_9: %47 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %48 = call i32 @fwrite(i64* bitcast ([39 x i8]* @gv_1 to i64*), i32 1, i32 38, %_IO_FILE* %47) %49 = call i64 @FUNC(i64 1) unreachable LBL_10: %50 = call i128 @__asm_movsd.1(i64 %sv_0.0.reload) %51 = call i64 @FUNC(i128 %50) store i64 %51, i64* @gv_2, align 8 %52 = load i8*, i8** @gv_3, align 8 %53 = icmp eq i8* %52, null store i64 0, i64* %.reg2mem store i64 0, i64* %storemerge1.reg2mem br i1 %53, label LBL_12, label LBL_11 LBL_11: %54 = call i32 @strlen(i8* nonnull %52) %55 = sext i32 %54 to i64 %.pre = load i8*, i8** @gv_3, align 8 %phitmp = ptrtoint i8* %.pre to i64 store i64 %phitmp, i64* %.reg2mem store i64 %55, i64* %storemerge1.reg2mem br label LBL_12 LBL_12: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %.reload = load i64, i64* %.reg2mem %56 = trunc i64 %storemerge1.reload to i32 %57 = mul i64 %storemerge1.reload, 4294967296 %sext = add i64 %57, 429496729600 %58 = ashr exact i64 %sext, 32 %59 = call i64 @FUNC(i64 %.reload, i64 %58) %60 = inttoptr i64 %59 to i8* store i8* %60, i8** @gv_3, align 8 %61 = icmp eq i32 %56, 0 %62 = add i32 %56, 100 %63 = add i64 %59, %storemerge1.reload %64 = call i128 @__asm_movq.2(i64 %sv_0.0.reload) %65 = inttoptr i64 %63 to i8* %66 = select i1 %61, i8 32, i8 44 %67 = trunc i128 %64 to i64 %68 = bitcast i64 %67 to double %69 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %65, i32 %62, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_4, i64 0, i64 0), i8 %66, double %68) %70 = sext i32 %69 to i64 ret i64 %70 uselistorder i64 %storemerge1.reload, { 1, 2, 0 } uselistorder i128 %44, { 1, 0, 2 } uselistorder i64 %sv_0.0.reload, { 2, 1, 3, 0 } uselistorder i32 %sv_1.0.reload, { 3, 0, 1, 2 } uselistorder i64 %11, { 1, 0 } uselistorder i32 %10, { 0, 3, 2, 1 } uselistorder i64 %7, { 1, 0 } uselistorder i128 %3, { 3, 2, 0, 1, 4 } uselistorder i64* %sv_2, { 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i1* %pf.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i1* %zf.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i128* %xmm0.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 } uselistorder i128* %0, { 1, 0 } uselistorder i8 0, { 3, 1, 2, 0 } uselistorder i8 (i8)* @llvm.ctpop.i8, { 2, 0, 1 } uselistorder i32 0, { 1, 2, 3, 0 } uselistorder i32 (i8*, i8**, i32)* @strtol, { 1, 0 } uselistorder i32 1, { 10, 8, 9, 11, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_12, { 1, 0 } }
1
BinRealVul
xfs_acl_chmod_10485
xfs_acl_chmod
define i64 @FUNC(i16* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %2 = ptrtoint i16* %arg1 to i64 %3 = call i64 @FUNC(i64 %2, i64 0) store i64 %3, i64* %sv_0, align 8 %4 = icmp eq i64 %3, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %4, label LBL_4, label LBL_1 LBL_1: %5 = urem i64 %1, 65536 %6 = call i64 @FUNC(i64* nonnull %sv_0, i64 0, i64 %5) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = and i64 %6, 4294967295 store i64 %9, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %10 = load i64, i64* %sv_0, align 8 %11 = call i64 @FUNC(i64 %2, i64 0, i64 %10) %12 = load i64, i64* %sv_0, align 8 %13 = call i64 @FUNC(i64 %12) %14 = and i64 %11, 4294967295 store i64 %14, 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* %sv_0, { 1, 2, 0, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 4294967295, { 2, 1, 0 } uselistorder i64 0, { 3, 4, 7, 5, 0, 1, 2, 6 } uselistorder label LBL_4, { 1, 2, 0 } }
0
BinRealVul
shmem_statfs_9022
shmem_statfs
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1) store i64 16914836, i64* %arg2, align 8 %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i64* store i64 4096, i64* %4, align 8 %5 = add i64 %0, 56 %6 = inttoptr i64 %5 to i64* store i64 255, i64* %6, align 8 %7 = inttoptr i64 %2 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp eq i64 %8, 0 br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = add i64 %0, 16 %11 = inttoptr i64 %10 to i64* store i64 %8, i64* %11, align 8 %12 = load i64, i64* %7, align 8 %13 = add i64 %2, 24 %14 = call i64 @FUNC(i64 %13) %15 = sub i64 %12, %14 %16 = add i64 %0, 24 %17 = inttoptr i64 %16 to i64* store i64 %15, i64* %17, align 8 %18 = add i64 %0, 32 %19 = inttoptr i64 %18 to i64* store i64 %15, i64* %19, align 8 br label LBL_2 LBL_2: %20 = add i64 %2, 8 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = icmp eq i64 %22, 0 br i1 %23, label LBL_4, label LBL_3 LBL_3: %24 = add i64 %0, 40 %25 = inttoptr i64 %24 to i64* store i64 %22, i64* %25, align 8 %26 = add i64 %2, 16 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = add i64 %0, 48 %30 = inttoptr i64 %29 to i64* store i64 %28, i64* %30, align 8 br label LBL_4 LBL_4: ret i64 0 uselistorder i64 %2, { 1, 2, 0, 3 } uselistorder i64 %0, { 3, 4, 0, 1, 2, 5, 6 } }
0
BinRealVul
r_buf_fread_at_12486
r_buf_fread_at
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp ne i64* %arg1, null %1 = icmp ne i64* %arg3, null %or.cond.not = icmp eq i1 %0, %1 %2 = icmp eq i64* %arg4, null %3 = icmp eq i1 %2, false %or.cond4 = icmp eq i1 %or.cond.not, %3 store i64 -1, i64* %rax.0.reg2mem br i1 %or.cond4, label LBL_1, label LBL_3 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i64 %4, i64 0, i64 1) %6 = call i64 @FUNC(i64 %4, i64 %arg2, i64 0) %7 = icmp slt i64 %6, 0 %8 = icmp eq i1 %7, false store i64 %6, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_3 LBL_2: %9 = ptrtoint i64* %arg4 to i64 %10 = ptrtoint i64* %arg3 to i64 %11 = trunc i64 %arg5 to i32 %12 = call i64 @FUNC(i64 %4, i64 %10, i64 %9, i32 %11) %13 = call i64 @FUNC(i64 %4, i64 %5, i64 0) store i64 %12, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %4, { 1, 0, 3, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 (i64, i64, i64)* @r_buf_seek, { 2, 1, 0 } uselistorder i64* %arg4, { 1, 0 } uselistorder i64* %arg3, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_3, { 2, 0, 1 } }
1
BinRealVul
check_intra_pred4x4_mode_emuedge_17190
check_intra_pred4x4_mode_emuedge
define i64 @FUNC(i64 %arg1, i32 %arg2, i32 %arg3, i32* %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %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 i64 %1, i64* %rax.0.reg2mem switch i32 %trunc, label LBL_10 [ i32 0, label LBL_1 i32 1, label LBL_3 i32 2, label LBL_3 i32 3, label LBL_4 i32 4, label LBL_6 i32 5, label LBL_7 i32 6, label LBL_8 i32 7, label LBL_8 i32 8, label LBL_8 i32 9, label LBL_8 ] LBL_1: %2 = icmp eq i32 %arg2, 0 %3 = icmp eq i1 %2, false %4 = icmp eq i32 %arg3, 0 %or.cond = or i1 %3, %4 br i1 %or.cond, label LBL_3, label LBL_2 LBL_2: store i32 1, i32* %arg4, align 4 store i64 %1, i64* %rax.0.reg2mem br label LBL_10 LBL_3: %5 = icmp eq i32 %arg3, 0 %spec.select = select i1 %5, i64 10, i64 %1 ret i64 %spec.select LBL_4: %6 = icmp eq i32 %arg3, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_6, label LBL_5 LBL_5: store i32 1, i32* %arg4, align 4 store i64 %1, i64* %rax.0.reg2mem br label LBL_10 LBL_6: %8 = icmp eq i32 %arg2, 0 %spec.select6 = select i1 %8, i64 11, i64 %1 store i64 %spec.select6, i64* %rax.0.reg2mem br label LBL_10 LBL_7: %9 = zext i32 %arg2 to i64 %10 = call i64 @FUNC(i64 %1, i64 %9, i32 %arg3) store i64 %10, i64* %rax.0.reg2mem br label LBL_10 LBL_8: %11 = icmp ne i32 %arg3, 0 %12 = icmp eq i32 %arg2, 0 %13 = icmp eq i1 %12, false %or.cond5 = icmp eq i1 %11, %13 store i64 %1, i64* %rax.0.reg2mem br i1 %or.cond5, label LBL_10, label LBL_9 LBL_9: store i32 1, i32* %arg4, align 4 store i64 %1, 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 %1, { 1, 2, 5, 6, 4, 7, 3, 0, 8 } uselistorder i64 %0, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 7, 4, 6, 5, 1 } uselistorder i32* %arg4, { 2, 1, 0 } uselistorder i32 %arg3, { 4, 3, 2, 1, 0 } uselistorder i32 %arg2, { 0, 3, 2, 1 } uselistorder label LBL_10, { 1, 2, 4, 3, 5, 6, 0 } }
1
reposvul_c_test
IGDstartelt_246
IGDstartelt
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = inttoptr i64 %arg2 to i64* %2 = call i64* @memcpy(i64* %arg1, i64* %1, i32 %arg3) %3 = sext i32 %arg3 to i64 %4 = add i64 %3, %0 %5 = inttoptr i64 %4 to i8* store i8 0, i8* %5, align 1 %6 = add i64 %0, 256 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = add i32 %8, 1 store i32 %9, i32* %7, align 4 %10 = icmp eq i32 %arg3, 7 %11 = icmp eq i1 %10, false store i64 %0, i64* %rax.0.reg2mem br i1 %11, label LBL_3, label LBL_1 LBL_1: %12 = call i32 @memcmp(i64* %1, i64* bitcast ([8 x i8]* @gv_0 to i64*), i32 %arg3) %13 = sext i32 %12 to i64 %14 = icmp eq i32 %12, 0 %15 = icmp eq i1 %14, false store i64 %13, i64* %rax.0.reg2mem br i1 %15, label LBL_3, label LBL_2 LBL_2: %16 = add i64 %0, 260 %17 = inttoptr i64 %16 to i8* store i8 0, i8* %17, align 1 %18 = add i64 %0, 516 %19 = inttoptr i64 %18 to i8* store i8 0, i8* %19, align 1 %20 = add i64 %0, 772 %21 = inttoptr i64 %20 to i8* store i8 0, i8* %21, align 1 %22 = add i64 %0, 1028 %23 = inttoptr i64 %22 to i8* store i8 0, i8* %23, align 1 store i64 %0, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 0, 3, 4, 5, 6, 1, 7, 2 } }
1
BinRealVul
sysbus_ahci_class_init_823
sysbus_ahci_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 (i64* @gv_0 to i64), i64* %2, align 8 %3 = load i64, i64* @gv_1, align 8 %4 = add i64 %0, 16 %5 = inttoptr i64 %4 to i64* store i64 %3, i64* %5, align 8 %6 = add i64 %0, 24 %7 = inttoptr i64 %6 to i64* store i64 4198669, i64* %7, align 8 %8 = add i64 %0, 32 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = or i64 %10, 1 store i64 %11, i64* %9, align 8 %12 = add i64 %0, 40 %13 = inttoptr i64 %12 to i8* store i8 1, i8* %13, align 1 ret i64 %0 uselistorder i64 %0, { 1, 0, 2, 3, 4, 5 } }
0
BinRealVul
intsetResize_12403
intsetResize
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = and i64 %1, 4294967295 %3 = call i64 @FUNC(i64 %2) %sext = mul i64 %3, 4294967296 %4 = ashr exact i64 %sext, 32 %sext1 = mul i64 %arg2, 4294967296 %5 = ashr exact i64 %sext1, 32 %6 = mul nsw i64 %4, %5 %7 = and i64 %6, 4294967295 %8 = add nuw nsw i64 %7, 4 %9 = call i64 @FUNC(i64 %arg1, i64 %8) ret i64 %9 uselistorder i64 4294967295, { 1, 0 } }
1
BinRealVul
tee_shm_get_from_id_6965
tee_shm_get_from_id
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = call i64 @FUNC(i64 4294967274) store i64 %2, i64* %storemerge.reg2mem br label LBL_7 LBL_2: %3 = ptrtoint i64* %arg1 to i64 %4 = and i64 %arg2, 4294967295 %5 = call i64 @FUNC(i64 %3) %6 = add i64 %3, 4 %7 = call i64 @FUNC(i64 %6, i64 %4) %8 = icmp eq i64 %7, 0 br i1 %8, label LBL_4, label LBL_3 LBL_3: %9 = inttoptr i64 %7 to i64* %10 = load i64, i64* %9, align 8 %11 = icmp eq i64 %10, %3 br i1 %11, label LBL_5, label LBL_4 LBL_4: %12 = call i64 @FUNC(i64 4294967274) store i64 %12, i64* %sv_0.0.reg2mem br label LBL_6 LBL_5: %13 = add i64 %7, 8 %14 = call i64 @FUNC(i64 %13) store i64 %7, i64* %sv_0.0.reg2mem br label LBL_6 LBL_6: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %15 = call i64 @FUNC(i64 %3) store i64 %sv_0.0.reload, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %3, { 1, 0, 3, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @ERR_PTR, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } }
0
BinRealVul
CancelXmlOp_3962
CancelXmlOp
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64 %arg4, i64* %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = icmp eq i64 %arg2, 0 %3 = icmp eq i64* %arg3, null %or.cond = or i1 %2, %3 br i1 %or.cond, label LBL_2, label LBL_1 LBL_1: %4 = ptrtoint i64* %arg3 to i64 %5 = ptrtoint i64* %arg1 to i64 %6 = ptrtoint i64* %arg5 to i64 %7 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) %8 = inttoptr i64 %7 to i8* %9 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0)) %10 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0)) %11 = call i64 @FUNC(i64 %10, i64* nonnull @gv_3) %12 = trunc i64 %11 to i32 %13 = call i64 @FUNC(i64 %10, i64 %7, i32 %12) %14 = inttoptr i64 %13 to i8* %15 = icmp eq i64 %arg4, 0 %storemerge = select i1 %15, i64 ptrtoint ([8 x i8]* @gv_4 to i64), i64 %arg4 %16 = call i64 @FUNC(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_5, i64 0, i64 0), i64 %13, i64 %4, i64 %storemerge, i64 %6, i64 %1) %17 = call i8* @strdup(i8* %14) %18 = ptrtoint i8* %17 to i64 %19 = call i64 @FUNC(i64 %5, i64 %18, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_6, i64 0, i64 0), i64 %4, i64 0, i64 1) %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = inttoptr i64 %21 to i64* call void @free(i64* %22) %23 = add i64 %19, 8 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = inttoptr i64 %25 to i64* call void @free(i64* %26) %27 = call i8* @strdup(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_6, i64 0, i64 0)) %28 = ptrtoint i8* %27 to i64 store i64 %28, i64* %20, align 8 %29 = call i8* @strdup(i8* %8) %30 = ptrtoint i8* %29 to i64 store i64 %30, i64* %24, align 8 %31 = add i64 %19, 16 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = call i64 @FUNC(i64 %33, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 %7) %35 = load i64, i64* %32, align 8 %36 = call i64 @FUNC(i64 %35, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0), i64 %9) %37 = load i64, i64* %32, align 8 %38 = call i64 @FUNC(i64 %37, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0), i64 %10) %39 = call i64 @FUNC(i64 %5) %40 = call i64 @FUNC(i64 %5, i64 %39, i64 0, i64 %5, i64 0, i64 %19) %41 = inttoptr i64 %13 to i64* call void @free(i64* %41) store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %7, { 0, 2, 1 } uselistorder i64 %5, { 1, 2, 0, 3 } uselistorder i64 (i64, i8*, i64)* @add_hash_param, { 2, 1, 0 } uselistorder void (i64*)* @free, { 2, 1, 0 } uselistorder i8* (i8*)* @strdup, { 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64, i8*)* @crm_element_value, { 2, 1, 0 } uselistorder i64 %arg4, { 1, 0 } uselistorder i64* %arg3, { 1, 0 } uselistorder i64 %arg2, { 2, 1, 0, 3 } }
0
BinRealVul
ide_device_class_init_959
ide_device_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 4198702, i64* %arg1, align 8 %1 = add i64 %0, 8 %2 = call i64 @FUNC(i64 0, i64 %1) %3 = add i64 %0, 48 %4 = inttoptr i64 %3 to i32* store i32 1, i32* %4, align 4 %5 = add i64 %0, 56 %6 = inttoptr i64 %5 to i64* store i64 4198709, i64* %6, align 8 %7 = load i64, i64* @gv_0, align 8 %8 = add i64 %0, 64 %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
dec_sl_16319
dec_sl
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false %7 = ptrtoint i32* %arg1 to i64 br i1 %6, label LBL_2, label LBL_1 LBL_1: %8 = add i64 %7, 16 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = add i64 %7, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = add i64 %7, 8 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = zext i32 %16 to i64 %18 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i64 %17, i32 %13, i32 %10, i64 %2, i64 %1) br label LBL_3 LBL_2: %19 = add i64 %7, 8 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = add i64 %7, 4 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = add i64 %7, 12 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = zext i32 %27 to i64 %29 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_1, i64 0, i64 0), i64 %28, i32 %24, i32 %21, i64 %2, i64 %1) br label LBL_3 LBL_3: %30 = add i64 %7, 24 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = urem i32 %34, 2 %36 = icmp eq i32 %35, 0 %37 = icmp eq i1 %36, false br i1 %37, label LBL_5, label LBL_4 LBL_4: %38 = call i64 @FUNC(i64 %32, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_2, i64 0, i64 0)) unreachable LBL_5: br i1 %6, label LBL_7, label LBL_6 LBL_6: %39 = add i64 %7, 16 %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 4 %42 = add i64 %7, 4 %43 = inttoptr i64 %42 to i32* %44 = load i32, i32* %43, align 4 %45 = sext i32 %44 to i64 %46 = mul i64 %45, 4 %47 = add i64 %46, ptrtoint (i32** @gv_3 to i64) %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = add i64 %7, 8 %51 = inttoptr i64 %50 to i32* %52 = load i32, i32* %51, align 4 %53 = sext i32 %52 to i64 %54 = mul i64 %53, 4 %55 = add i64 %54, ptrtoint (i32** @gv_3 to i64) %56 = inttoptr i64 %55 to i32* %57 = load i32, i32* %56, align 4 %58 = zext i32 %49 to i64 %59 = zext i32 %57 to i64 %60 = call i64 @FUNC(i64 %59, i64 %58, i32 %41) store i64 %60, i64* %storemerge.reg2mem br label LBL_8 LBL_7: %61 = call i64 @FUNC() %62 = trunc i64 %61 to i32 %63 = add i64 %7, 8 %64 = inttoptr i64 %63 to i32* %65 = load i32, i32* %64, align 4 %66 = sext i32 %65 to i64 %67 = mul i64 %66, 4 %68 = add i64 %67, ptrtoint (i32** @gv_3 to i64) %69 = inttoptr i64 %68 to i32* %70 = load i32, i32* %69, align 4 %71 = zext i32 %70 to i64 %72 = and i64 %61, 4294967295 %73 = call i64 @FUNC(i64 %72, i64 %71, i64 31) %74 = add i64 %7, 4 %75 = inttoptr i64 %74 to i32* %76 = load i32, i32* %75, align 4 %77 = sext i32 %76 to i64 %78 = mul i64 %77, 4 %79 = add i64 %78, ptrtoint (i32** @gv_3 to i64) %80 = inttoptr i64 %79 to i32* %81 = load i32, i32* %80, align 4 %82 = add i64 %7, 12 %83 = inttoptr i64 %82 to i32* %84 = load i32, i32* %83, align 4 %85 = sext i32 %84 to i64 %86 = mul i64 %85, 4 %87 = add i64 %86, ptrtoint (i32** @gv_3 to i64) %88 = inttoptr i64 %87 to i32* %89 = load i32, i32* %88, align 4 %90 = zext i32 %81 to i64 %91 = zext i32 %89 to i64 %92 = call i64 @FUNC(i64 %91, i64 %90, i32 %62) %93 = call i64 @FUNC(i64 %72) store i64 %93, i64* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %7, { 1, 0, 2, 6, 5, 4, 3, 9, 10, 12, 7, 8, 11 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i8*, i64, i32, i32, i64, i64)* @LOG_DIS, { 1, 0 } uselistorder i64 4, { 0, 1, 5, 2, 3, 4, 6, 7, 8 } }
1
BinRealVul
get_current_cpu_5128
get_current_cpu
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = load i32*, i32** @gv_0, align 8 %1 = icmp eq i32* %0, null %2 = icmp eq i1 %1, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %2, label LBL_1, label LBL_2 LBL_1: %3 = load i32, i32* %0, align 4 %4 = zext i32 %3 to i64 store i64 %4, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
packet_get_13113
packet_get
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %3 = call i64 @FUNC(i64 %2) %4 = call i64 @FUNC(i64 %2) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_1, label LBL_11 LBL_1: %8 = trunc i64 %1 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 1, i64* %rax.0.reg2mem br i1 %13, label LBL_2, label LBL_11 LBL_2: %14 = load i32, i32* @gv_0, align 4 %15 = icmp eq i32 %14, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_5, label LBL_3 LBL_3: %17 = load i32, i32* inttoptr (i64 4210772 to i32*), align 4 %18 = icmp slt i32 %17, 11 br i1 %18, label LBL_5, label LBL_4 LBL_4: %19 = call i32* @__errno_location() store i32 71, i32* %19, align 4 %20 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_1, i64 0, i64 0)) %21 = call i64 @FUNC(i64 111) unreachable LBL_5: %22 = add i64 %2, 8 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = inttoptr i64 %24 to i8* %26 = load i8, i8* %25, align 1 switch i8 %26, label LBL_6 [ i8 1, label LBL_7 i8 0, label LBL_9 ] LBL_6: %27 = or i8 %26, 1 %28 = icmp eq i8 %27, 3 br i1 %28, label LBL_8, label LBL_9 LBL_7: %29 = call i32* @__errno_location() store i32 0, i32* %29, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_11 LBL_8: %30 = call i64 @FUNC(i64 %2) store i64 1, i64* %rax.0.reg2mem br label LBL_11 LBL_9: %sext = mul i64 %arg2, 72057594037927936 %31 = ashr exact i64 %sext, 56 %32 = trunc i64 %31 to i8 %33 = icmp eq i8 %32, 0 %34 = icmp eq i8 %26, %32 %or.cond = or i1 %33, %34 store i64 1, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_11, label LBL_10 LBL_10: %35 = call i32* @__errno_location() store i32 71, i32* %35, align 4 %36 = load i64, i64* %23, align 8 %37 = inttoptr i64 %36 to i8* %38 = load i8, i8* %37, align 1 %39 = zext i8 %38 to i64 %40 = call i64 @FUNC(i64* nonnull %sv_1, i64 %39) %41 = urem i64 %31, 256 %42 = call i64 @FUNC(i64* nonnull %sv_0, i64 %41) %43 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0), i64 %42, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0), i64 %40) %44 = call i64 @FUNC(i64 111) unreachable LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8 %26, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 5, 3, 4 } uselistorder i64 (i64*, i64)* @numtostr, { 1, 0 } uselistorder i8 0, { 1, 0 } uselistorder i8 1, { 1, 0 } uselistorder i64 (i64)* @global_die, { 1, 0 } uselistorder i32* ()* @__errno_location, { 1, 2, 0 } uselistorder i1 false, { 1, 2, 0, 3 } uselistorder i64 (i64)* @buf_purge, { 1, 0 } uselistorder label LBL_11, { 1, 0, 4, 2, 3 } uselistorder label LBL_9, { 1, 0 } }
1