dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
reposvul_c_test
get_dev_to_use_38
get_dev_to_use
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = bitcast i64* %arg1 to i8* %3 = call i32 @strcmp(i8* %2, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0)) %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = add i64 %1, 52 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_3, label LBL_2 LBL_2: %11 = call i64 @FUNC(i64 %1, i64 %0) store i64 %11, i64* %storemerge.reg2mem br label LBL_4 LBL_3: %12 = zext i32 %8 to i64 %13 = call i64 @FUNC(i64 %12, i64 %0) store i64 %13, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %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
_rocker_neigh_add_17739
_rocker_neigh_add
define i64 @FUNC(i32* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %rdx = alloca i64, align 8 %2 = ptrtoint i64* %arg3 to i64 %3 = trunc i64 %arg2 to i32 %4 = trunc i64 %1 to i32 %5 = add i64 %2, 4 %6 = inttoptr i64 %5 to i32* store i32 %4, i32* %6, align 4 %7 = icmp eq i32 %3, 0 store i64 %2, i64* %rax.0.reg2mem br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = bitcast i64* %rdi to i32* %9 = load i32, i32* %8, align 8 %10 = add i32 %9, 1 store i32 %10, i32* %arg1, align 4 %11 = add i64 %2, 8 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = add i32 %13, 1 store i32 %14, i32* %12, align 4 %15 = bitcast i64* %rdx to i32* %16 = load i32, i32* %15, align 8 %17 = zext i32 %16 to i64 %18 = call i64 @FUNC(i64 %17) %19 = and i64 %18, 4294967295 %20 = add i64 %2, 16 %21 = ptrtoint i32* %arg1 to i64 %22 = add i64 %21, 8 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = call i64 @FUNC(i64 %24, i64 %20, i64 %19) store i64 %25, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %2, { 1, 2, 0, 3 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
put_filp_6287
put_filp
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg1) %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 0 store i64 %0, i64* %rax.0.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC(i64 %arg1) %4 = call i64 @FUNC(i64 %arg1) store i64 %4, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 1, { 1, 0 } uselistorder i64 %arg1, { 1, 0, 2 } }
0
BinRealVul
do_remount_sb_12323
do_remount_sb
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge5.reg2mem = alloca i1 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 store i64 4294967280, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_18 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = urem i64 %arg2, 2 %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = add i64 %5, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = call i64 @FUNC(i64 %11) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 store i64 4294967283, i64* %rax.0.reg2mem br i1 %14, label LBL_4, label LBL_18 LBL_3: %15 = call i64 @FUNC(i64 %5) br label LBL_4 LBL_4: %sext4 = mul i64 %arg4, 4294967296 %16 = ashr exact i64 %sext4, 32 %17 = call i64 @FUNC(i64 %5) %18 = call i64 @FUNC(i64 %5) store i1 true, i1* %storemerge5.reg2mem br i1 %7, label LBL_10, label LBL_5 LBL_5: %19 = add i64 %5, 4 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = urem i32 %21, 2 %23 = icmp eq i32 %22, 0 %24 = icmp eq i1 %23, false store i1 true, i1* %storemerge5.reg2mem br i1 %24, label LBL_10, label LBL_6 LBL_6: %25 = trunc i64 %16 to i32 %26 = icmp eq i32 %25, 0 br i1 %26, label LBL_8, label LBL_7 LBL_7: %27 = call i64 @FUNC(i64 %5) store i1 false, i1* %storemerge5.reg2mem br label LBL_10 LBL_8: %28 = call i64 @FUNC(i64 %5) %29 = trunc i64 %28 to i32 %30 = icmp eq i32 %29, 0 store i1 false, i1* %storemerge5.reg2mem br i1 %30, label LBL_10, label LBL_9 LBL_9: %31 = and i64 %28, 4294967295 store i64 %31, i64* %rax.0.reg2mem br label LBL_18 LBL_10: %storemerge5.reload = load i1, i1* %storemerge5.reg2mem %32 = add i64 %5, 24 %33 = inttoptr i64 %32 to i64* %34 = load i64, i64* %33, align 8 %35 = inttoptr i64 %34 to i64* %36 = load i64, i64* %35, align 8 %37 = icmp eq i64 %36, 0 br i1 %37, label LBL_14, label LBL_11 LBL_11: %38 = trunc i64 %5 to i32 %39 = icmp eq i32 %38, 0 br i1 %39, label LBL_14, label LBL_12 LBL_12: %40 = and i64 %5, 4294967295 %41 = trunc i64 %16 to i32 %42 = icmp eq i32 %41, 0 br i1 %42, label LBL_17, label LBL_13 LBL_13: %43 = add i64 %5, 16 %44 = inttoptr i64 %43 to i64* %45 = load i64, i64* %44, align 8 %46 = inttoptr i64 %45 to i64* %47 = load i64, i64* %46, align 8 %48 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0), i64 %47, i64 %40, i64 %36, i64 %1) br label LBL_14 LBL_14: %49 = add i64 %5, 4 %50 = inttoptr i64 %49 to i32* %51 = load i32, i32* %50, align 4 %52 = and i32 %51, -16 %53 = trunc i64 %arg2 to i32 %54 = urem i32 %53, 16 %55 = or i32 %52, %54 store i32 %55, i32* %50, align 4 %56 = call i64 @FUNC() %57 = add i64 %5, 32 %58 = inttoptr i64 %57 to i32* store i32 0, i32* %58, align 4 store i64 0, i64* %rax.0.reg2mem br i1 %storemerge5.reload, label LBL_18, label LBL_15 LBL_15: %59 = add i64 %5, 8 %60 = inttoptr i64 %59 to i64* %61 = load i64, i64* %60, align 8 %62 = icmp eq i64 %61, 0 store i64 0, i64* %rax.0.reg2mem br i1 %62, label LBL_18, label LBL_16 LBL_16: %63 = call i64 @FUNC(i64 %61) store i64 0, i64* %rax.0.reg2mem br label LBL_18 LBL_17: %64 = add i64 %5, 32 %65 = inttoptr i64 %64 to i32* store i32 0, i32* %65, align 4 store i64 %40, i64* %rax.0.reg2mem br label LBL_18 LBL_18: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %16, { 1, 0 } uselistorder i64 %5, { 5, 9, 10, 11, 6, 8, 7, 12, 3, 4, 2, 14, 13, 1, 0 } uselistorder i1* %storemerge5.reg2mem, { 0, 4, 3, 1, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 7, 3, 2, 1, 6, 4, 5 } uselistorder i64* %0, { 1, 0 } uselistorder i64 32, { 1, 2, 0 } uselistorder i1 false, { 1, 0, 2, 3 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_18, { 5, 2, 1, 0, 6, 3, 4 } uselistorder label LBL_10, { 2, 3, 0, 1 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
nbd_teardown_connection_11616
nbd_teardown_connection
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg1) %1 = inttoptr i64 %0 to i64* %2 = load i64, i64* %1, align 8 %3 = icmp eq i64 %2, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %2, i64 0, i64 0) %5 = call i64 @FUNC(i64 %0) %6 = call i64 @FUNC(i64 %arg1) %7 = add i64 %0, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %9) %11 = call i64 @FUNC(i64 %10) store i64 0, i64* %8, align 8 %12 = load i64, i64* %1, align 8 %13 = call i64 @FUNC(i64 %12) %14 = call i64 @FUNC(i64 %13) store i64 0, i64* %1, 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 uselistorder i64* %1, { 1, 0, 2 } uselistorder i64 (i64)* @object_unref, { 1, 0 } uselistorder i64 (i64)* @OBJECT, { 1, 0 } uselistorder i32 1, { 4, 3, 2, 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
tipc_nl_compat_link_dump_18934
tipc_nl_compat_link_dump
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %sv_1 = alloca i32, align 4 %sv_2 = alloca i64, align 8 %3 = icmp eq i64* %arg2, null %4 = icmp eq i1 %3, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_4 LBL_1: %5 = ptrtoint i64* %arg2 to i64 %6 = call i64 @FUNC(i64* nonnull %sv_2, i64 1, i64 %5, i64 0) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = and i64 %6, 4294967295 store i64 %9, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %10 = ptrtoint i64* %arg1 to i64 %11 = load i64, i64* %sv_2, align 8 %12 = call i64 @FUNC(i64 %11) %13 = trunc i64 %12 to i32 store i32 %13, i32* %sv_1, align 4 %14 = call i64 @FUNC(i64 %2) %15 = trunc i64 %14 to i32 %16 = call i32 @htonl(i32 %15) %17 = call i64 @FUNC(i64 %1) %18 = bitcast i64* %sv_0 to i8* %19 = inttoptr i64 %17 to i8* %20 = call i8* @strcpy(i8* nonnull %18, i8* %19) %21 = call i64 @FUNC(i64 %10, i64 0, i32* nonnull %sv_1, i64 264) store i64 %21, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %sv_2, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64)* @nla_get_flag, { 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_4, { 1, 2, 0 } }
1
BinRealVul
read_cache_accel_6439
read_cache_accel
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null %1 = icmp eq i64* %arg2, null %or.cond3 = or i1 %0, %1 store i64 0, i64* %rax.0.reg2mem br i1 %or.cond3, label LBL_7, label LBL_1 LBL_1: %2 = ptrtoint i64* %arg2 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_2, label LBL_7 LBL_2: %8 = ptrtoint i64* %arg3 to i64 %9 = ptrtoint i64* %arg1 to i64 %10 = sext i32 %arg4 to i64 %11 = add i64 %2, 16 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = icmp ult i64 %13, %10 %15 = select i1 %14, i64 %13, i64 %10 %16 = call i64 @FUNC(i64 %5, i64 %15, i64 %8, i64 %9, i64 0, i64 0) %17 = icmp eq i64 %16, 0 %18 = icmp eq i1 %17, false store i64 0, i64* %rax.0.reg2mem br i1 %18, label LBL_3, label LBL_7 LBL_3: %19 = call i64* @calloc(i32 1, i32 64) %20 = icmp eq i64* %19, null %21 = icmp eq i1 %20, false store i64 0, i64* %rax.0.reg2mem br i1 %21, label LBL_4, label LBL_7 LBL_4: %22 = ptrtoint i64* %19 to i64 %23 = call i64 @FUNC(i64 %9, i64 %16, i64 %22, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 1) %24 = icmp eq i64 %23, 64 br i1 %24, label LBL_6, label LBL_5 LBL_5: call void @free(i64* %19) store i64 0, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %25 = load i64, i64* %19, align 8 %26 = add i64 %25, %16 store i64 %26, i64* %19, align 8 %27 = add i64 %22, 8 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = add i64 %29, %16 store i64 %30, i64* %28, align 8 %31 = add i64 %22, 16 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = add i64 %33, %16 store i64 %34, i64* %32, align 8 %35 = add i64 %22, 24 %36 = inttoptr i64 %35 to i64* %37 = load i64, i64* %36, align 8 %38 = add i64 %37, %16 store i64 %38, i64* %36, align 8 %39 = add i64 %22, 32 %40 = inttoptr i64 %39 to i64* %41 = load i64, i64* %40, align 8 %42 = add i64 %41, %16 store i64 %42, i64* %40, align 8 %43 = add i64 %22, 40 %44 = inttoptr i64 %43 to i64* %45 = load i64, i64* %44, align 8 %46 = add i64 %45, %16 store i64 %46, i64* %44, align 8 %47 = add i64 %22, 48 %48 = inttoptr i64 %47 to i64* %49 = load i64, i64* %48, align 8 %50 = add i64 %49, %16 store i64 %50, i64* %48, align 8 %51 = add i64 %22, 56 %52 = inttoptr i64 %51 to i64* %53 = load i64, i64* %52, align 8 %54 = add i64 %53, %16 store i64 %54, i64* %52, align 8 store i64 %22, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %19, { 0, 2, 1, 4, 3 } uselistorder i64 %2, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 1, 2, 4, 3 } uselistorder i64 64, { 1, 0 } uselistorder i64* null, { 1, 0, 2 } uselistorder i64* %arg2, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_7, { 4, 5, 0, 1, 3, 2 } }
0
BinRealVul
cJSON_ReplaceItemInArray_11145
cJSON_ReplaceItemInArray
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.1.reg2mem = alloca i64 %sv_0.0.in6.reg2mem = alloca i64 %sv_1.07.reg2mem = alloca i64 %0 = add i64 %arg1, 16 %1 = inttoptr i64 %0 to i64* %2 = load i64, i64* %1, align 8 %cond5 = icmp eq i64 %2, 0 store i64 0, i64* %rax.1.reg2mem br i1 %cond5, label LBL_10, label LBL_1 LBL_1: %sext = mul i64 %arg2, 4294967296 store i64 %2, i64* %sv_1.07.reg2mem store i64 %sext, i64* %sv_0.0.in6.reg2mem br label LBL_3 LBL_2: %sext2 = add i64 %sv_0.0.in6.reload, -4294967296 %cond = icmp eq i64 %11, 0 store i64 %11, i64* %sv_1.07.reg2mem store i64 %sext2, i64* %sv_0.0.in6.reg2mem store i64 0, i64* %rax.1.reg2mem br i1 %cond, label LBL_10, label LBL_3 LBL_3: %sv_0.0.in6.reload = load i64, i64* %sv_0.0.in6.reg2mem %sv_1.07.reload = load i64, i64* %sv_1.07.reg2mem %3 = udiv i64 %sv_0.0.in6.reload, 4294967296 %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp slt i32 %4, 0 %7 = icmp eq i1 %6, false %8 = icmp eq i1 %5, false %9 = icmp eq i1 %7, %8 %10 = inttoptr i64 %sv_1.07.reload to i64* %11 = load i64, i64* %10, align 8 br i1 %9, label LBL_2, label LBL_4 LBL_4: %12 = inttoptr i64 %arg3 to i64* store i64 %11, i64* %12, align 8 %13 = add i64 %sv_1.07.reload, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = add i64 %arg3, 8 %17 = inttoptr i64 %16 to i64* store i64 %15, i64* %17, align 8 %18 = icmp eq i64 %15, 0 br i1 %18, label LBL_6, label LBL_5 LBL_5: %19 = add i64 %15, 8 %20 = inttoptr i64 %19 to i64* store i64 %arg3, i64* %20, align 8 br label LBL_6 LBL_6: %21 = load i64, i64* %1, align 8 %22 = icmp eq i64 %sv_1.07.reload, %21 %23 = icmp eq i1 %22, false br i1 %23, label LBL_8, label LBL_7 LBL_7: store i64 %arg3, i64* %1, align 8 br label LBL_9 LBL_8: %24 = load i64, i64* %17, align 8 %25 = inttoptr i64 %24 to i64* store i64 %arg3, i64* %25, align 8 br label LBL_9 LBL_9: store i64 0, i64* %14, align 8 store i64 0, i64* %10, align 8 %26 = call i64 @FUNC(i64 %sv_1.07.reload) store i64 %26, i64* %rax.1.reg2mem br label LBL_10 LBL_10: %rax.1.reload = load i64, i64* %rax.1.reg2mem ret i64 %rax.1.reload uselistorder i64 %11, { 1, 2, 0 } uselistorder i32 %4, { 1, 0 } uselistorder i64 %sv_1.07.reload, { 3, 2, 1, 0 } uselistorder i64 %sv_0.0.in6.reload, { 1, 0 } uselistorder i64* %1, { 1, 0, 2 } uselistorder i64* %rax.1.reg2mem, { 0, 3, 1, 2 } uselistorder i1 false, { 1, 2, 0 } uselistorder i64 4294967296, { 1, 0 } uselistorder i32 1, { 2, 1, 0 } uselistorder i64 %arg3, { 2, 1, 0, 3, 4 } uselistorder label LBL_10, { 2, 0, 1 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
mprGetJson_17342
mprGetJson
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64 %arg2, 0 br i1 %0, label LBL_3, label LBL_1 LBL_1: %1 = inttoptr i64 %arg2 to i8* %2 = call i8* @strpbrk(i8* %1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) %3 = icmp eq i8* %2, null %4 = icmp eq i1 %3, false br i1 %4, label LBL_3, label LBL_2 LBL_2: %5 = call i64 @FUNC(i64 %arg1, i64 %arg2) store i64 %5, i64* %rax.0.reg2mem br label LBL_9 LBL_3: %6 = call i64 @FUNC(i64 %arg1, i64 %arg2, i64 0, i64 0) %7 = icmp eq i64 %6, 0 store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_9, label LBL_4 LBL_4: %8 = inttoptr i64 %6 to i32* %9 = load i32, i32* %8, align 4 %10 = icmp eq i32 %9, 1 %11 = icmp eq i1 %10, false br i1 %11, label LBL_7, label LBL_5 LBL_5: %12 = add i64 %6, 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = add i64 %14, 16 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = urem i32 %17, 2 %19 = icmp eq i32 %18, 0 br i1 %19, label LBL_7, label LBL_6 LBL_6: %20 = add i64 %14, 24 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 store i64 %22, i64* %rax.0.reg2mem br label LBL_9 LBL_7: %23 = icmp slt i32 %9, 2 store i64 0, i64* %rax.0.reg2mem br i1 %23, label LBL_9, label LBL_8 LBL_8: %24 = call i64 @FUNC(i64 %6, i64 0) store i64 %24, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 5, 2, 4, 1, 3 } uselistorder i32 2, { 1, 0 } uselistorder i32 1, { 1, 0 } uselistorder i64 %arg2, { 1, 0, 2, 3 } uselistorder i64 %arg1, { 1, 0 } uselistorder label LBL_9, { 2, 1, 3, 0, 4 } }
1
BinRealVul
clk_set_rate_4176
clk_set_rate
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64* %sv_0.03.reg2mem = alloca i64* %rdi.05.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = icmp eq i64* %arg1, null %3 = icmp eq i1 %2, false store i64 0, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_8 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i64* nonnull @gv_0, i64 %1) %6 = call i64 @FUNC(i64 1) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = trunc i64 %4 to i32 %10 = and i64 %4, 4294967295 %11 = inttoptr i64 %10 to i64* %12 = icmp eq i32 %9, 0 store i64 %4, i64* %rdi.05.reg2mem store i64* %11, i64** %sv_0.03.reg2mem store i64* %11, i64** %sv_0.1.reg2mem br i1 %12, label LBL_4, label LBL_7 LBL_3: %13 = add i64 %4, 8 %14 = inttoptr i64 %13 to i64* store i64 %arg2, i64* %14, align 8 store i64 1, i64* %rdi.05.reg2mem store i64* null, i64** %sv_0.03.reg2mem br label LBL_4 LBL_4: %sv_0.03.reload = load i64*, i64** %sv_0.03.reg2mem %rdi.05.reload = load i64, i64* %rdi.05.reg2mem %15 = add i64 %rdi.05.reload, 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = icmp eq i64 %17, 0 br i1 %18, label LBL_6, label LBL_5 LBL_5: %19 = add i64 %4, 8 %20 = inttoptr i64 %19 to i64* store i64 %4, i64* %20, align 8 br label LBL_6 LBL_6: %21 = call i64 @FUNC(i64 %4) store i64* %sv_0.03.reload, i64** %sv_0.1.reg2mem br label LBL_7 LBL_7: %sv_0.1.reload = load i64*, i64** %sv_0.1.reg2mem %22 = call i64 @FUNC(i64* nonnull @gv_0, i64 %1) %23 = ptrtoint i64* %sv_0.1.reload to i64 %24 = and i64 %23, 4294967295 store i64 %24, i64* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %4, { 3, 1, 2, 4, 0, 5, 6 } uselistorder i64* %rdi.05.reg2mem, { 0, 2, 1 } uselistorder i64** %sv_0.03.reg2mem, { 0, 2, 1 } uselistorder i64** %sv_0.1.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
ath9k_cmn_rx_skb_preprocess_4816
ath9k_cmn_rx_skb_preprocess
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i32* %arg4, i64* %arg5, i8* %arg6) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %rsi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg5 to i64 %3 = ptrtoint i32* %arg4 to i64 %4 = ptrtoint i64* %arg3 to i64 %5 = ptrtoint i64* %arg1 to i64 %6 = call i64* @memset(i64* %arg5, i32 0, i32 32) %7 = ptrtoint i8* %arg6 to i64 %8 = call i64 @FUNC(i64 %5, i64 %4, i64 %2, i64 %3, i64 %7) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false store i64 4294967274, i64* %storemerge.reg2mem br i1 %11, label LBL_1, label LBL_2 LBL_1: %12 = ptrtoint i64* %arg2 to i64 %13 = call i64 @FUNC(i64 %5, i64 %12, i64 %4, i64 %3) %14 = call i64 @FUNC(i64 %5, i64 %12, i64 %3, i64 %2, i64 %4) %15 = trunc i64 %14 to i32 %16 = bitcast i64* %arg5 to i32* store i32 %15, i32* %16, align 4 %17 = and i64 %1, 4294967295 %18 = call i64 @FUNC(i64 %5, i64 %17) %19 = trunc i64 %18 to i32 %20 = add i64 %2, 4 %21 = inttoptr i64 %20 to i32* store i32 %19, i32* %21, align 4 %22 = bitcast i64* %rsi to i32* %23 = load i32, i32* %22, align 8 %24 = add i64 %2, 8 %25 = inttoptr i64 %24 to i32* store i32 %23, i32* %25, align 4 %26 = add nuw nsw i64 %17, 4 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = add i64 %2, 12 %30 = inttoptr i64 %29 to i32* store i32 %28, i32* %30, align 4 %31 = add i64 %5, 8 %32 = inttoptr i64 %31 to i32* %33 = load i32, i32* %32, align 4 %34 = add i64 %2, 16 %35 = inttoptr i64 %34 to i32* store i32 %33, i32* %35, align 4 %36 = add i64 %3, 4 %37 = inttoptr i64 %36 to i32* %38 = load i32, i32* %37, align 4 %39 = add i64 %2, 20 %40 = inttoptr i64 %39 to i32* store i32 %38, i32* %40, align 4 %41 = add i64 %3, 8 %42 = inttoptr i64 %41 to i32* %43 = load i32, i32* %42, align 4 %44 = add i64 %2, 24 %45 = inttoptr i64 %44 to i32* store i32 %43, i32* %45, align 4 %46 = add i64 %2, 28 %47 = inttoptr i64 %46 to i32* %48 = load i32, i32* %47, align 4 %49 = or i32 %48, 1 store i32 %49, i32* %47, 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 i64 %17, { 1, 0 } uselistorder i64 %12, { 1, 0 } uselistorder i64 %5, { 0, 1, 3, 2, 4 } uselistorder i64 %4, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
tee_shm_get_fd_13026
tee_shm_get_fd
define i64 @FUNC(i64* %arg1) 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 4294967274, i64* %storemerge.reg2mem br i1 %4, label LBL_1, label LBL_4 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = add i64 %5, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %8) %10 = load i64, i64* %7, align 8 %11 = call i64 @FUNC(i64 %10, i64 524288) %12 = trunc i64 %11 to i32 %13 = icmp slt i32 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_3, label LBL_2 LBL_2: %15 = load i64, i64* %7, align 8 %16 = call i64 @FUNC(i64 %15) br label LBL_3 LBL_3: %17 = and i64 %11, 4294967295 store i64 %17, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
fnic_fcpio_fw_reset_cmpl_handler_3823
fnic_fcpio_fw_reset_cmpl_handler
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg2 to i64 %5 = ptrtoint i32* %arg1 to i64 %6 = load i64, i64* %0 %sv_1 = alloca i64, align 8 %sv_2 = alloca i32, align 4 %7 = add i64 %5, 4 %8 = bitcast i32* %sv_2 to i64* %9 = call i64 @FUNC(i64 %4, i64* nonnull %sv_1, i64* nonnull %8, i64* nonnull %8) %10 = call i64 @FUNC(i64 %7) %11 = call i64 @FUNC(i64 %5, i64 0) %12 = add i64 %5, 12 %13 = call i64 @FUNC(i64 %12, i64 0) %14 = add i64 %5, 16 %15 = call i64 @FUNC(i64 %14, i64 0) %16 = add i64 %5, 20 %17 = call i64 @FUNC(i64 %16, i64 0) %18 = add i64 %5, 28 %19 = call i64 @FUNC(i64 %18, i64 %6) %20 = trunc i64 %3 to i32 %21 = icmp eq i32 %20, 1 %22 = icmp eq i1 %21, false br i1 %22, label LBL_4, label LBL_1 LBL_1: %23 = load i32, i32* %sv_2, align 4 %24 = trunc i32 %23 to i8 %25 = icmp eq i8 %24, 0 %26 = icmp eq i1 %25, false br i1 %26, label LBL_3, label LBL_2 LBL_2: %27 = ptrtoint i32* %sv_2 to i64 %28 = add i64 %5, 32 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = zext i32 %32 to i64 %34 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64 %33, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_1, i64 0, i64 0), i64 %27, i64 %2, i64 %1) store i32 2, i32* %arg1, align 4 store i32 0, i32* %sv_0.0.reg2mem br label LBL_5 LBL_3: %35 = urem i32 %23, 256 %36 = zext i32 %35 to i64 %37 = call i64 @FUNC(i64 %36) %38 = add i64 %5, 32 %39 = inttoptr i64 %38 to i64* %40 = load i64, i64* %39, align 8 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = zext i32 %42 to i64 %44 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64 %43, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_2, i64 0, i64 0), i64 %37, i64 %2, i64 %1) store i32 3, i32* %arg1, align 4 %45 = add i64 %5, 8 %46 = call i64 @FUNC(i64 %45) store i32 -1, i32* %sv_0.0.reg2mem br label LBL_5 LBL_4: %47 = and i64 %3, 4294967295 %48 = call i64 @FUNC(i64 %47) %49 = add i64 %5, 32 %50 = inttoptr i64 %49 to i64* %51 = load i64, i64* %50, align 8 %52 = inttoptr i64 %51 to i32* %53 = load i32, i32* %52, align 4 %54 = zext i32 %53 to i64 %55 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64 %54, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_3, i64 0, i64 0), i64 %48, i64 %2, i64 %1) %56 = add i64 %5, 8 %57 = call i64 @FUNC(i64 %56) store i32 -1, i32* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %58 = add i64 %5, 24 %59 = inttoptr i64 %58 to i32* %60 = load i32, i32* %59, align 4 %61 = icmp eq i32 %60, 0 store i32 0, i32* %.reg2mem br i1 %61, label LBL_7, label LBL_6 LBL_6: %62 = zext i32 %60 to i64 %63 = call i64 @FUNC(i64 %62) %.pre = load i32, i32* %59, align 4 store i32 %.pre, i32* %.reg2mem br label LBL_7 LBL_7: %.reload = load i32, i32* %.reg2mem %64 = or i32 %.reload, %sv_0.0.reload %65 = icmp eq i32 %64, 0 %66 = call i64 @FUNC(i64 %18, i64 %6) br i1 %65, label LBL_9, label LBL_8 LBL_8: %67 = add i64 %5, 40 %68 = call i64 @FUNC(i64 %67) br label LBL_10 LBL_9: %69 = call i64 @FUNC(i64 %5) br label LBL_10 LBL_10: %70 = call i64 @FUNC(i64 %5, i64 4) %71 = zext i32 %sv_0.0.reload to i64 ret i64 %71 uselistorder i64 %5, { 2, 4, 3, 5, 7, 6, 8, 1, 0, 9, 10, 11, 12, 13, 14 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i32 -1, { 1, 0 } uselistorder i32 0, { 2, 0, 3, 1 } uselistorder i64 (i8*, i64, i8*, i64, i64, i64)* @FNIC_SCSI_DBG, { 2, 1, 0 } uselistorder i64 (i64, i64)* @atomic64_set, { 2, 1, 0 } uselistorder i64 (i64)* @atomic64_inc, { 2, 1, 0 } uselistorder i32* %arg1, { 1, 0, 2 } }
0
BinRealVul
l2cap_check_enc_key_size_19149
l2cap_check_enc_key_size
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i32* %arg1 to i64 %1 = call i64 @FUNC(i64 0, i64 %0) %2 = trunc i64 %1 to i8 %3 = icmp eq i8 %2, 1 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = add i64 %0, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = icmp sgt i32 %7, 7 %spec.select = zext i1 %8 to i64 ret i64 %spec.select LBL_2: ret i64 1 }
1
BinRealVul
ath9k_cmn_spectral_init_debug_3998
ath9k_cmn_spectral_init_debug
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i64 %2, i64 1024, i64 256, i64* nonnull @gv_1, i64 0, i64 %3, i64 %1) store i64 %4, i64* %arg1, align 8 %5 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0), i64 384, i64 %2, i64 %3, i64* nonnull @gv_3) %6 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_4, i64 0, i64 0), i64 384, i64 %2, i64 %3, i64* nonnull @gv_5) %7 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_6, i64 0, i64 0), i64 384, i64 %2, i64 %3, i64* nonnull @gv_7) %8 = call i64 @FUNC(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_8, i64 0, i64 0), i64 384, i64 %2, i64 %3, i64* nonnull @gv_9) %9 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_10, i64 0, i64 0), i64 384, i64 %2, i64 %3, i64* nonnull @gv_11) ret i64 %9 uselistorder i64 %3, { 4, 3, 2, 1, 0, 5 } uselistorder i64 %2, { 4, 3, 2, 1, 0, 5 } uselistorder i64 (i8*, i64, i64, i64, i64*)* @debugfs_create_file, { 4, 3, 2, 1, 0 } }
0
BinRealVul
rm_read_metadata_14562
rm_read_metadata
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge2.reg2mem = alloca i64 %rdi.03.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = trunc i64 %arg2 to i32 %2 = icmp eq i32 %1, 0 %3 = add i64 %0, 8 store i64 0, i64* %indvars.iv.reg2mem store i64 %0, i64* %rdi.03.reg2mem br label LBL_1 LBL_1: %rdi.03.reload = load i64, i64* %rdi.03.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem br i1 %2, label LBL_3, label LBL_2 LBL_2: %4 = call i64 @FUNC(i64 %rdi.03.reload) store i64 %4, i64* %storemerge2.reg2mem br label LBL_4 LBL_3: %5 = call i64 @FUNC(i64 %rdi.03.reload) store i64 %5, i64* %storemerge2.reg2mem br label LBL_4 LBL_4: %storemerge2.reload = load i64, i64* %storemerge2.reg2mem %6 = and i64 %storemerge2.reload, 4294967295 %7 = call i64 @FUNC(i64 %rdi.03.reload, i64* nonnull %sv_0, i64 1024, i64 %6) %8 = mul i64 %indvars.iv.reload, 8 %9 = add i64 %8, ptrtoint ([6 x i8*]* @gv_0 to i64) %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = call i64 @FUNC(i64 %3, i64 %11, i64* nonnull %sv_0, i64 0) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 6 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %3, i64* %rdi.03.reg2mem br i1 %exitcond, label LBL_5, label LBL_1 LBL_5: ret i64 6 uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rdi.03.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 12, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 } }
1
BinRealVul
mpeg_mux_read_header_7492
mpeg_mux_read_header
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %storemerge11.reg2mem = alloca i32 %sv_0.012.reg2mem = alloca i32 %sv_1.013.reg2mem = alloca i32 %sv_2.014.reg2mem = alloca i32 %sv_3.015.reg2mem = alloca i32 %sv_3.0.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %rdi = alloca i64, align 8 %sv_4 = alloca i32, align 4 %0 = call i64 @FUNC(i64 8) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_20 LBL_1: %3 = ptrtoint i64* %arg1 to i64 %4 = inttoptr i64 %0 to i32* %5 = add i64 %3, 8 %6 = inttoptr i64 %5 to i64* store i64 %0, i64* %6, align 8 %7 = add i64 %0, 4 %8 = inttoptr i64 %7 to i32* store i32 255, i32* %8, align 4 store i32 1000, i32* %sv_4, align 4 %9 = add i64 %3, 16 br label LBL_2 LBL_2: %10 = call i64 @FUNC(i64 %9, i32* nonnull %sv_4, i64 %7) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 186 br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = load i32, i32* %sv_4, align 4 %14 = icmp eq i32 %13, 0 %15 = icmp slt i32 %13, 0 %16 = icmp eq i1 %15, false %17 = icmp eq i1 %14, false %18 = icmp eq i1 %16, %17 store i64 4294967235, i64* %rax.0.reg2mem br i1 %18, label LBL_2, label LBL_20 LBL_4: %19 = call i64 @FUNC(i64 %9) %20 = call i64 @FUNC(i64 %9) %21 = call i64 @FUNC(i64 %9) %22 = call i64 @FUNC(i64 %9) %23 = trunc i64 %22 to i32 %24 = mul i32 %23, 65536 %25 = call i64 @FUNC(i64 %9) %26 = trunc i64 %25 to i32 %27 = mul i32 %26, 256 %28 = or i32 %27, %24 %29 = call i64 @FUNC(i64 %9) %30 = trunc i64 %29 to i32 %31 = or i32 %28, %30 %32 = urem i32 %31, 4194304 store i32 %32, i32* %4, align 4 %33 = call i64 @FUNC(i64 %9, i32* nonnull %sv_4, i64 %7) %34 = trunc i64 %33 to i32 %35 = icmp eq i32 %34, 185 br i1 %35, label LBL_5, label LBL_3 LBL_5: %36 = call i64 @FUNC(i64 %9) %37 = trunc i64 %36 to i32 store i32 %37, i32* %sv_4, align 4 %38 = call i64 @FUNC(i64 %9) %39 = mul i64 %38, 65536 %40 = call i64 @FUNC(i64 %9) %41 = mul i64 %40, 256 %42 = or i64 %41, %39 %43 = call i64 @FUNC(i64 %9) %44 = or i64 %42, %43 %45 = udiv i64 %44, 2 %46 = urem i64 %45, 4194304 %47 = call i64 @FUNC(i64 %9) %48 = trunc i64 %47 to i32 %49 = ashr i32 %48, 2 %50 = call i64 @FUNC(i64 %9) %51 = trunc i64 %50 to i32 %52 = urem i32 %51, 32 %53 = call i64 @FUNC(i64 %9) %54 = load i32, i32* %4, align 4 %55 = mul i32 %54, 400 %56 = sdiv i32 %55, 1000 %57 = zext i32 %56 to i64 %58 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i64 %57) %59 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i64 %46) %60 = zext i32 %49 to i64 %61 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0), i64 %60) %62 = zext i32 %52 to i64 %63 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_3, i64 0, i64 0), i64 %62) %64 = load i32, i32* %sv_4, align 4 %65 = add i32 %64, -6 store i32 %65, i32* %sv_4, align 4 %66 = bitcast i64* %arg1 to i32* store i32 0, i32* %66, align 4 %67 = icmp eq i32 %65, 0 %68 = icmp slt i32 %65, 0 %69 = icmp eq i1 %68, false %70 = icmp eq i1 %67, false %71 = icmp eq i1 %69, %70 store i64 0, i64* %rax.0.reg2mem br i1 %71, label LBL_6, label LBL_20 LBL_6: %72 = add i64 %3, 24 %73 = inttoptr i64 %72 to i64* %74 = bitcast i64* %rdi to i32* br label LBL_7 LBL_7: %75 = call i64 @FUNC(i64 %9) %76 = load i32, i32* %sv_4, align 4 %77 = add i32 %76, -1 store i32 %77, i32* %sv_4, align 4 %78 = trunc i64 %75 to i8 %79 = icmp sgt i8 %78, -1 store i64 0, i64* %rax.0.reg2mem br i1 %79, label LBL_20, label LBL_8 LBL_8: %80 = trunc i64 %75 to i32 %81 = call i64 @FUNC(i64 %9) %82 = load i32, i32* %sv_4, align 4 %83 = add i32 %82, -2 store i32 %83, i32* %sv_4, align 4 %84 = and i32 %80, -32 %85 = icmp eq i32 %84, 192 br i1 %85, label LBL_9, label LBL_10 LBL_9: %86 = or i32 %80, 256 store i32 1, i32* %sv_3.015.reg2mem store i32 0, i32* %sv_2.014.reg2mem store i32 1, i32* %sv_1.013.reg2mem store i32 %86, i32* %sv_0.012.reg2mem br label LBL_15 LBL_10: %87 = and i32 %80, -16 %88 = icmp eq i32 %87, 224 br i1 %88, label LBL_11, label LBL_12 LBL_11: %89 = or i32 %80, 256 store i32 1, i32* %sv_3.015.reg2mem store i32 1, i32* %sv_2.014.reg2mem store i32 2, i32* %sv_1.013.reg2mem store i32 %89, i32* %sv_0.012.reg2mem br label LBL_15 LBL_12: %90 = icmp eq i32 %80, 184 %91 = icmp eq i1 %90, false store i32 128, i32* %sv_0.0.reg2mem store i32 1, i32* %sv_1.0.reg2mem store i32 2, i32* %sv_2.0.reg2mem store i32 %49, i32* %sv_3.0.reg2mem br i1 %91, label LBL_13, label LBL_14 LBL_13: %92 = icmp eq i32 %80, 185 %93 = icmp eq i1 %92, false %not. = icmp ne i1 %93, true %.7 = zext i1 %not. to i32 store i32 480, i32* %sv_0.0.reg2mem store i32 2, i32* %sv_1.0.reg2mem store i32 %.7, i32* %sv_2.0.reg2mem store i32 %52, i32* %sv_3.0.reg2mem store i32 %83, i32* %.reg2mem br i1 %93, label LBL_19, label LBL_14 LBL_14: %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %94 = icmp sgt i32 %sv_3.0.reload, 0 store i32 %sv_3.0.reload, i32* %sv_3.015.reg2mem store i32 %sv_2.0.reload, i32* %sv_2.014.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.013.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.012.reg2mem store i32 %83, i32* %.reg2mem br i1 %94, label LBL_15, label LBL_19 LBL_15: %sv_0.012.reload = load i32, i32* %sv_0.012.reg2mem %sv_1.013.reload = load i32, i32* %sv_1.013.reg2mem %sv_2.014.reload = load i32, i32* %sv_2.014.reg2mem %sv_3.015.reload = load i32, i32* %sv_3.015.reg2mem store i32 0, i32* %storemerge11.reg2mem br label LBL_16 LBL_16: %95 = call i64 @FUNC(i64 12) %96 = icmp eq i64 %95, 0 %97 = icmp eq i1 %96, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %97, label LBL_17, label LBL_20 LBL_17: %storemerge11.reload = load i32, i32* %storemerge11.reg2mem %98 = inttoptr i64 %95 to i32* %99 = load i64, i64* %73, align 8 %100 = load i32, i32* %74, align 8 %101 = add i32 %100, 1 store i32 %101, i32* %66, align 4 %102 = sext i32 %100 to i64 %103 = mul i64 %102, 8 %104 = add i64 %103, %99 %105 = inttoptr i64 %104 to i64* store i64 %95, i64* %105, align 8 %106 = add i32 %storemerge11.reload, %sv_0.012.reload store i32 %106, i32* %98, align 4 %107 = add i64 %95, 4 %108 = inttoptr i64 %107 to i32* store i32 %sv_1.013.reload, i32* %108, align 4 %109 = add i64 %95, 8 %110 = inttoptr i64 %109 to i32* store i32 %sv_2.014.reload, i32* %110, align 4 %111 = add nuw nsw i32 %storemerge11.reload, 1 %112 = icmp slt i32 %111, %sv_3.015.reload store i32 %111, i32* %storemerge11.reg2mem br i1 %112, label LBL_16, label LBL_18 LBL_18: %.pre = load i32, i32* %sv_4, align 4 store i32 %.pre, i32* %.reg2mem br label LBL_19 LBL_19: %.reload = load i32, i32* %.reg2mem %113 = icmp eq i32 %.reload, 0 %114 = icmp slt i32 %.reload, 0 %115 = icmp eq i1 %114, false %116 = icmp eq i1 %113, false %117 = icmp eq i1 %115, %116 store i64 0, i64* %rax.0.reg2mem br i1 %117, label LBL_7, label LBL_20 LBL_20: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %.reload, { 1, 0 } uselistorder i1 %93, { 1, 0 } uselistorder i32 %83, { 1, 0, 2 } uselistorder i32 %80, { 5, 4, 3, 0, 2, 1 } uselistorder i64 %75, { 1, 0 } uselistorder i32 %65, { 1, 0, 2 } uselistorder i32 %13, { 1, 0 } uselistorder i32* %sv_4, { 0, 3, 4, 5, 6, 7, 8, 9, 1, 10, 2, 11 } uselistorder i32* %sv_3.015.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %sv_2.014.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %sv_1.013.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %sv_0.012.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %storemerge11.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 2, 5, 1, 6 } uselistorder i32 (i8*, ...)* @printf, { 2, 3, 0, 1 } uselistorder i32 2, { 2, 1, 0, 3 } uselistorder i32 256, { 1, 2, 0 } uselistorder i64 (i64)* @get_be16, { 3, 2, 1, 0 } uselistorder i64 (i64)* @get_byte, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64, i32*, i64)* @find_start_code, { 1, 0 } uselistorder i64 (i64)* @av_mallocz, { 1, 0 } uselistorder i64 8, { 2, 0, 3, 1 } uselistorder label LBL_20, { 2, 3, 1, 4, 0, 5 } uselistorder label LBL_19, { 1, 2, 0 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_15, { 2, 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
_AR_EXP_FromIdentifier_7204
_AR_EXP_FromIdentifier
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC() %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(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_0, i64 0, i64 0)) %4 = call i64 @FUNC() %5 = and i64 %4, 4294967295 %6 = call i64 @FUNC(i64 %5) store i64 %6, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %7 = inttoptr i64 %0 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %8) %10 = call i64 @FUNC(i64 %9, i64 %arg1) %11 = icmp eq i64 %10, 0 br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = call i64 @FUNC(i64 %10) store i64 %12, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %13 = call i64 @FUNC(i64 %arg1) store i64 %13, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } }
0
BinRealVul
ff_read_riff_info_2440
ff_read_riff_info
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rcx.09.reg2mem = alloca i64 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %4 = call i64 @FUNC(i64 %3) %5 = add i64 %4, %arg2 %6 = call i64 @FUNC(i64 %3) %7 = icmp sgt i64 %6, -1 %8 = add i64 %5, -7 %9 = icmp slt i64 %6, %8 %or.cond8 = icmp eq i1 %7, %9 store i64 0, i64* %rax.0.reg2mem br i1 %or.cond8, label LBL_1, label LBL_10 LBL_1: %10 = add i64 %3, 8 store i64 %6, i64* %.reg2mem br label LBL_2 LBL_2: %rcx.09.reload = load i64, i64* %rcx.09.reg2mem store i32 0, i32* %sv_0, align 4 %11 = call i64 @FUNC(i64 %3) %12 = call i64 @FUNC(i64 %3) %13 = and i64 %12, 4294967295 %14 = icmp sgt i64 %13, %5 br i1 %14, label LBL_4, label LBL_3 LBL_3: %.reload = load i64, i64* %.reg2mem %sext2 = mul i64 %12, 4294967296 %15 = ashr exact i64 %sext2, 32 %16 = sub i64 %5, %15 %17 = icmp sgt i64 %.reload, %16 br i1 %17, label LBL_4, label LBL_5 LBL_4: %18 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i64 %rcx.09.reload, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_10 LBL_5: %19 = add nsw i64 %15, 1 %20 = or i64 %19, 1 %21 = call i64 @FUNC(i64 %20) %22 = icmp eq i64 %21, 0 %23 = icmp eq i1 %22, false br i1 %23, label LBL_7, label LBL_6 LBL_6: %24 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_1, i64 0, i64 0), i64 %rcx.09.reload, i64 %2, i64 %1) store i64 4294967284, i64* %rax.0.reg2mem br label LBL_10 LBL_7: %25 = trunc i64 %19 to i32 %26 = and i32 %25, -2 %27 = and i64 %11, 4294967295 %28 = call i64 @FUNC(i32* nonnull %sv_0, i64 %27) %29 = zext i32 %26 to i64 %30 = call i64 @FUNC(i64 %3, i64 %21, i64 %29) %sext = mul i64 %30, 4294967296 %31 = ashr exact i64 %sext, 32 %32 = sext i32 %26 to i64 %33 = icmp eq i64 %31, %32 br i1 %33, label LBL_9, label LBL_8 LBL_8: %34 = call i64 @FUNC(i64 %21) %35 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_2, i64 0, i64 0), i64 %21, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_10 LBL_9: %36 = add i64 %31, %21 %37 = inttoptr i64 %36 to i8* store i8 0, i8* %37, align 1 %38 = call i64 @FUNC(i64 %10, i32* nonnull %sv_0, i64 %21, i64 0) %39 = call i64 @FUNC(i64 %3) %40 = icmp sgt i64 %39, -1 %41 = icmp slt i64 %39, %8 %or.cond = icmp eq i1 %40, %41 store i64 %39, i64* %.reg2mem store i64 0, i64* %rcx.09.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_2, label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %39, { 0, 2, 1 } uselistorder i64 %21, { 3, 2, 0, 1, 4, 5 } uselistorder i64 %15, { 1, 0 } uselistorder i64 %8, { 1, 0 } uselistorder i64 %5, { 2, 1, 0 } uselistorder i64 %3, { 8, 2, 4, 1, 5, 7, 6, 3, 0, 9 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i64* %rcx.09.reg2mem, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 3, 5, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 2, 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder i64 (i64)* @avio_rl32, { 1, 0 } uselistorder i64 0, { 0, 2, 11, 12, 5, 6, 13, 7, 8, 16, 14, 9, 10, 1, 3, 4, 15 } uselistorder i64 -1, { 1, 0 } uselistorder i64 (i64)* @avio_tell, { 2, 0, 1 } uselistorder label LBL_10, { 0, 2, 3, 4, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
blk_cleanup_queue_4214
blk_cleanup_queue
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = add i64 %arg1, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = add i64 %arg1, 16 %6 = call i64 @FUNC(i64 %5) %7 = call i64 @FUNC(i64 %arg1) %8 = call i64 @FUNC(i64 %4) %9 = trunc i64 %1 to i32 %10 = add i32 %9, 1 %11 = inttoptr i64 %arg1 to i32* store i32 %10, i32* %11, align 4 %12 = call i64 @FUNC(i64 1, i64 %arg1) %13 = call i64 @FUNC(i64 2, i64 %arg1) %14 = call i64 @FUNC(i64 3, i64 %arg1) %15 = call i64 @FUNC(i64 4, i64 %arg1) %16 = call i64 @FUNC(i64 %4) %17 = call i64 @FUNC(i64 %5) %18 = add i64 %arg1, 24 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = icmp eq i64 %20, 0 br i1 %21, label LBL_2, label LBL_1 LBL_1: %22 = call i64 @FUNC(i64 %arg1) %23 = call i64 @FUNC(i64 %4) br label LBL_3 LBL_2: %24 = call i64 @FUNC(i64 %4) %25 = call i64 @FUNC(i64 %arg1, i64 1) br label LBL_3 LBL_3: %26 = call i64 @FUNC(i64 5, i64 %arg1) %27 = call i64 @FUNC(i64 %4) %28 = add i64 %arg1, 32 %29 = call i64 @FUNC(i64 %28) %30 = call i64 @FUNC(i64 %arg1) %31 = load i64, i64* %19, align 8 %32 = icmp eq i64 %31, 0 br i1 %32, label LBL_5, label LBL_4 LBL_4: %33 = call i64 @FUNC(i64 %arg1) br label LBL_5 LBL_5: %34 = call i64 @FUNC(i64 %4) %35 = load i64, i64* %3, align 8 %36 = add i64 %arg1, 40 %37 = icmp eq i64 %35, %36 br i1 %37, label LBL_7, label LBL_6 LBL_6: store i64 %36, i64* %3, align 8 br label LBL_7 LBL_7: %38 = call i64 @FUNC(i64 %4) %39 = call i64 @FUNC(i64 %28) %40 = call i64 @FUNC(i64 %arg1) ret i64 %40 uselistorder i64 %4, { 1, 2, 3, 4, 0, 5, 6 } uselistorder i64* %3, { 1, 0, 2 } uselistorder i64 (i64)* @spin_unlock_irq, { 2, 1, 0 } uselistorder i64 (i64, i64)* @queue_flag_set, { 4, 3, 2, 1, 0 } uselistorder i64 (i64)* @spin_lock_irq, { 3, 2, 1, 0 } uselistorder i64 %arg1, { 0, 1, 2, 3, 4, 5, 6, 8, 7, 9, 10, 11, 12, 13, 14, 15, 16 } }
0
BinRealVul
ext4_valid_inum_6716
ext4_valid_inum
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = icmp eq i64 %arg2, 2 br i1 %0, label LBL_2, label LBL_1 LBL_1: %1 = ptrtoint i64* %arg1 to i64 %2 = icmp ugt i64 %arg2, 10 %3 = icmp uge i64 %1, %arg2 %not.or.cond = icmp eq i1 %3, %2 %spec.select = zext i1 %not.or.cond to i64 ret i64 %spec.select LBL_2: ret i64 1 uselistorder i64 %arg2, { 1, 0, 2 } }
0
BinRealVul
virtcons_restore_8950
virtcons_restore
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %storemerge25.in.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = and i64 %1, 4294967295 store i64 %4, i64* %storemerge.reg2mem br label LBL_9 LBL_2: %5 = call i64 @FUNC(i64 %0) %6 = call i64 @FUNC(i64 %0) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_4, label LBL_3 LBL_3: %9 = add i64 %0, 36 %10 = add i64 %0, 32 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = zext i32 %12 to i64 %14 = call i64 @FUNC(i64 %13, i64 %9) br label LBL_4 LBL_4: %15 = add i64 %0, 8 %16 = icmp eq i64 %15, 0 %17 = icmp eq i1 %16, false store i64 0, i64* %storemerge.reg2mem br i1 %17, label LBL_5, label LBL_9 LBL_5: %18 = add i64 %0, 16 %19 = inttoptr i64 %18 to i64* %20 = add i64 %0, 24 %21 = inttoptr i64 %20 to i64* store i64 %15, i64* %storemerge25.in.reg2mem br label LBL_6 LBL_6: %storemerge25.in.reload = load i64, i64* %storemerge25.in.reg2mem %storemerge25 = inttoptr i64 %storemerge25.in.reload to i32* %22 = load i64, i64* %19, align 8 %23 = load i32, i32* %storemerge25, align 4 %24 = sext i32 %23 to i64 %25 = mul i64 %24, 4 %26 = add i64 %25, %22 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = add i64 %storemerge25.in.reload, 4 %30 = inttoptr i64 %29 to i32* store i32 %28, i32* %30, align 4 %31 = load i64, i64* %21, align 8 %32 = load i32, i32* %storemerge25, align 4 %33 = sext i32 %32 to i64 %34 = mul i64 %33, 4 %35 = add i64 %34, %31 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = add i64 %storemerge25.in.reload, 8 %39 = inttoptr i64 %38 to i32* store i32 %37, i32* %39, align 4 %40 = add i64 %storemerge25.in.reload, 24 %41 = load i32, i32* %30, align 4 %42 = zext i32 %41 to i64 %43 = call i64 @FUNC(i64 %42, i64 %40) %44 = call i64 @FUNC(i64 %storemerge25.in.reload, i64 1, i64 1) %45 = add i64 %storemerge25.in.reload, 12 %46 = inttoptr i64 %45 to i32* %47 = load i32, i32* %46, align 4 %48 = icmp eq i32 %47, 0 br i1 %48, label LBL_8, label LBL_7 LBL_7: %49 = call i64 @FUNC(i64 %storemerge25.in.reload, i64 2, i64 1) br label LBL_8 LBL_8: %50 = add i64 %storemerge25.in.reload, 16 %51 = inttoptr i64 %50 to i64* %52 = load i64, i64* %51, align 8 %53 = icmp eq i64 %52, 0 %54 = icmp eq i1 %53, false store i64 %52, i64* %storemerge25.in.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %54, label LBL_6, label LBL_9 LBL_9: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %storemerge25.in.reload, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %0, { 2, 3, 4, 1, 0, 5, 6, 7 } uselistorder i64* %storemerge25.in.reg2mem, { 1, 0, 2 } uselistorder i64 (i64, i64, i64)* @send_control_msg, { 1, 0 } uselistorder i64 1, { 0, 2, 1 } uselistorder i64 4, { 0, 2, 1 } uselistorder i1 false, { 1, 0 } uselistorder i64 (i64, i64)* @fill_queue, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
iwgif_read_extension_9877
iwgif_read_extension
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = call i64 @FUNC(i64 %2, i64 %3, i64 1) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %6, label LBL_7, label LBL_1 LBL_1: %7 = inttoptr i64 %3 to i8* %8 = load i8, i8* %7, align 1 %9 = icmp eq i8 %8, -7 %10 = icmp eq i1 %9, false br i1 %10, label LBL_5, label LBL_2 LBL_2: %11 = trunc i64 %1 to i32 %12 = add i64 %2, 4 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = add i32 %14, 1 %16 = icmp eq i32 %15, %11 %17 = icmp eq i1 %16, false br i1 %17, label LBL_4, label LBL_3 LBL_3: %18 = call i64 @FUNC(i64 %2) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 0 %21 = icmp eq i1 %20, false store i64 0, i64* %sv_0.0.reg2mem br i1 %21, label LBL_6, label LBL_7 LBL_4: %22 = call i64 @FUNC(i64 %2) %23 = trunc i64 %22 to i32 %24 = icmp eq i32 %23, 0 %25 = icmp eq i1 %24, false store i64 0, i64* %sv_0.0.reg2mem br i1 %25, label LBL_6, label LBL_7 LBL_5: %26 = call i64 @FUNC(i64 %2) %27 = trunc i64 %26 to i32 %28 = icmp eq i32 %27, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %28, label LBL_7, label LBL_6 LBL_6: store i64 1, i64* %sv_0.0.reg2mem br label LBL_7 LBL_7: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem ret i64 %sv_0.0.reload uselistorder i64 %2, { 0, 3, 2, 1, 4, 5 } uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 4, 2, 1, 5 } uselistorder i64 (i64)* @iwgif_skip_subblocks, { 1, 0 } uselistorder label LBL_7, { 4, 0, 2, 3, 1 } uselistorder label LBL_6, { 2, 1, 0 } }
0
BinRealVul
free_l2_table_6679
free_l2_table
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.3.reg2mem = alloca i32 %sv_0.2.ph6.reg2mem = alloca i32 %sv_1.1.ph7.reg2mem = alloca i32 %sv_2.1.ph8.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = call i64 @FUNC(i64 %2) %5 = call i64 @FUNC(i64 %4) %6 = add i64 %2, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = urem i32 %8, 2 %10 = icmp eq i32 %9, 0 %11 = zext i1 %10 to i64 %12 = sub i64 %1, %11 %13 = call i64 @FUNC(i64 %5) %14 = call i64 @FUNC(i64 %13) %15 = add i64 %2, 8 %16 = inttoptr i64 %15 to i32* %17 = and i64 %12, 4294967295 store i64 %17, i64* %indvars.iv.reg2mem store i32 %8, i32* %sv_1.0.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %18 = load i32, i32* %16, align 4 %19 = zext i32 %18 to i64 %20 = trunc i64 %indvars.iv.reload to i32 %21 = call i64 @FUNC(i64 %3, i64 %19, i32 %20) %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 0 br i1 %23, label LBL_3, label LBL_2 LBL_2: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %24 = mul i64 %indvars.iv.reload, 4 %25 = add i64 %24, %14 %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 %5, i32 %sv_1.0.reload) %30 = trunc i64 %29 to i32 %31 = icmp slt i32 %30, 0 br i1 %31, label LBL_7, label LBL_3 LBL_3: %32 = icmp eq i64 %indvars.iv.reload, 0 br i1 %32, label LBL_6, label LBL_4 LBL_4: %33 = call i64 @FUNC() %34 = trunc i64 %33 to i32 %35 = icmp eq i32 %34, 0 %indvars.iv.next = add nsw i64 %indvars.iv.reload, -1 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 0, i32* %sv_1.0.reg2mem br i1 %35, label LBL_1, label LBL_5 LBL_5: %36 = add i32 %20, -1 %37 = call i64 @FUNC(i64 %14) store i32 %36, i32* %sv_2.1.ph8.reg2mem store i32 0, i32* %sv_1.1.ph7.reg2mem store i32 -1, i32* %sv_0.2.ph6.reg2mem br label LBL_9 LBL_6: %38 = call i64 @FUNC(i64 %14) %39 = load i32, i32* %16, align 4 %40 = and i32 %39, -2 store i32 %40, i32* %16, align 4 store i32 0, i32* %sv_0.3.reg2mem br label LBL_11 LBL_7: %41 = call i64 @FUNC(i64 %14) %42 = icmp eq i32 %30, -2 %43 = icmp eq i1 %42, false store i32 %20, i32* %sv_2.1.ph8.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.1.ph7.reg2mem store i32 %30, i32* %sv_0.2.ph6.reg2mem br i1 %43, label LBL_9, label LBL_8 LBL_8: %44 = bitcast i64* %arg1 to i32* store i32 %20, i32* %44, align 4 store i32 1, i32* %7, align 4 store i32 %30, i32* %sv_0.3.reg2mem br label LBL_11 LBL_9: %sv_0.2.ph6.reload = load i32, i32* %sv_0.2.ph6.reg2mem %sv_2.1.ph8.reload = load i32, i32* %sv_2.1.ph8.reg2mem %45 = icmp eq i32 %sv_0.2.ph6.reload, -1 %46 = icmp ult i32 %sv_2.1.ph8.reload, 1023 %or.cond = icmp eq i1 %46, %45 store i32 %sv_0.2.ph6.reload, i32* %sv_0.3.reg2mem br i1 %or.cond, label LBL_10, label LBL_11 LBL_10: %sv_1.1.ph7.reload = load i32, i32* %sv_1.1.ph7.reg2mem %47 = urem i32 %sv_1.1.ph7.reload, 2 %48 = icmp eq i32 %47, 0 %49 = zext i1 %48 to i32 %50 = add i32 %sv_2.1.ph8.reload, %49 %51 = bitcast i64* %arg1 to i32* store i32 %50, i32* %51, align 4 store i32 %sv_1.1.ph7.reload, i32* %7, align 4 store i32 -2, i32* %sv_0.3.reg2mem br label LBL_11 LBL_11: %sv_0.3.reload = load i32, i32* %sv_0.3.reg2mem %52 = zext i32 %sv_0.3.reload to i64 ret i64 %52 uselistorder i32 %sv_2.1.ph8.reload, { 1, 0 } uselistorder i32 %20, { 2, 0, 1, 3 } uselistorder i64 %indvars.iv.reload, { 0, 2, 3, 1 } uselistorder i64 %14, { 2, 3, 1, 0 } uselistorder i32* %7, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.0.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.3.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64 (i64)* @unmap_domain_page, { 1, 2, 0 } uselistorder i32 -1, { 2, 0, 1 } uselistorder i32 0, { 3, 0, 1, 2, 4, 5, 6, 7 } uselistorder label LBL_11, { 1, 0, 2, 3 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
AVRC_PassCmd_9737
AVRC_PassCmd
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = icmp eq i64* %arg3, null %1 = icmp eq i1 %0, false store i64 2, i64* %storemerge.reg2mem br i1 %1, label LBL_1, label LBL_5 LBL_1: %2 = ptrtoint i64* %arg3 to i64 %3 = bitcast i64* %arg3 to i8* store i8 3, i8* %3, align 1 %4 = call i64 @FUNC(i64 %2) %5 = icmp eq i64 %4, 0 store i64 1, i64* %sv_0.0.reg2mem br i1 %5, label LBL_4, label LBL_2 LBL_2: %6 = urem i64 %arg1, 256 %sext3 = mul i64 %arg2, 72057594037927936 %7 = ashr exact i64 %sext3, 56 %8 = trunc i64 %7 to i8 %9 = call i64 @FUNC(i64 %6, i8 %8, i64 4, i64 %4) %10 = trunc i64 %9 to i16 %11 = icmp eq i16 %10, 0 %12 = icmp eq i1 %11, false store i64 %9, i64* %sv_0.0.reg2mem br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = urem i64 %7, 256 %14 = call i64 @FUNC(i64 %6, i64 %13, i64 0) store i64 %9, i64* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %15 = urem i64 %sv_0.0.reload, 65536 store i64 %15, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %6, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %arg3, { 0, 2, 1 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
get_num_images_4060
get_num_images
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.ph.reg2mem = alloca i32 %0 = inttoptr i64 %arg1 to i8* %1 = call %__dirstream* @opendir(i8* %0) %2 = icmp eq %__dirstream* %1, null %3 = icmp eq i1 %2, false store i32 0, i32* %sv_0.0.ph.reg2mem br i1 %3, label LBL_4, label LBL_1 LBL_1: %4 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %5 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %4, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, i64 0), i8* %0) store i64 0, i64* %storemerge.reg2mem br label LBL_7 LBL_2: %6 = ptrtoint %dirent* %15 to i64 %7 = add i64 %6, 19 %8 = inttoptr i64 %7 to i8* %9 = call i32 @strcmp(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_2, i64 0, i64 0), i8* %8) %10 = icmp eq i32 %9, 0 br i1 %10, label LBL_5, label LBL_3 LBL_3: %11 = call i32 @strcmp(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_3, i64 0, i64 0), i8* %8) %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false %14 = zext i1 %13 to i32 %spec.select = add i32 %sv_0.0.ph.reload, %14 store i32 %spec.select, i32* %sv_0.0.ph.reg2mem br label LBL_4 LBL_4: %sv_0.0.ph.reload = load i32, i32* %sv_0.0.ph.reg2mem br label LBL_5 LBL_5: %15 = call %dirent* @readdir(%__dirstream* %1) %16 = icmp eq %dirent* %15, null %17 = icmp eq i1 %16, false br i1 %17, label LBL_2, label LBL_6 LBL_6: %18 = call i32 @closedir(%__dirstream* %1) %19 = zext i32 %sv_0.0.ph.reload to i64 store i64 %19, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %sv_0.0.ph.reload, { 1, 0 } uselistorder i32* %sv_0.0.ph.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 } uselistorder i32 0, { 1, 2, 0 } uselistorder i1 false, { 1, 0, 2 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
put_string_1549
put_string
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i8 %sv_0.02.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* %sv_0.02.reg2mem store i8 %2, i8* %.lcssa.reg2mem br i1 %4, label LBL_1, label LBL_2 LBL_1: %sv_0.02.reload = load i64, i64* %sv_0.02.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 %sv_0.02.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* %sv_0.02.reg2mem store i8 %9, i8* %.lcssa.reg2mem br i1 %11, label LBL_1, label LBL_2 LBL_2: %.lcssa.reload = load i8, i8* %.lcssa.reg2mem %12 = zext i8 %.lcssa.reload to i64 %13 = trunc i64 %arg3 to i32 %14 = icmp eq i32 %13, 0 store i64 %12, i64* %rax.0.reg2mem br i1 %14, label LBL_4, label LBL_3 LBL_3: %15 = call i64 @FUNC(i64 %0, i64 8, i64 0) store i64 %15, 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 i8* %.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.02.reg2mem, { 2, 0, 1 } uselistorder i1 false, { 1, 0 } uselistorder i8 0, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
blk_rq_map_user_iov_11521
blk_rq_map_user_iov
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4, i64 %arg5, i64 %arg6, i64 %arg7) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge.in.reg2mem = alloca i64 %rdi.0.lcssa.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %sv_0 = alloca i32*, align 8 %3 = call i64 @FUNC(i64 %2) %4 = icmp eq i64* %arg4, null store i64 4294967274, i64* %rax.0.reg2mem br i1 %4, label LBL_15, label LBL_1 LBL_1: %5 = trunc i64 %arg5 to i32 %6 = icmp eq i32 %5, 0 %7 = icmp slt i32 %5, 0 %8 = icmp eq i1 %7, false %9 = icmp eq i1 %6, false %10 = icmp eq i1 %8, %9 store i64 4294967274, i64* %rax.0.reg2mem br i1 %10, label LBL_2, label LBL_15 LBL_2: %11 = ptrtoint i64* %arg4 to i64 %12 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg7, 4294967296 %13 = ashr exact i64 %sext, 32 %sext5 = mul i64 %arg6, 4294967296 %14 = ashr exact i64 %sext5, 32 %15 = trunc i64 %3 to i32 %16 = icmp eq i32 %15, 1 %17 = icmp sgt i32 %5, 0 store i64 %2, i64* %rdi.0.lcssa.reg2mem br i1 %17, label LBL_3, label LBL_6 LBL_3: %sext10 = mul i64 %arg5, 4294967296 %18 = ashr exact i64 %sext10, 32 store i64 0, i64* %indvars.iv.reg2mem br label LBL_4 LBL_4: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %19 = mul i64 %indvars.iv.reload, 8 %20 = add i64 %19, %11 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = call i64 @FUNC(i64 %12) %24 = and i64 %23, %22 %25 = icmp eq i64 %24, 0 br i1 %25, label LBL_5, label LBL_7 LBL_5: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %26 = icmp slt i64 %indvars.iv.next, %18 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %12, i64* %rdi.0.lcssa.reg2mem br i1 %26, label LBL_4, label LBL_6 LBL_6: %rdi.0.lcssa.reload = load i64, i64* %rdi.0.lcssa.reg2mem %27 = and i64 %14, 4294967295 %28 = and i64 %27, %rdi.0.lcssa.reload %29 = icmp eq i64 %28, 0 %30 = icmp eq i64* %arg3, null %or.cond = icmp eq i1 %30, %29 br i1 %or.cond, label LBL_8, label LBL_7 LBL_7: %31 = ptrtoint i64* %arg3 to i64 %32 = trunc i64 %13 to i32 %33 = zext i1 %16 to i64 %34 = call i64 @FUNC(i64 %12, i64 %31, i64 %11, i32 %5, i64 %33, i32 %32) store i64 %34, i64* %storemerge.in.reg2mem br label LBL_9 LBL_8: %35 = trunc i64 %13 to i32 %36 = zext i1 %16 to i64 %37 = call i64 @FUNC(i64 %12, i64 0, i64 %11, i32 %5, i64 %36, i32 %35) store i64 %37, i64* %storemerge.in.reg2mem br label LBL_9 LBL_9: %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem %storemerge = inttoptr i64 %storemerge.in.reload to i32* store i32* %storemerge, i32** %sv_0, align 8 %38 = icmp ugt i32* %storemerge, inttoptr (i64 -1001 to i32*) store i64 %storemerge.in.reload, i64* %rax.0.reg2mem br i1 %38, label LBL_15, label LBL_10 LBL_10: %39 = load i32, i32* %storemerge, align 4 %40 = trunc i64 %14 to i32 %41 = icmp eq i32 %39, %40 br i1 %41, label LBL_12, label LBL_11 LBL_11: %42 = call i64 @FUNC(i64 %storemerge.in.reload) %43 = load i32*, i32** %sv_0, align 8 %44 = ptrtoint i32* %43 to i64 %45 = call i64 @FUNC(i64 %44, i64 0) %46 = load i32*, i32** %sv_0, align 8 %47 = ptrtoint i32* %46 to i64 %48 = call i64 @FUNC(i64 %47) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_15 LBL_12: %49 = call i64 @FUNC(i64 %storemerge.in.reload, i64 1) %50 = trunc i64 %49 to i32 %51 = icmp eq i32 %50, 0 %52 = icmp eq i1 %51, false br i1 %52, label LBL_14, label LBL_13 LBL_13: %53 = trunc i64 %1 to i32 %54 = or i32 %53, 2 %55 = bitcast i64* %arg2 to i32* store i32 %54, i32* %55, align 4 br label LBL_14 LBL_14: %56 = bitcast i32** %sv_0 to i64* %57 = call i64 @FUNC(i64 %12, i64* nonnull %56) %58 = load i32*, i32** %sv_0, align 8 %59 = ptrtoint i32* %58 to i64 %60 = call i64 @FUNC(i64 %59) %61 = load i32*, i32** %sv_0, align 8 %62 = ptrtoint i32* %61 to i64 %63 = call i64 @FUNC(i64 %12, i64 %2, i64 %62) %64 = add i64 %2, 8 %65 = inttoptr i64 %64 to i64* store i64 0, i64* %65, align 8 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 %storemerge.in.reload, { 3, 2, 0, 1 } uselistorder i64 %14, { 1, 0 } uselistorder i64 %12, { 2, 3, 1, 4, 0, 5 } uselistorder i64 %11, { 1, 2, 0 } uselistorder i32 %5, { 1, 2, 0, 4, 3 } uselistorder i32** %sv_0, { 4, 3, 5, 2, 1, 0 } uselistorder i64 %2, { 2, 1, 0, 3 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 1, 3, 2 } uselistorder i64 (i64)* @bio_get, { 1, 0 } uselistorder i64 8, { 1, 0 } uselistorder i1 false, { 1, 2, 0 } uselistorder i32 0, { 1, 0, 2, 3 } uselistorder i64 4294967274, { 2, 1, 0 } uselistorder i64* %arg4, { 1, 0 } uselistorder i64* %arg3, { 1, 0 } uselistorder label LBL_15, { 3, 4, 0, 2, 1 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
qeth_get_cardname_short_8215
qeth_get_cardname_short
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, 0 %4 = ptrtoint i32* %arg1 to i64 br i1 %3, label LBL_6, label LBL_1 LBL_1: %5 = add i64 %4, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = icmp eq i32 %7, 5 store i64 ptrtoint ([13 x i8]* @gv_0 to i64), i64* %rax.0.reg2mem br i1 %8, label LBL_13, label LBL_2 LBL_2: %9 = icmp sgt i32 %7, 5 br i1 %9, label LBL_5, label LBL_3 LBL_3: store i64 ptrtoint ([13 x i8]* @gv_1 to i64), i64* %rax.0.reg2mem switch i32 %7, label LBL_5 [ i32 4, label LBL_13 i32 1, label LBL_12 i32 2, label LBL_4 ] LBL_4: store i64 ptrtoint ([15 x i8]* @gv_2 to i64), i64* %rax.0.reg2mem br label LBL_13 LBL_5: store i64 ptrtoint ([8 x i8]* @gv_3 to i64), i64* %rax.0.reg2mem br label LBL_13 LBL_6: store i64 %4, i64* @0, align 8 store i64 ptrtoint ([13 x i8]* @gv_4 to i64), i64* %rax.0.reg2mem switch i64 %4, label LBL_11 [ i64 1, label LBL_7 i64 2, label LBL_13 i64 3, label LBL_8 i64 4, label LBL_9 i64 5, label LBL_10 ] LBL_7: store i64 1, i64* @1, align 8 store i64 ptrtoint ([8 x i8]* @gv_5 to i64), i64* %rax.0.reg2mem br label LBL_13 LBL_8: store i64 ptrtoint ([4 x i8]* @gv_6 to i64), i64* %rax.0.reg2mem br label LBL_13 LBL_9: store i64 ptrtoint ([9 x i8]* @gv_7 to i64), i64* %rax.0.reg2mem br label LBL_13 LBL_10: store i64 ptrtoint ([10 x i8]* @gv_8 to i64), i64* %rax.0.reg2mem br label LBL_13 LBL_11: store i64 ptrtoint ([8 x i8]* @gv_3 to i64), i64* %rax.0.reg2mem br label LBL_13 LBL_12: store i64 ptrtoint ([14 x i8]* @gv_9 to i64), 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 %4, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 11, 10, 9, 8, 7, 2, 6, 5, 4, 3 } uselistorder i64 ptrtoint ([8 x i8]* @gv_3 to i64), { 1, 0 } uselistorder i32 5, { 1, 0 } uselistorder label LBL_13, { 1, 8, 4, 5, 6, 7, 2, 9, 10, 0, 3 } }
0
BinRealVul
io_tee_6877
io_tee
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = add i64 %0, 16 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = urem i64 %arg2, 2 %8 = icmp eq i64 %7, 0 store i64 11, i64* %storemerge.reg2mem br i1 %8, label LBL_1, label LBL_9 LBL_1: %9 = and i64 %arg2, 4294967295 %10 = and i32 %6, 2 %11 = zext i32 %10 to i64 %12 = add i64 %0, 20 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = call i64 @FUNC(i64 %0, i64 %0, i32 %14, i64 %11, i64 %9) %16 = icmp eq i64 %15, 0 %17 = icmp eq i1 %16, false %18 = add i64 %0, 24 %19 = inttoptr i64 %18 to i64* store i64 9, i64* %sv_0.1.reg2mem br i1 %17, label LBL_2, label LBL_6 LBL_2: %20 = load i64, i64* %19, align 8 %21 = icmp eq i64 %20, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %21, label LBL_4, label LBL_3 LBL_3: %22 = and i32 %6, -3 %23 = call i64 @FUNC(i64 %15, i64 %3, i64 %20, i32 %22) store i64 %23, i64* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %24 = load i32, i32* %5, align 4 %25 = and i32 %24, 2 %26 = icmp eq i32 %25, 0 %27 = icmp eq i1 %26, false store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br i1 %27, label LBL_6, label LBL_5 LBL_5: %28 = call i64 @FUNC(i64 %15) store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br label LBL_6 LBL_6: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %29 = load i64, i64* %19, align 8 %30 = icmp eq i64 %sv_0.1.reload, %29 br i1 %30, label LBL_8, label LBL_7 LBL_7: %31 = call i64 @FUNC(i64 %0) br label LBL_8 LBL_8: %32 = call i64 @FUNC(i64 %0, i64 %sv_0.1.reload) store i64 0, i64* %storemerge.reg2mem br label LBL_9 LBL_9: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %sv_0.1.reload, { 1, 0 } uselistorder i32 %6, { 1, 0 } uselistorder i64 %0, { 3, 2, 0, 4, 5, 1, 6, 7 } uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_6, { 2, 1, 0 } }
0
BinRealVul
adb_kbd_realizefn_14567
adb_kbd_realizefn
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 4198677) ret i64 %1 }
1
BinRealVul
get_scene_score_15267
get_scene_score
define i128 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i128 %sv_0.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i128 %sv_1.1.lcssa.reg2mem = alloca i128 %sv_1.16.reg2mem = alloca i128 %storemerge27.reg2mem = alloca i32 %sv_1.0.lcssa.reg2mem = alloca i128 %sv_1.04.off0.reg2mem = alloca i64 %storemerge35.reg2mem = alloca i32 %1 = load i128, i128* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = call i128 @FUNC(i128 %1, i128 %1) %4 = call i64 @FUNC(i128 %3) %5 = icmp eq i64* %arg1, null store i64 %4, i64* %sv_0.0.reg2mem br i1 %5, label LBL_15, label LBL_1 LBL_1: %6 = ptrtoint i64* %arg1 to i64 %7 = add i64 %2, 16 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = add i64 %6, 16 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = icmp eq i32 %11, %16 %18 = icmp eq i1 %17, false store i64 %4, i64* %sv_0.0.reg2mem br i1 %18, label LBL_15, label LBL_2 LBL_2: %19 = add i64 %9, 4 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = add i64 %14, 4 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = icmp eq i32 %21, %24 %26 = icmp eq i1 %25, false store i64 %4, i64* %sv_0.0.reg2mem br i1 %26, label LBL_15, label LBL_3 LBL_3: %27 = add i64 %2, 8 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = add i64 %6, 8 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = icmp eq i32 %29, %32 %34 = icmp eq i1 %33, false store i64 %4, i64* %sv_0.0.reg2mem br i1 %34, label LBL_15, label LBL_4 LBL_4: %35 = icmp eq i32 %11, 0 store i128 0, i128* %sv_1.1.lcssa.reg2mem br i1 %35, label LBL_11, label LBL_5 LBL_5: %36 = icmp sgt i32 %29, 0 %sext = mul i64 %6, 4294967296 %37 = ashr exact i64 %sext, 32 %38 = zext i32 %11 to i64 store i32 0, i32* %storemerge27.reg2mem store i128 0, i128* %sv_1.16.reg2mem br label LBL_9 LBL_6: %sv_1.04.off0.reload = load i64, i64* %sv_1.04.off0.reg2mem %storemerge35.reload = load i32, i32* %storemerge35.reg2mem %39 = add i64 %sv_1.04.off0.reload, %37 %40 = add i32 %storemerge35.reload, 8 %41 = icmp slt i32 %40, %29 store i32 %40, i32* %storemerge35.reg2mem store i64 %39, i64* %sv_1.04.off0.reg2mem br i1 %41, label LBL_6, label LBL_7 LBL_7: %42 = sext i64 %39 to i128 store i128 %42, i128* %sv_1.0.lcssa.reg2mem br label LBL_8 LBL_8: %sv_1.0.lcssa.reload = load i128, i128* %sv_1.0.lcssa.reg2mem %43 = add i32 %storemerge27.reload, 8 %44 = sext i32 %43 to i64 %45 = icmp slt i64 %44, %38 store i32 %43, i32* %storemerge27.reg2mem store i128 %sv_1.0.lcssa.reload, i128* %sv_1.16.reg2mem store i128 %sv_1.0.lcssa.reload, i128* %sv_1.1.lcssa.reg2mem br i1 %45, label LBL_9, label LBL_11 LBL_9: %sv_1.16.reload = load i128, i128* %sv_1.16.reg2mem %storemerge27.reload = load i32, i32* %storemerge27.reg2mem store i128 %sv_1.16.reload, i128* %sv_1.0.lcssa.reg2mem br i1 %36, label LBL_6.lr.ph, label LBL_8 LBL_10: %extract.t = trunc i128 %sv_1.16.reload to i64 store i32 0, i32* %storemerge35.reg2mem store i64 %extract.t, i64* %sv_1.04.off0.reg2mem br label LBL_6 LBL_11: %sv_1.1.lcssa.reload = load i128, i128* %sv_1.1.lcssa.reg2mem %46 = call i64 @FUNC() %47 = load i64, i64* %8, align 8 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = add i64 %47, 4 %51 = inttoptr i64 %50 to i32* %52 = load i32, i32* %51, align 4 %53 = mul i32 %52, %49 %54 = mul i32 %53, 2 %55 = mul i32 %53, 3 %56 = icmp ult i32 %55, %54 %57 = icmp eq i32 %55, 0 %58 = sext i32 %55 to i64 %59 = and i128 %sv_1.1.lcssa.reload, 18446744073709551615 %60 = zext i64 %58 to i128 %61 = udiv i128 %59, %60 %62 = trunc i128 %61 to i64 %63 = call i128 @FUNC(i128 %3, i128 %3) %64 = call i128 @FUNC(i64 %62) %65 = call i64 @FUNC(i128 %64) %66 = inttoptr i64 %30 to i64* %67 = load i64, i64* %66, align 8 %68 = call i128 @__asm_movsd.1(i64 %67) %69 = call i128 @__asm_movsd.1(i64 %65) %70 = call i128 @FUNC(i128 %69, i128 %68) %71 = call i128 @FUNC(i64 9223372036854775807) %72 = call i128 @FUNC(i128 %70, i128 %71) %73 = call i64 @FUNC(i128 %72) %74 = call i128 @__asm_movsd.1(i64 %73) %75 = sext i64 %65 to i128 call void @FUNC(i128 %74, i128 %75) %76 = or i1 %56, %57 br i1 %76, label LBL_13, label LBL_12 LBL_12: %77 = call i128 @__asm_movsd.1(i64 %65) store i128 %77, i128* %storemerge.reg2mem br label LBL_14 LBL_13: %78 = call i128 @__asm_movsd.1(i64 %73) store i128 %78, i128* %storemerge.reg2mem br label LBL_14 LBL_14: %storemerge.reload = load i128, i128* %storemerge.reg2mem %79 = call i128 @__asm_movsd.1(i64 4636737291354636288) %80 = call i128 @FUNC(i128 %storemerge.reload, i128 %79) %81 = call i64 @__asm_movq.2(i128 %80) %82 = call i128 @__asm_movsd.1(i64 4607182418800017408) %83 = call i128 @FUNC(i128 %82) %84 = call i128 @FUNC(i128 %79, i128 %79) %85 = call i128 @FUNC(i64 %81) %86 = call i64 @FUNC() %87 = call i64 @__asm_movq.2(i128 %85) %88 = call i128 @__asm_movsd.1(i64 %65) %89 = call i64 @FUNC(i128 %88) store i64 %89, i64* %66, align 8 %90 = call i64 @FUNC(i64 %6) store i64 %87, i64* %sv_0.0.reg2mem br label LBL_15 LBL_15: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %91 = call i64 @FUNC(i64 %2, i64 4294967295) store i64 %91, i64* %arg1, align 8 %92 = call i128 @__asm_movsd.1(i64 %sv_0.0.reload) ret i128 %92 uselistorder i128 %79, { 2, 1, 0 } uselistorder i64 %65, { 1, 0, 3, 2 } uselistorder i32 %55, { 0, 2, 1 } uselistorder i32 %53, { 1, 0 } uselistorder i64 %39, { 1, 0 } uselistorder i32 %29, { 1, 0, 2 } uselistorder i64 %6, { 1, 0, 2, 3 } uselistorder i128 %3, { 1, 0, 2 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i32* %storemerge35.reg2mem, { 2, 1, 0 } uselistorder i64* %sv_1.04.off0.reg2mem, { 2, 1, 0 } uselistorder i128* %sv_1.0.lcssa.reg2mem, { 1, 0, 2 } uselistorder i128* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 8, { 1, 0 } uselistorder i128 0, { 1, 0 } uselistorder i32 0, { 4, 1, 0, 2, 3 } uselistorder i64* %arg1, { 0, 2, 1 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_8, { 1, 0 } }
1
BinRealVul
streamNextID_9301
streamNextID
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC() %3 = icmp ugt i64 %2, %1 br i1 %3, label LBL_1, label LBL_2 LBL_1: store i64 %2, i64* %arg2, align 8 %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i64* store i64 0, i64* %5, align 8 br label LBL_3 LBL_2: store i64 %1, i64* %arg2, align 8 %6 = add i64 %1, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = add i64 %8, 1 %10 = add i64 %0, 8 %11 = inttoptr i64 %10 to i64* store i64 %9, i64* %11, align 8 br label LBL_3 LBL_3: ret i64 %0 uselistorder i64* %arg2, { 1, 0, 2 } }
0
BinRealVul
mpjpeg_read_probe_837
mpjpeg_read_probe
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 store i64 0, i64* %sv_1, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = call i64 @FUNC(i64 %0, i32 %3, i64 0, i64 0, i64 0, i64 0) %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false store i64 4294967284, i64* %storemerge.reg2mem br i1 %6, label LBL_1, label LBL_8 LBL_1: %7 = trunc i64 %0 to i8 %8 = load i32, i32* %2, align 4 %9 = icmp slt i32 %8, 2 %10 = icmp eq i8 %7, 45 %11 = icmp eq i1 %10, false %or.cond = or i1 %11, %9 store i64 0, i64* %sv_0.1.reg2mem br i1 %or.cond, label LBL_7, label LBL_2 LBL_2: %12 = add i64 %0, 1 %13 = inttoptr i64 %12 to i8* %14 = load i8, i8* %13, align 1 %15 = icmp eq i8 %14, 45 %16 = icmp eq i1 %15, false store i64 0, i64* %sv_0.1.reg2mem br i1 %16, label LBL_7, label LBL_3 LBL_3: %17 = inttoptr i64 %4 to i32* %18 = load i32, i32* %17, align 4 %19 = icmp eq i32 %18, 0 store i64 0, i64* %sv_0.1.reg2mem br i1 %19, label LBL_4, label LBL_7 LBL_4: %20 = call i64 @FUNC(i64 %4, i64* nonnull %sv_1, i64 128) %21 = trunc i64 %20 to i32 %22 = icmp slt i32 %21, 0 store i64 %20, i64* %sv_0.1.reg2mem br i1 %22, label LBL_7, label LBL_5 LBL_5: %23 = call i64 @FUNC(i64* nonnull %sv_1) %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, 0 %26 = icmp eq i1 %25, false store i64 100, i64* %sv_0.1.reg2mem br i1 %26, label LBL_6, label LBL_7 LBL_6: %27 = load i32, i32* %17, align 4 %28 = icmp eq i32 %27, 0 store i64 %23, i64* %sv_0.1.reg2mem br i1 %28, label LBL_4, label LBL_7 LBL_7: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %29 = call i64 @FUNC(i64 %4) %30 = and i64 %sv_0.1.reload, 4294967295 store i64 %30, i64* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32* %17, { 1, 0 } uselistorder i64 %4, { 1, 0, 2, 3 } uselistorder i64* %sv_0.1.reg2mem, { 0, 1, 3, 2, 4, 5, 6 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 3, 1, 2, 0, 4 } uselistorder i8 45, { 1, 0 } uselistorder i1 false, { 1, 2, 0, 3 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_7, { 0, 2, 1, 3, 5, 4 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
dlt_config_file_set_section_6854
dlt_config_file_set_section
define i64 @FUNC(i64* %arg1, i8* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 160 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = icmp slt i32 %3, 10 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_0, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_9 LBL_2: %6 = ptrtoint i8* %arg2 to i64 %7 = call i64 @FUNC(i64 %0, i64 %6) %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 1, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_1, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_9 LBL_4: %11 = sext i32 %3 to i64 %12 = mul i64 %11, 16 %13 = add i64 %12, %0 %14 = call i64* @calloc(i32 1, i32 256) %15 = ptrtoint i64* %14 to i64 %16 = inttoptr i64 %13 to i64* store i64 %15, i64* %16, align 8 %17 = icmp eq i64* %14, null %18 = icmp eq i1 %17, false br i1 %18, label LBL_6, label LBL_5 LBL_5: %19 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_2, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_9 LBL_6: %20 = call i64* @calloc(i32 1, i32 2551) %21 = ptrtoint i64* %20 to i64 %22 = add i64 %13, 8 %23 = inttoptr i64 %22 to i64* store i64 %21, i64* %23, align 8 %24 = icmp eq i64* %20, null %25 = icmp eq i1 %24, false %26 = load i64, i64* %16, align 8 br i1 %25, label LBL_8, label LBL_7 LBL_7: %27 = inttoptr i64 %26 to i64* call void @free(i64* %27) store i64 0, i64* %16, align 8 %28 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_2, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_9 LBL_8: %29 = inttoptr i64 %26 to i8* %30 = call i8* @strncpy(i8* %29, i8* %arg2, i32 255) %31 = load i32, i32* %2, align 4 %32 = add i32 %31, 1 store i32 %32, i32* %2, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %26, { 1, 0 } uselistorder i32* %2, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 2, 1 } uselistorder i64* (i32, i32)* @calloc, { 1, 0 } uselistorder i64 4294967295, { 3, 2, 1, 0, 4, 5 } uselistorder i64 (i64, i8*)* @dlt_log, { 3, 2, 1, 0 } }
0
BinRealVul
mxf_read_source_package_15611
mxf_read_source_package
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = icmp eq i32 %arg3, 18177 br i1 %4, label LBL_8, label LBL_1 LBL_1: %5 = icmp sgt i32 %arg3, 18177 store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_9, label LBL_2 LBL_2: %6 = icmp eq i32 %arg3, 17409 br i1 %6, label LBL_7, label LBL_3 LBL_3: %7 = icmp eq i32 %arg3, 17411 %8 = icmp eq i1 %7, false store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_9, label LBL_4 LBL_4: %9 = trunc i64 %1 to i32 %10 = call i64 @FUNC(i64 %2) %11 = trunc i64 %10 to i32 %12 = bitcast i64* %arg1 to i32* store i32 %11, i32* %12, align 4 %13 = icmp ult i32 %9, 268435455 store i64 4294967295, i64* %rax.0.reg2mem br i1 %13, label LBL_5, label LBL_9 LBL_5: %14 = mul i64 %1, 16 %15 = and i64 %14, 68719476720 %16 = call i64 @FUNC(i64 %15) %17 = add i64 %3, 8 %18 = inttoptr i64 %17 to i64* store i64 %16, i64* %18, align 8 %19 = icmp eq i64 %16, 0 %20 = icmp eq i1 %19, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %20, label LBL_6, label LBL_9 LBL_6: %21 = bitcast i64* %rdi to i32* %22 = call i64 @FUNC(i64 %2, i64 4) %23 = load i32, i32* %21, align 8 %24 = zext i32 %23 to i64 %25 = mul i64 %24, 16 %26 = load i64, i64* %18, align 8 %27 = call i64 @FUNC(i64 %2, i64 %26, i64 %25) store i64 0, i64* %rax.0.reg2mem br label LBL_9 LBL_7: %28 = call i64 @FUNC(i64 %2, i64 16) %29 = add i64 %3, 16 %30 = call i64 @FUNC(i64 %2, i64 %29, i64 16) store i64 0, i64* %rax.0.reg2mem br label LBL_9 LBL_8: %31 = add i64 %3, 32 %32 = call i64 @FUNC(i64 %2, i64 %31, i64 16) store i64 0, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %3, { 2, 1, 0 } uselistorder i64 %2, { 5, 4, 3, 0, 1, 2 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 6, 7, 2, 1 } uselistorder i64 (i64, i64, i64)* @get_buffer, { 2, 1, 0 } uselistorder i64 (i64, i64)* @url_fskip, { 1, 0 } uselistorder i64 16, { 2, 3, 5, 4, 0, 1 } uselistorder i64 0, { 4, 3, 2, 7, 1, 0, 5, 6 } uselistorder i32 18177, { 1, 0 } uselistorder label LBL_9, { 4, 3, 2, 5, 6, 1, 0 } }
1
BinRealVul
h263_decode_gob_header_14610
h263_decode_gob_header
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.pre-phi3.reg2mem = alloca i32* %storemerge1.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 32 %4 = call i64 @FUNC(i64 %3, i64 16) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %6, label LBL_1, label LBL_13 LBL_1: %7 = trunc i64 %1 to i32 %8 = call i64 @FUNC(i64 %3, i64 16) %9 = call i64 @FUNC(i64 %3) %10 = trunc i64 %9 to i32 %11 = icmp sgt i32 %10, 13 store i32 %10, i32* %storemerge1.reg2mem store i64 4294967295, i64* %rax.0.reg2mem br i1 %11, label LBL_2, label LBL_13 LBL_2: %12 = call i64 @FUNC(i64 %3) %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_3 LBL_3: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem %16 = add nsw i32 %storemerge1.reload, -1 %17 = icmp sgt i32 %16, 13 store i32 %16, i32* %storemerge1.reg2mem store i64 4294967295, i64* %rax.0.reg2mem br i1 %17, label LBL_2, label LBL_13 LBL_4: %18 = add i64 %2, 36 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = icmp eq i32 %20, 0 br i1 %21, label LBL_10, label LBL_5 LBL_5: %22 = add i64 %2, 24 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = call i64 @FUNC(i64 %24, i64 %3, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0)) %26 = trunc i64 %25 to i32 %27 = icmp eq i32 %26, 0 %28 = icmp eq i1 %27, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %28, label LBL_6, label LBL_13 LBL_6: %29 = call i64 @FUNC(i64 %2) %30 = icmp slt i32 %7, 1584 br i1 %30, label LBL_8, label LBL_7 LBL_7: %31 = load i64, i64* %23, align 8 %32 = call i64 @FUNC(i64 %31, i64 %3, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_1, i64 0, i64 0)) %33 = trunc i64 %32 to i32 %34 = icmp eq i32 %33, 0 %35 = icmp eq i1 %34, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %35, label LBL_8, label LBL_13 LBL_8: %36 = call i64 @FUNC(i64 %3, i64 5) %37 = trunc i64 %36 to i32 %38 = add i64 %2, 16 %39 = inttoptr i64 %38 to i32* store i32 %37, i32* %39, align 4 %40 = load i64, i64* %23, align 8 %41 = call i64 @FUNC(i64 %40, i64 %3, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0)) %42 = trunc i64 %41 to i32 %43 = icmp eq i32 %42, 0 %44 = icmp eq i1 %43, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %44, label LBL_9, label LBL_13 LBL_9: %45 = call i64 @FUNC(i64 %3, i64 2) %.pre = add i64 %2, 8 %.pre2 = inttoptr i64 %.pre to i32* store i32* %.pre2, i32** %.pre-phi3.reg2mem br label LBL_11 LBL_10: %46 = call i64 @FUNC(i64 %3, i64 5) %47 = add i64 %2, 4 %48 = inttoptr i64 %47 to i32* store i32 0, i32* %48, align 4 %49 = add i64 %2, 12 %50 = inttoptr i64 %49 to i32* %51 = load i32, i32* %50, align 4 %52 = trunc i64 %46 to i32 %53 = mul i32 %51, %52 %54 = add i64 %2, 8 %55 = inttoptr i64 %54 to i32* store i32 %53, i32* %55, align 4 %56 = call i64 @FUNC(i64 %3, i64 2) %57 = call i64 @FUNC(i64 %3, i64 5) %58 = trunc i64 %57 to i32 %59 = add i64 %2, 16 %60 = inttoptr i64 %59 to i32* store i32 %58, i32* %60, align 4 store i32* %55, i32** %.pre-phi3.reg2mem br label LBL_11 LBL_11: %.pre-phi3.reload = load i32*, i32** %.pre-phi3.reg2mem %61 = load i32, i32* %.pre-phi3.reload, align 4 %62 = add i64 %2, 20 %63 = inttoptr i64 %62 to i32* %64 = load i32, i32* %63, align 4 %65 = icmp ult i32 %61, %64 store i64 4294967295, i64* %rax.0.reg2mem br i1 %65, label LBL_12, label LBL_13 LBL_12: %66 = add i64 %2, 16 %67 = inttoptr i64 %66 to i32* %68 = load i32, i32* %67, align 4 %69 = icmp eq i32 %68, 0 %70 = icmp eq i1 %69, false %. = select i1 %70, i64 0, i64 4294967295 store i64 %., 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* %23, { 1, 0, 2 } uselistorder i64 %3, { 4, 5, 6, 1, 2, 3, 0, 7, 8, 9, 10, 11 } uselistorder i64 %2, { 4, 3, 5, 7, 6, 8, 0, 1, 2, 10, 9, 11 } uselistorder i32* %storemerge1.reg2mem, { 2, 0, 1 } uselistorder i32** %.pre-phi3.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 5, 6, 7, 1, 2, 8 } uselistorder i64 20, { 1, 0 } uselistorder i64 8, { 1, 0 } uselistorder i64 (i64, i64)* @get_bits, { 2, 1, 0 } uselistorder i64 (i64, i64, i8*)* @check_marker, { 2, 1, 0 } uselistorder i32 13, { 1, 0 } uselistorder i64 (i64, i64)* @skip_bits, { 2, 1, 0 } uselistorder i64 16, { 2, 3, 4, 0, 1 } uselistorder label LBL_13, { 2, 3, 4, 5, 6, 0, 1, 7 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
diff_flush_17520
diff_flush
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %.lcssa.reg2mem = alloca i64 %storemerge8.reg2mem = alloca i32 %.reg2mem17 = alloca i64 %.reg2mem15 = alloca i64 %storemerge59.reg2mem = alloca i32 %.reg2mem = alloca i64 %0 = trunc i64 %arg2 to i32 %1 = icmp eq i32 %0, 0 br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = call i64 @FUNC() br label LBL_2 LBL_2: %3 = load i32, i32* @gv_0, align 4 %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_3, label LBL_4 LBL_3: %5 = load i64, i64* @gv_1, align 8 store i64 %5, i64* %.lcssa.reg2mem br label LBL_16 LBL_4: %6 = trunc i64 %arg1 to i32 %7 = icmp eq i32 %6, 3 %8 = icmp eq i1 %7, false %spec.select = select i1 %8, i64 10, i64 0 %spec.select6 = select i1 %8, i32 9, i32 0 %9 = icmp eq i32 %6, 0 %10 = icmp eq i32 %6, 1 %11 = icmp sgt i32 %6, 0 %12 = or i32 %6, 1 %13 = icmp eq i32 %12, 3 %or.cond = icmp eq i1 %11, %13 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge59.reg2mem br label LBL_5 LBL_5: %storemerge59.reload = load i32, i32* %storemerge59.reg2mem br i1 %9, label LBL_13, label LBL_6 LBL_6: %.reload = load i64, i64* %.reg2mem %14 = load i64, i64* @gv_1, align 8 %15 = mul i64 %.reload, 8 %16 = add i64 %14, %15 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = icmp eq i32 %20, 88 br i1 %21, label LBL_13, label LBL_7 LBL_7: %22 = icmp eq i32 %20, 0 %23 = icmp eq i1 %22, false br i1 %23, label LBL_9, label LBL_8 LBL_8: %24 = call i64 @FUNC(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_2, i64 0, i64 0)) unreachable LBL_9: br i1 %10, label LBL_11, label LBL_10 LBL_10: br i1 %or.cond, label LBL_12, label LBL_13 LBL_11: %25 = call i64 @FUNC(i64 %18) br label LBL_13 LBL_12: %26 = call i64 @FUNC(i64 %18, i64 %spec.select, i32 %spec.select6) br label LBL_13 LBL_13: %27 = add i32 %storemerge59.reload, 1 %28 = load i32, i32* @gv_0, align 4 %29 = zext i32 %28 to i64 %30 = sext i32 %27 to i64 %31 = icmp slt i64 %30, %29 store i64 %30, i64* %.reg2mem store i32 %27, i32* %storemerge59.reg2mem br i1 %31, label LBL_5, label LBL_14 LBL_14: %phitmp = icmp eq i32 %28, 0 %32 = load i64, i64* @gv_1, align 8 store i64 %32, i64* %.reg2mem15 store i64 0, i64* %.reg2mem17 store i32 0, i32* %storemerge8.reg2mem store i64 %32, i64* %.lcssa.reg2mem br i1 %phitmp, label LBL_16, label LBL_15 LBL_15: %storemerge8.reload = load i32, i32* %storemerge8.reg2mem %.reload18 = load i64, i64* %.reg2mem17 %.reload16 = load i64, i64* %.reg2mem15 %33 = mul i64 %.reload18, 8 %34 = add i64 %33, %.reload16 %35 = inttoptr i64 %34 to i64* %36 = load i64, i64* %35, align 8 %37 = add i64 %36, 8 %38 = inttoptr i64 %37 to i64* %39 = load i64, i64* %38, align 8 %40 = call i64 @FUNC(i64 %39) %41 = add i64 %36, 16 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = call i64 @FUNC(i64 %43) %45 = inttoptr i64 %36 to i64* call void @free(i64* %45) %46 = add i32 %storemerge8.reload, 1 %47 = load i32, i32* @gv_0, align 4 %48 = zext i32 %47 to i64 %49 = sext i32 %46 to i64 %50 = icmp slt i64 %49, %48 %51 = load i64, i64* @gv_1, align 8 store i64 %51, i64* %.reg2mem15 store i64 %49, i64* %.reg2mem17 store i32 %46, i32* %storemerge8.reg2mem store i64 %51, i64* %.lcssa.reg2mem br i1 %50, label LBL_15, label LBL_16 LBL_16: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %52 = inttoptr i64 %.lcssa.reload to i64* call void @free(i64* %52) store i64 0, i64* @gv_1, align 8 store i32 0, i32* inttoptr (i64 add (i64 ptrtoint (i64* @gv_1 to i64), i64 12) to i32*), align 4 %53 = load i32, i32* @gv_3, align 4 store i32 %53, i32* @gv_0, align 4 ret i64 ptrtoint (i64* @gv_1 to i64) uselistorder i32 %6, { 3, 0, 2, 1, 4 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge59.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem15, { 2, 0, 1 } uselistorder i64* %.reg2mem17, { 2, 0, 1 } uselistorder i32* %storemerge8.reg2mem, { 2, 0, 1 } uselistorder i64* %.lcssa.reg2mem, { 0, 1, 3, 2 } uselistorder i64 ptrtoint (i64* @gv_1 to i64), { 1, 0 } uselistorder i64 (i64)* @diff_free_filespec_data, { 1, 0 } uselistorder i64 8, { 2, 0, 1 } uselistorder i32 1, { 13, 14, 10, 11, 9, 8, 7, 6, 5, 4, 12, 3, 2, 1, 0 } uselistorder label LBL_16, { 0, 2, 1 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_13, { 3, 4, 0, 2, 1 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
pi_next_cprl_7770
pi_next_cprl
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge13.reg2mem = alloca i64 %.reg2mem59 = alloca i32 %sv_0.5.reg2mem = alloca i32* %.reg2mem57 = alloca i32 %sv_0.4.reg2mem = alloca i32* %.reg2mem55 = alloca i32 %sv_0.3.reg2mem = alloca i32* %.pre-phi28.reg2mem = alloca i64 %.reg2mem53 = alloca i32 %sv_0.2.reg2mem = alloca i32* %.pre-phi38.reg2mem = alloca i64 %.pre-phi40.reg2mem = alloca i32* %sv_0.1.reg2mem = alloca i32* %.pre-phi29.reg2mem = alloca i64 %.reg2mem51 = alloca i32 %sv_0.0.reg2mem = alloca i32* %.pre-phi30.reg2mem = alloca i64 %.pre-phi32.reg2mem = alloca i32* %.reg2mem49 = alloca i32 %.pre-phi36.reg2mem = alloca i32* %storemerge3.reg2mem = alloca i64 %storemerge4.reg2mem = alloca i64 %storemerge25.reg2mem = alloca i32 %.reg2mem47 = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = add i64 %2, 128 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = add i64 %2, 4 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = sext i32 %11 to i64 %13 = mul nsw i64 %12, 24 %14 = add i64 %13, %8 %15 = inttoptr i64 %14 to i32* %.pre = add i64 %2, 32 %.pre31 = inttoptr i64 %.pre to i32* %.pre46 = load i32, i32* %.pre31, align 4 store i32 %.pre46, i32* %.reg2mem49 store i32* %.pre31, i32** %.pre-phi32.reg2mem store i64 %.pre, i64* %.pre-phi30.reg2mem store i32* %15, i32** %sv_0.0.reg2mem br label LBL_30 LBL_2: %16 = bitcast i64* %arg1 to i32* store i32 0, i32* %16, align 4 %17 = add i64 %2, 68 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = add i64 %2, 4 %21 = inttoptr i64 %20 to i32* store i32 %19, i32* %21, align 4 store i32 %19, i32* %.reg2mem59 br label LBL_40 LBL_3: %22 = add i64 %2, 128 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = sext i32 %.reload60 to i64 %26 = mul nsw i64 %25, 24 %27 = add i64 %24, %26 %28 = inttoptr i64 %27 to i32* %29 = add i64 %2, 8 %30 = inttoptr i64 %29 to i32* store i32 0, i32* %30, align 4 %31 = add i64 %2, 12 %32 = inttoptr i64 %31 to i32* store i32 0, i32* %32, align 4 %33 = load i32, i32* %28, align 4 %34 = icmp eq i32 %33, 0 br i1 %34, label LBL_10, label LBL_4 LBL_4: %35 = add i64 %27, 16 %36 = inttoptr i64 %35 to i64* %37 = add i64 %27, 4 %38 = inttoptr i64 %37 to i32* %39 = add i64 %27, 8 %40 = inttoptr i64 %39 to i32* store i64 0, i64* %.reg2mem store i32 %33, i32* %.reg2mem47 store i32 0, i32* %storemerge25.reg2mem br label LBL_5 LBL_5: %storemerge25.reload = load i32, i32* %storemerge25.reg2mem %.reload48 = load i32, i32* %.reg2mem47 %.reload = load i64, i64* %.reg2mem %41 = load i64, i64* %36, align 8 %42 = mul i64 %.reload, 16 %43 = add i64 %41, %42 %44 = inttoptr i64 %43 to i32* %45 = load i32, i32* %38, align 4 %46 = load i32, i32* %44, align 4 %47 = xor i32 %storemerge25.reload, 31 %48 = add i32 %47, %.reload48 %49 = add i32 %46, %48 %50 = urem i32 %49, 32 %51 = shl i32 %45, %50 %52 = load i32, i32* %40, align 4 %53 = add i64 %43, 4 %54 = inttoptr i64 %53 to i32* %55 = load i32, i32* %54, align 4 %56 = load i32, i32* %30, align 4 %57 = icmp eq i32 %56, 0 %58 = zext i32 %51 to i64 store i64 %58, i64* %storemerge4.reg2mem br i1 %57, label LBL_7, label LBL_6 LBL_6: %59 = zext i32 %56 to i64 %60 = call i64 @FUNC(i64 %59, i64 %58) store i64 %60, i64* %storemerge4.reg2mem br label LBL_7 LBL_7: %61 = add i32 %55, %48 %62 = urem i32 %61, 32 %63 = shl i32 %52, %62 %storemerge4.reload = load i64, i64* %storemerge4.reg2mem %64 = trunc i64 %storemerge4.reload to i32 store i32 %64, i32* %30, align 4 %65 = load i32, i32* %32, align 4 %66 = icmp eq i32 %65, 0 %67 = zext i32 %63 to i64 store i64 %67, i64* %storemerge3.reg2mem br i1 %66, label LBL_9, label LBL_8 LBL_8: %68 = zext i32 %65 to i64 %69 = call i64 @FUNC(i64 %68, i64 %67) store i64 %69, i64* %storemerge3.reg2mem br label LBL_9 LBL_9: %storemerge3.reload = load i64, i64* %storemerge3.reg2mem %70 = trunc i64 %storemerge3.reload to i32 store i32 %70, i32* %32, align 4 %71 = add i32 %storemerge25.reload, 1 %72 = load i32, i32* %28, align 4 %73 = zext i32 %72 to i64 %74 = sext i32 %71 to i64 %75 = icmp slt i64 %74, %73 store i64 %74, i64* %.reg2mem store i32 %72, i32* %.reg2mem47 store i32 %71, i32* %storemerge25.reg2mem br i1 %75, label LBL_5, label LBL_10 LBL_10: %76 = add i64 %2, 64 %77 = inttoptr i64 %76 to i32* %78 = load i32, i32* %77, align 4 %79 = icmp eq i32 %78, 0 %80 = icmp eq i1 %79, false br i1 %80, label LBL_10.LBL_13_crit_edge, label LBL_12 LBL_11: %.pre33 = add i64 %2, 76 %.pre35 = inttoptr i64 %.pre33 to i32* store i32* %.pre35, i32** %.pre-phi36.reg2mem br label LBL_13 LBL_12: %81 = add i64 %2, 108 %82 = inttoptr i64 %81 to i32* %83 = load i32, i32* %82, align 4 %84 = add i64 %2, 76 %85 = inttoptr i64 %84 to i32* store i32 %83, i32* %85, align 4 %86 = add i64 %2, 112 %87 = inttoptr i64 %86 to i32* %88 = load i32, i32* %87, align 4 %89 = add i64 %2, 80 %90 = inttoptr i64 %89 to i32* store i32 %88, i32* %90, align 4 %91 = add i64 %2, 116 %92 = inttoptr i64 %91 to i32* %93 = load i32, i32* %92, align 4 %94 = add i64 %2, 84 %95 = inttoptr i64 %94 to i32* store i32 %93, i32* %95, align 4 %96 = add i64 %2, 120 %97 = inttoptr i64 %96 to i32* %98 = load i32, i32* %97, align 4 %99 = add i64 %2, 88 %100 = inttoptr i64 %99 to i32* store i32 %98, i32* %100, align 4 store i32* %85, i32** %.pre-phi36.reg2mem br label LBL_13 LBL_13: %.pre-phi36.reload = load i32*, i32** %.pre-phi36.reg2mem %101 = load i32, i32* %.pre-phi36.reload, align 4 %102 = add i64 %2, 16 %103 = inttoptr i64 %102 to i32* store i32 %101, i32* %103, align 4 store i32 %101, i32* %.reg2mem57 store i32* %28, i32** %sv_0.5.reg2mem br label LBL_38 LBL_14: %sv_0.5.reload = load i32*, i32** %sv_0.5.reg2mem %104 = add i64 %2, 80 %105 = inttoptr i64 %104 to i32* %106 = load i32, i32* %105, align 4 %107 = add i64 %2, 20 %108 = inttoptr i64 %107 to i32* store i32 %106, i32* %108, align 4 store i32 %106, i32* %.reg2mem55 store i32* %sv_0.5.reload, i32** %sv_0.4.reg2mem br label LBL_36 LBL_15: %109 = add i64 %2, 92 %110 = inttoptr i64 %109 to i32* %111 = load i32, i32* %110, align 4 %112 = add i64 %2, 24 %113 = inttoptr i64 %112 to i32* store i32 %111, i32* %113, align 4 store i32 %111, i32* %.reg2mem53 store i64 %112, i64* %.pre-phi28.reg2mem store i32* %sv_0.4.reload, i32** %sv_0.3.reg2mem br label LBL_34 LBL_16: %.pre-phi28.reload = load i64, i64* %.pre-phi28.reg2mem %114 = inttoptr i64 %.pre-phi28.reload to i32* %115 = ptrtoint i32* %sv_0.3.reload to i64 %116 = add i64 %115, 16 %117 = inttoptr i64 %116 to i64* %118 = load i64, i64* %117, align 8 %119 = load i32, i32* %114, align 4 %120 = sext i32 %119 to i64 %121 = mul i64 %120, 16 %122 = add i64 %121, %118 %123 = inttoptr i64 %122 to i32* %124 = load i32, i32* %sv_0.3.reload, align 4 %125 = sub i32 0, %119 %126 = sub i32 %125, 1 %127 = add i32 %124, %126 %128 = add i64 %115, 4 %129 = inttoptr i64 %128 to i32* %130 = load i32, i32* %129, align 4 %131 = urem i32 %127, 32 %132 = shl i32 %130, %131 %rdx.2 = zext i32 %132 to i64 %133 = add i64 %2, 112 %134 = inttoptr i64 %133 to i32* %135 = load i32, i32* %134, align 4 %136 = zext i32 %135 to i64 %137 = call i64 @FUNC(i64 %136, i64 %rdx.2) %138 = add i64 %115, 8 %139 = inttoptr i64 %138 to i32* %140 = load i32, i32* %139, align 4 %141 = shl i32 %140, %131 %rdx.3 = zext i32 %141 to i64 %142 = add i64 %2, 108 %143 = inttoptr i64 %142 to i32* %144 = load i32, i32* %143, align 4 %145 = zext i32 %144 to i64 %146 = call i64 @FUNC(i64 %145, i64 %rdx.3) %147 = load i32, i32* %129, align 4 %148 = shl i32 %147, %131 %rdx.4 = zext i32 %148 to i64 %149 = add i64 %2, 120 %150 = inttoptr i64 %149 to i32* %151 = load i32, i32* %150, align 4 %152 = zext i32 %151 to i64 %153 = call i64 @FUNC(i64 %152, i64 %rdx.4) %154 = load i32, i32* %139, align 4 %155 = shl i32 %154, %131 %rdx.5 = zext i32 %155 to i64 %156 = add i64 %2, 116 %157 = inttoptr i64 %156 to i32* %158 = load i32, i32* %157, align 4 %159 = zext i32 %158 to i64 %160 = call i64 @FUNC(i64 %159, i64 %rdx.5) %161 = load i32, i32* %123, align 4 %162 = add i32 %161, %127 %163 = add i64 %122, 4 %164 = inttoptr i64 %163 to i32* %165 = load i32, i32* %164, align 4 %166 = icmp sgt i32 %162, 30 store i32* %114, i32** %.pre-phi40.reg2mem store i64 %.pre-phi28.reload, i64* %.pre-phi38.reg2mem store i32* %sv_0.3.reload, i32** %sv_0.2.reg2mem br i1 %166, label LBL_33, label LBL_17 LBL_17: %167 = add i32 %165, %127 %168 = load i32, i32* %129, align 4 %169 = urem i32 %162, 32 %170 = shl i32 %168, %169 %171 = ashr i32 %170, %169 %172 = icmp eq i32 %168, %171 %173 = icmp eq i1 %172, false %174 = icmp sgt i32 %167, 30 %or.cond = or i1 %174, %173 store i32* %114, i32** %.pre-phi40.reg2mem store i64 %.pre-phi28.reload, i64* %.pre-phi38.reg2mem store i32* %sv_0.3.reload, i32** %sv_0.2.reg2mem br i1 %or.cond, label LBL_33, label LBL_18 LBL_18: %175 = load i32, i32* %139, align 4 %176 = urem i32 %167, 32 %177 = shl i32 %175, %176 %178 = ashr i32 %177, %176 %179 = icmp eq i32 %178, %175 %180 = icmp eq i1 %179, false store i32* %114, i32** %.pre-phi40.reg2mem store i64 %.pre-phi28.reload, i64* %.pre-phi38.reg2mem store i32* %sv_0.3.reload, i32** %sv_0.2.reg2mem br i1 %180, label LBL_33, label LBL_19 LBL_19: %181 = icmp eq i32 %131, 0 %182 = trunc i64 %146 to i32 %183 = add i64 %2, 16 %184 = inttoptr i64 %183 to i32* %185 = load i32, i32* %184, align 4 %186 = zext i32 %185 to i64 %rsi.0 = zext i32 %177 to i64 %187 = ashr i32 %185, 31 %188 = zext i32 %187 to i64 %189 = mul i64 %188, 4294967296 %190 = or i64 %189, %186 %191 = srem i64 %190, %rsi.0 %192 = trunc i64 %191 to i32 %193 = icmp eq i32 %192, 0 br i1 %193, label LBL_22, label LBL_20 LBL_20: %194 = load i32, i32* %143, align 4 %195 = icmp eq i32 %185, %194 %196 = icmp eq i1 %195, false store i32* %114, i32** %.pre-phi40.reg2mem store i64 %.pre-phi28.reload, i64* %.pre-phi38.reg2mem store i32* %sv_0.3.reload, i32** %sv_0.2.reg2mem br i1 %196, label LBL_33, label LBL_21 LBL_21: %197 = and i64 %146, 4294967295 %198 = shl i32 %182, %131 %199 = zext i32 %198 to i64 %rdx.10 = select i1 %181, i64 %197, i64 %199 %200 = shl i32 1, %176 %storemerge10 = zext i32 %200 to i64 %201 = trunc i64 %rdx.10 to i32 %202 = ashr i32 %201, 31 %203 = zext i32 %202 to i64 %204 = mul i64 %203, 4294967296 %205 = or i64 %204, %rdx.10 %206 = srem i64 %205, %storemerge10 %207 = trunc i64 %206 to i32 %208 = icmp eq i32 %207, 0 store i32* %114, i32** %.pre-phi40.reg2mem store i64 %.pre-phi28.reload, i64* %.pre-phi38.reg2mem store i32* %sv_0.3.reload, i32** %sv_0.2.reg2mem br i1 %208, label LBL_33, label LBL_22 LBL_22: %209 = trunc i64 %137 to i32 %210 = add i64 %2, 20 %211 = inttoptr i64 %210 to i32* %212 = load i32, i32* %211, align 4 %213 = zext i32 %212 to i64 %rsi.1 = zext i32 %170 to i64 %214 = ashr i32 %212, 31 %215 = zext i32 %214 to i64 %216 = mul i64 %215, 4294967296 %217 = or i64 %216, %213 %218 = srem i64 %217, %rsi.1 %219 = trunc i64 %218 to i32 %220 = icmp eq i32 %219, 0 br i1 %220, label LBL_25, label LBL_23 LBL_23: %221 = load i32, i32* %134, align 4 %222 = icmp eq i32 %212, %221 %223 = icmp eq i1 %222, false store i32* %114, i32** %.pre-phi40.reg2mem store i64 %.pre-phi28.reload, i64* %.pre-phi38.reg2mem store i32* %sv_0.3.reload, i32** %sv_0.2.reg2mem br i1 %223, label LBL_33, label LBL_24 LBL_24: %224 = and i64 %137, 4294967295 %225 = shl i32 %209, %131 %226 = zext i32 %225 to i64 %rdx.11 = select i1 %181, i64 %224, i64 %226 %227 = shl i32 1, %169 %storemerge12 = zext i32 %227 to i64 %228 = trunc i64 %rdx.11 to i32 %229 = ashr i32 %228, 31 %230 = zext i32 %229 to i64 %231 = mul i64 %230, 4294967296 %232 = or i64 %231, %rdx.11 %233 = srem i64 %232, %storemerge12 %234 = trunc i64 %233 to i32 %235 = icmp eq i32 %234, 0 store i32* %114, i32** %.pre-phi40.reg2mem store i64 %.pre-phi28.reload, i64* %.pre-phi38.reg2mem store i32* %sv_0.3.reload, i32** %sv_0.2.reg2mem br i1 %235, label LBL_33, label LBL_25 LBL_25: %236 = add i64 %122, 8 %237 = inttoptr i64 %236 to i32* %238 = load i32, i32* %237, align 4 %239 = icmp eq i32 %238, 0 store i32* %114, i32** %.pre-phi40.reg2mem store i64 %.pre-phi28.reload, i64* %.pre-phi38.reg2mem store i32* %sv_0.3.reload, i32** %sv_0.2.reg2mem br i1 %239, label LBL_33, label LBL_26 LBL_26: %240 = trunc i64 %153 to i32 %241 = trunc i64 %160 to i32 %242 = add i64 %122, 12 %243 = inttoptr i64 %242 to i32* %244 = load i32, i32* %243, align 4 %245 = icmp eq i32 %244, 0 %246 = icmp eq i32 %209, %240 %or.cond20 = or i1 %246, %245 %247 = icmp eq i32 %182, %241 %or.cond21 = or i1 %247, %or.cond20 store i32* %114, i32** %.pre-phi40.reg2mem store i64 %.pre-phi28.reload, i64* %.pre-phi38.reg2mem store i32* %sv_0.3.reload, i32** %sv_0.2.reg2mem br i1 %or.cond21, label LBL_33, label LBL_27 LBL_27: %248 = zext i32 %161 to i64 %249 = shl i32 %168, %131 %rdx.12 = zext i32 %249 to i64 %250 = call i64 @FUNC(i64 %213, i64 %rdx.12) %251 = and i64 %250, 4294967295 %252 = call i64 @FUNC(i64 %251, i64 %248) %253 = trunc i64 %252 to i32 %254 = load i32, i32* %123, align 4 %255 = zext i32 %254 to i64 %256 = and i64 %137, 4294967295 %257 = call i64 @FUNC(i64 %256, i64 %255) %258 = trunc i64 %257 to i32 %259 = sub i32 %253, %258 %260 = load i32, i32* %164, align 4 %261 = zext i32 %260 to i64 %262 = load i32, i32* %139, align 4 %263 = shl i32 %262, %131 %rdx.13 = zext i32 %263 to i64 %264 = load i32, i32* %184, align 4 %265 = zext i32 %264 to i64 %266 = call i64 @FUNC(i64 %265, i64 %rdx.13) %267 = and i64 %266, 4294967295 %268 = call i64 @FUNC(i64 %267, i64 %261) %269 = load i32, i32* %164, align 4 %270 = zext i32 %269 to i64 %271 = and i64 %146, 4294967295 %272 = call i64 @FUNC(i64 %271, i64 %270) %273 = sub i64 %268, %272 %274 = load i32, i32* %237, align 4 %275 = trunc i64 %273 to i32 %276 = mul i32 %274, %275 %277 = add i32 %259, %276 %278 = add i64 %2, 28 %279 = inttoptr i64 %278 to i32* store i32 %277, i32* %279, align 4 %280 = add i64 %2, 100 %281 = inttoptr i64 %280 to i32* %282 = load i32, i32* %281, align 4 %283 = add i64 %2, 32 %284 = inttoptr i64 %283 to i32* store i32 %282, i32* %284, align 4 store i32 %282, i32* %.reg2mem51 store i64 %283, i64* %.pre-phi29.reg2mem store i32* %sv_0.3.reload, i32** %sv_0.1.reg2mem br label LBL_31 LBL_28: %.pre-phi29.reload = load i64, i64* %.pre-phi29.reg2mem %285 = inttoptr i64 %.pre-phi29.reload to i32* %286 = add i64 %2, 36 %287 = inttoptr i64 %286 to i32* %288 = load i32, i32* %287, align 4 %289 = mul i32 %288, %.reload52 %290 = add i64 %2, 24 %291 = inttoptr i64 %290 to i32* %292 = load i32, i32* %291, align 4 %293 = add i64 %2, 40 %294 = inttoptr i64 %293 to i32* %295 = load i32, i32* %294, align 4 %296 = mul i32 %295, %292 %297 = add i32 %296, %289 %298 = add i64 %2, 4 %299 = inttoptr i64 %298 to i32* %300 = load i32, i32* %299, align 4 %301 = add i64 %2, 44 %302 = inttoptr i64 %301 to i32* %303 = load i32, i32* %302, align 4 %304 = mul i32 %303, %300 %305 = add i32 %297, %304 %306 = add i64 %2, 28 %307 = inttoptr i64 %306 to i32* %308 = load i32, i32* %307, align 4 %309 = add i64 %2, 48 %310 = inttoptr i64 %309 to i32* %311 = load i32, i32* %310, align 4 %312 = mul i32 %311, %308 %313 = add i32 %305, %312 %314 = sext i32 %313 to i64 %315 = add i64 %2, 56 %316 = inttoptr i64 %315 to i64* %317 = load i64, i64* %316, align 8 %318 = mul i64 %314, 4 %319 = add i64 %318, %317 %320 = inttoptr i64 %319 to i32* %321 = load i32, i32* %320, align 4 %322 = icmp eq i32 %321, 0 %323 = icmp eq i1 %322, false store i32 %.reload52, i32* %.reg2mem49 store i32* %285, i32** %.pre-phi32.reg2mem store i64 %.pre-phi29.reload, i64* %.pre-phi30.reg2mem store i32* %sv_0.1.reload, i32** %sv_0.0.reg2mem br i1 %323, label LBL_30, label LBL_29 LBL_29: store i32 1, i32* %320, align 4 store i64 1, i64* %storemerge13.reg2mem br label LBL_41 LBL_30: %sv_0.0.reload = load i32*, i32** %sv_0.0.reg2mem %.pre-phi30.reload = load i64, i64* %.pre-phi30.reg2mem %.pre-phi32.reload = load i32*, i32** %.pre-phi32.reg2mem %.reload50 = load i32, i32* %.reg2mem49 %324 = add i32 %.reload50, 1 store i32 %324, i32* %.pre-phi32.reload, align 4 store i32 %324, i32* %.reg2mem51 store i64 %.pre-phi30.reload, i64* %.pre-phi29.reg2mem store i32* %sv_0.0.reload, i32** %sv_0.1.reg2mem br label LBL_31 LBL_31: %sv_0.1.reload = load i32*, i32** %sv_0.1.reg2mem %.reload52 = load i32, i32* %.reg2mem51 %325 = add i64 %2, 104 %326 = inttoptr i64 %325 to i32* %327 = load i32, i32* %326, align 4 %328 = icmp ult i32 %.reload52, %327 br i1 %328, label LBL_28, label LBL_31.LBL_33_crit_edge LBL_32: %.pre37 = add i64 %2, 24 %.pre39 = inttoptr i64 %.pre37 to i32* store i32* %.pre39, i32** %.pre-phi40.reg2mem store i64 %.pre37, i64* %.pre-phi38.reg2mem store i32* %sv_0.1.reload, i32** %sv_0.2.reg2mem br label LBL_33 LBL_33: %sv_0.2.reload = load i32*, i32** %sv_0.2.reg2mem %.pre-phi38.reload = load i64, i64* %.pre-phi38.reg2mem %.pre-phi40.reload = load i32*, i32** %.pre-phi40.reg2mem %329 = load i32, i32* %.pre-phi40.reload, align 4 %330 = add i32 %329, 1 store i32 %330, i32* %.pre-phi40.reload, align 4 store i32 %330, i32* %.reg2mem53 store i64 %.pre-phi38.reload, i64* %.pre-phi28.reg2mem store i32* %sv_0.2.reload, i32** %sv_0.3.reg2mem br label LBL_34 LBL_34: %sv_0.3.reload = load i32*, i32** %sv_0.3.reg2mem %.reload54 = load i32, i32* %.reg2mem53 %331 = zext i32 %.reload54 to i64 %332 = load i32, i32* %sv_0.3.reload, align 4 %333 = add i64 %2, 96 %334 = inttoptr i64 %333 to i32* %335 = load i32, i32* %334, align 4 %336 = zext i32 %332 to i64 %337 = zext i32 %335 to i64 %338 = call i64 @FUNC(i64 %337, i64 %336) %339 = icmp sgt i64 %338, %331 br i1 %339, label LBL_16, label LBL_35 LBL_35: %340 = add i64 %2, 20 %341 = inttoptr i64 %340 to i32* %342 = load i32, i32* %341, align 4 %343 = add i64 %2, 8 %344 = inttoptr i64 %343 to i32* %345 = load i32, i32* %344, align 4 %346 = ashr i32 %342, 31 %347 = zext i32 %342 to i64 %348 = zext i32 %346 to i64 %349 = mul i64 %348, 4294967296 %350 = or i64 %349, %347 %351 = zext i32 %345 to i64 %352 = srem i64 %350, %351 %353 = trunc i64 %352 to i32 %354 = add i32 %345, %342 %355 = sub i32 %354, %353 store i32 %355, i32* %341, align 4 store i32 %355, i32* %.reg2mem55 store i32* %sv_0.3.reload, i32** %sv_0.4.reg2mem br label LBL_36 LBL_36: %sv_0.4.reload = load i32*, i32** %sv_0.4.reg2mem %.reload56 = load i32, i32* %.reg2mem55 %356 = add i64 %2, 88 %357 = inttoptr i64 %356 to i32* %358 = load i32, i32* %357, align 4 %359 = icmp ult i32 %.reload56, %358 br i1 %359, label LBL_15, label LBL_37 LBL_37: %360 = add i64 %2, 16 %361 = inttoptr i64 %360 to i32* %362 = load i32, i32* %361, align 4 %363 = add i64 %2, 12 %364 = inttoptr i64 %363 to i32* %365 = load i32, i32* %364, align 4 %366 = ashr i32 %362, 31 %367 = zext i32 %362 to i64 %368 = zext i32 %366 to i64 %369 = mul i64 %368, 4294967296 %370 = or i64 %369, %367 %371 = zext i32 %365 to i64 %372 = srem i64 %370, %371 %373 = trunc i64 %372 to i32 %374 = add i32 %365, %362 %375 = sub i32 %374, %373 store i32 %375, i32* %361, align 4 store i32 %375, i32* %.reg2mem57 store i32* %sv_0.4.reload, i32** %sv_0.5.reg2mem br label LBL_38 LBL_38: %.reload58 = load i32, i32* %.reg2mem57 %376 = add i64 %2, 84 %377 = inttoptr i64 %376 to i32* %378 = load i32, i32* %377, align 4 %379 = icmp ult i32 %.reload58, %378 br i1 %379, label LBL_14, label LBL_39 LBL_39: %380 = add i64 %2, 4 %381 = inttoptr i64 %380 to i32* %382 = load i32, i32* %381, align 4 %383 = add i32 %382, 1 store i32 %383, i32* %381, align 4 store i32 %383, i32* %.reg2mem59 br label LBL_40 LBL_40: %.reload60 = load i32, i32* %.reg2mem59 %384 = add i64 %2, 72 %385 = inttoptr i64 %384 to i32* %386 = load i32, i32* %385, align 4 %387 = icmp ult i32 %.reload60, %386 store i64 0, i64* %storemerge13.reg2mem br i1 %387, label LBL_3, label LBL_41 LBL_41: %storemerge13.reload = load i64, i64* %storemerge13.reg2mem ret i64 %storemerge13.reload uselistorder i32 %.reload60, { 1, 0 } uselistorder i32 %362, { 0, 2, 1 } uselistorder i32 %342, { 0, 2, 1 } uselistorder i32* %sv_0.3.reload, { 0, 1, 2, 3, 11, 12, 13, 9, 10, 7, 8, 5, 6, 4 } uselistorder i32 %.reload52, { 1, 0, 2 } uselistorder i64 %.pre-phi29.reload, { 1, 0 } uselistorder i64 %213, { 1, 0 } uselistorder i1 %181, { 1, 0 } uselistorder i32 %176, { 2, 1, 0 } uselistorder i32 %169, { 2, 1, 0 } uselistorder i32 %161, { 1, 0 } uselistorder i32 %131, { 6, 5, 7, 8, 0, 4, 3, 2, 1 } uselistorder i32 %127, { 1, 2, 0 } uselistorder i32* %114, { 7, 8, 5, 6, 3, 4, 0, 1, 2, 9 } uselistorder i64 %.pre-phi28.reload, { 2, 1, 4, 3, 6, 5, 9, 8, 7, 0 } uselistorder i64 %67, { 1, 0 } uselistorder i64 %58, { 1, 0 } uselistorder i32* %28, { 0, 2, 1 } uselistorder i64 %2, { 45, 36, 35, 32, 31, 30, 10, 9, 29, 0, 12, 11, 18, 19, 16, 17, 14, 15, 13, 21, 20, 22, 23, 24, 25, 26, 27, 28, 33, 34, 37, 38, 39, 4, 3, 6, 5, 8, 7, 41, 42, 1, 40, 43, 44, 46, 48, 47, 2, 49, 50 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem47, { 1, 0, 2 } uselistorder i32* %storemerge25.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge4.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge3.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem49, { 0, 2, 1 } uselistorder i32** %.pre-phi32.reg2mem, { 0, 2, 1 } uselistorder i64* %.pre-phi30.reg2mem, { 0, 2, 1 } uselistorder i32** %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %.pre-phi29.reg2mem, { 1, 0, 2 } uselistorder i32** %.pre-phi40.reg2mem, { 0, 10, 8, 9, 6, 7, 4, 5, 1, 2, 3 } uselistorder i64* %.pre-phi38.reg2mem, { 0, 10, 8, 9, 6, 7, 4, 5, 1, 2, 3 } uselistorder i32** %sv_0.2.reg2mem, { 0, 10, 8, 9, 6, 7, 4, 5, 1, 2, 3 } uselistorder i64* %.pre-phi28.reg2mem, { 1, 0, 2 } uselistorder i32** %sv_0.5.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem59, { 0, 2, 1 } uselistorder i64 28, { 1, 0 } uselistorder i64 (i64, i64)* @int_floordivpow2, { 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @int_ceildiv, { 5, 4, 3, 2, 1, 0 } uselistorder i64 20, { 2, 0, 1 } uselistorder i64 88, { 1, 0 } uselistorder i64 120, { 1, 0 } uselistorder i64 84, { 1, 0 } uselistorder i64 116, { 1, 0 } uselistorder i64 80, { 1, 0 } uselistorder i64 112, { 1, 0 } uselistorder i64 108, { 1, 0 } uselistorder i64 76, { 1, 0 } uselistorder i64 (i64, i64)* @int_min, { 0, 2, 1 } uselistorder i32 31, { 5, 6, 1, 2, 3, 4, 0, 7 } uselistorder i64 16, { 6, 4, 0, 5, 2, 1, 3 } uselistorder i64 12, { 2, 1, 0 } uselistorder i64 8, { 4, 2, 3, 0, 1 } uselistorder i64 32, { 1, 0 } uselistorder i64 24, { 0, 4, 3, 1, 2 } uselistorder i64 4, { 5, 0, 6, 3, 4, 1, 2, 7, 8 } uselistorder i1 false, { 5, 1, 2, 3, 4, 0, 6 } uselistorder i32 0, { 15, 8, 9, 10, 11, 12, 13, 14, 1, 5, 3, 4, 0, 2, 6, 7, 16, 17, 18, 19, 20, 21 } uselistorder label LBL_38, { 1, 0 } uselistorder label LBL_36, { 1, 0 } uselistorder label LBL_34, { 1, 0 } uselistorder label LBL_33, { 0, 2, 1, 4, 3, 6, 5, 9, 8, 7 } uselistorder label LBL_31, { 1, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
iscsi_truncate_16576
iscsi_truncate
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i64, align 8 store i64 0, i64* %sv_0, align 8 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 1 store i64 4294967201, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_6 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i64 %4, i64* nonnull %sv_0) %6 = load i64, i64* %sv_0, align 8 %7 = icmp eq i64 %6, 0 br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %6) store i64 4294967291, i64* %rax.0.reg2mem br label LBL_6 LBL_3: %9 = call i64 @FUNC(i64 %4) %10 = icmp slt i64 %9, %arg2 store i64 4294967274, i64* %rax.0.reg2mem br i1 %10, label LBL_6, label LBL_4 LBL_4: %11 = add i64 %4, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = icmp eq i64 %13, 0 store i64 0, i64* %rax.0.reg2mem br i1 %14, label LBL_6, label LBL_5 LBL_5: %15 = call i64 @FUNC(i64 %13) %16 = load i64, i64* %12, align 8 %17 = add i64 %4, 16 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = sext i32 %19 to i64 %21 = add i64 %16, -1 %22 = add i64 %21, %20 %23 = udiv i64 %22, %20 %24 = and i64 %23, 4294967295 %25 = call i64 @FUNC(i64 %24) store i64 %25, i64* %12, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %sv_0, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 5, 4 } uselistorder label LBL_6, { 1, 0, 2, 4, 3 } }
1
BinRealVul
ff_mediacodec_dec_close_1573
ff_mediacodec_dec_close
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = icmp eq i64* %arg2, null br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = call i64 @FUNC(i64 %0) store i64 0, i64* %arg2, align 8 br label LBL_2 LBL_2: %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = icmp eq i64 %5, 0 br i1 %6, label LBL_4, label LBL_3 LBL_3: %7 = call i64 @FUNC(i64 %5) store i64 0, i64* %4, align 8 br label LBL_4 LBL_4: %8 = add i64 %0, 16 %9 = call i64 @FUNC(i64 %8) ret i64 0 uselistorder i64 %0, { 1, 2, 0 } }
0
BinRealVul
migrate_fd_cleanup_15789
migrate_fd_cleanup
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) store i64 0, i64* %arg1, align 8 %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_2, label LBL_1 LBL_1: %6 = call i64 @FUNC() %7 = call i64 @FUNC() %8 = add i64 %0, 24 %9 = call i64 @FUNC(i64 %8) %10 = call i64 @FUNC() %11 = load i64, i64* %3, align 8 %12 = call i64 @FUNC(i64 %11) store i64 0, i64* %3, align 8 br label LBL_2 LBL_2: %13 = add i64 %0, 16 %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 i32 %15, i32* %.reg2mem br i1 %17, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 41, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0)) %.pr = load i32, i32* %14, align 4 store i32 %.pr, i32* %.reg2mem br label LBL_4 LBL_4: %.reload = load i32, i32* %.reg2mem %18 = icmp eq i32 %.reload, 2 br i1 %18, label LBL_7, label LBL_5 LBL_5: %19 = call i64 @FUNC() %20 = load i32, i32* %14, align 4 %21 = icmp eq i32 %20, 3 %22 = icmp eq i1 %21, false br i1 %22, label LBL_7, label LBL_6 LBL_6: %23 = call i64 @FUNC(i64 %0, i64 3, i64 4) br label LBL_7 LBL_7: %24 = call i64 @FUNC(i64* nonnull @gv_3, i64 %0) ret i64 %24 uselistorder i32* %14, { 1, 0, 2 } uselistorder i64 %0, { 2, 1, 3, 0, 4, 5 } uselistorder i32* %.reg2mem, { 0, 2, 1 } }
1
BinRealVul
target_munmap_18924
target_munmap
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.33.reg2mem = alloca i32 %storemerge4.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i64 %sv_3.1.reg2mem = alloca i64 %sv_1.2.reg2mem = alloca i32 %sv_3.0.reg2mem = alloca i64 %sv_1.15.reg2mem = alloca i32 %storemerge16.reg2mem = alloca i64 %sv_1.08.reg2mem = alloca i32 %storemerge29.reg2mem = alloca i64 %0 = trunc i64 %arg1 to i32 %1 = trunc i64 %arg2 to i32 %2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0), i32 %0, i32 %1) %3 = icmp ult i64 %arg1, 4096 store i64 4294967274, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_17 LBL_1: %4 = add i64 %arg2, 4095 %5 = and i64 %4, -4096 %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %7, label LBL_2, label LBL_17 LBL_2: %8 = add i64 %5, %arg1 %9 = load i64, i64* @gv_1, align 8 %10 = and i64 %9, %arg1 %11 = add i64 %8, 4095 %12 = and i64 %11, -4096 %13 = icmp ult i64 %10, %arg1 store i64 %10, i64* %storemerge29.reg2mem store i32 0, i32* %sv_1.08.reg2mem store i64 %8, i64* %sv_3.1.reg2mem store i64 %10, i64* %sv_2.0.reg2mem br i1 %13, label LBL_3, label LBL_9 LBL_3: %sv_1.08.reload = load i32, i32* %sv_1.08.reg2mem %storemerge29.reload = load i64, i64* %storemerge29.reg2mem %14 = call i64 @FUNC(i64 %storemerge29.reload) %15 = trunc i64 %14 to i32 %16 = or i32 %sv_1.08.reload, %15 %17 = add i64 %storemerge29.reload, 4096 %18 = icmp ult i64 %17, %arg1 store i64 %17, i64* %storemerge29.reg2mem store i32 %16, i32* %sv_1.08.reg2mem br i1 %18, label LBL_3, label LBL_4 LBL_4: %19 = load i64, i64* @gv_2, align 8 %20 = add i64 %19, %10 %21 = icmp eq i64 %12, %20 %22 = icmp eq i1 %21, false store i64 %8, i64* %sv_3.0.reg2mem store i32 %16, i32* %sv_1.2.reg2mem br i1 %22, label LBL_7, label LBL_5 LBL_5: %23 = icmp ult i64 %8, %12 store i64 %8, i64* %storemerge16.reg2mem store i32 %16, i32* %sv_1.15.reg2mem store i64 %12, i64* %sv_3.0.reg2mem store i32 %16, i32* %sv_1.2.reg2mem br i1 %23, label LBL_6, label LBL_7 LBL_6: %sv_1.15.reload = load i32, i32* %sv_1.15.reg2mem %storemerge16.reload = load i64, i64* %storemerge16.reg2mem %24 = call i64 @FUNC(i64 %storemerge16.reload) %25 = trunc i64 %24 to i32 %26 = or i32 %sv_1.15.reload, %25 %27 = add nuw i64 %storemerge16.reload, 4096 %28 = icmp ult i64 %27, %12 store i64 %27, i64* %storemerge16.reg2mem store i32 %26, i32* %sv_1.15.reg2mem store i64 %12, i64* %sv_3.0.reg2mem store i32 %26, i32* %sv_1.2.reg2mem br i1 %28, label LBL_6, label LBL_7 LBL_7: %sv_1.2.reload = load i32, i32* %sv_1.2.reg2mem %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem %29 = icmp eq i32 %sv_1.2.reload, 0 store i64 %sv_3.0.reload, i64* %sv_3.1.reg2mem store i64 %10, i64* %sv_2.0.reg2mem br i1 %29, label LBL_9, label LBL_8 LBL_8: %30 = load i64, i64* @gv_2, align 8 %31 = add i64 %30, %10 store i64 %sv_3.0.reload, i64* %sv_3.1.reg2mem store i64 %31, i64* %sv_2.0.reg2mem br label LBL_9 LBL_9: %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %sv_3.1.reload = load i64, i64* %sv_3.1.reg2mem %32 = icmp ult i64 %sv_3.1.reload, %12 %33 = icmp eq i1 %32, false store i64 %sv_3.1.reload, i64* %storemerge4.reg2mem store i32 0, i32* %sv_1.33.reg2mem store i64 %12, i64* %sv_0.0.reg2mem br i1 %33, label LBL_13, label LBL_10 LBL_10: %sv_1.33.reload = load i32, i32* %sv_1.33.reg2mem %storemerge4.reload = load i64, i64* %storemerge4.reg2mem %34 = call i64 @FUNC(i64 %storemerge4.reload) %35 = trunc i64 %34 to i32 %36 = or i32 %sv_1.33.reload, %35 %37 = add nuw i64 %storemerge4.reload, 4096 %38 = icmp ult i64 %37, %12 store i64 %37, i64* %storemerge4.reg2mem store i32 %36, i32* %sv_1.33.reg2mem br i1 %38, label LBL_10, label LBL_11 LBL_11: %phitmp = icmp eq i32 %36, 0 store i64 %12, i64* %sv_0.0.reg2mem br i1 %phitmp, label LBL_13, label LBL_12 LBL_12: %39 = load i64, i64* @gv_2, align 8 %40 = sub i64 %12, %39 store i64 %40, i64* %sv_0.0.reg2mem br label LBL_13 LBL_13: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %41 = icmp ugt i64 %sv_0.0.reload, %sv_2.0.reload %42 = icmp eq i1 %41, false br i1 %42, label LBL_16, label LBL_14 LBL_14: %43 = sub i64 %sv_0.0.reload, %sv_2.0.reload %44 = inttoptr i64 %sv_2.0.reload to i64* %45 = trunc i64 %43 to i32 %46 = call i32 @munmap(i64* %44, i32 %45) %47 = icmp eq i32 %46, 0 br i1 %47, label LBL_16, label LBL_15 LBL_15: %48 = zext i32 %46 to i64 store i64 %48, i64* %rax.0.reg2mem br label LBL_17 LBL_16: %49 = call i64 @FUNC(i64 %arg1, i64 %8, i64 0) store i64 0, i64* %rax.0.reg2mem br label LBL_17 LBL_17: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %36, { 1, 0 } uselistorder i64 %storemerge4.reload, { 1, 0 } uselistorder i64 %sv_2.0.reload, { 1, 0, 2 } uselistorder i64 %storemerge16.reload, { 1, 0 } uselistorder i32 %16, { 0, 2, 1, 3 } uselistorder i64 %storemerge29.reload, { 1, 0 } uselistorder i64 %12, { 7, 0, 6, 1, 8, 2, 5, 3, 4, 9 } uselistorder i64 %10, { 3, 1, 4, 0, 2, 5 } uselistorder i64 %8, { 4, 2, 3, 1, 0, 5 } uselistorder i64* %storemerge29.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.08.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge16.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.15.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_3.1.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %sv_2.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %storemerge4.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.33.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 } uselistorder i64 (i64)* @page_get_flags, { 2, 1, 0 } uselistorder i32 0, { 3, 2, 0, 4, 1 } uselistorder i32 1, { 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %arg1, { 3, 4, 2, 0, 1, 5, 6 } uselistorder label LBL_17, { 2, 3, 0, 1 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_9, { 1, 2, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
jsP_dumpsyntax_19191
jsP_dumpsyntax
define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %arg3 to i32 store i32 %2, i32* bitcast (i64* @gv_0 to i32*), align 8 %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 1 %5 = icmp eq i1 %4, false %6 = ptrtoint i32* %arg2 to i64 br i1 %5, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 4294967295, i64 %6) br label LBL_3 LBL_2: %8 = call i64 @FUNC(i64 0, i64 %6) %9 = call i64 @FUNC() br label LBL_3 LBL_3: %10 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %11 = zext i32 %10 to i64 %12 = icmp slt i32 %10, 2 store i64 %11, i64* %rax.0.reg2mem br i1 %12, label LBL_5, label LBL_4 LBL_4: %13 = call i32 @putchar(i32 10) %14 = sext i32 %13 to i64 store i64 %14, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %6, { 1, 0 } }
1
BinRealVul
pl181_class_init_1659
pl181_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 ptrtoint (i64* @gv_0 to i64), i64* %arg1, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* store i64 4198669, i64* %2, align 8 %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i32* store i32 1, i32* %4, align 4 ret i64 %0 uselistorder i64 %0, { 1, 0, 2 } }
0
BinRealVul
pci_init_multifunction_1505
pci_init_multifunction
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.1.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i32 %.reg2mem = alloca i8 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rsi = alloca i64, align 8 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg2 to i64 %5 = trunc i64 %3 to i8 %6 = add i64 %4, 1 %7 = inttoptr i64 %6 to i8* %8 = load i8, i8* %7, align 1 %9 = urem i8 %8, 2 %10 = icmp eq i8 %9, 0 store i8 %5, i8* %.reg2mem br i1 %10, label LBL_2, label LBL_1 LBL_1: %11 = bitcast i64* %rsi to i8* %12 = add i64 %4, 16 %13 = inttoptr i64 %12 to i8* %14 = load i8, i8* %13, align 1 %15 = or i8 %14, -128 store i8 %15, i8* %13, align 1 %.pre = load i8, i8* %11, align 8 store i8 %.pre, i8* %.reg2mem br label LBL_2 LBL_2: %16 = ptrtoint i64* %arg3 to i64 %17 = ptrtoint i64* %arg1 to i64 %18 = udiv i8 %5, 8 %.reload = load i8, i8* %.reg2mem %19 = urem i8 %.reload, 8 %20 = icmp eq i8 %19, 0 br i1 %20, label LBL_6, label LBL_3 LBL_3: %21 = zext i8 %18 to i64 %22 = mul i64 %21, 64 %23 = add i64 %22, %17 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = icmp eq i64 %25, 0 store i64 0, i64* %rax.1.reg2mem br i1 %26, label LBL_11, label LBL_4 LBL_4: %27 = add i64 %25, 1 %28 = inttoptr i64 %27 to i8* %29 = load i8, i8* %28, align 1 %30 = urem i8 %29, 2 %31 = zext i8 %30 to i64 %32 = icmp eq i8 %30, 0 %33 = icmp eq i1 %32, false store i64 %31, i64* %rax.1.reg2mem br i1 %33, label LBL_11, label LBL_5 LBL_5: %34 = zext i8 %19 to i64 %35 = call i64 @FUNC(i64 %16, i8* getelementptr inbounds ([65 x i8], [65 x i8]* @gv_0, i64 0, i64 0), i8 %18, i64 %34, i64 %2, i64 %1) store i64 %35, i64* %rax.1.reg2mem br label LBL_11 LBL_6: %36 = load i8, i8* %7, align 1 %37 = urem i8 %36, 2 %38 = zext i8 %37 to i64 %39 = icmp eq i8 %37, 0 %40 = icmp eq i1 %39, false store i64 %38, i64* %rax.1.reg2mem br i1 %40, label LBL_11, label LBL_7 LBL_7: %41 = and i8 %5, -8 %42 = zext i8 %41 to i32 store i32 1, i32* %storemerge3.reg2mem br label LBL_8 LBL_8: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %43 = urem i32 %storemerge3.reload, 256 %44 = or i32 %43, %42 %45 = mul i32 %44, 8 %46 = zext i32 %45 to i64 %47 = add i64 %46, %17 %48 = inttoptr i64 %47 to i64* %49 = load i64, i64* %48, align 8 %50 = icmp eq i64 %49, 0 br i1 %50, label LBL_10, label LBL_9 LBL_9: %51 = zext i8 %18 to i64 %52 = zext i32 %43 to i64 %53 = call i64 @FUNC(i64 %16, i8* getelementptr inbounds ([69 x i8], [69 x i8]* @gv_1, i64 0, i64 0), i8 %18, i64 %51, i64 %52, i64 %1) store i64 %53, i64* %rax.1.reg2mem br label LBL_11 LBL_10: %54 = mul i32 %storemerge3.reload, 16777216 %sext = add i32 %54, 16777216 %55 = ashr exact i32 %sext, 24 %56 = trunc i32 %55 to i8 %57 = icmp ult i8 %56, 8 store i32 %55, i32* %storemerge3.reg2mem store i64 0, i64* %rax.1.reg2mem br i1 %57, label LBL_8, label LBL_11 LBL_11: %rax.1.reload = load i64, i64* %rax.1.reg2mem ret i64 %rax.1.reload uselistorder i32 %43, { 1, 0 } uselistorder i32 %storemerge3.reload, { 1, 0 } uselistorder i8 %37, { 1, 0 } uselistorder i8 %30, { 1, 0 } uselistorder i8 %19, { 1, 0 } uselistorder i8 %18, { 0, 1, 3, 2 } uselistorder i64 %16, { 1, 0 } uselistorder i8 %5, { 2, 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i8* %.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.1.reg2mem, { 0, 1, 5, 6, 2, 3, 4 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i32 16777216, { 1, 0 } uselistorder i64 (i64, i8*, i8, i64, i64, i64)* @error_setg, { 1, 0 } uselistorder i8 8, { 2, 0, 1 } uselistorder label LBL_11, { 0, 4, 1, 5, 3, 2 } uselistorder label LBL_8, { 1, 0 } }
0
BinRealVul
v9fs_remove_16386
v9fs_remove
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0.1.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i32, align 4 %1 = bitcast i32* %sv_1 to i64* %2 = call i64 @FUNC(i64 %0, i64 7, i64* nonnull @gv_0, i64* nonnull %1) %3 = load i32, i32* %sv_1, align 4 %4 = zext i32 %3 to i64 %5 = call i64 @FUNC(i64 %0, i64 %4) %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false store i32 -22, i32* %sv_0.1.reg2mem br i1 %7, label LBL_1, label LBL_5 LBL_1: %8 = trunc i64 %0 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false store i32 -95, i32* %sv_0.0.reg2mem br i1 %10, label LBL_2, label LBL_4 LBL_2: %11 = add i64 %5, 8 %12 = call i64 @FUNC(i64 %0, i64 %11) %13 = trunc i64 %12 to i32 %14 = icmp slt i32 %13, 0 store i32 %13, i32* %sv_0.0.reg2mem br i1 %14, label LBL_4, label LBL_3 LBL_3: %15 = call i64 @FUNC(i64 %0, i64 %11) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false %spec.select = select i1 %18, i32 %16, i32 7 store i32 %spec.select, i32* %sv_0.0.reg2mem br label LBL_4 LBL_4: %19 = inttoptr i64 %5 to i32* %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %20 = load i32, i32* %19, align 4 %21 = zext i32 %20 to i64 %22 = call i64 @FUNC(i64 %0, i64 %21) %23 = call i64 @FUNC(i64 %0, i64 %5) store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br label LBL_5 LBL_5: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %24 = call i64 @FUNC(i64 %0, i64 %0, i32 %sv_0.1.reload) ret i64 %24 uselistorder i64 %5, { 0, 2, 1, 3 } uselistorder i64 %0, { 4, 0, 5, 1, 3, 6, 2, 8, 7 } uselistorder i32* %sv_0.0.reg2mem, { 0, 1, 3, 2 } uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_4, { 0, 2, 1 } }
1
BinRealVul
lsr_translate_scale_13215
lsr_translate_scale
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge4.in.in.reg2mem = alloca i32 %1 = load i64, i64* %0 %sext = mul i64 %arg2, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = trunc i64 %1 to i32 %4 = and i64 %arg2, 4294967295 %5 = add i32 %3, 31 %6 = urem i32 %5, 32 %7 = icmp eq i32 %6, 0 %8 = trunc i64 %arg2 to i32 %9 = lshr i32 %8, %6 %10 = zext i32 %9 to i64 %storemerge = select i1 %7, i64 %4, i64 %10 %11 = icmp eq i64 %storemerge, 0 br i1 %11, label LBL_2, label LBL_1 LBL_1: %12 = urem i32 %3, 32 %13 = shl i32 1, %12 %14 = trunc i64 %2 to i32 %15 = sub i32 %14, %13 %16 = add i32 %15, 255 %17 = icmp slt i32 %15, 0 %18 = select i1 %17, i32 %16, i32 %15 store i32 %18, i32* %storemerge4.in.in.reg2mem br label LBL_3 LBL_2: %19 = trunc i64 %2 to i32 %20 = add i32 %19, 255 %21 = icmp slt i32 %19, 0 %22 = select i1 %21, i32 %20, i32 %19 store i32 %22, i32* %storemerge4.in.in.reg2mem br label LBL_3 LBL_3: %storemerge4.in.in.reload = load i32, i32* %storemerge4.in.in.reg2mem %storemerge4.in = ashr i32 %storemerge4.in.in.reload, 8 %storemerge4 = zext i32 %storemerge4.in to i64 ret i64 %storemerge4 uselistorder i32 %6, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i32* %storemerge4.in.in.reg2mem, { 0, 2, 1 } uselistorder i64 %arg2, { 1, 2, 0 } }
1
BinRealVul
ff_j2k_dwt_init_1072
ff_j2k_dwt_init
define i64 @FUNC(i64* %arg1, i16* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i32 %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i64 %.in.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %indvars.iv16.reg2mem = alloca i64 %indvars.iv22.reg2mem = alloca i64 %indvars.iv19.reg2mem = alloca i64 %1 = load i32, i32* %0 %2 = load i32, i32* %0 %3 = load i32, i32* %0 %4 = load i32, i32* %0 %sv_0 = alloca i64, align 8 %5 = trunc i64 %arg3 to i32 %6 = icmp ult i32 %5, 32 store i64 4294967295, i64* %rax.0.reg2mem br i1 %6, label LBL_1, label LBL_17 LBL_1: %7 = ptrtoint i64* %arg1 to i64 %8 = ptrtoint i64* %sv_0 to i64 %9 = bitcast i64* %arg1 to i32* store i32 %5, i32* %9, align 4 %10 = trunc i64 %arg4 to i32 %11 = add i64 %7, 4 %12 = inttoptr i64 %11 to i32* store i32 %10, i32* %12, align 4 %13 = ptrtoint i16* %arg2 to i64 %14 = add i64 %8, -32 store i64 0, i64* %indvars.iv22.reg2mem br label LBL_4 LBL_2: %indvars.iv19.reload = load i64, i64* %indvars.iv19.reg2mem %15 = mul i64 %indvars.iv19.reload, 2 %16 = add i64 %25, %15 %17 = inttoptr i64 %16 to i16* %18 = load i16, i16* %17, align 2 %19 = add nuw nsw i64 %indvars.iv19.reload, %26 %20 = zext i16 %18 to i32 %21 = mul i64 %19, 4 %22 = add i64 %21, %14 %23 = inttoptr i64 %22 to i32* store i32 %20, i32* %23, align 4 %indvars.iv.next20 = add nuw nsw i64 %indvars.iv19.reload, 1 %exitcond21 = icmp eq i64 %indvars.iv.next20, 2 store i64 %indvars.iv.next20, i64* %indvars.iv19.reg2mem br i1 %exitcond21, label LBL_3, label LBL_2 LBL_3: %indvars.iv.next23 = add nuw nsw i64 %indvars.iv22.reload, 1 %exitcond24 = icmp eq i64 %indvars.iv.next23, 2 store i64 %indvars.iv.next23, i64* %indvars.iv22.reg2mem br i1 %exitcond24, label LBL_5, label LBL_4 LBL_4: %indvars.iv22.reload = load i64, i64* %indvars.iv22.reg2mem %24 = mul i64 %indvars.iv22.reload, 4 %25 = add i64 %24, %13 %26 = mul i64 %indvars.iv22.reload, 2 store i64 0, i64* %indvars.iv19.reg2mem br label LBL_2 LBL_5: %27 = add i32 %5, -1 %28 = icmp slt i32 %27, 0 %29 = icmp eq i1 %28, false br i1 %29, label LBL_6, label LBL_12 LBL_6: %30 = add i64 %8, -28 store i32 %27, i32* %.in.reg2mem br label LBL_11 LBL_7: %indvars.iv16.reload = load i64, i64* %indvars.iv16.reg2mem %31 = mul i64 %indvars.iv16.reload, 8 %32 = add i64 %30, %31 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = add i64 %31, %14 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 8 %38 = sub i32 %34, %37 %39 = add nuw nsw i64 %indvars.iv16.reload, %60 %40 = mul i64 %39, 4 %41 = add i64 %40, %7 %42 = add i64 %41, 8 %43 = inttoptr i64 %42 to i32* store i32 %38, i32* %43, align 4 %44 = load i32, i32* %36, align 8 %45 = urem i32 %44, 2 %46 = add i64 %41, 264 %47 = inttoptr i64 %46 to i32* store i32 %45, i32* %47, align 4 %48 = mul i64 %indvars.iv16.reload, 2 store i64 0, i64* %indvars.iv.reg2mem br label LBL_8 LBL_8: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %49 = add nuw nsw i64 %indvars.iv.reload, %48 %50 = mul i64 %49, 4 %51 = add i64 %50, %14 %52 = inttoptr i64 %51 to i32* %53 = load i32, i32* %52, align 4 %54 = add i32 %53, 1 %55 = ashr i32 %54, 1 store i32 %55, i32* %52, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 2 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_9, label LBL_8 LBL_9: %indvars.iv.next17 = add nuw nsw i64 %indvars.iv16.reload, 1 %exitcond18 = icmp eq i64 %indvars.iv.next17, 2 store i64 %indvars.iv.next17, i64* %indvars.iv16.reg2mem br i1 %exitcond18, label LBL_10, label LBL_7 LBL_10: %56 = add i32 %.in.reload, -1 %57 = icmp slt i32 %56, 0 %58 = icmp eq i1 %57, false store i32 %56, i32* %.in.reg2mem br i1 %58, label LBL_11, label LBL_12 LBL_11: %.in.reload = load i32, i32* %.in.reg2mem %59 = sext i32 %.in.reload to i64 %60 = mul i64 %59, 2 store i64 0, i64* %indvars.iv16.reg2mem br label LBL_7 LBL_12: %61 = sub i32 %4, %3 %62 = sub i32 %2, %1 %63 = sub i32 %61, %62 %64 = xor i32 %61, %62 %65 = xor i32 %63, %61 %66 = and i32 %65, %64 %67 = icmp slt i32 %66, 0 %68 = icmp slt i32 %63, 0 %69 = icmp eq i1 %68, %67 %70 = select i1 %69, i32 %61, i32 %62 %71 = icmp eq i32 %10, 1 %72 = icmp eq i1 %71, false br i1 %72, label LBL_14, label LBL_13 LBL_13: %73 = add i32 %70, 12 %74 = sext i32 %73 to i64 %75 = mul i64 %74, 4 %76 = call i64 @FUNC(i64 %75) %77 = add i64 %7, 520 %78 = inttoptr i64 %77 to i64* store i64 %76, i64* %78, align 8 store i64 %76, i64* %.reg2mem br label LBL_16 LBL_14: %79 = icmp eq i32 %10, 2 %80 = icmp eq i1 %79, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %80, label LBL_17, label LBL_15 LBL_15: %81 = add i32 %70, 6 %82 = sext i32 %81 to i64 %83 = mul i64 %82, 4 %84 = call i64 @FUNC(i64 %83) %85 = add i64 %7, 520 %86 = inttoptr i64 %85 to i64* store i64 %84, i64* %86, align 8 store i64 %84, i64* %.reg2mem br label LBL_16 LBL_16: %.reload = load i64, i64* %.reg2mem %87 = icmp eq i64 %.reload, 0 %88 = icmp eq i1 %87, false %. = select i1 %88, i64 0, i64 4294967284 store i64 %., i64* %rax.0.reg2mem br label LBL_17 LBL_17: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %70, { 1, 0 } uselistorder i32 %63, { 1, 0 } uselistorder i32 %62, { 1, 0, 2 } uselistorder i32 %61, { 2, 0, 1, 3 } uselistorder i64 %31, { 1, 0 } uselistorder i64 %indvars.iv16.reload, { 0, 3, 1, 2 } uselistorder i64 %indvars.iv22.reload, { 2, 1, 0 } uselistorder i32 %10, { 1, 0, 2 } uselistorder i64 %7, { 2, 1, 0, 3 } uselistorder i32 %5, { 1, 0, 2 } uselistorder i64* %indvars.iv19.reg2mem, { 2, 1, 0 } uselistorder i64* %indvars.iv16.reg2mem, { 2, 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i32* %0, { 3, 2, 1, 0 } uselistorder i64 (i64)* @av_malloc, { 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder i64 8, { 1, 0 } uselistorder i32 -1, { 1, 0 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
mca_ccb_report_event_9287
mca_ccb_report_event
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 = icmp eq i64* %arg1, null store i64 %0, i64* %rax.0.reg2mem br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = ptrtoint i64* %arg3 to i64 %4 = call i64 @FUNC(i64 %2) %5 = call i64 @FUNC(i64 %2) store i64 %3, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %2, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } }
0
BinRealVul
decode_v4_vector_15948
decode_v4_vector
define i64 @FUNC(i32* %arg1, i64* %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.18.reg2mem = alloca i32 %rcx.29.reg2mem = alloca i64 %rsi.210.reg2mem = alloca i64 %indvars.iv11.reg2mem = alloca i64 %rsi.0.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %rax.0.reg2mem = alloca i64 %rcx.15.reg2mem = alloca i64 %rsi.16.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %indvars.iv13.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg4 to i64 %3 = ptrtoint i64* %arg3 to i64 %4 = ptrtoint i64* %arg2 to i64 %5 = bitcast i64* %rdi to i32* %6 = trunc i64 %1 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false %9 = select i1 %8, i32 4, i32 6 %10 = add i64 %4, 24 %11 = inttoptr i64 %10 to i32* %12 = add i64 %4, 8 %13 = inttoptr i64 %12 to i64* %14 = add i64 %4, 28 %15 = inttoptr i64 %14 to i32* %16 = add i64 %4, 16 %17 = inttoptr i64 %16 to i64* %18 = add i64 %4, 32 %19 = inttoptr i64 %18 to i32* store i64 0, i64* %indvars.iv11.reg2mem store i64 %4, i64* %rsi.210.reg2mem store i64 %2, i64* %rcx.29.reg2mem store i32 0, i32* %sv_0.18.reg2mem br label LBL_5 LBL_1: %rcx.15.reload = load i64, i64* %rcx.15.reg2mem %rsi.16.reload = load i64, i64* %rsi.16.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %indvars.iv13.reload = load i64, i64* %indvars.iv13.reg2mem %20 = mul i64 %indvars.iv13.reload, 4 %21 = add i64 %20, %3 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = mul i32 %23, %9 %25 = sext i32 %24 to i64 %26 = add i64 %rcx.15.reload, %25 %27 = load i32, i32* %11, align 4 %28 = mul i32 %27, %sv_0.18.reload %29 = zext i32 %28 to i64 %30 = trunc i64 %indvars.iv.reload to i32 %31 = add i32 %28, %30 %32 = sext i32 %31 to i64 %33 = add i64 %rsi.16.reload, %32 %34 = inttoptr i64 %26 to i8* %35 = load i8, i8* %34, align 1 %36 = inttoptr i64 %33 to i8* store i8 %35, i8* %36, align 1 %37 = load i32, i32* %22, align 4 %38 = mul i32 %37, %9 %39 = or i32 %38, 1 %40 = sext i32 %39 to i64 %41 = add i64 %26, %40 %42 = or i64 %indvars.iv.reload, 1 %43 = load i32, i32* %11, align 4 %44 = mul i32 %43, %sv_0.18.reload %45 = trunc i64 %42 to i32 %46 = add i32 %44, %45 %47 = sext i32 %46 to i64 %48 = add nsw i64 %47, %29 %49 = inttoptr i64 %41 to i8* %50 = load i8, i8* %49, align 1 %51 = inttoptr i64 %48 to i8* store i8 %50, i8* %51, align 1 %52 = load i32, i32* %22, align 4 %53 = mul i32 %52, %9 %54 = sext i32 %53 to i64 %55 = add i64 %41, 2 %56 = add i64 %55, %54 %57 = load i32, i32* %11, align 4 %58 = mul i32 %57, %113 %59 = add i32 %58, %30 %60 = sext i32 %59 to i64 %61 = add nsw i64 %42, %60 %62 = inttoptr i64 %56 to i8* %63 = load i8, i8* %62, align 1 %64 = inttoptr i64 %61 to i8* store i8 %63, i8* %64, align 1 %65 = load i32, i32* %22, align 4 %66 = mul i32 %65, %9 %67 = sext i32 %66 to i64 %68 = add i64 %56, 3 %69 = add i64 %68, %67 %70 = load i32, i32* %11, align 4 %71 = mul i32 %70, %113 %72 = add i32 %71, %45 %73 = sext i32 %72 to i64 %74 = add nsw i64 %42, %73 %75 = inttoptr i64 %69 to i8* %76 = load i8, i8* %75, align 1 %77 = inttoptr i64 %74 to i8* store i8 %76, i8* %77, align 1 %78 = load i32, i32* %5, align 8 %79 = zext i32 %78 to i64 %80 = icmp eq i32 %78, 0 %81 = icmp eq i1 %80, false store i64 %79, i64* %rax.0.reg2mem store i64 %69, i64* %rcx.0.reg2mem store i64 %42, i64* %rsi.0.reg2mem br i1 %81, label LBL_3, label LBL_2 LBL_2: %82 = load i32, i32* %22, align 4 %83 = mul i32 %82, %9 %84 = sext i32 %83 to i64 %85 = add i64 %69, 4 %86 = add i64 %85, %84 %87 = load i64, i64* %13, align 8 %88 = ashr exact i32 %30, 1 %89 = load i32, i32* %15, align 4 %90 = mul i32 %89, %114 %91 = add i32 %90, %88 %92 = sext i32 %91 to i64 %93 = add i64 %87, %92 %94 = inttoptr i64 %86 to i8* %95 = load i8, i8* %94, align 1 %96 = inttoptr i64 %93 to i8* store i8 %95, i8* %96, align 1 %97 = load i32, i32* %22, align 4 %98 = mul i32 %97, %9 %99 = sext i32 %98 to i64 %100 = add i64 %86, 5 %101 = add i64 %100, %99 %102 = load i64, i64* %17, align 8 %103 = load i32, i32* %19, align 4 %104 = mul i32 %103, %114 %105 = add i32 %104, %88 %106 = sext i32 %105 to i64 %107 = add i64 %102, %106 %108 = inttoptr i64 %101 to i8* %109 = load i8, i8* %108, align 1 %110 = zext i8 %109 to i64 %111 = inttoptr i64 %107 to i8* store i8 %109, i8* %111, align 1 store i64 %110, i64* %rax.0.reg2mem store i64 %101, i64* %rcx.0.reg2mem store i64 %102, i64* %rsi.0.reg2mem br label LBL_3 LBL_3: %rsi.0.reload = load i64, i64* %rsi.0.reg2mem %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 2 %indvars.iv.next14 = add nuw nsw i64 %indvars.iv13.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next14, %indvars.iv.next12 store i64 %indvars.iv.next14, i64* %indvars.iv13.reg2mem store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %rsi.0.reload, i64* %rsi.16.reg2mem store i64 %rcx.0.reload, i64* %rcx.15.reg2mem br i1 %exitcond, label LBL_4, label LBL_1 LBL_4: %112 = icmp ult i32 %115, 4 store i64 %indvars.iv.next12, i64* %indvars.iv11.reg2mem store i64 %rsi.0.reload, i64* %rsi.210.reg2mem store i64 %rcx.0.reload, i64* %rcx.29.reg2mem store i32 %115, i32* %sv_0.18.reg2mem br i1 %112, label LBL_5, label LBL_6 LBL_5: %sv_0.18.reload = load i32, i32* %sv_0.18.reg2mem %rcx.29.reload = load i64, i64* %rcx.29.reg2mem %rsi.210.reload = load i64, i64* %rsi.210.reg2mem %indvars.iv11.reload = load i64, i64* %indvars.iv11.reg2mem %113 = or i32 %sv_0.18.reload, 1 %114 = udiv i32 %sv_0.18.reload, 2 %indvars.iv.next12 = add nuw nsw i64 %indvars.iv11.reload, 2 %115 = add nuw nsw i32 %sv_0.18.reload, 2 store i64 %indvars.iv11.reload, i64* %indvars.iv13.reg2mem store i64 0, i64* %indvars.iv.reg2mem store i64 %rsi.210.reload, i64* %rsi.16.reg2mem store i64 %rcx.29.reload, i64* %rcx.15.reg2mem br label LBL_1 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %115, { 1, 0 } uselistorder i64 %indvars.iv.next12, { 1, 0 } uselistorder i32 %113, { 1, 0 } uselistorder i64 %indvars.iv11.reload, { 1, 0 } uselistorder i32 %sv_0.18.reload, { 0, 4, 3, 2, 1 } uselistorder i64 %69, { 1, 0, 2 } uselistorder i32 %30, { 2, 0, 1 } uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64 %4, { 0, 1, 2, 4, 3, 5 } uselistorder i64* %indvars.iv13.reg2mem, { 1, 2, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 2, 0 } uselistorder i64* %rsi.16.reg2mem, { 1, 2, 0 } uselistorder i64* %rcx.15.reg2mem, { 1, 2, 0 } uselistorder i32 2, { 1, 0 } uselistorder i64 4, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
thin_hook_bio_18462
thin_hook_bio
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %rsi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 0) %2 = inttoptr i64 %1 to i64* store i64 %0, i64* %2, align 8 %3 = add i64 %1, 8 %4 = inttoptr i64 %3 to i64* store i64 0, i64* %4, align 8 %5 = bitcast i64* %rsi to i32* %6 = load i32, i32* %5, align 8 %7 = urem i32 %6, 2 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false store i64 0, i64* %storemerge.reg2mem br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = add i64 %0, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @FUNC(i64 %12) store i64 %13, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem %14 = add i64 %1, 16 %15 = inttoptr i64 %14 to i64* store i64 %storemerge.reload, i64* %15, align 8 %16 = add i64 %1, 24 %17 = inttoptr i64 %16 to i64* store i64 0, i64* %17, align 8 ret i64 %1 uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
mp_get_count_11175
mp_get_count
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %sv_1 = alloca i64, align 8 %2 = add i64 %1, 44 %3 = call i64 @FUNC(i64 %2) %4 = call i64* @memcpy(i64* nonnull %sv_1, i64* %arg1, i32 44) %5 = call i64 @FUNC(i64 %2) %6 = load i64, i64* %sv_1, align 8 %7 = trunc i64 %6 to i32 store i32 %7, i32* %sv_0, align 4 %8 = call i64 @FUNC(i64 %0, i32* nonnull %sv_0, i64 44) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 %. = select i1 %10, i64 0, i64 4294967282 ret i64 %. uselistorder i64* %sv_1, { 1, 0 } }
1
reposvul_c_test
xcopy_pt_release_cmd_288
xcopy_pt_release_cmd
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i64 %0) ret i64 %1 }
1
reposvul_c_test
snd_timer_continue_76
snd_timer_continue
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = icmp eq i64* %arg1, null %4 = icmp eq i1 %3, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_7 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = urem i64 %1, 2 %7 = icmp eq i64 %6, 0 br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %5) store i64 %8, i64* %rax.0.reg2mem br label LBL_7 LBL_3: %9 = add i64 %5, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %13, label LBL_4, label LBL_7 LBL_4: %14 = call i64 @FUNC(i64 %11, i64 %2) %15 = add i64 %5, 16 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = icmp eq i64 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_6, label LBL_5 LBL_5: store i64 1, i64* %16, align 8 br label LBL_6 LBL_6: %20 = add i64 %5, 24 %21 = inttoptr i64 %20 to i64* store i64 0, i64* %21, align 8 %22 = add i64 %11, 8 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = call i64 @FUNC(i64 %11, i64 %5, i64 %24) %26 = call i64 @FUNC(i64 %11, i64 %2) %27 = call i64 @FUNC(i64 %5, i64 1) %28 = and i64 %25, 4294967295 store i64 %28, 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 %11, { 2, 1, 0, 3, 4 } uselistorder i64 %5, { 1, 0, 2, 3, 4, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_7, { 2, 0, 3, 1 } }
0
BinRealVul
arm_tr_insn_start_18921
arm_tr_insn_start
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, -16 %2 = call i64 @FUNC() %3 = trunc i64 %2 to i32 %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i32* store i32 %3, i32* %5, align 4 %6 = add i64 %0, -12 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = mul i32 %8, 16 %10 = add i64 %0, -8 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = ashr i32 %12, 1 %14 = or i32 %13, %9 %15 = inttoptr i64 %1 to i32* %16 = load i32, i32* %15, align 4 %17 = zext i32 %14 to i64 %18 = zext i32 %16 to i64 %19 = call i64 @FUNC(i64 %18, i64 %17, i64 0) ret i64 %19 }
1
BinRealVul
check_preempt_curr_7375
check_preempt_curr
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 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = icmp eq i32 %3, 0 store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_3, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %0) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 store i64 %5, i64* %rax.0.reg2mem br i1 %7, label LBL_3, label LBL_2 LBL_2: store i32 1, i32* %2, align 4 store i64 %0, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 0, 2, 1 } }
0
BinRealVul
ProcXDGACloseFramebuffer_13808
ProcXDGACloseFramebuffer
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 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %4 = icmp ugt i32 %3, %2 store i64 1, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_3 LBL_1: %5 = and i64 %1, 4294967295 %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 1001, i64* %rax.0.reg2mem br i1 %9, label LBL_2, label LBL_3 LBL_2: %10 = call i64 @FUNC(i64 %5) store i64 0, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %5, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder label LBL_3, { 2, 0, 1 } }
0
BinRealVul
spapr_vio_bridge_class_init_2135
spapr_vio_bridge_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 4198657, i64* %arg1, align 8 ret i64 %0 }
0
BinRealVul
cabac_init_decoder_1314
cabac_init_decoder
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 1) %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64 %0) %4 = trunc i64 %3 to i32 %5 = sdiv i32 %4, 16384 %6 = call i64 @FUNC(i64 %0) %7 = trunc i64 %6 to i32 %8 = sdiv i32 %7, 128 %9 = sext i32 %8 to i64 %10 = add i64 %9, %0 %11 = add i64 %0, 8 %12 = zext i32 %5 to i64 %13 = call i64 @FUNC(i64 %11, i64 %10, i64 %12) ret i64 %13 uselistorder i64 %0, { 1, 0, 2, 3, 4, 5 } }
0
BinRealVul
put_unused_buffer_2178
put_unused_buffer
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.lcssa.reg2mem = alloca i64 %sv_0.01.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64 %arg3, 0 %2 = icmp eq i1 %1, false store i64 %arg3, i64* %sv_0.01.reg2mem br i1 %2, label LBL_1, label LBL_2 LBL_1: %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem %3 = icmp ult i64 %sv_0.01.reload, 1024 %4 = select i1 %3, i64 %sv_0.01.reload, i64 1024 %5 = sub i64 %sv_0.01.reload, %4 %6 = call i64 @FUNC(i64 %0, i64* nonnull @gv_0, i64 %4) %7 = icmp eq i64 %5, 0 %8 = icmp eq i1 %7, false store i64 %5, i64* %sv_0.01.reg2mem store i64 %6, i64* %rax.0.lcssa.reg2mem br i1 %8, label LBL_1, label LBL_2 LBL_2: %rax.0.lcssa.reload = load i64, i64* %rax.0.lcssa.reg2mem ret i64 %rax.0.lcssa.reload uselistorder i64* %sv_0.01.reg2mem, { 2, 0, 1 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
colo_packet_compare_icmp_15057
colo_packet_compare_icmp
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = mul i64 %1, 4 %5 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0)) %6 = add i64 %4, 14 %7 = and i64 %6, 4294967294 %8 = call i64 @FUNC(i64 %2, i64 %3, i64 %7) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 store i64 0, i64* %storemerge.reg2mem br i1 %10, label LBL_3, label LBL_1 LBL_1: %11 = add i64 %2, 8 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = zext i32 %13 to i64 %15 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i64 %14) %16 = add i64 %3, 8 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = zext i32 %18 to i64 %20 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0), i64 %19) %21 = call i64 @FUNC(i64 1) %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 0 store i64 4294967295, i64* %storemerge.reg2mem br i1 %23, label LBL_3, label LBL_2 LBL_2: %24 = load i32, i32* %12, align 4 %25 = load i64, i64* @gv_3, align 8 %26 = add i64 %2, 16 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = zext i32 %24 to i64 %30 = call i64 @FUNC(i64 %28, i64 %25, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_4, i64 0, i64 0), i64 %29) %31 = load i32, i32* %17, align 4 %32 = load i64, i64* @gv_3, align 8 %33 = add i64 %3, 16 %34 = inttoptr i64 %33 to i64* %35 = load i64, i64* %34, align 8 %36 = zext i32 %31 to i64 %37 = call i64 @FUNC(i64 %35, i64 %32, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_5, i64 0, i64 0), i64 %36) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64, i64, i8*, i64)* @qemu_hexdump, { 1, 0 } uselistorder i64 1, { 2, 1, 0 } uselistorder i64 (i8*, i64)* @trace_colo_compare_icmp_miscompare, { 1, 0 } uselistorder i32 0, { 1, 2, 0 } uselistorder label LBL_3, { 2, 1, 0 } }
1
BinRealVul
xmlParse3986Fragment_10861
xmlParse3986Fragment
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %.reg2mem = alloca i32 %storemerge1.reg2mem = alloca i64 %0 = icmp eq i64* %arg2, null %1 = icmp eq i1 %0, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %1, label LBL_1, label LBL_14 LBL_1: %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %cond = icmp eq i64* %arg1, null %4 = add i64 %3, 72 %5 = inttoptr i64 %4 to i32* store i64 %2, i64* %storemerge1.reg2mem br label LBL_3 LBL_2: %6 = add i64 %storemerge1.reload, 1 store i64 %6, i64* %storemerge1.reg2mem br label LBL_3 LBL_3: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %7 = call i16** @__ctype_b_loc() %8 = load i16*, i16** %7, align 8 %9 = ptrtoint i16* %8 to i64 %10 = mul i64 %storemerge1.reload, 2 %11 = and i64 %10, 510 %12 = add i64 %11, %9 %13 = inttoptr i64 %12 to i16* %14 = load i16, i16* %13, align 2 %15 = and i16 %14, 8 %16 = icmp eq i16 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_2, label %switch.early.test LBL_4: %18 = inttoptr i64 %storemerge1.reload to i8* %19 = load i8, i8* %18, align 1 switch i8 %19, label LBL_5 [ i8 47, label LBL_2 i8 63, label LBL_2 i8 91, label LBL_2 i8 93, label LBL_2 ] LBL_5: br i1 %cond, label LBL_13, label LBL_6 LBL_6: %20 = load i32, i32* %5, align 4 %21 = urem i32 %20, 2 %22 = icmp eq i32 %21, 0 br i1 %22, label LBL_8, label LBL_7 LBL_7: switch i64 %storemerge1.reload, label LBL_8 [ i64 125, label LBL_2 i64 124, label LBL_2 i64 123, label LBL_2 i64 96, label LBL_2 i64 94, label LBL_2 i64 92, label LBL_2 i64 62, label LBL_2 i64 60, label LBL_2 i64 37, label LBL_2 i64 35, label LBL_2 i64 34, label LBL_2 i64 32, label LBL_2 ] LBL_8: %23 = add i64 %3, 64 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = icmp eq i64 %25, 0 store i32 %20, i32* %.reg2mem br i1 %26, label LBL_10, label LBL_9 LBL_9: %27 = call i64 @FUNC(i64 %25) %.pre = load i32, i32* %5, align 4 store i32 %.pre, i32* %.reg2mem br label LBL_10 LBL_10: %.reload = load i32, i32* %.reg2mem %28 = and i32 %.reload, 2 %29 = icmp eq i32 %28, 0 %30 = sub i64 %storemerge1.reload, %2 br i1 %29, label LBL_12, label LBL_11 LBL_11: %31 = bitcast i64* %arg2 to i8* %32 = trunc i64 %30 to i32 %33 = call i8* @strndup(i8* %31, i32 %32) %34 = ptrtoint i8* %33 to i64 store i64 %34, i64* %24, align 8 br label LBL_13 LBL_12: %35 = and i64 %30, 4294967295 %36 = call i64 @FUNC(i64 %2, i64 %35, i64 0) store i64 %36, i64* %24, align 8 br label LBL_13 LBL_13: store i64 %storemerge1.reload, i64* %arg2, align 8 store i64 0, i64* %storemerge.reg2mem br label LBL_14 LBL_14: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %30, { 1, 0 } uselistorder i64* %24, { 1, 0, 2 } uselistorder i64 %storemerge1.reload, { 5, 4, 3, 0, 2, 6, 1 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i8* (i8*, i32)* @strndup, { 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder i64 4294967295, { 1, 0 } uselistorder i64* %arg2, { 0, 1, 3, 2 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_13, { 1, 2, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
add_pixels_clamped_mmx_1748
add_pixels_clamped_mmx
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = load i64, i64* @gv_0, align 8 %5 = call i128 @__asm_movq.1(i64 %4) %6 = call i64 @FUNC(i128 %5) %7 = sext i32 %arg3 to i64 %8 = mul i32 %arg3, 2 %9 = sext i32 %8 to i64 store i64 %3, i64* %sv_2.0.reg2mem store i64 %2, i64* %sv_1.0.reg2mem store i32 4, i32* %sv_0.0.reg2mem br label LBL_1 LBL_1: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %10 = add i64 %sv_1.0.reload, %7 %11 = inttoptr i64 %sv_2.0.reload to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @__asm_movq.2(i64 %12) %14 = add i64 %sv_2.0.reload, 8 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = call i64 @__asm_movq.2(i64 %16) %18 = add i64 %sv_2.0.reload, 16 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = call i64 @__asm_movq.2(i64 %20) %22 = add i64 %sv_2.0.reload, 24 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = call i64 @__asm_movq.2(i64 %24) %26 = inttoptr i64 %sv_1.0.reload to i64* %27 = load i64, i64* %26, align 8 %28 = call i64 @__asm_movq.2(i64 %27) %29 = inttoptr i64 %10 to i64* %30 = load i64, i64* %29, align 8 %31 = call i64 @__asm_movq.2(i64 %30) %32 = call i64 @__asm_movq.2(i64 %28) %33 = call i64 @FUNC(i64 %28, i64 %1) %34 = call i64 @FUNC(i64 %32, i64 %1) %35 = call i64 @FUNC(i64 %13, i64 %33) %36 = call i64 @FUNC(i64 %17, i64 %34) %37 = call i64 @__asm_movq.2(i64 %31) %38 = call i64 @FUNC(i64 %31, i64 %1) %39 = call i64 @FUNC(i64 %37, i64 %1) %40 = call i64 @FUNC(i64 %21, i64 %38) %41 = call i64 @FUNC(i64 %25, i64 %39) %42 = call i64 @FUNC(i64 %35, i64 %36) %43 = call i64 @FUNC(i64 %40, i64 %41) %44 = load i64, i64* %26, align 8 call void @__asm_movq.3(i64 %44, i64 %42) %45 = load i64, i64* %29, align 8 call void @__asm_movq.3(i64 %45, i64 %43) %46 = add i64 %sv_1.0.reload, %9 %47 = add i64 %sv_2.0.reload, 32 %48 = add nsw i32 %sv_0.0.reload, -1 %49 = icmp eq i32 %48, 0 %50 = icmp eq i1 %49, false store i64 %47, i64* %sv_2.0.reg2mem store i64 %46, i64* %sv_1.0.reg2mem store i32 %48, i32* %sv_0.0.reg2mem br i1 %50, label LBL_1, label LBL_2 LBL_2: ret i64 %9 uselistorder i64 %31, { 1, 0 } uselistorder i64 %28, { 1, 0 } uselistorder i64 %sv_2.0.reload, { 4, 3, 2, 1, 0 } uselistorder i64 %sv_1.0.reload, { 2, 0, 1 } uselistorder i64 %9, { 1, 0 } uselistorder i64 %1, { 3, 0, 1, 2 } uselistorder i64* %sv_2.0.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 } }
0
BinRealVul
amdgpu_gem_va_update_vm_4431
amdgpu_gem_va_update_vm
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %rax.1.reg2mem = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %0 = ptrtoint i64* %arg2 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64 %1, i64* %rax.1.reg2mem br i1 %3, label LBL_7, label LBL_1 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i64 %4, i64 %0, i64 0) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false store i32 %6, i32* %sv_0.0.reg2mem store i64 %5, i64* %rax.0.reg2mem br i1 %8, label LBL_5, label LBL_2 LBL_2: %9 = trunc i64 %arg5 to i32 %10 = icmp ne i32 %9, 1 %11 = icmp eq i32 %9, 2 %12 = icmp eq i1 %11, false %or.cond = icmp eq i1 %10, %12 br i1 %or.cond, label LBL_4, label LBL_3 LBL_3: %13 = ptrtoint i64* %arg3 to i64 %14 = call i64 @FUNC(i64 %4, i64 %13, i64 0) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false store i32 %15, i32* %sv_0.0.reg2mem store i64 %14, i64* %rax.0.reg2mem br i1 %17, label LBL_5, label LBL_4 LBL_4: %18 = call i64 @FUNC(i64 %4, i64 %0) %19 = trunc i64 %18 to i32 store i32 %19, i32* %sv_0.0.reg2mem store i64 %18, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %20 = add i32 %sv_0.0.reload, 1 %21 = icmp ult i32 %20, 2 store i64 %rax.0.reload, i64* %rax.1.reg2mem br i1 %21, label LBL_7, label LBL_6 LBL_6: %22 = zext i32 %sv_0.0.reload to i64 %23 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_0, i64 0, i64 0), i64 %22) store i64 %23, i64* %rax.1.reg2mem br label LBL_7 LBL_7: %rax.1.reload = load i64, i64* %rax.1.reg2mem ret i64 %rax.1.reload uselistorder i32 2, { 1, 0 } uselistorder i1 false, { 1, 0, 2 } uselistorder label LBL_7, { 1, 2, 0 } uselistorder label LBL_5, { 2, 0, 1 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
diffcore_pickaxe_3850
diffcore_pickaxe
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %.lcssa.reg2mem = alloca i64 %storemerge1.reg2mem = alloca i32 %.reg2mem5 = alloca i64 %.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = inttoptr i64 %arg1 to i8* %1 = call i32 @strlen(i8* %0) %2 = sext i32 %1 to i64 store i64 0, i64* %sv_0, align 8 %3 = load i32, i32* @gv_0, align 4 %4 = icmp eq i32 %3, 0 %5 = load i64, i64* @gv_1, align 8 store i64 %5, i64* %.reg2mem store i64 0, i64* %.reg2mem5 store i32 0, i32* %storemerge1.reg2mem store i64 %5, i64* %.lcssa.reg2mem br i1 %4, label LBL_13, label LBL_1 LBL_1: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem %.reload6 = load i64, i64* %.reg2mem5 %.reload = load i64, i64* %.reg2mem %6 = mul i64 %.reload6, 8 %7 = add i64 %6, %.reload %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 = call i64 @FUNC(i64 %11) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false %16 = add i64 %9, 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = call i64 @FUNC(i64 %18) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 br i1 %15, label LBL_5, label LBL_2 LBL_2: br i1 %21, label LBL_12, label LBL_3 LBL_3: %22 = load i64, i64* %17, align 8 %23 = call i64 @FUNC(i64 %22, i64 %arg1, i64 %2) %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, 0 br i1 %25, label LBL_11, label LBL_4 LBL_4: %26 = call i64 @FUNC(i64* nonnull %sv_0, i64 %9) br label LBL_11 LBL_5: %27 = icmp eq i1 %21, false br i1 %27, label LBL_8, label LBL_6 LBL_6: %28 = load i64, i64* %10, align 8 %29 = call i64 @FUNC(i64 %28, i64 %arg1, i64 %2) %30 = trunc i64 %29 to i32 %31 = icmp eq i32 %30, 0 br i1 %31, label LBL_11, label LBL_7 LBL_7: %32 = call i64 @FUNC(i64* nonnull %sv_0, i64 %9) br label LBL_11 LBL_8: %33 = call i64 @FUNC(i64 %9) %34 = trunc i64 %33 to i32 %35 = icmp eq i32 %34, 0 %36 = icmp eq i1 %35, false br i1 %36, label LBL_11, label LBL_9 LBL_9: %37 = load i64, i64* %10, align 8 %38 = call i64 @FUNC(i64 %37, i64 %arg1, i64 %2) %39 = trunc i64 %38 to i32 %40 = load i64, i64* %17, align 8 %41 = call i64 @FUNC(i64 %40, i64 %arg1, i64 %2) %42 = trunc i64 %41 to i32 %43 = icmp eq i32 %39, %42 br i1 %43, label LBL_11, label LBL_10 LBL_10: %44 = call i64 @FUNC(i64* nonnull %sv_0, i64 %9) br label LBL_11 LBL_11: %45 = call i64 @FUNC(i64 %9) br label LBL_12 LBL_12: %46 = add i32 %storemerge1.reload, 1 %47 = load i32, i32* @gv_0, align 4 %48 = zext i32 %47 to i64 %49 = sext i32 %46 to i64 %50 = icmp slt i64 %49, %48 %51 = load i64, i64* @gv_1, align 8 store i64 %51, i64* %.reg2mem store i64 %49, i64* %.reg2mem5 store i32 %46, i32* %storemerge1.reg2mem store i64 %51, i64* %.lcssa.reg2mem br i1 %50, label LBL_1, label LBL_13 LBL_13: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %52 = inttoptr i64 %.lcssa.reload to i64* call void @free(i64* %52) %53 = load i64, i64* %sv_0, align 8 store i64 %53, i64* @gv_1, align 8 store i32 0, i32* @gv_0, align 4 ret i64 %53 uselistorder i64 %53, { 1, 0 } uselistorder i1 %21, { 1, 0 } uselistorder i64* %17, { 1, 0, 2 } uselistorder i64* %10, { 1, 0, 2 } uselistorder i64 %9, { 3, 2, 4, 1, 0, 5, 6 } uselistorder i64 %2, { 2, 3, 1, 0 } uselistorder i64* %sv_0, { 3, 0, 1, 2, 4 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem5, { 2, 0, 1 } uselistorder i32* %storemerge1.reg2mem, { 2, 0, 1 } uselistorder void (i64*)* @free, { 1, 0 } uselistorder i64 (i64*, i64)* @diff_q, { 2, 1, 0 } uselistorder i64 (i64, i64, i64)* @contains, { 3, 2, 1, 0 } uselistorder i64 (i64)* @DIFF_FILE_VALID, { 1, 0 } uselistorder i64 8, { 2, 0, 1, 3 } uselistorder i32 1, { 6, 5, 3, 2, 1, 0, 4 } uselistorder i64 %arg1, { 2, 3, 1, 0, 4 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_11, { 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
napi_reuse_skb_17850
napi_reuse_skb
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %0) %3 = and i64 %2, 4294967295 %4 = call i64 @FUNC(i64 %0, i64 %3) %5 = call i64 @FUNC(i64 %0) %6 = sub i64 2, %5 %7 = and i64 %6, 4294967295 %8 = call i64 @FUNC(i64 %0, i64 %7) %9 = bitcast i64* %arg2 to i32* store i32 0, i32* %9, align 4 store i64 %0, i64* %arg1, align 8 ret i64 %1 }
1
BinRealVul
__cil_build_ast_first_child_helper_6316
__cil_build_ast_first_child_helper
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %.reg2mem8 = alloca i32 %.reg2mem6 = alloca i32 %.reg2mem4 = alloca i32 %.reg2mem = alloca i32 %rsi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = bitcast i64* %rsi to i32* %4 = trunc i64 %1 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i32 %4, i32* %.reg2mem br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = add i64 %2, 8 %8 = inttoptr i64 %7 to i64* store i64 %2, i64* %8, align 8 %.pre = load i32, i32* %3, align 8 store i32 %.pre, i32* %.reg2mem br label LBL_2 LBL_2: %.reload = load i32, i32* %.reg2mem %9 = icmp eq i32 %.reload, 1 %10 = icmp eq i1 %9, false store i32 %.reload, i32* %.reg2mem4 br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = add i64 %2, 16 %12 = inttoptr i64 %11 to i64* store i64 %2, i64* %12, align 8 %.pre1 = load i32, i32* %3, align 8 store i32 %.pre1, i32* %.reg2mem4 br label LBL_4 LBL_4: %.reload5 = load i32, i32* %.reg2mem4 %13 = icmp eq i32 %.reload5, 2 %14 = icmp eq i1 %13, false store i32 %.reload5, i32* %.reg2mem6 br i1 %14, label LBL_6, label LBL_5 LBL_5: %15 = add i64 %2, 24 %16 = inttoptr i64 %15 to i64* store i64 %2, i64* %16, align 8 %.pre2 = load i32, i32* %3, align 8 store i32 %.pre2, i32* %.reg2mem6 br label LBL_6 LBL_6: %.reload7 = load i32, i32* %.reg2mem6 %17 = icmp eq i32 %.reload7, 3 %18 = icmp eq i1 %17, false store i32 %.reload7, i32* %.reg2mem8 br i1 %18, label LBL_8, label LBL_7 LBL_7: %19 = add i64 %2, 32 %20 = inttoptr i64 %19 to i64* store i64 %2, i64* %20, align 8 %.pre3 = load i32, i32* %3, align 8 store i32 %.pre3, i32* %.reg2mem8 br label LBL_8 LBL_8: %.reload9 = load i32, i32* %.reg2mem8 %21 = icmp eq i32 %.reload9, 4 %22 = icmp eq i1 %21, false br i1 %22, label LBL_10, label LBL_9 LBL_9: %23 = add i64 %2, 40 %24 = inttoptr i64 %23 to i64* store i64 %2, i64* %24, align 8 br label LBL_10 LBL_10: ret i64 0 uselistorder i64 %2, { 7, 8, 5, 6, 3, 4, 1, 2, 9, 0 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem4, { 0, 2, 1 } uselistorder i32* %.reg2mem6, { 0, 2, 1 } uselistorder i32* %.reg2mem8, { 0, 2, 1 } }
0
BinRealVul
send_pptp_stop_ctrl_conn_rply_9443
send_pptp_stop_ctrl_conn_rply
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %sv_0 = alloca i8, align 1 store i8 1, i8* %sv_0, align 1 %0 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4 %1 = icmp eq i32 %0, 0 br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = urem i64 %arg3, 256 %3 = urem i64 %arg2, 256 %4 = call i64 @FUNC(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2) br label LBL_2 LBL_2: %5 = ptrtoint i64* %arg1 to i64 %6 = call i64 @FUNC(i64 %5, i8* nonnull %sv_0, i64 3) ret i64 %6 }
0
BinRealVul
decode_interrupt_cb_16417
decode_interrupt_cb
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %1 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4 %2 = sub i32 %0, %1 %3 = xor i32 %1, %0 %4 = xor i32 %2, %0 %5 = and i32 %4, %3 %6 = icmp slt i32 %5, 0 %7 = icmp eq i32 %2, 0 %8 = icmp slt i32 %2, 0 %9 = icmp eq i1 %8, %6 %10 = icmp eq i1 %7, false %11 = icmp eq i1 %9, %10 %12 = zext i1 %11 to i64 ret i64 %12 uselistorder i32 %2, { 1, 2, 0 } }
1
BinRealVul
ff_amf_tag_size_10666
ff_amf_tag_size
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %0 = ptrtoint i32* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = icmp ult i64 %0, %arg2 store i64 4294967295, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_7 LBL_1: %2 = sub i64 %arg2, %0 %3 = call i64 @FUNC(i64* nonnull %sv_0, i64 %0, i64 %2) %4 = call i64 @FUNC(i64* nonnull %sv_0) %5 = trunc i64 %4 to i32 %6 = icmp slt i32 %5, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %6, label LBL_7, label LBL_2 LBL_2: %7 = call i64 @FUNC(i64* nonnull %sv_0) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp slt i32 %8, 0 %11 = icmp eq i1 %10, false %12 = icmp eq i1 %9, false %13 = icmp eq i1 %11, %12 store i64 4294967295, i64* %rax.0.reg2mem br i1 %13, label LBL_3, label LBL_7 LBL_3: %14 = call i64 @FUNC(i64* nonnull %sv_0) %15 = trunc i64 %14 to i32 %16 = icmp slt i32 %15, 0 br i1 %16, label LBL_5, label LBL_4 LBL_4: %17 = call i64 @FUNC(i64* nonnull %sv_0) %sext = mul i64 %17, 4294967296 %18 = ashr exact i64 %sext, 32 %19 = icmp sgt i64 %18, %2 store i64 1, i64* %storemerge.reg2mem br i1 %19, label LBL_5, label LBL_6 LBL_5: store i64 0, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem %20 = call i64 @FUNC(i64 %storemerge.reload) %21 = call i64 @FUNC(i64* nonnull %sv_0) 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 i32 %8, { 1, 0 } uselistorder i64 %0, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 } uselistorder i64 (i64*)* @bytestream2_tell, { 2, 1, 0 } uselistorder i1 false, { 1, 0, 2, 3 } uselistorder label LBL_7, { 3, 1, 0, 2 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
qmp_nbd_server_stop_1671
qmp_nbd_server_stop
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64* nonnull @gv_0) %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 0 br i1 %2, label LBL_1, label LBL_2 LBL_1: %3 = call i64 @FUNC(i64* nonnull @gv_0) %4 = add i64 %3, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = call i64 @FUNC(i64 %6) %8 = call i64 @FUNC(i64 %3, i64 %7) %9 = call i64 @FUNC(i64* nonnull @gv_0) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_1, label LBL_2 LBL_2: %12 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4 %13 = icmp eq i32 %12, -1 store i64 4294967295, i64* %rax.0.reg2mem br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = load i32, i32* @gv_1, align 4 %15 = zext i32 %14 to i64 %16 = call i64 @FUNC(i64 %15, i64 0, i64 0, i64 0, i64 0) %17 = load i32, i32* @gv_1, align 4 %18 = call i32 @close(i32 %17) %19 = sext i32 %18 to i64 store i32 -1, i32* @gv_1, align 4 store i64 %19, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* @gv_1, { 2, 1, 0 } uselistorder i32 -1, { 2, 0, 1 } uselistorder i32 0, { 1, 0 } uselistorder i64 (i64*)* @QTAILQ_EMPTY, { 1, 0 } uselistorder i64* @gv_0, { 2, 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
qemu_irq_split_16163
qemu_irq_split
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 16) %1 = inttoptr i64 %0 to i64* store i64 %arg1, i64* %1, align 8 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* store i64 %arg2, i64* %3, align 8 %4 = call i64 @FUNC(i64 4198809, i64 %0, i64 1) %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 ret i64 %6 }
1
BinRealVul
parse_dsd_diin_2125
parse_dsd_diin
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = add i64 %1, 12 %3 = icmp ugt i64 %2, %arg3 store i64 0, i64* %storemerge.reg2mem br i1 %3, label LBL_7, label LBL_6 LBL_1: %4 = call i64 @FUNC(i64 %0) %5 = trunc i64 %4 to i32 %6 = call i64 @FUNC(i64 %0) %7 = trunc i64 %6 to i32 %8 = call i64 @FUNC(i64 %0) %switch.selectcmp = icmp eq i32 %5, 1145656393 %switch.select = select i1 %switch.selectcmp, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i8* null %switch.selectcmp5 = icmp eq i32 %5, 1145651538 %switch.select6 = select i1 %switch.selectcmp5, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0), i8* %switch.select %9 = icmp eq i8* %switch.select6, null %10 = icmp ult i32 %7, 5 %or.cond = or i1 %10, %9 br i1 %or.cond, label LBL_1.LBL_5_crit_edge, label LBL_3 LBL_2: %.pre = mul i64 %6, 4294967296 %.pre9 = ashr exact i64 %.pre, 32 store i64 %.pre9, i64* %.pre-phi.reg2mem br label LBL_5 LBL_3: %11 = call i64 @FUNC(i64 %0) %sext = mul i64 %6, 4294967296 %12 = ashr exact i64 %sext, 32 %13 = add nsw i64 %12, -4 %14 = and i64 %11, 4294967295 %15 = icmp ugt i64 %13, %14 %16 = select i1 %15, i64 %14, i64 %13 %17 = ptrtoint i8* %switch.select6 to i64 %18 = call i64 @FUNC(i64 %0, i64 %17, i64 %16) %19 = trunc i64 %18 to i32 %20 = icmp slt i32 %19, 0 %21 = icmp eq i1 %20, false store i64 %12, i64* %.pre-phi.reg2mem br i1 %21, label LBL_5, label LBL_4 LBL_4: %22 = call i64 @FUNC(i64 %0, i64 0, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_2, i64 0, i64 0), i64 %17) %23 = and i64 %18, 4294967295 store i64 %23, i64* %storemerge.reg2mem br label LBL_7 LBL_5: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %24 = call i64 @FUNC(i64 %0) %25 = urem i64 %6, 2 %26 = add i64 %25, %8 %27 = add i64 %26, %.pre-phi.reload %28 = sub i64 %27, %24 %29 = call i64 @FUNC(i64 %0, i64 %28) %30 = call i64 @FUNC(i64 %0) %31 = add i64 %30, 12 %32 = icmp ugt i64 %31, %arg3 store i64 0, i64* %storemerge.reg2mem br i1 %32, label LBL_7, label LBL_6 LBL_6: %33 = call i64 @FUNC(i64 %0) %34 = trunc i64 %33 to i32 %35 = icmp eq i32 %34, 0 store i64 0, i64* %storemerge.reg2mem br i1 %35, label LBL_1, label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i8* %switch.select6, { 1, 0 } uselistorder i64 %6, { 2, 0, 1, 3 } uselistorder i64 %0, { 9, 10, 4, 5, 1, 2, 3, 6, 8, 7, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 1, 2, 4, 3 } uselistorder i32 0, { 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder i8* null, { 1, 0 } uselistorder i64 12, { 1, 0 } uselistorder i64 (i64)* @avio_tell, { 1, 3, 2, 0 } uselistorder i64 %arg3, { 1, 0 } uselistorder label LBL_7, { 0, 1, 3, 2 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
nfs_map_name_to_uid_8591
nfs_map_name_to_uid
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.1.reg2mem = alloca i32 %sv_0.01.reg2mem = alloca i32 %1 = load i64, i64* %0 %sv_1 = alloca i32, align 4 store i32 -1, i32* %sv_1, align 4 %2 = call i64 @FUNC(i64 %arg2, i64 %arg3, i32* nonnull %sv_1) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false store i32 0, i32* %sv_0.01.reg2mem br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = ptrtoint i64* %arg1 to i64 %7 = call i64 @FUNC(i64 %arg2, i64 %arg3, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i32* nonnull %sv_1, i64 %6) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false store i32 %8, i32* %sv_0.01.reg2mem store i32 %8, i32* %sv_0.1.reg2mem br i1 %10, label LBL_3, label LBL_2 LBL_2: %11 = trunc i64 %1 to i32 %sv_0.01.reload = load i32, i32* %sv_0.01.reg2mem %12 = load i32, i32* %sv_1, align 4 %13 = zext i32 %12 to i64 %14 = call i64 @FUNC(i64 4210725, i64 %13) %15 = trunc i64 %14 to i32 %16 = bitcast i64* %arg4 to i32* store i32 %15, i32* %16, align 4 %17 = call i64 @FUNC(i32 %11) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 %20 = icmp eq i1 %19, false %spec.select = select i1 %20, i32 %sv_0.01.reload, i32 -34 store i32 %spec.select, i32* %sv_0.1.reg2mem br label LBL_3 LBL_3: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %21 = load i32, i32* %sv_1, align 4 %22 = call i64 @FUNC(i64 %arg2, i64 %arg3, i32 %21, i32 %sv_0.1.reload) %23 = zext i32 %sv_0.1.reload to i64 ret i64 %23 uselistorder i32* %sv_1, { 2, 3, 0, 1, 4 } uselistorder i32* %sv_0.01.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 1, 2, 0, 3 } uselistorder i32 -1, { 1, 0 } uselistorder i64 %arg3, { 1, 0, 2 } uselistorder i64 %arg2, { 1, 0, 2 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
tg3_issue_otp_command_10901
tg3_issue_otp_command
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %.reg2mem = alloca i64 %storemerge12.reg2mem = alloca i32 %0 = urem i64 %arg2, 2147483648 %1 = or i64 %0, 2147483648 %2 = call i64 @FUNC(i64 4096, i64 %1) %3 = and i64 %arg2, 4294967295 %4 = call i64 @FUNC(i64 4096, i64 %3) store i32 0, i32* %storemerge12.reg2mem br label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 4100) %6 = urem i64 %5, 2 %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false store i64 0, i64* %.reg2mem br i1 %8, label LBL_3, label LBL_2 LBL_2: %storemerge12.reload = load i32, i32* %storemerge12.reg2mem %9 = call i64 @FUNC(i64 10) %10 = add nuw nsw i32 %storemerge12.reload, 1 %11 = icmp ult i32 %10, 100 store i32 %10, i32* %storemerge12.reg2mem store i64 4294967280, i64* %.reg2mem br i1 %11, label LBL_1, label LBL_3 LBL_3: %.reload = load i64, i64* %.reg2mem ret i64 %.reload uselistorder i32* %storemerge12.reg2mem, { 1, 0, 2 } uselistorder i64 (i64, i64)* @tw32, { 1, 0 } uselistorder i64 2147483648, { 1, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
ks8695_poll_18242
ks8695_poll
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = ptrtoint i32* %arg1 to i64 %2 = load i64, i64* %0 %sext = mul i64 %arg2, 4294967296 %3 = and i64 %arg2, 4294967295 %4 = call i64 @FUNC(i64 4100) %5 = call i64 @FUNC(i64 %1) %6 = call i64 @FUNC(i64 %1, i64 %3) %7 = ashr exact i64 %sext, 32 %8 = icmp ult i64 %6, %7 %9 = icmp eq i1 %8, false br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = trunc i64 %5 to i32 %11 = urem i32 %10, 32 %12 = shl i32 1, %11 %storemerge = sext i32 %12 to i64 %13 = call i64 @FUNC(i64 %1, i64 %2) %14 = or i64 %4, %storemerge %15 = call i64 @FUNC(i64 %14, i64 4100) %16 = call i64 @FUNC(i64 %1) %17 = call i64 @FUNC(i64 %1, i64 %2) br label LBL_2 LBL_2: ret i64 %6 uselistorder i64 %arg2, { 1, 0 } }
1
BinRealVul
do_compute_hflags_5095
do_compute_hflags
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = load i64, i64* @gv_0, align 8 %2 = mul i64 %1, 2 %3 = load i64, i64* @gv_1, align 8 %4 = or i64 %2, %3 %5 = load i64, i64* @gv_2, align 8 %6 = mul i64 %5, 4 %7 = or i64 %4, %6 %8 = load i64, i64* @gv_3, align 8 %9 = mul i64 %8, 8 %10 = or i64 %7, %9 %11 = load i64, i64* @gv_4, align 8 %12 = mul i64 %11, 16 %13 = or i64 %10, %12 %14 = load i64, i64* @gv_5, align 8 %15 = mul i64 %14, 32 %16 = or i64 %13, %15 %17 = load i64, i64* @gv_6, align 8 %18 = mul i64 %17, 64 %19 = or i64 %16, %18 %20 = load i64, i64* @gv_7, align 8 %21 = mul i64 %20, 128 %22 = or i64 %19, %21 %23 = load i64, i64* @gv_8, align 8 %24 = mul i64 %23, 256 %25 = or i64 %22, %24 %26 = load i64, i64* @gv_9, align 8 %27 = mul i64 %26, 512 %28 = or i64 %25, %27 store i64 %28, i64* %arg1, align 8 %29 = load i64, i64* @gv_10, align 8 %30 = mul i64 %29, 2 %31 = load i64, i64* @gv_11, align 8 %32 = or i64 %30, %0 %33 = or i64 %32, %31 store i64 %33, i64* %arg1, align 8 ret i64 %0 uselistorder i64 %0, { 1, 0 } }
0
BinRealVul
openpic_gbl_read_2412
openpic_gbl_read
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.in.reg2mem = alloca i32 %rcx.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i64 %arg2, i64 %4, i64 %2, i64 %1) %6 = urem i64 %arg2, 16 %7 = icmp eq i64 %6, 0 store i32 -1, i32* %storemerge.in.reg2mem br i1 %7, label LBL_1, label LBL_31 LBL_1: %8 = ptrtoint i64* %arg1 to i64 %9 = icmp eq i64 %arg2, 4320 br i1 %9, label LBL_29, label LBL_2 LBL_2: %10 = icmp ult i64 %arg2, 4321 store i32 -1, i32* %sv_0.0.reg2mem br i1 %10, label LBL_3, label LBL_30 LBL_3: %11 = icmp eq i64 %arg2, 4304 br i1 %11, label LBL_28, label LBL_4 LBL_4: %12 = icmp ult i64 %arg2, 4305 store i32 -1, i32* %sv_0.0.reg2mem br i1 %12, label LBL_5, label LBL_30 LBL_5: %13 = icmp eq i64 %arg2, 4288 br i1 %13, label LBL_28, label LBL_6 LBL_6: %14 = icmp ult i64 %arg2, 4289 store i32 -1, i32* %sv_0.0.reg2mem br i1 %14, label LBL_7, label LBL_30 LBL_7: %15 = icmp eq i64 %arg2, 4272 br i1 %15, label LBL_28, label LBL_8 LBL_8: %16 = icmp ult i64 %arg2, 4273 store i32 -1, i32* %sv_0.0.reg2mem br i1 %16, label LBL_9, label LBL_30 LBL_9: %17 = icmp eq i64 %arg2, 4256 br i1 %17, label LBL_28, label LBL_10 LBL_10: %18 = icmp ult i64 %arg2, 4257 store i32 -1, i32* %sv_0.0.reg2mem br i1 %18, label LBL_11, label LBL_30 LBL_11: %19 = icmp eq i64 %arg2, 4240 store i32 0, i32* %sv_0.0.reg2mem br i1 %19, label LBL_30, label LBL_12 LBL_12: %20 = icmp ult i64 %arg2, 4241 store i32 -1, i32* %sv_0.0.reg2mem br i1 %20, label LBL_13, label LBL_30 LBL_13: %21 = icmp eq i64 %arg2, 4224 br i1 %21, label LBL_25, label LBL_14 LBL_14: %22 = icmp ult i64 %arg2, 4225 store i32 -1, i32* %sv_0.0.reg2mem br i1 %22, label LBL_15, label LBL_30 LBL_15: %23 = icmp eq i64 %arg2, 4128 br i1 %23, label LBL_24, label LBL_16 LBL_16: %24 = icmp ult i64 %arg2, 4129 store i32 -1, i32* %sv_0.0.reg2mem br i1 %24, label LBL_17, label LBL_30 LBL_17: %25 = trunc i64 %3 to i32 %26 = icmp eq i64 %arg2, 4096 store i32 %25, i32* %sv_0.0.reg2mem br i1 %26, label LBL_30, label LBL_18 LBL_18: %27 = icmp ult i64 %arg2, 177 store i32 -1, i32* %sv_0.0.reg2mem br i1 %27, label LBL_19, label LBL_30 LBL_19: %28 = icmp ult i64 %arg2, 128 %29 = icmp eq i1 %28, false br i1 %29, label LBL_22, label LBL_20 LBL_20: %30 = icmp eq i64 %arg2, 0 br i1 %30, label LBL_26, label LBL_21 LBL_21: %31 = icmp ult i64 %arg2, 113 %32 = icmp ult i64 %arg2, 64 %33 = icmp eq i1 %32, false %or.cond = icmp eq i1 %31, %33 store i32 -1, i32* %sv_0.0.reg2mem br i1 %or.cond, label LBL_23, label LBL_30 LBL_22: %34 = add i64 %arg2, 4294967168 %35 = urem i64 %34, 64 %36 = icmp eq i64 %35, 0 br i1 %36, label LBL_27, label %37 LBL_23: %40 = add i64 %arg2, 4294967232 %41 = urem i64 %40, 64 %42 = icmp eq i64 %41, 0 br i1 %42, label LBL_27, label %43 LBL_24: %46 = add i64 %8, 4 %47 = inttoptr i64 %46 to i32* %48 = load i32, i32* %47, align 4 store i32 %48, i32* %sv_0.0.reg2mem br label LBL_30 LBL_25: %49 = add i64 %8, 8 %50 = inttoptr i64 %49 to i32* %51 = load i32, i32* %50, align 4 store i32 %51, i32* %sv_0.0.reg2mem br label LBL_30 LBL_26: %52 = add i64 %8, 12 %53 = inttoptr i64 %52 to i32* %54 = load i32, i32* %53, align 4 store i32 %54, i32* %sv_0.0.reg2mem br label LBL_30 LBL_27: %55 = call i64 @FUNC() %56 = and i64 %55, 4294967295 %57 = call i64 @FUNC(i64 %8, i64 %arg2, i64 %56) %58 = trunc i64 %57 to i32 store i32 %58, i32* %sv_0.0.reg2mem store i64 %arg2, i64* %rcx.0.reg2mem br label LBL_30 LBL_28: %59 = add i64 %arg2, 68719472480 %60 = udiv i64 %59, 16 %61 = trunc i64 %60 to i32 %62 = add i64 %8, 20 %63 = inttoptr i64 %62 to i32* %64 = load i32, i32* %63, align 4 %65 = add i32 %64, %61 %66 = zext i32 %65 to i64 %67 = call i64 @FUNC(i64 %8, i64 %66) %68 = trunc i64 %67 to i32 store i32 %68, i32* %sv_0.0.reg2mem br label LBL_30 LBL_29: %69 = add i64 %8, 16 %70 = inttoptr i64 %69 to i32* %71 = load i32, i32* %70, align 4 store i32 %71, i32* %sv_0.0.reg2mem br label LBL_30 LBL_30: %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %72 = zext i32 %sv_0.0.reload to i64 %73 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i64 %72, i64 %rcx.0.reload, i64 %2, i64 %1) store i32 %sv_0.0.reload, i32* %storemerge.in.reg2mem br label LBL_31 LBL_31: %storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem %storemerge = zext i32 %storemerge.in.reload to i64 ret i64 %storemerge uselistorder i64 %41, { 1, 0 } uselistorder i64 %40, { 1, 0 } uselistorder i64 %35, { 1, 0 } uselistorder i64 %34, { 1, 0 } uselistorder i64 %8, { 6, 5, 4, 1, 0, 3, 2 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %sv_0.0.reg2mem, { 0, 20, 19, 16, 14, 18, 17, 13, 15, 12, 11, 1, 10, 9, 8, 2, 7, 6, 5, 4, 3 } uselistorder i64* %rcx.0.reg2mem, { 0, 3, 1, 2 } uselistorder i32* %storemerge.in.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 4294967295, { 1, 2, 0 } uselistorder i1 false, { 4, 5, 6, 1, 2, 3, 0, 7 } uselistorder i32 -1, { 11, 12, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 16, { 2, 0, 1 } uselistorder i64 (i8*, i8*, i64, i64, i64, i64)* @DPRINTF, { 1, 0 } uselistorder i64 %arg2, { 4, 0, 3, 27, 25, 2, 26, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 1, 28 } uselistorder label LBL_31, { 1, 0 } uselistorder label LBL_30, { 14, 15, 16, 17, 18, 19, 13, 12, 11, 10, 0, 9, 8, 7, 1, 6, 5, 4, 3, 2 } uselistorder label LBL_27, { 2, 0, 3, 1 } }
0
BinRealVul
read_probe_1000
read_probe
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %0 to i8 %2 = icmp eq i8 %1, 74 %3 = icmp eq i1 %2, false br i1 %3, label LBL_4, label LBL_1 LBL_1: %4 = add i64 %0, 1 %5 = inttoptr i64 %4 to i8* %6 = load i8, i8* %5, align 1 %7 = icmp eq i8 %6, 86 %8 = icmp eq i1 %7, false br i1 %8, label LBL_4, label LBL_2 LBL_2: %9 = add i64 %0, 8 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp ult i32 %11, 12 br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = add i64 %0, 4 %14 = inttoptr i64 %13 to i64* %15 = call i32 @memcmp(i64* %14, i64* bitcast ([9 x i8]* @gv_0 to i64*), i32 8) %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false store i64 100, i64* %storemerge.reg2mem br i1 %17, label LBL_4, label LBL_5 LBL_4: store i64 0, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 1, 3, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
pxa2xx_pic_init_3054
pxa2xx_pic_init
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 40) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 0, i64* %storemerge.reg2mem br i1 %2, label LBL_1, label LBL_2 LBL_1: %3 = inttoptr i64 %0 to i64* store i64 %arg2, i64* %3, align 8 %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i64* store i64 %arg1, i64* %5, align 8 %6 = add i64 %0, 16 %7 = inttoptr i64 %6 to i32* store i32 0, i32* %7, align 4 %8 = add i64 %0, 20 %9 = inttoptr i64 %8 to i32* store i32 0, i32* %9, align 4 %10 = add i64 %0, 24 %11 = inttoptr i64 %10 to i32* store i32 0, i32* %11, align 4 %12 = add i64 %0, 28 %13 = inttoptr i64 %12 to i32* store i32 0, i32* %13, align 4 %14 = add i64 %0, 32 %15 = inttoptr i64 %14 to i32* store i32 0, i32* %15, align 4 %16 = add i64 %0, 36 %17 = inttoptr i64 %16 to i32* store i32 0, i32* %17, align 4 %18 = call i64 @FUNC(i64 4198862, i64 %0, i64 2) %19 = load i64, i64* @gv_0, align 8 %20 = load i64, i64* @gv_1, align 8 %21 = call i64 @FUNC(i64 0, i64 %20, i64 %19, i64 %0) %22 = trunc i64 %21 to i32 %23 = call i64 @FUNC(i64 %arg1, i64 1048576, i32 %22) %24 = load i64, i64* @gv_2, align 8 %25 = load i64, i64* @gv_3, align 8 %26 = call i64 @FUNC(i64 %arg2, i64 6, i64 %25, i64 %24, i64 %0) %27 = load i64, i64* @gv_4, align 8 %28 = load i64, i64* @gv_5, align 8 %29 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_6, i64 0, i64 0), i64 0, i64 0, i64 %28, i64 %27, i64 %0) store i64 %18, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 1, 0, 3, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
mark_tree_uninteresting_18278
mark_tree_uninteresting
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i32 %rax.0.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %1 = load i32, i32* %0 %sv_1 = alloca i64, align 8 store i64 %arg1, i64* %sv_1, align 8 %2 = add i64 %arg1, 20 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = urem i32 %4, 2 %6 = zext i32 %5 to i64 %7 = icmp eq i32 %5, 0 %8 = icmp eq i1 %7, false store i64 %6, i64* %rax.0.reg2mem br i1 %8, label LBL_11, label LBL_1 LBL_1: %9 = or i32 %4, 1 store i32 %9, i32* %3, align 4 %10 = load i64, i64* %sv_1, align 8 %11 = call i64 @FUNC(i64 %10) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 store i64 %11, i64* %rax.0.reg2mem br i1 %13, label LBL_11, label LBL_2 LBL_2: %14 = call i64 @FUNC(i64 %arg1) %15 = trunc i64 %14 to i32 %16 = icmp slt i32 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_4, label LBL_3 LBL_3: %18 = call i64 @FUNC(i64 %10) %19 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i64 %18) unreachable LBL_4: %20 = add i64 %arg1, 32 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = add i64 %arg1, 24 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = call i64 @FUNC(i64* nonnull %sv_1, i64 %25, i64 %22) %27 = call i64 @FUNC(i64* nonnull %sv_1, i64* nonnull %sv_0) %28 = trunc i64 %27 to i32 %29 = icmp eq i32 %28, 0 %30 = icmp eq i1 %29, false br i1 %30, label LBL_5, label LBL_10 LBL_5: %31 = zext i32 %1 to i64 br label LBL_6 LBL_6: %32 = call i64 @FUNC(i64 %31) %33 = trunc i64 %32 to i32 switch i32 %33, label LBL_8 [ i32 2, label LBL_7 i32 3, label LBL_9 ] LBL_7: %34 = call i64 @FUNC(i64* nonnull %sv_0) %35 = call i64 @FUNC(i64 %34) br label LBL_8 LBL_8: %36 = call i64 @FUNC(i64* nonnull %sv_1, i64* nonnull %sv_0) %37 = trunc i64 %36 to i32 %38 = icmp eq i32 %37, 0 %39 = icmp eq i1 %38, false br i1 %39, label LBL_6, label LBL_10 LBL_9: %40 = call i64 @FUNC(i64* nonnull %sv_0) %41 = call i64 @FUNC(i64 %40) br label LBL_8 LBL_10: %42 = load i64, i64* %24, align 8 %43 = inttoptr i64 %42 to i64* call void @free(i64* %43) store i64 0, i64* %24, align 8 store i64 %arg1, 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* %24, { 1, 0, 2 } uselistorder i32 %5, { 1, 0 } uselistorder i32 %4, { 1, 0 } uselistorder i64* %sv_1, { 1, 0, 2, 3, 4 } uselistorder i64* %sv_0, { 2, 1, 3, 0 } uselistorder i64 (i64*, i64*)* @tree_entry, { 1, 0 } uselistorder i1 false, { 1, 0, 2, 3 } uselistorder i32 0, { 1, 0, 2, 3, 4 } uselistorder i32 2, { 1, 0 } uselistorder i64 20, { 1, 0 } uselistorder i64 %arg1, { 0, 2, 1, 3, 4, 5 } uselistorder label LBL_11, { 2, 0, 1 } uselistorder label LBL_8, { 1, 0, 2 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
adx_decode_frame_17865
adx_decode_frame
define i64 @FUNC(i32* %arg1, i64 %arg2, i64* %arg3, i32* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.314.reg2mem = alloca i64 %storemerge15.reg2mem = alloca i64 %.in.reg2mem = alloca i32 %.reg2mem27 = alloca i32 %sv_0.2.reg2mem = alloca i64 %.reg2mem25 = alloca i32 %sv_0.110.reg2mem = alloca i64 %storemerge511.reg2mem = alloca i32 %.reg2mem23 = alloca i64 %r8.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i32 %.reg2mem = alloca i32 %1 = load i64, i64* %0 %rdi = alloca i64, align 8 %2 = load i64, i64* %0 %rcx = alloca i64, align 8 %3 = load i64, i64* %0 %4 = ptrtoint i32* %arg1 to i64 %sv_2 = alloca i32, align 4 %5 = add i64 %4, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = add i64 %7, 4 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_2, label LBL_1 LBL_1: %12 = bitcast i64* %arg3 to i32* store i32 0, i32* %12, align 4 %13 = and i64 %3, 4294967295 store i64 %13, i64* %rax.0.reg2mem br label LBL_22 LBL_2: %14 = trunc i64 %3 to i32 %15 = inttoptr i64 %7 to i32* %16 = ptrtoint i32* %arg4 to i64 %17 = add i64 %16, 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = call i64 @FUNC(i64 %19) %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %21, 32768 %23 = icmp eq i1 %22, false br i1 %23, label LBL_2.LBL_8_crit_edge, label LBL_4 LBL_3: %.pre = load i32, i32* %15, align 4 store i32 %.pre, i32* %.reg2mem store i32 %14, i32* %sv_1.0.reg2mem store i64 %19, i64* %sv_0.0.reg2mem br label LBL_8 LBL_4: %24 = add i64 %7, 24 %25 = ptrtoint i32* %sv_2 to i64 store i64 %25, i64* %rcx, align 8 %26 = bitcast i32* %sv_2 to i64* %27 = call i64 @FUNC(i64 %4, i64 %19, i32 %14, i64* nonnull %26, i64 %24) %28 = trunc i64 %27 to i32 %29 = icmp slt i32 %28, 0 %30 = icmp eq i1 %29, false br i1 %30, label LBL_6, label LBL_5 LBL_5: %31 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i64 %25, i64 %24, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_22 LBL_6: %32 = trunc i64 %2 to i32 store i32 %32, i32* %15, align 4 %33 = load i32, i32* %sv_2, align 4 %34 = zext i32 %33 to i64 %sext = mul i64 %3, 4294967296 %35 = ashr exact i64 %sext, 32 %36 = icmp slt i64 %35, %34 store i64 4294967295, i64* %rax.0.reg2mem br i1 %36, label LBL_22, label LBL_7 LBL_7: %37 = sext i32 %33 to i64 %38 = add i64 %19, %37 %39 = sub i32 %14, %33 store i32 %32, i32* %.reg2mem store i32 %39, i32* %sv_1.0.reg2mem store i64 %38, i64* %sv_0.0.reg2mem store i64 %24, i64* %r8.0.reg2mem br label LBL_8 LBL_8: %40 = bitcast i64* %rcx to i32* %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %.reload = load i32, i32* %.reg2mem %41 = mul i32 %.reload, 16 %42 = ashr i32 %sv_1.0.reload, 31 %43 = zext i32 %sv_1.0.reload to i64 %44 = zext i32 %42 to i64 %45 = mul i64 %44, 4294967296 %46 = or i64 %45, %43 %47 = zext i32 %41 to i64 %48 = sdiv i64 %46, %47 %49 = trunc i64 %48 to i32 %50 = icmp eq i32 %49, 0 br i1 %50, label LBL_10, label LBL_9 LBL_9: %51 = bitcast i64* %rdi to i32* %52 = load i32, i32* %51, align 8 %53 = mul i32 %52, 16 %54 = zext i32 %53 to i64 %55 = srem i64 %46, %54 %56 = trunc i64 %55 to i32 %57 = icmp eq i32 %56, 0 br i1 %57, label LBL_13, label LBL_10 LBL_10: %58 = icmp slt i32 %sv_1.0.reload, 4 store i64 4294967295, i64* %rax.0.reg2mem br i1 %58, label LBL_22, label LBL_11 LBL_11: %59 = call i64 @FUNC(i64 %sv_0.0.reload) %60 = trunc i64 %59 to i16 %61 = icmp sgt i16 %60, -1 store i64 4294967295, i64* %rax.0.reg2mem br i1 %61, label LBL_22, label LBL_12 LBL_12: store i32 1, i32* %9, align 4 %62 = bitcast i64* %arg3 to i32* store i32 0, i32* %62, align 4 %63 = load i32, i32* %40, align 8 %64 = zext i32 %63 to i64 store i64 %64, i64* %rax.0.reg2mem br label LBL_22 LBL_13: %r8.0.reload = load i64, i64* %r8.0.reg2mem %65 = mul i32 %49, 16 %66 = add i64 %7, 8 %67 = inttoptr i64 %66 to i32* store i32 %65, i32* %67, align 4 store i64 %66, i64* %rcx, align 8 %68 = trunc i64 %4 to i32 %69 = icmp slt i32 %68, 0 %70 = icmp eq i1 %69, false br i1 %70, label LBL_15, label LBL_14 LBL_14: %71 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i64 %66, i64 %r8.0.reload, i64 %1) %72 = and i64 %4, 4294967295 store i64 %72, i64* %rax.0.reg2mem br label LBL_22 LBL_15: %73 = add i64 %7, 16 %74 = inttoptr i64 %73 to i64* %75 = load i64, i64* %74, align 8 %.pre19 = load i32, i32* %15, align 4 store i32 %.pre19, i32* %.reg2mem27 store i32 %49, i32* %.in.reg2mem store i64 %75, i64* %storemerge15.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.314.reg2mem br label LBL_20 LBL_16: %sv_0.110.reload = load i64, i64* %sv_0.110.reg2mem %storemerge511.reload = load i32, i32* %storemerge511.reg2mem %.reload24 = load i64, i64* %.reg2mem23 %76 = mul i64 %.reload24, 2 %77 = add i64 %76, %storemerge15.reload %78 = call i64 @FUNC(i64 %7, i64 %77, i64 %sv_0.110.reload, i32 %storemerge511.reload) %79 = trunc i64 %78 to i32 %80 = icmp eq i32 %79, 0 br i1 %80, label LBL_18, label LBL_17 LBL_17: store i32 1, i32* %9, align 4 %81 = load i64, i64* %18, align 8 %82 = load i32, i32* %40, align 8 %83 = sext i32 %82 to i64 %84 = add i64 %81, %83 %.pre20 = load i32, i32* %15, align 4 store i32 %.pre20, i32* %.reg2mem25 store i64 %84, i64* %sv_0.2.reg2mem br label LBL_19 LBL_18: %85 = add i64 %sv_0.110.reload, 16 %86 = add i32 %storemerge511.reload, 1 %87 = load i32, i32* %15, align 4 %88 = zext i32 %87 to i64 %89 = sext i32 %86 to i64 %90 = icmp slt i64 %89, %88 store i64 %89, i64* %.reg2mem23 store i32 %86, i32* %storemerge511.reg2mem store i64 %85, i64* %sv_0.110.reg2mem store i32 %87, i32* %.reg2mem25 store i64 %85, i64* %sv_0.2.reg2mem br i1 %90, label LBL_16, label LBL_19 LBL_19: %91 = add i32 %.in.reload, -1 %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem %.reload26 = load i32, i32* %.reg2mem25 %92 = mul i32 %.reload26, 16 %93 = sext i32 %92 to i64 %94 = mul i64 %93, 2 %95 = add i64 %94, %storemerge15.reload %96 = icmp eq i32 %91, 0 %97 = icmp eq i1 %96, false store i32 %.reload26, i32* %.reg2mem27 store i32 %91, i32* %.in.reg2mem store i64 %95, i64* %storemerge15.reg2mem store i64 %sv_0.2.reload, i64* %sv_0.314.reg2mem br i1 %97, label LBL_20, label LBL_21 LBL_20: %sv_0.314.reload = load i64, i64* %sv_0.314.reg2mem %storemerge15.reload = load i64, i64* %storemerge15.reg2mem %.in.reload = load i32, i32* %.in.reg2mem %.reload28 = load i32, i32* %.reg2mem27 %98 = icmp eq i32 %.reload28, 0 store i64 0, i64* %.reg2mem23 store i32 0, i32* %storemerge511.reg2mem store i64 %sv_0.314.reload, i64* %sv_0.110.reg2mem store i32 0, i32* %.reg2mem25 store i64 %sv_0.314.reload, i64* %sv_0.2.reg2mem br i1 %98, label LBL_19, label LBL_16 LBL_21: %99 = bitcast i64* %arg3 to i32* store i32 1, i32* %99, align 4 %100 = load i64, i64* %74, align 8 %101 = inttoptr i64 %66 to i64* %102 = load i64, i64* %101, align 8 %103 = inttoptr i64 %arg2 to i64* store i64 %102, i64* %103, align 8 %104 = add i64 %arg2, 8 %105 = inttoptr i64 %104 to i64* store i64 %100, i64* %105, align 8 %106 = load i64, i64* %18, align 8 %107 = sub i64 %sv_0.2.reload, %106 store i64 %107, i64* %rax.0.reg2mem br label LBL_22 LBL_22: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_0.314.reload, { 1, 0 } uselistorder i64 %sv_0.2.reload, { 1, 0 } uselistorder i64 %66, { 1, 0, 2, 3 } uselistorder i32 %sv_1.0.reload, { 2, 0, 1 } uselistorder i32 %33, { 1, 0, 2 } uselistorder i64 %19, { 1, 2, 0, 3 } uselistorder i32* %15, { 4, 0, 1, 3, 2 } uselistorder i32 %14, { 2, 1, 0 } uselistorder i32* %sv_2, { 1, 2, 0 } uselistorder i64 %4, { 4, 2, 3, 0, 1, 5 } uselistorder i64 %3, { 2, 0, 1 } uselistorder i64* %rcx, { 1, 2, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %.reg2mem23, { 1, 2, 0 } uselistorder i32* %storemerge511.reg2mem, { 1, 2, 0 } uselistorder i64* %sv_0.110.reg2mem, { 1, 2, 0 } uselistorder i32* %.reg2mem25, { 2, 0, 1, 3 } uselistorder i64* %sv_0.2.reg2mem, { 2, 0, 1, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 7, 6, 8, 2, 1, 3, 5, 4 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 } uselistorder i64 0, { 0, 7, 3, 4, 8, 5, 6, 1, 2, 9 } uselistorder i64 (i64)* @AV_RB16, { 1, 0 } uselistorder i32 0, { 0, 1, 2, 4, 3, 5, 6, 7, 8, 9, 10, 11 } uselistorder label LBL_22, { 3, 4, 5, 1, 0, 2, 6, 7 } uselistorder label LBL_20, { 1, 0 } uselistorder label LBL_19, { 1, 0, 2 } uselistorder label LBL_8, { 1, 0 } }
1
BinRealVul
gs_alloc_tx_context_8093
gs_alloc_tx_context
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.03.reg2mem = alloca i32 %1 = ptrtoint i64* %arg1 to i64 %2 = load i64, i64* %0 %3 = add i64 %1, 8 %4 = call i64 @FUNC(i64 %3, i64 %2) store i32 0, i32* %sv_0.03.reg2mem br label LBL_1 LBL_1: %sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem %5 = sext i32 %sv_0.03.reload to i64 %6 = mul i64 %5, 8 %7 = add i64 %6, %3 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = icmp eq i64 %9, 10 %11 = icmp eq i1 %10, false br i1 %11, label LBL_3, label LBL_2 LBL_2: store i64 %5, i64* %8, align 8 %12 = call i64 @FUNC(i64 %3, i64 %2) store i64 %7, i64* %storemerge.reg2mem br label LBL_5 LBL_3: %13 = add nuw i32 %sv_0.03.reload, 1 %14 = icmp ult i32 %13, 10 store i32 %13, i32* %sv_0.03.reg2mem br i1 %14, label LBL_1, label LBL_4 LBL_4: %15 = call i64 @FUNC(i64 %3, i64 %2) store i64 0, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %5, { 1, 0 } uselistorder i32 %sv_0.03.reload, { 1, 0 } uselistorder i64 %3, { 1, 2, 0, 3 } uselistorder i32* %sv_0.03.reg2mem, { 1, 0, 2 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
__page_check_address_18080
__page_check_address
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1) %3 = and i64 %2, 4294967295 %4 = call i64 @FUNC(i64 %3) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 %0, i64 %arg3) %8 = call i64 @FUNC(i64 %1) %9 = and i64 %8, 4294967295 %10 = call i64 @FUNC(i64 %9, i64 %0, i64 %7) store i64 %7, i64* %sv_0.0.reg2mem store i64 %10, i64* %storemerge.reg2mem br label LBL_8 LBL_2: %11 = call i64 @FUNC(i64 %0, i64 %arg3) %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false store i64 0, i64* %rax.0.reg2mem br i1 %13, label LBL_3, label LBL_12 LBL_3: %14 = call i64 @FUNC() %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 store i64 0, i64* %rax.0.reg2mem br i1 %16, label LBL_4, label LBL_12 LBL_4: %17 = call i64 @FUNC(i64 %11, i64 %arg3) %18 = trunc i64 %arg5 to i32 %19 = icmp eq i32 %18, 0 %20 = icmp eq i1 %19, false br i1 %20, label LBL_7, label LBL_5 LBL_5: %21 = call i64 @FUNC() %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 0 %24 = icmp eq i1 %23, false br i1 %24, label LBL_7, label LBL_6 LBL_6: %25 = call i64 @FUNC(i64 %17) store i64 0, i64* %rax.0.reg2mem br label LBL_12 LBL_7: %26 = call i64 @FUNC(i64 %0, i64 %11) store i64 %17, i64* %sv_0.0.reg2mem store i64 %26, i64* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %27 = call i64 @FUNC(i64 %storemerge.reload) %28 = call i64 @FUNC() %29 = trunc i64 %28 to i32 %30 = icmp eq i32 %29, 0 br i1 %30, label LBL_11, label LBL_9 LBL_9: %31 = call i64 @FUNC(i64 %1) %32 = call i64 @FUNC() %33 = icmp eq i64 %31, %32 %34 = icmp eq i1 %33, false br i1 %34, label LBL_11, label LBL_10 LBL_10: store i64 %storemerge.reload, i64* %arg4, align 8 store i64 %sv_0.0.reload, i64* %rax.0.reg2mem br label LBL_12 LBL_11: %35 = call i64 @FUNC(i64 %sv_0.0.reload, i64 %storemerge.reload) store i64 0, i64* %rax.0.reg2mem br label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_0.0.reload, { 1, 0 } uselistorder i64 %storemerge.reload, { 1, 2, 0 } uselistorder i64 %1, { 1, 0, 2 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 1, 2 } uselistorder i64 ()* @pte_present, { 1, 0 } uselistorder label LBL_12, { 2, 3, 4, 0, 1 } }
1
BinRealVul
gvconfig_plugin_install_from_config_13143
gvconfig_plugin_install_from_config
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %.reg2mem16 = alloca i32 %storemerge1.reg2mem = alloca i32 %.reg2mem = alloca i32 %storemerge2.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %sv_1 = alloca i64, align 8 store i64 %arg2, i64* %sv_1, align 8 store i32 0, i32* %sv_0, align 4 %3 = call i64 @FUNC(i32* nonnull %sv_0, i64* nonnull %sv_1) %4 = trunc i64 %1 to i8 %5 = icmp eq i8 %4, 0 %6 = icmp eq i1 %5, false store i64 1, i64* %storemerge.reg2mem br i1 %6, label LBL_1, label LBL_12 LBL_1: %7 = call i64 @FUNC(i32* nonnull %sv_0, i64* nonnull %sv_1) %8 = load i32, i32* %sv_0, align 4 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false store i64 ptrtoint (i64* @gv_0 to i64), i64* %storemerge2.reg2mem br i1 %10, label LBL_3, label LBL_2 LBL_2: %11 = call i64 @FUNC(i32* nonnull %sv_0, i64* nonnull %sv_1) store i64 %11, i64* %storemerge2.reg2mem br label LBL_3 LBL_3: %storemerge2.reload = load i64, i64* %storemerge2.reg2mem %12 = call i64 @FUNC(i64 %2, i64 %7, i64 %storemerge2.reload) br label LBL_4 LBL_4: %13 = call i64 @FUNC(i32* nonnull %sv_0, i64* nonnull %sv_1) %14 = call i64 @FUNC(i64 %13) %15 = trunc i64 %14 to i32 %.pre = load i32, i32* %sv_0, align 4 store i32 %.pre, i32* %.reg2mem br label LBL_5 LBL_5: %.reload = load i32, i32* %.reg2mem %16 = icmp eq i32 %.reload, 2 %17 = icmp eq i1 %16, false store i32 %.reload, i32* %.reg2mem16 br i1 %17, label LBL_11, label LBL_6 LBL_6: %18 = call i64 @FUNC(i32* nonnull %sv_0, i64* nonnull %sv_1) %19 = load i32, i32* %sv_0, align 4 %20 = icmp eq i32 %19, 2 %21 = icmp eq i1 %20, false store i32 0, i32* %storemerge1.reg2mem br i1 %21, label LBL_8, label LBL_7 LBL_7: %22 = call i64 @FUNC(i32* nonnull %sv_0, i64* nonnull %sv_1) %23 = inttoptr i64 %22 to i8* %24 = call i32 @atoi(i8* %23) store i32 %24, i32* %storemerge1.reg2mem br label LBL_8 LBL_8: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem %25 = call i64 @FUNC(i64 %2, i32 %15, i64 %18, i32 %storemerge1.reload, i64 %12, i64 0) %26 = trunc i64 %25 to i8 %27 = icmp eq i8 %26, 1 br i1 %27, label LBL_10, label LBL_9 LBL_9: %28 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i64 %7, i64 %13, i64 %18, i64 0) store i64 0, i64* %storemerge.reg2mem br label LBL_12 LBL_10: %.pr = load i32, i32* %sv_0, align 4 store i32 %.pr, i32* %.reg2mem16 br label LBL_11 LBL_11: %.reload17 = load i32, i32* %.reg2mem16 store i32 2, i32* %.reg2mem switch i32 %.reload17, label LBL_1 [ i32 2, label LBL_5 i32 1, label LBL_4 ] LBL_12: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32* %sv_0, { 1, 2, 8, 3, 0, 4, 5, 9, 6, 7, 10 } uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge1.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem16, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 0, { 0, 4, 5, 6, 7, 1, 2, 3, 8 } uselistorder i32 2, { 1, 0, 2, 3 } uselistorder i64 (i32*, i64*)* @token, { 4, 3, 2, 1, 0 } uselistorder i64 1, { 2, 0, 1 } uselistorder i1 false, { 1, 2, 3, 0 } uselistorder i8 0, { 0, 2, 1 } uselistorder i32 0, { 0, 2, 1 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
compare_guards_by_confirmed_idx_10174
compare_guards_by_confirmed_idx
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = trunc i64 %1 to i32 %4 = trunc i64 %2 to i32 %5 = icmp ult i32 %3, %4 %6 = icmp ugt i32 %3, %4 %. = zext i1 %6 to i64 %rax.0 = select i1 %5, i64 4294967295, i64 %. ret i64 %rax.0 uselistorder i32 %4, { 1, 0 } uselistorder i32 %3, { 1, 0 } uselistorder i64* %0, { 1, 0 } }
0
BinRealVul
bm_putc_12779
bm_putc
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = trunc i64 %arg2 to i32 %2 = trunc i64 %arg3 to i32 %sext = mul i64 %arg4, 72057594037927936 %3 = ashr exact i64 %sext, 56 store i64 %3, i64* %sv_0, align 8 %4 = bitcast i64* %sv_0 to i8* %5 = call i64 @FUNC(i64 %0, i32 %1, i32 %2, i8* nonnull %4) ret i64 %5 uselistorder i64* %sv_0, { 1, 0 } }
1
BinRealVul
journal_file_fsprg_evolve_6902
journal_file_fsprg_evolve
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.shrunk.reg2mem = alloca i64 %.reg2mem9 = alloca i32 %sv_0.03.reg2mem = alloca i32 %.reg2mem7 = alloca i32 %.reg2mem = alloca i32 %sv_1 = alloca i32, align 4 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false br i1 %1, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([59 x i8], [59 x i8]* @gv_1, i64 0, i64 0), i32 38, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %2 = ptrtoint i64* %arg1 to i64 %3 = bitcast i32* %sv_1 to i64* %4 = call i64 @FUNC(i64 %2, i64 %arg2, i64* nonnull %3) %5 = trunc i64 %4 to i32 %6 = icmp slt i32 %5, 0 %7 = icmp eq i1 %6, false store i64 %4, i64* %rax.0.shrunk.reg2mem br i1 %7, label LBL_3, label LBL_11 LBL_3: %8 = add i64 %2, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = call i64 @FUNC(i64 %10) %12 = trunc i64 %11 to i32 %13 = load i32, i32* %sv_1, align 4 %14 = sext i32 %13 to i64 %15 = icmp ult i64 %11, %14 %16 = icmp eq i1 %15, false store i32 %13, i32* %.reg2mem br i1 %16, label LBL_5, label LBL_4 LBL_4: %17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_3, i64 0, i64 0), i32 %12, i32 %13) %.pre = load i32, i32* %sv_1, align 4 store i32 %.pre, i32* %.reg2mem br label LBL_5 LBL_5: %.reload = load i32, i32* %.reg2mem %18 = icmp ult i32 %.reload, %12 store i32 %.reload, i32* %.reg2mem7 store i32 %12, i32* %sv_0.03.reg2mem store i64 4294967295, i64* %rax.0.shrunk.reg2mem br i1 %18, label LBL_11, label LBL_6 LBL_6: %sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem %.reload8 = load i32, i32* %.reg2mem7 %19 = icmp eq i32 %sv_0.03.reload, %.reload8 %20 = icmp eq i1 %19, false store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %20, label LBL_7, label LBL_11 LBL_7: %21 = load i64, i64* %9, align 8 %22 = call i64 @FUNC(i64 %21) %23 = load i64, i64* %9, align 8 %24 = call i64 @FUNC(i64 %23) %25 = load i32, i32* %sv_1, align 4 %26 = sext i32 %25 to i64 %27 = icmp ult i64 %24, %26 %28 = icmp eq i1 %27, false store i32 %25, i32* %.reg2mem9 br i1 %28, label LBL_8, label LBL_9 LBL_8: %29 = trunc i64 %24 to i32 %.reload10 = load i32, i32* %.reg2mem9 %30 = icmp ult i32 %.reload10, %29 store i32 %.reload10, i32* %.reg2mem7 store i32 %29, i32* %sv_0.03.reg2mem store i64 4294967295, i64* %rax.0.shrunk.reg2mem br i1 %30, label LBL_11, label LBL_6 LBL_9: %31 = call i64 @FUNC(i64 %2) %32 = trunc i64 %31 to i32 %33 = icmp slt i32 %32, 0 %34 = icmp eq i1 %33, false store i64 %31, i64* %rax.0.shrunk.reg2mem br i1 %34, label LBL_9.LBL_8_crit_edge, label LBL_11 LBL_10: %.pre6 = load i32, i32* %sv_1, align 4 store i32 %.pre6, i32* %.reg2mem9 br label LBL_8 LBL_11: %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 %.reload10, { 1, 0 } uselistorder i32 %13, { 1, 0, 2 } uselistorder i64 %11, { 1, 0 } uselistorder i64* %9, { 1, 0, 2 } uselistorder i32* %sv_1, { 0, 3, 1, 2, 4 } uselistorder i32* %.reg2mem7, { 2, 0, 1 } uselistorder i32* %sv_0.03.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem9, { 2, 0, 1 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 3, 1, 2, 4, 5 } uselistorder i64 (i64)* @FSPRG_GetEpoch, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_11, { 2, 0, 1, 3, 4 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
ipv6_chk_addr_10836
ipv6_chk_addr
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %.lcssa.reg2mem = alloca i64 %storemerge5.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64* nonnull @gv_0) %3 = mul i64 %1, 8 %4 = and i64 %3, 2040 %5 = add i64 %4, ptrtoint (i64* @gv_1 to i64) %storemerge.in3 = inttoptr i64 %5 to i64* %storemerge4 = load i64, i64* %storemerge.in3, align 8 %6 = icmp eq i64 %storemerge4, 0 %7 = icmp eq i1 %6, false store i64 0, i64* %.lcssa.reg2mem br i1 %7, label LBL_1, label LBL_8 LBL_1: %8 = ptrtoint i64* %arg2 to i64 %9 = icmp eq i64* %arg2, null %10 = trunc i64 %arg3 to i32 store i64 %storemerge4, i64* %storemerge5.reg2mem br label LBL_2 LBL_2: %storemerge5.reload = load i64, i64* %storemerge5.reg2mem %11 = add i64 %storemerge5.reload, 8 %12 = call i64 @FUNC(i64 %11, i64 %0) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 br i1 %14, label LBL_7, label LBL_3 LBL_3: %15 = add i64 %storemerge5.reload, 24 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = urem i32 %17, 2 %19 = icmp eq i32 %18, 0 %20 = icmp eq i1 %19, false br i1 %20, label LBL_7, label LBL_4 LBL_4: store i64 1, i64* %.lcssa.reg2mem br i1 %9, label LBL_8, label LBL_5 LBL_5: %21 = add i64 %storemerge5.reload, 32 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = icmp eq i64 %25, %8 store i64 1, i64* %.lcssa.reg2mem br i1 %26, label LBL_8, label LBL_6 LBL_6: %27 = add i64 %storemerge5.reload, 40 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = and i32 %29, 6 %31 = or i32 %30, %10 %32 = icmp eq i32 %31, 0 store i64 1, i64* %.lcssa.reg2mem br i1 %32, label LBL_8, label LBL_7 LBL_7: %storemerge.in = inttoptr i64 %storemerge5.reload to i64* %storemerge = load i64, i64* %storemerge.in, align 8 %33 = icmp eq i64 %storemerge, 0 %34 = icmp eq i1 %33, false store i64 %storemerge, i64* %storemerge5.reg2mem store i64 0, i64* %.lcssa.reg2mem br i1 %34, label LBL_2, label LBL_8 LBL_8: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %35 = call i64 @FUNC(i64* nonnull @gv_0) ret i64 %.lcssa.reload uselistorder i64 %storemerge5.reload, { 4, 2, 1, 0, 3 } uselistorder i64* %storemerge5.reg2mem, { 1, 0, 2 } uselistorder i64* %.lcssa.reg2mem, { 0, 4, 1, 2, 3, 5 } uselistorder i1 false, { 2, 1, 0 } uselistorder i64 8, { 1, 0 } uselistorder label LBL_8, { 0, 3, 2, 1, 4 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
r_hex_bin2str_13332
r_hex_bin2str
define i64 @FUNC(i32* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %storemerge4.lcssa.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %storemerge46.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %sv_0 = alloca i16, align 2 %0 = trunc i64 %arg2 to i32 %1 = icmp slt i32 %0, 0 %2 = icmp eq i1 %1, false store i64 0, i64* %storemerge.reg2mem br i1 %2, label LBL_1, label LBL_7 LBL_1: %3 = ptrtoint i64* %arg3 to i64 %sext = mul i64 %arg2, 4294967296 %4 = ashr exact i64 %sext, 32 %5 = trunc i64 %4 to i32 %6 = icmp sgt i32 %5, 0 br i1 %6, label LBL_3, label LBL_1.LBL_6_crit_edge LBL_2: %.pre = and i64 %4, 4294967295 store i64 %.pre, i64* %.pre-phi.reg2mem store i64 0, i64* %storemerge4.lcssa.reg2mem br label LBL_6 LBL_3: %7 = ptrtoint i32* %arg1 to i64 %8 = bitcast i16* %sv_0 to i8* %wide.trip.count = and i64 %4, 4294967295 store i64 0, i64* %indvars.iv.reg2mem store i32 0, i32* %storemerge46.reg2mem br label LBL_4 LBL_4: %storemerge46.reload = load i32, i32* %storemerge46.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %9 = add i64 %indvars.iv.reload, %7 %10 = inttoptr i64 %9 to i8* %11 = load i8, i8* %10, align 1 %12 = zext i8 %11 to i32 %13 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %8, i32 5, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i32 %12) %14 = sext i32 %storemerge46.reload to i64 %15 = add i64 %14, %3 %16 = load i16, i16* %sv_0, align 2 %17 = inttoptr i64 %15 to i16* store i16 %16, i16* %17, align 2 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %18 = add nuw i32 %storemerge46.reload, 2 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %18, i32* %storemerge46.reg2mem br i1 %exitcond, label LBL_5, label LBL_4 LBL_5: %phitmp = sext i32 %18 to i64 store i64 %wide.trip.count, i64* %.pre-phi.reg2mem store i64 %phitmp, i64* %storemerge4.lcssa.reg2mem br label LBL_6 LBL_6: %storemerge4.lcssa.reload = load i64, i64* %storemerge4.lcssa.reg2mem %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %19 = add i64 %storemerge4.lcssa.reload, %3 %20 = inttoptr i64 %19 to i8* store i8 0, i8* %20, align 1 store i64 %.pre-phi.reload, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %18, { 1, 0 } uselistorder i64 %4, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge46.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 4294967295, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
readv_f_824
readv_f
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_0.0.ph17.reg2mem = alloca i32 %sv_1.0.ph16.reg2mem = alloca i32 %sv_0.0.ph14.reg2mem = alloca i32 %sv_1.0.ph13.reg2mem = alloca i32 %sv_2.0.ph12.reg2mem = alloca i32 %sv_3.0.ph11.reg2mem = alloca i32 %sv_0.0.ph.reg2mem = alloca i32 %sv_1.0.ph.reg2mem = alloca i32 %sv_2.0.ph.reg2mem = alloca i32 %sv_3.0.ph.reg2mem = alloca i32 %sv_4.0.ph.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %sv_5 = alloca i64, align 8 %sv_6 = alloca i32, align 4 %sv_7 = alloca i64, align 8 %sv_8 = alloca i32, align 4 %sext = mul i64 %arg1, 4294967296 %5 = ashr exact i64 %sext, 32 %6 = trunc i64 %5 to i32 %7 = inttoptr i64 %arg2 to i8** store i32 0, i32* %sv_4.0.ph.reg2mem store i32 0, i32* %sv_3.0.ph.reg2mem store i32 0, i32* %sv_2.0.ph.reg2mem store i32 0, i32* %sv_1.0.ph.reg2mem store i32 0, i32* %sv_0.0.ph.reg2mem br label LBL_1 LBL_1: %sv_0.0.ph.reload = load i32, i32* %sv_0.0.ph.reg2mem %sv_1.0.ph.reload = load i32, i32* %sv_1.0.ph.reg2mem %sv_2.0.ph.reload = load i32, i32* %sv_2.0.ph.reg2mem %sv_3.0.ph.reload = load i32, i32* %sv_3.0.ph.reg2mem %sv_4.0.ph.reload = load i32, i32* %sv_4.0.ph.reg2mem store i32 %sv_3.0.ph.reload, i32* %sv_3.0.ph11.reg2mem store i32 %sv_2.0.ph.reload, i32* %sv_2.0.ph12.reg2mem store i32 %sv_1.0.ph.reload, i32* %sv_1.0.ph13.reg2mem store i32 %sv_0.0.ph.reload, i32* %sv_0.0.ph14.reg2mem br label LBL_110 LBL_2: %sv_0.0.ph14.reload = load i32, i32* %sv_0.0.ph14.reg2mem %sv_1.0.ph13.reload = load i32, i32* %sv_1.0.ph13.reg2mem %sv_2.0.ph12.reload = load i32, i32* %sv_2.0.ph12.reg2mem %sv_3.0.ph11.reload = load i32, i32* %sv_3.0.ph11.reg2mem store i32 %sv_1.0.ph13.reload, i32* %sv_1.0.ph16.reg2mem store i32 %sv_0.0.ph14.reload, i32* %sv_0.0.ph17.reg2mem br label LBL_115 LBL_3: %8 = icmp eq i32 %15, 118 store i32 1, i32* %sv_4.0.ph.reg2mem store i32 %sv_3.0.ph11.reload, i32* %sv_3.0.ph.reg2mem store i32 %sv_2.0.ph12.reload, i32* %sv_2.0.ph.reg2mem store i32 %sv_1.0.ph16.reload, i32* %sv_1.0.ph.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.0.ph.reg2mem br i1 %8, label LBL_1, label LBL_4 LBL_4: %9 = icmp sgt i32 %15, 118 br i1 %9, label LBL_10, label LBL_5 LBL_5: %10 = icmp eq i32 %15, 113 store i32 1, i32* %sv_1.0.ph16.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.0.ph17.reg2mem br i1 %10, label LBL_115, label LBL_7 LBL_6: %sv_0.0.ph17.reload = load i32, i32* %sv_0.0.ph17.reg2mem %sv_1.0.ph16.reload = load i32, i32* %sv_1.0.ph16.reg2mem store i32 %sv_0.0.ph17.reload, i32* %sv_0.0.reg2mem br label LBL_11 LBL_7: %11 = icmp sgt i32 %15, 113 br i1 %11, label LBL_10, label LBL_8 LBL_8: store i32 1, i32* %sv_0.0.reg2mem switch i32 %15, label LBL_10 [ i32 67, label LBL_11 i32 80, label LBL_9 ] LBL_9: %12 = load i8*, i8** @gv_0, align 8 %13 = call i32 @atoi(i8* %12) store i32 %13, i32* %sv_3.0.ph11.reg2mem store i32 1, i32* %sv_2.0.ph12.reg2mem store i32 %sv_1.0.ph16.reload, i32* %sv_1.0.ph13.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.0.ph14.reg2mem br label LBL_110 LBL_10: %14 = call i64 @FUNC(i64* nonnull @gv_1) store i64 %14, i64* %rax.0.reg2mem br label LBL_29 LBL_11: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %15 = call i32 @getopt(i32 %6, i8** %7, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0)) %16 = icmp eq i32 %15, -1 %17 = icmp eq i1 %16, false br i1 %17, label LBL_3, label LBL_12 LBL_12: %18 = add nsw i64 %5, 4294967295 %19 = and i64 %18, 4294967295 %20 = load i32, i32* @gv_3, align 4 %21 = zext i32 %20 to i64 %22 = icmp ugt i64 %19, %21 br i1 %22, label LBL_14, label LBL_13 LBL_13: %23 = call i64 @FUNC(i64* nonnull @gv_1) store i64 %23, i64* %rax.0.reg2mem br label LBL_29 LBL_14: %24 = sext i32 %20 to i64 %25 = mul i64 %24, 8 %26 = add i64 %25, %arg2 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = call i64 @FUNC(i64 %28) %30 = icmp slt i64 %29, 0 %31 = icmp eq i1 %30, false br i1 %31, label LBL_16, label LBL_15 LBL_15: %32 = load i32, i32* @gv_3, align 4 %33 = sext i32 %32 to i64 %34 = mul i64 %33, 8 %35 = add i64 %34, %arg2 %36 = inttoptr i64 %35 to i64* %37 = load i64, i64* %36, align 8 %38 = inttoptr i64 %37 to i8* %39 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_4, i64 0, i64 0), i8* %38) store i64 0, i64* %rax.0.reg2mem br label LBL_29 LBL_16: store i32 ptrtoint (i32* @gv_5 to i32), i32* @gv_3, align 4 %40 = urem i64 %29, 512 %41 = icmp eq i64 %40, 0 br i1 %41, label LBL_18, label LBL_17 LBL_17: %sext5 = mul i64 %29, 4294967296 %42 = ashr exact i64 %sext5, 32 %43 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_6, i64 0, i64 0), i64 %42) store i64 0, i64* %rax.0.reg2mem br label LBL_29 LBL_18: %44 = sub i32 %6, ptrtoint (i32* @gv_5 to i32) %45 = add i64 %arg2, shl (i64 sext (i32 ptrtoint (i32* @gv_5 to i32) to i64), i64 3) %46 = bitcast i32* %sv_8 to i64* %47 = call i64 @FUNC(i64* nonnull %46, i64 %45, i32 %44, i64 171) %48 = bitcast i64* %sv_7 to %timeval* %49 = call i32 @gettimeofday(%timeval* nonnull %48, %timezone* null) %sext6 = mul i64 %29, 4294967296 %50 = ashr exact i64 %sext6, 32 %51 = bitcast i32* %sv_6 to i64* %52 = call i64 @FUNC(i64* nonnull %46, i64 %50, i64* nonnull %51) %53 = trunc i64 %52 to i32 %54 = bitcast i64* %sv_5 to %timeval* %55 = call i32 @gettimeofday(%timeval* nonnull %54, %timezone* null) %56 = icmp slt i32 %53, 0 %57 = icmp eq i1 %56, false br i1 %57, label LBL_20, label LBL_19 LBL_19: %58 = sub i32 0, %53 %59 = call i8* @strerror(i32 %58) %60 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_7, i64 0, i64 0), i8* %59) br label LBL_28 LBL_20: %61 = icmp eq i32 %sv_2.0.ph12.reload, 0 br i1 %61, label LBL_24, label LBL_21 LBL_21: %62 = load i32, i32* %sv_8, align 4 %63 = call i64* @malloc(i32 %62) %64 = load i32, i32* %sv_8, align 4 %65 = call i64* @memset(i64* %63, i32 %sv_3.0.ph11.reload, i32 %64) %66 = load i32, i32* %sv_8, align 4 %67 = inttoptr i64 %47 to i64* %68 = call i32 @memcmp(i64* %67, i64* %63, i32 %66) %69 = icmp eq i32 %68, 0 br i1 %69, label LBL_23, label LBL_22 LBL_22: %70 = load i32, i32* %sv_8, align 4 %71 = zext i32 %70 to i64 %72 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_8, i64 0, i64 0), i64 %50, i64 %71) br label LBL_23 LBL_23: call void @free(i64* %63) br label LBL_24 LBL_24: %73 = icmp eq i32 %sv_1.0.ph16.reload, 0 %74 = icmp eq i1 %73, false br i1 %74, label LBL_28, label LBL_25 LBL_25: %75 = icmp eq i32 %sv_4.0.ph.reload, 0 br i1 %75, label LBL_27, label LBL_26 LBL_26: %76 = load i32, i32* %sv_8, align 4 %77 = zext i32 %76 to i64 %78 = call i64 @FUNC(i64 %47, i64 %50, i64 %77) br label LBL_27 LBL_27: %79 = load i64, i64* %sv_7, align 8 %80 = load i64, i64* %sv_5, align 8 %81 = call i64 @FUNC(i64 %80, i64 %3, i64 %79, i64 %4, i64 %2, i64 %1) store i64 %81, i64* %sv_5, align 8 %82 = load i32, i32* %sv_6, align 4 %83 = load i32, i32* %sv_8, align 4 %84 = zext i32 %83 to i64 %85 = zext i32 %sv_0.0.reload to i64 %86 = and i64 %52, 4294967295 %87 = zext i32 %82 to i64 %88 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_9, i64 0, i64 0), i64* nonnull %sv_5, i64 %50, i64 %84, i64 %87, i64 %86, i64 %85) br label LBL_28 LBL_28: %89 = call i64 @FUNC(i64 %47) store i64 0, i64* %rax.0.reg2mem br label LBL_29 LBL_29: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %50, { 2, 1, 0, 3 } uselistorder i64 %47, { 2, 1, 0 } uselistorder i32 %15, { 5, 4, 3, 2, 1, 0 } uselistorder i32 %sv_0.0.reload, { 0, 1, 3, 2 } uselistorder i32 %sv_1.0.ph16.reload, { 0, 2, 1 } uselistorder i32* %sv_8, { 5, 4, 3, 2, 1, 0, 6 } uselistorder i64* %sv_7, { 1, 0 } uselistorder i64* %sv_5, { 0, 2, 3, 1 } uselistorder i32* %sv_4.0.ph.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_3.0.ph.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.0.ph.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.0.ph.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.ph.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_3.0.ph11.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.0.ph12.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.0.ph13.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.ph14.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1, 5 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder void (i64*)* @free, { 1, 0 } uselistorder i64* (i32)* @malloc, { 1, 0 } uselistorder i32 (%timeval*, %timezone*)* @gettimeofday, { 1, 0 } uselistorder i32 (i8*, ...)* @printf, { 4, 2, 0, 1, 5, 3 } uselistorder i32* @gv_3, { 2, 1, 0 } uselistorder i64 0, { 2, 5, 6, 7, 8, 9, 10, 1, 11, 12, 4, 0, 13, 14, 23, 15, 16, 17, 18, 24, 19, 20, 3, 21, 22 } uselistorder i64* @gv_1, { 1, 0 } uselistorder i32 113, { 1, 0 } uselistorder i32 118, { 1, 0 } uselistorder i32 0, { 7, 8, 9, 10, 11, 12, 0, 1, 2, 3, 4, 5, 6 } uselistorder i32 1, { 11, 4, 7, 18, 20, 23, 21, 22, 19, 17, 16, 15, 14, 13, 12, 10, 9, 8, 6, 5, 3, 2, 1, 0 } uselistorder i64 %arg2, { 2, 0, 1, 3 } uselistorder label LBL_29, { 0, 1, 2, 4, 3 } uselistorder label LBL_28, { 1, 0, 2 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_110, { 1, 0 } }
0
BinRealVul
brcmf_cfg80211_escan_timeout_worker_8997
brcmf_cfg80211_escan_timeout_worker
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0, i64 %0, i64 1, i64 1) ret i64 %2 uselistorder i64 %0, { 1, 2, 0 } uselistorder i64 1, { 1, 0 } }
0
reposvul_c_test
parseScanCursorOrReply_30
parseScanCursorOrReply
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i8*, align 8 %2 = call i32* @__errno_location() store i32 0, i32* %2, align 4 %3 = bitcast i64* %arg2 to i8* %4 = call i32 @strtoul(i8* %3, i8** nonnull %sv_0, i32 10) %5 = sext i32 %4 to i64 store i64 %5, i64* %arg3, align 8 %6 = call i16** @__ctype_b_loc() %7 = load i16*, i16** %6, align 8 %8 = ptrtoint i16* %7 to i64 %sext = mul i64 %1, 72057594037927936 %9 = ashr exact i64 %sext, 55 %10 = add i64 %9, %8 %11 = inttoptr i64 %10 to i16* %12 = load i16, i16* %11, align 2 %13 = and i16 %12, 8192 %14 = icmp eq i16 %13, 0 %15 = icmp eq i1 %14, false br i1 %15, label LBL_3, label LBL_1 LBL_1: %16 = load i8*, i8** %sv_0, align 8 %17 = load i8, i8* %16, align 1 %18 = icmp eq i8 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_3, label LBL_2 LBL_2: %20 = call i32* @__errno_location() %21 = load i32, i32* %20, align 4 %22 = icmp eq i32 %21, 34 %23 = icmp eq i1 %22, false store i64 0, i64* %storemerge.reg2mem br i1 %23, label LBL_4, label LBL_3 LBL_3: %24 = ptrtoint i64* %arg1 to i64 %25 = call i64 @FUNC(i64 %24, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0)) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i8 0, { 1, 0 } uselistorder i32* ()* @__errno_location, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
v9fs_fsync_15568
v9fs_fsync
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0.1.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i32, align 4 %sv_2 = alloca i32, align 4 %1 = bitcast i32* %sv_1 to i64* %2 = bitcast i32* %sv_2 to i64* %3 = call i64 @FUNC(i64 %0, i64 7, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %1, i64* nonnull %2) %4 = load i32, i32* %sv_1, align 4 %5 = zext i32 %4 to i64 %6 = call i64 @FUNC(i64 %0, i64 %5) %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false store i32 -2, i32* %sv_0.1.reg2mem br i1 %8, label LBL_1, label LBL_2 LBL_1: %9 = load i32, i32* %sv_2, align 4 %10 = zext i32 %9 to i64 %11 = call i64 @FUNC(i64 %0, i64 %6, i64 %10) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false %spec.select = select i1 %14, i32 %12, i32 7 %15 = call i64 @FUNC(i64 %0, i64 %6) store i32 %spec.select, i32* %sv_0.1.reg2mem br label LBL_2 LBL_2: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %16 = call i64 @FUNC(i64 %0, i64 %0, i32 %sv_0.1.reload) ret i64 %16 uselistorder i64 %0, { 1, 0, 2, 3, 5, 4 } uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
regime_el_16249
regime_el
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = trunc i64 %arg2 to i32 %1 = icmp ult i32 %0, 7 br i1 %1, label LBL_1, label LBL_6 LBL_1: %2 = icmp ult i32 %0, 4 %3 = icmp eq i1 %2, false store i64 1, i64* %rax.0.reg2mem br i1 %3, label LBL_7, label LBL_2 LBL_2: %4 = icmp eq i32 %0, 3 br i1 %4, label LBL_5, label LBL_3 LBL_3: %5 = icmp ult i32 %0, 2 store i64 2, i64* %rax.0.reg2mem br i1 %5, label LBL_7, label LBL_4 LBL_4: %6 = icmp eq i32 %0, 2 store i64 3, i64* %rax.0.reg2mem br i1 %6, label LBL_7, label LBL_6 LBL_5: %7 = ptrtoint i64* %arg1 to i64 %8 = call i64 @FUNC(i64 %7, i64 3) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 %. = select i1 %10, i64 3, i64 1 store i64 %., i64* %rax.0.reg2mem br label LBL_7 LBL_6: %11 = call i64 @FUNC() unreachable LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %0, { 3, 2, 1, 0, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 4, 1 } uselistorder i64 3, { 1, 2, 0 } uselistorder label LBL_7, { 1, 2, 3, 0 } }
1
BinRealVul
cpu_exit_222
cpu_exit
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 %2 = add i64 %0, 4 %3 = inttoptr i64 %2 to i32* store i32 1, i32* %3, align 4 ret i64 %0 uselistorder i64 %0, { 1, 0 } }
0
BinRealVul
cipso_v4_doi_putdef_6820
cipso_v4_doi_putdef
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null br i1 %0, label LBL_3, label LBL_1 LBL_1: %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(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_3, label LBL_2 LBL_2: %5 = call i64 @FUNC() %6 = add i64 %1, 8 %7 = call i64 @FUNC(i64 %6, i64 4198718) store i64 %7, 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* %arg1, { 1, 0 } uselistorder label LBL_3, { 2, 0, 1 } }
0
BinRealVul
pvpanic_init_16662
pvpanic_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 1) ret i64 0 }
1
BinRealVul
git_index_free_4235
git_index_free
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = icmp eq i64 %arg1, 0 %spec.select = select i1 %2, i64 %1, i64 %arg1 ret i64 %spec.select uselistorder i32 1, { 2, 1, 0 } }
0