dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
BinRealVul
test_flush_nodev_16750
test_flush_nodev
define i64 @FUNC() local_unnamed_addr { LBL_0: %sv_0 = alloca i64, align 8 %0 = call i64 @FUNC(i64 4202512) %1 = call i64 @FUNC(i64* nonnull %sv_0, i64* nonnull %sv_0) store i64 %1, i64* %sv_0, align 8 %2 = call i64 @FUNC(i64 %1, i64 0, i64 0) %3 = load i64, i64* %sv_0, align 8 %4 = call i64 @FUNC(i64 %3, i64 1, i64 2) %5 = call i64 @FUNC() ret i64 %5 uselistorder i64* %sv_0, { 2, 3, 0, 1 } uselistorder i64 (i64, i64, i64)* @qpci_io_writeb, { 1, 0 } uselistorder i32 1, { 3, 2, 1, 0 } }
1
BinRealVul
calc_crc_9713
calc_crc
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.2.lcssa.reg2mem = alloca i64 %sv_0.13.reg2mem = alloca i32 %storemerge24.reg2mem = alloca i32 %sv_0.25.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %0 = trunc i64 %arg2 to i32 %1 = icmp sgt i32 %0, 0 store i64 0, i64* %sv_0.2.lcssa.reg2mem br i1 %1, label LBL_1, label LBL_6 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %wide.trip.count = and i64 %arg2, 4294967295 store i64 0, i64* %indvars.iv.reg2mem store i32 -1, i32* %sv_0.25.reg2mem br label LBL_2 LBL_2: %sv_0.25.reload = load i32, i32* %sv_0.25.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %3 = add i64 %indvars.iv.reload, %2 %4 = inttoptr i64 %3 to i8* %5 = load i8, i8* %4, align 1 %6 = zext i8 %5 to i32 %7 = xor i32 %sv_0.25.reload, %6 store i32 0, i32* %storemerge24.reg2mem store i32 %7, i32* %sv_0.13.reg2mem br label LBL_3 LBL_3: %sv_0.13.reload = load i32, i32* %sv_0.13.reg2mem %storemerge24.reload = load i32, i32* %storemerge24.reg2mem %8 = urem i32 %sv_0.13.reload, 2 %9 = udiv i32 %sv_0.13.reload, 2 %10 = icmp eq i32 %8, 0 %11 = xor i32 %9, -306674912 %spec.select = select i1 %10, i32 %9, i32 %11 %12 = add nuw nsw i32 %storemerge24.reload, 1 %exitcond = icmp eq i32 %12, 8 store i32 %12, i32* %storemerge24.reg2mem store i32 %spec.select, i32* %sv_0.13.reg2mem br i1 %exitcond, label LBL_4, label LBL_3 LBL_4: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond8 = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %spec.select, i32* %sv_0.25.reg2mem br i1 %exitcond8, label LBL_5, label LBL_2 LBL_5: %13 = sub i32 0, %spec.select %14 = sub i32 %13, 1 %phitmp7 = zext i32 %14 to i64 store i64 %phitmp7, i64* %sv_0.2.lcssa.reg2mem br label LBL_6 LBL_6: %sv_0.2.lcssa.reload = load i64, i64* %sv_0.2.lcssa.reg2mem ret i64 %sv_0.2.lcssa.reload uselistorder i32 %spec.select, { 2, 1, 0 } uselistorder i32 %9, { 1, 0 } uselistorder i32 %sv_0.13.reload, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.25.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge24.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.13.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.2.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 1, 3, 0, 2 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
ext4_xattr_make_inode_space_4378
ext4_xattr_make_inode_space
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i32 %arg4, i64 %arg5, i64 %arg6, i64* %arg7) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.010.reg2mem = alloca i64 %sv_1.012.reg2mem = alloca i64 %sv_2.1.reg2mem = alloca i32 %sv_3.2.reg2mem = alloca i64 %sv_4.0.reg2mem = alloca i32 %sv_5.0.reg2mem = alloca i64 %sv_3.0.reg2mem = alloca i64 %.reg2mem22 = alloca i8 %sv_2.0.reg2mem = alloca i32 %.reg2mem20 = alloca i8 %sv_3.12.reg2mem = alloca i64 %sv_5.14.reg2mem = alloca i64 %sv_4.16.reg2mem = alloca i32 %storemerge8.reg2mem = alloca i64 %.reg2mem18 = alloca i8* %.reg2mem = alloca i8 %0 = sext i32 %arg4 to i64 %1 = icmp ugt i64 %0, %arg5 store i64 0, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_18 LBL_1: %2 = ptrtoint i64* %arg3 to i64 %3 = ptrtoint i64* %arg2 to i64 %4 = ptrtoint i64* %arg1 to i64 %5 = bitcast i64* %arg2 to i8* %6 = bitcast i64* %arg7 to i32* store i64 %arg6, i64* %sv_1.012.reg2mem store i64 %arg5, i64* %sv_0.010.reg2mem br label LBL_17 LBL_2: %sv_3.12.reload = load i64, i64* %sv_3.12.reg2mem %sv_5.14.reload = load i64, i64* %sv_5.14.reg2mem %sv_4.16.reload = load i32, i32* %sv_4.16.reg2mem %storemerge8.reload = load i64, i64* %storemerge8.reg2mem %.reload = load i8, i8* %.reg2mem %7 = icmp eq i8 %.reload, 4 %8 = icmp eq i1 %7, false store i8 %.reload, i8* %.reg2mem20 br i1 %8, label LBL_5, label LBL_3 LBL_3: %9 = add i64 %storemerge8.reload, 1 %10 = inttoptr i64 %9 to i8* %11 = load i8, i8* %10, align 1 %12 = icmp eq i8 %11, 0 %13 = icmp eq i1 %12, false store i8 %.reload, i8* %.reg2mem20 br i1 %13, label LBL_5, label LBL_4 LBL_4: %.reload19 = load i8*, i8** %.reg2mem18 %14 = add i64 %storemerge8.reload, 12 %15 = inttoptr i64 %14 to i64* %16 = call i32 @memcmp(i64* %15, i64* bitcast ([5 x i8]* @gv_0 to i64*), i32 4) %17 = icmp eq i32 %16, 0 %.pre16 = load i8, i8* %.reload19, align 1 store i8 %.pre16, i8* %.reg2mem20 store i8 %.pre16, i8* %.reg2mem22 store i64 %sv_3.12.reload, i64* %sv_3.0.reg2mem store i64 %sv_5.14.reload, i64* %sv_5.0.reg2mem store i32 %sv_4.16.reload, i32* %sv_4.0.reg2mem br i1 %17, label LBL_9, label LBL_5 LBL_5: %.reload21 = load i8, i8* %.reg2mem20 %18 = zext i8 %.reload21 to i32 %19 = add nuw nsw i32 %18, 12 %20 = add i64 %storemerge8.reload, 8 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = icmp eq i32 %22, 0 %24 = icmp eq i1 %23, false store i32 %19, i32* %sv_2.0.reg2mem br i1 %24, label LBL_7, label LBL_6 LBL_6: %25 = add i64 %storemerge8.reload, 4 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = add i32 %27, %19 store i32 %28, i32* %sv_2.0.reg2mem br label LBL_7 LBL_7: %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %29 = zext i32 %sv_2.0.reload to i64 %30 = icmp ult i64 %sv_1.012.reload, %29 %31 = icmp ult i32 %sv_2.0.reload, %sv_4.16.reload %32 = icmp eq i1 %31, false %or.cond = or i1 %30, %32 store i8 %.reload21, i8* %.reg2mem22 store i64 %sv_3.12.reload, i64* %sv_3.0.reg2mem store i64 %sv_5.14.reload, i64* %sv_5.0.reg2mem store i32 %sv_4.16.reload, i32* %sv_4.0.reg2mem br i1 %or.cond, label LBL_9, label LBL_8 LBL_8: %33 = add i64 %sv_0.010.reload, %29 %34 = icmp ult i64 %33, %0 %35 = icmp eq i1 %34, false %storemerge.stack_var_-24.1 = select i1 %35, i64 %storemerge8.reload, i64 %sv_3.12.reload %sv_5.1.storemerge = select i1 %35, i64 %sv_5.14.reload, i64 %storemerge8.reload %sv_2.0.stack_var_-40.1 = select i1 %35, i32 %sv_2.0.reload, i32 %sv_4.16.reload store i8 %.reload21, i8* %.reg2mem22 store i64 %storemerge.stack_var_-24.1, i64* %sv_3.0.reg2mem store i64 %sv_5.1.storemerge, i64* %sv_5.0.reg2mem store i32 %sv_2.0.stack_var_-40.1, i32* %sv_4.0.reg2mem br label LBL_9 LBL_9: %sv_4.0.reload = load i32, i32* %sv_4.0.reg2mem %sv_5.0.reload = load i64, i64* %sv_5.0.reg2mem %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem %.reload23 = load i8, i8* %.reg2mem22 %36 = zext i8 %.reload23 to i64 %37 = add i64 %storemerge8.reload, 12 %38 = add i64 %37, %36 %39 = inttoptr i64 %38 to i8* %40 = load i8, i8* %39, align 1 %41 = icmp eq i8 %40, 0 %42 = icmp eq i1 %41, false store i8 %40, i8* %.reg2mem store i8* %39, i8** %.reg2mem18 store i64 %38, i64* %storemerge8.reg2mem store i32 %sv_4.0.reload, i32* %sv_4.16.reg2mem store i64 %sv_5.0.reload, i64* %sv_5.14.reg2mem store i64 %sv_3.0.reload, i64* %sv_3.12.reg2mem br i1 %42, label LBL_2, label LBL_10 LBL_10: %43 = icmp eq i64 %sv_3.0.reload, 0 %44 = icmp eq i1 %43, false store i64 %sv_3.0.reload, i64* %sv_3.2.reg2mem br i1 %44, label LBL_12, label LBL_11 LBL_11: %45 = icmp eq i64 %sv_5.0.reload, 0 %46 = icmp eq i1 %45, false store i64 %sv_5.0.reload, i64* %sv_3.2.reg2mem store i64 4294967268, i64* %rax.0.reg2mem br i1 %46, label LBL_12, label LBL_18 LBL_12: %sv_3.2.reload = load i64, i64* %sv_3.2.reg2mem %47 = inttoptr i64 %sv_3.2.reload to i8* %48 = load i8, i8* %47, align 1 %49 = zext i8 %48 to i32 %50 = add nuw nsw i32 %49, 12 %51 = add i64 %sv_3.2.reload, 8 %52 = inttoptr i64 %51 to i32* %53 = load i32, i32* %52, align 4 %54 = icmp eq i32 %53, 0 %55 = icmp eq i1 %54, false store i32 %50, i32* %sv_2.1.reg2mem br i1 %55, label LBL_14, label LBL_13 LBL_13: %56 = add i64 %sv_3.2.reload, 4 %57 = inttoptr i64 %56 to i32* %58 = load i32, i32* %57, align 4 %59 = add i32 %58, %50 store i32 %59, i32* %sv_2.1.reg2mem br label LBL_14 LBL_14: %60 = call i64 @FUNC(i64 %4, i64 %3, i64 %2, i64 %sv_3.2.reload) %61 = trunc i64 %60 to i32 %62 = icmp eq i32 %61, 0 br i1 %62, label LBL_16, label LBL_15 LBL_15: %63 = and i64 %60, 4294967295 store i64 %63, i64* %rax.0.reg2mem br label LBL_18 LBL_16: %sv_2.1.reload = load i32, i32* %sv_2.1.reg2mem %64 = load i32, i32* %6, align 4 %65 = sub i32 %64, %50 store i32 %65, i32* %6, align 4 %66 = zext i32 %sv_2.1.reload to i64 %67 = add i64 %sv_0.010.reload, %66 %68 = sub i64 %sv_1.012.reload, %66 %69 = icmp ult i64 %67, %0 store i64 %68, i64* %sv_1.012.reg2mem store i64 %67, i64* %sv_0.010.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %69, label LBL_17, label LBL_18 LBL_17: %sv_0.010.reload = load i64, i64* %sv_0.010.reg2mem %sv_1.012.reload = load i64, i64* %sv_1.012.reg2mem %70 = load i8, i8* %5, align 1 %71 = icmp eq i8 %70, 0 %72 = icmp eq i1 %71, false store i8 %70, i8* %.reg2mem store i8* %5, i8** %.reg2mem18 store i64 %3, i64* %storemerge8.reg2mem store i32 -1, i32* %sv_4.16.reg2mem store i64 0, i64* %sv_5.14.reg2mem store i64 0, i64* %sv_3.12.reg2mem store i64 4294967268, i64* %rax.0.reg2mem br i1 %72, label LBL_2, label LBL_18 LBL_18: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_1.012.reload, { 1, 0 } uselistorder i64 %66, { 1, 0 } uselistorder i32 %50, { 2, 1, 0 } uselistorder i64 %sv_3.2.reload, { 3, 1, 2, 0 } uselistorder i32 %sv_2.0.reload, { 2, 1, 0 } uselistorder i32 %19, { 1, 0 } uselistorder i8 %.reload, { 1, 0, 2 } uselistorder i32 %sv_4.16.reload, { 3, 1, 2, 0 } uselistorder i64 %sv_5.14.reload, { 2, 1, 0 } uselistorder i64 %sv_3.12.reload, { 2, 1, 0 } uselistorder i32* %6, { 1, 0 } uselistorder i64 %0, { 2, 1, 0 } uselistorder i8* %.reg2mem, { 1, 2, 0 } uselistorder i8** %.reg2mem18, { 1, 2, 0 } uselistorder i64* %storemerge8.reg2mem, { 1, 2, 0 } uselistorder i32* %sv_4.16.reg2mem, { 1, 2, 0 } uselistorder i64* %sv_5.14.reg2mem, { 1, 2, 0 } uselistorder i64* %sv_3.12.reg2mem, { 1, 2, 0 } uselistorder i8* %.reg2mem20, { 0, 1, 3, 2 } uselistorder i8* %.reg2mem22, { 0, 2, 3, 1 } uselistorder i64* %sv_3.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %sv_5.0.reg2mem, { 0, 2, 3, 1 } uselistorder i32* %sv_4.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 5, 2, 4 } uselistorder i8 0, { 0, 2, 1 } uselistorder i1 false, { 0, 2, 7, 8, 9, 3, 1, 4, 5, 6 } uselistorder label LBL_18, { 0, 2, 4, 1, 3 } uselistorder label LBL_17, { 1, 0 } uselistorder label LBL_9, { 1, 2, 0 } }
0
BinRealVul
imc_common_cpuhp_mem_free_3761
imc_common_cpuhp_mem_free
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %.reg2mem1 = alloca i64 %.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 br i1 %4, label LBL_6, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64* nonnull @gv_0) %6 = load i32, i32* @gv_1, align 4 %7 = icmp eq i32 %6, 1 %8 = icmp eq i1 %7, false store i32 %6, i32* %.reg2mem br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = call i64 @FUNC(i64 1) %10 = load i64, i64* @gv_2, align 8 %11 = call i64 @FUNC(i64 %10) %.pr = load i32, i32* @gv_1, align 4 store i32 %.pr, i32* %.reg2mem br label LBL_3 LBL_3: %.reload = load i32, i32* %.reg2mem %12 = icmp slt i32 %.reload, 1 br i1 %12, label LBL_5, label LBL_4 LBL_4: %13 = add i32 %.reload, -1 store i32 %13, i32* @gv_1, align 4 br label LBL_5 LBL_5: %14 = call i64 @FUNC(i64* nonnull @gv_0) br label LBL_6 LBL_6: %15 = icmp eq i32 %2, 1 %16 = icmp eq i1 %15, false br i1 %16, label LBL_8, label LBL_7 LBL_7: %17 = call i64 @FUNC(i64 2) %18 = call i64 @FUNC() br label LBL_8 LBL_8: %19 = icmp eq i32 %2, 2 %20 = icmp eq i1 %19, false br i1 %20, label LBL_10, label LBL_9 LBL_9: %21 = call i64 @FUNC(i64 3) %22 = call i64 @FUNC() br label LBL_10 LBL_10: %23 = add i64 %arg1, 8 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = icmp eq i64 %25, 0 store i64 0, i64* %.reg2mem1 br i1 %26, label LBL_12, label LBL_11 LBL_11: %27 = inttoptr i64 %25 to i64* %28 = load i64, i64* %27, align 8 %29 = call i64 @FUNC(i64 %28) %.pre = load i64, i64* %24, align 8 store i64 %.pre, i64* %.reg2mem1 br label LBL_12 LBL_12: %.reload2 = load i64, i64* %.reg2mem1 %30 = call i64 @FUNC(i64 %.reload2) %31 = call i64 @FUNC(i64 %arg1) ret i64 %31 uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem1, { 0, 2, 1 } uselistorder i64 (i64)* @kfree, { 3, 2, 1, 0 } uselistorder i64 (i64)* @cpuhp_remove_state, { 2, 1, 0 } uselistorder i32* @gv_1, { 2, 0, 1 } uselistorder i32 1, { 8, 9, 10, 7, 6, 5, 4, 3, 2, 1, 0 } }
0
BinRealVul
replace_7816
replace
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %storemerge5.reg2mem = alloca i64 %storemerge4.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %.reg2mem18 = alloca i32 %sv_0.1.lcssa.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_0.18.reg2mem = alloca i32 %sv_1.09.reg2mem = alloca i32 %.reg2mem = alloca i8 %.lcssa14.reg2mem = alloca i64 %sv_2 = alloca i8*, align 8 %sv_3 = alloca i64, align 8 %0 = ptrtoint i64* %sv_3 to i64 %1 = bitcast i8** %sv_2 to i8* call void @FUNC(i8* nonnull %1, i64 0, i64 164) store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8** %sv_2, align 8 %2 = add i64 %0, -1344 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_1, label LBL_14 LBL_1: %7 = inttoptr i64 %arg2 to i8* %8 = inttoptr i64 %4 to i8* %9 = call i32 @strcmp(i8* %8, i8* %7) %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false store i64 %0, i64* %.lcssa14.reg2mem store i32 1, i32* %.reg2mem18 br i1 %11, label LBL_13, label LBL_3 LBL_2: %12 = inttoptr i64 %61 to i8* %13 = call i32 @strcmp(i8* %12, i8* %7) %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false %16 = add i32 %.reload19, 1 store i64 %58, i64* %.lcssa14.reg2mem store i32 %16, i32* %.reg2mem18 br i1 %15, label LBL_13, label LBL_3 LBL_3: %17 = icmp eq i64* %arg3, null store i64 1, i64* %storemerge5.reg2mem br i1 %17, label LBL_20, label LBL_4 LBL_4: %18 = ptrtoint i64* %arg3 to i64 %.lcssa14.reload = load i64, i64* %.lcssa14.reg2mem %19 = add i64 %.lcssa14.reload, -1336 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = inttoptr i64 %21 to i8* %23 = load i8, i8* %22, align 1 %24 = icmp eq i8 %23, 0 %25 = icmp eq i1 %24, false store i64 0, i64* %sv_0.1.lcssa.reg2mem br i1 %25, label LBL_5, label LBL_12 LBL_5: %26 = add i64 %arg2, -512 store i8 %23, i8* %.reg2mem store i32 0, i32* %sv_1.09.reg2mem store i32 0, i32* %sv_0.18.reg2mem br label LBL_6 LBL_6: %sv_0.18.reload = load i32, i32* %sv_0.18.reg2mem %sv_1.09.reload = load i32, i32* %sv_1.09.reg2mem %.reload = load i8, i8* %.reg2mem %.off = add i8 %.reload, -65 %27 = icmp ugt i8 %.off, 9 br i1 %27, label LBL_9, label LBL_7 LBL_7: %28 = sext i8 %.reload to i64 %29 = mul i64 %28, 8 %30 = add i64 %26, %29 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = icmp eq i64 %32, 0 store i32 %sv_0.18.reload, i32* %sv_0.0.reg2mem br i1 %33, label LBL_10, label LBL_8 LBL_8: %34 = inttoptr i64 %32 to i8* %35 = sext i32 %sv_0.18.reload to i64 %36 = add i64 %35, %18 %37 = inttoptr i64 %36 to i8* %38 = call i8* @strcpy(i8* %37, i8* %34) %39 = call i32 @strlen(i8* %34) %40 = add i32 %sv_0.18.reload, -1 %41 = add i32 %40, %39 store i32 %41, i32* %sv_0.0.reg2mem br label LBL_10 LBL_9: %42 = sext i32 %sv_0.18.reload to i64 %43 = add i64 %42, %18 %44 = inttoptr i64 %43 to i8* store i8 %.reload, i8* %44, align 1 store i32 %sv_0.18.reload, i32* %sv_0.0.reg2mem br label LBL_10 LBL_10: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %45 = add i32 %sv_1.09.reload, 1 %46 = add i32 %sv_0.0.reload, 1 %47 = load i64, i64* %20, align 8 %48 = sext i32 %45 to i64 %49 = add i64 %47, %48 %50 = inttoptr i64 %49 to i8* %51 = load i8, i8* %50, align 1 %52 = icmp eq i8 %51, 0 %53 = icmp eq i1 %52, false store i8 %51, i8* %.reg2mem store i32 %45, i32* %sv_1.09.reg2mem store i32 %46, i32* %sv_0.18.reg2mem br i1 %53, label LBL_6, label LBL_11 LBL_11: %phitmp = sext i32 %46 to i64 store i64 %phitmp, i64* %sv_0.1.lcssa.reg2mem br label LBL_12 LBL_12: %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem %54 = add i64 %sv_0.1.lcssa.reload, %18 %55 = inttoptr i64 %54 to i8* store i8 0, i8* %55, align 1 store i64 1, i64* %storemerge5.reg2mem br label LBL_20 LBL_13: %.reload19 = load i32, i32* %.reg2mem18 %56 = sext i32 %.reload19 to i64 %57 = mul i64 %56, 16 %58 = add i64 %57, %0 %59 = add i64 %58, -1344 %60 = inttoptr i64 %59 to i64* %61 = load i64, i64* %60, align 8 %62 = icmp eq i64 %61, 0 %63 = icmp eq i1 %62, false br i1 %63, label LBL_2, label LBL_14 LBL_14: %64 = icmp eq i64* %arg3, null store i64 0, i64* %storemerge5.reg2mem br i1 %64, label LBL_20, label LBL_15 LBL_15: %65 = bitcast i64* %arg3 to i8* store i8 0, i8* %65, align 1 %66 = trunc i64 %arg1 to i32 %67 = icmp sgt i32 %66, 0 store i64 0, i64* %storemerge5.reg2mem br i1 %67, label LBL_16, label LBL_20 LBL_16: %68 = add i64 %arg1, 4294967295 %69 = and i64 %68, 4294967295 %wide.trip.count = and i64 %arg1, 4294967295 store i64 0, i64* %indvars.iv.reg2mem br label LBL_17 LBL_17: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %70 = mul i64 %indvars.iv.reload, 8 %71 = add i64 %70, %arg2 %72 = inttoptr i64 %71 to i64* %73 = load i64, i64* %72, align 8 %74 = inttoptr i64 %73 to i8* %75 = call i8* @strcat(i8* %65, i8* %74) %76 = icmp eq i64 %indvars.iv.reload, 0 store i64 ptrtoint (i8** @gv_1 to i64), i64* %storemerge4.reg2mem br i1 %76, label LBL_19, label LBL_18 LBL_18: %77 = icmp eq i64 %indvars.iv.reload, %69 %78 = icmp eq i1 %77, false %spec.select = select i1 %78, i64 ptrtoint ([3 x i8]* @gv_2 to i64), i64 ptrtoint (i8** @gv_1 to i64) store i64 %spec.select, i64* %storemerge4.reg2mem br label LBL_19 LBL_19: %storemerge4.reload = load i64, i64* %storemerge4.reg2mem %79 = inttoptr i64 %storemerge4.reload to i8* %80 = call i8* @strcat(i8* %65, i8* %79) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 0, i64* %storemerge5.reg2mem br i1 %exitcond, label LBL_20, label LBL_17 LBL_20: %storemerge5.reload = load i64, i64* %storemerge5.reg2mem ret i64 %storemerge5.reload uselistorder i64 %indvars.iv.reload, { 0, 2, 1, 3 } uselistorder i64 %61, { 1, 0 } uselistorder i64 %58, { 1, 0 } uselistorder i32 %46, { 1, 0 } uselistorder i8* %34, { 1, 0 } uselistorder i8 %.reload, { 1, 2, 0 } uselistorder i32 %sv_0.18.reload, { 1, 4, 2, 3, 0 } uselistorder i64* %20, { 1, 0 } uselistorder i8* %7, { 1, 0 } uselistorder i64 %0, { 1, 0, 2 } uselistorder i8* %.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.09.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.18.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %sv_0.1.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem18, { 0, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge5.reg2mem, { 0, 1, 2, 3, 5, 4 } uselistorder i64 ptrtoint (i8** @gv_1 to i64), { 1, 0 } uselistorder i8* (i8*, i8*)* @strcat, { 1, 0 } uselistorder i8 0, { 3, 1, 2, 0 } uselistorder i64 1, { 2, 1, 0 } uselistorder i64* null, { 1, 0 } uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 } uselistorder i1 false, { 3, 6, 4, 2, 5, 0, 1 } uselistorder i64 -1344, { 1, 0 } uselistorder i64* %arg3, { 1, 2, 3, 0 } uselistorder label LBL_20, { 0, 1, 2, 4, 3 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_10, { 2, 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
opts_type_size_1445
opts_type_size
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg4 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i8*, align 8 %2 = call i64 @FUNC(i64 %1, i64 %arg3, i64 %0) %3 = icmp eq i64 %2, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_5, label LBL_1 LBL_1: %4 = inttoptr i64 %2 to i64* %5 = load i64, i64* %4, align 8 %6 = icmp eq i64 %5, 0 %spec.select = select i1 %6, i64 ptrtoint (i64* @gv_0 to i64), i64 %5 %7 = bitcast i8** %sv_0 to i64* %8 = call i64 @FUNC(i64 %spec.select, i64* nonnull %7, i64 0) %9 = icmp slt i64 %8, 0 br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = load i8*, i8** %sv_0, align 8 %11 = load i8, i8* %10, align 1 %12 = icmp eq i8 %11, 0 br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = add i64 %2, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = call i64 @FUNC(i64 %0, i64 1, i64 %15, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0)) store i64 %16, i64* %rax.0.reg2mem br label LBL_5 LBL_4: store i64 %8, i64* %arg2, align 8 %17 = call i64 @FUNC(i64 %1, i64 %arg3) store i64 %17, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder label LBL_5, { 1, 2, 0 } }
0
BinRealVul
devres_release_all_18482
devres_release_all
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = ptrtoint i64* %arg1 to i64 %2 = load i64, i64* %0 %3 = add i64 %1, 8 %4 = call i64 @FUNC(i64 %3, i64 %2) %5 = call i64 @FUNC(i64 %1, i64 %3, i64 %1, i64 %2) ret i64 %5 uselistorder i64 %1, { 1, 0, 2 } }
1
BinRealVul
handle_raw_ping_18938
handle_raw_ping
define i64 @FUNC(i32* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i32* %arg1 to i64 %1 = zext i32 %arg3 to i64 %2 = call i64 @FUNC(i64 %1, i64 %0) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false store i64 %2, i64* %rax.0.reg2mem br i1 %5, label LBL_4, label LBL_1 LBL_1: %6 = call i32 @time(i32* null) %7 = sext i32 %6 to i64 %8 = sext i32 %arg3 to i64 %9 = mul i64 %8, 8 %10 = add i64 %9, ptrtoint (i64* @gv_0 to i64) %11 = inttoptr i64 %10 to i64* store i64 %7, i64* %11, align 8 %12 = load i32, i32* @gv_1, align 4 %13 = icmp slt i32 %12, 1 br i1 %13, label LBL_3, label LBL_2 LBL_2: %14 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8 %15 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %14, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_3, i64 0, i64 0), i64 %1) br label LBL_3 LBL_3: %16 = and i64 %arg2, 4294967295 %17 = call i64 @FUNC(i64 %16, i64 0, i64 0, i64 %1, i64 1, i64 %0) store i64 %17, 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 %1, { 1, 0, 2 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
unix_start_incoming_migration_1737
unix_start_incoming_migration
define i64 @FUNC(i8* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i8* %arg1 to i64 %2 = call i64 @FUNC(i64 %1, i64 0, i64 0, i64 %0) %3 = trunc i64 %2 to i32 %4 = icmp slt i32 %3, 0 store i64 %2, i64* %rax.0.reg2mem br i1 %4, label LBL_2, label LBL_1 LBL_1: %sext = mul i64 %2, 4294967296 %5 = ashr exact i64 %sext, 32 %6 = and i64 %2, 4294967295 %7 = call i64 @FUNC(i64 %6, i64 0, i64 4198714, i64 0, i64 %5) store i64 %7, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %2, { 2, 1, 0, 3 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
iwgif_skip_image_10450
iwgif_skip_image
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 %0, i64 9) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %3, label LBL_6, label LBL_1 LBL_1: %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i8* %6 = load i8, i8* %5, align 1 %7 = icmp sgt i8 %6, -1 br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = urem i8 %6, 8 %narrow = add nuw nsw i8 %8, 1 %9 = zext i8 %narrow to i32 %10 = shl i32 3, %9 %11 = zext i32 %10 to i64 %12 = call i64 @FUNC(i64 %0, i64 %0, i64 %11) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %14, label LBL_6, label LBL_3 LBL_3: %15 = call i64 @FUNC(i64 %0, i64 %0, i64 1) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %17, label LBL_6, label LBL_4 LBL_4: %18 = call i64 @FUNC(i64 %0) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %20, label LBL_6, label LBL_5 LBL_5: %21 = add i64 %0, 256 %22 = inttoptr i64 %21 to i32* store i32 0, i32* %22, align 4 store i64 1, i64* %sv_0.0.reg2mem br label LBL_6 LBL_6: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem ret i64 %sv_0.0.reload uselistorder i64 %0, { 2, 3, 4, 5, 0, 1, 6, 8, 7 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 4, 1, 5 } uselistorder i64 1, { 0, 3, 1, 2 } uselistorder i64 (i64, i64, i64)* @iwgif_read, { 2, 1, 0 } uselistorder label LBL_6, { 4, 0, 1, 2, 3 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
x2c_11885
x2c
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.in.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 1 %4 = inttoptr i64 %3 to i8* %5 = load i8, i8* %4, align 1 %6 = icmp slt i8 %5, 65 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = and i8 %5, -33 %8 = zext i8 %7 to i64 %9 = add nuw nsw i64 %8, 4294967241 store i64 %9, i64* %storemerge.in.reg2mem br label LBL_3 LBL_2: %10 = zext i8 %5 to i64 %11 = add nuw nsw i64 %10, 4294967248 store i64 %11, i64* %storemerge.in.reg2mem br label LBL_3 LBL_3: %12 = trunc i64 %1 to i8 %13 = icmp slt i8 %12, 65 %14 = urem i64 %1, 256 %15 = add nuw nsw i64 %14, 4294967248 %16 = and i64 %1, 223 %17 = add nuw nsw i64 %16, 4294967241 %storemerge1.in = select i1 %13, i64 %15, i64 %17 %storemerge1 = mul i64 %storemerge1.in, 16 %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem %18 = add nsw i64 %storemerge.in.reload, %storemerge1 %19 = and i64 %18, 4294967295 ret i64 %19 uselistorder i64 %1, { 1, 2, 0 } uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 } uselistorder i64 4294967241, { 1, 0 } uselistorder i8 65, { 1, 0 } }
1
BinRealVul
v9fs_refresh_inode_5894
v9fs_refresh_inode
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %3 = ptrtoint i32* %arg2 to i64 %4 = call i64 @FUNC(i64 %3) %5 = call i64 @FUNC(i64 %2) %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %7, label LBL_1, label LBL_4 LBL_1: %8 = call i64 @FUNC(i64 %4, i64 %5, i64* nonnull %sv_0) %9 = xor i64 %8, %1 %10 = and i64 %9, 61440 %11 = icmp eq i64 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_3, label LBL_2 LBL_2: %13 = inttoptr i64 %4 to i32* %14 = load i32, i32* %13, align 4 %15 = add i32 %14, -1 %16 = icmp ult i32 %15, 2 %storemerge3 = zext i1 %16 to i32 %17 = add i64 %3, 4 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = call i64 @FUNC(i64 %5, i64 %3, i32 %19, i32 %storemerge3) br label LBL_3 LBL_3: %21 = call i64 @FUNC(i64 %5) %22 = call i64 @FUNC(i64 %5) 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 %5, { 2, 1, 0, 3, 4 } uselistorder i64 %4, { 1, 0 } uselistorder i64 %3, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
isofs_export_encode_fh_11301
isofs_export_encode_fh
define i64 @FUNC(i64* %arg1, i64* %arg2, i32* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i64* %arg4, null %4 = icmp sgt i32 %2, 4 %or.cond = or i1 %3, %4 br i1 %or.cond, label LBL_2, label LBL_1 LBL_1: store i32 5, i32* %arg3, align 4 store i64 255, i64* %rax.0.reg2mem br label LBL_7 LBL_2: %5 = icmp sgt i32 %2, 2 br i1 %5, label LBL_4, label LBL_3 LBL_3: store i32 3, i32* %arg3, align 4 store i64 255, i64* %rax.0.reg2mem br label LBL_7 LBL_4: %6 = ptrtoint i64* %arg2 to i64 %7 = ptrtoint i64* %arg1 to i64 %8 = trunc i64 %7 to i32 %9 = bitcast i64* %arg2 to i32* store i32 %8, i32* %9, align 4 %10 = add i64 %7, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = add i64 %6, 4 %14 = trunc i64 %12 to i16 %15 = inttoptr i64 %13 to i16* store i16 %14, i16* %15, align 2 %16 = add i64 %6, 8 %17 = inttoptr i64 %16 to i32* store i32 %8, i32* %17, align 4 store i32 3, i32* %sv_1.0.reg2mem store i64 1, i64* %sv_0.0.reg2mem br i1 %3, label LBL_6, label LBL_5 LBL_5: %18 = ptrtoint i64* %arg4 to i64 %19 = add i64 %6, 12 %20 = trunc i64 %18 to i32 %21 = inttoptr i64 %19 to i32* store i32 %20, i32* %21, align 4 %22 = add i64 %18, 8 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = add i64 %6, 6 %26 = trunc i64 %24 to i16 %27 = inttoptr i64 %25 to i16* store i16 %26, i16* %27, align 2 %28 = add i64 %6, 16 %29 = inttoptr i64 %28 to i32* store i32 %20, i32* %29, align 4 store i32 5, i32* %sv_1.0.reg2mem store i64 2, i64* %sv_0.0.reg2mem br label LBL_6 LBL_6: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem store i32 %sv_1.0.reload, i32* %arg3, align 4 store i64 %sv_0.0.reload, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %18, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 255, { 1, 0 } uselistorder i64* %arg4, { 1, 0 } uselistorder i32* %arg3, { 2, 1, 0 } }
1
BinRealVul
jpegxl_anim_read_packet_13136
jpegxl_anim_read_packet
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rsi.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.1.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = call i64 @FUNC(i64 %3) %5 = icmp slt i64 %4, 0 %6 = icmp eq i1 %5, false store i64 %4, i64* %rax.0.reg2mem br i1 %6, label LBL_1, label LBL_11 LBL_1: %7 = icmp eq i64 %4, 0 %8 = icmp eq i1 %7, false %spec.select = select i1 %8, i64 %4, i64 4096 %9 = icmp eq i64 %3, 0 store i64 %spec.select, i64* %sv_1.1.reg2mem br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = add i64 %3, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = icmp ugt i64 %12, %spec.select %spec.select2 = select i1 %13, i64 %12, i64 %spec.select store i64 %spec.select2, i64* %sv_1.1.reg2mem br label LBL_3 LBL_3: %14 = ptrtoint i64* %arg2 to i64 %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem %15 = and i64 %sv_1.1.reload, 4294967295 %16 = call i64 @FUNC(i64 %14, i64 %15) %17 = trunc i64 %16 to i32 %18 = icmp slt i32 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_5, label LBL_4 LBL_4: %20 = and i64 %16, 4294967295 store i64 %20, i64* %rax.0.reg2mem br label LBL_11 LBL_5: %21 = icmp eq i64* %arg2, null store i32 0, i32* %sv_0.0.reg2mem store i64 %15, i64* %rsi.0.reg2mem br i1 %21, label LBL_7, label LBL_6 LBL_6: %22 = add i64 %14, 8 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = trunc i64 %24 to i32 %26 = inttoptr i64 %15 to i64* %27 = call i64* @memcpy(i64* %26, i64* nonnull %arg2, i32 %25) %28 = call i64 @FUNC(i64 %0) store i32 %25, i32* %sv_0.0.reg2mem store i64 %14, i64* %rsi.0.reg2mem br label LBL_7 LBL_7: %rsi.0.reload = load i64, i64* %rsi.0.reg2mem %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %29 = sext i32 %sv_0.0.reload to i64 %30 = sub i64 %sv_1.1.reload, %29 %31 = add i64 %rsi.0.reload, %29 %32 = call i64 @FUNC(i64 %3, i64 %31, i64 %30) %33 = trunc i64 %32 to i32 %34 = icmp slt i32 %33, 0 %35 = icmp eq i1 %34, false br i1 %35, label LBL_9, label LBL_8 LBL_8: %36 = and i64 %32, 4294967295 store i64 %36, i64* %rax.0.reg2mem br label LBL_11 LBL_9: %sext = mul i64 %32, 4294967296 %37 = ashr exact i64 %sext, 32 %38 = icmp ugt i64 %30, %37 %39 = icmp eq i1 %38, false store i64 0, i64* %rax.0.reg2mem br i1 %39, label LBL_11, label LBL_10 LBL_10: %40 = add i32 %sv_0.0.reload, %33 %41 = add i64 %14, 8 %42 = inttoptr i64 %41 to i32* store i32 %40, i32* %42, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %sv_0.0.reload, { 1, 0 } uselistorder i64 %15, { 1, 0, 2 } uselistorder i64 %sv_1.1.reload, { 1, 0 } uselistorder i64 %14, { 1, 0, 2, 3 } uselistorder i64 %spec.select, { 1, 2, 0 } uselistorder i64 %4, { 1, 2, 0, 3 } uselistorder i64 %3, { 0, 2, 1, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 5, 4, 3 } uselistorder label LBL_11, { 1, 0, 3, 4, 2 } }
1
BinRealVul
bdrv_commit_15676
bdrv_commit
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64* %sv_0.0.reg2mem = alloca i64* %rdi.0.reg2mem = alloca i64 %storemerge4.reg2mem = alloca i64 %sv_1 = alloca i32, align 4 %sv_2 = alloca i64, align 8 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false store i64 4294967173, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_19 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 eq i1 %6, false store i64 4294967201, i64* %rax.0.reg2mem br i1 %7, label LBL_2, label LBL_19 LBL_2: %8 = call i64 @FUNC(i64 %2) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false store i64 4294967280, i64* %rax.0.reg2mem br i1 %11, label LBL_19, label LBL_3 LBL_3: %12 = load i64, i64* %4, align 8 %13 = call i64 @FUNC(i64 %12) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 store i64 4294967280, i64* %rax.0.reg2mem br i1 %15, label LBL_4, label LBL_19 LBL_4: %16 = load i64, i64* %4, align 8 %17 = add i64 %16, 16 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = add i64 %16, 20 %21 = bitcast i64* %sv_2 to i8* %22 = inttoptr i64 %20 to i8* %23 = call i8* @strncpy(i8* nonnull %21, i8* %22, i32 1024) %24 = load i64, i64* %4, align 8 %25 = add i64 %24, 1044 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = icmp eq i32 %19, 0 br i1 %28, label LBL_6, label LBL_5 LBL_5: %29 = or i32 %27, 2 %30 = zext i32 %29 to i64 %31 = call i64 @FUNC(i64 %24, i64 %30, i64 0) %32 = trunc i64 %31 to i32 %33 = icmp eq i32 %32, 0 store i64 4294967283, i64* %rax.0.reg2mem br i1 %33, label LBL_6, label LBL_19 LBL_6: %34 = call i64 @FUNC(i64 %2) %35 = call i64 @FUNC(i64 32768) %36 = icmp sgt i64 %34, 511 br i1 %36, label LBL_7, label LBL_13 LBL_7: %37 = ashr i64 %34, 9 %38 = bitcast i32* %sv_1 to i64* store i64 0, i64* %storemerge4.reg2mem br label LBL_8 LBL_8: %storemerge4.reload = load i64, i64* %storemerge4.reg2mem %39 = call i64 @FUNC(i64 %2, i64 %storemerge4.reload, i64 64, i64* nonnull %38) %40 = trunc i64 %39 to i32 %41 = icmp eq i32 %40, 0 store i64 %2, i64* %rdi.0.reg2mem br i1 %41, label LBL_11, label LBL_9 LBL_9: %42 = load i32, i32* %sv_1, align 4 %43 = zext i32 %42 to i64 %44 = call i64 @FUNC(i64 %2, i64 %storemerge4.reload, i64 %35, i64 %43) %45 = trunc i64 %44 to i32 %46 = icmp eq i32 %45, 0 store i64* inttoptr (i32 -5 to i64*), i64** %sv_0.1.reg2mem br i1 %46, label LBL_10, label LBL_16 LBL_10: %47 = load i32, i32* %sv_1, align 4 %48 = zext i32 %47 to i64 %49 = load i64, i64* %4, align 8 %50 = call i64 @FUNC(i64 %49, i64 %storemerge4.reload, i64 %35, i64 %48) %51 = trunc i64 %50 to i32 %52 = icmp eq i32 %51, 0 store i64 %49, i64* %rdi.0.reg2mem store i64* inttoptr (i32 -5 to i64*), i64** %sv_0.1.reg2mem br i1 %52, label LBL_11, label LBL_16 LBL_11: %53 = load i32, i32* %sv_1, align 4 %54 = sext i32 %53 to i64 %55 = add i64 %storemerge4.reload, %54 %56 = icmp slt i64 %55, %37 store i64 %55, i64* %storemerge4.reg2mem br i1 %56, label LBL_8, label LBL_12 LBL_12: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %57 = icmp eq i64 %rdi.0.reload, 0 store i64* null, i64** %sv_0.0.reg2mem br i1 %57, label LBL_14, label LBL_13 LBL_13: %58 = and i64 %2, 4294967295 %59 = inttoptr i64 %58 to i64* %60 = call i64 @FUNC(i64 %2) store i64* %59, i64** %sv_0.0.reg2mem br label LBL_14 LBL_14: %sv_0.0.reload = load i64*, i64** %sv_0.0.reg2mem %61 = load i64, i64* %4, align 8 %62 = icmp eq i64 %61, 0 store i64* %sv_0.0.reload, i64** %sv_0.1.reg2mem br i1 %62, label LBL_16, label LBL_15 LBL_15: %63 = call i64 @FUNC(i64 %61) store i64* %sv_0.0.reload, i64** %sv_0.1.reg2mem br label LBL_16 LBL_16: %sv_0.1.reload = load i64*, i64** %sv_0.1.reg2mem %64 = call i64 @FUNC(i64 %35) br i1 %28, label LBL_18, label LBL_17 LBL_17: %65 = and i32 %27, -3 %66 = load i64, i64* %4, align 8 %67 = zext i32 %65 to i64 %68 = call i64 @FUNC(i64 %66, i64 %67, i64 0) br label LBL_18 LBL_18: %69 = ptrtoint i64* %sv_0.1.reload to i64 %70 = and i64 %69, 4294967295 store i64 %70, 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 i64 %storemerge4.reload, { 3, 0, 1, 2 } uselistorder i64 %34, { 1, 0 } uselistorder i64* %4, { 1, 0, 2, 3, 4, 5, 6 } uselistorder i64 %2, { 2, 1, 3, 0, 4, 5, 7, 6 } uselistorder i32* %sv_1, { 2, 1, 0, 3 } uselistorder i64* %storemerge4.reg2mem, { 1, 0, 2 } uselistorder i64** %sv_0.1.reg2mem, { 0, 3, 4, 1, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 3, 2, 4, 5 } uselistorder i64 (i64)* @bdrv_flush, { 1, 0 } uselistorder i64 (i64, i64, i64)* @bdrv_reopen, { 1, 0 } uselistorder i64 4294967280, { 1, 0 } uselistorder i64 (i64)* @bdrv_in_use, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_19, { 5, 0, 2, 1, 3, 4 } uselistorder label LBL_16, { 3, 2, 0, 1 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_8, { 1, 0 } }
1
BinRealVul
lldp_private_8023_print_5210
lldp_private_8023_print
define i64 @FUNC(i32* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp ult i32 %arg3, 4 store i64 0, i64* %rax.0.reg2mem br i1 %0, label LBL_12, label LBL_1 LBL_1: %1 = ptrtoint i64* %arg2 to i64 %2 = add i64 %1, 3 %3 = inttoptr i64 %2 to i8* %4 = load i8, i8* %3, align 1 %5 = zext i8 %4 to i32 %6 = load i64, i64* bitcast ([8 x i8*]* @gv_0 to i64*), align 16 %7 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0), i32 %5) %8 = bitcast i32* %arg1 to i8* %9 = trunc i64 %7 to i32 %10 = call i32 (i8*, ...) @printf(i8* %8, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0), i32 %9) %11 = icmp eq i8 %4, 4 br i1 %11, label LBL_10, label LBL_2 LBL_2: %12 = icmp ugt i8 %4, 4 store i64 1, i64* %rax.0.reg2mem br i1 %12, label LBL_12, label LBL_3 LBL_3: store i64 1, i64* %rax.0.reg2mem switch i8 %4, label LBL_12 [ i8 3, label LBL_8 i8 1, label LBL_4 i8 2, label LBL_6 ] LBL_4: %13 = icmp ult i32 %arg3, 9 store i64 0, i64* %rax.0.reg2mem br i1 %13, label LBL_12, label LBL_5 LBL_5: %14 = add i64 %1, 4 %15 = inttoptr i64 %14 to i8* %16 = load i8, i8* %15, align 1 %17 = zext i8 %16 to i64 %18 = load i64, i64* bitcast ([7 x i8*]* @gv_3 to i64*), align 16 %19 = call i64 @FUNC(i64 %18, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0), i64 %17) %20 = trunc i64 %19 to i32 %21 = call i32 (i8*, ...) @printf(i8* %8, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_5, i64 0, i64 0), i32 %20) %22 = add i64 %1, 5 %23 = inttoptr i64 %22 to i16* %24 = load i16, i16* %23, align 2 %25 = zext i16 %24 to i64 %26 = load i64, i64* bitcast ([6 x i8*]* @gv_6 to i64*), align 16 %27 = call i64 @FUNC(i64 %26, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0), i64 %25) %28 = trunc i64 %27 to i32 %29 = call i32 (i8*, ...) @printf(i8* %8, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_7, i64 0, i64 0), i32 %28) %30 = add i64 %1, 7 %31 = inttoptr i64 %30 to i16* %32 = load i16, i16* %31, align 2 %33 = load i64, i64* bitcast ([5 x i8*]* @gv_8 to i64*), align 16 %34 = zext i16 %32 to i32 %35 = call i64 @FUNC(i64 %33, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0), i32 %34) %36 = trunc i64 %35 to i32 %37 = call i32 (i8*, ...) @printf(i8* %8, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_9, i64 0, i64 0), i32 %36) store i64 0, i64* %rax.0.reg2mem br label LBL_12 LBL_6: %38 = icmp ult i32 %arg3, 7 store i64 0, i64* %rax.0.reg2mem br i1 %38, label LBL_12, label LBL_7 LBL_7: %39 = add i64 %1, 6 %40 = inttoptr i64 %39 to i8* %41 = load i8, i8* %40, align 1 %42 = load i64, i64* bitcast ([2 x i8*]* @gv_10 to i64*), align 8 %43 = zext i8 %41 to i32 %44 = call i64 @FUNC(i64 %42, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0), i32 %43) %45 = add i64 %1, 5 %46 = inttoptr i64 %45 to i8* %47 = load i8, i8* %46, align 1 %48 = load [28 x i8]*, [28 x i8]** @gv_11, align 8 %49 = ptrtoint [28 x i8]* %48 to i64 %50 = zext i8 %47 to i32 %51 = call i64 @FUNC(i64 %49, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0), i32 %50) %52 = add i64 %1, 4 %53 = inttoptr i64 %52 to i8* %54 = load i8, i8* %53, align 1 %55 = zext i8 %54 to i64 %56 = load [16 x i8]*, [16 x i8]** @gv_12, align 8 %57 = ptrtoint [16 x i8]* %56 to i64 %58 = call i64 @FUNC(i64 %57, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0), i64 %55) %59 = inttoptr i64 %58 to i8* %60 = inttoptr i64 %51 to i8* %61 = call i32 (i8*, ...) @printf(i8* %8, i8* getelementptr inbounds ([60 x i8], [60 x i8]* @gv_13, i64 0, i64 0), i8* %59, i8* %60) store i64 0, i64* %rax.0.reg2mem br label LBL_12 LBL_8: %62 = icmp ult i32 %arg3, 9 store i64 0, i64* %rax.0.reg2mem br i1 %62, label LBL_12, label LBL_9 LBL_9: %63 = add i64 %1, 4 %64 = inttoptr i64 %63 to i8* %65 = load i8, i8* %64, align 1 %66 = zext i8 %65 to i64 %67 = load [24 x i8]*, [24 x i8]** @gv_14, align 8 %68 = ptrtoint [24 x i8]* %67 to i64 %69 = call i64 @FUNC(i64 %68, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0), i64 %66) %70 = trunc i64 %69 to i32 %71 = call i32 (i8*, ...) @printf(i8* %8, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_15, i64 0, i64 0), i32 %70) store i64 0, i64* %rax.0.reg2mem br label LBL_12 LBL_10: %72 = icmp ult i32 %arg3, 6 store i64 0, i64* %rax.0.reg2mem br i1 %72, label LBL_12, label LBL_11 LBL_11: %73 = call i32 (i8*, ...) @printf(i8* %8, i32 ptrtoint (i32* @gv_16 to i32)) store i64 0, i64* %rax.0.reg2mem br label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8* %8, { 5, 4, 0, 1, 2, 3, 6 } uselistorder i64 %1, { 6, 0, 1, 2, 3, 4, 5, 7 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 7, 5, 8, 3, 9, 4, 10, 1, 2, 11 } uselistorder i64 (i64, i8*, i64)* @bittok2str, { 3, 2, 1, 0 } uselistorder i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0), { 0, 2, 1 } uselistorder i32 (i8*, ...)* @printf, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64, i8*, i32)* @tok2str, { 3, 2, 1, 0 } uselistorder i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0), { 2, 3, 0, 1, 4 } uselistorder i32 %arg3, { 3, 2, 0, 1, 4 } uselistorder label LBL_12, { 4, 6, 3, 7, 2, 8, 1, 9, 0, 5, 10 } }
0
BinRealVul
f2fs_acl_to_disk_18420
f2fs_acl_to_disk
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i64 %sv_0.0.in.reg2mem = alloca i64 %sv_0.1.in5.reg2mem = alloca i64 %storemerge6.reg2mem = alloca i32 %.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %sext = mul i64 %1, 4294967296 %2 = ashr exact i64 %sext, 29 %3 = or i64 %2, 4 %4 = call i64 @FUNC(i64 %3, i64 0) %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false store i64 -12, i64* %rax.0.reg2mem br i1 %6, label LBL_1, label LBL_12 LBL_1: %7 = bitcast i64* %rdi to i32* %8 = inttoptr i64 %4 to i32* %9 = call i64 @FUNC(i64 1) %10 = trunc i64 %9 to i32 store i32 %10, i32* %8, align 4 %11 = load i32, i32* %7, align 8 %12 = icmp eq i32 %11, 0 store i64 0, i64* %.lcssa.reg2mem br i1 %12, label LBL_10, label LBL_2 LBL_2: %13 = add i64 %4, 4 %14 = ptrtoint i32* %arg1 to i64 %15 = add i64 %14, 8 %16 = inttoptr i64 %15 to i64* store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge6.reg2mem store i64 %13, i64* %sv_0.1.in5.reg2mem br label LBL_3 LBL_3: %sv_0.1.in5.reload = load i64, i64* %sv_0.1.in5.reg2mem %storemerge6.reload = load i32, i32* %storemerge6.reg2mem %.reload = load i64, i64* %.reg2mem %sv_0.1 = inttoptr i64 %sv_0.1.in5.reload to i16* %17 = load i64, i64* %16, align 8 %18 = mul nsw i64 %.reload, 12 %19 = add i64 %17, %18 %20 = inttoptr i64 %19 to i16* %21 = load i16, i16* %20, align 2 %22 = zext i16 %21 to i64 %23 = call i64 @FUNC(i64 %22) %24 = trunc i64 %23 to i16 store i16 %24, i16* %sv_0.1, align 2 %25 = load i64, i64* %16, align 8 %26 = or i64 %18, 2 %27 = add i64 %25, %26 %28 = inttoptr i64 %27 to i16* %29 = load i16, i16* %28, align 2 %30 = zext i16 %29 to i64 %31 = call i64 @FUNC(i64 %30) %32 = trunc i64 %31 to i16 %33 = add i64 %sv_0.1.in5.reload, 2 %34 = inttoptr i64 %33 to i16* store i16 %32, i16* %34, align 2 %35 = load i64, i64* %16, align 8 %36 = add i64 %35, %18 %37 = inttoptr i64 %36 to i16* %38 = load i16, i16* %37, align 2 %39 = icmp ugt i16 %38, 6 br i1 %39, label LBL_11, label LBL_4 LBL_4: %40 = icmp ugt i16 %38, 2 br i1 %40, label LBL_8, label LBL_5 LBL_5: switch i16 %38, label LBL_11 [ i16 1, label LBL_6 i16 2, label LBL_7 ] LBL_6: %41 = add i64 %36, 4 %42 = inttoptr i64 %41 to i32* %43 = load i32, i32* %42, align 4 %44 = zext i32 %43 to i64 %45 = call i64 @FUNC(i64* nonnull @gv_0, i64 %44) %46 = and i64 %45, 4294967295 %47 = call i64 @FUNC(i64 %46) %48 = trunc i64 %47 to i32 %49 = add i64 %sv_0.1.in5.reload, 4 %50 = inttoptr i64 %49 to i32* store i32 %48, i32* %50, align 4 %51 = add i64 %sv_0.1.in5.reload, 8 store i64 %51, i64* %sv_0.0.in.reg2mem br label LBL_9 LBL_7: %52 = add i64 %36, 8 %53 = inttoptr i64 %52 to i32* %54 = load i32, i32* %53, align 4 %55 = zext i32 %54 to i64 %56 = call i64 @FUNC(i64* nonnull @gv_0, i64 %55) %57 = and i64 %56, 4294967295 %58 = call i64 @FUNC(i64 %57) %59 = trunc i64 %58 to i32 %60 = add i64 %sv_0.1.in5.reload, 4 %61 = inttoptr i64 %60 to i32* store i32 %59, i32* %61, align 4 %62 = add i64 %sv_0.1.in5.reload, 8 store i64 %62, i64* %sv_0.0.in.reg2mem br label LBL_9 LBL_8: %63 = add i64 %sv_0.1.in5.reload, 4 store i64 %63, i64* %sv_0.0.in.reg2mem br label LBL_9 LBL_9: %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem %64 = add i32 %storemerge6.reload, 1 %65 = load i32, i32* %7, align 8 %66 = zext i32 %65 to i64 %67 = sext i32 %64 to i64 %68 = icmp slt i64 %67, %66 store i64 %67, i64* %.reg2mem store i32 %64, i32* %storemerge6.reg2mem store i64 %sv_0.0.in.reload, i64* %sv_0.1.in5.reg2mem store i64 %66, i64* %.lcssa.reg2mem br i1 %68, label LBL_3, label LBL_10 LBL_10: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %69 = call i64 @FUNC(i64 %.lcssa.reload) store i64 %69, i64* %arg2, align 8 store i64 %4, i64* %rax.0.reg2mem br label LBL_12 LBL_11: %70 = call i64 @FUNC(i64 %4) store i64 -22, i64* %rax.0.reg2mem br label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %18, { 0, 2, 1 } uselistorder i64 %sv_0.1.in5.reload, { 0, 5, 4, 1, 2, 3, 6 } uselistorder i32* %7, { 1, 0 } uselistorder i64 %4, { 1, 0, 2, 3, 4 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge6.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.1.in5.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.0.in.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 4294967295, { 1, 0, 2, 3, 4 } uselistorder i64* @gv_0, { 1, 0 } uselistorder i64 2, { 1, 0 } uselistorder i64 (i64)* @cpu_to_le16, { 1, 0 } uselistorder i64 (i64)* @cpu_to_le32, { 2, 1, 0 } uselistorder i64 4, { 2, 3, 4, 5, 6, 0, 1 } uselistorder label LBL_12, { 1, 2, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
blk_end_request_all_8668
blk_end_request_all
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = urem i64 %1, 256 %3 = icmp eq i64 %2, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %0) %phitmp = and i64 %4, 4294967295 store i64 %phitmp, i64* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %5 = call i64 @FUNC(i64 %0) %6 = trunc i64 %arg2 to i32 %7 = and i64 %5, 4294967295 %8 = call i64 @FUNC(i64 %0, i32 %6, i64 %7, i64 %sv_0.0.reload) %9 = urem i64 %8, 256 %10 = call i64 @FUNC(i64 %9) ret i64 %10 uselistorder i64 %0, { 2, 1, 0, 3 } uselistorder i64 4294967295, { 1, 0, 2 } uselistorder i64 (i64)* @blk_rq_bytes, { 1, 0 } }
0
BinRealVul
GetNumWrongData_19032
GetNumWrongData
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %0 = trunc i64 %arg2 to i32 %1 = icmp eq i32 %0, 1 %2 = icmp eq i1 %1, false store i64 1, i64* %storemerge.reg2mem br i1 %2, label LBL_1, label LBL_4 LBL_1: %3 = ptrtoint i32* %arg1 to i64 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 %4 = sext i32 %sv_0.0.reload to i64 %5 = add i64 %4, %3 %6 = inttoptr i64 %5 to i8* %7 = load i8, i8* %6, align 1 %8 = add i64 %5, 1 %9 = inttoptr i64 %8 to i8* %10 = load i8, i8* %9, align 1 %11 = icmp ne i8 %7, %10 %12 = icmp slt i32 %sv_0.0.reload, %0 %or.cond = icmp eq i1 %12, %11 %13 = add nuw i32 %sv_0.0.reload, 1 store i32 %13, i32* %sv_0.0.reg2mem br i1 %or.cond, label LBL_2, label LBL_3 LBL_3: %14 = zext i32 %sv_0.0.reload to i64 store i64 %14, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %sv_0.0.reload, { 3, 0, 2, 1 } uselistorder i32* %sv_0.0.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 1, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
omap_intc_init_336
omap_intc_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0)) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %6 = ptrtoint i64* %arg1 to i64 %7 = add i64 %6, 4 %8 = inttoptr i64 %7 to i32* store i32 1, i32* %8, align 4 %9 = add i64 %6, 16 %10 = call i64 @FUNC(i64 %6, i64 %9) %11 = add i64 %6, 20 %12 = call i64 @FUNC(i64 %6, i64 %11) %13 = load i32, i32* %8, align 4 %14 = mul i32 %13, 32 %15 = zext i32 %14 to i64 %16 = call i64 @FUNC(i64 %6, i64 4198833, i64 %15) %17 = add i64 %6, 8 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = add i64 %6, 12 %21 = zext i32 %19 to i64 %22 = call i64 @FUNC(i64 %20, i64 %6, i64* nonnull @gv_1, i64 %6, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0), i64 %21) %23 = call i64 @FUNC(i64 %6, i64 %20) store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %6, { 0, 3, 4, 2, 1, 5, 7, 9, 6, 8, 10 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64)* @sysbus_init_irq, { 1, 0 } }
0
BinRealVul
piix4_pm_class_init_2255
piix4_pm_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* store i64 4198662, i64* %2, align 8 %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i64* %5 = add i64 %0, 24 %6 = inttoptr i64 %5 to i32* store i32 32902, i32* %6, align 4 %7 = add i64 %0, 28 %8 = inttoptr i64 %7 to i32* store i32 28947, i32* %8, align 4 %9 = add i64 %0, 32 %10 = inttoptr i64 %9 to i32* store i32 3, i32* %10, align 4 %11 = add i64 %0, 36 %12 = inttoptr i64 %11 to i32* store i32 0, i32* %12, align 4 store i64 ptrtoint ([3 x i8]* @gv_0 to i64), i64* %arg1, align 8 %13 = inttoptr i64 %1 to i8* store i8 1, i8* %13, align 1 store i64 ptrtoint (i64* @gv_1 to i64), i64* %4, align 8 %14 = load i64, i64* @gv_2, align 8 %15 = inttoptr i64 %5 to i64* store i64 %14, i64* %15, align 8 ret i64 %0 }
0
BinRealVul
esp_reg_read_19242
esp_reg_read
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.in.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = mul i64 %arg2, 4 %3 = and i64 %2, 17179869180 %4 = add i64 %3, %0 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = zext i32 %6 to i64 %8 = and i64 %arg2, 4294967295 %9 = call i64 @FUNC(i64 %8, i64 %7) %10 = icmp eq i32 %1, 4 br i1 %10, label LBL_10, label LBL_1 LBL_1: %11 = icmp ult i32 %1, 5 br i1 %11, label LBL_2, label LBL_12 LBL_2: switch i32 %1, label LBL_12 [ i32 0, label LBL_3 i32 1, label LBL_9 ] LBL_3: %12 = add i64 %0, 20 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label LBL_8, label LBL_4 LBL_4: %16 = add i32 %14, -1 store i32 %16, i32* %13, align 4 %17 = add i64 %0, 8 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = urem i32 %19, 2 %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_6, label LBL_5 LBL_5: %23 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_0, i64 0, i64 0)) %24 = bitcast i64* %arg1 to i32* store i32 0, i32* %24, align 4 br label LBL_7 LBL_6: %25 = add i64 %0, 24 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = add i32 %27, 1 store i32 %28, i32* %26, align 4 %29 = zext i32 %27 to i64 %30 = add i64 %0, 37 %31 = add i64 %30, %29 %32 = inttoptr i64 %31 to i8* %33 = load i8, i8* %32, align 1 %34 = zext i8 %33 to i32 %35 = bitcast i64* %arg1 to i32* store i32 %34, i32* %35, align 4 br label LBL_7 LBL_7: %36 = call i64 @FUNC(i64 %0) %.pre = load i32, i32* %13, align 4 %phitmp = icmp eq i32 %.pre, 0 %phitmp2 = icmp eq i1 %phitmp, false br i1 %phitmp2, label LBL_12, label LBL_8 LBL_8: %37 = add i64 %0, 24 %38 = inttoptr i64 %37 to i32* store i32 0, i32* %38, align 4 %39 = add i64 %0, 28 %40 = inttoptr i64 %39 to i32* store i32 0, i32* %40, align 4 br label LBL_12 LBL_9: %41 = add i64 %0, 4 %42 = inttoptr i64 %41 to i32* %43 = load i32, i32* %42, align 4 store i32 0, i32* %42, align 4 %44 = add i64 %0, 8 %45 = inttoptr i64 %44 to i32* %46 = load i32, i32* %45, align 4 %47 = and i32 %46, -3 store i32 %47, i32* %45, align 4 %48 = add i64 %0, 12 %49 = inttoptr i64 %48 to i32* store i32 3, i32* %49, align 4 %50 = call i64 @FUNC(i64 %0) store i32 %43, i32* %rax.0.in.reg2mem br label LBL_13 LBL_10: %51 = add i64 %0, 36 %52 = inttoptr i64 %51 to i8* %53 = load i8, i8* %52, align 1 %54 = icmp eq i8 %53, 0 %55 = icmp eq i1 %54, false br i1 %55, label LBL_12, label LBL_11 LBL_11: %56 = add i64 %0, 32 %57 = inttoptr i64 %56 to i32* %58 = load i32, i32* %57, align 4 store i32 %58, i32* %rax.0.in.reg2mem br label LBL_13 LBL_12: %59 = load i32, i32* %5, align 4 store i32 %59, i32* %rax.0.in.reg2mem br label LBL_13 LBL_13: %rax.0.in.reload = load i32, i32* %rax.0.in.reg2mem %rax.0 = zext i32 %rax.0.in.reload to i64 ret i64 %rax.0 uselistorder i32 %1, { 1, 0, 2 } uselistorder i64 %0, { 13, 12, 1, 2, 3, 4, 9, 10, 5, 6, 8, 7, 11, 0 } uselistorder i32* %rax.0.in.reg2mem, { 0, 3, 2, 1 } uselistorder i1 false, { 1, 0, 2 } uselistorder i32 0, { 2, 3, 4, 0, 5, 6, 7, 1 } uselistorder i64 4, { 1, 0 } uselistorder i64 %arg2, { 1, 0, 2 } uselistorder label LBL_12, { 3, 2, 1, 0, 4 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_7, { 1, 0 } }
1
BinRealVul
omap2_gpio_module_readp_17193
omap2_gpio_module_readp
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = trunc i64 %arg2 to i32 %1 = and i64 %arg2, 4294967295 %2 = call i64 @FUNC(i64 %arg1, i64 %1) %3 = mul i32 %0, 8 %4 = and i32 %3, 24 %5 = icmp eq i32 %4, 0 %6 = trunc i64 %2 to i32 %7 = lshr i32 %6, %4 %8 = zext i32 %7 to i64 %storemerge = select i1 %5, i64 %2, i64 %8 ret i64 %storemerge uselistorder i32 %4, { 1, 0 } uselistorder i64 %arg2, { 1, 0 } }
1
BinRealVul
rm_write_header_1555
rm_write_header
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %xmm1.0.reg2mem = alloca i128 %xmm0.0.reg2mem = alloca i128 %xmm0.12.reg2mem = alloca i128 %xmm1.13.reg2mem = alloca i128 %storemerge4.reg2mem = alloca i32 %.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 = ptrtoint i32* %arg1 to i64 %6 = trunc i64 %3 to i32 %7 = icmp slt i32 %6, 3 br i1 %7, label LBL_1, label LBL_3 LBL_1: %8 = icmp eq i32 %6, 0 br i1 %8, label LBL_8, label LBL_2 LBL_2: %9 = add i64 %5, 24 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = bitcast i64* %rdi to i32* %13 = add i64 %5, 8 %14 = inttoptr i64 %13 to i64* %15 = add i64 %11, 72 %16 = inttoptr i64 %15 to i64* %17 = add i64 %11, 64 %18 = inttoptr i64 %17 to i64* store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge4.reg2mem br label LBL_4 LBL_3: %19 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([60 x i8], [60 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_10 LBL_4: %xmm0.12.reload = load i128, i128* %xmm0.12.reg2mem %xmm1.13.reload = load i128, i128* %xmm1.13.reg2mem %storemerge4.reload = load i32, i32* %storemerge4.reg2mem %.reload = load i64, i64* %.reg2mem %20 = load i64, i64* %14, align 8 %21 = mul i64 %.reload, 8 %22 = add i64 %20, %21 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = inttoptr i64 %24 to i32* store i32 %storemerge4.reload, i32* %25, align 4 %26 = load i64, i64* %14, align 8 %27 = add i64 %26, %21 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = add i64 %29, 8 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = mul i64 %.reload, 32 %34 = add i64 %33, %11 %35 = inttoptr i64 %34 to i64* %36 = call i64* @memset(i64* %35, i32 0, i32 32) %37 = inttoptr i64 %34 to i32* store i32 %storemerge4.reload, i32* %37, align 4 %38 = add i64 %32, 4 %39 = inttoptr i64 %38 to i32* %40 = load i32, i32* %39, align 4 %41 = add i64 %34, 4 %42 = inttoptr i64 %41 to i32* store i32 %40, i32* %42, align 4 %43 = add i64 %34, 8 %44 = inttoptr i64 %43 to i64* store i64 %32, i64* %44, align 8 %45 = add i64 %32, 48 %46 = inttoptr i64 %45 to i32* %47 = load i32, i32* %46, align 4 store i64 4294967295, i64* %rax.0.reg2mem switch i32 %47, label LBL_10 [ i32 1, label LBL_5 i32 2, label LBL_6 ] LBL_5: store i64 %34, i64* %18, align 8 %48 = add i64 %32, 32 %49 = inttoptr i64 %48 to i32* %50 = load i32, i32* %49, align 4 %51 = call i128 @FUNC(i128 %xmm0.12.reload, i128 %xmm0.12.reload) %52 = call i128 @FUNC(i32 %50) %53 = add i64 %32, 36 %54 = inttoptr i64 %53 to i32* %55 = load i32, i32* %54, align 4 %56 = call i128 @FUNC(i128 %xmm1.13.reload, i128 %xmm1.13.reload) %57 = call i128 @FUNC(i32 %55) %58 = call i128 @FUNC(i128 %52, i128 %57) %59 = call i64 @FUNC(i128 %58) %60 = add i64 %34, 16 %61 = trunc i64 %59 to i32 %62 = inttoptr i64 %60 to i32* store i32 %61, i32* %62, align 4 %63 = add i64 %34, 20 %64 = inttoptr i64 %63 to i32* store i32 1024, i32* %64, align 4 %65 = add i64 %34, 24 %66 = inttoptr i64 %65 to i32* store i32 0, i32* %66, align 4 %67 = add i64 %34, 28 %68 = inttoptr i64 %67 to i32* store i32 0, i32* %68, align 4 store i128 %58, i128* %xmm0.0.reg2mem store i128 %57, i128* %xmm1.0.reg2mem br label LBL_7 LBL_6: store i64 %34, i64* %16, align 8 %69 = add i64 %32, 44 %70 = inttoptr i64 %69 to i32* %71 = load i32, i32* %70, align 4 %72 = call i128 @FUNC(i128 %xmm0.12.reload, i128 %xmm0.12.reload) %73 = call i128 @FUNC(i32 %71) %74 = add i64 %32, 40 %75 = inttoptr i64 %74 to i32* %76 = load i32, i32* %75, align 4 %77 = call i128 @FUNC(i128 %xmm1.13.reload, i128 %xmm1.13.reload) %78 = call i128 @FUNC(i32 %76) %79 = call i128 @FUNC(i128 %73, i128 %78) %80 = call i64 @FUNC(i128 %79) %81 = add i64 %34, 16 %82 = trunc i64 %80 to i32 %83 = inttoptr i64 %81 to i32* store i32 %82, i32* %83, align 4 %84 = add i64 %34, 20 %85 = inttoptr i64 %84 to i32* store i32 4096, i32* %85, align 4 %86 = add i64 %34, 24 %87 = inttoptr i64 %86 to i32* store i32 0, i32* %87, align 4 %88 = add i64 %34, 28 %89 = inttoptr i64 %88 to i32* store i32 0, i32* %89, align 4 store i128 %79, i128* %xmm0.0.reg2mem store i128 %78, i128* %xmm1.0.reg2mem br label LBL_7 LBL_7: %xmm1.0.reload = load i128, i128* %xmm1.0.reg2mem %xmm0.0.reload = load i128, i128* %xmm0.0.reg2mem %90 = add i32 %storemerge4.reload, 1 %91 = load i32, i32* %12, align 8 %92 = zext i32 %91 to i64 %93 = sext i32 %90 to i64 %94 = icmp slt i64 %93, %92 store i64 %93, i64* %.reg2mem store i32 %90, i32* %storemerge4.reg2mem store i128 %xmm1.0.reload, i128* %xmm1.13.reg2mem store i128 %xmm0.0.reload, i128* %xmm0.12.reg2mem br i1 %94, label LBL_4, label LBL_8 LBL_8: %95 = call i64 @FUNC(i64 %5, i64 0, i64 0) %96 = trunc i64 %95 to i32 %97 = icmp eq i32 %96, 0 store i64 4294967294, i64* %rax.0.reg2mem br i1 %97, label LBL_9, label LBL_10 LBL_9: %98 = add i64 %5, 16 %99 = inttoptr i64 %98 to i64* %100 = load i64, i64* %99, align 8 %101 = call i64 @FUNC(i64 %100) 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 %21, { 1, 0 } uselistorder i64 %.reload, { 1, 0 } uselistorder i128 %xmm1.13.reload, { 1, 0, 3, 2 } uselistorder i128 %xmm0.12.reload, { 1, 0, 3, 2 } uselistorder i64 %11, { 0, 2, 1 } uselistorder i64 %5, { 1, 3, 0, 2, 4 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge4.reg2mem, { 1, 0, 2 } uselistorder i128* %xmm1.13.reg2mem, { 1, 0 } uselistorder i128* %xmm0.12.reg2mem, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder i64 8, { 1, 2, 0, 3 } uselistorder i32 0, { 7, 2, 5, 3, 6, 4, 0, 1 } uselistorder label LBL_10, { 2, 1, 0, 3 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
pvc_getname_11299
pvc_getname
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp eq i64 %3, 0 store i64 1, i64* %storemerge.reg2mem br i1 %4, label LBL_3, label LBL_1 LBL_1: %5 = add i64 %1, 16 %6 = call i64 @FUNC(i64 0, i64 %5) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false store i64 1, i64* %storemerge.reg2mem br i1 %9, label LBL_2, label LBL_3 LBL_2: %10 = ptrtoint i64* %arg2 to i64 %11 = bitcast i64* %arg3 to i32* store i32 16, i32* %11, align 4 %12 = bitcast i64* %arg2 to i32* store i32 1, i32* %12, align 4 %13 = load i64, i64* %2, align 8 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = add i64 %10, 4 %17 = inttoptr i64 %16 to i32* store i32 %15, i32* %17, align 4 %18 = add i64 %1, 8 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = add i64 %10, 8 %22 = inttoptr i64 %21 to i32* store i32 %20, i32* %22, align 4 %23 = add i64 %1, 12 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = add i64 %10, 12 %27 = inttoptr i64 %26 to i32* store i32 %25, i32* %27, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %10, { 2, 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder i64 1, { 1, 0, 2 } uselistorder label LBL_3, { 2, 1, 0 } }
1
BinRealVul
newh6namemem_8368
newh6namemem
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %.reg2mem2 = alloca i32 %.reg2mem = alloca i64 %0 = load i32, i32* @gv_0, align 4 %1 = icmp eq i32 %0, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_0.LBL_3_crit_edge, label LBL_2 LBL_1: %.pre1 = load i64, i64* @gv_1, align 8 store i64 %.pre1, i64* %.reg2mem store i32 %0, i32* %.reg2mem2 br label LBL_3 LBL_2: store i32 64, i32* @gv_0, align 4 %3 = call i64* @calloc(i32 64, i32 0) %4 = ptrtoint i64* %3 to i64 store i64 %4, i64* @gv_1, align 8 %.pre = load i32, i32* @gv_0, align 4 store i64 %4, i64* %.reg2mem store i32 %.pre, i32* %.reg2mem2 br label LBL_3 LBL_3: %.reload3 = load i32, i32* %.reg2mem2 %.reload = load i64, i64* %.reg2mem %5 = add i32 %.reload3, -1 store i32 %5, i32* @gv_0, align 4 ret i64 %.reload uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem2, { 0, 2, 1 } uselistorder i64* @gv_1, { 1, 0 } uselistorder i32 0, { 0, 2, 1 } uselistorder i32* @gv_0, { 3, 0, 2, 1 } uselistorder label LBL_3, { 1, 0 } }
0
reposvul_c_test
ng_pkt_277
ng_pkt
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = call i64 @FUNC(i64 24) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_9 LBL_1: %3 = inttoptr i64 %0 to i64* store i64 0, i64* %3, align 8 %4 = add i64 %0, 16 %5 = inttoptr i64 %4 to i32* store i32 1, i32* %5, align 4 %6 = add i64 %arg2, 3 %7 = inttoptr i64 %6 to i8* %8 = call i8* @strchr(i8* %7, i32 32) %9 = icmp eq i8* %8, null br i1 %9, label LBL_8, label LBL_2 LBL_2: %10 = ptrtoint i8* %8 to i64 %11 = sub i64 %10, %6 %12 = mul i64 %11, 8 %13 = ptrtoint i64* %sv_0 to i64 %14 = sub i64 0, %13 %15 = icmp eq i64 %12, %14 store i64 4294967295, i64* %rax.0.reg2mem br i1 %15, label LBL_3, label LBL_9 LBL_3: %16 = load i64, i64* %sv_0, align 8 %17 = call i64 @FUNC(i64 %16) store i64 %17, i64* %3, align 8 %18 = icmp eq i64 %17, 0 %19 = icmp eq i1 %18, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %19, label LBL_4, label LBL_9 LBL_4: %20 = trunc i64 %11 to i32 %21 = inttoptr i64 %17 to i64* %22 = inttoptr i64 %6 to i64* %23 = call i64* @memcpy(i64* %21, i64* %22, i32 %20) %24 = load i64, i64* %3, align 8 %sext = mul i64 %11, 4294967296 %25 = ashr exact i64 %sext, 32 %26 = add i64 %24, %25 %27 = inttoptr i64 %26 to i8* store i8 0, i8* %27, align 1 %28 = add i64 %10, 1 %29 = inttoptr i64 %28 to i8* %30 = call i8* @strchr(i8* %29, i32 10) %31 = icmp eq i8* %30, null br i1 %31, label LBL_8, label LBL_5 LBL_5: %32 = ptrtoint i8* %30 to i64 %33 = sub i64 %32, %28 %34 = mul i64 %33, 8 %35 = icmp eq i64 %34, %12 store i64 4294967295, i64* %rax.0.reg2mem br i1 %35, label LBL_6, label LBL_9 LBL_6: %36 = load i64, i64* %sv_0, align 8 %37 = call i64 @FUNC(i64 %36) %38 = add i64 %0, 8 %39 = inttoptr i64 %38 to i64* store i64 %37, i64* %39, align 8 %40 = icmp eq i64 %37, 0 %41 = icmp eq i1 %40, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %41, label LBL_7, label LBL_9 LBL_7: %42 = trunc i64 %33 to i32 %43 = inttoptr i64 %37 to i64* %44 = inttoptr i64 %28 to i64* %45 = call i64* @memcpy(i64* %43, i64* %44, i32 %42) %46 = load i64, i64* %39, align 8 %sext2 = mul i64 %33, 4294967296 %47 = ashr exact i64 %sext2, 32 %48 = add i64 %46, %47 %49 = inttoptr i64 %48 to i8* store i8 0, i8* %49, align 1 store i64 %0, i64* %arg1, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_9 LBL_8: %50 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0)) %51 = load i64, i64* %3, align 8 %52 = call i64 @FUNC(i64 %51) %53 = call i64 @FUNC(i64 %0) store i64 4294967295, 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 %37, { 1, 0, 2 } uselistorder i64 %33, { 0, 2, 1 } uselistorder i8* %30, { 1, 0 } uselistorder i64 %17, { 1, 0, 2 } uselistorder i64 %12, { 1, 0 } uselistorder i64 %11, { 0, 2, 1 } uselistorder i8* %8, { 1, 0 } uselistorder i64* %3, { 2, 0, 1, 3 } uselistorder i64 %0, { 2, 0, 1, 3, 4, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 7, 6, 1, 2, 3, 4, 5 } uselistorder i8 0, { 1, 2, 0 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 } uselistorder i64 4294967295, { 5, 0, 1, 2, 3, 4, 6 } uselistorder i64 (i64)* @git__malloc, { 2, 1, 0 } uselistorder label LBL_9, { 5, 6, 0, 1, 2, 3, 4 } }
1
BinRealVul
get_mtu_4330
get_mtu
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = inttoptr i64 %arg1 to i8* %1 = call i32 @if_nametoindex(i8* %0) %2 = icmp slt i32 %1, 0 %3 = icmp eq i1 %2, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_2 LBL_1: %4 = zext i32 %1 to i64 %5 = call i64 @FUNC(i64 %4) store i64 %5, 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 } }
0
BinRealVul
saCkptSectionDelete_4050
saCkptSectionDelete
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.shrunk.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_1 = alloca i32, align 4 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %0 = icmp eq i64* %arg2, null %1 = icmp eq i1 %0, false store i32 -1, i32* %rax.0.shrunk.reg2mem br i1 %1, label LBL_1, label LBL_6 LBL_1: %2 = call i64 @FUNC(i64* nonnull @gv_0, i64 %arg1, i64* nonnull %sv_3) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 store i32 %3, i32* %rax.0.shrunk.reg2mem br i1 %4, label LBL_2, label LBL_6 LBL_2: %5 = load i64, i64* %sv_3, align 8 %6 = inttoptr i64 %5 to i64* %7 = call i32 @pthread_mutex_lock(i64* %6) %8 = add i64 %arg1, 280 store i64 %8, i64* %sv_2, align 8 %9 = load i64, i64* %sv_3, align 8 %10 = add i64 %9, 40 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = zext i32 %12 to i64 %14 = call i64 @FUNC(i64 %13, i64* nonnull %sv_2, i64 280, i64 0) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false store i32 %15, i32* %sv_0.0.reg2mem br i1 %17, label LBL_5, label LBL_3 LBL_3: %18 = ptrtoint i64* %arg2 to i64 %19 = ptrtoint i64* %sv_2 to i64 %20 = add i64 %18, 8 %21 = load i64, i64* %sv_3, align 8 %22 = add i64 %21, 40 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = zext i32 %24 to i64 %26 = inttoptr i64 %20 to i64* %27 = call i64 @FUNC(i64 %25, i64* %26, i64 %19, i64 0) %28 = trunc i64 %27 to i32 %29 = icmp eq i32 %28, 0 %30 = icmp eq i1 %29, false store i32 %28, i32* %sv_0.0.reg2mem br i1 %30, label LBL_5, label LBL_4 LBL_4: %31 = load i64, i64* %sv_3, align 8 %32 = add i64 %31, 40 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = zext i32 %34 to i64 %36 = bitcast i32* %sv_1 to i64* %37 = call i64 @FUNC(i64 %35, i64* nonnull %36, i64 4, i64 0) %38 = trunc i64 %37 to i32 %39 = load i64, i64* %sv_3, align 8 %40 = inttoptr i64 %39 to i64* %41 = call i32 @pthread_mutex_unlock(i64* %40) store i32 %38, i32* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %42 = call i64 @FUNC(i64* nonnull @gv_0, i64 %arg1) %43 = icmp eq i32 %sv_0.0.reload, 0 %44 = icmp eq i1 %43, false %45 = load i32, i32* %sv_1, align 4 %spec.select = select i1 %44, i32 %sv_0.0.reload, i32 %45 store i32 %spec.select, i32* %rax.0.shrunk.reg2mem br label LBL_6 LBL_6: %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem %rax.0 = zext i32 %rax.0.shrunk.reload to i64 ret i64 %rax.0 uselistorder i32 %sv_0.0.reload, { 1, 0 } uselistorder i64* %sv_3, { 1, 2, 3, 4, 5, 0 } uselistorder i64* %sv_2, { 1, 0, 2 } uselistorder i64 (i64, i64*, i64, i64)* @saSendRetry, { 1, 0 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_5, { 2, 0, 1 } }
0
BinRealVul
slirp_send_1196
slirp_send
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, -1 %4 = icmp eq i1 %3, false br i1 %4, label LBL_3, label LBL_1 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = add i64 %5, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp eq i64 %8, 0 br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = call i64 @FUNC(i64 %8, i64 %arg2, i64 %arg3) store i64 %arg3, i64* %storemerge.reg2mem br label LBL_4 LBL_3: %11 = trunc i64 %arg4 to i32 %12 = inttoptr i64 %arg2 to i64* %13 = trunc i64 %arg3 to i32 %14 = call i32 @send(i32 %2, i64* %12, i32 %13, i32 %11) %15 = sext i32 %14 to i64 store i64 %15, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 %arg3, { 2, 0, 1 } uselistorder i64 %arg2, { 1, 0 } }
0
BinRealVul
journal_unmap_buffer_7760
journal_unmap_buffer
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: store i64 0, i64* %arg2, align 8 ret i64 1 }
1
BinRealVul
um_new_card_17572
um_new_card
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i8* %1 = alloca i64 %rax.0.reg2mem = alloca i64 %2 = load i64, i64* %1 %3 = load i64, i64* %1 %4 = load i64, i64* %1 %5 = load i64, i64* %1 %sv_0 = alloca i64, align 8 %6 = load i8*, i8** %0 %7 = call i64 @FUNC(i64 0, i64 32) %8 = icmp eq i64 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i64 32, i64 %4, i64 %5, i64 %3, i64 %2) store i64 %10, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %11 = ptrtoint i64* %arg1 to i64 %12 = inttoptr i64 %7 to i64* store i64 0, i64* %12, align 8 %13 = ptrtoint i8* %6 to i64 %14 = trunc i64 %13 to i32 %15 = add i64 %7, 8 %16 = inttoptr i64 %15 to i32* store i32 %14, i32* %16, align 4 %17 = and i64 %13, 4294967295 %18 = call i64 @FUNC(i64 %11, i64 %17) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_4, label LBL_3 LBL_3: %22 = call i64 @FUNC(i64* nonnull @gv_1, i64* nonnull %sv_0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0)) %23 = add i64 %7, 16 %24 = call i64 @FUNC(i64 %23, i64* nonnull @gv_3) %25 = call i64 @FUNC(i64* nonnull @gv_1, i64* nonnull %sv_0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0)) store i64 %25, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %26 = call i64 @FUNC(i8* %6, i64 %17, i64 %17, i64 %5, i64 %3, i64 %2) store i64 %26, 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 i8* %6, { 1, 0 } uselistorder i64 %5, { 1, 0 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %1, { 3, 2, 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @DBG_ERR, { 1, 0 } }
1
BinRealVul
print_uint8_16030
print_uint8
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1, i64 %0) %3 = inttoptr i64 %2 to i8* %4 = load i8, i8* %3, align 1 %5 = zext i8 %4 to i32 %6 = bitcast i64* %arg3 to i8* %7 = trunc i64 %arg4 to i32 %8 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %6, i32 %7, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i32 %5) %9 = sext i32 %8 to i64 ret i64 %9 }
1
BinRealVul
kvm_init_cpu_signals_17305
kvm_init_cpu_signals
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %1 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 152) store i64 4198790, i64* %sv_1, align 8 %2 = bitcast i64* %sv_1 to %sigaction* %3 = call i32 @sigaction(i32 34, %sigaction* nonnull %2, %sigaction* null) %4 = bitcast i64* %sv_0 to %_TYPEDEF___sigset_t* %5 = call i32 @pthread_sigmask(i32 0, %_TYPEDEF___sigset_t* null, %_TYPEDEF___sigset_t* nonnull %4) %6 = bitcast i64* %sv_0 to %_TYPEDEF_sigset_t* %7 = call i32 @sigdelset(%_TYPEDEF_sigset_t* nonnull %6, i32 7) %8 = call i32 @pthread_sigmask(i32 2, %_TYPEDEF___sigset_t* nonnull %4, %_TYPEDEF___sigset_t* null) %9 = call i32 @sigdelset(%_TYPEDEF_sigset_t* nonnull %6, i32 34) %10 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = sub i32 0, %11 %14 = call i8* @strerror(i32 %13) %15 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %16 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %15, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), i8* %14) call void @exit(i32 1) unreachable LBL_2: ret i64 %10 uselistorder i64* %sv_1, { 0, 2, 1 } uselistorder i32 (%_TYPEDEF_sigset_t*, i32)* @sigdelset, { 1, 0 } uselistorder i32 (i32, %_TYPEDEF___sigset_t*, %_TYPEDEF___sigset_t*)* @pthread_sigmask, { 1, 0 } uselistorder i32 0, { 2, 3, 0, 1 } }
1
BinRealVul
opt_sameq_14036
opt_sameq
define i64 @FUNC(i64 %arg1, i8* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i8* %arg2 to i64 %4 = call i64 @FUNC(i64 0, i64 1, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1) ret i64 0 uselistorder i64* %0, { 1, 0 } uselistorder i32 1, { 2, 3, 1, 0 } }
1
BinRealVul
sd_read_data_79
sd_read_data
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i8 %rdi.3.reg2mem = alloca i64 %.reg2mem11 = alloca i32 %rdi.2.reg2mem = alloca i64 %.reg2mem9 = alloca i32 %rdi.1.reg2mem = alloca i64 %.reg2mem7 = alloca i32 %rdi.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %storemerge.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 24 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp eq i64 %3, 0 store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_44, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %3) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_44, label LBL_2 LBL_2: %8 = add i64 %0, 56 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false store i64 0, i64* %rax.0.reg2mem br i1 %12, label LBL_3, label LBL_44 LBL_3: %13 = add i64 %0, 52 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = icmp eq i32 %15, 1 br i1 %16, label LBL_5, label LBL_4 LBL_4: %17 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_0, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_44 LBL_5: %18 = add i64 %0, 68 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = urem i32 %20, 4 %22 = icmp eq i32 %21, 0 store i64 0, i64* %rax.0.reg2mem br i1 %22, label LBL_6, label LBL_44 LBL_6: %23 = add i64 %0, 60 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = and i32 %25, 1073741824 %27 = icmp eq i32 %26, 0 %28 = icmp eq i1 %27, false store i32 512, i32* %storemerge.reg2mem br i1 %28, label LBL_8, label LBL_7 LBL_7: %29 = add i64 %0, 32 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 store i32 %31, i32* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i32, i32* %storemerge.reg2mem %32 = add i64 %0, 64 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = add i32 %34, -6 %36 = zext i32 %35 to i64 store i64 %36, i64* @0, align 8 switch i32 %34, label LBL_42 [ i32 6, label LBL_9 i32 9, label LBL_11 i32 10, label LBL_11 i32 11, label LBL_13 i32 13, label LBL_18 i32 17, label LBL_20 i32 18, label LBL_24 i32 22, label LBL_32 i32 30, label LBL_34 i32 51, label LBL_36 i32 56, label LBL_38 ] LBL_9: %37 = add i64 %0, 40 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 %40 = add i32 %39, 1 store i32 %40, i32* %38, align 4 %41 = sext i32 %39 to i64 %42 = add i64 %3, %41 %43 = inttoptr i64 %42 to i8* %44 = load i8, i8* %43, align 1 %45 = icmp slt i32 %40, 64 store i8 %44, i8* %sv_0.0.reg2mem br i1 %45, label LBL_43, label LBL_10 LBL_10: store i32 2, i32* %14, align 4 store i8 %44, i8* %sv_0.0.reg2mem br label LBL_43 LBL_11: %46 = add i64 %0, 40 %47 = inttoptr i64 %46 to i32* %48 = load i32, i32* %47, align 4 %49 = add i32 %48, 1 store i32 %49, i32* %47, align 4 %50 = sext i32 %48 to i64 %51 = add i64 %3, %50 %52 = inttoptr i64 %51 to i8* %53 = load i8, i8* %52, align 1 %54 = icmp slt i32 %49, 16 store i8 %53, i8* %sv_0.0.reg2mem br i1 %54, label LBL_43, label LBL_12 LBL_12: store i32 2, i32* %14, align 4 store i8 %53, i8* %sv_0.0.reg2mem br label LBL_43 LBL_13: %55 = add i64 %0, 40 %56 = inttoptr i64 %55 to i32* %57 = load i32, i32* %56, align 4 %58 = icmp eq i32 %57, 0 %59 = icmp eq i1 %58, false store i32 %57, i32* %.reg2mem store i64 %3, i64* %rdi.0.reg2mem br i1 %59, label LBL_15, label LBL_14 LBL_14: %60 = add i64 %0, 44 %61 = inttoptr i64 %60 to i32* %62 = load i32, i32* %61, align 4 %63 = zext i32 %storemerge.reload to i64 %64 = zext i32 %62 to i64 %65 = call i64 @FUNC(i64 %64, i64 %63) %.pre3 = load i32, i32* %56, align 4 store i32 %.pre3, i32* %.reg2mem store i64 %64, i64* %rdi.0.reg2mem br label LBL_15 LBL_15: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %.reload = load i32, i32* %.reg2mem %66 = add i32 %.reload, 1 store i32 %66, i32* %56, align 4 %67 = sext i32 %.reload to i64 %68 = add i64 %rdi.0.reload, %67 %69 = inttoptr i64 %68 to i8* %70 = load i8, i8* %69, align 1 %71 = zext i32 %66 to i64 %72 = sext i32 %storemerge.reload to i64 %73 = icmp sgt i64 %72, %71 store i8 %70, i8* %sv_0.0.reg2mem br i1 %73, label LBL_43, label LBL_16 LBL_16: %74 = add i64 %0, 44 %75 = inttoptr i64 %74 to i32* %76 = load i32, i32* %75, align 4 %77 = add i32 %76, %storemerge.reload store i32 %77, i32* %75, align 4 store i32 0, i32* %56, align 4 %78 = load i32, i32* %75, align 4 %79 = add i32 %78, %storemerge.reload %80 = add i64 %0, 36 %81 = inttoptr i64 %80 to i32* %82 = load i32, i32* %81, align 4 %83 = icmp ugt i32 %79, %82 store i8 %70, i8* %sv_0.0.reg2mem br i1 %83, label LBL_17, label LBL_43 LBL_17: %84 = load i32, i32* %19, align 4 %85 = or i32 %84, 1 store i32 %85, i32* %19, align 4 store i8 %70, i8* %sv_0.0.reg2mem br label LBL_43 LBL_18: %86 = add i64 %0, 8 %87 = inttoptr i64 %86 to i64* %88 = load i64, i64* %87, align 8 %89 = add i64 %0, 40 %90 = inttoptr i64 %89 to i32* %91 = load i32, i32* %90, align 4 %92 = add i32 %91, 1 store i32 %92, i32* %90, align 4 %93 = sext i32 %91 to i64 %94 = add i64 %88, %93 %95 = inttoptr i64 %94 to i8* %96 = load i8, i8* %95, align 1 %97 = icmp ult i32 %92, 8 store i8 %96, i8* %sv_0.0.reg2mem br i1 %97, label LBL_43, label LBL_19 LBL_19: store i32 2, i32* %14, align 4 store i8 %96, i8* %sv_0.0.reg2mem br label LBL_43 LBL_20: %98 = add i64 %0, 40 %99 = inttoptr i64 %98 to i32* %100 = load i32, i32* %99, align 4 %101 = icmp eq i32 %100, 0 %102 = icmp eq i1 %101, false store i32 %100, i32* %.reg2mem7 store i64 %3, i64* %rdi.1.reg2mem br i1 %102, label LBL_22, label LBL_21 LBL_21: %103 = add i64 %0, 44 %104 = inttoptr i64 %103 to i32* %105 = load i32, i32* %104, align 4 %106 = zext i32 %storemerge.reload to i64 %107 = zext i32 %105 to i64 %108 = call i64 @FUNC(i64 %107, i64 %106) %.pre2 = load i32, i32* %99, align 4 store i32 %.pre2, i32* %.reg2mem7 store i64 %107, i64* %rdi.1.reg2mem br label LBL_22 LBL_22: %rdi.1.reload = load i64, i64* %rdi.1.reg2mem %.reload8 = load i32, i32* %.reg2mem7 %109 = add i32 %.reload8, 1 store i32 %109, i32* %99, align 4 %110 = sext i32 %.reload8 to i64 %111 = add i64 %rdi.1.reload, %110 %112 = inttoptr i64 %111 to i8* %113 = load i8, i8* %112, align 1 %114 = zext i32 %109 to i64 %115 = sext i32 %storemerge.reload to i64 %116 = icmp sgt i64 %115, %114 store i8 %113, i8* %sv_0.0.reg2mem br i1 %116, label LBL_43, label LBL_23 LBL_23: store i32 2, i32* %14, align 4 store i8 %113, i8* %sv_0.0.reg2mem br label LBL_43 LBL_24: %117 = add i64 %0, 40 %118 = inttoptr i64 %117 to i32* %119 = load i32, i32* %118, align 4 %120 = icmp eq i32 %119, 0 %121 = icmp eq i1 %120, false store i32 %119, i32* %.reg2mem9 store i64 %3, i64* %rdi.2.reg2mem br i1 %121, label LBL_26, label LBL_25 LBL_25: %122 = add i64 %0, 44 %123 = inttoptr i64 %122 to i32* %124 = load i32, i32* %123, align 4 %125 = zext i32 %storemerge.reload to i64 %126 = zext i32 %124 to i64 %127 = call i64 @FUNC(i64 %126, i64 %125) %.pre1 = load i32, i32* %118, align 4 store i32 %.pre1, i32* %.reg2mem9 store i64 %126, i64* %rdi.2.reg2mem br label LBL_26 LBL_26: %rdi.2.reload = load i64, i64* %rdi.2.reg2mem %.reload10 = load i32, i32* %.reg2mem9 %128 = add i32 %.reload10, 1 store i32 %128, i32* %118, align 4 %129 = sext i32 %.reload10 to i64 %130 = add i64 %rdi.2.reload, %129 %131 = inttoptr i64 %130 to i8* %132 = load i8, i8* %131, align 1 %133 = zext i32 %128 to i64 %134 = sext i32 %storemerge.reload to i64 %135 = icmp sgt i64 %134, %133 store i8 %132, i8* %sv_0.0.reg2mem br i1 %135, label LBL_43, label LBL_27 LBL_27: %136 = add i64 %0, 44 %137 = inttoptr i64 %136 to i32* %138 = load i32, i32* %137, align 4 %139 = add i32 %138, %storemerge.reload store i32 %139, i32* %137, align 4 store i32 0, i32* %118, align 4 %140 = add i64 %0, 48 %141 = inttoptr i64 %140 to i32* %142 = load i32, i32* %141, align 4 %143 = icmp eq i32 %142, 0 br i1 %143, label LBL_30, label LBL_28 LBL_28: %144 = add i32 %142, -1 store i32 %144, i32* %141, align 4 %145 = icmp eq i32 %144, 0 %146 = icmp eq i1 %145, false br i1 %146, label LBL_30, label LBL_29 LBL_29: store i32 2, i32* %14, align 4 store i8 %132, i8* %sv_0.0.reg2mem br label LBL_43 LBL_30: %147 = load i32, i32* %137, align 4 %148 = add i32 %147, %storemerge.reload %149 = add i64 %0, 36 %150 = inttoptr i64 %149 to i32* %151 = load i32, i32* %150, align 4 %152 = icmp ugt i32 %148, %151 store i8 %132, i8* %sv_0.0.reg2mem br i1 %152, label LBL_31, label LBL_43 LBL_31: %153 = load i32, i32* %19, align 4 %154 = or i32 %153, 1 store i32 %154, i32* %19, align 4 store i8 %132, i8* %sv_0.0.reg2mem br label LBL_43 LBL_32: %155 = add i64 %0, 40 %156 = inttoptr i64 %155 to i32* %157 = load i32, i32* %156, align 4 %158 = add i32 %157, 1 store i32 %158, i32* %156, align 4 %159 = sext i32 %157 to i64 %160 = add i64 %3, %159 %161 = inttoptr i64 %160 to i8* %162 = load i8, i8* %161, align 1 %163 = icmp slt i32 %158, 4 store i8 %162, i8* %sv_0.0.reg2mem br i1 %163, label LBL_43, label LBL_33 LBL_33: store i32 2, i32* %14, align 4 store i8 %162, i8* %sv_0.0.reg2mem br label LBL_43 LBL_34: %164 = add i64 %0, 40 %165 = inttoptr i64 %164 to i32* %166 = load i32, i32* %165, align 4 %167 = add i32 %166, 1 store i32 %167, i32* %165, align 4 %168 = sext i32 %166 to i64 %169 = add i64 %3, %168 %170 = inttoptr i64 %169 to i8* %171 = load i8, i8* %170, align 1 %172 = icmp slt i32 %167, 4 store i8 %171, i8* %sv_0.0.reg2mem br i1 %172, label LBL_43, label LBL_35 LBL_35: store i32 2, i32* %14, align 4 store i8 %171, i8* %sv_0.0.reg2mem br label LBL_43 LBL_36: %173 = add i64 %0, 16 %174 = inttoptr i64 %173 to i64* %175 = load i64, i64* %174, align 8 %176 = add i64 %0, 40 %177 = inttoptr i64 %176 to i32* %178 = load i32, i32* %177, align 4 %179 = add i32 %178, 1 store i32 %179, i32* %177, align 4 %180 = sext i32 %178 to i64 %181 = add i64 %175, %180 %182 = inttoptr i64 %181 to i8* %183 = load i8, i8* %182, align 1 %184 = icmp ult i32 %179, 8 store i8 %183, i8* %sv_0.0.reg2mem br i1 %184, label LBL_43, label LBL_37 LBL_37: store i32 2, i32* %14, align 4 store i8 %183, i8* %sv_0.0.reg2mem br label LBL_43 LBL_38: %185 = add i64 %0, 40 %186 = inttoptr i64 %185 to i32* %187 = load i32, i32* %186, align 4 %188 = icmp eq i32 %187, 0 %189 = icmp eq i1 %188, false %.pre4 = add i64 %0, 32 %.pre5 = inttoptr i64 %.pre4 to i32* store i32 %187, i32* %.reg2mem11 store i64 %3, i64* %rdi.3.reg2mem br i1 %189, label LBL_40, label LBL_39 LBL_39: %190 = load i32, i32* %.pre5, align 4 %191 = add i64 %0, 44 %192 = inttoptr i64 %191 to i32* %193 = load i32, i32* %192, align 4 %194 = zext i32 %190 to i64 %195 = zext i32 %193 to i64 %196 = call i64 @FUNC(i64 %195, i64 %194) %.pre = load i32, i32* %186, align 4 store i32 %.pre, i32* %.reg2mem11 store i64 %195, i64* %rdi.3.reg2mem br label LBL_40 LBL_40: %rdi.3.reload = load i64, i64* %rdi.3.reg2mem %.reload12 = load i32, i32* %.reg2mem11 %197 = add i32 %.reload12, 1 store i32 %197, i32* %186, align 4 %198 = sext i32 %.reload12 to i64 %199 = add i64 %rdi.3.reload, %198 %200 = inttoptr i64 %199 to i8* %201 = load i8, i8* %200, align 1 %202 = load i32, i32* %.pre5, align 4 %203 = icmp ult i32 %197, %202 store i8 %201, i8* %sv_0.0.reg2mem br i1 %203, label LBL_43, label LBL_41 LBL_41: store i32 2, i32* %14, align 4 store i8 %201, i8* %sv_0.0.reg2mem br label LBL_43 LBL_42: %204 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_1, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_44 LBL_43: %sv_0.0.reload = load i8, i8* %sv_0.0.reg2mem %205 = zext i8 %sv_0.0.reload to i64 store i64 %205, i64* %rax.0.reg2mem br label LBL_44 LBL_44: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %186, { 1, 0, 2 } uselistorder i8 %132, { 2, 1, 0, 3 } uselistorder i32* %118, { 1, 2, 0, 3 } uselistorder i32* %99, { 1, 0, 2 } uselistorder i8 %70, { 1, 0, 2 } uselistorder i32* %56, { 1, 2, 0, 3 } uselistorder i32 %storemerge.reload, { 7, 6, 5, 4, 3, 2, 9, 8, 1, 0 } uselistorder i32* %19, { 1, 0, 3, 2, 4 } uselistorder i64 %3, { 0, 7, 6, 1, 2, 3, 5, 4, 8, 9 } uselistorder i64 %0, { 21, 0, 20, 19, 18, 17, 16, 11, 12, 13, 15, 14, 10, 9, 8, 7, 3, 4, 6, 5, 2, 1, 22, 27, 26, 25, 24, 23, 28 } uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem11, { 0, 2, 1 } uselistorder i64* %rdi.3.reg2mem, { 0, 2, 1 } uselistorder i8* %sv_0.0.reg2mem, { 0, 22, 23, 20, 21, 18, 19, 16, 17, 14, 13, 12, 15, 10, 11, 8, 9, 6, 5, 7, 3, 4, 1, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 7, 1, 5, 4, 3, 2 } uselistorder i32 8, { 1, 0 } uselistorder i64 (i64, i64)* @BLK_READ_BLOCK, { 2, 1, 0 } uselistorder i32 4, { 2, 1, 0 } uselistorder i64 (i64, i8*)* @qemu_log_mask, { 1, 0 } uselistorder label LBL_44, { 4, 5, 0, 6, 3, 2, 1 } uselistorder label LBL_43, { 1, 0, 3, 2, 5, 4, 7, 6, 20, 9, 21, 8, 11, 10, 13, 12, 22, 15, 14, 17, 16, 19, 18 } uselistorder label LBL_40, { 1, 0 } uselistorder label LBL_8, { 1, 0 } }
1
BinRealVul
register_savevm_18634
register_savevm
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3, i32 %arg4, i64 %arg5, i64 %arg6, i64 %arg7) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 16) %2 = inttoptr i64 %1 to i64* store i64 %arg5, i64* %2, align 8 %3 = add i64 %1, 8 %4 = inttoptr i64 %3 to i64* store i64 %arg6, i64* %4, align 8 %5 = call i64 @FUNC(i64 %0, i64 %arg2, i32 %arg3, i32 %arg4, i64 %1, i64 %arg7) ret i64 %5 }
1
BinRealVul
max1363_single_channel_from_ring_18433
max1363_single_channel_from_ring
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.1.reg2mem = alloca i64* %sv_0.0.in.reg2mem = alloca i64 %sv_1.1.lcssa.reg2mem = alloca i32 %sv_1.13.reg2mem = alloca i32 %storemerge4.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = and i64 %5, %arg1 %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false store i64* inttoptr (i32 -1 to i64*), i64** %sv_0.1.reg2mem br i1 %8, label LBL_1, label LBL_10 LBL_1: %9 = call i64 @FUNC(i64 %5) %sext = mul i64 %9, 4294967296 %10 = ashr exact i64 %sext, 31 %11 = call i64 @FUNC(i64 %10, i64 0) %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false store i64* inttoptr (i32 -2 to i64*), i64** %sv_0.1.reg2mem br i1 %13, label LBL_2, label LBL_10 LBL_2: %14 = trunc i64 %0 to i32 %15 = and i64 %0, 4294967295 %16 = icmp eq i32 %14, 0 %17 = icmp eq i1 %16, false store i64 %15, i64* %sv_0.0.in.reg2mem br i1 %17, label LBL_9, label LBL_3 LBL_3: %storemerge2 = ashr i64 %arg1, 1 %18 = icmp eq i64 %storemerge2, 0 %19 = icmp eq i1 %18, false store i32 0, i32* %sv_1.1.lcssa.reg2mem br i1 %19, label LBL_4, label LBL_6 LBL_4: %20 = load i64, i64* %2, align 8 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 store i64 %storemerge2, i64* %storemerge4.reg2mem store i32 0, i32* %sv_1.13.reg2mem br label LBL_5 LBL_5: %sv_1.13.reload = load i32, i32* %sv_1.13.reg2mem %storemerge4.reload = load i64, i64* %storemerge4.reg2mem %23 = and i64 %storemerge4.reload, %22 %24 = icmp ne i64 %23, 0 %25 = zext i1 %24 to i32 %spec.select = add i32 %sv_1.13.reload, %25 %storemerge = ashr i64 %storemerge4.reload, 1 %26 = icmp eq i64 %storemerge, 0 %27 = icmp eq i1 %26, false store i64 %storemerge, i64* %storemerge4.reg2mem store i32 %spec.select, i32* %sv_1.13.reg2mem store i32 %spec.select, i32* %sv_1.1.lcssa.reg2mem br i1 %27, label LBL_5, label LBL_6 LBL_6: %sv_1.1.lcssa.reload = load i32, i32* %sv_1.1.lcssa.reg2mem %28 = add i64 %0, 16 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = icmp eq i32 %32, 8 br i1 %33, label LBL_8, label LBL_7 LBL_7: %34 = mul i32 %sv_1.1.lcssa.reload, 2 %35 = sext i32 %34 to i64 %36 = add i64 %11, %35 %37 = inttoptr i64 %36 to i8* %38 = load i8, i8* %37, align 1 %39 = zext i8 %38 to i64 %40 = mul i64 %39, 256 %41 = and i64 %40, 3840 %42 = or i32 %34, 1 %43 = sext i32 %42 to i64 %44 = add i64 %11, %43 %45 = inttoptr i64 %44 to i8* %46 = load i8, i8* %45, align 1 %47 = zext i8 %46 to i64 %48 = or i64 %41, %47 store i64 %48, i64* %sv_0.0.in.reg2mem br label LBL_9 LBL_8: %49 = sext i32 %sv_1.1.lcssa.reload to i64 %50 = add i64 %11, %49 %51 = inttoptr i64 %50 to i8* %52 = load i8, i8* %51, align 1 %53 = zext i8 %52 to i64 store i64 %53, i64* %sv_0.0.in.reg2mem br label LBL_9 LBL_9: %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem %sv_0.0 = inttoptr i64 %sv_0.0.in.reload to i64* %54 = call i64 @FUNC(i64 %11) store i64* %sv_0.0, i64** %sv_0.1.reg2mem br label LBL_10 LBL_10: %sv_0.1.reload = load i64*, i64** %sv_0.1.reg2mem %55 = ptrtoint i64* %sv_0.1.reload to i64 %56 = and i64 %55, 4294967295 ret i64 %56 uselistorder i32 %34, { 1, 0 } uselistorder i64 %11, { 3, 0, 1, 2, 4 } uselistorder i64 %5, { 1, 0 } uselistorder i64 %0, { 0, 2, 1, 3 } uselistorder i64* %storemerge4.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.13.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.0.in.reg2mem, { 0, 2, 1, 3 } uselistorder i64** %sv_0.1.reg2mem, { 0, 3, 1, 2 } uselistorder i32 0, { 1, 0, 3, 2 } uselistorder i1 false, { 2, 0, 3, 4, 5, 6, 1 } uselistorder i64 %arg1, { 1, 0 } uselistorder label LBL_10, { 2, 0, 1 } uselistorder label LBL_9, { 1, 2, 0 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
pcnet_tdte_poll_10194
pcnet_tdte_poll
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %.reg2mem = alloca i32 %.pre-phi5.reg2mem = alloca i32* %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 140 %2 = inttoptr i64 %1 to i32* store i32 0, i32* %2, align 4 %3 = add i64 %0, 136 %4 = inttoptr i64 %3 to i32* store i32 0, i32* %4, align 4 %5 = add i64 %0, 256 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_0.LBL_5_crit_edge, label LBL_2 LBL_1: %.pre = add i64 %0, 12 %.pre4 = inttoptr i64 %.pre to i32* store i32* %.pre4, i32** %.pre-phi5.reg2mem br label LBL_5 LBL_2: %9 = bitcast i64* %rdi to i32* %10 = load i32, i32* %9, align 8 %11 = add i64 %0, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = sub i32 %10, %13 %15 = add i64 %0, 8 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp eq i32 %17, 0 %. = select i1 %18, i32 8, i32 16 %19 = mul i32 %., %14 %20 = add i32 %19, %7 %21 = add i64 %0, 12 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = icmp eq i32 %20, %23 br i1 %24, label LBL_4, label LBL_3 LBL_3: %25 = add i64 %0, 240 %26 = inttoptr i64 %25 to i32* store i32 0, i32* %26, align 4 %27 = load i32, i32* %2, align 4 %28 = add i64 %0, 244 %29 = inttoptr i64 %28 to i32* store i32 %27, i32* %29, align 4 %30 = add i64 %0, 16 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = add i64 %0, 248 %34 = inttoptr i64 %33 to i32* store i32 %32, i32* %34, align 4 %35 = add i64 %0, 20 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = add i64 %0, 252 %39 = inttoptr i64 %38 to i32* store i32 %37, i32* %39, align 4 br label LBL_4 LBL_4: %40 = urem i32 %20, 65536 store i32 %40, i32* %4, align 4 %41 = udiv i32 %20, 65536 store i32 %41, i32* %2, align 4 store i32* %22, i32** %.pre-phi5.reg2mem br label LBL_5 LBL_5: %.pre-phi5.reload = load i32*, i32** %.pre-phi5.reg2mem %42 = load i32, i32* %.pre-phi5.reload, align 4 %43 = icmp eq i32 %42, 0 br i1 %43, label LBL_7, label LBL_6 LBL_6: %44 = add i64 %0, 16 %45 = inttoptr i64 %44 to i32* %46 = add i64 %0, 20 %47 = inttoptr i64 %46 to i32* br label LBL_8 LBL_7: %48 = add i64 %0, 20 %49 = inttoptr i64 %48 to i32* store i32 0, i32* %49, align 4 %50 = add i64 %0, 16 %51 = inttoptr i64 %50 to i32* store i32 0, i32* %51, align 4 %.pre6 = load i32, i32* %49, align 4 store i32 %.pre6, i32* %.reg2mem br label LBL_8 LBL_8: %.reload = load i32, i32* %.reg2mem %52 = trunc i32 %.reload to i16 %53 = icmp sgt i16 %52, -1 %54 = icmp eq i1 %53, false %55 = zext i1 %54 to i64 ret i64 %55 uselistorder i32* %2, { 1, 0, 2 } uselistorder i64 %0, { 11, 12, 10, 13, 2, 1, 4, 3, 5, 7, 6, 8, 9, 0, 14, 15, 16 } uselistorder i64 12, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
entry_guard_chan_failed_10704
entry_guard_chan_failed
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64 %arg1, 0 br i1 %0, label LBL_2, label LBL_1 LBL_1: %1 = call i64 @FUNC() %2 = call i64 @FUNC(i64 %1, i64 %arg1) %3 = call i64 @FUNC(i64 %1) store i64 %3, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 1, { 2, 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
gf_isom_get_udta_count_6153
gf_isom_get_udta_count
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null store i64 0, i64* %rax.0.reg2mem br i1 %0, label LBL_6, label LBL_1 LBL_1: %1 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 store i64 %1, i64* %storemerge.reg2mem br i1 %4, label LBL_4, label LBL_2 LBL_2: %5 = and i64 %2, 4294967295 %6 = call i64 @FUNC(i64 %1, i64 %5) %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_3, label LBL_6 LBL_3: %9 = inttoptr i64 %6 to i64* %10 = load i64, i64* %9, align 8 store i64 %10, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem %11 = icmp eq i64 %storemerge.reload, 0 store i64 0, i64* %rax.0.reg2mem br i1 %11, label LBL_6, label LBL_5 LBL_5: %12 = inttoptr i64 %storemerge.reload to i64* %13 = load i64, i64* %12, align 8 %14 = call i64 @FUNC(i64 %13) store i64 %14, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %storemerge.reload, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_6, { 3, 0, 1, 2 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
theora_decode_init_15991
theora_decode_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %r8.1.reg2mem = alloca i64 %r8.0.reg2mem = alloca i64 %r8.22.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %5 = add i64 %4, 16 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = inttoptr i64 %7 to i32* %9 = bitcast i64* %arg1 to i32* store i32 0, i32* %9, align 4 store i32 1, i32* %8, align 4 %10 = add i64 %4, 4 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_2, label LBL_1 LBL_1: %15 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_19 LBL_2: %16 = add i64 %4, 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = ptrtoint i64* %sv_2 to i64 %20 = call i64 @FUNC(i64 %18, i32 %12, i64 42, i64* nonnull %sv_1, i64* nonnull %sv_2) %21 = trunc i64 %20 to i32 %22 = icmp slt i32 %21, 0 %23 = icmp eq i1 %22, false br i1 %23, label LBL_3, label LBL_4 LBL_3: %24 = ptrtoint i64* %sv_3 to i64 %25 = add i64 %24, -108 %26 = add i64 %24, -96 store i64 0, i64* %indvars.iv.reg2mem store i64 %19, i64* %r8.22.reg2mem br label LBL_5 LBL_4: %27 = ptrtoint i64* %sv_1 to i64 %28 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64 %27, i64 %19, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_19 LBL_5: %r8.22.reload = load i64, i64* %r8.22.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %29 = mul i64 %indvars.iv.reload, 4 %30 = add i64 %25, %29 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = icmp slt i32 %32, 1 store i64 %r8.22.reload, i64* %r8.1.reg2mem br i1 %33, label LBL_17, label LBL_6 LBL_6: %34 = mul i64 %indvars.iv.reload, 8 %35 = add i64 %26, %34 %36 = inttoptr i64 %35 to i64* %37 = load i64, i64* %36, align 8 %38 = call i64 @FUNC(i64* nonnull %sv_0, i64 %37, i32 %32) %39 = call i64 @FUNC(i64* nonnull %sv_0, i64 8) %40 = trunc i64 %39 to i8 %41 = icmp sgt i8 %40, -1 %42 = icmp eq i1 %41, false br i1 %42, label LBL_8, label LBL_7 LBL_7: %43 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0), i64 %37, i64 %r8.22.reload, i64 %1) br label LBL_8 LBL_8: %44 = trunc i64 %39 to i32 %45 = call i64 @FUNC(i64* nonnull %sv_0, i64 48) %46 = icmp eq i32 %44, 130 br i1 %46, label LBL_12, label LBL_9 LBL_9: %47 = icmp sgt i32 %44, 130 br i1 %47, label LBL_13, label LBL_10 LBL_10: store i64 %r8.22.reload, i64* %r8.0.reg2mem switch i32 %44, label LBL_13 [ i32 128, label LBL_11 i32 129, label LBL_16 ] LBL_11: %48 = call i64 @FUNC(i64 %4, i64* nonnull %sv_0) %49 = trunc i64 %48 to i32 %50 = icmp slt i32 %49, 0 %51 = icmp eq i1 %50, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %51, label LBL_14, label LBL_19 LBL_12: %52 = call i64 @FUNC(i64 %4, i64* nonnull %sv_0) %53 = trunc i64 %52 to i32 %54 = icmp eq i32 %53, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %54, label LBL_14, label LBL_19 LBL_13: %55 = and i64 %39, 4294967167 %56 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_3, i64 0, i64 0), i64 %55, i64 %r8.22.reload, i64 %1) br label LBL_14 LBL_14: %57 = load i32, i32* %31, align 4 %58 = mul i32 %57, 8 %59 = call i64 @FUNC(i64* nonnull %sv_0) %60 = trunc i64 %59 to i32 %61 = icmp eq i32 %58, %60 store i64 %r8.22.reload, i64* %r8.0.reg2mem br i1 %61, label LBL_16, label LBL_15 LBL_15: %62 = load i32, i32* %31, align 4 %63 = mul i32 %62, 8 %64 = call i64 @FUNC(i64* nonnull %sv_0) %65 = trunc i64 %64 to i32 %66 = sub i32 %63, %65 %67 = and i64 %39, 4294967295 %68 = zext i32 %66 to i64 %69 = call i64 @FUNC(i64 %4, i64 1, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_4, i64 0, i64 0), i64 %68, i64 %67, i64 %1) store i64 %67, i64* %r8.0.reg2mem br label LBL_16 LBL_16: %r8.0.reload = load i64, i64* %r8.0.reg2mem %70 = load i32, i32* %8, align 4 %71 = icmp slt i32 %70, 197120 store i64 %r8.0.reload, i64* %r8.1.reg2mem br i1 %71, label LBL_18, label LBL_17 LBL_17: %r8.1.reload = load i64, i64* %r8.1.reg2mem %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %72 = icmp ult i64 %indvars.iv.next, 3 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %r8.1.reload, i64* %r8.22.reg2mem br i1 %72, label LBL_5, label LBL_18 LBL_18: %73 = call i64 @FUNC(i64 %4) store i64 %73, 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 i32 %44, { 0, 2, 1 } uselistorder i64 %39, { 0, 1, 3, 2 } uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64 %r8.22.reload, { 2, 4, 1, 3, 0 } uselistorder i64 %24, { 1, 0 } uselistorder i64 %19, { 1, 0 } uselistorder i64* %sv_1, { 1, 0 } uselistorder i64 %4, { 5, 4, 3, 6, 2, 1, 0, 7, 8, 9, 10 } uselistorder i64 %1, { 4, 3, 2, 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %r8.22.reg2mem, { 1, 0, 2 } uselistorder i64* %r8.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 4, 3 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64*)* @get_bits_count, { 1, 0 } uselistorder i32 128, { 1, 0 } uselistorder i32 130, { 1, 0 } uselistorder i64 8, { 1, 0, 2, 3 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 4, 3, 2, 1, 0 } uselistorder i64 0, { 5, 6, 15, 7, 8, 16, 9, 10, 17, 11, 12, 0, 18, 13, 14, 1, 2, 3, 4, 19 } uselistorder label LBL_19, { 2, 0, 1, 3, 4 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_17, { 1, 0 } uselistorder label LBL_16, { 1, 2, 0 } uselistorder label LBL_14, { 0, 2, 1 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
cp2112_gpio_get_all_12705
cp2112_gpio_get_all
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge1.reg2mem = alloca i64 %1 = ptrtoint i64* %arg1 to i64 %2 = load i64, i64* %0 %3 = call i64 @FUNC(i64 %1) %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = add i64 %3, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = add i64 %3, 16 %10 = call i64 @FUNC(i64 %9, i64 %2) %11 = call i64 @FUNC(i64 %5, i64 1, i64 %8, i64 2, i64 3, i64 1) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 2 br i1 %13, label LBL_2, label LBL_1 LBL_1: %14 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_0, i64 0, i64 0), i32 %12) %15 = icmp slt i32 %12, 0 %16 = icmp eq i1 %15, false %storemerge = select i1 %16, i64 4294967291, i64 %11 store i64 %storemerge, i64* %storemerge1.reg2mem br label LBL_3 LBL_2: %17 = add i64 %8, 1 %18 = inttoptr i64 %17 to i8* %19 = load i8, i8* %18, align 1 %20 = zext i8 %19 to i64 store i64 %20, i64* %storemerge1.reg2mem br label LBL_3 LBL_3: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %21 = call i64 @FUNC(i64 %9, i64 %2) %22 = and i64 %storemerge1.reload, 4294967295 ret i64 %22 uselistorder i32 %12, { 1, 0, 2 } uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 } uselistorder i64 1, { 2, 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
btrfs_destroy_workqueue_4909
btrfs_destroy_workqueue
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64 %arg1, 0 br i1 %0, label LBL_2, label LBL_1 LBL_1: %1 = call i64 @FUNC(i64 %arg1) %2 = add i64 %arg1, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i64 %4) %6 = call i64 @FUNC(i64 %arg1) store i64 %6, 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 (i64)* @__btrfs_destroy_workqueue, { 1, 0 } uselistorder i64 %arg1, { 1, 0, 2, 3 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
init_peercred_6462
init_peercred
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 16 %2 = call i64 @FUNC(i64 %1) %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4 %7 = zext i32 %6 to i64 %8 = call i64 @FUNC(i64 %7) %9 = and i64 %8, 4294967295 %10 = call i64 @FUNC(i64 %9) store i64 %10, i64* %arg1, align 8 %11 = call i64 @FUNC() store i64 %11, i64* %4, align 8 %12 = call i64 @FUNC(i64 %1) %13 = call i64 @FUNC(i64 %1) %14 = call i64 @FUNC(i64 %5) ret i64 %14 uselistorder i64 %1, { 1, 0, 2 } }
0
BinRealVul
_process_tokenize_6789
_process_tokenize
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.0.ph6.reg2mem = alloca i64 %sv_1.1.ph.ph9.reg2mem = alloca i32 %sv_0.0.ph13.reg2mem = alloca i64 %sv_2.1.ph14.reg2mem = alloca i32 %sv_2.1.ph.be.reg2mem = alloca i32 %.pn.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_0.0.ph.ph19.reg2mem = alloca i64 %sv_1.1.ph.ph20.reg2mem = alloca i32 %sv_2.1.ph.ph21.reg2mem = alloca i32 %sv_2.1.ph.ph.be.reg2mem = alloca i32 %sv_1.1.ph.ph.be.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 = icmp slt i32 %3, 1024 %spec.select = select i1 %4, i32 %3, i32 1024 %5 = sext i32 %spec.select to i64 %6 = add i64 %5, %0 %7 = icmp eq i32 %spec.select, 0 %8 = icmp eq i1 %7, false %9 = add i64 %0, 12 store i32 0, i32* %sv_2.1.ph.ph21.reg2mem store i32 0, i32* %sv_1.1.ph.ph20.reg2mem store i64 %0, i64* %sv_0.0.ph.ph19.reg2mem store i32 0, i32* %sv_1.1.ph.ph9.reg2mem store i64 %0, i64* %sv_0.0.ph6.reg2mem br i1 %8, label LBL_4, label LBL_10 LBL_1: %10 = inttoptr i64 %sv_0.0.ph13.reload to i8* %11 = load i8, i8* %10, align 1 %12 = icmp eq i8 %11, 32 store i32 %sv_1.1.ph.ph20.reload, i32* %sv_1.0.reg2mem store i32 0, i32* %sv_2.0.reg2mem br i1 %12, label LBL_5, label LBL_2 LBL_2: %13 = sub i64 %sv_0.0.ph13.reload, %0 %14 = trunc i64 %13 to i32 %15 = sext i32 %sv_1.1.ph.ph20.reload to i64 %16 = mul i64 %15, 4 %17 = add i64 %16, %9 %18 = inttoptr i64 %17 to i32* store i32 %14, i32* %18, align 4 %19 = add i32 %sv_1.1.ph.ph20.reload, 1 %20 = sext i32 %19 to i64 %21 = icmp eq i64 %20, %arg2 %22 = icmp eq i1 %21, false store i32 %19, i32* %sv_1.1.ph.ph.be.reg2mem store i32 2, i32* %sv_2.1.ph.ph.be.reg2mem store i32 %19, i32* %sv_1.0.reg2mem store i32 1, i32* %sv_2.0.reg2mem br i1 %22, label LBL_5, label LBL_3 LBL_3: %sv_2.1.ph.ph.be.reload = load i32, i32* %sv_2.1.ph.ph.be.reg2mem %sv_1.1.ph.ph.be.reload = load i32, i32* %sv_1.1.ph.ph.be.reg2mem %sv_0.0.ph.ph.be = add i64 %sv_0.0.ph13.reload, 1 %23 = icmp eq i64 %sv_0.0.ph.ph.be, %6 %24 = icmp eq i1 %23, false store i32 %sv_2.1.ph.ph.be.reload, i32* %sv_2.1.ph.ph21.reg2mem store i32 %sv_1.1.ph.ph.be.reload, i32* %sv_1.1.ph.ph20.reg2mem store i64 %sv_0.0.ph.ph.be, i64* %sv_0.0.ph.ph19.reg2mem store i32 %sv_1.1.ph.ph.be.reload, i32* %sv_1.1.ph.ph9.reg2mem store i64 %sv_0.0.ph.ph.be, i64* %sv_0.0.ph6.reg2mem br i1 %24, label LBL_4, label LBL_10 LBL_4: %sv_0.0.ph.ph19.reload = load i64, i64* %sv_0.0.ph.ph19.reg2mem %sv_1.1.ph.ph20.reload = load i32, i32* %sv_1.1.ph.ph20.reg2mem %sv_2.1.ph.ph21.reload = load i32, i32* %sv_2.1.ph.ph21.reg2mem store i32 %sv_2.1.ph.ph21.reload, i32* %sv_2.1.ph14.reg2mem store i64 %sv_0.0.ph.ph19.reload, i64* %sv_0.0.ph13.reg2mem br label LBL_9 LBL_5: %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.1.ph.ph.be.reg2mem store i32 %sv_2.0.reload, i32* %sv_2.1.ph.ph.be.reg2mem br label LBL_3 LBL_6: %25 = inttoptr i64 %sv_0.0.ph13.reload to i8* %26 = load i8, i8* %25, align 1 %27 = icmp ne i8 %26, 32 %28 = zext i1 %27 to i64 %spec.select2 = zext i1 %27 to i32 store i64 %28, i64* %.pn.reg2mem store i32 %spec.select2, i32* %sv_2.1.ph.be.reg2mem br label LBL_8 LBL_7: %29 = inttoptr i64 %sv_0.0.ph13.reload to i8* %30 = load i8, i8* %29, align 1 %31 = icmp eq i8 %30, 32 store i64 1, i64* %.pn.reg2mem store i32 2, i32* %sv_2.1.ph.be.reg2mem store i32 %sv_1.1.ph.ph20.reload, i32* %sv_1.1.ph.ph9.reg2mem store i64 %sv_0.0.ph13.reload, i64* %sv_0.0.ph6.reg2mem br i1 %31, label LBL_10, label LBL_8 LBL_8: %sv_2.1.ph.be.reload = load i32, i32* %sv_2.1.ph.be.reg2mem %.pn.reload = load i64, i64* %.pn.reg2mem %sv_0.0.ph.be = add i64 %.pn.reload, %sv_0.0.ph13.reload %32 = icmp eq i64 %sv_0.0.ph.be, %6 %33 = icmp eq i1 %32, false store i32 %sv_2.1.ph.be.reload, i32* %sv_2.1.ph14.reg2mem store i64 %sv_0.0.ph.be, i64* %sv_0.0.ph13.reg2mem store i32 %sv_1.1.ph.ph20.reload, i32* %sv_1.1.ph.ph9.reg2mem store i64 %sv_0.0.ph.be, i64* %sv_0.0.ph6.reg2mem br i1 %33, label LBL_9, label LBL_10 LBL_9: %sv_0.0.ph13.reload = load i64, i64* %sv_0.0.ph13.reg2mem %sv_2.1.ph14.reload = load i32, i32* %sv_2.1.ph14.reg2mem switch i32 %sv_2.1.ph14.reload, label %infloop [ i32 2, label LBL_7 i32 0, label LBL_1 i32 1, label LBL_6 ] LBL_10: %sv_0.0.ph6.reload = load i64, i64* %sv_0.0.ph6.reg2mem %sv_1.1.ph.ph9.reload = load i32, i32* %sv_1.1.ph.ph9.reg2mem %34 = sub i64 %sv_0.0.ph6.reload, %0 %35 = trunc i64 %34 to i32 %36 = sext i32 %sv_1.1.ph.ph9.reload to i64 %37 = mul i64 %36, 4 %38 = add i64 %37, %9 %39 = inttoptr i64 %38 to i32* store i32 %35, i32* %39, align 4 %40 = add i64 %0, 412 %41 = inttoptr i64 %40 to i32* store i32 %sv_1.1.ph.ph9.reload, i32* %41, align 4 %42 = zext i32 %sv_1.1.ph.ph9.reload to i64 %43 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_1, i64 0, i64 0), i64 %42) ret i64 0 uselistorder i64 %sv_0.0.ph13.reload, { 4, 5, 6, 1, 2, 0, 3 } uselistorder i1 %27, { 1, 0 } uselistorder i32 %sv_1.1.ph.ph20.reload, { 1, 0, 2, 4, 3 } uselistorder i64 %6, { 1, 0 } uselistorder i64 %0, { 5, 6, 4, 0, 1, 3, 2, 7 } uselistorder i32* %sv_1.1.ph.ph.be.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.1.ph.ph.be.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.1.ph.ph21.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.1.ph.ph20.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.ph.ph19.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.1.ph.ph9.reg2mem, { 0, 3, 2, 1, 4 } uselistorder i64* %sv_0.0.ph6.reg2mem, { 0, 3, 2, 1, 4 } uselistorder i32 2, { 2, 0, 1 } uselistorder i8 32, { 0, 2, 1 } uselistorder i1 false, { 3, 1, 2, 0 } uselistorder i32 0, { 4, 1, 0, 2, 3, 5 } uselistorder label %infloop, { 1, 0 } uselistorder label LBL_10, { 2, 1, 0, 3 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
ipv4_pktinfo_prepare_12863
ipv4_pktinfo_prepare
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 %3) %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = urem i32 %6, 2 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = call i64 @FUNC(i64 %3) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 br i1 %12, label LBL_6, label LBL_2 LBL_2: %13 = call i64 @FUNC(i64 %2) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 br i1 %15, label LBL_6, label LBL_3 LBL_3: %16 = trunc i64 %1 to i32 %17 = icmp eq i32 %16, 1 %18 = icmp eq i1 %17, false br i1 %18, label LBL_5, label LBL_4 LBL_4: %19 = call i64 @FUNC(i64 %2) %20 = trunc i64 %19 to i32 %21 = bitcast i64* %arg2 to i32* store i32 %20, i32* %21, align 4 br label LBL_5 LBL_5: %22 = call i64 @FUNC(i64 %2) %23 = trunc i64 %22 to i32 %24 = add i64 %2, 4 %25 = inttoptr i64 %24 to i32* store i32 %23, i32* %25, align 4 br label LBL_7 LBL_6: %26 = bitcast i64* %arg2 to i32* store i32 0, i32* %26, align 4 %27 = add i64 %2, 4 %28 = inttoptr i64 %27 to i32* store i32 0, i32* %28, align 4 br label LBL_7 LBL_7: %29 = call i64 @FUNC(i64 %2) ret i64 %29 uselistorder i64 %2, { 3, 4, 1, 2, 0, 5 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
trigger_callback_replace_regex_17937
trigger_callback_replace_regex
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %r9.1.reg2mem = alloca i64 %.reg2mem17 = alloca i32 %.pre12.reg2mem = alloca i32 %r9.0.reg2mem = alloca i64 %.pre.reg2mem = alloca i32 %storemerge214.reg2mem = alloca i64 %r9.23.reg2mem = alloca i64 %storemerge5.reg2mem = alloca i32 %.reg2mem15 = alloca i64 %.reg2mem = alloca i32 %.pre11.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %sv_0 = alloca i64, align 8 store i64 %2, i64* %sv_0, align 8 %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 0 store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_15, label LBL_1 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = bitcast i64* %rdi to i32* %7 = ptrtoint i64* %sv_0 to i64 %8 = add i64 %5, 8 %9 = inttoptr i64 %8 to i64* %10 = add i64 %5, 16 %11 = inttoptr i64 %10 to i64* %12 = add i64 %7, -16 %13 = inttoptr i64 %12 to i64* store i32 %3, i32* %.pre11.reg2mem store i32 %3, i32* %.reg2mem store i64 0, i64* %.reg2mem15 store i32 0, i32* %storemerge5.reg2mem br label LBL_2 LBL_2: %r9.23.reload = load i64, i64* %r9.23.reg2mem %storemerge5.reload = load i32, i32* %storemerge5.reg2mem %.reload16 = load i64, i64* %.reg2mem15 %.reload = load i32, i32* %.reg2mem %.pre11.reload = load i32, i32* %.pre11.reg2mem %14 = load i64, i64* %9, align 8 %15 = mul nsw i64 %.reload16, 24 %16 = add i64 %14, %15 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = icmp eq i64 %18, 0 store i64 %18, i64* %storemerge214.reg2mem br i1 %19, label LBL_3, label LBL_4 LBL_3: %20 = load i64, i64* @gv_0, align 8 %21 = load i64, i64* %11, align 8 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = zext i32 %23 to i64 %25 = call i64 @FUNC(i64 %24) %sext = mul i64 %25, 4294967296 %26 = ashr exact i64 %sext, 29 %27 = add i64 %26, %20 %storemerge2.in.phi.trans.insert = inttoptr i64 %27 to i64* %storemerge2.pre = load i64, i64* %storemerge2.in.phi.trans.insert, align 8 %28 = icmp eq i64 %storemerge2.pre, 0 store i64 %storemerge2.pre, i64* %storemerge214.reg2mem br i1 %28, label LBL_5, label LBL_4 LBL_4: %storemerge214.reload = load i64, i64* %storemerge214.reg2mem %29 = inttoptr i64 %storemerge214.reload to i8* %30 = load i8, i8* %29, align 1 %31 = icmp eq i8 %30, 0 %32 = icmp eq i1 %31, false br i1 %32, label LBL_7, label LBL_5 LBL_5: %33 = load i64, i64* @gv_1, align 8 %34 = icmp eq i64 %33, 0 store i32 %.pre11.reload, i32* %.pre12.reg2mem store i32 %.reload, i32* %.reg2mem17 store i64 %r9.23.reload, i64* %r9.1.reg2mem br i1 %34, label LBL_14, label LBL_6 LBL_6: %35 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @globalFUNCvarFUNC402011, i64 0, i64 0)) %36 = add i32 %storemerge5.reload, 1 %37 = load i64, i64* @gv_1, align 8 %38 = zext i32 %36 to i64 %39 = call i64 @FUNC(i64 %37, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_3, i64 0, i64 0), i64 %38, i64 %35, i64 %r9.23.reload) store i32 %.pre11.reload, i32* %.pre12.reg2mem store i32 %.reload, i32* %.reg2mem17 store i64 %r9.23.reload, i64* %r9.1.reg2mem br label LBL_14 LBL_7: %40 = load i64, i64* %sv_0, align 8 %41 = call i64 @FUNC(i64 %40, i64 %storemerge214.reload) %42 = icmp eq i64 %41, 0 %43 = icmp eq i1 %42, false br i1 %43, label LBL_10, label LBL_8 LBL_8: %44 = load i64, i64* @gv_1, align 8 %45 = icmp eq i64 %44, 0 store i32 %.pre11.reload, i32* %.pre12.reg2mem store i32 %.reload, i32* %.reg2mem17 store i64 %r9.23.reload, i64* %r9.1.reg2mem br i1 %45, label LBL_14, label LBL_9 LBL_9: %46 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @globalFUNCvarFUNC402038, i64 0, i64 0)) %47 = add i32 %storemerge5.reload, 1 %48 = load i64, i64* @gv_1, align 8 %49 = zext i32 %47 to i64 %50 = call i64 @FUNC(i64 %48, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_4, i64 0, i64 0), i64 %49, i64 %storemerge214.reload, i64 %46) store i32 %.pre11.reload, i32* %.pre12.reg2mem store i32 %.reload, i32* %.reg2mem17 store i64 %46, i64* %r9.1.reg2mem br label LBL_14 LBL_10: %51 = load i64, i64* %9, align 8 %52 = add i64 %51, %15 %53 = add i64 %52, 16 %54 = inttoptr i64 %53 to i64* %55 = load i64, i64* %54, align 8 %56 = add i64 %52, 8 %57 = inttoptr i64 %56 to i64* %58 = load i64, i64* %57, align 8 %59 = call i64 @FUNC(i64 %41, i64 %58, i64 %55) %60 = icmp eq i64 %59, 0 store i32 %.pre11.reload, i32* %.pre12.reg2mem store i32 %.reload, i32* %.reg2mem17 store i64 %r9.23.reload, i64* %r9.1.reg2mem br i1 %60, label LBL_14, label LBL_11 LBL_11: %61 = load i64, i64* @gv_1, align 8 %62 = icmp eq i64 %61, 0 store i32 %.pre11.reload, i32* %.pre.reg2mem store i64 %r9.23.reload, i64* %r9.0.reg2mem br i1 %62, label LBL_13, label LBL_12 LBL_12: %63 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_5, i64 0, i64 0)) %64 = add i32 %storemerge5.reload, 1 %65 = zext i32 %64 to i64 %66 = load i64, i64* @gv_1, align 8 store i64 %63, i64* %13, align 8 %67 = call i64 @FUNC(i64 %66, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_6, i64 0, i64 0), i64 %65, i64 %storemerge214.reload, i64 %59) %.pre.pre = load i32, i32* %6, align 8 store i32 %.pre.pre, i32* %.pre.reg2mem store i64 %59, i64* %r9.0.reg2mem br label LBL_13 LBL_13: %r9.0.reload = load i64, i64* %r9.0.reg2mem %.pre.reload = load i32, i32* %.pre.reg2mem %68 = load i64, i64* %sv_0, align 8 %69 = call i64 @FUNC(i64 %68, i64 %storemerge214.reload, i64 %59) %70 = inttoptr i64 %59 to i64* call void @free(i64* %70) store i32 %.pre.reload, i32* %.pre12.reg2mem store i32 %.pre.reload, i32* %.reg2mem17 store i64 %r9.0.reload, i64* %r9.1.reg2mem br label LBL_14 LBL_14: %r9.1.reload = load i64, i64* %r9.1.reg2mem %.reload18 = load i32, i32* %.reg2mem17 %.pre12.reload = load i32, i32* %.pre12.reg2mem %71 = add i32 %storemerge5.reload, 1 %72 = zext i32 %.reload18 to i64 %73 = sext i32 %71 to i64 %74 = icmp slt i64 %73, %72 store i32 %.pre12.reload, i32* %.pre11.reg2mem store i32 %.reload18, i32* %.reg2mem store i64 %73, i64* %.reg2mem15 store i32 %71, i32* %storemerge5.reg2mem store i64 %r9.1.reload, i64* %r9.23.reg2mem store i64 %72, i64* %rax.0.reg2mem br i1 %74, label LBL_2, label LBL_15 LBL_15: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %.reload18, { 1, 0 } uselistorder i64 %59, { 3, 2, 0, 1, 4 } uselistorder i32 %.pre11.reload, { 5, 2, 0, 1, 3, 4 } uselistorder i32 %.reload, { 2, 0, 1, 3, 4 } uselistorder i32 %storemerge5.reload, { 3, 1, 0, 2 } uselistorder i64 %r9.23.reload, { 4, 1, 0, 2, 5, 3 } uselistorder i64 %5, { 1, 0 } uselistorder i64* %sv_0, { 0, 1, 3, 2 } uselistorder i32* %.pre11.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem15, { 1, 0, 2 } uselistorder i32* %storemerge5.reg2mem, { 1, 0, 2 } uselistorder i64* %r9.23.reg2mem, { 1, 0 } uselistorder i64* %storemerge214.reg2mem, { 0, 2, 1 } uselistorder i32* %.pre12.reg2mem, { 0, 3, 4, 1, 2, 5, 6 } uselistorder i32* %.reg2mem17, { 0, 3, 4, 1, 2, 5, 6 } uselistorder i64* %r9.1.reg2mem, { 0, 3, 4, 1, 2, 5, 6 } uselistorder i64 (i64, i8*, i8*, i64, i64, i64)* @weechat_printf_tags, { 2, 1, 0 } uselistorder i64 (i8*)* @_, { 1, 0 } uselistorder label LBL_14, { 5, 0, 2, 1, 4, 3 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
udta_AddBox_9865
udta_AddBox
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.pre-phi8.reg2mem = alloca i64* %sv_0.0.reg2mem = alloca i32 %rsi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = icmp eq i64* %arg1, null %3 = icmp eq i1 %2, false store i64 1, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_14 LBL_1: %4 = icmp eq i32* %arg2, null %5 = icmp eq i1 %4, false store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_2, label LBL_14 LBL_2: %6 = trunc i64 %1 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false %.pre = ptrtoint i32* %arg2 to i64 %.pre3 = add i64 %.pre, 4 store i32 %6, i32* %sv_0.0.reg2mem br i1 %8, label LBL_4, label LBL_3 LBL_3: %9 = inttoptr i64 %.pre3 to i32* %10 = load i32, i32* %9, align 4 store i32 %10, i32* %sv_0.0.reg2mem br label LBL_4 LBL_4: %11 = ptrtoint i64* %arg1 to i64 %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %12 = icmp eq i32 %6, 1970628964 %13 = icmp eq i1 %12, false %storemerge = select i1 %13, i64 0, i64 %.pre3 %14 = zext i32 %sv_0.0.reload to i64 %15 = call i64 @FUNC(i64 %11, i64 %14, i64 %storemerge) %16 = icmp eq i64 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_4.LBL_13_crit_edge, label LBL_6 LBL_5: %.pre5 = add i64 %15, 24 %.pre7 = inttoptr i64 %.pre5 to i64* store i64* %.pre7, i64** %.pre-phi8.reg2mem br label LBL_13 LBL_6: %18 = call i64 @FUNC(i64 32) %19 = icmp eq i64 %18, 0 %20 = icmp eq i1 %19, false store i64 2, i64* %rax.0.reg2mem br i1 %20, label LBL_7, label LBL_14 LBL_7: %21 = bitcast i64* %rsi to i32* %22 = inttoptr i64 %18 to i64* %23 = call i64* @memset(i64* %22, i32 0, i32 32) %24 = inttoptr i64 %18 to i32* store i32 %sv_0.0.reload, i32* %24, align 4 %25 = load i32, i32* %21, align 8 %26 = icmp eq i32 %25, 1970628964 %27 = icmp eq i1 %26, false br i1 %27, label LBL_9, label LBL_8 LBL_8: %28 = add i64 %18, 4 %29 = add i64 %.pre, 12 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = inttoptr i64 %.pre3 to i64* %33 = load i64, i64* %32, align 8 %34 = inttoptr i64 %28 to i64* store i64 %33, i64* %34, align 8 %35 = add i64 %18, 12 %36 = inttoptr i64 %35 to i64* store i64 %31, i64* %36, align 8 br label LBL_9 LBL_9: %37 = call i64 @FUNC() %38 = add i64 %18, 24 %39 = inttoptr i64 %38 to i64* store i64 %37, i64* %39, align 8 %40 = icmp eq i64 %37, 0 %41 = icmp eq i1 %40, false br i1 %41, label LBL_11, label LBL_10 LBL_10: %42 = call i64 @FUNC(i64 %18) store i64 2, i64* %rax.0.reg2mem br label LBL_14 LBL_11: %43 = add i64 %11, 8 %44 = inttoptr i64 %43 to i64* %45 = load i64, i64* %44, align 8 %46 = call i64 @FUNC(i64 %45, i64 %18) %47 = trunc i64 %46 to i32 %48 = icmp eq i32 %47, 0 store i64* %39, i64** %.pre-phi8.reg2mem br i1 %48, label LBL_13, label LBL_12 LBL_12: %49 = and i64 %46, 4294967295 store i64 %49, i64* %rax.0.reg2mem br label LBL_14 LBL_13: %.pre-phi8.reload = load i64*, i64** %.pre-phi8.reg2mem %50 = load i64, i64* %.pre-phi8.reload, align 8 %51 = call i64 @FUNC(i64 %50, i64 %.pre) store i64 %51, 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 %18, { 2, 3, 4, 1, 0, 6, 5, 7 } uselistorder i32 %sv_0.0.reload, { 1, 0 } uselistorder i64 %.pre, { 1, 0, 2 } uselistorder i32 %6, { 1, 0, 2 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 4, 1, 2, 3 } uselistorder i64 (i64, i64)* @gf_list_add, { 1, 0 } uselistorder i64 2, { 1, 0 } uselistorder i64 24, { 1, 0 } uselistorder i64 4, { 1, 0 } uselistorder i32 0, { 1, 0, 2 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_14, { 3, 4, 5, 0, 1, 2 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
v4l2_receive_packet_15541
v4l2_receive_packet
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* %arg1 to i64 %6 = add i64 %5, 4 %7 = trunc i64 %3 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_7, label LBL_1 LBL_1: %10 = add i64 %5, 8 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_4, label LBL_2 LBL_2: %15 = call i64 @FUNC(i64 %10, i64 1) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 br i1 %17, label LBL_4, label LBL_3 LBL_3: %18 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %2, i64 %1) %19 = and i64 %15, 4294967295 store i64 %19, i64* %rax.0.reg2mem br label LBL_8 LBL_4: %20 = inttoptr i64 %6 to i32* %21 = load i32, i32* %20, align 4 %22 = icmp eq i32 %21, 0 %23 = icmp eq i1 %22, false br i1 %23, label LBL_7, label LBL_5 LBL_5: %24 = call i64 @FUNC(i64 %6, i64 1) %25 = trunc i64 %24 to i32 %26 = icmp eq i32 %25, 0 br i1 %26, label LBL_7, label LBL_6 LBL_6: %27 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_1, i64 0, i64 0), i64 %4, i64 %2, i64 %1) %28 = and i64 %24, 4294967295 store i64 %28, i64* %rax.0.reg2mem br label LBL_8 LBL_7: %29 = ptrtoint i64* %arg2 to i64 %30 = call i64 @FUNC(i64 %6, i64 %29) store i64 %30, 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 %5, { 1, 0, 2, 3 } uselistorder i64 %4, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 } uselistorder i64 (i64, i64)* @ff_v4l2_context_set_status, { 1, 0 } uselistorder label LBL_7, { 1, 0, 2 } }
1
BinRealVul
DetectPrefilterBuildNonPrefilterList_9656
DetectPrefilterBuildNonPrefilterList
define i64 @FUNC(i64* %arg1, i64 %arg2, i8 %arg3) local_unnamed_addr { LBL_0: %.lcssa.reg2mem = alloca i32 %.reg2mem7 = alloca i32 %indvars.iv.reg2mem = alloca i64 %.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 = icmp eq i32 %3, 0 store i32 0, i32* %.lcssa.reg2mem br i1 %4, label LBL_6, label LBL_1 LBL_1: %5 = trunc i64 %arg2 to i32 %6 = sub i32 0, %5 %7 = sub i32 %6, 1 %8 = add i64 %0, 12 %9 = inttoptr i64 %8 to i32* %10 = add i64 %0, 16 store i32 %3, i32* %.reg2mem store i64 0, i64* %indvars.iv.reg2mem br label LBL_2 LBL_2: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %.reload = load i32, i32* %.reg2mem %11 = mul nuw nsw i64 %indvars.iv.reload, 12 %12 = add i64 %11, %0 %13 = add i64 %12, 4 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = add i64 %12, 8 %17 = inttoptr i64 %16 to i8* %18 = load i8, i8* %17, align 1 %19 = and i32 %15, %7 %20 = icmp eq i32 %19, 0 %21 = icmp eq i1 %20, false store i32 %.reload, i32* %.reg2mem7 br i1 %21, label LBL_5, label LBL_3 LBL_3: %22 = icmp ne i8 %18, 0 %23 = icmp eq i8 %18, %arg3 %24 = icmp eq i1 %23, false %or.cond = icmp eq i1 %22, %24 store i32 %.reload, i32* %.reg2mem7 br i1 %or.cond, label LBL_5, label LBL_4 LBL_4: %25 = load i32, i32* %9, align 4 %26 = add i32 %25, 1 store i32 %26, i32* %9, align 4 %27 = inttoptr i64 %12 to i32* %28 = load i32, i32* %27, align 4 %29 = zext i32 %25 to i64 %30 = mul i64 %29, 4 %31 = add i64 %10, %30 %32 = inttoptr i64 %31 to i32* store i32 %28, i32* %32, align 4 %.pre = load i32, i32* %2, align 4 store i32 %.pre, i32* %.reg2mem7 br label LBL_5 LBL_5: %.reload8 = load i32, i32* %.reg2mem7 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %33 = zext i32 %.reload8 to i64 %34 = icmp ult i64 %indvars.iv.next, %33 store i32 %.reload8, i32* %.reg2mem store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %.reload8, i32* %.lcssa.reg2mem br i1 %34, label LBL_2, label LBL_6 LBL_6: %.lcssa.reload = load i32, i32* %.lcssa.reg2mem %35 = zext i32 %.lcssa.reload to i64 ret i64 %35 uselistorder i32 %.reload8, { 0, 2, 1 } uselistorder i32 %.reload, { 1, 0 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem7, { 0, 2, 3, 1 } uselistorder i32 0, { 3, 1, 0, 2 } uselistorder label LBL_5, { 1, 0, 2 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
psf_fwrite_11284
psf_fwrite
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.ph.reg2mem = alloca i128 %sv_1.0.ph.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg4 to i64 %3 = add i64 %2, 24 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = icmp eq i32 %5, 0 br i1 %6, label LBL_2, label LBL_1 LBL_1: %sext = mul i64 %arg1, 4294967296 %7 = ashr exact i64 %sext, 32 %8 = udiv i64 %7, %arg2 store i64 %8, i64* %rax.0.reg2mem br label LBL_13 LBL_2: %9 = trunc i64 %1 to i32 %10 = mul i64 %arg3, %arg2 %11 = icmp eq i64 %10, 0 %12 = icmp slt i64 %10, 0 %13 = icmp eq i1 %12, false %14 = icmp eq i1 %11, false %15 = icmp eq i1 %13, %14 store i64 %10, i64* %sv_1.0.ph.reg2mem store i128 0, i128* %sv_0.0.ph.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %15, label LBL_8, label LBL_13 LBL_3: %16 = call i32 @write(i32 %9, i64* %48, i32 %50) %17 = icmp eq i32 %16, -1 %18 = icmp eq i1 %17, false br i1 %18, label LBL_6, label LBL_4 LBL_4: %19 = call i32* @__errno_location() %20 = load i32, i32* %19, align 4 %21 = icmp eq i32 %20, 4 %22 = icmp eq i1 %21, false br i1 %22, label LBL_5, label LBL_9 LBL_5: %23 = call i32* @__errno_location() %24 = load i32, i32* %23, align 4 %25 = zext i32 %24 to i64 %26 = call i64 @FUNC(i64 %2, i64 %25) br label LBL_10 LBL_6: %27 = icmp eq i32 %16, 0 br i1 %27, label LBL_10, label LBL_7 LBL_7: %28 = sext i32 %16 to i64 %29 = add i64 %28, %46 %30 = sext i64 %29 to i128 %31 = sub i64 %sv_1.0.ph.reload, %28 store i64 %31, i64* %sv_1.0.ph.reg2mem store i128 %30, i128* %sv_0.0.ph.reg2mem br label LBL_8 LBL_8: %sv_0.0.ph.reload = load i128, i128* %sv_0.0.ph.reg2mem %sv_1.0.ph.reload = load i64, i64* %sv_1.0.ph.reg2mem %32 = icmp eq i64 %sv_1.0.ph.reload, 0 %33 = icmp slt i64 %sv_1.0.ph.reload, 0 %34 = icmp eq i1 %33, false %35 = icmp eq i1 %32, false %36 = icmp eq i1 %34, %35 %37 = add i64 %sv_1.0.ph.reload, -4096 %38 = sub i64 4095, %sv_1.0.ph.reload %39 = and i64 %38, %sv_1.0.ph.reload %40 = icmp slt i64 %39, 0 %41 = icmp eq i64 %37, 0 %42 = icmp slt i64 %37, 0 %43 = icmp eq i1 %42, %40 %44 = icmp eq i1 %41, false %45 = icmp eq i1 %43, %44 %46 = trunc i128 %sv_0.0.ph.reload to i64 %47 = add i64 %46, %arg1 %48 = inttoptr i64 %47 to i64* %49 = trunc i64 %sv_1.0.ph.reload to i32 %50 = select i1 %45, i32 4096, i32 %49 br label LBL_9 LBL_9: br i1 %36, label LBL_3, label LBL_10 LBL_10: %51 = add i64 %2, 28 %52 = inttoptr i64 %51 to i32* %53 = load i32, i32* %52, align 4 %54 = icmp eq i32 %53, 0 br i1 %54, label LBL_12, label LBL_11 LBL_11: %55 = add i64 %2, 32 %56 = inttoptr i64 %55 to i64* %57 = load i64, i64* %56, align 8 %58 = add i64 %57, %46 store i64 %58, i64* %56, align 8 br label LBL_12 LBL_12: %59 = and i128 %sv_0.0.ph.reload, 18446744073709551615 %60 = zext i64 %arg2 to i128 %61 = udiv i128 %59, %60 %62 = trunc i128 %61 to i64 store i64 %62, 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 %46, { 0, 2, 1 } uselistorder i64 %37, { 1, 0 } uselistorder i64 %sv_1.0.ph.reload, { 4, 6, 3, 5, 2, 1, 0 } uselistorder i128 %sv_0.0.ph.reload, { 1, 0 } uselistorder i64 %28, { 1, 0 } uselistorder i32 %16, { 1, 0, 2 } uselistorder i64 %2, { 2, 1, 0, 3 } uselistorder i64* %sv_1.0.ph.reg2mem, { 0, 2, 1 } uselistorder i128* %sv_0.0.ph.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i1 false, { 4, 5, 0, 2, 3, 6, 1 } uselistorder i64 32, { 1, 0 } uselistorder i32 0, { 1, 0, 2 } uselistorder i64 %arg2, { 2, 1, 0 } uselistorder i64 %arg1, { 1, 0 } uselistorder label LBL_13, { 1, 0, 2 } uselistorder label LBL_10, { 1, 0, 2 } uselistorder label LBL_8, { 1, 0 } }
1
BinRealVul
ff_mpeg_unref_picture_3991
ff_mpeg_unref_picture
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg2 to i64 %1 = add i64 %0, 16 %2 = inttoptr i64 %1 to i64* store i64 %0, i64* %2, align 8 %3 = bitcast i64* %rdi to i32* %4 = load i32, i32* %3, align 8 %.off = add i32 %4, -1 %switch = icmp ult i32 %.off, 3 br i1 %switch, label LBL_2, label LBL_1 LBL_1: %5 = ptrtoint i32* %arg1 to i64 %6 = add i64 %5, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %8, i64 %1) br label LBL_3 LBL_2: %10 = call i64 @FUNC(i64 %0) br label LBL_3 LBL_3: %11 = add i64 %0, 24 %12 = call i64 @FUNC(i64 %11) %13 = add i64 %0, 4 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = icmp eq i32 %15, 0 br i1 %16, label LBL_5, label LBL_4 LBL_4: %17 = call i64 @FUNC(i64 %0) br label LBL_5 LBL_5: %18 = add i64 %0, 12 %19 = inttoptr i64 %18 to i64* %20 = call i64* @memset(i64* %19, i32 0, i32 20) %21 = ptrtoint i64* %20 to i64 ret i64 %21 uselistorder i64 %0, { 1, 0, 3, 2, 4, 6, 5 } }
0
BinRealVul
visit_type_str_2529
visit_type_str
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = icmp eq i64* %arg3, null %1 = icmp eq i1 %0, false br i1 %1, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i32 21, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %2 = ptrtoint i64* %arg4 to i64 %3 = call i64 @FUNC(i64 %2, i64 0) ret i64 %3 }
0
BinRealVul
nvmx_handle_vmread_6754
nvmx_handle_vmread
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 i32, i32* %1 %4 = load i64, i64* %0 %sv_0 = alloca i32, align 4 %5 = load i64, i64* %0 %6 = load i32, i32* %1 %7 = load i32, i32* %1 %sv_1 = alloca i32, align 4 %sv_2 = alloca i64, align 8 %8 = load i64, i64* @gv_0, align 8 store i64 0, i64* %sv_2, align 8 %9 = bitcast i32* %sv_1 to i64* %10 = call i64 @FUNC(i64 %2, i64* nonnull %9, i64 0, i64 0) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = and i64 %10, 4294967295 store i64 %13, i64* %rax.0.reg2mem br label LBL_12 LBL_2: %14 = call i64 @FUNC(i64 %8) %15 = icmp eq i64 %14, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_4, label LBL_3 LBL_3: %17 = call i64 @FUNC(i64 %2) store i64 0, i64* %rax.0.reg2mem br label LBL_12 LBL_4: %18 = zext i32 %7 to i64 %19 = call i64 @FUNC(i64 %2, i64 %18) %20 = and i64 %19, 4294967295 %21 = call i64 @FUNC(i64 %8, i64 %20, i64* nonnull %sv_2) %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 1 br i1 %23, label LBL_6, label LBL_5 LBL_5: %24 = and i64 %21, 4294967295 %25 = call i64 @FUNC(i64 %2, i64 %24) store i64 0, i64* %rax.0.reg2mem br label LBL_12 LBL_6: %26 = load i32, i32* %sv_1, align 4 switch i32 %26, label LBL_11 [ i32 1, label LBL_7 i32 2, label LBL_10 ] LBL_7: %27 = bitcast i32* %sv_0 to i64* %28 = call i64 @FUNC(i64 %5, i64* nonnull %sv_2, i32 %6, i64 0, i64* nonnull %27) %29 = trunc i64 %28 to i32 %30 = icmp eq i32 %29, 1 %31 = icmp eq i1 %30, false br i1 %31, label LBL_9, label LBL_8 LBL_8: %32 = load i32, i32* %sv_0, align 4 %33 = zext i32 %32 to i64 %34 = call i64 @FUNC(i64 %33, i64 %4) br label LBL_9 LBL_9: %35 = icmp eq i32 %29, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %35, label LBL_11, label LBL_12 LBL_10: %36 = load i64, i64* %sv_2, align 8 %37 = zext i32 %3 to i64 %38 = call i64 @FUNC(i64 %2, i64 %37, i64 %36) br label LBL_11 LBL_11: %39 = call i64 @FUNC(i64 %2) store i64 0, i64* %rax.0.reg2mem br label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %sv_2, { 2, 0, 1, 3 } uselistorder i64 %2, { 3, 2, 1, 4, 0, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 4, 3, 2 } uselistorder i32* %1, { 2, 1, 0 } uselistorder i64* %0, { 1, 0 } uselistorder label LBL_12, { 1, 0, 2, 3, 4 } uselistorder label LBL_11, { 2, 1, 0 } }
0
BinRealVul
log_flush_11246
log_flush
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %.reg2mem = alloca i64 %0 = load i32, i32* @gv_0, align 4 %1 = zext i32 %0 to i64 %2 = call i64 @FUNC(i64 %1) %3 = load i32, i32* @gv_1, align 4 %4 = icmp eq i32 %3, 0 %5 = trunc i64 %arg1 to i32 %6 = icmp eq i32 %5, 1 %or.cond = icmp eq i1 %6, %4 br i1 %or.cond, label LBL_2, label LBL_1 LBL_1: store i32 %5, i32* @gv_1, align 4 %7 = icmp eq i32 %5, 2 br i1 %7, label LBL_5, label LBL_2 LBL_2: %8 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4 %9 = zext i32 %8 to i64 %10 = call i64 @FUNC(i64 %9) %11 = load i64, i64* @gv_2, align 8 %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false store i64 %11, i64* %.reg2mem br i1 %13, label LBL_3, label LBL_4 LBL_3: %.reload = load i64, i64* %.reg2mem %14 = inttoptr i64 %.reload to i64* %15 = load i64, i64* %14, align 8 store i64 %15, i64* @gv_2, align 8 %16 = add i64 %.reload, 32 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = add i64 %.reload, 24 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = add i64 %.reload, 16 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = add i64 %.reload, 12 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = add i64 %.reload, 8 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = zext i32 %30 to i64 %32 = call i64 @FUNC(i64 %31, i32 %27, i64 %24, i32 %21, i64 %18) %33 = call i64 @FUNC(i64 %.reload) %34 = load i64, i64* @gv_2, align 8 %35 = icmp eq i64 %34, 0 %36 = icmp eq i1 %35, false store i64 %34, i64* %.reg2mem br i1 %36, label LBL_3, label LBL_4 LBL_4: store i64 0, i64* @gv_3, align 8 store i64 0, i64* @gv_2, align 8 %37 = load i32, i32* @gv_4, align 4 %38 = zext i32 %37 to i64 %39 = call i64 @FUNC(i64 %38) br label LBL_5 LBL_5: %40 = load i32, i32* @gv_0, align 4 %41 = zext i32 %40 to i64 %42 = call i64 @FUNC(i64 %41) ret i64 %42 uselistorder i64 %.reload, { 5, 4, 3, 2, 1, 0, 6 } uselistorder i32 %5, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64 (i64)* @CRYPTO_THREAD_unlock, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i64* @gv_2, { 1, 2, 3, 0 } uselistorder i32* @gv_1, { 1, 0 } uselistorder i64 (i64)* @CRYPTO_THREAD_write_lock, { 1, 0 } uselistorder i32 0, { 2, 0, 1 } uselistorder i32* @gv_0, { 1, 0 } uselistorder i32 1, { 4, 3, 2, 1, 0, 5 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
reposvul_c_test
dns_encode_109
dns_encode
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 40) store i64 %0, i64* %sv_0, align 8 %2 = call i64 @FUNC(i64* nonnull %sv_0) %3 = trunc i64 %2 to i32 %4 = icmp slt i32 %3, 0 %5 = icmp eq i1 %4, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_4 LBL_1: %6 = call i64 @FUNC(i64* nonnull %sv_0) %7 = trunc i64 %6 to i32 %8 = icmp slt i32 %7, 0 %9 = icmp eq i1 %8, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %9, label LBL_2, label LBL_4 LBL_2: %10 = call i64 @FUNC(i64* nonnull %sv_0) %11 = trunc i64 %10 to i32 %12 = icmp slt i32 %11, 0 %13 = icmp eq i1 %12, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %13, label LBL_3, label LBL_4 LBL_3: %14 = load i64, i64* %sv_0, align 8 %15 = sub i64 %0, %14 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* %sv_0, { 4, 0, 1, 2, 5, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i32 0, { 1, 2, 3, 0 } uselistorder label LBL_4, { 3, 0, 1, 2 } }
0
BinRealVul
read_sbr_data_11486
read_sbr_data
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %.pn.reg2mem = alloca i64 %.reg2mem10 = alloca i32 %r8.0.lcssa.reg2mem = alloca i64 %rdi.1.lcssa.reg2mem = alloca i64 %rcx.1.lcssa.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i32 %.reg2mem8 = alloca i32 %.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg3 to i64 %4 = ptrtoint i64* %arg2 to i64 %5 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %6 = call i64 @FUNC(i64 %3) %7 = icmp ne i32 %arg4, 1 %8 = icmp eq i32 %arg4, 2 %9 = icmp eq i1 %8, false %or.cond = icmp eq i1 %7, %9 br i1 %or.cond, label LBL_3, label LBL_1 LBL_1: %10 = call i64 @FUNC(i64 %5, i64 %4, i64 %3) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 br i1 %12, label LBL_7, label LBL_2 LBL_2: %13 = call i64 @FUNC(i64 %4) %14 = call i64 @FUNC(i64 %3) store i64 %14, i64* %.pn.reg2mem br label LBL_18 LBL_3: %15 = icmp eq i32 %arg4, 3 %16 = icmp eq i1 %15, false br i1 %16, label LBL_6, label LBL_4 LBL_4: %17 = call i64 @FUNC(i64 %5, i64 %4, i64 %3) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 br i1 %19, label LBL_7, label LBL_5 LBL_5: %20 = call i64 @FUNC(i64 %4) %21 = call i64 @FUNC(i64 %3) store i64 %21, i64* %.pn.reg2mem br label LBL_18 LBL_6: %22 = zext i32 %arg4 to i64 %23 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_0, i64 0, i64 0), i64 %22, i64 %2, i64 %1) %24 = call i64 @FUNC(i64 %4) %25 = call i64 @FUNC(i64 %3) store i64 %25, i64* %.pn.reg2mem br label LBL_18 LBL_7: %26 = call i64 @FUNC(i64 %3) %27 = trunc i64 %26 to i32 %28 = icmp eq i32 %27, 0 br i1 %28, label LBL_17, label LBL_8 LBL_8: %29 = call i64 @FUNC(i64 %3, i64 4) %30 = trunc i64 %29 to i32 store i32 %30, i32* %sv_0, align 4 %31 = icmp eq i32 %30, 15 %32 = icmp eq i1 %31, false store i32 %30, i32* %.reg2mem br i1 %32, label LBL_10, label LBL_9 LBL_9: %33 = call i64 @FUNC(i64 %3, i64 8) %34 = load i32, i32* %sv_0, align 4 %35 = trunc i64 %33 to i32 %36 = add i32 %34, %35 store i32 %36, i32* %sv_0, align 4 store i32 %36, i32* %.reg2mem br label LBL_10 LBL_10: %.reload = load i32, i32* %.reg2mem %37 = mul i32 %.reload, 8 store i32 %37, i32* %sv_0, align 4 %38 = icmp sgt i32 %37, 7 store i32 %37, i32* %.reg2mem8 store i32 %37, i32* %.lcssa.reg2mem store i64 %4, i64* %rcx.1.lcssa.reg2mem store i64 %3, i64* %rdi.1.lcssa.reg2mem br i1 %38, label LBL_11, label LBL_13 LBL_11: %.reload9 = load i32, i32* %.reg2mem8 %39 = add i32 %.reload9, -2 store i32 %39, i32* %sv_0, align 4 %40 = call i64 @FUNC(i64 %3, i64 2) %41 = and i64 %40, 4294967295 %42 = call i64 @FUNC(i64 %5, i64 %4, i64 %3, i64 %41, i32* nonnull %sv_0) %.pr = load i32, i32* %sv_0, align 4 %43 = icmp sgt i32 %.pr, 7 store i32 %.pr, i32* %.reg2mem8 br i1 %43, label LBL_11, label LBL_12 LBL_12: %44 = ptrtoint i32* %sv_0 to i64 store i32 %.pr, i32* %.lcssa.reg2mem store i64 %41, i64* %rcx.1.lcssa.reg2mem store i64 %5, i64* %rdi.1.lcssa.reg2mem store i64 %44, i64* %r8.0.lcssa.reg2mem br label LBL_13 LBL_13: %.lcssa.reload = load i32, i32* %.lcssa.reg2mem %45 = icmp slt i32 %.lcssa.reload, 0 %46 = icmp eq i1 %45, false store i32 %.lcssa.reload, i32* %.reg2mem10 br i1 %46, label LBL_15, label LBL_14 LBL_14: %r8.0.lcssa.reload = load i64, i64* %r8.0.lcssa.reg2mem %rdi.1.lcssa.reload = load i64, i64* %rdi.1.lcssa.reg2mem %rcx.1.lcssa.reload = load i64, i64* %rcx.1.lcssa.reg2mem %47 = call i64 @FUNC(i64 %rdi.1.lcssa.reload, i64 0, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, i64 0), i64 %rcx.1.lcssa.reload, i64 %r8.0.lcssa.reload, i64 %1) %.pre = load i32, i32* %sv_0, align 4 store i32 %.pre, i32* %.reg2mem10 br label LBL_15 LBL_15: %.reload11 = load i32, i32* %.reg2mem10 %48 = icmp slt i32 %.reload11, 1 br i1 %48, label LBL_17, label LBL_16 LBL_16: %49 = zext i32 %.reload11 to i64 %50 = call i64 @FUNC(i64 %3, i64 %49) br label LBL_17 LBL_17: %51 = call i64 @FUNC(i64 %3) store i64 %51, i64* %.pn.reg2mem br label LBL_18 LBL_18: %.pn.reload = load i64, i64* %.pn.reg2mem %rax.0.in = sub i64 %.pn.reload, %6 %rax.0 = and i64 %rax.0.in, 4294967295 ret i64 %rax.0 uselistorder i32 %37, { 0, 1, 3, 2 } uselistorder i64 %5, { 0, 2, 1, 3 } uselistorder i64 %4, { 5, 0, 3, 1, 2, 4, 6 } uselistorder i64 %3, { 11, 7, 9, 8, 0, 6, 10, 12, 3, 4, 1, 2, 5, 13, 14 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem8, { 2, 0, 1 } uselistorder i32* %.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %rcx.1.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %rdi.1.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem10, { 0, 2, 1 } uselistorder i64* %.pn.reg2mem, { 0, 4, 2, 1, 3 } uselistorder i64* %0, { 1, 0 } uselistorder i32 7, { 1, 0 } uselistorder i64 (i64, i64)* @get_bits, { 2, 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 } uselistorder i64 (i64)* @sbr_turnoff, { 2, 1, 0 } uselistorder i1 false, { 1, 2, 3, 0 } uselistorder i64 (i64)* @get_bits_count, { 4, 3, 2, 1, 0 } uselistorder i32 %arg4, { 2, 1, 0, 3 } uselistorder label LBL_11, { 1, 0 } }
1
BinRealVul
xbl_parse_report_6273
xbl_parse_report
define i64 @FUNC(i64* %arg1, i64 %arg2, i8* %arg3, i8* %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %2 = load i64, i64* %1 %3 = load i128, i128* %0 %4 = load i128, i128* %0 %5 = load i128, i128* %0 %6 = load i128, i128* %0 %7 = load i128, i128* %0 %8 = load i128, i128* %0 %9 = load i128, i128* %0 %10 = load i128, i128* %0 %sv_0 = alloca i64, align 8 %sv_1 = alloca i32, align 4 %11 = trunc i64 %2 to i8 %12 = icmp eq i8 %11, 0 br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = call i64 @FUNC(i128 %10) %14 = call i64 @FUNC(i128 %9) %15 = call i64 @FUNC(i128 %8) %16 = call i64 @FUNC(i128 %7) %17 = call i64 @FUNC(i128 %6) %18 = call i64 @FUNC(i128 %5) %19 = call i64 @FUNC(i128 %4) %20 = call i64 @FUNC(i128 %3) br label LBL_2 LBL_2: %sext = mul i64 %arg2, 4294967296 %21 = ashr exact i64 %sext, 32 %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 0 %. = select i1 %23, i64 3, i64 2 %24 = call i64 @FUNC(i64 1, i64 %.) %25 = trunc i64 %24 to i32 %26 = icmp eq i32 %25, 0 br i1 %26, label LBL_4, label LBL_3 LBL_3: store i32 24, i32* %sv_1, align 4 %27 = ptrtoint i32* %sv_1 to i64 %28 = ptrtoint i64* %sv_0 to i64 %29 = bitcast i64* %sv_0 to i8* %30 = call i32 @vsnprintf(i8* nonnull %29, i32 2048, i8* %arg3, i64 %27) %31 = call i64 @FUNC(i64 %28) %32 = and i64 %31, 4294967295 %33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_0, i64 0, i64 0), i64 %32, i64* nonnull %sv_0) br label LBL_4 LBL_4: br i1 %23, label LBL_6, label LBL_5 LBL_5: %34 = ptrtoint i64* %arg1 to i64 %35 = add i64 %34, 8 %36 = inttoptr i64 %35 to i32* store i32 %22, i32* %36, align 4 br label LBL_6 LBL_6: %37 = and i64 %21, 4294967295 ret i64 %37 uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 } }
0
BinRealVul
find_start_code_15252
find_start_code
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i8* %sv_0.23.in.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 1 %2 = add i64 %arg2, -2 %3 = icmp ugt i64 %2, %1 store i64 %1, i64* %sv_0.23.in.reg2mem br i1 %3, label LBL_1, label LBL_8 LBL_1: %sv_0.23.in.reload = load i64, i64* %sv_0.23.in.reg2mem %sv_0.23 = inttoptr i64 %sv_0.23.in.reload to i8* %4 = load i8, i8* %sv_0.23, align 1 %5 = icmp eq i8 %4, 0 %6 = icmp eq i1 %5, false store i8* %sv_0.23, i8** %sv_0.0.reg2mem store i64 %sv_0.23.in.reload, i64* %.pre-phi.reg2mem br i1 %6, label LBL_7, label LBL_2 LBL_2: %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem %7 = ptrtoint i8* %sv_0.0.reload to i64 %8 = icmp ugt i64 %2, %7 %9 = icmp eq i1 %8, false br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = add i64 %7, 1 %11 = inttoptr i64 %10 to i8* %12 = load i8, i8* %11, align 1 %13 = icmp eq i8 %12, 0 store i8* %11, i8** %sv_0.0.reg2mem br i1 %13, label LBL_2, label LBL_4 LBL_4: %14 = add i64 %7, -1 %15 = inttoptr i64 %14 to i8* %16 = load i8, i8* %15, align 1 %17 = icmp eq i8 %16, 0 %18 = icmp eq i1 %17, false store i64 %7, i64* %.pre-phi.reg2mem br i1 %18, label LBL_7, label LBL_5 LBL_5: %19 = add i64 %7, 1 %20 = inttoptr i64 %19 to i8* %21 = load i8, i8* %20, align 1 %22 = icmp eq i8 %21, 1 %23 = icmp eq i1 %22, false store i64 %7, i64* %.pre-phi.reg2mem br i1 %23, label LBL_7, label LBL_6 LBL_6: %24 = add i64 %7, 3 store i64 %24, i64* %arg1, align 8 %25 = add i64 %7, 2 %26 = inttoptr i64 %25 to i8* %27 = load i8, i8* %26, align 1 %28 = zext i8 %27 to i64 %29 = or i64 %28, 256 store i64 %29, i64* %storemerge.reg2mem br label LBL_9 LBL_7: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %30 = add i64 %.pre-phi.reload, 2 %31 = icmp ugt i64 %2, %30 store i64 %30, i64* %sv_0.23.in.reg2mem br i1 %31, label LBL_1, label LBL_8 LBL_8: store i64 %arg2, i64* %arg1, align 8 store i64 4294967295, i64* %storemerge.reg2mem br label LBL_9 LBL_9: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %7, { 2, 3, 1, 5, 0, 4, 6, 7 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64* %sv_0.23.in.reg2mem, { 2, 0, 1 } uselistorder i8** %sv_0.0.reg2mem, { 2, 0, 1 } uselistorder i64* %.pre-phi.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %arg1, { 1, 0, 2 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_7, { 1, 2, 0 } uselistorder label LBL_2, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
lsr_read_paint_13038
lsr_read_paint
define i64 @FUNC(i32* %arg1, i64* %arg2, i8* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg2 to i64 %4 = ptrtoint i32* %arg1 to i64 %5 = load i32, i32* %1 %6 = call i64 @FUNC(i64 %4, i32 %5, i64 1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0)) %7 = icmp eq i32 %5, 0 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = and i64 %2, 4294967295 %9 = call i64 @FUNC(i64 %4, i32 %5, i64 %8, i8* %arg3) %10 = add i64 %3, 4 %11 = zext i32 %5 to i64 %12 = call i64 @FUNC(i64 %4, i64 %11, i64 %10) %13 = bitcast i64* %arg2 to i32* store i32 1, i32* %13, align 4 %14 = inttoptr i64 %10 to i32* store i32 0, i32* %14, align 4 br label LBL_3 LBL_2: %15 = call i64 @FUNC(i64 %4, i32 0, i64 2, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0)) %16 = call i64 @FUNC(i64 %4, i32 0, i64 2, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0)) %17 = bitcast i64* %arg2 to i32* store i32 2, i32* %17, align 4 br label LBL_3 LBL_3: ret i64 %3 uselistorder i64 %4, { 2, 3, 1, 0, 4 } uselistorder i64 (i64, i32, i64, i8*)* @GF_LSR_READ_INT, { 3, 2, 1, 0 } uselistorder i64 1, { 1, 0 } }
1
BinRealVul
msm_gem_free_object_4921
msm_gem_free_object
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 = urem i64 %3, 256 %5 = icmp eq i64 %4, 0 %6 = zext i1 %5 to i64 %7 = call i64 @FUNC(i64 %6) %8 = call i64 @FUNC(i64 %1) %9 = urem i64 %8, 256 %10 = call i64 @FUNC(i64 %9) %11 = add i64 %1, 72 %12 = call i64 @FUNC(i64 %11) %13 = inttoptr i64 %2 to i64* %14 = load i64, i64* %13, align 8 %15 = icmp eq i64 %14, 0 %16 = add i64 %1, 24 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 br i1 %15, label LBL_6, label LBL_1 LBL_1: %19 = icmp eq i64 %18, 0 br i1 %19, label LBL_3, label LBL_2 LBL_2: %20 = inttoptr i64 %14 to i64* %21 = load i64, i64* %20, align 8 %22 = call i64 @FUNC(i64 %21, i64 %18) br label LBL_3 LBL_3: %23 = add i64 %1, 32 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = icmp eq i64 %25, 0 br i1 %26, label LBL_5, label LBL_4 LBL_4: %27 = call i64 @FUNC(i64 %25) br label LBL_5 LBL_5: %28 = add i64 %1, 64 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = call i64 @FUNC(i64 %0, i64 %30) br label LBL_7 LBL_6: %32 = call i64 @FUNC(i64 %18) %33 = call i64 @FUNC(i64 %0) br label LBL_7 LBL_7: %34 = add i64 %1, 56 %35 = inttoptr i64 %34 to i64* %36 = load i64, i64* %35, align 8 %37 = add i64 %1, 48 %38 = icmp eq i64 %36, %37 %39 = icmp eq i1 %38, false br i1 %39, label LBL_9, label LBL_8 LBL_8: %40 = call i64 @FUNC(i64 %36) br label LBL_9 LBL_9: %41 = call i64 @FUNC(i64 %0) %42 = call i64 @FUNC(i64 %1) ret i64 %42 uselistorder i64 %18, { 2, 0, 1 } uselistorder i64 %1, { 2, 4, 3, 0, 1, 5, 6, 7 } uselistorder i64 %0, { 1, 2, 0, 3, 4 } uselistorder i64 (i64)* @WARN_ON, { 1, 0 } }
0
BinRealVul
jp2_box_create_6625
jp2_box_create
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC() %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 0, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_3 LBL_1: %sext = mul i64 %arg1, 4294967296 %3 = ashr exact i64 %sext, 32 %4 = inttoptr i64 %0 to i32* %5 = trunc i64 %3 to i32 store i32 %5, i32* %4, align 4 %6 = add i64 %0, 4 %7 = inttoptr i64 %6 to i32* store i32 0, i32* %7, align 4 %8 = and i64 %3, 4294967295 %9 = call i64 @FUNC(i64 %8) %10 = icmp eq i64 %9, 0 %11 = icmp eq i1 %10, false store i64 0, i64* %rax.0.reg2mem br i1 %11, label LBL_2, label LBL_3 LBL_2: %12 = add i64 %0, 8 %13 = inttoptr i64 %12 to i64* store i64 %9, i64* %13, align 8 %14 = add i64 %0, 16 %15 = inttoptr i64 %14 to i64* store i64 %9, i64* %15, align 8 store i64 %0, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder label LBL_3, { 2, 0, 1 } }
0
BinRealVul
acc_ctx_hints_11181
acc_ctx_hints
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64* %arg4, i64* %arg5, i64* %arg6) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg4 to i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 store i64 0, i64* %sv_3, align 8 store i64 0, i64* %arg4, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* store i64 0, i64* %2, align 8 store i64 0, i64* %sv_2, align 8 %3 = bitcast i64* %arg6 to i32* store i32 0, i32* %3, align 4 store i64 4, i64* %arg5, align 8 store i64 0, i64* %arg1, align 8 %4 = icmp eq i64* %arg2, null store i64 2, i64* %storemerge.reg2mem br i1 %4, label LBL_1, label LBL_7 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = call i64 @FUNC(i64 %5, i64 %arg3, i64 0, i64* nonnull %sv_2) %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false store i64 %6, i64* %sv_0.0.reg2mem br i1 %8, label LBL_6, label LBL_2 LBL_2: %9 = call i64 @FUNC(i64 %5, i64 %0) %10 = icmp eq i64 %9, 0 %11 = icmp eq i1 %10, false store i64 %9, i64* %sv_0.0.reg2mem br i1 %11, label LBL_6, label LBL_3 LBL_3: %12 = call i64 @FUNC() store i64 %12, i64* %sv_3, align 8 %13 = icmp eq i64 %12, 0 %14 = icmp eq i1 %13, false store i64 1, i64* %sv_0.0.reg2mem br i1 %14, label LBL_4, label LBL_6 LBL_4: %15 = load i64, i64* %sv_2, align 8 %16 = call i64 @FUNC(i64 %15, i64 %12) %17 = trunc i64 %16 to i32 %18 = icmp slt i32 %17, 0 %19 = icmp eq i1 %18, false store i64 1, i64* %sv_0.0.reg2mem br i1 %19, label LBL_5, label LBL_6 LBL_5: %20 = load i64, i64* %sv_3, align 8 %21 = add i64 %20, 16 %22 = inttoptr i64 %21 to i64* store i64 0, i64* %22, align 8 store i64 3, i64* %arg5, align 8 store i32 1, i32* %3, align 4 %23 = load i64, i64* %sv_3, align 8 %24 = add i64 %23, 24 %25 = inttoptr i64 %24 to i32* store i32 1, i32* %25, align 4 call void @llvm.trap() unreachable LBL_6: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %26 = call i64 @FUNC(i64* nonnull %sv_3) %27 = call i64 @FUNC(i64* nonnull %sv_1, i64* nonnull %sv_2) store i64 %sv_0.0.reload, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %sv_2, { 0, 2, 1, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_7, { 1, 0 } }
1
BinRealVul
nfc_dev_up_5953
nfc_dev_up
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.1.reg2mem = alloca i64* %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = load i64, i64* %0 %6 = ptrtoint i64* %arg1 to i64 %7 = call i64 @FUNC(i64 %6) %8 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i64 %7, i64 %4, i64 %5, i64 %2, i64 %1) %9 = call i64 @FUNC(i64 %6) %10 = trunc i64 %3 to i8 %11 = icmp eq i8 %10, 0 store i64* inttoptr (i32 -19 to i64*), i64** %sv_0.1.reg2mem br i1 %11, label LBL_1, label LBL_9 LBL_1: %12 = add i64 %6, 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = icmp eq i64 %14, 0 br i1 %15, label LBL_3, label LBL_2 LBL_2: %16 = call i64 @FUNC(i64 %14) %17 = trunc i64 %16 to i8 %18 = icmp eq i8 %17, 0 store i64* inttoptr (i32 -132 to i64*), i64** %sv_0.1.reg2mem br i1 %18, label LBL_3, label LBL_9 LBL_3: %19 = add i64 %6, 16 %20 = inttoptr i64 %19 to i8* %21 = load i8, i8* %20, align 1 %22 = icmp eq i8 %21, 0 store i64* inttoptr (i32 -16 to i64*), i64** %sv_0.1.reg2mem br i1 %22, label LBL_4, label LBL_9 LBL_4: %23 = add i64 %6, 17 %24 = inttoptr i64 %23 to i8* %25 = load i8, i8* %24, align 1 %26 = icmp eq i8 %25, 0 store i64* inttoptr (i32 -114 to i64*), i64** %sv_0.1.reg2mem br i1 %26, label LBL_5, label LBL_9 LBL_5: %27 = add i64 %6, 24 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = icmp eq i64 %31, 0 %33 = and i64 %6, 4294967295 %34 = inttoptr i64 %33 to i64* %sv_0.0 = select i1 %32, i64* null, i64* %34 %35 = icmp eq i64* %sv_0.0, null %36 = icmp eq i1 %35, false store i64 %29, i64* %.reg2mem br i1 %36, label LBL_7, label LBL_6 LBL_6: store i8 1, i8* %24, align 1 %.pre = load i64, i64* %28, align 8 store i64 %.pre, i64* %.reg2mem br label LBL_7 LBL_7: %.reload = load i64, i64* %.reg2mem %37 = add i64 %.reload, 8 %38 = inttoptr i64 %37 to i64* %39 = load i64, i64* %38, align 8 %40 = icmp eq i64 %39, 0 %41 = trunc i64 %6 to i32 %42 = icmp eq i32 %41, 0 %or.cond = or i1 %42, %40 store i64* %sv_0.0, i64** %sv_0.1.reg2mem br i1 %or.cond, label LBL_9, label LBL_8 LBL_8: %43 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i64 %7, i64 %39, i64 %5, i64 %2, i64 %1) store i64* %sv_0.0, i64** %sv_0.1.reg2mem br label LBL_9 LBL_9: %sv_0.1.reload = load i64*, i64** %sv_0.1.reg2mem %44 = call i64 @FUNC(i64 %6) %45 = ptrtoint i64* %sv_0.1.reload to i64 %46 = and i64 %45, 4294967295 ret i64 %46 uselistorder i64 %6, { 1, 0, 5, 4, 3, 2, 6, 7, 8 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64** %sv_0.1.reg2mem, { 0, 5, 6, 1, 2, 3, 4 } uselistorder i64* %0, { 4, 3, 2, 1, 0 } uselistorder i64 0, { 1, 2, 6, 7, 8, 3, 4, 0, 5 } uselistorder label LBL_9, { 5, 4, 0, 1, 2, 3 } }
0
BinRealVul
callout_run_socket_17696
callout_run_socket
define i64 @FUNC(i64 %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %sv_0.02.reg2mem = alloca i64 %sv_0.0.ph.reg2mem = alloca i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %0 = call i32 @socket(i32 1, i32 1, i32 0) %1 = icmp slt i32 %0, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_1, label LBL_5 LBL_1: %3 = call i64* @memset(i64* nonnull %sv_2, i32 0, i32 110) store i64 1, i64* %sv_2, align 8 %4 = bitcast i64* %sv_1 to i8* %5 = inttoptr i64 %arg1 to i8* %6 = call i8* @strncpy(i8* nonnull %4, i8* %5, i32 108) %7 = bitcast i64* %sv_2 to %sockaddr* %8 = call i32 @connect(i32 %0, %sockaddr* nonnull %7, i32 110) %9 = icmp slt i32 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_3, label LBL_2 LBL_2: call void (i32, i8*, ...) @syslog(i32 3, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_0, i64 0, i64 0), i64 110) store i64 4294967295, i64* %sv_0.0.ph.reg2mem br label LBL_6 LBL_3: %11 = ptrtoint i64* %arg2 to i64 %12 = zext i32 %0 to i64 %13 = call i64 @FUNC(i64 %12, i64 %11) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 %16 = icmp eq i1 %15, false store i64 %13, i64* %sv_0.0.ph.reg2mem br i1 %16, label LBL_6, label LBL_4 LBL_4: %17 = ptrtoint i64* %arg3 to i64 %18 = call i64 @FUNC(i64 %arg1, i64 %12, i64 %17) store i64 %18, i64* %sv_0.0.ph.reg2mem br label LBL_6 LBL_5: call void (i32, i8*, ...) @syslog(i32 3, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_1, i64 0, i64 0), i64 0) store i64 4294967295, i64* %sv_0.02.reg2mem br label LBL_7 LBL_6: %sv_0.0.ph.reload = load i64, i64* %sv_0.0.ph.reg2mem %19 = call i32 @close(i32 %0) store i64 %sv_0.0.ph.reload, i64* %sv_0.02.reg2mem br label LBL_7 LBL_7: %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem %20 = and i64 %sv_0.02.reload, 4294967295 ret i64 %20 uselistorder i64* %sv_2, { 0, 2, 1 } uselistorder i64* %sv_0.0.ph.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %sv_0.02.reg2mem, { 0, 2, 1 } uselistorder i32 3, { 1, 0 } uselistorder i32 0, { 2, 3, 0, 4, 1 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_6, { 1, 0, 2 } }
1
BinRealVul
httpSetCredentials_5361
httpSetCredentials
define i64 @FUNC(i64* %arg1, i8* %arg2, i64 %arg3, i8* %arg4) local_unnamed_addr { LBL_0: %rax.1.reg2mem = alloca i64 %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = call i64 @FUNC(i64 %0) %2 = icmp eq i64 %arg3, 0 %3 = icmp eq i1 %2, false br i1 %3, label LBL_3, label LBL_1 LBL_1: %4 = call i8* @strchr(i8* %arg2, i32 58) %5 = icmp eq i8* %4, null br i1 %5, label LBL_3, label LBL_2 LBL_2: %6 = ptrtoint i8* %arg2 to i64 %7 = call i64 @FUNC(i64 %6) %8 = call i64 @FUNC(i64 %7, i64* nonnull @gv_0, i64* nonnull %sv_0) store i64 %8, i64* %arg1, align 8 %9 = load i64, i64* %sv_0, align 8 %10 = call i64 @FUNC(i64 %9) %11 = add i64 %0, 8 %12 = inttoptr i64 %11 to i64* store i64 %10, i64* %12, align 8 store i64 %10, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %13 = ptrtoint i8* %arg2 to i64 %14 = call i64 @FUNC(i64 %13) store i64 %14, i64* %arg1, align 8 %15 = call i64 @FUNC(i64 %arg3) %16 = add i64 %0, 8 %17 = inttoptr i64 %16 to i64* store i64 %15, i64* %17, align 8 store i64 %15, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem %18 = icmp eq i8* %arg4, null store i64 %rax.0.reload, i64* %rax.1.reg2mem br i1 %18, label LBL_6, label LBL_5 LBL_5: %19 = ptrtoint i8* %arg4 to i64 %20 = call i64 @FUNC(i64 %19) %21 = add i64 %0, 16 %22 = inttoptr i64 %21 to i64* store i64 %20, i64* %22, align 8 store i64 %20, i64* %rax.1.reg2mem br label LBL_6 LBL_6: %rax.1.reload = load i64, i64* %rax.1.reg2mem ret i64 %rax.1.reload uselistorder i64* %sv_0, { 1, 0 } uselistorder i64 %0, { 1, 2, 0, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @sclone, { 4, 3, 2, 1, 0 } uselistorder i8* %arg4, { 1, 0 } uselistorder i8* %arg2, { 2, 0, 1 } }
0
BinRealVul
do_sigreturn_16697
do_sigreturn
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %1 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %sv_3 = alloca i64, align 8 %4 = add i64 %1, 120 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = call i64 @FUNC(i64 0, i64 %3, i64 %6, i64 1) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_5, label LBL_1 LBL_1: %10 = ptrtoint i64* %sv_3 to i64 %11 = call i64 @FUNC(i64 %2, i64 %3) %12 = add i64 %10, -416 store i64 1, i64* %indvars.iv.reg2mem br label LBL_2 LBL_2: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %13 = mul i64 %indvars.iv.reload, 128 %14 = add i64 %13, %3 %15 = mul i64 %indvars.iv.reload, 8 %16 = add i64 %12, %15 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = call i64 @FUNC(i64 %18, i64 %14) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 32 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_3, label LBL_2 LBL_3: %20 = call i64 @FUNC(i64* nonnull %sv_1, i64* nonnull %sv_2) %21 = call i64 @FUNC(i64 2, i64* nonnull %sv_1, i64 0) %22 = call i64 @FUNC(i64 %1, i64 %3, i64* nonnull %sv_0) %23 = trunc i64 %22 to i32 %24 = icmp eq i32 %23, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_5, label LBL_4 LBL_4: %26 = call i64 @FUNC(i64 %3, i64 %6, i64 0) %27 = load i64, i64* %sv_0, align 8 store i64 %27, i64* %storemerge.reg2mem br label LBL_6 LBL_5: %28 = call i64 @FUNC(i64 %3, i64 %6, i64 0) %29 = call i64 @FUNC(i64 11) store i64 0, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64 %6, { 1, 0, 2 } uselistorder i64 %3, { 0, 1, 2, 5, 3, 4 } uselistorder i64* %sv_0, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64, i64)* @unlock_user_struct, { 1, 0 } uselistorder i64 (i64, i64)* @__get_user, { 1, 0 } uselistorder i64 1, { 2, 0, 3, 1 } }
1
BinRealVul
smc91c111_release_packet_14334
smc91c111_release_packet
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i8 %4 = trunc i64 %arg2 to i32 %5 = urem i32 %4, 32 %6 = icmp eq i32 %5, 0 %7 = shl i32 1, %5 %phitmp = xor i32 %7, 255 %storemerge = select i1 %6, i32 254, i32 %phitmp %8 = trunc i32 %storemerge to i8 %9 = and i8 %3, %8 %10 = bitcast i64* %arg1 to i8* store i8 %9, i8* %10, align 1 %11 = add i64 %2, 1 %12 = inttoptr i64 %11 to i8* %13 = load i8, i8* %12, align 1 %14 = icmp eq i8 %13, -128 %15 = icmp eq i1 %14, false br i1 %15, label LBL_2, label LBL_1 LBL_1: %16 = call i64 @FUNC(i64 %2) br label LBL_2 LBL_2: %17 = add i64 %2, 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = call i64 @FUNC(i64 %19) %21 = call i64 @FUNC(i64 %20) ret i64 %21 uselistorder i32 %5, { 1, 0 } uselistorder i64 %2, { 0, 2, 1 } }
1
BinRealVul
encode_share_access_13630
encode_share_access
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i32* %rax.1.reg2mem = alloca i64 %1 = load i32*, i32** %0 %2 = urem i64 %arg2, 4 %3 = icmp eq i64 %2, 3 br i1 %3, label LBL_6, label LBL_1 LBL_1: %4 = trunc i64 %2 to i32 switch i32 %4, label LBL_8 [ i32 1, label LBL_2 i32 2, label LBL_4 ] LBL_2: %5 = icmp eq i32* %1, null store i64 %2, i64* %rax.1.reg2mem br i1 %5, label LBL_12, label LBL_3 LBL_3: %6 = call i32 @htonl(i32 1) br label LBL_10 LBL_4: %7 = icmp eq i32* %1, null store i64 %2, i64* %rax.1.reg2mem br i1 %7, label LBL_12, label LBL_5 LBL_5: %8 = call i32 @htonl(i32 2) br label LBL_10 LBL_6: %9 = icmp eq i32* %1, null store i64 3, i64* %rax.1.reg2mem br i1 %9, label LBL_12, label LBL_7 LBL_7: %10 = call i32 @htonl(i32 3) br label LBL_10 LBL_8: %11 = icmp eq i32* %1, null store i64 %2, i64* %rax.1.reg2mem br i1 %11, label LBL_12, label LBL_9 LBL_9: %12 = call i32 @htonl(i32 0) br label LBL_10 LBL_10: %sv_0.0.in.in = ptrtoint i32* %1 to i64 %sv_0.0.in = add i64 %sv_0.0.in.in, 4 %13 = icmp eq i64 %sv_0.0.in, 0 store i64 -4, i64* %rax.1.reg2mem br i1 %13, label LBL_12, label LBL_11 LBL_11: %sv_0.0 = inttoptr i64 %sv_0.0.in to i32* %14 = call i32 @htonl(i32 0) store i32 %14, i32* %sv_0.0, align 4 store i64 %sv_0.0.in, i64* %rax.1.reg2mem br label LBL_12 LBL_12: %rax.1.reload = load i64, i64* %rax.1.reg2mem ret i64 %rax.1.reload uselistorder i64 %2, { 2, 0, 1, 4, 3 } uselistorder i32* %1, { 4, 1, 0, 3, 2 } uselistorder i64* %rax.1.reg2mem, { 0, 5, 6, 3, 4, 1, 2 } uselistorder i32 (i32)* @htonl, { 4, 3, 2, 1, 0 } uselistorder i32* null, { 3, 0, 2, 1 } uselistorder i32 2, { 1, 0 } uselistorder i64 4, { 1, 0 } uselistorder label LBL_12, { 4, 5, 2, 3, 0, 1 } uselistorder label LBL_10, { 3, 0, 1, 2 } }
0
BinRealVul
proc_sys_permission_9200
proc_sys_permission
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge3.in.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = urem i64 %arg2, 2 %3 = icmp eq i64 %2, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = and i64 %1, 61440 %5 = icmp eq i64 %4, 32768 %6 = icmp eq i1 %5, false store i64 4294967283, i64* %rax.0.reg2mem br i1 %6, label LBL_2, label LBL_7 LBL_2: %7 = ptrtoint i32* %arg1 to i64 %8 = call i64 @FUNC(i64 %7) %9 = icmp ult i64 %8, -1000 store i64 %8, i64* %rax.0.reg2mem br i1 %9, label LBL_3, label LBL_7 LBL_3: %10 = call i64 @FUNC(i64 %7) %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = icmp eq i64 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_5, label LBL_4 LBL_4: %15 = and i64 %arg2, 2 %16 = icmp eq i64 %15, 0 %. = select i1 %16, i64 0, i64 4294967283 store i64 %., i64* %storemerge3.in.reg2mem br label LBL_6 LBL_5: %17 = and i64 %arg2, 4294967291 %18 = call i64 @FUNC(i64 %8, i64 %12, i64 %17) store i64 %18, i64* %storemerge3.in.reg2mem br label LBL_6 LBL_6: %storemerge3.in.reload = load i64, i64* %storemerge3.in.reg2mem %19 = call i64 @FUNC(i64 %8) %20 = and i64 %storemerge3.in.reload, 4294967295 store i64 %20, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %8, { 1, 2, 0, 3 } uselistorder i64* %storemerge3.in.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 4294967283, { 1, 0 } uselistorder i64 2, { 1, 0 } uselistorder i64 %arg2, { 1, 2, 0 } uselistorder label LBL_7, { 2, 0, 1 } }
0
BinRealVul
chr_baum_init_15362
chr_baum_init
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 40) %1 = call i64 @FUNC(i64 32) %2 = inttoptr i64 %0 to i64* store i64 %1, i64* %2, align 8 %3 = inttoptr i64 %1 to i64* store i64 %0, i64* %3, align 8 %4 = add i64 %1, 8 %5 = inttoptr i64 %4 to i64* store i64 4199047, i64* %5, align 8 %6 = add i64 %1, 16 %7 = inttoptr i64 %6 to i64* store i64 4199058, i64* %7, align 8 %8 = add i64 %1, 24 %9 = inttoptr i64 %8 to i64* store i64 4199069, i64* %9, align 8 %10 = call i64 @FUNC() %sext = mul i64 %10, 4294967296 %11 = ashr exact i64 %sext, 32 %12 = call i64 @FUNC(i64 %11) %13 = add i64 %0, 8 %14 = inttoptr i64 %13 to i64* store i64 %12, i64* %14, align 8 %15 = call i64 @FUNC(i64 %12, i64 0, i64 0) %16 = trunc i64 %15 to i32 %17 = add i64 %0, 16 %18 = inttoptr i64 %17 to i32* store i32 %16, i32* %18, align 4 %19 = icmp eq i32 %16, -1 %20 = icmp eq i1 %19, false br i1 %20, label LBL_2, label LBL_1 LBL_1: %21 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0)) br label LBL_8 LBL_2: %22 = load i64, i64* @gv_1, align 8 %23 = call i64 @FUNC(i64 %22, i64 4199040, i64 %0) %24 = add i64 %0, 32 %25 = inttoptr i64 %24 to i64* store i64 %23, i64* %25, align 8 %26 = add i64 %0, 24 %27 = add i64 %0, 20 %28 = call i64 @FUNC(i64 %12, i64 %27, i64 %26) %29 = trunc i64 %28 to i32 %30 = icmp eq i32 %29, -1 %31 = icmp eq i1 %30, false br i1 %31, label LBL_4, label LBL_3 LBL_3: %32 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_2, i64 0, i64 0)) br label LBL_7 LBL_4: %33 = call i64 @FUNC(i64 %12, i64 0, i64 0) %34 = trunc i64 %33 to i32 %35 = icmp eq i32 %34, -1 %36 = icmp eq i1 %35, false br i1 %36, label LBL_6, label LBL_5 LBL_5: %37 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_3, i64 0, i64 0)) br label LBL_7 LBL_6: %38 = load i64, i64* @gv_4, align 8 %39 = load i32, i32* %18, align 4 %40 = zext i32 %39 to i64 %41 = call i64 @FUNC(i64 %40, i64 %38, i64 0, i64 %0) %42 = call i64 @FUNC(i64 %1) store i64 %1, i64* %arg2, align 8 store i64 0, i64* %storemerge.reg2mem br label LBL_9 LBL_7: %43 = load i64, i64* %25, align 8 %44 = call i64 @FUNC(i64 %43) %45 = call i64 @FUNC(i64 %12) br label LBL_8 LBL_8: %46 = call i64 @FUNC(i64 %12) %47 = call i64 @FUNC(i64 %1) %48 = call i64 @FUNC(i64 %0) store i64 4294967291, i64* %storemerge.reg2mem br label LBL_9 LBL_9: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %1, { 0, 2, 1, 3, 4, 5, 6, 7 } uselistorder i64 %0, { 0, 1, 3, 2, 5, 4, 6, 7, 8, 9 } uselistorder i64 (i64)* @g_free, { 2, 1, 0 } uselistorder i64 (i8*)* @brlapi_perror, { 2, 1, 0 } uselistorder i64 32, { 2, 0, 1 } uselistorder i64 (i64)* @g_malloc0, { 2, 1, 0 } }
1
BinRealVul
nfc_llcp_send_symm_6164
nfc_llcp_send_symm
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false store i64 4294967277, i64* %storemerge.reg2mem br i1 %5, label LBL_1, label LBL_4 LBL_1: %6 = trunc i64 %1 to i32 %7 = add i64 %2, 4 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = add i32 %6, 8 %11 = add i32 %10, %9 %12 = urem i32 %11, 65536 %13 = zext i32 %12 to i64 %14 = call i64 @FUNC(i64 %13, i64 0) %15 = icmp eq i64 %14, 0 %16 = icmp eq i1 %15, false store i64 4294967284, i64* %storemerge3.reg2mem br i1 %16, label LBL_2, label LBL_3 LBL_2: %17 = inttoptr i64 %3 to i32* %18 = add i64 %1, 4 %19 = and i64 %18, 4294967295 %20 = call i64 @FUNC(i64 %14, i64 %19) %21 = call i64 @FUNC(i64 %14, i64 0, i64 0, i64 1) %22 = call i64 @FUNC(i64 %21) %23 = call i64 @FUNC(i64 %3, i64 %21, i64 0) %24 = load i32, i32* %17, align 4 %25 = call i64 @FUNC(i64 %2, i32 %24, i64 %21, i64 4198867, i64 %3) %phitmp = and i64 %25, 4294967295 store i64 %phitmp, i64* %storemerge3.reg2mem br label LBL_3 LBL_3: %storemerge3.reload = load i64, i64* %storemerge3.reg2mem %26 = call i64 @FUNC(i64 %3) store i64 %storemerge3.reload, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %14, { 1, 0, 2 } uselistorder i64 %3, { 2, 0, 1, 3, 4 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %storemerge3.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
print_stats_9493
print_stats
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4 %2 = zext i32 %1 to i64 %3 = add i64 %0, 24 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = add i64 %0, 16 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = add i64 %0, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = load i64, i64* @gv_0, align 8 %13 = call i64 @FUNC(i8* getelementptr inbounds ([93 x i8], [93 x i8]* @gv_1, i64 0, i64 0), i64 %12, i64 %2, i64 %11, i64 %8, i64 %5) %14 = call i64 @FUNC(i64 10000) %15 = load i64, i64* @gv_2, align 8 %16 = add i64 %15, %14 %17 = add i64 %0, 48 %18 = inttoptr i64 %17 to i64* store i64 %16, i64* %18, align 8 store i64 0, i64* %10, align 8 store i64 0, i64* %7, align 8 store i64 0, i64* %arg1, align 8 %19 = add i64 %0, 32 %20 = inttoptr i64 %19 to i64* store i64 0, i64* %20, align 8 ret i64 %0 uselistorder i64 %0, { 1, 0, 2, 3, 4, 5 } }
0
BinRealVul
b43_bcma_remove_3960
b43_bcma_remove
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = add i64 %1, 16 %5 = call i64 @FUNC(i64 %4) %6 = add i64 %3, 20 %7 = call i64 @FUNC(i64 %6) %8 = icmp eq i64 %3, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %11 = call i32 @fwrite(i64* bitcast ([27 x i8]* @gv_1 to i64*), i32 1, i32 26, %_IO_FILE* %10) br label LBL_2 LBL_2: %12 = add i64 %1, 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = icmp eq i64 %14, 0 store i64 0, i64* %rax.0.reg2mem br i1 %15, label LBL_7, label LBL_3 LBL_3: %16 = add i64 %3, 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = icmp eq i64 %1, %18 %20 = icmp eq i1 %19, false br i1 %20, label LBL_6, label LBL_4 LBL_4: %21 = add i64 %3, 16 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = icmp eq i32 %23, 0 br i1 %24, label LBL_6, label LBL_5 LBL_5: %25 = call i64 @FUNC(i64 %1) %26 = inttoptr i64 %3 to i64* %27 = load i64, i64* %26, align 8 %28 = call i64 @FUNC(i64 %27) br label LBL_6 LBL_6: %29 = inttoptr i64 %4 to i64* %30 = load i64, i64* %29, align 8 %31 = call i64 @FUNC(i64 %30) %32 = call i64 @FUNC(i64 %3) %33 = call i64 @FUNC(i64 %3) %34 = inttoptr i64 %3 to i64* %35 = load i64, i64* %34, align 8 %36 = call i64 @FUNC(i64 %35) %37 = load i64, i64* %29, align 8 %38 = call i64 @FUNC(i64 %37) store i64 %38, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %3, { 3, 2, 1, 0, 5, 4, 7, 6 } uselistorder i64 %1, { 1, 0, 2, 3, 4 } uselistorder i64 (i64)* @cancel_work_sync, { 1, 0 } uselistorder label LBL_7, { 1, 0 } }
0
BinRealVul
__get_data_block_13591
__get_data_block
define i64 @FUNC(i32* %arg1, i64 %arg2, i64* %arg3, i32 %arg4, i64 %arg5, i64* %arg6) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %rdi = alloca i64, align 8 %2 = load i64, i64* %0 %3 = load i32, i32* %1 %4 = load i64, i64* %0 %sv_0 = alloca i64, align 8 store i64 %arg2, i64* %sv_0, align 8 %5 = trunc i64 %arg5 to i32 %6 = ptrtoint i32* %arg1 to i64 %7 = call i64 @FUNC(i64 %6, i64* nonnull %sv_0, i32 %arg4, i32 %5) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_2, label LBL_1 LBL_1: %11 = ptrtoint i64* %arg3 to i64 %12 = bitcast i64* %rdi to i32* %13 = urem i64 %2, 64 %rdx.0 = lshr i64 %11, %13 %14 = add i64 %6, 8 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = call i64 @FUNC(i64 %11, i64 %16, i64 %4) %18 = add i64 %11, 8 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = and i32 %20, -65536 %22 = or i32 %21, %3 store i32 %22, i32* %19, align 4 %sext4 = mul i64 %rdx.0, 4294967296 %23 = ashr exact i64 %sext4, 32 %24 = load i32, i32* %12, align 8 %25 = urem i32 %24, 64 %26 = zext i32 %25 to i64 %rdx.1 = shl i64 %23, %26 store i64 %rdx.1, i64* %arg3, align 8 br label LBL_2 LBL_2: %27 = and i64 %7, 4294967295 ret i64 %27 uselistorder i64 %11, { 2, 1, 0 } uselistorder i64* %0, { 1, 0 } }
0
BinRealVul
ftp_passive_mode_15131
ftp_passive_mode
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.19.reg2mem = alloca i8* %.reg2mem = alloca i8* %sv_0.0.reg2mem = alloca i8* %sv_0.110.reg2mem = alloca i8* %storemerge411.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rdi = alloca i64, align 8 %3 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i8*, align 8 %sv_2 = alloca i32, align 4 %sv_3 = alloca i8*, align 8 store i8* null, i8** %sv_3, align 8 store i32 227, i32* %sv_2, align 4 %4 = bitcast i8** %sv_3 to i64* %5 = call i64 @FUNC(i64 %3, i64 ptrtoint ([7 x i8]* @gv_0 to i64), i32* nonnull %sv_2, i64* nonnull %4) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 227 %8 = icmp eq i1 %7, false %9 = load i8*, i8** %sv_3, align 8 %10 = icmp eq i8* %9, null %or.cond = or i1 %10, %8 br i1 %or.cond, label LBL_16, label LBL_1 LBL_1: %11 = ptrtoint i8** %sv_3 to i64 %12 = call i32 @strlen(i8* nonnull %9) %13 = icmp eq i32 %12, 0 store i32 0, i32* %storemerge411.reg2mem store i8* null, i8** %sv_0.110.reg2mem br i1 %13, label LBL_16, label LBL_2 LBL_2: %storemerge411.reload = load i32, i32* %storemerge411.reg2mem %14 = load i8*, i8** %sv_3, align 8 %15 = ptrtoint i8* %14 to i64 %16 = sext i32 %storemerge411.reload to i64 %17 = add i64 %15, %16 %18 = inttoptr i64 %17 to i8* %19 = load i8, i8* %18, align 1 %20 = icmp eq i8 %19, 40 %21 = icmp eq i1 %20, false br i1 %21, label LBL_4, label LBL_3 LBL_3: %22 = add i64 %17, 1 %23 = inttoptr i64 %22 to i8* store i8* %23, i8** %sv_0.0.reg2mem br label LBL_6 LBL_4: %sv_0.110.reload = load i8*, i8** %sv_0.110.reg2mem %24 = icmp eq i8 %19, 41 %25 = icmp eq i1 %24, false store i8* %sv_0.110.reload, i8** %sv_0.0.reg2mem br i1 %25, label LBL_6, label LBL_5 LBL_5: store i8* %18, i8** %sv_1, align 8 store i8* %18, i8** %.reg2mem store i8* %sv_0.110.reload, i8** %sv_0.19.reg2mem br label LBL_8 LBL_6: %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem %26 = add nuw i32 %storemerge411.reload, 1 %27 = call i32 @strlen(i8* %14) %28 = icmp ult i32 %26, %27 store i32 %26, i32* %storemerge411.reg2mem store i8* %sv_0.0.reload, i8** %sv_0.110.reg2mem br i1 %28, label LBL_2, label LBL_7 LBL_7: %.pre.pre = load i8*, i8** %sv_1, align 8 store i8* %.pre.pre, i8** %.reg2mem store i8* %sv_0.0.reload, i8** %sv_0.19.reg2mem br label LBL_8 LBL_8: %sv_0.19.reload = load i8*, i8** %sv_0.19.reg2mem %.reload = load i8*, i8** %.reg2mem %29 = icmp eq i8* %sv_0.19.reload, null %30 = icmp eq i8* %.reload, null %or.cond7 = or i1 %30, %29 br i1 %or.cond7, label LBL_16, label LBL_9 LBL_9: store i8 0, i8* %.reload, align 1 %31 = ptrtoint i8* %sv_0.19.reload to i64 %32 = bitcast i8** %sv_1 to i64* %33 = call i64 @FUNC(i64 %31, i64* nonnull @gv_1, i64* nonnull %32) %34 = icmp eq i64 %33, 0 br i1 %34, label LBL_16, label LBL_10 LBL_10: %35 = load i8*, i8** %sv_1, align 8 %36 = ptrtoint i8* %35 to i64 %37 = call i64 @FUNC(i64 %36, i64* nonnull @gv_1, i64* nonnull %32) %38 = icmp eq i64 %37, 0 br i1 %38, label LBL_16, label LBL_11 LBL_11: %39 = load i8*, i8** %sv_1, align 8 %40 = ptrtoint i8* %39 to i64 %41 = call i64 @FUNC(i64 %40, i64* nonnull @gv_1, i64* nonnull %32) %42 = icmp eq i64 %41, 0 br i1 %42, label LBL_16, label LBL_12 LBL_12: %43 = load i8*, i8** %sv_1, align 8 %44 = ptrtoint i8* %43 to i64 %45 = call i64 @FUNC(i64 %44, i64* nonnull @gv_1, i64* nonnull %32) %46 = icmp eq i64 %45, 0 br i1 %46, label LBL_16, label LBL_13 LBL_13: %47 = load i8*, i8** %sv_1, align 8 %48 = ptrtoint i8* %47 to i64 %49 = call i64 @FUNC(i64 %48, i64* nonnull @gv_1, i64* nonnull %32) %50 = icmp eq i64 %49, 0 br i1 %50, label LBL_16, label LBL_14 LBL_14: %51 = inttoptr i64 %49 to i8* %52 = call i32 @atoi(i8* %51) %53 = mul i32 %52, 256 %54 = bitcast i64* %arg1 to i32* store i32 %53, i32* %54, align 4 %55 = load i8*, i8** %sv_1, align 8 %56 = ptrtoint i8* %55 to i64 %57 = call i64 @FUNC(i64 %56, i64* nonnull @gv_1, i64* nonnull %32) %58 = icmp eq i64 %57, 0 br i1 %58, label LBL_16, label LBL_15 LBL_15: %59 = inttoptr i64 %57 to i8* %60 = bitcast i64* %rdi to i32* %61 = load i32, i32* %60, align 8 %62 = call i32 @atoi(i8* %59) %63 = add i32 %62, %61 store i32 %63, i32* %54, align 4 %64 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0), i32 %61, i64 %11, i64 %2, i64 %1) %65 = load i8*, i8** %sv_3, align 8 %66 = ptrtoint i8* %65 to i64 %67 = call i64 @FUNC(i64 %66) store i64 0, i64* %storemerge.reg2mem br label LBL_17 LBL_16: %68 = load i8*, i8** %sv_3, align 8 %69 = ptrtoint i8* %68 to i64 %70 = call i64 @FUNC(i64 %69) %71 = bitcast i64* %arg1 to i32* store i32 -1, i32* %71, align 4 store i64 4294967291, i64* %storemerge.reg2mem br label LBL_17 LBL_17: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %61, { 1, 0 } uselistorder i8* %.reload, { 1, 0 } uselistorder i8* %sv_0.19.reload, { 1, 0 } uselistorder i8** %sv_3, { 5, 4, 3, 2, 0, 6, 1 } uselistorder i8** %sv_1, { 6, 5, 4, 3, 2, 7, 0, 1 } uselistorder i32* %storemerge411.reg2mem, { 2, 0, 1 } uselistorder i8** %sv_0.110.reg2mem, { 2, 0, 1 } uselistorder i8** %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64)* @av_free, { 1, 0 } uselistorder i32 (i8*)* @atoi, { 1, 0 } uselistorder i64 (i64, i64*, i64*)* @av_strtok, { 5, 4, 3, 2, 1, 0 } uselistorder i32 (i8*)* @strlen, { 1, 0 } uselistorder i8* null, { 1, 3, 0, 2, 4, 5 } uselistorder label LBL_16, { 1, 2, 3, 4, 5, 6, 7, 0, 8 } uselistorder label LBL_2, { 1, 0 } }
1
reposvul_c_test
ask_char_166
ask_char
define i64 @FUNC(i64* %arg1, i8* %arg2, i8* %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %storemerge.reg2mem = alloca i64 %2 = load i64, i64* %1 %3 = load i128, i128* %0 %4 = load i128, i128* %0 %5 = load i128, i128* %0 %6 = load i128, i128* %0 %7 = load i128, i128* %0 %8 = load i128, i128* %0 %9 = load i128, i128* %0 %10 = load i128, i128* %0 %sv_0 = alloca i32, align 4 %sv_1 = alloca i32, align 4 %sv_2 = alloca i8, align 1 %11 = trunc i64 %2 to i8 %12 = icmp eq i8 %11, 0 br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = call i64 @FUNC(i128 %10) %14 = call i64 @FUNC(i128 %9) %15 = call i64 @FUNC(i128 %8) %16 = call i64 @FUNC(i128 %7) %17 = call i64 @FUNC(i128 %6) %18 = call i64 @FUNC(i128 %5) %19 = call i64 @FUNC(i128 %4) %20 = call i64 @FUNC(i128 %3) br label LBL_2 LBL_2: %21 = icmp eq i64* %arg1, null %22 = icmp eq i1 %21, false br i1 %22, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 31, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0)) br label LBL_4 LBL_4: %23 = icmp eq i8* %arg2, null %24 = icmp eq i1 %23, false br i1 %24, label LBL_6, label LBL_5 LBL_5: call void @__assert_fail(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 32, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0)) br label LBL_6 LBL_6: %25 = icmp eq i8* %arg3, null %26 = icmp eq i1 %25, false br i1 %26, label LBL_8, label LBL_7 LBL_7: call void @__assert_fail(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 33, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0)) br label LBL_8 LBL_8: %27 = ptrtoint i32* %sv_1 to i64 %28 = bitcast i32* %sv_0 to i64* br label LBL_9 LBL_9: store i8 1, i8* %sv_2, align 1 %29 = call i64 @FUNC() %30 = trunc i64 %29 to i32 %31 = icmp eq i32 %30, 0 br i1 %31, label LBL_11, label LBL_10 LBL_10: %32 = load %_IO_FILE*, %_IO_FILE** @gv_5, align 8 %33 = call i32 @fwrite(i64* nonnull @gv_6, i32 1, i32 7, %_IO_FILE* %32) br label LBL_11 LBL_11: %34 = call i32 @putchar(i32 13) store i32 24, i32* %sv_1, align 4 %35 = call i32 @vprintf(i8* %arg3, i64 %27) %36 = call i64 @FUNC() %37 = trunc i64 %36 to i32 %38 = icmp eq i32 %37, 0 br i1 %38, label LBL_13, label LBL_12 LBL_12: %39 = load %_IO_FILE*, %_IO_FILE** @gv_5, align 8 %40 = call i32 @fwrite(i64* nonnull @gv_7, i32 1, i32 4, %_IO_FILE* %39) br label LBL_13 LBL_13: %41 = load %_IO_FILE*, %_IO_FILE** @gv_5, align 8 %42 = call i32 @fflush(%_IO_FILE* %41) %43 = load i64, i64* @gv_8, align 8 %44 = call i64 @FUNC(i64 %43, i64* nonnull %28, i64 100000, i8* nonnull %sv_2) %45 = trunc i64 %44 to i32 %46 = icmp slt i32 %45, 0 %47 = icmp eq i1 %46, false br i1 %47, label LBL_18, label LBL_14 LBL_14: %48 = icmp eq i32 %45, -110 br i1 %48, label LBL_9.backedge, label LBL_15 LBL_15: %49 = icmp eq i32 %45, -74 %50 = icmp eq i1 %49, false br i1 %50, label LBL_17, label LBL_16 LBL_16: %51 = call i32 @puts(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_9, i64 0, i64 0)) br label LBL_9.backedge LBL_17: %52 = call i32 @putchar(i32 10) %53 = and i64 %44, 4294967295 store i64 %53, i64* %storemerge.reg2mem br label LBL_24 LBL_18: %54 = load i8, i8* %sv_2, align 1 %55 = icmp eq i8 %54, 0 br i1 %55, label LBL_20, label LBL_19 LBL_19: %56 = call i32 @putchar(i32 10) br label LBL_20 LBL_20: %57 = load i32, i32* %sv_0, align 4 %sext = mul i32 %57, 16777216 %58 = ashr exact i32 %sext, 24 %59 = call i8* @strchr(i8* %arg2, i32 %58) %60 = icmp eq i8* %59, null br i1 %60, label LBL_22, label LBL_21 LBL_21: %61 = load i32, i32* %sv_0, align 4 %62 = trunc i32 %61 to i8 %63 = bitcast i64* %arg1 to i8* store i8 %62, i8* %63, align 1 store i64 0, i64* %storemerge.reg2mem br label LBL_24 LBL_22: %64 = call i32 @puts(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_10, i64 0, i64 0)) br label LBL_9.backedge LBL_23: br label LBL_9 LBL_24: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i8* %sv_2, { 1, 0, 2 } uselistorder i32* %sv_1, { 1, 0 } uselistorder i32* %sv_0, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i32 (i32)* @putchar, { 1, 0, 2 } uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 1, 0 } uselistorder %_IO_FILE** @gv_5, { 2, 1, 0 } uselistorder i64 ()* @colors_enabled, { 1, 0 } uselistorder i8 0, { 1, 2, 0 } uselistorder label LBL_9.backedge, { 2, 0, 1 } uselistorder label LBL_8, { 1, 0 } }
0
BinRealVul
nft_flush_table_12828
nft_flush_table
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %rdi.6.reg2mem = alloca i64 %storemerge125.in.in.reg2mem = alloca i64 %rdi.5.lcssa.reg2mem = alloca i64 %rdi.4.reg2mem = alloca i64 %storemerge229.in.in.reg2mem = alloca i64 %rdi.3.lcssa.reg2mem = alloca i64 %rdi.2.reg2mem = alloca i64 %storemerge335.in.in.reg2mem = alloca i64 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 16 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp eq i64 %3, %1 %5 = icmp eq i1 %4, false store i64 %3, i64* %.reg2mem store i64 %3, i64* %storemerge335.in.in.reg2mem store i64 %0, i64* %rdi.3.lcssa.reg2mem br i1 %5, label LBL_1, label LBL_7 LBL_1: %storemerge335.in.in.reload = load i64, i64* %storemerge335.in.in.reg2mem %.reload = load i64, i64* %.reg2mem %storemerge335.in = inttoptr i64 %storemerge335.in.in.reload to i64* %storemerge335 = load i64, i64* %storemerge335.in, align 8 %6 = call i64 @FUNC(i64 %.reload, i64 %storemerge335.in.in.reload) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 store i64 %.reload, i64* %rdi.2.reg2mem br i1 %8, label LBL_5, label LBL_2 LBL_2: %9 = call i64 @FUNC(i64 %storemerge335.in.in.reload) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = add i64 %storemerge335.in.in.reload, 16 %13 = call i64 @FUNC(i64 %12) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 store i64 %12, i64* %rdi.2.reg2mem br i1 %15, label LBL_5, label LBL_4 LBL_4: %16 = call i64 @FUNC(i64 %0, i64 %storemerge335.in.in.reload) %17 = trunc i64 %16 to i32 %18 = icmp slt i32 %17, 0 store i64 %0, i64* %rdi.2.reg2mem store i64 %16, i64* %sv_0.0.reg2mem br i1 %18, label LBL_16, label LBL_5 LBL_5: %rdi.2.reload = load i64, i64* %rdi.2.reg2mem %19 = add i64 %rdi.2.reload, 16 %20 = icmp eq i64 %storemerge335, %19 %21 = icmp eq i1 %20, false store i64 %rdi.2.reload, i64* %rdi.3.lcssa.reg2mem br i1 %21, label LBL_5.LBL_1_crit_edge, label LBL_7 LBL_6: %.pre = load i64, i64* %2, align 8 store i64 %.pre, i64* %.reg2mem store i64 %storemerge335, i64* %storemerge335.in.in.reg2mem br label LBL_1 LBL_7: %rdi.3.lcssa.reload = load i64, i64* %rdi.3.lcssa.reg2mem %22 = add i64 %rdi.3.lcssa.reload, 32 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = icmp eq i64 %24, %22 %26 = icmp eq i1 %25, false store i64 %24, i64* %storemerge229.in.in.reg2mem store i64 %rdi.3.lcssa.reload, i64* %rdi.5.lcssa.reg2mem br i1 %26, label LBL_8, label LBL_11 LBL_8: %storemerge229.in.in.reload = load i64, i64* %storemerge229.in.in.reg2mem %storemerge229.in = inttoptr i64 %storemerge229.in.in.reload to i64* %storemerge229 = load i64, i64* %storemerge229.in, align 8 %27 = load i64, i64* %2, align 8 %28 = call i64 @FUNC(i64 %27, i64 %storemerge229.in.in.reload) %29 = trunc i64 %28 to i32 %30 = icmp eq i32 %29, 0 store i64 %27, i64* %rdi.4.reg2mem br i1 %30, label LBL_10, label LBL_9 LBL_9: %31 = call i64 @FUNC(i64 %0, i64 %storemerge229.in.in.reload) %32 = trunc i64 %31 to i32 %33 = icmp slt i32 %32, 0 store i64 %0, i64* %rdi.4.reg2mem store i64 %31, i64* %sv_0.0.reg2mem br i1 %33, label LBL_16, label LBL_10 LBL_10: %rdi.4.reload = load i64, i64* %rdi.4.reg2mem %34 = add i64 %rdi.4.reload, 32 %35 = icmp eq i64 %storemerge229, %34 %36 = icmp eq i1 %35, false store i64 %storemerge229, i64* %storemerge229.in.in.reg2mem store i64 %rdi.4.reload, i64* %rdi.5.lcssa.reg2mem br i1 %36, label LBL_8, label LBL_11 LBL_11: %rdi.5.lcssa.reload = load i64, i64* %rdi.5.lcssa.reg2mem %37 = add i64 %rdi.5.lcssa.reload, 48 %38 = inttoptr i64 %37 to i64* %39 = load i64, i64* %38, align 8 %40 = icmp eq i64 %39, %37 %41 = icmp eq i1 %40, false store i64 %39, i64* %storemerge125.in.in.reg2mem br i1 %41, label LBL_12, label LBL_15 LBL_12: %storemerge125.in.in.reload = load i64, i64* %storemerge125.in.in.reg2mem %storemerge125.in = inttoptr i64 %storemerge125.in.in.reload to i64* %storemerge125 = load i64, i64* %storemerge125.in, align 8 %42 = load i64, i64* %2, align 8 %43 = call i64 @FUNC(i64 %42, i64 %storemerge125.in.in.reload) %44 = trunc i64 %43 to i32 %45 = icmp eq i32 %44, 0 store i64 %42, i64* %rdi.6.reg2mem br i1 %45, label LBL_14, label LBL_13 LBL_13: %46 = call i64 @FUNC(i64 %0, i64 %storemerge125.in.in.reload) %47 = trunc i64 %46 to i32 %48 = icmp slt i32 %47, 0 store i64 %0, i64* %rdi.6.reg2mem store i64 %46, i64* %sv_0.0.reg2mem br i1 %48, label LBL_16, label LBL_14 LBL_14: %rdi.6.reload = load i64, i64* %rdi.6.reg2mem %49 = add i64 %rdi.6.reload, 48 %50 = icmp eq i64 %storemerge125, %49 %51 = icmp eq i1 %50, false store i64 %storemerge125, i64* %storemerge125.in.in.reg2mem br i1 %51, label LBL_12, label LBL_15 LBL_15: %52 = call i64 @FUNC(i64 %0) store i64 %52, i64* %sv_0.0.reg2mem br label LBL_16 LBL_16: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %53 = and i64 %sv_0.0.reload, 4294967295 ret i64 %53 uselistorder i64 %storemerge125.in.in.reload, { 2, 1, 0 } uselistorder i64 %storemerge229.in.in.reload, { 2, 1, 0 } uselistorder i64 %storemerge335.in.in.reload, { 1, 4, 3, 2, 0 } uselistorder i64 %0, { 5, 0, 6, 1, 7, 3, 8, 2, 4 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge335.in.in.reg2mem, { 2, 0, 1 } uselistorder i64* %rdi.2.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %storemerge229.in.in.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge125.in.in.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64 (i64, i64)* @nft_is_active_next, { 2, 1, 0 } uselistorder i1 false, { 3, 2, 4, 1, 5, 0 } uselistorder i64 16, { 1, 0, 2 } uselistorder label LBL_16, { 3, 2, 1, 0 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_5, { 2, 0, 1 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
stellaris_enet_unrealize_15681
stellaris_enet_unrealize
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i64 %0) %2 = call i64 @FUNC(i64 %0) ret i64 %2 uselistorder i64 %0, { 0, 2, 1 } }
1
BinRealVul
abort_codec_experimental_16707
abort_codec_experimental
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 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %4 = trunc i64 %arg2 to i32 %5 = icmp eq i32 %4, 0 %. = select i1 %5, i64 ptrtoint ([8 x i8]* @gv_0 to i64), i64 ptrtoint ([8 x i8]* @gv_1 to i64) %6 = add i64 %3, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([106 x i8], [106 x i8]* @gv_2, i64 0, i64 0), i64 %., i64 %8, i64 %1) %10 = and i64 %2, 4294967295 br i1 %5, label LBL_2, label LBL_1 LBL_1: %11 = call i64 @FUNC(i64 %10) store i64 %11, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %12 = call i64 @FUNC(i64 %10) store i64 %12, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem %13 = add i64 %storemerge.reload, 16 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = urem i32 %15, 2 %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false br i1 %18, label LBL_5, label LBL_4 LBL_4: %19 = add i64 %storemerge.reload, 8 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_3, i64 0, i64 0), i64 %., i64 %21, i64 %1) br label LBL_5 LBL_5: call void @exit(i32 1) ret i64 ptrtoint (i32* @0 to i64) uselistorder i64 %storemerge.reload, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 } uselistorder i64 0, { 5, 4, 0, 1, 7, 6, 2, 3, 8 } }
1
BinRealVul
saa7134_tuner_setup_18260
saa7134_tuner_setup
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 %sv_3 = alloca i64, align 8 %3 = call i64* @memset(i64* nonnull %sv_3, i32 0, i32 20) store i64 4198712, i64* %sv_3, align 8 %sext = mul i64 %1, 4294967296 %4 = ashr exact i64 %sext, 32 %5 = mul nsw i64 %4, 12 %6 = add i64 %5, ptrtoint (i32** @gv_0 to i64) %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp eq i32 %8, -1 br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = call i64 @FUNC(i64 %2, i64 3, i64* nonnull %sv_3) br label LBL_2 LBL_2: %11 = add i64 %2, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 switch i32 %13, label LBL_3 [ i32 0, label LBL_4 i32 -1, label LBL_4 ] LBL_3: store i64 4198712, i64* %sv_3, align 8 %14 = call i64 @FUNC(i64 %2, i64 3, i64* nonnull %sv_3) br label LBL_4 LBL_4: %15 = add i64 %2, 16 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = icmp eq i64 %17, 0 br i1 %18, label LBL_6, label LBL_5 LBL_5: store i32 1, i32* %sv_2, align 4 %19 = bitcast i32* %sv_2 to i64* %20 = call i64 @FUNC(i64 %2, i64 4, i64* nonnull %19) br label LBL_6 LBL_6: %21 = load i32, i32* %12, align 4 %22 = zext i32 %21 to i64 %23 = icmp eq i32 %21, 2 %24 = icmp eq i1 %23, false store i64 %22, i64* %rax.0.reg2mem br i1 %24, label LBL_8, label LBL_7 LBL_7: %25 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 24) %26 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 24) store i64 ptrtoint ([17 x i8]* @gv_1 to i64), i64* %sv_0, align 8 store i64 2, i64* %sv_1, align 8 %27 = call i64 @FUNC(i64 %2, i64 4, i64* nonnull %sv_1) store i64 %27, 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* %sv_3, { 0, 3, 1, 4, 2 } uselistorder i64* %sv_1, { 0, 2, 1 } uselistorder i64* %sv_0, { 1, 0 } uselistorder i64 %2, { 3, 2, 4, 1, 5, 0 } uselistorder i64 (i64, i64, i64*)* @saa7134_i2c_call_clients, { 3, 2, 1, 0 } uselistorder i64* (i64*, i32, i32)* @memset, { 2, 1, 0 } uselistorder i32 0, { 1, 2, 0, 3 } uselistorder label LBL_4, { 2, 0, 1 } }
1
BinRealVul
libopenjpeg_copy_unpacked8_2442
libopenjpeg_copy_unpacked8
define i64 @FUNC(i32* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge5.reg2mem = alloca i64 %.reg2mem46 = alloca i32 %.reg2mem44 = alloca i32 %storemerge212.reg2mem = alloca i32 %.reg2mem42 = alloca i32 %.reg2mem40 = alloca i64 %sv_0.013.reg2mem = alloca i32 %.reg2mem38 = alloca i32 %.reg2mem36 = alloca i32 %storemerge3.lcssa.reg2mem = alloca i32 %.reg2mem34 = alloca i32 %sv_1.09.reg2mem = alloca i32 %.reg2mem32 = alloca i64 %storemerge4.lcssa.reg2mem = alloca i32 %.reg2mem30 = alloca i32 %sv_2.07.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %storemerge310.reg2mem = alloca i32 %.reg2mem28 = alloca i32 %indvars.iv18.reg2mem = alloca i64 %.reg2mem = alloca i32 %storemerge615.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = trunc i64 %2 to i32 %4 = icmp sgt i32 %3, 0 store i64 1, i64* %storemerge5.reg2mem br i1 %4, label LBL_1, label LBL_23 LBL_1: %5 = ptrtoint i64* %arg3 to i64 %6 = ptrtoint i64* %arg2 to i64 %7 = trunc i64 %1 to i32 %8 = add i64 %5, 8 %9 = add i64 %6, 32 store i32 0, i32* %storemerge615.reg2mem br label LBL_2 LBL_2: %storemerge615.reload = load i32, i32* %storemerge615.reg2mem %10 = sext i32 %storemerge615.reload to i64 %11 = mul nsw i64 %10, 24 %12 = add i64 %8, %11 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = mul i64 %10, 4 %16 = add i64 %15, %9 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = icmp ugt i32 %14, %18 br i1 %19, label LBL_3, label LBL_4 LBL_3: %20 = ptrtoint i32* %arg1 to i64 %21 = call i64 @FUNC(i64 %20, i64 0, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_0, i64 0, i64 0)) store i64 0, i64* %storemerge5.reg2mem br label LBL_23 LBL_4: %22 = add nuw i32 %storemerge615.reload, 1 %23 = icmp slt i32 %22, %3 store i32 %22, i32* %storemerge615.reg2mem br i1 %23, label LBL_2, label LBL_5 LBL_5: %24 = bitcast i64* %rdi to i32* %25 = ptrtoint i32* %arg1 to i64 %26 = add i64 %25, 4 %27 = inttoptr i64 %26 to i32* %28 = add i64 %6, 8 %wide.trip.count20 = and i64 %2, 4294967295 store i32 %7, i32* %.reg2mem store i64 0, i64* %indvars.iv18.reg2mem br label LBL_6 LBL_6: %indvars.iv18.reload = load i64, i64* %indvars.iv18.reg2mem %29 = mul nuw nsw i64 %indvars.iv18.reload, 24 %30 = add i64 %29, %5 %31 = add i64 %30, 16 %32 = inttoptr i64 %31 to i32* %33 = load i32, i32* %32, align 4 %34 = load i32, i32* %27, align 4 %35 = add i64 %30, 20 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = add i32 %34, -1 %39 = add i32 %38, %37 %40 = ashr i32 %39, 31 %41 = zext i32 %39 to i64 %42 = zext i32 %40 to i64 %43 = mul i64 %42, 4294967296 %44 = or i64 %43, %41 %45 = zext i32 %37 to i64 %46 = sdiv i64 %44, %45 %47 = trunc i64 %46 to i32 %48 = icmp sgt i32 %47, 0 store i32 0, i32* %storemerge3.lcssa.reg2mem br i1 %48, label LBL_7, label LBL_15 LBL_7: %.reload = load i32, i32* %.reg2mem %49 = add i32 %.reload, -1 %50 = add i32 %49, %33 %51 = ashr i32 %50, 31 %52 = zext i32 %50 to i64 %53 = zext i32 %51 to i64 %54 = mul i64 %53, 4294967296 %55 = or i64 %54, %52 %56 = zext i32 %33 to i64 %57 = sdiv i64 %55, %56 %58 = trunc i64 %57 to i32 %59 = add i64 %30, 24 %60 = inttoptr i64 %59 to i64* %61 = add i64 %30, 8 %62 = inttoptr i64 %61 to i32* %63 = mul i64 %indvars.iv18.reload, 4 %64 = add i64 %63, %9 %65 = inttoptr i64 %64 to i32* %66 = icmp sgt i32 %58, 0 %67 = mul i64 %indvars.iv18.reload, 8 %68 = add i64 %28, %67 %69 = inttoptr i64 %68 to i64* %.pre22 = load i32, i32* %62, align 4 %wide.trip.count = and i64 %57, 4294967295 store i32 %.pre22, i32* %.reg2mem28 store i32 0, i32* %storemerge310.reg2mem br label LBL_8 LBL_8: %storemerge310.reload = load i32, i32* %storemerge310.reg2mem %.reload29 = load i32, i32* %.reg2mem28 %70 = load i64, i64* %60, align 8 %71 = mul i32 %storemerge310.reload, %.reload29 %72 = sext i32 %71 to i64 %73 = mul i64 %72, 4 %74 = add i64 %73, %70 store i32 %.reload29, i32* %.reg2mem30 store i32 0, i32* %storemerge4.lcssa.reg2mem br i1 %66, label LBL_9, label LBL_12 LBL_9: %75 = load i32, i32* %65, align 4 %76 = mul i32 %75, %storemerge310.reload store i64 0, i64* %indvars.iv.reg2mem store i32 %76, i32* %sv_2.07.reg2mem br label LBL_10 LBL_10: %sv_2.07.reload = load i32, i32* %sv_2.07.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %77 = load i64, i64* %69, align 8 %78 = add i32 %sv_2.07.reload, 1 %79 = sext i32 %sv_2.07.reload to i64 %80 = mul i64 %79, 4 %81 = add i64 %80, %77 %82 = mul i64 %indvars.iv.reload, 4 %83 = add i64 %82, %74 %84 = inttoptr i64 %81 to i32* %85 = load i32, i32* %84, align 4 %86 = inttoptr i64 %83 to i32* store i32 %85, i32* %86, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %78, i32* %sv_2.07.reg2mem br i1 %exitcond, label LBL_11, label LBL_10 LBL_11: %87 = trunc i64 %57 to i32 %.pre23 = load i32, i32* %62, align 4 store i32 %.pre23, i32* %.reg2mem30 store i32 %87, i32* %storemerge4.lcssa.reg2mem br label LBL_12 LBL_12: %storemerge4.lcssa.reload = load i32, i32* %storemerge4.lcssa.reg2mem %.reload31 = load i32, i32* %.reg2mem30 %88 = zext i32 %.reload31 to i64 %89 = sext i32 %storemerge4.lcssa.reload to i64 %90 = icmp slt i64 %89, %88 store i64 %89, i64* %.reg2mem32 store i32 %storemerge4.lcssa.reload, i32* %sv_1.09.reg2mem store i32 %.reload31, i32* %.reg2mem34 br i1 %90, label LBL_13, label LBL_14 LBL_13: %sv_1.09.reload = load i32, i32* %sv_1.09.reg2mem %.reload33 = load i64, i64* %.reg2mem32 %91 = mul i64 %.reload33, 4 %92 = add i64 %91, %74 %93 = add i64 %92, -4 %94 = inttoptr i64 %93 to i32* %95 = load i32, i32* %94, align 4 %96 = inttoptr i64 %92 to i32* store i32 %95, i32* %96, align 4 %97 = add i32 %sv_1.09.reload, 1 %98 = load i32, i32* %62, align 4 %99 = zext i32 %98 to i64 %100 = sext i32 %97 to i64 %101 = icmp slt i64 %100, %99 store i64 %100, i64* %.reg2mem32 store i32 %97, i32* %sv_1.09.reg2mem store i32 %98, i32* %.reg2mem34 br i1 %101, label LBL_13, label LBL_14 LBL_14: %.reload35 = load i32, i32* %.reg2mem34 %102 = add nuw nsw i32 %storemerge310.reload, 1 %exitcond17 = icmp eq i32 %102, %47 store i32 %.reload35, i32* %.reg2mem28 store i32 %102, i32* %storemerge310.reg2mem store i32 %47, i32* %storemerge3.lcssa.reg2mem br i1 %exitcond17, label LBL_15, label LBL_8 LBL_15: %storemerge3.lcssa.reload = load i32, i32* %storemerge3.lcssa.reg2mem %103 = add i64 %30, 12 %104 = inttoptr i64 %103 to i32* %105 = load i32, i32* %104, align 4 %106 = zext i32 %105 to i64 %107 = sext i32 %storemerge3.lcssa.reload to i64 %108 = icmp slt i64 %107, %106 br i1 %108, label LBL_16, label LBL_21 LBL_16: %109 = add i64 %30, 24 %110 = inttoptr i64 %109 to i64* %111 = add i64 %30, 8 %112 = inttoptr i64 %111 to i32* %.pre24 = load i32, i32* %112, align 4 store i32 %105, i32* %.reg2mem36 store i32 %.pre24, i32* %.reg2mem38 store i32 %storemerge3.lcssa.reload, i32* %sv_0.013.reg2mem br label LBL_17 LBL_17: %sv_0.013.reload = load i32, i32* %sv_0.013.reg2mem %.reload39 = load i32, i32* %.reg2mem38 %.reload37 = load i32, i32* %.reg2mem36 %113 = load i64, i64* %110, align 8 %114 = mul i32 %sv_0.013.reload, %.reload39 %115 = sext i32 %114 to i64 %116 = mul i64 %115, 4 %117 = add i64 %116, %113 %118 = icmp eq i32 %.reload39, 0 store i64 0, i64* %.reg2mem40 store i32 %.reload39, i32* %.reg2mem42 store i32 0, i32* %storemerge212.reg2mem store i32 %.reload37, i32* %.reg2mem44 store i32 0, i32* %.reg2mem46 br i1 %118, label LBL_20, label LBL_18 LBL_18: %storemerge212.reload = load i32, i32* %storemerge212.reg2mem %.reload43 = load i32, i32* %.reg2mem42 %.reload41 = load i64, i64* %.reg2mem40 %119 = sub i32 %storemerge212.reload, %.reload43 %120 = sext i32 %119 to i64 %121 = mul i64 %120, 4 %122 = add i64 %121, %117 %123 = mul i64 %.reload41, 4 %124 = add i64 %123, %117 %125 = inttoptr i64 %122 to i32* %126 = load i32, i32* %125, align 4 %127 = inttoptr i64 %124 to i32* store i32 %126, i32* %127, align 4 %128 = add i32 %storemerge212.reload, 1 %129 = load i32, i32* %112, align 4 %130 = zext i32 %129 to i64 %131 = sext i32 %128 to i64 %132 = icmp slt i64 %131, %130 store i64 %131, i64* %.reg2mem40 store i32 %129, i32* %.reg2mem42 store i32 %128, i32* %storemerge212.reg2mem br i1 %132, label LBL_18, label LBL_19 LBL_19: %.pre25 = load i32, i32* %104, align 4 store i32 %.pre25, i32* %.reg2mem44 store i32 %129, i32* %.reg2mem46 br label LBL_20 LBL_20: %.reload47 = load i32, i32* %.reg2mem46 %.reload45 = load i32, i32* %.reg2mem44 %133 = add i32 %sv_0.013.reload, 1 %134 = zext i32 %.reload45 to i64 %135 = sext i32 %133 to i64 %136 = icmp slt i64 %135, %134 store i32 %.reload45, i32* %.reg2mem36 store i32 %.reload47, i32* %.reg2mem38 store i32 %133, i32* %sv_0.013.reg2mem br i1 %136, label LBL_17, label LBL_21 LBL_21: %indvars.iv.next19 = add nuw nsw i64 %indvars.iv18.reload, 1 %exitcond21 = icmp eq i64 %indvars.iv.next19, %wide.trip.count20 store i64 1, i64* %storemerge5.reg2mem br i1 %exitcond21, label LBL_23, label LBL_21.LBL_6_crit_edge LBL_22: %.pre = load i32, i32* %24, align 8 store i32 %.pre, i32* %.reg2mem store i64 %indvars.iv.next19, i64* %indvars.iv18.reg2mem br label LBL_6 LBL_23: %storemerge5.reload = load i64, i64* %storemerge5.reg2mem ret i64 %storemerge5.reload uselistorder i32 %.reload45, { 1, 0 } uselistorder i32* %112, { 1, 0 } uselistorder i32 %sv_2.07.reload, { 1, 0 } uselistorder i32 %storemerge310.reload, { 0, 2, 1 } uselistorder i32* %62, { 2, 0, 1 } uselistorder i32 %37, { 1, 0 } uselistorder i32 %33, { 1, 0 } uselistorder i64 %30, { 2, 1, 0, 4, 3, 5, 6 } uselistorder i64 %indvars.iv18.reload, { 0, 3, 2, 1 } uselistorder i64 %6, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i32* %storemerge615.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv18.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem28, { 1, 0, 2 } uselistorder i32* %storemerge310.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.07.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem30, { 0, 2, 1 } uselistorder i32* %storemerge4.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem32, { 2, 0, 1 } uselistorder i32* %sv_1.09.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem36, { 1, 0, 2 } uselistorder i32* %.reg2mem38, { 1, 0, 2 } uselistorder i32* %sv_0.013.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem40, { 2, 0, 1 } uselistorder i32* %.reg2mem42, { 2, 0, 1 } uselistorder i32* %storemerge212.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge5.reg2mem, { 0, 1, 3, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i64 4294967296, { 1, 0 } uselistorder i32 31, { 1, 0 } uselistorder i32 -1, { 1, 0 } uselistorder i64 4, { 0, 1, 2, 3, 4, 5, 6, 7, 9, 8 } uselistorder i64 8, { 2, 0, 4, 3, 1 } uselistorder i32 0, { 0, 1, 7, 3, 4, 6, 2, 8, 5, 9, 10 } uselistorder label LBL_23, { 0, 2, 1 } uselistorder label LBL_20, { 1, 0 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_17, { 1, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
vring_notify_2202
vring_notify
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i1 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg2 to i64 %4 = call i64 @FUNC() %5 = trunc i64 %1 to i32 %6 = urem i32 %5, 2 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_3, label LBL_1 LBL_1: %8 = trunc i64 %2 to i16 %9 = icmp eq i16 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_3, label LBL_2 LBL_2: %11 = call i64 @FUNC(i64 %3) %12 = add i64 %3, 2 %13 = inttoptr i64 %12 to i16* %14 = load i16, i16* %13, align 2 %15 = trunc i64 %11 to i16 %16 = icmp eq i16 %14, %15 %17 = icmp eq i1 %16, false store i1 true, i1* %rax.0.shrunk.reg2mem br i1 %17, label LBL_3, label LBL_7 LBL_3: %18 = and i32 %5, 2 %19 = icmp eq i32 %18, 0 %20 = icmp eq i1 %19, false br i1 %20, label LBL_5, label LBL_4 LBL_4: %21 = call i64 @FUNC(i64 %3) %22 = and i64 %21, 2 %23 = icmp eq i64 %22, 0 store i1 %23, i1* %rax.0.shrunk.reg2mem br label LBL_7 LBL_5: %24 = add i64 %3, 4 %25 = inttoptr i64 %24 to i8* %26 = load i8, i8* %25, align 1 store i8 1, i8* %25, align 1 %27 = add i64 %3, 6 %28 = inttoptr i64 %27 to i16* %29 = load i16, i16* %28, align 2 %30 = call i64 @FUNC(i64 %3) %31 = trunc i64 %30 to i16 store i16 %31, i16* %28, align 2 %32 = icmp eq i8 %26, 1 %33 = icmp eq i1 %32, false store i1 true, i1* %rax.0.shrunk.reg2mem br i1 %33, label LBL_7, label LBL_6 LBL_6: %34 = call i64 @FUNC(i64 %3) %35 = zext i16 %29 to i64 %36 = urem i64 %30, 65536 %37 = urem i64 %34, 65536 %38 = call i64 @FUNC(i64 %37, i64 %36, i64 %35) %39 = trunc i64 %38 to i8 %40 = icmp ne i8 %39, 0 store i1 %40, i1* %rax.0.shrunk.reg2mem br label LBL_7 LBL_7: %rax.0.shrunk.reload = load i1, i1* %rax.0.shrunk.reg2mem %rax.0 = zext i1 %rax.0.shrunk.reload to i64 ret i64 %rax.0 uselistorder i32 %5, { 1, 0 } uselistorder i64 %3, { 2, 4, 3, 5, 6, 1, 0 } uselistorder i1* %rax.0.shrunk.reg2mem, { 0, 1, 2, 4, 3 } uselistorder i64* %0, { 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder label LBL_7, { 1, 0, 3, 2 } }
0
BinRealVul
pgd_alloc_12243
pgd_alloc
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 = call i64 @FUNC(i64 %0, i64 0) %5 = icmp eq i64 %4, 0 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %0) %7 = and i64 %6, 4294967295 %8 = call i64 @FUNC(i64 %4, i64 %7) br label LBL_2 LBL_2: ret i64 %4 uselistorder i64 %4, { 1, 0, 2 } uselistorder i64 (i64)* @INIT_LIST_HEAD, { 1, 0 } }
1
BinRealVul
read_partition_1773
read_partition
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = trunc i64 %1 to i8 %5 = bitcast i64* %arg2 to i8* store i8 %4, i8* %5, align 1 %6 = add i64 %3, 1 %7 = inttoptr i64 %6 to i8* %8 = load i8, i8* %7, align 1 %9 = add i64 %2, 1 %10 = inttoptr i64 %9 to i8* store i8 %8, i8* %10, align 1 %11 = add i64 %3, 3 %12 = inttoptr i64 %11 to i8* %13 = load i8, i8* %12, align 1 %14 = add i64 %3, 2 %15 = inttoptr i64 %14 to i8* %16 = load i8, i8* %15, align 1 %17 = zext i8 %16 to i16 %18 = mul i16 %17, 4 %19 = and i16 %18, 768 %20 = zext i8 %13 to i16 %21 = or i16 %19, %20 %22 = add i64 %2, 2 %23 = inttoptr i64 %22 to i16* store i16 %21, i16* %23, align 2 %24 = load i8, i8* %15, align 1 %25 = urem i8 %24, 64 %26 = add i64 %2, 4 %27 = inttoptr i64 %26 to i8* store i8 %25, i8* %27, align 1 %28 = add i64 %3, 4 %29 = inttoptr i64 %28 to i8* %30 = load i8, i8* %29, align 1 %31 = add i64 %2, 5 %32 = inttoptr i64 %31 to i8* store i8 %30, i8* %32, align 1 %33 = add i64 %3, 5 %34 = inttoptr i64 %33 to i8* %35 = load i8, i8* %34, align 1 %36 = add i64 %2, 6 %37 = inttoptr i64 %36 to i8* store i8 %35, i8* %37, align 1 %38 = add i64 %3, 7 %39 = inttoptr i64 %38 to i8* %40 = load i8, i8* %39, align 1 %41 = add i64 %3, 6 %42 = inttoptr i64 %41 to i8* %43 = load i8, i8* %42, align 1 %44 = zext i8 %43 to i16 %45 = mul i16 %44, 4 %46 = and i16 %45, 768 %47 = zext i8 %40 to i16 %48 = or i16 %46, %47 %49 = add i64 %2, 8 %50 = inttoptr i64 %49 to i16* store i16 %48, i16* %50, align 2 %51 = load i8, i8* %42, align 1 %52 = urem i8 %51, 64 %53 = add i64 %2, 10 %54 = inttoptr i64 %53 to i8* store i8 %52, i8* %54, align 1 %55 = add i64 %3, 8 %56 = call i64 @FUNC(i64 %55) %57 = trunc i64 %56 to i32 %58 = add i64 %2, 12 %59 = inttoptr i64 %58 to i32* store i32 %57, i32* %59, align 4 %60 = add i64 %3, 12 %61 = call i64 @FUNC(i64 %60) %62 = trunc i64 %61 to i32 %63 = add i64 %2, 16 %64 = inttoptr i64 %63 to i32* store i32 %62, i32* %64, align 4 ret i64 %61 uselistorder i64 %61, { 1, 0 } uselistorder i64 %2, { 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64)* @le32_to_cpup, { 1, 0 } }
0
BinRealVul
tpm_register_driver_14620
tpm_register_driver
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %storemerge12.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 store i32 0, i32* %storemerge12.reg2mem br label LBL_1 LBL_1: %storemerge12.reload = load i32, i32* %storemerge12.reg2mem %1 = sext i32 %storemerge12.reload to i64 %2 = mul i64 %1, 8 %3 = add i64 %2, ptrtoint (i64* @gv_0 to i64) %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_3, label LBL_2 LBL_2: store i64 %0, i64* %4, align 8 store i64 0, i64* %storemerge.reg2mem br label LBL_5 LBL_3: %8 = add nuw i32 %storemerge12.reload, 1 %9 = icmp ult i32 %8, 10 store i32 %8, i32* %storemerge12.reg2mem br i1 %9, label LBL_1, label LBL_4 LBL_4: %10 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_1, i64 0, i64 0)) store i64 1, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32* %storemerge12.reg2mem, { 1, 0, 2 } uselistorder i64 0, { 1, 2, 0, 7, 3, 4, 5, 6 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
set_partition_18209
set_partition
define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6, i64 %arg7) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %storemerge11.in.in.reg2mem = alloca i64 %sv_2.0.in.in.in.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = ptrtoint i32* %arg1 to i64 %1 = and i64 %arg2, 4294967295 %2 = call i64 @FUNC(i64 %0, i64 %1) %3 = icmp eq i64 %arg4, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 80, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %5 = icmp eq i64 %arg5, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 81, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) br label LBL_4 LBL_4: %7 = trunc i64 %arg3 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_6, label LBL_5 LBL_5: %9 = call i64 @FUNC(i64 %0) %10 = add i64 %2, 8 store i64 %10, i64* %sv_2.0.in.in.in.reg2mem store i64 %9, i64* %storemerge11.in.in.reg2mem br label LBL_7 LBL_6: %11 = add i64 %2, 16 store i64 %2, i64* %sv_2.0.in.in.in.reg2mem store i64 %11, i64* %storemerge11.in.in.reg2mem br label LBL_7 LBL_7: %storemerge11.in.in.reload = load i64, i64* %storemerge11.in.in.reg2mem %sv_2.0.in.in.in.reload = load i64, i64* %sv_2.0.in.in.in.reg2mem %sv_2.0.in.in = inttoptr i64 %sv_2.0.in.in.in.reload to i64* %sv_2.0.in = load i64, i64* %sv_2.0.in.in, align 8 %sv_2.0 = inttoptr i64 %sv_2.0.in to i8* %storemerge11.in = inttoptr i64 %storemerge11.in.in.reload to i64* %storemerge11 = load i64, i64* %storemerge11.in, align 8 %12 = sub i64 %arg5, %arg4 %13 = add i64 %12, 1 %14 = sub i64 %arg4, %storemerge11 %. = select i1 %8, i64 ptrtoint (i64* @gv_4 to i64), i64 ptrtoint ([12 x i8]* @gv_5 to i64) store i64 %., i64* %rdi, align 8 %15 = call i64 @FUNC(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @gv_6, i64 0, i64 0), i64 %1, i64 %., i64 %storemerge11, i64 %14, i64 %13) %16 = trunc i64 %arg7 to i32 %17 = icmp eq i32 %16, 0 %storemerge = select i1 %17, i8 0, i8 -128 store i8 %storemerge, i8* %sv_2.0, align 1 %18 = trunc i64 %arg6 to i8 %19 = add i64 %sv_2.0.in, 1 %20 = inttoptr i64 %19 to i8* store i8 %18, i8* %20, align 1 %21 = call i64 @FUNC(i64 %sv_2.0.in, i64 %14) %22 = call i64 @FUNC(i64 %sv_2.0.in, i64 %13) %23 = call i64 @FUNC(i64 %0) %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, 0 store i64 %arg4, i64* %sv_1.0.reg2mem br i1 %25, label LBL_10, label LBL_8 LBL_8: %26 = bitcast i64* %rdi to i32* %27 = load i32, i32* %26, align 8 %28 = add i64 %0, 4 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = mul i32 %30, %27 %32 = sext i32 %31 to i64 %33 = udiv i64 %arg4, %32 %34 = icmp ult i64 %33, 1024 store i64 %arg4, i64* %sv_1.0.reg2mem br i1 %34, label LBL_10, label LBL_9 LBL_9: %35 = mul i32 %31, 1024 %36 = add i32 %35, -1 %37 = sext i32 %36 to i64 store i64 %37, i64* %sv_1.0.reg2mem br label LBL_10 LBL_10: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %38 = add i64 %sv_2.0.in, 26 %39 = inttoptr i64 %38 to i8* %40 = load i8, i8* %39, align 1 %41 = zext i8 %40 to i64 %42 = add i64 %sv_2.0.in, 25 %43 = inttoptr i64 %42 to i8* %44 = load i8, i8* %43, align 1 %45 = zext i8 %44 to i64 %46 = add i64 %sv_2.0.in, 24 %47 = inttoptr i64 %46 to i8* %48 = load i8, i8* %47, align 1 %49 = zext i8 %48 to i64 %50 = call i64 @FUNC(i64 %49, i64 %45, i64 %41, i64 %sv_1.0.reload) %51 = call i64 @FUNC(i64 %0) %52 = trunc i64 %51 to i32 %53 = icmp eq i32 %52, 0 store i64 %arg5, i64* %sv_0.0.reg2mem br i1 %53, label LBL_13, label LBL_11 LBL_11: %54 = bitcast i64* %rdi to i32* %55 = load i32, i32* %54, align 8 %56 = add i64 %0, 4 %57 = inttoptr i64 %56 to i32* %58 = load i32, i32* %57, align 4 %59 = mul i32 %58, %55 %60 = sext i32 %59 to i64 %61 = udiv i64 %arg5, %60 %62 = icmp ult i64 %61, 1024 store i64 %arg5, i64* %sv_0.0.reg2mem br i1 %62, label LBL_13, label LBL_12 LBL_12: %63 = mul i32 %59, 1024 %64 = add i32 %63, -1 %65 = sext i32 %64 to i64 store i64 %65, i64* %sv_0.0.reg2mem br label LBL_13 LBL_13: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %66 = add i64 %sv_2.0.in, 29 %67 = inttoptr i64 %66 to i8* %68 = load i8, i8* %67, align 1 %69 = zext i8 %68 to i64 %70 = add i64 %sv_2.0.in, 28 %71 = inttoptr i64 %70 to i8* %72 = load i8, i8* %71, align 1 %73 = zext i8 %72 to i64 %74 = add i64 %sv_2.0.in, 27 %75 = inttoptr i64 %74 to i8* %76 = load i8, i8* %75, align 1 %77 = zext i8 %76 to i64 %78 = call i64 @FUNC(i64 %77, i64 %73, i64 %69, i64 %sv_0.0.reload) %79 = call i64 @FUNC(i64 %0, i64 %1, i64 1) ret i64 %79 uselistorder i64 %., { 1, 0 } uselistorder i64 %sv_2.0.in, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %2, { 0, 2, 1 } uselistorder i64 %1, { 1, 2, 0 } uselistorder i64 %0, { 3, 2, 4, 1, 5, 0, 6 } uselistorder i64* %rdi, { 2, 1, 0 } uselistorder i64* %sv_2.0.in.in.in.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge11.in.in.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64, i64, i64)* @set_hsc, { 1, 0 } uselistorder i64 (i64)* @is_dos_compatible, { 1, 0 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 } uselistorder i64 %arg5, { 0, 2, 1, 3, 4 } uselistorder i64 %arg4, { 0, 2, 1, 4, 3, 5 } }
1
BinRealVul
float64_to_int32_round_to_zero_16870
float64_to_int32_round_to_zero
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = alloca i128 %rax.0.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i8 %1 = load i128, i128* %0 %2 = call i64 @FUNC(i128 %1) %3 = call i128 @FUNC(i64 %2) %4 = call i128 @FUNC() %5 = call i64 @__asm_movq.2(i128 %4) %6 = call i128 @FUNC(i64 %5) %7 = call i64 @FUNC(i128 %6) %8 = trunc i64 %7 to i32 %9 = call i128 @FUNC(i64 %5) %10 = call i64 @FUNC(i128 %9) %11 = trunc i64 %10 to i16 %12 = call i128 @FUNC(i64 %5) %13 = call i64 @FUNC(i128 %12) %14 = trunc i64 %13 to i32 %sext = mul i32 %14, 16777216 %15 = ashr exact i32 %sext, 24 %16 = icmp slt i16 %11, 1055 br i1 %16, label LBL_2, label LBL_1 LBL_1: %17 = icmp eq i16 %11, 2047 %18 = icmp eq i1 %17, false %19 = icmp eq i32 %8, 0 %or.cond = or i1 %19, %18 %20 = trunc i32 %15 to i8 %.pre = select i1 %or.cond, i8 %20, i8 0 store i8 %.pre, i8* %.pre-phi.reg2mem br label LBL_6 LBL_2: %21 = icmp sgt i16 %11, 1022 br i1 %21, label LBL_5, label LBL_3 LBL_3: %22 = icmp eq i16 %11, 0 %23 = icmp eq i32 %8, 0 %or.cond8 = icmp eq i1 %23, %22 store i64 0, i64* %rax.0.reg2mem br i1 %or.cond8, label LBL_10, label LBL_4 LBL_4: %24 = load i8, i8* inttoptr (i64 4210725 to i8*), align 1 %25 = or i8 %24, 1 store i8 %25, i8* bitcast (i32* @gv_0 to i8*), align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_10 LBL_5: %sext9 = mul i64 %7, 4294967296 %26 = ashr exact i64 %sext9, 32 %27 = or i64 %26, 4503599627370496 %28 = sub i16 51, %11 %29 = urem i16 %28, 64 %30 = icmp eq i16 %29, 0 %31 = zext i16 %29 to i64 %32 = lshr i64 %27, %31 %33 = trunc i64 %32 to i32 %sv_0.0 = select i1 %30, i32 %8, i32 %33 %34 = trunc i32 %15 to i8 %35 = icmp eq i8 %34, 0 %36 = sub i32 0, %sv_0.0 %spec.select10 = select i1 %35, i32 %sv_0.0, i32 %36 %37 = icmp slt i32 %spec.select10, 0 %38 = zext i1 %37 to i32 %39 = urem i32 %15, 256 %40 = icmp eq i32 %39, %38 store i8 %34, i8* %.pre-phi.reg2mem br i1 %40, label LBL_7, label LBL_6 LBL_6: %.pre-phi.reload = load i8, i8* %.pre-phi.reg2mem %41 = icmp eq i8 %.pre-phi.reload, 0 %. = select i1 %41, i64 2147483647, i64 2147483648 store i64 %., i64* %rax.0.reg2mem br label LBL_10 LBL_7: %42 = sext i32 %sv_0.0 to i64 %storemerge = shl i64 %42, %31 %43 = icmp eq i64 %27, %storemerge br i1 %43, label LBL_9, label LBL_8 LBL_8: %44 = load i8, i8* bitcast (i32* @gv_0 to i8*), align 4 %45 = or i8 %44, 1 store i8 %45, i8* bitcast (i32* @gv_0 to i8*), align 4 br label LBL_9 LBL_9: %46 = zext i32 %spec.select10 to i64 store i64 %46, 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 i32 %spec.select10, { 1, 0 } uselistorder i32 %sv_0.0, { 2, 0, 1 } uselistorder i32 %15, { 0, 2, 1 } uselistorder i16 %11, { 1, 0, 3, 2, 4 } uselistorder i32 %8, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i64 4503599627370496, { 1, 0 } uselistorder i8* bitcast (i32* @gv_0 to i8*), { 2, 1, 0 } uselistorder i8 0, { 1, 2, 0 } uselistorder i32 0, { 0, 3, 1, 2 } uselistorder i32 1, { 3, 2, 1, 0 } uselistorder label LBL_10, { 3, 0, 1, 2 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
internal_ipc_send_request_9164
internal_ipc_send_request
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %rdi.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i32 @time(i32* null) %2 = sext i32 %1 to i64 %3 = sext i32 %arg3 to i64 %4 = mul nsw i64 %3, 274877907 %5 = udiv i64 %4, 4294967296 %6 = trunc i64 %5 to i32 %7 = ashr i32 %6, 6 %8 = icmp slt i32 %arg3, 0 %9 = select i1 %8, i32 2, i32 1 %narrow = add nsw i32 %9, %7 %10 = sext i32 %narrow to i64 %11 = add nsw i64 %2, %10 store i64 0, i64* %rdi.0.reg2mem br label LBL_1 LBL_1: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %12 = call i64 @FUNC(i64 %rdi.0.reload, i64 %arg2, i64 2) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, -11 %15 = icmp eq i1 %14, false br i1 %15, label LBL_4, label LBL_2 LBL_2: %16 = call i32 @time(i32* null) %17 = sext i32 %16 to i64 %18 = icmp sgt i64 %11, %17 br i1 %18, label LBL_3, label LBL_4 LBL_3: %19 = call i64 @FUNC(i64 %0) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false store i64 %0, i64* %rdi.0.reg2mem br i1 %22, label LBL_1, label LBL_4 LBL_4: %23 = and i64 %12, 4294967295 ret i64 %23 uselistorder i64* %rdi.0.reg2mem, { 1, 0, 2 } uselistorder i32 0, { 1, 0 } uselistorder i32 (i32*)* @time, { 1, 0 } uselistorder label LBL_4, { 1, 0, 2 } }
0
BinRealVul
DecodeAsn1DerIA5String_18775
DecodeAsn1DerIA5String
define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3, i32* %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %sv_0 = alloca i32, align 4 %sv_1 = alloca i32*, align 8 %0 = ptrtoint i32* %arg1 to i64 %1 = add i64 %0, 1 %2 = inttoptr i64 %1 to i32* store i32* %2, i32** %sv_1, align 8 %3 = inttoptr i64 %1 to i8* %4 = load i8, i8* %3, align 1 %5 = sext i8 %4 to i32 %6 = icmp slt i8 %4, 0 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = urem i32 %5, 256 store i32 %7, i32* %sv_0, align 4 %8 = add i64 %0, 2 %9 = inttoptr i64 %8 to i32* store i32* %9, i32** %sv_1, align 8 store i32 %7, i32* %.reg2mem br label LBL_4 LBL_2: %10 = urem i32 %5, 128 %11 = add i64 %0, 2 %12 = inttoptr i64 %11 to i32* store i32* %12, i32** %sv_1, align 8 %13 = ptrtoint i32* %arg4 to i64 %14 = bitcast i32** %sv_1 to i64* %15 = call i64 @FUNC(i64* nonnull %14, i32* nonnull %sv_0, i32 %10, i64 %13) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, -1 %18 = icmp eq i1 %17, false store i64 0, i64* %rax.0.reg2mem br i1 %18, label LBL_2.LBL_4_crit_edge, label LBL_9 LBL_3: %.pre = load i32, i32* %sv_0, align 4 store i32 %.pre, i32* %.reg2mem br label LBL_4 LBL_4: %.reload = load i32, i32* %.reg2mem %19 = trunc i64 %arg2 to i32 %20 = icmp ugt i32 %.reload, %19 %21 = icmp eq i1 %20, false store i64 0, i64* %rax.0.reg2mem br i1 %21, label LBL_5, label LBL_9 LBL_5: %22 = call i64 @FUNC() %23 = icmp eq i64 %22, 0 %24 = icmp eq i1 %23, false store i64 0, i64* %rax.0.reg2mem br i1 %24, label LBL_6, label LBL_9 LBL_6: %25 = inttoptr i64 %22 to i32* store i32 22, i32* %25, align 4 %26 = load i32, i32* %sv_0, align 4 %27 = add i64 %22, 4 %28 = inttoptr i64 %27 to i32* store i32 %26, i32* %28, align 4 %29 = load i32, i32* %sv_0, align 4 %30 = add i32 %29, 1 %31 = zext i32 %30 to i64 %32 = call i64 @FUNC(i64 %31) %33 = add i64 %22, 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_8, label LBL_7 LBL_7: %37 = call i64 @FUNC(i64 %22) store i64 0, i64* %rax.0.reg2mem br label LBL_9 LBL_8: %38 = load i32, i32* %sv_0, align 4 %39 = add i32 %38, 1 %40 = zext i32 %39 to i64 %41 = load i32*, i32** %sv_1, align 8 %42 = ptrtoint i32* %41 to i64 %43 = call i64 @FUNC(i64 %32, i64 %42, i64 %40) %44 = load i32*, i32** %sv_1, align 8 %45 = ptrtoint i32* %44 to i64 %46 = load i32, i32* %sv_0, align 4 %47 = zext i32 %46 to i64 %48 = add i64 %47, %45 %49 = inttoptr i64 %48 to i32* store i32* %49, i32** %sv_1, align 8 %50 = sub i64 %48, %0 %51 = trunc i64 %50 to i32 %52 = add i64 %22, 16 %53 = inttoptr i64 %52 to i32* store i32 %51, i32* %53, align 4 store i64 %22, 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 %32, { 1, 0, 2 } uselistorder i64 %0, { 2, 1, 0, 3 } uselistorder i32** %sv_1, { 5, 4, 3, 6, 2, 1, 0 } uselistorder i32* %sv_0, { 2, 3, 4, 5, 0, 1, 6 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 1, 2, 3 } uselistorder i64 2, { 1, 0 } uselistorder label LBL_9, { 3, 4, 0, 1, 2 } }
1
BinRealVul
iniparser_getlongint_6901
iniparser_getlongint
define i64 @FUNC(i64* %arg1, i8* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i8* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1, i64 %0, i64 0) %3 = icmp eq i64 %2, 0 store i64 %arg3, i64* %storemerge.reg2mem br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = inttoptr i64 %2 to i8* %5 = call i32 @strtol(i8* %4, i8** null, i32 0) %6 = sext i32 %5 to i64 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 } }
0
BinRealVul
net_checksum_calculate_11421
net_checksum_calculate
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 14 %2 = inttoptr i64 %1 to i8* %3 = load i8, i8* %2, align 1 %4 = and i8 %3, -16 %5 = zext i8 %4 to i64 %6 = icmp eq i8 %4, 64 %7 = icmp eq i1 %6, false store i64 %5, i64* %rax.0.reg2mem br i1 %7, label LBL_5, label LBL_1 LBL_1: %8 = add i64 %0, 16 %9 = inttoptr i64 %8 to i8* %10 = load i8, i8* %9, align 1 %11 = add i64 %0, 17 %12 = inttoptr i64 %11 to i8* %13 = load i8, i8* %12, align 1 %14 = add i64 %0, 23 %15 = inttoptr i64 %14 to i8* %16 = load i8, i8* %15, align 1 %17 = icmp eq i8 %16, 6 store i32 16, i32* %storemerge.reg2mem br i1 %17, label LBL_3, label LBL_2 LBL_2: %18 = zext i8 %16 to i64 %19 = icmp eq i8 %16, 17 store i32 6, i32* %storemerge.reg2mem store i64 %18, i64* %rax.0.reg2mem br i1 %19, label LBL_3, label LBL_5 LBL_3: %20 = mul i8 %3, 4 %21 = and i8 %20, 60 %22 = zext i8 %21 to i32 %23 = zext i8 %10 to i32 %24 = mul i32 %23, 256 %25 = zext i8 %13 to i32 %26 = or i32 %24, %25 %27 = sub nsw i32 %26, %22 %storemerge.reload = load i32, i32* %storemerge.reg2mem %28 = or i32 %storemerge.reload, 1 %29 = zext i32 %28 to i64 %30 = sext i32 %27 to i64 %31 = icmp sgt i64 %30, %29 store i64 %29, i64* %rax.0.reg2mem br i1 %31, label LBL_4, label LBL_5 LBL_4: %32 = zext i8 %16 to i32 %33 = add nuw nsw i32 %22, 14 %34 = add nuw nsw i32 %33, %storemerge.reload %35 = zext i32 %34 to i64 %36 = add i64 %35, %0 %37 = inttoptr i64 %36 to i8* store i8 0, i8* %37, align 1 %38 = or i32 %34, 1 %39 = zext i32 %38 to i64 %40 = add i64 %39, %0 %41 = inttoptr i64 %40 to i8* store i8 0, i8* %41, align 1 %narrow = add nuw nsw i8 %21, 14 %42 = zext i8 %narrow to i64 %43 = add i64 %42, %0 %44 = add i64 %0, 26 %45 = zext i32 %27 to i64 %46 = call i64 @FUNC(i64 %45, i32 %32, i64 %44, i64 %43) %47 = udiv i64 %46, 256 %48 = trunc i64 %47 to i8 store i8 %48, i8* %37, align 1 %49 = trunc i64 %46 to i8 store i8 %49, i8* %41, align 1 store i64 %40, 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 %46, { 1, 0 } uselistorder i32 %storemerge.reload, { 1, 0 } uselistorder i8 %16, { 2, 0, 3, 1 } uselistorder i64 %0, { 3, 0, 1, 2, 4, 6, 5, 7 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 4 } uselistorder label LBL_5, { 3, 0, 2, 1 } }
1
reposvul_c_test
usage_247
usage
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i32 @puts(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0)) %1 = call i32 @puts(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @gv_1, i64 0, i64 0)) %2 = call i32 @puts(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_2, i64 0, i64 0)) %3 = load [11 x i8]*, [11 x i8]** @gv_3, align 8 %4 = getelementptr inbounds [11 x i8], [11 x i8]* %3, i64 0, i64 0 %5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_4, i64 0, i64 0), i8* %4) %6 = call i64 @FUNC(i8** getelementptr inbounds ([2 x i8*], [2 x i8*]* @gv_5, i64 0, i64 0)) %7 = call i32 @puts(i8* inttoptr (i64 4202744 to i8*)) %8 = sext i32 %7 to i64 ret i64 %8 uselistorder i32 (i8*)* @puts, { 4, 3, 2, 1, 0 } }
1
BinRealVul
test_machine_16166
test_machine
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i64 %arg1, i64 %3, i64 %4, i64 %2, i64 %1) %6 = call i64 @FUNC(i64 %5) %7 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0)) %8 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0)) %9 = call i64 @FUNC(i64 %8, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0)) %10 = and i64 %9, 4294967295 %11 = call i64 @FUNC(i64 %10) %12 = call i64 @FUNC() %13 = call i64 @FUNC(i64 %5) ret i64 %13 uselistorder i64* %0, { 3, 2, 1, 0 } }
1
BinRealVul
add_child_17910
add_child
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1, i64 0) %1 = call i64 @FUNC(i64 %0, i64 %arg2) %2 = inttoptr i64 %0 to i64* store i64 0, i64* %2, align 8 %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i64* store i64 %arg3, i64* %4, align 8 %5 = add i64 %0, 16 %6 = inttoptr i64 %5 to i64* store i64 0, i64* %6, align 8 %7 = add i64 %0, 24 %8 = inttoptr i64 %7 to i64* store i64 1, i64* %8, align 8 ret i64 %0 }
1
BinRealVul
cipso_v4_doi_remove_12878
cipso_v4_doi_remove
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = call i64 @FUNC(i64* nonnull @gv_0) %4 = and i64 %arg1, 4294967295 %5 = call i64 @FUNC(i64 %4) %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = call i64 @FUNC(i64* nonnull @gv_0) store i32 -2, i32* %sv_0.0.reg2mem br label LBL_5 LBL_2: %9 = call i64 @FUNC(i64 %5) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = call i64 @FUNC(i64* nonnull @gv_0) store i32 -16, i32* %sv_0.0.reg2mem br label LBL_5 LBL_4: %14 = add i64 %5, 8 %15 = call i64 @FUNC(i64 %14) %16 = call i64 @FUNC(i64* nonnull @gv_0) %17 = call i64 @FUNC() %18 = add i64 %5, 16 %19 = call i64 @FUNC(i64 %18, i64 4198778) store i32 0, i32* %sv_0.0.reg2mem br label LBL_5 LBL_5: %20 = ptrtoint i64* %arg2 to i64 %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %21 = call i64 @FUNC(i64 1, i64 %20) %22 = icmp eq i64 %21, 0 br i1 %22, label LBL_7, label LBL_6 LBL_6: %23 = icmp eq i32 %sv_0.0.reload, 0 %24 = zext i1 %23 to i64 %25 = trunc i64 %arg1 to i32 %26 = call i64 @FUNC(i64 %21, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i32 %25, i64 %24, i64 %2, i64 %1) %27 = call i64 @FUNC(i64 %21) br label LBL_7 LBL_7: %28 = zext i32 %sv_0.0.reload to i64 ret i64 %28 uselistorder i64 %21, { 1, 0, 2 } uselistorder i64 %5, { 1, 0, 2, 3 } uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i32 0, { 1, 0, 2 } uselistorder i64 (i64*)* @spin_unlock, { 2, 1, 0 } }
1
BinRealVul
get_packet_size_2611
get_packet_size
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %arg2 to i32 %3 = icmp sgt i32 %2, 1020 store i64 4294967295, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_4 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i64 %4, i32 %2, i64 188, i64 0, i64 0) %6 = trunc i64 %5 to i32 %7 = call i64 @FUNC(i64 %4, i32 %2, i64 192, i64 0, i64 0) %8 = trunc i64 %7 to i32 %9 = call i64 @FUNC(i64 %4, i32 %2, i64 204, i64 0, i64 0) %10 = trunc i64 %9 to i32 %11 = and i64 %9, 4294967295 %12 = and i64 %7, 4294967295 %13 = and i64 %5, 4294967295 %14 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_0, i64 0, i64 0), i64 %13, i64 %12, i64 %11, i64 %1) %15 = icmp sgt i32 %6, %10 %16 = icmp sgt i32 %6, %8 %or.cond = icmp eq i1 %16, %15 store i64 188, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_4, label LBL_2 LBL_2: %17 = icmp sgt i32 %8, %6 %18 = icmp sgt i32 %8, %10 %or.cond2 = icmp eq i1 %17, %18 store i64 192, i64* %rax.0.reg2mem br i1 %or.cond2, label LBL_4, label LBL_3 LBL_3: %19 = icmp slt i32 %6, %10 %20 = icmp slt i32 %8, %10 %or.cond3 = icmp eq i1 %19, %20 %spec.select = select i1 %or.cond3, i64 204, i64 4294967295 ret i64 %spec.select LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %10, { 0, 2, 1, 3 } uselistorder i32 %8, { 0, 1, 3, 2 } uselistorder i32 %6, { 1, 2, 0, 3 } uselistorder i64 %4, { 0, 2, 1 } uselistorder i32 %2, { 2, 1, 0, 3 } uselistorder i64 (i64, i32, i64, i64, i64)* @analyze, { 2, 1, 0 } }
0
BinRealVul
rxrpc_destroy_s_7312
rxrpc_destroy_s
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp eq i64 %3, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = inttoptr i64 %3 to i64* %6 = load i64, i64* %5, align 8 %7 = icmp eq i64 %6, 0 %spec.select = select i1 %7, i64 0, i64 %0 ret i64 %spec.select LBL_2: ret i64 0 }
0
BinRealVul
_destroy_nodename_18466
_destroy_nodename
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1) %1 = add i64 %arg1, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = call i64 @FUNC(i64 %3) %5 = add i64 %arg1, 16 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 %7) %9 = add i64 %arg1, 24 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = call i64 @FUNC(i64 %11) %13 = add i64 %arg1, 32 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = call i64 @FUNC(i64 %15) %17 = add i64 %arg1, 40 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = call i64 @FUNC(i64 %19) %21 = add i64 %arg1, 48 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = call i64 @FUNC(i64 %23) %25 = add i64 %arg1, 56 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = call i64 @FUNC(i64 %27) %29 = call i64 @FUNC(i64 %arg1) ret i64 %29 uselistorder i64 (i64)* @xfree, { 8, 7, 6, 5, 4, 3, 2, 1, 0 } }
1