dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
BinRealVul
r_asm_pseudo_incbin_6915
r_asm_pseudo_incbin
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %0 = ptrtoint i64* %arg2 to i64 %sv_1 = alloca i32, align 4 store i32 0, i32* %sv_1, align 4 %1 = call i64 @FUNC(i64 %0, i64 44, i64 32) %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64 %0, i64 1) %4 = call i64 @FUNC(i64 0, i64 %3) %5 = call i64 @FUNC(i64 %0, i64 2) %6 = call i64 @FUNC(i64 0, i64 %5) %7 = call i64 @FUNC(i64 %0, i32* nonnull %sv_1) %8 = icmp eq i64 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i64 %0) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_7 LBL_2: %11 = trunc i64 %4 to i32 %12 = icmp slt i32 %11, 1 %.pre = load i32, i32* %sv_1, align 4 store i32 %11, i32* %sv_0.0.reg2mem br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = sub i32 %11, %.pre %14 = xor i32 %.pre, %11 %15 = xor i32 %13, %11 %16 = and i32 %15, %14 %17 = icmp slt i32 %16, 0 %18 = icmp eq i32 %13, 0 %19 = icmp slt i32 %13, 0 %20 = icmp ne i1 %19, %17 %21 = or i1 %18, %20 %22 = select i1 %21, i32 %11, i32 %.pre store i32 %22, i32* %sv_0.0.reg2mem br label LBL_4 LBL_4: %23 = trunc i64 %6 to i32 %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %24 = icmp slt i32 %23, 1 store i32 %.pre, i32* %storemerge2.reg2mem br i1 %24, label LBL_6, label LBL_5 LBL_5: %25 = zext i32 %.pre to i64 %sext = mul i64 %6, 4294967296 %26 = ashr exact i64 %sext, 32 %27 = icmp sgt i64 %26, %25 %storemerge1 = select i1 %27, i32 0, i32 %23 store i32 %storemerge1, i32* %storemerge2.reg2mem br label LBL_6 LBL_6: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %28 = call i64 @FUNC(i64 %0) %29 = sext i32 %sv_0.0.reload to i64 %30 = add i64 %7, %29 %31 = call i64 @FUNC(i64 %30) store i64 %31, i64* %arg1, align 8 %32 = inttoptr i64 %7 to i64* call void @free(i64* %32) %33 = zext i32 %storemerge2.reload to i64 store i64 %33, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %23, { 1, 0 } uselistorder i32 %13, { 1, 2, 0 } uselistorder i32 %.pre, { 2, 0, 4, 1, 3 } uselistorder i32 %11, { 4, 1, 2, 5, 0, 3 } uselistorder i64 %7, { 1, 0, 2 } uselistorder i64 %0, { 1, 0, 3, 2, 4, 5, 6 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge2.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i1 false, { 3, 4, 2, 0, 6, 5, 1 } uselistorder i64 (i64, i64)* @r_num_math, { 1, 0 } uselistorder i64 (i64, i64)* @r_str_word_get0, { 1, 0 } uselistorder i64 32, { 1, 2, 0 } uselistorder i32 0, { 2, 7, 8, 9, 6, 3, 4, 5, 0, 1 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
ff_release_unused_pictures_2653
ff_release_unused_pictures
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge3.reg2mem = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = and i64 %1, 4294967295 %4 = icmp eq i32 %2, 0 br i1 %4, label LBL_9, label LBL_1 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = add i64 %5, 8 %7 = inttoptr i64 %6 to i64* %8 = trunc i64 %arg2 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false %11 = add i64 %5, 16 %12 = inttoptr i64 %11 to i64* store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge3.reg2mem br label LBL_2 LBL_2: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %.reload = load i64, i64* %.reg2mem %13 = load i64, i64* %7, align 8 %14 = mul nsw i64 %.reload, 24 %15 = add i64 %13, %14 %16 = add i64 %15, 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = icmp eq i64 %18, 0 br i1 %19, label LBL_8, label LBL_3 LBL_3: %20 = inttoptr i64 %15 to i32* %21 = load i32, i32* %20, align 4 %22 = icmp eq i32 %21, 0 %23 = icmp eq i1 %22, false br i1 %23, label LBL_8, label LBL_4 LBL_4: %24 = add i64 %15, 16 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = icmp ne i64 %26, 0 %28 = icmp eq i64 %26, %5 %29 = icmp eq i1 %28, false %or.cond = icmp eq i1 %27, %29 br i1 %or.cond, label LBL_8, label LBL_5 LBL_5: br i1 %10, label LBL_7, label LBL_6 LBL_6: %30 = load i64, i64* %12, align 8 %31 = icmp eq i64 %15, %30 br i1 %31, label LBL_8, label LBL_7 LBL_7: %32 = call i64 @FUNC(i64 %5, i64 %15) br label LBL_8 LBL_8: %33 = add i32 %storemerge3.reload, 1 %34 = sext i32 %33 to i64 %35 = icmp sgt i64 %3, %34 store i64 %34, i64* %.reg2mem store i32 %33, i32* %storemerge3.reg2mem br i1 %35, label LBL_2, label LBL_9 LBL_9: ret i64 %3 uselistorder i64 %5, { 2, 0, 1, 3 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 } uselistorder i64 16, { 1, 0 } uselistorder i1 false, { 0, 2, 1 } uselistorder i32 0, { 3, 0, 2, 1 } uselistorder label LBL_8, { 1, 2, 0, 3, 4 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
make_cdt24_entry_16657
make_cdt24_entry
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg3 to i64 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 31 %2 = add i64 %1, %0 %3 = inttoptr i64 %2 to i16* %4 = load i16, i16* %3, align 2 %5 = sext i16 %4 to i64 %sext1 = mul i64 %arg1, 4294967296 %6 = ashr exact i64 %sext1, 31 %7 = add i64 %6, %0 %8 = inttoptr i64 %7 to i16* %9 = load i16, i16* %8, align 2 %10 = zext i16 %9 to i64 %11 = mul i64 %10, 65536 %12 = add nsw i64 %11, %5 %13 = mul i64 %12, 2 %14 = and i64 %13, 4294967294 ret i64 %14 }
1
BinRealVul
parse_priority_group_17867
parse_priority_group
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 i64* %storemerge4.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %sv_1 = alloca i32, align 4 %sv_2 = alloca i32, align 4 %2 = trunc i64 %1 to i32 %3 = icmp sgt i32 %2, 1 br i1 %3, label LBL_2, label LBL_1 LBL_1: store i32 0, i32* %arg1, align 4 store i64 ptrtoint ([36 x i8]* @gv_0 to i64), i64* %arg2, align 8 store i64 -22, i64* %rax.0.reg2mem br label LBL_15 LBL_2: %4 = call i64 @FUNC() %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_4, label LBL_3 LBL_3: store i64 ptrtoint ([33 x i8]* @gv_1 to i64), i64* %arg2, align 8 store i64 -12, i64* %rax.0.reg2mem br label LBL_15 LBL_4: %7 = ptrtoint i64* %arg2 to i64 %8 = inttoptr i64 %4 to i64* store i64 %7, i64* %8, align 8 %9 = ptrtoint i32* %arg1 to i64 %10 = call i64 @FUNC(i64 %9, i64 %4, i64 %7) %11 = trunc i64 %10 to i32 %12 = and i64 %10, 4294967295 %13 = inttoptr i64 %12 to i64* %14 = icmp eq i32 %11, 0 %15 = icmp eq i1 %14, false store i64* %13, i64** %sv_0.0.reg2mem br i1 %15, label LBL_14, label LBL_5 LBL_5: %16 = add i64 %4, 8 %17 = call i64 @FUNC(i64 %9) %18 = call i64 @FUNC(i64* nonnull @gv_2, i64 %17, i64 %16, i64 %7) %19 = trunc i64 %18 to i32 %20 = and i64 %18, 4294967295 %21 = inttoptr i64 %20 to i64* %22 = icmp eq i32 %19, 0 %23 = icmp eq i1 %22, false store i64* %21, i64** %sv_0.0.reg2mem br i1 %23, label LBL_14, label LBL_6 LBL_6: %24 = call i64 @FUNC(i64 %9) %25 = ptrtoint i32* %sv_2 to i64 %26 = call i64 @FUNC(i64* nonnull @gv_3, i64 %24, i64 %25, i64 %7) %27 = trunc i64 %26 to i32 %28 = and i64 %26, 4294967295 %29 = inttoptr i64 %28 to i64* %30 = icmp eq i32 %27, 0 %31 = icmp eq i1 %30, false store i64* %29, i64** %sv_0.0.reg2mem br i1 %31, label LBL_14, label LBL_7 LBL_7: %32 = inttoptr i64 %16 to i32* %33 = load i32, i32* %32, align 4 %34 = icmp eq i32 %33, 0 store i64 %4, i64* %rax.0.reg2mem br i1 %34, label LBL_15, label LBL_8 LBL_8: %35 = bitcast i64* %rdi to i32* %36 = load i32, i32* %sv_2, align 4 %37 = add i32 %36, 1 %38 = add i64 %4, 32 %39 = add i64 %4, 16 %40 = zext i32 %37 to i64 store i32 0, i32* %storemerge4.reg2mem br label LBL_9 LBL_9: %41 = load i32, i32* %35, align 8 %42 = icmp ugt i32 %37, %41 br i1 %42, label LBL_10, label LBL_11 LBL_10: store i64 ptrtoint ([27 x i8]* @gv_4 to i64), i64* %arg2, align 8 store i64* %29, i64** %sv_0.0.reg2mem br label LBL_14 LBL_11: store i32 %37, i32* %sv_1, align 4 %43 = call i64 @FUNC(i32* nonnull %sv_1, i64 %38, i64 %7) %44 = icmp slt i64 %43, 0 %45 = icmp eq i1 %44, false br i1 %45, label LBL_13, label LBL_12 LBL_12: %46 = and i64 %43, 4294967295 %47 = inttoptr i64 %46 to i64* store i64* %47, i64** %sv_0.0.reg2mem br label LBL_14 LBL_13: %storemerge4.reload = load i32, i32* %storemerge4.reg2mem %48 = inttoptr i64 %43 to i64* store i64 %4, i64* %48, align 8 %49 = add i64 %43, 8 %50 = call i64 @FUNC(i64 %49, i64 %39) %51 = call i64 @FUNC(i64 %9, i64 %40) %52 = add nuw i32 %storemerge4.reload, 1 %53 = load i32, i32* %32, align 4 %54 = icmp ult i32 %52, %53 store i32 %52, i32* %storemerge4.reg2mem store i64 %4, i64* %rax.0.reg2mem br i1 %54, label LBL_9, label LBL_15 LBL_14: %sv_0.0.reload = load i64*, i64** %sv_0.0.reg2mem %55 = call i64 @FUNC(i64 %4, i64 %7) %56 = ptrtoint i64* %sv_0.0.reload to i64 %sext = mul i64 %56, 4294967296 %57 = ashr exact i64 %sext, 32 store i64 %57, 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 %43, { 1, 2, 0, 3 } uselistorder i32 %37, { 2, 1, 0 } uselistorder i32* %32, { 1, 0 } uselistorder i64 %7, { 3, 0, 1, 2, 4, 5 } uselistorder i64 %4, { 6, 0, 3, 2, 4, 1, 5, 7, 8, 9 } uselistorder i32* %sv_2, { 1, 0 } uselistorder i32* %storemerge4.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 4, 3 } uselistorder i64 (i64*, i64, i64, i64)* @read_param, { 1, 0 } uselistorder i64 (i64)* @shift, { 1, 0 } uselistorder i64 8, { 1, 2, 3, 4, 0, 5, 6, 7, 8 } uselistorder i64 4294967295, { 1, 2, 3, 4, 0 } uselistorder i64* %arg2, { 0, 3, 1, 2 } uselistorder i32* %arg1, { 1, 0 } uselistorder label LBL_15, { 2, 0, 1, 3, 4 } uselistorder label LBL_14, { 3, 4, 0, 1, 2 } uselistorder label LBL_9, { 1, 0 } }
1
BinRealVul
sun4m_fdc_class_init_14743
sun4m_fdc_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = load i64, i64* @gv_0, align 8 store i64 %1, i64* %arg1, align 8 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i64 0, i64 %4) ret i64 %5 }
1
BinRealVul
deband_16_coupling_c_98
deband_16_coupling_c
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %rsi.1.lcssa.reg2mem = alloca i64 %sv_0.1.lcssa.reg2mem = alloca i32 %.reg2mem75 = alloca i64 %rdi.8.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %.reg2mem73 = alloca i32 %rsi.0.lcssa3940.reg2mem = alloca i64 %rdi.7.reg2mem = alloca i64 %storemerge522.reg2mem = alloca i32 %.reg2mem71 = alloca i64 %storemerge420.reg2mem = alloca i32 %.reg2mem69 = alloca i64 %storemerge6.lcssa.reg2mem = alloca i32 %storemerge617.reg2mem = alloca i32 %.reg2mem67 = alloca i64 %rdi.5.reg2mem = alloca i64 %storemerge12.reg2mem = alloca i32 %rdi.4.reg2mem = alloca i64 %rdi.3.reg2mem = alloca i64 %rsi.014.reg2mem = alloca i64 %storemerge1115.reg2mem = alloca i32 %.reg2mem65 = alloca i64 %.reg2mem63 = alloca i64 %rdi.2.reg2mem = alloca i64 %rsi.124.reg2mem = alloca i64 %storemerge325.reg2mem = alloca i32 %.reg2mem61 = alloca i64 %.reg2mem59 = alloca i64 %.reg2mem57 = alloca i32 %rdi.1.reg2mem = alloca i64 %sv_0.229.reg2mem = alloca i32 %rsi.230.reg2mem = alloca i64 %storemerge31.reg2mem = alloca i32 %.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %1 = trunc i64 %0 to i32 %2 = trunc i64 %arg3 to i32 %3 = mul i32 %2, %1 %4 = ashr i32 %3, 31 %5 = zext i32 %3 to i64 %6 = zext i32 %4 to i64 %7 = mul i64 %6, 4294967296 %8 = or i64 %7, %5 %9 = and i64 %arg4, 4294967295 %10 = sdiv i64 %8, %9 %11 = trunc i64 %10 to i32 %12 = mul i64 %arg3, 4294967296 %sext1 = add i64 %12, 4294967296 %13 = udiv i64 %sext1, 4294967296 %14 = trunc i64 %13 to i32 %15 = mul i32 %14, %1 %16 = ashr i32 %15, 31 %17 = zext i32 %15 to i64 %18 = zext i32 %16 to i64 %19 = mul i64 %18, 4294967296 %20 = or i64 %19, %17 %21 = sdiv i64 %20, %9 %22 = trunc i64 %21 to i32 %23 = icmp slt i32 %11, %22 br i1 %23, label LBL_1, label LBL_24 LBL_1: %24 = ptrtoint i64* %arg2 to i64 %25 = ptrtoint i64* %sv_1 to i64 %26 = add i64 %24, 8 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = add i64 %0, 8 %30 = inttoptr i64 %29 to i64* %31 = add i64 %0, 24 %32 = inttoptr i64 %31 to i64* %33 = add i64 %0, 32 %34 = inttoptr i64 %33 to i64* %35 = add i64 %0, 40 %36 = inttoptr i64 %35 to i32* %37 = add i64 %0, 16 %38 = inttoptr i64 %37 to i64* %39 = add i64 %0, 44 %40 = inttoptr i64 %39 to i32* %41 = add i64 %25, -192 %42 = add i64 %28, 8 %43 = inttoptr i64 %42 to i64* %44 = inttoptr i64 %28 to i64* %45 = add i64 %25, -176 %46 = add i64 %25, -208 %.pre = load i64, i64* %30, align 8 store i64 %0, i64* %rdi.0.reg2mem store i64 %.pre, i64* %.reg2mem store i32 %11, i32* %storemerge31.reg2mem store i64 %24, i64* %rsi.230.reg2mem br label LBL_2 LBL_2: %sv_0.229.reload = load i32, i32* %sv_0.229.reg2mem %rsi.230.reload = load i64, i64* %rsi.230.reg2mem %storemerge31.reload = load i32, i32* %storemerge31.reg2mem %.reload = load i64, i64* %.reg2mem %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %47 = inttoptr i64 %.reload to i32* %48 = load i32, i32* %47, align 4 %49 = sext i32 %sv_0.229.reload to i64 %50 = mul i64 %49, 4 %51 = add i64 %50, %.reload %52 = inttoptr i64 %51 to i32* %53 = load i32, i32* %52, align 4 %54 = icmp eq i32 %53, 0 store i64 %rdi.0.reload, i64* %rdi.8.reg2mem store i64 %.reload, i64* %.reg2mem75 store i32 %sv_0.229.reload, i32* %sv_0.1.lcssa.reg2mem store i64 %rsi.230.reload, i64* %rsi.1.lcssa.reg2mem br i1 %54, label LBL_23, label LBL_3 LBL_3: %55 = mul i32 %48, %storemerge31.reload %.pre37 = load i32, i32* %36, align 4 store i64 %rdi.0.reload, i64* %rdi.1.reg2mem store i32 %.pre37, i32* %.reg2mem57 store i64 %.reload, i64* %.reg2mem59 store i64 0, i64* %.reg2mem61 store i32 0, i32* %storemerge325.reg2mem store i64 %rsi.230.reload, i64* %rsi.124.reg2mem br label LBL_4 LBL_4: %rsi.124.reload = load i64, i64* %rsi.124.reg2mem %storemerge325.reload = load i32, i32* %storemerge325.reg2mem %.reload58 = load i32, i32* %.reg2mem57 %rdi.1.reload = load i64, i64* %rdi.1.reg2mem %56 = load i64, i64* %32, align 8 %57 = add i32 %storemerge325.reload, %55 %58 = sext i32 %57 to i64 %59 = mul i64 %58, 4 %60 = add i64 %59, %56 %61 = inttoptr i64 %60 to i32* %62 = load i32, i32* %61, align 4 %63 = load i64, i64* %34, align 8 %64 = add i64 %63, %59 %65 = inttoptr i64 %64 to i32* %66 = load i32, i32* %65, align 4 %67 = icmp eq i32 %.reload58, 0 store i64 %rdi.1.reload, i64* %rdi.7.reg2mem store i64 %rsi.124.reload, i64* %rsi.0.lcssa3940.reg2mem store i32 0, i32* %.reg2mem73 store i32 0, i32* %sv_0.0.reg2mem br i1 %67, label LBL_22, label LBL_5 LBL_5: %.reload62 = load i64, i64* %.reg2mem61 %.reload60 = load i64, i64* %.reg2mem59 %68 = add i32 %66, %storemerge31.reload %69 = zext i32 %68 to i64 %70 = add i32 %62, %storemerge325.reload %71 = zext i32 %70 to i64 %72 = sub i32 %storemerge31.reload, %66 %73 = zext i32 %72 to i64 %74 = sub i32 %storemerge325.reload, %62 %75 = zext i32 %74 to i64 store i64 %rdi.1.reload, i64* %rdi.2.reg2mem store i64 %.reload60, i64* %.reg2mem63 store i64 0, i64* %.reg2mem65 store i32 0, i32* %storemerge1115.reg2mem store i64 %rsi.124.reload, i64* %rsi.014.reg2mem br label LBL_6 LBL_6: %rsi.014.reload = load i64, i64* %rsi.014.reg2mem %storemerge1115.reload = load i32, i32* %storemerge1115.reg2mem %.reload66 = load i64, i64* %.reg2mem65 %.reload64 = load i64, i64* %.reg2mem63 %rdi.2.reload = load i64, i64* %rdi.2.reg2mem %76 = mul i64 %.reload66, 8 %77 = add i64 %rsi.014.reload, %76 %78 = inttoptr i64 %77 to i64* %79 = load i64, i64* %78, align 8 %80 = load i64, i64* %27, align 8 %81 = mul i64 %.reload66, 4 %82 = add i64 %80, %81 %83 = inttoptr i64 %82 to i32* %84 = load i32, i32* %83, align 4 %85 = icmp slt i32 %84, 0 %86 = zext i1 %85 to i32 %87 = add i32 %84, %86 %88 = ashr i32 %87, 1 %89 = load i64, i64* %38, align 8 %90 = add i64 %89, %81 %91 = inttoptr i64 %90 to i32* %92 = load i32, i32* %91, align 4 %93 = add i64 %81, %.reload64 %94 = inttoptr i64 %93 to i32* %95 = load i32, i32* %94, align 4 %96 = add i32 %95, -1 %97 = add i64 %81, %rdi.2.reload %98 = inttoptr i64 %97 to i32* %99 = load i32, i32* %98, align 4 %100 = add i32 %99, -1 %101 = zext i32 %100 to i64 %102 = call i64 @FUNC(i64 %69, i64 0, i64 %101) %103 = trunc i64 %102 to i32 %104 = mul i32 %88, %103 %105 = zext i32 %96 to i64 %106 = call i64 @FUNC(i64 %71, i64 0, i64 %105) %107 = trunc i64 %106 to i32 %108 = add i32 %104, %107 %109 = sext i32 %108 to i64 %110 = mul i64 %109, 2 %111 = add i64 %110, %79 %112 = inttoptr i64 %111 to i16* %113 = load i16, i16* %112, align 2 %114 = call i64 @FUNC(i64 %73, i64 0, i64 %101) %115 = trunc i64 %114 to i32 %116 = mul i32 %88, %115 %117 = call i64 @FUNC(i64 %71, i64 0, i64 %105) %118 = trunc i64 %117 to i32 %119 = add i32 %116, %118 %120 = sext i32 %119 to i64 %121 = mul i64 %120, 2 %122 = add i64 %121, %79 %123 = inttoptr i64 %122 to i16* %124 = load i16, i16* %123, align 2 %125 = zext i16 %124 to i32 %126 = call i64 @FUNC(i64 %73, i64 0, i64 %101) %127 = trunc i64 %126 to i32 %128 = mul i32 %88, %127 %129 = call i64 @FUNC(i64 %75, i64 0, i64 %105) %130 = trunc i64 %129 to i32 %131 = add i32 %128, %130 %132 = sext i32 %131 to i64 %133 = mul i64 %132, 2 %134 = add i64 %133, %79 %135 = inttoptr i64 %134 to i16* %136 = load i16, i16* %135, align 2 %137 = zext i16 %136 to i32 %138 = call i64 @FUNC(i64 %69, i64 0, i64 %101) %139 = trunc i64 %138 to i32 %140 = mul i32 %88, %139 %141 = call i64 @FUNC(i64 %75, i64 0, i64 %105) %142 = trunc i64 %141 to i32 %143 = add i32 %140, %142 %144 = sext i32 %143 to i64 %145 = mul i64 %144, 2 %146 = add i64 %145, %79 %147 = inttoptr i64 %146 to i16* %148 = load i16, i16* %147, align 2 %149 = zext i16 %148 to i32 %150 = mul i32 %88, %storemerge31.reload %151 = add i32 %150, %storemerge325.reload %152 = sext i32 %151 to i64 %153 = mul i64 %152, 2 %154 = add i64 %153, %79 %155 = inttoptr i64 %154 to i16* %156 = load i16, i16* %155, align 2 %157 = zext i16 %156 to i32 %158 = add i64 %81, %25 %159 = add i64 %158, -208 %160 = inttoptr i64 %159 to i32* store i32 %157, i32* %160, align 4 %161 = zext i16 %113 to i64 %162 = call i64 @FUNC(i64 %161, i32 %125, i32 %137, i32 %149) %163 = trunc i64 %162 to i32 %164 = add i64 %158, -176 %165 = inttoptr i64 %164 to i32* store i32 %163, i32* %165, align 4 %166 = load i32, i32* %40, align 4 %167 = icmp eq i32 %166, 0 br i1 %167, label LBL_8, label LBL_7 LBL_7: %168 = sub i32 %157, %163 %169 = zext i32 %168 to i64 %170 = call i64 @FUNC(i64 %169) %171 = trunc i64 %170 to i32 %172 = sub i32 %92, %171 %173 = xor i32 %92, %171 %174 = xor i32 %172, %92 %175 = and i32 %174, %173 %176 = icmp slt i32 %175, 0 %177 = icmp eq i32 %172, 0 %178 = icmp slt i32 %172, 0 %179 = icmp eq i1 %178, %176 %180 = icmp eq i1 %177, false %181 = icmp eq i1 %179, %180 %182 = zext i1 %181 to i32 %183 = add i64 %158, -192 %184 = inttoptr i64 %183 to i32* store i32 %182, i32* %184, align 4 store i64 %169, i64* %rdi.5.reg2mem br label LBL_14 LBL_8: %185 = zext i16 %113 to i32 %186 = sub nsw i32 %157, %185 %187 = zext i32 %186 to i64 %188 = call i64 @FUNC(i64 %187) %189 = sext i32 %92 to i64 %190 = icmp slt i64 %188, %189 store i64 %187, i64* %rdi.3.reg2mem br i1 %190, label LBL_9, label LBL_12 LBL_9: %191 = sub nsw i32 %157, %125 %192 = zext i32 %191 to i64 %193 = call i64 @FUNC(i64 %192) %194 = icmp slt i64 %193, %189 store i64 %192, i64* %rdi.3.reg2mem br i1 %194, label LBL_10, label LBL_12 LBL_10: %195 = sub nsw i32 %157, %137 %196 = zext i32 %195 to i64 %197 = call i64 @FUNC(i64 %196) %198 = icmp slt i64 %197, %189 store i64 %196, i64* %rdi.3.reg2mem br i1 %198, label LBL_11, label LBL_12 LBL_11: %199 = sub nsw i32 %157, %149 %200 = zext i32 %199 to i64 %201 = call i64 @FUNC(i64 %200) %202 = icmp slt i64 %201, %189 store i64 %200, i64* %rdi.3.reg2mem store i64 %200, i64* %rdi.4.reg2mem store i32 1, i32* %storemerge12.reg2mem br i1 %202, label LBL_13, label LBL_12 LBL_12: %rdi.3.reload = load i64, i64* %rdi.3.reg2mem store i64 %rdi.3.reload, i64* %rdi.4.reg2mem store i32 0, i32* %storemerge12.reg2mem br label LBL_13 LBL_13: %storemerge12.reload = load i32, i32* %storemerge12.reg2mem %rdi.4.reload = load i64, i64* %rdi.4.reg2mem %203 = add i64 %158, -192 %204 = inttoptr i64 %203 to i32* store i32 %storemerge12.reload, i32* %204, align 4 store i64 %rdi.4.reload, i64* %rdi.5.reg2mem br label LBL_14 LBL_14: %205 = zext i16 %124 to i64 %rdi.5.reload = load i64, i64* %rdi.5.reg2mem %206 = add i32 %storemerge1115.reload, 1 %207 = load i32, i32* %36, align 4 %208 = zext i32 %207 to i64 %209 = sext i32 %206 to i64 %210 = icmp slt i64 %209, %208 br i1 %210, label LBL_14.LBL_6_crit_edge, label LBL_16 LBL_15: %.pre38 = load i64, i64* %30, align 8 store i64 %rdi.5.reload, i64* %rdi.2.reg2mem store i64 %.pre38, i64* %.reg2mem63 store i64 %209, i64* %.reg2mem65 store i32 %206, i32* %storemerge1115.reg2mem store i64 %205, i64* %rsi.014.reg2mem br label LBL_6 LBL_16: %211 = icmp eq i32 %207, 0 store i64 0, i64* %.reg2mem67 store i32 0, i32* %storemerge617.reg2mem store i64 %rdi.5.reload, i64* %rdi.7.reg2mem store i64 %205, i64* %rsi.0.lcssa3940.reg2mem store i32 0, i32* %.reg2mem73 store i32 0, i32* %sv_0.0.reg2mem br i1 %211, label LBL_22, label LBL_17 LBL_17: %storemerge617.reload = load i32, i32* %storemerge617.reg2mem %.reload68 = load i64, i64* %.reg2mem67 %212 = mul i64 %.reload68, 4 %213 = add i64 %41, %212 %214 = inttoptr i64 %213 to i32* %215 = load i32, i32* %214, align 4 %216 = icmp eq i32 %215, 0 store i32 %storemerge617.reload, i32* %storemerge6.lcssa.reg2mem br i1 %216, label LBL_19, label LBL_18 LBL_18: %217 = add i32 %storemerge617.reload, 1 %218 = sext i32 %217 to i64 %219 = icmp slt i64 %218, %208 store i64 %218, i64* %.reg2mem67 store i32 %217, i32* %storemerge617.reg2mem store i32 %217, i32* %storemerge6.lcssa.reg2mem br i1 %219, label LBL_17, label LBL_19 LBL_19: %storemerge6.lcssa.reload = load i32, i32* %storemerge6.lcssa.reg2mem %220 = icmp eq i32 %storemerge6.lcssa.reload, %207 %221 = icmp eq i1 %220, false store i64 0, i64* %.reg2mem69 store i32 0, i32* %storemerge420.reg2mem store i64 0, i64* %.reg2mem71 store i32 0, i32* %storemerge522.reg2mem br i1 %221, label LBL_21, label LBL_20 LBL_20: %storemerge420.reload = load i32, i32* %storemerge420.reg2mem %.reload70 = load i64, i64* %.reg2mem69 %222 = load i64, i64* %43, align 8 %223 = mul i64 %.reload70, 4 %224 = add i64 %222, %223 %225 = inttoptr i64 %224 to i32* %226 = load i32, i32* %225, align 4 %227 = icmp slt i32 %226, 0 %228 = zext i1 %227 to i32 %229 = add i32 %226, %228 %230 = ashr i32 %229, 1 %231 = load i64, i64* %44, align 8 %232 = mul i64 %.reload70, 8 %233 = add i64 %231, %232 %234 = inttoptr i64 %233 to i64* %235 = load i64, i64* %234, align 8 %236 = mul i32 %230, %storemerge31.reload %237 = sext i32 %236 to i64 %238 = add nsw i64 %.reload62, %237 %239 = mul i64 %238, 2 %240 = add i64 %239, %235 %241 = add i64 %45, %223 %242 = inttoptr i64 %241 to i32* %243 = load i32, i32* %242, align 4 %244 = trunc i32 %243 to i16 %245 = inttoptr i64 %240 to i16* store i16 %244, i16* %245, align 2 %246 = add i32 %storemerge420.reload, 1 %247 = load i32, i32* %36, align 4 %248 = zext i32 %247 to i64 %249 = sext i32 %246 to i64 %250 = icmp slt i64 %249, %248 store i64 %249, i64* %.reg2mem69 store i32 %246, i32* %storemerge420.reg2mem store i64 %rdi.5.reload, i64* %rdi.7.reg2mem store i64 %205, i64* %rsi.0.lcssa3940.reg2mem store i32 %247, i32* %.reg2mem73 store i32 %246, i32* %sv_0.0.reg2mem br i1 %250, label LBL_20, label LBL_22 LBL_21: %storemerge522.reload = load i32, i32* %storemerge522.reg2mem %.reload72 = load i64, i64* %.reg2mem71 %251 = load i64, i64* %43, align 8 %252 = mul i64 %.reload72, 4 %253 = add i64 %251, %252 %254 = inttoptr i64 %253 to i32* %255 = load i32, i32* %254, align 4 %256 = icmp slt i32 %255, 0 %257 = zext i1 %256 to i32 %258 = add i32 %255, %257 %259 = ashr i32 %258, 1 %260 = load i64, i64* %44, align 8 %261 = mul i64 %.reload72, 8 %262 = add i64 %260, %261 %263 = inttoptr i64 %262 to i64* %264 = load i64, i64* %263, align 8 %265 = mul i32 %259, %storemerge31.reload %266 = sext i32 %265 to i64 %267 = add nsw i64 %.reload62, %266 %268 = mul i64 %267, 2 %269 = add i64 %268, %264 %270 = add i64 %46, %252 %271 = inttoptr i64 %270 to i32* %272 = load i32, i32* %271, align 4 %273 = trunc i32 %272 to i16 %274 = inttoptr i64 %269 to i16* store i16 %273, i16* %274, align 2 %275 = add i32 %storemerge522.reload, 1 %276 = load i32, i32* %36, align 4 %277 = zext i32 %276 to i64 %278 = sext i32 %275 to i64 %279 = icmp slt i64 %278, %277 store i64 %278, i64* %.reg2mem71 store i32 %275, i32* %storemerge522.reg2mem store i64 %rdi.5.reload, i64* %rdi.7.reg2mem store i64 %205, i64* %rsi.0.lcssa3940.reg2mem store i32 %276, i32* %.reg2mem73 store i32 %275, i32* %sv_0.0.reg2mem br i1 %279, label LBL_21, label LBL_22 LBL_22: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %.reload74 = load i32, i32* %.reg2mem73 %rsi.0.lcssa3940.reload = load i64, i64* %rsi.0.lcssa3940.reg2mem %rdi.7.reload = load i64, i64* %rdi.7.reg2mem %280 = add i32 %storemerge325.reload, 1 %281 = load i64, i64* %30, align 8 %282 = sext i32 %sv_0.0.reload to i64 %283 = mul i64 %282, 4 %284 = add i64 %283, %281 %285 = inttoptr i64 %284 to i32* %286 = load i32, i32* %285, align 4 %287 = zext i32 %286 to i64 %288 = sext i32 %280 to i64 %289 = icmp slt i64 %288, %287 store i64 %rdi.7.reload, i64* %rdi.1.reg2mem store i32 %.reload74, i32* %.reg2mem57 store i64 %281, i64* %.reg2mem59 store i64 %288, i64* %.reg2mem61 store i32 %280, i32* %storemerge325.reg2mem store i64 %rsi.0.lcssa3940.reload, i64* %rsi.124.reg2mem store i64 %rdi.7.reload, i64* %rdi.8.reg2mem store i64 %281, i64* %.reg2mem75 store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem store i64 %rsi.0.lcssa3940.reload, i64* %rsi.1.lcssa.reg2mem br i1 %289, label LBL_4, label LBL_23 LBL_23: %rsi.1.lcssa.reload = load i64, i64* %rsi.1.lcssa.reg2mem %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem %.reload76 = load i64, i64* %.reg2mem75 %rdi.8.reload = load i64, i64* %rdi.8.reg2mem %290 = add nsw i32 %storemerge31.reload, 1 %exitcond = icmp eq i32 %290, %22 store i64 %rdi.8.reload, i64* %rdi.0.reg2mem store i64 %.reload76, i64* %.reg2mem store i32 %290, i32* %storemerge31.reg2mem store i64 %rsi.1.lcssa.reload, i64* %rsi.230.reg2mem store i32 %sv_0.1.lcssa.reload, i32* %sv_0.229.reg2mem br i1 %exitcond, label LBL_24, label LBL_2 LBL_24: ret i64 0 uselistorder i64 %.reload72, { 1, 0 } uselistorder i64 %.reload70, { 1, 0 } uselistorder i32 %storemerge617.reload, { 1, 0 } uselistorder i64 %rdi.5.reload, { 1, 0, 2, 3 } uselistorder i64 %205, { 1, 0, 2, 3 } uselistorder i32 %172, { 1, 2, 0 } uselistorder i32 %157, { 1, 2, 3, 4, 0, 5 } uselistorder i16 %113, { 1, 0 } uselistorder i32 %92, { 3, 1, 0, 2 } uselistorder i32 %88, { 4, 0, 1, 2, 3 } uselistorder i64 %81, { 4, 3, 2, 1, 0 } uselistorder i64 %.reload66, { 1, 0 } uselistorder i64 %.reload62, { 1, 0 } uselistorder i32 %66, { 1, 0 } uselistorder i32 %62, { 1, 0 } uselistorder i64 %59, { 1, 0 } uselistorder i64 %rdi.1.reload, { 1, 0 } uselistorder i32 %storemerge325.reload, { 1, 4, 0, 3, 2 } uselistorder i64 %rsi.124.reload, { 1, 0 } uselistorder i64 %rdi.0.reload, { 1, 0 } uselistorder i64 %.reload, { 1, 0, 3, 2 } uselistorder i32 %storemerge31.reload, { 1, 6, 5, 4, 0, 3, 2 } uselistorder i64 %rsi.230.reload, { 1, 0 } uselistorder i32* %36, { 2, 1, 3, 0 } uselistorder i64* %30, { 2, 0, 1 } uselistorder i64 %28, { 1, 0 } uselistorder i64 %25, { 0, 2, 1, 3 } uselistorder i64 %0, { 0, 2, 4, 3, 5, 6, 7, 1 } uselistorder i64* %rdi.0.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge31.reg2mem, { 1, 0, 2 } uselistorder i64* %rsi.230.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.229.reg2mem, { 1, 0 } uselistorder i64* %rdi.1.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem57, { 1, 0, 2 } uselistorder i64* %.reg2mem59, { 1, 0, 2 } uselistorder i64* %.reg2mem61, { 1, 0, 2 } uselistorder i32* %storemerge325.reg2mem, { 1, 0, 2 } uselistorder i64* %rsi.124.reg2mem, { 1, 0, 2 } uselistorder i64* %rdi.2.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem63, { 1, 0, 2 } uselistorder i64* %.reg2mem65, { 1, 0, 2 } uselistorder i32* %storemerge1115.reg2mem, { 1, 0, 2 } uselistorder i64* %rsi.014.reg2mem, { 1, 0, 2 } uselistorder i64* %rdi.3.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64* %rdi.5.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem67, { 2, 0, 1 } uselistorder i32* %storemerge617.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem69, { 2, 0, 1 } uselistorder i32* %storemerge420.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem71, { 2, 0, 1 } uselistorder i32* %storemerge522.reg2mem, { 2, 0, 1 } uselistorder i64* %rdi.7.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i64* %rsi.0.lcssa3940.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i32* %.reg2mem73, { 0, 2, 1, 3, 4 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i64 (i64)* @FFABS, { 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64, i64)* @av_clip, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i32 0, { 10, 11, 4, 5, 16, 0, 2, 6, 13, 7, 17, 18, 19, 20, 12, 8, 1, 3, 14, 9, 15, 21, 22, 23, 24, 25 } uselistorder i64 32, { 3, 1, 0, 2 } uselistorder i64 4294967296, { 0, 6, 7, 1, 2, 3, 4, 5 } uselistorder label LBL_22, { 1, 0, 2, 3 } uselistorder label LBL_21, { 1, 0 } uselistorder label LBL_20, { 1, 0 } uselistorder label LBL_17, { 1, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
mxf_read_source_clip_15784
mxf_read_source_clip
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4, i64* %arg5) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = trunc i64 %arg3 to i32 %3 = icmp eq i32 %2, 4609 br i1 %3, label LBL_6, label LBL_1 LBL_1: %4 = icmp sgt i32 %2, 4609 br i1 %4, label LBL_9, label LBL_2 LBL_2: %5 = icmp eq i32 %2, 4354 br i1 %5, label LBL_8, label LBL_3 LBL_3: %6 = icmp sgt i32 %2, 4354 br i1 %6, label LBL_9, label LBL_4 LBL_4: switch i32 %2, label LBL_9 [ i32 514, label LBL_5 i32 4353, label LBL_7 ] LBL_5: %7 = call i64 @FUNC(i64 %0) store i64 %7, i64* %arg1, align 8 br label LBL_9 LBL_6: %8 = call i64 @FUNC(i64 %0) %9 = add i64 %1, 8 %10 = inttoptr i64 %9 to i64* store i64 %8, i64* %10, align 8 br label LBL_9 LBL_7: %11 = call i64 @FUNC(i64 %0, i64 16) %12 = add i64 %1, 16 %13 = call i64 @FUNC(i64 %0, i64 %12, i64 16) br label LBL_9 LBL_8: %14 = call i64 @FUNC(i64 %0) %15 = trunc i64 %14 to i32 %16 = add i64 %1, 32 %17 = inttoptr i64 %16 to i32* store i32 %15, i32* %17, align 4 br label LBL_9 LBL_9: ret i64 0 uselistorder i32 %2, { 3, 2, 1, 0, 4 } uselistorder i64 %1, { 1, 0, 2 } uselistorder i64 %0, { 3, 1, 0, 4, 2 } uselistorder i64 16, { 0, 2, 1 } uselistorder i64 (i64)* @avio_rb64, { 1, 0 } uselistorder i32 4354, { 1, 0 } uselistorder i32 4609, { 1, 0 } uselistorder label LBL_9, { 1, 2, 3, 4, 0, 5, 6 } }
1
BinRealVul
qlafx00_soc_cpu_reset_4887
qlafx00_soc_cpu_reset
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge7.reg2mem = alloca i32 %storemerge18.reg2mem = alloca i32 %storemerge210.reg2mem = alloca i32 %storemerge39.reg2mem = alloca i32 %storemerge411.reg2mem = alloca i32 %storemerge512.reg2mem = alloca i32 %storemerge613.reg2mem = alloca i32 store i32 0, i32* %storemerge613.reg2mem br label LBL_1 LBL_1: %storemerge613.reload = load i32, i32* %storemerge613.reg2mem %0 = mul i32 %storemerge613.reload, 8 %1 = add nuw nsw i32 %0, 4096 %2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0), i32 %1, i32 3841) %3 = add nuw nsw i32 %storemerge613.reload, 1 %exitcond18 = icmp eq i32 %3, 4 store i32 %3, i32* %storemerge613.reg2mem store i32 0, i32* %storemerge512.reg2mem br i1 %exitcond18, label LBL_2, label LBL_1 LBL_2: %storemerge512.reload = load i32, i32* %storemerge512.reg2mem %4 = mul i32 %storemerge512.reload, 8 %5 = add nuw nsw i32 %4, 4100 %6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0), i32 %5, i32 16843009) %7 = add nuw nsw i32 %storemerge512.reload, 1 %exitcond17 = icmp eq i32 %7, 4 store i32 %7, i32* %storemerge512.reg2mem br i1 %exitcond17, label LBL_3, label LBL_2 LBL_3: %8 = ptrtoint i64* %arg1 to i64 %9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0), i32 8192, i32 18809089) store i32 0, i32* %storemerge411.reg2mem br label LBL_4 LBL_4: %storemerge411.reload = load i32, i32* %storemerge411.reg2mem %10 = mul i32 %storemerge411.reload, 4 %11 = add nuw nsw i32 %10, 12288 %12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0), i32 %11, i32 0) %13 = add nuw nsw i32 %storemerge411.reload, 1 %exitcond16 = icmp eq i32 %13, 115 store i32 %13, i32* %storemerge411.reg2mem store i32 0, i32* %storemerge210.reg2mem br i1 %exitcond16, label LBL_7, label LBL_4 LBL_5: %storemerge39.reload = load i32, i32* %storemerge39.reg2mem %14 = add nuw nsw i32 %20, %storemerge39.reload %15 = mul i32 %14, 4 %16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0), i32 %15, i32 0) %17 = add nuw nsw i32 %storemerge39.reload, 1 %exitcond14 = icmp eq i32 %17, 8 store i32 %17, i32* %storemerge39.reg2mem br i1 %exitcond14, label LBL_6, label LBL_5 LBL_6: %18 = add nuw nsw i32 %storemerge210.reload, 1 %exitcond15 = icmp eq i32 %18, 4 store i32 %18, i32* %storemerge210.reg2mem store i32 0, i32* %storemerge18.reg2mem br i1 %exitcond15, label LBL_8, label LBL_7 LBL_7: %storemerge210.reload = load i32, i32* %storemerge210.reg2mem %19 = mul i32 %storemerge210.reload, 64 %20 = add nuw nsw i32 %19, 4096 store i32 0, i32* %storemerge39.reg2mem br label LBL_5 LBL_8: %storemerge18.reload = load i32, i32* %storemerge18.reg2mem %21 = mul i32 %storemerge18.reload, 256 %22 = add nuw nsw i32 %21, 20480 %23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0), i32 %22, i32 1023) %24 = add nuw nsw i32 %storemerge18.reload, 1 %exitcond = icmp eq i32 %24, 4 store i32 %24, i32* %storemerge18.reg2mem br i1 %exitcond, label LBL_9, label LBL_8 LBL_9: %25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0), i32 24576, i32 2) %26 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0), i32 28672, i32 3) %27 = call i64 @FUNC(i64 %8, i64 0) %28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0), i32 8192, i32 0) %29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0), i32 4096, i32 3840) %30 = call i64 @FUNC(i64 %8, i64 0) store i32 10, i32* %storemerge7.reg2mem br label LBL_10 LBL_10: %storemerge7.reload = load i32, i32* %storemerge7.reg2mem %31 = call i64 @FUNC(i64 1000) %32 = call i64 @FUNC() %33 = add nsw i32 %storemerge7.reload, -1 %34 = icmp eq i32 %33, 0 %35 = icmp eq i1 %34, false store i32 %33, i32* %storemerge7.reg2mem br i1 %35, label LBL_10, label LBL_11 LBL_11: ret i64 %32 uselistorder i32 %storemerge210.reload, { 1, 0 } uselistorder i32 %storemerge39.reload, { 1, 0 } uselistorder i64 %8, { 1, 0 } uselistorder i32* %storemerge613.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge512.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge411.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge39.reg2mem, { 2, 1, 0 } uselistorder i32* %storemerge210.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge18.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge7.reg2mem, { 1, 0, 2 } uselistorder i32 4, { 5, 4, 0, 1, 3, 2 } uselistorder i32 (i8*, ...)* @printf, { 8, 7, 6, 5, 0, 4, 3, 1, 2, 9 } uselistorder i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0), { 5, 6, 7, 8, 4, 3, 2, 9, 1, 0 } uselistorder i32 4096, { 2, 1, 0 } uselistorder i32 8, { 2, 0, 1 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
puv3_init_16837
puv3_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 24 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp eq i64 %3, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0)) call void @exit(i32 1) unreachable LBL_2: %6 = add i64 %0, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = add i64 %0, 16 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = icmp eq i64 %8, 0 %13 = icmp eq i1 %12, false %14 = select i1 %13, i64 %8, i64 ptrtoint ([11 x i8]* @gv_1 to i64) %15 = call i64 @FUNC(i64 1, i64 %14) %16 = call i64 @FUNC(i64 %15) %17 = icmp eq i64 %16, 0 %18 = icmp eq i1 %17, false br i1 %18, label LBL_4, label LBL_3 LBL_3: %19 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_2, i64 0, i64 0)) call void @exit(i32 1) unreachable LBL_4: %20 = call i64 @FUNC(i64 %16) %21 = call i64 @FUNC(i64 %16, i64 %0) %22 = call i64 @FUNC(i64 %11) ret i64 %22 uselistorder i64 %16, { 1, 0, 2 } uselistorder i64 %0, { 0, 2, 3, 1 } uselistorder void (i32)* @exit, { 1, 0 } uselistorder i64 (i8*)* @error_report, { 1, 0 } }
1
BinRealVul
vmxnet3_deactivate_device_1244
vmxnet3_deactivate_device
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i8 %3 = icmp eq i8 %2, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0)) %6 = add i64 %4, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %8) %10 = load i64, i64* %7, align 8 %11 = call i64 @FUNC(i64 %10) %12 = add i64 %4, 16 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = call i64 @FUNC(i64 %14) %16 = bitcast i64* %arg1 to i8* store i8 0, i8* %16, align 1 store i64 %4, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload }
0
BinRealVul
get_inbuf_6336
get_inbuf
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %1 = icmp eq i64* %arg1, null store i64 %0, i64* %storemerge.reg2mem br i1 %1, label LBL_1, label LBL_3 LBL_1: %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = bitcast i32* %sv_0 to i64* %6 = call i64 @FUNC(i64 %4, i64* nonnull %5) %7 = icmp eq i64 %6, 0 store i64 0, i64* %storemerge.reg2mem br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = inttoptr i64 %6 to i64* %9 = load i64, i64* %8, align 8 %10 = load i32, i32* %sv_0, align 4 %11 = zext i32 %10 to i64 %12 = icmp ugt i64 %9, %11 %13 = select i1 %12, i64 %11, i64 %9 %14 = add i64 %6, 8 %15 = inttoptr i64 %14 to i64* store i64 %13, i64* %15, align 8 %16 = add i64 %6, 16 %17 = inttoptr i64 %16 to i64* store i64 0, i64* %17, align 8 %18 = add i64 %0, 16 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = add i64 %20, %11 store i64 %21, i64* %19, align 8 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 %0, { 1, 2, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 } uselistorder label LBL_3, { 1, 0, 2 } }
0
BinRealVul
check_bt_irq_9787
check_bt_irq
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = urem i64 %0, 2 %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false %4 = urem i64 %arg2, 256 %5 = zext i1 %3 to i32 %6 = trunc i64 %4 to i32 %7 = icmp eq i32 %5, %6 %spec.select = select i1 %7, i64 %4, i64 %0 ret i64 %spec.select uselistorder i64 %4, { 1, 0 } uselistorder i64 %0, { 1, 0 } }
0
BinRealVul
tcp_chr_read_17196
tcp_chr_read
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %1 = load i64, i64* %0 %sv_0 = alloca i32, align 4 %sv_1 = alloca i64, align 8 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_12, label LBL_1 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = add i64 %4, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = zext i32 %7 to i64 %9 = icmp slt i32 %7, 1 store i64 %8, i64* %rax.0.reg2mem br i1 %9, label LBL_12, label LBL_2 LBL_2: %10 = icmp ult i32 %7, 1024 %spec.select = select i1 %10, i32 %7, i32 1024 %11 = call i64 @FUNC(i64 %4, i64* nonnull %sv_1, i32 %spec.select) %12 = trunc i64 %11 to i32 store i32 %12, i32* %sv_0, align 4 %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_6, label LBL_3 LBL_3: %15 = bitcast i64* %arg1 to i32* store i32 0, i32* %15, align 4 %16 = add i64 %4, 8 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = icmp slt i32 %18, 0 br i1 %19, label LBL_5, label LBL_4 LBL_4: %20 = zext i32 %18 to i64 %21 = call i64 @FUNC(i64 %20, i64 4198817, i64 0, i64 %4) br label LBL_5 LBL_5: %22 = add i64 %4, 12 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = zext i32 %24 to i64 %26 = call i64 @FUNC(i64 %25, i64 0, i64 0, i64 0) %27 = load i32, i32* %23, align 4 %28 = zext i32 %27 to i64 %29 = call i64 @FUNC(i64 %28) store i32 -1, i32* %23, align 4 %30 = call i64 @FUNC(i64 %4, i64 1) store i64 %30, i64* %rax.0.reg2mem br label LBL_12 LBL_6: %31 = and i64 %11, 4294967295 %32 = icmp slt i32 %12, 1 store i64 %31, i64* %rax.0.reg2mem br i1 %32, label LBL_12, label LBL_7 LBL_7: %33 = add i64 %4, 20 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = icmp eq i32 %35, 0 store i32 %12, i32* %.reg2mem br i1 %36, label LBL_9, label LBL_8 LBL_8: %37 = call i64 @FUNC(i64 %4, i64 %4, i64* nonnull %sv_1, i32* nonnull %sv_0) %.pre = load i32, i32* %sv_0, align 4 %38 = icmp slt i32 %.pre, 1 store i32 %.pre, i32* %.reg2mem br i1 %38, label LBL_10, label LBL_9 LBL_9: %.reload = load i32, i32* %.reg2mem %39 = call i64 @FUNC(i64 %4, i64* nonnull %sv_1, i32 %.reload) br label LBL_10 LBL_10: %40 = add i64 %4, 16 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = icmp eq i32 %42, -1 store i64 4294967295, i64* %rax.0.reg2mem br i1 %43, label LBL_12, label LBL_11 LBL_11: %44 = call i32 @close(i32 %42) store i32 -1, i32* %41, align 4 store i64 %4, i64* %rax.0.reg2mem br label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %4, { 0, 7, 6, 9, 5, 8, 2, 3, 1, 4, 10, 11 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 4, 1, 5, 6 } uselistorder i32 (i32)* @close, { 1, 0 } uselistorder i32 -1, { 1, 0, 2 } uselistorder i64 (i64, i64, i64, i64)* @qemu_set_fd_handler, { 1, 0 } uselistorder label LBL_12, { 2, 3, 4, 5, 1, 0 } uselistorder label LBL_9, { 1, 0 } }
1
BinRealVul
isunder_19163
isunder
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0 = alloca i8*, align 8 %0 = call i64 @FUNC(i64 %arg2, i64 1) %1 = call i64 @FUNC(i64 %arg1, i64 0) %2 = inttoptr i64 %1 to i8* store i8* %2, i8** %sv_0, align 8 %3 = bitcast i8** %sv_0 to i64* %4 = call i64 @FUNC(i64* nonnull %3, i64 %1) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 br i1 %6, label LBL_3, label LBL_1 LBL_1: %7 = load i8*, i8** %sv_0, align 8 %8 = load i8, i8* %7, align 1 store i64 1, i64* %storemerge.reg2mem store i64 1, i64* %storemerge.reg2mem switch i8 %8, label LBL_2 [ i8 0, label LBL_4 i8 47, label LBL_4 ] LBL_2: %9 = ptrtoint i8* %7 to i64 %10 = add i64 %9, -1 %11 = inttoptr i64 %10 to i8* %12 = load i8, i8* %11, align 1 %13 = icmp eq i8 %12, 47 %14 = icmp eq i1 %13, false store i64 1, i64* %storemerge.reg2mem br i1 %14, label LBL_3, label LBL_4 LBL_3: store i64 0, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem %15 = inttoptr i64 %1 to i64* call void @free(i64* %15) %16 = inttoptr i64 %0 to i64* call void @free(i64* %16) ret i64 %storemerge.reload uselistorder i64 %1, { 0, 2, 1 } uselistorder i8** %sv_0, { 1, 2, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 4, 3, 1, 2 } uselistorder void (i64*)* @free, { 1, 0 } uselistorder i8 47, { 1, 0 } uselistorder i64 (i64, i64)* @xabspath, { 1, 0 } uselistorder i64 1, { 2, 0, 1, 4, 3 } uselistorder i32 1, { 2, 0, 1 } uselistorder label LBL_4, { 3, 2, 0, 1 } }
1
reposvul_c_test
git_index_entry_cmp_205
git_index_entry_cmp
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i32 %0 = bitcast i64* %arg1 to i8* %1 = bitcast i64* %arg2 to i8* %2 = call i32 @strcmp(i8* %0, i8* %1) %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false store i32 %2, i32* %sv_0.0.reg2mem br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = ptrtoint i64* %arg2 to i64 %7 = add i64 %5, 8 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = add i64 %6, 8 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = sub i32 %9, %12 store i32 %13, i32* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %14 = zext i32 %sv_0.0.reload to i64 ret i64 %14 uselistorder i64* %arg2, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } }
0
BinRealVul
gen_neon_unzip_15377
gen_neon_unzip
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %.pre-phi7.reg2mem = alloca i64 %0 = trunc i64 %arg3 to i32 %1 = icmp eq i32 %0, 3 store i64 1, i64* %storemerge.reg2mem br i1 %1, label LBL_15, label LBL_1 LBL_1: %2 = trunc i64 %arg4 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i32 %0, 2 %5 = icmp eq i1 %4, %3 store i64 1, i64* %storemerge.reg2mem br i1 %5, label LBL_15, label LBL_2 LBL_2: %6 = and i64 %arg1, 4294967295 %7 = and i64 %arg2, 4294967295 %8 = call i64 @FUNC(i64 %6) %9 = call i64 @FUNC(i64 %7) br i1 %3, label LBL_10, label LBL_3 LBL_3: br i1 %4, label LBL_8, label LBL_4 LBL_4: %10 = icmp sgt i32 %0, 2 br i1 %10, label LBL_9, label LBL_5 LBL_5: switch i32 %0, label LBL_9 [ i32 0, label LBL_6 i32 1, label LBL_7 ] LBL_6: %11 = and i64 %9, 4294967295 %12 = and i64 %8, 4294967295 %13 = call i64 @FUNC(i64 %12, i64 %11) store i64 %11, i64* %.pre-phi7.reg2mem store i64 %12, i64* %.pre-phi.reg2mem br label LBL_14 LBL_7: %14 = and i64 %9, 4294967295 %15 = and i64 %8, 4294967295 %16 = call i64 @FUNC(i64 %15, i64 %14) store i64 %14, i64* %.pre-phi7.reg2mem store i64 %15, i64* %.pre-phi.reg2mem br label LBL_14 LBL_8: %17 = and i64 %9, 4294967295 %18 = and i64 %8, 4294967295 %19 = call i64 @FUNC(i64 %18, i64 %17) store i64 %17, i64* %.pre-phi7.reg2mem store i64 %18, i64* %.pre-phi.reg2mem br label LBL_14 LBL_9: call void @abort() unreachable LBL_10: switch i32 %0, label LBL_13 [ i32 0, label LBL_11 i32 1, label LBL_12 ] LBL_11: %20 = and i64 %9, 4294967295 %21 = and i64 %8, 4294967295 %22 = call i64 @FUNC(i64 %21, i64 %20) store i64 %20, i64* %.pre-phi7.reg2mem store i64 %21, i64* %.pre-phi.reg2mem br label LBL_14 LBL_12: %23 = and i64 %9, 4294967295 %24 = and i64 %8, 4294967295 %25 = call i64 @FUNC(i64 %24, i64 %23) store i64 %23, i64* %.pre-phi7.reg2mem store i64 %24, i64* %.pre-phi.reg2mem br label LBL_14 LBL_13: call void @abort() unreachable LBL_14: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %.pre-phi7.reload = load i64, i64* %.pre-phi7.reg2mem %26 = call i64 @FUNC(i64 %.pre-phi.reload) %27 = call i64 @FUNC(i64 %.pre-phi7.reload) store i64 0, i64* %storemerge.reg2mem br label LBL_15 LBL_15: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %9, { 1, 0, 2, 4, 3 } uselistorder i64 %8, { 1, 0, 2, 4, 3 } uselistorder i1 %4, { 1, 0 } uselistorder i1 %3, { 1, 0 } uselistorder i32 %0, { 3, 2, 1, 0, 4 } uselistorder i64* %.pre-phi7.reg2mem, { 0, 5, 4, 3, 2, 1 } uselistorder i64* %.pre-phi.reg2mem, { 0, 5, 4, 3, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 1, 2 } uselistorder i64 (i64)* @tcg_temp_free_i32, { 1, 0 } uselistorder void ()* @abort, { 1, 0 } uselistorder i64 (i64)* @tcg_const_i32, { 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder i32 1, { 9, 10, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_15, { 2, 0, 1 } }
1
BinRealVul
drdynvc_order_recv_6771
drdynvc_order_recv
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i32 %rax.0.reg2mem = alloca i64 %1 = ptrtoint i64* %arg2 to i64 %2 = load i32, i32* %0 %3 = call i64 @FUNC(i64 %1) %4 = trunc i64 %3 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 store i64 1, i64* %rax.0.reg2mem br i1 %9, label LBL_1, label LBL_8 LBL_1: %10 = ptrtoint i64* %arg1 to i64 %11 = zext i32 %2 to i64 %12 = call i64 @FUNC(i64 %1, i64 %11) %13 = udiv i32 %2, 16 %14 = urem i32 %13, 16 %15 = udiv i32 %2, 4 %16 = urem i32 %15, 4 %17 = urem i32 %2, 4 %18 = zext i32 %17 to i64 %19 = zext i32 %16 to i64 %20 = zext i32 %14 to i64 %21 = call i64 @FUNC(i64 %1, i64 0, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_0, i64 0, i64 0), i64 %20, i64 %19, i64 %18) store i64 %20, i64* @0, align 8 switch i32 %14, label LBL_7 [ i32 0, label LBL_2 i32 1, label LBL_3 i32 2, label LBL_4 i32 3, label LBL_5 i32 4, label LBL_6 ] LBL_2: %22 = call i64 @FUNC(i64 %10, i32 %16, i32 %17, i64 %1) store i64 %22, i64* %rax.0.reg2mem br label LBL_8 LBL_3: %23 = call i64 @FUNC(i64 %10, i32 %16, i32 %17, i64 %1) store i64 %23, i64* %rax.0.reg2mem br label LBL_8 LBL_4: %24 = call i64 @FUNC(i64 %10, i32 %16, i32 %17, i64 %1) store i64 %24, i64* %rax.0.reg2mem br label LBL_8 LBL_5: %25 = call i64 @FUNC(i64 %10, i32 %16, i32 %17, i64 %1) store i64 %25, i64* %rax.0.reg2mem br label LBL_8 LBL_6: %26 = call i64 @FUNC(i64 %10, i32 %16, i32 %17, i64 %1) store i64 %26, i64* %rax.0.reg2mem br label LBL_8 LBL_7: %27 = call i64 @FUNC(i64 %1, i64 1, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), i64 %20, i64 %19, i64 %18) store i64 2, 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 %17, { 1, 2, 3, 4, 5, 0 } uselistorder i32 %16, { 1, 2, 3, 4, 5, 0 } uselistorder i32 %14, { 1, 0 } uselistorder i64 %10, { 4, 3, 2, 1, 0 } uselistorder i32 %4, { 1, 0 } uselistorder i32 %2, { 1, 3, 2, 0 } uselistorder i64 %1, { 5, 4, 3, 2, 1, 0, 7, 6, 8 } uselistorder i64* %rax.0.reg2mem, { 0, 7, 6, 5, 4, 3, 2, 1 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @WLog_Print, { 1, 0 } uselistorder i64 0, { 5, 6, 9, 7, 8, 0, 1, 2, 3, 4, 10 } uselistorder i32 4, { 3, 1, 2, 0 } uselistorder i32 16, { 1, 0 } uselistorder i64 1, { 1, 0, 2 } uselistorder i1 false, { 1, 0 } uselistorder label LBL_8, { 6, 1, 2, 3, 4, 5, 0 } }
0
BinRealVul
ap_query_configuration_8876
ap_query_configuration
define i64 @FUNC() local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i64 %0 = call i64 @FUNC() %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 0 br i1 %2, label LBL_5, label LBL_1 LBL_1: %3 = load i64, i64* @gv_0, align 8 %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false store i64 %3, i64* %.reg2mem br i1 %5, label LBL_3, label LBL_2 LBL_2: %6 = call i64 @FUNC(i64 0, i64 0) store i64 %6, i64* @gv_0, align 8 store i64 %6, i64* %.reg2mem br label LBL_3 LBL_3: %.reload = load i64, i64* %.reg2mem %7 = icmp eq i64 %.reload, 0 store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_6, label LBL_4 LBL_4: %8 = call i64 @FUNC(i64 %.reload) store i64 %8, i64* %rax.0.reg2mem br label LBL_6 LBL_5: store i64 0, i64* @gv_0, align 8 store i64 %0, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i32 1, { 2, 1, 3, 0 } }
0
BinRealVul
ff_h264_direct_dist_scale_factor_14161
ff_h264_direct_dist_scale_factor
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %.lcssa.reg2mem = alloca i64 %storemerge4.reg2mem = alloca i32 %.reg2mem21 = alloca i64 %.pre-phi11.reg2mem = alloca i32* %.reg2mem19 = alloca i32 %.reg2mem17 = alloca i32 %storemerge25.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 364 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = icmp eq i32 %3, 1 %5 = icmp eq i1 %4, false %. = select i1 %5, i64 0, i64 4 %6 = add i64 %., %0 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = add i64 %0, 24 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp eq i32 %3, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_0.LBL_7_crit_edge, label LBL_2 LBL_1: %.pre9 = add i64 %0, 40 %.pre10 = inttoptr i64 %.pre9 to i32* %.pre16 = load i32, i32* %.pre10, align 4 store i32 %.pre16, i32* %.reg2mem19 store i32* %.pre10, i32** %.pre-phi11.reg2mem br label LBL_7 LBL_2: %14 = add i64 %0, 32 %15 = inttoptr i64 %14 to i64* %16 = add i64 %0, 40 %17 = inttoptr i64 %16 to i32* %18 = add i64 %0, 108 %.pre = load i32, i32* %17, align 4 store i32 %.pre, i32* %.reg2mem store i64 0, i64* %indvars.iv.reg2mem br label LBL_3 LBL_3: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %.reload = load i32, i32* %.reg2mem %19 = mul i64 %indvars.iv.reload, 4 %20 = add i64 %19, %0 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = load i64, i64* %15, align 8 %24 = add i64 %23, %19 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = urem i32 %.reload, -2147483648 %28 = icmp eq i32 %27, 0 store i32 %.reload, i32* %.reg2mem17 br i1 %28, label LBL_6, label LBL_4 LBL_4: %29 = mul i64 %indvars.iv.reload, 32 %30 = trunc i64 %indvars.iv.reload to i32 store i32 0, i32* %storemerge25.reg2mem br label LBL_5 LBL_5: %storemerge25.reload = load i32, i32* %storemerge25.reg2mem %31 = add i32 %storemerge25.reload, 16 %32 = zext i32 %31 to i64 %33 = xor i32 %storemerge25.reload, %30 %34 = call i64 @FUNC(i64 %0, i32 %22, i32 %26, i64 %32) %35 = sext i32 %33 to i64 %36 = add nsw i64 %29, %35 %37 = trunc i64 %34 to i32 %38 = mul i64 %36, 4 %39 = add i64 %18, %38 %40 = inttoptr i64 %39 to i32* store i32 %37, i32* %40, align 4 %41 = add i32 %storemerge25.reload, 1 %42 = load i32, i32* %17, align 4 %43 = mul i32 %42, 2 %44 = zext i32 %43 to i64 %45 = sext i32 %41 to i64 %46 = icmp slt i64 %45, %44 store i32 %41, i32* %storemerge25.reg2mem store i32 %42, i32* %.reg2mem17 br i1 %46, label LBL_5, label LBL_6 LBL_6: %.reload18 = load i32, i32* %.reg2mem17 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 2 store i32 %.reload18, i32* %.reg2mem store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %.reload18, i32* %.reg2mem19 store i32* %17, i32** %.pre-phi11.reg2mem br i1 %exitcond, label LBL_7, label LBL_3 LBL_7: %.reload20 = load i32, i32* %.reg2mem19 %47 = icmp eq i32 %.reload20, 0 store i64 0, i64* %.lcssa.reg2mem br i1 %47, label LBL_10, label LBL_8 LBL_8: %.pre-phi11.reload = load i32*, i32** %.pre-phi11.reg2mem %48 = add i64 %0, 44 store i64 0, i64* %.reg2mem21 store i32 0, i32* %storemerge4.reg2mem br label LBL_9 LBL_9: %storemerge4.reload = load i32, i32* %storemerge4.reg2mem %.reload22 = load i64, i64* %.reg2mem21 %49 = zext i32 %storemerge4.reload to i64 %50 = call i64 @FUNC(i64 %0, i32 %8, i32 %11, i64 %49) %51 = trunc i64 %50 to i32 %52 = mul i64 %.reload22, 4 %53 = add i64 %48, %52 %54 = inttoptr i64 %53 to i32* store i32 %51, i32* %54, align 4 %55 = add i32 %storemerge4.reload, 1 %56 = load i32, i32* %.pre-phi11.reload, align 4 %57 = zext i32 %56 to i64 %58 = sext i32 %55 to i64 %59 = icmp slt i64 %58, %57 store i64 %58, i64* %.reg2mem21 store i32 %55, i32* %storemerge4.reg2mem store i64 %57, i64* %.lcssa.reg2mem br i1 %59, label LBL_9, label LBL_10 LBL_10: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem ret i64 %.lcssa.reload uselistorder i32 %storemerge25.reload, { 0, 2, 1 } uselistorder i64 %19, { 1, 0 } uselistorder i64 %indvars.iv.reload, { 0, 1, 3, 2 } uselistorder i32* %17, { 0, 2, 1 } uselistorder i64 %0, { 8, 3, 6, 0, 4, 5, 7, 2, 9, 1, 10 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge25.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem21, { 1, 0, 2 } uselistorder i32* %storemerge4.reg2mem, { 1, 0, 2 } uselistorder i64 (i64, i32, i32, i64)* @get_scale_factor, { 1, 0 } uselistorder i64 40, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
pms_change_state_4074
pms_change_state
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i8, align 1 %sv_1 = alloca i64, align 8 %sv_2 = alloca i8, align 1 %3 = trunc i64 %arg2 to i32 %sext = mul i64 %arg2, 4294967296 %4 = ashr exact i64 %sext, 32 %5 = icmp eq i32 %3, 1 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = trunc i64 %4 to i32 %7 = icmp sgt i32 %6, 0 %8 = or i32 %6, 1 %9 = icmp eq i32 %8, 3 %or.cond = icmp eq i1 %7, %9 store i64 0, i64* %storemerge.reg2mem br i1 %or.cond, label LBL_14, label LBL_17 LBL_2: %10 = trunc i64 %1 to i32 %11 = icmp eq i32 %10, 1 %12 = icmp eq i1 %11, false store i64 16, i64* %storemerge.reg2mem br i1 %12, label LBL_3, label LBL_17 LBL_3: %13 = add i64 %2, 4 %14 = inttoptr i64 %13 to i32* store i32 0, i32* %14, align 4 %15 = add i64 %2, 8 %16 = inttoptr i64 %15 to i32* store i32 0, i32* %16, align 4 %17 = add i64 %2, 16 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = add i64 %2, 12 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = zext i32 %19 to i64 %24 = zext i32 %22 to i64 %25 = call i64 @FUNC(i64 %24, i64 %23, i64 1) %26 = add i64 %2, 20 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = icmp eq i32 %28, 0 br i1 %29, label LBL_5, label LBL_4 LBL_4: %30 = load i32, i32* %18, align 4 %31 = load i32, i32* %21, align 4 %32 = zext i32 %30 to i64 %33 = zext i32 %31 to i64 %34 = call i64 @FUNC(i64 %33, i64 %32) br label LBL_5 LBL_5: store i8 -1, i8* %sv_2, align 1 %35 = call i64 @FUNC(i64 %2, i8* nonnull %sv_2, i64 1, i64* nonnull %sv_1, i64 2) %36 = call i64 @FUNC(i64 %2) %37 = trunc i64 %36 to i32 %38 = add i64 %2, 24 %39 = inttoptr i64 %38 to i32* store i32 %37, i32* %39, align 4 store i8 -12, i8* %sv_2, align 1 %40 = call i64 @FUNC(i64 %2, i8* nonnull %sv_2, i64 1, i64* null, i64 0) %41 = trunc i64 %40 to i32 %42 = icmp eq i32 %41, 0 br i1 %42, label LBL_7, label LBL_6 LBL_6: %43 = call i32 @puts(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0)) br label LBL_7 LBL_7: store i8 -24, i8* %sv_0, align 1 %44 = load i32, i32* %18, align 4 %45 = load i32, i32* %21, align 4 %46 = zext i32 %45 to i64 %47 = call i64 @FUNC(i64 %46, i32 %44, i8* nonnull %sv_0, i64 2, i64 0, i64 1) %48 = trunc i64 %47 to i32 %49 = icmp eq i32 %48, 0 br i1 %49, label LBL_9, label LBL_8 LBL_8: %50 = and i64 %47, 4294967295 %51 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_1, i64 0, i64 0), i64 %50) br label LBL_9 LBL_9: store i8 -26, i8* %sv_0, align 1 %52 = load i32, i32* %18, align 4 %53 = load i32, i32* %21, align 4 %54 = zext i32 %53 to i64 %55 = call i64 @FUNC(i64 %54, i32 %52, i8* nonnull %sv_0, i64 1, i64 0, i64 1) %56 = trunc i64 %55 to i32 %57 = icmp eq i32 %56, 0 br i1 %57, label LBL_11, label LBL_10 LBL_10: %58 = and i64 %55, 4294967295 %59 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_2, i64 0, i64 0), i64 %58) br label LBL_11 LBL_11: store i8 -23, i8* %sv_0, align 1 %60 = load i32, i32* %18, align 4 %61 = load i32, i32* %21, align 4 %62 = zext i32 %61 to i64 %63 = call i64 @FUNC(i64 %62, i32 %60, i8* nonnull %sv_0, i64 2, i64 0, i64 1) %64 = trunc i64 %63 to i32 %65 = icmp eq i32 %64, 0 br i1 %65, label LBL_13, label LBL_12 LBL_12: %66 = and i64 %63, 4294967295 %67 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_3, i64 0, i64 0), i64 %66) br label LBL_13 LBL_13: %68 = trunc i64 %4 to i32 %69 = bitcast i64* %arg1 to i32* store i32 %68, i32* %69, align 4 store i32 0, i32* %27, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_17 LBL_14: store i8 -11, i8* %sv_2, align 1 %70 = call i64 @FUNC(i64 %2, i8* nonnull %sv_2, i64 1, i64* null, i64 0) %71 = trunc i64 %70 to i32 %72 = icmp eq i32 %71, 0 br i1 %72, label LBL_16, label LBL_15 LBL_15: %73 = call i32 @puts(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_4, i64 0, i64 0)) br label LBL_16 LBL_16: %74 = add i64 %2, 16 %75 = inttoptr i64 %74 to i32* %76 = load i32, i32* %75, align 4 %77 = add i64 %2, 12 %78 = inttoptr i64 %77 to i32* %79 = load i32, i32* %78, align 4 %80 = zext i32 %76 to i64 %81 = zext i32 %79 to i64 %82 = call i64 @FUNC(i64 %81, i64 %80, i64 0) %83 = bitcast i64* %arg1 to i32* store i32 %6, i32* %83, align 4 %84 = icmp eq i32 %6, 3 %85 = zext i1 %84 to i32 %86 = add i64 %2, 20 %87 = inttoptr i64 %86 to i32* store i32 %85, i32* %87, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_17 LBL_17: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32* %21, { 1, 2, 3, 0, 4 } uselistorder i32* %18, { 1, 2, 3, 0, 4 } uselistorder i32 %6, { 1, 2, 3, 0 } uselistorder i8* %sv_2, { 0, 3, 1, 4, 2, 5 } uselistorder i8* %sv_0, { 0, 3, 1, 4, 2, 5 } uselistorder i64 %2, { 0, 2, 1, 3, 4, 7, 6, 5, 8, 10, 9, 11, 12 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 4, 1 } uselistorder i32 (i8*, ...)* @printf, { 2, 1, 0 } uselistorder i64 (i64, i32, i8*, i64, i64, i64)* @pckbc_enqueue_cmd, { 2, 1, 0 } uselistorder i32 (i8*)* @puts, { 1, 0 } uselistorder i64* null, { 1, 0 } uselistorder i64 (i64, i8*, i64, i64*, i64)* @pms_cmd, { 2, 1, 0 } uselistorder i64 (i64, i64, i64)* @pckbc_slot_enable, { 1, 0 } uselistorder i64 16, { 1, 2, 0 } uselistorder i32 3, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 0 } uselistorder i64* %arg1, { 1, 0, 2 } uselistorder label LBL_17, { 2, 1, 3, 0 } }
0
BinRealVul
qemu_malloc_17313
qemu_malloc
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = icmp eq i64 %arg1, 0 %1 = icmp eq i1 %0, false br i1 %1, label LBL_3, label LBL_1 LBL_1: %2 = call i64 @FUNC() %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_3, label LBL_2 LBL_2: call void @abort() unreachable LBL_3: %phitmp = trunc i64 %arg1 to i32 %storemerge = select i1 %0, i32 1, i32 %phitmp %6 = call i64* @malloc(i32 %storemerge) %7 = ptrtoint i64* %6 to i64 %8 = call i64 @FUNC(i64 %7) ret i64 %8 }
1
BinRealVul
nbd_co_receive_request_14377
nbd_co_receive_request
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg1 to i64 %6 = call i64 @FUNC() %7 = add i64 %5, 8 %8 = inttoptr i64 %7 to i64* store i64 %6, i64* %8, align 8 %9 = ptrtoint i32* %arg2 to i64 %10 = and i64 %3, 4294967295 %11 = call i64 @FUNC(i64 %10, i64 %9) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, -1 %14 = icmp eq i1 %13, false store i64 4294967291, i64* %sv_0.0.reg2mem br i1 %14, label LBL_1, label LBL_8 LBL_1: %15 = add i64 %9, 4 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp ult i32 %17, 1025 br i1 %18, label LBL_3, label LBL_2 LBL_2: %19 = zext i32 %17 to i64 %20 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0), i64 %19, i64 1024, i64 %4, i64 %2, i64 %1) store i64 4294967274, i64* %sv_0.0.reg2mem br label LBL_8 LBL_3: %21 = trunc i64 %9 to i32 %22 = add i32 %17, %21 %23 = icmp ult i32 %22, %21 %24 = icmp eq i1 %23, false br i1 %24, label LBL_5, label LBL_4 LBL_4: %25 = zext i32 %22 to i64 %26 = call i64 @FUNC(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_1, i64 0, i64 0), i64 %9, i64 %25, i64 %4, i64 %2, i64 %1) store i64 4294967274, i64* %sv_0.0.reg2mem br label LBL_8 LBL_5: %27 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0), i64 %9, i32 %22, i64 %4, i64 %2, i64 %1) %28 = add i64 %9, 8 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = urem i32 %30, 16 %32 = icmp eq i32 %31, 1 %33 = icmp eq i1 %32, false store i64 0, i64* %sv_0.0.reg2mem br i1 %33, label LBL_8, label LBL_6 LBL_6: %34 = load i32, i32* %16, align 4 %35 = zext i32 %34 to i64 %36 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_3, i64 0, i64 0), i64 %35, i32 %22, i64 %4, i64 %2, i64 %1) %37 = load i32, i32* %16, align 4 %38 = load i64, i64* %8, align 8 %39 = call i64 @FUNC(i64 %10, i64 %38, i32 %37) %40 = load i32, i32* %16, align 4 %41 = trunc i64 %39 to i32 %42 = icmp eq i32 %40, %41 store i64 0, i64* %sv_0.0.reg2mem br i1 %42, label LBL_8, label LBL_7 LBL_7: %43 = and i64 %39, 4294967295 %44 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_4, i64 0, i64 0), i64 %38, i64 %43, i64 %38, i64 %2, i64 %1) store i64 4294967291, i64* %sv_0.0.reg2mem br label LBL_8 LBL_8: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem store i64 0, i64* %8, align 8 ret i64 %sv_0.0.reload uselistorder i64 %39, { 1, 0 } uselistorder i64 %38, { 1, 0, 2 } uselistorder i32 %22, { 0, 1, 3, 2 } uselistorder i32 %21, { 1, 0 } uselistorder i64 %10, { 1, 0 } uselistorder i64 %9, { 3, 0, 1, 2, 4, 5 } uselistorder i64 %4, { 1, 0, 2, 3 } uselistorder i64 %2, { 4, 1, 0, 3, 2 } uselistorder i64 %1, { 4, 1, 0, 3, 2 } uselistorder i64* %sv_0.0.reg2mem, { 0, 6, 2, 1, 5, 4, 3 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i8*, i64, i32, i64, i64, i64)* @TRACE, { 1, 0 } uselistorder i64 4294967274, { 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @LOG, { 2, 1, 0 } uselistorder i64 4294967291, { 1, 0 } uselistorder label LBL_8, { 3, 1, 0, 4, 5, 2 } }
1
BinRealVul
dump_esp_combs_10772
dump_esp_combs
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge5.reg2mem = alloca i32 %.in7.reg2mem = alloca i64 %storemerge46.reg2mem = alloca i32 %.in.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1, i64 16) %3 = inttoptr i64 %2 to i32* store i32 2, i32* %3, align 4 %4 = add i64 %2, 4 %5 = inttoptr i64 %4 to i32* store i32 1, i32* %5, align 4 %6 = add i64 %2, 8 %7 = inttoptr i64 %6 to i32* store i32 32, i32* %7, align 4 %8 = add i64 %2, 12 %9 = inttoptr i64 %8 to i64* %10 = call i64* @memset(i64* %9, i32 0, i32 4) %11 = call i64 @FUNC(i64 0) %12 = icmp eq i64 %11, 0 store i64 %11, i64* %.in.reg2mem store i32 0, i32* %storemerge46.reg2mem br i1 %12, label LBL_12, label LBL_1 LBL_1: %storemerge46.reload = load i32, i32* %storemerge46.reg2mem %.in.reload = load i64, i64* %.in.reg2mem %13 = add i64 %.in.reload, 12 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = icmp eq i32 %15, 0 br i1 %16, label LBL_11, label LBL_2 LBL_2: %17 = call i64 @FUNC(i64 %0, i64 %.in.reload) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 br i1 %19, label LBL_11, label LBL_3 LBL_3: %20 = add i64 %.in.reload, 16 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = icmp eq i32 %22, 0 br i1 %23, label LBL_11, label LBL_4 LBL_4: %24 = call i64 @FUNC(i64 1) %25 = icmp eq i64 %24, 0 br i1 %25, label LBL_11, label LBL_5 LBL_5: %26 = inttoptr i64 %.in.reload to i32* %27 = add i64 %.in.reload, 4 %28 = inttoptr i64 %27 to i32* %29 = add i64 %.in.reload, 8 %30 = inttoptr i64 %29 to i32* store i64 %24, i64* %.in7.reg2mem store i32 1, i32* %storemerge5.reg2mem br label LBL_6 LBL_6: %storemerge5.reload = load i32, i32* %storemerge5.reg2mem %.in7.reload = load i64, i64* %.in7.reg2mem %31 = add i64 %.in7.reload, 12 %32 = inttoptr i64 %31 to i32* %33 = load i32, i32* %32, align 4 %34 = icmp eq i32 %33, 0 br i1 %34, label LBL_10, label LBL_7 LBL_7: %35 = call i64 @FUNC(i64 %0, i64 %.in7.reload) %36 = trunc i64 %35 to i32 %37 = icmp eq i32 %36, 0 br i1 %37, label LBL_10, label LBL_8 LBL_8: %38 = add i64 %.in7.reload, 16 %39 = inttoptr i64 %38 to i32* %40 = load i32, i32* %39, align 4 %41 = icmp eq i32 %40, 0 br i1 %41, label LBL_10, label LBL_9 LBL_9: %42 = inttoptr i64 %.in7.reload to i32* %43 = call i64 @FUNC(i64 %1, i64 40) %44 = inttoptr i64 %43 to i64* %45 = call i64* @memset(i64* %44, i32 0, i32 40) %46 = load i32, i32* %3, align 4 %47 = add i32 %46, 5 store i32 %47, i32* %3, align 4 %48 = load i32, i32* %42, align 4 %49 = inttoptr i64 %43 to i32* store i32 %48, i32* %49, align 4 %50 = add i64 %.in7.reload, 4 %51 = inttoptr i64 %50 to i32* %52 = load i32, i32* %51, align 4 %53 = add i64 %43, 4 %54 = inttoptr i64 %53 to i32* store i32 %52, i32* %54, align 4 %55 = add i64 %.in7.reload, 8 %56 = inttoptr i64 %55 to i32* %57 = load i32, i32* %56, align 4 %58 = add i64 %43, 8 %59 = inttoptr i64 %58 to i32* store i32 %57, i32* %59, align 4 %60 = load i32, i32* %26, align 4 %61 = add i64 %43, 12 %62 = inttoptr i64 %61 to i32* store i32 %60, i32* %62, align 4 %63 = load i32, i32* %28, align 4 %64 = add i64 %43, 16 %65 = inttoptr i64 %64 to i32* store i32 %63, i32* %65, align 4 %66 = load i32, i32* %30, align 4 %67 = add i64 %43, 20 %68 = inttoptr i64 %67 to i32* store i32 %66, i32* %68, align 4 %69 = add i64 %43, 24 %70 = inttoptr i64 %69 to i32* store i32 86400, i32* %70, align 4 %71 = add i64 %43, 28 %72 = inttoptr i64 %71 to i32* store i32 72000, i32* %72, align 4 %73 = add i64 %43, 32 %74 = inttoptr i64 %73 to i32* store i32 28800, i32* %74, align 4 %75 = add i64 %43, 36 %76 = inttoptr i64 %75 to i32* store i32 25200, i32* %76, align 4 br label LBL_10 LBL_10: %77 = add i32 %storemerge5.reload, 1 %78 = zext i32 %77 to i64 %79 = call i64 @FUNC(i64 %78) %80 = icmp eq i64 %79, 0 store i64 %79, i64* %.in7.reg2mem store i32 %77, i32* %storemerge5.reg2mem br i1 %80, label LBL_11, label LBL_6 LBL_11: %81 = add i32 %storemerge46.reload, 1 %82 = zext i32 %81 to i64 %83 = call i64 @FUNC(i64 %82) %84 = icmp eq i64 %83, 0 store i64 %83, i64* %.in.reg2mem store i32 %81, i32* %storemerge46.reg2mem br i1 %84, label LBL_12, label LBL_1 LBL_12: ret i64 0 uselistorder i64 %.in7.reload, { 5, 4, 0, 3, 2, 1 } uselistorder i64 %.in.reload, { 5, 4, 0, 3, 2, 1 } uselistorder i32* %3, { 1, 0, 2 } uselistorder i64 %2, { 1, 2, 3, 0 } uselistorder i64* %.in.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge46.reg2mem, { 2, 0, 1 } uselistorder i64* %.in7.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge5.reg2mem, { 1, 0, 2 } uselistorder i64 (i64)* @xfrm_aalg_get_byidx, { 1, 0 } uselistorder i64 1, { 2, 0, 1 } uselistorder i64 (i64)* @xfrm_ealg_get_byidx, { 1, 0 } uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 } uselistorder i32 0, { 1, 3, 4, 5, 6, 7, 8, 0, 2 } uselistorder i64 8, { 1, 2, 0, 3, 4 } uselistorder i64 4, { 1, 2, 0, 3 } uselistorder i64 (i64, i64)* @skb_put, { 1, 0 } uselistorder i64 16, { 1, 2, 3, 0 } uselistorder label LBL_11, { 0, 1, 3, 2, 4 } uselistorder label LBL_10, { 3, 1, 0, 2 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
av_opt_query_ranges_default_17528
av_opt_query_ranges_default
define i64 @FUNC(i64* %arg1, i64 %arg2, i8* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %storemerge3.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %0 = ptrtoint i8* %arg3 to i64 %1 = call i64 @FUNC(i64 16) %2 = call i64 @FUNC(i64 8) %3 = call i64 @FUNC(i64 20) %4 = and i64 %arg4, 4294967295 %5 = call i64 @FUNC(i64 %arg2, i64 %0, i64 0, i64 0, i64 %4) store i64 0, i64* %arg1, align 8 %6 = icmp eq i64 %1, 0 %7 = icmp eq i64 %3, 0 %or.cond = or i1 %6, %7 %8 = icmp eq i64 %2, 0 %or.cond6 = or i1 %8, %or.cond %or.cond6.not = icmp ne i1 %or.cond6, true %9 = icmp eq i64 %5, 0 %10 = icmp eq i1 %9, false %or.cond8 = icmp eq i1 %10, %or.cond6.not store i64 4294967284, i64* %storemerge.reg2mem br i1 %or.cond8, label LBL_1, label LBL_10 LBL_1: %11 = inttoptr i64 %5 to i32* %12 = inttoptr i64 %3 to i32* %13 = inttoptr i64 %1 to i64* store i64 %2, i64* %13, align 8 %14 = inttoptr i64 %2 to i64* store i64 %3, i64* %14, align 8 %15 = add i64 %1, 8 %16 = inttoptr i64 %15 to i32* store i32 1, i32* %16, align 4 store i32 1, i32* %12, align 4 %17 = add i64 %5, 4 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = add i64 %3, 4 %21 = inttoptr i64 %20 to i32* store i32 %19, i32* %21, align 4 %22 = add i64 %5, 8 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = add i64 %3, 8 %26 = inttoptr i64 %25 to i32* store i32 %24, i32* %26, align 4 %27 = load i32, i32* %11, align 4 %28 = icmp eq i32 %27, 8 br i1 %28, label LBL_8, label LBL_2 LBL_2: %29 = icmp sgt i32 %27, 8 store i64 4294967258, i64* %storemerge.reg2mem br i1 %29, label LBL_10, label LBL_3 LBL_3: %30 = icmp eq i32 %27, 7 br i1 %30, label LBL_7, label LBL_4 LBL_4: %31 = icmp sgt i32 %27, 5 br i1 %31, label LBL_6, label LBL_5 LBL_5: %32 = icmp slt i32 %27, 0 %33 = icmp eq i1 %32, false store i64 4294967258, i64* %storemerge.reg2mem br i1 %33, label LBL_9, label LBL_10 LBL_6: %34 = add i64 %3, 12 %35 = inttoptr i64 %34 to i32* store i32 0, i32* %35, align 4 %36 = add i64 %3, 16 %37 = inttoptr i64 %36 to i32* store i32 1114111, i32* %37, align 4 store i32 -1, i32* %21, align 4 store i32 2147483647, i32* %26, align 4 br label LBL_9 LBL_7: %38 = add i64 %3, 12 %39 = inttoptr i64 %38 to i32* store i32 -2147483648, i32* %39, align 4 %40 = add i64 %3, 16 %41 = inttoptr i64 %40 to i32* store i32 2147483647, i32* %41, align 4 br label LBL_9 LBL_8: %42 = add i64 %3, 12 %43 = inttoptr i64 %42 to i32* store i32 0, i32* %43, align 4 %44 = add i64 %3, 16 %45 = inttoptr i64 %44 to i32* store i32 2097151, i32* %45, align 4 store i32 0, i32* %21, align 4 store i32 268435455, i32* %26, align 4 br label LBL_9 LBL_9: store i64 %1, i64* %arg1, align 8 store i64 0, i64* %storemerge3.reg2mem br label LBL_11 LBL_10: %storemerge.reload = load i64, i64* %storemerge.reg2mem %46 = call i64 @FUNC(i64 %1) %47 = call i64 @FUNC(i64 %3) store i64 %storemerge.reload, i64* %storemerge3.reg2mem br label LBL_11 LBL_11: %storemerge3.reload = load i64, i64* %storemerge3.reg2mem ret i64 %storemerge3.reload uselistorder i32* %26, { 1, 0, 2 } uselistorder i32* %21, { 1, 0, 2 } uselistorder i64 %5, { 1, 2, 3, 0 } uselistorder i64 %3, { 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 11, 10 } uselistorder i64 %2, { 0, 2, 1 } uselistorder i64 %1, { 3, 0, 1, 2, 4 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 } uselistorder i64 4294967258, { 1, 0 } uselistorder i32 8, { 1, 0 } uselistorder i64 (i64)* @av_mallocz, { 2, 1, 0 } uselistorder i64 16, { 1, 2, 3, 0 } uselistorder label LBL_10, { 2, 1, 0 } uselistorder label LBL_9, { 1, 2, 3, 0 } }
1
BinRealVul
raw_recvmsg_11189
raw_recvmsg
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4, i32 %arg5, i32 %arg6, i64* %arg7) local_unnamed_addr { LBL_0: %sv_0.2.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %sv_1 = alloca i32, align 4 %1 = call i64 @FUNC(i64 %0) store i32 -95, i32* %sv_1, align 4 %2 = urem i32 %arg6, 2 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false store i64 0, i64* %sv_0.2.reg2mem br i1 %4, label LBL_16, label LBL_1 LBL_1: %5 = icmp eq i64* %arg7, null br i1 %5, label LBL_3, label LBL_2 LBL_2: %6 = bitcast i64* %arg7 to i32* store i32 16, i32* %6, align 4 br label LBL_3 LBL_3: %7 = ptrtoint i64* %arg3 to i64 %8 = and i32 %arg6, 8192 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_5, label LBL_4 LBL_4: %10 = call i64 @FUNC(i64 %0, i64 %7, i64 %arg4) %11 = trunc i64 %10 to i32 store i32 %11, i32* %sv_1, align 4 store i64 0, i64* %sv_0.2.reg2mem br label LBL_16 LBL_5: %12 = call i64 @FUNC(i64 %0, i32 %arg6, i32 %arg5, i32* nonnull %sv_1) %13 = icmp eq i64 %12, 0 store i64 0, i64* %sv_0.2.reg2mem br i1 %13, label LBL_16, label LBL_6 LBL_6: %14 = inttoptr i64 %12 to i64* %15 = load i64, i64* %14, align 8 %16 = icmp ugt i64 %15, %arg4 %17 = icmp eq i1 %16, false store i64 %15, i64* %sv_0.0.reg2mem br i1 %17, label LBL_8, label LBL_7 LBL_7: %18 = add i64 %7, 48 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = or i32 %20, 32 store i32 %21, i32* %19, align 4 store i64 %arg4, i64* %sv_0.0.reg2mem br label LBL_8 LBL_8: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %22 = add i64 %7, 16 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = call i64 @FUNC(i64 %12, i64 0, i64 %24, i64 %sv_0.0.reload) %26 = trunc i64 %25 to i32 store i32 %26, i32* %sv_1, align 4 %27 = icmp eq i32 %26, 0 %28 = icmp eq i1 %27, false store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br i1 %28, label LBL_15, label LBL_9 LBL_9: %29 = call i64 @FUNC(i64 %7, i64 %0, i64 %12) %30 = icmp eq i64* %arg3, null br i1 %30, label LBL_11, label LBL_10 LBL_10: %31 = bitcast i64* %arg3 to i16* store i16 2, i16* %31, align 2 %32 = call i64 @FUNC(i64 %12) %33 = inttoptr i64 %32 to i64* %34 = load i64, i64* %33, align 8 %35 = trunc i64 %34 to i32 %36 = add i64 %7, 4 %37 = inttoptr i64 %36 to i32* store i32 %35, i32* %37, align 4 %38 = add i64 %7, 2 %39 = inttoptr i64 %38 to i16* store i16 0, i16* %39, align 2 %40 = add i64 %7, 8 %41 = inttoptr i64 %40 to i64* %42 = call i64* @memset(i64* %41, i32 0, i32 8) br label LBL_11 LBL_11: %43 = inttoptr i64 %1 to i32* %44 = load i32, i32* %43, align 4 %45 = icmp eq i32 %44, 0 br i1 %45, label LBL_13, label LBL_12 LBL_12: %46 = call i64 @FUNC(i64 %7, i64 %12) br label LBL_13 LBL_13: %47 = and i32 %arg6, 32 %48 = icmp eq i32 %47, 0 store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br i1 %48, label LBL_15, label LBL_14 LBL_14: %49 = load i64, i64* %14, align 8 store i64 %49, i64* %sv_0.1.reg2mem br label LBL_15 LBL_15: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %50 = call i64 @FUNC(i64 %0, i64 %12) store i64 %sv_0.1.reload, i64* %sv_0.2.reg2mem br label LBL_16 LBL_16: %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem %51 = load i32, i32* %sv_1, align 4 %52 = icmp eq i32 %51, 0 %53 = zext i32 %51 to i64 %storemerge = select i1 %52, i64 %sv_0.2.reload, i64 %53 ret i64 %storemerge uselistorder i64 %12, { 3, 1, 0, 2, 4, 5, 6 } uselistorder i64 %7, { 5, 2, 3, 4, 6, 7, 1, 0 } uselistorder i32* %sv_1, { 1, 2, 0, 3, 4 } uselistorder i64 %0, { 2, 1, 3, 0, 4 } uselistorder i64* %sv_0.2.reg2mem, { 0, 2, 3, 1, 4 } uselistorder i32 %arg6, { 1, 3, 2, 0 } uselistorder label LBL_16, { 2, 0, 3, 1 } uselistorder label LBL_15, { 2, 0, 1 } }
1
BinRealVul
__filterShell_11948
__filterShell
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.1.lcssa.reg2mem = alloca i8* %sv_0.0.reg2mem = alloca i8* %sv_1.03.reg2mem = alloca i64 %sv_0.14.reg2mem = alloca i8* %.reg2mem = alloca i8 %0 = call i64 @FUNC(i64 %arg1, i64 0) %1 = inttoptr i64 %arg1 to i8* %2 = call i32 @strlen(i8* %1) %3 = add i32 %2, 1 %4 = call i64* @malloc(i32 %3) %5 = icmp eq i64* %4, null %6 = icmp eq i1 %5, false store i64 0, i64* %storemerge.reg2mem br i1 %6, label LBL_1, label LBL_9 LBL_1: %7 = bitcast i64* %4 to i8* %8 = load i8, i8* %1, align 1 %9 = icmp eq i8 %8, 0 %10 = icmp eq i1 %9, false store i8 %8, i8* %.reg2mem store i8* %7, i8** %sv_0.14.reg2mem store i64 %arg1, i64* %sv_1.03.reg2mem store i8* %7, i8** %sv_0.1.lcssa.reg2mem br i1 %10, label LBL_2, label LBL_8 LBL_2: %sv_1.03.reload = load i64, i64* %sv_1.03.reg2mem %sv_0.14.reload = load i8*, i8** %sv_0.14.reg2mem %.reload = load i8, i8* %.reg2mem %11 = icmp sgt i8 %.reload, 124 br i1 %11, label LBL_6, label LBL_3 LBL_3: %12 = icmp sgt i8 %.reload, 63 br i1 %12, label LBL_5, label LBL_4 LBL_4: store i8* %sv_0.14.reload, i8** %sv_0.0.reg2mem store i8* %sv_0.14.reload, i8** %sv_0.0.reg2mem switch i8 %.reload, label LBL_6 [ i8 10, label LBL_7 i8 59, label LBL_7 ] LBL_5: %13 = urem i8 %.reload, 64 %14 = zext i8 %13 to i64 %15 = lshr i64 1152921508901814273, %14 %16 = urem i64 %15, 2 %17 = icmp eq i64 %16, 0 %18 = icmp eq i1 %17, false %19 = icmp eq i1 %18, false %20 = icmp eq i1 %19, false store i8* %sv_0.14.reload, i8** %sv_0.0.reg2mem br i1 %20, label LBL_7, label LBL_6 LBL_6: %21 = ptrtoint i8* %sv_0.14.reload to i64 %22 = add i64 %21, 1 %23 = inttoptr i64 %22 to i8* store i8 %.reload, i8* %sv_0.14.reload, align 1 store i8* %23, i8** %sv_0.0.reg2mem br label LBL_7 LBL_7: %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem %24 = add i64 %sv_1.03.reload, 1 %25 = inttoptr i64 %24 to i8* %26 = load i8, i8* %25, align 1 %27 = icmp eq i8 %26, 0 %28 = icmp eq i1 %27, false store i8 %26, i8* %.reg2mem store i8* %sv_0.0.reload, i8** %sv_0.14.reg2mem store i64 %24, i64* %sv_1.03.reg2mem store i8* %sv_0.0.reload, i8** %sv_0.1.lcssa.reg2mem br i1 %28, label LBL_2, label LBL_8 LBL_8: %29 = ptrtoint i64* %4 to i64 %sv_0.1.lcssa.reload = load i8*, i8** %sv_0.1.lcssa.reg2mem store i8 0, i8* %sv_0.1.lcssa.reload, align 1 store i64 %29, i64* %storemerge.reg2mem br label LBL_9 LBL_9: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i8 %.reload, { 3, 4, 0, 1, 2 } uselistorder i8* %sv_0.14.reload, { 3, 4, 2, 0, 1 } uselistorder i64* %4, { 2, 0, 1 } uselistorder i8* %.reg2mem, { 2, 0, 1 } uselistorder i8** %sv_0.14.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.03.reg2mem, { 2, 0, 1 } uselistorder i8** %sv_0.0.reg2mem, { 0, 4, 3, 1, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i8 0, { 1, 2, 0 } uselistorder i1 false, { 4, 2, 1, 3, 0, 5 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_7, { 3, 2, 0, 1 } uselistorder label LBL_6, { 1, 0, 2 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
nbd_client_co_pdiscard_14966
nbd_client_co_pdiscard
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %sv_1 = alloca i32, align 4 %1 = call i64 @FUNC(i64 %0) store i32 2, i32* %sv_1, align 4 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = urem i32 %3, 2 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i64 0, i64* %storemerge.reg2mem br i1 %6, label LBL_1, label LBL_5 LBL_1: %7 = call i64 @FUNC(i64 %1, i32* nonnull %sv_1) %8 = call i64 @FUNC(i64 %0, i32* nonnull %sv_1, i64 0) %9 = icmp slt i64 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_3, label LBL_2 LBL_2: %11 = trunc i64 %8 to i32 %12 = sub i32 0, %11 store i32 %12, i32* %sv_0, align 4 br label LBL_4 LBL_3: %13 = call i64 @FUNC(i64 %1, i32* nonnull %sv_1, i32* nonnull %sv_0, i64 0) br label LBL_4 LBL_4: %14 = call i64 @FUNC(i64 %0, i32* nonnull %sv_1) %15 = load i32, i32* %sv_0, align 4 %16 = sub i32 0, %15 %17 = zext i32 %16 to i64 store i64 %17, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32* %sv_0, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
scene_sad16_14005
scene_sad16
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3, i64* %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %sv_0.1.lcssa.reg2mem = alloca i64 %sv_1.08.reg2mem = alloca i32 %sv_0.110.reg2mem = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i64 %sv_0.06.reg2mem = alloca i64 %storemerge7.reg2mem = alloca i32 %0 = trunc i64 %arg6 to i32 %1 = icmp sgt i32 %0, 0 store i64 0, i64* %sv_0.1.lcssa.reg2mem br i1 %1, label LBL_1, label LBL_6 LBL_1: %2 = ptrtoint i64* %arg4 to i64 %3 = ptrtoint i64* %arg2 to i64 %sext = mul i64 %arg5, 4294967296 %4 = ashr exact i64 %sext, 32 %5 = icmp sgt i32 %arg3, 0 %6 = trunc i64 %4 to i32 %7 = and i64 %4, 4294967295 %8 = zext i32 %arg3 to i64 store i64 0, i64* %sv_0.110.reg2mem store i32 0, i32* %sv_1.08.reg2mem br label LBL_4 LBL_2: %sv_0.06.reload = load i64, i64* %sv_0.06.reg2mem %storemerge7.reload = load i32, i32* %storemerge7.reg2mem %9 = sext i32 %storemerge7.reload to i64 %10 = add nsw i64 %9, %24 %11 = mul i64 %10, 2 %12 = add i64 %11, %2 %13 = add nsw i64 %9, %26 %14 = mul i64 %13, 2 %15 = add i64 %14, %3 %16 = call i64 @FUNC(i64 %15, i64 %8, i64 %12, i64 %7) %sext5 = mul i64 %16, 4294967296 %17 = ashr exact i64 %sext5, 32 %18 = add i64 %17, %sv_0.06.reload %19 = add i32 %storemerge7.reload, 8 %20 = icmp slt i32 %19, %arg3 store i32 %19, i32* %storemerge7.reg2mem store i64 %18, i64* %sv_0.06.reg2mem store i64 %18, i64* %sv_0.0.lcssa.reg2mem br i1 %20, label LBL_2, label LBL_3 LBL_3: %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem %21 = add i32 %sv_1.08.reload, 8 %22 = icmp slt i32 %21, %0 store i64 %sv_0.0.lcssa.reload, i64* %sv_0.110.reg2mem store i32 %21, i32* %sv_1.08.reg2mem store i64 %sv_0.0.lcssa.reload, i64* %sv_0.1.lcssa.reg2mem br i1 %22, label LBL_4, label LBL_6 LBL_4: %sv_1.08.reload = load i32, i32* %sv_1.08.reg2mem %sv_0.110.reload = load i64, i64* %sv_0.110.reg2mem store i64 %sv_0.110.reload, i64* %sv_0.0.lcssa.reg2mem br i1 %5, label LBL_2.lr.ph, label LBL_3 LBL_5: %23 = mul i32 %sv_1.08.reload, %6 %24 = sext i32 %23 to i64 %25 = mul i32 %sv_1.08.reload, %arg3 %26 = sext i32 %25 to i64 store i32 0, i32* %storemerge7.reg2mem store i64 %sv_0.110.reload, i64* %sv_0.06.reg2mem br label LBL_2 LBL_6: %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem ret i64 %sv_0.1.lcssa.reload uselistorder i32 %sv_1.08.reload, { 2, 1, 0 } uselistorder i64 %4, { 1, 0 } uselistorder i32 %0, { 1, 0 } uselistorder i32* %storemerge7.reg2mem, { 2, 1, 0 } uselistorder i64* %sv_0.06.reg2mem, { 2, 1, 0 } uselistorder i64* %sv_0.0.lcssa.reg2mem, { 2, 0, 1 } uselistorder i32 0, { 1, 0, 2, 3 } uselistorder i32 %arg3, { 0, 2, 3, 1 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
mbfl_filt_conv_big5_wchar_7813
mbfl_filt_conv_big5_wchar
define i64 @FUNC(i64 %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %sext = mul i64 %arg1, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: store i32 0, i32* %arg2, align 4 br label LBL_5 LBL_2: %5 = trunc i64 %2 to i32 %6 = icmp ugt i32 %5, 128 br i1 %6, label LBL_3, label LBL_5 LBL_3: %7 = ptrtoint i32* %arg2 to i64 %8 = add i64 %7, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = icmp eq i32 %12, 1 %14 = icmp eq i1 %13, false %. = select i1 %14, i32 160, i32 128 %15 = icmp sge i32 %., %5 %16 = icmp sgt i32 %5, 254 %or.cond23 = or i1 %16, %15 br i1 %or.cond23, label LBL_5, label LBL_4 LBL_4: store i32 1, i32* %arg2, align 4 %17 = add i64 %7, 4 %18 = inttoptr i64 %17 to i32* store i32 %5, i32* %18, align 4 br label LBL_5 LBL_5: %19 = and i64 %2, 4294967295 ret i64 %19 uselistorder i32 %5, { 1, 3, 2, 0 } uselistorder i32 128, { 1, 0 } uselistorder i32* %arg2, { 1, 2, 0 } uselistorder label LBL_5, { 3, 1, 2, 0 } }
1
BinRealVul
decode_extradata_2048
decode_extradata
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rsi = alloca i64, align 8 %3 = ptrtoint i64* %arg3 to i64 %4 = ptrtoint i64* %arg2 to i64 %5 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %6 = mul i32 %arg4, 8 %7 = zext i32 %6 to i64 %8 = call i64 @FUNC(i64* nonnull %sv_0, i64 %3, i64 %7) %9 = call i64 @FUNC(i64* nonnull %sv_0, i64 5) %10 = trunc i64 %9 to i32 %11 = add i32 %10, -1 %12 = bitcast i64* %arg2 to i32* store i32 %11, i32* %12, align 4 %13 = call i64 @FUNC(i64* nonnull %sv_0, i64 4) %14 = trunc i64 %13 to i32 %15 = add i64 %4, 4 %16 = inttoptr i64 %15 to i32* store i32 %14, i32* %16, align 4 %17 = call i64 @FUNC(i64* nonnull %sv_0, i64 4) %18 = trunc i64 %17 to i32 %19 = add i64 %4, 8 %20 = inttoptr i64 %19 to i32* store i32 %18, i32* %20, align 4 %21 = bitcast i64* %rsi to i32* %22 = load i32, i32* %21, align 8 %23 = icmp slt i32 %22, 4 br i1 %23, label LBL_2, label LBL_1 LBL_1: %24 = add i32 %22, 1 %25 = zext i32 %24 to i64 %26 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_0, i64 0, i64 0), i64 %25, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_7 LBL_2: %27 = load i32, i32* %16, align 4 %28 = icmp eq i32 %27, 15 %29 = icmp eq i1 %28, false br i1 %29, label LBL_4, label LBL_3 LBL_3: %30 = sext i32 %arg4 to i64 %31 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_1, i64 0, i64 0), i64 %30, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_7 LBL_4: %32 = icmp eq i32 %18, 0 %33 = icmp eq i1 %32, false br i1 %33, label LBL_6, label LBL_5 LBL_5: %34 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_2, i64 0, i64 0), i64 0) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %35 = add i64 %4, 12 %36 = inttoptr i64 %35 to i32* store i32 1, i32* %36, 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 %5, { 2, 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 } uselistorder i64 4, { 0, 2, 1 } uselistorder i64 (i64*, i64)* @get_bits, { 2, 1, 0 } uselistorder i32 %arg4, { 1, 0 } }
0
BinRealVul
dec_user_17138
dec_user
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) %1 = call i64 @FUNC(i64 ptrtoint ([5 x i8]* @gv_0 to i64), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0)) unreachable uselistorder [5 x i8]* @gv_0, { 1, 0 } }
1
BinRealVul
x86_assign_hw_event_13706
x86_assign_hw_event
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg3, 4294967296 %2 = ashr exact i64 %sext, 30 %3 = add i64 %2, %0 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = bitcast i64* %arg1 to i32* store i32 %5, i32* %6, align 4 %7 = call i64 @FUNC() %8 = trunc i64 %7 to i32 %9 = add i64 %1, 4 %10 = inttoptr i64 %9 to i32* store i32 %8, i32* %10, align 4 %11 = add i64 %0, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = add i64 %13, %2 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = add i32 %16, 1 store i32 %17, i32* %15, align 4 %18 = add i64 %1, 8 %19 = inttoptr i64 %18 to i32* store i32 %17, i32* %19, align 4 %20 = bitcast i64* %rdi to i32* %21 = load i32, i32* %20, align 8 %22 = icmp eq i32 %21, 0 %23 = icmp eq i1 %22, false br i1 %23, label LBL_2, label LBL_1 LBL_1: %24 = add i64 %1, 12 %25 = inttoptr i64 %24 to i32* store i32 0, i32* %25, align 4 %26 = add i64 %1, 16 %27 = inttoptr i64 %26 to i32* store i32 0, i32* %27, align 4 store i64 %1, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %28 = icmp slt i32 %21, 1 br i1 %28, label LBL_4, label LBL_3 LBL_3: %29 = add i64 %1, 12 %30 = inttoptr i64 %29 to i32* store i32 0, i32* %30, align 4 %31 = load i32, i32* %20, align 8 %32 = add i64 %1, 16 %33 = inttoptr i64 %32 to i32* store i32 %31, i32* %33, align 4 store i64 %1, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %34 = zext i32 %21 to i64 %35 = call i64 @FUNC(i64 %34) %36 = trunc i64 %35 to i32 %37 = add i64 %1, 12 %38 = inttoptr i64 %37 to i32* store i32 %36, i32* %38, align 4 %39 = load i32, i32* %20, align 8 %40 = zext i32 %39 to i64 %41 = call i64 @FUNC(i64 %40) %42 = trunc i64 %41 to i32 %43 = add i64 %1, 16 %44 = inttoptr i64 %43 to i32* store i32 %42, i32* %44, align 4 store i64 %41, 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 i32* %20, { 1, 0, 2 } uselistorder i64 %1, { 6, 7, 1, 4, 5, 0, 2, 3, 8, 9 } uselistorder i64 %0, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } }
0
BinRealVul
print_bacp_config_options_11479
print_bacp_config_options
define i64 @FUNC(i32* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = trunc i64 %arg3 to i32 %4 = icmp sgt i32 %3, 1 store i32 0, i32* %rax.0.shrunk.reg2mem br i1 %4, label LBL_1, label LBL_13 LBL_1: %5 = ptrtoint i32* %arg2 to i64 %6 = add i64 %5, 1 %7 = inttoptr i64 %6 to i8* %8 = load i8, i8* %7, align 1 %9 = zext i8 %8 to i32 %10 = icmp slt i32 %3, %9 store i32 0, i32* %rax.0.shrunk.reg2mem br i1 %10, label LBL_13, label LBL_2 LBL_2: %11 = trunc i64 %2 to i32 %12 = urem i32 %11, 256 %13 = icmp ugt i8 %8, 1 %14 = bitcast i32* %arg1 to i8* br i1 %13, label LBL_4, label LBL_3 LBL_3: %15 = call i32 (i8*, ...) @printf(i8* %14, i8* getelementptr inbounds ([65 x i8], [65 x i8]* @gv_0, i64 0, i64 0), i32 ptrtoint (i32* @gv_1 to i32), i32 %12) store i32 0, i32* %rax.0.shrunk.reg2mem br label LBL_13 LBL_4: %16 = trunc i64 %2 to i8 %17 = trunc i64 %1 to i32 %18 = call i32 (i8*, ...) @printf(i8* %14, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_2, i64 0, i64 0), i32 ptrtoint (i32* @gv_1 to i32), i32 %12) %19 = icmp eq i8 %16, 1 %20 = icmp eq i1 %19, false br i1 %20, label LBL_8, label LBL_5 LBL_5: %21 = icmp eq i8 %8, 6 br i1 %21, label LBL_7, label LBL_6 LBL_6: %22 = call i32 (i8*, ...) @printf(i8* %14) store i32 %9, i32* %rax.0.shrunk.reg2mem br label LBL_13 LBL_7: %23 = icmp slt i32 %3, 4 br i1 %23, label LBL_12, label LBL_10 LBL_8: %24 = icmp sgt i32 %17, 1 br i1 %24, label LBL_11, label LBL_9 LBL_9: %25 = add nsw i32 %9, -2 %26 = add i64 %5, 2 %27 = ptrtoint i32* %arg1 to i64 %28 = zext i32 %25 to i64 %29 = call i64 @FUNC(i64 %27, i64 %26, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0), i64 %28) store i32 %9, i32* %rax.0.shrunk.reg2mem br label LBL_13 LBL_10: %30 = call i32 (i8*, ...) @printf(i8* %14, i32 ptrtoint (i32* @gv_4 to i32)) %31 = icmp slt i32 %17, 2 store i32 6, i32* %rax.0.shrunk.reg2mem br i1 %31, label LBL_13, label LBL_11 LBL_11: %32 = add nsw i32 %9, -2 %33 = add i64 %5, 2 %34 = ptrtoint i32* %arg1 to i64 %35 = zext i32 %32 to i64 %36 = call i64 @FUNC(i64 %34, i64 %33, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0), i64 %35) store i32 %9, i32* %rax.0.shrunk.reg2mem br label LBL_13 LBL_12: %37 = call i32 (i8*, ...) @printf(i8* %14) store i32 0, i32* %rax.0.shrunk.reg2mem br label LBL_13 LBL_13: %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem %rax.0 = zext i32 %rax.0.shrunk.reload to i64 ret i64 %rax.0 uselistorder i8* %14, { 0, 2, 1, 4, 3 } uselistorder i32 %9, { 1, 4, 0, 3, 2, 5 } uselistorder i32 %3, { 1, 0, 2 } uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 8, 3, 2, 1, 7, 6, 4, 5 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64, i8*, i64)* @print_unknown_data, { 1, 0 } uselistorder i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0), { 1, 0 } uselistorder i32 -2, { 1, 0 } uselistorder i32 (i8*, ...)* @printf, { 2, 1, 5, 4, 3, 0 } uselistorder i32 0, { 3, 2, 0, 1 } uselistorder i32* %arg1, { 1, 0, 2 } uselistorder label LBL_13, { 5, 2, 1, 0, 6, 7, 3, 4 } uselistorder label LBL_11, { 1, 0 } }
1
BinRealVul
regfree_6631
regfree
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = load i64, i64* @gv_0, align 8 %1 = call i64 @FUNC(i64 %0, i64 0, i64 %arg1) ret i64 %1 }
0
BinRealVul
av_malloc_3676
av_malloc
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = trunc i64 %arg1 to i32 store i64 0, i64* %sv_0, align 8 %1 = icmp ult i32 %0, 2147483632 store i64 0, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_5 LBL_1: %2 = add i32 %0, 16 %3 = call i64* @malloc(i32 %2) %4 = ptrtoint i64* %3 to i64 store i64 %4, i64* %sv_0, align 8 %5 = icmp eq i64* %3, null %6 = icmp eq i1 %5, false store i64 %4, i64* %rax.0.reg2mem br i1 %6, label LBL_2, label LBL_5 LBL_2: %7 = urem i64 %4, 16 %8 = sub nsw i64 16, %7 %9 = add i64 %8, %4 store i64 %9, i64* %sv_0, align 8 %10 = add i64 %9, -1 %11 = trunc i64 %8 to i8 %12 = inttoptr i64 %10 to i8* store i8 %11, i8* %12, align 1 %13 = bitcast i64* %sv_0 to i64** %14 = call i32 @posix_memalign(i64** nonnull %13, i32 16, i32 %0) %15 = icmp eq i32 %14, 0 br i1 %15, label LBL_4, label LBL_3 LBL_3: store i64 0, i64* %sv_0, align 8 br label LBL_4 LBL_4: %16 = call i64* @memalign(i32 16, i32 %0) %17 = ptrtoint i64* %16 to i64 %sext2 = mul i64 %17, 4294967296 %18 = ashr exact i64 %sext2, 32 store i64 %18, i64* %sv_0, align 8 %19 = call i64* @malloc(i32 %0) %20 = ptrtoint i64* %19 to i64 store i64 %20, i64* %sv_0, align 8 store i64 %20, 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 %8, { 1, 0 } uselistorder i64 %4, { 2, 1, 0, 3 } uselistorder i32 %0, { 3, 2, 1, 0, 4 } uselistorder i64* %sv_0, { 1, 2, 3, 0, 4, 5, 6 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 16, { 1, 0 } uselistorder i64* (i32)* @malloc, { 1, 0 } uselistorder i32 1, { 1, 0 } uselistorder label LBL_5, { 2, 0, 1 } }
0
BinRealVul
iwl_trans_stop_hw_18217
iwl_trans_stop_hw
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC() %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i32* store i32 0, i32* %3, align 4 ret i64 %0 uselistorder i64 %0, { 1, 0 } }
1
BinRealVul
trad_enc_update_keys_9667
trad_enc_update_keys
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %sv_0 = alloca i8, align 1 %sv_1 = alloca i64, align 8 %sext = mul i64 %arg2, 72057594037927936 %3 = ashr exact i64 %sext, 56 store i64 %3, i64* %sv_1, align 8 %4 = trunc i64 %1 to i32 %5 = and i64 %1, 4294967295 %6 = xor i64 %5, 4294967295 %7 = bitcast i64* %sv_1 to i8* %8 = call i64 @FUNC(i64 %6, i8* nonnull %7, i64 1) %9 = trunc i64 %8 to i32 %10 = sub i32 0, %9 %11 = sub i32 %10, 1 store i32 %11, i32* %arg1, align 4 %12 = add i64 %2, 4 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = urem i32 %4, 256 %16 = add i32 %14, %15 %17 = mul i32 %16, 134775813 %18 = add i32 %17, 1 store i32 %18, i32* %13, align 4 %19 = udiv i32 %18, 16777216 %20 = trunc i32 %19 to i8 store i8 %20, i8* %sv_0, align 1 %21 = add i64 %2, 8 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = sub i32 0, %23 %25 = sub i32 %24, 1 %26 = zext i32 %25 to i64 %27 = call i64 @FUNC(i64 %26, i8* nonnull %sv_0, i64 1) %28 = trunc i64 %27 to i32 %29 = sub i32 0, %28 %30 = sub i32 %29, 1 store i32 %30, i32* %22, align 4 ret i64 %2 uselistorder i64* %sv_1, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64 (i64, i8*, i64)* @crc32, { 1, 0 } }
0
BinRealVul
qemu_rdma_init_ram_blocks_14963
qemu_rdma_init_ram_blocks
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp eq i64 %3, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([59 x i8], [59 x i8]* @gv_1, i64 0, i64 0), i32 52, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %5 = call i64 @FUNC(i64 4198879, i64 4198893) store i64 %5, i64* %2, align 8 %6 = call i64* @memset(i64* %arg1, i32 0, i32 8) %7 = call i64 @FUNC(i64 4198841, i64 %0) %8 = bitcast i64* %rdi to i32* %9 = load i32, i32* %8, align 8 %10 = zext i32 %9 to i64 %11 = call i64 @FUNC(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_3, i64 0, i64 0), i64 %10) %12 = call i64 @FUNC(i64 0) %13 = add i64 %0, 16 %14 = inttoptr i64 %13 to i64* store i64 %12, i64* %14, align 8 %15 = add i64 %0, 4 %16 = inttoptr i64 %15 to i32* store i32 1, i32* %16, align 4 ret i64 0 }
1
BinRealVul
read_file_11037
read_file
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i32, align 4 %1 = bitcast i32* %sv_2 to i64* %2 = call i64 @FUNC(i64 %arg2, i64* nonnull %1) %3 = call i64 @FUNC(i64 %0, i64* nonnull %1, i64* nonnull %sv_1) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i64 0, i64* %sv_0.0.reg2mem br i1 %6, label LBL_6, label LBL_1 LBL_1: %7 = load i64, i64* %sv_1, align 8 %8 = icmp eq i64 %7, 0 store i64 4096, i64* %storemerge.reg2mem br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = inttoptr i64 %7 to i64* %10 = load i64, i64* %9, align 8 store i64 %10, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem %11 = trunc i64 %storemerge.reload to i32 %12 = call i64* @realloc(i64* nonnull %sv_1, i32 %11) %13 = icmp eq i64* %12, null store i64 0, i64* %sv_0.0.reg2mem br i1 %13, label LBL_6, label LBL_4 LBL_4: %14 = ptrtoint i64* %12 to i64 store i64 %14, i64* %arg3, align 8 store i64 %storemerge.reload, i64* %arg4, align 8 %15 = call i64 @FUNC(i64 %0, i64 0, i64 %14, i64 %storemerge.reload, i64 0) %16 = trunc i64 %15 to i32 store i32 %16, i32* %sv_2, align 4 %17 = icmp slt i32 %16, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %17, label LBL_6, label LBL_5 LBL_5: %sext = mul i64 %15, 4294967296 %18 = ashr exact i64 %sext, 32 store i64 %18, i64* %arg4, align 8 store i64 1, i64* %sv_0.0.reg2mem br label LBL_6 LBL_6: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %19 = load i64, i64* %sv_1, align 8 %20 = call i64 @FUNC(i64 %19) ret i64 %sv_0.0.reload uselistorder i64* %12, { 1, 0 } uselistorder i64 %storemerge.reload, { 2, 1, 0 } uselistorder i64* %sv_1, { 2, 0, 3, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_6, { 3, 0, 1, 2 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
colo_do_failover_1674
colo_do_failover
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = call i64 @FUNC() %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 0 %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 1) br label LBL_2 LBL_2: %5 = call i64 @FUNC() %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 1 %8 = icmp eq i1 %7, false br i1 %8, label LBL_4, label LBL_3 LBL_3: %9 = call i64 @FUNC() store i64 %9, i64* %storemerge.reg2mem br label LBL_5 LBL_4: %10 = call i64 @FUNC() store i64 %10, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 1, { 2, 0, 1 } }
0
BinRealVul
Curl_nss_cleanup_7957
Curl_nss_cleanup
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = load i64, i64* @gv_0, align 8 %1 = call i64 @FUNC(i64 %0) %2 = load i32, i32* @gv_1, align 4 %3 = icmp eq i32 %2, 0 br i1 %3, label LBL_5, label LBL_1 LBL_1: %4 = call i64 @FUNC() %5 = load i64, i64* @gv_2, align 8 %6 = icmp eq i64 %5, 0 br i1 %6, label LBL_4, label LBL_2 LBL_2: %7 = call i64 @FUNC(i64 %5) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = load i64, i64* @gv_2, align 8 %12 = call i64 @FUNC(i64 %11) store i64 0, i64* @gv_2, align 8 br label LBL_4 LBL_4: %13 = load i64, i64* @gv_3, align 8 %14 = call i64 @FUNC(i64 %13) store i64 0, i64* @gv_3, align 8 br label LBL_5 LBL_5: %15 = load i64, i64* @gv_4, align 8 %16 = call i64 @FUNC(i64 %15, i64 0) store i64 0, i64* @gv_4, align 8 %17 = load i64, i64* @gv_0, align 8 %18 = call i64 @FUNC(i64 %17) %19 = load i64, i64* @gv_0, align 8 %20 = call i64 @FUNC(i64 %19) %21 = load i64, i64* @gv_5, align 8 %22 = call i64 @FUNC(i64 %21) store i64 0, i64* @gv_0, align 8 store i32 0, i32* @gv_1, align 4 ret i64 %22 uselistorder i64 (i64)* @PR_DestroyLock, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 0 } uselistorder i32* @gv_1, { 1, 0 } }
0
BinRealVul
assert_codec_experimental_15984
assert_codec_experimental
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.in.reg2mem = alloca i32 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = load i64, i64* %0 %4 = urem i64 %2, 2 %5 = icmp eq i64 %4, 0 store i32 0, i32* %rax.0.in.reg2mem br i1 %5, label LBL_8, label LBL_1 LBL_1: %6 = add i64 %2, 8 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp slt i32 %8, 2 store i32 %8, i32* %rax.0.in.reg2mem br i1 %9, label LBL_8, label LBL_2 LBL_2: %10 = trunc i64 %arg2 to i32 %11 = icmp eq i32 %10, 0 %12 = inttoptr i64 %6 to i64* %13 = load i64, i64* %12, align 8 %14 = select i1 %11, i64 ptrtoint ([8 x i8]* @gv_0 to i64), i64 ptrtoint ([8 x i8]* @gv_1 to i64) %15 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([106 x i8], [106 x i8]* @gv_2, i64 0, i64 0), i64 %14, i64 %13, i64 %1) %16 = add i64 %3, 16 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = zext i32 %18 to i64 br i1 %11, label LBL_4, label LBL_3 LBL_3: %20 = call i64 @FUNC(i64 %19) store i64 %20, i64* %storemerge.reg2mem br label LBL_5 LBL_4: %21 = call i64 @FUNC(i64 %19) store i64 %21, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem %22 = inttoptr i64 %storemerge.reload to i32* %23 = load i32, i32* %22, align 4 %24 = urem i32 %23, 2 %25 = icmp eq i32 %24, 0 %26 = icmp eq i1 %25, false br i1 %26, label LBL_7, label LBL_6 LBL_6: %27 = add i64 %storemerge.reload, 8 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_3, i64 0, i64 0), i64 %14, i64 %29, i64 %1) br label LBL_7 LBL_7: %31 = call i64 @FUNC(i64 1) unreachable LBL_8: %rax.0.in.reload = load i32, i32* %rax.0.in.reg2mem %rax.0 = zext i32 %rax.0.in.reload to i64 ret i64 %rax.0 uselistorder i64 %storemerge.reload, { 1, 0 } uselistorder i64 %19, { 1, 0 } uselistorder i64 %14, { 1, 0 } uselistorder i1 %11, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 } uselistorder i32 0, { 1, 2, 0 } }
1
BinRealVul
dictAdd_13183
dictAdd
define i64 @FUNC(i64* %arg1, i8* %arg2, i8* %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i8* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1, i64 %0) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, -1 %5 = icmp eq i1 %4, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %5, label LBL_1, label LBL_2 LBL_1: %6 = call i64 @FUNC(i64 24) %sext = mul i64 %2, 4294967296 %7 = ashr exact i64 %sext, 29 %8 = add nsw i64 %7, 24 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = inttoptr i64 %6 to i64* store i64 %10, i64* %11, align 8 store i64 %6, i64* %9, align 8 %12 = call i64 @FUNC(i64 %1, i64 %6, i64 %0) %13 = ptrtoint i8* %arg3 to i64 %14 = call i64 @FUNC(i64 %1, i64 %6, i64 %13) %15 = add i64 %1, 16 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = add i64 %17, 1 store i64 %18, i64* %16, align 8 store i64 0, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %1, { 2, 1, 0, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
xhci_running_1579
xhci_running
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = urem i64 %1, 2 %3 = icmp eq i64 %2, 0 %4 = zext i1 %3 to i64 ret i64 %4 }
0
BinRealVul
config_input_18172
config_input
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 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = trunc i64 %1 to i32 %11 = mul i32 %9, %10 %12 = sdiv i32 %11, 500 %13 = add i64 %7, 4 %14 = inttoptr i64 %13 to i32* store i32 %12, i32* %14, align 4 %15 = sext i32 %12 to i64 %16 = call i64 @FUNC(i64 %15, i64 8) %17 = add i64 %7, 8 %18 = inttoptr i64 %17 to i64* store i64 %16, i64* %18, align 8 %19 = icmp eq i64 %16, 0 %20 = icmp eq i1 %19, false store i64 4294967284, i64* %storemerge.reg2mem br i1 %20, label LBL_1, label LBL_2 LBL_1: %21 = add i64 %7, 16 %22 = inttoptr i64 %21 to i64* store i64 %16, i64* %22, align 8 store i64 0, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %12, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 8, { 1, 0, 2 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
block_save_pending_17126
block_save_pending
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = call i64 @FUNC() %4 = call i64 @FUNC() %5 = call i64 @FUNC() %6 = load i64, i64* @gv_0, align 8 %7 = load i64, i64* @gv_1, align 8 %8 = add i64 %7, %6 %9 = mul i64 %8, 4096 %10 = add i64 %9, %5 %11 = icmp eq i64 %10, 0 %12 = icmp eq i1 %11, false store i64 %10, i64* %sv_0.0.reg2mem br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = load i32, i32* @gv_2, align 4 %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false %spec.select = select i1 %15, i64 %10, i64 4096 store i64 %spec.select, i64* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %16 = call i64 @FUNC() %17 = call i64 @FUNC() %18 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_3, i64 0, i64 0), i64 %sv_0.0.reload, i64 %5, i64 %6, i64 %2, i64 %1) ret i64 %sv_0.0.reload uselistorder i64 %10, { 1, 0, 2 } uselistorder i64 %6, { 1, 0 } uselistorder i64 %5, { 1, 0 } uselistorder i64* %0, { 1, 0 } uselistorder i64 4096, { 1, 0 } }
1
BinRealVul
print_chain_of_logicals_18208
print_chain_of_logicals
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %.lcssa.reg2mem = alloca i64 %storemerge1.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = call i64 @FUNC(i64 %0) %2 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %3 = call i32 @fputc(i32 10, %_IO_FILE* %2) %4 = load i64, i64* inttoptr (i64 18 to i64*), align 8 %5 = icmp ugt i64 %4, 4 store i64 %4, i64* %.lcssa.reg2mem br i1 %5, label LBL_1, label LBL_3 LBL_1: %6 = ptrtoint i64* %sv_0 to i64 %7 = inttoptr i64 %1 to i64* %8 = add i64 %6, -8 %9 = inttoptr i64 %8 to i64* %10 = add i64 %6, -16 %11 = inttoptr i64 %10 to i64* %12 = add i64 %6, -24 %13 = inttoptr i64 %12 to i64* %14 = add i64 %6, -32 %15 = inttoptr i64 %14 to i64* store i64 4, i64* %storemerge1.reg2mem br label LBL_2 LBL_2: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %16 = call i64 @FUNC(i64 %0, i64 %storemerge1.reload) %17 = add i64 %16, 16 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = call i64 @FUNC(i64 %19) %21 = load i64, i64* %7, align 8 %22 = load i64, i64* %18, align 8 %23 = call i64 @FUNC(i64 %22) %24 = add i64 %23, %21 %25 = load i64, i64* %18, align 8 %26 = call i64 @FUNC(i64 %25) %27 = add i64 %16, 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 %16) %32 = load i64, i64* %28, align 8 %33 = call i64 @FUNC(i64 %32) %34 = inttoptr i64 %16 to i64* %35 = load i64, i64* %34, align 8 %36 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %37 = ptrtoint %_IO_FILE* %36 to i64 store i64 %20, i64* %9, align 8 store i64 %24, i64* %11, align 8 store i64 %26, i64* %13, align 8 store i64 %30, i64* %15, align 8 %38 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %36, i8* getelementptr inbounds ([98 x i8], [98 x i8]* @gv_2, i64 0, i64 0), i64 %storemerge1.reload, i64 %35, i64 %33, i64 %31) %39 = add nuw i64 %storemerge1.reload, 1 %40 = add i64 %37, 8 %41 = inttoptr i64 %40 to i64* %42 = load i64, i64* %41, align 8 %43 = icmp ult i64 %39, %42 store i64 %39, i64* %storemerge1.reg2mem store i64 %42, i64* %.lcssa.reg2mem br i1 %43, label LBL_2, label LBL_3 LBL_3: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem ret i64 %.lcssa.reload uselistorder i64* %storemerge1.reg2mem, { 1, 0, 2 } uselistorder i64 8, { 1, 0 } uselistorder i64 (i64)* @dos_partition_get_start, { 2, 1, 0 } uselistorder i64 (i64)* @dos_partition_get_size, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
ipv6_dup_options_11712
ipv6_dup_options
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = and i64 %1, 4294967295 %4 = call i64 @FUNC(i64 %2, i64 %3, i64 0) %5 = icmp eq i64 %4, 0 br i1 %5, label LBL_9, label LBL_1 LBL_1: %6 = trunc i64 %1 to i32 %7 = ptrtoint i64* %arg2 to i64 %8 = sub i64 %4, %7 %9 = inttoptr i64 %4 to i64* %10 = call i64* @memcpy(i64* %9, i64* %arg2, i32 %6) %11 = add i64 %4, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = icmp eq i64 %13, 0 br i1 %14, label LBL_3, label LBL_2 LBL_2: %15 = add i64 %13, %8 store i64 %15, i64* %12, align 8 br label LBL_3 LBL_3: %16 = add i64 %4, 16 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = icmp eq i64 %18, 0 br i1 %19, label LBL_5, label LBL_4 LBL_4: %20 = add i64 %18, %8 store i64 %20, i64* %17, align 8 br label LBL_5 LBL_5: %21 = add i64 %4, 24 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = icmp eq i64 %23, 0 br i1 %24, label LBL_7, label LBL_6 LBL_6: %25 = add i64 %23, %8 store i64 %25, i64* %22, align 8 br label LBL_7 LBL_7: %26 = add i64 %4, 32 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = icmp eq i64 %28, 0 br i1 %29, label LBL_9, label LBL_8 LBL_8: %30 = add i64 %28, %8 store i64 %30, i64* %27, align 8 br label LBL_9 LBL_9: ret i64 %4 uselistorder i64 %4, { 3, 0, 1, 2, 5, 6, 4, 7 } }
1
BinRealVul
av_packet_pack_dictionary_15664
av_packet_pack_dictionary
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem3 = alloca i64 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i64, align 8 store i64 0, i64* %sv_0, align 8 %2 = bitcast i64* %arg2 to i32* store i32 0, i32* %2, align 4 %3 = icmp eq i64* %arg1, null %4 = icmp eq i1 %3, false store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_6 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = call i64 @FUNC(i64 %5, i64* nonnull @gv_0, i64 0, i64 1) %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_6 LBL_2: %9 = trunc i64 %1 to i32 %10 = add i32 %9, 2 %sext = mul i64 %1, 4294967296 %11 = ashr exact i64 %sext, 32 %12 = add nsw i64 %11, 1 store i64 0, i64* %.reg2mem store i64 %6, i64* %.reg2mem3 br label LBL_3 LBL_3: %.reload4 = load i64, i64* %.reg2mem3 %.reload = load i64, i64* %.reg2mem %13 = inttoptr i64 %.reload4 to i64* %14 = load i64, i64* %13, align 8 %15 = inttoptr i64 %14 to i8* %16 = call i32 @strlen(i8* %15) %17 = add i64 %.reload4, 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = inttoptr i64 %19 to i8* %21 = call i32 @strlen(i8* %20) %22 = add i32 %10, %16 %23 = add i32 %22, %21 %24 = sext i32 %23 to i64 %25 = call i64 @FUNC(i64 %.reload, i64 %24) %26 = icmp eq i64 %25, 0 br i1 %26, label LBL_5, label LBL_4 LBL_4: store i64 %25, i64* %sv_0, align 8 %27 = add i32 %16, 1 %28 = load i64, i64* %13, align 8 %29 = add i64 %25, %11 %30 = inttoptr i64 %29 to i64* %31 = inttoptr i64 %28 to i64* %32 = call i64* @memcpy(i64* %30, i64* %31, i32 %27) %33 = add i32 %21, 1 %34 = load i64, i64* %18, align 8 %35 = load i64, i64* %sv_0, align 8 %36 = sext i32 %16 to i64 %37 = add nsw i64 %12, %36 %38 = add i64 %37, %35 %39 = inttoptr i64 %38 to i64* %40 = inttoptr i64 %34 to i64* %41 = call i64* @memcpy(i64* %39, i64* %40, i32 %33) store i32 %23, i32* %2, align 4 %42 = call i64 @FUNC(i64 %5, i64* nonnull @gv_0, i64 %.reload4, i64 1) %43 = icmp eq i64 %42, 0 %44 = icmp eq i1 %43, false %.pre = load i64, i64* %sv_0, align 8 store i64 %.pre, i64* %.reg2mem store i64 %42, i64* %.reg2mem3 store i64 %.pre, i64* %rax.0.reg2mem br i1 %44, label LBL_3, label LBL_6 LBL_5: %45 = call i64 @FUNC(i64* nonnull %sv_0) store i32 0, i32* %2, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %21, { 1, 0 } uselistorder i32 %16, { 1, 2, 0 } uselistorder i64 %.reload4, { 2, 1, 0 } uselistorder i64 %11, { 1, 0 } uselistorder i64 %5, { 1, 0 } uselistorder i32* %2, { 1, 0, 2 } uselistorder i64* %sv_0, { 1, 0, 2, 3, 4 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem3, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i32 (i8*)* @strlen, { 1, 0 } uselistorder i64 (i64, i64*, i64, i64)* @av_dict_get, { 1, 0 } uselistorder i64 1, { 2, 1, 0 } uselistorder i64* @gv_0, { 1, 0 } uselistorder i1 false, { 1, 0, 2, 3, 4 } uselistorder i64* null, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 0, 4 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_6, { 3, 0, 1, 2 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
o2i_ECPublicKey_8233
o2i_ECPublicKey
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null br i1 %0, label LBL_1, label LBL_2 LBL_1: %1 = call i64 @FUNC(i64 0, i64 0) store i64 0, i64* %rax.0.reg2mem br label LBL_8 LBL_2: %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false store i64 %5, i64* %.reg2mem br i1 %7, label LBL_5, label LBL_3 LBL_3: %8 = call i64 @FUNC(i64 %2) store i64 %8, i64* %4, align 8 %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false store i64 %8, i64* %.reg2mem br i1 %10, label LBL_5, label LBL_4 LBL_4: %11 = call i64 @FUNC(i64 0, i64 1) store i64 0, i64* %rax.0.reg2mem br label LBL_8 LBL_5: %12 = ptrtoint i64* %arg2 to i64 %.reload = load i64, i64* %.reg2mem %13 = call i64 @FUNC(i64 %2, i64 %.reload, i64 %12, i64 %arg3, i64 0) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_7, label LBL_6 LBL_6: %17 = call i64 @FUNC(i64 0, i64 2) store i64 0, i64* %rax.0.reg2mem br label LBL_8 LBL_7: %18 = trunc i64 %.reload to i32 %19 = and i32 %18, 254 %20 = add i64 %2, 16 %21 = inttoptr i64 %20 to i32* store i32 %19, i32* %21, align 4 %22 = add i64 %.reload, %arg3 store i64 %22, i64* %arg2, align 8 store i64 %2, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %.reload, { 2, 1, 0 } uselistorder i64 %2, { 0, 2, 3, 1, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 4 } uselistorder i64 (i64, i64)* @ECerr, { 2, 1, 0 } uselistorder i64* %arg1, { 1, 0 } }
0
BinRealVul
tcp_chr_accept_5027
tcp_chr_accept
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i32, align 4 %3 = add i64 %2, 4 %4 = inttoptr i64 %3 to i32* %5 = bitcast i64* %rdi to i32* %6 = and i64 %1, 4294967295 br label LBL_1 LBL_1: %7 = load i32, i32* %4, align 4 %8 = icmp eq i32 %7, 0 %. = select i1 %8, i32 16, i32 110 %sv_0.stack_var_-168 = select i1 %8, i64* %sv_0, i64* %sv_1 store i32 %., i32* %sv_2, align 4 %storemerge = ptrtoint i64* %sv_0.stack_var_-168 to i64 %9 = call i64 @FUNC(i64 %6, i64 %storemerge, i32* nonnull %sv_2) %10 = trunc i64 %9 to i32 %11 = icmp slt i32 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_3, label LBL_2 LBL_2: %13 = call i32* @__errno_location() %14 = load i32, i32* %13, align 4 %15 = icmp eq i32 %14, 4 %16 = icmp eq i1 %15, false br i1 %16, label LBL_8, label LBL_1 LBL_3: %17 = add i64 %2, 8 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = icmp eq i32 %19, 0 %.pre = and i64 %9, 4294967295 br i1 %20, label LBL_5, label LBL_4 LBL_4: %21 = call i64 @FUNC(i64 %.pre) br label LBL_5 LBL_5: %22 = call i64 @FUNC(i64 %.pre) %23 = add i64 %2, 12 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = icmp eq i32 %25, 0 br i1 %26, label LBL_7, label LBL_6 LBL_6: %27 = call i64 @FUNC(i64 %.pre) br label LBL_7 LBL_7: %28 = add i64 %2, 16 %29 = inttoptr i64 %28 to i32* store i32 %10, i32* %29, align 4 %30 = load i32, i32* %5, align 8 %31 = zext i32 %30 to i64 %32 = call i64 @FUNC(i64 %31, i64 0, i64 0, i64 0) %33 = call i64 @FUNC(i64 %2) store i64 %33, i64* %rax.0.reg2mem br label LBL_9 LBL_8: %34 = zext i32 %14 to i64 store i64 %34, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %sv_2, { 1, 0 } uselistorder i64 4294967295, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
GetIntegrityLevelString_17325
GetIntegrityLevelString
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sext = mul i64 %arg1, 4294967296 %0 = ashr exact i64 %sext, 32 %1 = and i64 %0, 4294967295 store i64 %1, i64* @0, align 8 %trunc = trunc i64 %0 to i32 store i64 ptrtoint ([13 x i32]* @gv_0 to i64), i64* %rax.0.reg2mem switch i32 %trunc, label LBL_7 [ i32 0, label LBL_8 i32 1, label LBL_1 i32 2, label LBL_2 i32 3, label LBL_3 i32 4, label LBL_4 i32 5, label LBL_5 i32 6, label LBL_6 ] LBL_1: store i64 ptrtoint ([13 x i32]* @gv_1 to i64), i64* %rax.0.reg2mem br label LBL_8 LBL_2: store i64 ptrtoint ([12 x i32]* @gv_2 to i64), i64* %rax.0.reg2mem br label LBL_8 LBL_3: store i64 ptrtoint ([12 x i32]* @gv_3 to i64), i64* %rax.0.reg2mem br label LBL_8 LBL_4: store i64 ptrtoint ([12 x i32]* @gv_4 to i64), i64* %rax.0.reg2mem br label LBL_8 LBL_5: store i64 ptrtoint ([12 x i32]* @gv_5 to i64), i64* %rax.0.reg2mem br label LBL_8 LBL_6: store i64 0, i64* %rax.0.reg2mem br label LBL_8 LBL_7: %2 = call i64 @FUNC() store i64 0, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 8, 7, 6, 5, 4, 3, 2, 1 } uselistorder label LBL_8, { 7, 1, 2, 3, 4, 5, 6, 0 } }
1
BinRealVul
jp2_box_put_13652
jp2_box_put
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.13.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %.pre-phi5.reg2mem = alloca i64* %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %5 = urem i64 %3, 4 %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_0.LBL_6_crit_edge, label LBL_2 LBL_1: %.pre = add i64 %4, 16 %.pre4 = inttoptr i64 %.pre to i64* store i64* %.pre4, i64** %.pre-phi5.reg2mem store i64 0, i64* %sv_0.0.reg2mem br label LBL_6 LBL_2: %8 = call i64 @FUNC(i64 0, i64 0) %9 = icmp eq i64 %8, 0 store i64 4294967295, i64* %storemerge.reg2mem br i1 %9, label LBL_16, label LBL_3 LBL_3: %10 = add i64 %4, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = icmp eq i64 %14, 0 br i1 %15, label LBL_5, label LBL_4 LBL_4: %16 = trunc i64 %4 to i32 %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false store i64 %8, i64* %sv_0.13.reg2mem br i1 %18, label LBL_15, label LBL_5 LBL_5: %19 = call i64 @FUNC(i64 %8) %20 = add i64 %19, 8 %21 = add i64 %4, 16 %22 = inttoptr i64 %21 to i64* store i64 %20, i64* %22, align 8 %23 = call i64 @FUNC(i64 %8) store i64* %22, i64** %.pre-phi5.reg2mem store i64 %8, i64* %sv_0.0.reg2mem br label LBL_6 LBL_6: %24 = ptrtoint i64* %arg2 to i64 %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %.pre-phi5.reload = load i64*, i64** %.pre-phi5.reg2mem %25 = load i64, i64* %.pre-phi5.reload, align 8 %26 = icmp ult i64 %25, 4294967296 %27 = icmp ne i1 %26, true %28 = icmp eq i1 %27, false %29 = and i64 %25, 4294967295 %spec.select = select i1 %28, i64 %29, i64 1 %30 = call i64 @FUNC(i64 %24, i64 %spec.select) %31 = trunc i64 %30 to i32 %32 = icmp eq i32 %31, 0 %33 = icmp eq i1 %32, false br i1 %33, label LBL_14, label LBL_7 LBL_7: %34 = add i64 %4, 24 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = zext i32 %36 to i64 %38 = call i64 @FUNC(i64 %24, i64 %37) %39 = trunc i64 %38 to i32 %40 = icmp eq i32 %39, 0 %41 = icmp eq i1 %40, false br i1 %41, label LBL_14, label LBL_8 LBL_8: br i1 %28, label LBL_10, label LBL_9 LBL_9: %42 = load i64, i64* %.pre-phi5.reload, align 8 %43 = call i64 @FUNC(i64 %24, i64 %42) %44 = trunc i64 %43 to i32 %45 = icmp eq i32 %44, 0 %46 = icmp eq i1 %45, false br i1 %46, label LBL_14, label LBL_10 LBL_10: store i64 0, i64* %storemerge.reg2mem br i1 %7, label LBL_16, label LBL_11 LBL_11: %47 = load i64, i64* %.pre-phi5.reload, align 8 %48 = add i64 %47, -8 %49 = call i64 @FUNC(i64 %24, i64 %sv_0.0.reload, i64 %48) %50 = trunc i64 %49 to i32 %51 = icmp eq i32 %50, 0 br i1 %51, label LBL_13, label LBL_12 LBL_12: %52 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i64 %sv_0.0.reload, i64 %48, i64 %sv_0.0.reload, i64 %2, i64 %1) br label LBL_14 LBL_13: %53 = call i64 @FUNC(i64 %sv_0.0.reload) store i64 0, i64* %storemerge.reg2mem br label LBL_16 LBL_14: %54 = icmp eq i64 %sv_0.0.reload, 0 store i64 %sv_0.0.reload, i64* %sv_0.13.reg2mem store i64 4294967295, i64* %storemerge.reg2mem br i1 %54, label LBL_16, label LBL_15 LBL_15: %sv_0.13.reload = load i64, i64* %sv_0.13.reg2mem %55 = call i64 @FUNC(i64 %sv_0.13.reload) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_16 LBL_16: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i1 %28, { 1, 0 } uselistorder i64* %.pre-phi5.reload, { 1, 0, 2 } uselistorder i64 %sv_0.0.reload, { 0, 5, 2, 4, 3, 1 } uselistorder i64 %24, { 1, 0, 2, 3 } uselistorder i64 %8, { 1, 2, 3, 0, 4 } uselistorder i64 %4, { 4, 1, 3, 2, 0 } uselistorder i64* %sv_0.13.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 5, 4, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64)* @jas_stream_close, { 1, 0 } uselistorder i64 (i64, i64)* @jp2_putuint32, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 4, 5, 0 } uselistorder i64 4294967295, { 2, 1, 3, 0 } uselistorder i64 16, { 1, 0 } uselistorder i1 false, { 2, 3, 4, 0, 5, 1 } uselistorder i64 0, { 13, 1, 8, 9, 0, 14, 15, 11, 10, 2, 7, 3, 4, 5, 6, 12 } uselistorder label LBL_16, { 2, 1, 4, 3, 0 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_14, { 3, 0, 1, 2 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
test_co_queue_2441
test_co_queue
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 4198744, i64 0) %1 = call i64 @FUNC(i64 4198733, i64 %0) %2 = call i64 @FUNC(i64 %1) %3 = call i64 @FUNC(i64 %0) ret i64 %3 uselistorder i64 (i64)* @qemu_coroutine_enter, { 1, 0 } uselistorder i64 (i64, i64)* @qemu_coroutine_create, { 1, 0 } }
0
BinRealVul
shpc_cleanup_1731
shpc_cleanup
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = add i64 %1, 8 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = and i32 %4, -2 store i32 %5, i32* %3, align 4 %6 = call i64 @FUNC(i64 %0, i64 %1) %7 = call i64 @FUNC(i64 %0) %8 = inttoptr i64 %2 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %9) %11 = add i64 %1, 16 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = call i64 @FUNC(i64 %13) %15 = add i64 %1, 24 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = call i64 @FUNC(i64 %17) %19 = add i64 %1, 32 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = call i64 @FUNC(i64 %21) %23 = call i64 @FUNC(i64 %1) ret i64 %23 uselistorder i64 %0, { 1, 0 } uselistorder i64 (i64)* @g_free, { 4, 3, 2, 1, 0 } }
0
BinRealVul
uwb_drp_handle_alien_drp_4949
uwb_drp_handle_alien_drp
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rcx.0.lcssa.reg2mem = alloca i64 %storemerge5.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg2 to i64 %4 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %5 = call i64 @FUNC(i64* nonnull %sv_1, i64 %3) %6 = call i64 @FUNC(i64* nonnull %sv_0, i64 72, i64* nonnull %sv_1, i64 5) %7 = add i64 %4, 40 %storemerge.in3 = inttoptr i64 %7 to i64* %storemerge4 = load i64, i64* %storemerge.in3, align 8 %8 = icmp eq i64 %storemerge4, %7 %9 = icmp eq i1 %8, false store i64 %storemerge4, i64* %storemerge5.reg2mem store i64 5, i64* %rcx.0.lcssa.reg2mem br i1 %9, label LBL_1, label LBL_4 LBL_1: %storemerge5.reload = load i64, i64* %storemerge5.reg2mem %10 = add i64 %storemerge5.reload, 40 %11 = call i64 @FUNC(i64 %10, i64* nonnull %sv_1, i64 5) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 br i1 %13, label LBL_3, label LBL_2 LBL_2: %14 = call i64 @FUNC(i64 %storemerge5.reload) store i64 %14, i64* %rax.0.reg2mem br label LBL_7 LBL_3: %15 = inttoptr i64 %storemerge5.reload to i64* %16 = load i64, i64* %15, align 8 %storemerge.in = inttoptr i64 %16 to i64* %storemerge = load i64, i64* %storemerge.in, align 8 %17 = icmp eq i64 %storemerge, %7 %18 = icmp eq i1 %17, false store i64 %storemerge, i64* %storemerge5.reg2mem store i64 %10, i64* %rcx.0.lcssa.reg2mem br i1 %18, label LBL_1, label LBL_4 LBL_4: %19 = call i64 @FUNC(i64 80, i64 0) %20 = icmp eq i64 %19, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_6, label LBL_5 LBL_5: %rcx.0.lcssa.reload = load i64, i64* %rcx.0.lcssa.reg2mem %22 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_0, i64 0, i64 0), i64 %7, i64 %rcx.0.lcssa.reload, i64 %2, i64 %1) store i64 %22, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %23 = add i64 %19, 8 %24 = inttoptr i64 %23 to i64* store i64 %19, i64* %24, align 8 %25 = inttoptr i64 %19 to i64* store i64 %19, i64* %25, align 8 %26 = add i64 %19, 16 %27 = call i64 @FUNC(i64 %26) %28 = inttoptr i64 %26 to i64* store i64 4198977, i64* %28, align 8 %29 = add i64 %19, 24 %30 = inttoptr i64 %29 to i64* store i64 %19, i64* %30, align 8 %31 = add i64 %19, 32 %32 = inttoptr i64 %31 to i64* store i64 %4, i64* %32, align 8 %33 = add i64 %19, 40 %34 = call i64 @FUNC(i64 %33, i64 4198926) %35 = call i64 @FUNC(i64 %33, i64* nonnull %sv_1, i64 5) %36 = call i64 @FUNC(i64 %19, i64 %7) %37 = call i64 @FUNC(i64 %4, i64 %4, i64* nonnull %sv_1, i64 5) %38 = call i64 @FUNC(i64 1000) %39 = add i64 %4, 64 %40 = add i64 %4, 56 %41 = inttoptr i64 %40 to i64* %42 = load i64, i64* %41, align 8 %43 = call i64 @FUNC(i64 %42, i64 %39, i64 %38) %44 = call i64 @FUNC(i64 %19) store i64 %44, 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 %19, { 1, 2, 3, 4, 5, 6, 7, 0, 8, 9, 10, 11 } uselistorder i64 %storemerge5.reload, { 0, 2, 1 } uselistorder i64 %7, { 2, 4, 3, 0, 1 } uselistorder i64 %4, { 2, 1, 3, 4, 5, 0, 6 } uselistorder i64* %storemerge5.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64)* @uwb_cnflt_alien_stroke_timer, { 1, 0 } uselistorder i1 false, { 1, 2, 0 } uselistorder i64 5, { 1, 2, 3, 0, 4 } uselistorder label LBL_7, { 0, 2, 1 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
vnc_auth_sasl_check_ssf_1575
vnc_auth_sasl_check_ssf
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i32*, align 8 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false store i64 1, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_4 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = add i64 %5, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = bitcast i32** %sv_0 to i64* %10 = call i64 @FUNC(i64 %8, i64 1, i64* nonnull %9) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 store i64 0, i64* %rax.0.reg2mem br i1 %12, label LBL_2, label LBL_4 LBL_2: %13 = load i32*, i32** %sv_0, align 8 %14 = load i32, i32* %13, align 4 %15 = zext i32 %14 to i64 %16 = call i64 @FUNC(i64 %5, i64 %15) %17 = icmp sgt i32 %14, 55 store i64 0, i64* %rax.0.reg2mem br i1 %17, label LBL_3, label LBL_4 LBL_3: %18 = add i64 %5, 4 %19 = inttoptr i64 %18 to i32* store i32 1, i32* %19, align 4 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 i32 %14, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder label LBL_4, { 3, 0, 1, 2 } }
0
BinRealVul
reconstruct_phase_8871
reconstruct_phase
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = urem i32 %2, 2 %4 = icmp eq i32 %3, 0 store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_3 LBL_1: %5 = and i32 %2, 2 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_2, label LBL_3 LBL_2: %8 = and i32 %2, 4 %9 = icmp eq i32 %8, 0 %. = select i1 %9, i64 2, i64 1 store i64 %., i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %2, { 2, 1, 0 } uselistorder i32 2, { 1, 0 } }
0
BinRealVul
php_snmp_write_valueretrieval_6500
php_snmp_write_valueretrieval
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %sv_2 = alloca i64, align 8 %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 1 store i64 %0, i64* %sv_1.0.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: store i64 %0, i64* %sv_2, align 8 %3 = call i64 @FUNC(i64* nonnull %sv_2) %4 = call i64 @FUNC(i64* nonnull %sv_2) %5 = ptrtoint i64* %sv_2 to i64 store i64 %5, i64* %sv_1.0.reg2mem br label LBL_2 LBL_2: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %6 = add i64 %sv_1.0.reload, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp ugt i64 %8, 7 br i1 %9, label LBL_4, label LBL_3 LBL_3: store i64 %8, i64* %arg1, align 8 store i64 0, i64* %sv_0.0.reg2mem br label LBL_5 LBL_4: %10 = call i64 @FUNC(i64 0, i64 1, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_0, i64 0, i64 0), i64 %8) store i64 4294967295, i64* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %11 = ptrtoint i64* %sv_2 to i64 %12 = icmp eq i64 %sv_1.0.reload, %11 %13 = icmp eq i1 %12, false br i1 %13, label LBL_7, label LBL_6 LBL_6: %14 = call i64 @FUNC(i64 %sv_1.0.reload) br label LBL_7 LBL_7: ret i64 %sv_0.0.reload uselistorder i64 %8, { 1, 2, 0 } uselistorder i64 %sv_1.0.reload, { 1, 2, 0 } uselistorder i64* %sv_2, { 2, 3, 0, 1, 4 } uselistorder i64 %0, { 1, 0, 2 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } }
0
BinRealVul
mxf_read_content_storage_3280
mxf_read_content_storage
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i32 %arg3, 6401 %1 = icmp eq i1 %0, false store i64 0, i64* %rax.0.reg2mem br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = ptrtoint i64* %arg2 to i64 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %3 to i32 %5 = bitcast i64* %arg1 to i32* store i32 %4, i32* %5, align 4 store i64 4294967295, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
patch_cs4210_4687
patch_cs4210
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 4, i64 0) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_4 LBL_1: %3 = ptrtoint i64* %arg1 to i64 %4 = inttoptr i64 %0 to i32* store i64 %0, i64* %arg1, align 8 store i32 0, i32* %4, align 4 %5 = load i64, i64* @gv_0, align 8 %6 = load i64, i64* @gv_1, align 8 %7 = load i64, i64* @gv_2, align 8 %8 = call i64 @FUNC(i64 %3, i64 %7, i64 %6, i64 %5) %9 = call i64 @FUNC(i64 %3, i64 0) %10 = call i64 @FUNC(i64 %3) %11 = call i64 @FUNC(i64 %3) %12 = trunc i64 %11 to i32 %13 = icmp slt i32 %12, 0 br i1 %13, label LBL_3, label LBL_2 LBL_2: %14 = load i64, i64* @gv_3, align 8 %15 = add i64 %3, 8 %16 = inttoptr i64 %15 to i64* store i64 %14, i64* %16, align 8 %17 = call i64 @FUNC(i64 %3, i64 1) store i64 0, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %18 = call i64 @FUNC(i64 %3) store i64 0, i64* %arg1, align 8 %19 = and i64 %11, 4294967295 store i64 %19, 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 %3, { 2, 0, 1, 6, 5, 4, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64, i64)* @snd_hda_apply_fixup, { 1, 0 } uselistorder label LBL_4, { 1, 2, 0 } }
0
BinRealVul
compute_mask_14836
compute_mask
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge8.reg2mem = alloca i32 %.reg2mem20 = alloca i64 %sv_0.0.reg2mem = alloca i64 %storemerge49.reg2mem = alloca i32 %.reg2mem18 = alloca i64 %storemerge310.reg2mem = alloca i32 %.reg2mem16 = alloca i64 %.reg2mem14 = alloca i64 %storemerge511.reg2mem = alloca i32 %.reg2mem12 = alloca i64 %.reg2mem = alloca i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %0 = trunc i64 %arg1 to i32 %1 = mul i32 %0, 8 %2 = or i32 %1, 4 %3 = sext i32 %2 to i64 %4 = call i64 @FUNC(i64 %3) store i64 %4, i64* %sv_3, align 8 %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false store i64 4294967284, i64* %sv_0.0.reg2mem br i1 %6, label LBL_1, label LBL_11 LBL_1: %7 = call i64 @FUNC(i64 %3) store i64 %7, i64* %sv_2, align 8 %8 = icmp eq i64 %7, 0 %9 = icmp eq i1 %8, false store i64 4294967284, i64* %sv_0.0.reg2mem br i1 %9, label LBL_2, label LBL_11 LBL_2: %10 = mul i64 %arg1, 8589934592 %sext2 = ashr exact i64 %10, 32 %11 = or i64 %sext2, 1 %12 = call i64 @FUNC(i64 %11, i64 8) store i64 %12, i64* %sv_1, align 8 %13 = icmp eq i64 %12, 0 %14 = icmp eq i1 %13, false store i64 4294967284, i64* %sv_0.0.reg2mem br i1 %14, label LBL_3, label LBL_11 LBL_3: %15 = mul i64 %arg1, 2 %16 = and i64 %15, 4294967294 store i64 %12, i64* %.reg2mem store i64 0, i64* %.reg2mem12 store i32 0, i32* %storemerge511.reg2mem br label LBL_4 LBL_4: %.reload13 = load i64, i64* %.reg2mem12 %.reload = load i64, i64* %.reg2mem %17 = mul i64 %.reload13, 8 %18 = add i64 %17, %.reload %19 = call i64 @FUNC(i64 %3) %20 = inttoptr i64 %18 to i64* store i64 %19, i64* %20, align 8 %21 = load i64, i64* %sv_1, align 8 %22 = add i64 %21, %17 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = icmp eq i64 %24, 0 %26 = icmp eq i1 %25, false store i64 4294967284, i64* %sv_0.0.reg2mem br i1 %26, label LBL_5, label LBL_11 LBL_5: %storemerge511.reload = load i32, i32* %storemerge511.reg2mem %27 = add i32 %storemerge511.reload, 1 %28 = sext i32 %27 to i64 %29 = icmp slt i64 %16, %28 store i64 %21, i64* %.reg2mem store i64 %28, i64* %.reg2mem12 store i32 %27, i32* %storemerge511.reg2mem br i1 %29, label LBL_6, label LBL_4 LBL_6: %30 = load i64, i64* %sv_3, align 8 %31 = icmp eq i64 %16, 0 store i64 %30, i64* %.reg2mem14 store i64 0, i64* %.reg2mem16 store i32 0, i32* %storemerge310.reg2mem br label LBL_7 LBL_7: %storemerge310.reload = load i32, i32* %storemerge310.reg2mem %.reload17 = load i64, i64* %.reg2mem16 %.reload15 = load i64, i64* %.reg2mem14 %32 = inttoptr i64 %.reload15 to i64* %33 = call i64* @memset(i64* %32, i32 0, i32 %2) %34 = load i64, i64* %sv_3, align 8 %35 = mul i64 %.reload17, 4 %36 = add i64 %34, %35 %37 = inttoptr i64 %36 to i32* store i32 1, i32* %37, align 4 store i64 0, i64* %.reg2mem18 store i32 0, i32* %storemerge49.reg2mem br i1 %31, label LBL_9, label LBL_8 LBL_8: %storemerge49.reload = load i32, i32* %storemerge49.reg2mem %.reload19 = load i64, i64* %.reg2mem18 %38 = load i64, i64* %sv_3, align 8 %39 = load i64, i64* %sv_1, align 8 %40 = mul i64 %.reload19, 8 %41 = add i64 %39, %40 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = load i64, i64* %sv_2, align 8 %45 = call i64 @FUNC(i64 %44, i64 %43, i64 %38, i64 %16) %46 = load i64, i64* %sv_3, align 8 %47 = load i64, i64* %sv_1, align 8 %48 = add i64 %47, %40 %49 = inttoptr i64 %48 to i64* %50 = load i64, i64* %49, align 8 %51 = inttoptr i64 %50 to i64* %52 = inttoptr i64 %46 to i64* %53 = call i64* @memcpy(i64* %51, i64* %52, i32 %2) %54 = load i64, i64* %sv_2, align 8 %55 = load i64, i64* %sv_1, align 8 %56 = or i64 %40, 8 %57 = add i64 %55, %56 %58 = inttoptr i64 %57 to i64* %59 = load i64, i64* %58, align 8 %60 = load i64, i64* %sv_3, align 8 %61 = call i64 @FUNC(i64 %60, i64 %59, i64 %54, i64 %16) %62 = load i64, i64* %sv_2, align 8 %63 = load i64, i64* %sv_1, align 8 %64 = add i64 %63, %56 %65 = inttoptr i64 %64 to i64* %66 = load i64, i64* %65, align 8 %67 = inttoptr i64 %66 to i64* %68 = inttoptr i64 %62 to i64* %69 = call i64* @memcpy(i64* %67, i64* %68, i32 %2) %70 = add i32 %storemerge49.reload, 2 %71 = sext i32 %70 to i64 %72 = icmp sgt i64 %16, %71 store i64 %71, i64* %.reg2mem18 store i32 %70, i32* %storemerge49.reg2mem br i1 %72, label LBL_8, label LBL_9 LBL_9: %73 = add i32 %storemerge310.reload, 1 %74 = sext i32 %73 to i64 %75 = icmp slt i64 %16, %74 %76 = load i64, i64* %sv_3, align 8 store i64 %76, i64* %.reg2mem14 store i64 %74, i64* %.reg2mem16 store i32 %73, i32* %storemerge310.reg2mem br i1 %75, label LBL_10, label LBL_7 LBL_10: %77 = inttoptr i64 %arg2 to i64* %78 = inttoptr i64 %76 to i64* %79 = call i64* @memcpy(i64* %77, i64* %78, i32 %2) store i64 0, i64* %sv_0.0.reg2mem br label LBL_11 LBL_11: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %80 = call i64 @FUNC(i64* nonnull %sv_3) %81 = call i64 @FUNC(i64* nonnull %sv_2) %82 = mul i64 %arg1, 2 %83 = and i64 %82, 4294967294 %.pre = load i64, i64* %sv_1, align 8 store i64 0, i64* %.reg2mem20 store i32 0, i32* %storemerge8.reg2mem br label LBL_12 LBL_12: %storemerge8.reload = load i32, i32* %storemerge8.reg2mem %.reload21 = load i64, i64* %.reg2mem20 %84 = mul i64 %.reload21, 8 %85 = add i64 %84, %.pre %86 = inttoptr i64 %85 to i64* %87 = call i64 @FUNC(i64* %86) %88 = add i32 %storemerge8.reload, 1 %89 = sext i32 %88 to i64 %90 = icmp slt i64 %83, %89 store i64 %89, i64* %.reg2mem20 store i32 %88, i32* %storemerge8.reg2mem br i1 %90, label LBL_13, label LBL_12 LBL_13: %91 = call i64 @FUNC(i64* nonnull %sv_1) ret i64 %sv_0.0.reload uselistorder i64 %76, { 1, 0 } uselistorder i64 %40, { 0, 2, 1 } uselistorder i64 %17, { 1, 0 } uselistorder i64 %16, { 4, 2, 1, 3, 0, 5 } uselistorder i32 %2, { 2, 4, 3, 1, 0 } uselistorder i64* %sv_3, { 1, 2, 3, 4, 5, 6, 0, 7 } uselistorder i64* %sv_1, { 1, 0, 2, 3, 4, 5, 6, 7 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem12, { 1, 0, 2 } uselistorder i32* %storemerge511.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem14, { 1, 0, 2 } uselistorder i64* %.reg2mem16, { 1, 0, 2 } uselistorder i32* %storemerge310.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem18, { 2, 0, 1 } uselistorder i32* %storemerge49.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 5, 1, 2, 3, 4 } uselistorder i64* %.reg2mem20, { 1, 0, 2 } uselistorder i32* %storemerge8.reg2mem, { 1, 0, 2 } uselistorder i64 (i64*)* @av_freep, { 2, 3, 1, 0 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 0, 2, 1 } uselistorder i64 (i64, i64, i64, i64)* @add_mask_counter, { 1, 0 } uselistorder i64 4294967294, { 1, 0 } uselistorder i64 8, { 0, 3, 1, 2, 4 } uselistorder i64 (i64)* @av_mallocz, { 3, 2, 1, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_11, { 4, 0, 1, 2, 3 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
DefragTrackerReuseTest_17331
DefragTrackerReuseTest
define i64 @FUNC() local_unnamed_addr { LBL_0: %sv_0.05.reg2mem = alloca i64 %sv_0.0.ph.reg2mem = alloca i64 %0 = call i64 @FUNC() %1 = call i64 @FUNC(i64 1, i64 0, i64 0, i64 65, i64 8) %2 = icmp eq i64 %1, 0 store i64 0, i64* %sv_0.05.reg2mem br i1 %2, label LBL_8, label LBL_1 LBL_1: %3 = call i64 @FUNC(i64 0, i64 0, i64 %1) %4 = icmp eq i64 %3, 0 store i64 0, i64* %sv_0.0.ph.reg2mem br i1 %4, label LBL_7, label LBL_2 LBL_2: %5 = inttoptr i64 %3 to i32* %6 = load i32, i32* %5, align 4 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false store i64 0, i64* %sv_0.0.ph.reg2mem br i1 %8, label LBL_7, label LBL_3 LBL_3: %9 = add i64 %3, 4 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false store i64 0, i64* %sv_0.0.ph.reg2mem br i1 %13, label LBL_7, label LBL_4 LBL_4: %14 = call i64 @FUNC(i64 %3) %15 = call i64 @FUNC(i64 0, i64 0, i64 %1) %16 = icmp eq i64 %15, 0 %17 = icmp eq i64 %15, %3 %18 = icmp eq i1 %17, false %or.cond = or i1 %16, %18 store i64 0, i64* %sv_0.0.ph.reg2mem br i1 %or.cond, label LBL_7, label LBL_5 LBL_5: %19 = call i64 @FUNC(i64 %3) store i32 1, i32* %10, align 4 %20 = call i64 @FUNC(i64 0, i64 0, i64 %1) %21 = icmp eq i64 %20, 0 %22 = icmp eq i64 %20, %3 %or.cond3 = or i1 %21, %22 store i64 0, i64* %sv_0.0.ph.reg2mem br i1 %or.cond3, label LBL_7, label LBL_6 LBL_6: %23 = add i64 %20, 4 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = icmp eq i32 %25, 0 %spec.select = zext i1 %26 to i64 store i64 %spec.select, i64* %sv_0.0.ph.reg2mem br label LBL_7 LBL_7: %sv_0.0.ph.reload = load i64, i64* %sv_0.0.ph.reg2mem %27 = call i64 @FUNC(i64 %1) store i64 %sv_0.0.ph.reload, i64* %sv_0.05.reg2mem br label LBL_8 LBL_8: %sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem %28 = call i64 @FUNC() ret i64 %sv_0.05.reload uselistorder i64 %20, { 1, 0, 2 } uselistorder i64 %3, { 0, 2, 1, 3, 4, 5, 6 } uselistorder i64 %1, { 2, 0, 1, 3, 4 } uselistorder i64* %sv_0.0.ph.reg2mem, { 0, 6, 5, 4, 3, 2, 1 } uselistorder i64* %sv_0.05.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @DefragTrackerRelease, { 1, 0 } uselistorder i64 (i64, i64, i64)* @DefragGetTracker, { 2, 1, 0 } uselistorder i32 1, { 7, 4, 3, 2, 1, 5, 6, 0 } uselistorder label LBL_8, { 1, 0 } }
1
BinRealVul
i6300esb_restart_timer_14188
i6300esb_restart_timer
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = trunc i64 %arg2 to i32 %6 = add i64 %4, 4 %7 = inttoptr i64 %6 to i32* store i32 %5, i32* %7, align 4 %8 = icmp sgt i32 %5, 1 %storemerge3.in.in.in.v = select i1 %8, i64 16, i64 8 %storemerge3.in.in.in = add i64 %storemerge3.in.in.in.v, %4 %storemerge3.in.in = inttoptr i64 %storemerge3.in.in.in to i64* %storemerge3.in = load i64, i64* %storemerge3.in.in, align 8 %9 = add i64 %4, 24 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp eq i32 %11, 1 %13 = icmp eq i1 %12, false %storemerge.in.v = select i1 %13, i64 5, i64 15 %storemerge.in = shl i64 %storemerge3.in, %storemerge.in.v %14 = call i64 @FUNC() %15 = mul i64 %storemerge.in, %14 %16 = lshr i64 %15, 63 %17 = load i32, i32* %7, align 4 %18 = zext i32 %17 to i64 %19 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i64 %18, i64 %16) %20 = call i64 @FUNC(i64 0) %21 = add i64 %16, %20 %22 = add i64 %4, 32 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = call i64 @FUNC(i64 %24, i64 %21) store i64 %25, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %16, { 1, 0 } uselistorder i64 %4, { 1, 2, 0, 3 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
git_repository_config__weakptr_4072
git_repository_config__weakptr
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rsi.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %rsi.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %sv_5 = alloca i64, align 8 %1 = icmp eq i64* %arg2, null %2 = icmp eq i1 %1, false store i64 0, i64* %sv_0.0.reg2mem store i64 %0, i64* %rsi.1.reg2mem br i1 %2, label LBL_5, label LBL_1 LBL_1: store i64 0, i64* %sv_5, align 8 store i64 0, i64* %sv_4, align 8 store i64 0, i64* %sv_3, align 8 store i64 0, i64* %sv_2, align 8 %3 = call i64 @FUNC(i64* nonnull %sv_5) %4 = call i64 @FUNC(i64* nonnull %sv_4) %5 = call i64 @FUNC(i64* nonnull %sv_3) %6 = call i64 @FUNC(i64* nonnull %sv_2) %7 = call i64 @FUNC(i64* nonnull %sv_5) %8 = call i64 @FUNC(i64* nonnull %sv_2) %9 = call i64 @FUNC(i64* nonnull %sv_3) %10 = call i64 @FUNC(i64* nonnull %sv_4) %11 = call i64 @FUNC(i64* nonnull %sv_5) %12 = call i64 @FUNC(i64* nonnull %sv_1, i64 %0, i64 %11, i64 %10, i64 %9, i64 %8) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false store i64 %0, i64* %rsi.0.reg2mem br i1 %15, label LBL_4, label LBL_2 LBL_2: %16 = load i64, i64* %sv_1, align 8 %17 = call i64 @FUNC(i64 %0, i64 0, i64 %16) %sext = mul i64 %17, 4294967296 %18 = ashr exact i64 %sext, 32 store i64 %18, i64* %sv_1, align 8 %19 = icmp eq i64 %sext, 0 store i64 0, i64* %rsi.0.reg2mem br i1 %19, label LBL_4, label LBL_3 LBL_3: %20 = call i64 @FUNC(i64 %18) store i64 0, i64* %rsi.0.reg2mem br label LBL_4 LBL_4: %rsi.0.reload = load i64, i64* %rsi.0.reg2mem %21 = load i64, i64* %sv_5, align 8 %22 = inttoptr i64 %21 to i64* call void @free(i64* %22) %23 = load i64, i64* %sv_4, align 8 %24 = inttoptr i64 %23 to i64* call void @free(i64* %24) %25 = load i64, i64* %sv_3, align 8 %26 = inttoptr i64 %25 to i64* call void @free(i64* %26) %27 = load i64, i64* %sv_2, align 8 %28 = inttoptr i64 %27 to i64* call void @free(i64* %28) %phitmp = and i64 %12, 4294967295 store i64 %phitmp, i64* %sv_0.0.reg2mem store i64 %rsi.0.reload, i64* %rsi.1.reg2mem br label LBL_5 LBL_5: %rsi.1.reload = load i64, i64* %rsi.1.reg2mem %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem store i64 %rsi.1.reload, i64* %arg1, align 8 ret i64 %sv_0.0.reload uselistorder i64 %sext, { 1, 0 } uselistorder i64* %sv_5, { 3, 0, 1, 2, 4 } uselistorder i64* %sv_4, { 2, 0, 1, 3 } uselistorder i64* %sv_3, { 2, 0, 1, 3 } uselistorder i64* %sv_2, { 2, 0, 1, 3 } uselistorder i64* %sv_1, { 1, 2, 0 } uselistorder i64 %0, { 2, 1, 3, 0 } uselistorder void (i64*)* @free, { 1, 0, 4, 3, 2 } uselistorder i32 0, { 1, 0 } uselistorder i64 (i64*)* @path_unless_empty, { 3, 2, 1, 0 } }
0
BinRealVul
net_socket_mcast_create_503
net_socket_mcast_create
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %sv_1 = alloca i32, align 4 %1 = add i64 %0, 4 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = call i32 @ntohl(i32 %3) %5 = and i32 %4, -268435456 %6 = icmp eq i32 %5, -536870912 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = load i32, i32* %2, align 4 %8 = call i32 @ntohl(i32 %7) %9 = load i32, i32* %2, align 4 %10 = insertvalue %in_addr undef, i32 %9, 0 %11 = call i8* @inet_ntoa(%in_addr %10) %12 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %13 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %12, i8* getelementptr inbounds ([85 x i8], [85 x i8]* @gv_1, i64 0, i64 0), i8* %11, i32 %8) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_14 LBL_2: %14 = call i64 @FUNC(i64 2, i64 2, i64 0) %15 = trunc i64 %14 to i32 %16 = icmp slt i32 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_4, label LBL_3 LBL_3: call void @perror(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_14 LBL_4: store i32 1, i32* %sv_1, align 4 %18 = bitcast i32* %sv_1 to i64* %19 = call i32 @setsockopt(i32 %15, i32 1, i32 2, i64* nonnull %18, i32 4) %20 = icmp slt i32 %19, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_6, label LBL_5 LBL_5: call void @perror(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_3, i64 0, i64 0)) br label LBL_13 LBL_6: %22 = bitcast i64* %arg1 to %sockaddr* %23 = call i32 @bind(i32 %15, %sockaddr* %22, i32 16) %24 = icmp slt i32 %23, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_8, label LBL_7 LBL_7: call void @perror(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0)) br label LBL_13 LBL_8: %26 = load i32, i32* %2, align 4 store i32 %26, i32* %sv_0, align 4 %27 = call i32 @htonl(i32 0) %28 = bitcast i32* %sv_0 to i64* %29 = call i32 @setsockopt(i32 %15, i32 0, i32 35, i64* nonnull %28, i32 8) %30 = icmp slt i32 %29, 0 %31 = icmp eq i1 %30, false br i1 %31, label LBL_10, label LBL_9 LBL_9: call void @perror(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_5, i64 0, i64 0)) br label LBL_13 LBL_10: store i32 1, i32* %sv_1, align 4 %32 = call i32 @setsockopt(i32 %15, i32 0, i32 34, i64* nonnull %18, i32 4) %33 = icmp slt i32 %32, 0 %34 = icmp eq i1 %33, false br i1 %34, label LBL_12, label LBL_11 LBL_11: call void @perror(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_6, i64 0, i64 0)) br label LBL_13 LBL_12: %35 = and i64 %14, 4294967295 %36 = call i64 @FUNC(i64 %35) store i64 %35, i64* %rax.0.reg2mem br label LBL_14 LBL_13: %37 = and i64 %14, 4294967295 %38 = call i64 @FUNC(i64 %37) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_14 LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %14, { 1, 0, 2 } uselistorder i32* %2, { 2, 1, 0, 3 } uselistorder i32* %sv_1, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 3, 2 } uselistorder i32 (i32, i32, i32, i64*, i32)* @setsockopt, { 2, 1, 0 } uselistorder void (i8*)* @perror, { 4, 3, 2, 1, 0 } uselistorder i32 (i32)* @ntohl, { 1, 0 } uselistorder label LBL_13, { 3, 2, 1, 0 } }
0
BinRealVul
grlib_apbuart_writel_15229
grlib_apbuart_writel
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 store i64 0, i64* %sv_0, align 8 %1 = urem i64 %arg2, 256 %2 = icmp eq i64 %1, 3 store i64 %0, i64* %rax.0.reg2mem br i1 %2, label LBL_7, label LBL_1 LBL_1: %3 = icmp ult i64 %1, 4 br i1 %3, label LBL_2, label LBL_6 LBL_2: %4 = icmp eq i64 %1, 2 store i64 %0, i64* %rax.0.reg2mem br i1 %4, label LBL_7, label LBL_3 LBL_3: %5 = icmp ult i64 %1, 3 br i1 %5, label LBL_4, label LBL_6 LBL_4: %trunc = trunc i64 %arg2 to i8 store i64 %0, i64* %rax.0.reg2mem switch i8 %trunc, label LBL_6 [ i8 0, label LBL_5 i8 1, label LBL_7 ] LBL_5: %sext3 = mul i64 %arg3, 72057594037927936 %6 = ashr exact i64 %sext3, 56 store i64 %6, i64* %sv_0, align 8 %7 = bitcast i64* %sv_0 to i8* %8 = call i64 @FUNC(i64 %0, i8* nonnull %7, i64 1) store i64 %8, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %9 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64 %1) store i64 %9, 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 %1, { 4, 3, 2, 1, 0 } uselistorder i64* %sv_0, { 2, 1, 0 } uselistorder i64 %0, { 3, 0, 1, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1, 4, 5 } uselistorder i64 1, { 1, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_7, { 3, 4, 0, 1, 2 } }
1
BinRealVul
wtvfile_open_sector_66
wtvfile_open_sector
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %rcx.1.reg2mem = alloca i64 %.pre-phi14.reg2mem = alloca i32* %.pre-phi15.reg2mem = alloca i64* %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sext = mul i64 %arg1, 4294967296 %3 = ashr exact i64 %sext, 23 %4 = call i64 @FUNC(i64 %3, i64 %3, i64 0) %5 = trunc i64 %4 to i32 %6 = icmp slt i32 %5, 0 %7 = icmp eq i1 %6, false store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_1, label LBL_30 LBL_1: %8 = call i64 @FUNC(i64 40) %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false store i64 0, i64* %rax.0.reg2mem br i1 %10, label LBL_2, label LBL_30 LBL_2: %11 = ptrtoint i64* %arg4 to i64 %sext3 = mul i64 %arg3, 4294967296 %12 = ashr exact i64 %sext3, 32 %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false br i1 %15, label LBL_6, label LBL_3 LBL_3: %16 = call i64 @FUNC(i64 4) %17 = inttoptr i64 %8 to i64* store i64 %16, i64* %17, align 8 %18 = icmp eq i64 %16, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_5, label LBL_4 LBL_4: %20 = call i64 @FUNC(i64 %8) store i64 0, i64* %rax.0.reg2mem br label LBL_30 LBL_5: %21 = trunc i64 %arg1 to i32 %22 = inttoptr i64 %16 to i32* store i32 %21, i32* %22, align 4 %23 = add i64 %8, 8 %24 = inttoptr i64 %23 to i32* store i32 1, i32* %24, align 4 store i64* %17, i64** %.pre-phi15.reg2mem store i32* %24, i32** %.pre-phi14.reg2mem store i64 %3, i64* %rcx.1.reg2mem br label LBL_18 LBL_6: %25 = icmp eq i32 %13, 1 %26 = icmp eq i1 %25, false br i1 %26, label LBL_10, label LBL_7 LBL_7: %27 = call i64 @FUNC(i64 512) %28 = inttoptr i64 %8 to i64* store i64 %27, i64* %28, align 8 %29 = icmp eq i64 %27, 0 %30 = icmp eq i1 %29, false br i1 %30, label LBL_9, label LBL_8 LBL_8: %31 = call i64 @FUNC(i64 %8) store i64 0, i64* %rax.0.reg2mem br label LBL_30 LBL_9: %32 = call i64 @FUNC(i64 %27, i64 %27, i64 128) %33 = trunc i64 %32 to i32 %34 = add i64 %8, 8 %35 = inttoptr i64 %34 to i32* store i32 %33, i32* %35, align 4 store i64* %28, i64** %.pre-phi15.reg2mem store i32* %35, i32** %.pre-phi14.reg2mem store i64 %27, i64* %rcx.1.reg2mem br label LBL_18 LBL_10: %36 = icmp eq i32 %13, 2 %37 = icmp eq i1 %36, false br i1 %37, label LBL_17, label LBL_11 LBL_11: %38 = ptrtoint i64* %sv_1 to i64 %39 = call i64 @FUNC(i64 %3, i64 %38, i64 128) %40 = trunc i64 %39 to i32 %41 = mul i32 %40, 512 %42 = sext i32 %41 to i64 %43 = call i64 @FUNC(i64 %42) %44 = inttoptr i64 %8 to i64* store i64 %43, i64* %44, align 8 %45 = icmp eq i64 %43, 0 %46 = icmp eq i1 %45, false br i1 %46, label LBL_13, label LBL_12 LBL_12: %47 = call i64 @FUNC(i64 %8) store i64 0, i64* %rax.0.reg2mem br label LBL_30 LBL_13: %48 = add i64 %8, 8 %49 = inttoptr i64 %48 to i32* store i32 0, i32* %49, align 4 %50 = icmp sgt i32 %40, 0 store i64* %44, i64** %.pre-phi15.reg2mem store i32* %49, i32** %.pre-phi14.reg2mem store i64 %38, i64* %rcx.1.reg2mem br i1 %50, label LBL_14, label LBL_18 LBL_14: %51 = ptrtoint i64* %sv_2 to i64 %52 = add i64 %51, -576 %sext16 = mul i64 %39, 4294967296 %53 = ashr exact i64 %sext16, 32 store i64 0, i64* %indvars.iv.reg2mem br label LBL_15 LBL_15: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %54 = mul i64 %indvars.iv.reload, 4 %55 = add i64 %52, %54 %56 = inttoptr i64 %55 to i32* %57 = load i32, i32* %56, align 4 %58 = zext i32 %57 to i64 %59 = mul i64 %58, 512 %60 = call i64 @FUNC(i64 %59, i64 %59, i64 0) %61 = trunc i64 %60 to i32 %62 = icmp slt i32 %61, 0 store i64* %44, i64** %.pre-phi15.reg2mem store i32* %49, i32** %.pre-phi14.reg2mem store i64 %59, i64* %rcx.1.reg2mem br i1 %62, label LBL_18, label LBL_16 LBL_16: %63 = load i64, i64* %44, align 8 %64 = trunc i64 %indvars.iv.reload to i32 %65 = mul i32 %64, 128 %66 = sext i32 %65 to i64 %67 = mul i64 %66, 4 %68 = add i64 %63, %67 %69 = call i64 @FUNC(i64 %68, i64 %68, i64 128) %70 = trunc i64 %69 to i32 %71 = load i32, i32* %49, align 4 %72 = add i32 %71, %70 store i32 %72, i32* %49, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %73 = icmp slt i64 %indvars.iv.next, %53 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64* %44, i64** %.pre-phi15.reg2mem store i32* %49, i32** %.pre-phi14.reg2mem store i64 %68, i64* %rcx.1.reg2mem br i1 %73, label LBL_15, label LBL_18 LBL_17: %74 = and i64 %12, 4294967295 %75 = call i64 @FUNC(i64 %11, i64 0, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_0, i64 0, i64 0), i64 %74, i64 %2, i64 %1) %76 = call i64 @FUNC(i64 %8) store i64 0, i64* %rax.0.reg2mem br label LBL_30 LBL_18: %rcx.1.reload = load i64, i64* %rcx.1.reg2mem %.pre-phi14.reload = load i32*, i32** %.pre-phi14.reg2mem %.pre-phi15.reload = load i64*, i64** %.pre-phi15.reg2mem %77 = icmp slt i64 %arg2, 0 %78 = icmp eq i1 %77, false %79 = select i1 %78, i32 10, i32 9 %80 = add i64 %8, 12 %81 = inttoptr i64 %80 to i32* store i32 %79, i32* %81, align 4 %82 = load i32, i32* %.pre-phi14.reload, align 4 %83 = icmp eq i32 %82, 0 %84 = icmp eq i1 %83, false %85 = load i64, i64* %.pre-phi15.reload, align 8 br i1 %84, label LBL_20, label LBL_19 LBL_19: %86 = call i64 @FUNC(i64 %85) %87 = call i64 @FUNC(i64 %8) store i64 0, i64* %rax.0.reg2mem br label LBL_30 LBL_20: %88 = sext i32 %82 to i64 %89 = mul i64 %88, 4 %90 = add i64 %85, -4 %91 = add i64 %90, %89 %92 = inttoptr i64 %91 to i32* %93 = load i32, i32* %92, align 4 %94 = mul i32 %93, 512 %95 = zext i32 %94 to i64 %96 = call i64 @FUNC(i64 %rcx.1.reload) %97 = icmp slt i64 %96, %95 br i1 %97, label LBL_21, label LBL_22 LBL_21: %98 = call i64 @FUNC(i64 %11, i64 1, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_1, i64 0, i64 0), i64 %rcx.1.reload, i64 %2, i64 %1) br label LBL_22 LBL_22: %99 = and i64 %arg2, 281474976710655 %100 = load i32, i32* %.pre-phi14.reload, align 4 %101 = sext i32 %100 to i64 %102 = load i32, i32* %81, align 4 %103 = urem i32 %102, 64 %104 = zext i32 %103 to i64 %rdx.0 = shl i64 %101, %104 %105 = icmp ugt i64 %99, %rdx.0 store i64 %99, i64* %sv_0.0.reg2mem br i1 %105, label LBL_23, label LBL_24 LBL_23: %106 = call i64 @FUNC(i64 %11, i64 1, i8* getelementptr inbounds ([74 x i8], [74 x i8]* @gv_2, i64 0, i64 0), i64 %99, i64 %rdx.0, i64 %1) %107 = load i32, i32* %.pre-phi14.reload, align 4 %108 = sext i32 %107 to i64 %109 = load i32, i32* %81, align 4 %110 = urem i32 %109, 64 %111 = zext i32 %110 to i64 %rdx.2 = shl i64 %108, %111 store i64 %rdx.2, i64* %sv_0.0.reg2mem br label LBL_24 LBL_24: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %112 = add i64 %8, 16 %113 = inttoptr i64 %112 to i64* store i64 %sv_0.0.reload, i64* %113, align 8 %114 = add i64 %8, 24 %115 = inttoptr i64 %114 to i32* store i32 0, i32* %115, align 4 %116 = load i64, i64* %.pre-phi15.reload, align 8 %117 = inttoptr i64 %116 to i32* %118 = load i32, i32* %117, align 4 %119 = zext i32 %118 to i64 %120 = mul i64 %119, 512 %121 = call i64 @FUNC(i64 %120, i64 %120, i64 0) %122 = trunc i64 %121 to i32 %123 = icmp slt i32 %122, 0 %124 = icmp eq i1 %123, false br i1 %124, label LBL_26, label LBL_25 LBL_25: %125 = load i64, i64* %.pre-phi15.reload, align 8 %126 = call i64 @FUNC(i64 %125) %127 = call i64 @FUNC(i64 %8) store i64 0, i64* %rax.0.reg2mem br label LBL_30 LBL_26: %128 = add i64 %8, 32 %129 = inttoptr i64 %128 to i64* store i64 %120, i64* %129, align 8 %130 = load i32, i32* %81, align 4 %131 = urem i32 %130, 32 %132 = shl i32 1, %131 %133 = sext i32 %132 to i64 %134 = call i64 @FUNC(i64 %133) %135 = icmp eq i64 %134, 0 %136 = icmp eq i1 %135, false br i1 %136, label LBL_28, label LBL_27 LBL_27: %137 = load i64, i64* %.pre-phi15.reload, align 8 %138 = call i64 @FUNC(i64 %137) %139 = call i64 @FUNC(i64 %8) store i64 0, i64* %rax.0.reg2mem br label LBL_30 LBL_28: %140 = load i32, i32* %81, align 4 %141 = urem i32 %140, 32 %142 = shl i32 1, %141 %storemerge7 = zext i32 %142 to i64 %143 = call i64 @FUNC(i64 %134, i64 %storemerge7, i64 0, i64 %8, i64 4199004, i64 0) %144 = icmp eq i64 %143, 0 %145 = icmp eq i1 %144, false store i64 %143, i64* %rax.0.reg2mem br i1 %145, label LBL_30, label LBL_29 LBL_29: %146 = call i64 @FUNC(i64 %134) %147 = load i64, i64* %.pre-phi15.reload, align 8 %148 = call i64 @FUNC(i64 %147) %149 = call i64 @FUNC(i64 %8) store i64 %143, i64* %rax.0.reg2mem br label LBL_30 LBL_30: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %143, { 1, 0, 2 } uselistorder i64 %120, { 2, 0, 1 } uselistorder i64 %rdx.0, { 1, 0 } uselistorder i64 %99, { 2, 0, 1 } uselistorder i64* %.pre-phi15.reload, { 2, 1, 0, 3, 4 } uselistorder i64 %rcx.1.reload, { 1, 0 } uselistorder i64 %68, { 0, 2, 1 } uselistorder i32* %49, { 0, 4, 3, 1, 2, 5 } uselistorder i64* %44, { 0, 3, 1, 2, 4 } uselistorder i32 %40, { 1, 0 } uselistorder i64 %27, { 0, 3, 2, 1, 4 } uselistorder i64 %16, { 1, 0, 2 } uselistorder i64 %8, { 9, 10, 8, 11, 7, 12, 13, 6, 14, 18, 16, 15, 17, 3, 4, 5, 0, 1, 2, 19 } uselistorder i64 %3, { 1, 0, 2, 3 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64** %.pre-phi15.reg2mem, { 0, 1, 2, 3, 5, 4 } uselistorder i32** %.pre-phi14.reg2mem, { 0, 1, 2, 3, 5, 4 } uselistorder i64* %rcx.1.reg2mem, { 0, 1, 2, 3, 5, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 10, 9, 8, 11, 7, 6, 5, 3, 4 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 2, 1, 0 } uselistorder i64 1, { 1, 2, 0 } uselistorder i64 (i64, i64, i64)* @read_ints, { 2, 1, 0 } uselistorder i64 (i64)* @av_free, { 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64)* @av_malloc, { 3, 2, 1, 0 } uselistorder i64 32, { 2, 0, 1 } uselistorder i32 0, { 1, 2, 3, 4, 0, 5, 6, 7 } uselistorder i64 (i64, i64, i64)* @avio_seek, { 2, 1, 0 } uselistorder i64 %arg1, { 1, 0 } uselistorder label LBL_30, { 1, 0, 4, 5, 6, 7, 8, 9, 10, 2, 3 } uselistorder label LBL_22, { 1, 0 } uselistorder label LBL_15, { 1, 0 } }
1
BinRealVul
ex_copy_19170
ex_copy
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.21.reg2mem = alloca i64 %sv_1.12.reg2mem = alloca i64 %.pre-phi5.reg2mem = alloca i64 %0 = sub i64 %arg2, %arg1 %1 = add i64 %0, 1 %2 = load i32, i32* @gv_0, align 4 %3 = urem i32 %2, 2 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_0.LBL_3_crit_edge, label LBL_2 LBL_1: %.pre4 = add i64 %arg3, 1 store i64 %.pre4, i64* %.pre-phi5.reg2mem br label LBL_3 LBL_2: %6 = load i64, i64* @gv_1, align 8 %7 = add i64 %arg3, 1 %8 = inttoptr i64 %6 to i64* store i64 %7, i64* %8, align 8 %9 = load i64, i64* @gv_1, align 8 %10 = add i64 %1, %arg3 %11 = add i64 %9, 16 %12 = inttoptr i64 %11 to i64* store i64 %10, i64* %12, align 8 %13 = load i64, i64* @gv_1, align 8 %14 = add i64 %13, 24 %15 = inttoptr i64 %14 to i32* store i32 0, i32* %15, align 4 %16 = load i64, i64* @gv_1, align 8 %17 = add i64 %16, 8 %18 = inttoptr i64 %17 to i32* store i32 0, i32* %18, align 4 store i64 %7, i64* %.pre-phi5.reg2mem br label LBL_3 LBL_3: %.pre-phi5.reload = load i64, i64* %.pre-phi5.reg2mem %19 = call i64 @FUNC(i64 %arg3, i64 %.pre-phi5.reload) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, -1 store i64 %19, i64* %rax.0.reg2mem br i1 %21, label LBL_9, label LBL_4 LBL_4: %22 = load i64, i64* @gv_2, align 8 %23 = inttoptr i64 %22 to i64* store i64 %arg3, i64* %23, align 8 %24 = icmp slt i64 %arg2, %arg1 store i64 %arg2, i64* %sv_1.12.reg2mem store i64 %arg1, i64* %sv_0.21.reg2mem br i1 %24, label LBL_8, label LBL_5 LBL_5: %sv_0.21.reload = load i64, i64* %sv_0.21.reg2mem %sv_1.12.reload = load i64, i64* %sv_1.12.reg2mem %25 = call i64 @FUNC(i64 %sv_0.21.reload) %26 = call i64 @FUNC(i64 %25) %27 = icmp eq i64 %26, 0 br i1 %27, label LBL_7, label LBL_6 LBL_6: %28 = load i64, i64* @gv_2, align 8 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = call i64 @FUNC(i64 %30, i64 %26, i64 0, i64 0) %32 = call i64 @FUNC(i64 %26) br label LBL_7 LBL_7: %33 = icmp eq i64 %sv_0.21.reload, %arg3 %34 = icmp eq i1 %33, false %.pre = load i64, i64* @gv_2, align 8 %.phi.trans.insert = inttoptr i64 %.pre to i64* %.pre3 = load i64, i64* %.phi.trans.insert, align 8 %sv_0.21..pre3 = select i1 %34, i64 %sv_0.21.reload, i64 %.pre3 %35 = add i64 %sv_0.21..pre3, 1 %36 = icmp sgt i64 %35, %.pre3 %37 = add i64 %sv_0.21..pre3, 2 %spec.select = select i1 %36, i64 %37, i64 %35 %38 = icmp sgt i64 %sv_1.12.reload, %.pre3 %39 = zext i1 %38 to i64 %sv_1.0 = add i64 %sv_1.12.reload, %39 %40 = add i64 %.pre3, 1 store i64 %40, i64* %.phi.trans.insert, align 8 %41 = icmp sgt i64 %spec.select, %sv_1.0 store i64 %sv_1.0, i64* %sv_1.12.reg2mem store i64 %spec.select, i64* %sv_0.21.reg2mem br i1 %41, label LBL_8, label LBL_5 LBL_8: %42 = call i64 @FUNC(i64 %arg3, i64 %1) %43 = call i64 @FUNC(i64 %1) store i64 %43, 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 %sv_0.21..pre3, { 1, 0 } uselistorder i64 %26, { 1, 0, 2 } uselistorder i64 %sv_1.12.reload, { 1, 0 } uselistorder i64 %sv_0.21.reload, { 2, 0, 1 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %sv_1.12.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.21.reg2mem, { 2, 0, 1 } uselistorder i32 0, { 0, 2, 3, 1 } uselistorder i64 %arg3, { 4, 3, 5, 6, 0, 2, 1 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
btrfs_try_spin_lock_4184
btrfs_try_spin_lock
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i32 %0 = ptrtoint i32* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 1, i64 %0) %3 = trunc i64 %2 to i8 %4 = icmp eq i8 %3, 1 store i64 1, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_5 LBL_1: %5 = add i64 %0, 4 %6 = call i64 @FUNC(i64 %5) store i32 1, i32* %storemerge2.reg2mem br label LBL_2 LBL_2: %7 = call i64 @FUNC() %8 = call i64 @FUNC(i64 %0) %9 = trunc i64 %8 to i8 %10 = icmp eq i8 %9, 1 %11 = icmp eq i1 %10, false store i64 0, i64* %rax.0.reg2mem br i1 %11, label LBL_5, label LBL_3 LBL_3: %12 = call i64 @FUNC(i64 %0) %13 = call i64 @FUNC(i64 1, i64 %0) %14 = trunc i64 %13 to i8 %15 = icmp eq i8 %14, 1 store i64 1, i64* %rax.0.reg2mem br i1 %15, label LBL_4, label LBL_5 LBL_4: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %16 = call i64 @FUNC(i64 %5) %17 = icmp ult i32 %storemerge2.reload, 2 store i32 2, i32* %storemerge2.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %17, label LBL_2, label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 1, 0, 2, 3, 4, 5 } uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2, 4 } uselistorder i64 (i64)* @spin_unlock, { 1, 0 } uselistorder i64 (i64, i64)* @test_bit, { 1, 0 } uselistorder i64 1, { 0, 2, 1, 3 } uselistorder i64 (i64)* @spin_nested, { 1, 0 } uselistorder label LBL_5, { 0, 2, 1, 3 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
png_check_chunk_length_11283
png_check_chunk_length
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i32 %.off = add i32 %3, -1 %4 = icmp ult i32 %.off, 2147483646 %sv_0.0 = select i1 %4, i32 %3, i32 2147483647 %5 = icmp slt i32 %sv_0.0, 0 %6 = icmp eq i1 %5, false %spec.select = select i1 %6, i32 %sv_0.0, i32 2147483647 %7 = add i64 %2, 4 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = icmp eq i32 %9, 1229209940 %11 = icmp eq i1 %10, false store i32 %spec.select, i32* %sv_0.2.reg2mem br i1 %11, label LBL_2, label LBL_1 LBL_1: %12 = add i64 %2, 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = add i64 %2, 24 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = mul i64 %17, %14 %19 = add i64 %2, 32 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = icmp slt i32 %21, 9 %. = select i1 %22, i64 1, i64 2 %23 = mul i64 %18, %. %24 = add i64 %2, 36 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = icmp eq i32 %26, 0 %storemerge5 = select i1 %27, i64 0, i64 6 %28 = add i64 %23, 1 %29 = add i64 %28, %storemerge5 %30 = add i64 %2, 16 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = udiv i64 4294967295, %29 %34 = icmp ugt i64 %32, %33 %35 = trunc i64 %29 to i32 %36 = trunc i64 %32 to i32 %37 = mul i32 %35, %36 %sext7 = mul i64 %29, 4294967296 %38 = ashr exact i64 %sext7, 32 %39 = icmp ult i64 %38, 32566 %40 = select i1 %39, i64 %38, i64 32566 %.lhs.trunc = select i1 %34, i32 2147483647, i32 %37 %.rhs.trunc = trunc i64 %40 to i32 %41 = udiv i32 %.lhs.trunc, %.rhs.trunc %42 = mul i32 %41, 5 %43 = add i32 %42, 11 %44 = add i32 %43, %.lhs.trunc %45 = icmp sgt i32 %44, -1 %46 = select i1 %45, i32 %44, i32 2147483647 %47 = icmp ult i32 %spec.select, %46 %48 = icmp eq i1 %47, false %49 = select i1 %48, i32 %spec.select, i32 %46 store i32 %49, i32* %sv_0.2.reg2mem br label LBL_2 LBL_2: %sext = mul i64 %arg2, 4294967296 %50 = ashr exact i64 %sext, 32 %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %51 = and i64 %50, 4294967295 %52 = trunc i64 %50 to i32 %53 = icmp ult i32 %sv_0.2.reload, %52 store i64 %51, i64* %rax.0.reg2mem br i1 %53, label LBL_3, label LBL_4 LBL_3: %54 = zext i32 %sv_0.2.reload to i64 %55 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i64 %51, i64 %54) %56 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0)) store i64 %56, 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 %51, { 1, 0 } uselistorder i64 %50, { 1, 0 } uselistorder i32 %46, { 1, 0 } uselistorder i32 %44, { 1, 0 } uselistorder i32 %.lhs.trunc, { 1, 0 } uselistorder i64 %38, { 1, 0 } uselistorder i64 %29, { 0, 2, 1 } uselistorder i32 %spec.select, { 1, 2, 0 } uselistorder i64 %2, { 3, 0, 1, 2, 5, 6, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i64 4294967296, { 1, 0 } uselistorder i64 32, { 1, 0, 2 } uselistorder i32 2147483647, { 3, 0, 1, 2 } uselistorder i32 -1, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
superh_cpu_class_init_14311
superh_cpu_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* store i64 4198669, i64* %arg1, align 8 %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i64* store i64 4198683, i64* %4, align 8 %5 = add i64 %0, 24 %6 = inttoptr i64 %5 to i64* store i64 4198690, i64* %6, align 8 %7 = add i64 %0, 32 %8 = inttoptr i64 %7 to i64* store i64 4198697, i64* %8, align 8 %9 = add i64 %0, 40 %10 = inttoptr i64 %9 to i64* store i64 4198704, i64* %10, align 8 %11 = add i64 %0, 48 %12 = inttoptr i64 %11 to i64* store i64 4198711, i64* %12, align 8 %13 = add i64 %0, 56 %14 = inttoptr i64 %13 to i64* store i64 4198718, i64* %14, align 8 %15 = add i64 %0, 64 %16 = inttoptr i64 %15 to i64* store i64 4198725, i64* %16, align 8 %17 = add i64 %0, 72 %18 = inttoptr i64 %17 to i64* store i64 4198732, i64* %18, align 8 %19 = add i64 %0, 88 %20 = inttoptr i64 %19 to i64* store i64 4198746, i64* %20, align 8 %21 = add i64 %0, 96 %22 = inttoptr i64 %21 to i64* store i64 4198753, i64* %22, align 8 %23 = add i64 %0, 104 %24 = inttoptr i64 %23 to i32* store i32 59, i32* %24, align 4 store i64 ptrtoint (i64* @gv_0 to i64), i64* %2, align 8 %25 = inttoptr i64 %3 to i8* store i8 1, i8* %25, align 1 ret i64 %0 }
1
BinRealVul
clk_fetch_parent_index_4075
clk_fetch_parent_index
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i32 %storemerge5.reg2mem = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = icmp eq i64* %arg2, null %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 0 %or.cond = or i1 %2, %4 store i32 -22, i32* %rax.0.shrunk.reg2mem br i1 %or.cond, label LBL_7, label LBL_1 LBL_1: %5 = ptrtoint i64* %arg2 to i64 %6 = ptrtoint i32* %arg1 to i64 %7 = add i64 %6, 8 %8 = inttoptr i64 %7 to i64* %9 = add i64 %5, 24 %10 = inttoptr i64 %9 to i64* %11 = add i64 %6, 16 %12 = inttoptr i64 %11 to i64* %13 = and i64 %1, 4294967295 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge5.reg2mem br label LBL_2 LBL_2: %storemerge5.reload = load i32, i32* %storemerge5.reg2mem %.reload = load i64, i64* %.reg2mem %14 = load i64, i64* %8, align 8 %15 = mul i64 %.reload, 8 %16 = add i64 %14, %15 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = icmp eq i64 %18, %5 %20 = icmp eq i1 %19, false store i32 %storemerge5.reload, i32* %rax.0.shrunk.reg2mem br i1 %20, label LBL_3, label LBL_7 LBL_3: %21 = icmp eq i64 %18, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_6, label LBL_4 LBL_4: %23 = load i64, i64* %10, align 8 %24 = load i64, i64* %12, align 8 %25 = add i64 %24, %15 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = inttoptr i64 %27 to i8* %29 = inttoptr i64 %23 to i8* %30 = call i32 @strcmp(i8* %28, i8* %29) %31 = icmp eq i32 %30, 0 %32 = icmp eq i1 %31, false br i1 %32, label LBL_6, label LBL_5 LBL_5: %33 = load i64, i64* %10, align 8 %34 = load i64, i64* %8, align 8 %35 = add i64 %34, %15 %36 = call i64 @FUNC(i64 %33) %37 = inttoptr i64 %35 to i64* store i64 %36, i64* %37, align 8 store i32 %storemerge5.reload, i32* %rax.0.shrunk.reg2mem br label LBL_7 LBL_6: %38 = add i32 %storemerge5.reload, 1 %39 = sext i32 %38 to i64 %40 = icmp sgt i64 %13, %39 store i64 %39, i64* %.reg2mem store i32 %38, i32* %storemerge5.reg2mem store i32 -22, i32* %rax.0.shrunk.reg2mem br i1 %40, label LBL_2, label LBL_7 LBL_7: %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem %rax.0 = zext i32 %rax.0.shrunk.reload to i64 ret i64 %rax.0 uselistorder i64 %18, { 1, 0 } uselistorder i64 %15, { 2, 1, 0 } uselistorder i32 %storemerge5.reload, { 2, 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge5.reg2mem, { 1, 0, 2 } uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 2, 4, 1, 3 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_7, { 1, 3, 0, 2 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
i82801b11_bridge_class_init_2171
i82801b11_bridge_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 4 %2 = inttoptr i64 %1 to i16* store i16 -32634, i16* %2, align 2 %3 = add i64 %0, 6 %4 = inttoptr i64 %3 to i16* store i16 10176, i16* %4, align 2 %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i8* store i8 2, i8* %6, align 1 %7 = add i64 %0, 16 %8 = inttoptr i64 %7 to i64* store i64 4198704, i64* %8, align 8 %9 = add i64 %0, 24 %10 = inttoptr i64 %9 to i64* store i64 4198711, i64* %10, align 8 store i64 ptrtoint (i64* @gv_0 to i64), i64* %arg1, align 8 %11 = call i64 @FUNC(i64 0, i64 %5) ret i64 %11 }
0
BinRealVul
smcr_link_clear_13154
smcr_link_clear
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 16 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp eq i64 %3, 0 store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_4, label LBL_1 LBL_1: %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = icmp eq i32 %7, 0 store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_4, label LBL_2 LBL_2: %9 = urem i64 %arg2, 256 %10 = add i64 %0, 12 %11 = inttoptr i64 %10 to i32* store i32 0, i32* %11, align 4 %12 = call i64 @FUNC(i64 %0, i64 %9) %13 = call i64 @FUNC(i64 %0) %14 = call i64 @FUNC(i64 %0) %15 = call i64 @FUNC(i64 %0) %16 = call i64 @FUNC(i64 %0) %17 = call i64 @FUNC(i64 %0) %18 = call i64 @FUNC(i64 %0) %19 = call i64 @FUNC(i64 %0) %20 = call i64 @FUNC(i64 %0) %21 = call i64 @FUNC(i64 %0) %22 = call i64* @memset(i64* %arg1, i32 0, i32 24) store i32 0, i32* %6, align 4 %23 = call i64 @FUNC(i64 %5) %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, 0 %26 = icmp eq i1 %25, false store i64 %23, i64* %rax.0.reg2mem br i1 %26, label LBL_4, label LBL_3 LBL_3: %27 = call i64 @FUNC(i64 %10) store i64 %27, 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 %0, { 3, 4, 2, 1, 0, 9, 8, 7, 6, 5, 10, 11, 12 } uselistorder i32 0, { 1, 2, 0, 3, 4 } uselistorder label LBL_4, { 2, 3, 1, 0 } }
1
BinRealVul
xmlStrncat_4391
xmlStrncat
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64 %arg2, 0 store i64 %arg1, i64* %rax.0.reg2mem br i1 %0, label LBL_9, label LBL_1 LBL_1: %sext = mul i64 %arg3, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false store i64 %arg1, i64* %rax.0.reg2mem br i1 %4, label LBL_2, label LBL_9 LBL_2: %5 = icmp slt i32 %2, 0 %6 = icmp eq i1 %5, false store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_3, label LBL_9 LBL_3: %7 = icmp eq i64 %arg1, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_5, label LBL_4 LBL_4: %9 = and i64 %1, 4294967295 %10 = call i64 @FUNC(i64 %arg2, i64 %9) store i64 %10, i64* %rax.0.reg2mem br label LBL_9 LBL_5: %11 = call i64 @FUNC(i64 %arg1) %12 = trunc i64 %11 to i32 %13 = icmp slt i32 %12, 0 %14 = icmp eq i1 %13, false store i64 0, i64* %rax.0.reg2mem br i1 %14, label LBL_6, label LBL_9 LBL_6: %15 = add i64 %11, %1 %16 = mul i64 %15, 4294967296 %sext2 = add i64 %16, 4294967296 %17 = ashr exact i64 %sext2, 32 %18 = call i64 @FUNC(i64 %arg1, i64 %17) %19 = icmp eq i64 %18, 0 %20 = icmp eq i1 %19, false br i1 %20, label LBL_8, label LBL_7 LBL_7: %21 = call i64 @FUNC(i64 0, i64 0) store i64 %arg1, i64* %rax.0.reg2mem br label LBL_9 LBL_8: %sext3 = mul i64 %11, 4294967296 %22 = ashr exact i64 %sext3, 32 %23 = add i64 %18, %22 %24 = inttoptr i64 %23 to i64* %25 = inttoptr i64 %arg2 to i64* %26 = call i64* @memcpy(i64* %24, i64* %25, i32 %2) %27 = ashr exact i64 %16, 32 %28 = add i64 %18, %27 %29 = inttoptr i64 %28 to i8* store i8 0, i8* %29, align 1 store i64 %18, 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 %16, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 7, 6, 1, 5, 2, 4, 3 } uselistorder i8 0, { 1, 2, 0 } uselistorder i64 4294967296, { 0, 4, 1, 2, 3 } uselistorder i32 1, { 0, 2, 1 } uselistorder i64 %arg2, { 1, 0, 2 } uselistorder i64 %arg1, { 2, 3, 5, 4, 1, 0 } uselistorder label LBL_9, { 4, 5, 0, 6, 1, 3, 2 } }
0
BinRealVul
fuse_inode_uncached_io_start_6457
fuse_inode_uncached_io_start
define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i32* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = icmp eq i32* %arg2, null %4 = icmp eq i64 %2, 0 %or.cond = or i1 %3, %4 %5 = ptrtoint i32* %arg2 to i64 %6 = icmp eq i64 %2, %5 %or.cond5 = or i1 %6, %or.cond store i64 4294967280, i64* %sv_0.0.reg2mem br i1 %or.cond5, label LBL_1, label LBL_5 LBL_1: %7 = add i64 %0, 4 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = icmp slt i32 %9, 1 store i64 4294967270, i64* %sv_0.0.reg2mem br i1 %10, label LBL_2, label LBL_5 LBL_2: %11 = add i32 %9, -1 store i32 %11, i32* %8, align 4 %12 = icmp eq i1 %4, false %or.cond7 = or i1 %3, %12 br i1 %or.cond7, label LBL_4, label LBL_3 LBL_3: %13 = call i64 @FUNC(i64 %0, i64 %5) %14 = icmp eq i64 %13, 0 %15 = icmp eq i1 %14, false %16 = zext i1 %15 to i64 %17 = call i64 @FUNC(i64 %16) store i64 0, i64* %sv_0.0.reg2mem br label LBL_5 LBL_4: %18 = call i64 @FUNC(i64 %5) store i64 0, i64* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %19 = call i64 @FUNC(i64 %0) ret i64 %sv_0.0.reload uselistorder i64* %sv_0.0.reg2mem, { 0, 4, 3, 1, 2 } uselistorder i1 false, { 1, 0 } uselistorder label LBL_5, { 2, 3, 0, 1 } }
0
BinRealVul
nvmet_fc_remove_port_9702
nvmet_fc_remove_port
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = call i64 @FUNC(i64* nonnull @gv_0, i64 %1) %3 = icmp eq i64* %arg1, @gv_0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_1, label LBL_2 LBL_1: %5 = call i64 @FUNC(i64* nonnull @gv_0, i64 %1) store i64 %5, i64* %rax.0.reg2mem br label LBL_3 LBL_2: %6 = ptrtoint i64* %arg1 to i64 store i64 0, i64* %arg1, align 8 %7 = call i64 @FUNC(i64* nonnull @gv_0, i64 %1) %8 = call i64 @FUNC(i64 %6) store i64 %8, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %1, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i64 (i64*, i64)* @spin_unlock_irqrestore, { 1, 0 } uselistorder i64* @gv_0, { 2, 0, 1, 3 } uselistorder i64* %arg1, { 0, 2, 1 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
gss_destroy_nullcred_18303
gss_destroy_nullcred
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = add i64 %arg1, 16 %1 = inttoptr i64 %0 to i64* %2 = load i64, i64* %1, align 8 store i64 0, i64* %1, align 8 %3 = add i64 %arg1, 8 %4 = call i64 @FUNC(i64 %3, i64 4198732) %5 = icmp eq i64 %2, 0 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %2) br label LBL_2 LBL_2: %7 = call i64 @FUNC(i64 %arg1) ret i64 %7 }
1
BinRealVul
socket_dgram_13970
socket_dgram
define i64 @FUNC(i32* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg3 to i64 %3 = call i64 @FUNC(i64* nonnull @gv_0) %4 = trunc i64 %1 to i32 %5 = icmp eq i32 %4, 1 %6 = icmp eq i1 %5, false br i1 %6, label LBL_4, label LBL_1 LBL_1: %7 = ptrtoint i32* %arg1 to i64 %8 = add i64 %7, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i64 %12) %14 = load i64, i64* %9, align 8 %15 = add i64 %14, 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0), i64 %17) %19 = icmp eq i64* %arg2, null br i1 %19, label LBL_3, label LBL_2 LBL_2: %20 = ptrtoint i64* %arg2 to i64 %21 = add i64 %20, 8 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_3, i64 0, i64 0), i64 %25) %27 = load i64, i64* %22, align 8 %28 = add i64 %27, 8 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_4, i64 0, i64 0), i64 %30) br label LBL_3 LBL_3: %32 = call i64 @FUNC(i64 %3, i64 %2) %33 = call i64 @FUNC(i64 %3) %34 = and i64 %32, 4294967295 store i64 %34, i64* %storemerge.reg2mem br label LBL_5 LBL_4: %35 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_5, i64 0, i64 0)) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %3, { 3, 2, 0, 1, 4, 5 } uselistorder i64 %2, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i8*, i64)* @qemu_opt_set, { 3, 2, 1, 0 } uselistorder i64* %arg2, { 1, 0 } }
1
BinRealVul
nvme_identify_ns_2746
nvme_identify_ns
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg2 to i64 %4 = and i64 %2, 4294967295 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %5 to i32 %7 = add i64 %3, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %9) %11 = add i64 %3, 16 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = call i64 @FUNC(i64 %13) %15 = and i64 %5, 4294967295 %16 = call i64 @FUNC(i64 %15) %17 = icmp eq i32 %6, 0 %18 = icmp eq i1 %17, false %19 = icmp eq i1 %18, false br i1 %19, label LBL_2, label LBL_1 LBL_1: %20 = trunc i64 %1 to i32 %21 = icmp uge i32 %20, %6 %22 = icmp ne i1 %21, true %23 = icmp eq i1 %22, false br i1 %23, label LBL_3, label LBL_2 LBL_2: %24 = and i64 %1, 4294967295 %25 = call i64 @FUNC(i64 %15, i64 %24) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_4 LBL_3: %26 = ptrtoint i32* %arg1 to i64 %27 = add i64 %26, 8 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = mul i64 %5, 2 %31 = add i64 %30, 8589934590 %32 = and i64 %31, 8589934590 %33 = add i64 %29, %32 %34 = call i64 @FUNC(i64 %26, i64 %33, i64 2, i64 %10, i64 %14) store i64 %34, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %3, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 8589934590, { 1, 0 } uselistorder i64 2, { 1, 0 } uselistorder i1 false, { 0, 2, 1 } uselistorder i64 (i64)* @le64_to_cpu, { 1, 0 } uselistorder i64 4294967295, { 0, 1, 3, 2, 4 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
cvs_client_removed_17467
cvs_client_removed
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %2 = call i64 @FUNC() %3 = inttoptr i64 %2 to i8* %4 = call i8* @strrchr(i8* %3, i32 47) %5 = icmp eq i8* %4, null %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_0, i64 0, i64 0), i64 %2) unreachable LBL_2: %8 = ptrtoint i8* %4 to i64 %9 = add i64 %8, 1 %10 = call i64 @FUNC(i64 %arg1) %11 = call i64 @FUNC(i64 %10, i64 %9) %12 = call i64 @FUNC(i64 %10, i64 1) %13 = call i64 @FUNC(i64* nonnull %sv_0, i64 1024, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i64 %arg1, i64 %9, i64 %1) %14 = bitcast i64* %sv_0 to i8* %15 = call i32 @unlink(i8* nonnull %14) %16 = call i64 @FUNC(i64 %2) ret i64 %16 uselistorder i8* %4, { 1, 0 } uselistorder i64 %2, { 1, 0, 2 } uselistorder i32 1, { 5, 3, 6, 2, 0, 1, 4 } uselistorder i64 %arg1, { 1, 0 } }
1
BinRealVul
impeg2d_next_code_12222
impeg2d_next_code
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = call i64 @FUNC(i64 %2, i64 32) %5 = trunc i64 %arg2 to i32 %6 = trunc i64 %4 to i32 %7 = icmp eq i32 %5, %6 store i64 %4, i64* %rax.0.reg2mem br i1 %7, label LBL_5, label LBL_1 LBL_1: %8 = trunc i64 %1 to i32 %9 = add i64 %2, 4 %10 = inttoptr i64 %9 to i32* br label LBL_3 LBL_2: %11 = call i64 @FUNC(i64 %2, i64 8) %12 = call i64 @FUNC(i64 %2, i64 32) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %5, %13 store i64 %12, i64* %rax.0.reg2mem br i1 %14, label LBL_5, label LBL_3 LBL_3: %15 = load i32, i32* %10, align 4 %16 = icmp ult i32 %15, %8 br i1 %16, label LBL_3.LBL_5_crit_edge, label LBL_2 LBL_4: %17 = zext i32 %15 to i64 store i64 %17, 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 i32 %5, { 1, 0 } uselistorder i64 %2, { 3, 1, 2, 0, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 (i64, i64)* @impeg2d_bit_stream_nxt, { 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder label LBL_5, { 1, 0, 2 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
opj_pi_next_cprl_7765
opj_pi_next_cprl
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge12.reg2mem = alloca i64 %.reg2mem52 = alloca i32 %sv_0.5.reg2mem = alloca i32* %.reg2mem50 = alloca i32 %sv_0.4.reg2mem = alloca i32* %.reg2mem48 = alloca i32 %sv_0.3.reg2mem = alloca i32* %.pre-phi23.reg2mem = alloca i64 %.reg2mem46 = alloca i32 %sv_0.2.reg2mem = alloca i32* %.pre-phi33.reg2mem = alloca i64 %.pre-phi35.reg2mem = alloca i32* %sv_0.1.reg2mem = alloca i32* %.pre-phi24.reg2mem = alloca i64 %.reg2mem44 = alloca i32 %sv_0.0.reg2mem = alloca i32* %.pre-phi25.reg2mem = alloca i64 %.pre-phi27.reg2mem = alloca i32* %.reg2mem42 = alloca i32 %.pre-phi31.reg2mem = alloca i32* %storemerge3.reg2mem = alloca i64 %storemerge4.reg2mem = alloca i64 %.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i8 %4 = icmp eq i8 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = add i64 %2, 56 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = add i64 %2, 4 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = zext i32 %11 to i64 %13 = mul nuw nsw i64 %12, 24 %14 = add i64 %13, %8 %15 = inttoptr i64 %14 to i32* %.pre = add i64 %2, 28 %.pre26 = inttoptr i64 %.pre to i32* %.pre41 = load i32, i32* %.pre26, align 4 store i32 %.pre41, i32* %.reg2mem42 store i32* %.pre26, i32** %.pre-phi27.reg2mem store i64 %.pre, i64* %.pre-phi25.reg2mem store i32* %15, i32** %sv_0.0.reg2mem br label LBL_27 LBL_2: %16 = bitcast i64* %arg1 to i8* store i8 0, i8* %16, align 1 %17 = add i64 %2, 64 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = add i64 %2, 4 %21 = inttoptr i64 %20 to i32* store i32 %19, i32* %21, align 4 store i32 %19, i32* %.reg2mem52 br label LBL_37 LBL_3: %22 = add i64 %2, 56 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = zext i32 %.reload53 to i64 %26 = mul nuw nsw i64 %25, 24 %27 = add i64 %24, %26 %28 = inttoptr i64 %27 to i32* %29 = add i64 %2, 8 %30 = inttoptr i64 %29 to i32* store i32 0, i32* %30, align 4 %31 = add i64 %2, 12 %32 = inttoptr i64 %31 to i32* store i32 0, i32* %32, align 4 %33 = load i32, i32* %28, align 4 %34 = icmp eq i32 %33, 0 br i1 %34, label LBL_10, label LBL_4 LBL_4: %35 = add i64 %27, 16 %36 = inttoptr i64 %35 to i64* %37 = add i64 %27, 4 %38 = inttoptr i64 %37 to i32* %39 = add i64 %27, 8 %40 = inttoptr i64 %39 to i32* store i64 0, i64* %indvars.iv.reg2mem store i32 %33, i32* %.reg2mem br label LBL_5 LBL_5: %.reload = load i32, i32* %.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %41 = load i64, i64* %36, align 8 %42 = mul i64 %indvars.iv.reload, 16 %43 = add i64 %41, %42 %44 = inttoptr i64 %43 to i32* %45 = load i32, i32* %38, align 4 %46 = load i32, i32* %44, align 4 %47 = trunc i64 %indvars.iv.reload to i32 %48 = xor i32 %47, 31 %49 = add i32 %48, %.reload %50 = add i32 %46, %49 %51 = urem i32 %50, 32 %52 = shl i32 %45, %51 %53 = load i32, i32* %40, align 4 %54 = add i64 %43, 4 %55 = inttoptr i64 %54 to i32* %56 = load i32, i32* %55, align 4 %57 = load i32, i32* %30, align 4 %58 = icmp eq i32 %57, 0 %59 = zext i32 %52 to i64 store i64 %59, i64* %storemerge4.reg2mem br i1 %58, label LBL_7, label LBL_6 LBL_6: %60 = zext i32 %57 to i64 %61 = call i64 @FUNC(i64 %60, i64 %59) store i64 %61, i64* %storemerge4.reg2mem br label LBL_7 LBL_7: %62 = add i32 %56, %49 %63 = urem i32 %62, 32 %64 = shl i32 %53, %63 %storemerge4.reload = load i64, i64* %storemerge4.reg2mem %65 = trunc i64 %storemerge4.reload to i32 store i32 %65, i32* %30, align 4 %66 = load i32, i32* %32, align 4 %67 = icmp eq i32 %66, 0 %68 = zext i32 %64 to i64 store i64 %68, i64* %storemerge3.reg2mem br i1 %67, label LBL_9, label LBL_8 LBL_8: %69 = zext i32 %66 to i64 %70 = call i64 @FUNC(i64 %69, i64 %68) store i64 %70, i64* %storemerge3.reg2mem br label LBL_9 LBL_9: %storemerge3.reload = load i64, i64* %storemerge3.reg2mem %71 = trunc i64 %storemerge3.reload to i32 store i32 %71, i32* %32, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %72 = load i32, i32* %28, align 4 %73 = zext i32 %72 to i64 %74 = icmp ult i64 %indvars.iv.next, %73 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %72, i32* %.reg2mem br i1 %74, label LBL_5, label LBL_10 LBL_10: %75 = add i64 %2, 52 %76 = inttoptr i64 %75 to i8* %77 = load i8, i8* %76, align 1 %78 = icmp eq i8 %77, 0 %79 = icmp eq i1 %78, false br i1 %79, label LBL_10.LBL_13_crit_edge, label LBL_12 LBL_11: %.pre28 = add i64 %2, 72 %.pre30 = inttoptr i64 %.pre28 to i32* store i32* %.pre30, i32** %.pre-phi31.reg2mem br label LBL_13 LBL_12: %80 = add i64 %2, 116 %81 = inttoptr i64 %80 to i32* %82 = load i32, i32* %81, align 4 %83 = add i64 %2, 72 %84 = inttoptr i64 %83 to i32* store i32 %82, i32* %84, align 4 %85 = add i64 %2, 112 %86 = inttoptr i64 %85 to i32* %87 = load i32, i32* %86, align 4 %88 = add i64 %2, 80 %89 = inttoptr i64 %88 to i32* store i32 %87, i32* %89, align 4 %90 = add i64 %2, 124 %91 = inttoptr i64 %90 to i32* %92 = load i32, i32* %91, align 4 %93 = add i64 %2, 76 %94 = inttoptr i64 %93 to i32* store i32 %92, i32* %94, align 4 %95 = add i64 %2, 120 %96 = inttoptr i64 %95 to i32* %97 = load i32, i32* %96, align 4 %98 = add i64 %2, 84 %99 = inttoptr i64 %98 to i32* store i32 %97, i32* %99, align 4 store i32* %84, i32** %.pre-phi31.reg2mem br label LBL_13 LBL_13: %.pre-phi31.reload = load i32*, i32** %.pre-phi31.reg2mem %100 = load i32, i32* %.pre-phi31.reload, align 4 %101 = add i64 %2, 20 %102 = inttoptr i64 %101 to i32* store i32 %100, i32* %102, align 4 store i32 %100, i32* %.reg2mem50 store i32* %28, i32** %sv_0.5.reg2mem br label LBL_35 LBL_14: %sv_0.5.reload = load i32*, i32** %sv_0.5.reg2mem %103 = add i64 %2, 80 %104 = inttoptr i64 %103 to i32* %105 = load i32, i32* %104, align 4 %106 = add i64 %2, 16 %107 = inttoptr i64 %106 to i32* store i32 %105, i32* %107, align 4 store i32 %105, i32* %.reg2mem48 store i32* %sv_0.5.reload, i32** %sv_0.4.reg2mem br label LBL_33 LBL_15: %108 = add i64 %2, 88 %109 = inttoptr i64 %108 to i32* %110 = load i32, i32* %109, align 4 %111 = add i64 %2, 24 %112 = inttoptr i64 %111 to i32* store i32 %110, i32* %112, align 4 store i32 %110, i32* %.reg2mem46 store i64 %111, i64* %.pre-phi23.reg2mem store i32* %sv_0.4.reload, i32** %sv_0.3.reg2mem br label LBL_31 LBL_16: %.pre-phi23.reload = load i64, i64* %.pre-phi23.reg2mem %113 = inttoptr i64 %.pre-phi23.reload to i32* %114 = ptrtoint i32* %sv_0.3.reload to i64 %115 = add i64 %114, 16 %116 = inttoptr i64 %115 to i64* %117 = load i64, i64* %116, align 8 %118 = load i32, i32* %113, align 4 %119 = zext i32 %118 to i64 %120 = mul i64 %119, 16 %121 = add i64 %120, %117 %122 = inttoptr i64 %121 to i32* %123 = load i32, i32* %sv_0.3.reload, align 4 %124 = sub i32 0, %118 %125 = sub i32 %124, 1 %126 = add i32 %123, %125 %127 = add i64 %114, 4 %128 = inttoptr i64 %127 to i32* %129 = load i32, i32* %128, align 4 %130 = urem i32 %126, 32 %131 = icmp eq i32 %130, 0 %132 = shl i32 %129, %130 %rdx.2 = zext i32 %132 to i64 %133 = add i64 %2, 112 %134 = inttoptr i64 %133 to i32* %135 = load i32, i32* %134, align 4 %136 = zext i32 %135 to i64 %137 = call i64 @FUNC(i64 %136, i64 %rdx.2) %138 = add i64 %114, 8 %139 = inttoptr i64 %138 to i32* %140 = load i32, i32* %139, align 4 %141 = shl i32 %140, %130 %rdx.3 = zext i32 %141 to i64 %142 = add i64 %2, 116 %143 = inttoptr i64 %142 to i32* %144 = load i32, i32* %143, align 4 %145 = zext i32 %144 to i64 %146 = call i64 @FUNC(i64 %145, i64 %rdx.3) %147 = trunc i64 %146 to i32 %148 = load i32, i32* %128, align 4 %149 = shl i32 %148, %130 %rdx.4 = zext i32 %149 to i64 %150 = add i64 %2, 120 %151 = inttoptr i64 %150 to i32* %152 = load i32, i32* %151, align 4 %153 = zext i32 %152 to i64 %154 = call i64 @FUNC(i64 %153, i64 %rdx.4) %155 = load i32, i32* %139, align 4 %156 = shl i32 %155, %130 %rdx.5 = zext i32 %156 to i64 %157 = add i64 %2, 124 %158 = inttoptr i64 %157 to i32* %159 = load i32, i32* %158, align 4 %160 = zext i32 %159 to i64 %161 = call i64 @FUNC(i64 %160, i64 %rdx.5) %162 = load i32, i32* %122, align 4 %163 = add i64 %121, 4 %164 = inttoptr i64 %163 to i32* %165 = load i32, i32* %164, align 4 %166 = add i32 %165, %126 %167 = add i64 %2, 20 %168 = inttoptr i64 %167 to i32* %169 = load i32, i32* %168, align 4 %170 = load i32, i32* %139, align 4 %171 = urem i32 %166, 32 %172 = shl i32 %170, %171 %173 = urem i32 %169, %172 %174 = icmp eq i32 %173, 0 br i1 %174, label LBL_19, label LBL_17 LBL_17: %175 = load i32, i32* %143, align 4 %176 = icmp eq i32 %169, %175 %177 = icmp eq i1 %176, false store i32* %113, i32** %.pre-phi35.reg2mem store i64 %.pre-phi23.reload, i64* %.pre-phi33.reg2mem store i32* %sv_0.3.reload, i32** %sv_0.2.reg2mem br i1 %177, label LBL_30, label LBL_18 LBL_18: %178 = and i64 %146, 4294967295 %179 = shl i32 %147, %130 %180 = zext i32 %179 to i64 %rdx.6 = select i1 %131, i64 %178, i64 %180 %181 = shl i32 1, %171 %storemerge9 = zext i32 %181 to i64 %182 = trunc i64 %rdx.6 to i32 %183 = ashr i32 %182, 31 %184 = zext i32 %183 to i64 %185 = mul i64 %184, 4294967296 %186 = or i64 %185, %rdx.6 %187 = srem i64 %186, %storemerge9 %188 = trunc i64 %187 to i32 %189 = icmp eq i32 %188, 0 store i32* %113, i32** %.pre-phi35.reg2mem store i64 %.pre-phi23.reload, i64* %.pre-phi33.reg2mem store i32* %sv_0.3.reload, i32** %sv_0.2.reg2mem br i1 %189, label LBL_30, label LBL_19 LBL_19: %190 = trunc i64 %137 to i32 %191 = add i32 %162, %126 %192 = add i64 %2, 16 %193 = inttoptr i64 %192 to i32* %194 = load i32, i32* %193, align 4 %195 = load i32, i32* %128, align 4 %196 = urem i32 %191, 32 %197 = shl i32 %195, %196 %198 = urem i32 %194, %197 %199 = icmp eq i32 %198, 0 br i1 %199, label LBL_22, label LBL_20 LBL_20: %200 = load i32, i32* %134, align 4 %201 = icmp eq i32 %194, %200 %202 = icmp eq i1 %201, false store i32* %113, i32** %.pre-phi35.reg2mem store i64 %.pre-phi23.reload, i64* %.pre-phi33.reg2mem store i32* %sv_0.3.reload, i32** %sv_0.2.reg2mem br i1 %202, label LBL_30, label LBL_21 LBL_21: %203 = and i64 %137, 4294967295 %204 = shl i32 %190, %130 %205 = zext i32 %204 to i64 %rdx.7 = select i1 %131, i64 %203, i64 %205 %206 = shl i32 1, %196 %storemerge11 = zext i32 %206 to i64 %207 = trunc i64 %rdx.7 to i32 %208 = ashr i32 %207, 31 %209 = zext i32 %208 to i64 %210 = mul i64 %209, 4294967296 %211 = or i64 %210, %rdx.7 %212 = srem i64 %211, %storemerge11 %213 = trunc i64 %212 to i32 %214 = icmp eq i32 %213, 0 store i32* %113, i32** %.pre-phi35.reg2mem store i64 %.pre-phi23.reload, i64* %.pre-phi33.reg2mem store i32* %sv_0.3.reload, i32** %sv_0.2.reg2mem br i1 %214, label LBL_30, label LBL_22 LBL_22: %215 = add i64 %121, 8 %216 = inttoptr i64 %215 to i32* %217 = load i32, i32* %216, align 4 %218 = icmp eq i32 %217, 0 store i32* %113, i32** %.pre-phi35.reg2mem store i64 %.pre-phi23.reload, i64* %.pre-phi33.reg2mem store i32* %sv_0.3.reload, i32** %sv_0.2.reg2mem br i1 %218, label LBL_30, label LBL_23 LBL_23: %219 = trunc i64 %154 to i32 %220 = trunc i64 %161 to i32 %221 = add i64 %121, 12 %222 = inttoptr i64 %221 to i32* %223 = load i32, i32* %222, align 4 %224 = icmp eq i32 %223, 0 %225 = icmp eq i32 %190, %219 %or.cond = or i1 %225, %224 %226 = icmp eq i32 %147, %220 %or.cond16 = or i1 %226, %or.cond store i32* %113, i32** %.pre-phi35.reg2mem store i64 %.pre-phi23.reload, i64* %.pre-phi33.reg2mem store i32* %sv_0.3.reload, i32** %sv_0.2.reg2mem br i1 %or.cond16, label LBL_30, label LBL_24 LBL_24: %227 = zext i32 %162 to i64 %228 = shl i32 %195, %130 %rdx.8 = zext i32 %228 to i64 %229 = zext i32 %194 to i64 %230 = call i64 @FUNC(i64 %229, i64 %rdx.8) %231 = and i64 %230, 4294967295 %232 = call i64 @FUNC(i64 %231, i64 %227) %233 = trunc i64 %232 to i32 %234 = load i32, i32* %122, align 4 %235 = zext i32 %234 to i64 %236 = and i64 %137, 4294967295 %237 = call i64 @FUNC(i64 %236, i64 %235) %238 = trunc i64 %237 to i32 %239 = sub i32 %233, %238 %240 = load i32, i32* %164, align 4 %241 = zext i32 %240 to i64 %242 = load i32, i32* %139, align 4 %243 = shl i32 %242, %130 %rdx.9 = zext i32 %243 to i64 %244 = load i32, i32* %168, align 4 %245 = zext i32 %244 to i64 %246 = call i64 @FUNC(i64 %245, i64 %rdx.9) %247 = and i64 %246, 4294967295 %248 = call i64 @FUNC(i64 %247, i64 %241) %249 = load i32, i32* %164, align 4 %250 = zext i32 %249 to i64 %251 = and i64 %146, 4294967295 %252 = call i64 @FUNC(i64 %251, i64 %250) %253 = sub i64 %248, %252 %254 = load i32, i32* %216, align 4 %255 = trunc i64 %253 to i32 %256 = mul i32 %254, %255 %257 = add i32 %239, %256 %258 = add i64 %2, 32 %259 = inttoptr i64 %258 to i32* store i32 %257, i32* %259, align 4 %260 = add i64 %2, 96 %261 = inttoptr i64 %260 to i32* %262 = load i32, i32* %261, align 4 %263 = add i64 %2, 28 %264 = inttoptr i64 %263 to i32* store i32 %262, i32* %264, align 4 store i32 %262, i32* %.reg2mem44 store i64 %263, i64* %.pre-phi24.reg2mem store i32* %sv_0.3.reload, i32** %sv_0.1.reg2mem br label LBL_28 LBL_25: %.pre-phi24.reload = load i64, i64* %.pre-phi24.reg2mem %265 = inttoptr i64 %.pre-phi24.reload to i32* %266 = add i64 %2, 36 %267 = inttoptr i64 %266 to i32* %268 = load i32, i32* %267, align 4 %269 = mul i32 %268, %.reload45 %270 = add i64 %2, 24 %271 = inttoptr i64 %270 to i32* %272 = load i32, i32* %271, align 4 %273 = add i64 %2, 40 %274 = inttoptr i64 %273 to i32* %275 = load i32, i32* %274, align 4 %276 = mul i32 %275, %272 %277 = add i64 %2, 32 %278 = inttoptr i64 %277 to i32* %279 = load i32, i32* %278, align 4 %280 = add i64 %2, 48 %281 = inttoptr i64 %280 to i32* %282 = load i32, i32* %281, align 4 %283 = mul i32 %282, %279 %284 = add i64 %2, 4 %285 = inttoptr i64 %284 to i32* %286 = load i32, i32* %285, align 4 %287 = add i64 %2, 44 %288 = inttoptr i64 %287 to i32* %289 = load i32, i32* %288, align 4 %290 = mul i32 %289, %286 %291 = add i32 %276, %269 %292 = add i32 %291, %283 %293 = add i32 %292, %290 %294 = add i64 %2, 104 %295 = inttoptr i64 %294 to i64* %296 = load i64, i64* %295, align 8 %297 = zext i32 %293 to i64 %298 = mul i64 %297, 4 %299 = add i64 %298, %296 %300 = inttoptr i64 %299 to i32* %301 = load i32, i32* %300, align 4 %302 = icmp eq i32 %301, 0 %303 = icmp eq i1 %302, false store i32 %.reload45, i32* %.reg2mem42 store i32* %265, i32** %.pre-phi27.reg2mem store i64 %.pre-phi24.reload, i64* %.pre-phi25.reg2mem store i32* %sv_0.1.reload, i32** %sv_0.0.reg2mem br i1 %303, label LBL_27, label LBL_26 LBL_26: store i32 1, i32* %300, align 4 store i64 1, i64* %storemerge12.reg2mem br label LBL_38 LBL_27: %sv_0.0.reload = load i32*, i32** %sv_0.0.reg2mem %.pre-phi25.reload = load i64, i64* %.pre-phi25.reg2mem %.pre-phi27.reload = load i32*, i32** %.pre-phi27.reg2mem %.reload43 = load i32, i32* %.reg2mem42 %304 = add i32 %.reload43, 1 store i32 %304, i32* %.pre-phi27.reload, align 4 store i32 %304, i32* %.reg2mem44 store i64 %.pre-phi25.reload, i64* %.pre-phi24.reg2mem store i32* %sv_0.0.reload, i32** %sv_0.1.reg2mem br label LBL_28 LBL_28: %sv_0.1.reload = load i32*, i32** %sv_0.1.reg2mem %.reload45 = load i32, i32* %.reg2mem44 %305 = add i64 %2, 100 %306 = inttoptr i64 %305 to i32* %307 = load i32, i32* %306, align 4 %308 = icmp ult i32 %.reload45, %307 br i1 %308, label LBL_25, label LBL_28.LBL_30_crit_edge LBL_29: %.pre32 = add i64 %2, 24 %.pre34 = inttoptr i64 %.pre32 to i32* store i32* %.pre34, i32** %.pre-phi35.reg2mem store i64 %.pre32, i64* %.pre-phi33.reg2mem store i32* %sv_0.1.reload, i32** %sv_0.2.reg2mem br label LBL_30 LBL_30: %sv_0.2.reload = load i32*, i32** %sv_0.2.reg2mem %.pre-phi33.reload = load i64, i64* %.pre-phi33.reg2mem %.pre-phi35.reload = load i32*, i32** %.pre-phi35.reg2mem %309 = load i32, i32* %.pre-phi35.reload, align 4 %310 = add i32 %309, 1 store i32 %310, i32* %.pre-phi35.reload, align 4 store i32 %310, i32* %.reg2mem46 store i64 %.pre-phi33.reload, i64* %.pre-phi23.reg2mem store i32* %sv_0.2.reload, i32** %sv_0.3.reg2mem br label LBL_31 LBL_31: %sv_0.3.reload = load i32*, i32** %sv_0.3.reg2mem %.reload47 = load i32, i32* %.reg2mem46 %311 = load i32, i32* %sv_0.3.reload, align 4 %312 = add i64 %2, 92 %313 = inttoptr i64 %312 to i32* %314 = load i32, i32* %313, align 4 %315 = zext i32 %311 to i64 %316 = zext i32 %314 to i64 %317 = call i64 @FUNC(i64 %316, i64 %315) %318 = trunc i64 %317 to i32 %319 = icmp ult i32 %.reload47, %318 br i1 %319, label LBL_16, label LBL_32 LBL_32: %320 = add i64 %2, 16 %321 = inttoptr i64 %320 to i32* %322 = load i32, i32* %321, align 4 %323 = add i64 %2, 8 %324 = inttoptr i64 %323 to i32* %325 = load i32, i32* %324, align 4 %326 = urem i32 %322, %325 %327 = add i32 %325, %322 %328 = sub i32 %327, %326 store i32 %328, i32* %321, align 4 store i32 %328, i32* %.reg2mem48 store i32* %sv_0.3.reload, i32** %sv_0.4.reg2mem br label LBL_33 LBL_33: %sv_0.4.reload = load i32*, i32** %sv_0.4.reg2mem %.reload49 = load i32, i32* %.reg2mem48 %329 = add i64 %2, 84 %330 = inttoptr i64 %329 to i32* %331 = load i32, i32* %330, align 4 %332 = icmp ult i32 %.reload49, %331 br i1 %332, label LBL_15, label LBL_34 LBL_34: %333 = add i64 %2, 20 %334 = inttoptr i64 %333 to i32* %335 = load i32, i32* %334, align 4 %336 = add i64 %2, 12 %337 = inttoptr i64 %336 to i32* %338 = load i32, i32* %337, align 4 %339 = urem i32 %335, %338 %340 = add i32 %338, %335 %341 = sub i32 %340, %339 store i32 %341, i32* %334, align 4 store i32 %341, i32* %.reg2mem50 store i32* %sv_0.4.reload, i32** %sv_0.5.reg2mem br label LBL_35 LBL_35: %.reload51 = load i32, i32* %.reg2mem50 %342 = add i64 %2, 76 %343 = inttoptr i64 %342 to i32* %344 = load i32, i32* %343, align 4 %345 = icmp ult i32 %.reload51, %344 br i1 %345, label LBL_14, label LBL_36 LBL_36: %346 = add i64 %2, 4 %347 = inttoptr i64 %346 to i32* %348 = load i32, i32* %347, align 4 %349 = add i32 %348, 1 store i32 %349, i32* %347, align 4 store i32 %349, i32* %.reg2mem52 br label LBL_37 LBL_37: %.reload53 = load i32, i32* %.reg2mem52 %350 = add i64 %2, 68 %351 = inttoptr i64 %350 to i32* %352 = load i32, i32* %351, align 4 %353 = icmp ult i32 %.reload53, %352 store i64 0, i64* %storemerge12.reg2mem br i1 %353, label LBL_3, label LBL_38 LBL_38: %storemerge12.reload = load i64, i64* %storemerge12.reg2mem ret i64 %storemerge12.reload uselistorder i32 %.reload53, { 1, 0 } uselistorder i32* %sv_0.3.reload, { 0, 1, 2, 3, 9, 10, 7, 8, 5, 6, 4 } uselistorder i32 %.reload45, { 1, 0, 2 } uselistorder i64 %.pre-phi24.reload, { 1, 0 } uselistorder i32 %196, { 1, 0 } uselistorder i32 %171, { 1, 0 } uselistorder i32 %162, { 1, 0 } uselistorder i1 %131, { 1, 0 } uselistorder i32 %130, { 6, 5, 7, 8, 4, 3, 2, 1, 0 } uselistorder i32 %126, { 2, 1, 0 } uselistorder i32* %113, { 4, 5, 2, 3, 0, 1, 6 } uselistorder i64 %.pre-phi23.reload, { 2, 1, 4, 3, 6, 5, 0 } uselistorder i64 %68, { 1, 0 } uselistorder i64 %59, { 1, 0 } uselistorder i32* %28, { 0, 2, 1 } uselistorder i64 %2, { 45, 36, 35, 32, 31, 30, 10, 9, 29, 0, 12, 11, 18, 19, 16, 17, 14, 15, 13, 21, 20, 22, 23, 24, 25, 26, 27, 28, 33, 34, 37, 38, 39, 4, 3, 6, 5, 8, 7, 41, 42, 1, 40, 43, 44, 46, 48, 47, 2, 49, 50 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge4.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge3.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem42, { 0, 2, 1 } uselistorder i32** %.pre-phi27.reg2mem, { 0, 2, 1 } uselistorder i64* %.pre-phi25.reg2mem, { 0, 2, 1 } uselistorder i32** %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %.pre-phi24.reg2mem, { 1, 0, 2 } uselistorder i32** %.pre-phi35.reg2mem, { 0, 7, 5, 6, 3, 4, 1, 2 } uselistorder i64* %.pre-phi33.reg2mem, { 0, 7, 5, 6, 3, 4, 1, 2 } uselistorder i32** %sv_0.2.reg2mem, { 0, 7, 5, 6, 3, 4, 1, 2 } uselistorder i64* %.pre-phi23.reg2mem, { 1, 0, 2 } uselistorder i32** %sv_0.5.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem52, { 0, 2, 1 } uselistorder i64 32, { 1, 0 } uselistorder i64 (i64, i64)* @opj_int_floordivpow2, { 3, 2, 1, 0 } uselistorder i64 4294967295, { 1, 5, 2, 6, 3, 4, 7, 8, 9, 10, 0, 11 } uselistorder i64 (i64, i64)* @opj_int_ceildiv, { 5, 4, 3, 2, 1, 0 } uselistorder i64 20, { 2, 1, 0 } uselistorder i64 84, { 1, 0 } uselistorder i64 120, { 1, 0 } uselistorder i64 76, { 1, 0 } uselistorder i64 124, { 1, 0 } uselistorder i64 80, { 1, 0 } uselistorder i64 112, { 1, 0 } uselistorder i64 116, { 1, 0 } uselistorder i64 72, { 1, 0 } uselistorder i64 (i64, i64)* @opj_uint_min, { 0, 2, 1 } uselistorder i32 31, { 1, 2, 0, 3 } uselistorder i64 16, { 6, 3, 0, 4, 5, 1, 2 } uselistorder i64 12, { 2, 1, 0 } uselistorder i32 0, { 13, 8, 9, 10, 2, 11, 3, 12, 0, 4, 5, 1, 6, 7, 14 } uselistorder i64 8, { 4, 2, 3, 0, 1 } uselistorder i64 28, { 1, 0 } uselistorder i64 24, { 0, 4, 3, 1, 2 } uselistorder i64 4, { 5, 0, 6, 3, 4, 1, 2, 7, 8 } uselistorder i1 false, { 3, 1, 2, 0, 4 } uselistorder label LBL_35, { 1, 0 } uselistorder label LBL_33, { 1, 0 } uselistorder label LBL_31, { 1, 0 } uselistorder label LBL_30, { 0, 2, 1, 4, 3, 6, 5 } uselistorder label LBL_28, { 1, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
ff_wmv2_idct_add_c_15376
ff_wmv2_idct_add_c
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = trunc i64 %arg2 to i32 %3 = call i64 @FUNC(i64 %0) %4 = call i64 @FUNC(i64 %0, i64 %1, i32 %2) ret i64 %4 }
1
BinRealVul
ecryptfs_generate_new_key_10648
ecryptfs_generate_new_key
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = call i64 @FUNC(i64 %0, i64 %3) %5 = add i64 %0, 16 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = or i32 %7, 1 store i32 %8, i32* %6, align 4 %9 = call i64 @FUNC(i64 %0) %10 = load i32, i32* inttoptr (i64 4210756 to i32*), align 4 %11 = icmp eq i32 %10, 0 %12 = icmp slt i32 %10, 0 %13 = icmp eq i1 %12, false %14 = icmp eq i1 %11, false %15 = icmp eq i1 %13, %14 %16 = icmp eq i1 %15, false store i64 0, i64* %rax.0.reg2mem br i1 %16, label LBL_2, label LBL_1 LBL_1: %17 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_1, i64 0, i64 0)) %18 = load i64, i64* %2, align 8 %19 = call i64 @FUNC(i64 ptrtoint ([8 x i8]* @gv_0 to i64), i64 %18) store i64 %19, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %10, { 1, 0 } uselistorder [8 x i8]* @gv_0, { 1, 0 } uselistorder i1 false, { 0, 2, 1 } }
0
BinRealVul
mem_resize_12680
mem_resize
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %rdx.0.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = trunc i64 %arg2 to i32 %4 = icmp slt i32 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_1, i64 0, i64 0), i32 21, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([11 x i8]* @gv_2 to i64), i64* %rcx.0.reg2mem store i64 21, i64* %rdx.0.reg2mem br label LBL_2 LBL_2: %sext = mul i64 %arg2, 4294967296 %6 = ashr exact i64 %sext, 32 %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %7 = call i64 @FUNC(i64 100, i64 %6, i64 %rdx.0.reload, i64 %rcx.0.reload, i64 %2, i64 %1) %8 = call i64 @FUNC(i64 100, i64 %6, i64 1) %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false %11 = trunc i64 %6 to i32 %12 = icmp eq i32 %11, 0 %or.cond = or i1 %12, %10 br i1 %or.cond, label LBL_4, label LBL_3 LBL_3: %13 = call i64 @FUNC(i64 100, i64 ptrtoint ([27 x i8]* @gv_3 to i64), i64 1, i64 %6, i64 %2, i64 %1) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_5 LBL_4: %14 = ptrtoint i64* %arg1 to i64 %15 = call i64 @FUNC(i64 100, i64 ptrtoint ([30 x i8]* @gv_4 to i64), i64 1, i64 %6, i64 %2, i64 %1) store i64 %8, i64* %arg1, align 8 %16 = add i64 %14, 8 %17 = inttoptr i64 %16 to i32* store i32 %11, i32* %17, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %6, { 1, 2, 4, 0, 3 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 1, { 1, 0, 2 } uselistorder i64 (i64, i64, i64, i64, i64, i64)* @JAS_DBGLOG, { 2, 1, 0 } uselistorder [11 x i8]* @gv_2, { 1, 0 } }
1
BinRealVul
gf_media_change_pl_6791
gf_media_change_pl
define i64 @FUNC(i64 %arg1, i32 %arg2, i32 %arg3, i32 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = zext i32 %arg2 to i64 %1 = call i64 @FUNC(i64 %arg1, i64 %0, i64 1) %2 = trunc i64 %1 to i32 %3 = add i32 %2, -1 %4 = icmp ult i32 %3, 4 store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_16 LBL_1: %5 = call i64 @FUNC(i64 %arg1, i64 %0, i64 1) %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %7, label LBL_2, label LBL_16 LBL_2: %8 = trunc i64 %arg5 to i32 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = inttoptr i64 %5 to i32* store i32 %8, i32* %10, align 4 br label LBL_4 LBL_4: %11 = icmp eq i32 %arg4, 0 br i1 %11, label LBL_6, label LBL_5 LBL_5: %12 = add i64 %5, 4 %13 = inttoptr i64 %12 to i32* store i32 %arg4, i32* %13, align 4 br label LBL_6 LBL_6: %14 = icmp eq i32 %arg3, 0 br i1 %14, label LBL_8, label LBL_7 LBL_7: %15 = add i64 %5, 8 %16 = inttoptr i64 %15 to i32* store i32 %arg3, i32* %16, align 4 br label LBL_8 LBL_8: %17 = add i64 %5, 16 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = call i64 @FUNC(i64 %19) %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %21, 0 br i1 %22, label LBL_15, label LBL_9 LBL_9: %wide.trip.count = and i64 %20, 4294967295 store i64 0, i64* %indvars.iv.reg2mem br label LBL_10 LBL_10: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %23 = load i64, i64* %18, align 8 %24 = call i64 @FUNC(i64 %23, i64 %indvars.iv.reload) br i1 %14, label LBL_12, label LBL_11 LBL_11: %25 = add i64 %24, 4 %26 = inttoptr i64 %25 to i32* store i32 %arg3, i32* %26, align 4 br label LBL_12 LBL_12: br i1 %9, label LBL_14, label LBL_13 LBL_13: %27 = add i64 %24, 12 %28 = inttoptr i64 %27 to i32* store i32 %8, i32* %28, align 4 br label LBL_14 LBL_14: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_15, label LBL_10 LBL_15: %29 = call i64 @FUNC(i64 %arg1, i32 %arg2, i64 1, i64 %5) %30 = call i64 @FUNC(i64 %5) %31 = and i64 %29, 4294967295 store i64 %31, 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 i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i32 1, { 1, 0 } uselistorder i32 %arg4, { 1, 0 } uselistorder i32 %arg3, { 0, 2, 1 } uselistorder label LBL_16, { 2, 0, 1 } uselistorder label LBL_10, { 1, 0 } }
0
BinRealVul
ainf_Write_9364
ainf_Write
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 %3, i64 %2) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = and i64 %4, 4294967295 store i64 %7, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %8 = and i64 %1, 4294967295 %9 = call i64 @FUNC(i64 %2, i64 %8) %10 = add i64 %3, 4 %11 = inttoptr i64 %10 to i8* %12 = call i32 @strlen(i8* %11) %13 = add i32 %12, 1 %14 = zext i32 %13 to i64 %15 = call i64 @FUNC(i64 %2, i64 %10, i64 %14) 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 } }
0
BinRealVul
blk_post_runtime_resume_8599
blk_post_runtime_resume
define i64 @FUNC(i64* %arg1, i64 %arg2) 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, 16 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %arg2 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false %9 = add i64 %0, 8 %10 = inttoptr i64 %9 to i32* br i1 %8, label LBL_3, label LBL_2 LBL_2: store i32 1, i32* %10, align 4 %11 = call i64 @FUNC(i64 %0) %12 = call i64 @FUNC(i64 %0) %13 = call i64 @FUNC(i64 %0) br label LBL_4 LBL_3: store i32 0, i32* %10, align 4 br label LBL_4 LBL_4: %14 = load i64, i64* %3, align 8 %15 = call i64 @FUNC(i64 %14) store i64 %15, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %10, { 1, 0 } uselistorder i64 %0, { 3, 2, 1, 4, 5, 0 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
show_format_16196
show_format
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = add i64 %0, 48 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp eq i64 %3, 0 store i64 -1, i64* %storemerge.reg2mem br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %3) store i64 %5, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem %6 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0)) %7 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0), i64 %0) %8 = add i64 %0, 8 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = zext i32 %10 to i64 %12 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0), i64 %11) %13 = add i64 %0, 16 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_3, i64 0, i64 0), i64 %17) %19 = load i64, i64* %14, align 8 %20 = add i64 %19, 8 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_4, i64 0, i64 0), i64 %22) %24 = add i64 %0, 24 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_5, i64 0, i64 0), i64 %26, i64* nonnull @gv_6) %28 = add i64 %0, 32 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_7, i64 0, i64 0), i64 %30, i64* nonnull @gv_6) %32 = icmp slt i64 %storemerge.reload, 0 br i1 %32, label LBL_4, label LBL_3 LBL_3: %33 = load i64, i64* bitcast ([2 x i8*]* @gv_8 to i64*), align 8 %34 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_9, i64 0, i64 0), i64 %storemerge.reload, i64 %33) br label LBL_5 LBL_4: %35 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_9, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_10, i64 0, i64 0)) br label LBL_5 LBL_5: %36 = add i64 %0, 40 %37 = inttoptr i64 %36 to i64* %38 = load i64, i64* %37, align 8 %39 = icmp slt i64 %38, 1 br i1 %39, label LBL_7, label LBL_6 LBL_6: %40 = load [4 x i8]*, [4 x i8]** @gv_11, align 8 %41 = ptrtoint [4 x i8]* %40 to i64 %42 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_12, i64 0, i64 0), i64 %38, i64 %41) br label LBL_8 LBL_7: %43 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_12, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_10, i64 0, i64 0)) br label LBL_8 LBL_8: %44 = add i64 %0, 56 %45 = inttoptr i64 %44 to i64* %46 = load i64, i64* %45, align 8 %47 = call i64 @FUNC(i64 %46) %48 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0)) %49 = load %_IO_FILE*, %_IO_FILE** @gv_13, align 8 %50 = call i32 @fflush(%_IO_FILE* %49) %51 = sext i32 %50 to i64 ret i64 %51 uselistorder i64 %storemerge.reload, { 1, 0 } uselistorder i64 %0, { 0, 1, 3, 2, 5, 4, 6, 7 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i8*, i8*)* @print_str_opt, { 1, 0 } uselistorder i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_10, i64 0, i64 0), { 1, 0 } uselistorder i64 (i8*, i64, i64)* @print_val, { 1, 0 } uselistorder i64 (i8*, i64, i64*)* @print_time, { 1, 0 } uselistorder i64 (i8*, i64)* @print_str, { 2, 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
hdev_get_max_segments_18613
hdev_get_max_segments
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i8*, align 8 %sv_2 = alloca i32, align 4 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %5 = ptrtoint i64* %sv_4 to i64 %6 = add i64 %4, 40 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i32 @gnu_dev_minor(i64 %8) %10 = load i64, i64* %7, align 8 %11 = call i32 @gnu_dev_major(i64 %10) %12 = zext i32 %9 to i64 %13 = zext i32 %11 to i64 %14 = call i64 @FUNC(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_0, i64 0, i64 0), i64 %13, i64 %12, i64 %3, i64 %2, i64 %1) %15 = inttoptr i64 %14 to i8* %16 = call i32 (i8*, i32, ...) @open(i8* %15, i32 0) %17 = icmp eq i32 %16, -1 %18 = icmp eq i1 %17, false br i1 %18, label LBL_2, label LBL_1 LBL_1: %19 = call i32* @__errno_location() %20 = load i32, i32* %19, align 4 %21 = sub i32 0, %20 store i32 %21, i32* %sv_0.0.reg2mem br label LBL_9 LBL_2: %22 = call i32 @read(i32 %16, i64* nonnull %sv_3, i32 32) %23 = icmp eq i32 %22, -1 %24 = icmp eq i1 %23, false br i1 %24, label LBL_4, label LBL_3 LBL_3: %25 = call i32* @__errno_location() %26 = load i32, i32* %25, align 4 %27 = icmp eq i32 %26, 4 br i1 %27, label LBL_2, label LBL_4 LBL_4: %28 = icmp slt i32 %22, 0 %29 = icmp eq i1 %28, false br i1 %29, label LBL_6, label LBL_5 LBL_5: %30 = call i32* @__errno_location() %31 = load i32, i32* %30, align 4 %32 = sub i32 0, %31 store i32 %32, i32* %sv_0.0.reg2mem br label LBL_9 LBL_6: %33 = icmp eq i32 %22, 0 %34 = icmp eq i1 %33, false store i32 -5, i32* %sv_0.0.reg2mem br i1 %34, label LBL_7, label LBL_9 LBL_7: %35 = sext i32 %22 to i64 %36 = add i64 %5, -64 %37 = add i64 %36, %35 %38 = inttoptr i64 %37 to i8* store i8 0, i8* %38, align 1 %39 = bitcast i8** %sv_1 to i64* %40 = bitcast i32* %sv_2 to i64* %41 = call i64 @FUNC(i64* nonnull %sv_3, i64* nonnull %39, i64 10, i64* nonnull %40) %42 = trunc i64 %41 to i32 %43 = icmp eq i32 %42, 0 %44 = icmp eq i1 %43, false %45 = load i8*, i8** %sv_1, align 8 %46 = icmp eq i8* %45, null %or.cond = or i1 %46, %44 store i32 %42, i32* %sv_0.0.reg2mem br i1 %or.cond, label LBL_9, label LBL_8 LBL_8: %47 = load i8, i8* %45, align 1 %48 = icmp eq i8 %47, 10 %49 = icmp eq i1 %48, false %50 = load i32, i32* %sv_2, align 4 %spec.select = select i1 %49, i32 %42, i32 %50 store i32 %spec.select, i32* %sv_0.0.reg2mem br label LBL_9 LBL_9: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %51 = call i64 @FUNC(i64 %14) %52 = zext i32 %sv_0.0.reload to i64 ret i64 %52 uselistorder i32 %42, { 1, 0, 2 } uselistorder i32 %22, { 2, 1, 0, 3 } uselistorder i32* %sv_0.0.reg2mem, { 0, 1, 5, 2, 4, 3 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i32* ()* @__errno_location, { 2, 0, 1 } uselistorder label LBL_9, { 0, 2, 1, 3, 4 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
ehci_reset_15297
ehci_reset
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %indvars.iv5.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = ptrtoint i64* %sv_0 to i64 %2 = call i64 @FUNC() %3 = add i64 %1, -48 store i64 0, i64* %indvars.iv5.reg2mem br label LBL_1 LBL_1: %indvars.iv5.reload = load i64, i64* %indvars.iv5.reg2mem %4 = mul i64 %indvars.iv5.reload, 8 %5 = add i64 %4, %0 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = add i64 %4, %3 %9 = inttoptr i64 %8 to i64* store i64 %7, i64* %9, align 8 %10 = icmp eq i64 %7, 0 br i1 %10, label LBL_4, label LBL_2 LBL_2: %11 = inttoptr i64 %7 to i32* %12 = load i32, i32* %11, align 4 %13 = icmp eq i32 %12, 0 br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = call i64 @FUNC(i64 %5) br label LBL_4 LBL_4: %indvars.iv.next6 = add nuw nsw i64 %indvars.iv5.reload, 1 %exitcond7 = icmp eq i64 %indvars.iv.next6, 4 store i64 %indvars.iv.next6, i64* %indvars.iv5.reg2mem br i1 %exitcond7, label LBL_5, label LBL_1 LBL_5: %15 = add i64 %0, 32 %16 = inttoptr i64 %15 to i64* %17 = call i64* @memset(i64* %16, i32 0, i32 256) %18 = add i64 %0, 1056 %19 = inttoptr i64 %18 to i32* store i32 1, i32* %19, align 4 %20 = add i64 %0, 1060 %21 = inttoptr i64 %20 to i32* store i32 1, i32* %21, align 4 %22 = add i64 %0, 1064 %23 = inttoptr i64 %22 to i32* store i32 0, i32* %23, align 4 %24 = add i64 %0, 1068 %25 = inttoptr i64 %24 to i32* store i32 0, i32* %25, align 4 %26 = add i64 %0, 1072 %27 = inttoptr i64 %26 to i32* store i32 0, i32* %27, align 4 %28 = add i64 %0, 1076 %29 = inttoptr i64 %28 to i32* store i32 0, i32* %29, align 4 store i64 0, i64* %indvars.iv.reg2mem br label LBL_6 LBL_6: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %30 = mul i64 %indvars.iv.reload, 4 %31 = add i64 %30, %0 %32 = add i64 %31, 1096 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = icmp eq i32 %34, 0 %36 = add i64 %31, 1080 %37 = inttoptr i64 %36 to i32* %. = select i1 %35, i32 4, i32 6 store i32 %., i32* %37, align 4 %38 = mul i64 %indvars.iv.reload, 8 %39 = add i64 %38, %3 %40 = inttoptr i64 %39 to i64* %41 = load i64, i64* %40, align 8 %42 = icmp eq i64 %41, 0 br i1 %42, label LBL_9, label LBL_7 LBL_7: %43 = inttoptr i64 %41 to i32* %44 = load i32, i32* %43, align 4 %45 = icmp eq i32 %44, 0 br i1 %45, label LBL_9, label LBL_8 LBL_8: %46 = add i64 %38, %0 %47 = call i64 @FUNC(i64 %46) %48 = load i64, i64* %40, align 8 %49 = call i64 @FUNC(i64 %48) br label LBL_9 LBL_9: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 4 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_10, label LBL_6 LBL_10: %50 = call i64 @FUNC(i64 %0, i64 0) %51 = call i64 @FUNC(i64 %0, i64 1) %52 = add i64 %0, 1112 %53 = inttoptr i64 %52 to i64* %54 = load i64, i64* %53, align 8 %55 = call i64 @FUNC(i64 %54) %56 = add i64 %0, 1120 %57 = inttoptr i64 %56 to i64* %58 = load i64, i64* %57, align 8 %59 = call i64 @FUNC(i64 %58) ret i64 %59 uselistorder i64 %38, { 1, 0 } uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64 %7, { 1, 0, 2 } uselistorder i64 %4, { 1, 0 } uselistorder i64 %0, { 3, 4, 5, 6, 0, 1, 7, 8, 9, 10, 11, 12, 13, 2 } uselistorder i64* %indvars.iv5.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 (i64, i64)* @ehci_queues_rip_all, { 1, 0 } uselistorder i64 4, { 2, 0, 1 } uselistorder i64 1, { 2, 1, 0 } uselistorder i32 0, { 1, 2, 4, 5, 6, 7, 0, 3 } }
1
BinRealVul
dequantize_slice_buffered_14975
dequantize_slice_buffered
define i64 @FUNC(i32* %arg1, i32* %arg2, i64* %arg3, i64 %arg4, i32 %arg5, i32 %arg6, i64 %arg7) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.in.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %storemerge47.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg3 to i64 %4 = trunc i64 %1 to i32 %5 = add i64 %3, 16 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = add i32 %7, %4 %9 = zext i32 %8 to i64 %10 = call i64 @FUNC(i64 %9, i64 0, i64 256) %11 = mul i64 %10, 4 %12 = and i64 %11, 60 %13 = add i64 %12, ptrtoint (i32** @gv_0 to i64) %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = ptrtoint i32* %arg1 to i64 %17 = add i64 %16, 4 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = icmp eq i32 %4, 0 store i32 0, i32* %rax.0.in.reg2mem br i1 %20, label LBL_10, label LBL_1 LBL_1: %21 = trunc i64 %arg7 to i32 %22 = icmp sgt i32 %21, %arg6 store i32 %arg6, i32* %rax.0.in.reg2mem br i1 %22, label LBL_2, label LBL_10 LBL_2: %23 = trunc i64 %2 to i32 %24 = trunc i64 %10 to i32 %25 = udiv i32 %24, 16 %26 = urem i32 %25, 32 %27 = shl i32 %15, %26 %28 = mul i32 %27, %19 %29 = ashr i32 %28, 8 %30 = add i64 %3, 4 %31 = inttoptr i64 %30 to i32* %32 = add i64 %3, 8 %33 = inttoptr i64 %32 to i32* %34 = ptrtoint i32* %arg2 to i64 %35 = add i64 %3, 12 %36 = inttoptr i64 %35 to i32* %37 = icmp sgt i32 %23, 0 %wide.trip.count = and i64 %2, 4294967295 store i32 %arg6, i32* %storemerge47.reg2mem br label LBL_3 LBL_3: %storemerge47.reload = load i32, i32* %storemerge47.reg2mem %38 = load i32, i32* %31, align 4 %39 = mul i32 %38, %storemerge47.reload %40 = load i32, i32* %33, align 4 %41 = add i32 %39, %40 %42 = zext i32 %41 to i64 %43 = call i64 @FUNC(i64 %34, i64 %42) %44 = load i32, i32* %36, align 4 %45 = sext i32 %44 to i64 store i64 0, i64* %indvars.iv.reg2mem br i1 %37, label LBL_4, label LBL_9 LBL_4: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %reass.add = add nsw i64 %indvars.iv.reload, %45 %reass.mul = mul i64 %reass.add, 4 %46 = add i64 %reass.mul, %43 %47 = inttoptr i64 %46 to i32* %48 = load i32, i32* %47, align 4 %49 = icmp slt i32 %48, 0 %50 = icmp eq i1 %49, false br i1 %50, label LBL_6, label LBL_5 LBL_5: %51 = mul i32 %48, %27 %52 = sub i32 %29, %51 %53 = ashr i32 %52, 1 %54 = sub nsw i32 0, %53 store i32 %54, i32* %47, align 4 br label LBL_8 LBL_6: %55 = icmp slt i32 %48, 1 br i1 %55, label LBL_8, label LBL_7 LBL_7: %56 = mul i32 %48, %27 %57 = add i32 %56, %29 %58 = ashr i32 %57, 1 store i32 %58, i32* %47, align 4 br label LBL_8 LBL_8: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_9, label LBL_4 LBL_9: %59 = add nsw i32 %storemerge47.reload, 1 %exitcond8 = icmp eq i32 %59, %21 store i32 %59, i32* %storemerge47.reg2mem store i32 %21, i32* %rax.0.in.reg2mem br i1 %exitcond8, label LBL_10, label LBL_3 LBL_10: %rax.0.in.reload = load i32, i32* %rax.0.in.reg2mem %rax.0 = zext i32 %rax.0.in.reload to i64 ret i64 %rax.0 uselistorder i32 %48, { 0, 2, 1, 3 } uselistorder i32* %47, { 1, 0, 2 } uselistorder i64 %10, { 1, 0 } uselistorder i32 %4, { 1, 0 } uselistorder i64 %3, { 0, 2, 1, 3 } uselistorder i64 %2, { 1, 0 } uselistorder i32* %storemerge47.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 4, { 0, 2, 3, 1 } uselistorder i32 %arg6, { 1, 0, 2 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
sysbus_get_fw_dev_path_15671
sysbus_get_fw_dev_path
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %3 = call i64 @FUNC(i64 %2) %4 = bitcast i64* %sv_0 to i8* %5 = inttoptr i64 %3 to i8* %6 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %4, i32 40, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i8* %5) %7 = trunc i64 %1 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = add i64 %2, 4 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = sub i32 40, %6 %13 = sext i32 %6 to i64 %14 = ptrtoint i64* %sv_0 to i64 %15 = add i64 %13, %14 %16 = inttoptr i64 %15 to i8* %17 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %16, i32 %12, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i32 %11) br label LBL_4 LBL_2: %18 = add i64 %2, 8 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = icmp eq i32 %20, 0 br i1 %21, label LBL_4, label LBL_3 LBL_3: %22 = add i64 %2, 12 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = sub i32 40, %6 %26 = sext i32 %6 to i64 %27 = ptrtoint i64* %sv_0 to i64 %28 = add i64 %26, %27 %29 = inttoptr i64 %28 to i8* %30 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %29, i32 %25, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0), i32 %24) br label LBL_4 LBL_4: %31 = call i64 @FUNC(i64* nonnull %sv_0) ret i64 %31 uselistorder i32 %6, { 2, 3, 0, 1 } uselistorder i64* %sv_0, { 0, 2, 3, 1 } uselistorder i64 %2, { 2, 0, 1, 3 } uselistorder i32 (i8*, i32, i8*, ...)* @snprintf, { 2, 1, 0 } }
1
BinRealVul
ExprResolveLhs_13701
ExprResolveLhs
define i64 @FUNC(i64* %arg1, i32* %arg2, i64* %arg3, i64* %arg4, i64* %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 2 br i1 %4, label LBL_5, label LBL_1 LBL_1: %5 = icmp sgt i32 %3, 2 br i1 %5, label LBL_6, label LBL_2 LBL_2: switch i32 %3, label LBL_6 [ i32 0, label LBL_3 i32 1, label LBL_4 ] LBL_3: %6 = ptrtoint i64* %arg4 to i64 store i64 0, i64* %arg3, align 8 %7 = ptrtoint i32* %arg2 to i64 %8 = add i64 %7, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = call i64 @FUNC(i64 %2, i64 %10) store i64 %11, i64* %arg4, align 8 store i64 0, i64* %arg5, align 8 %12 = icmp eq i64* %arg4, null %13 = icmp eq i1 %12, false %14 = zext i1 %13 to i64 %15 = and i64 %6, -256 %16 = or i64 %15, %14 store i64 %16, i64* %rax.0.reg2mem br label LBL_7 LBL_4: %17 = ptrtoint i32* %arg2 to i64 %18 = add i64 %17, 16 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = call i64 @FUNC(i64 %2, i64 %20) store i64 %21, i64* %arg3, align 8 %22 = add i64 %17, 24 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = call i64 @FUNC(i64 %2, i64 %24) store i64 %25, i64* %arg4, align 8 store i64 0, i64* %arg5, align 8 store i64 1, i64* %rax.0.reg2mem br label LBL_7 LBL_5: %26 = ptrtoint i32* %arg2 to i64 %27 = add i64 %26, 32 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = call i64 @FUNC(i64 %2, i64 %29) store i64 %30, i64* %arg3, align 8 %31 = add i64 %26, 40 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = call i64 @FUNC(i64 %2, i64 %33) store i64 %34, i64* %arg4, align 8 %35 = add i64 %26, 48 %36 = inttoptr i64 %35 to i64* %37 = load i64, i64* %36, align 8 store i64 %37, i64* %arg5, align 8 store i64 1, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %38 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_0, i64 0, i64 0), i32 %3) store i64 0, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %3, { 0, 3, 2, 1 } uselistorder i64 %2, { 3, 4, 5, 0, 1, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 1, 2 } uselistorder i64 1, { 1, 0 } uselistorder i64 (i64, i64)* @xkb_atom_text, { 4, 3, 2, 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder i64* %arg5, { 0, 2, 1 } uselistorder i64* %arg4, { 0, 3, 1, 2, 4 } uselistorder i64* %arg3, { 0, 2, 1 } uselistorder i32* %arg2, { 2, 0, 1 } }
0
BinRealVul
decode_pivot_333
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 ult i32 %sv_0.0.reload, %arg3 br i1 %21, label LBL_6, label LBL_5 LBL_5: %22 = add i64 %1, 8 %23 = inttoptr i64 %22 to i32* store i32 1, i32* %23, align 4 store i64 0, i64* %rax.0.shrunk.reg2mem br label LBL_7 LBL_6: %24 = trunc i64 %2 to i32 %25 = icmp eq i32 %24, 0 %26 = sub i32 %arg3, %sv_0.0.reload %spec.select = select i1 %25, i32 %sv_0.0.reload, i32 %26 %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 } }
0
BinRealVul
ff_msmpeg4_encode_init_17253
ff_msmpeg4_encode_init
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.5.reg2mem = alloca i64 %indvars.iv17.reg2mem = alloca i64 %indvars.iv14.reg2mem = alloca i64 %indvars.iv11.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %indvars.iv20.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %1 to i32 %5 = icmp slt i32 %4, 4 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = add i64 %2, 4 %7 = inttoptr i64 %6 to i32* store i32 -255, i32* %7, align 4 %8 = add i64 %2, 8 %9 = inttoptr i64 %8 to i32* store i32 255, i32* %9, align 4 br label LBL_2 LBL_2: %10 = load i32, i32* @gv_0, align 4 %11 = zext i32 %10 to i64 %12 = icmp eq i32 %10, 0 %13 = icmp eq i1 %12, false store i64 %11, i64* %rax.5.reg2mem br i1 %13, label LBL_12, label LBL_3 LBL_3: store i32 1, i32* @gv_0, align 4 %14 = call i64 @FUNC(i64* nonnull @gv_1) %15 = call i64 @FUNC(i64* nonnull @gv_2) store i64 0, i64* %indvars.iv20.reg2mem br label LBL_4 LBL_4: %indvars.iv20.reload = load i64, i64* %indvars.iv20.reg2mem %16 = mul i64 %indvars.iv20.reload, 4 %17 = add i64 %16, ptrtoint (i64* @gv_3 to i64) %18 = call i64 @FUNC(i64 %17) %indvars.iv.next21 = add nuw nsw i64 %indvars.iv20.reload, 1 %exitcond22 = icmp eq i64 %indvars.iv.next21, 16 store i64 %indvars.iv.next21, i64* %indvars.iv20.reg2mem store i64 0, i64* %indvars.iv17.reg2mem br i1 %exitcond22, label LBL_11, label LBL_4 LBL_5: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %19 = trunc i64 %indvars.iv.reload to i32 %20 = call i64 @FUNC(i64 %2, i64 %32, i32 %19, i32 %28, i64 %indvars.iv14.reload, i64 0) %21 = add nuw nsw i64 %indvars.iv.reload, %27 %22 = trunc i64 %20 to i32 %23 = mul i64 %21, 4 %24 = add i64 %23, ptrtoint (i32** @gv_4 to i64) %25 = inttoptr i64 %24 to i32* store i32 %22, i32* %25, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 2 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_6, label LBL_5 LBL_6: %indvars.iv.next12 = add nuw nsw i64 %indvars.iv11.reload, 1 %exitcond13 = icmp eq i64 %indvars.iv.next12, 16 store i64 %indvars.iv.next12, i64* %indvars.iv11.reg2mem br i1 %exitcond13, label LBL_8, label LBL_7 LBL_7: %indvars.iv11.reload = load i64, i64* %indvars.iv11.reg2mem %26 = add nuw nsw i64 %indvars.iv11.reload, %30 %27 = mul i64 %26, 2 %28 = trunc i64 %indvars.iv11.reload to i32 store i64 0, i64* %indvars.iv.reg2mem br label LBL_5 LBL_8: %indvars.iv.next15 = add nuw nsw i64 %indvars.iv14.reload, 1 %exitcond16 = icmp eq i64 %indvars.iv.next15, 32 store i64 %indvars.iv.next15, i64* %indvars.iv14.reg2mem br i1 %exitcond16, label LBL_10, label LBL_9 LBL_9: %indvars.iv14.reload = load i64, i64* %indvars.iv14.reg2mem %29 = add nuw nsw i64 %indvars.iv14.reload, %33 %30 = mul i64 %29, 16 store i64 0, i64* %indvars.iv11.reg2mem br label LBL_7 LBL_10: %indvars.iv.next18 = add nuw nsw i64 %indvars.iv17.reload, 1 %exitcond19 = icmp eq i64 %indvars.iv.next18, 16 store i64 %indvars.iv.next18, i64* %indvars.iv17.reg2mem store i64 %20, i64* %rax.5.reg2mem br i1 %exitcond19, label LBL_12, label LBL_11 LBL_11: %indvars.iv17.reload = load i64, i64* %indvars.iv17.reg2mem %31 = mul i64 %indvars.iv17.reload, 4 %32 = add i64 %31, ptrtoint (i64* @gv_3 to i64) %33 = mul i64 %indvars.iv17.reload, 32 store i64 0, i64* %indvars.iv14.reg2mem br label LBL_9 LBL_12: %rax.5.reload = load i64, i64* %rax.5.reg2mem ret i64 %rax.5.reload uselistorder i64 %indvars.iv17.reload, { 2, 1, 0 } uselistorder i64 %indvars.iv14.reload, { 2, 1, 0 } uselistorder i64 %indvars.iv11.reload, { 1, 2, 0 } uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64 %2, { 2, 0, 1, 3 } uselistorder i64* %indvars.iv20.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 } uselistorder i64* %indvars.iv11.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv14.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv17.reg2mem, { 0, 2, 1 } uselistorder i64 16, { 2, 0, 3, 1 } uselistorder i64 1, { 1, 2, 3, 4, 0 } uselistorder i64 (i64*)* @init_mv_table, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i32* @gv_0, { 1, 0 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
ath9k_p2p_bss_info_changed_5393
ath9k_p2p_bss_info_changed
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = ptrtoint i64* %arg2 to i64 %2 = ptrtoint i64* %arg1 to i64 %3 = load i64, i64* %0 %4 = call i64 @FUNC(i64 %2) %5 = add i64 %2, 4 %6 = call i64 @FUNC(i64 %5, i64 %3) %7 = call i64 @FUNC(i64 %2, i64 %1) %8 = call i64 @FUNC(i64 %5, i64 %3) %9 = call i64 @FUNC(i64 %2) ret i64 %9 }
0
BinRealVul
pc_machine_class_init_16258
pc_machine_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = add i64 %0, 40 %4 = inttoptr i64 %3 to i64* store i64 4198669, i64* %4, align 8 %5 = add i64 %0, 32 %6 = inttoptr i64 %5 to i64* store i64 ptrtoint ([4 x i8]* @gv_0 to i64), i64* %6, align 8 %7 = add i64 %0, 16 %8 = inttoptr i64 %7 to i64* %9 = add i64 %0, 24 %10 = inttoptr i64 %9 to i32* store i32 255, i32* %10, align 4 store i64 4198694, i64* %arg1, align 8 store i64 4198701, i64* %2, align 8 store i64 4198708, i64* %8, align 8 ret i64 %0 }
1