dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
BinRealVul
ff_pixblockdsp_init_15993
ff_pixblockdsp_init
define i64 @FUNC(i64* %arg1, i32* %arg2, i32* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 store i64 4198662, i64* %arg1, align 8 %3 = trunc i64 %1 to i32 %4 = icmp ult i32 %3, 15 %5 = icmp ne i1 %4, true %6 = icmp eq i1 %5, false %7 = icmp eq i1 %6, false br i1 %7, label LBL_3, label LBL_1 LBL_1: %8 = urem i32 %3, 64 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_3, label %10 LBL_2: %13 = add i64 %2, 8 %14 = inttoptr i64 %13 to i64* store i64 4198676, i64* %14, align 8 store i64 %2, i64* %rax.0.reg2mem br label LBL_6 LBL_3: %15 = icmp slt i32 %3, 9 br i1 %15, label LBL_5, label LBL_4 LBL_4: %16 = ptrtoint i32* %arg2 to i64 %17 = add i64 %16, 4 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = icmp eq i32 %19, 0 store i64 0, i64* %rax.0.reg2mem br i1 %20, label LBL_6, label LBL_5 LBL_5: %21 = add i64 %2, 8 %22 = inttoptr i64 %21 to i64* store i64 4198669, i64* %22, align 8 store i64 %2, 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 %3, { 1, 0, 2 } uselistorder i64 %2, { 1, 3, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i32 0, { 1, 0 } uselistorder i1 false, { 0, 1, 3, 2 } uselistorder label LBL_6, { 1, 0, 2 } uselistorder label LBL_3, { 1, 0, 2 } }
1
BinRealVul
load_tc_948
load_tc
define i64 @FUNC(i32* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %indvars.iv9.reg2mem = alloca i64 %indvars.iv12.reg2mem = alloca i64 %indvars.iv15.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i32* %arg1 to i64 store i64 0, i64* %indvars.iv15.reg2mem br label LBL_1 LBL_1: %indvars.iv15.reload = load i64, i64* %indvars.iv15.reg2mem %2 = mul i64 %indvars.iv15.reload, 4 %3 = add i64 %2, %0 %4 = call i64 @FUNC(i64 %1, i64 %3) %indvars.iv.next16 = add nuw nsw i64 %indvars.iv15.reload, 1 %exitcond17 = icmp eq i64 %indvars.iv.next16, 32 store i64 %indvars.iv.next16, i64* %indvars.iv15.reg2mem br i1 %exitcond17, label LBL_2, label LBL_1 LBL_2: %5 = add i64 %0, 128 %6 = call i64 @FUNC(i64 %1, i64 %5) %7 = add i64 %0, 132 store i64 0, i64* %indvars.iv12.reg2mem br label LBL_3 LBL_3: %indvars.iv12.reload = load i64, i64* %indvars.iv12.reg2mem %8 = mul i64 %indvars.iv12.reload, 4 %9 = add i64 %7, %8 %10 = call i64 @FUNC(i64 %1, i64 %9) %indvars.iv.next13 = add nuw nsw i64 %indvars.iv12.reload, 1 %exitcond14 = icmp eq i64 %indvars.iv.next13, 2 store i64 %indvars.iv.next13, i64* %indvars.iv12.reg2mem br i1 %exitcond14, label LBL_4, label LBL_3 LBL_4: %11 = add i64 %0, 140 store i64 0, i64* %indvars.iv9.reg2mem br label LBL_5 LBL_5: %indvars.iv9.reload = load i64, i64* %indvars.iv9.reg2mem %12 = mul i64 %indvars.iv9.reload, 4 %13 = add i64 %11, %12 %14 = call i64 @FUNC(i64 %1, i64 %13) %indvars.iv.next10 = add nuw nsw i64 %indvars.iv9.reload, 1 %exitcond11 = icmp eq i64 %indvars.iv.next10, 2 store i64 %indvars.iv.next10, i64* %indvars.iv9.reg2mem br i1 %exitcond11, label LBL_6, label LBL_5 LBL_6: %15 = add i64 %0, 148 store i64 0, i64* %indvars.iv.reg2mem br label LBL_7 LBL_7: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %16 = mul i64 %indvars.iv.reload, 4 %17 = add i64 %15, %16 %18 = call i64 @FUNC(i64 %1, i64 %17) %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_8, label LBL_7 LBL_8: %19 = add i64 %0, 156 %20 = call i64 @FUNC(i64 %1, i64 %19) %21 = add i64 %0, 160 %22 = call i64 @FUNC(i64 %1, i64 %21) %23 = add i64 %0, 164 %24 = call i64 @FUNC(i64 %1, i64 %23) %25 = add i64 %0, 168 %26 = call i64 @FUNC(i64 %1, i64 %25) %27 = add i64 %0, 172 %28 = call i64 @FUNC(i64 %1, i64 %27) %29 = add i64 %0, 176 %30 = call i64 @FUNC(i64 %1, i64 %29) %31 = add i64 %0, 180 %32 = call i64 @FUNC(i64 %1, i64 %31) %33 = add i64 %0, 184 %34 = call i64 @FUNC(i64 %1, i64 %33) %35 = icmp slt i32 %arg3, 4 store i64 %34, i64* %rax.0.reg2mem br i1 %35, label LBL_10, label LBL_9 LBL_9: %36 = add i64 %0, 188 %37 = call i64 @FUNC(i64 %1, i64 %36) store i64 %37, i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %1, { 12, 10, 11, 8, 9, 6, 7, 4, 5, 3, 2, 1, 0, 13 } uselistorder i64 %0, { 4, 6, 5, 8, 7, 10, 9, 12, 11, 3, 2, 1, 13, 0 } uselistorder i64* %indvars.iv15.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv12.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv9.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 (i64, i64)* @qemu_get_sbe32s, { 2, 1, 0 } uselistorder i64 2, { 2, 1, 0 } uselistorder i64 1, { 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @qemu_get_betls, { 9, 8, 7, 6, 5, 4, 10, 3, 2, 0, 1 } }
0
BinRealVul
uv_mutex_trylock_13195
uv_mutex_trylock
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = call i32 @pthread_mutex_trylock(i64* %arg1) switch i32 %0, label LBL_1 [ i32 16, label LBL_2 i32 11, label LBL_2 i32 0, label LBL_2 ] LBL_1: call void @abort() unreachable LBL_2: %1 = icmp eq i32 %0, 0 %. = select i1 %1, i64 0, i64 4294967295 ret i64 %. uselistorder i32 %0, { 1, 0 } }
1
BinRealVul
skip_data_stream_element_14472
skip_data_stream_element
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0, i64 8) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 255 %5 = icmp eq i1 %4, false store i64 %2, i64* %sv_0.0.reg2mem br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %0, i64 8) %7 = add i64 %6, %2 store i64 %7, i64* %sv_0.0.reg2mem br label LBL_2 LBL_2: %8 = trunc i64 %1 to i32 %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = call i64 @FUNC(i64 %0) br label LBL_4 LBL_4: %11 = mul i64 %sv_0.0.reload, 8 %12 = and i64 %11, 4294967288 %13 = call i64 @FUNC(i64 %0, i64 %12) ret i64 %13 uselistorder i64 %2, { 1, 0, 2 } uselistorder i64 %0, { 2, 1, 0, 3, 4 } uselistorder i64 (i64, i64)* @get_bits, { 1, 0 } }
1
BinRealVul
http_connect_13563
http_connect
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %storemerge.in.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i32, align 4 %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_3, label LBL_1 LBL_1: %5 = add i64 %2, 48 %6 = call i64 @FUNC(i64 %5) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = add i64 %2, 4 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp eq i32 %11, 0 store i32 0, i32* %rax.0.shrunk.reg2mem br i1 %12, label LBL_3, label LBL_18 LBL_3: %13 = add i64 %2, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = icmp eq i64 %15, 0 br i1 %16, label LBL_5, label LBL_4 LBL_4: %17 = call i64 @FUNC(i64 %15) %18 = load i64, i64* %14, align 8 %19 = call i64 @FUNC(i64 %18) store i64 0, i64* %14, align 8 %20 = bitcast i64* %arg1 to i32* store i32 0, i32* %20, align 4 br label LBL_5 LBL_5: %21 = add i64 %2, 16 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = icmp eq i32 %23, 0 %25 = add i64 %2, 32 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = add i64 %2, 24 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 br i1 %24, label LBL_7, label LBL_6 LBL_6: %31 = call i64 @FUNC(i64 %13, i64 %30, i32 %27) store i64 %31, i64* %storemerge.in.reg2mem br label LBL_8 LBL_7: %32 = call i64 @FUNC(i64 %13, i64 %30, i32 %27) %33 = load i32, i32* %26, align 4 %34 = load i64, i64* %29, align 8 %35 = call i64 @FUNC(i64 %13, i64 %34, i32 %33) store i64 %35, i64* %storemerge.in.reg2mem br label LBL_8 LBL_8: %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem %storemerge = trunc i64 %storemerge.in.reload to i32 %36 = icmp slt i32 %storemerge, 0 %37 = icmp eq i1 %36, false store i32 %storemerge, i32* %rax.0.shrunk.reg2mem br i1 %37, label LBL_9, label LBL_18 LBL_9: %38 = load i64, i64* %14, align 8 %39 = call i64 @FUNC(i64 %38, i64 1, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0)) %40 = call i64 @FUNC(i64 %2) %41 = load i64, i64* %14, align 8 %42 = call i64 @FUNC(i64 %41) %43 = trunc i64 %42 to i32 %44 = icmp ne i32 %43, 0 %45 = icmp eq i32 %43, -1 %46 = icmp eq i1 %45, false %or.cond = icmp eq i1 %44, %46 store i32 %43, i32* %sv_0.0.reg2mem br i1 %or.cond, label LBL_16, label LBL_10 LBL_10: %47 = add i64 %2, 40 %48 = inttoptr i64 %47 to i64* %49 = load i64, i64* %48, align 8 %50 = inttoptr i64 %49 to i64* %51 = load i64, i64* %50, align 8 %52 = icmp eq i64 %51, 0 store i32 %43, i32* %sv_0.0.reg2mem br i1 %52, label LBL_16, label LBL_11 LBL_11: %53 = load i64, i64* %14, align 8 %54 = call i64 @FUNC(i64 %53) %55 = trunc i64 %54 to i32 %56 = icmp eq i32 %55, 0 store i32 %43, i32* %sv_0.0.reg2mem br i1 %56, label LBL_16, label LBL_12 LBL_12: %57 = load i64, i64* %14, align 8 %58 = bitcast i32* %sv_1 to i64* %59 = call i64 @FUNC(i64* nonnull %58, i64 %57) %60 = trunc i64 %59 to i32 %61 = icmp slt i32 %60, 0 %62 = icmp eq i1 %61, false store i32 %60, i32* %rax.0.shrunk.reg2mem br i1 %62, label LBL_13, label LBL_18 LBL_13: %63 = call i64 @FUNC() %64 = load i32, i32* %sv_1, align 4 %65 = icmp slt i32 %64, 0 %66 = icmp eq i1 %65, false store i32 %64, i32* %sv_0.0.reg2mem br i1 %66, label LBL_16, label LBL_14 LBL_14: %67 = call i64 @FUNC() %68 = trunc i64 %67 to i32 %69 = icmp eq i32 %68, 0 %70 = icmp eq i1 %69, false store i32 %64, i32* %rax.0.shrunk.reg2mem br i1 %70, label LBL_18, label LBL_15 LBL_15: %71 = call i64 @FUNC(i64 4294967294, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_1, i64 0, i64 0)) store i32 %64, i32* %rax.0.shrunk.reg2mem br label LBL_18 LBL_16: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %72 = icmp slt i32 %sv_0.0.reload, 0 %73 = icmp eq i1 %72, false store i32 %sv_0.0.reload, i32* %rax.0.shrunk.reg2mem br i1 %73, label LBL_17, label LBL_18 LBL_17: %74 = bitcast i64* %arg1 to i32* store i32 1, i32* %74, align 4 store i32 0, i32* %rax.0.shrunk.reg2mem br label LBL_18 LBL_18: %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem %rax.0 = zext i32 %rax.0.shrunk.reload to i64 ret i64 %rax.0 uselistorder i32 %64, { 1, 0, 2, 3 } uselistorder i32 %43, { 1, 2, 0, 3, 4 } uselistorder i64 %30, { 1, 0 } uselistorder i32 %27, { 1, 0 } uselistorder i64* %14, { 2, 3, 4, 5, 0, 1, 6 } uselistorder i64 %2, { 1, 2, 4, 5, 3, 6, 0, 7 } uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 3, 4, 1 } uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 7, 1, 3, 2, 4, 5, 6 } uselistorder i64 1, { 2, 0, 1 } uselistorder i1 false, { 1, 2, 3, 4, 0, 5 } uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 0, 11, 12, 13 } uselistorder label LBL_18, { 6, 0, 2, 1, 3, 4, 5 } uselistorder label LBL_16, { 1, 2, 3, 0 } }
0
BinRealVul
cbq_dump_police_7030
cbq_dump_police
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %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 %3, i32* %sv_0, align 4 %5 = call i64 @FUNC(i64 %2, i64 1, i64 12, i32* nonnull %sv_0) br label LBL_2 LBL_2: %6 = add i64 %2, 16 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = zext i32 %8 to i64 ret i64 %9 uselistorder i32 %3, { 1, 0 } uselistorder i64 %2, { 1, 0 } }
0
BinRealVul
query_memdev_3590
query_memdev
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 store i64 0, i64* %sv_0, align 8 %1 = call i64 @FUNC(i64 %0, i64 1) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64 0, i64* %storemerge.reg2mem br i1 %3, label LBL_9, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 16) %5 = call i64 @FUNC(i64 32) %6 = inttoptr i64 %4 to i64* store i64 %5, i64* %6, align 8 %7 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_0) %8 = trunc i64 %7 to i32 %9 = inttoptr i64 %5 to i32* store i32 %8, i32* %9, align 4 %10 = load i64, i64* %sv_0, align 8 %11 = icmp eq i64 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_8, label LBL_2 LBL_2: %13 = load i64, i64* %6, align 8 %14 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_0) %15 = trunc i64 %14 to i32 %16 = add i64 %13, 4 %17 = inttoptr i64 %16 to i32* store i32 %15, i32* %17, align 4 %18 = load i64, i64* %sv_0, align 8 %19 = icmp eq i64 %18, 0 %20 = icmp eq i1 %19, false br i1 %20, label LBL_8, label LBL_3 LBL_3: %21 = load i64, i64* %6, align 8 %22 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0), i64* nonnull %sv_0) %23 = trunc i64 %22 to i32 %24 = add i64 %21, 8 %25 = inttoptr i64 %24 to i32* store i32 %23, i32* %25, align 4 %26 = load i64, i64* %sv_0, align 8 %27 = icmp eq i64 %26, 0 %28 = icmp eq i1 %27, false br i1 %28, label LBL_8, label LBL_4 LBL_4: %29 = load i64, i64* %6, align 8 %30 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_3, i64 0, i64 0), i64* nonnull %sv_0) %31 = trunc i64 %30 to i32 %32 = add i64 %29, 12 %33 = inttoptr i64 %32 to i32* store i32 %31, i32* %33, align 4 %34 = load i64, i64* %sv_0, align 8 %35 = icmp eq i64 %34, 0 %36 = icmp eq i1 %35, false br i1 %36, label LBL_8, label LBL_5 LBL_5: %37 = load i64, i64* @gv_4, align 8 %38 = load i64, i64* %6, align 8 %39 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_5, i64 0, i64 0), i64 %37, i64* nonnull %sv_0) %40 = trunc i64 %39 to i32 %41 = add i64 %38, 16 %42 = inttoptr i64 %41 to i32* store i32 %40, i32* %42, align 4 %43 = load i64, i64* %sv_0, align 8 %44 = icmp eq i64 %43, 0 %45 = icmp eq i1 %44, false br i1 %45, label LBL_8, label LBL_6 LBL_6: %46 = load i64, i64* %6, align 8 %47 = add i64 %46, 24 %48 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_6, i64 0, i64 0), i64 %47, i64* nonnull %sv_0) %49 = load i64, i64* %sv_0, align 8 %50 = icmp eq i64 %49, 0 %51 = icmp eq i1 %50, false br i1 %51, label LBL_8, label LBL_7 LBL_7: %52 = add i64 %4, 8 %53 = inttoptr i64 %52 to i64* store i64 ptrtoint ([11 x i8]* @gv_6 to i64), i64* %53, align 8 store i64 %4, i64* %arg2, align 8 store i64 0, i64* %storemerge.reg2mem br label LBL_9 LBL_8: %54 = load i64, i64* %6, align 8 %55 = call i64 @FUNC(i64 %54) %56 = call i64 @FUNC(i64 %4) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_9 LBL_9: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %6, { 5, 0, 1, 2, 3, 4, 6 } uselistorder i64 %4, { 2, 0, 1, 3 } uselistorder i64* %sv_0, { 6, 0, 7, 1, 8, 2, 9, 3, 10, 4, 11, 5, 12 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64)* @g_free, { 1, 0 } uselistorder [11 x i8]* @gv_6, { 1, 0 } uselistorder i64 (i64, i8*, i64*)* @object_property_get_bool, { 2, 1, 0 } uselistorder i64 (i64)* @g_malloc0, { 1, 0 } uselistorder i64 16, { 1, 0 } uselistorder i64 1, { 2, 0, 1 } uselistorder label LBL_9, { 2, 1, 0 } }
0
reposvul_c_test
dump_fd_info_273
dump_fd_info
define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.04.reg2mem = alloca i32 %sv_1 = alloca i64, align 8 %0 = inttoptr i64 %arg1 to i8* %1 = call %_IO_FILE* @fopen(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0)) %2 = icmp eq %_IO_FILE* %1, null %3 = icmp eq i1 %2, false store i64 0, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_9 LBL_1: %4 = sext i32 %arg3 to i64 %5 = add i64 %4, %arg2 %6 = inttoptr i64 %5 to i8* %7 = inttoptr i64 %arg2 to i8* %8 = bitcast i64* %sv_1 to i8* store i32 0, i32* %sv_0.04.reg2mem br label LBL_2 LBL_2: %sv_0.04.reload = load i32, i32* %sv_0.04.reg2mem %9 = call i32 (i8*, i8*, ...) @sprintf(i8* %6, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i32 %sv_0.04.reload) %10 = call i64 @FUNC(i64 %arg2) %11 = icmp eq i64 %10, 0 br i1 %11, label LBL_8, label LBL_3 LBL_3: %12 = inttoptr i64 %10 to i8* %13 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0), i32 %sv_0.04.reload, i8* %12) %14 = inttoptr i64 %10 to i64* call void @free(i64* %14) %15 = call i32 (i8*, i8*, ...) @sprintf(i8* %6, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_3, i64 0, i64 0), i32 %sv_0.04.reload) %16 = call %_IO_FILE* @fopen(i8* %7, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_4, i64 0, i64 0)) %17 = icmp eq %_IO_FILE* %16, null %18 = icmp eq i1 %17, false br i1 %18, label LBL_4, label LBL_7 LBL_4: %19 = call i8* @fgets(i8* nonnull %8, i32 127, %_IO_FILE* %16) %20 = icmp eq i8* %19, null %21 = icmp eq i1 %20, false br i1 %21, label LBL_5, label LBL_6 LBL_5: %22 = call i8* @strchrnul(i8* nonnull %8, i32 10) %23 = ptrtoint i8* %22 to i64 %sext = mul i64 %23, 4294967296 %24 = ashr exact i64 %sext, 32 store i8 10, i8* %22, align 1 %25 = add nsw i64 %24, 1 %26 = inttoptr i64 %25 to i8* store i8 0, i8* %26, align 1 %27 = call i32 @fputs(i8* nonnull %8, %_IO_FILE* %1) %28 = call i8* @fgets(i8* nonnull %8, i32 127, %_IO_FILE* %16) %29 = icmp eq i8* %28, null %30 = icmp eq i1 %29, false br i1 %30, label LBL_5, label LBL_6 LBL_6: %31 = call i32 @fclose(%_IO_FILE* %16) br label LBL_7 LBL_7: %32 = add nuw nsw i32 %sv_0.04.reload, 1 %33 = icmp ult i32 %32, 100000 store i32 %32, i32* %sv_0.04.reg2mem br i1 %33, label LBL_2, label LBL_8 LBL_8: %34 = call i32 @fclose(%_IO_FILE* %1) store i64 1, i64* %storemerge.reg2mem br label LBL_9 LBL_9: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder %_IO_FILE* %16, { 1, 2, 0, 3 } uselistorder i32 %sv_0.04.reload, { 1, 0, 2, 3 } uselistorder i8* %8, { 3, 1, 2, 0 } uselistorder %_IO_FILE* %1, { 2, 0, 1, 3 } uselistorder i32* %sv_0.04.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 (%_IO_FILE*)* @fclose, { 1, 0 } uselistorder i8* null, { 1, 0 } uselistorder i8* (i8*, i32, %_IO_FILE*)* @fgets, { 1, 0 } uselistorder i32 127, { 1, 0 } uselistorder i32 (i8*, i8*, ...)* @sprintf, { 1, 0 } uselistorder i1 false, { 1, 0, 2, 3 } uselistorder i64 %arg2, { 2, 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
brcmf_fweh_process_event_17802
brcmf_fweh_process_event
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdx = alloca i64, align 8 %0 = ptrtoint i64* %arg2 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = add i64 %0, 4 %4 = call i64 @FUNC(i64 %3) %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i8* %7 = load i8, i8* %6, align 1 %8 = bitcast i64* %arg3 to i8* store i8 %7, i8* %8, align 1 %9 = add i64 %0, 20 %10 = icmp ult i32 %2, 10 store i64 %9, i64* %rax.0.reg2mem br i1 %10, label LBL_1, label LBL_4 LBL_1: %11 = ptrtoint i64* %arg1 to i64 %12 = icmp eq i32 %2, 1 br i1 %12, label LBL_3, label LBL_2 LBL_2: %13 = mul i64 %1, 8 %14 = and i64 %13, 34359738360 %15 = add i64 %14, %11 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = icmp eq i64 %17, 0 store i64 0, i64* %rax.0.reg2mem br i1 %18, label LBL_4, label LBL_3 LBL_3: %19 = trunc i64 %4 to i32 %20 = call i64 @FUNC() %21 = trunc i64 %20 to i32 %22 = icmp ne i32 %21, 0 %spec.select = zext i1 %22 to i64 %23 = and i64 %4, 4294967295 %24 = add nuw nsw i64 %23, 28 %25 = call i64 @FUNC(i64 %24, i64 %spec.select) %26 = inttoptr i64 %25 to i32* store i32 %2, i32* %26, align 4 %27 = bitcast i64* %rdx to i8* %28 = load i8, i8* %27, align 8 %29 = add i64 %25, 4 %30 = inttoptr i64 %29 to i8* store i8 %28, i8* %30, align 1 %31 = add i64 %25, 8 %32 = inttoptr i64 %31 to i64* %33 = call i64* @memcpy(i64* %32, i64* %arg2, i32 12) %34 = add i64 %25, 26 %35 = inttoptr i64 %34 to i64* %36 = inttoptr i64 %9 to i64* %37 = call i64* @memcpy(i64* %35, i64* %36, i32 %19) %38 = add i64 %0, 12 %39 = add i64 %25, 20 %40 = inttoptr i64 %39 to i64* %41 = inttoptr i64 %38 to i64* %42 = call i64* @memcpy(i64* %40, i64* %41, i32 6) %43 = call i64 @FUNC(i64 %11, i64 %25) store i64 %43, 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 %11, { 1, 0 } uselistorder i64 %9, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 2, 1, 0 } uselistorder i64 8, { 1, 0, 2 } uselistorder i64 (i64)* @get_unaligned_be32, { 1, 0 } uselistorder label LBL_4, { 2, 0, 1 } }
1
BinRealVul
filter_frame_4708
filter_frame
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 %sv_0 = alloca i64, align 8 store i64 %2, i64* %sv_0, align 8 %4 = and i64 %1, 4294967295 %5 = call i64 @FUNC(i64 %3, i64 %4) %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = call i64 @FUNC(i64* nonnull %sv_0) store i64 4294967284, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %9 = trunc i64 %1 to i32 %10 = add i64 %3, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = add i64 %2, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = add i64 %5, 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = inttoptr i64 %12 to i64* %20 = load i64, i64* %19, align 8 %21 = call i64 @FUNC(i64 %20, i64 %18, i32 %9, i64 %15, i64 %4) %22 = load i64, i64* %sv_0, align 8 %23 = call i64 @FUNC(i64 %5, i64 %22) %24 = inttoptr i64 %10 to i32* %25 = load i32, i32* %24, align 4 %26 = add i64 %5, 16 %27 = inttoptr i64 %26 to i32* store i32 %25, i32* %27, align 4 %28 = add i64 %3, 12 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = add i64 %5, 20 %32 = inttoptr i64 %31 to i32* store i32 %30, i32* %32, align 4 %33 = call i64 @FUNC(i64 %3, i64 %5) %34 = call i64 @FUNC(i64* nonnull %sv_0) %35 = and i64 %33, 4294967295 store i64 %35, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %5, { 0, 1, 3, 2, 4, 5 } uselistorder i64 %4, { 1, 0 } uselistorder i64* %sv_0, { 0, 2, 1, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64*)* @av_frame_free, { 1, 0 } }
0
BinRealVul
cpu_x86_register_16488
cpu_x86_register
define i64 @FUNC(i64* %arg1, i8* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i8* %arg2 to i64 %2 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %3 = ptrtoint i64* %sv_0 to i64 %4 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 232) %5 = call i64 @FUNC(i64 %2, i64 %3, i64 %1) %6 = trunc i64 %5 to i32 %7 = icmp slt i32 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_0, i64 0, i64 0), i64 %1) store i64 %9, i64* %storemerge.reg2mem br label LBL_5 LBL_2: %10 = call i64 @FUNC() %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 %.pre = add i64 %3, 40 %.pre2 = inttoptr i64 %.pre to i32* br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = load i32, i32* %.pre2, align 8 %14 = or i32 %13, 1 store i32 %14, i32* %.pre2, align 8 br label LBL_4 LBL_4: %15 = add i64 %3, 44 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = or i32 %17, 536870912 store i32 %18, i32* %16, align 4 %19 = call i64 @FUNC(i64 %2) %20 = call i64 @FUNC(i64 %19, i64 %3, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0), i64 %0) %21 = add i64 %3, 16 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 8 %24 = call i64 @FUNC(i64 %2) %25 = zext i32 %23 to i64 %26 = call i64 @FUNC(i64 %24, i64 %25, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i64 %0) %27 = add i64 %3, 20 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = call i64 @FUNC(i64 %2) %31 = zext i32 %29 to i64 %32 = call i64 @FUNC(i64 %30, i64 %31, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0), i64 %0) %33 = add i64 %3, 24 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 8 %36 = call i64 @FUNC(i64 %2) %37 = zext i32 %35 to i64 %38 = call i64 @FUNC(i64 %36, i64 %37, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_4, i64 0, i64 0), i64 %0) %39 = add i64 %3, 28 %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 4 %42 = call i64 @FUNC(i64 %2) %43 = zext i32 %41 to i64 %44 = call i64 @FUNC(i64 %42, i64 %43, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_5, i64 0, i64 0), i64 %0) %45 = add i64 %3, 48 %46 = inttoptr i64 %45 to i32* %47 = load i32, i32* %46, align 8 %48 = add i64 %2, 8 %49 = inttoptr i64 %48 to i32* store i32 %47, i32* %49, align 4 %50 = load i32, i32* %16, align 4 %51 = add i64 %2, 4 %52 = inttoptr i64 %51 to i32* store i32 %50, i32* %52, align 4 %53 = add i64 %3, 52 %54 = inttoptr i64 %53 to i32* %55 = load i32, i32* %54, align 4 %56 = add i64 %2, 12 %57 = inttoptr i64 %56 to i32* store i32 %55, i32* %57, align 4 %58 = add i64 %3, 56 %59 = inttoptr i64 %58 to i32* %60 = load i32, i32* %59, align 8 %61 = add i64 %2, 16 %62 = inttoptr i64 %61 to i32* store i32 %60, i32* %62, align 4 %63 = add i64 %3, 32 %64 = inttoptr i64 %63 to i32* %65 = load i32, i32* %64, align 8 %66 = call i64 @FUNC(i64 %2) %67 = zext i32 %65 to i64 %68 = call i64 @FUNC(i64 %66, i64 %67, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_6, i64 0, i64 0), i64 %0) %69 = load i32, i32* %.pre2, align 8 %70 = bitcast i64* %arg1 to i32* store i32 %69, i32* %70, align 4 %71 = add i64 %3, 60 %72 = inttoptr i64 %71 to i32* %73 = load i32, i32* %72, align 4 %74 = add i64 %2, 20 %75 = inttoptr i64 %74 to i32* store i32 %73, i32* %75, align 4 %76 = add i64 %3, 64 %77 = inttoptr i64 %76 to i32* %78 = load i32, i32* %77, align 8 %79 = add i64 %2, 24 %80 = inttoptr i64 %79 to i32* store i32 %78, i32* %80, align 4 %81 = add i64 %3, 68 %82 = inttoptr i64 %81 to i32* %83 = load i32, i32* %82, align 4 %84 = add i64 %2, 28 %85 = inttoptr i64 %84 to i32* store i32 %83, i32* %85, align 4 %86 = add i64 %3, 36 %87 = inttoptr i64 %86 to i32* %88 = load i32, i32* %87, align 4 %89 = add i64 %2, 128 %90 = inttoptr i64 %89 to i32* store i32 %88, i32* %90, align 4 %91 = add i64 %3, 168 %92 = call i64 @FUNC(i64 %2) %93 = call i64 @FUNC(i64 %92, i64 %91, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_7, i64 0, i64 0), i64 %0) store i64 %93, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32* %.pre2, { 0, 2, 1 } uselistorder i64 %3, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 13, 15, 0, 16 } uselistorder i64 %0, { 1, 2, 3, 4, 5, 6, 7, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64, i8*, i64)* @object_property_set_int, { 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64, i8*, i64)* @object_property_set_str, { 1, 0 } uselistorder i64 (i64)* @OBJECT, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i32 0, { 1, 2, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
dyngen_code_search_pc_2133
dyngen_code_search_pc
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %.reg2mem = alloca i64 %0 = load i64, i64* @gv_0, align 8 %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 %0, i64* %.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC() %4 = call i64 @FUNC(i64 %3) store i64 %4, i64* @gv_0, align 8 store i64 %4, i64* %.reg2mem br label LBL_2 LBL_2: %5 = ptrtoint i64* %arg1 to i64 %.reload = load i64, i64* %.reg2mem %6 = call i64 @FUNC(i64 %5, i64 %.reload, i64 %arg2) ret i64 %6 uselistorder i64* %.reg2mem, { 0, 2, 1 } }
0
BinRealVul
gf_bifs_dec_route_13030
gf_bifs_dec_route
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %rax.0.shrunk.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i32, align 4 %sv_2 = alloca i32, align 4 %sv_3 = alloca i64, align 8 %2 = call i64 @FUNC(i64 %0, i64 1) %3 = trunc i64 %2 to i8 %4 = icmp eq i8 %3, 0 store i32 0, i32* %sv_0.0.reg2mem br i1 %4, label LBL_3, label LBL_1 LBL_1: %5 = and i64 %0, 4294967295 %6 = call i64 @FUNC(i64 %0, i64 %5) %7 = trunc i64 %6 to i32 %8 = add i32 %7, 1 %9 = add i64 %1, 16 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp eq i32 %11, 0 store i32 %8, i32* %sv_0.0.reg2mem br i1 %12, label LBL_3, label LBL_2 LBL_2: %13 = call i64 @FUNC(i64 %0, i64* nonnull %sv_3) store i32 %8, i32* %sv_0.0.reg2mem br label LBL_3 LBL_3: %14 = add i64 %0, 4 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = zext i32 %16 to i64 %18 = call i64 @FUNC(i64 %0, i64 %17) %19 = add i64 %18, 1 %20 = add i64 %1, 8 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = and i64 %19, 4294967295 %24 = call i64 @FUNC(i64 %22, i64 %23) %25 = icmp eq i64 %24, 0 %26 = icmp eq i1 %25, false store i64 4294967295, i64* %rax.0.shrunk.reg2mem br i1 %26, label LBL_4, label LBL_12 LBL_4: %27 = call i64 @FUNC(i64 %24, i64 0) %28 = add i64 %27, 4294967295 %29 = and i64 %28, 4294967295 %30 = call i64 @FUNC(i64 %29) %31 = and i64 %30, 4294967295 %32 = call i64 @FUNC(i64 %0, i64 %31) %33 = trunc i64 %32 to i32 %34 = bitcast i32* %sv_2 to i64* %35 = call i64 @FUNC(i64 %24, i32 %33, i64 0, i64* nonnull %34) %36 = trunc i64 %35 to i32 %37 = icmp eq i32 %36, 0 store i64 %35, i64* %rax.0.shrunk.reg2mem br i1 %37, label LBL_5, label LBL_12 LBL_5: %38 = add i64 %24, 4 %39 = inttoptr i64 %38 to i32* %40 = load i32, i32* %39, align 4 %41 = zext i32 %40 to i64 %42 = call i64 @FUNC(i64 %0, i64 %41) %43 = add i64 %42, 1 %44 = load i64, i64* %21, align 8 %45 = and i64 %43, 4294967295 %46 = call i64 @FUNC(i64 %44, i64 %45) %47 = icmp eq i64 %46, 0 %48 = icmp eq i1 %47, false store i64 4294967295, i64* %rax.0.shrunk.reg2mem br i1 %48, label LBL_6, label LBL_12 LBL_6: %49 = call i64 @FUNC(i64 %46, i64 1) %50 = add i64 %49, 4294967295 %51 = and i64 %50, 4294967295 %52 = call i64 @FUNC(i64 %51) %53 = and i64 %52, 4294967295 %54 = call i64 @FUNC(i64 %0, i64 %53) %55 = trunc i64 %54 to i32 %56 = bitcast i32* %sv_1 to i64* %57 = call i64 @FUNC(i64 %46, i32 %55, i64 1, i64* nonnull %56) %58 = trunc i64 %57 to i32 %59 = icmp eq i32 %58, 0 store i64 %57, i64* %rax.0.shrunk.reg2mem br i1 %59, label LBL_7, label LBL_12 LBL_7: %60 = load i32, i32* %sv_1, align 4 %61 = load i32, i32* %sv_2, align 4 %62 = zext i32 %61 to i64 %63 = load i64, i64* %21, align 8 %64 = zext i32 %60 to i64 %65 = call i64 @FUNC(i64 %63, i64 %24, i64 %62, i64 %46, i64 %64) %66 = icmp eq i64 %65, 0 %67 = icmp eq i1 %66, false store i64 4294967294, i64* %rax.0.shrunk.reg2mem br i1 %67, label LBL_8, label LBL_12 LBL_8: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %68 = icmp eq i32 %sv_0.0.reload, 0 store i64 %57, i64* %rax.0.shrunk.reg2mem br i1 %68, label LBL_12, label LBL_9 LBL_9: %69 = zext i32 %sv_0.0.reload to i64 %70 = call i64 @FUNC(i64 %65, i64 %69) %71 = trunc i64 %70 to i32 %72 = icmp eq i32 %71, 0 %73 = icmp eq i1 %72, false store i64 %70, i64* %rax.0.shrunk.reg2mem br i1 %73, label LBL_12, label LBL_10 LBL_10: %74 = add i64 %1, 16 %75 = inttoptr i64 %74 to i32* %76 = load i32, i32* %75, align 4 %77 = icmp eq i32 %76, 0 store i64 %70, i64* %rax.0.shrunk.reg2mem br i1 %77, label LBL_12, label LBL_11 LBL_11: %78 = call i64 @FUNC(i64 %65, i64* nonnull %sv_3) store i64 %78, i64* %rax.0.shrunk.reg2mem br label LBL_12 LBL_12: %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295 ret i64 %rax.0 uselistorder i64 %24, { 1, 0, 2, 3, 4 } uselistorder i64 %1, { 1, 2, 0 } uselistorder i64 %0, { 4, 5, 6, 7, 1, 2, 3, 0, 8 } uselistorder i64 (i64, i32, i64, i64*)* @gf_bifs_get_field_index, { 1, 0 } uselistorder i64 (i64)* @gf_get_bit_size, { 1, 0 } uselistorder i64 (i64, i64)* @gf_node_get_num_fields_in_mode, { 1, 0 } uselistorder i64 (i64, i64)* @gf_sg_find_node, { 1, 0 } uselistorder i64 (i64, i64)* @gf_bs_read_int, { 5, 4, 3, 2, 1, 0 } uselistorder i64 1, { 2, 3, 0, 1, 4 } uselistorder label LBL_12, { 3, 2, 1, 0, 4, 5, 6, 7, 8 } }
1
BinRealVul
rfc_parse_data_7774
rfc_parse_data
define i64 @FUNC(i8* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %rax.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i8* %sv_1.0.reg2mem = alloca i16 %sv_0.0.reg2mem = alloca i8* %.reg2mem = alloca i16 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %rdi = alloca i64, align 8 %rsi = alloca i64, align 8 %rdx = alloca i64, align 8 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg3 to i64 %6 = load i32, i32* %1 %7 = add i64 %5, 2 %8 = inttoptr i64 %7 to i16* %9 = load i16, i16* %8, align 2 %10 = zext i16 %9 to i64 %11 = add nuw nsw i64 %10, 4 store i64 %11, i64* %rdx, align 8 %12 = trunc i64 %11 to i16 %13 = icmp ult i16 %12, 3 br i1 %13, label LBL_1, label LBL_2 LBL_1: %14 = add i16 %9, 4 %15 = zext i16 %14 to i64 %16 = call i64 @FUNC(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i64 %15, i64 %11, i64 %4, i64 %3, i64 %2) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_42 LBL_2: %17 = ptrtoint i64* %arg2 to i64 %18 = add i64 %11, %5 %19 = add i64 %17, 1 %20 = inttoptr i64 %19 to i8* %21 = load i8, i8* %20, align 1 %22 = zext i8 %21 to i64 store i64 %22, i64* %rdx, align 8 %23 = bitcast i64* %rsi to i8* %24 = load i8, i8* %23, align 8 %25 = zext i8 %24 to i64 store i64 %25, i64* %rsi, align 8 %26 = urem i32 %6, 256 %27 = zext i32 %26 to i64 %28 = call i64 @FUNC(i64 %27, i64 %25, i64 %22, i64 %18) %29 = trunc i32 %6 to i8 %30 = icmp eq i8 %29, 0 %31 = icmp eq i1 %30, false br i1 %31, label LBL_4, label LBL_3 LBL_3: %32 = load i64, i64* %rsi, align 8 %33 = load i64, i64* %rdx, align 8 %34 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, i64 0), i64 %32, i64 %33, i64 %18, i64 %3, i64 %2) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_42 LBL_4: %35 = inttoptr i64 %18 to i8* %36 = add i64 %17, 2 %37 = inttoptr i64 %36 to i8* %38 = load i8, i8* %37, align 1 %39 = zext i8 %38 to i64 %40 = add i64 %17, 3 %41 = inttoptr i64 %40 to i8* %42 = load i8, i8* %41, align 1 store i64 %39, i64* %rsi, align 8 %43 = zext i8 %42 to i64 %44 = call i64 @FUNC(i64 %43, i64 %39, i64 %18) %45 = load i8, i8* %35, align 1 %46 = urem i8 %45, 2 %47 = add i64 %18, 1 store i64 %47, i64* %rdx, align 8 %48 = inttoptr i64 %47 to i8* %49 = load i8, i8* %35, align 1 %50 = udiv i8 %49, 2 %51 = zext i8 %50 to i16 %52 = icmp eq i8 %46, 0 %53 = trunc i64 %47 to i16 %54 = icmp ult i16 %53, 3 %or.cond = icmp eq i1 %54, %52 br i1 %or.cond, label LBL_5, label LBL_6 LBL_5: %55 = add i64 %18, 2 store i64 %55, i64* %rdx, align 8 %56 = inttoptr i64 %55 to i8* %57 = load i8, i8* %48, align 1 %58 = zext i8 %57 to i16 %59 = mul i16 %58, 4 %60 = add nuw nsw i16 %59, %51 %61 = trunc i64 %55 to i16 store i16 %61, i16* %.reg2mem store i8* %56, i8** %sv_0.0.reg2mem store i16 %60, i16* %sv_1.0.reg2mem br label LBL_8 LBL_6: %62 = icmp eq i1 %52, false store i16 %53, i16* %.reg2mem store i8* %48, i8** %sv_0.0.reg2mem store i16 %51, i16* %sv_1.0.reg2mem br i1 %62, label LBL_8, label LBL_7 LBL_7: %63 = urem i64 %47, 65536 %64 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0), i64 %63, i64 %47, i64 %39, i64 %3, i64 %2) %65 = call i64 @FUNC(i64 1397638484, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_3, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_42 LBL_8: %66 = bitcast i64* %rdx to i16* %sv_1.0.reload = load i16, i16* %sv_1.0.reg2mem %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem %.reload = load i16, i16* %.reg2mem %67 = select i1 %52, i16 4, i16 3 %68 = sub i16 0, %67 %69 = sub i16 %68, 1 %70 = add i16 %.reload, %69 %71 = bitcast i64* %arg3 to i16* store i16 %70, i16* %71, align 2 %72 = load i16, i16* %8, align 2 %73 = zext i16 %72 to i64 store i64 %73, i64* %rdx, align 8 %74 = add i16 %72, %67 store i16 %74, i16* %8, align 2 %75 = bitcast i64* %rdi to i8* %76 = load i8, i8* %75, align 8 %77 = icmp eq i8 %76, 1 %78 = icmp eq i1 %77, false br i1 %78, label LBL_13, label LBL_9 LBL_9: %79 = load i8, i8* %41, align 1 %80 = icmp eq i8 %79, 0 %81 = icmp eq i1 %80, false br i1 %81, label LBL_13, label LBL_10 LBL_10: %82 = load i8, i8* %20, align 1 %83 = icmp eq i8 %82, 0 br i1 %83, label LBL_13, label LBL_11 LBL_11: %84 = load i8, i8* %37, align 1 %85 = icmp eq i8 %84, 1 %86 = icmp eq i1 %85, false br i1 %86, label LBL_13, label LBL_12 LBL_12: %87 = ptrtoint i8* %sv_0.0.reload to i64 %88 = add i64 %87, 1 %89 = inttoptr i64 %88 to i8* %90 = load i8, i8* %sv_0.0.reload, align 1 %91 = add i64 %17, 4 %92 = inttoptr i64 %91 to i8* store i8 %90, i8* %92, align 1 %93 = load i16, i16* %66, align 8 %94 = add i16 %93, -1 store i16 %94, i16* %71, align 2 %95 = load i16, i16* %8, align 2 %96 = add i16 %95, 1 store i16 %96, i16* %8, align 2 store i8* %89, i8** %sv_0.1.reg2mem br label LBL_14 LBL_13: %97 = add i64 %17, 4 %98 = inttoptr i64 %97 to i8* store i8 0, i8* %98, align 1 store i8* %sv_0.0.reload, i8** %sv_0.1.reg2mem br label LBL_14 LBL_14: %99 = load i16, i16* %66, align 8 %100 = icmp eq i16 %sv_1.0.reload, %99 %101 = zext i16 %sv_1.0.reload to i64 br i1 %100, label LBL_16, label LBL_15 LBL_15: %102 = zext i16 %99 to i64 %103 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_4, i64 0, i64 0), i64 %102, i64 %101, i64 3, i64 %3, i64 %2) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_42 LBL_16: %sv_0.1.reload = load i8*, i8** %sv_0.1.reg2mem store i64 %101, i64* %rdx, align 8 %104 = ptrtoint i8* %sv_0.1.reload to i64 %105 = add i64 %104, %101 %106 = inttoptr i64 %105 to i8* %107 = load i8, i8* %106, align 1 store i64 %17, i64* @0, align 8 store i64 4294967295, i64* %rax.0.reg2mem switch i64 %17, label LBL_42 [ i64 0, label LBL_36 i64 1, label LBL_17 i64 2, label LBL_22 i64 3, label LBL_27 i64 4, label LBL_31 ] LBL_17: %108 = load i8, i8* %23, align 8 %109 = zext i8 %108 to i64 store i64 %109, i64* %rdx, align 8 %110 = ptrtoint i8* %arg1 to i64 %111 = add i64 %110, 1 %112 = inttoptr i64 %111 to i8* %113 = load i8, i8* %112, align 1 store i64 %109, i64* %rsi, align 8 %114 = zext i8 %113 to i64 %115 = call i64 @FUNC(i64 %114, i64 %109) %116 = trunc i64 %115 to i8 %117 = icmp eq i8 %116, 0 %118 = icmp eq i1 %117, false br i1 %118, label LBL_21, label LBL_18 LBL_18: %119 = load i8, i8* %37, align 1 %120 = icmp eq i8 %119, 0 %121 = icmp eq i16 %sv_1.0.reload, 0 %122 = icmp eq i1 %121, false %or.cond7 = or i1 %122, %120 br i1 %or.cond7, label LBL_21, label LBL_19 LBL_19: %123 = load i8, i8* %20, align 1 %124 = zext i8 %123 to i64 %125 = call i64 @FUNC(i64 %124) %126 = trunc i64 %125 to i8 %127 = icmp eq i8 %126, 0 br i1 %127, label LBL_21, label LBL_20 LBL_20: %128 = zext i8 %107 to i64 store i64 %128, i64* %rdx, align 8 store i64 %18, i64* %rsi, align 8 %129 = call i64 @FUNC(i64 3, i64 %18, i8 %107) %130 = trunc i64 %129 to i8 %131 = icmp eq i8 %130, 0 %132 = icmp eq i1 %131, false store i64 1, i64* %rax.0.reg2mem br i1 %132, label LBL_42, label LBL_21 LBL_21: %133 = load i64, i64* %rsi, align 8 %134 = load i64, i64* %rdx, align 8 %135 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_5, i64 0, i64 0), i64 %133, i64 %134, i64 3, i64 %3, i64 %2) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_42 LBL_22: %136 = load i8, i8* %23, align 8 %137 = zext i8 %136 to i64 store i64 %137, i64* %rdx, align 8 %138 = ptrtoint i8* %arg1 to i64 %139 = add i64 %138, 1 %140 = inttoptr i64 %139 to i8* %141 = load i8, i8* %140, align 1 store i64 %137, i64* %rsi, align 8 %142 = zext i8 %141 to i64 %143 = call i64 @FUNC(i64 %142, i64 %137) %144 = trunc i64 %143 to i8 %145 = icmp eq i8 %144, 0 %146 = icmp eq i1 %145, false br i1 %146, label LBL_26, label LBL_23 LBL_23: %147 = load i8, i8* %37, align 1 %148 = icmp eq i8 %147, 0 %149 = icmp eq i16 %sv_1.0.reload, 0 %150 = icmp eq i1 %149, false %or.cond9 = or i1 %150, %148 br i1 %or.cond9, label LBL_26, label LBL_24 LBL_24: %151 = load i8, i8* %20, align 1 %152 = zext i8 %151 to i64 %153 = call i64 @FUNC(i64 %152) %154 = trunc i64 %153 to i8 %155 = icmp eq i8 %154, 0 br i1 %155, label LBL_26, label LBL_25 LBL_25: %156 = zext i8 %107 to i64 store i64 %156, i64* %rdx, align 8 store i64 %18, i64* %rsi, align 8 %157 = call i64 @FUNC(i64 3, i64 %18, i8 %107) %158 = trunc i64 %157 to i8 %159 = icmp eq i8 %158, 0 %160 = icmp eq i1 %159, false store i64 2, i64* %rax.0.reg2mem br i1 %160, label LBL_42, label LBL_26 LBL_26: %161 = load i64, i64* %rsi, align 8 %162 = load i64, i64* %rdx, align 8 %163 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_6, i64 0, i64 0), i64 %161, i64 %162, i64 3, i64 %3, i64 %2) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_42 LBL_27: %164 = load i8, i8* %23, align 8 %165 = zext i8 %164 to i64 store i64 %165, i64* %rdx, align 8 %166 = ptrtoint i8* %arg1 to i64 %167 = add i64 %166, 1 %168 = inttoptr i64 %167 to i8* %169 = load i8, i8* %168, align 1 store i64 %165, i64* %rsi, align 8 %170 = zext i8 %169 to i64 %171 = call i64 @FUNC(i64 %170, i64 %165) %172 = trunc i64 %171 to i8 %173 = icmp eq i8 %172, 0 %174 = icmp eq i16 %sv_1.0.reload, 0 %175 = icmp eq i1 %174, %173 br i1 %175, label LBL_28, label LBL_30 LBL_28: %176 = load i8, i8* %20, align 1 %177 = zext i8 %176 to i64 %178 = call i64 @FUNC(i64 %177) %179 = trunc i64 %178 to i8 %180 = icmp eq i8 %179, 0 br i1 %180, label LBL_30, label LBL_29 LBL_29: %181 = zext i8 %107 to i64 store i64 %181, i64* %rdx, align 8 store i64 %18, i64* %rsi, align 8 %182 = call i64 @FUNC(i64 3, i64 %18, i8 %107) %183 = trunc i64 %182 to i8 %184 = icmp eq i8 %183, 0 %185 = icmp eq i1 %184, false store i64 3, i64* %rax.0.reg2mem br i1 %185, label LBL_42, label LBL_30 LBL_30: %186 = load i64, i64* %rsi, align 8 %187 = load i64, i64* %rdx, align 8 %188 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_7, i64 0, i64 0), i64 %186, i64 %187, i64 3, i64 %3, i64 %2) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_42 LBL_31: %189 = load i8, i8* %23, align 8 %190 = zext i8 %189 to i64 store i64 %190, i64* %rdx, align 8 %191 = ptrtoint i8* %arg1 to i64 %192 = add i64 %191, 1 %193 = inttoptr i64 %192 to i8* %194 = load i8, i8* %193, align 1 store i64 %190, i64* %rsi, align 8 %195 = zext i8 %194 to i64 %196 = call i64 @FUNC(i64 %195, i64 %190) %197 = trunc i64 %196 to i8 %198 = icmp eq i8 %197, 0 %199 = icmp eq i1 %198, false br i1 %199, label LBL_35, label LBL_32 LBL_32: %200 = load i8, i8* %37, align 1 %201 = icmp eq i8 %200, 0 %202 = icmp eq i16 %sv_1.0.reload, 0 %203 = icmp eq i1 %202, false %or.cond13 = or i1 %203, %201 br i1 %or.cond13, label LBL_35, label LBL_33 LBL_33: %204 = load i8, i8* %20, align 1 %205 = zext i8 %204 to i64 %206 = call i64 @FUNC(i64 %205) %207 = trunc i64 %206 to i8 %208 = icmp eq i8 %207, 0 br i1 %208, label LBL_35, label LBL_34 LBL_34: %209 = zext i8 %107 to i64 store i64 %209, i64* %rdx, align 8 store i64 %18, i64* %rsi, align 8 %210 = call i64 @FUNC(i64 3, i64 %18, i8 %107) %211 = trunc i64 %210 to i8 %212 = icmp eq i8 %211, 0 %213 = icmp eq i1 %212, false store i64 4, i64* %rax.0.reg2mem br i1 %213, label LBL_42, label LBL_35 LBL_35: %214 = load i64, i64* %rsi, align 8 %215 = load i64, i64* %rdx, align 8 %216 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_8, i64 0, i64 0), i64 %214, i64 %215, i64 3, i64 %3, i64 %2) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_42 LBL_36: %217 = load i8, i8* %20, align 1 %218 = zext i8 %217 to i64 %219 = call i64 @FUNC(i64 %218) %220 = trunc i64 %219 to i8 %221 = icmp eq i8 %220, 0 %222 = icmp eq i1 %221, false br i1 %222, label LBL_38, label LBL_37 LBL_37: %223 = load i64, i64* %rsi, align 8 %224 = load i64, i64* %rdx, align 8 %225 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_9, i64 0, i64 0), i64 %223, i64 %224, i64 3, i64 %3, i64 %2) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_42 LBL_38: %226 = zext i8 %107 to i64 store i64 %226, i64* %rdx, align 8 store i64 %18, i64* %rsi, align 8 %227 = call i64 @FUNC(i64 2, i64 %18, i8 %107) %228 = trunc i64 %227 to i8 %229 = icmp eq i8 %228, 0 %230 = icmp eq i1 %229, false br i1 %230, label LBL_40, label LBL_39 LBL_39: %231 = load i64, i64* %rsi, align 8 %232 = load i64, i64* %rdx, align 8 %233 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_10, i64 0, i64 0), i64 %231, i64 %232, i64 3, i64 %3, i64 %2) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_42 LBL_40: %234 = load i8, i8* %23, align 8 %235 = zext i8 %234 to i64 store i64 %235, i64* %rdx, align 8 %236 = ptrtoint i8* %arg1 to i64 %237 = add i64 %236, 1 %238 = inttoptr i64 %237 to i8* %239 = load i8, i8* %238, align 1 store i64 %235, i64* %rsi, align 8 %240 = zext i8 %239 to i64 %241 = call i64 @FUNC(i64 %240, i64 %235) %242 = trunc i64 %241 to i8 %243 = icmp eq i8 %242, 0 store i64 5, i64* %rax.0.reg2mem br i1 %243, label LBL_42, label LBL_41 LBL_41: %244 = load i64, i64* %rsi, align 8 %245 = load i64, i64* %rdx, align 8 %246 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_11, i64 0, i64 0), i64 %244, i64 %245, i64 3, i64 %3, i64 %2) store i64 5, i64* %rax.0.reg2mem br label LBL_42 LBL_42: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8 %107, { 1, 0, 9, 8, 7, 6, 5, 4, 3, 2 } uselistorder i64 %101, { 0, 2, 1 } uselistorder i16 %67, { 1, 0 } uselistorder i16 %sv_1.0.reload, { 5, 4, 3, 2, 0, 1 } uselistorder i16* %66, { 1, 0 } uselistorder i1 %52, { 1, 2, 0 } uselistorder i64 %47, { 2, 0, 1, 3, 4 } uselistorder i8* %37, { 1, 2, 3, 0, 4 } uselistorder i8* %23, { 4, 0, 1, 2, 3, 5 } uselistorder i8* %20, { 5, 1, 2, 3, 4, 0, 6 } uselistorder i64 %18, { 6, 5, 14, 13, 12, 11, 10, 9, 8, 7, 0, 1, 2, 15, 3, 4 } uselistorder i64 %17, { 0, 2, 3, 1, 5, 4, 6 } uselistorder i64 %11, { 0, 2, 1, 3 } uselistorder i16* %8, { 1, 0, 2, 3, 4 } uselistorder i64* %rdx, { 24, 15, 23, 14, 22, 21, 13, 12, 20, 11, 10, 19, 9, 8, 18, 7, 6, 5, 4, 16, 3, 2, 17, 1, 0 } uselistorder i64* %rsi, { 20, 11, 19, 10, 18, 17, 9, 8, 16, 7, 6, 15, 5, 4, 14, 3, 2, 1, 13, 0, 12 } uselistorder i64 %3, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %2, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i16* %.reg2mem, { 0, 2, 1 } uselistorder i8** %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i16* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i8** %sv_0.1.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 12, 2, 11, 10, 16, 3, 15, 4, 14, 5, 13, 6, 1, 9, 8, 7, 17 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 5, { 1, 0 } uselistorder i64 (i64, i64)* @RFCOMM_FRAME_IS_CMD, { 1, 0 } uselistorder i64 (i64, i64, i8)* @rfc_check_fcs, { 4, 3, 2, 1, 0 } uselistorder i64 (i64)* @RFCOMM_VALID_DLCI, { 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @RFCOMM_FRAME_IS_RSP, { 2, 1, 0 } uselistorder i16 1, { 1, 0 } uselistorder i16 0, { 1, 2, 3, 4, 0 } uselistorder i64 3, { 5, 6, 7, 1, 9, 2, 0, 10, 3, 11, 4, 12, 13, 8, 14 } uselistorder i1 false, { 3, 4, 5, 0, 6, 7, 8, 1, 9, 10, 2, 11, 12, 13, 14, 15, 16, 17 } uselistorder i64 1, { 2, 3, 4, 5, 0, 6, 7, 8, 9, 10, 11, 12, 1 } uselistorder i64 4294967295, { 5, 4, 9, 8, 7, 6, 0, 3, 2, 1, 10, 11 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @RFCOMM_TRACE_ERROR, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i16 4, { 2, 0, 1 } uselistorder i64 2, { 2, 0, 3, 1, 4, 5 } uselistorder i8* %arg1, { 0, 4, 3, 2, 1 } uselistorder label LBL_42, { 6, 1, 7, 8, 9, 2, 10, 3, 11, 4, 12, 5, 0, 13, 14, 15, 16 } uselistorder label LBL_30, { 1, 2, 0 } }
1
BinRealVul
h263_decode_init_264
h263_decode_init
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = ptrtoint i32* %arg1 to i64 %1 = add i64 %0, 16 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = inttoptr i64 %3 to i64* store i64 %0, i64* %4, align 8 %5 = add i64 %3, 8 %6 = inttoptr i64 %5 to i32* store i32 1, i32* %6, align 4 %7 = bitcast i64* %rdi to i32* %8 = load i32, i32* %7, align 8 %9 = add i64 %3, 12 %10 = inttoptr i64 %9 to i32* store i32 %8, i32* %10, align 4 %11 = add i64 %0, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = add i64 %3, 16 %15 = inttoptr i64 %14 to i32* store i32 %13, i32* %15, align 4 %16 = add i64 %0, 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = zext i32 %20 to i64 store i64 %21, i64* @0, align 8 store i64 4294967295, i64* %rax.0.reg2mem switch i32 %20, label LBL_13 [ 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 i32 7, label LBL_7 ] LBL_1: %22 = add i64 %3, 20 %23 = inttoptr i64 %22 to i32* store i32 0, i32* %23, align 4 %24 = add i64 %3, 24 %25 = inttoptr i64 %24 to i32* store i32 0, i32* %25, align 4 br label LBL_8 LBL_2: %26 = add i64 %3, 28 %27 = inttoptr i64 %26 to i32* store i32 4, i32* %27, align 4 %28 = add i64 %3, 32 %29 = inttoptr i64 %28 to i32* store i32 1, i32* %29, align 4 %30 = add i64 %3, 36 %31 = inttoptr i64 %30 to i32* store i32 1, i32* %31, align 4 br label LBL_8 LBL_3: %32 = add i64 %3, 40 %33 = inttoptr i64 %32 to i32* store i32 1, i32* %33, align 4 %34 = add i64 %3, 32 %35 = inttoptr i64 %34 to i32* store i32 1, i32* %35, align 4 %36 = add i64 %3, 44 %37 = inttoptr i64 %36 to i32* store i32 1, i32* %37, align 4 br label LBL_8 LBL_4: %38 = add i64 %3, 40 %39 = inttoptr i64 %38 to i32* store i32 1, i32* %39, align 4 %40 = add i64 %3, 32 %41 = inttoptr i64 %40 to i32* store i32 1, i32* %41, align 4 %42 = add i64 %3, 44 %43 = inttoptr i64 %42 to i32* store i32 2, i32* %43, align 4 br label LBL_8 LBL_5: %44 = add i64 %3, 40 %45 = inttoptr i64 %44 to i32* store i32 1, i32* %45, align 4 %46 = add i64 %3, 32 %47 = inttoptr i64 %46 to i32* store i32 1, i32* %47, align 4 %48 = add i64 %3, 44 %49 = inttoptr i64 %48 to i32* store i32 3, i32* %49, align 4 br label LBL_8 LBL_6: %50 = add i64 %3, 40 %51 = inttoptr i64 %50 to i32* store i32 1, i32* %51, align 4 %52 = add i64 %3, 32 %53 = inttoptr i64 %52 to i32* store i32 1, i32* %53, align 4 %54 = add i64 %3, 44 %55 = inttoptr i64 %54 to i32* store i32 4, i32* %55, align 4 br label LBL_8 LBL_7: %56 = add i64 %3, 48 %57 = inttoptr i64 %56 to i32* store i32 1, i32* %57, align 4 br label LBL_8 LBL_8: %58 = load i64, i64* %17, align 8 %59 = inttoptr i64 %58 to i32* %60 = load i32, i32* %59, align 4 %61 = add i64 %3, 52 %62 = inttoptr i64 %61 to i32* store i32 %60, i32* %62, align 4 %63 = load i64, i64* %17, align 8 %64 = inttoptr i64 %63 to i32* %65 = load i32, i32* %64, align 4 %.off = add i32 %65, -1 %switch = icmp ult i32 %.off, 2 br i1 %switch, label LBL_10, label LBL_9 LBL_9: %66 = call i64 @FUNC(i64 %3) %67 = trunc i64 %66 to i32 %68 = icmp slt i32 %67, 0 %69 = icmp eq i1 %68, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %69, label LBL_10, label LBL_13 LBL_10: %70 = add i64 %3, 40 %71 = inttoptr i64 %70 to i32* %72 = load i32, i32* %71, align 4 %73 = icmp eq i32 %72, 0 br i1 %73, label LBL_12, label LBL_11 LBL_11: %74 = call i64 @FUNC(i64 %3) store i64 0, i64* %rax.0.reg2mem br label LBL_13 LBL_12: %75 = call i64 @FUNC(i64 %3) store i64 0, i64* %rax.0.reg2mem br label LBL_13 LBL_13: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %3, { 20, 19, 18, 17, 21, 22, 14, 15, 16, 11, 12, 13, 8, 9, 10, 5, 6, 7, 2, 3, 4, 0, 1, 23, 24, 25, 26 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i64 40, { 4, 0, 1, 2, 3 } uselistorder i32 4, { 1, 2, 0 } uselistorder i32 3, { 1, 0 } uselistorder i32 2, { 0, 2, 1 } uselistorder label LBL_13, { 1, 0, 2, 3 } uselistorder label LBL_10, { 1, 0 } }
0
BinRealVul
show_object_6180
show_object
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %arg2) %2 = add i64 %0, 20 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = call i64 @FUNC(i64 %0, i32 %4, i64 %arg2, i64 0) %6 = add i64 %0, 24 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = or i32 %8, 1 store i32 %9, i32* %7, align 4 ret i64 %0 }
0
BinRealVul
gnra_box_dump_12061
gnra_box_dump
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %.pre = bitcast i64* %arg1 to i32* br i1 %3, label LBL_2, label LBL_1 LBL_1: store i32 %2, i32* %.pre, align 4 br label LBL_2 LBL_2: %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i64 %arg2) %6 = add i64 %4, 16 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = add i64 %4, 12 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = add i64 %4, 8 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = add i64 %4, 4 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = zext i32 %11 to i64 %19 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([116 x i8], [116 x i8]* @gv_1, i64 0, i64 0), i32 %17, i32 %14, i64 %18, i32 %8) store i32 1, i32* %.pre, align 4 %20 = add i64 %4, 40 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = add i64 %4, 32 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = call i64 @FUNC(i64 %25, i64 %22, i64 %arg2) %27 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %arg2) ret i64 0 uselistorder i64 %4, { 0, 2, 1, 5, 6, 4, 3, 7 } uselistorder i64 %arg2, { 1, 0, 2, 3 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
dec_rcsr_14279
dec_rcsr
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 4 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = and i64 %1, 4294967295 %7 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i64 %6, i32 %5) store i64 %2, i64* @0, align 8 switch i64 %2, label LBL_12 [ i64 1, label LBL_1 i64 2, label LBL_2 i64 3, label LBL_3 i64 4, label LBL_4 i64 5, label LBL_5 i64 6, label LBL_6 i64 7, label LBL_7 i64 8, label LBL_8 i64 9, label LBL_9 i64 10, label LBL_10 i64 11, label LBL_11 i64 12, label LBL_11 i64 13, label LBL_11 i64 14, label LBL_11 i64 15, label LBL_11 i64 16, label LBL_11 i64 17, label LBL_11 i64 18, label LBL_11 i64 19, label LBL_11 i64 20, label LBL_11 ] LBL_1: %8 = load i32, i32* @gv_1, align 4 %sext9 = mul i64 %1, 4294967296 %9 = ashr exact i64 %sext9, 30 %10 = add i64 %9, ptrtoint (i32** @gv_2 to i64) %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = zext i32 %8 to i64 %14 = zext i32 %12 to i64 %15 = call i64 @FUNC(i64 %14, i64 %13) store i64 %15, i64* %rax.0.reg2mem br label LBL_13 LBL_2: %16 = load i64, i64* @gv_3, align 8 %sext8 = mul i64 %1, 4294967296 %17 = ashr exact i64 %sext8, 30 %18 = add i64 %17, ptrtoint (i32** @gv_2 to i64) %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = zext i32 %20 to i64 %22 = call i64 @FUNC(i64 %21, i64 %16) store i64 %22, i64* %rax.0.reg2mem br label LBL_13 LBL_3: %23 = load i64, i64* @gv_3, align 8 %sext7 = mul i64 %1, 4294967296 %24 = ashr exact i64 %sext7, 30 %25 = add i64 %24, ptrtoint (i32** @gv_2 to i64) %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = zext i32 %27 to i64 %29 = call i64 @FUNC(i64 %28, i64 %23) store i64 %29, i64* %rax.0.reg2mem br label LBL_13 LBL_4: %30 = load i32, i32* @gv_4, align 4 %sext6 = mul i64 %1, 4294967296 %31 = ashr exact i64 %sext6, 30 %32 = add i64 %31, ptrtoint (i32** @gv_2 to i64) %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = zext i32 %30 to i64 %36 = zext i32 %34 to i64 %37 = call i64 @FUNC(i64 %36, i64 %35) store i64 %37, i64* %rax.0.reg2mem br label LBL_13 LBL_5: %38 = load i32, i32* @gv_5, align 4 %sext5 = mul i64 %1, 4294967296 %39 = ashr exact i64 %sext5, 30 %40 = add i64 %39, ptrtoint (i32** @gv_2 to i64) %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = zext i32 %38 to i64 %44 = zext i32 %42 to i64 %45 = call i64 @FUNC(i64 %44, i64 %43) store i64 %45, i64* %rax.0.reg2mem br label LBL_13 LBL_6: %46 = load i32, i32* @gv_6, align 4 %sext4 = mul i64 %1, 4294967296 %47 = ashr exact i64 %sext4, 30 %48 = add i64 %47, ptrtoint (i32** @gv_2 to i64) %49 = inttoptr i64 %48 to i32* %50 = load i32, i32* %49, align 4 %51 = zext i32 %46 to i64 %52 = zext i32 %50 to i64 %53 = call i64 @FUNC(i64 %52, i64 %51) store i64 %53, i64* %rax.0.reg2mem br label LBL_13 LBL_7: %54 = load i32, i32* @gv_7, align 4 %sext3 = mul i64 %1, 4294967296 %55 = ashr exact i64 %sext3, 30 %56 = add i64 %55, ptrtoint (i32** @gv_2 to i64) %57 = inttoptr i64 %56 to i32* %58 = load i32, i32* %57, align 4 %59 = zext i32 %54 to i64 %60 = zext i32 %58 to i64 %61 = call i64 @FUNC(i64 %60, i64 %59) store i64 %61, i64* %rax.0.reg2mem br label LBL_13 LBL_8: %62 = load i32, i32* @gv_8, align 4 %sext2 = mul i64 %1, 4294967296 %63 = ashr exact i64 %sext2, 30 %64 = add i64 %63, ptrtoint (i32** @gv_2 to i64) %65 = inttoptr i64 %64 to i32* %66 = load i32, i32* %65, align 4 %67 = zext i32 %62 to i64 %68 = zext i32 %66 to i64 %69 = call i64 @FUNC(i64 %68, i64 %67) store i64 %69, i64* %rax.0.reg2mem br label LBL_13 LBL_9: %70 = load i64, i64* @gv_3, align 8 %sext1 = mul i64 %1, 4294967296 %71 = ashr exact i64 %sext1, 30 %72 = add i64 %71, ptrtoint (i32** @gv_2 to i64) %73 = inttoptr i64 %72 to i32* %74 = load i32, i32* %73, align 4 %75 = zext i32 %74 to i64 %76 = call i64 @FUNC(i64 %75, i64 %70) store i64 %76, i64* %rax.0.reg2mem br label LBL_13 LBL_10: %77 = load i64, i64* @gv_3, align 8 %sext = mul i64 %1, 4294967296 %78 = ashr exact i64 %sext, 30 %79 = add i64 %78, ptrtoint (i32** @gv_2 to i64) %80 = inttoptr i64 %79 to i32* %81 = load i32, i32* %80, align 4 %82 = zext i32 %81 to i64 %83 = call i64 @FUNC(i64 %82, i64 %77) store i64 %83, i64* %rax.0.reg2mem br label LBL_13 LBL_11: %84 = load i32, i32* %4, align 4 %85 = add i64 %2, 8 %86 = inttoptr i64 %85 to i64* %87 = load i64, i64* %86, align 8 %88 = call i64 @FUNC(i64 %87, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_9, i64 0, i64 0), i32 %84) unreachable LBL_12: %89 = load i32, i32* %4, align 4 %90 = add i64 %2, 8 %91 = inttoptr i64 %90 to i64* %92 = load i64, i64* %91, align 8 %93 = call i64 @FUNC(i64 %92, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_10, i64 0, i64 0), i32 %89) unreachable LBL_13: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %4, { 1, 0, 2 } uselistorder i64 %2, { 2, 1, 0, 4, 3 } uselistorder i64 %1, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1 } uselistorder i64 (i64, i64)* @tcg_gen_mov_tl, { 5, 4, 3, 2, 1, 0 } uselistorder i64 ptrtoint (i32** @gv_2 to i64), { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 30, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 8, { 1, 0, 2 } }
1
BinRealVul
remove_full_8907
remove_full
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 = urem i64 %1, 2 %3 = icmp eq i64 %2, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = ptrtoint i64* %arg2 to i64 %5 = call i64 @FUNC(i64 %4) %6 = ptrtoint i32* %arg1 to i64 %7 = and i64 %5, 4294967295 %8 = call i64 @FUNC(i64 %6, i64 %7) %9 = call i64 @FUNC(i64 %8) %10 = call i64 @FUNC(i64 %4) %11 = call i64 @FUNC(i64 %8) store i64 %11, 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 label LBL_2, { 1, 0 } }
0
BinRealVul
dm_get_from_kobject_11822
dm_get_from_kobject
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = urem i64 %0, 2 %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false store i64 0, i64* %storemerge.reg2mem br i1 %3, label LBL_3, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %0) %5 = trunc i64 %4 to i8 %6 = icmp eq i8 %5, 0 store i64 0, i64* %storemerge.reg2mem br i1 %6, label LBL_2, label LBL_3 LBL_2: %7 = call i64 @FUNC(i64 %0) 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 %0, { 0, 2, 3, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder label LBL_3, { 2, 1, 0 } }
1
BinRealVul
ff_xvmc_init_block_13867
ff_xvmc_init_block
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %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 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 26, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0)) br label LBL_3 LBL_2: %6 = inttoptr i64 %3 to i32* %7 = load i32, i32* %6, align 4 %8 = icmp eq i32 %7, 305419896 br i1 %8, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 28, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0)) br label LBL_4 LBL_4: %9 = add i64 %3, 8 %10 = add i64 %3, 4 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = mul i32 %12, 64 %14 = sext i32 %13 to i64 %15 = add i64 %9, %14 %16 = add i64 %0, 24 %17 = inttoptr i64 %16 to i64* store i64 %15, i64* %17, align 8 ret i64 %0 uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
snmp_version_11354
snmp_version
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i8* %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i8 %3 = icmp ult i8 %2, 2 %. = select i1 %3, i64 1, i64 4294967201 ret i64 %. }
1
BinRealVul
gf_isom_sample_entry_init_6350
gf_isom_sample_entry_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = bitcast i64* %arg1 to i32* store i32 1, i32* %1, align 4 ret i64 %0 }
0
BinRealVul
fbcon_get_font_13242
fbcon_get_font
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.49.reg2mem = alloca i64 %sv_1.410.reg2mem = alloca i64 %storemerge411.reg2mem = alloca i32 %sv_0.317.reg2mem = alloca i64 %sv_1.318.reg2mem = alloca i64 %storemerge219.reg2mem = alloca i32 %storemerge3.lcssa.reg2mem = alloca i32 %sv_1.2.lcssa.reg2mem = alloca i64 %sv_0.2.lcssa.reg2mem = alloca i64 %sv_0.212.reg2mem = alloca i64 %sv_1.213.reg2mem = alloca i64 %storemerge314.reg2mem = alloca i32 %sv_0.120.reg2mem = alloca i64 %sv_1.121.reg2mem = alloca i64 %storemerge122.reg2mem = alloca i32 %sv_0.023.reg2mem = alloca i64 %sv_1.024.reg2mem = alloca i64 %storemerge25.reg2mem = alloca i32 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = add i64 %1, 8 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i32* store i32 %4, i32* %6, align 4 %7 = add i64 %1, 12 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = add i64 %0, 12 %11 = inttoptr i64 %10 to i32* store i32 %9, i32* %11, align 4 %12 = add i64 %1, 16 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = icmp eq i32 %14, 0 %. = select i1 %15, i32 256, i32 512 %16 = add i64 %0, 16 %17 = inttoptr i64 %16 to i32* store i32 %., i32* %17, align 4 %18 = icmp eq i64* %arg2, null %19 = icmp eq i1 %18, false br i1 %19, label LBL_1, label LBL_13 LBL_1: %20 = load i32, i32* %6, align 4 %21 = icmp sgt i32 %20, 8 br i1 %21, label LBL_4, label LBL_2 LBL_2: %22 = load i32, i32* %8, align 4 %23 = sub i32 32, %22 %24 = sext i32 %22 to i64 store i32 0, i32* %storemerge25.reg2mem store i64 %0, i64* %sv_1.024.reg2mem store i64 %1, i64* %sv_0.023.reg2mem br label LBL_3 LBL_3: %sv_0.023.reload = load i64, i64* %sv_0.023.reg2mem %sv_1.024.reload = load i64, i64* %sv_1.024.reg2mem %storemerge25.reload = load i32, i32* %storemerge25.reg2mem %25 = inttoptr i64 %sv_1.024.reload to i64* %26 = inttoptr i64 %sv_0.023.reload to i64* %27 = call i64* @memcpy(i64* %25, i64* %26, i32 %22) %28 = add i64 %sv_1.024.reload, %24 %29 = inttoptr i64 %28 to i64* %30 = call i64* @memset(i64* %29, i32 0, i32 %23) %31 = add i64 %sv_1.024.reload, 32 %32 = add i64 %sv_0.023.reload, %24 %33 = add i32 %storemerge25.reload, 1 %34 = load i32, i32* %17, align 4 %35 = zext i32 %34 to i64 %36 = sext i32 %33 to i64 %37 = icmp slt i64 %36, %35 store i32 %33, i32* %storemerge25.reg2mem store i64 %31, i64* %sv_1.024.reg2mem store i64 %32, i64* %sv_0.023.reg2mem br i1 %37, label LBL_3, label LBL_13 LBL_4: %38 = icmp sgt i32 %20, 16 br i1 %38, label LBL_7, label LBL_5 LBL_5: %39 = load i32, i32* %8, align 4 %40 = mul i32 %39, 2 %41 = sub i32 64, %40 %42 = sext i32 %40 to i64 store i32 0, i32* %storemerge122.reg2mem store i64 %0, i64* %sv_1.121.reg2mem store i64 %1, i64* %sv_0.120.reg2mem br label LBL_6 LBL_6: %sv_0.120.reload = load i64, i64* %sv_0.120.reg2mem %sv_1.121.reload = load i64, i64* %sv_1.121.reg2mem %storemerge122.reload = load i32, i32* %storemerge122.reg2mem %43 = inttoptr i64 %sv_1.121.reload to i64* %44 = inttoptr i64 %sv_0.120.reload to i64* %45 = call i64* @memcpy(i64* %43, i64* %44, i32 %40) %46 = add i64 %sv_1.121.reload, %42 %47 = inttoptr i64 %46 to i64* %48 = call i64* @memset(i64* %47, i32 0, i32 %41) %49 = add i64 %sv_1.121.reload, 64 %50 = add i64 %sv_0.120.reload, %42 %51 = add i32 %storemerge122.reload, 1 %52 = load i32, i32* %17, align 4 %53 = zext i32 %52 to i64 %54 = sext i32 %51 to i64 %55 = icmp slt i64 %54, %53 store i32 %51, i32* %storemerge122.reg2mem store i64 %49, i64* %sv_1.121.reg2mem store i64 %50, i64* %sv_0.120.reg2mem br i1 %55, label LBL_6, label LBL_13 LBL_7: %56 = icmp sgt i32 %20, 24 store i32 0, i32* %storemerge219.reg2mem store i64 %0, i64* %sv_1.318.reg2mem store i64 %1, i64* %sv_0.317.reg2mem br i1 %56, label LBL_11, label LBL_10 LBL_8: %sv_0.212.reload = load i64, i64* %sv_0.212.reg2mem %sv_1.213.reload = load i64, i64* %sv_1.213.reg2mem %storemerge314.reload = load i32, i32* %storemerge314.reg2mem %57 = add i64 %sv_1.213.reload, 1 %58 = inttoptr i64 %sv_0.212.reload to i8* %59 = load i8, i8* %58, align 1 %60 = inttoptr i64 %sv_1.213.reload to i8* store i8 %59, i8* %60, align 1 %61 = add i64 %sv_1.213.reload, 2 %62 = add i64 %sv_0.212.reload, 1 %63 = inttoptr i64 %62 to i8* %64 = load i8, i8* %63, align 1 %65 = inttoptr i64 %57 to i8* store i8 %64, i8* %65, align 1 %66 = add i64 %sv_1.213.reload, 3 %67 = add i64 %sv_0.212.reload, 2 %68 = inttoptr i64 %67 to i8* %69 = load i8, i8* %68, align 1 %70 = inttoptr i64 %61 to i8* store i8 %69, i8* %70, align 1 %71 = add i64 %sv_0.212.reload, 4 %72 = add i32 %storemerge314.reload, 1 %73 = load i32, i32* %8, align 4 %74 = zext i32 %73 to i64 %75 = sext i32 %72 to i64 %76 = icmp slt i64 %75, %74 store i32 %72, i32* %storemerge314.reg2mem store i64 %66, i64* %sv_1.213.reg2mem store i64 %71, i64* %sv_0.212.reg2mem store i64 %71, i64* %sv_0.2.lcssa.reg2mem store i64 %66, i64* %sv_1.2.lcssa.reg2mem store i32 %72, i32* %storemerge3.lcssa.reg2mem br i1 %76, label LBL_8, label LBL_9 LBL_9: %storemerge3.lcssa.reload = load i32, i32* %storemerge3.lcssa.reg2mem %sv_1.2.lcssa.reload = load i64, i64* %sv_1.2.lcssa.reg2mem %sv_0.2.lcssa.reload = load i64, i64* %sv_0.2.lcssa.reg2mem %77 = sub i32 32, %storemerge3.lcssa.reload %78 = mul i32 %77, 3 %79 = inttoptr i64 %sv_1.2.lcssa.reload to i64* %80 = call i64* @memset(i64* %79, i32 0, i32 %78) %81 = sext i32 %78 to i64 %82 = add i64 %sv_1.2.lcssa.reload, %81 %83 = add i32 %storemerge219.reload, 1 %84 = load i32, i32* %17, align 4 %85 = zext i32 %84 to i64 %86 = sext i32 %83 to i64 %87 = icmp slt i64 %86, %85 store i32 %83, i32* %storemerge219.reg2mem store i64 %82, i64* %sv_1.318.reg2mem store i64 %sv_0.2.lcssa.reload, i64* %sv_0.317.reg2mem br i1 %87, label LBL_10, label LBL_13 LBL_10: %sv_0.317.reload = load i64, i64* %sv_0.317.reg2mem %sv_1.318.reload = load i64, i64* %sv_1.318.reg2mem %storemerge219.reload = load i32, i32* %storemerge219.reg2mem %88 = load i32, i32* %8, align 4 %89 = icmp eq i32 %88, 0 store i32 0, i32* %storemerge314.reg2mem store i64 %sv_1.318.reload, i64* %sv_1.213.reg2mem store i64 %sv_0.317.reload, i64* %sv_0.212.reg2mem store i64 %sv_0.317.reload, i64* %sv_0.2.lcssa.reg2mem store i64 %sv_1.318.reload, i64* %sv_1.2.lcssa.reg2mem store i32 0, i32* %storemerge3.lcssa.reg2mem br i1 %89, label LBL_9, label LBL_8 LBL_11: %90 = load i32, i32* %8, align 4 %91 = mul i32 %90, 4 %92 = sub i32 128, %91 %93 = sext i32 %91 to i64 store i32 0, i32* %storemerge411.reg2mem store i64 %0, i64* %sv_1.410.reg2mem store i64 %1, i64* %sv_0.49.reg2mem br label LBL_12 LBL_12: %sv_0.49.reload = load i64, i64* %sv_0.49.reg2mem %sv_1.410.reload = load i64, i64* %sv_1.410.reg2mem %storemerge411.reload = load i32, i32* %storemerge411.reg2mem %94 = inttoptr i64 %sv_1.410.reload to i64* %95 = inttoptr i64 %sv_0.49.reload to i64* %96 = call i64* @memcpy(i64* %94, i64* %95, i32 %91) %97 = add i64 %sv_1.410.reload, %93 %98 = inttoptr i64 %97 to i64* %99 = call i64* @memset(i64* %98, i32 0, i32 %92) %100 = add i64 %sv_1.410.reload, 128 %101 = add i64 %sv_0.49.reload, %93 %102 = add i32 %storemerge411.reload, 1 %103 = load i32, i32* %17, align 4 %104 = zext i32 %103 to i64 %105 = sext i32 %102 to i64 %106 = icmp slt i64 %105, %104 store i32 %102, i32* %storemerge411.reg2mem store i64 %100, i64* %sv_1.410.reg2mem store i64 %101, i64* %sv_0.49.reg2mem br i1 %106, label LBL_12, label LBL_13 LBL_13: ret i64 0 uselistorder i64 %sv_1.410.reload, { 0, 2, 1 } uselistorder i64 %sv_0.49.reload, { 1, 0 } uselistorder i32 %91, { 1, 2, 0 } uselistorder i64 %sv_1.318.reload, { 1, 0 } uselistorder i64 %sv_0.317.reload, { 1, 0 } uselistorder i64 %sv_1.2.lcssa.reload, { 1, 0 } uselistorder i64 %sv_1.213.reload, { 3, 2, 0, 1 } uselistorder i64 %sv_1.121.reload, { 1, 2, 0 } uselistorder i64 %sv_0.120.reload, { 1, 0 } uselistorder i32 %40, { 2, 0, 1 } uselistorder i64 %sv_1.024.reload, { 1, 2, 0 } uselistorder i64 %sv_0.023.reload, { 1, 0 } uselistorder i32* %17, { 3, 2, 1, 0, 4 } uselistorder i32* %8, { 4, 0, 3, 2, 1, 5 } uselistorder i32* %storemerge25.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.024.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.023.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge122.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.121.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.120.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge314.reg2mem, { 1, 2, 0 } uselistorder i64* %sv_1.213.reg2mem, { 1, 2, 0 } uselistorder i64* %sv_0.212.reg2mem, { 1, 2, 0 } uselistorder i64* %sv_0.2.lcssa.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.2.lcssa.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge3.lcssa.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge219.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_1.318.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.317.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge411.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.410.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.49.reg2mem, { 1, 0, 2 } uselistorder i64 2, { 1, 0 } uselistorder i64* (i64*, i32, i32)* @memset, { 2, 3, 0, 1 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 2, 1, 0 } uselistorder i32 0, { 7, 0, 2, 3, 6, 8, 1, 9, 4, 10, 5, 11 } uselistorder label LBL_13, { 3, 2, 1, 0, 4 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
qemu_spice_destroy_host_primary_15301
qemu_spice_destroy_host_primary
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %2, i64 %1) %5 = call i64 @FUNC() %6 = call i64 @FUNC() ret i64 %6 uselistorder i64* %0, { 2, 1, 0 } }
1
BinRealVul
ffurl_read_complete_187
ffurl_read_complete
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 = urem i64 %1, 2 %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false store i64 4294967291, i64* %storemerge.reg2mem br i1 %4, label LBL_1, label LBL_2 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 = load i64, i64* %8, align 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = trunc i64 %arg3 to i32 %13 = call i64 @FUNC(i64 %6, i64 %5, i32 %12, i32 %12, i64 %11) store i64 %13, 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 label LBL_2, { 1, 0 } }
0
BinRealVul
msf_probe_16113
msf_probe
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i32 @memcmp(i64* %arg1, i64* bitcast ([4 x i8]* @gv_0 to i64*), i32 3) %1 = icmp eq i32 %0, 0 store i64 0, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_3 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_2, label LBL_3 LBL_2: %8 = add i64 %2, 16 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false %. = select i1 %12, i64 66, i64 0 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 i64 %2, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } }
1
BinRealVul
vnc_flush_10392
vnc_flush
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %1 to i32 %5 = icmp eq i32 %4, -1 br i1 %5, label LBL_3, label LBL_1 LBL_1: %6 = add i64 %2, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = call i64 @FUNC(i64 %2) br label LBL_3 LBL_3: %11 = call i64 @FUNC(i64 %2) ret i64 %11 uselistorder i64 %2, { 2, 1, 0, 3 } }
0
BinRealVul
synic_set_irq_5954
synic_set_irq
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false %7 = trunc i64 %1 to i32 %8 = icmp ult i32 %7, 16 %or.cond = icmp eq i1 %8, %6 store i64 4294967274, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_1, label LBL_3 LBL_1: %9 = and i64 %1, 4294967295 %10 = call i64 @FUNC(i64 %0, i64 %9) %11 = and i64 %10, 4294967295 %12 = call i64 @FUNC(i64 %11) %13 = trunc i64 %12 to i32 %14 = icmp slt i32 %13, 0 %15 = icmp eq i1 %14, false store i64 4294967294, i64* %rax.0.reg2mem br i1 %15, label LBL_2, label LBL_3 LBL_2: %16 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 20) store i64 0, i64* %sv_0, align 8 %17 = inttoptr i64 %2 to i64* %18 = load i64, i64* %17, align 8 %19 = add i64 %2, 8 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = call i64 @FUNC(i64 %21, i64 %18, i64* nonnull %sv_0, i64 0) %23 = trunc i64 %22 to i32 %24 = add i64 %2, 16 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = zext i32 %26 to i64 %28 = call i64 @FUNC(i64 %27, i32 %7, i32 %13, i32 %23) %29 = and i64 %22, 4294967295 store i64 %29, 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 %2, { 0, 2, 1, 3 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %sv_0, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder label LBL_3, { 2, 0, 1 } }
0
BinRealVul
FstringParser_Finish_13407
FstringParser_Finish
define i64 @FUNC(i64* %arg1, i64* %arg2, i32* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rsi.1.reg2mem = alloca i64 %.pre-phi.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 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %1 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_6, label LBL_1 LBL_1: %9 = add i64 %4, 4 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp eq i32 %11, 0 br i1 %12, label LBL_3, label LBL_2 LBL_2: call void @__assert_fail(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_1, i64 0, i64 0), i32 37, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0)) br label LBL_3 LBL_3: %13 = add i64 %4, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = icmp eq i64 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_5, label LBL_4 LBL_4: %18 = call i64 @FUNC(i64 0, i64 0) store i64 %18, i64* %14, align 8 %19 = icmp eq i64 %18, 0 br i1 %19, label LBL_14, label LBL_5 LBL_5: %20 = ptrtoint i32* %arg3 to i64 %21 = call i64 @FUNC(i64 %13, i64 %3, i64 %20) store i64 %21, i64* %rax.0.reg2mem br label LBL_15 LBL_6: %22 = add i64 %4, 8 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = icmp eq i64 %24, 0 br i1 %25, label LBL_6.LBL_12_crit_edge, label LBL_8 LBL_7: %.pre = add i64 %4, 4 store i64 %.pre, i64* %.pre-phi.reg2mem store i64 %3, i64* %rsi.1.reg2mem br label LBL_12 LBL_8: %26 = ptrtoint i32* %arg3 to i64 %27 = call i64 @FUNC(i64 %22, i64 %3, i64 %26) %28 = icmp eq i64 %27, 0 br i1 %28, label LBL_14, label LBL_9 LBL_9: %29 = add i64 %4, 4 %30 = call i64 @FUNC(i64 %29, i64 %27) %31 = trunc i64 %30 to i32 %32 = icmp slt i32 %31, 0 br i1 %32, label LBL_14, label LBL_10 LBL_10: %.pr = load i64, i64* %23, align 8 %33 = icmp eq i64 %.pr, 0 store i64 %29, i64* %.pre-phi.reg2mem store i64 %27, i64* %rsi.1.reg2mem br i1 %33, label LBL_12, label LBL_11 LBL_11: call void @__assert_fail(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_1, i64 0, i64 0), i32 47, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0)) store i64 %29, i64* %.pre-phi.reg2mem store i64 ptrtoint ([54 x i8]* @gv_1 to i64), i64* %rsi.1.reg2mem br label LBL_12 LBL_12: %rsi.1.reload = load i64, i64* %rsi.1.reg2mem %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %34 = call i64 @FUNC(i64 %.pre-phi.reload, i64 %rsi.1.reload) %35 = icmp eq i64 %34, 0 br i1 %35, label LBL_14, label LBL_13 LBL_13: %36 = ptrtoint i32* %arg3 to i64 %37 = call i64 @FUNC(i64 %36) %38 = and i64 %37, 4294967295 %39 = and i64 %2, 4294967295 %40 = call i64 @FUNC(i64 %34, i64 %38, i64 %39, i64 %rsi.1.reload) store i64 %40, i64* %rax.0.reg2mem br label LBL_15 LBL_14: %41 = call i64 @FUNC(i64 %4) store i64 0, 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 %rsi.1.reload, { 1, 0 } uselistorder i64 %29, { 1, 0, 2 } uselistorder i64 %4, { 3, 2, 0, 4, 1, 5, 6 } uselistorder i64 %3, { 2, 0, 1 } uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rsi.1.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64, i64)* @make_str_node_and_del, { 1, 0 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 } uselistorder [54 x i8]* @gv_1, { 1, 0 } uselistorder i64 4, { 1, 0, 2 } uselistorder i32* %arg3, { 2, 1, 0 } uselistorder label LBL_14, { 0, 2, 1, 3 } uselistorder label LBL_12, { 1, 2, 0 } }
0
BinRealVul
ftp_abort_16964
ftp_abort
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = load [7 x i8]*, [7 x i8]** @gv_0, align 8 %2 = ptrtoint [7 x i8]* %1 to i64 %3 = call i64 @FUNC(i64 %0, i64 %2, i64 0, i64 0) %4 = trunc i64 %3 to i32 %5 = icmp slt i32 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_3, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 %0) %8 = call i64 @FUNC(i64 %0) %9 = trunc i64 %8 to i32 %10 = icmp slt i32 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_4, label LBL_2 LBL_2: %12 = call i64 @FUNC(i64 %0, i64 0, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0)) %13 = and i64 %8, 4294967295 store i64 %13, i64* %rax.0.reg2mem br label LBL_7 LBL_3: %14 = call i64 @FUNC(i64 %0) br label LBL_4 LBL_4: %15 = call i64 @FUNC(i64 %0, i64 0, i64* nonnull @gv_2) %16 = trunc i64 %15 to i32 %17 = icmp sgt i32 %16, 224 store i64 0, i64* %rax.0.reg2mem br i1 %17, label LBL_7, label LBL_5 LBL_5: %18 = call i64 @FUNC(i64 %0) %19 = call i64 @FUNC(i64 %0) %20 = trunc i64 %19 to i32 %21 = icmp slt i32 %20, 0 %22 = icmp eq i1 %21, false store i64 0, i64* %rax.0.reg2mem br i1 %22, label LBL_7, label LBL_6 LBL_6: %23 = call i64 @FUNC(i64 %0, i64 0, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0)) %24 = and i64 %19, 4294967295 store i64 %24, 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 %0, { 2, 3, 4, 5, 6, 0, 1, 7, 8 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 } uselistorder i64 (i64, i64, i8*)* @av_log, { 1, 0 } uselistorder i64 (i64)* @ftp_connect_control_connection, { 1, 0 } uselistorder label LBL_7, { 2, 1, 0, 3 } }
1
BinRealVul
zerocopy_sg_from_iovec_5259
zerocopy_sg_from_iovec
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.3.ph28.reg2mem = alloca i64 %sv_1.2.ph29.reg2mem = alloca i64 %sv_2.1.ph30.reg2mem = alloca i32 %.in.reg2mem = alloca i64 %sv_3.025.reg2mem = alloca i32 %sv_2.026.reg2mem = alloca i32 %sv_4.027.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %sv_0.323.reg2mem = alloca i64 %sv_1.224.reg2mem = alloca i64 %.in57.reg2mem = alloca i64 %sv_5.231.reg2mem = alloca i64 %sv_0.232.reg2mem = alloca i64 %sv_1.133.reg2mem = alloca i64 %sv_6.034.reg2mem = alloca i32 %sv_7.035.reg2mem = alloca i32 %rdi.036.reg2mem = alloca i64 %sv_5.047.reg2mem = alloca i64 %sv_0.048.reg2mem = alloca i64 %sv_1.049.in.in.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_8 = alloca i64, align 8 %sv_9 = alloca i64, align 8 %2 = ptrtoint i64* %sv_9 to i64 %3 = trunc i64 %arg3 to i32 %4 = and i64 %arg4, 4294967295 %5 = call i64 @FUNC(i64 %0, i64 %4) %6 = trunc i64 %5 to i32 %7 = sub i32 %6, %3 %8 = call i64 @FUNC(i64 %1) %9 = trunc i64 %8 to i32 %10 = icmp eq i64 %arg4, 0 store i64 %arg3, i64* %sv_1.049.in.in.reg2mem store i64 %0, i64* %sv_0.048.reg2mem store i64 %arg4, i64* %sv_5.047.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %10, label LBL_19, label LBL_2 LBL_1: %11 = sub i64 %sv_1.049, %17 %12 = add i64 %sv_0.048.reload, 16 %13 = add i64 %sv_5.047.reload, -1 %14 = icmp eq i64 %13, 0 store i64 %11, i64* %sv_1.049.in.in.reg2mem store i64 %12, i64* %sv_0.048.reg2mem store i64 %13, i64* %sv_5.047.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %14, label LBL_19, label LBL_2 LBL_2: %sv_5.047.reload = load i64, i64* %sv_5.047.reg2mem %sv_0.048.reload = load i64, i64* %sv_0.048.reg2mem %sv_1.049.in.in.reload = load i64, i64* %sv_1.049.in.in.reg2mem %sv_1.049.in = mul i64 %sv_1.049.in.in.reload, 4294967296 %sv_1.049 = ashr exact i64 %sv_1.049.in, 32 %15 = add i64 %sv_0.048.reload, 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = icmp ult i64 %sv_1.049, %17 %19 = icmp eq i1 %18, false store i64 %1, i64* %rdi.036.reg2mem store i32 0, i32* %sv_7.035.reg2mem store i32 %9, i32* %sv_6.034.reg2mem store i64 %sv_1.049, i64* %sv_1.133.reg2mem store i64 %sv_0.048.reload, i64* %sv_0.232.reg2mem store i64 %sv_5.047.reload, i64* %sv_5.231.reg2mem br i1 %19, label LBL_1, label LBL_5 LBL_3: %rdi.036.reload = load i64, i64* %rdi.036.reg2mem %20 = add i64 %sv_0.232.reload, 8 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = sub i64 %22, %sv_1.133.reload %24 = trunc i64 %23 to i32 %25 = icmp ult i32 %sv_6.034.reload, %24 %26 = select i1 %25, i32 %sv_6.034.reload, i32 %24 %27 = sext i32 %26 to i64 %28 = inttoptr i64 %sv_0.232.reload to i64* %29 = load i64, i64* %28, align 8 %30 = add i64 %29, %sv_1.133.reload %31 = sext i32 %sv_7.035.reload to i64 %32 = add i64 %rdi.036.reload, %31 %33 = call i64 @FUNC(i64 %32, i64 %30, i64 %27) %34 = trunc i64 %33 to i32 %35 = icmp eq i32 %34, 0 store i64 4294967282, i64* %rax.0.reg2mem br i1 %35, label LBL_4, label LBL_19 LBL_4: %36 = icmp sgt i32 %sv_6.034.reload, %26 %37 = add i64 %sv_0.232.reload, 16 %38 = trunc i64 %sv_1.133.reload to i32 %39 = add i32 %26, %38 %40 = sub i32 %sv_6.034.reload, %26 %41 = add i32 %26, %sv_7.035.reload %42 = sext i1 %36 to i64 %spec.select = add i64 %sv_5.231.reload, %42 %spec.select9 = select i1 %36, i64 %37, i64 %sv_0.232.reload %narrow = select i1 %36, i32 0, i32 %39 %spec.select10 = sext i32 %narrow to i64 %43 = icmp eq i64 %spec.select, 0 store i64 %32, i64* %rdi.036.reg2mem store i32 %41, i32* %sv_7.035.reg2mem store i32 %40, i32* %sv_6.034.reg2mem store i64 %spec.select10, i64* %sv_1.133.reg2mem store i64 %spec.select9, i64* %sv_0.232.reg2mem store i64 %spec.select, i64* %sv_5.231.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %43, label LBL_19, label LBL_5 LBL_5: %sv_5.231.reload = load i64, i64* %sv_5.231.reg2mem %sv_0.232.reload = load i64, i64* %sv_0.232.reg2mem %sv_1.133.reload = load i64, i64* %sv_1.133.reg2mem %sv_6.034.reload = load i32, i32* %sv_6.034.reg2mem %sv_7.035.reload = load i32, i32* %sv_7.035.reg2mem %44 = icmp eq i32 %sv_6.034.reload, 0 %45 = icmp slt i32 %sv_6.034.reload, 0 %46 = icmp eq i1 %45, false %47 = icmp eq i1 %44, false %48 = icmp eq i1 %46, %47 br i1 %48, label LBL_3, label LBL_6 LBL_6: %49 = icmp eq i32 %7, %sv_7.035.reload %50 = icmp eq i1 %49, false store i64 0, i64* %rax.0.reg2mem br i1 %50, label LBL_7, label LBL_19 LBL_7: %51 = ptrtoint i64* %sv_8 to i64 %52 = add i64 %1, 8 %53 = inttoptr i64 %52 to i32* %54 = add i64 %1, 12 %55 = inttoptr i64 %54 to i32* %56 = add i64 %1, 16 %57 = inttoptr i64 %56 to i32* %58 = add i64 %1, 24 %59 = inttoptr i64 %58 to i64* %60 = add i64 %2, -192 store i64 %sv_5.231.reload, i64* %.in.reg2mem store i32 0, i32* %sv_2.1.ph30.reg2mem store i64 %sv_1.133.reload, i64* %sv_1.2.ph29.reg2mem store i64 %sv_0.232.reload, i64* %sv_0.3.ph28.reg2mem br label LBL_8.lr.ph LBL_8: %sv_0.323.reload = load i64, i64* %sv_0.323.reg2mem %sv_1.224.reload = load i64, i64* %sv_1.224.reg2mem %.in57.reload = load i64, i64* %.in57.reg2mem %61 = add i64 %.in57.reload, -1 %62 = add i64 %sv_0.323.reload, 8 %63 = inttoptr i64 %62 to i64* %64 = load i64, i64* %63, align 8 %65 = trunc i64 %sv_1.224.reload to i32 %66 = trunc i64 %64 to i32 %67 = sub i32 %66, %65 %68 = icmp eq i32 %67, 0 %69 = icmp eq i1 %68, false br i1 %69, label LBL_10, label LBL_9 LBL_9: %70 = add i64 %sv_0.323.reload, 16 %71 = icmp eq i64 %61, 0 %72 = icmp eq i1 %71, false store i64 %61, i64* %.in57.reg2mem store i64 0, i64* %sv_1.224.reg2mem store i64 %70, i64* %sv_0.323.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %72, label LBL_8, label LBL_19 LBL_10: %73 = inttoptr i64 %sv_0.323.reload to i64* %74 = load i64, i64* %73, align 8 %75 = add i64 %74, %sv_1.224.reload %76 = and i64 %75, 17592186040320 %77 = sext i32 %67 to i64 %78 = add nsw i64 %77, 17592186040320 %79 = add nsw i64 %78, %76 %80 = udiv i64 %79, 4096 %81 = trunc i64 %80 to i32 %82 = add i32 %sv_2.1.ph30.reload, %81 %83 = icmp slt i32 %82, 17 store i64 4294967206, i64* %rax.0.reg2mem br i1 %83, label LBL_11, label LBL_19 LBL_11: %84 = sext i32 %sv_2.1.ph30.reload to i64 %85 = mul i64 %84, 8 %86 = add i64 %85, %51 %sext8 = mul i64 %75, 4294967296 %87 = ashr exact i64 %sext8, 32 %88 = call i64 @FUNC(i64 %87, i32 %81, i64 0, i64 %86) %89 = trunc i64 %88 to i32 %90 = icmp eq i32 %81, %89 br i1 %90, label LBL_15, label LBL_12 LBL_12: %91 = icmp sgt i32 %89, 0 store i64 4294967282, i64* %rax.0.reg2mem br i1 %91, label LBL_13, label LBL_19 LBL_13: %wide.trip.count = and i64 %88, 4294967295 store i64 0, i64* %indvars.iv.reg2mem br label LBL_14 LBL_14: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %92 = mul i64 %indvars.iv.reload, 8 %93 = add i64 %92, %60 %94 = inttoptr i64 %93 to i64* %95 = load i64, i64* %94, align 8 %96 = call i64 @FUNC(i64 %95) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 4294967282, i64* %rax.0.reg2mem br i1 %exitcond, label LBL_19, label LBL_14 LBL_15: %97 = trunc i64 %75 to i32 %98 = trunc i64 %79 to i32 %99 = and i32 %98, -4096 %100 = load i32, i32* %53, align 4 %101 = add i32 %100, %67 store i32 %101, i32* %53, align 4 %102 = load i32, i32* %55, align 4 %103 = add i32 %102, %67 store i32 %103, i32* %55, align 4 %104 = load i32, i32* %57, align 4 %105 = add i32 %104, %99 store i32 %105, i32* %57, align 4 %106 = load i64, i64* %59, align 8 %107 = zext i32 %99 to i64 %108 = call i64 @FUNC(i64 %107, i64 %106) store i32 %97, i32* %sv_4.027.reg2mem store i32 %sv_2.1.ph30.reload, i32* %sv_2.026.reg2mem store i32 %67, i32* %sv_3.025.reg2mem br label LBL_16 LBL_16: %sv_3.025.reload = load i32, i32* %sv_3.025.reg2mem %sv_2.026.reload = load i32, i32* %sv_2.026.reg2mem %sv_4.027.reload = load i32, i32* %sv_4.027.reg2mem %109 = and i32 %sv_4.027.reload, -4096 %110 = sub i32 4096, %109 %111 = sub i32 %110, %sv_3.025.reload %112 = xor i32 %110, %sv_3.025.reload %113 = xor i32 %111, %110 %114 = and i32 %113, %112 %115 = icmp slt i32 %114, 0 %116 = icmp eq i32 %111, 0 %117 = icmp slt i32 %111, 0 %118 = icmp ne i1 %117, %115 %119 = or i1 %116, %118 %120 = select i1 %119, i32 %110, i32 %sv_3.025.reload %121 = sext i32 %sv_2.026.reload to i64 %122 = mul i64 %121, 8 %123 = add i64 %122, %60 %124 = inttoptr i64 %123 to i64* %125 = load i64, i64* %124, align 8 %126 = zext i32 %120 to i64 %127 = call i64 @FUNC(i64 %1, i32 %sv_2.026.reload, i64 %125, i32 %109, i64 %126) %128 = call i64 @FUNC(i64 %1) %129 = inttoptr i64 %128 to i32* %130 = load i32, i32* %129, align 4 %131 = add i32 %130, 1 store i32 %131, i32* %129, align 4 %132 = add i32 %120, %sv_4.027.reload %133 = sub i32 %sv_3.025.reload, %120 %134 = add i32 %sv_2.026.reload, 1 %135 = icmp eq i32 %133, 0 %136 = icmp eq i1 %135, false store i32 %132, i32* %sv_4.027.reg2mem store i32 %134, i32* %sv_2.026.reg2mem store i32 %133, i32* %sv_3.025.reg2mem br i1 %136, label LBL_16, label LBL_17 LBL_17: %137 = add i64 %sv_0.323.reload, 16 %138 = icmp eq i64 %61, 0 %139 = icmp eq i1 %138, false store i64 %61, i64* %.in.reg2mem store i32 %134, i32* %sv_2.1.ph30.reg2mem store i64 0, i64* %sv_1.2.ph29.reg2mem store i64 %137, i64* %sv_0.3.ph28.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %139, label LBL_8.lr.ph, label LBL_19 LBL_18: %sv_0.3.ph28.reload = load i64, i64* %sv_0.3.ph28.reg2mem %sv_1.2.ph29.reload = load i64, i64* %sv_1.2.ph29.reg2mem %sv_2.1.ph30.reload = load i32, i32* %sv_2.1.ph30.reg2mem %.in.reload = load i64, i64* %.in.reg2mem store i64 %.in.reload, i64* %.in57.reg2mem store i64 %sv_1.2.ph29.reload, i64* %sv_1.224.reg2mem store i64 %sv_0.3.ph28.reload, i64* %sv_0.323.reg2mem br label LBL_8 LBL_19: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %sv_2.1.ph30.reload, { 1, 0, 2 } uselistorder i32 %120, { 1, 0, 2 } uselistorder i32 %111, { 1, 2, 0 } uselistorder i32 %110, { 2, 0, 1, 3 } uselistorder i32 %sv_4.027.reload, { 1, 0 } uselistorder i32 %sv_2.026.reload, { 0, 2, 1 } uselistorder i32 %sv_3.025.reload, { 1, 2, 0, 3 } uselistorder i32 %99, { 1, 0 } uselistorder i32 %81, { 2, 1, 0 } uselistorder i64 %79, { 1, 0 } uselistorder i64 %75, { 1, 0, 2 } uselistorder i64 %61, { 0, 2, 1, 3 } uselistorder i64 %sv_1.224.reload, { 1, 0 } uselistorder i64 %sv_0.323.reload, { 3, 2, 0, 1 } uselistorder i32 %sv_7.035.reload, { 2, 0, 1 } uselistorder i32 %sv_6.034.reload, { 3, 2, 5, 4, 1, 0 } uselistorder i64 %sv_1.133.reload, { 0, 2, 3, 1 } uselistorder i64 %sv_0.232.reload, { 0, 4, 3, 2, 1 } uselistorder i1 %36, { 0, 2, 1 } uselistorder i32 %26, { 0, 2, 1, 3, 4 } uselistorder i64 %17, { 1, 0 } uselistorder i64 %sv_0.048.reload, { 0, 2, 1 } uselistorder i64 %1, { 2, 1, 3, 4, 5, 6, 0, 7 } uselistorder i64* %sv_1.049.in.in.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.048.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_5.047.reg2mem, { 0, 2, 1 } uselistorder i64* %rdi.036.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_7.035.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_6.034.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_1.133.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.232.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_5.231.reg2mem, { 0, 2, 1 } uselistorder i64* %.in57.reg2mem, { 2, 1, 0 } uselistorder i64* %sv_1.224.reg2mem, { 2, 1, 0 } uselistorder i64* %sv_0.323.reg2mem, { 2, 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_4.027.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.026.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_3.025.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 7, 9, 5, 6, 10, 3, 2, 1, 8 } uselistorder i32 -4096, { 1, 0 } uselistorder i64 4294967282, { 1, 2, 0 } uselistorder i32 0, { 11, 8, 9, 10, 3, 12, 0, 14, 15, 6, 13, 1, 7, 4, 2, 5 } uselistorder i1 false, { 1, 3, 5, 4, 0, 6, 2, 7 } uselistorder i64 8, { 0, 1, 2, 6, 5, 7, 8, 3, 9, 4 } uselistorder i64 32, { 1, 0, 2 } uselistorder i64 16, { 1, 3, 2, 4, 5, 0 } uselistorder label LBL_19, { 3, 6, 8, 4, 5, 9, 1, 2, 0, 7 } uselistorder label LBL_8.lr.ph, { 1, 0 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
usbhsg_ep_disable_17443
usbhsg_ep_disable
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %1) %3 = call i64 @FUNC(i64 %1) %4 = call i64 @FUNC(i64 %2) %5 = inttoptr i64 %1 to i64* %6 = load i64, i64* %5, align 8 %7 = inttoptr i64 %6 to i64* store i64 0, i64* %7, align 8 store i64 0, i64* %5, align 8 ret i64 0 }
1
BinRealVul
ogs_tlv_parse_block_desc_12040
ogs_tlv_parse_block_desc
define i64 @FUNC(i64 %arg1, i64* %arg2, i8 %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %.lcssa.reg2mem = alloca i64 %sv_0.02.reg2mem = alloca i64 %sv_1.03.reg2mem = alloca i64 %0 = ptrtoint i64* %arg4 to i64 %1 = ptrtoint i64* %arg2 to i64 %2 = and i64 %arg1, 4294967295 %3 = call i64 @FUNC() %4 = and i64 %3, 4294967295 %5 = call i64 @FUNC(i64 %4) %6 = call i64 @FUNC(i64 %3, i64 %1, i8 %arg3, i64 %0) %7 = and i64 %6, 4294967295 %8 = call i64 @FUNC(i64 %7) %9 = sub i64 %6, %1 %10 = icmp slt i64 %9, %2 store i64 %3, i64* %sv_1.03.reg2mem store i64 %6, i64* %sv_0.02.reg2mem store i64 %9, i64* %.lcssa.reg2mem br i1 %10, label LBL_1, label LBL_2 LBL_1: %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem %sv_1.03.reload = load i64, i64* %sv_1.03.reg2mem %11 = call i64 @FUNC() %12 = and i64 %11, 4294967295 %13 = call i64 @FUNC(i64 %12) %14 = inttoptr i64 %sv_1.03.reload to i64* store i64 %11, i64* %14, align 8 %15 = call i64 @FUNC(i64 %11, i64 %sv_0.02.reload, i8 %arg3, i64 %0) %16 = and i64 %15, 4294967295 %17 = call i64 @FUNC(i64 %16) %18 = sub i64 %15, %1 %19 = icmp slt i64 %18, %2 store i64 %11, i64* %sv_1.03.reg2mem store i64 %15, i64* %sv_0.02.reg2mem store i64 %18, i64* %.lcssa.reg2mem br i1 %19, label LBL_1, label LBL_2 LBL_2: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %20 = icmp eq i64 %2, %.lcssa.reload %21 = zext i1 %20 to i64 %22 = call i64 @FUNC(i64 %21) ret i64 %3 uselistorder i64 %11, { 0, 2, 3, 1 } uselistorder i64 %3, { 1, 0, 3, 2 } uselistorder i64 %2, { 1, 2, 0 } uselistorder i64 %1, { 1, 0, 2 } uselistorder i64* %sv_1.03.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.02.reg2mem, { 2, 0, 1 } uselistorder i64 (i64, i64, i8, i64)* @tlv_get_element_desc, { 1, 0 } uselistorder i64 (i64)* @ogs_assert, { 2, 4, 3, 1, 0 } uselistorder i64 ()* @ogs_tlv_get, { 1, 0 } uselistorder i64 4294967295, { 1, 2, 3, 4, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
__account_cfs_rq_runtime_8148
__account_cfs_rq_runtime
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = sub i64 %0, %arg2 store i64 %1, i64* %arg1, align 8 %2 = call i64 @FUNC(i64 %0) %3 = icmp eq i64* %arg1, null %4 = icmp eq i1 %3, false %5 = zext i1 %4 to i64 %6 = call i64 @FUNC(i64 %5) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false store i64 %6, i64* %rax.0.reg2mem br i1 %9, label LBL_4, label LBL_1 LBL_1: %10 = call i64 @FUNC(i64 %0) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false store i64 %10, i64* %rax.0.reg2mem br i1 %13, label LBL_4, label LBL_2 LBL_2: %14 = add i64 %0, 8 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = and i64 %16, 4294967295 %18 = call i64 @FUNC(i64 %17) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 0 store i64 %18, i64* %rax.0.reg2mem br i1 %20, label LBL_4, label LBL_3 LBL_3: %21 = call i64 @FUNC(i64 %0) %22 = call i64 @FUNC(i64 %21) store i64 %22, 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 (i64)* @likely, { 1, 0 } uselistorder label LBL_4, { 1, 2, 3, 0 } }
0
BinRealVul
pcie_aer_root_init_2169
pcie_aer_root_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = urem i64 %1, 65536 %7 = add i64 %5, %6 %8 = call i64 @FUNC(i64 %7, i64 1) %9 = add i64 %2, 16 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = add nuw nsw i64 %6, 4 %13 = add i64 %11, %12 %14 = call i64 @FUNC(i64 %13, i64 2) %15 = add i64 %2, 24 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = add i64 %17, %12 %19 = call i64 @FUNC(i64 %18, i64 4294967287) ret i64 %19 uselistorder i64 %2, { 1, 0, 2 } uselistorder i64 (i64, i64)* @pci_set_long, { 2, 1, 0 } }
0
BinRealVul
nbd_client_detach_aio_context_6713
nbd_client_detach_aio_context
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = call i64 @FUNC(i64 %3) %5 = call i64 @FUNC(i64 %4) ret i64 %5 }
0
BinRealVul
get_name_11503
get_name
define i64 @FUNC(i32* %arg1, i64* %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i32* %arg1 to i64 %4 = trunc i64 %arg4 to i32 %5 = add i64 %3, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 %7) %9 = icmp eq i32 %4, 0 br i1 %9, label LBL_4, label LBL_1 LBL_1: %10 = trunc i64 %1 to i32 %11 = icmp eq i32 %10, 1 br i1 %11, label LBL_3, label LBL_2 LBL_2: %12 = icmp eq i32 %4, 2 %13 = icmp eq i32 %10, 2 %or.cond = icmp eq i1 %12, %13 store i64 1, i64* %storemerge.reg2mem br i1 %or.cond, label LBL_3, label LBL_6 LBL_3: %14 = inttoptr i64 %8 to i32* %15 = add i64 %8, 4 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = add i64 %2, 8 %19 = inttoptr i64 %18 to i32* store i32 %17, i32* %19, align 4 %20 = load i32, i32* %14, align 4 %21 = add i64 %2, 4 %22 = inttoptr i64 %21 to i32* store i32 %20, i32* %22, align 4 br label LBL_5 LBL_4: %23 = add i64 %2, 4 %24 = add i64 %8, 8 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = zext i32 %28 to i64 %30 = call i64 @FUNC(i64 %29, i64 %23) br label LBL_5 LBL_5: %31 = bitcast i64* %arg3 to i32* store i32 24, i32* %31, align 4 %32 = add i64 %2, 12 %33 = inttoptr i64 %32 to i32* store i32 1, i32* %33, align 4 %34 = add i64 %2, 16 %35 = inttoptr i64 %34 to i32* store i32 1, i32* %35, align 4 %36 = add i64 %2, 20 %37 = inttoptr i64 %36 to i32* store i32 0, i32* %37, align 4 %38 = bitcast i64* %arg2 to i32* store i32 0, i32* %38, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %10, { 1, 0 } uselistorder i64 %8, { 1, 0, 2 } uselistorder i64 %2, { 2, 3, 4, 5, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
ide_status_read_10770
ide_status_read
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = add i64 %0, 24 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = icmp eq i64 %9, 0 store i64 0, i64* %storemerge.reg2mem br i1 %10, label LBL_5, label LBL_2 LBL_2: %11 = icmp eq i64 %1, %0 br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = add i64 %1, 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = icmp eq i64 %14, 0 %16 = icmp eq i1 %15, false store i64 0, i64* %storemerge.reg2mem br i1 %16, label LBL_4, label LBL_5 LBL_4: %17 = inttoptr i64 %1 to i32* %18 = load i32, i32* %17, align 4 %phitmp = zext i32 %18 to i64 store i64 %phitmp, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder label LBL_5, { 2, 1, 0 } }
0
BinRealVul
nfc_llcp_set_remote_gb_12215
nfc_llcp_set_remote_gb
define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = trunc i64 %arg3 to i8 %1 = icmp ult i8 %0, 3 store i64 4294967274, i64* %rax.0.reg2mem br i1 %1, label LBL_6, label LBL_1 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_3, label LBL_2 LBL_2: %6 = call i64 @FUNC(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0)) store i64 4294967277, i64* %rax.0.reg2mem br label LBL_6 LBL_3: %sext = mul i64 %arg3, 72057594037927936 %7 = ashr exact i64 %sext, 56 %8 = inttoptr i64 %3 to i64* %9 = call i64* @memset(i64* %8, i32 0, i32 255) %10 = trunc i64 %7 to i32 %11 = bitcast i32* %arg2 to i64* %12 = urem i32 %10, 256 %13 = call i64* @memcpy(i64* %8, i64* %11, i32 %12) %14 = trunc i64 %7 to i8 %15 = add i64 %3, 255 %16 = inttoptr i64 %15 to i8* store i8 %14, i8* %16, align 1 %17 = call i32 @memcmp(i64* %8, i64* inttoptr (i64 4210756 to i64*), i32 3) %18 = icmp eq i32 %17, 0 br i1 %18, label LBL_5, label LBL_4 LBL_4: %19 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0)) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_6 LBL_5: %20 = load i8, i8* %16, align 1 %21 = add i8 %20, -3 %22 = zext i8 %21 to i64 %23 = add i64 %3, 3 %24 = call i64 @FUNC(i64 %3, i64 %23, i64 %22) store i64 %24, 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 %3, { 1, 0, 2, 3, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i32 0, { 1, 0 } uselistorder i64 (i8*)* @pr_err, { 1, 0 } uselistorder i64 4294967274, { 1, 0 } uselistorder label LBL_6, { 1, 2, 3, 0 } }
1
BinRealVul
RebuildTable_9003
RebuildTable
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge35.reg2mem = alloca i64 %storemerge26.reg2mem = alloca i64 %storemerge17.reg2mem = alloca i64 %storemerge8.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 = mul i64 %3, 8 %5 = add i64 %4, %0 %6 = mul i64 %3, 4 store i64 %6, i64* %2, align 8 %7 = call i64 @FUNC(i64 %6, i64 8) store i64 %7, i64* %arg1, align 8 %8 = add i64 %0, 24 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = mul i64 %10, 4 store i64 %11, i64* %9, align 8 %12 = add i64 %0, 32 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = add i32 %14, -2 store i32 %15, i32* %13, align 4 %16 = load i64, i64* %2, align 8 %17 = add i64 %16, -1 %18 = add i64 %0, 40 %19 = inttoptr i64 %18 to i64* store i64 %17, i64* %19, align 8 %20 = add i64 %0, 48 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = icmp eq i32 %22, 1 %24 = icmp eq i1 %23, false %25 = icmp ugt i64 %5, %0 br i1 %24, label LBL_2, label LBL_1 LBL_1: store i64 %0, i64* %storemerge8.reg2mem br i1 %25, label LBL_3, label LBL_9 LBL_2: store i64 %0, i64* %storemerge26.reg2mem br i1 %25, label LBL_6, label LBL_9 LBL_3: %storemerge8.reload = load i64, i64* %storemerge8.reg2mem %26 = inttoptr i64 %storemerge8.reload to i64* %27 = load i64, i64* %26, align 8 %28 = icmp eq i64 %27, 0 %29 = icmp eq i1 %28, false store i64 %27, i64* %storemerge17.reg2mem br i1 %29, label LBL_4, label LBL_5 LBL_4: %storemerge17.reload = load i64, i64* %storemerge17.reg2mem %30 = inttoptr i64 %storemerge17.reload to i64* %31 = load i64, i64* %30, align 8 %32 = add i64 %storemerge17.reload, 8 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = sext i32 %34 to i64 %36 = load i64, i64* %19, align 8 %37 = and i64 %36, %35 %38 = mul i64 %37, 8 %39 = add i64 %38, %6 %40 = inttoptr i64 %39 to i64* %41 = load i64, i64* %40, align 8 store i64 %41, i64* %30, align 8 store i64 %storemerge17.reload, i64* %40, align 8 %42 = icmp eq i64 %31, 0 %43 = icmp eq i1 %42, false store i64 %31, i64* %storemerge17.reg2mem br i1 %43, label LBL_4, label LBL_5 LBL_5: %44 = add i64 %storemerge8.reload, 8 %45 = icmp ult i64 %44, %5 store i64 %44, i64* %storemerge8.reg2mem br i1 %45, label LBL_3, label LBL_9 LBL_6: %storemerge26.reload = load i64, i64* %storemerge26.reg2mem %46 = inttoptr i64 %storemerge26.reload to i64* %47 = load i64, i64* %46, align 8 %48 = icmp eq i64 %47, 0 %49 = icmp eq i1 %48, false store i64 %47, i64* %storemerge35.reg2mem br i1 %49, label LBL_7, label LBL_8 LBL_7: %storemerge35.reload = load i64, i64* %storemerge35.reg2mem %50 = inttoptr i64 %storemerge35.reload to i64* %51 = load i64, i64* %50, align 8 %52 = add i64 %storemerge35.reload, 16 %53 = inttoptr i64 %52 to i64* %54 = load i64, i64* %53, align 8 %55 = load i64, i64* %19, align 8 %56 = and i64 %55, %54 %57 = mul i64 %56, 8 %58 = add i64 %57, %6 %59 = inttoptr i64 %58 to i64* %60 = load i64, i64* %59, align 8 store i64 %60, i64* %50, align 8 store i64 %storemerge35.reload, i64* %59, align 8 %61 = icmp eq i64 %51, 0 %62 = icmp eq i1 %61, false store i64 %51, i64* %storemerge35.reg2mem br i1 %62, label LBL_7, label LBL_8 LBL_8: %63 = add i64 %storemerge26.reload, 8 %64 = icmp ult i64 %63, %5 store i64 %63, i64* %storemerge26.reg2mem br i1 %64, label LBL_6, label LBL_9 LBL_9: %65 = add i64 %0, 8 %66 = inttoptr i64 %65 to i64* %67 = load i64, i64* %66, align 8 %68 = icmp eq i64 %67, %0 store i64 %0, i64* %rax.0.reg2mem br i1 %68, label LBL_11, label LBL_10 LBL_10: %69 = call i64 @FUNC(i64 %0) store i64 %69, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %storemerge35.reload, { 0, 2, 1 } uselistorder i64 %storemerge17.reload, { 0, 2, 1 } uselistorder i1 %25, { 1, 0 } uselistorder i64* %19, { 1, 0, 2 } uselistorder i64 %6, { 3, 2, 1, 0 } uselistorder i64 %5, { 2, 1, 0 } uselistorder i64 %0, { 6, 0, 5, 7, 1, 2, 4, 8, 9, 10, 11, 3, 12 } uselistorder i64* %storemerge8.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge17.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge26.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge35.reg2mem, { 2, 0, 1 } uselistorder i1 false, { 2, 1, 3, 0, 4 } uselistorder label LBL_9, { 1, 0, 3, 2 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
mov_write_hdlr_tag_16984
mov_write_hdlr_tag
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i8* %sv_1.0.reg2mem = alloca i8* %sv_2.0.reg2mem = alloca i8* %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = icmp eq i64* %arg2, null %5 = icmp eq i1 %4, false store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8** %sv_2.0.reg2mem store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i8** %sv_1.0.reg2mem store i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0), i8** %sv_0.0.reg2mem br i1 %5, label LBL_1, label LBL_5 LBL_1: %6 = trunc i64 %1 to i32 %7 = ptrtoint i64* %arg2 to i64 %8 = icmp eq i32 %6, 1 %9 = icmp eq i1 %8, false %10 = select i1 %9, i8* bitcast (i64* @gv_3 to i8*), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0) %11 = add i64 %7, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = icmp eq i32 %15, 1 %17 = icmp eq i1 %16, false store i8* %10, i8** %sv_2.0.reg2mem store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_5, i64 0, i64 0), i8** %sv_1.0.reg2mem store i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_6, i64 0, i64 0), i8** %sv_0.0.reg2mem br i1 %17, label LBL_2, label LBL_5 LBL_2: %18 = icmp eq i32 %15, 2 %19 = icmp eq i1 %18, false store i8* %10, i8** %sv_2.0.reg2mem store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_7, i64 0, i64 0), i8** %sv_1.0.reg2mem store i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_8, i64 0, i64 0), i8** %sv_0.0.reg2mem br i1 %19, label LBL_3, label LBL_5 LBL_3: %20 = icmp eq i32 %15, 3 %21 = icmp eq i1 %20, false store i8* %10, i8** %sv_2.0.reg2mem br i1 %21, label LBL_5, label LBL_4 LBL_4: %22 = icmp eq i32 %6, 2 %23 = icmp eq i1 %22, false %.5 = select i1 %23, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_9, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_10, i64 0, i64 0) store i8* %10, i8** %sv_2.0.reg2mem store i8* %.5, i8** %sv_1.0.reg2mem store i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_11, i64 0, i64 0), i8** %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem %sv_1.0.reload = load i8*, i8** %sv_1.0.reg2mem %sv_2.0.reload = load i8*, i8** %sv_2.0.reg2mem %24 = call i64 @FUNC(i64 %2, i64 0) %25 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_12, i64 0, i64 0)) %26 = call i64 @FUNC(i64 %2, i64 0) %27 = ptrtoint i8* %sv_2.0.reload to i64 %28 = call i64 @FUNC(i64 %2, i64 %27, i64 4) %29 = call i64 @FUNC(i64 %2, i8* %sv_1.0.reload) %30 = call i64 @FUNC(i64 %2, i64 0) %31 = call i64 @FUNC(i64 %2, i64 0) %32 = call i64 @FUNC(i64 %2, i64 0) %33 = call i32 @strlen(i8* %sv_0.0.reload) %34 = zext i32 %33 to i64 %35 = call i64 @FUNC(i64 %2, i64 %34) %36 = call i32 @strlen(i8* %sv_0.0.reload) %37 = sext i32 %36 to i64 %38 = ptrtoint i8* %sv_0.0.reload to i64 %39 = call i64 @FUNC(i64 %2, i64 %38, i64 %37) %40 = call i64 @FUNC(i64 %2, i64 %3) ret i64 %40 uselistorder i8* %sv_0.0.reload, { 2, 0, 1 } uselistorder i8* %10, { 2, 3, 0, 1 } uselistorder i32 %6, { 1, 0 } uselistorder i64 %2, { 1, 0, 2, 6, 5, 4, 3, 10, 9, 8, 7, 11 } uselistorder i8** %sv_2.0.reg2mem, { 0, 4, 5, 1, 2, 3 } uselistorder i8** %sv_1.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i8** %sv_0.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i32 (i8*)* @strlen, { 1, 0 } uselistorder i64 (i64, i64, i64)* @put_buffer, { 1, 0 } uselistorder i64 (i64, i8*)* @put_tag, { 1, 0 } uselistorder i64 (i64, i64)* @put_be32, { 4, 3, 2, 1, 0 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_5, { 3, 4, 0, 1, 2 } }
1
BinRealVul
pnv_chip_power9_class_init_3311
pnv_chip_power9_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 ptrtoint ([7 x i8]* @gv_0 to i64), i64* %arg1, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* store i32 1, i32* %2, align 4 %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i64* store i64 1156598587170226176, i64* %4, align 8 %5 = add i64 %0, 24 %6 = inttoptr i64 %5 to i32* store i32 -1, i32* %6, align 4 %7 = load i64, i64* @gv_1, align 8 %8 = add i64 %0, 32 %9 = inttoptr i64 %8 to i64* store i64 %7, i64* %9, align 8 %10 = add i64 %0, 40 %11 = inttoptr i64 %10 to i64* store i64 1693230726905856, i64* %11, align 8 store i64 ptrtoint ([20 x i8]* @gv_2 to i64), i64* %arg1, align 8 ret i64 %0 }
0
BinRealVul
defaultAlloc_6305
defaultAlloc
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg2) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0)) unreachable LBL_2: ret i64 %0 }
0
BinRealVul
webSocketParseHeaderField_11237
webSocketParseHeaderField
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = call i64 @FUNC(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i64 %2) %4 = bitcast i64* %arg2 to i8* %5 = call i8* @strchr(i8* %4, i32 58) %6 = icmp eq i8* %5, null br i1 %6, label LBL_16, label LBL_1 LBL_1: %7 = ptrtoint i32* %arg1 to i64 store i8 0, i8* %5, align 1 %8 = call i64 @FUNC(i64 %2) %9 = ptrtoint i8* %5 to i64 %10 = add i64 %9, 1 %11 = call i64 @FUNC(i64 %10) %12 = call i64 @FUNC(i64 %8, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0)) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false br i1 %15, label LBL_4, label LBL_2 LBL_2: %16 = call i64 @FUNC(i64 %11, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0)) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_16, label LBL_3 LBL_3: %20 = add i64 %7, 8 %21 = inttoptr i64 %20 to i32* store i32 1, i32* %21, align 4 br label LBL_16 LBL_4: %22 = call i64 @FUNC(i64 %8, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_3, i64 0, i64 0)) %23 = trunc i64 %22 to i32 %24 = icmp eq i32 %23, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_6, label LBL_5 LBL_5: %26 = call i64 @FUNC(i64 %7, i64 %11) br label LBL_16 LBL_6: %27 = trunc i64 %1 to i32 %28 = call i64 @FUNC(i64 %8, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_4, i64 0, i64 0)) %29 = trunc i64 %28 to i32 %30 = icmp eq i32 %29, 0 %31 = icmp eq i1 %30, false br i1 %31, label LBL_9, label LBL_7 LBL_7: %32 = icmp eq i32 %27, 1 %33 = icmp eq i1 %32, false br i1 %33, label LBL_16, label LBL_8 LBL_8: %34 = add i64 %7, 24 %35 = call i64 @FUNC(i64 %34, i64 %11, i64 25) br label LBL_16 LBL_9: %36 = call i64 @FUNC(i64 %8, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_5, i64 0, i64 0)) %37 = trunc i64 %36 to i32 %38 = icmp eq i32 %37, 0 %39 = icmp eq i1 %38, false br i1 %39, label LBL_12, label LBL_10 LBL_10: %40 = icmp eq i32 %27, 2 %41 = icmp eq i1 %40, false br i1 %41, label LBL_16, label LBL_11 LBL_11: %42 = add i64 %7, 49 %43 = call i64 @FUNC(i64 %42, i64 %11, i64 25) br label LBL_16 LBL_12: %44 = call i64 @FUNC(i64 %8, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_6, i64 0, i64 0)) %45 = trunc i64 %44 to i32 %46 = icmp eq i32 %45, 0 %47 = icmp eq i1 %46, false br i1 %47, label LBL_14, label LBL_13 LBL_13: %48 = call i64 @FUNC(i64 %7, i64 %11) br label LBL_16 LBL_14: %49 = call i64 @FUNC(i64 %8, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_7, i64 0, i64 0)) %50 = trunc i64 %49 to i32 %51 = icmp eq i32 %50, 0 %52 = icmp eq i1 %51, false br i1 %52, label LBL_16, label LBL_15 LBL_15: %53 = call i64 @FUNC(i64 %11, i64 0, i64 10) %54 = add i64 %7, 16 %55 = inttoptr i64 %54 to i64* store i64 %53, i64* %55, align 8 br label LBL_16 LBL_16: ret i64 0 uselistorder i64 %11, { 5, 4, 3, 2, 1, 0 } uselistorder i64 %7, { 2, 1, 3, 4, 0, 5 } uselistorder i8* %5, { 1, 0, 2 } uselistorder i64 (i64, i64, i64)* @strSafeCopy, { 1, 0 } uselistorder i64 (i64, i8*)* @osStrcasecmp, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64)* @strTrimWhitespace, { 1, 0 } }
1
BinRealVul
qxl_render_update_area_done_10299
qxl_render_update_area_done
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %arg2) %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %5) %7 = add i64 %0, 4 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = add i32 %9, -1 store i32 %10, i32* %8, align 4 %11 = call i64 @FUNC(i64 %0) %12 = call i64 @FUNC(i64 %arg2) ret i64 %12 }
0
BinRealVul
oz_add_farewell_18219
oz_add_farewell
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i1 %.reg2mem27 = alloca i64 %storemerge11.reg2mem = alloca i8* %.reg2mem25 = alloca i64 %.reg2mem = alloca i64 %0 = urem i64 %arg5, 256 %1 = add nuw nsw i64 %0, 279 %2 = call i64 @FUNC(i64 %1, i64 0) %3 = icmp eq i64 %2, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_8, label LBL_1 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = inttoptr i64 %2 to i8* %6 = trunc i64 %arg2 to i8 store i8 %6, i8* %5, align 1 %7 = trunc i64 %arg3 to i8 %8 = add i64 %2, 1 %9 = inttoptr i64 %8 to i8* store i8 %7, i8* %9, align 1 %10 = trunc i64 %arg5 to i32 %11 = urem i32 %10, 256 %12 = add i64 %2, 2 %13 = inttoptr i64 %12 to i64* %14 = call i64* @memcpy(i64* %13, i64* %arg4, i32 %11) %15 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_0, i64 0, i64 0)) %16 = call i64 @FUNC(i64* bitcast (i8** @gv_1 to i64*)) %17 = icmp eq i64* %arg1, inttoptr (i64 add (i64 sub (i64 ptrtoint (i8** @gv_1 to i64), i64 264), i64 264) to i64*) %18 = icmp eq i1 %17, false store i64 add (i64 sub (i64 ptrtoint (i8** @gv_1 to i64), i64 264), i64 264), i64* %.reg2mem store i64 sub (i64 ptrtoint (i8** @gv_1 to i64), i64 264), i64* %.reg2mem25 store i8* inttoptr (i64 sub (i64 ptrtoint (i8** @gv_1 to i64), i64 264) to i8*), i8** %storemerge11.reg2mem store i64 sub (i64 ptrtoint (i8** @gv_1 to i64), i64 264), i64* %.reg2mem27 store i1 true, i1* %sv_0.0.reg2mem br i1 %18, label LBL_2, label LBL_6 LBL_2: %storemerge11.reload = load i8*, i8** %storemerge11.reg2mem %.reload = load i64, i64* %.reg2mem %19 = load i8, i8* %storemerge11.reload, align 1 %20 = icmp eq i8 %19, %6 %21 = icmp eq i1 %20, false br i1 %21, label LBL_5, label LBL_3 LBL_3: %.reload26 = load i64, i64* %.reg2mem25 %22 = add i64 %.reload26, 1 %23 = inttoptr i64 %22 to i8* %24 = load i8, i8* %23, align 1 %25 = icmp eq i8 %24, %7 %26 = icmp eq i1 %25, false br i1 %26, label LBL_5, label LBL_4 LBL_4: %27 = call i64 @FUNC(i64 %.reload) store i64 %.reload26, i64* %.reg2mem27 store i1 false, i1* %sv_0.0.reg2mem br label LBL_6 LBL_5: %28 = inttoptr i64 %.reload to i64* %29 = load i64, i64* %28, align 8 %30 = add i64 %29, -264 %31 = inttoptr i64 %30 to i8* %32 = icmp eq i64 %29, %4 %33 = icmp eq i1 %32, false store i64 %29, i64* %.reg2mem store i64 %30, i64* %.reg2mem25 store i8* %31, i8** %storemerge11.reg2mem store i64 %30, i64* %.reg2mem27 store i1 true, i1* %sv_0.0.reg2mem br i1 %33, label LBL_2, label LBL_6 LBL_6: %sv_0.0.reload = load i1, i1* %sv_0.0.reg2mem %34 = add i64 %2, 264 %35 = call i64 @FUNC(i64 %34, i64 %4) %36 = call i64 @FUNC(i64* bitcast (i8** @gv_1 to i64*)) store i64 %36, i64* %rax.0.reg2mem br i1 %sv_0.0.reload, label LBL_8, label LBL_7 LBL_7: %.reload28 = load i64, i64* %.reg2mem27 %37 = call i64 @FUNC(i64 %.reload28) store i64 %37, 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* %.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem25, { 2, 0, 1 } uselistorder i8** %storemerge11.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem27, { 0, 1, 3, 2 } uselistorder i1* %sv_0.0.reg2mem, { 0, 1, 3, 2 } uselistorder i1 false, { 4, 0, 2, 3, 1, 5 } uselistorder i64 264, { 2, 0, 1 } uselistorder i64 sub (i64 ptrtoint (i8** @gv_1 to i64), i64 264), { 0, 3, 1, 2 } uselistorder i8** @gv_1, { 1, 0 } uselistorder i64 %arg5, { 1, 0 } uselistorder label LBL_8, { 1, 2, 0 } uselistorder label LBL_6, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
nfs_client_close_1881
nfs_client_close
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null br i1 %1, label LBL_4, label LBL_1 LBL_1: %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = icmp eq i64 %4, 0 br i1 %5, label LBL_3, label LBL_2 LBL_2: %6 = call i64 @FUNC(i64 %0, i64 %4) store i64 0, i64* %3, align 8 br label LBL_3 LBL_3: %7 = call i64 @FUNC(i64 %0) %8 = and i64 %7, 4294967295 %9 = add i64 %0, 16 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = call i64 @FUNC(i64 %11, i64 %8, i64 0, i64 0, i64 0, i64 0) %13 = call i64 @FUNC(i64 %11) store i64 0, i64* %arg1, align 8 br label LBL_4 LBL_4: %14 = add i64 %0, 24 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = call i64 @FUNC(i64 %16) %18 = add i64 %0, 40 %19 = call i64 @FUNC(i64 %18) %20 = add i64 %0, 32 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = call i64 @FUNC(i64 %22) store i64 0, i64* %21, align 8 ret i64 %0 uselistorder i64 %0, { 4, 3, 6, 5, 1, 2, 0, 7 } }
0
BinRealVul
ipc_addid_5487
ipc_addid
define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i64 %.pre-phi6.reg2mem = alloca i32* %storemerge.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %sv_0 = alloca i32, align 4 %sv_1 = alloca i32, align 4 %3 = trunc i64 %arg3 to i32 %sext = mul i64 %arg3, 4294967296 %4 = ashr exact i64 %sext, 32 %5 = add i64 %2, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = icmp slt i32 %3, 129 %spec.select = select i1 %8, i64 %4, i64 128 %9 = and i64 %1, 4294967295 %10 = icmp sgt i64 %spec.select, %9 store i64 1, i64* %rax.0.shrunk.reg2mem br i1 %10, label LBL_1, label LBL_10 LBL_1: %11 = ptrtoint i64* %arg2 to i64 %12 = call i64 @FUNC(i64 0) %13 = call i64 @FUNC(i64 %11) %14 = add i64 %11, 4 %15 = inttoptr i64 %14 to i8* store i8 0, i8* %15, align 1 %16 = call i64 @FUNC() %17 = call i64 @FUNC(i64 %11) %18 = bitcast i32* %sv_0 to i64* %19 = bitcast i32* %sv_1 to i64* %20 = call i64 @FUNC(i64* nonnull %18, i64* nonnull %19) %21 = load i32, i32* %sv_0, align 4 %22 = add i64 %11, 12 %23 = inttoptr i64 %22 to i32* store i32 %21, i32* %23, align 4 %24 = add i64 %11, 8 %25 = inttoptr i64 %24 to i32* store i32 %21, i32* %25, align 4 %26 = load i32, i32* %sv_1, align 4 %27 = add i64 %11, 20 %28 = inttoptr i64 %27 to i32* store i32 %26, i32* %28, align 4 %29 = add i64 %11, 16 %30 = inttoptr i64 %29 to i32* store i32 %26, i32* %30, align 4 %31 = icmp slt i32 %7, 0 store i64 0, i64* %storemerge.reg2mem br i1 %31, label LBL_3, label LBL_2 LBL_2: %32 = zext i32 %7 to i64 %33 = call i64 @FUNC(i64 %32) %34 = and i64 %33, 4294967295 store i64 %34, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem %35 = add i64 %2, 12 %36 = call i64 @FUNC(i64 %35, i64 %11, i64 %storemerge.reload, i64 0, i64 1) %37 = trunc i64 %36 to i32 %38 = call i64 @FUNC() %39 = icmp slt i32 %37, 0 %40 = icmp eq i1 %39, false br i1 %40, label LBL_5, label LBL_4 LBL_4: %41 = call i64 @FUNC(i64 %11) %42 = call i64 @FUNC() store i64 %36, i64* %rax.0.shrunk.reg2mem br label LBL_10 LBL_5: %43 = bitcast i64* %rdi to i32* %44 = load i32, i32* %43, align 8 %45 = add i32 %44, 1 store i32 %45, i32* %arg1, align 4 %46 = icmp eq i1 %31, false br i1 %46, label LBL_8, label LBL_6 LBL_6: %47 = add i64 %2, 8 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = add i32 %49, 1 store i32 %50, i32* %48, align 4 %51 = add i64 %11, 24 %52 = inttoptr i64 %51 to i32* store i32 %49, i32* %52, align 4 %53 = load i32, i32* %48, align 4 %54 = icmp slt i32 %53, 256 store i32* %52, i32** %.pre-phi6.reg2mem br i1 %54, label LBL_9, label LBL_7 LBL_7: store i32 0, i32* %48, align 4 store i32* %52, i32** %.pre-phi6.reg2mem br label LBL_9 LBL_8: %55 = zext i32 %7 to i64 %56 = call i64 @FUNC(i64 %55) %57 = trunc i64 %56 to i32 %58 = add i64 %11, 24 %59 = inttoptr i64 %58 to i32* store i32 %57, i32* %59, align 4 store i32 -1, i32* %6, align 4 store i32* %59, i32** %.pre-phi6.reg2mem br label LBL_9 LBL_9: %.pre-phi6.reload = load i32*, i32** %.pre-phi6.reg2mem %60 = load i32, i32* %.pre-phi6.reload, align 4 %61 = zext i32 %60 to i64 %62 = and i64 %36, 4294967295 %63 = call i64 @FUNC(i64 %62, i64 %61) %64 = trunc i64 %63 to i32 %65 = add i64 %11, 28 %66 = inttoptr i64 %65 to i32* store i32 %64, i32* %66, align 4 store i64 %36, i64* %rax.0.shrunk.reg2mem br label LBL_10 LBL_10: %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295 ret i64 %rax.0 uselistorder i32* %52, { 1, 0, 2 } uselistorder i32* %48, { 1, 0, 2, 3 } uselistorder i64 %36, { 1, 2, 0, 3 } uselistorder i64 %11, { 2, 3, 1, 0, 4, 5, 6, 7, 9, 8, 11, 10 } uselistorder i32 %7, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32** %.pre-phi6.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 3, 2, 1 } uselistorder i64 1, { 1, 0 } uselistorder label LBL_10, { 1, 2, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
breakpoint_handler_16151
breakpoint_handler
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge24.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null br i1 %1, label LBL_5, label LBL_1 LBL_1: %2 = add i64 %0, 4 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = urem i32 %4, 2 %6 = icmp eq i32 %5, 0 store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_11, label LBL_2 LBL_2: store i64 0, i64* %arg1, align 8 %7 = call i64 @FUNC(i64 %0, i64 0) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = call i64 @FUNC(i64 %0, i64 1) store i64 %10, i64* %rax.0.reg2mem br label LBL_11 LBL_4: %11 = call i64 @FUNC(i64 %0, i64 0) store i64 %11, i64* %rax.0.reg2mem br label LBL_11 LBL_5: %12 = add i64 %0, 16 %13 = icmp eq i64 %12, 0 %14 = icmp eq i1 %13, false store i64 %12, i64* %rax.0.reg2mem br i1 %14, label LBL_6, label LBL_11 LBL_6: %15 = add i64 %0, 8 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 store i64 %12, i64* %storemerge24.reg2mem br label LBL_7 LBL_7: %storemerge24.reload = load i64, i64* %storemerge24.reg2mem %storemerge = inttoptr i64 %storemerge24.reload to i32* %18 = load i32, i32* %storemerge, align 4 %19 = icmp eq i32 %18, %17 %20 = icmp eq i1 %19, false br i1 %20, label LBL_10, label LBL_8 LBL_8: %21 = add i64 %storemerge24.reload, 4 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = urem i32 %23, 2 %25 = icmp eq i32 %24, 0 store i64 0, i64* %rax.0.reg2mem br i1 %25, label LBL_11, label LBL_9 LBL_9: %26 = call i64 @FUNC(i64 %0, i64 1) %27 = call i64 @FUNC(i64 %0, i64 1) store i64 %27, i64* %rax.0.reg2mem br label LBL_11 LBL_10: %28 = add i64 %storemerge24.reload, 8 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = icmp eq i64 %30, 0 %32 = icmp eq i1 %31, false store i64 %30, i64* %storemerge24.reg2mem store i64 %30, i64* %rax.0.reg2mem br i1 %32, label LBL_7, label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %storemerge24.reload, { 0, 2, 1 } uselistorder i64 %12, { 1, 0, 2 } uselistorder i64 %0, { 5, 4, 6, 7, 0, 1, 2, 3 } uselistorder i64* %storemerge24.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 6, 7, 2, 4, 3, 5 } uselistorder i1 false, { 2, 1, 0 } uselistorder i64 (i64, i64)* @raise_exception, { 1, 0 } uselistorder i64 (i64, i64)* @check_hw_breakpoints, { 1, 0 } uselistorder label LBL_11, { 0, 3, 2, 1, 4, 5, 6 } uselistorder label LBL_7, { 1, 0 } }
1
BinRealVul
free_pages_prepare_4616
free_pages_prepare
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge6.reg2mem = alloca i64 %sv_0.1.lcssa.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_0.110.reg2mem = alloca i32 %storemerge711.reg2mem = alloca i32 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = trunc i64 %2 to i8 %4 = icmp eq i8 %3, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %6 = call i32 @fwrite(i64* bitcast ([13 x i8]* @gv_1 to i64*), i32 1, i32 12, %_IO_FILE* %5) br label LBL_2 LBL_2: %sext = mul i64 %arg2, 4294967296 %7 = ashr exact i64 %sext, 32 %8 = trunc i64 %1 to i8 %9 = icmp eq i8 %8, 0 br i1 %9, label LBL_5, label LBL_3 LBL_3: %10 = call i64 @FUNC(i64 %0) %11 = trunc i64 %7 to i32 %12 = trunc i64 %10 to i32 %13 = icmp eq i32 %11, %12 br i1 %13, label LBL_5, label LBL_4 LBL_4: %14 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %15 = call i32 @fwrite(i64* bitcast ([13 x i8]* @gv_1 to i64*), i32 1, i32 12, %_IO_FILE* %14) br label LBL_5 LBL_5: %16 = and i64 %7, 4294967295 %17 = call i64 @FUNC(i64 %0, i64 %16) %18 = call i64 @FUNC(i64 %0, i64 %16) %19 = call i64 @FUNC(i64 %0, i64 %16) %20 = call i64 @FUNC(i64 %0) %21 = trunc i64 %20 to i8 %22 = icmp eq i8 %21, 0 br i1 %22, label LBL_7, label LBL_6 LBL_6: %23 = bitcast i64* %arg1 to i32* store i32 0, i32* %23, align 4 br label LBL_7 LBL_7: %24 = call i64 @FUNC(i64 %0) %25 = trunc i64 %24 to i32 %26 = trunc i64 %7 to i32 %27 = urem i32 %26, 32 %28 = shl i32 1, %27 %storemerge = zext i32 %28 to i64 %29 = icmp eq i32 %27, 0 store i64 1, i64* %.reg2mem store i32 1, i32* %storemerge711.reg2mem store i32 %25, i32* %sv_0.110.reg2mem store i32 %25, i32* %sv_0.1.lcssa.reg2mem br i1 %29, label LBL_11, label LBL_8 LBL_8: %sv_0.110.reload = load i32, i32* %sv_0.110.reg2mem %storemerge711.reload = load i32, i32* %storemerge711.reg2mem %.reload = load i64, i64* %.reg2mem %.pre = mul i64 %.reload, 4 %.pre14 = add i64 %.pre, %0 store i32 %sv_0.110.reload, i32* %sv_0.0.reg2mem br i1 %9, label LBL_10, label LBL_9 LBL_9: %30 = call i64 @FUNC(i64 %0, i64 %.pre14) %31 = trunc i64 %30 to i32 %32 = add i32 %sv_0.110.reload, %31 store i32 %32, i32* %sv_0.0.reg2mem br label LBL_10 LBL_10: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %33 = call i64 @FUNC(i64 %.pre14) %34 = trunc i64 %33 to i32 %35 = add i32 %sv_0.0.reload, %34 %36 = add i32 %storemerge711.reload, 1 %37 = sext i32 %36 to i64 %38 = icmp sgt i64 %storemerge, %37 store i64 %37, i64* %.reg2mem store i32 %36, i32* %storemerge711.reg2mem store i32 %35, i32* %sv_0.110.reg2mem store i32 %35, i32* %sv_0.1.lcssa.reg2mem br i1 %38, label LBL_8, label LBL_11 LBL_11: %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem %39 = icmp eq i32 %sv_0.1.lcssa.reload, 0 store i64 0, i64* %storemerge6.reg2mem br i1 %39, label LBL_12, label LBL_15 LBL_12: %40 = call i64 @FUNC(i64 %0, i64 %16) %41 = call i64 @FUNC(i64 %0) %42 = trunc i64 %41 to i8 %43 = icmp eq i8 %42, 1 br i1 %43, label LBL_14, label LBL_13 LBL_13: %44 = shl i32 4096, %27 %rdx.0 = sext i32 %44 to i64 %45 = call i64 @FUNC(i64 %0) %46 = call i64 @FUNC(i64 %45, i64 %rdx.0) %47 = call i64 @FUNC(i64 %0) %48 = call i64 @FUNC(i64 %47, i64 %rdx.0) br label LBL_14 LBL_14: %49 = call i64 @FUNC(i64 %0, i64 %16) %50 = call i64 @FUNC(i64 %0, i64 %storemerge, i64 0) store i64 1, i64* %storemerge6.reg2mem br label LBL_15 LBL_15: %storemerge6.reload = load i64, i64* %storemerge6.reg2mem ret i64 %storemerge6.reload uselistorder i64 %rdx.0, { 1, 0 } uselistorder i32 %sv_0.110.reload, { 1, 0 } uselistorder i32 %27, { 2, 1, 0 } uselistorder i64 %7, { 1, 2, 0 } uselistorder i64 %0, { 4, 5, 2, 3, 7, 6, 8, 0, 9, 12, 13, 11, 10, 1, 14, 15 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge711.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.110.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge6.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @page_address, { 1, 0 } uselistorder i64 (i64)* @free_pages_check, { 1, 0 } uselistorder i32 0, { 1, 0, 2 } uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 1, 0 } uselistorder %_IO_FILE** @gv_0, { 1, 0 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_8, { 1, 0 } }
0
BinRealVul
set_palette_1784
set_palette
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %indvars.iv.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 = add i64 %0, 24 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %5 to i32 %7 = icmp sgt i32 %6, 767 store i64 0, i64* %indvars.iv.reg2mem store i64 4294967295, i64* %storemerge.reg2mem br i1 %7, label LBL_1, label LBL_3 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %8 = call i64 @FUNC(i64 %4) %9 = mul i64 %indvars.iv.reload, 4 %10 = add i64 %9, %3 %11 = trunc i64 %8 to i32 %12 = mul i32 %11, 4 %13 = inttoptr i64 %10 to i32* store i32 %12, i32* %13, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 256 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %14 = add i64 %0, 16 %15 = inttoptr i64 %14 to i32* store i32 1, i32* %15, align 4 store i64 768, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
put_ucounts_11794
put_ucounts
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = call i64 @FUNC(i64 %arg1) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 store i64 %2, i64* %rax.0.reg2mem br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64* nonnull @gv_0, i64 %1) %6 = add i64 %arg1, 8 %7 = call i64 @FUNC(i64 %6) %8 = call i64 @FUNC(i64* nonnull @gv_0, i64 %1) %9 = call i64 @FUNC(i64 %arg1) store i64 %9, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 1, { 4, 3, 2, 1, 0 } uselistorder i64 %arg1, { 1, 0, 2 } }
1
BinRealVul
mov_get_mpeg2_xdcam_codec_tag_81
mov_get_mpeg2_xdcam_codec_tag
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.1.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = trunc i64 %1 to i32 %5 = add i64 %2, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = icmp eq i32 %7, 0 %9 = icmp slt i32 %7, 0 %10 = icmp eq i1 %9, false %11 = icmp eq i1 %8, false %12 = icmp eq i1 %10, %11 %13 = add i64 %2, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = call i64 @FUNC(i64 %3, i64 %15) %17 = and i64 %16, 4294967295 %18 = call i128 @FUNC(i64 %17) %19 = call i32 @FUNC(i128 %18) %20 = icmp eq i32 %4, 0 %21 = icmp eq i1 %20, false %spec.select = select i1 %21, i32 %4, i32 1832023601 %22 = add i64 %15, 8 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = icmp eq i32 %24, 1 %26 = icmp eq i1 %25, false br i1 %26, label LBL_25, label LBL_1 LBL_1: %27 = add i64 %15, 12 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = icmp eq i32 %29, 1280 %31 = icmp eq i1 %30, false br i1 %31, label LBL_9, label LBL_2 LBL_2: %32 = add i64 %15, 16 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = icmp eq i32 %34, 720 %36 = icmp eq i1 %35, false br i1 %36, label LBL_9, label LBL_3 LBL_3: %37 = icmp eq i1 %12, false %38 = icmp eq i1 %37, false store i32 %spec.select, i32* %sv_0.1.reg2mem br i1 %38, label LBL_42, label LBL_4 LBL_4: %39 = icmp eq i32 %19, 24 %40 = icmp eq i1 %39, false store i32 2019849780, i32* %sv_0.1.reg2mem br i1 %40, label LBL_5, label LBL_42 LBL_5: %41 = icmp eq i32 %19, 25 %42 = icmp eq i1 %41, false store i32 2019849781, i32* %sv_0.1.reg2mem br i1 %42, label LBL_6, label LBL_42 LBL_6: %43 = icmp eq i32 %19, 30 %44 = icmp eq i1 %43, false store i32 2019849777, i32* %sv_0.1.reg2mem br i1 %44, label LBL_7, label LBL_42 LBL_7: %45 = icmp eq i32 %19, 50 %46 = icmp eq i1 %45, false store i32 2019849825, i32* %sv_0.1.reg2mem br i1 %46, label LBL_8, label LBL_42 LBL_8: %47 = icmp eq i32 %19, 60 %48 = icmp eq i1 %47, false %spec.select1 = select i1 %48, i32 %spec.select, i32 2019849785 store i32 %spec.select1, i32* %sv_0.1.reg2mem br label LBL_42 LBL_9: %49 = icmp eq i32 %29, 1440 %50 = icmp eq i1 %49, false br i1 %50, label LBL_17, label LBL_10 LBL_10: %51 = add i64 %15, 16 %52 = inttoptr i64 %51 to i32* %53 = load i32, i32* %52, align 4 %54 = icmp eq i32 %53, 1080 %55 = icmp eq i1 %54, false br i1 %55, label LBL_17, label LBL_11 LBL_11: %56 = icmp eq i1 %12, false %57 = icmp eq i1 %56, false br i1 %57, label LBL_15, label LBL_12 LBL_12: %58 = icmp eq i32 %19, 24 %59 = icmp eq i1 %58, false store i32 2019849782, i32* %sv_0.1.reg2mem br i1 %59, label LBL_13, label LBL_42 LBL_13: %60 = icmp eq i32 %19, 25 %61 = icmp eq i1 %60, false store i32 2019849783, i32* %sv_0.1.reg2mem br i1 %61, label LBL_14, label LBL_42 LBL_14: %62 = icmp eq i32 %19, 30 %63 = icmp eq i1 %62, false %spec.select2 = select i1 %63, i32 %spec.select, i32 2019849784 store i32 %spec.select2, i32* %sv_0.1.reg2mem br label LBL_42 LBL_15: %64 = icmp eq i32 %19, 25 %65 = icmp eq i1 %64, false store i32 2019849779, i32* %sv_0.1.reg2mem br i1 %65, label LBL_16, label LBL_42 LBL_16: %66 = icmp eq i32 %19, 30 %67 = icmp eq i1 %66, false %spec.select3 = select i1 %67, i32 %spec.select, i32 2019849778 store i32 %spec.select3, i32* %sv_0.1.reg2mem br label LBL_42 LBL_17: %68 = icmp eq i32 %29, 1920 %69 = icmp eq i1 %68, false store i32 %spec.select, i32* %sv_0.1.reg2mem br i1 %69, label LBL_42, label LBL_18 LBL_18: %70 = add i64 %15, 16 %71 = inttoptr i64 %70 to i32* %72 = load i32, i32* %71, align 4 %73 = icmp eq i32 %72, 1080 %74 = icmp eq i1 %73, false store i32 %spec.select, i32* %sv_0.1.reg2mem br i1 %74, label LBL_42, label LBL_19 LBL_19: %75 = icmp eq i1 %12, false %76 = icmp eq i1 %75, false br i1 %76, label LBL_23, label LBL_20 LBL_20: %77 = icmp eq i32 %19, 24 %78 = icmp eq i1 %77, false store i32 2019849828, i32* %sv_0.1.reg2mem br i1 %78, label LBL_21, label LBL_42 LBL_21: %79 = icmp eq i32 %19, 25 %80 = icmp eq i1 %79, false store i32 2019849829, i32* %sv_0.1.reg2mem br i1 %80, label LBL_22, label LBL_42 LBL_22: %81 = icmp eq i32 %19, 30 %82 = icmp eq i1 %81, false %spec.select4 = select i1 %82, i32 %spec.select, i32 2019849830 store i32 %spec.select4, i32* %sv_0.1.reg2mem br label LBL_42 LBL_23: %83 = icmp eq i32 %19, 25 %84 = icmp eq i1 %83, false store i32 2019849827, i32* %sv_0.1.reg2mem br i1 %84, label LBL_24, label LBL_42 LBL_24: %85 = icmp eq i32 %19, 30 %86 = icmp eq i1 %85, false %spec.select5 = select i1 %86, i32 %spec.select, i32 2019849826 store i32 %spec.select5, i32* %sv_0.1.reg2mem br label LBL_42 LBL_25: %87 = icmp eq i32 %24, 2 %88 = icmp eq i1 %87, false store i32 %spec.select, i32* %sv_0.1.reg2mem br i1 %88, label LBL_42, label LBL_26 LBL_26: %89 = add i64 %15, 12 %90 = inttoptr i64 %89 to i32* %91 = load i32, i32* %90, align 4 %92 = icmp eq i32 %91, 1280 %93 = icmp eq i1 %92, false br i1 %93, label LBL_34, label LBL_27 LBL_27: %94 = add i64 %15, 16 %95 = inttoptr i64 %94 to i32* %96 = load i32, i32* %95, align 4 %97 = icmp eq i32 %96, 720 %98 = icmp eq i1 %97, false br i1 %98, label LBL_34, label LBL_28 LBL_28: %99 = icmp eq i1 %12, false %100 = icmp eq i1 %99, false store i32 %spec.select, i32* %sv_0.1.reg2mem br i1 %100, label LBL_42, label LBL_29 LBL_29: %101 = icmp eq i32 %19, 24 %102 = icmp eq i1 %101, false store i32 2019833140, i32* %sv_0.1.reg2mem br i1 %102, label LBL_30, label LBL_42 LBL_30: %103 = icmp eq i32 %19, 25 %104 = icmp eq i1 %103, false store i32 2019833141, i32* %sv_0.1.reg2mem br i1 %104, label LBL_31, label LBL_42 LBL_31: %105 = icmp eq i32 %19, 30 %106 = icmp eq i1 %105, false store i32 2019833137, i32* %sv_0.1.reg2mem br i1 %106, label LBL_32, label LBL_42 LBL_32: %107 = icmp eq i32 %19, 50 %108 = icmp eq i1 %107, false store i32 2019833185, i32* %sv_0.1.reg2mem br i1 %108, label LBL_33, label LBL_42 LBL_33: %109 = icmp eq i32 %19, 60 %110 = icmp eq i1 %109, false %spec.select6 = select i1 %110, i32 %spec.select, i32 2019833145 store i32 %spec.select6, i32* %sv_0.1.reg2mem br label LBL_42 LBL_34: %111 = icmp eq i32 %91, 1920 %112 = icmp eq i1 %111, false store i32 %spec.select, i32* %sv_0.1.reg2mem br i1 %112, label LBL_42, label LBL_35 LBL_35: %113 = add i64 %15, 16 %114 = inttoptr i64 %113 to i32* %115 = load i32, i32* %114, align 4 %116 = icmp eq i32 %115, 1080 %117 = icmp eq i1 %116, false store i32 %spec.select, i32* %sv_0.1.reg2mem br i1 %117, label LBL_42, label LBL_36 LBL_36: %118 = icmp eq i1 %12, false %119 = icmp eq i1 %118, false br i1 %119, label LBL_40, label LBL_37 LBL_37: %120 = icmp eq i32 %19, 24 %121 = icmp eq i1 %120, false store i32 2019833188, i32* %sv_0.1.reg2mem br i1 %121, label LBL_38, label LBL_42 LBL_38: %122 = icmp eq i32 %19, 25 %123 = icmp eq i1 %122, false store i32 2019833189, i32* %sv_0.1.reg2mem br i1 %123, label LBL_39, label LBL_42 LBL_39: %124 = icmp eq i32 %19, 30 %125 = icmp eq i1 %124, false %spec.select7 = select i1 %125, i32 %spec.select, i32 2019833190 store i32 %spec.select7, i32* %sv_0.1.reg2mem br label LBL_42 LBL_40: %126 = icmp eq i32 %19, 25 %127 = icmp eq i1 %126, false store i32 2019833187, i32* %sv_0.1.reg2mem br i1 %127, label LBL_41, label LBL_42 LBL_41: %128 = icmp eq i32 %19, 30 %129 = icmp eq i1 %128, false %spec.select8 = select i1 %129, i32 %spec.select, i32 2019833186 store i32 %spec.select8, i32* %sv_0.1.reg2mem br label LBL_42 LBL_42: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %130 = zext i32 %sv_0.1.reload to i64 ret i64 %130 uselistorder i32 %spec.select, { 7, 8, 4, 5, 9, 3, 6, 10, 11, 1, 2, 12, 13, 14, 0 } uselistorder i32 %19, { 22, 20, 24, 23, 21, 19, 18, 17, 16, 15, 12, 10, 14, 13, 11, 7, 5, 9, 8, 6, 4, 3, 2, 1, 0 } uselistorder i64 %15, { 0, 6, 5, 1, 2, 7, 4, 3, 8 } uselistorder i32 %7, { 1, 0 } uselistorder i32 %4, { 1, 0 } uselistorder i32* %sv_0.1.reg2mem, { 0, 1, 2, 3, 4, 5, 30, 31, 6, 7, 8, 9, 10, 29, 32, 11, 12, 13, 14, 15, 27, 28, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 } uselistorder i1 false, { 6, 7, 8, 9, 10, 11, 0, 12, 13, 14, 15, 16, 17, 18, 19, 1, 20, 21, 22, 23, 24, 25, 26, 27, 28, 2, 29, 30, 31, 32, 33, 34, 35, 36, 3, 37, 38, 39, 40, 41, 42, 43, 44, 4, 45, 46, 47, 48, 49, 5 } uselistorder label LBL_42, { 0, 8, 1, 9, 10, 27, 28, 2, 11, 12, 13, 14, 25, 29, 3, 15, 4, 16, 17, 30, 31, 5, 18, 6, 19, 20, 7, 21, 22, 23, 24, 26 } }
1
BinRealVul
ga_concat_shorten_esc_19177
ga_concat_shorten_esc
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.lcssa.in.reg2mem = alloca i8 %sv_0.0.reg2mem = alloca i64 %sv_1.0.lcssa.reg2mem = alloca i32 %sv_1.01.reg2mem = alloca i32 %.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %1 = icmp eq i64 %arg2, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_1, label LBL_3 LBL_1: %3 = inttoptr i64 %arg2 to i8* %4 = load i8, i8* %3, align 1 %5 = icmp eq i8 %4, 0 %6 = icmp eq i1 %5, false store i8 %4, i8* %.lcssa.in.reg2mem br i1 %6, label LBL_2, label LBL_12 LBL_2: %7 = bitcast i64* %sv_2 to i8* store i64 %arg2, i64* %storemerge3.reg2mem br label LBL_4 LBL_3: %8 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) store i64 %8, i64* %rax.0.reg2mem br label LBL_13 LBL_4: %storemerge3.reload = load i64, i64* %storemerge3.reg2mem store i64 %storemerge3.reload, i64* %sv_3, align 8 %9 = call i64 @FUNC(i64* nonnull %sv_3) %10 = load i64, i64* %sv_3, align 8 %11 = sub i64 %10, %storemerge3.reload %12 = trunc i64 %11 to i32 %13 = inttoptr i64 %10 to i8* %14 = load i8, i8* %13, align 1 %15 = icmp eq i8 %14, 0 br i1 %15, label LBL_10, label LBL_5 LBL_5: %16 = trunc i64 %9 to i32 %sext = mul i64 %11, 4294967296 %17 = ashr exact i64 %sext, 32 store i64 %10, i64* %.reg2mem store i32 1, i32* %sv_1.01.reg2mem br label LBL_7 LBL_6: %18 = add i32 %sv_1.01.reload, 1 %19 = load i64, i64* %sv_3, align 8 %20 = add i64 %19, %17 store i64 %20, i64* %sv_3, align 8 %21 = inttoptr i64 %20 to i8* %22 = load i8, i8* %21, align 1 %23 = icmp eq i8 %22, 0 store i64 %20, i64* %.reg2mem store i32 %18, i32* %sv_1.01.reg2mem store i32 %18, i32* %sv_1.0.lcssa.reg2mem br i1 %23, label LBL_8, label LBL_7 LBL_7: %sv_1.01.reload = load i32, i32* %sv_1.01.reg2mem %.reload = load i64, i64* %.reg2mem %24 = call i64 @FUNC(i64 %.reload) %25 = trunc i64 %24 to i32 %26 = icmp eq i32 %16, %25 store i32 %sv_1.01.reload, i32* %sv_1.0.lcssa.reg2mem br i1 %26, label LBL_6, label LBL_8 LBL_8: %sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem %27 = icmp slt i32 %sv_1.0.lcssa.reload, 21 br i1 %27, label LBL_10, label LBL_9 LBL_9: %28 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0)) %29 = call i64 @FUNC(i64 %0, i64 %storemerge3.reload, i32 %12) %30 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0)) %31 = zext i32 %sv_1.0.lcssa.reload to i64 %32 = call i64 @FUNC(i64* nonnull %sv_2, i64 100, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_3, i64 0, i64 0), i64 %31) %33 = call i64 @FUNC(i64 %0, i8* nonnull %7) %34 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_4, i64 0, i64 0)) %35 = load i64, i64* %sv_3, align 8 %36 = add i64 %35, -1 store i64 %36, i64* %sv_0.0.reg2mem br label LBL_11 LBL_10: %37 = call i64 @FUNC(i64 %0, i64 %storemerge3.reload, i32 %12) store i64 %storemerge3.reload, i64* %sv_0.0.reg2mem br label LBL_11 LBL_11: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %38 = add i64 %sv_0.0.reload, 1 %39 = inttoptr i64 %38 to i8* %40 = load i8, i8* %39, align 1 %41 = icmp eq i8 %40, 0 %42 = icmp eq i1 %41, false store i64 %38, i64* %storemerge3.reg2mem store i8 %40, i8* %.lcssa.in.reg2mem br i1 %42, label LBL_4, label LBL_12 LBL_12: %.lcssa.in.reload = load i8, i8* %.lcssa.in.reg2mem %.lcssa = zext i8 %.lcssa.in.reload to i64 store i64 %.lcssa, i64* %rax.0.reg2mem br label LBL_13 LBL_13: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %sv_1.0.lcssa.reload, { 1, 0 } uselistorder i32 %12, { 1, 0 } uselistorder i64 %storemerge3.reload, { 0, 2, 1, 4, 3 } uselistorder i64* %sv_3, { 1, 2, 3, 4, 0, 5 } uselistorder i64* %sv_2, { 1, 0 } uselistorder i64 %0, { 6, 2, 1, 5, 4, 3, 0 } uselistorder i64* %storemerge3.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64, i32)* @ga_concat_esc, { 1, 0 } uselistorder i64 (i64, i8*)* @ga_concat, { 4, 3, 2, 1, 0 } uselistorder i8 0, { 3, 2, 1, 0 } uselistorder i1 false, { 1, 0, 2 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
SVGError_9383
SVGError
define i64 @FUNC(i64* %arg1, i8* %arg2, i8* %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %2 = load i64, i64* %1 %3 = load i128, i128* %0 %4 = load i128, i128* %0 %5 = load i128, i128* %0 %6 = load i128, i128* %0 %7 = load i128, i128* %0 %8 = load i128, i128* %0 %9 = load i128, i128* %0 %10 = load i128, i128* %0 %sv_0 = alloca i64, align 8 %sv_1 = alloca i32, align 4 %11 = trunc i64 %2 to i8 %12 = icmp eq i8 %11, 0 br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = call i64 @FUNC(i128 %10) %14 = call i64 @FUNC(i128 %9) %15 = call i64 @FUNC(i128 %8) %16 = call i64 @FUNC(i128 %7) %17 = call i64 @FUNC(i128 %6) %18 = call i64 @FUNC(i128 %5) %19 = call i64 @FUNC(i128 %4) %20 = call i64 @FUNC(i128 %3) br label LBL_2 LBL_2: store i32 16, i32* %sv_1, align 4 %21 = call i64 @FUNC() %22 = call i64 @FUNC(i64 0, i64 %21, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i64 %arg4, i64 %arg5, i64 %arg6) %23 = call i64 @FUNC() %24 = ptrtoint i32* %sv_1 to i64 %25 = call i64 @FUNC(i64 0, i64 %23, i8* %arg2, i64 %24, i64 %arg5, i64 %arg6) %26 = bitcast i64* %sv_0 to i8* %27 = call i32 @vsprintf(i8* nonnull %26, i8* %arg2, i64 %24) %28 = call i32* @__errno_location() %29 = load i32, i32* %28, align 4 %30 = zext i32 %29 to i64 %31 = call i64 @FUNC(i64 %30) %32 = call i64 @FUNC() %33 = call i64 @FUNC(i64 %30, i64 %32, i64 1, i64* nonnull %sv_0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i64 %31) %34 = call i64 @FUNC(i64 %31) ret i64 %34 uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @LogMagickEvent, { 1, 0 } uselistorder i64 ()* @GetMagickModule, { 2, 1, 0 } uselistorder i8 0, { 1, 2, 3, 0 } uselistorder i64 %arg6, { 1, 0 } uselistorder i64 %arg5, { 1, 0 } uselistorder i8* %arg2, { 1, 0 } }
0
BinRealVul
dot_product_14859
dot_product
define i64 @FUNC(i16* %arg1, i16* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %sv_0.0.lcssa.reg2mem = alloca i64 %sv_0.03.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = icmp sgt i32 %arg3, 0 store i64 0, i64* %sv_0.0.lcssa.reg2mem br i1 %0, label LBL_1, label LBL_4 LBL_1: %1 = ptrtoint i16* %arg2 to i64 %2 = ptrtoint i16* %arg1 to i64 %wide.trip.count = zext i32 %arg3 to i64 store i64 0, i64* %indvars.iv.reg2mem store i64 0, i64* %sv_0.03.reg2mem br label LBL_2 LBL_2: %sv_0.03.reload = load i64, i64* %sv_0.03.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %3 = mul i64 %indvars.iv.reload, 2 %4 = add i64 %3, %1 %5 = inttoptr i64 %4 to i16* %6 = load i16, i16* %5, align 2 %7 = add i64 %3, %2 %8 = inttoptr i64 %7 to i16* %9 = load i16, i16* %8, align 2 %10 = sext i16 %9 to i64 %11 = sext i16 %6 to i64 %12 = and i64 %11, 4294967295 %13 = and i64 %10, 4294967295 %14 = call i64 @FUNC(i64 %13, i64 %12) %15 = mul i64 %14, 2 %16 = call i64 @FUNC(i64 %15) %sext = mul i64 %16, 4294967296 %17 = ashr exact i64 %sext, 32 %sext5 = mul i64 %sv_0.03.reload, 4294967296 %18 = ashr exact i64 %sext5, 32 %19 = add nsw i64 %17, %18 %20 = call i64 @FUNC(i64 %19) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %20, i64* %sv_0.03.reg2mem br i1 %exitcond, label LBL_3, label LBL_2 LBL_3: %phitmp = and i64 %20, 4294967295 store i64 %phitmp, i64* %sv_0.0.lcssa.reg2mem br label LBL_4 LBL_4: %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem ret i64 %sv_0.0.lcssa.reload uselistorder i64 %20, { 1, 0 } uselistorder i64 %3, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.03.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @av_clipl_int32, { 1, 0 } }
1
BinRealVul
visit_start_list_14107
visit_start_list
define i64 @FUNC(i64* %arg1, i8* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg3 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false %5 = ptrtoint i64* %arg1 to i64 %spec.select = select i1 %4, i64 %1, i64 %5 ret i64 %spec.select uselistorder i32 0, { 1, 0 } }
1
BinRealVul
io_watch_poll_finalize_17321
io_watch_poll_finalize
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = 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_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %3) %6 = load i64, i64* %2, align 8 %7 = call i64 @FUNC(i64 %6) store i64 0, i64* %2, align 8 store i64 %1, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload }
1
BinRealVul
term_close_4937
term_close
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i8 %4 = icmp eq i8 %3, 1 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = bitcast i64* %arg1 to i8* store i8 1, i8* %5, align 1 %6 = add i64 %2, 8 %7 = call i64 @FUNC(i64 %6) br label LBL_2 LBL_2: %8 = add i64 %2, 16 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = call i64 @FUNC(i64 %10, i64 4198695, i64 1, i64 %2) ret i64 %11 uselistorder i64 %2, { 2, 1, 0 } uselistorder i8 1, { 1, 0 } }
0
BinRealVul
do_load_fpscr_16042
do_load_fpscr
define i64 @FUNC() local_unnamed_addr { LBL_0: %sv_0.01.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %0 = load i64, i64* @gv_0, align 8 store i64 0, i64* %indvars.iv.reg2mem store i32 0, i32* %sv_0.01.reg2mem br label LBL_1 LBL_1: %sv_0.01.reload = load i32, i32* %sv_0.01.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %1 = mul i64 %indvars.iv.reload, 4 %2 = add i64 %1, %0 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = trunc i64 %1 to i32 %6 = shl i32 %4, %5 %7 = or i32 %6, %sv_0.01.reload %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 8 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %7, i32* %sv_0.01.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %8 = zext i32 %7 to i64 %9 = sext i32 %7 to i64 %10 = call i128 @FUNC(i64 %9) %11 = call i64 @__asm_movsd.1(i128 %10) store i64 %11, i64* @gv_1, align 8 ret i64 %8 uselistorder i32 %7, { 1, 2, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.01.reg2mem, { 1, 0, 2 } }
1
BinRealVul
isis_print_id_9472
isis_print_id
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.1.lcssa.reg2mem = alloca i8* %sv_1.0.lcssa.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i8* %sv_1.08.reg2mem = alloca i64 %sv_0.19.reg2mem = alloca i8* %storemerge10.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = icmp slt i32 %1, 6 %spec.select = select i1 %2, i32 %1, i32 6 %3 = icmp slt i32 %spec.select, 1 store i32 1, i32* %storemerge10.reg2mem store i8* bitcast (i8** @gv_0 to i8*), i8** %sv_0.19.reg2mem store i64 %0, i64* %sv_1.08.reg2mem store i64 %0, i64* %sv_1.0.lcssa.reg2mem store i8* bitcast (i8** @gv_0 to i8*), i8** %sv_0.1.lcssa.reg2mem br i1 %3, label LBL_4, label LBL_1 LBL_1: %sv_1.08.reload = load i64, i64* %sv_1.08.reg2mem %sv_0.19.reload = load i8*, i8** %sv_0.19.reg2mem %storemerge10.reload = load i32, i32* %storemerge10.reg2mem %4 = inttoptr i64 %sv_1.08.reload to i8* %5 = load i8, i8* %4, align 1 %6 = ptrtoint i8* %sv_0.19.reload to i64 %7 = zext i8 %5 to i32 %8 = trunc i64 %6 to i32 %9 = sub i32 add (i32 ptrtoint (i8** @gv_0 to i32), i32 21), %8 %10 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %sv_0.19.reload, i32 %9, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i32 %7) %11 = call i32 @strlen(i8* %sv_0.19.reload) %12 = sext i32 %11 to i64 %13 = add i64 %12, %6 %14 = inttoptr i64 %13 to i8* %15 = icmp ne i32 %storemerge10.reload, 2 %16 = icmp eq i32 %storemerge10.reload, 4 %17 = icmp eq i1 %16, false %or.cond = icmp eq i1 %15, %17 store i8* %14, i8** %sv_0.0.reg2mem br i1 %or.cond, label LBL_3, label LBL_2 LBL_2: %18 = add i64 %13, 1 %19 = inttoptr i64 %18 to i8* store i8 46, i8* %14, align 1 store i8* %19, i8** %sv_0.0.reg2mem br label LBL_3 LBL_3: %20 = add i64 %sv_1.08.reload, 1 %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem %21 = add nuw nsw i32 %storemerge10.reload, 1 %22 = icmp slt i32 %storemerge10.reload, %spec.select store i32 %21, i32* %storemerge10.reg2mem store i8* %sv_0.0.reload, i8** %sv_0.19.reg2mem store i64 %20, i64* %sv_1.08.reg2mem store i64 %20, i64* %sv_1.0.lcssa.reg2mem store i8* %sv_0.0.reload, i8** %sv_0.1.lcssa.reg2mem br i1 %22, label LBL_1, label LBL_4 LBL_4: %23 = icmp slt i32 %1, 8 br i1 %23, label LBL_7, label LBL_5 LBL_5: %sv_0.1.lcssa.reload = load i8*, i8** %sv_0.1.lcssa.reg2mem %sv_1.0.lcssa.reload = load i64, i64* %sv_1.0.lcssa.reg2mem %24 = inttoptr i64 %sv_1.0.lcssa.reload to i8* %25 = load i8, i8* %24, align 1 %26 = ptrtoint i8* %sv_0.1.lcssa.reload to i64 %27 = zext i8 %25 to i32 %28 = trunc i64 %26 to i32 %29 = sub i32 add (i32 ptrtoint (i8** @gv_0 to i32), i32 21), %28 %30 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %sv_0.1.lcssa.reload, i32 %29, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i32 %27) %31 = call i32 @strlen(i8* %sv_0.1.lcssa.reload) %32 = icmp eq i32 %1, 10 %33 = icmp eq i1 %32, false br i1 %33, label LBL_7, label LBL_6 LBL_6: %34 = sext i32 %31 to i64 %35 = add i64 %34, %26 %36 = inttoptr i64 %35 to i8* %37 = add i64 %sv_1.0.lcssa.reload, 1 %38 = inttoptr i64 %37 to i8* %39 = load i8, i8* %38, align 1 %40 = zext i8 %39 to i32 %41 = trunc i64 %35 to i32 %42 = sub i32 add (i32 ptrtoint (i8** @gv_0 to i32), i32 21), %41 %43 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %36, i32 %42, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), i32 %40) br label LBL_7 LBL_7: ret i64 ptrtoint (i8** @gv_0 to i64) uselistorder i64 %sv_1.0.lcssa.reload, { 1, 0 } uselistorder i8* %sv_0.1.lcssa.reload, { 0, 2, 1 } uselistorder i8* %14, { 1, 0 } uselistorder i32 %storemerge10.reload, { 3, 1, 0, 2 } uselistorder i8* %sv_0.19.reload, { 0, 2, 1 } uselistorder i64 %sv_1.08.reload, { 1, 0 } uselistorder i32 %1, { 1, 0, 2, 3 } uselistorder i32* %storemerge10.reg2mem, { 2, 0, 1 } uselistorder i8** %sv_0.19.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.08.reg2mem, { 2, 0, 1 } uselistorder i8** %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64 1, { 2, 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i32 (i8*, i32, i8*, ...)* @snprintf, { 2, 0, 1 } uselistorder i8** @gv_0, { 2, 0, 1 } uselistorder label LBL_7, { 1, 2, 0 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
usb_enumerate_device_otg_5352
usb_enumerate_device_otg
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i32*, align 8 %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false store i64 0, i64* %sv_0.0.reg2mem br i1 %5, label LBL_10, label LBL_1 LBL_1: %6 = add i64 %2, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp eq i64 %8, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %9, label LBL_10, label LBL_2 LBL_2: store i32* null, i32** %sv_1, align 8 %10 = add i64 %2, 24 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = load i64, i64* %7, align 8 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = add i64 %2, 32 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = bitcast i32** %sv_1 to i64* %20 = call i64 @FUNC(i64 %18, i32 %15, i64 0, i64* nonnull %19, i64 8) %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %21, 0 %23 = icmp eq i1 %22, false store i64 0, i64* %storemerge.reg2mem br i1 %23, label LBL_11, label LBL_3 LBL_3: %24 = load i32*, i32** %sv_1, align 8 %25 = load i32, i32* %24, align 4 %26 = urem i32 %25, 2 %27 = icmp eq i32 %26, 0 %28 = icmp eq i1 %27, false store i64 0, i64* %storemerge.reg2mem br i1 %28, label LBL_4, label LBL_11 LBL_4: %29 = ptrtoint i32** %sv_1 to i64 %30 = add i64 %2, 4 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = icmp eq i32 %12, %32 %34 = icmp eq i1 %33, false %35 = add i64 %2, 40 %36 = select i1 %34, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8* bitcast (i8** @gv_1 to i8*) %37 = call i64 @FUNC(i64 %35, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_2, i64 0, i64 0), i8* %36, i64 %29, i64 8, i64 %1) %38 = load i32, i32* %31, align 4 %39 = icmp eq i32 %12, %38 %40 = icmp eq i1 %39, false br i1 %40, label LBL_7, label LBL_5 LBL_5: %41 = inttoptr i64 %6 to i32* store i32 1, i32* %41, align 4 %42 = call i64 @FUNC(i64 %2, i64 0) %43 = and i64 %42, 4294967295 %44 = call i64 @FUNC(i64 %2, i64 %43, i64 0, i64 0, i64 0, i64 0) %45 = trunc i64 %44 to i32 %46 = icmp slt i32 %45, 0 %47 = icmp eq i1 %46, false store i64 %44, i64* %sv_0.0.reg2mem br i1 %47, label LBL_10, label LBL_6 LBL_6: %48 = and i64 %44, 4294967295 %49 = call i64 @FUNC(i64 %35, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_3, i64 0, i64 0), i64 %48, i64 %35, i64 0, i64 0) store i32 0, i32* %41, align 4 store i64 %44, i64* %sv_0.0.reg2mem br label LBL_10 LBL_7: %50 = load i32*, i32** %sv_1, align 8 %51 = ptrtoint i32* %50 to i64 %52 = add i64 %51, 4 %53 = inttoptr i64 %52 to i32* %54 = load i32, i32* %53, align 4 %55 = icmp eq i32 %54, 8 %56 = icmp eq i1 %55, false store i64 %20, i64* %sv_0.0.reg2mem br i1 %56, label LBL_10, label LBL_8 LBL_8: %57 = call i64 @FUNC(i64 %2, i64 0) %58 = and i64 %57, 4294967295 %59 = call i64 @FUNC(i64 %2, i64 %58, i64 0, i64 0, i64 0, i64 0) %60 = trunc i64 %59 to i32 %61 = icmp slt i32 %60, 0 %62 = icmp eq i1 %61, false store i64 %59, i64* %sv_0.0.reg2mem br i1 %62, label LBL_10, label LBL_9 LBL_9: %63 = and i64 %59, 4294967295 %64 = call i64 @FUNC(i64 %35, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_4, i64 0, i64 0), i64 %63, i64 %35, i64 0, i64 0) store i64 %59, i64* %sv_0.0.reg2mem br label LBL_10 LBL_10: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %65 = and i64 %sv_0.0.reload, 4294967295 store i64 %65, i64* %storemerge.reg2mem br label LBL_11 LBL_11: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %59, { 0, 2, 1, 3 } uselistorder i64 %44, { 0, 2, 1, 3 } uselistorder i64 %35, { 2, 3, 0, 1, 4 } uselistorder i32** %sv_1, { 3, 1, 2, 4, 0 } uselistorder i64 %2, { 5, 4, 3, 2, 6, 0, 7, 8, 9, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 4, 5, 1, 2, 6, 7 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @dev_err, { 1, 0 } uselistorder i64 (i64, i64, i64, i64, i64, i64)* @usb_control_msg, { 1, 0 } uselistorder i64 (i64, i64)* @usb_sndctrlpipe, { 1, 0 } uselistorder label LBL_11, { 2, 1, 0 } }
0
BinRealVul
vmw_kms_helper_resource_finish_3788
vmw_kms_helper_resource_finish
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp eq i64 %3, 0 %5 = icmp eq i64* %arg2, null %or.cond = icmp eq i1 %5, %4 br i1 %or.cond, label LBL_2, label LBL_1 LBL_1: %6 = ptrtoint i64* %arg2 to i64 %7 = call i64 @FUNC(i64 %0, i64 0, i64 %3, i64 %6, i64 0) br label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %1) %9 = call i64 @FUNC(i64 %0, i64 0, i64 0, i64 0) %10 = call i64 @FUNC(i64 %0) ret i64 %10 uselistorder i64 %0, { 2, 1, 0, 3 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
gen_msgclr_5113
gen_msgclr
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = and i64 %1, 4294967295 %3 = call i64 @FUNC(i64 %2) %sext = mul i64 %3, 4294967296 %4 = ashr exact i64 %sext, 30 %5 = add i64 %4, ptrtoint (i32** @gv_0 to i64) %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = load i64, i64* @gv_1, align 8 %9 = zext i32 %7 to i64 %10 = call i64 @FUNC(i64 %8, i64 %9) ret i64 %10 }
0
BinRealVul
__of_get_next_child_4008
__of_get_next_child
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %storemerge1.lcssa.reg2mem = alloca i64 %storemerge13.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i64 %0 = icmp eq i64 %arg1, 0 %1 = icmp eq i1 %0, false store i64 0, i64* %storemerge.reg2mem br i1 %1, label LBL_1, label LBL_7 LBL_1: %2 = icmp eq i64 %arg2, 0 store i64 %arg1, i64* %storemerge2.reg2mem br i1 %2, label LBL_3, label LBL_2 LBL_2: %3 = add i64 %arg2, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 store i64 %5, i64* %storemerge2.reg2mem br label LBL_3 LBL_3: %storemerge2.reload = load i64, i64* %storemerge2.reg2mem %6 = icmp eq i64 %storemerge2.reload, 0 %7 = icmp eq i1 %6, false store i64 %storemerge2.reload, i64* %storemerge13.reg2mem store i64 %storemerge2.reload, i64* %storemerge1.lcssa.reg2mem br i1 %7, label LBL_4, label LBL_6 LBL_4: %storemerge13.reload = load i64, i64* %storemerge13.reg2mem %8 = call i64 @FUNC(i64 %storemerge13.reload) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false store i64 %storemerge13.reload, i64* %storemerge1.lcssa.reg2mem br i1 %11, label LBL_6, label LBL_5 LBL_5: %12 = add i64 %storemerge13.reload, 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = icmp eq i64 %14, 0 %16 = icmp eq i1 %15, false store i64 %14, i64* %storemerge13.reg2mem store i64 %14, i64* %storemerge1.lcssa.reg2mem br i1 %16, label LBL_4, label LBL_6 LBL_6: %storemerge1.lcssa.reload = load i64, i64* %storemerge1.lcssa.reg2mem %17 = call i64 @FUNC(i64 %arg2) store i64 %storemerge1.lcssa.reload, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %storemerge13.reload, { 1, 0, 2 } uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge13.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge1.lcssa.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i1 false, { 2, 1, 0, 3 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
load_cursor_16311
load_cursor
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %.lcssa.reg2mem = alloca i64 %sv_0.317.reg2mem = alloca i64 %sv_1.518.reg2mem = alloca i8* %sv_2.519.reg2mem = alloca i16* %sv_3.520.reg2mem = alloca i32* %storemerge21.reg2mem = alloca i32 %.reg2mem72 = alloca i32 %.reg2mem70 = alloca i32 %sv_3.4.lcssa.reg2mem = alloca i32* %sv_2.4.lcssa.reg2mem = alloca i16* %sv_1.4.lcssa.reg2mem = alloca i8* %sv_0.2.lcssa.reg2mem = alloca i64 %.reg2mem68 = alloca i32 %.reg2mem66 = alloca i32 %sv_3.3.reg2mem = alloca i32* %sv_2.3.reg2mem = alloca i16* %sv_1.3.reg2mem = alloca i8* %sv_0.29.reg2mem = alloca i64 %sv_1.410.reg2mem = alloca i8* %sv_2.411.reg2mem = alloca i16* %sv_3.412.reg2mem = alloca i32* %storemerge513.reg2mem = alloca i32 %sv_0.132.reg2mem = alloca i64 %sv_1.233.reg2mem = alloca i8* %sv_2.234.reg2mem = alloca i16* %sv_3.235.reg2mem = alloca i32* %storemerge636.reg2mem = alloca i32 %.reg2mem64 = alloca i32 %.reg2mem62 = alloca i32 %.pre4359.reg2mem = alloca i32 %sv_3.1.lcssa.reg2mem = alloca i32* %sv_2.1.lcssa.reg2mem = alloca i16* %sv_1.1.lcssa.reg2mem = alloca i8* %sv_0.0.lcssa.reg2mem = alloca i64 %.reg2mem60 = alloca i32 %.reg2mem = alloca i32 %.pre43.reg2mem = alloca i32 %sv_3.0.reg2mem = alloca i32* %sv_2.0.reg2mem = alloca i16* %sv_1.0.reg2mem = alloca i8* %sv_0.023.reg2mem = alloca i64 %sv_1.124.reg2mem = alloca i8* %sv_2.125.reg2mem = alloca i16* %sv_3.126.reg2mem = alloca i32* %storemerge727.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = add i64 %2, 16 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = add i64 %2, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp eq i32 %8, 0 store i64 0, i64* %.lcssa.reg2mem br i1 %9, label LBL_24, label LBL_1 LBL_1: %10 = trunc i64 %1 to i32 %11 = ptrtoint i64* %arg2 to i64 %12 = inttoptr i64 %5 to i32* %13 = inttoptr i64 %5 to i16* %14 = inttoptr i64 %5 to i8* %15 = add i64 %2, 8 %16 = inttoptr i64 %15 to i32* %17 = add i64 %2, 12 %18 = inttoptr i64 %17 to i32* %19 = and i64 %1, 4294967295 %sext = mul i64 %1, 4294967296 %20 = ashr exact i64 %sext, 32 %21 = icmp eq i32 %10, 1 %22 = icmp eq i1 %21, false %23 = icmp eq i32 %10, 2 %24 = icmp eq i1 %23, false %25 = icmp eq i32 %10, 4 %26 = icmp eq i1 %25, false %.pre = load i32, i32* %16, align 4 store i32 %.pre, i32* %.pre4359.reg2mem store i32 %8, i32* %.reg2mem62 store i32 %.pre, i32* %.reg2mem64 store i32 0, i32* %storemerge636.reg2mem store i32* %12, i32** %sv_3.235.reg2mem store i16* %13, i16** %sv_2.234.reg2mem store i8* %14, i8** %sv_1.233.reg2mem store i64 %11, i64* %sv_0.132.reg2mem br label LBL_11 LBL_2: %sv_0.023.reload = load i64, i64* %sv_0.023.reg2mem %sv_1.124.reload = load i8*, i8** %sv_1.124.reg2mem %sv_2.125.reload = load i16*, i16** %sv_2.125.reg2mem %sv_3.126.reload = load i32*, i32** %sv_3.126.reg2mem %storemerge727.reload = load i32, i32* %storemerge727.reg2mem %27 = load i32, i32* %18, align 4 %28 = call i64 @FUNC(i64 %sv_0.023.reload, i64 %19, i32 %27) store i8* %sv_1.124.reload, i8** %sv_1.0.reg2mem br i1 %22, label LBL_4, label LBL_3 LBL_3: %29 = ptrtoint i8* %sv_1.124.reload to i64 %30 = add i64 %29, 1 %31 = inttoptr i64 %30 to i8* %32 = trunc i64 %28 to i8 store i8 %32, i8* %sv_1.124.reload, align 1 store i8* %31, i8** %sv_1.0.reg2mem br label LBL_4 LBL_4: %sv_1.0.reload = load i8*, i8** %sv_1.0.reg2mem store i16* %sv_2.125.reload, i16** %sv_2.0.reg2mem br i1 %24, label LBL_6, label LBL_5 LBL_5: %33 = ptrtoint i16* %sv_2.125.reload to i64 %34 = add i64 %33, 2 %35 = inttoptr i64 %34 to i16* %36 = trunc i64 %28 to i16 store i16 %36, i16* %sv_2.125.reload, align 2 store i16* %35, i16** %sv_2.0.reg2mem br label LBL_6 LBL_6: %sv_2.0.reload = load i16*, i16** %sv_2.0.reg2mem store i32* %sv_3.126.reload, i32** %sv_3.0.reg2mem br i1 %26, label LBL_8, label LBL_7 LBL_7: %37 = trunc i64 %28 to i32 %38 = ptrtoint i32* %sv_3.126.reload to i64 %39 = add i64 %38, 4 %40 = inttoptr i64 %39 to i32* store i32 %37, i32* %sv_3.126.reload, align 4 store i32* %40, i32** %sv_3.0.reg2mem br label LBL_8 LBL_8: %41 = add i64 %sv_0.023.reload, %20 %sv_3.0.reload = load i32*, i32** %sv_3.0.reg2mem %42 = add i32 %storemerge727.reload, 1 %43 = load i32, i32* %16, align 4 %44 = zext i32 %43 to i64 %45 = sext i32 %42 to i64 %46 = icmp slt i64 %45, %44 store i32 %42, i32* %storemerge727.reg2mem store i32* %sv_3.0.reload, i32** %sv_3.126.reg2mem store i16* %sv_2.0.reload, i16** %sv_2.125.reg2mem store i8* %sv_1.0.reload, i8** %sv_1.124.reg2mem store i64 %41, i64* %sv_0.023.reg2mem br i1 %46, label LBL_2, label LBL_9 LBL_9: %.pre42 = load i32, i32* %7, align 4 store i32 %43, i32* %.pre43.reg2mem store i32 %.pre42, i32* %.reg2mem store i32 %43, i32* %.reg2mem60 store i64 %41, i64* %sv_0.0.lcssa.reg2mem store i8* %sv_1.0.reload, i8** %sv_1.1.lcssa.reg2mem store i16* %sv_2.0.reload, i16** %sv_2.1.lcssa.reg2mem store i32* %sv_3.0.reload, i32** %sv_3.1.lcssa.reg2mem br label LBL_10 LBL_10: %sv_3.1.lcssa.reload = load i32*, i32** %sv_3.1.lcssa.reg2mem %sv_2.1.lcssa.reload = load i16*, i16** %sv_2.1.lcssa.reg2mem %sv_1.1.lcssa.reload = load i8*, i8** %sv_1.1.lcssa.reg2mem %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem %.reload61 = load i32, i32* %.reg2mem60 %.reload = load i32, i32* %.reg2mem %.pre43.reload = load i32, i32* %.pre43.reg2mem %47 = add i32 %storemerge636.reload, 1 %48 = zext i32 %.reload to i64 %49 = sext i32 %47 to i64 %50 = icmp slt i64 %49, %48 store i32 %.pre43.reload, i32* %.pre4359.reg2mem store i32 %.reload, i32* %.reg2mem62 store i32 %.reload61, i32* %.reg2mem64 store i32 %47, i32* %storemerge636.reg2mem store i32* %sv_3.1.lcssa.reload, i32** %sv_3.235.reg2mem store i16* %sv_2.1.lcssa.reload, i16** %sv_2.234.reg2mem store i8* %sv_1.1.lcssa.reload, i8** %sv_1.233.reg2mem store i64 %sv_0.0.lcssa.reload, i64* %sv_0.132.reg2mem br i1 %50, label LBL_11, label LBL_12 LBL_11: %sv_0.132.reload = load i64, i64* %sv_0.132.reg2mem %sv_1.233.reload = load i8*, i8** %sv_1.233.reg2mem %sv_2.234.reload = load i16*, i16** %sv_2.234.reg2mem %sv_3.235.reload = load i32*, i32** %sv_3.235.reg2mem %storemerge636.reload = load i32, i32* %storemerge636.reg2mem %.reload65 = load i32, i32* %.reg2mem64 %.reload63 = load i32, i32* %.reg2mem62 %.pre4359.reload = load i32, i32* %.pre4359.reg2mem %51 = icmp eq i32 %.reload65, 0 store i32 0, i32* %storemerge727.reg2mem store i32* %sv_3.235.reload, i32** %sv_3.126.reg2mem store i16* %sv_2.234.reload, i16** %sv_2.125.reg2mem store i8* %sv_1.233.reload, i8** %sv_1.124.reg2mem store i64 %sv_0.132.reload, i64* %sv_0.023.reg2mem store i32 %.pre4359.reload, i32* %.pre43.reg2mem store i32 %.reload63, i32* %.reg2mem store i32 0, i32* %.reg2mem60 store i64 %sv_0.132.reload, i64* %sv_0.0.lcssa.reg2mem store i8* %sv_1.233.reload, i8** %sv_1.1.lcssa.reg2mem store i16* %sv_2.234.reload, i16** %sv_2.1.lcssa.reg2mem store i32* %sv_3.235.reload, i32** %sv_3.1.lcssa.reg2mem br i1 %51, label LBL_10, label LBL_2 LBL_12: %52 = add i64 %2, 24 %53 = inttoptr i64 %52 to i64* %54 = load i64, i64* %53, align 8 %55 = icmp eq i32 %.reload, 0 store i64 0, i64* %.lcssa.reg2mem br i1 %55, label LBL_24, label LBL_13 LBL_13: %56 = inttoptr i64 %54 to i32* %57 = inttoptr i64 %54 to i16* %58 = inttoptr i64 %54 to i8* store i32 %.reload, i32* %.reg2mem70 store i32 %.pre43.reload, i32* %.reg2mem72 store i32 0, i32* %storemerge21.reg2mem store i32* %56, i32** %sv_3.520.reg2mem store i16* %57, i16** %sv_2.519.reg2mem store i8* %58, i8** %sv_1.518.reg2mem store i64 %sv_0.0.lcssa.reload, i64* %sv_0.317.reg2mem br label LBL_23 LBL_14: %sv_0.29.reload = load i64, i64* %sv_0.29.reg2mem %sv_1.410.reload = load i8*, i8** %sv_1.410.reg2mem %sv_2.411.reload = load i16*, i16** %sv_2.411.reg2mem %sv_3.412.reload = load i32*, i32** %sv_3.412.reg2mem %storemerge513.reload = load i32, i32* %storemerge513.reg2mem %59 = load i32, i32* %18, align 4 %60 = call i64 @FUNC(i64 %sv_0.29.reload, i64 %19, i32 %59) store i8* %sv_1.410.reload, i8** %sv_1.3.reg2mem br i1 %22, label LBL_16, label LBL_15 LBL_15: %61 = ptrtoint i8* %sv_1.410.reload to i64 %62 = add i64 %61, 1 %63 = inttoptr i64 %62 to i8* %64 = trunc i64 %60 to i8 store i8 %64, i8* %sv_1.410.reload, align 1 store i8* %63, i8** %sv_1.3.reg2mem br label LBL_16 LBL_16: %sv_1.3.reload = load i8*, i8** %sv_1.3.reg2mem store i16* %sv_2.411.reload, i16** %sv_2.3.reg2mem br i1 %24, label LBL_18, label LBL_17 LBL_17: %65 = ptrtoint i16* %sv_2.411.reload to i64 %66 = add i64 %65, 2 %67 = inttoptr i64 %66 to i16* %68 = trunc i64 %60 to i16 store i16 %68, i16* %sv_2.411.reload, align 2 store i16* %67, i16** %sv_2.3.reg2mem br label LBL_18 LBL_18: %sv_2.3.reload = load i16*, i16** %sv_2.3.reg2mem store i32* %sv_3.412.reload, i32** %sv_3.3.reg2mem br i1 %26, label LBL_20, label LBL_19 LBL_19: %69 = trunc i64 %60 to i32 %70 = ptrtoint i32* %sv_3.412.reload to i64 %71 = add i64 %70, 4 %72 = inttoptr i64 %71 to i32* store i32 %69, i32* %sv_3.412.reload, align 4 store i32* %72, i32** %sv_3.3.reg2mem br label LBL_20 LBL_20: %73 = add i64 %sv_0.29.reload, %20 %sv_3.3.reload = load i32*, i32** %sv_3.3.reg2mem %74 = add i32 %storemerge513.reload, 1 %75 = load i32, i32* %16, align 4 %76 = zext i32 %75 to i64 %77 = sext i32 %74 to i64 %78 = icmp slt i64 %77, %76 store i32 %74, i32* %storemerge513.reg2mem store i32* %sv_3.3.reload, i32** %sv_3.412.reg2mem store i16* %sv_2.3.reload, i16** %sv_2.411.reg2mem store i8* %sv_1.3.reload, i8** %sv_1.410.reg2mem store i64 %73, i64* %sv_0.29.reg2mem br i1 %78, label LBL_14, label LBL_21 LBL_21: %.pre44 = load i32, i32* %7, align 4 store i32 %.pre44, i32* %.reg2mem66 store i32 %75, i32* %.reg2mem68 store i64 %73, i64* %sv_0.2.lcssa.reg2mem store i8* %sv_1.3.reload, i8** %sv_1.4.lcssa.reg2mem store i16* %sv_2.3.reload, i16** %sv_2.4.lcssa.reg2mem store i32* %sv_3.3.reload, i32** %sv_3.4.lcssa.reg2mem br label LBL_22 LBL_22: %sv_3.4.lcssa.reload = load i32*, i32** %sv_3.4.lcssa.reg2mem %sv_2.4.lcssa.reload = load i16*, i16** %sv_2.4.lcssa.reg2mem %sv_1.4.lcssa.reload = load i8*, i8** %sv_1.4.lcssa.reg2mem %sv_0.2.lcssa.reload = load i64, i64* %sv_0.2.lcssa.reg2mem %.reload69 = load i32, i32* %.reg2mem68 %.reload67 = load i32, i32* %.reg2mem66 %79 = add i32 %storemerge21.reload, 1 %80 = zext i32 %.reload67 to i64 %81 = sext i32 %79 to i64 %82 = icmp slt i64 %81, %80 store i32 %.reload67, i32* %.reg2mem70 store i32 %.reload69, i32* %.reg2mem72 store i32 %79, i32* %storemerge21.reg2mem store i32* %sv_3.4.lcssa.reload, i32** %sv_3.520.reg2mem store i16* %sv_2.4.lcssa.reload, i16** %sv_2.519.reg2mem store i8* %sv_1.4.lcssa.reload, i8** %sv_1.518.reg2mem store i64 %sv_0.2.lcssa.reload, i64* %sv_0.317.reg2mem store i64 %80, i64* %.lcssa.reg2mem br i1 %82, label LBL_23, label LBL_24 LBL_23: %sv_0.317.reload = load i64, i64* %sv_0.317.reg2mem %sv_1.518.reload = load i8*, i8** %sv_1.518.reg2mem %sv_2.519.reload = load i16*, i16** %sv_2.519.reg2mem %sv_3.520.reload = load i32*, i32** %sv_3.520.reg2mem %storemerge21.reload = load i32, i32* %storemerge21.reg2mem %.reload73 = load i32, i32* %.reg2mem72 %.reload71 = load i32, i32* %.reg2mem70 %83 = icmp eq i32 %.reload73, 0 store i32 0, i32* %storemerge513.reg2mem store i32* %sv_3.520.reload, i32** %sv_3.412.reg2mem store i16* %sv_2.519.reload, i16** %sv_2.411.reg2mem store i8* %sv_1.518.reload, i8** %sv_1.410.reg2mem store i64 %sv_0.317.reload, i64* %sv_0.29.reg2mem store i32 %.reload71, i32* %.reg2mem66 store i32 0, i32* %.reg2mem68 store i64 %sv_0.317.reload, i64* %sv_0.2.lcssa.reg2mem store i8* %sv_1.518.reload, i8** %sv_1.4.lcssa.reg2mem store i16* %sv_2.519.reload, i16** %sv_2.4.lcssa.reg2mem store i32* %sv_3.520.reload, i32** %sv_3.4.lcssa.reg2mem br i1 %83, label LBL_22, label LBL_14 LBL_24: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem ret i64 %.lcssa.reload uselistorder i32* %sv_3.520.reload, { 1, 0 } uselistorder i16* %sv_2.519.reload, { 1, 0 } uselistorder i8* %sv_1.518.reload, { 1, 0 } uselistorder i64 %sv_0.317.reload, { 1, 0 } uselistorder i64 %60, { 2, 0, 1 } uselistorder i32* %sv_3.412.reload, { 2, 1, 0 } uselistorder i16* %sv_2.411.reload, { 2, 1, 0 } uselistorder i8* %sv_1.410.reload, { 2, 1, 0 } uselistorder i64 %sv_0.29.reload, { 1, 0 } uselistorder i64 %54, { 2, 1, 0 } uselistorder i32* %sv_3.235.reload, { 1, 0 } uselistorder i16* %sv_2.234.reload, { 1, 0 } uselistorder i8* %sv_1.233.reload, { 1, 0 } uselistorder i64 %sv_0.132.reload, { 1, 0 } uselistorder i32 %.reload, { 0, 3, 1, 2 } uselistorder i64 %28, { 2, 0, 1 } uselistorder i32* %sv_3.126.reload, { 2, 1, 0 } uselistorder i16* %sv_2.125.reload, { 2, 1, 0 } uselistorder i8* %sv_1.124.reload, { 2, 1, 0 } uselistorder i64 %sv_0.023.reload, { 1, 0 } uselistorder i32* %16, { 0, 2, 1 } uselistorder i32 %10, { 2, 1, 0 } uselistorder i64 %5, { 2, 1, 0 } uselistorder i64 %2, { 3, 1, 0, 2, 4 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i32* %storemerge727.reg2mem, { 1, 2, 0 } uselistorder i32** %sv_3.126.reg2mem, { 1, 2, 0 } uselistorder i16** %sv_2.125.reg2mem, { 1, 2, 0 } uselistorder i8** %sv_1.124.reg2mem, { 1, 2, 0 } uselistorder i64* %sv_0.023.reg2mem, { 1, 2, 0 } uselistorder i32* %.pre43.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem60, { 1, 0, 2 } uselistorder i64* %sv_0.0.lcssa.reg2mem, { 1, 0, 2 } uselistorder i8** %sv_1.1.lcssa.reg2mem, { 1, 0, 2 } uselistorder i16** %sv_2.1.lcssa.reg2mem, { 1, 0, 2 } uselistorder i32** %sv_3.1.lcssa.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge513.reg2mem, { 1, 2, 0 } uselistorder i32** %sv_3.412.reg2mem, { 1, 2, 0 } uselistorder i16** %sv_2.411.reg2mem, { 1, 2, 0 } uselistorder i8** %sv_1.410.reg2mem, { 1, 2, 0 } uselistorder i64* %sv_0.29.reg2mem, { 1, 2, 0 } uselistorder i32* %.reg2mem66, { 1, 0, 2 } uselistorder i32* %.reg2mem68, { 1, 0, 2 } uselistorder i64* %sv_0.2.lcssa.reg2mem, { 1, 0, 2 } uselistorder i8** %sv_1.4.lcssa.reg2mem, { 1, 0, 2 } uselistorder i16** %sv_2.4.lcssa.reg2mem, { 1, 0, 2 } uselistorder i32** %sv_3.4.lcssa.reg2mem, { 1, 0, 2 } uselistorder i64* %.lcssa.reg2mem, { 0, 1, 3, 2 } uselistorder i64 (i64, i64, i32)* @vmnc_get_pixel, { 1, 0 } uselistorder label LBL_24, { 0, 2, 1 } uselistorder label LBL_23, { 1, 0 } uselistorder label LBL_11, { 1, 0 } }
1
BinRealVul
helper_movcal_14608
helper_movcal
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 %1 = and i64 %arg2, 4294967295 %2 = call i64 @FUNC(i64 %0, i64 %1) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 store i64 %2, i64* %rax.0.reg2mem br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64* @malloc(i32 16) %6 = ptrtoint i64* %5 to i64 %7 = trunc i64 %arg2 to i32 %8 = bitcast i64* %5 to i32* store i32 %7, i32* %8, align 4 %9 = trunc i64 %arg3 to i32 %10 = add i64 %6, 4 %11 = inttoptr i64 %10 to i32* store i32 %9, i32* %11, align 4 %12 = add i64 %6, 8 %13 = inttoptr i64 %12 to i64* store i64 0, i64* %13, align 8 store i64 %6, i64* inttoptr (i64 16 to i64*), align 16 store i64 %12, i64* %arg1, align 8 store i64 %0, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload }
1
BinRealVul
setup_efi_state_11321
setup_efi_state
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = load i32, i32* @gv_0, align 4 %1 = icmp eq i32 %0, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_1, label LBL_3 LBL_1: %3 = call i64 @FUNC(i64 1) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_2, label LBL_3 LBL_2: %6 = ptrtoint i64* %arg1 to i64 %7 = load i64, i64* @gv_1, align 8 store i64 %7, i64* %arg1, align 8 %8 = load i64, i64* @gv_2, align 8 %9 = add i64 %6, 8 %10 = inttoptr i64 %9 to i64* store i64 %8, i64* %10, align 8 %11 = load i64, i64* @gv_3, align 8 %12 = add i64 %6, 16 %13 = inttoptr i64 %12 to i64* store i64 %11, i64* %13, align 8 %14 = load i32, i32* @gv_4, align 4 %15 = add i64 %6, 24 %16 = inttoptr i64 %15 to i32* store i32 %14, i32* %16, align 4 %17 = call i64 @FUNC() %18 = trunc i64 %17 to i32 %19 = add i64 %6, 28 %20 = inttoptr i64 %19 to i32* store i32 %18, i32* %20, align 4 %21 = trunc i64 %arg4 to i32 %22 = trunc i64 %arg3 to i32 %23 = call i64 @FUNC(i64 %6, i64 %arg2, i32 %22, i32 %21) %24 = trunc i64 %arg5 to i32 %25 = call i64 @FUNC(i64 %6, i64 %arg2, i32 %24) br label LBL_3 LBL_3: ret i64 0 uselistorder i64 %6, { 1, 0, 2, 3, 4, 5 } uselistorder i32 0, { 2, 3, 0, 1 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_3, { 2, 0, 1 } }
1
BinRealVul
huffman_decode_step_5892
huffman_decode_step
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %0 = icmp eq i64* %arg1, null store i64 4294967295, i64* %rax.0.reg2mem br i1 %0, label LBL_7, label LBL_1 LBL_1: %1 = ptrtoint i64* %arg1 to i64 %2 = add i64 %1, 8 %3 = inttoptr i64 %2 to i64* %4 = add i64 %1, 16 %5 = inttoptr i64 %4 to i64* store i32 0, i32* %sv_1.0.reg2mem store i32 0, i32* %sv_0.0.reg2mem br label LBL_2 LBL_2: %6 = call i64 @FUNC(i64 %1) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, -1 %9 = icmp eq i1 %8, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %9, label LBL_3, label LBL_7 LBL_3: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %10 = mul i32 %sv_1.0.reload, 2 %11 = or i32 %10, %7 %12 = load i64, i64* %3, align 8 %13 = sext i32 %sv_0.0.reload to i64 %14 = mul i64 %13, 4 %15 = add i64 %12, %14 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = sub i32 %11, %17 %19 = load i64, i64* %5, align 8 %20 = add i64 %19, %14 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = icmp ult i32 %18, %22 br i1 %23, label LBL_5, label LBL_4 LBL_4: %24 = add nuw i32 %sv_0.0.reload, 1 %25 = icmp eq i32 %sv_0.0.reload, 15 %26 = icmp eq i1 %25, false store i32 %11, i32* %sv_1.0.reg2mem store i32 %24, i32* %sv_0.0.reg2mem store i64 4294967295, i64* %rax.0.reg2mem br i1 %26, label LBL_2, label LBL_7 LBL_5: %27 = add i64 %1, 24 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = add i64 %29, %14 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = add i32 %32, %18 %34 = icmp sgt i32 %33, 271 store i64 4294967295, i64* %rax.0.reg2mem br i1 %34, label LBL_7, label LBL_6 LBL_6: %35 = sext i32 %33 to i64 %36 = mul i64 %35, 4 %37 = add i64 %36, %19 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 %40 = zext i32 %39 to i64 store i64 %40, 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 %14, { 2, 1, 0 } uselistorder i32 %sv_0.0.reload, { 1, 0, 2 } uselistorder i64 %1, { 2, 3, 1, 0 } uselistorder i32* %sv_1.0.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.0.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 3, 1, 2, 4 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_7, { 4, 2, 0, 1, 3 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
dec_scall_2230
dec_scall
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 7 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i32 @puts(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0)) br label LBL_5 LBL_2: %6 = icmp eq i32 %2, 2 %7 = icmp eq i1 %6, false br i1 %7, label LBL_4, label LBL_3 LBL_3: %8 = call i32 @puts(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0)) br label LBL_5 LBL_4: %9 = ptrtoint i32* %arg1 to i64 %10 = add i64 %9, 4 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = zext i32 %12 to i64 %14 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0), i64 %13) store i64 %14, i64* %rax.0.reg2mem br label LBL_8 LBL_5: %15 = ptrtoint i32* %arg1 to i64 %16 = add i64 %15, 4 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = load i32, i32* bitcast (i64* @gv_3 to i32*), align 8 %20 = zext i32 %19 to i64 %21 = zext i32 %18 to i64 %22 = call i64 @FUNC(i64 %20, i64 %21) br i1 %4, label LBL_7, label LBL_6 LBL_6: %23 = call i64 @FUNC(i64 %15, i64 1) store i64 %23, i64* %rax.0.reg2mem br label LBL_8 LBL_7: %24 = call i64 @FUNC(i64 %15, i64 2) store i64 %24, 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 %2, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64 (i64, i64)* @t_gen_raise_exception, { 1, 0 } uselistorder i32 (i8*)* @puts, { 1, 0 } }
0
BinRealVul
uhci_async_cancel_all_2162
uhci_async_cancel_all
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge3.lcssa.reg2mem = alloca i64 %storemerge357.reg2mem = alloca i64 %0 = icmp eq i64 %arg1, 0 %1 = icmp eq i1 %0, false store i64 %arg1, i64* %storemerge3.lcssa.reg2mem br i1 %1, label LBL_1, label LBL_3 LBL_1: %2 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0)) store i64 %arg1, i64* %storemerge357.reg2mem br label LBL_2 LBL_2: %storemerge357.reload = load i64, i64* %storemerge357.reg2mem %3 = inttoptr i64 %storemerge357.reload to i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i64 %storemerge357.reload, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0)) %6 = icmp eq i64 %4, 0 store i64 %4, i64* %storemerge357.reg2mem store i64 0, i64* %storemerge3.lcssa.reg2mem br i1 %6, label LBL_3, label LBL_2 LBL_3: %storemerge3.lcssa.reload = load i64, i64* %storemerge3.lcssa.reg2mem ret i64 %storemerge3.lcssa.reload uselistorder i64 %storemerge357.reload, { 1, 0 } uselistorder i64* %storemerge357.reg2mem, { 1, 0, 2 } uselistorder i64 (i64, i8*)* @uhci_queue_free, { 1, 0 } uselistorder i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), { 1, 0 } uselistorder i64 %arg1, { 1, 2, 0, 3 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
qeth_l3_remove_device_17869
qeth_l3_remove_device
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %sext = mul i64 %1, 4294967296 %4 = ashr exact i64 %sext, 32 %5 = icmp eq i64 %4, ptrtoint (i64* @gv_0 to i64) %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 %2) br label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %3, i64 0, i64 1) %9 = call i64 @FUNC(i64 %3, i64 4294967295) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 %12 = add i64 %3, 8 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = zext i1 %11 to i64 %16 = zext i32 %14 to i64 %17 = call i64 @FUNC(i64 %16, i64 %15) %18 = add i64 %2, 4 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = icmp eq i32 %20, 1 %22 = icmp eq i1 %21, false br i1 %22, label LBL_4, label LBL_3 LBL_3: %23 = call i64 @FUNC(i64 %2) br label LBL_4 LBL_4: %24 = inttoptr i64 %3 to i64* %25 = load i64, i64* %24, align 8 %26 = icmp eq i64 %25, 0 br i1 %26, label LBL_6, label LBL_5 LBL_5: %27 = add i64 %3, 12 %28 = call i64 @FUNC(i64 %27) %29 = load i64, i64* %24, align 8 %30 = call i64 @FUNC(i64 %29) store i64 0, i64* %24, align 8 br label LBL_6 LBL_6: %31 = call i64 @FUNC(i64 %3, i64 0) %32 = call i64 @FUNC(i64 %3) ret i64 %32 uselistorder i64 %3, { 1, 0, 3, 2, 6, 5, 4 } uselistorder i64 %2, { 2, 1, 0, 3 } }
1
BinRealVul
gf_sg_vrml_mf_alloc_13022
gf_sg_vrml_mf_alloc
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = and i64 %arg2, 4294967295 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64 1, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_8 LBL_1: %sext = mul i64 %arg2, 4294967296 %4 = ashr exact i64 %sext, 32 %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 3 %7 = icmp eq i1 %6, false store i64 1, i64* %rax.0.reg2mem br i1 %7, label LBL_2, label LBL_8 LBL_2: %8 = and i64 %4, 4294967295 %9 = call i64 @FUNC(i64 %8) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false store i64 1, i64* %rax.0.reg2mem br i1 %12, label LBL_3, label LBL_8 LBL_3: %sext2 = mul i64 %arg3, 4294967296 %13 = ashr exact i64 %sext2, 32 %14 = trunc i64 %13 to i32 %15 = icmp ult i32 %14, 1001 store i64 2, i64* %rax.0.reg2mem br i1 %15, label LBL_4, label LBL_8 LBL_4: %16 = ptrtoint i64* %arg1 to i64 %17 = add i64 %16, 8 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = icmp eq i32 %19, %14 %21 = icmp eq i1 %20, false store i64 0, i64* %rax.0.reg2mem br i1 %21, label LBL_5, label LBL_8 LBL_5: %22 = call i64 @FUNC(i64 %16, i64 %8) %23 = icmp eq i32 %14, 0 br i1 %23, label LBL_7, label LBL_6 LBL_6: %24 = and i64 %13, 4294967295 %25 = and i64 %9, 4294967295 %26 = mul nuw i64 %25, %24 %27 = call i64 @FUNC(i64 %26) store i64 %27, i64* %arg1, align 8 %28 = inttoptr i64 %26 to i64* %29 = mul i32 %10, %14 %30 = call i64* @memset(i64* %28, i32 0, i32 %29) br label LBL_7 LBL_7: store i32 %14, i32* %18, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %26, { 1, 0 } uselistorder i32 %14, { 1, 0, 2, 3, 4 } uselistorder i64 %4, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 2, 3, 4, 5 } uselistorder label LBL_8, { 5, 0, 1, 2, 3, 4 } }
1
BinRealVul
add_tree_5401
add_tree
define i64 @FUNC(i8* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.shrunk.reg2mem = alloca i32 %sv_0.0.lcssa.reg2mem = alloca i32 %sv_1.0.lcssa.reg2mem = alloca i64 %storemerge7.reg2mem = alloca i64 %.reg2mem = alloca i64 %0 = load i64, i64* @gv_0, align 8 %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 %0, i64* %.reg2mem br i1 %2, label LBL_4, label LBL_1 LBL_1: %3 = call i64 @FUNC(i64 8) store i64 %3, i64* @gv_0, align 8 %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_3, label LBL_2 LBL_2: %6 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0)) store i32 -1, i32* %rax.0.shrunk.reg2mem br label LBL_18 LBL_3: %7 = inttoptr i64 %3 to i64* store i64 0, i64* %7, align 8 %.pre = load i64, i64* @gv_0, align 8 store i64 %.pre, i64* %.reg2mem br label LBL_4 LBL_4: %sext = mul i64 %arg2, 4294967296 %8 = ashr exact i64 %sext, 32 %.reload = load i64, i64* %.reg2mem %storemerge.in5 = inttoptr i64 %.reload to i64* %storemerge6 = load i64, i64* %storemerge.in5, align 8 %9 = icmp eq i64 %storemerge6, 0 %10 = icmp eq i1 %9, false store i64 0, i64* %sv_1.0.lcssa.reg2mem store i32 0, i32* %sv_0.0.lcssa.reg2mem br i1 %10, label LBL_5, label LBL_9 LBL_5: %11 = trunc i64 %8 to i32 store i64 %storemerge6, i64* %storemerge7.reg2mem br label LBL_6 LBL_6: %storemerge7.reload = load i64, i64* %storemerge7.reg2mem %12 = add i64 %storemerge7.reload, 20 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = icmp eq i32 %14, %11 %16 = icmp eq i1 %15, false br i1 %16, label LBL_7, label LBL_17 LBL_7: %17 = add i64 %storemerge7.reload, 24 %storemerge.in = inttoptr i64 %17 to i64* %storemerge = load i64, i64* %storemerge.in, align 8 %18 = icmp eq i64 %storemerge, 0 %19 = icmp eq i1 %18, false store i64 %storemerge, i64* %storemerge7.reg2mem br i1 %19, label LBL_6, label LBL_8 LBL_8: %20 = add i64 %storemerge7.reload, 16 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = add i32 %22, 1 store i64 %storemerge7.reload, i64* %sv_1.0.lcssa.reg2mem store i32 %23, i32* %sv_0.0.lcssa.reg2mem br label LBL_9 LBL_9: %24 = call i64 @FUNC(i64 32) %25 = icmp eq i64 %24, 0 %26 = icmp eq i1 %25, false br i1 %26, label LBL_11, label LBL_10 LBL_10: %27 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0)) store i32 -1, i32* %rax.0.shrunk.reg2mem br label LBL_18 LBL_11: %sv_1.0.lcssa.reload = load i64, i64* %sv_1.0.lcssa.reg2mem %28 = inttoptr i64 %24 to i64* %29 = call i64* @memset(i64* %28, i32 0, i32 32) %30 = call i32 @strlen(i8* %arg1) %31 = sext i32 %30 to i64 %32 = add nsw i64 %31, 1 %33 = call i64 @FUNC(i64 %32) store i64 %33, i64* %28, align 8 %34 = icmp eq i64 %33, 0 %35 = icmp eq i1 %34, false br i1 %35, label LBL_13, label LBL_12 LBL_12: %36 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0)) %37 = call i64 @FUNC(i64 %24) store i32 -1, i32* %rax.0.shrunk.reg2mem br label LBL_18 LBL_13: %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %38 = inttoptr i64 %33 to i8* %39 = call i8* @strcpy(i8* %38, i8* %arg1) %40 = load i64, i64* %28, align 8 %41 = inttoptr i64 %40 to i8* %42 = call i32 @strlen(i8* %41) %43 = add i64 %24, 8 %44 = inttoptr i64 %43 to i32* store i32 %42, i32* %44, align 4 %45 = add i64 %24, 16 %46 = inttoptr i64 %45 to i32* store i32 %sv_0.0.lcssa.reload, i32* %46, align 4 %47 = trunc i64 %8 to i32 %48 = add i64 %24, 20 %49 = inttoptr i64 %48 to i32* store i32 %47, i32* %49, align 4 %50 = icmp eq i64 %sv_1.0.lcssa.reload, 0 %51 = icmp eq i1 %50, false br i1 %51, label LBL_15, label LBL_14 LBL_14: %52 = load i64, i64* @gv_0, align 8 %53 = inttoptr i64 %52 to i64* store i64 %24, i64* %53, align 8 br label LBL_16 LBL_15: %54 = add i64 %sv_1.0.lcssa.reload, 24 %55 = inttoptr i64 %54 to i64* store i64 %24, i64* %55, align 8 br label LBL_16 LBL_16: %56 = ptrtoint i8* %arg1 to i64 %57 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0), i64 %56, i32 %sv_0.0.lcssa.reload) store i32 %sv_0.0.lcssa.reload, i32* %rax.0.shrunk.reg2mem br label LBL_18 LBL_17: %58 = add i64 %storemerge7.reload, 16 %59 = inttoptr i64 %58 to i32* %60 = load i32, i32* %59, align 4 store i32 %60, i32* %rax.0.shrunk.reg2mem br label LBL_18 LBL_18: %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 %33, { 1, 0, 2 } uselistorder i64 %sv_1.0.lcssa.reload, { 1, 0 } uselistorder i64 %24, { 2, 1, 3, 4, 5, 0, 6, 7 } uselistorder i64 %storemerge7.reload, { 3, 0, 4, 1, 2 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge7.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 1, 5, 4, 3, 2 } uselistorder i32 (i8*)* @strlen, { 1, 0 } uselistorder i64 16, { 0, 2, 1 } uselistorder i32 0, { 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder i32 -1, { 2, 1, 0 } uselistorder i64 (i8*)* @LM_ERR, { 2, 1, 0 } uselistorder i64 (i64)* @shm_malloc, { 2, 1, 0 } uselistorder i64 8, { 1, 0 } uselistorder i1 false, { 1, 2, 4, 5, 3, 0, 6, 7 } uselistorder i64* @gv_0, { 1, 0, 2, 3 } uselistorder i32 1, { 5, 4, 3, 2, 1, 0 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
isodate17_9973
isodate17
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 56) %2 = add i64 %0, 12 %3 = inttoptr i64 %2 to i8* %4 = load i8, i8* %3, align 1 %5 = zext i8 %4 to i64 %6 = mul nuw nsw i64 %5, 10 %7 = add i64 %0, 13 %8 = inttoptr i64 %7 to i8* %9 = load i8, i8* %8, align 1 %10 = zext i8 %9 to i64 %11 = add nuw nsw i64 %6, %10 %12 = mul i64 %11, 4294967296 %sext = add nsw i64 %12, -2267742732288 %13 = ashr exact i64 %sext, 32 store i64 %13, i64* %sv_0, align 8 %14 = call i64 @FUNC(i64* nonnull %sv_0) %15 = icmp eq i64 %14, -1 %16 = icmp eq i1 %15, false %storemerge = select i1 %16, i64 %14, i64 0 ret i64 %storemerge uselistorder i64* %sv_0, { 0, 2, 1 } }
0
BinRealVul
do_move_mount_10599
do_move_mount
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i64 %sv_0.11.reg2mem = alloca i64 %sv_0.0.ph.reg2mem = alloca i64 %sv_1.03.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_2 = alloca i64, align 8 %2 = load i64, i64* %0 %sv_3 = alloca i64, align 8 %3 = icmp eq i64 %arg2, 0 store i64 4294967274, i64* %rax.0.shrunk.reg2mem br i1 %3, label LBL_21, label LBL_1 LBL_1: %4 = trunc i64 %1 to i8 %5 = icmp eq i8 %4, 0 %6 = icmp eq i1 %5, false store i64 4294967274, i64* %rax.0.shrunk.reg2mem br i1 %6, label LBL_2, label LBL_21 LBL_2: %7 = call i64 @FUNC(i64 %arg2, i64 1, i64* nonnull %sv_3) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 store i64 %7, i64* %rax.0.shrunk.reg2mem br i1 %9, label LBL_3, label LBL_21 LBL_3: %10 = ptrtoint i64* %arg1 to i64 %11 = call i64 @FUNC(i64 %10) %12 = trunc i64 %11 to i32 %13 = icmp slt i32 %12, 0 store i64 %11, i64* %sv_0.11.reg2mem br i1 %13, label LBL_20, label LBL_4 LBL_4: %14 = load i64, i64* %sv_3, align 8 %15 = call i64 @FUNC(i64 %14) %16 = call i64 @FUNC(i64 %14) %17 = call i64 @FUNC(i64 %16) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 store i64 4294967274, i64* %sv_0.0.ph.reg2mem br i1 %19, label LBL_172, label LBL_5 LBL_5: %20 = call i64 @FUNC(i64 %15) %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %21, 0 store i64 4294967274, i64* %sv_0.0.ph.reg2mem br i1 %22, label LBL_172, label LBL_6 LBL_6: %23 = add i64 %10, 8 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = call i64 @FUNC(i64 %25) %27 = trunc i64 %26 to i32 %28 = icmp eq i32 %27, 0 %29 = icmp eq i1 %28, false store i64 4294967274, i64* %sv_0.0.ph.reg2mem br i1 %29, label LBL_172, label LBL_7 LBL_7: %30 = load i64, i64* %sv_3, align 8 %31 = add i64 %30, 8 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = icmp eq i64 %2, %33 %35 = icmp eq i1 %34, false store i64 4294967274, i64* %sv_0.0.ph.reg2mem br i1 %35, label LBL_172, label LBL_8 LBL_8: %36 = call i64 @FUNC(i64 %15) %37 = trunc i64 %36 to i32 %38 = icmp eq i32 %37, 0 store i64 4294967274, i64* %sv_0.0.ph.reg2mem br i1 %38, label LBL_172, label LBL_9 LBL_9: %39 = load i64, i64* %24, align 8 %40 = inttoptr i64 %39 to i64* %41 = load i64, i64* %40, align 8 %42 = inttoptr i64 %41 to i32* %43 = load i32, i32* %42, align 4 %44 = and i32 %43, 61440 %45 = icmp eq i32 %44, 16384 %46 = inttoptr i64 %2 to i64* %47 = load i64, i64* %46, align 8 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = and i32 %49, 61440 %51 = icmp eq i32 %50, 16384 %52 = icmp eq i1 %51, %45 %53 = icmp eq i1 %52, false store i64 4294967274, i64* %sv_0.0.ph.reg2mem br i1 %53, label LBL_172, label LBL_10 LBL_10: %54 = inttoptr i64 %15 to i64* %55 = load i64, i64* %54, align 8 %56 = call i64 @FUNC(i64 %55) %57 = trunc i64 %56 to i32 %58 = icmp eq i32 %57, 0 %59 = icmp eq i1 %58, false store i64 4294967274, i64* %sv_0.0.ph.reg2mem br i1 %59, label LBL_172, label LBL_11 LBL_11: %60 = call i64 @FUNC(i64 %16) %61 = trunc i64 %60 to i32 %62 = icmp eq i32 %61, 0 br i1 %62, label LBL_13, label LBL_12 LBL_12: %63 = call i64 @FUNC(i64 %15) %64 = trunc i64 %63 to i32 %65 = icmp eq i32 %64, 0 %66 = icmp eq i1 %65, false store i64 4294967274, i64* %sv_0.0.ph.reg2mem br i1 %66, label LBL_172, label LBL_13 LBL_13: %67 = call i64 @FUNC(i64 %16) %68 = trunc i64 %67 to i32 %69 = icmp eq i32 %68, 0 %70 = icmp eq i1 %69, false store i64 %16, i64* %sv_1.03.reg2mem br i1 %70, label LBL_14, label LBL_16 LBL_14: %sv_1.03.reload = load i64, i64* %sv_1.03.reg2mem %71 = icmp eq i64 %sv_1.03.reload, %15 store i64 4294967256, i64* %sv_0.0.ph.reg2mem br i1 %71, label LBL_172, label LBL_15 LBL_15: %72 = inttoptr i64 %sv_1.03.reload to i64* %73 = load i64, i64* %72, align 8 %74 = call i64 @FUNC(i64 %73) %75 = trunc i64 %74 to i32 %76 = icmp eq i32 %75, 0 %77 = icmp eq i1 %76, false store i64 %73, i64* %sv_1.03.reg2mem br i1 %77, label LBL_14, label LBL_16 LBL_16: %78 = call i64 @FUNC(i64 %15, i64 %10, i64* nonnull %sv_2) %79 = trunc i64 %78 to i32 %80 = icmp eq i32 %79, 0 %81 = icmp eq i1 %80, false br i1 %81, label LBL_17, label LBL_19 LBL_17: %82 = call i64 @FUNC(i64 %10) store i64 %78, i64* %sv_0.11.reg2mem br label LBL_20 LBL_18: %sv_0.0.ph.reload = load i64, i64* %sv_0.0.ph.reg2mem %83 = call i64 @FUNC(i64 %10) store i64 %sv_0.0.ph.reload, i64* %sv_0.11.reg2mem br label LBL_20 LBL_19: %84 = add i64 %15, 16 %85 = call i64 @FUNC(i64 %84) %86 = call i64 @FUNC(i64 %10) %87 = call i64 @FUNC(i64* nonnull %sv_2) store i64 %78, i64* %sv_0.11.reg2mem br label LBL_20 LBL_20: %sv_0.11.reload = load i64, i64* %sv_0.11.reg2mem %88 = call i64 @FUNC(i64* nonnull %sv_3) store i64 %sv_0.11.reload, i64* %rax.0.shrunk.reg2mem br label LBL_21 LBL_21: %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295 ret i64 %rax.0 uselistorder i64 %78, { 1, 0, 2 } uselistorder i64 %sv_1.03.reload, { 1, 0 } uselistorder i64 %15, { 1, 2, 3, 0, 4, 5, 6 } uselistorder i64 %10, { 4, 1, 0, 2, 3, 5 } uselistorder i64* %sv_3, { 0, 2, 3, 1 } uselistorder i64* %sv_1.03.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.0.ph.reg2mem, { 0, 1, 9, 8, 7, 6, 5, 4, 3, 2 } uselistorder i64* %sv_0.11.reg2mem, { 0, 4, 3, 1, 2 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 4, 1, 3, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64*)* @path_put, { 1, 0 } uselistorder i64 (i64)* @unlock_mount, { 2, 1, 0 } uselistorder i64 (i64)* @IS_MNT_SHARED, { 1, 0 } uselistorder i64 (i64)* @mnt_has_parent, { 2, 0, 1 } uselistorder i64 (i64)* @check_mnt, { 1, 0 } uselistorder i64 (i64)* @real_mount, { 1, 0 } uselistorder i32 0, { 1, 2, 0, 3, 4, 5, 6, 7, 8, 9, 10, 11 } uselistorder i64 1, { 2, 0, 1 } uselistorder i1 false, { 1, 2, 0, 3, 4, 5, 6, 7, 8 } uselistorder i64 4294967274, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_21, { 3, 0, 2, 1 } uselistorder label LBL_20, { 3, 2, 0, 1 } uselistorder label LBL_172, { 0, 8, 7, 6, 5, 4, 3, 2, 1 } uselistorder label LBL_14, { 1, 0 } }
0
BinRealVul
get_int32_le_12622
get_int32_le
define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3) 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 i32, align 4 %3 = bitcast i32* %sv_0 to i64* %4 = call i64 @FUNC(i64 %2, i64* nonnull %3) %5 = trunc i64 %1 to i32 %6 = load i32, i32* %sv_0, align 4 %7 = icmp ugt i32 %6, %5 store i64 4294967274, i64* %storemerge.reg2mem br i1 %7, label LBL_2, label LBL_1 LBL_1: store i32 %6, i32* %arg2, align 4 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 %6, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
load_xbzrle_1392
load_xbzrle
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = load i64, i64* @gv_0, align 8 %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC(i64 4096) store i64 %3, i64* @gv_0, align 8 br label LBL_2 LBL_2: %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %5 to i32 %7 = call i64 @FUNC(i64 %4) %8 = icmp eq i32 %6, 1 br i1 %8, label LBL_4, label LBL_3 LBL_3: %9 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %10 = call i32 @fwrite(i64* bitcast ([49 x i8]* @gv_2 to i64*), i32 1, i32 48, %_IO_FILE* %9) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_10 LBL_4: %11 = trunc i64 %7 to i32 %12 = icmp ult i32 %11, 4097 br i1 %12, label LBL_6, label LBL_5 LBL_5: %13 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %14 = call i32 @fwrite(i64* bitcast ([44 x i8]* @gv_3 to i64*), i32 1, i32 43, %_IO_FILE* %13) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_10 LBL_6: %15 = load i64, i64* @gv_0, align 8 %16 = call i64 @FUNC(i64 %4, i64 %15, i32 %11) %17 = load i64, i64* @gv_0, align 8 %18 = call i64 @FUNC(i64 %17, i32 %11, i64 %arg3, i64 4096) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, -1 %21 = icmp eq i1 %20, false br i1 %21, label LBL_8, label LBL_7 LBL_7: %22 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %23 = call i32 @fwrite(i64* bitcast ([44 x i8]* @gv_4 to i64*), i32 1, i32 43, %_IO_FILE* %22) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_10 LBL_8: %24 = icmp slt i32 %19, 4097 store i64 0, i64* %rax.0.reg2mem br i1 %24, label LBL_10, label LBL_9 LBL_9: %25 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %26 = and i64 %18, 4294967295 %27 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %25, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_5, i64 0, i64 0), i64 %26, i64 4096) call void @abort() unreachable LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %11, { 1, 0, 2 } uselistorder i64 %4, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 4, 3 } uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 2, 1, 0 } uselistorder %_IO_FILE** @gv_1, { 3, 2, 1, 0 } uselistorder label LBL_10, { 1, 0, 2, 3 } }
0
BinRealVul
xhci_reset_8739
xhci_reset
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge4.reg2mem = alloca i32 %.reg2mem7 = alloca i64 %storemerge25.reg2mem = alloca i32 %.reg2mem = alloca i64 %storemerge36.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = inttoptr i64 %1 to i32* %3 = call i64 @FUNC() %4 = load i32, i32* %2, align 4 %5 = urem i32 %4, 2 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_0, i64 0, i64 0)) br label LBL_2 LBL_2: %9 = add i64 %1, 4 %10 = inttoptr i64 %9 to i32* store i32 0, i32* %10, align 4 store i32 1, i32* %2, align 4 %11 = add i64 %1, 8 %12 = inttoptr i64 %11 to i32* store i32 0, i32* %12, align 4 %13 = add i64 %1, 12 %14 = inttoptr i64 %13 to i32* store i32 0, i32* %14, align 4 %15 = add i64 %1, 16 %16 = inttoptr i64 %15 to i32* store i32 0, i32* %16, align 4 %17 = add i64 %1, 20 %18 = inttoptr i64 %17 to i32* store i32 0, i32* %18, align 4 %19 = add i64 %1, 24 %20 = inttoptr i64 %19 to i32* store i32 0, i32* %20, align 4 %21 = add i64 %1, 28 %22 = inttoptr i64 %21 to i32* store i32 0, i32* %22, align 4 %23 = add i64 %1, 32 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = icmp eq i32 %25, 0 store i32 0, i32* %storemerge36.reg2mem br i1 %26, label LBL_4, label LBL_3 LBL_3: %storemerge36.reload = load i32, i32* %storemerge36.reg2mem %27 = add i32 %storemerge36.reload, 1 %28 = zext i32 %27 to i64 %29 = call i64 @FUNC(i64 %1, i64 %28) %30 = load i32, i32* %24, align 4 %31 = zext i32 %30 to i64 %32 = sext i32 %27 to i64 %33 = icmp slt i64 %32, %31 store i32 %27, i32* %storemerge36.reg2mem br i1 %33, label LBL_3, label LBL_4 LBL_4: %34 = add i64 %1, 36 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = icmp eq i32 %36, 0 br i1 %37, label LBL_7, label LBL_5 LBL_5: %38 = add i64 %1, 888 %39 = inttoptr i64 %38 to i64* store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge25.reg2mem br label LBL_6 LBL_6: %storemerge25.reload = load i32, i32* %storemerge25.reg2mem %.reload = load i64, i64* %.reg2mem %40 = load i64, i64* %39, align 8 %41 = add i64 %40, %.reload %42 = call i64 @FUNC(i64 %41, i64 0) %43 = add i32 %storemerge25.reload, 1 %44 = load i32, i32* %35, align 4 %45 = zext i32 %44 to i64 %46 = sext i32 %43 to i64 %47 = icmp slt i64 %46, %45 store i64 %46, i64* %.reg2mem store i32 %43, i32* %storemerge25.reg2mem br i1 %47, label LBL_6, label LBL_7 LBL_7: %48 = add i64 %1, 40 %49 = inttoptr i64 %48 to i32* %50 = load i32, i32* %49, align 4 %51 = icmp eq i32 %50, 0 store i64 0, i64* %.reg2mem7 store i32 0, i32* %storemerge4.reg2mem br i1 %51, label LBL_9, label LBL_8 LBL_8: %storemerge4.reload = load i32, i32* %storemerge4.reg2mem %.reload8 = load i64, i64* %.reg2mem7 %52 = mul nsw i64 %.reload8, 52 %53 = add i64 %52, %1 %54 = add i64 %53, 44 %55 = inttoptr i64 %54 to i32* store i32 0, i32* %55, align 4 %56 = add i64 %53, 48 %57 = inttoptr i64 %56 to i32* store i32 0, i32* %57, align 4 %58 = add i64 %53, 52 %59 = inttoptr i64 %58 to i32* store i32 0, i32* %59, align 4 %60 = add i64 %53, 56 %61 = inttoptr i64 %60 to i32* store i32 0, i32* %61, align 4 %62 = add i64 %53, 60 %63 = inttoptr i64 %62 to i32* store i32 0, i32* %63, align 4 %64 = add i64 %53, 64 %65 = inttoptr i64 %64 to i32* store i32 0, i32* %65, align 4 %66 = add i64 %53, 68 %67 = inttoptr i64 %66 to i32* store i32 0, i32* %67, align 4 %68 = add i64 %53, 72 %69 = inttoptr i64 %68 to i32* store i32 0, i32* %69, align 4 %70 = add i64 %53, 76 %71 = inttoptr i64 %70 to i32* store i32 0, i32* %71, align 4 %72 = add i64 %53, 80 %73 = inttoptr i64 %72 to i32* store i32 1, i32* %73, align 4 %74 = add i64 %53, 84 %75 = inttoptr i64 %74 to i32* store i32 0, i32* %75, align 4 %76 = add i64 %53, 88 %77 = inttoptr i64 %76 to i32* store i32 0, i32* %77, align 4 %78 = add i64 %53, 92 %79 = inttoptr i64 %78 to i32* store i32 0, i32* %79, align 4 %80 = add i32 %storemerge4.reload, 1 %81 = load i32, i32* %49, align 4 %82 = zext i32 %81 to i64 %83 = sext i32 %80 to i64 %84 = icmp slt i64 %83, %82 store i64 %83, i64* %.reg2mem7 store i32 %80, i32* %storemerge4.reg2mem br i1 %84, label LBL_8, label LBL_9 LBL_9: %85 = call i64 @FUNC(i64 0) %86 = add i64 %1, 880 %87 = inttoptr i64 %86 to i64* store i64 %85, i64* %87, align 8 %88 = call i64 @FUNC(i64 %1) ret i64 %88 uselistorder i32* %49, { 1, 0 } uselistorder i32* %35, { 1, 0 } uselistorder i32* %24, { 1, 0 } uselistorder i64 %1, { 1, 2, 0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 } uselistorder i32* %storemerge36.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge25.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem7, { 2, 0, 1 } uselistorder i32* %storemerge4.reg2mem, { 2, 0, 1 } uselistorder i64 52, { 1, 0 } uselistorder i32 0, { 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 0, 3, 1, 4, 2, 5, 18, 19, 20, 21, 22, 23, 24, 25 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
put_string_15251
put_string
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge1.reg2mem = alloca i64 %.reg2mem = alloca i8 %0 = ptrtoint i64* %arg1 to i64 %1 = inttoptr i64 %arg2 to i8* %2 = load i8, i8* %1, align 1 %3 = icmp eq i8 %2, 0 %4 = icmp eq i1 %3, false store i8 %2, i8* %.reg2mem store i64 %arg2, i64* %storemerge1.reg2mem br i1 %4, label LBL_1, label LBL_2 LBL_1: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %.reload = load i8, i8* %.reg2mem %5 = sext i8 %.reload to i64 %6 = call i64 @FUNC(i64 %0, i64 8, i64 %5) %7 = add i64 %storemerge1.reload, 1 %8 = inttoptr i64 %7 to i8* %9 = load i8, i8* %8, align 1 %10 = icmp eq i8 %9, 0 %11 = icmp eq i1 %10, false store i8 %9, i8* %.reg2mem store i64 %7, i64* %storemerge1.reg2mem br i1 %11, label LBL_1, label LBL_2 LBL_2: %12 = call i64 @FUNC(i64 %0, i64 8, i64 0) ret i64 %12 uselistorder i8* %.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge1.reg2mem, { 2, 0, 1 } uselistorder i1 false, { 1, 0 } uselistorder i8 0, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
blit_is_unsafe_5088
blit_is_unsafe
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp slt i32 %2, 0 %5 = icmp eq i1 %4, false %6 = icmp eq i1 %3, false %7 = icmp eq i1 %5, %6 br i1 %7, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i32 21, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %8 = ptrtoint i64* %arg1 to i64 %9 = add i64 %8, 4 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp eq i32 %11, 0 %13 = icmp slt i32 %11, 0 %14 = icmp eq i1 %13, false %15 = icmp eq i1 %12, false %16 = icmp eq i1 %14, %15 br i1 %16, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i32 22, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0)) br label LBL_4 LBL_4: %17 = icmp slt i32 %2, 1025 store i64 1, i64* %rax.0.reg2mem br i1 %17, label LBL_5, label LBL_6 LBL_5: %18 = add i64 %8, 12 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = add i64 %8, 16 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = and i32 %23, %20 %25 = add i64 %8, 8 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = zext i32 %27 to i64 %29 = call i64 @FUNC(i64 %8, i64 %28, i32 %24) %30 = trunc i64 %29 to i8 %31 = icmp ne i8 %30, 0 %. = zext i1 %31 to i64 store i64 %., i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %11, { 1, 0 } uselistorder i64 %8, { 2, 3, 1, 0, 4 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 } uselistorder i1 false, { 2, 0, 3, 1 } }
0
BinRealVul
copyMultiCh8_12710
copyMultiCh8
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %storemerge.lcssa.reg2mem = alloca i64 %sv_0.14.reg2mem = alloca i64 %indvars.iv8.reg2mem = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i64 %sv_0.02.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = icmp eq i32 %arg3, 0 store i64 0, i64* %storemerge.lcssa.reg2mem br i1 %0, label LBL_6, label LBL_1 LBL_1: %1 = ptrtoint i64* %arg1 to i64 %2 = icmp eq i32 %arg4, 0 %wide.trip.count = zext i32 %arg4 to i64 %wide.trip.count10 = zext i32 %arg3 to i64 store i64 0, i64* %indvars.iv8.reg2mem store i64 %1, i64* %sv_0.14.reg2mem br label LBL_4 LBL_2: %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %3 = mul i64 %indvars.iv.reload, 8 %4 = add i64 %3, %arg2 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = add i64 %6, %13 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = add i64 %sv_0.02.reload, 2 %.tr = trunc i32 %9 to i16 %11 = mul i16 %.tr, 256 %12 = inttoptr i64 %sv_0.02.reload to i16* store i16 %11, i16* %12, align 2 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %10, i64* %sv_0.02.reg2mem store i64 %10, i64* %sv_0.0.lcssa.reg2mem br i1 %exitcond, label LBL_3, label LBL_2 LBL_3: %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem %indvars.iv.next9 = add nuw nsw i64 %indvars.iv8.reload, 1 %exitcond11 = icmp eq i64 %indvars.iv.next9, %wide.trip.count10 store i64 %indvars.iv.next9, i64* %indvars.iv8.reg2mem store i64 %sv_0.0.lcssa.reload, i64* %sv_0.14.reg2mem store i64 %wide.trip.count10, i64* %storemerge.lcssa.reg2mem br i1 %exitcond11, label LBL_6, label LBL_4 LBL_4: %sv_0.14.reload = load i64, i64* %sv_0.14.reg2mem %indvars.iv8.reload = load i64, i64* %indvars.iv8.reg2mem store i64 %sv_0.14.reload, i64* %sv_0.0.lcssa.reg2mem br i1 %2, label LBL_3, label LBL_2.lr.ph LBL_5: %13 = mul i64 %indvars.iv8.reload, 4 store i64 0, i64* %indvars.iv.reg2mem store i64 %sv_0.14.reload, i64* %sv_0.02.reg2mem br label LBL_2 LBL_6: %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem ret i64 %storemerge.lcssa.reload uselistorder i64 %indvars.iv8.reload, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 } uselistorder i64* %sv_0.02.reg2mem, { 2, 1, 0 } uselistorder i64* %sv_0.0.lcssa.reg2mem, { 2, 0, 1 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
intel_hda_update_int_sts_696
intel_hda_update_int_sts
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.44.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i32 %4 = mul i32 %3, 1073741824 %5 = and i32 %4, 1073741824 %6 = and i32 %3, 2 %7 = add i64 %2, 4 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = add i64 %2, 8 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = and i32 %12, %9 %14 = or i32 %13, %6 %15 = icmp eq i32 %14, 0 %spec.select2 = select i1 %15, i32 %5, i32 1073741824 %16 = add i64 %2, 16 store i64 0, i64* %indvars.iv.reg2mem store i32 %spec.select2, i32* %sv_0.44.reg2mem br label LBL_1 LBL_1: %sv_0.44.reload = load i32, i32* %sv_0.44.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %17 = mul i64 %indvars.iv.reload, 4 %18 = add i64 %16, %17 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = and i32 %20, 67108864 %22 = icmp eq i32 %21, 0 %23 = trunc i64 %indvars.iv.reload to i32 %24 = shl i32 1, %23 %25 = select i1 %22, i32 0, i32 %24 %sv_0.3 = or i32 %25, %sv_0.44.reload %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 8 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %sv_0.3, i32* %sv_0.44.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %26 = add i64 %2, 12 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = and i32 %28, %sv_0.3 %30 = icmp eq i32 %29, 0 %31 = or i32 %sv_0.3, -2147483648 %spec.select3 = select i1 %30, i32 %sv_0.3, i32 %31 %32 = add i64 %2, 48 %33 = inttoptr i64 %32 to i32* store i32 %spec.select3, i32* %33, align 4 ret i64 %2 uselistorder i32 %sv_0.3, { 2, 3, 1, 0 } uselistorder i32 %3, { 1, 0 } uselistorder i64 %2, { 1, 2, 3, 0, 5, 4 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.44.reg2mem, { 1, 0, 2 } uselistorder i32 1073741824, { 2, 1, 0 } }
0
BinRealVul
nfc_llcp_send_cc_11907
nfc_llcp_send_cc
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge5.reg2mem = alloca i64 %storemerge4.reg2mem = alloca i16 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i16, align 2 %sv_1 = alloca i16, align 2 %sv_2 = alloca i8, align 1 %sv_3 = alloca i16, align 2 %3 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0)) %4 = add i64 %2, 8 %5 = inttoptr i64 %4 to i16* %6 = load i16, i16* %5, align 2 %7 = zext i16 %6 to i64 %8 = call i64 @FUNC(i64 %7) %9 = trunc i64 %8 to i16 %10 = icmp ult i16 %9, 256 br i1 %10, label LBL_2, label LBL_1 LBL_1: %11 = trunc i64 %1 to i16 %12 = urem i16 %11, 256 store i16 %12, i16* %storemerge4.reg2mem br label LBL_3 LBL_2: %13 = load i16, i16* %5, align 2 store i16 %13, i16* %storemerge4.reg2mem br label LBL_3 LBL_3: %storemerge4.reload = load i16, i16* %storemerge4.reg2mem store i16 %storemerge4.reload, i16* %sv_3, align 2 %14 = add i64 %2, 10 %15 = inttoptr i64 %14 to i8* %16 = load i8, i8* %15, align 1 store i8 %16, i8* %sv_2, align 1 %17 = bitcast i16* %sv_1 to i64* %18 = call i64 @FUNC(i64 1, i16* nonnull %sv_3, i64 0, i64* nonnull %17) %19 = load i16, i16* %sv_1, align 2 %20 = urem i16 %19, 256 %21 = bitcast i8* %sv_2 to i16* %22 = bitcast i16* %sv_0 to i64* %23 = call i64 @FUNC(i64 2, i16* nonnull %21, i64 0, i64* nonnull %22) %24 = load i16, i16* %sv_0, align 2 %25 = urem i16 %24, 256 %26 = add nuw nsw i16 %25, %20 %27 = call i64 @FUNC(i64 %2, i64 3, i16 %26) %28 = icmp eq i64 %27, 0 %29 = icmp eq i1 %28, false br i1 %29, label LBL_4, label LBL_5 LBL_4: %30 = load i16, i16* %sv_1, align 2 %31 = urem i16 %30, 256 %32 = zext i16 %31 to i64 %33 = call i64 @FUNC(i64 %27, i64 %18, i64 %32) %34 = load i16, i16* %sv_0, align 2 %35 = urem i16 %34, 256 %36 = zext i16 %35 to i64 %37 = call i64 @FUNC(i64 %27, i64 %23, i64 %36) %38 = call i64 @FUNC(i64 add (i64 ptrtoint ([12 x i8]* @gv_0 to i64), i64 8), i64 %27) store i64 0, i64* %storemerge5.reg2mem br label LBL_6 LBL_5: %39 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_1, i64 0, i64 0), i64 12) store i64 12, i64* %storemerge5.reg2mem br label LBL_6 LBL_6: %storemerge5.reload = load i64, i64* %storemerge5.reg2mem %40 = call i64 @FUNC(i64 %18) %41 = call i64 @FUNC(i64 %23) ret i64 %storemerge5.reload uselistorder i64 %27, { 0, 2, 1, 3 } uselistorder i16* %sv_1, { 1, 0, 2 } uselistorder i16* %sv_0, { 1, 0, 2 } uselistorder i16* %storemerge4.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @kfree, { 1, 0 } uselistorder i64 (i64, i64, i64)* @llcp_add_tlv, { 1, 0 } uselistorder i64 (i64, i16*, i64, i64*)* @nfc_llcp_build_tlv, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
ldns_fget_token_l_19022
ldns_fget_token_l
define i64 @FUNC(i64 %arg1, i64* %arg2, i64 %arg3, i64 %arg4, i32* %arg5) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem362 = alloca i8* %sv_0.1.ph46.lcssa.reg2mem = alloca i64 %.pre-phi.pre-phi.reg2mem = alloca i8* %split107.reg2mem = alloca i64 %split.reg2mem = alloca i64 %sv_1.1.ph52110.reg2mem = alloca i32 %sv_2.1.ph53111.reg2mem = alloca i32 %sv_3.0.ph54112.reg2mem = alloca i32 %sv_4.1.ph55113.reg2mem = alloca i64 %.reg2mem360 = alloca i32 %sv_0.1.ph46118.reg2mem = alloca i64 %sv_1.1.ph47120.reg2mem = alloca i32 %sv_2.1.ph48121.reg2mem = alloca i32 %sv_3.0.ph49122.reg2mem = alloca i32 %sv_4.1.ph50123.reg2mem = alloca i64 %.reg2mem358 = alloca i32 %sv_4.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %.reg2mem356 = alloca i8* %.reg2mem354 = alloca i8 %sv_1.1.be.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i32 %sv_5.2.ph128.reg2mem = alloca i32 %sv_0.1.ph129.reg2mem = alloca i64 %sv_1.1.ph130.reg2mem = alloca i32 %sv_2.1.ph131.reg2mem = alloca i32 %sv_3.0.ph132.reg2mem = alloca i32 %sv_4.1.ph133.reg2mem = alloca i64 %.reg2mem352 = alloca i32 %.pn.reg2mem = alloca i32 %spec.select25150.reg2mem = alloca i32 %sv_1.1104.reg2mem = alloca i32 %sv_2.1105.reg2mem = alloca i32 %sv_3.0106.reg2mem = alloca i32 %.reg2mem = alloca i32 %r8 = alloca i64, align 8 %0 = ptrtoint i64* %arg2 to i64 %sv_6 = alloca i8*, align 8 %1 = icmp eq i64 %arg3, 0 %2 = icmp eq i1 %1, false %3 = inttoptr i64 %arg3 to i8* %storemerge = select i1 %2, i8* %3, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0) store i8* %storemerge, i8** %sv_6, align 8 %4 = load i8, i8* %storemerge, align 1 %5 = inttoptr i64 %arg1 to %_IO_FILE* %6 = call i32 @getc(%_IO_FILE* %5) %7 = icmp eq i32 %6, -1 %8 = icmp eq i1 %7, false store i64 0, i64* %split.reg2mem store i64 %0, i64* %split107.reg2mem br i1 %8, label LBL_1, label LBL_38 LBL_1: %9 = icmp eq i8 %4, 34 %spec.select = zext i1 %9 to i32 %10 = icmp eq i32* %arg5, null %11 = bitcast i64* %r8 to i32* %12 = icmp eq i64 %arg4, 0 store i32 %6, i32* %.reg2mem352 store i64 %0, i64* %sv_4.1.ph133.reg2mem store i32 0, i32* %sv_3.0.ph132.reg2mem store i32 %spec.select, i32* %sv_2.1.ph131.reg2mem store i32 0, i32* %sv_1.1.ph130.reg2mem store i64 0, i64* %sv_0.1.ph129.reg2mem store i32 0, i32* %sv_5.2.ph128.reg2mem br label LBL_2.lr.ph.lr.ph.lr.ph LBL_2: %sv_1.1104.reload = load i32, i32* %sv_1.1104.reg2mem %sv_2.1105.reload = load i32, i32* %sv_2.1105.reg2mem %sv_3.0106.reload = load i32, i32* %sv_3.0106.reg2mem %.reload = load i32, i32* %.reg2mem %13 = icmp eq i32 %.reload, 13 %14 = icmp eq i1 %13, false %spec.select25 = select i1 %14, i32 %.reload, i32 32 %15 = icmp eq i32 %spec.select25, 40 %16 = icmp eq i32 %sv_3.0106.reload, 92 %17 = icmp eq i32 %sv_2.1105.reload, 0 %18 = icmp eq i1 %17, %15 %19 = icmp ne i1 %18, true %20 = or i1 %16, %19 br i1 %20, label LBL_4, label LBL_3 LBL_3: %21 = icmp eq i32 %sv_1.1104.reload, 0 %22 = zext i1 %21 to i32 store i32 40, i32* %spec.select25150.reg2mem store i32 %22, i32* %.pn.reg2mem br label LBL_6 LBL_4: %23 = icmp eq i32 %spec.select25, 41 %24 = icmp eq i1 %17, %23 %25 = icmp ne i1 %24, true %26 = or i1 %16, %25 br i1 %26, label LBL_8, label LBL_5 LBL_5: %27 = icmp eq i32 %sv_1.1104.reload, 0 %28 = sext i1 %27 to i32 store i32 41, i32* %spec.select25150.reg2mem store i32 %28, i32* %.pn.reg2mem br label LBL_6 LBL_6: %.pn.reload = load i32, i32* %.pn.reg2mem %spec.select25150.reload = load i32, i32* %spec.select25150.reg2mem %sv_5.2.ph.be = add i32 %.pn.reload, %sv_5.2.ph128.reload %29 = call i32 @getc(%_IO_FILE* %5) %30 = icmp eq i32 %29, -1 %31 = icmp eq i1 %30, false store i32 %29, i32* %.reg2mem352 store i64 %sv_4.1.ph55113.reload, i64* %sv_4.1.ph133.reg2mem store i32 %spec.select25150.reload, i32* %sv_3.0.ph132.reg2mem store i32 0, i32* %sv_2.1.ph131.reg2mem store i32 %sv_1.1104.reload, i32* %sv_1.1.ph130.reg2mem store i64 %sv_0.1.ph46118.reload, i64* %sv_0.1.ph129.reg2mem store i32 %sv_5.2.ph.be, i32* %sv_5.2.ph128.reg2mem store i64 %sv_0.1.ph46118.reload, i64* %split.reg2mem store i64 %sv_4.1.ph55113.reload, i64* %split107.reg2mem br i1 %31, label LBL_2.lr.ph.lr.ph.lr.ph, label LBL_38 LBL_7: %sv_5.2.ph128.reload = load i32, i32* %sv_5.2.ph128.reg2mem %sv_0.1.ph129.reload = load i64, i64* %sv_0.1.ph129.reg2mem %sv_1.1.ph130.reload = load i32, i32* %sv_1.1.ph130.reg2mem %sv_2.1.ph131.reload = load i32, i32* %sv_2.1.ph131.reg2mem %sv_3.0.ph132.reload = load i32, i32* %sv_3.0.ph132.reg2mem %sv_4.1.ph133.reload = load i64, i64* %sv_4.1.ph133.reg2mem %.reload353 = load i32, i32* %.reg2mem352 %32 = icmp slt i32 %sv_5.2.ph128.reload, 0 %33 = icmp eq i1 %32, false %34 = icmp eq i32 %sv_5.2.ph128.reload, 0 %35 = icmp eq i1 %34, false store i32 %.reload353, i32* %.reg2mem358 store i64 %sv_4.1.ph133.reload, i64* %sv_4.1.ph50123.reg2mem store i32 %sv_3.0.ph132.reload, i32* %sv_3.0.ph49122.reg2mem store i32 %sv_2.1.ph131.reload, i32* %sv_2.1.ph48121.reg2mem store i32 %sv_1.1.ph130.reload, i32* %sv_1.1.ph47120.reg2mem store i64 %sv_0.1.ph129.reload, i64* %sv_0.1.ph46118.reg2mem br label LBL_2.lr.ph.lr.ph LBL_8: br i1 %33, label LBL_10, label LBL_9 LBL_9: store i8 0, i8* %90, align 1 store i64 0, i64* %rax.0.reg2mem br label LBL_45 LBL_10: %36 = icmp eq i32 %spec.select25, 59 %37 = icmp eq i1 %17, %36 %38 = icmp ne i1 %37, true %39 = or i1 %16, %38 %sv_1.0 = select i1 %39, i32 %sv_1.1104.reload, i32 1 %40 = icmp eq i32 %spec.select25, 34 %41 = icmp eq i1 %40, false store i32 %sv_2.1105.reload, i32* %sv_2.0.reg2mem br i1 %41, label LBL_12, label LBL_11 LBL_11: %42 = icmp eq i32 %sv_1.0, 0 %43 = icmp eq i1 %42, false %or.cond10 = or i1 %16, %43 %44 = sub i32 1, %sv_2.1105.reload %spec.select33 = select i1 %or.cond10, i32 %sv_2.1105.reload, i32 %44 store i32 %spec.select33, i32* %sv_2.0.reg2mem br label LBL_12 LBL_12: %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %45 = icmp eq i32 %spec.select25, 10 %46 = icmp eq i1 %45, false %47 = icmp eq i32 %sv_1.0, 0 %or.cond12 = or i1 %46, %47 br i1 %or.cond12, label LBL_16, label LBL_13 LBL_13: store i8 32, i8* %90, align 1 br i1 %10, label LBL_15, label LBL_14 LBL_14: %48 = load i32, i32* %11, align 8 %49 = add i32 %48, 1 store i32 %49, i32* %arg5, align 4 br label LBL_15 LBL_15: store i32 0, i32* %sv_1.1.be.reg2mem br i1 %or.cond35, label LBL_40, label LBL_18 LBL_16: %50 = icmp eq i32 %sv_1.0, 1 %51 = icmp eq i1 %50, false br i1 %51, label LBL_19, label LBL_17 LBL_17: store i8 32, i8* %90, align 1 store i32 %sv_1.0, i32* %sv_1.1.be.reg2mem br label LBL_18 LBL_18: %sv_1.1.be.reload = load i32, i32* %sv_1.1.be.reg2mem %52 = call i32 @getc(%_IO_FILE* %5) %53 = icmp eq i32 %52, -1 %54 = icmp eq i1 %53, false store i32 %52, i32* %.reg2mem store i32 %spec.select25, i32* %sv_3.0106.reg2mem store i32 %sv_2.0.reload, i32* %sv_2.1105.reg2mem store i32 %sv_1.1.be.reload, i32* %sv_1.1104.reg2mem store i8* %90, i8** %.pre-phi.pre-phi.reg2mem store i64 %sv_0.1.ph46118.reload, i64* %sv_0.1.ph46.lcssa.reg2mem br i1 %54, label LBL_2, label LBL_39 LBL_19: %or.cond14 = or i1 %34, %46 %or.cond14.not = icmp ne i1 %or.cond14, true %55 = icmp ugt i64 %sv_4.1.ph55113.reload, %0 %or.cond36 = icmp eq i1 %55, %or.cond14.not br i1 %or.cond36, label LBL_20, label LBL_23 LBL_20: br i1 %10, label LBL_22, label LBL_21 LBL_21: %56 = load i32, i32* %11, align 8 %57 = add i32 %56, 1 store i32 %57, i32* %arg5, align 4 br label LBL_22 LBL_22: %58 = add i64 %sv_4.1.ph55113.reload, 1 store i8 32, i8* %90, align 1 %59 = call i32 @getc(%_IO_FILE* %5) %60 = icmp eq i32 %59, -1 %61 = icmp eq i1 %60, false store i32 %59, i32* %.reg2mem360 store i64 %58, i64* %sv_4.1.ph55113.reg2mem store i32 %spec.select25, i32* %sv_3.0.ph54112.reg2mem store i32 %sv_2.0.reload, i32* %sv_2.1.ph53111.reg2mem store i32 %sv_1.0, i32* %sv_1.1.ph52110.reg2mem store i64 %sv_0.1.ph46118.reload, i64* %split.reg2mem store i64 %58, i64* %split107.reg2mem br i1 %61, label LBL_2.lr.ph, label LBL_38 LBL_23: %62 = load i8*, i8** %sv_6, align 8 %63 = load i8, i8* %62, align 1 %64 = icmp eq i8 %63, 0 %65 = icmp eq i1 %64, false store i8 %63, i8* %.reg2mem354 store i8* %62, i8** %.reg2mem356 br i1 %65, label LBL_24, label LBL_28 LBL_24: %.reload355 = load i8, i8* %.reg2mem354 %66 = sext i8 %.reload355 to i32 %67 = icmp eq i32 %spec.select25, %66 %68 = icmp eq i1 %67, false %or.cond16 = or i1 %88, %68 %or.cond18 = or i1 %16, %or.cond16 %or.cond38 = or i1 %35, %or.cond18 br i1 %or.cond38, label LBL_27, label LBL_25 LBL_25: %or.cond20 = or i1 %10, %46 store i8* %62, i8** %.reg2mem362 br i1 %or.cond20, label LBL_41, label LBL_26 LBL_26: %69 = load i32, i32* %11, align 8 %70 = add i32 %69, 1 store i32 %70, i32* %arg5, align 4 store i8* %62, i8** %.reg2mem362 br label LBL_41 LBL_27: %.reload357 = load i8*, i8** %.reg2mem356 %71 = ptrtoint i8* %.reload357 to i64 %72 = add i64 %71, 1 %73 = inttoptr i64 %72 to i8* %74 = load i8, i8* %73, align 1 %75 = icmp eq i8 %74, 0 %76 = icmp eq i1 %75, false store i8 %74, i8* %.reg2mem354 store i8* %73, i8** %.reg2mem356 br i1 %76, label LBL_24, label LBL_28 LBL_28: store i64 %sv_0.1.ph46118.reload, i64* %sv_0.0.reg2mem store i64 %sv_0.1.ph46118.reload, i64* %sv_0.0.reg2mem switch i32 %spec.select25, label LBL_29 [ i32 10, label LBL_30 i32 0, label LBL_30 ] LBL_29: %77 = add i64 %sv_0.1.ph46118.reload, 1 store i64 %77, i64* %sv_0.0.reg2mem br label LBL_30 LBL_30: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem br i1 %12, label LBL_33, label LBL_31 LBL_31: %78 = icmp ult i64 %sv_0.0.reload, %arg4 %79 = sub i64 %sv_4.1.ph55113.reload, %0 %80 = icmp ult i64 %79, %arg4 %or.cond40 = icmp eq i1 %80, %78 br i1 %or.cond40, label LBL_33, label LBL_32 LBL_32: store i8 0, i8* %90, align 1 store i64 4294967295, i64* %rax.0.reg2mem br label LBL_45 LBL_33: store i64 %sv_4.1.ph55113.reload, i64* %sv_4.0.reg2mem store i64 %sv_4.1.ph55113.reload, i64* %sv_4.0.reg2mem switch i32 %spec.select25, label LBL_34 [ i32 10, label LBL_35 i32 0, label LBL_35 ] LBL_34: %81 = add i64 %sv_4.1.ph55113.reload, 1 %82 = trunc i32 %spec.select25 to i8 store i8 %82, i8* %90, align 1 store i64 %81, i64* %sv_4.0.reg2mem br label LBL_35 LBL_35: %sv_4.0.reload = load i64, i64* %sv_4.0.reg2mem %83 = icmp eq i32 %spec.select25, 92 %84 = icmp eq i1 %16, %83 %spec.select44 = select i1 %84, i32 0, i32 %spec.select25 %85 = call i32 @getc(%_IO_FILE* %5) %86 = icmp eq i32 %85, -1 %87 = icmp eq i1 %86, false store i32 %85, i32* %.reg2mem358 store i64 %sv_4.0.reload, i64* %sv_4.1.ph50123.reg2mem store i32 %spec.select44, i32* %sv_3.0.ph49122.reg2mem store i32 %sv_2.0.reload, i32* %sv_2.1.ph48121.reg2mem store i32 %sv_1.0, i32* %sv_1.1.ph47120.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.1.ph46118.reg2mem store i64 %sv_0.0.reload, i64* %split.reg2mem store i64 %sv_4.0.reload, i64* %split107.reg2mem br i1 %87, label LBL_2.lr.ph.lr.ph, label LBL_38 LBL_36: %sv_0.1.ph46118.reload = load i64, i64* %sv_0.1.ph46118.reg2mem %sv_1.1.ph47120.reload = load i32, i32* %sv_1.1.ph47120.reg2mem %sv_2.1.ph48121.reload = load i32, i32* %sv_2.1.ph48121.reg2mem %sv_3.0.ph49122.reload = load i32, i32* %sv_3.0.ph49122.reg2mem %sv_4.1.ph50123.reload = load i64, i64* %sv_4.1.ph50123.reg2mem %.reload359 = load i32, i32* %.reg2mem358 %88 = icmp eq i64 %sv_0.1.ph46118.reload, 0 %89 = icmp eq i1 %88, false %or.cond35 = icmp eq i1 %34, %89 store i32 %.reload359, i32* %.reg2mem360 store i64 %sv_4.1.ph50123.reload, i64* %sv_4.1.ph55113.reg2mem store i32 %sv_3.0.ph49122.reload, i32* %sv_3.0.ph54112.reg2mem store i32 %sv_2.1.ph48121.reload, i32* %sv_2.1.ph53111.reg2mem store i32 %sv_1.1.ph47120.reload, i32* %sv_1.1.ph52110.reg2mem br label LBL_2.lr.ph LBL_37: %sv_1.1.ph52110.reload = load i32, i32* %sv_1.1.ph52110.reg2mem %sv_2.1.ph53111.reload = load i32, i32* %sv_2.1.ph53111.reg2mem %sv_3.0.ph54112.reload = load i32, i32* %sv_3.0.ph54112.reg2mem %sv_4.1.ph55113.reload = load i64, i64* %sv_4.1.ph55113.reg2mem %.reload361 = load i32, i32* %.reg2mem360 %90 = inttoptr i64 %sv_4.1.ph55113.reload to i8* store i32 %.reload361, i32* %.reg2mem store i32 %sv_3.0.ph54112.reload, i32* %sv_3.0106.reg2mem store i32 %sv_2.1.ph53111.reload, i32* %sv_2.1105.reg2mem store i32 %sv_1.1.ph52110.reload, i32* %sv_1.1104.reg2mem br label LBL_2 LBL_38: %split107.reload = load i64, i64* %split107.reg2mem %split.reload = load i64, i64* %split.reg2mem %.pre351 = inttoptr i64 %split107.reload to i8* store i8* %.pre351, i8** %.pre-phi.pre-phi.reg2mem store i64 %split.reload, i64* %sv_0.1.ph46.lcssa.reg2mem br label LBL_39 LBL_39: %sv_0.1.ph46.lcssa.reload = load i64, i64* %sv_0.1.ph46.lcssa.reg2mem %.pre-phi.pre-phi.reload = load i8*, i8** %.pre-phi.pre-phi.reg2mem store i8 0, i8* %.pre-phi.pre-phi.reload, align 1 store i64 %sv_0.1.ph46.lcssa.reload, i64* %rax.0.reg2mem br label LBL_45 LBL_40: %.pre = load i8*, i8** %sv_6, align 8 store i8* %.pre, i8** %.reg2mem362 br label LBL_41 LBL_41: %.reload363 = load i8*, i8** %.reg2mem362 %91 = load i8, i8* %.reload363, align 1 %92 = icmp eq i8 %91, 34 %93 = icmp eq i1 %92, false br i1 %93, label LBL_43, label LBL_42 LBL_42: %94 = ptrtoint i8* %.reload363 to i64 %95 = add i64 %94, 1 %96 = ptrtoint i32* %arg5 to i64 %97 = call i64 @FUNC(i64 %arg1, i64 %95, i64 %96) br label LBL_44 LBL_43: %98 = ptrtoint i32* %arg5 to i64 %99 = ptrtoint i8* %.reload363 to i64 %100 = call i64 @FUNC(i64 %arg1, i64 %99, i64 %98) br label LBL_44 LBL_44: store i8 0, i8* %90, align 1 store i64 %sv_0.1.ph46118.reload, i64* %rax.0.reg2mem br label LBL_45 LBL_45: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8* %.reload363, { 1, 0, 2 } uselistorder i8* %90, { 2, 4, 7, 6, 0, 5, 1, 3 } uselistorder i64 %sv_4.1.ph55113.reload, { 2, 6, 0, 3, 1, 4, 7, 8, 5 } uselistorder i1 %88, { 1, 0 } uselistorder i64 %sv_0.1.ph46118.reload, { 0, 4, 6, 2, 1, 3, 7, 8, 5 } uselistorder i32 %sv_2.0.reload, { 1, 0, 2 } uselistorder i32 %sv_1.0, { 1, 0, 2, 3, 4, 5 } uselistorder i32 %sv_5.2.ph128.reload, { 1, 0, 2 } uselistorder i32 %spec.select25, { 2, 7, 6, 3, 4, 5, 0, 1, 12, 11, 10, 9, 8 } uselistorder i32 %sv_2.1105.reload, { 1, 3, 0, 2 } uselistorder i32 %sv_1.1104.reload, { 1, 0, 3, 2 } uselistorder %_IO_FILE* %5, { 2, 3, 4, 1, 0 } uselistorder i8** %sv_6, { 1, 0, 2 } uselistorder i64 %0, { 2, 3, 1, 0 } uselistorder i32* %.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_3.0106.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_2.1105.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_1.1104.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_1.1.be.reg2mem, { 0, 2, 1 } uselistorder i8* %.reg2mem354, { 2, 0, 1 } uselistorder i8** %.reg2mem356, { 2, 0, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %sv_4.0.reg2mem, { 0, 2, 1, 3 } uselistorder i32* %.reg2mem360, { 0, 2, 1 } uselistorder i64* %sv_4.1.ph55113.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_3.0.ph54112.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_2.1.ph53111.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.1.ph52110.reg2mem, { 0, 2, 1 } uselistorder i64* %split.reg2mem, { 0, 2, 3, 1, 4 } uselistorder i64* %split107.reg2mem, { 0, 2, 3, 1, 4 } uselistorder i8** %.pre-phi.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.1.ph46.lcssa.reg2mem, { 0, 2, 1 } uselistorder i8** %.reg2mem362, { 0, 3, 1, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 4, 3 } uselistorder i64 (i64, i64, i64)* @ldns_fskipcs_l, { 1, 0 } uselistorder i8 0, { 1, 5, 2, 3, 0, 4 } uselistorder i32 92, { 1, 0 } uselistorder i32* %arg5, { 4, 3, 5, 2, 1, 0 } uselistorder i64 %arg4, { 0, 2, 1 } uselistorder i64 %arg1, { 1, 0, 2 } uselistorder label LBL_45, { 1, 0, 2, 3 } uselistorder label LBL_41, { 0, 2, 1 } uselistorder label LBL_39, { 1, 0 } uselistorder label LBL_38, { 1, 2, 0, 3 } uselistorder label LBL_2.lr.ph.lr.ph, { 1, 0 } uselistorder label LBL_35, { 2, 0, 1 } uselistorder label LBL_30, { 2, 0, 1 } uselistorder label LBL_24, { 1, 0 } uselistorder label LBL_2.lr.ph.lr.ph.lr.ph, { 1, 0 } }
1
BinRealVul
_nfs4_do_setlk_10236
_nfs4_do_setlk
define i64 @FUNC(i64* %arg1, i32 %arg2, i64* %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0)) %1 = call i64* @malloc(i32 24) %2 = icmp eq i64* %1, null %3 = icmp eq i1 %2, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_7 LBL_1: %4 = icmp eq i32 %arg2, 1 %5 = icmp eq i1 %4, false br i1 %5, label LBL_3, label LBL_2 LBL_2: %6 = bitcast i64* %1 to i32* store i32 1, i32* %6, align 4 br label LBL_3 LBL_3: %7 = icmp eq i32 %arg4, 0 br i1 %7, label LBL_5, label LBL_4 LBL_4: %8 = ptrtoint i64* %1 to i64 %9 = add i64 %8, 4 %10 = inttoptr i64 %9 to i32* store i32 1, i32* %10, align 4 br label LBL_5 LBL_5: %11 = call i64* @malloc(i32 0) %12 = icmp eq i64* %11, null %13 = icmp eq i1 %12, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %13, label LBL_6, label LBL_7 LBL_6: %14 = ptrtoint i64* %1 to i64 %15 = add i64 %14, 8 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp eq i32 %17, -13 %19 = icmp eq i1 %18, false call void @free(i64* %11) %20 = zext i32 %17 to i64 %21 = select i1 %19, i64 %20, i64 4294967282 %22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i64 %21) store i64 %21, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %1, { 0, 1, 3, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64* (i32)* @malloc, { 1, 0 } uselistorder label LBL_7, { 2, 0, 1 } }
0
BinRealVul
name_len_11478
name_len
define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i64 %.reg2mem10 = alloca i8 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg2 to i64 %3 = icmp ult i64 %2, %arg3 %4 = trunc i64 %1 to i8 %5 = icmp eq i8 %4, 0 %6 = icmp eq i1 %5, false %or.cond = icmp eq i1 %3, %6 store i64 4294967295, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_1, label LBL_6 LBL_1: %7 = icmp ugt i8 %4, -65 %8 = icmp eq i1 %7, false store i64 2, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_6 LBL_2: %9 = bitcast i32* %arg2 to i8* %10 = load i8, i8* %9, align 1 %11 = icmp eq i8 %10, 0 %12 = icmp eq i1 %11, false store i64 %2, i64* %.reg2mem store i8 %10, i8* %.reg2mem10 store i64 %2, i64* %.lcssa.reg2mem br i1 %12, label LBL_3, label LBL_5 LBL_3: %.reload = load i64, i64* %.reg2mem %13 = icmp ult i64 %.reload, %arg3 store i64 4294967295, i64* %rax.0.reg2mem br i1 %13, label LBL_4, label LBL_6 LBL_4: %.reload11 = load i8, i8* %.reg2mem10 %14 = zext i8 %.reload11 to i64 %15 = add i64 %.reload, 1 %16 = add i64 %15, %14 %17 = inttoptr i64 %16 to i8* %18 = load i8, i8* %17, align 1 %19 = icmp eq i8 %18, 0 %20 = icmp eq i1 %19, false store i64 %16, i64* %.reg2mem store i8 %18, i8* %.reg2mem10 store i64 %16, i64* %.lcssa.reg2mem br i1 %20, label LBL_3, label LBL_5 LBL_5: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %21 = sub i64 1, %2 %22 = add i64 %21, %.lcssa.reload %23 = and i64 %22, 4294967295 store i64 %23, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8 %4, { 1, 0 } uselistorder i64 %2, { 2, 0, 1, 3 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i8* %.reg2mem10, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i1 false, { 2, 1, 3, 0 } uselistorder i8 0, { 2, 1, 0 } uselistorder label LBL_6, { 3, 0, 1, 2 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
bdrv_all_find_vmstate_bs_2752
bdrv_all_find_vmstate_bs
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge.lcssa.reg2mem = alloca i64 %storemerge1.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = call i64 @FUNC(i64* nonnull %sv_0) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 %0, i64* %storemerge1.reg2mem store i64 %0, i64* %storemerge.lcssa.reg2mem br i1 %2, label LBL_1, label LBL_3 LBL_1: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %3 = call i64 @FUNC(i64 %storemerge1.reload) %4 = call i64 @FUNC(i64 %3) %5 = call i64 @FUNC(i64 %storemerge1.reload) %6 = trunc i64 %5 to i8 %7 = call i64 @FUNC(i64 %3) %8 = icmp eq i8 %6, 0 %9 = icmp eq i1 %8, false store i64 %storemerge1.reload, i64* %storemerge.lcssa.reg2mem br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = call i64 @FUNC(i64* nonnull %sv_0) %11 = icmp eq i64 %10, 0 %12 = icmp eq i1 %11, false store i64 %10, i64* %storemerge1.reg2mem store i64 %10, i64* %storemerge.lcssa.reg2mem br i1 %12, label LBL_1, label LBL_3 LBL_3: %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem ret i64 %storemerge.lcssa.reload uselistorder i64 %storemerge1.reload, { 0, 2, 1 } uselistorder i64* %storemerge1.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.lcssa.reg2mem, { 0, 2, 1, 3 } uselistorder i1 false, { 3, 2, 0, 4, 1 } uselistorder i32 1, { 6, 4, 3, 2, 1, 5, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
kvmclock_realize_1373
kvmclock_realize
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %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_2, label LBL_1 LBL_1: %6 = ptrtoint i64* %arg2 to i64 %7 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0)) store i64 %7, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %8 = call i64 @FUNC(i64 %1) %9 = call i64 @FUNC(i64 4198714, i64 %1) store i64 %9, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %1, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
0
BinRealVul
mobi_parse_huffdic_19204
mobi_parse_huffdic
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i64 %sv_0.01027.reg2mem = alloca i64 %sv_1.0928.reg2mem = alloca i64 %rcx.011.lcssa.reg2mem = alloca i64 %rdx.012.lcssa.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(i64 %5) %7 = icmp eq i64* %arg1, null br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = add i64 %5, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = icmp eq i64 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_3, label LBL_2 LBL_2: %13 = call i64 @FUNC(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1) store i64 1, i64* %rax.0.shrunk.reg2mem br label LBL_17 LBL_3: %14 = inttoptr i64 %10 to i64* %15 = load i64, i64* %14, align 8 %16 = icmp ult i64 %15, 1001 br i1 %16, label LBL_5, label LBL_4 LBL_4: %17 = inttoptr i64 %15 to i8* %18 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0), i8* %17, i64 %5, i64 %4, i64 %2, i64 %1) store i64 1, i64* %rax.0.shrunk.reg2mem br label LBL_17 LBL_5: %19 = add i64 %6, %5 %20 = call i64 @FUNC(i64 %5, i64 %19) %21 = icmp eq i64 %20, 0 %switch = icmp ult i64 %15, 2 %or.cond = or i1 %switch, %21 br i1 %or.cond, label LBL_6, label LBL_7 LBL_6: %22 = call i64 @FUNC(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_3, i64 0, i64 0), i64 %19, i64 %4, i64 %2, i64 %1) store i64 1, i64* %rax.0.shrunk.reg2mem br label LBL_17 LBL_7: %23 = inttoptr i64 %20 to i64* %24 = load i64, i64* %23, align 8 %25 = icmp ult i64 %24, 10 br i1 %25, label LBL_8, label LBL_9 LBL_8: %26 = inttoptr i64 %24 to i8* %27 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_4, i64 0, i64 0), i8* %26, i64 %19, i64 %4, i64 %2, i64 %1) store i64 1, i64* %rax.0.shrunk.reg2mem br label LBL_17 LBL_9: %28 = ptrtoint i64* %arg2 to i64 %29 = call i64 @FUNC(i64 %28, i64 %20) %30 = trunc i64 %29 to i32 %31 = icmp eq i32 %30, 0 br i1 %31, label LBL_11, label LBL_10 LBL_10: %32 = call i64 @FUNC(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_5, i64 0, i64 0), i64 %20, i64 %4, i64 %2, i64 %1) store i64 %29, i64* %rax.0.shrunk.reg2mem br label LBL_17 LBL_11: %33 = add i64 %20, 8 %34 = inttoptr i64 %33 to i64* %35 = load i64, i64* %34, align 8 %36 = trunc i64 %15 to i32 %37 = add i32 %36, -1 %38 = call i64* @malloc(i32 %37) %39 = ptrtoint i64* %38 to i64 store i64 %39, i64* %arg2, align 8 %40 = add i64 %15, -1 %41 = icmp eq i64 %35, 0 %42 = icmp eq i1 %41, false store i64 %39, i64* %rdx.012.lcssa.reg2mem store i64 %35, i64* %sv_1.0928.reg2mem store i64 0, i64* %sv_0.01027.reg2mem br i1 %42, label LBL_14, label LBL_13 LBL_12: %43 = icmp eq i64 %53, 0 %44 = icmp eq i1 %43, false store i64 %sv_0.01027.reload, i64* %rdx.012.lcssa.reg2mem store i64 %28, i64* %rcx.011.lcssa.reg2mem store i64 %53, i64* %sv_1.0928.reg2mem store i64 %50, i64* %sv_0.01027.reg2mem br i1 %44, label LBL_14, label LBL_13 LBL_13: %rcx.011.lcssa.reload = load i64, i64* %rcx.011.lcssa.reg2mem %rdx.012.lcssa.reload = load i64, i64* %rdx.012.lcssa.reg2mem %45 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_7, i64 0, i64 0), i64 %rdx.012.lcssa.reload, i64 %rcx.011.lcssa.reload, i64 %2, i64 %1) store i64 1, i64* %rax.0.shrunk.reg2mem br label LBL_17 LBL_14: %sv_0.01027.reload = load i64, i64* %sv_0.01027.reg2mem %sv_1.0928.reload = load i64, i64* %sv_1.0928.reg2mem %46 = call i64 @FUNC(i64 %28, i64 %sv_1.0928.reload, i64 %sv_0.01027.reload) %47 = trunc i64 %46 to i32 %48 = icmp eq i32 %47, 0 br i1 %48, label LBL_16, label LBL_15 LBL_15: %49 = call i64 @FUNC(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_8, i64 0, i64 0), i64 %sv_0.01027.reload, i64 %28, i64 %2, i64 %1) store i64 %46, i64* %rax.0.shrunk.reg2mem br label LBL_17 LBL_16: %50 = add nuw i64 %sv_0.01027.reload, 1 %51 = add i64 %sv_1.0928.reload, 8 %52 = inttoptr i64 %51 to i64* %53 = load i64, i64* %52, align 8 %54 = icmp ult i64 %50, %40 store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %54, label LBL_12, label LBL_17 LBL_17: %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295 ret i64 %rax.0 uselistorder i64 %53, { 1, 0 } uselistorder i64 %50, { 1, 0 } uselistorder i64 %sv_1.0928.reload, { 1, 0 } uselistorder i64 %sv_0.01027.reload, { 0, 2, 1, 3 } uselistorder i64 %28, { 1, 2, 0, 3 } uselistorder i64 %20, { 1, 0, 2, 3, 4 } uselistorder i64 %15, { 1, 2, 0, 4, 3 } uselistorder i64 %5, { 2, 0, 1, 3, 4 } uselistorder i64 %4, { 3, 2, 1, 4, 0 } uselistorder i64 %2, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %1, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64* %sv_1.0928.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.01027.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 1, 5, 4, 3, 6, 7, 2, 8 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 1, { 5, 1, 2, 3, 0, 4 } uselistorder i64 (i8*, i8*, i64, i64, i64, i64)* @debug_print, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i1 false, { 1, 0, 2 } uselistorder i64 0, { 0, 7, 8, 9, 10, 11, 12, 26, 1, 6, 13, 14, 15, 16, 17, 18, 27, 19, 20, 21, 22, 23, 24, 28, 2, 3, 4, 5, 25 } uselistorder label LBL_14, { 1, 0 } }
1
BinRealVul
perf_lifecycle_3564
perf_lifecycle
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge1.reg2mem = alloca i32 %0 = call i64 @FUNC() store i32 0, i32* %storemerge1.reg2mem br label LBL_1 LBL_1: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem %1 = call i64 @FUNC(i64 4198820, i64 0) %2 = call i64 @FUNC(i64 %1) %3 = add nuw nsw i32 %storemerge1.reload, 1 %exitcond = icmp eq i32 %3, 1000000 store i32 %3, i32* %storemerge1.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %4 = call i128 @FUNC() %5 = call i64 @__asm_movq.1(i128 %4) %6 = call i128 @FUNC(i64 %5) %7 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0), i64 1000000) ret i64 %7 uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 } uselistorder i32 1, { 5, 4, 3, 1, 0, 2 } }
0
BinRealVul
encode_rename_8918
encode_rename
define i64 @FUNC(i64* %arg1, i32* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: ret i64 0 }
0
BinRealVul
e1000e_init_msix_1581
e1000e_init_msix
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64 %2, i64 8, i64 %0, i64 0, i64 1, i64 %0) %4 = trunc i64 %3 to i32 %5 = icmp slt i32 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = and i64 %3, 4294967295 %8 = call i64 @FUNC(i64 %7) store i64 %8, i64* %rax.0.reg2mem br label LBL_4 LBL_2: %9 = call i64 @FUNC(i64 %0, i64 8) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false store i64 %9, i64* %rax.0.reg2mem br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = call i64 @FUNC(i64 %1, i64 %0, i64 %0) store i64 %13, 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, { 0, 1, 2, 4, 3, 5, 6 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64 1, { 1, 0 } uselistorder i64 (i64)* @PCI_DEVICE, { 1, 0 } }
0
BinRealVul
rtnl_fdb_del_6114
rtnl_fdb_del
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i32 %storemerge.in.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i32 %.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %3 = call i64 @FUNC(i64 %2) %4 = call i64 @FUNC(i64 %2, i64 1) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false store i32 4, i32* %rax.0.shrunk.reg2mem br i1 %7, label LBL_1, label LBL_18 LBL_1: %8 = ptrtoint i64* %arg2 to i64 %9 = call i64 @FUNC(i64 %8, i64 8, i64* nonnull %sv_1, i64 1, i64 0) %10 = trunc i64 %9 to i32 %11 = icmp slt i32 %10, 0 %12 = icmp eq i1 %11, false store i32 %10, i32* %rax.0.shrunk.reg2mem br i1 %12, label LBL_2, label LBL_18 LBL_2: %13 = call i64 @FUNC(i64 %8) %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_4, label LBL_3 LBL_3: %18 = ptrtoint i64* %sv_1 to i64 %19 = call i64 @FUNC(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_0, i64 0, i64 0), i64 8, i64 %18, i64 1, i64 0, i64 %1) store i32 3, i32* %rax.0.shrunk.reg2mem br label LBL_18 LBL_4: %20 = zext i32 %15 to i64 %21 = call i64 @FUNC(i64 %3, i64 %20) %22 = icmp eq i64 %21, 0 %23 = icmp eq i1 %22, false br i1 %23, label LBL_6, label LBL_5 LBL_5: %24 = call i64 @FUNC(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_1, i64 0, i64 0), i64 %20, i64 %20, i64 1, i64 0, i64 %1) store i32 2, i32* %rax.0.shrunk.reg2mem br label LBL_18 LBL_6: %25 = load i64, i64* %sv_1, align 8 %26 = icmp eq i64 %25, 0 br i1 %26, label LBL_8, label LBL_7 LBL_7: %27 = call i64 @FUNC(i64 %25) %28 = trunc i64 %27 to i32 %29 = icmp eq i32 %28, 6 br i1 %29, label LBL_9, label LBL_8 LBL_8: %30 = call i64 @FUNC(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_2, i64 0, i64 0), i64 %20, i64 %20, i64 1, i64 0, i64 %1) store i32 3, i32* %rax.0.shrunk.reg2mem br label LBL_18 LBL_9: %31 = load i64, i64* %sv_1, align 8 %32 = call i64 @FUNC(i64 %31) %33 = add i64 %13, 4 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = icmp ne i32 %35, 0 %37 = urem i32 %35, 2 %38 = icmp eq i32 %37, 0 %or.cond = icmp eq i1 %36, %38 store i32 %35, i32* %.reg2mem store i32 1, i32* %sv_0.1.reg2mem br i1 %or.cond, label LBL_13, label LBL_10 LBL_10: %39 = inttoptr i64 %21 to i32* %40 = load i32, i32* %39, align 4 %41 = urem i32 %40, 2 %42 = icmp eq i32 %41, 0 store i32 %35, i32* %.reg2mem store i32 1, i32* %sv_0.1.reg2mem br i1 %42, label LBL_13, label LBL_11 LBL_11: %43 = call i64 @FUNC(i64 %21) %44 = add i64 %43, 8 %45 = inttoptr i64 %44 to i64* %46 = load i64, i64* %45, align 8 %47 = inttoptr i64 %46 to i64* %48 = load i64, i64* %47, align 8 %49 = icmp eq i64 %48, 0 %50 = trunc i64 %13 to i32 %spec.select = select i1 %49, i32 1, i32 %50 %51 = icmp eq i32 %spec.select, 0 %52 = icmp eq i1 %51, false store i32 %spec.select, i32* %rax.0.shrunk.reg2mem br i1 %52, label LBL_18, label LBL_12 LBL_12: %53 = load i32, i32* %34, align 4 %54 = and i32 %53, -2 store i32 %54, i32* %34, align 4 store i32 %54, i32* %.reg2mem store i32 %spec.select, i32* %sv_0.1.reg2mem br label LBL_13 LBL_13: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %.reload = load i32, i32* %.reg2mem %55 = and i32 %.reload, 2 %56 = icmp eq i32 %55, 0 store i32 %sv_0.1.reload, i32* %rax.0.shrunk.reg2mem br i1 %56, label LBL_18, label LBL_14 LBL_14: %57 = add i64 %21, 8 %58 = inttoptr i64 %57 to i64* %59 = load i64, i64* %58, align 8 %60 = inttoptr i64 %59 to i64* %61 = load i64, i64* %60, align 8 %62 = icmp eq i64 %61, 0 store i64 %13, i64* %storemerge.in.reg2mem br i1 %62, label LBL_15, label LBL_16 LBL_15: %63 = call i64 @FUNC(i64 %13, i64* nonnull %sv_1, i64 %21, i64 %32) store i64 %63, i64* %storemerge.in.reg2mem br label LBL_16 LBL_16: %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem %storemerge = trunc i64 %storemerge.in.reload to i32 %64 = icmp eq i32 %storemerge, 0 %65 = icmp eq i1 %64, false store i32 %storemerge, i32* %rax.0.shrunk.reg2mem br i1 %65, label LBL_18, label LBL_17 LBL_17: %66 = call i64 @FUNC(i64 %21, i64 %32, i64 3) %67 = load i32, i32* %34, align 4 %68 = and i32 %67, -3 store i32 %68, i32* %34, align 4 store i32 %storemerge, i32* %rax.0.shrunk.reg2mem br label LBL_18 LBL_18: %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem %rax.0 = zext i32 %rax.0.shrunk.reload to i64 ret i64 %rax.0 uselistorder i32 %spec.select, { 1, 0, 2 } uselistorder i32 %35, { 1, 0, 2, 3 } uselistorder i32* %34, { 3, 2, 1, 0, 4 } uselistorder i64 %20, { 2, 3, 0, 1, 4 } uselistorder i64 %13, { 1, 0, 2, 3, 4 } uselistorder i64* %sv_1, { 0, 2, 3, 4, 1 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i32* %.reg2mem, { 0, 2, 3, 1 } uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 } uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 2, 3, 4, 1, 9, 8, 7, 5, 6 } uselistorder i32 2, { 3, 1, 2, 0 } uselistorder i32 3, { 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @pr_info, { 2, 1, 0 } uselistorder i64 8, { 2, 3, 0, 1 } uselistorder i32 0, { 2, 3, 4, 5, 0, 6, 7, 8, 9, 1 } uselistorder i64 1, { 3, 2, 1, 4, 5, 0 } uselistorder label LBL_18, { 0, 2, 3, 1, 6, 7, 8, 4, 5 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_13, { 1, 2, 0 } }
0
BinRealVul
numa_get_avg_runtime_8797
numa_get_avg_runtime
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %.pre-phi2.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 = add i64 %0, 32 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = icmp eq i64 %6, 0 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = add i64 %0, 24 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = sub i64 %3, %10 %12 = sub i64 %0, %6 store i64* %9, i64** %.pre-phi2.reg2mem store i64 %12, i64* %storemerge.reg2mem store i64 %11, i64* %sv_0.0.reg2mem br label LBL_3 LBL_2: %13 = add i64 %0, 16 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %.pre = add i64 %0, 24 %.pre1 = inttoptr i64 %.pre to i64* store i64* %.pre1, i64** %.pre-phi2.reg2mem store i64 1000, i64* %storemerge.reg2mem store i64 %15, i64* %sv_0.0.reg2mem br label LBL_3 LBL_3: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %storemerge.reload = load i64, i64* %storemerge.reg2mem %.pre-phi2.reload = load i64*, i64** %.pre-phi2.reg2mem store i64 %storemerge.reload, i64* %arg2, align 8 store i64 %3, i64* %.pre-phi2.reload, align 8 store i64 %0, i64* %5, align 8 ret i64 %sv_0.0.reload uselistorder i64 %0, { 2, 0, 3, 1, 4, 5, 6 } uselistorder i64** %.pre-phi2.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } }
0
BinRealVul
net_init_nic_14595
net_init_nic
define i64 @FUNC(i64* %arg1, i8* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %rcx.1.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg3 to i64 %5 = call i64 @FUNC() %6 = trunc i64 %5 to i32 %7 = icmp ne i32 %6, -1 %8 = load i32, i32* @gv_0, align 4 %9 = icmp slt i32 %8, 10 %or.cond = icmp eq i1 %7, %9 br i1 %or.cond, label LBL_2, label LBL_1 LBL_1: %10 = ptrtoint i8* %arg2 to i64 %11 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), i64 %10, i64 %4, i64 %3, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_21 LBL_2: %12 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %5, 4294967296 %13 = ashr exact i64 %sext, 32 %14 = mul nsw i64 %13, 56 %15 = add i64 %14, ptrtoint (i64* @gv_2 to i64) %16 = inttoptr i64 %15 to i64* %17 = call i64* @memset(i64* %16, i32 0, i32 56) %18 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0)) %19 = icmp eq i64 %18, 0 br i1 %19, label LBL_5, label LBL_3 LBL_3: %20 = call i64 @FUNC(i64 %18) store i64 %20, i64* %16, align 8 %21 = icmp eq i64 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_8, label LBL_4 LBL_4: %23 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_4, i64 0, i64 0), i64 %18, i64 %15, i64 %3, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_21 LBL_5: %24 = icmp eq i64* %arg3, null %25 = icmp eq i1 %24, false br i1 %25, label LBL_7, label LBL_6 LBL_6: call void @__assert_fail(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_6, i64 0, i64 0), i32 98, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_7, i64 0, i64 0)) store i64 ptrtoint ([13 x i8]* @gv_7 to i64), i64* %rcx.0.reg2mem br label LBL_7 LBL_7: %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %26 = add i64 %14, add (i64 ptrtoint (i64* @gv_2 to i64), i64 48) %27 = inttoptr i64 %26 to i64* store i64 %4, i64* %27, align 8 store i64 %rcx.0.reload, i64* %rcx.1.reg2mem br label LBL_8 LBL_8: %rcx.1.reload = load i64, i64* %rcx.1.reg2mem %28 = icmp eq i8* %arg2, null br i1 %28, label LBL_10, label LBL_9 LBL_9: %29 = ptrtoint i8* %arg2 to i64 %30 = call i64 @FUNC(i64 %29) %31 = add i64 %14, add (i64 ptrtoint (i64* @gv_2 to i64), i64 8) %32 = inttoptr i64 %31 to i64* store i64 %30, i64* %32, align 8 br label LBL_10 LBL_10: %33 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_8, i64 0, i64 0)) %34 = icmp eq i64 %33, 0 br i1 %34, label LBL_12, label LBL_11 LBL_11: %35 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_8, i64 0, i64 0)) %36 = call i64 @FUNC(i64 %35) %37 = add i64 %14, add (i64 ptrtoint (i64* @gv_2 to i64), i64 16) %38 = inttoptr i64 %37 to i64* store i64 %36, i64* %38, align 8 br label LBL_12 LBL_12: %39 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_9, i64 0, i64 0)) %40 = icmp eq i64 %39, 0 br i1 %40, label LBL_14, label LBL_13 LBL_13: %41 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_9, i64 0, i64 0)) %42 = call i64 @FUNC(i64 %41) %43 = add i64 %14, add (i64 ptrtoint (i64* @gv_2 to i64), i64 24) %44 = inttoptr i64 %43 to i64* store i64 %42, i64* %44, align 8 br label LBL_14 LBL_14: %45 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_10, i64 0, i64 0)) %46 = icmp eq i64 %45, 0 br i1 %46, label LBL_14.LBL_18_crit_edge, label LBL_16 LBL_15: %.pre = add i64 %14, add (i64 ptrtoint (i64* @gv_2 to i64), i64 32) store i64 %.pre, i64* %.pre-phi.reg2mem br label LBL_18 LBL_16: %47 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_10, i64 0, i64 0)) %48 = add i64 %14, add (i64 ptrtoint (i64* @gv_2 to i64), i64 32) %49 = call i64 @FUNC(i64 %48, i64 %47) %50 = trunc i64 %49 to i32 %51 = icmp slt i32 %50, 0 %52 = icmp eq i1 %51, false store i64 %48, i64* %.pre-phi.reg2mem br i1 %52, label LBL_18, label LBL_17 LBL_17: %53 = call i64 @FUNC(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_11, i64 0, i64 0), i64 %47, i64 %47, i64 %rcx.1.reload, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_21 LBL_18: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %54 = call i64 @FUNC(i64 %.pre-phi.reload) %55 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_12, i64 0, i64 0), i64 4294967295) %56 = trunc i64 %55 to i32 %57 = add i64 %14, add (i64 ptrtoint (i64* @gv_2 to i64), i64 40) %58 = inttoptr i64 %57 to i32* store i32 %56, i32* %58, align 8 %59 = icmp eq i32 %56, -1 %60 = icmp ult i32 %56, 134217728 %or.cond4 = or i1 %59, %60 br i1 %or.cond4, label LBL_20, label LBL_19 LBL_19: %61 = and i64 %55, 4294967295 %62 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_13, i64 0, i64 0), i64 %61, i64 %15, i64 %rcx.1.reload, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_21 LBL_20: %63 = add i64 %14, add (i64 ptrtoint (i64* @gv_2 to i64), i64 44) %64 = inttoptr i64 %63 to i32* store i32 1, i32* %64, align 4 store i32 ptrtoint (i32* @gv_14 to i32), i32* @gv_0, align 4 %65 = and i64 %5, 4294967295 store i64 %65, i64* %rax.0.reg2mem br label LBL_21 LBL_21: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %15, { 1, 0, 2 } uselistorder i64 %14, { 2, 3, 4, 0, 5, 6, 7, 1, 8 } uselistorder i64 %12, { 3, 2, 4, 1, 5, 0, 6, 7 } uselistorder i64 %5, { 1, 0, 2 } uselistorder i64 %4, { 1, 0 } uselistorder i64 %2, { 3, 2, 1, 0 } uselistorder i64 %1, { 3, 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 add (i64 ptrtoint (i64* @gv_2 to i64), i64 32), { 1, 0 } uselistorder i64 (i64)* @g_strdup, { 2, 1, 0 } uselistorder [13 x i8]* @gv_7, { 1, 0 } uselistorder i64 (i64, i8*)* @qemu_opt_get, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 ptrtoint (i64* @gv_2 to i64), { 1, 2, 3, 4, 5, 6, 0, 7 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @error_report, { 3, 2, 1, 0 } uselistorder i32 0, { 4, 1, 5, 0, 2, 3 } uselistorder i32* @gv_0, { 1, 0 } uselistorder i8* %arg2, { 1, 0, 2 } uselistorder label LBL_18, { 1, 0 } }
1
BinRealVul
atc_control_4568
atc_control
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %storemerge23.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = trunc i64 %arg2 to i32 %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64 %0) store i64 0, i64* %sv_0, align 8 %4 = icmp eq i32 %1, 0 store i64 1, i64* %storemerge.reg2mem br i1 %4, label LBL_1, label LBL_6 LBL_1: %5 = call i64 @FUNC(i64 %2) %6 = add i64 %2, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = call i64 @FUNC(i64 %3, i64 0, i32 %8) %10 = call i64 @FUNC(i64 %3, i64 1) %11 = trunc i64 %10 to i32 %12 = load i32, i32* %7, align 4 %13 = and i32 %12, %11 %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false br i1 %15, label LBL_2, label LBL_3 LBL_2: %16 = call i64 @FUNC() %17 = call i64 @FUNC(i64 %3, i64 1) %18 = trunc i64 %17 to i32 %19 = load i32, i32* %7, align 4 %20 = and i32 %19, %18 %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_2, label LBL_3 LBL_3: %23 = add i64 %2, 8 %24 = call i64 @FUNC(i64 %23, i64* nonnull %sv_0) %25 = add i64 %2, 24 %26 = call i64 @FUNC(i64 %25, i64* nonnull %sv_0) %27 = load i64, i64* %sv_0, align 8 %28 = ptrtoint i64* %sv_0 to i64 %29 = icmp eq i64 %27, %28 %30 = icmp eq i1 %29, false store i64 %27, i64* %storemerge23.reg2mem br i1 %30, label LBL_4, label LBL_5 LBL_4: %storemerge23.reload = load i64, i64* %storemerge23.reg2mem %storemerge1.in = inttoptr i64 %storemerge23.reload to i64* %storemerge1 = load i64, i64* %storemerge1.in, align 8 %31 = call i64 @FUNC(i64 %2, i64 %storemerge23.reload) %32 = icmp eq i64 %storemerge1, %28 %33 = icmp eq i1 %32, false store i64 %storemerge1, i64* %storemerge23.reg2mem br i1 %33, label LBL_4, label LBL_5 LBL_5: %34 = call i64 @FUNC(i64 %2) store i64 0, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %28, { 1, 0 } uselistorder i32* %7, { 1, 0, 2 } uselistorder i64 %3, { 1, 0, 2 } uselistorder i64 %2, { 0, 1, 2, 3, 5, 4 } uselistorder i64* %sv_0, { 2, 3, 0, 1, 4 } uselistorder i64* %storemerge23.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64*)* @list_splice_init, { 1, 0 } uselistorder i1 false, { 2, 1, 3, 0 } uselistorder i64 (i64, i64)* @dma_readl, { 1, 0 } uselistorder i64 1, { 2, 1, 0 } uselistorder i32 0, { 2, 0, 3, 1 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
initCropMasks_6433
initCropMasks
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %xmm0.12.reg2mem = alloca i128 %indvars.iv.reg2mem = alloca i64 %xmm0.04.reg2mem = alloca i128 %indvars.iv6.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = bitcast i64* %arg1 to i32* store i32 0, i32* %1, align 4 %2 = add i64 %0, 4 %3 = inttoptr i64 %2 to i32* store i32 0, i32* %3, align 4 %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i32* store i32 0, i32* %5, align 4 %6 = add i64 %0, 12 %7 = inttoptr i64 %6 to i32* store i32 0, i32* %7, align 4 %8 = add i64 %0, 16 %9 = inttoptr i64 %8 to i32* store i32 0, i32* %9, align 4 %10 = add i64 %0, 24 store i64 0, i64* %indvars.iv6.reg2mem br label LBL_1 LBL_1: %xmm0.04.reload = load i128, i128* %xmm0.04.reg2mem %indvars.iv6.reload = load i64, i64* %indvars.iv6.reg2mem %11 = call i128 @FUNC(i128 %xmm0.04.reload, i128 %xmm0.04.reload) %12 = call i64 @FUNC(i128 %11) %13 = mul i64 %indvars.iv6.reload, 8 %14 = add i64 %10, %13 %15 = inttoptr i64 %14 to i64* store i64 %12, i64* %15, align 8 %indvars.iv.next7 = add nuw nsw i64 %indvars.iv6.reload, 1 %exitcond8 = icmp eq i64 %indvars.iv.next7, 4 store i64 %indvars.iv.next7, i64* %indvars.iv6.reg2mem store i128 %11, i128* %xmm0.04.reg2mem br i1 %exitcond8, label LBL_2, label LBL_1 LBL_2: %16 = add i64 %0, 56 %17 = inttoptr i64 %16 to i32* store i32 0, i32* %17, align 4 %18 = add i64 %0, 60 %19 = inttoptr i64 %18 to i32* store i32 0, i32* %19, align 4 %20 = add i64 %0, 64 %21 = inttoptr i64 %20 to i32* store i32 0, i32* %21, align 4 %22 = add i64 %0, 68 %23 = inttoptr i64 %22 to i16* store i16 0, i16* %23, align 2 %24 = add i64 %0, 70 %25 = inttoptr i64 %24 to i16* store i16 0, i16* %25, align 2 %26 = add i64 %0, 72 %27 = inttoptr i64 %26 to i16* store i16 0, i16* %27, align 2 %28 = add i64 %0, 74 %29 = inttoptr i64 %28 to i16* store i16 0, i16* %29, align 2 %30 = add i64 %0, 76 %31 = inttoptr i64 %30 to i32* store i32 0, i32* %31, align 4 %32 = add i64 %0, 80 %33 = inttoptr i64 %32 to i32* store i32 0, i32* %33, align 4 store i64 0, i64* %indvars.iv.reg2mem store i128 %11, i128* %xmm0.12.reg2mem br label LBL_3 LBL_3: %xmm0.12.reload = load i128, i128* %xmm0.12.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %34 = mul i64 %indvars.iv.reload, 32 %35 = add i64 %34, %0 %36 = add i64 %35, 88 %37 = call i128 @FUNC(i128 %xmm0.12.reload, i128 %xmm0.12.reload) %38 = call i64 @FUNC(i128 %37) %39 = inttoptr i64 %36 to i64* store i64 %38, i64* %39, align 8 %40 = add i64 %35, 96 %41 = call i128 @FUNC(i128 %37, i128 %37) %42 = call i64 @FUNC(i128 %41) %43 = inttoptr i64 %40 to i64* store i64 %42, i64* %43, align 8 %44 = add i64 %35, 104 %45 = call i128 @FUNC(i128 %41, i128 %41) %46 = call i64 @FUNC(i128 %45) %47 = inttoptr i64 %44 to i64* store i64 %46, i64* %47, align 8 %48 = add i64 %35, 112 %49 = call i128 @FUNC(i128 %45, i128 %45) %50 = call i64 @FUNC(i128 %49) %51 = inttoptr i64 %48 to i64* store i64 %50, i64* %51, align 8 %52 = mul nuw nsw i64 %indvars.iv.reload, 28 %53 = add i64 %52, %0 %54 = add i64 %53, 408 %55 = inttoptr i64 %54 to i32* store i32 0, i32* %55, align 4 %56 = add i64 %53, 412 %57 = inttoptr i64 %56 to i32* store i32 0, i32* %57, align 4 %58 = add i64 %53, 416 %59 = inttoptr i64 %58 to i32* store i32 0, i32* %59, align 4 %60 = add i64 %53, 420 %61 = inttoptr i64 %60 to i32* store i32 0, i32* %61, align 4 %62 = add i64 %53, 424 %63 = inttoptr i64 %62 to i32* store i32 0, i32* %63, align 4 %64 = add i64 %53, 428 %65 = inttoptr i64 %64 to i32* store i32 0, i32* %65, align 4 %66 = add i64 %53, 432 %67 = inttoptr i64 %66 to i32* store i32 0, i32* %67, align 4 %68 = mul i64 %indvars.iv.reload, 8 %69 = add i64 %68, %0 %70 = add i64 %69, 688 %71 = inttoptr i64 %70 to i32* store i32 0, i32* %71, align 4 %72 = add i64 %69, 692 %73 = inttoptr i64 %72 to i32* store i32 0, i32* %73, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 10 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i128 %49, i128* %xmm0.12.reg2mem br i1 %exitcond, label LBL_4, label LBL_3 LBL_4: %74 = add i64 %0, 768 %75 = inttoptr i64 %74 to i32* store i32 0, i32* %75, align 4 %76 = add i64 %0, 772 %77 = inttoptr i64 %76 to i32* store i32 0, i32* %77, align 4 ret i64 %0 uselistorder i128 %45, { 2, 1, 0 } uselistorder i128 %41, { 2, 1, 0 } uselistorder i128 %37, { 2, 1, 0 } uselistorder i64 %35, { 1, 0, 2, 3 } uselistorder i64 %indvars.iv.reload, { 0, 3, 1, 2 } uselistorder i128 %xmm0.12.reload, { 1, 0 } uselistorder i128 %xmm0.04.reload, { 1, 0 } uselistorder i64 %0, { 4, 5, 6, 0, 1, 2, 7, 8, 9, 10, 11, 12, 13, 14, 15, 3, 16, 17, 18, 19 } uselistorder i64* %indvars.iv6.reg2mem, { 1, 0, 2 } uselistorder i128* %xmm0.04.reg2mem, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i128* %xmm0.12.reg2mem, { 1, 0, 2 } uselistorder i64 1, { 1, 0 } uselistorder i32 0, { 9, 10, 0, 1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 } }
0
BinRealVul
do_mremap_7623
do_mremap
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %sv_0.05.reg2mem = alloca i64 %sv_0.04.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1 = alloca i64, align 8 %0 = load i64, i64* @gv_0, align 8 %1 = inttoptr i64 %0 to i64* %2 = load i64, i64* %1, align 8 store i64 0, i64* %sv_1, align 8 %3 = icmp ult i64 %arg4, 4 %4 = icmp eq i1 %3, false store i64 -22, i64* %sv_0.04.reg2mem br i1 %4, label LBL_19, label LBL_1 LBL_1: %5 = urem i64 %arg1, 4096 %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false store i64 -22, i64* %sv_0.04.reg2mem br i1 %7, label LBL_19, label LBL_2 LBL_2: %8 = add i64 %arg3, 4095 %9 = and i64 %8, -4096 %10 = icmp eq i64 %9, 0 store i64 -22, i64* %sv_0.04.reg2mem br i1 %10, label LBL_19, label LBL_3 LBL_3: %11 = add i64 %arg2, 4095 %12 = and i64 %11, -4096 %13 = urem i64 %arg4, 2 %14 = icmp eq i64 %13, 0 br i1 %14, label LBL_6, label LBL_4 LBL_4: %15 = and i64 %arg4, 2 %16 = icmp eq i64 %15, 0 store i64 -22, i64* %sv_0.04.reg2mem br i1 %16, label LBL_19, label LBL_5 LBL_5: %17 = call i64 @FUNC(i64 %arg1, i64 %12, i64 %arg5, i64 %9) store i64 %17, i64* %sv_0.0.reg2mem br label LBL_18 LBL_6: %18 = icmp ugt i64 %9, %12 br i1 %18, label LBL_8, label LBL_7 LBL_7: %19 = sub i64 %12, %9 %20 = add i64 %9, %arg1 %21 = call i64 @FUNC(i64 %2, i64 %20, i64 %19) %22 = icmp ne i64 %21, 0 %23 = icmp eq i64 %9, %12 %24 = icmp eq i1 %23, false %or.cond = icmp eq i1 %24, %22 %spec.select3 = select i1 %or.cond, i64 %21, i64 %arg1 store i64 %spec.select3, i64* %sv_0.0.reg2mem br label LBL_18 LBL_8: %25 = call i64 @FUNC(i64 %arg1, i64 %12, i64 %9, i64* nonnull %sv_1) %26 = call i64 @FUNC(i64 %25) %27 = trunc i64 %26 to i32 %28 = icmp eq i32 %27, 0 br i1 %28, label LBL_10, label LBL_9 LBL_9: %29 = call i64 @FUNC(i64 %25) store i64 %29, i64* %sv_0.0.reg2mem br label LBL_18 LBL_10: %30 = add i64 %25, 8 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = sub i64 %32, %arg1 %34 = icmp eq i64 %12, %33 %35 = icmp eq i1 %34, false br i1 %35, label LBL_14, label LBL_11 LBL_11: %36 = sub i64 %9, %12 %37 = call i64 @FUNC(i64 %25, i64 %36) %38 = trunc i64 %37 to i32 %39 = icmp eq i32 %38, 0 br i1 %39, label LBL_14, label LBL_12 LBL_12: %40 = udiv i64 %36, 4096 %41 = trunc i64 %40 to i32 %42 = add i64 %25, 32 %43 = inttoptr i64 %42 to i64* %44 = load i64, i64* %43, align 8 %45 = add i64 %9, %arg1 %46 = inttoptr i64 %25 to i64* %47 = load i64, i64* %46, align 8 %48 = call i64 @FUNC(i64 %25, i64 %47, i64 %45, i64 %44, i64 0) %49 = inttoptr i64 %2 to i64* %50 = load i64, i64* %49, align 8 %sext = mul i64 %36, 1048576 %51 = ashr exact i64 %sext, 32 %52 = add i64 %50, %51 store i64 %52, i64* %49, align 8 %53 = add i64 %25, 24 %54 = inttoptr i64 %53 to i64* %55 = load i64, i64* %54, align 8 %56 = add i64 %25, 16 %57 = inttoptr i64 %56 to i64* %58 = load i64, i64* %57, align 8 %59 = call i64 @FUNC(i64 %2, i64 %58, i64 %55, i32 %41) %60 = load i64, i64* %57, align 8 %61 = urem i64 %60, 2 %62 = icmp eq i64 %61, 0 store i64 %arg1, i64* %sv_0.0.reg2mem br i1 %62, label LBL_18, label LBL_13 LBL_13: %63 = add i64 %2, 8 %64 = inttoptr i64 %63 to i64* %65 = load i64, i64* %64, align 8 %66 = add i64 %65, %51 store i64 %66, i64* %64, align 8 %67 = add i64 %12, %arg1 %68 = call i64 @FUNC(i64 %25, i64 %67, i64 %45) store i64 %arg1, i64* %sv_0.0.reg2mem br label LBL_18 LBL_14: %69 = and i64 %arg4, 2 %70 = icmp eq i64 %69, 0 store i64 -12, i64* %sv_0.04.reg2mem br i1 %70, label LBL_19, label LBL_15 LBL_15: %71 = add i64 %25, 16 %72 = inttoptr i64 %71 to i64* %73 = load i64, i64* %72, align 8 %74 = and i64 %73, 2 %75 = icmp ne i64 %74, 0 %spec.select = zext i1 %75 to i64 %76 = add i64 %25, 32 %77 = inttoptr i64 %76 to i64* %78 = load i64, i64* %77, align 8 %79 = add i64 %25, 24 %80 = inttoptr i64 %79 to i64* %81 = load i64, i64* %80, align 8 %82 = call i64 @FUNC(i64 %81, i64 0, i64 %9, i64 %78, i64 %spec.select) %83 = urem i64 %82, 4096 %84 = icmp eq i64 %83, 0 store i64 %82, i64* %sv_0.0.reg2mem br i1 %84, label LBL_16, label LBL_18 LBL_16: %85 = call i64 @FUNC(i64 0, i64 0, i64 0, i64 0, i64 %82, i64 1) %86 = icmp eq i64 %85, 0 %87 = icmp eq i1 %86, false store i64 %85, i64* %sv_0.0.reg2mem br i1 %87, label LBL_18, label LBL_17 LBL_17: %88 = call i64 @FUNC(i64 %25, i64 %arg1, i64 %12, i64 %9, i64 %82) store i64 %88, i64* %sv_0.0.reg2mem br label LBL_18 LBL_18: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %89 = urem i64 %sv_0.0.reload, 4096 %90 = icmp eq i64 %89, 0 store i64 %sv_0.0.reload, i64* %sv_0.04.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.05.reg2mem br i1 %90, label LBL_20, label LBL_19 LBL_19: %sv_0.04.reload = load i64, i64* %sv_0.04.reg2mem %91 = load i64, i64* %sv_1, align 8 %92 = call i64 @FUNC(i64 %91) store i64 %sv_0.04.reload, i64* %sv_0.05.reg2mem br label LBL_20 LBL_20: %sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem ret i64 %sv_0.05.reload uselistorder i64 %82, { 2, 3, 0, 1 } uselistorder i64 %25, { 6, 8, 7, 9, 0, 2, 1, 4, 5, 3, 12, 10, 11, 13 } uselistorder i64 %12, { 4, 0, 6, 5, 7, 1, 8, 2, 3 } uselistorder i64 %9, { 5, 6, 0, 4, 9, 2, 1, 8, 3, 7, 10 } uselistorder i64 %2, { 1, 2, 3, 0 } uselistorder i64* %sv_1, { 1, 0, 2 } uselistorder i64* %sv_0.0.reg2mem, { 0, 7, 8, 2, 4, 3, 6, 1, 5 } uselistorder i64* %sv_0.04.reg2mem, { 0, 6, 4, 5, 3, 2, 1 } uselistorder i64* %sv_0.05.reg2mem, { 0, 2, 1 } uselistorder i64 1, { 1, 0 } uselistorder i64 32, { 1, 0, 2 } uselistorder i64 -4096, { 1, 0 } uselistorder i64 4095, { 1, 0 } uselistorder i64 -22, { 3, 2, 1, 0, 4 } uselistorder i1 false, { 1, 2, 0, 3, 4, 5 } uselistorder i64 %arg4, { 1, 2, 0, 3 } uselistorder i64 %arg1, { 8, 1, 3, 0, 4, 9, 10, 6, 5, 7, 2 } uselistorder label LBL_19, { 5, 1, 0, 2, 3, 4 } uselistorder label LBL_18, { 6, 4, 1, 3, 2, 7, 0, 5 } }
1