dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
BinRealVul
transfer_all_new_dbs_18176
transfer_all_new_dbs
define i64 @FUNC(i32* %arg1, i32* %arg2, i8* %arg3, i8* %arg4, i8* %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.1.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i64 %sv_1.0.lcssa.reg2mem = alloca i32 %sv_1.010.reg2mem = alloca i32 %.reg2mem37 = alloca i64 %sv_1.118.reg2mem = alloca i32 %sv_2.019.reg2mem = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %sv_3 = alloca i32, align 4 %3 = trunc i64 %1 to i32 %4 = and i64 %1, 4294967295 %5 = icmp eq i32 %3, 0 br i1 %5, label LBL_11, label LBL_1 LBL_1: %6 = ptrtoint i32* %arg1 to i64 %7 = add i64 %6, 8 %8 = inttoptr i64 %7 to i64* %9 = ptrtoint i32* %arg2 to i64 %10 = add i64 %9, 8 %11 = inttoptr i64 %10 to i64* %12 = ptrtoint i8* %arg4 to i64 %13 = ptrtoint i8* %arg3 to i64 %14 = ptrtoint i8* %arg5 to i64 %15 = and i64 %2, 4294967295 store i64 0, i64* %.reg2mem store i32 0, i32* %sv_2.019.reg2mem store i32 0, i32* %sv_1.118.reg2mem br label LBL_2 LBL_2: %sv_1.118.reload = load i32, i32* %sv_1.118.reg2mem %sv_2.019.reload = load i32, i32* %sv_2.019.reg2mem %.reload = load i64, i64* %.reg2mem %16 = load i64, i64* %8, align 8 %17 = mul i64 %.reload, 8 %18 = add i64 %16, %17 %19 = sext i32 %sv_1.118.reload to i64 %20 = icmp sgt i64 %15, %19 store i32 %sv_1.118.reload, i32* %sv_1.0.lcssa.reg2mem store i64 %19, i64* %.lcssa.reg2mem store i64 0, i64* %sv_0.1.reg2mem br i1 %20, label LBL_3, label LBL_6 LBL_3: %21 = inttoptr i64 %18 to i64* store i64 %19, i64* %.reg2mem37 store i32 %sv_1.118.reload, i32* %sv_1.010.reg2mem br label LBL_4 LBL_4: %sv_1.010.reload = load i32, i32* %sv_1.010.reg2mem %.reload38 = load i64, i64* %.reg2mem37 %22 = load i64, i64* %11, align 8 %23 = mul i64 %.reload38, 8 %24 = add i64 %22, %23 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = load i64, i64* %21, align 8 %28 = inttoptr i64 %27 to i8* %29 = inttoptr i64 %26 to i8* %30 = call i32 @strcmp(i8* %28, i8* %29) %31 = icmp eq i32 %30, 0 store i32 %sv_1.010.reload, i32* %sv_1.0.lcssa.reg2mem store i64 %.reload38, i64* %.lcssa.reg2mem store i64 %24, i64* %sv_0.1.reg2mem br i1 %31, label LBL_6, label LBL_5 LBL_5: %32 = add i32 %sv_1.010.reload, 1 %33 = sext i32 %32 to i64 %34 = icmp sgt i64 %15, %33 store i64 %33, i64* %.reg2mem37 store i32 %32, i32* %sv_1.010.reg2mem store i32 %32, i32* %sv_1.0.lcssa.reg2mem store i64 %33, i64* %.lcssa.reg2mem store i64 %24, i64* %sv_0.1.reg2mem br i1 %34, label LBL_4, label LBL_6 LBL_6: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %35 = icmp slt i64 %.lcssa.reload, %15 br i1 %35, label LBL_8, label LBL_7 LBL_7: %36 = inttoptr i64 %18 to i64* %37 = load i64, i64* %36, align 8 %38 = call i64 @FUNC(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_0, i64 0, i64 0), i64 %37) unreachable LBL_8: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem store i32 0, i32* %sv_3, align 4 %39 = call i64 @FUNC(i64 %18, i64 %sv_0.1.reload, i32* nonnull %sv_3, i64 %13, i64 %12) %40 = load i32, i32* %sv_3, align 4 %41 = icmp eq i32 %40, 0 br i1 %41, label LBL_10, label LBL_9 LBL_9: %42 = inttoptr i64 %sv_0.1.reload to i64* %43 = load i64, i64* %42, align 8 %44 = zext i32 %40 to i64 %45 = call i64 @FUNC(i64 %39, i64 %44, i64 %43) %46 = call i64 @FUNC() %47 = load i32, i32* %sv_3, align 4 %48 = call i64 @FUNC(i64 %46, i64 %39, i32 %47, i64 %14) %49 = call i64 @FUNC(i64 %39) br label LBL_10 LBL_10: %50 = add i32 %sv_2.019.reload, 1 %51 = add i32 %sv_1.0.lcssa.reload, 1 %52 = sext i32 %50 to i64 %53 = icmp sgt i64 %4, %52 store i64 %52, i64* %.reg2mem store i32 %50, i32* %sv_2.019.reg2mem store i32 %51, i32* %sv_1.118.reg2mem br i1 %53, label LBL_2, label LBL_11 LBL_11: ret i64 %4 uselistorder i64 %39, { 1, 0, 2 } uselistorder i64 %sv_0.1.reload, { 1, 0 } uselistorder i64 %24, { 1, 0, 2 } uselistorder i32 %sv_1.010.reload, { 1, 0 } uselistorder i64 %19, { 1, 0, 2 } uselistorder i64 %18, { 1, 0, 2 } uselistorder i32 %sv_1.118.reload, { 1, 0, 2 } uselistorder i64 %15, { 2, 0, 1 } uselistorder i64 %4, { 1, 0 } uselistorder i32* %sv_3, { 1, 2, 0, 3 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.019.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.118.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem37, { 1, 0, 2 } uselistorder i32* %sv_1.010.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.0.lcssa.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %.lcssa.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %0, { 1, 0 } uselistorder i32 0, { 6, 5, 7, 0, 1, 2, 3, 4 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
ffio_rewind_with_probe_data_14599
ffio_rewind_with_probe_data
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64 4294967274, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_7 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = add i64 %4, 32 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = add i64 %4, 16 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = sub i64 %7, %10 %12 = add i64 %4, 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %sext = mul i64 %11, 4294967296 %15 = ashr exact i64 %sext, 32 %16 = sub i64 %14, %15 %17 = sext i32 %arg3 to i64 %18 = icmp sgt i64 %16, %17 store i64 4294967274, i64* %rax.0.reg2mem br i1 %18, label LBL_7, label LBL_2 LBL_2: %19 = trunc i64 %11 to i32 %20 = trunc i64 %16 to i32 %21 = sub i32 %arg3, %20 %22 = add i32 %19, %arg3 %23 = sub i32 %22, %21 %24 = add i64 %4, 40 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = sub i32 %23, %26 %28 = xor i32 %26, %23 %29 = xor i32 %27, %23 %30 = and i32 %29, %28 %31 = icmp slt i32 %30, 0 %32 = icmp slt i32 %27, 0 %33 = icmp eq i1 %32, %31 %34 = select i1 %33, i32 %23, i32 %26 %35 = icmp sgt i32 %34, %arg3 store i64 %arg2, i64* %sv_0.0.reg2mem br i1 %35, label LBL_3, label LBL_4 LBL_3: %36 = call i64 @FUNC(i64 %arg2, i64 1, i32 %34) %sext2 = mul i64 %36, 4294967296 %37 = ashr exact i64 %sext2, 32 %38 = icmp eq i64 %sext2, 0 %39 = icmp eq i1 %38, false store i64 %37, i64* %sv_0.0.reg2mem store i64 4294967284, i64* %rax.0.reg2mem br i1 %39, label LBL_4, label LBL_7 LBL_4: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %40 = icmp sgt i32 %23, %arg3 store i64 %17, i64* %.pre-phi.reg2mem br i1 %40, label LBL_5, label LBL_6 LBL_5: %41 = sub i32 %19, %21 %42 = load i64, i64* %9, align 8 %43 = sext i32 %21 to i64 %44 = add i64 %42, %43 %45 = add i64 %sv_0.0.reload, %17 %46 = inttoptr i64 %45 to i64* %47 = inttoptr i64 %44 to i64* %48 = call i64* @memcpy(i64* %46, i64* %47, i32 %41) %.pre = sext i32 %23 to i64 store i64 %.pre, i64* %.pre-phi.reg2mem br label LBL_6 LBL_6: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %49 = load i64, i64* %9, align 8 %50 = call i64 @FUNC(i64 %49) store i64 %sv_0.0.reload, i64* %9, align 8 %51 = add i64 %4, 24 %52 = inttoptr i64 %51 to i64* store i64 %sv_0.0.reload, i64* %52, align 8 store i32 %34, i32* %25, align 4 store i64 %.pre-phi.reload, i64* %13, align 8 %53 = load i64, i64* %52, align 8 %54 = add i64 %53, %.pre-phi.reload store i64 %54, i64* %6, align 8 %55 = add i64 %4, 48 %56 = inttoptr i64 %55 to i32* store i32 0, i32* %56, align 4 %57 = add i64 %4, 52 %58 = inttoptr i64 %57 to i32* store i32 0, i32* %58, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %.pre-phi.reload, { 1, 0 } uselistorder i64 %sv_0.0.reload, { 1, 0, 2 } uselistorder i64 %sext2, { 1, 0 } uselistorder i32 %27, { 1, 0 } uselistorder i32 %26, { 1, 0, 2 } uselistorder i32 %23, { 0, 1, 2, 5, 4, 3 } uselistorder i32 %21, { 2, 1, 0 } uselistorder i32 %19, { 1, 0 } uselistorder i64 %17, { 1, 0, 2 } uselistorder i64 %11, { 1, 0 } uselistorder i64* %9, { 1, 0, 2, 3 } uselistorder i64 %4, { 0, 1, 2, 3, 4, 6, 5 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i32 %arg3, { 1, 2, 0, 4, 3 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_7, { 3, 0, 1, 2 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
swf_svg_print_12301
swf_svg_print
define i64 @FUNC(i64* %arg1, i8* %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 %sv_0 = alloca i64, align 8 %sv_1 = alloca i32, align 4 %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: %21 = ptrtoint i64* %arg1 to i64 store i32 16, i32* %sv_1, align 4 %22 = ptrtoint i32* %sv_1 to i64 %23 = bitcast i64* %sv_0 to i8* %24 = call i32 @vsprintf(i8* nonnull %23, i8* %arg2, i64 %22) %25 = ptrtoint i64* %sv_0 to i64 %26 = call i32 @strlen(i8* nonnull %23) %27 = add i64 %21, 8 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = add i32 %29, %26 %31 = add i32 %30, 1 %32 = zext i32 %31 to i64 %33 = call i64 @FUNC(i64 %25, i64 %32) store i64 %33, i64* %arg1, align 8 %34 = add i64 %21, 16 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = icmp eq i32 %36, 0 %38 = load i32, i32* %28, align 4 br i1 %37, label LBL_4, label LBL_3 LBL_3: %39 = add i64 %21, 12 %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 4 %42 = add i32 %38, 1 %43 = sub i32 %42, %41 %44 = zext i32 %41 to i64 %45 = add i64 %44, %25 %46 = zext i32 %26 to i64 %47 = add i64 %45, %46 %48 = inttoptr i64 %47 to i64* %49 = inttoptr i64 %45 to i64* %50 = call i64* @memmove(i64* %48, i64* %49, i32 %43) %51 = load i32, i32* %40, align 4 %52 = zext i32 %51 to i64 %53 = add i64 %47, %52 %54 = inttoptr i64 %53 to i64* %55 = call i64* @memcpy(i64* %54, i64* nonnull %sv_0, i32 %26) %56 = load i32, i32* %40, align 4 %57 = add i32 %56, %26 store i32 %57, i32* %40, align 4 br label LBL_5 LBL_4: %58 = zext i32 %38 to i64 %59 = add i64 %58, %25 %60 = inttoptr i64 %59 to i8* %61 = call i8* @strcpy(i8* %60, i8* nonnull %23) br label LBL_5 LBL_5: store i32 %30, i32* %28, align 4 ret i64 %21 uselistorder i64 %45, { 1, 0 } uselistorder i32 %41, { 1, 0 } uselistorder i32* %40, { 1, 0, 2, 3 } uselistorder i32 %38, { 1, 0 } uselistorder i32 %26, { 0, 2, 3, 1 } uselistorder i64 %21, { 0, 2, 1, 3 } uselistorder i64* %sv_0, { 0, 2, 1 } uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 } }
1
BinRealVul
pmcraid_release_host_rrqs_9996
pmcraid_release_host_rrqs
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.lcssa.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = trunc i64 %arg2 to i32 %1 = icmp sgt i32 %0, 0 store i64 0, i64* %storemerge.lcssa.reg2mem br i1 %1, label LBL_1, label LBL_3 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 168 %wide.trip.count = and i64 %arg2, 4294967295 store i64 0, i64* %indvars.iv.reg2mem br label LBL_2 LBL_2: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %4 = mul i64 %indvars.iv.reload, 8 %5 = add i64 %4, %2 %6 = add i64 %5, 88 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = add i64 %5, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = call i64 @FUNC(i64 %2, i64 640, i64 %11, i64 %8) store i64 0, i64* %10, align 8 store i64 0, i64* %7, align 8 %13 = mul i64 %indvars.iv.reload, 4 %14 = add i64 %3, %13 %15 = inttoptr i64 %14 to i32* store i32 0, i32* %15, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %wide.trip.count, i64* %storemerge.lcssa.reg2mem br i1 %exitcond, label LBL_3, label LBL_2 LBL_3: %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem ret i64 %storemerge.lcssa.reload uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64 %2, { 2, 0, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32 0, { 1, 0 } }
0
BinRealVul
irda_create_3693
irda_create
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = trunc i64 %arg3 to i32 %4 = icmp ult i32 %3, 256 store i64 1, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_13 LBL_1: %5 = icmp eq i64* %arg1, @gv_0 store i64 2, i64* %rax.0.reg2mem br i1 %5, label LBL_2, label LBL_13 LBL_2: %6 = trunc i64 %2 to i32 %7 = add i32 %6, -1 %8 = icmp ult i32 %7, 3 store i64 3, i64* %rax.0.reg2mem br i1 %8, label LBL_3, label LBL_13 LBL_3: %9 = ptrtoint i64* %arg1 to i64 %10 = and i64 %arg4, 4294967295 %11 = call i64 @FUNC(i64 %9, i64 1, i64 0, i64* nonnull @gv_1, i64 %10) %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false store i64 4, i64* %rax.0.reg2mem br i1 %13, label LBL_4, label LBL_13 LBL_4: %14 = ptrtoint i64* %arg2 to i64 %15 = call i64 @FUNC(i64 %11) %16 = inttoptr i64 %15 to i32* %17 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_3, i64 0, i64 0), i64 %15, i64 ptrtoint (i64* @gv_1 to i64), i64 %10, i64 %1) %18 = add i64 %15, 40 %19 = call i64 @FUNC(i64 %18) switch i32 %6, label LBL_11 [ i32 3, label LBL_7 i32 1, label LBL_5 i32 2, label LBL_6 ] LBL_5: %20 = add i64 %14, 8 %21 = inttoptr i64 %20 to i64* store i64 ptrtoint (i64* @gv_4 to i64), i64* %21, align 8 store i32 0, i32* %16, align 4 br label LBL_12 LBL_6: %22 = add i64 %14, 8 %23 = inttoptr i64 %22 to i64* store i64 ptrtoint (i64* @gv_5 to i64), i64* %23, align 8 store i32 1, i32* %16, align 4 br label LBL_12 LBL_7: switch i32 %3, label LBL_10 [ i32 1, label LBL_8 i32 2, label LBL_9 ] LBL_8: %24 = add i64 %14, 8 %25 = inttoptr i64 %24 to i64* store i64 ptrtoint (i64* @gv_6 to i64), i64* %25, align 8 %26 = add i64 %15, 4 %27 = inttoptr i64 %26 to i32* store i32 1014, i32* %27, align 4 %28 = add i64 %15, 8 %29 = inttoptr i64 %28 to i32* store i32 30, i32* %29, align 4 br label LBL_12 LBL_9: %30 = add i64 %14, 8 %31 = inttoptr i64 %30 to i64* store i64 ptrtoint (i64* @gv_7 to i64), i64* %31, align 8 store i32 1, i32* %16, align 4 br label LBL_12 LBL_10: %32 = call i64 @FUNC(i64 %11) store i64 3, i64* %rax.0.reg2mem br label LBL_13 LBL_11: %33 = call i64 @FUNC(i64 %11) store i64 3, i64* %rax.0.reg2mem br label LBL_13 LBL_12: %34 = inttoptr i64 %11 to i32* %35 = call i64 @FUNC(i64 %14, i64 %11) store i32 1, i32* %34, align 4 %36 = add i64 %11, 4 %37 = inttoptr i64 %36 to i32* store i32 %3, i32* %37, align 4 %38 = call i64 @FUNC(i64 0, i64 0, i64 0, i64 0) %39 = trunc i64 %38 to i32 %40 = add i64 %15, 12 %41 = inttoptr i64 %40 to i32* store i32 %39, i32* %41, align 4 %42 = add i64 %15, 16 %43 = inttoptr i64 %42 to i16* store i16 -1, i16* %43, align 2 %44 = add i64 %15, 24 %45 = inttoptr i64 %44 to i32* store i32 0, i32* %45, align 4 %46 = add i64 %15, 20 %47 = inttoptr i64 %46 to i32* store i32 0, i32* %47, align 4 %48 = add i64 %15, 28 %49 = inttoptr i64 %48 to i32* store i32 5, i32* %49, align 4 %50 = add i64 %15, 32 %51 = inttoptr i64 %50 to i32* store i32 0, i32* %51, align 4 %52 = add i64 %15, 36 %53 = inttoptr i64 %52 to i32* store i32 0, i32* %53, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_13 LBL_13: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %16, { 2, 0, 1 } uselistorder i64 %15, { 2, 3, 4, 5, 6, 7, 8, 0, 1, 10, 11, 9 } uselistorder i64 %14, { 3, 2, 4, 0, 1 } uselistorder i64 %11, { 1, 2, 5, 3, 0, 4, 6 } uselistorder i32 %3, { 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 7, 5, 6, 1, 2, 3, 4 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64)* @sk_free, { 1, 0 } uselistorder i32 0, { 1, 2, 0, 3, 4, 5 } uselistorder i32 2, { 1, 0 } uselistorder i64 4, { 1, 2, 0 } uselistorder i64* @gv_1, { 1, 0 } uselistorder i64 3, { 1, 2, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_13, { 4, 5, 6, 0, 1, 2, 3 } uselistorder label LBL_12, { 1, 0, 2, 3 } }
0
BinRealVul
net_rx_pkt_is_vlan_stripped_16857
net_rx_pkt_is_vlan_stripped
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 br i1 %3, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([61 x i8], [61 x i8]* @gv_1, i64 0, i64 0), i32 10, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %4 = urem i64 %1, 256 ret i64 %4 }
1
BinRealVul
vring_init_18361
vring_init
define i64 @FUNC(i64* %arg1, i32 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i64 %arg3) %2 = bitcast i64* %arg1 to i32* store i32 %arg2, i32* %2, align 4 %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i64* store i64 %arg3, i64* %4, align 8 %5 = add i64 %0, 16 %6 = inttoptr i64 %5 to i64* store i64 %arg3, i64* %6, align 8 %7 = zext i32 %arg2 to i64 %8 = mul i64 %7, 2 %9 = add i64 %arg3, 3 %10 = add i64 %9, %8 %11 = add i64 %10, %arg4 %12 = sub i64 0, %arg4 %13 = and i64 %11, %12 %14 = add i64 %0, 24 %15 = inttoptr i64 %14 to i64* store i64 %13, i64* %15, align 8 %16 = load i64, i64* %6, align 8 %17 = inttoptr i64 %16 to i16* store i16 0, i16* %17, align 2 %18 = load i64, i64* %6, align 8 %19 = add i64 %18, 2 %20 = inttoptr i64 %19 to i16* store i16 0, i16* %20, align 2 %21 = load i64, i64* %15, align 8 %22 = inttoptr i64 %21 to i16* store i16 1, i16* %22, align 2 %23 = load i64, i64* %15, align 8 %24 = add i64 %23, 2 %25 = inttoptr i64 %24 to i16* store i16 0, i16* %25, align 2 %26 = add i64 %0, 32 %27 = inttoptr i64 %26 to i32* store i32 0, i32* %27, align 4 %28 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0), i64 %0) ret i64 %28 uselistorder i64 2, { 1, 2, 0 } uselistorder i64 (i8*, i64)* @debug_print_addr, { 1, 0 } uselistorder i64 %arg4, { 1, 0 } uselistorder i32 %arg2, { 1, 0 } }
1
BinRealVul
rpmluaFree_4219
rpmluaFree
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = icmp eq i64 %arg1, 0 br i1 %0, label LBL_3, label LBL_1 LBL_1: %1 = call i64 @FUNC(i64 %arg1) %2 = add i64 %arg1, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = inttoptr i64 %4 to i64* call void @free(i64* %5) %6 = inttoptr i64 %arg1 to i64* call void @free(i64* %6) %7 = load i64, i64* @gv_0, align 8 %8 = icmp eq i64 %7, %arg1 %9 = icmp eq i1 %8, false br i1 %9, label LBL_3, label LBL_2 LBL_2: store i64 0, i64* @gv_0, align 8 br label LBL_3 LBL_3: ret i64 0 uselistorder void (i64*)* @free, { 1, 0 } uselistorder i64 %arg1, { 0, 2, 1, 3, 4 } }
0
BinRealVul
onenand_erase_14646
onenand_erase
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %sv_0.0.in9.reg2mem = alloca i64 %sv_1.0.in10.reg2mem = alloca i64 %rdi.112.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 512) %1 = call i64 @FUNC(i64 512) %2 = inttoptr i64 %0 to i64* %3 = call i64* @memset(i64* %2, i32 255, i32 512) %4 = trunc i64 %arg3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp slt i32 %4, 0 %7 = icmp eq i1 %6, false %8 = icmp eq i1 %5, false %9 = icmp eq i1 %7, %8 br i1 %9, label LBL_1, label LBL_9 LBL_1: %10 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %sext2 = mul i64 %arg3, 4294967296 %11 = add i64 %10, 8 %12 = inttoptr i64 %11 to i32* %13 = add i64 %0, 8 %14 = inttoptr i64 %13 to i64* %15 = add i64 %10, 16 %16 = inttoptr i64 %15 to i64* store i64 %0, i64* %rdi.112.reg2mem store i64 %sext, i64* %sv_1.0.in10.reg2mem store i64 %sext2, i64* %sv_0.0.in9.reg2mem br label LBL_2 LBL_2: %sv_0.0.in9.reload = load i64, i64* %sv_0.0.in9.reg2mem %sv_1.0.in10.reload = load i64, i64* %sv_1.0.in10.reg2mem %rdi.112.reload = load i64, i64* %rdi.112.reg2mem %sv_1.013 = ashr exact i64 %sv_1.0.in10.reload, 32 %17 = icmp eq i64 %rdi.112.reload, 0 %18 = load i32, i32* %12, align 4 br i1 %17, label LBL_6, label LBL_3 LBL_3: %19 = trunc i64 %sv_1.013 to i32 %20 = call i64 @FUNC(i64 %rdi.112.reload, i32 %19, i64 %0, i64 1) %21 = trunc i64 %20 to i32 %22 = icmp slt i32 %21, 0 br i1 %22, label LBL_10, label LBL_4 LBL_4: %23 = ashr i32 %19, 5 %24 = add i32 %23, %18 %25 = call i64 @FUNC(i64 %rdi.112.reload, i32 %24, i64 %1, i64 1) %26 = trunc i64 %25 to i32 %27 = icmp slt i32 %26, 0 br i1 %27, label LBL_10, label LBL_5 LBL_5: %28 = udiv i64 %sv_1.0.in10.reload, 268435456 %29 = and i64 %28, 496 %30 = add i64 %29, %1 %31 = load i64, i64* %14, align 8 %32 = load i64, i64* %2, align 8 %33 = inttoptr i64 %30 to i64* store i64 %32, i64* %33, align 8 %34 = add i64 %30, 8 %35 = inttoptr i64 %34 to i64* store i64 %31, i64* %35, align 8 %36 = call i64 @FUNC(i64 %rdi.112.reload, i32 %24, i64 %1, i64 1) %37 = trunc i64 %36 to i32 %38 = icmp slt i32 %37, 0 %39 = icmp eq i1 %38, false store i64 %rdi.112.reload, i64* %rdi.0.reg2mem br i1 %39, label LBL_8, label LBL_10 LBL_6: %40 = zext i32 %18 to i64 %41 = icmp slt i64 %sv_1.013, %40 br i1 %41, label LBL_7, label LBL_10 LBL_7: %42 = load i64, i64* %16, align 8 %43 = mul i64 %sv_1.0.in10.reload, 512 %44 = ashr exact i64 %43, 32 %45 = add i64 %42, %44 %46 = inttoptr i64 %45 to i64* %47 = call i64* @memcpy(i64* %46, i64* %2, i32 512) %48 = load i64, i64* %16, align 8 %49 = load i32, i32* %12, align 4 %50 = mul i32 %49, 512 %51 = sext i32 %50 to i64 %52 = mul i64 %sv_1.0.in10.reload, 16 %53 = ashr exact i64 %52, 32 %54 = add i64 %48, %53 %55 = add i64 %54, %51 %56 = load i64, i64* %14, align 8 %57 = load i64, i64* %2, align 8 %58 = inttoptr i64 %55 to i64* store i64 %57, i64* %58, align 8 %59 = add i64 %55, 8 %60 = inttoptr i64 %59 to i64* store i64 %56, i64* %60, align 8 store i64 %45, i64* %rdi.0.reg2mem br label LBL_8 LBL_8: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %sext3 = add i64 %sv_0.0.in9.reload, -4294967296 %sext4 = add i64 %sv_1.0.in10.reload, 4294967296 %61 = udiv i64 %sext3, 4294967296 %62 = trunc i64 %61 to i32 %63 = icmp eq i32 %62, 0 %64 = icmp slt i32 %62, 0 %65 = icmp eq i1 %64, false %66 = icmp eq i1 %63, false %67 = icmp eq i1 %65, %66 store i64 %rdi.0.reload, i64* %rdi.112.reg2mem store i64 %sext4, i64* %sv_1.0.in10.reg2mem store i64 %sext3, i64* %sv_0.0.in9.reg2mem br i1 %67, label LBL_2, label LBL_9 LBL_9: %68 = call i64 @FUNC(i64 %1) %69 = call i64 @FUNC(i64 %0) store i64 0, i64* %storemerge.reg2mem br label LBL_11 LBL_10: %70 = call i64 @FUNC(i64 %1) %71 = call i64 @FUNC(i64 %0) store i64 1, i64* %storemerge.reg2mem br label LBL_11 LBL_11: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %55, { 1, 0 } uselistorder i64 %30, { 1, 0 } uselistorder i32 %19, { 1, 0 } uselistorder i32 %18, { 1, 0 } uselistorder i64 %sv_1.0.in10.reload, { 0, 4, 3, 2, 1 } uselistorder i64 %10, { 1, 0 } uselistorder i64* %2, { 1, 2, 0, 3 } uselistorder i64 %1, { 4, 1, 2, 0, 3 } uselistorder i64 %0, { 4, 1, 3, 0, 2, 5 } uselistorder i64* %rdi.112.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.0.in10.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.0.in9.reg2mem, { 1, 0, 2 } uselistorder i64* %rdi.0.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i32, i64, i64)* @blk_write, { 1, 0 } uselistorder i64 32, { 1, 2, 0 } uselistorder i64 8, { 0, 2, 3, 1 } uselistorder i64 4294967296, { 2, 3, 0, 1 } uselistorder i1 false, { 4, 2, 3, 0, 1 } uselistorder i32 0, { 5, 6, 2, 3, 4, 0, 1 } uselistorder label LBL_10, { 0, 3, 1, 2 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
ghash_update_3690
ghash_update
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.25.reg2mem = alloca i64 %sv_1.16.reg2mem = alloca i32 %sv_2.0.in7.reg2mem = alloca i64 %sv_1.0.lcssa.reg2mem = alloca i32 %sv_0.1.lcssa.reg2mem = alloca i64 %sv_0.19.reg2mem = alloca i64 %sv_1.010.reg2mem = alloca i32 %sv_1.0.ph.reg2mem = alloca i32 %sv_0.1.ph.reg2mem = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i64 %.reg2mem = alloca i32 %sv_0.013.reg2mem = alloca i64 %sv_3.014.reg2mem = alloca i32 %sv_4.0.in15.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 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false store i64 1, i64* %storemerge.reg2mem br i1 %6, label LBL_1, label LBL_14 LBL_1: %7 = ptrtoint i64* %arg2 to i64 %8 = inttoptr i64 %1 to i32* %9 = add i64 %1, 4 %10 = load i32, i32* %8, align 4 %11 = icmp eq i32 %10, 0 store i64 %7, i64* %sv_0.1.ph.reg2mem store i32 %arg3, i32* %sv_1.0.ph.reg2mem br i1 %11, label LBL_8, label LBL_2 LBL_2: %12 = zext i32 %10 to i64 %13 = zext i32 %arg3 to i64 %14 = call i64 @FUNC(i64 %13, i64 %12) %15 = trunc i64 %14 to i32 %16 = load i32, i32* %8, align 4 %17 = sub i32 %16, %15 store i32 %17, i32* %8, align 4 %18 = icmp eq i32 %15, 0 %19 = icmp eq i1 %18, false store i32 %17, i32* %.reg2mem store i64 %7, i64* %sv_0.0.lcssa.reg2mem br i1 %19, label LBL_3, label LBL_6 LBL_3: %20 = sub i32 16, %16 %21 = zext i32 %20 to i64 %22 = add i64 %9, %21 store i64 %22, i64* %sv_4.0.in15.reg2mem store i32 %15, i32* %sv_3.014.reg2mem store i64 %7, i64* %sv_0.013.reg2mem br label LBL_4 LBL_4: %sv_0.013.reload = load i64, i64* %sv_0.013.reg2mem %sv_3.014.reload = load i32, i32* %sv_3.014.reg2mem %sv_4.0.in15.reload = load i64, i64* %sv_4.0.in15.reg2mem %sv_4.016 = inttoptr i64 %sv_4.0.in15.reload to i8* %23 = add i32 %sv_3.014.reload, -1 %24 = add i64 %sv_0.013.reload, 1 %25 = inttoptr i64 %sv_0.013.reload to i8* %26 = load i8, i8* %25, align 1 %27 = add i64 %sv_4.0.in15.reload, 1 %28 = load i8, i8* %sv_4.016, align 1 %29 = xor i8 %28, %26 store i8 %29, i8* %sv_4.016, align 1 %30 = icmp eq i32 %23, 0 %31 = icmp eq i1 %30, false store i64 %27, i64* %sv_4.0.in15.reg2mem store i32 %23, i32* %sv_3.014.reg2mem store i64 %24, i64* %sv_0.013.reg2mem br i1 %31, label LBL_4, label LBL_5 LBL_5: %.pre = load i32, i32* %8, align 4 store i32 %.pre, i32* %.reg2mem store i64 %24, i64* %sv_0.0.lcssa.reg2mem br label LBL_6 LBL_6: %32 = sub i32 %arg3, %15 %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem %.reload = load i32, i32* %.reg2mem %33 = icmp eq i32 %.reload, 0 %34 = icmp eq i1 %33, false store i64 %sv_0.0.lcssa.reload, i64* %sv_0.1.ph.reg2mem store i32 %32, i32* %sv_1.0.ph.reg2mem br i1 %34, label LBL_8, label LBL_7 LBL_7: %35 = load i64, i64* %3, align 8 %36 = call i64 @FUNC(i64 %9, i64 %35) store i64 %sv_0.0.lcssa.reload, i64* %sv_0.1.ph.reg2mem store i32 %32, i32* %sv_1.0.ph.reg2mem br label LBL_8 LBL_8: %sv_1.0.ph.reload = load i32, i32* %sv_1.0.ph.reg2mem %sv_0.1.ph.reload = load i64, i64* %sv_0.1.ph.reg2mem %37 = icmp ult i32 %sv_1.0.ph.reload, 16 store i32 %sv_1.0.ph.reload, i32* %sv_1.010.reg2mem store i64 %sv_0.1.ph.reload, i64* %sv_0.19.reg2mem store i64 %sv_0.1.ph.reload, i64* %sv_0.1.lcssa.reg2mem store i32 %sv_1.0.ph.reload, i32* %sv_1.0.lcssa.reg2mem br i1 %37, label LBL_11, label LBL_9 LBL_9: %sv_0.19.reload = load i64, i64* %sv_0.19.reg2mem %sv_1.010.reload = load i32, i32* %sv_1.010.reg2mem %38 = call i64 @FUNC(i64 %9, i64 %sv_0.19.reload, i64 16) %39 = load i64, i64* %3, align 8 %40 = call i64 @FUNC(i64 %9, i64 %39) %41 = add i64 %sv_0.19.reload, 16 %42 = add i32 %sv_1.010.reload, -16 %43 = icmp ult i32 %42, 16 store i32 %42, i32* %sv_1.010.reg2mem store i64 %41, i64* %sv_0.19.reg2mem br i1 %43, label LBL_10, label LBL_9 LBL_10: %44 = urem i32 %sv_1.0.ph.reload, 16 store i64 %41, i64* %sv_0.1.lcssa.reg2mem store i32 %44, i32* %sv_1.0.lcssa.reg2mem br label LBL_11 LBL_11: %sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem %45 = icmp eq i32 %sv_1.0.lcssa.reload, 0 store i64 0, i64* %storemerge.reg2mem br i1 %45, label LBL_14, label LBL_12 LBL_12: %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem %46 = sub i32 16, %sv_1.0.lcssa.reload store i32 %46, i32* %8, align 4 store i64 %9, i64* %sv_2.0.in7.reg2mem store i32 %sv_1.0.lcssa.reload, i32* %sv_1.16.reg2mem store i64 %sv_0.1.lcssa.reload, i64* %sv_0.25.reg2mem br label LBL_13 LBL_13: %sv_0.25.reload = load i64, i64* %sv_0.25.reg2mem %sv_1.16.reload = load i32, i32* %sv_1.16.reg2mem %sv_2.0.in7.reload = load i64, i64* %sv_2.0.in7.reg2mem %sv_2.08 = inttoptr i64 %sv_2.0.in7.reload to i8* %47 = add i32 %sv_1.16.reload, -1 %48 = add i64 %sv_0.25.reload, 1 %49 = inttoptr i64 %sv_0.25.reload to i8* %50 = load i8, i8* %49, align 1 %51 = add i64 %sv_2.0.in7.reload, 1 %52 = load i8, i8* %sv_2.08, align 1 %53 = xor i8 %52, %50 store i8 %53, i8* %sv_2.08, align 1 %54 = icmp eq i32 %47, 0 %55 = icmp eq i1 %54, false store i64 %51, i64* %sv_2.0.in7.reg2mem store i32 %47, i32* %sv_1.16.reg2mem store i64 %48, i64* %sv_0.25.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %55, label LBL_13, label LBL_14 LBL_14: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %sv_1.0.lcssa.reload, { 0, 2, 1 } uselistorder i32 %sv_1.0.ph.reload, { 3, 0, 1, 2 } uselistorder i64 %sv_0.0.lcssa.reload, { 1, 0 } uselistorder i32 %32, { 1, 0 } uselistorder i32 %16, { 1, 0 } uselistorder i32 %15, { 2, 0, 1, 3 } uselistorder i64 %9, { 0, 2, 3, 4, 1 } uselistorder i32* %8, { 3, 0, 1, 2, 4 } uselistorder i64 %7, { 2, 1, 0 } uselistorder i64* %3, { 1, 0, 2 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %sv_4.0.in15.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_3.014.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.013.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.1.ph.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %sv_1.0.ph.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %sv_1.010.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.19.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.1.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_2.0.in7.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.16.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.25.reg2mem, { 1, 0, 2 } uselistorder i64 16, { 1, 0 } uselistorder i64 (i64, i64)* @gf128mul_4k_lle, { 1, 0 } uselistorder i32 16, { 3, 0, 2, 1, 4 } uselistorder i32 0, { 2, 3, 4, 5, 1, 6, 7, 8, 9, 0 } uselistorder i64 1, { 2, 3, 4, 5, 0, 1 } uselistorder i1 false, { 1, 2, 3, 0, 4 } uselistorder i32 %arg3, { 1, 2, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_8, { 2, 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
mlx4_buf_alloc_3708
mlx4_buf_alloc
define i64 @FUNC(i64* %arg1, i32 %arg2, i32 %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i32 %storemerge16.reg2mem = alloca i32 %.reg2mem23 = alloca i64 %.lcssa4.reg2mem = alloca i64 %.reg2mem21 = alloca i32 %rdi.07.reg2mem = alloca i64 %storemerge38.reg2mem = alloca i32 %.reg2mem19 = alloca i64 %.reg2mem = alloca i32 %rcx = alloca i64, align 8 %0 = ptrtoint i64* %arg4 to i64 %sv_0 = alloca i64, align 8 %1 = icmp sgt i32 %arg2, %arg3 br i1 %1, label LBL_5, label LBL_1 LBL_1: %2 = bitcast i64* %arg4 to i32* store i32 1, i32* %2, align 4 %3 = add i64 %0, 4 %4 = inttoptr i64 %3 to i32* store i32 1, i32* %4, align 4 %5 = zext i32 %arg2 to i64 %6 = call i64 @FUNC(i64 %5) %7 = trunc i64 %6 to i32 %8 = add i32 %7, 12 %9 = add i64 %0, 8 %10 = inttoptr i64 %9 to i32* store i32 %8, i32* %10, align 4 %11 = call i64 @FUNC(i64 %5, i64 %5, i64* nonnull %sv_0, i64 0) %sext = mul i64 %11, 4294967296 %12 = ashr exact i64 %sext, 32 %13 = add i64 %0, 16 %14 = inttoptr i64 %13 to i64* store i64 %12, i64* %14, align 8 %15 = icmp eq i64 %sext, 0 %16 = icmp eq i1 %15, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %16, label LBL_2, label LBL_15 LBL_2: %17 = load i64, i64* %sv_0, align 8 %18 = add i64 %0, 24 %19 = inttoptr i64 %18 to i64* store i64 %17, i64* %19, align 8 %20 = load i32, i32* %10, align 4 %21 = urem i32 %20, 32 %notmask18 = shl nsw i32 -1, %21 %22 = sub i32 0, %notmask18 %23 = sub i32 %22, 1 %24 = sext i32 %23 to i64 %25 = load i64, i64* %sv_0, align 8 %26 = and i64 %25, %24 %27 = icmp eq i64 %26, 0 %28 = icmp eq i1 %27, false store i32 %20, i32* %.reg2mem br i1 %28, label LBL_3, label LBL_4 LBL_3: %.reload = load i32, i32* %.reg2mem %29 = add i32 %.reload, -1 store i32 %29, i32* %10, align 4 %30 = load i32, i32* %4, align 4 %31 = mul i32 %30, 2 store i32 %31, i32* %4, align 4 %32 = load i32, i32* %10, align 4 %33 = urem i32 %32, 32 %notmask = shl nsw i32 -1, %33 %34 = sub i32 0, %notmask %35 = sub i32 %34, 1 %36 = sext i32 %35 to i64 %37 = load i64, i64* %sv_0, align 8 %38 = and i64 %37, %36 %39 = icmp eq i64 %38, 0 %40 = icmp eq i1 %39, false store i32 %32, i32* %.reg2mem br i1 %40, label LBL_3, label LBL_4 LBL_4: %41 = load i64, i64* %14, align 8 %42 = inttoptr i64 %41 to i64* %43 = call i64* @memset(i64* %42, i32 0, i32 %arg2) store i64 0, i64* %rax.0.reg2mem br label LBL_15 LBL_5: %44 = add i64 %0, 16 %45 = inttoptr i64 %44 to i64* store i64 0, i64* %45, align 8 %46 = add i32 %arg2, 4095 %47 = add i32 %arg2, 8190 %48 = icmp slt i32 %46, 0 %49 = select i1 %48, i32 %47, i32 %46 %50 = ashr i32 %49, 12 %51 = bitcast i64* %arg4 to i32* store i32 %50, i32* %51, align 4 %52 = bitcast i64* %rcx to i32* %53 = load i32, i32* %52, align 8 %54 = add i64 %0, 4 %55 = inttoptr i64 %54 to i32* store i32 %53, i32* %55, align 4 %56 = add i64 %0, 8 %57 = inttoptr i64 %56 to i32* store i32 12, i32* %57, align 4 %58 = load i32, i32* %52, align 8 %59 = sext i32 %58 to i64 %60 = call i64 @FUNC(i64 %59, i64 16, i64 0) %61 = add i64 %0, 32 %62 = inttoptr i64 %61 to i64* store i64 %60, i64* %62, align 8 %63 = icmp eq i64 %60, 0 %64 = icmp eq i1 %63, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %64, label LBL_6, label LBL_15 LBL_6: %65 = load i32, i32* %52, align 8 %66 = icmp eq i32 %65, 0 store i64 0, i64* %.reg2mem19 store i32 0, i32* %storemerge38.reg2mem store i64 %59, i64* %rdi.07.reg2mem store i32 0, i32* %.reg2mem21 store i64 0, i64* %.lcssa4.reg2mem br i1 %66, label LBL_10, label LBL_7 LBL_7: %rdi.07.reload = load i64, i64* %rdi.07.reg2mem %.reload20 = load i64, i64* %.reg2mem19 %67 = call i64 @FUNC(i64 %rdi.07.reload, i64 4096, i64* nonnull %sv_0, i64 0) %sext2 = mul i64 %67, 4294967296 %68 = ashr exact i64 %sext2, 32 %69 = load i64, i64* %62, align 8 %70 = mul i64 %.reload20, 16 %71 = add i64 %69, %70 %72 = inttoptr i64 %71 to i64* store i64 %68, i64* %72, align 8 %73 = load i64, i64* %62, align 8 %74 = add i64 %73, %70 %75 = inttoptr i64 %74 to i64* %76 = load i64, i64* %75, align 8 %77 = icmp eq i64 %76, 0 br i1 %77, label LBL_14, label LBL_8 LBL_8: %storemerge38.reload = load i32, i32* %storemerge38.reg2mem %78 = load i64, i64* %sv_0, align 8 %79 = add i64 %74, 8 %80 = inttoptr i64 %79 to i64* store i64 %78, i64* %80, align 8 %81 = load i64, i64* %62, align 8 %82 = add i64 %81, %70 %83 = inttoptr i64 %82 to i64* %84 = load i64, i64* %83, align 8 %85 = inttoptr i64 %84 to i64* %86 = call i64* @memset(i64* %85, i32 0, i32 4096) %87 = add i32 %storemerge38.reload, 1 %88 = load i32, i32* %52, align 8 %89 = zext i32 %88 to i64 %90 = sext i32 %87 to i64 %91 = icmp slt i64 %90, %89 store i64 %90, i64* %.reg2mem19 store i32 %87, i32* %storemerge38.reg2mem store i64 %84, i64* %rdi.07.reg2mem br i1 %91, label LBL_7, label LBL_9 LBL_9: %phitmp = sext i32 %88 to i64 %phitmp13 = mul i64 %phitmp, 8 store i32 %88, i32* %.reg2mem21 store i64 %phitmp13, i64* %.lcssa4.reg2mem br label LBL_10 LBL_10: %.lcssa4.reload = load i64, i64* %.lcssa4.reg2mem %92 = call i64 @FUNC(i64 %.lcssa4.reload, i64 0) %93 = icmp eq i64 %92, 0 br i1 %93, label LBL_14, label LBL_11 LBL_11: %.reload22 = load i32, i32* %.reg2mem21 %94 = icmp eq i32 %.reload22, 0 store i64 0, i64* %.reg2mem23 store i32 0, i32* %storemerge16.reg2mem store i32 0, i32* %.lcssa.reg2mem br i1 %94, label LBL_13, label LBL_12 LBL_12: %storemerge16.reload = load i32, i32* %storemerge16.reg2mem %.reload24 = load i64, i64* %.reg2mem23 %95 = load i64, i64* %62, align 8 %96 = mul i64 %.reload24, 16 %97 = add i64 %95, %96 %98 = inttoptr i64 %97 to i64* %99 = load i64, i64* %98, align 8 %100 = mul i64 %.reload24, 8 %101 = add i64 %100, %92 %102 = call i64 @FUNC(i64 %99) %103 = inttoptr i64 %101 to i64* store i64 %102, i64* %103, align 8 %104 = add i32 %storemerge16.reload, 1 %105 = load i32, i32* %52, align 8 %106 = zext i32 %105 to i64 %107 = sext i32 %104 to i64 %108 = icmp slt i64 %107, %106 store i64 %107, i64* %.reg2mem23 store i32 %104, i32* %storemerge16.reg2mem store i32 %105, i32* %.lcssa.reg2mem br i1 %108, label LBL_12, label LBL_13 LBL_13: %.lcssa.reload = load i32, i32* %.lcssa.reg2mem %109 = call i64 @FUNC(i64 %92, i32 %.lcssa.reload, i64 0, i64 0) store i64 %109, i64* %45, align 8 %110 = call i64 @FUNC(i64 %92) %111 = load i64, i64* %45, align 8 %112 = icmp eq i64 %111, 0 store i64 0, i64* %rax.0.reg2mem br i1 %112, label LBL_14, label LBL_15 LBL_14: %113 = ptrtoint i64* %arg1 to i64 %114 = zext i32 %arg2 to i64 %115 = call i64 @FUNC(i64 %113, i64 %114, i64 %0) store i64 4294967284, i64* %rax.0.reg2mem br label LBL_15 LBL_15: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %.reload24, { 1, 0 } uselistorder i64 %92, { 1, 2, 0, 3 } uselistorder i64 %70, { 2, 1, 0 } uselistorder i32* %52, { 1, 2, 0, 3, 4 } uselistorder i64 %sext, { 1, 0 } uselistorder i32* %10, { 1, 2, 0, 3 } uselistorder i32* %4, { 1, 0, 2 } uselistorder i64* %sv_0, { 3, 1, 4, 0, 5, 2 } uselistorder i64 %0, { 4, 5, 6, 7, 8, 0, 1, 2, 3 } uselistorder i32* %.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem19, { 2, 0, 1 } uselistorder i32* %storemerge38.reg2mem, { 2, 0, 1 } uselistorder i64* %rdi.07.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem21, { 0, 2, 1 } uselistorder i64* %.lcssa4.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem23, { 2, 0, 1 } uselistorder i32* %storemerge16.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 2, 3, 1, 4 } uselistorder i32 4096, { 1, 0 } uselistorder i32 -1, { 0, 2, 1 } uselistorder i64 4294967284, { 2, 0, 1 } uselistorder i64 32, { 0, 2, 1 } uselistorder i64 (i64, i64, i64*, i64)* @dma_alloc_coherent, { 1, 0 } uselistorder i32 12, { 1, 2, 0 } uselistorder i32 %arg2, { 2, 4, 3, 0, 1, 5 } uselistorder label LBL_15, { 4, 1, 2, 0, 3 } uselistorder label LBL_14, { 1, 2, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
yam_seq_show_8411
yam_seq_show
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 = ptrtoint i64* %arg2 to i64 %5 = ptrtoint i64* %arg1 to i64 %6 = call i64 @FUNC(i64 %4) %7 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %3, i64 %2, i64 %1) %8 = call i64 @FUNC(i64 %4) %9 = and i64 %8, 4294967295 %10 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i64 %9, i64 %3, i64 %2, i64 %1) %11 = inttoptr i64 %6 to i32* %12 = load i32, i32* %11, align 4 %13 = zext i32 %12 to i64 %14 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0), i64 %13, i64 %3, i64 %2, i64 %1) %15 = add i64 %6, 4 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = zext i32 %17 to i64 %19 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_3, i64 0, i64 0), i64 %18, i64 %3, i64 %2, i64 %1) %20 = add i64 %6, 8 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = zext i32 %22 to i64 %24 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_4, i64 0, i64 0), i64 %23, i64 %3, i64 %2, i64 %1) %25 = add i64 %6, 12 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = zext i32 %27 to i64 %29 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_5, i64 0, i64 0), i64 %28, i64 %3, i64 %2, i64 %1) %30 = add i64 %6, 16 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = zext i32 %32 to i64 %34 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_6, i64 0, i64 0), i64 %33, i64 %3, i64 %2, i64 %1) %35 = add i64 %6, 20 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = zext i32 %37 to i64 %39 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_7, i64 0, i64 0), i64 %38, i64 %3, i64 %2, i64 %1) %40 = add i64 %6, 24 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = zext i32 %42 to i64 %44 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_8, i64 0, i64 0), i64 %43, i64 %3, i64 %2, i64 %1) %45 = add i64 %6, 28 %46 = inttoptr i64 %45 to i32* %47 = load i32, i32* %46, align 4 %48 = zext i32 %47 to i64 %49 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_9, i64 0, i64 0), i64 %48, i64 %3, i64 %2, i64 %1) %50 = add i64 %6, 32 %51 = inttoptr i64 %50 to i32* %52 = load i32, i32* %51, align 4 %53 = zext i32 %52 to i64 %54 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_10, i64 0, i64 0), i64 %53, i64 %3, i64 %2, i64 %1) %55 = add i64 %6, 36 %56 = inttoptr i64 %55 to i32* %57 = load i32, i32* %56, align 4 %58 = zext i32 %57 to i64 %59 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_11, i64 0, i64 0), i64 %58, i64 %3, i64 %2, i64 %1) %60 = add i64 %6, 40 %61 = inttoptr i64 %60 to i32* %62 = load i32, i32* %61, align 4 %63 = zext i32 %62 to i64 %64 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_12, i64 0, i64 0), i64 %63, i64 %3, i64 %2, i64 %1) %65 = add i64 %4, 32 %66 = inttoptr i64 %65 to i64* %67 = load i64, i64* %66, align 8 %68 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_13, i64 0, i64 0), i64 %67, i64 %3, i64 %2, i64 %1) %69 = add i64 %4, 40 %70 = inttoptr i64 %69 to i64* %71 = load i64, i64* %70, align 8 %72 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_14, i64 0, i64 0), i64 %71, i64 %3, i64 %2, i64 %1) %73 = add i64 %6, 44 %74 = inttoptr i64 %73 to i32* %75 = load i32, i32* %74, align 4 %76 = zext i32 %75 to i64 %77 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_15, i64 0, i64 0), i64 %76, i64 %3, i64 %2, i64 %1) %78 = add i64 %6, 48 %79 = inttoptr i64 %78 to i32* %80 = load i32, i32* %79, align 4 %81 = zext i32 %80 to i64 %82 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_16, i64 0, i64 0), i64 %81, i64 %3, i64 %2, i64 %1) %83 = add i64 %4, 48 %84 = inttoptr i64 %83 to i64* %85 = load i64, i64* %84, align 8 %86 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_17, i64 0, i64 0), i64 %85, i64 %3, i64 %2, i64 %1) %87 = call i64 @FUNC(i64 %5, i8* inttoptr (i64 4202783 to i8*), i64 %85, i64 %3, i64 %2, i64 %1) ret i64 0 uselistorder i64 %85, { 1, 0 } uselistorder i64 %4, { 5, 4, 3, 2, 1, 0 } uselistorder i64 %3, { 17, 18, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 1, 2, 0 } uselistorder i64 %2, { 17, 18, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 0, 1 } uselistorder i64 %1, { 17, 18, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 0, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @seq_printf, { 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } }
0
BinRealVul
wait_for_unix_gc_12660
wait_for_unix_gc
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = load i8, i8* inttoptr (i64 4210718 to i8*), align 2 %1 = icmp eq i8 %0, 0 %2 = load i8, i8* inttoptr (i64 4210716 to i8*), align 4 %3 = zext i1 %1 to i64 %4 = zext i8 %2 to i64 %5 = call i64 @FUNC(i64 %4, i64 %3) ret i64 %5 }
1
BinRealVul
count_delta_4367
count_delta
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i64 %sv_1.0.lcssa.reg2mem = alloca i64 %sv_2.1.ph.lcssa.reg2mem = alloca i64 %sv_3.1.reg2mem = alloca i64 %.reg2mem72 = alloca i64 %sv_3.0.reg2mem = alloca i64 %.reg2mem70 = alloca i64 %sv_1.06.reg2mem = alloca i64 %sv_0.07.reg2mem = alloca i64 %.reg2mem68 = alloca i64 %sv_1.0.ph15.reg2mem = alloca i64 %sv_2.1.ph16.reg2mem = alloca i64 %sv_0.0.ph17.reg2mem = alloca i64 %.reg2mem = alloca i64 %sv_4 = alloca i64, align 8 %0 = icmp ult i64 %arg2, 6 store i64 4294967295, i64* %rax.0.reg2mem br i1 %0, label LBL_13, label LBL_1 LBL_1: %1 = ptrtoint i64* %arg1 to i64 store i64 %1, i64* %sv_4, align 8 %2 = add i64 %1, %arg2 %3 = call i64 @FUNC(i64* nonnull %sv_4) %4 = call i64 @FUNC(i64* nonnull %sv_4) %5 = load i64, i64* %sv_4, align 8 %6 = icmp ugt i64 %2, %5 store i64 %5, i64* %.reg2mem store i64 0, i64* %sv_0.0.ph17.reg2mem store i64 0, i64* %sv_2.1.ph16.reg2mem store i64 0, i64* %sv_1.0.ph15.reg2mem store i64 0, i64* %sv_2.1.ph.lcssa.reg2mem store i64 0, i64* %sv_1.0.lcssa.reg2mem store i64 0, i64* %sv_0.0.lcssa.reg2mem store i64 %5, i64* %.lcssa.reg2mem br i1 %6, label LBL_2, label LBL_10 LBL_2: %sv_1.0.ph15.reload = load i64, i64* %sv_1.0.ph15.reg2mem %sv_2.1.ph16.reload = load i64, i64* %sv_2.1.ph16.reg2mem %sv_0.0.ph17.reload = load i64, i64* %sv_0.0.ph17.reg2mem %.reload = load i64, i64* %.reg2mem store i64 %.reload, i64* %.reg2mem68 store i64 %sv_0.0.ph17.reload, i64* %sv_0.07.reg2mem store i64 %sv_1.0.ph15.reload, i64* %sv_1.06.reg2mem br label LBL_3 LBL_3: %sv_1.06.reload = load i64, i64* %sv_1.06.reg2mem %sv_0.07.reload = load i64, i64* %sv_0.07.reg2mem %.reload69 = load i64, i64* %.reg2mem68 %7 = add i64 %.reload69, 1 store i64 %7, i64* %sv_4, align 8 %8 = inttoptr i64 %.reload69 to i8* %9 = load i8, i8* %8, align 1 %10 = sext i8 %9 to i32 %11 = icmp slt i8 %9, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_9, label LBL_4 LBL_4: %13 = urem i32 %10, 2 %14 = icmp eq i32 %13, 0 %15 = add i64 %.reload69, 2 %16 = select i1 %14, i64 %7, i64 %15 %17 = and i32 %10, 2 %18 = icmp ne i32 %17, 0 %19 = zext i1 %18 to i64 %spec.select34 = add i64 %16, %19 %20 = and i32 %10, 4 %21 = icmp ne i32 %20, 0 %22 = zext i1 %21 to i64 %spec.select35 = add i64 %spec.select34, %22 %23 = and i32 %10, 8 %24 = icmp ne i32 %23, 0 %25 = zext i1 %24 to i64 %spec.select36 = add i64 %spec.select35, %25 %26 = urem i32 %10, 16 %27 = icmp eq i32 %26, 0 br i1 %27, label %29, label %28 LBL_5: %32 = add i64 %spec.select36, 1 store i64 %32, i64* %sv_4, align 8 %33 = inttoptr i64 %spec.select36 to i8* %34 = load i8, i8* %33, align 1 %35 = zext i8 %34 to i64 store i64 %32, i64* %.reg2mem70 store i64 %35, i64* %sv_3.0.reg2mem br label LBL_6 LBL_6: %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem %.reload71 = load i64, i64* %.reg2mem70 %36 = and i32 %10, 32 %37 = icmp eq i32 %36, 0 store i64 %.reload71, i64* %.reg2mem72 store i64 %sv_3.0.reload, i64* %sv_3.1.reg2mem br i1 %37, label LBL_8, label LBL_7 LBL_7: %38 = add i64 %.reload71, 1 store i64 %38, i64* %sv_4, align 8 %39 = inttoptr i64 %.reload71 to i8* %40 = load i8, i8* %39, align 1 %41 = zext i8 %40 to i64 %42 = mul i64 %41, 256 %43 = or i64 %42, %sv_3.0.reload store i64 %38, i64* %.reg2mem72 store i64 %43, i64* %sv_3.1.reg2mem br label LBL_8 LBL_8: %sv_3.1.reload = load i64, i64* %sv_3.1.reg2mem %.reload73 = load i64, i64* %.reg2mem72 %44 = icmp eq i64 %sv_3.1.reload, 0 %45 = icmp eq i1 %44, false %spec.select = select i1 %45, i64 %sv_3.1.reload, i64 65536 %46 = and i32 %10, 64 %47 = icmp eq i32 %46, 0 %48 = icmp eq i1 %47, false %49 = select i1 %48, i64 0, i64 %spec.select %sv_2.0 = add i64 %49, %sv_2.1.ph16.reload %50 = add i64 %spec.select, %sv_1.06.reload %51 = icmp ugt i64 %2, %.reload73 store i64 %.reload73, i64* %.reg2mem store i64 %sv_0.07.reload, i64* %sv_0.0.ph17.reg2mem store i64 %sv_2.0, i64* %sv_2.1.ph16.reg2mem store i64 %50, i64* %sv_1.0.ph15.reg2mem store i64 %sv_2.0, i64* %sv_2.1.ph.lcssa.reg2mem store i64 %50, i64* %sv_1.0.lcssa.reg2mem store i64 %sv_0.07.reload, i64* %sv_0.0.lcssa.reg2mem store i64 %.reload73, i64* %.lcssa.reg2mem br i1 %51, label LBL_2, label LBL_10 LBL_9: %52 = urem i32 %10, 256 %53 = zext i32 %52 to i64 %54 = add i64 %sv_0.07.reload, %53 %55 = add i64 %sv_1.06.reload, %53 %56 = add i64 %7, %53 store i64 %56, i64* %sv_4, align 8 %57 = icmp ugt i64 %2, %56 store i64 %56, i64* %.reg2mem68 store i64 %54, i64* %sv_0.07.reg2mem store i64 %55, i64* %sv_1.06.reg2mem store i64 %sv_2.1.ph16.reload, i64* %sv_2.1.ph.lcssa.reg2mem store i64 %55, i64* %sv_1.0.lcssa.reg2mem store i64 %54, i64* %sv_0.0.lcssa.reg2mem store i64 %56, i64* %.lcssa.reg2mem br i1 %57, label LBL_3, label LBL_10 LBL_10: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %sv_1.0.lcssa.reload = load i64, i64* %sv_1.0.lcssa.reg2mem %58 = icmp eq i64 %2, %.lcssa.reload %59 = icmp eq i64 %sv_1.0.lcssa.reload, %4 %or.cond = icmp eq i1 %59, %58 store i64 4294967295, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_11, label LBL_13 LBL_11: %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem %sv_2.1.ph.lcssa.reload = load i64, i64* %sv_2.1.ph.lcssa.reg2mem %60 = add i64 %sv_0.0.lcssa.reload, %3 %61 = icmp ugt i64 %sv_2.1.ph.lcssa.reload, %60 store i64 0, i64* %rax.0.reg2mem br i1 %61, label LBL_13, label LBL_12 LBL_12: %62 = sub i64 %3, %sv_2.1.ph.lcssa.reload %63 = add i64 %62, %sv_0.0.lcssa.reload store i64 %63, i64* %rax.0.reg2mem br label LBL_13 LBL_13: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_2.1.ph.lcssa.reload, { 1, 0 } uselistorder i64 %.reload73, { 0, 2, 1 } uselistorder i64 %sv_3.1.reload, { 1, 0 } uselistorder i64 %.reload71, { 2, 1, 0 } uselistorder i64 %sv_3.0.reload, { 1, 0 } uselistorder i64 %spec.select36, { 2, 3, 0, 1 } uselistorder i32 %10, { 0, 3, 4, 5, 1, 6, 7, 8, 2 } uselistorder i64 %7, { 1, 0, 2 } uselistorder i64 %.reload69, { 2, 0, 1 } uselistorder i64 %sv_0.07.reload, { 1, 0, 2 } uselistorder i64 %2, { 3, 2, 1, 0 } uselistorder i64* %sv_4, { 4, 5, 6, 0, 7, 1, 2, 3, 8 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.0.ph17.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_2.1.ph16.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.0.ph15.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem68, { 1, 0, 2 } uselistorder i64* %sv_0.07.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.06.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.1.ph.lcssa.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %sv_1.0.lcssa.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %sv_0.0.lcssa.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %.lcssa.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i32 16, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 0, 4, 5, 6, 7 } uselistorder i32 2, { 1, 0 } uselistorder i64 (i64*)* @get_hdr_size, { 1, 0 } uselistorder label LBL_13, { 3, 0, 1, 2 } uselistorder label LBL_10, { 1, 0, 2 } uselistorder label %29, { 1, 0 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
nfc_dev_up_12508
nfc_dev_up
define i64 @FUNC(i8* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %.reg2mem13 = alloca i8* %.reg2mem11 = alloca i8* %.reg2mem9 = alloca i64 %.reg2mem = alloca i8* %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = load i64, i64* %0 %6 = ptrtoint i8* %arg1 to i64 %7 = call i64 @FUNC(i64 %6) %8 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i64 %7, i64 %4, i64 %5, i64 %2, i64 %1) %9 = call i64 @FUNC(i64 %6) %10 = add i64 %6, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = icmp eq i64 %12, 0 br i1 %13, label LBL_2, label LBL_1 LBL_1: %14 = call i64 @FUNC(i64 %12) %15 = trunc i64 %14 to i8 %16 = icmp eq i8 %15, 0 store i8* inttoptr (i32 1 to i8*), i8** %.reg2mem13 br i1 %16, label LBL_2, label LBL_10 LBL_2: %17 = call i64 @FUNC(i64 %6) %18 = trunc i64 %17 to i8 %19 = icmp eq i8 %18, 1 store i8* inttoptr (i32 2 to i8*), i8** %.reg2mem13 br i1 %19, label LBL_3, label LBL_10 LBL_3: %20 = add i64 %6, 1 %21 = inttoptr i64 %20 to i8* %22 = load i8, i8* %21, align 1 %23 = icmp eq i8 %22, 0 store i8* inttoptr (i32 3 to i8*), i8** %.reg2mem13 br i1 %23, label LBL_4, label LBL_10 LBL_4: %24 = trunc i64 %3 to i8 %25 = icmp eq i8 %24, 0 store i8* inttoptr (i32 4 to i8*), i8** %.reg2mem13 br i1 %25, label LBL_5, label LBL_10 LBL_5: %26 = add i64 %6, 16 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = icmp eq i64 %30, 0 %.pre8 = trunc i64 %6 to i32 store i8* null, i8** %.reg2mem br i1 %31, label LBL_7, label LBL_6 LBL_6: %phitmp5 = icmp eq i32 %.pre8, 0 %phitmp6 = icmp eq i1 %phitmp5, false store i8* %arg1, i8** %.reg2mem store i64 %28, i64* %.reg2mem9 store i8* %arg1, i8** %.reg2mem11 br i1 %phitmp6, label LBL_8, label LBL_7 LBL_7: %.reload = load i8*, i8** %.reg2mem store i8 1, i8* %arg1, align 1 %.pre = load i64, i64* %27, align 8 store i64 %.pre, i64* %.reg2mem9 store i8* %.reload, i8** %.reg2mem11 br label LBL_8 LBL_8: %.reload12 = load i8*, i8** %.reg2mem11 %.reload10 = load i64, i64* %.reg2mem9 %32 = add i64 %.reload10, 8 %33 = inttoptr i64 %32 to i64* %34 = load i64, i64* %33, align 8 %35 = icmp eq i64 %34, 0 %36 = icmp eq i32 %.pre8, 0 %or.cond = or i1 %36, %35 store i8* %.reload12, i8** %.reg2mem13 br i1 %or.cond, label LBL_10, label LBL_9 LBL_9: %37 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i64 %7, i64 %34, i64 %5, i64 %2, i64 %1) store i8* %.reload12, i8** %.reg2mem13 br label LBL_10 LBL_10: %.reload14 = load i8*, i8** %.reg2mem13 %38 = call i64 @FUNC(i64 %6) %39 = ptrtoint i8* %.reload14 to i64 %40 = and i64 %39, 4294967295 ret i64 %40 uselistorder i64 %6, { 1, 0, 3, 2, 4, 5, 6, 7 } uselistorder i8** %.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem9, { 0, 2, 1 } uselistorder i8** %.reg2mem11, { 0, 2, 1 } uselistorder i8** %.reg2mem13, { 0, 5, 6, 1, 2, 3, 4 } uselistorder i64* %0, { 4, 3, 2, 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i8 1, { 1, 0 } uselistorder i8* %arg1, { 2, 0, 1, 3 } uselistorder label LBL_10, { 5, 4, 0, 1, 2, 3 } uselistorder label LBL_7, { 1, 0 } }
1
BinRealVul
gen_vfp_mrs_1290
gen_vfp_mrs
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i64 @FUNC() %1 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4 %2 = zext i32 %1 to i64 %3 = and i64 %0, 4294967295 %4 = call i64 @FUNC(i64 %3, i64 %2) ret i64 %3 }
0
BinRealVul
init_proc_750cx_14515
init_proc_750cx
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 = call i64 @FUNC(i64 %0, i64 1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 0, i64 0, i64 4198735) %4 = call i64 @FUNC(i64 %0) %5 = call i64 @FUNC(i64 %0) %6 = call i64 @FUNC(i64 %0, i64 2, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i64 0, i64 0, i64 4198735) %7 = call i64 @FUNC(i64 %0, i64 3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0), i64 0, i64 0, i64 4198735) %8 = call i64 @FUNC(i64 %0, i64 4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0), i64 0, i64 0, i64 4198735) %9 = call i64 @FUNC(i64 %0) %10 = call i64 @FUNC(i64 %0) %11 = call i64 @FUNC(i64 %0) %12 = bitcast i64* %arg1 to i32* store i32 32, i32* %12, align 4 %13 = add i64 %0, 4 %14 = inttoptr i64 %13 to i32* store i32 32, i32* %14, align 4 %15 = call i64 @FUNC(i64 %0) ret i64 %15 uselistorder i64 %0, { 6, 5, 4, 3, 2, 1, 0, 7, 8, 9, 10, 11, 12 } uselistorder i64 4, { 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @spr_register, { 3, 2, 1, 0 } }
1
BinRealVul
iio_channel_get_3906
iio_channel_get
define i64 @FUNC(i8* %arg1, i8* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge5.reg2mem = alloca i64 %0 = icmp eq i8* %arg1, null %1 = icmp eq i8* %arg2, null %2 = icmp eq i1 %0, %1 store i64 -19, i64* %rax.0.reg2mem br i1 %2, label LBL_12, label LBL_1 LBL_1: %3 = call i64 @FUNC(i64* nonnull @gv_0) store i64 ptrtoint (i64* @gv_1 to i64), i64* %storemerge5.reg2mem br label LBL_2 LBL_2: %storemerge5.reload = load i64, i64* %storemerge5.reg2mem br i1 %0, label LBL_4, label LBL_3 LBL_3: %4 = inttoptr i64 %storemerge5.reload to i64* %5 = load i64, i64* %4, align 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = inttoptr i64 %7 to i8* %9 = call i32 @strcmp(i8* nonnull %arg1, i8* %8) %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_6, label LBL_4 LBL_4: br i1 %1, label LBL_8, label LBL_5 LBL_5: %12 = inttoptr i64 %storemerge5.reload to i64* %13 = load i64, i64* %12, align 8 %14 = add i64 %13, 8 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = inttoptr i64 %16 to i8* %18 = call i32 @strcmp(i8* nonnull %arg2, i8* %17) %19 = icmp eq i32 %18, 0 %20 = icmp eq i1 %19, false br i1 %20, label LBL_6, label LBL_8 LBL_6: %21 = add i64 %storemerge5.reload, 16 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = icmp eq i64 %23, 0 %25 = icmp eq i1 %24, false store i64 %23, i64* %storemerge5.reg2mem br i1 %25, label LBL_2, label LBL_7 LBL_7: %26 = call i64 @FUNC(i64* nonnull @gv_0) store i64 -19, i64* %rax.0.reg2mem br label LBL_12 LBL_8: %27 = add i64 %storemerge5.reload, 8 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = call i64 @FUNC(i64 %29) %31 = call i64 @FUNC(i64* nonnull @gv_0) %32 = icmp eq i64 %storemerge5.reload, 0 %33 = icmp eq i1 %32, false store i64 -19, i64* %rax.0.reg2mem br i1 %33, label LBL_9, label LBL_12 LBL_9: %34 = call i64 @FUNC(i64 16, i64 0) %35 = icmp eq i64 %34, 0 %36 = icmp eq i1 %35, false store i64 -12, i64* %rax.0.reg2mem br i1 %36, label LBL_10, label LBL_12 LBL_10: %37 = load i64, i64* %28, align 8 %38 = inttoptr i64 %34 to i64* store i64 %37, i64* %38, align 8 %39 = inttoptr i64 %storemerge5.reload to i64* %40 = load i64, i64* %39, align 8 %41 = add i64 %40, 16 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = icmp eq i64 %43, 0 store i64 %34, i64* %rax.0.reg2mem br i1 %44, label LBL_12, label LBL_11 LBL_11: %45 = call i64 @FUNC(i64 %37, i64 %43) %46 = add i64 %34, 8 %47 = inttoptr i64 %46 to i64* store i64 %45, i64* %47, align 8 store i64 %34, 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 %34, { 1, 2, 0, 3, 4 } uselistorder i64 %storemerge5.reload, { 4, 5, 3, 2, 0, 1 } uselistorder i1 %1, { 1, 0 } uselistorder i1 %0, { 1, 0 } uselistorder i64* %storemerge5.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 4, 5, 1, 6 } uselistorder i64 (i64*)* @mutex_unlock, { 1, 0 } uselistorder i64 16, { 1, 0, 2 } uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 } uselistorder i64* @gv_0, { 1, 0, 2 } uselistorder i32 1, { 4, 3, 2, 1, 0 } uselistorder i8* %arg2, { 1, 0 } uselistorder label LBL_12, { 3, 2, 4, 5, 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
array_roll_2405
array_roll
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64* %0 = icmp eq i64* %arg1, null store i64 4294967295, i64* %rax.0.reg2mem br i1 %0, label LBL_9, label LBL_1 LBL_1: %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = trunc i64 %1 to i32 %3 = icmp slt i32 %2, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %3, label LBL_9, label LBL_2 LBL_2: %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 = icmp slt i64 %1, %8 store i64 4294967295, i64* %rax.0.reg2mem br i1 %9, label LBL_3, label LBL_9 LBL_3: %sext4 = mul i64 %arg3, 4294967296 %10 = ashr exact i64 %sext4, 32 %11 = trunc i64 %10 to i32 %12 = icmp sgt i32 %11, -1 %13 = icmp slt i64 %10, %8 %or.cond = icmp eq i1 %12, %13 store i64 4294967295, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_4, label LBL_9 LBL_4: %14 = icmp eq i32 %2, %11 %15 = icmp eq i1 %14, false store i64 0, i64* %rax.0.reg2mem br i1 %15, label LBL_5, label LBL_9 LBL_5: %16 = add i64 %4, 12 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = mul i32 %18, %11 %20 = sext i32 %19 to i64 %21 = add i64 %20, %4 %22 = mul i32 %18, %2 %23 = sext i32 %22 to i64 %24 = add i64 %23, %4 %25 = trunc i64 %arg4 to i32 %26 = mul i32 %18, %25 %27 = sext i32 %26 to i64 %28 = call i64 @FUNC(i64 %27) %29 = inttoptr i64 %28 to i64* %30 = inttoptr i64 %21 to i64* %31 = call i64* @memcpy(i64* %29, i64* %30, i32 %26) %32 = icmp slt i32 %2, %11 br i1 %32, label LBL_6, label LBL_7 LBL_6: %33 = sub i64 %21, %24 %34 = add i64 %24, %27 %35 = inttoptr i64 %34 to i64* %36 = inttoptr i64 %24 to i64* %37 = trunc i64 %33 to i32 %38 = call i64* @memmove(i64* %35, i64* %36, i32 %37) store i64* %36, i64** %.pre-phi.reg2mem br label LBL_8 LBL_7: %39 = sub i64 %24, %21 %40 = add i64 %21, %27 %41 = inttoptr i64 %40 to i64* %42 = trunc i64 %39 to i32 %43 = call i64* @memmove(i64* %30, i64* %41, i32 %42) %.pre = inttoptr i64 %24 to i64* store i64* %.pre, i64** %.pre-phi.reg2mem br label LBL_8 LBL_8: %.pre-phi.reload = load i64*, i64** %.pre-phi.reg2mem %44 = call i64* @memcpy(i64* %.pre-phi.reload, i64* %29, i32 %26) %45 = call i64 @FUNC(i64 %28) store i64 0, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %27, { 1, 0, 2 } uselistorder i64 %24, { 1, 2, 4, 0, 3 } uselistorder i32 %11, { 2, 0, 3, 1 } uselistorder i64 %4, { 0, 1, 3, 2 } uselistorder i32 %2, { 1, 0, 2, 3 } uselistorder i64** %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 5, 4, 3, 2 } uselistorder i64* (i64*, i64*, i32)* @memmove, { 1, 0 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 } uselistorder i64 4294967295, { 3, 2, 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_9, { 5, 0, 4, 3, 2, 1 } }
0
BinRealVul
inet_connect_13952
inet_connect
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 = call i64 @FUNC(i64* nonnull @gv_0, i64 0, i64 0, i64 0) %2 = call i64 @FUNC(i64 %1, i64 %arg1) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %1, i64 1, i64 0, i64 %0) %phitmp = and i64 %6, 4294967295 store i64 %phitmp, i64* %sv_0.0.reg2mem br label LBL_3 LBL_2: %7 = call i64 @FUNC(i64 %0, i64 1) store i64 4294967295, i64* %sv_0.0.reg2mem br label LBL_3 LBL_3: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %8 = call i64 @FUNC(i64 %1) ret i64 %sv_0.0.reload uselistorder i64 %1, { 1, 0, 2 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64 1, { 1, 2, 0 } uselistorder i32 0, { 1, 0 } }
1
BinRealVul
mips_cpu_gdb_write_register_691
mips_cpu_gdb_write_register
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i128 %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i128 %1 = load i128, i128* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = icmp sgt i32 %arg3, 31 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = sext i32 %arg3 to i64 %6 = mul i64 %5, 8 %7 = add i64 %3, 32 %8 = add i64 %7, %6 %9 = inttoptr i64 %8 to i64* store i64 %2, i64* %9, align 8 store i64 8, i64* %rax.0.reg2mem br label LBL_22 LBL_2: %10 = add i64 %3, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = urem i64 %12, 2 %14 = icmp eq i64 %13, 0 %arg3.off = add i32 %arg3, -38 %15 = icmp ugt i32 %arg3.off, 33 %16 = or i1 %15, %14 br i1 %16, label LBL_13, label LBL_3 LBL_3: %17 = icmp sgt i32 %arg3, 69 br i1 %17, label LBL_10, label LBL_4 LBL_4: %18 = urem i64 %3, 2 %19 = icmp eq i64 %18, 0 br i1 %19, label LBL_9, label LBL_5 LBL_5: %20 = icmp slt i64* %arg2, null br i1 %20, label LBL_7, label LBL_6 LBL_6: %21 = call i128 @FUNC(i128 %1, i128 %1) %22 = call i128 @FUNC(i64 %2) store i128 %22, i128* %storemerge.reg2mem br label LBL_8 LBL_7: %23 = udiv i64 %2, 2 %24 = urem i64 %2, 2 %25 = or i64 %23, %24 %26 = call i128 @FUNC(i128 %1, i128 %1) %27 = call i128 @FUNC(i64 %25) %28 = call i128 @FUNC(i128 %27, i128 %27) store i128 %28, i128* %storemerge.reg2mem br label LBL_8 LBL_8: %29 = zext i32 %arg3.off to i64 %storemerge.reload = load i128, i128* %storemerge.reg2mem %sext = mul i64 %29, 4294967296 %30 = ashr exact i64 %sext, 28 %31 = add i64 %3, 328 %32 = add i64 %31, %30 %33 = call i64 @FUNC(i128 %storemerge.reload) %34 = inttoptr i64 %32 to i64* store i64 %33, i64* %34, align 8 br label LBL_10 LBL_9: %35 = trunc i64 %2 to i32 %36 = sext i32 %arg3.off to i64 %37 = mul i64 %36, 16 %38 = add i64 %3, 336 %39 = add i64 %38, %37 %40 = inttoptr i64 %39 to i32* store i32 %35, i32* %40, align 4 br label LBL_10 LBL_10: store i64 8, i64* %rax.0.reg2mem switch i32 %arg3, label LBL_22 [ i32 70, label LBL_11 i32 71, label LBL_12 ] LBL_11: %41 = and i64 %2, 4286840831 %42 = add i64 %3, 312 %43 = inttoptr i64 %42 to i64* store i64 %41, i64* %43, align 8 store i64 8, i64* %rax.0.reg2mem br label LBL_22 LBL_12: %44 = add i64 %3, 320 %45 = inttoptr i64 %44 to i64* store i64 %2, i64* %45, align 8 store i64 8, i64* %rax.0.reg2mem br label LBL_22 LBL_13: %46 = add i32 %arg3, -32 %47 = zext i32 %46 to i64 store i64 %47, i64* @0, align 8 switch i32 %arg3, label LBL_20 [ i32 32, label LBL_14 i32 33, label LBL_15 i32 34, label LBL_16 i32 35, label LBL_17 i32 36, label LBL_18 i32 37, label LBL_19 i32 72, label LBL_21 ] LBL_14: store i64 %2, i64* %arg1, align 8 br label LBL_21 LBL_15: %48 = add i64 %3, 288 %49 = inttoptr i64 %48 to i64* store i64 %2, i64* %49, align 8 br label LBL_21 LBL_16: %50 = add i64 %3, 296 %51 = inttoptr i64 %50 to i64* store i64 %2, i64* %51, align 8 br label LBL_21 LBL_17: %52 = add i64 %3, 16 %53 = inttoptr i64 %52 to i64* store i64 %2, i64* %53, align 8 br label LBL_21 LBL_18: %54 = add i64 %3, 24 %55 = inttoptr i64 %54 to i64* store i64 %2, i64* %55, align 8 br label LBL_21 LBL_19: %56 = and i64 %2, -2 %57 = add i64 %3, 304 %58 = inttoptr i64 %57 to i64* store i64 %56, i64* %58, align 8 br label LBL_21 LBL_20: %59 = icmp slt i32 %arg3, 90 store i64 0, i64* %rax.0.reg2mem br i1 %59, label LBL_21, label LBL_22 LBL_21: store i64 8, i64* %rax.0.reg2mem br label LBL_22 LBL_22: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i128 %27, { 1, 0 } uselistorder i64 %3, { 10, 9, 8, 7, 6, 4, 5, 1, 2, 0, 11, 3 } uselistorder i64 %2, { 10, 9, 8, 7, 6, 5, 3, 4, 12, 1, 0, 2, 11 } uselistorder i128* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 3, 2, 4, 5 } uselistorder i64 16, { 1, 0 } uselistorder i64 2, { 1, 0, 2, 3 } uselistorder i64 8, { 4, 1, 0, 2, 6, 3, 5 } uselistorder i32 %arg3, { 4, 1, 6, 0, 5, 2, 3, 7 } uselistorder label LBL_22, { 4, 0, 2, 1, 3, 5 } uselistorder label LBL_21, { 0, 2, 3, 4, 5, 6, 7, 1 } }
0
BinRealVul
mmio_interface_realize_16310
mmio_interface_realize
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rdi.1.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = add i64 %1, 16 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = add i64 %1, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = trunc i64 %1 to i32 %9 = trunc i64 %7 to i32 %10 = inttoptr i64 %4 to i64* %11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_0, i64 0, i64 0), i32 %8, i32 %9, i64* %10) %12 = load i64, i64* %3, align 8 %13 = icmp eq i64 %12, 0 %14 = icmp eq i1 %13, false store i64 ptrtoint ([49 x i8]* @gv_0 to i64), i64* %rdi.0.reg2mem br i1 %14, label LBL_2, label LBL_1 LBL_1: %15 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_1, i64 0, i64 0)) store i64 %0, i64* %rdi.0.reg2mem br label LBL_2 LBL_2: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %16 = add i64 %1, 24 %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 store i64 %rdi.0.reload, i64* %rdi.1.reg2mem br i1 %20, label LBL_4, label LBL_3 LBL_3: %21 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_2, i64 0, i64 0)) store i64 %0, i64* %rdi.1.reg2mem br label LBL_4 LBL_4: %rdi.1.reload = load i64, i64* %rdi.1.reg2mem %22 = load i64, i64* %3, align 8 %23 = load i64, i64* %6, align 8 %24 = sub i64 1, %rdi.1.reload %25 = add i64 %24, %23 %26 = call i64 @FUNC(i64 %1) %27 = add i64 %1, 40 %28 = call i64 @FUNC(i64 %27, i64 %26, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0), i64 %25, i64 %22) %29 = add i64 %1, 32 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = zext i32 %31 to i64 %33 = call i64 @FUNC(i64 %27, i64 %32) %34 = load i64, i64* %17, align 8 %35 = call i64 @FUNC(i64 %34, i64 %27, i64 %27) ret i64 %35 uselistorder i64 %27, { 2, 1, 0, 3 } uselistorder i64 %0, { 0, 3, 1, 2 } uselistorder i64 (i64, i8*)* @error_setg, { 1, 0 } uselistorder [49 x i8]* @gv_0, { 1, 0 } }
1
BinRealVul
jshPinFunctionToString_13344
jshPinFunctionToString
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %rax.1.reg2mem = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.010.reg2mem = alloca i8* %sv_1.011.reg2mem = alloca i8* %.reg2mem = alloca i64 %sv_1.0.ph.reg2mem = alloca i8* %sv_2.0.ph.reg2mem = alloca i32 %sv_0.0.ph.reg2mem = alloca i8* %sv_3 = alloca i64, align 8 %0 = trunc i64 %arg1 to i32 %1 = bitcast i64* %arg3 to i8* store i8 0, i8* %1, align 1 %.off14 = add i32 %0, -9 %2 = icmp ult i32 %.off14, 3 br i1 %2, label LBL_7, label LBL_1 LBL_1: %.off = add i32 %0, -12 %3 = icmp ult i32 %.off, 3 store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8** %sv_0.0.ph.reg2mem store i32 1, i32* %sv_2.0.ph.reg2mem store i8* null, i8** %sv_1.0.ph.reg2mem br i1 %3, label LBL_6, label LBL_2 LBL_2: %.off12 = add i32 %0, -15 %4 = icmp ult i32 %.off12, 2 store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i8** %sv_0.0.ph.reg2mem store i32 2, i32* %sv_2.0.ph.reg2mem store i8* null, i8** %sv_1.0.ph.reg2mem br i1 %4, label LBL_6, label LBL_3 LBL_3: %.off13 = add i32 %0, -17 %5 = icmp ult i32 %.off13, 2 store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0), i8** %sv_0.0.ph.reg2mem store i32 3, i32* %sv_2.0.ph.reg2mem store i8* null, i8** %sv_1.0.ph.reg2mem br i1 %5, label LBL_6, label LBL_4 LBL_4: %6 = icmp eq i32 %0, 19 %7 = icmp eq i1 %6, false store i8* bitcast (i8** @gv_3 to i8*), i8** %sv_0.0.ph.reg2mem store i32 0, i32* %sv_2.0.ph.reg2mem store i8* null, i8** %sv_1.0.ph.reg2mem br i1 %7, label LBL_6, label LBL_5 LBL_5: %8 = bitcast i64* %sv_3 to i8* store i64 67, i64* %sv_3, align 8 store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_4, i64 0, i64 0), i8** %sv_0.0.ph.reg2mem store i32 4, i32* %sv_2.0.ph.reg2mem store i8* %8, i8** %sv_1.0.ph.reg2mem br label LBL_6 LBL_6: %sv_1.0.ph.reload = load i8*, i8** %sv_1.0.ph.reg2mem %sv_2.0.ph.reload = load i32, i32* %sv_2.0.ph.reg2mem %sv_0.0.ph.reload = load i8*, i8** %sv_0.0.ph.reg2mem %9 = and i32 %0, 240 %10 = sub nsw i32 %9, %sv_2.0.ph.reload %11 = udiv i32 %10, 256 %12 = add nuw nsw i32 %11, 1 %phitmp = zext i32 %12 to i64 store i64 %phitmp, i64* %.reg2mem store i8* %sv_1.0.ph.reload, i8** %sv_1.011.reg2mem store i8* %sv_0.0.ph.reload, i8** %sv_0.010.reg2mem br label LBL_8 LBL_7: %13 = urem i64 %arg2, 2 %14 = icmp eq i64 %13, 0 %. = select i1 %14, i64 ptrtoint ([6 x i8]* @gv_5 to i64), i64 ptrtoint ([7 x i8]* @gv_6 to i64) %15 = inttoptr i64 %. to i8* store i64 1, i64* %.reg2mem store i8* null, i8** %sv_1.011.reg2mem store i8* %15, i8** %sv_0.010.reg2mem br label LBL_8 LBL_8: %sv_1.011.reload = load i8*, i8** %sv_1.011.reg2mem %.reload = load i64, i64* %.reg2mem %16 = and i64 %arg2, 2 %17 = icmp eq i64 %16, 0 br i1 %17, label LBL_10, label LBL_9 LBL_9: %sv_0.010.reload = load i8*, i8** %sv_0.010.reg2mem %18 = trunc i64 %arg4 to i32 %19 = call i8* @strncat(i8* %1, i8* %sv_0.010.reload, i32 %18) br label LBL_10 LBL_10: %20 = and i64 %arg2, 4 %21 = icmp eq i64 %20, 0 br i1 %21, label LBL_12, label LBL_11 LBL_11: %22 = ptrtoint i64* %arg3 to i64 %23 = call i32 @strlen(i8* %1) %24 = sext i32 %23 to i64 %25 = add i64 %24, %22 %26 = call i64 @FUNC(i64 %.reload, i64 %25, i64 10) br label LBL_12 LBL_12: %27 = and i64 %arg2, 8 %28 = icmp eq i64 %27, 0 store i64 0, i64* %rax.0.reg2mem br i1 %28, label LBL_14, label LBL_13 LBL_13: %29 = trunc i64 %arg4 to i32 %30 = call i8* @strncat(i8* %1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_7, i64 0, i64 0), i32 %29) %31 = ptrtoint i8* %30 to i64 store i64 %31, i64* %rax.0.reg2mem br label LBL_14 LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem %32 = icmp eq i8* %sv_1.011.reload, null store i64 %rax.0.reload, i64* %rax.1.reg2mem br i1 %32, label LBL_17, label LBL_15 LBL_15: %33 = and i64 %arg2, 16 %34 = icmp eq i64 %33, 0 store i64 0, i64* %rax.1.reg2mem br i1 %34, label LBL_17, label LBL_16 LBL_16: %35 = trunc i64 %arg4 to i32 %36 = call i8* @strncat(i8* %1, i8* nonnull %sv_1.011.reload, i32 %35) %37 = ptrtoint i8* %36 to i64 store i64 %37, i64* %rax.1.reg2mem br label LBL_17 LBL_17: %rax.1.reload = load i64, i64* %rax.1.reg2mem ret i64 %rax.1.reload uselistorder i8* %sv_1.011.reload, { 1, 0 } uselistorder i8* %1, { 3, 2, 1, 0, 4 } uselistorder i32 %0, { 2, 1, 5, 4, 3, 0 } uselistorder i64* %sv_3, { 1, 0 } uselistorder i8** %sv_0.0.ph.reg2mem, { 0, 2, 1, 5, 4, 3 } uselistorder i32* %sv_2.0.ph.reg2mem, { 0, 2, 1, 5, 4, 3 } uselistorder i8** %sv_1.0.ph.reg2mem, { 0, 2, 1, 5, 4, 3 } uselistorder i8* (i8*, i8*, i32)* @strncat, { 0, 2, 1 } uselistorder i64 2, { 1, 0 } uselistorder i32 2, { 1, 0, 2 } uselistorder i8* null, { 5, 0, 1, 4, 3, 2 } uselistorder i32 3, { 0, 2, 1 } uselistorder i64 %arg4, { 2, 1, 0 } uselistorder i64* %arg3, { 1, 0 } uselistorder i64 %arg2, { 1, 2, 3, 4, 0 } uselistorder label LBL_6, { 1, 0, 4, 3, 2 } }
1
BinRealVul
xps_select_best_font_encoding_11266
xps_select_best_font_encoding
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge3.reg2mem = alloca i64 %storemerge8.reg2mem = alloca i32 %.reg2mem12 = alloca i64 %.reg2mem = alloca i32* %storemerge46.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %sv_1 = alloca i32, align 4 %1 = call i64 @FUNC(i64 %0) %2 = load i32, i32* bitcast (i32** @gv_0 to i32*), align 8 %3 = icmp eq i32 %2, -1 %4 = icmp eq i1 %3, false br i1 %4, label LBL_1, label LBL_9 LBL_1: %5 = trunc i64 %1 to i32 %6 = icmp sgt i32 %5, 0 %7 = bitcast i32* %sv_0 to i64* %8 = bitcast i32* %sv_1 to i64* store i32* bitcast (i32** @gv_0 to i32*), i32** %.reg2mem store i64 0, i64* %.reg2mem12 store i32 0, i32* %storemerge8.reg2mem br label LBL_7 LBL_2: %storemerge46.reload = load i32, i32* %storemerge46.reg2mem %9 = call i64 @FUNC(i64 %0, i32 %storemerge46.reload, i64* nonnull %7, i64* nonnull %8) %10 = load i32, i32* %.reload, align 8 %11 = load i32, i32* %sv_0, align 4 %12 = icmp eq i32 %10, %11 %13 = icmp eq i1 %12, false br i1 %13, label LBL_5, label LBL_3 LBL_3: %14 = load i32, i32* %31, align 8 %15 = load i32, i32* %sv_1, align 4 %16 = icmp eq i32 %14, %15 %17 = icmp eq i1 %16, false br i1 %17, label LBL_5, label LBL_4 LBL_4: %18 = zext i32 %storemerge46.reload to i64 %19 = call i64 @FUNC(i64 %0, i64 %18) store i64 %19, i64* %storemerge3.reg2mem br label LBL_10 LBL_5: %20 = add nuw nsw i32 %storemerge46.reload, 1 %21 = icmp slt i32 %20, %5 store i32 %20, i32* %storemerge46.reg2mem br i1 %21, label LBL_2, label LBL_6 LBL_6: %22 = add i32 %storemerge8.reload, 1 %23 = sext i32 %22 to i64 %24 = mul i64 %23, 8 %25 = add i64 %24, ptrtoint (i32** @gv_0 to i64) %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 8 %28 = icmp eq i32 %27, -1 %29 = icmp eq i1 %28, false store i32* %26, i32** %.reg2mem store i64 %24, i64* %.reg2mem12 store i32 %22, i32* %storemerge8.reg2mem br i1 %29, label LBL_7, label LBL_9 LBL_7: %storemerge8.reload = load i32, i32* %storemerge8.reg2mem br i1 %6, label LBL_2.lr.ph, label LBL_6 LBL_8: %.reload13 = load i64, i64* %.reg2mem12 %.reload = load i32*, i32** %.reg2mem %30 = add i64 %.reload13, ptrtoint (i32** @gv_1 to i64) %31 = inttoptr i64 %30 to i32* store i32 0, i32* %storemerge46.reg2mem br label LBL_2 LBL_9: %32 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_2, i64 0, i64 0)) store i64 %32, i64* %storemerge3.reg2mem br label LBL_10 LBL_10: %storemerge3.reload = load i64, i64* %storemerge3.reg2mem ret i64 %storemerge3.reload uselistorder i32 %storemerge46.reload, { 1, 2, 0 } uselistorder i32 %5, { 1, 0 } uselistorder i32* %storemerge46.reg2mem, { 2, 1, 0 } uselistorder i32 0, { 1, 0, 2 } uselistorder i1 false, { 3, 1, 2, 0 } uselistorder i32 -1, { 1, 0, 2, 3 } uselistorder i32** @gv_0, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
fw_cfg_bootsplash_2629
fw_cfg_bootsplash
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0)) ret i64 %0 }
0
BinRealVul
read_tree_1931
read_tree
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.3.reg2mem = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i64 %storemerge59.reg2mem = alloca i32 %sv_0.010.reg2mem = alloca i64 %sv_1.011.reg2mem = alloca i64 %storemerge412.reg2mem = alloca i32 %storemerge613.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %rax.1.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i32 %sv_2.114.reg2mem = alloca i32 %storemerge115.reg2mem = alloca i32 %indvars.iv24.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %.pre-phi31.reg2mem = alloca i64 %storemerge218.reg2mem = alloca i32 %storemerge20.reg2mem = alloca i32 %indvars.iv26.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %sv_5 = alloca i64, align 8 %4 = call i64 @FUNC(i64 %3, i64 4) %5 = trunc i64 %4 to i32 %6 = bitcast i64* %arg2 to i32* store i32 %5, i32* %6, align 4 %7 = trunc i64 %1 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_3, label LBL_1 LBL_1: %10 = add i64 %2, 4 store i64 0, i64* %indvars.iv26.reg2mem store i32 0, i32* %storemerge20.reg2mem br label LBL_2 LBL_2: %storemerge20.reload = load i32, i32* %storemerge20.reg2mem %indvars.iv26.reload = load i64, i64* %indvars.iv26.reg2mem %11 = trunc i32 %storemerge20.reload to i8 %12 = add i64 %10, %indvars.iv26.reload %13 = inttoptr i64 %12 to i8* store i8 %11, i8* %13, align 1 %indvars.iv.next27 = add nuw nsw i64 %indvars.iv26.reload, 1 %14 = add nuw nsw i32 %storemerge20.reload, 1 %exitcond28 = icmp eq i64 %indvars.iv.next27, 16 store i64 %indvars.iv.next27, i64* %indvars.iv26.reg2mem store i32 %14, i32* %storemerge20.reg2mem store i64 15, i64* %rax.3.reg2mem br i1 %exitcond28, label LBL_20, label LBL_2 LBL_3: %15 = call i64 @FUNC(i64 %3) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 br i1 %17, label LBL_13, label LBL_4 LBL_4: %18 = ptrtoint i64* %sv_5 to i64 %19 = call i64 @FUNC(i64 %3, i64 3) %20 = trunc i64 %19 to i32 %21 = call i64* @memset(i64* nonnull %sv_4, i32 0, i32 16) %22 = icmp slt i32 %20, 0 br i1 %22, label LBL_4.LBL_9_crit_edge, label LBL_6 LBL_5: %.pre = add i64 %18, -64 %.pre30 = add i64 %2, 4 store i64 %.pre30, i64* %.pre-phi31.reg2mem store i64 %.pre, i64* %.pre-phi.reg2mem br label LBL_9 LBL_6: %23 = add i64 %2, 4 %24 = add i64 %18, -64 store i32 0, i32* %storemerge218.reg2mem br label LBL_7 LBL_7: %storemerge218.reload = load i32, i32* %storemerge218.reg2mem %25 = call i64 @FUNC(i64 %3, i64 4) %26 = sext i32 %storemerge218.reload to i64 %27 = trunc i64 %25 to i8 %28 = add i64 %23, %26 %29 = inttoptr i64 %28 to i8* store i8 %27, i8* %29, align 1 %30 = urem i64 %25, 256 %31 = add i64 %24, %30 %32 = inttoptr i64 %31 to i8* store i8 1, i8* %32, align 1 %33 = add i32 %storemerge218.reload, 1 %34 = icmp sgt i32 %33, %20 store i32 %33, i32* %storemerge218.reg2mem br i1 %34, label LBL_8, label LBL_7 LBL_8: %35 = zext i32 %33 to i64 %36 = icmp slt i32 %20, 15 store i64 %23, i64* %.pre-phi31.reg2mem store i64 %24, i64* %.pre-phi.reg2mem store i64 %35, i64* %rax.3.reg2mem br i1 %36, label LBL_9, label LBL_20 LBL_9: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %.pre-phi31.reload = load i64, i64* %.pre-phi31.reg2mem store i64 0, i64* %indvars.iv24.reg2mem store i32 0, i32* %storemerge115.reg2mem store i32 %20, i32* %sv_2.114.reg2mem br label LBL_10 LBL_10: %sv_2.114.reload = load i32, i32* %sv_2.114.reg2mem %storemerge115.reload = load i32, i32* %storemerge115.reg2mem %indvars.iv24.reload = load i64, i64* %indvars.iv24.reg2mem %37 = add i64 %.pre-phi.reload, %indvars.iv24.reload %38 = inttoptr i64 %37 to i8* %39 = load i8, i8* %38, align 1 %40 = zext i8 %39 to i64 %41 = icmp eq i8 %39, 0 %42 = icmp eq i1 %41, false store i32 %sv_2.114.reload, i32* %sv_2.0.reg2mem store i64 %40, i64* %rax.1.reg2mem br i1 %42, label LBL_12, label LBL_11 LBL_11: %43 = add i32 %sv_2.114.reload, 1 %44 = sext i32 %43 to i64 %45 = trunc i32 %storemerge115.reload to i8 %46 = add i64 %.pre-phi31.reload, %44 %47 = inttoptr i64 %46 to i8* store i8 %45, i8* %47, align 1 store i32 %43, i32* %sv_2.0.reg2mem store i64 %44, i64* %rax.1.reg2mem br label LBL_12 LBL_12: %rax.1.reload = load i64, i64* %rax.1.reg2mem %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %indvars.iv.next25 = add nuw nsw i64 %indvars.iv24.reload, 1 %48 = add nuw nsw i32 %storemerge115.reload, 1 %49 = icmp ult i64 %indvars.iv.next25, 16 %50 = icmp slt i32 %sv_2.0.reload, 15 %or.cond = icmp eq i1 %49, %50 store i64 %indvars.iv.next25, i64* %indvars.iv24.reg2mem store i32 %48, i32* %storemerge115.reg2mem store i32 %sv_2.0.reload, i32* %sv_2.114.reg2mem store i64 %rax.1.reload, i64* %rax.3.reg2mem br i1 %or.cond, label LBL_10, label LBL_20 LBL_13: %51 = ptrtoint i64* %sv_4 to i64 %52 = ptrtoint i64* %sv_3 to i64 %53 = call i64 @FUNC(i64 %3, i64 2) store i64 0, i64* %indvars.iv.reg2mem store i32 0, i32* %storemerge613.reg2mem br label LBL_14 LBL_14: %storemerge613.reload = load i32, i32* %storemerge613.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %54 = add i64 %indvars.iv.reload, %51 %55 = trunc i32 %storemerge613.reload to i8 %56 = inttoptr i64 %54 to i8* store i8 %55, i8* %56, align 1 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %57 = add nuw nsw i32 %storemerge613.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 16 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %57, i32* %storemerge613.reg2mem br i1 %exitcond, label LBL_15, label LBL_14 LBL_15: %58 = trunc i64 %53 to i32 %59 = icmp slt i32 %58, 0 store i32 0, i32* %storemerge412.reg2mem store i64 %52, i64* %sv_1.011.reg2mem store i64 %51, i64* %sv_0.010.reg2mem store i64 %51, i64* %sv_0.0.lcssa.reg2mem br i1 %59, label LBL_19, label LBL_16 LBL_16: %sv_0.010.reload = load i64, i64* %sv_0.010.reg2mem %sv_1.011.reload = load i64, i64* %sv_1.011.reg2mem %storemerge412.reload = load i32, i32* %storemerge412.reg2mem %60 = urem i32 %storemerge412.reload, 32 %61 = shl i32 1, %60 %62 = zext i32 %61 to i64 %63 = mul i32 %61, 2 store i32 0, i32* %storemerge59.reg2mem br label LBL_17 LBL_17: %storemerge59.reload = load i32, i32* %storemerge59.reg2mem %64 = sext i32 %storemerge59.reload to i64 %65 = add i64 %sv_0.010.reload, %64 %66 = add i64 %sv_1.011.reload, %64 %67 = call i64 @FUNC(i64 %3, i64 %66, i64 %65, i64 %62) %68 = add i32 %storemerge59.reload, %63 %69 = icmp slt i32 %68, 16 store i32 %68, i32* %storemerge59.reg2mem br i1 %69, label LBL_17, label LBL_18 LBL_18: %70 = add i32 %storemerge412.reload, 1 %71 = icmp sgt i32 %70, %58 store i32 %70, i32* %storemerge412.reg2mem store i64 %sv_0.010.reload, i64* %sv_1.011.reg2mem store i64 %sv_1.011.reload, i64* %sv_0.010.reg2mem store i64 %sv_1.011.reload, i64* %sv_0.0.lcssa.reg2mem br i1 %71, label LBL_19, label LBL_16 LBL_19: %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem %72 = add i64 %2, 4 %73 = add i64 %sv_0.0.lcssa.reload, 8 %74 = inttoptr i64 %73 to i64* %75 = load i64, i64* %74, align 8 %76 = inttoptr i64 %sv_0.0.lcssa.reload to i64* %77 = load i64, i64* %76, align 8 %78 = inttoptr i64 %72 to i64* store i64 %77, i64* %78, align 8 %79 = add i64 %2, 12 %80 = inttoptr i64 %79 to i64* store i64 %75, i64* %80, align 8 store i64 %77, i64* %rax.3.reg2mem br label LBL_20 LBL_20: %rax.3.reload = load i64, i64* %rax.3.reg2mem ret i64 %rax.3.reload uselistorder i32 %storemerge59.reload, { 1, 0 } uselistorder i64 %sv_0.010.reload, { 1, 0 } uselistorder i32 %58, { 1, 0 } uselistorder i32 %sv_2.0.reload, { 1, 0 } uselistorder i32 %storemerge115.reload, { 1, 0 } uselistorder i32 %sv_2.114.reload, { 1, 0 } uselistorder i32 %33, { 1, 0, 2 } uselistorder i32 %20, { 0, 2, 3, 1 } uselistorder i64 %18, { 1, 0 } uselistorder i64* %sv_4, { 1, 0 } uselistorder i64 %3, { 1, 2, 0, 3, 4, 5 } uselistorder i64 %2, { 4, 3, 2, 0, 1 } uselistorder i64* %indvars.iv26.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge20.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge218.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv24.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge115.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.114.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge613.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge412.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.011.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.010.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge59.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.3.reg2mem, { 0, 4, 2, 3, 1 } uselistorder i32 15, { 1, 0 } uselistorder i64 -64, { 1, 0 } uselistorder i64 16, { 2, 1, 0 } uselistorder i64 1, { 2, 1, 0 } uselistorder i32 0, { 0, 1, 6, 2, 3, 4, 7, 8, 9, 5, 10 } uselistorder i64 (i64, i64)* @get_bits, { 3, 2, 1, 0 } uselistorder i64 4, { 3, 1, 4, 0, 5, 2 } uselistorder label LBL_20, { 3, 1, 2, 0 } uselistorder label LBL_17, { 1, 0 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_7, { 1, 0 } }
0
BinRealVul
bt_hid_out_2396
bt_hid_out
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 i64, align 8 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 1 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64* nonnull %sv_0) %6 = call i64 @FUNC(i64* nonnull %sv_0, i64 0, i64 0, i64 1) %7 = ptrtoint i32* %arg1 to i64 %8 = add i64 %7, 8 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = add i64 %7, 16 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = call i64 @FUNC(i64* nonnull %sv_0, i64 %13, i32 %10) %15 = add i64 %7, 24 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = trunc i64 %17 to i32 store i32 %18, i32* %9, align 4 %19 = call i64 @FUNC(i64* nonnull %sv_0) %20 = load i32, i32* %9, align 4 %21 = zext i32 %20 to i64 store i64 %21, i64* %storemerge.reg2mem br label LBL_4 LBL_2: %22 = icmp eq i32 %2, 2 %23 = icmp eq i1 %22, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %23, label LBL_4, label LBL_3 LBL_3: store i64 0, i64* %sv_0, align 8 store i64 4294967295, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %2, { 1, 0 } uselistorder i64* %sv_0, { 4, 0, 1, 2, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 } uselistorder label LBL_4, { 1, 0, 2 } }
0
BinRealVul
nbd_read_17118
nbd_read
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = call i64 @FUNC(i64 %0, i64 0) store i64 %2, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %3 = call i64 @FUNC(i64 4198692) %4 = call i64 @FUNC(i64 %3, i64 %0) store i64 %4, 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 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64)* @qemu_coroutine_enter, { 1, 0 } }
1
BinRealVul
check_ptr_alignment_13753
check_ptr_alignment
define i64 @FUNC(i8* %arg1, i32* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %sext = mul i64 %arg3, 4294967296 %3 = ashr exact i64 %sext, 32 %sext5 = mul i64 %arg4, 4294967296 %4 = ashr exact i64 %sext5, 32 %5 = trunc i64 %2 to i32 %6 = icmp eq i32 %5, 5 store i32 1, i32* %sv_1.0.reg2mem store i64 ptrtoint ([7 x i8]* @gv_0 to i64), i64* %sv_0.0.reg2mem br i1 %6, label LBL_6, label LBL_1 LBL_1: %7 = trunc i64 %1 to i32 %sext6 = mul i32 %7, 16777216 %8 = ashr exact i32 %sext6, 24 %9 = icmp sgt i32 %5, 5 store i32 %8, i32* %sv_1.0.reg2mem store i64 ptrtoint (i64* @gv_1 to i64), i64* %sv_0.0.reg2mem br i1 %9, label LBL_6, label LBL_2 LBL_2: %10 = icmp eq i32 %5, 4 store i32 %8, i32* %sv_1.0.reg2mem store i64 ptrtoint ([9 x i8]* @gv_2 to i64), i64* %sv_0.0.reg2mem br i1 %10, label LBL_6, label LBL_3 LBL_3: %11 = icmp sgt i32 %5, 2 store i32 %8, i32* %sv_1.0.reg2mem store i64 ptrtoint ([7 x i8]* @gv_3 to i64), i64* %sv_0.0.reg2mem br i1 %11, label LBL_6, label LBL_4 LBL_4: %12 = icmp eq i32 %5, 0 %13 = icmp slt i32 %5, 0 %14 = icmp eq i1 %13, false %15 = icmp eq i1 %12, false %16 = icmp eq i1 %14, %15 store i32 %8, i32* %sv_1.0.reg2mem store i64 ptrtoint (i64* @gv_1 to i64), i64* %sv_0.0.reg2mem br i1 %16, label LBL_5, label LBL_6 LBL_5: %17 = and i64 %4, 4294967295 %18 = trunc i64 %3 to i32 %19 = ptrtoint i32* %arg2 to i64 %20 = ptrtoint i8* %arg1 to i64 %21 = urem i32 %8, 256 %22 = zext i32 %21 to i64 %23 = call i64 @FUNC(i64 %20, i64 %19, i32 %18, i64 %17, i64 %22) store i64 %23, i64* %storemerge.reg2mem br label LBL_7 LBL_6: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %24 = trunc i64 %3 to i32 %25 = ptrtoint i32* %arg2 to i64 %26 = ptrtoint i8* %arg1 to i64 %27 = urem i32 %sv_1.0.reload, 256 %28 = zext i32 %27 to i64 %29 = and i64 %4, 4294967295 %30 = call i64 @FUNC(i64 %26, i64 %25, i64 %sv_0.0.reload, i32 %24, i64 %29, i64 %28) store i64 %30, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %8, { 4, 2, 0, 1, 3 } uselistorder i32 %5, { 4, 5, 3, 2, 1, 0 } uselistorder i64 %4, { 1, 0 } uselistorder i64 %3, { 1, 0 } uselistorder i32* %sv_1.0.reg2mem, { 0, 4, 1, 3, 5, 2 } uselistorder i64* %sv_0.0.reg2mem, { 0, 4, 1, 3, 5, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i32 5, { 1, 0 } uselistorder i32* %arg2, { 1, 0 } uselistorder i8* %arg1, { 1, 0 } uselistorder label LBL_6, { 4, 0, 2, 3, 1 } }
0
BinRealVul
parse_adaptation_sets_3118
parse_adaptation_sets
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rdi.0.ph.reg2mem = alloca i64 %sv_0.1.ph.reg2mem = alloca i32 %sv_1.1.ph.reg2mem = alloca i64 %rdi.0.ph.be.reg2mem = alloca i64 %sv_0.1.ph.be.reg2mem = alloca i32 %sv_1.1.ph.be.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %sv_2.0.lcssa.reg2mem = alloca i64 %sv_1.0.lcssa.reg2mem = alloca i64 %sv_1.04.reg2mem = alloca i64 %sv_2.05.reg2mem = alloca i64 %.reg2mem = alloca i8 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %5 = icmp eq i64* %arg1, null %6 = icmp eq i1 %5, false br i1 %6, label LBL_1, label LBL_2 LBL_1: %7 = add i64 %4, 16 %8 = inttoptr i64 %7 to i32* %9 = add i64 %4, 8 %10 = inttoptr i64 %9 to i64* %11 = inttoptr i64 %9 to i32* store i64 %4, i64* %sv_1.1.ph.reg2mem store i32 0, i32* %sv_0.1.ph.reg2mem store i64 %4, i64* %rdi.0.ph.reg2mem br label LBL_25 LBL_2: %12 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_27 LBL_3: %13 = load i8, i8* %122, align 1 %14 = icmp eq i8 %13, 32 %15 = icmp eq i1 %14, false br i1 %15, label LBL_4, label LBL_26 LBL_4: %16 = icmp eq i32 %sv_0.1.ph.reload, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_10, label LBL_5 LBL_5: %18 = call i32 @strncmp(i8* nonnull %122, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i32 3) %19 = icmp eq i32 %18, 0 %20 = icmp eq i1 %19, false br i1 %20, label LBL_10, label LBL_6 LBL_6: %21 = load i32, i32* %8, align 4 %22 = add i32 %21, 1 %23 = sext i32 %22 to i64 %24 = mul nsw i64 %23, 272 %25 = load i64, i64* %10, align 8 %26 = call i64 @FUNC(i64 %25, i64 %24) %27 = icmp eq i64 %26, 0 %28 = icmp eq i1 %27, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %28, label LBL_7, label LBL_27 LBL_7: store i64 %26, i64* %10, align 8 %29 = load i32, i32* %8, align 4 %30 = add i32 %29, 1 store i32 %30, i32* %8, align 4 %31 = load i64, i64* %10, align 8 %32 = sext i32 %30 to i64 %33 = mul nsw i64 %32, 272 %34 = add i64 %31, -264 %35 = add i64 %34, %33 %36 = inttoptr i64 %35 to i32* store i32 0, i32* %36, align 4 %37 = load i64, i64* %10, align 8 %38 = load i32, i32* %8, align 4 %39 = sext i32 %38 to i64 %40 = mul nsw i64 %39, 272 %41 = add i64 %37, -272 %42 = add i64 %41, %40 %43 = inttoptr i64 %42 to i64* store i64 0, i64* %43, align 8 %44 = add i64 %sv_1.1.ph.reload, 3 %45 = load i64, i64* %10, align 8 %46 = load i32, i32* %8, align 4 %47 = sext i32 %46 to i64 %48 = mul nsw i64 %47, 272 %49 = add i64 %45, -260 %50 = add i64 %49, %48 %51 = inttoptr i64 %44 to i8* %52 = load i8, i8* %51, align 1 %53 = icmp eq i8 %52, 44 %54 = icmp eq i1 %53, false store i8 %52, i8* %.reg2mem store i64 %50, i64* %sv_2.05.reg2mem store i64 %44, i64* %sv_1.04.reg2mem store i64 %44, i64* %sv_1.0.lcssa.reg2mem store i64 %50, i64* %sv_2.0.lcssa.reg2mem br i1 %54, label LBL_8, label LBL_9 LBL_8: %sv_1.04.reload = load i64, i64* %sv_1.04.reg2mem %sv_2.05.reload = load i64, i64* %sv_2.05.reg2mem %.reload = load i8, i8* %.reg2mem %55 = add i64 %sv_1.04.reload, 1 %56 = add i64 %sv_2.05.reload, 1 %57 = inttoptr i64 %sv_2.05.reload to i8* store i8 %.reload, i8* %57, align 1 %58 = inttoptr i64 %55 to i8* %59 = load i8, i8* %58, align 1 %60 = icmp eq i8 %59, 44 %61 = icmp eq i1 %60, false store i8 %59, i8* %.reg2mem store i64 %56, i64* %sv_2.05.reg2mem store i64 %55, i64* %sv_1.04.reg2mem store i64 %55, i64* %sv_1.0.lcssa.reg2mem store i64 %56, i64* %sv_2.0.lcssa.reg2mem br i1 %61, label LBL_8, label LBL_9 LBL_9: %sv_2.0.lcssa.reload = load i64, i64* %sv_2.0.lcssa.reg2mem %sv_1.0.lcssa.reload = load i64, i64* %sv_1.0.lcssa.reg2mem %62 = inttoptr i64 %sv_2.0.lcssa.reload to i8* store i8 0, i8* %62, align 1 %63 = add i64 %sv_1.0.lcssa.reload, 1 store i64 %63, i64* %sv_1.1.ph.be.reg2mem store i32 1, i32* %sv_0.1.ph.be.reg2mem store i64 %25, i64* %rdi.0.ph.be.reg2mem br label LBL_24 LBL_10: %64 = icmp eq i32 %sv_0.1.ph.reload, 1 %65 = icmp eq i1 %64, false br i1 %65, label LBL_13, label LBL_11 LBL_11: %66 = call i32 @strncmp(i8* nonnull %122, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0), i32 8) %67 = icmp eq i32 %66, 0 %68 = icmp eq i1 %67, false br i1 %68, label LBL_13, label LBL_12 LBL_12: %69 = add i64 %sv_1.1.ph.reload, 8 store i64 %69, i64* %sv_1.1.ph.be.reg2mem store i32 2, i32* %sv_0.1.ph.be.reg2mem store i64 %sv_1.1.ph.reload, i64* %rdi.0.ph.be.reg2mem br label LBL_24 LBL_13: %70 = icmp eq i32 %sv_0.1.ph.reload, 2 %71 = icmp eq i1 %70, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %71, label LBL_27, label LBL_14 LBL_14: %72 = load i64, i64* %10, align 8 %73 = load i32, i32* %8, align 4 %74 = sext i32 %73 to i64 %75 = mul nsw i64 %74, 272 %76 = add i64 %72, -272 %77 = add i64 %76, %75 store i64 %sv_1.1.ph.reload, i64* %storemerge.reg2mem br label LBL_16 LBL_15: %78 = add i64 %storemerge.reload, 1 store i64 %78, i64* %storemerge.reg2mem br label LBL_16 LBL_16: %storemerge.reload = load i64, i64* %storemerge.reg2mem %79 = inttoptr i64 %storemerge.reload to i8* %80 = load i8, i8* %79, align 1 switch i8 %80, label LBL_17 [ i8 0, label LBL_18 i8 44, label LBL_18 ] LBL_17: %81 = icmp eq i8 %80, 32 %82 = icmp eq i1 %81, false br i1 %82, label LBL_15, label LBL_18 LBL_18: %83 = add i64 %77, 8 %84 = inttoptr i64 %83 to i32* %85 = load i32, i32* %84, align 4 %86 = add i32 %85, 1 store i32 %86, i32* %84, align 4 %87 = sext i32 %86 to i64 %88 = mul i64 %87, 4 %89 = inttoptr i64 %77 to i64* %90 = load i64, i64* %89, align 8 %91 = call i64 @FUNC(i64 %90, i64 %88) store i64 %91, i64* %89, align 8 %92 = icmp eq i64 %91, 0 %93 = icmp eq i1 %92, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %93, label LBL_19, label LBL_27 LBL_19: %94 = add i64 %storemerge.reload, 1 %95 = sub i64 %94, %sv_1.1.ph.reload %96 = load i32, i32* %84, align 4 %97 = sext i32 %96 to i64 %98 = mul i64 %97, 4 %99 = add i64 %91, -4 %100 = add i64 %99, %98 %101 = and i64 %95, 4294967295 %102 = call i64 @FUNC(i64 %sv_1.1.ph.reload, i64 %101) %103 = trunc i64 %102 to i32 %104 = inttoptr i64 %100 to i32* store i32 %103, i32* %104, align 4 %105 = load i64, i64* %89, align 8 %106 = load i32, i32* %84, align 4 %107 = sext i32 %106 to i64 %108 = mul i64 %107, 4 %109 = add i64 %105, -4 %110 = add i64 %109, %108 %111 = inttoptr i64 %110 to i32* %112 = load i32, i32* %111, align 4 %113 = icmp slt i32 %112, 0 br i1 %113, label LBL_21, label LBL_20 LBL_20: %114 = load i32, i32* %11, align 4 %115 = icmp ult i32 %112, %114 br i1 %115, label LBL_22, label LBL_21 LBL_21: %116 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_3, i64 0, i64 0), i64 %91, i64 %2, i64 %1) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_27 LBL_22: %117 = load i8, i8* %79, align 1 %118 = icmp eq i8 %117, 0 store i64 0, i64* %rax.0.reg2mem br i1 %118, label LBL_27, label LBL_23 LBL_23: %119 = icmp eq i8 %117, 32 %120 = icmp eq i1 %119, false %spec.select = select i1 %120, i32 %sv_0.1.ph.reload, i32 0 store i64 %94, i64* %sv_1.1.ph.be.reg2mem store i32 %spec.select, i32* %sv_0.1.ph.be.reg2mem store i64 %sv_1.1.ph.reload, i64* %rdi.0.ph.be.reg2mem br label LBL_24 LBL_24: %rdi.0.ph.be.reload = load i64, i64* %rdi.0.ph.be.reg2mem %sv_0.1.ph.be.reload = load i32, i32* %sv_0.1.ph.be.reg2mem %sv_1.1.ph.be.reload = load i64, i64* %sv_1.1.ph.be.reg2mem store i64 %sv_1.1.ph.be.reload, i64* %sv_1.1.ph.reg2mem store i32 %sv_0.1.ph.be.reload, i32* %sv_0.1.ph.reg2mem store i64 %rdi.0.ph.be.reload, i64* %rdi.0.ph.reg2mem br label LBL_25 LBL_25: %rdi.0.ph.reload = load i64, i64* %rdi.0.ph.reg2mem %sv_0.1.ph.reload = load i32, i32* %sv_0.1.ph.reg2mem %sv_1.1.ph.reload = load i64, i64* %sv_1.1.ph.reg2mem %121 = inttoptr i64 %rdi.0.ph.reload to i8* %122 = inttoptr i64 %sv_1.1.ph.reload to i8* br label LBL_26 LBL_26: %123 = call i32 @strlen(i8* %121) %124 = sext i32 %123 to i64 %125 = add i64 %rdi.0.ph.reload, %124 %126 = icmp ult i64 %sv_1.1.ph.reload, %125 store i64 0, i64* %rax.0.reg2mem br i1 %126, label LBL_3, label LBL_27 LBL_27: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8* %122, { 2, 0, 1 } uselistorder i64 %sv_1.1.ph.reload, { 3, 4, 0, 1, 7, 6, 5, 2, 8 } uselistorder i32 %sv_0.1.ph.reload, { 3, 2, 1, 0 } uselistorder i64 %rdi.0.ph.reload, { 1, 0 } uselistorder i8 %80, { 1, 0 } uselistorder i64 %storemerge.reload, { 2, 0, 1 } uselistorder i32* %8, { 0, 1, 2, 4, 3, 5 } uselistorder i64 %4, { 5, 2, 0, 1, 4, 3 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i8* %.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_2.05.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.04.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 7, 2, 3, 1, 6 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder i8 0, { 2, 0, 3, 4, 5, 1 } uselistorder i64 1, { 0, 1, 4, 2, 3 } uselistorder i8 44, { 1, 2, 0 } uselistorder i64 4294967284, { 1, 0 } uselistorder i64 (i64, i64)* @av_realloc, { 1, 0 } uselistorder i32 (i8*, i8*, i32)* @strncmp, { 1, 0 } uselistorder i64 4294967274, { 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 0 } uselistorder i1 false, { 1, 2, 3, 4, 5, 6, 7, 0, 8, 9, 10, 11, 12 } uselistorder label LBL_27, { 4, 0, 5, 2, 1, 3, 6 } uselistorder label LBL_18, { 2, 0, 1 } uselistorder label LBL_8, { 1, 0 } }
0
BinRealVul
PatternMatch_11740
PatternMatch
define i64 @FUNC(i64 %arg1, i32 %arg2, i64 %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.4.reg2mem = alloca i32 %sv_1.1.reg2mem = alloca i32 %sv_2.023.reg2mem = alloca i64 %sv_0.024.reg2mem = alloca i32 %.reg2mem = alloca i64 %sv_2.2.reg2mem = alloca i64 %sv_0.2.ph.reg2mem = alloca i32 %sv_2.2.ph.reg2mem = alloca i64 %sv_2.1.reg2mem = alloca i64 %sv_0.1.ph.reg2mem = alloca i32 %sv_2.1.ph.reg2mem = alloca i64 %.lcssa8.reg2mem = alloca i8 %.lcssa9.reg2mem = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i32 %sv_2.0.lcssa.reg2mem = alloca i64 %sv_3.0.lcssa.reg2mem = alloca i64 %sv_0.0.ph.reg2mem = alloca i32 %sv_2.0.ph.reg2mem = alloca i64 %sv_1.0.ph.reg2mem = alloca i32 %sv_3.0.ph.reg2mem = alloca i64 %0 = icmp slt i32 %arg4, %arg2 store i64 %arg1, i64* %sv_3.0.ph.reg2mem store i32 %arg2, i32* %sv_1.0.ph.reg2mem store i64 %arg3, i64* %sv_2.0.ph.reg2mem store i32 %arg4, i32* %sv_0.0.ph.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %0, label LBL_29, label LBL_1 LBL_1: %sv_0.0.ph.reload = load i32, i32* %sv_0.0.ph.reg2mem %sv_2.0.ph.reload = load i64, i64* %sv_2.0.ph.reg2mem %sv_1.0.ph.reload = load i32, i32* %sv_1.0.ph.reg2mem %sv_3.0.ph.reload = load i64, i64* %sv_3.0.ph.reg2mem %1 = add i64 %sv_3.0.ph.reload, 1 %2 = inttoptr i64 %sv_3.0.ph.reload to i8* %3 = load i8, i8* %2, align 1 %4 = icmp eq i8 %3, 63 store i64 %sv_3.0.ph.reload, i64* %sv_3.0.lcssa.reg2mem store i64 %sv_2.0.ph.reload, i64* %sv_2.0.lcssa.reg2mem store i32 %sv_0.0.ph.reload, i32* %sv_0.0.lcssa.reg2mem store i64 %1, i64* %.lcssa9.reg2mem store i8 %3, i8* %.lcssa8.reg2mem store i64 %1, i64* %.reg2mem store i32 %sv_0.0.ph.reload, i32* %sv_0.024.reg2mem store i64 %sv_2.0.ph.reload, i64* %sv_2.023.reg2mem br i1 %4, label LBL_23, label LBL_2 LBL_2: %.lcssa8.reload = load i8, i8* %.lcssa8.reg2mem %.lcssa9.reload = load i64, i64* %.lcssa9.reg2mem %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %sv_2.0.lcssa.reload = load i64, i64* %sv_2.0.lcssa.reg2mem %5 = icmp sgt i8 %.lcssa8.reload, 63 br i1 %5, label LBL_27, label LBL_3 LBL_3: %6 = icmp eq i8 %.lcssa8.reload, 45 br i1 %6, label LBL_25, label LBL_4 LBL_4: %7 = icmp sgt i8 %.lcssa8.reload, 45 br i1 %7, label LBL_27, label LBL_5 LBL_5: %8 = icmp eq i8 %.lcssa8.reload, 0 br i1 %8, label LBL_24, label LBL_6 LBL_6: %9 = icmp eq i8 %.lcssa8.reload, 42 %10 = icmp eq i1 %9, false br i1 %10, label LBL_27, label LBL_7 LBL_7: %11 = inttoptr i64 %.lcssa9.reload to i8* %12 = load i8, i8* %11, align 1 %13 = icmp eq i8 %12, 0 %14 = icmp eq i1 %13, false store i64 1, i64* %rax.0.reg2mem br i1 %14, label LBL_8, label LBL_29 LBL_8: %sv_3.0.lcssa.reload = load i64, i64* %sv_3.0.lcssa.reg2mem %15 = add i64 %sv_3.0.lcssa.reload, 2 %16 = icmp eq i8 %12, 45 %17 = icmp eq i1 %16, false br i1 %17, label LBL_9, label LBL_10 LBL_9: %18 = sext i32 %sv_1.0.ph.reload to i64 store i64 %sv_2.0.lcssa.reload, i64* %sv_2.2.ph.reg2mem store i32 %sv_0.0.lcssa.reload, i32* %sv_0.2.ph.reg2mem br label LBL_19 LBL_10: %19 = add i32 %sv_1.0.ph.reload, -1 store i64 %sv_2.0.lcssa.reload, i64* %sv_2.1.ph.reg2mem store i32 %sv_0.0.lcssa.reload, i32* %sv_0.1.ph.reg2mem br label LBL_11 LBL_11: %sv_0.1.ph.reload = load i32, i32* %sv_0.1.ph.reg2mem %sv_2.1.ph.reload = load i64, i64* %sv_2.1.ph.reg2mem store i64 %sv_2.1.ph.reload, i64* %sv_2.1.reg2mem br label LBL_13 LBL_12: %20 = icmp eq i8 %24, 0 %21 = icmp eq i1 %20, false store i64 %22, i64* %sv_2.1.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %21, label LBL_13, label LBL_29 LBL_13: %sv_2.1.reload = load i64, i64* %sv_2.1.reg2mem %22 = add i64 %sv_2.1.reload, 1 %23 = inttoptr i64 %sv_2.1.reload to i8* %24 = load i8, i8* %23, align 1 %25 = icmp eq i8 %24, 45 %26 = icmp eq i1 %25, false br i1 %26, label LBL_12, label LBL_14 LBL_14: %27 = add i32 %sv_0.1.ph.reload, -1 %28 = call i64 @FUNC(i64 %15, i32 %19, i64 %22, i32 %27) %29 = trunc i64 %28 to i32 %30 = icmp eq i32 %29, 0 store i64 1, i64* %rax.0.reg2mem br i1 %30, label LBL_15, label LBL_29 LBL_15: %31 = icmp eq i32 %27, %19 %32 = icmp eq i1 %31, false store i64 %22, i64* %sv_2.1.ph.reg2mem store i32 %27, i32* %sv_0.1.ph.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %32, label LBL_11, label LBL_29 LBL_16: %33 = icmp eq i8 %42, 0 %34 = icmp eq i1 %33, false store i64 0, i64* %rax.0.reg2mem br i1 %34, label LBL_17, label LBL_29 LBL_17: %35 = icmp eq i8 %42, 45 %36 = icmp eq i1 %35, false br i1 %36, label LBL_20.backedge, label LBL_18 LBL_18: %37 = zext i32 %sv_0.2.ph.reload to i64 %38 = add i32 %sv_0.2.ph.reload, -1 %39 = icmp sgt i64 %18, %37 store i64 %40, i64* %sv_2.2.ph.reg2mem store i32 %38, i32* %sv_0.2.ph.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %39, label LBL_29, label LBL_19 LBL_19: %sv_0.2.ph.reload = load i32, i32* %sv_0.2.ph.reg2mem %sv_2.2.ph.reload = load i64, i64* %sv_2.2.ph.reg2mem store i64 %sv_2.2.ph.reload, i64* %sv_2.2.reg2mem br label LBL_20 LBL_20: %sv_2.2.reload = load i64, i64* %sv_2.2.reg2mem %40 = add i64 %sv_2.2.reload, 1 %41 = inttoptr i64 %sv_2.2.reload to i8* %42 = load i8, i8* %41, align 1 %43 = icmp eq i8 %42, %12 %44 = icmp eq i1 %43, false br i1 %44, label LBL_16, label LBL_21 LBL_21: %45 = call i64 @FUNC(i64 %15, i32 %sv_1.0.ph.reload, i64 %40, i32 %sv_0.2.ph.reload) %46 = trunc i64 %45 to i32 %47 = icmp eq i32 %46, 0 store i64 1, i64* %rax.0.reg2mem br i1 %47, label LBL_20.backedge, label LBL_29 LBL_22: store i64 %40, i64* %sv_2.2.reg2mem br label LBL_20 LBL_23: %sv_2.023.reload = load i64, i64* %sv_2.023.reg2mem %sv_0.024.reload = load i32, i32* %sv_0.024.reg2mem %.reload = load i64, i64* %.reg2mem %48 = add i64 %sv_2.023.reload, 1 %49 = inttoptr i64 %sv_2.023.reload to i8* %50 = load i8, i8* %49, align 1 %51 = icmp eq i8 %50, 45 %52 = sext i1 %51 to i32 %spec.select = add i32 %sv_0.024.reload, %52 %53 = add i64 %.reload, 1 %54 = inttoptr i64 %.reload to i8* %55 = load i8, i8* %54, align 1 %56 = icmp eq i8 %55, 63 store i64 %.reload, i64* %sv_3.0.lcssa.reg2mem store i64 %48, i64* %sv_2.0.lcssa.reg2mem store i32 %spec.select, i32* %sv_0.0.lcssa.reg2mem store i64 %53, i64* %.lcssa9.reg2mem store i8 %55, i8* %.lcssa8.reg2mem store i64 %53, i64* %.reg2mem store i32 %spec.select, i32* %sv_0.024.reg2mem store i64 %48, i64* %sv_2.023.reg2mem br i1 %56, label LBL_23, label LBL_2 LBL_24: %57 = inttoptr i64 %sv_2.0.lcssa.reload to i8* %58 = load i8, i8* %57, align 1 %59 = icmp eq i8 %58, 0 %60 = zext i1 %59 to i64 store i64 %60, i64* %rax.0.reg2mem br label LBL_29 LBL_25: %61 = inttoptr i64 %sv_2.0.lcssa.reload to i8* %62 = load i8, i8* %61, align 1 %63 = icmp eq i8 %62, 45 %64 = icmp eq i1 %63, false store i64 0, i64* %rax.0.reg2mem br i1 %64, label LBL_29, label LBL_26 LBL_26: %65 = add i32 %sv_1.0.ph.reload, -1 %66 = add i32 %sv_0.0.lcssa.reload, -1 store i32 %65, i32* %sv_1.1.reg2mem store i32 %66, i32* %sv_0.4.reg2mem br label LBL_28 LBL_27: %67 = inttoptr i64 %sv_2.0.lcssa.reload to i8* %68 = load i8, i8* %67, align 1 %69 = icmp eq i8 %.lcssa8.reload, %68 store i32 %sv_1.0.ph.reload, i32* %sv_1.1.reg2mem store i32 %sv_0.0.lcssa.reload, i32* %sv_0.4.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %69, label LBL_28, label LBL_29 LBL_28: %sv_0.4.reload = load i32, i32* %sv_0.4.reg2mem %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %sv_2.3 = add i64 %sv_2.0.lcssa.reload, 1 store i64 %.lcssa9.reload, i64* %sv_3.0.ph.reg2mem store i32 %sv_1.1.reload, i32* %sv_1.0.ph.reg2mem store i64 %sv_2.3, i64* %sv_2.0.ph.reg2mem store i32 %sv_0.4.reload, i32* %sv_0.0.ph.reg2mem br label LBL_1 LBL_29: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %.reload, { 2, 0, 1 } uselistorder i8 %42, { 2, 1, 0 } uselistorder i64 %40, { 0, 2, 1 } uselistorder i64 %sv_2.2.reload, { 1, 0 } uselistorder i8 %24, { 1, 0 } uselistorder i64 %22, { 1, 2, 0 } uselistorder i64 %sv_2.1.reload, { 1, 0 } uselistorder i64 %15, { 1, 0 } uselistorder i64 %sv_2.0.lcssa.reload, { 4, 3, 2, 5, 1, 0 } uselistorder i32 %sv_0.0.lcssa.reload, { 0, 3, 2, 1 } uselistorder i64 %.lcssa9.reload, { 1, 0 } uselistorder i8 %.lcssa8.reload, { 5, 0, 1, 2, 3, 4 } uselistorder i64 %sv_3.0.ph.reload, { 0, 2, 1 } uselistorder i32 %sv_1.0.ph.reload, { 0, 1, 3, 2, 4 } uselistorder i64* %sv_3.0.ph.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.0.ph.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_2.0.ph.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.0.ph.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_3.0.lcssa.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.0.lcssa.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.lcssa.reg2mem, { 1, 0, 2 } uselistorder i64* %.lcssa9.reg2mem, { 1, 0, 2 } uselistorder i8* %.lcssa8.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.1.ph.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.1.ph.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_2.1.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_2.2.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.024.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_2.023.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.1.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.4.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 11, 8, 6, 7, 4, 3, 5, 9, 10 } uselistorder i1 false, { 0, 3, 1, 2, 4, 6, 5, 7, 8, 9 } uselistorder i8 0, { 1, 2, 3, 4, 0 } uselistorder i8 45, { 3, 2, 4, 5, 6, 0, 1 } uselistorder i8 63, { 2, 1, 0 } uselistorder i64 1, { 4, 8, 5, 1, 6, 0, 7, 2, 3 } uselistorder label LBL_29, { 0, 1, 10, 6, 5, 7, 2, 3, 4, 8, 9 } uselistorder label LBL_23, { 1, 0 } uselistorder label LBL_19, { 1, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
qmp_migrate_cancel_3081
qmp_migrate_cancel
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC() %1 = and i64 %0, 4294967295 %2 = call i64 @FUNC(i64 %1) ret i64 %2 }
0
BinRealVul
open_url_15563
open_url
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 store i64 %arg4, i64* %sv_1, align 8 store i64 0, i64* %sv_0, align 8 %0 = call i64 @FUNC(i64 %arg3) %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i64 0) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_9 LBL_2: %9 = inttoptr i64 %0 to i8* %10 = call i32 @strlen(i8* %9) %11 = inttoptr i64 %arg3 to i8* %12 = call i32 @strncmp(i8* %9, i8* %11, i32 %10) %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_4, label LBL_3 LBL_3: %15 = call i32 @strlen(i8* %9) %16 = sext i32 %15 to i64 %17 = add i64 %16, %arg3 %18 = inttoptr i64 %17 to i8* %19 = load i8, i8* %18, align 1 %20 = icmp eq i8 %19, 58 store i64 %0, i64* %rdi.0.reg2mem br i1 %20, label LBL_6, label LBL_4 LBL_4: %21 = call i32 @strcmp(i8* %9, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0)) %22 = icmp eq i32 %21, 0 %23 = icmp eq i1 %22, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %23, label LBL_9, label LBL_5 LBL_5: %24 = call i32 @strcmp(i8* %11, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0)) %25 = icmp eq i32 %24, 0 %26 = icmp eq i1 %25, false store i64 %arg3, i64* %rdi.0.reg2mem store i64 4294967295, i64* %rax.0.reg2mem br i1 %26, label LBL_6, label LBL_9 LBL_6: %27 = ptrtoint i64* %arg2 to i64 %28 = ptrtoint i64* %arg1 to i64 %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %29 = call i64 @FUNC(i64* nonnull %sv_0, i64 %rdi.0.reload, i64 0) %30 = load i64, i64* %sv_1, align 8 %31 = call i64 @FUNC(i64* nonnull %sv_0, i64 %30, i64 0) %32 = add i64 %28, 8 %33 = inttoptr i64 %32 to i64* %34 = load i64, i64* %33, align 8 %35 = call i64 @FUNC(i64 %27, i64 %arg3, i64 1, i64 %34, i64* nonnull %sv_0) %36 = trunc i64 %35 to i32 %37 = icmp slt i32 %36, 0 br i1 %37, label LBL_8, label LBL_7 LBL_7: %38 = add i64 %28, 16 %39 = call i64 @FUNC(i64 %38, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_3, i64 0, i64 0), i64 %arg3) %40 = inttoptr i64 %38 to i64* %41 = load i64, i64* %40, align 8 %42 = call i64 @FUNC(i64* nonnull %sv_1, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_3, i64 0, i64 0), i64 %41, i64 0) br label LBL_8 LBL_8: %43 = call i64 @FUNC(i64* nonnull %sv_0) %44 = and i64 %35, 4294967295 store i64 %44, 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* %9, { 1, 0, 3, 2 } uselistorder i64 %0, { 0, 2, 1, 3 } uselistorder i64* %rdi.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 } uselistorder i64 1, { 2, 1, 0 } uselistorder i64 (i64*, i64, i64)* @av_dict_copy, { 1, 0 } uselistorder i32 (i8*, i8*, i32)* @strncmp, { 2, 1, 3, 0 } uselistorder i32 (i8*)* @strlen, { 3, 2, 1, 0 } uselistorder i64 (i64, i8*, i64)* @av_strstart, { 1, 0 } uselistorder i64 %arg3, { 2, 3, 0, 1, 4, 5 } uselistorder label LBL_9, { 3, 1, 0, 2 } }
1
BinRealVul
decrypt_callback_9286
decrypt_callback
define i64 @FUNC(i32* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i64 %sv_1.12.reg2mem = alloca i64 %sv_0.03.reg2mem = alloca i32 %sv_2.0.lcssa.reg2mem = alloca i32 %sv_1.0.lcssa.reg2mem = alloca i64 %sv_1.04.reg2mem = alloca i64 %sv_2.05.reg2mem = alloca i32 %sv_2.0.ph.reg2mem = alloca i32 %sv_1.0.ph.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = zext i32 %arg3 to i64 %4 = and i64 %1, 4294967295 %5 = call i64 @FUNC(i64 %4, i64 %3) %6 = trunc i64 %5 to i32 store i32 %6, i32* %arg1, align 4 %7 = icmp ult i32 %arg3, 256 store i64 %2, i64* %sv_1.0.ph.reg2mem store i32 %arg3, i32* %sv_2.0.ph.reg2mem br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = ptrtoint i32* %arg1 to i64 %9 = add i64 %8, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = call i64 @FUNC(i64 %11, i64 %2, i64 %2) %13 = add i64 %2, 256 %14 = add i32 %arg3, -256 store i64 %13, i64* %sv_1.0.ph.reg2mem store i32 %14, i32* %sv_2.0.ph.reg2mem br label LBL_2 LBL_2: %sv_2.0.ph.reload = load i32, i32* %sv_2.0.ph.reg2mem %sv_1.0.ph.reload = load i64, i64* %sv_1.0.ph.reg2mem %15 = icmp ult i32 %sv_2.0.ph.reload, 32 %16 = icmp eq i1 %15, false store i64 %sv_1.0.ph.reload, i64* %sv_1.0.lcssa.reg2mem store i32 %sv_2.0.ph.reload, i32* %sv_2.0.lcssa.reg2mem br i1 %16, label LBL_3, label LBL_5 LBL_3: %17 = ptrtoint i32* %arg1 to i64 %18 = add i64 %17, 8 %19 = inttoptr i64 %18 to i64* store i32 %sv_2.0.ph.reload, i32* %sv_2.05.reg2mem store i64 %sv_1.0.ph.reload, i64* %sv_1.04.reg2mem br label LBL_4 LBL_4: %sv_1.04.reload = load i64, i64* %sv_1.04.reg2mem %sv_2.05.reload = load i32, i32* %sv_2.05.reg2mem %20 = load i64, i64* %19, align 8 %21 = call i64 @FUNC(i64 %20, i64 %sv_1.04.reload, i64 %sv_1.04.reload) %22 = add i64 %sv_1.04.reload, 32 %23 = add i32 %sv_2.05.reload, -32 %24 = icmp ult i32 %23, 32 %25 = icmp eq i1 %24, false store i32 %23, i32* %sv_2.05.reg2mem store i64 %22, i64* %sv_1.04.reg2mem store i64 %22, i64* %sv_1.0.lcssa.reg2mem store i32 %23, i32* %sv_2.0.lcssa.reg2mem br i1 %25, label LBL_4, label LBL_5 LBL_5: %sv_2.0.lcssa.reload = load i32, i32* %sv_2.0.lcssa.reg2mem %26 = icmp ugt i32 %sv_2.0.lcssa.reload, 15 store i64 0, i64* %sv_0.0.lcssa.reg2mem br i1 %26, label LBL_6, label LBL_9 LBL_6: %sv_1.0.lcssa.reload = load i64, i64* %sv_1.0.lcssa.reg2mem %27 = udiv i32 %sv_2.0.lcssa.reload, 16 %28 = ptrtoint i32* %arg1 to i64 %29 = add i64 %28, 8 %30 = inttoptr i64 %29 to i64* store i32 0, i32* %sv_0.03.reg2mem store i64 %sv_1.0.lcssa.reload, i64* %sv_1.12.reg2mem br label LBL_7 LBL_7: %sv_1.12.reload = load i64, i64* %sv_1.12.reg2mem %sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem %31 = load i64, i64* %30, align 8 %32 = call i64 @FUNC(i64 %31, i64 %sv_1.12.reload, i64 %sv_1.12.reload) %33 = add nuw nsw i32 %sv_0.03.reload, 1 %34 = add i64 %sv_1.12.reload, 16 %35 = icmp ugt i32 %27, %33 store i32 %33, i32* %sv_0.03.reg2mem store i64 %34, i64* %sv_1.12.reg2mem br i1 %35, label LBL_7, label LBL_8 LBL_8: %phitmp = zext i32 %33 to i64 store i64 %phitmp, i64* %sv_0.0.lcssa.reg2mem br label LBL_9 LBL_9: %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem ret i64 %sv_0.0.lcssa.reload uselistorder i32 %33, { 1, 0, 2 } uselistorder i64 %sv_1.04.reload, { 2, 0, 1 } uselistorder i64 %sv_1.0.ph.reload, { 1, 0 } uselistorder i32 %sv_2.0.ph.reload, { 1, 0, 2 } uselistorder i64 %2, { 3, 1, 2, 0 } uselistorder i64* %sv_1.0.ph.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_2.0.ph.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_2.05.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.04.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.03.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.12.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i1 false, { 1, 0 } uselistorder i32 32, { 1, 0 } uselistorder i32 %arg3, { 1, 0, 3, 2 } uselistorder i32* %arg1, { 1, 2, 0, 3 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
cil_build_ast_12356
cil_build_ast
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1 = alloca i64, align 8 %0 = icmp eq i64 %arg1, 0 %1 = icmp eq i64 %arg2, 0 %or.cond = or i1 %0, %1 %2 = icmp eq i64 %arg3, 0 %or.cond3 = or i1 %or.cond, %2 store i64 4294967295, i64* %sv_0.0.reg2mem br i1 %or.cond3, label LBL_2, label LBL_1 LBL_1: store i64 %arg3, i64* %sv_1, align 8 %3 = call i64 @FUNC(i64 %arg2, i64 4198741, i64 4198760, i64 4198779, i64* nonnull %sv_1) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i64 %3, i64* %sv_0.0.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %6, label LBL_2, label LBL_3 LBL_2: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %7 = and i64 %sv_0.0.reload, 4294967295 store i64 %7, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 0, { 0, 2, 3, 5, 1, 4 } uselistorder i32 1, { 2, 1, 0 } uselistorder i64 %arg3, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
ExprAppendMultiKeysymList_11287
ExprAppendMultiKeysymList
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0 = alloca i64, align 8 store i64 %arg2, i64* %sv_0, align 8 %0 = call i64 @FUNC(i64 %arg1) %1 = call i64 @FUNC(i64 %arg2) %2 = add i64 %arg1, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = and i64 %0, 4294967295 %6 = call i64 @FUNC(i64 %4, i64 %5) %7 = add i64 %arg1, 16 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = and i64 %1, 4294967295 %11 = call i64 @FUNC(i64 %9, i64 %10) %12 = call i64 @FUNC(i64 %9, i64 %10) %13 = call i64 @FUNC(i64* nonnull %sv_0) ret i64 %arg1 uselistorder i64 %10, { 1, 0 } uselistorder i64 (i64, i64)* @darray_append, { 1, 0 } uselistorder i64 (i64)* @darray_size, { 1, 0 } uselistorder i32 1, { 2, 1, 0 } }
1
BinRealVul
clear_iommu_pte_present_12821
clear_iommu_pte_present
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1) %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %arg2, i64 1) %sext = mul i64 %2, 4294967296 %3 = ashr exact i64 %sext, 29 %4 = add i64 %3, %1 %5 = inttoptr i64 %4 to i64* store i64 0, i64* %5, align 8 %6 = call i64 @FUNC(i64 %1) ret i64 %6 uselistorder i64 %1, { 1, 0 } }
1
BinRealVul
valid_cc_6309
valid_cc
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.07.reg2mem = alloca i64 %.reg2mem = alloca i32 %0 = trunc i64 %arg3 to i32 %1 = trunc i64 %arg2 to i32 %2 = icmp slt i32 %1, 0 %3 = icmp sgt i32 %0, %1 %or.cond56 = or i1 %2, %3 store i64 0, i64* %rax.0.reg2mem br i1 %or.cond56, label LBL_5, label LBL_1 LBL_1: %4 = ptrtoint i64* %arg1 to i64 store i32 %1, i32* %.reg2mem store i64 %4, i64* %sv_0.07.reg2mem br label LBL_2 LBL_2: %.reload = load i32, i32* %.reg2mem %5 = icmp eq i32 %.reload, %0 %6 = icmp eq i1 %5, false store i64 1, i64* %rax.0.reg2mem br i1 %6, label LBL_3, label LBL_5 LBL_3: %sv_0.07.reload = load i64, i64* %sv_0.07.reg2mem %7 = inttoptr i64 %sv_0.07.reload to i32* %8 = load i32, i32* %7, align 4 %9 = icmp sgt i32 %8, 3 %10 = urem i32 %8, 4 %11 = icmp eq i32 %10, 0 %or.cond = icmp eq i1 %9, %11 store i64 0, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_4, label LBL_5 LBL_4: %12 = sub i32 %.reload, %8 %13 = sext i32 %8 to i64 %14 = add i64 %sv_0.07.reload, %13 %15 = icmp slt i32 %12, 0 %16 = icmp slt i32 %12, %0 %or.cond5 = or i1 %15, %16 store i32 %12, i32* %.reg2mem store i64 %14, i64* %sv_0.07.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %or.cond5, label LBL_5, label LBL_2 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %8, { 2, 3, 0, 1 } uselistorder i64 %sv_0.07.reload, { 1, 0 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.07.reg2mem, { 1, 0, 2 } uselistorder i32 0, { 2, 1, 0 } uselistorder label LBL_5, { 2, 1, 0, 3 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
lock_mount_8820
lock_mount
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %storemerge3.lcssa.reg2mem = alloca i64 %.lcssa10.reg2mem = alloca i64* %.lcssa.reg2mem = alloca i64* %0 = ptrtoint i64* %arg1 to i64 %1 = load i64, i64* %arg1, align 8 %2 = call i64 @FUNC(i64 %1) %3 = call i64 @FUNC(i64 %0) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 store i64* %arg1, i64** %.lcssa.reg2mem br i1 %5, label LBL_1, label LBL_2 LBL_1: %6 = add i64 %0, 8 %7 = inttoptr i64 %6 to i64* %8 = call i64 @FUNC() %9 = call i64 @FUNC(i64 %0) %10 = icmp eq i64 %9, 0 %11 = icmp eq i1 %10, false store i64* %arg1, i64** %.lcssa10.reg2mem store i64 %0, i64* %storemerge3.lcssa.reg2mem store i64 %9, i64* %.reg2mem br i1 %11, label LBL_8, label LBL_4 LBL_2: %.lcssa.reload = load i64*, i64** %.lcssa.reg2mem %12 = load i64, i64* %.lcssa.reload, align 8 %13 = call i64 @FUNC(i64 %12) %14 = call i64 @FUNC(i64 4294967294) %sext = mul i64 %14, 4294967296 %15 = ashr exact i64 %sext, 32 store i64 %15, i64* %rax.0.reg2mem br label LBL_9 LBL_3: %16 = call i64 @FUNC() %17 = call i64 @FUNC(i64 %0) %18 = icmp eq i64 %17, 0 %19 = icmp eq i1 %18, false store i64* %36, i64** %.lcssa10.reg2mem store i64 %34, i64* %storemerge3.lcssa.reg2mem store i64 %17, i64* %.reg2mem br i1 %19, label LBL_8, label LBL_4 LBL_4: %storemerge3.lcssa.reload = load i64, i64* %storemerge3.lcssa.reg2mem %.lcssa10.reload = load i64*, i64** %.lcssa10.reg2mem %20 = call i64 @FUNC(i64 %storemerge3.lcssa.reload) %21 = icmp eq i64 %20, 0 %22 = icmp eq i1 %21, false store i64 %20, i64* %sv_0.0.reg2mem br i1 %22, label LBL_6, label LBL_5 LBL_5: %23 = call i64 @FUNC(i64 %storemerge3.lcssa.reload) store i64 %23, i64* %sv_0.0.reg2mem br label LBL_6 LBL_6: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %24 = call i64 @FUNC(i64 %sv_0.0.reload) %25 = trunc i64 %24 to i32 %26 = icmp eq i32 %25, 0 store i64 %sv_0.0.reload, i64* %rax.0.reg2mem br i1 %26, label LBL_9, label LBL_7 LBL_7: %27 = call i64 @FUNC() %28 = load i64, i64* %.lcssa10.reload, align 8 %29 = call i64 @FUNC(i64 %28) store i64 %sv_0.0.reload, i64* %rax.0.reg2mem br label LBL_9 LBL_8: %.reload = load i64, i64* %.reg2mem %30 = call i64 @FUNC() %31 = call i64 @FUNC(i64 %0) %32 = call i64 @FUNC(i64 %0) store i64 %.reload, i64* %7, align 8 %33 = inttoptr i64 %.reload to i64* %34 = load i64, i64* %33, align 8 %35 = call i64 @FUNC(i64 %34) store i64 %35, i64* %arg1, align 8 %36 = inttoptr i64 %34 to i64* %37 = load i64, i64* %36, align 8 %38 = call i64 @FUNC(i64 %37) %39 = call i64 @FUNC(i64 %34) %40 = trunc i64 %39 to i32 %41 = icmp eq i32 %40, 0 store i64* %36, i64** %.lcssa.reg2mem br i1 %41, label LBL_3, label LBL_2 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %36, { 1, 2, 0 } uselistorder i64 %34, { 1, 2, 3, 0 } uselistorder i64 %sv_0.0.reload, { 1, 0, 2 } uselistorder i64 %0, { 3, 5, 6, 0, 1, 4, 2 } uselistorder i64** %.lcssa.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 ()* @namespace_unlock, { 1, 0 } uselistorder i64 (i64)* @mutex_unlock, { 2, 1, 0 } uselistorder i1 false, { 1, 2, 0 } uselistorder i64 (i64)* @lookup_mnt, { 1, 0 } uselistorder i64 ()* @namespace_lock, { 1, 0 } uselistorder i32 0, { 2, 1, 0 } uselistorder i64 (i64)* @cant_mount, { 1, 0 } uselistorder i64 (i64)* @mutex_lock, { 1, 0 } uselistorder i64* %arg1, { 3, 0, 1, 2, 4 } uselistorder label LBL_9, { 1, 0, 2 } uselistorder label LBL_8, { 1, 0 } }
0
BinRealVul
debugcon_parse_15170
debugcon_parse
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i64 %arg1, i64 0) %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 @exit(i32 1) unreachable LBL_2: %3 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0)) %4 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i64 1) %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_4, label LBL_3 LBL_3: %7 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8 %8 = call i32 @fwrite(i64* bitcast ([38 x i8]* @gv_3 to i64*), i32 1, i32 37, %_IO_FILE* %7) call void @exit(i32 1) unreachable LBL_4: %9 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_5, i64 0, i64 0)) %10 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0)) ret i64 0 uselistorder i64 %4, { 1, 0, 2 } uselistorder i64 (i64, i8*, i8*)* @qemu_opt_set, { 1, 0 } uselistorder void (i32)* @exit, { 1, 0 } }
1
BinRealVul
gf_sg_vrml_mf_remove_6963
gf_sg_vrml_mf_remove
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi.1.lcssa.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %.reg2mem8 = alloca i32 %sv_0.14.reg2mem = alloca i32 %rdi.15.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %.reg2mem = alloca i32 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false store i64 1, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_11 LBL_1: %2 = and i64 %arg2, 4294967295 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i64 2, i64* %rax.0.reg2mem br i1 %6, label LBL_2, label LBL_11 LBL_2: %7 = ptrtoint i64* %arg1 to i64 %8 = add i64 %7, 8 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = trunc i64 %arg3 to i32 %12 = icmp ugt i32 %10, %11 store i64 2, i64* %rax.0.reg2mem br i1 %12, label LBL_3, label LBL_11 LBL_3: %13 = icmp eq i32 %10, 1 %14 = icmp eq i1 %13, false br i1 %14, label LBL_5, label LBL_4 LBL_4: %15 = call i64 @FUNC(i64 %2) store i64 0, i64* %arg1, align 8 store i32 0, i32* %9, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_11 LBL_5: %16 = add i32 %10, -1 %17 = and i64 %3, 4294967295 %18 = zext i32 %16 to i64 %19 = mul nuw i64 %17, %18 %20 = call i64 @FUNC(i64 %19) %21 = load i32, i32* %9, align 4 %22 = icmp eq i32 %21, 0 store i64 %19, i64* %rdi.1.lcssa.reg2mem br i1 %22, label LBL_10, label LBL_6 LBL_6: %23 = and i64 %arg3, 4294967295 store i32 %21, i32* %.reg2mem store i64 0, i64* %indvars.iv.reg2mem store i64 %19, i64* %rdi.15.reg2mem store i32 0, i32* %sv_0.14.reg2mem br label LBL_7 LBL_7: %rdi.15.reload = load i64, i64* %rdi.15.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %.reload = load i32, i32* %.reg2mem %24 = icmp eq i64 %indvars.iv.reload, %23 %25 = icmp eq i1 %24, false store i32 %.reload, i32* %.reg2mem8 store i32 1, i32* %sv_0.0.reg2mem store i64 %rdi.15.reload, i64* %rdi.0.reg2mem br i1 %25, label LBL_8, label LBL_9 LBL_8: %sv_0.14.reload = load i32, i32* %sv_0.14.reg2mem %26 = trunc i64 %indvars.iv.reload to i32 %27 = mul i64 %indvars.iv.reload, %3 %28 = and i64 %27, 4294967295 %29 = add i64 %28, %rdi.15.reload %30 = sub i32 %26, %sv_0.14.reload %31 = mul i32 %30, %4 %32 = zext i32 %31 to i64 %33 = add i64 %20, %32 %34 = inttoptr i64 %33 to i64* %35 = inttoptr i64 %29 to i64* %36 = call i64* @memcpy(i64* %34, i64* %35, i32 %4) %.pre = load i32, i32* %9, align 4 store i32 %.pre, i32* %.reg2mem8 store i32 %sv_0.14.reload, i32* %sv_0.0.reg2mem store i64 %33, i64* %rdi.0.reg2mem br label LBL_9 LBL_9: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %.reload9 = load i32, i32* %.reg2mem8 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %37 = zext i32 %.reload9 to i64 %38 = icmp ult i64 %indvars.iv.next, %37 store i32 %.reload9, i32* %.reg2mem store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %rdi.0.reload, i64* %rdi.15.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.14.reg2mem store i64 %rdi.0.reload, i64* %rdi.1.lcssa.reg2mem br i1 %38, label LBL_7, label LBL_10 LBL_10: %rdi.1.lcssa.reload = load i64, i64* %rdi.1.lcssa.reg2mem %39 = call i64 @FUNC(i64 %rdi.1.lcssa.reload) store i64 %20, i64* %arg1, align 8 %40 = load i32, i32* %9, align 4 %41 = add i32 %40, -1 store i32 %41, i32* %9, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %.reload9, { 1, 0 } uselistorder i64 %indvars.iv.reload, { 0, 3, 1, 2 } uselistorder i64 %rdi.15.reload, { 1, 0 } uselistorder i64 %20, { 1, 0 } uselistorder i64 %19, { 1, 0, 2 } uselistorder i32 %10, { 0, 2, 1 } uselistorder i32* %9, { 4, 3, 0, 1, 2, 5 } uselistorder i32 %4, { 1, 0, 2 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rdi.15.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.14.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem8, { 0, 2, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rdi.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 1, 2, 3 } uselistorder i64* %arg1, { 0, 1, 3, 2 } uselistorder label LBL_11, { 3, 4, 0, 1, 2 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_7, { 1, 0 } }
0
BinRealVul
__basepage_index_10527
__basepage_index
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %storemerge2.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i64 %0 = ptrtoint i32* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %1) %3 = call i64 @FUNC(i64 %1) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 %0) store i64 %7, i64* %storemerge2.reg2mem br label LBL_6 LBL_2: %8 = call i64 @FUNC(i64 %1) %9 = icmp ult i64 %8, 10 br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = call i64 @FUNC(i64 %0) %11 = call i64 @FUNC(i64 %1) %12 = sub i64 %10, %11 store i64 %12, i64* %storemerge3.reg2mem br label LBL_5 LBL_4: %13 = sub i64 %0, %1 %14 = ashr i64 %13, 2 store i64 %14, i64* %storemerge3.reg2mem br label LBL_5 LBL_5: %storemerge3.reload = load i64, i64* %storemerge3.reg2mem %15 = call i64 @FUNC(i64 %1) %16 = urem i64 %15, 64 %17 = shl i64 %2, %16 %18 = add i64 %17, %storemerge3.reload store i64 %18, i64* %storemerge2.reg2mem br label LBL_6 LBL_6: %storemerge2.reload = load i64, i64* %storemerge2.reg2mem ret i64 %storemerge2.reload uselistorder i64 %1, { 1, 2, 0, 3, 4, 5 } uselistorder i64 %0, { 1, 2, 0, 3 } uselistorder i64* %storemerge3.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @page_to_pfn, { 1, 0 } uselistorder i64 (i64)* @compound_order, { 1, 0 } uselistorder i64 (i64)* @page_index, { 1, 0 } }
0
reposvul_c_test
colors_enabled_49
colors_enabled
define i64 @FUNC() local_unnamed_addr { LBL_0: %.reg2mem = alloca i32 %0 = load i32, i32* inttoptr (i64 4210740 to i32*), align 4 %1 = icmp slt i32 %0, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_0.LBL_7_crit_edge, label LBL_2 LBL_1: %.pre = load i32, i32* @gv_0, align 4 store i32 %.pre, i32* %.reg2mem br label LBL_7 LBL_2: %3 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0)) %4 = trunc i64 %3 to i32 %5 = icmp slt i32 %4, 0 br i1 %5, label LBL_4, label LBL_3 LBL_3: store i32 %4, i32* @gv_0, align 4 store i32 %4, i32* %.reg2mem br label LBL_7 LBL_4: %6 = call i64 @FUNC() %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 1 %9 = icmp eq i1 %8, false br i1 %9, label LBL_6, label LBL_5 LBL_5: %10 = call i64 @FUNC() %11 = trunc i64 %10 to i32 %12 = urem i32 %11, 256 %13 = xor i32 %12, 1 store i32 %13, i32* @gv_0, align 4 store i32 %13, i32* %.reg2mem br label LBL_7 LBL_6: %14 = call i64 @FUNC() %15 = trunc i64 %14 to i32 %16 = urem i32 %15, 256 %17 = xor i32 %16, 1 store i32 %17, i32* @gv_0, align 4 store i32 %17, i32* %.reg2mem br label LBL_7 LBL_7: %.reload = load i32, i32* %.reg2mem %18 = icmp eq i32 %.reload, 0 %19 = icmp eq i1 %18, false %20 = zext i1 %19 to i64 %21 = and i32 %.reload, -256 %22 = zext i32 %21 to i64 %23 = or i64 %20, %22 ret i64 %23 uselistorder i32* %.reg2mem, { 0, 3, 2, 1, 4 } uselistorder i32* @gv_0, { 3, 2, 1, 0 } uselistorder i32 1, { 2, 3, 4, 0, 1 } uselistorder label LBL_7, { 1, 2, 3, 0 } }
0
BinRealVul
url_find_protocol_15388
url_find_protocol
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge4.reg2mem = alloca i32 %.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %0 = inttoptr i64 %arg1 to i8* %1 = call i32 @strspn(i8* %0, i8* getelementptr inbounds ([66 x i8], [66 x i8]* @gv_0, i64 0, i64 0)) %2 = sext i32 %1 to i64 %3 = add i64 %2, %arg1 %4 = inttoptr i64 %3 to i8* %5 = load i8, i8* %4, align 1 %6 = icmp eq i8 %5, 58 br i1 %6, label LBL_3, label LBL_1 LBL_1: %7 = call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0), i32 8) %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_4, label LBL_2 LBL_2: %10 = add i64 %3, 1 %11 = inttoptr i64 %10 to i8* %12 = call i8* @strchr(i8* %11, i32 58) %13 = icmp eq i8* %12, null br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = call i64 @FUNC(i64 %arg1) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 br i1 %16, label LBL_5, label LBL_4 LBL_4: store i64 1701603686, i64* %sv_2, align 8 br label LBL_6 LBL_5: %17 = add nsw i64 %2, 1 %18 = icmp ult i64 %17, 128 %19 = select i1 %18, i64 %17, i64 128 %20 = call i64 @FUNC(i64* nonnull %sv_2, i64 %arg1, i64 %19) br label LBL_6 LBL_6: %21 = bitcast i64* %sv_2 to i8* %22 = call i8* @strchr(i8* nonnull %21, i32 44) %23 = icmp eq i8* %22, null br i1 %23, label LBL_8, label LBL_7 LBL_7: store i8 0, i8* %22, align 1 br label LBL_8 LBL_8: %24 = ptrtoint i64* %sv_2 to i64 %25 = call i64 @FUNC(i64* nonnull %sv_1, i64 %24, i64 128) %26 = bitcast i64* %sv_1 to i8* %27 = call i8* @strchr(i8* nonnull %26, i32 43) %28 = icmp eq i8* %27, null br i1 %28, label LBL_10, label LBL_9 LBL_9: store i8 0, i8* %27, align 1 br label LBL_10 LBL_10: %29 = call i64 @FUNC(i64 0, i64 0) store i64 %29, i64* %sv_0, align 8 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = icmp eq i64 %31, 0 %33 = icmp eq i1 %32, false store i64 %31, i64* %.reg2mem store i32 0, i32* %storemerge4.reg2mem br i1 %33, label LBL_11, label LBL_17 LBL_11: %.reload = load i64, i64* %.reg2mem %34 = inttoptr i64 %.reload to i64* %35 = load i64, i64* %34, align 8 %36 = inttoptr i64 %35 to i8* %37 = call i32 @strcmp(i8* nonnull %21, i8* %36) %38 = icmp eq i32 %37, 0 %39 = icmp eq i1 %38, false br i1 %39, label LBL_13, label LBL_12 LBL_12: %40 = call i64 @FUNC(i64* nonnull %sv_0) store i64 %.reload, i64* %rax.0.reg2mem br label LBL_18 LBL_13: %storemerge4.reload = load i32, i32* %storemerge4.reg2mem %41 = add i64 %.reload, 8 %42 = inttoptr i64 %41 to i32* %43 = load i32, i32* %42, align 4 %44 = urem i32 %43, 2 %45 = icmp eq i32 %44, 0 br i1 %45, label LBL_16, label LBL_14 LBL_14: %46 = load i64, i64* %34, align 8 %47 = inttoptr i64 %46 to i8* %48 = call i32 @strcmp(i8* nonnull %26, i8* %47) %49 = icmp eq i32 %48, 0 %50 = icmp eq i1 %49, false br i1 %50, label LBL_16, label LBL_15 LBL_15: %51 = call i64 @FUNC(i64* nonnull %sv_0) store i64 %.reload, i64* %rax.0.reg2mem br label LBL_18 LBL_16: %52 = add i32 %storemerge4.reload, 1 %53 = load i64, i64* %sv_0, align 8 %54 = sext i32 %52 to i64 %55 = mul i64 %54, 8 %56 = add i64 %53, %55 %57 = inttoptr i64 %56 to i64* %58 = load i64, i64* %57, align 8 %59 = icmp eq i64 %58, 0 %60 = icmp eq i1 %59, false store i64 %58, i64* %.reg2mem store i32 %52, i32* %storemerge4.reg2mem br i1 %60, label LBL_11, label LBL_17 LBL_17: %61 = call i64 @FUNC(i64* nonnull %sv_0) store i64 %61, 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 i64 %.reload, { 1, 2, 0, 3 } uselistorder i64 %2, { 1, 0 } uselistorder i64* %sv_2, { 2, 0, 1, 3 } uselistorder i64* %sv_0, { 0, 3, 1, 2, 4 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge4.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2 } uselistorder i64 (i64*)* @av_freep, { 0, 2, 1 } uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 } uselistorder i64 (i64*, i64, i64)* @av_strlcpy, { 1, 0 } uselistorder i64 128, { 2, 0, 1 } uselistorder i8* (i8*, i32)* @strchr, { 2, 1, 0 } uselistorder i64 1, { 2, 1, 0, 3 } uselistorder i1 false, { 3, 1, 2, 0, 4, 5 } uselistorder i32 0, { 1, 2, 3, 0, 4, 5 } uselistorder i32 1, { 8, 7, 6, 5, 2, 1, 0, 3, 4 } uselistorder i64 %arg1, { 1, 2, 0, 3 } uselistorder label LBL_18, { 2, 0, 1 } uselistorder label LBL_11, { 1, 0 } }
1
BinRealVul
is_in_region_7332
is_in_region
define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = trunc i64 %arg1 to i32 %1 = call i64 @FUNC() store i32 %0, i32* inttoptr (i64 1073741824 to i32*), align 536870912 %2 = load i32, i32* inttoptr (i64 1073741828 to i32*), align 4 %3 = load i32, i32* inttoptr (i64 1073741832 to i32*), align 8 %4 = and i64 %1, 4294967295 %5 = call i64 @FUNC(i64 %4) %6 = icmp eq i32 %arg3, 0 %7 = add i32 %arg3, -1 %spec.select = select i1 %6, i32 0, i32 %7 %8 = trunc i64 %arg2 to i32 %9 = add i32 %spec.select, %8 %10 = icmp ult i32 %9, %8 %11 = icmp eq i1 %10, false br i1 %11, label LBL_1, label LBL_2 LBL_1: %12 = and i32 %2, -16 %narrow = add i32 %3, 1 %13 = urem i32 %narrow, 64 %14 = icmp eq i32 %13, 0 %15 = zext i32 %13 to i64 %16 = shl i64 1, %15 %17 = trunc i64 %16 to i32 %18 = select i1 %14, i32 1, i32 %17 %19 = add i32 %12, -1 %20 = add i32 %19, %18 %21 = icmp ule i32 %12, %8 %22 = icmp uge i32 %20, %9 %not.or.cond = icmp eq i1 %21, %22 %spec.select3 = zext i1 %not.or.cond to i64 ret i64 %spec.select3 LBL_2: ret i64 0 uselistorder i32 %8, { 1, 2, 0 } uselistorder i32 1, { 1, 2, 0 } uselistorder i32 0, { 1, 0, 2 } uselistorder i32 %arg3, { 1, 0 } }
0
BinRealVul
pnv_chip_power8_class_init_14134
pnv_chip_power8_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* store i32 1, i32* %2, align 4 %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i64* store i64 2454075084504039424, i64* %4, align 8 %5 = add i64 %0, 24 %6 = inttoptr i64 %5 to i32* store i32 255, i32* %6, align 4 %7 = add i64 %0, 32 %8 = inttoptr i64 %7 to i64* store i64 4198694, i64* %8, align 8 store i64 ptrtoint ([20 x i8]* @gv_0 to i64), i64* %arg1, align 8 ret i64 %0 }
1
BinRealVul
get_futex_key_refs_7192
get_futex_key_refs
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null store i64 %0, i64* %rax.0.reg2mem br i1 %1, label LBL_5, label LBL_1 LBL_1: %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = urem i64 %4, 4 switch i64 %5, label LBL_4 [ i64 1, label LBL_2 i64 2, label LBL_3 ] LBL_2: %6 = call i64 @FUNC() store i64 %6, i64* %rax.0.reg2mem br label LBL_5 LBL_3: %7 = call i64 @FUNC(i64 %0) store i64 %7, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %8 = call i64 @FUNC() store i64 %8, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 1, 2, 0 } uselistorder i64 ()* @smp_mb, { 1, 0 } uselistorder label LBL_5, { 1, 2, 3, 0 } }
0
BinRealVul
decode_pivot_14021
decode_pivot
define i64 @FUNC(i32* %arg1, i32* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %rax.0.shrunk.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %0 = ptrtoint i32* %arg2 to i64 %1 = ptrtoint i32* %arg1 to i64 %2 = call i64 @FUNC(i64 %0, i64 %1) %3 = add i64 %1, 4 %4 = call i64 @FUNC(i64 %0, i64 %3) %5 = trunc i64 %4 to i32 %6 = add i32 %5, 1 %7 = icmp slt i32 %6, 3 store i32 %6, i32* %sv_0.0.reg2mem br i1 %7, label LBL_4, label LBL_1 LBL_1: %8 = icmp sgt i32 %arg3, 4 br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = add i64 %1, 8 %10 = inttoptr i64 %9 to i32* store i32 1, i32* %10, align 4 store i64 0, i64* %rax.0.shrunk.reg2mem br label LBL_7 LBL_3: %11 = add i32 %arg3, 1 %12 = icmp slt i32 %11, 0 %13 = zext i1 %12 to i32 %14 = add i32 %11, %13 %15 = ashr i32 %14, 1 %16 = add nsw i32 %15, -2 %17 = zext i32 %16 to i64 %18 = call i64 @FUNC(i64 %0, i64 %17) %19 = trunc i64 %18 to i32 %20 = add i32 %19, 3 store i32 %20, i32* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %21 = icmp eq i32 %sv_0.0.reload, %arg3 %22 = icmp eq i1 %21, false br i1 %22, label LBL_6, label LBL_5 LBL_5: %23 = add i64 %1, 8 %24 = inttoptr i64 %23 to i32* store i32 1, i32* %24, align 4 store i64 0, i64* %rax.0.shrunk.reg2mem br label LBL_7 LBL_6: %25 = trunc i64 %2 to i32 %26 = icmp eq i32 %25, 0 %27 = sub i32 %arg3, %sv_0.0.reload %spec.select = select i1 %26, i32 %sv_0.0.reload, i32 %27 %phitmp = zext i32 %spec.select to i64 store i64 %phitmp, i64* %rax.0.shrunk.reg2mem br label LBL_7 LBL_7: %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem ret i64 %rax.0.shrunk.reload uselistorder i32 %sv_0.0.reload, { 2, 0, 1 } uselistorder i64 %1, { 1, 0, 2, 3 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 1, 3, 2 } uselistorder i32 3, { 1, 0 } uselistorder i64 (i64, i64)* @arith_get_model_sym, { 1, 0 } uselistorder i32 %arg3, { 3, 2, 1, 0 } }
1
BinRealVul
handle_user_command_3290
handle_user_command
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC() %2 = call i64 @FUNC(i64 %0, i64 %arg2, i64 0, i64 %0, i64 %1) %3 = icmp eq i64 %2, 0 br i1 %3, label LBL_4, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %2) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 br i1 %6, label LBL_4, label LBL_2 LBL_2: %7 = call i64 @FUNC(i64 %0) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_1, i64 0, i64 0), i32 59, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0)) br label LBL_4 LBL_4: %10 = call i64 @FUNC(i64 %1) ret i64 %10 uselistorder i64 %0, { 0, 2, 1 } uselistorder i32 0, { 1, 2, 0 } uselistorder label LBL_4, { 1, 0, 3, 2 } }
0
reposvul_c_test
modbus_write_bits_97
modbus_write_bits
define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3, i32* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.0.lcssa.reg2mem = alloca i32 %sv_2.0.lcssa.reg2mem = alloca i32 %sv_3.08.reg2mem = alloca i32 %sv_2.09.reg2mem = alloca i32 %sv_4.010.reg2mem = alloca i32 %.reg2mem = alloca i8 %sv_3.212.reg2mem = alloca i32 %sv_2.113.reg2mem = alloca i32 %storemerge14.reg2mem = alloca i32 %sv_1.015.reg2mem = alloca i32 %1 = load i64, i64* %0 %sv_5 = alloca i64, align 8 %sv_6 = alloca i64, align 8 %sv_7 = alloca i64, align 8 %2 = icmp eq i32* %arg1, null %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i32* @__errno_location() store i32 22, i32* %4, align 4 store i64 4294967295, i64* %rax.0.reg2mem br label LBL_16 LBL_2: %sext = mul i64 %arg3, 4294967296 %5 = ashr exact i64 %sext, 32 %6 = trunc i64 %5 to i32 %7 = icmp slt i32 %6, 2001 br i1 %7, label LBL_6, label LBL_3 LBL_3: %8 = trunc i64 %1 to i32 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_5, label LBL_4 LBL_4: %10 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %11 = and i64 %5, 4294967295 %12 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %10, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_1, i64 0, i64 0), i64 %11, i64 2000) br label LBL_5 LBL_5: %13 = call i32* @__errno_location() store i32 1, i32* %13, align 4 store i64 4294967295, i64* %rax.0.reg2mem br label LBL_16 LBL_6: %14 = ptrtoint i64* %sv_7 to i64 %15 = ptrtoint i32* %arg1 to i64 %16 = sdiv i32 %6, 128 %17 = urem i64 %arg3, 8 %18 = icmp eq i64 %17, 0 %19 = icmp eq i1 %18, false %20 = zext i1 %19 to i32 %21 = add nsw i32 %16, %20 %22 = trunc i64 %15 to i32 %sext5 = mul i64 %15, 4294967296 %23 = ashr exact i64 %sext5, 32 %24 = trunc i32 %21 to i8 %25 = add i64 %14, -288 %26 = add i64 %25, %23 %27 = inttoptr i64 %26 to i8* store i8 %24, i8* %27, align 1 %sv_1.011 = add i32 %22, 1 %28 = icmp sgt i32 %21, 0 store i32 %sv_1.011, i32* %sv_1.0.lcssa.reg2mem br i1 %28, label LBL_7, label LBL_12 LBL_7: %29 = ptrtoint i32* %arg4 to i64 store i32 %sv_1.011, i32* %sv_1.015.reg2mem store i32 0, i32* %storemerge14.reg2mem store i32 0, i32* %sv_2.113.reg2mem store i32 0, i32* %sv_3.212.reg2mem br label LBL_8 LBL_8: %sv_3.212.reload = load i32, i32* %sv_3.212.reg2mem %sv_2.113.reload = load i32, i32* %sv_2.113.reg2mem %storemerge14.reload = load i32, i32* %storemerge14.reg2mem %sv_1.015.reload = load i32, i32* %sv_1.015.reg2mem %30 = sext i32 %sv_1.015.reload to i64 %31 = add i64 %25, %30 %32 = inttoptr i64 %31 to i8* store i8 0, i8* %32, align 1 store i8 0, i8* %.reg2mem store i32 1, i32* %sv_4.010.reg2mem store i32 %sv_2.113.reload, i32* %sv_2.09.reg2mem store i32 %sv_3.212.reload, i32* %sv_3.08.reg2mem br label LBL_10 LBL_9: %sv_4.010.reload = load i32, i32* %sv_4.010.reg2mem %.reload = load i8, i8* %.reg2mem %33 = add i32 %sv_2.09.reload, 1 %34 = sext i32 %sv_2.09.reload to i64 %35 = add i64 %34, %29 %36 = inttoptr i64 %35 to i8* %37 = load i8, i8* %36, align 1 %38 = icmp eq i8 %37, 0 %39 = trunc i32 %sv_4.010.reload to i8 %40 = or i8 %.reload, %39 %41 = sub i8 0, %39 %42 = sub i8 %41, 1 %43 = and i8 %.reload, %42 %storemerge7 = select i1 %38, i8 %43, i8 %40 store i8 %storemerge7, i8* %32, align 1 %44 = mul i32 %sv_4.010.reload, 2 %45 = urem i32 %sv_4.010.reload, 128 %46 = icmp eq i32 %45, 0 store i8 %storemerge7, i8* %.reg2mem store i32 %44, i32* %sv_4.010.reg2mem store i32 %33, i32* %sv_2.09.reg2mem store i32 %48, i32* %sv_3.08.reg2mem store i32 %33, i32* %sv_2.0.lcssa.reg2mem br i1 %46, label LBL_11, label LBL_10 LBL_10: %sv_3.08.reload = load i32, i32* %sv_3.08.reg2mem %sv_2.09.reload = load i32, i32* %sv_2.09.reg2mem %47 = zext i32 %sv_3.08.reload to i64 %48 = add i32 %sv_3.08.reload, 1 %49 = icmp sgt i64 %5, %47 store i32 %sv_2.09.reload, i32* %sv_2.0.lcssa.reg2mem br i1 %49, label LBL_9, label LBL_11 LBL_11: %sv_2.0.lcssa.reload = load i32, i32* %sv_2.0.lcssa.reg2mem %50 = add nuw nsw i32 %storemerge14.reload, 1 %sv_1.0 = add i32 %sv_1.015.reload, 1 %exitcond = icmp eq i32 %50, %21 store i32 %sv_1.0, i32* %sv_1.015.reg2mem store i32 %50, i32* %storemerge14.reg2mem store i32 %sv_2.0.lcssa.reload, i32* %sv_2.113.reg2mem store i32 %48, i32* %sv_3.212.reg2mem store i32 %sv_1.0, i32* %sv_1.0.lcssa.reg2mem br i1 %exitcond, label LBL_12, label LBL_8 LBL_12: %sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem %51 = call i64 @FUNC(i64 %15, i64* nonnull %sv_6, i32 %sv_1.0.lcssa.reload) %52 = trunc i64 %51 to i32 %53 = icmp slt i32 %52, 1 store i64 %51, i64* %sv_0.0.reg2mem br i1 %53, label LBL_15, label LBL_13 LBL_13: %54 = call i64 @FUNC(i64 %15, i64* nonnull %sv_5, i64 0) %55 = trunc i64 %54 to i32 %56 = icmp eq i32 %55, -1 %57 = icmp eq i1 %56, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %57, label LBL_14, label LBL_16 LBL_14: %58 = call i64 @FUNC(i64 %15, i64* nonnull %sv_6, i64* nonnull %sv_5, i32 %55) store i64 %58, i64* %sv_0.0.reg2mem br label LBL_15 LBL_15: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %59 = and i64 %sv_0.0.reload, 4294967295 store i64 %59, i64* %rax.0.reg2mem br label LBL_16 LBL_16: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %48, { 1, 0 } uselistorder i32 %sv_3.08.reload, { 1, 0 } uselistorder i8 %.reload, { 1, 0 } uselistorder i32 %sv_4.010.reload, { 1, 2, 0 } uselistorder i32 %sv_1.015.reload, { 1, 0 } uselistorder i32 %sv_1.011, { 1, 0 } uselistorder i64 %15, { 1, 2, 3, 0, 4 } uselistorder i64 %5, { 0, 2, 1 } uselistorder i32* %sv_1.015.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge14.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.113.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_3.212.reg2mem, { 1, 0, 2 } uselistorder i8* %.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_4.010.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 } uselistorder i8 0, { 1, 3, 0, 4, 2 } uselistorder i32 0, { 3, 0, 1, 2, 4, 5 } uselistorder i32* ()* @__errno_location, { 1, 0 } uselistorder i64 %arg3, { 1, 0 } uselistorder label LBL_16, { 1, 0, 2, 3 } uselistorder label LBL_10, { 1, 0 } }
0
BinRealVul
ff_riff_write_info_tag_16545
ff_riff_write_info_tag
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = inttoptr i64 %arg3 to i8* %1 = call i32 @strlen(i8* %0) %2 = sext i32 %1 to i64 %3 = icmp slt i32 %1, 1 store i64 %2, i64* %rax.0.reg2mem br i1 %3, label LBL_3, label LBL_1 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = add i32 %1, 1 %6 = call i64 @FUNC(i64 %4, i64 %arg2) %7 = zext i32 %5 to i64 %8 = call i64 @FUNC(i64 %4, i64 %7) %9 = call i64 @FUNC(i64 %4, i64 %arg3) %10 = urem i32 %5, 2 %11 = icmp eq i32 %10, 0 store i64 0, i64* %rax.0.reg2mem br i1 %11, label LBL_3, label LBL_2 LBL_2: %12 = call i64 @FUNC(i64 %4, i64 0) store i64 %12, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %4, { 0, 3, 2, 1 } }
1
BinRealVul
xan_decode_init_443
xan_decode_init
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = ptrtoint i32* %arg1 to i64 %1 = add i64 %0, 16 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = inttoptr i64 %3 to i64* store i64 %0, i64* %4, align 8 %5 = add i64 %3, 8 %6 = inttoptr i64 %5 to i32* store i32 0, i32* %6, align 4 %7 = add i64 %0, 8 %8 = inttoptr i64 %7 to i32* store i32 1, i32* %8, align 4 %9 = bitcast i64* %rdi to i32* %10 = load i32, i32* %9, align 8 %11 = add i64 %0, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = mul i32 %13, %10 %15 = add i64 %3, 12 %16 = inttoptr i64 %15 to i32* store i32 %14, i32* %16, align 4 %17 = sext i32 %14 to i64 %18 = call i64 @FUNC(i64 %17) %19 = add i64 %3, 16 %20 = inttoptr i64 %19 to i64* store i64 %18, i64* %20, align 8 %21 = icmp eq i64 %18, 0 %22 = icmp eq i1 %21, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %22, label LBL_1, label LBL_3 LBL_1: %23 = load i32, i32* %9, align 8 %24 = load i32, i32* %12, align 4 %25 = mul i32 %24, %23 %26 = add i64 %3, 24 %27 = inttoptr i64 %26 to i32* store i32 %25, i32* %27, align 4 %28 = add i32 %25, 130 %29 = sext i32 %28 to i64 %30 = call i64 @FUNC(i64 %29) %31 = add i64 %3, 32 %32 = inttoptr i64 %31 to i64* store i64 %30, i64* %32, align 8 %33 = icmp eq i64 %30, 0 %34 = icmp eq i1 %33, false store i64 0, i64* %rax.0.reg2mem br i1 %34, label LBL_3, label LBL_2 LBL_2: %35 = call i64 @FUNC(i64 %19) store i64 4294967284, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 4294967284, { 1, 0 } uselistorder i64 (i64)* @av_malloc, { 1, 0 } uselistorder label LBL_3, { 2, 0, 1 } }
0
BinRealVul
handle_5219
handle
define i64 @FUNC(i64 %arg1, i64* %arg2, i32 %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i1 %.reg2mem = alloca i16 %rsi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %sv_0 = alloca i64, align 8 %sext = mul i64 %arg1, 4294967296 %3 = ashr exact i64 %sext, 32 %4 = bitcast i64* %sv_0 to i16* %5 = icmp eq i32 %arg3, 7 %6 = icmp eq i1 %5, false br i1 %6, label LBL_3, label LBL_1 LBL_1: %7 = call i32 @memcmp(i64* %arg2, i64* bitcast ([6 x i8]* @gv_0 to i64*), i32 5) %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = ptrtoint i64* %arg4 to i64 %11 = add i64 %10, 4 %12 = inttoptr i64 %11 to i32* %13 = add i64 %2, 5 %14 = call i16 @htons(i16 1) store i16 %14, i16* %4, align 8 %15 = ptrtoint i64* %sv_0 to i64 %16 = or i64 %15, 2 %17 = load i32, i32* %12, align 4 %18 = inttoptr i64 %16 to i32* store i32 %17, i32* %18, align 4 %19 = or i64 %15, 6 %20 = inttoptr i64 %13 to i16* %21 = load i16, i16* %20, align 2 %22 = inttoptr i64 %19 to i16* store i16 %21, i16* %22, align 2 %23 = load i16, i16* %20, align 2 %24 = call i16 @ntohs(i16 %23) %25 = load i32, i32* %12, align 4 %26 = insertvalue %in_addr undef, i32 %25, 0 %27 = call i8* @inet_ntoa(%in_addr %26) %28 = zext i16 %24 to i64 %29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i8* %27, i64 %28) %30 = trunc i64 %3 to i32 %31 = call i32 @send(i32 %30, i64* nonnull %sv_0, i32 8, i32 0) %32 = icmp ne i32 %31, 8 store i1 %32, i1* %rax.0.shrunk.reg2mem br label LBL_13 LBL_3: %33 = trunc i64 %1 to i16 %34 = ptrtoint i64* %sv_0 to i64 %35 = or i64 %34, 2 %36 = call i16 @htons(i16 2) store i16 %36, i16* %4, align 8 %37 = inttoptr i64 %35 to i16* store i16 %33, i16* %37, align 2 %38 = add i32 %arg3, -2 %39 = icmp slt i32 %38, 0 %40 = icmp eq i1 %39, false store i1 false, i1* %rax.0.shrunk.reg2mem br i1 %40, label LBL_4, label LBL_13 LBL_4: %41 = bitcast i64* %rsi to i16* %42 = load i16, i16* %41, align 8 %43 = call i16 @ntohs(i16 %42) store i16 %43, i16* bitcast (i32* @gv_2 to i16*), align 4 %44 = icmp ult i16 %43, 20001 br i1 %44, label LBL_6, label LBL_5 LBL_5: store i32 1, i32* @gv_3, align 4 store i16 %43, i16* %.reg2mem br label LBL_8 LBL_6: %.pre = load i32, i32* @gv_3, align 4 %phitmp = icmp ne i32 %.pre, 0 %45 = icmp ult i16 %43, 100 %or.cond = icmp eq i1 %45, %phitmp store i16 %43, i16* %.reg2mem br i1 %or.cond, label LBL_7, label LBL_8 LBL_7: store i32 0, i32* @gv_3, align 4 %46 = call i64* @memset(i64* nonnull @gv_4, i32 0, i32 200) %.pre6 = load i16, i16* bitcast (i32* @gv_2 to i16*), align 4 store i16 %.pre6, i16* %.reg2mem br label LBL_8 LBL_8: %.reload = load i16, i16* %.reg2mem %47 = zext i32 %38 to i64 %48 = zext i16 %.reload to i64 %49 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_5, i64 0, i64 0), i64 %48, i64 %47) %50 = load i16, i16* bitcast (i32* @gv_2 to i16*), align 4 %51 = zext i16 %50 to i64 %52 = call i64 @FUNC(i64 %51) %53 = trunc i64 %52 to i32 %54 = icmp eq i32 %53, 0 br i1 %54, label LBL_10, label LBL_9 LBL_9: %55 = call i32 @puts(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_6, i64 0, i64 0)) store i1 false, i1* %rax.0.shrunk.reg2mem br label LBL_13 LBL_10: %56 = or i64 %34, 4 %57 = inttoptr i64 %56 to i16* %58 = call i32 @putchar(i32 10) %59 = or i64 %34, 6 %60 = trunc i32 %38 to i16 %61 = call i16 @htons(i16 %60) store i16 %61, i16* %57, align 4 %62 = add i64 %2, 2 %63 = inttoptr i64 %59 to i64* %64 = inttoptr i64 %62 to i64* %65 = call i64* @memcpy(i64* nonnull %63, i64* %64, i32 %38) %66 = add i32 %arg3, 4 %67 = icmp slt i32 %66, 2049 br i1 %67, label LBL_12, label LBL_11 LBL_11: call void @__assert_fail(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_7, i64 0, i64 0), i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_8, i64 0, i64 0), i32 54, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_9, i64 0, i64 0)) br label LBL_12 LBL_12: %68 = trunc i64 %3 to i32 %69 = call i32 @send(i32 %68, i64* nonnull %sv_0, i32 %66, i32 0) %70 = icmp ne i32 %69, %66 store i1 %70, i1* %rax.0.shrunk.reg2mem br label LBL_13 LBL_13: %rax.0.shrunk.reload = load i1, i1* %rax.0.shrunk.reg2mem %rax.0 = zext i1 %rax.0.shrunk.reload to i64 ret i64 %rax.0 uselistorder i32 %66, { 1, 0, 2 } uselistorder i16 %43, { 1, 2, 0, 3, 4 } uselistorder i16* %4, { 1, 0 } uselistorder i64 %3, { 1, 0 } uselistorder i64* %sv_0, { 3, 0, 4, 1, 2 } uselistorder i64 %2, { 1, 0 } uselistorder i16* %.reg2mem, { 0, 2, 3, 1 } uselistorder i1* %rax.0.shrunk.reg2mem, { 0, 1, 4, 2, 3 } uselistorder i32* @gv_3, { 2, 0, 1 } uselistorder i16* bitcast (i32* @gv_2 to i16*), { 2, 0, 1 } uselistorder i32 (i32, i64*, i32, i32)* @send, { 1, 0 } uselistorder i32 (i8*, ...)* @printf, { 1, 0 } uselistorder i16 (i16)* @ntohs, { 1, 0 } uselistorder i1 false, { 1, 0, 2, 3, 4 } uselistorder label LBL_13, { 0, 3, 1, 2 } uselistorder label LBL_8, { 2, 1, 0 } }
0
BinRealVul
l2tp_ip_bind_13434
l2tp_ip_bind
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) 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 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %4 = trunc i64 %arg3 to i32 %5 = call i64 @FUNC(i64 %3) %6 = call i64 @FUNC(i64 %3) %7 = icmp ugt i32 %4, 23 %8 = trunc i64 %2 to i16 %9 = icmp eq i16 %8, 2 %or.cond = icmp eq i1 %7, %9 store i64 4294967274, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_1, label LBL_11 LBL_1: %10 = ptrtoint i64* %arg2 to i64 %11 = trunc i64 %1 to i32 %12 = call i64 @FUNC(i64* nonnull @gv_0) %13 = add i64 %10, 16 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = add i64 %10, 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = call i64 @FUNC(i64 %6, i64 %18, i32 %11, i32 %15) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false %23 = call i64 @FUNC(i64* nonnull @gv_0) store i64 4294967198, i64* %rax.0.reg2mem br i1 %22, label LBL_11, label LBL_2 LBL_2: %24 = call i64 @FUNC(i64 %3) %25 = call i64 @FUNC(i64 %3, i64 1) %26 = trunc i64 %25 to i32 %27 = icmp eq i32 %26, 0 store i64 4294967198, i64* %sv_0.0.reg2mem br i1 %27, label LBL_10, label LBL_3 LBL_3: %28 = add i64 %3, 4 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = icmp eq i32 %30, 0 %32 = icmp eq i1 %31, false store i64 4294967198, i64* %sv_0.0.reg2mem br i1 %32, label LBL_10, label LBL_4 LBL_4: %33 = load i64, i64* %17, align 8 %34 = call i64 @FUNC(i64 %6, i64 %33) %35 = trunc i64 %34 to i32 %36 = load i64, i64* %17, align 8 %37 = icmp eq i64 %36, 0 %38 = icmp ult i32 %35, 2 %39 = or i1 %38, %37 %.not = icmp ne i1 %39, true %40 = icmp eq i32 %35, 2 %41 = icmp eq i1 %40, false %or.cond7 = icmp eq i1 %41, %.not store i64 4294967197, i64* %sv_0.0.reg2mem br i1 %or.cond7, label LBL_10, label LBL_5 LBL_5: br i1 %37, label LBL_7, label LBL_6 LBL_6: %42 = inttoptr i64 %5 to i64* store i64 %36, i64* %42, align 8 %43 = add i64 %5, 8 %44 = inttoptr i64 %43 to i64* store i64 %36, i64* %44, align 8 br label LBL_7 LBL_7: %45 = icmp ne i32 %35, 1 %or.cond9 = icmp eq i1 %45, %41 br i1 %or.cond9, label LBL_9, label LBL_8 LBL_8: %46 = inttoptr i64 %5 to i64* store i64 0, i64* %46, align 8 br label LBL_9 LBL_9: %47 = call i64 @FUNC(i64 %3) %48 = call i64 @FUNC(i64 %3) %49 = load i32, i32* %14, align 4 %50 = add i64 %48, 16 %51 = inttoptr i64 %50 to i32* store i32 %49, i32* %51, align 4 %52 = call i64 @FUNC(i64* nonnull @gv_0) %53 = call i64 @FUNC(i64 %3, i64* nonnull @gv_1) %54 = call i64 @FUNC(i64 %3) %55 = call i64 @FUNC(i64* nonnull @gv_0) %56 = call i64 @FUNC(i64 %3, i64 1) store i64 0, i64* %sv_0.0.reg2mem br label LBL_10 LBL_10: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %57 = call i64 @FUNC(i64 %3) store i64 %sv_0.0.reload, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %36, { 1, 0, 2 } uselistorder i32 %35, { 2, 0, 1 } uselistorder i64 %10, { 1, 0 } uselistorder i64 %5, { 2, 0, 1 } uselistorder i64 %3, { 6, 2, 1, 0, 4, 3, 5, 8, 7, 9, 10 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i64 4294967198, { 1, 2, 0 } uselistorder i64* @gv_0, { 1, 2, 0, 3 } uselistorder i64 (i64)* @inet_sk, { 1, 0 } uselistorder label LBL_11, { 2, 1, 0 } uselistorder label LBL_10, { 3, 0, 1, 2 } uselistorder label LBL_9, { 1, 0 } }
0
BinRealVul
__xen_evtchn_do_upcall_19291
__xen_evtchn_do_upcall
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 0) %1 = inttoptr i64 %0 to i32* %2 = call i64 @FUNC() %3 = call i64 @FUNC(i64* nonnull @gv_0) %4 = and i64 %2, 4294967295 br label LBL_1 LBL_1: store i32 0, i32* %1, align 4 %5 = call i64 @FUNC(i64 %4) %6 = call i64 @FUNC() %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 %9 = zext i1 %8 to i64 %10 = call i64 @FUNC(i64 %9) %11 = call i64 @FUNC() %12 = load i32, i32* %1, align 4 %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_1, label LBL_2 LBL_2: %15 = call i64 @FUNC(i64* nonnull @gv_0) ret i64 %15 }
1
BinRealVul
opl3_panning_12075
opl3_panning
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = trunc i64 %arg3 to i32 %1 = load i32*, i32** @gv_0, align 8 %2 = ptrtoint i32* %1 to i64 %sext = mul i64 %arg2, 4294967296 %3 = ashr exact i64 %sext, 30 %4 = add i64 %3, %2 %5 = inttoptr i64 %4 to i32* store i32 %0, i32* %5, align 4 ret i64 %2 uselistorder i64 %2, { 1, 0 } }
1
BinRealVul
aux_bus_class_init_2121
aux_bus_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 4198694, i64* %arg1, align 8 ret i64 %0 }
0
BinRealVul
do_change_block_3434
do_change_block
define i64 @FUNC(i8* %arg1, i8* %arg2, i8* %arg3) 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 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i8* %arg3 to i64 %5 = ptrtoint i8* %arg1 to i64 %6 = call i64 @FUNC(i64 %5) %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = ptrtoint i8* %arg2 to i64 %10 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i64 %9, i64 %4, i64 %3, i64 %2, i64 %1) store i64 %10, i64* %rax.0.reg2mem br label LBL_7 LBL_2: %11 = icmp eq i8* %arg3, null store i64 0, i64* %sv_0.0.reg2mem br i1 %11, label LBL_5, label LBL_3 LBL_3: %12 = call i64 @FUNC(i64 %4) %13 = icmp eq i64 %12, 0 %14 = icmp eq i1 %13, false store i64 %12, i64* %sv_0.0.reg2mem br i1 %14, label LBL_5, label LBL_4 LBL_4: %15 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64 %4, i64 %4, i64 %3, i64 %2, i64 %1) store i64 %15, i64* %rax.0.reg2mem br label LBL_7 LBL_5: %16 = call i64 @FUNC(i64 %6, i64 0) %17 = trunc i64 %16 to i32 %18 = icmp slt i32 %17, 0 store i64 %16, i64* %rax.0.reg2mem br i1 %18, label LBL_7, label LBL_6 LBL_6: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %19 = ptrtoint i8* %arg2 to i64 %20 = call i64 @FUNC(i64 %6, i64 %19, i64 0, i64 %sv_0.0.reload) %21 = call i64 @FUNC(i64 %6, i64 %19) store i64 %21, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %6, { 1, 0, 2, 3 } uselistorder i64 %4, { 3, 0, 1, 2 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @term_printf, { 1, 0 } uselistorder i32 1, { 6, 5, 4, 7, 3, 0, 2, 1 } uselistorder label LBL_7, { 1, 0, 2, 3 } }
0
BinRealVul
copy_packet_data_1471
copy_packet_data
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 store i64 0, i64* %arg1, align 8 %2 = add i64 %1, 24 %3 = inttoptr i64 %2 to i64* store i64 0, i64* %3, align 8 %4 = add i64 %1, 32 %5 = inttoptr i64 %4 to i32* store i32 0, i32* %5, align 4 %6 = add i64 %1, 16 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp eq i64 %8, 0 br i1 %9, label LBL_3, label LBL_1 LBL_1: %10 = add i64 %0, 16 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @FUNC(i64 %12) %14 = icmp eq i64 %13, 0 %15 = icmp eq i1 %14, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %15, label LBL_2, label LBL_9 LBL_2: store i64 %13, i64* %7, align 8 %16 = inttoptr i64 %13 to i64* %17 = load i64, i64* %16, align 8 store i64 %17, i64* %arg1, align 8 br label LBL_5 LBL_3: %18 = add i64 %1, 8 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = call i64* @malloc(i32 %20) %22 = ptrtoint i64* %21 to i64 store i64 %22, i64* %arg1, align 8 %23 = icmp eq i32 %20, 0 br i1 %23, label LBL_5, label LBL_4 LBL_4: %24 = sext i32 %20 to i64 %25 = load i32, i32* %19, align 4 %26 = inttoptr i64 %24 to i64* %27 = call i64* @memcpy(i64* %26, i64* %arg2, i32 %25) br label LBL_5 LBL_5: %28 = add i64 %0, 32 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = icmp eq i32 %30, 0 %32 = trunc i64 %arg3 to i32 %33 = icmp eq i32 %32, 0 %or.cond = or i1 %33, %31 store i32 %30, i32* %.reg2mem br i1 %or.cond, label LBL_7, label LBL_6 LBL_6: %34 = add i64 %0, 24 %35 = inttoptr i64 %34 to i64* %36 = load i64, i64* %35, align 8 store i64 %36, i64* %3, align 8 %37 = load i32, i32* %29, align 4 store i32 %37, i32* %5, align 4 %.pr = load i32, i32* %29, align 4 store i32 %.pr, i32* %.reg2mem br label LBL_7 LBL_7: %.reload = load i32, i32* %.reg2mem %38 = icmp eq i32 %.reload, 0 %39 = icmp eq i1 %33, false %or.cond3 = or i1 %39, %38 store i64 0, i64* %rax.0.reg2mem br i1 %or.cond3, label LBL_9, label LBL_8 LBL_8: %40 = call i64 @FUNC(i64 %1, i64 %0) store i64 %40, 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 i1 %33, { 1, 0 } uselistorder i32 %20, { 2, 0, 1 } uselistorder i64 %0, { 1, 3, 2, 0 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder label LBL_9, { 2, 0, 1 } }
0
BinRealVul
WILC_WFI_mon_setup_18025
WILC_WFI_mon_setup
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 ptrtoint (i64* @gv_0 to i64), i64* %arg1, align 8 %1 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_1, i64 0, i64 0)) %2 = call i64 @FUNC(i64 %0) %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i32* store i32 0, i32* %4, align 4 %5 = add i64 %0, 12 %6 = inttoptr i64 %5 to i32* store i32 802, i32* %6, align 4 %7 = add i64 %0, 16 %8 = inttoptr i64 %7 to i64* %9 = call i64* @memset(i64* %8, i32 0, i32 6) %10 = inttoptr i64 %7 to i32* store i32 1589792768, i32* %10, align 4 %11 = add i64 %0, 20 %12 = inttoptr i64 %11 to i16* store i16 -28912, i16* %12, align 2 %13 = inttoptr i64 %7 to i8* store i8 18, i8* %13, align 1 ret i64 %0 uselistorder i64 %0, { 1, 0, 2, 3, 4, 5 } }
1
BinRealVul
write_l1_entry_16654
write_l1_entry
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rdi.02.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %1 = ptrtoint i64* %sv_1 to i64 %2 = trunc i64 %arg2 to i32 %3 = and i32 %2, -64 %4 = add i64 %1, -544 %5 = sext i32 %3 to i64 store i64 0, i64* %indvars.iv.reg2mem store i64 %0, i64* %rdi.02.reg2mem br label LBL_1 LBL_1: %rdi.02.reload = load i64, i64* %rdi.02.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %6 = add nuw nsw i64 %indvars.iv.reload, %5 %7 = mul i64 %6, 8 %8 = add i64 %7, %rdi.02.reload %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = call i64 @FUNC(i64 %10) %12 = mul i64 %indvars.iv.reload, 8 %13 = add i64 %4, %12 %14 = inttoptr i64 %13 to i64* store i64 %11, i64* %14, align 8 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 64 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %10, i64* %rdi.02.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %15 = add i64 %0, 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = call i64 @FUNC(i64 %17, i64 1) %19 = load i64, i64* %16, align 8 %20 = mul i32 %3, 8 %21 = sext i32 %20 to i64 %22 = add i64 %19, %21 %23 = call i64 @FUNC(i64 %19, i64 %22, i64* nonnull %sv_0, i64 512) %24 = trunc i64 %23 to i32 %25 = icmp slt i32 %24, 0 %26 = icmp eq i1 %25, false %27 = and i64 %23, 4294967295 %storemerge = select i1 %26, i64 0, i64 %27 ret i64 %storemerge uselistorder i64 %19, { 1, 0 } uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64 %0, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rdi.02.reg2mem, { 1, 0, 2 } uselistorder i64 1, { 1, 0 } uselistorder i64 8, { 2, 0, 1 } }
1
BinRealVul
DecideLUTtypeA2B_10022
DecideLUTtypeA2B
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %2 = alloca i1 %3 = load i64, i64* %1 %4 = load i128, i128* %0 %5 = load i1, i1* %2 %6 = load i1, i1* %2 %7 = call i64 @FUNC(i128 %4) %8 = call i128 @__asm_movsd.1(i64 4616189618054758400) %9 = sext i64 %7 to i128 call void @FUNC(i128 %8, i128 %9) %10 = or i1 %5, %6 %11 = trunc i64 %3 to i32 %12 = icmp eq i32 %11, 0 %. = select i1 %12, i64 2, i64 1 %rax.0 = select i1 %10, i64 3, i64 %. ret i64 %rax.0 uselistorder i1* %2, { 1, 0 } }
0
BinRealVul
extended_addresses_enabled_17162
extended_addresses_enabled
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = call i64 @FUNC(i64 %2, i64 1) %4 = trunc i64 %3 to i8 %5 = icmp eq i8 %4, 0 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = trunc i64 %1 to i32 %7 = icmp slt i32 %6, 0 %8 = icmp eq i1 %7, false store i64 1, i64* %storemerge.reg2mem br i1 %8, label LBL_2, label LBL_3 LBL_2: store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 1, { 0, 2, 1 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
cpu_get_clock_13964
cpu_get_clock
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = load i32, i32* @gv_0, align 4 %1 = icmp eq i32 %0, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = load i64, i64* @gv_1, align 8 store i64 %3, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %4 = call i64 @FUNC() %5 = load i64, i64* @gv_1, align 8 %6 = add i64 %5, %4 store i64 %6, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
1
BinRealVul
qmp_chardev_open_file_1695
qmp_chardev_open_file
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = add i64 %1, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i64 %4, i64 577, i64 %0) %6 = trunc i64 %5 to i32 %7 = icmp slt i32 %6, 0 %8 = icmp eq i1 %7, false store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_1, label LBL_5 LBL_1: %9 = add i64 %1, 16 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp eq i32 %11, 0 store i64 4294967295, i64* %sv_0.0.reg2mem br i1 %12, label LBL_4, label LBL_2 LBL_2: %13 = call i64 @FUNC(i64 %4, i64 0, i64 %0) %14 = trunc i64 %13 to i32 %15 = icmp slt i32 %14, 0 %16 = icmp eq i1 %15, false store i64 %13, i64* %sv_0.0.reg2mem br i1 %16, label LBL_4, label LBL_3 LBL_3: %17 = and i64 %5, 4294967295 %18 = call i64 @FUNC(i64 %17) store i64 0, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %19 = and i64 %5, 4294967295 %20 = and i64 %sv_0.0.reload, 4294967295 %21 = call i64 @FUNC(i64 %20, i64 %19) store i64 %21, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 4294967295, { 1, 2, 3, 0 } uselistorder i32 0, { 1, 2, 3, 0 } uselistorder i64 (i64, i64, i64)* @qmp_chardev_open_file_source, { 1, 0 } uselistorder label LBL_5, { 1, 2, 0 } }
0
BinRealVul
select_display_148
select_display
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %sv_0 = alloca i64, align 8 %0 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_0) %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 0 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 ([25 x i8]* @gv_2 to i64*), i32 1, i32 24, %_IO_FILE* %3) call void @exit(i32 1) unreachable LBL_2: %5 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0), i64* nonnull %sv_0) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_4, label LBL_3 LBL_3: %8 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %9 = call i32 @fwrite(i64* bitcast ([25 x i8]* @gv_4 to i64*), i32 1, i32 24, %_IO_FILE* %8) call void @exit(i32 1) unreachable LBL_4: %10 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_5, i64 0, i64 0), i64* nonnull %sv_0) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 br i1 %12, label LBL_6, label LBL_5 LBL_5: %13 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %14 = call i32 @fwrite(i64* bitcast ([28 x i8]* @gv_6 to i64*), i32 1, i32 27, %_IO_FILE* %13) call void @exit(i32 1) unreachable LBL_6: %15 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_7, i64 0, i64 0), i64* nonnull %sv_0) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 br i1 %17, label LBL_8, label LBL_7 LBL_7: ret i64 3 LBL_8: %18 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %19 = inttoptr i64 %arg1 to i8* %20 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %18, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_8, i64 0, i64 0), i8* %19) call void @exit(i32 1) unreachable uselistorder void (i32)* @exit, { 3, 2, 1, 0 } uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 2, 1, 0 } uselistorder i64 (i64, i8*, i64*)* @strstart, { 3, 2, 1, 0 } }
1
BinRealVul
r_read_at_le16_12865
r_read_at_le16
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i32* %arg1 to i64 %1 = add i64 %0, %arg2 %2 = call i64 @FUNC(i64 %1) ret i64 %2 }
1
BinRealVul
write_reftable_entry_16321
write_reftable_entry
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rdi.01.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %1 = ptrtoint i64* %sv_1 to i64 %2 = add i64 %1, -544 %3 = mul i64 %arg2, 4294967296 %sext = ashr exact i64 %3, 32 %4 = and i64 %sext, -64 store i64 0, i64* %indvars.iv.reg2mem store i64 %0, i64* %rdi.01.reg2mem br label LBL_1 LBL_1: %rdi.01.reload = load i64, i64* %rdi.01.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %5 = add nuw nsw i64 %indvars.iv.reload, %4 %6 = mul i64 %5, 8 %7 = add i64 %6, %rdi.01.reload %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %9) %11 = mul i64 %indvars.iv.reload, 8 %12 = add i64 %2, %11 %13 = inttoptr i64 %12 to i64* store i64 %10, i64* %13, align 8 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 64 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %9, i64* %rdi.01.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %14 = add i64 %0, 8 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = mul i64 %4, 8 %18 = add i64 %16, %17 %19 = call i64 @FUNC(i64 %0, i64 0, i64 %18, i64 512) %20 = trunc i64 %19 to i32 %21 = icmp slt i32 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_4, label LBL_3 LBL_3: %23 = and i64 %19, 4294967295 ret i64 %23 LBL_4: %24 = load i64, i64* %15, align 8 %25 = add i64 %24, %17 %26 = call i64 @FUNC(i64 %24, i64 %25, i64* nonnull %sv_0, i64 512) %27 = trunc i64 %26 to i32 %28 = icmp slt i32 %27, 0 %29 = icmp eq i1 %28, false %30 = and i64 %26, 4294967295 %spec.select = select i1 %29, i64 0, i64 %30 ret i64 %spec.select uselistorder i64 %24, { 1, 0 } uselistorder i64 %17, { 1, 0 } uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64 %0, { 1, 2, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rdi.01.reg2mem, { 1, 0, 2 } uselistorder i32 0, { 1, 2, 0 } uselistorder i64 8, { 0, 3, 1, 2 } }
1
BinRealVul
multi_get_divisor_9465
multi_get_divisor
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %3 = ashr exact i64 %sext, 32 %4 = urem i64 %1, 2 %5 = icmp eq i64 %4, 0 br i1 %5, label LBL_3, label LBL_1 LBL_1: %6 = add i64 %2, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = udiv i32 %8, 4 %10 = trunc i64 %3 to i32 %11 = icmp eq i32 %9, %10 %12 = icmp eq i1 %11, false store i64 32769, i64* %sv_0.0.reg2mem br i1 %12, label LBL_2, label LBL_4 LBL_2: %13 = udiv i32 %8, 8 %14 = icmp eq i32 %13, %10 %15 = icmp eq i1 %14, false store i64 32770, i64* %sv_0.0.reg2mem br i1 %15, label LBL_3, label LBL_4 LBL_3: %16 = and i64 %3, 4294967295 %17 = call i64 @FUNC(i64 %2, i64 %16) %phitmp = and i64 %17, 4294967295 store i64 %phitmp, i64* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem ret i64 %sv_0.0.reload uselistorder i64 %2, { 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 1, 2 } uselistorder label LBL_4, { 2, 0, 1 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
get_parent_ino_9499
get_parent_ino
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg1) %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = icmp eq i64 %1, 0 %4 = icmp eq i1 %3, false store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_4 LBL_1: %5 = call i64 @FUNC(i64 %0, i64 %1) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %9 = call i64 @FUNC(i64 %1) %10 = trunc i64 %9 to i32 %11 = bitcast i64* %arg2 to i32* store i32 %10, i32* %11, align 4 %12 = call i64 @FUNC(i64 %1) 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, 3, 2, 1 } uselistorder i64 (i64)* @dput, { 1, 0 } uselistorder label LBL_4, { 1, 2, 0 } }
0
BinRealVul
av_register_input_format_1019
av_register_input_format
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi.1.reg2mem = alloca i64 %storemerge4.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %storemerge2 = load i64, i64* @gv_0, align 8 %1 = icmp eq i64 %storemerge2, %0 %2 = icmp eq i64* %arg1, null %3 = icmp eq i1 %2, false %or.cond3 = or i1 %3, %1 store i64 %storemerge2, i64* %storemerge4.reg2mem store i64 %0, i64* %rdi.1.reg2mem br i1 %or.cond3, label LBL_3, label LBL_2 LBL_1: %4 = inttoptr i64 %storemerge4.reload to i64* %storemerge = load i64, i64* %4, align 8 %5 = icmp eq i64 %storemerge, %0 %6 = icmp eq i64 %storemerge4.reload, 0 %7 = icmp eq i1 %6, false %or.cond = or i1 %7, %5 store i64 %storemerge, i64* %storemerge4.reg2mem store i64 %storemerge4.reload, i64* %rdi.1.reg2mem br i1 %or.cond, label LBL_3, label LBL_2 LBL_2: %storemerge4.reload = load i64, i64* %storemerge4.reg2mem %8 = call i64 @FUNC(i64 %storemerge4.reload, i64 0, i64 %0) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false store i64 %storemerge4.reload, i64* %rdi.1.reg2mem br i1 %11, label LBL_1, label LBL_3 LBL_3: %rdi.1.reload = load i64, i64* %rdi.1.reg2mem %12 = icmp eq i64 %rdi.1.reload, 0 %13 = icmp eq i1 %12, false store i64 %rdi.1.reload, i64* %rax.0.reg2mem br i1 %13, label LBL_5, label LBL_4 LBL_4: store i64 %0, i64* @gv_0, align 8 store i64 %0, 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 %storemerge4.reload, { 1, 3, 2, 4, 0 } uselistorder i64 %0, { 0, 3, 5, 4, 1, 2 } uselistorder i64* %storemerge4.reg2mem, { 0, 2, 1 } uselistorder i64* %rdi.1.reg2mem, { 0, 2, 1, 3 } uselistorder i1 false, { 2, 3, 1, 0, 4 } uselistorder label LBL_3, { 1, 0, 2 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
draw_char_18760
draw_char
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = ptrtoint i32* %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 i32* %5 = load i32, i32* %4, align 4 %6 = add i64 %3, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = add i64 %3, 8 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = urem i32 %11, 2 %13 = icmp eq i32 %12, 0 %14 = add i32 %5, 8 %spec.select = select i1 %13, i32 %5, i32 %14 %15 = and i32 %11, 2 %16 = icmp eq i32 %15, 0 %17 = add i32 %8, 8 %sv_0.0 = select i1 %16, i32 %8, i32 %17 %18 = and i32 %11, 4 %19 = icmp eq i32 %18, 0 %spec.select3 = select i1 %19, i32 %spec.select, i32 %sv_0.0 %spec.select4 = select i1 %19, i32 %sv_0.0, i32 %spec.select %20 = and i32 %11, 8 %21 = icmp eq i32 %20, 0 %sv_1.2 = select i1 %21, i32 %spec.select3, i32 %spec.select4 %22 = add i64 %3, 44 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = add i64 %3, 40 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = add i64 %3, 32 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = add i64 %3, 24 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = add i64 %3, 16 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = mul i32 %36, %30 %38 = sext i32 %37 to i64 %39 = add i64 %3, 12 %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 4 %42 = sext i32 %41 to i64 %43 = add i64 %33, %38 %44 = add i64 %43, %42 %45 = trunc i64 %arg2 to i32 %46 = zext i32 %30 to i64 %47 = call i64 @FUNC(i64 %44, i64 %46, i32 %27, i32 %24, i32 %45, i32 %sv_1.2) %48 = load i32, i32* %40, align 4 %49 = add i32 %48, 8 store i32 %49, i32* %40, align 4 %50 = bitcast i64* %rdi to i32* %51 = load i32, i32* %50, align 8 %52 = zext i32 %51 to i64 %53 = icmp ult i32 %49, %51 store i64 %52, i64* %rax.0.reg2mem br i1 %53, label LBL_2, label LBL_1 LBL_1: store i32 0, i32* %40, align 4 %54 = call i64 @FUNC(i64 %0) store i64 %54, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %40, { 0, 2, 1, 3 } uselistorder i32 %30, { 1, 0 } uselistorder i32 %11, { 1, 2, 3, 0 } uselistorder i64 %3, { 5, 4, 2, 3, 1, 0, 6, 7, 8 } uselistorder i32 2, { 1, 0 } }
1
BinRealVul
r_str_ansi_strip_6414
r_str_ansi_strip
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0.0.ph.lcssa.reg2mem = alloca i64 %sv_0.0.ph2.reg2mem = alloca i64 %.reg2mem8 = alloca i64 %.reg2mem = alloca i8* %0 = ptrtoint i64* %arg1 to i64 %1 = bitcast i64* %arg1 to i8* %2 = load i8, i8* %1, align 1 %3 = icmp eq i8 %2, 0 %4 = icmp eq i1 %3, false store i8* %1, i8** %.reg2mem store i64 %0, i64* %.reg2mem8 store i64 0, i64* %sv_0.0.ph2.reg2mem store i64 0, i64* %sv_0.0.ph.lcssa.reg2mem br i1 %4, label LBL_1.lr.ph, label LBL_5 LBL_1: %5 = call i64 @FUNC(i64 %.reload9) %6 = icmp ult i64 %5, 2 br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = add i64 %18, %5 %8 = call i64 @FUNC(i64 %.reload9, i64 %7) %9 = load i8, i8* %.reload, align 1 %10 = icmp eq i8 %9, 0 %11 = icmp eq i1 %10, false store i64 %sv_0.0.ph2.reload, i64* %sv_0.0.ph.lcssa.reg2mem br i1 %11, label LBL_1, label LBL_5 LBL_3: %12 = add i64 %sv_0.0.ph2.reload, 1 %13 = add i64 %12, %0 %14 = inttoptr i64 %13 to i8* %15 = load i8, i8* %14, align 1 %16 = icmp eq i8 %15, 0 %17 = icmp eq i1 %16, false store i8* %14, i8** %.reg2mem store i64 %13, i64* %.reg2mem8 store i64 %12, i64* %sv_0.0.ph2.reg2mem store i64 %12, i64* %sv_0.0.ph.lcssa.reg2mem br i1 %17, label LBL_1.lr.ph, label LBL_5 LBL_4: %sv_0.0.ph2.reload = load i64, i64* %sv_0.0.ph2.reg2mem %.reload9 = load i64, i64* %.reg2mem8 %.reload = load i8*, i8** %.reg2mem %18 = add i64 %sv_0.0.ph2.reload, %0 br label LBL_1 LBL_5: %sv_0.0.ph.lcssa.reload = load i64, i64* %sv_0.0.ph.lcssa.reg2mem ret i64 %sv_0.0.ph.lcssa.reload uselistorder i64 %.reload9, { 1, 0 } uselistorder i64 %sv_0.0.ph2.reload, { 2, 0, 1 } uselistorder i64 %0, { 2, 1, 0 } uselistorder i8** %.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem8, { 0, 2, 1 } uselistorder i64* %sv_0.0.ph2.reg2mem, { 0, 2, 1 } uselistorder i1 false, { 1, 2, 0, 3, 4 } uselistorder i8 0, { 1, 2, 0, 3, 4 } uselistorder label LBL_1.lr.ph, { 1, 0 } }
0
BinRealVul
jbig2_decode_mmr_init_18704
jbig2_decode_mmr_init
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i32* %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %sv_0.0.lcssa.reg2mem = alloca i32 %sv_0.03.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i32* %arg4 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = trunc i64 %arg2 to i32 %3 = trunc i64 %arg3 to i32 %4 = bitcast i64* %arg1 to i32* store i32 %2, i32* %4, align 4 %5 = add i64 %1, 4 %6 = inttoptr i64 %5 to i32* store i32 %3, i32* %6, align 4 %7 = add i64 %1, 8 %8 = inttoptr i64 %7 to i64* store i64 %0, i64* %8, align 8 %9 = add i64 %1, 16 %10 = inttoptr i64 %9 to i64* store i64 %arg5, i64* %10, align 8 %11 = add i64 %1, 24 %12 = inttoptr i64 %11 to i64* store i64 0, i64* %12, align 8 %13 = add i64 %1, 32 %14 = inttoptr i64 %13 to i32* store i32 0, i32* %14, align 4 %15 = icmp eq i64 %arg5, 0 store i64 0, i64* %indvars.iv.reg2mem store i32 0, i32* %sv_0.03.reg2mem store i32 0, i32* %sv_0.0.lcssa.reg2mem br i1 %15, label LBL_2, label LBL_1 LBL_1: %sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %16 = add i64 %indvars.iv.reload, %0 %17 = inttoptr i64 %16 to i8* %18 = load i8, i8* %17, align 1 %19 = zext i8 %18 to i32 %indvars.iv.tr = trunc i64 %indvars.iv.reload to i32 %20 = mul i32 %indvars.iv.tr, 8 %21 = sub i32 24, %20 %22 = and i32 %21, 24 %23 = shl i32 %19, %22 %24 = or i32 %23, %sv_0.03.reload %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %25 = icmp ult i64 %indvars.iv.next, %arg5 %26 = icmp ult i64 %indvars.iv.next, 4 %or.cond = icmp eq i1 %26, %25 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %24, i32* %sv_0.03.reg2mem store i32 %24, i32* %sv_0.0.lcssa.reg2mem br i1 %or.cond, label LBL_1, label LBL_2 LBL_2: %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %27 = add i64 %1, 36 %28 = inttoptr i64 %27 to i32* store i32 %sv_0.0.lcssa.reload, i32* %28, align 4 ret i64 %1 uselistorder i64 %indvars.iv.next, { 0, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.03.reg2mem, { 2, 0, 1 } uselistorder i32 24, { 1, 0 } uselistorder i64 %arg5, { 1, 0, 2 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
afs_rx_discard_new_call_17621
afs_rx_discard_new_call
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64* nonnull @gv_0) %1 = inttoptr i64 %arg2 to i64* store i64 0, i64* %1, align 8 %2 = call i64 @FUNC(i64 %arg2) ret i64 %2 uselistorder i64 %arg2, { 1, 0 } }
1
BinRealVul
cons_show_wins_17911
cons_show_wins
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge1.reg2mem = alloca i64 %0 = call i64 @FUNC() %1 = call i64 @FUNC(i64* nonnull @gv_0) %2 = call i64 @FUNC(i64* bitcast ([16 x i8]* @gv_1 to i64*)) %3 = call i64 @FUNC() %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false store i64 %3, i64* %storemerge1.reg2mem br i1 %5, label LBL_1, label LBL_2 LBL_1: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %6 = inttoptr i64 %storemerge1.reload to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 %0, i64 %7) %9 = call i64 @FUNC(i64 %storemerge1.reload) %10 = icmp eq i64 %9, 0 %11 = icmp eq i1 %10, false store i64 %9, i64* %storemerge1.reg2mem br i1 %11, label LBL_1, label LBL_2 LBL_2: %12 = call i64 @FUNC(i64* nonnull @gv_0) %13 = call i64 @FUNC() ret i64 %13 uselistorder i64 %storemerge1.reload, { 1, 0 } uselistorder i64* %storemerge1.reg2mem, { 2, 0, 1 } uselistorder i1 false, { 1, 0 } uselistorder i64 (i64*)* @cons_show, { 2, 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
lsr_end_of_stream_13020
lsr_end_of_stream
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i32 @puts(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_0, i64 0, i64 0)) %2 = bitcast i64* %arg1 to i32* store i32 -1, i32* %2, align 4 ret i64 %0 }
1
BinRealVul
ff_thread_get_buffer_16962
ff_thread_get_buffer
define i64 @FUNC(i32* %arg1, i64* %arg2) 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 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i32* %arg1 to i64 %4 = add i64 %3, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 store i64 %3, i64* %arg2, align 8 %7 = call i64 @FUNC(i64 %3, i64 %2) %8 = urem i64 %1, 2 %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_2, label LBL_1 LBL_1: %11 = add i64 %2, 8 %12 = inttoptr i64 %11 to i64* store i64 0, i64* %12, align 8 store i64 %3, i64* %rax.0.reg2mem br label LBL_17 LBL_2: %13 = inttoptr i64 %6 to i32* %14 = load i32, i32* %13, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label LBL_7, label LBL_3 LBL_3: %16 = add i64 %3, 24 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_6, label LBL_4 LBL_4: %23 = add i64 %3, 32 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = icmp eq i32 %25, 0 %27 = icmp eq i1 %26, false br i1 %27, label LBL_7, label LBL_5 LBL_5: %28 = add i64 %3, 16 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = icmp eq i64 %30, 4198904 br i1 %31, label LBL_7, label LBL_6 LBL_6: %32 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([62 x i8], [62 x i8]* @gv_0, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_17 LBL_7: %33 = add i64 %6, 8 %34 = inttoptr i64 %33 to i64* %35 = load i64, i64* %34, align 8 %36 = add i64 %35, 40 %37 = inttoptr i64 %36 to i64* %38 = call i32 @pthread_mutex_lock(i64* %37) %39 = call i64 @FUNC(i64 %6) %40 = add i64 %2, 8 %41 = inttoptr i64 %40 to i64* store i64 %39, i64* %41, align 8 %42 = icmp eq i64 %39, 0 %43 = icmp eq i1 %42, false br i1 %43, label LBL_9, label LBL_8 LBL_8: %44 = load i64, i64* %34, align 8 %45 = add i64 %44, 40 %46 = inttoptr i64 %45 to i64* %47 = call i32 @pthread_mutex_unlock(i64* %46) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_17 LBL_9: %48 = inttoptr i64 %39 to i32* %49 = add i64 %39, 4 %50 = inttoptr i64 %49 to i32* store i32 -1, i32* %50, align 4 store i32 -1, i32* %48, align 4 %51 = add i64 %3, 32 %52 = inttoptr i64 %51 to i32* %53 = load i32, i32* %52, align 4 %54 = icmp eq i32 %53, 0 %55 = icmp eq i1 %54, false br i1 %55, label LBL_11, label LBL_10 LBL_10: %56 = add i64 %3, 16 %57 = inttoptr i64 %56 to i64* %58 = load i64, i64* %57, align 8 %59 = icmp eq i64 %58, 4198904 %60 = icmp eq i1 %59, false br i1 %60, label LBL_12, label LBL_11 LBL_11: %61 = trunc i64 %3 to i32 store i32 %61, i32* %sv_0.0.reg2mem br label LBL_16 LBL_12: %62 = add i64 %6, 104 %63 = inttoptr i64 %62 to i64* store i64 %2, i64* %63, align 8 store i32 1, i32* %13, align 4 %64 = add i64 %6, 16 %65 = inttoptr i64 %64 to i64* %66 = call i32 @pthread_mutex_lock(i64* %65) %67 = add i64 %6, 56 %68 = inttoptr i64 %67 to i64* %69 = call i32 @pthread_cond_signal(i64* %68) %70 = load i32, i32* %13, align 4 %71 = icmp eq i32 %70, 0 %72 = icmp eq i1 %71, false br i1 %72, label LBL_13, label LBL_14 LBL_13: %73 = call i32 @pthread_cond_wait(i64* %68, i64* %65) %74 = load i32, i32* %13, align 4 %75 = icmp eq i32 %74, 0 %76 = icmp eq i1 %75, false br i1 %76, label LBL_13, label LBL_14 LBL_14: %77 = add i64 %6, 112 %78 = inttoptr i64 %77 to i32* %79 = load i32, i32* %78, align 4 %80 = call i32 @pthread_mutex_unlock(i64* %65) %81 = add i64 %3, 24 %82 = inttoptr i64 %81 to i64* %83 = load i64, i64* %82, align 8 %84 = inttoptr i64 %83 to i32* %85 = load i32, i32* %84, align 4 %86 = icmp eq i32 %85, 0 %87 = icmp eq i1 %86, false store i32 %79, i32* %sv_0.0.reg2mem br i1 %87, label LBL_16, label LBL_15 LBL_15: %88 = call i64 @FUNC(i64 %3) store i32 %79, i32* %sv_0.0.reg2mem br label LBL_16 LBL_16: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %89 = load i64, i64* %34, align 8 %90 = add i64 %89, 40 %91 = inttoptr i64 %90 to i64* %92 = call i32 @pthread_mutex_unlock(i64* %91) %93 = zext i32 %sv_0.0.reload to i64 store i64 %93, i64* %rax.0.reg2mem br label LBL_17 LBL_17: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %39, { 0, 1, 3, 2 } uselistorder i64* %34, { 1, 0, 2 } uselistorder i32* %13, { 1, 0, 2, 3 } uselistorder i64 %3, { 6, 5, 7, 9, 8, 1, 4, 3, 2, 0, 10, 11, 12 } uselistorder i64 %2, { 1, 2, 0, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i32 (i64*)* @pthread_mutex_unlock, { 2, 1, 0 } uselistorder i1 false, { 1, 2, 0, 3, 4, 5, 6, 7, 8 } uselistorder label LBL_13, { 1, 0 } }
1
BinRealVul
vmxnet3_net_uninit_3225
vmxnet3_net_uninit
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 = add i64 %0, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %5) ret i64 %6 }
0
BinRealVul
os_setup_post_3569
os_setup_post
define i64 @FUNC() local_unnamed_addr { LBL_0: %rax.1.reg2mem = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1 = alloca i8, align 1 %0 = load i32, i32* inttoptr (i64 4210780 to i32*), align 4 %1 = icmp eq i32 %0, 0 store i32 0, i32* %sv_0.0.reg2mem br i1 %1, label LBL_5, label LBL_1 LBL_1: %2 = call i32 @chdir(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0)) %3 = icmp eq i32 %2, 0 br i1 %3, label LBL_3, label LBL_2 LBL_2: call void @perror(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_1, i64 0, i64 0)) call void @exit(i32 1) unreachable LBL_3: %4 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0), i64 2) %5 = trunc i64 %4 to i32 %6 = and i64 %4, 4294967295 %7 = call i64 @FUNC(i64 %6) %8 = icmp eq i32 %5, -1 %9 = icmp eq i1 %8, false store i32 %5, i32* %sv_0.0.reg2mem br i1 %9, label LBL_5, label LBL_4 LBL_4: call void @exit(i32 1) unreachable LBL_5: %10 = call i64 @FUNC() %11 = call i64 @FUNC() %12 = load i32, i32* @gv_3, align 4 %13 = icmp eq i32 %12, 0 store i64 0, i64* %rax.1.reg2mem br i1 %13, label LBL_13, label LBL_6 LBL_6: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem store i8 0, i8* %sv_1, align 1 %14 = call i32 @dup2(i32 %sv_0.0.reload, i32 0) %15 = call i32 @dup2(i32 %sv_0.0.reload, i32 1) %16 = call i32 @dup2(i32 %sv_0.0.reload, i32 2) %17 = call i32 @close(i32 %sv_0.0.reload) %18 = bitcast i8* %sv_1 to i64* br label LBL_7 LBL_7: %19 = load i32, i32* inttoptr (i64 4210788 to i32*), align 4 %20 = call i32 @write(i32 %19, i64* nonnull %18, i32 1) %21 = icmp slt i32 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_91, label LBL_8 LBL_8: %23 = call i32* @__errno_location() %24 = load i32, i32* %23, align 4 %25 = icmp eq i32 %24, 4 br i1 %25, label LBL_7, label LBL_9 LBL_9: %26 = zext i32 %24 to i64 store i64 %26, i64* %rax.0.reg2mem br label LBL_11 LBL_10: %27 = sext i32 %20 to i64 store i64 %27, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem %28 = icmp eq i32 %20, 1 store i64 %rax.0.reload, i64* %rax.1.reg2mem br i1 %28, label LBL_13, label LBL_12 LBL_12: call void @exit(i32 1) unreachable LBL_13: %rax.1.reload = load i64, i64* %rax.1.reg2mem ret i64 %rax.1.reload uselistorder i32 (i32, i32)* @dup2, { 2, 1, 0 } uselistorder void (i32)* @exit, { 2, 1, 0 } uselistorder i32 0, { 1, 2, 3, 4, 0, 5 } uselistorder i32 1, { 7, 6, 8, 9, 10, 11, 13, 5, 4, 3, 2, 1, 0, 12 } }
0
BinRealVul
parse_dsd_diin_15832
parse_dsd_diin
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 %3) %5 = add i64 %4, 12 %6 = icmp ugt i64 %5, %arg3 %7 = icmp eq i1 %6, false store i64 0, i64* %storemerge.reg2mem br i1 %7, label LBL_1, label LBL_6 LBL_1: %8 = call i64 @FUNC(i64 %3) %9 = trunc i64 %8 to i32 %10 = call i64 @FUNC(i64 %3) %11 = trunc i64 %10 to i32 %12 = call i64 @FUNC(i64 %3) %switch.selectcmp = icmp eq i32 %9, 1145656393 %switch.select = select i1 %switch.selectcmp, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i8* null %switch.selectcmp5 = icmp eq i32 %9, 1145651538 %switch.select6 = select i1 %switch.selectcmp5, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0), i8* %switch.select %13 = icmp eq i8* %switch.select6, null %14 = icmp ult i32 %11, 5 %or.cond = or i1 %14, %13 br i1 %or.cond, label LBL_1.LBL_5_crit_edge, label LBL_3 LBL_2: %.pre = mul i64 %10, 4294967296 %.pre9 = ashr exact i64 %.pre, 32 store i64 %.pre9, i64* %.pre-phi.reg2mem br label LBL_5 LBL_3: %15 = call i64 @FUNC(i64 %3) %sext = mul i64 %10, 4294967296 %16 = ashr exact i64 %sext, 32 %17 = add nsw i64 %16, -4 %18 = and i64 %15, 4294967295 %19 = icmp ugt i64 %17, %18 %20 = select i1 %19, i64 %18, i64 %17 %21 = ptrtoint i8* %switch.select6 to i64 %22 = call i64 @FUNC(i64 %3, i64 %21, i64 %20) %23 = trunc i64 %22 to i32 %24 = icmp slt i32 %23, 0 %25 = icmp eq i1 %24, false store i64 %16, i64* %.pre-phi.reg2mem br i1 %25, label LBL_5, label LBL_4 LBL_4: %26 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_2, i64 0, i64 0), i64 %21, i64 %2, i64 %1) %27 = and i64 %22, 4294967295 store i64 %27, i64* %storemerge.reg2mem br label LBL_6 LBL_5: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %28 = call i64 @FUNC(i64 %3) %29 = urem i64 %10, 2 %30 = add i64 %29, %12 %31 = add i64 %30, %.pre-phi.reload %32 = sub i64 %31, %28 %33 = call i64 @FUNC(i64 %3, i64 %32) %34 = call i64 @FUNC(i64 %3) %35 = add i64 %34, 12 %36 = icmp ugt i64 %35, %arg3 %37 = icmp eq i1 %36, false store i64 0, i64* %storemerge.reg2mem br i1 %37, label LBL_1, label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i8* %switch.select6, { 1, 0 } uselistorder i64 %10, { 2, 0, 1, 3 } uselistorder i64 %3, { 9, 4, 5, 1, 2, 3, 6, 8, 7, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder i8* null, { 1, 0 } uselistorder i1 false, { 2, 1, 0 } uselistorder i64 12, { 1, 0 } uselistorder i64 (i64)* @avio_tell, { 1, 3, 2, 0 } uselistorder i64 %arg3, { 1, 0 } uselistorder label LBL_6, { 0, 2, 1 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
_gnutls_handshake_internal_state_init_5684
_gnutls_handshake_internal_state_init
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = inttoptr i64 %arg1 to i32* store i32 0, i32* %0, align 4 %1 = add i64 %arg1, 4 %2 = inttoptr i64 %1 to i32* store i32 0, i32* %2, align 4 %3 = add i64 %arg1, 8 %4 = inttoptr i64 %3 to i32* store i32 0, i32* %4, align 4 %5 = add i64 %arg1, 12 %6 = inttoptr i64 %5 to i32* store i32 -1, i32* %6, align 4 %7 = add i64 %arg1, 16 %8 = inttoptr i64 %7 to i32* store i32 -1, i32* %8, align 4 %9 = add i64 %arg1, 20 %10 = inttoptr i64 %9 to i32* store i32 1, i32* %10, align 4 %11 = add i64 %arg1, 24 %12 = inttoptr i64 %11 to i32* store i32 0, i32* %12, align 4 %13 = add i64 %arg1, 28 %14 = inttoptr i64 %13 to i32* store i32 0, i32* %14, align 4 %15 = add i64 %arg1, 32 %16 = inttoptr i64 %15 to i32* store i32 0, i32* %16, align 4 ret i64 %arg1 uselistorder i64 %arg1, { 1, 0, 2, 3, 4, 5, 6, 7, 8, 9 } }
0
BinRealVul
f2fs_wait_discard_bios_13500
f2fs_wait_discard_bios
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 0) %2 = call i64 @FUNC(i64 %0) %3 = urem i64 %arg2, 256 %4 = icmp eq i64 %3, 0 %5 = zext i1 %4 to i64 %6 = call i64 @FUNC(i64 %0, i64 %5) ret i64 %6 }
0
BinRealVul
php_autoglobal_merge_8707
php_autoglobal_merge
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = call i64* @malloc(i32 16) %1 = ptrtoint i64* %0 to i64 store i64 0, i64* %0, align 8 %2 = add i64 %1, 8 %3 = inttoptr i64 %2 to i64* store i64 0, i64* %3, align 8 %4 = call i64* @malloc(i32 8) %5 = ptrtoint i64* %4 to i64 %6 = bitcast i64* %4 to i32* store i32 1, i32* %6, align 4 %7 = add i64 %5, 4 %8 = inttoptr i64 %7 to i32* %9 = icmp eq i64 %arg1, ptrtoint (i64* @gv_0 to i64) store i32 2, i32* %8, align 4 %10 = icmp eq i64* %0, null %11 = icmp eq i1 %9, false %or.cond = or i1 %11, %10 br i1 %or.cond, label LBL_5, label LBL_1 LBL_1: %12 = load i64, i64* %0, align 8 %13 = icmp eq i64 %12, 7 %14 = icmp eq i1 %13, false br i1 %14, label LBL_5, label LBL_2 LBL_2: %15 = load i64, i64* %3, align 8 %phitmp = inttoptr i64 %15 to i64* %16 = call i32 @memcmp(i64* %phitmp, i64* bitcast ([8 x i8]* @gv_1 to i64*), i32 7) %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false br i1 %18, label LBL_5, label LBL_3 LBL_3: %19 = load i32, i32* %8, align 4 %20 = icmp slt i32 %19, 1 br i1 %20, label LBL_5, label LBL_4 LBL_4: %21 = add i32 %19, -1 store i32 %21, i32* %8, align 4 br label LBL_5 LBL_5: call void @free(i64* %4) call void @free(i64* %0) ret i64 ptrtoint (i32* @0 to i64) uselistorder i32* %8, { 1, 2, 0 } uselistorder i1 false, { 1, 2, 0 } uselistorder i64* (i32)* @malloc, { 1, 0 } uselistorder label LBL_5, { 4, 3, 2, 1, 0 } }
0
BinRealVul
lpfc_rq_adjust_repost_17589
lpfc_rq_adjust_repost
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %sext = mul i64 %arg3, 4294967296 %1 = ashr exact i64 %sext, 29 %2 = add i64 %1, ptrtoint (i64* @gv_0 to i64) %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = udiv i32 %6, 8 %8 = icmp ult i32 %6, 8 %9 = icmp eq i1 %8, false %spec.select = select i1 %9, i32 %7, i32 1 %10 = bitcast i64* %arg2 to i32* store i32 %spec.select, i32* %10, align 4 ret i64 %0 }
1
BinRealVul
php_object_property_dump_9484
php_object_property_dump
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %sv_0 = alloca i8*, align 8 %sv_1 = alloca i64, align 8 %sext = mul i64 %arg4, 4294967296 %3 = ashr exact i64 %sext, 32 %4 = icmp eq i64* %arg3, null %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = add nsw i64 %3, 1 %7 = and i64 %6, 4294967295 %8 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i64 %7, i64 32, i64 %arg2, i64 %2, i64 %1) br label LBL_9 LBL_2: %9 = ptrtoint i64* %arg3 to i64 %10 = ptrtoint i8** %sv_0 to i64 %11 = bitcast i8** %sv_0 to i64* %12 = call i64 @FUNC(i64 %9, i64* nonnull %11, i64* nonnull %sv_1) %13 = add nsw i64 %3, 1 %14 = and i64 %13, 4294967295 %15 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i64 %14, i64 32, i64 %10, i64 %2, i64 %1) %16 = load i8*, i8** %sv_0, align 8 %17 = icmp eq i8* %16, null br i1 %17, label LBL_7, label LBL_3 LBL_3: %18 = trunc i64 %12 to i32 %19 = icmp eq i32 %18, 0 %20 = icmp eq i1 %19, false br i1 %20, label LBL_7, label LBL_4 LBL_4: %21 = load i8, i8* %16, align 1 %22 = icmp eq i8 %21, 42 %23 = icmp eq i1 %22, false br i1 %23, label LBL_6, label LBL_5 LBL_5: %24 = load i64, i64* %sv_1, align 8 %25 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0), i64 %24, i64 32, i64 %10, i64 %2, i64 %1) br label LBL_8 LBL_6: %26 = ptrtoint i8* %16 to i64 %27 = load i64, i64* %sv_1, align 8 %28 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_3, i64 0, i64 0), i64 %27, i64 %26, i64 %10, i64 %2, i64 %1) br label LBL_8 LBL_7: %29 = call i64 @FUNC(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_4, i64 0, i64 0), i64 %14, i64 32, i64 %10, i64 %2, i64 %1) %30 = load %_IO_FILE*, %_IO_FILE** @gv_5, align 8 %31 = ptrtoint %_IO_FILE* %30 to i64 %32 = add i64 %9, 8 %33 = inttoptr i64 %32 to i64* %34 = load i64, i64* %33, align 8 %35 = inttoptr i64 %34 to i64* %36 = trunc i64 %34 to i32 %37 = call i32 @fwrite(i64* %35, i32 1, i32 %36, %_IO_FILE* %30) %38 = call i64 @FUNC(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_4, i64 0, i64 0), i64 1, i64 %34, i64 %31, i64 %2, i64 %1) br label LBL_8 LBL_8: %39 = call i32 @puts(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_6, i64 0, i64 0)) br label LBL_9 LBL_9: %40 = ptrtoint i64* %arg1 to i64 %41 = add nsw i64 %3, 2 %42 = and i64 %41, 4294967295 %43 = call i64 @FUNC(i64 %40, i64 %42) ret i64 %43 uselistorder i64 %34, { 2, 1, 0 } uselistorder i64 %10, { 2, 1, 0, 3 } uselistorder i64* %sv_1, { 1, 2, 0 } uselistorder i8** %sv_0, { 1, 2, 0 } uselistorder i64 %2, { 5, 4, 3, 2, 1, 0 } uselistorder i64 %1, { 5, 4, 3, 2, 1, 0 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @php_printf, { 5, 4, 3, 2, 1, 0 } uselistorder i64 4294967295, { 1, 0, 2, 3 } uselistorder i64 32, { 1, 0, 3, 4, 2 } uselistorder i64* %arg3, { 1, 0 } }
0
BinRealVul
srt_write_packet_16601
srt_write_packet
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %.pre-phi6.reg2mem = alloca i64* %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg2 to i64 %6 = ptrtoint i64* %arg1 to i64 %7 = add i64 %6, 16 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = inttoptr i64 %9 to i32* %11 = trunc i64 %3 to i32 %12 = icmp eq i32 %11, 1 %13 = icmp eq i1 %12, false %14 = load i32, i32* %10, align 4 %15 = add i32 %14, 1 store i32 %15, i32* %10, align 4 %16 = icmp eq i1 %13, false br i1 %16, label LBL_0.LBL_7_crit_edge, label LBL_2 LBL_1: %.pre = add i64 %6, 8 %.pre5 = inttoptr i64 %.pre to i64* store i64* %.pre5, i64** %.pre-phi6.reg2mem br label LBL_7 LBL_2: %17 = add i64 %5, 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = icmp eq i64 %19, 0 %21 = icmp slt i64 %19, 0 %22 = icmp eq i1 %21, false %23 = icmp eq i1 %20, false %24 = icmp eq i1 %22, %23 store i64 %19, i64* %sv_0.0.reg2mem br i1 %24, label LBL_4, label LBL_3 LBL_3: %25 = add i64 %5, 16 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 store i64 %27, i64* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %28 = icmp ne i64* %arg2, inttoptr (i64 -1 to i64*) %29 = icmp slt i64 %sv_0.0.reload, 0 %30 = icmp eq i1 %29, false %or.cond = icmp eq i1 %28, %30 br i1 %or.cond, label LBL_6, label LBL_5 LBL_5: %31 = call i64 @FUNC(i64 %6, i64 0, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %2, i64 %1) store i64 4294967274, i64* %storemerge.reg2mem br label LBL_10 LBL_6: %32 = lshr i64 %5, 63 %33 = ashr i64 %5, 63 %34 = udiv i64 %33, 4294967296 %35 = trunc i64 %34 to i32 %36 = trunc i64 %32 to i32 %37 = add i32 %35, %36 %38 = ashr i32 %37, 5 %39 = mul i32 %38, -60 %40 = or i32 %39, %36 %41 = lshr i64 %5, 63 %42 = ashr i64 %5, 63 %43 = udiv i64 %42, 4294967296 %44 = trunc i64 %43 to i32 %45 = trunc i64 %41 to i32 %46 = add i32 %44, %45 %47 = ashr i32 %46, 5 %48 = mul i32 %47, -60 %49 = or i32 %48, %45 %50 = add i64 %6, 8 %51 = inttoptr i64 %50 to i64* %52 = load i64, i64* %51, align 8 %53 = zext i32 %40 to i64 %54 = zext i32 %49 to i64 %55 = call i64 @FUNC(i64 %52, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i32 %15, i64 0, i64 %54, i64 %53) store i64* %51, i64** %.pre-phi6.reg2mem br label LBL_7 LBL_7: %.pre-phi6.reload = load i64*, i64** %.pre-phi6.reg2mem %56 = add i64 %5, 32 %57 = inttoptr i64 %56 to i32* %58 = load i32, i32* %57, align 4 %59 = add i64 %5, 24 %60 = inttoptr i64 %59 to i64* %61 = load i64, i64* %60, align 8 %62 = load i64, i64* %.pre-phi6.reload, align 8 %63 = call i64 @FUNC(i64 %62, i64 %61, i32 %58) br i1 %16, label LBL_9, label LBL_8 LBL_8: %64 = load i64, i64* %.pre-phi6.reload, align 8 %65 = call i64 @FUNC(i64 %64, i64 ptrtoint ([3 x i8]* @gv_2 to i64), i32 2) br label LBL_9 LBL_9: %66 = load i64, i64* %.pre-phi6.reload, align 8 %67 = call i64 @FUNC(i64 %66) store i64 0, i64* %storemerge.reg2mem br label LBL_10 LBL_10: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %.pre-phi6.reload, { 1, 0, 2 } uselistorder i64 %19, { 0, 2, 1 } uselistorder i64 %6, { 1, 2, 0, 3 } uselistorder i64 %5, { 7, 6, 0, 1, 2, 3, 4, 5 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i64, i64, i32)* @avio_write, { 1, 0 } uselistorder i64 8, { 1, 2, 0 } uselistorder i1 false, { 0, 3, 1, 2, 4 } uselistorder label LBL_7, { 1, 0 } }
1
BinRealVul
alloc_identity_pagetable_8617
alloc_identity_pagetable
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 = add i64 %2, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 %2, i64 0, i64 %7, i64 4096) %9 = and i64 %8, 4294967295 ret i64 %9 }
0
BinRealVul
mov_read_wide_14611
mov_read_wide
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i32 %rax.0.reg2mem = alloca i64 %1 = load i32, i32* %0 %2 = trunc i64 %arg4 to i32 %3 = icmp ult i32 %2, 8 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_6, label LBL_1 LBL_1: %4 = ptrtoint i64* %arg2 to i64 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = add i64 %arg4, 4294967292 %9 = and i64 %8, 4294967295 %10 = call i64 @FUNC(i64 %4, i64 %9) store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_3: %11 = call i64 @FUNC(i64 %4) %12 = add i32 %2, -8 %13 = icmp eq i32 %1, 1835295092 br i1 %13, label LBL_5, label LBL_4 LBL_4: %14 = zext i32 %12 to i64 %15 = call i64 @FUNC(i64 %4, i64 %14) store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_5: %16 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %11, 4294967296 %17 = ashr exact i64 %sext, 32 %18 = zext i32 %12 to i64 %19 = call i64 @FUNC(i64 %16, i64 %4, i64 %17, i64 %18) %20 = and i64 %19, 4294967295 store i64 %20, 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 %12, { 1, 0 } uselistorder i64 %4, { 2, 1, 3, 0, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64 (i64, i64)* @url_fskip, { 1, 0 } uselistorder label LBL_6, { 1, 2, 3, 0 } }
1
BinRealVul
ceph_con_in_msg_alloc_5382
ceph_con_in_msg_alloc
define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %rdi.1.reg2mem = alloca i64 %.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %1 = load i64, i64* %0 %rsi = alloca i64, align 8 %2 = ptrtoint i32* %arg1 to i64 %3 = and i64 %1, 4294967295 %4 = call i64 @FUNC(i64 %3) %5 = add i64 %2, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = zext i32 %7 to i64 %9 = call i64 @FUNC(i64 %8) %10 = add i64 %2, 8 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = zext i32 %12 to i64 %14 = call i64 @FUNC(i64 %13) %15 = add i64 %2, 16 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = icmp eq i64 %17, 0 br i1 %18, label LBL_2, label LBL_1 LBL_1: %19 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %20 = call i32 @fwrite(i64* bitcast ([23 x i8]* @gv_1 to i64*), i32 1, i32 22, %_IO_FILE* %19) call void @exit(i32 1) unreachable LBL_2: %21 = add i64 %2, 24 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = icmp eq i64 %25, 0 br i1 %26, label LBL_10, label LBL_3 LBL_3: %27 = add i64 %2, 48 %28 = call i64 @FUNC(i64 %27) %29 = call i64 @FUNC(i64 %27) %30 = add i64 %2, 32 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = icmp eq i32 %32, 0 br i1 %33, label LBL_6, label LBL_4 LBL_4: %34 = icmp eq i32* %arg1, null store i64 4294967285, i64* %rax.0.reg2mem br i1 %34, label LBL_20, label LBL_5 LBL_5: %35 = call i64 @FUNC(i64 %2) store i64 4294967285, i64* %rax.0.reg2mem br label LBL_20 LBL_6: store i64 %2, i64* %16, align 8 %36 = bitcast i64* %rsi to i32* %37 = load i32, i32* %36, align 8 %38 = icmp eq i32 %37, 0 br i1 %38, label LBL_8, label LBL_7 LBL_7: store i64 0, i64* %16, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_20 LBL_8: %39 = icmp eq i32* %arg1, null %40 = icmp eq i1 %39, false store i64 %10, i64* %.pre-phi.reg2mem store i64 %2, i64* %.reg2mem store i64 %2, i64* %rdi.1.reg2mem br i1 %40, label LBL_15, label LBL_9 LBL_9: %41 = add i64 %2, 40 %42 = inttoptr i64 %41 to i64* store i64 ptrtoint ([45 x i8]* @gv_2 to i64), i64* %42, align 8 store i64 4294967284, i64* %rax.0.reg2mem br label LBL_20 LBL_10: %43 = trunc i64 %9 to i32 %44 = and i64 %4, 4294967295 %45 = call i64 @FUNC(i64 %44, i32 %43, i64 0, i64 0) store i64 %45, i64* %16, align 8 %46 = icmp eq i64 %45, 0 %47 = icmp eq i1 %46, false br i1 %47, label LBL_12, label LBL_11 LBL_11: %48 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %49 = and i64 %9, 4294967295 %50 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %48, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_3, i64 0, i64 0), i64 %44, i64 %49) store i64 4294967284, i64* %rax.0.reg2mem br label LBL_20 LBL_12: %51 = add i64 %45, 16 %52 = inttoptr i64 %51 to i64* store i64 %2, i64* %52, align 8 %53 = load i64, i64* %16, align 8 %54 = add i64 %53, 16 %55 = inttoptr i64 %54 to i64* %56 = load i64, i64* %55, align 8 %57 = icmp eq i64 %56, 0 %58 = icmp eq i1 %57, false br i1 %58, label LBL_14, label LBL_13 LBL_13: %59 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %60 = call i32 @fwrite(i64* bitcast ([23 x i8]* @gv_1 to i64*), i32 1, i32 22, %_IO_FILE* %59) call void @exit(i32 1) unreachable LBL_14: %61 = add i64 %2, 12 %62 = inttoptr i64 %61 to i32* %63 = load i32, i32* %62, align 4 %64 = zext i32 %63 to i64 %65 = call i64 @FUNC(i64 %64) %66 = trunc i64 %65 to i32 %67 = add i64 %53, 32 %68 = inttoptr i64 %67 to i32* store i32 %66, i32* %68, align 4 %.pre = load i64, i64* %16, align 8 %.pre18 = add i64 %.pre, 8 store i64 %.pre18, i64* %.pre-phi.reg2mem store i64 %.pre, i64* %.reg2mem store i64 %64, i64* %rdi.1.reg2mem br label LBL_15 LBL_15: %69 = trunc i64 %14 to i32 %rdi.1.reload = load i64, i64* %rdi.1.reg2mem %.reload = load i64, i64* %.reg2mem %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %70 = inttoptr i64 %10 to i64* %71 = load i64, i64* %70, align 8 %72 = inttoptr i64 %.reload to i64* store i64 %rdi.1.reload, i64* %72, align 8 %73 = inttoptr i64 %.pre-phi.reload to i64* store i64 %71, i64* %73, align 8 %74 = icmp eq i32 %69, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %74, label LBL_19, label LBL_16 LBL_16: %75 = load i64, i64* %16, align 8 %76 = add i64 %75, 24 %77 = inttoptr i64 %76 to i64* %78 = load i64, i64* %77, align 8 %79 = icmp eq i64 %78, 0 %80 = icmp eq i1 %79, false store i64 0, i64* %sv_0.0.reg2mem br i1 %80, label LBL_19, label LBL_17 LBL_17: %81 = call i64 @FUNC(i64 %2, i64 %75) %82 = trunc i64 %81 to i32 %83 = icmp slt i32 %82, 0 %84 = icmp eq i1 %83, false store i64 %81, i64* %sv_0.0.reg2mem br i1 %84, label LBL_19, label LBL_18 LBL_18: %85 = load i64, i64* %16, align 8 %86 = call i64 @FUNC(i64 %85) store i64 0, i64* %16, align 8 store i64 %81, i64* %sv_0.0.reg2mem br label LBL_19 LBL_19: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %87 = and i64 %sv_0.0.reload, 4294967295 store i64 %87, i64* %rax.0.reg2mem br label LBL_20 LBL_20: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %45, { 1, 0, 2 } uselistorder i64* %16, { 4, 5, 3, 0, 6, 7, 1, 2, 8 } uselistorder i64 %10, { 1, 0, 2 } uselistorder i64 %2, { 4, 10, 5, 2, 0, 1, 3, 7, 6, 9, 8, 11, 12, 13 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 4, 3, 2, 1 } uselistorder i64 4294967284, { 1, 0 } uselistorder i64 (i64)* @ceph_msg_put, { 1, 0 } uselistorder i64 4294967285, { 1, 0 } uselistorder void (i32)* @exit, { 1, 0 } uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 1, 0 } uselistorder %_IO_FILE** @gv_0, { 2, 1, 0 } uselistorder i64 (i64)* @le32_to_cpu, { 1, 0 } uselistorder i64 (i64)* @le16_to_cpu, { 1, 0 } uselistorder label LBL_20, { 2, 3, 4, 5, 1, 0 } uselistorder label LBL_15, { 1, 0 } }
0
BinRealVul
udf_get_filename_10997
udf_get_filename
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 16, i64 0) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 0, i64* %storemerge.reg2mem br i1 %2, label LBL_1, label LBL_12 LBL_1: %3 = call i64 @FUNC(i64 16, i64 0) %4 = icmp eq i64 %3, 0 store i64 0, i64* %sv_0.1.reg2mem br i1 %4, label LBL_11, label LBL_2 LBL_2: %5 = ptrtoint i64* %arg2 to i64 %6 = call i64 @FUNC(i64 %3, i64 %5, i32 %arg4) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false store i64 0, i64* %sv_0.0.reg2mem br i1 %9, label LBL_10, label LBL_3 LBL_3: %10 = ptrtoint i64* %arg1 to i64 %11 = call i64 @FUNC(i64 %10, i64 1) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 br i1 %13, label LBL_6, label LBL_4 LBL_4: %14 = call i64 @FUNC(i64 %0, i64 %3) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_9, label LBL_5 LBL_5: %18 = call i64 @FUNC(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_0, i64 0, i64 0), i64 %5) store i64 0, i64* %sv_0.0.reg2mem br label LBL_10 LBL_6: %19 = call i64 @FUNC(i64 %10, i64 2) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %21, label LBL_10, label LBL_7 LBL_7: %22 = call i64 @FUNC(i64 %10) %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = call i64 @FUNC(i64 %24, i64 %0, i64 %3) %26 = trunc i64 %25 to i32 %27 = icmp eq i32 %26, 0 %28 = icmp eq i1 %27, false br i1 %28, label LBL_9, label LBL_8 LBL_8: %29 = call i64 @FUNC(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_0, i64 0, i64 0), i64 %5) store i64 0, i64* %sv_0.0.reg2mem br label LBL_10 LBL_9: %30 = ptrtoint i64* %arg3 to i64 %31 = add i64 %3, 8 %32 = inttoptr i64 %31 to i32* %33 = load i32, i32* %32, align 4 %34 = inttoptr i64 %3 to i64* %35 = load i64, i64* %34, align 8 %36 = add i64 %0, 8 %37 = inttoptr i64 %36 to i32* %38 = load i32, i32* %37, align 4 %39 = inttoptr i64 %0 to i64* %40 = load i64, i64* %39, align 8 %41 = zext i32 %33 to i64 %42 = call i64 @FUNC(i64 %30, i64 %40, i32 %38, i64 %35, i64 %41) store i64 %42, i64* %sv_0.0.reg2mem br label LBL_10 LBL_10: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %43 = call i64 @FUNC(i64 %3) 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 %44 = call i64 @FUNC(i64 %0) %45 = and i64 %sv_0.1.reload, 4294967295 store i64 %45, i64* %storemerge.reg2mem br label LBL_12 LBL_12: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %5, { 1, 0, 2 } uselistorder i64 %3, { 4, 2, 1, 3, 0, 5, 6 } uselistorder i64 %0, { 4, 2, 1, 3, 0, 5 } uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 4, 1, 5 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @kfree, { 1, 0 } uselistorder i64 (i8*, i64)* @udf_debug, { 1, 0 } uselistorder i64 (i64, i64)* @UDF_QUERY_FLAG, { 1, 0 } uselistorder i64 1, { 3, 0, 1, 2 } uselistorder i64 (i64, i64)* @kmalloc, { 1, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_10, { 2, 3, 0, 4, 1 } }
1
BinRealVul
ape_tag_read_field_15679
ape_tag_read_field
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %4 = ptrtoint i64* %sv_2 to i64 %5 = call i64 @FUNC(i64 %3) %6 = trunc i64 %5 to i32 %7 = call i64 @FUNC(i64 %3) %8 = add i64 %4, -1088 store i64 0, i64* %indvars.iv.reg2mem store i32 0, i32* %storemerge2.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %9 = call i64 @FUNC(i64 %3) %10 = trunc i64 %9 to i32 %.off = add i32 %10, -32 %11 = icmp ugt i32 %.off, 94 br i1 %11, label LBL_4, label LBL_2 LBL_2: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %12 = trunc i64 %9 to i8 %13 = add i64 %indvars.iv.reload, %8 %14 = inttoptr i64 %13 to i8* store i8 %12, i8* %14, align 1 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %15 = add nuw nsw i32 %storemerge2.reload, 1 %16 = icmp ult i64 %indvars.iv.next, 1023 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %15, i32* %storemerge2.reg2mem br i1 %16, label LBL_1, label LBL_3 LBL_3: %17 = zext i32 %15 to i64 %18 = add i64 %8, %17 %19 = inttoptr i64 %18 to i8* store i8 0, i8* %19, align 1 br label LBL_5 LBL_4: %sext3 = mul i64 %indvars.iv.reload, 4294967296 %20 = ashr exact i64 %sext3, 32 %21 = add i64 %20, %8 %22 = inttoptr i64 %21 to i8* store i8 0, i8* %22, align 1 %23 = icmp eq i32 %10, 0 br i1 %23, label LBL_6, label LBL_5 LBL_5: %24 = call i64 @FUNC(i64 %3, i64 1, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_1, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_17 LBL_6: %25 = icmp eq i32 %6, -1 %26 = icmp eq i1 %25, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %26, label LBL_7, label LBL_17 LBL_7: %27 = urem i64 %7, 2 %28 = icmp eq i64 %27, 0 br i1 %28, label LBL_13, label LBL_8 LBL_8: %29 = call i64 @FUNC(i64 %3, i64 0) %30 = icmp eq i64 %29, 0 %31 = icmp eq i1 %30, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %31, label LBL_9, label LBL_17 LBL_9: %32 = call i64 @FUNC(i64 %3, i64 2147483647, i64* nonnull %sv_0, i64 1024) %33 = add i64 %5, 32 %34 = and i64 %33, 4294967295 %35 = inttoptr i64 %29 to i64* %36 = load i64, i64* %35, align 8 %37 = call i64 @FUNC(i64 %34) %38 = inttoptr i64 %36 to i64* store i64 %37, i64* %38, align 8 %39 = load i64, i64* %35, align 8 %40 = inttoptr i64 %39 to i64* %41 = load i64, i64* %40, align 8 %42 = icmp eq i64 %41, 0 %43 = icmp eq i1 %42, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %43, label LBL_10, label LBL_17 LBL_10: %44 = call i64 @FUNC(i64 %3, i64 %41, i32 %6) %45 = trunc i64 %44 to i32 %46 = icmp eq i32 %6, %45 %47 = load i64, i64* %35, align 8 br i1 %46, label LBL_12, label LBL_11 LBL_11: %48 = call i64 @FUNC(i64 %47) store i64 4294967291, i64* %rax.0.reg2mem br label LBL_17 LBL_12: %49 = add i64 %47, 8 %50 = inttoptr i64 %49 to i32* store i32 %6, i32* %50, align 4 %51 = add i64 %29, 8 %52 = call i64 @FUNC(i64 %51, i64* nonnull %sv_1, i64* nonnull %sv_0, i64 0) %53 = load i64, i64* %35, align 8 %54 = add i64 %53, 12 %55 = inttoptr i64 %54 to i32* store i32 1, i32* %55, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_17 LBL_13: %56 = add i64 %5, 1 %57 = and i64 %56, 4294967295 %58 = call i64 @FUNC(i64 %57) %59 = icmp eq i64 %58, 0 %60 = icmp eq i1 %59, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %60, label LBL_14, label LBL_17 LBL_14: %61 = call i64 @FUNC(i64 %3, i64 %58, i32 %6) %62 = trunc i64 %61 to i32 %63 = icmp slt i32 %62, 0 %64 = icmp eq i1 %63, false br i1 %64, label LBL_16, label LBL_15 LBL_15: %65 = and i64 %61, 4294967295 store i64 %65, i64* %rax.0.reg2mem br label LBL_17 LBL_16: %sext = mul i64 %61, 4294967296 %66 = ashr exact i64 %sext, 32 %67 = add i64 %66, %58 %68 = inttoptr i64 %67 to i8* store i8 0, i8* %68, align 1 %69 = add i64 %3, 8 %70 = inttoptr i64 %58 to i64* %71 = call i64 @FUNC(i64 %69, i64* nonnull %sv_1, i64* %70, i64 1) store i64 0, i64* %rax.0.reg2mem br label LBL_17 LBL_17: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %58, { 1, 0, 2, 3 } uselistorder i64 %47, { 1, 0 } uselistorder i32 %15, { 1, 0 } uselistorder i64 %indvars.iv.reload, { 2, 0, 1 } uselistorder i64 %8, { 1, 0, 2 } uselistorder i32 %6, { 3, 0, 2, 1, 4 } uselistorder i64 %3, { 4, 5, 1, 2, 3, 0, 6, 7, 8 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 9, 3, 1, 8, 4, 5, 6, 7 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64*, i64*, i64)* @av_dict_set, { 1, 0 } uselistorder i64 (i64, i64, i32)* @avio_read, { 1, 0 } uselistorder i64 (i64)* @av_malloc, { 1, 0 } uselistorder i64 4294967295, { 2, 3, 4, 0, 1 } uselistorder i64 32, { 1, 2, 0 } uselistorder i8 0, { 1, 2, 0, 3 } uselistorder i64 1, { 2, 1, 3, 0 } uselistorder i32 0, { 1, 2, 0 } uselistorder i64 (i64)* @avio_rl32, { 1, 0 } uselistorder label LBL_17, { 1, 6, 2, 0, 7, 3, 4, 5, 8 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
get_audio_frame_size_16195
get_audio_frame_size
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 i32 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 1 %4 = icmp eq i1 %3, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_8 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 = icmp sgt i32 %8, 1 store i32 %8, i32* %sv_0.0.reg2mem br i1 %9, label LBL_7, label LBL_2 LBL_2: %10 = and i64 %1, 4294967295 %11 = call i64 @FUNC(i64 %10) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 br i1 %13, label LBL_5, label LBL_3 LBL_3: %14 = add i64 %5, 8 %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 4294967295, i64* %rax.0.reg2mem br i1 %18, label LBL_4, label LBL_8 LBL_4: %sext = mul i64 %arg2, 4294967296 %19 = ashr exact i64 %sext, 29 %20 = mul i32 %16, %12 %21 = trunc i64 %19 to i32 %22 = ashr i32 %21, 31 %23 = and i64 %19, 4294967288 %24 = zext i32 %22 to i64 %25 = mul i64 %24, 4294967296 %26 = or i64 %25, %23 %27 = zext i32 %20 to i64 %28 = sdiv i64 %26, %27 %29 = trunc i64 %28 to i32 store i32 %29, i32* %sv_0.0.reg2mem br label LBL_7 LBL_5: %30 = add i64 %5, 12 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = icmp eq i32 %32, 0 %34 = icmp eq i1 %33, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %34, label LBL_6, label LBL_8 LBL_6: %35 = add i64 %5, 16 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = trunc i64 %arg2 to i32 %39 = mul i32 %38, 8 %40 = mul i32 %37, %39 %41 = ashr i32 %40, 31 %42 = zext i32 %40 to i64 %43 = zext i32 %41 to i64 %44 = mul i64 %43, 4294967296 %45 = or i64 %44, %42 %46 = zext i32 %32 to i64 %47 = sdiv i64 %45, %46 %48 = trunc i64 %47 to i32 store i32 %48, i32* %sv_0.0.reg2mem br label LBL_7 LBL_7: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %49 = zext i32 %sv_0.0.reload to i64 store i64 %49, 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 %40, { 1, 0 } uselistorder i64 %19, { 1, 0 } uselistorder i64 %5, { 2, 0, 1, 3 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i64 16, { 1, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_8, { 3, 0, 1, 2 } uselistorder label LBL_7, { 1, 2, 0 } }
1
BinRealVul
nbd_recv_coroutines_enter_all_1318
nbd_recv_coroutines_enter_all
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %1 = mul i64 %indvars.iv.reload, 8 %2 = add i64 %1, %0 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = icmp eq i64 %4, 0 store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_3, label LBL_2 LBL_2: %6 = call i64 @FUNC(i64 %4) store i64 %6, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 10 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_4, label LBL_1 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } }
0
BinRealVul
init_12549
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 = call i64 @FUNC(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0)) %5 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_5, i64 0, i64 0)) store i64 %5, i64* @gv_2, align 8 %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false store i64 %5, i64* %.reg2mem br i1 %7, label LBL_4, label LBL_2 LBL_2: %8 = call i64 @FUNC(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0)) %9 = call i64 @FUNC() store i64 %9, i64* @gv_2, align 8 %10 = icmp eq i64 %9, 0 %11 = icmp eq i1 %10, false store i64 %9, i64* %.reg2mem br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_7, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0)) br label LBL_9 LBL_4: %.reload = load i64, i64* %.reg2mem %13 = call i64 @FUNC(i64 %.reload, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0)) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 br i1 %15, label LBL_6, label LBL_5 LBL_5: %16 = call i32 @unlink(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_5, i64 0, i64 0)) br label LBL_6 LBL_6: %17 = load i64, i64* @gv_2, align 8 %18 = call i64 @FUNC(i64 %17) %19 = call i64 @FUNC() store i64 %19, i64* @gv_8, align 8 %20 = icmp eq i64 %19, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_8, label LBL_7 LBL_7: %22 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_9, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0)) br label LBL_9 LBL_8: %23 = call i64 @FUNC(i64 0) store i64 %23, i64* %storemerge.reg2mem br label LBL_10 LBL_9: %24 = load i64, i64* @gv_8, align 8 %25 = call i64 @FUNC(i64 %24) %26 = load i64, i64* @gv_2, align 8 %27 = call i64 @FUNC(i64 %26) %28 = call i32 @pthread_mutex_destroy(i64* nonnull @gv_0) store i64 0, i64* @gv_8, align 8 store i64 0, i64* @gv_2, align 8 %29 = call i64 @FUNC(i64 1) store i64 %29, 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 i64 (i8*, i8*)* @LOG_ERROR, { 1, 0 } uselistorder i64 (i8*, i8*)* @LOG_WARN, { 1, 0 } uselistorder i32 1, { 2, 1, 3, 4, 5, 0, 6, 7, 8 } }
1
BinRealVul
virtio_blk_update_config_15916
virtio_blk_update_config
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = 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 i32, align 4 %sv_4 = alloca i64, align 8 %sv_5 = alloca i64, align 8 %sv_6 = alloca i64, align 8 %2 = call i64 @FUNC(i64 %1) %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i64 %4, i64* nonnull %sv_6) %6 = load i64, i64* %3, align 8 %7 = bitcast i32* %sv_3 to i64* %8 = call i64 @FUNC(i64 %6, i64* nonnull %7, i64* nonnull %sv_4, i64* nonnull %sv_5) %9 = load i64, i64* %sv_6, align 8 %10 = call i64 @FUNC(i64* nonnull %sv_2, i64 %9) %11 = call i64 @FUNC(i64* nonnull %sv_1, i64 126) %12 = load i32, i32* %sv_3, align 4 %13 = urem i32 %12, 65536 %14 = zext i32 %13 to i64 %15 = call i64 @FUNC(i64* nonnull %sv_0, i64 %14) %16 = load i64, i64* %sv_2, align 8 %17 = load i64, i64* %sv_1, align 8 store i64 %16, i64* %arg2, align 8 %18 = add i64 %0, 8 %19 = inttoptr i64 %18 to i64* store i64 %17, i64* %19, align 8 ret i64 %16 uselistorder i64 %16, { 1, 0 } uselistorder i64* %sv_6, { 1, 0 } uselistorder i64* %sv_2, { 1, 0 } uselistorder i64* %sv_1, { 1, 0 } }
1
BinRealVul
jpc_bitstream_putbits_11018
jpc_bitstream_putbits
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge3.reg2mem = alloca i64 %sv_0.06.reg2mem = alloca i64 %.in.reg2mem = alloca i32 %0 = trunc i64 %arg2 to i32 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = icmp sgt i32 %0, -1 %3 = trunc i64 %1 to i32 %4 = icmp slt i32 %3, 32 %or.cond = icmp eq i1 %2, %4 br i1 %or.cond, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i32 17, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %5 = urem i64 %1, 64 %phitmp = shl i64 -1, %5 %6 = and i64 %phitmp, %arg3 %7 = icmp eq i64 %6, 0 br i1 %7, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i32 18, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0)) br label LBL_4 LBL_4: %8 = ptrtoint i64* %arg1 to i64 %9 = add nsw i64 %1, 63 %10 = urem i64 %9, 64 %11 = add i32 %3, -1 %12 = icmp slt i32 %11, 0 %13 = icmp eq i1 %12, false store i32 %11, i32* %.in.reg2mem store i64 %arg3, i64* %sv_0.06.reg2mem store i64 0, i64* %storemerge3.reg2mem br i1 %13, label LBL_5, label LBL_7 LBL_5: %sv_0.06.reload = load i64, i64* %sv_0.06.reg2mem %storemerge24 = lshr i64 %sv_0.06.reload, %10 %14 = urem i64 %storemerge24, 2 %15 = call i64 @FUNC(i64 %8, i64 %14) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, -1 %18 = icmp eq i1 %17, false store i64 4294967295, i64* %storemerge3.reg2mem br i1 %18, label LBL_6, label LBL_7 LBL_6: %.in.reload = load i32, i32* %.in.reg2mem %19 = mul i64 %sv_0.06.reload, 2 %20 = add i32 %.in.reload, -1 %21 = icmp slt i32 %20, 0 %22 = icmp eq i1 %21, false store i32 %20, i32* %.in.reg2mem store i64 %19, i64* %sv_0.06.reg2mem store i64 0, i64* %storemerge3.reg2mem br i1 %22, label LBL_5, label LBL_7 LBL_7: %storemerge3.reload = load i64, i64* %storemerge3.reg2mem ret i64 %storemerge3.reload uselistorder i64 %sv_0.06.reload, { 1, 0 } uselistorder i64 %1, { 2, 0, 1 } uselistorder i32* %.in.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.06.reg2mem, { 2, 0, 1 } uselistorder i1 false, { 2, 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 } uselistorder i32 -1, { 3, 2, 0, 1 } uselistorder label LBL_7, { 1, 0, 2 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
__report_context_error_9639
__report_context_error
define i64 @FUNC(i8* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = trunc i64 %arg3 to i32 %2 = bitcast i64* %arg2 to i8* store i8 1, i8* %2, align 1 %3 = add i64 %0, 4 %4 = inttoptr i64 %3 to i32* store i32 %1, i32* %4, align 4 %5 = mul i64 %arg3, 8 %6 = and i64 %5, 34359738360 %7 = add i64 %6, ptrtoint ([3 x i8*]* @gv_0 to i64) %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = add i64 %0, 16 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = add i64 %0, 8 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = zext i32 %15 to i64 %17 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %18 = and i64 %arg4, 4294967295 %19 = inttoptr i64 %12 to i8* %20 = inttoptr i64 %9 to i8* %21 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %17, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_2, i64 0, i64 0), i8* %arg1, i64 %16, i8* %19, i8* %20, i64 %18) %22 = sext i32 %21 to i64 ret i64 %22 uselistorder i64 8, { 1, 0 } }
0
BinRealVul
lcdSetPixels_ArrayBuffer_flat_11505
lcdSetPixels_ArrayBuffer_flat
define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i64 %sv_0.0.ph.reg2mem = alloca i32 %sv_2.2.ph.reg2mem = alloca i8* %sv_1.0.ph.reg2mem = alloca i64 %sv_2.145.reg2mem = alloca i8* %storemerge1346.reg2mem = alloca i32 %sv_0.0.ph.be.reg2mem = alloca i32 %sv_2.2.ph.be.reg2mem = alloca i8* %sv_1.0.ph.be.reg2mem = alloca i64 %sv_2.043.reg2mem = alloca i8* %sv_3.044.reg2mem = alloca i32 %storemerge14.reg2mem = alloca i1 %.pre-phi76.reg2mem = alloca i32* %.pre75.pre-phi.reg2mem = alloca i32* %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %sext = mul i64 %arg5, 4294967296 %3 = ashr exact i64 %sext, 32 %4 = trunc i64 %arg2 to i16 %5 = trunc i64 %arg3 to i16 %6 = trunc i64 %arg4 to i16 %7 = add i64 %2, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %2, i16 %4, i16 %5, i16 %6) %11 = trunc i64 %3 to i32 %12 = icmp eq i32 %11, 0 br i1 %12, label LBL_3, label LBL_1 LBL_1: %13 = trunc i64 %1 to i32 %14 = urem i32 %13, 32 %notmask = shl nsw i32 -1, %14 %.demorgan = or i32 %notmask, %11 %15 = icmp eq i32 %.demorgan, -1 %16 = icmp eq i1 %15, false br i1 %16, label LBL_1.LBL_4_crit_edge, label LBL_3 LBL_2: %.pre77 = add i64 %2, 4 %.pre = inttoptr i64 %.pre77 to i32* store i32* %.pre, i32** %.pre75.pre-phi.reg2mem br label LBL_4 LBL_3: %17 = add i64 %2, 4 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = urem i32 %19, 2 %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false store i32* %18, i32** %.pre75.pre-phi.reg2mem store i32* %18, i32** %.pre-phi76.reg2mem store i1 false, i1* %storemerge14.reg2mem br i1 %22, label LBL_4, label LBL_5 LBL_4: %.pre75.pre-phi.reload = load i32*, i32** %.pre75.pre-phi.reg2mem store i32* %.pre75.pre-phi.reload, i32** %.pre-phi76.reg2mem store i1 true, i1* %storemerge14.reg2mem br label LBL_5 LBL_5: %sext4 = mul i64 %arg4, 281474976710656 %23 = ashr exact i64 %sext4, 48 %24 = trunc i64 %10 to i32 %25 = udiv i64 %10, 8 %26 = urem i64 %25, 536870912 %27 = add i64 %26, %9 %28 = inttoptr i64 %27 to i8* %29 = bitcast i64* %rdi to i32* %storemerge14.reload = load i1, i1* %storemerge14.reg2mem %.pre-phi76.reload = load i32*, i32** %.pre-phi76.reg2mem %30 = icmp ne i32 %11, 0 %31 = sext i1 %30 to i8 store i64 %23, i64* %sv_1.0.ph.reg2mem store i8* %28, i8** %sv_2.2.ph.reg2mem store i32 %24, i32* %sv_0.0.ph.reg2mem br label LBL_19 LBL_6: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %32 = mul i64 %sv_1.0.reload, 281474976710656 %sext5 = add i64 %32, -281474976710656 %33 = ashr exact i64 %sext5, 48 %34 = load i32, i32* %29, align 8 %35 = urem i32 %34, 8 %36 = icmp eq i32 %35, 0 br i1 %36, label LBL_7, label LBL_8 LBL_7: %37 = icmp eq i32 %34, 0 store i64 %33, i64* %sv_1.0.ph.be.reg2mem store i8* %sv_2.2.ph.reload, i8** %sv_2.2.ph.be.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.0.ph.be.reg2mem store i32 0, i32* %storemerge1346.reg2mem store i8* %sv_2.2.ph.reload, i8** %sv_2.145.reg2mem br i1 %37, label LBL_17, label LBL_18 LBL_8: %38 = urem i32 %sv_0.0.reload, 8 %39 = icmp eq i32 %38, 0 %40 = icmp eq i1 %39, false %or.cond = or i1 %storemerge14.reload, %40 br i1 %or.cond, label LBL_12, label LBL_9 LBL_9: %41 = udiv i64 %sext5, 4294967296 %sext6 = trunc i64 %41 to i32 %42 = ashr exact i32 %sext6, 16 %43 = add nsw i32 %42, 1 %44 = mul i32 %34, %43 %45 = icmp ult i32 %44, 8 br i1 %45, label LBL_12, label LBL_10 LBL_10: %46 = udiv i32 %44, 8 %47 = trunc i64 %33 to i32 %48 = and i32 %44, -8 %49 = udiv i32 %48, %34 %50 = sub i32 %47, %49 %51 = zext i32 %50 to i64 %52 = mul i64 %51, 281474976710656 %sext7 = add i64 %52, 281474976710656 store i32 %46, i32* %sv_3.044.reg2mem store i8* %sv_2.2.ph.reload, i8** %sv_2.043.reg2mem br label LBL_11 LBL_11: %sv_2.043.reload = load i8*, i8** %sv_2.043.reg2mem %sv_3.044.reload = load i32, i32* %sv_3.044.reg2mem %53 = add i32 %sv_3.044.reload, -1 store i8 %31, i8* %sv_2.043.reload, align 1 %54 = ptrtoint i8* %sv_2.043.reload to i64 %55 = add i64 %54, 1 %56 = inttoptr i64 %55 to i8* %57 = icmp eq i32 %53, 0 %58 = icmp eq i1 %57, false store i32 %53, i32* %sv_3.044.reg2mem store i8* %56, i8** %sv_2.043.reg2mem br i1 %58, label LBL_11, label LBL_16 LBL_12: %59 = urem i32 %34, 32 %notmask130 = shl nsw i32 -1, %59 %60 = sub i32 0, %notmask130 %61 = sub i32 %60, 1 %62 = load i8, i8* %sv_2.2.ph.reload, align 1 %63 = zext i8 %62 to i32 %64 = load i32, i32* %.pre-phi76.reload, align 4 %65 = and i32 %64, 2 %66 = icmp eq i32 %65, 0 %.neg19 = sub nsw i32 8, %38 %67 = sub i32 %.neg19, %34 %storemerge11.in = select i1 %66, i32 %38, i32 %67 %68 = urem i32 %storemerge11.in, 32 %69 = shl i32 %61, %68 %70 = xor i32 %69, 255 %71 = and i32 %70, %63 %72 = and i32 %61, %11 %73 = shl i32 %72, %68 %74 = or i32 %71, %73 %75 = trunc i32 %74 to i8 store i8 %75, i8* %sv_2.2.ph.reload, align 1 %76 = load i32, i32* %.pre-phi76.reload, align 4 %77 = urem i32 %76, 2 %78 = icmp eq i32 %77, 0 br i1 %78, label LBL_14, label LBL_13 LBL_13: %79 = ptrtoint i8* %sv_2.2.ph.reload to i64 %80 = add i64 %79, 1 %81 = inttoptr i64 %80 to i8* store i64 %33, i64* %sv_1.0.ph.be.reg2mem store i8* %81, i8** %sv_2.2.ph.be.reg2mem store i32 %38, i32* %sv_0.0.ph.be.reg2mem br label LBL_17 LBL_14: %82 = load i32, i32* %29, align 8 %83 = add i32 %82, %38 %84 = icmp ult i32 %83, 8 store i64 %33, i64* %sv_1.0.reg2mem store i32 %83, i32* %sv_0.0.reg2mem br i1 %84, label LBL_20, label LBL_15 LBL_15: %85 = ptrtoint i8* %sv_2.2.ph.reload to i64 %86 = add i64 %85, 1 %87 = inttoptr i64 %86 to i8* store i64 %33, i64* %sv_1.0.ph.be.reg2mem store i8* %87, i8** %sv_2.2.ph.be.reg2mem store i32 %83, i32* %sv_0.0.ph.be.reg2mem br label LBL_17 LBL_16: %88 = ashr exact i64 %sext7, 48 store i64 %88, i64* %sv_1.0.ph.be.reg2mem store i8* %56, i8** %sv_2.2.ph.be.reg2mem store i32 %38, i32* %sv_0.0.ph.be.reg2mem br label LBL_17 LBL_17: %sv_0.0.ph.be.reload = load i32, i32* %sv_0.0.ph.be.reg2mem %sv_2.2.ph.be.reload = load i8*, i8** %sv_2.2.ph.be.reg2mem %sv_1.0.ph.be.reload = load i64, i64* %sv_1.0.ph.be.reg2mem store i64 %sv_1.0.ph.be.reload, i64* %sv_1.0.ph.reg2mem store i8* %sv_2.2.ph.be.reload, i8** %sv_2.2.ph.reg2mem store i32 %sv_0.0.ph.be.reload, i32* %sv_0.0.ph.reg2mem br label LBL_19 LBL_18: %sv_2.145.reload = load i8*, i8** %sv_2.145.reg2mem %storemerge1346.reload = load i32, i32* %storemerge1346.reg2mem %89 = and i32 %storemerge1346.reload, 24 %90 = icmp eq i32 %89, 0 %91 = lshr i32 %11, %89 %92 = zext i32 %91 to i64 %storemerge12 = select i1 %90, i64 %3, i64 %92 %93 = trunc i64 %storemerge12 to i8 store i8 %93, i8* %sv_2.145.reload, align 1 %94 = ptrtoint i8* %sv_2.145.reload to i64 %95 = add i64 %94, 1 %96 = inttoptr i64 %95 to i8* %97 = add i32 %storemerge1346.reload, 8 %98 = load i32, i32* %29, align 8 %99 = icmp ugt i32 %98, %97 store i64 %33, i64* %sv_1.0.ph.be.reg2mem store i8* %96, i8** %sv_2.2.ph.be.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.0.ph.be.reg2mem store i32 %97, i32* %storemerge1346.reg2mem store i8* %96, i8** %sv_2.145.reg2mem br i1 %99, label LBL_18, label LBL_17 LBL_19: %sv_0.0.ph.reload = load i32, i32* %sv_0.0.ph.reg2mem %sv_2.2.ph.reload = load i8*, i8** %sv_2.2.ph.reg2mem %sv_1.0.ph.reload = load i64, i64* %sv_1.0.ph.reg2mem store i64 %sv_1.0.ph.reload, i64* %sv_1.0.reg2mem store i32 %sv_0.0.ph.reload, i32* %sv_0.0.reg2mem br label LBL_20 LBL_20: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %100 = icmp eq i64 %sv_1.0.reload, 0 %101 = icmp eq i1 %100, false br i1 %101, label LBL_6, label LBL_21 LBL_21: %102 = urem i64 %sv_1.0.reload, 65536 ret i64 %102 uselistorder i64 %sv_1.0.reload, { 1, 0, 2 } uselistorder i8* %sv_2.2.ph.reload, { 5, 6, 4, 3, 2, 0, 1 } uselistorder i8* %sv_2.145.reload, { 1, 0 } uselistorder i32 %83, { 1, 0, 2 } uselistorder i32 %68, { 1, 0 } uselistorder i8* %sv_2.043.reload, { 1, 0 } uselistorder i32 %44, { 2, 1, 0 } uselistorder i32 %38, { 0, 4, 1, 3, 5, 2 } uselistorder i32 %34, { 4, 0, 3, 5, 2, 1 } uselistorder i64 %33, { 1, 3, 0, 4, 5, 2 } uselistorder i32 %sv_0.0.reload, { 2, 0, 1 } uselistorder i32* %29, { 1, 0, 2 } uselistorder i32 %11, { 3, 0, 2, 1, 4 } uselistorder i64 %2, { 1, 0, 2, 3 } uselistorder i32* %sv_3.044.reg2mem, { 1, 0, 2 } uselistorder i8** %sv_2.043.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.0.ph.be.reg2mem, { 1, 0, 2, 4, 5, 3 } uselistorder i8** %sv_2.2.ph.be.reg2mem, { 1, 0, 2, 4, 5, 3 } uselistorder i32* %sv_0.0.ph.be.reg2mem, { 1, 0, 2, 4, 5, 3 } uselistorder i32* %storemerge1346.reg2mem, { 2, 0, 1 } uselistorder i8** %sv_2.145.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.0.reg2mem, { 1, 2, 0 } uselistorder i32 8, { 6, 5, 4, 1, 0, 2, 3 } uselistorder i64 281474976710656, { 3, 1, 0, 2 } uselistorder i32 2, { 0, 2, 1 } uselistorder i64 4, { 1, 0 } uselistorder i1 false, { 3, 2, 1, 0, 4, 5 } uselistorder i32 -1, { 0, 3, 1, 2 } uselistorder i32 0, { 4, 5, 6, 1, 7, 3, 0, 2, 9, 8, 10, 11 } uselistorder i64 4294967296, { 1, 0 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_17, { 0, 1, 3, 4, 2 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
bitstr_close_6450
bitstr_close
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = icmp eq i64 %arg1, 0 %3 = icmp eq i1 %2, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_4 LBL_1: %4 = trunc i64 %1 to i32 store i64 4294967295, i64* %rax.0.reg2mem switch i32 %4, label LBL_4 [ i32 1, label LBL_2 i32 2, label LBL_3 ] LBL_2: %5 = call i64 @FUNC(i64 %arg1) store i64 %5, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %6 = call i64 @FUNC(i64 %arg1) store i64 %6, 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, 4, 1, 2 } uselistorder label LBL_4, { 2, 3, 0, 1 } }
0