dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
BinRealVul
gen_sync_1666
gen_sync
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = and i64 %1, 6291456 %4 = icmp eq i64 %3, 4194304 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = add i64 %2, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = urem i32 %7, 2 %9 = zext i32 %8 to i64 %10 = icmp eq i32 %8, 0 %11 = icmp eq i1 %10, false store i64 %9, i64* %rax.0.reg2mem br i1 %11, label LBL_4, label LBL_2 LBL_2: %12 = add i64 %2, 8 %13 = inttoptr i64 %12 to i8* %14 = load i8, i8* %13, align 1 %15 = icmp eq i8 %14, 1 store i64 0, i64* %rax.0.reg2mem br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = call i64 @FUNC(i64 %2, i64 1) store i64 %16, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %8, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } }
0
BinRealVul
yr_get_configuration_5927
yr_get_configuration
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64* %arg2, null %1 = icmp eq i1 %0, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_5 LBL_1: %2 = trunc i64 %arg1 to i32 %3 = icmp ult i32 %2, 3 br i1 %3, label LBL_3, label LBL_2 LBL_2: %4 = icmp eq i32 %2, 3 store i64 4294967295, i64* %rax.0.reg2mem br i1 %4, label LBL_4, label LBL_5 LBL_3: %5 = mul i64 %arg1, 16 %6 = and i64 %5, 68719476720 %7 = add i64 %6, ptrtoint (i32** @gv_0 to i64) %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 8 %10 = bitcast i64* %arg2 to i32* store i32 %9, i32* %10, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %11 = mul i64 %arg1, 16 %12 = and i64 %11, 68719476720 %13 = add i64 %12, ptrtoint (i64* @gv_1 to i64) %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 store i64 %15, i64* %arg2, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i64 68719476720, { 1, 0 } uselistorder i64* %arg2, { 1, 0, 2 } uselistorder label LBL_5, { 1, 0, 2, 3 } }
0
BinRealVul
megasas_complete_cmd_dpc_9728
megasas_complete_cmd_dpc
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.01.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = load i64, i64* %0 %4 = add i64 %2, 36 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 1 store i64 %5, i64* %rax.0.reg2mem br i1 %7, label LBL_7, label LBL_1 LBL_1: %8 = add i64 %2, 48 %9 = call i64 @FUNC(i64 %8, i64 %3) %10 = and i64 %1, 4294967295 %11 = call i64 @FUNC(i64 %10) %12 = trunc i64 %11 to i32 %13 = add i64 %2, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = zext i32 %17 to i64 %19 = call i64 @FUNC(i64 %18) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, %12 %22 = icmp eq i1 %21, false br i1 %22, label LBL_2, label LBL_6 LBL_2: %23 = add i64 %2, 16 %24 = inttoptr i64 %23 to i64* %25 = add i64 %2, 32 %26 = inttoptr i64 %25 to i32* %27 = add i64 %2, 24 %28 = inttoptr i64 %27 to i64* store i32 %20, i32* %sv_0.01.reg2mem br label LBL_3 LBL_3: %sv_0.01.reload = load i32, i32* %sv_0.01.reg2mem %29 = load i64, i64* %24, align 8 %30 = zext i32 %sv_0.01.reload to i64 %31 = mul i64 %30, 4 %32 = add i64 %31, %29 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = zext i32 %34 to i64 %36 = call i64 @FUNC(i64 %35) %37 = trunc i64 %36 to i32 %38 = load i32, i32* %26, align 4 %39 = icmp ugt i32 %38, %37 br i1 %39, label LBL_5, label LBL_4 LBL_4: %40 = add i64 %2, 40 %41 = inttoptr i64 %40 to i64* %42 = load i64, i64* %41, align 8 %43 = and i64 %36, 4294967295 %44 = call i64 @FUNC(i64 %42, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0), i64 %43) %45 = call i64 @FUNC() unreachable LBL_5: %46 = load i64, i64* %28, align 8 %47 = mul i64 %36, 8 %48 = and i64 %47, 34359738360 %49 = add i64 %46, %48 %50 = inttoptr i64 %49 to i64* %51 = load i64, i64* %50, align 8 %52 = call i64 @FUNC(i64 %2, i64 %51, i64 0) %53 = add i32 %sv_0.01.reload, 1 %54 = load i32, i32* %26, align 4 %55 = icmp eq i32 %sv_0.01.reload, %54 %56 = icmp eq i1 %55, false %spec.store.select = select i1 %56, i32 %53, i32 0 %57 = icmp eq i32 %spec.store.select, %12 %58 = icmp eq i1 %57, false store i32 %spec.store.select, i32* %sv_0.01.reg2mem br i1 %58, label LBL_3, label LBL_6 LBL_6: %59 = load i64, i64* %14, align 8 %60 = and i64 %11, 4294967295 %61 = call i64 @FUNC(i64 %60) %62 = trunc i64 %61 to i32 %63 = inttoptr i64 %59 to i32* store i32 %62, i32* %63, align 4 %64 = call i64 @FUNC(i64 %8, i64 %3) %65 = call i64 @FUNC(i64 %2) store i64 %65, 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 %sv_0.01.reload, { 1, 0, 2 } uselistorder i32 %12, { 1, 0 } uselistorder i64 %2, { 0, 4, 2, 3, 1, 5, 6, 7, 8 } uselistorder i32* %sv_0.01.reg2mem, { 1, 0, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i1 false, { 2, 1, 0 } uselistorder i64 (i64)* @le32_to_cpu, { 2, 1, 0 } uselistorder i64 4294967295, { 3, 2, 0, 4, 5, 1 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
hesiod_init_11964
hesiod_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge5.reg2mem = alloca i64 %0 = call i64* @malloc(i32 16) %1 = ptrtoint i64* %0 to i64 %2 = icmp eq i64* %0, null br i1 %2, label LBL_13, label LBL_1 LBL_1: store i64 %1, i64* %arg1, align 8 %3 = call i32 @getuid() %4 = call i32 @geteuid() %5 = icmp eq i32 %3, %4 %6 = icmp eq i1 %5, false store i64 0, i64* %storemerge5.reg2mem br i1 %6, label LBL_4, label LBL_2 LBL_2: %7 = call i32 @getgid() %8 = call i32 @getegid() %9 = icmp eq i32 %7, %8 %10 = icmp eq i1 %9, false store i64 0, i64* %storemerge5.reg2mem br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = call i8* @getenv(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0)) %12 = ptrtoint i8* %11 to i64 store i64 %12, i64* %storemerge5.reg2mem br label LBL_4 LBL_4: %storemerge5.reload = load i64, i64* %storemerge5.reg2mem %13 = icmp eq i64 %storemerge5.reload, 0 %14 = icmp eq i1 %13, false %15 = select i1 %14, i64 %storemerge5.reload, i64 ptrtoint ([17 x i8]* @gv_1 to i64) %16 = call i64 @FUNC(i64 %1, i64 %15) %17 = trunc i64 %16 to i32 %18 = icmp slt i32 %17, 0 br i1 %18, label LBL_14, label LBL_5 LBL_5: %19 = call i32 @getuid() %20 = call i32 @geteuid() %21 = icmp eq i32 %19, %20 %22 = icmp eq i1 %21, false store i64 0, i64* %rax.0.reg2mem br i1 %22, label LBL_19, label LBL_6 LBL_6: %23 = call i32 @getgid() %24 = call i32 @getegid() %25 = icmp eq i32 %23, %24 %26 = icmp eq i1 %25, false store i64 0, i64* %rax.0.reg2mem br i1 %26, label LBL_19, label LBL_7 LBL_7: %27 = call i8* @getenv(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0)) %28 = icmp eq i8* %27, null store i64 0, i64* %rax.0.reg2mem br i1 %28, label LBL_19, label LBL_8 LBL_8: %29 = add i64 %1, 8 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = icmp eq i64 %31, 0 br i1 %32, label LBL_10, label LBL_9 LBL_9: %33 = inttoptr i64 %31 to i64* call void @free(i64* %33) br label LBL_10 LBL_10: %34 = call i32 @strlen(i8* nonnull %27) %35 = add i32 %34, 2 %36 = call i64* @malloc(i32 %35) %37 = ptrtoint i64* %36 to i64 store i64 %37, i64* %30, align 8 %38 = icmp eq i64* %36, null br i1 %38, label LBL_12, label LBL_11 LBL_11: %39 = ptrtoint i8* %27 to i64 %40 = bitcast i64* %36 to i8* store i8 46, i8* %40, align 1 %41 = load i8, i8* %27, align 1 %42 = icmp eq i8 %41, 46 %43 = zext i1 %42 to i64 %storemerge3 = add i64 %43, %39 %44 = load i64, i64* %30, align 8 %45 = add i64 %44, 1 %46 = inttoptr i64 %45 to i8* %47 = inttoptr i64 %storemerge3 to i8* %48 = call i8* @strcpy(i8* %46, i8* %47) store i64 0, i64* %rax.0.reg2mem br label LBL_19 LBL_12: %49 = call i32* @__errno_location() store i32 12, i32* %49, align 4 br label LBL_14 LBL_13: %50 = call i32* @__errno_location() store i32 12, i32* %50, align 4 br label LBL_14 LBL_14: %51 = load i64, i64* %0, align 8 %52 = icmp eq i64 %51, 0 br i1 %52, label LBL_16, label LBL_15 LBL_15: %53 = inttoptr i64 %51 to i64* call void @free(i64* %53) br label LBL_16 LBL_16: %54 = add i64 %1, 8 %55 = inttoptr i64 %54 to i64* %56 = load i64, i64* %55, align 8 %57 = icmp eq i64 %56, 0 br i1 %57, label LBL_18, label LBL_17 LBL_17: %58 = inttoptr i64 %56 to i64* call void @free(i64* %58) br label LBL_18 LBL_18: call void @free(i64* nonnull %0) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_19 LBL_19: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8* %27, { 1, 3, 2, 0 } uselistorder i64 %storemerge5.reload, { 1, 0 } uselistorder i64 %1, { 2, 0, 1, 3 } uselistorder i64* %storemerge5.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 5, 4, 2, 1 } uselistorder void (i64*)* @free, { 3, 2, 1, 0 } uselistorder i8* (i8*)* @getenv, { 1, 0 } uselistorder i64* (i32)* @malloc, { 1, 0 } uselistorder label LBL_19, { 2, 4, 3, 1, 0 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_4, { 2, 1, 0 } }
1
BinRealVul
lnet_ni_query_locked_4515
lnet_ni_query_locked
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = call i64 @FUNC(i64 %0) %2 = and i64 %1, 4294967295 %3 = call i64 @FUNC(i64 %2) %4 = icmp eq i64 %2, 0 %5 = icmp eq i1 %4, false %6 = zext i1 %5 to i64 %7 = call i64 @FUNC(i64 %6) %8 = add i64 %0, 24 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = call i64 @FUNC(i64 %10) %12 = load i64, i64* %9, align 8 %13 = call i64 @FUNC(i64 %12) %14 = call i64 @FUNC() %15 = add i64 %0, 8 %16 = inttoptr i64 %15 to i64* store i64 %14, i64* %16, align 8 ret i64 0 uselistorder i64 %2, { 1, 0 } uselistorder i64 (i64)* @LASSERT, { 1, 0 } }
0
BinRealVul
digest_generic_verify_19158
digest_generic_verify
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64* %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %sext = mul i64 %1, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = call i64 @FUNC(i64 %2) %4 = call i64 @FUNC(i64 %0, i64 %3) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_0.LBL_3_crit_edge, label LBL_2 LBL_1: %.pre = inttoptr i64 %3 to i64* store i64* %.pre, i64** %.pre-phi.reg2mem store i64 %4, i64* %sv_0.0.reg2mem br label LBL_3 LBL_2: %8 = trunc i64 %1 to i32 %9 = inttoptr i64 %3 to i64* %10 = call i32 @memcmp(i64* %arg2, i64* %9, i32 %8) %11 = icmp eq i32 %10, 0 %. = select i1 %11, i64 0, i64 4294967274 store i64* %9, i64** %.pre-phi.reg2mem store i64 %., i64* %sv_0.0.reg2mem br label LBL_3 LBL_3: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %.pre-phi.reload = load i64*, i64** %.pre-phi.reg2mem call void @free(i64* %.pre-phi.reload) %12 = and i64 %sv_0.0.reload, 4294967295 ret i64 %12 uselistorder i64 %3, { 1, 0, 2 } uselistorder i64 %1, { 1, 0 } uselistorder i32 0, { 1, 2, 0 } uselistorder i64 32, { 1, 0 } uselistorder i64 (i64)* @digest_length, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
virtio_blk_save_device_1783
virtio_blk_save_device
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge1.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = icmp eq i64* %arg1, null %2 = icmp eq i1 %1, false br i1 %2, label LBL_1, label LBL_3 LBL_1: %3 = ptrtoint i64* %arg1 to i64 store i64 %3, i64* %storemerge1.reg2mem br label LBL_2 LBL_2: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %4 = call i64 @FUNC(i64 %0, i64 1) %5 = call i64 @FUNC(i64 %0, i64 %storemerge1.reload, i64 0) %6 = inttoptr i64 %storemerge1.reload to i64* %7 = load i64, i64* %6, align 8 %8 = icmp eq i64 %7, 0 %9 = icmp eq i1 %8, false store i64 %7, i64* %storemerge1.reg2mem br i1 %9, label LBL_2, label LBL_3 LBL_3: %10 = call i64 @FUNC(i64 %0, i64 0) ret i64 %10 uselistorder i64 %storemerge1.reload, { 1, 0 } uselistorder i64 %0, { 2, 1, 0 } uselistorder i64* %storemerge1.reg2mem, { 1, 0, 2 } uselistorder i1 false, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
tlb_end_vma_5957
tlb_end_vma
define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = and i64 %1, 4294967295 %4 = icmp eq i32 %2, 0 %5 = icmp eq i1 %4, false store i64 %3, i64* %rax.0.reg2mem br i1 %5, label LBL_3, label LBL_1 LBL_1: %6 = ptrtoint i32* %arg1 to i64 %7 = add i64 %6, 4 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = icmp eq i32 %9, 0 store i64 0, i64* %rax.0.reg2mem br i1 %10, label LBL_3, label LBL_2 LBL_2: %11 = call i64 @FUNC(i64 %6) store i64 %11, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %1, { 1, 0 } uselistorder label LBL_3, { 1, 2, 0 } }
0
BinRealVul
ssdpDiscover_7972
ssdpDiscover
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.1.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %0 = icmp eq i64 %arg3, 0 %storemerge5 = select i1 %0, i64 ptrtoint ([9 x i8]* @gv_0 to i64), i64 %arg3 %1 = trunc i64 %arg2 to i32 %2 = icmp eq i32 %1, 0 %3 = bitcast i64* %sv_1 to i8* %4 = select i1 %2, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0) %5 = inttoptr i64 %storemerge5 to i8* %6 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %3, i32 512, i8* getelementptr inbounds ([77 x i8], [77 x i8]* @gv_3, i64 0, i64 0), i8* %4, i8* %5, i32 3) %7 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 128) %8 = ptrtoint i64* %sv_0 to i64 %9 = bitcast i64* %sv_0 to i16* br i1 %2, label LBL_2, label LBL_1 LBL_1: store i16 10, i16* %9, align 8 %10 = call i16 @htons(i16 1900) %11 = or i64 %8, 2 %12 = inttoptr i64 %11 to i16* store i16 %10, i16* %12, align 2 %13 = add i64 %8, 8 %14 = inttoptr i64 %13 to i64* %15 = call i32 @inet_pton(i32 10, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_4, i64 0, i64 0), i64* %14) br label LBL_3 LBL_2: store i16 2, i16* %9, align 8 %16 = call i16 @htons(i16 1900) %17 = or i64 %8, 2 %18 = inttoptr i64 %17 to i16* store i16 %16, i16* %18, align 2 %19 = call i32 @inet_addr(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_1, i64 0, i64 0)) %20 = or i64 %8, 4 %21 = inttoptr i64 %20 to i32* store i32 %19, i32* %21, align 4 br label LBL_3 LBL_3: %22 = and i64 %arg1, 4294967295 %.6 = select i1 %2, i64 16, i64 28 %23 = call i64 @FUNC(i64 %22, i64* nonnull %sv_1, i32 %6, i64 0, i64* nonnull %sv_0, i64 %.6) %24 = trunc i64 %23 to i32 %25 = icmp slt i32 %24, 0 %26 = icmp eq i1 %25, false store i64 %23, i64* %rax.1.reg2mem br i1 %26, label LBL_5, label LBL_4 LBL_4: call void (i32, i8*, ...) @syslog(i32 3, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_6, i64 0, i64 0), i64 0) store i64 ptrtoint (i32* @0 to i64), i64* %rax.1.reg2mem br label LBL_5 LBL_5: %rax.1.reload = load i64, i64* %rax.1.reg2mem ret i64 %rax.1.reload uselistorder i16* %9, { 1, 0 } uselistorder i64 %8, { 2, 3, 0, 1 } uselistorder i1 %2, { 1, 2, 0 } uselistorder i64* %sv_0, { 0, 1, 3, 2 } uselistorder i16 (i16)* @htons, { 1, 0 } uselistorder i32 3, { 1, 0 } uselistorder i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_1, i64 0, i64 0), { 1, 0 } }
0
BinRealVul
grant_table_init_vcpu_12995
grant_table_init_vcpu
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = bitcast i64* %arg1 to i32* store i32 0, i32* %1, align 4 %2 = add i64 %0, 4 %3 = inttoptr i64 %2 to i32* store i32 0, i32* %3, align 4 ret i64 %0 uselistorder i64 %0, { 1, 0 } }
1
BinRealVul
imx_ldb_connector_get_modes_4492
imx_ldb_connector_get_modes
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp eq i64 %3, 0 store i32 0, i32* %sv_0.0.reg2mem br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %0, i64 %3) %6 = load i64, i64* %2, align 8 %7 = call i64 @FUNC(i64 %0, i64 %6) %8 = trunc i64 %7 to i32 store i32 %8, i32* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %9 = add i64 %1, 8 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp eq i32 %11, 0 store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br i1 %12, label LBL_5, label LBL_3 LBL_3: %13 = call i64 @FUNC(i64 %0) %14 = icmp eq i64 %13, 0 %15 = icmp eq i1 %14, false store i64 4294967274, i64* %storemerge.reg2mem br i1 %15, label LBL_4, label LBL_6 LBL_4: %16 = inttoptr i64 %13 to i32* %17 = add i64 %1, 12 %18 = call i64 @FUNC(i64 %13, i64 %17) %19 = load i32, i32* %16, align 4 %20 = or i32 %19, 3 store i32 %20, i32* %16, align 4 %21 = call i64 @FUNC(i64 %0, i64 %13) %22 = add i32 %sv_0.0.reload, 1 store i32 %22, i32* %sv_0.1.reg2mem br label LBL_5 LBL_5: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %23 = zext i32 %sv_0.1.reload to i64 store i64 %23, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32* %16, { 1, 0 } uselistorder i32 %sv_0.0.reload, { 1, 0 } uselistorder i64 %0, { 3, 0, 2, 1, 4 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
nbd_receive_reply_1321
nbd_receive_reply
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rsi = alloca i64, align 8 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %3 = ptrtoint i64* %sv_2 to i64 store i64 %3, i64* %rsi, align 8 %4 = and i64 %arg1, 4294967295 %5 = call i64 @FUNC(i64 %4, i64* nonnull %sv_2, i64 16) %6 = icmp eq i64 %5, 16 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 16, i64 %3, i64 %2, i64 %1) %8 = call i32* @__errno_location() store i32 22, i32* %8, align 4 store i64 -1, i64* %rax.0.reg2mem br label LBL_4 LBL_2: %9 = ptrtoint i64* %arg2 to i64 %10 = call i64 @FUNC(i64* nonnull %sv_2) %11 = trunc i64 %10 to i32 %12 = call i64 @FUNC(i64* nonnull %sv_1) %13 = trunc i64 %12 to i32 %14 = bitcast i64* %arg2 to i32* store i32 %13, i32* %14, align 4 %15 = call i64 @FUNC(i64* nonnull %sv_0) %16 = add i64 %9, 8 %17 = inttoptr i64 %16 to i64* store i64 %15, i64* %17, align 8 %18 = bitcast i64* %rsi to i32* %19 = load i32, i32* %18, align 8 %20 = and i64 %10, 4294967295 %21 = call i64 @FUNC(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i64 %20, i32 %19, i64 %15, i64 %2, i64 %1) %22 = icmp eq i32 %11, 1732535960 store i64 0, i64* %rax.0.reg2mem br i1 %22, label LBL_4, label LBL_3 LBL_3: %23 = zext i32 %19 to i64 %24 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_2, i64 0, i64 0), i64 %20, i64 %23, i64 %15, i64 %2, i64 %1) %25 = call i32* @__errno_location() store i32 22, i32* %25, align 4 store i64 -1, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %19, { 1, 0 } uselistorder i64 %15, { 1, 0, 2 } uselistorder i64 %3, { 1, 0, 2 } uselistorder i64* %rsi, { 1, 0 } uselistorder i64 %2, { 2, 0, 1 } uselistorder i64 %1, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64*)* @be32_to_cpup, { 1, 0 } uselistorder i64 -1, { 1, 0 } uselistorder i32* ()* @__errno_location, { 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @LOG, { 1, 0 } uselistorder label LBL_4, { 1, 0, 2 } }
0
BinRealVul
gf_export_message_6267
gf_export_message
define i64 @FUNC(i32* %arg1, i32 %arg2, i8* %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %2 = load i64, i64* %1 %3 = load i64, i64* %1 %4 = load i128, i128* %0 %5 = load i128, i128* %0 %6 = load i128, i128* %0 %7 = load i128, i128* %0 %8 = load i128, i128* %0 %9 = load i128, i128* %0 %10 = load i128, i128* %0 %11 = load i128, i128* %0 %sv_0 = alloca i64, align 8 %sv_1 = alloca i32, align 4 %12 = trunc i64 %3 to i8 %13 = icmp eq i8 %12, 0 br i1 %13, label LBL_2, label LBL_1 LBL_1: %14 = call i64 @FUNC(i128 %11) %15 = call i64 @FUNC(i128 %10) %16 = call i64 @FUNC(i128 %9) %17 = call i64 @FUNC(i128 %8) %18 = call i64 @FUNC(i128 %7) %19 = call i64 @FUNC(i128 %6) %20 = call i64 @FUNC(i128 %5) %21 = call i64 @FUNC(i128 %4) br label LBL_2 LBL_2: %22 = urem i64 %2, 2 %23 = icmp eq i64 %22, 0 br i1 %23, label LBL_3, label LBL_5 LBL_3: %24 = icmp eq i32 %arg2, 0 %. = select i1 %24, i64 4, i64 3 %25 = call i64 @FUNC(i64 2, i64 %.) %26 = trunc i64 %25 to i32 %27 = icmp eq i32 %26, 0 br i1 %27, label LBL_5, label LBL_4 LBL_4: store i32 24, i32* %sv_1, align 4 %28 = ptrtoint i32* %sv_1 to i64 %29 = bitcast i64* %sv_0 to i8* %30 = call i32 @vsnprintf(i8* nonnull %29, i32 1024, i8* %arg3, i64 %28) %31 = call i64 @FUNC(i64 %., i64 2, i64* nonnull %sv_0, i64 %., i64 %arg5, i64 %arg6) br label LBL_5 LBL_5: %storemerge = zext i32 %arg2 to i64 ret i64 %storemerge uselistorder i64 %., { 1, 0, 2 } uselistorder i64* %1, { 1, 0 } uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 2, { 1, 2, 0 } uselistorder label LBL_5, { 1, 0, 2 } }
0
BinRealVul
cirrus_get_resolution_10271
cirrus_get_resolution
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = add i64 %1, 1 %3 = inttoptr i64 %2 to i8* %4 = load i8, i8* %3, align 1 %5 = zext i8 %4 to i32 %6 = mul i32 %5, 8 %7 = add nuw nsw i32 %6, 8 %8 = add i64 %1, 18 %9 = inttoptr i64 %8 to i8* %10 = load i8, i8* %9, align 1 %11 = add i64 %1, 7 %12 = inttoptr i64 %11 to i8* %13 = load i8, i8* %12, align 1 %14 = zext i8 %13 to i32 %15 = mul i32 %14, 128 %16 = and i32 %15, 256 %17 = zext i8 %10 to i32 %18 = or i32 %16, %17 %19 = mul i32 %14, 8 %20 = and i32 %19, 512 %21 = or i32 %18, %20 %22 = add nuw nsw i32 %21, 1 %23 = add i64 %1, 26 %24 = inttoptr i64 %23 to i8* %25 = load i8, i8* %24, align 1 %26 = urem i8 %25, 2 %27 = icmp ne i8 %26, 0 %28 = zext i1 %27 to i32 %spec.select = shl nuw nsw i32 %22, %28 %29 = bitcast i64* %arg2 to i32* store i32 %7, i32* %29, align 4 %30 = bitcast i64* %arg3 to i32* store i32 %spec.select, i32* %30, align 4 ret i64 %0 uselistorder i32 8, { 0, 2, 1 } }
0
BinRealVul
xenoprof_add_trace_7318
xenoprof_add_trace
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = icmp eq i64 %arg2, 3735928559 %1 = icmp eq i1 %0, false br i1 %1, label LBL_2, label LBL_1 LBL_1: store i32 ptrtoint (i32* @gv_0 to i32), i32* bitcast (i64* @gv_1 to i32*), align 8 store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2, i64 %2, i64 %arg2, i32 %arg3, i64 0) store i64 %3, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
0
BinRealVul
av_estimate_timings_from_bit_rate_2355
av_estimate_timings_from_bit_rate
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i32 %.reg2mem11 = alloca i64 %.reg2mem9 = alloca i32 %sv_0.1.lcssa.reg2mem = alloca i32 %sv_0.14.reg2mem = alloca i32 %storemerge25.reg2mem = alloca i32 %.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp slt i32 %2, 0 %5 = icmp eq i1 %4, false %6 = icmp eq i1 %3, false %7 = icmp eq i1 %5, %6 %.pre8 = ptrtoint i32* %arg1 to i64 br i1 %7, label LBL_5, label LBL_1 LBL_1: %8 = add i64 %.pre8, 24 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %10, 0 store i32 0, i32* %sv_0.1.lcssa.reg2mem br i1 %11, label LBL_4, label LBL_2 LBL_2: %12 = add i64 %.pre8, 32 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = zext i32 %10 to i64 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge25.reg2mem store i32 0, i32* %sv_0.14.reg2mem br label LBL_3 LBL_3: %sv_0.14.reload = load i32, i32* %sv_0.14.reg2mem %storemerge25.reload = load i32, i32* %storemerge25.reg2mem %.reload = load i64, i64* %.reg2mem %16 = mul i64 %.reload, 8 %17 = add i64 %16, %14 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = icmp sgt i32 %23, 0 %25 = select i1 %24, i32 %23, i32 0 %spec.select = add i32 %25, %sv_0.14.reload %26 = add i32 %storemerge25.reload, 1 %27 = sext i32 %26 to i64 %28 = icmp slt i64 %27, %15 store i64 %27, i64* %.reg2mem store i32 %26, i32* %storemerge25.reg2mem store i32 %spec.select, i32* %sv_0.14.reg2mem store i32 %spec.select, i32* %sv_0.1.lcssa.reg2mem br i1 %28, label LBL_3, label LBL_4 LBL_4: %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem store i32 %sv_0.1.lcssa.reload, i32* %arg1, align 4 br label LBL_5 LBL_5: %29 = add i64 %.pre8, 8 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = icmp eq i64 %31, -1 %33 = icmp eq i1 %32, false %brmerge = or i1 %3, %33 %.mux = select i1 %33, i64 %31, i64 0 store i64 %.mux, i64* %rax.0.reg2mem br i1 %brmerge, label LBL_14, label LBL_6 LBL_6: %34 = add i64 %.pre8, 16 %35 = inttoptr i64 %34 to i64* %36 = load i64, i64* %35, align 8 %37 = icmp eq i64 %36, 0 store i64 0, i64* %rax.0.reg2mem br i1 %37, label LBL_14, label LBL_7 LBL_7: %38 = icmp slt i64 %36, 1 store i64 %36, i64* %rax.0.reg2mem br i1 %38, label LBL_14, label LBL_8 LBL_8: %39 = add i64 %.pre8, 24 %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 4 %42 = icmp eq i32 %41, 0 store i64 0, i64* %rax.0.reg2mem br i1 %42, label LBL_14, label LBL_9 LBL_9: %43 = bitcast i64* %rdi to i32* %44 = add i64 %.pre8, 32 %45 = inttoptr i64 %44 to i64* %46 = mul i64 %36, 8 store i32 %2, i32* %.reg2mem9 store i64 0, i64* %.reg2mem11 store i32 0, i32* %storemerge3.reg2mem br label LBL_10 LBL_10: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %.reload12 = load i64, i64* %.reg2mem11 %.reload10 = load i32, i32* %.reg2mem9 %47 = load i64, i64* %45, align 8 %48 = mul i64 %.reload12, 8 %49 = add i64 %47, %48 %50 = inttoptr i64 %49 to i64* %51 = load i64, i64* %50, align 8 %52 = add i64 %51, 16 %53 = inttoptr i64 %52 to i32* %54 = load i32, i32* %53, align 4 %55 = sext i32 %.reload10 to i64 %56 = sext i32 %54 to i64 %57 = mul nsw i64 %56, %55 %58 = add i64 %51, 20 %59 = inttoptr i64 %58 to i32* %60 = load i32, i32* %59, align 4 %61 = zext i32 %60 to i64 %62 = sext i64 %57 to i128 %63 = call i64 @FUNC(i64 %46, i64 %61, i128 %62) %64 = add i64 %51, 8 %65 = inttoptr i64 %64 to i64* %66 = load i64, i64* %65, align 8 %67 = icmp eq i64 %66, -1 %68 = icmp eq i1 %67, false br i1 %68, label LBL_12, label LBL_11 LBL_11: store i64 %63, i64* %65, align 8 br label LBL_12 LBL_12: %69 = add i32 %storemerge3.reload, 1 %70 = load i32, i32* %40, align 4 %71 = zext i32 %70 to i64 %72 = sext i32 %69 to i64 %73 = icmp slt i64 %72, %71 store i64 %71, i64* %rax.0.reg2mem br i1 %73, label LBL_12.LBL_10_crit_edge, label LBL_14 LBL_13: %.pre = load i32, i32* %43, align 8 store i32 %.pre, i32* %.reg2mem9 store i64 %72, i64* %.reg2mem11 store i32 %69, i32* %storemerge3.reg2mem br label LBL_10 LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %40, { 1, 0 } uselistorder i64 %36, { 1, 0, 2, 3 } uselistorder i1 %33, { 1, 0 } uselistorder i64 %.pre8, { 0, 1, 2, 3, 5, 4 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge25.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.14.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem9, { 1, 0, 2 } uselistorder i64* %.reg2mem11, { 1, 0, 2 } uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 } uselistorder i64 8, { 3, 0, 1, 4, 2 } uselistorder i64 32, { 1, 2, 0 } uselistorder i1 false, { 1, 2, 3, 0 } uselistorder i32* %arg1, { 1, 0 } uselistorder label LBL_14, { 0, 2, 3, 4, 1 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
r3d_read_packet_17254
r3d_read_packet
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i32 %rax.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i32 %sv_0.0.be.reg2mem = alloca i32 %1 = load i32, i32* %0 %sv_1 = alloca i32, align 4 %2 = add i64 %arg1, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = inttoptr i64 %4 to i32* %6 = bitcast i32* %sv_1 to i64* %7 = icmp eq i32 %1, 1094993234 %8 = icmp eq i32 %1, 1447314770 %9 = icmp eq i1 %8, false %10 = add i64 %arg1, 16 %11 = inttoptr i64 %10 to i64* %12 = trunc i64 %arg1 to i32 %13 = icmp eq i32 %12, 1 %or.cond = or i1 %13, %9 br label LBL_1 LBL_1: %14 = call i64 @FUNC(i64 %arg1, i64* nonnull %6) %15 = trunc i64 %14 to i32 %16 = icmp slt i32 %15, 0 %17 = icmp eq i1 %16, false store i32 -1, i32* %sv_0.1.reg2mem br i1 %17, label LBL_2, label LBL_10 LBL_2: br i1 %7, label LBL_6, label LBL_3 LBL_3: br i1 %or.cond, label LBL_9, label LBL_4 LBL_4: %18 = call i64 @FUNC(i64 %arg1, i64 %arg2, i64* nonnull %6) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 0 %21 = icmp eq i1 %20, false store i32 %19, i32* %sv_0.0.be.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %21, label LBL_5, label LBL_11 LBL_5: %sv_0.0.be.reload = load i32, i32* %sv_0.0.be.reg2mem %22 = icmp eq i32 %sv_0.0.be.reload, 0 store i32 %sv_0.0.be.reload, i32* %sv_0.1.reg2mem br i1 %22, label LBL_1, label LBL_10 LBL_6: %23 = load i32, i32* %5, align 4 %24 = icmp eq i32 %23, 0 %25 = icmp eq i1 %24, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %25, label LBL_7, label LBL_11 LBL_7: %26 = load i64, i64* %3, align 8 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = icmp eq i32 %28, 1 br i1 %29, label LBL_9, label LBL_8 LBL_8: %30 = call i64 @FUNC(i64 %arg1, i64 %arg2, i64* nonnull %6) %31 = trunc i64 %30 to i32 %32 = icmp eq i32 %31, 0 %33 = icmp eq i1 %32, false store i32 %31, i32* %sv_0.0.be.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %33, label LBL_5, label LBL_11 LBL_9: %34 = load i32, i32* %sv_1, align 4 %35 = add i32 %34, -8 %36 = load i64, i64* %11, align 8 %37 = zext i32 %35 to i64 %38 = call i64 @FUNC(i64 %36, i64 %37) store i32 0, i32* %sv_0.0.be.reg2mem br label LBL_5 LBL_10: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %39 = zext i32 %sv_0.1.reload to i64 store i64 %39, 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* %6, { 1, 0, 2 } uselistorder i32* %sv_0.0.be.reg2mem, { 3, 2, 0, 1 } uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i32 0, { 0, 1, 2, 5, 3, 4 } uselistorder i1 false, { 0, 1, 2, 4, 3 } uselistorder i64 %arg2, { 1, 0 } uselistorder i64 %arg1, { 2, 1, 4, 0, 3, 5 } uselistorder label LBL_11, { 3, 0, 1, 2 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_5, { 2, 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
common_unbind_1964
common_unbind
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = call i64 @FUNC(i64 %1) %3 = icmp eq i64 %1, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = load i64, i64* @gv_0, align 8 %5 = call i64 @FUNC(i64 %4, i64 %1, i64 1) store i64 0, i64* %arg1, align 8 store i64 %0, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload }
0
BinRealVul
netio_recv_12465
netio_recv
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false store i64 -1, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_9 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = icmp eq i64 %5, 0 %7 = icmp slt i64 %5, 0 %8 = icmp eq i1 %7, false %9 = icmp eq i1 %6, false %10 = icmp eq i1 %8, %9 store i64 -1, i64* %rax.0.reg2mem br i1 %10, label LBL_2, label LBL_9 LBL_2: %11 = add i64 %2, 16 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = icmp eq i32 %13, 0 br i1 %14, label LBL_4, label LBL_3 LBL_3: %15 = ptrtoint i64* %arg2 to i64 %16 = trunc i64 %5 to i32 %17 = inttoptr i64 %5 to i8* %18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_0, i64 0, i64 0), i8* %17, i32 %16) %sext = mul i64 %5, 4294967296 %19 = ashr exact i64 %sext, 32 %20 = load i64, i64* @gv_1, align 8 %21 = call i64 @FUNC(i64 %20, i64 %15, i64 %19) br label LBL_4 LBL_4: %22 = add i64 %2, 24 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = icmp eq i64 %24, 0 br i1 %25, label LBL_6, label LBL_5 LBL_5: %26 = trunc i64 %2 to i32 %27 = icmp eq i32 %26, -1 %28 = icmp eq i1 %27, false store i64 -1, i64* %rax.0.reg2mem br i1 %28, label LBL_6, label LBL_9 LBL_6: %29 = add i64 %2, 32 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = icmp eq i64 %31, 0 br i1 %32, label LBL_8, label LBL_7 LBL_7: %33 = trunc i64 %2 to i32 %34 = icmp eq i32 %33, -1 %35 = icmp eq i1 %34, false store i64 -1, i64* %rax.0.reg2mem br i1 %35, label LBL_8, label LBL_9 LBL_8: %36 = add i64 %2, 48 %37 = inttoptr i64 %36 to i64* %38 = load i64, i64* %37, align 8 %39 = add i64 %38, 1 store i64 %39, i64* %37, align 8 %40 = add i64 %2, 56 %41 = inttoptr i64 %40 to i64* %42 = load i64, i64* %41, align 8 %sext2 = mul i64 %5, 4294967296 %43 = ashr exact i64 %sext2, 32 %44 = add i64 %42, %43 store i64 %44, i64* %41, align 8 store i64 %43, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %5, { 0, 1, 2, 3, 5, 4 } uselistorder i64 %2, { 0, 1, 3, 2, 5, 4, 6, 7 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 3, 4 } uselistorder i64 1, { 1, 0 } uselistorder i64 32, { 0, 2, 1 } uselistorder i64 16, { 1, 0 } uselistorder i1 false, { 1, 2, 3, 0, 4, 5 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_9, { 4, 0, 1, 2, 3 } }
1
BinRealVul
key_value_ok_13168
key_value_ok
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i64 %.reg2mem = alloca i8* %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = inttoptr i64 %arg1 to i8* %5 = load i8, i8* %4, align 1 %6 = icmp eq i8 %5, 0 %7 = icmp eq i1 %6, false store i8* %4, i8** %.reg2mem store i64 %arg1, i64* %storemerge3.reg2mem br i1 %7, label LBL_1, label LBL_3 LBL_1: %storemerge3.reload = load i64, i64* %storemerge3.reg2mem %.reload = load i8*, i8** %.reg2mem %8 = call i16** @__ctype_b_loc() %9 = load i16*, i16** %8, align 8 %10 = ptrtoint i16* %9 to i64 %11 = load i8, i8* %.reload, align 1 %12 = sext i8 %11 to i64 %13 = mul i64 %12, 2 %14 = add i64 %13, %10 %15 = inttoptr i64 %14 to i16* %16 = load i16, i16* %15, align 2 %17 = and i16 %16, 1024 %18 = icmp eq i16 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_2, label %switch.early.test LBL_2: %20 = add i64 %storemerge3.reload, 1 %21 = inttoptr i64 %20 to i8* %22 = load i8, i8* %21, align 1 %23 = icmp eq i8 %22, 0 %24 = icmp eq i1 %23, false store i8* %21, i8** %.reg2mem store i64 %20, i64* %storemerge3.reg2mem br i1 %24, label LBL_1, label LBL_3 LBL_3: %25 = call i32 @strcmp(i8* %4, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0)) %26 = icmp eq i32 %25, 0 br i1 %26, label LBL_5, label LBL_4 LBL_4: %27 = call i32 @strcmp(i8* %4, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0)) %28 = icmp eq i32 %27, 0 %29 = icmp eq i1 %28, false store i64 1, i64* %rax.0.reg2mem br i1 %29, label LBL_7, label LBL_5 LBL_5: %30 = call i64 @FUNC(i64 %arg2) %31 = trunc i64 %30 to i32 %32 = icmp eq i32 %31, 0 %33 = icmp eq i1 %32, false store i64 1, i64* %rax.0.reg2mem br i1 %33, label LBL_7, label LBL_6 LBL_6: %34 = call i64 @FUNC(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_2, i64 0, i64 0), i64 %arg1, i64 %arg2, i64 %3, i64 %2, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8* %4, { 2, 1, 0, 3 } uselistorder i8** %.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge3.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 } uselistorder i1 false, { 2, 3, 4, 1, 0 } uselistorder i64 %arg1, { 2, 0, 1 } uselistorder label LBL_7, { 3, 2, 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
tcp_check_send_head_5398
tcp_check_send_head
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64* %arg2, %arg1 %1 = icmp eq i1 %0, false br i1 %1, label LBL_2, label LBL_1 LBL_1: store i64 0, i64* %arg1, align 8 br label LBL_2 LBL_2: %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 %3) %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = icmp eq i64 %6, %2 %8 = icmp eq i1 %7, false store i64 %6, i64* %rax.0.reg2mem br i1 %8, label LBL_4, label LBL_3 LBL_3: %9 = call i64 @FUNC(i64 %3) %10 = inttoptr i64 %9 to i64* store i64 0, i64* %10, align 8 store i64 %9, 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* %arg2, { 1, 0 } uselistorder i64* %arg1, { 2, 0, 1 } }
0
BinRealVul
kvm_recommended_vcpus_207
kvm_recommended_vcpus
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 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = and i64 %1, 4294967295 %storemerge = select i1 %3, i64 4, i64 %4 ret i64 %storemerge }
0
BinRealVul
handle_allow_8525
handle_allow
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.in.reg2mem = alloca i16 %0 = ptrtoint i32* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0) %2 = add i64 %0, 4 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = call i32 @ntohl(i32 %4) %6 = call i64 @FUNC(i64* nonnull %sv_0, i32 %5, i64 1, i64 0) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = call i16 @htons(i16 0) %10 = bitcast i64* %arg2 to i16* store i16 %9, i16* %10, align 2 store i16 %9, i16* %rax.0.in.reg2mem br label LBL_3 LBL_2: %11 = call i16 @htons(i16 1) %12 = bitcast i64* %arg2 to i16* store i16 %11, i16* %12, align 2 store i16 %11, i16* %rax.0.in.reg2mem br label LBL_3 LBL_3: %rax.0.in.reload = load i16, i16* %rax.0.in.reg2mem %rax.0 = sext i16 %rax.0.in.reload to i64 ret i64 %rax.0 uselistorder i16* %rax.0.in.reg2mem, { 0, 2, 1 } uselistorder i16 (i16)* @htons, { 1, 0 } uselistorder i64 1, { 1, 0 } }
0
BinRealVul
ref_pic_list_struct_12850
ref_pic_list_struct
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.1.reg2mem = alloca i32 %sv_0.21.reg2mem = alloca i32 %storemerge2.reg2mem = alloca i32 %.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %rsi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 %3) %5 = trunc i64 %4 to i32 %6 = bitcast i64* %arg2 to i32* store i32 %5, i32* %6, align 4 %7 = trunc i64 %1 to i32 %8 = icmp slt i32 %7, 1 store i32 0, i32* %sv_0.0.reg2mem br i1 %8, label LBL_3, label LBL_1 LBL_1: %9 = call i64 @FUNC(i64 %3) %10 = trunc i64 %9 to i32 %11 = add i64 %2, 4 %12 = inttoptr i64 %11 to i32* store i32 %10, i32* %12, align 4 %13 = icmp eq i32 %10, 0 store i32 0, i32* %sv_0.0.reg2mem br i1 %13, label LBL_3, label LBL_2 LBL_2: %14 = call i64 @FUNC(i64 %3, i64 1) %15 = trunc i64 %14 to i32 %16 = load i32, i32* %12, align 4 %17 = mul i64 %14, 8589934592 %sext = sub i64 4294967296, %17 %18 = udiv i64 %sext, 4294967296 %19 = trunc i64 %18 to i32 %20 = mul i32 %16, %19 store i32 %20, i32* %12, align 4 store i32 %15, i32* %sv_0.0.reg2mem br label LBL_3 LBL_3: %21 = bitcast i64* %rsi to i32* %22 = load i32, i32* %21, align 8 %23 = icmp ugt i32 %22, 1 br i1 %23, label LBL_4, label LBL_8 LBL_4: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %24 = add i64 %2, 4 store i64 1, i64* %.reg2mem store i32 1, i32* %storemerge2.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.21.reg2mem br label LBL_5 LBL_5: %sv_0.21.reload = load i32, i32* %sv_0.21.reg2mem %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %.reload = load i64, i64* %.reg2mem %25 = call i64 @FUNC(i64 %3) %26 = trunc i64 %25 to i32 %27 = icmp eq i32 %26, 0 store i32 %sv_0.21.reload, i32* %sv_0.1.reg2mem br i1 %27, label LBL_7, label LBL_6 LBL_6: %28 = call i64 @FUNC(i64 %3, i64 1) %29 = trunc i64 %28 to i32 store i32 %29, i32* %sv_0.1.reg2mem br label LBL_7 LBL_7: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %30 = add i32 %storemerge2.reload, -1 %31 = sext i32 %30 to i64 %32 = mul i64 %31, 4 %33 = add i64 %32, %24 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = mul i32 %sv_0.1.reload, 2 %37 = sub i32 1, %36 %38 = mul i32 %37, %26 %39 = add i32 %38, %35 %40 = mul i64 %.reload, 4 %41 = add i64 %40, %24 %42 = inttoptr i64 %41 to i32* store i32 %39, i32* %42, align 4 %43 = add i32 %storemerge2.reload, 1 %44 = load i32, i32* %21, align 8 %45 = zext i32 %44 to i64 %46 = sext i32 %43 to i64 %47 = icmp slt i64 %46, %45 store i64 %46, i64* %.reg2mem store i32 %43, i32* %storemerge2.reg2mem store i32 %sv_0.1.reload, i32* %sv_0.21.reg2mem br i1 %47, label LBL_5, label LBL_8 LBL_8: ret i64 0 uselistorder i32 %sv_0.1.reload, { 1, 0 } uselistorder i32* %21, { 1, 0 } uselistorder i32* %12, { 1, 0, 2 } uselistorder i64 %3, { 2, 3, 0, 1, 4 } uselistorder i64 %2, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.21.reg2mem, { 1, 0, 2 } uselistorder i64 (i64, i64)* @get_bits, { 1, 0 } uselistorder i64 1, { 2, 0, 3, 1 } uselistorder i32 0, { 2, 0, 3, 1 } uselistorder i64 (i64)* @get_ue_golomb_long, { 2, 1, 0 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
r_cmd_alias_get_6458
r_cmd_alias_get
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = icmp ne i64* %arg1, null %1 = icmp eq i64 %arg2, 0 %2 = icmp eq i1 %1, false %or.cond = icmp eq i1 %0, %2 store i64 0, i64* %storemerge.reg2mem br i1 %or.cond, label LBL_1, label LBL_2 LBL_1: %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 %3, i64 %arg2, i64 0) store i64 %4, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 %arg2, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
gigaset_shutdown_4144
gigaset_shutdown
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = call i64 @FUNC(i64 %3) %5 = urem i64 %1, 2 %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = call i64 @FUNC(i64 %3) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_5 LBL_2: %9 = add i64 %2, 4 %10 = inttoptr i64 %9 to i32* store i32 1, i32* %10, align 4 %11 = add i64 %2, 12 %12 = call i64 @FUNC(i64 %2, i64 %11, i64 2, i64 0, i64 0, i64 0) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 br i1 %14, label LBL_4, label LBL_3 LBL_3: %15 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0)) %16 = call i64 @FUNC(i64 %2) %17 = load i32, i32* %10, align 4 %18 = icmp eq i32 %17, 0 %19 = add i64 %2, 16 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = zext i1 %18 to i64 %23 = zext i32 %21 to i64 %24 = call i64 @FUNC(i64 %23, i64 %22) %25 = call i64 @FUNC(i64 %2) br label LBL_4 LBL_4: %26 = call i64 @FUNC(i64 %3) 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 %3, { 1, 0, 2 } uselistorder i64 %2, { 0, 2, 1, 4, 3, 5, 6 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @mutex_unlock, { 1, 0 } uselistorder i64 2, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
qpci_io_writel_14132
qpci_io_writel
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = icmp ult i64 %arg2, 65535 br i1 %0, label LBL_1, label LBL_2 LBL_1: %1 = ptrtoint i64* %arg1 to i64 store i64 %1, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %2 = zext i32 %arg3 to i64 %3 = call i64 @FUNC(i64 %2) store i64 %2, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
1
BinRealVul
isa_irq_handler_3904
isa_irq_handler
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 = trunc i64 %arg2 to i32 %sext = mul i64 %arg2, 4294967296 %sext2 = mul i64 %arg3, 4294967296 %2 = ashr exact i64 %sext2, 32 %3 = icmp sgt i32 %1, 15 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = ashr exact i64 %sext, 30 %5 = add i64 %4, %0 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = and i64 %2, 4294967295 %9 = zext i32 %7 to i64 %10 = call i64 @FUNC(i64 %9, i64 %8) br label LBL_2 LBL_2: %11 = add i64 %0, 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_4, label LBL_3 LBL_3: %15 = ashr exact i64 %sext, 30 %16 = add i64 %13, %15 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = and i64 %2, 4294967295 %20 = zext i32 %18 to i64 %21 = call i64 @FUNC(i64 %20, i64 %19) 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 %2, { 1, 0 } uselistorder i64 %sext, { 1, 0 } uselistorder i64 %0, { 1, 0 } uselistorder i64 (i64, i64)* @qemu_set_irq, { 1, 0 } }
0
BinRealVul
calc_coeff_13690
calc_coeff
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i128 %sv_0.0.in8.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %xmm0.210.reg2mem = alloca i128 %indvars.iv20.reg2mem = alloca i64 %indvars.iv23.reg2mem = alloca i64 %sv_1.113.reg2mem = alloca i32 %storemerge614.reg2mem = alloca i32 %sv_1.015.reg2mem = alloca i32 %storemerge716.reg2mem = alloca i32 %1 = load i128, i128* %0 %2 = load i128, i128* %0 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %sv_5 = alloca i64, align 8 %sv_6 = alloca i64, align 8 %sv_7 = alloca i64, align 8 %3 = call i64 @FUNC(i128 %2) %4 = call i64 @FUNC(i128 %1) %5 = call i128 @__asm_movsd.1(i64 %4) %6 = call i128 @FUNC(i128 %5, i128 %5) %7 = call i64 @FUNC(i128 %6) %8 = call i128 @__asm_movsd.1(i64 %7) %9 = call i128 @__asm_mulsd.2(i128 %8, i64 %4) %10 = call i64 @FUNC(i128 %9) %11 = call i128 @__asm_movsd.1(i64 %4) %12 = call i128 @__asm_movsd.1(i64 4657759953677713408) %13 = call i128 @FUNC(i128 %11, i128 %12) %14 = call i128 @__asm_movsd.1(i64 4662443873212039168) %15 = call i128 @FUNC(i128 %13, i128 %14) %16 = call i128 @__asm_movsd.1(i64 %7) %17 = call i128 @__asm_movsd.1(i64 4652517482236477440) %18 = call i128 @FUNC(i128 %17, i128 %16) %19 = call i128 @FUNC(i128 %15, i128 %18) %20 = call i128 @__asm_movsd.1(i64 %10) %21 = call i128 @__asm_movsd.1(i64 4659431211351932928) %22 = call i128 @FUNC(i128 %21, i128 %20) %23 = call i128 @FUNC(i128 %22, i128 %19) %24 = call i128 @__asm_movsd.1(i64 4667875460653252608) %25 = call i128 @FUNC(i128 %23, i128 %24) %26 = call i64 @FUNC(i128 %25) store i64 %26, i64* %sv_6, align 8 %27 = call i128 @__asm_movsd.1(i64 %4) %28 = call i128 @__asm_movsd.1(i64 4641592734702895104) %29 = call i128 @FUNC(i128 %27, i128 %28) %30 = call i128 @__asm_movsd.1(i64 4658690140514811904) %31 = call i128 @FUNC(i128 %30, i128 %29) %32 = call i128 @__asm_movsd.1(i64 %7) %33 = call i128 @__asm_movsd.1(i64 4643510282981736448) %34 = call i128 @FUNC(i128 %33, i128 %32) %35 = call i128 @FUNC(i128 %31, i128 %34) %36 = call i128 @__asm_movsd.1(i64 %10) %37 = call i128 @__asm_movsd.1(i64 4657628012282380288) %38 = call i128 @FUNC(i128 %37, i128 %36) %39 = call i128 @FUNC(i128 %35, i128 %38) %40 = call i128 @__asm_movsd.1(i64 4667875460653252608) %41 = call i128 @FUNC(i128 %39, i128 %40) %42 = call i64 @FUNC(i128 %41) %43 = call i128 @__asm_movsd.1(i64 %4) %44 = call i128 @__asm_movsd.1(i64 4651338805771501568) %45 = call i128 @FUNC(i128 %43, i128 %44) %46 = call i128 @__asm_movsd.1(i64 4647257418609197056) %47 = call i128 @FUNC(i128 %46, i128 %45) %48 = call i128 @__asm_movsd.1(i64 %7) %49 = call i128 @__asm_movsd.1(i64 4648013882609106944) %50 = call i128 @FUNC(i128 %48, i128 %49) %51 = call i128 @FUNC(i128 %47) %52 = call i128 @FUNC(i128 %51, i128 %50) %53 = call i128 @__asm_movsd.1(i64 %10) %54 = call i128 @__asm_movsd.1(i64 4651866571352834048) %55 = call i128 @FUNC(i128 %54, i128 %53) %56 = call i128 @FUNC(i128 %55, i128 %52) %57 = call i128 @__asm_movsd.1(i64 4667875460653252608) %58 = call i128 @FUNC(i128 %56, i128 %57) %59 = call i64 @FUNC(i128 %58) %60 = call i128 @__asm_movsd.1(i64 %4) %61 = call i128 @__asm_movsd.1(i64 4638566878703255552) %62 = call i128 @FUNC(i128 %60) %63 = call i128 @FUNC(i128 %62, i128 %61) %64 = call i128 @__asm_movsd.1(i64 4625478292286210048) %65 = call i128 @FUNC(i128 %64) %66 = call i128 @FUNC(i128 %65, i128 %63) %67 = call i128 @__asm_movsd.1(i64 %7) %68 = call i128 @__asm_movsd.1(i64 4643510282981736448) %69 = call i128 @FUNC(i128 %68, i128 %67) %70 = call i128 @FUNC(i128 %69, i128 %66) %71 = call i128 @__asm_movsd.1(i64 %10) %72 = call i128 @__asm_movsd.1(i64 4639974253586808832) %73 = call i128 @FUNC(i128 %72, i128 %71) %74 = call i128 @FUNC(i128 %70, i128 %73) %75 = call i128 @__asm_movsd.1(i64 4667875460653252608) %76 = call i128 @FUNC(i128 %74, i128 %75) %77 = call i64 @FUNC(i128 %76) store i64 %26, i64* %sv_5, align 8 %78 = call i64* @memset(i64* nonnull %sv_4, i32 0, i32 80) %79 = call i64 @FUNC(i64* nonnull %sv_5, i64 6, i64* nonnull %sv_6) %80 = mul i64 %arg3, 2 %81 = and i64 %80, 4294967294 %82 = icmp eq i64 %81, 0 store i32 0, i32* %storemerge716.reg2mem store i32 6, i32* %sv_1.015.reg2mem br i1 %82, label LBL_2, label LBL_1 LBL_1: %sv_1.015.reload = load i32, i32* %sv_1.015.reg2mem %storemerge716.reload = load i32, i32* %storemerge716.reg2mem %83 = add i32 %sv_1.015.reload, 1 %84 = zext i32 %83 to i64 %85 = call i64 @FUNC(i64* nonnull %sv_5, i64 %84) %86 = add i32 %storemerge716.reload, 1 %87 = sext i32 %86 to i64 %88 = icmp sgt i64 %81, %87 store i32 %86, i32* %storemerge716.reg2mem store i32 %83, i32* %sv_1.015.reg2mem br i1 %88, label LBL_1, label LBL_2 LBL_2: %89 = ptrtoint i64* %arg2 to i64 %90 = add i64 %89, 12 %91 = inttoptr i64 %90 to i32* %92 = load i32, i32* %91, align 4 %93 = trunc i64 %arg3 to i32 %94 = add i32 %92, %93 %95 = add i32 %94, 3 %96 = call i128 @FUNC(i64 %3) %97 = zext i32 %95 to i64 %98 = call i64 @FUNC(i64* nonnull %sv_3, i64 %97) %99 = mul i32 %94, 8 %100 = sub i32 72, %99 %101 = sext i32 %95 to i64 %102 = mul i64 %101, 8 %103 = ptrtoint i64* %sv_3 to i64 %104 = add i64 %103, 8 %105 = add i64 %104, %102 %106 = inttoptr i64 %105 to i64* %107 = call i64* @memset(i64* %106, i32 0, i32 %100) %108 = zext i32 %94 to i64 %109 = call i64 @FUNC(i64* nonnull %sv_3, i64 %108, i64* nonnull %sv_6) %110 = icmp sgt i32 %93, 0 store i32 0, i32* %storemerge614.reg2mem store i32 %94, i32* %sv_1.113.reg2mem br i1 %110, label LBL_3, label LBL_4 LBL_3: %sv_1.113.reload = load i32, i32* %sv_1.113.reg2mem %storemerge614.reload = load i32, i32* %storemerge614.reg2mem %111 = add i32 %sv_1.113.reload, -1 %112 = zext i32 %111 to i64 %113 = call i64 @FUNC(i64* nonnull %sv_3, i64 %112) %114 = add nuw nsw i32 %storemerge614.reload, 1 %exitcond26 = icmp eq i32 %114, %93 store i32 %114, i32* %storemerge614.reg2mem store i32 %111, i32* %sv_1.113.reg2mem br i1 %exitcond26, label LBL_4, label LBL_3 LBL_4: %115 = ptrtoint i64* %arg1 to i64 %116 = ptrtoint i64* %sv_7 to i64 %117 = call i64 @FUNC(i64* nonnull %sv_2, i64* nonnull %sv_5, i64 %89) %118 = add i64 %116, -208 %119 = add i64 %116, -320 %120 = add i64 %116, -480 store i64 0, i64* %indvars.iv23.reg2mem br label LBL_5 LBL_5: %indvars.iv23.reload = load i64, i64* %indvars.iv23.reg2mem %121 = load i64, i64* %sv_5, align 8 %122 = call i128 @__asm_movsd.1(i64 %121) %123 = mul i64 %indvars.iv23.reload, 4 %124 = add i64 %123, %89 %125 = inttoptr i64 %124 to i32* %126 = load i32, i32* %125, align 4 %127 = sext i32 %126 to i64 %128 = mul i64 %127, 8 %129 = add i64 %118, %128 %130 = inttoptr i64 %129 to i64* %131 = load i64, i64* %130, align 8 %132 = call i128 @__asm_movsd.1(i64 %131) %133 = call i128 @FUNC(i128 %122, i128 %132) %134 = load i64, i64* %sv_3, align 8 %135 = call i128 @__asm_movsd.1(i64 %134) %136 = call i128 @FUNC(i128 %133) %137 = call i128 @FUNC(i128 %136, i128 %135) %138 = load i32, i32* %125, align 4 %139 = sext i32 %138 to i64 %140 = mul i64 %139, 8 %141 = add i64 %119, %140 %142 = inttoptr i64 %141 to i64* %143 = load i64, i64* %142, align 8 %144 = call i128 @__asm_movsd.1(i64 %143) %145 = call i128 @FUNC(i128 %144, i128 %137) %146 = call i64 @FUNC(i128 %145) %147 = mul i64 %indvars.iv23.reload, 8 %148 = add i64 %147, %120 %149 = inttoptr i64 %148 to i64* store i64 %146, i64* %149, align 8 %indvars.iv.next24 = add nuw nsw i64 %indvars.iv23.reload, 1 %exitcond25 = icmp eq i64 %indvars.iv.next24, 4 store i64 %indvars.iv.next24, i64* %indvars.iv23.reg2mem br i1 %exitcond25, label LBL_6, label LBL_5 LBL_6: %150 = add i64 %116, -448 store i64 0, i64* %indvars.iv20.reg2mem store i128 %145, i128* %xmm0.210.reg2mem br label LBL_7 LBL_7: %xmm0.210.reload = load i128, i128* %xmm0.210.reg2mem %indvars.iv20.reload = load i64, i64* %indvars.iv20.reg2mem %151 = call i128 @FUNC(i128 %xmm0.210.reload, i128 %xmm0.210.reload) %152 = call i64 @FUNC(i128 %151) %153 = mul i64 %indvars.iv20.reload, 4 store i64 0, i64* %indvars.iv.reg2mem store i64 %152, i64* %sv_0.0.in8.reg2mem br label LBL_8 LBL_8: %sv_0.0.in8.reload = load i64, i64* %sv_0.0.in8.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %154 = add nuw nsw i64 %indvars.iv.reload, %153 %155 = mul i64 %154, 8 %156 = add i64 %150, %155 %157 = inttoptr i64 %156 to i64* %158 = load i64, i64* %157, align 8 %159 = call i128 @__asm_movsd.1(i64 %158) %160 = mul i64 %indvars.iv.reload, 8 %161 = add i64 %160, %120 %162 = inttoptr i64 %161 to i64* %163 = load i64, i64* %162, align 8 %164 = call i128 @__asm_movsd.1(i64 %163) %165 = call i128 @FUNC(i128 %164, i128 %159) %166 = call i128 @__asm_movsd.1(i64 %sv_0.0.in8.reload) %167 = call i128 @FUNC(i128 %165, i128 %166) %168 = call i64 @FUNC(i128 %167) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 4 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %168, i64* %sv_0.0.in8.reg2mem br i1 %exitcond, label LBL_9, label LBL_8 LBL_9: %sv_0.0 = sext i64 %168 to i128 %169 = call i128 @FUNC(i128 %167, i128 %167) call void @FUNC(i128 %169, i128 %sv_0.0) %170 = call i128 @FUNC(i128 %169, i128 %169) %171 = mul i64 %indvars.iv20.reload, 8 %172 = add i64 %171, %115 %173 = call i64 @FUNC(i128 %170) %174 = inttoptr i64 %172 to i64* store i64 %173, i64* %174, align 8 %indvars.iv.next21 = add nuw nsw i64 %indvars.iv20.reload, 1 %exitcond22 = icmp eq i64 %indvars.iv.next21, 4 store i64 %indvars.iv.next21, i64* %indvars.iv20.reg2mem store i128 %170, i128* %xmm0.210.reg2mem br i1 %exitcond22, label LBL_10, label LBL_7 LBL_10: ret i64 %172 uselistorder i128 %169, { 1, 0, 2 } uselistorder i64 %168, { 1, 0 } uselistorder i128 %167, { 1, 0, 2 } uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64 %indvars.iv20.reload, { 0, 2, 1 } uselistorder i128 %xmm0.210.reload, { 1, 0 } uselistorder i64 %indvars.iv23.reload, { 0, 2, 1 } uselistorder i32 %94, { 0, 2, 1, 3 } uselistorder i32 %93, { 1, 2, 0 } uselistorder i64 %81, { 1, 0 } uselistorder i64 %10, { 3, 2, 1, 0 } uselistorder i64 %7, { 4, 3, 2, 1, 0 } uselistorder i128 %5, { 1, 0 } uselistorder i64 %4, { 1, 5, 4, 3, 2, 0 } uselistorder i64* %sv_5, { 3, 0, 1, 2, 4 } uselistorder i64* %sv_3, { 3, 0, 1, 4, 2 } uselistorder i32* %storemerge716.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.015.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge614.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.113.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv23.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv20.reg2mem, { 1, 0, 2 } uselistorder i128* %xmm0.210.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.0.in8.reg2mem, { 1, 0, 2 } uselistorder i128* %0, { 1, 0 } uselistorder i64 (i64*, i64)* @coeff_blur121, { 1, 0 } uselistorder i64 (i64*, i64, i64*)* @coeff_filter, { 1, 0 } uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 } uselistorder i32 0, { 0, 2, 3, 1, 4 } uselistorder i64 %arg3, { 1, 0 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
pl041_device_class_init_17302
pl041_device_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 store i64 4198662, i64* %arg1, align 8 %3 = trunc i64 %1 to i32 %4 = or i32 %3, 1 %5 = bitcast i64* %arg1 to i32* store i32 %4, i32* %5, align 4 %6 = add i64 %2, 4 %7 = inttoptr i64 %6 to i32* store i32 1, i32* %7, align 4 %8 = add i64 %2, 8 %9 = inttoptr i64 %8 to i64* store i64 4198669, i64* %9, align 8 %10 = add i64 %2, 16 %11 = inttoptr i64 %10 to i64* store i64 ptrtoint (i64* @gv_0 to i64), i64* %11, align 8 %12 = load i64, i64* @gv_1, align 8 %13 = add i64 %2, 24 %14 = inttoptr i64 %13 to i64* store i64 %12, i64* %14, align 8 ret i64 %2 uselistorder i64 %2, { 1, 0, 2, 3, 4 } }
1
BinRealVul
qlcnic_sriov_cfg_vf_guest_vlan_4683
qlcnic_sriov_cfg_vf_guest_vlan
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.shrunk.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = trunc i64 %arg2 to i16 %1 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 8) %2 = icmp eq i16 %0, 0 %3 = icmp eq i1 %2, false store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %3, label LBL_1, label LBL_10 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %sext2 = mul i64 %arg3, 72057594037927936 %5 = ashr exact i64 %sext2, 56 %6 = urem i64 %arg2, 65536 %7 = urem i64 %5, 256 %8 = call i64 @FUNC(i64 %4, i64 %6, i64 %7) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 store i64 %8, i64* %rax.0.shrunk.reg2mem br i1 %10, label LBL_2, label LBL_10 LBL_2: %11 = call i64 @FUNC(i64* nonnull %sv_0, i64 0) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 store i64 %11, i64* %rax.0.shrunk.reg2mem br i1 %13, label LBL_3, label LBL_10 LBL_3: %14 = add i64 %4, 8 %15 = call i64 @FUNC(i64 %14) %16 = call i64 @FUNC(i64 %4, i64* nonnull %sv_0) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 br i1 %18, label LBL_5, label LBL_4 LBL_4: %19 = inttoptr i64 %14 to i64* %20 = load i64, i64* %19, align 8 %21 = and i64 %16, 4294967295 %22 = call i64 @FUNC(i64 %20, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_0, i64 0, i64 0), i64 %21) br label LBL_9 LBL_5: %23 = ptrtoint i64* %sv_0 to i64 %24 = call i64 @FUNC(i64 %4) %25 = trunc i64 %5 to i8 %26 = icmp eq i8 %25, 0 br i1 %26, label LBL_7, label LBL_6 LBL_6: %27 = call i64 @FUNC(i64 %23, i64 %6, i64 1) br label LBL_8 LBL_7: %28 = call i64 @FUNC(i64 %23, i64 %6, i64 0) br label LBL_8 LBL_8: %29 = add i64 %4, 16 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = call i64 @FUNC(i64 %31) br label LBL_9 LBL_9: %33 = call i64 @FUNC(i64* nonnull %sv_0) store i64 %16, i64* %rax.0.shrunk.reg2mem br label LBL_10 LBL_10: %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295 ret i64 %rax.0 uselistorder i64 %6, { 2, 1, 0 } uselistorder i64 %5, { 1, 0 } uselistorder i64* %sv_0, { 0, 4, 1, 2, 3 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i64 (i64, i64, i64)* @qlcnic_sriov_vlan_operation, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 0 } uselistorder label LBL_10, { 3, 0, 1, 2 } }
0
BinRealVul
set_interface_var_4428
set_interface_var
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = bitcast i64* %sv_0 to i8* %1 = inttoptr i64 %arg2 to i8* %2 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %0, i32 80, i8* %1) %3 = icmp ult i32 %2, 80 store i64 4294967295, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_8 LBL_1: %4 = inttoptr i64 %arg3 to i8* %5 = call i8* @strstr(i8* %4, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0)) %6 = icmp eq i8* %5, null %7 = icmp eq i1 %6, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %7, label LBL_8, label LBL_2 LBL_2: %8 = call i8* @strchr(i8* %4, i32 47) %9 = icmp eq i8* %8, null store i64 4294967295, i64* %rax.0.reg2mem br i1 %9, label LBL_3, label LBL_8 LBL_3: %10 = call i32 @access(i8* nonnull %0, i32 0) %11 = icmp eq i32 %10, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %11, label LBL_4, label LBL_8 LBL_4: %12 = call %_IO_FILE* @fopen(i8* nonnull %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0)) %13 = icmp eq %_IO_FILE* %12, null %14 = icmp eq i1 %13, false br i1 %14, label LBL_7, label LBL_5 LBL_5: %15 = icmp eq i64 %arg3, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %15, label LBL_8, label LBL_6 LBL_6: %16 = call i32* @__errno_location() %17 = load i32, i32* %16, align 4 %18 = call i8* @strerror(i32 %17) %19 = ptrtoint i8* %18 to i64 %20 = zext i32 %arg4 to i64 %21 = call i64 @FUNC(i64 3, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_2, i64 0, i64 0), i64 %arg3, i64 %20, i64 %arg1, i64 %19) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_8 LBL_7: %22 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %12, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_3, i64 0, i64 0), i32 %arg4) %23 = call i32 @fclose(%_IO_FILE* %12) store i64 0, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder %_IO_FILE* %12, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 7, 2, 1, 3, 5, 4, 6 } uselistorder i64 4294967295, { 1, 0, 2, 4, 3, 5 } uselistorder i32 1, { 3, 2, 1, 0 } uselistorder i32 %arg4, { 1, 0 } uselistorder label LBL_8, { 6, 1, 0, 2, 4, 3, 5 } }
0
BinRealVul
array_free_15045
array_free
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = icmp eq i64* %arg1, null br i1 %0, label LBL_2, label LBL_1 LBL_1: call void @free(i64* nonnull %arg1) br label LBL_2 LBL_2: %1 = ptrtoint i64* %arg1 to i64 %2 = add i64 %1, 16 %3 = inttoptr i64 %2 to i64* store i64 0, i64* %3, align 8 %4 = add i64 %1, 8 %5 = inttoptr i64 %4 to i64* store i64 0, i64* %5, align 8 ret i64 %1 uselistorder i64 %1, { 1, 0, 2 } uselistorder i64* %arg1, { 2, 0, 1 } }
1
BinRealVul
rose_start_idletimer_5858
rose_start_idletimer
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0, i64 %1) %3 = add i64 %1, 16 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = icmp eq i64 %5, 0 store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = inttoptr i64 %1 to i64* store i64 4198768, i64* %7, align 8 %8 = load i64, i64* %4, align 8 %9 = load i64, i64* @gv_0, align 8 %10 = add i64 %9, %8 %11 = add i64 %1, 8 %12 = inttoptr i64 %11 to i64* store i64 %10, i64* %12, align 8 %13 = call i64 @FUNC(i64 %0, i64 %1, i64 %10) store i64 %13, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload }
0
BinRealVul
inject_user_5159
inject_user
define i64 @FUNC() local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i32 @strlen(i8* bitcast (i8** @gv_0 to i8*)) %1 = sext i32 %0 to i64 %2 = add nsw i64 %1, 1 %3 = call i64 @FUNC(i64* bitcast (i8** @gv_0 to i64*), i64* bitcast (i8** @gv_0 to i64*), i64 %2) %4 = load i32*, i32** @gv_1, align 8 %5 = load i32, i32* %4, align 4 %6 = urem i32 %5, 2 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = load i64, i64* @gv_2, align 8 %9 = call i64 @FUNC(i64* bitcast (i8** @gv_0 to i64*), i64 %3, i64 %8, i64 1) store i64 %9, i64* %rax.0.reg2mem br label LBL_4 LBL_2: %10 = load i32*, i32** @gv_3, align 8 %11 = load i32, i32* %10, align 4 %12 = urem i32 %11, 2 %13 = icmp eq i32 %12, 0 store i64 0, i64* %rax.0.reg2mem br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = load i64, i64* @gv_2, align 8 %15 = call i64 @FUNC(i64* bitcast (i8** @gv_0 to i64*), i64 %3, i64 %14, i64 2) 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 i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64 (i64*, i64, i64, i64)* @user_inject, { 1, 0 } uselistorder i32 (i8*)* @strlen, { 1, 0 } }
0
BinRealVul
smcr_link_clear_7105
smcr_link_clear
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null store i64 %0, i64* %rax.0.reg2mem br i1 %1, label LBL_4, label LBL_1 LBL_1: %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = icmp eq i32 %4, 0 store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_4, label LBL_2 LBL_2: %6 = urem i64 %arg2, 256 %7 = add i64 %0, 12 %8 = inttoptr i64 %7 to i32* store i32 0, i32* %8, align 4 %9 = call i64 @FUNC(i64 %0, i64 %6) %10 = call i64 @FUNC(i64 %0) %11 = call i64 @FUNC(i64 %0) %12 = call i64 @FUNC(i64 %0) %13 = call i64 @FUNC(i64 %0) %14 = call i64 @FUNC(i64 %0) %15 = call i64 @FUNC(i64 %0) %16 = call i64 @FUNC(i64 %0) %17 = call i64 @FUNC(i64 %0) %18 = add i64 %0, 16 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = call i64 @FUNC(i64 %22) %24 = load i64, i64* %19, align 8 %25 = call i64* @memset(i64* nonnull %arg1, i32 0, i32 24) store i32 0, i32* %3, align 4 %26 = add i64 %24, 8 %27 = call i64 @FUNC(i64 %26) %28 = trunc i64 %27 to i32 %29 = icmp eq i32 %28, 0 %30 = icmp eq i1 %29, false store i64 %27, i64* %rax.0.reg2mem br i1 %30, label LBL_4, label LBL_3 LBL_3: %31 = add i64 %24, 16 %32 = call i64 @FUNC(i64 %31) store i64 %32, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 5, 4, 3, 2, 1, 10, 9, 8, 7, 6, 11, 12, 0 } uselistorder i32 0, { 1, 2, 0, 3, 4 } uselistorder label LBL_4, { 2, 3, 1, 0 } }
0
BinRealVul
qcrypto_hash_digest_len_14077
qcrypto_hash_digest_len
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = trunc i64 %arg1 to i32 %1 = icmp ult i32 %0, 3 store i64 0, i64* %storemerge.reg2mem br i1 %1, label LBL_1, label LBL_2 LBL_1: %2 = mul i64 %arg1, 8 %3 = and i64 %2, 34359738360 %4 = add i64 %3, ptrtoint (i64* @gv_0 to i64) %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 store i64 %6, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
network_to_compress_15216
network_to_compress
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i32 %4 = call i32 @ntohl(i32 %3) %5 = bitcast i64* %arg1 to i32* store i32 %4, i32* %5, align 4 %6 = add i64 %2, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = call i32 @ntohl(i32 %8) store i32 %9, i32* %7, align 4 %10 = add i64 %2, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @FUNC(i64 %12) store i64 %13, i64* %11, align 8 %14 = add i64 %2, 16 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = call i64 @FUNC(i64 %16) store i64 %17, i64* %15, align 8 ret i64 %17 uselistorder i64 %17, { 1, 0 } uselistorder i64 (i64)* @ntohll, { 1, 0 } uselistorder i32 (i32)* @ntohl, { 3, 2, 1, 0 } }
1
BinRealVul
block_job_completed_single_1711
block_job_completed_single
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 = call i64 @FUNC(i64 %2) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %2) br label LBL_5 LBL_2: %7 = trunc i64 %1 to i32 %8 = icmp slt i32 %7, 0 %9 = icmp eq i1 %8, false store i64 0, i64* %sv_0.0.reg2mem br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = sub i32 0, %7 %11 = call i8* @strerror(i32 %10) %12 = ptrtoint i8* %11 to i64 store i64 %12, i64* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %13 = call i64 @FUNC(i64 %2, i64 %sv_0.0.reload) br label LBL_5 LBL_5: %14 = add i64 %2, 32 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = icmp eq i64 %16, 0 br i1 %17, label LBL_7, label LBL_6 LBL_6: %18 = call i64 @FUNC(i64 %16) br label LBL_7 LBL_7: %19 = call i64 @FUNC(i64 %2) ret i64 %19 uselistorder i32 %7, { 1, 0 } uselistorder i64 %2, { 1, 2, 3, 0, 4 } }
0
BinRealVul
adts_aac_probe_1791
adts_aac_probe
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.lcssa212223.reg2mem = alloca i32 %sv_0.09.reg2mem = alloca i32 %sv_1.110.reg2mem = alloca i32 %storemerge11.reg2mem = alloca i64 %storemerge1.lcssa.reg2mem = alloca i32 %sv_2.0.lcssa.reg2mem = alloca i64 %sv_2.02.reg2mem = alloca i64 %storemerge13.reg2mem = alloca i32 %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 = sext i32 %3 to i64 %5 = add i64 %0, -7 %6 = add i64 %5, %4 %7 = icmp ugt i64 %6, %0 store i64 %0, i64* %storemerge11.reg2mem store i32 0, i32* %sv_1.110.reg2mem store i32 0, i32* %sv_0.09.reg2mem store i32 0, i32* %sv_0.0.lcssa212223.reg2mem br i1 %7, label LBL_5, label LBL_9 LBL_1: %sv_2.02.reload = load i64, i64* %sv_2.02.reg2mem %storemerge13.reload = load i32, i32* %storemerge13.reg2mem %8 = inttoptr i64 %sv_2.02.reload to i16* %9 = load i16, i16* %8, align 2 %10 = and i16 %9, -10 %11 = icmp eq i16 %10, -16 %12 = icmp eq i1 %11, false store i64 %sv_2.02.reload, i64* %sv_2.0.lcssa.reg2mem store i32 %storemerge13.reload, i32* %storemerge1.lcssa.reg2mem br i1 %12, label LBL_4, label LBL_2 LBL_2: %13 = add i64 %sv_2.02.reload, 3 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = udiv i32 %15, 8192 %17 = urem i32 %16, 8192 %18 = icmp ult i32 %17, 7 store i64 %sv_2.02.reload, i64* %sv_2.0.lcssa.reg2mem store i32 %storemerge13.reload, i32* %storemerge1.lcssa.reg2mem br i1 %18, label LBL_4, label LBL_3 LBL_3: %19 = sub i64 %6, %sv_2.02.reload %20 = zext i32 %17 to i64 %21 = sub i64 %19, %20 %22 = xor i64 %21, -9223372036854775808 %23 = and i64 %22, %19 %24 = icmp slt i64 %23, 0 %25 = icmp eq i64 %21, 0 %26 = icmp slt i64 %21, 0 %27 = icmp ne i1 %26, %24 %28 = or i1 %25, %27 %29 = select i1 %28, i64 %19, i64 %20 %sext = mul i64 %29, 4294967296 %30 = ashr exact i64 %sext, 32 %31 = add i64 %30, %sv_2.02.reload %32 = add i32 %storemerge13.reload, 1 %33 = icmp ugt i64 %6, %31 store i32 %32, i32* %storemerge13.reg2mem store i64 %31, i64* %sv_2.02.reg2mem store i64 %31, i64* %sv_2.0.lcssa.reg2mem store i32 %32, i32* %storemerge1.lcssa.reg2mem br i1 %33, label LBL_1, label LBL_4 LBL_4: %storemerge1.lcssa.reload = load i32, i32* %storemerge1.lcssa.reg2mem %sv_2.0.lcssa.reload = load i64, i64* %sv_2.0.lcssa.reg2mem %34 = sub i32 %sv_0.09.reload, %storemerge1.lcssa.reload %35 = xor i32 %storemerge1.lcssa.reload, %sv_0.09.reload %36 = xor i32 %34, %sv_0.09.reload %37 = and i32 %36, %35 %38 = icmp slt i32 %37, 0 %39 = icmp slt i32 %34, 0 %40 = icmp eq i1 %39, %38 %41 = select i1 %40, i32 %sv_0.09.reload, i32 %storemerge1.lcssa.reload %42 = icmp eq i64 %storemerge11.reload, %0 %43 = icmp eq i1 %42, false %spec.select = select i1 %43, i32 %sv_1.110.reload, i32 %storemerge1.lcssa.reload %44 = add i64 %sv_2.0.lcssa.reload, 1 %45 = icmp ult i64 %44, %6 store i64 %44, i64* %storemerge11.reg2mem store i32 %spec.select, i32* %sv_1.110.reg2mem store i32 %41, i32* %sv_0.09.reg2mem br i1 %45, label LBL_5, label LBL_6 LBL_5: %sv_0.09.reload = load i32, i32* %sv_0.09.reg2mem %sv_1.110.reload = load i32, i32* %sv_1.110.reg2mem %storemerge11.reload = load i64, i64* %storemerge11.reg2mem %46 = icmp ugt i64 %6, %storemerge11.reload store i32 0, i32* %storemerge13.reg2mem store i64 %storemerge11.reload, i64* %sv_2.02.reg2mem store i64 %storemerge11.reload, i64* %sv_2.0.lcssa.reg2mem store i32 0, i32* %storemerge1.lcssa.reg2mem br i1 %46, label LBL_1, label LBL_4 LBL_6: %phitmp = icmp slt i32 %spec.select, 3 store i64 51, i64* %rax.0.reg2mem br i1 %phitmp, label LBL_7, label LBL_10 LBL_7: %47 = icmp slt i32 %41, 501 store i64 50, i64* %rax.0.reg2mem br i1 %47, label LBL_8, label LBL_10 LBL_8: %48 = icmp slt i32 %41, 3 store i32 %41, i32* %sv_0.0.lcssa212223.reg2mem store i64 25, i64* %rax.0.reg2mem br i1 %48, label LBL_9, label LBL_10 LBL_9: %sv_0.0.lcssa212223.reload = load i32, i32* %sv_0.0.lcssa212223.reg2mem %49 = icmp sgt i32 %sv_0.0.lcssa212223.reload, 0 %. = zext i1 %49 to i64 store i64 %., i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %storemerge11.reload, { 3, 2, 0, 1 } uselistorder i32 %sv_0.09.reload, { 0, 2, 3, 1 } uselistorder i32 %spec.select, { 1, 0 } uselistorder i32 %41, { 0, 2, 3, 1 } uselistorder i32 %34, { 1, 0 } uselistorder i32 %storemerge1.lcssa.reload, { 0, 2, 3, 1 } uselistorder i64 %21, { 1, 2, 0 } uselistorder i64 %19, { 2, 0, 1 } uselistorder i32 %17, { 1, 0 } uselistorder i32 %storemerge13.reload, { 2, 0, 1 } uselistorder i64 %sv_2.02.reload, { 5, 2, 0, 4, 1, 3 } uselistorder i64 %6, { 1, 4, 2, 3, 0 } uselistorder i64 %0, { 3, 0, 1, 2, 4 } uselistorder i32* %storemerge13.reg2mem, { 1, 2, 0 } uselistorder i64* %sv_2.02.reg2mem, { 1, 2, 0 } uselistorder i64* %sv_2.0.lcssa.reg2mem, { 4, 0, 3, 1, 2 } uselistorder i32* %storemerge1.lcssa.reg2mem, { 4, 0, 3, 1, 2 } uselistorder i64* %storemerge11.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.110.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.09.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.0.lcssa212223.reg2mem, { 0, 2, 1 } uselistorder i32 3, { 1, 0 } uselistorder i32 8192, { 1, 0 } uselistorder i32 0, { 5, 3, 4, 6, 7, 0, 1, 2 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_4, { 3, 0, 2, 1 } }
0
BinRealVul
ir_lirc_unregister_18309
ir_lirc_unregister
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = and i64 %1, 4294967295 %3 = call i64 @FUNC(i64 %2) %4 = add nuw nsw i64 %2, 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 %6) ret i64 0 uselistorder i64 %2, { 1, 0 } }
1
BinRealVul
token_11579
token
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %0 = inttoptr i64 %arg1 to %_IO_FILE* br label LBL_1 LBL_1: %1 = call i32 @fgetc(%_IO_FILE* %0) %2 = icmp eq i32 %1, 32 br i1 %2, label LBL_1.backedge, label LBL_3 LBL_2: br label LBL_1 LBL_3: %3 = load i8, i8* inttoptr (i64 4210764 to i8*), align 4 %4 = sext i8 %3 to i32 %5 = icmp eq i32 %1, %4 br i1 %5, label LBL_1.backedge, label %switch.early.test LBL_4: %6 = add i32 %sv_0.0.reload, 1 %7 = sext i32 %sv_0.0.reload to i64 %8 = trunc i32 %sv_1.0.reload to i8 %9 = add i64 %7, ptrtoint (i8** @gv_0 to i64) %10 = inttoptr i64 %9 to i8* store i8 %8, i8* %10, align 1 %11 = call i32 @fgetc(%_IO_FILE* %0) store i32 %11, i32* %sv_1.0.reg2mem store i32 %6, i32* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem switch i32 %sv_1.0.reload, label LBL_6 [ i32 -1, label LBL_8 i32 32, label LBL_8 ] LBL_6: %12 = load i8, i8* bitcast (i32* @gv_1 to i8*), align 4 %13 = sext i8 %12 to i32 %14 = icmp eq i32 %sv_1.0.reload, %13 br i1 %14, label LBL_10, label %switch.early.test14 LBL_7: %15 = icmp eq i32 %sv_1.0.reload, 59 %16 = icmp eq i1 %15, false br i1 %16, label LBL_4, label LBL_10 LBL_8: %17 = icmp eq i32 %sv_1.0.reload, -1 %18 = icmp eq i1 %17, false br i1 %18, label LBL_10, label LBL_9 LBL_9: %19 = icmp eq i32 %sv_0.0.reload, 0 %20 = icmp slt i32 %sv_0.0.reload, 0 %21 = icmp eq i1 %20, false %22 = icmp eq i1 %19, false %23 = icmp eq i1 %21, %22 store i64 0, i64* %storemerge.reg2mem br i1 %23, label LBL_10, label LBL_15 LBL_10: %24 = icmp slt i32 %sv_0.0.reload, 1 %25 = icmp eq i32 %sv_1.0.reload, 58 %or.cond13 = or i1 %25, %24 br i1 %or.cond13, label LBL_12, label LBL_11 LBL_11: %26 = call i32 @ungetc(i32 %sv_1.0.reload, %_IO_FILE* %0) br label LBL_12 LBL_12: %27 = icmp eq i32 %sv_0.0.reload, 0 %28 = icmp slt i32 %sv_0.0.reload, 0 %29 = icmp eq i1 %28, false %30 = icmp eq i1 %27, false %31 = icmp eq i1 %29, %30 store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br i1 %31, label LBL_14, label LBL_13 LBL_13: %32 = add i32 %sv_0.0.reload, 1 %33 = sext i32 %sv_0.0.reload to i64 %34 = trunc i32 %sv_1.0.reload to i8 %35 = add i64 %33, ptrtoint (i8** @gv_0 to i64) %36 = inttoptr i64 %35 to i8* store i8 %34, i8* %36, align 1 store i32 %32, i32* %sv_0.1.reg2mem br label LBL_14 LBL_14: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %37 = sext i32 %sv_0.1.reload to i64 %38 = add i64 %37, ptrtoint (i8** @gv_0 to i64) %39 = inttoptr i64 %38 to i8* store i8 0, i8* %39, align 1 store i64 ptrtoint (i8** @gv_0 to i64), i64* %storemerge.reg2mem br label LBL_15 LBL_15: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %sv_1.0.reload, { 8, 6, 7, 5, 0, 4, 1, 3, 2 } uselistorder i32 %sv_0.0.reload, { 7, 6, 0, 8, 9, 5, 3, 4, 2, 1 } uselistorder i32 %1, { 1, 0, 2, 3 } uselistorder %_IO_FILE* %0, { 1, 0, 2 } uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i8 0, { 1, 0 } uselistorder i32 58, { 1, 0 } uselistorder i32 -1, { 1, 0 } uselistorder i64 ptrtoint (i8** @gv_0 to i64), { 0, 3, 2, 1 } uselistorder i32 59, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 4, 0 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_10, { 4, 5, 0, 3, 2, 1 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_1.backedge, { 2, 3, 4, 1, 0 } }
1
BinRealVul
rdpei_recv_pdu_19017
rdpei_recv_pdu
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i32 %rax.0.shrunk.reg2mem = alloca i64 %1 = ptrtoint i64* %arg2 to i64 %2 = ptrtoint i64* %arg1 to i64 %3 = load i32, i32* %0 %4 = load i32, i32* %0 %5 = urem i32 %4, 65536 %6 = zext i32 %5 to i64 %7 = call i64 @FUNC(i64 %1, i64 %6) %8 = zext i32 %3 to i64 %9 = call i64 @FUNC(i64 %1, i64 %8) %10 = icmp eq i32 %5, 3 br i1 %10, label LBL_9, label LBL_1 LBL_1: %11 = icmp ugt i32 %5, 3 store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %11, label LBL_11, label LBL_2 LBL_2: %trunc = trunc i32 %4 to i16 store i64 0, i64* %rax.0.shrunk.reg2mem switch i16 %trunc, label LBL_11 [ i16 1, label LBL_3 i16 2, label LBL_7 ] LBL_3: %12 = call i64 @FUNC(i64 %2, i64 %1) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 br i1 %14, label LBL_5, label LBL_4 LBL_4: %15 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %16 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %15, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 %13) store i64 %12, i64* %rax.0.shrunk.reg2mem br label LBL_11 LBL_5: %17 = call i64 @FUNC(i64 %2) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %19, label LBL_11, label LBL_6 LBL_6: %20 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %21 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %20, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_2, i64 0, i64 0), i32 %18) store i64 %17, i64* %rax.0.shrunk.reg2mem br label LBL_11 LBL_7: %22 = call i64 @FUNC(i64 %2, i64 %1) %23 = trunc i64 %22 to i32 %24 = icmp eq i32 %23, 0 store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %24, label LBL_11, label LBL_8 LBL_8: %25 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %26 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %25, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_3, i64 0, i64 0), i32 %23) store i64 %22, i64* %rax.0.shrunk.reg2mem br label LBL_11 LBL_9: %27 = call i64 @FUNC(i64 %2, i64 %1) %28 = trunc i64 %27 to i32 %29 = icmp eq i32 %28, 0 store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %29, label LBL_11, label LBL_10 LBL_10: %30 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %31 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %30, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_4, i64 0, i64 0), i32 %28) store i64 %27, i64* %rax.0.shrunk.reg2mem br label LBL_11 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 %5, { 1, 2, 0 } uselistorder i64 %2, { 3, 0, 1, 2 } uselistorder i64 %1, { 2, 0, 1, 3, 4 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 9, 4, 6, 3, 8, 2, 7, 5, 1 } uselistorder i32* %0, { 1, 0 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 1, 0, 3, 2 } uselistorder %_IO_FILE** @gv_0, { 3, 2, 1, 0 } uselistorder label LBL_11, { 5, 3, 6, 2, 7, 1, 8, 4, 0 } }
1
BinRealVul
r128_cce_indices_4286
r128_cce_indices
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg3 to i64 %3 = ptrtoint i64* %arg2 to i64 %4 = ptrtoint i64* %arg1 to i64 %5 = add i64 %4, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = inttoptr i64 %7 to i32* %9 = call i64 @FUNC(i64 %4, i64 %2) %10 = call i64 @FUNC(i64 %4) %11 = add i64 %3, 16 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = add i64 %3, 8 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = add i64 %3, 4 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = trunc i64 %1 to i32 %21 = call i32 @getpid() %22 = zext i32 %13 to i64 %23 = zext i32 %16 to i64 %24 = zext i32 %19 to i64 %25 = and i64 %1, 4294967295 %26 = zext i32 %21 to i64 %27 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0), i64 %26, i64 %25, i64 %24, i64 %23, i64 %22) %28 = icmp sgt i32 %20, -1 %.pre = load i32, i32* %8, align 4 %29 = icmp ugt i32 %.pre, %20 %or.cond = icmp eq i1 %28, %29 br i1 %or.cond, label LBL_2, label LBL_1 LBL_1: %30 = add i32 %.pre, -1 %31 = zext i32 %30 to i64 %32 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_1, i64 0, i64 0), i64 %25, i64 %31, i64 %24, i64 %23, i64 %22) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_13 LBL_2: %33 = add i64 %3, 12 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = icmp ult i32 %35, 4 br i1 %36, label LBL_4, label LBL_3 LBL_3: %37 = zext i32 %35 to i64 %38 = call i64 @FUNC(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0), i64 %37, i64 %25, i64 %24, i64 %23, i64 %22) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_13 LBL_4: %39 = call i64 @FUNC(i64 %4) %40 = call i64 @FUNC(i64 %4) %41 = add i64 %7, 8 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %sext = mul i64 %1, 4294967296 %44 = ashr exact i64 %sext, 29 %45 = add i64 %43, %44 %46 = inttoptr i64 %45 to i64* %47 = load i64, i64* %46, align 8 %48 = add i64 %47, 8 %49 = inttoptr i64 %48 to i64* %50 = load i64, i64* %49, align 8 %51 = icmp eq i64 %50, %2 br i1 %51, label LBL_6, label LBL_5 LBL_5: %52 = call i32 @getpid() %53 = zext i32 %52 to i64 %54 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_3, i64 0, i64 0), i64 %53, i64 %50, i64 %24, i64 %23, i64 %22) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_13 LBL_6: %55 = add i64 %47, 16 %56 = inttoptr i64 %55 to i32* %57 = load i32, i32* %56, align 4 %58 = icmp eq i32 %57, 0 br i1 %58, label LBL_8, label LBL_7 LBL_7: %59 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_4, i64 0, i64 0), i64 %25, i64 %43, i64 %24, i64 %23, i64 %22) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_13 LBL_8: %60 = load i32, i32* %18, align 4 %61 = zext i32 %60 to i64 %62 = urem i32 %60, 8 %63 = icmp eq i32 %62, 0 br i1 %63, label LBL_10, label LBL_9 LBL_9: %64 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_5, i64 0, i64 0), i64 %61, i64 %61, i64 %61, i64 %23, i64 %22) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_13 LBL_10: %65 = add i64 %47, 20 %66 = inttoptr i64 %65 to i32* %67 = load i32, i32* %66, align 4 %68 = icmp ult i32 %60, %67 br i1 %68, label LBL_11, label LBL_12 LBL_11: %69 = zext i32 %67 to i64 %70 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_6, i64 0, i64 0), i64 %61, i64 %69, i64 %61, i64 %23, i64 %22) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_13 LBL_12: %71 = inttoptr i64 %47 to i64* %72 = load i64, i64* %71, align 8 %73 = inttoptr i64 %72 to i32* %74 = load i32, i32* %15, align 4 %75 = sub i32 %74, %60 %76 = ashr i32 %75, 1 store i32 %74, i32* %66, align 4 %77 = load i32, i32* %34, align 4 store i32 %77, i32* %73, align 4 %78 = load i32, i32* %12, align 4 %79 = add i64 %72, 4 %80 = inttoptr i64 %79 to i32* store i32 %78, i32* %80, align 4 %81 = load i32, i32* %15, align 4 %82 = load i32, i32* %18, align 4 %83 = zext i32 %76 to i64 %84 = call i64 @FUNC(i64 %4, i64 %47, i32 %82, i32 %81, i64 %83) %85 = call i64 @FUNC() store i64 0, i64* %rax.0.reg2mem br label LBL_13 LBL_13: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %61, { 4, 2, 3, 1, 0 } uselistorder i32 %60, { 2, 1, 0, 3 } uselistorder i64 %47, { 0, 4, 1, 2, 3 } uselistorder i64 %43, { 1, 0 } uselistorder i32 %35, { 1, 0 } uselistorder i64 %25, { 2, 1, 3, 0 } uselistorder i64 %24, { 1, 0, 2, 3, 4 } uselistorder i64 %23, { 3, 2, 1, 0, 4, 5, 6 } uselistorder i64 %22, { 3, 2, 1, 0, 4, 5, 6 } uselistorder i32 %20, { 1, 0 } uselistorder i64 %4, { 0, 2, 1, 3, 4, 5 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 5, 3, 2, 1, 6, 7 } uselistorder i64 4294967274, { 3, 2, 1, 0, 4, 5 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @DRM_ERROR, { 5, 4, 3, 2, 1, 0 } uselistorder i32 -1, { 1, 0 } uselistorder i32 ()* @getpid, { 1, 0 } }
0
BinRealVul
mpeg4_decode_sprite_trajectory_124
mpeg4_decode_sprite_trajectory
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %indvars.iv.reg2mem = alloca i64 %storemerge19.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i32 %sv_3.0.reg2mem = alloca i32 %sv_4.0.reg2mem = alloca i32 %indvars.iv42.reg2mem = alloca i64 %storemerge20.lcssa45.reg2mem = alloca i32 %.pre-phi.reg2mem = alloca i64 %.pre-phi56.reg2mem = alloca i64 %sv_5.0.reg2mem = alloca i32 %sv_6.0.reg2mem = alloca i32 %storemerge2036.reg2mem = alloca i32 %.reg2mem = alloca i64 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %4 = load i32, i32* %1 %5 = load i32, i32* %1 %6 = load i32, i32* %1 %sv_7 = alloca i64, align 8 %7 = add i64 %3, 4 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = add i64 %3, 8 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = add i64 %3, 12 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = icmp eq i32 %15, 0 br i1 %16, label LBL_0.LBL_12_crit_edge, label LBL_2 LBL_1: %.pre = add i64 %3, 28 %.pre55 = add i64 %3, 24 store i64 %.pre55, i64* %.pre-phi56.reg2mem store i64 %.pre, i64* %.pre-phi.reg2mem store i32 0, i32* %storemerge20.lcssa45.reg2mem br label LBL_12 LBL_2: %17 = ptrtoint i64* %arg2 to i64 %18 = ptrtoint i64* %sv_7 to i64 %19 = add i64 %3, 16 %20 = inttoptr i64 %19 to i32* %21 = add i64 %3, 20 %22 = inttoptr i64 %21 to i32* %23 = add i64 %3, 24 %24 = add i64 %3, 28 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge2036.reg2mem br label LBL_3 LBL_3: %storemerge2036.reload = load i32, i32* %storemerge2036.reg2mem %.reload = load i64, i64* %.reg2mem %25 = load i64, i64* @gv_0, align 8 %26 = call i64 @FUNC(i64 %17, i64 %25, i64 10, i64 3) %27 = trunc i64 %26 to i32 %28 = icmp eq i32 %27, 0 store i32 0, i32* %sv_6.0.reg2mem br i1 %28, label LBL_5, label LBL_4 LBL_4: %29 = and i64 %26, 4294967295 %30 = call i64 @FUNC(i64 %17, i64 %29) %31 = trunc i64 %30 to i32 store i32 %31, i32* %sv_6.0.reg2mem br label LBL_5 LBL_5: %sv_6.0.reload = load i32, i32* %sv_6.0.reg2mem %32 = load i32, i32* %20, align 4 %33 = icmp eq i32 %32, 500 %34 = icmp eq i1 %33, false br i1 %34, label LBL_7, label LBL_6 LBL_6: %35 = load i32, i32* %22, align 4 %36 = icmp eq i32 %35, 413 br i1 %36, label LBL_8, label LBL_7 LBL_7: %37 = call i64 @FUNC(i64 %17) br label LBL_8 LBL_8: %38 = load i64, i64* @gv_0, align 8 %39 = call i64 @FUNC(i64 %17, i64 %38, i64 10, i64 3) %40 = trunc i64 %39 to i32 %41 = icmp eq i32 %40, 0 store i32 0, i32* %sv_5.0.reg2mem br i1 %41, label LBL_10, label LBL_9 LBL_9: %42 = and i64 %39, 4294967295 %43 = call i64 @FUNC(i64 %17, i64 %42) %44 = trunc i64 %43 to i32 store i32 %44, i32* %sv_5.0.reg2mem br label LBL_10 LBL_10: %sv_5.0.reload = load i32, i32* %sv_5.0.reg2mem %45 = call i64 @FUNC(i64 %17) %46 = mul i64 %.reload, 8 %47 = add i64 %46, %18 %48 = add i64 %47, -144 %49 = inttoptr i64 %48 to i32* store i32 %sv_6.0.reload, i32* %49, align 8 %50 = add i64 %23, %46 %51 = inttoptr i64 %50 to i32* store i32 %sv_6.0.reload, i32* %51, align 4 %52 = add i64 %47, -140 %53 = inttoptr i64 %52 to i32* store i32 %sv_5.0.reload, i32* %53, align 4 %54 = add i64 %24, %46 %55 = inttoptr i64 %54 to i32* store i32 %sv_5.0.reload, i32* %55, align 4 %56 = add i32 %storemerge2036.reload, 1 %57 = load i32, i32* %14, align 4 %58 = zext i32 %57 to i64 %59 = sext i32 %56 to i64 %60 = icmp slt i64 %59, %58 store i64 %59, i64* %.reg2mem store i32 %56, i32* %storemerge2036.reg2mem br i1 %60, label LBL_3, label LBL_11 LBL_11: %61 = icmp slt i32 %56, 4 store i64 %23, i64* %.pre-phi56.reg2mem store i64 %24, i64* %.pre-phi.reg2mem store i32 %56, i32* %storemerge20.lcssa45.reg2mem br i1 %61, label LBL_12, label LBL_14 LBL_12: %storemerge20.lcssa45.reload = load i32, i32* %storemerge20.lcssa45.reg2mem %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %.pre-phi56.reload = load i64, i64* %.pre-phi56.reg2mem %62 = sext i32 %storemerge20.lcssa45.reload to i64 store i64 %62, i64* %indvars.iv42.reg2mem br label LBL_13 LBL_13: %indvars.iv42.reload = load i64, i64* %indvars.iv42.reg2mem %63 = mul i64 %indvars.iv42.reload, 8 %64 = add i64 %.pre-phi.reload, %63 %65 = inttoptr i64 %64 to i32* store i32 0, i32* %65, align 4 %66 = add i64 %.pre-phi56.reload, %63 %67 = inttoptr i64 %66 to i32* store i32 0, i32* %67, align 4 %indvars.iv.next43 = add nsw i64 %indvars.iv42.reload, 1 %exitcond44 = icmp eq i64 %indvars.iv.next43, 4 store i64 %indvars.iv.next43, i64* %indvars.iv42.reg2mem br i1 %exitcond44, label LBL_14, label LBL_13 LBL_14: %68 = trunc i64 %2 to i32 %69 = urem i32 %68, 32 %70 = shl i32 2, %69 %71 = sub i32 3, %68 %72 = lshr i32 8, %69 %73 = sext i32 %9 to i64 store i32 0, i32* %sv_4.0.reg2mem br label LBL_15 LBL_15: %sv_4.0.reload = load i32, i32* %sv_4.0.reg2mem %74 = urem i32 %sv_4.0.reload, 32 %75 = shl i32 1, %74 %storemerge4 = zext i32 %75 to i64 %76 = icmp slt i64 %storemerge4, %73 %77 = add i32 %sv_4.0.reload, 1 store i32 %77, i32* %sv_4.0.reg2mem br i1 %76, label LBL_15, label LBL_16 LBL_16: %78 = sext i32 %12 to i64 store i32 0, i32* %sv_3.0.reg2mem br label LBL_17 LBL_17: %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem %79 = urem i32 %sv_3.0.reload, 32 %80 = shl i32 1, %79 %storemerge5 = zext i32 %80 to i64 %81 = icmp slt i64 %storemerge5, %78 %82 = add i32 %sv_3.0.reload, 1 store i32 %82, i32* %sv_3.0.reg2mem br i1 %81, label LBL_17, label LBL_18 LBL_18: %83 = add i64 %3, 16 %84 = inttoptr i64 %83 to i32* %85 = load i32, i32* %84, align 4 %86 = icmp eq i32 %85, 500 %87 = icmp eq i1 %86, false br i1 %87, label LBL_21, label LBL_19 LBL_19: %88 = add i64 %3, 20 %89 = inttoptr i64 %88 to i32* %90 = load i32, i32* %89, align 4 %91 = icmp eq i32 %90, 413 %92 = icmp eq i1 %91, false br i1 %92, label LBL_21, label LBL_20 LBL_20: %93 = mul i32 %9, %70 %94 = add i32 %6, %5 %95 = mul i32 %12, %70 %96 = add i32 %6, %4 %97 = add i32 %96, %95 store i32 %93, i32* %sv_1.0.reg2mem store i32 %94, i32* %sv_0.0.reg2mem store i32 %97, i32* %storemerge19.reg2mem br label LBL_22 LBL_21: %98 = ashr i32 %70, 1 %99 = mul i32 %6, %98 %100 = and i32 %70, -2 %101 = mul i32 %100, %9 %102 = add i32 %6, %5 %103 = mul i32 %102, %98 %104 = mul i32 %12, 2 %105 = add i32 %6, %4 %106 = add i32 %105, %104 %107 = mul i32 %106, %98 store i32 %99, i32* %sv_2.0.reg2mem store i32 %101, i32* %sv_1.0.reg2mem store i32 %103, i32* %sv_0.0.reg2mem store i32 %107, i32* %storemerge19.reg2mem br label LBL_22 LBL_22: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %108 = mul i32 %75, 16 %109 = mul i32 %sv_1.0.reload, %72 %110 = mul i32 %9, 16 %111 = sub i32 %109, %110 %112 = shl i32 %111, %74 %113 = icmp slt i32 %9, 0 %114 = zext i1 %113 to i32 %115 = add i32 %9, %114 %116 = ashr i32 %115, 1 %117 = add i32 %112, %116 %118 = ashr i32 %117, 31 %119 = zext i32 %117 to i64 %120 = zext i32 %118 to i64 %121 = mul i64 %120, 4294967296 %122 = or i64 %121, %119 %123 = zext i32 %9 to i64 %124 = sdiv i64 %122, %123 %125 = trunc i64 %124 to i32 %126 = add i32 %108, %125 %127 = sub i32 %9, %75 %128 = mul i32 %sv_2.0.reload, %72 %129 = mul i32 %128, %127 %130 = mul i32 %sv_0.0.reload, %72 %131 = shl i32 %130, %74 %132 = add i32 %129, %116 %133 = add i32 %132, %131 %134 = ashr i32 %133, 31 %135 = zext i32 %133 to i64 %136 = zext i32 %134 to i64 %137 = mul i64 %136, 4294967296 %138 = or i64 %137, %135 %139 = sdiv i64 %138, %123 %140 = trunc i64 %139 to i32 %141 = load i32, i32* %14, align 4 %142 = icmp eq i32 %141, 3 br i1 %142, label LBL_28, label LBL_23 LBL_23: %143 = icmp sgt i32 %141, 3 br i1 %143, label LBL_29, label LBL_24 LBL_24: switch i32 %141, label LBL_29 [ i32 2, label LBL_27 i32 0, label LBL_25 i32 1, label LBL_26 ] LBL_25: %144 = add i64 %3, 56 %145 = inttoptr i64 %144 to i32* store i32 0, i32* %145, align 4 %146 = add i64 %3, 60 %147 = inttoptr i64 %146 to i32* store i32 0, i32* %147, align 4 %148 = add i64 %3, 64 %149 = inttoptr i64 %148 to i32* store i32 0, i32* %149, align 4 %150 = add i64 %3, 68 %151 = inttoptr i64 %150 to i32* store i32 0, i32* %151, align 4 %152 = add i64 %3, 72 %153 = inttoptr i64 %152 to i32* store i32 %70, i32* %153, align 4 %154 = add i64 %3, 76 %155 = inttoptr i64 %154 to i32* store i32 0, i32* %155, align 4 %156 = add i64 %3, 80 %157 = inttoptr i64 %156 to i32* store i32 0, i32* %157, align 4 %158 = add i64 %3, 84 %159 = inttoptr i64 %158 to i32* store i32 %70, i32* %159, align 4 %160 = add i64 %3, 88 %161 = inttoptr i64 %160 to i32* store i32 0, i32* %161, align 4 %162 = add i64 %3, 92 %163 = inttoptr i64 %162 to i32* store i32 0, i32* %163, align 4 br label LBL_29 LBL_26: %164 = add i64 %3, 56 %165 = inttoptr i64 %164 to i32* store i32 0, i32* %165, align 4 %166 = add i64 %3, 60 %167 = inttoptr i64 %166 to i32* store i32 %sv_2.0.reload, i32* %167, align 4 %168 = add i64 %3, 64 %169 = inttoptr i64 %168 to i32* store i32 0, i32* %169, align 4 %170 = ashr i32 %sv_2.0.reload, 1 %171 = urem i32 %sv_2.0.reload, 2 %172 = or i32 %170, %171 %173 = add i64 %3, 68 %174 = inttoptr i64 %173 to i32* store i32 %172, i32* %174, align 4 %175 = add i64 %3, 72 %176 = inttoptr i64 %175 to i32* store i32 %70, i32* %176, align 4 %177 = add i64 %3, 76 %178 = inttoptr i64 %177 to i32* store i32 0, i32* %178, align 4 %179 = add i64 %3, 80 %180 = inttoptr i64 %179 to i32* store i32 0, i32* %180, align 4 %181 = add i64 %3, 84 %182 = inttoptr i64 %181 to i32* store i32 %70, i32* %182, align 4 %183 = add i64 %3, 88 %184 = inttoptr i64 %183 to i32* store i32 0, i32* %184, align 4 %185 = add i64 %3, 92 %186 = inttoptr i64 %185 to i32* store i32 0, i32* %186, align 4 br label LBL_29 LBL_27: %187 = add i32 %sv_4.0.reload, %71 %188 = urem i32 %187, 32 %189 = add i32 %187, 31 %190 = urem i32 %189, 32 %191 = shl i32 1, %190 %192 = add i64 %3, 56 %193 = inttoptr i64 %192 to i32* store i32 %191, i32* %193, align 4 %194 = shl i32 %sv_2.0.reload, %188 %195 = add i32 %194, %191 %196 = add i64 %3, 60 %197 = inttoptr i64 %196 to i32* store i32 %195, i32* %197, align 4 %198 = sub i32 %128, %140 %199 = add i32 %187, 1 %200 = urem i32 %199, 32 %201 = shl i32 1, %200 %202 = add i32 %201, %125 %203 = add i32 %202, %198 %204 = add i64 %3, 64 %205 = inttoptr i64 %204 to i32* store i32 %203, i32* %205, align 4 %206 = sub i32 %140, %128 %207 = shl i32 %72, %74 %208 = mul i32 %207, 2 %209 = mul i32 %208, %sv_2.0.reload %210 = sub i32 %201, %108 %211 = add i32 %210, %209 %212 = add i32 %211, %126 %213 = add i32 %212, %206 %214 = add i64 %3, 68 %215 = inttoptr i64 %214 to i32* store i32 %213, i32* %215, align 4 %216 = add i64 %3, 72 %217 = inttoptr i64 %216 to i32* store i32 %126, i32* %217, align 4 %218 = add i64 %3, 76 %219 = inttoptr i64 %218 to i32* store i32 %198, i32* %219, align 4 %220 = add i64 %3, 80 %221 = inttoptr i64 %220 to i32* store i32 %206, i32* %221, align 4 %222 = add i64 %3, 84 %223 = inttoptr i64 %222 to i32* store i32 %126, i32* %223, align 4 %224 = add i64 %3, 88 %225 = inttoptr i64 %224 to i32* store i32 %187, i32* %225, align 4 %226 = add i32 %187, 2 %227 = add i64 %3, 92 %228 = inttoptr i64 %227 to i32* store i32 %226, i32* %228, align 4 br label LBL_29 LBL_28: %storemerge19.reload = load i32, i32* %storemerge19.reg2mem %229 = icmp slt i32 %12, 0 %230 = zext i1 %229 to i32 %231 = add i32 %12, %230 %232 = ashr i32 %231, 1 %233 = zext i32 %12 to i64 %234 = sub i32 %12, %80 %235 = mul i32 %128, %234 %236 = mul i32 %storemerge19.reload, %72 %237 = mul i32 %12, 16 %238 = sub i32 %236, %237 %239 = shl i32 %238, %79 %240 = add i32 %235, %232 %241 = add i32 %240, %239 %242 = mul i32 %80, 16 %243 = ashr i32 %241, 31 %244 = zext i32 %243 to i64 %245 = mul i64 %244, 4294967296 %246 = zext i32 %241 to i64 %247 = or i64 %245, %246 %248 = sdiv i64 %247, %233 %249 = trunc i64 %248 to i32 %250 = ashr i32 %231, 31 %251 = zext i32 %250 to i64 %252 = mul i64 %251, 4294967296 %253 = zext i32 %232 to i64 %254 = or i64 %252, %253 %255 = sdiv i64 %254, %233 %256 = trunc i64 %255 to i32 %257 = sub i32 %sv_3.0.reload, %sv_4.0.reload %258 = xor i32 %sv_3.0.reload, %sv_4.0.reload %259 = xor i32 %257, %sv_3.0.reload %260 = and i32 %259, %258 %261 = icmp slt i32 %260, 0 %262 = icmp eq i32 %257, 0 %263 = icmp slt i32 %257, 0 %264 = icmp ne i1 %263, %261 %265 = or i1 %262, %264 %266 = select i1 %265, i32 %sv_3.0.reload, i32 %sv_4.0.reload %267 = urem i32 %266, 32 %268 = ashr i32 %75, %267 %269 = ashr i32 %80, %267 %270 = add i32 %sv_4.0.reload, %71 %271 = add i32 %270, %sv_3.0.reload %272 = sub i32 %271, %266 %273 = urem i32 %272, 32 %274 = xor i32 %266, 31 %275 = add i32 %274, %271 %276 = urem i32 %275, 32 %277 = shl i32 1, %276 %278 = add i64 %3, 56 %279 = inttoptr i64 %278 to i32* store i32 %277, i32* %279, align 4 %280 = shl i32 %sv_2.0.reload, %273 %281 = add i32 %280, %277 %282 = add i64 %3, 60 %283 = inttoptr i64 %282 to i32* store i32 %281, i32* %283, align 4 %284 = mul i32 %126, %269 %285 = mul i32 %268, %256 %286 = shl i32 %269, %74 %287 = mul i32 %286, 16 %288 = add i32 %272, 1 %289 = urem i32 %288, 32 %290 = shl i32 1, %289 %291 = sub i32 %290, %287 %292 = add i32 %284, %291 %293 = add i32 %292, %285 %294 = add i64 %3, 64 %295 = inttoptr i64 %294 to i32* store i32 %293, i32* %295, align 4 %296 = sub i32 %140, %128 %297 = mul i32 %296, %269 %298 = sub i32 %242, %128 %299 = add i32 %298, %249 %300 = mul i32 %299, %268 %301 = mul i32 %286, 2 %302 = mul i32 %301, %128 %303 = add i32 %302, %291 %304 = add i32 %303, %297 %305 = add i32 %304, %300 %306 = add i64 %3, 68 %307 = inttoptr i64 %306 to i32* store i32 %305, i32* %307, align 4 %308 = add i64 %3, 72 %309 = inttoptr i64 %308 to i32* store i32 %284, i32* %309, align 4 %310 = add i64 %3, 76 %311 = inttoptr i64 %310 to i32* store i32 %285, i32* %311, align 4 %312 = add i64 %3, 80 %313 = inttoptr i64 %312 to i32* store i32 %297, i32* %313, align 4 %314 = add i64 %3, 84 %315 = inttoptr i64 %314 to i32* store i32 %300, i32* %315, align 4 %316 = add i64 %3, 88 %317 = inttoptr i64 %316 to i32* store i32 %272, i32* %317, align 4 %318 = add i32 %272, 2 %319 = add i64 %3, 92 %320 = inttoptr i64 %319 to i32* store i32 %318, i32* %320, align 4 br label LBL_29 LBL_29: %321 = add i64 %3, 72 %322 = inttoptr i64 %321 to i32* %323 = load i32, i32* %322, align 4 %324 = add i64 %3, 88 %325 = inttoptr i64 %324 to i32* %326 = load i32, i32* %325, align 4 %327 = urem i32 %326, 32 %328 = shl i32 %70, %327 %329 = icmp eq i32 %328, %323 %330 = icmp eq i1 %329, false br i1 %330, label LBL_34, label LBL_30 LBL_30: %331 = add i64 %3, 76 %332 = inttoptr i64 %331 to i32* %333 = load i32, i32* %332, align 4 %334 = icmp eq i32 %333, 0 %335 = icmp eq i1 %334, false br i1 %335, label LBL_34, label LBL_31 LBL_31: %336 = add i64 %3, 80 %337 = inttoptr i64 %336 to i32* %338 = load i32, i32* %337, align 4 %339 = icmp eq i32 %338, 0 %340 = icmp eq i1 %339, false br i1 %340, label LBL_34, label LBL_32 LBL_32: %341 = add i64 %3, 84 %342 = inttoptr i64 %341 to i32* %343 = load i32, i32* %342, align 4 %344 = icmp eq i32 %343, %328 %345 = icmp eq i1 %344, false br i1 %345, label LBL_34, label LBL_33 LBL_33: %346 = add i64 %3, 56 %347 = inttoptr i64 %346 to i32* %348 = load i32, i32* %347, align 4 %349 = ashr i32 %348, %327 store i32 %349, i32* %347, align 4 %350 = add i64 %3, 60 %351 = inttoptr i64 %350 to i32* %352 = load i32, i32* %351, align 4 %353 = load i32, i32* %325, align 4 %354 = urem i32 %353, 32 %355 = ashr i32 %352, %354 store i32 %355, i32* %351, align 4 %356 = add i64 %3, 64 %357 = inttoptr i64 %356 to i32* %358 = load i32, i32* %357, align 4 %359 = add i64 %3, 92 %360 = inttoptr i64 %359 to i32* %361 = load i32, i32* %360, align 4 %362 = urem i32 %361, 32 %363 = ashr i32 %358, %362 store i32 %363, i32* %357, align 4 %364 = add i64 %3, 68 %365 = inttoptr i64 %364 to i32* %366 = load i32, i32* %365, align 4 %367 = load i32, i32* %360, align 4 %368 = urem i32 %367, 32 %369 = ashr i32 %366, %368 store i32 %369, i32* %365, align 4 store i32 %70, i32* %322, align 4 store i32 0, i32* %332, align 4 store i32 0, i32* %337, align 4 store i32 %70, i32* %342, align 4 store i32 0, i32* %325, align 4 store i32 0, i32* %360, align 4 %370 = add i64 %3, 96 %371 = inttoptr i64 %370 to i32* store i32 1, i32* %371, align 4 br label LBL_37 LBL_34: %372 = sub i32 16, %326 %373 = add i64 %3, 92 %374 = inttoptr i64 %373 to i32* %375 = load i32, i32* %374, align 4 %376 = sub i32 16, %375 %377 = urem i32 %372, 32 %378 = urem i32 %376, 32 store i64 0, i64* %indvars.iv.reg2mem br label LBL_35 LBL_35: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %379 = mul i64 %indvars.iv.reload, 4 %380 = add i64 %379, %3 %381 = add i64 %380, 56 %382 = inttoptr i64 %381 to i32* %383 = load i32, i32* %382, align 4 %384 = shl i32 %383, %377 store i32 %384, i32* %382, align 4 %385 = add i64 %380, 64 %386 = inttoptr i64 %385 to i32* %387 = load i32, i32* %386, align 4 %388 = shl i32 %387, %378 store i32 %388, i32* %386, align 4 %389 = add i64 %380, 72 %390 = inttoptr i64 %389 to i32* %391 = load i32, i32* %390, align 4 %392 = shl i32 %391, %377 store i32 %392, i32* %390, align 4 %393 = add i64 %380, 80 %394 = inttoptr i64 %393 to i32* %395 = load i32, i32* %394, align 4 %396 = shl i32 %395, %377 store i32 %396, i32* %394, align 4 %397 = add i64 %380, 88 %398 = inttoptr i64 %397 to i32* store i32 16, i32* %398, 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_36, label LBL_35 LBL_36: %399 = load i32, i32* %14, align 4 %400 = add i64 %3, 96 %401 = inttoptr i64 %400 to i32* store i32 %399, i32* %401, align 4 br label LBL_37 LBL_37: ret i64 %3 uselistorder i32 %377, { 2, 1, 0 } uselistorder i32 %327, { 1, 0 } uselistorder i32 %326, { 1, 0 } uselistorder i32 %300, { 1, 0 } uselistorder i32 %297, { 1, 0 } uselistorder i32 %285, { 1, 0 } uselistorder i32 %284, { 1, 0 } uselistorder i32 %272, { 1, 2, 3, 0 } uselistorder i32 %269, { 0, 2, 1 } uselistorder i32 %268, { 1, 0 } uselistorder i32 %267, { 1, 0 } uselistorder i32 %266, { 1, 2, 0 } uselistorder i32 %257, { 1, 2, 0 } uselistorder i64 %233, { 1, 0 } uselistorder i32 %232, { 1, 0 } uselistorder i32 %206, { 1, 0 } uselistorder i32 %198, { 1, 0 } uselistorder i32 %187, { 1, 2, 3, 4, 0 } uselistorder i32 %140, { 0, 2, 1 } uselistorder i32 %128, { 1, 0, 6, 2, 4, 5, 3 } uselistorder i32 %126, { 0, 2, 3, 1 } uselistorder i32 %108, { 1, 0 } uselistorder i32 %sv_2.0.reload, { 0, 4, 1, 6, 2, 3, 5 } uselistorder i32 %80, { 2, 0, 1, 3 } uselistorder i32 %79, { 1, 0 } uselistorder i32 %sv_3.0.reload, { 3, 1, 5, 4, 2, 0, 6 } uselistorder i32 %75, { 2, 1, 0, 3 } uselistorder i32 %74, { 4, 3, 2, 1, 0 } uselistorder i32 %sv_4.0.reload, { 5, 1, 4, 2, 3, 0, 6 } uselistorder i32 %72, { 0, 4, 1, 2, 3 } uselistorder i32 %70, { 7, 8, 9, 3, 4, 5, 6, 0, 10, 1, 2 } uselistorder i32 %69, { 1, 0 } uselistorder i32 %68, { 1, 0 } uselistorder i64 %63, { 1, 0 } uselistorder i32 %56, { 0, 2, 1, 3 } uselistorder i32 %sv_5.0.reload, { 1, 0 } uselistorder i32 %sv_6.0.reload, { 1, 0 } uselistorder i64 %17, { 2, 1, 3, 4, 0, 5 } uselistorder i32* %14, { 0, 1, 3, 2 } uselistorder i32 %12, { 0, 7, 6, 2, 3, 1, 4, 5 } uselistorder i32 %9, { 7, 6, 1, 2, 0, 3, 4, 5 } uselistorder i32 %6, { 4, 3, 2, 1, 0 } uselistorder i32 %5, { 1, 0 } uselistorder i32 %4, { 1, 0 } uselistorder i64 %3, { 4, 45, 2, 46, 36, 37, 39, 38, 40, 41, 42, 44, 43, 48, 47, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 5, 59, 60, 3, 62, 61, 0, 1, 63, 64, 65 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge2036.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv42.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_4.0.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_3.0.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge19.reg2mem, { 0, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %1, { 2, 1, 0 } uselistorder i32 31, { 1, 0, 3, 2, 4, 5 } uselistorder i32 16, { 7, 5, 6, 0, 1, 2, 3, 4 } uselistorder i32 3, { 2, 0, 1 } uselistorder i32 2, { 5, 0, 6, 1, 3, 4, 2, 7 } uselistorder i64 1, { 1, 0 } uselistorder i64 (i64)* @skip_bits1, { 1, 0 } uselistorder i64 (i64, i64)* @get_xbits, { 1, 0 } uselistorder i64 (i64, i64, i64, i64)* @get_vlc2, { 1, 0 } uselistorder i64 24, { 1, 0 } uselistorder i64 28, { 1, 0 } uselistorder label LBL_29, { 1, 2, 3, 4, 0, 5 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
vfio_pci_size_rom_14818
vfio_pci_size_rom
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i32, align 4 store i32 -4096, i32* %sv_2, align 4 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = add i64 %2, 32 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false store i64 %8, i64* %rax.0.reg2mem br i1 %10, label LBL_9, label LBL_1 LBL_1: %11 = add i64 %2, 40 %12 = inttoptr i64 %11 to i8* %13 = load i8, i8* %12, align 1 %14 = xor i8 %13, 1 %15 = zext i8 %14 to i64 %16 = icmp eq i8 %14, 0 %17 = icmp eq i1 %16, false store i64 %15, i64* %rax.0.reg2mem br i1 %17, label LBL_9, label LBL_2 LBL_2: %18 = trunc i64 %5 to i32 %19 = add i32 %18, 48 %20 = trunc i64 %1 to i32 %21 = call i32 @pread(i32 %20, i64* nonnull %sv_1, i32 4, i32 %19) %22 = icmp eq i32 %21, 4 %23 = icmp eq i1 %22, false br i1 %23, label LBL_6, label LBL_3 LBL_3: %24 = bitcast i32* %sv_2 to i64* %25 = call i32 @pwrite(i32 %20, i64* nonnull %24, i32 4, i32 %19) %26 = icmp eq i32 %25, 4 %27 = icmp eq i1 %26, false br i1 %27, label LBL_6, label LBL_4 LBL_4: %28 = call i32 @pread(i32 %20, i64* nonnull %24, i32 4, i32 %19) %29 = icmp eq i32 %28, 4 %30 = icmp eq i1 %29, false br i1 %30, label LBL_6, label LBL_5 LBL_5: %31 = call i32 @pwrite(i32 %20, i64* nonnull %sv_1, i32 4, i32 %19) %32 = icmp eq i32 %31, 4 br i1 %32, label LBL_7, label LBL_6 LBL_6: %33 = add i64 %2, 28 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = add i64 %2, 24 %37 = inttoptr i64 %36 to i32* %38 = load i32, i32* %37, align 4 %39 = add i64 %2, 20 %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 4 %42 = add i64 %2, 16 %43 = inttoptr i64 %42 to i32* %44 = load i32, i32* %43, align 4 %45 = zext i32 %35 to i64 %46 = zext i32 %38 to i64 %47 = zext i32 %41 to i64 %48 = zext i32 %44 to i64 %49 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_1, i64 0, i64 0), i64 %48, i64 %47, i64 %46, i64 %45) store i64 %49, i64* %rax.0.reg2mem br label LBL_9 LBL_7: %50 = load i32, i32* %sv_2, align 4 %51 = and i32 %50, -4096 %52 = sub i32 0, %51 store i32 %52, i32* %sv_2, align 4 %53 = zext i32 %52 to i64 %54 = icmp eq i32 %51, 0 store i64 %53, i64* %rax.0.reg2mem br i1 %54, label LBL_9, label LBL_8 LBL_8: %55 = add i64 %2, 28 %56 = inttoptr i64 %55 to i32* %57 = load i32, i32* %56, align 4 %58 = add i64 %2, 24 %59 = inttoptr i64 %58 to i32* %60 = load i32, i32* %59, align 4 %61 = add i64 %2, 20 %62 = inttoptr i64 %61 to i32* %63 = load i32, i32* %62, align 4 %64 = add i64 %2, 16 %65 = inttoptr i64 %64 to i32* %66 = load i32, i32* %65, align 4 %67 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_2, i64 0, i64 0), i32 %66, i32 %63, i32 %60, i32 %57, i32 %52) %68 = load i32, i32* %56, align 4 %69 = load i32, i32* %59, align 4 %70 = load i32, i32* %62, align 4 %71 = load i32, i32* %65, align 4 %72 = bitcast i64* %sv_0 to i8* %73 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %72, i32 32, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_3, i64 0, i64 0), i32 %71, i32 %70, i32 %69, i32 %68) %74 = load i32, i32* %sv_2, align 4 %75 = add i64 %2, 48 %76 = zext i32 %74 to i64 %77 = call i64 @FUNC(i64 %75, i64 %2, i64* nonnull @gv_4, i64 %2, i64* nonnull %sv_0, i64 %76) %78 = call i64 @FUNC(i64 %6, i64 0, i64 1, i64 %75) %79 = add i64 %2, 56 %80 = inttoptr i64 %79 to i8* store i8 1, i8* %80, align 1 store i64 %2, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %sv_2, { 1, 2, 3, 0, 4 } uselistorder i64 %2, { 0, 1, 3, 4, 2, 7, 8, 6, 5, 11, 12, 10, 9, 13, 14, 15 } uselistorder i32 (i32, i64*, i32, i32)* @pwrite, { 1, 0 } uselistorder i32 (i32, i64*, i32, i32)* @pread, { 1, 0 } uselistorder i32 4, { 0, 4, 1, 5, 2, 6, 3, 7 } uselistorder i8 0, { 1, 2, 0 } uselistorder i8 1, { 1, 0 } uselistorder i32 -4096, { 1, 0 } uselistorder label LBL_9, { 3, 0, 4, 2, 1 } }
1
BinRealVul
ldns_str2rdf_long_str_5615
ldns_str2rdf_long_str
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 = alloca i8, align 1 %sv_2 = alloca i64, align 8 store i64 %arg2, i64* %sv_2, align 8 store i8 0, i8* %sv_1, align 1 %0 = inttoptr i64 %arg2 to i8* %1 = call i32 @strlen(i8* %0) %2 = call i64* @malloc(i32 %1) %3 = ptrtoint i64* %2 to i64 %4 = icmp eq i64* %2, null %5 = icmp eq i1 %4, false store i64 %3, i64* %sv_0.0.reg2mem store i64 1, i64* %rax.0.reg2mem br i1 %5, label LBL_3, label LBL_10 LBL_1: %6 = add i64 %sv_0.0.reload, 1 %7 = load i8, i8* %sv_1, align 1 %8 = inttoptr i64 %sv_0.0.reload to i8* store i8 %7, i8* %8, align 1 %9 = sub i64 %6, %3 %10 = icmp ult i64 %9, 65536 store i64 %6, i64* %sv_0.0.reg2mem br i1 %10, label LBL_3, label LBL_2 LBL_2: call void @free(i64* %2) store i64 2, i64* %rax.0.reg2mem br label LBL_10 LBL_3: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %11 = call i64 @FUNC(i8* nonnull %sv_1, i64* nonnull %sv_2) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_1, label LBL_4 LBL_4: %15 = load i64, i64* %sv_2, align 8 %16 = icmp eq i64 %15, 0 %17 = icmp eq i1 %16, false store i64 3, i64* %rax.0.reg2mem br i1 %17, label LBL_5, label LBL_10 LBL_5: %18 = sub i64 %sv_0.0.reload, %3 %19 = icmp eq i64 %18, 0 %20 = icmp eq i1 %19, false br i1 %20, label LBL_7, label LBL_6 LBL_6: call void @free(i64* %2) store i64 4, i64* %rax.0.reg2mem br label LBL_10 LBL_7: %21 = trunc i64 %18 to i32 %22 = call i64* @realloc(i64* %2, i32 %21) %23 = icmp eq i64* %22, null %24 = icmp eq i1 %23, false br i1 %24, label LBL_9, label LBL_8 LBL_8: call void @free(i64* %2) store i64 1, i64* %rax.0.reg2mem br label LBL_10 LBL_9: %25 = ptrtoint i64* %22 to i64 %sext = mul i64 %18, 4294967296 %26 = ashr exact i64 %sext, 32 %27 = call i64 @FUNC(i64 5, i64 %26, i64 %25) store i64 %27, i64* %arg1, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %22, { 1, 0 } uselistorder i64 %sv_0.0.reload, { 2, 0, 1 } uselistorder i64 %3, { 1, 2, 0 } uselistorder i64* %2, { 1, 2, 3, 0, 4, 5 } uselistorder i64* %sv_2, { 1, 0, 2 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 1, 6, 2 } uselistorder i64 1, { 1, 3, 0, 2, 4 } uselistorder i64* (i32)* @malloc, { 1, 0 } uselistorder label LBL_10, { 2, 3, 4, 0, 5, 1 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
unicast_flush_resp_8428
unicast_flush_resp
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 = call i64 @FUNC(i64 18, i64 0) %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %4, label LBL_1, label LBL_2 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = trunc i64 %1 to i16 %7 = call i64 @FUNC(i64 %2, i64 2) %8 = inttoptr i64 %7 to i16* store i16 %6, i16* %8, align 2 %9 = inttoptr i64 %7 to i8* store i8 0, i8* %9, align 1 %10 = add i64 %7, 1 %11 = inttoptr i64 %10 to i8* store i8 0, i8* %11, align 1 %12 = call i64 @FUNC(i64 %5) %13 = call i64 @FUNC(i64 %2, i64 0, i64 0, i64 %5, i64 %12) store i64 %13, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %5, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 0, { 3, 2, 6, 4, 0, 1, 5 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
vmx_set_constant_host_state_6577
vmx_set_constant_host_state
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %rax.0.reg2mem = alloca i64 %2 = ptrtoint i64* %arg1 to i64 %3 = load i64, i64* %0 %4 = load i32, i32* %1 %5 = load i32, i32* %1 %sv_0 = alloca i64, align 8 %6 = call i64 @FUNC() %7 = and i64 %6, -257 %8 = call i64 @FUNC(i64 0, i64 %7) %9 = call i64 @FUNC() %10 = call i64 @FUNC(i64 1, i64 %9) %11 = call i64 @FUNC() %12 = call i64 @FUNC(i64 2, i64 %11) store i64 %11, i64* %arg1, align 8 %13 = call i64 @FUNC(i64 3, i64 16) %14 = call i64 @FUNC(i64 4, i64 24) %15 = call i64 @FUNC(i64 5, i64 24) %16 = call i64 @FUNC(i64 6, i64 24) %17 = call i64 @FUNC(i64 7, i64 128) %18 = call i64 @FUNC(i64* nonnull %sv_0) %19 = load i64, i64* %sv_0, align 8 %20 = call i64 @FUNC(i64 8, i64 %19) %21 = load i64, i64* %sv_0, align 8 %22 = add i64 %2, 8 %23 = inttoptr i64 %22 to i64* store i64 %21, i64* %23, align 8 %24 = call i64 @FUNC(i64 9, i64 4198847) %25 = zext i32 %5 to i64 %26 = zext i32 %4 to i64 %27 = call i64 @FUNC(i64 13, i64 %26, i64 %25) %28 = call i64 @FUNC(i64 10, i64 %26) %29 = call i64 @FUNC(i64 14, i64 %3) %30 = call i64 @FUNC(i64 11, i64 %3) %31 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %32 = urem i32 %31, 2 %33 = icmp eq i32 %32, 0 store i64 0, i64* %rax.0.reg2mem br i1 %33, label LBL_2, label LBL_1 LBL_1: %34 = call i64 @FUNC(i64 15, i64 %26, i64 %25) %35 = mul i64 %25, 4294967296 %36 = or i64 %35, %26 %37 = call i64 @FUNC(i64 12, i64 %36) store i64 %37, 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* %sv_0, { 1, 2, 0 } uselistorder i32* %1, { 1, 0 } uselistorder i64 (i64, i64, i64)* @rdmsr, { 1, 0 } uselistorder i64 8, { 1, 0, 2 } uselistorder i64 (i64, i64)* @vmcs_write16, { 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @vmcs_writel, { 5, 4, 3, 2, 1, 0 } }
0
BinRealVul
_appendPrivateuseToLanguageTag_7713
_appendPrivateuseToLanguageTag
define i64 @FUNC(i64 %arg1, i64* %arg2, i32 %arg3, i32 %arg4, i64 %arg5, i32* %arg6) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %sv_0.8.reg2mem = alloca i32 %sv_0.710.reg2mem = alloca i32 %sv_1.2.reg2mem = alloca i32 %sv_2.1.reg2mem = alloca i32 %sv_0.6.reg2mem = alloca i32 %.reg2mem39 = alloca i8* %sv_1.1.reg2mem = alloca i32 %sv_0.5.reg2mem = alloca i32 %sv_0.4.reg2mem = alloca i32 %sv_0.2.reg2mem = alloca i32 %sv_0.1.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %.reg2mem37 = alloca i8* %.lcssa.pre-phi.pre-phi.reg2mem = alloca i64 %storemerge611.reg2mem = alloca i32 %.reg2mem35 = alloca i8* %.reg2mem33 = alloca i8 %sv_2.0.reg2mem = alloca i32 %.reg2mem31 = alloca i8* %sv_0.712.reg2mem = alloca i32 %sv_2.213.reg2mem = alloca i32 %sv_1.315.reg2mem = alloca i32 %.reg2mem29 = alloca i8* %.reg2mem = alloca i64 %sv_3.0.reg2mem = alloca i8* %r9 = alloca i64, align 8 %1 = load i64, i64* %0 %sv_4 = alloca i64, align 8 %sv_5 = alloca i8*, align 8 %sv_6 = alloca i64, align 8 %sv_7 = alloca i32, align 4 %sv_8 = alloca i64, align 8 store i32 0, i32* %sv_7, align 4 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_41 LBL_1: %4 = call i64 @FUNC(i64 %arg1, i64* nonnull %sv_6, i64 256, i32* nonnull %sv_7) %5 = load i32, i32* %sv_7, align 4 %6 = icmp eq i32 %5, 0 %7 = icmp eq i32 %5, 2 %8 = icmp eq i1 %7, false %or.cond = icmp eq i1 %6, %8 br i1 %or.cond, label LBL_4, label LBL_2 LBL_2: %9 = icmp eq i32 %arg4, 0 store i64 0, i64* %rax.0.reg2mem br i1 %9, label LBL_41, label LBL_3 LBL_3: store i32 1, i32* %arg6, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_41 LBL_4: %10 = trunc i64 %4 to i32 %11 = icmp slt i32 %10, 1 store i32 0, i32* %sv_0.8.reg2mem br i1 %11, label LBL_37, label LBL_5 LBL_5: %12 = ptrtoint i64* %sv_8 to i64 %13 = bitcast i64* %r9 to i32* store i8* null, i8** %sv_5, align 8 %14 = bitcast i64* %sv_6 to i8* %15 = add i64 %12, -576 %16 = ptrtoint i64* %sv_4 to i64 %17 = bitcast i8** %sv_5 to i64* %18 = ptrtoint i64* %sv_6 to i64 store i8* %14, i8** %sv_3.0.reg2mem store i64 %18, i64* %.reg2mem store i8* null, i8** %.reg2mem29 store i32 1, i32* %sv_1.315.reg2mem store i32 1, i32* %sv_2.213.reg2mem store i32 0, i32* %sv_0.712.reg2mem br label LBL_6 LBL_6: %sv_0.712.reload = load i32, i32* %sv_0.712.reg2mem %sv_2.213.reload = load i32, i32* %sv_2.213.reg2mem %sv_1.315.reload = load i32, i32* %sv_1.315.reg2mem %sv_3.0.reload = load i8*, i8** %sv_3.0.reg2mem %19 = load i8, i8* %sv_3.0.reload, align 1 switch i8 %19, label LBL_7 [ i8 45, label LBL_8 i8 95, label LBL_8 ] LBL_7: %.reload30 = load i8*, i8** %.reg2mem29 %20 = icmp eq i8 %19, 0 %21 = icmp eq i1 %20, false store i8* %.reload30, i8** %.reg2mem31 store i32 0, i32* %sv_2.0.reg2mem br i1 %21, label LBL_33, label LBL_9 LBL_8: store i8 0, i8* %sv_3.0.reload, align 1 %.pre = load i8*, i8** %sv_5, align 8 store i8* %.pre, i8** %.reg2mem31 store i32 %sv_2.213.reload, i32* %sv_2.0.reg2mem br label LBL_9 LBL_9: %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %.reload32 = load i8*, i8** %.reg2mem31 %22 = icmp eq i8* %.reload32, null store i32 %sv_0.712.reload, i32* %sv_0.5.reg2mem store i32 %sv_1.315.reload, i32* %sv_1.1.reg2mem br i1 %22, label LBL_32, label LBL_10 LBL_10: %23 = load i8, i8* %.reload32, align 1 %24 = icmp eq i8 %23, 0 %25 = icmp eq i1 %24, false store i8 %23, i8* %.reg2mem33 store i8* %.reload32, i8** %.reg2mem35 store i32 0, i32* %storemerge611.reg2mem br i1 %25, label LBL_12, label LBL_10.LBL_13_crit_edge LBL_11: %.pre28 = ptrtoint i8* %.reload32 to i64 store i64 %.pre28, i64* %.lcssa.pre-phi.pre-phi.reg2mem store i8* %.reload32, i8** %.reg2mem37 br label LBL_13 LBL_12: %storemerge611.reload = load i32, i32* %storemerge611.reg2mem %.reload36 = load i8*, i8** %.reg2mem35 %.reload34 = load i8, i8* %.reg2mem33 %26 = sext i8 %.reload34 to i64 %27 = and i64 %26, 4294967295 %28 = call i64 @FUNC(i64 %27) %29 = trunc i64 %28 to i8 store i8 %29, i8* %.reload36, align 1 %30 = add i32 %storemerge611.reload, 1 %31 = sext i32 %30 to i64 %32 = load i8*, i8** %sv_5, align 8 %33 = ptrtoint i8* %32 to i64 %34 = add i64 %33, %31 %35 = inttoptr i64 %34 to i8* %36 = load i8, i8* %35, align 1 %37 = icmp eq i8 %36, 0 %38 = icmp eq i1 %37, false store i8 %36, i8* %.reg2mem33 store i8* %35, i8** %.reg2mem35 store i32 %30, i32* %storemerge611.reg2mem store i64 %33, i64* %.lcssa.pre-phi.pre-phi.reg2mem store i8* %32, i8** %.reg2mem37 br i1 %38, label LBL_12, label LBL_13 LBL_13: %.lcssa.pre-phi.pre-phi.reload = load i64, i64* %.lcssa.pre-phi.pre-phi.reg2mem %39 = call i64 @FUNC(i64 %.lcssa.pre-phi.pre-phi.reload, i64 4294967295) %40 = trunc i64 %39 to i32 %41 = icmp eq i32 %40, 0 br i1 %41, label LBL_16, label LBL_14 LBL_14: %42 = icmp eq i32 %sv_1.315.reload, 0 br i1 %42, label LBL_18, label LBL_15 LBL_15: %.reload38 = load i8*, i8** %.reg2mem37 %43 = ptrtoint i8* %.reload38 to i64 %44 = call i64 @FUNC(i64 %43, i64 4294967295) %45 = trunc i64 %44 to i32 %46 = icmp eq i32 %45, 0 %47 = icmp eq i1 %46, false store i32 %sv_0.712.reload, i32* %sv_0.5.reg2mem store i32 %sv_1.315.reload, i32* %sv_1.1.reg2mem br i1 %47, label LBL_32, label LBL_18 LBL_16: %48 = icmp eq i32 %arg4, 0 store i32 %sv_0.712.reload, i32* %sv_0.710.reg2mem br i1 %48, label LBL_36, label LBL_17 LBL_17: store i32 1, i32* %arg6, align 4 store i32 %sv_0.712.reload, i32* %sv_0.710.reg2mem br label LBL_36 LBL_18: %49 = icmp slt i32 %sv_0.712.reload, %arg3 store i32 %sv_0.712.reload, i32* %sv_0.0.reg2mem br i1 %49, label LBL_19, label LBL_20 LBL_19: %50 = add i32 %sv_0.712.reload, 1 %51 = sext i32 %sv_0.712.reload to i64 %52 = add i64 %15, %51 %53 = inttoptr i64 %52 to i8* store i8 45, i8* %53, align 1 store i32 %50, i32* %sv_0.0.reg2mem br label LBL_20 LBL_20: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.4.reg2mem br i1 %42, label LBL_29, label LBL_21 LBL_21: %54 = icmp slt i32 %sv_0.0.reload, %arg3 store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br i1 %54, label LBL_22, label LBL_23 LBL_22: %55 = add i32 %sv_0.0.reload, 1 %56 = sext i32 %sv_0.0.reload to i64 %57 = add i64 %15, %56 %58 = inttoptr i64 %57 to i8* store i8 120, i8* %58, align 1 store i32 %55, i32* %sv_0.1.reg2mem br label LBL_23 LBL_23: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %59 = icmp slt i32 %sv_0.1.reload, %arg3 store i32 %sv_0.1.reload, i32* %sv_0.2.reg2mem br i1 %59, label LBL_24, label LBL_25 LBL_24: %60 = add i32 %sv_0.1.reload, 1 %61 = sext i32 %sv_0.1.reload to i64 %62 = add i64 %15, %61 %63 = inttoptr i64 %62 to i8* store i8 45, i8* %63, align 1 store i32 %60, i32* %sv_0.2.reg2mem br label LBL_25 LBL_25: %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %64 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0)) %65 = icmp slt i32 %sv_0.2.reload, %arg3 br i1 %65, label LBL_26, label LBL_27 LBL_26: %66 = sub i32 %arg3, %sv_0.2.reload %67 = zext i32 %66 to i64 %68 = and i64 %64, 4294967295 %69 = call i64 @FUNC(i64 %68, i64 %67) %sext4 = mul i64 %69, 4294967296 %70 = ashr exact i64 %sext4, 32 %71 = sext i32 %sv_0.2.reload to i64 %72 = add i64 %71, %16 %73 = call i64 @FUNC(i64 %72, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i64 %70) br label LBL_27 LBL_27: %74 = trunc i64 %64 to i32 %75 = add i32 %sv_0.2.reload, %74 %76 = icmp slt i32 %75, %arg3 store i32 %75, i32* %sv_0.4.reg2mem br i1 %76, label LBL_28, label LBL_29 LBL_28: %77 = add i32 %75, 1 %78 = sext i32 %75 to i64 %79 = add i64 %15, %78 %80 = inttoptr i64 %79 to i8* store i8 45, i8* %80, align 1 store i32 %77, i32* %sv_0.4.reg2mem br label LBL_29 LBL_29: %sv_0.4.reload = load i32, i32* %sv_0.4.reg2mem %81 = load i8*, i8** %sv_5, align 8 %82 = call i64 @FUNC(i8* %81) %83 = icmp slt i32 %sv_0.4.reload, %arg3 br i1 %83, label LBL_30, label LBL_31 LBL_30: %84 = sub i32 %arg3, %sv_0.4.reload %85 = zext i32 %84 to i64 %86 = and i64 %82, 4294967295 %87 = call i64 @FUNC(i64 %86, i64 %85) %sext5 = mul i64 %87, 4294967296 %88 = ashr exact i64 %sext5, 32 %89 = sext i32 %sv_0.4.reload to i64 %90 = add i64 %89, %16 %91 = call i64 @FUNC(i64 %90, i8* %81, i64 %88) br label LBL_31 LBL_31: %92 = trunc i64 %82 to i32 %93 = add i32 %sv_0.4.reload, %92 store i32 %93, i32* %sv_0.5.reg2mem store i32 0, i32* %sv_1.1.reg2mem br label LBL_32 LBL_32: %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %sv_0.5.reload = load i32, i32* %sv_0.5.reg2mem store i8* null, i8** %sv_5, align 8 store i8* null, i8** %.reg2mem39 store i32 %sv_0.5.reload, i32* %sv_0.6.reg2mem store i32 %sv_2.0.reload, i32* %sv_2.1.reg2mem store i32 %sv_1.1.reload, i32* %sv_1.2.reg2mem br label LBL_35 LBL_33: %94 = icmp eq i8* %.reload30, null %95 = icmp eq i1 %94, false store i8* %.reload30, i8** %.reg2mem39 store i32 %sv_0.712.reload, i32* %sv_0.6.reg2mem store i32 %sv_2.213.reload, i32* %sv_2.1.reg2mem store i32 %sv_1.315.reload, i32* %sv_1.2.reg2mem br i1 %95, label LBL_35, label LBL_34 LBL_34: %.reload = load i64, i64* %.reg2mem store i64 %.reload, i64* %17, align 8 %96 = inttoptr i64 %.reload to i8* store i8* %96, i8** %.reg2mem39 store i32 %sv_0.712.reload, i32* %sv_0.6.reg2mem store i32 %sv_2.213.reload, i32* %sv_2.1.reg2mem store i32 %sv_1.315.reload, i32* %sv_1.2.reg2mem br label LBL_35 LBL_35: %sv_1.2.reload = load i32, i32* %sv_1.2.reg2mem %sv_2.1.reload = load i32, i32* %sv_2.1.reg2mem %sv_0.6.reload = load i32, i32* %sv_0.6.reg2mem %.reload40 = load i8*, i8** %.reg2mem39 %97 = ptrtoint i8* %sv_3.0.reload to i64 %98 = add i64 %97, 1 %99 = inttoptr i64 %98 to i8* %100 = icmp eq i32 %sv_2.1.reload, 0 %101 = icmp eq i1 %100, false store i8* %99, i8** %sv_3.0.reg2mem store i64 %98, i64* %.reg2mem store i8* %.reload40, i8** %.reg2mem29 store i32 %sv_1.2.reload, i32* %sv_1.315.reg2mem store i32 %sv_2.1.reload, i32* %sv_2.213.reg2mem store i32 %sv_0.6.reload, i32* %sv_0.712.reg2mem store i32 %sv_0.6.reload, i32* %sv_0.710.reg2mem br i1 %101, label LBL_6, label LBL_36 LBL_36: %sv_0.710.reload = load i32, i32* %sv_0.710.reg2mem %102 = load i32, i32* %13, align 8 %103 = icmp eq i32 %102, 0 store i32 %sv_0.710.reload, i32* %sv_0.8.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %103, label LBL_37, label LBL_41 LBL_37: %104 = ptrtoint i64* %arg2 to i64 %sv_0.8.reload = load i32, i32* %sv_0.8.reg2mem %105 = icmp slt i32 %sv_0.8.reload, %arg3 br i1 %105, label LBL_39, label LBL_37.LBL_40_crit_edge LBL_38: %.pre22 = zext i32 %sv_0.8.reload to i64 store i64 %.pre22, i64* %.pre-phi.reg2mem br label LBL_40 LBL_39: %106 = sub i32 %arg3, %sv_0.8.reload %107 = zext i32 %106 to i64 %108 = zext i32 %sv_0.8.reload to i64 %109 = call i64 @FUNC(i64 %108, i64 %107) %sext = mul i64 %109, 4294967296 %110 = ashr exact i64 %sext, 32 %111 = bitcast i64* %sv_4 to i8* %112 = call i64 @FUNC(i64 %104, i8* nonnull %111, i64 %110) store i64 %108, i64* %.pre-phi.reg2mem br label LBL_40 LBL_40: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %113 = ptrtoint i32* %arg6 to i64 %114 = call i64 @FUNC(i64 %104, i32 %arg3, i32 %sv_0.8.reload, i64 %113) store i64 %.pre-phi.reload, i64* %rax.0.reg2mem br label LBL_41 LBL_41: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %sv_0.8.reload, { 0, 1, 2, 4, 3 } uselistorder i64 %104, { 1, 0 } uselistorder i32 %sv_2.1.reload, { 1, 0 } uselistorder i64 %82, { 1, 0 } uselistorder i32 %sv_0.4.reload, { 3, 2, 0, 1 } uselistorder i32 %75, { 2, 1, 0, 3 } uselistorder i64 %64, { 1, 0 } uselistorder i32 %sv_0.2.reload, { 3, 2, 0, 1 } uselistorder i32 %sv_0.1.reload, { 2, 1, 0, 3 } uselistorder i32 %sv_0.0.reload, { 3, 2, 1, 4, 0 } uselistorder i8* %.reload32, { 0, 4, 1, 2, 3 } uselistorder i8* %.reload30, { 0, 2, 1 } uselistorder i8 %19, { 1, 0 } uselistorder i8* %sv_3.0.reload, { 2, 0, 1 } uselistorder i32 %sv_1.315.reload, { 0, 1, 2, 4, 3 } uselistorder i32 %sv_0.712.reload, { 2, 3, 8, 9, 6, 7, 0, 1, 4, 5 } uselistorder i64 %15, { 3, 2, 1, 0 } uselistorder i32* %sv_7, { 1, 0, 2 } uselistorder i8** %sv_5, { 5, 4, 3, 0, 1, 2 } uselistorder i8** %sv_3.0.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i8** %.reg2mem29, { 1, 0, 2 } uselistorder i32* %sv_1.315.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.213.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.712.reg2mem, { 1, 0, 2 } uselistorder i8** %.reg2mem31, { 0, 2, 1 } uselistorder i32* %sv_2.0.reg2mem, { 0, 2, 1 } uselistorder i8* %.reg2mem33, { 2, 0, 1 } uselistorder i8** %.reg2mem35, { 2, 0, 1 } uselistorder i32* %storemerge611.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.2.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.4.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 3, 2, 4 } uselistorder i64 (i64, i8*, i64)* @uprv_memcpy, { 2, 1, 0 } uselistorder i64 32, { 2, 0, 1 } uselistorder i64 (i64, i64)* @uprv_min, { 2, 1, 0 } uselistorder i64 (i8*)* @uprv_strlen, { 1, 0 } uselistorder i8 45, { 1, 2, 3, 0 } uselistorder i8* null, { 2, 0, 4, 3, 1, 5 } uselistorder i32* %arg6, { 1, 0, 2 } uselistorder i32 %arg3, { 10, 9, 0, 7, 6, 1, 3, 2, 4, 5, 8 } uselistorder label LBL_41, { 4, 0, 2, 1, 3 } uselistorder label LBL_40, { 1, 0 } uselistorder label LBL_36, { 0, 2, 1 } uselistorder label LBL_31, { 1, 0 } uselistorder label LBL_27, { 1, 0 } uselistorder label LBL_25, { 1, 0 } uselistorder label LBL_23, { 1, 0 } uselistorder label LBL_20, { 1, 0 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
get_register_name_32_15717
get_register_name_32
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = trunc i64 %arg1 to i32 %1 = icmp ult i32 %0, 33 store i64 0, i64* %storemerge.reg2mem br i1 %1, label LBL_1, label LBL_2 LBL_1: %2 = mul i64 %arg1, 8 %3 = and i64 %2, 34359738360 %4 = add i64 %3, ptrtoint ([32 x i8*]* @gv_0 to i64) %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 store i64 %6, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
mark_hl_words_7656
mark_hl_words
define i64 @FUNC(i64* %arg1, i32 %arg2, i32 %arg3, i32 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %storemerge.lcssa.reg2mem = alloca i32 %rdi.12.reg2mem = alloca i64 %rdi.1334.reg2mem = alloca i64 %storemerge35.reg2mem = alloca i32 %rdi.11.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i32 %sv_1.2.reg2mem = alloca i32 %sv_2.1137.reg2mem = alloca i32 %rdi.1038.reg2mem = alloca i64 %storemerge439.reg2mem = alloca i32 %.reg2mem201 = alloca i64 %sv_3.5.lcssa162.reg2mem = alloca i32 %.pre-phi196.reg2mem = alloca i32* %.pre-phi198.reg2mem = alloca i32 %sv_3.5.lcssa.reg2mem = alloca i32 %sv_4.1.ph.lcssa.reg2mem = alloca i32 %sv_0.1.ph.lcssa.reg2mem = alloca i32 %sv_1.1.ph.lcssa.reg2mem = alloca i32 %sv_1.1.ph109.reg2mem = alloca i32 %sv_0.1.ph111.reg2mem = alloca i32 %sv_4.1.ph113.reg2mem = alloca i32 %sv_3.5.ph115.reg2mem = alloca i32 %sv_4.0.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %rdi.9.reg2mem = alloca i64 %rdi.8.reg2mem = alloca i64 %sv_5.0.reg2mem = alloca i32 %sv_6.10.reg2mem = alloca i32 %sv_3.4.reg2mem = alloca i32 %sv_6.8.reg2mem = alloca i32 %sv_2.965.reg2mem = alloca i32 %sv_6.966.reg2mem = alloca i32 %sv_7.067.reg2mem = alloca i32 %rdi.769.reg2mem = alloca i64 %rdi.6.reg2mem = alloca i64 %sv_6.7.reg2mem = alloca i32 %storemerge5.lcssa.reg2mem = alloca i32 %sv_6.5.reg2mem = alloca i32 %sv_2.796.reg2mem = alloca i32 %sv_6.697.reg2mem = alloca i32 %rdi.598.reg2mem = alloca i64 %storemerge599.reg2mem = alloca i32 %rdi.4.reg2mem = alloca i64 %sv_6.4.reg2mem = alloca i32 %sv_2.5.reg2mem = alloca i32 %sv_3.2.reg2mem = alloca i32 %.lcssa31.reg2mem = alloca i64 %sv_6.2.reg2mem = alloca i32 %sv_2.3.reg2mem = alloca i32 %.pre-phi157.reg2mem = alloca i64 %sv_2.477.reg2mem = alloca i32 %sv_6.378.reg2mem = alloca i32 %rdi.379.reg2mem = alloca i64 %storemerge680.reg2mem = alloca i32 %.reg2mem199 = alloca i64 %rdi.1.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i1 %storemerge7.lcssa.reg2mem = alloca i32 %rdi.0.lcssa.reg2mem = alloca i64 %sv_6.1.lcssa.reg2mem = alloca i32 %sv_2.1.lcssa.reg2mem = alloca i32 %sv_3.0.lcssa.reg2mem = alloca i32 %sv_6.0.reg2mem = alloca i32 %sv_2.143.reg2mem = alloca i32 %sv_6.144.reg2mem = alloca i32 %rdi.045.reg2mem = alloca i64 %storemerge746.reg2mem = alloca i32 %.reg2mem = alloca i64 %sv_3.554.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sv_8 = alloca i32, align 4 %sv_9 = alloca i32, align 4 store i32 0, i32* %sv_9, align 4 store i32 0, i32* %sv_8, align 4 %1 = icmp eq i32 %arg3, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_50, label LBL_1 LBL_1: %sext = mul i64 %arg5, 4294967296 %3 = ashr exact i64 %sext, 32 %4 = call i64 @FUNC(i64 %0, i32 %arg2, i32* nonnull %sv_9, i32* nonnull %sv_8) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_3, label LBL_1.LBL_48_crit_edge LBL_2: %.pre194 = add i64 %0, 8 %.pre195 = inttoptr i64 %.pre194 to i32* %.pre197 = trunc i64 %3 to i32 store i32 %.pre197, i32* %.pre-phi198.reg2mem store i32* %.pre195, i32** %.pre-phi196.reg2mem store i32 0, i32* %sv_3.5.lcssa162.reg2mem br label LBL_48 LBL_3: %8 = trunc i64 %arg6 to i32 %9 = icmp sgt i32 %8, 0 %10 = sext i32 %arg4 to i64 %11 = trunc i64 %3 to i32 %12 = add i64 %0, 8 %13 = inttoptr i64 %12 to i32* store i32 0, i32* %sv_3.5.ph115.reg2mem store i32 -1, i32* %sv_4.1.ph113.reg2mem store i32 -1, i32* %sv_0.1.ph111.reg2mem store i32 -1, i32* %sv_1.1.ph109.reg2mem br label LBL_4.lr.ph LBL_4: %sv_3.554.reload = load i32, i32* %sv_3.554.reg2mem %14 = load i32, i32* %sv_9, align 4 %15 = load i32, i32* %sv_8, align 4 %16 = zext i32 %15 to i64 %17 = sext i32 %14 to i64 %18 = icmp sle i64 %17, %16 %or.cond42 = icmp eq i1 %9, %18 store i64 %17, i64* %.reg2mem store i32 %14, i32* %storemerge746.reg2mem store i64 %0, i64* %rdi.045.reg2mem store i32 0, i32* %sv_6.144.reg2mem store i32 0, i32* %sv_2.143.reg2mem store i32 %sv_3.554.reload, i32* %sv_3.0.lcssa.reg2mem store i32 0, i32* %sv_2.1.lcssa.reg2mem store i32 0, i32* %sv_6.1.lcssa.reg2mem store i64 %0, i64* %rdi.0.lcssa.reg2mem store i32 %14, i32* %storemerge7.lcssa.reg2mem store i1 %9, i1* %.lcssa.reg2mem br i1 %or.cond42, label LBL_5, label LBL_8 LBL_5: %sv_2.143.reload = load i32, i32* %sv_2.143.reg2mem %sv_6.144.reload = load i32, i32* %sv_6.144.reg2mem %rdi.045.reload = load i64, i64* %rdi.045.reg2mem %storemerge746.reload = load i32, i32* %storemerge746.reg2mem %.reload = load i64, i64* %.reg2mem %19 = mul i64 %.reload, 32 %20 = add i64 %rdi.045.reload, %19 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = zext i32 %22 to i64 %24 = call i64 @FUNC(i64 %23) %25 = add nsw i64 %19, %23 %26 = add nsw i64 %25, 4 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = icmp eq i32 %28, 0 store i32 %sv_6.144.reload, i32* %sv_6.0.reg2mem br i1 %29, label LBL_7, label LBL_6 LBL_6: %30 = add nsw i64 %25, 8 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = icmp eq i32 %32, 0 %34 = zext i1 %33 to i32 %spec.select8 = add i32 %sv_6.144.reload, %34 store i32 %spec.select8, i32* %sv_6.0.reg2mem br label LBL_7 LBL_7: %35 = trunc i64 %24 to i32 %36 = icmp eq i32 %35, 0 %37 = zext i1 %36 to i32 %spec.select = add i32 %sv_2.143.reload, %37 %sv_6.0.reload = load i32, i32* %sv_6.0.reg2mem %38 = add i32 %storemerge746.reload, 1 %39 = load i32, i32* %sv_8, align 4 %40 = zext i32 %39 to i64 %41 = sext i32 %38 to i64 %42 = icmp sle i64 %41, %40 %43 = icmp slt i32 %spec.select, %8 %or.cond = icmp eq i1 %43, %42 store i64 %41, i64* %.reg2mem store i32 %38, i32* %storemerge746.reg2mem store i64 %23, i64* %rdi.045.reg2mem store i32 %sv_6.0.reload, i32* %sv_6.144.reg2mem store i32 %spec.select, i32* %sv_2.143.reg2mem store i32 %storemerge746.reload, i32* %sv_3.0.lcssa.reg2mem store i32 %spec.select, i32* %sv_2.1.lcssa.reg2mem store i32 %sv_6.0.reload, i32* %sv_6.1.lcssa.reg2mem store i64 %23, i64* %rdi.0.lcssa.reg2mem store i32 %38, i32* %storemerge7.lcssa.reg2mem store i1 %43, i1* %.lcssa.reg2mem br i1 %or.cond, label LBL_5, label LBL_8 LBL_8: %.lcssa.reload = load i1, i1* %.lcssa.reg2mem %storemerge7.lcssa.reload = load i32, i32* %storemerge7.lcssa.reg2mem %rdi.0.lcssa.reload = load i64, i64* %rdi.0.lcssa.reg2mem %sv_6.1.lcssa.reload = load i32, i32* %sv_6.1.lcssa.reg2mem %sv_2.1.lcssa.reload = load i32, i32* %sv_2.1.lcssa.reg2mem %sv_3.0.lcssa.reload = load i32, i32* %sv_3.0.lcssa.reg2mem %44 = icmp slt i32 %sv_6.1.lcssa.reload, %sv_4.1.ph113.reload store i64 %rdi.0.lcssa.reload, i64* %rdi.1.reg2mem br i1 %44, label LBL_9, label LBL_12 LBL_9: %45 = add i64 %rdi.0.lcssa.reload, %244 %46 = inttoptr i64 %45 to i32* %47 = load i32, i32* %46, align 4 %48 = zext i32 %47 to i64 %49 = call i64 @FUNC(i64 %48) %50 = trunc i64 %49 to i32 %51 = icmp eq i32 %50, 0 %52 = icmp eq i1 %51, false store i64 %48, i64* %rdi.1.reg2mem br i1 %52, label LBL_12, label LBL_10 LBL_10: %53 = add nsw i64 %245, %48 %54 = inttoptr i64 %53 to i32* %55 = load i32, i32* %54, align 4 %56 = zext i32 %55 to i64 %57 = icmp slt i64 %10, %56 store i64 %48, i64* %rdi.1.reg2mem br i1 %57, label LBL_11, label LBL_12 LBL_11: %58 = load i32, i32* %sv_9, align 4 %59 = add i32 %58, 1 store i32 %59, i32* %sv_9, align 4 %60 = call i64 @FUNC(i64 %0, i32 %arg2, i32* nonnull %sv_9, i32* nonnull %sv_8) %61 = trunc i64 %60 to i32 %62 = icmp eq i32 %61, 0 %63 = icmp eq i1 %62, false store i32 %sv_3.0.lcssa.reload, i32* %sv_3.554.reg2mem store i32 %sv_1.1.ph109.reload, i32* %sv_1.1.ph.lcssa.reg2mem store i32 %sv_0.1.ph111.reload, i32* %sv_0.1.ph.lcssa.reg2mem store i32 %sv_4.1.ph113.reload, i32* %sv_4.1.ph.lcssa.reg2mem store i32 %sv_3.0.lcssa.reload, i32* %sv_3.5.lcssa.reg2mem br i1 %63, label LBL_4, label LBL_47 LBL_12: %rdi.1.reload = load i64, i64* %rdi.1.reg2mem %64 = load i32, i32* %sv_9, align 4 br i1 %.lcssa.reload, label LBL_14, label LBL_13 LBL_13: %65 = icmp sgt i32 %sv_2.1.lcssa.reload, %11 store i64 %rdi.1.reload, i64* %rdi.769.reg2mem store i32 %storemerge7.lcssa.reload, i32* %sv_7.067.reg2mem store i32 %sv_6.1.lcssa.reload, i32* %sv_6.966.reg2mem store i32 %sv_2.1.lcssa.reload, i32* %sv_2.965.reg2mem store i32 %sv_3.0.lcssa.reload, i32* %sv_3.4.reg2mem store i32 %sv_6.1.lcssa.reload, i32* %sv_6.10.reg2mem store i32 %64, i32* %sv_5.0.reg2mem store i64 %rdi.1.reload, i64* %rdi.8.reg2mem br i1 %65, label LBL_31, label LBL_36 LBL_14: %66 = add i32 %storemerge7.lcssa.reload, -1 %67 = load i32, i32* %13, align 4 %68 = zext i32 %67 to i64 %69 = sext i32 %66 to i64 %70 = icmp slt i64 %69, %68 %71 = icmp slt i32 %sv_2.1.lcssa.reload, %8 %or.cond1576 = icmp eq i1 %71, %70 store i64 %69, i64* %.reg2mem199 store i32 %66, i32* %storemerge680.reg2mem store i64 %rdi.1.reload, i64* %rdi.379.reg2mem store i32 %sv_6.1.lcssa.reload, i32* %sv_6.378.reg2mem store i32 %sv_2.1.lcssa.reload, i32* %sv_2.477.reg2mem store i64 %69, i64* %.lcssa31.reg2mem store i32 %sv_3.0.lcssa.reload, i32* %sv_3.2.reg2mem store i32 %sv_2.1.lcssa.reload, i32* %sv_2.5.reg2mem store i32 %sv_6.1.lcssa.reload, i32* %sv_6.4.reg2mem store i64 %rdi.1.reload, i64* %rdi.4.reg2mem br i1 %or.cond1576, label LBL_15, label LBL_21 LBL_15: %sv_2.477.reload = load i32, i32* %sv_2.477.reg2mem %sv_6.378.reload = load i32, i32* %sv_6.378.reg2mem %rdi.379.reload = load i64, i64* %rdi.379.reg2mem %storemerge680.reload = load i32, i32* %storemerge680.reg2mem %.reload200 = load i64, i64* %.reg2mem199 %72 = load i32, i32* %sv_8, align 4 %73 = icmp eq i32 %storemerge680.reload, %72 %.pre = mul i64 %.reload200, 32 %.pre156 = add i64 %rdi.379.reload, %.pre store i64 %.pre156, i64* %.pre-phi157.reg2mem store i32 %sv_2.477.reload, i32* %sv_2.3.reg2mem store i32 %sv_6.378.reload, i32* %sv_6.2.reg2mem br i1 %73, label LBL_18, label LBL_16 LBL_16: %74 = inttoptr i64 %.pre156 to i32* %75 = load i32, i32* %74, align 4 %76 = zext i32 %75 to i64 %77 = call i64 @FUNC(i64 %76) %78 = trunc i64 %77 to i32 %79 = icmp eq i32 %78, 0 %80 = zext i1 %79 to i32 %spec.select10 = add i32 %sv_2.477.reload, %80 %81 = add nsw i64 %.pre, %76 %82 = add nsw i64 %81, 4 %83 = inttoptr i64 %82 to i32* %84 = load i32, i32* %83, align 4 %85 = icmp eq i32 %84, 0 store i64 %81, i64* %.pre-phi157.reg2mem store i32 %spec.select10, i32* %sv_2.3.reg2mem store i32 %sv_6.378.reload, i32* %sv_6.2.reg2mem br i1 %85, label LBL_18, label LBL_17 LBL_17: %86 = add nsw i64 %81, 8 %87 = inttoptr i64 %86 to i32* %88 = load i32, i32* %87, align 4 %89 = icmp eq i32 %88, 0 %90 = zext i1 %89 to i32 %spec.select11 = add i32 %sv_6.378.reload, %90 store i64 %81, i64* %.pre-phi157.reg2mem store i32 %spec.select10, i32* %sv_2.3.reg2mem store i32 %spec.select11, i32* %sv_6.2.reg2mem br label LBL_18 LBL_18: %sv_6.2.reload = load i32, i32* %sv_6.2.reg2mem %sv_2.3.reload = load i32, i32* %sv_2.3.reg2mem %.pre-phi157.reload = load i64, i64* %.pre-phi157.reg2mem %91 = inttoptr i64 %.pre-phi157.reload to i32* %92 = load i32, i32* %91, align 4 %93 = zext i32 %92 to i64 %94 = call i64 @FUNC(i64 %93) %95 = trunc i64 %94 to i32 %96 = icmp eq i32 %95, 0 %97 = icmp eq i1 %96, false br i1 %97, label LBL_20, label LBL_19 LBL_19: %98 = or i64 %.pre, 12 %99 = add nsw i64 %98, %93 %100 = inttoptr i64 %99 to i32* %101 = load i32, i32* %100, align 4 %102 = zext i32 %101 to i64 %103 = icmp sge i64 %10, %102 %104 = icmp slt i32 %sv_2.3.reload, %11 %or.cond13 = or i1 %104, %103 store i64 %.reload200, i64* %.lcssa31.reg2mem store i32 %storemerge680.reload, i32* %sv_3.2.reg2mem store i32 %sv_2.3.reload, i32* %sv_2.5.reg2mem store i32 %sv_6.2.reload, i32* %sv_6.4.reg2mem store i64 %93, i64* %rdi.4.reg2mem br i1 %or.cond13, label LBL_20, label LBL_21 LBL_20: %105 = add i32 %storemerge680.reload, 1 %106 = load i32, i32* %13, align 4 %107 = zext i32 %106 to i64 %108 = sext i32 %105 to i64 %109 = icmp slt i64 %108, %107 %110 = icmp slt i32 %sv_2.3.reload, %8 %or.cond15 = icmp eq i1 %110, %109 store i64 %108, i64* %.reg2mem199 store i32 %105, i32* %storemerge680.reg2mem store i64 %93, i64* %rdi.379.reg2mem store i32 %sv_6.2.reload, i32* %sv_6.378.reg2mem store i32 %sv_2.3.reload, i32* %sv_2.477.reg2mem store i64 %108, i64* %.lcssa31.reg2mem store i32 %storemerge680.reload, i32* %sv_3.2.reg2mem store i32 %sv_2.3.reload, i32* %sv_2.5.reg2mem store i32 %sv_6.2.reload, i32* %sv_6.4.reg2mem store i64 %93, i64* %rdi.4.reg2mem br i1 %or.cond15, label LBL_15, label LBL_21 LBL_21: %rdi.4.reload = load i64, i64* %rdi.4.reg2mem %sv_6.4.reload = load i32, i32* %sv_6.4.reg2mem %sv_2.5.reload = load i32, i32* %sv_2.5.reg2mem %sv_3.2.reload = load i32, i32* %sv_3.2.reg2mem %111 = icmp slt i32 %sv_2.5.reload, %11 store i32 %sv_3.2.reload, i32* %sv_3.4.reg2mem store i32 %sv_6.4.reload, i32* %sv_6.10.reg2mem store i32 %64, i32* %sv_5.0.reg2mem store i64 %rdi.4.reload, i64* %rdi.8.reg2mem br i1 %111, label LBL_22, label LBL_36 LBL_22: %.lcssa31.reload = load i64, i64* %.lcssa31.reg2mem %112 = load i32, i32* %13, align 4 %113 = zext i32 %112 to i64 %114 = icmp slt i64 %.lcssa31.reload, %113 store i32 %sv_3.2.reload, i32* %sv_3.4.reg2mem store i32 %sv_6.4.reload, i32* %sv_6.10.reg2mem store i32 %64, i32* %sv_5.0.reg2mem store i64 %rdi.4.reload, i64* %rdi.8.reg2mem br i1 %114, label LBL_36, label LBL_23 LBL_23: %115 = load i32, i32* %sv_9, align 4 %storemerge595 = add i32 %115, -1 %116 = icmp slt i32 %storemerge595, 0 %117 = icmp eq i1 %116, false store i32 %storemerge595, i32* %storemerge599.reg2mem store i64 %rdi.4.reload, i64* %rdi.598.reg2mem store i32 %sv_6.4.reload, i32* %sv_6.697.reg2mem store i32 %sv_2.5.reload, i32* %sv_2.796.reg2mem store i32 %storemerge595, i32* %storemerge5.lcssa.reg2mem store i32 %sv_6.4.reload, i32* %sv_6.7.reg2mem store i64 %rdi.4.reload, i64* %rdi.6.reg2mem br i1 %117, label LBL_24, label LBL_30 LBL_24: %sv_2.796.reload = load i32, i32* %sv_2.796.reg2mem %sv_6.697.reload = load i32, i32* %sv_6.697.reg2mem %rdi.598.reload = load i64, i64* %rdi.598.reg2mem %storemerge599.reload = load i32, i32* %storemerge599.reg2mem %118 = sext i32 %storemerge599.reload to i64 %119 = mul i64 %118, 32 %120 = add i64 %119, %rdi.598.reload %121 = inttoptr i64 %120 to i32* %122 = load i32, i32* %121, align 4 %123 = zext i32 %122 to i64 %124 = call i64 @FUNC(i64 %123) %125 = add nsw i64 %119, %123 %126 = add nsw i64 %125, 4 %127 = inttoptr i64 %126 to i32* %128 = load i32, i32* %127, align 4 %129 = icmp eq i32 %128, 0 store i32 %sv_6.697.reload, i32* %sv_6.5.reg2mem br i1 %129, label LBL_26, label LBL_25 LBL_25: %130 = add nsw i64 %125, 8 %131 = inttoptr i64 %130 to i32* %132 = load i32, i32* %131, align 4 %133 = icmp eq i32 %132, 0 %134 = zext i1 %133 to i32 %spec.select17 = add i32 %sv_6.697.reload, %134 store i32 %spec.select17, i32* %sv_6.5.reg2mem br label LBL_26 LBL_26: %135 = trunc i64 %124 to i32 %136 = icmp eq i32 %135, 0 %137 = zext i1 %136 to i32 %spec.select16 = add i32 %sv_2.796.reload, %137 %sv_6.5.reload = load i32, i32* %sv_6.5.reg2mem %138 = icmp slt i32 %spec.select16, %8 store i32 %storemerge599.reload, i32* %storemerge5.lcssa.reg2mem store i32 %sv_6.5.reload, i32* %sv_6.7.reg2mem store i64 %123, i64* %rdi.6.reg2mem br i1 %138, label LBL_27, label LBL_30 LBL_27: %139 = inttoptr i64 %125 to i32* %140 = load i32, i32* %139, align 4 %141 = zext i32 %140 to i64 %142 = call i64 @FUNC(i64 %141) %143 = trunc i64 %142 to i32 %144 = icmp eq i32 %143, 0 %145 = icmp eq i1 %144, false br i1 %145, label LBL_29, label LBL_28 LBL_28: %146 = or i64 %119, 12 %147 = add nsw i64 %146, %141 %148 = inttoptr i64 %147 to i32* %149 = load i32, i32* %148, align 4 %150 = zext i32 %149 to i64 %151 = icmp sge i64 %10, %150 %152 = icmp slt i32 %spec.select16, %11 %or.cond19 = or i1 %152, %151 store i32 %storemerge599.reload, i32* %storemerge5.lcssa.reg2mem store i32 %sv_6.5.reload, i32* %sv_6.7.reg2mem store i64 %141, i64* %rdi.6.reg2mem br i1 %or.cond19, label LBL_29, label LBL_30 LBL_29: %storemerge5 = add i32 %storemerge599.reload, -1 %153 = icmp slt i32 %storemerge5, 0 %154 = icmp eq i1 %153, false store i32 %storemerge5, i32* %storemerge599.reg2mem store i64 %141, i64* %rdi.598.reg2mem store i32 %sv_6.5.reload, i32* %sv_6.697.reg2mem store i32 %spec.select16, i32* %sv_2.796.reg2mem store i32 %storemerge5, i32* %storemerge5.lcssa.reg2mem store i32 %sv_6.5.reload, i32* %sv_6.7.reg2mem store i64 %141, i64* %rdi.6.reg2mem br i1 %154, label LBL_24, label LBL_30 LBL_30: %rdi.6.reload = load i64, i64* %rdi.6.reg2mem %sv_6.7.reload = load i32, i32* %sv_6.7.reg2mem %storemerge5.lcssa.reload = load i32, i32* %storemerge5.lcssa.reg2mem %155 = icmp sgt i32 %storemerge5.lcssa.reload, 0 %156 = select i1 %155, i32 %storemerge5.lcssa.reload, i32 0 store i32 %sv_3.2.reload, i32* %sv_3.4.reg2mem store i32 %sv_6.7.reload, i32* %sv_6.10.reg2mem store i32 %156, i32* %sv_5.0.reg2mem store i64 %rdi.6.reload, i64* %rdi.8.reg2mem br label LBL_36 LBL_31: %sv_2.965.reload = load i32, i32* %sv_2.965.reg2mem %sv_6.966.reload = load i32, i32* %sv_6.966.reg2mem %sv_7.067.reload = load i32, i32* %sv_7.067.reg2mem %rdi.769.reload = load i64, i64* %rdi.769.reg2mem %157 = sext i32 %sv_7.067.reload to i64 %158 = mul i64 %157, 32 %159 = add i64 %158, %rdi.769.reload %160 = inttoptr i64 %159 to i32* %161 = load i32, i32* %160, align 4 %162 = zext i32 %161 to i64 %163 = call i64 @FUNC(i64 %162) %164 = add nsw i64 %158, %162 %165 = add nsw i64 %164, 4 %166 = inttoptr i64 %165 to i32* %167 = load i32, i32* %166, align 4 %168 = icmp eq i32 %167, 0 store i32 %sv_6.966.reload, i32* %sv_6.8.reg2mem br i1 %168, label LBL_33, label LBL_32 LBL_32: %169 = add nsw i64 %164, 8 %170 = inttoptr i64 %169 to i32* %171 = load i32, i32* %170, align 4 %172 = icmp eq i32 %171, 0 %173 = sext i1 %172 to i32 %spec.select21 = add i32 %sv_6.966.reload, %173 store i32 %spec.select21, i32* %sv_6.8.reg2mem br label LBL_33 LBL_33: %sv_6.8.reload = load i32, i32* %sv_6.8.reg2mem %174 = inttoptr i64 %164 to i32* %175 = load i32, i32* %174, align 4 %176 = zext i32 %175 to i64 %177 = call i64 @FUNC(i64 %176) %178 = trunc i64 %177 to i32 %179 = icmp eq i32 %178, 0 %180 = icmp eq i1 %179, false br i1 %180, label LBL_35, label LBL_34 LBL_34: %181 = or i64 %158, 12 %182 = add nsw i64 %181, %176 %183 = inttoptr i64 %182 to i32* %184 = load i32, i32* %183, align 4 %185 = zext i32 %184 to i64 %186 = icmp slt i64 %10, %185 store i32 %sv_7.067.reload, i32* %sv_3.4.reg2mem store i32 %sv_6.8.reload, i32* %sv_6.10.reg2mem store i32 %64, i32* %sv_5.0.reg2mem store i64 %176, i64* %rdi.8.reg2mem br i1 %186, label LBL_36, label LBL_35 LBL_35: %187 = trunc i64 %163 to i32 %188 = icmp eq i32 %187, 0 %189 = sext i1 %188 to i32 %spec.select20 = add i32 %sv_2.965.reload, %189 %190 = add i32 %sv_7.067.reload, -1 %191 = icmp sgt i32 %spec.select20, %11 store i64 %176, i64* %rdi.769.reg2mem store i32 %190, i32* %sv_7.067.reg2mem store i32 %sv_6.8.reload, i32* %sv_6.966.reg2mem store i32 %spec.select20, i32* %sv_2.965.reg2mem store i32 %sv_7.067.reload, i32* %sv_3.4.reg2mem store i32 %sv_6.8.reload, i32* %sv_6.10.reg2mem store i32 %64, i32* %sv_5.0.reg2mem store i64 %176, i64* %rdi.8.reg2mem br i1 %191, label LBL_31, label LBL_36 LBL_36: %sv_5.0.reload = load i32, i32* %sv_5.0.reg2mem %sv_6.10.reload = load i32, i32* %sv_6.10.reg2mem %sv_3.4.reload = load i32, i32* %sv_3.4.reg2mem %192 = icmp slt i32 %sv_4.1.ph113.reload, 0 br i1 %192, label LBL_44, label LBL_37 LBL_37: %rdi.8.reload = load i64, i64* %rdi.8.reg2mem %193 = icmp sgt i32 %sv_6.10.reload, %sv_4.1.ph113.reload %194 = sext i32 %sv_3.4.reload to i64 %195 = mul i64 %194, 32 store i64 %rdi.8.reload, i64* %rdi.9.reg2mem br i1 %193, label LBL_38, label LBL_40 LBL_38: %196 = add i64 %rdi.8.reload, %195 %197 = inttoptr i64 %196 to i32* %198 = load i32, i32* %197, align 4 %199 = zext i32 %198 to i64 %200 = call i64 @FUNC(i64 %199) %201 = trunc i64 %200 to i32 %202 = icmp eq i32 %201, 0 %203 = icmp eq i1 %202, false store i64 %199, i64* %rdi.9.reg2mem br i1 %203, label LBL_40, label LBL_39 LBL_39: %204 = or i64 %195, 12 %205 = add nsw i64 %204, %199 %206 = inttoptr i64 %205 to i32* %207 = load i32, i32* %206, align 4 %208 = zext i32 %207 to i64 %209 = icmp slt i64 %10, %208 store i64 %199, i64* %rdi.9.reg2mem br i1 %209, label LBL_44, label LBL_40 LBL_40: %rdi.9.reload = load i64, i64* %rdi.9.reg2mem %210 = add i64 %rdi.9.reload, %195 %211 = inttoptr i64 %210 to i32* %212 = load i32, i32* %211, align 4 %213 = zext i32 %212 to i64 %214 = call i64 @FUNC(i64 %213) %215 = trunc i64 %214 to i32 %216 = icmp eq i32 %215, 0 %217 = icmp eq i1 %216, false store i32 %sv_1.1.ph109.reload, i32* %sv_1.0.reg2mem store i32 %sv_0.1.ph111.reload, i32* %sv_0.0.reg2mem store i32 %sv_4.1.ph113.reload, i32* %sv_4.0.reg2mem br i1 %217, label LBL_45, label LBL_41 LBL_41: %218 = or i64 %195, 12 %219 = add nsw i64 %218, %213 %220 = inttoptr i64 %219 to i32* %221 = load i32, i32* %220, align 4 %222 = zext i32 %221 to i64 %223 = icmp slt i64 %10, %222 store i32 %sv_1.1.ph109.reload, i32* %sv_1.0.reg2mem store i32 %sv_0.1.ph111.reload, i32* %sv_0.0.reg2mem store i32 %sv_4.1.ph113.reload, i32* %sv_4.0.reg2mem br i1 %223, label LBL_42, label LBL_45 LBL_42: %224 = add nsw i64 %244, %213 %225 = inttoptr i64 %224 to i32* %226 = load i32, i32* %225, align 4 %227 = zext i32 %226 to i64 %228 = call i64 @FUNC(i64 %227) %229 = trunc i64 %228 to i32 %230 = icmp eq i32 %229, 0 %231 = icmp eq i1 %230, false br i1 %231, label LBL_44, label LBL_43 LBL_43: %232 = add nsw i64 %245, %227 %233 = inttoptr i64 %232 to i32* %234 = load i32, i32* %233, align 4 %235 = zext i32 %234 to i64 %236 = icmp slt i64 %10, %235 store i32 %sv_1.1.ph109.reload, i32* %sv_1.0.reg2mem store i32 %sv_0.1.ph111.reload, i32* %sv_0.0.reg2mem store i32 %sv_4.1.ph113.reload, i32* %sv_4.0.reg2mem br i1 %236, label LBL_45, label LBL_44 LBL_44: store i32 %sv_5.0.reload, i32* %sv_1.0.reg2mem store i32 %sv_3.4.reload, i32* %sv_0.0.reg2mem store i32 %sv_6.10.reload, i32* %sv_4.0.reg2mem br label LBL_45 LBL_45: %sv_4.0.reload = load i32, i32* %sv_4.0.reg2mem %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %237 = load i32, i32* %sv_9, align 4 %238 = add i32 %237, 1 store i32 %238, i32* %sv_9, align 4 %239 = call i64 @FUNC(i64 %0, i32 %arg2, i32* nonnull %sv_9, i32* nonnull %sv_8) %240 = trunc i64 %239 to i32 %241 = icmp eq i32 %240, 0 %242 = icmp eq i1 %241, false store i32 %sv_3.4.reload, i32* %sv_3.5.ph115.reg2mem store i32 %sv_4.0.reload, i32* %sv_4.1.ph113.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.ph111.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.1.ph109.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.1.ph.lcssa.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.ph.lcssa.reg2mem store i32 %sv_4.0.reload, i32* %sv_4.1.ph.lcssa.reg2mem store i32 %sv_3.4.reload, i32* %sv_3.5.lcssa.reg2mem br i1 %242, label LBL_4.lr.ph, label LBL_47 LBL_46: %sv_1.1.ph109.reload = load i32, i32* %sv_1.1.ph109.reg2mem %sv_0.1.ph111.reload = load i32, i32* %sv_0.1.ph111.reg2mem %sv_4.1.ph113.reload = load i32, i32* %sv_4.1.ph113.reg2mem %sv_3.5.ph115.reload = load i32, i32* %sv_3.5.ph115.reg2mem %243 = sext i32 %sv_0.1.ph111.reload to i64 %244 = mul i64 %243, 32 %245 = or i64 %244, 12 store i32 %sv_3.5.ph115.reload, i32* %sv_3.554.reg2mem br label LBL_4 LBL_47: %sv_3.5.lcssa.reload = load i32, i32* %sv_3.5.lcssa.reg2mem %sv_4.1.ph.lcssa.reload = load i32, i32* %sv_4.1.ph.lcssa.reg2mem %sv_0.1.ph.lcssa.reload = load i32, i32* %sv_0.1.ph.lcssa.reg2mem %sv_1.1.ph.lcssa.reload = load i32, i32* %sv_1.1.ph.lcssa.reg2mem %246 = icmp slt i32 %sv_4.1.ph.lcssa.reload, 0 %247 = icmp eq i1 %246, false store i32 %11, i32* %.pre-phi198.reg2mem store i32* %13, i32** %.pre-phi196.reg2mem store i32 %sv_3.5.lcssa.reload, i32* %sv_3.5.lcssa162.reg2mem store i32 %sv_1.1.ph.lcssa.reload, i32* %sv_1.2.reg2mem store i32 %sv_0.1.ph.lcssa.reload, i32* %sv_0.2.reg2mem store i64 %0, i64* %rdi.11.reg2mem br i1 %247, label LBL_51, label LBL_48 LBL_48: %sv_3.5.lcssa162.reload = load i32, i32* %sv_3.5.lcssa162.reg2mem %.pre-phi196.reload = load i32*, i32** %.pre-phi196.reg2mem %.pre-phi198.reload = load i32, i32* %.pre-phi198.reg2mem %248 = load i32, i32* %.pre-phi196.reload, align 4 %249 = icmp ne i32 %248, 0 %250 = icmp sgt i32 %.pre-phi198.reload, 0 %or.cond2436 = icmp eq i1 %250, %249 store i64 0, i64* %.reg2mem201 store i32 0, i32* %storemerge439.reg2mem store i64 %0, i64* %rdi.1038.reg2mem store i32 0, i32* %sv_2.1137.reg2mem store i32 0, i32* %sv_1.2.reg2mem store i32 %sv_3.5.lcssa162.reload, i32* %sv_0.2.reg2mem store i64 %0, i64* %rdi.11.reg2mem br i1 %or.cond2436, label LBL_49, label LBL_51 LBL_49: %sv_2.1137.reload = load i32, i32* %sv_2.1137.reg2mem %rdi.1038.reload = load i64, i64* %rdi.1038.reg2mem %storemerge439.reload = load i32, i32* %storemerge439.reg2mem %.reload202 = load i64, i64* %.reg2mem201 %251 = mul i64 %.reload202, 32 %252 = add i64 %rdi.1038.reload, %251 %253 = inttoptr i64 %252 to i32* %254 = load i32, i32* %253, align 4 %255 = zext i32 %254 to i64 %256 = call i64 @FUNC(i64 %255) %257 = trunc i64 %256 to i32 %258 = icmp eq i32 %257, 0 %259 = zext i1 %258 to i32 %spec.select22 = add i32 %sv_2.1137.reload, %259 %260 = add i32 %storemerge439.reload, 1 %261 = load i32, i32* %.pre-phi196.reload, align 4 %262 = zext i32 %261 to i64 %263 = sext i32 %260 to i64 %264 = icmp slt i64 %263, %262 %265 = icmp slt i32 %spec.select22, %.pre-phi198.reload %or.cond24 = icmp eq i1 %264, %265 store i64 %263, i64* %.reg2mem201 store i32 %260, i32* %storemerge439.reg2mem store i64 %255, i64* %rdi.1038.reg2mem store i32 %spec.select22, i32* %sv_2.1137.reg2mem store i32 0, i32* %sv_1.2.reg2mem store i32 %storemerge439.reload, i32* %sv_0.2.reg2mem store i64 %255, i64* %rdi.11.reg2mem br i1 %or.cond24, label LBL_49, label LBL_51 LBL_50: %266 = add i64 %0, 8 %267 = inttoptr i64 %266 to i32* %268 = load i32, i32* %267, align 4 %269 = add i32 %268, -1 store i32 0, i32* %sv_1.2.reg2mem store i32 %269, i32* %sv_0.2.reg2mem store i64 %0, i64* %rdi.11.reg2mem br label LBL_51 LBL_51: %rdi.11.reload = load i64, i64* %rdi.11.reg2mem %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %sv_1.2.reload = load i32, i32* %sv_1.2.reg2mem %270 = icmp sgt i32 %sv_1.2.reload, %sv_0.2.reload store i32 %sv_1.2.reload, i32* %storemerge35.reg2mem store i64 %rdi.11.reload, i64* %rdi.1334.reg2mem store i32 %sv_1.2.reload, i32* %storemerge.lcssa.reg2mem br i1 %270, label LBL_62, label LBL_52 LBL_52: %rdi.1334.reload = load i64, i64* %rdi.1334.reg2mem %storemerge35.reload = load i32, i32* %storemerge35.reg2mem %271 = sext i32 %storemerge35.reload to i64 %272 = mul i64 %271, 32 %273 = add i64 %272, %rdi.1334.reload %274 = add i64 %273, 4 %275 = inttoptr i64 %274 to i32* %276 = load i32, i32* %275, align 4 %277 = icmp eq i32 %276, 0 br i1 %277, label LBL_54, label LBL_53 LBL_53: %278 = add i64 %273, 16 %279 = inttoptr i64 %278 to i32* store i32 1, i32* %279, align 4 br label LBL_54 LBL_54: %280 = inttoptr i64 %273 to i32* %281 = load i32, i32* %280, align 4 %282 = zext i32 %281 to i64 br i1 %2, label LBL_59, label LBL_55 LBL_55: %283 = call i64 @FUNC(i64 %282) %284 = trunc i64 %283 to i32 %285 = icmp eq i32 %284, 0 %286 = add nsw i64 %272, %282 br i1 %285, label LBL_57, label LBL_56 LBL_56: %287 = add nsw i64 %286, 20 %288 = inttoptr i64 %287 to i32* store i32 1, i32* %288, align 4 store i64 %282, i64* %rdi.12.reg2mem br label LBL_61 LBL_57: %289 = inttoptr i64 %286 to i32* %290 = load i32, i32* %289, align 4 %291 = zext i32 %290 to i64 %292 = call i64 @FUNC(i64 %291) %293 = trunc i64 %292 to i32 %294 = icmp eq i32 %293, 0 store i64 %291, i64* %rdi.12.reg2mem br i1 %294, label LBL_61, label LBL_58 LBL_58: %295 = or i64 %272, 24 %296 = add nsw i64 %295, %291 %297 = inttoptr i64 %296 to i32* store i32 1, i32* %297, align 4 store i64 %291, i64* %rdi.12.reg2mem br label LBL_61 LBL_59: %298 = call i64 @FUNC(i64 %282) %299 = trunc i64 %298 to i32 %300 = icmp eq i32 %299, 0 store i64 %282, i64* %rdi.12.reg2mem br i1 %300, label LBL_61, label LBL_60 LBL_60: %301 = or i64 %272, 24 %302 = add nsw i64 %301, %282 %303 = inttoptr i64 %302 to i32* store i32 1, i32* %303, align 4 store i64 %282, i64* %rdi.12.reg2mem br label LBL_61 LBL_61: %rdi.12.reload = load i64, i64* %rdi.12.reg2mem %304 = add nsw i64 %rdi.12.reload, %272 %305 = add nsw i64 %304, 8 %306 = inttoptr i64 %305 to i32* %307 = load i32, i32* %306, align 4 %308 = icmp eq i32 %307, 0 %309 = zext i1 %308 to i32 %310 = add nsw i64 %304, 28 %311 = inttoptr i64 %310 to i32* store i32 %309, i32* %311, align 4 %312 = add i32 %storemerge35.reload, 1 %313 = icmp sgt i32 %312, %sv_0.2.reload store i32 %312, i32* %storemerge35.reg2mem store i64 %rdi.12.reload, i64* %rdi.1334.reg2mem store i32 %312, i32* %storemerge.lcssa.reg2mem br i1 %313, label LBL_62, label LBL_52 LBL_62: %storemerge.lcssa.reload = load i32, i32* %storemerge.lcssa.reg2mem %314 = zext i32 %storemerge.lcssa.reload to i64 ret i64 %314 uselistorder i64 %rdi.12.reload, { 1, 0 } uselistorder i64 %291, { 0, 2, 1, 3 } uselistorder i64 %286, { 1, 0 } uselistorder i64 %282, { 1, 3, 2, 6, 0, 4, 5 } uselistorder i64 %272, { 3, 1, 0, 4, 2 } uselistorder i32 %.pre-phi198.reload, { 1, 0 } uselistorder i32* %.pre-phi196.reload, { 1, 0 } uselistorder i32 %sv_4.1.ph113.reload, { 1, 0, 2, 3, 4, 6, 5 } uselistorder i32 %sv_0.1.ph111.reload, { 1, 0, 2, 4, 3 } uselistorder i32 %sv_1.1.ph109.reload, { 0, 1, 3, 2 } uselistorder i64 %199, { 0, 2, 1, 3 } uselistorder i64 %195, { 1, 3, 0, 2 } uselistorder i64 %rdi.8.reload, { 1, 0 } uselistorder i64 %176, { 0, 2, 1, 3, 4 } uselistorder i32 %sv_6.8.reload, { 0, 2, 1 } uselistorder i64 %158, { 0, 2, 1 } uselistorder i32 %sv_7.067.reload, { 0, 2, 1, 3 } uselistorder i32 %sv_6.966.reload, { 1, 0 } uselistorder i32 %storemerge5.lcssa.reload, { 1, 0 } uselistorder i64 %141, { 1, 2, 0, 3, 4 } uselistorder i32 %sv_6.5.reload, { 2, 3, 0, 1 } uselistorder i32 %spec.select16, { 0, 2, 1 } uselistorder i64 %119, { 0, 2, 1 } uselistorder i32 %storemerge599.reload, { 3, 0, 1, 2 } uselistorder i32 %sv_6.697.reload, { 1, 0 } uselistorder i32 %sv_3.2.reload, { 1, 2, 0 } uselistorder i32 %sv_6.4.reload, { 2, 3, 1, 0 } uselistorder i64 %rdi.4.reload, { 2, 3, 1, 0 } uselistorder i64 %93, { 1, 2, 0, 3, 4 } uselistorder i32 %sv_2.3.reload, { 1, 4, 3, 0, 2 } uselistorder i32 %sv_6.2.reload, { 1, 2, 0 } uselistorder i64 %81, { 1, 2, 0, 3 } uselistorder i32 %spec.select10, { 1, 0 } uselistorder i64 %.pre156, { 1, 0 } uselistorder i64 %.pre, { 0, 2, 1 } uselistorder i32 %storemerge680.reload, { 1, 2, 0, 3 } uselistorder i32 %sv_6.378.reload, { 2, 1, 0 } uselistorder i32 %sv_2.477.reload, { 1, 0 } uselistorder i32 %64, { 0, 1, 4, 3, 2 } uselistorder i64 %rdi.1.reload, { 2, 3, 0, 1 } uselistorder i64 %48, { 0, 2, 1, 3 } uselistorder i32 %sv_3.0.lcssa.reload, { 2, 1, 0, 3 } uselistorder i32 %sv_2.1.lcssa.reload, { 1, 2, 3, 0, 4 } uselistorder i32 %sv_6.1.lcssa.reload, { 2, 3, 0, 1, 4 } uselistorder i64 %rdi.0.lcssa.reload, { 1, 0 } uselistorder i32 %storemerge7.lcssa.reload, { 1, 0 } uselistorder i64 %19, { 1, 0 } uselistorder i32 %sv_6.144.reload, { 1, 0 } uselistorder i32* %13, { 0, 1, 3, 2 } uselistorder i32 %11, { 0, 5, 2, 1, 3, 4 } uselistorder i64 %10, { 1, 0, 2, 5, 3, 4, 6 } uselistorder i32 %8, { 0, 1, 2, 4, 3 } uselistorder i64 %3, { 1, 0 } uselistorder i32* %sv_9, { 1, 3, 4, 5, 6, 2, 7, 8, 9, 0, 10 } uselistorder i32* %sv_8, { 1, 4, 3, 5, 2, 0, 6 } uselistorder i64 %0, { 2, 11, 0, 3, 1, 8, 10, 4, 5, 9, 6, 7 } uselistorder i32* %sv_3.554.reg2mem, { 2, 1, 0 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge746.reg2mem, { 2, 0, 1 } uselistorder i64* %rdi.045.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_6.144.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.143.reg2mem, { 2, 0, 1 } uselistorder i64* %rdi.1.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %.reg2mem199, { 2, 0, 1 } uselistorder i32* %storemerge680.reg2mem, { 2, 0, 1 } uselistorder i64* %rdi.379.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_6.378.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.477.reg2mem, { 2, 0, 1 } uselistorder i64* %.pre-phi157.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %sv_2.3.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %sv_6.2.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %.lcssa31.reg2mem, { 0, 2, 1, 3 } uselistorder i32* %sv_3.2.reg2mem, { 0, 2, 1, 3 } uselistorder i32* %sv_2.5.reg2mem, { 0, 2, 1, 3 } uselistorder i32* %sv_6.4.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rdi.4.reg2mem, { 0, 2, 1, 3 } uselistorder i32* %storemerge599.reg2mem, { 2, 0, 1 } uselistorder i64* %rdi.598.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_6.697.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.796.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge5.lcssa.reg2mem, { 0, 3, 1, 2, 4 } uselistorder i32* %sv_6.7.reg2mem, { 0, 3, 1, 2, 4 } uselistorder i64* %rdi.6.reg2mem, { 0, 3, 1, 2, 4 } uselistorder i64* %rdi.769.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_7.067.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_6.966.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.965.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_3.4.reg2mem, { 0, 1, 2, 5, 6, 4, 3 } uselistorder i32* %sv_6.10.reg2mem, { 0, 1, 2, 5, 6, 4, 3 } uselistorder i32* %sv_5.0.reg2mem, { 0, 1, 2, 5, 6, 4, 3 } uselistorder i64* %rdi.8.reg2mem, { 0, 1, 2, 5, 6, 4, 3 } uselistorder i64* %rdi.9.reg2mem, { 0, 2, 3, 1 } uselistorder i32* %sv_1.0.reg2mem, { 0, 4, 2, 1, 3 } uselistorder i32* %sv_0.0.reg2mem, { 0, 4, 2, 1, 3 } uselistorder i32* %sv_4.0.reg2mem, { 0, 4, 2, 1, 3 } uselistorder i64* %.reg2mem201, { 2, 0, 1 } uselistorder i32* %storemerge439.reg2mem, { 2, 0, 1 } uselistorder i64* %rdi.1038.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.1137.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.2.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i32* %sv_0.2.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i64* %rdi.11.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i32* %storemerge35.reg2mem, { 2, 0, 1 } uselistorder i64* %rdi.1334.reg2mem, { 2, 0, 1 } uselistorder i64* %rdi.12.reg2mem, { 0, 4, 5, 2, 3, 1 } uselistorder i64 12, { 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64)* @NOENDTOKEN, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64)* @NONWORDTOKEN, { 4, 3, 2, 1, 0 } uselistorder i32 -1, { 4, 5, 6, 3, 7, 0, 1, 2 } uselistorder i64 8, { 1, 2, 3, 4, 5, 7, 6, 0 } uselistorder i64 (i64, i32, i32*, i32*)* @hlCover, { 1, 2, 0 } uselistorder i1 false, { 11, 2, 3, 4, 5, 6, 8, 7, 1, 9, 12, 10, 0, 13 } uselistorder i32 %arg2, { 1, 2, 0 } uselistorder label LBL_52, { 1, 0 } uselistorder label LBL_51, { 2, 0, 1, 3 } uselistorder label LBL_49, { 1, 0 } uselistorder label LBL_48, { 1, 0 } uselistorder label LBL_4.lr.ph, { 1, 0 } uselistorder label LBL_45, { 1, 2, 0, 3 } uselistorder label LBL_40, { 2, 1, 0 } uselistorder label LBL_36, { 0, 1, 4, 5, 3, 2 } uselistorder label LBL_31, { 1, 0 } uselistorder label LBL_30, { 0, 2, 1, 3 } uselistorder label LBL_24, { 1, 0 } uselistorder label LBL_18, { 1, 2, 0 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_12, { 0, 2, 1 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
cd_inquiry_17569
cd_inquiry
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i32, align 4 %sv_4 = alloca i32, align 4 %3 = bitcast i32* %sv_4 to i64* %4 = call i64 @FUNC(i64 %2, i64* nonnull %3, i64 0, i64 18) %5 = call i64 @FUNC(i64 %2, i64* nonnull %3, i64 4, i64 36) %6 = call i64 @FUNC(i64 %2, i64* nonnull %3, i64 5, i64 0) %7 = trunc i64 %arg2 to i32 %8 = bitcast i32* %sv_3 to i64* %9 = call i64 @FUNC(i64 %2, i64* nonnull %3, i32 %7, i64* nonnull %8, i64 36) %10 = trunc i64 %9 to i32 store i32 %10, i32* %sv_4, align 4 %11 = icmp slt i32 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = and i64 %9, 4294967295 %14 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i64 %13) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %15 = load i32, i32* %sv_3, align 4 %16 = urem i32 %15, 32 %17 = icmp eq i32 %16, 5 br i1 %17, label LBL_4, label LBL_3 LBL_3: %18 = ptrtoint i32* %sv_3 to i64 %19 = and i64 %arg2, 4294967295 %20 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i64 %19, i64 %18, i64 36, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %21 = ptrtoint i64* %sv_2 to i64 %22 = ptrtoint i64* %sv_1 to i64 %23 = ptrtoint i64* %sv_0 to i64 %24 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_2, i64 0, i64 0), i64 %23, i64 %22, i64 %21, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %2, { 1, 2, 0, 3, 4, 5, 6 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @info, { 1, 0 } uselistorder i64 4294967295, { 1, 3, 0, 2 } uselistorder i64 (i64, i64*, i64, i64)* @scsi_cmd_set, { 2, 1, 0 } uselistorder i64 %arg2, { 1, 0 } }
1
BinRealVul
mxf_write_preface_2155
mxf_write_preface
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %5, i64 77568) %7 = inttoptr i64 %5 to i64* %8 = load i64, i64* %7, align 8 %9 = add i64 %8, 4294967280 %10 = and i64 %9, 4294967295 %11 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i64 %10) %sext = mul i64 %1, 4294967296 %12 = ashr exact i64 %sext, 28 %13 = add nsw i64 %12, 130 %14 = call i64 @FUNC(i64 %5, i64 %13) %15 = call i64 @FUNC(i64 %5, i64 16, i64 15370) %16 = load i64, i64* bitcast ([3 x i8*]* @gv_1 to i64*), align 16 %17 = call i64 @FUNC(i64 %5, i64 %16, i64 0) %18 = load i64, i64* %7, align 8 %19 = add i64 %18, 4294967280 %20 = and i64 %19, 4294967295 %21 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0), i64 %20) %22 = call i64 @FUNC(i64 %5, i64 8, i64 15106) %23 = load i64, i64* %4, align 8 %24 = call i64 @FUNC(i64 %5, i64 %23) %25 = call i64 @FUNC(i64 %5, i64 2, i64 15109) %26 = call i64 @FUNC(i64 %5, i64 258) %27 = call i64 @FUNC(i64 %5, i64 24, i64 15110) %28 = call i64 @FUNC(i64 %5, i64 1) %29 = load i64, i64* bitcast ([2 x i8*]* @gv_3 to i64*), align 8 %30 = call i64 @FUNC(i64 %5, i64 %29, i64 0) %31 = call i64 @FUNC(i64 %5, i64 16, i64 15107) %32 = load [21 x i8]*, [21 x i8]** @gv_4, align 8 %33 = ptrtoint [21 x i8]* %32 to i64 %34 = call i64 @FUNC(i64 %5, i64 %33, i64 0) %35 = call i64 @FUNC(i64 %5, i64 16, i64 15113) %36 = call i64 @FUNC(i64 %5, i64* nonnull @gv_5, i64 16) %37 = mul i64 %1, 16 %38 = and i64 %37, 4294967280 %39 = or i64 %38, 8 %40 = call i64 @FUNC(i64 %5, i64 %39, i64 15114) %41 = call i64 @FUNC(i64 %2) %42 = call i64 @FUNC(i64 %5, i64 8, i64 15115) %43 = call i64 @FUNC(i64 %5, i64 0) ret i64 %43 uselistorder i64 %2, { 2, 1, 0, 3 } uselistorder i64 %1, { 1, 0 } uselistorder i64 (i64, i64)* @avio_wb64, { 1, 0 } uselistorder i64 (i64, i64, i64)* @mxf_write_uuid, { 2, 1, 0 } uselistorder i64 (i64, i64, i64)* @mxf_write_local_tag, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64, i8*, i64)* @PRINT_KEY, { 1, 0 } uselistorder i64 8, { 1, 0, 2, 3 } }
0
BinRealVul
set_own_dir_5009
set_own_dir
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %0 = inttoptr i64 %arg1 to i8* %1 = call i32 @strlen(i8* %0) %2 = sext i32 %1 to i64 store i64 %2, i64* %storemerge.reg2mem br label LBL_1 LBL_1: %storemerge.reload = load i64, i64* %storemerge.reg2mem %3 = icmp eq i64 %storemerge.reload, 0 br i1 %3, label LBL_3, label LBL_2 LBL_2: %4 = add i64 %storemerge.reload, -1 %5 = add i64 %4, %arg1 %6 = inttoptr i64 %5 to i8* %7 = load i8, i8* %6, align 1 %8 = icmp eq i8 %7, 47 %9 = icmp eq i1 %8, false store i64 %4, i64* %storemerge.reg2mem br i1 %9, label LBL_1, label LBL_4 LBL_3: %10 = call i64* @memcpy(i64* bitcast (i8** @gv_0 to i64*), i64* bitcast ([11 x i8]* @gv_1 to i64*), i32 2) %11 = ptrtoint i64* %10 to i64 store i64 %11, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %12 = inttoptr i64 %arg1 to i64* %13 = trunc i64 %storemerge.reload to i32 %14 = add i32 %13, -1 %15 = call i64* @memcpy(i64* bitcast (i8** @gv_0 to i64*), i64* %12, i32 %14) %16 = add i64 %storemerge.reload, ptrtoint (i8** @gv_0 to i64) %17 = inttoptr i64 %16 to i8* store i8 0, i8* %17, align 1 store i64 %16, 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 %storemerge.reload, { 3, 2, 1, 0 } uselistorder i64* %storemerge.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i8 0, { 1, 0 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 } uselistorder i64 %arg1, { 1, 0, 2 } }
0
BinRealVul
ring_buffer_put_8083
ring_buffer_put
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge1.reg2mem = alloca i64 %1 = ptrtoint i64* %arg1 to i64 %2 = load i64, i64* %0 %3 = call i64 @FUNC(i64 %1) %4 = and i64 %3, 4294967295 %5 = xor i64 %4, 1 %6 = trunc i64 %5 to i8 %7 = icmp eq i8 %6, 0 %8 = icmp eq i1 %7, false store i64 %5, i64* %rax.0.reg2mem br i1 %8, label LBL_4, label LBL_1 LBL_1: %9 = add i64 %1, 16 %10 = call i64 @FUNC(i64 %9, i64 %2) %11 = add i64 %1, 8 %12 = icmp eq i64 %11, 0 store i64 %11, i64* %storemerge1.reg2mem br i1 %12, label LBL_3, label LBL_2 LBL_2: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %13 = inttoptr i64 %storemerge1.reload to i64* %14 = load i64, i64* %13, align 8 %15 = add i64 %storemerge1.reload, 24 %16 = call i64 @FUNC(i64 %15) %17 = add i64 %storemerge1.reload, 16 %18 = call i64 @FUNC(i64 %17) %19 = icmp eq i64 %14, 0 store i64 %14, i64* %storemerge1.reg2mem br i1 %19, label LBL_3, label LBL_2 LBL_3: %20 = call i64 @FUNC(i64 %9, i64 %2) %21 = add i64 %1, 20 %22 = call i64 @FUNC(i64 %21, i64 4198720) store i64 %22, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %storemerge1.reload, { 1, 0, 2 } uselistorder i64 %1, { 0, 2, 1, 3 } uselistorder i64* %storemerge1.reg2mem, { 2, 0, 1 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
tokenize_command_8889
tokenize_command
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %sv_0.4.reg2mem = alloca i64 %sv_1.15.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_0.29.reg2mem = alloca i64 %sv_1.010.reg2mem = alloca i64 %sv_2.113.reg2mem = alloca i64 %storemerge114.reg2mem = alloca i32 %0 = bitcast i64* %arg1 to i8* %1 = call i32 @strlen(i8* %0) %2 = icmp eq i64* %arg1, null %3 = icmp eq i64* %arg2, null %or.cond = or i1 %2, %3 %4 = icmp ult i64 %arg3, 2 %or.cond4 = or i1 %or.cond, %4 br i1 %or.cond4, label LBL_1, label LBL_2 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 17, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %5 = ptrtoint i64* %arg2 to i64 %6 = ptrtoint i64* %arg1 to i64 %7 = icmp eq i32 %1, 0 store i64 %6, i64* %sv_1.15.reg2mem store i64 0, i64* %sv_0.4.reg2mem br i1 %7, label LBL_13, label LBL_3 LBL_3: %8 = sext i32 %1 to i64 %9 = add i64 %arg3, -1 store i32 0, i32* %storemerge114.reg2mem store i64 %6, i64* %sv_2.113.reg2mem store i64 %6, i64* %sv_1.010.reg2mem store i64 0, i64* %sv_0.29.reg2mem br label LBL_4 LBL_4: %sv_0.29.reload = load i64, i64* %sv_0.29.reg2mem %sv_1.010.reload = load i64, i64* %sv_1.010.reg2mem %sv_2.113.reload = load i64, i64* %sv_2.113.reg2mem %storemerge114.reload = load i32, i32* %storemerge114.reg2mem %10 = inttoptr i64 %sv_1.010.reload to i8* %11 = load i8, i8* %10, align 1 %12 = icmp eq i8 %11, 32 %13 = icmp eq i1 %12, false br i1 %13, label LBL_4.LBL_10_crit_edge, label LBL_6 LBL_5: %.pre = add i64 %sv_1.010.reload, 1 store i64 %.pre, i64* %.pre-phi.reg2mem store i64 %sv_0.29.reload, i64* %sv_0.1.reg2mem store i64 %sv_2.113.reload, i64* %sv_2.0.reg2mem br label LBL_10 LBL_6: %14 = icmp eq i64 %sv_1.010.reload, %sv_2.113.reload store i64 %sv_0.29.reload, i64* %sv_0.0.reg2mem br i1 %14, label LBL_9, label LBL_7 LBL_7: %15 = mul i64 %sv_0.29.reload, 16 %16 = add i64 %15, %5 %17 = inttoptr i64 %16 to i64* store i64 %sv_2.113.reload, i64* %17, align 8 %18 = sub i64 %sv_1.010.reload, %sv_2.113.reload %19 = add i64 %16, 8 %20 = inttoptr i64 %19 to i64* store i64 %18, i64* %20, align 8 %21 = add i64 %sv_0.29.reload, 1 store i8 0, i8* %10, align 1 %22 = icmp eq i64 %21, %9 %23 = icmp eq i1 %22, false store i64 %21, i64* %sv_0.0.reg2mem br i1 %23, label LBL_9, label LBL_8 LBL_8: %24 = add i64 %sv_1.010.reload, 1 store i64 %24, i64* %sv_1.15.reg2mem store i64 %21, i64* %sv_0.4.reg2mem br label LBL_13 LBL_9: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %25 = add i64 %sv_1.010.reload, 1 store i64 %25, i64* %.pre-phi.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem store i64 %25, i64* %sv_2.0.reg2mem br label LBL_10 LBL_10: %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %26 = add i32 %storemerge114.reload, 1 %27 = zext i32 %26 to i64 %28 = icmp ugt i64 %8, %27 store i32 %26, i32* %storemerge114.reg2mem store i64 %sv_2.0.reload, i64* %sv_2.113.reg2mem store i64 %.pre-phi.reload, i64* %sv_1.010.reg2mem store i64 %sv_0.1.reload, i64* %sv_0.29.reg2mem br i1 %28, label LBL_4, label LBL_11 LBL_11: %29 = icmp eq i64 %.pre-phi.reload, %sv_2.0.reload store i64 %.pre-phi.reload, i64* %sv_1.15.reg2mem store i64 %sv_0.1.reload, i64* %sv_0.4.reg2mem br i1 %29, label LBL_13, label LBL_12 LBL_12: %30 = mul i64 %sv_0.1.reload, 16 %31 = add i64 %30, %5 %32 = inttoptr i64 %31 to i64* store i64 %sv_2.0.reload, i64* %32, align 8 %33 = sub i64 %.pre-phi.reload, %sv_2.0.reload %34 = add i64 %31, 8 %35 = inttoptr i64 %34 to i64* store i64 %33, i64* %35, align 8 %36 = add i64 %sv_0.1.reload, 1 store i64 %.pre-phi.reload, i64* %sv_1.15.reg2mem store i64 %36, i64* %sv_0.4.reg2mem br label LBL_13 LBL_13: %sv_0.4.reload = load i64, i64* %sv_0.4.reg2mem %sv_1.15.reload = load i64, i64* %sv_1.15.reg2mem %37 = inttoptr i64 %sv_1.15.reload to i8* %38 = load i8, i8* %37, align 1 %39 = icmp eq i8 %38, 0 %storemerge = select i1 %39, i64 0, i64 %sv_1.15.reload %40 = mul i64 %sv_0.4.reload, 16 %41 = add i64 %40, %5 %42 = inttoptr i64 %41 to i64* store i64 %storemerge, i64* %42, align 8 %43 = add i64 %41, 8 %44 = inttoptr i64 %43 to i64* store i64 0, i64* %44, align 8 %45 = add i64 %sv_0.4.reload, 1 ret i64 %45 uselistorder i64 %.pre-phi.reload, { 0, 2, 1, 3, 4 } uselistorder i64 %sv_0.1.reload, { 1, 2, 0, 3 } uselistorder i64 %sv_2.113.reload, { 2, 3, 1, 0 } uselistorder i64 %sv_1.010.reload, { 3, 5, 1, 0, 4, 2 } uselistorder i64 %sv_0.29.reload, { 2, 3, 1, 0 } uselistorder i64 %6, { 1, 2, 0 } uselistorder i32 %1, { 1, 0 } uselistorder i32* %storemerge114.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.113.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.010.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.29.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.15.reg2mem, { 0, 3, 4, 2, 1 } uselistorder i64* %sv_0.4.reg2mem, { 0, 3, 4, 2, 1 } uselistorder i64 8, { 0, 2, 1 } uselistorder i64* %arg2, { 1, 0 } uselistorder i64* %arg1, { 2, 0, 1 } uselistorder label LBL_13, { 2, 3, 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
__end_block_io_op_5350
__end_block_io_op
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rdi = alloca i64, align 8 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = load i64, i64* %0 %sext = mul i64 %arg2, 4294967296 %6 = ashr exact i64 %sext, 32 %7 = trunc i64 %3 to i32 %8 = icmp eq i32 %7, 1 %.pre3 = trunc i64 %6 to i32 %9 = icmp eq i32 %.pre3, -95 %10 = icmp eq i1 %8, %9 br i1 %10, label LBL_1, label LBL_2 LBL_1: %11 = call i64 @FUNC(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_0, i64 0, i64 0), i64 %arg2, i64 %4, i64 %5, i64 %2, i64 %1) %12 = add i64 %arg1, 8 %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 = zext i32 %16 to i64 %18 = call i64 @FUNC(i64 0, i64 %17, i64 0) %19 = add i64 %arg1, 20 %20 = inttoptr i64 %19 to i32* store i32 -1, i32* %20, align 4 br label LBL_6 LBL_2: %21 = icmp eq i32 %7, 2 %22 = icmp eq i32 %.pre3, -95 %23 = icmp eq i1 %22, %21 br i1 %23, label LBL_3, label LBL_4 LBL_3: %24 = call i64 @FUNC(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_1, i64 0, i64 0), i64 %arg2, i64 %4, i64 %5, i64 %2, i64 %1) %25 = add i64 %arg1, 8 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = zext i32 %29 to i64 %31 = call i64 @FUNC(i64 0, i64 %30, i64 0) %32 = add i64 %arg1, 20 %33 = inttoptr i64 %32 to i32* store i32 -1, i32* %33, align 4 br label LBL_6 LBL_4: %34 = icmp eq i32 %.pre3, 0 br i1 %34, label LBL_6, label LBL_5 LBL_5: %35 = and i64 %6, 4294967295 %36 = call i64 @FUNC(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_2, i64 0, i64 0), i64 %35, i64 %4, i64 %5, i64 %2, i64 %1) %37 = add i64 %arg1, 20 %38 = inttoptr i64 %37 to i32* store i32 -2, i32* %38, align 4 br label LBL_6 LBL_6: %39 = add i64 %arg1, 24 %40 = call i64 @FUNC(i64 %39) %41 = trunc i64 %40 to i32 %42 = icmp eq i32 %41, 0 store i64 %40, i64* %rax.0.reg2mem br i1 %42, label LBL_11, label LBL_7 LBL_7: %43 = bitcast i64* %rdi to i32* %44 = call i64 @FUNC(i64 %arg1) %45 = add i64 %arg1, 20 %46 = inttoptr i64 %45 to i32* %47 = load i32, i32* %46, align 4 %48 = load i32, i32* %43, align 8 %49 = add i64 %arg1, 16 %50 = inttoptr i64 %49 to i32* %51 = load i32, i32* %50, align 4 %52 = add i64 %arg1, 8 %53 = inttoptr i64 %52 to i64* %54 = load i64, i64* %53, align 8 %55 = call i64 @FUNC(i64 %54, i32 %51, i32 %48, i32 %47) %56 = load i64, i64* %53, align 8 %57 = call i64 @FUNC(i64 %56) %58 = load i64, i64* %53, align 8 %59 = add i64 %58, 4 %60 = call i64 @FUNC(i64 %59) %61 = trunc i64 %60 to i32 %62 = icmp sgt i32 %61, 2 br i1 %62, label LBL_10, label LBL_8 LBL_8: %63 = load i64, i64* %53, align 8 %64 = add i64 %63, 8 %65 = call i64 @FUNC(i64 %64) %66 = trunc i64 %65 to i32 %67 = icmp eq i32 %66, 0 br i1 %67, label LBL_10, label LBL_9 LBL_9: %68 = load i64, i64* %53, align 8 %69 = add i64 %68, 12 %70 = call i64 @FUNC(i64 %69) br label LBL_10 LBL_10: %71 = call i64 @FUNC(i64 %arg1) store i64 %71, 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* %53, { 0, 1, 3, 2, 4 } uselistorder i64 %6, { 1, 0 } uselistorder i64 %5, { 2, 1, 0 } uselistorder i64 %4, { 2, 1, 0 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %0, { 4, 3, 2, 1, 0 } uselistorder i64 (i64)* @atomic_read, { 1, 0 } uselistorder i64 4294967295, { 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder i32 -1, { 1, 2, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @pr_debug, { 2, 1, 0 } uselistorder i32 -95, { 1, 0 } uselistorder i64 %arg2, { 2, 1, 0 } uselistorder i64 %arg1, { 5, 7, 6, 9, 8, 10, 4, 2, 3, 0, 1 } }
0
BinRealVul
load_images_17741
load_images
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.ph2.reg2mem = alloca i32 %.reg2mem9 = alloca %dirent* %.reg2mem = alloca %dirent* %0 = inttoptr i64 %arg2 to i8* %1 = call %__dirstream* @opendir(i8* %0) %2 = icmp eq %__dirstream* %1, null %3 = icmp eq i1 %2, false %4 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 br i1 %3, label LBL_2, label LBL_1 LBL_1: %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 1, i64* %storemerge.reg2mem br label LBL_8 LBL_2: %6 = ptrtoint i64* %arg1 to i64 %7 = call i32 @fwrite(i64* bitcast ([28 x i8]* @gv_2 to i64*), i32 1, i32 27, %_IO_FILE* %4) %8 = call %dirent* @readdir(%__dirstream* %1) %9 = icmp eq %dirent* %8, null %10 = icmp eq i1 %9, false store %dirent* %8, %dirent** %.reg2mem9 store i32 0, i32* %sv_0.0.ph2.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %10, label LBL_3.lr.ph, label LBL_8 LBL_3: %.reload = load %dirent*, %dirent** %.reg2mem %11 = ptrtoint %dirent* %.reload to i64 %12 = add i64 %11, 19 %13 = inttoptr i64 %12 to i8* %14 = call i32 @strcmp(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_3, i64 0, i64 0), i8* %13) %15 = icmp eq i32 %14, 0 br i1 %15, label LBL_4, label LBL_5 LBL_4: %16 = call %dirent* @readdir(%__dirstream* %1) %17 = icmp eq %dirent* %16, null %18 = icmp eq i1 %17, false store %dirent* %16, %dirent** %.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %18, label LBL_3, label LBL_8 LBL_5: %19 = call i32 @strcmp(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_4, i64 0, i64 0), i8* %13) %20 = icmp eq i32 %19, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_6, label LBL_4 LBL_6: %22 = sext i32 %sv_0.0.ph2.reload to i64 %23 = mul i64 %22, 256 %24 = add i64 %23, %6 %25 = inttoptr i64 %24 to i8* %26 = call i8* @strcpy(i8* %25, i8* %13) %27 = add i32 %sv_0.0.ph2.reload, 1 %28 = call %dirent* @readdir(%__dirstream* %1) %29 = icmp eq %dirent* %28, null %30 = icmp eq i1 %29, false store %dirent* %28, %dirent** %.reg2mem9 store i32 %27, i32* %sv_0.0.ph2.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %30, label LBL_3.lr.ph, label LBL_8 LBL_7: %sv_0.0.ph2.reload = load i32, i32* %sv_0.0.ph2.reg2mem %.reload10 = load %dirent*, %dirent** %.reg2mem9 store %dirent* %.reload10, %dirent** %.reg2mem br label LBL_3 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder %_IO_FILE* %4, { 1, 0 } uselistorder %__dirstream* %1, { 1, 2, 0, 3 } uselistorder %dirent** %.reg2mem, { 2, 1, 0 } uselistorder %dirent** %.reg2mem9, { 0, 2, 1 } uselistorder i32* %sv_0.0.ph2.reg2mem, { 0, 2, 1 } uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 } uselistorder %dirent* null, { 1, 2, 0 } uselistorder %dirent* (%__dirstream*)* @readdir, { 1, 2, 0 } uselistorder i1 false, { 1, 2, 3, 0, 4 } uselistorder label LBL_3.lr.ph, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
unassigned_mem_readl_5452
unassigned_mem_readl
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_0, i64 0, i64 0), i64 %arg2) %1 = load i64, i64* @gv_1, align 8 %2 = call i64 @FUNC(i64 %1, i64 %arg2, i64 0, i64 0, i64 0, i64 4) ret i64 0 }
0
BinRealVul
integratorcm_init_15746
integratorcm_init
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = trunc i64 %arg1 to i32 %1 = call i64 @FUNC(i64 20) %2 = inttoptr i64 %1 to i32* store i32 16777288, i32* %2, align 4 %3 = add i64 %1, 4 %4 = inttoptr i64 %3 to i32* store i32 524031, i32* %4, align 4 %5 = add i64 %1, 8 %6 = inttoptr i64 %5 to i32* store i32 69922, i32* %6, align 4 %7 = icmp slt i32 %0, 256 br i1 %7, label LBL_2, label LBL_1 LBL_1: store i32 64, i32* bitcast (i64* @gv_0 to i32*), align 8 %8 = load i32, i32* %6, align 4 %9 = or i32 %8, 16 store i32 %9, i32* %6, align 4 br label LBL_9 LBL_2: %10 = icmp slt i32 %0, 128 br i1 %10, label LBL_4, label LBL_3 LBL_3: store i32 32, i32* bitcast (i64* @gv_0 to i32*), align 8 %11 = load i32, i32* %6, align 4 %12 = or i32 %11, 12 store i32 %12, i32* %6, align 4 br label LBL_9 LBL_4: %13 = icmp slt i32 %0, 64 br i1 %13, label LBL_6, label LBL_5 LBL_5: store i32 16, i32* bitcast (i64* @gv_0 to i32*), align 8 %14 = load i32, i32* %6, align 4 %15 = or i32 %14, 8 store i32 %15, i32* %6, align 4 br label LBL_9 LBL_6: %16 = icmp slt i32 %0, 32 br i1 %16, label LBL_8, label LBL_7 LBL_7: store i32 4, i32* bitcast (i64* @gv_0 to i32*), align 8 %17 = load i32, i32* %6, align 4 %18 = or i32 %17, 4 store i32 %18, i32* %6, align 4 br label LBL_9 LBL_8: store i32 2, i32* bitcast (i64* @gv_0 to i32*), align 8 br label LBL_9 LBL_9: %19 = call i64* @memcpy(i64* nonnull @gv_1, i64* bitcast ([12 x i8]* @gv_2 to i64*), i32 11) %20 = add i64 %1, 12 %21 = inttoptr i64 %20 to i32* store i32 274, i32* %21, align 4 %22 = trunc i64 %arg2 to i32 %23 = add i64 %1, 16 %24 = inttoptr i64 %23 to i32* store i32 %22, i32* %24, align 4 %25 = load i64, i64* @gv_3, align 8 %26 = load i64, i64* @gv_4, align 8 %27 = call i64 @FUNC(i64 0, i64 %26, i64 %25, i64 %1) %28 = and i64 %27, 4294967295 %29 = call i64 @FUNC(i64 268435456, i64 8388607, i64 %28) %30 = call i64 @FUNC(i64 %1, i64 1) ret i64 %30 uselistorder i32* %6, { 7, 6, 5, 4, 3, 2, 1, 0, 8 } uselistorder i64 %1, { 1, 0, 2, 3, 4, 5, 6 } uselistorder i32 %0, { 2, 1, 0, 3 } }
1
BinRealVul
write_refcount_block_14281
write_refcount_block
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_2 LBL_1: %6 = call i64 @FUNC(i64 %3, i64 1) %7 = add i64 %0, 16 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = load i64, i64* %2, align 8 %11 = call i64 @FUNC(i64 %10, i64 %10, i64 %9, i64 %0) %12 = icmp eq i64 %11, %0 %. = select i1 %12, i64 0, i64 4294967291 store i64 %., 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 %10, { 1, 0 } uselistorder i64 %0, { 1, 0, 2, 3 } }
1
BinRealVul
pri2fac_19119
pri2fac
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = trunc i64 %arg1 to i32 %1 = ashr i32 %0, 3 %2 = icmp sgt i32 %0, 191 %narrow = select i1 %2, i32 -1, i32 %1 %storemerge = zext i32 %narrow to i64 ret i64 %storemerge }
1
BinRealVul
rom_order_compare_3276
rom_order_compare
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = icmp ugt i64* %arg1, %arg2 store i64 1, i64* %storemerge.reg2mem br i1 %0, label LBL_4, label LBL_1 LBL_1: %1 = icmp eq i64* %arg1, %arg2 %2 = icmp eq i1 %1, false br i1 %2, label LBL_3, label LBL_2 LBL_2: %3 = ptrtoint i64* %arg2 to i64 %4 = ptrtoint i64* %arg1 to i64 %5 = add i64 %4, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = add i64 %3, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = icmp ult i64 %7, %10 store i64 1, i64* %storemerge.reg2mem br i1 %11, label LBL_3, label LBL_4 LBL_3: store i64 0, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %arg2, { 2, 0, 1 } uselistorder i64* %arg1, { 2, 0, 1 } uselistorder label LBL_4, { 2, 0, 1 } }
0
BinRealVul
urn_Read_7305
urn_Read
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge.lcssa.reg2mem = alloca i32 %storemerge1.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_14 LBL_1: %5 = and i64 %1, 4294967295 %6 = call i64 @FUNC(i64 %5) %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false store i64 1, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_14 LBL_2: %9 = ptrtoint i64* %arg2 to i64 %10 = call i64 @FUNC(i64 %9, i64 %6, i32 %2) store i32 0, i32* %storemerge1.reg2mem br label LBL_4 LBL_3: %11 = add i32 %storemerge1.reload, 1 %12 = icmp ult i32 %11, %2 %13 = icmp eq i1 %12, false store i32 %11, i32* %storemerge1.reg2mem store i32 %11, i32* %storemerge.lcssa.reg2mem br i1 %13, label LBL_5, label LBL_4 LBL_4: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem %14 = zext i32 %storemerge1.reload to i64 %15 = add i64 %6, %14 %16 = inttoptr i64 %15 to i8* %17 = load i8, i8* %16, align 1 %18 = icmp eq i8 %17, 0 %19 = icmp eq i1 %18, false store i32 %storemerge1.reload, i32* %storemerge.lcssa.reg2mem br i1 %19, label LBL_3, label LBL_5 LBL_5: %storemerge.lcssa.reload = load i32, i32* %storemerge.lcssa.reg2mem %20 = icmp eq i32 %storemerge.lcssa.reload, %2 %21 = icmp eq i1 %20, false br i1 %21, label LBL_7, label LBL_6 LBL_6: %22 = call i64 @FUNC(i64 %6) store i64 2, i64* %rax.0.reg2mem br label LBL_14 LBL_7: %23 = add i32 %2, -1 %24 = icmp eq i32 %storemerge.lcssa.reload, %23 %25 = icmp eq i1 %24, false br i1 %25, label LBL_9, label LBL_8 LBL_8: %26 = add i64 %arg1, 8 %27 = inttoptr i64 %26 to i64* store i64 %6, i64* %27, align 8 %28 = add i64 %arg1, 16 %29 = inttoptr i64 %28 to i64* store i64 0, i64* %29, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_14 LBL_9: %30 = add i32 %storemerge.lcssa.reload, 1 %31 = zext i32 %30 to i64 %32 = call i64 @FUNC(i64 %31) %33 = add i64 %arg1, 8 %34 = inttoptr i64 %33 to i64* store i64 %32, i64* %34, align 8 %35 = icmp eq i64 %32, 0 %36 = icmp eq i1 %35, false br i1 %36, label LBL_11, label LBL_10 LBL_10: %37 = call i64 @FUNC(i64 %6) store i64 1, i64* %rax.0.reg2mem br label LBL_14 LBL_11: %38 = sub i32 0, %storemerge.lcssa.reload %39 = sub i32 %38, 1 %40 = add i32 %39, %2 %41 = zext i32 %40 to i64 %42 = call i64 @FUNC(i64 %41) %43 = add i64 %arg1, 16 %44 = inttoptr i64 %43 to i64* store i64 %42, i64* %44, align 8 %45 = icmp eq i64 %42, 0 %46 = icmp eq i1 %45, false br i1 %46, label LBL_13, label LBL_12 LBL_12: %47 = call i64 @FUNC(i64 %6) %48 = load i64, i64* %34, align 8 %49 = call i64 @FUNC(i64 %48) store i64 0, i64* %34, align 8 store i64 1, i64* %rax.0.reg2mem br label LBL_14 LBL_13: %50 = load i64, i64* %34, align 8 %51 = inttoptr i64 %50 to i64* %52 = inttoptr i64 %6 to i64* %53 = call i64* @memcpy(i64* %51, i64* %52, i32 %30) %54 = zext i32 %storemerge.lcssa.reload to i64 %55 = add i64 %6, 1 %56 = add i64 %55, %54 %57 = load i64, i64* %44, align 8 %58 = inttoptr i64 %57 to i64* %59 = inttoptr i64 %56 to i64* %60 = call i64* @memcpy(i64* %58, i64* %59, i32 %40) %61 = call i64 @FUNC(i64 %6) store i64 0, i64* %rax.0.reg2mem br label LBL_14 LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %34, { 2, 1, 0, 3 } uselistorder i32 %storemerge.lcssa.reload, { 0, 4, 3, 2, 1 } uselistorder i32 %storemerge1.reload, { 0, 2, 1 } uselistorder i64 %6, { 6, 1, 7, 5, 4, 3, 2, 0, 8, 9 } uselistorder i32 %2, { 0, 4, 5, 3, 2, 1 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %storemerge.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 7, 6, 5, 4, 3, 1, 2 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 } uselistorder i64 (i64)* @gf_free, { 4, 3, 2, 1, 0 } uselistorder i64 1, { 3, 2, 1, 0 } uselistorder i64 (i64)* @gf_malloc, { 2, 1, 0 } uselistorder i32 0, { 1, 0, 2 } uselistorder i64 %arg1, { 2, 3, 0, 1 } uselistorder label LBL_14, { 2, 3, 4, 5, 6, 0, 1 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
l2cap_sock_release_7245
l2cap_sock_release
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i64 %0, 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_2 LBL_1: %4 = call i64 @FUNC(i64 %0) %5 = call i64 @FUNC(i64* nonnull @gv_1, i64 %0) %6 = call i64 @FUNC(i64 %0, i64 2) %7 = call i64 @FUNC(i64 %0) %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %9) %11 = call i64 @FUNC(i64 %9) %12 = call i64 @FUNC(i64 %0) %13 = call i64 @FUNC(i64 %0) %14 = call i64 @FUNC(i64 %9) %15 = call i64 @FUNC(i64 %9) %16 = and i64 %6, 4294967295 store i64 %16, 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, 5, 2, 4, 3, 7, 6 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
kvm_vcpu_ioctl_enable_cap_17770
kvm_vcpu_ioctl_enable_cap
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg2 to i64 %3 = add i64 %2, 4 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = icmp eq i32 %5, 0 store i64 4294967274, i64* %rax.0.reg2mem br i1 %6, label LBL_1, label LBL_3 LBL_1: %7 = trunc i64 %1 to i32 %8 = icmp eq i32 %7, 1 %9 = icmp eq i1 %8, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = ptrtoint i64* %arg1 to i64 %11 = call i64 @FUNC(i64 %10) store i64 %11, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder label LBL_3, { 2, 0, 1 } }
1
BinRealVul
tc_ctl_tclass_7841
tc_ctl_tclass
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_1.1.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %sv_3 = alloca i64, align 8 %4 = call i64 @FUNC(i64 %3) %5 = call i64 @FUNC(i64 %2) %6 = trunc i64 %1 to i32 %7 = icmp eq i32 %6, 1 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = call i64 @FUNC(i64 1) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false store i32 -1, i32* %rax.0.shrunk.reg2mem br i1 %11, label LBL_2, label LBL_31 LBL_2: %12 = call i64 @FUNC(i64 %2, i64 12, i64* nonnull %sv_3, i64 10, i64 0) %13 = trunc i64 %12 to i32 %14 = icmp slt i32 %13, 0 %15 = icmp eq i1 %14, false store i32 %13, i32* %rax.0.shrunk.reg2mem br i1 %15, label LBL_3, label LBL_31 LBL_3: %16 = inttoptr i64 %5 to i32* %17 = load i32, i32* %16, align 4 %18 = zext i32 %17 to i64 %19 = call i64 @FUNC(i64 %4, i64 %18) %20 = icmp eq i64 %19, 0 %21 = icmp eq i1 %20, false store i32 -19, i32* %rax.0.shrunk.reg2mem br i1 %21, label LBL_4, label LBL_31 LBL_4: %22 = add i64 %5, 4 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = add i64 %5, 8 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = udiv i32 %27, 65536 %29 = icmp eq i32 %24, 0 br i1 %29, label LBL_11, label LBL_5 LBL_5: %30 = udiv i32 %24, 65536 %31 = icmp ult i32 %27, 65536 %32 = icmp ult i32 %24, 65536 %or.cond = or i1 %32, %31 br i1 %or.cond, label LBL_7, label LBL_6 LBL_6: %33 = icmp eq i32 %28, %30 store i32 %28, i32* %sv_1.0.reg2mem store i32 -22, i32* %rax.0.shrunk.reg2mem br i1 %33, label LBL_10, label LBL_31 LBL_7: store i32 %30, i32* %sv_1.0.reg2mem br i1 %32, label LBL_8, label LBL_10 LBL_8: %34 = icmp eq i1 %31, false store i32 %28, i32* %sv_1.0.reg2mem br i1 %34, label LBL_10, label LBL_9 LBL_9: %35 = inttoptr i64 %19 to i64* %36 = load i64, i64* %35, align 8 %37 = add i64 %36, 8 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 store i32 %39, i32* %sv_1.0.reg2mem br label LBL_10 LBL_10: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %40 = mul i32 %sv_1.0.reload, 65536 %41 = or i32 %40, %24 store i32 %41, i32* %sv_2.0.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.1.reg2mem br label LBL_13 LBL_11: %42 = icmp ult i32 %27, 65536 %43 = icmp eq i1 %42, false store i32 0, i32* %sv_2.0.reg2mem store i32 %28, i32* %sv_1.1.reg2mem br i1 %43, label LBL_13, label LBL_12 LBL_12: %44 = inttoptr i64 %19 to i64* %45 = load i64, i64* %44, align 8 %46 = add i64 %45, 8 %47 = inttoptr i64 %46 to i32* %48 = load i32, i32* %47, align 4 store i32 0, i32* %sv_2.0.reg2mem store i32 %48, i32* %sv_1.1.reg2mem br label LBL_13 LBL_13: %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %49 = zext i32 %sv_1.1.reload to i64 %50 = call i64 @FUNC(i64 %19, i64 %49) %51 = icmp eq i64 %50, 0 %52 = icmp eq i1 %51, false store i32 -2, i32* %rax.0.shrunk.reg2mem br i1 %52, label LBL_14, label LBL_31 LBL_14: %53 = inttoptr i64 %50 to i64* %54 = load i64, i64* %53, align 8 %55 = inttoptr i64 %54 to i64* %56 = load i64, i64* %55, align 8 %57 = icmp eq i64 %56, 0 %58 = icmp eq i1 %57, false store i32 -22, i32* %rax.0.shrunk.reg2mem br i1 %58, label LBL_15, label LBL_31 LBL_15: %59 = icmp eq i32 %27, 0 %60 = icmp eq i1 %59, false br i1 %60, label LBL_17, label LBL_16 LBL_16: %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %61 = icmp eq i32 %sv_2.0.reload, 0 %62 = icmp eq i1 %61, false %spec.select = select i1 %62, i32 %27, i32 %sv_1.1.reload store i32 %spec.select, i32* %sv_0.0.reg2mem br label LBL_18 LBL_17: %63 = mul i32 %sv_1.1.reload, 65536 %64 = or i32 %63, %27 store i32 %64, i32* %sv_0.0.reg2mem br label LBL_18 LBL_18: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %65 = icmp eq i32 %sv_0.0.reload, 0 %spec.select3 = select i1 %65, i64 0, i64 %50 %66 = icmp eq i64 %spec.select3, 0 %67 = icmp eq i1 %66, false br i1 %67, label LBL_21, label LBL_19 LBL_19: %68 = icmp eq i32 %6, 2 %69 = icmp eq i1 %68, false store i32 -2, i32* %rax.0.shrunk.reg2mem br i1 %69, label LBL_31, label LBL_20 LBL_20: %70 = add i64 %2, 4 %71 = inttoptr i64 %70 to i32* %72 = load i32, i32* %71, align 4 %73 = and i32 %72, 512 %74 = icmp eq i32 %73, 0 %75 = icmp eq i1 %74, false store i32 -2, i32* %rax.0.shrunk.reg2mem br i1 %75, label LBL_29, label LBL_31 LBL_21: %76 = icmp eq i32 %6, 3 br i1 %76, label LBL_26, label LBL_22 LBL_22: %77 = icmp sgt i32 %6, 3 store i32 -22, i32* %rax.0.shrunk.reg2mem br i1 %77, label LBL_31, label LBL_23 LBL_23: br i1 %7, label LBL_28, label LBL_24 LBL_24: %78 = icmp eq i32 %6, 2 %79 = icmp eq i1 %78, false store i32 -22, i32* %rax.0.shrunk.reg2mem br i1 %79, label LBL_31, label LBL_25 LBL_25: %80 = add i64 %2, 4 %81 = inttoptr i64 %80 to i32* %82 = load i32, i32* %81, align 4 %83 = and i32 %82, 1024 %84 = icmp eq i32 %83, 0 store i32 -17, i32* %rax.0.shrunk.reg2mem br i1 %84, label LBL_29, label LBL_31 LBL_26: %85 = add i64 %56, 16 %86 = inttoptr i64 %85 to i64* %87 = load i64, i64* %86, align 8 %88 = icmp eq i64 %87, 0 %89 = trunc i64 %50 to i32 %spec.select4 = select i1 %88, i32 -95, i32 %89 %90 = icmp eq i32 %spec.select4, 0 %91 = icmp eq i1 %90, false store i32 %spec.select4, i32* %rax.0.shrunk.reg2mem br i1 %91, label LBL_31, label LBL_27 LBL_27: %92 = call i64 @FUNC(i64 %4, i64 %3, i64 %2, i64 %50, i64 %spec.select3, i64 3) store i32 %spec.select4, i32* %rax.0.shrunk.reg2mem br label LBL_31 LBL_28: %93 = call i64 @FUNC(i64 %4, i64 %3, i64 %2, i64 %50, i64 %spec.select3, i64 2) %94 = trunc i64 %93 to i32 store i32 %94, i32* %rax.0.shrunk.reg2mem br label LBL_31 LBL_29: %95 = add i64 %56, 8 %96 = inttoptr i64 %95 to i64* %97 = load i64, i64* %96, align 8 %98 = icmp eq i64 %97, 0 %99 = trunc i64 %50 to i32 %spec.select5 = select i1 %98, i32 -95, i32 %99 %100 = icmp eq i32 %spec.select5, 0 %101 = icmp eq i1 %100, false store i32 %spec.select5, i32* %rax.0.shrunk.reg2mem br i1 %101, label LBL_31, label LBL_30 LBL_30: %102 = call i64 @FUNC(i64 %4, i64 %3, i64 %2, i64 %50, i64 %spec.select3, i64 2) store i32 %spec.select5, i32* %rax.0.shrunk.reg2mem br label LBL_31 LBL_31: %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem %rax.0 = zext i32 %rax.0.shrunk.reload to i64 ret i64 %rax.0 uselistorder i64 %spec.select3, { 3, 2, 1, 0 } uselistorder i64 %50, { 2, 1, 3, 5, 4, 0, 6, 7 } uselistorder i32 %sv_1.1.reload, { 2, 1, 0 } uselistorder i32 %28, { 0, 2, 1, 3 } uselistorder i32 %27, { 3, 4, 5, 0, 1, 2 } uselistorder i32 %24, { 2, 0, 1, 3 } uselistorder i64 %19, { 2, 1, 0, 3 } uselistorder i32 %6, { 1, 2, 3, 0, 4 } uselistorder i64 %2, { 1, 3, 4, 2, 0, 5, 6 } uselistorder i32* %sv_1.0.reg2mem, { 0, 3, 4, 1, 2 } uselistorder i32* %sv_2.0.reg2mem, { 0, 2, 3, 1 } uselistorder i32* %sv_1.1.reg2mem, { 0, 2, 3, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 6, 7, 8, 9, 10, 5, 2, 1, 3, 4, 11, 12, 13, 14, 15, 16 } uselistorder i64 (i64, i64, i64, i64, i64, i64)* @tclass_notify, { 2, 1, 0 } uselistorder i32 3, { 1, 0 } uselistorder i32 -22, { 1, 0, 2, 3 } uselistorder i32 65536, { 0, 2, 1, 3, 4, 5, 6 } uselistorder i32 0, { 3, 4, 5, 6, 7, 8, 9, 0, 1, 10, 11, 12, 2 } uselistorder i64 1, { 1, 0 } uselistorder label LBL_31, { 1, 7, 0, 5, 6, 2, 8, 9, 3, 4, 10, 11, 12, 13, 14, 15 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_10, { 2, 1, 3, 0 } }
1
BinRealVul
do_sigreturn_3377
do_sigreturn
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %2 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i32, align 4 %3 = load i32, i32* %1 %4 = load i64, i64* %0 %5 = add i64 %2, 120 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 %2, i64 %7) %9 = call i64 @FUNC(i64 0, i64 %4, i64 %7, i64 1) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_3, label LBL_1 LBL_1: %12 = zext i32 %3 to i64 %13 = call i64 @FUNC(i64 %12, i64 %4) %14 = call i64 @FUNC(i64* nonnull %sv_0, i32* nonnull %sv_1) %15 = call i64 @FUNC(i64* nonnull %sv_0) %16 = add i64 %4, 8 %17 = call i64 @FUNC(i64 %2, i64 %16) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 %20 = icmp eq i1 %19, false br i1 %20, label LBL_3, label LBL_2 LBL_2: %21 = call i64 @FUNC(i64 %4, i64 %7, i64 0) br label LBL_4 LBL_3: %22 = call i64 @FUNC(i64 11) br label LBL_4 LBL_4: ret i64 1 uselistorder i64 1, { 0, 2, 1 } }
0
BinRealVul
vhost_dev_stop_16191
vhost_dev_stop
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge1.reg2mem = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = trunc i64 %1 to i32 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_3, label LBL_1 LBL_1: %6 = add i64 %3, 8 %7 = inttoptr i64 %6 to i64* %8 = and i64 %1, 4294967295 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge1.reg2mem br label LBL_2 LBL_2: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem %.reload = load i64, i64* %.reg2mem %9 = load i64, i64* %7, align 8 %10 = add i64 %9, %.reload %11 = zext i32 %storemerge1.reload to i64 %12 = call i64 @FUNC(i64 %3, i64 %2, i64 %10, i64 %11) %13 = add i32 %storemerge1.reload, 1 %14 = sext i32 %13 to i64 %15 = icmp sgt i64 %8, %14 store i64 %14, i64* %.reg2mem store i32 %13, i32* %storemerge1.reg2mem br i1 %15, label LBL_2, label LBL_3 LBL_3: %16 = add i64 %3, 40 %17 = call i64 @FUNC(i64 %16, i64 0, i64 -1) %18 = add i64 %2, 8 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = trunc i64 %20 to i32 %22 = icmp slt i32 %21, 0 %23 = icmp eq i1 %22, false br i1 %23, label LBL_5, label LBL_4 LBL_4: %24 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %25 = and i64 %20, 4294967295 %26 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %24, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_1, i64 0, i64 0), i64 %25) %27 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %28 = call i32 @fflush(%_IO_FILE* %27) call void @__assert_fail(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_3, i64 0, i64 0), i32 51, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_4, i64 0, i64 0)) br label LBL_5 LBL_5: %29 = add i64 %3, 16 %30 = inttoptr i64 %29 to i32* store i32 0, i32* %30, align 4 %31 = add i64 %3, 24 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = call i64 @FUNC(i64 %33) store i64 0, i64* %32, align 8 %35 = add i64 %3, 32 %36 = inttoptr i64 %35 to i64* store i64 0, i64* %36, align 8 ret i64 %3 uselistorder i64 %3, { 0, 1, 2, 3, 5, 6, 4 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 } uselistorder %_IO_FILE** @gv_0, { 1, 0 } uselistorder i64 4294967295, { 1, 0 } uselistorder i64 8, { 1, 0 } uselistorder i32 0, { 2, 3, 0, 1 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
swabHorAcc16_11048
swabHorAcc16
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = udiv i64 %arg3, 2 %3 = call i64 @FUNC(i64 %0, i64 %2) %4 = call i64 @FUNC(i64 %1, i64 %0, i64 %arg3) ret i64 %4 uselistorder i64 2, { 1, 0 } uselistorder i64 %arg3, { 1, 0 } }
1
BinRealVul
spitz_i2c_setup_2099
spitz_i2c_setup
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i64 0) %3 = call i64 @FUNC(i64 %2, i64 0, i64 0) %4 = call i64 @FUNC(i64 4198699, i64 %2, i64 0) %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 %7, i64 0, i64 %4) %9 = add i64 %0, 16 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = inttoptr i64 %11 to i64* store i64 %2, i64* %12, align 8 %13 = load i64, i64* %10, align 8 %14 = load i64, i64* @gv_1, align 8 %15 = add i64 %13, 8 %16 = inttoptr i64 %15 to i64* store i64 %14, i64* %16, align 8 %17 = load i64, i64* %10, align 8 %18 = load i64, i64* @gv_2, align 8 %19 = add i64 %17, 16 %20 = inttoptr i64 %19 to i64* store i64 %18, i64* %20, align 8 %21 = load i64, i64* %10, align 8 %22 = add i64 %21, 24 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = call i64 @FUNC(i64 %2, i64 %24, i64 %21) ret i64 %25 uselistorder i64 %21, { 1, 0 } }
0
BinRealVul
path_add_pt_9249
path_add_pt
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge2.reg2mem = alloca i32 %.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 0) %1 = inttoptr i64 %0 to i32* %2 = call i64 @FUNC(i64 1) %3 = load i32, i32* %1, align 4 %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_3, label LBL_1 LBL_1: %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i64* %7 = inttoptr i64 %2 to i64* %8 = add i64 %2, 8 %9 = inttoptr i64 %8 to i64* store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge2.reg2mem br label LBL_2 LBL_2: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %.reload = load i64, i64* %.reg2mem %10 = load i64, i64* %6, align 8 %11 = mul i64 %.reload, 16 %12 = add i64 %10, %11 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = call i128 @__asm_movsd.1(i64 %14) %16 = load i64, i64* %7, align 8 %17 = call i128 @__asm_movsd.1(i64 %16) %18 = load i64, i64* %6, align 8 %19 = add i64 %18, %11 %20 = call i128 @FUNC(i128 %17, i128 %15) %21 = call i64 @FUNC(i128 %20) %22 = inttoptr i64 %19 to i64* store i64 %21, i64* %22, align 8 %23 = load i64, i64* %6, align 8 %24 = or i64 %11, 8 %25 = add i64 %23, %24 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = call i128 @__asm_movsd.1(i64 %27) %29 = load i64, i64* %9, align 8 %30 = call i128 @__asm_movsd.1(i64 %29) %31 = load i64, i64* %6, align 8 %32 = call i128 @FUNC(i128 %30, i128 %28) %33 = call i64 @FUNC(i128 %32) %34 = add i64 %31, %24 %35 = inttoptr i64 %34 to i64* store i64 %33, i64* %35, align 8 %36 = add i32 %storemerge2.reload, 1 %37 = load i32, i32* %1, align 4 %38 = zext i32 %37 to i64 %39 = sext i32 %36 to i64 %40 = icmp slt i64 %39, %38 store i64 %39, i64* %.reg2mem store i32 %36, i32* %storemerge2.reg2mem br i1 %40, label LBL_2, label LBL_3 LBL_3: %41 = call i64 @FUNC(i64 %0) ret i64 %41 uselistorder i64 %11, { 0, 2, 1 } uselistorder i32* %1, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 } uselistorder i64 8, { 0, 3, 4, 2, 5, 6, 1, 7 } uselistorder i32 0, { 0, 3, 1, 4, 2, 5 } uselistorder i32 1, { 11, 2, 1, 12, 6, 5, 4, 3, 0, 13, 10, 9, 8, 7 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
sr_1d97_float_16018
sr_1d97_float
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge7.reg2mem = alloca i32 %storemerge38.reg2mem = alloca i32 %storemerge49.reg2mem = alloca i32 %storemerge510.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %3 = ashr exact i64 %sext, 32 %sext2 = mul i64 %arg3, 4294967296 %4 = ashr exact i64 %sext2, 32 %5 = add i64 %arg2, 1 %6 = and i64 %5, 4294967295 %7 = icmp sgt i64 %4, %6 br i1 %7, label LBL_4, label LBL_1 LBL_1: %8 = trunc i64 %3 to i32 %9 = icmp eq i32 %8, 1 %10 = icmp eq i1 %9, false br i1 %10, label LBL_3, label LBL_2 LBL_2: %11 = add i64 %2, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = call i128 @FUNC(i32 %13) %15 = load i32, i32* inttoptr (i64 4202512 to i32*), align 16 %16 = call i128 @FUNC(i32 %15) %17 = call i128 @FUNC(i128 %16, i128 %14) %18 = call i64 @__asm_movss.1(i128 %17) %19 = trunc i64 %18 to i32 store i32 %19, i32* %12, align 4 store i64 %11, i64* %rax.0.reg2mem br label LBL_16 LBL_3: %20 = trunc i64 %1 to i32 %21 = call i128 @FUNC(i32 %20) %22 = call i128 @FUNC(i32 1056964608) %23 = call i128 @FUNC(i128 %22, i128 %21) %24 = call i64 @__asm_movss.1(i128 %23) %25 = trunc i64 %24 to i32 %26 = bitcast i64* %arg1 to i32* store i32 %25, i32* %26, align 4 store i64 %2, i64* %rax.0.reg2mem br label LBL_16 LBL_4: %27 = and i64 %4, 4294967295 %28 = and i64 %3, 4294967295 %29 = call i64 @FUNC(i64 %2, i64 %28, i64 %27) %30 = trunc i64 %3 to i32 %31 = icmp slt i64 %sext, 0 %32 = zext i1 %31 to i32 %33 = add i32 %32, %30 %34 = ashr i32 %33, 1 %35 = add nsw i32 %34, -1 %36 = trunc i64 %4 to i32 %37 = icmp slt i64 %sext2, 0 %38 = zext i1 %37 to i32 %39 = add i32 %38, %36 %40 = ashr i32 %39, 1 %41 = add nsw i32 %40, 1 %42 = zext i32 %41 to i64 %43 = sext i32 %35 to i64 %44 = icmp sgt i64 %43, %42 br i1 %44, label LBL_7, label LBL_5 LBL_5: %45 = add i64 %2, -4 store i32 %35, i32* %storemerge510.reg2mem br label LBL_6 LBL_6: %storemerge510.reload = load i32, i32* %storemerge510.reg2mem %46 = mul i32 %storemerge510.reload, 2 %47 = sext i32 %46 to i64 %48 = mul i64 %47, 4 %49 = add i64 %48, %2 %50 = inttoptr i64 %49 to i32* %51 = load i32, i32* %50, align 4 %52 = call i128 @FUNC(i32 %51) %53 = add i64 %45, %48 %54 = inttoptr i64 %53 to i32* %55 = load i32, i32* %54, align 4 %56 = call i128 @FUNC(i32 %55) %57 = or i32 %46, 1 %58 = sext i32 %57 to i64 %59 = mul i64 %58, 4 %60 = add i64 %59, %2 %61 = inttoptr i64 %60 to i32* %62 = load i32, i32* %61, align 4 %63 = call i128 @FUNC(i32 %62) %64 = call i128 @FUNC(i128 %63, i128 %56) %65 = call i128 @FUNC(i128 %52, i128 %64) %66 = call i64 @__asm_movss.1(i128 %65) %67 = trunc i64 %66 to i32 store i32 %67, i32* %50, align 4 %68 = add i32 %storemerge510.reload, 1 %69 = sext i32 %68 to i64 %70 = icmp sgt i64 %69, %42 store i32 %68, i32* %storemerge510.reg2mem br i1 %70, label LBL_7, label LBL_6 LBL_7: %71 = zext i32 %40 to i64 %72 = icmp sgt i64 %43, %71 br i1 %72, label LBL_10, label LBL_8 LBL_8: %73 = add i64 %2, 8 store i32 %35, i32* %storemerge49.reg2mem br label LBL_9 LBL_9: %storemerge49.reload = load i32, i32* %storemerge49.reg2mem %74 = mul i32 %storemerge49.reload, 2 %75 = or i32 %74, 1 %76 = sext i32 %75 to i64 %77 = mul i64 %76, 4 %78 = add i64 %77, %2 %79 = inttoptr i64 %78 to i32* %80 = load i32, i32* %79, align 4 %81 = call i128 @FUNC(i32 %80) %82 = sext i32 %74 to i64 %83 = mul i64 %82, 4 %84 = add i64 %83, %2 %85 = inttoptr i64 %84 to i32* %86 = load i32, i32* %85, align 4 %87 = call i128 @FUNC(i32 %86) %88 = add i64 %73, %83 %89 = inttoptr i64 %88 to i32* %90 = load i32, i32* %89, align 4 %91 = call i128 @FUNC(i32 %90) %92 = call i128 @FUNC(i128 %91, i128 %87) %93 = call i128 @FUNC(i128 %81, i128 %92) %94 = call i64 @__asm_movss.1(i128 %93) %95 = trunc i64 %94 to i32 store i32 %95, i32* %79, align 4 %96 = add i32 %storemerge49.reload, 1 %97 = sext i32 %96 to i64 %98 = icmp sgt i64 %97, %71 store i32 %96, i32* %storemerge49.reg2mem br i1 %98, label LBL_10, label LBL_9 LBL_10: %99 = sext i32 %34 to i64 %100 = icmp sgt i64 %99, %71 br i1 %100, label LBL_13, label LBL_11 LBL_11: %101 = add i64 %2, -4 store i32 %34, i32* %storemerge38.reg2mem br label LBL_12 LBL_12: %storemerge38.reload = load i32, i32* %storemerge38.reg2mem %102 = mul i32 %storemerge38.reload, 2 %103 = sext i32 %102 to i64 %104 = mul i64 %103, 4 %105 = add i64 %104, %2 %106 = inttoptr i64 %105 to i32* %107 = load i32, i32* %106, align 4 %108 = call i128 @FUNC(i32 %107) %109 = add i64 %101, %104 %110 = inttoptr i64 %109 to i32* %111 = load i32, i32* %110, align 4 %112 = call i128 @FUNC(i32 %111) %113 = or i32 %102, 1 %114 = sext i32 %113 to i64 %115 = mul i64 %114, 4 %116 = add i64 %115, %2 %117 = inttoptr i64 %116 to i32* %118 = load i32, i32* %117, align 4 %119 = call i128 @FUNC(i32 %118) %120 = call i128 @FUNC(i128 %119, i128 %112) %121 = call i128 @FUNC(i128 %120, i128 %108) %122 = call i64 @__asm_movss.1(i128 %121) %123 = trunc i64 %122 to i32 store i32 %123, i32* %106, align 4 %124 = add i32 %storemerge38.reload, 1 %125 = sext i32 %124 to i64 %126 = icmp sgt i64 %125, %71 store i32 %124, i32* %storemerge38.reg2mem br i1 %126, label LBL_13, label LBL_12 LBL_13: %127 = icmp slt i64 %99, %71 store i64 %71, i64* %rax.0.reg2mem br i1 %127, label LBL_14, label LBL_16 LBL_14: %128 = add i64 %2, 8 store i32 %34, i32* %storemerge7.reg2mem br label LBL_15 LBL_15: %storemerge7.reload = load i32, i32* %storemerge7.reg2mem %129 = mul i32 %storemerge7.reload, 2 %130 = or i32 %129, 1 %131 = sext i32 %130 to i64 %132 = mul i64 %131, 4 %133 = add i64 %132, %2 %134 = inttoptr i64 %133 to i32* %135 = load i32, i32* %134, align 4 %136 = call i128 @FUNC(i32 %135) %137 = sext i32 %129 to i64 %138 = mul i64 %137, 4 %139 = add i64 %138, %2 %140 = inttoptr i64 %139 to i32* %141 = load i32, i32* %140, align 4 %142 = call i128 @FUNC(i32 %141) %143 = add i64 %128, %138 %144 = inttoptr i64 %143 to i32* %145 = load i32, i32* %144, align 4 %146 = call i128 @FUNC(i32 %145) %147 = call i128 @FUNC(i128 %146, i128 %142) %148 = call i128 @FUNC(i128 %147, i128 %136) %149 = call i64 @__asm_movss.1(i128 %148) %150 = trunc i64 %149 to i32 store i32 %150, i32* %134, align 4 %151 = add i32 %storemerge7.reload, 1 %152 = sext i32 %151 to i64 %153 = icmp slt i64 %152, %71 store i32 %151, i32* %storemerge7.reg2mem store i64 %71, i64* %rax.0.reg2mem br i1 %153, label LBL_15, label LBL_16 LBL_16: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %129, { 1, 0 } uselistorder i32 %102, { 1, 0 } uselistorder i32 %74, { 1, 0 } uselistorder i64 %71, { 0, 2, 1, 4, 3, 5, 7, 6 } uselistorder i32 %46, { 1, 0 } uselistorder i64 %42, { 1, 0 } uselistorder i64 %sext2, { 1, 0 } uselistorder i64 %3, { 2, 1, 0 } uselistorder i64 %sext, { 1, 0 } uselistorder i64 %2, { 1, 2, 9, 3, 4, 10, 5, 6, 11, 7, 8, 12, 14, 0, 13 } uselistorder i32* %storemerge510.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge49.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge38.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge7.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 4, 3 } uselistorder i64 8, { 1, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
expandrow_12750
expandrow
define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.1.in.reg2mem = alloca i64 %sv_1.2.reg2mem = alloca i64 %sv_1.116.reg2mem = alloca i64 %sv_2.117.reg2mem = alloca i8 %sv_1.012.reg2mem = alloca i64 %sv_0.0.in13.reg2mem = alloca i64 %sv_2.014.reg2mem = alloca i8 %sv_3.0.in2238.reg2mem = alloca i64 %sv_1.32039.reg2mem = alloca i64 %.in.reg2mem = alloca i64 %.reg2mem = alloca i8 %sv_3.023.lcssa.reg2mem = alloca i64 %sext = mul i64 %arg3, 4294967296 %sv_3.019 = ashr exact i64 %sext, 32 %0 = trunc i64 %sv_3.019 to i32 %1 = icmp eq i32 %0, 0 %2 = icmp slt i32 %0, 0 %3 = icmp eq i1 %2, false %4 = icmp eq i1 %1, false %5 = icmp eq i1 %3, %4 store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_13 LBL_1: %6 = bitcast i32* %arg2 to i8* %7 = load i8, i8* %6, align 1 %8 = icmp eq i32 %0, 1 %9 = icmp eq i1 %8, false %10 = icmp eq i8 %7, 0 %or.cond37 = or i1 %9, %10 store i64 %sv_3.019, i64* %sv_3.023.lcssa.reg2mem br i1 %or.cond37, label LBL_2, label LBL_4 LBL_2: %sext5 = mul i64 %arg4, 4294967296 %11 = ashr exact i64 %sext5, 32 %12 = ptrtoint i32* %arg2 to i64 %13 = ptrtoint i64* %arg1 to i64 store i8 %7, i8* %.reg2mem store i64 %12, i64* %.in.reg2mem store i64 %13, i64* %sv_1.32039.reg2mem store i64 %sext, i64* %sv_3.0.in2238.reg2mem br label LBL_5 LBL_3: %sv_0.1.in.reload = load i64, i64* %sv_0.1.in.reg2mem %sv_1.2.reload = load i64, i64* %sv_1.2.reg2mem %14 = inttoptr i64 %sv_0.1.in.reload to i8* %15 = load i8, i8* %14, align 1 %16 = icmp eq i32 %43, 1 %17 = icmp eq i1 %16, false %18 = icmp eq i8 %15, 0 %or.cond = or i1 %17, %18 store i64 %sv_3.0, i64* %sv_3.023.lcssa.reg2mem store i8 %15, i8* %.reg2mem store i64 %sv_0.1.in.reload, i64* %.in.reg2mem store i64 %sv_1.2.reload, i64* %sv_1.32039.reg2mem store i64 %sext6, i64* %sv_3.0.in2238.reg2mem br i1 %or.cond, label LBL_5, label LBL_4 LBL_4: %sv_3.023.lcssa.reload = load i64, i64* %sv_3.023.lcssa.reg2mem %19 = and i64 %sv_3.023.lcssa.reload, 4294967295 store i64 %19, i64* %rax.0.reg2mem br label LBL_13 LBL_5: %.reload = load i8, i8* %.reg2mem %20 = urem i8 %.reload, -128 %21 = icmp eq i8 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_7, label LBL_6 LBL_6: %23 = zext i8 %20 to i64 store i64 %23, i64* %rax.0.reg2mem br label LBL_13 LBL_7: %sv_3.0.in2238.reload = load i64, i64* %sv_3.0.in2238.reg2mem %sv_1.32039.reload = load i64, i64* %sv_1.32039.reg2mem %.in.reload = load i64, i64* %.in.reg2mem %24 = add i64 %.in.reload, 1 %25 = icmp slt i8 %.reload, 0 %26 = icmp eq i1 %25, false store i8 %20, i8* %sv_2.014.reg2mem store i64 %24, i64* %sv_0.0.in13.reg2mem store i64 %sv_1.32039.reload, i64* %sv_1.012.reg2mem br i1 %26, label LBL_9, label LBL_8 LBL_8: %sv_1.012.reload = load i64, i64* %sv_1.012.reg2mem %sv_0.0.in13.reload = load i64, i64* %sv_0.0.in13.reg2mem %sv_2.014.reload = load i8, i8* %sv_2.014.reg2mem %27 = add i8 %sv_2.014.reload, -1 %28 = add i64 %sv_0.0.in13.reload, 1 %29 = inttoptr i64 %sv_0.0.in13.reload to i8* %30 = load i8, i8* %29, align 1 %31 = inttoptr i64 %sv_1.012.reload to i8* store i8 %30, i8* %31, align 1 %32 = add i64 %sv_1.012.reload, %11 %33 = icmp eq i8 %27, 0 %34 = icmp eq i1 %33, false store i8 %27, i8* %sv_2.014.reg2mem store i64 %28, i64* %sv_0.0.in13.reg2mem store i64 %32, i64* %sv_1.012.reg2mem store i64 %32, i64* %sv_1.2.reg2mem store i64 %28, i64* %sv_0.1.in.reg2mem br i1 %34, label LBL_8, label LBL_12 LBL_9: %35 = inttoptr i64 %24 to i8* %36 = load i8, i8* %35, align 1 store i8 %20, i8* %sv_2.117.reg2mem store i64 %sv_1.32039.reload, i64* %sv_1.116.reg2mem br label LBL_10 LBL_10: %sv_1.116.reload = load i64, i64* %sv_1.116.reg2mem %sv_2.117.reload = load i8, i8* %sv_2.117.reg2mem %37 = add i8 %sv_2.117.reload, -1 %38 = inttoptr i64 %sv_1.116.reload to i8* store i8 %36, i8* %38, align 1 %39 = add i64 %sv_1.116.reload, %11 %40 = icmp eq i8 %37, 0 %41 = icmp eq i1 %40, false store i8 %37, i8* %sv_2.117.reg2mem store i64 %39, i64* %sv_1.116.reg2mem br i1 %41, label LBL_10, label LBL_11 LBL_11: %42 = add i64 %.in.reload, 2 store i64 %39, i64* %sv_1.2.reg2mem store i64 %42, i64* %sv_0.1.in.reg2mem br label LBL_12 LBL_12: %sext6 = add i64 %sv_3.0.in2238.reload, -4294967296 %sv_3.0 = ashr exact i64 %sext6, 32 %43 = trunc i64 %sv_3.0 to i32 %44 = icmp eq i32 %43, 0 %45 = icmp slt i32 %43, 0 %46 = icmp eq i1 %45, false %47 = icmp eq i1 %44, false %48 = icmp eq i1 %46, %47 store i64 0, i64* %rax.0.reg2mem br i1 %48, label LBL_3, label LBL_13 LBL_13: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %43, { 2, 1, 0 } uselistorder i64 %sv_3.0, { 1, 0 } uselistorder i64 %sext6, { 1, 0 } uselistorder i64 %sv_1.116.reload, { 1, 0 } uselistorder i64 %sv_1.012.reload, { 1, 0 } uselistorder i64 %24, { 1, 0 } uselistorder i64 %.in.reload, { 1, 0 } uselistorder i64 %sv_0.1.in.reload, { 1, 0 } uselistorder i8* %sv_2.014.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.0.in13.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.012.reg2mem, { 2, 0, 1 } uselistorder i8* %sv_2.117.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.116.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.2.reg2mem, { 2, 1, 0 } uselistorder i64* %sv_0.1.in.reg2mem, { 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 3, 2 } uselistorder i8 0, { 2, 3, 4, 5, 1, 0 } uselistorder i1 false, { 9, 3, 4, 5, 6, 7, 8, 0, 1, 2 } uselistorder i32 0, { 2, 3, 0, 1 } uselistorder i64 32, { 1, 2, 0 } uselistorder i32* %arg2, { 1, 0 } uselistorder label LBL_13, { 0, 2, 3, 1 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
bdrv_close_16552
bdrv_close
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null store i64 %0, i64* %rax.0.reg2mem br i1 %1, label LBL_5, label LBL_1 LBL_1: %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = icmp eq i64 %4, 0 br i1 %5, label LBL_3, label LBL_2 LBL_2: %6 = call i64 @FUNC(i64 %4) br label LBL_3 LBL_3: %7 = add i64 %0, 16 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %9) store i64 0, i64* %8, align 8 store i64 0, i64* %arg1, align 8 %11 = add i64 %0, 36 %12 = inttoptr i64 %11 to i32* store i32 0, i32* %12, align 4 %13 = add i64 %0, 40 %14 = inttoptr i64 %13 to i32* store i32 1, i32* %14, align 4 %15 = add i64 %0, 48 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = icmp eq i64 %17, 0 store i64 0, i64* %rax.0.reg2mem br i1 %18, label LBL_5, label LBL_4 LBL_4: %19 = add i64 %0, 56 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 store i64 %21, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 1, 2, 3, 4, 5, 6, 0 } }
1
BinRealVul
pn533_i2c_remove_17932
pn533_i2c_remove
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, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0)) %3 = inttoptr i64 %1 to i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i64 %4) ret i64 0 }
1
BinRealVul
gg_change_status_descr_19073
gg_change_status_descr
define i64 @FUNC(i64* %arg1, i64 %arg2, i8* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.1.reg2mem = alloca i8* %sv_2.03.reg2mem = alloca i64 %sv_1.05.reg2mem = alloca i8* %sv_2.06.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i8* %arg3 to i64 %3 = ptrtoint i64* %arg1 to i64 %sv_3 = alloca i32, align 4 %4 = and i64 %arg2, 4294967295 %5 = call i64 @FUNC(i64 %3, i64 1, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %4, i64 %2) %6 = icmp eq i64* %arg1, null %7 = icmp eq i1 %6, false br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = call i32* @__errno_location() store i32 14, i32* %8, align 4 store i64 4294967295, i64* %rax.0.reg2mem br label LBL_14 LBL_2: %9 = trunc i64 %1 to i32 %10 = icmp eq i32 %9, 1 br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = call i32* @__errno_location() store i32 107, i32* %11, align 4 store i64 4294967295, i64* %rax.0.reg2mem br label LBL_14 LBL_4: %sext = mul i64 %arg2, 4294967296 %12 = ashr exact i64 %sext, 32 %13 = trunc i64 %12 to i32 %14 = add i64 %3, 4 %15 = inttoptr i64 %14 to i32* store i32 %13, i32* %15, align 4 %16 = icmp eq i8* %arg3, null store i64 0, i64* %sv_2.03.reg2mem store i8* bitcast (i8** @gv_1 to i8*), i8** %sv_1.1.reg2mem store i32 0, i32* %sv_0.0.reg2mem br i1 %16, label LBL_9, label LBL_5 LBL_5: %17 = add i64 %3, 8 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = icmp eq i32 %19, 1 store i64 0, i64* %sv_2.06.reg2mem store i8* %arg3, i8** %sv_1.05.reg2mem br i1 %20, label LBL_8, label LBL_6 LBL_6: %21 = call i64 @FUNC(i64 %2, i64 2, i64 1, i64 4294967295, i64 4294967295) %22 = icmp eq i64 %21, 0 %23 = icmp eq i1 %22, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %23, label LBL_7, label LBL_14 LBL_7: %24 = inttoptr i64 %21 to i8* store i64 %21, i64* %sv_2.06.reg2mem store i8* %24, i8** %sv_1.05.reg2mem br label LBL_8 LBL_8: %sv_1.05.reload = load i8*, i8** %sv_1.05.reg2mem %sv_2.06.reload = load i64, i64* %sv_2.06.reg2mem %25 = call i32 @strlen(i8* nonnull %sv_1.05.reload) %26 = icmp slt i32 %25, 256 %spec.store.select = select i1 %26, i32 %25, i32 256 store i64 %sv_2.06.reload, i64* %sv_2.03.reg2mem store i8* %sv_1.05.reload, i8** %sv_1.1.reg2mem store i32 %spec.store.select, i32* %sv_0.0.reg2mem br label LBL_9 LBL_9: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.1.reload = load i8*, i8** %sv_1.1.reg2mem %sv_2.03.reload = load i64, i64* %sv_2.03.reg2mem %27 = and i64 %12, 4294967295 %28 = call i64 @FUNC(i64 %27) %29 = trunc i64 %28 to i32 store i32 %29, i32* %sv_3, align 4 %30 = add i64 %3, 12 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = zext i32 %32 to i64 %34 = call i64 @FUNC(i64 %33) %35 = zext i32 %sv_0.0.reload to i64 %36 = call i64 @FUNC(i64 %35) %37 = add i64 %3, 16 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 %40 = icmp slt i32 %39, 110 store i64 %35, i64* %.pre-phi.reg2mem br i1 %40, label LBL_11, label LBL_10 LBL_10: %41 = call i64 @FUNC(i64 20) %42 = add i32 %sv_0.0.reload, 1 %.pre = zext i32 %42 to i64 store i64 %.pre, i64* %.pre-phi.reg2mem br label LBL_11 LBL_11: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %43 = ptrtoint i8* %sv_1.1.reload to i64 %44 = call i64 @FUNC(i64 %3, i64 1, i32* nonnull %sv_3, i64 12, i64 %43, i64 %.pre-phi.reload) %45 = inttoptr i64 %sv_2.03.reload to i64* call void @free(i64* %45) %46 = call i64 @FUNC(i64 %27) %47 = trunc i64 %46 to i32 %48 = icmp eq i32 %47, 0 br i1 %48, label LBL_13, label LBL_12 LBL_12: %49 = bitcast i64* %arg1 to i32* store i32 2, i32* %49, align 4 %50 = add i64 %3, 20 %51 = inttoptr i64 %50 to i32* store i32 30, i32* %51, align 4 br label LBL_13 LBL_13: %52 = and i64 %44, 4294967295 store i64 %52, i64* %rax.0.reg2mem br label LBL_14 LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %sv_0.0.reload, { 1, 0 } uselistorder i64 %3, { 1, 2, 3, 4, 0, 5, 7, 6 } uselistorder i64* %sv_2.06.reg2mem, { 0, 2, 1 } uselistorder i8** %sv_1.05.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_2.03.reg2mem, { 0, 2, 1 } uselistorder i8** %sv_1.1.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 } uselistorder i64 20, { 1, 0 } uselistorder i64 (i64)* @gg_fix32, { 3, 2, 1, 0 } uselistorder i32 0, { 1, 0, 2 } uselistorder i32* ()* @__errno_location, { 1, 0 } uselistorder label LBL_14, { 1, 0, 2, 3 } uselistorder label LBL_9, { 1, 0 } }
1
BinRealVul
ff_h264_flush_change_3184
ff_h264_flush_change
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0.1.lcssa.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_1.01.reg2mem = alloca i32 %sv_0.12.reg2mem = alloca i32 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = bitcast i64* %arg1 to i32* store i32 -2147483648, i32* %1, align 4 %2 = add i64 %0, 4 %3 = inttoptr i64 %2 to i32* store i32 1, i32* %3, align 4 %4 = call i64 @FUNC(i64 %0) %5 = add i64 %0, 100 %6 = inttoptr i64 %5 to i32* store i32 -1, i32* %6, align 4 %7 = add i64 %0, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = icmp eq i64 %9, 0 br i1 %10, label LBL_6, label LBL_1 LBL_1: %11 = inttoptr i64 %9 to i32* store i32 0, i32* %11, align 4 %12 = add i64 %0, 16 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = icmp eq i64 %14, 0 %16 = icmp eq i1 %15, false store i64 %14, i64* %.reg2mem store i32 0, i32* %sv_0.12.reg2mem store i32 0, i32* %sv_1.01.reg2mem store i32 0, i32* %sv_0.1.lcssa.reg2mem br i1 %16, label LBL_2, label LBL_5 LBL_2: %sv_1.01.reload = load i32, i32* %sv_1.01.reg2mem %sv_0.12.reload = load i32, i32* %sv_0.12.reg2mem %.reload = load i64, i64* %.reg2mem %17 = load i64, i64* %8, align 8 %18 = icmp eq i64 %.reload, %17 store i32 %sv_0.12.reload, i32* %sv_0.0.reg2mem br i1 %18, label LBL_4, label LBL_3 LBL_3: %19 = add i32 %sv_0.12.reload, 1 %20 = sext i32 %sv_0.12.reload to i64 %21 = mul i64 %20, 8 %22 = add i64 %21, %12 %23 = inttoptr i64 %22 to i64* store i64 %.reload, i64* %23, align 8 store i32 %19, i32* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %24 = add i32 %sv_1.01.reload, 1 %25 = sext i32 %24 to i64 %26 = mul i64 %25, 8 %27 = add i64 %26, %12 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = icmp eq i64 %29, 0 %31 = icmp eq i1 %30, false store i64 %29, i64* %.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.12.reg2mem store i32 %24, i32* %sv_1.01.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem br i1 %31, label LBL_2, label LBL_5 LBL_5: %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem %32 = sext i32 %sv_0.1.lcssa.reload to i64 %33 = mul i64 %32, 8 %34 = add i64 %33, %12 %35 = inttoptr i64 %34 to i64* store i64 0, i64* %35, align 8 br label LBL_6 LBL_6: %36 = add i64 %0, 104 %37 = call i64 @FUNC(i64 %0, i64 %36) %38 = add i64 %0, 112 %39 = inttoptr i64 %38 to i32* store i32 0, i32* %39, align 4 %40 = add i64 %0, 116 %41 = call i64 @FUNC(i64 %40) %42 = inttoptr i64 %40 to i32* store i32 -1, i32* %42, align 4 %43 = add i64 %0, 120 %44 = inttoptr i64 %43 to i32* store i32 0, i32* %44, align 4 %45 = add i64 %0, 124 %46 = inttoptr i64 %45 to i32* store i32 0, i32* %46, align 4 %47 = add i64 %0, 128 %48 = inttoptr i64 %47 to i32* store i32 1, i32* %48, align 4 ret i64 %0 uselistorder i32 %sv_0.12.reload, { 2, 1, 0 } uselistorder i64 %0, { 1, 2, 3, 4, 5, 8, 7, 6, 0, 9, 11, 10, 12 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.12.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.01.reg2mem, { 2, 0, 1 } uselistorder i1 false, { 1, 0 } uselistorder i32 0, { 3, 4, 5, 0, 1, 2, 6 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
exynos4210_fimd_update_103
exynos4210_fimd_update
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi.0.lcssa.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %storemerge4.reg2mem = alloca i32 %sv_0.2.reg2mem = alloca i32 %sv_1.3.reg2mem = alloca i32 %sv_0.1.lcssa.reg2mem = alloca i32 %sv_1.2.lcssa.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_1.1.reg2mem = alloca i32 %sv_1.25.reg2mem = alloca i32 %sv_0.16.reg2mem = alloca i32 %sv_2.07.reg2mem = alloca i64 %storemerge28.reg2mem = alloca i32 %sv_1.412.reg2mem = alloca i32 %sv_0.313.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = add i64 %0, 16 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = udiv i32 %4, 65536 %6 = add nuw nsw i32 %5, 1 %7 = zext i32 %6 to i64 %8 = icmp eq i64* %arg1, null store i64 %7, i64* %rax.0.reg2mem br i1 %8, label LBL_22, label LBL_1 LBL_1: %9 = call i64 @FUNC(i64 %1) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 store i64 %9, i64* %rax.0.reg2mem br i1 %11, label LBL_22, label LBL_2 LBL_2: %12 = add i64 %0, 20 %13 = inttoptr i64 %12 to i8* %14 = load i8, i8* %13, align 1 %15 = xor i8 %14, 1 %16 = zext i8 %15 to i64 %17 = icmp eq i8 %15, 0 %18 = icmp eq i1 %17, false store i64 %16, i64* %rax.0.reg2mem br i1 %18, label LBL_22, label LBL_3 LBL_3: %19 = urem i32 %4, 65536 %20 = add nuw nsw i32 %19, 1 %21 = call i64 @FUNC(i64 %0) %22 = add i64 %0, 312 %23 = inttoptr i64 %22 to i8* store i64 0, i64* %indvars.iv.reg2mem store i32 -1, i32* %sv_0.313.reg2mem store i32 -1, i32* %sv_1.412.reg2mem br label LBL_4 LBL_4: %sv_1.412.reload = load i32, i32* %sv_1.412.reg2mem %sv_0.313.reload = load i32, i32* %sv_0.313.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %24 = mul nuw nsw i64 %indvars.iv.reload, 72 %25 = add i64 %24, %2 %26 = add i64 %25, 8 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = urem i32 %28, 2 %30 = icmp eq i32 %29, 0 store i32 %sv_1.412.reload, i32* %sv_1.3.reg2mem store i32 %sv_0.313.reload, i32* %sv_0.2.reg2mem br i1 %30, label LBL_12, label LBL_5 LBL_5: %31 = add i64 %25, 16 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = icmp eq i64 %33, 0 store i32 %sv_1.412.reload, i32* %sv_1.3.reg2mem store i32 %sv_0.313.reload, i32* %sv_0.2.reg2mem br i1 %34, label LBL_12, label LBL_6 LBL_6: %35 = add i64 %25, 24 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = add i64 %25, 28 %39 = inttoptr i64 %38 to i32* %40 = load i32, i32* %39, align 4 %41 = add i32 %37, 1 %42 = sub i32 %41, %40 %43 = add i64 %25, 32 %44 = inttoptr i64 %43 to i32* %45 = load i32, i32* %44, align 4 %46 = add i64 %25, 36 %47 = inttoptr i64 %46 to i32* %48 = load i32, i32* %47, align 4 %49 = add i64 %25, 40 %50 = inttoptr i64 %49 to i64* %51 = load i64, i64* %50, align 8 %52 = call i64 @FUNC(i64 %51) %53 = add i64 %25, 48 %54 = inttoptr i64 %53 to i64* %55 = icmp sgt i32 %42, 0 store i32 %sv_1.412.reload, i32* %sv_1.2.lcssa.reg2mem store i32 %sv_0.313.reload, i32* %sv_0.1.lcssa.reg2mem br i1 %55, label LBL_7, label LBL_11 LBL_7: %56 = add i32 %48, %45 %57 = sext i32 %56 to i64 %58 = load i64, i64* %54, align 8 store i32 0, i32* %storemerge28.reg2mem store i64 %58, i64* %sv_2.07.reg2mem store i32 %sv_0.313.reload, i32* %sv_0.16.reg2mem store i32 %sv_1.412.reload, i32* %sv_1.25.reg2mem br label LBL_8 LBL_8: %sv_1.25.reload = load i32, i32* %sv_1.25.reg2mem %sv_0.16.reload = load i32, i32* %sv_0.16.reg2mem %sv_2.07.reload = load i64, i64* %sv_2.07.reg2mem %storemerge28.reload = load i32, i32* %storemerge28.reg2mem %59 = load i64, i64* %50, align 8 %60 = call i64 @FUNC(i64 %59, i64 %sv_2.07.reload, i32 %45, i64 1) %61 = trunc i64 %60 to i8 %62 = load i8, i8* %23, align 1 %63 = or i8 %62, %61 %64 = icmp eq i8 %63, 0 store i32 %sv_1.25.reload, i32* %sv_1.1.reg2mem store i32 %sv_0.16.reload, i32* %sv_0.0.reg2mem br i1 %64, label LBL_10, label LBL_9 LBL_9: %65 = icmp eq i32 %sv_1.25.reload, -1 %66 = icmp eq i1 %65, false %spec.select = select i1 %66, i32 %sv_1.25.reload, i32 %storemerge28.reload store i32 %spec.select, i32* %sv_1.1.reg2mem store i32 %storemerge28.reload, i32* %sv_0.0.reg2mem br label LBL_10 LBL_10: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %67 = add i64 %sv_2.07.reload, %57 %68 = add nuw nsw i32 %storemerge28.reload, 1 %exitcond = icmp eq i32 %68, %42 store i32 %68, i32* %storemerge28.reg2mem store i64 %67, i64* %sv_2.07.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.16.reg2mem store i32 %sv_1.1.reload, i32* %sv_1.25.reg2mem store i32 %sv_1.1.reload, i32* %sv_1.2.lcssa.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem br i1 %exitcond, label LBL_11, label LBL_8 LBL_11: %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem %sv_1.2.lcssa.reload = load i32, i32* %sv_1.2.lcssa.reg2mem %69 = add i64 %25, 56 %70 = inttoptr i64 %69 to i32* %71 = load i32, i32* %70, align 4 %72 = load i64, i64* %54, align 8 %73 = load i64, i64* %50, align 8 %74 = call i64 @FUNC(i64 %73, i64 %72, i32 %71, i64 1) store i32 %sv_1.2.lcssa.reload, i32* %sv_1.3.reg2mem store i32 %sv_0.1.lcssa.reload, i32* %sv_0.2.reg2mem br label LBL_12 LBL_12: %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %sv_1.3.reload = load i32, i32* %sv_1.3.reg2mem %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond15 = icmp eq i64 %indvars.iv.next, 4 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %sv_0.2.reload, i32* %sv_0.313.reg2mem store i32 %sv_1.3.reload, i32* %sv_1.412.reg2mem br i1 %exitcond15, label LBL_13, label LBL_4 LBL_13: %75 = icmp slt i32 %sv_1.3.reload, 0 br i1 %75, label LBL_19, label LBL_14 LBL_14: %76 = call i64 @FUNC(i64 %1) %77 = and i64 %76, 4294967295 %78 = call i64 @FUNC(i64 %77) %79 = call i64 @FUNC(i64 %1) %80 = icmp sgt i32 %sv_1.3.reload, %sv_0.2.reload br i1 %80, label LBL_14.LBL_18_crit_edge, label LBL_16 LBL_15: %.pre = zext i32 %20 to i64 store i64 %.pre, i64* %.pre-phi.reg2mem store i64 %1, i64* %rdi.0.lcssa.reg2mem br label LBL_18 LBL_16: %81 = trunc i64 %76 to i32 %82 = add i32 %81, 1 %83 = ashr i32 %82, 3 %84 = add i64 %0, 320 %85 = inttoptr i64 %84 to i64* %86 = zext i32 %20 to i64 store i32 %sv_1.3.reload, i32* %storemerge4.reg2mem br label LBL_17 LBL_17: %storemerge4.reload = load i32, i32* %storemerge4.reg2mem %87 = mul i32 %storemerge4.reload, %20 %88 = mul i32 %87, %83 %89 = sext i32 %88 to i64 %90 = add i64 %79, %89 %91 = load i64, i64* %85, align 8 %92 = mul i32 %87, 4 %93 = sext i32 %92 to i64 %94 = add i64 %91, %93 %95 = call i64 @FUNC(i64 %86, i64 %94, i64 %90) %96 = add i32 %storemerge4.reload, 1 %97 = icmp sgt i32 %96, %sv_0.2.reload store i32 %96, i32* %storemerge4.reg2mem store i64 %86, i64* %.pre-phi.reg2mem store i64 %86, i64* %rdi.0.lcssa.reg2mem br i1 %97, label LBL_18, label LBL_17 LBL_18: %rdi.0.lcssa.reload = load i64, i64* %rdi.0.lcssa.reg2mem %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %98 = call i64 @FUNC(i64 %rdi.0.lcssa.reload, i64 0, i64 0, i64 %.pre-phi.reload, i64 %7) br label LBL_19 LBL_19: store i8 0, i8* %23, align 1 %99 = add i64 %0, 336 %100 = inttoptr i64 %99 to i32* %101 = load i32, i32* %100, align 4 %102 = or i32 %101, 1 store i32 %102, i32* %100, align 4 %103 = add i64 %0, 328 %104 = inttoptr i64 %103 to i32* %105 = load i32, i32* %104, align 4 %106 = urem i32 %105, 2 %107 = icmp eq i32 %106, 0 %108 = icmp eq i1 %107, false br i1 %108, label LBL_21, label LBL_20 LBL_20: %109 = call i64 @FUNC(i64 %0, i64 0) br label LBL_21 LBL_21: %110 = call i64 @FUNC(i64 %0) store i64 %110, 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 %76, { 1, 0 } uselistorder i32 %sv_0.2.reload, { 1, 0, 2 } uselistorder i32 %storemerge28.reload, { 2, 0, 1 } uselistorder i64 %sv_2.07.reload, { 1, 0 } uselistorder i32 %sv_1.25.reload, { 1, 2, 0 } uselistorder i32 %45, { 1, 0 } uselistorder i32 %sv_0.313.reload, { 3, 2, 0, 1 } uselistorder i32 %sv_1.412.reload, { 3, 2, 0, 1 } uselistorder i32 %20, { 0, 2, 1 } uselistorder i64 %7, { 1, 0 } uselistorder i32 %4, { 1, 0 } uselistorder i64 %0, { 1, 3, 2, 4, 0, 5, 6, 7, 8, 9 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.313.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.412.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge28.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.07.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.16.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.25.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge4.reg2mem, { 1, 0, 2 } uselistorder i64 32, { 1, 0 } uselistorder i32 -1, { 2, 0, 1 } uselistorder i8 0, { 1, 0, 2 } uselistorder i32 0, { 2, 4, 0, 1, 3, 5 } uselistorder i64 (i64)* @surface_bits_per_pixel, { 1, 0 } uselistorder i32 65536, { 1, 0 } uselistorder label LBL_22, { 3, 2, 1, 0 } uselistorder label LBL_17, { 1, 0 } uselistorder label LBL_10, { 1, 0 } }
1
BinRealVul
vapic_class_init_1637
vapic_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = bitcast i64* %arg1 to i8* store i8 1, i8* %1, align 1 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* store i64 4198694, i64* %3, align 8 %4 = add i64 %0, 16 %5 = inttoptr i64 %4 to i64* store i64 ptrtoint (i64* @gv_0 to i64), i64* %5, align 8 %6 = add i64 %0, 24 %7 = inttoptr i64 %6 to i64* store i64 4198701, i64* %7, align 8 ret i64 %0 uselistorder i64 %0, { 1, 0, 2, 3 } }
0
BinRealVul
asf_read_close_4903
asf_read_close
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge1.reg2mem = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 br i1 %3, label LBL_3, label LBL_1 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = add i64 %4, 8 %6 = inttoptr i64 %5 to i64* %7 = add i64 %4, 16 %8 = inttoptr i64 %7 to i64* %9 = and i64 %1, 4294967295 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge1.reg2mem br label LBL_2 LBL_2: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem %.reload = load i64, i64* %.reg2mem %10 = load i64, i64* %6, align 8 %11 = mul i64 %.reload, 8 %12 = add i64 %10, %11 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = call i64 @FUNC(i64 %14) %16 = load i64, i64* %6, align 8 %17 = add i64 %16, %11 %18 = call i64 @FUNC(i64 %17) %19 = load i64, i64* %8, align 8 %20 = mul i64 %.reload, 4 %21 = add i64 %19, %20 %22 = call i64 @FUNC(i64 %21) %23 = add i32 %storemerge1.reload, 1 %24 = sext i32 %23 to i64 %25 = icmp sgt i64 %9, %24 store i64 %24, i64* %.reg2mem store i32 %23, i32* %storemerge1.reg2mem br i1 %25, label LBL_2, label LBL_3 LBL_3: %26 = bitcast i64* %arg1 to i32* store i32 0, i32* %26, align 4 ret i64 0 uselistorder i64 %11, { 1, 0 } uselistorder i64 %.reload, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 } uselistorder i32 0, { 2, 0, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
qmp_guest_get_memory_blocks_14415
qmp_guest_get_memory_blocks
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rdx.0.lcssa.reg2mem = alloca i64 %rcx.0.ph.lcssa.reg2mem = alloca i64 %rcx.0.ph7.reg2mem = alloca i64 %sv_0.0.ph8.reg2mem = alloca i64 %.in.reg2mem = alloca %dirent* %.in11.reg2mem = alloca %dirent* %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 store i64 0, i64* %sv_2, align 8 store i64 0, i64* %sv_1, align 8 %4 = call %__dirstream* @opendir(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_0, i64 0, i64 0)) %5 = icmp eq %__dirstream* %4, null %6 = icmp eq i1 %5, false br i1 %6, label LBL_1, label LBL_3 LBL_1: %7 = call %dirent* @readdir(%__dirstream* %4) %8 = icmp eq %dirent* %7, null %9 = icmp eq i1 %8, false br i1 %9, label LBL_2, label LBL_9 LBL_2: %10 = ptrtoint i64* %sv_1 to i64 %11 = ptrtoint i64* %sv_2 to i64 store %dirent* %7, %dirent** %.in.reg2mem store i64 %10, i64* %sv_0.0.ph8.reg2mem br label LBL_4.lr.ph LBL_3: %12 = call i32* @__errno_location() %13 = load i32, i32* %12, align 4 %14 = zext i32 %13 to i64 %15 = call i64 @FUNC(i64 %3, i64 %14, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i32 %13, i64 %2, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_13 LBL_4: %.in11.reload = load %dirent*, %dirent** %.in11.reg2mem %16 = ptrtoint %dirent* %.in11.reload to i64 %17 = add i64 %16, 19 %18 = inttoptr i64 %17 to i8* %19 = call i32 @strncmp(i8* %18, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0), i32 6) %20 = icmp eq i32 %19, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_5, label LBL_6 LBL_5: %22 = call %dirent* @readdir(%__dirstream* %4) %23 = icmp eq %dirent* %22, null %24 = icmp eq i1 %23, false store %dirent* %22, %dirent** %.in11.reg2mem store i64 %rcx.0.ph7.reload, i64* %rcx.0.ph.lcssa.reg2mem store i64 6, i64* %rdx.0.lcssa.reg2mem br i1 %24, label LBL_4, label LBL_9 LBL_6: %25 = add i64 %16, 18 %26 = inttoptr i64 %25 to i8* %27 = load i8, i8* %26, align 1 %28 = and i8 %27, 4 %29 = icmp eq i8 %28, 0 %30 = icmp eq i1 %29, false br i1 %30, label LBL_7, label LBL_5 LBL_7: %31 = call i64 @FUNC(i64 16) %32 = add i64 %16, 25 %33 = inttoptr i64 %32 to i8* %34 = call i32 @strtoul(i8* %33, i8** null, i32 10) %35 = sext i32 %34 to i64 %36 = inttoptr i64 %31 to i64* store i64 %35, i64* %36, align 8 %37 = add i64 %31, 8 %38 = inttoptr i64 %37 to i32* store i32 1, i32* %38, align 4 %39 = call i64 @FUNC(i64 %31, i64 1, i64 0, i64* nonnull %sv_2) %40 = call i64 @FUNC(i64 16) %41 = inttoptr i64 %40 to i64* store i64 %31, i64* %41, align 8 %42 = inttoptr i64 %sv_0.0.ph8.reload to i64* store i64 %40, i64* %42, align 8 %43 = add i64 %40, 8 %44 = call %dirent* @readdir(%__dirstream* %4) %45 = icmp eq %dirent* %44, null %46 = icmp eq i1 %45, false store %dirent* %44, %dirent** %.in.reg2mem store i64 %43, i64* %sv_0.0.ph8.reg2mem store i64 %11, i64* %rcx.0.ph7.reg2mem store i64 %11, i64* %rcx.0.ph.lcssa.reg2mem store i64 %40, i64* %rdx.0.lcssa.reg2mem br i1 %46, label LBL_4.lr.ph, label LBL_9 LBL_8: %rcx.0.ph7.reload = load i64, i64* %rcx.0.ph7.reg2mem %sv_0.0.ph8.reload = load i64, i64* %sv_0.0.ph8.reg2mem %.in.reload = load %dirent*, %dirent** %.in.reg2mem store %dirent* %.in.reload, %dirent** %.in11.reg2mem br label LBL_4 LBL_9: %47 = call i32 @closedir(%__dirstream* %4) %48 = load i64, i64* %sv_2, align 8 %49 = icmp eq i64 %48, 0 %50 = icmp eq i1 %49, false %51 = load i64, i64* %sv_1, align 8 br i1 %50, label LBL_12, label LBL_10 LBL_10: %52 = icmp eq i64 %51, 0 %53 = icmp eq i1 %52, false store i64 %51, i64* %rax.0.reg2mem br i1 %53, label LBL_13, label LBL_11 LBL_11: %rdx.0.lcssa.reload = load i64, i64* %rdx.0.lcssa.reg2mem %rcx.0.ph.lcssa.reload = load i64, i64* %rcx.0.ph.lcssa.reg2mem %54 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_3, i64 0, i64 0), i64 %rdx.0.lcssa.reload, i64 %rcx.0.ph.lcssa.reload, i64 %2, i64 %1) %.pre = load i64, i64* %sv_1, align 8 store i64 %.pre, i64* %rax.0.reg2mem br label LBL_13 LBL_12: %55 = call i64 @FUNC(i64 %51) %56 = load i64, i64* %sv_2, align 8 %57 = call i64 @FUNC(i64 %3, i64 %56) store i64 0, i64* %rax.0.reg2mem br label LBL_13 LBL_13: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %51, { 2, 0, 1 } uselistorder %__dirstream* %4, { 2, 1, 3, 0, 4 } uselistorder i64* %sv_2, { 1, 2, 0, 3, 4 } uselistorder i64 %3, { 2, 1, 0 } uselistorder %dirent** %.in11.reg2mem, { 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @error_setg, { 1, 0 } uselistorder i64 (i64)* @g_malloc0, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder %dirent* null, { 1, 2, 0 } uselistorder %dirent* (%__dirstream*)* @readdir, { 1, 2, 0 } uselistorder label LBL_13, { 2, 1, 0, 3 } uselistorder label LBL_4.lr.ph, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
update_prepare_order_info_11116
update_prepare_order_info
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = bitcast i64* %arg2 to i32* store i32 0, i32* %2, align 4 %3 = add i64 %0, 4 %4 = inttoptr i64 %3 to i32* store i32 %arg3, i32* %4, align 4 %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i32* store i32 3, i32* %6, align 4 %7 = load i32, i32* %4, align 4 %8 = zext i32 %7 to i64 %9 = mul i64 %8, 4 %10 = add i64 %9, ptrtoint (i32** @gv_0 to i64) %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = add i32 %12, 2 %14 = call i64 @FUNC(i64 %1, i64 %0) %15 = trunc i64 %14 to i32 %16 = add i32 %13, %15 %17 = zext i32 %16 to i64 ret i64 %17 }
1
BinRealVul
av_tree_insert_16296
av_tree_insert
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %storemerge.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %0 = icmp eq i64 %arg1, 0 br i1 %0, label LBL_17, label LBL_1 LBL_1: %1 = trunc i64 %arg1 to i32 %sext = mul i64 %arg1, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = icmp eq i32 %1, 0 %4 = icmp eq i1 %3, false store i64 %arg2, i64* %sv_1.0.reg2mem store i64 %2, i64* %sv_0.0.reg2mem br i1 %4, label LBL_7, label LBL_2 LBL_2: %5 = icmp eq i64 %arg3, 0 store i64 %arg1, i64* %rax.0.reg2mem br i1 %5, label LBL_3, label LBL_18 LBL_3: %6 = add i64 %arg1, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_5, label LBL_4 LBL_4: %11 = add i64 %arg1, 16 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = icmp eq i64 %13, 0 br i1 %14, label LBL_6, label LBL_5 LBL_5: %15 = ptrtoint i64* %sv_3 to i64 %16 = zext i1 %9 to i64 %17 = mul i64 %16, 8 %18 = add i64 %17, %6 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = call i64 @FUNC(i64 %20, i64 %arg2, i64 0, i64* nonnull %sv_2) %22 = add i64 %15, -64 %23 = add i64 %22, %17 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = inttoptr i64 %arg1 to i64* store i64 %25, i64* %26, align 8 %27 = sext i1 %9 to i64 store i64 %20, i64* %sv_1.0.reg2mem store i64 %27, i64* %sv_0.0.reg2mem br label LBL_7 LBL_6: %28 = inttoptr i64 %arg4 to i64* store i64 %arg1, i64* %28, align 8 %29 = inttoptr i64 %arg1 to i64* store i64 0, i64* %29, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_18 LBL_7: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %30 = udiv i64 %sv_0.0.reload, 268435456 %31 = and i64 %30, 8 %32 = add i64 %31, %arg1 %33 = add i64 %32, 8 %34 = call i64 @FUNC(i64 %33, i64 %sv_1.0.reload, i64 %arg3, i64 %arg4) %35 = icmp eq i64 %34, 0 %36 = icmp eq i1 %35, false br i1 %36, label LBL_16, label LBL_8 LBL_8: %37 = trunc i64 %sv_0.0.reload to i32 %38 = icmp slt i32 %37, 0 %39 = icmp eq i64 %arg4, 0 %40 = icmp eq i1 %39, false %41 = icmp ne i1 %38, %40 %42 = zext i1 %41 to i32 %43 = add i64 %arg1, 24 %44 = inttoptr i64 %43 to i32* %45 = load i32, i32* %44, align 4 %46 = mul i32 %42, 2 %47 = add nsw i32 %46, -1 %48 = add i32 %47, %45 store i32 %48, i32* %44, align 4 %49 = urem i32 %48, 2 %50 = icmp eq i32 %49, 0 %51 = icmp eq i1 %50, false %52 = icmp eq i32 %48, 0 %or.cond = or i1 %52, %51 br i1 %or.cond, label LBL_8.LBL_15_crit_edge, label LBL_10 LBL_9: %.pre = add i64 %32, 32 %.pre2 = inttoptr i64 %.pre to i32* %.pre4 = load i32, i32* %.pre2, align 4 store i32 %.pre4, i32* %.reg2mem store i64 %arg4, i64* %rcx.0.reg2mem br label LBL_15 LBL_10: %53 = mul i32 %42, 8 %54 = zext i32 %53 to i64 %55 = add i64 %arg1, 8 %56 = add i64 %55, %54 %57 = inttoptr i64 %56 to i64* %58 = load i64, i64* %57, align 8 %59 = add i64 %58, 24 %60 = inttoptr i64 %59 to i32* %61 = load i32, i32* %60, align 4 %62 = mul i32 %61, 2 %63 = sub i32 0, %48 %64 = icmp eq i32 %62, %63 %65 = icmp eq i1 %64, false br i1 %65, label LBL_12, label LBL_11 LBL_11: %66 = xor i32 %53, 8 %67 = zext i32 %66 to i64 %68 = add nuw nsw i64 %67, 8 %69 = add i64 %58, %68 %70 = inttoptr i64 %69 to i64* %71 = load i64, i64* %70, align 8 %72 = inttoptr i64 %arg1 to i64* store i64 %71, i64* %72, align 8 %73 = load i64, i64* %57, align 8 %74 = add i64 %32, 16 %75 = add i64 %74, %54 %76 = inttoptr i64 %75 to i64* %77 = load i64, i64* %76, align 8 %78 = add i64 %73, %68 %79 = inttoptr i64 %78 to i64* store i64 %77, i64* %79, align 8 %80 = load i64, i64* %57, align 8 store i64 %80, i64* %76, align 8 %81 = add i64 %74, %67 %82 = inttoptr i64 %81 to i64* %83 = load i64, i64* %82, align 8 store i64 %83, i64* %57, align 8 store i64 %arg1, i64* %82, align 8 %84 = add i64 %32, 32 %85 = inttoptr i64 %84 to i32* %86 = load i32, i32* %85, align 4 %87 = icmp eq i32 %86, 0 %88 = icmp slt i32 %86, 0 %89 = icmp eq i1 %88, false %90 = icmp eq i1 %87, false %91 = icmp eq i1 %89, %90 %92 = inttoptr i64 %74 to i64* %93 = load i64, i64* %92, align 8 %94 = sext i1 %91 to i32 %95 = add i64 %93, 24 %96 = inttoptr i64 %95 to i32* store i32 %94, i32* %96, align 4 %97 = load i32, i32* %85, align 4 %98 = icmp slt i32 %97, 0 %99 = zext i1 %98 to i32 %100 = add i64 %32, 24 %101 = inttoptr i64 %100 to i64* %102 = load i64, i64* %101, align 8 %103 = add i64 %102, 24 %104 = inttoptr i64 %103 to i32* store i32 %99, i32* %104, align 4 store i32 0, i32* %85, align 4 store i32 0, i32* %.reg2mem store i64 %arg1, i64* %rcx.0.reg2mem br label LBL_15 LBL_12: %105 = inttoptr i64 %arg1 to i64* store i64 %58, i64* %105, align 8 %106 = load i64, i64* %57, align 8 %107 = xor i32 %53, 8 %108 = zext i32 %107 to i64 %109 = add nuw nsw i64 %108, 8 %110 = add i64 %109, %106 %111 = inttoptr i64 %110 to i64* %112 = load i64, i64* %111, align 8 store i64 %112, i64* %57, align 8 %113 = add i64 %32, 16 %114 = add i64 %113, %108 %115 = inttoptr i64 %114 to i64* store i64 %arg1, i64* %115, align 8 %116 = add i64 %32, 32 %117 = inttoptr i64 %116 to i32* %118 = load i32, i32* %117, align 4 %119 = icmp eq i32 %118, 0 store i32 0, i32* %storemerge.reg2mem br i1 %119, label LBL_13, label LBL_14 LBL_13: %120 = load i32, i32* %44, align 4 %121 = ashr i32 %120, 1 store i32 %121, i32* %storemerge.reg2mem br label LBL_14 LBL_14: %storemerge.reload = load i32, i32* %storemerge.reg2mem store i32 %storemerge.reload, i32* %44, align 4 %122 = sub nsw i32 0, %storemerge.reload store i32 %122, i32* %117, align 4 store i32 %122, i32* %.reg2mem store i64 %arg1, i64* %rcx.0.reg2mem br label LBL_15 LBL_15: %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %.reload = load i32, i32* %.reg2mem %123 = icmp eq i32 %.reload, 0 %124 = icmp eq i64 %rcx.0.reload, 0 %125 = icmp eq i1 %124, false %126 = icmp eq i1 %125, %123 store i64 %sv_1.0.reload, i64* %rax.0.reg2mem br i1 %126, label LBL_16, label LBL_18 LBL_16: store i64 %34, i64* %rax.0.reg2mem br label LBL_18 LBL_17: %127 = inttoptr i64 %arg4 to i64* store i64 0, i64* %127, align 8 call void @llvm.trap() unreachable LBL_18: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %storemerge.reload, { 1, 0 } uselistorder i64 %108, { 1, 0 } uselistorder i32 %86, { 1, 0 } uselistorder i64 %74, { 2, 0, 1 } uselistorder i64 %58, { 1, 0, 2 } uselistorder i64* %57, { 4, 3, 0, 1, 2, 5 } uselistorder i32 %53, { 1, 2, 0 } uselistorder i32 %48, { 1, 2, 0, 3 } uselistorder i32* %44, { 1, 0, 2, 3 } uselistorder i32 %42, { 1, 0 } uselistorder i64 %32, { 1, 2, 3, 4, 5, 0, 6 } uselistorder i1 %9, { 1, 0, 2 } uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rcx.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 } uselistorder i32 8, { 1, 2, 0 } uselistorder i32 2, { 0, 2, 1 } uselistorder i64 24, { 1, 0, 2, 3, 4 } uselistorder i64 8, { 3, 4, 1, 5, 2, 0, 6 } uselistorder i1 false, { 1, 2, 0, 3, 4, 5, 6, 7, 8 } uselistorder i32 0, { 6, 7, 1, 8, 0, 9, 2, 10, 11, 5, 4, 12, 3, 13 } uselistorder i64 32, { 1, 2, 0, 3 } uselistorder i64 %arg4, { 4, 0, 2, 3, 1 } uselistorder i64 %arg3, { 1, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder i64 %arg1, { 2, 13, 14, 1, 11, 12, 5, 15, 4, 6, 10, 7, 9, 8, 0, 3, 16, 17 } uselistorder label LBL_18, { 2, 0, 3, 1 } uselistorder label LBL_15, { 1, 2, 0 } uselistorder label LBL_14, { 1, 0 } }
1
BinRealVul
helper_rdhwr_synci_step_16273
helper_rdhwr_synci_step
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 uselistorder i64 %0, { 1, 0 } }
1
BinRealVul
read_password_226
read_password
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.ph.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0)) %2 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %3 = call i32 @fflush(%_IO_FILE* %2) %4 = add i64 %arg2, 4294967295 %5 = and i64 %4, 4294967295 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 %6 = sext i32 %sv_0.0.ph.reload to i64 %7 = icmp sgt i64 %5, %6 br label LBL_2 LBL_2: %8 = call i32 @getchar() %9 = icmp slt i32 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = add i64 %6, %0 %12 = inttoptr i64 %11 to i8* store i8 0, i8* %12, align 1 store i64 4294967295, i64* %storemerge.reg2mem br label LBL_8 LBL_4: %13 = icmp eq i32 %8, 10 br i1 %13, label LBL_7, label LBL_5 LBL_5: br i1 %7, label LBL_6, label LBL_2 LBL_6: %14 = add i32 %sv_0.0.ph.reload, 1 %15 = add i64 %6, %0 %16 = trunc i32 %8 to i8 %17 = inttoptr i64 %15 to i8* store i8 %16, i8* %17, align 1 store i32 %14, i32* %sv_0.0.ph.reg2mem br label LBL_1 LBL_7: %18 = add i64 %6, %0 %19 = inttoptr i64 %18 to i8* store i8 0, i8* %19, align 1 store i64 0, i64* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %6, { 0, 2, 1, 3 } uselistorder i32 %sv_0.0.ph.reload, { 1, 0 } uselistorder i32* %sv_0.0.ph.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i8 0, { 1, 2, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
gnttab_copy_release_buf_6057
gnttab_copy_release_buf
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = call i64 @FUNC(i64 %0) store i64 0, i64* %arg1, align 8 br label LBL_2 LBL_2: %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = icmp eq i32 %5, 0 br i1 %6, label LBL_4, label LBL_3 LBL_3: %7 = add i64 %0, 20 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = add i64 %0, 16 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = add i64 %0, 12 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = zext i32 %12 to i64 %17 = zext i32 %15 to i64 %18 = call i64 @FUNC(i64 %17, i64 %16, i32 %9) store i32 0, i32* %4, align 4 br label LBL_4 LBL_4: %19 = add i64 %0, 24 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = icmp eq i32 %21, 0 %.pre = add i64 %0, 32 %.pre1 = inttoptr i64 %.pre to i64* br i1 %22, label LBL_6, label LBL_5 LBL_5: %23 = load i64, i64* %.pre1, align 8 %24 = call i64 @FUNC(i64 %23) store i32 0, i32* %20, align 4 br label LBL_6 LBL_6: %25 = load i64, i64* %.pre1, align 8 %26 = icmp eq i64 %25, 0 store i64 0, i64* %rax.0.reg2mem br i1 %26, label LBL_8, label LBL_7 LBL_7: %27 = call i64 @FUNC(i64 %25) store i64 0, i64* %.pre1, align 8 store i64 %0, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 0, 1, 3, 7, 5, 6, 4, 2 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
blk_mq_alloc_tag_set_5330
blk_mq_alloc_tag_set
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem13 = alloca i32 %storemerge4.reg2mem = alloca i32 %.reg2mem11 = alloca i64 %.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_14 LBL_1: %5 = ptrtoint i32* %arg1 to i64 %6 = add i64 %5, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp ne i32 %8, 0 %10 = icmp slt i32 %8, 257 %or.cond = icmp eq i1 %9, %10 store i64 4294967274, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_2, label LBL_14 LBL_2: %11 = add i64 %5, 8 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = icmp ult i32 %13, %8 store i64 4294967274, i64* %rax.0.reg2mem br i1 %14, label LBL_3, label LBL_14 LBL_3: %15 = add i64 %5, 16 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = icmp eq i64 %19, 0 store i64 4294967274, i64* %rax.0.reg2mem br i1 %20, label LBL_14, label LBL_4 LBL_4: %21 = add i64 %17, 8 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = icmp eq i64 %23, 0 store i64 4294967274, i64* %rax.0.reg2mem br i1 %24, label LBL_14, label LBL_5 LBL_5: %25 = add i64 %17, 16 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = icmp eq i64 %27, 0 store i64 4294967274, i64* %rax.0.reg2mem br i1 %28, label LBL_14, label LBL_6 LBL_6: %29 = add i64 %17, 24 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = icmp eq i64 %31, 0 %33 = icmp eq i1 %32, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %33, label LBL_7, label LBL_14 LBL_7: %34 = add i64 %5, 12 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %sext = mul i64 %1, 4294967296 %37 = ashr exact i64 %sext, 29 %38 = zext i32 %36 to i64 %39 = call i64 @FUNC(i64 %37, i64 0, i64 %38) %40 = add i64 %5, 24 %41 = inttoptr i64 %40 to i64* store i64 %39, i64* %41, align 8 %42 = icmp eq i64 %39, 0 store i64 4294967284, i64* %rax.0.reg2mem br i1 %42, label LBL_14, label LBL_8 LBL_8: %43 = bitcast i64* %rdi to i32* %44 = load i32, i32* %43, align 8 %45 = icmp eq i32 %44, 0 store i64 %39, i64* %.reg2mem store i64 0, i64* %.reg2mem11 store i32 0, i32* %storemerge4.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %45, label LBL_14, label LBL_9 LBL_9: %storemerge4.reload = load i32, i32* %storemerge4.reg2mem %.reload12 = load i64, i64* %.reg2mem11 %.reload = load i64, i64* %.reg2mem %46 = mul i64 %.reload12, 8 %47 = add i64 %46, %.reload %48 = zext i32 %storemerge4.reload to i64 %49 = call i64 @FUNC(i64 %5, i64 %48) %50 = inttoptr i64 %47 to i64* store i64 %49, i64* %50, align 8 %51 = load i64, i64* %41, align 8 %52 = add i64 %51, %46 %53 = inttoptr i64 %52 to i64* %54 = load i64, i64* %53, align 8 %55 = icmp eq i64 %54, 0 br i1 %55, label LBL_10, label LBL_12 LBL_10: %56 = add i32 %storemerge4.reload, -1 %57 = icmp slt i32 %56, 0 %58 = icmp eq i1 %57, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %58, label LBL_11, label LBL_14 LBL_11: %59 = sext i32 %56 to i64 %60 = mul i64 %59, 8 %61 = add i64 %60, %51 %62 = inttoptr i64 %61 to i64* %63 = load i64, i64* %62, align 8 %64 = call i64 @FUNC(i64 %5, i64 %63, i32 %56) %65 = add i32 %storemerge4.reload, -2 %66 = icmp slt i32 %65, 0 %67 = icmp eq i1 %66, false store i32 %65, i32* %.reg2mem13 store i64 4294967284, i64* %rax.0.reg2mem br i1 %67, label LBL_13, label LBL_14 LBL_12: %68 = add i32 %storemerge4.reload, 1 %69 = load i32, i32* %43, align 8 %70 = zext i32 %69 to i64 %71 = sext i32 %68 to i64 %72 = icmp slt i64 %71, %70 store i64 %51, i64* %.reg2mem store i64 %71, i64* %.reg2mem11 store i32 %68, i32* %storemerge4.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %72, label LBL_9, label LBL_14 LBL_13: %.reload14 = load i32, i32* %.reg2mem13 %.pre = load i64, i64* %41, align 8 %73 = sext i32 %.reload14 to i64 %74 = mul i64 %73, 8 %75 = add i64 %74, %.pre %76 = inttoptr i64 %75 to i64* %77 = load i64, i64* %76, align 8 %78 = call i64 @FUNC(i64 %5, i64 %77, i32 %.reload14) %79 = add i32 %.reload14, -1 %80 = icmp slt i32 %79, 0 %81 = icmp eq i1 %80, false store i32 %79, i32* %.reg2mem13 store i64 4294967284, i64* %rax.0.reg2mem br i1 %81, label LBL_13, label LBL_14 LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %46, { 1, 0 } uselistorder i32 %storemerge4.reload, { 0, 3, 2, 1 } uselistorder i32* %43, { 1, 0 } uselistorder i32 %8, { 1, 0, 2 } uselistorder i64 %5, { 1, 0, 2, 3, 4, 5, 6, 7 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem11, { 2, 0, 1 } uselistorder i32* %storemerge4.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem13, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2, 5, 4, 6, 10, 9, 8, 7, 11, 12, 13 } uselistorder i64 (i64, i64, i32)* @blk_mq_free_rq_map, { 1, 0 } uselistorder i32 -1, { 1, 0 } uselistorder i64 4294967284, { 1, 0, 2, 3 } uselistorder i64 4294967274, { 3, 2, 1, 0, 4, 5, 6 } uselistorder i1 false, { 2, 0, 1, 3, 4 } uselistorder i32 0, { 5, 1, 3, 0, 2, 6, 7, 4 } uselistorder label LBL_14, { 2, 0, 1, 4, 3, 6, 10, 9, 8, 7, 5, 11, 12 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_9, { 1, 0 } }
0
BinRealVul
im_vips2dz_19053
im_vips2dz
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i8* %sv_1.0.reg2mem = alloca i64 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %sv_4 = alloca i8*, align 8 %sv_5 = alloca i64, align 8 %0 = call i64 @FUNC(i64* nonnull %sv_5, i64 %arg2, i64 4096) %1 = bitcast i64* %sv_5 to i8* %2 = call i8* @strchr(i8* nonnull %1, i32 58) store i8* %2, i8** %sv_4, align 8 %3 = icmp eq i8* %2, null br i1 %3, label LBL_2, label LBL_1 LBL_1: store i8 0, i8* %2, align 1 %4 = load i8*, i8** %sv_4, align 8 %5 = ptrtoint i8* %4 to i64 %6 = add i64 %5, 1 %7 = call i64 @FUNC(i64* nonnull %sv_3, i64 %6, i64 4096) br label LBL_2 LBL_2: %8 = bitcast i64* %sv_2 to i8* %9 = bitcast i64* %sv_3 to i8* %10 = call i8* @strcpy(i8* nonnull %8, i8* nonnull %9) store i8* %8, i8** %sv_4, align 8 %11 = bitcast i8** %sv_4 to i64* %12 = call i64 @FUNC(i64* nonnull %11) %13 = icmp eq i64 %12, 0 store i64 0, i64* %sv_1.0.reg2mem br i1 %13, label LBL_5, label LBL_3 LBL_3: %14 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i64 1, i64 %12) %15 = trunc i64 %14 to i32 %16 = icmp slt i32 %15, 0 %17 = icmp eq i1 %16, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %17, label LBL_4, label LBL_18 LBL_4: %phitmp = and i64 %14, 4294967295 store i64 %phitmp, i64* %sv_1.0.reg2mem br label LBL_5 LBL_5: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %18 = call i64 @FUNC(i64* nonnull %11) %19 = icmp eq i64 %18, 0 store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i8** %sv_0.0.reg2mem br i1 %19, label LBL_7, label LBL_6 LBL_6: %20 = call i64 @FUNC(i64 %18) %21 = inttoptr i64 %20 to i8* store i8* %21, i8** %sv_0.0.reg2mem br label LBL_7 LBL_7: %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem %22 = call i64 @FUNC(i64* nonnull %11) %23 = icmp eq i64 %22, 0 br i1 %23, label LBL_9, label LBL_8 LBL_8: %24 = inttoptr i64 %22 to i8* %25 = call i32 @atoi(i8* %24) br label LBL_9 LBL_9: %26 = call i64 @FUNC(i64* nonnull %11) %27 = icmp eq i64 %26, 0 br i1 %27, label LBL_11, label LBL_10 LBL_10: %28 = inttoptr i64 %26 to i8* %29 = call i32 @atoi(i8* %28) br label LBL_11 LBL_11: %30 = call i64 @FUNC(i64* nonnull %11) %31 = icmp eq i64 %30, 0 br i1 %31, label LBL_13, label LBL_12 LBL_12: %32 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i64 1, i64 %30) %33 = trunc i64 %32 to i32 %34 = icmp slt i32 %33, 0 %35 = icmp eq i1 %34, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %35, label LBL_13, label LBL_18 LBL_13: %36 = call i64 @FUNC(i64* nonnull %11) %37 = icmp eq i64 %36, 0 br i1 %37, label LBL_15, label LBL_14 LBL_14: %38 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0), i64 %36) br label LBL_15 LBL_15: %39 = call i64 @FUNC(i64* nonnull %11) %40 = icmp eq i64 %39, 0 br i1 %40, label LBL_17, label LBL_16 LBL_16: %41 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i64 1, i64 %39) %42 = trunc i64 %41 to i32 %43 = icmp slt i32 %42, 0 %44 = icmp eq i1 %43, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %44, label LBL_17, label LBL_18 LBL_17: %45 = ptrtoint i8* %sv_0.0.reload to i64 %46 = call i64 @FUNC(i64 %arg1, i64* nonnull %sv_5, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0), i64 %sv_1.0.reload, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_4, i64 0, i64 0), i64 %45) %47 = trunc i64 %46 to i32 %48 = icmp eq i32 %47, 0 %. = select i1 %48, i64 0, i64 4294967295 store i64 %., 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 i8** %sv_4, { 3, 2, 1, 0 } uselistorder i64 (i8*, i64, i64)* @vips_enum_from_nick, { 2, 1, 0 } uselistorder i64 (i64*)* @im_getnextoption, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i8 0, { 1, 2, 0 } uselistorder i64 (i64*, i64, i64)* @im_strncpy, { 1, 0 } }
1
BinRealVul
drm_gtf_modes_for_range_4976
drm_gtf_modes_for_range
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %sv_0.1.lcssa.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_0.12.reg2mem = alloca i32 %storemerge13.reg2mem = alloca i32 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i64* %arg2 to i64 %2 = ptrtoint i64* %arg1 to i64 %3 = load i32, i32* @gv_0, align 4 %4 = icmp eq i32 %3, 0 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge13.reg2mem store i32 0, i32* %sv_0.12.reg2mem store i32 0, i32* %sv_0.1.lcssa.reg2mem br i1 %4, label LBL_6, label LBL_1 LBL_1: %sv_0.12.reload = load i32, i32* %sv_0.12.reg2mem %storemerge13.reload = load i32, i32* %storemerge13.reg2mem %.reload = load i64, i64* %.reg2mem %5 = load i64, i64* @gv_1, align 8 %6 = mul nsw i64 %.reload, 12 %7 = add i64 %5, %6 %8 = add i64 %7, 8 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = add i64 %7, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = inttoptr i64 %7 to i32* %15 = load i32, i32* %14, align 4 %16 = call i64 @FUNC(i64 %2, i32 %15, i32 %13, i32 %10, i64 0, i64 0, i32 %storemerge13.reload) %17 = icmp eq i64 %16, 0 %18 = icmp eq i1 %17, false store i32 %sv_0.12.reload, i32* %sv_0.1.lcssa.reg2mem br i1 %18, label LBL_2, label LBL_6 LBL_2: %19 = call i64 @FUNC(i64 %16, i64 %1, i64 %0) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_4, label LBL_3 LBL_3: %23 = call i64 @FUNC(i64 %2, i64 %16) store i32 %sv_0.12.reload, i32* %sv_0.0.reg2mem br label LBL_5 LBL_4: %24 = call i64 @FUNC(i64 %2, i64 %16) %25 = add i32 %sv_0.12.reload, 1 store i32 %25, i32* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %26 = add i32 %storemerge13.reload, 1 %27 = load i32, i32* @gv_0, align 4 %28 = zext i32 %27 to i64 %29 = sext i32 %26 to i64 %30 = icmp slt i64 %29, %28 store i64 %29, i64* %.reg2mem store i32 %26, i32* %storemerge13.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.12.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem br i1 %30, label LBL_1, label LBL_6 LBL_6: %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem %storemerge = zext i32 %sv_0.1.lcssa.reload to i64 ret i64 %storemerge uselistorder i32 %sv_0.12.reload, { 2, 1, 0 } uselistorder i64 %2, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge13.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.12.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder label LBL_6, { 1, 0, 2 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
nbd_send_reply_16099
nbd_send_reply
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 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %3 = call i64 @FUNC(i64* nonnull %sv_2, i64 1732535960) %4 = and i64 %1, 4294967295 %5 = call i64 @FUNC(i64* nonnull %sv_1, i64 %4) %6 = add i64 %2, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64* nonnull %sv_0, i64 %8) %10 = call i32 @puts(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0)) %11 = and i64 %arg1, 4294967295 %12 = call i64 @FUNC(i64 %11, i64* nonnull %sv_2, i64 16) %13 = icmp eq i64 %12, 16 store i64 0, i64* %storemerge.reg2mem br i1 %13, label LBL_2, label LBL_1 LBL_1: %14 = call i32* @__errno_location() %15 = load i32, i32* %14, align 4 %16 = call i8* @strerror(i32 %15) %17 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %18 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %17, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_3, i64 0, i64 0), i8* %16) %19 = call i32* @__errno_location() store i32 22, i32* %19, align 4 store i64 4294967295, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32* ()* @__errno_location, { 1, 0 } uselistorder i64 4294967295, { 0, 2, 1 } uselistorder i64 (i64*, i64)* @cpu_to_be32w, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
get_page_3648
get_page
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %1) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %6 = call i32 @fwrite(i64* bitcast ([16 x i8]* @gv_1 to i64*), i32 1, i32 15, %_IO_FILE* %5) br label LBL_2 LBL_2: %7 = call i64 @FUNC(i64 %1) ret i64 %7 }
0
BinRealVul
check_buf_options_8049
check_buf_options
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = add i64 %0, 8 %3 = call i64 @FUNC(i64 %2) %4 = add i64 %0, 16 %5 = call i64 @FUNC(i64 %4) %6 = add i64 %0, 24 %7 = call i64 @FUNC(i64 %6) %8 = add i64 %0, 32 %9 = call i64 @FUNC(i64 %8) %10 = add i64 %0, 40 %11 = call i64 @FUNC(i64 %10) %12 = add i64 %0, 48 %13 = call i64 @FUNC(i64 %12) %14 = add i64 %0, 56 %15 = call i64 @FUNC(i64 %14) %16 = add i64 %0, 64 %17 = call i64 @FUNC(i64 %16) %18 = add i64 %0, 72 %19 = call i64 @FUNC(i64 %18) %20 = add i64 %0, 80 %21 = call i64 @FUNC(i64 %20) %22 = add i64 %0, 88 %23 = call i64 @FUNC(i64 %22) %24 = add i64 %0, 96 %25 = call i64 @FUNC(i64 %24) %26 = add i64 %0, 104 %27 = call i64 @FUNC(i64 %26) %28 = add i64 %0, 112 %29 = call i64 @FUNC(i64 %28) %30 = add i64 %0, 120 %31 = call i64 @FUNC(i64 %30) %32 = add i64 %0, 128 %33 = call i64 @FUNC(i64 %32) %34 = add i64 %0, 136 %35 = call i64 @FUNC(i64 %34) %36 = add i64 %0, 144 %37 = call i64 @FUNC(i64 %36) %38 = add i64 %0, 152 %39 = call i64 @FUNC(i64 %38) %40 = add i64 %0, 160 %41 = call i64 @FUNC(i64 %40) %42 = add i64 %0, 168 %43 = call i64 @FUNC(i64 %42) %44 = add i64 %0, 176 %45 = call i64 @FUNC(i64 %44) %46 = add i64 %0, 184 %47 = call i64 @FUNC(i64 %46) %48 = add i64 %0, 192 %49 = call i64 @FUNC(i64 %48) %50 = add i64 %0, 200 %51 = call i64 @FUNC(i64 %50) %52 = add i64 %0, 208 %53 = call i64 @FUNC(i64 %52) %54 = call i64 @FUNC(i64 %0) %55 = add i64 %0, 216 %56 = call i64 @FUNC(i64 %55) %57 = add i64 %0, 224 %58 = call i64 @FUNC(i64 %57) %59 = add i64 %0, 232 %60 = call i64 @FUNC(i64 %59) %61 = add i64 %0, 240 %62 = call i64 @FUNC(i64 %61) %63 = add i64 %0, 248 %64 = call i64 @FUNC(i64 %63) %65 = add i64 %0, 256 %66 = call i64 @FUNC(i64 %65) %67 = add i64 %0, 264 %68 = call i64 @FUNC(i64 %67) %69 = add i64 %0, 272 %70 = call i64 @FUNC(i64 %69) %71 = add i64 %0, 280 %72 = call i64 @FUNC(i64 %71) %73 = add i64 %0, 288 %74 = call i64 @FUNC(i64 %73) %75 = add i64 %0, 296 %76 = call i64 @FUNC(i64 %75) %77 = add i64 %0, 304 %78 = call i64 @FUNC(i64 %77) %79 = add i64 %0, 312 %80 = call i64 @FUNC(i64 %79) %81 = add i64 %0, 320 %82 = call i64 @FUNC(i64 %81) %83 = add i64 %0, 328 %84 = call i64 @FUNC(i64 %83) %85 = add i64 %0, 336 %86 = call i64 @FUNC(i64 %85) %87 = add i64 %0, 344 %88 = call i64 @FUNC(i64 %87) ret i64 %88 uselistorder i64 %0, { 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 44 } uselistorder i64 (i64)* @check_string_option, { 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } }
0
BinRealVul
gup_huge_pgd_11669
gup_huge_pgd
define i64 @FUNC(i64 %arg1, i64* %arg2, i64 %arg3, i64 %arg4, i32 %arg5, i64* %arg6, i32* %arg7) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.12.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %0 = zext i32 %arg5 to i64 %1 = call i64 @FUNC(i64 %arg1, i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_9 LBL_1: %5 = ptrtoint i64* %arg6 to i64 %6 = call i64 @FUNC(i64 %arg1) %7 = call i64 @FUNC(i64 %arg1) %.pre = load i32, i32* %arg7, align 4 store i32 %.pre, i32* %.reg2mem store i64 %arg3, i64* %sv_1.0.reg2mem store i32 0, i32* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %.reload = load i32, i32* %.reg2mem %8 = sext i32 %.reload to i64 %9 = mul i64 %8, 8 %10 = add i64 %9, %5 %11 = inttoptr i64 %10 to i64* store i64 %7, i64* %11, align 8 %12 = load i32, i32* %arg7, align 4 %13 = add i32 %12, 1 store i32 %13, i32* %arg7, align 4 %14 = add i32 %sv_0.0.reload, 1 %15 = add i64 %sv_1.0.reload, 4096 %16 = icmp eq i64 %15, %arg4 %17 = icmp eq i1 %16, false store i32 %13, i32* %.reg2mem store i64 %15, i64* %sv_1.0.reg2mem store i32 %14, i32* %sv_0.0.reg2mem br i1 %17, label LBL_2, label LBL_3 LBL_3: %18 = call i64 @FUNC(i64 %arg1) %19 = call i64 @FUNC(i64 %18) %20 = zext i32 %14 to i64 %21 = call i64 @FUNC(i64 %19, i64 %20) %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 0 %24 = icmp eq i1 %23, false br i1 %24, label LBL_5, label LBL_4 LBL_4: %25 = load i32, i32* %arg7, align 4 %26 = sub i32 %25, %14 store i32 %26, i32* %arg7, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_9 LBL_5: %27 = call i64 @FUNC(i64 %arg1) %28 = call i64 @FUNC(i64 %20) %29 = icmp eq i64 %27, %28 %30 = icmp eq i1 %29, false %31 = icmp eq i1 %30, false br i1 %31, label LBL_8, label LBL_6 LBL_6: %32 = load i32, i32* %arg7, align 4 %33 = sub i32 %32, %14 store i32 %33, i32* %arg7, align 4 %34 = icmp eq i32 %14, 0 %35 = icmp eq i1 %34, false store i32 %14, i32* %sv_0.12.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %35, label LBL_7, label LBL_9 LBL_7: %sv_0.12.reload = load i32, i32* %sv_0.12.reg2mem %36 = add i32 %sv_0.12.reload, -1 %37 = call i64 @FUNC(i64 %19) %38 = icmp eq i32 %36, 0 %39 = icmp eq i1 %38, false store i32 %36, i32* %sv_0.12.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %39, label LBL_7, label LBL_9 LBL_8: %40 = call i64 @FUNC(i64 %19) store i64 1, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %19, { 1, 0, 2 } uselistorder i32 %14, { 0, 5, 3, 2, 4, 1 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.12.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 4, 3 } uselistorder i64 (i64)* @pgd_val, { 1, 0 } uselistorder i64 (i64)* @pgd_page, { 1, 0 } uselistorder i1 false, { 2, 0, 1, 3, 4, 5, 6 } uselistorder i32* %arg7, { 4, 3, 2, 1, 6, 5, 0 } uselistorder i64 %arg1, { 0, 1, 3, 2, 4 } uselistorder label LBL_9, { 3, 0, 1, 4, 2 } uselistorder label LBL_7, { 1, 0 } }
1
BinRealVul
ap_query_queue_10154
ap_query_queue
define i64 @FUNC(i64 %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %sv_0.2.reg2mem = alloca i64 %storemerge4.reg2mem = alloca i32 %sv_1 = alloca i32, align 4 %sv_2 = alloca i32, align 4 %0 = and i64 %arg1, 4294967295 %1 = bitcast i32* %sv_1 to i64* %2 = bitcast i32* %sv_2 to i64* store i32 0, i32* %storemerge4.reg2mem br label LBL_1 LBL_1: %3 = call i64 @FUNC(i64 %0, i64* nonnull %1, i64* nonnull %2) %4 = and i64 %3, 4294967295 store i64 %4, i64* @0, align 8 %trunc = trunc i64 %3 to i32 store i64 4294967277, i64* %sv_0.2.reg2mem store i64 4294967277, i64* %sv_0.2.reg2mem store i64 4294967277, i64* %sv_0.2.reg2mem store i64 4294967277, i64* %sv_0.2.reg2mem switch i32 %trunc, label LBL_3 [ i32 0, label LBL_2 i32 1, label LBL_7 i32 2, label LBL_4 i32 3, label LBL_7 i32 4, label LBL_7 i32 5, label LBL_7 i32 6, label LBL_4 i32 7, label LBL_4 ] LBL_2: %5 = load i32, i32* %sv_1, align 4 %6 = add i32 %5, 1 %7 = bitcast i64* %arg2 to i32* store i32 %6, i32* %7, align 4 %8 = load i32, i32* %sv_2, align 4 %9 = bitcast i64* %arg3 to i32* store i32 %8, i32* %9, align 4 store i64 0, i64* %sv_0.2.reg2mem br label LBL_7 LBL_3: %10 = call i64 @FUNC() unreachable LBL_4: %storemerge4.reload = load i32, i32* %storemerge4.reg2mem %11 = icmp ugt i32 %storemerge4.reload, 8 br i1 %11, label LBL_6, label LBL_5 LBL_5: %12 = call i64 @FUNC(i64 5) br label LBL_6 LBL_6: %13 = add nuw nsw i32 %storemerge4.reload, 1 %14 = icmp ult i32 %13, 10 store i32 %13, i32* %storemerge4.reg2mem store i64 4294967280, i64* %sv_0.2.reg2mem br i1 %14, label LBL_1, label LBL_7 LBL_7: %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem ret i64 %sv_0.2.reload uselistorder i32* %storemerge4.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.2.reg2mem, { 0, 5, 6, 1, 2, 3, 4 } uselistorder i32 0, { 1, 0 } uselistorder label LBL_7, { 4, 5, 3, 2, 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
pc_dimm_realize_17209
pc_dimm_realize
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg2 to i64 %6 = icmp eq i64* %arg1, null %7 = icmp eq i1 %6, false br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1) store i64 %8, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %9 = load i32, i32* inttoptr (i64 4210716 to i32*), align 4 %10 = icmp eq i32 %9, 0 store i64 0, i64* %rax.0.reg2mem br i1 %10, label LBL_5, label LBL_3 LBL_3: %11 = ptrtoint i64* %arg1 to i64 %12 = add i64 %11, 8 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = load i32, i32* @gv_1, align 4 %16 = zext i32 %15 to i64 %17 = icmp ult i32 %14, %15 store i64 %16, i64* %rax.0.reg2mem br i1 %17, label LBL_5, label LBL_4 LBL_4: %18 = zext i32 %14 to i64 %19 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([77 x i8], [77 x i8]* @gv_2, i64 0, i64 0), i64 %18, i64 %16, i64 %2, i64 %1) store i64 %19, 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 %16, { 1, 0 } uselistorder i64 %5, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 4, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @error_setg, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } }
1
BinRealVul
mxf_read_primer_pack_1678
mxf_read_primer_pack
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 18 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %0, i64 0, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %6 = and i64 %2, 4294967295 %7 = and i64 %1, 4294967295 %8 = mul nuw i64 %6, %7 %9 = icmp ugt i64 %8, 4294967295 %10 = icmp eq i1 %9, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %10, label LBL_3, label LBL_5 LBL_3: %11 = ptrtoint i64* %arg1 to i64 %12 = trunc i64 %1 to i32 %13 = add i64 %11, 8 %14 = inttoptr i64 %13 to i32* store i32 %12, i32* %14, align 4 %15 = mul i64 %2, %1 %sext = mul i64 %15, 4294967296 %16 = ashr exact i64 %sext, 32 %17 = call i64 @FUNC(i64 %16) %18 = add i64 %11, 16 %19 = inttoptr i64 %18 to i64* store i64 %17, i64* %19, align 8 %20 = icmp eq i64 %17, 0 %21 = icmp eq i1 %20, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %21, label LBL_4, label LBL_5 LBL_4: %22 = and i64 %15, 4294967295 %23 = call i64 @FUNC(i64 %0, i64 %17, i64 %22) store i64 0, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %17, { 1, 0, 2 } uselistorder i64 %15, { 1, 0 } uselistorder i64 %1, { 0, 2, 1 } uselistorder i64 %0, { 1, 0, 2, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i64 4294967295, { 3, 0, 1, 6, 4, 5, 2 } uselistorder i64 (i64)* @get_be32, { 1, 0 } uselistorder label LBL_5, { 2, 0, 1, 3 } }
0
BinRealVul
http_send_data_14367
http_send_data
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* %5 = add i64 %2, 16 %6 = inttoptr i64 %5 to i64* %7 = trunc i64 %1 to i32 br label LBL_3 LBL_1: %8 = call i64 @FUNC(i64 %2, i64 %arg2) %9 = trunc i64 %8 to i32 %10 = icmp slt i32 %9, 0 %11 = icmp eq i1 %10, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %11, label LBL_2, label LBL_10 LBL_2: %12 = icmp eq i32 %9, 0 %13 = icmp eq i1 %12, false store i64 0, i64* %rax.0.reg2mem br i1 %13, label LBL_10, label LBL_3 LBL_3: %14 = load i64, i64* %4, align 8 %15 = load i64, i64* %6, align 8 %16 = icmp ugt i64 %15, %14 %17 = icmp eq i1 %16, false br i1 %17, label LBL_1, label LBL_4 LBL_4: %18 = sub i64 %15, %14 %19 = inttoptr i64 %14 to i64* %20 = trunc i64 %18 to i32 %21 = call i32 @write(i32 %7, i64* %19, i32 %20) %22 = icmp slt i32 %21, 0 %23 = icmp eq i1 %22, false br i1 %23, label LBL_7, label LBL_5 LBL_5: %24 = call i32* @__errno_location() %25 = load i32, i32* %24, align 4 %26 = icmp eq i32 %25, 11 br i1 %26, label LBL_9, label LBL_6 LBL_6: %27 = call i32* @__errno_location() %28 = load i32, i32* %27, align 4 %29 = icmp eq i32 %28, 4 store i64 4294967295, i64* %rax.0.reg2mem br i1 %29, label LBL_9, label LBL_10 LBL_7: %30 = load i64, i64* %4, align 8 %31 = sext i32 %21 to i64 %32 = add i64 %30, %31 store i64 %32, i64* %4, align 8 %33 = add i64 %2, 24 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = add i32 %35, %21 store i32 %36, i32* %34, align 4 %37 = add i64 %2, 32 %38 = inttoptr i64 %37 to i64* %39 = load i64, i64* %38, align 8 %40 = icmp eq i64 %39, 0 br i1 %40, label LBL_9, label LBL_8 LBL_8: %41 = inttoptr i64 %39 to i32* %42 = load i32, i32* %41, align 4 %43 = add i32 %42, %21 store i32 %43, i32* %41, align 4 br label LBL_9 LBL_9: store i64 0, i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %2, { 0, 1, 4, 3, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 } uselistorder i64 4294967295, { 1, 0 } uselistorder i1 false, { 2, 3, 0, 1 } uselistorder i32 0, { 2, 0, 1 } uselistorder label LBL_10, { 3, 2, 0, 1 } }
1
BinRealVul
opts_visitor_new_14076
opts_visitor_new
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 120) %2 = inttoptr i64 %1 to i32* store i32 1, i32* %2, align 4 %3 = add i64 %1, 8 %4 = inttoptr i64 %3 to i64* store i64 4198726, i64* %4, align 8 %5 = add i64 %1, 16 %6 = inttoptr i64 %5 to i64* store i64 4198733, i64* %6, align 8 %7 = add i64 %1, 24 %8 = inttoptr i64 %7 to i64* store i64 4198740, i64* %8, align 8 %9 = add i64 %1, 32 %10 = inttoptr i64 %9 to i64* store i64 4198747, i64* %10, align 8 %11 = add i64 %1, 40 %12 = inttoptr i64 %11 to i64* store i64 4198754, i64* %12, align 8 %13 = add i64 %1, 48 %14 = inttoptr i64 %13 to i64* store i64 4198761, i64* %14, align 8 %15 = add i64 %1, 56 %16 = inttoptr i64 %15 to i64* store i64 4198768, i64* %16, align 8 %17 = add i64 %1, 64 %18 = inttoptr i64 %17 to i64* store i64 4198775, i64* %18, align 8 %19 = add i64 %1, 72 %20 = inttoptr i64 %19 to i64* store i64 4198782, i64* %20, align 8 %21 = add i64 %1, 80 %22 = inttoptr i64 %21 to i64* store i64 4198789, i64* %22, align 8 %23 = add i64 %1, 88 %24 = inttoptr i64 %23 to i64* store i64 4198796, i64* %24, align 8 %25 = add i64 %1, 96 %26 = inttoptr i64 %25 to i64* store i64 4198803, i64* %26, align 8 %27 = add i64 %1, 104 %28 = inttoptr i64 %27 to i64* store i64 4198810, i64* %28, align 8 %29 = add i64 %1, 112 %30 = inttoptr i64 %29 to i64* store i64 %0, i64* %30, align 8 ret i64 %1 }
1