dataset
stringclasses
1 value
file
stringlengths
7
51
fun_name
stringlengths
2
45
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
CompRealVul
BD_DecFieldReplace_6982
BD_DecFieldReplace
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = ptrtoint i64* %arg2 to i64 %2 = ptrtoint i64* %arg1 to i64 %3 = load i64, i64* %0 %sv_1 = alloca i32, align 4 %sv_2 = alloca i32, align 4 %4 = add i64 %2, 24 %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 = zext i32 %8 to i64 %10 = call i64 @FUNC(i64 %1, i64 %9) %11 = add i64 %10, 1 %12 = add i64 %2, 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = and i64 %11, 4294967295 %16 = call i64 @FUNC(i64 %14, i64 %15) %17 = icmp eq i64 %16, 0 %18 = icmp eq i1 %17, false store i64 4294967295, i64* %rax.0.shrunk.reg2mem br i1 %18, label LBL_1, label LBL_11 LBL_1: %19 = call i64 @FUNC(i64 %16, i64 0) %20 = add i64 %19, 4294967295 %21 = and i64 %20, 4294967295 %22 = call i64 @FUNC(i64 %21) %23 = and i64 %22, 4294967295 %24 = call i64 @FUNC(i64 %1, i64 %23) %25 = trunc i64 %24 to i32 %26 = bitcast i32* %sv_2 to i64* %27 = call i64 @FUNC(i64 %16, i32 %25, i64 0, i64* nonnull %26) %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_2, label LBL_11 LBL_2: %30 = load i32, i32* %sv_2, align 4 %31 = zext i32 %30 to i64 %32 = bitcast i32* %sv_1 to i64* %33 = call i64 @FUNC(i64 %16, i64 %31, i64* nonnull %32) %34 = trunc i64 %33 to i32 %35 = icmp eq i32 %34, 0 store i64 %33, i64* %rax.0.shrunk.reg2mem br i1 %35, label LBL_3, label LBL_11 LBL_3: %36 = load i32, i32* %sv_1, align 4 %37 = icmp eq i32 %36, 1 %38 = icmp eq i1 %37, false br i1 %38, label LBL_5, label LBL_4 LBL_4: %39 = inttoptr i64 %3 to i64* %40 = load i64, i64* %39, align 8 store i64 0, i64* %39, align 8 store i64 %40, i64* %sv_0.0.reg2mem br label LBL_7 LBL_5: %41 = zext i32 %36 to i64 %42 = call i64 @FUNC(i64 %41) %43 = trunc i64 %42 to i32 %44 = icmp eq i32 %43, 0 %45 = icmp eq i1 %44, false store i64 0, i64* %sv_0.0.reg2mem br i1 %45, label LBL_7, label LBL_6 LBL_6: %46 = load i32, i32* %sv_1, align 4 %47 = zext i32 %46 to i64 %48 = call i64 @FUNC(i64 %3, i64 %47) %49 = trunc i64 %48 to i32 %50 = icmp eq i32 %49, 0 store i64 0, i64* %sv_0.0.reg2mem store i64 %48, i64* %rax.0.shrunk.reg2mem br i1 %50, label LBL_7, label LBL_11 LBL_7: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %51 = add i64 %2, 16 %52 = inttoptr i64 %51 to i32* store i32 1, i32* %52, align 4 %53 = call i64 @FUNC(i64 %2, i64 %1, i64 %16, i64* nonnull %32, i64 0) store i32 0, i32* %52, align 4 %54 = load i32, i32* %sv_1, align 4 %55 = icmp eq i32 %54, 1 %56 = icmp eq i1 %55, false br i1 %56, label LBL_9, label LBL_8 LBL_8: %57 = call i64 @FUNC(i64 %16, i64 %sv_0.0.reload) br label LBL_9 LBL_9: %58 = trunc i64 %53 to i32 %59 = icmp eq i32 %58, 0 %60 = icmp eq i1 %59, false store i64 %53, i64* %rax.0.shrunk.reg2mem br i1 %60, label LBL_11, label LBL_10 LBL_10: %61 = call i64 @FUNC(i64 %16, i64* nonnull %32) store i64 %53, i64* %rax.0.shrunk.reg2mem br label LBL_11 LBL_11: %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295 ret i64 %rax.0 uselistorder i64 %53, { 1, 0, 2 } uselistorder i64 %16, { 1, 0, 2, 3, 4, 5, 6 } uselistorder i32* %sv_1, { 2, 1, 0, 3 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 2, 1, 3, 4, 5, 6 } uselistorder i64 (i64, i64)* @gf_bs_read_int, { 1, 0 } uselistorder label LBL_11, { 1, 0, 2, 3, 4, 5 } }
0
CompRealVul
select_voice_1074
select_voice
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = inttoptr i64 %arg2 to i8* store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %4 = mul i64 %indvars.iv.reload, 32 %5 = add i64 %4, ptrtoint ([7 x i8]** @gv_0 to i64) %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = inttoptr i64 %7 to i8* %9 = call i32 @strcmp(i8* %8, i8* %3) %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_7, label LBL_2 LBL_2: %12 = add i64 %4, add (i64 ptrtoint ([7 x i8]** @gv_0 to i64), i64 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* %.reg2mem br i1 %16, label LBL_4, label LBL_3 LBL_3: %17 = add i64 %4, add (i64 ptrtoint ([7 x i8]** @gv_0 to i64), i64 16) %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %sext = mul i64 %19, 4294967296 %20 = ashr exact i64 %sext, 32 store i64 %20, i64* %13, align 8 store i64 %20, i64* %.reg2mem br label LBL_4 LBL_4: %.reload = load i64, i64* %.reg2mem %21 = icmp eq i64 %.reload, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_6, label LBL_5 LBL_5: %23 = call i64 @FUNC(i64 %arg3, i64 0, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_1, i64 0, i64 0), i64 %arg2, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_9 LBL_6: %24 = add i64 %4, add (i64 ptrtoint ([7 x i8]** @gv_0 to i64), i64 24) %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 8 %27 = add i32 %26, 1 store i32 %27, i32* %25, align 8 store i64 %5, i64* %arg1, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_9 LBL_7: %28 = icmp eq i64 %indvars.iv.reload, 1 store i64 1, i64* %indvars.iv.reg2mem br i1 %28, label LBL_8, label LBL_1 LBL_8: %29 = call i64 @FUNC(i64 %arg3, i64 0, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_2, i64 0, i64 0), i64 %arg2, i64 %2, i64 %1) %30 = call i64 @FUNC(i64 %arg3, i64 1, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_3, i64 0, i64 0), i64 %arg2, i64 %2, i64 %1) %31 = call i64 @FUNC(i64 %arg3, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_4, i64 0, i64 0)) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %4, { 3, 2, 1, 0 } uselistorder i64 %2, { 1, 2, 0 } uselistorder i64 %1, { 1, 2, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i64 1, { 3, 0, 1, 2 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0, 2 } uselistorder i64 32, { 2, 0, 1 } uselistorder i64 %arg3, { 2, 1, 0, 3 } uselistorder label LBL_9, { 2, 0, 1 } }
0
CompRealVul
dump_op_count_14929
dump_op_count
define i64 @FUNC() local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %0 = call %_IO_FILE* @fopen(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0)) store i64 5, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %1 = mul i64 %indvars.iv.reload, 8 %2 = add i64 %1, ptrtoint (i64* @gv_2 to i64) %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = add i64 %1, ptrtoint ([10 x i8*]* @gv_3 to i64) %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = inttoptr i64 %7 to i8* %9 = trunc i64 %4 to i32 %10 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_4, i64 0, i64 0), i8* %8, i32 %9) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 10 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %11 = call i32 @fclose(%_IO_FILE* %0) %12 = sext i32 %11 to i64 ret i64 %12 uselistorder i64 %1, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } }
1
CompRealVul
cryptd_hash_init_tfm_8585
cryptd_hash_init_tfm
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %1) %3 = call i64 @FUNC(i64 %0) %4 = call i64 @FUNC(i64 %2) %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = call i64 @FUNC(i64 %4) store i64 %8, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %9 = inttoptr i64 %3 to i64* store i64 %4, i64* %9, align 8 %10 = call i64 @FUNC(i64 %4) %11 = call i64 @FUNC(i64 %0) %12 = call i64 @FUNC(i64 %11, i64 %10) store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %4, { 1, 2, 0, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
0
CompRealVul
must_strcat_pid_8232
must_strcat_pid
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %rsi.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %rdx.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1 = alloca i64, align 8 %0 = zext i32 %arg4 to i64 %1 = bitcast i64* %sv_1 to i8* %2 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i64 %0) %3 = icmp eq i64* %arg1, null %4 = icmp eq i1 %3, false br i1 %4, label LBL_3, label LBL_1 LBL_1: %5 = call i64* @malloc(i32 64) %6 = icmp eq i64* %5, null br i1 %6, label LBL_1, label LBL_2 LBL_2: %7 = ptrtoint i64* %5 to i64 store i64 %7, i64* %arg1, align 8 store i64 64, i64* %arg3, align 8 store i64 %7, i64* %sv_0.1.reg2mem store i64 ptrtoint ([4 x i8]* @gv_0 to i64), i64* %rsi.0.reg2mem br label LBL_6 LBL_3: %8 = ptrtoint i64* %arg1 to i64 %9 = ptrtoint i64* %arg3 to i64 %10 = ptrtoint i64* %arg2 to i64 %11 = call i32 @strlen(i8* nonnull %1) %12 = sext i32 %11 to i64 %13 = mul i64 %12, 8 %14 = add nsw i64 %13, 8 %15 = add i64 %14, %10 %16 = icmp ult i64 %15, %9 store i64 %8, i64* %sv_0.0.reg2mem store i64 %14, i64* %rdx.0.reg2mem store i64 %8, i64* %sv_0.1.reg2mem store i64 ptrtoint ([4 x i8]* @gv_0 to i64), i64* %rsi.0.reg2mem br i1 %16, label LBL_6, label LBL_4 LBL_4: %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %17 = add i64 %rdx.0.reload, 64 %18 = inttoptr i64 %sv_0.0.reload to i64* %19 = trunc i64 %17 to i32 %20 = call i64* @realloc(i64* %18, i32 %19) %21 = ptrtoint i64* %20 to i64 %22 = icmp eq i64* %20, null store i64 %21, i64* %sv_0.0.reg2mem store i64 %17, i64* %rdx.0.reg2mem br i1 %22, label LBL_4, label LBL_5 LBL_5: store i64 %21, i64* %arg1, align 8 %23 = add i64 %21, 64 store i64 %23, i64* %arg3, align 8 store i64 %21, i64* %sv_0.1.reg2mem store i64 %17, i64* %rsi.0.reg2mem br label LBL_6 LBL_6: %rsi.0.reload = load i64, i64* %rsi.0.reg2mem %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %24 = call i32 @strlen(i8* nonnull %1) %25 = add i64 %rsi.0.reload, %sv_0.1.reload %26 = ptrtoint i64* %sv_1 to i64 %27 = inttoptr i64 %25 to i64* %28 = call i64* @memcpy(i64* %27, i64* nonnull %sv_1, i32 %24) %29 = call i32 @strlen(i8* nonnull %1) %30 = sext i32 %29 to i64 %31 = add i64 %30, %26 store i64 %31, i64* %arg2, align 8 %32 = add i64 %sv_0.1.reload, %26 %33 = inttoptr i64 %32 to i8* store i8 0, i8* %33, align 1 ret i64 %32 uselistorder i64 %32, { 1, 0 } uselistorder i64 %sv_0.1.reload, { 1, 0 } uselistorder i64 %21, { 0, 3, 2, 1 } uselistorder i64* %sv_1, { 0, 2, 1 } uselistorder i64* %sv_0.0.reg2mem, { 2, 0, 1 } uselistorder i64* %rdx.0.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %rsi.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64 8, { 1, 0 } uselistorder i32 (i8*)* @strlen, { 2, 1, 0 } uselistorder i64 ptrtoint ([4 x i8]* @gv_0 to i64), { 1, 0 } uselistorder [4 x i8]* @gv_0, { 1, 0 } uselistorder i64* %arg3, { 0, 2, 1 } uselistorder i64* %arg1, { 0, 3, 1, 2 } uselistorder label LBL_6, { 1, 0, 2 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
CompRealVul
bdrv_is_inserted_2207
bdrv_is_inserted
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null %2 = icmp eq i1 %1, false %spec.select = select i1 %2, i64 %0, i64 0 ret i64 %spec.select }
0
CompRealVul
flask_security_user_12161
flask_security_user
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.in.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i32, align 4 %sv_3 = alloca i64, align 8 %0 = load i64, i64* @gv_0, align 8 %1 = inttoptr i64 %0 to i64* %2 = load i64, i64* %1, align 8 %3 = call i64 @FUNC(i64 %2, i64 1) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 store i64 %3, i64* %rax.0.in.reg2mem br i1 %5, label LBL_1, label LBL_7 LBL_1: %6 = ptrtoint i64* %arg1 to i64 %7 = add i64 %6, 16 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %2, i64* nonnull %sv_3, i64 %9) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 store i64 %10, i64* %rax.0.in.reg2mem br i1 %12, label LBL_2, label LBL_7 LBL_2: %13 = load i64, i64* %sv_3, align 8 %14 = add i64 %6, 24 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = zext i32 %16 to i64 %18 = bitcast i32* %sv_2 to i64* %19 = call i64 @FUNC(i64 %17, i64 %13, i64* nonnull %sv_1, i64* nonnull %18) %20 = trunc i64 %19 to i32 %21 = icmp slt i32 %20, 0 store i64 %19, i64* %sv_0.1.reg2mem br i1 %21, label LBL_6, label LBL_3 LBL_3: %22 = load i32, i32* %sv_2, align 4 %23 = zext i32 %22 to i64 %24 = mul i64 %23, 4 %25 = load i64, i64* %8, align 8 %26 = icmp ugt i64 %24, %25 store i64 %23, i64* %.pre-phi.reg2mem br i1 %26, label LBL_4, label LBL_5 LBL_4: %27 = udiv i64 %25, 4 %28 = trunc i64 %27 to i32 store i32 %28, i32* %sv_2, align 4 %.pre = and i64 %27, 4294967295 store i64 %.pre, i64* %.pre-phi.reg2mem br label LBL_5 LBL_5: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem store i64 %.pre-phi.reload, i64* %8, align 8 %29 = load i64, i64* %sv_1, align 8 %30 = add i64 %6, 8 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = call i64 @FUNC(i64 %32, i64 %29, i64 %.pre-phi.reload) %34 = trunc i64 %33 to i32 %35 = icmp eq i32 %34, 0 %spec.select = select i1 %35, i64 %19, i64 4294967282 %36 = load i64, i64* %sv_1, align 8 %37 = call i64 @FUNC(i64 %36) store i64 %spec.select, i64* %sv_0.1.reg2mem br label LBL_6 LBL_6: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %38 = load i64, i64* %sv_3, align 8 %39 = call i64 @FUNC(i64 %38) store i64 %sv_0.1.reload, i64* %rax.0.in.reg2mem br label LBL_7 LBL_7: %rax.0.in.reload = load i64, i64* %rax.0.in.reg2mem %rax.0 = and i64 %rax.0.in.reload, 4294967295 ret i64 %rax.0 uselistorder i64 %27, { 1, 0 } uselistorder i64 %19, { 1, 0, 2 } uselistorder i64* %sv_3, { 1, 2, 0 } uselistorder i32* %sv_2, { 1, 0, 2 } uselistorder i64* %sv_1, { 1, 2, 0 } uselistorder i64* %rax.0.in.reg2mem, { 0, 3, 1, 2 } uselistorder i64 (i64)* @xfree, { 1, 0 } uselistorder i64 4, { 2, 0, 1, 3 } uselistorder i64 1, { 1, 0 } uselistorder label LBL_7, { 2, 0, 1 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
1
CompRealVul
process_incoming_migration_co_1377
process_incoming_migration_co
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %rcx.01.reg2mem = alloca i64 %r8.02.reg2mem = alloca i64 %r8.0.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = call i64 @FUNC() %3 = inttoptr i64 %2 to i64* store i64 %arg1, i64* %3, align 8 %4 = call i64 @FUNC() %5 = trunc i64 %4 to i32 %6 = add i64 %2, 8 %7 = inttoptr i64 %6 to i32* store i32 %5, i32* %7, align 4 %8 = call i64 @FUNC(i64 0) %9 = add i64 %2, 28 %10 = call i64 @FUNC(i64 %9, i64 0, i64 1) %11 = call i64 @FUNC(i64 %arg1) %12 = trunc i64 %11 to i32 %13 = call i64 @FUNC() %14 = trunc i64 %13 to i32 %15 = and i64 %13, 4294967295 %16 = and i64 %11, 4294967295 %17 = call i64 @FUNC(i64 %16, i64 %15) %18 = icmp eq i32 %14, 0 br i1 %18, label LBL_5, label LBL_1 LBL_1: %19 = icmp eq i32 %14, 1 %20 = icmp eq i1 %19, false br i1 %20, label LBL_3, label LBL_2 LBL_2: %21 = call i64 @FUNC(i64 %2) br label LBL_5 LBL_3: %22 = icmp slt i32 %12, 0 br i1 %22, label LBL_9, label LBL_4 LBL_4: %23 = call i64 @FUNC() store i64 %23, i64* %storemerge.reg2mem br label LBL_11 LBL_5: %24 = icmp eq i32 %12, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_8, label LBL_6 LBL_6: %26 = call i64 @FUNC() %27 = trunc i64 %26 to i32 %28 = icmp eq i32 %27, 0 br i1 %28, label LBL_8, label LBL_7 LBL_7: %29 = call i64 @FUNC() %30 = add i64 %2, 16 %31 = inttoptr i64 %30 to i64* store i64 %29, i64* %31, align 8 %32 = add i64 %2, 32 %33 = call i64 @FUNC(i64 %32, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i64 4199079, i64 %2, i64 1) %34 = add i64 %2, 24 %35 = inttoptr i64 %34 to i8* store i8 1, i8* %35, align 1 %36 = call i64 @FUNC() %37 = call i64 @FUNC(i64 %32) store i64 %2, i64* %rcx.0.reg2mem store i64 1, i64* %r8.0.reg2mem br label LBL_8 LBL_8: %r8.0.reload = load i64, i64* %r8.0.reg2mem %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %38 = icmp slt i32 %12, 0 %39 = icmp eq i1 %38, false store i64 %r8.0.reload, i64* %r8.02.reg2mem store i64 %rcx.0.reload, i64* %rcx.01.reg2mem br i1 %39, label LBL_10, label LBL_9 LBL_9: %rcx.01.reload = load i64, i64* %rcx.01.reg2mem %r8.02.reload = load i64, i64* %r8.02.reg2mem %40 = call i64 @FUNC(i64 %9, i64 1, i64 2) %41 = sub i32 0, %12 %42 = call i8* @strerror(i32 %41) %43 = ptrtoint i8* %42 to i64 %44 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_1, i64 0, i64 0), i64 %43, i64 2, i64 %rcx.01.reload, i64 %r8.02.reload, i64 %1) %45 = call i64 @FUNC() call void @exit(i32 1) unreachable LBL_10: %46 = call i64 @FUNC(i64 %arg1) %47 = call i64 @FUNC() %48 = call i64 @FUNC(i64 4199057, i64 %2) %49 = add i64 %2, 40 %50 = inttoptr i64 %49 to i64* store i64 %48, i64* %50, align 8 %51 = call i64 @FUNC(i64 %48) store i64 %51, i64* %storemerge.reg2mem br label LBL_11 LBL_11: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %12, { 1, 2, 3, 0 } uselistorder i64 %2, { 7, 6, 0, 4, 3, 2, 5, 1, 8, 9, 10 } uselistorder i64 2, { 1, 0 } uselistorder i64 (i64, i64, i64)* @migrate_set_state, { 1, 0 } uselistorder i64 1, { 2, 0, 3, 4, 1 } uselistorder i32 1, { 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 0, 7, 6, 5, 4, 3, 2, 1 } uselistorder label LBL_9, { 1, 0 } }
0
CompRealVul
spl_ptr_llist_pop_9036
spl_ptr_llist_pop
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = add i64 %1, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 %0) store i64 %7, i64* %storemerge.reg2mem br label LBL_6 LBL_2: %8 = inttoptr i64 %4 to i64* %9 = load i64, i64* %8, align 8 %10 = icmp eq i64 %9, 0 br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = add i64 %9, 8 %12 = inttoptr i64 %11 to i64* store i64 0, i64* %12, align 8 br label LBL_5 LBL_4: store i64 0, i64* %arg1, align 8 br label LBL_5 LBL_5: %13 = load i64, i64* %8, align 8 store i64 %13, i64* %3, align 8 %14 = add i64 %1, 16 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = add i32 %16, -1 store i32 %17, i32* %15, align 4 %18 = add i64 %4, 16 %19 = call i64 @FUNC(i64 %0, i64 %18) %20 = call i64 @FUNC(i64 %18) %21 = call i64 @FUNC(i64 %4) store i64 %21, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @ZVAL_UNDEF, { 1, 0 } }
0
CompRealVul
pgx_gethdr_3641
pgx_gethdr
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = call i64 @FUNC(i64 %arg1) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, -1 store i64 4294967295, i64* %storemerge.reg2mem br i1 %6, label LBL_16, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 %arg1) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, -1 store i64 4294967295, i64* %storemerge.reg2mem br i1 %9, label LBL_16, label LBL_2 LBL_2: %10 = ptrtoint i64* %arg2 to i64 %11 = trunc i64 %10 to i32 %12 = mul i32 %5, 256 %13 = and i32 %12, 65280 %14 = urem i32 %8, 256 %15 = or i32 %14, %13 %16 = bitcast i64* %arg2 to i32* store i32 %15, i32* %16, align 4 %17 = icmp eq i32 %11, 1346852864 br i1 %17, label LBL_4, label LBL_3 LBL_3: %18 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i64 %10, i32 %15, i64 %3, i64 %2, i64 %1) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_16 LBL_4: %19 = call i64 @FUNC(i64 %arg1) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, -1 store i64 4294967295, i64* %storemerge.reg2mem br i1 %21, label LBL_16, label LBL_5 LBL_5: %22 = call i16** @__ctype_b_loc() %23 = load i16*, i16** %22, align 8 %24 = ptrtoint i16* %23 to i64 %sext2 = mul i64 %19, 4294967296 %25 = ashr exact i64 %sext2, 31 %26 = add i64 %25, %24 %27 = inttoptr i64 %26 to i16* %28 = load i16, i16* %27, align 2 %29 = and i16 %28, 8192 %30 = icmp eq i16 %29, 0 store i64 4294967295, i64* %storemerge.reg2mem br i1 %30, label LBL_16, label LBL_6 LBL_6: %31 = add i64 %10, 4 %32 = call i64 @FUNC(i64 %arg1, i64 %31) %33 = trunc i64 %32 to i32 %34 = icmp eq i32 %33, 0 br i1 %34, label LBL_8, label LBL_7 LBL_7: %35 = trunc i64 %31 to i32 %36 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_1, i64 0, i64 0), i64 %31, i32 %35, i64 %3, i64 %2, i64 %1) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_16 LBL_8: %37 = add i64 %10, 8 %38 = call i64 @FUNC(i64 %arg1, i64 %37) %39 = trunc i64 %38 to i32 %40 = icmp eq i32 %39, 0 br i1 %40, label LBL_10, label LBL_9 LBL_9: %41 = trunc i64 %37 to i32 %42 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0), i64 %37, i32 %41, i64 %3, i64 %2, i64 %1) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_16 LBL_10: %43 = add i64 %10, 12 %44 = call i64 @FUNC(i64 %arg1, i64 %43) %45 = trunc i64 %44 to i32 %46 = icmp eq i32 %45, 0 br i1 %46, label LBL_12, label LBL_11 LBL_11: %47 = trunc i64 %43 to i32 %48 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_3, i64 0, i64 0), i64 %43, i32 %47, i64 %3, i64 %2, i64 %1) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_16 LBL_12: %49 = add i64 %10, 16 %50 = call i64 @FUNC(i64 %arg1, i64 %49) %51 = trunc i64 %50 to i32 %52 = icmp eq i32 %51, 0 br i1 %52, label LBL_14, label LBL_13 LBL_13: %53 = trunc i64 %49 to i32 %54 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_4, i64 0, i64 0), i64 %49, i32 %53, i64 %3, i64 %2, i64 %1) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_16 LBL_14: %55 = add i64 %10, 20 %56 = call i64 @FUNC(i64 %arg1, i64 %55) %57 = trunc i64 %56 to i32 %58 = icmp eq i32 %57, 0 store i64 0, i64* %storemerge.reg2mem br i1 %58, label LBL_16, label LBL_15 LBL_15: %59 = trunc i64 %55 to i32 %60 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_5, i64 0, i64 0), i64 %55, i32 %59, i64 %3, i64 %2, i64 %1) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_16 LBL_16: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %10, { 2, 3, 4, 5, 6, 0, 1 } uselistorder i64 %3, { 5, 4, 3, 2, 1, 0 } uselistorder i64 %2, { 5, 4, 3, 2, 1, 0 } uselistorder i64 %1, { 5, 4, 3, 2, 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 6, 11, 5, 4, 3, 2, 9, 10, 1, 8, 7 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64, i64)* @pgx_getuint32, { 2, 1, 0 } uselistorder i64 (i8*, i64, i32, i64, i64, i64)* @jas_eprintf, { 5, 4, 3, 2, 1, 0 } uselistorder i32 256, { 1, 0 } uselistorder i64 4294967295, { 5, 4, 3, 2, 1, 8, 9, 0, 7, 6, 10, 11 } uselistorder i64 (i64)* @jas_stream_getc, { 1, 0 } uselistorder label LBL_16, { 5, 10, 4, 3, 2, 1, 8, 9, 0, 7, 6 } }
0
CompRealVul
ng_pkt_5513
ng_pkt
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = call i64 @FUNC(i64 24) %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_9 LBL_1: %5 = inttoptr i64 %2 to i64* store i64 0, i64* %5, align 8 %6 = add i64 %2, 16 %7 = inttoptr i64 %6 to i32* store i32 1, i32* %7, align 4 %8 = icmp ult i64 %arg3, 3 br i1 %8, label LBL_8, label LBL_2 LBL_2: %9 = add i64 %arg2, 3 %10 = inttoptr i64 %9 to i64* %11 = trunc i64 %arg3 to i32 %12 = add i32 %11, -3 %13 = call i64* @memchr(i64* %10, i32 32, i32 %12) %14 = icmp eq i64* %13, null br i1 %14, label LBL_8, label LBL_3 LBL_3: %15 = ptrtoint i64* %13 to i64 %16 = sub i64 %15, %9 %17 = add i64 %16, %1 %18 = call i64 @FUNC(i64 %17) store i64 %18, i64* %5, align 8 %19 = icmp eq i64 %18, 0 %20 = icmp eq i1 %19, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %20, label LBL_4, label LBL_9 LBL_4: %21 = inttoptr i64 %18 to i64* %22 = trunc i64 %16 to i32 %23 = call i64* @memcpy(i64* %21, i64* %10, i32 %22) %24 = load i64, i64* %5, align 8 %25 = add i64 %24, %16 %26 = inttoptr i64 %25 to i8* store i8 0, i8* %26, align 1 %27 = icmp eq i64 %16, 0 br i1 %27, label LBL_8, label LBL_5 LBL_5: %28 = add i64 %15, 1 %29 = inttoptr i64 %28 to i64* %30 = add i32 %22, -1 %31 = call i64* @memchr(i64* %29, i32 10, i32 %30) %32 = icmp eq i64* %31, null br i1 %32, label LBL_8, label LBL_6 LBL_6: %33 = ptrtoint i64* %31 to i64 %34 = sub i64 %33, %28 %35 = add i64 %34, %17 %36 = call i64 @FUNC(i64 %35) %37 = add i64 %2, 8 %38 = inttoptr i64 %37 to i64* store i64 %36, i64* %38, align 8 %39 = icmp eq i64 %36, 0 %40 = icmp eq i1 %39, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %40, label LBL_7, label LBL_9 LBL_7: %41 = inttoptr i64 %36 to i64* %42 = trunc i64 %34 to i32 %43 = call i64* @memcpy(i64* %41, i64* %29, i32 %42) %44 = load i64, i64* %38, align 8 %45 = add i64 %44, %34 %46 = inttoptr i64 %45 to i8* store i8 0, i8* %46, align 1 store i64 %2, i64* %arg1, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_9 LBL_8: %47 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0)) %48 = load i64, i64* %5, align 8 %49 = call i64 @FUNC(i64 %48) %50 = call i64 @FUNC(i64 %2) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %36, { 1, 0, 2 } uselistorder i64 %34, { 0, 2, 1 } uselistorder i64* %31, { 1, 0 } uselistorder i64 %18, { 1, 0, 2 } uselistorder i64 %16, { 2, 0, 3, 1 } uselistorder i64* %13, { 1, 0 } uselistorder i64* %5, { 2, 0, 1, 3 } uselistorder i64 %2, { 2, 0, 1, 3, 4, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 1, 2, 3 } uselistorder i64 (i64, i8*)* @giterr_set, { 1, 0 } uselistorder i8 0, { 1, 2, 0 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 } uselistorder i64* (i64*, i32, i32)* @memchr, { 1, 0 } uselistorder i64 3, { 1, 0 } uselistorder i64 4294967295, { 3, 0, 1, 2, 4 } uselistorder i64 (i64)* @git__malloc, { 2, 1, 0 } uselistorder label LBL_9, { 3, 4, 0, 1, 2 } }
0
CompRealVul
wake_up_new_task_18083
wake_up_new_task
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %2 = load i64, i64* %0 %3 = call i64 @FUNC(i64 %1, i64 %2) %4 = call i64 @FUNC(i64 %1) %5 = and i64 %4, 4294967295 %6 = call i64 @FUNC(i64 %1, i64 %5, i64 0, i64 0) %7 = and i64 %6, 4294967295 %8 = call i64 @FUNC(i64 %1, i64 %7) %9 = add i64 %1, 24 %10 = call i64 @FUNC(i64 %9) %11 = call i64 @FUNC(i64 %1) %12 = call i64 @FUNC(i64 %11, i64 %1, i64 0) %13 = add i64 %1, 8 %14 = inttoptr i64 %13 to i32* store i32 1, i32* %14, align 4 %15 = call i64 @FUNC(i64 %1) %16 = call i64 @FUNC(i64 %11, i64 %1, i64 0) %17 = call i64 @FUNC(i64 %11, i64 %1, i64* nonnull %sv_0) ret i64 %17 }
1
CompRealVul
x86_cpu_apic_init_17961
x86_cpu_apic_init
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i8* %rdi = alloca i64, align 8 %0 = call i64 @FUNC() %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 0 store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i8** %sv_0.0.reg2mem br i1 %2, label LBL_1, label LBL_2 LBL_1: %3 = call i64 @FUNC() %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %spec.select = select i1 %5, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0) store i8* %spec.select, i8** %sv_0.0.reg2mem br label LBL_2 LBL_2: %6 = ptrtoint i64* %arg2 to i64 %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem %7 = ptrtoint i8* %sv_0.0.reload to i64 %8 = call i64 @FUNC(i64 0, i64 %7) %9 = ptrtoint i32* %arg1 to i64 %10 = add i64 %9, 8 %11 = inttoptr i64 %10 to i64* store i64 %8, i64* %11, align 8 %12 = icmp eq i64 %8, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_3, i64 0, i64 0), i64 %7) store i64 %14, i64* %rax.0.reg2mem br label LBL_8 LBL_4: %15 = call i64 @FUNC(i64 %9, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i64 %8, i64 0) %16 = bitcast i64* %rdi to i32* %17 = load i32, i32* %16, align 8 %18 = load i64, i64* %11, align 8 %19 = call i64 @FUNC(i64 %18, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_4, i64 0, i64 0), i32 %17) %20 = load i64, i64* %11, align 8 %21 = inttoptr i64 %20 to i64* store i64 %9, i64* %21, align 8 %22 = load i64, i64* %11, align 8 %23 = call i64 @FUNC(i64 %22) %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, 0 br i1 %25, label LBL_6, label LBL_5 LBL_5: %26 = load i64, i64* %11, align 8 %27 = call i64 @FUNC(i64 %26) %28 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_5, i64 0, i64 0), i64 %27) store i64 %28, i64* %rax.0.reg2mem br label LBL_8 LBL_6: %29 = load i32, i32* bitcast (i64* @gv_6 to i32*), align 8 %30 = zext i32 %29 to i64 %31 = icmp eq i32 %29, 0 %32 = icmp eq i1 %31, false store i64 %30, i64* %rax.0.reg2mem br i1 %32, label LBL_8, label LBL_7 LBL_7: %33 = load i64, i64* %11, align 8 %34 = call i64 @FUNC(i64 %33, i64 0, i64 4276092928) store i32 1, i32* bitcast (i64* @gv_6 to i32*), align 8 store i64 %34, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %11, { 1, 0, 2, 4, 3, 5 } uselistorder i64 %8, { 1, 0, 2 } uselistorder i64 %6, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 2, 1 } uselistorder i64 (i64, i8*, i64)* @error_setg, { 1, 0 } uselistorder i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), { 1, 0 } }
1
CompRealVul
lz4_uncompress_11772
lz4_uncompress
define i64 @FUNC(i64 %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.5.reg2mem = alloca i64 %sv_1.216.reg2mem = alloca i64 %sv_2.117.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i64 %sv_1.1.reg2mem = alloca i64 %sv_3.3.reg2mem = alloca i32 %sv_0.4.reg2mem = alloca i64 %sv_3.2.reg2mem = alloca i32 %sv_0.3.reg2mem = alloca i64 %sv_3.1.reg2mem = alloca i32 %sv_0.2.reg2mem = alloca i64 %sv_4.0.in.lcssa.reg2mem = alloca i8 %sv_3.0.lcssa.reg2mem = alloca i32 %sv_0.1.lcssa.reg2mem = alloca i64 %sv_0.112.reg2mem = alloca i64 %sv_3.013.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %sv_5 = alloca i64, align 8 %1 = ptrtoint i64* %sv_5 to i64 %2 = sext i32 %arg3 to i64 %3 = add i64 %2, %0 %4 = add i64 %3, -8 %5 = add i64 %1, -144 %6 = add i64 %3, 4294967288 store i64 %arg1, i64* %sv_0.0.reg2mem store i64 %0, i64* %sv_1.0.reg2mem br label LBL_1 LBL_1: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %7 = add i64 %sv_0.0.reload, 1 %8 = inttoptr i64 %sv_0.0.reload to i8* %9 = load i8, i8* %8, align 1 %10 = zext i8 %9 to i32 %11 = udiv i32 %10, 16 %12 = and i32 %10, 240 %13 = icmp eq i32 %12, 240 %14 = icmp eq i1 %13, false store i64 %7, i64* %sv_0.2.reg2mem store i32 %11, i32* %sv_3.1.reg2mem br i1 %14, label LBL_5, label LBL_2 LBL_2: %15 = add i64 %sv_0.0.reload, 2 %sv_4.0.in.in10 = inttoptr i64 %7 to i8* %sv_4.0.in11 = load i8, i8* %sv_4.0.in.in10, align 1 %16 = icmp eq i8 %sv_4.0.in11, -1 store i32 %11, i32* %sv_3.013.reg2mem store i64 %15, i64* %sv_0.112.reg2mem store i64 %15, i64* %sv_0.1.lcssa.reg2mem store i32 %11, i32* %sv_3.0.lcssa.reg2mem store i8 %sv_4.0.in11, i8* %sv_4.0.in.lcssa.reg2mem br i1 %16, label LBL_3, label LBL_4 LBL_3: %sv_0.112.reload = load i64, i64* %sv_0.112.reg2mem %sv_3.013.reload = load i32, i32* %sv_3.013.reg2mem %17 = add i64 %sv_0.112.reload, 1 %18 = add i32 %sv_3.013.reload, 255 %sv_4.0.in.in = inttoptr i64 %sv_0.112.reload to i8* %sv_4.0.in = load i8, i8* %sv_4.0.in.in, align 1 %19 = icmp eq i8 %sv_4.0.in, -1 store i32 %18, i32* %sv_3.013.reg2mem store i64 %17, i64* %sv_0.112.reg2mem store i64 %17, i64* %sv_0.1.lcssa.reg2mem store i32 %18, i32* %sv_3.0.lcssa.reg2mem store i8 %sv_4.0.in, i8* %sv_4.0.in.lcssa.reg2mem br i1 %19, label LBL_3, label LBL_4 LBL_4: %sv_4.0.in.lcssa.reload = load i8, i8* %sv_4.0.in.lcssa.reg2mem %sv_3.0.lcssa.reload = load i32, i32* %sv_3.0.lcssa.reg2mem %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem %20 = zext i8 %sv_4.0.in.lcssa.reload to i32 %21 = add i32 %sv_3.0.lcssa.reload, %20 store i64 %sv_0.1.lcssa.reload, i64* %sv_0.2.reg2mem store i32 %21, i32* %sv_3.1.reg2mem br label LBL_5 LBL_5: %sv_3.1.reload = load i32, i32* %sv_3.1.reg2mem %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem %22 = sext i32 %sv_3.1.reload to i64 %23 = add i64 %sv_1.0.reload, %22 %24 = icmp ule i64 %23, %4 %25 = icmp ne i1 %24, true %26 = icmp eq i1 %25, false br i1 %26, label LBL_8, label LBL_6 LBL_6: %27 = icmp eq i64 %23, %3 %28 = icmp eq i1 %27, false store i64 %sv_0.2.reload, i64* %sv_0.5.reg2mem br i1 %28, label LBL_22, label LBL_7 LBL_7: %29 = inttoptr i64 %sv_1.0.reload to i64* %30 = inttoptr i64 %sv_0.2.reload to i64* %31 = call i64* @memcpy(i64* %29, i64* %30, i32 %sv_3.1.reload) %32 = add i64 %sv_0.2.reload, %22 %33 = sub i64 %32, %arg1 store i64 %33, i64* %storemerge.reg2mem br label LBL_23 LBL_8: %34 = inttoptr i64 %sv_1.0.reload to i64* %35 = inttoptr i64 %sv_0.2.reload to i64* %36 = call i64* @memcpy(i64* %34, i64* %35, i32 %sv_3.1.reload) %37 = add i64 %sv_0.2.reload, %22 %38 = inttoptr i64 %37 to i16* %39 = load i16, i16* %38, align 2 %40 = zext i16 %39 to i64 %41 = add i64 %37, 2 %42 = icmp ugt i64 %0, %40 %43 = icmp eq i1 %42, false %44 = icmp eq i1 %43, false store i64 %41, i64* %sv_0.5.reg2mem br i1 %44, label LBL_22, label LBL_9 LBL_9: %45 = urem i32 %10, 16 %46 = icmp eq i32 %45, 15 %47 = icmp eq i1 %46, false store i64 %41, i64* %sv_0.3.reg2mem store i32 %45, i32* %sv_3.2.reg2mem store i64 %41, i64* %sv_0.4.reg2mem store i32 %45, i32* %sv_3.3.reg2mem br i1 %47, label LBL_12, label LBL_10 LBL_10: %sv_3.2.reload = load i32, i32* %sv_3.2.reg2mem %sv_0.3.reload = load i64, i64* %sv_0.3.reg2mem %48 = inttoptr i64 %sv_0.3.reload to i8* %49 = load i8, i8* %48, align 1 %50 = icmp eq i8 %49, -1 %51 = add i64 %sv_0.3.reload, 1 %52 = add i32 %sv_3.2.reload, 255 store i64 %51, i64* %sv_0.3.reg2mem store i32 %52, i32* %sv_3.2.reg2mem br i1 %50, label LBL_10, label LBL_11 LBL_11: %53 = zext i8 %49 to i32 %54 = add i32 %sv_3.2.reload, %53 store i64 %51, i64* %sv_0.4.reg2mem store i32 %54, i32* %sv_3.3.reg2mem br label LBL_12 LBL_12: %sv_3.3.reload = load i32, i32* %sv_3.3.reg2mem %sv_0.4.reload = load i64, i64* %sv_0.4.reg2mem %55 = sub i64 %23, %40 %56 = add i64 %55, -7 %57 = sub i64 6, %55 %58 = and i64 %57, %55 %59 = icmp slt i64 %58, 0 %60 = icmp eq i64 %56, 0 %61 = icmp slt i64 %56, 0 %62 = icmp ne i1 %61, %59 %63 = or i1 %60, %62 %64 = icmp eq i1 %63, false br i1 %64, label LBL_14, label LBL_13 LBL_13: %65 = inttoptr i64 %40 to i8* %66 = load i8, i8* %65, align 1 %67 = inttoptr i64 %23 to i8* store i8 %66, i8* %67, align 1 %68 = add nuw nsw i64 %40, 1 %69 = add i64 %23, 1 %70 = inttoptr i64 %68 to i8* %71 = load i8, i8* %70, align 1 %72 = inttoptr i64 %69 to i8* store i8 %71, i8* %72, align 1 %73 = add nuw nsw i64 %40, 2 %74 = add i64 %23, 2 %75 = inttoptr i64 %73 to i8* %76 = load i8, i8* %75, align 1 %77 = inttoptr i64 %74 to i8* store i8 %76, i8* %77, align 1 %78 = add nuw nsw i64 %40, 3 %79 = add i64 %23, 3 %80 = inttoptr i64 %78 to i8* %81 = load i8, i8* %80, align 1 %82 = inttoptr i64 %79 to i8* store i8 %81, i8* %82, align 1 %83 = add i64 %23, 4 %84 = add nuw nsw i64 %40, 4 %85 = sub i64 %83, %84 %86 = mul i64 %85, 8 %87 = add i64 %5, %86 %88 = inttoptr i64 %87 to i64* %89 = load i64, i64* %88, align 8 %90 = sub i64 %84, %89 %91 = inttoptr i64 %90 to i32* %92 = load i32, i32* %91, align 4 %93 = inttoptr i64 %83 to i32* store i32 %92, i32* %93, align 4 %94 = add i64 %23, 8 store i64 %94, i64* %sv_1.1.reg2mem store i64 %90, i64* %sv_2.0.reg2mem br label LBL_15 LBL_14: %95 = inttoptr i64 %40 to i64* %96 = load i64, i64* %95, align 8 %97 = inttoptr i64 %23 to i64* store i64 %96, i64* %97, align 8 store i64 %23, i64* %sv_1.1.reg2mem store i64 %40, i64* %sv_2.0.reg2mem br label LBL_15 LBL_15: %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem %98 = sext i32 %sv_3.3.reload to i64 %99 = add nsw i64 %98, -4 %100 = add i64 %sv_1.1.reload, %99 %101 = icmp ugt i64 %100, %4 br i1 %101, label LBL_16, label LBL_20 LBL_16: %102 = icmp ugt i64 %100, %3 store i64 %sv_0.4.reload, i64* %sv_0.5.reg2mem br i1 %102, label LBL_22, label LBL_17 LBL_17: %103 = sub i64 %6, %sv_1.1.reload %104 = inttoptr i64 %sv_1.1.reload to i64* %105 = inttoptr i64 %sv_2.0.reload to i64* %106 = trunc i64 %103 to i32 %107 = call i64* @memcpy(i64* %104, i64* %105, i32 %106) %108 = icmp ult i64 %sv_1.1.reload, %100 store i64 %sv_2.0.reload, i64* %sv_2.117.reg2mem store i64 %sv_1.1.reload, i64* %sv_1.216.reg2mem br i1 %108, label LBL_18, label LBL_19 LBL_18: %sv_1.216.reload = load i64, i64* %sv_1.216.reg2mem %sv_2.117.reload = load i64, i64* %sv_2.117.reg2mem %109 = add i64 %sv_2.117.reload, 1 %110 = add nuw i64 %sv_1.216.reload, 1 %111 = inttoptr i64 %sv_2.117.reload to i8* %112 = load i8, i8* %111, align 1 %113 = inttoptr i64 %sv_1.216.reload to i8* store i8 %112, i8* %113, align 1 %exitcond = icmp eq i64 %110, %100 store i64 %109, i64* %sv_2.117.reg2mem store i64 %110, i64* %sv_1.216.reg2mem br i1 %exitcond, label LBL_19, label LBL_18 LBL_19: %114 = icmp eq i64 %100, %3 %115 = icmp eq i1 %114, false store i64 %sv_0.4.reload, i64* %sv_0.5.reg2mem br i1 %115, label LBL_1.backedge, label LBL_22 LBL_20: %116 = inttoptr i64 %sv_1.1.reload to i64* %117 = inttoptr i64 %sv_2.0.reload to i64* %118 = trunc i64 %99 to i32 %119 = call i64* @memcpy(i64* %116, i64* %117, i32 %118) br label LBL_1.backedge LBL_21: store i64 %sv_0.4.reload, i64* %sv_0.0.reg2mem store i64 %100, i64* %sv_1.0.reg2mem br label LBL_1 LBL_22: %sv_0.5.reload = load i64, i64* %sv_0.5.reg2mem %120 = sub i64 %arg1, %sv_0.5.reload %121 = and i64 %120, 4294967295 store i64 %121, i64* %storemerge.reg2mem br label LBL_23 LBL_23: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %100, { 0, 3, 1, 2, 4, 5 } uselistorder i64 %99, { 1, 0 } uselistorder i64 %sv_1.1.reload, { 2, 0, 3, 1, 5, 4 } uselistorder i64 %sv_2.0.reload, { 2, 0, 1 } uselistorder i64 %56, { 1, 0 } uselistorder i64 %sv_0.4.reload, { 2, 0, 1 } uselistorder i32 %sv_3.2.reload, { 1, 0 } uselistorder i64 %41, { 1, 2, 0 } uselistorder i64 %40, { 0, 7, 1, 2, 3, 4, 6, 5, 8 } uselistorder i64 %37, { 1, 0 } uselistorder i64 %23, { 0, 8, 3, 2, 4, 5, 6, 9, 7, 1, 10 } uselistorder i64 %22, { 1, 0, 2 } uselistorder i64 %sv_0.2.reload, { 2, 1, 4, 3, 0 } uselistorder i32 %sv_3.1.reload, { 1, 2, 0 } uselistorder i64 %sv_0.112.reload, { 1, 0 } uselistorder i32 %11, { 1, 2, 0 } uselistorder i32 %10, { 1, 0, 2 } uselistorder i64 %7, { 1, 0 } uselistorder i64 %sv_0.0.reload, { 2, 1, 0 } uselistorder i64 %sv_1.0.reload, { 0, 2, 1 } uselistorder i64 %3, { 0, 1, 4, 2, 3 } uselistorder i64 %0, { 2, 0, 1 } uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_3.013.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.112.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.3.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_3.2.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.1.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_2.0.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_2.117.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.216.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 8, { 1, 0 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 0, 2, 3, 1 } uselistorder i32 255, { 1, 0 } uselistorder i8 -1, { 2, 1, 0 } uselistorder i64 2, { 1, 2, 3, 0 } uselistorder i1 false, { 3, 0, 4, 5, 1, 6, 2, 7 } uselistorder i32 240, { 1, 0 } uselistorder i64 %arg1, { 2, 1, 0 } uselistorder label LBL_22, { 2, 0, 1, 3 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
CompRealVul
spapr_query_hotpluggable_cpus_14555
spapr_query_hotpluggable_cpus
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i64 %sv_0.01.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i32, i32* @gv_0, align 4 %3 = load i32, i32* inttoptr (i64 4210736 to i32*), align 16 %4 = trunc i64 %1 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([63 x i8], [63 x i8]* @gv_2, i64 0, i64 0), i32 59, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_3, i64 0, i64 0)) br label LBL_2 LBL_2: %7 = ashr i32 %2, 31 %8 = zext i32 %2 to i64 %9 = zext i32 %7 to i64 %10 = mul i64 %9, 4294967296 %11 = or i64 %10, %8 %12 = zext i32 %3 to i64 %13 = sdiv i64 %11, %12 %14 = trunc i64 %13 to i32 %15 = icmp sgt i32 %14, 0 store i64 0, i64* %sv_0.0.lcssa.reg2mem br i1 %15, label LBL_3, label LBL_7 LBL_3: %wide.trip.count = and i64 %13, 4294967295 store i64 0, i64* %indvars.iv.reg2mem store i64 0, i64* %sv_0.01.reg2mem br label LBL_4 LBL_4: %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %16 = call i64* @calloc(i32 1, i32 16) %17 = call i64* @calloc(i32 1, i32 32) %18 = ptrtoint i64* %17 to i64 %19 = call i64* @calloc(i32 1, i32 8) %20 = ptrtoint i64* %19 to i64 %21 = call i64 @FUNC(i64 1) store i64 %21, i64* %17, align 8 %22 = load i32, i32* @gv_4, align 4 %23 = add i64 %18, 8 %24 = inttoptr i64 %23 to i32* store i32 %22, i32* %24, align 4 %25 = bitcast i64* %19 to i32* store i32 1, i32* %25, align 4 %26 = load i32, i32* @gv_4, align 4 %27 = trunc i64 %indvars.iv.reload to i32 %28 = mul i32 %26, %27 %29 = add i64 %20, 4 %30 = inttoptr i64 %29 to i32* store i32 %28, i32* %30, align 4 %31 = add i64 %18, 24 %32 = inttoptr i64 %31 to i64* store i64 %20, i64* %32, align 8 %33 = mul i64 %indvars.iv.reload, 8 %34 = or i64 %33, 1 %35 = inttoptr i64 %34 to i64* %36 = load i64, i64* %35, align 8 %37 = icmp eq i64 %36, 0 br i1 %37, label LBL_6, label LBL_5 LBL_5: %38 = add i64 %18, 12 %39 = inttoptr i64 %38 to i32* store i32 1, i32* %39, align 4 %40 = load i64, i64* %35, align 8 %41 = call i64 @FUNC(i64 %40) %42 = add i64 %18, 16 %43 = inttoptr i64 %42 to i64* store i64 %41, i64* %43, align 8 br label LBL_6 LBL_6: %44 = ptrtoint i64* %16 to i64 store i64 %18, i64* %16, align 8 %45 = add i64 %44, 8 %46 = inttoptr i64 %45 to i64* store i64 %sv_0.01.reload, i64* %46, align 8 %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 %44, i64* %sv_0.01.reg2mem store i64 %44, i64* %sv_0.0.lcssa.reg2mem br i1 %exitcond, label LBL_7, label LBL_4 LBL_7: %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem ret i64 %sv_0.0.lcssa.reload uselistorder i64 %18, { 2, 0, 1, 3, 4 } uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.01.reg2mem, { 2, 0, 1 } uselistorder i64 8, { 1, 0, 2 } uselistorder label LBL_4, { 1, 0 } }
1
CompRealVul
int_pow_3594
int_pow
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %.lcssa.reg2mem = alloca i32 %sv_0.1.lcssa.reg2mem = alloca i32 %sv_0.16.reg2mem = alloca i32 %.reg2mem41 = alloca i32 %sv_0.0.lcssa.reg2mem = alloca i32 %.pre-phi.reg2mem = alloca i32 %sv_1.18.reg2mem = alloca i64 %sv_0.09.reg2mem = alloca i32 %sv_2.012.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %storemerge4.lcssa.reg2mem = alloca i32 %sv_1.0.lcssa.reg2mem = alloca i64 %storemerge414.reg2mem = alloca i32 %.reg2mem = alloca i32 %sext = mul i64 %arg1, 4294967296 %0 = ashr exact i64 %sext, 32 %1 = trunc i64 %0 to i32 %2 = icmp slt i32 %1, 32768 store i32 %1, i32* %.reg2mem store i32 16, i32* %storemerge414.reg2mem store i64 %0, i64* %sv_1.0.lcssa.reg2mem store i32 64, i32* %storemerge4.lcssa.reg2mem br i1 %2, label LBL_1, label LBL_3 LBL_1: %storemerge414.reload = load i32, i32* %storemerge414.reg2mem %.reload = load i32, i32* %.reg2mem %3 = mul i32 %.reload, 2 %4 = add i32 %storemerge414.reload, -1 %5 = icmp slt i32 %3, 32768 store i32 %3, i32* %.reg2mem store i32 %4, i32* %storemerge414.reg2mem br i1 %5, label LBL_1, label LBL_2 LBL_2: %6 = sext i32 %3 to i64 %phitmp = mul i32 %4, 4 store i64 %6, i64* %sv_1.0.lcssa.reg2mem store i32 %phitmp, i32* %storemerge4.lcssa.reg2mem br label LBL_3 LBL_3: %storemerge4.lcssa.reload = load i32, i32* %storemerge4.lcssa.reg2mem %sv_1.0.lcssa.reload = load i64, i64* %sv_1.0.lcssa.reg2mem %7 = mul i64 %sv_1.0.lcssa.reload, 4294967296 %sext2 = add i64 %7, -281474976710656 %8 = udiv i64 %sext2, 4294967296 store i64 3, i64* %indvars.iv.reg2mem store i32 0, i32* %sv_2.012.reg2mem br label LBL_4 LBL_4: %sv_2.012.reload = load i32, i32* %sv_2.012.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %9 = mul i64 %indvars.iv.reload, 4 %10 = add i64 %9, ptrtoint (i32** @gv_0 to i64) %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = add i32 %12, %sv_2.012.reload %14 = zext i32 %13 to i64 %15 = call i64 @FUNC(i64 %8, i64 %14) %16 = trunc i64 %15 to i32 %indvars.iv.next = add nsw i64 %indvars.iv.reload, -1 %17 = icmp eq i64 %indvars.iv.reload, 0 %18 = icmp eq i1 %17, false store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %16, i32* %sv_2.012.reg2mem br i1 %18, label LBL_4, label LBL_5 LBL_5: %19 = add i64 %15, 65536 %20 = sdiv i32 %storemerge4.lcssa.reload, 3 %21 = mul i32 %20, -3 %22 = add i32 %21, %storemerge4.lcssa.reload %23 = sext i32 %22 to i64 %24 = mul i64 %23, 4 %25 = add i64 %24, ptrtoint (i32** @gv_1 to i64) %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = zext i32 %27 to i64 %29 = and i64 %19, 4294967295 %30 = call i64 @FUNC(i64 %29, i64 %28) %sext3 = mul i64 %30, 4294967296 %31 = ashr exact i64 %sext3, 32 %32 = trunc i64 %31 to i32 %33 = icmp sgt i32 %32, 131071 store i32 %20, i32* %sv_0.09.reg2mem store i64 %31, i64* %sv_1.18.reg2mem store i32 %32, i32* %.pre-phi.reg2mem store i32 %20, i32* %sv_0.0.lcssa.reg2mem br i1 %33, label LBL_6, label LBL_7 LBL_6: %sv_1.18.reload = load i64, i64* %sv_1.18.reg2mem %sv_0.09.reload = load i32, i32* %sv_0.09.reg2mem %34 = udiv i64 %sv_1.18.reload, 2 %35 = urem i64 %34, 2147483648 %36 = add i32 %sv_0.09.reload, 1 %37 = trunc i64 %35 to i32 %38 = icmp ugt i32 %37, 131071 store i32 %36, i32* %sv_0.09.reg2mem store i64 %35, i64* %sv_1.18.reg2mem store i32 %37, i32* %.pre-phi.reg2mem store i32 %36, i32* %sv_0.0.lcssa.reg2mem br i1 %38, label LBL_6, label LBL_7 LBL_7: %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem %39 = icmp slt i32 %.pre-phi.reload, 65536 store i32 %.pre-phi.reload, i32* %.reg2mem41 store i32 %sv_0.0.lcssa.reload, i32* %sv_0.16.reg2mem store i32 %sv_0.0.lcssa.reload, i32* %sv_0.1.lcssa.reg2mem store i32 %.pre-phi.reload, i32* %.lcssa.reg2mem br i1 %39, label LBL_8, label LBL_9 LBL_8: %sv_0.16.reload = load i32, i32* %sv_0.16.reg2mem %.reload42 = load i32, i32* %.reg2mem41 %40 = mul i32 %.reload42, 2 %41 = add i32 %sv_0.16.reload, -1 %42 = icmp slt i32 %40, 65536 store i32 %40, i32* %.reg2mem41 store i32 %41, i32* %sv_0.16.reg2mem store i32 %41, i32* %sv_0.1.lcssa.reg2mem store i32 %40, i32* %.lcssa.reg2mem br i1 %42, label LBL_8, label LBL_9 LBL_9: %.lcssa.reload = load i32, i32* %.lcssa.reg2mem %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem %43 = add i32 %.lcssa.reload, 128 %44 = icmp slt i32 %43, 131072 %sv_1.3.in.v = select i1 %44, i32 8, i32 9 %sv_1.3.in = ashr i32 %43, %sv_1.3.in.v %not. = icmp ne i1 %44, true %45 = zext i1 %not. to i32 %sv_0.2 = add i32 %sv_0.1.lcssa.reload, %45 %sv_1.35 = zext i32 %sv_1.3.in to i64 %46 = bitcast i64* %arg2 to i32* store i32 %sv_0.2, i32* %46, align 4 ret i64 %sv_1.35 uselistorder i64 %indvars.iv.reload, { 1, 0, 2 } uselistorder i32 %4, { 1, 0 } uselistorder i32 %3, { 2, 0, 1 } uselistorder i32* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge414.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge4.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.012.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.09.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.18.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem41, { 2, 0, 1 } uselistorder i32* %sv_0.16.reg2mem, { 2, 0, 1 } uselistorder i32 65536, { 1, 0 } uselistorder i32 -1, { 1, 0 } uselistorder i32 32768, { 1, 0 } uselistorder i64 4294967296, { 0, 5, 1, 2, 3, 4 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
CompRealVul
mxf_write_system_item_2662
mxf_write_system_item
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = add i64 %3, 4 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = add i64 %3, 8 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = add i32 %9, %6 %11 = call i64 @FUNC(i64 %0, i64* nonnull @gv_0, i64 16) %12 = call i64 @FUNC(i64 %0, i64 57) %13 = call i64 @FUNC(i64 %0, i64 92) %14 = call i64 @FUNC(i64 %0, i64 4) %15 = call i64 @FUNC(i64 %0, i64 0) %16 = call i64 @FUNC(i64 %0, i64 0) %17 = inttoptr i64 %3 to i32* %18 = load i32, i32* %17, align 4 %19 = add i32 %18, %10 %20 = urem i32 %19, 65536 %21 = zext i32 %20 to i64 %22 = call i64 @FUNC(i64 %0, i64 %21) %23 = add i64 %3, 12 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = icmp ult i32 %25, 2 br i1 %26, label LBL_2, label LBL_1 LBL_1: %27 = call i64 @FUNC(i64 %0, i64* nonnull @gv_1, i64 16) br label LBL_3 LBL_2: %28 = add i64 %0, 16 %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 = inttoptr i64 %32 to i64* %34 = load i64, i64* %33, align 8 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = zext i32 %36 to i64 %38 = mul i64 %37, 16 %39 = add i64 %38, ptrtoint (i64* @gv_2 to i64) %40 = inttoptr i64 %39 to i64* %41 = call i64 @FUNC(i64 %0, i64* %40, i64 16) br label LBL_3 LBL_3: %42 = call i64 @FUNC(i64 %0, i64 0) %43 = call i64 @FUNC(i64 %0, i64 0) %44 = call i64 @FUNC(i64 %0, i64 0) %45 = call i64 @FUNC(i64 %0, i64 129) %46 = zext i32 %10 to i64 %47 = call i64 @FUNC(i64 %3, i64 %46) %48 = and i64 %47, 4294967295 %49 = call i64 @FUNC(i64 %0, i64 %48) %50 = call i64 @FUNC(i64 %0, i64 0) %51 = call i64 @FUNC(i64 %0, i64 0) %52 = call i64 @FUNC(i64 %0, i64* nonnull @gv_3, i64 16) %53 = call i64 @FUNC(i64 %0, i64 35) %54 = call i64 @FUNC(i64 %0, i64 131) %55 = call i64 @FUNC(i64 %0, i64 32) %56 = call i64 @FUNC(i64 %0, i64 1) ret i64 %56 uselistorder i32 %10, { 1, 0 } uselistorder i64 %0, { 1, 3, 2, 8, 7, 6, 5, 4, 12, 11, 10, 9, 13, 14, 0, 16, 17, 18, 19, 20, 21, 22, 15 } uselistorder i64 (i64, i64)* @avio_wb32, { 1, 0 } uselistorder i64 (i64, i64)* @avio_wb64, { 2, 1, 0 } uselistorder i64 (i64, i64)* @avio_wb16, { 2, 1, 0 } uselistorder i64 (i64, i64)* @avio_w8, { 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @klv_encode_ber4_length, { 1, 0 } uselistorder i64 (i64, i64*, i64)* @avio_write, { 3, 2, 1, 0 } uselistorder i64 16, { 1, 2, 0, 5, 3, 4 } }
0
CompRealVul
tcp_start_incoming_migration_1444
tcp_start_incoming_migration
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i32, align 4 %sv_1 = alloca i64, align 8 %0 = call i64 @FUNC(i64* nonnull %sv_1, i64 %arg1) %1 = trunc i64 %0 to i32 %2 = icmp slt i32 %1, 0 %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %5 = inttoptr i64 %arg1 to i8* %6 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %4, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_1, i64 0, i64 0), i8* %5) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_8 LBL_2: %7 = call i64 @FUNC(i64 2, i64 1, i64 0) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, -1 %10 = icmp eq i1 %9, false br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = call i64 @FUNC() %12 = sub i64 0, %11 %13 = and i64 %12, 4294967295 store i64 %13, i64* %rax.0.reg2mem br label LBL_8 LBL_4: store i32 1, i32* %sv_0, align 4 %14 = bitcast i32* %sv_0 to i64* %15 = call i32 @setsockopt(i32 %8, i32 1, i32 2, i64* nonnull %14, i32 4) %16 = bitcast i64* %sv_1 to %sockaddr* %17 = call i32 @bind(i32 %8, %sockaddr* nonnull %16, i32 16) %18 = icmp eq i32 %17, -1 br i1 %18, label LBL_7, label LBL_5 LBL_5: %19 = call i32 @listen(i32 %8, i32 1) %20 = icmp eq i32 %19, -1 br i1 %20, label LBL_7, label LBL_6 LBL_6: %sext = mul i64 %7, 4294967296 %21 = ashr exact i64 %sext, 32 %22 = and i64 %7, 4294967295 %23 = call i64 @FUNC(i64 %22, i64 0, i64 4198972, i64 0, i64 %21) store i64 0, i64* %rax.0.reg2mem br label LBL_8 LBL_7: %24 = call i32 @close(i32 %8) %25 = call i64 @FUNC() %26 = sub i64 0, %25 %27 = and i64 %26, 4294967295 store i64 %27, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %8, { 1, 0, 3, 2, 4 } uselistorder i64 %7, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64 4294967295, { 1, 0, 2 } uselistorder i64 ()* @socket_error, { 1, 0 } }
0
CompRealVul
usb_msd_copy_data_2872
usb_msd_copy_data
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.pre-phi2.reg2mem = alloca i64* %.pre-phi4.reg2mem = alloca i64* %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = trunc i64 %1 to i32 %4 = add i64 %2, 4 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = icmp ult i32 %6, %3 %spec.select = select i1 %7, i32 %6, i32 %3 %8 = add i64 %2, 28 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %10, 1 %12 = icmp eq i1 %11, false br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = add i64 %2, 16 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = add i64 %2, 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = inttoptr i64 %18 to i64* %20 = inttoptr i64 %15 to i64* %21 = call i64* @memcpy(i64* %19, i64* %20, i32 %spec.select) store i64* %14, i64** %.pre-phi4.reg2mem store i64* %17, i64** %.pre-phi2.reg2mem br label LBL_3 LBL_2: %22 = add i64 %2, 8 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = add i64 %2, 16 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = inttoptr i64 %27 to i64* %29 = inttoptr i64 %24 to i64* %30 = call i64* @memcpy(i64* %28, i64* %29, i32 %spec.select) store i64* %26, i64** %.pre-phi4.reg2mem store i64* %23, i64** %.pre-phi2.reg2mem br label LBL_3 LBL_3: %.pre-phi2.reload = load i64*, i64** %.pre-phi2.reg2mem %.pre-phi4.reload = load i64*, i64** %.pre-phi4.reg2mem %31 = sub i32 %3, %spec.select store i32 %31, i32* %arg1, align 4 %32 = load i32, i32* %5, align 4 %33 = sub i32 %32, %spec.select store i32 %33, i32* %5, align 4 %34 = load i64, i64* %.pre-phi2.reload, align 8 %35 = zext i32 %spec.select to i64 %36 = add i64 %34, %35 store i64 %36, i64* %.pre-phi2.reload, align 8 %37 = load i64, i64* %.pre-phi4.reload, align 8 %38 = add i64 %37, %35 store i64 %38, i64* %.pre-phi4.reload, align 8 %39 = add i64 %2, 24 %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 4 %42 = sub i32 %41, %spec.select store i32 %42, i32* %40, align 4 %43 = load i32, i32* %5, align 4 %44 = icmp eq i32 %43, 0 br i1 %44, label LBL_5, label LBL_4 LBL_4: %45 = zext i32 %42 to i64 %46 = icmp eq i32 %42, 0 %47 = icmp eq i1 %46, false store i64 %45, i64* %rax.0.reg2mem br i1 %47, label LBL_9, label LBL_5 LBL_5: %48 = load i32, i32* %9, align 4 %49 = icmp eq i32 %48, 1 %50 = icmp eq i1 %49, false br i1 %50, label LBL_7, label LBL_6 LBL_6: %51 = add i64 %2, 40 %52 = inttoptr i64 %51 to i64* %53 = load i64, i64* %52, align 8 store i64 %53, i64* %rax.0.reg2mem br label LBL_9 LBL_7: %54 = zext i32 %48 to i64 %55 = icmp eq i32 %48, 2 %56 = icmp eq i1 %55, false store i64 %54, i64* %rax.0.reg2mem br i1 %56, label LBL_9, label LBL_8 LBL_8: %57 = add i64 %2, 40 %58 = inttoptr i64 %57 to i64* %59 = load i64, i64* %58, align 8 store i64 %59, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %48, { 1, 0, 2 } uselistorder i32 %42, { 1, 0, 2 } uselistorder i32 %spec.select, { 5, 4, 3, 2, 1, 0 } uselistorder i32 %6, { 1, 0 } uselistorder i32* %5, { 0, 2, 1, 3 } uselistorder i32 %3, { 1, 2, 0 } uselistorder i64 %2, { 0, 1, 2, 6, 5, 7, 4, 3, 8 } uselistorder i64** %.pre-phi4.reg2mem, { 0, 2, 1 } uselistorder i64** %.pre-phi2.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 2, 1 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 } }
0
CompRealVul
migrate_fd_error_2025
migrate_fd_error
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = icmp eq i64* %arg2, null br i1 %1, label LBL_1, label LBL_2 LBL_1: %2 = call i64 @FUNC(i64 ptrtoint (i64* @gv_0 to i64)) br label LBL_3 LBL_2: %3 = call i64 @FUNC(i64 %0) %4 = call i64 @FUNC(i64 %3) %5 = icmp eq i64 %3, 0 br i1 %5, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_2, i64 0, i64 0), i32 41, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_3, i64 0, i64 0)) br label LBL_4 LBL_4: %6 = ptrtoint i64* %arg1 to i64 %7 = add i64 %6, 8 %8 = call i64 @FUNC(i64 %7, i64 1, i64 2) %9 = add i64 %6, 16 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_6, label LBL_5 LBL_5: %14 = call i64 @FUNC(i64 %0) store i64 %14, i64* %10, align 8 br label LBL_6 LBL_6: %15 = call i64 @FUNC(i64* nonnull @gv_4, i64 %6) ret i64 %15 uselistorder i64 %6, { 0, 2, 1 } uselistorder i64 (i64)* @trace_migrate_fd_error, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
CompRealVul
cp2112_gpio_direction_input_12704
cp2112_gpio_direction_input
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i32 %1 = ptrtoint i64* %arg1 to i64 %2 = load i64, i64* %0 %3 = call i64 @FUNC(i64 %1) %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = add i64 %3, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = add i64 %3, 16 %10 = call i64 @FUNC(i64 %9, i64 %2) %11 = call i64 @FUNC(i64 %5, i64 1, i64 %8, i64 3, i64 2, i64 1) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 3 br i1 %13, label LBL_2, label LBL_1 LBL_1: %14 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_0, i64 0, i64 0), i32 %12) store i32 %12, i32* %sv_0.0.reg2mem br label LBL_4 LBL_2: %15 = add i64 %8, 1 %16 = inttoptr i64 %15 to i8* %17 = load i8, i8* %16, align 1 %18 = trunc i64 %arg2 to i32 %19 = urem i32 %18, 32 %20 = icmp eq i32 %19, 0 %21 = shl i32 1, %19 %phitmp = xor i32 %21, 255 %storemerge2 = select i1 %20, i32 254, i32 %phitmp %22 = trunc i32 %storemerge2 to i8 %23 = and i8 %17, %22 store i8 %23, i8* %16, align 1 %24 = add i64 %8, 2 %25 = inttoptr i64 %24 to i8* store i8 0, i8* %25, align 1 %26 = call i64 @FUNC(i64 %5, i64 1, i64 %8, i64 3, i64 2, i64 2) %27 = trunc i64 %26 to i32 %28 = icmp slt i32 %27, 0 %29 = icmp eq i1 %28, false store i32 0, i32* %sv_0.0.reg2mem br i1 %29, label LBL_4, label LBL_3 LBL_3: %30 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_1, i64 0, i64 0), i32 %27) store i32 %27, i32* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %31 = call i64 @FUNC(i64 %9, i64 %2) %32 = icmp eq i32 %sv_0.0.reload, 0 %33 = icmp slt i32 %sv_0.0.reload, 0 %34 = icmp eq i1 %33, false %35 = icmp eq i1 %32, false %36 = icmp eq i1 %34, %35 %37 = zext i32 %sv_0.0.reload to i64 %storemerge = select i1 %36, i64 4294967291, i64 %37 ret i64 %storemerge uselistorder i32 %19, { 1, 0 } uselistorder i64 %5, { 1, 2, 0, 3 } uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 1, 2 } uselistorder i1 false, { 1, 0, 2 } uselistorder i32 0, { 1, 2, 0, 3, 4 } uselistorder i64 (i64, i8*, i32)* @hid_err, { 1, 0 } uselistorder i64 (i64, i64, i64, i64, i64, i64)* @hid_hw_raw_request, { 1, 0 } uselistorder i64 2, { 1, 0, 3, 2 } uselistorder label LBL_4, { 1, 0, 2 } }
1
CompRealVul
headroom_1996
headroom
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false store i64 31, i64* %storemerge.reg2mem br i1 %4, label LBL_1, label LBL_2 LBL_1: %5 = sub i32 0, %2 %6 = icmp slt i32 %5, 0 %7 = icmp eq i1 %6, false %8 = select i1 %7, i32 %5, i32 %2 %9 = zext i32 %8 to i64 %10 = call i64 @FUNC(i64 %9) %11 = trunc i64 %10 to i32 %12 = sub i32 30, %11 %13 = urem i32 %12, 32 %14 = shl i32 %2, %13 %15 = inttoptr i64 %arg1 to i32* store i32 %14, i32* %15, align 4 %16 = zext i32 %12 to i64 store i64 %16, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %12, { 1, 0 } uselistorder i32 %2, { 0, 2, 3, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 1, 2, 3, 0 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
mxf_edit_unit_absolute_offset_1836
mxf_edit_unit_absolute_offset
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64* %arg4, i64* %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.010.reg2mem = alloca i64 %sv_1.011.reg2mem = alloca i64 %storemerge312.reg2mem = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = trunc i64 %1 to i32 %5 = icmp eq i32 %4, 0 store i64 %arg3, i64* %sv_0.0.lcssa.reg2mem br i1 %5, label LBL_14, label LBL_1 LBL_1: %6 = ptrtoint i64* %arg5 to i64 %7 = add i64 %2, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = and i64 %1, 4294967295 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge312.reg2mem store i64 0, i64* %sv_1.011.reg2mem store i64 %arg3, i64* %sv_0.010.reg2mem br label LBL_2 LBL_2: %sv_0.010.reload = load i64, i64* %sv_0.010.reg2mem %sv_1.011.reload = load i64, i64* %sv_1.011.reg2mem %.reload = load i64, i64* %.reg2mem %11 = mul i64 %.reload, 8 %12 = add i64 %11, %9 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = sub i64 %sv_0.010.reload, %16 %18 = xor i64 %16, %sv_0.010.reload %19 = xor i64 %17, %sv_0.010.reload %20 = and i64 %19, %18 %21 = icmp slt i64 %20, 0 %22 = icmp slt i64 %17, 0 %23 = icmp eq i1 %22, %21 %24 = select i1 %23, i64 %sv_0.010.reload, i64 %16 %25 = add i64 %14, 8 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = add i64 %27, %16 %29 = icmp slt i64 %24, %28 br i1 %29, label LBL_3, label LBL_13 LBL_3: %30 = sub i64 %24, %16 %31 = add i64 %14, 16 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = icmp eq i64 %33, 0 br i1 %34, label LBL_5, label LBL_4 LBL_4: %35 = mul i64 %33, %30 %36 = add i64 %35, %sv_1.011.reload store i64 %36, i64* %storemerge.reg2mem br label LBL_10 LBL_5: %37 = add i64 %14, 24 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 %40 = icmp eq i32 %39, 0 br i1 %40, label LBL_9, label LBL_6 LBL_6: %41 = sext i32 %39 to i64 %42 = mul i64 %27, 2 %43 = or i64 %42, 1 %44 = icmp eq i64 %43, %41 %45 = zext i1 %44 to i64 %spec.select = shl i64 %30, %45 %46 = icmp slt i64 %spec.select, 0 %47 = icmp sgt i64 %spec.select, %41 %or.cond = or i1 %46, %47 br i1 %or.cond, label LBL_7, label LBL_8 LBL_7: %48 = add i64 %2, 16 %49 = inttoptr i64 %48 to i64* %50 = load i64, i64* %49, align 8 %51 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_0, i64 0, i64 0), i64 %50, i64 %16, i64 %arg6) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_16 LBL_8: %52 = add i64 %14, 32 %53 = inttoptr i64 %52 to i64* %54 = load i64, i64* %53, align 8 %55 = mul i64 %spec.select, 8 %56 = add i64 %54, %55 %57 = inttoptr i64 %56 to i64* %58 = load i64, i64* %57, align 8 store i64 %58, i64* %storemerge.reg2mem br label LBL_10 LBL_9: %59 = add i64 %2, 16 %60 = inttoptr i64 %59 to i64* %61 = load i64, i64* %60, align 8 %62 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([74 x i8], [74 x i8]* @gv_1, i64 0, i64 0), i64 %61, i64 %16, i64 %arg6) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_16 LBL_10: %storemerge.reload = load i64, i64* %storemerge.reg2mem %63 = icmp eq i64* %arg4, null br i1 %63, label LBL_12, label LBL_11 LBL_11: store i64 %24, i64* %arg4, align 8 br label LBL_12 LBL_12: %64 = add i64 %2, 24 %65 = inttoptr i64 %64 to i32* %66 = load i32, i32* %65, align 4 %67 = call i64 @FUNC(i64 %3, i32 %66, i64 %storemerge.reload, i64 %6) store i64 %67, i64* %rax.0.reg2mem br label LBL_16 LBL_13: %storemerge312.reload = load i32, i32* %storemerge312.reg2mem %68 = add i64 %14, 16 %69 = inttoptr i64 %68 to i64* %70 = load i64, i64* %69, align 8 %71 = mul i64 %70, %27 %72 = add i64 %71, %sv_1.011.reload %73 = add i32 %storemerge312.reload, 1 %74 = sext i32 %73 to i64 %75 = icmp sgt i64 %10, %74 store i64 %74, i64* %.reg2mem store i32 %73, i32* %storemerge312.reg2mem store i64 %72, i64* %sv_1.011.reg2mem store i64 %24, i64* %sv_0.010.reg2mem store i64 %24, i64* %sv_0.0.lcssa.reg2mem br i1 %75, label LBL_2, label LBL_14 LBL_14: %76 = trunc i64 %arg6 to i32 %77 = icmp eq i32 %76, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %77, label LBL_16, label LBL_15 LBL_15: %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem %78 = add i64 %2, 16 %79 = inttoptr i64 %78 to i64* %80 = load i64, i64* %79, align 8 %81 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_2, i64 0, i64 0), i64 %sv_0.0.lcssa.reload, i64 %80, i64 %arg6) store i64 4294967295, 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 %spec.select, { 0, 2, 1 } uselistorder i64 %30, { 1, 0 } uselistorder i64 %27, { 1, 0, 2 } uselistorder i64 %17, { 1, 0 } uselistorder i64 %16, { 1, 0, 2, 3, 6, 4, 5 } uselistorder i64 %14, { 3, 0, 2, 1, 4, 5 } uselistorder i64 %sv_0.010.reload, { 0, 3, 2, 1 } uselistorder i64 %3, { 0, 1, 3, 2 } uselistorder i64 %2, { 0, 1, 3, 2, 4 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge312.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.011.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.010.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 5, 4 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 0, 2, 1 } uselistorder i64 16, { 4, 0, 1, 2, 3 } uselistorder i64 8, { 0, 2, 1, 3 } uselistorder i32 0, { 3, 2, 0, 1 } uselistorder i64 %arg6, { 1, 0, 3, 2 } uselistorder i64 %arg3, { 1, 0 } uselistorder label LBL_16, { 1, 0, 2, 3, 4 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
ftp_features_16986
ftp_features
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = load i64, i64* bitcast ([2 x i8*]* @gv_0 to i64*), align 8 %2 = call i64 @FUNC(i64 %0, i64 %1, i64* nonnull @gv_1, i64* nonnull %sv_0) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 211 %5 = icmp eq i1 %4, false br i1 %5, label LBL_3, label LBL_1 LBL_1: %6 = load i64, i64* %sv_0, align 8 %7 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0)) %8 = icmp eq i64 %7, 0 br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = load [15 x i8]*, [15 x i8]** @gv_3, align 8 %10 = ptrtoint [15 x i8]* %9 to i64 %11 = call i64 @FUNC(i64 %0, i64 %10, i64* nonnull @gv_4, i64* null) br label LBL_3 LBL_3: ret i64 0 uselistorder i64* %sv_0, { 1, 0 } uselistorder i1 false, { 1, 3, 2, 0, 4, 5 } uselistorder i64 (i64, i64, i64*, i64*)* @ftp_send_command, { 1, 0 } uselistorder i32 0, { 4, 5, 0, 1, 2, 3 } }
1
CompRealVul
lsr_read_delete_13019
lsr_read_delete
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i32 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %1 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i32, align 4 %2 = load i32, i32* %0 %3 = call i64 @FUNC(i64 %1) %4 = call i64 @FUNC(i64 %1, i32 %2, i64 1, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0)) %5 = icmp eq i32 %2, 0 store i32 -2, i32* %sv_0.0.reg2mem br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0)) %7 = trunc i64 %6 to i32 store i32 %7, i32* %sv_0.0.reg2mem br label LBL_2 LBL_2: %8 = trunc i64 %3 to i32 %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %9 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0)) %10 = call i64 @FUNC(i64 %1, i64 0, i64 1) %11 = icmp eq i64* %arg2, null br i1 %11, label LBL_9, label LBL_3 LBL_3: %12 = ptrtoint i64* %arg2 to i64 %13 = call i64 @FUNC(i64 %1, i64 0) %14 = call i64 @FUNC(i64 %12, i64 %13) %15 = and i64 %9, 4294967295 %16 = call i64 @FUNC(i64 %12, i64 %15) %17 = inttoptr i64 %13 to i64* store i64 %16, i64* %17, align 8 %18 = icmp eq i64 %16, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_5, label LBL_4 LBL_4: %20 = trunc i64 %9 to i32 %21 = add i64 %13, 8 %22 = inttoptr i64 %21 to i32* store i32 %20, i32* %22, align 4 %23 = add i64 %1, 8 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = call i64 @FUNC(i64 %25, i64 %13) br label LBL_6 LBL_5: %27 = call i64 @FUNC(i64 %16, i64 0) br label LBL_6 LBL_6: %28 = icmp slt i32 %sv_0.0.reload, 0 %29 = icmp slt i32 %8, 0 %or.cond = icmp eq i1 %29, %28 store i64 0, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_17, label LBL_7 LBL_7: %30 = call i64 @FUNC(i64 %13) %31 = inttoptr i64 %30 to i32* store i32 %sv_0.0.reload, i32* %31, align 4 store i64 0, i64* %rax.0.reg2mem br i1 %29, label LBL_17, label LBL_8 LBL_8: %32 = and i64 %3, 4294967295 %33 = call i64 @FUNC(i64 %32) %34 = trunc i64 %33 to i32 %35 = add i64 %30, 4 %36 = inttoptr i64 %35 to i32* store i32 %34, i32* %36, align 4 %37 = load i64, i64* %17, align 8 %38 = and i64 %33, 4294967295 %39 = bitcast i32* %sv_1 to i64* %40 = call i64 @FUNC(i64 %37, i64 %38, i64* nonnull %39) %41 = load i32, i32* %sv_1, align 4 %42 = add i64 %30, 8 %43 = inttoptr i64 %42 to i32* store i32 %41, i32* %43, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_17 LBL_9: %44 = and i64 %9, 4294967295 %45 = call i64 @FUNC(i64 %1, i64 %44) %46 = icmp eq i64 %45, 0 %47 = icmp eq i1 %46, false store i64 1, i64* %rax.0.reg2mem br i1 %47, label LBL_10, label LBL_17 LBL_10: %48 = icmp slt i32 %8, 0 br i1 %48, label LBL_12, label LBL_11 LBL_11: %49 = and i64 %3, 4294967295 %50 = call i64 @FUNC(i64 %49) %51 = and i64 %50, 4294967295 %52 = bitcast i32* %sv_1 to i64* %53 = call i64 @FUNC(i64 %45, i64 %51, i64* nonnull %52) store i64 0, i64* %rax.0.reg2mem br label LBL_17 LBL_12: %54 = icmp slt i32 %sv_0.0.reload, 0 br i1 %54, label LBL_16, label LBL_13 LBL_13: %55 = inttoptr i64 %45 to i64* %56 = load i64, i64* %55, align 8 %57 = zext i32 %sv_0.0.reload to i64 %58 = call i64 @FUNC(i64 %56, i64 %57) %59 = icmp eq i64 %58, 0 store i64 0, i64* %rax.0.reg2mem br i1 %59, label LBL_17, label LBL_14 LBL_14: %60 = call i64 @FUNC(i64 %45, i64 %58) %61 = trunc i64 %60 to i32 %62 = icmp eq i32 %61, 0 %63 = icmp eq i1 %62, false store i64 2, i64* %rax.0.reg2mem br i1 %63, label LBL_15, label LBL_17 LBL_15: %64 = call i64 @FUNC(i64 %58, i64 %45) store i64 0, i64* %rax.0.reg2mem br label LBL_17 LBL_16: %65 = call i64 @FUNC(i64 %45, i64 0, i64 0) store i64 0, i64* %rax.0.reg2mem br label LBL_17 LBL_17: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %45, { 3, 1, 2, 4, 0, 5 } uselistorder i1 %29, { 1, 0 } uselistorder i64 %13, { 1, 0, 2, 3, 4 } uselistorder i64 %12, { 1, 0 } uselistorder i64 %9, { 0, 2, 1 } uselistorder i32 %sv_0.0.reload, { 0, 1, 3, 2 } uselistorder i32 %8, { 1, 0 } uselistorder i32* %sv_1, { 2, 0, 1 } uselistorder i64 %1, { 2, 1, 3, 5, 4, 0, 6, 7 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 8, 4, 3, 9, 2, 1, 7 } uselistorder i64 (i64, i64, i64*)* @gf_node_get_field, { 1, 0 } uselistorder i64 (i64)* @gf_lsr_anim_type_to_attribute, { 1, 0 } uselistorder i64 (i64, i64)* @gf_sg_find_node, { 1, 0 } uselistorder i64 4294967295, { 5, 1, 2, 0, 3, 4 } uselistorder i64 (i64, i64)* @gf_list_add, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 0, 4, 5 } uselistorder i64 1, { 0, 2, 3, 1 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_17, { 5, 4, 7, 3, 2, 8, 1, 0, 6 } }
1
CompRealVul
mov_read_smi_16059
mov_read_smi
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp slt i32 %3, 0 %6 = icmp eq i1 %5, false %7 = icmp eq i1 %4, false %8 = icmp eq i1 %6, %7 store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_1, label LBL_4 LBL_1: %9 = icmp ult i64 %arg3, 1073741825 store i64 4294967295, i64* %rax.0.reg2mem br i1 %9, label LBL_2, label LBL_4 LBL_2: %sext = mul i64 %2, 4294967296 %10 = ashr exact i64 %sext, 29 %11 = add nsw i64 %10, -8 %12 = add i64 %2, 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = add i64 %11, %14 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = call i64 @FUNC(i64 %21) %23 = add i64 %arg3, 122 %24 = load i64, i64* %18, align 8 %25 = call i64 @FUNC(i64 %23) %26 = inttoptr i64 %24 to i64* store i64 %25, i64* %26, align 8 %27 = load i64, i64* %18, align 8 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = icmp eq i64 %29, 0 %31 = icmp eq i1 %30, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %31, label LBL_3, label LBL_4 LBL_3: %32 = ptrtoint i64* %arg2 to i64 %33 = trunc i64 %arg3 to i32 %34 = add i32 %33, 90 %35 = add i64 %27, 8 %36 = inttoptr i64 %35 to i32* store i32 %34, i32* %36, align 4 %37 = load i64, i64* %18, align 8 %38 = inttoptr i64 %37 to i64* %39 = load i64, i64* %38, align 8 %40 = inttoptr i64 %39 to i64* %41 = call i64* @memcpy(i64* %40, i64* bitcast ([5 x i8]* @gv_0 to i64*), i32 4) %42 = load i64, i64* %18, align 8 %43 = inttoptr i64 %42 to i64* %44 = load i64, i64* %43, align 8 %45 = add i64 %44, 90 %46 = call i64 @FUNC(i64 %32, i64 %45, i64 %arg3) %47 = load i64, i64* %18, align 8 %48 = inttoptr i64 %47 to i64* %49 = load i64, i64* %48, align 8 %50 = add i64 %49, 90 %51 = call i64 @FUNC(i64 %32, i64 0, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i64 %arg3, i64 %50, i64 %1) 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 %32, { 1, 0 } uselistorder i64 %2, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i1 false, { 1, 2, 0 } uselistorder i32 0, { 1, 2, 0 } uselistorder label LBL_4, { 3, 0, 1, 2 } }
1
CompRealVul
e1000e_ring_empty_17314
e1000e_ring_empty
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %1, 4294967296 %4 = ashr exact i64 %sext, 30 %5 = add i64 %4, %3 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = add i64 %2, 4 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = sext i32 %10 to i64 %12 = mul i64 %11, 4 %13 = add i64 %12, %3 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = icmp eq i32 %7, %15 %17 = zext i1 %16 to i64 ret i64 %17 }
1
CompRealVul
usb_msd_init_17061
usb_msd_init
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %2 = load i32, i32* @gv_0, align 4 store i32 ptrtoint (i64* @gv_1 to i32), i32* @gv_0, align 4 %3 = zext i32 %2 to i64 %4 = bitcast i64* %sv_4 to i8* %5 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %4, i32 8, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i64 %3) %6 = call i64 @FUNC(i64* nonnull @gv_3, i64* nonnull %sv_4, i64 0) %7 = inttoptr i64 %arg1 to i8* %8 = call i8* @strchr(i8* %7, i32 58) %9 = icmp eq i8* %8, null store i64 %arg1, i64* %sv_0.0.reg2mem br i1 %9, label LBL_5, label LBL_1 LBL_1: %10 = ptrtoint i8* %8 to i64 %11 = add i64 %10, 1 %12 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_4, i64 0, i64 0), i64* nonnull %sv_3) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 br i1 %14, label LBL_3, label LBL_2 LBL_2: %15 = load i64, i64* %sv_3, align 8 %16 = sub i64 %11, %15 %17 = icmp ult i64 %16, 32 %18 = select i1 %17, i64 %16, i64 32 %19 = call i64 @FUNC(i64* nonnull %sv_2, i64 %18, i64 %15) %20 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_5, i64 0, i64 0), i64* nonnull %sv_2) store i64 %11, i64* %sv_0.0.reg2mem br label LBL_5 LBL_3: %21 = trunc i64 %1 to i8 %22 = icmp eq i8 %21, 58 store i64 %11, i64* %sv_0.0.reg2mem br i1 %22, label LBL_5, label LBL_4 LBL_4: %23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_6, i64 0, i64 0), i8* %7) store i64 0, i64* %rax.0.reg2mem br label LBL_10 LBL_5: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %24 = inttoptr i64 %sv_0.0.reload to i8* %25 = load i8, i8* %24, align 1 %26 = icmp eq i8 %25, 0 %27 = icmp eq i1 %26, false br i1 %27, label LBL_7, label LBL_6 LBL_6: %28 = call i32 @puts(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_7, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_10 LBL_7: %29 = inttoptr i64 %sv_0.0.reload to i64* %30 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_8, i64 0, i64 0), i64* %29) %31 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_9, i64 0, i64 0), i64* bitcast ([5 x i8]* @gv_10 to i64*)) %32 = call i64 @FUNC(i64 %6, i64 0, i64* nonnull %sv_1) %33 = icmp eq i64 %32, 0 %34 = icmp eq i1 %33, false br i1 %34, label LBL_9, label LBL_8 LBL_8: %35 = call i64 @FUNC(i64 %6) store i64 0, i64* %rax.0.reg2mem br label LBL_10 LBL_9: %36 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_11, i64 0, i64 0)) %37 = call i64 @FUNC(i64 %36, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_12, i64 0, i64 0), i64 %32) %38 = call i64 @FUNC(i64 %36) store i64 %36, 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 %11, { 1, 0, 2 } uselistorder i8* %8, { 1, 0 } uselistorder i64 %6, { 1, 4, 3, 2, 0 } uselistorder i64* %sv_3, { 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64 (i64, i8*, i64*)* @qemu_opt_set, { 2, 1, 0 } uselistorder i64 1, { 2, 1, 0 } uselistorder i32 0, { 3, 4, 0, 1, 2 } uselistorder i32* @gv_0, { 1, 0 } uselistorder i32 1, { 10, 9, 8, 7, 5, 4, 3, 2, 6, 1, 0 } uselistorder i64 %arg1, { 1, 0, 2 } uselistorder label LBL_5, { 1, 0, 2 } }
1
CompRealVul
tricore_cpu_class_init_16373
tricore_cpu_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* store i64 4198669, i64* %arg1, align 8 store i64 4198676, i64* %2, align 8 %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i64* store i64 4198683, i64* %4, align 8 %5 = add i64 %0, 24 %6 = inttoptr i64 %5 to i64* store i64 4198690, i64* %6, align 8 %7 = add i64 %0, 32 %8 = inttoptr i64 %7 to i64* store i64 4198697, i64* %8, align 8 %9 = add i64 %0, 40 %10 = inttoptr i64 %9 to i64* store i64 4198704, i64* %10, align 8 ret i64 %0 uselistorder i64 %0, { 1, 0, 2, 3, 4, 5 } }
1
CompRealVul
wrgsbase_11957
wrgsbase
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = load i32, i32* inttoptr (i64 4210716 to i32*), align 4 %1 = icmp eq i32 %0, 0 br i1 %1, label LBL_2, label LBL_1 LBL_1: call void @FUNC(i64 %arg1) store i64 %arg1, i64* %rax.0.reg2mem br label LBL_3 LBL_2: %2 = call i64 @FUNC(i64 3221225729, i64 %arg1) store i64 %2, 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, 2, 1 } uselistorder i32 1, { 1, 0 } uselistorder i64 %arg1, { 1, 0, 2 } }
1
CompRealVul
virtio_pci_start_ioeventfd_15209
virtio_pci_start_ioeventfd
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = urem i64 %1, 2 %3 = icmp eq i64 %2, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_14, label LBL_1 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = add i64 %4, 4 %6 = inttoptr i64 %5 to i8* %7 = load i8, i8* %6, align 1 %8 = icmp eq i8 %7, 0 %9 = icmp eq i1 %8, false store i64 0, i64* %rax.0.reg2mem br i1 %9, label LBL_14, label LBL_2 LBL_2: %10 = add i64 %4, 5 %11 = inttoptr i64 %10 to i8* %12 = load i8, i8* %11, align 1 %13 = icmp eq i8 %12, 0 store i64 0, i64* %rax.0.reg2mem br i1 %13, label LBL_3, label LBL_14 LBL_3: %14 = add i64 %4, 8 %15 = inttoptr i64 %14 to i64* 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* %15, align 8 %17 = call i64 @FUNC(i64 %16, i64 %indvars.iv.reload) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 br i1 %19, label LBL_8, label LBL_5 LBL_5: %20 = call i64 @FUNC(i64 %4, i64 %indvars.iv.reload, i64 1) %21 = trunc i64 %20 to i32 %22 = icmp slt i32 %21, 0 br i1 %22, label LBL_6, label LBL_7 LBL_6: %23 = trunc i64 %indvars.iv.reload to i32 %24 = add i32 %23, -1 %25 = icmp slt i32 %24, 0 %26 = icmp eq i1 %25, false store i32 %24, i32* %.reg2mem br i1 %26, label LBL_10, label LBL_13 LBL_7: %27 = call i64 @FUNC(i64 %4, i64 %indvars.iv.reload, i64 1) br label LBL_8 LBL_8: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %28 = icmp ult i64 %indvars.iv.next, 16 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %28, label LBL_4, label LBL_9 LBL_9: store i8 1, i8* %11, align 1 store i64 0, i64* %rax.0.reg2mem br label LBL_14 LBL_10: %.reload = load i32, i32* %.reg2mem %29 = load i64, i64* %15, align 8 %30 = zext i32 %.reload to i64 %31 = call i64 @FUNC(i64 %29, i64 %30) %32 = trunc i64 %31 to i32 %33 = icmp eq i32 %32, 0 %34 = icmp eq i1 %33, false br i1 %34, label LBL_11, label LBL_12 LBL_11: %35 = call i64 @FUNC(i64 %4, i64 %30, i64 0) %36 = call i64 @FUNC(i64 %4, i64 %30, i64 0) br label LBL_12 LBL_12: %37 = add i32 %.reload, -1 %38 = icmp slt i32 %37, 0 %39 = icmp eq i1 %38, false store i32 %37, i32* %.reg2mem br i1 %39, label LBL_10, label LBL_13 LBL_13: store i8 0, i8* %11, align 1 store i8 1, i8* %6, align 1 %40 = and i64 %20, 4294967295 store i64 %40, i64* %rax.0.reg2mem br label LBL_14 LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %30, { 1, 0, 2 } uselistorder i32 %.reload, { 1, 0 } uselistorder i64 %indvars.iv.reload, { 0, 1, 4, 2, 3 } uselistorder i8* %11, { 1, 0, 2 } uselistorder i64 %4, { 2, 1, 0, 3, 4, 5, 6 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 2, 1 } uselistorder i64 (i64, i64, i64)* @virtio_pci_set_host_notifier_fd_handler, { 1, 0 } uselistorder i32 -1, { 1, 0 } uselistorder i64 (i64, i64, i64)* @virtio_pci_set_host_notifier_internal, { 1, 0 } uselistorder i32 0, { 2, 1, 0, 3, 4 } uselistorder i64 (i64, i64)* @virtio_queue_get_num, { 1, 0 } uselistorder i1 false, { 2, 1, 0, 3 } uselistorder label LBL_14, { 3, 4, 2, 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
CompRealVul
ff_mpeg_unref_picture_17671
ff_mpeg_unref_picture
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = add i64 %2, 24 store i64 %3, i64* %arg2, align 8 %4 = trunc i64 %1 to i32 %.off = add i32 %4, -1 %switch = icmp ult i32 %.off, 3 br i1 %switch, label LBL_2, label LBL_1 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = add i64 %5, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %8, i64 %2) br label LBL_3 LBL_2: %10 = call i64 @FUNC(i64 %3) br label LBL_3 LBL_3: %11 = add i64 %2, 8 %12 = call i64 @FUNC(i64 %11) %13 = add i64 %2, 20 %14 = inttoptr i64 %13 to i64* %15 = call i64* @memset(i64* %14, i32 0, i32 12) %16 = ptrtoint i64* %15 to i64 ret i64 %16 uselistorder i64 %2, { 2, 1, 0, 3 } }
1
CompRealVul
regexec_5223
regexec
define i64 @FUNC(i32* %arg1, i64 %arg2, i64* %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %2 = icmp eq i64* %arg3, null %3 = icmp eq i1 %2, false %spec.select = select i1 %3, i64* %arg3, i64* %sv_0 %sv_1.0 = ptrtoint i64* %spec.select to i64 %4 = trunc i64 %1 to i32 %5 = bitcast i64* %spec.select to i32* store i32 %4, i32* %5, align 4 store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %6 = mul i64 %indvars.iv.reload, 16 %7 = add i64 %6, %sv_1.0 %8 = add i64 %7, 16 %9 = inttoptr i64 %8 to i64* store i64 0, i64* %9, align 8 %10 = add i64 %7, 8 %11 = inttoptr i64 %10 to i64* store i64 0, i64* %11, align 8 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 10 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %12 = ptrtoint i32* %arg1 to i64 %13 = add i64 %12, 4 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = or i32 %15, %arg4 %17 = zext i32 %16 to i64 %18 = add i64 %12, 8 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = call i64 @FUNC(i64 %20, i64 %arg2, i64 %arg2, i64 %17, i64 %sv_1.0, i64 0) ret i64 %21 uselistorder i64 %sv_1.0, { 1, 0 } uselistorder i64* %spec.select, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 8, { 1, 0 } uselistorder i64 16, { 1, 0 } }
0
CompRealVul
spapr_cpu_core_realize_child_14601
spapr_cpu_core_realize_child
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 %sv_0 = alloca i64, align 8 store i64 0, i64* %sv_0, align 8 %2 = call i64 @FUNC() %3 = call i64 @FUNC(i64 %2) %4 = call i64 @FUNC(i64 %1) %5 = call i64 @FUNC(i64 %4) %6 = call i64 @FUNC(i64 %1, i64 1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_0) %7 = load i64, i64* %sv_0, align 8 %8 = icmp eq i64 %7, 0 br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = call i64 @FUNC(i64 %0, i64 %7) store i64 1, i64* %rax.0.reg2mem br label LBL_4 LBL_2: %10 = call i64 @FUNC(i64 %3, i64 %5, i64* nonnull %sv_0) %11 = load i64, i64* %sv_0, align 8 %12 = icmp eq i64 %11, 0 store i64 0, i64* %rax.0.reg2mem br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = call i64 @FUNC(i64 %0, i64 %11) 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* %sv_0, { 2, 0, 3, 1, 4 } uselistorder i64 %0, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 (i64, i64)* @error_propagate, { 1, 0 } uselistorder i64 1, { 1, 0, 2 } uselistorder label LBL_4, { 1, 0, 2 } }
1
CompRealVul
fill_buffer_2148
fill_buffer
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i32 %sv_0.13.reg2mem = alloca i64 %sv_0.1.ph6.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %r8.1.reg2mem = alloca i64 %rcx.1.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 = trunc i64 %3 to i32 %6 = icmp eq i32 %5, 0 %7 = add i64 %4, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = add i64 %4, 16 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %.op = mul i64 %3, 4294967296 %.op.op = ashr exact i64 %.op, 32 %13 = select i1 %6, i64 4096, i64 %.op.op %14 = add i64 %9, %13 %15 = sub i64 %14, %12 %16 = add i64 %4, 24 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = sext i32 %18 to i64 %20 = icmp slt i64 %15, %19 %storemerge1.in.in = select i1 %20, i64 %7, i64 %10 %storemerge1.in = inttoptr i64 %storemerge1.in.in to i64* %storemerge1 = load i64, i64* %storemerge1.in, align 8 %21 = add i64 %4, 32 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = icmp eq i64 %23, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_3, label LBL_1 LBL_1: %26 = add i64 %4, 56 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = icmp ult i64 %28, %9 br i1 %29, label LBL_3, label LBL_2 LBL_2: %30 = add i64 %4, 28 %31 = inttoptr i64 %30 to i32* store i32 1, i32* %31, align 4 br label LBL_3 LBL_3: %32 = add i64 %4, 28 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = zext i32 %34 to i64 %36 = icmp eq i32 %34, 0 %37 = icmp eq i1 %36, false store i64 %35, i64* %rax.0.reg2mem br i1 %37, label LBL_20, label LBL_4 LBL_4: %38 = zext i32 %18 to i64 %39 = add i64 %4, 72 %40 = inttoptr i64 %39 to i64* %41 = load i64, i64* %40, align 8 %42 = icmp eq i64 %41, 0 store i64 %38, i64* %rcx.1.reg2mem br i1 %42, label LBL_7, label LBL_5 LBL_5: %43 = load i64, i64* %11, align 8 %44 = icmp eq i64 %storemerge1, %43 %45 = icmp eq i1 %44, false store i64 %38, i64* %rcx.1.reg2mem br i1 %45, label LBL_7, label LBL_6 LBL_6: %46 = load i64, i64* %8, align 8 %47 = add i64 %4, 80 %48 = inttoptr i64 %47 to i64* %49 = load i64, i64* %48, align 8 %50 = icmp ugt i64 %46, %49 %spec.select = select i1 %50, i64 %49, i64 %38 %spec.select4 = select i1 %50, i64 %41, i64 %2 store i64 %43, i64* %48, align 8 store i64 %spec.select, i64* %rcx.1.reg2mem store i64 %spec.select4, i64* %r8.1.reg2mem br label LBL_7 LBL_7: %51 = load i64, i64* %22, align 8 %52 = icmp eq i64 %51, 0 store i64 %storemerge1, i64* %sv_0.13.reg2mem store i32 0, i32* %storemerge.reg2mem br i1 %52, label LBL_16, label LBL_8 LBL_8: %53 = add i64 %4, 48 %54 = inttoptr i64 %53 to i32* %55 = load i32, i32* %54, align 4 %56 = icmp eq i32 %55, 0 store i64 %storemerge1, i64* %sv_0.1.ph6.reg2mem br i1 %56, label LBL_15, label LBL_9 LBL_9: %57 = load i32, i32* %17, align 4 %58 = icmp ugt i32 %57, %55 store i64 %storemerge1, i64* %sv_0.1.ph6.reg2mem br i1 %58, label LBL_10, label LBL_15 LBL_10: %59 = load i64, i64* %11, align 8 %60 = icmp eq i64 %storemerge1, %59 %61 = icmp eq i1 %60, false store i32 %55, i32* %.reg2mem store i64 %storemerge1, i64* %sv_0.0.reg2mem br i1 %61, label LBL_14, label LBL_11 LBL_11: %62 = zext i32 %55 to i64 %63 = call i64 @FUNC(i64 %4, i64 %62) %64 = trunc i64 %63 to i32 %65 = icmp slt i32 %64, 0 %66 = icmp eq i1 %65, false br i1 %66, label LBL_13, label LBL_12 LBL_12: %r8.1.reload = load i64, i64* %r8.1.reg2mem %rcx.1.reload = load i64, i64* %rcx.1.reg2mem %67 = call i64 @FUNC(i64 %4, i64 1, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_0, i64 0, i64 0), i64 %rcx.1.reload, i64 %r8.1.reload, i64 %1) br label LBL_13 LBL_13: %68 = load i64, i64* %11, align 8 %69 = add i64 %4, 80 %70 = inttoptr i64 %69 to i64* store i64 %68, i64* %70, align 8 %.pre = load i32, i32* %54, align 4 store i32 %.pre, i32* %.reg2mem store i64 %68, i64* %sv_0.0.reg2mem br label LBL_14 LBL_14: %71 = sub i64 %storemerge1, %12 %72 = trunc i64 %71 to i32 %73 = sub i32 %18, %72 %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %.reload = load i32, i32* %.reg2mem %74 = sub i32 %73, %.reload %75 = xor i32 %.reload, %73 %76 = xor i32 %74, %73 %77 = and i32 %76, %75 %78 = icmp slt i32 %77, 0 %79 = icmp slt i32 %74, 0 %80 = icmp eq i1 %79, %78 %81 = zext i1 %80 to i64 %82 = call i64 @FUNC(i64 %81) %.pr.pre = load i64, i64* %22, align 8 %83 = icmp eq i64 %.pr.pre, 0 store i64 %sv_0.0.reload, i64* %sv_0.1.ph6.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.13.reg2mem store i32 0, i32* %storemerge.reg2mem br i1 %83, label LBL_16, label LBL_15 LBL_15: %sv_0.1.ph6.reload = load i64, i64* %sv_0.1.ph6.reg2mem %84 = add i64 %4, 40 %85 = inttoptr i64 %84 to i64* %86 = load i64, i64* %85, align 8 %87 = trunc i64 %86 to i32 store i64 %sv_0.1.ph6.reload, i64* %sv_0.13.reg2mem store i32 %87, i32* %storemerge.reg2mem br label LBL_16 LBL_16: %storemerge.reload = load i32, i32* %storemerge.reg2mem %88 = icmp eq i32 %storemerge.reload, 0 %89 = icmp slt i32 %storemerge.reload, 0 %90 = icmp eq i1 %89, false %91 = icmp eq i1 %88, false %92 = icmp eq i1 %90, %91 br i1 %92, label LBL_19, label LBL_17 LBL_17: store i32 1, i32* %33, align 4 store i64 %4, i64* %rax.0.reg2mem br i1 %90, label LBL_20, label LBL_18 LBL_18: %93 = add i64 %4, 68 %94 = inttoptr i64 %93 to i32* store i32 %storemerge.reload, i32* %94, align 4 store i64 %4, i64* %rax.0.reg2mem br label LBL_20 LBL_19: %sv_0.13.reload = load i64, i64* %sv_0.13.reg2mem %95 = add i64 %4, 52 %96 = inttoptr i64 %95 to i32* %97 = load i32, i32* %96, align 4 %98 = add i32 %97, %storemerge.reload store i32 %98, i32* %96, align 4 %99 = add i64 %4, 56 %100 = inttoptr i64 %99 to i64* store i64 %sv_0.13.reload, i64* %100, align 8 %101 = sext i32 %storemerge.reload to i64 %102 = add i64 %sv_0.13.reload, %101 store i64 %102, i64* %8, align 8 %103 = add i64 %4, 64 %104 = inttoptr i64 %103 to i32* %105 = load i32, i32* %104, align 4 %106 = add i32 %105, %storemerge.reload store i32 %106, i32* %104, align 4 store i64 %4, i64* %rax.0.reg2mem br label LBL_20 LBL_20: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_0.13.reload, { 1, 0 } uselistorder i32 %storemerge.reload, { 5, 2, 4, 3, 0, 1 } uselistorder i32 %74, { 1, 0 } uselistorder i32 %.reload, { 1, 0 } uselistorder i32 %55, { 1, 0, 2, 3 } uselistorder i64 %38, { 2, 0, 1 } uselistorder i64 %storemerge1, { 6, 3, 5, 2, 1, 0, 4 } uselistorder i32 %18, { 1, 0, 2 } uselistorder i64 %12, { 1, 0 } uselistorder i64* %11, { 1, 2, 0, 3 } uselistorder i64 %9, { 1, 0 } uselistorder i64* %8, { 1, 0, 2 } uselistorder i64 %4, { 2, 6, 7, 8, 0, 5, 1, 9, 4, 3, 11, 10, 13, 12, 14, 17, 16, 15, 20, 19, 18 } uselistorder i64 %3, { 1, 0 } uselistorder i64* %sv_0.1.ph6.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %sv_0.13.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2, 4 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i1 false, { 1, 0, 2, 3, 4, 5, 6 } uselistorder i64 32, { 1, 0 } uselistorder i32 0, { 2, 3, 1, 4, 5, 6, 7, 0, 8, 9 } uselistorder label LBL_20, { 1, 2, 3, 0 } uselistorder label LBL_16, { 2, 1, 0 } uselistorder label LBL_15, { 2, 1, 0 } uselistorder label LBL_14, { 1, 0 } }
0
CompRealVul
qobject_input_type_null_820
qobject_input_type_null
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %1 = call i64 @FUNC(i64 %arg1) %2 = call i64 @FUNC(i64 %1, i64 %arg2, i64 1, i64 %0) %3 = icmp eq i64 %2, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_3, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %2) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 store i64 %4, i64* %rax.0.reg2mem br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = call i64 @FUNC(i64 %1, i64 %arg2) %8 = call i64 @FUNC(i64 %0, i64 1, i64 %7, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) store i64 %8, 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 label LBL_3, { 1, 2, 0 } }
0
CompRealVul
e1000e_macreg_write_15485
e1000e_macreg_write
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = and i64 %arg3, 4294967295 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = trunc i64 %arg2 to i32 %6 = add i32 %4, %5 %7 = zext i32 %6 to i64 %8 = call i64 @FUNC(i64 %0, i64 %7, i64 %1) ret i64 %8 }
1
CompRealVul
uipbuf_get_next_header_5573
uipbuf_get_next_header
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i8 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.ph.reg2mem = alloca i32 %storemerge.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %4 = icmp eq i8 %arg4, 0 %5 = trunc i64 %1 to i8 %6 = bitcast i64* %arg3 to i8* store i8 %5, i8* %6, align 1 store i32 20, i32* %storemerge.reg2mem br i1 %4, label LBL_1, label LBL_2 LBL_1: %7 = add i64 %3, 1 %8 = inttoptr i64 %7 to i8* %9 = load i8, i8* %8, align 1 %10 = zext i8 %9 to i32 %11 = mul i32 %10, 8 %12 = add nuw nsw i32 %11, 8 store i32 %12, i32* %storemerge.reg2mem br label LBL_2 LBL_2: %13 = urem i64 %arg2, 65536 %storemerge.reload = load i32, i32* %storemerge.reg2mem %14 = sext i32 %storemerge.reload to i64 %15 = icmp slt i64 %13, %14 br i1 %15, label LBL_10, label LBL_3 LBL_3: %16 = add i64 %14, %3 %17 = urem i64 %2, 256 %18 = call i64 @FUNC(i64 %17) %19 = trunc i64 %18 to i8 %20 = icmp eq i8 %19, 0 br i1 %20, label LBL_6, label LBL_4 LBL_4: %narrow = add nsw i32 %storemerge.reload, 2 %21 = sext i32 %narrow to i64 %22 = icmp ult i64 %13, %21 br i1 %22, label LBL_10, label LBL_5 LBL_5: %23 = add i64 %16, 1 %24 = inttoptr i64 %23 to i8* %25 = load i8, i8* %24, align 1 %26 = zext i8 %25 to i32 %27 = mul i32 %26, 8 %28 = add nuw nsw i32 %27, 8 store i32 %28, i32* %sv_0.0.ph.reg2mem br label LBL_9 LBL_6: %29 = trunc i64 %2 to i8 %30 = icmp eq i8 %29, 6 %31 = icmp eq i1 %30, false store i32 20, i32* %sv_0.0.ph.reg2mem br i1 %31, label LBL_7, label LBL_9 LBL_7: %32 = icmp eq i8 %29, 17 %33 = icmp eq i1 %32, false store i32 8, i32* %sv_0.0.ph.reg2mem br i1 %33, label LBL_8, label LBL_9 LBL_8: %34 = icmp eq i8 %29, 58 %35 = icmp eq i1 %34, false store i32 4, i32* %sv_0.0.ph.reg2mem br i1 %35, label LBL_10, label LBL_9 LBL_9: %sv_0.0.ph.reload = load i32, i32* %sv_0.0.ph.reg2mem %36 = add nsw i32 %sv_0.0.ph.reload, %storemerge.reload %37 = zext i32 %36 to i64 %38 = icmp ult i64 %13, %37 %spec.select2 = select i1 %38, i64 0, i64 %16 ret i64 %spec.select2 LBL_10: ret i64 0 uselistorder i32 %storemerge.reload, { 2, 1, 0 } uselistorder i64 %13, { 1, 2, 0 } uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.0.ph.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i32 8, { 0, 3, 1, 4, 2 } uselistorder label LBL_9, { 3, 2, 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
r128_cce_clear_13087
r128_cce_clear
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = call i32 @putchar(i32 10) %3 = trunc i64 %1 to i32 %4 = icmp slt i32 %3, 17 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = bitcast i64* %arg1 to i32* store i32 16, i32* %5, align 4 br label LBL_2 LBL_2: %6 = ptrtoint i64* %arg2 to i64 %7 = ptrtoint i64* %arg1 to i64 %8 = call i64 @FUNC(i64 %7, i64 %6) %9 = add i64 %7, 4 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = or i32 %11, 3 store i32 %12, i32* %10, align 4 ret i64 0 uselistorder i64 %7, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } }
1
CompRealVul
dvb_usb_device_exit_18990
dvb_usb_device_exit
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i8* %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0, i64 0) %3 = icmp eq i64 %1, 0 store i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i8** %sv_0.0.reg2mem br i1 %3, label LBL_3, label LBL_1 LBL_1: %4 = inttoptr i64 %1 to i64* %5 = load i64, i64* %4, align 8 %6 = icmp eq i64 %5, 0 store i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i8** %sv_0.0.reg2mem br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = inttoptr i64 %5 to i64* %8 = load i64, i64* %7, align 8 %9 = inttoptr i64 %8 to i8* %10 = call i64 @FUNC(i64 %1) store i8* %9, i8** %sv_0.0.reg2mem br label LBL_3 LBL_3: %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem %11 = ptrtoint i8* %sv_0.0.reload to i64 %12 = call i64 @FUNC(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i64 %11) ret i64 %12 }
1
CompRealVul
dispatch_packet_7790
dispatch_packet
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i16 %arg4, i64* %arg5, i32 %arg6, i64 %arg7) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.03.reg2mem = alloca i32 %rsi.1.reg2mem = alloca i64 %rsi.0.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %.reg2mem = alloca i64 %rdi.5.reg2mem = alloca i64 %rdi.4.reg2mem = alloca i64 %rdi.3.reg2mem = alloca i64 %rdi.2.reg2mem = alloca i64 %rdi.1.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_2 = alloca i64, align 8 %3 = icmp eq i64* %arg1, null %4 = icmp eq i1 %3, false store i64 %2, i64* %rdi.0.reg2mem br i1 %4, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_1, i64 0, i64 0), i32 108, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([2 x i8]* @gv_0 to i64), i64* %rdi.0.reg2mem br label LBL_2 LBL_2: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %5 = icmp eq i64* %arg2, null %6 = icmp eq i1 %5, false store i64 %rdi.0.reload, i64* %rdi.1.reg2mem br i1 %6, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_1, i64 0, i64 0), i32 109, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([2 x i8]* @gv_3 to i64), i64* %rdi.1.reg2mem br label LBL_4 LBL_4: %rdi.1.reload = load i64, i64* %rdi.1.reg2mem %7 = icmp eq i64* %arg3, null %8 = icmp eq i1 %7, false store i64 %rdi.1.reload, i64* %rdi.2.reg2mem br i1 %8, label LBL_6, label LBL_5 LBL_5: call void @__assert_fail(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_1, i64 0, i64 0), i32 110, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([12 x i8]* @gv_4 to i64), i64* %rdi.2.reg2mem br label LBL_6 LBL_6: %rdi.2.reload = load i64, i64* %rdi.2.reg2mem %9 = icmp eq i64* %arg5, null %10 = icmp eq i1 %9, false store i64 %rdi.2.reload, i64* %rdi.3.reg2mem br i1 %10, label LBL_8, label LBL_7 LBL_7: call void @__assert_fail(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_1, i64 0, i64 0), i32 111, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([12 x i8]* @gv_5 to i64), i64* %rdi.3.reg2mem br label LBL_8 LBL_8: %rdi.3.reload = load i64, i64* %rdi.3.reg2mem %11 = icmp eq i32 %arg6, 0 %12 = icmp slt i32 %arg6, 0 %13 = icmp eq i1 %12, false %14 = icmp eq i1 %11, false %15 = icmp eq i1 %13, %14 store i64 %rdi.3.reload, i64* %rdi.4.reg2mem br i1 %15, label LBL_10, label LBL_9 LBL_9: call void @__assert_fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_1, i64 0, i64 0), i32 112, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([10 x i8]* @gv_6 to i64), i64* %rdi.4.reg2mem br label LBL_10 LBL_10: %16 = ptrtoint i64* %arg5 to i64 %17 = trunc i64 %1 to i32 %18 = trunc i64 %16 to i32 %rdi.4.reload = load i64, i64* %rdi.4.reg2mem %19 = icmp eq i32 %17, %18 store i64 %rdi.4.reload, i64* %rdi.5.reg2mem br i1 %19, label LBL_12, label LBL_11 LBL_11: call void @__assert_fail(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_7, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_1, i64 0, i64 0), i32 113, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([41 x i8]* @gv_7 to i64), i64* %rdi.5.reg2mem br label LBL_12 LBL_12: %20 = sext i32 %arg6 to i64 %rdi.5.reload = load i64, i64* %rdi.5.reg2mem %21 = zext i32 %arg6 to i64 %22 = call i64 @FUNC(i64 %rdi.5.reload, i64 %21, i32 %17) %23 = icmp eq i64 %22, 0 br i1 %23, label LBL_14, label LBL_13 LBL_13: %24 = inttoptr i64 %22 to i32* %25 = load i32, i32* %24, align 4 %26 = icmp eq i32 %25, 0 %27 = icmp eq i1 %26, false br i1 %27, label LBL_15, label LBL_14 LBL_14: %28 = and i64 %1, 4294967295 %29 = call i64 @FUNC(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_8, i64 0, i64 0), i64 %21, i64 %28, i64 %21, i64 %16, i64 %20) store i64 %29, i64* %rax.0.reg2mem br label LBL_43 LBL_15: %30 = ptrtoint i64* %arg3 to i64 %31 = call i64 @FUNC(i64 %30) %32 = trunc i64 %31 to i32 %33 = icmp eq i32 %32, 0 %34 = icmp eq i1 %33, false store i64 %31, i64* %rax.0.reg2mem br i1 %34, label LBL_43, label LBL_16 LBL_16: %35 = call i64 @FUNC(i64 %2, i64 %30, i16 %arg4) %36 = trunc i64 %35 to i32 %37 = icmp eq i32 %36, 0 %38 = icmp eq i1 %37, false store i64 %35, i64* %rax.0.reg2mem br i1 %38, label LBL_43, label LBL_17 LBL_17: %39 = zext i16 %arg4 to i64 %40 = add i64 %2, 8 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = icmp eq i32 %42, 0 store i64 %39, i64* %.reg2mem store i64 0, i64* %sv_1.0.reg2mem store i64 %30, i64* %rcx.0.reg2mem store i64 %30, i64* %rsi.0.reg2mem br i1 %43, label LBL_19, label LBL_18 LBL_18: %44 = call i64 @FUNC(i64 %2, i32 %arg6, i64 %30, i16 %arg4) %phitmp = and i64 %44, 4294967295 store i64 %30, i64* %.reg2mem store i64 %phitmp, i64* %sv_1.0.reg2mem store i64 %39, i64* %rcx.0.reg2mem store i64 %21, i64* %rsi.0.reg2mem br label LBL_19 LBL_19: %45 = ptrtoint i64* %arg2 to i64 %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %.reload = load i64, i64* %.reg2mem %46 = call i64 @FUNC(i64 %45) %47 = trunc i64 %46 to i32 %48 = icmp slt i32 %47, 0 %49 = icmp eq i1 %48, false br i1 %49, label LBL_21, label LBL_20 LBL_20: %rsi.0.reload = load i64, i64* %rsi.0.reg2mem %50 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_9, i64 0, i64 0), i64 %rsi.0.reload, i64 %.reload, i64 %rcx.0.reload, i64 %16, i64 %20) store i64 %50, i64* %rax.0.reg2mem br label LBL_43 LBL_21: %51 = call i64 @FUNC(i64 %45) %52 = trunc i64 %51 to i32 %53 = icmp eq i32 %52, 0 br i1 %53, label LBL_30, label LBL_22 LBL_22: %54 = call i64 @FUNC(i64 %45, i64 1) %55 = trunc i64 %54 to i32 %56 = icmp eq i32 %55, 0 br i1 %56, label LBL_24, label LBL_23 LBL_23: %57 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_10, i64 0, i64 0), i64 1, i64 %.reload, i64 %rcx.0.reload, i64 %16, i64 %20) store i64 %57, i64* %rax.0.reg2mem br label LBL_43 LBL_24: %58 = icmp eq i16 %arg4, 5353 store i32 0, i32* %sv_0.03.reg2mem br i1 %58, label LBL_29, label LBL_25 LBL_25: %59 = call i64 @FUNC(i64 %45, i64 2) %60 = trunc i64 %59 to i32 %61 = icmp eq i32 %60, 0 %62 = icmp eq i1 %61, false store i64 2, i64* %rsi.1.reg2mem br i1 %62, label LBL_27, label LBL_26 LBL_26: %63 = call i64 @FUNC(i64 %45, i64 3) %64 = trunc i64 %63 to i32 %65 = icmp eq i32 %64, 0 store i64 3, i64* %rsi.1.reg2mem br i1 %65, label LBL_28, label LBL_27 LBL_27: %rsi.1.reload = load i64, i64* %rsi.1.reg2mem %66 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_11, i64 0, i64 0), i64 %rsi.1.reload, i64 %.reload, i64 %rcx.0.reload, i64 %16, i64 %20) store i64 %66, i64* %rax.0.reg2mem br label LBL_43 LBL_28: %67 = call i64 @FUNC(i64 %2, i64 %45, i64 %22, i64 %30, i64 %39) store i32 1, i32* %sv_0.03.reg2mem br label LBL_29 LBL_29: %sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem %68 = call i64 @FUNC(i64 %2, i64 %45, i64 %22, i64 %30, i16 %arg4, i32 %sv_0.03.reload) store i64 %68, i64* %rax.0.reg2mem br label LBL_43 LBL_30: %69 = icmp eq i16 %arg4, 5353 br i1 %69, label LBL_32, label LBL_31 LBL_31: %70 = add i64 %22, 16 %71 = inttoptr i64 %70 to i32* %72 = load i32, i32* %71, align 4 %73 = add i64 %22, 8 %74 = inttoptr i64 %73 to i64* %75 = load i64, i64* %74, align 8 %76 = inttoptr i64 %75 to i64* %77 = load i64, i64* %76, align 8 %78 = call i64 @FUNC(i64* nonnull %sv_2, i64 64, i64 %30) %79 = zext i32 %72 to i64 %80 = call i64 @FUNC(i8* getelementptr inbounds ([80 x i8], [80 x i8]* @gv_12, i64 0, i64 0), i64 %78, i64 %39, i64 %77, i64 %79, i64 %20) store i64 %80, i64* %rax.0.reg2mem br label LBL_43 LBL_32: %sext = mul i64 %arg7, 4294967296 %81 = ashr exact i64 %sext, 32 %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %82 = trunc i64 %81 to i32 %83 = icmp eq i32 %82, 255 br i1 %83, label LBL_35, label LBL_33 LBL_33: %84 = add i64 %2, 12 %85 = inttoptr i64 %84 to i32* %86 = load i32, i32* %85, align 4 %87 = icmp eq i32 %86, 0 br i1 %87, label LBL_35, label LBL_34 LBL_34: %88 = add i64 %22, 16 %89 = inttoptr i64 %88 to i32* %90 = load i32, i32* %89, align 4 %91 = add i64 %22, 8 %92 = inttoptr i64 %91 to i64* %93 = load i64, i64* %92, align 8 %94 = inttoptr i64 %93 to i64* %95 = load i64, i64* %94, align 8 %96 = call i64 @FUNC(i64* nonnull %sv_2, i64 64, i64 %30) %97 = zext i32 %90 to i64 %98 = and i64 %81, 4294967295 %99 = call i64 @FUNC(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @gv_13, i64 0, i64 0), i64 %96, i64 %98, i64 %95, i64 %97, i64 %20) store i64 %99, i64* %rax.0.reg2mem br label LBL_43 LBL_35: %100 = call i64 @FUNC(i64 %16) %101 = trunc i64 %100 to i32 %102 = icmp eq i32 %101, 0 %103 = icmp eq i1 %102, false br i1 %103, label LBL_38, label LBL_36 LBL_36: %104 = call i64 @FUNC(i64 %22, i64 %30) %105 = trunc i64 %104 to i32 %106 = icmp eq i32 %105, 0 %107 = icmp eq i1 %106, false br i1 %107, label LBL_38, label LBL_37 LBL_37: %108 = add i64 %22, 16 %109 = inttoptr i64 %108 to i32* %110 = load i32, i32* %109, align 4 %111 = add i64 %22, 8 %112 = inttoptr i64 %111 to i64* %113 = load i64, i64* %112, align 8 %114 = inttoptr i64 %113 to i64* %115 = load i64, i64* %114, align 8 %116 = call i64 @FUNC(i64* nonnull %sv_2, i64 64, i64 %30) %117 = zext i32 %110 to i64 %118 = call i64 @FUNC(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @gv_14, i64 0, i64 0), i64 %116, i64 %115, i64 %117, i64 %16, i64 %20) store i64 %118, i64* %rax.0.reg2mem br label LBL_43 LBL_38: %119 = call i64 @FUNC(i64 %45, i64 4) %120 = trunc i64 %119 to i32 %121 = icmp eq i32 %120, 0 %122 = icmp eq i1 %121, false br i1 %122, label LBL_41, label LBL_39 LBL_39: %123 = call i64 @FUNC(i64 %45, i64 2) %124 = trunc i64 %123 to i32 %125 = icmp eq i32 %124, 0 br i1 %125, label LBL_41, label LBL_40 LBL_40: %126 = call i64 @FUNC(i64 %45, i64 3) %127 = trunc i64 %126 to i32 %128 = icmp eq i32 %127, 0 br i1 %128, label LBL_42, label LBL_41 LBL_41: %129 = call i64 @FUNC(i64* nonnull %sv_2, i64 64, i64 %30) %130 = call i64 @FUNC(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_15, i64 0, i64 0), i64 %129, i64 %30, i64 %rcx.0.reload, i64 %16, i64 %20) store i64 %130, i64* %rax.0.reg2mem br label LBL_43 LBL_42: %131 = call i64 @FUNC(i64 %2, i64 %45, i64 %22, i64 %30, i64 %sv_1.0.reload) store i64 %131, i64* %rax.0.reg2mem br label LBL_43 LBL_43: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %.reload, { 2, 1, 0 } uselistorder i64 %45, { 5, 6, 7, 8, 3, 2, 0, 1, 4, 9, 10 } uselistorder i64 %39, { 3, 2, 0, 1 } uselistorder i64 %30, { 10, 11, 12, 8, 9, 7, 6, 5, 4, 2, 3, 0, 1, 13, 14 } uselistorder i64 %20, { 6, 5, 4, 3, 2, 1, 0, 7 } uselistorder i64 %16, { 1, 2, 7, 3, 4, 5, 0, 6 } uselistorder i64 %2, { 5, 4, 3, 2, 1, 6, 7, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %sv_0.03.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 8, 9, 7, 6, 5, 4, 3, 2, 1, 10, 11, 12 } uselistorder i64 (i64*, i64, i64)* @avahi_address_snprint, { 3, 2, 1, 0 } uselistorder i64 3, { 1, 0, 2 } uselistorder i64 2, { 1, 0, 2 } uselistorder i64 (i64, i64)* @avahi_dns_packet_get_field, { 5, 4, 3, 2, 1, 0 } uselistorder i64 1, { 2, 3, 0, 1 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @avahi_log_warn, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 4294967295, { 2, 1, 0, 3, 4 } uselistorder [41 x i8]* @gv_7, { 1, 0 } uselistorder [10 x i8]* @gv_6, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 7, 8, 0, 9, 10, 11, 12, 13, 14, 15, 16, 17 } uselistorder [12 x i8]* @gv_5, { 1, 0 } uselistorder [12 x i8]* @gv_4, { 1, 0 } uselistorder [2 x i8]* @gv_3, { 1, 0 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 5, 4, 3, 2, 1, 0 } uselistorder [2 x i8]* @gv_0, { 1, 0 } uselistorder i1 false, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13 } uselistorder i32 %arg6, { 0, 1, 4, 3, 2 } uselistorder i64* %arg5, { 1, 0 } uselistorder i16 %arg4, { 3, 1, 2, 0, 4, 5 } uselistorder i64* %arg3, { 1, 0 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_43, { 2, 3, 4, 5, 6, 7, 8, 9, 10, 0, 1, 11 } uselistorder label LBL_29, { 1, 0 } }
1
CompRealVul
iniparser_getdouble_6899
iniparser_getdouble
define i128 @FUNC(i64* %arg1, i8* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i128 %storemerge.reg2mem = alloca i64 %1 = load i128, i128* %0 %2 = ptrtoint i8* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i128 %1) %5 = call i64 @FUNC(i64 %3, i64 %2, i64 0) %6 = icmp eq i64 %5, 0 store i64 %4, i64* %storemerge.reg2mem br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = inttoptr i64 %5 to i8* %8 = call double @atof(i8* %7) %9 = fptrunc double %8 to float %10 = bitcast float %9 to i32 %11 = sext i32 %10 to i128 %12 = call i64 @FUNC(i128 %11) store i64 %12, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem %13 = call i128 @__asm_movq.1(i64 %storemerge.reload) ret i128 %13 uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
__sock_queue_rcv_skb_8727
__sock_queue_rcv_skb
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 = ptrtoint i64* %arg1 to i64 %4 = load i64, i64* %0 %5 = add i64 %3, 16 %6 = call i64 @FUNC(i64 %5) %7 = add i64 %3, 8 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = zext i32 %9 to i64 %11 = icmp slt i64 %6, %10 br i1 %11, label LBL_2, label LBL_1 LBL_1: %12 = add i64 %3, 12 %13 = call i64 @FUNC(i64 %12) %14 = call i64 @FUNC(i64 %3, i64 %2) store i64 4294967284, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %15 = trunc i64 %1 to i32 %16 = call i64 @FUNC(i64 %3, i64 %2, i32 %15) %17 = trunc i64 %16 to i8 %18 = icmp eq i8 %17, 1 br i1 %18, label LBL_4, label LBL_3 LBL_3: %19 = add i64 %3, 12 %20 = call i64 @FUNC(i64 %19) store i64 4294967191, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %21 = add i64 %2, 8 %22 = inttoptr i64 %21 to i64* store i64 0, i64* %22, align 8 %23 = call i64 @FUNC(i64 %2, i64 %3) %24 = call i64 @FUNC(i64 %2) %25 = call i64 @FUNC(i64 %3, i64 %4) %26 = call i64 @FUNC(i64 %3, i64 %2) %27 = call i64 @FUNC(i64 %3, i64 %2) %28 = call i64 @FUNC(i64 %3, i64 %4) %29 = call i64 @FUNC(i64 %3, i64 1) store i64 0, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %3, { 3, 4, 7, 5, 6, 8, 2, 9, 1, 0, 10, 11 } uselistorder i64 %2, { 1, 4, 3, 2, 5, 6, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i64 (i64)* @atomic_inc, { 1, 0 } }
0
CompRealVul
btrfs_extent_same_3775
btrfs_extent_same
define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3, i32* %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = icmp eq i32* %arg1, %arg4 %1 = icmp eq i1 %0, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_8 LBL_1: %2 = icmp eq i64 %arg3, 0 %3 = icmp eq i1 %2, false store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_2, label LBL_8 LBL_2: %4 = ptrtoint i32* %arg4 to i64 %5 = ptrtoint i32* %arg1 to i64 %6 = call i64 @FUNC(i64 %5, i64 %arg2, i64 %4, i64 %arg5, i64 %arg3) %7 = call i64 @FUNC(i64 %5, i64 %arg2, i64 %arg3) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false store i64 %7, i64* %sv_0.0.reg2mem br i1 %10, label LBL_7, label LBL_3 LBL_3: %11 = call i64 @FUNC(i64 %4, i64 %arg5, i64 %arg3) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false store i64 %11, i64* %sv_0.0.reg2mem br i1 %14, label LBL_7, label LBL_4 LBL_4: %15 = call i64 @FUNC(i64 %5) %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = call i64 @FUNC(i64 %4) %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = xor i32 %20, %17 %22 = urem i32 %21, 2 %23 = icmp eq i32 %22, 0 store i64 4294967274, i64* %sv_0.0.reg2mem br i1 %23, label LBL_5, label LBL_7 LBL_5: %24 = call i64 @FUNC(i64 %5, i64 %arg2, i64 %4, i64 %arg5, i64 %arg3) %25 = trunc i64 %24 to i32 %26 = icmp eq i32 %25, 0 %27 = icmp eq i1 %26, false store i64 %24, i64* %sv_0.0.reg2mem br i1 %27, label LBL_7, label LBL_6 LBL_6: %28 = call i64 @FUNC(i64 %5, i64 %4, i64 %arg2, i64 %arg3, i64 %arg3, i64 %arg5) store i64 %28, i64* %sv_0.0.reg2mem br label LBL_7 LBL_7: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %29 = call i64 @FUNC(i64 %5, i64 %arg2, i64 %4, i64 %arg5, i64 %arg3) %30 = and i64 %sv_0.0.reload, 4294967295 store i64 %30, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %5, { 3, 0, 1, 2, 4, 5 } uselistorder i64 %4, { 4, 0, 1, 2, 3, 5 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 1, 4, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 (i64)* @BTRFS_I, { 1, 0 } uselistorder i64 (i64, i64, i64)* @extent_same_check_offsets, { 1, 0 } uselistorder i64 4294967274, { 1, 0 } uselistorder i64 %arg5, { 3, 0, 1, 2, 4 } uselistorder i64 %arg3, { 4, 0, 1, 2, 3, 5, 7, 6 } uselistorder i64 %arg2, { 2, 0, 1, 4, 3 } uselistorder label LBL_8, { 2, 0, 1 } uselistorder label LBL_7, { 4, 1, 0, 2, 3 } }
0
CompRealVul
RemoveUnknownSections_19100
RemoveUnknownSections
define i64 @FUNC() local_unnamed_addr { LBL_0: %sv_0.0.ph.lcssa.reg2mem = alloca i64 %sv_0.0.ph4.reg2mem = alloca i64 %sv_1.0.ph5.reg2mem = alloca i32 %.reg2mem19 = alloca i64 %.reg2mem17 = alloca i32 %sv_1.02.reg2mem = alloca i32 %.reg2mem = alloca i64 %0 = load i32, i32* @gv_0, align 4 %1 = icmp eq i32 %0, 1 store i32 %0, i32* %.reg2mem17 store i64 0, i64* %.reg2mem19 store i32 0, i32* %sv_1.0.ph5.reg2mem store i64 0, i64* %sv_0.0.ph4.reg2mem store i64 0, i64* %sv_0.0.ph.lcssa.reg2mem br i1 %1, label LBL_6, label LBL_1.lr.ph LBL_1: %sv_1.02.reload = load i32, i32* %sv_1.02.reg2mem %.reload = load i64, i64* %.reg2mem %2 = mul i64 %.reload, 16 %3 = add i64 %2, %41 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = icmp ult i32 %5, 27 %7 = icmp ne i1 %6, true %8 = icmp eq i1 %7, false %9 = icmp eq i1 %8, false br i1 %9, label LBL_4, label LBL_2 LBL_2: %10 = urem i32 %5, 64 %11 = icmp ne i32 %10, 0 %12 = zext i32 %10 to i64 %13 = lshr i64 134213359, %12 %.op = urem i64 %13, 2 %14 = icmp eq i64 %.op, 0 %15 = icmp eq i1 %11, %14 %16 = icmp eq i1 %15, false %17 = icmp eq i1 %16, false br i1 %17, label LBL_4, label LBL_3 LBL_3: %18 = add i32 %sv_1.02.reload, 1 %19 = sext i32 %18 to i64 %20 = icmp slt i64 %19, %43 store i64 %19, i64* %.reg2mem store i32 %18, i32* %sv_1.02.reg2mem store i64 %sv_0.0.ph4.reload, i64* %sv_0.0.ph.lcssa.reg2mem br i1 %20, label LBL_1, label LBL_6 LBL_4: %21 = or i64 %2, 8 %22 = add i64 %21, %41 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = inttoptr i64 %24 to i64* call void @free(i64* %25) %26 = load i32, i32* @gv_0, align 4 %27 = sub i32 %26, %sv_1.02.reload %28 = mul i32 %27, 16 %29 = load i64, i64* @gv_1, align 8 %30 = add i64 %29, %2 %31 = add i64 %30, 16 %32 = inttoptr i64 %30 to i64* %33 = inttoptr i64 %31 to i64* %34 = call i64* @memmove(i64* %32, i64* %33, i32 %28) %35 = load i32, i32* @gv_0, align 4 %36 = add i32 %35, -1 store i32 %36, i32* @gv_0, align 4 %37 = add i32 %35, -2 %38 = zext i32 %37 to i64 %39 = sext i32 %sv_1.02.reload to i64 %40 = icmp slt i64 %39, %38 store i32 %36, i32* %.reg2mem17 store i64 %39, i64* %.reg2mem19 store i32 %sv_1.02.reload, i32* %sv_1.0.ph5.reg2mem store i64 1, i64* %sv_0.0.ph4.reg2mem store i64 1, i64* %sv_0.0.ph.lcssa.reg2mem br i1 %40, label LBL_1.lr.ph, label LBL_6 LBL_5: %sv_0.0.ph4.reload = load i64, i64* %sv_0.0.ph4.reg2mem %sv_1.0.ph5.reload = load i32, i32* %sv_1.0.ph5.reg2mem %.reload20 = load i64, i64* %.reg2mem19 %.reload18 = load i32, i32* %.reg2mem17 %41 = load i64, i64* @gv_1, align 8 %42 = add i32 %.reload18, -1 %43 = zext i32 %42 to i64 store i64 %.reload20, i64* %.reg2mem store i32 %sv_1.0.ph5.reload, i32* %sv_1.02.reg2mem br label LBL_1 LBL_6: %sv_0.0.ph.lcssa.reload = load i64, i64* %sv_0.0.ph.lcssa.reg2mem %44 = and i64 %sv_0.0.ph.lcssa.reload, 4294967295 ret i64 %44 uselistorder i64 %41, { 1, 0 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i32 %sv_1.02.reload, { 0, 2, 3, 1 } uselistorder i64* %.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_1.02.reg2mem, { 2, 1, 0 } uselistorder i32* %.reg2mem17, { 0, 2, 1 } uselistorder i64* %.reg2mem19, { 0, 2, 1 } uselistorder i32* %sv_1.0.ph5.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.ph4.reg2mem, { 0, 2, 1 } uselistorder i32 -1, { 1, 0 } uselistorder i1 false, { 0, 2, 3, 1 } uselistorder i64 16, { 1, 0 } uselistorder i32 1, { 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_1.lr.ph, { 1, 0 } }
1
CompRealVul
mz_path_has_slash_12853
mz_path_has_slash
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = inttoptr i64 %arg1 to i8* %1 = call i32 @strlen(i8* %0) %2 = sext i32 %1 to i64 %3 = add i64 %arg1, -1 %4 = add i64 %3, %2 %5 = inttoptr i64 %4 to i8* %6 = load i8, i8* %5, align 1 store i64 4294967295, i64* %storemerge.reg2mem switch i8 %6, label LBL_2 [ i8 92, label LBL_1 i8 47, label LBL_1 ] LBL_1: store i64 0, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
parse_content_type_5164
parse_content_type
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i32 %0 = ptrtoint i64* %arg2 to i64 %sv_0 = alloca i64, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = call i64 @FUNC(i64* nonnull %sv_0, i64 %0, i64 %3, i64 0) %5 = call i64 @FUNC(i64* nonnull %sv_0) %6 = call i64 @FUNC(i64 64) store i64 %6, i64* %sv_0, align 8 %7 = call i64 @FUNC(i64* nonnull %sv_0, i64 %6) %8 = load i64, i64* %sv_0, align 8 %9 = call i64 @FUNC(i64 %8) %10 = call i64 @FUNC(i64 %9, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64 5) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 store i32 1, i32* %storemerge.reg2mem br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = load i64, i64* %sv_0, align 8 %14 = call i64 @FUNC(i64 %13) %15 = call i64 @FUNC(i64 %14, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0), i64 8) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 %spec.select = zext i1 %17 to i32 store i32 %spec.select, i32* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i32, i32* %storemerge.reg2mem %18 = bitcast i64* %arg1 to i32* store i32 %storemerge.reload, i32* %18, align 4 %19 = call i64 @FUNC(i64* nonnull %sv_0) ret i64 %19 uselistorder i64* %sv_0, { 0, 4, 5, 1, 6, 2, 3 } uselistorder i64 %0, { 1, 0 } uselistorder i64 (i64, i8*, i64)* @strncasecmp, { 1, 0 } uselistorder i64 (i64)* @str_c, { 1, 0 } }
0
CompRealVul
i8042_interrupt_12438
i8042_interrupt
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %storemerge9.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i32 %sv_2.1.reg2mem = alloca i32 %sv_3.1.reg2mem = alloca i32 %sv_4.1.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i32 %sv_3.0.reg2mem = alloca i32 %sv_4.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = load i64, i64* %0 %sext = mul i64 %arg1, 4294967296 %6 = ashr exact i64 %sext, 32 %7 = call i64 @FUNC(i64* nonnull @gv_0, i64 %5) %8 = call i64 @FUNC() %9 = urem i64 %8, 2 %10 = icmp eq i64 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_3, label LBL_1 LBL_1: %12 = call i64 @FUNC(i64* nonnull @gv_0, i64 %5) %13 = trunc i64 %6 to i32 %14 = icmp eq i32 %13, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %14, label LBL_15, label LBL_2 LBL_2: %15 = and i64 %6, 4294967295 %16 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_1, i64 0, i64 0), i64 %15, i64 %3, i64 %4, i64 %2, i64 %1) store i64 0, i64* %sv_0.0.reg2mem br label LBL_15 LBL_3: %17 = trunc i64 %8 to i32 %sext12 = mul i32 %17, 16777216 %18 = ashr exact i32 %sext12, 24 %19 = call i64 @FUNC() %20 = trunc i64 %19 to i32 %sext7 = mul i32 %20, 16777216 %21 = ashr exact i32 %sext7, 24 %22 = load i8, i8* @gv_2, align 1 %23 = icmp eq i8 %22, 0 %24 = and i32 %17, 2 %25 = icmp eq i32 %24, 0 %or.cond = or i1 %25, %23 br i1 %or.cond, label LBL_10, label LBL_4 LBL_4: %26 = and i32 %17, 4 %27 = icmp eq i32 %26, 0 store i32 %18, i32* %sv_4.0.reg2mem store i32 %21, i32* %sv_3.0.reg2mem store i32 0, i32* %sv_2.0.reg2mem br i1 %27, label LBL_9, label LBL_5 LBL_5: %28 = urem i32 %21, 256 %29 = zext i32 %28 to i64 %30 = urem i32 %18, 256 %31 = zext i32 %30 to i64 %32 = call i64 @FUNC(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_3, i64 0, i64 0), i64 %31, i64 %29, i64 %4, i64 %2, i64 %1) %33 = icmp eq i32 %28, 255 store i32 %18, i32* %sv_4.0.reg2mem store i32 -2, i32* %sv_3.0.reg2mem store i32 2, i32* %sv_2.0.reg2mem br i1 %33, label LBL_9, label LBL_6 LBL_6: %34 = icmp ugt i32 %28, 251 store i32 %18, i32* %sv_4.0.reg2mem store i32 -2, i32* %sv_3.0.reg2mem store i32 1, i32* %sv_2.0.reg2mem br i1 %34, label LBL_9, label LBL_7 LBL_7: %35 = load i64, i64* @gv_4, align 8 %36 = call i64 @FUNC(i64 %35, i64 undef) %37 = trunc i64 %36 to i8 %38 = icmp eq i8 %37, 0 store i32 %18, i32* %sv_4.0.reg2mem store i32 -2, i32* %sv_3.0.reg2mem store i32 1, i32* %sv_2.0.reg2mem br i1 %38, label LBL_9, label LBL_8 LBL_8: %39 = load i8, i8* bitcast (i32* @gv_5 to i8*), align 4 %40 = sext i8 %39 to i32 store i32 %40, i32* %sv_4.0.reg2mem store i32 %21, i32* %sv_3.0.reg2mem store i32 0, i32* %sv_2.0.reg2mem br label LBL_9 LBL_9: %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem %sv_4.0.reload = load i32, i32* %sv_4.0.reg2mem %41 = udiv i32 %sv_4.0.reload, 64 %42 = urem i32 %41, 4 %43 = trunc i32 %sv_4.0.reload to i8 store i8 %43, i8* bitcast (i32* @gv_5 to i8*), align 4 %44 = load i64, i64* @gv_4, align 8 store i64 %44, i64* @gv_6, align 8 store i32 %sv_4.0.reload, i32* %sv_4.1.reg2mem store i32 %sv_3.0.reload, i32* %sv_3.1.reg2mem store i32 %sv_2.0.reload, i32* %sv_2.1.reg2mem store i32 %42, i32* %sv_1.0.reg2mem br label LBL_11 LBL_10: %45 = udiv i32 %18, 4 %46 = and i32 %45, 2 %47 = and i32 %17, 16 %48 = icmp ne i32 %47, 0 %49 = load i8, i8* bitcast (i32* @gv_7 to i8*), align 4 %50 = icmp ne i8 %49, 1 %not.or.cond = icmp eq i1 %48, %50 %storemerge11 = zext i1 %not.or.cond to i32 %51 = or i32 %46, %storemerge11 %52 = select i1 %25, i32 2, i32 1 store i32 %18, i32* %sv_4.1.reg2mem store i32 %21, i32* %sv_3.1.reg2mem store i32 %51, i32* %sv_2.1.reg2mem store i32 %52, i32* %sv_1.0.reg2mem br label LBL_11 LBL_11: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %sv_2.1.reload = load i32, i32* %sv_2.1.reg2mem %sv_3.1.reload = load i32, i32* %sv_3.1.reg2mem %sv_4.1.reload = load i32, i32* %sv_4.1.reg2mem %narrow = mul nuw nsw i32 %sv_1.0.reload, 24 %53 = zext i32 %narrow to i64 %54 = add i64 %53, ptrtoint (i8** @gv_8 to i64) %55 = inttoptr i64 %54 to i8* %56 = load i8, i8* %55, align 8 %57 = icmp eq i8 %56, 0 store i64 0, i64* %storemerge9.reg2mem br i1 %57, label LBL_13, label LBL_12 LBL_12: %58 = add i64 %53, add (i64 ptrtoint (i8** @gv_8 to i64), i64 8) %59 = inttoptr i64 %58 to i64* %60 = load i64, i64* %59, align 8 store i64 %60, i64* %storemerge9.reg2mem br label LBL_13 LBL_13: %storemerge9.reload = load i64, i64* %storemerge9.reg2mem %61 = and i32 %sv_2.1.reload, 2 %62 = icmp eq i32 %61, 0 %storemerge = select i1 %62, i64 ptrtoint (i64* @gv_9 to i64), i64 ptrtoint ([13 x i8]* @gv_10 to i64) %63 = trunc i32 %sv_3.1.reload to i8 %64 = add i64 %53, add (i64 ptrtoint (i8** @gv_8 to i64), i64 16) %65 = inttoptr i64 %64 to i8* %66 = load i8, i8* %65, align 8 %67 = and i64 %6, 4294967295 %68 = zext i32 %sv_1.0.reload to i64 %69 = zext i8 %66 to i64 %70 = call i64 @FUNC(i64 %69, i8 %63, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_11, i64 0, i64 0), i64 %68, i64 %67, i64 %storemerge) %71 = urem i32 %sv_4.1.reload, 256 %72 = zext i32 %71 to i64 %73 = urem i32 %sv_3.1.reload, 256 %74 = zext i32 %73 to i64 %75 = call i64 @FUNC(i64 %74, i64 %72, i64 %storemerge9.reload) %76 = call i64 @FUNC(i64* nonnull @gv_0, i64 %5) %77 = load i8, i8* %55, align 8 %78 = icmp eq i8 %77, 0 %79 = urem i64 %75, 256 %80 = icmp eq i64 %79, 1 %or.cond16 = or i1 %80, %78 store i64 1, i64* %sv_0.0.reg2mem br i1 %or.cond16, label LBL_15, label LBL_14 LBL_14: %81 = call i64 @FUNC(i64 %storemerge9.reload, i64 %74, i32 %sv_2.1.reload) store i64 1, i64* %sv_0.0.reg2mem br label LBL_15 LBL_15: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem ret i64 %sv_0.0.reload uselistorder i64 %storemerge9.reload, { 1, 0 } uselistorder i64 %53, { 2, 1, 0 } uselistorder i32 %sv_3.1.reload, { 1, 0 } uselistorder i32 %sv_2.1.reload, { 1, 0 } uselistorder i32 %28, { 1, 2, 0 } uselistorder i1 %25, { 1, 0 } uselistorder i32 %21, { 0, 1, 3, 2 } uselistorder i32 %18, { 0, 5, 3, 2, 1, 6, 4 } uselistorder i32 %17, { 2, 3, 1, 0 } uselistorder i64 %8, { 1, 0 } uselistorder i64 %6, { 2, 1, 0 } uselistorder i64 %4, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %sv_4.0.reg2mem, { 0, 4, 3, 2, 1, 5 } uselistorder i32* %sv_3.0.reg2mem, { 0, 4, 3, 2, 1, 5 } uselistorder i32* %sv_2.0.reg2mem, { 0, 4, 3, 2, 1, 5 } uselistorder i32* %sv_4.1.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_3.1.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_2.1.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge9.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 4, 2, 1 } uselistorder i64* %0, { 4, 3, 2, 1, 0 } uselistorder i8* bitcast (i32* @gv_5 to i8*), { 1, 0 } uselistorder i32 -2, { 2, 1, 0 } uselistorder i32 2, { 4, 2, 3, 0, 1 } uselistorder i8 0, { 0, 2, 3, 4, 5, 6, 1 } uselistorder i32 24, { 0, 2, 1 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @dbg, { 1, 0 } uselistorder i32 0, { 7, 3, 0, 1, 4, 2, 8, 5, 6 } uselistorder i64 (i64*, i64)* @spin_unlock_irqrestore, { 1, 0 } uselistorder i32 1, { 18, 14, 13, 17, 16, 15, 12, 11, 10, 9, 8, 7, 6, 5, 1, 4, 0, 3, 2 } uselistorder label LBL_15, { 3, 2, 1, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_9, { 3, 2, 1, 0, 4 } }
1
CompRealVul
create_user_core_9560
create_user_core
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %arg1 to i32 %3 = icmp slt i32 %2, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %3, label LBL_3, label LBL_1 LBL_1: %4 = and i64 %arg1, 4294967295 %5 = call i64 @FUNC(i64 0, i64 %4, i64 %arg3, i64 0) %6 = call i64 @FUNC(i64 %4, i64 %5) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false store i64 1, i64* %sv_0.0.reg2mem br i1 %9, label LBL_3, label LBL_2 LBL_2: %sext3 = mul i64 %arg2, 4294967296 %10 = load [5 x i8]*, [5 x i8]** @gv_0, align 8 %11 = ptrtoint [5 x i8]* %10 to i64 %12 = load [5 x i8]*, [5 x i8]** @gv_1, align 8 %13 = ptrtoint [5 x i8]* %12 to i64 %14 = ashr exact i64 %sext3, 32 %15 = call i64 @FUNC(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_2, i64 0, i64 0), i64 %14, i64 %13, i64 %11, i64 %5, i64 %1) store i64 0, i64* %sv_0.0.reg2mem br label LBL_3 LBL_3: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %16 = load %__dirstream*, %__dirstream** @gv_3, align 8 %17 = icmp eq %__dirstream* %16, null br i1 %17, label LBL_5, label LBL_4 LBL_4: %18 = call i32 @closedir(%__dirstream* nonnull %16) store %__dirstream* null, %__dirstream** @gv_3, align 8 br label LBL_5 LBL_5: ret i64 %sv_0.0.reload uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 1 } uselistorder %__dirstream* null, { 1, 0, 2 } uselistorder %__dirstream** @gv_3, { 1, 0 } uselistorder label LBL_3, { 1, 2, 0 } }
0
CompRealVul
ptrace_traceme_13062
ptrace_traceme
define i64 @FUNC() local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = load i32*, i32** @gv_0, align 8 %1 = load i32, i32* %0, align 4 %2 = urem i32 %1, 2 %3 = icmp eq i32 %2, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_3 LBL_1: %4 = ptrtoint i32* %0 to i64 %5 = add i64 %4, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 %7, i64 %4) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %10, label LBL_2, label LBL_3 LBL_2: %11 = load i32*, i32** @gv_0, align 8 %12 = load i32, i32* %11, align 4 %13 = or i32 %12, 1 store i32 %13, i32* %11, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %4, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder label LBL_3, { 2, 0, 1 } }
1
CompRealVul
ide_data_writew_3236
ide_data_writew
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 = call i64 @FUNC(i64 %0) %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = and i32 %3, 8 %5 = icmp eq i32 %4, 0 store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_3, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %1) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false store i64 %6, i64* %rax.0.reg2mem br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = and i64 %arg3, 4294967295 %11 = add i64 %1, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = call i64 @FUNC(i64 %10) %15 = trunc i64 %14 to i16 %16 = inttoptr i64 %13 to i16* store i16 %15, i16* %16, align 2 %17 = add i64 %13, 2 store i64 %17, i64* %12, align 8 %18 = add i64 %1, 16 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = icmp ult i64 %17, %20 %spec.select = select i1 %21, i64 %20, i64 %1 ret i64 %spec.select LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %17, { 1, 0 } uselistorder i64 %13, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
CompRealVul
kdc_process_s4u_x509_user_11617
kdc_process_s4u_x509_user
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4, i64* %arg5, i64* %arg6) 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* %arg5 to i64 %sv_0 = alloca i32, align 4 %4 = trunc i64 %2 to i32 store i32 %4, i32* %sv_0, align 4 %5 = call i64 @FUNC(i32* nonnull %sv_0, i64 %3) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = and i64 %5, 4294967295 store i64 %8, i64* %rax.0.reg2mem br label LBL_7 LBL_2: %9 = trunc i64 %1 to i32 %10 = icmp eq i64* %arg3, null %storemerge.v = select i1 %10, i64* %arg4, i64* %arg3 %storemerge = ptrtoint i64* %storemerge.v to i64 %11 = call i64 @FUNC(i64 %storemerge, i32* nonnull %sv_0, i32 %9, i64 %3) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 br i1 %13, label LBL_4, label LBL_3 LBL_3: store i64 ptrtoint ([26 x i8]* @gv_0 to i64), i64* %arg6, align 8 %14 = call i64 @FUNC(i64 %3) store i64 0, i64* %arg5, align 8 %15 = and i64 %11, 4294967295 store i64 %15, i64* %rax.0.reg2mem br label LBL_7 LBL_4: %16 = call i64 @FUNC(i64 %3) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 br i1 %18, label LBL_6, label LBL_5 LBL_5: %19 = add i64 %3, 8 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = icmp eq i32 %21, 0 store i64 0, i64* %rax.0.reg2mem br i1 %22, label LBL_7, label LBL_6 LBL_6: store i64 ptrtoint ([25 x i8]* @gv_1 to i64), i64* %arg6, align 8 %23 = call i64 @FUNC(i64 %3) store i64 0, i64* %arg5, align 8 store i64 1, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %3, { 2, 1, 3, 0, 4, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64)* @krb5_free_pa_s4u_x509_user, { 1, 0 } uselistorder label LBL_7, { 1, 0, 2, 3 } }
1
CompRealVul
get_vb_15065
get_vb
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.01.reg2mem = alloca i64 %sv_1.02.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp slt i32 %2, 9 store i64 -1, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_3 LBL_1: %4 = icmp eq i32 %2, 0 %5 = icmp eq i1 %4, false store i32 %2, i32* %sv_1.02.reg2mem store i64 0, i64* %sv_0.01.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %5, label LBL_2, label LBL_3 LBL_2: %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem %sv_1.02.reload = load i32, i32* %sv_1.02.reg2mem %6 = add i32 %sv_1.02.reload, -1 %7 = mul i64 %sv_0.01.reload, 256 %8 = call i64 @FUNC(i64 %0) %sext = mul i64 %8, 4294967296 %9 = ashr exact i64 %sext, 32 %10 = add i64 %9, %7 %11 = icmp eq i32 %6, 0 %12 = icmp eq i1 %11, false store i32 %6, i32* %sv_1.02.reg2mem store i64 %10, i64* %sv_0.01.reg2mem store i64 %10, i64* %storemerge.reg2mem br i1 %12, label LBL_2, label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32* %sv_1.02.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.01.reg2mem, { 2, 0, 1 } uselistorder i1 false, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
unassigned_mem_writel_18650
unassigned_mem_writel
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = trunc i64 %arg3 to i32 %1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_0, i64 0, i64 0), i64 %arg2, i32 %0) %2 = call i64 @FUNC(i64 %arg2, i64 1, i64 0, i64 0, i64 4) ret i64 %2 }
1
CompRealVul
__net_random_once_deferred_12619
__net_random_once_deferred
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = and i64 %1, 4294967295 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 %2) br label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %arg1) ret i64 %8 uselistorder i64 %2, { 1, 0 } uselistorder i32 1, { 1, 0 } }
1
CompRealVul
do_sigreturn_1105
do_sigreturn
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %storemerge.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %2 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %sv_1 = alloca i64, align 8 %sv_2 = alloca i32, align 4 %3 = load i32, i32* %1 %4 = load i64, i64* %0 %sv_3 = alloca i64, align 8 %5 = add i64 %2, 16 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = add i32 %7, -8 %9 = sext i32 %8 to i64 %10 = call i64 @FUNC(i64 0, i64 %4, i64 %9, i64 1) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 br i1 %12, label LBL_5, label LBL_1 LBL_1: %13 = ptrtoint i64* %sv_3 to i64 %14 = zext i32 %3 to i64 %15 = call i64 @FUNC(i64 %14, i64 %4) %16 = add i64 %13, -160 store i64 1, i64* %indvars.iv.reg2mem br label LBL_2 LBL_2: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %17 = mul i64 %indvars.iv.reload, 4 %18 = add i64 %17, %4 %19 = add i64 %16, %17 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = zext i32 %21 to i64 %23 = call i64 @FUNC(i64 %22, i64 %18) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 32 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_3, label LBL_2 LBL_3: %24 = call i64 @FUNC(i64* nonnull %sv_1, i32* nonnull %sv_2) %25 = call i64 @FUNC(i64 2, i64* nonnull %sv_1, i64 0) %26 = bitcast i32* %sv_0 to i64* %27 = call i64 @FUNC(i64 %2, i64 %4, i64* nonnull %26) %28 = trunc i64 %27 to i32 %29 = icmp eq i32 %28, 0 %30 = icmp eq i1 %29, false br i1 %30, label LBL_5, label LBL_4 LBL_4: %31 = call i64 @FUNC(i64 %4, i64 %9, i64 0) %32 = load i32, i32* %sv_0, align 4 %33 = sext i32 %32 to i64 store i64 %33, i64* %storemerge.reg2mem br label LBL_6 LBL_5: %34 = call i64 @FUNC(i64 %4, i64 %9, i64 0) %35 = call i64 @FUNC(i64 11) store i64 0, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %9, { 1, 0, 2 } uselistorder i64 %4, { 0, 1, 2, 5, 3, 4 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64, i64)* @unlock_user_struct, { 1, 0 } uselistorder i64 (i64, i64)* @__get_user, { 1, 0 } uselistorder i64 1, { 2, 0, 3, 1 } }
0
CompRealVul
helper_store_msr_14200
helper_store_msr
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 %arg2, i64 0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64 %1, i64* %rax.0.reg2mem br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %0) %5 = call i64 @FUNC(i64 %4) %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = or i32 %7, 1 store i32 %8, i32* %6, align 4 %9 = and i64 %1, 4294967295 %10 = call i64 @FUNC(i64 %0, i64 %9) store i64 %10, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %1, { 1, 0, 2 } }
1
CompRealVul
snd_interval_mul_10719
snd_interval_mul
define i64 @FUNC(i32* %arg1, i32* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i32 %storemerge3.reg2mem = alloca i32 %storemerge4.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg3 to i64 %4 = or i64 %2, %1 %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 %3) store i64 %7, i64* %rax.0.reg2mem br label LBL_10 LBL_2: %8 = bitcast i64* %arg3 to i32* store i32 0, i32* %8, align 4 %9 = ptrtoint i32* %arg2 to i64 %10 = add i64 %9, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = call i128 @__asm_movsd.1(i64 %12) %14 = ptrtoint i32* %arg1 to i64 %15 = add i64 %14, 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = call i128 @FUNC(i128 %13) %19 = call i128 @FUNC(i64 %17) %20 = call i128 @FUNC() %21 = call i64 @__asm_movq.2(i128 %20) %22 = add i64 %3, 8 %23 = inttoptr i64 %22 to i64* store i64 %21, i64* %23, align 8 %24 = add i64 %14, 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 store i32 1, i32* %storemerge4.reg2mem br i1 %28, label LBL_4, label LBL_3 LBL_3: %29 = add i64 %9, 16 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = icmp ne i32 %31, 0 %spec.select = zext i1 %32 to i32 store i32 %spec.select, i32* %storemerge4.reg2mem br label LBL_4 LBL_4: %storemerge4.reload = load i32, i32* %storemerge4.reg2mem %33 = add i64 %3, 16 %34 = inttoptr i64 %33 to i32* store i32 %storemerge4.reload, i32* %34, align 4 %35 = add i64 %9, 24 %36 = inttoptr i64 %35 to i64* %37 = load i64, i64* %36, align 8 %38 = call i128 @__asm_movsd.1(i64 %37) %39 = add i64 %14, 24 %40 = inttoptr i64 %39 to i64* %41 = load i64, i64* %40, align 8 %42 = call i128 @FUNC(i128 %38) %43 = call i128 @FUNC(i64 %41) %44 = call i128 @FUNC() %45 = call i64 @__asm_movq.2(i128 %44) %46 = add i64 %3, 24 %47 = inttoptr i64 %46 to i64* store i64 %45, i64* %47, align 8 %48 = add i64 %14, 32 %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 store i32 1, i32* %storemerge3.reg2mem br i1 %52, label LBL_6, label LBL_5 LBL_5: %53 = add i64 %9, 32 %54 = inttoptr i64 %53 to i32* %55 = load i32, i32* %54, align 4 %56 = icmp ne i32 %55, 0 %spec.select5 = zext i1 %56 to i32 store i32 %spec.select5, i32* %storemerge3.reg2mem br label LBL_6 LBL_6: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %57 = add i64 %3, 32 %58 = inttoptr i64 %57 to i32* store i32 %storemerge3.reload, i32* %58, align 4 %59 = add i64 %14, 36 %60 = inttoptr i64 %59 to i32* %61 = load i32, i32* %60, align 4 %62 = icmp eq i32 %61, 0 br i1 %62, label LBL_8, label LBL_7 LBL_7: %63 = add i64 %9, 36 %64 = inttoptr i64 %63 to i32* %65 = load i32, i32* %64, align 4 %66 = icmp eq i32 %65, 0 store i32 1, i32* %storemerge.reg2mem br i1 %66, label LBL_8, label LBL_9 LBL_8: store i32 0, i32* %storemerge.reg2mem br label LBL_9 LBL_9: %storemerge.reload = load i32, i32* %storemerge.reg2mem %67 = add i64 %3, 36 %68 = inttoptr i64 %67 to i32* store i32 %storemerge.reload, i32* %68, align 4 store i64 %3, 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 %9, { 2, 1, 3, 0, 4 } uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i128 ()* @mul, { 1, 0 } uselistorder label LBL_9, { 1, 0 } }
0
CompRealVul
AVI_read_frame_7263
AVI_read_frame
define i64 @FUNC(i32* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i32 %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: store i32 -1, i32* bitcast (i64* @gv_0 to i32*), align 8 store i32 -1, i32* %rax.0.shrunk.reg2mem br label LBL_10 LBL_2: %5 = ptrtoint i32* %arg1 to i64 %6 = add i64 %5, 16 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_4, label LBL_3 LBL_3: store i32 -2, i32* bitcast (i64* @gv_0 to i32*), align 8 store i32 -1, i32* %rax.0.shrunk.reg2mem br label LBL_10 LBL_4: %11 = add i64 %5, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = icmp slt i32 %13, 0 store i32 -1, i32* %rax.0.shrunk.reg2mem br i1 %14, label LBL_10, label LBL_5 LBL_5: %15 = add i64 %5, 8 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp ult i32 %13, %17 store i32 -1, i32* %rax.0.shrunk.reg2mem br i1 %18, label LBL_6, label LBL_10 LBL_6: %19 = sext i32 %13 to i64 %20 = mul nsw i64 %19, 12 %21 = add i64 %20, %8 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = add i64 %21, 4 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = icmp eq i32 %26, 16 %28 = zext i1 %27 to i32 %29 = bitcast i64* %arg3 to i32* store i32 %28, i32* %29, align 4 %30 = icmp eq i64 %arg2, 0 %31 = icmp eq i1 %30, false br i1 %31, label LBL_8, label LBL_7 LBL_7: %32 = load i32, i32* %12, align 4 %33 = add i32 %32, 1 store i32 %33, i32* %12, align 4 store i32 %23, i32* %rax.0.shrunk.reg2mem br label LBL_10 LBL_8: %34 = load i64, i64* %7, align 8 %35 = load i32, i32* %12, align 4 %36 = sext i32 %35 to i64 %37 = mul nsw i64 %36, 12 %38 = add i64 %34, 8 %39 = add i64 %38, %37 %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 4 %42 = zext i32 %41 to i64 %43 = add i64 %5, 24 %44 = inttoptr i64 %43 to i64* %45 = load i64, i64* %44, align 8 %46 = call i64 @FUNC(i64 %45, i64 %42, i64 0) %47 = load i32, i32* %12, align 4 %48 = add i32 %47, 1 store i32 %48, i32* %12, align 4 %49 = load i64, i64* %44, align 8 %50 = call i64 @FUNC(i64 %49, i64 %arg2, i32 %23) %51 = trunc i64 %50 to i32 %52 = icmp eq i32 %23, %51 store i32 %23, i32* %rax.0.shrunk.reg2mem br i1 %52, label LBL_10, label LBL_9 LBL_9: store i32 -3, i32* bitcast (i64* @gv_0 to i32*), align 8 store i32 -1, i32* %rax.0.shrunk.reg2mem br label LBL_10 LBL_10: %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem %rax.0 = zext i32 %rax.0.shrunk.reload to i64 ret i64 %rax.0 uselistorder i32 %23, { 0, 2, 3, 1 } uselistorder i32* %12, { 2, 4, 3, 1, 0, 5 } uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 7, 1, 6, 3, 2, 5, 4 } uselistorder i32 -1, { 4, 1, 0, 3, 2, 5 } uselistorder label LBL_10, { 3, 0, 4, 2, 1, 5, 6 } }
0
CompRealVul
sd_set_cb_16482
sd_set_cb
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 %arg2, i64* %arg1, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* store i64 %arg3, i64* %2, align 8 %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %5) %7 = and i64 %6, 4294967295 %8 = call i64 @FUNC(i64 %arg2, i64 %7) %9 = load i64, i64* %4, align 8 %10 = call i64 @FUNC(i64 %9) %11 = and i64 %10, 4294967295 %12 = call i64 @FUNC(i64 %arg3, i64 %11) ret i64 %12 uselistorder i64 (i64, i64)* @qemu_set_irq, { 1, 0 } }
1
CompRealVul
mtrr_lookup_okay_8942
mtrr_lookup_okay
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 20 %2 = inttoptr i64 %1 to i8* %3 = load i8, i8* %2, align 1 %4 = icmp eq i8 %3, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = add i64 %0, 16 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = sext i32 %7 to i64 %9 = mul i64 %8, 4 %10 = add i64 %9, %0 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = add i64 %0, 24 %14 = inttoptr i64 %13 to i32* store i32 %12, i32* %14, align 4 store i64 1, i64* %rax.0.reg2mem br label LBL_4 LBL_2: %15 = add i64 %0, 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = icmp eq i64 %17, 0 store i64 0, i64* %rax.0.reg2mem br i1 %18, label LBL_4, label LBL_3 LBL_3: %19 = inttoptr i64 %17 to i32* %20 = load i32, i32* %19, align 4 %21 = urem i32 %20, 256 %22 = add i64 %0, 24 %23 = inttoptr i64 %22 to i32* store i32 %21, i32* %23, align 4 store i64 1, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 3, 4, 1, 0, 2, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 1, { 1, 0 } uselistorder label LBL_4, { 1, 0, 2 } }
0
CompRealVul
TIFFTagExtender_10655
TIFFTagExtender
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1, i64* nonnull @gv_0, i64 2) %1 = call i64 @FUNC(i64 %arg1) ret i64 %1 }
0
CompRealVul
adx_decode_stereo_775
adx_decode_stereo
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i64* %arg2 to i64 %2 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %3 = ptrtoint i64* %sv_2 to i64 %4 = call i64 @FUNC(i64* nonnull %sv_1, i64 %1, i64 %0) %5 = add i64 %1, 18 %6 = call i64 @FUNC(i64* nonnull %sv_0, i64 %5, i64 %0) %7 = add i64 %3, -144 store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %8 = mul i64 %indvars.iv.reload, 2 %9 = mul i64 %indvars.iv.reload, 4 %10 = add i64 %9, %2 %11 = add i64 %8, %7 %12 = inttoptr i64 %11 to i16* %13 = load i16, i16* %12, align 2 %14 = inttoptr i64 %10 to i16* store i16 %13, i16* %14, align 2 %15 = or i64 %9, 2 %16 = add i64 %15, %2 %17 = add i64 %11, 64 %18 = inttoptr i64 %17 to i16* %19 = load i16, i16* %18, align 2 %20 = inttoptr i64 %16 to i16* store i16 %19, i16* %20, align 2 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 32 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %21 = zext i16 %19 to i64 ret i64 %21 uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 2, { 1, 0 } uselistorder i64 (i64*, i64, i64)* @adx_decode, { 1, 0 } }
0
CompRealVul
qemu_chr_open_msmouse_15964
qemu_chr_open_msmouse
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 16) %1 = inttoptr i64 %0 to i64* store i64 4198748, i64* %1, align 8 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* store i64 4198768, i64* %3, align 8 %4 = call i64 @FUNC(i64 4198795, i64 %0, i64 0, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0)) store i64 %0, i64* %arg2, align 8 ret i64 0 }
1
CompRealVul
get16_15090
get16
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 1 %4 = icmp ult i64 %3, %arg2 store i64 4294967295, i64* %storemerge.reg2mem br i1 %4, label LBL_1, label LBL_2 LBL_1: %5 = mul i64 %1, 256 %6 = and i64 %5, 65280 %7 = inttoptr i64 %3 to i8* %8 = load i8, i8* %7, align 1 %9 = zext i8 %8 to i64 %10 = or i64 %6, %9 %11 = add i64 %2, 2 store i64 %11, i64* %arg1, align 8 store i64 %10, 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
sev_es_string_io_19192
sev_es_string_io
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i32 %4 = and i64 %arg4, 4294967295 %5 = call i64 @FUNC(i64 %2, i64 %4, i32 %3) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false store i64 4294967274, i64* %storemerge.reg2mem br i1 %8, label LBL_1, label LBL_2 LBL_1: %9 = and i64 %arg2, 4294967295 %10 = add i64 %2, 16 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = ashr i32 %12, 31 %14 = zext i32 %12 to i64 %15 = zext i32 %13 to i64 %16 = mul i64 %15, 4294967296 %17 = or i64 %16, %14 %18 = sdiv i64 %17, %9 %19 = and i64 %18, 4294967295 %20 = add i64 %2, 8 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = add i64 %2, 24 %24 = trunc i64 %arg3 to i32 %25 = call i64 @FUNC(i64 %23, i64 %9, i32 %24, i64 %22, i64 %19, i64 %4) store i64 %25, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %2, { 1, 2, 0, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
cmsAppendNamedColor_11142
cmsAppendNamedColor
define i64 @FUNC(i32* %arg1, i8* %arg2, i16* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge4.reg2mem = alloca i16 %indvars.iv.reg2mem = alloca i64 %.pre-phi12.reg2mem = alloca i64* %storemerge6.reg2mem = alloca i16 %indvars.iv9.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = icmp eq i32* %arg1, null %3 = icmp eq i1 %2, false store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_17 LBL_1: %4 = trunc i64 %1 to i32 %5 = add i32 %4, 1 %6 = ptrtoint i32* %arg1 to i64 %7 = add i64 %6, 4 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = icmp ugt i32 %5, %9 br i1 %10, label LBL_2, label LBL_3 LBL_2: %11 = call i64 @FUNC(i64 %6) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false store i64 0, i64* %rax.0.reg2mem br i1 %14, label LBL_3, label LBL_17 LBL_3: %15 = bitcast i64* %rdi to i32* %16 = add i64 %6, 8 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = icmp eq i32 %18, 0 br i1 %19, label LBL_3.LBL_9_crit_edge, label LBL_5 LBL_4: %.pre = add i64 %6, 16 %.pre11 = inttoptr i64 %.pre to i64* store i64* %.pre11, i64** %.pre-phi12.reg2mem br label LBL_9 LBL_5: %20 = ptrtoint i64* %arg4 to i64 %21 = icmp eq i64* %arg4, null %22 = add i64 %6, 16 %23 = inttoptr i64 %22 to i64* store i64 0, i64* %indvars.iv9.reg2mem br label LBL_6 LBL_6: %indvars.iv9.reload = load i64, i64* %indvars.iv9.reg2mem %.pre15 = mul i64 %indvars.iv9.reload, 2 store i16 0, i16* %storemerge6.reg2mem br i1 %21, label LBL_8, label LBL_7 LBL_7: %24 = add i64 %.pre15, %20 %25 = inttoptr i64 %24 to i16* %26 = load i16, i16* %25, align 2 store i16 %26, i16* %storemerge6.reg2mem br label LBL_8 LBL_8: %storemerge6.reload = load i16, i16* %storemerge6.reg2mem %27 = load i64, i64* %23, align 8 %28 = load i32, i32* %15, align 8 %29 = zext i32 %28 to i64 %30 = mul nuw nsw i64 %29, 294 %31 = add i64 %27, %.pre15 %32 = add i64 %31, %30 %33 = inttoptr i64 %32 to i16* store i16 %storemerge6.reload, i16* %33, align 2 %indvars.iv.next10 = add nuw nsw i64 %indvars.iv9.reload, 1 %34 = load i32, i32* %17, align 4 %35 = zext i32 %34 to i64 %36 = icmp ult i64 %indvars.iv.next10, %35 store i64 %indvars.iv.next10, i64* %indvars.iv9.reg2mem store i64* %23, i64** %.pre-phi12.reg2mem br i1 %36, label LBL_6, label LBL_9 LBL_9: %.pre-phi12.reload = load i64*, i64** %.pre-phi12.reg2mem %37 = icmp eq i16* %arg3, null %38 = ptrtoint i16* %arg3 to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_10 LBL_10: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %.pre13 = mul i64 %indvars.iv.reload, 2 store i16 0, i16* %storemerge4.reg2mem br i1 %37, label LBL_12, label LBL_11 LBL_11: %39 = add i64 %.pre13, %38 %40 = inttoptr i64 %39 to i16* %41 = load i16, i16* %40, align 2 store i16 %41, i16* %storemerge4.reg2mem br label LBL_12 LBL_12: %storemerge4.reload = load i16, i16* %storemerge4.reg2mem %42 = load i64, i64* %.pre-phi12.reload, align 8 %43 = load i32, i32* %15, align 8 %44 = zext i32 %43 to i64 %45 = mul nuw nsw i64 %44, 294 %46 = add nuw nsw i64 %.pre13, 32 %47 = add i64 %46, %42 %48 = add i64 %47, %45 %49 = inttoptr i64 %48 to i16* store i16 %storemerge4.reload, i16* %49, align 2 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 3 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_13, label LBL_10 LBL_13: %50 = icmp eq i8* %arg2, null %51 = load i64, i64* %.pre-phi12.reload, align 8 %52 = load i32, i32* %15, align 8 %53 = zext i32 %52 to i64 %54 = mul nuw nsw i64 %53, 294 %55 = add i64 %51, 38 %56 = add i64 %55, %54 %57 = inttoptr i64 %56 to i8* br i1 %50, label LBL_15, label LBL_14 LBL_14: %58 = call i8* @strncpy(i8* %57, i8* nonnull %arg2, i32 256) %59 = load i64, i64* %.pre-phi12.reload, align 8 %60 = add nuw nsw i64 %54, 293 %61 = add i64 %60, %59 %62 = inttoptr i64 %61 to i8* store i8 0, i8* %62, align 1 br label LBL_16 LBL_15: store i8 0, i8* %57, align 1 br label LBL_16 LBL_16: %63 = load i32, i32* %15, align 8 %64 = add i32 %63, 1 store i32 %64, i32* %arg1, align 4 store i64 1, i64* %rax.0.reg2mem br label LBL_17 LBL_17: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8* %57, { 1, 0 } uselistorder i64* %.pre-phi12.reload, { 1, 0, 2 } uselistorder i64 %.pre15, { 1, 0 } uselistorder i32* %17, { 1, 0 } uselistorder i64 %6, { 1, 0, 2, 3, 4 } uselistorder i64* %indvars.iv9.reg2mem, { 1, 0, 2 } uselistorder i16* %storemerge6.reg2mem, { 0, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i16* %storemerge4.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 1, { 0, 3, 2, 1 } uselistorder i64 294, { 2, 1, 0 } uselistorder i64 16, { 1, 0 } uselistorder i16* %arg3, { 1, 0 } uselistorder i8* %arg2, { 1, 0 } uselistorder label LBL_17, { 2, 0, 1 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
CompRealVul
cpu_class_init_15158
cpu_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* store i64 4198669, i64* %2, align 8 %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i64* store i64 4198676, i64* %4, align 8 %5 = add i64 %0, 24 %6 = inttoptr i64 %5 to i64* store i64 4198683, i64* %6, align 8 %7 = add i64 %0, 32 %8 = inttoptr i64 %7 to i64* store i64 4198690, i64* %8, align 8 %9 = add i64 %0, 40 %10 = inttoptr i64 %9 to i64* store i64 4198697, i64* %10, align 8 %11 = add i64 %0, 48 %12 = inttoptr i64 %11 to i64* store i64 4198704, i64* %12, align 8 %13 = add i64 %0, 56 %14 = inttoptr i64 %13 to i64* store i64 4198711, i64* %14, align 8 %15 = add i64 %0, 64 %16 = inttoptr i64 %15 to i64* store i64 4198718, i64* %16, align 8 %17 = add i64 %0, 72 %18 = inttoptr i64 %17 to i64* store i64 4198725, i64* %18, align 8 %19 = add i64 %0, 80 %20 = inttoptr i64 %19 to i64* store i64 4198732, i64* %20, align 8 store i64 4198739, i64* %arg1, align 8 %21 = inttoptr i64 %1 to i32* store i32 1, i32* %21, align 4 ret i64 %0 }
1
CompRealVul
kex_input_kexinit_11781
kex_input_kexinit
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i32 %storemerge14.reg2mem = alloca i32 %1 = load i64, i64* %0 %sv_1 = alloca i64, align 8 %2 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0)) %3 = icmp eq i64* %arg3, null %4 = icmp eq i1 %3, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_21 LBL_1: %5 = ptrtoint i64* %arg3 to i64 %6 = call i64 @FUNC(i64 %5, i64* nonnull %sv_1) %7 = load i64, i64* %sv_1, align 8 %8 = add i64 %5, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = call i64 @FUNC(i64 %10, i64 %6, i64 %7) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 store i32 0, i32* %storemerge14.reg2mem br i1 %13, label LBL_3, label LBL_2 LBL_2: %14 = and i64 %11, 4294967295 store i64 %14, i64* %rax.0.reg2mem br label LBL_21 LBL_3: %15 = call i64 @FUNC(i64 %5, i64 0) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 br i1 %17, label LBL_5, label LBL_4 LBL_4: %18 = and i64 %15, 4294967295 store i64 %18, i64* %rax.0.reg2mem br label LBL_21 LBL_5: %storemerge14.reload = load i32, i32* %storemerge14.reg2mem %19 = add nuw nsw i32 %storemerge14.reload, 1 %20 = icmp ult i32 %19, 32 store i32 %19, i32* %storemerge14.reg2mem store i32 0, i32* %storemerge3.reg2mem br i1 %20, label LBL_3, label LBL_6 LBL_6: %21 = call i64 @FUNC(i64 %5, i64 0, i64 0) %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 0 br i1 %23, label LBL_8, label LBL_7 LBL_7: %24 = and i64 %21, 4294967295 store i64 %24, i64* %rax.0.reg2mem br label LBL_21 LBL_8: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %25 = add nuw nsw i32 %storemerge3.reload, 1 %26 = icmp ult i32 %25, 10 store i32 %25, i32* %storemerge3.reg2mem br i1 %26, label LBL_6, label LBL_9 LBL_9: %27 = call i64 @FUNC(i64 %5, i64 0) %28 = trunc i64 %27 to i32 %29 = icmp eq i32 %28, 0 %30 = icmp eq i1 %29, false store i64 %27, i64* %sv_0.0.reg2mem br i1 %30, label LBL_12, label LBL_10 LBL_10: %31 = call i64 @FUNC(i64 %5, i64 0) %32 = trunc i64 %31 to i32 %33 = icmp eq i32 %32, 0 %34 = icmp eq i1 %33, false store i64 %31, i64* %sv_0.0.reg2mem br i1 %34, label LBL_12, label LBL_11 LBL_11: %35 = call i64 @FUNC(i64 %5) %36 = trunc i64 %35 to i32 %37 = icmp eq i32 %36, 0 store i64 %35, i64* %sv_0.0.reg2mem br i1 %37, label LBL_13, label LBL_12 LBL_12: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %38 = and i64 %sv_0.0.reload, 4294967295 store i64 %38, i64* %rax.0.reg2mem br label LBL_21 LBL_13: %39 = urem i64 %1, 2 %40 = icmp eq i64 %39, 0 %41 = icmp eq i1 %40, false br i1 %41, label LBL_16, label LBL_14 LBL_14: %42 = call i64 @FUNC(i64 %5) %43 = trunc i64 %42 to i32 %44 = icmp eq i32 %43, 0 br i1 %44, label LBL_16, label LBL_15 LBL_15: %45 = and i64 %42, 4294967295 store i64 %45, i64* %rax.0.reg2mem br label LBL_21 LBL_16: %46 = call i64 @FUNC(i64 %5) %47 = trunc i64 %46 to i32 %48 = icmp eq i32 %47, 0 br i1 %48, label LBL_18, label LBL_17 LBL_17: %49 = and i64 %46, 4294967295 store i64 %49, i64* %rax.0.reg2mem br label LBL_21 LBL_18: %50 = add i64 %5, 4 %51 = inttoptr i64 %50 to i32* %52 = load i32, i32* %51, align 4 %53 = icmp sgt i32 %52, 4 br i1 %53, label LBL_20, label LBL_19 LBL_19: %54 = sext i32 %52 to i64 %55 = mul i64 %54, 8 %56 = add i64 %5, 16 %57 = add i64 %56, %55 %58 = inttoptr i64 %57 to i64* %59 = load i64, i64* %58, align 8 %60 = icmp eq i64 %59, 0 store i64 %5, i64* %rax.0.reg2mem br i1 %60, label LBL_20, label LBL_21 LBL_20: store i64 4294967294, 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 %5, { 0, 1, 3, 4, 2, 5, 6, 8, 7, 9, 10, 11 } uselistorder i64* %sv_1, { 1, 0 } uselistorder i32* %storemerge14.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge3.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 5, 4, 7, 8, 9, 3, 2 } uselistorder i64 (i64, i64)* @sshpkt_get_u8, { 1, 0 } uselistorder i32 0, { 2, 3, 5, 6, 7, 4, 0, 8, 1, 9 } uselistorder i64 4294967295, { 3, 4, 5, 2, 1, 6, 0 } uselistorder i64* %arg3, { 1, 0 } uselistorder label LBL_21, { 2, 0, 3, 4, 6, 5, 7, 8, 1 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
CompRealVul
nouveau_gem_object_open_4626
nouveau_gem_object_open
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.shrunk.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64 %1) %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %5) %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = inttoptr i64 %2 to i64* %12 = load i64, i64* %11, align 8 %13 = icmp eq i64 %12, 0 %14 = icmp eq i1 %13, false store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %14, label LBL_1, label LBL_11 LBL_1: %15 = call i64 @FUNC(i64 %3, i64 0, i64 0, i64 0, i64 0) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 store i64 %15, i64* %rax.0.shrunk.reg2mem br i1 %17, label LBL_2, label LBL_11 LBL_2: %18 = load i64, i64* %11, align 8 %19 = call i64 @FUNC(i64 %3, i64 %18) %20 = icmp eq i64 %19, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_9, label LBL_3 LBL_3: %22 = call i64 @FUNC(i64 4, i64 0) %23 = icmp eq i64 %22, 0 %24 = icmp eq i1 %23, false store i64 4294967284, i64* %sv_0.0.reg2mem br i1 %24, label LBL_4, label LBL_10 LBL_4: %25 = call i64 @FUNC(i64 %10) %26 = trunc i64 %25 to i32 %27 = icmp slt i32 %26, 0 %28 = icmp eq i1 %27, false %29 = icmp eq i32 %26, -13 %or.cond = or i1 %29, %28 br i1 %or.cond, label LBL_6, label LBL_5 LBL_5: %30 = call i64 @FUNC(i64 %22) store i64 %25, i64* %sv_0.0.reg2mem br label LBL_10 LBL_6: %31 = load i64, i64* %11, align 8 %32 = call i64 @FUNC(i64 %3, i64 %31, i64 %22) %33 = trunc i64 %32 to i32 %34 = icmp eq i32 %33, 0 br i1 %34, label LBL_8, label LBL_7 LBL_7: %35 = call i64 @FUNC(i64 %22) br label LBL_8 LBL_8: %36 = call i64 @FUNC(i64 %10) %37 = call i64 @FUNC(i64 %10) store i64 %32, i64* %sv_0.0.reg2mem br label LBL_10 LBL_9: %38 = inttoptr i64 %19 to i32* %39 = load i32, i32* %38, align 4 %40 = add i32 %39, 1 store i32 %40, i32* %38, align 4 store i64 %15, i64* %sv_0.0.reg2mem br label LBL_10 LBL_10: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %41 = call i64 @FUNC(i64 %3) store i64 %sv_0.0.reload, i64* %rax.0.shrunk.reg2mem br label LBL_11 LBL_11: %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295 ret i64 %rax.0 uselistorder i32* %38, { 1, 0 } uselistorder i64 %15, { 1, 0, 2 } uselistorder i64 %10, { 1, 0, 2 } uselistorder i64 %3, { 1, 0, 2, 3, 4 } uselistorder i64* %sv_0.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 3, 1, 2 } uselistorder i64 (i64)* @kfree, { 1, 0 } uselistorder label LBL_11, { 2, 0, 1 } uselistorder label LBL_10, { 1, 2, 3, 0 } }
0
CompRealVul
receive_tcppacket_5211
receive_tcppacket
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %0 = and i64 %arg3, 4294967295 %1 = trunc i64 %arg3 to i32 %2 = icmp ult i32 %1, 1025 store i64 %0, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_2 LBL_1: %sext = mul i64 %arg3, 4294967296 %3 = ptrtoint i64* %arg1 to i64 %4 = ashr exact i64 %sext, 32 store i64 %4, i64* %sv_1, align 8 %5 = inttoptr i64 %arg2 to i64* %6 = call i64* @memcpy(i64* nonnull %sv_0, i64* %5, i32 %1) %7 = add i64 %3, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = bitcast i64* %sv_1 to i32* %11 = call i64 @FUNC(i64 %9, i32* nonnull %10) store i64 %11, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %sv_1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
ext4_can_extents_be_merged_17706
ext4_can_extents_be_merged
define i64 @FUNC(i64* %arg1, i32* %arg2, i32* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i32* %arg2 to i64 %4 = and i64 %1, 4294967295 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %5 to i32 %7 = add i64 %3, 4 %8 = inttoptr i64 %7 to i16* %9 = load i16, i16* %8, align 2 %10 = zext i16 %9 to i64 %11 = call i64 @FUNC(i64 %10) %12 = trunc i64 %11 to i32 %13 = add i32 %12, %6 %14 = and i64 %2, 4294967295 %15 = call i64 @FUNC(i64 %14) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %13, %16 store i64 0, i64* %rax.0.reg2mem br i1 %17, label LBL_1, label LBL_3 LBL_1: %18 = load i16, i16* %8, align 2 %19 = zext i16 %18 to i64 %20 = call i64 @FUNC(i64 %19) %21 = trunc i64 %20 to i32 %22 = icmp slt i32 %21, 4 store i64 0, i64* %rax.0.reg2mem br i1 %22, label LBL_2, label LBL_3 LBL_2: %23 = call i64 @FUNC(i64 %3) %24 = trunc i64 %23 to i32 %25 = load i16, i16* %8, align 2 %26 = zext i16 %25 to i64 %27 = call i64 @FUNC(i64 %26) %28 = trunc i64 %27 to i32 %29 = add i32 %28, %24 %30 = ptrtoint i32* %arg3 to i64 %31 = call i64 @FUNC(i64 %30) %32 = trunc i64 %31 to i32 %33 = icmp eq i32 %29, %32 %. = zext i1 %33 to i64 store i64 %., i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64)* @ext_pblock, { 1, 0 } uselistorder i64 (i64)* @le16_to_cpu, { 2, 1, 0 } uselistorder i64 (i64)* @le32_to_cpu, { 2, 1, 0 } }
1
CompRealVul
film_read_close_2897
film_read_close
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = add i64 %0, 8 %3 = call i64 @FUNC(i64 %2) ret i64 0 uselistorder i64 (i64)* @av_freep, { 1, 0 } }
0
CompRealVul
xhci_xfer_create_sgl_9289
xhci_xfer_create_sgl
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %.reg2mem6 = alloca i32 %storemerge35.reg2mem = alloca i32 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 12 %2 = inttoptr i64 %1 to i8* store i8 0, i8* %2, align 1 %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = add i64 %0, 16 %7 = call i64 @FUNC(i64 %6, i64 %0, i32 %5) %8 = load i32, i32* %4, align 4 %9 = icmp eq i32 %8, 0 store i64 0, i64* %storemerge.reg2mem br i1 %9, label LBL_15, label LBL_1 LBL_1: %10 = add i64 %0, 24 %11 = inttoptr i64 %10 to i64* %12 = trunc i64 %arg2 to i32 %13 = icmp eq i32 %12, 0 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge35.reg2mem br label LBL_2 LBL_2: %storemerge35.reload = load i32, i32* %storemerge35.reg2mem %.reload = load i64, i64* %.reg2mem %14 = load i64, i64* %11, align 8 %15 = add i64 %14, %.reload %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = urem i32 %17, 2 %19 = icmp eq i32 %18, 0 store i32 %17, i32* %.reg2mem6 br i1 %19, label LBL_4, label LBL_3 LBL_3: store i8 1, i8* %2, align 1 %.pre = load i32, i32* %16, align 4 store i32 %.pre, i32* %.reg2mem6 br label LBL_4 LBL_4: %.reload7 = load i32, i32* %.reg2mem6 %20 = urem i32 %.reload7, 16 %21 = icmp eq i32 %20, 0 br i1 %21, label LBL_6, label LBL_5 LBL_5: %22 = add nsw i32 %20, -1 %23 = icmp ult i32 %22, 2 br i1 %23, label LBL_8, label LBL_13 LBL_6: %24 = and i32 %.reload7, 2 %25 = icmp eq i32 %24, 0 %26 = icmp eq i1 %25, %13 br i1 %26, label LBL_8, label LBL_7 LBL_7: %27 = call i32 @puts(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_0, i64 0, i64 0)) br label LBL_14 LBL_8: %28 = add i64 %15, 8 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = zext i32 %30 to i64 %32 = call i64 @FUNC(i64 %31) %33 = add i64 %15, 4 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = urem i32 %35, 131072 %37 = load i32, i32* %16, align 4 %38 = and i32 %37, 4 %39 = icmp eq i32 %38, 0 br i1 %39, label LBL_12, label LBL_9 LBL_9: %40 = icmp ult i32 %36, 9 %or.cond = icmp eq i1 %13, %40 br i1 %or.cond, label LBL_11, label LBL_10 LBL_10: %41 = call i32 @puts(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_1, i64 0, i64 0)) br label LBL_14 LBL_11: %42 = add i64 %15, 16 %43 = inttoptr i64 %42 to i64* %44 = load i64, i64* %43, align 8 %45 = call i64 @FUNC(i64 %6, i64 %44, i32 %36) br label LBL_13 LBL_12: %46 = call i64 @FUNC(i64 %6, i64 %32, i32 %36) br label LBL_13 LBL_13: %47 = add i32 %storemerge35.reload, 1 %48 = load i32, i32* %4, align 4 %49 = zext i32 %48 to i64 %50 = sext i32 %47 to i64 %51 = icmp slt i64 %50, %49 store i64 %50, i64* %.reg2mem store i32 %47, i32* %storemerge35.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %51, label LBL_2, label LBL_15 LBL_14: %52 = call i64 @FUNC(i64 %6) %53 = call i64 @FUNC(i64 %0) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_15 LBL_15: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %36, { 0, 2, 1 } uselistorder i32 %20, { 1, 0 } uselistorder i32* %16, { 1, 0, 2 } uselistorder i64 %6, { 0, 2, 1, 3 } uselistorder i32* %4, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge35.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem6, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 1, 2 } uselistorder i64 (i64, i64, i32)* @qemu_sglist_add, { 1, 0 } uselistorder i32 (i8*)* @puts, { 1, 0 } uselistorder i32 2, { 2, 1, 0 } uselistorder i32 0, { 2, 4, 5, 6, 0, 3, 1 } uselistorder label LBL_15, { 2, 0, 1 } uselistorder label LBL_13, { 1, 0, 2 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
mkv_write_cues_14302
mkv_write_cues
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rsi.1.lcssa.reg2mem = alloca i64 %storemerge2.lcssa.reg2mem = alloca i32 %rsi.0.lcssa.reg2mem = alloca i64 %storemerge2413.reg2mem = alloca i32 %.reg2mem18 = alloca i64 %rsi.18.reg2mem = alloca i64 %storemerge9.reg2mem = alloca i32 %.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg1) %1 = call i64 @FUNC(i64 %arg1, i64 475249515, i64 0) %2 = add i64 %arg2, 8 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = icmp eq i32 %4, 0 store i64 475249515, i64* %rsi.1.lcssa.reg2mem br i1 %5, label LBL_7, label LBL_1 LBL_1: %sext = mul i64 %arg3, 4294967296 %6 = ashr exact i64 %sext, 32 %7 = mul nsw i64 %6, 10 %8 = and i64 %7, 4294967294 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge9.reg2mem store i64 475249515, i64* %rsi.18.reg2mem br label LBL_2 LBL_2: %rsi.18.reload = load i64, i64* %rsi.18.reg2mem %storemerge9.reload = load i32, i32* %storemerge9.reg2mem %.reload = load i64, i64* %.reg2mem %9 = mul nsw i64 %.reload, 24 %10 = add nsw i64 %rsi.18.reload, %9 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @FUNC(i64 %arg1, i64 59, i64 %8) %14 = call i64 @FUNC(i64 %arg1, i64 231, i64 %12) %15 = load i32, i32* %3, align 4 %16 = icmp eq i32 %15, %storemerge9.reload store i64 231, i64* %rsi.0.lcssa.reg2mem store i32 0, i32* %storemerge2.lcssa.reg2mem br i1 %16, label LBL_6, label LBL_3 LBL_3: %17 = load i64, i64* %11, align 8 %18 = icmp eq i64 %12, %17 store i64 %10, i64* %.reg2mem18 store i32 0, i32* %storemerge2413.reg2mem store i64 231, i64* %rsi.0.lcssa.reg2mem store i32 0, i32* %storemerge2.lcssa.reg2mem br i1 %18, label LBL_4, label LBL_6 LBL_4: %storemerge2413.reload = load i32, i32* %storemerge2413.reg2mem %.reload19 = load i64, i64* %.reg2mem18 %19 = call i64 @FUNC(i64 %arg1, i64 247, i64 10) %20 = add nsw i64 %.reload19, 8 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = sext i32 %22 to i64 %24 = call i64 @FUNC(i64 %arg1, i64 192, i64 %23) %25 = add nsw i64 %.reload19, 16 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = call i64 @FUNC(i64 %arg1, i64 241, i64 %27) %29 = call i64 @FUNC(i64 %arg1) %30 = add i32 %storemerge2413.reload, 1 %31 = load i32, i32* %3, align 4 %32 = sub i32 %31, %storemerge9.reload %33 = zext i32 %32 to i64 %34 = sext i32 %30 to i64 %35 = icmp slt i64 %34, %33 store i64 241, i64* %rsi.0.lcssa.reg2mem store i32 %30, i32* %storemerge2.lcssa.reg2mem br i1 %35, label LBL_5, label LBL_6 LBL_5: %36 = mul nsw i64 %34, 24 %37 = add nsw i64 %36, %10 %38 = inttoptr i64 %37 to i64* %39 = load i64, i64* %38, align 8 %40 = icmp eq i64 %12, %39 store i64 %37, i64* %.reg2mem18 store i32 %30, i32* %storemerge2413.reg2mem store i64 241, i64* %rsi.0.lcssa.reg2mem store i32 %30, i32* %storemerge2.lcssa.reg2mem br i1 %40, label LBL_4, label LBL_6 LBL_6: %storemerge2.lcssa.reload = load i32, i32* %storemerge2.lcssa.reg2mem %rsi.0.lcssa.reload = load i64, i64* %rsi.0.lcssa.reg2mem %41 = call i64 @FUNC(i64 %arg1) %42 = add i32 %storemerge2.lcssa.reload, %storemerge9.reload %43 = load i32, i32* %3, align 4 %44 = zext i32 %43 to i64 %45 = sext i32 %42 to i64 %46 = icmp slt i64 %45, %44 store i64 %45, i64* %.reg2mem store i32 %42, i32* %storemerge9.reg2mem store i64 %rsi.0.lcssa.reload, i64* %rsi.18.reg2mem store i64 %rsi.0.lcssa.reload, i64* %rsi.1.lcssa.reg2mem br i1 %46, label LBL_2, label LBL_7 LBL_7: %rsi.1.lcssa.reload = load i64, i64* %rsi.1.lcssa.reg2mem %47 = call i64 @FUNC(i64 %arg1) %48 = call i64 @FUNC(i64 %rsi.1.lcssa.reload) %49 = call i64 @FUNC(i64 %arg2) ret i64 %0 uselistorder i32 %30, { 0, 2, 1, 3 } uselistorder i64 %12, { 1, 0, 2 } uselistorder i64 %10, { 1, 0, 2 } uselistorder i32 %storemerge9.reload, { 2, 0, 1 } uselistorder i32* %3, { 3, 2, 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge9.reg2mem, { 1, 0, 2 } uselistorder i64* %rsi.18.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem18, { 2, 0, 1 } uselistorder i32* %storemerge2413.reg2mem, { 2, 0, 1 } uselistorder i64 (i64)* @av_free, { 1, 0 } uselistorder i64 (i64, i64, i64)* @put_ebml_uint, { 2, 1, 0 } uselistorder i64 10, { 1, 0 } uselistorder i64 (i64, i64, i64)* @start_ebml_master, { 2, 1, 0 } uselistorder i64 475249515, { 1, 0, 2 } uselistorder i32 1, { 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %arg1, { 0, 1, 3, 2, 4, 5, 7, 6, 8, 9 } uselistorder label LBL_6, { 2, 1, 0, 3 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
ping_unhash_18786
ping_unhash
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = call i64 @FUNC(i64 %arg1) %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i64 %4, i32 %6, i64 %3, i64 %2, i64 %1) %8 = call i64 @FUNC(i64 %arg1) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 store i64 %8, i64* %rax.0.reg2mem br i1 %10, label LBL_2, label LBL_1 LBL_1: %11 = call i64 @FUNC(i64 4210741) %12 = call i64 @FUNC(i64 %arg1) %13 = call i64 @FUNC(i64 %arg1) store i32 0, i32* %5, align 4 %14 = add i64 %4, 4 %15 = inttoptr i64 %14 to i16* store i16 0, i16* %15, align 2 %16 = add i64 %arg1, 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = call i64 @FUNC(i64 %arg1) %20 = call i64 @FUNC(i64 %19, i64 %18, i64 4294967295) %21 = call i64 @FUNC(i64* nonnull @gv_1) store i64 %21, 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 %4, { 0, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i32 1, { 8, 7, 9, 6, 0, 5, 4, 3, 2, 1 } uselistorder i64 %arg1, { 1, 0, 3, 2, 4, 5 } }
1
CompRealVul
vga_isa_realizefn_14838
vga_isa_realizefn
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %1 = call i64 @FUNC(i64 %0, i64 %0, i64 1) %2 = call i64 @FUNC(i64 %0) store i64 %2, i64* %arg1, align 8 %3 = call i64 @FUNC(i64 %0, i64 %0, i64* nonnull %sv_0, i64* nonnull %sv_1) %4 = load i64, i64* %sv_0, align 8 %5 = call i64 @FUNC(i64 %0, i64 944, i64 %4, i64 %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0)) %6 = load i64, i64* %sv_1, align 8 %7 = icmp eq i64 %6, 0 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = call i64 @FUNC(i64 %0, i64 462, i64 %6, i64 %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0)) br label LBL_2 LBL_2: %9 = call i64 @FUNC(i64 %0) %10 = call i64 @FUNC(i64 %9, i64 655360, i64 %3, i64 1) %11 = call i64 @FUNC(i64 %3) %12 = add i64 %0, 16 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = call i64 @FUNC(i64 %0, i64 0, i64 %14, i64 %0) %16 = add i64 %0, 8 %17 = inttoptr i64 %16 to i64* store i64 %15, i64* %17, align 8 %18 = call i64 @FUNC(i64 %0) %19 = call i64 @FUNC(i64 %0, i64 %0, i64 %18) %20 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0)) ret i64 %20 uselistorder i64 %3, { 1, 0 } uselistorder i64* %sv_1, { 1, 0 } uselistorder i64* %sv_0, { 1, 0 } uselistorder i64 %0, { 3, 2, 4, 8, 7, 5, 6, 9, 1, 0, 11, 10, 13, 12, 14, 16, 15 } uselistorder i64 (i64, i64, i64, i64, i8*)* @isa_register_portio_list, { 1, 0 } uselistorder i64 (i64)* @isa_address_space, { 2, 1, 0 } }
1
CompRealVul
relay_open_18244
relay_open
define i64 @FUNC(i8* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64* %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %indvars.iv7.reg2mem = alloca i64 %0 = icmp ne i64 %arg3, 0 %1 = icmp eq i64 %arg4, 0 %2 = icmp eq i1 %1, false %or.cond = icmp eq i1 %0, %2 store i64 0, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_1, label LBL_13 LBL_1: %3 = udiv i64 4294967295, %arg4 %4 = icmp ult i64 %3, %arg3 store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_13, label LBL_2 LBL_2: %5 = call i64 @FUNC(i64 8520, i64 0) %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_3, label LBL_13 LBL_3: %8 = inttoptr i64 %5 to i32* store i32 1, i32* %8, align 4 %9 = add i64 %5, 8 %10 = inttoptr i64 %9 to i64* store i64 %arg4, i64* %10, align 8 %11 = add i64 %5, 16 %12 = inttoptr i64 %11 to i64* store i64 %arg3, i64* %12, align 8 %13 = mul i64 %arg4, %arg3 %14 = add i64 %13, 4095 %15 = and i64 %14, -4096 %16 = add i64 %5, 24 %17 = inttoptr i64 %16 to i64* store i64 %15, i64* %17, align 8 %18 = add i64 %5, 32 %19 = inttoptr i64 %18 to i64* store i64 %arg2, i64* %19, align 8 %20 = add i64 %5, 40 %21 = inttoptr i64 %20 to i64* store i64 %arg6, i64* %21, align 8 %22 = icmp eq i8* %arg1, null br i1 %22, label LBL_5, label LBL_4 LBL_4: %23 = add i64 %5, 48 %24 = inttoptr i64 %23 to i32* store i32 1, i32* %24, align 4 %25 = add i64 %5, 52 %26 = ptrtoint i8* %arg1 to i64 %27 = call i64 @FUNC(i64 %25, i64 %26, i64 255) br label LBL_5 LBL_5: %28 = ptrtoint i64* %arg5 to i64 %29 = call i64 @FUNC(i64 %5, i64 %28) %30 = add i64 %5, 8520 %31 = call i64 @FUNC(i64 %30) %32 = call i64 @FUNC(i64* nonnull @gv_0) %33 = add i64 %5, 312 store i64 0, i64* %indvars.iv7.reg2mem br label LBL_6 LBL_6: %indvars.iv7.reload = load i64, i64* %indvars.iv7.reg2mem %34 = call i64 @FUNC(i64 %5, i64 %indvars.iv7.reload) %35 = mul i64 %indvars.iv7.reload, 8 %36 = add i64 %35, %33 %37 = inttoptr i64 %36 to i64* store i64 %34, i64* %37, align 8 %38 = icmp eq i64 %34, 0 store i64 0, i64* %indvars.iv.reg2mem br i1 %38, label LBL_9, label LBL_7 LBL_7: %indvars.iv.next8 = add nuw nsw i64 %indvars.iv7.reload, 1 %39 = icmp ult i64 %indvars.iv.next8, 1024 store i64 %indvars.iv.next8, i64* %indvars.iv7.reg2mem br i1 %39, label LBL_6, label LBL_8 LBL_8: %40 = add i64 %5, 8504 %41 = call i64 @FUNC(i64 %40, i64 4210768) %42 = call i64 @FUNC(i64* nonnull @gv_0) store i64 %5, i64* %rax.0.reg2mem br label LBL_13 LBL_9: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %43 = mul i64 %indvars.iv.reload, 8 %44 = add i64 %43, %33 %45 = inttoptr i64 %44 to i64* %46 = load i64, i64* %45, align 8 %47 = icmp eq i64 %46, 0 br i1 %47, label LBL_11, label LBL_10 LBL_10: %48 = call i64 @FUNC(i64 %46) br label LBL_11 LBL_11: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 1024 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_12, label LBL_9 LBL_12: %49 = call i64 @FUNC(i64 %30, i64 4198828) %50 = call i64 @FUNC(i64* nonnull @gv_0) store i64 0, i64* %rax.0.reg2mem br label LBL_13 LBL_13: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %indvars.iv7.reload, { 0, 2, 1 } uselistorder i64 %5, { 0, 3, 2, 1, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 } uselistorder i64* %indvars.iv7.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 1, 2, 3 } uselistorder i64 (i64*)* @mutex_unlock, { 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i64 8520, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i64 %arg4, { 0, 2, 3, 1 } uselistorder i64 %arg3, { 0, 2, 1, 3 } uselistorder label LBL_13, { 3, 4, 0, 1, 2 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
CompRealVul
imap_complete_hosts_4651
imap_complete_hosts
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.3.lcssa.reg2mem = alloca i32 %sv_0.2.reg2mem = alloca i32 %sv_0.33.reg2mem = alloca i32 %storemerge.in4.reg2mem = alloca i64 %sv_0.1.lcssa.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_0.16.reg2mem = alloca i32 %storemerge27.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %1 = call i64 @FUNC(i64 %0) %storemerge25 = load i64, i64* @gv_0, align 8 %2 = icmp eq i64 %storemerge25, 0 %3 = icmp eq i1 %2, false store i64 %storemerge25, i64* %storemerge27.reg2mem store i32 -1, i32* %sv_0.16.reg2mem store i32 -1, i32* %sv_0.1.lcssa.reg2mem br i1 %3, label LBL_1, label LBL_6 LBL_1: %sv_0.16.reload = load i32, i32* %sv_0.16.reg2mem %storemerge27.reload = load i64, i64* %storemerge27.reg2mem %4 = inttoptr i64 %storemerge27.reload to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %0, i64 %5, i64 %1) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false store i32 %sv_0.16.reload, i32* %sv_0.0.reg2mem br i1 %9, label LBL_5, label LBL_2 LBL_2: %10 = icmp eq i32 %sv_0.16.reload, 0 %11 = load i64, i64* %4, align 8 br i1 %10, label LBL_4, label LBL_3 LBL_3: %12 = call i64 @FUNC(i64 %0, i64 %11, i64 %arg2) store i32 0, i32* %sv_0.0.reg2mem br label LBL_5 LBL_4: %13 = call i64 @FUNC(i64 %0, i64 %11, i64 %1, i64 %arg2) store i32 0, i32* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %14 = add i64 %storemerge27.reload, 8 %15 = inttoptr i64 %14 to i64* %storemerge2 = load i64, i64* %15, align 8 %16 = icmp eq i64 %storemerge2, 0 %17 = icmp eq i1 %16, false store i64 %storemerge2, i64* %storemerge27.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.16.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem br i1 %17, label LBL_1, label LBL_6 LBL_6: %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem %18 = call i64 @FUNC() %19 = icmp eq i64 %18, 0 %20 = icmp eq i1 %19, false store i32 %sv_0.1.lcssa.reload, i32* %sv_0.3.lcssa.reg2mem br i1 %20, label LBL_7, label LBL_14 LBL_7: %21 = ptrtoint i64* %sv_1 to i64 store i64 %18, i64* %storemerge.in4.reg2mem store i32 %sv_0.1.lcssa.reload, i32* %sv_0.33.reg2mem br label LBL_8 LBL_8: %sv_0.33.reload = load i32, i32* %sv_0.33.reg2mem %storemerge.in4.reload = load i64, i64* %storemerge.in4.reg2mem %storemerge = inttoptr i64 %storemerge.in4.reload to i32* %22 = load i32, i32* %storemerge, align 4 %23 = icmp eq i32 %22, 1 %24 = icmp eq i1 %23, false store i32 %sv_0.33.reload, i32* %sv_0.2.reg2mem br i1 %24, label LBL_13, label LBL_9 LBL_9: %25 = call i64 @FUNC(i64 %storemerge.in4.reload, i64* nonnull %sv_2) store i64 0, i64* %sv_2, align 8 %26 = call i64 @FUNC(i64* nonnull %sv_2, i64* nonnull %sv_1, i64 1024, i64 0) %27 = call i64 @FUNC(i64 %0, i64 %21, i64 %1) %28 = trunc i64 %27 to i32 %29 = icmp eq i32 %28, 0 %30 = icmp eq i1 %29, false store i32 %sv_0.33.reload, i32* %sv_0.2.reg2mem br i1 %30, label LBL_13, label LBL_10 LBL_10: %31 = icmp eq i32 %sv_0.33.reload, 0 br i1 %31, label LBL_12, label LBL_11 LBL_11: %32 = call i64 @FUNC(i64 %0, i64 %21, i64 %arg2) store i32 0, i32* %sv_0.2.reg2mem br label LBL_13 LBL_12: %33 = call i64 @FUNC(i64 %0, i64 %21, i64 %1, i64 %arg2) store i32 0, i32* %sv_0.2.reg2mem br label LBL_13 LBL_13: %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %34 = add i64 %storemerge.in4.reload, 8 %35 = inttoptr i64 %34 to i64* %36 = load i64, i64* %35, align 8 %37 = icmp eq i64 %36, 0 %38 = icmp eq i1 %37, false store i64 %36, i64* %storemerge.in4.reg2mem store i32 %sv_0.2.reload, i32* %sv_0.33.reg2mem store i32 %sv_0.2.reload, i32* %sv_0.3.lcssa.reg2mem br i1 %38, label LBL_8, label LBL_14 LBL_14: %sv_0.3.lcssa.reload = load i32, i32* %sv_0.3.lcssa.reg2mem %39 = zext i32 %sv_0.3.lcssa.reload to i64 ret i64 %39 uselistorder i32 %sv_0.33.reload, { 2, 0, 1 } uselistorder i64 %21, { 1, 0, 2 } uselistorder i32 %sv_0.1.lcssa.reload, { 1, 0 } uselistorder i64 %11, { 1, 0 } uselistorder i32 %sv_0.16.reload, { 1, 0 } uselistorder i64* %sv_2, { 0, 2, 1 } uselistorder i64 %0, { 1, 0, 2, 4, 3, 5, 6 } uselistorder i64* %storemerge27.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.16.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %storemerge.in4.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.33.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.2.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i64 (i64, i64, i64, i64)* @longest_common_prefix, { 1, 0 } uselistorder i64 (i64, i64, i64)* @strfcpy, { 1, 0 } uselistorder i32 0, { 1, 0, 4, 5, 3, 2, 6, 7 } uselistorder i64 (i64, i64, i64)* @mutt_strncmp, { 1, 0 } uselistorder i1 false, { 4, 2, 3, 1, 6, 5, 0 } uselistorder label LBL_13, { 1, 2, 3, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
CompRealVul
object_dynamic_cast_assert_3392
object_dynamic_cast_assert
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1, i64 %arg2) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false %3 = icmp eq i64 %arg1, 0 %or.cond = or i1 %3, %2 br i1 %or.cond, label LBL_2, label LBL_1 LBL_1: %4 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %5 = inttoptr i64 %arg1 to i64* %6 = inttoptr i64 %arg2 to i8* %7 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %4, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_1, i64 0, i64 0), i64* %5, i8* %6) call void @abort() unreachable LBL_2: ret i64 %0 uselistorder i64 %arg1, { 1, 0, 2 } }
0
CompRealVul
mb_cpu_initfn_14474
mb_cpu_initfn
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = inttoptr i64 %1 to i64* store i64 %2, i64* %3, align 8 %4 = call i64 @FUNC(i64 %1, i64 4198757) %5 = call i64 @FUNC(i64 0, i64 %2) %6 = call i64 @FUNC(i64 %2, i64 4198764, i64 2) %7 = call i64 @FUNC() %8 = trunc i64 %7 to i8 %9 = icmp eq i8 %8, 0 store i64 %7, i64* %rax.0.reg2mem br i1 %9, label LBL_3, label LBL_1 LBL_1: %10 = load i8, i8* inttoptr (i64 4210740 to i8*), align 4 %11 = icmp eq i8 %10, 1 store i64 0, i64* %rax.0.reg2mem br i1 %11, label LBL_3, label LBL_2 LBL_2: store i8 1, i8* bitcast (i64* @gv_0 to i8*), align 8 %12 = call i64 @FUNC() store i64 %12, 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 i8 1, { 1, 0 } }
1
CompRealVul
tpm_backend_cancel_cmd_16525
tpm_backend_cancel_cmd
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = icmp eq i64 %arg1, 0 %1 = icmp eq i1 %0, false br i1 %1, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_1, i64 0, i64 0), i32 15, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: ret i64 %arg1 }
1
CompRealVul
ReadBlobMSBShort_10609
ReadBlobMSBShort
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i8, align 1 %1 = icmp eq i64* %arg1, null %2 = icmp eq i1 %1, false store i64 %0, i64* %rdi.0.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 39, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([24 x i8]* @gv_0 to i64), i64* %rdi.0.reg2mem br label LBL_2 LBL_2: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %3 = icmp eq i64 %rdi.0.reload, 305419896 br i1 %3, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 40, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0)) br label LBL_4 LBL_4: store i8 0, i8* %sv_1, align 1 %4 = call i64 @FUNC(i64 %0, i64 2, i8* nonnull %sv_1, i64* nonnull %sv_0) %5 = load i64, i64* %sv_0, align 8 %6 = icmp eq i64 %5, 2 store i64 0, i64* %storemerge.reg2mem br i1 %6, label LBL_5, label LBL_6 LBL_5: %7 = add i64 %4, 1 %8 = inttoptr i64 %4 to i8* %9 = load i8, i8* %8, align 1 %10 = zext i8 %9 to i64 %11 = mul i64 %10, 256 %12 = inttoptr i64 %7 to i8* %13 = load i8, i8* %12, align 1 %14 = zext i8 %13 to i64 %15 = or i64 %11, %14 store i64 %15, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %sv_0, { 1, 0 } uselistorder i64 %0, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 2, { 1, 2, 0, 3 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 } uselistorder [24 x i8]* @gv_0, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
0
CompRealVul
set_umask_11073
set_umask
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0 = alloca i8*, align 8 %0 = inttoptr i64 %arg1 to i8* %1 = call i64 @strtoll(i8* %0, i8** nonnull %sv_0, i32 0) %2 = trunc i64 %1 to i32 %3 = load i8*, i8** %sv_0, align 8 %4 = load i8, i8* %3, align 1 %5 = icmp eq i8 %4, 0 %6 = icmp ult i32 %2, 512 %or.cond5 = icmp eq i1 %6, %5 br i1 %or.cond5, label LBL_2, label LBL_1 LBL_1: %7 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %8 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %7, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, i64 0), i8* %0) %9 = sext i32 %8 to i64 store i64 %9, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %10 = urem i32 %2, 512 %11 = call i32 @umask(i32 %10) store i8 1, i8* inttoptr (i64 4210761 to i8*), align 1 %12 = zext i32 %10 to i64 store i64 %12, 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 i8 0, { 1, 0 } }
1
CompRealVul
pci_bridge_update_mappings_14066
pci_bridge_update_mappings
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC() %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64 %0) %4 = call i64 @FUNC() ret i64 %4 }
1
CompRealVul
vhost_net_ack_features_881
vhost_net_ack_features
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 = add i64 %0, 4 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = bitcast i64* %arg1 to i32* store i32 %4, i32* %5, align 4 %6 = call i64 @FUNC(i64 %0) %7 = and i64 %6, 4294967295 %8 = call i64 @FUNC(i64 %0, i64 %7, i32 %1) ret i64 %8 }
0
CompRealVul
virtio_blk_data_plane_start_15654
virtio_blk_data_plane_start
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %1) %3 = call i64 @FUNC(i64 %2) %4 = call i64 @FUNC(i64 %2) %5 = inttoptr i64 %4 to i8* %6 = load i8, i8* %5, align 1 %7 = zext i8 %6 to i64 %8 = icmp eq i8 %6, 0 %9 = icmp eq i1 %8, false store i64 %7, i64* %rax.0.reg2mem br i1 %9, label LBL_8, label LBL_1 LBL_1: %10 = add i64 %0, 24 %11 = inttoptr i64 %10 to i8* %12 = load i8, i8* %11, align 1 %13 = zext i8 %12 to i64 %14 = icmp eq i8 %12, 0 %15 = icmp eq i1 %14, false store i64 %13, i64* %rax.0.reg2mem br i1 %15, label LBL_8, label LBL_2 LBL_2: store i8 1, i8* %11, align 1 %16 = call i64 @FUNC(i64 %2, i64 0) %17 = add i64 %0, 32 %18 = inttoptr i64 %17 to i64* store i64 %16, i64* %18, align 8 %19 = inttoptr i64 %2 to i64* %20 = load i64, i64* %19, align 8 %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %21, 0 br i1 %22, label LBL_4, label LBL_3 LBL_3: %23 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %24 = and i64 %20, 4294967295 %25 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %23, i8* getelementptr inbounds ([73 x i8], [73 x i8]* @gv_1, i64 0, i64 0), i64 %24) br label LBL_7 LBL_4: %26 = call i64 @FUNC(i64 %16) %27 = add i64 %0, 40 %28 = inttoptr i64 %27 to i64* store i64 %26, i64* %28, align 8 %29 = load i64, i64* %19, align 8 %30 = trunc i64 %29 to i32 %31 = icmp eq i32 %30, 0 br i1 %31, label LBL_6, label LBL_5 LBL_5: %32 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %33 = and i64 %29, 4294967295 %34 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %32, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_2, i64 0, i64 0), i64 %33) br label LBL_7 LBL_6: store i8 0, i8* %11, align 1 store i8 1, i8* %5, align 1 %35 = call i64 @FUNC(i64 %0) %36 = add i64 %0, 8 %37 = inttoptr i64 %36 to i64* %38 = load i64, i64* %37, align 8 %39 = add i64 %0, 16 %40 = inttoptr i64 %39 to i64* %41 = load i64, i64* %40, align 8 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = call i64 @FUNC(i64 %43, i64 %38) %45 = load i64, i64* %18, align 8 %46 = call i64 @FUNC(i64 %45) %47 = call i64 @FUNC(i64 %46) %48 = load i64, i64* %37, align 8 %49 = call i64 @FUNC(i64 %48) %50 = load i64, i64* %37, align 8 %51 = load i64, i64* %18, align 8 %52 = call i64 @FUNC(i64 %51, i64 %50, i64 1, i64 1) %53 = load i64, i64* %37, align 8 %54 = call i64 @FUNC(i64 %53) store i64 %54, i64* %rax.0.reg2mem br label LBL_8 LBL_7: %55 = add i64 %4, 1 %56 = inttoptr i64 %55 to i8* store i8 1, i8* %56, align 1 store i8 0, i8* %11, align 1 store i8 1, i8* %5, align 1 store i64 %4, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 2, 1, 0, 3, 4, 5, 6 } uselistorder i64 1, { 2, 1, 0 } uselistorder %_IO_FILE** @gv_0, { 1, 0 } uselistorder i8 0, { 1, 2, 3, 4, 0 } uselistorder label LBL_8, { 2, 3, 1, 0 } }
1
CompRealVul
zfcp_qdio_allocate_3988
zfcp_qdio_allocate
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %2 = and i64 %1, 4294967295 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i64 4294967284, i64* %storemerge.reg2mem br i1 %6, label LBL_3, label LBL_1 LBL_1: %7 = ptrtoint i64* %arg1 to i64 %8 = add i64 %7, 4 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = zext i32 %10 to i64 %12 = call i64 @FUNC(i64 %11) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 store i64 4294967284, i64* %storemerge.reg2mem br i1 %14, label LBL_2, label LBL_3 LBL_2: %15 = call i64 @FUNC(i64* nonnull %sv_0, i64 %7) %16 = add i64 %7, 8 %17 = call i64 @FUNC(i64 %16) %18 = call i64 @FUNC(i64* nonnull %sv_0) store i64 %18, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %7, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder i64 4294967284, { 1, 0 } uselistorder i64 (i64)* @zfcp_qdio_buffers_enqueue, { 1, 0 } uselistorder label LBL_3, { 2, 1, 0 } }
0
CompRealVul
kvm_irqfd_13827
kvm_irqfd
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp ult i32 %2, 4 store i64 4294967274, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_5 LBL_1: %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 = icmp slt i32 %7, 256 store i64 4294967274, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_5 LBL_2: %9 = ptrtoint i64* %arg1 to i64 %10 = urem i32 %2, 2 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = call i64 @FUNC(i64 %9, i64 %4) store i64 %12, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %13 = call i64 @FUNC(i64 %9, i64 %4) store i64 %13, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 } uselistorder label LBL_5, { 2, 3, 0, 1 } }
0
CompRealVul
do_nologin_10652
do_nologin
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %5 = add i64 %4, 16 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = icmp eq i32 %7, 0 store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_7, label LBL_1 LBL_1: %9 = bitcast i64* %sv_1 to %stat* %10 = call i32 @stat(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), %stat* nonnull %9) %11 = icmp eq i32 %10, -1 %12 = icmp eq i1 %11, false store i64 ptrtoint ([13 x i8]* @gv_0 to i64), i64* %rax.0.reg2mem br i1 %12, label LBL_2, label LBL_7 LBL_2: %13 = call i64 @FUNC(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_1, i64 0, i64 0), i64 ptrtoint ([13 x i8]* @gv_0 to i64), i64 ptrtoint ([13 x i8]* @gv_0 to i64), i64 %3, i64 %2, i64 %1) %14 = call %_IO_FILE* @fopen(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_2, i64 0, i64 0)) %15 = icmp eq %_IO_FILE* %14, null br i1 %15, label LBL_6, label LBL_3 LBL_3: %16 = bitcast i64* %sv_0 to i8* %17 = call i8* @fgets(i8* nonnull %16, i32 1024, %_IO_FILE* nonnull %14) %18 = icmp eq i8* %17, null %19 = icmp eq i1 %18, false br i1 %19, label LBL_4, label LBL_5 LBL_4: %20 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %21 = call i32 @fputs(i8* nonnull %16, %_IO_FILE* %20) %22 = call i8* @fgets(i8* nonnull %16, i32 1024, %_IO_FILE* nonnull %14) %23 = icmp eq i8* %22, null %24 = icmp eq i1 %23, false br i1 %24, label LBL_4, label LBL_5 LBL_5: %25 = call i32 @fclose(%_IO_FILE* nonnull %14) br label LBL_6 LBL_6: call void @exit(i32 254) unreachable LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8* %16, { 2, 1, 0 } uselistorder %_IO_FILE* %14, { 1, 2, 0, 3 } uselistorder i64* %0, { 2, 1, 0 } uselistorder %_IO_FILE** @gv_3, { 1, 0 } uselistorder i8* null, { 1, 0 } uselistorder i8* (i8*, i32, %_IO_FILE*)* @fgets, { 1, 0 } uselistorder i32 1024, { 1, 0 } uselistorder i64 ptrtoint ([13 x i8]* @gv_0 to i64), { 1, 2, 0 } uselistorder i1 false, { 1, 0, 2 } uselistorder label LBL_4, { 1, 0 } }
0
CompRealVul
ppc_store_sr_5101
ppc_store_sr
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.06.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %4 = ashr exact i64 %sext, 29 %5 = add i64 %3, 8 %6 = add i64 %5, %4 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = and i64 %arg2, 4294967295 %10 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i64 %9, i64 %arg3, i64 %8, i64 %1) %11 = urem i64 %2, 2 %12 = icmp eq i64 %11, 0 br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = mul i64 %arg2, 268435456 %14 = and i64 %13, 4026531840 %15 = and i64 %arg2, 4160749567 %16 = or i64 %15, %14 %17 = or i64 %16, 134217728 %18 = mul i64 %arg3, 4096 %19 = and i64 %18, 1099511623680 %20 = udiv i64 %arg3, 524288 %21 = and i64 %20, 3840 %22 = or i64 %19, %21 %23 = call i64 @FUNC(i64 %3, i64 %17, i64 %22) store i64 %23, i64* %rax.0.reg2mem br label LBL_6 LBL_2: %24 = load i64, i64* %7, align 8 %25 = icmp eq i64 %24, %arg3 store i64 %arg3, i64* %rax.0.reg2mem br i1 %25, label LBL_6, label LBL_3 LBL_3: store i64 %arg3, i64* %7, align 8 %sext5 = mul i64 %arg2, 72057594037927936 %26 = ashr exact i64 %sext5, 32 %27 = or i64 %26, 16773120 store i64 %26, i64* %sv_0.06.reg2mem br label LBL_4 LBL_4: %sv_0.06.reload = load i64, i64* %sv_0.06.reg2mem %28 = call i64 @FUNC(i64 %3, i64 %sv_0.06.reload) %29 = add i64 %sv_0.06.reload, 4096 %30 = icmp eq i64 %sv_0.06.reload, %27 %31 = icmp eq i1 %30, false store i64 %29, i64* %sv_0.06.reg2mem br i1 %31, label LBL_4, label LBL_5 LBL_5: %32 = call i64 @FUNC(i64 %3, i64 1) store i64 %32, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_0.06.reload, { 2, 0, 1 } uselistorder i64 %3, { 1, 2, 0, 3 } uselistorder i64* %sv_0.06.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 4096, { 1, 0 } uselistorder i64 %arg3, { 4, 0, 3, 2, 1, 5 } uselistorder i64 %arg2, { 0, 3, 1, 4, 2 } uselistorder label LBL_4, { 1, 0 } }
0
CompRealVul
adts_aac_read_packet_191
adts_aac_read_packet
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 = call i64 @FUNC(i64 %1, i64 %0, i64 7) %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 = and i64 %2, 4294967295 store i64 %6, i64* %rax.0.reg2mem br label LBL_11 LBL_2: %7 = icmp sgt i32 %3, 6 br i1 %7, label LBL_4, label LBL_3 LBL_3: %8 = call i64 @FUNC(i64 %0) store i64 4294967291, i64* %rax.0.reg2mem br label LBL_11 LBL_4: %9 = trunc i64 %0 to i16 %10 = icmp ugt i16 %9, -17 br i1 %10, label LBL_6, label LBL_5 LBL_5: %11 = call i64 @FUNC(i64 %0) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_11 LBL_6: %12 = add i64 %0, 3 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = udiv i32 %14, 8192 %16 = urem i32 %15, 8192 %17 = icmp ugt i32 %16, 6 br i1 %17, label LBL_8, label LBL_7 LBL_7: %18 = call i64 @FUNC(i64 %0) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_11 LBL_8: %19 = add nsw i32 %16, -7 %20 = zext i32 %19 to i64 %21 = call i64 @FUNC(i64 %1, i64 %0, i64 %20) %22 = trunc i64 %21 to i32 %23 = icmp slt i32 %22, 0 %24 = icmp eq i1 %23, false br i1 %24, label LBL_10, label LBL_9 LBL_9: %25 = call i64 @FUNC(i64 %0) br label LBL_10 LBL_10: %26 = and i64 %21, 4294967295 store i64 %26, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %16, { 1, 0 } uselistorder i64 %0, { 5, 6, 4, 0, 3, 1, 2, 7 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 2, 1 } uselistorder i32 8192, { 1, 0 } uselistorder i64 (i64)* @av_packet_unref, { 3, 2, 1, 0 } }
0
CompRealVul
jmap_closembox_4267
jmap_closembox
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rsi.1.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i64 %storemerge.lcssa.reg2mem = alloca i32 %.reg2mem49 = alloca i32 %.lcssa21.reg2mem = alloca i64 %.lcssa23.reg2mem = alloca i64 %storemerge2.lcssa.reg2mem = alloca i32 %.lcssa26.reg2mem = alloca i64 %storemerge231.reg2mem = alloca i32 %.reg2mem47 = alloca i64 %.reg2mem = alloca i64 %0 = icmp eq i64* %arg2, null br i1 %0, label LBL_11, label LBL_1 LBL_1: %1 = ptrtoint i64* %arg2 to i64 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = icmp eq i32 %5, 0 store i32 0, i32* %.reg2mem49 store i32 0, i32* %storemerge.lcssa.reg2mem store i64 0, i64* %.lcssa.reg2mem store i64 0, i64* %sv_0.1.reg2mem store i64 %1, i64* %rsi.1.reg2mem br i1 %6, label LBL_6, label LBL_2 LBL_2: %7 = call i64 @FUNC(i64 %2, i64 0) %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = icmp eq i64 %9, 0 store i64 %7, i64* %.reg2mem store i64 0, i64* %.reg2mem47 store i32 0, i32* %storemerge231.reg2mem store i64 0, i64* %.lcssa26.reg2mem store i32 0, i32* %storemerge2.lcssa.reg2mem store i64 0, i64* %.lcssa23.reg2mem store i64 %7, i64* %.lcssa21.reg2mem br i1 %10, label LBL_3.LBL_6_crit_edge, label LBL_4 LBL_3: %11 = zext i32 %16 to i64 %12 = call i64 @FUNC(i64 %2, i64 %11) %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = icmp eq i64 %14, %11 store i64 %12, i64* %.reg2mem store i64 %11, i64* %.reg2mem47 store i32 %16, i32* %storemerge231.reg2mem store i64 %19, i64* %.lcssa26.reg2mem store i32 %16, i32* %storemerge2.lcssa.reg2mem store i64 %11, i64* %.lcssa23.reg2mem store i64 %12, i64* %.lcssa21.reg2mem br i1 %15, label LBL_3.LBL_6_crit_edge, label LBL_4 LBL_4: %storemerge231.reload = load i32, i32* %storemerge231.reg2mem %.reload48 = load i64, i64* %.reg2mem47 %.reload = load i64, i64* %.reg2mem %16 = add i32 %storemerge231.reload, 1 %17 = load i32, i32* %4, align 4 %18 = zext i32 %17 to i64 %19 = sext i32 %16 to i64 %20 = icmp slt i64 %19, %18 store i32 %17, i32* %.reg2mem49 store i32 %16, i32* %storemerge.lcssa.reg2mem store i64 %19, i64* %.lcssa.reg2mem store i64 %.reload, i64* %sv_0.1.reg2mem store i64 %.reload48, i64* %rsi.1.reg2mem br i1 %20, label LBL_3, label LBL_6 LBL_5: %.lcssa21.reload = load i64, i64* %.lcssa21.reg2mem %.lcssa23.reload = load i64, i64* %.lcssa23.reg2mem %storemerge2.lcssa.reload = load i32, i32* %storemerge2.lcssa.reg2mem %.lcssa26.reload = load i64, i64* %.lcssa26.reg2mem %.pre = load i32, i32* %4, align 4 store i32 %.pre, i32* %.reg2mem49 store i32 %storemerge2.lcssa.reload, i32* %storemerge.lcssa.reg2mem store i64 %.lcssa26.reload, i64* %.lcssa.reg2mem store i64 %.lcssa21.reload, i64* %sv_0.1.reg2mem store i64 %.lcssa23.reload, i64* %rsi.1.reg2mem br label LBL_6 LBL_6: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %.reload50 = load i32, i32* %.reg2mem49 %21 = zext i32 %.reload50 to i64 %22 = icmp slt i64 %.lcssa.reload, %21 br i1 %22, label LBL_8, label LBL_7 LBL_7: %rsi.1.reload = load i64, i64* %rsi.1.reg2mem %23 = inttoptr i64 %rsi.1.reload to i8* call void (i32, i8*, ...) @syslog(i32 3, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_0, i64 0, i64 0), i8* %23) store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem br label LBL_11 LBL_8: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %storemerge.lcssa.reload = load i32, i32* %storemerge.lcssa.reg2mem %24 = add i64 %sv_0.1.reload, 8 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = add i32 %26, -1 store i32 %27, i32* %25, align 4 %28 = icmp eq i32 %27, 0 %29 = icmp eq i1 %28, false br i1 %29, label LBL_10, label LBL_9 LBL_9: %30 = zext i32 %storemerge.lcssa.reload to i64 %31 = call i64 @FUNC(i64 %2, i64 %30) %32 = call i64 @FUNC(i64 %sv_0.1.reload) %33 = inttoptr i64 %sv_0.1.reload to i64* call void @free(i64* %33) br label LBL_10 LBL_10: store i64 0, i64* %arg2, align 8 store i64 %1, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_0.1.reload, { 1, 2, 0 } uselistorder i64 %19, { 0, 2, 1 } uselistorder i32 %16, { 0, 4, 3, 2, 1 } uselistorder i32* %4, { 0, 2, 1 } uselistorder i64 %2, { 1, 2, 0, 3 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem47, { 0, 2, 1 } uselistorder i32* %storemerge231.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem49, { 0, 3, 1, 2 } uselistorder i32* %storemerge.lcssa.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %.lcssa.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %sv_0.1.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %rsi.1.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64)* @ptrarray_nth, { 1, 0 } uselistorder i32 0, { 5, 2, 3, 0, 1, 4 } uselistorder i64* %arg2, { 0, 2, 1 } uselistorder label LBL_11, { 1, 2, 0 } uselistorder label LBL_6, { 2, 0, 1 } uselistorder label LBL_4, { 1, 0 } }
0
CompRealVul
ssi_sd_load_2604
ssi_sd_load
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %indvars.iv4.reg2mem = alloca i64 %rsi = alloca i64, align 8 %0 = trunc i64 %arg3 to i32 %1 = icmp eq i32 %0, 1 store i64 4294967274, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_11 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %3 to i32 %5 = inttoptr i64 %arg2 to i32* store i32 %4, i32* %5, align 4 %6 = call i64 @FUNC(i64 %2) %7 = trunc i64 %6 to i32 %8 = add i64 %arg2, 4 %9 = inttoptr i64 %8 to i32* store i32 %7, i32* %9, align 4 %10 = add i64 %arg2, 8 store i64 0, i64* %indvars.iv4.reg2mem br label LBL_2 LBL_2: %indvars.iv4.reload = load i64, i64* %indvars.iv4.reg2mem %11 = call i64 @FUNC(i64 %2) %12 = trunc i64 %11 to i32 %13 = mul i64 %indvars.iv4.reload, 4 %14 = add i64 %10, %13 %15 = inttoptr i64 %14 to i32* store i32 %12, i32* %15, align 4 %indvars.iv.next5 = add nuw nsw i64 %indvars.iv4.reload, 1 %exitcond6 = icmp eq i64 %indvars.iv.next5, 4 store i64 %indvars.iv.next5, i64* %indvars.iv4.reg2mem br i1 %exitcond6, label LBL_3, label LBL_2 LBL_3: %16 = call i64 @FUNC(i64 %2) %17 = add i64 %arg2, 24 store i64 0, i64* %indvars.iv.reg2mem store i64 %16, i64* %.reg2mem br label LBL_4 LBL_4: %.reload = load i64, i64* %.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %18 = trunc i64 %.reload to i32 %19 = mul i64 %indvars.iv.reload, 4 %20 = add i64 %17, %19 %21 = inttoptr i64 %20 to i32* store i32 %18, i32* %21, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %22 = call i64 @FUNC(i64 %2) %exitcond = icmp eq i64 %indvars.iv.next, 5 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %22, i64* %.reg2mem br i1 %exitcond, label LBL_5, label LBL_4 LBL_5: %23 = trunc i64 %22 to i32 %24 = add i64 %arg2, 44 %25 = inttoptr i64 %24 to i32* store i32 %23, i32* %25, align 4 %26 = bitcast i64* %rsi to i32* %27 = load i32, i32* %26, align 8 %28 = icmp eq i32 %27, 1 %29 = icmp eq i1 %28, false %30 = icmp ult i32 %23, 4 %or.cond = or i1 %30, %29 store i64 4294967274, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_6, label LBL_11 LBL_6: %31 = call i64 @FUNC(i64 %2) %32 = trunc i64 %31 to i32 %33 = add i64 %arg2, 48 %34 = inttoptr i64 %33 to i32* store i32 %32, i32* %34, align 4 %35 = call i64 @FUNC(i64 %2) %36 = trunc i64 %35 to i32 %37 = add i64 %arg2, 52 %38 = inttoptr i64 %37 to i32* store i32 %36, i32* %38, align 4 %39 = load i32, i32* %26, align 8 %40 = icmp eq i32 %39, 2 %41 = icmp eq i1 %40, false br i1 %41, label LBL_10, label LBL_7 LBL_7: %42 = load i32, i32* %34, align 4 %43 = icmp ult i32 %42, 5 store i64 4294967274, i64* %rax.0.reg2mem br i1 %43, label LBL_8, label LBL_11 LBL_8: %44 = icmp eq i32 %36, 0 %45 = icmp eq i1 %44, false br i1 %45, label LBL_10, label LBL_9 LBL_9: %46 = load i32, i32* %25, align 4 %47 = icmp ult i32 %46, 6 store i64 4294967274, i64* %rax.0.reg2mem br i1 %47, label LBL_10, label LBL_11 LBL_10: %48 = call i64 @FUNC(i64 %2) %49 = trunc i64 %48 to i32 store i32 %49, i32* %5, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %22, { 1, 0 } uselistorder i64 %2, { 1, 2, 3, 4, 0, 5, 6, 7 } uselistorder i64* %indvars.iv4.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 2, 3, 1, 4 } uselistorder i64 4, { 0, 2, 1, 3 } uselistorder i64 (i64)* @qemu_get_be32, { 7, 6, 5, 4, 0, 3, 2, 1 } uselistorder i64 4294967274, { 1, 2, 0, 3 } uselistorder i64 %arg2, { 1, 2, 3, 0, 4, 5, 6 } uselistorder label LBL_11, { 4, 1, 2, 0, 3 } }
0
CompRealVul
nut_read_header_12456
nut_read_header
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem16 = alloca i64 %.reg2mem = alloca i64 %sv_0.15.reg2mem = alloca i64 %sv_1.06.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 store i64 %0, i64* %arg1, align 8 store i64 0, i64* %sv_0.0.reg2mem br label LBL_1 LBL_1: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %4 = call i64 @FUNC(i64 %3, i64 0, i64 %sv_0.0.reload) %5 = mul i64 %4, 4294967296 %sext = add i64 %5, 4294967296 %6 = icmp eq i64 %sext, 0 %7 = icmp slt i64 %sext, 0 %8 = icmp eq i1 %7, false %9 = icmp eq i1 %6, false %10 = icmp eq i1 %8, %9 br i1 %10, label LBL_3, label LBL_2 LBL_2: %11 = call i64 @FUNC(i64 %0, i64 0, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_17 LBL_3: %12 = ashr exact i64 %sext, 32 %13 = call i64 @FUNC(i64 %0) %14 = trunc i64 %13 to i32 %15 = icmp slt i32 %14, 0 store i64 %12, i64* %sv_0.0.reg2mem br i1 %15, label LBL_1, label LBL_4 LBL_4: %16 = add i64 %0, 16 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = icmp eq i32 %18, 0 store i32 0, i32* %sv_1.06.reg2mem store i64 0, i64* %sv_0.15.reg2mem br i1 %19, label LBL_8, label LBL_5 LBL_5: %sv_0.15.reload = load i64, i64* %sv_0.15.reg2mem %20 = call i64 @FUNC(i64 %3, i64 1, i64 %sv_0.15.reload) %21 = mul i64 %20, 4294967296 %sext1 = add i64 %21, 4294967296 %22 = icmp eq i64 %sext1, 0 %23 = icmp slt i64 %sext1, 0 %24 = icmp eq i1 %23, false %25 = icmp eq i1 %22, false %26 = icmp eq i1 %24, %25 br i1 %26, label LBL_7, label LBL_6 LBL_6: %27 = call i64 @FUNC(i64 %0, i64 0, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_1, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_17 LBL_7: %sv_1.06.reload = load i32, i32* %sv_1.06.reg2mem %28 = ashr exact i64 %sext1, 32 %29 = call i64 @FUNC(i64 %0) %30 = trunc i64 %29 to i32 %31 = icmp sgt i32 %30, -1 %32 = zext i1 %31 to i32 %spec.select = add i32 %sv_1.06.reload, %32 %33 = load i32, i32* %17, align 4 %34 = zext i32 %33 to i64 %35 = sext i32 %spec.select to i64 %36 = icmp slt i64 %35, %34 store i32 %spec.select, i32* %sv_1.06.reg2mem store i64 %28, i64* %sv_0.15.reg2mem br i1 %36, label LBL_5, label LBL_8 LBL_8: %37 = call i64 @FUNC(i64 %3, i64 0) %38 = call i64 @FUNC(i64 %3) %39 = icmp eq i64 %37, 0 %40 = icmp eq i1 %39, false store i64 %38, i64* %.reg2mem store i64 %37, i64* %.reg2mem16 br i1 %40, label LBL_10, label LBL_9 LBL_9: %41 = call i64 @FUNC(i64 %0, i64 0, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_2, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_17 LBL_10: %.reload17 = load i64, i64* %.reg2mem16 %.reload = load i64, i64* %.reg2mem %42 = icmp eq i64 %.reload17, 2 %43 = icmp eq i1 %42, false br i1 %43, label LBL_12, label LBL_11 LBL_11: store i64 %.reload17, i64* %2, align 8 %44 = call i64 @FUNC(i64 %0) %45 = add i64 %.reload, -8 %46 = inttoptr i64 %44 to i64* store i64 %45, i64* %46, align 8 %47 = add i64 %3, 8 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = urem i32 %49, 2 %51 = icmp eq i32 %50, 0 br i1 %51, label LBL_16, label LBL_15 LBL_12: %52 = icmp eq i64 %.reload17, 3 %53 = icmp eq i1 %52, false br i1 %53, label LBL_14, label LBL_13 LBL_13: %54 = call i64 @FUNC(i64 %0) br label LBL_14 LBL_14: %55 = call i64 @FUNC(i64 %3, i64 %.reload) %56 = call i64 @FUNC(i64 %3) %57 = icmp eq i64 %55, 0 %58 = icmp eq i1 %57, false store i64 %56, i64* %.reg2mem store i64 %55, i64* %.reg2mem16 br i1 %58, label LBL_10, label LBL_9 LBL_15: %59 = call i64 @FUNC(i64 %3) %60 = call i64 @FUNC(i64 %0) %61 = call i64 @FUNC(i64 %3, i64 %59, i64 0) br label LBL_16 LBL_16: %62 = load i64, i64* %2, align 8 %63 = icmp eq i64 %62, 2 %64 = zext i1 %63 to i64 %65 = call i64 @FUNC(i64 %64) %66 = load i64, i64* @gv_3, align 8 %67 = call i64 @FUNC(i64 %0, i64 0, i64 %66) store i64 0, i64* %rax.0.reg2mem br label LBL_17 LBL_17: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %.reload17, { 1, 2, 0 } uselistorder i64 %sext1, { 2, 0, 1 } uselistorder i32* %17, { 1, 0 } uselistorder i64 %sext, { 2, 0, 1 } uselistorder i64 %3, { 3, 4, 6, 5, 2, 0, 1, 7, 8 } uselistorder i64 %0, { 3, 2, 5, 4, 1, 7, 6, 8, 9, 0, 10, 11 } uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.06.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.15.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem16, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 4, 1 } uselistorder i64 (i64)* @avio_tell, { 2, 1, 0 } uselistorder i64 (i64, i64)* @find_any_startcode, { 1, 0 } uselistorder i32 0, { 2, 0, 1, 3, 4 } uselistorder i64 4294967295, { 1, 2, 0 } uselistorder i64 (i64, i64, i8*)* @av_log, { 1, 2, 0 } uselistorder i1 false, { 6, 3, 4, 0, 5, 1, 7, 2, 8 } uselistorder i64 4294967296, { 2, 0, 3, 1 } uselistorder i64 (i64, i64, i64)* @find_startcode, { 1, 0 } uselistorder label LBL_17, { 0, 2, 1, 3 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
1
CompRealVul
bitmap_test_and_clear_atomic_15171
bitmap_test_and_clear_atomic
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.4.reg2mem = alloca i64 %sv_0.4.reg2mem = alloca i64 %rax.2.reg2mem = alloca i64 %sv_0.3.reg2mem = alloca i64 %sv_1.2.reg2mem = alloca i64 %sv_2.2.reg2mem = alloca i64 %sv_3.016.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_2.13.reg2mem = alloca i64 %sv_1.14.reg2mem = alloca i64 %sv_0.25.reg2mem = alloca i64 %sv_2.013.reg2mem = alloca i64 %sv_1.014.reg2mem = alloca i64 %sv_3.015.reg2mem = alloca i64 %sv_0.017.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = udiv i64 %arg2, 64 %2 = mul i64 %1, 8 %3 = add i64 %2, %0 %4 = trunc i64 %arg2 to i32 %5 = urem i32 %4, 64 %6 = sub nsw i32 64, %5 %7 = sub i64 0, %arg2 %8 = urem i64 %7, 64 %9 = lshr i64 -1, %8 %10 = zext i32 %6 to i64 %11 = sub i64 %arg3, %10 %12 = icmp slt i64 %11, 1 br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = sub i64 0, %9 %14 = sub i64 %13, 1 %15 = inttoptr i64 %3 to i64* %16 = load i64, i64* %15, align 8 %17 = and i64 %16, %14 store i64 %17, i64* %15, align 8 %18 = and i64 %16, %9 %19 = add i64 %3, 8 store i64 %18, i64* %sv_0.017.reg2mem store i64 -1, i64* %sv_3.015.reg2mem store i64 %19, i64* %sv_1.014.reg2mem store i64 %11, i64* %sv_2.013.reg2mem br label LBL_3 LBL_2: %20 = icmp eq i32 %5, 0 %21 = icmp eq i1 %20, false store i64 0, i64* %sv_0.017.reg2mem store i64 %9, i64* %sv_3.015.reg2mem store i64 %3, i64* %sv_1.014.reg2mem store i64 %arg3, i64* %sv_2.013.reg2mem store i64 %9, i64* %sv_3.016.reg2mem store i64 %arg3, i64* %sv_2.2.reg2mem store i64 %3, i64* %sv_1.2.reg2mem store i64 0, i64* %sv_0.3.reg2mem store i64 %11, i64* %rax.2.reg2mem br i1 %21, label LBL_8, label LBL_3 LBL_3: %sv_2.013.reload = load i64, i64* %sv_2.013.reg2mem %sv_1.014.reload = load i64, i64* %sv_1.014.reg2mem %sv_3.015.reload = load i64, i64* %sv_3.015.reg2mem %sv_0.017.reload = load i64, i64* %sv_0.017.reg2mem %22 = icmp ult i64 %sv_2.013.reload, 64 store i64 %sv_0.017.reload, i64* %sv_0.25.reg2mem store i64 %sv_1.014.reload, i64* %sv_1.14.reg2mem store i64 %sv_2.013.reload, i64* %sv_2.13.reg2mem store i64 %sv_3.015.reload, i64* %sv_3.016.reg2mem store i64 %sv_2.013.reload, i64* %sv_2.2.reg2mem store i64 %sv_1.014.reload, i64* %sv_1.2.reg2mem store i64 %sv_0.017.reload, i64* %sv_0.3.reg2mem store i64 %sv_2.013.reload, i64* %rax.2.reg2mem br i1 %22, label LBL_8, label LBL_4 LBL_4: %sv_2.13.reload = load i64, i64* %sv_2.13.reg2mem %sv_1.14.reload = load i64, i64* %sv_1.14.reg2mem %sv_0.25.reload = load i64, i64* %sv_0.25.reg2mem %23 = inttoptr i64 %sv_1.14.reload to i64* %24 = load i64, i64* %23, align 8 %25 = icmp eq i64 %24, 0 store i64 %sv_0.25.reload, i64* %sv_0.1.reg2mem br i1 %25, label LBL_6, label LBL_5 LBL_5: %26 = call i64 @FUNC(i64 %sv_1.14.reload, i64 0) %27 = or i64 %26, %sv_0.25.reload store i64 %27, i64* %sv_0.1.reg2mem br label LBL_6 LBL_6: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %28 = add i64 %sv_2.13.reload, -64 %29 = add i64 %sv_1.14.reload, 8 %30 = icmp ult i64 %28, 64 store i64 %sv_0.1.reload, i64* %sv_0.25.reg2mem store i64 %29, i64* %sv_1.14.reg2mem store i64 %28, i64* %sv_2.13.reg2mem br i1 %30, label LBL_7, label LBL_4 LBL_7: %31 = urem i64 %sv_2.013.reload, 64 store i64 %sv_3.015.reload, i64* %sv_3.016.reg2mem store i64 %31, i64* %sv_2.2.reg2mem store i64 %29, i64* %sv_1.2.reg2mem store i64 %sv_0.1.reload, i64* %sv_0.3.reg2mem store i64 %31, i64* %rax.2.reg2mem br label LBL_8 LBL_8: %sv_0.3.reload = load i64, i64* %sv_0.3.reg2mem %sv_2.2.reload = load i64, i64* %sv_2.2.reg2mem %32 = icmp eq i64 %sv_2.2.reload, 0 br i1 %32, label LBL_10, label LBL_9 LBL_9: %33 = add i64 %arg3, %arg2 %34 = trunc i64 %33 to i32 %sv_1.2.reload = load i64, i64* %sv_1.2.reg2mem %sv_3.016.reload = load i64, i64* %sv_3.016.reg2mem %35 = urem i32 %34, 64 %36 = icmp eq i32 %35, 0 %37 = zext i32 %35 to i64 %38 = shl i64 -1, %37 %storemerge2 = select i1 %36, i64 -1, i64 %38 %39 = and i64 %sv_3.016.reload, %storemerge2 %40 = sub i64 0, %39 %41 = sub i64 %40, 1 %42 = inttoptr i64 %sv_1.2.reload to i64* %43 = load i64, i64* %42, align 8 %44 = and i64 %43, %41 store i64 %44, i64* %42, align 8 %45 = and i64 %43, %39 %46 = or i64 %45, %sv_0.3.reload store i64 %46, i64* %sv_0.4.reg2mem store i64 %45, i64* %rax.4.reg2mem br label LBL_12 LBL_10: %rax.2.reload = load i64, i64* %rax.2.reg2mem %47 = icmp eq i64 %sv_0.3.reload, 0 %48 = icmp eq i1 %47, false store i64 %sv_0.3.reload, i64* %sv_0.4.reg2mem store i64 %rax.2.reload, i64* %rax.4.reg2mem br i1 %48, label LBL_12, label LBL_11 LBL_11: %49 = call i64 @FUNC() store i64 %sv_0.3.reload, i64* %sv_0.4.reg2mem store i64 %49, i64* %rax.4.reg2mem br label LBL_12 LBL_12: %rax.4.reload = load i64, i64* %rax.4.reg2mem %sv_0.4.reload = load i64, i64* %sv_0.4.reg2mem %50 = icmp eq i64 %sv_0.4.reload, 0 %51 = icmp eq i1 %50, false %52 = zext i1 %51 to i64 %53 = and i64 %rax.4.reload, -256 %54 = or i64 %53, %52 ret i64 %54 uselistorder i64 %39, { 1, 0 } uselistorder i64 %sv_0.25.reload, { 1, 0 } uselistorder i64 %sv_1.14.reload, { 0, 2, 1 } uselistorder i64 %sv_3.015.reload, { 1, 0 } uselistorder i64 %sv_2.013.reload, { 4, 0, 1, 2, 3 } uselistorder i64 %9, { 0, 1, 3, 2 } uselistorder i32 %5, { 1, 0 } uselistorder i64* %sv_0.25.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.14.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_2.13.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_3.016.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %sv_2.2.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %sv_1.2.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %sv_0.3.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rax.2.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %sv_0.4.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %rax.4.reg2mem, { 0, 2, 3, 1 } uselistorder i32 0, { 1, 0 } uselistorder i64 -1, { 1, 2, 0, 3 } uselistorder i32 64, { 0, 2, 1 } uselistorder i64 8, { 1, 2, 0 } uselistorder i64 64, { 0, 4, 3, 2, 1 } uselistorder i64 %arg3, { 2, 0, 1, 3 } uselistorder i64 %arg2, { 1, 2, 3, 0 } uselistorder label LBL_8, { 1, 0, 2 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
CompRealVul
bytes_to_hex_7180
bytes_to_hex
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = trunc i64 %arg2 to i32 %1 = mul i32 %0, 2 %2 = or i32 %1, 1 %3 = call i64* @calloc(i32 %2, i32 1) %4 = icmp eq i64* %3, null %5 = icmp eq i1 %4, false store i64 0, i64* %storemerge.reg2mem br i1 %5, label LBL_1, label LBL_4 LBL_1: %6 = ptrtoint i64* %3 to i64 %7 = icmp eq i32 %0, 0 store i64 %6, i64* %storemerge.reg2mem br i1 %7, label LBL_4, label LBL_2 LBL_2: %8 = ptrtoint i32* %arg1 to i64 %wide.trip.count = and i64 %arg2, 4294967295 store i64 0, i64* %indvars.iv.reg2mem br label LBL_3 LBL_3: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %9 = add i64 %indvars.iv.reload, %8 %10 = inttoptr i64 %9 to i8* %11 = load i8, i8* %10, align 1 %12 = mul i64 %indvars.iv.reload, 2 %13 = and i64 %12, 4294967294 %14 = add i64 %13, %6 %15 = zext i8 %11 to i32 %16 = inttoptr i64 %14 to i8* %17 = call i32 (i8*, i8*, ...) @sprintf(i8* %16, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i32 %15) %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 %6, 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 i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64 %6, { 0, 2, 1 } uselistorder i64* %3, { 1, 0 } uselistorder i32 %0, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } }
0
CompRealVul
qemu_chr_fe_write_all_1427
qemu_chr_fe_write_all
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %sv_0.1.reg2mem = alloca i64* %sv_1.0.lcssa.reg2mem = alloca i32 %sv_1.04.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = call i64 @FUNC(i64 %1) %3 = trunc i64 %arg3 to i32 %4 = icmp sgt i32 %3, 0 store i32 0, i32* %sv_1.0.lcssa.reg2mem store i64* null, i64** %sv_0.1.reg2mem br i1 %4, label LBL_1, label LBL_10 LBL_1: %5 = trunc i64 %0 to i32 %6 = icmp eq i32 %5, -1 %7 = icmp eq i1 %6, false %8 = icmp slt i32 %5, 1 store i32 0, i32* %sv_1.04.reg2mem br label LBL_7 LBL_2: %9 = call i32* @__errno_location() %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %10, 11 %12 = icmp eq i1 %11, false br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = call i64 @FUNC(i64 100) br label LBL_4 LBL_4: %14 = call i32* @__errno_location() %15 = load i32, i32* %14, align 4 %16 = icmp eq i32 %15, 11 br i1 %16, label LBL_2, label LBL_5 LBL_5: br i1 %8, label LBL_5.LBL_10_crit_edge, label LBL_6 LBL_6: %17 = add i32 %sv_1.04.reload, %5 %18 = icmp slt i32 %17, %3 store i32 %17, i32* %sv_1.04.reg2mem br i1 %18, label LBL_7, label LBL_9 LBL_7: %sv_1.04.reload = load i32, i32* %sv_1.04.reg2mem br i1 %7, label LBL_5, label LBL_2 LBL_8: %19 = and i64 %0, 4294967295 %20 = inttoptr i64 %19 to i64* store i32 %sv_1.04.reload, i32* %sv_1.0.lcssa.reg2mem store i64* %20, i64** %sv_0.1.reg2mem br label LBL_10 LBL_9: %21 = and i64 %0, 4294967295 %22 = inttoptr i64 %21 to i64* store i32 %17, i32* %sv_1.0.lcssa.reg2mem store i64* %22, i64** %sv_0.1.reg2mem br label LBL_10 LBL_10: %sv_0.1.reload = load i64*, i64** %sv_0.1.reg2mem %sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem %23 = call i64 @FUNC(i64 %1) %24 = ptrtoint i64* %sv_0.1.reload to i64 %25 = trunc i64 %24 to i32 %26 = icmp slt i32 %25, 0 %27 = icmp eq i1 %26, false %28 = zext i32 %sv_1.0.lcssa.reload to i64 %29 = and i64 %24, 4294967295 %storemerge = select i1 %27, i64 %28, i64 %29 ret i64 %storemerge uselistorder i32 %3, { 1, 0 } uselistorder i64 %0, { 1, 0, 2, 3 } uselistorder i32* %sv_1.0.lcssa.reg2mem, { 0, 2, 3, 1 } uselistorder i64** %sv_0.1.reg2mem, { 0, 2, 3, 1 } uselistorder i32 0, { 3, 1, 0, 2 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
0
CompRealVul
cbq_set_wrr_9657
cbq_set_wrr
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %1 to i32 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = add i64 %2, 8 %7 = inttoptr i64 %6 to i32* store i32 %4, i32* %7, align 4 br label LBL_2 LBL_2: %8 = ptrtoint i32* %arg2 to i64 %9 = add i64 %8, 4 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp eq i32 %11, 0 br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = add i64 %2, 12 %14 = inttoptr i64 %13 to i32* store i32 %11, i32* %14, align 4 br label LBL_4 LBL_4: %15 = add i64 %8, 8 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp eq i32 %17, 0 br i1 %18, label LBL_7, label LBL_5 LBL_5: %19 = add i32 %17, -1 %20 = add i64 %2, 16 %21 = inttoptr i64 %20 to i32* store i32 %19, i32* %21, align 4 %22 = add i64 %2, 20 %23 = inttoptr i64 %22 to i32* store i32 %19, i32* %23, align 4 %24 = load i32, i32* %21, align 4 %25 = add i64 %2, 24 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = icmp ult i32 %24, %27 br i1 %28, label LBL_7, label LBL_6 LBL_6: store i32 15, i32* %26, align 4 br label LBL_7 LBL_7: %29 = call i64 @FUNC(i64 %3, i64 %2) ret i64 0 uselistorder i32 %4, { 1, 0 } uselistorder i64 %2, { 5, 2, 3, 4, 1, 0, 6 } }
0
CompRealVul
spapr_drc_reset_1616
spapr_drc_reset
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = and i64 %1, 4294967295 %3 = call i64 @FUNC(i64 %2) %4 = call i64 @FUNC(i64 %2) store i64 0, i64* %arg1, align 8 %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = call i64 @FUNC(i64 %0) br label LBL_2 LBL_2: %10 = add i64 %0, 16 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = icmp eq i64 %12, 0 %14 = add i64 %0, 24 %15 = inttoptr i64 %14 to i32* br i1 %13, label LBL_6, label LBL_3 LBL_3: store i32 0, i32* %15, align 4 %16 = call i64 @FUNC(i64 %0) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 6 br i1 %18, label LBL_5, label LBL_4 LBL_4: %19 = add i64 %0, 28 %20 = inttoptr i64 %19 to i32* store i32 2, i32* %20, align 4 br label LBL_5 LBL_5: %21 = add i64 %0, 32 %22 = inttoptr i64 %21 to i32* store i32 4, i32* %22, align 4 br label LBL_9 LBL_6: store i32 1, i32* %15, align 4 %23 = call i64 @FUNC(i64 %0) %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, 6 br i1 %25, label LBL_8, label LBL_7 LBL_7: %26 = add i64 %0, 28 %27 = inttoptr i64 %26 to i32* store i32 3, i32* %27, align 4 br label LBL_8 LBL_8: %28 = add i64 %0, 32 %29 = inttoptr i64 %28 to i32* store i32 5, i32* %29, align 4 br label LBL_9 LBL_9: ret i64 %0 uselistorder i32* %15, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %0, { 0, 6, 5, 7, 3, 2, 4, 9, 8, 1, 10, 11 } uselistorder i64 (i64)* @spapr_drc_type, { 1, 0 } }
0