dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
BinRealVul
vmw_cotable_unbind_4038
vmw_cotable_unbind
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %3 = call i64 @FUNC(i64 %2) %4 = add i64 %2, 8 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_1, label LBL_5 LBL_1: %8 = ptrtoint i64* %arg3 to i64 %9 = trunc i64 %1 to i32 %10 = inttoptr i64 %3 to i32* %11 = icmp eq i32 %9, 1 %12 = icmp eq i1 %11, false %13 = zext i1 %12 to i64 %14 = call i64 @FUNC(i64 %13) %15 = add i64 %8, 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = call i64 @FUNC(i64 %17) %19 = call i64 @FUNC(i64 %2) %20 = load i32, i32* %10, align 4 %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_3, label LBL_2 LBL_2: %23 = urem i64 %arg2, 256 %24 = add i64 %3, 8 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = call i64 @FUNC(i64 %26, i64 %23) br label LBL_3 LBL_3: %28 = call i64 @FUNC(i64 %2) %29 = call i64 @FUNC(i64 0, i64 %2, i64* nonnull %sv_0, i64 0) %30 = load i64, i64* %sv_0, align 8 %31 = call i64 @FUNC(i64 %8, i64 %30) %32 = load i64, i64* %sv_0, align 8 %33 = icmp eq i64 %32, 0 %34 = icmp eq i1 %33, false %35 = icmp eq i1 %34, false br i1 %35, label LBL_5, label LBL_4 LBL_4: %36 = call i64 @FUNC(i64* nonnull %sv_0) br label LBL_5 LBL_5: ret i64 0 uselistorder i64* %sv_0, { 0, 2, 3, 1 } uselistorder i64 %2, { 1, 0, 2, 3, 4 } uselistorder label LBL_5, { 1, 0, 2 } }
0
BinRealVul
avrc_send_continue_frag_8560
avrc_send_continue_frag
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %1 = load i64, i64* %0 %sext = mul i64 %arg1, 72057594037927936 %2 = ashr exact i64 %sext, 56 %3 = mul i64 %arg1, 16 %4 = and i64 %3, 4080 %5 = add i64 %4, ptrtoint (i64* @gv_0 to i64) %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = inttoptr i64 %7 to i16* %9 = load i16, i16* %8, align 2 %10 = zext i16 %9 to i64 %11 = urem i64 %arg2, 256 %12 = urem i64 %arg1, 256 %13 = call i64 @FUNC(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0), i64 %12, i64 %11, i64 %10, i64 %1) %14 = load i16, i16* %8, align 2 %15 = icmp ult i16 %14, 513 br i1 %15, label LBL_2, label LBL_1 LBL_1: %16 = add i64 %7, 2 %17 = inttoptr i64 %16 to i16* %18 = load i16, i16* %17, align 2 %19 = zext i16 %18 to i64 %20 = load i64, i64* %6, align 8 %21 = add nuw nsw i64 %19, 1030 %22 = call i64 @FUNC(i64 %21) %23 = inttoptr i64 %22 to i16* store i16 512, i16* %23, align 2 %24 = add i64 %22, 2 %25 = inttoptr i64 %24 to i16* store i16 0, i16* %25, align 2 %26 = add i64 %20, 4 %27 = inttoptr i64 %26 to i8* %28 = load i8, i8* %27, align 1 %29 = add i64 %22, 4 %30 = inttoptr i64 %29 to i8* store i8 %28, i8* %30, align 1 %31 = add i64 %20, 5 %32 = inttoptr i64 %31 to i8* %33 = load i8, i8* %32, align 1 %34 = add i64 %22, 5 %35 = inttoptr i64 %34 to i8* store i8 %33, i8* %35, align 1 %36 = add i64 %20, 2 %37 = inttoptr i64 %36 to i16* %38 = load i16, i16* %37, align 2 %39 = zext i16 %38 to i64 %40 = add i64 %20, 6 %41 = add i64 %40, %39 %42 = load i16, i16* %25, align 2 %43 = zext i16 %42 to i64 %44 = add i64 %22, 6 %45 = add i64 %44, %43 %46 = inttoptr i64 %45 to i64* %47 = inttoptr i64 %41 to i64* %48 = call i64* @memcpy(i64* %46, i64* %47, i32 512) %49 = add i64 %45, 5 %50 = add i64 %45, 6 %51 = inttoptr i64 %49 to i8* store i8 1, i8* %51, align 1 %52 = add i64 %45, 7 %53 = inttoptr i64 %50 to i8* store i8 1, i8* %53, align 1 %54 = inttoptr i64 %52 to i8* store i8 -8, i8* %54, align 1 %55 = urem i64 %2, 256 %56 = call i64 @FUNC(i64 %55) store i64 %55, i64* %.pre-phi.reg2mem store i64 %22, i64* %sv_0.0.reg2mem br label LBL_3 LBL_2: %57 = add i64 %4, add (i64 ptrtoint (i64* @gv_0 to i64), i64 8) %58 = inttoptr i64 %57 to i8* store i8 0, i8* %58, align 8 store i64 0, i64* %6, align 8 %.pre = urem i64 %2, 256 store i64 %.pre, i64* %.pre-phi.reg2mem store i64 %7, i64* %sv_0.0.reg2mem br label LBL_3 LBL_3: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %59 = trunc i64 %arg2 to i8 %60 = call i64 @FUNC(i64 %.pre-phi.reload, i8 %59, i8 0, i64 %sv_0.0.reload) ret i64 %60 uselistorder i64* %6, { 1, 0, 2 } uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i8 0, { 0, 2, 3, 1 } uselistorder i32 1, { 4, 3, 2, 1, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder i64 %arg1, { 2, 0, 1 } }
0
BinRealVul
inet_getid_6020
inet_getid
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i32* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = add i32 %1, 1 %3 = call i64 @FUNC(i64 %0) br label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %0) %5 = trunc i64 %4 to i32 %6 = add i32 %2, %5 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false %spec.select = select i1 %8, i32 %6, i32 1 %9 = and i64 %4, 4294967295 %10 = call i64 @FUNC(i64 %0, i64 %9, i32 %spec.select) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %5, %11 %13 = icmp eq i1 %12, false br i1 %13, label LBL_1, label LBL_2 LBL_2: %14 = zext i32 %spec.select to i64 ret i64 %14 }
0
BinRealVul
ich9_smb_class_init_1523
ich9_smb_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = bitcast i64* %arg1 to i32* store i32 32902, i32* %1, align 4 %2 = add i64 %0, 4 %3 = inttoptr i64 %2 to i32* store i32 10530, i32* %3, align 4 %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i32* store i32 2, i32* %5, align 4 %6 = add i64 %0, 12 %7 = inttoptr i64 %6 to i32* store i32 787712, i32* %7, align 4 %8 = bitcast i64* %arg1 to i8* store i8 1, i8* %8, align 1 %9 = inttoptr i64 %4 to i64* store i64 ptrtoint (i64* @gv_0 to i64), i64* %9, align 8 %10 = add i64 %0, 16 %11 = inttoptr i64 %10 to i64* store i64 4198694, i64* %11, align 8 %12 = add i64 %0, 24 %13 = inttoptr i64 %12 to i64* store i64 4198701, i64* %13, align 8 ret i64 %0 uselistorder i64 %0, { 1, 0, 2, 3, 4, 5 } }
0
BinRealVul
av_parse_color_15698
av_parse_color
define i64 @FUNC(i64* %arg1, i8* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i8*, align 8 %4 = call i32 @strcasecmp(i8* %arg2, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0)) %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i32 @strcasecmp(i8* %arg2, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0)) %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = call i64 @FUNC() %10 = trunc i64 %9 to i32 %11 = udiv i32 %10, 16777216 %12 = trunc i32 %11 to i8 %13 = bitcast i64* %arg1 to i8* store i8 %12, i8* %13, align 1 %14 = udiv i32 %10, 65536 %15 = add i64 %3, 1 %16 = trunc i32 %14 to i8 %17 = inttoptr i64 %15 to i8* store i8 %16, i8* %17, align 1 %18 = udiv i32 %10, 256 %19 = add i64 %3, 2 %20 = trunc i32 %18 to i8 %21 = inttoptr i64 %19 to i8* store i8 %20, i8* %21, align 1 %22 = add i64 %3, 3 %23 = trunc i64 %9 to i8 %24 = inttoptr i64 %22 to i8* store i8 %23, i8* %24, align 1 store i64 0, i64* %rax.0.reg2mem br label LBL_12 LBL_3: %25 = call i32 @strncmp(i8* %arg2, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i32 2) %26 = icmp eq i32 %25, 0 %27 = icmp eq i1 %26, false br i1 %27, label LBL_9, label LBL_4 LBL_4: %28 = call i32 @strlen(i8* %arg2) %29 = call i32 @strtol(i8* %arg2, i8** nonnull %sv_1, i32 16) %30 = load i8*, i8** %sv_1, align 8 %31 = load i8, i8* %30, align 1 %32 = icmp eq i8 %31, 0 %33 = or i32 %28, 2 %34 = icmp eq i32 %33, 10 %or.cond = icmp eq i1 %34, %32 br i1 %or.cond, label LBL_6, label LBL_5 LBL_5: %35 = ptrtoint i8* %arg2 to i64 %36 = call i64 @FUNC(i64 %arg3, i64 0, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_3, i64 0, i64 0), i64 %35, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_12 LBL_6: %37 = icmp eq i32 %28, 10 %38 = icmp eq i1 %37, false store i32 %29, i32* %sv_0.0.reg2mem br i1 %38, label LBL_8, label LBL_7 LBL_7: %39 = add i64 %3, 3 %40 = trunc i32 %29 to i8 %41 = inttoptr i64 %39 to i8* store i8 %40, i8* %41, align 1 %42 = ashr i32 %29, 8 store i32 %42, i32* %sv_0.0.reg2mem br label LBL_8 LBL_8: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %43 = udiv i32 %sv_0.0.reload, 65536 %44 = trunc i32 %43 to i8 %45 = bitcast i64* %arg1 to i8* store i8 %44, i8* %45, align 1 %46 = udiv i32 %sv_0.0.reload, 256 %47 = add i64 %3, 1 %48 = trunc i32 %46 to i8 %49 = inttoptr i64 %47 to i8* store i8 %48, i8* %49, align 1 %50 = add i64 %3, 2 %51 = trunc i32 %sv_0.0.reload to i8 %52 = inttoptr i64 %50 to i8* store i8 %51, i8* %52, align 1 store i64 0, i64* %rax.0.reg2mem br label LBL_12 LBL_9: %53 = bitcast i8* %arg2 to i64* %54 = call i64* @bsearch(i64* %53, i64* nonnull @gv_4, i32 6, i32 4, i32 (i64*, i64*)* inttoptr (i64 4199001 to i32 (i64*, i64*)*)) %55 = icmp eq i64* %54, null %56 = icmp eq i1 %55, false br i1 %56, label LBL_11, label LBL_10 LBL_10: %57 = ptrtoint i8* %arg2 to i64 %58 = call i64 @FUNC(i64 %arg3, i64 0, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_5, i64 0, i64 0), i64 %57, i64 4199001, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_12 LBL_11: %59 = bitcast i64* %54 to i32* %60 = load i32, i32* %59, align 4 %61 = bitcast i64* %arg1 to i32* store i32 %60, i32* %61, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %54, { 1, 0 } uselistorder i32 %sv_0.0.reload, { 0, 2, 1 } uselistorder i32 %29, { 1, 2, 0 } uselistorder i32 %28, { 1, 0 } uselistorder i64 %3, { 1, 2, 0, 3, 4, 5 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 5, 2, 4, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 4294967295, { 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 } uselistorder i32 10, { 1, 0 } uselistorder i8 0, { 1, 2, 0 } uselistorder i32 (i8*, i8*)* @strcasecmp, { 1, 0 } uselistorder i64 %arg3, { 1, 0 } uselistorder i8* %arg2, { 1, 2, 0, 3, 4, 5, 6, 7 } uselistorder label LBL_12, { 2, 3, 1, 4, 0 } }
1
BinRealVul
bdrv_create_dirty_bitmap_14332
bdrv_create_dirty_bitmap
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = add i64 %arg2, 4294967295 %1 = and i64 %0, %arg2 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_1, i64 0, i64 0), i32 51, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %4 = trunc i64 %arg2 to i32 %5 = ashr i32 %4, 9 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_1, i64 0, i64 0), i32 53, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_2, i64 0, i64 0)) br label LBL_4 LBL_4: %8 = ptrtoint i64* %arg1 to i64 %9 = zext i32 %5 to i64 %10 = call i64 @FUNC(i64 %8) %11 = ashr i64 %10, 9 %12 = call i64 @FUNC(i64 16) %13 = call i64 @FUNC(i64 %9) %14 = add i64 %13, 4294967295 %15 = and i64 %14, 4294967295 %16 = call i64 @FUNC(i64 %11, i64 %15) %17 = inttoptr i64 %12 to i64* store i64 %16, i64* %17, align 8 %18 = add i64 %12, 8 %19 = inttoptr i64 %18 to i64* store i64 %11, i64* %19, align 8 store i64 %12, i64* %arg1, align 8 ret i64 %12 uselistorder i32 0, { 1, 2, 0 } uselistorder i64 %arg2, { 1, 0, 2 } }
1
BinRealVul
blend_frames16_c_2290
blend_frames16_c
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i32 %arg4, i32 %arg5, i32 %arg6, i64 %arg7, i64 %arg8, i64 %arg9, i64 %arg10, i64 %arg11) local_unnamed_addr { LBL_0: %storemerge.lcssa.reg2mem = alloca i64 %sv_0.010.reg2mem = alloca i64 %sv_1.012.reg2mem = alloca i64 %sv_2.014.reg2mem = alloca i64 %storemerge16.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %0 = icmp sgt i32 %arg5, 0 store i64 0, i64* %storemerge.lcssa.reg2mem br i1 %0, label LBL_1, label LBL_6 LBL_1: %1 = icmp slt i32 %arg4, 0 %2 = zext i1 %1 to i32 %3 = add i32 %2, %arg4 %4 = trunc i64 %arg7 to i32 %5 = trunc i64 %arg8 to i32 %6 = ashr i32 %3, 1 %7 = icmp slt i32 %5, 0 %8 = zext i1 %7 to i32 %9 = add i32 %8, %5 %10 = ashr i32 %9, 1 %11 = icmp slt i32 %4, 0 %12 = zext i1 %11 to i32 %13 = add i32 %12, %4 %14 = ashr i32 %13, 1 %15 = icmp slt i32 %arg6, 0 %16 = zext i1 %15 to i32 %17 = add i32 %16, %arg6 %18 = ashr i32 %17, 1 %sext5 = mul i64 %arg9, 4294967296 %sext4 = mul i64 %arg10, 4294967296 %19 = ptrtoint i64* %arg1 to i64 %20 = ptrtoint i64* %arg2 to i64 %21 = ptrtoint i64* %arg3 to i64 %22 = icmp sgt i32 %3, 1 %23 = ashr exact i64 %sext5, 32 %24 = ashr exact i64 %sext4, 32 %25 = trunc i64 %arg11 to i32 %26 = sext i32 %18 to i64 %27 = mul i64 %26, 2 %28 = sext i32 %14 to i64 %29 = mul i64 %28, 2 %30 = sext i32 %10 to i64 %31 = mul i64 %30, 2 %32 = sext i32 %6 to i64 store i32 0, i32* %storemerge16.reg2mem store i64 %21, i64* %sv_2.014.reg2mem store i64 %20, i64* %sv_1.012.reg2mem store i64 %19, i64* %sv_0.010.reg2mem br label LBL_4 LBL_2: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %33 = mul i64 %indvars.iv.reload, 2 %34 = add i64 %33, %sv_1.012.reload %35 = inttoptr i64 %34 to i16* %36 = load i16, i16* %35, align 2 %37 = zext i16 %36 to i64 %38 = mul nsw i64 %23, %37 %39 = trunc i64 %38 to i32 %40 = add i64 %33, %sv_2.014.reload %41 = inttoptr i64 %40 to i16* %42 = load i16, i16* %41, align 2 %43 = zext i16 %42 to i64 %44 = mul nsw i64 %24, %43 %45 = trunc i64 %44 to i32 %46 = add i32 %39, %25 %47 = add i32 %46, %45 %48 = udiv i32 %47, 256 %49 = add i64 %33, %sv_0.010.reload %50 = trunc i32 %48 to i16 %51 = inttoptr i64 %49 to i16* store i16 %50, i16* %51, align 2 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %52 = icmp slt i64 %indvars.iv.next, %32 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %52, label LBL_2, label LBL_3 LBL_3: %53 = add i64 %sv_1.012.reload, %27 %54 = add i64 %sv_2.014.reload, %29 %55 = add i64 %sv_0.010.reload, %31 %56 = add nuw nsw i32 %storemerge16.reload, 1 %exitcond = icmp eq i32 %56, %arg5 store i32 %56, i32* %storemerge16.reg2mem store i64 %54, i64* %sv_2.014.reg2mem store i64 %53, i64* %sv_1.012.reg2mem store i64 %55, i64* %sv_0.010.reg2mem br i1 %exitcond, label LBL_5, label LBL_4 LBL_4: %sv_0.010.reload = load i64, i64* %sv_0.010.reg2mem %sv_1.012.reload = load i64, i64* %sv_1.012.reg2mem %sv_2.014.reload = load i64, i64* %sv_2.014.reg2mem %storemerge16.reload = load i32, i32* %storemerge16.reg2mem store i64 0, i64* %indvars.iv.reg2mem br i1 %22, label LBL_2, label LBL_3 LBL_5: %phitmp = zext i32 %arg5 to i64 store i64 %phitmp, i64* %storemerge.lcssa.reg2mem br label LBL_6 LBL_6: %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem ret i64 %storemerge.lcssa.reload uselistorder i64 %33, { 2, 1, 0 } uselistorder i32 %5, { 1, 0 } uselistorder i32 %4, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 2, 0 } uselistorder i64* %storemerge.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32 %arg6, { 1, 0 } uselistorder i32 %arg5, { 1, 0, 2 } uselistorder i32 %arg4, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
stbl_AppendSize_19101
stbl_AppendSize
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem34 = alloca i64 %storemerge35.reg2mem = alloca i32 %.reg2mem32 = alloca i64 %.pre-phi14.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %.reg2mem30 = alloca i64 %.reg2mem28 = alloca i64 %.reg2mem26 = alloca i32 %.pre-phi18.reg2mem = alloca i32* %.pre-phi20.reg2mem = alloca i32 %.reg2mem = alloca i32 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 store i64 %0, i64* %rdi, align 8 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 32 %sext2 = mul i64 %arg3, 4294967296 %2 = ashr exact i64 %sext2, 32 %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false %spec.select = select i1 %5, i64 %2, i64 1 %6 = bitcast i64* %rdi to i32* %7 = trunc i64 %0 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = trunc i64 %1 to i32 %11 = add i64 %0, 4 %12 = inttoptr i64 %11 to i32* store i32 %10, i32* %12, align 4 %13 = load i32, i32* %6, align 8 %14 = load i64, i64* %rdi, align 8 %15 = trunc i64 %spec.select to i32 %16 = add i32 %13, %15 %17 = inttoptr i64 %14 to i32* store i32 %16, i32* %17, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_18 LBL_2: %18 = add i64 %0, 4 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = icmp eq i32 %20, 0 br i1 %21, label LBL_5, label LBL_3 LBL_3: %22 = trunc i64 %1 to i32 %23 = icmp eq i32 %20, %22 %24 = icmp eq i1 %23, false br i1 %24, label LBL_5, label LBL_4 LBL_4: %25 = trunc i64 %spec.select to i32 %26 = add i32 %25, %7 %27 = bitcast i64* %arg1 to i32* store i32 %26, i32* %27, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_18 LBL_5: %28 = add i64 %0, 24 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = icmp eq i64 %30, 0 br i1 %31, label LBL_5.LBL_8_crit_edge, label LBL_7 LBL_6: %.pre15 = add i64 %0, 8 %.pre17 = inttoptr i64 %.pre15 to i32* %.pre19 = trunc i64 %spec.select to i32 %.pre24 = load i32, i32* %.pre17, align 4 store i32 %.pre24, i32* %.reg2mem store i32 %.pre19, i32* %.pre-phi20.reg2mem store i32* %.pre17, i32** %.pre-phi18.reg2mem br label LBL_8 LBL_7: %32 = trunc i64 %spec.select to i32 %33 = add i32 %32, %7 %34 = add i64 %0, 8 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = icmp ugt i32 %33, %36 store i32 %36, i32* %.reg2mem store i32 %32, i32* %.pre-phi20.reg2mem store i32* %35, i32** %.pre-phi18.reg2mem store i32 %32, i32* %.pre-phi14.reg2mem store i64 %0, i64* %.reg2mem32 br i1 %37, label LBL_8, label LBL_13 LBL_8: %.pre-phi18.reload = load i32*, i32** %.pre-phi18.reg2mem %.pre-phi20.reload = load i32, i32* %.pre-phi20.reg2mem %.reload = load i32, i32* %.reg2mem %38 = add i32 %.reload, 10 store i32 %38, i32* %.pre-phi18.reload, align 4 %39 = load i32, i32* %6, align 8 %40 = add i32 %39, %.pre-phi20.reload %41 = load i64, i64* %rdi, align 8 %42 = add i64 %41, 8 %43 = inttoptr i64 %42 to i32* %44 = load i32, i32* %43, align 4 %45 = icmp ugt i32 %40, %44 store i32 %44, i32* %.reg2mem26 store i64 %41, i64* %.reg2mem28 br i1 %45, label LBL_9, label LBL_10 LBL_9: store i32 %40, i32* %43, align 4 %.pre = load i64, i64* %rdi, align 8 %.pre11 = add i64 %.pre, 8 %.pre12 = inttoptr i64 %.pre11 to i32* %.pre25 = load i32, i32* %.pre12, align 4 store i32 %.pre25, i32* %.reg2mem26 store i64 %.pre, i64* %.reg2mem28 br label LBL_10 LBL_10: %.reload29 = load i64, i64* %.reg2mem28 %.reload27 = load i32, i32* %.reg2mem26 %46 = zext i32 %.reload27 to i64 %47 = mul i64 %46, 4 %48 = add i64 %.reload29, 24 %49 = inttoptr i64 %48 to i64* %50 = load i64, i64* %49, align 8 store i64 %50, i64* %rdi, align 8 %51 = call i64 @FUNC(i64 %50, i64 %47) store i64 %51, i64* %49, align 8 %52 = add i64 %50, 24 %53 = inttoptr i64 %52 to i64* %54 = load i64, i64* %53, align 8 %55 = icmp eq i64 %54, 0 %56 = icmp eq i1 %55, false store i64 1, i64* %rax.0.reg2mem br i1 %56, label LBL_11, label LBL_18 LBL_11: %57 = load i64, i64* %rdi, align 8 %58 = add i64 %57, 8 %59 = inttoptr i64 %58 to i32* %60 = load i32, i32* %59, align 4 %61 = trunc i64 %57 to i32 %62 = sub i32 %60, %61 %63 = mul i32 %62, 4 %64 = add i64 %57, 24 %65 = inttoptr i64 %64 to i64* %66 = load i64, i64* %65, align 8 %67 = mul i64 %57, 4 %68 = and i64 %67, 17179869180 %69 = add i64 %68, %66 store i64 %69, i64* %rdi, align 8 %70 = inttoptr i64 %69 to i64* %71 = call i64* @memset(i64* %70, i32 0, i32 %63) %72 = icmp eq i1 %31, false %73 = trunc i64 %69 to i32 %74 = icmp eq i32 %73, 0 %or.cond = or i1 %72, %74 store i64 %69, i64* %.reg2mem30 store i64 0, i64* %indvars.iv.reg2mem store i32 %.pre-phi20.reload, i32* %.pre-phi14.reg2mem store i64 %69, i64* %.reg2mem32 br i1 %or.cond, label LBL_13, label LBL_12 LBL_12: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %.reload31 = load i64, i64* %.reg2mem30 %75 = add i64 %.reload31, 24 %76 = inttoptr i64 %75 to i64* %77 = load i64, i64* %76, align 8 %78 = mul i64 %indvars.iv.reload, 4 %79 = add i64 %77, %78 %80 = add i64 %.reload31, 4 %81 = inttoptr i64 %80 to i32* %82 = load i32, i32* %81, align 4 %83 = inttoptr i64 %79 to i32* store i32 %82, i32* %83, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %84 = load i32, i32* %6, align 8 %85 = zext i32 %84 to i64 %86 = icmp ult i64 %indvars.iv.next, %85 %.pre7 = load i64, i64* %rdi, align 8 store i64 %.pre7, i64* %.reg2mem30 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %.pre-phi20.reload, i32* %.pre-phi14.reg2mem store i64 %.pre7, i64* %.reg2mem32 br i1 %86, label LBL_12, label LBL_13 LBL_13: %.reload33 = load i64, i64* %.reg2mem32 %.pre-phi14.reload = load i32, i32* %.pre-phi14.reg2mem %87 = add i64 %.reload33, 4 %88 = inttoptr i64 %87 to i32* store i32 0, i32* %88, align 4 %89 = icmp eq i32 %.pre-phi14.reload, 0 %.pre21 = trunc i64 %1 to i32 store i32 0, i32* %storemerge35.reg2mem br i1 %89, label LBL_15, label LBL_14 LBL_14: %storemerge35.reload = load i32, i32* %storemerge35.reg2mem %90 = load i64, i64* %rdi, align 8 %91 = add i64 %90, 24 %92 = inttoptr i64 %91 to i64* %93 = load i64, i64* %92, align 8 %94 = trunc i64 %90 to i32 %95 = add i32 %storemerge35.reload, %94 %96 = zext i32 %95 to i64 %97 = mul i64 %96, 4 %98 = add i64 %97, %93 %99 = inttoptr i64 %98 to i32* store i32 %.pre21, i32* %99, align 4 %100 = add nuw i32 %storemerge35.reload, 1 %exitcond = icmp eq i32 %100, %.pre-phi14.reload store i32 %100, i32* %storemerge35.reg2mem br i1 %exitcond, label LBL_15, label LBL_14 LBL_15: %101 = load i32, i32* %6, align 8 %102 = load i64, i64* %rdi, align 8 %103 = add i32 %101, %.pre-phi14.reload %104 = inttoptr i64 %102 to i32* store i32 %103, i32* %104, align 4 %105 = load i64, i64* %rdi, align 8 %106 = add i64 %105, 12 %107 = inttoptr i64 %106 to i32* %108 = load i32, i32* %107, align 4 %109 = icmp ult i32 %108, %.pre21 store i64 %105, i64* %.reg2mem34 br i1 %109, label LBL_16, label LBL_17 LBL_16: store i32 %.pre21, i32* %107, align 4 %.pre9 = load i64, i64* %rdi, align 8 store i64 %.pre9, i64* %.reg2mem34 br label LBL_17 LBL_17: %.reload35 = load i64, i64* %.reg2mem34 %110 = add i64 %.reload35, 16 %111 = inttoptr i64 %110 to i32* %112 = load i32, i32* %111, align 4 %113 = add i32 %112, %.pre21 store i32 %113, i32* %111, align 4 %114 = load i64, i64* %rdi, align 8 %115 = add i64 %114, 20 %116 = inttoptr i64 %115 to i32* %117 = load i32, i32* %116, align 4 %118 = add i32 %117, %.pre-phi14.reload store i32 %118, i32* %116, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_18 LBL_18: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %.pre-phi14.reload, { 3, 2, 0, 1 } uselistorder i64 %.reload31, { 1, 0 } uselistorder i64 %57, { 0, 2, 1, 3 } uselistorder i32* %6, { 1, 2, 3, 0 } uselistorder i64 %spec.select, { 2, 0, 3, 1 } uselistorder i64 %1, { 0, 2, 1 } uselistorder i64 %0, { 0, 3, 1, 2, 4, 5, 6, 7 } uselistorder i64* %rdi, { 12, 0, 11, 10, 9, 1, 4, 8, 3, 2, 7, 6, 5, 13 } uselistorder i64* %.reg2mem30, { 2, 0, 1 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge35.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 } uselistorder i64 8, { 2, 1, 3, 4, 0 } uselistorder i64 4, { 0, 5, 4, 1, 2, 3, 6, 7 } uselistorder i64 1, { 1, 0, 2 } uselistorder i32 0, { 0, 2, 4, 1, 3, 5, 6, 7 } uselistorder label LBL_18, { 1, 0, 2, 3 } uselistorder label LBL_17, { 1, 0 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_13, { 0, 2, 1 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_8, { 1, 0 } }
1
BinRealVul
ogg_get_length_2951
ogg_get_length
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0.2.reg2mem = alloca i32 %sv_0.1.reg2mem = alloca i32 %.reg2mem = alloca i64 %sv_0.0.ph.lcssa.reg2mem = alloca i32 %.pre-phi20.reg2mem = alloca i64* %.pre-phi22.reg2mem = alloca i64* %sv_0.0.ph9.reg2mem = alloca i32 %sv_0.0.ph.be.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i32, align 4 %1 = add i64 %0, 16 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_1, label LBL_28 LBL_1: %8 = add i64 %0, 24 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = icmp eq i64 %10, -1 br i1 %11, label LBL_2, label LBL_28 LBL_2: %12 = add i64 %0, 32 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = call i64 @FUNC(i64 %3) %sext = mul i64 %15, 4294967296 %16 = icmp slt i64 %sext, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_3, label LBL_28 LBL_3: %18 = ashr exact i64 %sext, 32 %19 = add nsw i64 %18, -65536 %20 = sub nsw i64 65535, %18 %21 = and i64 %20, %18 %22 = icmp slt i64 %21, 0 %23 = icmp slt i64 %19, 0 %24 = icmp eq i1 %23, %22 %25 = select i1 %24, i64 %19, i64 0 %26 = call i64 @FUNC(i64 %0) %27 = load i64, i64* %2, align 8 %28 = call i64 @FUNC(i64 %27, i64 %25, i64 0) %29 = call i64 @FUNC(i64 %0, i32* nonnull %sv_1) %30 = trunc i64 %29 to i32 %31 = icmp eq i32 %30, 0 br i1 %31, label LBL_5, label LBL_3.dec_label_pc_40146b.outer.LBL_15_crit_edge_crit_edge LBL_4: %.pre31 = add i64 %0, 8 %.pre32 = inttoptr i64 %.pre31 to i64* %.pre33 = inttoptr i64 %14 to i64* store i64* %.pre33, i64** %.pre-phi22.reg2mem store i64* %.pre32, i64** %.pre-phi20.reg2mem store i32 0, i32* %sv_0.0.ph.lcssa.reg2mem br label LBL_15 LBL_5: %32 = inttoptr i64 %14 to i64* %33 = add i64 %0, 8 %34 = inttoptr i64 %33 to i64* store i32 0, i32* %sv_0.0.ph9.reg2mem br label LBL_6.lr.ph LBL_6: %35 = load i64, i64* %32, align 8 %36 = load i32, i32* %sv_1, align 4 %37 = sext i32 %36 to i64 %38 = mul nsw i64 %37, 12 %39 = add i64 %38, %35 %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 4 switch i32 %41, label LBL_7 [ i32 -1, label LBL_8 i32 0, label LBL_8 ] LBL_7: %42 = add i64 %39, 4 %43 = inttoptr i64 %42 to i32* %44 = load i32, i32* %43, align 4 %45 = icmp eq i32 %44, 0 br i1 %45, label LBL_8, label LBL_9 LBL_8: %46 = call i64 @FUNC(i64 %0, i32* nonnull %sv_1) %47 = trunc i64 %46 to i32 %48 = icmp eq i32 %47, 0 store i64* %32, i64** %.pre-phi22.reg2mem store i64* %34, i64** %.pre-phi20.reg2mem store i32 %sv_0.0.ph9.reload, i32* %sv_0.0.ph.lcssa.reg2mem br i1 %48, label LBL_6, label LBL_15 LBL_9: %49 = call i64 @FUNC(i64 %0, i32 %36, i32 %41, i64 0) %50 = load i64, i64* %34, align 8 %51 = load i32, i32* %sv_1, align 4 %52 = sext i32 %51 to i64 %53 = mul i64 %52, 8 %54 = add i64 %53, %50 %55 = inttoptr i64 %54 to i64* %56 = load i64, i64* %55, align 8 %sext1 = mul i64 %49, 4294967296 %57 = ashr exact i64 %sext1, 32 %58 = inttoptr i64 %56 to i64* store i64 %57, i64* %58, align 8 %59 = load i64, i64* %34, align 8 %60 = add i64 %59, %53 %61 = inttoptr i64 %60 to i64* %62 = load i64, i64* %61, align 8 %63 = add i64 %62, 8 %64 = inttoptr i64 %63 to i64* %65 = load i64, i64* %64, align 8 %66 = icmp eq i64 %65, -1 br i1 %66, label LBL_11, label LBL_10 LBL_10: %67 = inttoptr i64 %62 to i64* %68 = load i64, i64* %67, align 8 %69 = sub i64 %68, %65 store i64 %69, i64* %67, align 8 %70 = load i64, i64* %32, align 8 %71 = mul nsw i64 %52, 12 %72 = add nsw i64 %71, 8 %73 = add i64 %72, %70 %74 = inttoptr i64 %73 to i32* %75 = load i32, i32* %74, align 4 %76 = icmp eq i32 %75, -1 %77 = zext i1 %76 to i32 %78 = sub i32 %sv_0.0.ph9.reload, %77 store i32 1, i32* %74, align 4 store i32 %78, i32* %sv_0.0.ph.be.reg2mem br label LBL_13 LBL_11: %79 = load i64, i64* %32, align 8 %80 = mul nsw i64 %52, 12 %81 = add nsw i64 %80, 8 %82 = add i64 %81, %79 %83 = inttoptr i64 %82 to i32* %84 = load i32, i32* %83, align 4 %85 = icmp eq i32 %84, 0 %86 = icmp eq i1 %85, false br i1 %86, label LBL_8, label LBL_12 LBL_12: store i32 -1, i32* %83, align 4 %87 = add i32 %sv_0.0.ph9.reload, 1 store i32 %87, i32* %sv_0.0.ph.be.reg2mem br label LBL_13 LBL_13: %sv_0.0.ph.be.reload = load i32, i32* %sv_0.0.ph.be.reg2mem %88 = call i64 @FUNC(i64 %0, i32* nonnull %sv_1) %89 = trunc i64 %88 to i32 %90 = icmp eq i32 %89, 0 store i32 %sv_0.0.ph.be.reload, i32* %sv_0.0.ph9.reg2mem store i64* %32, i64** %.pre-phi22.reg2mem store i64* %34, i64** %.pre-phi20.reg2mem store i32 %sv_0.0.ph.be.reload, i32* %sv_0.0.ph.lcssa.reg2mem br i1 %90, label LBL_6.lr.ph, label LBL_15 LBL_14: %sv_0.0.ph9.reload = load i32, i32* %sv_0.0.ph9.reg2mem br label LBL_6 LBL_15: %sv_0.0.ph.lcssa.reload = load i32, i32* %sv_0.0.ph.lcssa.reg2mem %.pre-phi20.reload = load i64*, i64** %.pre-phi20.reg2mem %.pre-phi22.reload = load i64*, i64** %.pre-phi22.reg2mem %91 = call i64 @FUNC(i64 %0, i64 0) %92 = call i64 @FUNC(i64 %0) %93 = load i64, i64* %2, align 8 %94 = call i64 @FUNC(i64 %93, i64 %0, i64 0) %95 = call i64 @FUNC(i64 %0) store i32 -1, i32* %sv_1, align 4 store i32 %sv_0.0.ph.lcssa.reload, i32* %sv_0.2.reg2mem br label LBL_26 LBL_16: %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %96 = load i32, i32* %sv_1, align 4 %97 = icmp slt i32 %96, 0 store i32 %sv_0.2.reload, i32* %sv_0.1.reg2mem br i1 %97, label LBL_25, label LBL_17 LBL_17: %98 = zext i32 %96 to i64 %99 = call i64 @FUNC(i64 %0, i64 %98, i64 0) %100 = icmp eq i64 %99, -1 %.pre = load i64, i64* %.pre-phi20.reload, align 8 %.pre17 = load i32, i32* %sv_1, align 4 %.pre23 = sext i32 %.pre17 to i64 %.pre25 = mul i64 %.pre23, 8 %.pre27 = add i64 %.pre25, %.pre %.pre29 = inttoptr i64 %.pre27 to i64* %.pre50 = load i64, i64* %.pre29, align 8 %.pre51 = add i64 %.pre50, 8 %.pre52 = inttoptr i64 %.pre51 to i64* br i1 %100, label LBL_21, label LBL_18 LBL_18: %101 = load i64, i64* %.pre52, align 8 %102 = icmp eq i64 %101, -1 %103 = icmp eq i1 %102, false store i64 %101, i64* %.reg2mem br i1 %103, label LBL_22, label LBL_19 LBL_19: %104 = load i64, i64* %.pre-phi22.reload, align 8 %105 = mul nsw i64 %.pre23, 12 %106 = add nsw i64 %105, 8 %107 = add i64 %106, %104 %108 = inttoptr i64 %107 to i32* %109 = load i32, i32* %108, align 4 %110 = icmp eq i32 %109, 0 %111 = icmp eq i1 %110, false br i1 %111, label LBL_21, label LBL_20 LBL_20: %112 = inttoptr i64 %.pre50 to i64* %113 = load i64, i64* %112, align 8 %114 = sub i64 %113, %99 store i64 %114, i64* %112, align 8 %115 = load i64, i64* %.pre-phi22.reload, align 8 %116 = add i64 %106, %115 %117 = inttoptr i64 %116 to i32* store i32 1, i32* %117, align 4 %118 = add i32 %sv_0.2.reload, -1 store i32 %118, i32* %sv_0.1.reg2mem br label LBL_25 LBL_21: %.pr = load i64, i64* %.pre52, align 8 store i64 %.pr, i64* %.reg2mem br label LBL_22 LBL_22: %.reload = load i64, i64* %.reg2mem %119 = icmp eq i64 %.reload, -1 store i32 %sv_0.2.reload, i32* %sv_0.1.reg2mem br i1 %119, label LBL_25, label LBL_23 LBL_23: %120 = load i64, i64* %.pre-phi22.reload, align 8 %121 = mul nsw i64 %.pre23, 12 %122 = add nsw i64 %121, 8 %123 = add i64 %122, %120 %124 = inttoptr i64 %123 to i32* %125 = load i32, i32* %124, align 4 %126 = icmp eq i32 %125, 0 %127 = icmp eq i1 %126, false store i32 %sv_0.2.reload, i32* %sv_0.1.reg2mem br i1 %127, label LBL_25, label LBL_24 LBL_24: store i32 1, i32* %124, align 4 %128 = add i32 %sv_0.2.reload, -1 store i32 %128, i32* %sv_0.1.reg2mem br label LBL_25 LBL_25: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %129 = icmp slt i32 %sv_0.1.reload, 1 store i32 %sv_0.1.reload, i32* %sv_0.2.reg2mem br i1 %129, label LBL_27, label LBL_26 LBL_26: %130 = call i64 @FUNC(i64 %0, i32* nonnull %sv_1, i64 0, i64 0, i64 0) %131 = trunc i64 %130 to i32 %132 = icmp eq i32 %131, 0 br i1 %132, label LBL_16, label LBL_27 LBL_27: %133 = call i64 @FUNC(i64 %0, i64 0) br label LBL_28 LBL_28: ret i64 0 uselistorder i64 %.pre23, { 1, 2, 0 } uselistorder i32 %sv_0.2.reload, { 0, 4, 3, 1, 2 } uselistorder i32 %sv_0.0.ph9.reload, { 0, 2, 1 } uselistorder i64 %53, { 1, 0 } uselistorder i64 %52, { 2, 1, 0 } uselistorder i32 %41, { 1, 0 } uselistorder i64* %34, { 0, 2, 3, 1 } uselistorder i64* %32, { 0, 3, 2, 1, 4 } uselistorder i64 %18, { 0, 2, 1 } uselistorder i64 %14, { 1, 0 } uselistorder i32* %sv_1, { 3, 0, 5, 6, 2, 7, 4, 8, 1 } uselistorder i64 %0, { 4, 5, 3, 6, 8, 7, 9, 2, 11, 12, 10, 0, 1, 13, 16, 14, 15 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 3, 4, 1, 5 } uselistorder i32* %sv_0.2.reg2mem, { 1, 0, 2 } uselistorder i64 (i64, i64)* @ogg_restore, { 1, 0 } uselistorder i32 -1, { 2, 3, 4, 5, 1, 0 } uselistorder i64 12, { 3, 4, 0, 1, 2 } uselistorder i64 8, { 6, 7, 2, 0, 4, 5, 8, 1, 9, 3 } uselistorder i64 (i64, i32*)* @ogg_read_page, { 1, 2, 0 } uselistorder i64 (i64, i64, i64)* @avio_seek, { 1, 0 } uselistorder i64 (i64)* @ogg_save, { 1, 0 } uselistorder i64 -1, { 1, 2, 3, 0, 4 } uselistorder i32 0, { 8, 5, 6, 7, 3, 9, 11, 10, 4, 1, 0, 2, 12 } uselistorder label LBL_28, { 3, 0, 1, 2 } uselistorder label LBL_27, { 1, 0 } uselistorder label LBL_21, { 1, 0 } uselistorder label LBL_6.lr.ph, { 1, 0 } uselistorder label LBL_8, { 1, 0, 2, 3 } }
0
BinRealVul
colo_packet_compare_other_16012
colo_packet_compare_other
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 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %4 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0)) %5 = call i64 @FUNC(i64 1) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = trunc i64 %1 to i32 %9 = trunc i64 %2 to i32 %10 = insertvalue %in_addr undef, i32 %9, 0 %11 = call i8* @inet_ntoa(%in_addr %10) %12 = ptrtoint i8* %11 to i64 %13 = bitcast i64* %sv_3 to i8* %14 = call i8* @strcpy(i8* nonnull %13, i8* %11) %15 = add i64 %12, 4 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = insertvalue %in_addr undef, i32 %17, 0 %19 = call i8* @inet_ntoa(%in_addr %18) %20 = bitcast i64* %sv_2 to i8* %21 = call i8* @strcpy(i8* nonnull %20, i8* %19) %22 = insertvalue %in_addr undef, i32 %8, 0 %23 = call i8* @inet_ntoa(%in_addr %22) %24 = ptrtoint i64* %sv_1 to i64 %25 = bitcast i64* %sv_1 to i8* %26 = call i8* @strcpy(i8* nonnull %25, i8* %23) %27 = or i64 %24, 4 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = insertvalue %in_addr undef, i32 %29, 0 %31 = call i8* @inet_ntoa(%in_addr %30) %32 = bitcast i64* %sv_0 to i8* %33 = call i8* @strcpy(i8* nonnull %32, i8* %31) %34 = add i64 %3, 8 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = add i64 %2, 8 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 %40 = zext i32 %39 to i64 %41 = call i64 @FUNC(i64 %40, i64* nonnull %sv_3, i64* nonnull %sv_2, i32 %36, i64* nonnull %sv_1, i64* nonnull %sv_0) br label LBL_2 LBL_2: %42 = call i64 @FUNC(i64 %2, i64 %3, i64 0) ret i64 %42 uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i8* (i8*, i8*)* @strcpy, { 1, 0, 3, 2 } uselistorder i8* (%in_addr)* @inet_ntoa, { 3, 2, 1, 0 } uselistorder i64 1, { 1, 0 } }
1
BinRealVul
usb_msd_class_initfn_bot_687
usb_msd_class_initfn_bot
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 4198662, i64* %arg1, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* store i64 4198669, i64* %2, align 8 %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i32* store i32 1, i32* %4, align 4 ret i64 %0 uselistorder i64 %0, { 1, 0, 2 } }
0
BinRealVul
mov_read_smi_2349
mov_read_smi
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 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp slt i32 %3, 0 %6 = icmp eq i1 %5, false %7 = icmp eq i1 %4, false %8 = icmp eq i1 %6, %7 store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_1, label LBL_6 LBL_1: %9 = icmp ult i64 %arg3, 1073741825 store i64 4294967295, i64* %rax.0.reg2mem br i1 %9, label LBL_2, label LBL_6 LBL_2: %sext = mul i64 %2, 4294967296 %10 = ashr exact i64 %sext, 29 %11 = add nsw i64 %10, -8 %12 = add i64 %2, 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = add i64 %11, %14 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = call i64 @FUNC(i64 %21) %23 = add i64 %arg3, 122 %24 = load i64, i64* %18, align 8 %25 = call i64 @FUNC(i64 %23) %26 = inttoptr i64 %24 to i64* store i64 %25, i64* %26, align 8 %27 = load i64, i64* %18, align 8 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = icmp eq i64 %29, 0 %31 = icmp eq i1 %30, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %31, label LBL_3, label LBL_6 LBL_3: %32 = trunc i64 %arg3 to i32 %33 = add i32 %32, 90 %34 = add i64 %27, 8 %35 = inttoptr i64 %34 to i32* store i32 %33, i32* %35, align 4 %36 = load i64, i64* %18, align 8 %37 = inttoptr i64 %36 to i64* %38 = load i64, i64* %37, align 8 %39 = inttoptr i64 %38 to i64* %40 = call i64* @memcpy(i64* %39, i64* bitcast ([5 x i8]* @gv_0 to i64*), i32 4) %41 = load i64, i64* %18, align 8 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = add i64 %43, 90 %45 = call i64 @FUNC(i64 %arg2, i64 %44, i64 %arg3) %46 = trunc i64 %45 to i32 %47 = icmp slt i32 %46, 0 %48 = icmp eq i1 %47, false br i1 %48, label LBL_5, label LBL_4 LBL_4: %49 = and i64 %45, 4294967295 store i64 %49, i64* %rax.0.reg2mem br label LBL_6 LBL_5: %50 = load i64, i64* %18, align 8 %51 = inttoptr i64 %50 to i64* %52 = load i64, i64* %51, align 8 %53 = add i64 %52, 90 %54 = call i64 @FUNC(i64 %arg2, i64 1, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i64 %arg3, i64 %53, i64 %1) 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 i64 %2, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 1, 2, 3 } uselistorder i1 false, { 1, 2, 3, 0 } uselistorder i32 0, { 1, 2, 3, 0 } uselistorder label LBL_6, { 3, 4, 0, 1, 2 } }
0
BinRealVul
get_sot_15165
get_sot
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 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = sub i64 %3, %0 %5 = icmp sgt i64 %4, 3 store i64 4294967274, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_4 LBL_1: %6 = call i64 @FUNC(i64 %0) %7 = trunc i64 %6 to i32 %8 = urem i32 %7, 65536 %9 = add i64 %0, 16 %10 = inttoptr i64 %9 to i32* store i32 %8, i32* %10, align 4 %11 = add i64 %0, 20 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = add i64 %0, 24 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = mul i32 %16, %13 %18 = icmp ult i32 %8, %17 br i1 %18, label LBL_3, label LBL_2 LBL_2: store i32 0, i32* %10, align 4 store i64 4294967274, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %19 = add i64 %0, 4 store i64 %19, i64* %arg1, align 8 %20 = call i64 @FUNC(i64 %0) %21 = call i64 @FUNC(i64 %0) store i64 0, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %8, { 1, 0 } uselistorder i64 %0, { 0, 1, 2, 4, 3, 6, 5, 8, 7 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64)* @bytestream_get_byte, { 1, 0 } uselistorder i64 4294967274, { 1, 0 } uselistorder label LBL_4, { 1, 2, 0 } }
1
BinRealVul
seqvideo_decode_14383
seqvideo_decode
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %rax.0.reg2mem = alloca i64 %sv_0.513.reg2mem = alloca i8* %rdi.214.reg2mem = alloca i64 %storemerge15.reg2mem = alloca i32 %rdi.0.reg2mem = alloca i64 %sv_0.3.reg2mem = alloca i8* %sv_0.410.reg2mem = alloca i8* %rdi.111.reg2mem = alloca i64 %storemerge512.reg2mem = alloca i32 %sv_0.2.reg2mem = alloca i8* %sv_0.118.reg2mem = alloca i8* %indvars.iv22.reg2mem = alloca i64 %sv_0.017.reg2mem = alloca i8* %indvars.iv.reg2mem = alloca i64 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg2 to i64 %4 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %5 = load i32, i32* %1 %6 = load i32, i32* %1 %7 = load i32, i32* %1 %sv_2 = alloca i64, align 8 %sext = mul i64 %arg3, 4294967296 %8 = ashr exact i64 %sext, 32 %9 = add i64 %8, %3 %10 = add i64 %3, 1 %11 = inttoptr i64 %10 to i8* %12 = trunc i64 %2 to i32 %13 = urem i32 %12, 2 %14 = icmp eq i32 %13, 0 store i8* %11, i8** %sv_0.2.reg2mem br i1 %14, label LBL_7, label LBL_1 LBL_1: %15 = add i64 %4, 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = sub i64 %9, %10 %19 = icmp sgt i64 %18, 767 store i64 4294967295, i64* %rax.0.reg2mem br i1 %19, label LBL_2, label LBL_20 LBL_2: %20 = ptrtoint i64* %sv_2 to i64 %21 = add i64 %20, -83 %22 = mul i32 %7, 65536 %23 = mul i32 %6, 256 %24 = and i32 %23, 65280 %25 = urem i32 %5, 256 %26 = or i32 %25, %24 %27 = or i32 %26, %22 %28 = or i32 %27, -16777216 store i64 0, i64* %indvars.iv22.reg2mem store i8* %11, i8** %sv_0.118.reg2mem br label LBL_5 LBL_3: %sv_0.017.reload = load i8*, i8** %sv_0.017.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %29 = load i8, i8* %sv_0.017.reload, align 1 %30 = mul i8 %29, 4 %31 = udiv i8 %29, 16 %32 = or i8 %30, %31 %33 = add nuw nsw i64 %21, %indvars.iv.reload %34 = inttoptr i64 %33 to i8* store i8 %32, i8* %34, align 1 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %35 = ptrtoint i8* %sv_0.017.reload to i64 %36 = add i64 %35, 1 %37 = inttoptr i64 %36 to i8* %exitcond = icmp eq i64 %indvars.iv.next, 3 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i8* %37, i8** %sv_0.017.reg2mem br i1 %exitcond, label LBL_4, label LBL_3 LBL_4: %38 = mul i64 %indvars.iv22.reload, 4 %39 = add i64 %38, %17 %40 = inttoptr i64 %39 to i32* store i32 %28, i32* %40, align 4 %indvars.iv.next23 = add nuw nsw i64 %indvars.iv22.reload, 1 %exitcond24 = icmp eq i64 %indvars.iv.next23, 256 store i64 %indvars.iv.next23, i64* %indvars.iv22.reg2mem store i8* %37, i8** %sv_0.118.reg2mem br i1 %exitcond24, label LBL_6, label LBL_5 LBL_5: %sv_0.118.reload = load i8*, i8** %sv_0.118.reg2mem %indvars.iv22.reload = load i64, i64* %indvars.iv22.reg2mem store i64 0, i64* %indvars.iv.reg2mem store i8* %sv_0.118.reload, i8** %sv_0.017.reg2mem br label LBL_3 LBL_6: %41 = add i64 %4, 16 %42 = inttoptr i64 %41 to i32* store i32 1, i32* %42, align 4 store i8* %37, i8** %sv_0.2.reg2mem br label LBL_7 LBL_7: %43 = and i32 %12, 2 %44 = icmp eq i32 %43, 0 store i64 0, i64* %rax.0.reg2mem br i1 %44, label LBL_20, label LBL_8 LBL_8: %sv_0.2.reload = load i8*, i8** %sv_0.2.reg2mem %45 = ptrtoint i8* %sv_0.2.reload to i64 %46 = sub i64 %9, %45 %47 = icmp sgt i64 %46, 127 store i64 4294967295, i64* %rax.0.reg2mem br i1 %47, label LBL_9, label LBL_20 LBL_9: %48 = ptrtoint i64* %sv_1 to i64 %49 = call i64 @FUNC(i64* nonnull %sv_1, i64 %45, i64 1024) %50 = add i64 %45, 128 %51 = inttoptr i64 %50 to i8* %52 = add i64 %4, 20 %53 = inttoptr i64 %52 to i32* store i32 0, i32* %storemerge15.reg2mem store i64 %48, i64* %rdi.214.reg2mem store i8* %51, i8** %sv_0.513.reg2mem br label LBL_17.preheader LBL_10: %sv_0.410.reload = load i8*, i8** %sv_0.410.reg2mem %rdi.111.reload = load i64, i64* %rdi.111.reg2mem %storemerge512.reload = load i32, i32* %storemerge512.reg2mem %54 = load i32, i32* %53, align 4 %55 = mul i32 %54, %storemerge15.reload %56 = add i32 %55, %storemerge512.reload %57 = sext i32 %56 to i64 %58 = add i64 %rdi.111.reload, %57 %59 = call i64 @FUNC(i64* nonnull %sv_1, i64 2) %60 = trunc i64 %59 to i32 %61 = icmp eq i32 %60, 3 br i1 %61, label LBL_15, label LBL_11 LBL_11: %62 = icmp sgt i32 %60, 3 store i8* %sv_0.410.reload, i8** %sv_0.3.reg2mem store i64 %48, i64* %rdi.0.reg2mem br i1 %62, label LBL_16, label LBL_12 LBL_12: store i8* %sv_0.410.reload, i8** %sv_0.3.reg2mem store i64 %48, i64* %rdi.0.reg2mem switch i32 %60, label LBL_16 [ i32 1, label LBL_13 i32 2, label LBL_14 ] LBL_13: %63 = ptrtoint i8* %sv_0.410.reload to i64 %64 = call i64 @FUNC(i64 %4, i64 %63, i64 %9, i64 %58) %65 = inttoptr i64 %64 to i8* store i8* %65, i8** %sv_0.3.reg2mem store i64 %4, i64* %rdi.0.reg2mem br label LBL_16 LBL_14: %66 = ptrtoint i8* %sv_0.410.reload to i64 %67 = call i64 @FUNC(i64 %4, i64 %66, i64 %9, i64 %58) %68 = inttoptr i64 %67 to i8* store i8* %68, i8** %sv_0.3.reg2mem store i64 %4, i64* %rdi.0.reg2mem br label LBL_16 LBL_15: %69 = ptrtoint i8* %sv_0.410.reload to i64 %70 = call i64 @FUNC(i64 %4, i64 %69, i64 %9, i64 %58) %71 = inttoptr i64 %70 to i8* store i8* %71, i8** %sv_0.3.reg2mem store i64 %4, i64* %rdi.0.reg2mem br label LBL_16 LBL_16: %sv_0.3.reload = load i8*, i8** %sv_0.3.reg2mem %72 = icmp eq i8* %sv_0.3.reload, null %73 = icmp eq i1 %72, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %73, label LBL_17, label LBL_20 LBL_17: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %74 = add nuw nsw i32 %storemerge512.reload, 8 %75 = icmp ult i32 %74, 256 store i32 %74, i32* %storemerge512.reg2mem store i64 %rdi.0.reload, i64* %rdi.111.reg2mem store i8* %sv_0.3.reload, i8** %sv_0.410.reg2mem br i1 %75, label LBL_10, label LBL_18 LBL_18: %76 = add nuw nsw i32 %storemerge15.reload, 8 %77 = icmp ult i32 %76, 128 store i32 %76, i32* %storemerge15.reg2mem store i64 %rdi.0.reload, i64* %rdi.214.reg2mem store i8* %sv_0.3.reload, i8** %sv_0.513.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %77, label LBL_17.preheader, label LBL_20 LBL_19: %sv_0.513.reload = load i8*, i8** %sv_0.513.reg2mem %rdi.214.reload = load i64, i64* %rdi.214.reg2mem %storemerge15.reload = load i32, i32* %storemerge15.reg2mem store i32 0, i32* %storemerge512.reg2mem store i64 %rdi.214.reload, i64* %rdi.111.reg2mem store i8* %sv_0.513.reload, i8** %sv_0.410.reg2mem br label LBL_10 LBL_20: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %storemerge15.reload, { 1, 0 } uselistorder i8* %sv_0.3.reload, { 0, 2, 1 } uselistorder i64 %58, { 2, 0, 1 } uselistorder i8* %sv_0.410.reload, { 4, 2, 3, 0, 1 } uselistorder i64 %48, { 1, 2, 0 } uselistorder i64 %indvars.iv22.reload, { 1, 0 } uselistorder i8 %29, { 1, 0 } uselistorder i32 %12, { 1, 0 } uselistorder i8* %11, { 1, 0 } uselistorder i64 %9, { 3, 1, 2, 4, 0 } uselistorder i64 %4, { 2, 7, 0, 5, 1, 6, 8, 3, 4 } uselistorder i64 %3, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 } uselistorder i8** %sv_0.017.reg2mem, { 2, 1, 0 } uselistorder i32* %storemerge512.reg2mem, { 2, 1, 0 } uselistorder i64* %rdi.111.reg2mem, { 2, 1, 0 } uselistorder i8** %sv_0.410.reg2mem, { 2, 1, 0 } uselistorder i8** %sv_0.3.reg2mem, { 0, 5, 2, 3, 1, 4 } uselistorder i64* %rdi.0.reg2mem, { 0, 5, 2, 3, 1, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 4, 3, 5 } uselistorder i32* %1, { 2, 1, 0 } uselistorder i32 8, { 1, 0 } uselistorder i32 3, { 1, 0 } uselistorder i32 256, { 2, 1, 0 } uselistorder i32 0, { 1, 0, 2, 3, 4 } uselistorder i32 2, { 2, 1, 0 } uselistorder i64 1, { 0, 2, 1, 3 } uselistorder label LBL_20, { 0, 1, 3, 2, 4 } uselistorder label LBL_17.preheader, { 1, 0 } uselistorder label LBL_16, { 1, 2, 3, 0, 4 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
cirrus_bitblt_cputovideo_next_14863
cirrus_bitblt_cputovideo_next
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i32* %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %2 = trunc i64 %1 to i32 %3 = and i64 %1, 4294967295 %4 = icmp slt i32 %2, 1 store i64 %3, i64* %rax.0.reg2mem br i1 %4, label LBL_7, label LBL_1 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = add i64 %5, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = urem i32 %8, 2 %10 = icmp eq i32 %9, 0 br i1 %10, label LBL_2, label LBL_3 LBL_2: %11 = ptrtoint i64* %sv_0 to i64 %12 = bitcast i64* %rdi to i32* %13 = add i64 %11, -16 %14 = inttoptr i64 %13 to i64* %15 = add i64 %5, 24 %16 = inttoptr i64 %15 to i32* %17 = add i64 %5, 16 %18 = inttoptr i64 %17 to i32* %19 = add i64 %5, 20 %20 = inttoptr i64 %19 to i32* %21 = add i64 %5, 28 %22 = inttoptr i64 %21 to i32* %23 = bitcast i64* %arg1 to i32* %24 = add i64 %5, 8 %25 = inttoptr i64 %24 to i64* %26 = add i64 %5, 40 %27 = inttoptr i64 %26 to i64* %28 = add i64 %5, 32 %29 = inttoptr i64 %28 to i64* br label LBL_5 LBL_3: %30 = add i64 %5, 8 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = call i64 @FUNC(i64 %5, i64 %32) %.pre = bitcast i64* %arg1 to i32* store i32* %.pre, i32** %.pre-phi.reg2mem br label LBL_4 LBL_4: %.pre-phi.reload = load i32*, i32** %.pre-phi.reg2mem store i32 0, i32* %.pre-phi.reload, align 4 %34 = call i64 @FUNC(i64 %5) store i64 %34, i64* %rax.0.reg2mem br label LBL_7 LBL_5: store i64 1, i64* %14, align 8 %35 = load i32, i32* %16, align 4 %36 = load i32, i32* %18, align 4 %37 = zext i32 %35 to i64 %38 = call i64 @FUNC(i64 %5, i32 %36, i64 0, i64 %37, i64 1) %39 = load i32, i32* %18, align 4 %40 = load i32, i32* %20, align 4 %41 = add i32 %40, %39 store i32 %41, i32* %18, align 4 %42 = load i32, i32* %12, align 8 %43 = load i32, i32* %22, align 4 %44 = sub i32 %42, %43 store i32 %44, i32* %23, align 4 %45 = icmp slt i32 %42, 1 store i32* %23, i32** %.pre-phi.reg2mem br i1 %45, label LBL_4, label LBL_6 LBL_6: %46 = load i64, i64* %25, align 8 %47 = load i32, i32* %22, align 4 %48 = sext i32 %47 to i64 %49 = add i64 %46, %48 %50 = load i64, i64* %27, align 8 %51 = sub i64 %50, %49 %52 = trunc i64 %51 to i32 %53 = inttoptr i64 %46 to i64* %54 = inttoptr i64 %49 to i64* %55 = call i64* @memmove(i64* %53, i64* %54, i32 %52) %56 = load i64, i64* %25, align 8 %sext = mul i64 %51, 4294967296 %57 = ashr exact i64 %sext, 32 %58 = add i64 %57, %56 store i64 %58, i64* %29, align 8 %59 = load i64, i64* %25, align 8 %60 = load i32, i32* %22, align 4 %61 = sext i32 %60 to i64 %62 = add i64 %59, %61 store i64 %62, i64* %27, align 8 %63 = load i64, i64* %29, align 8 %64 = icmp ult i64 %63, %62 %65 = icmp eq i1 %64, false store i64 %62, i64* %rax.0.reg2mem br i1 %65, label LBL_5, label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %46, { 1, 0 } uselistorder i64 %5, { 8, 3, 10, 11, 0, 2, 1, 4, 7, 6, 5, 9 } uselistorder i64 %1, { 1, 0 } uselistorder i32** %.pre-phi.reg2mem, { 1, 0, 2 } uselistorder i64 8, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
dup_mnt_ns_11003
dup_mnt_ns
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %sv_1.11.reg2mem = alloca i64 %sv_0.12.reg2mem = alloca i64 %sv_2.03.reg2mem = alloca i64 %storemerge5.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg2) %1 = call i64 @FUNC(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_1, label LBL_14 LBL_1: %4 = call i64 @FUNC(i64* nonnull @gv_0) %5 = add i64 %arg1, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = icmp eq i64 %7, %arg2 %spec.select = select i1 %8, i32 3, i32 7 %9 = call i64 @FUNC(i64 %arg1, i64 ptrtoint (i64* @gv_0 to i64), i32 %spec.select) %10 = call i64 @FUNC(i64 %9) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 br i1 %12, label LBL_3, label LBL_2 LBL_2: %13 = call i64 @FUNC(i64* nonnull @gv_0) %14 = call i64 @FUNC(i64 %0) %15 = call i64 @FUNC(i64 %9) store i64 %15, i64* %rax.0.reg2mem br label LBL_14 LBL_3: %16 = inttoptr i64 %0 to i64* store i64 %9, i64* %16, align 8 %17 = call i64 @FUNC(i64* nonnull @gv_1) %18 = add i64 %9, 8 %19 = add i64 %0, 16 %20 = call i64 @FUNC(i64 %19, i64 %18) %21 = call i64 @FUNC(i64* nonnull @gv_1) %22 = icmp eq i64 %arg1, 0 %23 = icmp eq i1 %22, false br i1 %23, label LBL_5, label LBL_4 LBL_4: %24 = call i64 @FUNC(i64* nonnull @gv_0) store i64 %0, i64* %rax.0.reg2mem br label LBL_14 LBL_5: %25 = icmp eq i64 %arg3, 0 %26 = inttoptr i64 %arg3 to i64* %27 = add i64 %arg3, 8 %28 = inttoptr i64 %27 to i64* store i64 %9, i64* %storemerge5.reg2mem store i64 %arg1, i64* %sv_2.03.reg2mem store i64 0, i64* %sv_0.12.reg2mem store i64 0, i64* %sv_1.11.reg2mem br label LBL_6 LBL_6: %sv_1.11.reload = load i64, i64* %sv_1.11.reg2mem %sv_0.12.reload = load i64, i64* %sv_0.12.reg2mem %sv_2.03.reload = load i64, i64* %sv_2.03.reg2mem %storemerge5.reload = load i64, i64* %storemerge5.reg2mem %29 = add i64 %storemerge5.reload, 16 %30 = inttoptr i64 %29 to i64* store i64 %0, i64* %30, align 8 store i64 %sv_1.11.reload, i64* %sv_1.0.reg2mem store i64 %sv_0.12.reload, i64* %sv_0.0.reg2mem br i1 %25, label LBL_9, label LBL_7 LBL_7: %31 = call i64 @FUNC(i64 %storemerge5.reload) store i64 %31, i64* %26, align 8 %32 = load i64, i64* %28, align 8 %33 = icmp eq i64 %sv_2.03.reload, %32 %34 = icmp eq i1 %33, false store i64 %sv_2.03.reload, i64* %sv_1.0.reg2mem store i64 %sv_0.12.reload, i64* %sv_0.0.reg2mem br i1 %34, label LBL_9, label LBL_8 LBL_8: %35 = call i64 @FUNC(i64 %storemerge5.reload) store i64 %35, i64* %28, align 8 store i64 %sv_2.03.reload, i64* %sv_1.0.reg2mem store i64 %sv_2.03.reload, i64* %sv_0.0.reg2mem br label LBL_9 LBL_9: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %36 = call i64 @FUNC(i64 %sv_2.03.reload, i64 %arg1) %37 = call i64 @FUNC(i64 %storemerge5.reload, i64 %9) %38 = icmp eq i64 %36, 0 %39 = icmp eq i1 %38, false store i64 %37, i64* %storemerge5.reg2mem store i64 %36, i64* %sv_2.03.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.12.reg2mem store i64 %sv_1.0.reload, i64* %sv_1.11.reg2mem br i1 %39, label LBL_6, label LBL_10 LBL_10: %40 = call i64 @FUNC(i64* nonnull @gv_0) %41 = icmp eq i64 %sv_1.0.reload, 0 br i1 %41, label LBL_12, label LBL_11 LBL_11: %42 = call i64 @FUNC(i64 %sv_1.0.reload) br label LBL_12 LBL_12: %43 = icmp eq i64 %sv_0.0.reload, 0 store i64 %0, i64* %rax.0.reg2mem br i1 %43, label LBL_14, label LBL_13 LBL_13: %44 = call i64 @FUNC(i64 %sv_0.0.reload) store i64 %0, i64* %rax.0.reg2mem br label LBL_14 LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %storemerge5.reload, { 3, 0, 1, 2 } uselistorder i64 %sv_2.03.reload, { 4, 0, 1, 2, 3 } uselistorder i64 %9, { 2, 0, 3, 4, 1, 5 } uselistorder i64 %0, { 2, 1, 5, 0, 6, 7, 4, 3, 8 } uselistorder i64* %storemerge5.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.03.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.12.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.11.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 5, 4 } uselistorder i64 (i64)* @mntput, { 1, 0 } uselistorder i64 (i64, i64)* @next_mnt, { 1, 0 } uselistorder i64 (i64)* @mntget, { 1, 0 } uselistorder i1 false, { 2, 1, 0 } uselistorder i64 (i64*)* @up_write, { 2, 0, 1 } uselistorder i64* @gv_0, { 1, 0, 2, 4, 3 } uselistorder i64 (i64)* @IS_ERR, { 1, 0 } uselistorder i32 1, { 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %arg1, { 2, 0, 1, 3, 4 } uselistorder label LBL_14, { 2, 1, 0, 4, 3 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
omninet_open_11345
omninet_open
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 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = add i64 %4, 8 %6 = call i64 @FUNC(i64 %5, i64 %1) %7 = call i64 @FUNC(i64 %1, i64 %0) ret i64 %7 }
1
BinRealVul
kvm_iommu_unmap_memslots_11700
kvm_iommu_unmap_memslots
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) %3 = and i64 %1, 4294967295 %4 = call i64 @FUNC(i64 %0, i64 %3) ret i64 0 }
1
BinRealVul
kvm_physical_sync_dirty_bitmap_15951
kvm_physical_sync_dirty_bitmap
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %.reg2mem = alloca i64 %sv_1.03.reg2mem = alloca i32 %sv_2.04.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_3 = alloca i64, align 8 %1 = load i64, i64* @gv_0, align 8 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i64 %4) %6 = add i64 %5, %0 store i64 0, i64* %sv_3, align 8 %7 = icmp ugt i64 %6, %0 store i64 %0, i64* %sv_2.04.reg2mem store i32 0, i32* %sv_1.03.reg2mem store i64 0, i64* %sv_0.0.reg2mem br i1 %7, label LBL_1, label LBL_9 LBL_1: %sv_2.04.reload = load i64, i64* %sv_2.04.reg2mem %8 = call i64 @FUNC(i64 %1, i64 %sv_2.04.reload, i64 %6) %9 = icmp eq i64 %8, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %9, label LBL_9, label LBL_2 LBL_2: %10 = inttoptr i64 %8 to i64* %11 = load i64, i64* %10, align 8 %12 = udiv i64 %11, 4096 %13 = add nuw nsw i64 %12, 63 %14 = udiv i64 %13, 8 %15 = trunc i64 %14 to i32 %16 = and i32 %15, -8 %17 = load i64, i64* %sv_3, align 8 %18 = icmp eq i64 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_4, label LBL_3 LBL_3: %20 = sext i32 %16 to i64 %21 = call i64 @FUNC(i64 %20) store i64 %21, i64* %sv_3, align 8 store i64 %21, i64* %.reg2mem br label LBL_6 LBL_4: %sv_1.03.reload = load i32, i32* %sv_1.03.reg2mem %22 = icmp ugt i32 %16, %sv_1.03.reload store i64 %17, i64* %.reg2mem br i1 %22, label LBL_5, label LBL_6 LBL_5: %23 = sext i32 %16 to i64 %24 = call i64 @FUNC(i64 %17, i64 %23) store i64 %24, i64* %sv_3, align 8 store i64 %24, i64* %.reg2mem br label LBL_6 LBL_6: %.reload = load i64, i64* %.reg2mem %25 = inttoptr i64 %.reload to i64* %26 = call i64* @memset(i64* %25, i32 0, i32 %16) %27 = call i64 @FUNC(i64 %1, i64 174, i64* nonnull %sv_3) %28 = trunc i64 %27 to i32 %29 = icmp eq i32 %28, -1 %30 = icmp eq i1 %29, false br i1 %30, label LBL_8, label LBL_7 LBL_7: %31 = call i32* @__errno_location() %32 = load i32, i32* %31, align 4 %33 = zext i32 %32 to i64 %34 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %35 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %34, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0), i64 %33) store i64 4294967295, i64* %sv_0.0.reg2mem br label LBL_9 LBL_8: %36 = load i64, i64* %sv_3, align 8 %37 = call i64 @FUNC(i64 %0, i64 %36) %38 = add i64 %8, 16 %39 = inttoptr i64 %38 to i64* %40 = load i64, i64* %39, align 8 %41 = load i64, i64* %10, align 8 %42 = add i64 %41, %40 %43 = icmp ult i64 %42, %6 store i64 %42, i64* %sv_2.04.reg2mem store i32 %16, i32* %sv_1.03.reg2mem store i64 0, i64* %sv_0.0.reg2mem br i1 %43, label LBL_1, label LBL_9 LBL_9: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %44 = load i64, i64* %sv_3, align 8 %45 = call i64 @FUNC(i64 %44) ret i64 %sv_0.0.reload uselistorder i64 %17, { 1, 0, 2 } uselistorder i64 %6, { 1, 2, 0 } uselistorder i64* %sv_3, { 1, 2, 0, 3, 4, 5, 6 } uselistorder i64 %0, { 3, 0, 2, 1, 4 } uselistorder i64* %sv_2.04.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.03.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 1, 4, 2, 3 } uselistorder i32 0, { 1, 0 } uselistorder label LBL_9, { 0, 3, 1, 2 } uselistorder label LBL_6, { 1, 0, 2 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
disable_output_path_l_9879
disable_output_path_l
define i64 @FUNC(i64* %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 = ptrtoint i64* %arg1 to i64 %5 = add i64 %4, 8 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = zext i32 %7 to i64 %9 = call i64 @FUNC(i64 %4, i64 %8) %10 = icmp eq i64 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_2, label LBL_1 LBL_1: %12 = load i32, i32* %6, align 4 %13 = zext i32 %12 to i64 %14 = call i64 @FUNC(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i64 %13, i64 %3, i64 %2, i64 %1) store i64 4294967274, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %15 = inttoptr i64 %9 to i32* %16 = load i32, i32* %15, align 4 %17 = call i64 @FUNC(i64 %4, i64 %9, i32 %16, i64 1) %18 = call i64 @FUNC(i64 %9) %19 = add i64 %9, 8 %20 = call i64 @FUNC(i64 %19) %21 = inttoptr i64 %9 to i64* call void @free(i64* %21) 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 %9, { 0, 4, 3, 2, 1, 5 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } }
0
BinRealVul
tm6000_reset_4957
tm6000_reset
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 500) %5 = add i64 %3, 8 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = zext i32 %7 to i64 %9 = call i64 @FUNC(i64 500, i64 %8, i64 0) %10 = trunc i64 %9 to i32 %11 = icmp slt i32 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = load i32, i32* %6, align 4 %14 = zext i32 %13 to i64 %15 = call i64 @FUNC(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_0, i64 0, i64 0), i64 %14, i64 0, i64 %8, i64 %2, i64 %1) %16 = and i64 %9, 4294967295 store i64 %16, i64* %rax.0.reg2mem br label LBL_9 LBL_2: %17 = call i64 @FUNC(i64 500) %18 = trunc i64 %17 to i32 %19 = icmp slt i32 %18, 0 %20 = icmp eq i1 %19, false br i1 %20, label LBL_4, label LBL_3 LBL_3: %21 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_1, i64 0, i64 0), i64 %8, i64 0, i64 %8, i64 %2, i64 %1) %22 = and i64 %17, 4294967295 store i64 %22, i64* %rax.0.reg2mem br label LBL_9 LBL_4: %23 = call i64 @FUNC(i64 5) %24 = add i64 %3, 16 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = icmp eq i64 %26, 0 %28 = icmp eq i1 %27, false store i64 0, i64* %rax.0.reg2mem br i1 %28, label LBL_5, label LBL_9 LBL_5: %29 = load i32, i32* %6, align 4 %30 = zext i32 %29 to i64 %31 = call i64 @FUNC(i64 5, i64 %30, i64 2) %32 = trunc i64 %31 to i32 %33 = icmp slt i32 %32, 0 %34 = icmp eq i1 %33, false br i1 %34, label LBL_7, label LBL_6 LBL_6: %35 = load i32, i32* %6, align 4 %36 = zext i32 %35 to i64 %37 = call i64 @FUNC(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_2, i64 0, i64 0), i64 %36, i64 2, i64 %30, i64 %2, i64 %1) %38 = and i64 %31, 4294967295 store i64 %38, i64* %rax.0.reg2mem br label LBL_9 LBL_7: %39 = call i64 @FUNC(i64 5) %40 = load i64, i64* %25, align 8 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = urem i32 %42, 16 %44 = zext i32 %43 to i64 %45 = call i64 @FUNC(i64 5, i64 %44) %46 = and i64 %45, 4294967295 %47 = call i64 @FUNC(i64 5, i64 %46) %48 = trunc i64 %47 to i32 %49 = icmp slt i32 %48, 0 %50 = icmp eq i1 %49, false store i64 0, i64* %rax.0.reg2mem br i1 %50, label LBL_9, label LBL_8 LBL_8: %51 = and i64 %47, 4294967295 %52 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_3, i64 0, i64 0), i64 %51, i64 %46, i64 %30, i64 %2, i64 %1) store i64 %51, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %30, { 1, 0, 2 } uselistorder i64 %8, { 1, 2, 0, 3 } uselistorder i32* %6, { 1, 2, 0, 3 } uselistorder i64 %2, { 3, 2, 1, 0 } uselistorder i64 %1, { 3, 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 5, 2, 4, 3 } uselistorder i64* %0, { 1, 0 } uselistorder i64 5, { 1, 2, 3, 0, 4 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @tm6000_err, { 3, 2, 1, 0 } uselistorder i64 (i64, i64, i64)* @usb_set_interface, { 1, 0 } uselistorder i64 (i64)* @msleep, { 2, 1, 0 } uselistorder label LBL_9, { 2, 0, 3, 1, 4, 5 } }
0
BinRealVul
dccp_send_reset_11604
dccp_send_reset
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 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = and i64 %1, 4294967295 store i64 %4, i64* %rax.0.reg2mem br label LBL_4 LBL_2: %5 = trunc i64 %0 to i32 %6 = call i64 @FUNC(i64 %0, i32 %5, i64 1, i64 0) %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %8, label LBL_3, label LBL_4 LBL_3: %9 = and i64 %0, 4294967295 %10 = call i64 @FUNC(i64 %6, i64 %9) %11 = call i64 @FUNC(i64 %6) %12 = inttoptr i64 %11 to i32* store i32 1, i32* %12, align 4 %13 = call i64 @FUNC(i64 %6) %14 = trunc i64 %arg2 to i32 %15 = add i64 %13, 4 %16 = inttoptr i64 %15 to i32* store i32 %14, i32* %16, align 4 %17 = call i64 @FUNC(i64 %0, i64 %6) store i64 %17, 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 %6, { 0, 1, 3, 2, 4 } uselistorder i64 %0, { 2, 0, 3, 1, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 (i64)* @DCCP_SKB_CB, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder label LBL_4, { 1, 0, 2 } }
1
BinRealVul
inject_undef64_exception_12279
inject_undef64_exception
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = load i64, i64* @gv_0, align 8 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = zext i32 %3 to i64 %5 = call i64 @FUNC(i64 %4) %6 = and i64 %5, 4294967295 %7 = call i64 @FUNC(i64 %6) %8 = add i64 %0, 16 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 store i64 %10, i64* %arg1, align 8 %11 = add i64 %0, 24 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = add i64 %0, 8 %15 = inttoptr i64 %14 to i64* store i64 %13, i64* %15, align 8 store i64 0, i64* %9, align 8 %16 = call i64 @FUNC(i64 0) store i64 %16, i64* %12, align 8 %17 = call i64 @FUNC(i64 0, i64 0) ret i64 %17 }
1
BinRealVul
elf_dump_thread_status_8611
elf_dump_thread_status
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* store i32 0, i32* %2, align 4 %3 = add i64 %0, 12 %4 = call i64 @FUNC(i64 %3, i64 %0, i64 %arg1) %5 = add i64 %0, 16 %6 = call i64 @FUNC(i64 %0, i64 %5) %7 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 1, i64 4, i64 %3) %8 = load i32, i32* %2, align 4 %9 = add i32 %8, 1 store i32 %9, i32* %2, align 4 %10 = call i64 @FUNC(i64 %5) %11 = call i64 @FUNC(i64 %0, i64 0, i64 %5) %12 = trunc i64 %11 to i32 %13 = inttoptr i64 %3 to i32* store i32 %12, i32* %13, align 4 %14 = icmp eq i32 %12, 0 store i64 %10, i64* %sv_0.0.reg2mem br i1 %14, label LBL_2, label LBL_1 LBL_1: %15 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 2, i64 0, i64 %5) %16 = load i32, i32* %2, align 4 %17 = add i32 %16, 1 store i32 %17, i32* %2, align 4 %18 = call i64 @FUNC(i64 %5) %19 = add i64 %18, %10 store i64 %19, i64* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %20 = and i64 %sv_0.0.reload, 4294967295 ret i64 %20 uselistorder i64 %10, { 1, 0 } uselistorder i64 %5, { 0, 3, 4, 2, 1, 5, 6 } uselistorder i32* %2, { 0, 1, 3, 2, 4 } uselistorder i64 %0, { 3, 4, 1, 5, 0, 2 } uselistorder i64 (i64)* @notesize, { 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64)* @fill_note, { 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i64 8, { 1, 0 } }
0
BinRealVul
h264_free_context_1351
h264_free_context
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %2 = mul i64 %indvars.iv.reload, 4 %3 = add i64 %2, %arg1 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = icmp eq i32 %5, 0 br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = zext i32 %5 to i64 %8 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_0, i64 0, i64 0), i64 %7, i64 %indvars.iv.reload, i64 %1) br label LBL_3 LBL_3: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 32 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_4, label LBL_1 LBL_4: %9 = call i64 @FUNC(i64 %arg1) ret i64 %9 uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 %arg1, { 1, 0 } }
0
BinRealVul
handle_satn_16668
handle_satn
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_3, label LBL_1 LBL_1: %5 = add i64 %2, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = add i64 %2, 8 %11 = inttoptr i64 %10 to i64* store i64 4198662, i64* %11, align 8 store i64 %2, i64* %rax.0.reg2mem br label LBL_5 LBL_3: %12 = call i64 @FUNC(i64 %2, i64* nonnull %sv_0) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 store i64 %12, i64* %rax.0.reg2mem br i1 %14, label LBL_5, label LBL_4 LBL_4: %15 = call i64 @FUNC(i64 %2, i64* nonnull %sv_0) store i64 %15, 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 %2, { 1, 2, 0, 3, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } }
1
BinRealVul
ion_free_11152
ion_free
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = icmp eq i64* %arg1, %arg2 %3 = icmp eq i1 %2, false %4 = zext i1 %3 to i64 %5 = call i64 @FUNC(i64 %4) %6 = call i64 @FUNC(i64 %1) %7 = call i64 @FUNC(i64 %1, i64 %0) %8 = trunc i64 %7 to i8 %9 = icmp eq i8 %8, 1 br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0)) %11 = call i64 @FUNC(i64 %1) store i64 %11, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %12 = call i64 @FUNC(i64 %1) %13 = call i64 @FUNC(i64 %0) store i64 %13, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %1, { 1, 0, 2, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @mutex_unlock, { 1, 0 } uselistorder i64 1, { 1, 0 } }
1
BinRealVul
object_dynamic_cast_assert_17082
object_dynamic_cast_assert
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1, i64 %arg2) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %4 = inttoptr i64 %arg1 to i64* %5 = inttoptr i64 %arg2 to i8* %6 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %3, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_1, i64 0, i64 0), i64* %4, i8* %5) call void @abort() unreachable LBL_2: ret i64 %0 }
1
BinRealVul
jffs2_trusted_listxattr_18265
jffs2_trusted_listxattr
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %0 = add i64 %arg5, 9 %1 = icmp eq i64* %arg2, null %2 = icmp ugt i64 %0, %arg3 %or.cond = or i1 %1, %2 br i1 %or.cond, label LBL_2, label LBL_1 LBL_1: %3 = ptrtoint i64* %arg2 to i64 store i64 3342908374243439220, i64* %arg2, align 8 %4 = add i64 %3, 8 %5 = inttoptr i64 %4 to i8* store i8 0, i8* %5, align 1 %6 = inttoptr i64 %arg4 to i8* %7 = call i8* @strcpy(i8* %5, i8* %6) br label LBL_2 LBL_2: ret i64 %0 uselistorder i64 %0, { 1, 0 } uselistorder i64* %arg2, { 0, 2, 1 } }
1
BinRealVul
ip6_del_rt_4212
ip6_del_rt
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, @gv_0 %1 = icmp eq i1 %0, false store i64 4294967294, i64* %storemerge.reg2mem br i1 %1, label LBL_1, label LBL_2 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = ptrtoint i64* %arg2 to i64 %4 = ptrtoint i64* %arg4 to i64 %5 = call i64 @FUNC(i64 %2) %6 = call i64 @FUNC(i64 %2, i64 %3, i64 %arg3, i64 %4) %7 = add i64 %2, 8 %8 = call i64 @FUNC(i64 %7) %9 = call i64 @FUNC(i64 %2) %10 = and i64 %6, 4294967295 store i64 %10, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %2, { 3, 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
CheckPps_10045
CheckPps
define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge37.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = trunc i64 %1 to i32 %4 = icmp ult i32 %3, 2 br i1 %4, label LBL_17, label LBL_1 LBL_1: %5 = ptrtoint i32* %arg2 to i64 %6 = trunc i64 %2 to i32 %7 = add i64 %5, 4 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = mul i32 %9, %6 %11 = ptrtoint i32* %arg1 to i64 %12 = add i64 %11, 4 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = icmp eq i32 %14, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_6, label LBL_2 LBL_2: %17 = add i64 %11, 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = icmp eq i64 %19, 0 %21 = icmp eq i1 %20, false store i64 1, i64* %rax.0.reg2mem br i1 %21, label LBL_3, label LBL_18 LBL_3: %22 = and i64 %1, 4294967295 store i64 0, i64* %indvars.iv.reg2mem br label LBL_4 LBL_4: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %23 = mul i64 %indvars.iv.reload, 4 %24 = add i64 %23, %19 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = icmp ult i32 %10, %26 %28 = icmp eq i1 %27, false store i64 1, i64* %rax.0.reg2mem br i1 %28, label LBL_5, label LBL_18 LBL_5: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %29 = icmp ult i64 %indvars.iv.next, %22 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %29, label LBL_4, label LBL_17 LBL_6: %30 = icmp eq i32 %14, 2 %31 = icmp eq i1 %30, false br i1 %31, label LBL_13, label LBL_7 LBL_7: %32 = add i64 %11, 16 %33 = inttoptr i64 %32 to i64* %34 = load i64, i64* %33, align 8 %35 = icmp eq i64 %34, 0 %36 = icmp eq i1 %35, false store i64 1, i64* %rax.0.reg2mem br i1 %36, label LBL_8, label LBL_18 LBL_8: %37 = add i64 %11, 24 %38 = inttoptr i64 %37 to i64* %39 = load i64, i64* %38, align 8 %40 = icmp eq i64 %39, 0 %41 = icmp eq i1 %40, false store i64 1, i64* %rax.0.reg2mem br i1 %41, label LBL_9, label LBL_18 LBL_9: %42 = add i32 %3, -1 store i32 0, i32* %storemerge37.reg2mem br label LBL_10 LBL_10: %storemerge37.reload = load i32, i32* %storemerge37.reg2mem %43 = zext i32 %storemerge37.reload to i64 %44 = mul i64 %43, 4 %45 = add i64 %44, %34 %46 = inttoptr i64 %45 to i32* %47 = load i32, i32* %46, align 4 %48 = add i64 %44, %39 %49 = inttoptr i64 %48 to i32* %50 = load i32, i32* %49, align 4 %51 = icmp ule i32 %47, %50 %52 = icmp ugt i32 %10, %50 %or.cond = icmp eq i1 %51, %52 store i64 1, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_11, label LBL_18 LBL_11: %53 = urem i32 %47, %6 %54 = urem i32 %50, %6 %55 = icmp ugt i32 %53, %54 store i64 1, i64* %rax.0.reg2mem br i1 %55, label LBL_18, label LBL_12 LBL_12: %56 = add i32 %storemerge37.reload, 1 %57 = icmp ult i32 %56, %42 store i32 %56, i32* %storemerge37.reg2mem br i1 %57, label LBL_10, label LBL_17 LBL_13: %.off = add i32 %14, -3 %58 = icmp ult i32 %.off, 3 br i1 %58, label LBL_14, label LBL_15 LBL_14: %59 = add i64 %11, 32 %60 = inttoptr i64 %59 to i32* %61 = load i32, i32* %60, align 4 %62 = icmp ult i32 %10, %61 %63 = icmp eq i1 %62, false store i64 1, i64* %rax.0.reg2mem br i1 %63, label LBL_17, label LBL_18 LBL_15: %64 = icmp eq i32 %14, 6 %65 = icmp eq i1 %64, false br i1 %65, label LBL_17, label LBL_16 LBL_16: %66 = add i64 %11, 36 %67 = inttoptr i64 %66 to i32* %68 = load i32, i32* %67, align 4 %69 = icmp ugt i32 %10, %68 store i64 1, i64* %rax.0.reg2mem br i1 %69, label LBL_18, label LBL_17 LBL_17: store i64 0, i64* %rax.0.reg2mem br label LBL_18 LBL_18: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %50, { 1, 0, 2 } uselistorder i64 %44, { 1, 0 } uselistorder i32 %14, { 1, 0, 2, 3 } uselistorder i64 %11, { 0, 2, 1, 3, 4, 5 } uselistorder i32 %10, { 2, 3, 0, 1 } uselistorder i32 %6, { 1, 2, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge37.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 9, 4, 5, 2, 3, 6, 7, 1, 8 } uselistorder i64* %0, { 1, 0 } uselistorder i64 1, { 3, 4, 1, 2, 5, 6, 8, 0, 7 } uselistorder label LBL_18, { 8, 3, 4, 1, 2, 5, 6, 0, 7 } uselistorder label LBL_17, { 2, 3, 4, 1, 0, 5 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
qemu_chr_open_win_15872
qemu_chr_open_win
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) %2 = call i64 @FUNC(i64 24) %3 = call i64 @FUNC(i64 0) %4 = inttoptr i64 %2 to i64* store i64 %3, i64* %4, align 8 %5 = add i64 %2, 8 %6 = inttoptr i64 %5 to i64* store i64 4198833, i64* %6, align 8 %7 = add i64 %2, 16 %8 = inttoptr i64 %7 to i64* store i64 4198844, i64* %8, align 8 %9 = call i64 @FUNC(i64 %2, i64 %1) %10 = trunc i64 %9 to i32 %11 = icmp slt i32 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = call i64 @FUNC(i64 %3) %14 = call i64 @FUNC(i64 %2) store i64 4294967291, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %15 = call i64 @FUNC(i64 %2) store i64 %2, i64* %arg2, align 8 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 %2, { 2, 1, 0, 3, 4, 5, 6 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @g_free, { 1, 0 } uselistorder i64 (i64)* @g_malloc0, { 1, 0 } }
1
reposvul_c_test
kvm_vcpu_kick_36
kvm_vcpu_kick
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 4 %4 = call i64 @FUNC(i64 %3) %5 = trunc i64 %4 to i8 %6 = icmp eq i8 %5, 0 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 %3) br label LBL_2 LBL_2: %8 = trunc i64 %1 to i32 %9 = call i64 @FUNC() %10 = trunc i64 %9 to i32 %11 = icmp ne i32 %8, %10 %12 = icmp ult i32 %8, 4 %or.cond = icmp eq i1 %12, %11 br i1 %or.cond, label LBL_3, label LBL_6 LBL_3: %13 = and i64 %1, 4294967295 %14 = call i64 @FUNC(i64 %13) %15 = trunc i64 %14 to i8 %16 = icmp eq i8 %15, 0 br i1 %16, label LBL_6, label LBL_4 LBL_4: %17 = add i64 %2, 8 %18 = call i64 @FUNC(i64 0, i64 %17) %19 = trunc i64 %18 to i8 %20 = icmp eq i8 %19, 1 br i1 %20, label LBL_6, label LBL_5 LBL_5: %21 = call i64 @FUNC(i64 %13) br label LBL_6 LBL_6: %22 = call i64 @FUNC() ret i64 %22 uselistorder i64 %13, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder label LBL_6, { 1, 2, 3, 0 } }
0
BinRealVul
dpot_read_spi_18359
dpot_read_spi
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = urem i64 %arg2, 4 %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false %6 = trunc i64 %1 to i32 br i1 %5, label LBL_9, label LBL_1 LBL_1: %7 = urem i32 %6, 2 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = mul i64 %arg2, 4 %10 = and i64 %9, 60 %11 = add i64 %2, 8 %12 = add i64 %11, %10 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = zext i32 %14 to i64 store i64 %15, i64* %rax.0.reg2mem br label LBL_14 LBL_3: %16 = add i64 %2, 4 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = and i32 %18, -2 %switch = icmp ne i32 %19, 16 %20 = icmp eq i32 %18, 18 %21 = icmp eq i1 %20, false %or.cond6 = icmp eq i1 %switch, %21 br i1 %or.cond6, label LBL_5, label LBL_4 LBL_4: %22 = call i64 @FUNC(i64 %2, i64 128) %23 = trunc i64 %22 to i32 %24 = load i32, i32* %17, align 4 %25 = icmp eq i32 %24, 16 %26 = icmp eq i1 %25, false %27 = ashr i32 %23, 2 %spec.select = select i1 %26, i32 %23, i32 %27 %28 = zext i32 %spec.select to i64 store i64 %28, i64* %rax.0.reg2mem br label LBL_14 LBL_5: %29 = icmp ne i32 %18, 19 %30 = icmp eq i32 %18, 20 %31 = icmp eq i1 %30, false %or.cond = icmp eq i1 %29, %31 store i64 34, i64* %sv_0.0.reg2mem br i1 %or.cond, label LBL_10, label LBL_6 LBL_6: %32 = call i64 @FUNC(i64 %2, i64 132) %33 = trunc i64 %32 to i32 %34 = icmp slt i32 %33, 0 %35 = icmp eq i1 %34, false br i1 %35, label LBL_8, label LBL_7 LBL_7: %36 = and i64 %32, 4294967295 store i64 %36, i64* %rax.0.reg2mem br label LBL_14 LBL_8: %37 = load i32, i32* %17, align 4 %38 = icmp eq i32 %37, 20 %39 = icmp eq i1 %38, false %40 = ashr i32 %33, 2 %spec.select3 = select i1 %39, i32 %33, i32 %40 %41 = zext i32 %spec.select3 to i64 store i64 %41, i64* %rax.0.reg2mem br label LBL_14 LBL_9: %42 = urem i64 %arg2, 2 %43 = icmp eq i64 %42, 0 %spec.select4 = select i1 %43, i64 0, i64 35 store i64 %spec.select4, i64* %sv_0.0.reg2mem br label LBL_10 LBL_10: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %44 = and i32 %6, 2 %45 = icmp eq i32 %44, 0 br i1 %45, label LBL_12, label LBL_11 LBL_11: %46 = call i64 @FUNC(i64 %2, i64 %sv_0.0.reload) store i64 %46, i64* %rax.0.reg2mem br label LBL_14 LBL_12: %47 = and i32 %6, 4 %48 = icmp eq i32 %47, 0 store i64 1, i64* %rax.0.reg2mem br i1 %48, label LBL_14, label LBL_13 LBL_13: %49 = call i64 @FUNC(i64 %2, i64 %sv_0.0.reload) store i64 %49, i64* %rax.0.reg2mem br label LBL_14 LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %18, { 2, 3, 1, 0 } uselistorder i32* %17, { 1, 0, 2 } uselistorder i32 %6, { 1, 2, 0 } uselistorder i64 %2, { 5, 4, 1, 2, 3, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 7, 1, 6, 4, 3, 5, 2 } uselistorder i32 20, { 1, 0 } uselistorder i64 (i64, i64)* @dpot_read_r8d8, { 2, 1, 0 } uselistorder i32 16, { 1, 0 } uselistorder i32 2, { 1, 2, 3, 0 } uselistorder i1 false, { 2, 3, 1, 4, 0, 5 } uselistorder i64 4, { 2, 0, 1 } uselistorder i64 %arg2, { 1, 0, 2 } uselistorder label LBL_14, { 1, 0, 2, 3, 4, 5, 6 } }
1
BinRealVul
avfilter_unref_buffer_14981
avfilter_unref_buffer
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi = alloca i64, align 8 store i64 %arg1, i64* %rdi, align 8 %0 = icmp eq i64 %arg1, 0 br i1 %0, label LBL_9, label LBL_1 LBL_1: %1 = trunc i64 %arg1 to i32 %2 = bitcast i64* %rdi to i32* %3 = icmp eq i32 %1, 0 %4 = icmp slt i32 %1, 0 %5 = icmp eq i1 %4, false %6 = icmp eq i1 %3, false %7 = icmp eq i1 %5, %6 %8 = zext i1 %7 to i64 store i64 %8, i64* %rdi, align 8 %9 = call i64 @FUNC(i64 %8) %not. = icmp ne i1 %7, true %10 = sext i1 %not. to i32 %11 = inttoptr i64 %8 to i32* store i32 %10, i32* %11, align 4 %12 = load i32, i32* %2, align 8 %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_4, label LBL_2 LBL_2: %15 = load i64, i64* %rdi, align 8 %16 = add i64 %15, 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = icmp eq i64 %18, 0 %20 = icmp eq i1 %19, false br i1 %20, label LBL_4, label LBL_3 LBL_3: %21 = call i64 @FUNC(i64 %arg1) store i64 %21, i64* %rax.0.reg2mem br label LBL_9 LBL_4: %22 = add i64 %arg1, 8 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = add i64 %arg1, 16 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = icmp eq i64 %24, %27 br i1 %28, label LBL_6, label LBL_5 LBL_5: %29 = call i64 @FUNC(i64 %22) br label LBL_6 LBL_6: %30 = add i64 %arg1, 24 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = icmp eq i64 %32, 0 br i1 %33, label LBL_8, label LBL_7 LBL_7: %34 = call i64 @FUNC(i64 %32) br label LBL_8 LBL_8: %35 = call i64 @FUNC(i64 %30) %36 = add i64 %arg1, 32 %37 = call i64 @FUNC(i64 %36) %38 = call i64 @FUNC(i64 %arg1) store i64 %38, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %8, { 2, 1, 0 } uselistorder i64* %rdi, { 2, 0, 1, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @av_freep, { 3, 2, 1, 0 } uselistorder i1 false, { 1, 2, 3, 0, 4 } uselistorder i64 %arg1, { 3, 2, 4, 6, 5, 1, 0, 7, 8 } uselistorder label LBL_9, { 1, 2, 0 } }
1
BinRealVul
handle_satn_stop_17289
handle_satn_stop
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_3, label LBL_1 LBL_1: %5 = add i64 %2, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = add i64 %2, 8 %11 = inttoptr i64 %10 to i64* store i64 4198710, i64* %11, align 8 store i64 %2, i64* %rax.0.reg2mem br label LBL_5 LBL_3: %12 = add i64 %2, 20 %13 = call i64 @FUNC(i64 %2, i64 %12) %14 = trunc i64 %13 to i32 %15 = add i64 %2, 16 %16 = inttoptr i64 %15 to i32* store i32 %14, i32* %16, align 4 %17 = icmp eq i32 %14, 0 store i64 0, i64* %rax.0.reg2mem br i1 %17, label LBL_5, label LBL_4 LBL_4: %18 = and i64 %13, 4294967295 %19 = call i64 @FUNC(i64 %18) %20 = add i64 %2, 276 %21 = inttoptr i64 %20 to i32* store i32 1, i32* %21, align 4 %22 = add i64 %2, 280 %23 = inttoptr i64 %22 to i32* store i32 3, i32* %23, align 4 %24 = add i64 %2, 284 %25 = inttoptr i64 %24 to i32* store i32 12, i32* %25, align 4 %26 = add i64 %2, 288 %27 = inttoptr i64 %26 to i32* store i32 16, i32* %27, align 4 %28 = call i64 @FUNC(i64 %2) store i64 %28, 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 %2, { 1, 2, 3, 4, 5, 8, 7, 6, 0, 9, 10 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } }
1
BinRealVul
try_read_network_12650
try_read_network
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i32 %.reg2mem45 = alloca i64 %.reg2mem43 = alloca i64 %sv_0.0.ph.reg2mem = alloca i32 %.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false br i1 %1, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 48, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 16 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = add i64 %2, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp eq i64 %5, %8 %.pre24 = add i64 %2, 24 %.pre25 = inttoptr i64 %.pre24 to i64* br i1 %9, label LBL_6, label LBL_3 LBL_3: %10 = load i64, i64* %.pre25, align 8 %11 = icmp eq i64 %10, 0 store i64 %8, i64* %.reg2mem br i1 %11, label LBL_5, label LBL_4 LBL_4: %12 = inttoptr i64 %8 to i64* %13 = inttoptr i64 %5 to i64* %14 = trunc i64 %10 to i32 %15 = call i64* @memmove(i64* %12, i64* %13, i32 %14) %.pre = load i64, i64* %7, align 8 store i64 %.pre, i64* %.reg2mem br label LBL_5 LBL_5: %.reload = load i64, i64* %.reg2mem store i64 %.reload, i64* %4, align 8 br label LBL_6 LBL_6: %16 = add i64 %2, 32 %17 = inttoptr i64 %16 to i64* %18 = bitcast i64* %rdi to i32* %19 = add i64 %2, 40 %20 = inttoptr i64 %19 to i64* store i32 0, i32* %sv_0.0.ph.reg2mem br label LBL_7 LBL_7: %sv_0.0.ph.reload = load i32, i32* %sv_0.0.ph.reg2mem br label LBL_8 LBL_8: %21 = load i64, i64* %.pre25, align 8 %22 = load i64, i64* %17, align 8 %23 = icmp ult i64 %21, %22 store i64 %21, i64* %.reg2mem43 store i64 %22, i64* %.reg2mem45 br i1 %23, label LBL_14, label LBL_9 LBL_9: %24 = load i64, i64* %7, align 8 %25 = inttoptr i64 %24 to i64* %.tr = trunc i64 %22 to i32 %26 = mul i32 %.tr, 2 %27 = call i64* @realloc(i64* %25, i32 %26) %28 = icmp eq i64* %27, null %29 = icmp eq i1 %28, false br i1 %29, label LBL_13, label LBL_10 LBL_10: %30 = load i32, i32* inttoptr (i64 4210804 to i32*), align 4 %31 = icmp slt i32 %30, 1 br i1 %31, label LBL_12, label LBL_11 LBL_11: %32 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %33 = call i32 @fwrite(i64* bitcast ([31 x i8]* @gv_4 to i64*), i32 1, i32 30, %_IO_FILE* %32) br label LBL_12 LBL_12: store i64 0, i64* %.pre25, align 8 %34 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_5, i64 0, i64 0)) %35 = add i64 %2, 48 %36 = inttoptr i64 %35 to i64* store i64 4198869, i64* %36, align 8 store i64 2, i64* %rax.0.reg2mem br label LBL_21 LBL_13: %37 = ptrtoint i64* %27 to i64 store i64 %37, i64* %7, align 8 store i64 %37, i64* %4, align 8 %38 = load i64, i64* %17, align 8 %39 = mul i64 %38, 2 store i64 %39, i64* %17, align 8 %.pre23 = load i64, i64* %.pre25, align 8 store i64 %.pre23, i64* %.reg2mem43 store i64 %39, i64* %.reg2mem45 br label LBL_14 LBL_14: %.reload46 = load i64, i64* %.reg2mem45 %.reload44 = load i64, i64* %.reg2mem43 %40 = trunc i64 %.reload46 to i32 %41 = trunc i64 %.reload44 to i32 %42 = sub i32 %40, %41 %43 = load i64, i64* %7, align 8 %44 = add i64 %43, %.reload44 %45 = load i32, i32* %18, align 8 %46 = inttoptr i64 %44 to i64* %47 = call i32 @read(i32 %45, i64* %46, i32 %42) %48 = icmp slt i32 %47, 1 br i1 %48, label LBL_16, label LBL_15 LBL_15: %49 = load i64, i64* %20, align 8 %50 = inttoptr i64 %49 to i64* %51 = call i32 @pthread_mutex_lock(i64* %50) %52 = load i64, i64* %20, align 8 %53 = add i64 %52, 40 %54 = inttoptr i64 %53 to i64* %55 = load i64, i64* %54, align 8 %56 = sext i32 %47 to i64 %57 = add i64 %55, %56 store i64 %57, i64* %54, align 8 %58 = load i64, i64* %20, align 8 %59 = inttoptr i64 %58 to i64* %60 = call i32 @pthread_mutex_unlock(i64* %59) %61 = load i64, i64* %.pre25, align 8 %62 = add i64 %61, %56 store i64 %62, i64* %.pre25, align 8 %63 = icmp eq i32 %47, %42 %64 = icmp eq i1 %63, false store i32 1, i32* %sv_0.0.ph.reg2mem store i32 1, i32* %sv_0.1.reg2mem br i1 %64, label LBL_20, label LBL_7 LBL_16: %65 = icmp eq i32 %47, 0 %66 = icmp eq i1 %65, false store i64 3, i64* %rax.0.reg2mem br i1 %66, label LBL_17, label LBL_21 LBL_17: %67 = icmp eq i32 %47, -1 %68 = icmp eq i1 %67, false br i1 %68, label LBL_8, label LBL_18 LBL_18: %69 = call i32* @__errno_location() %70 = load i32, i32* %69, align 4 %71 = icmp eq i32 %70, 11 store i32 %sv_0.0.ph.reload, i32* %sv_0.1.reg2mem br i1 %71, label LBL_20, label LBL_19 LBL_19: %72 = call i32* @__errno_location() %73 = load i32, i32* %72, align 4 %74 = icmp eq i32 %73, 11 store i32 %sv_0.0.ph.reload, i32* %sv_0.1.reg2mem store i64 3, i64* %rax.0.reg2mem br i1 %74, label LBL_20, label LBL_21 LBL_20: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %75 = zext i32 %sv_0.1.reload to i64 store i64 %75, i64* %rax.0.reg2mem br label LBL_21 LBL_21: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %47, { 2, 3, 0, 1, 4 } uselistorder i64 %.reload44, { 1, 0 } uselistorder i64* %27, { 1, 0 } uselistorder i64 %22, { 1, 0, 2 } uselistorder i64* %17, { 1, 0, 2 } uselistorder i64 %8, { 1, 0, 2 } uselistorder i64* %7, { 3, 1, 2, 0, 4 } uselistorder i64* %4, { 1, 0, 2 } uselistorder i64 %2, { 1, 2, 3, 4, 0, 6, 5 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.0.ph.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem43, { 0, 2, 1 } uselistorder i64* %.reg2mem45, { 0, 2, 1 } uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 } uselistorder i32* ()* @__errno_location, { 1, 0 } uselistorder i64 3, { 1, 0 } uselistorder i64 2, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_21, { 2, 1, 0, 3 } uselistorder label LBL_20, { 1, 2, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
jsvCompareString_10397
jsvCompareString
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem9 = alloca i32 %.reg2mem = alloca i32 %.lcssa.reg2mem = alloca i32 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %2 = bitcast i32* %sv_0 to i64* %3 = call i64 @FUNC(i64* nonnull %2, i64 %1, i64 %arg3) %4 = call i64 @FUNC(i64* nonnull %2, i64 %0, i64 %arg4) %5 = call i64 @FUNC(i64* nonnull %2) %6 = trunc i64 %5 to i32 %7 = call i64 @FUNC(i64* nonnull %2) %8 = trunc i64 %7 to i32 store i32 %8, i32* %sv_0, align 4 %9 = icmp eq i32 %6, %8 store i32 %6, i32* %.lcssa.reg2mem store i32 %6, i32* %.reg2mem9 br i1 %9, label LBL_6, label LBL_1 LBL_1: %.lcssa.reload = load i32, i32* %.lcssa.reg2mem %10 = call i64 @FUNC(i64* nonnull %2) %11 = call i64 @FUNC(i64* nonnull %2) %12 = icmp slt i32 %.lcssa.reload, 0 br i1 %12, label LBL_3, label LBL_2 LBL_2: %13 = load i32, i32* %sv_0, align 4 %14 = icmp slt i32 %13, 0 %15 = icmp eq i1 %14, false store i32 %13, i32* %.reg2mem br i1 %15, label LBL_5, label LBL_3 LBL_3: %16 = trunc i64 %arg5 to i8 %17 = icmp eq i8 %16, 0 store i64 0, i64* %rax.0.reg2mem br i1 %17, label LBL_3.LBL_5_crit_edge, label LBL_9 LBL_4: %.pre = load i32, i32* %sv_0, align 4 store i32 %.pre, i32* %.reg2mem br label LBL_5 LBL_5: %.reload = load i32, i32* %.reg2mem %18 = sub i32 %.lcssa.reload, %.reload %19 = zext i32 %18 to i64 store i64 %19, i64* %rax.0.reg2mem br label LBL_9 LBL_6: %.reload10 = load i32, i32* %.reg2mem9 %20 = icmp slt i32 %.reload10, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_8, label LBL_7 LBL_7: %22 = call i64 @FUNC(i64* nonnull %2) %23 = call i64 @FUNC(i64* nonnull %2) store i64 0, i64* %rax.0.reg2mem br label LBL_9 LBL_8: %24 = call i64 @FUNC(i64* nonnull %2) %25 = call i64 @FUNC(i64* nonnull %2) %26 = call i64 @FUNC(i64* nonnull %2) %27 = trunc i64 %26 to i32 %28 = call i64 @FUNC(i64* nonnull %2) %29 = trunc i64 %28 to i32 store i32 %29, i32* %sv_0, align 4 %30 = icmp eq i32 %27, %29 store i32 %27, i32* %.lcssa.reg2mem store i32 %27, i32* %.reg2mem9 br i1 %30, label LBL_6, label LBL_1 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %2, { 8, 9, 5, 6, 4, 7, 2, 3, 0, 1, 10, 11 } uselistorder i32* %sv_0, { 2, 0, 3, 1, 4 } uselistorder i32* %.lcssa.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem9, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64*)* @jsvStringIteratorNext, { 1, 0 } uselistorder i64 (i64*)* @jsvStringIteratorFree, { 3, 2, 1, 0 } uselistorder i64 (i64*)* @jsvStringIteratorGetCharOrMinusOne, { 3, 2, 0, 1 } uselistorder i64 (i64*, i64, i64)* @jsvStringIteratorNew, { 1, 0 } uselistorder label LBL_9, { 1, 2, 0 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
isa_create_simple_17157
isa_create_simple
define i64 @FUNC(i8* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i8* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %1) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 %storemerge = select i1 %4, i64 %1, i64 0 ret i64 %storemerge }
1
BinRealVul
connection_open_tcp_7628
connection_open_tcp
define i64 @FUNC(i8* %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 %sv_0 = alloca i32, align 4 %sv_1 = alloca i64, align 8 %sv_2 = alloca %addrinfo*, align 8 %sv_3 = alloca i64, align 8 %sv_4 = alloca %addrinfo*, align 8 store %addrinfo* null, %addrinfo** %sv_4, align 8 %2 = bitcast i64* %sv_3 to i8* %3 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %2, i32 1024, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0), i8* %arg1) %4 = call i32 @getaddrinfo(i8* %arg1, i8* null, %addrinfo* null, %addrinfo** nonnull %sv_4) %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i8* @gai_strerror(i32 %4) %7 = ptrtoint i8* %6 to i64 %8 = ptrtoint i8* %arg1 to i64 %9 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i64 %8, i64 %7, i64 %arg5, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_28 LBL_2: %10 = ptrtoint %addrinfo** %sv_4 to i64 %11 = load %addrinfo*, %addrinfo** %sv_4, align 8 %12 = ptrtoint %addrinfo* %11 to i64 %13 = add i64 %12, 24 %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_4, label LBL_3 LBL_3: %18 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_2, i64 0, i64 0), i64 %arg2, i64 %10, i64 %arg5, i64 %1) %19 = load %addrinfo*, %addrinfo** %sv_4, align 8 call void @freeaddrinfo(%addrinfo* %19) store i64 0, i64* %rax.0.reg2mem br label LBL_28 LBL_4: %20 = add i64 %12, 4 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = call i32 @socket(i32 %22, i32 1, i32 0) %24 = icmp slt i32 %23, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_6, label LBL_5 LBL_5: %26 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_3, i64 0, i64 0), i64 0, i64 %10, i64 %arg5, i64 %1) %27 = load %addrinfo*, %addrinfo** %sv_4, align 8 call void @freeaddrinfo(%addrinfo* %27) store i64 0, i64* %rax.0.reg2mem br label LBL_28 LBL_6: %28 = load i32, i32* inttoptr (i64 4210892 to i32*), align 4 %29 = zext i32 %28 to i64 %30 = sext i32 %23 to i64 %31 = icmp sgt i64 %30, %29 br i1 %31, label LBL_7, label LBL_8 LBL_7: store i32 %23, i32* bitcast (i64* @gv_4 to i32*), align 8 br label LBL_8 LBL_8: %32 = icmp eq i64 %arg2, 0 br i1 %32, label LBL_16, label LBL_9 LBL_9: store %addrinfo* null, %addrinfo** %sv_2, align 8 %33 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 48) store i64 1, i64* %sv_1, align 8 %34 = inttoptr i64 %arg2 to i8* %35 = bitcast i64* %sv_1 to %addrinfo* %36 = call i32 @getaddrinfo(i8* %34, i8* null, %addrinfo* nonnull %35, %addrinfo** nonnull %sv_2) %37 = icmp eq i32 %36, 0 br i1 %37, label LBL_11, label LBL_10 LBL_10: %38 = call i8* @gai_strerror(i32 %36) %39 = ptrtoint i8* %38 to i64 %40 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_5, i64 0, i64 0), i64 %arg2, i64 %39, i64 %arg5, i64 %1) %41 = call i32 @close(i32 %23) %42 = load %addrinfo*, %addrinfo** %sv_4, align 8 call void @freeaddrinfo(%addrinfo* %42) store i64 0, i64* %rax.0.reg2mem br label LBL_28 LBL_11: %43 = load %addrinfo*, %addrinfo** %sv_2, align 8 %44 = ptrtoint %addrinfo* %43 to i64 %45 = add i64 %44, 24 %46 = inttoptr i64 %45 to i64* %47 = load i64, i64* %46, align 8 %48 = icmp eq i64 %47, 0 %49 = icmp eq i1 %48, false br i1 %49, label LBL_13, label LBL_12 LBL_12: %50 = ptrtoint %addrinfo** %sv_2 to i64 %51 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_6, i64 0, i64 0), i64 %arg2, i64 %50, i64 %arg5, i64 %1) %52 = call i32 @close(i32 %23) %53 = load %addrinfo*, %addrinfo** %sv_4, align 8 call void @freeaddrinfo(%addrinfo* %53) %54 = load %addrinfo*, %addrinfo** %sv_2, align 8 call void @freeaddrinfo(%addrinfo* %54) store i64 0, i64* %rax.0.reg2mem br label LBL_28 LBL_13: store i32 1, i32* %sv_0, align 4 %55 = bitcast i32* %sv_0 to i64* %56 = call i32 @setsockopt(i32 %23, i32 1, i32 2, i64* nonnull %55, i32 4) %57 = load %addrinfo*, %addrinfo** %sv_2, align 8 %58 = ptrtoint %addrinfo* %57 to i64 %59 = add i64 %58, 16 %60 = inttoptr i64 %59 to i32* %61 = load i32, i32* %60, align 4 %62 = add i64 %58, 24 %63 = inttoptr i64 %62 to i64* %64 = load i64, i64* %63, align 8 %65 = inttoptr i64 %64 to %sockaddr* %66 = call i32 @bind(i32 %23, %sockaddr* %65, i32 %61) %67 = icmp slt i32 %66, 0 %68 = icmp eq i1 %67, false br i1 %68, label LBL_15, label LBL_14 LBL_14: %69 = call i64 @FUNC() %70 = trunc i64 %69 to i32 %71 = call i8* @strerror(i32 %70) %72 = ptrtoint i8* %71 to i64 %73 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_7, i64 0, i64 0), i64 %arg2, i64 %72, i64 4, i64 %1) %74 = call i32 @close(i32 %23) %75 = load %addrinfo*, %addrinfo** %sv_4, align 8 call void @freeaddrinfo(%addrinfo* %75) %76 = load %addrinfo*, %addrinfo** %sv_2, align 8 call void @freeaddrinfo(%addrinfo* %76) store i64 0, i64* %rax.0.reg2mem br label LBL_28 LBL_15: %77 = load %addrinfo*, %addrinfo** %sv_2, align 8 call void @freeaddrinfo(%addrinfo* %77) br label LBL_16 LBL_16: %sext = mul i64 %arg3, 4294967296 %78 = ashr exact i64 %sext, 32 %79 = zext i32 %23 to i64 %80 = call i64 @FUNC(i64 %79) %81 = load %addrinfo*, %addrinfo** %sv_4, align 8 %82 = ptrtoint %addrinfo* %81 to i64 %83 = add i64 %82, 4 %84 = inttoptr i64 %83 to i32* %85 = load i32, i32* %84, align 4 switch i32 %85, label LBL_19 [ i32 2, label LBL_17 i32 10, label LBL_18 ] LBL_17: %86 = trunc i64 %78 to i16 %87 = add i64 %82, 24 %88 = inttoptr i64 %87 to i64* %89 = load i64, i64* %88, align 8 %90 = call i16 @htons(i16 %86) %91 = add i64 %89, 2 %92 = inttoptr i64 %91 to i16* store i16 %90, i16* %92, align 2 br label LBL_19 LBL_18: %93 = trunc i64 %78 to i16 %94 = add i64 %82, 24 %95 = inttoptr i64 %94 to i64* %96 = load i64, i64* %95, align 8 %97 = call i16 @htons(i16 %93) %98 = add i64 %96, 2 %99 = inttoptr i64 %98 to i16* store i16 %97, i16* %99, align 2 br label LBL_19 LBL_19: %100 = load %addrinfo*, %addrinfo** %sv_4, align 8 %101 = ptrtoint %addrinfo* %100 to i64 %102 = add i64 %101, 16 %103 = inttoptr i64 %102 to i32* %104 = load i32, i32* %103, align 4 %105 = add i64 %101, 24 %106 = inttoptr i64 %105 to i64* %107 = load i64, i64* %106, align 8 %108 = inttoptr i64 %107 to %sockaddr* %109 = call i32 @connect(i32 %23, %sockaddr* %108, i32 %104) %110 = icmp eq i32 %109, -1 %111 = icmp eq i1 %110, false br i1 %111, label LBL_27, label LBL_20 LBL_20: %112 = call i64 @FUNC() %113 = trunc i64 %112 to i32 %114 = icmp eq i32 %113, 115 br i1 %114, label LBL_27, label LBL_21 LBL_21: %115 = call i64 @FUNC() %116 = trunc i64 %115 to i32 %117 = icmp eq i32 %116, 4 br i1 %117, label LBL_27, label LBL_22 LBL_22: %118 = call i64 @FUNC() %119 = trunc i64 %118 to i32 %120 = icmp eq i32 %119, 11 br i1 %120, label LBL_27, label LBL_23 LBL_23: %121 = call i64 @FUNC() %122 = trunc i64 %121 to i32 %123 = call i8* @strerror(i32 %122) %124 = ptrtoint i8* %123 to i64 %125 = call i64 @FUNC() %126 = ptrtoint i8* %arg1 to i64 %127 = and i64 %125, 4294967295 br i1 %32, label LBL_25, label LBL_24 LBL_24: %128 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([71 x i8], [71 x i8]* @gv_8, i64 0, i64 0), i64 %126, i64 %arg2, i64 %127, i64 %124) br label LBL_26 LBL_25: %129 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_9, i64 0, i64 0), i64 %126, i64 %127, i64 %124, i64 %1) br label LBL_26 LBL_26: %130 = call i32 @close(i32 %23) store i64 0, i64* %rax.0.reg2mem br label LBL_28 LBL_27: %131 = load %addrinfo*, %addrinfo** %sv_4, align 8 call void @freeaddrinfo(%addrinfo* %131) %132 = call i64 @FUNC(i64* nonnull %sv_3, i32 %23, i64 1, i64 %arg4, i64 %arg5) store i64 %132, 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 %127, { 1, 0 } uselistorder i64 %126, { 1, 0 } uselistorder i64 %124, { 1, 0 } uselistorder i32 %23, { 6, 5, 7, 8, 2, 3, 4, 1, 0, 9, 10, 11 } uselistorder i64 %10, { 1, 0 } uselistorder %addrinfo** %sv_4, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 11, 0 } uselistorder %addrinfo** %sv_2, { 6, 5, 4, 3, 1, 2, 7, 0 } uselistorder i64* %sv_1, { 0, 2, 1 } uselistorder i64 %1, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 8, 7, 6, 5, 4, 3, 2, 1 } uselistorder i16 (i16)* @htons, { 1, 0 } uselistorder i8* (i32)* @strerror, { 1, 0 } uselistorder i64 ()* @ioerrno, { 5, 4, 3, 2, 1, 0 } uselistorder i32 (i32)* @close, { 3, 2, 1, 0 } uselistorder i64 4, { 1, 0, 2 } uselistorder void (%addrinfo*)* @freeaddrinfo, { 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @slog, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 1, { 1, 2, 3, 4, 5, 6, 0, 7, 8, 9 } uselistorder i8* (i32)* @gai_strerror, { 1, 0 } uselistorder i32 0, { 2, 3, 0, 4, 1, 5 } uselistorder i32 (i8*, i8*, %addrinfo*, %addrinfo**)* @getaddrinfo, { 1, 0 } uselistorder i32 1, { 4, 8, 5, 6, 11, 7, 10, 9, 3, 2, 12, 1, 0 } uselistorder i64 %arg5, { 5, 4, 3, 2, 1, 0 } uselistorder i64 %arg2, { 5, 3, 2, 1, 4, 6, 0 } uselistorder i8* %arg1, { 1, 0, 2, 3 } uselistorder label LBL_19, { 1, 2, 0 } uselistorder label LBL_8, { 1, 0 } }
1
BinRealVul
iax2_add_ts_fields_13046
iax2_add_ts_fields
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i16 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i16 %.pn.in.in.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i16 %0 = ptrtoint i64* %arg3 to i64 %sv_1 = alloca i64, align 8 %1 = icmp eq i64* %arg3, null store i64 %0, i64* %rax.0.reg2mem br i1 %1, label LBL_8, label LBL_1 LBL_1: %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = icmp eq i64 %4, -1 %6 = icmp eq i1 %5, false store i16 %arg4, i16* %sv_0.1.reg2mem br i1 %6, label LBL_6, label LBL_2 LBL_2: %7 = ptrtoint i64* %arg1 to i64 %8 = sext i16 %arg4 to i64 %9 = and i64 %8, 4294967295 %10 = add i64 %7, -16 store i16 %arg4, i16* %sv_0.0.reg2mem store i64 %9, i64* %.pn.in.in.reg2mem br label LBL_3 LBL_3: %.pn.in.in.reload = load i64, i64* %.pn.in.in.reg2mem %sv_0.0.reload = load i16, i16* %sv_0.0.reg2mem %.pn.in = mul nuw nsw i64 %.pn.in.in.reload, 274877907 %.pn = udiv i64 %.pn.in, 274877906944 %storemerge = add i64 %.pn, %0 %11 = icmp slt i64 %storemerge, %10 %12 = sext i16 %sv_0.0.reload to i32 %13 = add nsw i32 %12, 32768 %14 = trunc i32 %13 to i16 %15 = zext i32 %13 to i64 store i16 %14, i16* %sv_0.0.reg2mem store i64 %15, i64* %.pn.in.in.reg2mem br i1 %11, label LBL_3, label LBL_4 LBL_4: store i64 %storemerge, i64* %3, align 8 %16 = add i64 %storemerge, 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = sext i16 %sv_0.0.reload to i64 %20 = and i64 %19, 4294967295 %narrow2 = mul nuw nsw i64 %20, 274877907 %21 = udiv i64 %narrow2, 274877906944 %22 = mul nsw i64 %21, -1000 %23 = add nsw i64 %22, %19 %24 = mul nsw i64 %23, 1000000 %25 = and i64 %24, 4294967232 %26 = add i64 %18, %25 %27 = add i64 %0, 16 %28 = inttoptr i64 %27 to i64* store i64 %26, i64* %28, align 8 %29 = icmp slt i64 %26, 1000000000 store i16 %sv_0.0.reload, i16* %sv_0.1.reg2mem br i1 %29, label LBL_6, label LBL_5 LBL_5: %30 = add i64 %26, -1000000000 store i64 %30, i64* %28, align 8 %31 = load i64, i64* %3, align 8 %32 = add i64 %31, 1 store i64 %32, i64* %3, align 8 store i16 %sv_0.0.reload, i16* %sv_0.1.reg2mem br label LBL_6 LBL_6: %sv_0.1.reload = load i16, i16* %sv_0.1.reg2mem %33 = load i64, i64* @gv_0, align 8 %34 = sext i16 %sv_0.1.reload to i32 %35 = inttoptr i64 %33 to i32* store i32 %34, i32* %35, align 4 %36 = icmp eq i64* %arg2, null store i64 %33, i64* %rax.0.reg2mem br i1 %36, label LBL_8, label LBL_7 LBL_7: %37 = ptrtoint i64* %arg2 to i64 %38 = load i32, i32* @gv_1, align 4 %39 = call i64 @FUNC(i64 %37, i32 %38, i64 0, i64 0, i64 0, i64 %2) %40 = call i64 @FUNC(i64 %39) store i64 %39, i64* %sv_1, align 8 %41 = call i64 @FUNC(i64* nonnull %sv_1, i64* nonnull %sv_1, i64 %2) %42 = load i32, i32* inttoptr (i64 4210740 to i32*), align 4 %43 = ptrtoint i64* %sv_1 to i64 %44 = call i64 @FUNC(i64 %37, i32 %42, i64 0, i64 0, i64 0, i64 %43) %45 = call i64 @FUNC(i64 %44) store i64 %45, 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 %26, { 1, 0, 2 } uselistorder i16 %sv_0.0.reload, { 0, 1, 3, 2 } uselistorder i64* %3, { 1, 0, 2, 3 } uselistorder i64* %sv_1, { 2, 0, 1, 3 } uselistorder i64 %0, { 2, 1, 3, 0 } uselistorder i16* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i64* %.pn.in.in.reg2mem, { 1, 0, 2 } uselistorder i16* %sv_0.1.reg2mem, { 0, 2, 3, 1 } uselistorder i64 (i64)* @PROTO_ITEM_SET_GENERATED, { 1, 0 } uselistorder i64 (i64, i32, i64, i64, i64, i64)* @proto_tree_add_time, { 1, 0 } uselistorder i64 274877907, { 1, 0 } uselistorder i16 %arg4, { 1, 2, 0 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_8, { 1, 2, 0 } uselistorder label LBL_6, { 1, 2, 0 } }
1
BinRealVul
nfs_mount_req_9734
nfs_mount_req
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0 = alloca i64, align 8 %0 = bitcast i64* %arg1 to i8* %1 = call i32 @strlen(i8* %0) %2 = ptrtoint i64* %sv_0 to i64 %3 = call i64 @FUNC(i64 %2) %4 = add i64 %3, 4 %5 = call i32 @htonl(i32 %1) %6 = inttoptr i64 %3 to i32* store i32 %5, i32* %6, align 4 %7 = urem i32 %1, 4 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = sdiv i32 %1, 8 %10 = sext i32 %9 to i64 %11 = mul i64 %10, 4 %12 = add i64 %11, %4 %13 = inttoptr i64 %12 to i32* store i32 0, i32* %13, align 4 br label LBL_2 LBL_2: %14 = inttoptr i64 %4 to i64* %15 = call i64* @memcpy(i64* %14, i64* %arg1, i32 %1) %16 = sdiv i32 %1, 64 %17 = sext i32 %16 to i64 %18 = mul i64 %17, 4 %19 = sub i64 %4, %2 %20 = add i64 %19, %18 %21 = udiv i64 %20, 4 %22 = and i64 %21, 4294967295 %23 = call i64 @FUNC(i64 100005, i64 1, i64* nonnull %sv_0, i64 %22) ret i64 %23 uselistorder i64 %4, { 0, 2, 1 } uselistorder i64 %3, { 1, 0 } uselistorder i32 %1, { 0, 3, 1, 2, 4 } uselistorder i32 (i32)* @htonl, { 1, 0 } uselistorder i64 4, { 2, 0, 1, 3, 4 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
init_dev_2765
init_dev
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = bitcast i64* %arg1 to i32* store i32 0, i32* %1, align 4 %2 = call i64 @FUNC(i64 1024) %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i64* store i64 %2, i64* %4, align 8 %5 = inttoptr i64 %2 to i64* %6 = call i64* @memset(i64* %5, i32 255, i32 1024) %7 = ptrtoint i64* %6 to i64 %8 = icmp eq i64 %arg2, 0 store i64 %7, i64* %rax.0.reg2mem br i1 %8, label LBL_4, label LBL_1 LBL_1: %9 = load i64, i64* %4, align 8 %10 = add i64 %9, 16896 %11 = call i64 @FUNC(i64 %arg2, i64 %10) %12 = trunc i64 %11 to i32 %13 = icmp slt i32 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_3, label LBL_2 LBL_2: %15 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %16 = and i64 %11, 4294967295 %17 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %15, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0), i64 %16) %18 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %19 = inttoptr i64 %arg2 to i8* %20 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %18, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_2, i64 0, i64 0), i8* %19) call void @exit(i32 1) unreachable LBL_3: %21 = add i32 %12, 16895 %22 = sdiv i32 %21, 16896 %23 = load i64, i64* %4, align 8 %24 = trunc i32 %22 to i8 %25 = inttoptr i64 %23 to i8* store i8 %24, i8* %25, align 1 %26 = udiv i32 %22, 256 %27 = load i64, i64* %4, align 8 %28 = add i64 %27, 1 %29 = trunc i32 %26 to i8 %30 = inttoptr i64 %28 to i8* store i8 %29, i8* %30, align 1 %31 = ashr i32 %22, 16 %32 = load i64, i64* %4, align 8 %33 = add i64 %32, 2 %34 = trunc i32 %31 to i8 %35 = inttoptr i64 %33 to i8* store i8 %34, i8* %35, align 1 %36 = udiv i32 %22, 16777216 %37 = load i64, i64* %4, align 8 %38 = add i64 %37, 3 %39 = trunc i32 %36 to i8 %40 = inttoptr i64 %38 to i8* store i8 %39, i8* %40, align 1 %41 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %42 = and i64 %11, 4294967295 %43 = inttoptr i64 %arg2 to i8* %44 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %41, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_3, i64 0, i64 0), i64 %42, i8* %43) %45 = sext i32 %44 to i64 store i64 %45, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %22, { 0, 3, 1, 2 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 1, 2, 0 } uselistorder %_IO_FILE** @gv_0, { 2, 1, 0 } uselistorder i64 %arg2, { 1, 0, 3, 2 } }
0
BinRealVul
helper_rdhwr_performance_15918
helper_rdhwr_performance
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 4) ret i64 %0 uselistorder i64 %0, { 1, 0 } }
1
BinRealVul
__gcm_hash_final_done_9592
__gcm_hash_final_done
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = call i64 @FUNC(i64 %0) %3 = icmp eq i32 %1, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = add i64 %2, 16 %6 = call i64 @FUNC(i64 %2, i64 %5, i64 16) br label LBL_2 LBL_2: ret i64 %0 uselistorder i64 %2, { 1, 0 } }
0
BinRealVul
sk_receive_skb_6621
sk_receive_skb
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %sv_0.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 %arg2) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_12, label LBL_1 LBL_1: %5 = inttoptr i64 %arg2 to i64* store i64 0, i64* %5, align 8 %6 = call i64 @FUNC(i64 %0, i64 %arg2) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = call i64 @FUNC(i64 %0) br label LBL_12 LBL_3: %10 = trunc i64 %arg3 to i32 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_5, label LBL_4 LBL_4: %12 = call i64 @FUNC(i64 %0) br label LBL_6 LBL_5: %13 = call i64 @FUNC(i64 %0) br label LBL_6 LBL_6: %14 = call i64 @FUNC(i64 %0) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_8, label LBL_7 LBL_7: %18 = add i64 %0, 4 %19 = call i64 @FUNC(i64 %18, i64 0, i64 1, i64 0) %20 = call i64 @FUNC(i64 %0, i64 %arg2) %21 = call i64 @FUNC(i64 %18, i64 1, i64 0) store i64 %20, i64* %sv_0.0.reg2mem br label LBL_10 LBL_8: %22 = call i64 @FUNC(i64 %0, i64 %arg2) %23 = trunc i64 %22 to i32 %24 = icmp eq i32 %23, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %24, label LBL_10, label LBL_9 LBL_9: %25 = call i64 @FUNC(i64 %0) %26 = call i64 @FUNC(i64 %0) br label LBL_12 LBL_10: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %27 = call i64 @FUNC(i64 %0) store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br label LBL_11 LBL_11: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %28 = call i64 @FUNC(i64 %0) %29 = and i64 %sv_0.1.reload, 4294967295 ret i64 %29 LBL_12: %30 = call i64 @FUNC(i64 %arg2) store i64 0, i64* %sv_0.1.reg2mem br label LBL_11 uselistorder i64 %0, { 11, 5, 4, 3, 6, 2, 1, 7, 8, 9, 0, 10, 12 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.1.reg2mem, { 2, 0, 1 } uselistorder i64 (i64)* @bh_unlock_sock, { 1, 0 } uselistorder i64 (i64)* @atomic_inc, { 1, 0 } uselistorder i64 %arg2, { 4, 1, 0, 2, 3, 5 } uselistorder label LBL_12, { 1, 2, 0 } }
0
BinRealVul
AV1_DuplicateConfig_7241
AV1_DuplicateConfig
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 64) %4 = trunc i64 %1 to i32 %5 = inttoptr i64 %3 to i32* store i32 %4, i32* %5, align 4 %6 = add i64 %2, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = add i64 %3, 4 %10 = inttoptr i64 %9 to i32* store i32 %8, i32* %10, align 4 %11 = add i64 %2, 8 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = add i64 %3, 8 %15 = inttoptr i64 %14 to i32* store i32 %13, i32* %15, align 4 %16 = add i64 %2, 12 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = add i64 %3, 12 %20 = inttoptr i64 %19 to i32* store i32 %18, i32* %20, align 4 %21 = add i64 %2, 16 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = add i64 %3, 16 %25 = inttoptr i64 %24 to i32* store i32 %23, i32* %25, align 4 %26 = add i64 %2, 20 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = add i64 %3, 20 %30 = inttoptr i64 %29 to i32* store i32 %28, i32* %30, align 4 %31 = add i64 %2, 24 %32 = inttoptr i64 %31 to i32* %33 = load i32, i32* %32, align 4 %34 = add i64 %3, 24 %35 = inttoptr i64 %34 to i32* store i32 %33, i32* %35, align 4 %36 = add i64 %2, 28 %37 = inttoptr i64 %36 to i32* %38 = load i32, i32* %37, align 4 %39 = add i64 %3, 28 %40 = inttoptr i64 %39 to i32* store i32 %38, i32* %40, align 4 %41 = add i64 %2, 32 %42 = inttoptr i64 %41 to i32* %43 = load i32, i32* %42, align 4 %44 = add i64 %3, 32 %45 = inttoptr i64 %44 to i32* store i32 %43, i32* %45, align 4 %46 = add i64 %2, 36 %47 = inttoptr i64 %46 to i32* %48 = load i32, i32* %47, align 4 %49 = add i64 %3, 36 %50 = inttoptr i64 %49 to i32* store i32 %48, i32* %50, align 4 %51 = add i64 %2, 40 %52 = inttoptr i64 %51 to i32* %53 = load i32, i32* %52, align 4 %54 = add i64 %3, 40 %55 = inttoptr i64 %54 to i32* store i32 %53, i32* %55, align 4 %56 = add i64 %2, 44 %57 = inttoptr i64 %56 to i32* %58 = load i32, i32* %57, align 4 %59 = add i64 %3, 44 %60 = inttoptr i64 %59 to i32* store i32 %58, i32* %60, align 4 %61 = add i64 %2, 48 %62 = inttoptr i64 %61 to i32* %63 = load i32, i32* %62, align 4 %64 = add i64 %3, 48 %65 = inttoptr i64 %64 to i32* store i32 %63, i32* %65, align 4 %66 = call i64 @FUNC() %67 = add i64 %3, 56 %68 = inttoptr i64 %67 to i64* store i64 %66, i64* %68, align 8 %69 = add i64 %2, 56 %70 = inttoptr i64 %69 to i64* %71 = load i64, i64* %70, align 8 %72 = call i64 @FUNC(i64 %71) %73 = trunc i64 %72 to i32 %74 = icmp eq i32 %73, 0 store i64 0, i64* %indvars.iv.reg2mem br i1 %74, label LBL_2, label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %75 = call i64 @FUNC(i64 16) %76 = load i64, i64* %70, align 8 %77 = call i64 @FUNC(i64 %76, i64 %indvars.iv.reload) %78 = inttoptr i64 %77 to i32* %79 = load i32, i32* %78, align 4 %80 = inttoptr i64 %75 to i32* store i32 %79, i32* %80, align 4 %81 = add i64 %77, 4 %82 = inttoptr i64 %81 to i32* %83 = load i32, i32* %82, align 4 %84 = add i64 %75, 4 %85 = inttoptr i64 %84 to i32* store i32 %83, i32* %85, align 4 %86 = load i32, i32* %80, align 4 %87 = zext i32 %86 to i64 %88 = call i64 @FUNC(i64 %87) %89 = add i64 %75, 8 %90 = inttoptr i64 %89 to i64* store i64 %88, i64* %90, align 8 %91 = load i32, i32* %78, align 4 %92 = add i64 %77, 8 %93 = inttoptr i64 %92 to i64* %94 = load i64, i64* %93, align 8 %95 = inttoptr i64 %88 to i64* %96 = inttoptr i64 %94 to i64* %97 = call i64* @memcpy(i64* %95, i64* %96, i32 %91) %98 = load i64, i64* %68, align 8 %99 = call i64 @FUNC(i64 %98, i64 %75) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %100 = load i64, i64* %70, align 8 %101 = call i64 @FUNC(i64 %100) %102 = and i64 %101, 4294967295 %103 = icmp ult i64 %indvars.iv.next, %102 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %103, label LBL_1, label LBL_2 LBL_2: ret i64 %3 uselistorder i64* %70, { 2, 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64 (i64)* @gf_list_count, { 1, 0 } uselistorder i64 (i64)* @gf_malloc, { 2, 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
ffm_is_avail_data_4183
ffm_is_avail_data
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i32 %4 = add i64 %2, 4 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = sub i32 %3, %6 %8 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false %11 = trunc i64 %arg2 to i32 %12 = icmp slt i32 %7, %11 %or.cond = or i1 %12, %10 store i64 1, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_1, label LBL_6 LBL_1: %13 = add i64 %2, 8 %14 = call i64 @FUNC(i64 %13) %15 = inttoptr i64 %13 to i32* %16 = load i32, i32* %15, align 4 %17 = sext i32 %16 to i64 %18 = icmp eq i64 %14, %17 %19 = icmp eq i1 %18, false store i64 0, i64* %rax.0.reg2mem br i1 %19, label LBL_2, label LBL_6 LBL_2: %20 = icmp slt i64 %14, %17 br i1 %20, label LBL_3, label LBL_4 LBL_3: br label LBL_5 LBL_4: br label LBL_5 LBL_5: %sext = mul i64 %arg2, 4294967296 %21 = sext i32 %7 to i64 %22 = ashr exact i64 %sext, 32 %23 = icmp sle i64 %22, %21 %. = zext i1 %23 to i64 store i64 %., 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 %7, { 1, 0 } }
0
BinRealVul
setbit_12805
setbit
define i64 @FUNC(i8* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i8* %arg1 to i64 %1 = udiv i64 %arg2, 8 %2 = add i64 %1, %0 %3 = inttoptr i64 %2 to i8* %4 = load i8, i8* %3, align 1 %5 = trunc i64 %arg2 to i32 %6 = sub i32 7, %5 %7 = urem i32 %6, 8 %8 = shl i32 1, %7 %9 = trunc i32 %8 to i8 %10 = or i8 %4, %9 store i8 %10, i8* %3, align 1 ret i64 %2 uselistorder i64 %arg2, { 1, 0 } }
1
BinRealVul
vp9_alloc_frame_874
vp9_alloc_frame
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 %3, i64 %2, i64 1) %5 = trunc i64 %4 to i32 %6 = icmp slt i32 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = and i64 %4, 4294967295 store i64 %8, i64* %rax.0.reg2mem br label LBL_8 LBL_2: %9 = trunc i64 %1 to i32 %10 = add i64 %3, 4 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = mul i32 %9, 64 %14 = mul i32 %12, %13 %15 = sext i32 %14 to i64 %16 = call i64 @FUNC(i64 %15) %17 = add i64 %2, 8 %18 = inttoptr i64 %17 to i64* store i64 %16, i64* %18, align 8 %19 = icmp eq i64 %16, 0 %20 = icmp eq i1 %19, false br i1 %20, label LBL_4, label LBL_3 LBL_3: %21 = call i64 @FUNC(i64 %3, i64 %2) store i64 4294967284, i64* %rax.0.reg2mem br label LBL_8 LBL_4: %22 = inttoptr i64 %16 to i64* %23 = load i64, i64* %22, align 8 %24 = add i64 %2, 16 %25 = inttoptr i64 %24 to i64* store i64 %23, i64* %25, align 8 %26 = load i64, i64* %18, align 8 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = add i64 %28, %15 %30 = add i64 %2, 24 %31 = inttoptr i64 %30 to i64* store i64 %29, i64* %31, align 8 %32 = add i64 %3, 8 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = icmp eq i32 %34, 0 store i64 0, i64* %rax.0.reg2mem br i1 %35, label LBL_8, label LBL_5 LBL_5: %36 = add i64 %3, 12 %37 = inttoptr i64 %36 to i32* %38 = load i32, i32* %37, align 4 %39 = icmp eq i32 %38, 0 %40 = icmp eq i1 %39, false store i64 0, i64* %rax.0.reg2mem br i1 %40, label LBL_8, label LBL_6 LBL_6: %41 = add i64 %3, 32 %42 = inttoptr i64 %41 to i32* %43 = load i32, i32* %42, align 4 %44 = icmp eq i32 %43, 0 store i64 0, i64* %rax.0.reg2mem br i1 %44, label LBL_8, label LBL_7 LBL_7: %45 = add i64 %3, 16 %46 = inttoptr i64 %45 to i64* %47 = load i64, i64* %46, align 8 %48 = load i64, i64* %25, align 8 %49 = inttoptr i64 %48 to i64* %50 = inttoptr i64 %47 to i64* %51 = call i64* @memcpy(i64* %49, i64* %50, i32 %14) store i64 0, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %16, { 1, 0, 2 } uselistorder i32 %14, { 1, 0 } uselistorder i64 %3, { 4, 3, 2, 1, 0, 5, 6 } uselistorder i64 %2, { 0, 2, 1, 3, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1, 6, 5 } uselistorder label LBL_8, { 3, 2, 1, 0, 4, 5 } }
0
BinRealVul
native_set_ldt_5687
native_set_ldt
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = trunc i64 %arg2 to i32 %1 = icmp eq i32 %0, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: call void @FUNC(i16 0) store i64 0, i64* %rax.0.reg2mem br label LBL_3 LBL_2: %3 = call i64 @FUNC() %4 = mul i64 %arg2, 8 %5 = add i64 %4, 4294967295 %6 = and i64 %5, 4294967295 %7 = call i64 @FUNC(i64* nonnull %sv_0, i64 %arg1, i64 2, i64 %6) %8 = and i64 %3, 4294967295 %9 = call i64 @FUNC(i64 %8) %10 = call i64 @FUNC(i64 %9, i64 2, i64* nonnull %sv_0, i64 2) call void @FUNC(i16 16) store i64 16, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i64 2, { 1, 0, 2 } uselistorder i32 1, { 1, 0 } }
0
BinRealVul
vp8_alloc_frame_9039
vp8_alloc_frame
define i64 @FUNC(i32* %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* %arg2 to i64 %3 = ptrtoint i32* %arg1 to i64 %4 = trunc i64 %arg3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false %7 = zext i1 %6 to i64 %8 = add i64 %3, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = call i64 @FUNC(i64 %10, i64 %2, i64 %7) %12 = trunc i64 %11 to i32 %13 = icmp slt i32 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_2, label LBL_1 LBL_1: %15 = and i64 %11, 4294967295 store i64 %15, i64* %rax.0.reg2mem br label LBL_4 LBL_2: %16 = trunc i64 %1 to i32 %17 = add i64 %3, 4 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = mul i32 %19, %16 %21 = sext i32 %20 to i64 %22 = call i64 @FUNC(i64 %21) %23 = add i64 %2, 8 %24 = inttoptr i64 %23 to i64* store i64 %22, i64* %24, align 8 %25 = icmp eq i64 %22, 0 %26 = icmp eq i1 %25, false store i64 0, i64* %rax.0.reg2mem br i1 %26, label LBL_4, label LBL_3 LBL_3: %27 = load i64, i64* %9, align 8 %28 = call i64 @FUNC(i64 %27, i64 %2) store i64 4294967284, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder label LBL_4, { 1, 0, 2 } }
0
BinRealVul
virtio_scsi_handle_ctrl_req_3578
virtio_scsi_handle_ctrl_req
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.1.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %sv_0 = alloca i32, align 4 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = zext i32 %3 to i64 %5 = bitcast i32* %sv_0 to i64* %6 = call i64 @FUNC(i64 %4, i64 %4, i64 0, i64* nonnull %5, i64 4) %7 = trunc i64 %6 to i32 %8 = icmp ult i32 %7, 4 br i1 %8, label LBL_1, label LBL_2 LBL_1: %9 = call i64 @FUNC(i64 %0) store i64 %9, i64* %rax.1.reg2mem br label LBL_13 LBL_2: %10 = ptrtoint i64* %arg1 to i64 %11 = call i64 @FUNC(i64 %10, i64* nonnull %5) %12 = load i32, i32* %sv_0, align 4 %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_5, label LBL_3 LBL_3: %15 = call i64 @FUNC(i64 %0, i64 0, i64 0) %16 = trunc i64 %15 to i32 %17 = icmp slt i32 %16, 0 %18 = icmp eq i1 %17, false br i1 %18, label LBL_9, label LBL_4 LBL_4: %19 = call i64 @FUNC(i64 %0) store i64 %19, i64* %rax.1.reg2mem br label LBL_13 LBL_5: %20 = icmp ne i32 %12, 1 %21 = icmp eq i32 %12, 2 %22 = icmp eq i1 %21, false %or.cond = icmp eq i1 %20, %22 br i1 %or.cond, label LBL_10, label LBL_6 LBL_6: %23 = call i64 @FUNC(i64 %0, i64 0, i64 0) %24 = trunc i64 %23 to i32 %25 = icmp slt i32 %24, 0 %26 = icmp eq i1 %25, false br i1 %26, label LBL_8, label LBL_7 LBL_7: %27 = call i64 @FUNC(i64 %0) store i64 %27, i64* %rax.1.reg2mem br label LBL_13 LBL_8: %28 = add i64 %0, 16 %29 = inttoptr i64 %28 to i32* store i32 0, i32* %29, align 4 %30 = add i64 %0, 20 %31 = inttoptr i64 %30 to i32* store i32 0, i32* %31, align 4 br label LBL_10 LBL_9: %32 = call i64 @FUNC(i64 %10, i64 %0) %33 = trunc i64 %32 to i32 %34 = icmp eq i32 %33, 0 %35 = icmp eq i1 %34, false br i1 %35, label LBL_11, label LBL_10 LBL_10: %36 = call i64 @FUNC(i64 %0) store i64 %36, i64* %rax.1.reg2mem br label LBL_13 LBL_11: %37 = icmp eq i32 %33, -1 store i64 %32, i64* %rax.1.reg2mem br i1 %37, label LBL_13, label LBL_12 LBL_12: call void @__assert_fail(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([61 x i8], [61 x i8]* @gv_1, i64 0, i64 0), i32 103, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint (i32* @0 to i64), i64* %rax.1.reg2mem br label LBL_13 LBL_13: %rax.1.reload = load i64, i64* %rax.1.reg2mem ret i64 %rax.1.reload uselistorder i32 %33, { 1, 0 } uselistorder i64 %4, { 1, 0 } uselistorder i64 %0, { 3, 0, 4, 5, 6, 7, 1, 2, 8, 9 } uselistorder i64* %rax.1.reg2mem, { 0, 4, 5, 3, 2, 1, 6 } uselistorder i64 (i64, i64, i64)* @virtio_scsi_parse_req, { 1, 0 } uselistorder i1 false, { 1, 2, 0, 3, 4 } uselistorder i64 (i64)* @virtio_scsi_bad_req, { 2, 1, 0 } uselistorder label LBL_10, { 2, 1, 0 } }
0
BinRealVul
vfio_add_std_cap_15021
vfio_add_std_cap
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.in.reg2mem = alloca i64 %0 = urem i64 %arg2, 256 %1 = add i64 %0, %arg1 %2 = inttoptr i64 %1 to i8* %3 = load i8, i8* %2, align 1 %4 = add i64 %1, 1 %5 = inttoptr i64 %4 to i8* %6 = load i8, i8* %5, align 1 %7 = call i64 @FUNC(i64 %arg1, i64 %0) %8 = icmp eq i8 %6, 0 br i1 %8, label LBL_3, label LBL_1 LBL_1: %9 = zext i8 %6 to i64 %10 = call i64 @FUNC(i64 %arg1, i64 %9) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 br i1 %12, label LBL_4, label LBL_2 LBL_2: %13 = and i64 %10, 4294967295 store i64 %13, i64* %rax.0.reg2mem br label LBL_10 LBL_3: %14 = add i64 %arg1, 52 %15 = inttoptr i64 %14 to i8* store i8 0, i8* %15, align 1 br label LBL_4 LBL_4: %sext = mul i64 %arg2, 72057594037927936 %16 = ashr exact i64 %sext, 56 switch i8 %3, label LBL_7 [ i8 5, label LBL_5 i8 17, label LBL_6 ] LBL_5: %17 = urem i64 %16, 256 %18 = call i64 @FUNC(i64 %arg1, i64 %17) store i64 %18, i64* %sv_0.0.in.reg2mem br label LBL_8 LBL_6: %19 = urem i64 %16, 256 %20 = call i64 @FUNC(i64 %arg1, i64 %19) store i64 %20, i64* %sv_0.0.in.reg2mem br label LBL_8 LBL_7: %21 = trunc i64 %7 to i8 %22 = trunc i64 %16 to i8 %23 = call i64 @FUNC(i64 %arg1, i8 %3, i8 %22, i8 %21) store i64 %23, i64* %sv_0.0.in.reg2mem br label LBL_8 LBL_8: %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem %sv_0.0 = trunc i64 %sv_0.0.in.reload to i32 %24 = icmp slt i32 %sv_0.0, 0 %25 = icmp eq i1 %24, false store i64 0, i64* %rax.0.reg2mem br i1 %25, label LBL_10, label LBL_9 LBL_9: %26 = add i64 %arg1, 260 %27 = inttoptr i64 %26 to i8* %28 = load i8, i8* %27, align 1 %29 = add i64 %arg1, 259 %30 = inttoptr i64 %29 to i8* %31 = load i8, i8* %30, align 1 %32 = zext i8 %31 to i64 %33 = add i64 %arg1, 258 %34 = inttoptr i64 %33 to i8* %35 = load i8, i8* %34, align 1 %36 = zext i8 %35 to i64 %37 = add i64 %arg1, 256 %38 = inttoptr i64 %37 to i16* %39 = load i16, i16* %38, align 2 %40 = zext i8 %28 to i64 %41 = zext i16 %39 to i64 %42 = call i64 @FUNC(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @gv_0, i64 0, i64 0), i64 %41, i64 %36, i64 %32, i64 %40, i8 %3) %43 = and i64 %sv_0.0.in.reload, 4294967295 store i64 %43, 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 %sv_0.0.in.reload, { 1, 0 } uselistorder i64 %16, { 2, 0, 1 } uselistorder i8 %3, { 1, 2, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i8 0, { 1, 2, 3, 0 } uselistorder i64 256, { 3, 0, 1, 2 } uselistorder i64 %arg1, { 6, 7, 5, 4, 2, 3, 8, 9, 1, 10, 0 } uselistorder label LBL_10, { 1, 0, 2 } }
1
BinRealVul
check_tp_8151
check_tp
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i32 store i64 0, i64* %rax.0.reg2mem switch i32 %3, label LBL_2 [ i32 0, label LBL_10 i32 1, label LBL_0.LBL_5_crit_edge ] LBL_1: %.pre = add i64 %2, 4 %.pre1 = inttoptr i64 %.pre to i32* %.pr.pre = load i32, i32* %.pre1, align 4 store i32 %.pr.pre, i32* %.reg2mem br label LBL_5 LBL_2: %4 = add i64 %2, 4 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false store i32 %6, i32* %.reg2mem br i1 %8, label LBL_5, label LBL_3 LBL_3: %9 = add i64 %2, 8 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false store i32 %6, i32* %.reg2mem br i1 %13, label LBL_5, label LBL_4 LBL_4: %14 = add i64 %2, 12 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false store i32 %6, i32* %.reg2mem store i64 4294967274, i64* %rax.0.reg2mem br i1 %18, label LBL_5, label LBL_10 LBL_5: %.reload = load i32, i32* %.reg2mem %19 = icmp eq i32 %.reload, -1 %20 = icmp eq i1 %19, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %20, label LBL_6, label LBL_10 LBL_6: %21 = icmp eq i32 %.reload, 0 br i1 %21, label LBL_9, label LBL_7 LBL_7: %22 = add i64 %2, 12 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 switch i32 %24, label LBL_8 [ i32 0, label LBL_9 i32 -1, label LBL_9 ] LBL_8: %25 = icmp ugt i32 %.reload, %24 store i64 4294967274, i64* %rax.0.reg2mem br i1 %25, label LBL_10, label LBL_9 LBL_9: store i64 0, i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %24, { 1, 0 } uselistorder i64 %2, { 1, 2, 3, 4, 0 } uselistorder i32* %.reg2mem, { 0, 2, 3, 4, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 3, 4 } uselistorder i64 4, { 1, 0 } uselistorder i32 0, { 0, 2, 3, 4, 5, 1 } uselistorder label LBL_10, { 4, 0, 1, 2, 3 } uselistorder label LBL_9, { 2, 0, 1, 3 } uselistorder label LBL_5, { 1, 2, 3, 0 } }
0
BinRealVul
base64_decode_xmlrpc_5601
base64_decode_xmlrpc
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i8 %rax.1.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %sv_0.218.reg2mem = alloca i32 %sv_1.319.reg2mem = alloca i32 %sv_2.220.reg2mem = alloca i64 %storemerge21.reg2mem = alloca i32 %sv_3.0.reg2mem = alloca i32 %sv_2.1.reg2mem = alloca i64 %sv_1.1.reg2mem = alloca i32 %sv_0.1.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %storemerge123.reg2mem = alloca i32 %indvars.iv36.reg2mem = alloca i64 %storemerge224.reg2mem = alloca i32 %indvars.iv38.reg2mem = alloca i64 %storemerge325.reg2mem = alloca i32 %indvars.iv41.reg2mem = alloca i64 %indvars.iv44.reg2mem = alloca i64 %1 = ptrtoint i64* %arg1 to i64 %2 = load i8, i8* %0 %3 = load i8, i8* %0 %sv_4 = alloca i64, align 8 %4 = call i64 @FUNC(i64 %1) store i64 0, i64* %indvars.iv44.reg2mem br label LBL_1 LBL_1: %indvars.iv44.reload = load i64, i64* %indvars.iv44.reg2mem %5 = add i64 %indvars.iv44.reload, ptrtoint (i8** @gv_0 to i64) %6 = inttoptr i64 %5 to i8* store i8 -128, i8* %6, align 1 %indvars.iv.next45 = add nuw nsw i64 %indvars.iv44.reload, 1 %exitcond46 = icmp eq i64 %indvars.iv.next45, 255 store i64 %indvars.iv.next45, i64* %indvars.iv44.reg2mem store i64 65, i64* %indvars.iv41.reg2mem store i32 65, i32* %storemerge325.reg2mem br i1 %exitcond46, label LBL_2, label LBL_1 LBL_2: %storemerge325.reload = load i32, i32* %storemerge325.reg2mem %indvars.iv41.reload = load i64, i64* %indvars.iv41.reg2mem %7 = trunc i32 %storemerge325.reload to i8 %8 = add i8 %7, -65 %9 = add i64 %indvars.iv41.reload, ptrtoint (i8** @gv_0 to i64) %10 = inttoptr i64 %9 to i8* store i8 %8, i8* %10, align 1 %indvars.iv.next42 = add nuw nsw i64 %indvars.iv41.reload, 1 %11 = add nuw nsw i32 %storemerge325.reload, 1 %exitcond43 = icmp eq i64 %indvars.iv.next42, 91 store i64 %indvars.iv.next42, i64* %indvars.iv41.reg2mem store i32 %11, i32* %storemerge325.reg2mem br i1 %exitcond43, label LBL_3, label LBL_2 LBL_3: %12 = ptrtoint i64* %sv_4 to i64 store i64 97, i64* %indvars.iv38.reg2mem store i32 97, i32* %storemerge224.reg2mem br label LBL_4 LBL_4: %storemerge224.reload = load i32, i32* %storemerge224.reg2mem %indvars.iv38.reload = load i64, i64* %indvars.iv38.reg2mem %13 = trunc i32 %storemerge224.reload to i8 %14 = add i8 %13, -71 %15 = add i64 %indvars.iv38.reload, ptrtoint (i8** @gv_0 to i64) %16 = inttoptr i64 %15 to i8* store i8 %14, i8* %16, align 1 %indvars.iv.next39 = add nuw nsw i64 %indvars.iv38.reload, 1 %17 = add nuw nsw i32 %storemerge224.reload, 1 %exitcond40 = icmp eq i64 %indvars.iv.next39, 123 store i64 %indvars.iv.next39, i64* %indvars.iv38.reg2mem store i32 %17, i32* %storemerge224.reg2mem store i64 48, i64* %indvars.iv36.reg2mem store i32 48, i32* %storemerge123.reg2mem br i1 %exitcond40, label LBL_5, label LBL_4 LBL_5: %storemerge123.reload = load i32, i32* %storemerge123.reg2mem %indvars.iv36.reload = load i64, i64* %indvars.iv36.reg2mem %18 = trunc i32 %storemerge123.reload to i8 %19 = add i8 %18, 4 %20 = add i64 %indvars.iv36.reload, ptrtoint (i8** @gv_0 to i64) %21 = inttoptr i64 %20 to i8* store i8 %19, i8* %21, align 1 %indvars.iv.next37 = add nuw nsw i64 %indvars.iv36.reload, 1 %22 = add nuw nsw i32 %storemerge123.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next37, 58 store i64 %indvars.iv.next37, i64* %indvars.iv36.reg2mem store i32 %22, i32* %storemerge123.reg2mem br i1 %exitcond, label LBL_6, label LBL_5 LBL_6: store i8 62, i8* bitcast (i64* @gv_1 to i8*), align 8 store i8 63, i8* bitcast (i64* @gv_2 to i8*), align 8 store i8 0, i8* bitcast (i64* @gv_3 to i8*), align 8 %23 = icmp eq i8 %3, 61 %24 = icmp eq i8 %2, 61 %25 = icmp eq i1 %24, false %. = select i1 %25, i32 3, i32 2 %26 = add i64 %12, -31 %spec.select47 = select i1 %23, i32 1, i32 %. %27 = zext i32 %spec.select47 to i64 %28 = icmp eq i32 %spec.select47, 3 store i32 0, i32* %sv_0.0.reg2mem store i32 0, i32* %sv_1.0.reg2mem store i64 %arg2, i64* %sv_2.0.reg2mem br label LBL_7 LBL_7: %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem store i32 0, i32* %storemerge21.reg2mem store i64 %sv_2.0.reload, i64* %sv_2.220.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.319.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.218.reg2mem br label LBL_8.preheader LBL_8: %sv_2.1.reload = load i64, i64* %sv_2.1.reg2mem %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %29 = add i64 %sv_2.1.reload, 1 %30 = inttoptr i64 %sv_2.1.reload to i8* %31 = load i8, i8* %30, align 1 %32 = add i32 %sv_0.1.reload, 1 %33 = icmp sgt i32 %32, %arg3 %spec.select = select i1 %33, i32 1, i32 %sv_1.1.reload %34 = call i16** @__ctype_b_loc() %35 = load i16*, i16** %34, align 8 %36 = ptrtoint i16* %35 to i64 %37 = sext i8 %31 to i64 %38 = mul i64 %37, 2 %39 = add i64 %38, %36 %40 = inttoptr i64 %39 to i16* %41 = load i16, i16* %40, align 2 %42 = and i16 %41, 8192 %43 = icmp eq i16 %42, 0 %44 = icmp ne i8 %31, 10 %or.cond.not = icmp eq i1 %44, %43 %45 = icmp eq i8 %31, 13 %46 = icmp eq i1 %45, false %or.cond7 = icmp eq i1 %46, %or.cond.not store i32 %32, i32* %sv_0.1.reg2mem store i32 %spec.select, i32* %sv_1.1.reg2mem store i64 %29, i64* %sv_2.1.reg2mem br i1 %or.cond7, label LBL_9, label LBL_8 LBL_9: %47 = icmp eq i32 %spec.select, 0 %48 = icmp eq i1 %47, false store i64 0, i64* %rax.1.reg2mem br i1 %48, label LBL_18, label LBL_10 LBL_10: %49 = zext i8 %31 to i64 %50 = add i64 %49, ptrtoint (i8** @gv_0 to i64) %51 = inttoptr i64 %50 to i8* %52 = load i8, i8* %51, align 1 %53 = icmp slt i8 %52, 0 %54 = icmp eq i1 %53, false br i1 %54, label LBL_12, label LBL_11 LBL_11: %55 = add i32 %storemerge21.reload, -1 store i32 %55, i32* %sv_3.0.reg2mem br label LBL_13 LBL_12: %56 = sext i32 %storemerge21.reload to i64 %57 = add i64 %56, %12 %58 = add i64 %57, -24 %59 = inttoptr i64 %58 to i8* store i8 %31, i8* %59, align 1 %60 = add i64 %37, ptrtoint (i8** @gv_0 to i64) %61 = inttoptr i64 %60 to i8* %62 = load i8, i8* %61, align 1 %63 = add i64 %57, -28 %64 = inttoptr i64 %63 to i8* store i8 %62, i8* %64, align 1 store i32 %storemerge21.reload, i32* %sv_3.0.reg2mem br label LBL_13 LBL_13: %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem %65 = add i32 %sv_3.0.reload, 1 %66 = icmp slt i32 %65, 4 store i32 %65, i32* %storemerge21.reg2mem store i64 %29, i64* %sv_2.220.reg2mem store i32 %spec.select, i32* %sv_1.319.reg2mem store i32 %32, i32* %sv_0.218.reg2mem store i64 0, i64* %indvars.iv.reg2mem br i1 %66, label LBL_8.preheader, label LBL_15 LBL_14: %sv_0.218.reload = load i32, i32* %sv_0.218.reg2mem %sv_1.319.reload = load i32, i32* %sv_1.319.reg2mem %sv_2.220.reload = load i64, i64* %sv_2.220.reg2mem %storemerge21.reload = load i32, i32* %storemerge21.reg2mem store i32 %sv_0.218.reload, i32* %sv_0.1.reg2mem store i32 %sv_1.319.reload, i32* %sv_1.1.reg2mem store i64 %sv_2.220.reload, i64* %sv_2.1.reg2mem br label LBL_8 LBL_15: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %67 = add nuw nsw i64 %26, %indvars.iv.reload %68 = inttoptr i64 %67 to i8* %69 = load i8, i8* %68, align 1 %70 = zext i8 %69 to i64 %71 = call i64 @FUNC(i64 %1, i64 %70) %72 = icmp ult i64 %indvars.iv.next, %27 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %72, label LBL_15, label LBL_16 LBL_16: store i32 %32, i32* %sv_0.0.reg2mem store i32 %spec.select, i32* %sv_1.0.reg2mem store i64 %29, i64* %sv_2.0.reg2mem br i1 %28, label LBL_7, label LBL_17 LBL_17: %73 = and i64 %indvars.iv.next, 4294967295 store i64 %73, i64* %rax.1.reg2mem br label LBL_18 LBL_18: %rax.1.reload = load i64, i64* %rax.1.reg2mem ret i64 %rax.1.reload uselistorder i64 %indvars.iv.next, { 1, 0, 2 } uselistorder i64 %indvars.iv.reload, { 1, 0 } uselistorder i64 %37, { 1, 0 } uselistorder i32 %spec.select, { 2, 0, 3, 1 } uselistorder i32 %32, { 2, 0, 1, 3 } uselistorder i8 %31, { 1, 0, 2, 3, 4 } uselistorder i64 %29, { 2, 0, 1 } uselistorder i64 %sv_2.1.reload, { 1, 0 } uselistorder i64* %indvars.iv44.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv41.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge325.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv38.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge224.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv36.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge123.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.0.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.1.reg2mem, { 1, 2, 0 } uselistorder i32* %sv_1.1.reg2mem, { 1, 2, 0 } uselistorder i64* %sv_2.1.reg2mem, { 1, 2, 0 } uselistorder i32* %sv_3.0.reg2mem, { 0, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.1.reg2mem, { 0, 2, 1 } uselistorder i8* %0, { 1, 0 } uselistorder i32 0, { 3, 0, 1, 2 } uselistorder i32 3, { 1, 0 } uselistorder i1 false, { 1, 2, 0, 3 } uselistorder i8 0, { 1, 2, 0 } uselistorder i64 ptrtoint (i8** @gv_0 to i64), { 5, 4, 3, 2, 1, 0 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_8.preheader, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
aux_slave_class_init_14411
aux_slave_class_init
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %sext = mul i64 %1, 4294967296 %3 = ashr exact i64 %sext, 32 %4 = call i64 @FUNC(i64 1, i64 %3) %5 = add i64 %2, 4 %6 = inttoptr i64 %5 to i32* store i32 2, i32* %6, align 4 ret i64 %2 uselistorder i64 %2, { 1, 0 } }
1
BinRealVul
pmd_none_or_trans_huge_or_clear_bad_13658
pmd_none_or_trans_huge_or_clear_bad
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC() %3 = call i64 @FUNC(i64 %1) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i64 1, i64* %rax.0.reg2mem br i1 %6, label LBL_4, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 %1) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 store i64 1, i64* %rax.0.reg2mem br i1 %9, label LBL_2, label LBL_4 LBL_2: %10 = call i64 @FUNC(i64 %1) %11 = and i64 %10, 4294967295 %12 = call i64 @FUNC(i64 %11) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 store i64 0, i64* %rax.0.reg2mem br i1 %14, label LBL_4, label LBL_3 LBL_3: %15 = call i64 @FUNC(i64 %0) store i64 1, 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, 4, 1, 3, 2 } uselistorder i64 1, { 2, 1, 0 } uselistorder label LBL_4, { 3, 0, 2, 1 } }
0
BinRealVul
ipip6_tunnel_del_prl_8126
ipip6_tunnel_del_prl
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64* nonnull @gv_0) %2 = icmp eq i64* %arg2, null br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = ptrtoint i64* %arg2 to i64 %4 = add i64 %3, 8 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = call i32 @htonl(i32 0) %8 = icmp eq i32 %6, %7 store i64 %0, i64* %storemerge.reg2mem br i1 %8, label LBL_7, label LBL_5 LBL_2: %9 = add i64 %0, 8 %10 = inttoptr i64 %9 to i32* br label LBL_6 LBL_3: %11 = inttoptr i64 %25 to i32* %12 = load i32, i32* %11, align 4 %13 = load i32, i32* %5, align 4 %14 = icmp eq i32 %12, %13 %15 = icmp eq i1 %14, false %16 = add i64 %25, 8 store i64 %16, i64* %storemerge.reg2mem br i1 %15, label LBL_5, label LBL_4 LBL_4: %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 store i64 %18, i64* %24, align 8 %19 = call i64 @FUNC(i64 %25) %20 = add i64 %0, 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 br label LBL_7 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem %24 = inttoptr i64 %storemerge.reload to i64* %25 = load i64, i64* %24, align 8 %26 = icmp eq i64 %25, 0 %27 = icmp eq i1 %26, false br i1 %27, label LBL_3, label LBL_7 LBL_6: %28 = load i64, i64* inttoptr (i64 add (i64 ptrtoint (i64* @gv_0 to i64), i64 8) to i64*), align 8 store i64 %28, i64* %arg1, align 8 %29 = call i64 @FUNC(i64 ptrtoint (i64* @gv_0 to i64)) %30 = load i32, i32* %10, align 4 %31 = add i32 %30, -1 store i32 %31, i32* %10, align 4 br label LBL_6 LBL_7: %32 = call i64 @FUNC(i64* nonnull @gv_0) ret i64 0 uselistorder i64 %25, { 3, 2, 1, 0 } uselistorder i64* %24, { 1, 0 } uselistorder i64 %16, { 1, 0 } uselistorder i64 %0, { 1, 2, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @kfree, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i64 8, { 0, 3, 2, 1, 4 } uselistorder i64* @gv_0, { 0, 2, 1 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_7, { 0, 2, 1 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
callback_thread_event_13096
callback_thread_event
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = trunc i64 %arg1 to i32 %1 = icmp eq i32 %0, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: store i8 1, i8* bitcast (i64* @gv_0 to i8*), align 8 %3 = call i32 @pthread_self() store i32 %3, i32* @gv_1, align 4 %4 = load i64, i64* @gv_2, align 8 %5 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_3, i64 0, i64 0), i64 %4) store i64 %5, i64* %rax.0.reg2mem br label LBL_6 LBL_2: %6 = icmp eq i32 %0, 1 %7 = icmp eq i1 %6, false br i1 %7, label LBL_6, label LBL_3 LBL_3: %8 = call i64 @FUNC() %9 = trunc i64 %8 to i8 %10 = icmp eq i8 %9, 1 br i1 %10, label LBL_5, label LBL_4 LBL_4: %11 = call i64 @FUNC(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_5, i64 0, i64 0)) store i64 %11, i64* %rax.0.reg2mem br label LBL_6 LBL_5: store i8 0, i8* bitcast (i64* @gv_0 to i8*), align 8 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 i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i32* @gv_1, { 1, 0 } uselistorder i32 ()* @pthread_self, { 1, 0 } uselistorder i32 0, { 1, 2, 0 } }
1
BinRealVul
js_ppfile_6479
js_ppfile
define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1) %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(i64 %arg1, i64 0) %4 = call i64 @FUNC(i64 %arg1) br label LBL_2 LBL_2: %5 = inttoptr i64 %arg2 to i8* %6 = call %_IO_FILE* @fopen(i8* %5, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0)) %7 = icmp eq %_IO_FILE* %6, null %8 = icmp eq i1 %7, false br i1 %8, label LBL_4, label LBL_3 LBL_3: %9 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_1, i64 0, i64 0), i64 %arg2) unreachable LBL_4: %10 = call i32 @fseek(%_IO_FILE* %6, i32 0, i32 2) %11 = icmp slt i32 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_6, label LBL_5 LBL_5: %13 = call i32 @fclose(%_IO_FILE* %6) %14 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_2, i64 0, i64 0), i64 %arg2) unreachable LBL_6: %15 = call i32 @ftell(%_IO_FILE* %6) %16 = icmp slt i32 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_8, label LBL_7 LBL_7: %18 = call i32 @fclose(%_IO_FILE* %6) %19 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i64 %arg2) unreachable LBL_8: %20 = call i32 @fseek(%_IO_FILE* %6, i32 0, i32 0) %21 = icmp slt i32 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_10, label LBL_9 LBL_9: %23 = call i32 @fclose(%_IO_FILE* %6) %24 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_2, i64 0, i64 0), i64 %arg2) unreachable LBL_10: %25 = add i32 %15, 1 %26 = sext i32 %25 to i64 %27 = call i64 @FUNC(i64 %arg1, i64 %26) %28 = icmp eq i64 %27, 0 %29 = icmp eq i1 %28, false br i1 %29, label LBL_12, label LBL_11 LBL_11: %30 = call i32 @fclose(%_IO_FILE* %6) %31 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_4, i64 0, i64 0), i64 %arg2) unreachable LBL_12: %32 = inttoptr i64 %27 to i64* %33 = call i32 @fread(i64* %32, i32 1, i32 %15, %_IO_FILE* %6) %34 = icmp eq i32 %33, %15 br i1 %34, label LBL_14, label LBL_13 LBL_13: %35 = call i64 @FUNC(i64 %arg1, i64 %27) %36 = call i32 @fclose(%_IO_FILE* %6) %37 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_5, i64 0, i64 0), i64 %arg2) unreachable LBL_14: %38 = sext i32 %15 to i64 %39 = add i64 %27, %38 %40 = inttoptr i64 %39 to i8* store i8 0, i8* %40, align 1 %41 = call i64 @FUNC(i64 %arg1, i64 %arg2, i64 %27, i32 %arg3) %42 = call i64 @FUNC(i64 %arg1) %43 = call i64 @FUNC(i64 %arg1, i64 %27) %44 = call i32 @fclose(%_IO_FILE* %6) %45 = sext i32 %44 to i64 ret i64 %45 uselistorder i64 %27, { 2, 1, 0, 3, 4, 5 } uselistorder i32 %15, { 0, 2, 1, 3, 4 } uselistorder %_IO_FILE* %6, { 2, 1, 3, 4, 0, 5, 6, 7, 8, 9, 10 } uselistorder i8 0, { 1, 0 } uselistorder i32 (%_IO_FILE*)* @fclose, { 5, 4, 3, 2, 1, 0 } uselistorder i32 (%_IO_FILE*, i32, i32)* @fseek, { 1, 0 } uselistorder i64 (i64, i8*, i64)* @js_error, { 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @js_free, { 2, 1, 0 } uselistorder i32 0, { 3, 0, 1, 4, 5, 2, 6 } uselistorder i64 %arg2, { 6, 5, 4, 3, 2, 1, 0, 7 } uselistorder i64 %arg1, { 11, 10, 9, 8, 7, 6, 12, 5, 4, 3, 2, 0, 1, 13 } }
0
BinRealVul
ehci_advance_periodic_state_14325
ehci_advance_periodic_state
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.pre-phi3.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %5 = call i64 @FUNC(i64 %4, i64 0) %6 = trunc i64 %5 to i32 %7 = trunc i64 %3 to i32 switch i32 %6, label LBL_10 [ i32 0, label LBL_2 i32 1, label LBL_0.LBL_5_crit_edge ] LBL_1: %.pre2 = urem i32 %7, 8 store i32 %.pre2, i32* %.pre-phi3.reg2mem br label LBL_5 LBL_2: %8 = urem i32 %7, 8 %9 = zext i32 %8 to i64 %10 = icmp eq i32 %8, 0 %11 = icmp eq i1 %10, false store i64 %9, i64* %rax.0.reg2mem br i1 %11, label LBL_11, label LBL_3 LBL_3: %12 = add i64 %4, 4 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = urem i32 %14, 2 %16 = icmp eq i32 %15, 0 store i64 0, i64* %rax.0.reg2mem br i1 %16, label LBL_11, label LBL_4 LBL_4: %17 = call i64 @FUNC(i64 %4, i64 1) %18 = call i64 @FUNC(i64 %4, i64 0, i64 1) store i32 %8, i32* %.pre-phi3.reg2mem br label LBL_5 LBL_5: %.pre-phi3.reload = load i32, i32* %.pre-phi3.reg2mem %19 = icmp eq i32 %.pre-phi3.reload, 0 %20 = icmp eq i1 %19, false br i1 %20, label LBL_8, label LBL_6 LBL_6: %21 = add i64 %4, 4 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = urem i32 %23, 2 %25 = icmp eq i32 %24, 0 %26 = icmp eq i1 %25, false br i1 %26, label LBL_8, label LBL_7 LBL_7: %27 = call i64 @FUNC(i64 %4, i64 1) %28 = call i64 @FUNC(i64 %4, i64 0, i64 0) store i64 %28, i64* %rax.0.reg2mem br label LBL_11 LBL_8: %29 = add i64 %4, 8 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = and i32 %31, -4096 %33 = icmp eq i32 %32, 0 store i64 0, i64* %rax.0.reg2mem br i1 %33, label LBL_11, label LBL_9 LBL_9: %34 = udiv i32 %7, 2 %35 = and i32 %34, 4092 %36 = or i32 %32, %35 %37 = add i64 %4, 16 %38 = zext i32 %36 to i64 %39 = bitcast i32* %sv_0 to i64* %40 = call i64 @FUNC(i64 %37, i64 %38, i64* nonnull %39, i64 4) %41 = load i32, i32* %sv_0, align 4 %42 = zext i32 %41 to i64 %43 = call i64 @FUNC(i64 %42) %44 = trunc i64 %43 to i32 store i32 %44, i32* %sv_0, align 4 %45 = udiv i64 %3, 8 %46 = urem i64 %45, 536870912 %47 = and i64 %43, 4294967295 %48 = call i64 @FUNC(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_0, i64 0, i64 0), i64 %46, i64 %38, i64 %47, i64 %2, i64 %1) %49 = load i32, i32* %sv_0, align 4 %50 = zext i32 %49 to i64 %51 = call i64 @FUNC(i64 %4, i64 0, i64 %50) %52 = call i64 @FUNC(i64 %4, i64 0, i64 2) %53 = call i64 @FUNC(i64 %4, i64 0) %54 = call i64 @FUNC(i64 %4, i64 0) store i64 %54, i64* %rax.0.reg2mem br label LBL_11 LBL_10: %55 = add i64 %4, 12 %56 = inttoptr i64 %55 to i32* %57 = load i32, i32* %56, align 4 %58 = zext i32 %57 to i64 %59 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %60 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %59, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_2, i64 0, i64 0), i64 %58) call void @__assert_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([61 x i8], [61 x i8]* @gv_4, i64 0, i64 0), i32 95, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_5, i64 0, i64 0)) store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %8, { 0, 2, 1 } uselistorder i32* %sv_0, { 2, 1, 0, 3 } uselistorder i64 %4, { 0, 4, 7, 6, 5, 8, 9, 2, 3, 1, 11, 10, 12, 13 } uselistorder i64 %3, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 4, 2, 5, 6 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64, i64, i64)* @ehci_set_state, { 2, 1, 0 } uselistorder i32 0, { 1, 2, 3, 4, 5, 0 } uselistorder label LBL_11, { 1, 2, 0, 3, 4, 5 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
sendInputPacketOnControlStream_7058
sendInputPacketOnControlStream
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = load i8, i8* inttoptr (i64 4210732 to i8*), align 4 %1 = icmp ult i8 %0, 5 br i1 %1, label LBL_1, label LBL_2 LBL_1: %2 = call i32 @puts(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_3 LBL_2: %3 = and i64 %arg2, 4294967295 %4 = load i32, i32* inttoptr (i64 4210740 to i32*), align 4 %5 = ptrtoint i32* %arg1 to i64 %6 = zext i32 %4 to i64 %7 = call i64 @FUNC(i64 %6, i64 %3, i64 %5) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false %. = select i1 %10, i64 0, i64 4294967295 store i64 %., i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload }
0
BinRealVul
ff_layout_mirror_valid_18506
ff_layout_mirror_valid
define i64 @FUNC(i64* %arg1, i64* %arg2, i8 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp ne i64* %arg2, null %1 = icmp ult i64* %arg2, inttoptr (i64 -1000 to i64*) %or.cond = icmp eq i1 %0, %1 store i64 1, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_2, label LBL_1 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2, i64 %2) store i64 0, 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* %rax.0.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
__iotc_calloc_12873
__iotc_calloc
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = mul i64 %arg2, %arg1 %1 = call i64 @FUNC(i64 %0) %2 = icmp eq i64 %1, 0 br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = trunc i64 %0 to i32 %4 = inttoptr i64 %1 to i64* %5 = call i64* @memset(i64* %4, i32 0, i32 %3) br label LBL_2 LBL_2: ret i64 %1 uselistorder i64 %0, { 1, 0 } }
1
BinRealVul
intsetBlobLen_5736
intsetBlobLen
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = and i64 %1, 4294967295 %4 = call i64 @FUNC(i64 %3) %5 = and i64 %4, 4294967295 %6 = add i64 %2, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = zext i32 %8 to i64 %10 = call i64 @FUNC(i64 %9) %11 = and i64 %10, 4294967295 %narrow = mul nuw i64 %11, %5 %12 = add i64 %narrow, 8 ret i64 %12 uselistorder i64 (i64)* @intrev32ifbe, { 1, 0 } uselistorder i64 4294967295, { 1, 2, 0 } }
0
BinRealVul
smp_proc_id_info_12803
smp_proc_id_info
define i64 @FUNC(i64* %arg1, i64* %arg2) 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 = ptrtoint i64* %arg2 to i64 %6 = ptrtoint i64* %arg1 to i64 %7 = call i64 @FUNC(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1) %8 = call i64 @FUNC(i64 %6, i64 %5, i64 16) %9 = call i64 @FUNC(i64 %6, i64 0) ret i64 %9 uselistorder i64* %0, { 3, 2, 1, 0 } }
1
BinRealVul
r_read_ble8_6808
r_read_ble8
define i64 @FUNC(i8* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = icmp eq i8* %arg1, null %3 = icmp eq i1 %2, false %4 = urem i64 %1, 256 %storemerge = select i1 %3, i64 %4, i64 4294967295 ret i64 %storemerge }
0
BinRealVul
RegisterRLEImage_12725
RegisterRLEImage
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_1, i64 0, i64 0)) %1 = add i64 %0, 24 %2 = inttoptr i64 %1 to i64* store i64 4198831, i64* %2, align 8 %3 = add i64 %0, 32 %4 = inttoptr i64 %3 to i64* store i64 4198838, i64* %4, align 8 %5 = add i64 %0, 40 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = xor i32 %7, 1 store i32 %8, i32* %6, align 4 %9 = call i64 @FUNC(i64 %0) ret i64 12345 uselistorder i32 1, { 1, 0 } }
1
BinRealVul
hpi_entity_alloc_and_pack_17492
hpi_entity_alloc_and_pack
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i32* %arg4, i64* %arg5) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 store i64 0, i64* %arg5, align 8 %0 = and i64 %arg1, 4294967295 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i16 %3 = icmp eq i16 %2, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = urem i64 %1, 65536 store i64 %4, i64* %rax.0.reg2mem br label LBL_3 LBL_2: %5 = ptrtoint i64* %arg5 to i64 %6 = trunc i64 %arg3 to i32 %7 = icmp ne i32 %6, 0 %8 = trunc i64 %arg1 to i32 %9 = icmp ult i32 %8, 10 %or.cond10 = icmp eq i1 %9, %7 %storemerge6 = zext i1 %or.cond10 to i64 %10 = call i64 @FUNC(i64 %storemerge6) %11 = mul i64 %arg1, 8 %12 = and i64 %11, 34359738360 %13 = add i64 %12, ptrtoint (i64* @gv_0 to i64) %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = mul i64 %15, %arg2 %17 = call i64 @FUNC(i64 %5) %18 = add i64 %17, %16 %19 = call i64 @FUNC(i64 %5) %20 = icmp uge i64 %18, %19 %21 = icmp ult i64 %18, 1024 %or.cond = icmp eq i1 %20, %21 %storemerge = zext i1 %or.cond to i64 %22 = call i64 @FUNC(i64 %storemerge) %23 = call i64 @FUNC(i64 %18, i64 0) store i64 %23, i64* %arg5, align 8 %24 = trunc i64 %16 to i32 %25 = add i64 %5, 16 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = inttoptr i64 %27 to i64* %29 = bitcast i32* %arg4 to i64* %30 = call i64* @memcpy(i64* %28, i64* %29, i32 %24) %31 = call i64 @FUNC(i64 %5) %sext8 = mul i64 %16, 4294967296 %32 = ashr exact i64 %sext8, 32 %33 = add i64 %31, %32 store i64 %33, i64* %arg5, align 8 %34 = add i64 %5, 8 %35 = inttoptr i64 %34 to i32* store i32 %8, i32* %35, align 4 %36 = add i64 %5, 12 %37 = inttoptr i64 %36 to i32* store i32 %6, i32* %37, align 4 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 %16, { 0, 2, 1 } uselistorder i64 %5, { 0, 1, 2, 3, 5, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @hpi_entity_header_size, { 2, 1, 0 } uselistorder i64 8, { 1, 0 } uselistorder i64 (i64)* @HPI_DEBUG_ASSERT, { 1, 0 } uselistorder i64* %arg5, { 0, 1, 3, 2 } }
1
reposvul_c_test
__alloc_from_pool_261
__alloc_from_pool
define i64 @FUNC(i64 %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = load i64, i64* @gv_0, align 8 %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %4 = call i32 @fwrite(i64* bitcast ([32 x i8]* @gv_2 to i64*), i32 1, i32 31, %_IO_FILE* %3) store i64 0, i64* %storemerge.reg2mem br label LBL_5 LBL_2: %5 = call i64 @FUNC(i64 %0, i64 %arg1) %6 = icmp eq i64 %5, 0 store i64 0, i64* %storemerge.reg2mem br i1 %6, label LBL_5, label LBL_3 LBL_3: %7 = load i64, i64* @gv_0, align 8 %8 = call i64 @FUNC(i64 %7, i64 %5) %9 = call i64 @FUNC(i64 %8) store i64 %9, i64* %arg2, align 8 %10 = urem i32 %arg3, 2 %11 = icmp eq i32 %10, 0 store i64 %5, i64* %storemerge.reg2mem br i1 %11, label LBL_5, label LBL_4 LBL_4: %12 = inttoptr i64 %5 to i64* %13 = trunc i64 %arg1 to i32 %14 = call i64* @memset(i64* %12, i32 0, i32 %13) store i64 %5, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %5, { 0, 2, 1, 3, 4 } uselistorder label LBL_5, { 2, 1, 0, 3 } }
1
BinRealVul
generic_hdmi_build_controls_3905
generic_hdmi_build_controls
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i64 %storemerge38.reg2mem = alloca i32 %.reg2mem17 = alloca i64 %storemerge9.reg2mem = alloca i32 %.reg2mem = alloca i64 %storemerge412.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %3, label LBL_13, label LBL_1 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = bitcast i64* %rdi to i32* %6 = and i64 %1, 4294967295 store i32 0, i32* %storemerge412.reg2mem br label LBL_2 LBL_2: %storemerge412.reload = load i32, i32* %storemerge412.reg2mem %7 = zext i32 %storemerge412.reload to i64 %8 = call i64 @FUNC(i64 %4, i64 %7) %9 = call i64 @FUNC(i64 %4, i64 %7) %10 = trunc i64 %9 to i32 %11 = icmp slt i32 %10, 0 %12 = icmp eq i1 %11, false store i64 %9, i64* %rax.0.shrunk.reg2mem br i1 %12, label LBL_3, label LBL_13 LBL_3: %13 = inttoptr i64 %8 to i32* %14 = add i64 %8, 4 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = load i32, i32* %13, align 4 %18 = call i64 @FUNC(i64 %4, i32 %17, i32 %16, i64 0) %19 = trunc i64 %18 to i32 %20 = icmp slt i32 %19, 0 %21 = icmp eq i1 %20, false store i64 %18, i64* %rax.0.shrunk.reg2mem br i1 %21, label LBL_4, label LBL_13 LBL_4: %22 = call i64 @FUNC(i64 %4, i64 %7) %23 = call i64 @FUNC(i64 %4, i64 %7) %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = call i64 @FUNC(i64 %4, i64 %7, i32 %25) %27 = trunc i64 %26 to i32 %28 = icmp slt i32 %27, 0 %29 = icmp eq i1 %28, false store i64 %26, i64* %rax.0.shrunk.reg2mem br i1 %29, label LBL_5, label LBL_13 LBL_5: %30 = call i64 @FUNC(i64 %8, i64 0) %31 = add i32 %storemerge412.reload, 1 %32 = sext i32 %31 to i64 %33 = icmp sgt i64 %6, %32 store i32 %31, i32* %storemerge412.reg2mem br i1 %33, label LBL_2, label LBL_6 LBL_6: %34 = add i64 %4, 8 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge9.reg2mem br label LBL_7 LBL_7: %.reload = load i64, i64* %.reg2mem %35 = mul i64 %.reload, 8 %36 = add i64 %34, %35 %37 = inttoptr i64 %36 to i64* %38 = load i64, i64* %37, align 8 %39 = icmp eq i64 %38, 0 store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %39, label LBL_13, label LBL_8 LBL_8: %storemerge9.reload = load i32, i32* %storemerge9.reg2mem %40 = zext i32 %storemerge9.reload to i64 %41 = call i64 @FUNC(i64 %38, i64 0, i64 0, i64 0, i64 %40, i64* nonnull %sv_0) %42 = trunc i64 %41 to i32 %43 = icmp slt i32 %42, 0 %44 = icmp eq i1 %43, false store i64 %41, i64* %rax.0.shrunk.reg2mem br i1 %44, label LBL_9, label LBL_13 LBL_9: %45 = load i64, i64* %sv_0, align 8 %46 = inttoptr i64 %45 to i64* store i64 %4, i64* %46, align 8 %47 = load i64, i64* %sv_0, align 8 %48 = add i64 %47, 8 %49 = inttoptr i64 %48 to i64* %50 = load i64, i64* %49, align 8 %51 = inttoptr i64 %50 to i32* %52 = load i32, i32* %51, align 4 %53 = icmp eq i32 %52, 0 br i1 %53, label LBL_12, label LBL_10 LBL_10: %54 = add i64 %50, 4 store i64 0, i64* %.reg2mem17 store i32 0, i32* %storemerge38.reg2mem br label LBL_11 LBL_11: %storemerge38.reload = load i32, i32* %storemerge38.reg2mem %.reload18 = load i64, i64* %.reg2mem17 %55 = mul i64 %.reload18, 4 %56 = add i64 %54, %55 %57 = inttoptr i64 %56 to i32* %58 = load i32, i32* %57, align 4 %59 = or i32 %58, 1 store i32 %59, i32* %57, align 4 %60 = add i32 %storemerge38.reload, 1 %61 = load i32, i32* %51, align 4 %62 = zext i32 %61 to i64 %63 = sext i32 %60 to i64 %64 = icmp slt i64 %63, %62 store i64 %63, i64* %.reg2mem17 store i32 %60, i32* %storemerge38.reg2mem br i1 %64, label LBL_11, label LBL_12 LBL_12: %65 = add i64 %50, 48 %66 = inttoptr i64 %65 to i64* store i64 4199371, i64* %66, align 8 %67 = add i64 %50, 56 %68 = inttoptr i64 %67 to i64* store i64 4199386, i64* %68, align 8 %69 = add i64 %50, 64 %70 = inttoptr i64 %69 to i64* store i64 4199405, i64* %70, align 8 %71 = load i64, i64* @gv_0, align 8 %72 = add i64 %50, 72 %73 = inttoptr i64 %72 to i64* store i64 %71, i64* %73, align 8 %74 = add i32 %storemerge9.reload, 1 %75 = load i32, i32* %5, align 8 %76 = zext i32 %75 to i64 %77 = sext i32 %74 to i64 %78 = icmp slt i64 %77, %76 store i64 %77, i64* %.reg2mem store i32 %74, i32* %storemerge9.reg2mem store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %78, label LBL_7, label LBL_13 LBL_13: %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295 ret i64 %rax.0 uselistorder i32* %51, { 1, 0 } uselistorder i64 %7, { 0, 2, 1, 3, 4 } uselistorder i64* %sv_0, { 1, 2, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %storemerge412.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge9.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem17, { 1, 0, 2 } uselistorder i32* %storemerge38.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 6, 4, 5, 1, 2, 3, 7 } uselistorder i64 8, { 1, 0, 2 } uselistorder i32 0, { 0, 3, 5, 1, 6, 7, 8, 2, 4, 9 } uselistorder label LBL_13, { 5, 3, 4, 0, 1, 2, 6 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
decompress_i_88
decompress_i
define i64 @FUNC(i32* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.1175.reg2mem = alloca i32 %sv_1.1176.reg2mem = alloca i32 %sv_2.6177.reg2mem = alloca i32 %sv_3.8178.reg2mem = alloca i32 %sv_4.8179.reg2mem = alloca i32 %sv_5.8180.reg2mem = alloca i32 %sv_6.8181.reg2mem = alloca i32 %.reg2mem439 = alloca i32 %sv_1.1.be.in.reg2mem = alloca i32 %sv_0.1.be.reg2mem = alloca i32 %sv_6.7.reg2mem = alloca i32 %sv_5.7.reg2mem = alloca i32 %sv_4.7.reg2mem = alloca i32 %sv_3.7.reg2mem = alloca i32 %sv_2.5.reg2mem = alloca i32 %.reg2mem437 = alloca i32 %sv_3.6139.reg2mem = alloca i32 %sv_4.6140.reg2mem = alloca i32 %sv_3.5145.reg2mem = alloca i32 %sv_4.5146.reg2mem = alloca i32 %sv_5.5147.reg2mem = alloca i32 %sv_6.5148.reg2mem = alloca i32 %sv_3.4154.reg2mem = alloca i32 %sv_4.4155.reg2mem = alloca i32 %sv_6.3.lcssa.reg2mem = alloca i32 %sv_5.3.lcssa.reg2mem = alloca i32 %sv_4.3.lcssa.reg2mem = alloca i32 %sv_3.3.lcssa.reg2mem = alloca i32 %.reg2mem435 = alloca i32 %.pre-phi267.reg2mem = alloca i32 %sv_3.3161.reg2mem = alloca i32 %sv_4.3162.reg2mem = alloca i32 %sv_5.3163.reg2mem = alloca i32 %sv_6.3164.reg2mem = alloca i32 %sv_3.2169.reg2mem = alloca i32 %sv_4.2170.reg2mem = alloca i32 %sv_2.1.reg2mem = alloca i32 %.reg2mem433 = alloca i32 %sv_6.0.lcssa.reg2mem = alloca i32 %sv_5.0.lcssa.reg2mem = alloca i32 %sv_4.0.lcssa.reg2mem = alloca i32 %sv_3.0.lcssa.reg2mem = alloca i32 %.reg2mem431 = alloca i32 %.reg2mem429 = alloca i32 %.reg2mem427 = alloca i32 %.pre-phi.reg2mem = alloca i64 %sv_3.0185.reg2mem = alloca i32 %sv_4.0186.reg2mem = alloca i32 %sv_0.0191.reg2mem = alloca i32 %sv_1.0192.reg2mem = alloca i32 %sv_7.0193.reg2mem = alloca i32 %sv_3.1194.reg2mem = alloca i32 %sv_4.1195.reg2mem = alloca i32 %sv_5.1196.reg2mem = alloca i32 %sv_6.1197.reg2mem = alloca i32 %.reg2mem425 = alloca i32 %.reg2mem423 = alloca i32 %.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i32* %arg1 to i64 %sv_8 = alloca i32, align 4 %sv_9 = alloca i32, align 4 %sv_10 = alloca i32, align 4 %sv_11 = alloca i32, align 4 %sv_12 = alloca i32, align 4 %4 = add i64 %3, 16 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = add i64 %6, 8 %8 = bitcast i64* %rdi to i32* %9 = trunc i64 %1 to i32 %10 = inttoptr i64 %6 to i32* %11 = load i32, i32* %10, align 4 %12 = call i64 @FUNC(i64 %6) %13 = call i64 @FUNC(i64 %7, i64 2) %14 = add i64 %6, 16 %15 = call i64 @FUNC(i64 %14, i64 %7) %16 = add i64 %6, 24 %17 = inttoptr i64 %16 to i64* %18 = bitcast i32* %sv_12 to i64* %19 = urem i32 %11, 32 %20 = add i64 %6, 32 %21 = inttoptr i64 %20 to i64* %22 = bitcast i32* %sv_11 to i64* %23 = add i64 %6, 40 %24 = inttoptr i64 %23 to i64* %25 = bitcast i32* %sv_10 to i64* %26 = add i64 %6, 48 %27 = inttoptr i64 %26 to i64* %28 = bitcast i32* %sv_9 to i64* %29 = add i64 %3, 4 %30 = inttoptr i64 %29 to i32* store i32 %9, i32* %.reg2mem store i32 %9, i32* %.reg2mem423 store i32 %9, i32* %.reg2mem425 store i32 0, i32* %sv_4.1195.reg2mem store i32 0, i32* %sv_3.1194.reg2mem store i32 0, i32* %sv_7.0193.reg2mem store i32 0, i32* %sv_1.0192.reg2mem store i32 0, i32* %sv_0.0191.reg2mem br label LBL_1 LBL_1: %sv_0.0191.reload = load i32, i32* %sv_0.0191.reg2mem %sv_1.0192.reload = load i32, i32* %sv_1.0192.reg2mem %31 = load i64, i64* %17, align 8 %32 = add i32 %sv_0.0191.reload, %sv_1.0192.reload %33 = sext i32 %32 to i64 %34 = add i64 %31, %33 %35 = call i64 @FUNC(i64 %6, i64 %34, i64 400, i64* nonnull %18) %36 = trunc i64 %35 to i32 %37 = icmp slt i32 %36, 0 %38 = icmp eq i1 %37, false br i1 %38, label LBL_3, label LBL_2 LBL_2: %39 = and i64 %35, 4294967295 store i64 %39, i64* %rax.0.reg2mem br label LBL_57 LBL_3: %40 = mul i32 %sv_0.0191.reload, 64 %41 = and i32 %40, 4032 %42 = load i32, i32* %sv_12, align 4 %43 = ashr i32 %42, %19 %44 = load i64, i64* %21, align 8 %45 = add i32 %43, %41 %46 = sext i32 %45 to i64 %47 = add i64 %44, %46 %48 = call i64 @FUNC(i64 %6, i64 %47, i64 400, i64* nonnull %22) %49 = trunc i64 %48 to i32 %50 = icmp slt i32 %49, 0 %51 = icmp eq i1 %50, false br i1 %51, label LBL_5, label LBL_4 LBL_4: %52 = and i64 %48, 4294967295 store i64 %52, i64* %rax.0.reg2mem br label LBL_57 LBL_5: %53 = mul i32 %43, 64 %54 = and i32 %53, 4032 %55 = load i32, i32* %sv_11, align 4 %56 = ashr i32 %55, %19 %57 = load i64, i64* %24, align 8 %58 = add i32 %56, %54 %59 = sext i32 %58 to i64 %60 = add i64 %57, %59 %61 = call i64 @FUNC(i64 %6, i64 %60, i64 400, i64* nonnull %25) %62 = trunc i64 %61 to i32 %63 = icmp slt i32 %62, 0 %64 = icmp eq i1 %63, false br i1 %64, label LBL_7, label LBL_6 LBL_6: %65 = and i64 %61, 4294967295 store i64 %65, i64* %rax.0.reg2mem br label LBL_57 LBL_7: %66 = load i32, i32* %sv_10, align 4 %67 = load i64, i64* %27, align 8 %68 = call i64 @FUNC(i64 %6, i64 %67, i64 256, i64 400, i64* nonnull %28) %69 = trunc i64 %68 to i32 %70 = icmp slt i32 %69, 0 %71 = icmp eq i1 %70, false br i1 %71, label LBL_9, label LBL_8 LBL_8: %72 = and i64 %68, 4294967295 store i64 %72, i64* %rax.0.reg2mem br label LBL_57 LBL_9: %sv_7.0193.reload = load i32, i32* %sv_7.0193.reg2mem %sv_3.1194.reload = load i32, i32* %sv_3.1194.reg2mem %sv_4.1195.reload = load i32, i32* %sv_4.1195.reg2mem %73 = load i32, i32* %sv_10, align 4 %74 = mul i32 %73, 65536 %75 = load i32, i32* %sv_11, align 4 %76 = mul i32 %75, 256 %77 = add i32 %76, %74 %78 = load i32, i32* %sv_12, align 4 %79 = add i32 %77, %78 %80 = load i32, i32* %sv_9, align 4 %81 = add i32 %80, -1 store i32 %81, i32* %sv_9, align 4 %82 = icmp eq i32 %80, 0 %83 = icmp slt i32 %80, 0 %84 = icmp eq i1 %83, false %85 = icmp eq i1 %82, false %86 = icmp eq i1 %84, %85 store i32 %sv_4.1195.reload, i32* %sv_4.0186.reg2mem store i32 %sv_3.1194.reload, i32* %sv_3.0185.reg2mem br i1 %86, label LBL_11, label LBL_9.LBL_13_crit_edge LBL_10: %sv_5.1196.reload = load i32, i32* %sv_5.1196.reg2mem %sv_6.1197.reload = load i32, i32* %sv_6.1197.reg2mem %.reload426 = load i32, i32* %.reg2mem425 %.reload424 = load i32, i32* %.reg2mem423 %.reload = load i32, i32* %.reg2mem %.pre = zext i32 %.reload426 to i64 store i64 %.pre, i64* %.pre-phi.reg2mem store i32 %.reload, i32* %.reg2mem427 store i32 %.reload424, i32* %.reg2mem429 store i32 %.reload426, i32* %.reg2mem431 store i32 %sv_3.1194.reload, i32* %sv_3.0.lcssa.reg2mem store i32 %sv_4.1195.reload, i32* %sv_4.0.lcssa.reg2mem store i32 %sv_5.1196.reload, i32* %sv_5.0.lcssa.reg2mem store i32 %sv_6.1197.reload, i32* %sv_6.0.lcssa.reg2mem br label LBL_13 LBL_11: %sv_3.0185.reload = load i32, i32* %sv_3.0185.reg2mem %87 = load i32, i32* %30, align 4 %88 = zext i32 %87 to i64 %89 = sext i32 %sv_3.0185.reload to i64 %90 = icmp slt i64 %89, %88 store i64 4294967295, i64* %rax.0.reg2mem br i1 %90, label LBL_12, label LBL_57 LBL_12: %sv_4.0186.reload = load i32, i32* %sv_4.0186.reg2mem %91 = mul i32 %sv_3.0185.reload, %arg3 %92 = add i32 %91, %sv_4.0186.reload %93 = sext i32 %92 to i64 %94 = mul i64 %93, 4 %95 = add i64 %94, %2 %96 = inttoptr i64 %95 to i32* store i32 %79, i32* %96, align 4 %97 = add i32 %sv_4.0186.reload, 1 %98 = load i32, i32* %8, align 8 %99 = zext i32 %98 to i64 %100 = sext i32 %97 to i64 %101 = icmp slt i64 %100, %99 %not. = icmp ne i1 %101, true %102 = zext i1 %not. to i32 %spec.select9 = add i32 %sv_3.0185.reload, %102 %spec.select10 = select i1 %101, i32 %97, i32 0 %103 = load i32, i32* %sv_9, align 4 %104 = add i32 %103, -1 store i32 %104, i32* %sv_9, align 4 %105 = icmp eq i32 %103, 0 %106 = icmp slt i32 %103, 0 %107 = icmp eq i1 %106, false %108 = icmp eq i1 %105, false %109 = icmp eq i1 %107, %108 store i32 %spec.select10, i32* %sv_4.0186.reg2mem store i32 %spec.select9, i32* %sv_3.0185.reg2mem store i64 %99, i64* %.pre-phi.reg2mem store i32 %98, i32* %.reg2mem427 store i32 %98, i32* %.reg2mem429 store i32 %98, i32* %.reg2mem431 store i32 %spec.select9, i32* %sv_3.0.lcssa.reg2mem store i32 %spec.select10, i32* %sv_4.0.lcssa.reg2mem store i32 %sv_4.0186.reload, i32* %sv_5.0.lcssa.reg2mem store i32 %sv_3.0185.reload, i32* %sv_6.0.lcssa.reg2mem br i1 %109, label LBL_11, label LBL_13 LBL_13: %110 = mul i32 %56, 64 %111 = and i32 %110, 4032 %112 = ashr i32 %66, %19 %113 = add i32 %80, %sv_7.0193.reload %sv_6.0.lcssa.reload = load i32, i32* %sv_6.0.lcssa.reg2mem %sv_5.0.lcssa.reload = load i32, i32* %sv_5.0.lcssa.reg2mem %sv_4.0.lcssa.reload = load i32, i32* %sv_4.0.lcssa.reg2mem %sv_3.0.lcssa.reload = load i32, i32* %sv_3.0.lcssa.reg2mem %.reload432 = load i32, i32* %.reg2mem431 %.reload430 = load i32, i32* %.reg2mem429 %.reload428 = load i32, i32* %.reg2mem427 %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %114 = sext i32 %113 to i64 %115 = icmp slt i64 %.pre-phi.reload, %114 store i32 %.reload428, i32* %.reg2mem store i32 %.reload430, i32* %.reg2mem423 store i32 %.reload432, i32* %.reg2mem425 store i32 %sv_6.0.lcssa.reload, i32* %sv_6.1197.reg2mem store i32 %sv_5.0.lcssa.reload, i32* %sv_5.1196.reg2mem store i32 %sv_4.0.lcssa.reload, i32* %sv_4.1195.reg2mem store i32 %sv_3.0.lcssa.reload, i32* %sv_3.1194.reg2mem store i32 %113, i32* %sv_7.0193.reg2mem store i32 %111, i32* %sv_1.0192.reg2mem store i32 %112, i32* %sv_0.0191.reg2mem br i1 %115, label LBL_14, label LBL_1 LBL_14: store i32 0, i32* %sv_8, align 4 %116 = zext i32 %.reload430 to i64 %117 = sext i32 %sv_4.0.lcssa.reload to i64 %118 = icmp slt i64 %117, %116 store i64 0, i64* %rax.0.reg2mem br i1 %118, label LBL_15, label LBL_57 LBL_15: %119 = sub i32 0, %arg3 %120 = sub i32 %119, 1 %121 = add i64 %6, 96 %122 = bitcast i32* %sv_8 to i64* %123 = add i64 %2, 4 %124 = add i64 %3, 8 %125 = inttoptr i64 %124 to i32* %126 = sub i32 %9, %arg3 store i32 %.reload428, i32* %.reg2mem439 store i32 %sv_6.0.lcssa.reload, i32* %sv_6.8181.reg2mem store i32 %sv_5.0.lcssa.reload, i32* %sv_5.8180.reg2mem store i32 %sv_4.0.lcssa.reload, i32* %sv_4.8179.reg2mem store i32 %sv_3.0.lcssa.reload, i32* %sv_3.8178.reg2mem store i32 %79, i32* %sv_2.6177.reg2mem store i32 %111, i32* %sv_1.1176.reg2mem store i32 %112, i32* %sv_0.1175.reg2mem br label LBL_56 LBL_16: %127 = load i32, i32* %sv_8, align 4 %128 = zext i32 %127 to i64 %129 = mul i64 %128, 8 %130 = add i64 %121, %129 %131 = inttoptr i64 %130 to i64* %132 = load i64, i64* %131, align 8 %133 = call i64 @FUNC(i64 %6, i64 %132, i64 6, i64 1000, i64* nonnull %122) %134 = trunc i64 %133 to i32 %135 = icmp slt i32 %134, 0 %136 = icmp eq i1 %135, false br i1 %136, label LBL_18, label LBL_17 LBL_17: %137 = and i64 %133, 4294967295 store i64 %137, i64* %rax.0.reg2mem br label LBL_57 LBL_18: %sv_2.6177.reload = load i32, i32* %sv_2.6177.reg2mem %sv_4.8179.reload = load i32, i32* %sv_4.8179.reg2mem %sv_5.8180.reload = load i32, i32* %sv_5.8180.reg2mem %sv_6.8181.reload = load i32, i32* %sv_6.8181.reg2mem %.reload440 = load i32, i32* %.reg2mem439 %138 = load i32, i32* %sv_8, align 4 %139 = icmp eq i32 %138, 0 %140 = icmp eq i1 %139, false store i32 %138, i32* %.reg2mem433 store i32 %sv_2.6177.reload, i32* %sv_2.1.reg2mem br i1 %140, label LBL_26, label LBL_19 LBL_19: %sv_0.1175.reload = load i32, i32* %sv_0.1175.reg2mem %sv_1.1176.reload = load i32, i32* %sv_1.1176.reg2mem %141 = load i64, i64* %17, align 8 %142 = add i32 %sv_0.1175.reload, %sv_1.1176.reload %143 = sext i32 %142 to i64 %144 = add i64 %141, %143 %145 = call i64 @FUNC(i64 %6, i64 %144, i64 400, i64* nonnull %18) %146 = trunc i64 %145 to i32 %147 = icmp slt i32 %146, 0 %148 = icmp eq i1 %147, false br i1 %148, label LBL_21, label LBL_20 LBL_20: %149 = and i64 %145, 4294967295 store i64 %149, i64* %rax.0.reg2mem br label LBL_57 LBL_21: %150 = mul i32 %sv_0.1175.reload, 64 %151 = and i32 %150, 4032 %152 = load i32, i32* %sv_12, align 4 %153 = ashr i32 %152, %19 %154 = load i64, i64* %21, align 8 %155 = add i32 %153, %151 %156 = sext i32 %155 to i64 %157 = add i64 %154, %156 %158 = call i64 @FUNC(i64 %6, i64 %157, i64 400, i64* nonnull %22) %159 = trunc i64 %158 to i32 %160 = icmp slt i32 %159, 0 %161 = icmp eq i1 %160, false br i1 %161, label LBL_23, label LBL_22 LBL_22: %162 = and i64 %158, 4294967295 store i64 %162, i64* %rax.0.reg2mem br label LBL_57 LBL_23: %163 = mul i32 %153, 64 %164 = and i32 %163, 4032 %165 = load i32, i32* %sv_11, align 4 %166 = ashr i32 %165, %19 %167 = load i64, i64* %24, align 8 %168 = add i32 %166, %164 %169 = sext i32 %168 to i64 %170 = add i64 %167, %169 %171 = call i64 @FUNC(i64 %6, i64 %170, i64 400, i64* nonnull %25) %172 = trunc i64 %171 to i32 %173 = icmp slt i32 %172, 0 %174 = icmp eq i1 %173, false br i1 %174, label LBL_25, label LBL_24 LBL_24: %175 = and i64 %171, 4294967295 store i64 %175, i64* %rax.0.reg2mem br label LBL_57 LBL_25: %176 = load i32, i32* %sv_10, align 4 %177 = mul i32 %176, 65536 %178 = load i32, i32* %sv_11, align 4 %179 = mul i32 %178, 256 %180 = add i32 %179, %177 %181 = load i32, i32* %sv_12, align 4 %182 = add i32 %180, %181 %.pr = load i32, i32* %sv_8, align 4 store i32 %.pr, i32* %.reg2mem433 store i32 %182, i32* %sv_2.1.reg2mem br label LBL_26 LBL_26: %.reload434 = load i32, i32* %.reg2mem433 %183 = icmp ult i32 %.reload434, 6 store i64 4294967295, i64* %rax.0.reg2mem br i1 %183, label LBL_27, label LBL_57 LBL_27: %184 = zext i32 %.reload434 to i64 %185 = mul i64 %184, 8 %186 = add i64 %185, %26 %187 = inttoptr i64 %186 to i64* %188 = load i64, i64* %187, align 8 %189 = call i64 @FUNC(i64 %6, i64 %188, i64 256, i64 400, i64* nonnull %28) %190 = trunc i64 %189 to i32 %191 = icmp slt i32 %190, 0 %192 = icmp eq i1 %191, false br i1 %192, label LBL_29, label LBL_28 LBL_28: %193 = and i64 %189, 4294967295 store i64 %193, i64* %rax.0.reg2mem br label LBL_57 LBL_29: %sv_2.1.reload = load i32, i32* %sv_2.1.reg2mem %194 = load i32, i32* %sv_8, align 4 %195 = zext i32 %194 to i64 store i64 %195, i64* @0, align 8 store i32 %.reload440, i32* %.reg2mem437 store i32 %sv_2.1.reload, i32* %sv_2.5.reg2mem store i32 %sv_3.8178.reload, i32* %sv_3.7.reg2mem store i32 %sv_4.8179.reload, i32* %sv_4.7.reg2mem store i32 %sv_5.8180.reload, i32* %sv_5.7.reg2mem store i32 %sv_6.8181.reload, i32* %sv_6.7.reg2mem switch i32 %194, label LBL_52 [ i32 0, label LBL_35 i32 1, label LBL_33 i32 2, label LBL_32 i32 4, label LBL_31 i32 5, label LBL_30 ] LBL_30: %196 = load i32, i32* %sv_9, align 4 %197 = add i32 %196, -1 store i32 %197, i32* %sv_9, align 4 %198 = icmp eq i32 %196, 0 %199 = icmp slt i32 %196, 0 %200 = icmp eq i1 %199, false %201 = icmp eq i1 %198, false %202 = icmp eq i1 %200, %201 store i32 %sv_4.8179.reload, i32* %sv_4.6140.reg2mem store i32 %sv_3.8178.reload, i32* %sv_3.6139.reg2mem store i32 %.reload440, i32* %.reg2mem437 store i32 %sv_2.1.reload, i32* %sv_2.5.reg2mem store i32 %sv_3.8178.reload, i32* %sv_3.7.reg2mem store i32 %sv_4.8179.reload, i32* %sv_4.7.reg2mem store i32 %sv_5.8180.reload, i32* %sv_5.7.reg2mem store i32 %sv_6.8181.reload, i32* %sv_6.7.reg2mem br i1 %202, label LBL_48, label LBL_52 LBL_31: %203 = load i32, i32* %sv_9, align 4 %204 = add i32 %203, -1 store i32 %204, i32* %sv_9, align 4 %205 = icmp eq i32 %203, 0 %206 = icmp slt i32 %203, 0 %207 = icmp eq i1 %206, false %208 = icmp eq i1 %205, false %209 = icmp eq i1 %207, %208 store i32 %sv_6.8181.reload, i32* %sv_6.5148.reg2mem store i32 %sv_5.8180.reload, i32* %sv_5.5147.reg2mem store i32 %sv_4.8179.reload, i32* %sv_4.5146.reg2mem store i32 %sv_3.8178.reload, i32* %sv_3.5145.reg2mem store i32 %.reload440, i32* %.reg2mem437 store i32 %sv_2.1.reload, i32* %sv_2.5.reg2mem store i32 %sv_3.8178.reload, i32* %sv_3.7.reg2mem store i32 %sv_4.8179.reload, i32* %sv_4.7.reg2mem store i32 %sv_5.8180.reload, i32* %sv_5.7.reg2mem store i32 %sv_6.8181.reload, i32* %sv_6.7.reg2mem br i1 %209, label LBL_44, label LBL_52 LBL_32: %210 = load i32, i32* %sv_9, align 4 %211 = add i32 %210, -1 store i32 %211, i32* %sv_9, align 4 %212 = icmp eq i32 %210, 0 %213 = icmp slt i32 %210, 0 %214 = icmp eq i1 %213, false %215 = icmp eq i1 %212, false %216 = icmp eq i1 %214, %215 store i32 %sv_4.8179.reload, i32* %sv_4.4155.reg2mem store i32 %sv_3.8178.reload, i32* %sv_3.4154.reg2mem store i32 %.reload440, i32* %.reg2mem437 store i32 %sv_2.1.reload, i32* %sv_2.5.reg2mem store i32 %sv_3.8178.reload, i32* %sv_3.7.reg2mem store i32 %sv_4.8179.reload, i32* %sv_4.7.reg2mem store i32 %sv_5.8180.reload, i32* %sv_5.7.reg2mem store i32 %sv_6.8181.reload, i32* %sv_6.7.reg2mem br i1 %216, label LBL_41, label LBL_52 LBL_33: %217 = load i32, i32* %sv_9, align 4 %218 = add i32 %217, -1 store i32 %218, i32* %sv_9, align 4 %219 = icmp eq i32 %217, 0 %220 = icmp slt i32 %217, 0 %221 = icmp eq i1 %220, false %222 = icmp eq i1 %219, false %223 = icmp eq i1 %221, %222 store i32 %sv_6.8181.reload, i32* %sv_6.3164.reg2mem store i32 %sv_5.8180.reload, i32* %sv_5.3163.reg2mem store i32 %sv_4.8179.reload, i32* %sv_4.3162.reg2mem store i32 %sv_3.8178.reload, i32* %sv_3.3161.reg2mem br i1 %223, label LBL_38, label LBL_33.LBL_40_crit_edge LBL_34: %.pre264 = mul i32 %sv_6.8181.reload, %arg3 %.pre266 = add i32 %.pre264, %sv_5.8180.reload store i32 %.pre266, i32* %.pre-phi267.reg2mem store i32 %.reload440, i32* %.reg2mem435 store i32 %sv_3.8178.reload, i32* %sv_3.3.lcssa.reg2mem store i32 %sv_4.8179.reload, i32* %sv_4.3.lcssa.reg2mem store i32 %sv_5.8180.reload, i32* %sv_5.3.lcssa.reg2mem store i32 %sv_6.8181.reload, i32* %sv_6.3.lcssa.reg2mem br label LBL_40 LBL_35: %224 = load i32, i32* %sv_9, align 4 %225 = add i32 %224, -1 store i32 %225, i32* %sv_9, align 4 %226 = icmp eq i32 %224, 0 %227 = icmp slt i32 %224, 0 %228 = icmp eq i1 %227, false %229 = icmp eq i1 %226, false %230 = icmp eq i1 %228, %229 store i32 %sv_4.8179.reload, i32* %sv_4.2170.reg2mem store i32 %sv_3.8178.reload, i32* %sv_3.2169.reg2mem store i32 %.reload440, i32* %.reg2mem437 store i32 %sv_2.1.reload, i32* %sv_2.5.reg2mem store i32 %sv_3.8178.reload, i32* %sv_3.7.reg2mem store i32 %sv_4.8179.reload, i32* %sv_4.7.reg2mem store i32 %sv_5.8180.reload, i32* %sv_5.7.reg2mem store i32 %sv_6.8181.reload, i32* %sv_6.7.reg2mem br i1 %230, label LBL_36, label LBL_52 LBL_36: %sv_3.2169.reload = load i32, i32* %sv_3.2169.reg2mem %231 = load i32, i32* %30, align 4 %232 = zext i32 %231 to i64 %233 = sext i32 %sv_3.2169.reload to i64 %234 = icmp slt i64 %233, %232 store i64 4294967295, i64* %rax.0.reg2mem br i1 %234, label LBL_37, label LBL_57 LBL_37: %sv_4.2170.reload = load i32, i32* %sv_4.2170.reg2mem %235 = mul i32 %sv_3.2169.reload, %arg3 %236 = add i32 %235, %sv_4.2170.reload %237 = sext i32 %236 to i64 %238 = mul i64 %237, 4 %239 = add i64 %238, %2 %240 = inttoptr i64 %239 to i32* store i32 %sv_2.1.reload, i32* %240, align 4 %241 = add i32 %sv_4.2170.reload, 1 %242 = load i32, i32* %8, align 8 %243 = zext i32 %242 to i64 %244 = sext i32 %241 to i64 %245 = icmp slt i64 %244, %243 %not.30 = icmp ne i1 %245, true %246 = zext i1 %not.30 to i32 %spec.select13 = add i32 %sv_3.2169.reload, %246 %spec.select14 = select i1 %245, i32 %241, i32 0 %247 = load i32, i32* %sv_9, align 4 %248 = add i32 %247, -1 store i32 %248, i32* %sv_9, align 4 %249 = icmp eq i32 %247, 0 %250 = icmp slt i32 %247, 0 %251 = icmp eq i1 %250, false %252 = icmp eq i1 %249, false %253 = icmp eq i1 %251, %252 store i32 %spec.select14, i32* %sv_4.2170.reg2mem store i32 %spec.select13, i32* %sv_3.2169.reg2mem store i32 %242, i32* %.reg2mem437 store i32 %sv_2.1.reload, i32* %sv_2.5.reg2mem store i32 %spec.select13, i32* %sv_3.7.reg2mem store i32 %spec.select14, i32* %sv_4.7.reg2mem store i32 %sv_4.2170.reload, i32* %sv_5.7.reg2mem store i32 %sv_3.2169.reload, i32* %sv_6.7.reg2mem br i1 %253, label LBL_36, label LBL_52 LBL_38: %sv_3.3161.reload = load i32, i32* %sv_3.3161.reg2mem %254 = load i32, i32* %30, align 4 %255 = zext i32 %254 to i64 %256 = sext i32 %sv_3.3161.reload to i64 %257 = icmp slt i64 %256, %255 store i64 4294967295, i64* %rax.0.reg2mem br i1 %257, label LBL_39, label LBL_57 LBL_39: %sv_4.3162.reload = load i32, i32* %sv_4.3162.reg2mem %sv_5.3163.reload = load i32, i32* %sv_5.3163.reg2mem %sv_6.3164.reload = load i32, i32* %sv_6.3164.reg2mem %258 = mul i32 %sv_6.3164.reload, %arg3 %259 = add i32 %258, %sv_5.3163.reload %260 = zext i32 %259 to i64 %261 = mul i64 %260, 4 %262 = add i64 %261, %2 %263 = mul i32 %sv_3.3161.reload, %arg3 %264 = add i32 %263, %sv_4.3162.reload %265 = sext i32 %264 to i64 %266 = mul i64 %265, 4 %267 = add i64 %266, %2 %268 = inttoptr i64 %262 to i32* %269 = load i32, i32* %268, align 4 %270 = inttoptr i64 %267 to i32* store i32 %269, i32* %270, align 4 %271 = add i32 %sv_4.3162.reload, 1 %272 = load i32, i32* %8, align 8 %273 = zext i32 %272 to i64 %274 = sext i32 %271 to i64 %275 = icmp slt i64 %274, %273 %not.29 = icmp ne i1 %275, true %276 = zext i1 %not.29 to i32 %spec.select15 = add i32 %sv_3.3161.reload, %276 %spec.select16 = select i1 %275, i32 %271, i32 0 %277 = load i32, i32* %sv_9, align 4 %278 = add i32 %277, -1 store i32 %278, i32* %sv_9, align 4 %279 = icmp eq i32 %277, 0 %280 = icmp slt i32 %277, 0 %281 = icmp eq i1 %280, false %282 = icmp eq i1 %279, false %283 = icmp eq i1 %281, %282 store i32 %sv_3.3161.reload, i32* %sv_6.3164.reg2mem store i32 %sv_4.3162.reload, i32* %sv_5.3163.reg2mem store i32 %spec.select16, i32* %sv_4.3162.reg2mem store i32 %spec.select15, i32* %sv_3.3161.reg2mem store i32 %264, i32* %.pre-phi267.reg2mem store i32 %272, i32* %.reg2mem435 store i32 %spec.select15, i32* %sv_3.3.lcssa.reg2mem store i32 %spec.select16, i32* %sv_4.3.lcssa.reg2mem store i32 %sv_4.3162.reload, i32* %sv_5.3.lcssa.reg2mem store i32 %sv_3.3161.reload, i32* %sv_6.3.lcssa.reg2mem br i1 %283, label LBL_38, label LBL_40 LBL_40: %sv_6.3.lcssa.reload = load i32, i32* %sv_6.3.lcssa.reg2mem %sv_5.3.lcssa.reload = load i32, i32* %sv_5.3.lcssa.reg2mem %sv_4.3.lcssa.reload = load i32, i32* %sv_4.3.lcssa.reg2mem %sv_3.3.lcssa.reload = load i32, i32* %sv_3.3.lcssa.reg2mem %.reload436 = load i32, i32* %.reg2mem435 %.pre-phi267.reload = load i32, i32* %.pre-phi267.reg2mem %284 = zext i32 %.pre-phi267.reload to i64 %285 = mul i64 %284, 4 %286 = add i64 %285, %2 %287 = inttoptr i64 %286 to i32* %288 = load i32, i32* %287, align 4 store i32 %.reload436, i32* %.reg2mem437 store i32 %288, i32* %sv_2.5.reg2mem store i32 %sv_3.3.lcssa.reload, i32* %sv_3.7.reg2mem store i32 %sv_4.3.lcssa.reload, i32* %sv_4.7.reg2mem store i32 %sv_5.3.lcssa.reload, i32* %sv_5.7.reg2mem store i32 %sv_6.3.lcssa.reload, i32* %sv_6.7.reg2mem br label LBL_52 LBL_41: %sv_3.4154.reload = load i32, i32* %sv_3.4154.reg2mem %289 = icmp slt i32 %sv_3.4154.reload, 1 store i64 4294967295, i64* %rax.0.reg2mem br i1 %289, label LBL_57, label LBL_42 LBL_42: %290 = load i32, i32* %30, align 4 %291 = zext i32 %290 to i64 %292 = sext i32 %sv_3.4154.reload to i64 %293 = icmp slt i64 %292, %291 store i64 4294967295, i64* %rax.0.reg2mem br i1 %293, label LBL_43, label LBL_57 LBL_43: %sv_4.4155.reload = load i32, i32* %sv_4.4155.reg2mem %294 = mul i32 %sv_3.4154.reload, %arg3 %295 = add i32 %294, %sv_4.4155.reload %296 = add i32 %295, %120 %297 = sext i32 %296 to i64 %298 = mul i64 %297, 4 %299 = add i64 %123, %298 %300 = inttoptr i64 %299 to i32* %301 = load i32, i32* %300, align 4 %302 = sext i32 %295 to i64 %303 = mul i64 %302, 4 %304 = add i64 %303, %2 %305 = inttoptr i64 %304 to i32* store i32 %301, i32* %305, align 4 %306 = add i32 %sv_4.4155.reload, 1 %307 = load i32, i32* %8, align 8 %308 = zext i32 %307 to i64 %309 = sext i32 %306 to i64 %310 = icmp slt i64 %309, %308 %not.28 = icmp ne i1 %310, true %311 = zext i1 %not.28 to i32 %spec.select17 = add i32 %sv_3.4154.reload, %311 %spec.select18 = select i1 %310, i32 %306, i32 0 %312 = load i32, i32* %sv_9, align 4 %313 = add i32 %312, -1 store i32 %313, i32* %sv_9, align 4 %314 = icmp eq i32 %312, 0 %315 = icmp slt i32 %312, 0 %316 = icmp eq i1 %315, false %317 = icmp eq i1 %314, false %318 = icmp eq i1 %316, %317 store i32 %spec.select18, i32* %sv_4.4155.reg2mem store i32 %spec.select17, i32* %sv_3.4154.reg2mem store i32 %307, i32* %.reg2mem437 store i32 %301, i32* %sv_2.5.reg2mem store i32 %spec.select17, i32* %sv_3.7.reg2mem store i32 %spec.select18, i32* %sv_4.7.reg2mem store i32 %sv_4.4155.reload, i32* %sv_5.7.reg2mem store i32 %sv_3.4154.reload, i32* %sv_6.7.reg2mem br i1 %318, label LBL_41, label LBL_52 LBL_44: %sv_3.5145.reload = load i32, i32* %sv_3.5145.reg2mem %319 = icmp slt i32 %sv_3.5145.reload, 1 store i64 4294967295, i64* %rax.0.reg2mem br i1 %319, label LBL_57, label LBL_45 LBL_45: %320 = load i32, i32* %30, align 4 %321 = zext i32 %320 to i64 %322 = sext i32 %sv_3.5145.reload to i64 %323 = icmp slt i64 %322, %321 store i64 4294967295, i64* %rax.0.reg2mem br i1 %323, label LBL_46, label LBL_57 LBL_46: %sv_4.5146.reload = load i32, i32* %sv_4.5146.reg2mem %324 = icmp eq i32 %sv_3.5145.reload, 1 %325 = icmp eq i32 %sv_4.5146.reload, 0 %326 = icmp eq i1 %325, %324 store i64 4294967295, i64* %rax.0.reg2mem br i1 %326, label LBL_57, label LBL_47 LBL_47: %sv_5.5147.reload = load i32, i32* %sv_5.5147.reg2mem %sv_6.5148.reload = load i32, i32* %sv_6.5148.reg2mem %327 = icmp eq i1 %325, false %328 = mul i32 %sv_6.5148.reload, %arg3 %329 = add i32 %328, %sv_5.5147.reload %330 = mul i32 %329, 4 %331 = zext i32 %330 to i64 %332 = add i64 %331, %2 %333 = inttoptr i64 %332 to i8* %334 = load i8, i8* %333, align 1 %335 = mul i32 %sv_3.5145.reload, %arg3 %336 = add i32 %335, %sv_4.5146.reload %337 = add i32 %336, %120 %storemerge6.neg = select i1 %327, i32 0, i32 %126 %338 = add i32 %337, %storemerge6.neg %339 = mul i32 %338, 4 %340 = sext i32 %339 to i64 %341 = add i64 %340, %2 %342 = add i64 %341, 4 %343 = inttoptr i64 %342 to i8* %344 = load i8, i8* %343, align 1 %345 = zext i8 %334 to i32 %346 = zext i8 %344 to i32 %347 = add nuw nsw i32 %346, %345 %348 = inttoptr i64 %341 to i8* %349 = load i8, i8* %348, align 1 %350 = zext i8 %349 to i32 %351 = sub nsw i32 %347, %350 store i32 %351, i32* %sv_12, align 4 %352 = or i32 %330, 1 %353 = zext i32 %352 to i64 %354 = add i64 %353, %2 %355 = inttoptr i64 %354 to i8* %356 = load i8, i8* %355, align 1 %357 = add i64 %341, 5 %358 = inttoptr i64 %357 to i8* %359 = load i8, i8* %358, align 1 %360 = zext i8 %356 to i32 %361 = zext i8 %359 to i32 %362 = add nuw nsw i32 %361, %360 %363 = or i32 %339, 1 %364 = sext i32 %363 to i64 %365 = add i64 %364, %2 %366 = inttoptr i64 %365 to i8* %367 = load i8, i8* %366, align 1 %368 = zext i8 %367 to i32 %369 = sub nsw i32 %362, %368 store i32 %369, i32* %sv_11, align 4 %370 = or i32 %330, 2 %371 = zext i32 %370 to i64 %372 = add i64 %371, %2 %373 = inttoptr i64 %372 to i8* %374 = load i8, i8* %373, align 1 %375 = add i64 %341, 6 %376 = inttoptr i64 %375 to i8* %377 = load i8, i8* %376, align 1 %378 = zext i8 %374 to i32 %379 = zext i8 %377 to i32 %380 = add nuw nsw i32 %379, %378 %381 = or i32 %339, 2 %382 = sext i32 %381 to i64 %383 = add i64 %382, %2 %384 = inttoptr i64 %383 to i8* %385 = load i8, i8* %384, align 1 %386 = zext i8 %385 to i32 %387 = sub nsw i32 %380, %386 store i32 %387, i32* %sv_10, align 4 %388 = mul i32 %387, 65536 %389 = and i32 %388, 16711680 %390 = mul i32 %369, 256 %391 = and i32 %390, 65280 %392 = urem i32 %351, 256 %393 = or i32 %391, %392 %394 = or i32 %393, %389 %395 = sext i32 %336 to i64 %396 = mul i64 %395, 4 %397 = add i64 %396, %2 %398 = inttoptr i64 %397 to i32* store i32 %394, i32* %398, align 4 %399 = add i32 %sv_4.5146.reload, 1 %400 = load i32, i32* %8, align 8 %401 = zext i32 %400 to i64 %402 = sext i32 %399 to i64 %403 = icmp slt i64 %402, %401 %not.27 = icmp ne i1 %403, true %404 = zext i1 %not.27 to i32 %spec.select20 = add i32 %sv_3.5145.reload, %404 %spec.select21 = select i1 %403, i32 %399, i32 0 %405 = load i32, i32* %sv_9, align 4 %406 = add i32 %405, -1 store i32 %406, i32* %sv_9, align 4 %407 = icmp eq i32 %405, 0 %408 = icmp slt i32 %405, 0 %409 = icmp eq i1 %408, false %410 = icmp eq i1 %407, false %411 = icmp eq i1 %409, %410 store i32 %sv_3.5145.reload, i32* %sv_6.5148.reg2mem store i32 %sv_4.5146.reload, i32* %sv_5.5147.reg2mem store i32 %spec.select21, i32* %sv_4.5146.reg2mem store i32 %spec.select20, i32* %sv_3.5145.reg2mem store i32 %400, i32* %.reg2mem437 store i32 %394, i32* %sv_2.5.reg2mem store i32 %spec.select20, i32* %sv_3.7.reg2mem store i32 %spec.select21, i32* %sv_4.7.reg2mem store i32 %sv_4.5146.reload, i32* %sv_5.7.reg2mem store i32 %sv_3.5145.reload, i32* %sv_6.7.reg2mem br i1 %411, label LBL_44, label LBL_52 LBL_48: %sv_3.6139.reload = load i32, i32* %sv_3.6139.reg2mem %412 = icmp slt i32 %sv_3.6139.reload, 1 store i64 4294967295, i64* %rax.0.reg2mem br i1 %412, label LBL_57, label LBL_49 LBL_49: %413 = load i32, i32* %30, align 4 %414 = zext i32 %413 to i64 %415 = sext i32 %sv_3.6139.reload to i64 %416 = icmp slt i64 %415, %414 store i64 4294967295, i64* %rax.0.reg2mem br i1 %416, label LBL_50, label LBL_57 LBL_50: %sv_4.6140.reload = load i32, i32* %sv_4.6140.reg2mem %417 = icmp eq i32 %sv_3.6139.reload, 1 %418 = icmp eq i32 %sv_4.6140.reload, 0 %419 = icmp eq i1 %418, %417 store i64 4294967295, i64* %rax.0.reg2mem br i1 %419, label LBL_57, label LBL_51 LBL_51: %420 = icmp eq i1 %418, false %421 = mul i32 %sv_3.6139.reload, %arg3 %422 = add i32 %421, %sv_4.6140.reload %423 = add i32 %422, %120 %storemerge.neg = select i1 %420, i32 0, i32 %126 %424 = add i32 %423, %storemerge.neg %425 = sext i32 %424 to i64 %426 = mul i64 %425, 4 %427 = add i64 %426, %2 %428 = inttoptr i64 %427 to i32* %429 = load i32, i32* %428, align 4 %430 = sext i32 %422 to i64 %431 = mul i64 %430, 4 %432 = add i64 %431, %2 %433 = inttoptr i64 %432 to i32* store i32 %429, i32* %433, align 4 %434 = add i32 %sv_4.6140.reload, 1 %435 = load i32, i32* %8, align 8 %436 = zext i32 %435 to i64 %437 = sext i32 %434 to i64 %438 = icmp slt i64 %437, %436 %not.26 = icmp ne i1 %438, true %439 = zext i1 %not.26 to i32 %spec.select24 = add i32 %sv_3.6139.reload, %439 %spec.select25 = select i1 %438, i32 %434, i32 0 %440 = load i32, i32* %sv_9, align 4 %441 = add i32 %440, -1 store i32 %441, i32* %sv_9, align 4 %442 = icmp eq i32 %440, 0 %443 = icmp slt i32 %440, 0 %444 = icmp eq i1 %443, false %445 = icmp eq i1 %442, false %446 = icmp eq i1 %444, %445 store i32 %spec.select25, i32* %sv_4.6140.reg2mem store i32 %spec.select24, i32* %sv_3.6139.reg2mem store i32 %435, i32* %.reg2mem437 store i32 %429, i32* %sv_2.5.reg2mem store i32 %spec.select24, i32* %sv_3.7.reg2mem store i32 %spec.select25, i32* %sv_4.7.reg2mem store i32 %sv_4.6140.reload, i32* %sv_5.7.reg2mem store i32 %sv_3.6139.reload, i32* %sv_6.7.reg2mem br i1 %446, label LBL_48, label LBL_52 LBL_52: %sv_6.7.reload = load i32, i32* %sv_6.7.reg2mem %sv_5.7.reload = load i32, i32* %sv_5.7.reg2mem %sv_4.7.reload = load i32, i32* %sv_4.7.reg2mem %sv_3.7.reload = load i32, i32* %sv_3.7.reg2mem %sv_2.5.reload = load i32, i32* %sv_2.5.reg2mem %.reload438 = load i32, i32* %.reg2mem437 %447 = load i32, i32* %125, align 4 %448 = icmp eq i32 %447, 16 %449 = icmp eq i1 %448, false br i1 %449, label LBL_55, label LBL_53 LBL_53: %450 = udiv i32 %sv_2.5.reload, 4 %451 = udiv i32 %sv_2.5.reload, 65536 %452 = urem i32 %451, 256 store i32 %452, i32* %sv_0.1.be.reg2mem store i32 %450, i32* %sv_1.1.be.in.reg2mem br label LBL_54 LBL_54: %sv_1.1.be.in.reload = load i32, i32* %sv_1.1.be.in.reg2mem %sv_0.1.be.reload = load i32, i32* %sv_0.1.be.reg2mem %sv_1.1.be = and i32 %sv_1.1.be.in.reload, 4032 %453 = zext i32 %.reload438 to i64 %454 = sext i32 %sv_4.7.reload to i64 %455 = icmp slt i64 %454, %453 store i32 %.reload438, i32* %.reg2mem439 store i32 %sv_6.7.reload, i32* %sv_6.8181.reg2mem store i32 %sv_5.7.reload, i32* %sv_5.8180.reg2mem store i32 %sv_4.7.reload, i32* %sv_4.8179.reg2mem store i32 %sv_3.7.reload, i32* %sv_3.8178.reg2mem store i32 %sv_2.5.reload, i32* %sv_2.6177.reg2mem store i32 %sv_1.1.be, i32* %sv_1.1176.reg2mem store i32 %sv_0.1.be.reload, i32* %sv_0.1175.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %455, label LBL_56, label LBL_57 LBL_55: %456 = udiv i32 %sv_2.5.reload, 16 %457 = udiv i32 %sv_2.5.reload, 262144 %458 = urem i32 %457, 64 store i32 %458, i32* %sv_0.1.be.reg2mem store i32 %456, i32* %sv_1.1.be.in.reg2mem br label LBL_54 LBL_56: %sv_3.8178.reload = load i32, i32* %sv_3.8178.reg2mem %459 = load i32, i32* %30, align 4 %460 = zext i32 %459 to i64 %461 = sext i32 %sv_3.8178.reload to i64 %462 = icmp slt i64 %461, %460 store i64 0, i64* %rax.0.reg2mem br i1 %462, label LBL_16, label LBL_57 LBL_57: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %sv_3.8178.reload, { 0, 7, 6, 11, 5, 10, 4, 9, 2, 3, 1, 8 } uselistorder i32 %sv_2.5.reload, { 4, 3, 0, 2, 1 } uselistorder i32 %440, { 1, 0, 2 } uselistorder i1 %438, { 1, 0 } uselistorder i32 %422, { 1, 0 } uselistorder i1 %418, { 1, 0 } uselistorder i32 %sv_4.6140.reload, { 0, 2, 3, 1 } uselistorder i32 %sv_3.6139.reload, { 0, 5, 4, 3, 2, 1 } uselistorder i32 %405, { 1, 0, 2 } uselistorder i1 %403, { 1, 0 } uselistorder i32 %339, { 2, 1, 0 } uselistorder i32 %336, { 1, 0 } uselistorder i32 %330, { 2, 1, 0 } uselistorder i1 %325, { 1, 0 } uselistorder i32 %sv_4.5146.reload, { 0, 4, 2, 3, 1 } uselistorder i32 %sv_3.5145.reload, { 0, 6, 5, 4, 3, 2, 1 } uselistorder i32 %312, { 1, 0, 2 } uselistorder i1 %310, { 1, 0 } uselistorder i32 %295, { 1, 0 } uselistorder i32 %sv_3.4154.reload, { 0, 4, 3, 2, 1 } uselistorder i32 %277, { 1, 0, 2 } uselistorder i1 %275, { 1, 0 } uselistorder i32 %sv_4.3162.reload, { 0, 3, 1, 2 } uselistorder i32 %sv_3.3161.reload, { 0, 4, 3, 2, 1 } uselistorder i32 %247, { 1, 0, 2 } uselistorder i1 %245, { 1, 0 } uselistorder i32 %sv_3.2169.reload, { 0, 3, 2, 1 } uselistorder i32 %sv_2.1.reload, { 0, 6, 4, 3, 2, 1, 5 } uselistorder i32 %sv_0.1175.reload, { 1, 0 } uselistorder i32 %.reload440, { 2, 0, 3, 4, 5, 1 } uselistorder i32 %sv_6.8181.reload, { 5, 2, 0, 1, 6, 7, 3, 8, 4 } uselistorder i32 %sv_5.8180.reload, { 5, 2, 0, 1, 6, 7, 3, 8, 4 } uselistorder i32 %sv_4.8179.reload, { 7, 0, 2, 1, 8, 3, 9, 4, 10, 5, 6 } uselistorder i32 %126, { 1, 0 } uselistorder i32 %103, { 1, 0, 2 } uselistorder i1 %101, { 1, 0 } uselistorder i32 %sv_3.0185.reload, { 0, 3, 2, 1 } uselistorder i32 %80, { 0, 3, 2, 1 } uselistorder i32 %sv_0.0191.reload, { 1, 0 } uselistorder i32* %30, { 0, 5, 4, 3, 2, 1, 6 } uselistorder i32 %19, { 3, 4, 2, 1, 0 } uselistorder i32 %9, { 3, 0, 1, 2 } uselistorder i32* %8, { 1, 2, 3, 4, 5, 0 } uselistorder i64 %6, { 12, 9, 10, 11, 13, 0, 2, 4, 6, 8, 1, 3, 5, 7, 14, 15, 16, 17 } uselistorder i32* %sv_12, { 4, 3, 2, 1, 0, 5 } uselistorder i32* %sv_11, { 4, 3, 2, 1, 0, 5 } uselistorder i32* %sv_10, { 3, 2, 1, 0, 4 } uselistorder i32* %sv_9, { 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 13, 12, 0, 11, 24 } uselistorder i32* %sv_8, { 2, 0, 3, 4, 1, 5 } uselistorder i64 %3, { 1, 0, 2 } uselistorder i64 %2, { 12, 13, 5, 6, 7, 8, 9, 10, 11, 4, 1, 2, 3, 0, 15, 14 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem423, { 1, 0, 2 } uselistorder i32* %.reg2mem425, { 1, 0, 2 } uselistorder i32* %sv_6.1197.reg2mem, { 1, 0 } uselistorder i32* %sv_5.1196.reg2mem, { 1, 0 } uselistorder i32* %sv_4.1195.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_3.1194.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_7.0193.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.0192.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0191.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_4.0186.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_3.0185.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem433, { 0, 2, 1 } uselistorder i32* %sv_2.1.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_4.2170.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_3.2169.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_6.3164.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_5.3163.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_4.3162.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_3.3161.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_4.4155.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_3.4154.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_6.5148.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_5.5147.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_4.5146.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_3.5145.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_4.6140.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_3.6139.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem437, { 0, 1, 2, 3, 9, 4, 8, 7, 6, 5, 10 } uselistorder i32* %sv_2.5.reg2mem, { 0, 1, 2, 3, 9, 4, 8, 7, 6, 5, 10 } uselistorder i32* %sv_3.7.reg2mem, { 0, 1, 2, 3, 9, 4, 8, 7, 6, 5, 10 } uselistorder i32* %sv_4.7.reg2mem, { 0, 1, 2, 3, 9, 4, 8, 7, 6, 5, 10 } uselistorder i32* %sv_5.7.reg2mem, { 0, 1, 2, 3, 9, 4, 8, 7, 6, 5, 10 } uselistorder i32* %sv_6.7.reg2mem, { 0, 1, 2, 3, 9, 4, 8, 7, 6, 5, 10 } uselistorder i32* %sv_0.1.be.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.1.be.in.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem439, { 1, 0, 2 } uselistorder i32* %sv_6.8181.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_5.8180.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_4.8179.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.6177.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.1176.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.1175.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 5, 7, 6, 8, 10, 9, 12, 11, 13, 14, 24, 2, 23, 22, 21, 20, 15, 1, 19, 18, 17, 16 } uselistorder i32 4, { 2, 0, 1, 3 } uselistorder i32 -1, { 11, 10, 9, 8, 7, 1, 2, 3, 4, 5, 6, 0 } uselistorder i32 256, { 3, 4, 0, 1, 2 } uselistorder i32 65536, { 3, 0, 1, 2 } uselistorder i64 (i64, i64, i64, i64, i64*)* @decode_value, { 2, 1, 0 } uselistorder i32 64, { 5, 0, 1, 2, 3, 4 } uselistorder i1 false, { 25, 20, 14, 12, 21, 15, 13, 22, 16, 23, 17, 24, 18, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 26, 27, 28, 29, 30, 31, 32, 19, 0, 1, 33, 34, 35, 36 } uselistorder i64 (i64, i64, i64, i64*)* @decode_unit, { 5, 4, 3, 2, 1, 0 } uselistorder i32 0, { 30, 31, 20, 7, 21, 32, 33, 22, 6, 23, 34, 35, 24, 36, 37, 25, 38, 39, 26, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 28, 40, 41, 42, 43, 44, 45, 5, 29, 46, 47, 27, 8, 9, 48, 49, 50, 51, 0, 1, 2, 3, 4 } uselistorder i64 4, { 0, 1, 2, 10, 3, 4, 5, 6, 7, 8, 11, 9, 12 } uselistorder i32 %arg3, { 9, 7, 8, 6, 3, 4, 2, 5, 1, 0, 10 } uselistorder label LBL_57, { 3, 2, 4, 6, 5, 7, 9, 8, 11, 10, 12, 13, 15, 1, 16, 17, 18, 19, 14, 0, 20, 21, 22, 23 } uselistorder label LBL_56, { 1, 0 } uselistorder label LBL_54, { 1, 0 } uselistorder label LBL_52, { 0, 1, 2, 8, 3, 7, 6, 5, 4, 9 } uselistorder label LBL_48, { 1, 0 } uselistorder label LBL_44, { 1, 0 } uselistorder label LBL_41, { 1, 0 } uselistorder label LBL_38, { 1, 0 } uselistorder label LBL_36, { 1, 0 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
init_buffers_13975
init_buffers
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 64 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = add i64 %0, 8 %5 = call i64 @FUNC(i64 %0, i64 %4, i64 %3) %6 = load i64, i64* %2, align 8 %7 = add i64 %0, 24 %8 = add i64 %0, 16 %9 = call i64 @FUNC(i64 %8, i64 %7, i64 %6) %10 = load i64, i64* %2, align 8 %11 = add i64 %0, 40 %12 = add i64 %0, 32 %13 = call i64 @FUNC(i64 %12, i64 %11, i64 %10) %14 = add i64 %0, 72 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false store i64 %12, i64* %rdi.0.reg2mem br i1 %18, label LBL_2, label LBL_1 LBL_1: %19 = load i64, i64* %2, align 8 %20 = add i64 %0, 56 %21 = add i64 %0, 48 %22 = call i64 @FUNC(i64 %21, i64 %20, i64 %19) store i64 %21, i64* %rdi.0.reg2mem br label LBL_2 LBL_2: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %23 = icmp eq i64 %rdi.0.reload, 0 br i1 %23, label LBL_7, label LBL_3 LBL_3: %24 = inttoptr i64 %8 to i64* %25 = load i64, i64* %24, align 8 %26 = icmp eq i64 %25, 0 br i1 %26, label LBL_7, label LBL_4 LBL_4: %27 = inttoptr i64 %12 to i64* %28 = load i64, i64* %27, align 8 %29 = icmp eq i64 %28, 0 br i1 %29, label LBL_7, label LBL_5 LBL_5: %30 = add i64 %0, 48 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = icmp eq i64 %32, 0 %34 = icmp eq i1 %33, false store i64 0, i64* %storemerge.reg2mem br i1 %34, label LBL_8, label LBL_6 LBL_6: %35 = load i32, i32* %15, align 4 %36 = icmp eq i32 %35, 0 %37 = icmp eq i1 %36, false store i64 0, i64* %storemerge.reg2mem br i1 %37, label LBL_8, label LBL_7 LBL_7: %38 = call i64 @FUNC(i64 %0) store i64 12, i64* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %12, { 1, 0, 2 } uselistorder i64 %0, { 3, 2, 1, 0, 4, 5, 6, 7, 8, 9, 10, 11 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64, i64, i64)* @av_fast_padded_malloc, { 3, 2, 1, 0 } uselistorder label LBL_8, { 2, 1, 0 } }
1
BinRealVul
insert_case5_9360
insert_case5
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg1) %1 = add i64 %arg1, 16 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = call i64 @FUNC(i64 %3, i64 0) %5 = call i64 @FUNC(i64 %0, i64 1) %6 = load i64, i64* %2, align 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp eq i64 %8, %arg1 %10 = icmp eq i1 %9, false br i1 %10, label LBL_2, label LBL_1 LBL_1: %11 = call i64 @FUNC(i64 %0) store i64 %11, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %12 = add i64 %6, 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = icmp eq i64 %14, %arg1 %16 = zext i1 %15 to i64 %17 = call i64 @FUNC(i64 %16) %18 = call i64 @FUNC(i64 %0) store i64 %18, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64)* @set_color, { 1, 0 } uselistorder i32 1, { 3, 6, 7, 2, 1, 0, 4, 5 } }
0
BinRealVul
i915_dma_cleanup_4092
i915_dma_cleanup
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = trunc i64 %1 to i32 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = call i64 @FUNC(i64 %2) br label LBL_2 LBL_2: %9 = add i64 %2, 16 %10 = call i64 @FUNC(i64 %9) %11 = call i64 @FUNC(i64 %2, i64 %5) %12 = add i64 %5, 8 %13 = call i64 @FUNC(i64 %2, i64 %12) %14 = add i64 %5, 16 %15 = call i64 @FUNC(i64 %2, i64 %14) %16 = call i64 @FUNC(i64 %9) %17 = call i64 @FUNC(i64 %2) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 br i1 %19, label LBL_4, label LBL_3 LBL_3: %20 = call i64 @FUNC(i64 %2) br label LBL_4 LBL_4: ret i64 0 uselistorder i64 %5, { 0, 2, 1 } uselistorder i64 %2, { 1, 2, 4, 3, 6, 5, 0, 7 } uselistorder i64 (i64, i64)* @intel_cleanup_ring_buffer, { 2, 1, 0 } }
0
BinRealVul
inet_aton_1081
inet_aton
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = inttoptr i64 %arg1 to i8* %1 = call i32 @atoi(i8* %0) %2 = call i8* @strchr(i8* %0, i32 46) %3 = icmp eq i8* %2, null store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_9, label LBL_1 LBL_1: %4 = ptrtoint i8* %2 to i64 %5 = add i64 %4, 1 %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_2, label LBL_9 LBL_2: %8 = inttoptr i64 %5 to i8* %9 = call i32 @atoi(i8* %8) %10 = call i8* @strchr(i8* %8, i32 46) %11 = icmp eq i8* %10, null store i64 0, i64* %rax.0.reg2mem br i1 %11, label LBL_9, label LBL_3 LBL_3: %12 = ptrtoint i8* %10 to i64 %13 = add i64 %12, 1 %14 = icmp eq i64 %13, 0 %15 = icmp eq i1 %14, false store i64 0, i64* %rax.0.reg2mem br i1 %15, label LBL_4, label LBL_9 LBL_4: %16 = inttoptr i64 %13 to i8* %17 = call i32 @atoi(i8* %16) %18 = call i8* @strchr(i8* %16, i32 46) %19 = icmp eq i8* %18, null store i64 0, i64* %rax.0.reg2mem br i1 %19, label LBL_9, label LBL_5 LBL_5: %20 = ptrtoint i8* %18 to i64 %21 = add i64 %20, 1 %22 = icmp eq i64 %21, 0 %23 = icmp eq i1 %22, false store i64 0, i64* %rax.0.reg2mem br i1 %23, label LBL_6, label LBL_9 LBL_6: %24 = inttoptr i64 %21 to i8* %25 = call i32 @atoi(i8* %24) %26 = icmp eq i32 %1, 0 store i64 0, i64* %rax.0.reg2mem br i1 %26, label LBL_9, label LBL_7 LBL_7: %27 = or i32 %9, %1 %28 = or i32 %27, %17 %29 = or i32 %28, %25 %30 = icmp ult i32 %29, 256 store i64 0, i64* %rax.0.reg2mem br i1 %30, label LBL_8, label LBL_9 LBL_8: %31 = mul i32 %25, 16777216 %32 = mul i32 %17, 65536 %33 = mul i32 %9, 256 %34 = add i32 %33, %1 %35 = add i32 %34, %32 %36 = add i32 %35, %31 %37 = bitcast i64* %arg2 to i32* store i32 %36, i32* %37, align 4 store i64 1, 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 i8* %16, { 1, 0 } uselistorder i8* %8, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 9, 2, 1, 4, 3, 6, 5, 8, 7 } uselistorder i8* (i8*, i32)* @strchr, { 2, 1, 0 } uselistorder i32 (i8*)* @atoi, { 3, 2, 1, 0 } uselistorder label LBL_9, { 8, 1, 0, 3, 2, 5, 4, 7, 6 } }
0
BinRealVul
wassp_match_strval_7120
wassp_match_strval
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 = icmp eq i64* %arg1, null %3 = icmp eq i1 %2, false store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_3 LBL_1: %sext = mul i64 %arg2, 4294967296 %4 = ashr exact i64 %sext, 32 %5 = and i64 %1, 4294967295 %6 = icmp slt i64 %4, %5 store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_2, label LBL_3 LBL_2: %7 = ptrtoint i64* %arg1 to i64 %8 = add i64 %7, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = ashr exact i64 %sext, 29 %12 = add i64 %10, %11 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 store i64 %14, 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 %sext, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_3, { 2, 0, 1 } }
0
BinRealVul
aes_decrypt_10501
aes_decrypt
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i64* %arg2 to i64 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = zext i32 %5 to i64 %7 = call i64 @FUNC(i64 %6) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false %11 = icmp eq i1 %10, false br i1 %11, label LBL_2, label LBL_1 LBL_1: %12 = add i64 %3, 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = call i64 @FUNC(i64 %14, i64 %1, i64 %0) store i64 %15, i64* %rax.0.reg2mem br label LBL_8 LBL_2: %16 = load i32, i32* %4, align 4 %17 = icmp eq i32 %16, 32 br i1 %17, label LBL_7, label LBL_3 LBL_3: %18 = zext i32 %16 to i64 %19 = icmp sgt i32 %16, 32 store i64 %18, i64* %rax.0.reg2mem br i1 %19, label LBL_8, label LBL_4 LBL_4: store i64 %18, i64* %rax.0.reg2mem switch i32 %16, label LBL_8 [ i32 16, label LBL_5 i32 24, label LBL_6 ] LBL_5: %20 = add i64 %3, 16 %21 = call i64 @FUNC(i64 1, i64 %20, i64 %1, i64 %0, i64 16) store i64 %21, i64* %rax.0.reg2mem br label LBL_8 LBL_6: %22 = add i64 %3, 16 %23 = call i64 @FUNC(i64 2, i64 %22, i64 %1, i64 %0, i64 16) store i64 %23, i64* %rax.0.reg2mem br label LBL_8 LBL_7: %24 = add i64 %3, 16 %25 = call i64 @FUNC(i64 3, i64 %24, i64 %1, i64 %0, i64 16) store i64 %25, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %16, { 0, 1, 3, 2 } uselistorder i64 %3, { 0, 2, 1, 3, 4 } uselistorder i64 %1, { 3, 1, 2, 0 } uselistorder i64 %0, { 3, 1, 2, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 3, 4, 1, 5, 2 } uselistorder i64 (i64, i64, i64, i64, i64)* @crypt_s390_km, { 2, 1, 0 } uselistorder i64 16, { 0, 3, 1, 4, 2, 5 } uselistorder i32 32, { 1, 0 } uselistorder label LBL_8, { 1, 2, 3, 0, 4, 5 } }
0
BinRealVul
pid_file_read_3889
pid_file_read
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rsi = alloca i64, align 8 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %sv_1 = alloca i64, align 8 %sv_2 = alloca i32, align 4 %sv_3 = alloca i64, align 8 %5 = inttoptr i64 %arg1 to i8* %6 = call i32 (i8*, i32, ...) @open(i8* %5, i32 0) store i32 %6, i32* %sv_2, align 4 %7 = icmp eq i32 %6, -1 %8 = icmp eq i1 %7, false br i1 %8, label LBL_3, label LBL_1 LBL_1: %9 = call i32* @__errno_location() %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %10, 2 %12 = icmp eq i1 %11, false store i64 0, i64* %storemerge.reg2mem br i1 %12, label LBL_2, label LBL_13 LBL_2: %13 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i64 %arg1, i64 %3, i64 %4, i64 %2, i64 %1) unreachable LBL_3: %14 = ptrtoint i64* %sv_1 to i64 %15 = call i32 @read(i32 %6, i64* nonnull %sv_1, i32 31) %16 = icmp eq i32 %15, 0 %17 = icmp slt i32 %15, 0 %18 = icmp eq i1 %17, false %19 = icmp eq i1 %16, false %20 = icmp eq i1 %18, %19 br i1 %20, label LBL_7, label LBL_4 LBL_4: br i1 %19, label LBL_6, label LBL_5 LBL_5: %21 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i64 %arg1, i64 31, i64 %14, i64 %2, i64 %1) store i64 0, i64* %sv_0.0.reg2mem br label LBL_12 LBL_6: %22 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0), i64 %arg1, i64 31, i64 %14, i64 %2, i64 %1) unreachable LBL_7: %23 = ptrtoint i64* %arg2 to i64 %24 = ptrtoint i64* %sv_3 to i64 %25 = sext i32 %15 to i64 %26 = add i64 %24, -65 %27 = add i64 %26, %25 %28 = inttoptr i64 %27 to i8* %29 = load i8, i8* %28, align 1 %30 = icmp eq i8 %29, 10 %31 = sext i1 %30 to i64 %spec.select = add i64 %25, %14 %32 = add i64 %spec.select, %31 %33 = inttoptr i64 %32 to i8* store i8 0, i8* %33, align 1 %34 = call i64 @FUNC(i64* nonnull %sv_1, i64 %23) %35 = trunc i64 %34 to i32 %36 = icmp slt i32 %35, 0 %37 = icmp eq i1 %36, false store i64 0, i64* %sv_0.0.reg2mem br i1 %37, label LBL_8, label LBL_12 LBL_8: %38 = bitcast i64* %rsi to i32* %39 = load i32, i32* %38, align 8 %40 = call i32 @getpid() %41 = icmp eq i32 %39, %40 br i1 %41, label LBL_11, label LBL_9 LBL_9: %42 = call i32 @kill(i32 %39, i32 0) %43 = icmp slt i32 %42, 0 %44 = icmp eq i1 %43, false store i64 1, i64* %sv_0.0.reg2mem br i1 %44, label LBL_12, label LBL_10 LBL_10: %45 = call i32* @__errno_location() %46 = load i32, i32* %45, align 4 %47 = icmp eq i32 %46, 3 store i64 1, i64* %sv_0.0.reg2mem br i1 %47, label LBL_11, label LBL_12 LBL_11: store i64 0, i64* %sv_0.0.reg2mem br label LBL_12 LBL_12: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %48 = call i64 @FUNC(i32* nonnull %sv_2) store i64 %sv_0.0.reload, i64* %storemerge.reg2mem br label LBL_13 LBL_13: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %15, { 2, 0, 1 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 1, 4, 5 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @i_fatal, { 1, 0 } uselistorder i1 false, { 1, 2, 3, 0, 4, 5 } uselistorder i32 0, { 4, 2, 5, 0, 1, 3, 6 } uselistorder i64 %arg1, { 1, 2, 0, 3 } uselistorder label LBL_13, { 1, 0 } }
0
BinRealVul
decode_residual_inter_3343
decode_residual_inter
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rdi = alloca i64, align 8 %0 = load i64, i64* @gv_0, align 8 %1 = add i64 %0, 4 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = inttoptr i64 %arg1 to i32* store i32 %3, i32* %4, align 4 %5 = bitcast i64* %rdi to i32* %6 = load i32, i32* %5, align 8 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_3, label LBL_1 LBL_1: %8 = add i64 %arg1, 8 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_3, label LBL_2 LBL_2: %13 = add i64 %arg1, 4 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = urem i32 %15, 64 store i32 %16, i32* %14, align 4 br label LBL_3 LBL_3: ret i64 0 uselistorder i64 %arg1, { 1, 0, 2 } }
0
BinRealVul
b43_ssb_remove_4955
b43_ssb_remove
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = add i64 %2, 16 %6 = call i64 @FUNC(i64 %5) %7 = icmp eq i64 %1, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %10 = call i32 @fwrite(i64* bitcast ([10 x i8]* @gv_1 to i64*), i32 1, i32 9, %_IO_FILE* %9) br label LBL_2 LBL_2: %11 = add i64 %2, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = icmp eq i64 %13, 0 store i64 0, i64* %rax.0.reg2mem br i1 %14, label LBL_8, label LBL_3 LBL_3: %15 = inttoptr i64 %1 to i64* %16 = load i64, i64* %15, align 8 %17 = icmp eq i64 %2, %16 %18 = icmp eq i1 %17, false br i1 %18, label LBL_6, label LBL_4 LBL_4: %19 = add i64 %1, 8 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = icmp eq i32 %21, 0 br i1 %22, label LBL_6, label LBL_5 LBL_5: %23 = call i64 @FUNC(i64 %2) %24 = add i64 %1, 16 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = call i64 @FUNC(i64 %26) br label LBL_6 LBL_6: %28 = call i64 @FUNC(i64 %4) %29 = add i64 %1, 12 %30 = call i64 @FUNC(i64 %29) %31 = trunc i64 %30 to i32 %32 = icmp eq i32 %31, 0 store i64 %30, i64* %rax.0.reg2mem br i1 %32, label LBL_8, label LBL_7 LBL_7: %33 = call i64 @FUNC(i64 %1) %34 = call i64 @FUNC(i64 %4, i64 %1) store i64 %34, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %2, { 1, 0, 2, 3, 4 } uselistorder i64 %1, { 2, 1, 3, 0, 5, 4, 6 } uselistorder label LBL_8, { 1, 2, 0 } }
0
BinRealVul
ram_load_7439
ram_load
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %storemerge47.reg2mem = alloca i8* %storemerge38.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %arg3.off = add i32 %arg3, -3 %0 = icmp ult i32 %arg3.off, 2 store i64 4294967274, i64* %rax.0.reg2mem br i1 %0, label LBL_1, label LBL_27 LBL_1: %1 = ptrtoint i64* %arg1 to i64 %2 = ptrtoint i64* %sv_1 to i64 %3 = icmp eq i32 %arg3, 3 %4 = icmp eq i1 %3, false %5 = add i64 %2, -320 %6 = bitcast i64* %sv_0 to i8* br label LBL_2 LBL_2: %7 = call i64 @FUNC(i64 %1) %8 = and i64 %7, -4096 %9 = urem i64 %7, 2 %10 = icmp eq i64 %9, 0 br i1 %10, label LBL_12, label LBL_3 LBL_3: br i1 %4, label LBL_4, label LBL_5 LBL_4: %11 = icmp eq i64 %8, 0 %12 = icmp eq i1 %11, false store i64 %8, i64* %storemerge38.reg2mem br i1 %12, label LBL_6, label LBL_12 LBL_5: %13 = call i64 @FUNC() %14 = icmp eq i64 %8, %13 store i64 4294967274, i64* %rax.0.reg2mem br i1 %14, label LBL_12, label LBL_27 LBL_6: %storemerge38.reload = load i64, i64* %storemerge38.reg2mem %15 = call i64 @FUNC(i64 %1) %16 = trunc i64 %15 to i8 %17 = call i64 @FUNC(i64 %1, i64* nonnull %sv_0, i8 %16) %18 = urem i64 %15, 256 %19 = add i64 %5, %18 %20 = inttoptr i64 %19 to i8* store i8 0, i8* %20, align 1 %21 = call i64 @FUNC(i64 %1) store i8* bitcast (i8** @gv_0 to i8*), i8** %storemerge47.reg2mem br label LBL_7 LBL_7: %storemerge47.reload = load i8*, i8** %storemerge47.reg2mem %22 = call i32 @strncmp(i8* nonnull %6, i8* %storemerge47.reload, i32 256) %23 = icmp eq i32 %22, 0 %24 = icmp eq i1 %23, false %25 = ptrtoint i8* %storemerge47.reload to i64 br i1 %24, label LBL_9, label LBL_8 LBL_8: %26 = add i64 %25, 256 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = icmp eq i64 %21, %28 store i64 4294967274, i64* %rax.0.reg2mem br i1 %29, label LBL_11, label LBL_27 LBL_9: %30 = add i64 %25, 264 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = inttoptr i64 %32 to i8* %34 = icmp eq i64 %32, 0 %35 = icmp eq i1 %34, false store i8* %33, i8** %storemerge47.reg2mem br i1 %35, label LBL_7, label LBL_10 LBL_10: %36 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %37 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %36, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_2, i64 0, i64 0), i64* nonnull %sv_0) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_27 LBL_11: %38 = sub i64 %storemerge38.reload, %21 %39 = icmp eq i64 %38, 0 %40 = icmp eq i1 %39, false store i64 %38, i64* %storemerge38.reg2mem br i1 %40, label LBL_6, label LBL_12 LBL_12: %41 = trunc i64 %7 to i32 %42 = urem i32 %41, 4096 %43 = and i32 %41, 2 %44 = icmp eq i32 %43, 0 br i1 %44, label LBL_20, label LBL_13 LBL_13: br i1 %4, label LBL_15, label LBL_14 LBL_14: %45 = call i64 @FUNC(i64 %8) store i64 %45, i64* %storemerge.reg2mem br label LBL_16 LBL_15: %46 = call i64 @FUNC(i64 %1, i64 %8, i32 %42) store i64 %46, i64* %storemerge.reg2mem br label LBL_16 LBL_16: %storemerge.reload = load i64, i64* %storemerge.reg2mem %47 = call i64 @FUNC(i64 %1) %48 = trunc i64 %47 to i8 %49 = trunc i64 %47 to i32 %50 = urem i32 %49, 256 %51 = inttoptr i64 %storemerge.reload to i64* %52 = call i64* @memset(i64* %51, i32 %50, i32 4096) %53 = icmp eq i8 %48, 0 %54 = icmp eq i1 %53, false br i1 %54, label LBL_25, label LBL_17 LBL_17: %55 = call i64 @FUNC() %56 = trunc i64 %55 to i32 %57 = icmp eq i32 %56, 0 br i1 %57, label LBL_19, label LBL_18 LBL_18: %58 = call i64 @FUNC() %59 = trunc i64 %58 to i32 %60 = icmp eq i32 %59, 0 br i1 %60, label LBL_25, label LBL_19 LBL_19: %61 = call i64 @FUNC(i64 %storemerge.reload, i64 4096, i64 4) br label LBL_25 LBL_20: %62 = and i32 %41, 4 %63 = icmp eq i32 %62, 0 br i1 %63, label LBL_25, label LBL_21 LBL_21: br i1 %4, label LBL_23, label LBL_22 LBL_22: %64 = call i64 @FUNC(i64 %8) store i64 %64, i64* %storemerge2.reg2mem br label LBL_24 LBL_23: %65 = call i64 @FUNC(i64 %1, i64 %8, i32 %42) store i64 %65, i64* %storemerge2.reg2mem br label LBL_24 LBL_24: %storemerge2.reload = load i64, i64* %storemerge2.reg2mem %66 = inttoptr i64 %storemerge2.reload to i64* %67 = call i64 @FUNC(i64 %1, i64* %66, i8 0) br label LBL_25 LBL_25: %68 = call i64 @FUNC(i64 %1) %69 = trunc i64 %68 to i32 %70 = icmp eq i32 %69, 0 store i64 4294967291, i64* %rax.0.reg2mem br i1 %70, label LBL_26, label LBL_27 LBL_26: %71 = and i32 %41, 8 %72 = icmp eq i32 %71, 0 store i64 0, i64* %rax.0.reg2mem br i1 %72, label LBL_2, label LBL_27 LBL_27: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %storemerge.reload, { 1, 0 } uselistorder i32 %42, { 1, 0 } uselistorder i32 %41, { 2, 1, 3, 0 } uselistorder i64 %25, { 1, 0 } uselistorder i64 %8, { 6, 5, 4, 3, 2, 0, 1 } uselistorder i64 %7, { 1, 0, 2 } uselistorder i64 %1, { 7, 5, 6, 3, 4, 0, 2, 1, 8 } uselistorder i64* %sv_0, { 0, 2, 1 } uselistorder i64* %storemerge38.reg2mem, { 2, 0, 1 } uselistorder i8** %storemerge47.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 6, 4, 3, 5 } uselistorder i64 (i64, i64, i32)* @host_from_stream_offset, { 1, 0 } uselistorder i64 (i64)* @qemu_get_ram_ptr, { 1, 0 } uselistorder i32 4096, { 1, 0 } uselistorder i32 0, { 0, 1, 2, 3, 4, 6, 5 } uselistorder i8 0, { 0, 2, 3, 1 } uselistorder i64 256, { 1, 0 } uselistorder i64 (i64, i64*, i8)* @qemu_get_buffer, { 1, 0 } uselistorder i64 (i64)* @qemu_get_byte, { 1, 0 } uselistorder i64 (i64)* @qemu_get_be64, { 1, 0 } uselistorder i1 false, { 1, 4, 3, 2, 0, 5 } uselistorder i64 4294967274, { 3, 1, 0, 2 } uselistorder i32 %arg3, { 1, 0 } uselistorder label LBL_27, { 0, 1, 5, 3, 2, 4 } uselistorder label LBL_12, { 0, 2, 1, 3 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
common_unbind_15678
common_unbind
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 = icmp eq i64 %1, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = inttoptr i64 %1 to i64* %5 = call i32 @munmap(i64* %4, i32 4096) store i64 0, i64* %arg1, align 8 store i64 %0, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload }
1
BinRealVul
trace_init_backends_1429
trace_init_backends
define i64 @FUNC() local_unnamed_addr { LBL_0: ret i64 1 }
0
BinRealVul
virtio_blk_handle_scsi_599
virtio_blk_handle_scsi
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = add i64 %arg1, 8 %1 = call i64 @FUNC(i64 %arg1, i64 %0) %2 = and i64 %1, 4294967295 %3 = call i64 @FUNC(i64 %arg1, i64 %2) %4 = call i64 @FUNC(i64 %arg1) ret i64 %4 }
0
BinRealVul
btrfs_trim_block_group_18129
btrfs_trim_block_group
define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 store i64 0, i64* %arg2, align 8 %3 = add i64 %2, 16 %4 = call i64 @FUNC(i64 %3) %5 = trunc i64 %1 to i32 %6 = icmp eq i32 %5, 0 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 %3) store i64 0, i64* %storemerge.reg2mem br label LBL_5 LBL_2: %8 = ptrtoint i64* %arg2 to i64 %9 = add i64 %2, 4 %10 = call i64 @FUNC(i64 %9) %11 = call i64 @FUNC(i64 %3) %12 = call i64 @FUNC(i64 %2, i64 %8, i64 %arg3, i64 %arg4, i64 %arg5) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false store i64 %12, i64* %sv_0.0.reg2mem br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = call i64 @FUNC(i64 %2, i64 %8, i64 %arg3, i64 %arg4, i64 %arg5) store i64 %16, i64* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %17 = call i64 @FUNC(i64 %3) %18 = call i64 @FUNC(i64 %9) %19 = call i64 @FUNC(i64 %3) %20 = and i64 %sv_0.0.reload, 4294967295 store i64 %20, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %3, { 1, 2, 3, 0, 4 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @spin_unlock, { 2, 1, 0 } uselistorder i64 (i64)* @spin_lock, { 1, 0 } uselistorder i64* %arg2, { 1, 0 } }
1
BinRealVul
xbl_parse_report_12308
xbl_parse_report
define i64 @FUNC(i64* %arg1, i64 %arg2, i8* %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %2 = load i64, i64* %1 %3 = load i128, i128* %0 %4 = load i128, i128* %0 %5 = load i128, i128* %0 %6 = load i128, i128* %0 %7 = load i128, i128* %0 %8 = load i128, i128* %0 %9 = load i128, i128* %0 %10 = load i128, i128* %0 %11 = trunc i64 %2 to i8 %12 = icmp eq i8 %11, 0 br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = call i64 @FUNC(i128 %10) %14 = call i64 @FUNC(i128 %9) %15 = call i64 @FUNC(i128 %8) %16 = call i64 @FUNC(i128 %7) %17 = call i64 @FUNC(i128 %6) %18 = call i64 @FUNC(i128 %5) %19 = call i64 @FUNC(i128 %4) %20 = call i64 @FUNC(i128 %3) br label LBL_2 LBL_2: %sext = mul i64 %arg2, 4294967296 %21 = ashr exact i64 %sext, 32 %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 0 br i1 %23, label LBL_4, label LBL_3 LBL_3: %24 = ptrtoint i64* %arg1 to i64 %25 = add i64 %24, 8 %26 = inttoptr i64 %25 to i32* store i32 %22, i32* %26, align 4 br label LBL_4 LBL_4: %27 = and i64 %21, 4294967295 ret i64 %27 uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 } }
1
BinRealVul
nsim_bpf_map_alloc_18981
nsim_bpf_map_alloc
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %rdi.1.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %rsi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %.off = add i32 %2, -1 %switch = icmp ult i32 %.off, 2 store i64 4294967274, i64* %rax.0.reg2mem br i1 %switch, label LBL_1, label LBL_12 LBL_1: %3 = ptrtoint i64* %arg2 to i64 %4 = add i64 %3, 4 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = icmp slt i32 %6, 1025 store i64 4294967284, i64* %rax.0.reg2mem br i1 %7, label LBL_2, label LBL_12 LBL_2: %8 = add i64 %3, 8 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %10, 0 store i64 4294967274, i64* %rax.0.reg2mem br i1 %11, label LBL_3, label LBL_12 LBL_3: %12 = call i64 @FUNC(i64 16424, i64 0) %13 = icmp eq i64 %12, 0 %14 = icmp eq i1 %13, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %14, label LBL_4, label LBL_12 LBL_4: %15 = ptrtoint i64* %arg1 to i64 %16 = bitcast i64* %rsi to i32* %17 = add i64 %3, 16 %18 = inttoptr i64 %17 to i64* store i64 %12, i64* %18, align 8 %19 = inttoptr i64 %12 to i64* store i64 %15, i64* %19, align 8 %20 = add i64 %12, 8 %21 = inttoptr i64 %20 to i64* store i64 %3, i64* %21, align 8 %22 = add i64 %12, 16 %23 = call i64 @FUNC(i64 %22) %24 = load i32, i32* %16, align 8 %25 = icmp eq i32 %24, 1 %26 = icmp eq i1 %25, false store i64 %22, i64* %rdi.1.reg2mem br i1 %26, label LBL_9, label LBL_5 LBL_5: %27 = add i64 %12, 24 store i64 0, i64* %indvars.iv.reg2mem br label LBL_6 LBL_6: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %28 = call i64 @FUNC(i64 %3, i64 %indvars.iv.reload) %29 = trunc i64 %28 to i32 %30 = icmp eq i32 %29, 0 %31 = icmp eq i1 %30, false br i1 %31, label LBL_7, label LBL_8 LBL_7: %32 = trunc i64 %indvars.iv.reload to i32 %33 = add i32 %32, -1 %34 = icmp slt i32 %33, 0 %35 = icmp eq i1 %34, false store i32 %33, i32* %.reg2mem br i1 %35, label LBL_10, label LBL_11 LBL_8: %36 = mul i64 %indvars.iv.reload, 16 %37 = add i64 %27, %36 %38 = inttoptr i64 %37 to i64* %39 = load i64, i64* %38, align 8 %40 = inttoptr i64 %39 to i32* %41 = trunc i64 %indvars.iv.reload to i32 store i32 %41, i32* %40, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %42 = icmp ult i64 %indvars.iv.next, 1024 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %3, i64* %rdi.1.reg2mem br i1 %42, label LBL_6, label LBL_9 LBL_9: %rdi.1.reload = load i64, i64* %rdi.1.reg2mem %43 = add i64 %3, 24 %44 = inttoptr i64 %43 to i64* store i64 4210741, i64* %44, align 8 %45 = add i64 %12, 16408 %46 = call i64 @FUNC(i64 %45, i64 %rdi.1.reload) store i64 0, i64* %rax.0.reg2mem br label LBL_12 LBL_10: %.reload = load i32, i32* %.reg2mem %47 = sext i32 %.reload to i64 %48 = mul i64 %47, 16 %49 = add i64 %48, %22 %50 = add i64 %49, 8 %51 = inttoptr i64 %50 to i64* %52 = load i64, i64* %51, align 8 %53 = call i64 @FUNC(i64 %52) %54 = add i64 %49, 16 %55 = inttoptr i64 %54 to i64* %56 = load i64, i64* %55, align 8 %57 = call i64 @FUNC(i64 %56) %58 = add i32 %.reload, -1 %59 = icmp slt i32 %58, 0 %60 = icmp eq i1 %59, false store i32 %58, i32* %.reg2mem br i1 %60, label LBL_10, label LBL_11 LBL_11: %61 = call i64 @FUNC(i64 %12) %62 = and i64 %28, 4294967295 store i64 %62, 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 %.reload, { 1, 0 } uselistorder i64 %indvars.iv.reload, { 0, 1, 4, 3, 2 } uselistorder i64 %22, { 1, 0, 2 } uselistorder i64 %12, { 1, 2, 0, 3, 4, 5, 6, 7 } uselistorder i64 %3, { 2, 0, 1, 3, 4, 6, 5 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 6, 1, 2, 3, 4 } uselistorder i64 (i64)* @kfree, { 0, 2, 1 } uselistorder i64 24, { 1, 0 } uselistorder i64 16, { 2, 0, 1, 3, 4 } uselistorder i1 false, { 1, 0, 2, 3, 4 } uselistorder i32 0, { 1, 0, 2, 3 } uselistorder i32 -1, { 2, 0, 1 } uselistorder label LBL_12, { 4, 5, 1, 2, 3, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
btif_config_save_6176
btif_config_save
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = load i64, i64* @gv_0, align 8 %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_2, i64 0, i64 0), i32 19, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_3, i64 0, i64 0)) br label LBL_2 LBL_2: %3 = load i64, i64* @gv_4, align 8 %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_2, i64 0, i64 0), i32 20, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_3, i64 0, i64 0)) br label LBL_4 LBL_4: %6 = load i64, i64* @gv_0, align 8 %7 = call i64 @FUNC(i64 %6, i64 1000, i64 4198710, i64 0) ret i64 %7 uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 } }
0
BinRealVul
qlcnic_sriov_cfg_vf_guest_vlan_18296
qlcnic_sriov_cfg_vf_guest_vlan
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.shrunk.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = trunc i64 %arg2 to i16 %1 = icmp eq i16 %0, 0 %2 = icmp eq i1 %1, false store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %2, label LBL_1, label LBL_10 LBL_1: %3 = ptrtoint i64* %arg1 to i64 %sext2 = mul i64 %arg3, 72057594037927936 %4 = ashr exact i64 %sext2, 56 %5 = urem i64 %arg2, 65536 %6 = urem i64 %4, 256 %7 = call i64 @FUNC(i64 %3, i64 %5, i64 %6) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 store i64 %7, i64* %rax.0.shrunk.reg2mem br i1 %9, label LBL_2, label LBL_10 LBL_2: %10 = call i64 @FUNC(i64* nonnull %sv_0, i64 0) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 store i64 %10, i64* %rax.0.shrunk.reg2mem br i1 %12, label LBL_3, label LBL_10 LBL_3: %13 = add i64 %3, 8 %14 = call i64 @FUNC(i64 %13) %15 = call i64 @FUNC(i64 %3, i64* nonnull %sv_0) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 br i1 %17, label LBL_5, label LBL_4 LBL_4: %18 = inttoptr i64 %13 to i64* %19 = load i64, i64* %18, align 8 %20 = and i64 %15, 4294967295 %21 = call i64 @FUNC(i64 %19, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_0, i64 0, i64 0), i64 %20) br label LBL_9 LBL_5: %22 = call i64 @FUNC(i64 %3) %23 = trunc i64 %4 to i8 %24 = icmp eq i8 %23, 0 br i1 %24, label LBL_7, label LBL_6 LBL_6: %25 = call i64 @FUNC(i64 %3, i64 %5, i64 1) br label LBL_8 LBL_7: %26 = call i64 @FUNC(i64 %3, i64 %5, i64 2) br label LBL_8 LBL_8: %27 = add i64 %3, 16 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = call i64 @FUNC(i64 %29) br label LBL_9 LBL_9: %31 = call i64 @FUNC(i64* nonnull %sv_0) store i64 %15, i64* %rax.0.shrunk.reg2mem br label LBL_10 LBL_10: %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 %5, { 2, 1, 0 } uselistorder i64 %4, { 1, 0 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i64 (i64, i64, i64)* @qlcnic_sriov_vlan_operation, { 1, 0 } uselistorder label LBL_10, { 3, 0, 1, 2 } }
1
BinRealVul
init_6175
init
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %.reg2mem = alloca i64 %0 = call i32 @pthread_mutex_init(i64* nonnull @gv_0, i64* null) %1 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0)) store i64 %1, i64* @gv_2, align 8 %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false br i1 %3, label LBL_6, label LBL_1 LBL_1: %4 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %5 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %4, i8* getelementptr inbounds ([68 x i8], [68 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_5, i64 0, i64 0)) %6 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_6, i64 0, i64 0)) store i64 %6, i64* @gv_2, align 8 %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false store i64 %6, i64* %.reg2mem br i1 %8, label LBL_4, label LBL_2 LBL_2: %9 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %10 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %9, i8* getelementptr inbounds ([59 x i8], [59 x i8]* @gv_7, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_5, i64 0, i64 0)) %11 = call i64 @FUNC() store i64 %11, i64* @gv_2, align 8 %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false store i64 %11, i64* %.reg2mem br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %15 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %14, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_8, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_5, i64 0, i64 0)) br label LBL_9 LBL_4: %.reload = load i64, i64* %.reg2mem %16 = call i64 @FUNC(i64 %.reload, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0)) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 br i1 %18, label LBL_6, label LBL_5 LBL_5: %19 = call i32 @unlink(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_6, i64 0, i64 0)) br label LBL_6 LBL_6: %20 = call i64 @FUNC() %21 = call i64 @FUNC() store i64 %21, i64* @gv_9, align 8 %22 = icmp eq i64 %21, 0 %23 = icmp eq i1 %22, false br i1 %23, label LBL_8, label LBL_7 LBL_7: %24 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %25 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %24, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_10, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_5, i64 0, i64 0)) br label LBL_9 LBL_8: %26 = call i64 @FUNC(i64 0) store i64 %26, i64* %storemerge.reg2mem br label LBL_10 LBL_9: %27 = load i64, i64* @gv_9, align 8 %28 = call i64 @FUNC(i64 %27) %29 = load i64, i64* @gv_2, align 8 %30 = call i64 @FUNC(i64 %29) %31 = call i32 @pthread_mutex_destroy(i64* nonnull @gv_0) store i64 0, i64* @gv_9, align 8 store i64 0, i64* @gv_2, align 8 %32 = call i64 @FUNC(i64 1) store i64 %32, i64* %storemerge.reg2mem br label LBL_10 LBL_10: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64 1, { 1, 0 } uselistorder i64 (i64)* @future_new_immediate, { 1, 0 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 0, 3, 1, 2 } uselistorder %_IO_FILE** @gv_3, { 3, 2, 1, 0 } uselistorder i32 1, { 2, 1, 3, 0, 4, 5, 6 } }
0
BinRealVul
chaoskey_rng_read_3824
chaoskey_rng_read
define i64 @FUNC(i64 %arg1, i64* %arg2, i64 %arg3, i8 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %.reg2mem3 = alloca i32 %.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0), i64 %arg3, i8 %arg4, i64 %2, i64 %1) %4 = add i64 %arg1, 8 %5 = inttoptr i64 %4 to i8* %6 = load i8, i8* %5, align 1 %7 = icmp eq i8 %6, 1 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64 %arg3, i8 %arg4, i64 %2, i64 %1) store i64 0, i64* %storemerge.reg2mem br label LBL_5 LBL_2: %9 = add i64 %arg1, 16 %10 = call i64 @FUNC(i64 %9) %11 = add i64 %arg1, 56 %12 = call i64 @FUNC(i64 %11) %13 = call i64 @FUNC(i64 %9) %14 = add i64 %arg1, 96 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = add i64 %arg1, 100 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = icmp eq i32 %16, %19 %21 = icmp eq i1 %20, false store i32 %19, i32* %.reg2mem store i32 %16, i32* %.reg2mem3 br i1 %21, label LBL_4, label LBL_3 LBL_3: %22 = call i64 @FUNC(i64 %arg1) %.pre = load i32, i32* %15, align 4 %.pre2 = load i32, i32* %18, align 4 store i32 %.pre2, i32* %.reg2mem store i32 %.pre, i32* %.reg2mem3 br label LBL_4 LBL_4: %.reload4 = load i32, i32* %.reg2mem3 %.reload = load i32, i32* %.reg2mem %23 = sub i32 %.reload4, %.reload %24 = sext i32 %23 to i64 %25 = icmp ugt i64 %24, %arg3 %26 = icmp eq i1 %25, false %sext = mul i64 %arg3, 4294967296 %27 = ashr exact i64 %sext, 32 %sv_0.0 = select i1 %26, i64 %24, i64 %27 %28 = trunc i64 %sv_0.0 to i32 %29 = add i64 %arg1, 104 %30 = sext i32 %.reload to i64 %31 = add i64 %29, %30 %32 = inttoptr i64 %31 to i64* %33 = call i64* @memcpy(i64* %arg2, i64* %32, i32 %28) %34 = load i32, i32* %18, align 4 %35 = add i32 %34, %28 store i32 %35, i32* %18, align 4 %36 = call i64 @FUNC(i64 %11) %37 = and i64 %sv_0.0, 4294967295 %38 = trunc i64 %31 to i8 %39 = call i64 @FUNC(i64 %11, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0), i64 %37, i8 %38, i64 %2, i64 %1) store i64 %37, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %31, { 1, 0 } uselistorder i64 %sv_0.0, { 1, 0 } uselistorder i32* %18, { 2, 1, 0, 3 } uselistorder i64 %11, { 1, 0, 2 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem3, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64)* @mutex_unlock, { 1, 0 } uselistorder i64 (i64)* @mutex_lock, { 1, 0 } uselistorder i64 (i64, i8*, i64, i8, i64, i64)* @usb_dbg, { 2, 1, 0 } uselistorder i64 %arg1, { 1, 4, 3, 2, 6, 5, 0, 7, 8 } }
0
BinRealVul
nbd_client_session_co_flush_16710
nbd_client_session_co_flush
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i32, align 4 %sv_1 = alloca i32, align 4 %2 = trunc i64 %1 to i32 %3 = urem i32 %2, 2 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false store i64 0, i64* %storemerge.reg2mem br i1 %5, label LBL_1, label LBL_5 LBL_1: %6 = and i32 %2, 2 %7 = icmp eq i32 %6, 0 %spec.store.select = select i1 %7, i32 1, i32 5 store i32 %spec.store.select, i32* %sv_1, align 4 %8 = ptrtoint i32* %arg1 to i64 %9 = call i64 @FUNC(i64 %8, i32* nonnull %sv_1) %10 = call i64 @FUNC(i64 %8, i32* nonnull %sv_1, i64 0, i64 0) %11 = icmp slt i64 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_3, label LBL_2 LBL_2: %13 = trunc i64 %10 to i32 %14 = sub i32 0, %13 store i32 %14, i32* %sv_0, align 4 br label LBL_4 LBL_3: %15 = call i64 @FUNC(i64 %8, i32* nonnull %sv_1, i32* nonnull %sv_0, i64 0, i64 0) br label LBL_4 LBL_4: %16 = call i64 @FUNC(i64 %8, i32* nonnull %sv_1) %17 = load i32, i32* %sv_0, align 4 %18 = sub i32 0, %17 %19 = zext i32 %18 to i64 store i64 %19, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %2, { 1, 0 } uselistorder i32* %sv_0, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 2, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
crypto_ahash_report_13559
crypto_ahash_report
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 store i32 1935763553, i32* %sv_0, align 4 %1 = ptrtoint i32* %arg2 to i64 %2 = call i64 @FUNC(i64 %1) %3 = call i64 @FUNC(i64 %0, i64 1, i64 16, i32* nonnull %sv_0) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false %. = select i1 %6, i64 4294967206, i64 0 ret i64 %. }
0
BinRealVul
m48t59_isa_class_init_1918
m48t59_isa_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 i8* store i8 1, i8* %2, align 1 %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i64* store i64 4198669, i64* %4, align 8 %5 = add i64 %0, 24 %6 = inttoptr i64 %5 to i64* store i64 4198676, i64* %6, align 8 ret i64 %0 uselistorder i64 %0, { 1, 0, 2, 3 } }
0
BinRealVul
sgi_clock_set_6037
sgi_clock_set
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %sv_0 = alloca i32, align 4 %1 = call i64 @FUNC() %2 = load i32, i32* inttoptr (i64 4210716 to i32*), align 4 %3 = zext i32 %2 to i64 %4 = mul i64 %1, %3 %5 = bitcast i32* %sv_0 to i64* %6 = call i64 @FUNC(i64 %4, i64 1000000000, i64* nonnull %5) %7 = and i64 %6, 4294967295 %8 = sub i64 %0, %7 store i64 %8, i64* @gv_0, align 8 %9 = load i32, i32* %sv_0, align 4 %10 = zext i32 %9 to i64 %11 = add i64 %0, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = icmp slt i64 %13, %10 br i1 %14, label LBL_2, label LBL_1 LBL_1: %15 = sub nsw i64 1000000000, %10 store i64 %15, i64* @gv_1, align 8 br label LBL_3 LBL_2: %16 = sub nsw i64 2000000000, %10 store i64 %16, i64* @gv_1, align 8 %17 = add i64 %8, -1 store i64 %17, i64* @gv_0, align 8 br label LBL_3 LBL_3: ret i64 0 uselistorder i64 %10, { 1, 0, 2 } }
0
BinRealVul
crypto_exit_ops_8242
crypto_exit_ops
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %merge.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 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = icmp eq i64 %5, 0 store i64 %0, i64* %merge.reg2mem br i1 %6, label LBL_2, label LBL_1 LBL_1: %merge.reload = load i64, i64* %merge.reg2mem ret i64 %merge.reload LBL_2: %7 = call i64 @FUNC(i64 %0) %8 = trunc i64 %7 to i32 switch i32 %8, label LBL_5 [ i32 0, label LBL_3 i32 1, label LBL_4 ] LBL_3: %9 = call i64 @FUNC(i64 %0) store i64 %9, i64* %merge.reg2mem br label LBL_1 LBL_4: %10 = call i64 @FUNC(i64 %0) store i64 %10, i64* %merge.reg2mem br label LBL_1 LBL_5: %11 = call i64 @FUNC() unreachable uselistorder i64 %0, { 1, 2, 3, 0, 4 } uselistorder i64* %merge.reg2mem, { 1, 2, 0, 3 } uselistorder label LBL_1, { 1, 0, 2 } }
0
BinRealVul
gic_complete_irq_3170
gic_complete_irq
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.1.reg2mem = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge12.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %.reg2mem = alloca i32 %sext2 = mul i64 %arg3, 4294967296 %0 = ashr exact i64 %sext2, 32 %1 = and i64 %0, 4294967295 %2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i64 %1) %3 = sext i32 %2 to i64 %4 = trunc i64 %0 to i32 %5 = icmp sgt i32 %4, 1023 store i64 %3, i64* %rax.1.reg2mem br i1 %5, label LBL_13, label LBL_1 LBL_1: %6 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %7 = ashr exact i64 %sext, 30 %8 = add i64 %7, %6 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %10, 1023 store i64 1023, i64* %rax.1.reg2mem br i1 %11, label LBL_13, label LBL_2 LBL_2: %12 = trunc i64 %arg2 to i32 %13 = urem i32 %12, 32 %14 = icmp eq i32 %13, 0 store i32 %10, i32* %.reg2mem store i32 0, i32* %sv_0.0.reg2mem br i1 %14, label LBL_3, label LBL_4 LBL_3: %15 = shl i32 1, %13 %16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i64 %1, i32 %15) %.pre = load i32, i32* %9, align 4 store i32 %.pre, i32* %.reg2mem store i32 1, i32* %sv_0.0.reg2mem br label LBL_4 LBL_4: %.reload = load i32, i32* %.reg2mem %17 = icmp eq i32 %.reload, %4 %18 = ashr exact i64 %sext, 32 br i1 %17, label LBL_12, label LBL_5 LBL_5: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %19 = add i64 %6, 16 store i32 %.reload, i32* %storemerge12.reg2mem br label LBL_8 LBL_6: %20 = icmp eq i32 %34, %4 %21 = icmp eq i1 %20, false store i32 %34, i32* %storemerge12.reg2mem br i1 %21, label LBL_8, label LBL_7 LBL_7: %22 = ashr exact i64 %sext2, 30 %23 = add nsw i64 %22, %18 %24 = mul i64 %23, 4 %25 = add i64 %24, %19 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 store i32 %27, i32* %33, align 4 store i64 %6, i64* %rax.0.reg2mem br label LBL_10 LBL_8: %storemerge12.reload = load i32, i32* %storemerge12.reg2mem %28 = sext i32 %storemerge12.reload to i64 %29 = mul i64 %28, 4 %30 = add nsw i64 %29, %18 %31 = mul i64 %30, 4 %32 = add i64 %31, %19 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = icmp eq i32 %34, 1023 %36 = icmp eq i1 %35, false br i1 %36, label LBL_6, label LBL_9 LBL_9: %37 = zext i32 %34 to i64 store i64 %37, i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem %38 = icmp eq i32 %sv_0.0.reload, 0 store i64 %rax.0.reload, i64* %rax.1.reg2mem br i1 %38, label LBL_13, label LBL_11 LBL_11: %39 = call i64 @FUNC(i64 %6) store i64 %39, i64* %rax.1.reg2mem br label LBL_13 LBL_12: %40 = and i64 %arg2, 4294967295 %41 = ashr exact i64 %sext2, 30 %42 = add nsw i64 %41, %18 %43 = mul i64 %42, 4 %44 = add i64 %6, 16 %45 = add i64 %44, %43 %46 = inttoptr i64 %45 to i32* %47 = load i32, i32* %46, align 4 %48 = call i64 @FUNC(i64 %6, i64 %40, i32 %47) store i64 %48, i64* %rax.1.reg2mem br label LBL_13 LBL_13: %rax.1.reload = load i64, i64* %rax.1.reg2mem ret i64 %rax.1.reload uselistorder i32 %34, { 1, 3, 2, 0 } uselistorder i32* %33, { 1, 0 } uselistorder i64 %19, { 1, 0 } uselistorder i64 %18, { 0, 2, 1 } uselistorder i64 %sext, { 1, 0 } uselistorder i64 %6, { 5, 2, 4, 0, 3, 1 } uselistorder i64 %0, { 1, 0 } uselistorder i64 %sext2, { 2, 1, 0 } uselistorder i32* %storemerge12.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.1.reg2mem, { 0, 3, 1, 2, 4, 5 } uselistorder i1 false, { 1, 0 } uselistorder i64 4294967296, { 1, 0 } uselistorder i64 %arg2, { 1, 2, 0 } uselistorder label LBL_13, { 2, 3, 4, 0, 1 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
AcpiCpuHotplug_add_15238
AcpiCpuHotplug_add
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg3 to i64 %3 = ptrtoint i64* %arg2 to i64 %4 = trunc i64 %1 to i32 %5 = or i32 %4, 1 %6 = bitcast i64* %arg1 to i32* store i32 %5, i32* %6, align 4 %sext = mul i64 %2, 4294967296 %7 = ashr exact i64 %sext, 32 %8 = sdiv i64 %7, 128 %9 = mul i64 %8, 4 %10 = add i64 %9, %3 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = zext i32 %12 to i64 %14 = trunc i64 %7 to i32 %15 = urem i32 %14, 8 %16 = shl i32 1, %15 %17 = add nsw i64 %9, %13 %18 = or i32 %12, %16 %19 = inttoptr i64 %17 to i32* store i32 %18, i32* %19, align 4 ret i64 %17 uselistorder i64 %17, { 1, 0 } uselistorder i64 %9, { 1, 0 } uselistorder i64 %7, { 1, 0 } }
1