dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
BinRealVul
_prolog_error_11149
_prolog_error
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %r8.0.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %.pre-phi4.reg2mem = alloca i8* %.pre-phi3.reg2mem = alloca i8* %.pre-phi.reg2mem = alloca i8* %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 i64, align 8 %3 = icmp eq i64* %arg1, null %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = add i64 %2, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = icmp eq i64 %7, 0 br i1 %8, label LBL_8, label LBL_3 LBL_2: %9 = bitcast i64* %sv_2 to i8* %10 = bitcast i64* %arg1 to i8* %11 = call i8* @strncpy(i8* nonnull %9, i8* %10, i32 256) store i8* %9, i8** %.pre-phi.reg2mem br label LBL_4 LBL_3: %12 = bitcast i64* %sv_2 to i8* %13 = inttoptr i64 %7 to i8* %14 = call i8* @strncpy(i8* nonnull %12, i8* %13, i32 256) store i8* %12, i8** %.pre-phi.reg2mem br label LBL_4 LBL_4: %.pre-phi.reload = load i8*, i8** %.pre-phi.reg2mem %15 = call i8* @strchr(i8* nonnull %.pre-phi.reload, i32 37) %16 = icmp eq i8* %15, null store i8* %.pre-phi.reload, i8** %.pre-phi3.reg2mem br i1 %16, label LBL_9, label LBL_5 LBL_5: %17 = ptrtoint i8* %15 to i64 %18 = add i64 %17, 1 %19 = inttoptr i64 %18 to i8* %20 = load i8, i8* %19, align 1 %21 = icmp eq i8 %20, 106 %22 = icmp eq i1 %21, false store i8* %.pre-phi.reload, i8** %.pre-phi3.reg2mem br i1 %22, label LBL_9, label LBL_6 LBL_6: %23 = call i8* @strchr(i8* %19, i32 37) %24 = icmp eq i8* %23, null %25 = icmp eq i1 %24, false store i8* %.pre-phi.reload, i8** %.pre-phi3.reg2mem br i1 %25, label LBL_9, label LBL_7 LBL_7: store i8 117, i8* %19, align 1 %26 = bitcast i64* %sv_1 to i8* %27 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %26, i32 256, i8* nonnull %.pre-phi.reload) %28 = call i8* @strncpy(i8* nonnull %.pre-phi.reload, i8* nonnull %26, i32 256) store i8* %.pre-phi.reload, i8** %.pre-phi3.reg2mem br label LBL_9 LBL_8: %29 = add i64 %2, 24 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = bitcast i64* %sv_2 to i8* %33 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %32, i32 256, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i32 %31) store i8* %32, i8** %.pre-phi3.reg2mem br label LBL_9 LBL_9: %.pre-phi3.reload = load i8*, i8** %.pre-phi3.reg2mem %34 = load i8, i8* %.pre-phi3.reload, align 8 %35 = icmp eq i8 %34, 47 %36 = icmp eq i1 %35, false br i1 %36, label LBL_11, label LBL_10 LBL_10: %37 = ptrtoint i64* %sv_2 to i64 %38 = bitcast i64* %sv_0 to i8* %39 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %38, i32 4096, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_2) store i8* %38, i8** %.pre-phi4.reg2mem store i64 %37, i64* %rcx.0.reg2mem br label LBL_14 LBL_11: %40 = add i64 %2, 16 %41 = inttoptr i64 %40 to i64* %42 = load i64, i64* %41, align 8 %43 = icmp eq i64 %42, 0 %44 = ptrtoint i64* %sv_2 to i64 %45 = bitcast i64* %sv_0 to i8* br i1 %43, label LBL_13, label LBL_12 LBL_12: %46 = inttoptr i64 %42 to i8* %47 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %45, i32 4096, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i8* %46, i64* nonnull %sv_2) store i8* %45, i8** %.pre-phi4.reg2mem store i64 %42, i64* %rcx.0.reg2mem store i64 %44, i64* %r8.0.reg2mem br label LBL_14 LBL_13: %48 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %45, i32 4096, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0), i64* nonnull %sv_2) store i8* %45, i8** %.pre-phi4.reg2mem store i64 %44, i64* %rcx.0.reg2mem br label LBL_14 LBL_14: %.pre-phi4.reload = load i8*, i8** %.pre-phi4.reg2mem %49 = call i32 (i8*, i32, ...) @open(i8* nonnull %.pre-phi4.reload, i32 1089) %50 = icmp eq i32 %49, -1 %51 = icmp eq i1 %50, false br i1 %51, label LBL_16, label LBL_15 LBL_15: %r8.0.reload = load i64, i64* %r8.0.reg2mem %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %52 = call i32* @__errno_location() %53 = load i32, i32* %52, align 4 %54 = zext i32 %53 to i64 %55 = call i64 @FUNC(i64 %54) %56 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_4, i64 0, i64 0), i64* nonnull %sv_0, i64 %55, i64 %rcx.0.reload, i64 %r8.0.reload, i64 %1) store i64 %56, i64* %storemerge.reg2mem br label LBL_19 LBL_16: %57 = udiv i64 %arg2, 256 %58 = urem i64 %57, 256 %59 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %.pre-phi3.reload, i32 256, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_5, i64 0, i64 0), i64 %58) %60 = call i32 @strlen(i8* nonnull %.pre-phi3.reload) %61 = sext i32 %60 to i64 %62 = zext i32 %49 to i64 %63 = call i64 @FUNC(i64 %62, i64* nonnull %sv_2, i64 %61) %64 = add i64 %2, 32 %65 = inttoptr i64 %64 to i32* %66 = load i32, i32* %65, align 4 %67 = add i64 %2, 28 %68 = inttoptr i64 %67 to i32* %69 = load i32, i32* %68, align 4 %70 = call i32 @fchown(i32 %49, i32 %69, i32 %66) %71 = icmp eq i32 %70, -1 %72 = icmp eq i1 %71, false br i1 %72, label LBL_18, label LBL_17 LBL_17: %73 = load i32, i32* %65, align 4 %74 = load i32, i32* %68, align 4 %75 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %.pre-phi3.reload, i32 256, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_6, i64 0, i64 0), i32 %74, i32 %73, i64 %1) br label LBL_18 LBL_18: %76 = call i32 @close(i32 %49) %77 = sext i32 %76 to i64 store i64 %77, i64* %storemerge.reg2mem br label LBL_19 LBL_19: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i8* %45, { 1, 3, 0, 2 } uselistorder i64 %44, { 1, 0 } uselistorder i8* %15, { 1, 0 } uselistorder i8* %.pre-phi.reload, { 0, 4, 5, 1, 2, 3, 6 } uselistorder i64* %sv_2, { 5, 0, 2, 1, 3, 4, 6, 7, 8 } uselistorder i64 %2, { 3, 2, 4, 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i8** %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i8** %.pre-phi4.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %rcx.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 256, { 1, 0 } uselistorder i32 (i8*, i32, i8*, ...)* @snprintf, { 4, 5, 3, 6, 2, 1, 0 } uselistorder i8* (i8*, i32)* @strchr, { 1, 0 } uselistorder i8* (i8*, i8*, i32)* @strncpy, { 2, 1, 0 } uselistorder i32 256, { 2, 3, 0, 4, 5, 1, 6 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_9, { 4, 3, 2, 1, 0 } }
1
BinRealVul
cirrus_bitblt_cputovideo_975
cirrus_bitblt_cputovideo
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %.pre-phi3.reg2mem = alloca i32* %.pre-phi1.reg2mem = alloca i32* %.reg2mem6 = alloca i32 %.pre-phi5.reg2mem = alloca i32* %.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2, i64 1) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 store i64 0, i64* %storemerge.reg2mem br i1 %5, label LBL_1, label LBL_15 LBL_1: %6 = trunc i64 %1 to i32 %7 = bitcast i64* %rdi to i32* %8 = and i32 %6, -2 %9 = bitcast i64* %arg1 to i32* store i32 %8, i32* %9, align 4 %10 = add i64 %2, 28 %11 = add i64 %2, 1056 %12 = inttoptr i64 %11 to i64* store i64 %10, i64* %12, align 8 %13 = add i64 %2, 1064 %14 = inttoptr i64 %13 to i64* store i64 %10, i64* %14, align 8 %15 = load i32, i32* %7, align 8 %16 = and i32 %15, 2 %17 = icmp eq i32 %16, 0 %18 = and i32 %15, 4 %19 = icmp eq i32 %18, 0 br i1 %17, label LBL_6, label LBL_2 LBL_2: br i1 %19, label LBL_4, label LBL_3 LBL_3: %20 = add i64 %2, 20 %21 = inttoptr i64 %20 to i32* store i32 8, i32* %21, align 4 store i32 8, i32* %.reg2mem store i32* %21, i32** %.pre-phi5.reg2mem br label LBL_5 LBL_4: %22 = add i64 %2, 16 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = mul i32 %24, 64 %26 = add i64 %2, 20 %27 = inttoptr i64 %26 to i32* store i32 %25, i32* %27, align 4 store i32 %25, i32* %.reg2mem store i32* %27, i32** %.pre-phi5.reg2mem br label LBL_5 LBL_5: %.pre-phi5.reload = load i32*, i32** %.pre-phi5.reg2mem %.reload = load i32, i32* %.reg2mem %28 = add i64 %2, 24 %29 = inttoptr i64 %28 to i32* store i32 %.reload, i32* %29, align 4 store i32* %.pre-phi5.reload, i32** %.pre-phi3.reg2mem br label LBL_12 LBL_6: %30 = add i64 %2, 8 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 br i1 %19, label LBL_10, label LBL_7 LBL_7: %33 = add i64 %2, 16 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = ashr i32 %32, 31 %37 = zext i32 %32 to i64 %38 = zext i32 %36 to i64 %39 = mul i64 %38, 4294967296 %40 = or i64 %39, %37 %41 = zext i32 %35 to i64 %42 = sdiv i64 %40, %41 %43 = trunc i64 %42 to i32 %44 = add i64 %2, 4 %45 = inttoptr i64 %44 to i32* %46 = load i32, i32* %45, align 4 %47 = and i32 %46, 8 %48 = icmp eq i32 %47, 0 br i1 %48, label LBL_9, label LBL_8 LBL_8: %49 = add i32 %43, 31 %50 = ashr i32 %49, 5 %51 = add i64 %2, 20 %52 = inttoptr i64 %51 to i32* store i32 %50, i32* %52, align 4 store i32 %50, i32* %.reg2mem6 store i32* %52, i32** %.pre-phi1.reg2mem br label LBL_11 LBL_9: %53 = add i32 %43, 7 %54 = ashr i32 %53, 3 %55 = add i64 %2, 20 %56 = inttoptr i64 %55 to i32* store i32 %54, i32* %56, align 4 store i32 %54, i32* %.reg2mem6 store i32* %56, i32** %.pre-phi1.reg2mem br label LBL_11 LBL_10: %57 = add i32 %32, 3 %58 = and i32 %57, -4 %59 = add i64 %2, 20 %60 = inttoptr i64 %59 to i32* store i32 %58, i32* %60, align 4 store i32 %58, i32* %.reg2mem6 store i32* %60, i32** %.pre-phi1.reg2mem br label LBL_11 LBL_11: %.pre-phi1.reload = load i32*, i32** %.pre-phi1.reg2mem %.reload7 = load i32, i32* %.reg2mem6 %61 = add i64 %2, 12 %62 = inttoptr i64 %61 to i32* %63 = load i32, i32* %62, align 4 %64 = mul i32 %63, %.reload7 %65 = add i64 %2, 24 %66 = inttoptr i64 %65 to i32* store i32 %64, i32* %66, align 4 store i32* %.pre-phi1.reload, i32** %.pre-phi3.reg2mem br label LBL_12 LBL_12: %.pre-phi3.reload = load i32*, i32** %.pre-phi3.reg2mem %67 = load i32, i32* %.pre-phi3.reload, align 4 %68 = icmp slt i32 %67, 1025 br i1 %68, label LBL_14, label LBL_13 LBL_13: call void @__assert_fail(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_1, i64 0, i64 0), i32 56, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_2, i64 0, i64 0)) br label LBL_14 LBL_14: store i64 %10, i64* %12, align 8 %69 = load i32, i32* %.pre-phi3.reload, align 4 %70 = sext i32 %69 to i64 %71 = add i64 %10, %70 store i64 %71, i64* %14, align 8 %72 = call i64 @FUNC(i64 %2) store i64 1, i64* %storemerge.reg2mem br label LBL_15 LBL_15: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %32, { 2, 1, 0 } uselistorder i1 %19, { 1, 0 } uselistorder i64 %2, { 4, 6, 5, 8, 2, 3, 1, 9, 7, 0, 11, 12, 10, 13, 15, 14, 16 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i32** %.pre-phi5.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem6, { 0, 3, 2, 1 } uselistorder i32** %.pre-phi1.reg2mem, { 0, 3, 2, 1 } uselistorder i32** %.pre-phi3.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 8, { 1, 0, 2 } uselistorder label LBL_15, { 1, 0 } }
0
BinRealVul
expunge_all_9502
expunge_all
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge4.lcssa.reg2mem = alloca i64 %storemerge468.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null %2 = icmp eq i1 %1, false store i64 %0, i64* %storemerge4.lcssa.reg2mem br i1 %2, label LBL_1, label LBL_3 LBL_1: %3 = and i64 %arg2, 4294967295 %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i64* store i64 0, i64* %5, align 8 %6 = add i64 %0, 16 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %8) %10 = call i64 @FUNC() %11 = call i64 @FUNC(i64 %3) store i64 %11, i64* %5, align 8 store i64 %0, i64* %storemerge468.reg2mem br label LBL_2 LBL_2: %storemerge468.reload = load i64, i64* %storemerge468.reg2mem %12 = inttoptr i64 %storemerge468.reload to i64* %13 = load i64, i64* %12, align 8 %14 = add i64 %storemerge468.reload, 8 %15 = inttoptr i64 %14 to i64* store i64 0, i64* %15, align 8 %16 = add i64 %storemerge468.reload, 16 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = call i64 @FUNC(i64 %18) %20 = call i64 @FUNC() %21 = call i64 @FUNC(i64 %3) store i64 %21, i64* %15, align 8 %22 = icmp eq i64 %13, 0 store i64 %13, i64* %storemerge468.reg2mem store i64 0, i64* %storemerge4.lcssa.reg2mem br i1 %22, label LBL_3, label LBL_2 LBL_3: %storemerge4.lcssa.reload = load i64, i64* %storemerge4.lcssa.reg2mem ret i64 %storemerge4.lcssa.reload uselistorder i64 %storemerge468.reload, { 2, 1, 0 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %0, { 1, 2, 3, 0 } uselistorder i64* %storemerge468.reg2mem, { 1, 0, 2 } uselistorder i64 (i64)* @ERR_PTR, { 1, 0 } uselistorder i64 ()* @smp_wmb, { 1, 0 } uselistorder i64 (i64)* @wake_up_process, { 1, 0 } uselistorder i64 16, { 1, 0 } uselistorder i64 8, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
request_data_get_3710
request_data_get
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem14 = alloca i64* %.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false store i64 0, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_7 LBL_1: %2 = load i64, i64* %arg1, align 8 %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_2, label LBL_7 LBL_2: %5 = trunc i64 %arg3 to i32 store i64 %2, i64* %.reg2mem store i64* %arg1, i64** %.reg2mem14 br label LBL_3 LBL_3: %.reload = load i64, i64* %.reg2mem %6 = add i64 %.reload, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp eq i64 %8, %arg2 %10 = icmp eq i1 %9, false br i1 %10, label LBL_6, label LBL_4 LBL_4: %11 = add i64 %.reload, 16 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = icmp eq i32 %13, %5 %15 = icmp eq i1 %14, false br i1 %15, label LBL_6, label LBL_5 LBL_5: %.reload15 = load i64*, i64** %.reg2mem14 %16 = inttoptr i64 %.reload to i64* %17 = load i64, i64* %16, align 8 %18 = add i64 %.reload, 24 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 store i64 %20, i64* %.reload15, align 8 call void @free(i64* %16) store i64 %17, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %21 = add i64 %.reload, 24 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = icmp eq i64 %23, 0 %25 = icmp eq i1 %24, false store i64 %23, i64* %.reg2mem store i64* %22, i64** %.reg2mem14 store i64 0, i64* %rax.0.reg2mem br i1 %25, label LBL_3, label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %.reload, { 2, 3, 4, 0, 1 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i64** %.reg2mem14, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 2, 3 } uselistorder i1 false, { 3, 1, 2, 0, 4 } uselistorder label LBL_7, { 0, 3, 1, 2 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
iwgif_read_image_8536
iwgif_read_image
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i32, align 4 %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_20, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %0) %5 = trunc i64 %4 to i32 %6 = add i64 %0, 256 %7 = inttoptr i64 %6 to i32* store i32 %5, i32* %7, align 4 %8 = add i64 %0, 2 %9 = call i64 @FUNC(i64 %8) %10 = trunc i64 %9 to i32 %11 = add i64 %0, 260 %12 = inttoptr i64 %11 to i32* store i32 %10, i32* %12, align 4 %13 = add i64 %0, 4 %14 = call i64 @FUNC(i64 %13) %15 = trunc i64 %14 to i32 %16 = add i64 %0, 264 %17 = inttoptr i64 %16 to i32* store i32 %15, i32* %17, align 4 %18 = add i64 %0, 6 %19 = call i64 @FUNC(i64 %18) %20 = trunc i64 %19 to i32 %21 = add i64 %0, 268 %22 = inttoptr i64 %21 to i32* store i32 %20, i32* %22, align 4 %23 = load i32, i32* %17, align 4 %24 = icmp slt i32 %23, 1 br i1 %24, label LBL_3, label LBL_2 LBL_2: %25 = icmp eq i32 %20, 0 %26 = icmp slt i32 %20, 0 %27 = icmp eq i1 %26, false %28 = icmp eq i1 %25, false %29 = icmp eq i1 %27, %28 br i1 %29, label LBL_4, label LBL_3 LBL_3: %30 = add i64 %0, 568 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = call i64 @FUNC(i64 %32, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0)) store i64 0, i64* %sv_0.0.reg2mem br label LBL_20 LBL_4: %34 = add i64 %0, 8 %35 = inttoptr i64 %34 to i8* %36 = load i8, i8* %35, align 1 %37 = udiv i8 %36, 64 %38 = urem i8 %37, 2 %39 = zext i8 %38 to i32 %40 = add i64 %0, 272 %41 = inttoptr i64 %40 to i32* store i32 %39, i32* %41, align 4 %42 = load i8, i8* %35, align 1 %cond = icmp sgt i8 %42, -1 br i1 %cond, label LBL_6, label LBL_5 LBL_5: %43 = urem i8 %42, 8 %narrow = add nuw nsw i8 %43, 1 %44 = zext i8 %narrow to i32 %45 = shl i32 1, %44 %46 = add i64 %0, 304 %47 = inttoptr i64 %46 to i32* store i32 %45, i32* %47, align 4 %48 = call i64 @FUNC(i64 %0, i64 %46) %49 = trunc i64 %48 to i32 %50 = icmp eq i32 %49, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %50, label LBL_20, label LBL_6 LBL_6: %51 = add i64 %0, 276 %52 = inttoptr i64 %51 to i32* %53 = load i32, i32* %52, align 4 %54 = icmp eq i32 %53, 0 br i1 %54, label LBL_8, label LBL_7 LBL_7: %55 = add i64 %0, 280 %56 = inttoptr i64 %55 to i32* %57 = load i32, i32* %56, align 4 %58 = sext i32 %57 to i64 %59 = add i64 %0, 308 %60 = add i64 %59, %58 %61 = inttoptr i64 %60 to i8* store i8 0, i8* %61, align 1 br label LBL_8 LBL_8: %62 = call i64 @FUNC(i64 %0, i64 %0, i64 1) %63 = trunc i64 %62 to i32 %64 = icmp eq i32 %63, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %64, label LBL_20, label LBL_9 LBL_9: %65 = bitcast i64* %rdi to i8* %66 = load i8, i8* %65, align 8 %.off = add i8 %66, -2 %67 = icmp ult i8 %.off, 10 br i1 %67, label LBL_11, label LBL_10 LBL_10: %68 = add i64 %0, 568 %69 = inttoptr i64 %68 to i64* %70 = load i64, i64* %69, align 8 %71 = call i64 @FUNC(i64 %70, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_1, i64 0, i64 0)) store i64 0, i64* %sv_0.0.reg2mem br label LBL_20 LBL_11: %72 = call i64 @FUNC(i64 %0) %73 = trunc i64 %72 to i32 %74 = icmp eq i32 %73, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %74, label LBL_20, label LBL_12 LBL_12: %75 = load i32, i32* %17, align 4 %76 = load i32, i32* %22, align 4 %77 = sext i32 %75 to i64 %78 = sext i32 %76 to i64 %79 = mul nsw i64 %78, %77 %80 = add i64 %0, 288 %81 = inttoptr i64 %80 to i64* store i64 %79, i64* %81, align 8 %82 = call i64 @FUNC(i64 %0) %83 = trunc i64 %82 to i32 %84 = icmp eq i32 %83, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %84, label LBL_20, label LBL_13 LBL_13: %85 = zext i8 %66 to i64 %86 = bitcast i32* %sv_1 to i64* %87 = call i64 @FUNC(i64* nonnull %86, i64 %85) %88 = call i64 @FUNC(i64* nonnull %86) %89 = add i64 %0, 296 %90 = inttoptr i64 %89 to i64* br label LBL_14 LBL_14: %91 = call i64 @FUNC(i64 %0, i64 %0, i64 1) %92 = trunc i64 %91 to i32 %93 = icmp eq i32 %92, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %93, label LBL_20, label LBL_15 LBL_15: %94 = load i8, i8* %65, align 8 %95 = icmp eq i8 %94, 0 store i64 1, i64* %sv_0.0.reg2mem br i1 %95, label LBL_20, label LBL_16 LBL_16: %96 = zext i8 %94 to i64 %97 = call i64 @FUNC(i64 %0, i64 %0, i64 %96) %98 = trunc i64 %97 to i32 %99 = icmp eq i32 %98, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %99, label LBL_20, label LBL_17 LBL_17: %100 = call i64 @FUNC(i64 %0, i64* nonnull %86, i64 %0, i64 %96) %101 = trunc i64 %100 to i32 %102 = icmp eq i32 %101, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %102, label LBL_20, label LBL_18 LBL_18: %103 = load i32, i32* %sv_1, align 4 %104 = icmp eq i32 %103, 0 %105 = icmp eq i1 %104, false store i64 1, i64* %sv_0.0.reg2mem br i1 %105, label LBL_20, label LBL_19 LBL_19: %106 = load i64, i64* %90, align 8 %107 = load i64, i64* %81, align 8 %108 = icmp ult i64 %106, %107 %109 = icmp eq i1 %108, false store i64 1, i64* %sv_0.0.reg2mem br i1 %109, label LBL_20, label LBL_14 LBL_20: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem ret i64 %sv_0.0.reload uselistorder i8 %94, { 1, 0 } uselistorder i64 %0, { 3, 4, 5, 6, 7, 8, 2, 9, 10, 11, 12, 13, 14, 16, 17, 15, 1, 0, 20, 19, 18, 21, 22, 23, 24, 25, 26, 27, 28, 30, 29 } uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 4, 5, 1, 6, 9, 10, 8, 11, 7, 12, 13 } uselistorder i64 1, { 2, 1, 0, 8, 9, 3, 4, 5, 6, 10, 7 } uselistorder i64 (i64, i8*)* @iw_set_error, { 1, 0 } uselistorder i1 false, { 1, 2, 3, 0 } uselistorder i64 256, { 2, 1, 0 } uselistorder i64 (i64)* @iw_get_ui16le, { 3, 2, 1, 0 } uselistorder i64 (i64, i64, i64)* @iwgif_read, { 3, 2, 1, 0 } uselistorder label LBL_20, { 2, 1, 3, 4, 0, 5, 6, 7, 11, 8, 9, 12, 10 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
ipv6_dup_options_5327
ipv6_dup_options
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = and i64 %1, 4294967295 %4 = call i64 @FUNC(i64 %2, i64 %3, i64 0) %5 = icmp eq i64 %4, 0 br i1 %5, label LBL_10, label LBL_1 LBL_1: %6 = trunc i64 %1 to i32 %7 = ptrtoint i64* %arg2 to i64 %8 = sub i64 %4, %7 %9 = inttoptr i64 %4 to i64* %10 = call i64* @memcpy(i64* %9, i64* %arg2, i32 %6) %11 = add i64 %4, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = icmp eq i64 %13, 0 br i1 %14, label LBL_3, label LBL_2 LBL_2: %15 = add i64 %13, %8 store i64 %15, i64* %12, align 8 br label LBL_3 LBL_3: %16 = add i64 %4, 16 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = icmp eq i64 %18, 0 br i1 %19, label LBL_5, label LBL_4 LBL_4: %20 = add i64 %18, %8 store i64 %20, i64* %17, align 8 br label LBL_5 LBL_5: %21 = add i64 %4, 24 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = icmp eq i64 %23, 0 br i1 %24, label LBL_7, label LBL_6 LBL_6: %25 = add i64 %23, %8 store i64 %25, i64* %22, align 8 br label LBL_7 LBL_7: %26 = add i64 %4, 32 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = icmp eq i64 %28, 0 br i1 %29, label LBL_9, label LBL_8 LBL_8: %30 = add i64 %28, %8 store i64 %30, i64* %27, align 8 br label LBL_9 LBL_9: %31 = add i64 %4, 40 %32 = call i64 @FUNC(i64 %31, i64 1) br label LBL_10 LBL_10: ret i64 %4 uselistorder i64 %4, { 4, 0, 1, 2, 3, 6, 7, 5, 8 } }
0
BinRealVul
read_application_extension_10641
read_application_extension
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.02.reg2mem = alloca i32 %sv_0.0.ph.in3.reg2mem = alloca i8 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %2 = call i64 @FUNC(i64 %0) %3 = trunc i64 %2 to i8 %4 = urem i64 %2, 256 %5 = call i64 @FUNC(i64* nonnull %sv_1, i64 %4, i64 %0) %6 = icmp eq i8 %3, 11 %7 = icmp eq i1 %6, false br i1 %7, label LBL_9, label LBL_1 LBL_1: %8 = call i32 @memcmp(i64* nonnull %sv_1, i64* bitcast ([12 x i8]* @gv_0 to i64*), i32 11) %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = call i32 @memcmp(i64* nonnull %sv_1, i64* bitcast ([12 x i8]* @gv_1 to i64*), i32 11) %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_9, label LBL_3 LBL_3: %13 = call i64 @FUNC(i64 %0) %14 = trunc i64 %13 to i8 %15 = icmp eq i8 %14, 3 %16 = icmp eq i1 %15, false br i1 %16, label LBL_6, label LBL_4 LBL_4: %17 = call i64 @FUNC(i64 %0) %18 = call i64 @FUNC(i64 %0) %19 = trunc i64 %18 to i16 %20 = bitcast i64* %arg1 to i16* store i16 %19, i16* %20, align 2 %21 = call i64 @FUNC(i64 %0) %22 = trunc i64 %21 to i8 %23 = icmp eq i8 %22, 0 store i64 1, i64* %storemerge.reg2mem br i1 %23, label LBL_10, label LBL_5 LBL_5: %24 = call i64 @FUNC(i64 %1, i64 1, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0)) store i8 %22, i8* %sv_0.0.ph.in3.reg2mem br label LBL_7 LBL_6: %25 = call i64 @FUNC(i64 %1, i64 1, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0)) %26 = icmp eq i8 %14, 0 %27 = icmp eq i1 %26, false store i8 %14, i8* %sv_0.0.ph.in3.reg2mem store i64 1, i64* %storemerge.reg2mem br i1 %27, label LBL_7, label LBL_10 LBL_7: %sv_0.0.ph.in3.reload = load i8, i8* %sv_0.0.ph.in3.reg2mem %sv_0.0.ph = sext i8 %sv_0.0.ph.in3.reload to i32 store i32 %sv_0.0.ph, i32* %sv_0.02.reg2mem br label LBL_8 LBL_8: %sv_0.02.reload = load i32, i32* %sv_0.02.reg2mem %28 = urem i32 %sv_0.02.reload, 256 %29 = zext i32 %28 to i64 %30 = call i64 @FUNC(i64* nonnull %sv_1, i64 %29, i64 %0) %31 = call i64 @FUNC(i64 %0) %32 = trunc i64 %31 to i32 %sext = mul i32 %32, 16777216 %33 = ashr exact i32 %sext, 24 %34 = trunc i32 %33 to i8 %35 = icmp eq i8 %34, 0 %36 = icmp eq i1 %35, false store i32 %33, i32* %sv_0.02.reg2mem store i64 1, i64* %storemerge.reg2mem br i1 %36, label LBL_8, label LBL_10 LBL_9: %37 = call i64 @FUNC(i64 %1, i64 %0, i64 255, i64* nonnull %sv_1, i64 %4) store i64 %37, i64* %storemerge.reg2mem br label LBL_10 LBL_10: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %1, { 2, 1, 0 } uselistorder i64 %0, { 6, 4, 3, 0, 2, 1, 5, 7, 8 } uselistorder i32* %sv_0.02.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 4, 1, 3, 2 } uselistorder i64 (i64, i64, i8*)* @gif_read_error, { 1, 0 } uselistorder i64 1, { 0, 2, 3, 4, 1 } uselistorder i8 0, { 2, 0, 3, 1 } uselistorder i32 (i64*, i64*, i32)* @memcmp, { 1, 0 } uselistorder i1 false, { 1, 0, 2, 3, 4 } uselistorder i64 (i64*, i64, i64)* @gifgetblock, { 1, 0 } uselistorder i64 (i64)* @gifgetbyte, { 4, 3, 2, 1, 0 } uselistorder label LBL_10, { 3, 0, 2, 1 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_7, { 1, 0 } }
0
BinRealVul
ehci_frame_timer_50
ehci_frame_timer
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.1.reg2mem = alloca i64 %.pn.reg2mem = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i32 %sv_0.1.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %.pre-phi5.reg2mem = alloca i32* %storemerge3.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 0) %2 = call i64 @FUNC(i64 %0) %3 = trunc i64 %2 to i8 %4 = icmp eq i8 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = add i64 %0, 40 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_14, label LBL_2 LBL_2: %10 = add i64 %0, 8 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 br i1 false, label LBL_3, label LBL_4 LBL_3: br label LBL_4 LBL_4: %13 = mul i32 %12, 8 %14 = icmp eq i32 %13, 0 br i1 %14, label LBL_4.LBL_15.loopexit_crit_edge, label LBL_6 LBL_5: %.pre6 = add i64 %0, 12 %.pre = inttoptr i64 %.pre6 to i32* store i32* %.pre, i32** %.pre-phi5.reg2mem store i32 1, i32* %sv_0.0.reg2mem br label LBL_15 LBL_6: %15 = add i64 %0, 20 %16 = inttoptr i64 %15 to i32* %17 = add i64 %0, 24 %18 = inttoptr i64 %17 to i32* %19 = add i64 %0, 12 %20 = inttoptr i64 %19 to i32* %21 = add i64 %0, 52 %22 = inttoptr i64 %21 to i32* %23 = add i64 %0, 1000 store i32 0, i32* %storemerge3.reg2mem br label LBL_7 LBL_7: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %24 = icmp slt i32 %storemerge3.reload, 1 br i1 %24, label LBL_9, label LBL_8 LBL_8: %25 = call i64 @FUNC(i64 %0) %26 = load i32, i32* %16, align 4 %27 = and i32 %26, 2 %28 = load i32, i32* %18, align 4 %29 = and i32 %27, %28 %30 = icmp eq i32 %29, 0 %31 = icmp eq i1 %30, false store i32* %20, i32** %.pre-phi5.reg2mem store i32 1, i32* %sv_0.0.reg2mem br i1 %31, label LBL_15, label LBL_9 LBL_9: %32 = load i32, i32* %20, align 4 %33 = icmp eq i32 %32, 0 br i1 %33, label LBL_11, label LBL_10 LBL_10: %34 = add i32 %32, -1 store i32 %34, i32* %20, align 4 br label LBL_11 LBL_11: %35 = call i64 @FUNC(i64 %0, i64 1) %36 = load i32, i32* %22, align 4 %37 = urem i32 %36, 8 %38 = icmp eq i32 %37, 0 %39 = icmp eq i1 %38, false br i1 %39, label LBL_13, label LBL_12 LBL_12: %40 = call i64 @FUNC(i64 %0) br label LBL_13 LBL_13: store i64 %23, i64* %arg1, align 8 %41 = add i32 %storemerge3.reload, 1 %42 = icmp ugt i32 %13, %41 store i32 %41, i32* %storemerge3.reg2mem store i32* %20, i32** %.pre-phi5.reg2mem store i32 1, i32* %sv_0.0.reg2mem br i1 %42, label LBL_7, label LBL_15 LBL_14: %43 = add i64 %0, 12 %44 = inttoptr i64 %43 to i32* store i32 0, i32* %44, align 4 %45 = call i64 @FUNC(i64 %0, i64 undef) store i64 %0, i64* %arg1, align 8 store i32* %44, i32** %.pre-phi5.reg2mem store i32 0, i32* %sv_0.0.reg2mem br label LBL_15 LBL_15: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %.pre-phi5.reload = load i32*, i32** %.pre-phi5.reg2mem %46 = load i32, i32* %.pre-phi5.reload, align 4 %47 = icmp eq i32 %46, 0 %48 = add i64 %0, 16 %49 = inttoptr i64 %48 to i32* br i1 %47, label LBL_17, label LBL_16 LBL_16: store i32 0, i32* %49, align 4 br label LBL_19 LBL_17: %50 = load i32, i32* %49, align 4 %51 = add i64 %0, 8 %52 = inttoptr i64 %51 to i32* %53 = load i32, i32* %52, align 4 %54 = icmp slt i32 %53, 0 %55 = zext i1 %54 to i32 %56 = add i32 %53, %55 %57 = ashr i32 %56, 1 %58 = icmp ult i32 %50, %57 br i1 %58, label LBL_18, label LBL_19 LBL_18: %59 = add i32 %50, 1 store i32 %59, i32* %49, align 4 br label LBL_19 LBL_19: %60 = call i64 @FUNC(i64 %0) %61 = trunc i64 %60 to i8 %62 = icmp eq i8 %61, 0 %63 = icmp eq i1 %62, false br i1 %63, label LBL_21, label LBL_20 LBL_20: %64 = add i64 %0, 44 %65 = inttoptr i64 %64 to i32* %66 = load i32, i32* %65, align 4 %67 = icmp eq i32 %66, 0 store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br i1 %67, label LBL_22, label LBL_21 LBL_21: %68 = add nuw nsw i32 %sv_0.0.reload, 1 %69 = call i64 @FUNC(i64 %0) store i32 %68, i32* %sv_0.1.reg2mem br label LBL_22 LBL_22: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %70 = call i64 @FUNC(i64 %0) %71 = add i64 %0, 28 %72 = inttoptr i64 %71 to i8* %73 = load i8, i8* %72, align 1 %74 = icmp eq i8 %73, 0 store i32 %sv_0.1.reload, i32* %sv_0.2.reg2mem br i1 %74, label LBL_24, label LBL_23 LBL_23: %75 = add nsw i32 %sv_0.1.reload, 1 store i32 0, i32* %49, align 4 store i32 %75, i32* %sv_0.2.reg2mem br label LBL_24 LBL_24: %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %76 = call i64 @FUNC(i64 %0) %77 = trunc i64 %76 to i8 %78 = icmp eq i8 %77, 0 store i64 %76, i64* %rax.0.reg2mem br i1 %78, label LBL_26, label LBL_25 LBL_25: %79 = add i64 %0, 24 %80 = inttoptr i64 %79 to i32* %81 = load i32, i32* %80, align 4 %82 = urem i32 %81, 2 %83 = icmp eq i32 %82, 0 store i64 0, i64* %rax.0.reg2mem br i1 %83, label LBL_26, label LBL_27 LBL_26: %rax.0.reload = load i64, i64* %rax.0.reg2mem %84 = icmp eq i32 %sv_0.2.reload, 0 store i64 %rax.0.reload, i64* %rax.1.reg2mem br i1 %84, label LBL_32, label LBL_27 LBL_27: %85 = add i64 %0, 48 %86 = inttoptr i64 %85 to i8* %87 = load i8, i8* %86, align 1 %88 = icmp eq i8 %87, 0 br i1 %88, label LBL_30, label LBL_28 LBL_28: %89 = add i64 %0, 20 %90 = inttoptr i64 %89 to i32* %91 = load i32, i32* %90, align 4 %92 = and i32 %91, 2 %93 = icmp eq i32 %92, 0 br i1 %93, label LBL_30, label LBL_29 LBL_29: store i8 0, i8* %86, align 1 store i64 250000, i64* %.pn.reg2mem br label LBL_31 LBL_30: %94 = load i32, i32* %49, align 4 %95 = mul i32 %94, 1000000 %96 = add i32 %95, 1000000 %97 = sext i32 %96 to i64 store i64 %97, i64* %.pn.reg2mem br label LBL_31 LBL_31: %.pn.reload = load i64, i64* %.pn.reg2mem %sv_1.0 = add i64 %.pn.reload, %1 %98 = add i64 %0, 32 %99 = inttoptr i64 %98 to i64* %100 = load i64, i64* %99, align 8 %101 = call i64 @FUNC(i64 %100, i64 %sv_1.0) store i64 %101, i64* %rax.1.reg2mem br label LBL_32 LBL_32: %rax.1.reload = load i64, i64* %rax.1.reg2mem ret i64 %rax.1.reload uselistorder i32 %sv_0.1.reload, { 1, 0 } uselistorder i32* %49, { 1, 0, 2, 4, 3 } uselistorder i32 %sv_0.0.reload, { 1, 0 } uselistorder i32* %20, { 0, 2, 3, 1 } uselistorder i32 %13, { 1, 0 } uselistorder i64 %0, { 8, 10, 9, 7, 11, 12, 13, 14, 6, 15, 16, 17, 0, 3, 5, 22, 23, 20, 2, 21, 24, 19, 18, 1, 25, 4, 26 } uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 } uselistorder i32** %.pre-phi5.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i32* %sv_0.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1 } uselistorder i64* %.pn.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64)* @ehci_update_frindex, { 1, 0 } uselistorder i32 2, { 1, 0, 2 } uselistorder i64 (i64)* @ehci_commit_irq, { 1, 0 } uselistorder i64 12, { 1, 2, 0 } uselistorder i32 8, { 1, 0 } uselistorder i32 0, { 4, 5, 6, 7, 8, 3, 9, 10, 0, 11, 12, 13, 14, 1, 2, 15 } uselistorder i1 false, { 1, 2, 3, 0, 4 } uselistorder label LBL_27, { 1, 0 } uselistorder label LBL_19, { 1, 0, 2 } uselistorder label LBL_15, { 3, 0, 1, 2 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
sctp_write_space_10460
sctp_write_space
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %.lcssa.reg2mem = alloca i64 %storemerge3.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 %storemerge.in1 = inttoptr i64 %3 to i64* %storemerge2 = load i64, i64* %storemerge.in1, align 8 %4 = call i64 @FUNC(i64 %0) %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = icmp eq i64 %storemerge2, %6 %8 = icmp eq i1 %7, false store i64 %storemerge2, i64* %storemerge3.reg2mem store i64 %6, i64* %.lcssa.reg2mem br i1 %8, label LBL_1, label LBL_2 LBL_1: %storemerge3.reload = load i64, i64* %storemerge3.reg2mem %9 = call i64 @FUNC(i64 %storemerge3.reload) %storemerge.in = inttoptr i64 %storemerge3.reload to i64* %storemerge = load i64, i64* %storemerge.in, align 8 %10 = call i64 @FUNC(i64 %0) %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = icmp eq i64 %storemerge, %12 %14 = icmp eq i1 %13, false store i64 %storemerge, i64* %storemerge3.reg2mem store i64 %12, i64* %.lcssa.reg2mem br i1 %14, label LBL_1, label LBL_2 LBL_2: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem ret i64 %.lcssa.reload uselistorder i64 %storemerge3.reload, { 1, 0 } uselistorder i64 %0, { 1, 0, 2 } uselistorder i64* %storemerge3.reg2mem, { 2, 0, 1 } uselistorder i1 false, { 1, 0 } uselistorder i64 (i64)* @sctp_sk, { 2, 0, 1 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
jsR_hasproperty_12207
jsR_hasproperty
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %4 = trunc i64 %1 to i32 %5 = icmp eq i32 %4, 1 %6 = icmp eq i1 %5, false br i1 %6, label LBL_3, label LBL_1 LBL_1: %7 = inttoptr i64 %arg3 to i8* %8 = call i32 @strcmp(i8* %7, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0)) %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_22, label LBL_2 LBL_2: %11 = add i64 %2, 8 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = zext i32 %13 to i64 %15 = call i64 @FUNC(i64 %3, i64 %14) store i64 1, i64* %rax.0.reg2mem br label LBL_26 LBL_3: %16 = icmp eq i32 %4, 2 %17 = icmp eq i1 %16, false br i1 %17, label LBL_9, label LBL_4 LBL_4: %18 = inttoptr i64 %arg3 to i8* %19 = call i32 @strcmp(i8* %18, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0)) %20 = icmp eq i32 %19, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_6, label LBL_5 LBL_5: %22 = add i64 %2, 8 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = zext i32 %24 to i64 %26 = call i64 @FUNC(i64 %3, i64 %25) store i64 1, i64* %rax.0.reg2mem br label LBL_26 LBL_6: %27 = bitcast i32* %sv_0 to i64* %28 = call i64 @FUNC(i64 %3, i64 %arg3, i64* nonnull %27) %29 = trunc i64 %28 to i32 %30 = icmp eq i32 %29, 0 %31 = load i32, i32* %sv_0, align 4 %32 = icmp slt i32 %31, 0 %or.cond = or i1 %30, %32 br i1 %or.cond, label LBL_22, label LBL_7 LBL_7: %33 = add i64 %2, 8 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = icmp ugt i32 %35, %31 br i1 %36, label LBL_8, label LBL_22 LBL_8: %37 = zext i32 %31 to i64 %38 = add i64 %2, 16 %39 = inttoptr i64 %38 to i64* %40 = load i64, i64* %39, align 8 %41 = call i64 @FUNC(i64 %3, i64 %40, i64 %37) %42 = and i64 %41, 4294967295 %43 = call i64 @FUNC(i64 %3, i64 %42) store i64 1, i64* %rax.0.reg2mem br label LBL_26 LBL_9: %44 = icmp eq i32 %4, 3 %45 = icmp eq i1 %44, false br i1 %45, label LBL_20, label LBL_10 LBL_10: %46 = inttoptr i64 %arg3 to i8* %47 = call i32 @strcmp(i8* %46, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0)) %48 = icmp eq i32 %47, 0 %49 = icmp eq i1 %48, false br i1 %49, label LBL_12, label LBL_11 LBL_11: %50 = add i64 %2, 8 %51 = inttoptr i64 %50 to i64* %52 = load i64, i64* %51, align 8 %53 = call i64 @FUNC(i64 %3, i64 %52) store i64 1, i64* %rax.0.reg2mem br label LBL_26 LBL_12: %54 = call i32 @strcmp(i8* %46, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0)) %55 = icmp eq i32 %54, 0 %56 = icmp eq i1 %55, false br i1 %56, label LBL_14, label LBL_13 LBL_13: %57 = add i64 %2, 16 %58 = inttoptr i64 %57 to i32* %59 = load i32, i32* %58, align 4 %60 = urem i32 %59, 2 %61 = zext i32 %60 to i64 %62 = call i64 @FUNC(i64 %3, i64 %61) store i64 1, i64* %rax.0.reg2mem br label LBL_26 LBL_14: %63 = call i32 @strcmp(i8* %46, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_3, i64 0, i64 0)) %64 = icmp eq i32 %63, 0 %65 = icmp eq i1 %64, false br i1 %65, label LBL_16, label LBL_15 LBL_15: %66 = add i64 %2, 16 %67 = inttoptr i64 %66 to i32* %68 = load i32, i32* %67, align 4 %69 = and i32 %68, 2 %70 = zext i32 %69 to i64 %71 = call i64 @FUNC(i64 %3, i64 %70) store i64 1, i64* %rax.0.reg2mem br label LBL_26 LBL_16: %72 = call i32 @strcmp(i8* %46, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_4, i64 0, i64 0)) %73 = icmp eq i32 %72, 0 %74 = icmp eq i1 %73, false br i1 %74, label LBL_18, label LBL_17 LBL_17: %75 = add i64 %2, 16 %76 = inttoptr i64 %75 to i32* %77 = load i32, i32* %76, align 4 %78 = and i32 %77, 4 %79 = zext i32 %78 to i64 %80 = call i64 @FUNC(i64 %3, i64 %79) store i64 1, i64* %rax.0.reg2mem br label LBL_26 LBL_18: %81 = call i32 @strcmp(i8* %46, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_5, i64 0, i64 0)) %82 = icmp eq i32 %81, 0 %83 = icmp eq i1 %82, false br i1 %83, label LBL_22, label LBL_19 LBL_19: %84 = add i64 %2, 20 %85 = inttoptr i64 %84 to i32* %86 = load i32, i32* %85, align 4 %87 = zext i32 %86 to i64 %88 = call i64 @FUNC(i64 %3, i64 %87) store i64 1, i64* %rax.0.reg2mem br label LBL_26 LBL_20: %89 = icmp eq i32 %4, 4 %90 = icmp eq i1 %89, false br i1 %90, label LBL_22, label LBL_21 LBL_21: %91 = add i64 %2, 16 %92 = inttoptr i64 %91 to i64* %93 = load i64, i64* %92, align 8 %94 = icmp eq i64 %93, 0 %95 = trunc i64 %3 to i32 %96 = icmp eq i32 %95, 0 %or.cond4 = or i1 %96, %94 store i64 1, i64* %rax.0.reg2mem br i1 %or.cond4, label LBL_22, label LBL_26 LBL_22: %97 = call i64 @FUNC(i64 %3, i64 %2, i64 %arg3) %98 = icmp eq i64 %97, 0 store i64 0, i64* %rax.0.reg2mem br i1 %98, label LBL_26, label LBL_23 LBL_23: %99 = inttoptr i64 %97 to i64* %100 = load i64, i64* %99, align 8 %101 = icmp eq i64 %100, 0 br i1 %101, label LBL_25, label LBL_24 LBL_24: %102 = call i64 @FUNC(i64 %3, i64 %100) %103 = call i64 @FUNC(i64 %3, i64 %2) %104 = call i64 @FUNC(i64 %3, i64 0) store i64 1, i64* %rax.0.reg2mem br label LBL_26 LBL_25: %105 = add i64 %97, 8 %106 = inttoptr i64 %105 to i64* %107 = load i64, i64* %106, align 8 %108 = call i64 @FUNC(i64 %3, i64 %107) store i64 1, i64* %rax.0.reg2mem br label LBL_26 LBL_26: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %4, { 3, 2, 1, 0 } uselistorder i64 %3, { 14, 13, 12, 11, 15, 0, 10, 9, 8, 7, 6, 4, 3, 5, 2, 1 } uselistorder i64 %2, { 10, 11, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 4, 12, 11, 10, 9, 8, 7, 6, 5 } uselistorder i64 (i64, i64)* @js_pushobject, { 1, 0 } uselistorder i64 (i64, i64)* @js_pushboolean, { 2, 1, 0 } uselistorder i32 2, { 2, 0, 1 } uselistorder i64 1, { 1, 0, 2, 10, 9, 8, 7, 6, 5, 4, 3 } uselistorder i64 (i64, i64)* @js_pushnumber, { 2, 1, 0 } uselistorder i32 0, { 0, 2, 3, 4, 5, 6, 1, 7, 8, 9 } uselistorder i32 (i8*, i8*)* @strcmp, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %arg3, { 1, 4, 0, 3, 2 } uselistorder label LBL_26, { 2, 1, 0, 3, 4, 5, 6, 7, 8, 9, 10, 11 } uselistorder label LBL_22, { 1, 2, 3, 0, 4, 5 } }
1
BinRealVul
php_snmp_read_info_12552
php_snmp_read_info
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = call i64* @malloc(i32 16) %2 = ptrtoint i64* %1 to i64 store i64 %2, i64* %arg2, align 8 %3 = call i64 @FUNC(i64 %0) %4 = icmp eq i64* %arg2, null %5 = icmp eq i1 %4, false br i1 %5, label LBL_1, label LBL_2 LBL_1: %6 = call i64* @malloc(i32 16) %7 = ptrtoint i64* %6 to i64 %8 = bitcast i64* %6 to i32* store i32 1, i32* %8, align 4 %9 = call i32 @strlen(i8* inttoptr (i64 16 to i8*)) %10 = call i8* @strndup(i8* inttoptr (i64 16 to i8*), i32 %9) %11 = ptrtoint i8* %10 to i64 %12 = add i64 %7, 8 %13 = inttoptr i64 %12 to i64* store i64 %11, i64* %13, align 8 %14 = call i64* @malloc(i32 16) %15 = ptrtoint i64* %14 to i64 %16 = bitcast i64* %14 to i32* store i32 2, i32* %16, align 4 %17 = load i32, i32* inttoptr (i64 24 to i32*), align 8 %18 = sext i32 %17 to i64 %19 = add i64 %15, 8 %20 = inttoptr i64 %19 to i64* store i64 %18, i64* %20, align 8 %21 = call i64* @malloc(i32 16) %22 = ptrtoint i64* %21 to i64 %23 = bitcast i64* %21 to i32* store i32 2, i32* %23, align 4 %24 = load i32, i32* inttoptr (i64 28 to i32*), align 4 %25 = sext i32 %24 to i64 %26 = add i64 %22, 8 %27 = inttoptr i64 %26 to i64* store i64 %25, i64* %27, align 8 %28 = call i64* @malloc(i32 16) %29 = ptrtoint i64* %28 to i64 %30 = bitcast i64* %28 to i32* store i32 2, i32* %30, align 4 %31 = load i32, i32* inttoptr (i64 32 to i32*), align 32 %32 = sext i32 %31 to i64 %33 = add i64 %29, 8 %34 = inttoptr i64 %33 to i64* store i64 %32, i64* %34, align 8 br label LBL_2 LBL_2: ret i64 0 uselistorder i64* (i32)* @malloc, { 4, 2, 3, 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
vqf_probe_14890
vqf_probe
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 1313429332 store i64 0, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_3 LBL_1: %3 = add i64 %0, 4 %4 = inttoptr i64 %3 to i64* %5 = call i32 @memcmp(i64* %4, i64* bitcast ([9 x i8]* @gv_0 to i64*), i32 8) %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false store i64 100, i64* %rax.0.reg2mem br i1 %7, label LBL_2, label LBL_3 LBL_2: %8 = add i64 %0, 8 %9 = inttoptr i64 %8 to i64* %10 = call i32 @memcmp(i64* %9, i64* bitcast ([9 x i8]* @gv_1 to i64*), i32 8) %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false %. = select i1 %12, i64 0, i64 100 store i64 %., i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 100, { 1, 0 } }
1
BinRealVul
dst_release_3726
dst_release
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.1.reg2mem = alloca i64 %0 = icmp eq i64 %arg1, 0 br i1 %0, label LBL_6, label LBL_1 LBL_1: %1 = add i64 %arg1, 4 %2 = inttoptr i64 %1 to i16* %3 = load i16, i16* %2, align 2 %4 = call i64 @FUNC(i64 %arg1) %5 = trunc i64 %4 to i32 %6 = icmp sgt i32 %5, -1 br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = and i64 %4, 4294967295 %8 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0), i64 %arg1, i64 %7) store i64 %8, i64* %rax.1.reg2mem br label LBL_6 LBL_3: %9 = icmp eq i32 %5, 0 %10 = icmp eq i1 %9, false store i64 0, i64* %rax.1.reg2mem br i1 %10, label LBL_6, label LBL_4 LBL_4: %11 = urem i16 %3, 2 %12 = icmp eq i16 %11, 0 %13 = icmp eq i1 %12, false %14 = icmp eq i1 %13, false store i64 0, i64* %rax.1.reg2mem br i1 %14, label LBL_6, label LBL_5 LBL_5: %15 = add i64 %arg1, 8 %16 = call i64 @FUNC(i64 %15, i64 4198811) store i64 %16, 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 i32 %5, { 1, 0 } uselistorder i64* %rax.1.reg2mem, { 0, 2, 3, 4, 1 } uselistorder i64 %arg1, { 1, 0, 3, 2, 4 } uselistorder label LBL_6, { 1, 2, 3, 0, 4 } }
0
BinRealVul
atom_op_calltable_18281
atom_op_calltable
define i64 @FUNC(i64* %arg1, i32* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = add i32 %2, 1 store i32 %3, i32* %arg2, align 4 %4 = urem i64 %1, 256 %5 = mul i64 %4, 8 %6 = add i64 %5, ptrtoint (i64* @gv_0 to i64) %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = inttoptr i64 %8 to i8* %10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64 %4, i8* %9) %11 = mul i64 %4, 2 %12 = add i64 %11, add (i64 ptrtoint ([19 x i8]* @gv_1 to i64), i64 4) %13 = inttoptr i64 %12 to i16* %14 = load i16, i16* %13, align 2 %15 = icmp eq i16 %14, 0 store i64 0, i64* %rax.0.reg2mem br i1 %15, label LBL_2, label LBL_1 LBL_1: %16 = ptrtoint i64* %arg1 to i64 %17 = add i64 %16, 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = add i64 %16, 16 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = sext i32 %22 to i64 %24 = mul i64 %23, 4 %25 = add i64 %24, %19 %26 = call i64 @FUNC(i64 ptrtoint ([19 x i8]* @gv_1 to i64), i64 %4, i64 %25) store i64 %26, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %16, { 1, 0 } uselistorder i64 %4, { 2, 0, 3, 1 } uselistorder i64 %1, { 1, 0 } uselistorder i64 ptrtoint ([19 x i8]* @gv_1 to i64), { 1, 0 } uselistorder [19 x i8]* @gv_1, { 1, 0 } uselistorder i64 8, { 1, 0 } }
1
BinRealVul
ff_ivi_output_plane_16441
ff_ivi_output_plane
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %.lcssa.reg2mem = alloca i64 %sv_0.05.reg2mem = alloca i64 %sv_1.07.reg2mem = alloca i64 %storemerge9.reg2mem = alloca i32 %.reg2mem22 = alloca i32 %.reg2mem20 = alloca i32 %.reg2mem18 = alloca i32 %.reg2mem16 = alloca i32 %storemerge34.reg2mem = alloca i32 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 20 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = icmp eq i32 %3, 0 store i64 0, i64* %.lcssa.reg2mem br i1 %4, label LBL_6, label LBL_1 LBL_1: %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %sext = mul i64 %arg3, 4294967296 %8 = ptrtoint i64* %arg2 to i64 %9 = add i64 %0, 16 %10 = inttoptr i64 %9 to i32* %11 = zext i32 %7 to i64 %12 = mul i64 %11, 2 %13 = ashr exact i64 %sext, 32 %.pre = load i32, i32* %10, align 4 store i32 %3, i32* %.reg2mem20 store i32 %.pre, i32* %.reg2mem22 store i32 0, i32* %storemerge9.reg2mem store i64 %0, i64* %sv_1.07.reg2mem store i64 %8, i64* %sv_0.05.reg2mem br label LBL_5 LBL_2: %storemerge34.reload = load i32, i32* %storemerge34.reg2mem %.reload = load i64, i64* %.reg2mem %14 = mul i64 %.reload, 2 %15 = add i64 %14, %sv_1.07.reload %16 = inttoptr i64 %15 to i16* %17 = load i16, i16* %16, align 2 %18 = sext i16 %17 to i64 %19 = add nsw i64 %18, 128 %20 = add i64 %.reload, %sv_0.05.reload %21 = and i64 %19, 4294967295 %22 = call i64 @FUNC(i64 %21) %23 = trunc i64 %22 to i8 %24 = inttoptr i64 %20 to i8* store i8 %23, i8* %24, align 1 %25 = add i32 %storemerge34.reload, 1 %26 = load i32, i32* %10, align 4 %27 = zext i32 %26 to i64 %28 = sext i32 %25 to i64 %29 = icmp slt i64 %28, %27 store i64 %28, i64* %.reg2mem store i32 %25, i32* %storemerge34.reg2mem br i1 %29, label LBL_2, label LBL_3 LBL_3: %.pre11 = load i32, i32* %2, align 4 store i32 %.pre11, i32* %.reg2mem16 store i32 %26, i32* %.reg2mem18 br label LBL_4 LBL_4: %.reload19 = load i32, i32* %.reg2mem18 %.reload17 = load i32, i32* %.reg2mem16 %30 = add i64 %sv_1.07.reload, %12 %31 = add i64 %sv_0.05.reload, %13 %32 = add i32 %storemerge9.reload, 1 %33 = zext i32 %.reload17 to i64 %34 = sext i32 %32 to i64 %35 = icmp slt i64 %34, %33 store i32 %.reload17, i32* %.reg2mem20 store i32 %.reload19, i32* %.reg2mem22 store i32 %32, i32* %storemerge9.reg2mem store i64 %30, i64* %sv_1.07.reg2mem store i64 %31, i64* %sv_0.05.reg2mem store i64 %33, i64* %.lcssa.reg2mem br i1 %35, label LBL_5, label LBL_6 LBL_5: %sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem %sv_1.07.reload = load i64, i64* %sv_1.07.reg2mem %storemerge9.reload = load i32, i32* %storemerge9.reg2mem %.reload23 = load i32, i32* %.reg2mem22 %.reload21 = load i32, i32* %.reg2mem20 %36 = icmp eq i32 %.reload23, 0 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge34.reg2mem store i32 %.reload21, i32* %.reg2mem16 store i32 0, i32* %.reg2mem18 br i1 %36, label LBL_4, label LBL_2 LBL_6: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem ret i64 %.lcssa.reload uselistorder i32* %10, { 1, 0 } uselistorder i64 %0, { 0, 1, 3, 2 } uselistorder i64* %.reg2mem, { 1, 2, 0 } uselistorder i32* %storemerge34.reg2mem, { 1, 2, 0 } uselistorder i32* %.reg2mem16, { 2, 0, 1 } uselistorder i32* %.reg2mem18, { 2, 0, 1 } uselistorder i64 4294967295, { 1, 0, 2 } uselistorder i32 0, { 1, 2, 3, 0, 4, 5 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
qedi_get_boot_tgt_info_17461
qedi_get_boot_tgt_info
define i64 @FUNC(i32* %arg1, i64* %arg2, i8 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.in.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i32* %arg1 to i64 %4 = urem i64 %1, 2 %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false %7 = zext i8 %arg3 to i64 %8 = mul nuw nsw i64 %7, 276 %9 = add i64 %8, %3 %10 = add i64 %9, 4 %11 = bitcast i64* %arg2 to i8* %12 = inttoptr i64 %10 to i8* %13 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %11, i32 256, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8* %12) %14 = zext i1 %6 to i8 %15 = add i64 %2, 302 %16 = inttoptr i64 %15 to i8* store i8 %14, i8* %16, align 1 %17 = icmp eq i1 %6, false br i1 %17, label LBL_2, label LBL_1 LBL_1: %18 = add i64 %9, 260 %19 = add i64 %2, 256 %20 = inttoptr i64 %19 to i8* %21 = inttoptr i64 %18 to i64* %22 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %20, i32 46, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i64* %21) store i32 %22, i32* %storemerge.in.reg2mem br label LBL_3 LBL_2: %23 = add i64 %9, 276 %24 = add i64 %2, 256 %25 = inttoptr i64 %24 to i8* %26 = inttoptr i64 %23 to i64* %27 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %25, i32 16, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i64* %26) store i32 %27, i32* %storemerge.in.reg2mem br label LBL_3 LBL_3: %storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem %storemerge = sext i32 %storemerge.in.reload to i64 ret i64 %storemerge uselistorder i64 %2, { 1, 0, 2 } uselistorder i32* %storemerge.in.reg2mem, { 0, 2, 1 } }
1
BinRealVul
verify_level_key_17811
verify_level_key
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %4 = trunc i64 %arg3 to i32 %5 = call i64 @FUNC(i64 %2) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, %4 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = call i64 @FUNC(i64 1) %9 = and i64 %5, 4294967295 %10 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([67 x i8], [67 x i8]* @gv_0, i64 0, i64 0), i64 %2, i32 %4, i64 %9, i64 %1) store i64 4294967291, i64* %rax.0.reg2mem br label LBL_9 LBL_2: %11 = icmp eq i64* %arg4, null %12 = icmp eq i1 %11, false store i64 0, i64* %rax.0.reg2mem br i1 %12, label LBL_3, label LBL_9 LBL_3: %13 = icmp eq i32 %4, 0 br i1 %13, label LBL_5, label LBL_4 LBL_4: %14 = call i64 @FUNC(i64 %2, i64* nonnull %sv_0, i64 0) br label LBL_6 LBL_5: %15 = call i64 @FUNC(i64 %2, i64* nonnull %sv_0, i64 0) br label LBL_6 LBL_6: %16 = ptrtoint i64* %arg4 to i64 %17 = call i64 @FUNC(i64 %16, i64* nonnull %sv_0) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 br i1 %19, label LBL_8, label LBL_7 LBL_7: %20 = ptrtoint i64* %sv_0 to i64 %21 = call i64 @FUNC(i64 1) %22 = load i64, i64* %sv_0, align 8 %23 = add i64 %16, 16 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = add i64 %16, 8 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = zext i32 %28 to i64 %30 = trunc i64 %20 to i32 %31 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([97 x i8], [97 x i8]* @gv_1, i64 0, i64 0), i64 %22, i32 %30, i64 %29, i64 %25) br label LBL_8 LBL_8: %32 = and i64 %17, 4294967295 store i64 %32, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %16, { 1, 0, 2 } uselistorder i64* %sv_0, { 3, 4, 0, 1, 2 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 1, 2, 0, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 (i64, i8*, i64, i32, i64, i64)* @btrfs_err, { 1, 0 } uselistorder i64 (i64)* @WARN_ON, { 1, 0 } uselistorder i64* %arg4, { 1, 0 } uselistorder label LBL_9, { 1, 0, 2 } }
1
BinRealVul
remove_port_17285
remove_port
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = and i64 %arg2, 4294967295 %3 = udiv i64 %arg2, 8 %4 = and i64 %3, 536870908 %5 = add i64 %4, %0 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = urem i32 %1, 32 %9 = icmp eq i32 %8, 0 %10 = shl i32 -1, %8 %phitmp = add i32 %10, -1 %storemerge = select i1 %9, i32 -2, i32 %phitmp %11 = and i32 %7, %storemerge store i32 %11, i32* %6, align 4 %12 = call i64 @FUNC(i64 %0, i64 %2) %13 = icmp eq i64 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_1, i64 0, i64 0), i32 40, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %15 = inttoptr i64 %12 to i32* %16 = add i64 %12, 16 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = call i64 @FUNC(i64 %18) %20 = add i64 %12, 8 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = call i64 @FUNC(i64 %22, i64 %19) %24 = load i32, i32* %15, align 4 %25 = call i64 @FUNC(i64 %0, i32 %24, i64 1, i64 1) ret i64 %25 uselistorder i64 %0, { 1, 2, 0 } uselistorder i64 1, { 1, 0 } uselistorder i64 8, { 1, 0 } }
1
BinRealVul
sbappend_14452
sbappend
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %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 = load i64, i64* %0 %7 = ptrtoint i64* %arg1 to i64 %8 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0)) %9 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0), i64 %7, i64 %5, i64 %6, i64 %2, i64 %1) %10 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0), i64 %arg2, i64 %5, i64 %6, i64 %2, i64 %1) %11 = trunc i64 %4 to i32 %12 = and i64 %4, 4294967295 %13 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_3, i64 0, i64 0), i64 %12, i64 %5, i64 %6, i64 %2, i64 %1) %14 = icmp eq i32 %11, 0 %15 = icmp slt i32 %11, 0 %16 = icmp eq i1 %15, false %17 = icmp eq i1 %14, false %18 = icmp eq i1 %16, %17 br i1 %18, label LBL_2, label LBL_1 LBL_1: %19 = call i64 @FUNC(i64 %arg2) store i64 %19, i64* %rax.0.reg2mem br label LBL_11 LBL_2: %20 = add i64 %7, 4 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = icmp eq i32 %22, 0 br i1 %23, label LBL_4, label LBL_3 LBL_3: %24 = call i64 @FUNC(i64 %7, i64 %arg2) %25 = call i64 @FUNC(i64 %arg2) %26 = call i64 @FUNC(i64 %7) store i64 %26, i64* %rax.0.reg2mem br label LBL_11 LBL_4: %27 = trunc i64 %3 to i32 %28 = icmp eq i32 %27, 0 %29 = icmp eq i1 %28, false store i32 0, i32* %sv_0.0.reg2mem br i1 %29, label LBL_6, label LBL_5 LBL_5: %30 = add i64 %arg2, 8 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = call i64 @FUNC(i64 %7, i64 %32, i32 %11, i64 0) %34 = trunc i64 %33 to i32 store i32 %34, i32* %sv_0.0.reg2mem br label LBL_6 LBL_6: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %35 = icmp eq i32 %sv_0.0.reload, 0 %36 = icmp slt i32 %sv_0.0.reload, 0 %37 = icmp eq i1 %36, false %38 = icmp eq i1 %35, false %39 = icmp eq i1 %37, %38 br i1 %39, label LBL_8, label LBL_7 LBL_7: %40 = call i64 @FUNC(i64 %7, i64 %arg2) br label LBL_10 LBL_8: %41 = icmp eq i32 %sv_0.0.reload, %11 br i1 %41, label LBL_10, label LBL_9 LBL_9: %42 = sub i32 %11, %sv_0.0.reload %43 = inttoptr i64 %arg2 to i32* store i32 %42, i32* %43, align 4 %44 = add i64 %arg2, 8 %45 = inttoptr i64 %44 to i64* %46 = load i64, i64* %45, align 8 %47 = sext i32 %sv_0.0.reload to i64 %48 = add i64 %46, %47 store i64 %48, i64* %45, align 8 %49 = call i64 @FUNC(i64 %7, i64 %arg2) br label LBL_10 LBL_10: %50 = call i64 @FUNC(i64 %arg2) store i64 %50, 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, { 3, 0, 4, 1, 2 } uselistorder i32 %11, { 1, 0, 2, 4, 3 } uselistorder i64 %7, { 1, 0, 3, 4, 5, 2, 6 } uselistorder i64 %6, { 2, 0, 1 } uselistorder i64 %5, { 2, 0, 1 } uselistorder i64 %4, { 1, 0 } uselistorder i64 %2, { 2, 0, 1 } uselistorder i64 %1, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @sbappendsb, { 2, 1, 0 } uselistorder i64 (i64)* @m_free, { 2, 1, 0 } uselistorder i1 false, { 2, 0, 3, 4, 1 } uselistorder i32 0, { 1, 2, 0, 3, 4, 5, 6 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @DEBUG_ARG, { 2, 1, 0 } uselistorder i64 %arg2, { 8, 5, 6, 7, 4, 3, 2, 1, 0, 9 } }
1
BinRealVul
block_save_complete_16664
block_save_complete
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rdx.0.reg2mem = alloca i32 %rcx.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %5 = load i32, i32* inttoptr (i64 4210740 to i32*), align 4 %6 = load i32, i32* @gv_0, align 4 %7 = zext i32 %6 to i64 %8 = call i64 @FUNC(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_1, i64 0, i64 0), i64 %7, i32 %5, i64 %3, i64 %2, i64 %1) %9 = call i64 @FUNC(i64 %4) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_2, label LBL_1 LBL_1: %12 = and i64 %9, 4294967295 store i64 %12, i64* %rax.0.reg2mem br label LBL_9 LBL_2: %13 = call i64 @FUNC() %14 = call i64 @FUNC() %15 = load i32, i32* @gv_0, align 4 %16 = icmp eq i32 %15, 0 store i32 %5, i32* %rdx.0.reg2mem br i1 %16, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_3, i64 0, i64 0), i32 62, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_4, i64 0, i64 0)) store i64 ptrtoint ([20 x i8]* @gv_4 to i64), i64* %rcx.0.reg2mem store i32 62, i32* %rdx.0.reg2mem br label LBL_4 LBL_4: %rdx.0.reload = load i32, i32* %rdx.0.reg2mem %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %17 = call i64 @FUNC() br label LBL_5 LBL_5: %18 = call i64 @FUNC(i64 %4, i64 0) %19 = trunc i64 %18 to i32 %20 = icmp slt i32 %19, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_7, label LBL_6 LBL_6: %22 = and i64 %18, 4294967295 store i64 %22, i64* %rax.0.reg2mem br label LBL_9 LBL_7: %23 = icmp eq i32 %19, 0 br i1 %23, label LBL_5, label LBL_8 LBL_8: %24 = call i64 @FUNC(i64 %4, i64 51201) %25 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_5, i64 0, i64 0), i64 51201, i32 %rdx.0.reload, i64 %rcx.0.reload, i64 %2, i64 %1) %26 = call i64 @FUNC(i64 %4, i64 2) %27 = call i64 @FUNC() store i64 0, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64, i64)* @qemu_put_be64, { 1, 0 } uselistorder i64 51201, { 1, 0 } uselistorder [20 x i8]* @gv_4, { 1, 0 } uselistorder i64 (i8*, i64, i32, i64, i64, i64)* @DPRINTF, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 4, 0 } uselistorder i32* @gv_0, { 1, 0 } }
1
BinRealVul
napi_frags_skb_12194
napi_frags_skb
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.0.in.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 store i64 0, i64* %arg1, align 8 %5 = call i64 @FUNC(i64 %4) %6 = call i64 @FUNC(i64 %4) %7 = call i64 @FUNC(i64 %4, i64 0) %8 = call i64 @FUNC(i64 %4, i64 2) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false %12 = icmp eq i1 %11, false br i1 %12, label LBL_3, label LBL_1 LBL_1: %13 = call i64 @FUNC(i64 %4, i64 2, i64 0) %14 = icmp eq i64 %13, 0 %15 = icmp eq i1 %14, false store i64 %13, i64* %sv_0.0.in.reg2mem br i1 %15, label LBL_4, label LBL_2 LBL_2: %16 = add i64 %4, 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i64 %20, i64 2, i64 %2, i64 %1) %22 = call i64 @FUNC(i64 %4, i64 %4) store i64 0, i64* %storemerge.reg2mem br label LBL_5 LBL_3: %23 = trunc i64 %3 to i32 %24 = call i64 @FUNC(i64 %4, i64 2) %25 = add i32 %23, 2 %26 = bitcast i64* %arg1 to i32* store i32 %25, i32* %26, align 4 %27 = add i64 %4, 4 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = add i32 %29, -2 store i32 %30, i32* %28, align 4 store i64 %7, i64* %sv_0.0.in.reg2mem br label LBL_4 LBL_4: %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem %sv_0.0 = inttoptr i64 %sv_0.0.in.reload to i16* %31 = call i64 @FUNC(i64 %4, i64 2) %32 = load i16, i16* %sv_0.0, align 2 %33 = add i64 %4, 12 %34 = inttoptr i64 %33 to i16* store i16 %32, i16* %34, align 2 store i64 %4, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %4, { 0, 6, 5, 7, 8, 2, 1, 3, 4, 9, 10, 11, 12 } uselistorder i64* %sv_0.0.in.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 2, { 1, 0, 3, 2, 4 } }
1
BinRealVul
chk_malloc_9325
chk_malloc
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = icmp ugt i64 %arg1, -11 %1 = icmp eq i1 %0, false store i64 0, i64* %storemerge.reg2mem br i1 %1, label LBL_1, label LBL_3 LBL_1: %2 = add i64 %arg1, 10 %3 = call i64 @FUNC(i64 %2) %4 = icmp eq i64 %3, 0 store i64 0, i64* %storemerge.reg2mem br i1 %4, label LBL_3, label LBL_2 LBL_2: %5 = inttoptr i64 %3 to i64* %6 = trunc i64 %arg1 to i32 %7 = add i32 %6, 10 %8 = call i64* @memset(i64* %5, i32 170, i32 %7) %9 = call i64 @FUNC(i64 %3) %10 = add i64 %3, -8 %11 = add i64 %10, %9 %12 = inttoptr i64 %11 to i64* store i64 %arg1, i64* %12, align 8 %13 = add i64 %3, 8 store i64 %13, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %3, { 1, 0, 3, 2, 4 } uselistorder i64 %arg1, { 0, 1, 3, 2 } uselistorder label LBL_3, { 1, 0, 2 } }
0
BinRealVul
set_year_20xx_849
set_year_20xx
define i64 @FUNC() local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 11) %1 = and i64 %0, 251 %2 = call i64 @FUNC(i64 11, i64 %1) %3 = call i64 @FUNC(i64 10, i64 118) %4 = call i64 @FUNC(i64 0, i64 17) %5 = call i64 @FUNC(i64 50, i64 32) %6 = call i64 @FUNC(i64 5, i64 2) %7 = call i64 @FUNC(i64 7, i64 2) %8 = call i64 @FUNC(i64 2, i64 2) %9 = call i64 @FUNC(i64 1, i64 4) %10 = call i64 @FUNC(i64 0, i64 88) %11 = call i64 @FUNC(i64 10, i64 38) %12 = call i64 @FUNC(i64 2) %13 = trunc i64 %12 to i8 %14 = icmp eq i8 %13, 2 br i1 %14, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 39, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %15 = call i64 @FUNC(i64 1) %16 = trunc i64 %15 to i8 %17 = icmp eq i8 %16, 4 br i1 %17, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 40, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) br label LBL_4 LBL_4: %18 = call i64 @FUNC(i64 0) %19 = trunc i64 %18 to i8 %20 = icmp ult i8 %19, 88 br i1 %20, label LBL_5, label LBL_6 LBL_5: call void @__assert_fail(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 41, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) br label LBL_6 LBL_6: %21 = call i64 @FUNC(i64 7) %22 = trunc i64 %21 to i8 %23 = icmp eq i8 %22, 2 br i1 %23, label LBL_8, label LBL_7 LBL_7: call void @__assert_fail(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 42, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) br label LBL_8 LBL_8: %24 = call i64 @FUNC(i64 5) %25 = trunc i64 %24 to i8 %26 = icmp eq i8 %25, 2 br i1 %26, label LBL_10, label LBL_9 LBL_9: call void @__assert_fail(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 43, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) br label LBL_10 LBL_10: %27 = call i64 @FUNC(i64 0) %28 = trunc i64 %27 to i8 %29 = icmp eq i8 %28, 17 br i1 %29, label LBL_12, label LBL_11 LBL_11: call void @__assert_fail(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_7, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 44, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) br label LBL_12 LBL_12: %30 = call i64 @FUNC(i64 50) %31 = trunc i64 %30 to i8 %32 = icmp eq i8 %31, 32 br i1 %32, label LBL_14, label LBL_13 LBL_13: call void @__assert_fail(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_8, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 45, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) br label LBL_14 LBL_14: %33 = call i64 @FUNC(i64 10, i64 118) %34 = call i64 @FUNC(i64 0, i64 128) %35 = call i64 @FUNC(i64 10, i64 38) %36 = call i64 @FUNC(i64 2) %37 = trunc i64 %36 to i8 %38 = icmp eq i8 %37, 2 br i1 %38, label LBL_16, label LBL_15 LBL_15: call void @__assert_fail(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 51, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) br label LBL_16 LBL_16: %39 = call i64 @FUNC(i64 1) %40 = trunc i64 %39 to i8 %41 = icmp eq i8 %40, 4 br i1 %41, label LBL_18, label LBL_17 LBL_17: call void @__assert_fail(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 52, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) br label LBL_18 LBL_18: %42 = call i64 @FUNC(i64 0) %43 = trunc i64 %42 to i8 %44 = icmp ult i8 %43, 88 br i1 %44, label LBL_19, label LBL_20 LBL_19: call void @__assert_fail(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 53, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) br label LBL_20 LBL_20: %45 = call i64 @FUNC(i64 7) %46 = trunc i64 %45 to i8 %47 = icmp eq i8 %46, 2 br i1 %47, label LBL_22, label LBL_21 LBL_21: call void @__assert_fail(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 54, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) br label LBL_22 LBL_22: %48 = call i64 @FUNC(i64 5) %49 = trunc i64 %48 to i8 %50 = icmp eq i8 %49, 2 br i1 %50, label LBL_24, label LBL_23 LBL_23: call void @__assert_fail(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 55, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) br label LBL_24 LBL_24: %51 = call i64 @FUNC(i64 0) %52 = trunc i64 %51 to i8 %53 = icmp eq i8 %52, -128 br i1 %53, label LBL_26, label LBL_25 LBL_25: call void @__assert_fail(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_9, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 56, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) br label LBL_26 LBL_26: %54 = call i64 @FUNC(i64 50) %55 = trunc i64 %54 to i8 %56 = icmp eq i8 %55, 32 br i1 %56, label LBL_28, label LBL_27 LBL_27: call void @__assert_fail(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_8, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 57, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) br label LBL_28 LBL_28: %57 = call i64 @FUNC(i64 10, i64 118) %58 = call i64 @FUNC(i64 0, i64 17) %59 = call i64 @FUNC(i64 10, i64 38) %60 = call i64 @FUNC(i64 2) %61 = trunc i64 %60 to i8 %62 = icmp eq i8 %61, 2 br i1 %62, label LBL_30, label LBL_29 LBL_29: call void @__assert_fail(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 61, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) br label LBL_30 LBL_30: %63 = call i64 @FUNC(i64 1) %64 = trunc i64 %63 to i8 %65 = icmp eq i8 %64, 4 br i1 %65, label LBL_32, label LBL_31 LBL_31: call void @__assert_fail(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 62, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) br label LBL_32 LBL_32: %66 = call i64 @FUNC(i64 0) %67 = trunc i64 %66 to i8 %68 = icmp ult i8 %67, 88 br i1 %68, label LBL_33, label LBL_34 LBL_33: call void @__assert_fail(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 63, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) br label LBL_34 LBL_34: %69 = call i64 @FUNC(i64 7) %70 = trunc i64 %69 to i8 %71 = icmp eq i8 %70, 2 br i1 %71, label LBL_36, label LBL_35 LBL_35: call void @__assert_fail(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) br label LBL_36 LBL_36: %72 = call i64 @FUNC(i64 5) %73 = trunc i64 %72 to i8 %74 = icmp eq i8 %73, 2 br i1 %74, label LBL_38, label LBL_37 LBL_37: call void @__assert_fail(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 65, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) br label LBL_38 LBL_38: %75 = call i64 @FUNC(i64 0) %76 = trunc i64 %75 to i8 %77 = icmp eq i8 %76, 17 br i1 %77, label LBL_40, label LBL_39 LBL_39: call void @__assert_fail(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_7, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 66, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) br label LBL_40 LBL_40: %78 = call i64 @FUNC(i64 50) %79 = trunc i64 %78 to i8 %80 = icmp eq i8 %79, 32 store i64 %78, i64* %rax.0.reg2mem br i1 %80, label LBL_42, label LBL_41 LBL_41: call void @__assert_fail(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_8, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 67, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem br label LBL_42 LBL_42: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 2, { 0, 1, 2, 4, 3, 5, 6 } uselistorder i64 (i64, i64)* @cmos_write, { 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64)* @cmos_read, { 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_34, { 1, 0 } uselistorder label LBL_20, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
read_index_list_18210
read_index_list
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.07.reg2mem = alloca i32 %storemerge48.reg2mem = alloca i64 %sv_1.0.lcssa.reg2mem = alloca i32 %sv_1.010.reg2mem = alloca i32 %storemerge511.reg2mem = alloca i64 %0 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i64* %arg1) %1 = call i64 @FUNC(i64* nonnull @gv_1) %storemerge59 = load i64, i64* inttoptr (i64 4210768 to i64*), align 16 %2 = icmp eq i64 %storemerge59, 4210768 %3 = icmp eq i1 %2, false store i64 %storemerge59, i64* %storemerge511.reg2mem store i32 0, i32* %sv_1.010.reg2mem store i32 0, i32* %sv_1.0.lcssa.reg2mem br i1 %3, label LBL_1, label LBL_2 LBL_1: %sv_1.010.reload = load i32, i32* %sv_1.010.reg2mem %storemerge511.reload = load i64, i64* %storemerge511.reg2mem %4 = mul i32 %sv_1.010.reload, 65536 %sext = add i32 %4, 65536 %5 = ashr exact i32 %sext, 16 %6 = inttoptr i64 %storemerge511.reload to i64* %storemerge5 = load i64, i64* %6, align 8 %7 = icmp eq i64 %storemerge5, 4210768 %8 = icmp eq i1 %7, false store i64 %storemerge5, i64* %storemerge511.reg2mem store i32 %5, i32* %sv_1.010.reg2mem store i32 %5, i32* %sv_1.0.lcssa.reg2mem br i1 %8, label LBL_1, label LBL_2 LBL_2: %sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem %9 = mul i32 %sv_1.0.lcssa.reload, 2 %10 = and i32 %9, 131070 %narrow = add nuw nsw i32 %10, 8 %11 = zext i32 %narrow to i64 %12 = call i64 @FUNC(i64 %11, i64 0) %13 = icmp eq i64 %12, 0 %14 = icmp eq i1 %13, false store i64 4294967284, i64* %storemerge.reg2mem br i1 %14, label LBL_3, label LBL_8 LBL_3: %15 = add nsw i32 %9, 4 %16 = call i64 @FUNC(i64 %12, i64 4) %17 = call i64 @FUNC(i64 1) %18 = trunc i64 %17 to i16 %19 = inttoptr i64 %16 to i16* store i16 %18, i16* %19, align 2 %20 = and i32 %15, 65534 %21 = zext i32 %20 to i64 %22 = call i64 @FUNC(i64 %21) %23 = trunc i64 %22 to i16 %24 = add i64 %16, 2 %25 = inttoptr i64 %24 to i16* store i16 %23, i16* %25, align 2 %26 = call i64 @FUNC(i64 %12, i64 2) %27 = call i64 @FUNC(i64 2, i64 %26) %narrow3 = add nuw nsw i32 %10, 2 %28 = zext i32 %narrow3 to i64 %29 = call i64 @FUNC(i64 %12, i64 %28) %30 = urem i32 %sv_1.0.lcssa.reload, 65536 %31 = zext i32 %30 to i64 %32 = call i64 @FUNC(i64 %31, i64 %29) %storemerge46 = load i64, i64* @gv_2, align 8 %33 = icmp eq i64 %storemerge46, ptrtoint (i64* @gv_2 to i64) %34 = icmp eq i1 %33, false br i1 %34, label LBL_4, label LBL_6 LBL_4: %35 = add i64 %29, 2 store i64 %storemerge46, i64* %storemerge48.reg2mem store i32 0, i32* %sv_0.07.reg2mem br label LBL_5 LBL_5: %sv_0.07.reload = load i32, i32* %sv_0.07.reg2mem %storemerge48.reload = load i64, i64* %storemerge48.reg2mem %36 = add i32 %sv_0.07.reload, 1 %37 = sext i32 %sv_0.07.reload to i64 %38 = mul i64 %37, 2 %39 = add i64 %35, %38 %40 = add i64 %storemerge48.reload, 16 %41 = inttoptr i64 %40 to i16* %42 = load i16, i16* %41, align 2 %43 = zext i16 %42 to i64 %44 = call i64 @FUNC(i64 %43, i64 %39) %45 = load i16, i16* %41, align 2 %46 = zext i16 %45 to i32 %47 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_3, i64 0, i64 0), i32 %46) %48 = inttoptr i64 %storemerge48.reload to i64* %storemerge4 = load i64, i64* %48, align 8 %49 = icmp eq i64 %storemerge4, ptrtoint (i64* @gv_2 to i64) %50 = icmp eq i1 %49, false store i64 %storemerge4, i64* %storemerge48.reg2mem store i32 %36, i32* %sv_0.07.reg2mem br i1 %50, label LBL_5, label LBL_6 LBL_6: %51 = ptrtoint i64* %arg1 to i64 %52 = call i64 @FUNC(i64* nonnull @gv_1) %53 = call i64 @FUNC(i64 %51, i64 %12) %54 = trunc i64 %53 to i32 %55 = icmp slt i32 %54, 0 %56 = icmp eq i1 %55, false store i64 0, i64* %storemerge.reg2mem br i1 %56, label LBL_8, label LBL_7 LBL_7: %57 = call i64 @FUNC(i64 %12) store i64 0, i64* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %sv_0.07.reload, { 1, 0 } uselistorder i32 %9, { 1, 0 } uselistorder i64* %storemerge511.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.010.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge48.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.07.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 } uselistorder i64 ptrtoint (i64* @gv_2 to i64), { 1, 0 } uselistorder i64* @gv_2, { 1, 0 } uselistorder i64 (i64, i64)* @put_unaligned_le16, { 2, 1, 0 } uselistorder i64 (i64)* @cpu_to_le16, { 1, 0 } uselistorder i64 (i64, i64)* @skb_put, { 2, 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder i32 65536, { 1, 2, 0 } uselistorder i32 0, { 3, 0, 1, 2 } uselistorder i1 false, { 2, 3, 1, 4, 5, 0, 6 } uselistorder i64 4210768, { 1, 0, 2 } uselistorder i32 (i8*, ...)* @printf, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_8, { 1, 0, 2 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
netlink_kernel_create_4338
netlink_kernel_create
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64* %arg5, i64* %arg6) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i32 %sv_1 = alloca i64, align 8 %0 = trunc i64 %arg2 to i32 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = icmp sgt i32 %0, -1 %3 = trunc i64 %1 to i32 %4 = icmp slt i32 %3, 10 %or.cond = icmp eq i1 %2, %4 store i64 0, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_1, label LBL_12 LBL_1: %5 = and i64 %1, 4294967295 %6 = call i64 @FUNC(i64 16, i64 2, i64 %5, i64* nonnull %sv_1) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_12 LBL_2: %9 = ptrtoint i64* %arg5 to i64 %10 = ptrtoint i64* %arg1 to i64 %11 = load i64, i64* %sv_1, align 8 %12 = call i64 @FUNC(i64 %10, i64 %11, i64 %9, i32 %3) %13 = trunc i64 %12 to i32 %14 = icmp slt i32 %13, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %14, label LBL_11, label LBL_3 LBL_3: %sext3 = mul i64 %arg3, 4294967296 %15 = ashr exact i64 %sext3, 32 %16 = trunc i64 %15 to i32 %17 = icmp ult i32 %16, 32 %spec.select = select i1 %17, i64 32, i64 %15 %18 = mul i64 %spec.select, 8 %19 = and i64 %18, 34359738360 %20 = call i64 @FUNC(i64 %19, i64 0) %21 = icmp eq i64 %20, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %21, label LBL_11, label LBL_4 LBL_4: %22 = load i64, i64* %sv_1, align 8 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = inttoptr i64 %24 to i64* store i64 4198726, i64* %25, align 8 %26 = icmp eq i64 %arg4, 0 br i1 %26, label LBL_6, label LBL_5 LBL_5: %27 = call i64 @FUNC(i64 %24) %28 = add i64 %27, 8 %29 = inttoptr i64 %28 to i64* store i64 %arg4, i64* %29, align 8 br label LBL_6 LBL_6: %30 = call i64 @FUNC(i64 %24, i64 %10, i64 0) %31 = trunc i64 %30 to i32 %32 = icmp eq i32 %31, 0 %33 = icmp eq i1 %32, false store i64 %20, i64* %sv_0.0.reg2mem br i1 %33, label LBL_11, label LBL_7 LBL_7: %34 = call i64 @FUNC(i64 %24) %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = or i32 %36, 1 store i32 %37, i32* %35, align 4 %38 = call i64 @FUNC() %39 = ashr exact i64 %sext, 30 %40 = add nsw i64 %39, %1 %41 = mul i64 %40, 8 %42 = add i64 %41, ptrtoint (i32** @gv_0 to i64) %43 = inttoptr i64 %42 to i32* %44 = load i32, i32* %43, align 8 %45 = icmp eq i32 %44, 0 %46 = icmp eq i1 %45, false br i1 %46, label LBL_9, label LBL_8 LBL_8: %47 = ptrtoint i64* %arg6 to i64 %48 = add i64 %41, ptrtoint (i32** @gv_1 to i64) %49 = trunc i64 %spec.select to i32 %50 = inttoptr i64 %48 to i32* store i32 %49, i32* %50, align 8 %51 = add i64 %41, ptrtoint (i64* @gv_2 to i64) %52 = inttoptr i64 %51 to i64* store i64 %20, i64* %52, align 8 %53 = add i64 %41, ptrtoint (i64* @gv_3 to i64) %54 = inttoptr i64 %53 to i64* store i64 %9, i64* %54, align 8 %55 = add i64 %41, ptrtoint (i64* @gv_4 to i64) %56 = inttoptr i64 %55 to i64* store i64 %47, i64* %56, align 8 store i32 1, i32* %storemerge.reg2mem br label LBL_10 LBL_9: %57 = call i64 @FUNC(i64 %20) %58 = load i32, i32* %43, align 8 %59 = add i32 %58, 1 store i32 %59, i32* %storemerge.reg2mem br label LBL_10 LBL_10: %storemerge.reload = load i32, i32* %storemerge.reg2mem store i32 %storemerge.reload, i32* %43, align 8 %60 = call i64 @FUNC() store i64 %24, i64* %rax.0.reg2mem br label LBL_12 LBL_11: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %61 = call i64 @FUNC(i64 %sv_0.0.reload) %62 = load i64, i64* %sv_1, align 8 %63 = call i64 @FUNC(i64 %62) 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 %41, { 4, 3, 2, 1, 0 } uselistorder i64 %24, { 0, 2, 3, 1, 4 } uselistorder i64 %20, { 2, 1, 0, 3 } uselistorder i64 %spec.select, { 1, 0 } uselistorder i64 %1, { 0, 2, 1 } uselistorder i64 %sext, { 1, 0 } uselistorder i64* %sv_1, { 1, 2, 3, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 } uselistorder i64 (i64)* @kfree, { 1, 0 } uselistorder i64 (i64)* @nlk_sk, { 1, 0 } uselistorder i64 8, { 0, 2, 1 } uselistorder label LBL_12, { 2, 3, 0, 1 } }
0
BinRealVul
palette8torgb16_424
palette8torgb16
define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %storemerge.lcssa.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i64 %0 = icmp sgt i64 %arg3, 0 store i64 0, i64* %storemerge.lcssa.reg2mem br i1 %0, label LBL_1, label LBL_3 LBL_1: %1 = ptrtoint i64* %arg4 to i64 %2 = ptrtoint i32* %arg1 to i64 store i64 0, i64* %storemerge2.reg2mem br label LBL_2 LBL_2: %storemerge2.reload = load i64, i64* %storemerge2.reg2mem %3 = add i64 %storemerge2.reload, %2 %4 = inttoptr i64 %3 to i8* %5 = load i8, i8* %4, align 1 %6 = zext i8 %5 to i64 %7 = mul i64 %6, 2 %8 = add i64 %7, %1 %9 = mul i64 %storemerge2.reload, 2 %10 = add i64 %9, %arg2 %11 = inttoptr i64 %8 to i16* %12 = load i16, i16* %11, align 2 %13 = inttoptr i64 %10 to i16* store i16 %12, i16* %13, align 2 %14 = add nuw nsw i64 %storemerge2.reload, 1 %exitcond = icmp eq i64 %14, %arg3 store i64 %14, i64* %storemerge2.reg2mem store i64 %arg3, i64* %storemerge.lcssa.reg2mem br i1 %exitcond, label LBL_3, label LBL_2 LBL_3: %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem ret i64 %storemerge.lcssa.reload uselistorder i64 %storemerge2.reload, { 0, 2, 1 } uselistorder i64* %storemerge2.reg2mem, { 1, 0, 2 } }
0
BinRealVul
get_seg_limit_11916
get_seg_limit
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = and i64 %arg2, 4294967295 %2 = call i64 @FUNC(i64 %0, i64 %1) %3 = trunc i64 %2 to i16 %4 = icmp slt i16 %3, 0 %5 = icmp eq i1 %4, false store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_6 LBL_1: %6 = call i64 @FUNC(i64 %0) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false store i64 -1, i64* %rax.0.reg2mem br i1 %9, label LBL_6, label LBL_2 LBL_2: %10 = call i64 @FUNC(i64 %0) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 store i64 -1, i64* %rax.0.reg2mem br i1 %12, label LBL_3, label LBL_6 LBL_3: %13 = icmp eq i16 %3, 0 %14 = icmp eq i1 %13, false store i64 0, i64* %rax.0.reg2mem br i1 %14, label LBL_4, label LBL_6 LBL_4: %15 = trunc i64 %2 to i32 %16 = mul i32 %15, 65536 %17 = ashr exact i32 %16, 16 %18 = zext i32 %17 to i64 %19 = call i64 @FUNC(i64 %18) %20 = icmp eq i64 %19, 0 %21 = icmp eq i1 %20, false store i64 0, i64* %rax.0.reg2mem br i1 %21, label LBL_5, label LBL_6 LBL_5: %22 = inttoptr i64 %19 to i32* %23 = call i64 @FUNC(i64 %19) %24 = load i32, i32* %22, align 4 %25 = icmp eq i32 %24, 0 %26 = mul i64 %23, 4096 %27 = or i64 %26, 4095 %sv_0.0 = select i1 %25, i64 %23, i64 %27 store i64 %sv_0.0, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %23, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 3, 5, 4, 6 } uselistorder i64 -1, { 1, 0 } uselistorder label LBL_6, { 0, 1, 2, 4, 3, 5 } }
1
BinRealVul
apic_common_class_init_13999
apic_common_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 ptrtoint (i64* @gv_0 to i64), i64* %arg1, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* store i64 4198662, i64* %2, align 8 %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i32* store i32 1, i32* %4, align 4 %5 = load i64, i64* @gv_1, align 8 %6 = add i64 %0, 24 %7 = inttoptr i64 %6 to i64* store i64 %5, i64* %7, align 8 store i64 4198669, i64* %arg1, align 8 ret i64 %0 }
1
BinRealVul
mips_cpu_class_init_13904
mips_cpu_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* store i64 %0, i64* %2, align 8 store i64 4198669, i64* %arg1, align 8 %3 = inttoptr i64 %1 to i8* %4 = add i64 %0, 16 %5 = inttoptr i64 %4 to i64* store i64 4198687, i64* %5, align 8 %6 = add i64 %0, 24 %7 = inttoptr i64 %6 to i64* store i64 4198694, i64* %7, align 8 %8 = add i64 %0, 32 %9 = inttoptr i64 %8 to i64* store i64 4198701, i64* %9, align 8 %10 = add i64 %0, 40 %11 = inttoptr i64 %10 to i64* store i64 4198708, i64* %11, align 8 %12 = add i64 %0, 48 %13 = inttoptr i64 %12 to i64* store i64 4198715, i64* %13, align 8 %14 = add i64 %0, 56 %15 = inttoptr i64 %14 to i64* store i64 4198722, i64* %15, align 8 %16 = add i64 %0, 64 %17 = inttoptr i64 %16 to i64* store i64 4198729, i64* %17, align 8 %18 = add i64 %0, 80 %19 = inttoptr i64 %18 to i64* store i64 4198743, i64* %19, align 8 %20 = add i64 %0, 88 %21 = inttoptr i64 %20 to i64* store i64 4198750, i64* %21, align 8 %22 = add i64 %0, 96 %23 = inttoptr i64 %22 to i64* store i64 4198757, i64* %23, align 8 %24 = add i64 %0, 104 %25 = inttoptr i64 %24 to i64* store i64 ptrtoint (i64* @gv_0 to i64), i64* %25, align 8 %26 = add i64 %0, 112 %27 = inttoptr i64 %26 to i64* store i64 4198764, i64* %27, align 8 %28 = add i64 %0, 120 %29 = inttoptr i64 %28 to i32* store i32 73, i32* %29, align 4 %30 = add i64 %0, 124 %31 = inttoptr i64 %30 to i8* store i8 1, i8* %31, align 1 store i8 1, i8* %3, align 1 ret i64 %0 uselistorder i64 %0, { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 16, 15 } }
1
BinRealVul
regime_is_user_1849
regime_is_user
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = trunc i64 %arg2 to i32 %1 = icmp ult i32 %0, 3 store i64 1, i64* %storemerge.reg2mem br i1 %1, label LBL_3, label LBL_1 LBL_1: %2 = add i32 %0, -3 %3 = icmp ult i32 %2, 2 store i64 0, i64* %storemerge.reg2mem br i1 %3, label LBL_2, label LBL_3 LBL_2: %4 = call i64 @FUNC() unreachable LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload }
0
BinRealVul
__oom_reap_task_mm_5546
__oom_reap_task_mm
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge4.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %sv_0 = alloca i8, align 1 store i8 1, i8* %sv_0, align 1 %3 = call i64 @FUNC(i64* nonnull @gv_0) %4 = add i64 %2, 16 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %5 to i8 %7 = icmp eq i8 %6, 1 br i1 %7, label LBL_2, label LBL_1 LBL_1: store i8 0, i8* %sv_0, align 1 %8 = and i64 %1, 4294967295 %9 = call i64 @FUNC(i64 %8) br label LBL_13 LBL_2: %10 = call i64 @FUNC(i64 %2) %11 = trunc i64 %10 to i8 %12 = icmp eq i8 %11, 0 br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = call i64 @FUNC(i64 %4) %14 = call i64 @FUNC(i64 100) br label LBL_13 LBL_4: %15 = call i64 @FUNC(i64 0, i64 %2) %16 = trunc i64 %15 to i8 %17 = icmp eq i8 %16, 0 br i1 %17, label LBL_6, label LBL_5 LBL_5: %18 = call i64 @FUNC(i64 %4) %19 = and i64 %1, 4294967295 %20 = call i64 @FUNC(i64 %19) br label LBL_13 LBL_6: %21 = and i64 %1, 4294967295 %22 = call i64 @FUNC(i64 %21) %23 = call i64 @FUNC(i64 1, i64 %2) %24 = add i64 %2, 8 %storemerge.in2 = inttoptr i64 %24 to i64* %storemerge3 = load i64, i64* %storemerge.in2, align 8 %25 = icmp eq i64 %storemerge3, 0 %26 = icmp eq i1 %25, false store i64 %storemerge3, i64* %storemerge4.reg2mem br i1 %26, label LBL_7, label LBL_12 LBL_7: %storemerge4.reload = load i64, i64* %storemerge4.reg2mem %27 = call i64 @FUNC(i64 %storemerge4.reload) %28 = trunc i64 %27 to i8 %29 = icmp eq i8 %28, 1 %30 = icmp eq i1 %29, false br i1 %30, label LBL_11, label LBL_8 LBL_8: %31 = call i64 @FUNC(i64 %storemerge4.reload) %32 = trunc i64 %31 to i8 %33 = icmp eq i8 %32, 0 %34 = icmp eq i1 %33, false br i1 %34, label LBL_10, label LBL_9 LBL_9: %35 = add i64 %storemerge4.reload, 24 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = and i32 %37, 2 %39 = icmp eq i32 %38, 0 %40 = icmp eq i1 %39, false br i1 %40, label LBL_11, label LBL_10 LBL_10: %41 = add i64 %storemerge4.reload, 16 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = add i64 %storemerge4.reload, 8 %45 = inttoptr i64 %44 to i64* %46 = load i64, i64* %45, align 8 %47 = call i64 @FUNC(i8* nonnull %sv_0, i64 %2, i64 %46, i64 %43) %48 = load i64, i64* %42, align 8 %49 = load i64, i64* %45, align 8 %50 = call i64 @FUNC(i8* nonnull %sv_0, i64 %storemerge4.reload, i64 %49, i64 %48, i64 0) %51 = load i64, i64* %42, align 8 %52 = load i64, i64* %45, align 8 %53 = call i64 @FUNC(i8* nonnull %sv_0, i64 %52, i64 %51) br label LBL_11 LBL_11: %storemerge.in = inttoptr i64 %storemerge4.reload to i64* %storemerge = load i64, i64* %storemerge.in, align 8 %54 = icmp eq i64 %storemerge, 0 %55 = icmp eq i1 %54, false store i64 %storemerge, i64* %storemerge4.reg2mem br i1 %55, label LBL_7, label LBL_12 LBL_12: %56 = call i64 @FUNC(i64 %2, i64 2) %57 = call i64 @FUNC(i64 %2, i64 1) %58 = call i64 @FUNC(i64 %2, i64 0) %59 = ptrtoint i32* %arg1 to i64 %60 = add i64 %59, 4 %61 = call i64 @FUNC(i64 %59) %62 = and i64 %56, 4294967295 %63 = and i64 %57, 4294967295 %64 = and i64 %58, 4294967295 %65 = and i64 %61, 4294967295 %66 = call i64 @FUNC(i8* getelementptr inbounds ([89 x i8], [89 x i8]* @gv_1, i64 0, i64 0), i64 %65, i64 %60, i64 %64, i64 %63, i64 %62) %67 = call i64 @FUNC(i64 %4) %68 = call i64 @FUNC(i64 %21) br label LBL_13 LBL_13: %69 = call i64 @FUNC(i64* nonnull @gv_0) %70 = load i8, i8* %sv_0, align 1 %71 = zext i8 %70 to i64 ret i64 %71 uselistorder i64* %45, { 1, 0, 2 } uselistorder i64* %42, { 1, 0, 2 } uselistorder i64 %storemerge4.reload, { 6, 5, 2, 1, 0, 3, 4 } uselistorder i64 %21, { 1, 0 } uselistorder i64 %4, { 2, 1, 0, 3 } uselistorder i8* %sv_0, { 3, 0, 1, 2, 4, 5 } uselistorder i64 %2, { 2, 1, 0, 3, 5, 4, 6, 7, 8 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %storemerge4.reg2mem, { 2, 0, 1 } uselistorder i64 (i64, i64)* @get_mm_counter, { 2, 1, 0 } uselistorder i1 false, { 4, 1, 2, 3, 0, 5 } uselistorder i64 1, { 3, 4, 0, 1, 2 } uselistorder i64 (i64)* @up_read, { 2, 1, 0 } uselistorder i64 (i64)* @trace_skip_task_reaping, { 1, 0 } uselistorder i64 4294967295, { 4, 5, 6, 7, 0, 1, 2, 3 } uselistorder i8 0, { 1, 2, 3, 0, 4 } uselistorder label LBL_11, { 1, 2, 0 } uselistorder label LBL_7, { 1, 0 } }
0
BinRealVul
protocol_client_auth_14613
protocol_client_auth
define i64 @FUNC(i32* %arg1, i8* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = trunc i64 %1 to i32 %4 = trunc i64 %2 to i32 %5 = urem i32 %4, 256 %6 = icmp eq i32 %5, %3 %7 = urem i64 %2, 256 br i1 %6, label LBL_4, label LBL_1 LBL_1: %8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_0, i64 0, i64 0), i64 %7) %9 = ptrtoint i32* %arg1 to i64 %10 = call i64 @FUNC(i64 %9, i64 1) %11 = add i64 %9, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = icmp slt i32 %13, 8 br i1 %14, label LBL_3, label LBL_2 LBL_2: %15 = call i64 @FUNC(i64 %9, i64 22) %16 = call i64 @FUNC(i64 %9, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i64 22) br label LBL_3 LBL_3: %17 = call i64 @FUNC(i64 %9) br label LBL_15 LBL_4: %18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_2, i64 0, i64 0), i64 %7) %19 = icmp eq i32 %3, 2 br i1 %19, label LBL_11, label LBL_5 LBL_5: %20 = icmp sgt i32 %3, 2 br i1 %20, label LBL_12, label LBL_6 LBL_6: switch i32 %3, label LBL_12 [ i32 0, label LBL_7 i32 1, label LBL_10 ] LBL_7: %21 = call i32 @puts(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_3, i64 0, i64 0)) %22 = ptrtoint i32* %arg1 to i64 %23 = add i64 %22, 4 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = icmp slt i32 %25, 8 br i1 %26, label LBL_9, label LBL_8 LBL_8: %27 = call i64 @FUNC(i64 %22, i64 0) %28 = call i64 @FUNC(i64 %22) br label LBL_9 LBL_9: %29 = call i64 @FUNC(i64 %22) br label LBL_15 LBL_10: %30 = call i32 @puts(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_4, i64 0, i64 0)) %31 = ptrtoint i32* %arg1 to i64 %32 = call i64 @FUNC(i64 %31) br label LBL_15 LBL_11: %33 = call i32 @puts(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_5, i64 0, i64 0)) %34 = ptrtoint i32* %arg1 to i64 %35 = call i64 @FUNC(i64 %34) br label LBL_15 LBL_12: %36 = and i64 %1, 4294967295 %37 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_6, i64 0, i64 0), i64 %36) %38 = ptrtoint i32* %arg1 to i64 %39 = call i64 @FUNC(i64 %38, i64 1) %40 = add i64 %38, 4 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = icmp slt i32 %42, 8 br i1 %43, label LBL_14, label LBL_13 LBL_13: %44 = call i64 @FUNC(i64 %38, i64 22) %45 = call i64 @FUNC(i64 %38, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_7, i64 0, i64 0), i64 22) br label LBL_14 LBL_14: %46 = call i64 @FUNC(i64 %38) br label LBL_15 LBL_15: ret i64 0 uselistorder i64 %38, { 2, 1, 0, 3, 4 } uselistorder i64 %9, { 2, 1, 0, 3, 4 } uselistorder i64 %7, { 1, 0 } uselistorder i32 %3, { 1, 2, 3, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %0, { 1, 0 } uselistorder i32 (i8*)* @puts, { 2, 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder i64 (i64)* @vnc_client_error, { 1, 0 } uselistorder i64 (i64, i8*, i64)* @vnc_write, { 1, 0 } uselistorder i32 8, { 1, 0, 2 } uselistorder i64 (i64, i64)* @vnc_write_u32, { 3, 2, 1, 0 } uselistorder i32 (i8*, ...)* @printf, { 2, 1, 0 } uselistorder i32* %arg1, { 3, 4, 1, 2, 0 } }
1
BinRealVul
dec_addi_acr_14451
dec_addi_acr
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = trunc i64 %1 to i32 %4 = add i64 %2, 4 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = call i64 @FUNC(i64 %2) %8 = call i64 @FUNC(i64 %7) %9 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %10 = trunc i64 %8 to i8 %11 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %9, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, i64 0), i8 %10, i32 %6, i32 %3) %12 = zext i32 %11 to i64 %13 = call i64 @FUNC(i64 %12) %14 = call i64 @FUNC(i64 %2, i64 0) %15 = call i64 @FUNC(i64 0) %16 = add i64 %2, 8 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = zext i32 %18 to i64 %20 = call i64 @FUNC(i64 %19) %21 = load i32, i32* %5, align 4 %22 = zext i32 %21 to i64 %23 = mul i64 %22, 8 %24 = add i64 %23, ptrtoint (i64* @gv_2 to i64) %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = call i64 @FUNC(i64 %15, i64 %26, i64 %20) %28 = mul i64 %1, 8 %29 = and i64 %28, 34359738360 %30 = add i64 %29, ptrtoint (i64* @gv_2 to i64) %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = load i64, i64* @gv_2, align 8 %34 = call i64 @FUNC(i64 %33, i64 %32, i64 %15) ret i64 2 uselistorder i64 %1, { 1, 0 } }
1
BinRealVul
tm_reclaim_thread_11324
tm_reclaim_thread
define i64 @FUNC(i64* %arg1, i64* %arg2, i8 %arg3) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %0, i64 1) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = add i64 %1, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 %0, i64 1) %9 = urem i64 %0, 32 %10 = xor i64 %9, 31 %11 = and i64 %7, %10 store i64 %11, i64* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %12 = call i64 @FUNC(i64 %1, i64 %0, i8 %arg3) %13 = or i64 %sv_0.0.reload, %1 store i64 %13, i64* %arg1, align 8 ret i64 %1 uselistorder i64 %1, { 3, 0, 2, 1 } uselistorder i64 %0, { 1, 0, 2, 3 } uselistorder i64 1, { 1, 2, 0 } }
1
BinRealVul
mb86a20s_read_status_11869
mb86a20s_read_status
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 = bitcast i64* %arg2 to i32* store i32 0, i32* %3, align 4 %4 = call i64 @FUNC(i64 %2, i64 10) %5 = trunc i64 %4 to i32 %6 = urem i32 %5, 16 %7 = icmp ult i32 %6, 2 br i1 %7, label LBL_6, label LBL_1 LBL_1: %8 = trunc i64 %1 to i32 %9 = or i32 %8, 1 store i32 %9, i32* %3, align 4 %10 = icmp ult i32 %6, 4 br i1 %10, label LBL_6, label LBL_2 LBL_2: %11 = or i32 %8, 2 store i32 %11, i32* %3, align 4 %12 = icmp eq i32 %6, 4 br i1 %12, label LBL_6, label LBL_3 LBL_3: %13 = or i32 %8, 4 store i32 %13, i32* %3, align 4 %14 = icmp ult i32 %6, 7 br i1 %14, label LBL_6, label LBL_4 LBL_4: %15 = or i32 %8, 8 store i32 %15, i32* %3, align 4 %16 = icmp eq i32 %6, 7 br i1 %16, label LBL_6, label LBL_5 LBL_5: %17 = or i32 %8, 16 store i32 %17, i32* %3, align 4 br label LBL_6 LBL_6: %18 = zext i32 %6 to i64 %19 = and i64 %1, 4294967295 %20 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i64 %19, i64 %18) ret i64 %18 uselistorder i32 %6, { 0, 5, 3, 4, 2, 1 } uselistorder i32* %3, { 4, 3, 2, 1, 0, 5 } uselistorder i64 %1, { 1, 0 } uselistorder i32 4, { 2, 0, 1 } uselistorder i32 2, { 1, 0 } uselistorder i32 16, { 1, 0 } uselistorder label LBL_6, { 4, 5, 3, 2, 1, 0 } }
1
BinRealVul
process_request_13133
process_request
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i32 ptrtoint (i32* @gv_0 to i32), i32* bitcast (i64* @gv_1 to i32*), align 8 %1 = call i64 @FUNC(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(i64 %0, i64 400, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_3, i64 0, i64 0)) br label LBL_13 LBL_2: %6 = call i64 @FUNC(i64 %0) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_4, label LBL_3 LBL_3: %9 = call i64 @FUNC(i64 %0) br label LBL_13 LBL_4: %10 = load i8*, i8** @gv_4, align 8 %11 = icmp eq i8* %10, null br i1 %11, label LBL_8, label LBL_5 LBL_5: %12 = icmp eq i64* %arg1, null br i1 %12, label LBL_7, label LBL_6 LBL_6: %13 = bitcast i64* %arg1 to i8* %14 = call i32 @strcmp(i8* %13, i8* nonnull %10) %15 = icmp eq i32 %14, 0 br i1 %15, label LBL_8, label LBL_7 LBL_7: %16 = call i64 @FUNC(i64 %0, i64 401, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_6, i64 0, i64 0)) br label LBL_13 LBL_8: %17 = add i64 %0, 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = inttoptr i64 %19 to i8* %21 = call i32 @strcmp(i8* %20, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_7, i64 0, i64 0)) %22 = icmp eq i32 %21, 0 %23 = icmp eq i1 %22, false br i1 %23, label LBL_10, label LBL_9 LBL_9: %24 = call i64 @FUNC(i64 %0) br label LBL_13 LBL_10: %25 = load i64, i64* %18, align 8 %26 = inttoptr i64 %25 to i8* %27 = call i32 @strcmp(i8* %26, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_8, i64 0, i64 0)) %28 = icmp eq i32 %27, 0 %29 = icmp eq i1 %28, false br i1 %29, label LBL_12, label LBL_11 LBL_11: %30 = call i64 @FUNC(i64 %0) %31 = add i64 %0, 28 %32 = inttoptr i64 %31 to i32* store i32 1, i32* %32, align 4 br label LBL_13 LBL_12: %33 = call i64 @FUNC(i64 %0, i64 501, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_9, i64 0, i64 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_10, i64 0, i64 0)) br label LBL_13 LBL_13: %34 = add i64 %0, 24 %35 = inttoptr i64 %34 to i32* store i32 0, i32* %35, align 4 %36 = add i64 %0, 16 %37 = inttoptr i64 %36 to i64* %38 = load i64, i64* %37, align 8 %39 = inttoptr i64 %38 to i64* call void @free(i64* %39) store i64 0, i64* %37, align 8 ret i64 %0 uselistorder i64 %0, { 3, 2, 4, 5, 6, 7, 8, 9, 1, 0, 10, 11, 12 } uselistorder i64 (i64)* @process_get, { 1, 0 } uselistorder i32 (i8*, i8*)* @strcmp, { 0, 2, 1 } uselistorder i64 (i64, i64, i8*, i8*)* @default_reply, { 2, 1, 0 } uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 0 } }
1
BinRealVul
tcp_v4_init_sock_10214
tcp_v4_init_sock
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = inttoptr i64 %1 to i64* store i64 ptrtoint (i64* @gv_0 to i64), i64* %3, align 8 ret i64 0 }
0
BinRealVul
pci_get_bus_devfn_14635
pci_get_bus_devfn
define i64 @FUNC(i64* %arg1, i64* %arg2, i8* %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i32, align 4 %sv_1 = alloca i32, align 4 %sv_2 = alloca i32, align 4 %0 = icmp eq i64* %arg2, null br i1 %0, label LBL_1, label LBL_2 LBL_1: %1 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %2 = call i32 @fwrite(i64* bitcast ([20 x i8]* @gv_1 to i64*), i32 1, i32 19, %_IO_FILE* %1) store i64 0, i64* %rax.0.reg2mem br label LBL_8 LBL_2: %3 = ptrtoint i64* %arg2 to i64 call void @__assert_fail(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_3, i64 0, i64 0), i32 26, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_4, i64 0, i64 0)) %4 = icmp eq i8* %arg3, null %5 = icmp eq i1 %4, false br i1 %5, label LBL_4, label LBL_3 LBL_3: %6 = bitcast i64* %arg1 to i32* store i32 -1, i32* %6, align 4 %7 = call i64 @FUNC(i64 %3, i64 0) store i64 %7, i64* %rax.0.reg2mem br label LBL_8 LBL_4: %8 = ptrtoint i8* %arg3 to i64 %9 = bitcast i32* %sv_0 to i64* %10 = bitcast i32* %sv_1 to i64* %11 = bitcast i32* %sv_2 to i64* %12 = call i64 @FUNC(i64 %8, i64* nonnull %9, i64* nonnull %10, i64* nonnull %11, i64 0) %13 = trunc i64 %12 to i32 %14 = icmp slt i32 %13, 0 %15 = icmp eq i1 %14, false store i64 0, i64* %rax.0.reg2mem br i1 %15, label LBL_5, label LBL_8 LBL_5: %16 = load i32, i32* %sv_0, align 4 %17 = icmp eq i32 %16, 0 br i1 %17, label LBL_7, label LBL_6 LBL_6: %18 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %19 = call i32 @fwrite(i64* bitcast ([37 x i8]* @gv_5 to i64*), i32 1, i32 36, %_IO_FILE* %18) store i64 0, i64* %rax.0.reg2mem br label LBL_8 LBL_7: %20 = load i32, i32* %sv_2, align 4 %21 = bitcast i64* %arg1 to i32* store i32 %20, i32* %21, align 4 %22 = load i32, i32* %sv_1, align 4 %23 = zext i32 %22 to i64 %24 = call i64 @FUNC(i64 %3, i64 %23) store i64 %24, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %3, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 1, 3, 2 } uselistorder i64 (i64, i64)* @pci_find_bus_nr, { 1, 0 } uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 1, 0 } uselistorder %_IO_FILE** @gv_0, { 1, 0 } uselistorder i8* %arg3, { 1, 0 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_8, { 1, 2, 0, 3, 4 } }
1
BinRealVul
jswrap_serial_unsetup_19270
jswrap_serial_unsetup
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i32 %rax.0.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %1 = load i32, i32* %0 %2 = load i32, i32* %0 %3 = load i32, i32* %0 %sv_0 = alloca i32, align 4 %4 = call i64 @FUNC(i64 %arg1) %5 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i64 0) %6 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0), i64 0) %7 = icmp eq i64 %5, 0 br i1 %7, label LBL_0.LBL_12_crit_edge, label LBL_2 LBL_1: %.pre = and i64 %4, 4294967295 store i64 %.pre, i64* %.pre-phi.reg2mem br label LBL_12 LBL_2: %8 = bitcast i32* %sv_0 to i64* %9 = call i64 @FUNC(i64* nonnull %8, i64 %6, i64 %5) %10 = load i32, i32* %sv_0, align 4 %11 = icmp eq i32 %10, -1 br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = zext i32 %10 to i64 %13 = call i64 @FUNC(i64 %12, i64 0) br label LBL_4 LBL_4: %14 = icmp eq i32 %3, -1 br i1 %14, label LBL_6, label LBL_5 LBL_5: %15 = zext i32 %3 to i64 %16 = call i64 @FUNC(i64 %15, i64 0) br label LBL_6 LBL_6: %17 = icmp eq i32 %2, -1 br i1 %17, label LBL_8, label LBL_7 LBL_7: %18 = zext i32 %2 to i64 %19 = call i64 @FUNC(i64 %18, i64 0) br label LBL_8 LBL_8: %20 = icmp eq i32 %1, -1 br i1 %20, label LBL_10, label LBL_9 LBL_9: %21 = zext i32 %1 to i64 %22 = call i64 @FUNC(i64 %21, i64 0) br label LBL_10 LBL_10: %23 = and i64 %4, 4294967295 %24 = call i64 @FUNC(i64 %23) %25 = trunc i64 %24 to i8 %26 = icmp eq i8 %25, 1 store i64 %23, i64* %.pre-phi.reg2mem br i1 %26, label LBL_12, label LBL_11 LBL_11: %27 = call i64 @FUNC(i64 %arg1, i64* nonnull %8) store i64 %23, i64* %.pre-phi.reg2mem br label LBL_12 LBL_12: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %28 = call i64 @FUNC(i64 %5, i64 %6) %29 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0)) %30 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0)) %31 = call i64 @FUNC(i64 %.pre-phi.reload) %32 = trunc i64 %31 to i8 %33 = icmp eq i8 %32, 0 store i64 %31, i64* %rax.0.reg2mem br i1 %33, label LBL_14, label LBL_13 LBL_13: %34 = call i64 @FUNC(i64 %.pre-phi.reload) %35 = call i64 @FUNC(i64 %.pre-phi.reload, i64 0, i64 4294967295) store i64 %35, 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 %23, { 1, 0, 2 } uselistorder i64 %5, { 1, 0, 2 } uselistorder i64 %4, { 1, 0 } uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1, 3 } uselistorder i32* %0, { 2, 1, 0 } uselistorder i64 (i64, i8*)* @jsvObjectRemoveChild, { 1, 0 } uselistorder i64 (i64)* @DEVICE_IS_SERIAL, { 1, 0 } uselistorder i64 (i64, i64)* @jshPinSetState, { 3, 2, 1, 0 } uselistorder i64 4294967295, { 3, 1, 0, 2 } uselistorder i64 (i64, i8*, i64)* @jsvObjectGetChild, { 1, 0 } uselistorder i32 1, { 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %arg1, { 2, 1, 0, 3, 4, 5 } uselistorder label LBL_12, { 1, 2, 0 } }
1
BinRealVul
apc_init_1307
apc_init
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0)) %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64 %2, i64 0, i64 %arg1) %4 = call i64 @FUNC(i64 %2, i64 0, i64 %arg2) ret i64 %4 }
0
BinRealVul
usbnet_can_receive_2582
usbnet_can_receive
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_4 LBL_1: %6 = call i64 @FUNC(i64 %1) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = add i64 %1, 8 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp eq i32 %11, 1 store i64 1, i64* %rax.0.reg2mem br i1 %12, label LBL_3, label LBL_4 LBL_3: %13 = add i64 %1, 12 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = icmp eq i32 %15, 0 %17 = zext i1 %16 to i64 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, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder label LBL_4, { 2, 0, 1 } }
0
BinRealVul
asf_write_header_1631
asf_write_header
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* store i32 4096, i32* %2, align 4 %3 = add i64 %0, 12 %4 = inttoptr i64 %3 to i32* store i32 0, i32* %4, align 4 %5 = bitcast i64* %arg1 to i32* store i32 0, i32* %5, align 4 %6 = call i64 @FUNC(i64 0) %7 = inttoptr i64 %1 to i64* store i64 %6, i64* %7, align 8 %8 = add i64 %0, 16 %9 = inttoptr i64 %8 to i32* store i32 100, i32* %9, align 4 %10 = add i64 %0, 20 %11 = inttoptr i64 %10 to i32* store i32 0, i32* %11, align 4 %12 = call i64 @FUNC(i64 %0, i64 0, i64 128) %13 = trunc i64 %12 to i32 %14 = icmp slt i32 %13, 0 %15 = icmp eq i1 %14, false br i1 %15, label LBL_2, label LBL_1 LBL_1: %16 = call i64 @FUNC(i64 %1) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_4 LBL_2: %17 = add i64 %0, 24 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = call i64 @FUNC(i64 %19) %21 = inttoptr i64 %17 to i32* store i32 0, i32* %21, align 4 %22 = add i64 %0, 28 %23 = inttoptr i64 %22 to i32* store i32 -1, i32* %23, align 4 %24 = add i64 %0, 32 %25 = inttoptr i64 %24 to i32* store i32 -1, i32* %25, align 4 %26 = load i32, i32* %2, align 4 %27 = add i64 %0, 36 %28 = add i64 %0, 4136 %29 = zext i32 %26 to i64 %30 = call i64 @FUNC(i64 %28, i64 %27, i64 %29, i64 1, i64 0, i64 0) %31 = load i32, i32* %9, align 4 %32 = icmp slt i32 %31, 0 %33 = icmp eq i1 %32, false store i64 0, i64* %storemerge.reg2mem br i1 %33, label LBL_4, label LBL_3 LBL_3: store i32 1, i32* %9, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32* %9, { 1, 0, 2 } uselistorder i64 %0, { 1, 0, 2, 3, 4, 5, 6, 7, 8, 9 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 } uselistorder label LBL_4, { 1, 0, 2 } }
0
BinRealVul
ast_probe_1690
ast_probe
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 1297241171 store i64 0, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_4 LBL_1: %3 = add i64 %0, 10 %4 = inttoptr i64 %3 to i16* %5 = load i16, i16* %4, align 2 %6 = icmp eq i16 %5, 0 store i64 1, i64* %rax.0.reg2mem br i1 %6, label LBL_4, label LBL_2 LBL_2: %7 = add i64 %0, 12 %8 = inttoptr i64 %7 to i16* %9 = load i16, i16* %8, align 2 %.off = add i16 %9, -1 %10 = icmp ult i16 %.off, 256 store i64 1, i64* %rax.0.reg2mem br i1 %10, label LBL_3, label LBL_4 LBL_3: %11 = add i64 %0, 16 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %.off2 = add i32 %13, -1 %14 = icmp ult i32 %.off2, 384000 %spec.select = select i1 %14, i64 66, i64 1 ret i64 %spec.select LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 2, 1, 0, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64 1, { 2, 1, 0 } uselistorder label LBL_4, { 1, 0, 2 } }
0
BinRealVul
gen_neon_widen_2829
gen_neon_widen
define i64 @FUNC(i64 %arg1, i32 %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %.pre-phi.reg2mem = alloca i64 %0 = icmp eq i32 %arg4, 0 %1 = icmp eq i32 %arg3, 2 br i1 %0, label LBL_8, label LBL_1 LBL_1: br i1 %1, label LBL_6, label LBL_2 LBL_2: %2 = icmp sgt i32 %arg3, 2 br i1 %2, label LBL_7, label LBL_3 LBL_3: switch i32 %arg3, label LBL_7 [ i32 0, label LBL_4 i32 1, label LBL_5 ] LBL_4: %3 = zext i32 %arg2 to i64 %4 = call i64 @FUNC(i64 %arg1, i64 %3) store i64 %3, i64* %.pre-phi.reg2mem br label LBL_15 LBL_5: %5 = zext i32 %arg2 to i64 %6 = call i64 @FUNC(i64 %arg1, i64 %5) store i64 %5, i64* %.pre-phi.reg2mem br label LBL_15 LBL_6: %7 = zext i32 %arg2 to i64 %8 = call i64 @FUNC(i64 %arg1, i64 %7) store i64 %7, i64* %.pre-phi.reg2mem br label LBL_15 LBL_7: call void @abort() unreachable LBL_8: br i1 %1, label LBL_13, label LBL_9 LBL_9: %9 = icmp sgt i32 %arg3, 2 br i1 %9, label LBL_14, label LBL_10 LBL_10: switch i32 %arg3, label LBL_14 [ i32 0, label LBL_11 i32 1, label LBL_12 ] LBL_11: %10 = zext i32 %arg2 to i64 %11 = call i64 @FUNC(i64 %arg1, i64 %10) store i64 %10, i64* %.pre-phi.reg2mem br label LBL_15 LBL_12: %12 = zext i32 %arg2 to i64 %13 = call i64 @FUNC(i64 %arg1, i64 %12) store i64 %12, i64* %.pre-phi.reg2mem br label LBL_15 LBL_13: %14 = zext i32 %arg2 to i64 %15 = call i64 @FUNC(i64 %arg1, i64 %14) store i64 %14, i64* %.pre-phi.reg2mem br label LBL_15 LBL_14: call void @abort() unreachable LBL_15: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %16 = call i64 @FUNC(i64 %.pre-phi.reload) ret i64 %16 uselistorder i1 %1, { 1, 0 } uselistorder i64* %.pre-phi.reg2mem, { 0, 6, 5, 4, 3, 2, 1 } uselistorder void ()* @abort, { 1, 0 } uselistorder i32 2, { 1, 2, 0 } uselistorder i32 1, { 8, 9, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i32 %arg3, { 0, 3, 1, 2, 4 } uselistorder i32 %arg2, { 5, 3, 4, 2, 0, 1 } uselistorder i64 %arg1, { 5, 3, 4, 2, 0, 1 } }
0
BinRealVul
jpeg_put_comments_3321
jpeg_put_comments
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 16 %4 = add i64 %2, 8 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = call i64 @FUNC(i64 %3, i64 224) %9 = call i64 @FUNC(i64 %3, i64 16, i64 16) %10 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 1) %11 = call i64 @FUNC(i64 %3, i64 16, i64 513) %12 = call i64 @FUNC(i64 %3, i64 8, i64 0) %13 = and i64 %1, 4294967295 %14 = call i64 @FUNC(i64 %3, i64 16, i64 %13) %15 = add i64 %2, 20 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = zext i32 %17 to i64 %19 = call i64 @FUNC(i64 %3, i64 16, i64 %18) %20 = call i64 @FUNC(i64 %3, i64 8, i64 0) %21 = call i64 @FUNC(i64 %3, i64 8, i64 0) br label LBL_2 LBL_2: %22 = add i64 %2, 12 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = urem i32 %24, 2 %26 = zext i32 %25 to i64 %27 = icmp eq i32 %25, 0 %28 = icmp eq i1 %27, false store i64 %26, i64* %rax.0.reg2mem br i1 %28, label LBL_4, label LBL_3 LBL_3: %29 = call i64 @FUNC(i64 %3, i64 254) %30 = call i64 @FUNC(i64 %3) %31 = call i64 @FUNC(i64 %3) %32 = call i64 @FUNC(i64 %3, i64 16, i64 0) %33 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i64 1) %34 = inttoptr i64 %31 to i8* store i8 0, i8* %34, align 1 %35 = add i64 %31, 1 %36 = inttoptr i64 %35 to i8* store i8 13, i8* %36, align 1 store i64 %35, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %25, { 1, 0 } uselistorder i64 %3, { 8, 7, 6, 5, 4, 1, 0, 3, 2, 13, 12, 11, 10, 9 } uselistorder i64 %2, { 1, 0, 2, 3 } uselistorder i64 (i64, i8*, i64)* @put_string, { 1, 0 } uselistorder i64 (i64, i64, i64)* @put_bits, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @put_marker, { 1, 0 } uselistorder i64 16, { 0, 1, 2, 3, 5, 4, 6 } }
0
BinRealVul
add_machine_test_cases_15860
add_machine_test_cases
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge1.reg2mem = alloca i64 %0 = call i64 @FUNC() %1 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0)) %2 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_1, i64 0, i64 0)) %3 = call i64 @FUNC(i64 %2) %4 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0)) %5 = call i64 @FUNC(i64 %4) %6 = call i64 @FUNC(i64 %4) %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false store i64 %6, i64* %storemerge1.reg2mem br i1 %8, label LBL_1, label LBL_4 LBL_1: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %9 = call i64 @FUNC(i64 %storemerge1.reload) %10 = call i64 @FUNC(i64 %9) %11 = call i64 @FUNC(i64 %10) %12 = call i64 @FUNC(i64 %10, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0)) %13 = call i64 @FUNC(i64 %12) %14 = call i64 @FUNC(i64 %12) %15 = call i64 @FUNC(i64 %14) %16 = call i64 @FUNC(i64 %14) %17 = call i64 @FUNC(i64 %0, i64 %16) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 %20 = icmp eq i1 %19, false br i1 %20, label LBL_3, label LBL_2 LBL_2: %21 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_4, i64 0, i64 0), i64 %16) %22 = call i64 @FUNC(i64 %16) %23 = call i64 @FUNC(i64 %21, i64 %22, i64 4199283) br label LBL_3 LBL_3: %24 = call i64 @FUNC(i64 %storemerge1.reload) %25 = icmp eq i64 %24, 0 %26 = icmp eq i1 %25, false store i64 %24, i64* %storemerge1.reg2mem br i1 %26, label LBL_1, label LBL_4 LBL_4: %27 = call i64 @FUNC() %28 = call i64 @FUNC(i64 %2) ret i64 %28 uselistorder i64 %16, { 1, 0, 2 } uselistorder i64* %storemerge1.reg2mem, { 2, 0, 1 } uselistorder i32 0, { 7, 0, 1, 2, 3, 4, 5, 6 } uselistorder i1 false, { 2, 1, 0, 3 } uselistorder i64 (i64)* @g_assert, { 4, 3, 2, 1, 0 } uselistorder i32 1, { 4, 3, 2, 1, 5, 6, 7, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
FillRectangle_6543
FillRectangle
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge2838.reg2mem = alloca i32 %.reg2mem71 = alloca i32 %.reg2mem69 = alloca i32 %storemerge30.in36.reg2mem = alloca i64 %storemerge3037.reg2mem = alloca i64 %storemerge49.reg2mem = alloca i32 %.reg2mem67 = alloca i32 %.reg2mem65 = alloca i32 %storemerge16.in47.reg2mem = alloca i64 %storemerge1648.reg2mem = alloca i64 %storemerge2143.reg2mem = alloca i32 %.reg2mem63 = alloca i32 %.reg2mem = alloca i32 %storemerge23.in41.reg2mem = alloca i64 %storemerge2342.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null store i64 %0, i64* %rax.0.reg2mem br i1 %1, label LBL_25, label LBL_1 LBL_1: %sext = mul i64 %arg2, 4294967296 %2 = ashr exact i64 %sext, 32 %sext7 = mul i64 %arg3, 4294967296 %3 = ashr exact i64 %sext7, 32 %sext8 = mul i64 %arg4, 4294967296 %4 = ashr exact i64 %sext8, 32 %sext9 = mul i64 %arg5, 4294967296 %5 = ashr exact i64 %sext9, 32 %6 = trunc i64 %2 to i32 %7 = and i64 %5, 4294967295 %8 = trunc i64 %3 to i32 %9 = trunc i64 %4 to i32 %10 = call i64 @FUNC(i64 %0, i32 %6, i32 %8, i32 %9, i64 %7) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_3, label LBL_2 LBL_2: %14 = and i64 %2, 4294967295 %15 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0), i64 %14, i32 %8, i32 %9, i64 %7, i64 %arg6) store i64 %15, i64* %rax.0.reg2mem br label LBL_25 LBL_3: %sext10 = mul i64 %arg6, 4294967296 %16 = ashr exact i64 %sext10, 32 %17 = add i64 %0, 8 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = icmp eq i32 %19, 32 br i1 %20, label LBL_18, label LBL_4 LBL_4: %21 = icmp sgt i32 %19, 32 br i1 %21, label LBL_24, label LBL_5 LBL_5: switch i32 %19, label LBL_24 [ i32 8, label LBL_6 i32 16, label LBL_12 ] LBL_6: %22 = add i64 %0, 12 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = mul i32 %24, %8 %26 = add nsw i64 %5, %3 %27 = trunc i64 %26 to i32 %28 = mul i32 %24, %27 %29 = zext i32 %28 to i64 %30 = sext i32 %25 to i64 %31 = icmp slt i64 %30, %29 store i64 %29, i64* %rax.0.reg2mem br i1 %31, label LBL_7, label LBL_25 LBL_7: %32 = add nsw i64 %4, %2 %33 = and i64 %32, 4294967295 %34 = icmp slt i64 %2, %33 %35 = trunc i64 %16 to i8 store i32 %24, i32* %.reg2mem63 store i32 %25, i32* %storemerge2143.reg2mem br label LBL_11 LBL_8: %storemerge23.in41.reload = load i64, i64* %storemerge23.in41.reg2mem %storemerge2342.reload = load i64, i64* %storemerge2342.reg2mem %36 = trunc i64 %storemerge2342.reload to i32 %37 = add i32 %storemerge2143.reload, %36 %38 = sext i32 %37 to i64 %39 = add i64 %38, %0 %40 = inttoptr i64 %39 to i8* store i8 %35, i8* %40, align 1 %sext22 = add i64 %storemerge23.in41.reload, 4294967296 %storemerge23 = ashr exact i64 %sext22, 32 %41 = icmp slt i64 %storemerge23, %33 store i64 %storemerge23, i64* %storemerge2342.reg2mem store i64 %sext22, i64* %storemerge23.in41.reg2mem br i1 %41, label LBL_8, label LBL_9 LBL_9: %.pre55 = load i32, i32* %23, align 4 store i32 %.pre55, i32* %.reg2mem br label LBL_10 LBL_10: %.reload = load i32, i32* %.reg2mem %42 = add i32 %.reload, %storemerge2143.reload %43 = mul i32 %.reload, %27 %44 = zext i32 %43 to i64 %45 = sext i32 %42 to i64 %46 = icmp slt i64 %45, %44 store i32 %.reload, i32* %.reg2mem63 store i32 %42, i32* %storemerge2143.reg2mem store i64 %44, i64* %rax.0.reg2mem br i1 %46, label LBL_11, label LBL_25 LBL_11: %storemerge2143.reload = load i32, i32* %storemerge2143.reg2mem %.reload64 = load i32, i32* %.reg2mem63 store i64 %2, i64* %storemerge2342.reg2mem store i64 %sext, i64* %storemerge23.in41.reg2mem store i32 %.reload64, i32* %.reg2mem br i1 %34, label LBL_8, label LBL_10 LBL_12: %47 = add i64 %0, 12 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = mul i32 %49, %8 %51 = add nsw i64 %5, %3 %52 = trunc i64 %51 to i32 %53 = mul i32 %49, %52 %54 = zext i32 %53 to i64 %55 = sext i32 %50 to i64 %56 = icmp slt i64 %55, %54 store i64 %54, i64* %rax.0.reg2mem br i1 %56, label LBL_13, label LBL_25 LBL_13: %57 = add nsw i64 %4, %2 %58 = and i64 %57, 4294967295 %59 = icmp slt i64 %2, %58 %60 = trunc i64 %16 to i16 store i32 %49, i32* %.reg2mem67 store i32 %50, i32* %storemerge49.reg2mem br label LBL_17 LBL_14: %storemerge16.in47.reload = load i64, i64* %storemerge16.in47.reg2mem %storemerge1648.reload = load i64, i64* %storemerge1648.reg2mem %61 = trunc i64 %storemerge1648.reload to i32 %62 = add i32 %storemerge49.reload, %61 %63 = sext i32 %62 to i64 %64 = mul i64 %63, 2 %65 = add i64 %64, %0 %66 = inttoptr i64 %65 to i16* store i16 %60, i16* %66, align 2 %sext15 = add i64 %storemerge16.in47.reload, 4294967296 %storemerge16 = ashr exact i64 %sext15, 32 %67 = icmp slt i64 %storemerge16, %58 store i64 %storemerge16, i64* %storemerge1648.reg2mem store i64 %sext15, i64* %storemerge16.in47.reg2mem br i1 %67, label LBL_14, label LBL_15 LBL_15: %.pre = load i32, i32* %48, align 4 store i32 %.pre, i32* %.reg2mem65 br label LBL_16 LBL_16: %.reload66 = load i32, i32* %.reg2mem65 %68 = add i32 %.reload66, %storemerge49.reload %69 = mul i32 %.reload66, %52 %70 = zext i32 %69 to i64 %71 = sext i32 %68 to i64 %72 = icmp slt i64 %71, %70 store i32 %.reload66, i32* %.reg2mem67 store i32 %68, i32* %storemerge49.reg2mem store i64 %70, i64* %rax.0.reg2mem br i1 %72, label LBL_17, label LBL_25 LBL_17: %storemerge49.reload = load i32, i32* %storemerge49.reg2mem %.reload68 = load i32, i32* %.reg2mem67 store i64 %2, i64* %storemerge1648.reg2mem store i64 %sext, i64* %storemerge16.in47.reg2mem store i32 %.reload68, i32* %.reg2mem65 br i1 %59, label LBL_14, label LBL_16 LBL_18: %73 = add i64 %0, 12 %74 = inttoptr i64 %73 to i32* %75 = load i32, i32* %74, align 4 %76 = mul i32 %75, %8 %77 = add nsw i64 %5, %3 %78 = trunc i64 %77 to i32 %79 = mul i32 %75, %78 %80 = zext i32 %79 to i64 %81 = sext i32 %76 to i64 %82 = icmp slt i64 %81, %80 store i64 %80, i64* %rax.0.reg2mem br i1 %82, label LBL_19, label LBL_25 LBL_19: %83 = add nsw i64 %4, %2 %84 = and i64 %83, 4294967295 %85 = icmp slt i64 %2, %84 %86 = trunc i64 %16 to i32 store i32 %75, i32* %.reg2mem71 store i32 %76, i32* %storemerge2838.reg2mem br label LBL_23 LBL_20: %storemerge30.in36.reload = load i64, i64* %storemerge30.in36.reg2mem %storemerge3037.reload = load i64, i64* %storemerge3037.reg2mem %87 = trunc i64 %storemerge3037.reload to i32 %88 = add i32 %storemerge2838.reload, %87 %89 = sext i32 %88 to i64 %90 = mul i64 %89, 4 %91 = add i64 %90, %0 %92 = inttoptr i64 %91 to i32* store i32 %86, i32* %92, align 4 %sext29 = add i64 %storemerge30.in36.reload, 4294967296 %storemerge30 = ashr exact i64 %sext29, 32 %93 = icmp slt i64 %storemerge30, %84 store i64 %storemerge30, i64* %storemerge3037.reg2mem store i64 %sext29, i64* %storemerge30.in36.reg2mem br i1 %93, label LBL_20, label LBL_21 LBL_21: %.pre56 = load i32, i32* %74, align 4 store i32 %.pre56, i32* %.reg2mem69 br label LBL_22 LBL_22: %.reload70 = load i32, i32* %.reg2mem69 %94 = add i32 %.reload70, %storemerge2838.reload %95 = mul i32 %.reload70, %78 %96 = zext i32 %95 to i64 %97 = sext i32 %94 to i64 %98 = icmp slt i64 %97, %96 store i32 %.reload70, i32* %.reg2mem71 store i32 %94, i32* %storemerge2838.reg2mem store i64 %96, i64* %rax.0.reg2mem br i1 %98, label LBL_23, label LBL_25 LBL_23: %storemerge2838.reload = load i32, i32* %storemerge2838.reg2mem %.reload72 = load i32, i32* %.reg2mem71 store i64 %2, i64* %storemerge3037.reg2mem store i64 %sext, i64* %storemerge30.in36.reg2mem store i32 %.reload72, i32* %.reg2mem69 br i1 %85, label LBL_20, label LBL_22 LBL_24: %99 = zext i32 %19 to i64 %100 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_1, i64 0, i64 0), i64 %99, i32 %8, i32 %9, i64 %7, i64 %arg6) store i64 %100, i64* %rax.0.reg2mem br label LBL_25 LBL_25: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %storemerge2838.reload, { 1, 0 } uselistorder i32 %.reload70, { 0, 2, 1 } uselistorder i64 %84, { 1, 0 } uselistorder i32 %storemerge49.reload, { 1, 0 } uselistorder i32 %.reload66, { 0, 2, 1 } uselistorder i64 %58, { 1, 0 } uselistorder i32 %storemerge2143.reload, { 1, 0 } uselistorder i32 %.reload, { 0, 2, 1 } uselistorder i64 %33, { 1, 0 } uselistorder i64 %16, { 2, 0, 1 } uselistorder i32 %9, { 1, 0, 2 } uselistorder i32 %8, { 4, 0, 2, 1, 3, 5 } uselistorder i64 %7, { 1, 0, 2 } uselistorder i64 %5, { 0, 2, 1, 3 } uselistorder i64 %4, { 0, 2, 1, 3 } uselistorder i64 %3, { 0, 2, 1, 3 } uselistorder i64 %2, { 0, 6, 3, 1, 8, 5, 2, 7, 4, 9, 10 } uselistorder i64 %0, { 1, 6, 3, 4, 2, 5, 7, 8, 0 } uselistorder i64* %storemerge2342.reg2mem, { 1, 2, 0 } uselistorder i64* %storemerge23.in41.reg2mem, { 1, 2, 0 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge1648.reg2mem, { 1, 2, 0 } uselistorder i64* %storemerge16.in47.reg2mem, { 1, 2, 0 } uselistorder i32* %.reg2mem65, { 1, 0, 2 } uselistorder i64* %storemerge3037.reg2mem, { 1, 2, 0 } uselistorder i64* %storemerge30.in36.reg2mem, { 1, 2, 0 } uselistorder i32* %.reg2mem69, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 8, 3, 6, 1, 4, 2, 5, 7, 9 } uselistorder i64 (i8*, i64, i32, i32, i64, i64)* @rfbClientLog, { 1, 0 } uselistorder i32 0, { 1, 0, 2 } uselistorder i64 4294967295, { 0, 2, 1, 3, 4 } uselistorder i64 32, { 0, 2, 1, 3, 4, 5, 6, 7 } uselistorder i64 4294967296, { 5, 7, 6, 0, 1, 2, 3, 4 } uselistorder i64 %arg6, { 2, 0, 1 } uselistorder label LBL_25, { 7, 2, 5, 0, 3, 1, 4, 8, 6 } uselistorder label LBL_23, { 1, 0 } uselistorder label LBL_22, { 1, 0 } uselistorder label LBL_17, { 1, 0 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_10, { 1, 0 } }
0
BinRealVul
validate_event_11313
validate_event
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = call i64 @FUNC(i64 %0) %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = icmp eq i64 %6, %0 %8 = icmp eq i1 %7, false store i64 1, i64* %rax.0.reg2mem br i1 %8, label LBL_5, label LBL_1 LBL_1: %9 = add i64 %0, 16 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp slt i32 %11, 0 %13 = icmp eq i1 %12, false store i64 1, i64* %rax.0.reg2mem br i1 %13, label LBL_2, label LBL_5 LBL_2: %14 = icmp eq i32 %11, 0 %15 = icmp eq i1 %14, false br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = add i64 %0, 20 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = icmp eq i32 %18, 0 %20 = icmp eq i1 %19, false store i64 1, i64* %rax.0.reg2mem br i1 %20, label LBL_4, label LBL_5 LBL_4: %21 = icmp sge i64* %arg1, null %22 = zext i1 %21 to i64 store i64 %22, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 1, 0, 2, 3, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 } uselistorder i64 1, { 0, 2, 1 } uselistorder label LBL_5, { 3, 0, 2, 1 } }
1
BinRealVul
file_save_19011
file_save
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = inttoptr i64 %arg1 to i8* %1 = call i32 (i8*, i32, ...) @open(i8* %0, i32 577) %2 = icmp eq i32 %1, -1 %3 = icmp eq i1 %2, false store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_2 LBL_1: %4 = inttoptr i64 %arg2 to i64* %5 = trunc i64 %arg3 to i32 %6 = call i32 @write(i32 %1, i64* %4, i32 %5) %7 = sext i32 %6 to i64 %8 = icmp eq i64 %7, %arg3 %9 = call i32 @close(i32 %1) %. = zext i1 %8 to i64 store i64 %., i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload }
1
BinRealVul
simulate_sync_11172
simulate_sync
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = urem i64 %arg2, 65536 %1 = icmp eq i64 %0, 1 %2 = icmp eq i1 %1, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %2, label LBL_3, label LBL_1 LBL_1: %3 = urem i64 %arg2, 256 %4 = icmp eq i64 %3, 2 %5 = icmp eq i1 %4, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %5, label LBL_3, label LBL_2 LBL_2: %6 = ptrtoint i64* %arg1 to i64 %7 = call i64 @FUNC(i64 1, i64 1, i64 0, i64 %6, i64 0) store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder i64 1, { 2, 1, 0 } uselistorder label LBL_3, { 2, 1, 0 } }
1
BinRealVul
search_old_relocation_12688
search_old_relocation
define i64 @FUNC(i32* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %storemerge35.reg2mem = alloca i32 %0 = icmp sgt i32 %arg3, 0 store i64 4294967295, i64* %storemerge.reg2mem br i1 %0, label LBL_1, label LBL_5 LBL_1: %1 = ptrtoint i32* %arg1 to i64 %2 = trunc i64 %arg2 to i32 store i32 0, i32* %storemerge35.reg2mem br label LBL_2 LBL_2: %storemerge35.reload = load i32, i32* %storemerge35.reg2mem %3 = sext i32 %storemerge35.reload to i64 %4 = mul i64 %3, 4 %5 = add i64 %4, %1 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = icmp eq i32 %7, %2 %9 = icmp eq i1 %8, false br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = zext i32 %storemerge35.reload to i64 store i64 %10, i64* %storemerge.reg2mem br label LBL_5 LBL_4: %11 = add nuw i32 %storemerge35.reload, 1 %12 = icmp slt i32 %11, %arg3 store i32 %11, i32* %storemerge35.reg2mem store i64 4294967295, i64* %storemerge.reg2mem br i1 %12, label LBL_2, label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %storemerge35.reload, { 0, 2, 1 } uselistorder i32* %storemerge35.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2 } uselistorder i32 %arg3, { 1, 0 } uselistorder label LBL_5, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
digi_tiocmget_9044
digi_tiocmget
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 = call i64 @FUNC(i64 %1) %4 = add i64 %3, 4 %5 = call i64 @FUNC(i64 %4, i64 %2) %6 = inttoptr i64 %3 to i32* %7 = load i32, i32* %6, align 4 %8 = call i64 @FUNC(i64 %4, i64 %2) %9 = zext i32 %7 to i64 ret i64 %9 uselistorder i64 %2, { 1, 0 } }
0
BinRealVul
unzzip_cat_file_19104
unzzip_cat_file
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %sv_0 = alloca i64, align 8 %0 = call i64 @FUNC(i64 %arg1, i64 %arg2, i64 0) %1 = icmp eq i64 %0, 0 store i64 0, i64* %rax.0.reg2mem br i1 %1, label LBL_5, label LBL_1 LBL_1: %2 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0, i64 1024) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_4 LBL_2: %6 = inttoptr i64 %arg3 to %_IO_FILE* store i32 %3, i32* %.reg2mem br label LBL_3 LBL_3: %.reload = load i32, i32* %.reg2mem %7 = call i32 @fwrite(i64* nonnull %sv_0, i32 1, i32 %.reload, %_IO_FILE* %6) %8 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0, i64 1024) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false store i32 %9, i32* %.reg2mem br i1 %11, label LBL_3, label LBL_4 LBL_4: %12 = call i64 @FUNC(i64 %0) store i64 %12, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 1, 2, 0, 3 } uselistorder i64* %sv_0, { 1, 2, 0 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i1 false, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i64 (i64, i64*, i64)* @zzip_file_read, { 1, 0 } uselistorder i64 1024, { 1, 0 } uselistorder i32 1, { 3, 4, 2, 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
php_snmp_error_11477
php_snmp_error
define i64 @FUNC(i64* %arg1, i8* %arg2, i64 %arg3, i8* %arg4, i8* %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %rax.1.reg2mem = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i32 %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_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 %arg3, 4294967296 %21 = ashr exact i64 %sext, 32 %22 = icmp eq i64* %arg1, null br i1 %22, label LBL_2.LBL_8_crit_edge, label LBL_4 LBL_3: %.pre = trunc i64 %21 to i32 store i32 %.pre, i32* %.pre-phi.reg2mem store i64 0, i64* %sv_0.0.reg2mem br label LBL_8 LBL_4: %23 = ptrtoint i64* %arg1 to i64 %24 = call i64 @FUNC(i64 %23) %25 = trunc i64 %21 to i32 %26 = icmp eq i32 %25, 0 %27 = icmp eq i1 %26, false br i1 %27, label LBL_6, label LBL_5 LBL_5: %28 = inttoptr i64 %24 to i64* %29 = call i64* @memset(i64* %28, i32 0, i32 256) br label LBL_7 LBL_6: %30 = inttoptr i64 %24 to i8* store i32 32, i32* %sv_1, align 4 %31 = ptrtoint i32* %sv_1 to i64 %32 = call i32 @vsnprintf(i8* %30, i32 255, i8* %arg4, i64 %31) br label LBL_7 LBL_7: %33 = add i64 %24, 256 %34 = inttoptr i64 %33 to i32* store i32 %25, i32* %34, align 4 store i32 %25, i32* %.pre-phi.reg2mem store i64 %24, i64* %sv_0.0.reg2mem store i64 %24, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem %35 = icmp eq i32 %.pre-phi.reload, 0 store i64 %rax.0.reload, i64* %rax.1.reg2mem br i1 %35, label LBL_13, label LBL_9 LBL_9: br i1 %22, label LBL_12, label LBL_10 LBL_10: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %36 = add i64 %sv_0.0.reload, 260 %37 = inttoptr i64 %36 to i32* %38 = load i32, i32* %37, align 4 %39 = and i32 %38, %.pre-phi.reload %40 = icmp eq i32 %39, 0 br i1 %40, label LBL_12, label LBL_11 LBL_11: %41 = load i64, i64* @gv_0, align 8 %42 = and i64 %21, 4294967295 %43 = call i64 @FUNC(i64 %41, i64 %42, i64 %sv_0.0.reload) store i64 %43, i64* %rax.1.reg2mem br label LBL_13 LBL_12: store i32 32, i32* %sv_1, align 4 %44 = ptrtoint i8* %arg4 to i64 %45 = ptrtoint i8* %arg2 to i64 %46 = call i64 @FUNC(i64 %45, i64* nonnull @gv_1, i64 1, i64 %44, i32* nonnull %sv_1) store i64 %46, i64* %rax.1.reg2mem br label LBL_13 LBL_13: %rax.1.reload = load i64, i64* %rax.1.reg2mem ret i64 %rax.1.reload uselistorder i32 %.pre-phi.reload, { 1, 0 } uselistorder i64 %24, { 0, 1, 2, 4, 3 } uselistorder i64 %21, { 2, 1, 0 } uselistorder i64* %rax.1.reg2mem, { 0, 2, 1, 3 } uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i32 0, { 1, 2, 0, 3 } uselistorder i8 0, { 1, 0 } uselistorder i8* %arg4, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_13, { 1, 2, 0 } uselistorder label LBL_8, { 1, 0 } }
1
BinRealVul
bpf_map_put_13148
bpf_map_put
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg1) %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 0 store i64 %0, i64* %rax.0.reg2mem br i1 %2, label LBL_4, label LBL_1 LBL_1: %3 = call i64 @FUNC(i64 %arg1) %4 = add i64 %arg1, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = call i64 @FUNC(i64 %6) %8 = add i64 %arg1, 16 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_3, label LBL_2 LBL_2: %12 = add i64 %arg1, 24 %13 = call i64 @FUNC(i64 %12, i64 4198747) store i64 %13, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %14 = call i64 @FUNC(i64 %arg1) store i64 %14, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64 %arg1, { 0, 1, 4, 3, 2, 5 } }
1
BinRealVul
avfilter_copy_buffer_ref_props_1601
avfilter_copy_buffer_ref_props
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %.reg2mem = alloca i64 %rsi = alloca i64, align 8 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = add i64 %1, 8 %6 = inttoptr i64 %5 to i64* store i64 %4, i64* %6, align 8 %7 = add i64 %0, 16 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = add i64 %1, 16 %11 = inttoptr i64 %10 to i64* store i64 %9, i64* %11, align 8 %12 = bitcast i64* %rsi to i32* %13 = load i32, i32* %12, align 8 %14 = icmp eq i32 %13, 1 br i1 %14, label LBL_1, label LBL_4 LBL_1: %15 = add i64 %1, 24 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = icmp eq i64 %19, 0 store i64 %17, i64* %.reg2mem br i1 %20, label LBL_3, label LBL_2 LBL_2: %21 = call i64 @FUNC(i64 %17) %.pre = load i64, i64* %16, align 8 store i64 %.pre, i64* %.reg2mem br label LBL_3 LBL_3: %.reload = load i64, i64* %.reg2mem %22 = add i64 %0, 24 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = call i64 @FUNC(i64 %.reload, i64 %24) br label LBL_4 LBL_4: %26 = add i64 %1, 40 %27 = call i64 @FUNC(i64 %26) %28 = add i64 %0, 40 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = call i64 @FUNC(i64 %26, i64 %30, i64 0) ret i64 %31 uselistorder i64 %17, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
term_exit_15300
term_exit
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i32 @tcsetattr(i32 0, i32 0, %termios* bitcast (%termios** @gv_0 to %termios*)) %1 = sext i32 %0 to i64 ret i64 %1 }
1
BinRealVul
sock_enable_timestamp_9243
sock_enable_timestamp
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = and i64 %arg2, 4294967295 %2 = call i64 @FUNC(i64 %0, i64 %1) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 %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 i64 @FUNC(i64 %0, i64 %1) %7 = call i64 @FUNC(i64 %0) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 store i64 %7, i64* %rax.0.reg2mem br i1 %9, label LBL_4, label LBL_2 LBL_2: %10 = urem i64 %0, 2 %11 = icmp eq i64 %10, 0 %12 = icmp eq i1 %11, false store i64 %10, i64* %rax.0.reg2mem br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = call i64 @FUNC() store i64 %13, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 0, 2, 1, 3 } uselistorder i64 4294967295, { 1, 0 } }
0
BinRealVul
rm_assemble_video_frame_134
rm_assemble_video_frame
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i32 %sv_3.0.reg2mem = alloca i32 %rsi = alloca i64, align 8 %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_4 = alloca i32, align 4 store i32 %arg4, i32* %sv_4, align 4 %2 = call i64 @FUNC(i64 %1) %3 = trunc i64 %2 to i32 %4 = load i32, i32* %sv_4, align 4 %5 = add i32 %4, -1 store i32 %5, i32* %sv_4, align 4 %6 = ashr i32 %3, 6 %7 = icmp eq i32 %6, 3 br i1 %7, label LBL_8, label LBL_1 LBL_1: %8 = icmp sgt i32 %3, 255 br i1 %8, label LBL_10, label LBL_2 LBL_2: %9 = icmp eq i32 %6, 2 br i1 %9, label LBL_5, label LBL_3 LBL_3: %10 = icmp sgt i32 %3, 191 br i1 %10, label LBL_10, label LBL_4 LBL_4: switch i32 %6, label LBL_10 [ i32 0, label LBL_5 i32 1, label LBL_6 ] LBL_5: %11 = call i64 @FUNC(i64 %1) %12 = trunc i64 %11 to i32 %13 = load i32, i32* %sv_4, align 4 %14 = add i32 %13, -1 store i32 %14, i32* %sv_4, align 4 %15 = call i64 @FUNC(i64 %1, i32* nonnull %sv_4) %16 = trunc i64 %15 to i32 %17 = call i64 @FUNC(i64 %1, i32* nonnull %sv_4) %18 = trunc i64 %17 to i32 %19 = call i64 @FUNC(i64 %1) %20 = trunc i64 %19 to i32 %21 = load i32, i32* %sv_4, align 4 %22 = add i32 %21, -1 store i32 %22, i32* %sv_4, align 4 %23 = bitcast i64* %arg2 to i32* store i32 %22, i32* %23, align 4 store i32 %12, i32* %sv_3.0.reg2mem store i32 %16, i32* %sv_2.0.reg2mem store i32 %18, i32* %sv_1.0.reg2mem store i32 %20, i32* %sv_0.0.reg2mem br label LBL_10 LBL_6: %24 = call i64 @FUNC(i64 %1) %25 = load i32, i32* %sv_4, align 4 %26 = add i32 %25, -1 store i32 %26, i32* %sv_4, align 4 %27 = add i32 %25, 8 %28 = zext i32 %27 to i64 %29 = call i64 @FUNC(i64 %0, i64 %28) %30 = trunc i64 %29 to i32 %31 = icmp slt i32 %30, 0 %32 = icmp eq i1 %31, false store i64 4294967291, i64* %rax.0.reg2mem br i1 %32, label LBL_7, label LBL_22 LBL_7: %33 = inttoptr i64 %28 to i8* store i8 0, i8* %33, align 1 %34 = add nuw nsw i64 %28, 1 %35 = call i64 @FUNC(i64 %34, i64 1) %36 = add nuw nsw i64 %28, 5 %37 = call i64 @FUNC(i64 %36, i64 0) %38 = load i32, i32* %sv_4, align 4 %39 = zext i32 %38 to i64 %40 = add nuw nsw i64 %39, 9 %41 = call i64 @FUNC(i64 %1, i64 %40, i64 %39) %42 = bitcast i64* %arg2 to i32* store i32 0, i32* %42, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_22 LBL_8: %43 = call i64 @FUNC(i64 %1, i32* nonnull %sv_4) %44 = trunc i64 %43 to i32 %45 = call i64 @FUNC(i64 %1, i32* nonnull %sv_4) %46 = call i64 @FUNC(i64 %1) %47 = load i32, i32* %sv_4, align 4 %48 = add i32 %47, -1 store i32 %48, i32* %sv_4, align 4 %49 = sub i32 %48, %44 %50 = bitcast i64* %arg2 to i32* store i32 %49, i32* %50, align 4 %51 = add i64 %43, 9 %52 = and i64 %51, 4294967295 %53 = call i64 @FUNC(i64 %0, i64 %52) %54 = trunc i64 %53 to i32 %55 = icmp slt i32 %54, 0 %56 = icmp eq i1 %55, false store i64 4294967291, i64* %rax.0.reg2mem br i1 %56, label LBL_9, label LBL_22 LBL_9: %57 = inttoptr i64 %52 to i8* store i8 0, i8* %57, align 1 %58 = add nuw nsw i64 %52, 1 %59 = call i64 @FUNC(i64 %58, i64 1) %60 = add nuw nsw i64 %52, 5 %61 = call i64 @FUNC(i64 %60, i64 0) %62 = add nuw nsw i64 %52, 9 %63 = and i64 %43, 4294967295 %64 = call i64 @FUNC(i64 %1, i64 %62, i64 %63) store i64 0, i64* %rax.0.reg2mem br label LBL_22 LBL_10: %65 = ptrtoint i64* %arg2 to i64 %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem %66 = urem i32 %sv_3.0.reload, 128 %67 = icmp eq i32 %66, 1 %.pre = add i64 %65, 4 %.pre1 = inttoptr i64 %.pre to i32* br i1 %67, label LBL_12, label LBL_11 LBL_11: %68 = load i32, i32* %.pre1, align 4 %69 = icmp eq i32 %sv_0.0.reload, %68 br i1 %69, label LBL_13, label LBL_12 LBL_12: %70 = mul i32 %3, 2 %71 = and i32 %70, 126 %72 = or i32 %71, 1 %73 = add i64 %65, 8 %74 = inttoptr i64 %73 to i32* store i32 %72, i32* %74, align 4 %75 = mul i32 %72, 8 %76 = or i32 %75, 1 %77 = add i32 %sv_2.0.reload, %76 %78 = sext i32 %77 to i64 %79 = add i64 %65, 32 %80 = inttoptr i64 %79 to i64* %81 = load i64, i64* %80, align 8 %82 = call i64 @FUNC(i64 %81, i64 %78) store i64 %82, i64* %80, align 8 %83 = add i64 %65, 12 %84 = inttoptr i64 %83 to i32* store i32 %77, i32* %84, align 4 %85 = load i32, i32* %74, align 4 %86 = mul i32 %85, 8 %87 = or i32 %86, 1 %88 = add i64 %65, 16 %89 = inttoptr i64 %88 to i32* store i32 %87, i32* %89, align 4 %90 = add i64 %65, 20 %91 = inttoptr i64 %90 to i32* store i32 0, i32* %91, align 4 store i32 %sv_0.0.reload, i32* %.pre1, align 4 %92 = call i64 @FUNC(i64 %1) %93 = trunc i64 %92 to i32 %94 = add i64 %65, 24 %95 = inttoptr i64 %94 to i32* store i32 %93, i32* %95, align 4 br label LBL_13 LBL_13: %96 = icmp eq i32 %6, 2 %97 = icmp eq i1 %96, false br i1 %97, label LBL_15, label LBL_14 LBL_14: %98 = load i32, i32* %sv_4, align 4 %99 = sub i32 %98, %sv_1.0.reload %100 = xor i32 %98, %sv_1.0.reload %101 = xor i32 %99, %98 %102 = and i32 %101, %100 %103 = icmp slt i32 %102, 0 %104 = icmp eq i32 %99, 0 %105 = icmp slt i32 %99, 0 %106 = icmp ne i1 %105, %103 %107 = or i1 %104, %106 %108 = select i1 %107, i32 %98, i32 %sv_1.0.reload store i32 %108, i32* %sv_4, align 4 br label LBL_15 LBL_15: %109 = add i64 %65, 20 %110 = inttoptr i64 %109 to i32* %111 = load i32, i32* %110, align 4 %112 = add i32 %111, 1 store i32 %112, i32* %110, align 4 %113 = add i64 %65, 8 %114 = inttoptr i64 %113 to i32* %115 = load i32, i32* %114, align 4 %116 = icmp ugt i32 %112, %115 store i64 1, i64* %rax.0.reg2mem br i1 %116, label LBL_22, label LBL_16 LBL_16: %117 = add i64 %65, 32 %118 = inttoptr i64 %117 to i64* %119 = load i64, i64* %118, align 8 %120 = mul i32 %112, 8 %121 = sext i32 %120 to i64 %122 = add nsw i64 %121, -7 %123 = add i64 %122, %119 %124 = call i64 @FUNC(i64 %123, i64 1) %125 = add i64 %65, 16 %126 = inttoptr i64 %125 to i32* %127 = load i32, i32* %126, align 4 %128 = load i32, i32* %114, align 4 %129 = mul i32 %128, 8 %130 = sub i32 0, %129 %131 = sub i32 %130, 1 %132 = add i32 %127, %131 %133 = load i64, i64* %118, align 8 %134 = load i32, i32* %110, align 4 %135 = mul i32 %134, 8 %136 = sext i32 %135 to i64 %137 = add i64 %133, -3 %138 = add i64 %137, %136 %139 = zext i32 %132 to i64 %140 = call i64 @FUNC(i64 %138, i64 %139) %141 = load i32, i32* %126, align 4 %142 = load i32, i32* %sv_4, align 4 %143 = add i32 %142, %141 %144 = add i64 %65, 12 %145 = inttoptr i64 %144 to i32* %146 = load i32, i32* %145, align 4 %147 = icmp ugt i32 %143, %146 store i64 1, i64* %rax.0.reg2mem br i1 %147, label LBL_22, label LBL_17 LBL_17: %148 = zext i32 %142 to i64 %149 = load i64, i64* %118, align 8 %150 = sext i32 %141 to i64 %151 = add i64 %149, %150 %152 = call i64 @FUNC(i64 %1, i64 %151, i64 %148) %153 = load i32, i32* %sv_4, align 4 %154 = trunc i64 %152 to i32 %155 = icmp eq i32 %153, %154 store i64 4294967291, i64* %rax.0.reg2mem br i1 %155, label LBL_18, label LBL_22 LBL_18: %156 = load i32, i32* %126, align 4 %157 = add i32 %156, %153 store i32 %157, i32* %126, align 4 %158 = bitcast i64* %rsi to i32* %159 = load i32, i32* %158, align 8 %160 = load i32, i32* %sv_4, align 4 %161 = sub i32 %159, %160 %162 = bitcast i64* %arg2 to i32* store i32 %161, i32* %162, align 4 br i1 %96, label LBL_20, label LBL_19 LBL_19: %163 = load i32, i32* %126, align 4 %164 = load i32, i32* %145, align 4 %165 = icmp eq i32 %163, %164 %166 = icmp eq i1 %165, false store i64 1, i64* %rax.0.reg2mem br i1 %166, label LBL_22, label LBL_20 LBL_20: %167 = load i32, i32* %110, align 4 %168 = load i64, i64* %118, align 8 %169 = trunc i32 %167 to i8 %170 = add i8 %169, -1 %171 = inttoptr i64 %168 to i8* store i8 %170, i8* %171, align 1 %172 = load i32, i32* %126, align 4 %173 = load i32, i32* %114, align 4 %174 = load i32, i32* %110, align 4 %175 = sub i32 %173, %174 %176 = mul i32 %175, 8 %177 = sub i32 %172, %176 %178 = zext i32 %177 to i64 %179 = call i64 @FUNC(i64 %0, i64 %178) %180 = trunc i64 %179 to i32 %181 = icmp slt i32 %180, 0 %182 = icmp eq i1 %181, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %182, label LBL_21, label LBL_22 LBL_21: %183 = load i32, i32* %110, align 4 %184 = mul i32 %183, 8 %185 = or i32 %184, 1 %186 = sext i32 %185 to i64 %187 = load i64, i64* %118, align 8 %188 = inttoptr i64 %186 to i64* %189 = inttoptr i64 %187 to i64* %190 = call i64* @memcpy(i64* nonnull %188, i64* %189, i32 %185) %191 = load i32, i32* %126, align 4 %192 = load i32, i32* %114, align 4 %193 = mul i32 %192, 8 %194 = sub i32 0, %193 %195 = sub i32 %194, 1 %196 = add i32 %191, %195 %197 = load i64, i64* %118, align 8 %198 = or i32 %193, 1 %199 = sext i32 %198 to i64 %200 = add i64 %197, %199 %201 = load i32, i32* %110, align 4 %202 = mul i32 %201, 8 %203 = or i32 %202, 1 %204 = sext i32 %203 to i64 %205 = add i64 %204, %0 %206 = inttoptr i64 %205 to i64* %207 = inttoptr i64 %200 to i64* %208 = call i64* @memcpy(i64* %206, i64* %207, i32 %196) %209 = add i64 %0, 8 %210 = inttoptr i64 %209 to i32* store i32 0, i32* %210, align 4 %211 = add i64 %65, 24 %212 = inttoptr i64 %211 to i32* %213 = load i32, i32* %212, align 4 %214 = add i64 %0, 12 %215 = inttoptr i64 %214 to i32* store i32 %213, i32* %215, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_22 LBL_22: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %142, { 1, 0 } uselistorder i32 %141, { 1, 0 } uselistorder i32* %126, { 1, 2, 0, 4, 3, 5, 6 } uselistorder i32 %99, { 1, 2, 0 } uselistorder i32 %98, { 2, 0, 1, 3 } uselistorder i32 %sv_1.0.reload, { 0, 2, 1 } uselistorder i64 %65, { 1, 2, 3, 5, 4, 6, 7, 8, 9, 10, 11, 12, 0 } uselistorder i64 %52, { 2, 1, 0, 3, 4 } uselistorder i64 %39, { 1, 0 } uselistorder i64 %28, { 1, 0, 2, 3 } uselistorder i32 %6, { 1, 0, 2, 3 } uselistorder i32* %sv_4, { 4, 5, 6, 7, 8, 9, 10, 0, 1, 11, 12, 13, 14, 15, 2, 3, 16, 17, 18, 19, 20 } uselistorder i64 %1, { 6, 7, 8, 11, 10, 9, 0, 1, 2, 4, 3, 5, 12 } uselistorder i64 %0, { 2, 3, 0, 4, 5, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 9, 2, 1, 3, 4, 5, 10, 6, 8, 7 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 } uselistorder i64 (i64, i64, i64)* @get_buffer, { 2, 1, 0 } uselistorder i64 9, { 1, 0, 2 } uselistorder i64 0, { 1, 2, 8, 0, 9, 3, 6, 7, 4, 5, 10 } uselistorder i64 (i64, i64)* @AV_WL32, { 5, 4, 3, 2, 1, 0 } uselistorder i64 1, { 0, 1, 3, 2, 4, 6, 5, 7, 8 } uselistorder i64 (i64, i64)* @av_new_packet, { 2, 1, 0 } uselistorder i64 (i64, i32*)* @get_num, { 3, 2, 1, 0 } uselistorder i32 2, { 1, 0, 2 } uselistorder i32 -1, { 0, 3, 1, 2, 4 } uselistorder i64 (i64)* @get_byte, { 4, 3, 2, 1, 0 } uselistorder i64* %arg2, { 3, 4, 0, 2, 1 } uselistorder label LBL_22, { 7, 1, 0, 2, 3, 4, 8, 5, 9, 6 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_10, { 1, 0, 2, 3 } }
1
BinRealVul
drop_futex_key_refs_7193
drop_futex_key_refs
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = call i32 @puts(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0)) %3 = sext i32 %2 to i64 store i64 %3, i64* %rax.0.reg2mem br label LBL_4 LBL_2: %4 = ptrtoint i64* %arg1 to i64 %5 = add i64 %4, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = urem i64 %7, 4 %9 = icmp eq i64 %8, 1 %10 = icmp eq i64 %8, 2 %11 = icmp eq i1 %10, false %or.cond = or i1 %9, %11 store i64 %8, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_4, label LBL_3 LBL_3: %12 = call i64 @FUNC(i64 %4) store i64 %12, 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 %8, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_4, { 1, 0, 2 } }
0
BinRealVul
wl1271_spi_init_18541
wl1271_spi_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %0 = call i64 @FUNC(i64 8, i64 0) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_0, i64 0, i64 0)) store i64 %3, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %4 = inttoptr i64 %0 to i8* %5 = ptrtoint i64* %arg1 to i64 %6 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 5) %7 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 16) %8 = call i64 @FUNC(i64* nonnull %sv_0) %9 = add i64 %0, 2 %10 = inttoptr i64 %9 to i8* store i8 -1, i8* %10, align 1 %11 = add i64 %0, 3 %12 = inttoptr i64 %11 to i8* store i8 -1, i8* %12, align 1 %13 = add i64 %0, 1 %14 = inttoptr i64 %13 to i8* store i8 3, i8* %14, align 1 store i8 0, i8* %4, align 1 %15 = add i64 %0, 7 %16 = inttoptr i64 %15 to i8* store i8 0, i8* %16, align 1 %17 = add i64 %0, 6 %18 = inttoptr i64 %17 to i8* %19 = load i8, i8* %18, align 1 %20 = or i8 %19, 24 store i8 %20, i8* %18, align 1 %21 = add i64 %0, 5 %22 = inttoptr i64 %21 to i8* %23 = load i8, i8* %22, align 1 %24 = or i8 %23, -16 store i8 %24, i8* %22, align 1 %25 = load i8, i8* %14, align 1 %26 = sext i8 %25 to i64 store i64 %26, i64* %sv_1, align 8 %27 = call i64 @FUNC(i64 0, i64* nonnull %sv_1, i64 5) %.tr = trunc i64 %27 to i8 %28 = mul i8 %.tr, 2 %29 = add i64 %0, 4 %30 = inttoptr i64 %29 to i8* %31 = load i8, i8* %30, align 1 %32 = or i8 %31, %28 %33 = or i8 %32, 4 store i8 %33, i8* %30, align 1 store i64 %0, i64* %sv_0, align 8 %34 = call i64 @FUNC(i64* nonnull %sv_0, i64* nonnull %sv_0) %35 = call i64 @FUNC(i64 %5) %36 = call i64 @FUNC(i64 %35, i64* nonnull %sv_0) %37 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i64 %0, i64 8) store i64 %37, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %sv_1, { 0, 2, 1 } uselistorder i64* %sv_0, { 0, 1, 2, 5, 3, 4 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i8 0, { 1, 2, 0 } uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 } }
1
BinRealVul
vnc_display_close_651
vnc_display_close
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem2 = alloca i64 %.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null br i1 %0, label LBL_12, label LBL_1 LBL_1: %1 = ptrtoint i64* %arg1 to i64 %2 = bitcast i64* %arg1 to i8* store i8 0, i8* %2, align 1 %3 = add i64 %1, 1 %4 = inttoptr i64 %3 to i8* store i8 0, i8* %4, align 1 %5 = add i64 %1, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = icmp eq i64 %7, 0 br i1 %8, label LBL_5, label LBL_2 LBL_2: %9 = add i64 %1, 16 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp eq i32 %11, 0 store i64 %7, i64* %.reg2mem br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = zext i32 %11 to i64 %14 = call i64 @FUNC(i64 %13) %.pre = load i64, i64* %6, align 8 store i64 %.pre, i64* %.reg2mem br label LBL_4 LBL_4: %.reload = load i64, i64* %.reg2mem %15 = call i64 @FUNC(i64 %.reload) store i64 0, i64* %6, align 8 br label LBL_5 LBL_5: %16 = add i64 %1, 20 %17 = inttoptr i64 %16 to i8* store i8 0, i8* %17, align 1 %18 = add i64 %1, 24 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = icmp eq i64 %20, 0 br i1 %21, label LBL_9, label LBL_6 LBL_6: %22 = add i64 %1, 32 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = icmp eq i32 %24, 0 store i64 %20, i64* %.reg2mem2 br i1 %25, label LBL_8, label LBL_7 LBL_7: %26 = zext i32 %24 to i64 %27 = call i64 @FUNC(i64 %26) %.pre1 = load i64, i64* %19, align 8 store i64 %.pre1, i64* %.reg2mem2 br label LBL_8 LBL_8: %.reload3 = load i64, i64* %.reg2mem2 %28 = call i64 @FUNC(i64 %.reload3) store i64 0, i64* %19, align 8 br label LBL_9 LBL_9: %29 = add i64 %1, 36 %30 = inttoptr i64 %29 to i32* store i32 -1, i32* %30, align 4 %31 = add i64 %1, 40 %32 = inttoptr i64 %31 to i32* store i32 -1, i32* %32, align 4 %33 = add i64 %1, 48 %34 = inttoptr i64 %33 to i64* %35 = load i64, i64* %34, align 8 %36 = icmp eq i64 %35, 0 br i1 %36, label LBL_11, label LBL_10 LBL_10: %37 = call i64 @FUNC(i64 %35) store i64 0, i64* %34, align 8 br label LBL_11 LBL_11: %38 = add i64 %1, 56 %39 = inttoptr i64 %38 to i64* %40 = load i64, i64* %39, align 8 %41 = call i64 @FUNC(i64 %40) store i64 0, i64* %39, align 8 store i64 %1, 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* %19, { 1, 0, 2 } uselistorder i64* %6, { 1, 0, 2 } uselistorder i64 %1, { 0, 1, 2, 3, 4, 6, 5, 7, 9, 8, 10 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem2, { 0, 2, 1 } uselistorder i64 (i64)* @object_unref, { 1, 0 } uselistorder i64 (i64)* @g_source_remove, { 1, 0 } uselistorder i64* %arg1, { 0, 2, 1 } uselistorder label LBL_12, { 1, 0 } }
0
BinRealVul
read_naa_id_16787
read_naa_id
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 1 %2 = inttoptr i64 %1 to i8* %3 = load i8, i8* %2, align 1 %4 = urem i8 %3, 16 %5 = icmp eq i8 %4, 3 %6 = icmp eq i1 %5, false br i1 %6, label LBL_3, label LBL_1 LBL_1: %7 = add i64 %0, 3 %8 = inttoptr i64 %7 to i8* %9 = load i8, i8* %8, align 1 %10 = icmp eq i8 %9, 8 store i64 4294967274, i64* %rax.0.reg2mem br i1 %10, label LBL_2, label LBL_10 LBL_2: %11 = add i64 %0, 4 %12 = call i64 @FUNC(i64 %11) store i64 %12, i64* %arg2, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_10 LBL_3: %13 = icmp eq i8 %4, 8 %14 = icmp eq i1 %13, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %14, label LBL_10, label LBL_4 LBL_4: %15 = add i64 %0, 3 %16 = inttoptr i64 %15 to i8* %17 = load i8, i8* %16, align 1 %18 = icmp ult i8 %17, 20 store i64 4294967274, i64* %rax.0.reg2mem br i1 %18, label LBL_10, label LBL_5 LBL_5: %19 = add i64 %0, 4 %20 = inttoptr i64 %19 to i64* %21 = call i32 @memcmp(i64* %20, i64* bitcast ([5 x i8]* @gv_0 to i64*), i32 4) %22 = icmp eq i32 %21, 0 store i64 4294967274, i64* %rax.0.reg2mem br i1 %22, label LBL_6, label LBL_10 LBL_6: %23 = load i8, i8* %16, align 1 %24 = icmp ult i8 %23, 21 br i1 %24, label LBL_8, label LBL_7 LBL_7: %25 = add i64 %0, 24 %26 = inttoptr i64 %25 to i8* %27 = load i8, i8* %26, align 1 %28 = icmp eq i8 %27, 44 store i64 4294967274, i64* %rax.0.reg2mem br i1 %28, label LBL_8, label LBL_10 LBL_8: store i64 0, i64* %arg2, align 8 store i64 8, i64* %indvars.iv.reg2mem br label LBL_9 LBL_9: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %29 = add i64 %indvars.iv.reload, %0 %30 = inttoptr i64 %29 to i8* %31 = load i8, i8* %30, align 1 %32 = zext i8 %31 to i32 %33 = call i32 @toupper(i32 %32) %34 = trunc i32 %33 to i8 %35 = zext i32 %33 to i64 %.off = add i8 %34, -48 %36 = icmp ugt i8 %.off, 9 %storemerge1 = select i1 %36, i64 55, i64 48 %37 = sub nsw i64 %35, %storemerge1 %sext = mul i64 %37, 72057594037927936 %38 = ashr exact i64 %sext, 56 %39 = or i64 %38, shl (i64 ptrtoint ([5 x i8]* @gv_0 to i64), i64 4) store i64 %39, i64* %arg2, align 8 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 24 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %exitcond, label LBL_10, label LBL_9 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8 %4, { 1, 0 } uselistorder i64 %0, { 0, 1, 4, 3, 5, 2, 6 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 5, 4, 2, 7, 6 } uselistorder i64 4294967274, { 1, 3, 2, 0, 4 } uselistorder label LBL_10, { 0, 2, 4, 3, 1, 6, 5 } }
1
BinRealVul
snd_usbmidi_emagic_init_out_8090
snd_usbmidi_emagic_init_out
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64* nonnull @gv_0, i64 9) %2 = call i64 @FUNC(i64 %0, i64* nonnull @gv_0, i64 9) ret i64 %2 uselistorder i64 (i64, i64*, i64)* @send_bulk_static_data, { 1, 0 } }
0
BinRealVul
get_qcc_1333
get_qcc
define i64 @FUNC(i32* %arg1, i64 %arg2, i32* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i32* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp slt i32 %2, 0 %5 = icmp eq i1 %4, false %6 = icmp eq i1 %3, false %7 = icmp eq i1 %5, %6 store i64 4294967274, i64* %storemerge.reg2mem br i1 %7, label LBL_1, label LBL_2 LBL_1: %8 = ptrtoint i64* %arg4 to i64 %9 = call i64 @FUNC(i64 %0) %sext4 = mul i64 %9, 4294967296 %10 = ashr exact i64 %sext4, 32 %11 = add i64 %10, %8 %12 = inttoptr i64 %11 to i8* %13 = load i8, i8* %12, align 1 %14 = or i8 %13, 1 store i8 %14, i8* %12, align 1 %15 = add i64 %arg2, 4294967295 %16 = ptrtoint i32* %arg3 to i64 %17 = and i64 %15, 4294967295 %18 = call i64 @FUNC(i64 %0, i64 %17, i64 %16) store i64 %18, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %2, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i1 false, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
postprocess_chroma_1673
postprocess_chroma
define i64 @FUNC(i64* %arg1, i32 %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %storemerge1.lcssa.reg2mem = alloca i64 %sv_0.08.reg2mem = alloca i64 %sv_1.010.reg2mem = alloca i64 %storemerge112.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 32 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = add i64 %0, 40 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = icmp sgt i32 %arg3, 0 store i64 0, i64* %storemerge1.lcssa.reg2mem br i1 %7, label LBL_1, label LBL_6 LBL_1: %8 = lshr i64 %3, 63 %9 = add i64 %8, %3 %10 = and i64 %9, -2 %11 = lshr i64 %6, 63 %12 = add i64 %11, %6 %13 = and i64 %12, -2 %14 = add i32 %arg4, 31 %15 = urem i32 %14, 32 %16 = shl i32 1, %15 %17 = add i64 %0, 16 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = add i64 %0, 8 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = sub i32 16, %arg4 %24 = icmp sgt i32 %arg2, 0 %25 = urem i32 %23, 32 %wide.trip.count = zext i32 %arg2 to i64 store i32 0, i32* %storemerge112.reg2mem store i64 %19, i64* %sv_1.010.reg2mem store i64 %22, i64* %sv_0.08.reg2mem br label LBL_4 LBL_2: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %26 = mul i64 %indvars.iv.reload, 2 %27 = add i64 %26, %sv_0.08.reload %28 = inttoptr i64 %27 to i16* %29 = load i16, i16* %28, align 2 %30 = sext i16 %29 to i32 %31 = add i32 %16, %30 %32 = shl i32 %31, %25 %33 = trunc i32 %32 to i16 store i16 %33, i16* %28, align 2 %34 = add i64 %26, %sv_1.010.reload %35 = inttoptr i64 %34 to i16* %36 = load i16, i16* %35, align 2 %37 = sext i16 %36 to i32 %38 = add i32 %16, %37 %39 = shl i32 %38, %25 %40 = trunc i32 %39 to i16 store i16 %40, i16* %35, align 2 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_3, label LBL_2 LBL_3: %41 = add i64 %sv_0.08.reload, %10 %42 = add i64 %sv_1.010.reload, %13 %43 = add nuw nsw i32 %storemerge112.reload, 1 %exitcond13 = icmp eq i32 %43, %arg3 store i32 %43, i32* %storemerge112.reg2mem store i64 %42, i64* %sv_1.010.reg2mem store i64 %41, i64* %sv_0.08.reg2mem br i1 %exitcond13, label LBL_5, label LBL_4 LBL_4: %sv_0.08.reload = load i64, i64* %sv_0.08.reg2mem %sv_1.010.reload = load i64, i64* %sv_1.010.reg2mem %storemerge112.reload = load i32, i32* %storemerge112.reg2mem store i64 0, i64* %indvars.iv.reg2mem br i1 %24, label LBL_2, label LBL_3 LBL_5: %phitmp = zext i32 %arg3 to i64 store i64 %phitmp, i64* %storemerge1.lcssa.reg2mem br label LBL_6 LBL_6: %storemerge1.lcssa.reload = load i64, i64* %storemerge1.lcssa.reg2mem ret i64 %storemerge1.lcssa.reload uselistorder i64 %26, { 1, 0 } uselistorder i32 %25, { 1, 0 } uselistorder i64 %0, { 3, 2, 0, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 2, 0 } uselistorder i64* %storemerge1.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32 %arg3, { 1, 0, 2 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
cache_insert_2478
cache_insert
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = and i64 %0, 4294967295 %2 = call i64 @FUNC(i64 %1) %3 = call i64 @FUNC(i64 %1) %4 = call i64 @FUNC(i64 %0, i64 %arg2) %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = call i64 @FUNC(i64 %6) %8 = load i64, i64* %5, align 8 %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_2, label LBL_1 LBL_1: %11 = add i64 %0, 8 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = add i32 %13, 1 store i32 %14, i32* %12, align 4 br label LBL_2 LBL_2: store i64 %arg3, i64* %5, align 8 %15 = add i64 %0, 12 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = add i32 %17, 1 store i32 %18, i32* %16, align 4 %19 = add i64 %4, 16 %20 = inttoptr i64 %19 to i32* store i32 %18, i32* %20, align 4 %21 = add i64 %4, 8 %22 = inttoptr i64 %21 to i64* store i64 %arg2, i64* %22, align 8 ret i64 %4 uselistorder i64 %0, { 1, 0, 3, 2 } uselistorder i64 (i64)* @g_assert, { 1, 0 } }
0
BinRealVul
av_buffersink_get_frame_13875
av_buffersink_get_frame
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 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 = call i64 @FUNC(i64 %5) %7 = trunc i64 %6 to i32 %8 = icmp slt i32 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = and i64 %6, 4294967295 store i64 %10, i64* %rax.0.reg2mem br label LBL_4 LBL_2: %11 = icmp eq i64 %5, 0 %12 = icmp eq i1 %11, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %12, label LBL_3, label LBL_4 LBL_3: %13 = ptrtoint i64* %arg2 to i64 %14 = call i64 @FUNC(i64 %13, i64 %5) %15 = call i64 @FUNC(i64 %0) store i64 0, 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 %5, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder label LBL_4, { 1, 0, 2 } }
1
BinRealVul
bdrv_all_can_snapshot_14352
bdrv_all_can_snapshot
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0.2.reg2mem = alloca i32 %storemerge.lcssa.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_0.12.reg2mem = alloca i32 %storemerge3.reg2mem = alloca i64 %sv_1 = alloca i64, align 8 %0 = call i64 @FUNC(i64* nonnull %sv_1) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 %0, i64* %storemerge3.reg2mem store i32 1, i32* %sv_0.12.reg2mem store i64 %0, i64* %storemerge.lcssa.reg2mem store i32 1, i32* %sv_0.2.reg2mem br i1 %2, label LBL_1, label LBL_6 LBL_1: %sv_0.12.reload = load i32, i32* %sv_0.12.reg2mem %storemerge3.reload = load i64, i64* %storemerge3.reg2mem %3 = call i64 @FUNC(i64 %storemerge3.reload) store i64 %3, i64* %sv_1, align 8 %4 = call i64 @FUNC(i64 %3) %5 = call i64 @FUNC(i64 %storemerge3.reload) %6 = trunc i64 %5 to i8 %7 = icmp eq i8 %6, 0 store i32 %sv_0.12.reload, i32* %sv_0.0.reg2mem br i1 %7, label LBL_4, label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %storemerge3.reload) %9 = trunc i64 %8 to i8 %10 = icmp eq i8 %9, 1 store i32 %sv_0.12.reload, i32* %sv_0.0.reg2mem br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = call i64 @FUNC(i64 %storemerge3.reload) %12 = trunc i64 %11 to i32 %sext = mul i32 %12, 16777216 %13 = ashr exact i32 %sext, 24 store i32 %13, i32* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %14 = load i64, i64* %sv_1, align 8 %15 = call i64 @FUNC(i64 %14) %16 = trunc i32 %sv_0.0.reload to i8 %17 = icmp eq i8 %16, 1 %18 = icmp eq i1 %17, false store i64 %storemerge3.reload, i64* %storemerge.lcssa.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.2.reg2mem br i1 %18, label LBL_6, label LBL_5 LBL_5: %19 = call i64 @FUNC(i64* nonnull %sv_1) %20 = icmp eq i64 %19, 0 %21 = icmp eq i1 %20, false store i64 %19, i64* %storemerge3.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.12.reg2mem store i64 %19, i64* %storemerge.lcssa.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.2.reg2mem br i1 %21, label LBL_1, label LBL_6 LBL_6: %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem store i64 %storemerge.lcssa.reload, i64* %arg1, align 8 %22 = urem i32 %sv_0.2.reload, 256 %23 = zext i32 %22 to i64 ret i64 %23 uselistorder i32 %sv_0.0.reload, { 1, 3, 0, 2 } uselistorder i64 %storemerge3.reload, { 0, 1, 2, 4, 3 } uselistorder i64* %sv_1, { 0, 2, 3, 1 } uselistorder i64* %storemerge3.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.12.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.lcssa.reg2mem, { 0, 2, 1, 3 } uselistorder i32* %sv_0.2.reg2mem, { 0, 2, 1, 3 } uselistorder i1 false, { 2, 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
o_stream_send_18811
o_stream_send
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %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 %storemerge = select i1 %4, i64 %0, i64 -1 ret i64 %storemerge }
1
BinRealVul
lock_sock_fast_8328
lock_sock_fast
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC() %2 = call i64 @FUNC(i64 %0) %3 = add i64 %0, 4 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false store i64 0, i64* %storemerge.reg2mem br i1 %7, label LBL_1, label LBL_2 LBL_1: %8 = call i64 @FUNC(i64 %0) store i32 1, i32* %4, align 4 %9 = call i64 @FUNC(i64 %0) %10 = add i64 %0, 8 %11 = call i64 @FUNC(i64 %10, i64 0, i64 0, i64 0) %12 = call i64 @FUNC() store i64 1, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 1, 0, 2, 3, 4 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
jspGetNamedFieldInParents_6448
jspGetNamedFieldInParents
define i64 @FUNC(i64 %arg1, i64 %arg2, i8 %arg3) local_unnamed_addr { LBL_0: %sv_0.4.reg2mem = alloca i64 %sv_0.3.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg1, i64 %arg2) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 %0, i64* %sv_0.0.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC(i64 %arg1, i64 %arg2) store i64 %3, i64* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %4 = icmp eq i64 %sv_0.0.reload, 0 %5 = icmp eq i8 %arg3, 0 %or.cond = or i1 %5, %4 store i64 %sv_0.0.reload, i64* %sv_0.2.reg2mem br i1 %or.cond, label LBL_6, label LBL_3 LBL_3: %6 = call i64 @FUNC(i64 %sv_0.0.reload) %7 = trunc i64 %6 to i8 %8 = icmp eq i8 %7, 0 store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br i1 %8, label LBL_5, label LBL_4 LBL_4: %9 = call i64 @FUNC(i64 %sv_0.0.reload) %10 = call i64 @FUNC(i64 %sv_0.0.reload) store i64 %9, i64* %sv_0.1.reg2mem br label LBL_5 LBL_5: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %11 = call i64 @FUNC(i64 %arg2) %12 = call i64 @FUNC(i64 %arg1, i64 %11, i64 %sv_0.1.reload) %13 = call i64 @FUNC(i64 %11, i64 %sv_0.1.reload) store i64 %12, i64* %sv_0.2.reg2mem br label LBL_6 LBL_6: %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem %14 = icmp eq i64 %sv_0.2.reload, 0 %15 = icmp eq i1 %14, false store i64 %sv_0.2.reload, i64* %sv_0.4.reg2mem br i1 %15, label LBL_15, label LBL_7 LBL_7: %16 = call i64 @FUNC(i64 %arg1) %17 = trunc i64 %16 to i8 %18 = icmp eq i8 %17, 0 %.pre = inttoptr i64 %arg2 to i8* br i1 %18, label LBL_10, label LBL_8 LBL_8: %19 = call i32 @strcmp(i8* %.pre, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0)) %20 = icmp eq i32 %19, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_10, label LBL_9 LBL_9: %22 = call i64 @FUNC() %23 = call i64 @FUNC(i64 %22, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0), i64 %arg1) %24 = call i64 @FUNC(i64 %arg1, i64 %22, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0)) %25 = call i64 @FUNC(i64 %arg1, i64 %24) %26 = call i64 @FUNC(i64 %22) store i64 %24, i64* %sv_0.4.reg2mem br label LBL_15 LBL_10: %27 = call i32 @strcmp(i8* %.pre, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0)) %28 = icmp eq i32 %27, 0 %29 = icmp eq i1 %28, false store i64 %sv_0.2.reload, i64* %sv_0.4.reg2mem br i1 %29, label LBL_15, label LBL_11 LBL_11: %30 = call i64 @FUNC(i64 %arg1) %31 = icmp eq i64 %30, 0 store i64 %sv_0.2.reload, i64* %sv_0.4.reg2mem br i1 %31, label LBL_15, label LBL_12 LBL_12: %32 = call i64 @FUNC(i64 %30) %33 = call i64 @FUNC(i64 %32) %34 = call i64 @FUNC(i64 ptrtoint ([9 x i8]* @gv_2 to i64)) %35 = icmp eq i64 %33, 0 store i64 %sv_0.2.reload, i64* %sv_0.3.reg2mem br i1 %35, label LBL_14, label LBL_13 LBL_13: %36 = call i64 @FUNC(i64 %arg1, i64 %34, i64 %33) store i64 %36, i64* %sv_0.3.reg2mem br label LBL_14 LBL_14: %sv_0.3.reload = load i64, i64* %sv_0.3.reg2mem %37 = call i64 @FUNC(i64 %34) store i64 %sv_0.3.reload, i64* %sv_0.4.reg2mem br label LBL_15 LBL_15: %sv_0.4.reload = load i64, i64* %sv_0.4.reg2mem ret i64 %sv_0.4.reload uselistorder i64 %sv_0.2.reload, { 3, 0, 1, 2, 4 } uselistorder i64 %sv_0.0.reload, { 4, 5, 1, 2, 0, 3 } uselistorder i64* %sv_0.4.reg2mem, { 0, 2, 3, 4, 1, 5 } uselistorder [9 x i8]* @gv_2, { 1, 0 } uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 } uselistorder i64 (i64, i64, i64)* @jsvCreateNewChild, { 1, 0 } uselistorder i64 (i64)* @jsvNewFromString, { 1, 0 } uselistorder i64 (i64)* @jsvUnLock, { 2, 1, 0 } uselistorder i8 0, { 1, 2, 0 } uselistorder i32 1, { 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %arg2, { 0, 2, 1, 3 } uselistorder i64 %arg1, { 5, 6, 4, 3, 2, 7, 1, 0, 8 } uselistorder label LBL_10, { 1, 0 } }
0
BinRealVul
net_tx_pkt_do_sw_csum_2361
net_tx_pkt_do_sw_csum
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %sv_1 = alloca i16, align 2 store i16 0, i16* %sv_1, align 2 %1 = add i64 %0, 48 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = trunc i64 %3 to i32 %5 = add i64 %0, 64 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = add i64 %0, 72 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = add i64 %10, %7 %12 = call i64 @FUNC(i64 %0, i32 %4, i64 %11, i16* nonnull %sv_1, i64 2) %13 = add i64 %0, 56 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = trunc i64 %15 to i16 %17 = add i64 %0, 32 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = urem i64 %15, 65536 %21 = bitcast i32* %sv_0 to i64* %22 = call i64 @FUNC(i64 %19, i64 %20, i64* nonnull %21) %23 = load i32, i32* %sv_0, align 4 %24 = load i64, i64* %6, align 8 %25 = zext i32 %23 to i64 %26 = call i64 @FUNC(i64 %0, i32 %4, i64 %24, i16 %16, i64 %25) %27 = add i64 %26, %22 %28 = and i64 %27, 4294967295 %29 = call i64 @FUNC(i64 %28) %30 = urem i64 %29, 65536 %31 = call i64 @FUNC(i64 %30) %32 = trunc i64 %31 to i16 store i16 %32, i16* %sv_1, align 2 %33 = call i64 @FUNC(i64 %0, i32 %4, i64 %11, i16* nonnull %sv_1, i64 2) ret i64 %33 uselistorder i16* %sv_1, { 0, 2, 1, 3 } uselistorder i64 %0, { 7, 6, 2, 1, 5, 0, 3, 4 } uselistorder i64 (i64, i32, i64, i16*, i64)* @iov_from_buf, { 1, 0 } }
0
BinRealVul
hexdump_6406
hexdump
define i64 @FUNC(i64 %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %.pre-phi.reg2mem = alloca i64 %rcx.4.reg2mem = alloca i64 %sv_0.3.reg2mem = alloca i32 %rcx.3.lcssa.reg2mem = alloca i64 %sv_0.2.lcssa.reg2mem = alloca i32 %rcx.2.reg2mem = alloca i64 %sv_0.24.reg2mem = alloca i32 %rcx.35.reg2mem = alloca i64 %storemerge16.reg2mem = alloca i32 %.pn.reg2mem = alloca i32 %rcx.1.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_0.48.reg2mem = alloca i32 %rcx.59.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %3 = urem i32 %arg3, 16 %4 = icmp eq i32 %3, 0 %5 = sub nsw i32 16, %3 %spec.select = select i1 %4, i32 0, i32 %5 %6 = add i32 %spec.select, %arg3 %7 = icmp eq i32 %6, 0 store i64 0, i64* %.pre-phi.reg2mem br i1 %7, label LBL_18, label LBL_1 LBL_1: %8 = ptrtoint i64* %arg2 to i64 %9 = ptrtoint i64* %sv_2 to i64 %10 = ptrtoint i64* %sv_1 to i64 %11 = add i64 %9, -96 %12 = zext i32 %arg3 to i64 %wide.trip.count = zext i32 %6 to i64 store i64 0, i64* %indvars.iv.reg2mem store i32 0, i32* %sv_0.48.reg2mem br label LBL_2 LBL_2: %sv_0.48.reload = load i32, i32* %sv_0.48.reg2mem %rcx.59.reload = load i64, i64* %rcx.59.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %13 = trunc i64 %indvars.iv.reload to i32 %14 = urem i32 %13, 16 %15 = icmp eq i32 %14, 0 %16 = icmp eq i1 %15, false store i32 %sv_0.48.reload, i32* %sv_0.0.reg2mem store i64 %rcx.59.reload, i64* %rcx.0.reg2mem br i1 %16, label LBL_4, label LBL_3 LBL_3: %17 = sext i32 %sv_0.48.reload to i64 %18 = add i64 %17, %10 %19 = inttoptr i64 %18 to i8* %20 = call i32 (i8*, i8*, ...) @sprintf(i8* %19, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i32 %13) %21 = add i32 %20, %sv_0.48.reload store i32 %21, i32* %sv_0.0.reg2mem store i64 %18, i64* %rcx.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %22 = icmp ult i64 %indvars.iv.reload, %12 %23 = icmp eq i1 %22, false br i1 %23, label LBL_6, label LBL_5 LBL_5: %24 = add i64 %indvars.iv.reload, %8 %25 = inttoptr i64 %24 to i8* %26 = load i8, i8* %25, align 1 %27 = sext i32 %sv_0.0.reload to i64 %28 = add i64 %27, %10 %29 = zext i8 %26 to i32 %30 = inttoptr i64 %28 to i8* %31 = call i32 (i8*, i8*, ...) @sprintf(i8* %30, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i32 %29) store i64 %28, i64* %rcx.1.reg2mem store i32 %31, i32* %.pn.reg2mem br label LBL_7 LBL_6: %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %32 = sext i32 %sv_0.0.reload to i64 %33 = add i64 %32, %10 %34 = inttoptr i64 %33 to i8* %35 = call i32 (i8*, i8*, ...) @sprintf(i8* %34, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0)) store i64 %rcx.0.reload, i64* %rcx.1.reg2mem store i32 %35, i32* %.pn.reg2mem br label LBL_7 LBL_7: %.pn.reload = load i32, i32* %.pn.reg2mem %rcx.1.reload = load i64, i64* %rcx.1.reg2mem %storemerge2 = add i32 %.pn.reload, %sv_0.0.reload %36 = icmp eq i32 %14, 15 %37 = icmp eq i1 %36, false store i32 %storemerge2, i32* %sv_0.3.reg2mem store i64 %rcx.1.reload, i64* %rcx.4.reg2mem br i1 %37, label LBL_17, label LBL_8 LBL_8: %38 = icmp ult i64 %indvars.iv.reload, 15 store i32 %storemerge2, i32* %sv_0.2.lcssa.reg2mem store i64 %rcx.1.reload, i64* %rcx.3.lcssa.reg2mem br i1 %38, label LBL_16, label LBL_9 LBL_9: %39 = add i32 %13, -15 store i32 %39, i32* %storemerge16.reg2mem store i64 %rcx.1.reload, i64* %rcx.35.reg2mem store i32 %storemerge2, i32* %sv_0.24.reg2mem br label LBL_10 LBL_10: %sv_0.24.reload = load i32, i32* %sv_0.24.reg2mem %storemerge16.reload = load i32, i32* %storemerge16.reg2mem %40 = icmp ult i32 %storemerge16.reload, %arg3 br i1 %40, label LBL_12, label LBL_11 LBL_11: %rcx.35.reload = load i64, i64* %rcx.35.reg2mem %41 = sext i32 %sv_0.24.reload to i64 %42 = add i64 %11, %41 %43 = inttoptr i64 %42 to i8* store i8 32, i8* %43, align 1 store i64 %rcx.35.reload, i64* %rcx.2.reg2mem br label LBL_15 LBL_12: %44 = call i16** @__ctype_b_loc() %45 = load i16*, i16** %44, align 8 %46 = ptrtoint i16* %45 to i64 %47 = zext i32 %storemerge16.reload to i64 %48 = add i64 %47, %8 %49 = inttoptr i64 %48 to i8* %50 = load i8, i8* %49, align 1 %51 = sext i8 %50 to i64 %52 = mul i64 %51, 2 %53 = add i64 %52, %46 %54 = inttoptr i64 %53 to i16* %55 = load i16, i16* %54, align 2 %56 = and i16 %55, 16384 %57 = icmp eq i16 %56, 0 %58 = sext i32 %sv_0.24.reload to i64 %59 = add i64 %11, %58 %60 = inttoptr i64 %59 to i8* br i1 %57, label LBL_14, label LBL_13 LBL_13: store i8 %50, i8* %60, align 1 store i64 %48, i64* %rcx.2.reg2mem br label LBL_15 LBL_14: store i8 46, i8* %60, align 1 store i64 %47, i64* %rcx.2.reg2mem br label LBL_15 LBL_15: %rcx.2.reload = load i64, i64* %rcx.2.reg2mem %sv_0.1 = add i32 %sv_0.24.reload, 1 %61 = add i32 %storemerge16.reload, 1 %62 = zext i32 %61 to i64 %63 = icmp ult i64 %indvars.iv.reload, %62 store i32 %61, i32* %storemerge16.reg2mem store i64 %rcx.2.reload, i64* %rcx.35.reg2mem store i32 %sv_0.1, i32* %sv_0.24.reg2mem store i32 %sv_0.1, i32* %sv_0.2.lcssa.reg2mem store i64 %rcx.2.reload, i64* %rcx.3.lcssa.reg2mem br i1 %63, label LBL_16, label LBL_10 LBL_16: %rcx.3.lcssa.reload = load i64, i64* %rcx.3.lcssa.reg2mem %sv_0.2.lcssa.reload = load i32, i32* %sv_0.2.lcssa.reg2mem %64 = add i32 %sv_0.2.lcssa.reload, 1 %65 = sext i32 %sv_0.2.lcssa.reload to i64 %66 = add i64 %11, %65 %67 = inttoptr i64 %66 to i8* store i8 10, i8* %67, align 1 %68 = sext i32 %64 to i64 %69 = add i64 %11, %68 %70 = inttoptr i64 %69 to i8* store i8 0, i8* %70, align 1 %71 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_3, i64 0, i64 0), i64* nonnull %sv_1, i64 %rcx.3.lcssa.reload, i64 %2, i64 %1) store i32 0, i32* %sv_0.3.reg2mem store i64 %rcx.3.lcssa.reload, i64* %rcx.4.reg2mem br label LBL_17 LBL_17: %rcx.4.reload = load i64, i64* %rcx.4.reg2mem %sv_0.3.reload = load i32, i32* %sv_0.3.reg2mem %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 %rcx.4.reload, i64* %rcx.59.reg2mem store i32 %sv_0.3.reload, i32* %sv_0.48.reg2mem store i64 %wide.trip.count, i64* %.pre-phi.reg2mem br i1 %exitcond, label LBL_18, label LBL_2 LBL_18: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem ret i64 %.pre-phi.reload uselistorder i32 %sv_0.2.lcssa.reload, { 1, 0 } uselistorder i8* %60, { 1, 0 } uselistorder i32 %sv_0.24.reload, { 0, 2, 1 } uselistorder i32 %storemerge2, { 2, 1, 0 } uselistorder i64 %rcx.1.reload, { 2, 1, 0 } uselistorder i32 %sv_0.0.reload, { 2, 0, 1 } uselistorder i32 %14, { 1, 0 } uselistorder i32 %13, { 1, 2, 0 } uselistorder i64 %indvars.iv.reload, { 0, 4, 3, 5, 1, 2 } uselistorder i32 %sv_0.48.reload, { 2, 1, 0 } uselistorder i64 %11, { 1, 2, 0, 3 } uselistorder i32 %3, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rcx.59.reg2mem, { 1, 0 } uselistorder i32* %sv_0.48.reg2mem, { 1, 0, 2 } uselistorder i64* %rcx.1.reg2mem, { 0, 2, 1 } uselistorder i32* %.pn.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge16.reg2mem, { 1, 0, 2 } uselistorder i64* %rcx.35.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.24.reg2mem, { 1, 0, 2 } uselistorder i64* %rcx.2.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i32 (i8*, i8*, ...)* @sprintf, { 2, 1, 0 } uselistorder i32 0, { 0, 4, 1, 2, 3, 5 } uselistorder i32 16, { 0, 2, 1, 3 } uselistorder i32 %arg3, { 3, 2, 1, 0 } uselistorder label LBL_10, { 1, 0 } }
0
BinRealVul
qemu_coroutine_enter_349
qemu_coroutine_enter
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() %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i64 %1, i64 %0, i64 %4) %6 = icmp eq i64 %1, 0 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %8 = call i32 @fwrite(i64* bitcast ([35 x i8]* @gv_1 to i64*), i32 1, i32 34, %_IO_FILE* %7) call void @abort() unreachable LBL_2: store i64 0, i64* %arg1, align 8 %9 = call i64 @FUNC() %10 = add i64 %0, 16 %11 = inttoptr i64 %10 to i64* store i64 %9, i64* %11, align 8 %12 = call i64 @FUNC() %13 = call i64 @FUNC(i64 0, i64 %0, i64 2) %14 = trunc i64 %13 to i32 %15 = call i64 @FUNC(i64 %0) %16 = icmp eq i32 %14, 0 store i64 %15, i64* %rax.0.reg2mem br i1 %16, label LBL_8, label LBL_3 LBL_3: %17 = icmp eq i32 %14, 1 %18 = icmp eq i1 %17, false br i1 %18, label LBL_7, label LBL_4 LBL_4: %19 = add i64 %0, 24 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = icmp eq i32 %21, 0 br i1 %22, label LBL_6, label LBL_5 LBL_5: call void @__assert_fail(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_3, i64 0, i64 0), i32 69, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_4, i64 0, i64 0)) br label LBL_6 LBL_6: %23 = call i64 @FUNC(i64 %0) %24 = call i64 @FUNC(i64 %0) store i64 %24, i64* %rax.0.reg2mem br label LBL_8 LBL_7: call void @abort() unreachable LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 1, 0, 2, 4, 3, 5, 6, 7 } uselistorder void ()* @abort, { 1, 0 } uselistorder label LBL_8, { 1, 0 } }
0
BinRealVul
ip_mc_init_dev_8992
ip_mc_init_dev
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC() %1 = inttoptr i64 %arg1 to i64* store i64 0, i64* %1, align 8 %2 = add i64 %arg1, 8 %3 = call i64 @FUNC(i64 %2) ret i64 %3 }
0
BinRealVul
acm_tty_write_room_8100
acm_tty_write_room
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %.op = and i64 %1, 4294967295 %storemerge = select i1 %5, i64 0, i64 %.op ret i64 %storemerge }
0
BinRealVul
h261_decode_mb_skipped_18754
h261_decode_mb_skipped
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %storemerge.in10.reg2mem = alloca i64 %storemerge11.reg2mem = alloca i64 %.reg2mem = alloca i32 %0 = bitcast i64* %arg1 to i32* store i32 0, i32* %0, align 4 %sext = mul i64 %arg2, 4294967296 %storemerge9 = ashr exact i64 %sext, 32 %1 = trunc i64 %storemerge9 to i32 %2 = icmp slt i32 %1, %arg3 br i1 %2, label LBL_1, label LBL_5 LBL_1: %3 = ptrtoint i64* %arg1 to i64 %4 = add i64 %3, 16 %5 = inttoptr i64 %4 to i32* %6 = add i64 %3, 72 %7 = inttoptr i64 %6 to i32* %8 = add i64 %3, 4 %9 = inttoptr i64 %8 to i32* %10 = add i64 %3, 8 %11 = inttoptr i64 %10 to i32* %12 = add i64 %3, 12 %13 = inttoptr i64 %12 to i32* %14 = add i64 %3, 44 %15 = add i64 %3, 20 %16 = inttoptr i64 %15 to i32* %17 = add i64 %3, 24 %18 = inttoptr i64 %17 to i64* %19 = add i64 %3, 32 %20 = inttoptr i64 %19 to i32* %21 = add i64 %3, 36 %22 = inttoptr i64 %21 to i32* %23 = add i64 %3, 40 %24 = inttoptr i64 %23 to i32* %25 = add i64 %3, 76 %26 = inttoptr i64 %25 to i32* %27 = add i64 %3, 68 store i32 %1, i32* %.reg2mem store i64 %storemerge9, i64* %storemerge11.reg2mem store i64 %sext, i64* %storemerge.in10.reg2mem br label LBL_2 LBL_2: %storemerge.in10.reload = load i64, i64* %storemerge.in10.reg2mem %storemerge11.reload = load i64, i64* %storemerge11.reg2mem %.reload = load i32, i32* %.reg2mem %28 = load i32, i32* %7, align 4 %29 = add i32 %28, -1 %30 = icmp slt i32 %29, 0 %31 = zext i1 %30 to i32 %32 = add i32 %29, %31 %33 = urem i32 %32, 2 %.neg = ashr i32 %29, 31 %narrow = mul nsw i64 %storemerge11.reload, 780903145 %34 = udiv i64 %narrow, 4294967296 %35 = trunc i64 %34 to i32 %36 = ashr i32 %35, 1 %37 = ashr i32 %.reload, 31 %38 = sub nsw i32 %36, %37 %39 = sub i32 %.neg, %38 %reass.add = add i32 %39, %33 %reass.mul = mul i32 %reass.add, 11 %40 = add i32 %reass.mul, %.reload store i32 %40, i32* %9, align 4 %41 = load i32, i32* %7, align 4 %42 = add i32 %41, -1 %43 = icmp slt i32 %42, 0 %44 = zext i1 %43 to i32 %45 = add i32 %42, %44 %46 = ashr i32 %45, 1 %47 = and i32 %45, -2 %48 = add i32 %46, %38 %49 = add i32 %48, %47 store i32 %49, i32* %11, align 4 %50 = load i32, i32* %9, align 4 %51 = load i32, i32* %13, align 4 %52 = call i64 @FUNC(i64 %3) %53 = call i64 @FUNC(i64 %3) store i64 0, i64* %indvars.iv.reg2mem br label LBL_3 LBL_3: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %54 = mul i64 %indvars.iv.reload, 4 %55 = add i64 %14, %54 %56 = inttoptr i64 %55 to i32* store i32 -1, i32* %56, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 6 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_4, label LBL_3 LBL_4: %57 = mul i32 %49, %51 %58 = add i32 %57, %50 store i32 0, i32* %5, align 4 store i32 1, i32* %16, align 4 %59 = load i64, i64* %18, align 8 %60 = sext i32 %58 to i64 %61 = mul i64 %60, 4 %62 = add i64 %59, %61 %63 = inttoptr i64 %62 to i32* store i32 14, i32* %63, align 4 store i32 0, i32* %20, align 4 store i32 0, i32* %22, align 4 store i32 1, i32* %24, align 4 %64 = load i32, i32* %26, align 4 %65 = and i32 %64, -17 store i32 %65, i32* %26, align 4 %66 = call i64 @FUNC(i64 %3, i64 %27) %sext6 = add i64 %storemerge.in10.reload, 4294967296 %storemerge = ashr exact i64 %sext6, 32 %67 = trunc i64 %storemerge to i32 %68 = icmp slt i32 %67, %arg3 store i32 %67, i32* %.reg2mem store i64 %storemerge, i64* %storemerge11.reg2mem store i64 %sext6, i64* %storemerge.in10.reg2mem br i1 %68, label LBL_2, label LBL_5 LBL_5: ret i64 0 uselistorder i32 %38, { 1, 0 } uselistorder i32 %29, { 2, 0, 1 } uselistorder i32 %.reload, { 1, 0 } uselistorder i64 %3, { 2, 11, 10, 1, 3, 4, 5, 6, 7, 8, 0, 12, 13, 14, 15, 9 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge11.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.in10.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32 31, { 1, 0 } uselistorder i32 -1, { 2, 0, 1 } uselistorder i64 32, { 1, 2, 0 } uselistorder i64 4294967296, { 2, 1, 0 } uselistorder i32 %arg3, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
ssl23_get_server_method_12621
ssl23_get_server_method
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = trunc i64 %arg1 to i32 %1 = icmp eq i32 %0, 512 %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC() store i64 %3, i64* %rax.0.reg2mem br label LBL_10 LBL_2: %4 = icmp eq i32 %0, 768 %5 = icmp eq i1 %4, false br i1 %5, label LBL_4, label LBL_3 LBL_3: %6 = call i64 @FUNC() store i64 %6, i64* %rax.0.reg2mem br label LBL_10 LBL_4: %7 = icmp eq i32 %0, 256 %8 = icmp eq i1 %7, false br i1 %8, label LBL_6, label LBL_5 LBL_5: %9 = call i64 @FUNC() store i64 %9, i64* %rax.0.reg2mem br label LBL_10 LBL_6: %10 = icmp eq i32 %0, 257 %11 = icmp eq i1 %10, false br i1 %11, label LBL_8, label LBL_7 LBL_7: %12 = call i64 @FUNC() store i64 %12, i64* %rax.0.reg2mem br label LBL_10 LBL_8: %13 = icmp eq i32 %0, 258 %14 = icmp eq i1 %13, false store i64 0, i64* %rax.0.reg2mem br i1 %14, label LBL_10, label LBL_9 LBL_9: %15 = call i64 @FUNC() store i64 %15, 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 %0, { 3, 2, 1, 0, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 5, 4, 3, 2 } uselistorder label LBL_10, { 1, 0, 2, 3, 4, 5 } }
1
BinRealVul
entropy_available_6177
entropy_available
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false %8 = trunc i64 %1 to i32 store i64 %5, i64* %.reg2mem br i1 %7, label LBL_1, label LBL_4 LBL_1: %.reload = load i64, i64* %.reg2mem %9 = inttoptr i64 %.reload to i64* %10 = load i64, i64* %9, align 8 %11 = add i64 %10, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = inttoptr i64 %10 to i64* %15 = load i64, i64* %14, align 8 %16 = inttoptr i64 %15 to i64* %17 = trunc i64 %13 to i32 %18 = call i32 @read(i32 %8, i64* %16, i32 %17) %19 = icmp slt i32 %18, 0 %20 = icmp eq i1 %19, false br i1 %20, label LBL_3, label LBL_2 LBL_2: %21 = call i32* @__errno_location() %22 = load i32, i32* %21, align 4 %23 = icmp eq i32 %22, 11 store i64 11, i64* %rax.0.reg2mem br i1 %23, label LBL_5, label LBL_3 LBL_3: %24 = icmp eq i32 %18, -1 %25 = icmp eq i1 %24, false %26 = zext i1 %25 to i64 %27 = call i64 @FUNC(i64 %26) %28 = call i64 @FUNC(i64 %3, i64 %10) %29 = load i64, i64* %4, align 8 %30 = icmp eq i64 %29, 0 %31 = icmp eq i1 %30, false store i64 %29, i64* %.reg2mem br i1 %31, label LBL_1, label LBL_4 LBL_4: %32 = and i64 %1, 4294967295 %33 = call i64 @FUNC(i64 %32, i64 0, i64 0, i64 0) store i64 %33, 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* %4, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i1 false, { 3, 1, 2, 0, 4 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
cd_read_sector_cb_2222
cd_read_sector_cb
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %arg2 to i32 %4 = and i64 %arg2, 4294967295 %5 = and i64 %1, 4294967295 %6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_0, i64 0, i64 0), i64 %5, i64 %4) %7 = icmp slt i32 %3, 0 %8 = icmp eq i1 %7, false %9 = add i64 %2, 32 %10 = add i64 %2, 16 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @FUNC(i64 %12) br i1 %8, label LBL_2, label LBL_1 LBL_1: %14 = call i64 @FUNC(i64 %13, i64 %9) %15 = call i64 @FUNC(i64 %2, i64 %4) store i64 %15, i64* %storemerge.reg2mem br label LBL_5 LBL_2: %16 = call i64 @FUNC(i64 %13, i64 %9) %17 = add i64 %2, 4 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = icmp eq i32 %19, 2352 %21 = icmp eq i1 %20, false br i1 %21, label LBL_4, label LBL_3 LBL_3: %22 = add i64 %2, 24 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = call i64 @FUNC(i64 %24, i64 %5) br label LBL_4 LBL_4: %26 = trunc i64 %1 to i32 %27 = add i32 %26, 1 %28 = bitcast i64* %arg1 to i32* store i32 %27, i32* %28, align 4 %29 = add i64 %2, 8 %30 = inttoptr i64 %29 to i32* store i32 0, i32* %30, align 4 %31 = add i64 %2, 12 %32 = inttoptr i64 %31 to i32* %33 = load i32, i32* %32, align 4 %34 = and i32 %33, -2 store i32 %34, i32* %32, align 4 %35 = call i64 @FUNC(i64 %2) store i64 %35, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %13, { 1, 0 } uselistorder i64 %9, { 1, 0 } uselistorder i64 %5, { 1, 0 } uselistorder i64 %2, { 1, 2, 3, 5, 4, 0, 7, 6 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
0
BinRealVul
is_manager_apk_12837
is_manager_apk
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = load i32, i32* @gv_0, align 4 %1 = zext i32 %0 to i64 %2 = call i64 @FUNC(i64 %arg1, i64 %1, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0)) ret i64 %2 }
1
BinRealVul
nfs4_proc_rename_setup_18388
nfs4_proc_rename_setup
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %0) %3 = add i64 %1, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = add i64 %1, 16 %7 = inttoptr i64 %6 to i64* store i64 ptrtoint (i64* @gv_0 to i64), i64* %7, align 8 %8 = inttoptr i64 %2 to i32* %9 = load i32, i32* %8, align 4 %10 = bitcast i64* %arg2 to i32* store i32 %9, i32* %10, align 4 %11 = inttoptr i64 %5 to i64* store i64 %2, i64* %11, align 8 ret i64 %5 uselistorder i64 %5, { 1, 0 } }
1
BinRealVul
udp_seq_start_7020
udp_seq_start
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = bitcast i64* %arg1 to i32* store i32 256, i32* %0, align 4 %1 = icmp eq i64* %arg2, null store i64 0, i64* %storemerge.reg2mem br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = ptrtoint i64* %arg2 to i64 %4 = add i64 %3, -1 %5 = call i64 @FUNC(i64 %2, 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 i64* %arg2, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
ident_connected_18542
ident_connected
define i64 @FUNC(i64* %arg1, i64 %arg2, i32* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg3 to i64 %sv_0 = alloca i64, align 8 %3 = trunc i64 %arg2 to i32 %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %2, i64 1) store i64 %5, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %6 = trunc i64 %1 to i32 %7 = add i64 %2, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = add i64 %2, 4 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = bitcast i64* %sv_0 to i8* %14 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %13, i32 32, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i32 %6, i32 %12) %15 = call i32 @strlen(i8* nonnull %13) %16 = inttoptr i64 %9 to i64* %17 = load i64, i64* %16, align 8 %18 = call i64 @FUNC(i64 %17, i64* nonnull %sv_0, i32 %15) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %15, %19 br i1 %20, label LBL_4, label LBL_3 LBL_3: %21 = call i64 @FUNC(i64 %2, i64 1) store i64 %21, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %22 = load i64, i64* %16, align 8 %23 = call i64 @FUNC(i64 %22, i64 %2) store i64 %23, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %2, { 1, 0, 2, 4, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64, i64)* @client_fail, { 1, 0 } }
1
BinRealVul
v9fs_attach_15185
v9fs_attach
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %3 = load i64, i64* %0 %sv_3 = alloca i32, align 4 %sv_4 = alloca i32, align 4 %sv_5 = alloca i64, align 8 %4 = add i64 %2, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = bitcast i32* %sv_3 to i64* %8 = bitcast i32* %sv_4 to i64* %9 = call i64 @FUNC(i64 %2, i64 7, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %7, i64* nonnull %8, i64* nonnull %sv_5) %10 = load i64, i64* %sv_5, align 8 %11 = load i32, i32* %sv_4, align 4 %12 = zext i32 %11 to i64 %13 = load i32, i32* %sv_3, align 4 %14 = zext i32 %13 to i64 %15 = trunc i64 %1 to i32 %16 = add i64 %2, 4 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = zext i32 %18 to i64 %20 = call i64 @FUNC(i64 %19, i32 %15, i64 %14, i64 %12, i64 %10, i64 %3) %21 = load i32, i32* %sv_3, align 4 %22 = zext i32 %21 to i64 %23 = call i64 @FUNC(i64 %6, i64 %22) %24 = icmp eq i64 %23, 0 %25 = icmp eq i1 %24, false store i64 -22, i64* %sv_0.1.reg2mem br i1 %25, label LBL_1, label LBL_7 LBL_1: %26 = inttoptr i64 %23 to i32* %27 = add i64 %23, 8 %28 = call i64 @FUNC(i64 %2, i64 0, i64 4202518, i64 %27) %29 = icmp slt i64 %28, 0 %30 = icmp eq i1 %29, false br i1 %30, label LBL_3, label LBL_2 LBL_2: %31 = load i32, i32* %sv_3, align 4 %32 = zext i32 %31 to i64 %33 = call i64 @FUNC(i64 %6, i64 %32) store i64 -22, i64* %sv_0.0.reg2mem br label LBL_6 LBL_3: %34 = call i64 @FUNC(i64 %2, i64 %23, i64* nonnull %sv_1) %35 = icmp slt i64 %34, 0 %36 = icmp eq i1 %35, false br i1 %36, label LBL_5, label LBL_4 LBL_4: %37 = load i32, i32* %sv_3, align 4 %38 = zext i32 %37 to i64 %39 = call i64 @FUNC(i64 %6, i64 %38) store i64 -22, i64* %sv_0.0.reg2mem br label LBL_6 LBL_5: %40 = call i64 @FUNC(i64 %2, i64 7, i64 4202520, i64* nonnull %sv_1) %41 = add i64 %40, 7 store i64 %41, i64* %sv_0.0.reg2mem br label LBL_6 LBL_6: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %42 = call i64 @FUNC(i64 %2, i64 %23) store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br label LBL_7 LBL_7: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %43 = call i64 @FUNC(i64 %6, i64 %2, i64 %sv_0.1.reload) %44 = call i64 @FUNC(i64* nonnull %sv_5) %45 = call i64 @FUNC(i64* nonnull %sv_2) ret i64 %45 uselistorder i64 %23, { 1, 0, 2, 3, 4 } uselistorder i64 %6, { 2, 1, 0, 3 } uselistorder i64* %sv_5, { 0, 2, 1 } uselistorder i32* %sv_3, { 3, 2, 1, 0, 4 } uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64*)* @v9fs_string_free, { 1, 0 } uselistorder i64 (i64, i64)* @clunk_fid, { 1, 0 } uselistorder i64 -22, { 2, 1, 0 } uselistorder label LBL_7, { 1, 0 } }
1
BinRealVul
perf_instruction_pointer_5750
perf_instruction_pointer
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 0) %3 = load i32*, i32** @gv_0, align 8 %4 = icmp eq i32* %3, null br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = load i32, i32* %3, align 4 %6 = urem i32 %5, 2 %7 = icmp eq i32 %6, 0 store i64 %2, i64* %rax.0.reg2mem br i1 %7, label LBL_2, label LBL_6 LBL_2: %8 = trunc i64 %1 to i8 %9 = icmp eq i8 %8, 0 store i64 0, i64* %rdi.0.reg2mem br i1 %9, label LBL_5, label LBL_3 LBL_3: %10 = call i64 @FUNC(i64 %0) %11 = trunc i64 %10 to i8 %12 = icmp eq i8 %11, 0 store i64 %0, i64* %rdi.0.reg2mem br i1 %12, label LBL_5, label LBL_4 LBL_4: %13 = call i64 @FUNC(i64 0) %14 = call i64 @FUNC(i64 %0) %15 = add i64 %14, %13 store i64 %15, i64* %rax.0.reg2mem br label LBL_6 LBL_5: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %rdi.0. = select i1 %9, i64 %rdi.0.reload, i64 0 store i64 %rdi.0., i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 1, 0, 2, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64 (i64)* @mfspr, { 1, 0 } uselistorder label LBL_6, { 1, 2, 0 } }
0
BinRealVul
xfrm4_prepare_output_17777
xfrm4_prepare_output
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1, i64 %0) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = and i64 %2, 4294967295 store i64 %5, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %6 = call i64 @FUNC(i64 %0) %7 = inttoptr i64 %6 to i64* %8 = call i64* @memset(i64* %7, i32 0, i32 4) %9 = call i64 @FUNC(i64 %0) %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = or i32 %11, 3 store i32 %12, i32* %10, align 4 %13 = call i16 @htons(i16 2048) %14 = bitcast i64* %arg2 to i16* store i16 %13, i16* %14, align 2 store i64 %1, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @IPCB, { 1, 0 } }
1
BinRealVul
coda_flag_children_6581
coda_flag_children
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge2.reg2mem = alloca i64 %0 = and i64 %arg2, 4294967295 %1 = add i64 %arg1, 16 %2 = call i64 @FUNC(i64 %1) %3 = add i64 %arg1, 8 %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false store i64 %3, i64* %storemerge2.reg2mem br i1 %5, label LBL_1, label LBL_4 LBL_1: %storemerge2.reload = load i64, i64* %storemerge2.reg2mem %6 = inttoptr i64 %storemerge2.reload to i64* %7 = load i64, i64* %6, align 8 %8 = icmp eq i64 %7, 0 br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = call i64 @FUNC(i64 %7, i64 %0) br label LBL_3 LBL_3: %10 = add i64 %storemerge2.reload, 8 %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 store i64 %12, i64* %storemerge2.reg2mem br i1 %14, label LBL_1, label LBL_4 LBL_4: %15 = call i64 @FUNC(i64 %1) ret i64 %15 uselistorder i64* %storemerge2.reg2mem, { 2, 0, 1 } uselistorder i1 false, { 1, 0 } uselistorder i32 1, { 3, 2, 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
nntp_add_group_12761
nntp_add_group
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i8, align 1 %sv_4 = alloca i64, align 8 %sv_5 = alloca i64, align 8 store i64 0, i64* %sv_5, align 8 %0 = bitcast i64* %sv_4 to i8* call void @FUNC(i8* nonnull %0, i64 0, i64 126) %1 = icmp ne i64* %arg2, null %2 = icmp eq i64* %arg1, null %3 = icmp eq i1 %2, false %or.cond = icmp eq i1 %1, %3 br i1 %or.cond, label LBL_1, label LBL_9 LBL_1: %4 = bitcast i64* %arg1 to i8* %5 = call i32 (i8*, i8*, ...) @sscanf(i8* %4, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_0, i64* nonnull %sv_1, i64* nonnull %sv_2, i8* nonnull %sv_3, i64* nonnull %sv_5) %6 = icmp sgt i32 %5, 3 br i1 %6, label LBL_2, label LBL_9 LBL_2: %7 = ptrtoint i64* %arg2 to i64 %8 = call i64 @FUNC(i64 %7, i64* nonnull %sv_0) %9 = inttoptr i64 %8 to i8* store i8 0, i8* %9, align 1 %10 = load i64, i64* %sv_2, align 8 %11 = trunc i64 %10 to i32 %12 = add i64 %8, 4 %13 = inttoptr i64 %12 to i32* store i32 %11, i32* %13, align 4 %14 = load i64, i64* %sv_1, align 8 %15 = trunc i64 %14 to i32 %16 = add i64 %8, 8 %17 = inttoptr i64 %16 to i32* store i32 %15, i32* %17, align 4 %18 = load i8, i8* %sv_3, align 1 %19 = icmp eq i8 %18, 121 %20 = icmp eq i8 %18, 109 %narrow = or i1 %19, %20 %storemerge = zext i1 %narrow to i8 %21 = add i64 %8, 12 %22 = inttoptr i64 %21 to i8* store i8 %storemerge, i8* %22, align 1 %23 = add i64 %8, 16 %24 = call i64 @FUNC(i64 %23, i64* nonnull %sv_5) %25 = add i64 %8, 32 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = icmp eq i64 %27, 0 %29 = icmp eq i1 %28, false br i1 %29, label LBL_4, label LBL_3 LBL_3: %30 = add i64 %8, 40 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = icmp eq i64 %32, 0 br i1 %33, label LBL_5, label LBL_4 LBL_4: %34 = call i64 @FUNC(i64 %8) br label LBL_9 LBL_5: %35 = load i32, i32* %17, align 4 %36 = icmp eq i32 %35, 0 br i1 %36, label LBL_8, label LBL_6 LBL_6: %37 = load i32, i32* %13, align 4 %38 = icmp ult i32 %35, %37 br i1 %38, label LBL_8, label LBL_7 LBL_7: %39 = add i32 %35, 1 %40 = sub i32 %39, %37 %41 = add i64 %8, 24 %42 = inttoptr i64 %41 to i32* store i32 %40, i32* %42, align 4 br label LBL_9 LBL_8: %43 = add i64 %8, 24 %44 = inttoptr i64 %43 to i32* store i32 0, i32* %44, align 4 br label LBL_9 LBL_9: ret i64 0 uselistorder i64 %8, { 0, 2, 3, 1, 5, 4, 6, 7, 8, 9 } uselistorder i64* %sv_5, { 1, 0, 2 } uselistorder i64* %sv_2, { 1, 0 } uselistorder i64* %sv_1, { 1, 0 } uselistorder i64* %sv_0, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i64* %arg2, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_9, { 2, 1, 0, 3, 4 } }
1
BinRealVul
netvsc_send_7675
netvsc_send
define i64 @FUNC(i64* %arg1, i32* %arg2, i32* %arg3, i64* %arg4, i8* %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.021.reg2mem = alloca i64 %sv_1.1.reg2mem = alloca i32 %.reg2mem24 = alloca i32* %sv_1.015.reg2mem = alloca i32 %.reg2mem = alloca i64 %sv_2.118.reg2mem = alloca i32 %sv_1.019.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i32* %arg2 to i64 %4 = ptrtoint i64* %arg1 to i64 %sv_3 = alloca i64, align 8 %sv_4 = alloca i32*, align 8 %sv_5 = alloca i64, align 8 %sv_6 = alloca i32*, align 8 store i32* %arg2, i32** %sv_6, align 8 %5 = add i64 %3, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 store i64 0, i64* %sv_5, align 8 store i32* null, i32** %sv_4, align 8 store i64 0, i64* %sv_3, align 8 %8 = call i64 @FUNC(i64 %4) %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false store i64 4294967277, i64* %storemerge.reg2mem br i1 %10, label LBL_1, label LBL_33 LBL_1: %11 = ptrtoint i64* %arg4 to i64 %12 = icmp eq i8* %arg5, null %13 = add i64 %3, 8 %14 = inttoptr i64 %13 to i32* store i32 -1, i32* %14, align 4 %15 = load i32*, i32** %sv_6, align 8 %16 = ptrtoint i32* %15 to i64 %17 = add i64 %16, 12 %18 = inttoptr i64 %17 to i8* store i8 0, i8* %18, align 1 %19 = icmp eq i1 %12, false br i1 %19, label LBL_3, label LBL_2 LBL_2: %20 = load i32*, i32** %sv_6, align 8 %21 = ptrtoint i32* %20 to i64 %22 = bitcast i32** %sv_4 to i64* store i64 %21, i64* %22, align 8 store i32* %20, i32** %.reg2mem24 store i32 -1, i32* %sv_1.1.reg2mem br label LBL_29 LBL_3: %23 = add i64 %8, 8 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = urem i64 %2, 65536 %narrow = mul nuw nsw i64 %26, 24 %27 = add i64 %25, %narrow %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = icmp eq i64 %29, 0 br i1 %30, label LBL_10, label LBL_4 LBL_4: %31 = add i64 %29, 4 %32 = inttoptr i64 %31 to i32* %33 = load i32, i32* %32, align 4 %34 = icmp eq i32 %33, 0 br i1 %34, label LBL_10, label LBL_5 LBL_5: %35 = add i64 %27, 16 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = add i64 %8, 16 %39 = inttoptr i64 %38 to i32* %40 = load i32, i32* %39, align 4 %41 = icmp ult i32 %37, %40 %42 = icmp eq i1 %41, false br i1 %42, label LBL_10, label LBL_6 LBL_6: %43 = add i32 %33, %7 %44 = add i64 %8, 20 %45 = inttoptr i64 %44 to i32* %46 = load i32, i32* %45, align 4 %47 = add i32 %43, %46 %48 = add i64 %8, 24 %49 = inttoptr i64 %48 to i32* %50 = load i32, i32* %49, align 4 %51 = icmp ult i32 %47, %50 %52 = icmp eq i1 %51, false br i1 %52, label LBL_8, label LBL_7 LBL_7: %53 = add i64 %29, 8 %54 = inttoptr i64 %53 to i32* %55 = load i32, i32* %54, align 4 store i32 %55, i32* %sv_1.0.reg2mem br label LBL_13 LBL_8: %56 = load i32*, i32** %sv_6, align 8 %57 = ptrtoint i32* %56 to i64 %58 = add i64 %57, 16 %59 = inttoptr i64 %58 to i32* %60 = load i32, i32* %59, align 4 %61 = add i32 %60, %33 %62 = icmp ult i32 %61, %50 %63 = icmp eq i1 %62, false br i1 %63, label LBL_10, label LBL_9 LBL_9: %64 = add i64 %29, 8 %65 = inttoptr i64 %64 to i32* %66 = load i32, i32* %65, align 4 %67 = add i64 %57, 12 %68 = inttoptr i64 %67 to i8* store i8 1, i8* %68, align 1 store i32 %66, i32* %sv_1.0.reg2mem br label LBL_13 LBL_10: %69 = add i64 %8, 20 %70 = inttoptr i64 %69 to i32* %71 = load i32, i32* %70, align 4 %72 = add i32 %71, %7 %73 = add i64 %8, 24 %74 = inttoptr i64 %73 to i32* %75 = load i32, i32* %74, align 4 %76 = icmp ult i32 %72, %75 %77 = icmp eq i1 %76, false br i1 %77, label LBL_24, label LBL_11 LBL_11: %78 = call i64 @FUNC(i64 %8) %79 = trunc i64 %78 to i32 %80 = icmp eq i32 %79, -1 br i1 %80, label LBL_24, label LBL_12 LBL_12: %81 = call i64 @FUNC(i64* nonnull %sv_5, i64* nonnull %sv_3, i64 %27) store i32 %79, i32* %sv_1.019.reg2mem store i32 0, i32* %sv_2.118.reg2mem br label LBL_14 LBL_13: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %82 = icmp eq i32 %sv_1.0.reload, -1 store i32 %sv_1.0.reload, i32* %sv_1.019.reg2mem store i32 %33, i32* %sv_2.118.reg2mem br i1 %82, label LBL_24, label LBL_14 LBL_14: %sv_2.118.reload = load i32, i32* %sv_2.118.reg2mem %sv_1.019.reload = load i32, i32* %sv_1.019.reg2mem %83 = ptrtoint i32* %arg3 to i64 %84 = load i32*, i32** %sv_6, align 8 %85 = ptrtoint i32* %84 to i64 %86 = call i64 @FUNC(i64 %8, i32 %sv_1.019.reload, i32 %sv_2.118.reload, i64 %85, i64 %83, i64 %11) %87 = add i64 %85, 8 %88 = inttoptr i64 %87 to i32* store i32 %sv_1.019.reload, i32* %88, align 4 %89 = load i32*, i32** %sv_6, align 8 %90 = ptrtoint i32* %89 to i64 %91 = add i64 %90, 12 %92 = inttoptr i64 %91 to i8* %93 = load i8, i8* %92, align 1 %94 = icmp eq i8 %93, 0 %95 = add i64 %90, 20 %96 = inttoptr i64 %95 to i32* br i1 %94, label LBL_16, label LBL_15 LBL_15: %97 = load i32, i32* %96, align 4 %98 = add i64 %90, 24 %99 = inttoptr i64 %98 to i32* %100 = load i32, i32* %99, align 4 %101 = sub i32 %97, %100 store i32 %101, i32* %96, align 4 %102 = load i32*, i32** %sv_6, align 8 %103 = ptrtoint i32* %102 to i64 %104 = add i64 %103, 16 %105 = inttoptr i64 %104 to i32* %106 = load i32, i32* %105, align 4 %107 = add i32 %106, %sv_2.118.reload %108 = add i64 %103, 4 %109 = inttoptr i64 %108 to i32* store i32 %107, i32* %109, align 4 br label LBL_17 LBL_16: store i32 0, i32* %96, align 4 %110 = load i32*, i32** %sv_6, align 8 %111 = ptrtoint i32* %110 to i64 %112 = add i64 %111, 4 %113 = inttoptr i64 %112 to i32* %114 = load i32, i32* %113, align 4 %115 = add i32 %114, %sv_2.118.reload store i32 %115, i32* %113, align 4 br label LBL_17 LBL_17: %116 = add i64 %27, 8 %117 = inttoptr i64 %116 to i64* %118 = load i64, i64* %117, align 8 %119 = icmp eq i64 %118, 0 br i1 %119, label LBL_19, label LBL_18 LBL_18: %120 = call i64 @FUNC(i64 %118) br label LBL_19 LBL_19: %121 = trunc i64 %1 to i8 %122 = icmp eq i8 %121, 0 %or.cond = or i1 %12, %122 br i1 %or.cond, label LBL_19.LBL_23_crit_edge, label LBL_21 LBL_20: %123 = load i32*, i32** %sv_6, align 8 %124 = ptrtoint i32* %123 to i64 store i64 %124, i64* %.reg2mem br label LBL_23 LBL_21: %125 = load i32*, i32** %sv_6, align 8 %126 = ptrtoint i32* %125 to i64 %127 = add i64 %126, 12 %128 = inttoptr i64 %127 to i8* %129 = load i8, i8* %128, align 1 %130 = icmp eq i8 %129, 1 store i64 %126, i64* %.reg2mem br i1 %130, label LBL_23, label LBL_22 LBL_22: %131 = ptrtoint i8* %arg5 to i64 store i64 %131, i64* %117, align 8 %132 = load i32*, i32** %sv_6, align 8 %133 = ptrtoint i32* %132 to i64 store i64 %133, i64* %28, align 8 %134 = add i64 %27, 16 %135 = inttoptr i64 %134 to i32* %136 = load i32, i32* %135, align 4 %137 = add i32 %136, 1 store i32 %137, i32* %135, align 4 store i32 %sv_1.019.reload, i32* %sv_1.015.reg2mem br label LBL_25 LBL_23: %.reload = load i64, i64* %.reg2mem %138 = bitcast i32** %sv_4 to i64* store i64 %.reload, i64* %138, align 8 store i64 0, i64* %117, align 8 store i64 0, i64* %28, align 8 %139 = add i64 %27, 16 %140 = inttoptr i64 %139 to i32* store i32 0, i32* %140, align 4 store i32 %sv_1.019.reload, i32* %sv_1.015.reg2mem br label LBL_25 LBL_24: %141 = call i64 @FUNC(i64* nonnull %sv_5, i64* nonnull %sv_3, i64 %27) %142 = load i32*, i32** %sv_6, align 8 %143 = ptrtoint i32* %142 to i64 %144 = bitcast i32** %sv_4 to i64* store i64 %143, i64* %144, align 8 store i32 -1, i32* %sv_1.015.reg2mem br label LBL_25 LBL_25: %sv_1.015.reload = load i32, i32* %sv_1.015.reg2mem %145 = load i64, i64* %sv_5, align 8 %146 = icmp eq i64 %145, 0 br i1 %146, label LBL_28, label LBL_26 LBL_26: %147 = load i64, i64* %sv_3, align 8 %148 = call i64 @FUNC(i64 %4, i64 %145, i64 %8, i64 0, i64 %147) %149 = trunc i64 %148 to i32 %150 = icmp eq i32 %149, 0 br i1 %150, label LBL_28, label LBL_27 LBL_27: %151 = load i64, i64* %sv_5, align 8 %152 = add i64 %151, 8 %153 = inttoptr i64 %152 to i32* %154 = load i32, i32* %153, align 4 %155 = zext i32 %154 to i64 %156 = call i64 @FUNC(i64 %8, i64 %155) %157 = load i64, i64* %sv_3, align 8 %158 = call i64 @FUNC(i64 %157) br label LBL_28 LBL_28: %.pr = load i32*, i32** %sv_4, align 8 store i32* %.pr, i32** %.reg2mem24 store i32 %sv_1.015.reload, i32* %sv_1.1.reg2mem br label LBL_29 LBL_29: %.reload25 = load i32*, i32** %.reg2mem24 %159 = icmp eq i32* %.reload25, null store i64 0, i64* %sv_0.021.reg2mem br i1 %159, label LBL_32, label LBL_30 LBL_30: %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %160 = ptrtoint i8* %arg5 to i64 %161 = ptrtoint i32* %.reload25 to i64 %162 = call i64 @FUNC(i64 %4, i64 %161, i64 %8, i64 %11, i64 %160) %163 = trunc i64 %162 to i32 %164 = icmp eq i32 %163, 0 %165 = icmp eq i32 %sv_1.1.reload, -1 %or.cond10 = or i1 %165, %164 store i64 %162, i64* %sv_0.021.reg2mem br i1 %or.cond10, label LBL_32, label LBL_31 LBL_31: %166 = zext i32 %sv_1.1.reload to i64 %167 = call i64 @FUNC(i64 %8, i64 %166) store i64 %162, i64* %sv_0.021.reg2mem br label LBL_32 LBL_32: %sv_0.021.reload = load i64, i64* %sv_0.021.reg2mem %168 = and i64 %sv_0.021.reload, 4294967295 store i64 %168, i64* %storemerge.reg2mem br label LBL_33 LBL_33: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %162, { 1, 0, 2 } uselistorder i64* %117, { 1, 0, 2 } uselistorder i32* %96, { 2, 0, 1 } uselistorder i32 %sv_1.019.reload, { 1, 0, 3, 2 } uselistorder i32 %sv_2.118.reload, { 2, 1, 0 } uselistorder i64* %28, { 1, 0, 2 } uselistorder i64 %27, { 5, 3, 2, 4, 1, 0, 6 } uselistorder i64 %11, { 1, 0 } uselistorder i64 %8, { 10, 9, 7, 8, 6, 5, 4, 3, 2, 1, 0, 11, 12 } uselistorder i32** %sv_6, { 0, 11, 10, 1, 9, 8, 7, 6, 5, 2, 4, 3 } uselistorder i64* %sv_5, { 2, 3, 0, 1, 4 } uselistorder i64* %sv_3, { 2, 3, 0, 1, 4 } uselistorder i64 %4, { 1, 0, 2 } uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.015.reg2mem, { 0, 3, 2, 1 } uselistorder i32** %.reg2mem24, { 0, 2, 1 } uselistorder i32* %sv_1.1.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.021.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64)* @netvsc_free_send_slot, { 1, 0 } uselistorder i64 (i64, i64, i64, i64, i64)* @netvsc_send_pkt, { 1, 0 } uselistorder i64 (i64*, i64*, i64)* @move_pkt_msd, { 1, 0 } uselistorder i64 24, { 1, 2, 3, 0 } uselistorder i32 -1, { 2, 1, 4, 3, 0, 5 } uselistorder i8* %arg5, { 1, 0, 2 } uselistorder label LBL_33, { 1, 0 } uselistorder label LBL_32, { 1, 2, 0 } uselistorder label LBL_24, { 2, 0, 1 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_10, { 3, 1, 2, 0 } }
1
BinRealVul
cpg_div6_clock_calc_div_17769
cpg_div6_clock_calc_div
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = udiv i64 %arg1, 2 %1 = add i64 %0, %arg2 %2 = udiv i64 %1, %arg1 %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 store i64 1, i64* %storemerge.reg2mem br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = icmp ult i32 %3, 64 %.op = and i64 %2, 4294967295 %6 = select i1 %5, i64 %.op, i64 64 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 i64 %arg1, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
EntityIsDead_17883
EntityIsDead
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i32, align 4 %2 = trunc i64 %1 to i32 %3 = icmp ugt i32 %2, 63 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = and i64 %1, 4294967295 %5 = bitcast i32* %sv_0 to i64* %6 = call i64 @FUNC(i64 %4, i64* nonnull %5) %7 = load i32, i32* %sv_0, align 4 %8 = icmp eq i32 %7, 0 store i64 1, i64* %storemerge.reg2mem br i1 %8, label LBL_2, label LBL_3 LBL_2: 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 %1, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
piix3_class_init_16792
piix3_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 ptrtoint ([11 x i8]* @gv_0 to i64), i64* %arg1, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i32* store i32 1, i32* %4, align 4 %5 = bitcast i64* %arg1 to i32* store i32 1, i32* %5, align 4 store i64 4198662, i64* %2, align 8 %6 = inttoptr i64 %3 to i64* store i64 4198669, i64* %6, align 8 %7 = add i64 %0, 24 %8 = inttoptr i64 %7 to i32* store i32 32902, i32* %8, align 4 %9 = add i64 %0, 28 %10 = inttoptr i64 %9 to i32* store i32 28672, i32* %10, align 4 %11 = add i64 %0, 32 %12 = inttoptr i64 %11 to i32* store i32 393472, i32* %12, align 4 ret i64 %0 uselistorder i64 %0, { 1, 0, 2, 3, 4, 5 } }
1
BinRealVul
get_ber_length_18010
get_ber_length
define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i8 %sv_1.2.reg2mem = alloca i32 %sv_2.2.reg2mem = alloca i32 %sv_1.1.lcssa.reg2mem = alloca i32 %sv_2.13.reg2mem = alloca i32 %sv_1.14.reg2mem = alloca i32 %.reg2mem = alloca i64 %sv_2.07.reg2mem = alloca i32 %sv_1.08.reg2mem = alloca i32 %sv_3.09.reg2mem = alloca i8 %sv_4 = alloca i32, align 4 %sv_5 = alloca i64, align 8 %sv_6 = alloca i64, align 8 %sv_7 = alloca i64, align 8 %0 = zext i32 %arg3 to i64 %1 = call i64 @FUNC(i64 %arg2, i64 %0) %2 = trunc i64 %1 to i32 %sext = mul i32 %2, 16777216 %3 = ashr exact i32 %sext, 24 %4 = add i32 %arg3, 1 %5 = trunc i64 %1 to i8 %6 = icmp slt i8 %5, 0 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = urem i32 %3, 256 store i32 %4, i32* %sv_2.2.reg2mem store i32 %7, i32* %sv_1.2.reg2mem store i8 0, i8* %sv_0.0.reg2mem br label LBL_10 LBL_2: %8 = trunc i32 %3 to i8 %9 = urem i8 %8, -128 %10 = icmp eq i8 %9, 0 store i8 %9, i8* %sv_3.09.reg2mem store i32 0, i32* %sv_1.08.reg2mem store i32 %4, i32* %sv_2.07.reg2mem br i1 %10, label LBL_3, label LBL_5 LBL_3: %11 = zext i32 %4 to i64 %12 = call i64 @FUNC(i64 %arg2, i64 %11) %13 = trunc i64 %12 to i32 %14 = icmp slt i32 %13, 1 store i32 0, i32* %sv_1.1.lcssa.reg2mem br i1 %14, label LBL_9, label LBL_4 LBL_4: %15 = bitcast i32* %sv_4 to i64* store i64 %11, i64* %.reg2mem store i32 0, i32* %sv_1.14.reg2mem store i32 %4, i32* %sv_2.13.reg2mem br label LBL_7 LBL_5: %sv_2.07.reload = load i32, i32* %sv_2.07.reg2mem %sv_1.08.reload = load i32, i32* %sv_1.08.reg2mem %sv_3.09.reload = load i8, i8* %sv_3.09.reg2mem %16 = add i8 %sv_3.09.reload, -1 %17 = zext i32 %sv_2.07.reload to i64 %18 = call i64 @FUNC(i64 %arg2, i64 %17) %19 = trunc i64 %18 to i32 %20 = add i32 %sv_2.07.reload, 1 %21 = mul i32 %sv_1.08.reload, 256 %22 = urem i32 %19, 256 %23 = or i32 %22, %21 %24 = icmp eq i8 %16, 0 %25 = icmp eq i1 %24, false store i8 %16, i8* %sv_3.09.reg2mem store i32 %23, i32* %sv_1.08.reg2mem store i32 %20, i32* %sv_2.07.reg2mem store i32 %20, i32* %sv_2.2.reg2mem store i32 %23, i32* %sv_1.2.reg2mem store i8 0, i8* %sv_0.0.reg2mem br i1 %25, label LBL_5, label LBL_10 LBL_6: %26 = call i64 @FUNC(i64 %arg2, i32 %sv_2.13.reload, i64* nonnull %sv_5, i64* nonnull %sv_6, i64* nonnull %sv_7) %27 = trunc i64 %26 to i32 %28 = call i64 @FUNC(i64 %arg1, i64 %arg2, i32 %27, i64* nonnull %15, i64 0) %29 = trunc i64 %28 to i32 %30 = load i32, i32* %sv_4, align 4 %31 = add i32 %30, %29 %32 = add i32 %31, %sv_1.14.reload %33 = sub i32 %32, %sv_2.13.reload %34 = sub i32 %31, %sv_2.13.reload %35 = xor i32 %31, %sv_2.13.reload %36 = xor i32 %34, %31 %37 = and i32 %36, %35 %38 = icmp slt i32 %37, 0 %39 = icmp eq i32 %34, 0 %40 = icmp slt i32 %34, 0 %41 = icmp eq i1 %40, %38 %42 = icmp eq i1 %39, false %43 = icmp eq i1 %41, %42 %44 = zext i1 %43 to i64 %45 = call i64 @FUNC(i64 %44) %46 = zext i32 %31 to i64 %47 = call i64 @FUNC(i64 %arg2, i64 %46) %48 = trunc i64 %47 to i32 %49 = icmp slt i32 %48, 1 store i64 %46, i64* %.reg2mem store i32 %33, i32* %sv_1.14.reg2mem store i32 %31, i32* %sv_2.13.reg2mem store i32 %33, i32* %sv_1.1.lcssa.reg2mem br i1 %49, label LBL_9, label LBL_7 LBL_7: %sv_2.13.reload = load i32, i32* %sv_2.13.reg2mem %sv_1.14.reload = load i32, i32* %sv_1.14.reg2mem %.reload = load i64, i64* %.reg2mem %50 = call i64 @FUNC(i64 %arg2, i64 %.reload) %51 = trunc i64 %50 to i8 %52 = icmp eq i8 %51, 0 %53 = icmp eq i1 %52, false br i1 %53, label LBL_6, label LBL_8 LBL_8: %54 = add i32 %sv_2.13.reload, 1 %55 = zext i32 %54 to i64 %56 = call i64 @FUNC(i64 %arg2, i64 %55) %57 = trunc i64 %56 to i8 %58 = icmp eq i8 %57, 0 %59 = icmp eq i1 %58, false store i32 %sv_1.14.reload, i32* %sv_1.1.lcssa.reg2mem br i1 %59, label LBL_6, label LBL_9 LBL_9: %sv_1.1.lcssa.reload = load i32, i32* %sv_1.1.lcssa.reg2mem %60 = add i32 %sv_1.1.lcssa.reload, 2 store i32 %4, i32* %sv_2.2.reg2mem store i32 %60, i32* %sv_1.2.reg2mem store i8 1, i8* %sv_0.0.reg2mem br label LBL_10 LBL_10: %sv_0.0.reload = load i8, i8* %sv_0.0.reg2mem %sv_2.2.reload = load i32, i32* %sv_2.2.reg2mem %61 = icmp eq i64* %arg4, null br i1 %61, label LBL_12, label LBL_11 LBL_11: %sv_1.2.reload = load i32, i32* %sv_1.2.reg2mem %62 = bitcast i64* %arg4 to i32* store i32 %sv_1.2.reload, i32* %62, align 4 br label LBL_12 LBL_12: %63 = icmp eq i64 %arg5, 0 br i1 %63, label LBL_14, label LBL_13 LBL_13: %64 = inttoptr i64 %arg5 to i8* store i8 %sv_0.0.reload, i8* %64, align 1 br label LBL_14 LBL_14: %65 = zext i32 %sv_2.2.reload to i64 ret i64 %65 uselistorder i32 %sv_2.13.reload, { 0, 2, 4, 1, 3 } uselistorder i32 %34, { 1, 2, 0 } uselistorder i32 %31, { 0, 2, 4, 3, 1, 5 } uselistorder i32 %sv_2.07.reload, { 1, 0 } uselistorder i32 %4, { 1, 2, 4, 3, 0 } uselistorder i32 %3, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i8* %sv_3.09.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.08.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.07.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.2.reg2mem, { 0, 3, 1, 2 } uselistorder i32* %sv_1.2.reg2mem, { 0, 3, 1, 2 } uselistorder i8* %sv_0.0.reg2mem, { 0, 3, 1, 2 } uselistorder i1 false, { 1, 2, 0, 3 } uselistorder i64 (i64, i64)* @tvb_reported_length_remaining, { 1, 0 } uselistorder i32 256, { 1, 0, 2 } uselistorder i8 0, { 2, 3, 0, 4, 5, 1, 6 } uselistorder i64 (i64, i64)* @tvb_get_guint8, { 3, 2, 1, 0 } uselistorder i64 %arg5, { 1, 0 } uselistorder i32 %arg3, { 1, 0 } uselistorder i64 %arg2, { 2, 5, 6, 4, 3, 1, 0, 7 } uselistorder label LBL_10, { 1, 0, 2 } uselistorder label LBL_9, { 1, 0, 2 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
sctp_sf_do_9_2_reshutack_4889
sctp_sf_do_9_2_reshutack
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3, i64* %arg4, i64* %arg5) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg5 to i64 %1 = ptrtoint i64* %arg4 to i64 %2 = ptrtoint i64* %arg2 to i64 %3 = call i64 @FUNC(i64 %1, i64 0) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = ptrtoint i64* %arg1 to i64 %8 = call i64 @FUNC(i64 %7, i64 %2, i32 %arg3, i64 %1, i64 %0) store i64 %8, i64* %rax.0.reg2mem br label LBL_4 LBL_2: %9 = call i64 @FUNC(i64 %2, i64 %1) %10 = icmp eq i64 %9, 0 store i64 1, i64* %rax.0.reg2mem br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = call i64 @FUNC(i64 %0, i64 2, i64 %9) %12 = call i64 @FUNC(i64 %0, i64 3, i64 5) %13 = call i64 @FUNC(i64 %0, i64 4, i64 %9) store i64 0, 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 %9, { 1, 0, 2 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0, 2 } uselistorder i64 %0, { 3, 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 (i64, i64, i64)* @sctp_add_cmd_sf, { 2, 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder label LBL_4, { 1, 0, 2 } }
0
BinRealVul
em_syscall_6025
em_syscall
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = icmp ne i32 %3, 0 %5 = icmp eq i32 %3, 1 %6 = icmp eq i1 %5, false %or.cond = icmp eq i1 %4, %6 br i1 %or.cond, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 %0) store i64 %7, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %8 = call i64 @FUNC(i64 %0) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = call i64 @FUNC(i64 %0) store i64 %12, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %13 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0, i64* nonnull %sv_1) %14 = call i64 @FUNC(i64 %0) store i64 %14, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64 (i64)* @emulate_ud, { 2, 1, 0 } uselistorder i1 false, { 1, 0 } }
0
BinRealVul
atol8_11276
atol8
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.lcssa.reg2mem = alloca i64 %sv_0.01.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i64 %.in.reg2mem = alloca i64 %0 = icmp eq i64 %arg2, 0 %1 = icmp eq i1 %0, false store i64 %arg2, i64* %.in.reg2mem store i64 0, i64* %storemerge2.reg2mem store i64 %arg1, i64* %sv_0.01.reg2mem store i64 0, i64* %storemerge.lcssa.reg2mem br i1 %1, label LBL_1, label LBL_3 LBL_1: %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem %storemerge2.reload = load i64, i64* %storemerge2.reg2mem %2 = inttoptr i64 %sv_0.01.reload to i8* %3 = load i8, i8* %2, align 1 %4 = and i8 %3, -8 %5 = icmp eq i8 %4, 48 store i64 %storemerge2.reload, i64* %storemerge.lcssa.reg2mem br i1 %5, label LBL_2, label LBL_3 LBL_2: %.in.reload = load i64, i64* %.in.reg2mem %6 = add i64 %.in.reload, -1 %7 = sext i8 %3 to i64 %8 = add nsw i64 %7, -48 %9 = add i64 %sv_0.01.reload, 1 %10 = mul i64 %storemerge2.reload, 8 %11 = or i64 %8, %10 %12 = icmp eq i64 %6, 0 %13 = icmp eq i1 %12, false store i64 %6, i64* %.in.reg2mem store i64 %11, i64* %storemerge2.reg2mem store i64 %9, i64* %sv_0.01.reg2mem store i64 %11, i64* %storemerge.lcssa.reg2mem br i1 %13, label LBL_1, label LBL_3 LBL_3: %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem ret i64 %storemerge.lcssa.reload uselistorder i8 %3, { 1, 0 } uselistorder i64 %storemerge2.reload, { 1, 0 } uselistorder i64 %sv_0.01.reload, { 1, 0 } uselistorder i64* %.in.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge2.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.01.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.lcssa.reg2mem, { 0, 2, 1, 3 } uselistorder i1 false, { 1, 0 } uselistorder i32 1, { 3, 2, 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
check_sticky_11021
check_sticky
define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = call i64 @FUNC() %3 = and i64 %1, 4096 %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_4 LBL_1: %6 = ptrtoint i32* %arg2 to i64 %7 = add i64 %6, 4 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = and i64 %2, 4294967295 %11 = zext i32 %9 to i64 %12 = call i64 @FUNC(i64 %11, i64 %10) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 store i64 0, i64* %rax.0.reg2mem br i1 %14, label LBL_2, label LBL_4 LBL_2: %15 = ptrtoint i32* %arg1 to i64 %16 = add i64 %15, 4 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = zext i32 %18 to i64 %20 = call i64 @FUNC(i64 %19, i64 %10) %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %21, 0 store i64 0, i64* %rax.0.reg2mem br i1 %22, label LBL_3, label LBL_4 LBL_3: %23 = call i64 @FUNC(i64 %6, i64 1) %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, 0 %26 = zext i1 %25 to i64 store i64 %26, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i64 (i64, i64)* @uid_eq, { 1, 0 } uselistorder label LBL_4, { 3, 0, 1, 2 } }
1
BinRealVul
encode_rgb48_10bit_13917
encode_rgb48_10bit
define i64 @FUNC(i32* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %.lcssa.reg2mem = alloca i64 %sv_0.17.reg2mem = alloca i64 %sv_1.08.reg2mem = alloca i64 %storemerge10.reg2mem = alloca i32 %.reg2mem24 = alloca i32 %.reg2mem22 = alloca i32 %sv_0.0.lcssa.reg2mem = alloca i64 %.reg2mem20 = alloca i32 %.reg2mem = alloca i32 %sv_0.05.reg2mem = alloca i64 %storemerge36.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = add i64 %2, 4 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = icmp eq i32 %5, 0 store i64 0, i64* %.lcssa.reg2mem br i1 %6, label LBL_6, label LBL_1 LBL_1: %7 = ptrtoint i64* %arg2 to i64 %8 = trunc i64 %1 to i32 %9 = ptrtoint i64* %arg3 to i64 %10 = bitcast i64* %rdi to i32* %11 = add i64 %7, 8 %12 = inttoptr i64 %11 to i32* store i32 %5, i32* %.reg2mem22 store i32 %8, i32* %.reg2mem24 store i32 0, i32* %storemerge10.reg2mem store i64 %7, i64* %sv_1.08.reg2mem store i64 %9, i64* %sv_0.17.reg2mem br label LBL_5 LBL_2: %sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem %storemerge36.reload = load i32, i32* %storemerge36.reg2mem %13 = mul i32 %storemerge36.reload, 6 %14 = sext i32 %13 to i64 %15 = add i64 %sv_1.08.reload, %14 %16 = add i64 %15, 4 %17 = inttoptr i64 %16 to i16* %18 = load i16, i16* %17, align 2 %19 = udiv i16 %18, 16 %20 = and i16 %19, 4092 %21 = zext i16 %20 to i32 %22 = add i64 %15, 2 %23 = inttoptr i64 %22 to i16* %24 = load i16, i16* %23, align 2 %25 = zext i16 %24 to i32 %26 = mul i32 %25, 64 %27 = and i32 %26, 4190208 %28 = or i32 %27, %21 %29 = inttoptr i64 %15 to i16* %30 = load i16, i16* %29, align 2 %31 = zext i16 %30 to i32 %32 = mul i32 %31, 65536 %33 = and i32 %32, -4194304 %34 = or i32 %28, %33 %35 = inttoptr i64 %sv_0.05.reload to i32* store i32 %34, i32* %35, align 4 %36 = add i64 %sv_0.05.reload, 4 %37 = add i32 %storemerge36.reload, 1 %38 = load i32, i32* %10, align 8 %39 = zext i32 %38 to i64 %40 = sext i32 %37 to i64 %41 = icmp slt i64 %40, %39 store i32 %37, i32* %storemerge36.reg2mem store i64 %36, i64* %sv_0.05.reg2mem br i1 %41, label LBL_2, label LBL_3 LBL_3: %.pre = load i32, i32* %4, align 4 store i32 %.pre, i32* %.reg2mem store i32 %38, i32* %.reg2mem20 store i64 %36, i64* %sv_0.0.lcssa.reg2mem br label LBL_4 LBL_4: %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem %.reload21 = load i32, i32* %.reg2mem20 %.reload = load i32, i32* %.reg2mem %42 = load i32, i32* %12, align 4 %43 = sext i32 %42 to i64 %44 = add i64 %sv_1.08.reload, %43 %45 = add i32 %storemerge10.reload, 1 %46 = zext i32 %.reload to i64 %47 = sext i32 %45 to i64 %48 = icmp slt i64 %47, %46 store i32 %.reload, i32* %.reg2mem22 store i32 %.reload21, i32* %.reg2mem24 store i32 %45, i32* %storemerge10.reg2mem store i64 %44, i64* %sv_1.08.reg2mem store i64 %sv_0.0.lcssa.reload, i64* %sv_0.17.reg2mem store i64 %46, i64* %.lcssa.reg2mem br i1 %48, label LBL_5, label LBL_6 LBL_5: %sv_0.17.reload = load i64, i64* %sv_0.17.reg2mem %sv_1.08.reload = load i64, i64* %sv_1.08.reg2mem %storemerge10.reload = load i32, i32* %storemerge10.reg2mem %.reload25 = load i32, i32* %.reg2mem24 %.reload23 = load i32, i32* %.reg2mem22 %49 = icmp eq i32 %.reload25, 0 store i32 0, i32* %storemerge36.reg2mem store i64 %sv_0.17.reload, i64* %sv_0.05.reg2mem store i32 %.reload23, i32* %.reg2mem store i32 0, i32* %.reg2mem20 store i64 %sv_0.17.reload, i64* %sv_0.0.lcssa.reg2mem br i1 %49, label LBL_4, label LBL_2 LBL_6: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem ret i64 %.lcssa.reload uselistorder i64 %sv_0.17.reload, { 1, 0 } uselistorder i32* %storemerge36.reg2mem, { 1, 2, 0 } uselistorder i64* %sv_0.05.reg2mem, { 1, 2, 0 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem20, { 1, 0, 2 } uselistorder i64* %sv_0.0.lcssa.reg2mem, { 1, 0, 2 } uselistorder i32 0, { 1, 2, 3, 0, 4 } uselistorder i64 4, { 1, 0, 2 } uselistorder label LBL_5, { 1, 0 } }
1