dataset
stringclasses
1 value
file
stringlengths
7
51
fun_name
stringlengths
2
45
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
CompRealVul
s_mp_mul_high_digs_fast_12118
s_mp_mul_high_digs_fast
define i64 @FUNC(i32* %arg1, i32* %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i32 %sv_0.0.lcssa.reg2mem = alloca i64 %sv_0.025.reg2mem = alloca i64 %storemerge14.in26.reg2mem = alloca i64 %.reg2mem55 = alloca i32 %sv_1.0.lcssa.reg2mem = alloca i32 %sv_1.028.reg2mem = alloca i32 %sv_2.0.in29.reg2mem = alloca i64 %sv_3.0.in30.reg2mem = alloca i64 %storemerge2231.reg2mem = alloca i32 %sv_1.134.reg2mem = alloca i32 %storemerge21.in35.reg2mem = alloca i64 %storemerge2136.reg2mem = alloca i64 %.reg2mem53 = alloca i32 %.reg2mem51 = alloca i32 %.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %rsi = alloca i64, align 8 %2 = load i64, i64* %0 %rdx = alloca i64, align 8 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg3 to i64 %sv_4 = alloca i64, align 8 %5 = trunc i64 %1 to i32 %6 = trunc i64 %2 to i32 %7 = add i32 %6, %5 %8 = add i64 %4, 4 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = zext i32 %10 to i64 %12 = sext i32 %7 to i64 %13 = icmp sgt i64 %12, %11 br i1 %13, label LBL_1, label LBL_3 LBL_1: %14 = zext i32 %7 to i64 %15 = call i64 @FUNC(i64 %4, i64 %14) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 br i1 %17, label LBL_3, label LBL_2 LBL_2: %18 = and i64 %15, 4294967295 store i64 %18, i64* %storemerge.reg2mem br label LBL_15 LBL_3: %19 = ptrtoint i64* %sv_4 to i64 %sext = mul i64 %arg4, 4294967296 %20 = trunc i64 %3 to i32 %storemerge2133 = ashr exact i64 %sext, 32 %21 = trunc i64 %storemerge2133 to i32 %22 = icmp sgt i32 %7, %21 store i32 %20, i32* %.reg2mem55 br i1 %22, label LBL_4, label LBL_11 LBL_4: %23 = bitcast i64* %rdi to i32* %24 = bitcast i64* %rsi to i32* %25 = ptrtoint i32* %arg1 to i64 %26 = add i64 %25, 8 %27 = inttoptr i64 %26 to i64* %28 = ptrtoint i32* %arg2 to i64 %29 = add i64 %28, 8 %30 = inttoptr i64 %29 to i64* %31 = add i64 %19, -464 store i32 %5, i32* %.reg2mem store i32 %6, i32* %.reg2mem51 store i32 %21, i32* %.reg2mem53 store i64 %storemerge2133, i64* %storemerge2136.reg2mem store i64 %sext, i64* %storemerge21.in35.reg2mem store i32 0, i32* %sv_1.134.reg2mem br label LBL_5 LBL_5: %sv_1.134.reload = load i32, i32* %sv_1.134.reg2mem %storemerge21.in35.reload = load i64, i64* %storemerge21.in35.reg2mem %storemerge2136.reload = load i64, i64* %storemerge2136.reg2mem %.reload54 = load i32, i32* %.reg2mem53 %.reload52 = load i32, i32* %.reg2mem51 %.reload = load i32, i32* %.reg2mem %32 = zext i32 %.reload52 to i64 %33 = icmp slt i64 %storemerge2136.reload, %32 %34 = and i64 %storemerge2136.reload, 4294967295 %35 = add i32 %.reload52, -1 %36 = zext i32 %35 to i64 %storemerge24 = select i1 %33, i64 %34, i64 %36 %37 = trunc i64 %storemerge24 to i32 %sext16 = mul i64 %storemerge24, 4294967296 %38 = ashr exact i64 %sext16, 32 %39 = sub i32 %.reload54, %37 %40 = sub i32 %.reload, %39 %41 = zext i32 %40 to i64 %42 = icmp slt i64 %38, %41 %43 = add nsw i64 %38, 1 %storemerge23 = select i1 %42, i64 %43, i64 %41 %44 = trunc i64 %storemerge23 to i32 %45 = icmp sgt i32 %44, 0 store i32 %sv_1.134.reload, i32* %sv_1.0.lcssa.reg2mem br i1 %45, label LBL_6, label LBL_8 LBL_6: %46 = ashr exact i64 %sext16, 30 %47 = load i64, i64* %30, align 8 %48 = add i64 %47, %46 %49 = sext i32 %39 to i64 %50 = mul i64 %49, 4 %51 = load i64, i64* %27, align 8 %52 = add i64 %51, %50 store i32 0, i32* %storemerge2231.reg2mem store i64 %48, i64* %sv_3.0.in30.reg2mem store i64 %52, i64* %sv_2.0.in29.reg2mem store i32 %sv_1.134.reload, i32* %sv_1.028.reg2mem br label LBL_7 LBL_7: %sv_1.028.reload = load i32, i32* %sv_1.028.reg2mem %sv_2.0.in29.reload = load i64, i64* %sv_2.0.in29.reg2mem %sv_3.0.in30.reload = load i64, i64* %sv_3.0.in30.reg2mem %storemerge2231.reload = load i32, i32* %storemerge2231.reg2mem %sv_3.0 = inttoptr i64 %sv_3.0.in30.reload to i32* %sv_2.0 = inttoptr i64 %sv_2.0.in29.reload to i32* %53 = add i64 %sv_2.0.in29.reload, 4 %54 = load i32, i32* %sv_2.0, align 4 %55 = add i64 %sv_3.0.in30.reload, -4 %56 = load i32, i32* %sv_3.0, align 4 %57 = mul i32 %56, %54 %58 = add i32 %57, %sv_1.028.reload %59 = add nuw nsw i32 %storemerge2231.reload, 1 %exitcond = icmp eq i32 %59, %44 store i32 %59, i32* %storemerge2231.reg2mem store i64 %55, i64* %sv_3.0.in30.reg2mem store i64 %53, i64* %sv_2.0.in29.reg2mem store i32 %58, i32* %sv_1.028.reg2mem store i32 %58, i32* %sv_1.0.lcssa.reg2mem br i1 %exitcond, label LBL_8, label LBL_7 LBL_8: %sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem %60 = urem i32 %sv_1.0.lcssa.reload, 1073741824 %61 = ashr exact i64 %storemerge21.in35.reload, 30 %62 = add i64 %31, %61 %63 = inttoptr i64 %62 to i32* store i32 %60, i32* %63, align 4 %sext20 = add i64 %storemerge21.in35.reload, 4294967296 %storemerge21 = ashr exact i64 %sext20, 32 %64 = trunc i64 %storemerge21 to i32 %65 = icmp sgt i32 %7, %64 br i1 %65, label LBL_8.LBL_5_crit_edge, label LBL_10 LBL_9: %66 = ashr i32 %sv_1.0.lcssa.reload, 30 %.pre = load i32, i32* %24, align 8 %.pre41 = load i32, i32* %23, align 8 store i32 %.pre41, i32* %.reg2mem store i32 %.pre, i32* %.reg2mem51 store i32 %64, i32* %.reg2mem53 store i64 %storemerge21, i64* %storemerge2136.reg2mem store i64 %sext20, i64* %storemerge21.in35.reg2mem store i32 %66, i32* %sv_1.134.reg2mem br label LBL_5 LBL_10: %.phi.trans.insert = bitcast i64* %rdx to i32* %.pre42 = load i32, i32* %.phi.trans.insert, align 8 store i32 %.pre42, i32* %.reg2mem55 br label LBL_11 LBL_11: %.reload56 = load i32, i32* %.reg2mem55 %67 = bitcast i64* %arg3 to i32* store i32 %7, i32* %67, align 4 %68 = add i64 %4, 8 %69 = inttoptr i64 %68 to i64* %70 = load i64, i64* %69, align 8 %71 = ashr exact i64 %sext, 30 %72 = add i64 %70, %71 %73 = trunc i64 %arg4 to i32 %74 = icmp sgt i32 %7, %73 store i64 %72, i64* %sv_0.0.lcssa.reg2mem store i32 %73, i32* %.lcssa.reg2mem br i1 %74, label LBL_12, label LBL_14 LBL_12: %75 = add i64 %19, -464 store i64 %sext, i64* %storemerge14.in26.reg2mem store i64 %72, i64* %sv_0.025.reg2mem br label LBL_13 LBL_13: %sv_0.025.reload = load i64, i64* %sv_0.025.reg2mem %storemerge14.in26.reload = load i64, i64* %storemerge14.in26.reg2mem %76 = add i64 %sv_0.025.reload, 4 %77 = ashr exact i64 %storemerge14.in26.reload, 30 %78 = add i64 %75, %77 %79 = inttoptr i64 %78 to i32* %80 = load i32, i32* %79, align 4 %81 = inttoptr i64 %sv_0.025.reload to i32* store i32 %80, i32* %81, align 4 %sext13 = add i64 %storemerge14.in26.reload, 4294967296 %82 = udiv i64 %sext13, 4294967296 %83 = trunc i64 %82 to i32 %84 = icmp sgt i32 %7, %83 store i64 %sext13, i64* %storemerge14.in26.reg2mem store i64 %76, i64* %sv_0.025.reg2mem store i64 %76, i64* %sv_0.0.lcssa.reg2mem store i32 %83, i32* %.lcssa.reg2mem br i1 %84, label LBL_13, label LBL_14 LBL_14: %.lcssa.reload = load i32, i32* %.lcssa.reg2mem %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem %85 = sub i32 %.reload56, %.lcssa.reload %86 = mul i32 %85, 4 %87 = inttoptr i64 %sv_0.0.lcssa.reload to i64* %88 = call i64* @memset(i64* %87, i32 0, i32 %86) %89 = call i64 @FUNC(i64 %4) store i64 0, i64* %storemerge.reg2mem br label LBL_15 LBL_15: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %72, { 1, 0 } uselistorder i64 %sext16, { 1, 0 } uselistorder i32 %sv_1.134.reload, { 1, 0 } uselistorder i64 %sext, { 0, 2, 1, 3 } uselistorder i32 %7, { 2, 3, 1, 0, 4, 5, 6 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem51, { 1, 0, 2 } uselistorder i32* %.reg2mem53, { 1, 0, 2 } uselistorder i64* %storemerge2136.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge21.in35.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.134.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge2231.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_3.0.in30.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.0.in29.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.028.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem55, { 0, 2, 1 } uselistorder i64* %storemerge14.in26.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.025.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 -4, { 1, 0 } uselistorder i64 30, { 2, 3, 0, 1 } uselistorder i64 8, { 2, 0, 1, 3, 4 } uselistorder i64 32, { 1, 2, 0, 3 } uselistorder i64 4294967296, { 3, 5, 4, 0, 1, 2 } uselistorder i64 4294967295, { 2, 1, 0 } uselistorder i64 %arg4, { 1, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
CompRealVul
snd_jack_dev_register_18835
snd_jack_dev_register
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = add i64 %3, 64 %5 = inttoptr i64 %3 to i8* %6 = inttoptr i64 %4 to i8* %7 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %5, i32 64, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64* %arg1, i8* %6) %8 = add i64 %3, 96 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = inttoptr i64 %10 to i64* store i64 %3, i64* %11, align 8 %12 = load i64, i64* %9, align 8 %13 = add i64 %12, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = icmp eq i64 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_2, label LBL_1 LBL_1: %18 = call i64 @FUNC(i64 %0) store i64 %18, i64* %14, align 8 br label LBL_2 LBL_2: %19 = add i64 %3, 104 %20 = inttoptr i64 %19 to i32* %21 = add i64 %3, 108 store i64 0, i64* %indvars.iv.reg2mem br label LBL_3 LBL_3: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %22 = trunc i64 %indvars.iv.reload to i32 %23 = lshr i32 1, %22 %24 = load i32, i32* %20, align 4 %25 = and i32 %23, %24 %26 = icmp eq i32 %25, 0 br i1 %26, label LBL_7, label LBL_4 LBL_4: %27 = mul i64 %indvars.iv.reload, 4 %28 = add i64 %21, %27 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = icmp eq i32 %30, 0 %32 = icmp eq i1 %31, false store i32 %30, i32* %.reg2mem br i1 %32, label LBL_6, label LBL_5 LBL_5: %33 = add i32 %22, 256 store i32 %33, i32* %29, align 4 store i32 %33, i32* %.reg2mem br label LBL_6 LBL_6: %.reload = load i32, i32* %.reg2mem %34 = load i64, i64* %9, align 8 %35 = call i64 @FUNC(i64 %34, i64 1, i32 %.reload) br label LBL_7 LBL_7: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 8 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_8, label LBL_3 LBL_8: %36 = load i64, i64* %9, align 8 %37 = call i64 @FUNC(i64 %36) %38 = trunc i64 %37 to i32 %39 = icmp eq i32 %38, 0 %40 = icmp eq i1 %39, false br i1 %40, label LBL_10, label LBL_9 LBL_9: %41 = add i64 %3, 140 %42 = inttoptr i64 %41 to i32* store i32 1, i32* %42, align 4 br label LBL_10 LBL_10: %43 = and i64 %37, 4294967295 ret i64 %43 uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64 %3, { 0, 2, 1, 3, 4, 5, 6 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 2, 0, 1 } uselistorder i1 false, { 1, 0, 2 } uselistorder label LBL_7, { 1, 0 } }
1
CompRealVul
v9fs_mkdir_966
v9fs_mkdir
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %sv_0.1.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %2 = load i64, i64* %0 %3 = ptrtoint i32* %arg1 to i64 %4 = load i32, i32* %1 %5 = load i32, i32* %1 %sv_1 = alloca i32, align 4 %sv_2 = alloca i64, align 8 %sv_3 = alloca i32, align 4 %sv_4 = alloca i32, align 4 %sv_5 = alloca i32, align 4 %sv_6 = alloca i64, align 8 %6 = call i64 @FUNC(i64* nonnull %sv_6) %7 = bitcast i32* %sv_3 to i64* %8 = bitcast i32* %sv_4 to i64* %9 = bitcast i32* %sv_5 to i64* %10 = call i64 @FUNC(i64 %3, i64 7, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %8, i64* nonnull %sv_6, i64* nonnull %9, i64* nonnull %7) %11 = trunc i64 %10 to i32 %12 = icmp slt i32 %11, 0 store i32 %11, i32* %sv_0.1.reg2mem br i1 %12, label LBL_7, label LBL_1 LBL_1: %13 = load i32, i32* %sv_3, align 4 %14 = load i32, i32* %sv_5, align 4 %15 = load i64, i64* %sv_6, align 8 %16 = load i32, i32* %sv_4, align 4 %17 = zext i32 %16 to i64 %18 = add i64 %3, 4 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = zext i32 %13 to i64 %22 = zext i32 %14 to i64 %23 = and i64 %2, 4294967295 %sext = mul i64 %10, 4294967296 %24 = ashr exact i64 %sext, 32 %25 = call i64 @FUNC(i64 %23, i32 %20, i64 %17, i64 %15, i64 %22, i64 %21, i64 %24) %26 = load i64, i64* %sv_6, align 8 %27 = call i64 @FUNC(i64 %26) %28 = trunc i64 %27 to i32 %29 = icmp eq i32 %28, 0 store i32 -2, i32* %sv_0.1.reg2mem br i1 %29, label LBL_2, label LBL_7 LBL_2: %30 = load i32, i32* %sv_4, align 4 %31 = zext i32 %30 to i64 %32 = call i64 @FUNC(i64 %3, i64 %31) %33 = icmp eq i64 %32, 0 %34 = icmp eq i1 %33, false store i32 -2, i32* %sv_0.1.reg2mem br i1 %34, label LBL_3, label LBL_7 LBL_3: %35 = inttoptr i64 %32 to i32* %36 = load i32, i32* %sv_3, align 4 %37 = zext i32 %36 to i64 %38 = load i32, i32* %35, align 4 %39 = load i32, i32* %sv_5, align 4 %40 = zext i32 %39 to i64 %41 = call i64 @FUNC(i64 %3, i64 %32, i64* nonnull %sv_6, i64 %40, i32 %38, i64 %37) %42 = trunc i64 %41 to i32 %43 = icmp slt i32 %42, 0 store i32 %42, i32* %sv_0.0.reg2mem br i1 %43, label LBL_6, label LBL_4 LBL_4: %44 = bitcast i32* %sv_1 to i64* %45 = call i64 @FUNC(i64* nonnull %sv_2, i64* nonnull %44) %46 = call i64 @FUNC(i64 %3, i64 7, i64 4202639, i64* nonnull %44) %47 = trunc i64 %46 to i32 %48 = icmp slt i32 %47, 0 store i32 %47, i32* %sv_0.0.reg2mem br i1 %48, label LBL_6, label LBL_5 LBL_5: %49 = add i32 %47, 7 %50 = load i32, i32* %sv_1, align 4 %51 = zext i32 %50 to i64 %52 = load i32, i32* %19, align 4 %53 = zext i32 %49 to i64 %54 = zext i32 %5 to i64 %55 = sext i32 %49 to i64 %56 = call i64 @FUNC(i64 %23, i32 %52, i64 %51, i32 %4, i64 %54, i64 %53, i64 %55) store i32 %49, i32* %sv_0.0.reg2mem br label LBL_6 LBL_6: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %57 = call i64 @FUNC(i64 %3, i64 %32) store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br label LBL_7 LBL_7: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %58 = zext i32 %sv_0.1.reload to i64 %59 = call i64 @FUNC(i64 %3, i64 %58) %60 = call i64 @FUNC(i64* nonnull %sv_6) ret i64 %60 uselistorder i32 %49, { 0, 2, 1 } uselistorder i32 %47, { 1, 0, 2 } uselistorder i64 %23, { 1, 0 } uselistorder i64* %sv_6, { 0, 1, 4, 5, 2, 3 } uselistorder i32* %sv_5, { 1, 0, 2 } uselistorder i32* %sv_4, { 1, 0, 2 } uselistorder i32* %sv_3, { 2, 1, 0 } uselistorder i64 %3, { 5, 1, 0, 2, 3, 4, 6 } uselistorder i32* %sv_0.1.reg2mem, { 0, 3, 1, 2, 4 } uselistorder i32* %1, { 1, 0 } uselistorder label LBL_7, { 3, 0, 1, 2 } uselistorder label LBL_6, { 2, 0, 1 } }
0
CompRealVul
aio_notify_2753
aio_notify
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = call i64 @FUNC() %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 0 store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = ptrtoint i32* %arg1 to i64 %6 = add i64 %5, 4 %7 = call i64 @FUNC(i64 %6) store i64 %7, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload }
0
CompRealVul
enable_each_ist_13337
enable_each_ist
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 0) %2 = call i64 @FUNC(i64 %0, i64 1) %3 = call i64 @FUNC(i64 %0, i64 2) ret i64 %3 uselistorder i64 (i64, i64)* @set_ist, { 2, 1, 0 } }
1
CompRealVul
dns_HTTPS_add_ipv4hint_6887
dns_HTTPS_add_ipv4hint
define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i32* %arg1 to i64 %sv_0 = alloca i16, align 2 %1 = call i64 @FUNC(i64 %0) %2 = mul i64 %arg3, 4 %3 = add i64 %2, 4 %4 = and i64 %3, 4294967292 %5 = icmp slt i64 %1, %4 store i64 4294967295, i64* %storemerge.reg2mem br i1 %5, label LBL_4, label LBL_1 LBL_1: store i16 1, i16* %sv_0, align 2 %6 = call i64 @FUNC(i64 %0, i16* nonnull %sv_0, i64 2) %arg3.tr = trunc i64 %arg3 to i16 %7 = mul i16 %arg3.tr, 4 store i16 %7, i16* %sv_0, align 2 %8 = call i64 @FUNC(i64 %0, i16* nonnull %sv_0, i64 2) %9 = trunc i64 %arg3 to i32 %10 = icmp sgt i32 %9, 0 store i64 0, i64* %storemerge.reg2mem br i1 %10, label LBL_2, label LBL_4 LBL_2: %11 = ptrtoint i64* %arg2 to i64 %wide.trip.count = and i64 %arg3, 4294967295 store i64 0, i64* %indvars.iv.reg2mem br label LBL_3 LBL_3: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %12 = mul i64 %indvars.iv.reload, 8 %13 = add i64 %12, %11 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = inttoptr i64 %15 to i16* %17 = call i64 @FUNC(i64 %0, i16* %16, i64 4) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %exitcond, label LBL_4, label LBL_3 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i16* %sv_0, { 0, 2, 1, 3 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64 (i64, i16*, i64)* @dns_add_rr_nested_memcpy, { 2, 1, 0 } uselistorder i64 4, { 2, 1, 0 } uselistorder i64 %arg3, { 1, 3, 2, 0 } uselistorder label LBL_3, { 1, 0 } }
0
CompRealVul
parse_content_type_18740
parse_content_type
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = icmp eq i64* %arg1, null %2 = icmp eq i1 %1, false store i64 %0, i64* %rax.0.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = ptrtoint i64* %arg2 to i64 %4 = add i64 %3, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = call i64 @FUNC(i64* nonnull %sv_0, i64 %3, i64 %6, i64 0) %8 = call i64 @FUNC(i64* nonnull %sv_0) %9 = call i64 @FUNC(i64 64) %10 = call i64 @FUNC(i64* nonnull %sv_0, i64 %9) %11 = call i64 @FUNC(i64 %9) %12 = call i64 @FUNC(i64 %11) store i64 %12, i64* %arg1, align 8 store i64 %12, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
impeg2d_dec_pic_ext_data_6167
impeg2d_dec_pic_ext_data
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.1.lcssa.reg2mem = alloca i32 %sv_0.18.reg2mem = alloca i32 %.reg2mem = alloca i1 %sv_0.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = call i64 @FUNC(i64 %2, i64 4) %storemerge6 = trunc i64 %3 to i32 %4 = icmp ne i32 %storemerge6, 181 %5 = icmp eq i32 %storemerge6, 178 %6 = icmp eq i1 %5, false %or.cond7 = icmp eq i1 %4, %6 store i32 0, i32* %sv_0.1.lcssa.reg2mem br i1 %or.cond7, label LBL_13, label LBL_1 LBL_1: %7 = trunc i64 %1 to i32 %8 = add i64 %2, 4 %9 = inttoptr i64 %8 to i32* store i1 %6, i1* %.reg2mem store i32 0, i32* %sv_0.18.reg2mem br label LBL_12 LBL_2: %.reload = load i1, i1* %.reg2mem br i1 %.reload, label LBL_4, label LBL_3 LBL_3: %10 = call i64 @FUNC(i64 %2) store i32 %sv_0.18.reload, i32* %sv_0.0.reg2mem br label LBL_11 LBL_4: %11 = call i64 @FUNC(i64 %2, i64 4) %12 = call i64 @FUNC(i64 %2, i64 2) %13 = trunc i64 %12 to i32 %14 = and i64 %12, 4294967295 store i64 %14, i64* @0, align 8 store i32 1, i32* %sv_0.0.reg2mem store i32 1, i32* %sv_0.0.reg2mem switch i32 %13, label LBL_10 [ i32 0, label LBL_5 i32 1, label LBL_6 i32 2, label LBL_7 i32 3, label LBL_8 i32 4, label LBL_9 i32 5, label LBL_11 i32 6, label LBL_11 ] LBL_5: %15 = call i64 @FUNC(i64 %2) store i32 %sv_0.18.reload, i32* %sv_0.0.reg2mem br label LBL_11 LBL_6: %16 = call i64 @FUNC(i64 %2) store i32 %sv_0.18.reload, i32* %sv_0.0.reg2mem br label LBL_11 LBL_7: %17 = call i64 @FUNC(i64 %2) store i32 %sv_0.18.reload, i32* %sv_0.0.reg2mem br label LBL_11 LBL_8: %18 = call i64 @FUNC(i64 %2) store i32 %sv_0.18.reload, i32* %sv_0.0.reg2mem br label LBL_11 LBL_9: %19 = call i64 @FUNC(i64 %2) store i32 %sv_0.18.reload, i32* %sv_0.0.reg2mem br label LBL_11 LBL_10: %20 = call i64 @FUNC(i64 %2, i64 2) %21 = call i64 @FUNC(i64 %2) store i32 %sv_0.18.reload, i32* %sv_0.0.reg2mem br label LBL_11 LBL_11: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %22 = call i64 @FUNC(i64 %2, i64 4) %storemerge = trunc i64 %22 to i32 %23 = icmp ne i32 %storemerge, 181 %24 = icmp eq i32 %storemerge, 178 %25 = icmp eq i1 %24, false %or.cond = icmp eq i1 %23, %25 %26 = icmp eq i32 %sv_0.0.reload, 0 %27 = icmp eq i1 %26, false %or.cond5 = or i1 %27, %or.cond store i1 %25, i1* %.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.18.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem br i1 %or.cond5, label LBL_13, label LBL_12 LBL_12: %sv_0.18.reload = load i32, i32* %sv_0.18.reg2mem %28 = load i32, i32* %9, align 4 %29 = icmp ugt i32 %28, %7 store i32 %sv_0.18.reload, i32* %sv_0.1.lcssa.reg2mem br i1 %29, label LBL_2, label LBL_13 LBL_13: %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem %30 = zext i32 %sv_0.1.lcssa.reload to i64 ret i64 %30 uselistorder i32 %sv_0.18.reload, { 0, 7, 6, 5, 4, 3, 2, 1 } uselistorder i64 %2, { 1, 7, 8, 2, 3, 4, 5, 6, 11, 10, 0, 9, 12 } uselistorder i32* %sv_0.0.reg2mem, { 0, 9, 8, 7, 6, 5, 4, 1, 2, 3 } uselistorder i1* %.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.1.lcssa.reg2mem, { 0, 2, 1, 3 } uselistorder i64 (i64, i64)* @impeg2d_bit_stream_flush, { 1, 0 } uselistorder i1 false, { 1, 2, 0 } uselistorder i32 178, { 1, 0 } uselistorder i32 181, { 1, 0 } uselistorder i64 (i64, i64)* @impeg2d_bit_stream_nxt, { 2, 1, 0 } uselistorder i64 4, { 0, 1, 3, 2 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_11, { 7, 2, 3, 4, 5, 6, 1, 0, 8 } }
0
CompRealVul
tty_ldisc_try_get_5377
tty_ldisc_try_get
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.ph.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = call i64 @FUNC(i64 16, i64 0) %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 4294967284) store i64 %5, i64* %rax.0.reg2mem br label LBL_6 LBL_2: %sext = mul i64 %arg1, 4294967296 %6 = call i64 @FUNC(i64* nonnull @gv_0, i64 %1) %7 = inttoptr i64 %2 to i64* store i64 0, i64* %7, align 8 %8 = ashr exact i64 %sext, 29 %9 = add i64 %8, ptrtoint (i64* @gv_1 to i64) %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = icmp eq i64 %11, 0 store i64 4294967274, i64* %sv_0.0.ph.reg2mem br i1 %12, label LBL_5, label LBL_3 LBL_3: %13 = inttoptr i64 %11 to i64* %14 = load i64, i64* %13, align 8 %15 = call i64 @FUNC(i64 %14) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false store i64 4294967285, i64* %sv_0.0.ph.reg2mem br i1 %18, label LBL_4, label LBL_5 LBL_4: %19 = add i64 %11, 8 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = add i32 %21, 1 store i32 %22, i32* %20, align 4 store i64 %11, i64* %7, align 8 %23 = add i64 %2, 8 %24 = inttoptr i64 %23 to i32* store i32 0, i32* %24, align 4 %25 = call i64 @FUNC(i64* nonnull @gv_0, i64 %1) store i64 %2, i64* %rax.0.reg2mem br label LBL_6 LBL_5: %sv_0.0.ph.reload = load i64, i64* %sv_0.0.ph.reg2mem %26 = call i64 @FUNC(i64* nonnull @gv_0, i64 %1) %27 = call i64 @FUNC(i64 %2) %28 = call i64 @FUNC(i64 %sv_0.0.ph.reload) store i64 %28, 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 %2, { 2, 0, 1, 3, 4 } uselistorder i64 %1, { 2, 0, 1 } uselistorder i64* %sv_0.0.ph.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 (i64)* @ERR_PTR, { 1, 0 } uselistorder i32 1, { 5, 4, 3, 2, 1, 0 } uselistorder label LBL_6, { 1, 0, 2 } uselistorder label LBL_5, { 1, 0 } }
0
CompRealVul
fill_kobj_path_6781
fill_kobj_path
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.02.reg2mem = alloca i32 %storemerge13.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = icmp eq i64* %arg1, null %5 = icmp eq i1 %4, false br i1 %5, label LBL_1, label LBL_4 LBL_1: %6 = trunc i64 %arg3 to i32 %7 = add i32 %6, -1 store i64 %3, i64* %storemerge13.reg2mem store i32 %7, i32* %sv_0.02.reg2mem br label LBL_2 LBL_2: %sv_0.02.reload = load i32, i32* %sv_0.02.reg2mem %storemerge13.reload = load i64, i64* %storemerge13.reg2mem %8 = call i64 @FUNC(i64 %storemerge13.reload) %9 = inttoptr i64 %8 to i8* %10 = call i32 @strlen(i8* %9) %11 = sub i32 %sv_0.02.reload, %10 %12 = icmp eq i32 %11, 0 %13 = icmp slt i32 %11, 0 %14 = icmp eq i1 %13, false %15 = icmp eq i1 %12, false %16 = icmp eq i1 %14, %15 store i64 4294967274, i64* %storemerge.reg2mem br i1 %16, label LBL_3, label LBL_5 LBL_3: %17 = call i64 @FUNC(i64 %storemerge13.reload) %18 = sext i32 %11 to i64 %19 = add i64 %18, %2 %20 = inttoptr i64 %19 to i64* %21 = inttoptr i64 %17 to i64* %22 = call i64* @memcpy(i64* %20, i64* %21, i32 %10) %23 = add i32 %11, -1 %24 = sext i32 %23 to i64 %25 = add i64 %24, %2 %26 = inttoptr i64 %25 to i8* store i8 47, i8* %26, align 1 %27 = inttoptr i64 %storemerge13.reload to i64* %28 = load i64, i64* %27, align 8 %29 = icmp eq i64 %28, 0 %30 = icmp eq i1 %29, false store i64 %28, i64* %storemerge13.reg2mem store i32 %23, i32* %sv_0.02.reg2mem br i1 %30, label LBL_2, label LBL_4 LBL_4: %31 = call i64 @FUNC(i64 %3) %32 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0), i64 %31, i64 %3, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i64 %2, i64 %1) store i64 0, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %11, { 0, 1, 3, 2 } uselistorder i64 %3, { 2, 1, 0 } uselistorder i64 %2, { 2, 0, 1 } uselistorder i64* %storemerge13.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.02.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @kobject_name, { 0, 2, 1 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
dvb_usbv2_adapter_exit_10097
dvb_usbv2_adapter_exit
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %2, i64 %1) %6 = add i64 %4, 8 store i64 9, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %7 = mul i64 %indvars.iv.reload, 8 %8 = add i64 %6, %7 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = icmp eq i64 %10, 0 br i1 %11, label LBL_3, label LBL_2 LBL_2: %12 = call i64 @FUNC(i64 %8) %13 = call i64 @FUNC(i64 %8) %14 = call i64 @FUNC(i64 %8) %15 = call i64 @FUNC(i64 %8) br label LBL_3 LBL_3: %indvars.iv.next = add nsw i64 %indvars.iv.reload, -1 %16 = icmp eq i64 %indvars.iv.reload, 0 %17 = icmp eq i1 %16, false store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %17, label LBL_1, label LBL_4 LBL_4: ret i64 0 uselistorder i64 %8, { 3, 2, 1, 0, 4 } uselistorder i64 %indvars.iv.reload, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %0, { 2, 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
CompRealVul
del_match_busid_13346
del_match_busid
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64* nonnull @gv_0) %2 = call i64 @FUNC(i64 %0) %3 = trunc i64 %2 to i32 %4 = icmp slt i32 %3, 0 store i64 4294967295, i64* %sv_0.0.reg2mem br i1 %4, label LBL_5, label LBL_1 LBL_1: %sext = mul i64 %2, 4294967296 %5 = ashr exact i64 %sext, 32 %6 = mul nsw i64 %5, 36 %7 = add i64 %6, ptrtoint (i32** @gv_1 to i64) %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = icmp eq i32 %9, 1 %11 = icmp eq i1 %10, false store i32 %9, i32* %.reg2mem br i1 %11, label LBL_3, label LBL_2 LBL_2: %12 = add i64 %6, ptrtoint (i64* @gv_2 to i64) %13 = inttoptr i64 %12 to i64* %14 = call i64* @memset(i64* %13, i32 0, i32 32) %.pre = load i32, i32* %8, align 4 store i32 %.pre, i32* %.reg2mem br label LBL_3 LBL_3: %.reload = load i32, i32* %.reg2mem %.off = add i32 %.reload, -1 %switch = icmp ult i32 %.off, 2 store i64 0, i64* %sv_0.0.reg2mem br i1 %switch, label LBL_5, label LBL_4 LBL_4: store i32 3, i32* %8, align 4 store i64 0, i64* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %15 = call i64 @FUNC(i64* nonnull @gv_0) ret i64 %sv_0.0.reload uselistorder i32* %8, { 1, 0, 2 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3 } uselistorder label LBL_5, { 2, 0, 1 } }
1
CompRealVul
jbd2_journal_start_reserved_18204
jbd2_journal_start_reserved
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = icmp eq i32 %3, 0 %5 = zext i1 %4 to i64 %6 = call i64 @FUNC(i64 %5) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = call i64 @FUNC(i64 %0) store i64 4294967291, i64* %rax.0.reg2mem br label LBL_7 LBL_2: %10 = load i64, i64* @gv_0, align 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = and i64 %12, 4294967295 %14 = call i64 @FUNC(i64 %13) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 br i1 %16, label LBL_4, label LBL_3 LBL_3: %17 = call i64 @FUNC(i64 %0) store i64 4294967291, i64* %rax.0.reg2mem br label LBL_7 LBL_4: store i64 0, i64* %arg1, align 8 %18 = call i64 @FUNC(i64 %0, i64 %0, 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_6, label LBL_5 LBL_5: %22 = call i64 @FUNC(i64 %0) %23 = and i64 %18, 4294967295 store i64 %23, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %24 = trunc i64 %arg2 to i32 %25 = add i64 %0, 12 %26 = inttoptr i64 %25 to i32* store i32 %24, i32* %26, align 4 %27 = trunc i64 %arg3 to i32 %28 = add i64 %0, 16 %29 = inttoptr i64 %28 to i32* store i32 %27, i32* %29, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 1, 2, 3, 5, 4, 6, 0, 7 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64 (i64)* @jbd2_journal_free_reserved, { 1, 0 } uselistorder i64 4294967291, { 1, 0 } uselistorder i64 (i64)* @WARN_ON, { 1, 0 } }
1
CompRealVul
rose_start_hbtimer_11897
rose_start_hbtimer
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %1) %3 = inttoptr i64 %1 to i64* store i64 4198698, i64* %3, align 8 %4 = add i64 %1, 16 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = load i64, i64* @gv_0, align 8 %8 = add i64 %7, %6 %9 = add i64 %1, 8 %10 = inttoptr i64 %9 to i64* store i64 %8, i64* %10, align 8 %11 = call i64 @FUNC(i64 %1) ret i64 %11 }
1
CompRealVul
cbs_h2645_write_nal_unit_17918
cbs_h2645_write_nal_unit
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge.in.reg2mem = alloca i64 %.pre-phi1.reg2mem = alloca i64* %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %4 = add i64 %3, 16 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp eq i64* %arg1, null %10 = icmp eq i1 %9, false %.pre = add i64 %3, 8 br i1 %10, label LBL_4, label LBL_1 LBL_1: %11 = inttoptr i64 %.pre to i64* store i64 1048576, i64* %11, align 8 store i64 1048576, i64* %.reg2mem store i64* %11, i64** %.pre-phi1.reg2mem br label LBL_2 LBL_2: %.reload = load i64, i64* %.reg2mem %12 = call i64 @FUNC(i64 %3, i64 %.reload) %13 = trunc i64 %12 to i32 %14 = icmp slt i32 %13, 0 %15 = icmp eq i1 %14, false br i1 %15, label LBL_4, label LBL_3 LBL_3: %.pre-phi1.reload = load i64*, i64** %.pre-phi1.reg2mem %16 = load i64, i64* %.pre-phi1.reload, align 8 %17 = call i64 @FUNC(i64 %16, i64 0, i8* getelementptr inbounds ([80 x i8], [80 x i8]* @gv_0, i64 0, i64 0), i64 %16, i64 %2, i64 %1) %18 = and i64 %12, 4294967295 store i64 %18, i64* %rax.0.reg2mem br label LBL_15 LBL_4: %19 = ptrtoint i64* %arg2 to i64 %20 = inttoptr i64 %.pre to i64* %21 = load i64, i64* %20, align 8 %22 = call i64 @FUNC(i64* nonnull %sv_0, i64 %3, i64 %21) %23 = icmp eq i32 %8, 1 %24 = icmp eq i1 %23, false br i1 %24, label LBL_6, label LBL_5 LBL_5: %25 = call i64 @FUNC(i64 %3, i64 %19, i64* nonnull %sv_0) store i64 %25, i64* %storemerge.in.reg2mem br label LBL_7 LBL_6: %26 = call i64 @FUNC(i64 %3, i64 %19, i64* nonnull %sv_0) store i64 %26, i64* %storemerge.in.reg2mem br label LBL_7 LBL_7: %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem %storemerge = trunc i64 %storemerge.in.reload to i32 %27 = icmp eq i32 %storemerge, -28 %28 = icmp eq i1 %27, false br i1 %28, label LBL_9, label LBL_8 LBL_8: %29 = load i64, i64* %20, align 8 %30 = mul i64 %29, 2 store i64 %30, i64* %20, align 8 store i64 %30, i64* %.reg2mem store i64* %20, i64** %.pre-phi1.reg2mem br label LBL_2 LBL_9: %31 = call i64 @FUNC(i64* nonnull %sv_0) %sext = mul i64 %31, 4294967296 %32 = ashr exact i64 %sext, 32 %33 = load i64, i64* %20, align 8 %34 = mul i64 %33, 8 %35 = icmp ule i64 %32, %34 %36 = zext i1 %35 to i64 %37 = call i64 @FUNC(i64 %36) %38 = call i64 @FUNC(i64* nonnull %sv_0) %39 = urem i64 %38, 8 %40 = icmp eq i64 %39, 0 br i1 %40, label LBL_11, label LBL_10 LBL_10: %41 = call i64 @FUNC(i64* nonnull %sv_0) %42 = trunc i64 %41 to i32 %43 = ashr i32 %42, 31 %44 = udiv i32 %43, 536870912 %45 = add i32 %44, %42 %46 = urem i32 %45, 8 %47 = or i32 %44, 8 %48 = sub nsw i32 %47, %46 %49 = add i64 %19, 16 %50 = inttoptr i64 %49 to i32* store i32 %48, i32* %50, align 4 br label LBL_12 LBL_11: %51 = add i64 %19, 16 %52 = inttoptr i64 %51 to i32* store i32 0, i32* %52, align 4 br label LBL_12 LBL_12: %53 = call i64 @FUNC(i64* nonnull %sv_0) %54 = trunc i64 %53 to i32 %55 = sdiv i32 %54, 16384 %56 = sext i32 %55 to i64 %57 = add i64 %19, 8 %58 = inttoptr i64 %57 to i64* store i64 %56, i64* %58, align 8 %59 = call i64 @FUNC(i64* nonnull %sv_0) %60 = load i64, i64* %58, align 8 %61 = call i64 @FUNC(i64 %19, i64 %60) %62 = trunc i64 %61 to i32 %63 = icmp slt i32 %62, 0 %64 = icmp eq i1 %63, false br i1 %64, label LBL_14, label LBL_13 LBL_13: %65 = and i64 %61, 4294967295 store i64 %65, i64* %rax.0.reg2mem br label LBL_15 LBL_14: %66 = load i64, i64* %58, align 8 %67 = inttoptr i64 %60 to i64* %68 = trunc i64 %66 to i32 %69 = call i64* @memcpy(i64* %67, i64* %arg2, i32 %68) store i64 0, i64* %rax.0.reg2mem br label LBL_15 LBL_15: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %20, { 3, 0, 2, 1, 4 } uselistorder i64 %19, { 1, 2, 3, 0, 4, 5 } uselistorder i64 %16, { 1, 0 } uselistorder i64 %3, { 3, 4, 1, 2, 0, 5 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64** %.pre-phi1.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i32 8, { 1, 0 } uselistorder i64 (i64*)* @put_bits_count, { 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @av_reallocp, { 1, 0 } uselistorder i64 8, { 3, 1, 0, 2, 4, 5 } uselistorder label LBL_4, { 1, 0 } }
1
CompRealVul
gen_read_xer_14495
gen_read_xer
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i64 @FUNC() %1 = call i64 @FUNC() %2 = call i64 @FUNC() %3 = call i64 @FUNC() %4 = call i64 @FUNC(i64 1) %5 = call i64 @FUNC(i64 2) %6 = call i64 @FUNC(i64 3) %7 = call i64 @FUNC() %8 = call i64 @FUNC() %9 = call i64 @FUNC() %10 = call i64 @FUNC() %11 = call i64 @FUNC() %12 = call i64 @FUNC() ret i64 %12 uselistorder i64 ()* @tcg_temp_free, { 2, 1, 0 } uselistorder i64 ()* @tcg_gen_or_tl, { 2, 1, 0 } uselistorder i64 (i64)* @tcg_gen_shli_tl, { 2, 1, 0 } uselistorder i64 ()* @tcg_temp_new, { 2, 1, 0 } }
1
CompRealVul
switch_to_bitmap_5243
switch_to_bitmap
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = urem i64 %arg1, 2 %1 = icmp eq i64 %0, 0 store i64 0, i64* %rax.0.reg2mem br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = call i64 @FUNC() store i64 %2, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload }
0
CompRealVul
tee_write_trailer_14448
tee_write_trailer
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0.1.lcssa.reg2mem = alloca i64 %sv_0.12.reg2mem = alloca i32 %rdi.13.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = icmp eq i32 %3, 0 store i64 0, i64* %indvars.iv.reg2mem store i64 %0, i64* %rdi.13.reg2mem store i32 0, i32* %sv_0.12.reg2mem store i64 0, i64* %sv_0.1.lcssa.reg2mem br i1 %4, label LBL_5, label LBL_1 LBL_1: %sv_0.12.reload = load i32, i32* %sv_0.12.reg2mem %rdi.13.reload = load i64, i64* %rdi.13.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %5 = mul i64 %indvars.iv.reload, 8 %6 = add i64 %5, %rdi.13.reload %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %8) %10 = add i64 %8, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = urem i32 %14, 2 %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_3, label LBL_2 LBL_2: %18 = add i64 %8, 16 %19 = call i64 @FUNC(i64 %8, i64 %18) br label LBL_3 LBL_3: %20 = trunc i64 %9 to i32 %21 = icmp slt i32 %20, 0 %22 = icmp eq i32 %sv_0.12.reload, 0 %23 = icmp eq i1 %22, %21 %sv_0.0 = select i1 %23, i32 %20, i32 %sv_0.12.reload %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %24 = load i32, i32* %2, align 4 %25 = zext i32 %24 to i64 %26 = icmp ult i64 %indvars.iv.next, %25 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %8, i64* %rdi.13.reg2mem store i32 %sv_0.0, i32* %sv_0.12.reg2mem br i1 %26, label LBL_1, label LBL_4 LBL_4: %phitmp = zext i32 %sv_0.0 to i64 store i64 %phitmp, i64* %sv_0.1.lcssa.reg2mem br label LBL_5 LBL_5: %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem %27 = call i64 @FUNC(i64 %0) ret i64 %sv_0.1.lcssa.reload uselistorder i32 %sv_0.0, { 1, 0 } uselistorder i64 %8, { 0, 2, 3, 1, 4 } uselistorder i32* %2, { 1, 0 } uselistorder i64 %0, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %rdi.13.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.12.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.1.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 2, 4, 3, 0, 1 } uselistorder i64 8, { 1, 0, 2 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
CompRealVul
qed_dcbx_get_config_params_17460
qed_dcbx_get_config_params
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = trunc i64 %1 to i8 %3 = icmp eq i8 %2, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = add i64 %1, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 store i64 %1, i64* %arg2, align 8 %7 = add i64 %0, 8 %8 = inttoptr i64 %7 to i64* store i64 %6, i64* %8, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_8 LBL_2: %9 = call i64 @FUNC(i64 3, i64 0) %10 = icmp eq i64 %9, 0 %11 = icmp eq i1 %10, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %11, label LBL_3, label LBL_8 LBL_3: %12 = call i64 @FUNC(i64 %1, i64 %9, i64 0) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 br i1 %14, label LBL_5, label LBL_4 LBL_4: %15 = call i64 @FUNC(i64 %9) %16 = and i64 %12, 4294967295 store i64 %16, i64* %rax.0.reg2mem br label LBL_8 LBL_5: %17 = inttoptr i64 %9 to i8* %18 = add i64 %1, 4 %19 = inttoptr i64 %18 to i32* store i32 0, i32* %19, align 4 %20 = add i64 %1, 8 %21 = inttoptr i64 %20 to i32* store i32 0, i32* %21, align 4 %22 = load i8, i8* %17, align 1 %23 = icmp ne i8 %22, 0 %spec.store.select = zext i1 %23 to i32 store i32 %spec.store.select, i32* %21, align 4 %24 = add i64 %9, 1 %25 = inttoptr i64 %24 to i8* %26 = load i8, i8* %25, align 1 %27 = icmp eq i8 %26, 0 br i1 %27, label LBL_7, label LBL_6 LBL_6: %28 = or i32 %spec.store.select, 2 store i32 %28, i32* %21, align 4 br label LBL_7 LBL_7: %29 = add i64 %9, 2 %30 = inttoptr i64 %29 to i8* %31 = load i8, i8* %30, align 1 %32 = add i64 %1, 12 %33 = inttoptr i64 %32 to i8* store i8 %31, i8* %33, align 1 %34 = bitcast i64* %arg1 to i8* store i8 1, i8* %34, align 1 %35 = inttoptr i64 %20 to i64* %36 = load i64, i64* %35, align 8 store i64 %1, i64* %arg2, align 8 %37 = add i64 %0, 8 %38 = inttoptr i64 %37 to i64* store i64 %36, i64* %38, align 8 %39 = call i64 @FUNC(i64 %9) store i64 0, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %21, { 1, 0, 2 } uselistorder i64 %9, { 0, 1, 2, 5, 3, 4, 6 } uselistorder i64 %1, { 0, 1, 2, 3, 7, 5, 4, 6 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 } uselistorder i64 (i64)* @kfree, { 1, 0 } uselistorder label LBL_8, { 1, 2, 0, 3 } }
1
CompRealVul
msGMLFreeGeometries_4210
msGMLFreeGeometries
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i64 %storemerge1.reg2mem = alloca i32 %.reg2mem5 = alloca i64 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = icmp eq i64 %arg1, 0 br i1 %2, label LBL_5, label LBL_1 LBL_1: %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 0 %5 = add i64 %arg1, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 store i64 %7, i64* %.lcssa.reg2mem br i1 %4, label LBL_4, label LBL_2 LBL_2: %8 = and i64 %1, 4294967295 store i64 %7, i64* %.reg2mem store i64 0, i64* %.reg2mem5 store i32 0, i32* %storemerge1.reg2mem br label LBL_3 LBL_3: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem %.reload6 = load i64, i64* %.reg2mem5 %.reload = load i64, i64* %.reg2mem %9 = mul i64 %.reload6, 16 %10 = add i64 %9, %.reload %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @FUNC(i64 %12) %14 = load i64, i64* %6, align 8 %15 = or i64 %9, 8 %16 = add i64 %14, %15 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = call i64 @FUNC(i64 %18) %20 = add i32 %storemerge1.reload, 1 %21 = sext i32 %20 to i64 %22 = icmp sgt i64 %8, %21 %23 = load i64, i64* %6, align 8 store i64 %23, i64* %.reg2mem store i64 %21, i64* %.reg2mem5 store i32 %20, i32* %storemerge1.reg2mem store i64 %23, i64* %.lcssa.reg2mem br i1 %22, label LBL_3, label LBL_4 LBL_4: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %24 = inttoptr i64 %.lcssa.reload to i64* call void @free(i64* %24) %25 = inttoptr i64 %arg1 to i64* call void @free(i64* %25) store i64 ptrtoint (i32* @0 to i64), 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 %7, { 1, 0 } uselistorder i64* %6, { 2, 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem5, { 2, 0, 1 } uselistorder i32* %storemerge1.reg2mem, { 2, 0, 1 } uselistorder void (i64*)* @free, { 1, 2, 0 } uselistorder i64 (i64)* @msFree, { 1, 0 } uselistorder i32 1, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %arg1, { 1, 0, 2 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
CompRealVul
check_literal_8377
check_literal
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge5.reg2mem = alloca i32 %sv_0.0.ph.reg2mem = alloca i32 %sv_1.0.ph.reg2mem = alloca i8* %2 = load i64, i64* %1 %3 = load i128, i128* %0 %sv_2 = alloca i8*, align 8 %4 = trunc i64 %2 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_1, label LBL_16 LBL_1: %7 = ptrtoint i64* %arg1 to i64 %8 = add i64 %7, 4 %9 = inttoptr i64 %8 to i8* %10 = load i8, i8* %9, align 1 %11 = icmp eq i8 %10, 116 br i1 %11, label LBL_4, label LBL_2 LBL_2: %12 = icmp sgt i8 %10, 116 br i1 %12, label LBL_12, label LBL_3 LBL_3: switch i8 %10, label LBL_12 [ i8 102, label LBL_5 i8 110, label LBL_6 ] LBL_4: %13 = call i64 @FUNC() store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8** %sv_1.0.ph.reg2mem store i32 4, i32* %sv_0.0.ph.reg2mem br label LBL_7 LBL_5: %14 = call i64 @FUNC() store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i8** %sv_1.0.ph.reg2mem store i32 5, i32* %sv_0.0.ph.reg2mem br label LBL_7 LBL_6: %15 = call i64 @FUNC() store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0), i8** %sv_1.0.ph.reg2mem store i32 4, i32* %sv_0.0.ph.reg2mem br label LBL_7 LBL_7: %sv_0.0.ph.reload = load i32, i32* %sv_0.0.ph.reg2mem %16 = icmp eq i32 %sv_0.0.ph.reload, %4 store i64 ptrtoint ([16 x i8]* @gv_3 to i64), i64* %rax.0.reg2mem br i1 %16, label LBL_8, label LBL_16 LBL_8: %sv_1.0.ph.reload = load i8*, i8** %sv_1.0.ph.reg2mem %17 = ptrtoint i8* %sv_1.0.ph.reload to i64 store i32 0, i32* %storemerge5.reg2mem br label LBL_9 LBL_9: %storemerge5.reload = load i32, i32* %storemerge5.reg2mem %18 = sext i32 %storemerge5.reload to i64 %19 = add i64 %8, %18 %20 = inttoptr i64 %19 to i8* %21 = load i8, i8* %20, align 1 %22 = add i64 %18, %17 %23 = inttoptr i64 %22 to i8* %24 = load i8, i8* %23, align 1 %25 = icmp eq i8 %21, %24 store i64 ptrtoint ([16 x i8]* @gv_3 to i64), i64* %rax.0.reg2mem br i1 %25, label LBL_10, label LBL_16 LBL_10: %26 = add nuw i32 %storemerge5.reload, 1 %27 = icmp ult i32 %26, %4 store i32 %26, i32* %storemerge5.reg2mem br i1 %27, label LBL_9, label LBL_11 LBL_11: %28 = call i64 @FUNC(i64 %7) %29 = call i64 @FUNC(i64 %28) br label LBL_15 LBL_12: %sext = mul i64 %2, 4294967296 %30 = ashr exact i64 %sext, 32 %31 = add i64 %30, %8 %32 = inttoptr i64 %31 to i8* store i8 0, i8* %32, align 1 store i8* null, i8** %sv_2, align 8 %33 = add i64 %7, 264 %34 = bitcast i8** %sv_2 to i64* %35 = call i64 @FUNC(i64 %33, i64 %8, i64* nonnull %34) %36 = call i64 @FUNC(i128 %3) %37 = load i8*, i8** %sv_2, align 8 %38 = icmp eq i8* %37, null store i64 ptrtoint ([24 x i8]* @gv_4 to i64), i64* %rax.0.reg2mem br i1 %38, label LBL_16, label LBL_13 LBL_13: %39 = load i8, i8* %37, align 1 %40 = icmp eq i8 %39, 0 store i64 ptrtoint ([24 x i8]* @gv_4 to i64), i64* %rax.0.reg2mem br i1 %40, label LBL_14, label LBL_16 LBL_14: %41 = call i128 @__asm_movq.1(i64 %36) %42 = call i64 @FUNC(i128 %41) %43 = call i64 @FUNC(i64 %7) %44 = call i64 @FUNC(i64 %43) br label LBL_15 LBL_15: %45 = bitcast i64* %arg1 to i32* store i32 0, i32* %45, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_16 LBL_16: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %18, { 1, 0 } uselistorder i64 %8, { 2, 1, 0, 3 } uselistorder i64 %7, { 1, 2, 0, 3 } uselistorder i32 %4, { 1, 0, 2 } uselistorder i8** %sv_2, { 1, 2, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i8** %sv_1.0.ph.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %sv_0.0.ph.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %storemerge5.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 3, 2, 1, 4, 5 } uselistorder i64 ptrtoint ([24 x i8]* @gv_4 to i64), { 1, 0 } uselistorder i64 (i64)* @TRY, { 1, 0 } uselistorder i64 (i64)* @value, { 1, 0 } uselistorder i32 4, { 1, 0 } uselistorder i32 0, { 1, 0, 2 } uselistorder label LBL_16, { 5, 2, 1, 0, 3, 4 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_7, { 2, 1, 0 } }
0
CompRealVul
xmlInitializeDict_4356
xmlInitializeDict
define i64 @FUNC() local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = load i32, i32* @gv_0, align 4 %1 = icmp eq i32 %0, 0 store i64 1, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_3 LBL_1: %2 = call i64 @FUNC() store i64 %2, i64* @gv_1, 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_3 LBL_2: %5 = call i32 @time(i32* null) call void @srand(i32 %5) store i32 1, i32* @gv_0, align 4 store i64 1, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 1, { 1, 0, 2 } uselistorder i32 0, { 1, 0 } uselistorder i32* @gv_0, { 1, 0 } uselistorder i32 1, { 1, 0 } uselistorder label LBL_3, { 2, 0, 1 } }
0
CompRealVul
get_millisecs_now_10846
get_millisecs_now
define i64 @FUNC() local_unnamed_addr { LBL_0: %sv_0 = alloca i32, align 4 %0 = bitcast i32* %sv_0 to %timeval* %1 = call i32 @gettimeofday(%timeval* nonnull %0, %timezone* null) ret i64 0 }
0
CompRealVul
encode_claim_delegate_cur_9620
encode_claim_delegate_cur
define i64 @FUNC(i64* %arg1, i32* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 ret i64 %1 }
0
CompRealVul
vnc_client_read_plain_9105
vnc_client_read_plain
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 16 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_0, i64 0, i64 0), i64* %arg1, i64 %6, i64 %3) %8 = call i64 @FUNC(i64 %0, i64 4096) %9 = call i64 @FUNC(i64 %0) %10 = call i64 @FUNC(i64 %0, i64 %9, i64 4096) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false store i64 0, i64* %storemerge.reg2mem br i1 %13, label LBL_1, label LBL_2 LBL_1: %14 = load i64, i64* %2, align 8 %sext = mul i64 %10, 4294967296 %15 = ashr exact i64 %sext, 32 %16 = add i64 %14, %15 store i64 %16, i64* %2, align 8 store i64 %15, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %2, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
virtio_ccw_rng_instance_init_18629
virtio_ccw_rng_instance_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 8, i64 1) %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i64 %2, i64 0) %4 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i64 2, i64 %0, i64 0) ret i64 %4 uselistorder i64 %0, { 4, 0, 1, 3, 2 } }
1
CompRealVul
b43_power_saving_ctl_bits_8430
b43_power_saving_ctl_bits
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.1.reg2mem = alloca i64 %storemerge8.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = urem i64 %arg2, 4 %2 = icmp eq i64 %1, 3 %storemerge4 = zext i1 %2 to i64 %3 = call i64 @FUNC(i64 %storemerge4) %4 = and i64 %arg2, 12 %5 = icmp eq i64 %4, 12 %storemerge3 = zext i1 %5 to i64 %6 = call i64 @FUNC(i64 %storemerge3) %7 = call i64 @FUNC(i64 %0, i64 3145728) %8 = trunc i64 %7 to i32 %9 = and i32 %8, -3145729 %10 = or i32 %9, 2097152 %11 = call i64 @FUNC(i64 %0, i64 3145728, i32 %10) %12 = call i64 @FUNC(i64 %0, i64 3145728) %13 = trunc i64 %0 to i32 %14 = and i64 %0, 4294967295 %15 = icmp slt i32 %13, 5 store i32 0, i32* %storemerge8.reg2mem store i64 %14, i64* %rax.1.reg2mem br i1 %15, label LBL_3, label LBL_1 LBL_1: %16 = call i64 @FUNC(i64 %0, i64 4194304, i64 5242880) %17 = trunc i64 %16 to i16 %18 = icmp eq i16 %17, 0 %19 = icmp eq i1 %18, false store i64 %16, i64* %rax.1.reg2mem br i1 %19, label LBL_3, label LBL_2 LBL_2: %storemerge8.reload = load i32, i32* %storemerge8.reg2mem %20 = call i64 @FUNC(i64 10) %21 = add nuw nsw i32 %storemerge8.reload, 1 %22 = icmp ult i32 %21, 100 store i32 %21, i32* %storemerge8.reg2mem store i64 %20, i64* %rax.1.reg2mem br i1 %22, label LBL_1, label LBL_3 LBL_3: %rax.1.reload = load i64, i64* %rax.1.reg2mem ret i64 %rax.1.reload uselistorder i64 %0, { 2, 0, 1, 4, 3, 5 } uselistorder i32* %storemerge8.reg2mem, { 2, 0, 1 } uselistorder i64 (i64, i64)* @b43_read32, { 1, 0 } uselistorder i64 (i64)* @B43_WARN_ON, { 1, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_3, { 1, 0, 2 } uselistorder label LBL_1, { 1, 0 } }
0
CompRealVul
skl_init_module_4251
skl_init_module
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %sv_1 = alloca i64, align 8 %sv_2 = alloca i16, align 2 store i16 0, i16* %sv_2, align 2 store i64 0, i64* %sv_1, align 8 %4 = ptrtoint i32* %arg2 to i64 %5 = add i64 %4, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = zext i32 %7 to i64 %9 = and i64 %2, 4294967295 %10 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_1, i64 0, i64 0), i64 %9, i64 %8, i64 %1) %11 = add i64 %4, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = icmp eq i32 %15, 1 br i1 %16, label LBL_2, label LBL_1 LBL_1: %17 = add i64 %13, 4 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_2, i64 0, i64 0), i32 %15, i32 %19, i64 %8, i64 %1) store i64 1, i64* %rax.0.shrunk.reg2mem br label LBL_7 LBL_2: %21 = call i64 @FUNC(i64 %3, i64 %4, i16* nonnull %sv_2, i64* nonnull %sv_1) %22 = trunc i64 %21 to i32 %23 = icmp slt i32 %22, 0 %24 = icmp eq i1 %23, false br i1 %24, label LBL_4, label LBL_3 LBL_3: %25 = ptrtoint i64* %sv_1 to i64 %26 = trunc i64 %25 to i32 %27 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_3, i64 0, i64 0), i32 %22, i32 %26, i64 %8, i64 %1) store i64 %21, i64* %rax.0.shrunk.reg2mem br label LBL_7 LBL_4: %28 = trunc i64 %2 to i32 store i32 %28, i32* %sv_0, align 4 %29 = load i64, i64* %sv_1, align 8 %30 = add i64 %3, 8 %31 = call i64 @FUNC(i64 %30, i32* nonnull %sv_0, i64 %29) %32 = trunc i64 %31 to i32 %33 = icmp slt i32 %32, 0 %34 = icmp eq i1 %33, false br i1 %34, label LBL_6, label LBL_5 LBL_5: %35 = trunc i64 %30 to i32 %36 = call i64 @FUNC(i64 %30, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_4, i64 0, i64 0), i32 %32, i32 %35, i64 %8, i64 %1) %37 = load i64, i64* %sv_1, align 8 %38 = call i64 @FUNC(i64 %37) store i64 %31, i64* %rax.0.shrunk.reg2mem br label LBL_7 LBL_6: %39 = add i64 %4, 20 %40 = inttoptr i64 %39 to i32* store i32 2, i32* %40, align 4 %41 = load i64, i64* %sv_1, align 8 %42 = call i64 @FUNC(i64 %41) store i64 %31, i64* %rax.0.shrunk.reg2mem br label LBL_7 LBL_7: %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295 ret i64 %rax.0 uselistorder i64 %31, { 1, 0, 2 } uselistorder i64 %30, { 1, 0, 2 } uselistorder i64 %8, { 2, 1, 0, 3 } uselistorder i64* %sv_1, { 1, 2, 3, 4, 0, 5 } uselistorder i64 %3, { 2, 1, 3, 0, 4 } uselistorder i64 %1, { 2, 1, 0, 3 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64)* @kfree, { 1, 0 } uselistorder i64 (i64, i8*, i32, i32, i64, i64)* @dev_err, { 2, 1, 0 } }
0
CompRealVul
handle_vmptrst_7303
handle_vmptrst
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 %1 = call i64 @FUNC(i64 4660) %2 = call i64 @FUNC(i64 22136) %3 = call i64 @FUNC(i64 %0) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i64 1, i64* %rax.0.reg2mem br i1 %6, label LBL_1, label LBL_5 LBL_1: %7 = trunc i64 %2 to i32 %8 = call i64 @FUNC(i64 %0, i64 %1, i32 %7, i64 1, i64* nonnull %sv_0) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 store i64 1, i64* %rax.0.reg2mem br i1 %10, label LBL_2, label LBL_5 LBL_2: %11 = call i64 @FUNC(i64 %0) %12 = load i64, i64* %sv_0, align 8 %13 = call i64 @FUNC(i64 %0, i64 %12, i64 %11, i64 8, i64* nonnull %sv_0) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0) store i64 1, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %17 = call i64 @FUNC(i64 %0) %18 = call i64 @FUNC(i64 %0) store i64 %18, 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* %sv_0, { 0, 1, 3, 2 } uselistorder i64 %0, { 1, 0, 2, 4, 3, 5, 6 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 } uselistorder i64 1, { 2, 0, 3, 1 } uselistorder label LBL_5, { 2, 3, 0, 1 } }
0
CompRealVul
nfs_setattr_update_inode_18060
nfs_setattr_update_inode
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %.pre1.reg2mem = alloca i32 %.pre13.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %rsi = alloca i64, align 8 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg2 to i64 %4 = ptrtoint i64* %arg1 to i64 %5 = trunc i64 %2 to i32 %6 = urem i32 %5, 8 %7 = icmp eq i32 %6, 0 store i32 %5, i32* %.reg2mem br i1 %7, label LBL_8, label LBL_1 LBL_1: %8 = urem i32 %5, 2 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = trunc i64 %1 to i32 %11 = add i64 %3, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = urem i32 %13, 512 %15 = and i32 %10, -512 %16 = or i32 %14, %15 %17 = bitcast i64* %arg1 to i32* store i32 %16, i32* %17, align 4 br label LBL_3 LBL_3: %18 = bitcast i64* %rsi to i32* %19 = and i32 %5, 2 %20 = icmp eq i32 %19, 0 store i32 %5, i32* %.pre13.reg2mem br i1 %20, label LBL_5, label LBL_4 LBL_4: %21 = add i64 %3, 8 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = add i64 %4, 4 %25 = inttoptr i64 %24 to i32* store i32 %23, i32* %25, align 4 %.pre = load i32, i32* %18, align 8 store i32 %.pre, i32* %.pre13.reg2mem br label LBL_5 LBL_5: %.pre13.reload = load i32, i32* %.pre13.reg2mem %26 = and i32 %.pre13.reload, 4 %27 = icmp eq i32 %26, 0 store i32 %.pre13.reload, i32* %.pre1.reg2mem br i1 %27, label LBL_7, label LBL_6 LBL_6: %28 = add i64 %3, 12 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = add i64 %4, 8 %32 = inttoptr i64 %31 to i32* store i32 %30, i32* %32, align 4 %.pre1.pre = load i32, i32* %18, align 8 store i32 %.pre1.pre, i32* %.pre1.reg2mem br label LBL_7 LBL_7: %.pre1.reload = load i32, i32* %.pre1.reg2mem %33 = add i64 %4, 24 %34 = call i64 @FUNC(i64 %33) %35 = bitcast i64* %rdi to i32* %36 = load i32, i32* %35, align 8 %37 = or i32 %36, 3 %38 = bitcast i64* %arg1 to i32* store i32 %37, i32* %38, align 4 %39 = call i64 @FUNC(i64 %33) store i32 %.pre1.reload, i32* %.reg2mem br label LBL_8 LBL_8: %.reload = load i32, i32* %.reg2mem %40 = and i32 %.reload, 8 %41 = icmp eq i32 %40, 0 store i64 0, i64* %rax.0.reg2mem br i1 %41, label LBL_10, label LBL_9 LBL_9: %42 = add i64 %3, 16 %43 = inttoptr i64 %42 to i64* %44 = load i64, i64* %43, align 8 %45 = add i64 %4, 16 %46 = inttoptr i64 %45 to i64* store i64 %44, i64* %46, align 8 %47 = load i64, i64* %43, align 8 %48 = call i64 @FUNC(i64 %4, i64 %47) store i64 %48, 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 %5, { 1, 4, 2, 0, 3 } uselistorder i64 %4, { 3, 4, 2, 1, 0 } uselistorder i64 %3, { 2, 1, 0, 3 } uselistorder i32* %.pre13.reg2mem, { 0, 2, 1 } uselistorder i32* %.pre1.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder i32 8, { 1, 0 } }
1
CompRealVul
ocfs2_shutdown_local_alloc_7577
ocfs2_shutdown_local_alloc
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 %.pre-phi.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_1 = alloca i64, align 8 store i64 0, i64* %sv_1, align 8 %2 = call i64 @FUNC() %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_23, label LBL_1 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = add i64 %5, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = call i64 @FUNC(i64 %5, i64 1, i32 %8) %10 = icmp eq i64 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_2, label LBL_20 LBL_2: %12 = bitcast i64* %arg1 to i32* store i32 1, i32* %12, align 4 %13 = call i64 @FUNC(i64 %5, i64 2, i32 -1) %14 = icmp eq i64 %13, 0 %15 = icmp eq i1 %14, false br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = call i64 @FUNC(i64 4294967274) %17 = call i64 @FUNC(i64 %9) br label LBL_23 LBL_4: %18 = call i64 @FUNC(i64 %13) %19 = call i64 @FUNC(i64 %13, i64* nonnull %sv_1, i64 1) %20 = trunc i64 %19 to i32 %21 = icmp slt i32 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_6, label LBL_5 LBL_5: %23 = and i64 %19, 4294967295 %24 = call i64 @FUNC(i64 %23) store i64 0, i64* %sv_0.1.reg2mem br label LBL_21 LBL_6: %25 = call i64 @FUNC(i64 %5, i64 10) %26 = icmp ult i64 %25, -4095 br i1 %26, label LBL_8, label LBL_7 LBL_7: %27 = and i64 %25, 4294967295 %28 = call i64 @FUNC(i64 %27) store i64 0, i64* %sv_0.0.reg2mem br label LBL_17 LBL_8: %29 = add i64 %5, 8 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = add i64 %31, 8 %35 = inttoptr i64 %34 to i64* %36 = load i64, i64* %35, align 8 %37 = call i64 @FUNC(i64 %36, i64 0) %38 = icmp eq i64 %37, 0 %39 = icmp eq i1 %38, false br i1 %39, label LBL_10, label LBL_8.LBL_16_crit_edge LBL_9: %.pre = mul i64 %25, 4294967296 %.pre6 = ashr exact i64 %.pre, 32 store i64 %.pre6, i64* %.pre-phi.reg2mem br label LBL_16 LBL_10: %40 = load i64, i64* %35, align 8 %41 = inttoptr i64 %37 to i64* %42 = inttoptr i64 %33 to i64* %43 = trunc i64 %40 to i32 %44 = call i64* @memcpy(i64* %41, i64* %42, i32 %43) %sext2 = mul i64 %25, 4294967296 %45 = ashr exact i64 %sext2, 32 %46 = call i64 @FUNC(i64 %45, i64 %9, i64 %31, i64 1) %47 = trunc i64 %46 to i32 %48 = icmp slt i32 %47, 0 %49 = icmp eq i1 %48, false br i1 %49, label LBL_12, label LBL_11 LBL_11: %50 = and i64 %46, 4294967295 %51 = call i64 @FUNC(i64 %50) store i64 %45, i64* %.pre-phi.reg2mem br label LBL_16 LBL_12: %52 = call i64 @FUNC(i64 %33) %53 = call i64 @FUNC(i64 %45, i64 %31) %54 = trunc i64 %53 to i32 %55 = icmp slt i32 %54, 0 %56 = icmp eq i1 %55, false br i1 %56, label LBL_14, label LBL_13 LBL_13: %57 = and i64 %53, 4294967295 %58 = call i64 @FUNC(i64 %57) store i64 %45, i64* %.pre-phi.reg2mem br label LBL_16 LBL_14: %59 = call i64 @FUNC(i64 %31) store i64 0, i64* %30, align 8 store i32 0, i32* %12, align 4 %60 = load i64, i64* %sv_1, align 8 %61 = call i64 @FUNC(i64 %5, i64 %45, i64 %37, i64 %13, i64 %60) %62 = trunc i64 %61 to i32 %63 = icmp slt i32 %62, 0 %64 = icmp eq i1 %63, false store i64 %45, i64* %.pre-phi.reg2mem br i1 %64, label LBL_16, label LBL_15 LBL_15: %65 = and i64 %61, 4294967295 %66 = call i64 @FUNC(i64 %65) store i64 %45, i64* %.pre-phi.reg2mem br label LBL_16 LBL_16: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %67 = call i64 @FUNC(i64 %5, i64 %.pre-phi.reload) store i64 %37, i64* %sv_0.0.reg2mem br label LBL_17 LBL_17: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %68 = load i64, i64* %sv_1, align 8 %69 = icmp eq i64 %68, 0 br i1 %69, label LBL_19, label LBL_18 LBL_18: %70 = call i64 @FUNC(i64 %68) br label LBL_19 LBL_19: %71 = call i64 @FUNC(i64 %13, i64 1) store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br label LBL_21 LBL_20: %72 = call i64 @FUNC(i64 4294967294) br label LBL_23 LBL_21: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %73 = call i64 @FUNC(i64 %13) %74 = call i64 @FUNC(i64 %13) %75 = call i64 @FUNC(i64 %9) %76 = icmp eq i64 %sv_0.1.reload, 0 br i1 %76, label LBL_23, label LBL_22 LBL_22: %77 = call i64 @FUNC(i64 %sv_0.1.reload) br label LBL_23 LBL_23: %78 = call i64 @FUNC() ret i64 %78 uselistorder i64 %45, { 2, 3, 4, 1, 5, 0, 6 } uselistorder i64 %13, { 1, 0, 2, 3, 5, 4, 6 } uselistorder i64 %9, { 1, 2, 0, 3 } uselistorder i64 %5, { 0, 1, 2, 3, 4, 6, 5 } uselistorder i64* %sv_1, { 1, 2, 0, 3 } uselistorder i64* %.pre-phi.reg2mem, { 0, 3, 4, 2, 1, 5 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @brelse, { 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder i64 (i64)* @iput, { 2, 1, 0 } uselistorder i64 (i64)* @mlog_errno, { 0, 6, 5, 4, 3, 2, 1 } uselistorder i64 (i64, i64, i32)* @ocfs2_get_system_file_inode, { 1, 0 } uselistorder label LBL_23, { 3, 4, 1, 0, 2 } uselistorder label LBL_21, { 1, 0 } uselistorder label LBL_16, { 2, 1, 3, 4, 0 } }
1
CompRealVul
l_strnstart_11666
l_strnstart
define i64 @FUNC(i64 %arg1, i32 %arg2, i64 %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = icmp ugt i32 %arg2, %arg4 store i64 0, i64* %storemerge.reg2mem br i1 %0, label LBL_2, label LBL_1 LBL_1: %1 = inttoptr i64 %arg1 to i8* %2 = inttoptr i64 %arg3 to i8* %3 = call i32 @strncmp(i8* %1, i8* %2, i32 %arg2) %4 = icmp eq i32 %3, 0 %5 = zext i1 %4 to i64 store i64 %5, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
pmd_none_or_trans_huge_or_clear_bad_11249
pmd_none_or_trans_huge_or_clear_bad
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC() %3 = call i64 @FUNC(i64 %1) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 store i64 1, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_4 LBL_1: %6 = call i64 @FUNC(i64 %1) %7 = and i64 %6, 4294967295 %8 = call i64 @FUNC(i64 %7) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 store i64 0, i64* %rax.0.reg2mem br i1 %10, label LBL_4, label LBL_2 LBL_2: %11 = call i64 @FUNC(i64 %1) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false store i64 1, i64* %rax.0.reg2mem br i1 %14, label LBL_4, label LBL_3 LBL_3: %15 = call i64 @FUNC(i64 %0) store i64 1, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 4 } uselistorder i64 1, { 1, 0, 2 } uselistorder label LBL_4, { 2, 1, 0, 3 } }
1
CompRealVul
dpy_refresh_822
dpy_refresh
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge1.lcssa.reg2mem = alloca i64 %storemerge12.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* %storemerge12.reg2mem store i64 %0, i64* %storemerge1.lcssa.reg2mem br i1 %2, label LBL_1, label LBL_5 LBL_1: %storemerge12.reload = load i64, i64* %storemerge12.reg2mem %3 = inttoptr i64 %storemerge12.reload 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 br i1 %7, label LBL_4, label LBL_2 LBL_2: %8 = call i64 @FUNC() %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = call i64 @FUNC(i64 0, i64 4198691, i64 %storemerge12.reload) br label LBL_4 LBL_4: %12 = add i64 %storemerge12.reload, 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = icmp eq i64 %14, 0 %16 = icmp eq i1 %15, false store i64 %14, i64* %storemerge12.reg2mem store i64 %14, i64* %storemerge1.lcssa.reg2mem br i1 %16, label LBL_1, label LBL_5 LBL_5: %storemerge1.lcssa.reload = load i64, i64* %storemerge1.lcssa.reg2mem ret i64 %storemerge1.lcssa.reload uselistorder i64 %storemerge12.reload, { 2, 0, 1 } uselistorder i64* %storemerge12.reg2mem, { 2, 0, 1 } uselistorder i1 false, { 1, 0 } uselistorder label LBL_4, { 1, 0, 2 } uselistorder label LBL_1, { 1, 0 } }
0
CompRealVul
evtchn_from_irq_7178
evtchn_from_irq
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = trunc i64 %arg1 to i32 %1 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4 %2 = icmp ugt i32 %1, %0 %3 = icmp eq i1 %2, false store i64 0, i64* %storemerge.reg2mem br i1 %3, label LBL_3, label LBL_1 LBL_1: %4 = and i64 %arg1, 4294967295 %5 = call i64 @FUNC(i64 %4) %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false store i64 0, i64* %storemerge.reg2mem br i1 %7, label LBL_2, label LBL_3 LBL_2: %8 = inttoptr i64 %5 to i32* %9 = load i32, i32* %8, align 4 %10 = zext i32 %9 to i64 store i64 %10, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %5, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder i1 false, { 1, 0 } uselistorder label LBL_3, { 2, 1, 0 } }
0
CompRealVul
_unpack_network_callerid_msg_18254
_unpack_network_callerid_msg
define i64 @FUNC(i64* %arg1, i64 %arg2, i16 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i32, align 4 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false %2 = zext i1 %1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = call i64 @FUNC(i64 44) store i64 %4, i64* %arg1, align 8 %5 = icmp eq i16 %arg3, 0 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = bitcast i32* %sv_1 to i64* %7 = call i64 @FUNC(i64* nonnull %sv_0, i64* nonnull %6, i64 %arg2) %8 = load i32, i32* %sv_1, align 4 %9 = load i64, i64* %sv_0, align 8 %10 = inttoptr i64 %4 to i64* %11 = inttoptr i64 %9 to i64* %12 = call i64* @memcpy(i64* %10, i64* %11, i32 %8) %13 = load i64, i64* %sv_0, align 8 %14 = call i64 @FUNC(i64 %13) %15 = call i64 @FUNC(i64* nonnull %sv_0, i64* nonnull %6, i64 %arg2) %16 = load i32, i32* %sv_1, align 4 %17 = load i64, i64* %sv_0, align 8 %18 = add i64 %4, 16 %19 = inttoptr i64 %18 to i64* %20 = inttoptr i64 %17 to i64* %21 = call i64* @memcpy(i64* %19, i64* %20, i32 %16) %22 = load i64, i64* %sv_0, align 8 %23 = call i64 @FUNC(i64 %22) %24 = add i64 %4, 32 %25 = call i64 @FUNC(i64 %24, i64 %arg2) %26 = add i64 %4, 36 %27 = call i64 @FUNC(i64 %26, i64 %arg2) %28 = add i64 %4, 40 %29 = call i64 @FUNC(i64 %28, i64 %arg2) store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %30 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_1, i64 0, i64 0), i64 0) %31 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_1, i64 0, i64 0)) store i64 0, i64* %arg1, align 8 %32 = call i64 @FUNC(i64 %4) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %4, { 5, 2, 1, 0, 3, 4, 6 } uselistorder i32* %sv_1, { 1, 0, 2 } uselistorder i64* %sv_0, { 2, 3, 0, 4, 5, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64)* @safe_unpack32, { 2, 1, 0 } uselistorder i64 (i64)* @xfree, { 2, 1, 0 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 2, 1, 0 } uselistorder i64 (i64*, i64*, i64)* @safe_unpackmem_xmalloc, { 1, 0 } uselistorder i64 (i64)* @xmalloc, { 1, 0 } uselistorder i64 %arg2, { 2, 1, 0, 3, 4 } uselistorder i64* %arg1, { 0, 2, 1 } }
1
CompRealVul
follow_dotdot_12601
follow_dotdot
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 24 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %0) br label LBL_2 LBL_2: %7 = add i64 %0, 16 %8 = inttoptr i64 %7 to i64* %9 = add i64 %0, 8 %10 = inttoptr i64 %9 to i64* br label LBL_3 LBL_3: %11 = load i64, i64* %8, align 8 %12 = icmp eq i64 %11, %0 %13 = icmp eq i1 %12, false %.pre = load i64, i64* %10, align 8 br i1 %13, label LBL_5, label LBL_4 LBL_4: %14 = load i64, i64* %2, align 8 %15 = icmp eq i64 %.pre, %14 br i1 %15, label LBL_8, label LBL_5 LBL_5: %16 = inttoptr i64 %.pre to i64* %17 = load i64, i64* %16, align 8 %18 = icmp eq i64 %17, %0 br i1 %18, label LBL_7, label LBL_6 LBL_6: %19 = call i64 @FUNC(i64 %0) store i64 %19, i64* %arg1, align 8 %20 = call i64 @FUNC(i64 %0) br label LBL_8 LBL_7: %21 = call i64 @FUNC(i64 %0) %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 0 br i1 %23, label LBL_8, label LBL_3 LBL_8: %24 = call i64 @FUNC(i64 %0) %25 = add i64 %0, 32 %26 = inttoptr i64 %25 to i64* store i64 %0, i64* %26, align 8 ret i64 %0 uselistorder i64 %0, { 7, 5, 6, 4, 8, 3, 2, 0, 1, 10, 9, 11, 12 } uselistorder label LBL_8, { 0, 2, 1 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
vga_invalidate_display_18592
vga_invalidate_display
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i32* %arg1 to i64 store i32 -1, i32* %arg1, align 4 %1 = add i64 %0, 4 %2 = inttoptr i64 %1 to i32* store i32 -1, i32* %2, align 4 ret i64 %0 uselistorder i64 %0, { 1, 0 } }
1
CompRealVul
sctp_v6_to_sk_saddr_9494
sctp_v6_to_sk_saddr
define i64 @FUNC(i16* %arg1, i64* %arg2) 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 = trunc i64 %1 to i16 %4 = icmp eq i16 %3, 2 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = bitcast i64* %arg2 to i32* store i32 0, i32* %6, align 4 %7 = add i64 %2, 4 %8 = inttoptr i64 %7 to i32* store i32 0, i32* %8, align 4 %9 = call i32 @htonl(i32 65535) %10 = add i64 %2, 8 %11 = inttoptr i64 %10 to i32* store i32 %9, i32* %11, align 4 %12 = ptrtoint i16* %arg1 to i64 %13 = add i64 %12, 4 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = add i64 %2, 12 %17 = inttoptr i64 %16 to i32* store i32 %15, i32* %17, align 4 store i64 %2, i64* %rax.0.reg2mem br label LBL_3 LBL_2: %18 = ptrtoint i16* %arg1 to i64 %19 = add i64 %18, 16 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = add i64 %18, 8 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 store i64 %24, i64* %arg2, align 8 %25 = add i64 %2, 8 %26 = inttoptr i64 %25 to i64* store i64 %21, i64* %26, align 8 store i64 %24, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %2, { 4, 0, 1, 2, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i64* %arg2, { 1, 0, 2 } uselistorder i16* %arg1, { 1, 0 } }
0
CompRealVul
load_reg_1501
load_reg
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 = call i64 @FUNC() %3 = and i64 %2, 4294967295 %4 = call i64 @FUNC(i64 %0, i64 %3, i32 %1) ret i64 %3 }
0
CompRealVul
revoke_lo_scan_elements_5315
revoke_lo_scan_elements
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i32 %sv_0.03.reg2mem = alloca i32 %sv_1.04.reg2mem = alloca i32 %.reg2mem = alloca i64 %sv_1.1921.reg2mem = alloca i32 %sv_2.0822.reg2mem = alloca i1 %sv_0.2723.reg2mem = alloca i32 %sv_3.0624.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg3 to i64 %3 = ptrtoint i64* %arg1 to i64 %sv_4 = alloca i64, align 8 %sv_5 = alloca i64, align 8 %sext = mul i64 %arg2, 4294967296 %4 = ashr exact i64 %sext, 32 store i64 %4, i64* %sv_5, align 8 %5 = trunc i64 %arg5 to i32 %6 = call i64 @FUNC(i64 %3) %7 = and i64 %1, 4294967295 %8 = call i64 @FUNC(i64 %7) %9 = add i64 %2, 4 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = zext i32 %11 to i64 %13 = call i64 @FUNC(i64 %12) %14 = icmp eq i32 %5, 0 %15 = icmp eq i1 %14, false store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %15, label LBL_15, label LBL_1 LBL_1: %16 = trunc i64 %8 to i32 %17 = add i64 %2, 8 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = zext i32 %19 to i64 %21 = call i64 @FUNC(i64 %20) %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 1 %24 = icmp eq i32 %16, 0 %25 = icmp eq i1 %24, false %or.cond = icmp eq i1 %25, %23 store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %or.cond, label LBL_2, label LBL_15 LBL_2: %26 = and i64 %4, 4294967295 %27 = call i64 @FUNC(i64 %3, i64 %26, i64* nonnull %sv_4) %28 = trunc i64 %27 to i32 %29 = icmp eq i32 %28, 0 store i64 %27, i64* %rax.0.shrunk.reg2mem br i1 %29, label LBL_3, label LBL_15 LBL_3: %30 = inttoptr i64 %6 to i32* %31 = add i64 %6, 4 %32 = inttoptr i64 %31 to i32* %33 = bitcast i64* %sv_5 to i32* %34 = trunc i64 %13 to i32 store i32 %16, i32* %sv_3.0624.reg2mem store i32 %34, i32* %sv_0.2723.reg2mem store i1 true, i1* %sv_2.0822.reg2mem store i32 12, i32* %sv_1.1921.reg2mem br label LBL_4 LBL_4: %sv_1.1921.reload = load i32, i32* %sv_1.1921.reg2mem %sv_2.0822.reload = load i1, i1* %sv_2.0822.reg2mem %sv_0.2723.reload = load i32, i32* %sv_0.2723.reg2mem %sv_3.0624.reload = load i32, i32* %sv_3.0624.reg2mem br i1 %sv_2.0822.reload, label LBL_6, label LBL_5 LBL_5: %35 = load i64, i64* %sv_4, align 8 %36 = call i64 @FUNC(i64 %6, i64 %35, i64 2) br label LBL_6 LBL_6: %37 = zext i32 %sv_1.1921.reload to i64 %38 = add nuw nsw i64 %37, 8 %39 = load i32, i32* %30, align 4 %40 = zext i32 %39 to i64 %41 = icmp ugt i64 %38, %40 store i64 %37, i64* %.reg2mem store i32 %sv_1.1921.reload, i32* %sv_1.04.reg2mem store i32 %sv_0.2723.reload, i32* %sv_0.03.reg2mem store i32 %sv_0.2723.reload, i32* %sv_0.1.reg2mem br i1 %41, label LBL_13, label LBL_7 LBL_7: %.reload = load i64, i64* %.reg2mem %42 = load i64, i64* %sv_4, align 8 %43 = inttoptr i64 %42 to i64* %44 = load i64, i64* %43, align 8 %45 = add i64 %44, %.reload %46 = inttoptr i64 %45 to i64* %47 = load i64, i64* %46, align 8 %48 = call i64 @FUNC(i64 %47) %49 = load i64, i64* %sv_5, align 8 %50 = trunc i64 %49 to i32 %51 = call i64 @FUNC(i64 %6, i64 %48, i32 %50) %52 = trunc i64 %51 to i32 %53 = icmp slt i32 %52, 0 %54 = icmp eq i1 %53, false br i1 %54, label LBL_9, label LBL_8 LBL_8: %55 = load i64, i64* %sv_4, align 8 %56 = call i64 @FUNC(i64 %55) store i64 %51, i64* %rax.0.shrunk.reg2mem br label LBL_15 LBL_9: %sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem %sv_1.04.reload = load i32, i32* %sv_1.04.reg2mem %57 = icmp eq i32 %52, 0 br i1 %57, label LBL_11, label LBL_10 LBL_10: %58 = load i32, i32* %32, align 4 %59 = add i32 %58, 1 store i32 %59, i32* %32, align 4 br label LBL_11 LBL_11: %60 = add i32 %sv_0.03.reload, -1 %61 = icmp eq i32 %60, 0 store i32 0, i32* %sv_0.1.reg2mem br i1 %61, label LBL_13, label LBL_12 LBL_12: %62 = add i32 %sv_1.04.reload, 8 %63 = zext i32 %62 to i64 %64 = add nuw nsw i64 %63, 8 %65 = load i32, i32* %30, align 4 %66 = zext i32 %65 to i64 %67 = icmp ugt i64 %64, %66 store i64 %63, i64* %.reg2mem store i32 %62, i32* %sv_1.04.reg2mem store i32 %60, i32* %sv_0.03.reg2mem store i32 %60, i32* %sv_0.1.reg2mem br i1 %67, label LBL_13, label LBL_7 LBL_13: %68 = load i64, i64* %sv_4, align 8 %69 = call i64 @FUNC(i64 %68) %70 = call i64 @FUNC(i64 %6, i32* nonnull %33) %71 = add i32 %sv_3.0624.reload, -1 %72 = icmp eq i32 %71, 0 %73 = icmp eq i1 %72, false store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %73, label LBL_13.dec_label_pc_40122c_crit_edge, label LBL_15 LBL_14: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %.pre = load i64, i64* %sv_5, align 8 %74 = and i64 %.pre, 4294967295 %75 = call i64 @FUNC(i64 %3, i64 %74, i64* nonnull %sv_4) %76 = trunc i64 %75 to i32 %77 = icmp eq i32 %76, 0 store i32 %71, i32* %sv_3.0624.reg2mem store i32 %sv_0.1.reload, i32* %sv_0.2723.reg2mem store i1 false, i1* %sv_2.0822.reg2mem store i32 0, i32* %sv_1.1921.reg2mem store i64 %75, i64* %rax.0.shrunk.reg2mem br i1 %77, label LBL_4, label LBL_15 LBL_15: %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295 ret i64 %rax.0 uselistorder i32* %30, { 1, 0 } uselistorder i64 %6, { 0, 2, 3, 1, 4 } uselistorder i64* %sv_5, { 0, 2, 3, 1 } uselistorder i64* %sv_4, { 1, 2, 3, 4, 5, 0 } uselistorder i64 %3, { 1, 0, 2 } uselistorder i32* %sv_3.0624.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.2723.reg2mem, { 1, 0, 2 } uselistorder i1* %sv_2.0822.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.1921.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.04.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.03.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 1, 2, 6, 3, 5, 4 } uselistorder i32 -1, { 1, 0 } uselistorder i64 (i64)* @brelse, { 1, 0 } uselistorder i64 (i64, i64, i64*)* @gfs2_replay_read_block, { 1, 0 } uselistorder i64 8, { 1, 0, 2 } uselistorder i1 false, { 0, 3, 2, 1, 4 } uselistorder i32 0, { 1, 7, 8, 0, 4, 5, 6, 2, 3, 9 } uselistorder i64 (i64)* @be32_to_cpu, { 2, 1, 0 } uselistorder label LBL_15, { 2, 1, 5, 0, 4, 3 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
CompRealVul
i915_gem_init_stolen_4180
i915_gem_init_stolen
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false br i1 %1, label LBL_1, label LBL_4 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = add i64 %2, 8 %5 = inttoptr i64 %4 to i64* store i64 %3, i64* %5, align 8 %6 = icmp eq i64 %3, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_2, label LBL_4 LBL_2: %8 = call i64 @FUNC(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_0, i64 0, i64 0), i64 %2, i64 %3) %9 = call i64 @FUNC(i64 %2) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 %spec.select = select i1 %11, i64 0, i64 1048576 %12 = icmp ule i64 %spec.select, %2 %13 = icmp ne i1 %12, true %14 = zext i1 %13 to i64 %15 = call i64 @FUNC(i64 %14) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 br i1 %17, label LBL_3, label LBL_4 LBL_3: %18 = sub nsw i64 %14, %spec.select %19 = add i64 %2, 16 %20 = call i64 @FUNC(i64 %19, i64 0, i64 %18) br label LBL_4 LBL_4: ret i64 0 uselistorder i64 %3, { 1, 0, 2 } uselistorder i64 %2, { 1, 0, 2, 3, 4, 5 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_4, { 3, 0, 1, 2 } }
0
CompRealVul
pci_data_read_14235
pci_data_read
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg3, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = and i64 %arg2, 4294967295 %3 = call i64 @FUNC(i64 %0, i64 %2) %4 = trunc i64 %1 to i32 switch i32 %4, label LBL_1 [ i32 1, label LBL_2 i32 2, label LBL_2 i32 4, label LBL_2 ] LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 27, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %5 = trunc i64 %3 to i32 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %7, label LBL_3, label LBL_4 LBL_3: %sext3 = mul i64 %3, 4294967296 %8 = ashr exact i64 %sext3, 32 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = trunc i64 %arg2 to i32 %12 = urem i32 %11, 256 %13 = and i64 %1, 4294967295 %14 = inttoptr i64 %10 to i8* %15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_4, i64 0, i64 0), i8* %14, i32 %12, i32 %5, i64 %13) %16 = and i64 %3, 4294967295 store i64 %16, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %5, { 1, 0 } uselistorder i64 %3, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 4294967295, { 1, 2, 0, 3 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_2, { 3, 0, 1, 2 } }
1
CompRealVul
find_optimal_param_16077
find_optimal_param
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = trunc i64 %arg1 to i32 %1 = trunc i64 %arg2 to i32 %2 = ashr i32 %1, 1 %3 = icmp ult i32 %2, %0 store i64 0, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_2 LBL_1: %4 = sub i32 %0, %2 %5 = udiv i32 %4, %1 %.zext = zext i32 %5 to i64 %6 = call i64 @FUNC(i64 %.zext) %7 = trunc i64 %6 to i32 %8 = add i32 %7, -16 %9 = sub i32 15, %7 %10 = and i32 %9, %7 %11 = icmp slt i32 %10, 0 %12 = icmp eq i32 %8, 0 %13 = icmp slt i32 %8, 0 %14 = icmp eq i1 %13, %11 %15 = icmp eq i1 %12, false %16 = icmp eq i1 %14, %15 %17 = and i64 %6, 4294967295 %18 = select i1 %16, i64 16, i64 %17 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 %8, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 1, 2, 3, 4, 0 } uselistorder i32 1, { 3, 0, 4, 5, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
xmlStringGetNodeList_7795
xmlStringGetNodeList
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.5.reg2mem = alloca i64 %sv_0.4.ph.lcssa118.reg2mem = alloca i64 %sv_1.4.ph.lcssa120.reg2mem = alloca i64 %sv_0.4.ph.lcssa117.reg2mem = alloca i64 %sv_1.4.ph.lcssa119.reg2mem = alloca i64 %sv_2.1.ph.lcssa121.reg2mem = alloca i64 %sv_3.4.lcssa122.reg2mem = alloca i64 %sv_3.4.lcssa.reg2mem = alloca i64 %sv_2.1.ph.lcssa.reg2mem = alloca i64 %sv_1.4.ph.lcssa.reg2mem = alloca i64 %sv_0.4.ph.lcssa.reg2mem = alloca i64 %sv_0.3113.reg2mem = alloca i64 %sv_1.3114.reg2mem = alloca i64 %sv_3.3115.reg2mem = alloca i64 %sv_4.5.reg2mem = alloca i32 %sv_3.3.reg2mem = alloca i64 %sv_1.1.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %storemerge574.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %.lcssa130.reg2mem = alloca i64 %sv_3.2.lcssa.reg2mem = alloca i64 %.lcssa131.reg2mem = alloca i8 %.reg2mem181 = alloca i64 %sv_4.4.reg2mem = alloca i32 %.reg2mem179 = alloca i64 %storemerge728.reg2mem = alloca i64 %sv_4.365.reg2mem = alloca i32 %storemerge766.reg2mem = alloca i64 %storemerge3868.in.reg2mem = alloca i8 %sv_4.2.reg2mem = alloca i32 %.reg2mem177 = alloca i64 %storemerge623.reg2mem = alloca i64 %sv_4.0.reg2mem = alloca i32 %sv_4.154.reg2mem = alloca i32 %storemerge655.reg2mem = alloca i64 %storemerge58.in.reg2mem = alloca i8 %sv_3.443.reg2mem = alloca i64 %.reg2mem175 = alloca i8 %sv_0.4.ph75.reg2mem = alloca i64 %sv_1.4.ph76.reg2mem = alloca i64 %sv_2.1.ph78.reg2mem = alloca i64 %.reg2mem = alloca i8 %sv_5 = alloca i64, align 8 %sv_6 = alloca i64, align 8 %0 = icmp eq i64 %arg2, 0 %1 = icmp eq i1 %0, false store i64 0, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_56 LBL_1: %2 = call i64 @FUNC(i64 0) %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_56 LBL_2: %5 = call i64 @FUNC(i64 %2, i64 0) %6 = inttoptr i64 %arg2 to i8* %7 = load i8, i8* %6, align 1 %8 = icmp eq i8 %7, 0 %9 = icmp eq i1 %8, false store i64 %arg2, i64* %sv_3.4.lcssa122.reg2mem store i64 %arg2, i64* %sv_2.1.ph.lcssa121.reg2mem store i64 0, i64* %sv_1.4.ph.lcssa119.reg2mem store i64 0, i64* %sv_0.4.ph.lcssa117.reg2mem br i1 %9, label LBL_3, label LBL_51 LBL_3: %10 = ptrtoint i64* %sv_6 to i64 %11 = add i64 %10, -94 %12 = ptrtoint i64* %sv_5 to i64 store i8 %7, i8* %.reg2mem store i64 %arg2, i64* %sv_2.1.ph78.reg2mem store i64 0, i64* %sv_1.4.ph76.reg2mem store i64 0, i64* %sv_0.4.ph75.reg2mem br label LBL_4 LBL_4: %sv_0.4.ph75.reload = load i64, i64* %sv_0.4.ph75.reg2mem %sv_1.4.ph76.reload = load i64, i64* %sv_1.4.ph76.reg2mem %sv_2.1.ph78.reload = load i64, i64* %sv_2.1.ph78.reg2mem %.reload = load i8, i8* %.reg2mem store i8 %.reload, i8* %.reg2mem175 store i64 %sv_2.1.ph78.reload, i64* %sv_3.443.reg2mem br label LBL_5 LBL_5: %sv_3.443.reload = load i64, i64* %sv_3.443.reg2mem %.reload176 = load i8, i8* %.reg2mem175 %13 = icmp eq i8 %.reload176, 38 %14 = icmp eq i1 %13, false br i1 %14, label LBL_49, label LBL_6 LBL_6: %15 = icmp eq i64 %sv_3.443.reload, %sv_2.1.ph78.reload br i1 %15, label LBL_8, label LBL_7 LBL_7: %16 = sub i64 %sv_3.443.reload, %sv_2.1.ph78.reload %17 = call i64 @FUNC(i64 %2, i64 %sv_2.1.ph78.reload, i64 %16) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 %20 = icmp eq i1 %19, false store i64 %sv_0.4.ph75.reload, i64* %sv_0.5.reg2mem br i1 %20, label LBL_55, label LBL_8 LBL_8: %21 = add i64 %sv_3.443.reload, 1 %22 = inttoptr i64 %21 to i8* %23 = load i8, i8* %22, align 1 %24 = icmp eq i8 %23, 35 %25 = icmp eq i1 %24, false br i1 %25, label LBL_9, label LBL_10 LBL_9: %26 = icmp ne i8 %23, 0 %27 = icmp eq i8 %23, 59 %28 = icmp eq i1 %27, false %or.cond14148 = icmp eq i1 %26, %28 %29 = add i64 %sv_3.443.reload, 2 store i64 %29, i64* %.reg2mem181 store i8 %23, i8* %.lcssa131.reg2mem store i64 %21, i64* %sv_3.2.lcssa.reg2mem store i64 %29, i64* %.lcssa130.reg2mem br i1 %or.cond14148, label LBL_26, label LBL_27 LBL_10: %30 = add i64 %sv_3.443.reload, 2 %31 = inttoptr i64 %30 to i8* %32 = load i8, i8* %31, align 1 %33 = icmp eq i8 %32, 120 %34 = icmp eq i1 %33, false br i1 %34, label LBL_21, label LBL_11 LBL_11: %35 = add i64 %sv_3.443.reload, 3 %storemerge.in.in51 = inttoptr i64 %35 to i8* %storemerge.in52 = load i8, i8* %storemerge.in.in51, align 1 %36 = icmp eq i8 %storemerge.in52, 59 %37 = icmp eq i1 %36, false store i8 %storemerge.in52, i8* %storemerge58.in.reg2mem store i64 %35, i64* %storemerge655.reg2mem store i32 0, i32* %sv_4.154.reg2mem store i64 %35, i64* %storemerge623.reg2mem store i64 1, i64* %.reg2mem177 store i32 0, i32* %sv_4.2.reg2mem br i1 %37, label LBL_12, label LBL_20 LBL_12: %sv_4.154.reload = load i32, i32* %sv_4.154.reg2mem %storemerge655.reload = load i64, i64* %storemerge655.reg2mem %storemerge58.in.reload = load i8, i8* %storemerge58.in.reg2mem %storemerge58 = sext i8 %storemerge58.in.reload to i32 %storemerge.in.off = add i8 %storemerge58.in.reload, -48 %38 = icmp ult i8 %storemerge.in.off, 10 br i1 %38, label LBL_13, label LBL_14 LBL_13: %39 = mul i32 %sv_4.154.reload, 16 %40 = urem i32 %storemerge58, 256 %41 = add nsw i32 %40, -48 %42 = add i32 %41, %39 store i32 %42, i32* %sv_4.0.reg2mem br label LBL_19 LBL_14: %storemerge.in.off17 = add i8 %storemerge58.in.reload, -97 %43 = icmp ult i8 %storemerge.in.off17, 6 br i1 %43, label LBL_15, label LBL_16 LBL_15: %44 = mul i32 %sv_4.154.reload, 16 %45 = urem i32 %storemerge58, 256 %46 = add nsw i32 %45, -87 %47 = add i32 %46, %44 store i32 %47, i32* %sv_4.0.reg2mem br label LBL_19 LBL_16: %storemerge.in.off18 = add i8 %storemerge58.in.reload, -65 %48 = icmp ult i8 %storemerge.in.off18, 6 br i1 %48, label LBL_17, label LBL_18 LBL_17: %49 = mul i32 %sv_4.154.reload, 16 %50 = urem i32 %storemerge58, 256 %51 = add nsw i32 %50, -55 %52 = add i32 %51, %49 store i32 %52, i32* %sv_4.0.reg2mem br label LBL_19 LBL_18: %53 = call i64 @FUNC(i64 2, i64 %arg1, i64 0) store i64 %storemerge655.reload, i64* %storemerge623.reg2mem store i64 0, i64* %.reg2mem177 store i32 0, i32* %sv_4.2.reg2mem br label LBL_20 LBL_19: %sv_4.0.reload = load i32, i32* %sv_4.0.reg2mem %54 = add i64 %storemerge655.reload, 1 %storemerge.in.in = inttoptr i64 %54 to i8* %storemerge.in = load i8, i8* %storemerge.in.in, align 1 %55 = icmp eq i8 %storemerge.in, 59 %56 = icmp eq i1 %55, false store i8 %storemerge.in, i8* %storemerge58.in.reg2mem store i64 %54, i64* %storemerge655.reg2mem store i32 %sv_4.0.reload, i32* %sv_4.154.reg2mem store i64 %54, i64* %storemerge623.reg2mem store i64 1, i64* %.reg2mem177 store i32 %sv_4.0.reload, i32* %sv_4.2.reg2mem br i1 %56, label LBL_12, label LBL_20 LBL_20: %sv_4.2.reload = load i32, i32* %sv_4.2.reg2mem %.reload178 = load i64, i64* %.reg2mem177 %storemerge623.reload = load i64, i64* %storemerge623.reg2mem %spec.select = add i64 %.reload178, %storemerge623.reload store i64 %spec.select, i64* %sv_3.3.reg2mem store i32 %sv_4.2.reload, i32* %sv_4.5.reg2mem br label LBL_46 LBL_21: %57 = icmp eq i8 %32, 59 %58 = icmp eq i1 %57, false store i8 %32, i8* %storemerge3868.in.reg2mem store i64 %30, i64* %storemerge766.reg2mem store i32 0, i32* %sv_4.365.reg2mem store i64 %30, i64* %storemerge728.reg2mem store i64 1, i64* %.reg2mem179 store i32 0, i32* %sv_4.4.reg2mem br i1 %58, label LBL_22, label LBL_25 LBL_22: %storemerge766.reload = load i64, i64* %storemerge766.reg2mem %storemerge3868.in.reload = load i8, i8* %storemerge3868.in.reg2mem %storemerge3.in.off = add i8 %storemerge3868.in.reload, -48 %59 = icmp ult i8 %storemerge3.in.off, 10 br i1 %59, label LBL_23, label LBL_24 LBL_23: %sv_4.365.reload = load i32, i32* %sv_4.365.reg2mem %storemerge3868 = zext i8 %storemerge3868.in.reload to i32 %60 = mul i32 %sv_4.365.reload, 10 %61 = add nsw i32 %storemerge3868, -48 %62 = add i32 %61, %60 %63 = add i64 %storemerge766.reload, 1 %storemerge3.in.in = inttoptr i64 %63 to i8* %storemerge3.in = load i8, i8* %storemerge3.in.in, align 1 %64 = icmp eq i8 %storemerge3.in, 59 %65 = icmp eq i1 %64, false store i8 %storemerge3.in, i8* %storemerge3868.in.reg2mem store i64 %63, i64* %storemerge766.reg2mem store i32 %62, i32* %sv_4.365.reg2mem store i64 %63, i64* %storemerge728.reg2mem store i64 1, i64* %.reg2mem179 store i32 %62, i32* %sv_4.4.reg2mem br i1 %65, label LBL_22, label LBL_25 LBL_24: %66 = call i64 @FUNC(i64 3, i64 %arg1, i64 0) store i64 %storemerge766.reload, i64* %storemerge728.reg2mem store i64 0, i64* %.reg2mem179 store i32 0, i32* %sv_4.4.reg2mem br label LBL_25 LBL_25: %sv_4.4.reload = load i32, i32* %sv_4.4.reg2mem %.reload180 = load i64, i64* %.reg2mem179 %storemerge728.reload = load i64, i64* %storemerge728.reg2mem %spec.select12 = add i64 %.reload180, %storemerge728.reload store i64 %spec.select12, i64* %sv_3.3.reg2mem store i32 %sv_4.4.reload, i32* %sv_4.5.reg2mem br label LBL_46 LBL_26: %.reload182 = load i64, i64* %.reg2mem181 %.phi.trans.insert = inttoptr i64 %.reload182 to i8* %.pre = load i8, i8* %.phi.trans.insert, align 1 %67 = icmp ne i8 %.pre, 0 %68 = icmp eq i8 %.pre, 59 %69 = icmp eq i1 %68, false %or.cond14 = icmp eq i1 %67, %69 %70 = add i64 %.reload182, 1 store i64 %70, i64* %.reg2mem181 store i8 %.pre, i8* %.lcssa131.reg2mem store i64 %.reload182, i64* %sv_3.2.lcssa.reg2mem store i64 %70, i64* %.lcssa130.reg2mem br i1 %or.cond14, label LBL_26, label LBL_27 LBL_27: %.lcssa131.reload = load i8, i8* %.lcssa131.reg2mem %71 = icmp eq i8 %.lcssa131.reload, 0 %72 = icmp eq i1 %71, false br i1 %72, label LBL_29, label LBL_28 LBL_28: %73 = call i64 @FUNC(i64 4, i64 %arg1, i64 %21) store i64 %sv_0.4.ph75.reload, i64* %sv_0.5.reg2mem br label LBL_55 LBL_29: %.lcssa130.reload = load i64, i64* %.lcssa130.reg2mem %sv_3.2.lcssa.reload = load i64, i64* %sv_3.2.lcssa.reg2mem %74 = icmp eq i64 %sv_3.2.lcssa.reload, %21 store i64 %.lcssa130.reload, i64* %sv_3.3115.reg2mem store i64 %sv_1.4.ph76.reload, i64* %sv_1.3114.reg2mem store i64 %sv_0.4.ph75.reload, i64* %sv_0.3113.reg2mem br i1 %74, label LBL_47, label LBL_30 LBL_30: %75 = sub i64 %sv_3.2.lcssa.reload, %21 %76 = call i64 @FUNC(i64 %21, i64 %75) %77 = call i64 @FUNC(i64 %arg1, i64 %76) %78 = icmp eq i64 %77, 0 br i1 %78, label LBL_33, label LBL_31 LBL_31: %79 = inttoptr i64 %77 to i32* %80 = load i32, i32* %79, align 4 %81 = icmp eq i32 %80, 1 %82 = icmp eq i1 %81, false br i1 %82, label LBL_33, label LBL_32 LBL_32: %83 = add i64 %77, 8 %84 = inttoptr i64 %83 to i64* %85 = load i64, i64* %84, align 8 %86 = call i64 @FUNC(i64 %2, i64 %85) %87 = trunc i64 %86 to i32 %88 = icmp eq i32 %87, 0 store i64 %sv_0.4.ph75.reload, i64* %sv_0.1.reg2mem store i64 %sv_1.4.ph76.reload, i64* %sv_1.1.reg2mem store i64 %sv_0.4.ph75.reload, i64* %sv_0.5.reg2mem br i1 %88, label LBL_45, label LBL_55 LBL_33: %89 = call i64 @FUNC(i64 %2) %90 = trunc i64 %89 to i32 %91 = icmp eq i32 %90, 0 %92 = icmp eq i1 %91, false store i64 %sv_0.4.ph75.reload, i64* %sv_0.0.reg2mem store i64 %sv_1.4.ph76.reload, i64* %sv_1.0.reg2mem br i1 %92, label LBL_36, label LBL_34 LBL_34: %93 = call i64 @FUNC(i64 %arg1, i64 0) %94 = call i64 @FUNC(i64 %2) %95 = add i64 %93, 8 %96 = inttoptr i64 %95 to i64* store i64 %94, i64* %96, align 8 %97 = icmp eq i64 %sv_1.4.ph76.reload, 0 %98 = icmp eq i1 %97, false store i64 %93, i64* %sv_0.0.reg2mem store i64 %93, i64* %sv_1.0.reg2mem br i1 %98, label LBL_35, label LBL_36 LBL_35: %99 = call i64 @FUNC(i64 %sv_1.4.ph76.reload, i64 %93) store i64 %sv_0.4.ph75.reload, i64* %sv_0.0.reg2mem store i64 %99, i64* %sv_1.0.reg2mem br label LBL_36 LBL_36: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %100 = call i64 @FUNC(i64 %arg1, i64 %76) %101 = icmp eq i64 %100, 0 %102 = icmp eq i1 %101, false br i1 %102, label LBL_39, label LBL_37 LBL_37: %103 = icmp eq i64 %76, 0 store i64 %sv_0.0.reload, i64* %sv_0.5.reg2mem br i1 %103, label LBL_55, label LBL_38 LBL_38: %104 = call i64 @FUNC(i64 %76) store i64 %sv_0.0.reload, i64* %sv_0.5.reg2mem br label LBL_55 LBL_39: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem br i1 %78, label LBL_43, label LBL_40 LBL_40: %105 = add i64 %77, 16 %106 = inttoptr i64 %105 to i64* %107 = load i64, i64* %106, align 8 %108 = icmp eq i64 %107, 0 %109 = icmp eq i1 %108, false br i1 %109, label LBL_43, label LBL_41 LBL_41: %110 = add i64 %100, 8 %111 = inttoptr i64 %110 to i64* %112 = load i64, i64* %111, align 8 %113 = call i64 @FUNC(i64 %arg1, i64 %112) %sext4 = mul i64 %113, 4294967296 %114 = ashr exact i64 %sext4, 32 store i64 %114, i64* %106, align 8 %115 = add i64 %77, 24 %116 = inttoptr i64 %115 to i32* store i32 1, i32* %116, align 4 %storemerge573 = load i64, i64* %106, align 8 %117 = icmp eq i64 %storemerge573, 0 %118 = icmp eq i1 %117, false store i64 %storemerge573, i64* %storemerge574.reg2mem br i1 %118, label LBL_42, label LBL_43 LBL_42: %storemerge574.reload = load i64, i64* %storemerge574.reg2mem %119 = add i64 %storemerge574.reload, 16 %120 = inttoptr i64 %119 to i64* store i64 %77, i64* %120, align 8 %storemerge5.in = inttoptr i64 %storemerge574.reload to i64* %storemerge5 = load i64, i64* %storemerge5.in, align 8 %121 = icmp eq i64 %storemerge5, 0 %122 = icmp eq i1 %121, false store i64 %storemerge5, i64* %storemerge574.reg2mem br i1 %122, label LBL_42, label LBL_43 LBL_43: %123 = icmp eq i64 %sv_1.0.reload, 0 %124 = icmp eq i1 %123, false store i64 %100, i64* %sv_0.1.reg2mem store i64 %100, i64* %sv_1.1.reg2mem br i1 %124, label LBL_44, label LBL_45 LBL_44: %125 = call i64 @FUNC(i64 %sv_1.0.reload, i64 %100) store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem store i64 %125, i64* %sv_1.1.reg2mem br label LBL_45 LBL_45: %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %126 = call i64 @FUNC(i64 %76) store i64 %.lcssa130.reload, i64* %sv_3.3115.reg2mem store i64 %sv_1.1.reload, i64* %sv_1.3114.reg2mem store i64 %sv_0.1.reload, i64* %sv_0.3113.reg2mem br label LBL_47 LBL_46: %sv_4.5.reload = load i32, i32* %sv_4.5.reg2mem %sv_3.3.reload = load i64, i64* %sv_3.3.reg2mem %127 = icmp eq i32 %sv_4.5.reload, 0 store i64 %sv_3.3.reload, i64* %sv_3.3115.reg2mem store i64 %sv_1.4.ph76.reload, i64* %sv_1.3114.reg2mem store i64 %sv_0.4.ph75.reload, i64* %sv_0.3113.reg2mem br i1 %127, label LBL_47, label LBL_48 LBL_47: %sv_0.3113.reload = load i64, i64* %sv_0.3113.reg2mem %sv_1.3114.reload = load i64, i64* %sv_1.3114.reg2mem %sv_3.3115.reload = load i64, i64* %sv_3.3115.reg2mem %128 = inttoptr i64 %sv_3.3115.reload to i8* %129 = load i8, i8* %128, align 1 %130 = icmp eq i8 %129, 0 %131 = icmp eq i1 %130, false store i8 %129, i8* %.reg2mem store i64 %sv_3.3115.reload, i64* %sv_2.1.ph78.reg2mem store i64 %sv_1.3114.reload, i64* %sv_1.4.ph76.reg2mem store i64 %sv_0.3113.reload, i64* %sv_0.4.ph75.reg2mem store i64 %sv_0.3113.reload, i64* %sv_0.4.ph.lcssa.reg2mem store i64 %sv_1.3114.reload, i64* %sv_1.4.ph.lcssa.reg2mem store i64 %sv_3.3115.reload, i64* %sv_2.1.ph.lcssa.reg2mem store i64 %sv_3.3115.reload, i64* %sv_3.4.lcssa.reg2mem br i1 %131, label LBL_4, label LBL_50 LBL_48: %132 = zext i32 %sv_4.5.reload to i64 %133 = call i64 @FUNC(i64* nonnull %sv_5, i64 %132) %sext = mul i64 %133, 4294967296 %134 = ashr exact i64 %sext, 32 %135 = add i64 %11, %134 %136 = inttoptr i64 %135 to i8* store i8 0, i8* %136, align 1 %137 = call i64 @FUNC(i64 %2, i64 %12) %138 = trunc i64 %137 to i32 %139 = icmp eq i32 %138, 0 %140 = icmp eq i1 %139, false store i64 %sv_3.3.reload, i64* %sv_3.3115.reg2mem store i64 %sv_1.4.ph76.reload, i64* %sv_1.3114.reg2mem store i64 %sv_0.4.ph75.reload, i64* %sv_0.3113.reg2mem store i64 %sv_0.4.ph75.reload, i64* %sv_0.5.reg2mem br i1 %140, label LBL_55, label LBL_47 LBL_49: %141 = add i64 %sv_3.443.reload, 1 %142 = inttoptr i64 %141 to i8* %143 = load i8, i8* %142, align 1 %144 = icmp eq i8 %143, 0 %145 = icmp eq i1 %144, false store i8 %143, i8* %.reg2mem175 store i64 %141, i64* %sv_3.443.reg2mem store i64 %sv_0.4.ph75.reload, i64* %sv_0.4.ph.lcssa.reg2mem store i64 %sv_1.4.ph76.reload, i64* %sv_1.4.ph.lcssa.reg2mem store i64 %sv_2.1.ph78.reload, i64* %sv_2.1.ph.lcssa.reg2mem store i64 %141, i64* %sv_3.4.lcssa.reg2mem br i1 %145, label LBL_5, label LBL_50 LBL_50: %sv_3.4.lcssa.reload = load i64, i64* %sv_3.4.lcssa.reg2mem %sv_2.1.ph.lcssa.reload = load i64, i64* %sv_2.1.ph.lcssa.reg2mem %sv_1.4.ph.lcssa.reload = load i64, i64* %sv_1.4.ph.lcssa.reg2mem %sv_0.4.ph.lcssa.reload = load i64, i64* %sv_0.4.ph.lcssa.reg2mem %146 = icmp eq i64 %sv_3.4.lcssa.reload, %sv_2.1.ph.lcssa.reload %147 = icmp eq i64 %sv_0.4.ph.lcssa.reload, 0 %148 = icmp eq i1 %147, false %or.cond16 = icmp eq i1 %148, %146 store i64 %sv_3.4.lcssa.reload, i64* %sv_3.4.lcssa122.reg2mem store i64 %sv_2.1.ph.lcssa.reload, i64* %sv_2.1.ph.lcssa121.reg2mem store i64 %sv_1.4.ph.lcssa.reload, i64* %sv_1.4.ph.lcssa119.reg2mem store i64 %sv_0.4.ph.lcssa.reload, i64* %sv_0.4.ph.lcssa117.reg2mem store i64 %sv_1.4.ph.lcssa.reload, i64* %sv_1.4.ph.lcssa120.reg2mem store i64 %sv_0.4.ph.lcssa.reload, i64* %sv_0.4.ph.lcssa118.reg2mem br i1 %or.cond16, label LBL_52, label LBL_51 LBL_51: %sv_0.4.ph.lcssa117.reload = load i64, i64* %sv_0.4.ph.lcssa117.reg2mem %sv_1.4.ph.lcssa119.reload = load i64, i64* %sv_1.4.ph.lcssa119.reg2mem %sv_2.1.ph.lcssa121.reload = load i64, i64* %sv_2.1.ph.lcssa121.reg2mem %sv_3.4.lcssa122.reload = load i64, i64* %sv_3.4.lcssa122.reg2mem %149 = sub i64 %sv_3.4.lcssa122.reload, %sv_2.1.ph.lcssa121.reload %150 = call i64 @FUNC(i64 %2, i64 %sv_2.1.ph.lcssa121.reload, i64 %149) store i64 %sv_1.4.ph.lcssa119.reload, i64* %sv_1.4.ph.lcssa120.reg2mem store i64 %sv_0.4.ph.lcssa117.reload, i64* %sv_0.4.ph.lcssa118.reg2mem br label LBL_52 LBL_52: %sv_0.4.ph.lcssa118.reload = load i64, i64* %sv_0.4.ph.lcssa118.reg2mem %151 = call i64 @FUNC(i64 %2) %152 = trunc i64 %151 to i32 %153 = icmp eq i32 %152, 0 %154 = icmp eq i1 %153, false store i64 %sv_0.4.ph.lcssa118.reload, i64* %sv_0.5.reg2mem br i1 %154, label LBL_55, label LBL_53 LBL_53: %sv_1.4.ph.lcssa120.reload = load i64, i64* %sv_1.4.ph.lcssa120.reg2mem %155 = call i64 @FUNC(i64 %arg1, i64 0) %156 = call i64 @FUNC(i64 %2) %157 = add i64 %155, 8 %158 = inttoptr i64 %157 to i64* store i64 %156, i64* %158, align 8 %159 = icmp eq i64 %sv_1.4.ph.lcssa120.reload, 0 %160 = icmp eq i1 %159, false store i64 %155, i64* %sv_0.5.reg2mem br i1 %160, label LBL_54, label LBL_55 LBL_54: %161 = call i64 @FUNC(i64 %sv_1.4.ph.lcssa120.reload, i64 %155) store i64 %sv_0.4.ph.lcssa118.reload, i64* %sv_0.5.reg2mem br label LBL_55 LBL_55: %sv_0.5.reload = load i64, i64* %sv_0.5.reg2mem %162 = call i64 @FUNC(i64 %2) store i64 %sv_0.5.reload, i64* %rax.0.reg2mem br label LBL_56 LBL_56: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %155, { 1, 0, 2 } uselistorder i64 %sv_3.3115.reload, { 0, 1, 3, 2 } uselistorder i32 %sv_4.5.reload, { 1, 0 } uselistorder i64 %storemerge574.reload, { 1, 0 } uselistorder i64 %100, { 2, 0, 1, 3, 4 } uselistorder i64 %sv_0.0.reload, { 2, 0, 1 } uselistorder i64 %93, { 2, 0, 1, 3 } uselistorder i64 %76, { 2, 1, 0, 3, 4 } uselistorder i64 %sv_3.2.lcssa.reload, { 1, 0 } uselistorder i64 %.lcssa130.reload, { 1, 0 } uselistorder i64 %.reload182, { 0, 2, 1 } uselistorder i8 %storemerge58.in.reload, { 3, 2, 1, 0 } uselistorder i64 %storemerge655.reload, { 1, 0 } uselistorder i32 %sv_4.154.reload, { 2, 1, 0 } uselistorder i64 %21, { 3, 2, 4, 1, 0, 5 } uselistorder i64 %sv_3.443.reload, { 0, 3, 4, 6, 5, 1, 2 } uselistorder i64 %sv_2.1.ph78.reload, { 0, 3, 2, 4, 1 } uselistorder i64 %sv_1.4.ph76.reload, { 0, 2, 3, 6, 7, 5, 4, 1 } uselistorder i64 %sv_0.4.ph75.reload, { 4, 0, 6, 7, 9, 10, 2, 8, 5, 3, 1 } uselistorder i64 %2, { 7, 0, 1, 2, 8, 5, 6, 4, 3, 9, 10 } uselistorder i8* %.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.1.ph78.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.4.ph76.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.4.ph75.reg2mem, { 1, 0, 2 } uselistorder i8* %.reg2mem175, { 1, 0, 2 } uselistorder i64* %sv_3.443.reg2mem, { 1, 0, 2 } uselistorder i8* %storemerge58.in.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge655.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_4.154.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_4.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %storemerge623.reg2mem, { 0, 1, 3, 2 } uselistorder i64* %.reg2mem177, { 0, 1, 3, 2 } uselistorder i32* %sv_4.2.reg2mem, { 0, 1, 3, 2 } uselistorder i8* %storemerge3868.in.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge766.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_4.365.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge728.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %.reg2mem179, { 0, 3, 1, 2 } uselistorder i32* %sv_4.4.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %.reg2mem181, { 2, 0, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %storemerge574.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.1.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %sv_1.1.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %sv_3.3.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_4.5.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_3.3115.reg2mem, { 3, 0, 4, 2, 1 } uselistorder i64* %sv_1.3114.reg2mem, { 3, 0, 4, 2, 1 } uselistorder i64* %sv_0.3113.reg2mem, { 3, 0, 4, 2, 1 } uselistorder i64* %sv_0.4.ph.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_1.4.ph.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_2.1.ph.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_3.4.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_3.4.lcssa122.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_2.1.ph.lcssa121.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_1.4.ph.lcssa119.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.4.ph.lcssa117.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.5.reg2mem, { 0, 5, 4, 6, 1, 8, 9, 3, 7, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 32, { 1, 0 } uselistorder i64 (i64)* @xmlFree, { 1, 0 } uselistorder i64 (i64, i64)* @xmlAddNextSibling, { 2, 1, 0 } uselistorder i64 (i64)* @xmlBufDetach, { 1, 0 } uselistorder i64 (i64, i64)* @xmlNewDocText, { 1, 0 } uselistorder i64 (i64)* @xmlBufIsEmpty, { 1, 0 } uselistorder i64 (i64, i64)* @xmlBufCat, { 1, 0 } uselistorder i64 (i64, i64, i64)* @xmlTreeErr, { 2, 1, 0 } uselistorder i64 2, { 1, 2, 0 } uselistorder i8 59, { 3, 4, 1, 5, 2, 0 } uselistorder i64 1, { 5, 6, 0, 7, 1, 2, 8, 3, 9, 4 } uselistorder i32 0, { 7, 8, 9, 10, 11, 1, 0, 2, 4, 3, 5, 12, 6 } uselistorder i8 0, { 6, 3, 2, 4, 5, 0, 1, 7 } uselistorder i1 false, { 8, 9, 6, 25, 10, 5, 11, 12, 2, 13, 14, 15, 16, 17, 18, 7, 19, 3, 20, 4, 21, 0, 22, 23, 24, 1, 26, 27 } uselistorder i32 1, { 52, 48, 51, 50, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 49, 47, 1, 0 } uselistorder i64 %arg2, { 2, 0, 1, 3, 4 } uselistorder i64 %arg1, { 0, 5, 6, 4, 7, 3, 2, 1 } uselistorder label LBL_56, { 2, 0, 1 } uselistorder label LBL_55, { 7, 3, 4, 0, 6, 5, 2, 8, 1 } uselistorder label LBL_52, { 1, 0 } uselistorder label LBL_51, { 1, 0 } uselistorder label LBL_50, { 1, 0 } uselistorder label LBL_47, { 3, 2, 1, 0 } uselistorder label LBL_45, { 1, 0, 2 } uselistorder label LBL_42, { 1, 0 } uselistorder label LBL_36, { 1, 0, 2 } uselistorder label LBL_26, { 1, 0 } uselistorder label LBL_25, { 2, 0, 1 } uselistorder label LBL_22, { 1, 0 } uselistorder label LBL_20, { 0, 2, 1 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
CompRealVul
virtio_submit_multiwrite_8347
virtio_submit_multiwrite
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rsi.0.reg2mem = alloca i64 %.reg2mem6 = alloca i32 %rsi.12.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i32 %.reg2mem4 = alloca i64 %.reg2mem = alloca i32 %0 = ptrtoint i64* %arg2 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = icmp eq i32 %3, 0 store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_7, label LBL_1 LBL_1: %5 = ptrtoint i32* %arg1 to i64 %6 = call i64 @FUNC(i64 %5, i64 %0, i32 %3) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_6, label LBL_2 LBL_2: %9 = load i32, i32* %2, align 4 %10 = icmp eq i32 %9, 0 store i32 %9, i32* %.reg2mem store i64 0, i64* %.reg2mem4 store i32 0, i32* %storemerge3.reg2mem store i64 %0, i64* %rsi.12.reg2mem br i1 %10, label LBL_6, label LBL_3 LBL_3: %rsi.12.reload = load i64, i64* %rsi.12.reg2mem %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %.reload5 = load i64, i64* %.reg2mem4 %.reload = load i32, i32* %.reg2mem %11 = mul i64 %.reload5, 16 %12 = add i64 %rsi.12.reload, %11 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = icmp eq i32 %14, 0 store i32 %.reload, i32* %.reg2mem6 store i64 %rsi.12.reload, i64* %rsi.0.reg2mem br i1 %15, label LBL_5, label LBL_4 LBL_4: %16 = add i64 %12, 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = call i64 @FUNC(i64 %18, i64 4294967291) %.pre = load i32, i32* %2, align 4 store i32 %.pre, i32* %.reg2mem6 store i64 4294967291, i64* %rsi.0.reg2mem br label LBL_5 LBL_5: %rsi.0.reload = load i64, i64* %rsi.0.reg2mem %.reload7 = load i32, i32* %.reg2mem6 %20 = add i32 %storemerge3.reload, 1 %21 = zext i32 %.reload7 to i64 %22 = sext i32 %20 to i64 %23 = icmp slt i64 %22, %21 store i32 %.reload7, i32* %.reg2mem store i64 %22, i64* %.reg2mem4 store i32 %20, i32* %storemerge3.reg2mem store i64 %rsi.0.reload, i64* %rsi.12.reg2mem br i1 %23, label LBL_3, label LBL_6 LBL_6: store i32 0, i32* %2, align 4 store i64 %0, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %.reload7, { 1, 0 } uselistorder i32* %2, { 2, 0, 1, 3 } uselistorder i32* %.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem4, { 2, 0, 1 } uselistorder i32* %storemerge3.reg2mem, { 2, 0, 1 } uselistorder i64* %rsi.12.reg2mem, { 2, 0, 1 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
CompRealVul
m5206_mbar_readw_542
m5206_mbar_readw
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = trunc i64 %arg2 to i32 %1 = urem i32 %0, 1024 %2 = icmp ult i32 %1, 512 br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = zext i32 %1 to i64 %4 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i64 %3) br label LBL_2 LBL_2: %5 = ptrtoint i64* %arg1 to i64 %6 = and i64 %arg2, 1020 %7 = add i64 %6, ptrtoint (i32** @gv_1 to i64) %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = icmp slt i32 %9, 3 br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = call i64 @FUNC(i64 %5, i64 %6) %12 = trunc i64 %11 to i32 %13 = urem i32 %0, 4 %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false %16 = udiv i32 %12, 65536 %spec.select = select i1 %15, i32 %12, i32 %16 %17 = urem i32 %spec.select, 65536 %18 = zext i32 %17 to i64 store i64 %18, i64* %rax.0.reg2mem br label LBL_7 LBL_4: %19 = icmp eq i32 %9, 2 %20 = zext i32 %1 to i64 br i1 %19, label LBL_6, label LBL_5 LBL_5: %21 = call i64 @FUNC(i64 %5, i64 %20) %22 = mul i64 %21, 256 %23 = add nuw nsw i32 %1, 1 %24 = zext i32 %23 to i64 %25 = call i64 @FUNC(i64 %5, i64 %24) %26 = or i64 %22, %25 %27 = urem i64 %26, 65536 store i64 %27, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %28 = call i64 @FUNC(i64 %5, i64 %20, i64 2) store i64 %28, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %20, { 1, 0 } uselistorder i32 %12, { 1, 0 } uselistorder i64 %5, { 3, 2, 1, 0 } uselistorder i32 %1, { 2, 3, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64, i64)* @m5206_mbar_readb, { 1, 0 } uselistorder i32 65536, { 1, 0 } }
0
CompRealVul
s390_virtio_hypercall_14805
s390_virtio_hypercall
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %sv_1 = alloca i32, align 4 %0 = inttoptr i64 %arg3 to i8* %1 = call i32 (i32, i8*, ...) @dprintf(i32 ptrtoint (i32* @gv_0 to i32), i8* %0, i32 ptrtoint (i32* @gv_0 to i32)) %2 = icmp eq i64 %arg3, 3 br i1 %2, label LBL_7, label LBL_1 LBL_1: %3 = icmp ult i64 %arg3, 4 store i64 4294967274, i64* %sv_0.0.reg2mem br i1 %3, label LBL_2, label LBL_9 LBL_2: store i64 4294967274, i64* %sv_0.0.reg2mem switch i64 %arg3, label LBL_9 [ i64 1, label LBL_3 i64 2, label LBL_6 ] LBL_3: %4 = load i64, i64* @gv_1, align 8 %5 = icmp ult i64 %4, %arg2 store i64 0, i64* %sv_0.0.reg2mem br i1 %5, label LBL_4, label LBL_9 LBL_4: %6 = load i64, i64* @gv_2, align 8 %7 = bitcast i32* %sv_1 to i64* %8 = call i64 @FUNC(i64 %6, i64 %arg2, i64* nonnull %7) %9 = icmp eq i64 %8, 0 store i64 4294967274, i64* %sv_0.0.reg2mem br i1 %9, label LBL_9, label LBL_5 LBL_5: %10 = load i32, i32* %sv_1, align 4 %11 = inttoptr i64 %8 to i64* %12 = load i64, i64* %11, align 8 %13 = zext i32 %10 to i64 %14 = call i64 @FUNC(i64 %12, i64 %13) store i64 0, i64* %sv_0.0.reg2mem br label LBL_9 LBL_6: %15 = load i64, i64* @gv_2, align 8 %16 = call i64 @FUNC(i64 %15, i64 %arg2) %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = call i64 @FUNC(i64 %18) %20 = call i64 @FUNC(i64 %16) store i64 0, i64* %sv_0.0.reg2mem br label LBL_9 LBL_7: %21 = load i64, i64* @gv_2, align 8 %22 = call i64 @FUNC(i64 %21, i64 %arg2) %23 = icmp eq i64 %22, 0 store i64 4294967274, i64* %sv_0.0.reg2mem br i1 %23, label LBL_9, label LBL_8 LBL_8: %24 = call i64 @FUNC(i64 %22) store i64 0, i64* %sv_0.0.reg2mem br label LBL_9 LBL_9: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem ret i64 %sv_0.0.reload uselistorder i64* %sv_0.0.reg2mem, { 0, 8, 3, 5, 7, 4, 6, 2, 1 } uselistorder i64 (i64, i64)* @s390_virtio_bus_find_mem, { 1, 0 } uselistorder i64 4294967274, { 2, 3, 1, 0 } uselistorder i64 %arg2, { 3, 1, 2, 0 } uselistorder label LBL_9, { 6, 2, 7, 4, 3, 5, 1, 0 } }
1
CompRealVul
ctts_Write_9584
ctts_Write
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 %3, i64 %2) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = and i64 %4, 4294967295 store i64 %7, i64* %storemerge.reg2mem br label LBL_8 LBL_2: %8 = trunc i64 %1 to i32 %9 = and i64 %1, 4294967295 %10 = call i64 @FUNC(i64 %2, i64 %9) %11 = icmp eq i32 %8, 0 store i64 0, i64* %storemerge.reg2mem br i1 %11, label LBL_8, label LBL_3 LBL_3: %12 = add i64 %3, 8 %13 = inttoptr i64 %12 to i64* %14 = add i64 %3, 16 %15 = inttoptr i64 %14 to i32* store i64 0, i64* %indvars.iv.reg2mem br label LBL_4 LBL_4: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %16 = load i64, i64* %13, align 8 %17 = mul i64 %indvars.iv.reload, 8 %18 = add i64 %16, %17 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = zext i32 %20 to i64 %22 = call i64 @FUNC(i64 %2, i64 %21) %23 = load i32, i32* %15, align 4 %24 = icmp eq i32 %23, 0 %25 = load i64, i64* %13, align 8 %26 = or i64 %17, 4 %27 = add i64 %25, %26 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = zext i32 %29 to i64 br i1 %24, label LBL_6, label LBL_5 LBL_5: %31 = call i64 @FUNC(i64 %2, i64 %30, i64 32) br label LBL_7 LBL_6: %32 = call i64 @FUNC(i64 %2, i64 %30) br label LBL_7 LBL_7: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %9 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %exitcond, label LBL_8, label LBL_4 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %30, { 1, 0 } uselistorder i64 %17, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 (i64, i64)* @gf_bs_write_u32, { 2, 1, 0 } }
0
CompRealVul
afs_delete_async_call_3947
afs_delete_async_call
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 4202512) %1 = call i64 @FUNC(i64 %arg1) %2 = call i64 @FUNC(i64* nonnull @gv_0) ret i64 %2 }
0
CompRealVul
kvm_exit_18516
kvm_exit
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i64 @FUNC() %1 = call i64 @FUNC(i64* nonnull @gv_0) %2 = load i64, i64* @gv_1, align 8 %3 = call i64 @FUNC(i64 %2) %4 = call i64 @FUNC() %5 = call i64 @FUNC(i64* nonnull @gv_2) %6 = call i64 @FUNC(i64* nonnull @gv_3) %7 = call i64 @FUNC(i64* nonnull @gv_4) %8 = call i64 @FUNC(i64 4198785, i64 0, i64 1) %9 = call i64 @FUNC() %10 = call i64 @FUNC() %11 = load i64, i64* @gv_5, align 8 %12 = call i64 @FUNC(i64 %11) %13 = load i64, i64* @gv_6, align 8 %14 = call i64 @FUNC(i64 %13) %15 = load i64, i64* @gv_7, align 8 %16 = call i64 @FUNC(i64 %15) ret i64 %16 uselistorder i64 (i64)* @__free_page, { 1, 0 } }
1
CompRealVul
ehci_execute_14873
ehci_execute
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i32 %r9.0.reg2mem = alloca i64 %r8.0.reg2mem = alloca i64 %rcx.2.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_0.11.reg2mem = alloca i32 %rcx.32.reg2mem = alloca i64 %r8.13.reg2mem = alloca i64 %r9.14.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %rcx.1.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %sv_1 = alloca i64, align 8 %2 = urem i64 %1, 2 %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %6 = call i32 @fwrite(i64* bitcast ([35 x i8]* @gv_1 to i64*), i32 1, i32 34, %_IO_FILE* %5) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_18 LBL_2: %7 = ptrtoint i64* %arg1 to i64 %8 = bitcast i64* %rdi to i32* %9 = add i64 %7, 56 %10 = inttoptr i64 %9 to i32* store i32 0, i32* %10, align 4 %11 = load i32, i32* %8, align 8 %12 = urem i32 %11, 4 %13 = add i64 %7, 60 %14 = inttoptr i64 %13 to i32* store i32 %12, i32* %14, align 4 switch i32 %12, label LBL_6 [ i32 2, label LBL_5 i32 1, label LBL_4 i32 0, label LBL_3 ] LBL_3: store i32 0, i32* %14, align 4 br label LBL_7 LBL_4: store i32 1, i32* %14, align 4 br label LBL_7 LBL_5: store i32 2, i32* %14, align 4 br label LBL_7 LBL_6: %15 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %16 = ptrtoint %_IO_FILE* %15 to i64 %17 = call i32 @fwrite(i64* bitcast ([11 x i8]* @gv_2 to i64*), i32 1, i32 10, %_IO_FILE* %15) store i64 %16, i64* %rcx.0.reg2mem br label LBL_7 LBL_7: %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %18 = load i32, i32* %10, align 4 %19 = icmp eq i32 %18, 0 store i64 %rcx.0.reload, i64* %rcx.1.reg2mem br i1 %19, label LBL_10, label LBL_8 LBL_8: %20 = load i32, i32* %14, align 4 %21 = icmp eq i32 %20, 1 store i64 %rcx.0.reload, i64* %rcx.1.reg2mem br i1 %21, label LBL_10, label LBL_9 LBL_9: %22 = zext i32 %18 to i64 %23 = call i64 @FUNC(i64 %7, i64 %22, i64 0) %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, 0 store i64 %22, i64* %rcx.1.reg2mem store i64 4294967295, i64* %rax.0.reg2mem br i1 %25, label LBL_10, label LBL_18 LBL_10: %26 = ptrtoint i64* %sv_1 to i64 %rcx.1.reload = load i64, i64* %rcx.1.reg2mem %27 = add i64 %7, 4 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = zext i32 %29 to i64 %31 = call i64 @FUNC(i64 %30, i64 15) %32 = trunc i64 %31 to i32 %33 = load i32, i32* %28, align 4 %34 = zext i32 %33 to i64 %35 = call i64 @FUNC(i64 %34, i64 240) %36 = trunc i64 %35 to i32 %37 = add i64 %7, 72 %38 = inttoptr i64 %37 to i64* %39 = add i64 %7, 16 %40 = inttoptr i64 %39 to i32* %41 = add i64 %7, 20 %42 = inttoptr i64 %41 to i32* %43 = add i64 %7, 24 %44 = inttoptr i64 %43 to i32* %45 = add i64 %7, 48 %46 = inttoptr i64 %45 to i64* %47 = add i64 %7, 32 %48 = inttoptr i64 %47 to i64* %49 = add i64 %7, 40 %50 = inttoptr i64 %49 to i32* %51 = add i64 %7, 68 %52 = inttoptr i64 %51 to i32* %53 = add i64 %7, 8 %54 = inttoptr i64 %53 to i64* %55 = add i64 %7, 64 %56 = inttoptr i64 %55 to i32* %57 = add i64 %26, -16 %58 = inttoptr i64 %57 to i64* %59 = and i64 %31, 4294967295 %60 = add i64 %26, -24 %61 = inttoptr i64 %60 to i64* %62 = add i64 %26, -32 %63 = inttoptr i64 %62 to i64* store i64 0, i64* %indvars.iv.reg2mem store i64 %rcx.1.reload, i64* %rcx.32.reg2mem store i32 -2, i32* %sv_0.11.reg2mem br label LBL_11 LBL_11: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %64 = load i64, i64* %38, align 8 %65 = mul i64 %indvars.iv.reload, 4 %66 = add i64 %64, %65 %67 = inttoptr i64 %66 to i32* %68 = load i32, i32* %67, align 4 %69 = urem i32 %68, 2 %70 = icmp eq i32 %69, 0 %71 = icmp eq i1 %70, false br i1 %71, label LBL_13, label LBL_12 LBL_12: %sv_0.11.reload = load i32, i32* %sv_0.11.reg2mem %rcx.32.reload = load i64, i64* %rcx.32.reg2mem %r8.13.reload = load i64, i64* %r8.13.reg2mem %r9.14.reload = load i64, i64* %r9.14.reg2mem %72 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_3, i64 0, i64 0), i64 %indvars.iv.reload, i32 %68, i64 %rcx.32.reload, i64 %r8.13.reload, i64 %r9.14.reload) store i32 %sv_0.11.reload, i32* %sv_0.0.reg2mem store i64 %rcx.32.reload, i64* %rcx.2.reg2mem store i64 %r8.13.reload, i64* %r8.0.reg2mem store i64 %r9.14.reload, i64* %r9.0.reg2mem br label LBL_14 LBL_13: %73 = mul i64 %indvars.iv.reload, 8 %74 = add nuw nsw i64 %73, 16 %75 = add i64 %74, %64 %76 = inttoptr i64 %75 to i64* %77 = load i64, i64* %76, align 8 %78 = load i32, i32* %14, align 4 store i32 %78, i32* %40, align 4 store i32 %36, i32* %42, align 4 store i32 %32, i32* %44, align 4 %79 = load i64, i64* %46, align 8 store i64 %79, i64* %48, align 8 %80 = load i32, i32* %10, align 4 store i32 %80, i32* %50, align 4 %81 = call i64 @FUNC(i64 %77, i64 %39) %82 = trunc i64 %81 to i32 %83 = load i32, i32* %10, align 4 %84 = zext i32 %83 to i64 %85 = load i32, i32* %50, align 4 %86 = zext i32 %85 to i64 %87 = load i32, i32* %14, align 4 %88 = zext i32 %87 to i64 %89 = load i32, i32* %52, align 4 %90 = zext i32 %89 to i64 %91 = load i64, i64* %54, align 8 %92 = load i32, i32* %56, align 4 %93 = and i64 %81, 4294967295 store i64 %93, i64* %58, align 8 store i64 %59, i64* %61, align 8 store i64 %84, i64* %63, align 8 %94 = zext i32 %92 to i64 %95 = trunc i64 %91 to i32 %96 = call i64 @FUNC(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @gv_4, i64 0, i64 0), i64 %94, i32 %95, i64 %90, i64 %88, i64 %86) %97 = icmp eq i32 %82, -2 %98 = icmp eq i1 %97, false store i32 %82, i32* %sv_0.0.reg2mem store i64 %90, i64* %rcx.2.reg2mem store i64 %88, i64* %r8.0.reg2mem store i64 %86, i64* %r9.0.reg2mem store i32 %82, i32* %sv_0.2.reg2mem br i1 %98, label LBL_15, label LBL_14 LBL_14: %r9.0.reload = load i64, i64* %r9.0.reg2mem %r8.0.reload = load i64, i64* %r8.0.reg2mem %rcx.2.reload = load i64, i64* %rcx.2.reg2mem %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %99 = icmp ult i64 %indvars.iv.next, 4 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %r9.0.reload, i64* %r9.14.reg2mem store i64 %r8.0.reload, i64* %r8.13.reg2mem store i64 %rcx.2.reload, i64* %rcx.32.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.11.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.2.reg2mem br i1 %99, label LBL_11, label LBL_15 LBL_15: %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %100 = icmp slt i32 %sv_0.2.reload, 1025 br i1 %100, label LBL_17, label LBL_16 LBL_16: %101 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %102 = call i32 @fwrite(i64* bitcast ([40 x i8]* @gv_5 to i64*), i32 1, i32 39, %_IO_FILE* %101) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_18 LBL_17: %103 = zext i32 %sv_0.2.reload to i64 store i64 %103, i64* %rax.0.reg2mem br label LBL_18 LBL_18: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %68, { 1, 0 } uselistorder i64 %64, { 1, 0 } uselistorder i64 %indvars.iv.reload, { 0, 3, 1, 2 } uselistorder i32* %14, { 3, 4, 2, 5, 0, 1, 6 } uselistorder i32 %12, { 1, 0 } uselistorder i64 %7, { 1, 0, 2, 3, 5, 4, 6, 7, 9, 8, 10, 11, 12, 13 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %r9.14.reg2mem, { 1, 0 } uselistorder i64* %r8.13.reg2mem, { 1, 0 } uselistorder i64* %rcx.32.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.11.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rcx.2.reg2mem, { 0, 2, 1 } uselistorder i64* %r8.0.reg2mem, { 0, 2, 1 } uselistorder i64* %r9.0.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.2.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 } uselistorder i64 (i8*, i64, i32, i64, i64, i64)* @DPRINTF, { 1, 0 } uselistorder i32 -2, { 1, 0 } uselistorder i64 (i64, i64)* @get_field, { 1, 0 } uselistorder i32 2, { 0, 2, 1 } uselistorder i32 0, { 1, 2, 3, 4, 0, 5 } uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 2, 1, 0 } uselistorder %_IO_FILE** @gv_0, { 2, 1, 0 } uselistorder label LBL_18, { 1, 2, 0, 3 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_11, { 1, 0 } }
1
CompRealVul
qemu_cpu_kick_1875
qemu_cpu_kick
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 = add i64 %0, 16 %3 = inttoptr i64 %2 to i8* %4 = load i8, i8* %3, align 1 %5 = icmp eq i8 %4, 1 store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = add i64 %0, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %8, i64 34) store i8 1, i8* %3, align 1 store i64 %0, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8 1, { 1, 0 } }
0
CompRealVul
_pam_log_10325
_pam_log
define i64 @FUNC(i64 %arg1, i8* %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %2 = load i64, i64* %1 %3 = load i128, i128* %0 %4 = load i128, i128* %0 %5 = load i128, i128* %0 %6 = load i128, i128* %0 %7 = load i128, i128* %0 %8 = load i128, i128* %0 %9 = load i128, i128* %0 %10 = load i128, i128* %0 %sv_0 = alloca i64, align 8 %sv_1 = alloca i32, align 4 %11 = trunc i64 %2 to i8 %12 = icmp eq i8 %11, 0 br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = call i64 @FUNC(i128 %10) %14 = call i64 @FUNC(i128 %9) %15 = call i64 @FUNC(i128 %8) %16 = call i64 @FUNC(i128 %7) %17 = call i64 @FUNC(i128 %6) %18 = call i64 @FUNC(i128 %5) %19 = call i64 @FUNC(i128 %4) %20 = call i64 @FUNC(i128 %3) br label LBL_2 LBL_2: store i32 16, i32* %sv_1, align 4 %21 = ptrtoint i32* %sv_1 to i64 %22 = bitcast i64* %sv_0 to i8* %23 = call i32 @vsprintf(i8* nonnull %22, i8* %arg2, i64 %21) %24 = load [12 x i8]*, [12 x i8]** @gv_0, align 8 %25 = trunc i64 %arg1 to i32 %26 = getelementptr inbounds [12 x i8], [12 x i8]* %24, i64 0, i64 0 call void (i32, i8*, ...) @syslog(i32 %25, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0), i8* %26, i64* nonnull %sv_0) ret i64 ptrtoint (i32* @0 to i64) uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 } }
0
CompRealVul
qmp_guest_file_open_14551
qmp_guest_file_open
define i64 @FUNC(i8* %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 = load i64, i64* %0 %3 = ptrtoint i64* %arg4 to i64 %4 = inttoptr i64 %arg3 to i8* %5 = trunc i64 %arg2 to i8 %6 = icmp eq i8 %5, 1 %spec.select = select i1 %6, i8* %4, i8* bitcast (i8** @gv_0 to i8*) %7 = ptrtoint i8* %spec.select to i64 %8 = ptrtoint i8* %arg1 to i64 %9 = call i64 @FUNC(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i64 %8, i64 %7, i64 %3, i64 %2, i64 %1) %10 = call %_IO_FILE* @fopen(i8* %arg1, i8* %spec.select) %11 = icmp eq %_IO_FILE* %10, null %12 = icmp eq i1 %11, false br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = call i32* @__errno_location() %14 = load i32, i32* %13, align 4 %15 = call i64 @FUNC(i64 %3, i32 %14, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_2, i64 0, i64 0), i64 %8, i64 %7, i64 %1) store i64 -1, i64* %rax.0.reg2mem br label LBL_7 LBL_2: %16 = call i32 @fileno(%_IO_FILE* %10) %17 = call i32 (i32, i32, ...) @fcntl(i32 %16, i32 3) %18 = call i32 (i32, i32, ...) @fcntl(i32 %16, i32 4) %19 = icmp eq i32 %18, -1 %20 = icmp eq i1 %19, false br i1 %20, label LBL_4, label LBL_3 LBL_3: %21 = call i32* @__errno_location() %22 = load i32, i32* %21, align 4 %23 = call i64 @FUNC(i64 %3, i32 %22, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_3, i64 0, i64 0), i64 %8, i64 %2, i64 %1) %24 = call i32 @fclose(%_IO_FILE* %10) store i64 -1, i64* %rax.0.reg2mem br label LBL_7 LBL_4: %25 = ptrtoint %_IO_FILE* %10 to i64 %26 = call i64 @FUNC(i64 %25, i64 %3) %27 = call i64 @FUNC(i64 %3) %28 = trunc i64 %27 to i8 %29 = icmp eq i8 %28, 0 br i1 %29, label LBL_6, label LBL_5 LBL_5: %30 = call i32 @fclose(%_IO_FILE* %10) store i64 -1, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %31 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_4, i64 0, i64 0), i64 %26, i64 %3, i64 %3, i64 %2, i64 %1) store i64 %26, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder %_IO_FILE* %10, { 1, 2, 0, 3, 4 } uselistorder i64 %8, { 1, 0, 2 } uselistorder i8* %spec.select, { 1, 0 } uselistorder i64 %3, { 2, 3, 5, 4, 1, 0, 6 } uselistorder i64 %2, { 1, 2, 0 } uselistorder i64 %1, { 1, 3, 2, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i32 (%_IO_FILE*)* @fclose, { 1, 0 } uselistorder i32 (i32, i32, ...)* @fcntl, { 1, 0 } uselistorder i64 (i64, i32, i8*, i64, i64, i64)* @error_setg_errno, { 1, 0 } uselistorder i32* ()* @__errno_location, { 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @slog, { 1, 0 } }
1
CompRealVul
pl110_class_init_14564
pl110_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 store i64 4198662, i64* %arg1, align 8 %sext = mul i64 %1, 4294967296 %3 = ashr exact i64 %sext, 32 %4 = call i64 @FUNC(i64 0, i64 %3) %5 = add i64 %2, 4 %6 = inttoptr i64 %5 to i32* store i32 1, i32* %6, align 4 %7 = add i64 %2, 8 %8 = inttoptr i64 %7 to i64* store i64 ptrtoint (i64* @gv_0 to i64), i64* %8, align 8 ret i64 %2 uselistorder i64 %2, { 1, 0, 2 } }
1
CompRealVul
gen_neon_mull_1846
gen_neon_mull
define i64 @FUNC(i64 %arg1, i32 %arg2, i32 %arg3, i32 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %rax.1.reg2mem = alloca i64 %rax.0.reg2mem = alloca i64 %0 = trunc i64 %arg5 to i32 %1 = mul i32 %arg4, 2 %2 = or i32 %1, %0 %3 = zext i32 %2 to i64 store i64 %3, i64* @0, align 8 switch i32 %2, label LBL_7 [ i32 0, label LBL_1 i32 1, label LBL_2 i32 2, label LBL_3 i32 3, label LBL_4 i32 4, label LBL_5 i32 5, label LBL_6 ] LBL_1: %4 = zext i32 %arg2 to i64 %5 = call i64 @FUNC(i64 %arg1, i64 %4, i32 %arg3) store i64 %5, i64* %rax.0.reg2mem br label LBL_8 LBL_2: %6 = zext i32 %arg2 to i64 %7 = call i64 @FUNC(i64 %arg1, i64 %6, i32 %arg3) store i64 %7, i64* %rax.0.reg2mem br label LBL_8 LBL_3: %8 = zext i32 %arg2 to i64 %9 = call i64 @FUNC(i64 %arg1, i64 %8, i32 %arg3) store i64 %9, i64* %rax.0.reg2mem br label LBL_8 LBL_4: %10 = zext i32 %arg2 to i64 %11 = call i64 @FUNC(i64 %arg1, i64 %10, i32 %arg3) store i64 %11, i64* %rax.0.reg2mem br label LBL_8 LBL_5: %12 = zext i32 %arg3 to i64 %13 = zext i32 %arg2 to i64 %14 = call i64 @FUNC(i64 %13, i64 %12) %15 = call i64 @FUNC(i64 %arg1, i64 %14) %16 = call i64 @FUNC(i64 %14) store i64 %16, i64* %rax.0.reg2mem br label LBL_8 LBL_6: %17 = zext i32 %arg3 to i64 %18 = zext i32 %arg2 to i64 %19 = call i64 @FUNC(i64 %18, i64 %17) %20 = call i64 @FUNC(i64 %arg1, i64 %19) %21 = call i64 @FUNC(i64 %19) store i64 %21, 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 %22 = icmp sgt i32 %arg4, 1 store i64 %rax.0.reload, i64* %rax.1.reg2mem br i1 %22, label LBL_10, label LBL_9 LBL_9: %23 = zext i32 %arg2 to i64 %24 = call i64 @FUNC(i64 %23) %25 = zext i32 %arg3 to i64 %26 = call i64 @FUNC(i64 %25) store i64 %26, i64* %rax.1.reg2mem br label LBL_10 LBL_10: %rax.1.reload = load i64, i64* %rax.1.reg2mem ret i64 %rax.1.reload uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 4, 3, 2, 1 } uselistorder i64 (i64)* @tcg_temp_free_i32, { 1, 0 } uselistorder i64 (i64)* @tcg_temp_free_i64, { 1, 0 } uselistorder i64 (i64, i64)* @tcg_gen_mov_i64, { 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder i32 1, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i32 %arg4, { 1, 0 } uselistorder i32 %arg3, { 5, 6, 4, 3, 2, 1, 0 } uselistorder i32 %arg2, { 5, 6, 4, 3, 2, 1, 0 } uselistorder i64 %arg1, { 5, 4, 3, 2, 1, 0 } }
0
CompRealVul
db__message_reconnect_reset_incoming_7267
db__message_reconnect_reset_incoming
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %.reg2mem6 = alloca i32* %.reg2mem4 = alloca i32* %.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i32* %sv_0 = alloca i32*, align 8 %sv_1 = alloca i32*, align 8 %0 = inttoptr i64 %arg1 to i32* store i32 0, i32* %0, align 4 %1 = add i64 %arg1, 4 %2 = inttoptr i64 %1 to i32* store i32 0, i32* %2, align 4 %3 = add i64 %arg1, 8 %4 = inttoptr i64 %3 to i32* store i32 0, i32* %4, align 4 %5 = add i64 %arg1, 12 %6 = inttoptr i64 %5 to i32* store i32 0, i32* %6, align 4 %7 = add i64 %arg1, 16 %8 = inttoptr i64 %7 to i32* store i32 0, i32* %8, align 4 %9 = add i64 %arg1, 20 %10 = inttoptr i64 %9 to i32* store i32 0, i32* %10, align 4 %11 = add i64 %arg1, 24 %12 = inttoptr i64 %11 to i32* store i32 0, i32* %12, align 4 %13 = add i64 %arg1, 28 %14 = inttoptr i64 %13 to i32* store i32 0, i32* %14, align 4 %15 = add i64 %arg1, 36 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = add i64 %arg1, 32 %19 = inttoptr i64 %18 to i32* store i32 %17, i32* %19, align 4 %20 = add i64 %arg1, 40 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = inttoptr i64 %22 to i32* store i32* %23, i32** %sv_1, align 8 %24 = icmp eq i64 %22, 0 br i1 %24, label LBL_7, label LBL_1 LBL_1: %25 = bitcast i32** %sv_1 to i64* store i32* %23, i32** %.reg2mem4 br label LBL_6 LBL_2: %26 = call i64 @FUNC(i64 %arg1) %.pr = load i32, i32* %.reload5, align 4 %27 = icmp eq i32 %.pr, 2 br i1 %27, label LBL_4, label LBL_3 LBL_3: %28 = call i64 @FUNC(i64 %arg1, i64 %34) store i32* %38, i32** %.pre-phi.reg2mem store i64 %37, i64* %.reg2mem br label LBL_5 LBL_4: %29 = add i64 %34, 4 %30 = inttoptr i64 %29 to i32* store i32 0, i32* %30, align 4 %31 = load i32*, i32** %sv_0, align 8 %32 = ptrtoint i32* %31 to i64 store i32* %31, i32** %.pre-phi.reg2mem store i64 %32, i64* %.reg2mem br label LBL_5 LBL_5: %.reload = load i64, i64* %.reg2mem %.pre-phi.reload = load i32*, i32** %.pre-phi.reg2mem store i64 %.reload, i64* %25, align 8 %33 = icmp eq i64 %.reload, 0 store i32* %.pre-phi.reload, i32** %.reg2mem4 br i1 %33, label LBL_7, label LBL_6 LBL_6: %.reload5 = load i32*, i32** %.reg2mem4 %34 = ptrtoint i32* %.reload5 to i64 %35 = add i64 %34, 16 %36 = inttoptr i64 %35 to i64* %37 = load i64, i64* %36, align 8 %38 = inttoptr i64 %37 to i32* store i32* %38, i32** %sv_0, align 8 %39 = call i64 @FUNC(i64 %arg1, i64 %34) %40 = load i32, i32* %.reload5, align 4 %41 = icmp slt i32 %40, 1 br i1 %41, label LBL_3, label LBL_2 LBL_7: %42 = add i64 %arg1, 48 %43 = inttoptr i64 %42 to i64* %44 = load i64, i64* %43, align 8 %45 = inttoptr i64 %44 to i32* store i32* %45, i32** %sv_1, align 8 %46 = icmp eq i64 %44, 0 br i1 %46, label LBL_18, label LBL_8 LBL_8: %47 = bitcast i32** %sv_1 to i64* store i32* %45, i32** %.reg2mem6 br label LBL_16 LBL_9: %48 = icmp sgt i32 %73, 2 br i1 %48, label LBL_14, label LBL_10 LBL_10: switch i32 %73, label LBL_14 [ i32 0, label LBL_11 i32 1, label LBL_12 ] LBL_11: %49 = add i64 %67, 8 %50 = inttoptr i64 %49 to i32* store i32 1, i32* %50, align 4 br label LBL_14 LBL_12: %51 = add i64 %67, 8 %52 = inttoptr i64 %51 to i32* store i32 2, i32* %52, align 4 br label LBL_14 LBL_13: %53 = add i64 %67, 8 %54 = inttoptr i64 %53 to i32* store i32 3, i32* %54, align 4 br label LBL_14 LBL_14: %55 = call i64 @FUNC(i64 %arg1, i64 %arg1) br label LBL_15 LBL_15: %56 = load i32*, i32** %sv_0, align 8 %57 = ptrtoint i32* %56 to i64 store i64 %57, i64* %47, align 8 %58 = icmp eq i32* %56, null store i32* %56, i32** %.reg2mem6 br i1 %58, label LBL_18, label LBL_16 LBL_16: %.reload7 = load i32*, i32** %.reg2mem6 %59 = ptrtoint i32* %.reload7 to i64 %60 = add i64 %59, 16 %61 = inttoptr i64 %60 to i64* %62 = load i64, i64* %61, align 8 %63 = inttoptr i64 %62 to i32* store i32* %63, i32** %sv_0, align 8 %64 = add i64 %59, 4 %65 = inttoptr i64 %64 to i32* store i32 0, i32* %65, align 4 %66 = load i32*, i32** %sv_1, align 8 %67 = ptrtoint i32* %66 to i64 %68 = call i64 @FUNC(i64 %arg1, i64 %67) %69 = load i32, i32* %66, align 4 %70 = call i64 @FUNC(i64 %arg1, i64 0, i32 %69) %71 = trunc i64 %70 to i32 %72 = icmp eq i32 %71, 0 br i1 %72, label LBL_15, label LBL_17 LBL_17: %73 = load i32, i32* %66, align 4 %74 = icmp eq i32 %73, 2 br i1 %74, label LBL_13, label LBL_9 LBL_18: ret i64 0 uselistorder i32 %73, { 2, 1, 0 } uselistorder i64 %67, { 3, 1, 2, 0 } uselistorder i32* %38, { 1, 0 } uselistorder i64 %37, { 1, 0 } uselistorder i64 %34, { 2, 3, 0, 1 } uselistorder i32* %.reload5, { 1, 2, 0 } uselistorder i32** %sv_1, { 4, 0, 3, 1, 2 } uselistorder i32** %sv_0, { 3, 0, 2, 1 } uselistorder i32** %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i32 2, { 0, 3, 2, 1 } uselistorder i32 0, { 1, 2, 0, 3, 4, 5, 6, 7, 8, 9, 10, 11 } uselistorder i64 %arg1, { 6, 5, 3, 4, 7, 2, 1, 0, 8, 10, 9, 11, 12, 13, 14, 15, 16, 17, 18 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_14, { 1, 2, 3, 0, 4 } uselistorder label LBL_6, { 1, 0 } }
0
CompRealVul
ssl_set_client_disabled_9079
ssl_set_client_disabled
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0.1.lcssa8.reg2mem = alloca i32 %sv_1.1.lcssa10.reg2mem = alloca i32 %sv_0.1.lcssa7.reg2mem = alloca i32 %sv_1.1.lcssa9.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i32 %sv_2.11.reg2mem = alloca i32 %sv_0.12.reg2mem = alloca i32 %sv_1.13.reg2mem = alloca i32 %sv_3.04.reg2mem = alloca i64 %.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 %sv_4 = alloca i64, align 8 %1 = bitcast i64* %arg1 to i32* store i32 0, i32* %1, align 4 %2 = add i64 %0, 4 %3 = inttoptr i64 %2 to i32* store i32 0, i32* %3, align 4 %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i32* store i32 0, i32* %5, align 4 %6 = call i64 @FUNC(i64 %0, i64* nonnull %sv_4) %7 = icmp eq i64 %6, 0 store i32 0, i32* %sv_1.1.lcssa9.reg2mem store i32 0, i32* %sv_0.1.lcssa7.reg2mem br i1 %7, label LBL_9, label LBL_1 LBL_1: %.pre = load i64, i64* %sv_4, align 8 store i64 %.pre, i64* %.reg2mem store i64 0, i64* %sv_3.04.reg2mem store i32 0, i32* %sv_1.13.reg2mem store i32 0, i32* %sv_0.12.reg2mem store i32 0, i32* %sv_2.11.reg2mem br label LBL_2 LBL_2: %sv_2.11.reload = load i32, i32* %sv_2.11.reg2mem %sv_0.12.reload = load i32, i32* %sv_0.12.reg2mem %sv_3.04.reload = load i64, i64* %sv_3.04.reg2mem %.reload = load i64, i64* %.reg2mem %8 = add i64 %.reload, 1 %9 = inttoptr i64 %8 to i8* %10 = load i8, i8* %9, align 1 %11 = icmp eq i8 %10, 3 store i32 %sv_2.11.reload, i32* %sv_2.0.reg2mem store i32 %sv_0.12.reload, i32* %sv_0.0.reg2mem store i32 1, i32* %sv_1.0.reg2mem br i1 %11, label LBL_7, label LBL_3 LBL_3: %sv_1.13.reload = load i32, i32* %sv_1.13.reg2mem %12 = icmp ugt i8 %10, 3 store i32 %sv_2.11.reload, i32* %sv_2.0.reg2mem store i32 %sv_0.12.reload, i32* %sv_0.0.reg2mem store i32 %sv_1.13.reload, i32* %sv_1.0.reg2mem br i1 %12, label LBL_7, label LBL_4 LBL_4: store i32 %sv_2.11.reload, i32* %sv_2.0.reg2mem store i32 %sv_0.12.reload, i32* %sv_0.0.reg2mem store i32 %sv_1.13.reload, i32* %sv_1.0.reg2mem switch i8 %10, label LBL_7 [ i8 1, label LBL_5 i8 2, label LBL_6 ] LBL_5: store i32 1, i32* %sv_2.0.reg2mem store i32 %sv_0.12.reload, i32* %sv_0.0.reg2mem store i32 %sv_1.13.reload, i32* %sv_1.0.reg2mem br label LBL_7 LBL_6: store i32 %sv_2.11.reload, i32* %sv_2.0.reg2mem store i32 1, i32* %sv_0.0.reg2mem store i32 %sv_1.13.reload, i32* %sv_1.0.reg2mem br label LBL_7 LBL_7: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %13 = add i64 %sv_3.04.reload, 2 %14 = add i64 %.reload, 2 store i64 %14, i64* %sv_4, align 8 %15 = icmp ult i64 %13, %6 store i64 %14, i64* %.reg2mem store i64 %13, i64* %sv_3.04.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.13.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.12.reg2mem store i32 %sv_2.0.reload, i32* %sv_2.11.reg2mem br i1 %15, label LBL_2, label LBL_8 LBL_8: %16 = icmp eq i32 %sv_2.0.reload, 0 %17 = icmp eq i1 %16, false store i32 %sv_1.0.reload, i32* %sv_1.1.lcssa9.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa7.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.1.lcssa10.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa8.reg2mem br i1 %17, label LBL_10, label LBL_9 LBL_9: %sv_0.1.lcssa7.reload = load i32, i32* %sv_0.1.lcssa7.reg2mem %sv_1.1.lcssa9.reload = load i32, i32* %sv_1.1.lcssa9.reg2mem %18 = bitcast i64* %rdi to i32* %19 = load i32, i32* %18, align 8 %20 = or i32 %19, 1 store i32 %20, i32* %1, align 4 %21 = load i32, i32* %3, align 4 %22 = or i32 %21, 6 store i32 %22, i32* %3, align 4 store i32 %sv_1.1.lcssa9.reload, i32* %sv_1.1.lcssa10.reg2mem store i32 %sv_0.1.lcssa7.reload, i32* %sv_0.1.lcssa8.reg2mem br label LBL_10 LBL_10: %sv_0.1.lcssa8.reload = load i32, i32* %sv_0.1.lcssa8.reg2mem %sv_1.1.lcssa10.reload = load i32, i32* %sv_1.1.lcssa10.reg2mem %23 = icmp eq i32 %sv_0.1.lcssa8.reload, 0 %24 = icmp eq i1 %23, false br i1 %24, label LBL_12, label LBL_11 LBL_11: %25 = bitcast i64* %rdi to i32* %26 = load i32, i32* %25, align 8 %27 = or i32 %26, 8 store i32 %27, i32* %1, align 4 %28 = load i32, i32* %3, align 4 %29 = or i32 %28, 16 store i32 %29, i32* %3, align 4 br label LBL_12 LBL_12: %30 = icmp eq i32 %sv_1.1.lcssa10.reload, 0 %31 = icmp eq i1 %30, false br i1 %31, label LBL_14, label LBL_13 LBL_13: %32 = bitcast i64* %rdi to i32* %33 = load i32, i32* %32, align 8 %34 = or i32 %33, 32 store i32 %34, i32* %1, align 4 %35 = load i32, i32* %3, align 4 %36 = or i32 %35, 64 store i32 %36, i32* %3, align 4 br label LBL_14 LBL_14: %37 = inttoptr i64 %4 to i64* %38 = load i64, i64* %37, align 8 %39 = call i64 @FUNC(i64 %38) %40 = trunc i64 %39 to i32 %41 = icmp eq i32 %40, 0 %42 = icmp eq i1 %41, false br i1 %42, label LBL_16, label LBL_15 LBL_15: %43 = bitcast i64* %rdi to i32* %44 = load i32, i32* %43, align 8 %45 = or i32 %44, 128 store i32 %45, i32* %1, align 4 %46 = load i32, i32* %3, align 4 %47 = or i32 %46, 256 store i32 %47, i32* %3, align 4 br label LBL_16 LBL_16: %48 = add i64 %0, 16 %49 = inttoptr i64 %48 to i64* %50 = load i64, i64* %49, align 8 %51 = icmp eq i64 %50, 0 %52 = icmp eq i1 %51, false br i1 %52, label LBL_18, label LBL_17 LBL_17: %53 = bitcast i64* %rdi to i32* %54 = load i32, i32* %53, align 8 %55 = or i32 %54, 512 store i32 %55, i32* %1, align 4 %56 = load i32, i32* %3, align 4 %57 = or i32 %56, 1024 store i32 %57, i32* %3, align 4 br label LBL_18 LBL_18: %58 = add i64 %0, 24 %59 = inttoptr i64 %58 to i32* %60 = load i32, i32* %59, align 4 %61 = and i32 %60, 4096 %62 = icmp eq i32 %61, 0 %63 = icmp eq i1 %62, false br i1 %63, label LBL_20, label LBL_19 LBL_19: %64 = bitcast i64* %rdi to i32* %65 = load i32, i32* %64, align 8 %66 = or i32 %65, 2048 store i32 %66, i32* %1, align 4 %67 = load i32, i32* %3, align 4 %68 = or i32 %67, 4096 store i32 %68, i32* %3, align 4 br label LBL_20 LBL_20: %69 = add i64 %0, 12 %70 = inttoptr i64 %69 to i32* store i32 1, i32* %70, align 4 ret i64 %0 uselistorder i32 %sv_1.13.reload, { 1, 2, 0, 3 } uselistorder i64 %.reload, { 1, 0 } uselistorder i32 %sv_0.12.reload, { 2, 1, 3, 0 } uselistorder i32 %sv_2.11.reload, { 2, 1, 3, 0 } uselistorder i64 %6, { 1, 0 } uselistorder i32* %3, { 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 12 } uselistorder i32* %1, { 5, 4, 3, 2, 1, 0, 6 } uselistorder i64* %sv_4, { 2, 0, 1 } uselistorder i64* %rdi, { 5, 4, 3, 2, 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_3.04.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.13.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.12.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.11.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.0.reg2mem, { 0, 3, 4, 2, 5, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 4, 2, 5, 1 } uselistorder i32* %sv_1.0.reg2mem, { 0, 3, 4, 2, 5, 1 } uselistorder i32* %sv_1.1.lcssa9.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.1.lcssa7.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.1.lcssa10.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.1.lcssa8.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 5, 6, 7, 8, 9, 2, 3, 4, 0, 1, 10, 11, 12 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_7, { 2, 3, 1, 4, 0 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
msetGenericCommand_12915
msetGenericCommand
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i32 %storemerge24.reg2mem = alloca i32 %.reg2mem9 = alloca i64 %sv_0.0.reg2mem = alloca i64 %storemerge35.reg2mem = alloca i32 %.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = urem i32 %2, 2 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %arg1) store i64 %6, i64* %rax.0.reg2mem br label LBL_12 LBL_2: %7 = trunc i64 %arg2 to i32 %8 = icmp eq i32 %7, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %8, label LBL_8, label LBL_3 LBL_3: %9 = icmp ugt i32 %2, 1 store i32 %2, i32* %.lcssa.reg2mem br i1 %9, label LBL_4, label LBL_11 LBL_4: %10 = add i64 %arg1, 8 %11 = inttoptr i64 %10 to i64* %12 = add i64 %arg1, 16 %13 = inttoptr i64 %12 to i64* %14 = and i64 %1, 4294967295 store i64 1, i64* %.reg2mem store i32 1, i32* %storemerge35.reg2mem br label LBL_5 LBL_5: %.reload = load i64, i64* %.reg2mem %15 = load i64, i64* %11, align 8 %16 = mul i64 %.reload, 8 %17 = add i64 %15, %16 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = load i64, i64* %13, align 8 %21 = call i64 @FUNC(i64 %20, i64 %19) %22 = icmp eq i64 %21, 0 br i1 %22, label LBL_7, label LBL_6 LBL_6: %23 = load i64, i64* @gv_0, align 8 %24 = call i64 @FUNC(i64 %arg1, i64 %23) store i64 %24, i64* %rax.0.reg2mem br label LBL_12 LBL_7: %storemerge35.reload = load i32, i32* %storemerge35.reg2mem %25 = add i32 %storemerge35.reload, 2 %26 = sext i32 %25 to i64 %27 = icmp sgt i64 %14, %26 store i64 %26, i64* %.reg2mem store i32 %25, i32* %storemerge35.reg2mem store i64 1, i64* %sv_0.0.reg2mem br i1 %27, label LBL_5, label LBL_8 LBL_8: %28 = icmp ugt i32 %2, 1 store i32 %2, i32* %.lcssa.reg2mem br i1 %28, label LBL_9, label LBL_11 LBL_9: %29 = bitcast i64* %rdi to i32* %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %30 = add i64 %arg1, 8 %31 = inttoptr i64 %30 to i64* %32 = add i64 %arg1, 16 %33 = inttoptr i64 %32 to i64* store i64 1, i64* %.reg2mem9 store i32 1, i32* %storemerge24.reg2mem br label LBL_10 LBL_10: %storemerge24.reload = load i32, i32* %storemerge24.reg2mem %.reload10 = load i64, i64* %.reg2mem9 %34 = load i64, i64* %31, align 8 %35 = mul i64 %.reload10, 8 %36 = add nsw i64 %35, 8 %37 = add i64 %34, %36 %38 = inttoptr i64 %37 to i64* %39 = load i64, i64* %38, align 8 %40 = call i64 @FUNC(i64 %39) store i64 %40, i64* %38, align 8 %41 = load i64, i64* %31, align 8 %42 = add i64 %41, %36 %43 = inttoptr i64 %42 to i64* %44 = load i64, i64* %43, align 8 %45 = add i64 %41, %35 %46 = inttoptr i64 %45 to i64* %47 = load i64, i64* %46, align 8 %48 = load i64, i64* %33, align 8 %49 = call i64 @FUNC(i64 %arg1, i64 %48, i64 %47, i64 %44, i64 %sv_0.0.reload) %50 = load i64, i64* %33, align 8 %51 = inttoptr i64 %50 to i32* %52 = load i32, i32* %51, align 4 %53 = load i64, i64* %31, align 8 %54 = add i64 %53, %35 %55 = inttoptr i64 %54 to i64* %56 = load i64, i64* %55, align 8 %57 = zext i32 %52 to i64 %58 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i64 %56, i64 %57) %59 = add i32 %storemerge24.reload, 2 %60 = load i32, i32* %29, align 8 %61 = zext i32 %60 to i64 %62 = sext i32 %59 to i64 %63 = icmp slt i64 %62, %61 store i64 %62, i64* %.reg2mem9 store i32 %59, i32* %storemerge24.reg2mem store i32 %60, i32* %.lcssa.reg2mem br i1 %63, label LBL_10, label LBL_11 LBL_11: %.lcssa.reload = load i32, i32* %.lcssa.reg2mem %64 = load i32, i32* @gv_2, align 4 %65 = add i32 %.lcssa.reload, -1 %66 = icmp slt i32 %65, 0 %67 = zext i1 %66 to i32 %68 = add i32 %65, %67 %69 = ashr i32 %68, 1 %70 = add i32 %69, %64 store i32 %70, i32* @gv_2, align 4 %global_var_404050.val = load i64, i64* @gv_3, align 8 %global_var_404048.val = load i64, i64* @gv_4, align 8 %storemerge = select i1 %8, i64 %global_var_404050.val, i64 %global_var_404048.val %71 = call i64 @FUNC(i64 %arg1, i64 %storemerge) store i64 %71, 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 %35, { 2, 1, 0 } uselistorder i32 %2, { 1, 3, 0, 4, 2 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge35.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem9, { 1, 0, 2 } uselistorder i32* %storemerge24.reg2mem, { 1, 0, 2 } uselistorder i32* %.lcssa.reg2mem, { 0, 1, 3, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i32* @gv_2, { 1, 0 } uselistorder i64 (i64, i64)* @addReply, { 1, 0 } uselistorder i32 0, { 0, 2, 3, 1 } uselistorder i32 2, { 1, 2, 0 } uselistorder i64 %arg1, { 4, 5, 6, 7, 1, 3, 2, 0 } uselistorder label LBL_11, { 0, 2, 1 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
1
CompRealVul
caldav_delete_cal_17557
caldav_delete_cal
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i32 %.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 store i64 0, i64* %sv_3, align 8 store i64 0, i64* %sv_2, align 8 %4 = trunc i64 %1 to i32 %5 = icmp eq i32 %4, 0 store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_21 LBL_1: %6 = ptrtoint i64* %arg4 to i64 %7 = ptrtoint i64* %arg2 to i64 %8 = ptrtoint i64* %arg1 to i64 %9 = trunc i64 %3 to i32 %10 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %11 = urem i32 %10, 2 %12 = icmp eq i32 %11, 0 %13 = icmp eq i32 %9, 0 %or.cond = or i1 %13, %12 store i32 0, i32* %sv_0.0.reg2mem br i1 %or.cond, label LBL_3, label LBL_2 LBL_2: %14 = call i64 @FUNC(i64 %8, i64 %7, i64 0, i64 %6, i64* nonnull %sv_3, i64* nonnull %sv_2) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false store i32 %15, i32* %sv_0.0.reg2mem store i32 %15, i32* %sv_0.1.reg2mem br i1 %17, label LBL_18, label LBL_3 LBL_3: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %18 = add i64 %6, 8 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = icmp eq i64 %20, 0 store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br i1 %21, label LBL_18, label LBL_4 LBL_4: %22 = call i64 @FUNC(i64 %8, i64 %7) %23 = trunc i64 %22 to i32 %24 = icmp eq i32 %23, 0 store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br i1 %24, label LBL_18, label LBL_5 LBL_5: store i64 0, i64* %sv_1, align 8 %25 = load i64, i64* %sv_3, align 8 %26 = icmp eq i64 %25, 0 %27 = icmp eq i1 %26, false store i64 %25, i64* %.reg2mem br i1 %27, label LBL_7, label LBL_6 LBL_6: %28 = ptrtoint i64* %arg3 to i64 %29 = call i64 @FUNC(i64 %7, i64 %28, i64* nonnull %sv_2) store i64 %29, i64* %sv_3, align 8 store i64 %29, i64* %.reg2mem br label LBL_7 LBL_7: %.reload = load i64, i64* %.reg2mem %30 = icmp eq i64 %.reload, 0 %31 = icmp eq i1 %30, false br i1 %31, label LBL_9, label LBL_8 LBL_8: %32 = trunc i64 %2 to i32 %33 = add i64 %8, 8 %34 = inttoptr i64 %33 to i64* %35 = load i64, i64* %34, align 8 %36 = inttoptr i64 %35 to i64* %37 = load i64, i64* %36, align 8 %38 = inttoptr i64 %37 to i8* call void (i32, i8*, ...) @syslog(i32 3, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i8* %38, i32 %32) store i64 500, i64* %rax.0.reg2mem br label LBL_21 LBL_9: %39 = load i64, i64* %sv_2, align 8 %40 = icmp eq i64 %39, 0 %41 = icmp eq i1 %40, false br i1 %41, label LBL_11, label LBL_10 LBL_10: %42 = call i64 @FUNC(i64 %8, i64* nonnull %sv_1) br label LBL_12 LBL_11: %43 = call i64 @FUNC(i64* nonnull %sv_1, i64 %39) store i64 0, i64* %sv_2, align 8 br label LBL_12 LBL_12: %44 = add i64 %8, 8 %45 = inttoptr i64 %44 to i64* %46 = load i64, i64* %45, align 8 %47 = inttoptr i64 %46 to i64* %48 = load i64, i64* %47, align 8 %49 = call i64 @FUNC(i64 %48) %50 = load i64, i64* %19, align 8 %51 = call i64 @FUNC(i64* nonnull %sv_1, i64 %50, i64 0) %52 = trunc i64 %51 to i32 %53 = icmp slt i32 %52, 0 br i1 %53, label LBL_14, label LBL_13 LBL_13: %54 = load i64, i64* %sv_3, align 8 %55 = load i64, i64* %19, align 8 %56 = call i64 @FUNC(i64 %49, i64 %55, i64 %54, i64 0) br label LBL_17 LBL_14: %57 = add i64 %8, 16 %58 = inttoptr i64 %57 to i64* %59 = load i64, i64* %58, align 8 %60 = call i64 @FUNC(i64 %59, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0)) %61 = icmp eq i64 %60, 0 br i1 %61, label LBL_16, label LBL_15 LBL_15: %62 = inttoptr i64 %60 to i64* %63 = load i64, i64* %62, align 8 %64 = inttoptr i64 %63 to i8* %65 = call i32 @strcasecmp(i8* %64, i8* inttoptr (i64 4202579 to i8*)) %66 = icmp eq i32 %65, 0 br i1 %66, label LBL_17, label LBL_16 LBL_16: %67 = load i64, i64* %sv_3, align 8 %68 = call i64 @FUNC(i64* nonnull %sv_1, i64 0) %69 = call i64 @FUNC(i64 %49, i64 %68, i64 %67, i64 0) br label LBL_17 LBL_17: %70 = call i64 @FUNC(i64* nonnull %sv_1) store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br label LBL_18 LBL_18: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %71 = load i64, i64* %sv_3, align 8 %72 = icmp eq i64 %71, 0 br i1 %72, label LBL_20, label LBL_19 LBL_19: %73 = call i64 @FUNC(i64 %71) br label LBL_20 LBL_20: %74 = load i64, i64* %sv_2, align 8 %75 = inttoptr i64 %74 to i64* call void @free(i64* %75) %76 = call i64 @FUNC(i64* nonnull %sv_3) %77 = zext i32 %sv_0.1.reload to i64 store i64 %77, i64* %rax.0.reg2mem br label LBL_21 LBL_21: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %49, { 1, 0 } uselistorder i64 %8, { 3, 4, 2, 1, 5, 0 } uselistorder i64 %7, { 1, 2, 0 } uselistorder i64 %6, { 1, 0 } uselistorder i64* %sv_3, { 0, 2, 3, 4, 5, 6, 1, 7 } uselistorder i64* %sv_2, { 2, 3, 4, 0, 1, 5 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 3, 4, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i32 0, { 2, 3, 4, 5, 0, 1, 6, 7, 8 } uselistorder i64 0, { 21, 10, 11, 22, 6, 7, 12, 13, 17, 23, 8, 9, 24, 25, 18, 26, 14, 0, 19, 20, 2, 1, 3, 4, 5, 15, 16 } uselistorder label LBL_21, { 1, 2, 0 } uselistorder label LBL_18, { 3, 1, 0, 2 } }
1
CompRealVul
media_device_unregister_8283
media_device_unregister
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge1.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null store i64 %0, i64* %storemerge1.reg2mem br i1 %1, label LBL_2, label LBL_1 LBL_1: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %2 = inttoptr i64 %storemerge1.reload to i64* %3 = load i64, i64* %2, align 8 %4 = call i64 @FUNC(i64 %storemerge1.reload) %5 = icmp eq i64 %3, 0 store i64 %3, i64* %storemerge1.reg2mem br i1 %5, label LBL_2, label LBL_1 LBL_2: %6 = add i64 %0, 8 %7 = call i64 @FUNC(i64 %6, i64* nonnull @gv_0) %8 = call i64 @FUNC(i64 %6) ret i64 %8 uselistorder i64 %0, { 1, 0 } uselistorder i64* %storemerge1.reg2mem, { 2, 0, 1 } uselistorder label LBL_1, { 1, 0 } }
0
CompRealVul
LockServer_7759
LockServer
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_1.1.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %sv_5 = alloca i64, align 8 %4 = load i32, i32* @gv_0, align 4 %5 = zext i32 %4 to i64 %6 = icmp eq i32 %4, 0 %7 = icmp eq i1 %6, false store i64 %5, i64* %rax.0.reg2mem br i1 %7, label LBL_26, label LBL_1 LBL_1: %8 = call i32 @atoi(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0)) %9 = zext i32 %8 to i64 %10 = bitcast i64* %sv_5 to i8* %11 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %10, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i64 %9) %12 = call i32 @strlen(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0)) %13 = call i32 @strlen(i8* nonnull %10) %14 = add i32 %13, %12 %15 = add i32 %14, 17 %16 = icmp ult i32 %15, 4097 br i1 %16, label LBL_3, label LBL_2 LBL_2: %17 = zext i32 %14 to i64 %18 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_4, i64 0, i64 0), i64* nonnull %sv_5, i64 %17, i64 %3, i64 %2, i64 %1) unreachable LBL_3: %19 = bitcast i64* %sv_4 to i8* %20 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %19, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0), i64* nonnull %sv_5) %21 = ptrtoint i64* %sv_5 to i64 %22 = call i32 (i8*, i8*, ...) @sprintf(i8* bitcast (i8** @gv_6 to i8*), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0), i64* nonnull %sv_5) store i32 1, i32* inttoptr (i64 4215044 to i32*), align 4 store i32 0, i32* %sv_1.0.reg2mem br label LBL_4 LBL_4: %23 = call i32 (i8*, i32, ...) @open(i8* nonnull %19, i32 193) %24 = icmp slt i32 %23, 0 %25 = icmp eq i1 %24, false store i32 %23, i32* %sv_0.0.reg2mem br i1 %25, label LBL_9, label LBL_5 LBL_5: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %26 = add nuw nsw i32 %sv_1.0.reload, 1 %27 = call i32 @sleep(i32 2) %28 = icmp ult i32 %26, 3 store i32 %26, i32* %sv_1.0.reg2mem br i1 %28, label LBL_4, label LBL_6 LBL_6: %29 = call i32 @unlink(i8* nonnull %19) store i32 0, i32* %sv_1.1.reg2mem br label LBL_7 LBL_7: %30 = call i32 (i8*, i32, ...) @open(i8* nonnull %19, i32 193) %31 = icmp slt i32 %30, 0 %32 = icmp eq i1 %31, false store i32 %30, i32* %sv_0.0.reg2mem br i1 %32, label LBL_9, label LBL_8 LBL_8: %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %33 = add nuw nsw i32 %sv_1.1.reload, 1 %34 = call i32 @sleep(i32 2) %35 = icmp ult i32 %33, 3 store i32 %33, i32* %sv_1.1.reg2mem store i32 %30, i32* %sv_0.0.reg2mem br i1 %35, label LBL_7, label LBL_9 LBL_9: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %36 = icmp slt i32 %sv_0.0.reload, 0 %37 = icmp eq i1 %36, false br i1 %37, label LBL_11, label LBL_10 LBL_10: %38 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_7, i64 0, i64 0), i64* nonnull %sv_4, i64 420, i64 %21, i64 %2, i64 %1) unreachable LBL_11: %39 = call i32 @getpid() %40 = bitcast i64* %sv_3 to i8* %41 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %40, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_8, i64 0, i64 0), i32 %39) %42 = ptrtoint i64* %sv_3 to i64 %43 = call i32 @write(i32 %sv_0.0.reload, i64* nonnull %sv_3, i32 11) %44 = call i32 @chmod(i8* nonnull %19, i32 292) %45 = call i32 @close(i32 %sv_0.0.reload) store i32 1, i32* %.reg2mem br label LBL_12 LBL_12: %46 = call i32 @link(i8* nonnull %19, i8* bitcast (i8** @gv_6 to i8*)) %47 = icmp eq i32 %46, 0 %48 = icmp eq i1 %47, false %49 = icmp eq i1 %48, false br i1 %49, label LBL_25, label LBL_13 LBL_13: %.reload = load i32, i32* %.reg2mem %50 = call i32 (i8*, i32, ...) @open(i8* bitcast (i8** @gv_6 to i8*), i32 131072) %51 = icmp slt i32 %50, 0 %52 = icmp eq i1 %51, false br i1 %52, label LBL_15, label LBL_14 LBL_14: %53 = zext i32 %.reload to i64 %54 = call i32 @unlink(i8* nonnull %19) %55 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_9, i64 0, i64 0), i64* bitcast (i8** @gv_6 to i64*), i64 %53, i64 %42, i64 %2, i64 %1) unreachable LBL_15: store i64 0, i64* %sv_3, align 8 %56 = call i32 @read(i32 %50, i64* nonnull %sv_3, i32 11) %57 = icmp eq i32 %56, 11 br i1 %57, label LBL_18, label LBL_16 LBL_16: %58 = call i32 @unlink(i8* bitcast (i8** @gv_6 to i8*)) %59 = call i32 @close(i32 %50) br label LBL_17 LBL_17: %60 = add nuw nsw i32 %.reload, 1 %61 = icmp ult i32 %.reload, 3 store i32 %60, i32* %.reg2mem br i1 %61, label LBL_12, label LBL_24 LBL_18: %62 = call i32 (i8*, i8*, ...) @sscanf(i8* nonnull %40, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i64* nonnull %sv_2) %63 = call i32 @close(i32 %50) %64 = call i32* @__errno_location() store i32 0, i32* %64, align 4 %65 = load i64, i64* %sv_2, align 8 %66 = trunc i64 %65 to i32 %67 = call i32 @kill(i32 %66, i32 0) %68 = icmp slt i32 %67, 0 %69 = icmp eq i1 %68, false br i1 %69, label LBL_22, label LBL_19 LBL_19: %70 = call i32* @__errno_location() %71 = load i32, i32* %70, align 4 %72 = icmp eq i32 %71, 3 %73 = icmp eq i1 %72, false br i1 %73, label LBL_21, label LBL_20 LBL_20: %74 = call i32 @unlink(i8* bitcast (i8** @gv_6 to i8*)) br label LBL_17 LBL_21: %75 = call i32* @__errno_location() %76 = load i32, i32* %75, align 4 %77 = icmp eq i32 %76, 1 br i1 %77, label LBL_23, label LBL_22 LBL_22: %78 = icmp eq i32 %67, 0 %79 = icmp eq i1 %78, false br i1 %79, label LBL_17, label LBL_23 LBL_23: %80 = call i32 @unlink(i8* nonnull %19) %81 = call i64 @FUNC(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_10, i64 0, i64 0), i64* nonnull %sv_5, i64 ptrtoint ([45 x i8]* @gv_11 to i64), i64 ptrtoint (i8** @gv_6 to i64), i64 ptrtoint ([18 x i8]* @gv_12 to i64), i64 %1) unreachable LBL_24: %82 = call i32 @unlink(i8* nonnull %19) %rdx.2 = zext i32 %60 to i64 %83 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_13, i64 0, i64 0), i64* bitcast (i8** @gv_6 to i64*), i64 %rdx.2, i64 %42, i64 %2, i64 %1) unreachable LBL_25: %84 = call i32 @unlink(i8* nonnull %19) %85 = sext i32 %84 to i64 store i32 0, i32* bitcast (i64* @gv_14 to i32*), align 8 store i64 %85, 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 %60, { 1, 0 } uselistorder i32 %50, { 1, 0, 2, 3 } uselistorder i32 %sv_0.0.reload, { 1, 2, 0 } uselistorder i32 %30, { 1, 0, 2 } uselistorder i8* %19, { 0, 6, 4, 3, 5, 7, 1, 2, 8, 9 } uselistorder i32 %14, { 1, 0 } uselistorder i64* %sv_5, { 2, 0, 5, 1, 3, 4 } uselistorder i64* %sv_3, { 0, 3, 1, 4, 2 } uselistorder i64* %sv_2, { 1, 0 } uselistorder i64 %2, { 3, 2, 1, 0 } uselistorder i64 %1, { 4, 3, 2, 1, 0 } uselistorder i32* %sv_1.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.1.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i32* ()* @__errno_location, { 2, 0, 1 } uselistorder i64* bitcast (i8** @gv_6 to i64*), { 1, 0 } uselistorder i32 (i32)* @close, { 2, 1, 0 } uselistorder i32 (i8*)* @unlink, { 0, 6, 5, 4, 3, 2, 1 } uselistorder i32 (i32)* @sleep, { 1, 0 } uselistorder i32 (i8*, i32, ...)* @open, { 2, 1, 0 } uselistorder i8** @gv_6, { 2, 0, 1 } uselistorder i64 (i8*, i64*, i64, i64, i64, i64)* @FatalError, { 4, 3, 2, 1, 0 } uselistorder i32 (i8*)* @strlen, { 1, 0 } uselistorder i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0), { 1, 0, 2 } uselistorder i32 (i8*, i8*, ...)* @sprintf, { 0, 3, 1, 2 } uselistorder i1 false, { 1, 2, 3, 4, 5, 0, 6, 7, 8, 9 } uselistorder i32 0, { 4, 5, 6, 2, 7, 8, 9, 10, 11, 0, 12, 1, 13, 3 } uselistorder i32 1, { 9, 10, 4, 17, 18, 19, 15, 14, 13, 12, 8, 7, 6, 5, 3, 2, 11, 16, 1, 0 } uselistorder label LBL_26, { 1, 0 } uselistorder label LBL_22, { 1, 0 } uselistorder label LBL_17, { 2, 1, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_9, { 2, 1, 0 } }
1
CompRealVul
get_chunk_header_4279
get_chunk_header
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %.reg2mem = alloca i32 %.pre-phi.reg2mem = alloca i64 %.pre-phi5.reg2mem = alloca i64* %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rdi = alloca i64, align 8 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %sv_1 = alloca i32, align 4 %sv_2 = alloca i32*, align 8 %5 = trunc i64 %3 to i32 %6 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0), i32 %5, i64 %4, i64 %2, i64 %1) %7 = add i64 %arg1, 4 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = icmp slt i32 %9, 1 br i1 %10, label LBL_0.LBL_3_crit_edge, label LBL_2 LBL_1: %.pre3 = add i64 %arg1, 8 %.pre4 = inttoptr i64 %.pre3 to i64* store i64* %.pre4, i64** %.pre-phi5.reg2mem store i64 %.pre3, i64* %.pre-phi.reg2mem store i32 %5, i32* %.reg2mem br label LBL_3 LBL_2: %11 = bitcast i64* %rdi to i32* %12 = add i64 %arg1, 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = call i64 @FUNC(i64 %14, i64 0, i32 %9) store i32 0, i32* %8, align 4 %.pre = load i32, i32* %11, align 8 store i64* %13, i64** %.pre-phi5.reg2mem store i64 %12, i64* %.pre-phi.reg2mem store i32 %.pre, i32* %.reg2mem br label LBL_3 LBL_3: %.reload = load i32, i32* %.reg2mem %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %.pre-phi5.reload = load i64*, i64** %.pre-phi5.reg2mem %16 = load i64, i64* %.pre-phi5.reload, align 8 %17 = bitcast i32** %sv_2 to i64* %18 = call i64 @FUNC(i64 %16, i64* nonnull %17, i64 4) %19 = trunc i64 %18 to i32 %20 = add i32 %.reload, 1 %21 = inttoptr i64 %arg1 to i32* store i32 %20, i32* %21, align 4 %22 = icmp slt i32 %19, 4 br i1 %22, label LBL_5, label LBL_4 LBL_4: %23 = load i32*, i32** %sv_2, align 8 %24 = load i32, i32* %23, align 4 %25 = icmp eq i32 %24, 0 %26 = icmp eq i1 %25, false br i1 %26, label LBL_6, label LBL_5 LBL_5: %27 = add i64 %arg1, 21 %28 = inttoptr i64 %27 to i8* store i8 1, i8* %28, align 1 store i64 0, i64* %rax.0.reg2mem br label LBL_14 LBL_6: %29 = ptrtoint i32* %23 to i64 %30 = add i64 %29, 3 %31 = inttoptr i64 %30 to i8* %32 = load i8, i8* %31, align 1 %33 = icmp slt i8 %32, 0 %34 = icmp eq i1 %33, false br i1 %34, label LBL_9, label LBL_7 LBL_7: %35 = add i64 %29, 1 %36 = inttoptr i64 %35 to i8* %37 = load i8, i8* %36, align 1 %38 = zext i8 %37 to i32 %39 = mul i32 %38, 256 %40 = urem i32 %24, 256 %41 = or i32 %39, %40 %42 = inttoptr i64 %.pre-phi.reload to i32* store i32 %41, i32* %42, align 4 %43 = load i32*, i32** %sv_2, align 8 %44 = ptrtoint i32* %43 to i64 %45 = add i64 %44, 3 %46 = inttoptr i64 %45 to i8* %47 = load i8, i8* %46, align 1 %48 = zext i8 %47 to i32 %49 = mul i32 %48, 256 %50 = add i64 %44, 2 %51 = inttoptr i64 %50 to i8* %52 = load i8, i8* %51, align 1 %53 = zext i8 %52 to i32 %54 = or i32 %49, %53 %55 = add i64 %arg1, 12 %56 = inttoptr i64 %55 to i32* store i32 %54, i32* %56, align 4 %57 = icmp eq i32 %54, 65535 store i32 %41, i32* %sv_0.0.reg2mem br i1 %57, label LBL_10, label LBL_8 LBL_8: %58 = urem i32 %54, 32768 store i32 %58, i32* %56, align 4 store i32 %41, i32* %sv_0.0.reg2mem br label LBL_10 LBL_9: %59 = urem i32 %24, 256 %60 = inttoptr i64 %.pre-phi.reload to i32* store i32 %59, i32* %60, align 4 %61 = load i32*, i32** %sv_2, align 8 %62 = ptrtoint i32* %61 to i64 %63 = add i64 %62, 1 %64 = inttoptr i64 %63 to i8* %65 = load i8, i8* %64, align 1 %66 = zext i8 %65 to i32 %67 = add i64 %arg1, 12 %68 = inttoptr i64 %67 to i32* store i32 %66, i32* %68, align 4 store i32 %59, i32* %sv_0.0.reg2mem br label LBL_10 LBL_10: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %69 = add i64 %arg1, 16 %70 = inttoptr i64 %69 to i32* store i32 0, i32* %70, align 4 %71 = add i64 %arg1, 20 %72 = inttoptr i64 %71 to i8* store i8 0, i8* %72, align 1 %73 = add i64 %arg1, 24 %74 = inttoptr i64 %73 to i64* %75 = load i64, i64* %74, align 8 %76 = inttoptr i64 %75 to i64* call void @free(i64* %76) store i64 0, i64* %74, align 8 %77 = load i64, i64* %.pre-phi5.reload, align 8 %78 = call i64 @FUNC(i64 %77, i64 0, i32 4) %79 = mul i32 %sv_0.0.reload, 16 %80 = sext i32 %79 to i64 %81 = call i64 @FUNC(i64 %80) %82 = load i64, i64* %.pre-phi5.reload, align 8 %83 = call i64 @FUNC(i64 %82, i64 %81, i32 %79) %84 = zext i32 %79 to i64 %85 = icmp slt i64 %83, %84 br i1 %85, label LBL_11, label LBL_12 LBL_11: %86 = inttoptr i64 %81 to i64* call void @free(i64* %86) %87 = add i64 %arg1, 21 %88 = inttoptr i64 %87 to i8* store i8 1, i8* %88, align 1 store i64 0, i64* %rax.0.reg2mem br label LBL_14 LBL_12: %89 = zext i32 %sv_0.0.reload to i64 %90 = bitcast i32* %sv_1 to i64* %91 = call i64 @FUNC(i64 %81, i64 %89, i64* nonnull %90) store i64 %91, i64* %74, align 8 %92 = inttoptr i64 %81 to i64* call void @free(i64* %92) %93 = inttoptr i64 %.pre-phi.reload to i32* %94 = load i32, i32* %93, align 4 %95 = mul i32 %94, 16 %96 = sub i32 1020, %95 %97 = load i32, i32* %sv_1, align 4 %98 = sub i32 %96, %97 store i32 %98, i32* %8, align 4 %99 = icmp slt i32 %98, 1 store i64 1, i64* %rax.0.reg2mem br i1 %99, label LBL_14, label LBL_13 LBL_13: %100 = zext i32 %97 to i64 %101 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_1, i64 0, i64 0), i32 %98, i64 %100, i64 %2, i64 %1) store i64 1, i64* %rax.0.reg2mem br label LBL_14 LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %98, { 1, 0, 2 } uselistorder i32 %97, { 1, 0 } uselistorder i32 %79, { 2, 1, 0 } uselistorder i64 %.pre-phi.reload, { 1, 2, 0 } uselistorder i32* %8, { 1, 0, 2 } uselistorder i32** %sv_2, { 2, 1, 0, 3 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder void (i64*)* @free, { 2, 1, 0 } uselistorder i32 256, { 2, 0, 3, 1 } uselistorder i64 1, { 1, 0, 2, 3 } uselistorder i8 0, { 1, 2, 3, 0 } uselistorder i32 4, { 1, 0 } uselistorder i64 (i64, i64, i32)* @stream_Read, { 2, 1, 0 } uselistorder i64 8, { 1, 0 } uselistorder i64 (i64, i8*, i32, i64, i64, i64)* @msg_Dbg, { 1, 0 } uselistorder i64 %arg1, { 3, 4, 5, 6, 7, 8, 2, 9, 10, 1, 0, 11, 12 } uselistorder label LBL_14, { 1, 0, 2, 3 } uselistorder label LBL_3, { 1, 0 } }
0
CompRealVul
ffs_fs_parse_opts_10905
ffs_fs_parse_opts
define i64 @FUNC(i8* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rdx.2.reg2mem = alloca i64 %rdx.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %rdx.0.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %sv_1 = alloca i32, align 4 %4 = call i64 @FUNC() %5 = icmp eq i64* %arg2, null store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_34, label LBL_1 LBL_1: %6 = trunc i64 %3 to i8 %7 = icmp eq i8 %6, 0 %8 = icmp eq i1 %7, false store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_34 LBL_2: %9 = ptrtoint i64* %arg2 to i64 %10 = bitcast i32* %sv_1 to i64* %11 = ptrtoint i8* %arg1 to i64 %12 = add i64 %11, 4 %13 = inttoptr i64 %12 to i32* %14 = add i64 %11, 16 %15 = inttoptr i64 %14 to i32* %16 = add i64 %11, 8 %17 = inttoptr i64 %16 to i32* %18 = add i64 %11, 12 %19 = inttoptr i64 %18 to i32* store i64 %9, i64* %sv_0.0.reg2mem br label LBL_3 LBL_3: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %20 = inttoptr i64 %sv_0.0.reload to i8* %21 = call i8* @strchr(i8* %20, i32 44) %22 = icmp eq i8* %21, null br i1 %22, label LBL_5, label LBL_4 LBL_4: store i8 0, i8* %21, align 1 br label LBL_5 LBL_5: %23 = call i8* @strchr(i8* %20, i32 61) %24 = icmp eq i8* %23, null %25 = zext i1 %24 to i64 %26 = call i64 @FUNC(i64 %25) %27 = trunc i64 %26 to i32 %28 = icmp eq i32 %27, 0 br i1 %28, label LBL_7, label LBL_6 LBL_6: %29 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0), i64 %sv_0.0.reload, i64 %rdx.0.reload, i64 %rcx.0.reload, i64 %2, i64 %1) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_34 LBL_7: store i8 0, i8* %23, align 1 %30 = ptrtoint i8* %23 to i64 %31 = add i64 %30, 1 %32 = call i64 @FUNC(i64 %31, i64 0, i64* nonnull %10) %33 = trunc i64 %32 to i32 %34 = icmp eq i32 %33, 0 br i1 %34, label LBL_9, label LBL_8 LBL_8: %35 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_1, i64 0, i64 0), i64 %sv_0.0.reload, i64 %31, i64 %31, i64 %2, i64 %1) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_34 LBL_9: %36 = sub i64 %30, %sv_0.0.reload %37 = icmp eq i64 %36, 13 br i1 %37, label LBL_14, label LBL_10 LBL_10: %38 = icmp sgt i64 %36, 13 br i1 %38, label LBL_2844, label LBL_11 LBL_11: %39 = icmp eq i64 %36, 5 br i1 %39, label LBL_16, label LBL_12 LBL_12: %40 = icmp sgt i64 %36, 5 br i1 %40, label LBL_2840, label LBL_13 LBL_13: switch i64 %36, label LBL_28 [ i64 3, label LBL_22 i64 4, label LBL_20 ] LBL_14: %41 = inttoptr i64 %sv_0.0.reload to i64* %42 = call i32 @memcmp(i64* %41, i64* bitcast ([14 x i8]* @gv_2 to i64*), i32 13) %43 = icmp eq i32 %42, 0 %44 = icmp eq i1 %43, false store i64 13, i64* %rdx.1.reg2mem br i1 %44, label LBL_31, label LBL_15 LBL_15: %45 = load i32, i32* %sv_1, align 4 %46 = icmp eq i32 %45, 0 %47 = icmp eq i1 %46, false %48 = zext i1 %47 to i64 %49 = zext i1 %47 to i8 store i8 %49, i8* %arg1, align 1 store i64 %48, i64* %rdx.2.reg2mem br label LBL_32 LBL_16: %50 = inttoptr i64 %sv_0.0.reload to i64* %51 = call i32 @memcmp(i64* %50, i64* bitcast ([6 x i8]* @gv_3 to i64*), i32 5) %52 = icmp eq i32 %51, 0 %53 = icmp eq i1 %52, false br i1 %53, label LBL_18, label LBL_17 LBL_17: %54 = load i32, i32* %sv_1, align 4 %55 = and i32 %54, 365 %56 = or i32 %55, 16384 %57 = zext i32 %56 to i64 store i32 %56, i32* %13, align 4 store i64 %57, i64* %rdx.2.reg2mem br label LBL_32 LBL_18: %58 = call i32 @memcmp(i64* %50, i64* bitcast ([6 x i8]* @gv_4 to i64*), i32 5) %59 = icmp eq i32 %58, 0 %60 = icmp eq i1 %59, false store i64 5, i64* %rdx.1.reg2mem br i1 %60, label LBL_31, label LBL_19 LBL_19: %61 = load i32, i32* %sv_1, align 4 %62 = and i32 %61, 438 %63 = or i32 %62, 32768 %64 = zext i32 %63 to i64 store i32 %63, i32* %15, align 4 store i64 %64, i64* %rdx.2.reg2mem br label LBL_32 LBL_20: %65 = inttoptr i64 %sv_0.0.reload to i64* %66 = call i32 @memcmp(i64* %65, i64* bitcast ([5 x i8]* @gv_5 to i64*), i32 4) %67 = icmp eq i32 %66, 0 %68 = icmp eq i1 %67, false store i64 4, i64* %rdx.1.reg2mem br i1 %68, label LBL_31, label LBL_21 LBL_21: %69 = load i32, i32* %sv_1, align 4 %70 = and i32 %69, 365 %71 = or i32 %70, 16384 store i32 %71, i32* %13, align 4 %72 = load i32, i32* %sv_1, align 4 %73 = and i32 %72, 438 %74 = or i32 %73, 32768 %75 = zext i32 %74 to i64 store i32 %74, i32* %15, align 4 store i64 %75, i64* %rdx.2.reg2mem br label LBL_32 LBL_22: %76 = inttoptr i64 %sv_0.0.reload to i64* %77 = call i32 @memcmp(i64* %76, i64* bitcast ([4 x i8]* @gv_6 to i64*), i32 3) %78 = icmp eq i32 %77, 0 %79 = icmp eq i1 %78, false br i1 %79, label LBL_25, label LBL_23 LBL_23: %80 = load i32, i32* %sv_1, align 4 %81 = call i64 @FUNC() %82 = zext i32 %80 to i64 %83 = call i64 @FUNC(i64 %81, i64 %82) %84 = trunc i64 %83 to i32 store i32 %84, i32* %17, align 4 %85 = and i64 %83, 4294967295 %86 = call i64 @FUNC(i64 %85) %87 = trunc i64 %86 to i8 %88 = icmp eq i8 %87, 1 store i64 3, i64* %rdx.2.reg2mem br i1 %88, label LBL_32, label LBL_24 LBL_24: %89 = load i32, i32* %sv_1, align 4 %90 = sext i32 %89 to i64 %91 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_7, i64 0, i64 0), i64 %sv_0.0.reload, i64 %90, i64 %31, i64 %2, i64 %1) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_34 LBL_25: %92 = call i32 @memcmp(i64* %76, i64* bitcast ([4 x i8]* @gv_8 to i64*), i32 3) %93 = icmp eq i32 %92, 0 %94 = icmp eq i1 %93, false store i64 3, i64* %rdx.1.reg2mem br i1 %94, label LBL_31, label LBL_26 LBL_26: %95 = load i32, i32* %sv_1, align 4 %96 = call i64 @FUNC() %97 = zext i32 %95 to i64 %98 = call i64 @FUNC(i64 %96, i64 %97) %99 = trunc i64 %98 to i32 store i32 %99, i32* %19, align 4 %100 = and i64 %98, 4294967295 %101 = call i64 @FUNC(i64 %100) %102 = trunc i64 %101 to i8 %103 = icmp eq i8 %102, 1 store i64 3, i64* %rdx.2.reg2mem br i1 %103, label LBL_32, label LBL_27 LBL_27: %104 = load i32, i32* %sv_1, align 4 %105 = sext i32 %104 to i64 %106 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_7, i64 0, i64 0), i64 %sv_0.0.reload, i64 %105, i64 %31, i64 %2, i64 %1) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_34 LBL_28: %107 = ptrtoint i32* %sv_1 to i64 store i64 %107, i64* %rdx.1.reg2mem br label LBL_31 LBL_29: %108 = ptrtoint i32* %sv_1 to i64 store i64 %108, i64* %rdx.1.reg2mem br label LBL_31 LBL_30: %109 = ptrtoint i32* %sv_1 to i64 store i64 %109, i64* %rdx.1.reg2mem br label LBL_31 LBL_31: %rdx.1.reload = load i64, i64* %rdx.1.reg2mem %110 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_9, i64 0, i64 0), i64 %sv_0.0.reload, i64 %rdx.1.reload, i64 %31, i64 %2, i64 %1) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_34 LBL_32: %111 = icmp eq i1 %22, false store i64 0, i64* %rax.0.reg2mem br i1 %111, label LBL_33, label LBL_34 LBL_33: %rdx.2.reload = load i64, i64* %rdx.2.reg2mem %112 = ptrtoint i8* %21 to i64 %113 = add i64 %112, 1 store i64 %31, i64* %rcx.0.reg2mem store i64 %rdx.2.reload, i64* %rdx.0.reg2mem store i64 %113, i64* %sv_0.0.reg2mem br label LBL_3 LBL_34: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %74, { 1, 0 } uselistorder i32 %63, { 1, 0 } uselistorder i32 %56, { 1, 0 } uselistorder i64 %31, { 0, 1, 2, 3, 5, 4, 6 } uselistorder i8* %23, { 1, 0, 2 } uselistorder i64 %sv_0.0.reload, { 10, 9, 8, 4, 5, 3, 2, 1, 7, 6, 0 } uselistorder i32* %15, { 1, 0 } uselistorder i32* %13, { 1, 0 } uselistorder i32* %sv_1, { 2, 1, 0, 11, 10, 9, 8, 7, 6, 5, 4, 3, 12 } uselistorder i64 %2, { 4, 3, 2, 1, 0 } uselistorder i64 %1, { 4, 3, 2, 1, 0 } uselistorder i64* %rcx.0.reg2mem, { 1, 0 } uselistorder i64* %rdx.0.reg2mem, { 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 2, 0, 1 } uselistorder i64* %rdx.1.reg2mem, { 0, 5, 6, 7, 1, 2, 3, 4 } uselistorder i64* %rdx.2.reg2mem, { 0, 3, 2, 1, 5, 4, 6 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 8, 7, 6, 5, 4, 3, 2 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 ()* @current_user_ns, { 1, 0 } uselistorder i32 32768, { 1, 0 } uselistorder i32 438, { 1, 0 } uselistorder i32 16384, { 1, 0 } uselistorder i32 365, { 1, 0 } uselistorder i32 (i64*, i64*, i32)* @memcmp, { 5, 4, 3, 2, 1, 0 } uselistorder i64 3, { 1, 2, 0, 3 } uselistorder i64 5, { 0, 2, 1 } uselistorder i64 13, { 0, 2, 1 } uselistorder i64 1, { 2, 3, 0, 1 } uselistorder i64 4294967274, { 4, 3, 2, 1, 0, 5 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @pr_err, { 4, 3, 2, 1, 0 } uselistorder i32 0, { 1, 2, 3, 4, 5, 0, 6, 7, 8 } uselistorder i8* (i8*, i32)* @strchr, { 1, 0 } uselistorder i64* %arg2, { 1, 0 } uselistorder i8* %arg1, { 1, 0 } uselistorder label LBL_34, { 0, 3, 4, 5, 6, 7, 2, 1 } uselistorder label LBL_32, { 1, 0, 2, 3, 4, 5 } uselistorder label LBL_31, { 4, 5, 6, 3, 2, 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
CompRealVul
ff_nut_free_sp_1667
ff_nut_free_sp
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null store i64 %0, i64* %rax.0.reg2mem br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = call i64 @FUNC(i64 %0, i64 0, i64 0, i64 4198696) %3 = call i64 @FUNC(i64 %0) store i64 %3, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 2, 1, 0 } }
0
CompRealVul
do_loopback_4876
do_loopback
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %storemerge.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 = ptrtoint i64* %sv_2 to i64 store i64 %3, i64* %sv_2, align 8 %4 = icmp eq i64 %arg2, 0 store i64 4294967274, i64* %rax.0.shrunk.reg2mem br i1 %4, label LBL_17, label LBL_1 LBL_1: %5 = trunc i64 %1 to i8 %6 = icmp eq i8 %5, 0 %7 = icmp eq i1 %6, false store i64 4294967274, i64* %rax.0.shrunk.reg2mem br i1 %7, label LBL_2, label LBL_17 LBL_2: %8 = call i64 @FUNC(i64 %arg2, i64 3, i64* nonnull %sv_1) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 store i64 %8, i64* %rax.0.shrunk.reg2mem br i1 %10, label LBL_3, label LBL_17 LBL_3: %11 = call i64 @FUNC(i64* nonnull %sv_1) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false store i64 4294967274, i64* %sv_0.1.reg2mem br i1 %14, label LBL_16, label LBL_4 LBL_4: %15 = ptrtoint i64* %arg1 to i64 %16 = call i64 @FUNC(i64 %15) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false store i64 %16, i64* %sv_0.1.reg2mem br i1 %19, label LBL_16, label LBL_5 LBL_5: %20 = load i64, i64* %sv_1, align 8 %21 = call i64 @FUNC(i64 %20) %22 = call i64 @FUNC(i64 %21) %23 = trunc i64 %22 to i32 %24 = icmp eq i32 %23, 0 %25 = icmp eq i1 %24, false store i64 4294967274, i64* %sv_0.0.reg2mem br i1 %25, label LBL_15, label LBL_6 LBL_6: %26 = call i64 @FUNC(i64 %21) %27 = call i64 @FUNC(i64 %26) %28 = trunc i64 %27 to i32 %29 = icmp eq i32 %28, 0 store i64 4294967274, i64* %sv_0.0.reg2mem br i1 %29, label LBL_15, label LBL_7 LBL_7: %30 = call i64 @FUNC(i64 %21) %31 = trunc i64 %30 to i32 %32 = icmp eq i32 %31, 0 store i64 4294967274, i64* %sv_0.0.reg2mem br i1 %32, label LBL_15, label LBL_8 LBL_8: %33 = icmp eq i32 %arg3, 0 br i1 %33, label LBL_10, label LBL_9 LBL_9: %34 = call i64 @FUNC(i64 %21, i64 %2, i64 0) store i64 %34, i64* %storemerge.reg2mem br label LBL_11 LBL_10: %35 = call i64 @FUNC(i64 %21, i64 %2, i64 0) store i64 %35, i64* %storemerge.reg2mem br label LBL_11 LBL_11: %storemerge.reload = load i64, i64* %storemerge.reg2mem %36 = call i64 @FUNC(i64 %storemerge.reload) %37 = trunc i64 %36 to i32 %38 = icmp eq i32 %37, 0 br i1 %38, label LBL_13, label LBL_12 LBL_12: %39 = call i64 @FUNC(i64 %storemerge.reload) store i64 %39, i64* %sv_0.0.reg2mem br label LBL_15 LBL_13: %40 = call i64 @FUNC(i64 %storemerge.reload, i64 %15) %41 = trunc i64 %40 to i32 %42 = icmp eq i32 %41, 0 store i64 %40, i64* %sv_0.0.reg2mem br i1 %42, label LBL_15, label LBL_14 LBL_14: %43 = call i64 @FUNC(i64* nonnull @gv_0) %44 = call i64 @FUNC(i64 %storemerge.reload, i64 0, i64* nonnull %sv_2) %45 = call i64 @FUNC(i64* nonnull @gv_0) store i64 %40, i64* %sv_0.0.reg2mem br label LBL_15 LBL_15: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %46 = call i64 @FUNC(i64 %15) %47 = call i64 @FUNC(i64* nonnull %sv_2) store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br label LBL_16 LBL_16: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %48 = call i64 @FUNC(i64* nonnull %sv_1) store i64 %sv_0.1.reload, i64* %rax.0.shrunk.reg2mem br label LBL_17 LBL_17: %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295 ret i64 %rax.0 uselistorder i64 %storemerge.reload, { 2, 1, 3, 0 } uselistorder i64 %15, { 1, 0, 2 } uselistorder i64* %sv_1, { 0, 3, 1, 2 } uselistorder i64 %2, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 1, 4, 5, 6 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 4, 1, 3, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64)* @check_mnt, { 1, 0 } uselistorder i64 (i64)* @real_mount, { 1, 0 } uselistorder i64 4294967274, { 3, 4, 5, 2, 1, 0, 6 } uselistorder label LBL_17, { 3, 0, 2, 1 } uselistorder label LBL_16, { 2, 0, 1 } uselistorder label LBL_15, { 4, 0, 5, 2, 1, 3 } }
0
CompRealVul
_dl_findhint_17703
_dl_findhint
define i64 @FUNC(i8* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge.in13.reg2mem = alloca i64 %.reg2mem26 = alloca i32 %.reg2mem = alloca i32 %.lcssa.reg2mem = alloca i32 %0 = load i32*, i32** @gv_0, align 8 %1 = icmp eq i32* %0, null %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC() br label LBL_2 LBL_2: %4 = load i32, i32* inttoptr (i64 4210764 to i32*), align 4 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_3, label LBL_17 LBL_3: %sext = mul i64 %arg2, 4294967296 %7 = ashr exact i64 %sext, 32 %8 = load i64, i64* @gv_1, align 8 %9 = trunc i64 %arg3 to i32 %10 = ptrtoint i8* %arg1 to i64 %11 = and i64 %7, 4294967295 %12 = call i64 @FUNC(i64 %10, i64 %11, i32 %9) %13 = load i32*, i32** @gv_0, align 8 %14 = load i32, i32* %13, align 4 %15 = trunc i64 %12 to i32 %16 = ashr i32 %15, 31 %17 = and i64 %12, 4294967295 %18 = zext i32 %16 to i64 %19 = mul i64 %18, 4294967296 %20 = or i64 %19, %17 %21 = zext i32 %14 to i64 %22 = srem i64 %20, %21 %sext6 = mul i64 %22, 4294967296 %23 = ashr exact i64 %sext6, 32 %24 = ashr exact i64 %sext6, 31 %25 = add nsw i64 %24, %23 %26 = mul i64 %25, 8 %27 = add i64 %26, %8 %storemerge12 = inttoptr i64 %27 to i32* %28 = load i32, i32* %storemerge12, align 4 %29 = ptrtoint i32* %13 to i64 %30 = add i64 %29, 4 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = icmp ult i32 %28, %32 store i32 %28, i32* %.lcssa.reg2mem br i1 %33, label LBL_4, label LBL_5 LBL_4: %sext5 = mul i64 %arg3, 4294967296 %34 = trunc i64 %7 to i32 %35 = ashr exact i64 %sext5, 32 %36 = icmp eq i64 %arg4, 0 %37 = icmp eq i1 %36, false %38 = inttoptr i64 %arg4 to i8* store i32 %32, i32* %.reg2mem store i32 %28, i32* %.reg2mem26 store i64 %27, i64* %storemerge.in13.reg2mem br label LBL_6 LBL_5: %.lcssa.reload = load i32, i32* %.lcssa.reg2mem %39 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0), i32 %.lcssa.reload) call void @exit(i32 7) unreachable LBL_6: %storemerge.in13.reload = load i64, i64* %storemerge.in13.reg2mem %.reload = load i32, i32* %.reg2mem %40 = add i64 %storemerge.in13.reload, 4 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = icmp ult i32 %42, %.reload br i1 %43, label LBL_8, label LBL_7 LBL_7: %44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_3, i64 0, i64 0), i32 %42) call void @exit(i32 7) unreachable LBL_8: %.reload27 = load i32, i32* %.reg2mem26 %45 = load i64, i64* @gv_4, align 8 %46 = sext i32 %.reload27 to i64 %47 = add i64 %45, %46 %48 = inttoptr i64 %47 to i8* %49 = call i32 @strcmp(i8* %arg1, i8* %48) %50 = icmp eq i32 %49, 0 %51 = icmp eq i1 %50, false br i1 %51, label LBL_15, label LBL_9 LBL_9: %52 = add i64 %storemerge.in13.reload, 8 %53 = inttoptr i64 %52 to i32* %54 = load i32, i32* %53, align 4 %55 = icmp eq i32 %54, %34 %56 = icmp eq i1 %55, false br i1 %56, label LBL_15, label LBL_10 LBL_10: %57 = add i64 %storemerge.in13.reload, 16 %58 = inttoptr i64 %57 to i32* %59 = load i32, i32* %58, align 4 %60 = icmp slt i32 %59, 2 br i1 %60, label LBL_12, label LBL_11 LBL_11: %61 = add i64 %storemerge.in13.reload, 12 %62 = inttoptr i64 %61 to i32* %63 = load i32, i32* %62, align 4 %64 = zext i32 %63 to i64 %65 = icmp sgt i64 %35, %64 br i1 %65, label LBL_15, label LBL_12 LBL_12: %66 = load i64, i64* @gv_4, align 8 %67 = load i32, i32* %41, align 4 %68 = sext i32 %67 to i64 %69 = add i64 %66, %68 store i64 %69, i64* %rax.0.reg2mem br i1 %37, label LBL_13, label LBL_17 LBL_13: %70 = inttoptr i64 %69 to i8* %71 = call i8* @strrchr(i8* %70, i32 47) %72 = ptrtoint i8* %71 to i64 %73 = sub i64 %72, %69 %74 = trunc i64 %73 to i32 %75 = call i32 @strncmp(i8* %38, i8* %70, i32 %74) %76 = icmp eq i32 %75, 0 %77 = icmp eq i1 %76, false br i1 %77, label LBL_15, label LBL_14 LBL_14: %78 = add i64 %73, %arg4 %79 = inttoptr i64 %78 to i8* %80 = load i8, i8* %79, align 1 %81 = icmp eq i8 %80, 0 %82 = icmp eq i1 %81, false store i64 %69, i64* %rax.0.reg2mem br i1 %82, label LBL_15, label LBL_17 LBL_15: %83 = add i64 %storemerge.in13.reload, 20 %84 = inttoptr i64 %83 to i32* %85 = load i32, i32* %84, align 4 %86 = icmp eq i32 %85, -1 store i64 0, i64* %rax.0.reg2mem br i1 %86, label LBL_17, label LBL_16 LBL_16: %87 = load i64, i64* @gv_1, align 8 %88 = sext i32 %85 to i64 %89 = mul nsw i64 %88, 24 %90 = add i64 %87, %89 %storemerge = inttoptr i64 %90 to i32* %91 = load i32, i32* %storemerge, align 4 %92 = load i32*, i32** @gv_0, align 8 %93 = ptrtoint i32* %92 to i64 %94 = add i64 %93, 4 %95 = inttoptr i64 %94 to i32* %96 = load i32, i32* %95, align 4 %97 = icmp ult i32 %91, %96 store i32 %91, i32* %.lcssa.reg2mem store i32 %96, i32* %.reg2mem store i32 %91, i32* %.reg2mem26 store i64 %90, i64* %storemerge.in13.reg2mem br i1 %97, label LBL_6, label LBL_5 LBL_17: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %69, { 0, 3, 2, 1 } uselistorder i64 %sext6, { 1, 0 } uselistorder i32* %.lcssa.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem26, { 1, 0, 2 } uselistorder i64* %storemerge.in13.reg2mem, { 1, 0, 2 } uselistorder void (i32)* @exit, { 1, 0 } uselistorder i64 4, { 2, 1, 0 } uselistorder i64 8, { 1, 0 } uselistorder i64 4294967296, { 2, 0, 1, 3 } uselistorder i1 false, { 0, 1, 3, 4, 2, 5, 6 } uselistorder i32** @gv_0, { 2, 1, 0 } uselistorder i32 1, { 5, 4, 3, 2, 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
CompRealVul
vvfat_write_7644
vvfat_write
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge18.reg2mem = alloca i32 %.reg2mem36 = alloca i64 %sv_0.0.be.reg2mem = alloca i32 %storemerge111931.reg2mem = alloca i32 %.reg2mem = alloca i64 %sv_0.021.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %3 = call i64 @FUNC() %4 = and i64 %3, 4294967295 %5 = call i64 @FUNC(i64 %4) %6 = call i64 @FUNC(i64 %2) %sext27 = mul i64 %1, 4294967296 %7 = ashr exact i64 %sext27, 32 %8 = icmp sgt i64 %7, %arg2 store i64 4294967295, i64* %rax.0.reg2mem br i1 %8, label LBL_27, label LBL_1 LBL_1: %sext = mul i64 %arg4, 4294967296 %9 = ashr exact i64 %sext, 32 %10 = call i64 @FUNC(i64 %2, i64 %arg2) %11 = add i64 %9, %arg2 %12 = add i64 %11, -1 %13 = call i64 @FUNC(i64 %2, i64 %12) %sext22 = mul i64 %10, 4294967296 %14 = ashr exact i64 %sext22, 32 %15 = icmp slt i64 %13, %14 br i1 %15, label LBL_19, label LBL_2 LBL_2: %16 = ptrtoint i64* %arg3 to i64 %17 = trunc i64 %10 to i32 %18 = add i64 %2, 4 %19 = inttoptr i64 %18 to i32* %sext8 = mul i64 %arg2, 4294967296 %20 = ashr exact i64 %sext8, 32 %21 = trunc i64 %arg2 to i32 %22 = trunc i64 %9 to i32 %23 = add i32 %22, %21 %24 = add i64 %2, 24 store i32 %17, i32* %sv_0.021.reg2mem br label LBL_3 LBL_3: %sv_0.021.reload = load i32, i32* %sv_0.021.reg2mem %25 = zext i32 %sv_0.021.reload to i64 %26 = call i64 @FUNC(i64 %2, i64 %25) %27 = icmp eq i64 %26, 0 br i1 %27, label LBL_18, label LBL_4 LBL_4: %28 = inttoptr i64 %26 to i32* %29 = load i32, i32* %28, align 4 %30 = icmp eq i32 %29, 0 br i1 %30, label LBL_6, label LBL_5 LBL_5: %31 = add i64 %26, 16 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %35 = inttoptr i64 %33 to i8* %36 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %34, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_1, i64 0, i64 0), i8* %35) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_27 LBL_6: %37 = add i64 %26, 4 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 %40 = and i32 %39, 16 %41 = icmp eq i32 %40, 0 br i1 %41, label LBL_16, label LBL_7 LBL_7: %42 = call i64 @FUNC(i64 %2, i64 %25) %43 = trunc i64 %42 to i32 %sext6 = mul i64 %42, 4294967296 %44 = ashr exact i64 %sext6, 32 %45 = load i32, i32* %19, align 4 %46 = add i32 %45, %43 %47 = call i64 @FUNC(i64* nonnull %sv_1) %48 = icmp slt i64 %44, %arg2 %sv_2.0 = select i1 %48, i64 %20, i64 %44 %49 = sext i32 %46 to i64 %50 = icmp slt i64 %11, %49 %sv_3.0 = select i1 %50, i32 %23, i32 %46 %51 = add i64 %26, 8 %52 = inttoptr i64 %51 to i32* %53 = load i32, i32* %52, align 4 %54 = add i64 %26, 12 %55 = inttoptr i64 %54 to i32* %56 = load i32, i32* %55, align 4 %57 = load i32, i32* %19, align 4 %58 = trunc i64 %sv_2.0 to i32 %59 = sub i64 %sv_2.0, %arg2 %60 = mul i64 %59, 512 %61 = add i64 %60, %16 store i64 %61, i64* %sv_1, align 8 %62 = sub i32 %sv_3.0, %58 %63 = mul i32 %62, 16 %64 = icmp eq i32 %63, 0 br i1 %64, label LBL_16, label LBL_8 LBL_8: %65 = mul i32 %57, %56 %66 = sub i32 %58, %65 %67 = mul i32 %66, 16 %68 = add i32 %67, %53 %69 = zext i32 %63 to i64 %70 = call i64 @FUNC(i64* nonnull %sv_1, i64 %61) %71 = trunc i64 %70 to i32 %72 = icmp slt i32 %71, 0 %73 = icmp eq i1 %72, false store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge111931.reg2mem br i1 %73, label LBL_10, label LBL_9 LBL_9: %74 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %75 = call i32 @fwrite(i64* bitcast ([29 x i8]* @gv_2 to i64*), i32 1, i32 28, %_IO_FILE* %74) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_27 LBL_10: %storemerge111931.reload = load i32, i32* %storemerge111931.reg2mem %.reload = load i64, i64* %.reg2mem %76 = load i64, i64* %sv_1, align 8 %77 = add i64 %76, %.reload %78 = call i64 @FUNC(i64 %77) %79 = trunc i64 %78 to i32 %80 = icmp eq i32 %79, 0 br i1 %80, label LBL_14, label LBL_11 LBL_11: %81 = load i64, i64* %sv_1, align 8 %82 = add i64 %81, %.reload %83 = inttoptr i64 %82 to i32* %84 = load i32, i32* %83, align 4 %85 = urem i32 %84, 2 %86 = icmp eq i32 %85, 0 br i1 %86, label LBL_14, label LBL_12 LBL_12: %87 = add i32 %68, %storemerge111931.reload %88 = zext i32 %87 to i64 %89 = call i64 @FUNC(i64 %24, i64 %88) %90 = load i64, i64* %sv_1, align 8 %91 = add i64 %90, %.reload %92 = inttoptr i64 %91 to i64* %93 = inttoptr i64 %89 to i64* %94 = call i32 @memcmp(i64* %92, i64* %93, i32 4) %95 = icmp eq i32 %94, 0 br i1 %95, label LBL_14, label LBL_13 LBL_13: %96 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %97 = call i32 @fwrite(i64* bitcast ([49 x i8]* @gv_3 to i64*), i32 1, i32 48, %_IO_FILE* %96) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_27 LBL_14: %98 = add i32 %storemerge111931.reload, 1 %99 = sext i32 %98 to i64 %100 = icmp slt i64 %99, %69 br i1 %100, label LBL_14.dec_label_pc_401382_crit_edge, label LBL_16 LBL_15: %.pre = load i64, i64* %sv_1, align 8 %101 = mul i64 %99, 4 %102 = add i64 %101, %.pre %103 = call i64 @FUNC(i64* nonnull %sv_1, i64 %102) %104 = trunc i64 %103 to i32 %105 = icmp slt i32 %104, 0 %106 = icmp eq i1 %105, false store i64 %101, i64* %.reg2mem store i32 %98, i32* %storemerge111931.reg2mem br i1 %106, label LBL_10, label LBL_9 LBL_16: %107 = add i64 %26, 24 %108 = inttoptr i64 %107 to i32* %109 = load i32, i32* %108, align 4 store i32 %109, i32* %sv_0.0.be.reg2mem br label LBL_17 LBL_17: %sv_0.0.be.reload = load i32, i32* %sv_0.0.be.reg2mem %110 = call i64 @FUNC(i64 %2, i64 %12) %111 = sext i32 %sv_0.0.be.reload to i64 %112 = icmp slt i64 %110, %111 store i32 %sv_0.0.be.reload, i32* %sv_0.021.reg2mem br i1 %112, label LBL_19, label LBL_3 LBL_18: %113 = add i32 %sv_0.021.reload, 1 store i32 %113, i32* %sv_0.0.be.reg2mem br label LBL_17 LBL_19: %114 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %115 = and i64 %9, 4294967295 %116 = and i64 %arg2, 4294967295 %117 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %114, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_4, i64 0, i64 0), i64 %116, i64 %115) %118 = zext i32 %117 to i64 %119 = call i64 @FUNC(i64 %118) %120 = add i64 %2, 8 %121 = inttoptr i64 %120 to i64* %122 = load i64, i64* %121, align 8 %123 = trunc i64 %122 to i32 %124 = icmp slt i32 %123, 0 %125 = icmp eq i1 %124, false br i1 %125, label LBL_21, label LBL_20 LBL_20: %126 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %127 = call i32 @fwrite(i64* bitcast ([31 x i8]* @gv_5 to i64*), i32 1, i32 30, %_IO_FILE* %126) %128 = and i64 %122, 4294967295 store i64 %128, i64* %rax.0.reg2mem br label LBL_27 LBL_21: %129 = call i64 @FUNC(i64 %2, i64 %arg2) %130 = call i64 @FUNC(i64 %2, i64 %12) %sext23 = mul i64 %129, 4294967296 %131 = ashr exact i64 %sext23, 32 %132 = icmp slt i64 %130, %131 br i1 %132, label LBL_26, label LBL_22 LBL_22: %133 = trunc i64 %129 to i32 %134 = add i64 %2, 16 %135 = inttoptr i64 %134 to i64* store i64 %131, i64* %.reg2mem36 store i32 %133, i32* %storemerge18.reg2mem br label LBL_23 LBL_23: %storemerge18.reload = load i32, i32* %storemerge18.reg2mem %136 = icmp slt i32 %storemerge18.reload, 0 br i1 %136, label LBL_25, label LBL_24 LBL_24: %.reload37 = load i64, i64* %.reg2mem36 %137 = load i64, i64* %135, align 8 %138 = mul i64 %.reload37, 4 %139 = add i64 %137, %138 %140 = inttoptr i64 %139 to i32* %141 = load i32, i32* %140, align 4 %142 = or i32 %141, 32 store i32 %142, i32* %140, align 4 br label LBL_25 LBL_25: %143 = add i32 %storemerge18.reload, 1 %144 = call i64 @FUNC(i64 %2, i64 %12) %145 = sext i32 %143 to i64 %146 = icmp slt i64 %144, %145 store i64 %145, i64* %.reg2mem36 store i32 %143, i32* %storemerge18.reg2mem br i1 %146, label LBL_26, label LBL_23 LBL_26: %147 = call i64 @FUNC() %148 = and i64 %147, 4294967295 %149 = call i64 @FUNC(i64 %148) %150 = call i64 @FUNC(i64 %2) %151 = call i64 @FUNC() %152 = and i64 %151, 4294967295 %153 = call i64 @FUNC(i64 %152) store i64 0, i64* %rax.0.reg2mem br label LBL_27 LBL_27: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %129, { 1, 0 } uselistorder i32 %sv_0.0.be.reload, { 1, 0 } uselistorder i32 %58, { 1, 0 } uselistorder i64 %sv_2.0, { 1, 0 } uselistorder i64 %26, { 1, 2, 3, 4, 0, 5, 6 } uselistorder i64 %12, { 0, 1, 3, 2 } uselistorder i64 %10, { 1, 0 } uselistorder i64 %9, { 2, 1, 0 } uselistorder i64* %sv_1, { 2, 1, 4, 5, 6, 0, 7, 3 } uselistorder i64 %2, { 7, 8, 6, 1, 9, 10, 11, 4, 5, 2, 3, 0, 12, 13 } uselistorder i32* %sv_0.021.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge111931.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.0.be.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem36, { 1, 0, 2 } uselistorder i32* %storemerge18.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 4, 3, 2, 1 } uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 0, 2, 1 } uselistorder i1 false, { 2, 1, 0 } uselistorder i64 (i64*, i64)* @parse_long_name, { 1, 0 } uselistorder i64 8, { 1, 0 } uselistorder i32 16, { 1, 0, 2 } uselistorder %_IO_FILE** @gv_0, { 4, 3, 2, 1, 0 } uselistorder i32 0, { 3, 10, 7, 4, 5, 6, 0, 1, 2, 8, 9 } uselistorder i64 24, { 1, 0 } uselistorder i64 4, { 0, 1, 3, 2 } uselistorder i64 (i64, i64)* @sector2cluster, { 5, 1, 4, 3, 0, 2 } uselistorder i64 32, { 1, 4, 3, 2, 5, 0 } uselistorder i64 4294967296, { 0, 1, 2, 3, 5, 4 } uselistorder i64 (i64)* @DLOG, { 3, 2, 1, 0 } uselistorder i64 ()* @checkpoint, { 2, 1, 0 } uselistorder i64 %arg2, { 5, 6, 3, 2, 4, 0, 1, 7, 8 } uselistorder label LBL_27, { 1, 5, 2, 3, 4, 0 } uselistorder label LBL_23, { 1, 0 } uselistorder label LBL_17, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
CompRealVul
jsi_treeHeight_9343
jsi_treeHeight
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %.reg2mem = alloca i64 %sext = mul i64 %arg2, 4294967296 %0 = ashr exact i64 %sext, 32 %1 = add i64 %arg1, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = and i64 %0, 4294967295 store i64 %6, i64* %storemerge.reg2mem br label LBL_7 LBL_2: %7 = icmp eq i64 %arg1, 0 store i64 %3, i64* %.reg2mem store i32 -1, i32* %sv_1.0.reg2mem br i1 %7, label LBL_4, label LBL_3 LBL_3: %8 = add nsw i64 %0, 1 %9 = and i64 %8, 4294967295 %10 = call i64 @FUNC(i64 %arg1, i64 %9) %11 = trunc i64 %10 to i32 %.pr = load i64, i64* %2, align 8 store i64 %.pr, i64* %.reg2mem store i32 %11, i32* %sv_1.0.reg2mem br label LBL_4 LBL_4: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %.reload = load i64, i64* %.reg2mem %12 = icmp eq i64 %.reload, 0 store i32 -1, i32* %sv_0.0.reg2mem br i1 %12, label LBL_6, label LBL_5 LBL_5: %13 = add nsw i64 %0, 1 %14 = and i64 %13, 4294967295 %15 = call i64 @FUNC(i64 %.reload, i64 %14) %16 = trunc i64 %15 to i32 store i32 %16, i32* %sv_0.0.reg2mem br label LBL_6 LBL_6: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %17 = sub i32 %sv_1.0.reload, %sv_0.0.reload %18 = xor i32 %sv_0.0.reload, %sv_1.0.reload %19 = xor i32 %17, %sv_1.0.reload %20 = and i32 %19, %18 %21 = icmp slt i32 %20, 0 %22 = icmp slt i32 %17, 0 %23 = icmp eq i1 %22, %21 %24 = select i1 %23, i32 %sv_1.0.reload, i32 %sv_0.0.reload %25 = zext i32 %24 to i64 store i64 %25, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %17, { 1, 0 } uselistorder i32 %sv_0.0.reload, { 0, 2, 1 } uselistorder i32 %sv_1.0.reload, { 0, 3, 2, 1 } uselistorder i64 %0, { 2, 1, 0 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 1, { 3, 2, 1, 0 } uselistorder i64 %arg1, { 1, 0, 2 } }
0
CompRealVul
unix_close_1093
unix_close
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.1.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = call i32 @puts(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0)) %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, -1 store i32 0, i32* %sv_0.1.reg2mem br i1 %4, label LBL_4, label LBL_1 LBL_1: %5 = call i32 @close(i32 %3) %6 = icmp slt i32 %5, 0 %7 = icmp eq i1 %6, false store i32 0, i32* %sv_0.0.reg2mem br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = call i32* @__errno_location() %9 = load i32, i32* %8, align 4 %10 = sub i32 0, %9 store i32 %10, i32* %sv_0.0.reg2mem br label LBL_3 LBL_3: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem store i32 -1, i32* %arg1, align 4 store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br label LBL_4 LBL_4: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %11 = zext i32 %sv_0.1.reload to i64 ret i64 %11 uselistorder i32 %3, { 1, 0 } uselistorder i32 0, { 2, 1, 3, 0 } uselistorder i32 -1, { 1, 0 } }
0
CompRealVul
reserve_new_blocks_10072
reserve_new_blocks
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 store i64 %arg2, i64* %sv_0, align 8 %1 = call i64 @FUNC(i64 %0) %2 = icmp eq i64 %arg2, 0 %3 = icmp eq i1 %2, false store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_10 LBL_1: %4 = call i64 @FUNC(i64 %0, i64 1) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false %8 = icmp eq i1 %7, false store i64 1, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_10 LBL_2: %9 = call i64 @FUNC(i64 %1, i64 %0, i64* nonnull %sv_0) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false store i64 2, i64* %rax.0.reg2mem br i1 %12, label LBL_3, label LBL_10 LBL_3: %13 = load i64, i64* %sv_0, align 8 %14 = add i64 %0, 12 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = add i64 %0, 8 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = call i64 @FUNC(i64 %1, i32 %19, i32 %16, i64 %13) %21 = add i64 %0, 24 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = call i64 @FUNC(i64 %23, i64 0, i64 1) %25 = load i64, i64* %sv_0, align 8 %26 = icmp eq i64 %25, 0 %27 = icmp slt i64 %25, 0 %28 = icmp eq i1 %27, false %29 = icmp eq i1 %26, false %30 = icmp eq i1 %28, %29 br i1 %30, label LBL_4, label LBL_8 LBL_4: %31 = add i64 %0, 16 %32 = inttoptr i64 %31 to i32* %.pre = load i32, i32* %15, align 4 store i32 %.pre, i32* %.reg2mem br label LBL_5 LBL_5: %.reload = load i32, i32* %.reg2mem %33 = load i64, i64* %22, align 8 %34 = zext i32 %.reload to i64 %35 = call i64 @FUNC(i64 %33, i64 %34) %36 = trunc i64 %35 to i32 %37 = icmp eq i32 %36, 0 %38 = icmp eq i1 %37, false br i1 %38, label LBL_7, label LBL_6 LBL_6: store i32 1, i32* %32, align 4 %39 = call i64 @FUNC(i64 %0) %40 = load i64, i64* %sv_0, align 8 %41 = add i64 %40, -1 store i64 %41, i64* %sv_0, align 8 br label LBL_7 LBL_7: %42 = load i32, i32* %15, align 4 %43 = add i32 %42, 1 store i32 %43, i32* %15, align 4 %44 = load i64, i64* %sv_0, align 8 %45 = icmp eq i64 %44, 0 %46 = icmp slt i64 %44, 0 %47 = icmp eq i1 %46, false %48 = icmp eq i1 %45, false %49 = icmp eq i1 %47, %48 store i32 %43, i32* %.reg2mem br i1 %49, label LBL_5, label LBL_8 LBL_8: %50 = load i64, i64* %22, align 8 %51 = call i64 @FUNC(i64 %50) %52 = trunc i64 %51 to i32 %53 = icmp eq i32 %52, 0 store i64 0, i64* %rax.0.reg2mem br i1 %53, label LBL_10, label LBL_9 LBL_9: %54 = add i64 %0, 32 %55 = inttoptr i64 %54 to i32* store i32 1, i32* %55, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %15, { 2, 1, 0, 3 } uselistorder i64* %sv_0, { 2, 3, 4, 0, 5, 1, 6 } uselistorder i64 %0, { 0, 1, 2, 3, 5, 4, 6, 7, 8 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4, 5 } uselistorder i32 0, { 1, 0, 2, 3 } uselistorder i64 1, { 2, 0, 3, 1 } uselistorder i1 false, { 6, 4, 5, 0, 1, 2, 3, 7, 8 } uselistorder label LBL_10, { 1, 0, 2, 3, 4 } uselistorder label LBL_5, { 1, 0 } }
0
CompRealVul
crypto_hash_alloc_ctx_12032
crypto_hash_alloc_ctx
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i32, align 4 %0 = and i64 %arg2, 4294967295 %1 = bitcast i32* %sv_0 to i64* %2 = call i64 @FUNC(i64 %0, i64* nonnull %1) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = and i64 %2, 4294967295 store i64 %5, i64* %rax.0.reg2mem br label LBL_4 LBL_2: %6 = load i32, i32* %sv_0, align 4 %7 = call i64* @calloc(i32 1, i32 %6) %8 = icmp eq i64* %7, null %9 = icmp eq i1 %8, false store i64 1, i64* %rax.0.reg2mem br i1 %9, label LBL_3, label LBL_4 LBL_3: %10 = ptrtoint i64* %7 to i64 store i64 %10, i64* %arg1, align 8 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* %7, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder label LBL_4, { 1, 0, 2 } }
1
CompRealVul
svg_parse_preserveaspectratio_6851
svg_parse_preserveaspectratio
define i64 @FUNC(i64* %arg1, i64* %arg2, i32* %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_0.1.ph.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_0.0.ph.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 store i64 %0, i64* %storemerge.reg2mem br label LBL_1 LBL_1: %storemerge.reload = load i64, i64* %storemerge.reg2mem %1 = inttoptr i64 %storemerge.reload to i8* %2 = load i8, i8* %1, align 1 %3 = icmp eq i8 %2, 32 %4 = add i64 %storemerge.reload, 1 store i64 %4, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_2 LBL_2: %5 = call i8* @strstr(i8* %1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0)) %6 = icmp eq i8* %5, null store i64 %0, i64* %sv_0.0.ph.reg2mem br i1 %6, label LBL_4, label LBL_3 LBL_3: %7 = bitcast i64* %arg1 to i32* store i32 1, i32* %7, align 4 %8 = add i64 %storemerge.reload, 5 store i64 %8, i64* %sv_0.0.ph.reg2mem br label LBL_4 LBL_4: %9 = ptrtoint i64* %arg1 to i64 %sv_0.0.ph.reload = load i64, i64* %sv_0.0.ph.reg2mem store i64 %sv_0.0.ph.reload, i64* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %10 = inttoptr i64 %sv_0.0.reload to i8* %11 = load i8, i8* %10, align 1 %12 = icmp eq i8 %11, 32 %13 = add i64 %sv_0.0.reload, 1 store i64 %13, i64* %sv_0.0.reg2mem br i1 %12, label LBL_5, label LBL_6 LBL_6: %14 = call i8* @strstr(i8* %10, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0)) %15 = icmp eq i8* %14, null br i1 %15, label LBL_8, label LBL_7 LBL_7: %16 = add i64 %9, 4 %17 = inttoptr i64 %16 to i32* store i32 0, i32* %17, align 4 %18 = add i64 %sv_0.0.reload, 4 store i64 %18, i64* %sv_0.1.ph.reg2mem br label LBL_27 LBL_8: %19 = call i8* @strstr(i8* %10, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0)) %20 = icmp eq i8* %19, null br i1 %20, label LBL_10, label LBL_9 LBL_9: %21 = add i64 %9, 4 %22 = inttoptr i64 %21 to i32* store i32 1, i32* %22, align 4 %23 = add i64 %sv_0.0.reload, 8 store i64 %23, i64* %sv_0.1.ph.reg2mem br label LBL_27 LBL_10: %24 = call i8* @strstr(i8* %10, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_3, i64 0, i64 0)) %25 = icmp eq i8* %24, null br i1 %25, label LBL_12, label LBL_11 LBL_11: %26 = add i64 %9, 4 %27 = inttoptr i64 %26 to i32* store i32 2, i32* %27, align 4 %28 = add i64 %sv_0.0.reload, 8 store i64 %28, i64* %sv_0.1.ph.reg2mem br label LBL_27 LBL_12: %29 = call i8* @strstr(i8* %10, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_4, i64 0, i64 0)) %30 = icmp eq i8* %29, null br i1 %30, label LBL_14, label LBL_13 LBL_13: %31 = add i64 %9, 4 %32 = inttoptr i64 %31 to i32* store i32 3, i32* %32, align 4 %33 = add i64 %sv_0.0.reload, 8 store i64 %33, i64* %sv_0.1.ph.reg2mem br label LBL_27 LBL_14: %34 = call i8* @strstr(i8* %10, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_5, i64 0, i64 0)) %35 = icmp eq i8* %34, null br i1 %35, label LBL_16, label LBL_15 LBL_15: %36 = add i64 %9, 4 %37 = inttoptr i64 %36 to i32* store i32 4, i32* %37, align 4 %38 = add i64 %sv_0.0.reload, 8 store i64 %38, i64* %sv_0.1.ph.reg2mem br label LBL_27 LBL_16: %39 = call i8* @strstr(i8* %10, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_6, i64 0, i64 0)) %40 = icmp eq i8* %39, null br i1 %40, label LBL_18, label LBL_17 LBL_17: %41 = add i64 %9, 4 %42 = inttoptr i64 %41 to i32* store i32 5, i32* %42, align 4 %43 = add i64 %sv_0.0.reload, 8 store i64 %43, i64* %sv_0.1.ph.reg2mem br label LBL_27 LBL_18: %44 = call i8* @strstr(i8* %10, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_7, i64 0, i64 0)) %45 = icmp eq i8* %44, null br i1 %45, label LBL_20, label LBL_19 LBL_19: %46 = add i64 %9, 4 %47 = inttoptr i64 %46 to i32* store i32 6, i32* %47, align 4 %48 = add i64 %sv_0.0.reload, 8 store i64 %48, i64* %sv_0.1.ph.reg2mem br label LBL_27 LBL_20: %49 = call i8* @strstr(i8* %10, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_8, i64 0, i64 0)) %50 = icmp eq i8* %49, null br i1 %50, label LBL_22, label LBL_21 LBL_21: %51 = add i64 %9, 4 %52 = inttoptr i64 %51 to i32* store i32 7, i32* %52, align 4 %53 = add i64 %sv_0.0.reload, 8 store i64 %53, i64* %sv_0.1.ph.reg2mem br label LBL_27 LBL_22: %54 = call i8* @strstr(i8* %10, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_9, i64 0, i64 0)) %55 = icmp eq i8* %54, null br i1 %55, label LBL_24, label LBL_23 LBL_23: %56 = add i64 %9, 4 %57 = inttoptr i64 %56 to i32* store i32 8, i32* %57, align 4 %58 = add i64 %sv_0.0.reload, 8 store i64 %58, i64* %sv_0.1.ph.reg2mem br label LBL_27 LBL_24: %59 = call i8* @strstr(i8* %10, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_10, i64 0, i64 0)) %60 = icmp eq i8* %59, null br i1 %60, label LBL_26, label LBL_25 LBL_25: %61 = add i64 %9, 4 %62 = inttoptr i64 %61 to i32* store i32 9, i32* %62, align 4 %63 = add i64 %sv_0.0.reload, 8 store i64 %63, i64* %sv_0.1.ph.reg2mem br label LBL_27 LBL_26: store i32 0, i32* %arg3, align 4 store i64 %sv_0.0.reload, i64* %sv_0.1.ph.reg2mem br label LBL_27 LBL_27: %sv_0.1.ph.reload = load i64, i64* %sv_0.1.ph.reg2mem store i64 %sv_0.1.ph.reload, i64* %sv_0.1.reg2mem br label LBL_29 LBL_28: %64 = add i64 %sv_0.1.reload, 1 store i64 %64, i64* %sv_0.1.reg2mem br label LBL_29 LBL_29: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %65 = inttoptr i64 %sv_0.1.reload to i8* %66 = load i8, i8* %65, align 1 store i64 0, i64* %rax.0.reg2mem switch i8 %66, label LBL_30 [ i8 32, label LBL_28 i8 0, label LBL_35 ] LBL_30: %67 = call i8* @strstr(i8* %65, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_11, i64 0, i64 0)) %68 = icmp eq i8* %67, null br i1 %68, label LBL_32, label LBL_31 LBL_31: %69 = add i64 %9, 8 %70 = inttoptr i64 %69 to i32* store i32 0, i32* %70, align 4 store i64 %9, i64* %rax.0.reg2mem br label LBL_35 LBL_32: %71 = call i8* @strstr(i8* %65, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_12, i64 0, i64 0)) %72 = icmp eq i8* %71, null br i1 %72, label LBL_34, label LBL_33 LBL_33: %73 = add i64 %9, 8 %74 = inttoptr i64 %73 to i32* store i32 1, i32* %74, align 4 store i64 %9, i64* %rax.0.reg2mem br label LBL_35 LBL_34: %75 = ptrtoint i32* %arg3 to i64 store i32 0, i32* %arg3, align 4 store i64 %75, i64* %rax.0.reg2mem br label LBL_35 LBL_35: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_0.1.reload, { 1, 0 } uselistorder i64 %sv_0.0.reload, { 0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 1, 2 } uselistorder i64 %9, { 1, 13, 0, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2 } uselistorder i64 %storemerge.reload, { 2, 1, 0 } uselistorder i64* %storemerge.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.0.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i8* null, { 9, 10, 0, 1, 2, 3, 4, 5, 6, 7, 8, 11, 12 } uselistorder i8* (i8*, i8*)* @strstr, { 10, 12, 11, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i32* %arg3, { 1, 0, 2 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_35, { 1, 2, 3, 0 } uselistorder label LBL_29, { 1, 0 } uselistorder label LBL_27, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } }
0
CompRealVul
process_db_args_7504
process_db_args
define i64 @FUNC(i64 %arg1, i64* %arg2, i64* %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %.reg2mem30 = alloca i8* %sv_0.117.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %storemerge8.reg2mem = alloca i32 %.reg2mem = alloca i64 %sv_1 = alloca i8*, align 8 %sv_2 = alloca i32, align 4 store i32 0, i32* %sv_2, align 4 store i8* null, i8** %sv_1, align 8 %0 = icmp eq i64* %arg2, null br i1 %0, label LBL_29, label LBL_1 LBL_1: %1 = load i64, i64* %arg2, align 8 %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_29 LBL_2: %4 = ptrtoint i64* %arg3 to i64 %5 = ptrtoint i64* %arg2 to i64 %6 = icmp eq i32 %arg4, 0 %7 = add i64 %4, 8 %8 = inttoptr i64 %7 to i64* %9 = add i64 %4, 16 %10 = inttoptr i64 %9 to i64* %11 = add i64 %4, 24 %12 = inttoptr i64 %11 to i64* %13 = add i64 %4, 32 %14 = inttoptr i64 %13 to i32* store i64 %1, i64* %.reg2mem store i32 0, i32* %storemerge8.reg2mem br label LBL_3 LBL_3: %storemerge8.reload = load i32, i32* %storemerge8.reg2mem %.reload = load i64, i64* %.reg2mem %15 = inttoptr i64 %.reload to i8* %16 = call i8* @strtok_r(i8* %15, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0), i8** nonnull %sv_1) %17 = call i32 @strcmp(i8* %16, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_1, i64 0, i64 0)) %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_4, label LBL_23 LBL_4: %20 = call i32 @strcmp(i8* %16, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0)) %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_10, label LBL_5 LBL_5: br i1 %6, label LBL_9, label LBL_6 LBL_6: %23 = load i64, i64* %8, align 8 %24 = icmp eq i64 %23, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_9, label LBL_7 LBL_7: %26 = load i64, i64* %10, align 8 %27 = icmp eq i64 %26, 0 %28 = icmp eq i1 %27, false br i1 %28, label LBL_9, label LBL_8 LBL_8: %29 = load i64, i64* %12, align 8 %30 = icmp eq i64 %29, 0 store i64 %7, i64* %sv_0.0.reg2mem br i1 %30, label LBL_20, label LBL_9 LBL_9: store i32 22, i32* %sv_2, align 4 %31 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @globalFUNCvarFUNC402023, i64 0, i64 0)) %32 = load i32, i32* %sv_2, align 4 %33 = ptrtoint i8* %16 to i64 %34 = call i64 @FUNC(i64 %arg1, i32 %32, i64 %31, i64 %33) br label LBL_29 LBL_10: %35 = call i32 @strcmp(i8* %16, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_3, i64 0, i64 0)) %36 = icmp eq i32 %35, 0 %37 = icmp eq i1 %36, false br i1 %37, label LBL_15, label LBL_11 LBL_11: br i1 %6, label LBL_14, label LBL_12 LBL_12: %38 = load i64, i64* %8, align 8 %39 = icmp eq i64 %38, 0 %40 = icmp eq i1 %39, false br i1 %40, label LBL_14, label LBL_13 LBL_13: %41 = load i64, i64* %10, align 8 %42 = icmp eq i64 %41, 0 store i64 %9, i64* %sv_0.0.reg2mem br i1 %42, label LBL_20, label LBL_14 LBL_14: store i32 22, i32* %sv_2, align 4 %43 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @globalFUNCvarFUNC402023, i64 0, i64 0)) %44 = load i32, i32* %sv_2, align 4 %45 = ptrtoint i8* %16 to i64 %46 = call i64 @FUNC(i64 %arg1, i32 %44, i64 %43, i64 %45) br label LBL_29 LBL_15: %47 = call i32 @strcmp(i8* %16, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_4, i64 0, i64 0)) %48 = icmp eq i32 %47, 0 %49 = icmp eq i1 %48, false br i1 %49, label LBL_19, label LBL_16 LBL_16: %50 = load i64, i64* %8, align 8 %51 = icmp eq i64 %50, 0 %52 = icmp eq i1 %51, false br i1 %52, label LBL_18, label LBL_17 LBL_17: %53 = load i64, i64* %12, align 8 %54 = icmp eq i64 %53, 0 store i64 %11, i64* %sv_0.0.reg2mem br i1 %54, label LBL_20, label LBL_18 LBL_18: store i32 22, i32* %sv_2, align 4 %55 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @globalFUNCvarFUNC402023, i64 0, i64 0)) %56 = load i32, i32* %sv_2, align 4 %57 = ptrtoint i8* %16 to i64 %58 = call i64 @FUNC(i64 %arg1, i32 %56, i64 %55, i64 %57) br label LBL_29 LBL_19: store i32 22, i32* %sv_2, align 4 %59 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @globalFUNCvarFUNC40204e, i64 0, i64 0)) %60 = load i32, i32* %sv_2, align 4 %61 = ptrtoint i8* %16 to i64 %62 = call i64 @FUNC(i64 %arg1, i32 %60, i64 %59, i64 %61) br label LBL_29 LBL_20: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem store i32 1, i32* %14, align 4 %63 = load i8*, i8** %sv_1, align 8 %64 = icmp eq i8* %63, null br i1 %64, label LBL_22, label LBL_21 LBL_21: %65 = load i8, i8* %63, align 1 %66 = icmp eq i8 %65, 0 %67 = icmp eq i1 %66, false store i64 %sv_0.0.reload, i64* %sv_0.117.reg2mem store i8* %63, i8** %.reg2mem30 br i1 %67, label LBL_25, label LBL_22 LBL_22: store i32 22, i32* %sv_2, align 4 %68 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @globalFUNCvarFUNC402061, i64 0, i64 0)) %69 = load i32, i32* %sv_2, align 4 %70 = ptrtoint i8* %16 to i64 %71 = call i64 @FUNC(i64 %arg1, i32 %69, i64 %68, i64 %70) br label LBL_29 LBL_23: %.pre = load i8*, i8** %sv_1, align 8 %72 = icmp eq i8* %.pre, null %73 = icmp eq i1 %72, false store i64 %4, i64* %sv_0.117.reg2mem store i8* %.pre, i8** %.reg2mem30 br i1 %73, label LBL_25, label LBL_24 LBL_24: store i32 22, i32* %sv_2, align 4 %74 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @globalFUNCvarFUNC402061, i64 0, i64 0)) %75 = load i32, i32* %sv_2, align 4 %76 = ptrtoint i8* %16 to i64 %77 = call i64 @FUNC(i64 %arg1, i32 %75, i64 %74, i64 %76) br label LBL_29 LBL_25: %.reload31 = load i8*, i8** %.reg2mem30 %sv_0.117.reload = load i64, i64* %sv_0.117.reg2mem %78 = call i32 @strlen(i8* %.reload31) %79 = call i32 @strcmp(i8* %16, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_1, i64 0, i64 0)) %80 = icmp eq i32 %79, 0 %81 = icmp eq i1 %80, false br i1 %81, label LBL_27, label LBL_26 LBL_26: %82 = load i8*, i8** %sv_1, align 8 %83 = ptrtoint i8* %82 to i64 %84 = call i64 @FUNC(i64 %arg1, i64 %83, i64 %sv_0.117.reload) %85 = trunc i64 %84 to i32 store i32 %85, i32* %sv_2, align 4 %86 = icmp eq i32 %85, 0 br i1 %86, label LBL_28, label LBL_29 LBL_27: %87 = add i32 %78, 1 %88 = zext i32 %87 to i64 %89 = load i8*, i8** %sv_1, align 8 %90 = ptrtoint i8* %89 to i64 %91 = call i64 @FUNC(i64 %90, i64 %88, i32* nonnull %sv_2) %92 = inttoptr i64 %sv_0.117.reload to i64* store i64 %91, i64* %92, align 8 %93 = icmp eq i64 %91, 0 br i1 %93, label LBL_29, label LBL_28 LBL_28: %94 = add i32 %storemerge8.reload, 1 %95 = sext i32 %94 to i64 %96 = mul i64 %95, 8 %97 = add i64 %96, %5 %98 = inttoptr i64 %97 to i64* %99 = load i64, i64* %98, align 8 %100 = icmp eq i64 %99, 0 %101 = icmp eq i1 %100, false store i64 %99, i64* %.reg2mem store i32 %94, i32* %storemerge8.reg2mem br i1 %101, label LBL_3, label LBL_29 LBL_29: %102 = load i32, i32* %sv_2, align 4 %103 = zext i32 %102 to i64 ret i64 %103 uselistorder i8* %16, { 6, 5, 2, 0, 1, 7, 3, 8, 4, 9, 10 } uselistorder i64 %4, { 0, 4, 3, 2, 1 } uselistorder i32* %sv_2, { 1, 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 } uselistorder i8** %sv_1, { 4, 3, 0, 2, 5, 1 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge8.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.117.reg2mem, { 0, 2, 1 } uselistorder i8** %.reg2mem30, { 0, 2, 1 } uselistorder i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_5, i64 0, i64 0), { 1, 0 } uselistorder i8 0, { 1, 0 } uselistorder i64 (i64, i32, i64, i64)* @k5_setmsg, { 5, 4, 3, 2, 1, 0 } uselistorder i64 (i8*)* @_, { 5, 4, 3, 2, 1, 0 } uselistorder i32 (i8*, i8*)* @strcmp, { 4, 3, 2, 1, 0 } uselistorder i1 false, { 12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 0, 13 } uselistorder i8* null, { 1, 0, 2, 3 } uselistorder i64* %arg2, { 2, 0, 1 } uselistorder i64 %arg1, { 3, 2, 4, 6, 5, 1, 0 } uselistorder label LBL_29, { 1, 2, 0, 5, 6, 7, 8, 9, 10, 3, 4 } uselistorder label LBL_25, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
CompRealVul
adts_aac_probe_15503
adts_aac_probe
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.lcssa212223.reg2mem = alloca i32 %sv_0.09.reg2mem = alloca i32 %sv_1.110.reg2mem = alloca i32 %storemerge11.reg2mem = alloca i64 %storemerge1.lcssa.reg2mem = alloca i32 %sv_2.0.lcssa.reg2mem = alloca i64 %sv_2.02.reg2mem = alloca i64 %storemerge13.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = sext i32 %3 to i64 %5 = add i64 %0, -7 %6 = add i64 %5, %4 %7 = icmp ugt i64 %6, %0 store i64 %0, i64* %storemerge11.reg2mem store i32 0, i32* %sv_1.110.reg2mem store i32 0, i32* %sv_0.09.reg2mem store i32 0, i32* %sv_0.0.lcssa212223.reg2mem br i1 %7, label LBL_5, label LBL_9 LBL_1: %sv_2.02.reload = load i64, i64* %sv_2.02.reg2mem %storemerge13.reload = load i32, i32* %storemerge13.reg2mem %8 = inttoptr i64 %sv_2.02.reload to i16* %9 = load i16, i16* %8, align 2 %10 = and i16 %9, -10 %11 = icmp eq i16 %10, -16 %12 = icmp eq i1 %11, false store i64 %sv_2.02.reload, i64* %sv_2.0.lcssa.reg2mem store i32 %storemerge13.reload, i32* %storemerge1.lcssa.reg2mem br i1 %12, label LBL_4, label LBL_2 LBL_2: %13 = add i64 %sv_2.02.reload, 3 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = udiv i32 %15, 8192 %17 = urem i32 %16, 8192 %18 = icmp ult i32 %17, 7 store i64 %sv_2.02.reload, i64* %sv_2.0.lcssa.reg2mem store i32 %storemerge13.reload, i32* %storemerge1.lcssa.reg2mem br i1 %18, label LBL_4, label LBL_3 LBL_3: %19 = zext i32 %17 to i64 %20 = add i64 %sv_2.02.reload, %19 %21 = add i32 %storemerge13.reload, 1 %22 = icmp ult i64 %20, %6 store i32 %21, i32* %storemerge13.reg2mem store i64 %20, i64* %sv_2.02.reg2mem store i64 %20, i64* %sv_2.0.lcssa.reg2mem store i32 %21, i32* %storemerge1.lcssa.reg2mem br i1 %22, label LBL_1, label LBL_4 LBL_4: %storemerge1.lcssa.reload = load i32, i32* %storemerge1.lcssa.reg2mem %sv_2.0.lcssa.reload = load i64, i64* %sv_2.0.lcssa.reg2mem %23 = sub i32 %sv_0.09.reload, %storemerge1.lcssa.reload %24 = xor i32 %storemerge1.lcssa.reload, %sv_0.09.reload %25 = xor i32 %23, %sv_0.09.reload %26 = and i32 %25, %24 %27 = icmp slt i32 %26, 0 %28 = icmp slt i32 %23, 0 %29 = icmp eq i1 %28, %27 %30 = select i1 %29, i32 %sv_0.09.reload, i32 %storemerge1.lcssa.reload %31 = icmp eq i64 %storemerge11.reload, %0 %32 = icmp eq i1 %31, false %spec.select = select i1 %32, i32 %sv_1.110.reload, i32 %storemerge1.lcssa.reload %33 = add i64 %sv_2.0.lcssa.reload, 1 %34 = icmp ult i64 %33, %6 store i64 %33, i64* %storemerge11.reg2mem store i32 %spec.select, i32* %sv_1.110.reg2mem store i32 %30, i32* %sv_0.09.reg2mem br i1 %34, label LBL_5, label LBL_6 LBL_5: %sv_0.09.reload = load i32, i32* %sv_0.09.reg2mem %sv_1.110.reload = load i32, i32* %sv_1.110.reg2mem %storemerge11.reload = load i64, i64* %storemerge11.reg2mem %35 = icmp ult i64 %storemerge11.reload, %6 store i32 0, i32* %storemerge13.reg2mem store i64 %storemerge11.reload, i64* %sv_2.02.reg2mem store i64 %storemerge11.reload, i64* %sv_2.0.lcssa.reg2mem store i32 0, i32* %storemerge1.lcssa.reg2mem br i1 %35, label LBL_1, label LBL_4 LBL_6: %phitmp = icmp slt i32 %spec.select, 3 store i64 51, i64* %rax.0.reg2mem br i1 %phitmp, label LBL_7, label LBL_10 LBL_7: %36 = icmp slt i32 %30, 501 store i64 50, i64* %rax.0.reg2mem br i1 %36, label LBL_8, label LBL_10 LBL_8: %37 = icmp slt i32 %30, 3 store i32 %30, i32* %sv_0.0.lcssa212223.reg2mem store i64 25, i64* %rax.0.reg2mem br i1 %37, label LBL_9, label LBL_10 LBL_9: %sv_0.0.lcssa212223.reload = load i32, i32* %sv_0.0.lcssa212223.reg2mem %38 = icmp sgt i32 %sv_0.0.lcssa212223.reload, 0 %. = zext i1 %38 to i64 store i64 %., i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %storemerge11.reload, { 3, 2, 0, 1 } uselistorder i32 %sv_0.09.reload, { 0, 2, 3, 1 } uselistorder i32 %spec.select, { 1, 0 } uselistorder i32 %30, { 0, 2, 3, 1 } uselistorder i32 %23, { 1, 0 } uselistorder i32 %storemerge1.lcssa.reload, { 0, 2, 3, 1 } uselistorder i32 %17, { 1, 0 } uselistorder i32 %storemerge13.reload, { 2, 0, 1 } uselistorder i64 %sv_2.02.reload, { 4, 0, 3, 1, 2 } uselistorder i64 %6, { 1, 3, 2, 0 } uselistorder i64 %0, { 3, 0, 1, 2, 4 } uselistorder i32* %storemerge13.reg2mem, { 1, 2, 0 } uselistorder i64* %sv_2.02.reg2mem, { 1, 2, 0 } uselistorder i64* %sv_2.0.lcssa.reg2mem, { 4, 0, 3, 1, 2 } uselistorder i32* %storemerge1.lcssa.reg2mem, { 4, 0, 3, 1, 2 } uselistorder i64* %storemerge11.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.110.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.09.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.0.lcssa212223.reg2mem, { 0, 2, 1 } uselistorder i32 3, { 1, 0 } uselistorder i32 8192, { 1, 0 } uselistorder i32 0, { 5, 3, 4, 6, 7, 0, 1, 2 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_4, { 3, 0, 2, 1 } }
1
CompRealVul
xmt_new_parser_12309
xmt_new_parser
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 1 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = ptrtoint i32* %arg1 to i64 %6 = add i64 %5, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false store i64 0, i64* %rax.0.reg2mem br i1 %10, label LBL_2, label LBL_5 LBL_2: %11 = call i64* @malloc(i32 80) %12 = icmp eq i64* %11, null %13 = icmp eq i1 %12, false store i64 0, i64* %rax.0.reg2mem br i1 %13, label LBL_3, label LBL_5 LBL_3: %14 = ptrtoint i64* %11 to i64 %15 = call i64 @FUNC() store i64 %15, i64* %11, align 8 %16 = call i64 @FUNC() %17 = add i64 %14, 8 %18 = inttoptr i64 %17 to i64* store i64 %16, i64* %18, align 8 %19 = call i64 @FUNC() %20 = add i64 %14, 16 %21 = inttoptr i64 %20 to i64* store i64 %19, i64* %21, align 8 %22 = call i64 @FUNC() %23 = add i64 %14, 24 %24 = inttoptr i64 %23 to i64* store i64 %22, i64* %24, align 8 %25 = call i64 @FUNC() %26 = add i64 %14, 32 %27 = inttoptr i64 %26 to i64* store i64 %25, i64* %27, align 8 %28 = call i64 @FUNC() %29 = add i64 %14, 40 %30 = inttoptr i64 %29 to i64* store i64 %28, i64* %30, align 8 %31 = call i64 @FUNC() %32 = add i64 %14, 48 %33 = inttoptr i64 %32 to i64* store i64 %31, i64* %33, align 8 %34 = call i64 @FUNC() %35 = add i64 %14, 56 %36 = inttoptr i64 %35 to i64* store i64 %34, i64* %36, align 8 %37 = call i64 @FUNC(i64 4198762, i64 4198769, i64 4198776, i64 %14) %38 = add i64 %14, 64 %39 = inttoptr i64 %38 to i64* store i64 %37, i64* %39, align 8 %40 = ptrtoint i32* %arg1 to i64 %41 = add i64 %14, 72 %42 = inttoptr i64 %41 to i64* store i64 %40, i64* %42, align 8 %43 = add i64 %40, 16 %44 = inttoptr i64 %43 to i64* store i64 %14, i64* %44, align 8 %45 = add i64 %40, 8 %46 = inttoptr i64 %45 to i64* %47 = load i64, i64* %46, align 8 %48 = icmp eq i64 %47, 0 store i64 %14, i64* %rax.0.reg2mem br i1 %48, label LBL_5, label LBL_4 LBL_4: %49 = inttoptr i64 %47 to i32* store i32 1, i32* %49, align 4 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 %14, { 1, 0, 2, 3, 5, 4, 6, 7, 8, 9, 10, 11, 12 } uselistorder i64* %11, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i64 ()* @gf_list_new, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64* (i32)* @malloc, { 2, 1, 0 } uselistorder label LBL_5, { 1, 0, 2, 3 } }
1
CompRealVul
io_register_personality_309
io_register_personality
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i32* %arg1 to i64 %1 = call i64 @FUNC() %2 = call i64 @FUNC(i64 %0, i64 %1, i64 1, i64 65535, i64 0) %3 = trunc i64 %2 to i32 %4 = icmp slt i32 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %1) br label LBL_2 LBL_2: %7 = and i64 %2, 4294967295 ret i64 %7 }
1
CompRealVul
uncurl_response_body_chunked_10552
uncurl_response_body_chunked
define i64 @FUNC(i32* %arg1, i64* %arg2, i32* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %sv_1 = alloca i32, align 4 store i32 0, i32* %sv_1, align 4 %2 = ptrtoint i32* %arg1 to i64 %3 = bitcast i32* %sv_1 to i64* %4 = add i64 %2, 16 %5 = inttoptr i64 %4 to i64* %6 = trunc i64 %1 to i32 store i32 0, i32* %sv_0.0.reg2mem br label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 %2, i32* nonnull %sv_1) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = and i64 %7, 4294967295 store i64 %10, i64* %rax.0.reg2mem br label LBL_8 LBL_3: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %11 = load i32, i32* %sv_1, align 4 %12 = add i32 %11, %sv_0.0.reload %13 = icmp ugt i32 %12, %6 store i64 4294967295, i64* %rax.0.reg2mem br i1 %13, label LBL_8, label LBL_4 LBL_4: %14 = add i32 %12, 2 %15 = call i64* @realloc(i64* nonnull %3, i32 %14) %16 = ptrtoint i64* %15 to i64 store i64 %16, i64* %arg2, align 8 %17 = load i64, i64* %5, align 8 %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 br i1 %19, label LBL_6, label LBL_5 LBL_5: %20 = and i64 %17, 4294967295 store i64 %20, i64* %rax.0.reg2mem br label LBL_8 LBL_6: %21 = load i32, i32* %sv_1, align 4 %22 = add i32 %21, %sv_0.0.reload %23 = icmp eq i32 %21, 0 %24 = icmp eq i1 %23, false store i32 %22, i32* %sv_0.0.reg2mem br i1 %24, label LBL_1, label LBL_7 LBL_7: %25 = zext i32 %14 to i64 %26 = zext i32 %sv_0.0.reload to i64 %27 = add nuw nsw i64 %25, %26 %28 = zext i32 %22 to i64 %29 = add nuw nsw i64 %27, %28 %30 = inttoptr i64 %29 to i8* store i8 0, i8* %30, align 1 store i32 %22, i32* %arg3, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %22, { 1, 2, 0 } uselistorder i32 %21, { 1, 0 } uselistorder i32 %sv_0.0.reload, { 2, 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i32* %sv_1, { 2, 3, 1, 0, 4 } uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 } uselistorder label LBL_8, { 1, 2, 0, 3 } }
0
CompRealVul
__gcm_hash_assoc_done_9246
__gcm_hash_assoc_done
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = trunc i64 %arg2 to i32 %sext = mul i64 %arg2, 4294967296 %4 = ashr exact i64 %sext, 32 %5 = call i64 @FUNC(i64 %2) %6 = icmp eq i32 %3, 0 %7 = icmp eq i1 %6, false store i64 %4, i64* %sv_0.0.reg2mem br i1 %7, label LBL_4, label LBL_1 LBL_1: %8 = and i64 %1, 4294967295 %9 = call i64 @FUNC(i64 %8) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_3, label LBL_2 LBL_2: %13 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %14 = call i32 @fwrite(i64* bitcast ([18 x i8]* @gv_1 to i64*), i32 1, i32 17, %_IO_FILE* %13) call void @exit(i32 1) unreachable LBL_3: %15 = call i64 @FUNC(i64 %2, i64 %5, i32 %10, i64 4198788) %16 = trunc i64 %15 to i32 %sext3 = mul i64 %15, 4294967296 %17 = ashr exact i64 %sext3, 32 %18 = icmp eq i32 %16, -1 %19 = trunc i64 %17 to i32 %20 = icmp eq i32 %19, -2 %or.cond = or i1 %18, %20 store i64 %17, i64* %sv_0.0.reg2mem store i64 %15, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_5, label LBL_4 LBL_4: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %21 = and i64 %sv_0.0.reload, 4294967295 %22 = call i64 @FUNC(i64 %2, i64 %21) 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 %2, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i64 4294967295, { 1, 0, 2 } uselistorder i32 0, { 1, 2, 0 } uselistorder label LBL_5, { 1, 0 } }
0
CompRealVul
modbus_write_bit_2
modbus_write_bit
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %storemerge.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* @__errno_location() store i32 22, i32* %2, align 4 store i64 4294967295, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %3 = ptrtoint i64* %arg1 to i64 %4 = icmp eq i32 %arg3, 0 %. = select i1 %4, i64 0, i64 65280 %5 = trunc i64 %arg2 to i32 %6 = call i64 @FUNC(i64 %3, i64 5, i32 %5, i64 %.) store i64 %6, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %arg1, { 1, 0 } }
0
CompRealVul
clearLoader_12337
clearLoader
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 store i32 0, i32* bitcast (i64* @gv_0 to i32*), align 8 ret i64 %1 }
1
CompRealVul
xenbus_watch_pathfmt_18124
xenbus_watch_pathfmt
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i8* %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %storemerge.reg2mem = alloca i64 %2 = load i64, i64* %1 %3 = load i128, i128* %0 %4 = load i128, i128* %0 %5 = load i128, i128* %0 %6 = load i128, i128* %0 %7 = load i128, i128* %0 %8 = load i128, i128* %0 %9 = load i128, i128* %0 %10 = load i128, i128* %0 %sv_0 = alloca i32, align 4 %11 = trunc i64 %2 to i8 %12 = icmp eq i8 %11, 0 br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = call i64 @FUNC(i128 %10) %14 = call i64 @FUNC(i128 %9) %15 = call i64 @FUNC(i128 %8) %16 = call i64 @FUNC(i128 %7) %17 = call i64 @FUNC(i128 %6) %18 = call i64 @FUNC(i128 %5) %19 = call i64 @FUNC(i128 %4) %20 = call i64 @FUNC(i128 %3) br label LBL_2 LBL_2: %21 = ptrtoint i8* %arg4 to i64 %22 = ptrtoint i64* %arg1 to i64 store i32 32, i32* %sv_0, align 4 %23 = call i64 @FUNC(i64 0, i64 %21, i32* nonnull %sv_0, i64 %21, i64 %arg5, i64 %arg6) %24 = icmp eq i64 %23, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_4, label LBL_3 LBL_3: %26 = call i64 @FUNC(i64 %22, i64 4294967284, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0)) store i64 4294967284, i64* %storemerge.reg2mem br label LBL_7 LBL_4: %27 = ptrtoint i64* %arg2 to i64 %28 = call i64 @FUNC(i64 %22, i64 %23, i64 %27, i64 %arg3) %29 = trunc i64 %28 to i32 %30 = icmp eq i32 %29, 0 br i1 %30, label LBL_6, label LBL_5 LBL_5: %31 = call i64 @FUNC(i64 %23) br label LBL_6 LBL_6: %32 = and i64 %28, 4294967295 store i64 %32, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %22, { 1, 0 } uselistorder i64 %21, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i8 0, { 1, 2, 0 } }
1
CompRealVul
autofs_clear_leaf_automount_flags_4439
autofs_clear_leaf_automount_flags
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = add i64 %arg1, 16 %1 = inttoptr i64 %0 to i64* %2 = load i64, i64* %1, align 8 %3 = icmp eq i64 %2, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_5, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %arg1) %5 = load i64, i64* %1, align 8 %6 = add i64 %5, 16 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp eq i64 %8, 0 store i64 0, i64* %rax.0.reg2mem br i1 %9, label LBL_5, label LBL_2 LBL_2: %10 = add i64 %5, 24 %11 = icmp eq i64 %10, %arg1 %12 = icmp eq i1 %11, false store i64 %arg1, i64* %rax.0.reg2mem br i1 %12, label LBL_5, label LBL_3 LBL_3: %13 = add i64 %arg1, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = icmp eq i64 %15, %10 %17 = icmp eq i1 %16, false store i64 %15, i64* %rax.0.reg2mem br i1 %17, label LBL_5, label LBL_4 LBL_4: %18 = call i64 @FUNC(i64 %5) store i64 %18, 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 i32 1, { 2, 1, 0 } uselistorder i64 %arg1, { 2, 0, 1, 3, 4 } uselistorder label LBL_5, { 2, 1, 0, 3, 4 } }
0
CompRealVul
lcdSetPixels_ArrayBuffer_flat_4360
lcdSetPixels_ArrayBuffer_flat
define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i64 %sv_0.0.ph.reg2mem = alloca i32 %sv_2.2.ph.reg2mem = alloca i8* %sv_1.0.ph.reg2mem = alloca i64 %sv_2.148.reg2mem = alloca i8* %storemerge1449.reg2mem = alloca i32 %sv_0.0.ph.be.reg2mem = alloca i32 %sv_2.2.ph.be.reg2mem = alloca i8* %sv_1.0.ph.be.reg2mem = alloca i64 %sv_2.046.reg2mem = alloca i8* %sv_3.047.reg2mem = alloca i32 %storemerge15.reg2mem = alloca i1 %.pre-phi79.reg2mem = alloca i32* %.pre78.pre-phi.reg2mem = alloca i32* %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %sext = mul i64 %arg5, 4294967296 %3 = ashr exact i64 %sext, 32 %4 = trunc i64 %arg2 to i16 %5 = trunc i64 %arg3 to i16 %6 = trunc i64 %arg4 to i16 %7 = add i64 %2, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %2, i16 %4, i16 %5, i16 %6) %11 = trunc i64 %3 to i32 %12 = icmp eq i32 %11, 0 br i1 %12, label LBL_3, label LBL_1 LBL_1: %13 = trunc i64 %1 to i32 %14 = urem i32 %13, 32 %notmask = shl nsw i32 -1, %14 %.demorgan = or i32 %notmask, %11 %15 = icmp eq i32 %.demorgan, -1 %16 = icmp eq i1 %15, false br i1 %16, label LBL_1.LBL_4_crit_edge, label LBL_3 LBL_2: %.pre80 = add i64 %2, 4 %.pre = inttoptr i64 %.pre80 to i32* store i32* %.pre, i32** %.pre78.pre-phi.reg2mem br label LBL_4 LBL_3: %17 = add i64 %2, 4 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = urem i32 %19, 2 %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false store i32* %18, i32** %.pre78.pre-phi.reg2mem store i32* %18, i32** %.pre-phi79.reg2mem store i1 false, i1* %storemerge15.reg2mem br i1 %22, label LBL_4, label LBL_5 LBL_4: %.pre78.pre-phi.reload = load i32*, i32** %.pre78.pre-phi.reg2mem store i32* %.pre78.pre-phi.reload, i32** %.pre-phi79.reg2mem store i1 true, i1* %storemerge15.reg2mem br label LBL_5 LBL_5: %sext5 = mul i64 %arg4, 281474976710656 %23 = ashr exact i64 %sext5, 48 %24 = trunc i64 %10 to i32 %25 = udiv i64 %10, 8 %26 = urem i64 %25, 536870912 %27 = add i64 %26, %9 %28 = inttoptr i64 %27 to i8* %29 = bitcast i64* %rdi to i32* %storemerge15.reload = load i1, i1* %storemerge15.reg2mem %.pre-phi79.reload = load i32*, i32** %.pre-phi79.reg2mem %30 = icmp ne i32 %11, 0 %31 = sext i1 %30 to i8 store i64 %23, i64* %sv_1.0.ph.reg2mem store i8* %28, i8** %sv_2.2.ph.reg2mem store i32 %24, i32* %sv_0.0.ph.reg2mem br label LBL_22 LBL_6: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %32 = mul i64 %sv_1.0.reload, 281474976710656 %sext6 = add i64 %32, -281474976710656 %33 = ashr exact i64 %sext6, 48 %34 = load i32, i32* %29, align 8 %35 = urem i32 %34, 8 %36 = icmp eq i32 %35, 0 br i1 %36, label LBL_7, label LBL_8 LBL_7: %37 = icmp eq i32 %34, 0 store i64 %33, i64* %sv_1.0.ph.be.reg2mem store i8* %sv_2.2.ph.reload, i8** %sv_2.2.ph.be.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.0.ph.be.reg2mem store i32 0, i32* %storemerge1449.reg2mem store i8* %sv_2.2.ph.reload, i8** %sv_2.148.reg2mem br i1 %37, label LBL_20, label LBL_21 LBL_8: %38 = urem i32 %sv_0.0.reload, 8 %39 = icmp eq i32 %38, 0 %40 = icmp eq i1 %39, false %or.cond = or i1 %storemerge15.reload, %40 br i1 %or.cond, label LBL_12, label LBL_9 LBL_9: %41 = udiv i64 %sext6, 4294967296 %sext7 = trunc i64 %41 to i32 %42 = ashr exact i32 %sext7, 16 %43 = add nsw i32 %42, 1 %44 = mul i32 %34, %43 %45 = icmp ult i32 %44, 8 br i1 %45, label LBL_12, label LBL_10 LBL_10: %46 = udiv i32 %44, 8 %47 = trunc i64 %33 to i32 %48 = and i32 %44, -8 %49 = udiv i32 %48, %34 %50 = sub i32 %47, %49 %51 = zext i32 %50 to i64 %52 = mul i64 %51, 281474976710656 %sext8 = add i64 %52, 281474976710656 store i32 %46, i32* %sv_3.047.reg2mem store i8* %sv_2.2.ph.reload, i8** %sv_2.046.reg2mem br label LBL_11 LBL_11: %sv_2.046.reload = load i8*, i8** %sv_2.046.reg2mem %sv_3.047.reload = load i32, i32* %sv_3.047.reg2mem %53 = add i32 %sv_3.047.reload, -1 store i8 %31, i8* %sv_2.046.reload, align 1 %54 = ptrtoint i8* %sv_2.046.reload to i64 %55 = add i64 %54, 1 %56 = inttoptr i64 %55 to i8* %57 = icmp eq i32 %53, 0 %58 = icmp eq i1 %57, false store i32 %53, i32* %sv_3.047.reg2mem store i8* %56, i8** %sv_2.046.reg2mem br i1 %58, label LBL_11, label LBL_19 LBL_12: %59 = load i8, i8* %sv_2.2.ph.reload, align 1 %60 = load i32, i32* %.pre-phi79.reload, align 4 %61 = load i64, i64* %8, align 8 %62 = icmp ugt i64 %61, %104 br i1 %62, label LBL_14, label LBL_13 LBL_13: %63 = call i64 @FUNC(i64 %2) %64 = and i64 %63, 4294967295 %65 = add i64 %64, %61 %66 = icmp ugt i64 %65, %104 br i1 %66, label LBL_15, label LBL_14 LBL_14: call void @__assert_fail(i8* getelementptr inbounds ([93 x i8], [93 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([63 x i8], [63 x i8]* @gv_1, i64 0, i64 0), i32 49, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_2, i64 0, i64 0)) br label LBL_15 LBL_15: %67 = urem i32 %34, 32 %notmask133 = shl nsw i32 -1, %67 %68 = sub i32 0, %notmask133 %69 = sub i32 %68, 1 %70 = zext i8 %59 to i32 %71 = and i32 %60, 2 %72 = icmp eq i32 %71, 0 %.neg20 = sub nsw i32 8, %38 %73 = sub i32 %.neg20, %34 %storemerge12.in = select i1 %72, i32 %38, i32 %73 %74 = urem i32 %storemerge12.in, 32 %75 = shl i32 %69, %74 %76 = xor i32 %75, 255 %77 = and i32 %76, %70 %78 = and i32 %69, %11 %79 = shl i32 %78, %74 %80 = or i32 %77, %79 %81 = trunc i32 %80 to i8 store i8 %81, i8* %sv_2.2.ph.reload, align 1 %82 = load i32, i32* %.pre-phi79.reload, align 4 %83 = urem i32 %82, 2 %84 = icmp eq i32 %83, 0 br i1 %84, label LBL_17, label LBL_16 LBL_16: %85 = add i64 %104, 1 %86 = inttoptr i64 %85 to i8* store i64 %33, i64* %sv_1.0.ph.be.reg2mem store i8* %86, i8** %sv_2.2.ph.be.reg2mem store i32 %38, i32* %sv_0.0.ph.be.reg2mem br label LBL_20 LBL_17: %87 = load i32, i32* %29, align 8 %88 = add i32 %87, %38 %89 = icmp ult i32 %88, 8 store i64 %33, i64* %sv_1.0.reg2mem store i32 %88, i32* %sv_0.0.reg2mem br i1 %89, label LBL_23, label LBL_18 LBL_18: %90 = add i64 %104, 1 %91 = inttoptr i64 %90 to i8* store i64 %33, i64* %sv_1.0.ph.be.reg2mem store i8* %91, i8** %sv_2.2.ph.be.reg2mem store i32 %88, i32* %sv_0.0.ph.be.reg2mem br label LBL_20 LBL_19: %92 = ashr exact i64 %sext8, 48 store i64 %92, i64* %sv_1.0.ph.be.reg2mem store i8* %56, i8** %sv_2.2.ph.be.reg2mem store i32 %38, i32* %sv_0.0.ph.be.reg2mem br label LBL_20 LBL_20: %sv_0.0.ph.be.reload = load i32, i32* %sv_0.0.ph.be.reg2mem %sv_2.2.ph.be.reload = load i8*, i8** %sv_2.2.ph.be.reg2mem %sv_1.0.ph.be.reload = load i64, i64* %sv_1.0.ph.be.reg2mem store i64 %sv_1.0.ph.be.reload, i64* %sv_1.0.ph.reg2mem store i8* %sv_2.2.ph.be.reload, i8** %sv_2.2.ph.reg2mem store i32 %sv_0.0.ph.be.reload, i32* %sv_0.0.ph.reg2mem br label LBL_22 LBL_21: %sv_2.148.reload = load i8*, i8** %sv_2.148.reg2mem %storemerge1449.reload = load i32, i32* %storemerge1449.reg2mem %93 = and i32 %storemerge1449.reload, 24 %94 = icmp eq i32 %93, 0 %95 = lshr i32 %11, %93 %96 = zext i32 %95 to i64 %storemerge13 = select i1 %94, i64 %3, i64 %96 %97 = trunc i64 %storemerge13 to i8 store i8 %97, i8* %sv_2.148.reload, align 1 %98 = ptrtoint i8* %sv_2.148.reload to i64 %99 = add i64 %98, 1 %100 = inttoptr i64 %99 to i8* %101 = add i32 %storemerge1449.reload, 8 %102 = load i32, i32* %29, align 8 %103 = icmp ugt i32 %102, %101 store i64 %33, i64* %sv_1.0.ph.be.reg2mem store i8* %100, i8** %sv_2.2.ph.be.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.0.ph.be.reg2mem store i32 %101, i32* %storemerge1449.reg2mem store i8* %100, i8** %sv_2.148.reg2mem br i1 %103, label LBL_21, label LBL_20 LBL_22: %sv_0.0.ph.reload = load i32, i32* %sv_0.0.ph.reg2mem %sv_2.2.ph.reload = load i8*, i8** %sv_2.2.ph.reg2mem %sv_1.0.ph.reload = load i64, i64* %sv_1.0.ph.reg2mem %104 = ptrtoint i8* %sv_2.2.ph.reload to i64 store i64 %sv_1.0.ph.reload, i64* %sv_1.0.reg2mem store i32 %sv_0.0.ph.reload, i32* %sv_0.0.reg2mem br label LBL_23 LBL_23: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %105 = icmp eq i64 %sv_1.0.reload, 0 %106 = icmp eq i1 %105, false br i1 %106, label LBL_6, label LBL_24 LBL_24: %107 = urem i64 %sv_1.0.reload, 65536 ret i64 %107 uselistorder i64 %sv_1.0.reload, { 1, 0, 2 } uselistorder i64 %104, { 3, 2, 1, 0 } uselistorder i8* %sv_2.2.ph.reload, { 1, 4, 5, 3, 2, 0 } uselistorder i8* %sv_2.148.reload, { 1, 0 } uselistorder i32 %88, { 1, 0, 2 } uselistorder i32 %74, { 1, 0 } uselistorder i8* %sv_2.046.reload, { 1, 0 } uselistorder i32 %44, { 2, 1, 0 } uselistorder i32 %38, { 0, 4, 1, 3, 5, 2 } uselistorder i32 %34, { 4, 0, 3, 5, 2, 1 } uselistorder i64 %33, { 1, 3, 0, 4, 5, 2 } uselistorder i32 %sv_0.0.reload, { 2, 0, 1 } uselistorder i32* %29, { 1, 0, 2 } uselistorder i32 %11, { 3, 0, 2, 1, 4 } uselistorder i64 %2, { 1, 2, 0, 3, 4 } uselistorder i32* %sv_3.047.reg2mem, { 1, 0, 2 } uselistorder i8** %sv_2.046.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.0.ph.be.reg2mem, { 1, 0, 2, 4, 5, 3 } uselistorder i8** %sv_2.2.ph.be.reg2mem, { 1, 0, 2, 4, 5, 3 } uselistorder i32* %sv_0.0.ph.be.reg2mem, { 1, 0, 2, 4, 5, 3 } uselistorder i32* %storemerge1449.reg2mem, { 2, 0, 1 } uselistorder i8** %sv_2.148.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.0.reg2mem, { 1, 2, 0 } uselistorder i64 281474976710656, { 3, 1, 0, 2 } uselistorder i32 2, { 0, 2, 1 } uselistorder i64 4, { 1, 0 } uselistorder i1 false, { 3, 2, 1, 0, 4, 5 } uselistorder i32 -1, { 0, 3, 1, 2 } uselistorder i32 0, { 4, 5, 6, 1, 7, 3, 0, 2, 9, 8, 10, 11 } uselistorder i64 4294967296, { 1, 0 } uselistorder label LBL_21, { 1, 0 } uselistorder label LBL_20, { 0, 1, 3, 4, 2 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
CompRealVul
parseChars_7793
parseChars
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.2.lcssa.reg2mem = alloca i32 %.lcssa.reg2mem = alloca i1 %sv_1.1.lcssa.reg2mem = alloca i32 %sv_0.1.lcssa.reg2mem = alloca i32 %sv_2.3.lcssa.reg2mem = alloca i32 %rcx.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_2.2.reg2mem = alloca i32 %sv_2.315.reg2mem = alloca i32 %sv_0.116.reg2mem = alloca i32 %sv_1.117.reg2mem = alloca i32 %rcx.118.reg2mem = alloca i64 %storemerge19.reg2mem = alloca i32 %.reg2mem61 = alloca i1 %storemerge1.lcssa.reg2mem = alloca i32 %.reg2mem59 = alloca i32 %storemerge113.reg2mem = alloca i32 %rcx.2.be.in.reg2mem = alloca i32 %sv_0.2.be.reg2mem = alloca i32 %sv_2.4.be.reg2mem = alloca i32 %sv_3.1.reg2mem = alloca i32 %sv_2.1.reg2mem = alloca i32 %sv_3.0.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i32 %sv_2.423.reg2mem = alloca i32 %sv_0.224.reg2mem = alloca i32 %rcx.226.reg2mem = alloca i64 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg3 to i64 %4 = ptrtoint i64* %arg2 to i64 %5 = ptrtoint i64* %arg1 to i64 %6 = add i64 %3, 1024 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp eq i32 %8, 0 store i64 0, i64* %.reg2mem store i32 0, i32* %sv_0.224.reg2mem store i32 0, i32* %sv_2.423.reg2mem store i32 0, i32* %sv_0.2.lcssa.reg2mem br i1 %9, label LBL_35, label LBL_1 LBL_1: %sv_2.423.reload = load i32, i32* %sv_2.423.reg2mem %sv_0.224.reload = load i32, i32* %sv_0.224.reg2mem %rcx.226.reload = load i64, i64* %rcx.226.reg2mem %.reload = load i64, i64* %.reg2mem %10 = add i32 %sv_2.423.reload, 1 %11 = add i64 %.reload, %3 %12 = inttoptr i64 %11 to i8* %13 = load i8, i8* %12, align 1 %14 = zext i8 %13 to i32 %15 = icmp sgt i8 %13, -1 store i32 3, i32* %storemerge113.reg2mem br i1 %15, label LBL_2, label LBL_21 LBL_2: %16 = icmp eq i8 %13, 92 %17 = icmp eq i1 %16, false store i32 %10, i32* %sv_2.1.reg2mem store i32 %14, i32* %sv_3.1.reg2mem br i1 %17, label LBL_18, label LBL_3 LBL_3: %18 = sext i32 %10 to i64 %19 = add i64 %18, %3 %20 = inttoptr i64 %19 to i8* %21 = load i8, i8* %20, align 1 %22 = zext i8 %21 to i32 %23 = add nsw i32 %22, -34 %24 = zext i32 %23 to i64 store i64 %24, i64* @0, align 8 store i32 %10, i32* %sv_2.0.reg2mem store i32 92, i32* %sv_3.0.reg2mem switch i8 %21, label LBL_16 [ i8 34, label LBL_12 i8 88, label LBL_13 i8 89, label LBL_15 i8 90, label LBL_15 i8 92, label LBL_17 i8 101, label LBL_4 i8 102, label LBL_5 i8 110, label LBL_6 i8 114, label LBL_7 i8 115, label LBL_8 i8 116, label LBL_9 i8 118, label LBL_10 i8 119, label LBL_11 i8 120, label LBL_13 i8 121, label LBL_15 i8 122, label LBL_15 ] LBL_4: store i32 %10, i32* %sv_2.0.reg2mem store i32 27, i32* %sv_3.0.reg2mem br label LBL_17 LBL_5: store i32 %10, i32* %sv_2.0.reg2mem store i32 12, i32* %sv_3.0.reg2mem br label LBL_17 LBL_6: store i32 %10, i32* %sv_2.0.reg2mem store i32 10, i32* %sv_3.0.reg2mem br label LBL_17 LBL_7: store i32 %10, i32* %sv_2.0.reg2mem store i32 13, i32* %sv_3.0.reg2mem br label LBL_17 LBL_8: store i32 %10, i32* %sv_2.0.reg2mem store i32 32, i32* %sv_3.0.reg2mem br label LBL_17 LBL_9: store i32 %10, i32* %sv_2.0.reg2mem store i32 9, i32* %sv_3.0.reg2mem br label LBL_17 LBL_10: store i32 %10, i32* %sv_2.0.reg2mem store i32 11, i32* %sv_3.0.reg2mem br label LBL_17 LBL_11: store i32 %10, i32* %sv_2.0.reg2mem store i32 65535, i32* %sv_3.0.reg2mem br label LBL_17 LBL_12: store i32 %10, i32* %sv_2.0.reg2mem store i32 34, i32* %sv_3.0.reg2mem br label LBL_17 LBL_13: %25 = load i32, i32* %7, align 4 %26 = sub i32 %25, %10 %27 = icmp slt i32 %26, 5 store i32 %10, i32* %sv_2.0.reg2mem store i32 %22, i32* %sv_3.0.reg2mem br i1 %27, label LBL_17, label LBL_14 LBL_14: %28 = add i32 %sv_2.423.reload, 2 %29 = sext i32 %28 to i64 %30 = add i64 %29, %3 %31 = call i64 @FUNC(i64 %5, i64 %30, i64 4) %32 = trunc i64 %31 to i32 %33 = add i32 %sv_2.423.reload, 5 store i32 %33, i32* %sv_2.0.reg2mem store i32 %32, i32* %sv_3.0.reg2mem br label LBL_17 LBL_15: %34 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %rcx.226.reload, i64 %2, i64 %1) store i32 %10, i32* %sv_2.0.reg2mem store i32 %22, i32* %sv_3.0.reg2mem br label LBL_17 LBL_16: %35 = zext i8 %21 to i64 %36 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_1, i64 0, i64 0), i64 %35, i64 %rcx.226.reload, i64 %2, i64 %1) store i32 %10, i32* %sv_2.0.reg2mem store i32 %22, i32* %sv_3.0.reg2mem br label LBL_17 LBL_17: %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %37 = add i32 %sv_2.0.reload, 1 store i32 %37, i32* %sv_2.1.reg2mem store i32 %sv_3.0.reload, i32* %sv_3.1.reg2mem br label LBL_18 LBL_18: %sv_3.1.reload = load i32, i32* %sv_3.1.reg2mem %sv_2.1.reload = load i32, i32* %sv_2.1.reg2mem %38 = add i32 %sv_0.224.reload, 1 %39 = sext i32 %sv_0.224.reload to i64 %40 = trunc i32 %sv_3.1.reload to i8 %41 = add i64 %39, %4 %42 = inttoptr i64 %41 to i8* store i8 %40, i8* %42, align 1 %43 = icmp slt i32 %38, 1024 store i32 %sv_2.1.reload, i32* %sv_2.4.be.reg2mem store i32 %38, i32* %sv_0.2.be.reg2mem store i32 %sv_3.1.reload, i32* %rcx.2.be.in.reg2mem br i1 %43, label LBL_19, label LBL_20 LBL_19: %rcx.2.be.in.reload = load i32, i32* %rcx.2.be.in.reg2mem %sv_0.2.be.reload = load i32, i32* %sv_0.2.be.reg2mem %sv_2.4.be.reload = load i32, i32* %sv_2.4.be.reg2mem %rcx.2.be = zext i32 %rcx.2.be.in.reload to i64 %44 = load i32, i32* %7, align 4 %45 = zext i32 %44 to i64 %46 = sext i32 %sv_2.4.be.reload to i64 %47 = icmp slt i64 %46, %45 store i64 %46, i64* %.reg2mem store i64 %rcx.2.be, i64* %rcx.226.reg2mem store i32 %sv_0.2.be.reload, i32* %sv_0.224.reg2mem store i32 %sv_2.4.be.reload, i32* %sv_2.423.reg2mem store i32 %sv_0.2.be.reload, i32* %sv_0.2.lcssa.reg2mem br i1 %47, label LBL_1, label LBL_35 LBL_20: %48 = add i64 %4, 1024 %49 = inttoptr i64 %48 to i32* store i32 %38, i32* %49, align 4 br label LBL_36 LBL_21: %storemerge113.reload = load i32, i32* %storemerge113.reg2mem %50 = sext i32 %storemerge113.reload to i64 %51 = mul i64 %50, 4 %52 = add i64 %51, ptrtoint (i32** @gv_2 to i64) %53 = inttoptr i64 %52 to i32* %54 = load i32, i32* %53, align 4 %55 = icmp ugt i32 %54, %14 %56 = icmp eq i1 %55, false store i32 %54, i32* %.reg2mem59 store i32 %storemerge113.reload, i32* %storemerge1.lcssa.reg2mem br i1 %56, label LBL_24, label LBL_22 LBL_22: %57 = add i32 %storemerge113.reload, -1 %58 = icmp eq i32 %57, 0 %59 = icmp eq i1 %58, false store i32 %57, i32* %storemerge113.reg2mem br i1 %59, label LBL_21, label LBL_22.LBL_24_crit_edge LBL_23: %.pre = sext i32 %57 to i64 %.pre33 = mul i64 %.pre, 4 %.pre35 = add i64 %.pre33, ptrtoint (i32** @gv_2 to i64) %.pre-phi38.phi.trans.insert = inttoptr i64 %.pre35 to i32* %.pre58 = load i32, i32* %.pre-phi38.phi.trans.insert, align 4 store i32 %.pre58, i32* %.reg2mem59 store i32 %57, i32* %storemerge1.lcssa.reg2mem br label LBL_24 LBL_24: %storemerge1.lcssa.reload = load i32, i32* %storemerge1.lcssa.reg2mem %.reload60 = load i32, i32* %.reg2mem59 %60 = sub i32 255, %.reload60 %61 = and i32 %60, %14 %62 = icmp slt i32 %storemerge1.lcssa.reload, 1 %63 = icmp sgt i32 %10, 1023 %or.cond14 = or i1 %63, %62 %64 = icmp slt i32 %sv_0.224.reload, 1024 store i32 %10, i32* %sv_2.3.lcssa.reg2mem store i32 %sv_0.224.reload, i32* %sv_0.1.lcssa.reg2mem store i32 %61, i32* %sv_1.1.lcssa.reg2mem store i1 %64, i1* %.lcssa.reg2mem br i1 %or.cond14, label LBL_32, label LBL_25 LBL_25: %65 = sext i32 %10 to i64 %66 = add i64 %65, %3 %67 = inttoptr i64 %66 to i8* %68 = add i32 %sv_2.423.reload, 2 store i1 %64, i1* %.reg2mem61 store i32 0, i32* %storemerge19.reg2mem store i64 %rcx.226.reload, i64* %rcx.118.reg2mem store i32 %61, i32* %sv_1.117.reg2mem store i32 %sv_0.224.reload, i32* %sv_0.116.reg2mem store i32 %10, i32* %sv_2.315.reg2mem br label LBL_26 LBL_26: %.reload62 = load i1, i1* %.reg2mem61 br i1 %.reload62, label LBL_28, label LBL_27 LBL_27: %69 = add i64 %4, 1024 %70 = inttoptr i64 %69 to i32* store i32 %sv_0.224.reload, i32* %70, align 4 br label LBL_36 LBL_28: %sv_2.315.reload = load i32, i32* %sv_2.315.reg2mem %sv_0.116.reload = load i32, i32* %sv_0.116.reg2mem %sv_1.117.reload = load i32, i32* %sv_1.117.reg2mem %storemerge19.reload = load i32, i32* %storemerge19.reg2mem %71 = sext i32 %sv_2.315.reload to i64 %72 = add i64 %71, %3 %73 = inttoptr i64 %72 to i8* %74 = load i8, i8* %73, align 1 %75 = icmp slt i8 %74, 0 %76 = and i8 %74, 64 %77 = icmp eq i8 %76, 0 %or.cond4 = icmp eq i1 %75, %77 br i1 %or.cond4, label LBL_30, label LBL_29 LBL_29: %rcx.118.reload = load i64, i64* %rcx.118.reg2mem %78 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_3, i64 0, i64 0), i64 %3, i64 %rcx.118.reload, i64 %2, i64 %1) %79 = add i32 %sv_0.116.reload, 1 %80 = load i8, i8* %67, align 1 %81 = zext i8 %80 to i64 %82 = sext i32 %sv_0.116.reload to i64 %83 = add i64 %82, %4 %84 = inttoptr i64 %83 to i8* store i8 %80, i8* %84, align 1 store i32 %68, i32* %sv_2.2.reg2mem store i32 %79, i32* %sv_0.0.reg2mem store i32 %sv_1.117.reload, i32* %sv_1.0.reg2mem store i64 %81, i64* %rcx.0.reg2mem br label LBL_31 LBL_30: %85 = mul i32 %sv_1.117.reload, 64 %86 = zext i32 %85 to i64 %87 = add i32 %sv_2.315.reload, 1 %88 = urem i8 %74, 64 %89 = zext i8 %88 to i32 %90 = or i32 %85, %89 store i32 %87, i32* %sv_2.2.reg2mem store i32 %sv_0.116.reload, i32* %sv_0.0.reg2mem store i32 %90, i32* %sv_1.0.reg2mem store i64 %86, i64* %rcx.0.reg2mem br label LBL_31 LBL_31: %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_2.2.reload = load i32, i32* %sv_2.2.reg2mem %91 = add nuw nsw i32 %storemerge19.reload, 1 %92 = icmp uge i32 %91, %storemerge1.lcssa.reload %93 = icmp sgt i32 %sv_2.2.reload, 1023 %or.cond = or i1 %92, %93 %94 = icmp slt i32 %sv_0.0.reload, 1024 store i1 %94, i1* %.reg2mem61 store i32 %91, i32* %storemerge19.reg2mem store i64 %rcx.0.reload, i64* %rcx.118.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.117.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.116.reg2mem store i32 %sv_2.2.reload, i32* %sv_2.315.reg2mem store i32 %sv_2.2.reload, i32* %sv_2.3.lcssa.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.1.lcssa.reg2mem store i1 %94, i1* %.lcssa.reg2mem br i1 %or.cond, label LBL_32, label LBL_26 LBL_32: %.lcssa.reload = load i1, i1* %.lcssa.reg2mem br i1 %.lcssa.reload, label LBL_34, label LBL_33 LBL_33: %95 = add i64 %4, 1024 %96 = inttoptr i64 %95 to i32* store i32 %sv_0.224.reload, i32* %96, align 4 br label LBL_36 LBL_34: %sv_1.1.lcssa.reload = load i32, i32* %sv_1.1.lcssa.reg2mem %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem %sv_2.3.lcssa.reload = load i32, i32* %sv_2.3.lcssa.reg2mem %97 = icmp ult i32 %sv_1.1.lcssa.reload, 65535 %spec.select = select i1 %97, i32 %sv_1.1.lcssa.reload, i32 65535 %98 = add i32 %sv_0.1.lcssa.reload, 1 %99 = sext i32 %sv_0.1.lcssa.reload to i64 %100 = trunc i32 %spec.select to i8 %101 = add i64 %99, %4 %102 = inttoptr i64 %101 to i8* store i8 %100, i8* %102, align 1 store i32 %sv_2.3.lcssa.reload, i32* %sv_2.4.be.reg2mem store i32 %98, i32* %sv_0.2.be.reg2mem store i32 %spec.select, i32* %rcx.2.be.in.reg2mem br label LBL_19 LBL_35: %sv_0.2.lcssa.reload = load i32, i32* %sv_0.2.lcssa.reg2mem %103 = add i64 %4, 1024 %104 = inttoptr i64 %103 to i32* store i32 %sv_0.2.lcssa.reload, i32* %104, align 4 br label LBL_36 LBL_36: ret i64 1 uselistorder i32 %sv_0.1.lcssa.reload, { 1, 0 } uselistorder i32 %sv_2.2.reload, { 0, 2, 1 } uselistorder i32 %sv_0.0.reload, { 0, 2, 1 } uselistorder i32 %85, { 1, 0 } uselistorder i32 %sv_1.117.reload, { 1, 0 } uselistorder i32 %sv_0.116.reload, { 0, 2, 1 } uselistorder i1 %64, { 1, 0 } uselistorder i32 %61, { 1, 0 } uselistorder i32 %57, { 0, 2, 1, 3 } uselistorder i32 %storemerge113.reload, { 1, 0, 2 } uselistorder i32 %sv_2.4.be.reload, { 1, 0 } uselistorder i32 %38, { 1, 0, 2 } uselistorder i32 %22, { 2, 1, 0, 3 } uselistorder i32 %14, { 1, 2, 0 } uselistorder i32 %10, { 1, 17, 0, 16, 15, 5, 4, 18, 3, 14, 13, 12, 11, 10, 9, 8, 7, 6, 19, 2 } uselistorder i64 %rcx.226.reload, { 0, 2, 1 } uselistorder i32 %sv_0.224.reload, { 6, 5, 1, 0, 2, 4, 3 } uselistorder i32 %sv_2.423.reload, { 2, 0, 1, 3 } uselistorder i32* %7, { 2, 1, 0 } uselistorder i64 %5, { 0, 3, 2, 1 } uselistorder i64 %4, { 3, 1, 5, 2, 4, 6, 0 } uselistorder i64 %3, { 5, 2, 3, 6, 0, 1, 4, 7 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %rcx.226.reg2mem, { 1, 0 } uselistorder i32* %sv_0.224.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.423.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.0.reg2mem, { 0, 14, 4, 2, 3, 1, 13, 12, 11, 10, 9, 8, 7, 6, 5 } uselistorder i32* %sv_3.0.reg2mem, { 0, 14, 4, 2, 3, 1, 13, 12, 11, 10, 9, 8, 7, 6, 5 } uselistorder i32* %sv_2.4.be.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.2.be.reg2mem, { 1, 0, 2 } uselistorder i32* %rcx.2.be.in.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge113.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem59, { 0, 2, 1 } uselistorder i32* %storemerge1.lcssa.reg2mem, { 0, 2, 1 } uselistorder i1* %.reg2mem61, { 1, 0, 2 } uselistorder i32* %storemerge19.reg2mem, { 1, 0, 2 } uselistorder i64* %rcx.118.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.117.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.116.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.315.reg2mem, { 1, 0, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i8 0, { 0, 2, 3, 4, 1 } uselistorder i32 1023, { 1, 0 } uselistorder i32 1024, { 1, 0, 2 } uselistorder i32 2, { 1, 0 } uselistorder i32 65535, { 1, 2, 0 } uselistorder i1 false, { 1, 0, 2 } uselistorder i32 0, { 1, 5, 0, 2, 3, 4 } uselistorder i64 1024, { 3, 0, 1, 2, 4 } uselistorder label LBL_36, { 3, 0, 1, 2 } uselistorder label LBL_26, { 1, 0 } uselistorder label LBL_24, { 1, 0 } uselistorder label LBL_21, { 1, 0 } uselistorder label LBL_19, { 1, 0 } uselistorder label LBL_17, { 13, 3, 1, 0, 4, 5, 6, 7, 8, 9, 10, 11, 12, 2 } uselistorder label LBL_1, { 1, 0 } }
1
CompRealVul
add_codec_15420
add_codec
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = trunc i64 %1 to i32 switch i32 %3, label LBL_23 [ i32 1, label LBL_1 i32 2, label LBL_7 ] LBL_1: %4 = add i64 %2, 4 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_3, label LBL_2 LBL_2: store i32 64000, i32* %5, align 4 br label LBL_3 LBL_3: %9 = add i64 %2, 8 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_5, label LBL_4 LBL_4: store i32 22050, i32* %10, align 4 br label LBL_5 LBL_5: %14 = add i64 %2, 12 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false br i1 %18, label LBL_24, label LBL_6 LBL_6: store i32 1, i32* %15, align 4 br label LBL_24 LBL_7: %19 = add i64 %2, 4 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = icmp eq i32 %21, 0 %23 = icmp eq i1 %22, false br i1 %23, label LBL_9, label LBL_8 LBL_8: store i32 64000, i32* %20, align 4 br label LBL_9 LBL_9: %24 = add i64 %2, 16 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = icmp eq i32 %26, 0 %28 = icmp eq i1 %27, false br i1 %28, label LBL_11, label LBL_10 LBL_10: store i32 5000, i32* %25, align 4 br label LBL_11 LBL_11: %29 = add i64 %2, 20 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = icmp eq i32 %31, 0 %.pre = add i64 %2, 24 %.pre1 = inttoptr i64 %.pre to i32* br i1 %32, label LBL_13, label LBL_12 LBL_12: %33 = load i32, i32* %.pre1, align 4 %34 = icmp eq i32 %33, 0 %35 = icmp eq i1 %34, false br i1 %35, label LBL_14, label LBL_13 LBL_13: store i32 160, i32* %30, align 4 store i32 128, i32* %.pre1, align 4 br label LBL_14 LBL_14: %36 = add i64 %2, 28 %37 = inttoptr i64 %36 to i32* %38 = load i32, i32* %37, align 4 %39 = icmp eq i32 %38, 0 %40 = icmp eq i1 %39, false br i1 %40, label LBL_16, label LBL_15 LBL_15: %41 = load i32, i32* %20, align 4 %42 = sdiv i32 %41, 8 store i32 %42, i32* %37, align 4 br label LBL_16 LBL_16: %43 = add i64 %2, 32 %44 = inttoptr i64 %43 to i32* %45 = load i32, i32* %44, align 4 %46 = icmp eq i32 %45, 0 %47 = icmp eq i1 %46, false br i1 %47, label LBL_18, label LBL_17 LBL_17: store i32 3, i32* %44, align 4 br label LBL_18 LBL_18: %48 = add i64 %2, 36 %49 = inttoptr i64 %48 to i32* %50 = load i32, i32* %49, align 4 %51 = icmp eq i32 %50, 0 %52 = icmp eq i1 %51, false br i1 %52, label LBL_20, label LBL_19 LBL_19: store i32 31, i32* %49, align 4 br label LBL_20 LBL_20: %53 = add i64 %2, 40 %54 = inttoptr i64 %53 to i32* %55 = load i32, i32* %54, align 4 %56 = icmp eq i32 %55, 0 %57 = icmp eq i1 %56, false br i1 %57, label LBL_22, label LBL_21 LBL_21: store i32 3, i32* %54, align 4 br label LBL_22 LBL_22: %58 = call i128 @FUNC(i64 4602678819172646912) %59 = call i64 @__asm_movsd.1(i128 %58) %60 = add i64 %2, 48 %61 = inttoptr i64 %60 to i64* store i64 %59, i64* %61, align 8 %62 = call i128 @FUNC(i64 4602678819172646912) %63 = call i64 @__asm_movsd.1(i128 %62) %64 = add i64 %2, 56 %65 = inttoptr i64 %64 to i64* store i64 %63, i64* %65, align 8 br label LBL_24 LBL_23: call void @abort() unreachable LBL_24: %66 = call i64 @FUNC(i64 64) %67 = icmp eq i64 %66, 0 store i64 0, i64* %rax.0.reg2mem br i1 %67, label LBL_26, label LBL_25 LBL_25: %68 = ptrtoint i64* %arg1 to i64 %69 = add i64 %68, 80 %70 = inttoptr i64 %69 to i32* %71 = load i32, i32* %70, align 4 %72 = add i32 %71, 1 store i32 %72, i32* %70, align 4 %73 = sext i32 %71 to i64 %74 = mul i64 %73, 8 %75 = add i64 %74, %68 %76 = inttoptr i64 %75 to i64* store i64 %66, i64* %76, align 8 %77 = inttoptr i64 %66 to i64* %78 = call i64* @memcpy(i64* %77, i64* %arg2, i32 64) %79 = ptrtoint i64* %78 to i64 store i64 %79, 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 i64 %2, { 1, 2, 3, 4, 5, 6, 0, 7, 8, 9, 10, 11, 12 } uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 0 } uselistorder label LBL_26, { 1, 0 } uselistorder label LBL_24, { 2, 1, 0 } uselistorder label LBL_13, { 1, 0 } }
1
CompRealVul
snd_usb_mixer_disconnect_6058
snd_usb_mixer_disconnect
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i8 %3 = urem i64 %1, 256 %4 = icmp eq i8 %2, 0 %5 = icmp eq i1 %4, false store i64 %3, i64* %rax.0.reg2mem br i1 %5, label LBL_6, label LBL_1 LBL_1: %6 = ptrtoint i64* %arg1 to i64 %7 = add i64 %6, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = icmp eq i64 %9, 0 br i1 %10, label LBL_3, label LBL_2 LBL_2: %11 = call i64 @FUNC(i64 %9) br label LBL_3 LBL_3: %12 = add i64 %6, 16 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = icmp eq i64 %14, 0 br i1 %15, label LBL_5, label LBL_4 LBL_4: %16 = call i64 @FUNC(i64 %14) br label LBL_5 LBL_5: %17 = bitcast i64* %arg1 to i8* store i8 1, i8* %17, align 1 store i64 %6, 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 %1, { 1, 0 } uselistorder i64 (i64)* @usb_kill_urb, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
0
CompRealVul
get_refcount_1229
get_refcount
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge1.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %3 = add i64 %1, 48 %4 = urem i64 %3, 64 %storemerge = ashr i64 %arg2, %4 %5 = add i64 %2, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = sext i32 %7 to i64 %9 = icmp ult i64 %storemerge, %8 store i64 0, i64* %rax.0.reg2mem br i1 %9, label LBL_1, label LBL_7 LBL_1: %10 = add i64 %2, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = mul i64 %storemerge, 8 %14 = add i64 %12, %13 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = and i64 %16, -4096 %18 = icmp eq i64 %17, 0 %19 = icmp eq i1 %18, false store i64 0, i64* %rax.0.reg2mem br i1 %19, label LBL_2, label LBL_7 LBL_2: %20 = add i64 %2, 16 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = call i64 @FUNC(i64 %2, i64 %22, i64 %17, i64* nonnull %sv_0) %24 = trunc i64 %23 to i32 %25 = icmp slt i32 %24, 0 %26 = icmp eq i1 %25, false br i1 %26, label LBL_4, label LBL_3 LBL_3: %27 = and i64 %23, 4294967295 store i64 %27, i64* %rax.0.reg2mem br label LBL_7 LBL_4: %28 = trunc i64 %1 to i32 %29 = add i32 %28, 16 %30 = urem i32 %29, 32 %31 = icmp eq i32 %30, 0 store i64 0, i64* %storemerge1.reg2mem br i1 %31, label %34, label %32 LBL_5: %48 = and i64 %44, 4294967295 store i64 %48, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %49 = urem i64 %42, 65536 store i64 %49, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %sv_0, { 0, 2, 1 } uselistorder i64 %2, { 0, 1, 2, 4, 3 } uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 1, 2 } uselistorder i32 0, { 1, 0, 2, 3 } uselistorder label LBL_7, { 2, 3, 4, 0, 1 } uselistorder label %34, { 1, 0 } }
0
CompRealVul
uart_hci_init_1843
uart_hci_init
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 56) %1 = inttoptr i64 %0 to i64* store i64 %0, i64* %1, align 8 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* store i64 4198710, i64* %3, align 8 %4 = add i64 %0, 16 %5 = inttoptr i64 %4 to i64* store i64 4198717, i64* %5, align 8 %6 = add i64 %0, 24 %7 = inttoptr i64 %6 to i32* store i32 1, i32* %7, align 4 %8 = call i64 @FUNC() %9 = add i64 %0, 32 %10 = inttoptr i64 %9 to i64* store i64 %8, i64* %10, align 8 %11 = inttoptr i64 %8 to i64* store i64 %0, i64* %11, align 8 %12 = load i64, i64* %10, align 8 %13 = add i64 %12, 8 %14 = inttoptr i64 %13 to i64* store i64 4198746, i64* %14, align 8 %15 = load i64, i64* %10, align 8 %16 = add i64 %15, 16 %17 = inttoptr i64 %16 to i64* store i64 4198753, i64* %17, align 8 %18 = call i64 @FUNC(i64 0, i64 4198805, i64 %0) %19 = add i64 %0, 40 %20 = inttoptr i64 %19 to i64* store i64 %18, i64* %20, align 8 %21 = call i64 @FUNC(i64 0, i64 %0, i64 0) %22 = add i64 %0, 48 %23 = inttoptr i64 %22 to i64* store i64 %21, i64* %23, align 8 %24 = call i64 @FUNC(i64 %0) ret i64 %0 uselistorder i32 1, { 2, 1, 0 } }
0
CompRealVul
snd_compr_allocate_buffer_17402
snd_compr_allocate_buffer
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = ptrtoint i32* %arg2 to i64 %4 = add i64 %3, 4 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = mul i32 %6, %2 %8 = icmp eq i64* %arg1, null store i64 0, i64* %sv_0.0.reg2mem br i1 %8, label LBL_1, label LBL_2 LBL_1: %9 = zext i32 %7 to i64 %10 = call i64 @FUNC(i64 %9, i64 0) %11 = icmp eq i64 %10, 0 %12 = icmp eq i1 %11, false store i64 %10, i64* %sv_0.0.reg2mem store i64 4294967284, i64* %storemerge.reg2mem br i1 %12, label LBL_2, label LBL_3 LBL_2: %13 = ptrtoint i64* %arg1 to i64 %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %14 = add i64 %13, 8 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = inttoptr i64 %16 to i32* store i32 %2, i32* %17, align 4 %18 = load i64, i64* %15, align 8 %19 = load i32, i32* %5, align 4 %20 = add i64 %18, 4 %21 = inttoptr i64 %20 to i32* store i32 %19, i32* %21, align 4 %22 = load i64, i64* %15, align 8 %23 = add i64 %22, 8 %24 = inttoptr i64 %23 to i64* store i64 %sv_0.0.reload, i64* %24, align 8 %25 = load i64, i64* %15, align 8 %26 = add i64 %25, 16 %27 = inttoptr i64 %26 to i32* store i32 %7, i32* %27, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %2, { 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
httpd_send_err_9154
httpd_send_err
define i64 @FUNC(i64* %arg1, i64 %arg2, i8* %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %r9.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = icmp eq i64* %arg1, null store i64 %arg6, i64* %r9.0.reg2mem br i1 %2, label LBL_3, label LBL_1 LBL_1: %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i8* %5 = load i8, i8* %4, align 1 %6 = icmp eq i8 %5, 0 store i64 %arg6, i64* %r9.0.reg2mem br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = and i64 %1, 4294967295 %8 = call i64 @FUNC(i64* nonnull %sv_0, i64 1000, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i64 %3, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0), i64 %7) %9 = ptrtoint i8* %arg3 to i64 %10 = trunc i64 %1 to i32 %11 = call i64 @FUNC(i64 %0, i32 %10, i64 %9, i64 %arg4, i64* nonnull %sv_0) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false store i64 %7, i64* %r9.0.reg2mem store i64 %11, i64* %rax.0.reg2mem br i1 %14, label LBL_5, label LBL_3 LBL_3: %r9.0.reload = load i64, i64* %r9.0.reg2mem %15 = and i64 %1, 4294967295 %16 = inttoptr i64 %15 to i8* %17 = call i64 @FUNC(i64* nonnull %sv_0, i64 1000, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0), i64 ptrtoint ([7 x i8]* @gv_1 to i64), i8* %16, i64 %r9.0.reload) %18 = ptrtoint i8* %arg3 to i64 %19 = trunc i64 %1 to i32 %20 = call i64 @FUNC(i64 %0, i32 %19, i64 %18, i64 %arg4, i64* nonnull %sv_0) %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %21, 0 %23 = icmp eq i1 %22, false store i64 %20, i64* %rax.0.reg2mem br i1 %23, label LBL_5, label LBL_4 LBL_4: %24 = call i64 @FUNC(i64 %0, i32 %19, i64 %18, i64 %arg4, i64 %arg5, i64 %arg6) store i64 %24, 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 %1, { 2, 3, 0, 1 } uselistorder i64 %0, { 2, 3, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64 (i64, i32, i64, i64, i64*)* @send_err_file, { 1, 0 } uselistorder i64 (i64*, i64, i8*, i64, i8*, i64)* @my_snprintf, { 1, 0 } uselistorder [7 x i8]* @gv_1, { 1, 0 } uselistorder i64 %arg6, { 2, 0, 1 } uselistorder i64 %arg4, { 1, 2, 0 } uselistorder i8* %arg3, { 1, 0 } uselistorder label LBL_5, { 2, 0, 1 } }
0
CompRealVul
smd_channel_probe_worker_18825
smd_channel_probe_worker
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.2.reg2mem = alloca i64 %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = call i64 @FUNC(i64 0, i64 1792) %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false store i64 0, i64* %indvars.iv.reg2mem br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = call i64 @FUNC(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_0, i64 0, i64 0), i64 1792, i64 %3, i64 %4, i64 %2, i64 %1) store i64 %8, i64* %rax.2.reg2mem br label LBL_9 LBL_2: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %9 = mul i64 %indvars.iv.reload, 4 %10 = add i64 %9, ptrtoint (i32** @gv_1 to i64) %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = zext i32 %12 to i64 %14 = icmp eq i32 %12, 0 %15 = icmp eq i1 %14, false store i64 %13, i64* %rax.0.reg2mem br i1 %15, label LBL_8, label LBL_3 LBL_3: %16 = mul nuw nsw i64 %indvars.iv.reload, 28 %17 = add i64 %16, %5 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = icmp eq i32 %19, 0 store i64 0, i64* %rax.0.reg2mem br i1 %20, label LBL_8, label LBL_4 LBL_4: %21 = add i64 %17, 4 %22 = inttoptr i64 %21 to i8* %23 = load i8, i8* %22, align 1 %24 = icmp eq i8 %23, 0 store i64 0, i64* %rax.0.reg2mem br i1 %24, label LBL_8, label LBL_5 LBL_5: %25 = add i64 %17, 20 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = inttoptr i64 %21 to i64* %29 = call i32 @memcmp(i64* %28, i64* bitcast ([4 x i8]* @gv_2 to i64*), i32 3) %30 = load i32, i32* %26, align 4 %31 = urem i32 %30, 256 %32 = icmp ne i32 %31, 1 %33 = icmp eq i32 %31, 2 %34 = icmp eq i1 %33, false %or.cond = icmp eq i1 %32, %34 br i1 %or.cond, label LBL_7, label LBL_6 LBL_6: %35 = icmp eq i32 %29, 0 %36 = icmp eq i1 %35, false %37 = and i32 %27, -3841 %38 = or i32 %37, 256 %sv_0.0 = select i1 %36, i32 %27, i32 %38 %39 = add i64 %17, 24 %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 4 %42 = zext i32 %sv_0.0 to i64 %43 = zext i32 %41 to i64 %44 = call i64 @FUNC(i64 %21, i64 %43, i64 %42) br label LBL_7 LBL_7: store i32 1, i32* %11, align 4 store i64 %indvars.iv.reload, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 64 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %rax.0.reload, i64* %rax.2.reg2mem br i1 %exitcond, label LBL_9, label LBL_2 LBL_9: %rax.2.reload = load i64, i64* %rax.2.reg2mem ret i64 %rax.2.reload uselistorder i32 %31, { 1, 0 } uselistorder i64 %indvars.iv.reload, { 1, 0, 2, 3 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i32 2, { 1, 2, 0 } uselistorder i32 256, { 1, 0 } uselistorder i8 0, { 1, 2, 0 } uselistorder i64 4, { 2, 0, 1 } uselistorder i1 false, { 1, 0, 2, 3, 4 } uselistorder label LBL_8, { 3, 0, 1, 2 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
formant_postfilter_7408
formant_postfilter
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %storemerge1.in.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.06.reg2mem = alloca i64 %sv_2.07.reg2mem = alloca i64 %storemerge8.reg2mem = alloca i32 %sv_3.010.reg2mem = alloca i64 %storemerge312.reg2mem = alloca i32 %indvars.iv17.reg2mem = alloca i64 %indvars.iv14.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i64* %arg2 to i64 %2 = ptrtoint i64* %arg1 to i64 %sv_4 = alloca i64, align 8 %sv_5 = alloca i64, align 8 %sv_6 = alloca i64, align 8 %sv_7 = alloca i64, align 8 %sv_8 = alloca i64, align 8 %sv_9 = alloca i64, align 8 %sv_10 = alloca i64, align 8 %sv_11 = alloca i64, align 8 %3 = ptrtoint i64* %sv_11 to i64 %4 = call i64* @memcpy(i64* %arg3, i64* %arg1, i32 20) %5 = add i64 %2, 20 %6 = inttoptr i64 %5 to i64* %7 = call i64* @memcpy(i64* nonnull %sv_10, i64* %6, i32 40) %8 = ptrtoint i64* %sv_10 to i64 store i64 10, i64* %indvars.iv17.reg2mem store i32 0, i32* %storemerge312.reg2mem store i64 %1, i64* %sv_3.010.reg2mem br label LBL_3 LBL_1: %indvars.iv14.reload = load i64, i64* %indvars.iv14.reg2mem %9 = mul i64 %indvars.iv14.reload, 2 %10 = add i64 %9, %sv_3.010.reload %11 = inttoptr i64 %10 to i16* %12 = load i16, i16* %11, align 2 %13 = sext i16 %12 to i32 %14 = add i64 %9, ptrtoint (i64* @gv_0 to i64) %15 = inttoptr i64 %14 to i16* %16 = load i16, i16* %15, align 2 %17 = sext i16 %16 to i32 %18 = mul nsw i32 %17, %13 %19 = sub i32 16384, %18 %20 = udiv i32 %19, 32768 %21 = trunc i32 %20 to i16 %22 = add i64 %9, %3 %23 = add i64 %22, -80 %24 = inttoptr i64 %23 to i16* store i16 %21, i16* %24, align 2 %25 = load i16, i16* %11, align 2 %26 = sext i16 %25 to i32 %27 = add i64 %9, add (i64 ptrtoint (i64* @gv_0 to i64), i64 20) %28 = inttoptr i64 %27 to i16* %29 = load i16, i16* %28, align 2 %30 = sext i16 %29 to i32 %31 = mul nsw i32 %30, %26 %32 = sub i32 16384, %31 %33 = udiv i32 %32, 32768 %34 = trunc i32 %33 to i16 %35 = add i64 %22, -60 %36 = inttoptr i64 %35 to i16* store i16 %34, i16* %36, align 2 %indvars.iv.next15 = add nuw nsw i64 %indvars.iv14.reload, 1 %exitcond16 = icmp eq i64 %indvars.iv.next15, 10 store i64 %indvars.iv.next15, i64* %indvars.iv14.reg2mem br i1 %exitcond16, label LBL_2, label LBL_1 LBL_2: %37 = mul i64 %indvars.iv17.reload, 4 %38 = add i64 %37, %8 %39 = mul i64 %indvars.iv17.reload, 2 %40 = add i64 %39, %0 %41 = call i64 @FUNC(i64* nonnull %sv_9, i64* nonnull %sv_8, i64 %40, i64 %38) %42 = add i64 %sv_3.010.reload, 20 %indvars.iv.next18 = add nuw nsw i64 %indvars.iv17.reload, 40 %43 = add nuw nsw i32 %storemerge312.reload, 1 %exitcond19 = icmp eq i32 %43, 4 store i64 %indvars.iv.next18, i64* %indvars.iv17.reg2mem store i32 %43, i32* %storemerge312.reg2mem store i64 %42, i64* %sv_3.010.reg2mem br i1 %exitcond19, label LBL_4, label LBL_3 LBL_3: %sv_3.010.reload = load i64, i64* %sv_3.010.reg2mem %storemerge312.reload = load i32, i32* %storemerge312.reg2mem %indvars.iv17.reload = load i64, i64* %indvars.iv17.reg2mem store i64 0, i64* %indvars.iv14.reg2mem br label LBL_1 LBL_4: %44 = add i64 %0, 320 %45 = inttoptr i64 %44 to i64* %46 = call i64* @memcpy(i64* %arg1, i64* %45, i32 20) %47 = call i64* @memcpy(i64* %6, i64* nonnull %sv_7, i32 20) %48 = add i64 %0, 20 %49 = ptrtoint i64* %sv_6 to i64 %50 = add i64 %2, 40 %51 = inttoptr i64 %50 to i32* store i32 0, i32* %storemerge8.reg2mem store i64 %49, i64* %sv_2.07.reg2mem store i64 %48, i64* %sv_1.06.reg2mem br label LBL_5 LBL_5: %sv_1.06.reload = load i64, i64* %sv_1.06.reg2mem %sv_2.07.reload = load i64, i64* %sv_2.07.reg2mem %storemerge8.reload = load i32, i32* %storemerge8.reg2mem %52 = inttoptr i64 %sv_1.06.reload to i64* %53 = call i64* @memcpy(i64* nonnull %sv_5, i64* %52, i32 80) %54 = call i64 @FUNC(i64* nonnull %sv_5, i64 40) %55 = call i64 @FUNC(i64* nonnull %sv_5, i64* nonnull %sv_4, i64 39, i64 1) %56 = call i64 @FUNC(i64* nonnull %sv_5, i64* nonnull %sv_5, i64 40, i64 1) %57 = trunc i64 %56 to i32 %58 = ashr i32 %57, 16 %59 = icmp eq i32 %58, 0 store i32 0, i32* %sv_0.0.reg2mem br i1 %59, label LBL_7, label LBL_6 LBL_6: %60 = trunc i64 %55 to i32 %61 = ashr i32 %60, 2 %62 = ashr i32 %60, 31 %63 = zext i32 %61 to i64 %64 = zext i32 %62 to i64 %65 = mul i64 %64, 4294967296 %66 = or i64 %65, %63 %67 = zext i32 %58 to i64 %68 = sdiv i64 %66, %67 %69 = trunc i64 %68 to i32 store i32 %69, i32* %sv_0.0.reg2mem br label LBL_7 LBL_7: %70 = trunc i64 %54 to i32 %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %71 = load i32, i32* %51, align 4 %72 = mul i32 %71, 3 %73 = add i32 %sv_0.0.reload, 2 %74 = add i32 %73, %72 %75 = ashr i32 %74, 2 store i32 %75, i32* %51, align 4 %76 = sub nsw i32 0, %75 %77 = and i32 %76, -8 store i64 0, i64* %indvars.iv.reg2mem br label LBL_8 LBL_8: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %78 = mul i64 %indvars.iv.reload, 4 %79 = add i64 %78, %sv_2.07.reload %80 = inttoptr i64 %79 to i32* %81 = load i32, i32* %80, align 4 %82 = add i64 %79, -4 %83 = inttoptr i64 %82 to i32* %84 = load i32, i32* %83, align 4 %85 = ashr i32 %84, 16 %86 = mul i32 %85, %77 %87 = add i32 %86, %81 %88 = sext i32 %87 to i64 %89 = call i64 @FUNC(i64 %88) %90 = trunc i64 %89 to i32 %91 = udiv i32 %90, 65536 %92 = mul i64 %indvars.iv.reload, 2 %93 = add i64 %92, %sv_1.06.reload %94 = trunc i32 %91 to i16 %95 = inttoptr i64 %93 to i16* store i16 %94, i16* %95, align 2 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 40 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_9, label LBL_8 LBL_9: %96 = mul i32 %70, 2 %97 = add i32 %96, 4 %98 = icmp slt i32 %97, 0 %99 = icmp eq i1 %98, false br i1 %99, label LBL_11, label LBL_10 LBL_10: %sext = mul i64 %56, 4294967296 %100 = ashr exact i64 %sext, 32 %101 = sub i32 60, %96 %102 = and i32 %101, 62 %103 = zext i32 %102 to i64 %rdx.0 = shl i64 %100, %103 %104 = call i64 @FUNC(i64 %rdx.0) store i64 %104, i64* %storemerge1.in.reg2mem br label LBL_12 LBL_11: %105 = and i64 %56, 4294967295 %106 = and i32 %97, 30 %107 = icmp eq i32 %106, 0 %108 = ashr i32 %57, %106 %109 = zext i32 %108 to i64 %rdx.1 = select i1 %107, i64 %105, i64 %109 store i64 %rdx.1, i64* %storemerge1.in.reg2mem br label LBL_12 LBL_12: %storemerge1.in.reload = load i64, i64* %storemerge1.in.reg2mem %storemerge1 = trunc i64 %storemerge1.in.reload to i32 %110 = call i64 @FUNC(i64 %2, i64 %sv_1.06.reload, i32 %storemerge1) %111 = add i64 %sv_1.06.reload, 80 %112 = add i64 %sv_2.07.reload, 160 %113 = add nuw nsw i32 %storemerge8.reload, 1 %exitcond13 = icmp eq i32 %113, 4 store i32 %113, i32* %storemerge8.reg2mem store i64 %112, i64* %sv_2.07.reg2mem store i64 %111, i64* %sv_1.06.reg2mem br i1 %exitcond13, label LBL_13, label LBL_5 LBL_13: ret i64 %110 uselistorder i32 %96, { 1, 0 } uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i32 %60, { 1, 0 } uselistorder i64 %56, { 1, 0, 2 } uselistorder i64 %sv_1.06.reload, { 1, 0, 3, 2 } uselistorder i64 %indvars.iv17.reload, { 1, 2, 0 } uselistorder i64 %sv_3.010.reload, { 1, 0 } uselistorder i64 %9, { 0, 3, 1, 2 } uselistorder i64* %sv_10, { 1, 0 } uselistorder i64 %0, { 1, 2, 0 } uselistorder i64* %indvars.iv14.reg2mem, { 2, 1, 0 } uselistorder i32* %storemerge8.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.07.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.06.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32 2, { 0, 2, 1, 3 } uselistorder i64 (i64*, i64*, i64, i64)* @dot_product, { 1, 0 } uselistorder i32 4, { 1, 2, 0 } uselistorder i64 40, { 1, 2, 3, 4, 0 } uselistorder i64 1, { 1, 2, 3, 0 } uselistorder i64 ptrtoint (i64* @gv_0 to i64), { 1, 0 } uselistorder i64 10, { 1, 0 } uselistorder i64 20, { 2, 1, 0, 3 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 4, 3, 2, 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
CompRealVul
teletext_init_decoder_15327
teletext_init_decoder
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rdi = alloca i64, align 8 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %sv_1 = alloca i32, align 4 %sv_2 = alloca i32, align 4 %5 = bitcast i32* %sv_0 to i64* %6 = bitcast i32* %sv_1 to i64* %7 = bitcast i32* %sv_2 to i64* %8 = call i64 @FUNC(i64* nonnull %5, i64* nonnull %6, i64* nonnull %7) %9 = load i32, i32* %sv_0, align 4 %10 = icmp eq i32 %9, 0 %11 = load i32, i32* %sv_1, align 4 %12 = icmp ult i32 %11, 3 %or.cond = icmp eq i1 %10, %12 br i1 %or.cond, label LBL_1, label LBL_3 LBL_1: %13 = icmp eq i32 %11, 2 %14 = icmp eq i1 %13, false %15 = load i32, i32* %sv_2, align 4 %16 = icmp ult i32 %15, 26 %or.cond6 = or i1 %14, %16 br i1 %or.cond6, label LBL_2, label LBL_3 LBL_2: %17 = ptrtoint i32* %sv_1 to i64 %18 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0), i64 %17, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_7 LBL_3: %19 = trunc i64 %3 to i32 %20 = icmp eq i32 %19, 0 %21 = icmp eq i1 %20, false %.pre = add i64 %4, 8 br i1 %21, label LBL_5, label LBL_4 LBL_4: %22 = inttoptr i64 %.pre to i32* store i32 328, i32* %22, align 4 %23 = add i64 %4, 12 %24 = inttoptr i64 %23 to i32* store i32 300, i32* %24, align 4 br label LBL_5 LBL_5: %25 = bitcast i64* %rdi to i32* %26 = inttoptr i64 %.pre to i64* store i64 0, i64* %26, align 8 %27 = add i64 %4, 16 %28 = inttoptr i64 %27 to i64* store i64 0, i64* %28, align 8 %29 = add i64 %4, 24 %30 = inttoptr i64 %29 to i32* store i32 0, i32* %30, align 4 %31 = add i64 %4, 32 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = call i64 @FUNC(i64 %4, i64 1, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i64 %33, i64 %2, i64 %1) %35 = load i32, i32* %25, align 8 %36 = icmp eq i32 %35, 1 %37 = icmp eq i1 %36, false store i64 0, i64* %rax.0.reg2mem br i1 %37, label LBL_7, label LBL_6 LBL_6: %38 = call i64 @FUNC(i64 %4) store i64 %38, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %sv_1, { 1, 0, 2 } uselistorder i64 %4, { 2, 3, 4, 5, 6, 1, 0, 7 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 } uselistorder label LBL_7, { 1, 0, 2 } uselistorder label LBL_5, { 1, 0 } }
1
CompRealVul
ide_test_start_2237
ide_test_start
define i64 @FUNC(i8* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %2 = load i64, i64* %1 %3 = load i128, i128* %0 %4 = load i128, i128* %0 %5 = load i128, i128* %0 %6 = load i128, i128* %0 %7 = load i128, i128* %0 %8 = load i128, i128* %0 %9 = load i128, i128* %0 %10 = load i128, i128* %0 %sv_0 = alloca i32, align 4 %11 = trunc i64 %2 to i8 %12 = icmp eq i8 %11, 0 br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = call i64 @FUNC(i128 %10) %14 = call i64 @FUNC(i128 %9) %15 = call i64 @FUNC(i128 %8) %16 = call i64 @FUNC(i128 %7) %17 = call i64 @FUNC(i128 %6) %18 = call i64 @FUNC(i128 %5) %19 = call i64 @FUNC(i128 %4) %20 = call i64 @FUNC(i128 %3) br label LBL_2 LBL_2: store i32 8, i32* %sv_0, align 4 %21 = ptrtoint i8* %arg1 to i64 %22 = call i64 @FUNC(i64 %21, i32* nonnull %sv_0) %23 = call i64 @FUNC(i64 %22) %24 = load i64, i64* @gv_0, align 8 %25 = call i64 @FUNC(i64 %24, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0)) %26 = call i64 @FUNC() store i64 %26, i64* @gv_2, align 8 %27 = call i64 @FUNC(i64 %22) ret i64 %27 uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 } }
0
CompRealVul
ppc_tlb_invalidate_all_16709
ppc_tlb_invalidate_all
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = and i64 %1, 4294967295 store i64 %3, i64* @0, align 8 switch i32 %2, label LBL_8 [ i32 1, label LBL_1 i32 2, label LBL_1 i32 3, label LBL_2 i32 4, label LBL_2 i32 5, label LBL_3 i32 6, label LBL_4 i32 7, label LBL_5 i32 8, label LBL_6 i32 9, label LBL_7 i32 10, label LBL_7 ] LBL_1: %4 = ptrtoint i32* %arg1 to i64 %5 = call i64 @FUNC(i64 %4) store i64 %5, i64* %rax.0.reg2mem br label LBL_9 LBL_2: %6 = ptrtoint i32* %arg1 to i64 %7 = call i64 @FUNC(i64 %6) store i64 %7, i64* %rax.0.reg2mem br label LBL_9 LBL_3: %8 = ptrtoint i32* %arg1 to i64 %9 = call i64 @FUNC(i64 %8, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0)) unreachable LBL_4: %10 = ptrtoint i32* %arg1 to i64 %11 = call i64 @FUNC(i64 %10, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_1, i64 0, i64 0)) unreachable LBL_5: %12 = ptrtoint i32* %arg1 to i64 %13 = call i64 @FUNC(i64 %12, i64 1) store i64 %13, i64* %rax.0.reg2mem br label LBL_9 LBL_6: %14 = ptrtoint i32* %arg1 to i64 %15 = call i64 @FUNC(i64 %14, i64 4294967295, i64 0) store i64 %15, i64* %rax.0.reg2mem br label LBL_9 LBL_7: %16 = ptrtoint i32* %arg1 to i64 %17 = call i64 @FUNC(i64 %16, i64 1) store i64 %17, i64* %rax.0.reg2mem br label LBL_9 LBL_8: %18 = ptrtoint i32* %arg1 to i64 %19 = call i64 @FUNC(i64 %18, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0)) unreachable LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 2, 1 } uselistorder i64 (i64, i64)* @tlb_flush, { 1, 0 } uselistorder i64 (i64, i8*)* @cpu_abort, { 0, 2, 1 } uselistorder i64 4294967295, { 1, 0 } uselistorder i32* %arg1, { 7, 6, 5, 4, 3, 2, 1, 0 } }
1
CompRealVul
do_rt_sigreturn_17205
do_rt_sigreturn
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %2 = load i64, i64* %0 %3 = call i64 @FUNC(i64 0, i64 %2, i64 %1, i64 1) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_4, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64* nonnull %sv_0, i64 %2) %7 = call i64 @FUNC(i64 2, i64* nonnull %sv_0, i64 0) %8 = add i64 %2, 128 %9 = call i64 @FUNC(i64 %1, i64 %8) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_4, label LBL_2 LBL_2: %13 = add i64 %1, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = add i64 %1, 128 %17 = call i64 @FUNC(i64 %16, i64 0, i64 %15) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, -14 br i1 %19, label LBL_4, label LBL_3 LBL_3: %20 = call i64 @FUNC(i64 %2, i64 %1, i64 0) %21 = add i64 %1, 16 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 store i64 %23, i64* %storemerge.reg2mem br label LBL_5 LBL_4: %24 = call i64 @FUNC(i64 %2, i64 %1, i64 0) %25 = call i64 @FUNC(i64 11) store i64 %25, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %1, { 5, 0, 1, 2, 3, 4, 6 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64, i64)* @unlock_user_struct, { 1, 0 } uselistorder i64 1, { 1, 0 } }
1
CompRealVul
__kvm_migrate_pit_timer_6576
__kvm_migrate_pit_timer
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 = and i64 %1, 4294967295 %3 = xor i64 %2, 1 %4 = trunc i64 %3 to i8 %5 = icmp eq i8 %4, 0 %6 = icmp eq i1 %5, false %7 = icmp eq i64* %arg1, null %or.cond = or i1 %7, %6 store i64 %3, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_4, label LBL_1 LBL_1: %8 = call i64 @FUNC(i64 %0) %9 = call i64 @FUNC(i64 %0) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_3, label LBL_2 LBL_2: %12 = call i64 @FUNC(i64 %0, i64 0) br label LBL_3 LBL_3: %13 = call i64 @FUNC(i64 %0) store i64 %13, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 1, 0, 3, 2, 4 } uselistorder i64 1, { 2, 0, 1 } uselistorder label LBL_4, { 1, 0 } }
0
CompRealVul
avfilter_filter_samples_12085
avfilter_filter_samples
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge1.reg2mem = alloca i32 %.reg2mem2 = alloca i64 %.reg2mem = alloca i64 %rsi = alloca i64, align 8 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 0, i64 %1, i64 1) %3 = add i64 %0, 20 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = add i64 %1, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = and i32 %8, %5 %10 = icmp eq i32 %9, 0 br i1 %10, label LBL_5, label LBL_1 LBL_1: %11 = load i32, i32* inttoptr (i64 4 to i32*), align 4 %12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @gv_0, i64 0, i64 0), i32 %5, i32 0, i32 %11) %13 = call i64* @malloc(i32 32) %14 = ptrtoint i64* %13 to i64 %15 = add i64 %1, 8 %16 = inttoptr i64 %15 to i64* store i64 %14, i64* %16, align 8 %17 = add i64 %0, 24 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = add i64 %14, 24 %21 = inttoptr i64 %20 to i32* store i32 %19, i32* %21, align 4 %22 = load i64, i64* %16, align 8 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = bitcast i64* %rsi to i32* %26 = load i32, i32* %25, align 8 %27 = inttoptr i64 %24 to i32* store i32 %26, i32* %27, align 4 %28 = add i64 %0, 8 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = icmp eq i64 %32, 0 %34 = icmp eq i1 %33, false br i1 %34, label LBL_2, label LBL_4 LBL_2: %35 = add i64 %0, 16 %36 = inttoptr i64 %35 to i32* store i64 %32, i64* %.reg2mem store i64 0, i64* %.reg2mem2 store i32 0, i32* %storemerge1.reg2mem br label LBL_3 LBL_3: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem %.reload3 = load i64, i64* %.reg2mem2 %.reload = load i64, i64* %.reg2mem %37 = load i32, i32* %36, align 4 %38 = load i64, i64* %16, align 8 %39 = add i64 %38, 8 %40 = inttoptr i64 %39 to i64* %41 = load i64, i64* %40, align 8 %42 = add i64 %41, %.reload3 %43 = inttoptr i64 %42 to i64* %44 = load i64, i64* %43, align 8 %45 = inttoptr i64 %44 to i64* %46 = inttoptr i64 %.reload to i64* %47 = call i64* @memcpy(i64* %45, i64* %46, i32 %37) %48 = add i32 %storemerge1.reload, 1 %49 = load i64, i64* %29, align 8 %50 = sext i32 %48 to i64 %51 = mul i64 %50, 8 %52 = add i64 %49, %51 %53 = inttoptr i64 %52 to i64* %54 = load i64, i64* %53, align 8 %55 = icmp eq i64 %54, 0 %56 = icmp eq i1 %55, false store i64 %54, i64* %.reg2mem store i64 %51, i64* %.reg2mem2 store i32 %48, i32* %storemerge1.reg2mem br i1 %56, label LBL_3, label LBL_4 LBL_4: call void @free(i64* %arg2) br label LBL_6 LBL_5: %57 = add i64 %1, 8 %58 = inttoptr i64 %57 to i64* store i64 %0, i64* %58, align 8 br label LBL_6 LBL_6: ret i64 %1 uselistorder i64* %29, { 1, 0 } uselistorder i32 %5, { 1, 0 } uselistorder i64 %1, { 2, 0, 3, 1, 4 } uselistorder i64 %0, { 4, 1, 0, 2, 3 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem2, { 1, 0, 2 } uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 } uselistorder i1 false, { 1, 0 } uselistorder i64 8, { 1, 0, 2, 3, 4 } uselistorder label LBL_3, { 1, 0 } }
1